Class RegionInstanceGroupManagersSettings (1.46.0)

public class RegionInstanceGroupManagersSettings extends ClientSettings<RegionInstanceGroupManagersSettings>

Settings class to configure an instance of RegionInstanceGroupManagersClient.

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
 RegionInstanceGroupManagersSettings.Builder regionInstanceGroupManagersSettingsBuilder =
     RegionInstanceGroupManagersSettings.newBuilder();
 regionInstanceGroupManagersSettingsBuilder
     .getSettings()
     .setRetrySettings(
         regionInstanceGroupManagersSettingsBuilder
             .getSettings()
             .getRetrySettings()
             .toBuilder()
             .setTotalTimeout(Duration.ofSeconds(30))
             .build());
 RegionInstanceGroupManagersSettings regionInstanceGroupManagersSettings =
     regionInstanceGroupManagersSettingsBuilder.build();
 

Inheritance

java.lang.Object > ClientSettings > RegionInstanceGroupManagersSettings

Static Methods

create(RegionInstanceGroupManagersStubSettings stub)

public static final RegionInstanceGroupManagersSettings create(RegionInstanceGroupManagersStubSettings stub)
Parameter
NameDescription
stubRegionInstanceGroupManagersStubSettings
Returns
TypeDescription
RegionInstanceGroupManagersSettings
Exceptions
TypeDescription
IOException

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

getDefaultServiceScopes()

public static List<String> getDefaultServiceScopes()

Returns the default service scopes.

Returns
TypeDescription
List<String>

newBuilder()

public static RegionInstanceGroupManagersSettings.Builder newBuilder()

Returns a new builder for this class.

Returns
TypeDescription
RegionInstanceGroupManagersSettings.Builder

newBuilder(ClientContext clientContext)

public static RegionInstanceGroupManagersSettings.Builder newBuilder(ClientContext clientContext)

Returns a new builder for this class.

Parameter
NameDescription
clientContextClientContext
Returns
TypeDescription
RegionInstanceGroupManagersSettings.Builder

Constructors

RegionInstanceGroupManagersSettings(RegionInstanceGroupManagersSettings.Builder settingsBuilder)

protected RegionInstanceGroupManagersSettings(RegionInstanceGroupManagersSettings.Builder settingsBuilder)
Parameter
NameDescription
settingsBuilderRegionInstanceGroupManagersSettings.Builder

Methods

abandonInstancesOperationSettings()

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

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

Returns
TypeDescription
OperationCallSettings<AbandonInstancesRegionInstanceGroupManagerRequest,Operation,Operation>

abandonInstancesSettings()

public UnaryCallSettings<AbandonInstancesRegionInstanceGroupManagerRequest,Operation> abandonInstancesSettings()

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

Returns
TypeDescription
UnaryCallSettings<AbandonInstancesRegionInstanceGroupManagerRequest,Operation>

applyUpdatesToInstancesOperationSettings()

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

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

Returns
TypeDescription
OperationCallSettings<ApplyUpdatesToInstancesRegionInstanceGroupManagerRequest,Operation,Operation>

applyUpdatesToInstancesSettings()

public UnaryCallSettings<ApplyUpdatesToInstancesRegionInstanceGroupManagerRequest,Operation> applyUpdatesToInstancesSettings()

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

Returns
TypeDescription
UnaryCallSettings<ApplyUpdatesToInstancesRegionInstanceGroupManagerRequest,Operation>

createInstancesOperationSettings()

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

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

Returns
TypeDescription
OperationCallSettings<CreateInstancesRegionInstanceGroupManagerRequest,Operation,Operation>

createInstancesSettings()

public UnaryCallSettings<CreateInstancesRegionInstanceGroupManagerRequest,Operation> createInstancesSettings()

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

Returns
TypeDescription
UnaryCallSettings<CreateInstancesRegionInstanceGroupManagerRequest,Operation>

deleteInstancesOperationSettings()

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

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

Returns
TypeDescription
OperationCallSettings<DeleteInstancesRegionInstanceGroupManagerRequest,Operation,Operation>

deleteInstancesSettings()

public UnaryCallSettings<DeleteInstancesRegionInstanceGroupManagerRequest,Operation> deleteInstancesSettings()

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

Returns
TypeDescription
UnaryCallSettings<DeleteInstancesRegionInstanceGroupManagerRequest,Operation>

deleteOperationSettings()

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

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

Returns
TypeDescription
OperationCallSettings<DeleteRegionInstanceGroupManagerRequest,Operation,Operation>

deletePerInstanceConfigsOperationSettings()

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

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

Returns
TypeDescription
OperationCallSettings<DeletePerInstanceConfigsRegionInstanceGroupManagerRequest,Operation,Operation>

deletePerInstanceConfigsSettings()

public UnaryCallSettings<DeletePerInstanceConfigsRegionInstanceGroupManagerRequest,Operation> deletePerInstanceConfigsSettings()

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

Returns
TypeDescription
UnaryCallSettings<DeletePerInstanceConfigsRegionInstanceGroupManagerRequest,Operation>

deleteSettings()

public UnaryCallSettings<DeleteRegionInstanceGroupManagerRequest,Operation> deleteSettings()

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

Returns
TypeDescription
UnaryCallSettings<DeleteRegionInstanceGroupManagerRequest,Operation>

getSettings()

public UnaryCallSettings<GetRegionInstanceGroupManagerRequest,InstanceGroupManager> getSettings()

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

Returns
TypeDescription
UnaryCallSettings<GetRegionInstanceGroupManagerRequest,InstanceGroupManager>

insertOperationSettings()

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

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

Returns
TypeDescription
OperationCallSettings<InsertRegionInstanceGroupManagerRequest,Operation,Operation>

insertSettings()

