Class InstanceGroupManagersStubSettings (1.24.0)

public class InstanceGroupManagersStubSettings extends StubSettings<InstanceGroupManagersStubSettings>

Settings class to configure an instance of InstanceGroupManagersStub.

The default instance has everything set to sensible defaults:

  • The default service address (compute.googleapis.com) and default port (443) are used.
  • Credentials are acquired automatically through Application Default Credentials.
  • Retries are configured for idempotent methods but not for non-idempotent methods.

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 get to 30 seconds:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 InstanceGroupManagersStubSettings.Builder instanceGroupManagersSettingsBuilder =
     InstanceGroupManagersStubSettings.newBuilder();
 instanceGroupManagersSettingsBuilder
     .getSettings()
     .setRetrySettings(
         instanceGroupManagersSettingsBuilder
             .getSettings()
             .getRetrySettings()
             .toBuilder()
             .setTotalTimeout(Duration.ofSeconds(30))
             .build());
 InstanceGroupManagersStubSettings instanceGroupManagersSettings =
     instanceGroupManagersSettingsBuilder.build();
 

Inheritance

java.lang.Object > StubSettings > InstanceGroupManagersStubSettings

Static Methods

defaultApiClientHeaderProviderBuilder()

public static ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuilder()
Returns
TypeDescription
Builder

defaultCredentialsProviderBuilder()

public static GoogleCredentialsProvider.Builder defaultCredentialsProviderBuilder()

Returns a builder for the default credentials for this service.

Returns
TypeDescription
Builder

defaultExecutorProviderBuilder()

public static InstantiatingExecutorProvider.Builder defaultExecutorProviderBuilder()

Returns a builder for the default ExecutorProvider for this service.

Returns
TypeDescription
Builder

defaultHttpJsonTransportProviderBuilder()

public static InstantiatingHttpJsonChannelProvider.Builder defaultHttpJsonTransportProviderBuilder()

Returns a builder for the default ChannelProvider for this service.

Returns
TypeDescription
Builder

defaultTransportChannelProvider()

public static TransportChannelProvider defaultTransportChannelProvider()
Returns
TypeDescription
TransportChannelProvider

getDefaultEndpoint()

public static String getDefaultEndpoint()

Returns the default service endpoint.

Returns
TypeDescription
String

getDefaultMtlsEndpoint()

public static String getDefaultMtlsEndpoint()

Returns the default mTLS service endpoint.

Returns
TypeDescription
String

getDefaultServiceScopes()

public static List<String> getDefaultServiceScopes()

Returns the default service scopes.

Returns
TypeDescription
List<String>

newBuilder()

public static InstanceGroupManagersStubSettings.Builder newBuilder()

Returns a new builder for this class.

Returns
TypeDescription
InstanceGroupManagersStubSettings.Builder

newBuilder(ClientContext clientContext)

public static InstanceGroupManagersStubSettings.Builder newBuilder(ClientContext clientContext)

Returns a new builder for this class.

Parameter
NameDescription
clientContextClientContext
Returns
TypeDescription
InstanceGroupManagersStubSettings.Builder

Constructors

InstanceGroupManagersStubSettings(InstanceGroupManagersStubSettings.Builder settingsBuilder)

protected InstanceGroupManagersStubSettings(InstanceGroupManagersStubSettings.Builder settingsBuilder)
Parameter
NameDescription
settingsBuilderInstanceGroupManagersStubSettings.Builder

Methods

abandonInstancesOperationSettings()

public OperationCallSettings<AbandonInstancesInstanceGroupManagerRequest,Operation,Operation> abandonInstancesOperationSettings()

Returns the object with the settings used for calls to abandonInstances.

Returns
TypeDescription
OperationCallSettings<AbandonInstancesInstanceGroupManagerRequest,Operation,Operation>

abandonInstancesSettings()

public UnaryCallSettings<AbandonInstancesInstanceGroupManagerRequest,Operation> abandonInstancesSettings()

Returns the object with the settings used for calls to abandonInstances.

Returns
TypeDescription
UnaryCallSettings<AbandonInstancesInstanceGroupManagerRequest,Operation>

