public class AzureClustersStubSettings extends 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 ();
Static Methods
public static ApiClientHeaderProvider . Builder defaultApiClientHeaderProviderBuilder ()
public static GoogleCredentialsProvider . Builder defaultCredentialsProviderBuilder ()
Returns a builder for the default credentials for this service.
public static InstantiatingExecutorProvider . Builder defaultExecutorProviderBuilder ()
Returns a builder for the default ExecutorProvider for this service.
public static ApiClientHeaderProvider . Builder defaultGrpcApiClientHeaderProviderBuilder ()
public static InstantiatingGrpcChannelProvider . Builder defaultGrpcTransportProviderBuilder ()
Returns a builder for the default gRPC ChannelProvider for this service.
public static ApiClientHeaderProvider . Builder defaultHttpJsonApiClientHeaderProviderBuilder ()
public static InstantiatingHttpJsonChannelProvider . Builder defaultHttpJsonTransportProviderBuilder ()
Beta
This feature is covered by the Pre-GA Offerings Terms of the Terms of Service. Pre-GA libraries might have limited support, and changes to pre-GA libraries might not be compatible with other pre-GA versions. For more information, see the launch stage descriptions.
Returns a builder for the default REST ChannelProvider for this service.
public static TransportChannelProvider defaultTransportChannelProvider ()
public static String getDefaultEndpoint ()
Returns the default service endpoint.
Returns
Type
Description
String
public static String getDefaultMtlsEndpoint ()
Returns the default mTLS service endpoint.
Returns
Type
Description
String
public static List<String> getDefaultServiceScopes ()
Returns the default service scopes.
public static AzureClustersStubSettings . Builder newBuilder ()
Returns a new gRPC builder for this class.
public static AzureClustersStubSettings . Builder newBuilder ( ClientContext clientContext )
Returns a new builder for this class.
public static AzureClustersStubSettings . Builder newHttpJsonBuilder ()
Returns a new REST builder for this class.
Constructors
protected AzureClustersStubSettings ( AzureClustersStubSettings . Builder settingsBuilder )
Methods
public OperationCallSettings<CreateAzureClientRequest , AzureClient , OperationMetadata > createAzureClientOperationSettings ()
Returns the object with the settings used for calls to createAzureClient.
public UnaryCallSettings<CreateAzureClientRequest , Operation > createAzureClientSettings ()
Returns the object with the settings used for calls to createAzureClient.
public OperationCallSettings<CreateAzureClusterRequest , AzureCluster , OperationMetadata > createAzureClusterOperationSettings ()
Returns the object with the settings used for calls to createAzureCluster.
public UnaryCallSettings<CreateAzureClusterRequest , Operation > createAzureClusterSettings ()
Returns the object with the settings used for calls to createAzureCluster.
public OperationCallSettings<CreateAzureNodePoolRequest , AzureNodePool , OperationMetadata > createAzureNodePoolOperationSettings ()
Returns the object with the settings used for calls to createAzureNodePool.
public UnaryCallSettings<CreateAzureNodePoolRequest , Operation > createAzureNodePoolSettings ()
Returns the object with the settings used for calls to createAzureNodePool.
public AzureClustersStub createStub ()
public OperationCallSettings<DeleteAzureClientRequest , Empty , OperationMetadata > deleteAzureClientOperationSettings ()
Returns the object with the settings used for calls to deleteAzureClient.
public UnaryCallSettings<DeleteAzureClientRequest , Operation > deleteAzureClientSettings ()
Returns the object with the settings used for calls to deleteAzureClient.
public OperationCallSettings<DeleteAzureClusterRequest , Empty , OperationMetadata > deleteAzureClusterOperationSettings ()
Returns the object with the settings used for calls to deleteAzureCluster.
public UnaryCallSettings<DeleteAzureClusterRequest , Operation > deleteAzureClusterSettings ()
Returns the object with the settings used for calls to deleteAzureCluster.
public OperationCallSettings<DeleteAzureNodePoolRequest , Empty , OperationMetadata > deleteAzureNodePoolOperationSettings ()
Returns the object with the settings used for calls to deleteAzureNodePool.
public UnaryCallSettings<DeleteAzureNodePoolRequest , Operation > deleteAzureNodePoolSettings ()
Returns the object with the settings used for calls to deleteAzureNodePool.
public UnaryCallSettings<GenerateAzureAccessTokenRequest , GenerateAzureAccessTokenResponse > generateAzureAccessTokenSettings ()
Returns the object with the settings used for calls to generateAzureAccessToken.
public UnaryCallSettings<GenerateAzureClusterAgentTokenRequest , GenerateAzureClusterAgentTokenResponse > generateAzureClusterAgentTokenSettings ()
Returns the object with the settings used for calls to generateAzureClusterAgentToken.
public UnaryCallSettings<GetAzureClientRequest , AzureClient > getAzureClientSettings ()
Returns the object with the settings used for calls to getAzureClient.
public UnaryCallSettings<GetAzureClusterRequest , AzureCluster > getAzureClusterSettings ()
Returns the object with the settings used for calls to getAzureCluster.
public UnaryCallSettings<GetAzureJsonWebKeysRequest , AzureJsonWebKeys > getAzureJsonWebKeysSettings ()
Returns the object with the settings used for calls to getAzureJsonWebKeys.
public UnaryCallSettings<GetAzureNodePoolRequest , AzureNodePool > getAzureNodePoolSettings ()
Returns the object with the settings used for calls to getAzureNodePool.
public UnaryCallSettings<GetAzureOpenIdConfigRequest , AzureOpenIdConfig > getAzureOpenIdConfigSettings ()
Returns the object with the settings used for calls to getAzureOpenIdConfig.
public UnaryCallSettings<GetAzureServerConfigRequest , AzureServerConfig > getAzureServerConfigSettings ()
Returns the object with the settings used for calls to getAzureServerConfig.
public String getServiceName ()
Returns the default service name.
Returns
Type
Description
String
Overrides
public PagedCallSettings<ListAzureClientsRequest , ListAzureClientsResponse , AzureClustersClient . ListAzureClientsPagedResponse > listAzureClientsSettings ()
Returns the object with the settings used for calls to listAzureClients.
public PagedCallSettings<ListAzureClustersRequest , ListAzureClustersResponse , AzureClustersClient . ListAzureClustersPagedResponse > listAzureClustersSettings ()
Returns the object with the settings used for calls to listAzureClusters.
public PagedCallSettings<ListAzureNodePoolsRequest , ListAzureNodePoolsResponse , AzureClustersClient . ListAzureNodePoolsPagedResponse > listAzureNodePoolsSettings ()
Returns the object with the settings used for calls to listAzureNodePools.
public AzureClustersStubSettings . Builder toBuilder ()
Returns a builder containing all the values of this settings class.
Overrides
public OperationCallSettings<UpdateAzureClusterRequest , AzureCluster , OperationMetadata > updateAzureClusterOperationSettings ()
Returns the object with the settings used for calls to updateAzureCluster.
public UnaryCallSettings<UpdateAzureClusterRequest , Operation > updateAzureClusterSettings ()
Returns the object with the settings used for calls to updateAzureCluster.
public OperationCallSettings<UpdateAzureNodePoolRequest , AzureNodePool , OperationMetadata > updateAzureNodePoolOperationSettings ()
Returns the object with the settings used for calls to updateAzureNodePool.
public UnaryCallSettings<UpdateAzureNodePoolRequest , Operation > updateAzureNodePoolSettings ()
Returns the object with the settings used for calls to updateAzureNodePool.