@Generated(value="by gapic-generator") @BetaApi public class InstanceGroupManagerStubSettings extends StubSettings<InstanceGroupManagerStubSettings>
InstanceGroupManagerStub
.
The default instance has everything set to sensible defaults:
The builder of this class is recursive, so contained classes are themselves builders. When build() is called, the tree of builders is called to create the complete settings object. For example, to set the total timeout of abandonInstancesInstanceGroupManager to 30 seconds:
InstanceGroupManagerStubSettings.Builder instanceGroupManagerSettingsBuilder =
InstanceGroupManagerStubSettings.newBuilder();
instanceGroupManagerSettingsBuilder.abandonInstancesInstanceGroupManagerSettings().getRetrySettings().toBuilder()
.setTotalTimeout(Duration.ofSeconds(30));
InstanceGroupManagerStubSettings instanceGroupManagerSettings = instanceGroupManagerSettingsBuilder.build();
Modifier and Type | Class and Description |
---|---|
static class |
InstanceGroupManagerStubSettings.Builder
Builder for InstanceGroupManagerStubSettings.
|
Modifier | Constructor and Description |
---|---|
protected |
InstanceGroupManagerStubSettings(InstanceGroupManagerStubSettings.Builder settingsBuilder) |
getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getHeaderProvider, getInternalHeaderProvider, getStreamWatchdogCheckInterval, getStreamWatchdogProvider, getTracerFactory, getTransportChannelProvider, toString
protected InstanceGroupManagerStubSettings(InstanceGroupManagerStubSettings.Builder settingsBuilder) throws IOException
IOException
public UnaryCallSettings<AbandonInstancesInstanceGroupManagerHttpRequest,Operation> abandonInstancesInstanceGroupManagerSettings()
public PagedCallSettings<AggregatedListInstanceGroupManagersHttpRequest,InstanceGroupManagerAggregatedList,InstanceGroupManagerClient.AggregatedListInstanceGroupManagersPagedResponse> aggregatedListInstanceGroupManagersSettings()
public UnaryCallSettings<DeleteInstanceGroupManagerHttpRequest,Operation> deleteInstanceGroupManagerSettings()
public UnaryCallSettings<DeleteInstancesInstanceGroupManagerHttpRequest,Operation> deleteInstancesInstanceGroupManagerSettings()
public UnaryCallSettings<GetInstanceGroupManagerHttpRequest,InstanceGroupManager> getInstanceGroupManagerSettings()
public UnaryCallSettings<InsertInstanceGroupManagerHttpRequest,Operation> insertInstanceGroupManagerSettings()
public PagedCallSettings<ListInstanceGroupManagersHttpRequest,InstanceGroupManagerList,InstanceGroupManagerClient.ListInstanceGroupManagersPagedResponse> listInstanceGroupManagersSettings()
public UnaryCallSettings<ListManagedInstancesInstanceGroupManagersHttpRequest,InstanceGroupManagersListManagedInstancesResponse> listManagedInstancesInstanceGroupManagersSettings()
public UnaryCallSettings<PatchInstanceGroupManagerHttpRequest,Operation> patchInstanceGroupManagerSettings()
public UnaryCallSettings<RecreateInstancesInstanceGroupManagerHttpRequest,Operation> recreateInstancesInstanceGroupManagerSettings()
public UnaryCallSettings<ResizeInstanceGroupManagerHttpRequest,Operation> resizeInstanceGroupManagerSettings()
public UnaryCallSettings<SetInstanceTemplateInstanceGroupManagerHttpRequest,Operation> setInstanceTemplateInstanceGroupManagerSettings()
public UnaryCallSettings<SetTargetPoolsInstanceGroupManagerHttpRequest,Operation> setTargetPoolsInstanceGroupManagerSettings()
@BetaApi(value="A restructuring of stub classes is planned, so this may break in the future") public InstanceGroupManagerStub createStub() throws IOException
IOException
public static InstantiatingExecutorProvider.Builder defaultExecutorProviderBuilder()
public static String getDefaultEndpoint()
public static int getDefaultServicePort()
public static List<String> getDefaultServiceScopes()
public static GoogleCredentialsProvider.Builder defaultCredentialsProviderBuilder()
public static InstantiatingHttpJsonChannelProvider.Builder defaultHttpJsonTransportProviderBuilder()
public static TransportChannelProvider defaultTransportChannelProvider()
@BetaApi(value="The surface for customizing headers is not stable yet and may change in the future.") public static ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuilder()
public static InstanceGroupManagerStubSettings.Builder newBuilder()
public static InstanceGroupManagerStubSettings.Builder newBuilder(ClientContext clientContext)
public InstanceGroupManagerStubSettings.Builder toBuilder()
toBuilder
in class StubSettings<InstanceGroupManagerStubSettings>
Copyright © 2019 Google LLC. All rights reserved.