aggregatedListSettings()

public PagedCallSettings<AggregatedListInstanceGroupManagersRequest,InstanceGroupManagerAggregatedList,InstanceGroupManagersClient.AggregatedListPagedResponse> aggregatedListSettings()

Returns the object with the settings used for calls to aggregatedList.

Returns
TypeDescription
PagedCallSettings<AggregatedListInstanceGroupManagersRequest,InstanceGroupManagerAggregatedList,AggregatedListPagedResponse>

applyUpdatesToInstancesOperationSettings()

public OperationCallSettings<ApplyUpdatesToInstancesInstanceGroupManagerRequest,Operation,Operation> applyUpdatesToInstancesOperationSettings()

Returns the object with the settings used for calls to applyUpdatesToInstances.

Returns
TypeDescription
OperationCallSettings<ApplyUpdatesToInstancesInstanceGroupManagerRequest,Operation,Operation>

applyUpdatesToInstancesSettings()

public UnaryCallSettings<ApplyUpdatesToInstancesInstanceGroupManagerRequest,Operation> applyUpdatesToInstancesSettings()

Returns the object with the settings used for calls to applyUpdatesToInstances.

Returns
TypeDescription
UnaryCallSettings<ApplyUpdatesToInstancesInstanceGroupManagerRequest,Operation>

createInstancesOperationSettings()

public OperationCallSettings<CreateInstancesInstanceGroupManagerRequest,Operation,Operation> createInstancesOperationSettings()

Returns the object with the settings used for calls to createInstances.

Returns
TypeDescription
OperationCallSettings<CreateInstancesInstanceGroupManagerRequest,Operation,Operation>

createInstancesSettings()

public UnaryCallSettings<CreateInstancesInstanceGroupManagerRequest,Operation> createInstancesSettings()

Returns the object with the settings used for calls to createInstances.

Returns
TypeDescription
UnaryCallSettings<CreateInstancesInstanceGroupManagerRequest,Operation>

createStub()

public InstanceGroupManagersStub createStub()
Returns
TypeDescription
InstanceGroupManagersStub
Exceptions
TypeDescription
IOException

deleteInstancesOperationSettings()

public OperationCallSettings<DeleteInstancesInstanceGroupManagerRequest,Operation,Operation> deleteInstancesOperationSettings()

Returns the object with the settings used for calls to deleteInstances.

Returns
TypeDescription
OperationCallSettings<DeleteInstancesInstanceGroupManagerRequest,Operation,Operation>

deleteInstancesSettings()

public UnaryCallSettings<DeleteInstancesInstanceGroupManagerRequest,Operation> deleteInstancesSettings()

Returns the object with the settings used for calls to deleteInstances.

Returns
TypeDescription
UnaryCallSettings<DeleteInstancesInstanceGroupManagerRequest,Operation>

deleteOperationSettings()

public OperationCallSettings<DeleteInstanceGroupManagerRequest,Operation,Operation> deleteOperationSettings()

Returns the object with the settings used for calls to delete.

Returns
TypeDescription
OperationCallSettings<DeleteInstanceGroupManagerRequest,Operation,Operation>

deletePerInstanceConfigsOperationSettings()

public OperationCallSettings<DeletePerInstanceConfigsInstanceGroupManagerRequest,Operation,Operation> deletePerInstanceConfigsOperationSettings()

Returns the object with the settings used for calls to deletePerInstanceConfigs.

Returns
TypeDescription
OperationCallSettings<DeletePerInstanceConfigsInstanceGroupManagerRequest,Operation,Operation>

deletePerInstanceConfigsSettings()

public UnaryCallSettings<DeletePerInstanceConfigsInstanceGroupManagerRequest,Operation> deletePerInstanceConfigsSettings()

Returns the object with the settings used for calls to deletePerInstanceConfigs.

Returns
TypeDescription
UnaryCallSettings<DeletePerInstanceConfigsInstanceGroupManagerRequest,Operation>

deleteSettings()

public UnaryCallSettings<DeleteInstanceGroupManagerRequest,Operation> deleteSettings()