public UnaryCallSettings<InsertRegionInstanceGroupManagerRequest,Operation> insertSettings()

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

Returns
TypeDescription
UnaryCallSettings<InsertRegionInstanceGroupManagerRequest,Operation>

listErrorsSettings()

public PagedCallSettings<ListErrorsRegionInstanceGroupManagersRequest,RegionInstanceGroupManagersListErrorsResponse,RegionInstanceGroupManagersClient.ListErrorsPagedResponse> listErrorsSettings()

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

Returns
TypeDescription
PagedCallSettings<ListErrorsRegionInstanceGroupManagersRequest,RegionInstanceGroupManagersListErrorsResponse,ListErrorsPagedResponse>

listManagedInstancesSettings()

public PagedCallSettings<ListManagedInstancesRegionInstanceGroupManagersRequest,RegionInstanceGroupManagersListInstancesResponse,RegionInstanceGroupManagersClient.ListManagedInstancesPagedResponse> listManagedInstancesSettings()

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

Returns
TypeDescription
PagedCallSettings<ListManagedInstancesRegionInstanceGroupManagersRequest,RegionInstanceGroupManagersListInstancesResponse,ListManagedInstancesPagedResponse>

listPerInstanceConfigsSettings()

public PagedCallSettings<ListPerInstanceConfigsRegionInstanceGroupManagersRequest,RegionInstanceGroupManagersListInstanceConfigsResp,RegionInstanceGroupManagersClient.ListPerInstanceConfigsPagedResponse> listPerInstanceConfigsSettings()

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

Returns
TypeDescription
PagedCallSettings<ListPerInstanceConfigsRegionInstanceGroupManagersRequest,RegionInstanceGroupManagersListInstanceConfigsResp,ListPerInstanceConfigsPagedResponse>

listSettings()

public PagedCallSettings<ListRegionInstanceGroupManagersRequest,RegionInstanceGroupManagerList,RegionInstanceGroupManagersClient.ListPagedResponse> listSettings()

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

Returns
TypeDescription
PagedCallSettings<ListRegionInstanceGroupManagersRequest,RegionInstanceGroupManagerList,ListPagedResponse>

patchOperationSettings()

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

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

Returns
TypeDescription
OperationCallSettings<PatchRegionInstanceGroupManagerRequest,Operation,Operation>

patchPerInstanceConfigsOperationSettings()

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

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

Returns
TypeDescription
OperationCallSettings<PatchPerInstanceConfigsRegionInstanceGroupManagerRequest,Operation,Operation>

patchPerInstanceConfigsSettings()

public UnaryCallSettings<PatchPerInstanceConfigsRegionInstanceGroupManagerRequest,Operation> patchPerInstanceConfigsSettings()

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

Returns
TypeDescription
UnaryCallSettings<PatchPerInstanceConfigsRegionInstanceGroupManagerRequest,Operation>

patchSettings()

public UnaryCallSettings<PatchRegionInstanceGroupManagerRequest,Operation> patchSettings()

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

Returns
TypeDescription
UnaryCallSettings<PatchRegionInstanceGroupManagerRequest,Operation>

recreateInstancesOperationSettings()

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

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

Returns
TypeDescription
OperationCallSettings<RecreateInstancesRegionInstanceGroupManagerRequest,Operation,Operation>

recreateInstancesSettings()

public UnaryCallSettings<RecreateInstancesRegionInstanceGroupManagerRequest,Operation> recreateInstancesSettings()

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

Returns
TypeDescription
UnaryCallSettings<RecreateInstancesRegionInstanceGroupManagerRequest,Operation>

resizeOperationSettings()

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

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

Returns
TypeDescription
OperationCallSettings<ResizeRegionInstanceGroupManagerRequest,Operation,Operation>

resizeSettings()

public UnaryCallSettings<ResizeRegionInstanceGroupManagerRequest,Operation> resizeSettings()

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

Returns
TypeDescription
UnaryCallSettings<ResizeRegionInstanceGroupManagerRequest,Operation>

setInstanceTemplateOperationSettings()

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

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

Returns
TypeDescription
OperationCallSettings<SetInstanceTemplateRegionInstanceGroupManagerRequest,Operation,Operation>

setInstanceTemplateSettings()

public UnaryCallSettings<SetInstanceTemplateRegionInstanceGroupManagerRequest,Operation> setInstanceTemplateSettings()

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

Returns
TypeDescription
UnaryCallSettings<SetInstanceTemplateRegionInstanceGroupManagerRequest,Operation>

setTargetPoolsOperationSettings()

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

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

Returns
TypeDescription
OperationCallSettings<SetTargetPoolsRegionInstanceGroupManagerRequest,Operation,Operation>

setTargetPoolsSettings()

public UnaryCallSettings<SetTargetPoolsRegionInstanceGroupManagerRequest,Operation> setTargetPoolsSettings()

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

Returns
TypeDescription
UnaryCallSettings<SetTargetPoolsRegionInstanceGroupManagerRequest,Operation>

toBuilder()

public RegionInstanceGroupManagersSettings.Builder toBuilder()

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

Returns
TypeDescription
RegionInstanceGroupManagersSettings.Builder
Overrides

updatePerInstanceConfigsOperationSettings()

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

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

Returns
TypeDescription
OperationCallSettings<UpdatePerInstanceConfigsRegionInstanceGroupManagerRequest,Operation,Operation>

updatePerInstanceConfigsSettings()

public UnaryCallSettings<UpdatePerInstanceConfigsRegionInstanceGroupManagerRequest,Operation> updatePerInstanceConfigsSettings()

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

Returns
TypeDescription
UnaryCallSettings<UpdatePerInstanceConfigsRegionInstanceGroupManagerRequest,Operation>