Class AzureClustersStubSettings
java.lang.Object
com.google.api.gax.rpc.StubSettings<AzureClustersStubSettings>
com.google.cloud.gkemulticloud.v1.stub.AzureClustersStubSettings
@Deprecated
@Generated("by gapic-generator-java")
public class AzureClustersStubSettings
extends StubSettings<AzureClustersStubSettings>
Deprecated.
This class is deprecated and will be removed in the next major version update.
Settings class to configure an instance of
AzureClustersStub.
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
AzureClustersStubSettings.Builder azureClustersSettingsBuilder =
AzureClustersStubSettings.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());
AzureClustersStubSettings 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
AzureClustersStubSettings.Builder azureClustersSettingsBuilder =
AzureClustersStubSettings.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 AzureClustersStubSettings. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAzureClustersStubSettings(AzureClustersStubSettings.Builder settingsBuilder) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Returns the object with the settings used for calls to createAzureClient.Deprecated.This method is deprecated and will be removed in the next major version update.Deprecated.Returns the object with the settings used for calls to createAzureCluster.Deprecated.This method is deprecated and will be removed in the next major version update.Deprecated.Returns the object with the settings used for calls to createAzureNodePool.Deprecated.This method is deprecated and will be removed in the next major version update.Deprecated.Deprecated.Deprecated.Returns a builder for the default credentials for this service.Deprecated.Returns a builder for the default ExecutorProvider for this service.Deprecated.Deprecated.Returns a builder for the default gRPC ChannelProvider for this service.Deprecated.Deprecated.Returns a builder for the default REST ChannelProvider for this service.static TransportChannelProviderDeprecated.OperationCallSettings<DeleteAzureClientRequest,com.google.protobuf.Empty, OperationMetadata> Deprecated.Returns the object with the settings used for calls to deleteAzureClient.Deprecated.This method is deprecated and will be removed in the next major version update.OperationCallSettings<DeleteAzureClusterRequest,com.google.protobuf.Empty, OperationMetadata> Deprecated.Returns the object with the settings used for calls to deleteAzureCluster.Deprecated.This method is deprecated and will be removed in the next major version update.OperationCallSettings<DeleteAzureNodePoolRequest,com.google.protobuf.Empty, OperationMetadata> Deprecated.Returns the object with the settings used for calls to deleteAzureNodePool.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.static StringDeprecated.Returns the default mTLS service endpoint.Deprecated.Returns the default service scopes.protected LibraryMetadataDeprecated.Deprecated.Returns the default service name.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.Returns the object with the settings used for calls to updateAzureCluster.Deprecated.This method is deprecated and will be removed in the next major version update.Deprecated.Returns the object with the settings used for calls to updateAzureNodePool.Deprecated.This method is deprecated and will be removed in the next major version update.Methods inherited from class com.google.api.gax.rpc.StubSettings
getApiKey, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getMtlsEndpoint, getQuotaProjectId, getStreamWatchdogCheckInterval, getStreamWatchdogCheckIntervalDuration, getStreamWatchdogProvider, getTracerFactory, getTransportChannelProvider, getUniverseDomain, toString
-
Constructor Details
-
AzureClustersStubSettings
protected AzureClustersStubSettings(AzureClustersStubSettings.Builder settingsBuilder) throws IOException 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
public OperationCallSettings<CreateAzureClientRequest,AzureClient, createAzureClientOperationSettings()OperationMetadata> Deprecated.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
public OperationCallSettings<DeleteAzureClientRequest,com.google.protobuf.Empty, deleteAzureClientOperationSettings()OperationMetadata> Deprecated.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
public OperationCallSettings<CreateAzureClusterRequest,AzureCluster, createAzureClusterOperationSettings()OperationMetadata> Deprecated.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
public OperationCallSettings<UpdateAzureClusterRequest,AzureCluster, updateAzureClusterOperationSettings()OperationMetadata> Deprecated.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
public OperationCallSettings<DeleteAzureClusterRequest,com.google.protobuf.Empty, deleteAzureClusterOperationSettings()OperationMetadata> Deprecated.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
public OperationCallSettings<CreateAzureNodePoolRequest,AzureNodePool, createAzureNodePoolOperationSettings()OperationMetadata> Deprecated.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
public OperationCallSettings<UpdateAzureNodePoolRequest,AzureNodePool, updateAzureNodePoolOperationSettings()OperationMetadata> Deprecated.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
public OperationCallSettings<DeleteAzureNodePoolRequest,com.google.protobuf.Empty, deleteAzureNodePoolOperationSettings()OperationMetadata> Deprecated.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. -
createStub
Deprecated.- Throws:
IOException
-
getServiceName
Deprecated.Returns the default service name.- Overrides:
getServiceNamein classStubSettings<AzureClustersStubSettings>
-
defaultExecutorProviderBuilder
Deprecated.Returns a builder for the default ExecutorProvider for this service. -
getDefaultEndpoint
Deprecated.Returns the default service endpoint. -
getDefaultMtlsEndpoint
Deprecated.Returns the default mTLS 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. -
defaultGrpcApiClientHeaderProviderBuilder
Deprecated. -
defaultHttpJsonApiClientHeaderProviderBuilder
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 classStubSettings<AzureClustersStubSettings>
-
getLibraryMetadata
Deprecated.- Overrides:
getLibraryMetadatain classStubSettings<AzureClustersStubSettings>
-