Class AzureClustersStubSettings


  • @Generated("by gapic-generator-java")
    public class AzureClustersStubSettings
    extends com.google.api.gax.rpc.StubSettings<AzureClustersStubSettings>
    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 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();
     
    • 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.
      • 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.
      • 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.
      • getAzureClusterSettings

        public com.google.api.gax.rpc.UnaryCallSettings<GetAzureClusterRequest,​AzureCluster> getAzureClusterSettings()
        Returns the object with the settings used for calls to getAzureCluster.
      • 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.
      • 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.
      • 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.
      • getAzureNodePoolSettings

        public com.google.api.gax.rpc.UnaryCallSettings<GetAzureNodePoolRequest,​AzureNodePool> getAzureNodePoolSettings()
        Returns the object with the settings used for calls to getAzureNodePool.
      • 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.
      • 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​(com.google.api.gax.rpc.ClientContext clientContext)
        Returns a new builder for this class.