Returns the object with the settings used for calls to delete.

Returns
TypeDescription
UnaryCallSettings<DeleteInstanceGroupManagerRequest,Operation>

getSettings()

public UnaryCallSettings<GetInstanceGroupManagerRequest,InstanceGroupManager> getSettings()

Returns the object with the settings used for calls to get.

Returns
TypeDescription
UnaryCallSettings<GetInstanceGroupManagerRequest,InstanceGroupManager>

insertOperationSettings()

public OperationCallSettings<InsertInstanceGroupManagerRequest,Operation,Operation> insertOperationSettings()

Returns the object with the settings used for calls to insert.

Returns
TypeDescription
OperationCallSettings<InsertInstanceGroupManagerRequest,Operation,Operation>

insertSettings()

public UnaryCallSettings<InsertInstanceGroupManagerRequest,Operation> insertSettings()

Returns the object with the settings used for calls to insert.

Returns
TypeDescription
UnaryCallSettings<InsertInstanceGroupManagerRequest,Operation>

listErrorsSettings()

public PagedCallSettings<ListErrorsInstanceGroupManagersRequest,InstanceGroupManagersListErrorsResponse,InstanceGroupManagersClient.ListErrorsPagedResponse> listErrorsSettings()

Returns the object with the settings used for calls to listErrors.

Returns
TypeDescription
PagedCallSettings<ListErrorsInstanceGroupManagersRequest,InstanceGroupManagersListErrorsResponse,ListErrorsPagedResponse>

listManagedInstancesSettings()

public PagedCallSettings<ListManagedInstancesInstanceGroupManagersRequest,InstanceGroupManagersListManagedInstancesResponse,InstanceGroupManagersClient.ListManagedInstancesPagedResponse> listManagedInstancesSettings()

Returns the object with the settings used for calls to listManagedInstances.

Returns
TypeDescription
PagedCallSettings<ListManagedInstancesInstanceGroupManagersRequest,InstanceGroupManagersListManagedInstancesResponse,ListManagedInstancesPagedResponse>

listPerInstanceConfigsSettings()

public PagedCallSettings<ListPerInstanceConfigsInstanceGroupManagersRequest,InstanceGroupManagersListPerInstanceConfigsResp,InstanceGroupManagersClient.ListPerInstanceConfigsPagedResponse> listPerInstanceConfigsSettings()

Returns the object with the settings used for calls to listPerInstanceConfigs.

Returns
TypeDescription
PagedCallSettings<ListPerInstanceConfigsInstanceGroupManagersRequest,InstanceGroupManagersListPerInstanceConfigsResp,ListPerInstanceConfigsPagedResponse>

listSettings()

public PagedCallSettings<ListInstanceGroupManagersRequest,InstanceGroupManagerList,InstanceGroupManagersClient.ListPagedResponse> listSettings()

Returns the object with the settings used for calls to list.

Returns
TypeDescription
PagedCallSettings<ListInstanceGroupManagersRequest,InstanceGroupManagerList,ListPagedResponse>

patchOperationSettings()

public OperationCallSettings<PatchInstanceGroupManagerRequest,Operation,Operation> patchOperationSettings()

Returns the object with the settings used for calls to patch.

Returns
TypeDescription
OperationCallSettings<PatchInstanceGroupManagerRequest,Operation,Operation>

patchPerInstanceConfigsOperationSettings()

public OperationCallSettings<PatchPerInstanceConfigsInstanceGroupManagerRequest,Operation,Operation> patchPerInstanceConfigsOperationSettings()

Returns the object with the settings used for calls to patchPerInstanceConfigs.

Returns
TypeDescription
OperationCallSettings<PatchPerInstanceConfigsInstanceGroupManagerRequest,Operation,Operation>

patchPerInstanceConfigsSettings()

public UnaryCallSettings<PatchPerInstanceConfigsInstanceGroupManagerRequest,Operation> patchPerInstanceConfigsSettings()

Returns the object with the settings used for calls to patchPerInstanceConfigs.

Returns
TypeDescription
UnaryCallSettings<PatchPerInstanceConfigsInstanceGroupManagerRequest,Operation>

