Class AzureClustersStubSettings
- java.lang.Object
-
- com.google.api.gax.rpc.StubSettings<AzureClustersStubSettings>
-
- com.google.cloud.gkemulticloud.v1.stub.AzureClustersStubSettings
-
@Generated("by gapic-generator-java") public class AzureClustersStubSettings extends com.google.api.gax.rpc.StubSettings<AzureClustersStubSettings>
Settings class to configure an instance ofAzureClustersStub
.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 total timeout of getAzureClient 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 AzureClustersStubSettings.Builder azureClustersSettingsBuilder = AzureClustersStubSettings.newBuilder(); azureClustersSettingsBuilder .getAzureClientSettings() .setRetrySettings( azureClustersSettingsBuilder .getAzureClientSettings() .getRetrySettings() .toBuilder() .setTotalTimeout(Duration.ofSeconds(30)) .build()); AzureClustersStubSettings azureClustersSettings = azureClustersSettingsBuilder.build();
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AzureClustersStubSettings.Builder
Builder for AzureClustersStubSettings.
-
Constructor Summary
Constructors Modifier Constructor Description protected
AzureClustersStubSettings(AzureClustersStubSettings.Builder settingsBuilder)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description com.google.api.gax.rpc.OperationCallSettings<CreateAzureClientRequest,AzureClient,OperationMetadata>
createAzureClientOperationSettings()
Returns the object with the settings used for calls to createAzureClient.com.google.api.gax.rpc.UnaryCallSettings<CreateAzureClientRequest,com.google.longrunning.Operation>
createAzureClientSettings()
Returns the object with the settings used for calls to createAzureClient.com.google.api.gax.rpc.OperationCallSettings<CreateAzureClusterRequest,AzureCluster,OperationMetadata>
createAzureClusterOperationSettings()
Returns the object with the settings used for calls to createAzureCluster.com.google.api.gax.rpc.UnaryCallSettings<CreateAzureClusterRequest,com.google.longrunning.Operation>
createAzureClusterSettings()
Returns the object with the settings used for calls to createAzureCluster.com.google.api.gax.rpc.OperationCallSettings<CreateAzureNodePoolRequest,AzureNodePool,OperationMetadata>
createAzureNodePoolOperationSettings()
Returns the object with the settings used for calls to createAzureNodePool.com.google.api.gax.rpc.UnaryCallSettings<CreateAzureNodePoolRequest,com.google.longrunning.Operation>
createAzureNodePoolSettings()
Returns the object with the settings used for calls to createAzureNodePool.AzureClustersStub
createStub()
static com.google.api.gax.rpc.ApiClientHeaderProvider.Builder
defaultApiClientHeaderProviderBuilder()
static com.google.api.gax.core.GoogleCredentialsProvider.Builder
defaultCredentialsProviderBuilder()
Returns a builder for the default credentials for this service.static com.google.api.gax.core.InstantiatingExecutorProvider.Builder
defaultExecutorProviderBuilder()
Returns a builder for the default ExecutorProvider for this service.static com.google.api.gax.rpc.ApiClientHeaderProvider.Builder
defaultGrpcApiClientHeaderProviderBuilder()
static com.google.api.gax.grpc.InstantiatingGrpcChannelProvider.Builder
defaultGrpcTransportProviderBuilder()
Returns a builder for the default gRPC ChannelProvider for this service.static com.google.api.gax.rpc.ApiClientHeaderProvider.Builder
defaultHttpJsonApiClientHeaderProviderBuilder()
static com.google.api.gax.httpjson.InstantiatingHttpJsonChannelProvider.Builder
defaultHttpJsonTransportProviderBuilder()
Returns a builder for the default REST ChannelProvider for this service.static com.google.api.gax.rpc.TransportChannelProvider
defaultTransportChannelProvider()
com.google.api.gax.rpc.OperationCallSettings<DeleteAzureClientRequest,com.google.protobuf.Empty,OperationMetadata>
deleteAzureClientOperationSettings()
Returns the object with the settings used for calls to deleteAzureClient.com.google.api.gax.rpc.UnaryCallSettings<DeleteAzureClientRequest,com.google.longrunning.Operation>
deleteAzureClientSettings()
Returns the object with the settings used for calls to deleteAzureClient.com.google.api.gax.rpc.OperationCallSettings<DeleteAzureClusterRequest,com.google.protobuf.Empty,OperationMetadata>
deleteAzureClusterOperationSettings()
Returns the object with the settings used for calls to deleteAzureCluster.com.google.api.gax.rpc.UnaryCallSettings<DeleteAzureClusterRequest,com.google.longrunning.Operation>
deleteAzureClusterSettings()
Returns the object with the settings used for calls to deleteAzureCluster.com.google.api.gax.rpc.OperationCallSettings<DeleteAzureNodePoolRequest,com.google.protobuf.Empty,OperationMetadata>
deleteAzureNodePoolOperationSettings()
Returns the object with the settings used for calls to deleteAzureNodePool.com.google.api.gax.rpc.UnaryCallSettings<DeleteAzureNodePoolRequest,com.google.longrunning.Operation>
deleteAzureNodePoolSettings()
Returns the object with the settings used for calls to deleteAzureNodePool.com.google.api.gax.rpc.UnaryCallSettings<GenerateAzureAccessTokenRequest,GenerateAzureAccessTokenResponse>
generateAzureAccessTokenSettings()
Returns the object with the settings used for calls to generateAzureAccessToken.com.google.api.gax.rpc.UnaryCallSettings<GetAzureClientRequest,AzureClient>
getAzureClientSettings()
Returns the object with the settings used for calls to getAzureClient.com.google.api.gax.rpc.UnaryCallSettings<GetAzureClusterRequest,AzureCluster>
getAzureClusterSettings()
Returns the object with the settings used for calls to getAzureCluster.com.google.api.gax.rpc.UnaryCallSettings<GetAzureNodePoolRequest,AzureNodePool>
getAzureNodePoolSettings()
Returns the object with the settings used for calls to getAzureNodePool.com.google.api.gax.rpc.UnaryCallSettings<GetAzureServerConfigRequest,AzureServerConfig>
getAzureServerConfigSettings()
Returns the object with the settings used for calls to getAzureServerConfig.static String
getDefaultEndpoint()
Returns the default service endpoint.static String
getDefaultMtlsEndpoint()
Returns the default mTLS service endpoint.static List<String>
getDefaultServiceScopes()
Returns the default service scopes.com.google.api.gax.rpc.PagedCallSettings<ListAzureClientsRequest,ListAzureClientsResponse,AzureClustersClient.ListAzureClientsPagedResponse>
listAzureClientsSettings()
Returns the object with the settings used for calls to listAzureClients.com.google.api.gax.rpc.PagedCallSettings<ListAzureClustersRequest,ListAzureClustersResponse,AzureClustersClient.ListAzureClustersPagedResponse>
listAzureClustersSettings()
Returns the object with the settings used for calls to listAzureClusters.com.google.api.gax.rpc.PagedCallSettings<ListAzureNodePoolsRequest,ListAzureNodePoolsResponse,AzureClustersClient.ListAzureNodePoolsPagedResponse>
listAzureNodePoolsSettings()
Returns the object with the settings used for calls to listAzureNodePools.static AzureClustersStubSettings.Builder
newBuilder()
Returns a new gRPC builder for this class.static AzureClustersStubSettings.Builder
newBuilder(com.google.api.gax.rpc.ClientContext clientContext)
Returns a new builder for this class.static AzureClustersStubSettings.Builder
newHttpJsonBuilder()
Returns a new REST builder for this class.AzureClustersStubSettings.Builder
toBuilder()
Returns a builder containing all the values of this settings class.com.google.api.gax.rpc.OperationCallSettings<UpdateAzureClusterRequest,AzureCluster,OperationMetadata>
updateAzureClusterOperationSettings()
Returns the object with the settings used for calls to updateAzureCluster.com.google.api.gax.rpc.UnaryCallSettings<UpdateAzureClusterRequest,com.google.longrunning.Operation>
updateAzureClusterSettings()
Returns the object with the settings used for calls to updateAzureCluster.com.google.api.gax.rpc.OperationCallSettings<UpdateAzureNodePoolRequest,AzureNodePool,OperationMetadata>
updateAzureNodePoolOperationSettings()
Returns the object with the settings used for calls to updateAzureNodePool.com.google.api.gax.rpc.UnaryCallSettings<UpdateAzureNodePoolRequest,com.google.longrunning.Operation>
updateAzureNodePoolSettings()
Returns the object with the settings used for calls to updateAzureNodePool.-
Methods inherited from class com.google.api.gax.rpc.StubSettings
getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getMtlsEndpoint, getQuotaProjectId, getStreamWatchdogCheckInterval, getStreamWatchdogProvider, getTracerFactory, getTransportChannelProvider, toString
-
-
-
-
Constructor Detail
-
AzureClustersStubSettings
protected AzureClustersStubSettings(AzureClustersStubSettings.Builder settingsBuilder) throws IOException
- Throws:
IOException
-
-
Method Detail
-
createAzureClientSettings
public com.google.api.gax.rpc.UnaryCallSettings<CreateAzureClientRequest,com.google.longrunning.Operation> createAzureClientSettings()
Returns the object with the settings used for calls to createAzureClient.
-
createAzureClientOperationSettings
public com.google.api.gax.rpc.OperationCallSettings<CreateAzureClientRequest,AzureClient,OperationMetadata> createAzureClientOperationSettings()
Returns the object with the settings used for calls to createAzureClient.
-
getAzureClientSettings
public com.google.api.gax.rpc.UnaryCallSettings<GetAzureClientRequest,AzureClient> getAzureClientSettings()
Returns the object with the settings used for calls to getAzureClient.
-
listAzureClientsSettings
public com.google.api.gax.rpc.PagedCallSettings<ListAzureClientsRequest,ListAzureClientsResponse,AzureClustersClient.ListAzureClientsPagedResponse> listAzureClientsSettings()
Returns the object with the settings used for calls to listAzureClients.
-
deleteAzureClientSettings
public com.google.api.gax.rpc.UnaryCallSettings<DeleteAzureClientRequest,com.google.longrunning.Operation> deleteAzureClientSettings()
Returns the object with the settings used for calls to deleteAzureClient.
-
deleteAzureClientOperationSettings
public com.google.api.gax.rpc.OperationCallSettings<DeleteAzureClientRequest,com.google.protobuf.Empty,OperationMetadata> deleteAzureClientOperationSettings()
Returns the object with the settings used for calls to deleteAzureClient.
-
createAzureClusterSettings
public com.google.api.gax.rpc.UnaryCallSettings<CreateAzureClusterRequest,com.google.longrunning.Operation> createAzureClusterSettings()
Returns the object with the settings used for calls to createAzureCluster.
-
createAzureClusterOperationSettings
public com.google.api.gax.rpc.OperationCallSettings<CreateAzureClusterRequest,AzureCluster,OperationMetadata> createAzureClusterOperationSettings()
Returns the object with the settings used for calls to createAzureCluster.
-
updateAzureClusterSettings
public com.google.api.gax.rpc.UnaryCallSettings<UpdateAzureClusterRequest,com.google.longrunning.Operation> updateAzureClusterSettings()
Returns the object with the settings used for calls to updateAzureCluster.
-
updateAzureClusterOperationSettings
public com.google.api.gax.rpc.OperationCallSettings<UpdateAzureClusterRequest,AzureCluster,OperationMetadata> updateAzureClusterOperationSettings()
Returns the object with the settings used for calls to updateAzureCluster.
-
getAzureClusterSettings
public com.google.api.gax.rpc.UnaryCallSettings<GetAzureClusterRequest,AzureCluster> getAzureClusterSettings()
Returns the object with the settings used for calls to getAzureCluster.
-
listAzureClustersSettings
public com.google.api.gax.rpc.PagedCallSettings<ListAzureClustersRequest,ListAzureClustersResponse,AzureClustersClient.ListAzureClustersPagedResponse> listAzureClustersSettings()
Returns the object with the settings used for calls to listAzureClusters.
-
deleteAzureClusterSettings
public com.google.api.gax.rpc.UnaryCallSettings<DeleteAzureClusterRequest,com.google.longrunning.Operation> deleteAzureClusterSettings()
Returns the object with the settings used for calls to deleteAzureCluster.
-
deleteAzureClusterOperationSettings
public com.google.api.gax.rpc.OperationCallSettings<DeleteAzureClusterRequest,com.google.protobuf.Empty,OperationMetadata> deleteAzureClusterOperationSettings()
Returns the object with the settings used for calls to deleteAzureCluster.
-
generateAzureAccessTokenSettings
public com.google.api.gax.rpc.UnaryCallSettings<GenerateAzureAccessTokenRequest,GenerateAzureAccessTokenResponse> generateAzureAccessTokenSettings()
Returns the object with the settings used for calls to generateAzureAccessToken.
-
createAzureNodePoolSettings
public com.google.api.gax.rpc.UnaryCallSettings<CreateAzureNodePoolRequest,com.google.longrunning.Operation> createAzureNodePoolSettings()
Returns the object with the settings used for calls to createAzureNodePool.
-
createAzureNodePoolOperationSettings
public com.google.api.gax.rpc.OperationCallSettings<CreateAzureNodePoolRequest,AzureNodePool,OperationMetadata> createAzureNodePoolOperationSettings()
Returns the object with the settings used for calls to createAzureNodePool.
-
updateAzureNodePoolSettings
public com.google.api.gax.rpc.UnaryCallSettings<UpdateAzureNodePoolRequest,com.google.longrunning.Operation> updateAzureNodePoolSettings()
Returns the object with the settings used for calls to updateAzureNodePool.
-
updateAzureNodePoolOperationSettings
public com.google.api.gax.rpc.OperationCallSettings<UpdateAzureNodePoolRequest,AzureNodePool,OperationMetadata> updateAzureNodePoolOperationSettings()
Returns the object with the settings used for calls to updateAzureNodePool.
-
getAzureNodePoolSettings
public com.google.api.gax.rpc.UnaryCallSettings<GetAzureNodePoolRequest,AzureNodePool> getAzureNodePoolSettings()
Returns the object with the settings used for calls to getAzureNodePool.
-
listAzureNodePoolsSettings
public com.google.api.gax.rpc.PagedCallSettings<ListAzureNodePoolsRequest,ListAzureNodePoolsResponse,AzureClustersClient.ListAzureNodePoolsPagedResponse> listAzureNodePoolsSettings()
Returns the object with the settings used for calls to listAzureNodePools.
-
deleteAzureNodePoolSettings
public com.google.api.gax.rpc.UnaryCallSettings<DeleteAzureNodePoolRequest,com.google.longrunning.Operation> deleteAzureNodePoolSettings()
Returns the object with the settings used for calls to deleteAzureNodePool.
-
deleteAzureNodePoolOperationSettings
public com.google.api.gax.rpc.OperationCallSettings<DeleteAzureNodePoolRequest,com.google.protobuf.Empty,OperationMetadata> deleteAzureNodePoolOperationSettings()
Returns the object with the settings used for calls to deleteAzureNodePool.
-
getAzureServerConfigSettings
public com.google.api.gax.rpc.UnaryCallSettings<GetAzureServerConfigRequest,AzureServerConfig> getAzureServerConfigSettings()
Returns the object with the settings used for calls to getAzureServerConfig.
-
createStub
public AzureClustersStub createStub() throws IOException
- Throws:
IOException
-
defaultExecutorProviderBuilder
public static com.google.api.gax.core.InstantiatingExecutorProvider.Builder defaultExecutorProviderBuilder()
Returns a builder for the default ExecutorProvider for this service.
-
getDefaultEndpoint
public static String getDefaultEndpoint()
Returns the default service endpoint.
-
getDefaultMtlsEndpoint
public static String getDefaultMtlsEndpoint()
Returns the default mTLS service endpoint.
-
getDefaultServiceScopes
public static List<String> getDefaultServiceScopes()
Returns the default service scopes.
-
defaultCredentialsProviderBuilder
public static com.google.api.gax.core.GoogleCredentialsProvider.Builder defaultCredentialsProviderBuilder()
Returns a builder for the default credentials for this service.
-
defaultGrpcTransportProviderBuilder
public static com.google.api.gax.grpc.InstantiatingGrpcChannelProvider.Builder defaultGrpcTransportProviderBuilder()
Returns a builder for the default gRPC ChannelProvider for this service.
-
defaultHttpJsonTransportProviderBuilder
@BetaApi public static com.google.api.gax.httpjson.InstantiatingHttpJsonChannelProvider.Builder defaultHttpJsonTransportProviderBuilder()
Returns a builder for the default REST ChannelProvider for this service.
-
defaultTransportChannelProvider
public static com.google.api.gax.rpc.TransportChannelProvider defaultTransportChannelProvider()
-
defaultGrpcApiClientHeaderProviderBuilder
@BetaApi("The surface for customizing headers is not stable yet and may change in the future.") public static com.google.api.gax.rpc.ApiClientHeaderProvider.Builder defaultGrpcApiClientHeaderProviderBuilder()
-
defaultHttpJsonApiClientHeaderProviderBuilder
@BetaApi("The surface for customizing headers is not stable yet and may change in the future.") public static com.google.api.gax.rpc.ApiClientHeaderProvider.Builder defaultHttpJsonApiClientHeaderProviderBuilder()
-
defaultApiClientHeaderProviderBuilder
public static com.google.api.gax.rpc.ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuilder()
-
newBuilder
public static AzureClustersStubSettings.Builder newBuilder()
Returns a new gRPC builder for this class.
-
newHttpJsonBuilder
public static AzureClustersStubSettings.Builder newHttpJsonBuilder()
Returns a new REST builder for this class.
-
newBuilder
public static AzureClustersStubSettings.Builder newBuilder(com.google.api.gax.rpc.ClientContext clientContext)
Returns a new builder for this class.
-
toBuilder
public AzureClustersStubSettings.Builder toBuilder()
Returns a builder containing all the values of this settings class.- Specified by:
toBuilder
in classcom.google.api.gax.rpc.StubSettings<AzureClustersStubSettings>
-
-