@Generated(value="by gapic-generator") @BetaApi public class ClusterManagerSettings extends com.google.api.gax.rpc.ClientSettings<ClusterManagerSettings>
ClusterManagerClient
.
The default instance has everything set to sensible defaults:
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 listClusters to 30 seconds:
ClusterManagerSettings.Builder clusterManagerSettingsBuilder =
ClusterManagerSettings.newBuilder();
clusterManagerSettingsBuilder.listClustersSettings().getRetrySettings().toBuilder()
.setTotalTimeout(Duration.ofSeconds(30));
ClusterManagerSettings clusterManagerSettings = clusterManagerSettingsBuilder.build();
Modifier and Type | Class and Description |
---|---|
static class |
ClusterManagerSettings.Builder
Builder for ClusterManagerSettings.
|
Modifier | Constructor and Description |
---|---|
protected |
ClusterManagerSettings(ClusterManagerSettings.Builder settingsBuilder) |
Modifier and Type | Method and Description |
---|---|
com.google.api.gax.rpc.UnaryCallSettings<CancelOperationRequest,Empty> |
cancelOperationSettings()
Returns the object with the settings used for calls to cancelOperation.
|
com.google.api.gax.rpc.UnaryCallSettings<CompleteIPRotationRequest,Operation> |
completeIPRotationSettings()
Returns the object with the settings used for calls to completeIPRotation.
|
static ClusterManagerSettings |
create(ClusterManagerStubSettings stub) |
com.google.api.gax.rpc.UnaryCallSettings<CreateClusterRequest,Operation> |
createClusterSettings()
Returns the object with the settings used for calls to createCluster.
|
com.google.api.gax.rpc.UnaryCallSettings<CreateNodePoolRequest,Operation> |
createNodePoolSettings()
Returns the object with the settings used for calls to createNodePool.
|
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.grpc.InstantiatingGrpcChannelProvider.Builder |
defaultGrpcTransportProviderBuilder()
Returns a builder for the default ChannelProvider for this service.
|
static com.google.api.gax.rpc.TransportChannelProvider |
defaultTransportChannelProvider() |
com.google.api.gax.rpc.UnaryCallSettings<DeleteClusterRequest,Operation> |
deleteClusterSettings()
Returns the object with the settings used for calls to deleteCluster.
|
com.google.api.gax.rpc.UnaryCallSettings<DeleteNodePoolRequest,Operation> |
deleteNodePoolSettings()
Returns the object with the settings used for calls to deleteNodePool.
|
com.google.api.gax.rpc.UnaryCallSettings<GetClusterRequest,Cluster> |
getClusterSettings()
Returns the object with the settings used for calls to getCluster.
|
static String |
getDefaultEndpoint()
Returns the default service endpoint.
|
static List<String> |
getDefaultServiceScopes()
Returns the default service scopes.
|
com.google.api.gax.rpc.UnaryCallSettings<GetNodePoolRequest,NodePool> |
getNodePoolSettings()
Returns the object with the settings used for calls to getNodePool.
|
com.google.api.gax.rpc.UnaryCallSettings<GetOperationRequest,Operation> |
getOperationSettings()
Returns the object with the settings used for calls to getOperation.
|
com.google.api.gax.rpc.UnaryCallSettings<GetServerConfigRequest,ServerConfig> |
getServerConfigSettings()
Returns the object with the settings used for calls to getServerConfig.
|
com.google.api.gax.rpc.UnaryCallSettings<ListClustersRequest,ListClustersResponse> |
listClustersSettings()
Returns the object with the settings used for calls to listClusters.
|
com.google.api.gax.rpc.UnaryCallSettings<ListNodePoolsRequest,ListNodePoolsResponse> |
listNodePoolsSettings()
Returns the object with the settings used for calls to listNodePools.
|
com.google.api.gax.rpc.UnaryCallSettings<ListOperationsRequest,ListOperationsResponse> |
listOperationsSettings()
Returns the object with the settings used for calls to listOperations.
|
static ClusterManagerSettings.Builder |
newBuilder()
Returns a new builder for this class.
|
static ClusterManagerSettings.Builder |
newBuilder(com.google.api.gax.rpc.ClientContext clientContext)
Returns a new builder for this class.
|
com.google.api.gax.rpc.UnaryCallSettings<RollbackNodePoolUpgradeRequest,Operation> |
rollbackNodePoolUpgradeSettings()
Returns the object with the settings used for calls to rollbackNodePoolUpgrade.
|
com.google.api.gax.rpc.UnaryCallSettings<SetAddonsConfigRequest,Operation> |
setAddonsConfigSettings()
Returns the object with the settings used for calls to setAddonsConfig.
|
com.google.api.gax.rpc.UnaryCallSettings<SetLabelsRequest,Operation> |
setLabelsSettings()
Returns the object with the settings used for calls to setLabels.
|
com.google.api.gax.rpc.UnaryCallSettings<SetLegacyAbacRequest,Operation> |
setLegacyAbacSettings()
Returns the object with the settings used for calls to setLegacyAbac.
|
com.google.api.gax.rpc.UnaryCallSettings<SetLocationsRequest,Operation> |
setLocationsSettings()
Returns the object with the settings used for calls to setLocations.
|
com.google.api.gax.rpc.UnaryCallSettings<SetLoggingServiceRequest,Operation> |
setLoggingServiceSettings()
Returns the object with the settings used for calls to setLoggingService.
|
com.google.api.gax.rpc.UnaryCallSettings<SetMaintenancePolicyRequest,Operation> |
setMaintenancePolicySettings()
Returns the object with the settings used for calls to setMaintenancePolicy.
|
com.google.api.gax.rpc.UnaryCallSettings<SetMasterAuthRequest,Operation> |
setMasterAuthSettings()
Returns the object with the settings used for calls to setMasterAuth.
|
com.google.api.gax.rpc.UnaryCallSettings<SetMonitoringServiceRequest,Operation> |
setMonitoringServiceSettings()
Returns the object with the settings used for calls to setMonitoringService.
|
com.google.api.gax.rpc.UnaryCallSettings<SetNetworkPolicyRequest,Operation> |
setNetworkPolicySettings()
Returns the object with the settings used for calls to setNetworkPolicy.
|
com.google.api.gax.rpc.UnaryCallSettings<SetNodePoolAutoscalingRequest,Operation> |
setNodePoolAutoscalingSettings()
Returns the object with the settings used for calls to setNodePoolAutoscaling.
|
com.google.api.gax.rpc.UnaryCallSettings<SetNodePoolManagementRequest,Operation> |
setNodePoolManagementSettings()
Returns the object with the settings used for calls to setNodePoolManagement.
|
com.google.api.gax.rpc.UnaryCallSettings<SetNodePoolSizeRequest,Operation> |
setNodePoolSizeSettings()
Returns the object with the settings used for calls to setNodePoolSize.
|
com.google.api.gax.rpc.UnaryCallSettings<StartIPRotationRequest,Operation> |
startIPRotationSettings()
Returns the object with the settings used for calls to startIPRotation.
|
ClusterManagerSettings.Builder |
toBuilder()
Returns a builder containing all the values of this settings class.
|
com.google.api.gax.rpc.UnaryCallSettings<UpdateClusterRequest,Operation> |
updateClusterSettings()
Returns the object with the settings used for calls to updateCluster.
|
com.google.api.gax.rpc.UnaryCallSettings<UpdateMasterRequest,Operation> |
updateMasterSettings()
Returns the object with the settings used for calls to updateMaster.
|
com.google.api.gax.rpc.UnaryCallSettings<UpdateNodePoolRequest,Operation> |
updateNodePoolSettings()
Returns the object with the settings used for calls to updateNodePool.
|
protected ClusterManagerSettings(ClusterManagerSettings.Builder settingsBuilder) throws IOException
IOException
public com.google.api.gax.rpc.UnaryCallSettings<ListClustersRequest,ListClustersResponse> listClustersSettings()
public com.google.api.gax.rpc.UnaryCallSettings<GetClusterRequest,Cluster> getClusterSettings()
public com.google.api.gax.rpc.UnaryCallSettings<CreateClusterRequest,Operation> createClusterSettings()
public com.google.api.gax.rpc.UnaryCallSettings<UpdateClusterRequest,Operation> updateClusterSettings()
public com.google.api.gax.rpc.UnaryCallSettings<UpdateNodePoolRequest,Operation> updateNodePoolSettings()
public com.google.api.gax.rpc.UnaryCallSettings<SetNodePoolAutoscalingRequest,Operation> setNodePoolAutoscalingSettings()
public com.google.api.gax.rpc.UnaryCallSettings<SetLoggingServiceRequest,Operation> setLoggingServiceSettings()
public com.google.api.gax.rpc.UnaryCallSettings<SetMonitoringServiceRequest,Operation> setMonitoringServiceSettings()
public com.google.api.gax.rpc.UnaryCallSettings<SetAddonsConfigRequest,Operation> setAddonsConfigSettings()
public com.google.api.gax.rpc.UnaryCallSettings<SetLocationsRequest,Operation> setLocationsSettings()
public com.google.api.gax.rpc.UnaryCallSettings<UpdateMasterRequest,Operation> updateMasterSettings()
public com.google.api.gax.rpc.UnaryCallSettings<SetMasterAuthRequest,Operation> setMasterAuthSettings()
public com.google.api.gax.rpc.UnaryCallSettings<DeleteClusterRequest,Operation> deleteClusterSettings()
public com.google.api.gax.rpc.UnaryCallSettings<ListOperationsRequest,ListOperationsResponse> listOperationsSettings()
public com.google.api.gax.rpc.UnaryCallSettings<GetOperationRequest,Operation> getOperationSettings()
public com.google.api.gax.rpc.UnaryCallSettings<CancelOperationRequest,Empty> cancelOperationSettings()
public com.google.api.gax.rpc.UnaryCallSettings<GetServerConfigRequest,ServerConfig> getServerConfigSettings()
public com.google.api.gax.rpc.UnaryCallSettings<ListNodePoolsRequest,ListNodePoolsResponse> listNodePoolsSettings()
public com.google.api.gax.rpc.UnaryCallSettings<GetNodePoolRequest,NodePool> getNodePoolSettings()
public com.google.api.gax.rpc.UnaryCallSettings<CreateNodePoolRequest,Operation> createNodePoolSettings()
public com.google.api.gax.rpc.UnaryCallSettings<DeleteNodePoolRequest,Operation> deleteNodePoolSettings()
public com.google.api.gax.rpc.UnaryCallSettings<RollbackNodePoolUpgradeRequest,Operation> rollbackNodePoolUpgradeSettings()
public com.google.api.gax.rpc.UnaryCallSettings<SetNodePoolManagementRequest,Operation> setNodePoolManagementSettings()
public com.google.api.gax.rpc.UnaryCallSettings<SetLabelsRequest,Operation> setLabelsSettings()
public com.google.api.gax.rpc.UnaryCallSettings<SetLegacyAbacRequest,Operation> setLegacyAbacSettings()
public com.google.api.gax.rpc.UnaryCallSettings<StartIPRotationRequest,Operation> startIPRotationSettings()
public com.google.api.gax.rpc.UnaryCallSettings<CompleteIPRotationRequest,Operation> completeIPRotationSettings()
public com.google.api.gax.rpc.UnaryCallSettings<SetNodePoolSizeRequest,Operation> setNodePoolSizeSettings()
public com.google.api.gax.rpc.UnaryCallSettings<SetNetworkPolicyRequest,Operation> setNetworkPolicySettings()
public com.google.api.gax.rpc.UnaryCallSettings<SetMaintenancePolicyRequest,Operation> setMaintenancePolicySettings()
public static final ClusterManagerSettings create(ClusterManagerStubSettings stub) throws IOException
IOException
public static com.google.api.gax.core.InstantiatingExecutorProvider.Builder defaultExecutorProviderBuilder()
public static String getDefaultEndpoint()
public static List<String> getDefaultServiceScopes()
public static com.google.api.gax.core.GoogleCredentialsProvider.Builder defaultCredentialsProviderBuilder()
public static com.google.api.gax.grpc.InstantiatingGrpcChannelProvider.Builder defaultGrpcTransportProviderBuilder()
public static com.google.api.gax.rpc.TransportChannelProvider defaultTransportChannelProvider()
@BetaApi(value="The surface for customizing headers is not stable yet and may change in the future.") public static com.google.api.gax.rpc.ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuilder()
public static ClusterManagerSettings.Builder newBuilder()
public static ClusterManagerSettings.Builder newBuilder(com.google.api.gax.rpc.ClientContext clientContext)
public ClusterManagerSettings.Builder toBuilder()
toBuilder
in class com.google.api.gax.rpc.ClientSettings<ClusterManagerSettings>
Copyright © 2019 Google LLC. All rights reserved.