patchSettings()

public UnaryCallSettings<PatchInstanceGroupManagerRequest,Operation> patchSettings()

Returns the object with the settings used for calls to patch.

Returns
TypeDescription
UnaryCallSettings<PatchInstanceGroupManagerRequest,Operation>

recreateInstancesOperationSettings()

public OperationCallSettings<RecreateInstancesInstanceGroupManagerRequest,Operation,Operation> recreateInstancesOperationSettings()

Returns the object with the settings used for calls to recreateInstances.

Returns
TypeDescription
OperationCallSettings<RecreateInstancesInstanceGroupManagerRequest,Operation,Operation>

recreateInstancesSettings()

public UnaryCallSettings<RecreateInstancesInstanceGroupManagerRequest,Operation> recreateInstancesSettings()

Returns the object with the settings used for calls to recreateInstances.

Returns
TypeDescription
UnaryCallSettings<RecreateInstancesInstanceGroupManagerRequest,Operation>

resizeOperationSettings()

public OperationCallSettings<ResizeInstanceGroupManagerRequest,Operation,Operation> resizeOperationSettings()

Returns the object with the settings used for calls to resize.

Returns
TypeDescription
OperationCallSettings<ResizeInstanceGroupManagerRequest,Operation,Operation>

resizeSettings()

public UnaryCallSettings<ResizeInstanceGroupManagerRequest,Operation> resizeSettings()

Returns the object with the settings used for calls to resize.

Returns
TypeDescription
UnaryCallSettings<ResizeInstanceGroupManagerRequest,Operation>

setInstanceTemplateOperationSettings()

public OperationCallSettings<SetInstanceTemplateInstanceGroupManagerRequest,Operation,Operation> setInstanceTemplateOperationSettings()

Returns the object with the settings used for calls to setInstanceTemplate.

Returns
TypeDescription
OperationCallSettings<SetInstanceTemplateInstanceGroupManagerRequest,Operation,Operation>

setInstanceTemplateSettings()

public UnaryCallSettings<SetInstanceTemplateInstanceGroupManagerRequest,Operation> setInstanceTemplateSettings()

Returns the object with the settings used for calls to setInstanceTemplate.

Returns
TypeDescription
UnaryCallSettings<SetInstanceTemplateInstanceGroupManagerRequest,Operation>

setTargetPoolsOperationSettings()

public OperationCallSettings<SetTargetPoolsInstanceGroupManagerRequest,Operation,Operation> setTargetPoolsOperationSettings()

Returns the object with the settings used for calls to setTargetPools.

Returns
TypeDescription
OperationCallSettings<SetTargetPoolsInstanceGroupManagerRequest,Operation,Operation>

setTargetPoolsSettings()

public UnaryCallSettings<SetTargetPoolsInstanceGroupManagerRequest,Operation> setTargetPoolsSettings()

Returns the object with the settings used for calls to setTargetPools.

Returns
TypeDescription
UnaryCallSettings<SetTargetPoolsInstanceGroupManagerRequest,Operation>

toBuilder()

public InstanceGroupManagersStubSettings.Builder toBuilder()

Returns a builder containing all the values of this settings class.

Returns
TypeDescription
InstanceGroupManagersStubSettings.Builder
Overrides

updatePerInstanceConfigsOperationSettings()

public OperationCallSettings<UpdatePerInstanceConfigsInstanceGroupManagerRequest,Operation,Operation> updatePerInstanceConfigsOperationSettings()

Returns the object with the settings used for calls to updatePerInstanceConfigs.

Returns
TypeDescription
OperationCallSettings<UpdatePerInstanceConfigsInstanceGroupManagerRequest,Operation,Operation>

updatePerInstanceConfigsSettings()

public UnaryCallSettings<UpdatePerInstanceConfigsInstanceGroupManagerRequest,Operation> updatePerInstanceConfigsSettings()

Returns the object with the settings used for calls to updatePerInstanceConfigs.

Returns
TypeDescription
UnaryCallSettings<UpdatePerInstanceConfigsInstanceGroupManagerRequest,Operation>