Class AzureClustersSettings
java.lang.Object
com.google.api.gax.rpc.ClientSettings<AzureClustersSettings>
com.google.cloud.gkemulticloud.v1.AzureClustersSettings
@Deprecated
@Generated("by gapic-generator-java")
public class AzureClustersSettings
extends ClientSettings<AzureClustersSettings>
Deprecated.
This class is deprecated and will be removed in the next major version update.
Settings class to configure an instance of
AzureClustersClient.
The default instance has everything set to sensible defaults:
- The default service address (gkemulticloud.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 [RetrySettings](https://cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.retrying.RetrySettings) of getAzureClient:
// 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
AzureClustersSettings.Builder azureClustersSettingsBuilder = AzureClustersSettings.newBuilder();
azureClustersSettingsBuilder
.getAzureClientSettings()
.setRetrySettings(
azureClustersSettingsBuilder
.getAzureClientSettings()
.getRetrySettings()
.toBuilder()
.setInitialRetryDelayDuration(Duration.ofSeconds(1))
.setInitialRpcTimeoutDuration(Duration.ofSeconds(5))
.setMaxAttempts(5)
.setMaxRetryDelayDuration(Duration.ofSeconds(30))
.setMaxRpcTimeoutDuration(Duration.ofSeconds(60))
.setRetryDelayMultiplier(1.3)
.setRpcTimeoutMultiplier(1.5)
.setTotalTimeoutDuration(Duration.ofSeconds(300))
.build());
AzureClustersSettings azureClustersSettings = azureClustersSettingsBuilder.build();
Please refer to the [Client Side Retry
Guide](https://docs.cloud.google.com/java/docs/client-retries) for additional support in setting
retries.
To configure the RetrySettings of a Long Running Operation method, create an OperationTimedPollAlgorithm object and update the RPC's polling algorithm. For example, to configure the RetrySettings for createAzureClient:
// 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
AzureClustersSettings.Builder azureClustersSettingsBuilder = AzureClustersSettings.newBuilder();
TimedRetryAlgorithm timedRetryAlgorithm =
OperationalTimedPollAlgorithm.create(
RetrySettings.newBuilder()
.setInitialRetryDelayDuration(Duration.ofMillis(500))
.setRetryDelayMultiplier(1.5)
.setMaxRetryDelayDuration(Duration.ofMillis(5000))
.setTotalTimeoutDuration(Duration.ofHours(24))
.build());
azureClustersSettingsBuilder
.createClusterOperationSettings()
.setPollingAlgorithm(timedRetryAlgorithm)
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classDeprecated.Builder for AzureClustersSettings. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAzureClustersSettings(AzureClustersSettings.Builder settingsBuilder) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionstatic final AzureClustersSettingsDeprecated.Deprecated.This method is deprecated and will be removed in the next major version update.Deprecated.This method is deprecated and will be removed in the next major version update.Deprecated.This method is deprecated and will be removed in the next major version update.Deprecated.This method is deprecated and will be removed in the next major version update.Deprecated.This method is deprecated and will be removed in the next major version update.Deprecated.This method is deprecated and will be removed in the next major version update.Deprecated.Deprecated.Returns a builder for the default credentials for this service.Deprecated.Returns a builder for the default ExecutorProvider for this service.Deprecated.Returns a builder for the default gRPC ChannelProvider for this service.Deprecated.Returns a builder for the default REST ChannelProvider for this service.static TransportChannelProviderDeprecated.OperationCallSettings<DeleteAzureClientRequest,com.google.protobuf.Empty, OperationMetadata> Deprecated.This method is deprecated and will be removed in the next major version update.Deprecated.This method is deprecated and will be removed in the next major version update.OperationCallSettings<DeleteAzureClusterRequest,com.google.protobuf.Empty, OperationMetadata> Deprecated.This method is deprecated and will be removed in the next major version update.Deprecated.This method is deprecated and will be removed in the next major version update.OperationCallSettings<DeleteAzureNodePoolRequest,com.google.protobuf.Empty, OperationMetadata> Deprecated.This method is deprecated and will be removed in the next major version update.Deprecated.This method is deprecated and will be removed in the next major version update.Deprecated.This method is deprecated and will be removed in the next major version update.Deprecated.This method is deprecated and will be removed in the next major version update.Deprecated.This method is deprecated and will be removed in the next major version update.Deprecated.This method is deprecated and will be removed in the next major version update.Deprecated.This method is deprecated and will be removed in the next major version update.Deprecated.This method is deprecated and will be removed in the next major version update.Deprecated.This method is deprecated and will be removed in the next major version update.Deprecated.This method is deprecated and will be removed in the next major version update.static StringDeprecated.Returns the default service endpoint.Deprecated.Returns the default service scopes.PagedCallSettings<ListAzureClientsRequest,ListAzureClientsResponse, AzureClustersClient.ListAzureClientsPagedResponse> Deprecated.This method is deprecated and will be removed in the next major version update.PagedCallSettings<ListAzureClustersRequest,ListAzureClustersResponse, AzureClustersClient.ListAzureClustersPagedResponse> Deprecated.This method is deprecated and will be removed in the next major version update.PagedCallSettings<ListAzureNodePoolsRequest,ListAzureNodePoolsResponse, AzureClustersClient.ListAzureNodePoolsPagedResponse> Deprecated.This method is deprecated and will be removed in the next major version update.Deprecated.Returns a new gRPC builder for this class.newBuilder(ClientContext clientContext) Deprecated.Returns a new builder for this class.Deprecated.Returns a new REST builder for this class.Deprecated.Returns a builder containing all the values of this settings class.Deprecated.This method is deprecated and will be removed in the next major version update.Deprecated.This method is deprecated and will be removed in the next major version update.Deprecated.This method is deprecated and will be removed in the next major version update.Deprecated.This method is deprecated and will be removed in the next major version update.Methods inherited from class com.google.api.gax.rpc.ClientSettings
getApiKey, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getQuotaProjectId, getStubSettings, getTransportChannelProvider, getUniverseDomain, getWatchdogCheckInterval, getWatchdogCheckIntervalDuration, getWatchdogProvider, toString
-
Constructor Details
-
AzureClustersSettings
Deprecated.- Throws:
IOException
-
-
Method Details
-
createAzureClientSettings
@Deprecated public UnaryCallSettings<CreateAzureClientRequest,Operation> createAzureClientSettings()Deprecated.This method is deprecated and will be removed in the next major version update.Returns the object with the settings used for calls to createAzureClient. -
createAzureClientOperationSettings
@Deprecated public OperationCallSettings<CreateAzureClientRequest,AzureClient, createAzureClientOperationSettings()OperationMetadata> Deprecated.This method is deprecated and will be removed in the next major version update.Returns the object with the settings used for calls to createAzureClient. -
getAzureClientSettings
Deprecated.This method is deprecated and will be removed in the next major version update.Returns the object with the settings used for calls to getAzureClient. -
listAzureClientsSettings
@Deprecated public PagedCallSettings<ListAzureClientsRequest,ListAzureClientsResponse, listAzureClientsSettings()AzureClustersClient.ListAzureClientsPagedResponse> Deprecated.This method is deprecated and will be removed in the next major version update.Returns the object with the settings used for calls to listAzureClients. -
deleteAzureClientSettings
@Deprecated public UnaryCallSettings<DeleteAzureClientRequest,Operation> deleteAzureClientSettings()Deprecated.This method is deprecated and will be removed in the next major version update.Returns the object with the settings used for calls to deleteAzureClient. -
deleteAzureClientOperationSettings
@Deprecated public OperationCallSettings<DeleteAzureClientRequest,com.google.protobuf.Empty, deleteAzureClientOperationSettings()OperationMetadata> Deprecated.This method is deprecated and will be removed in the next major version update.Returns the object with the settings used for calls to deleteAzureClient. -
createAzureClusterSettings
@Deprecated public UnaryCallSettings<CreateAzureClusterRequest,Operation> createAzureClusterSettings()Deprecated.This method is deprecated and will be removed in the next major version update.Returns the object with the settings used for calls to createAzureCluster. -
createAzureClusterOperationSettings
@Deprecated public OperationCallSettings<CreateAzureClusterRequest,AzureCluster, createAzureClusterOperationSettings()OperationMetadata> Deprecated.This method is deprecated and will be removed in the next major version update.Returns the object with the settings used for calls to createAzureCluster. -
updateAzureClusterSettings
@Deprecated public UnaryCallSettings<UpdateAzureClusterRequest,Operation> updateAzureClusterSettings()Deprecated.This method is deprecated and will be removed in the next major version update.Returns the object with the settings used for calls to updateAzureCluster. -
updateAzureClusterOperationSettings
@Deprecated public OperationCallSettings<UpdateAzureClusterRequest,AzureCluster, updateAzureClusterOperationSettings()OperationMetadata> Deprecated.This method is deprecated and will be removed in the next major version update.Returns the object with the settings used for calls to updateAzureCluster. -
getAzureClusterSettings
Deprecated.This method is deprecated and will be removed in the next major version update.Returns the object with the settings used for calls to getAzureCluster. -
listAzureClustersSettings
@Deprecated public PagedCallSettings<ListAzureClustersRequest,ListAzureClustersResponse, listAzureClustersSettings()AzureClustersClient.ListAzureClustersPagedResponse> Deprecated.This method is deprecated and will be removed in the next major version update.Returns the object with the settings used for calls to listAzureClusters. -
deleteAzureClusterSettings
@Deprecated public UnaryCallSettings<DeleteAzureClusterRequest,Operation> deleteAzureClusterSettings()Deprecated.This method is deprecated and will be removed in the next major version update.Returns the object with the settings used for calls to deleteAzureCluster. -
deleteAzureClusterOperationSettings
@Deprecated public OperationCallSettings<DeleteAzureClusterRequest,com.google.protobuf.Empty, deleteAzureClusterOperationSettings()OperationMetadata> Deprecated.This method is deprecated and will be removed in the next major version update.Returns the object with the settings used for calls to deleteAzureCluster. -
generateAzureClusterAgentTokenSettings
@Deprecated public UnaryCallSettings<GenerateAzureClusterAgentTokenRequest,GenerateAzureClusterAgentTokenResponse> generateAzureClusterAgentTokenSettings()Deprecated.This method is deprecated and will be removed in the next major version update.Returns the object with the settings used for calls to generateAzureClusterAgentToken. -
generateAzureAccessTokenSettings
@Deprecated public UnaryCallSettings<GenerateAzureAccessTokenRequest,GenerateAzureAccessTokenResponse> generateAzureAccessTokenSettings()Deprecated.This method is deprecated and will be removed in the next major version update.Returns the object with the settings used for calls to generateAzureAccessToken. -
createAzureNodePoolSettings
@Deprecated public UnaryCallSettings<CreateAzureNodePoolRequest,Operation> createAzureNodePoolSettings()Deprecated.This method is deprecated and will be removed in the next major version update.Returns the object with the settings used for calls to createAzureNodePool. -
createAzureNodePoolOperationSettings
@Deprecated public OperationCallSettings<CreateAzureNodePoolRequest,AzureNodePool, createAzureNodePoolOperationSettings()OperationMetadata> Deprecated.This method is deprecated and will be removed in the next major version update.Returns the object with the settings used for calls to createAzureNodePool. -
updateAzureNodePoolSettings
@Deprecated public UnaryCallSettings<UpdateAzureNodePoolRequest,Operation> updateAzureNodePoolSettings()Deprecated.This method is deprecated and will be removed in the next major version update.Returns the object with the settings used for calls to updateAzureNodePool. -
updateAzureNodePoolOperationSettings
@Deprecated public OperationCallSettings<UpdateAzureNodePoolRequest,AzureNodePool, updateAzureNodePoolOperationSettings()OperationMetadata> Deprecated.This method is deprecated and will be removed in the next major version update.Returns the object with the settings used for calls to updateAzureNodePool. -
getAzureNodePoolSettings
@Deprecated public UnaryCallSettings<GetAzureNodePoolRequest,AzureNodePool> getAzureNodePoolSettings()Deprecated.This method is deprecated and will be removed in the next major version update.Returns the object with the settings used for calls to getAzureNodePool. -
listAzureNodePoolsSettings
@Deprecated public PagedCallSettings<ListAzureNodePoolsRequest,ListAzureNodePoolsResponse, listAzureNodePoolsSettings()AzureClustersClient.ListAzureNodePoolsPagedResponse> Deprecated.This method is deprecated and will be removed in the next major version update.Returns the object with the settings used for calls to listAzureNodePools. -
deleteAzureNodePoolSettings
@Deprecated public UnaryCallSettings<DeleteAzureNodePoolRequest,Operation> deleteAzureNodePoolSettings()Deprecated.This method is deprecated and will be removed in the next major version update.Returns the object with the settings used for calls to deleteAzureNodePool. -
deleteAzureNodePoolOperationSettings
@Deprecated public OperationCallSettings<DeleteAzureNodePoolRequest,com.google.protobuf.Empty, deleteAzureNodePoolOperationSettings()OperationMetadata> Deprecated.This method is deprecated and will be removed in the next major version update.Returns the object with the settings used for calls to deleteAzureNodePool. -
getAzureOpenIdConfigSettings
@Deprecated public UnaryCallSettings<GetAzureOpenIdConfigRequest,AzureOpenIdConfig> getAzureOpenIdConfigSettings()Deprecated.This method is deprecated and will be removed in the next major version update.Returns the object with the settings used for calls to getAzureOpenIdConfig. -
getAzureJsonWebKeysSettings
@Deprecated public UnaryCallSettings<GetAzureJsonWebKeysRequest,AzureJsonWebKeys> getAzureJsonWebKeysSettings()Deprecated.This method is deprecated and will be removed in the next major version update.Returns the object with the settings used for calls to getAzureJsonWebKeys. -
getAzureServerConfigSettings
@Deprecated public UnaryCallSettings<GetAzureServerConfigRequest,AzureServerConfig> getAzureServerConfigSettings()Deprecated.This method is deprecated and will be removed in the next major version update.Returns the object with the settings used for calls to getAzureServerConfig. -
create
Deprecated.- Throws:
IOException
-
defaultExecutorProviderBuilder
Deprecated.Returns a builder for the default ExecutorProvider for this service. -
getDefaultEndpoint
Deprecated.Returns the default service endpoint. -
getDefaultServiceScopes
Deprecated.Returns the default service scopes. -
defaultCredentialsProviderBuilder
Deprecated.Returns a builder for the default credentials for this service. -
defaultGrpcTransportProviderBuilder
Deprecated.Returns a builder for the default gRPC ChannelProvider for this service. -
defaultHttpJsonTransportProviderBuilder
@BetaApi public static InstantiatingHttpJsonChannelProvider.Builder defaultHttpJsonTransportProviderBuilder()Deprecated.Returns a builder for the default REST ChannelProvider for this service. -
defaultTransportChannelProvider
Deprecated. -
defaultApiClientHeaderProviderBuilder
Deprecated. -
newBuilder
Deprecated.Returns a new gRPC builder for this class. -
newHttpJsonBuilder
Deprecated.Returns a new REST builder for this class. -
newBuilder
Deprecated.Returns a new builder for this class. -
toBuilder
Deprecated.Returns a builder containing all the values of this settings class.- Specified by:
toBuilderin classClientSettings<AzureClustersSettings>
-