@Generated(value="by gapic-generator") @BetaApi public class ClusterManagerSettings extends 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 |
---|---|
UnaryCallSettings<com.google.container.v1.CancelOperationRequest,Empty> |
cancelOperationSettings()
Returns the object with the settings used for calls to cancelOperation.
|
UnaryCallSettings<com.google.container.v1.CompleteIPRotationRequest,com.google.container.v1.Operation> |
completeIPRotationSettings()
Returns the object with the settings used for calls to completeIPRotation.
|
static ClusterManagerSettings |
create(ClusterManagerStubSettings stub) |
UnaryCallSettings<com.google.container.v1.CreateClusterRequest,com.google.container.v1.Operation> |
createClusterSettings()
Returns the object with the settings used for calls to createCluster.
|
UnaryCallSettings<com.google.container.v1.CreateNodePoolRequest,com.google.container.v1.Operation> |
createNodePoolSettings()
Returns the object with the settings used for calls to createNodePool.
|
static ApiClientHeaderProvider.Builder |
defaultApiClientHeaderProviderBuilder() |
static GoogleCredentialsProvider.Builder |
defaultCredentialsProviderBuilder()
Returns a builder for the default credentials for this service.
|
static InstantiatingExecutorProvider.Builder |
defaultExecutorProviderBuilder()
Returns a builder for the default ExecutorProvider for this service.
|
static InstantiatingGrpcChannelProvider.Builder |
defaultGrpcTransportProviderBuilder()
Returns a builder for the default ChannelProvider for this service.
|
static TransportChannelProvider |
defaultTransportChannelProvider() |
UnaryCallSettings<com.google.container.v1.DeleteClusterRequest,com.google.container.v1.Operation> |
deleteClusterSettings()
Returns the object with the settings used for calls to deleteCluster.
|
UnaryCallSettings<com.google.container.v1.DeleteNodePoolRequest,com.google.container.v1.Operation> |
deleteNodePoolSettings()
Returns the object with the settings used for calls to deleteNodePool.
|
UnaryCallSettings<com.google.container.v1.GetClusterRequest,com.google.container.v1.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.
|
UnaryCallSettings<com.google.container.v1.GetNodePoolRequest,com.google.container.v1.NodePool> |
getNodePoolSettings()
Returns the object with the settings used for calls to getNodePool.
|
UnaryCallSettings<com.google.container.v1.GetOperationRequest,com.google.container.v1.Operation> |
getOperationSettings()
Returns the object with the settings used for calls to getOperation.
|
UnaryCallSettings<com.google.container.v1.GetServerConfigRequest,com.google.container.v1.ServerConfig> |
getServerConfigSettings()
Returns the object with the settings used for calls to getServerConfig.
|
UnaryCallSettings<com.google.container.v1.ListClustersRequest,com.google.container.v1.ListClustersResponse> |
listClustersSettings()
Returns the object with the settings used for calls to listClusters.
|
UnaryCallSettings<com.google.container.v1.ListNodePoolsRequest,com.google.container.v1.ListNodePoolsResponse> |
listNodePoolsSettings()
Returns the object with the settings used for calls to listNodePools.
|
UnaryCallSettings<com.google.container.v1.ListOperationsRequest,com.google.container.v1.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(ClientContext clientContext)
Returns a new builder for this class.
|
UnaryCallSettings<com.google.container.v1.RollbackNodePoolUpgradeRequest,com.google.container.v1.Operation> |
rollbackNodePoolUpgradeSettings()
Returns the object with the settings used for calls to rollbackNodePoolUpgrade.
|
UnaryCallSettings<com.google.container.v1.SetAddonsConfigRequest,com.google.container.v1.Operation> |
setAddonsConfigSettings()
Returns the object with the settings used for calls to setAddonsConfig.
|
UnaryCallSettings<com.google.container.v1.SetLabelsRequest,com.google.container.v1.Operation> |
setLabelsSettings()
Returns the object with the settings used for calls to setLabels.
|
UnaryCallSettings<com.google.container.v1.SetLegacyAbacRequest,com.google.container.v1.Operation> |
setLegacyAbacSettings()
Returns the object with the settings used for calls to setLegacyAbac.
|
UnaryCallSettings<com.google.container.v1.SetLocationsRequest,com.google.container.v1.Operation> |
setLocationsSettings()
Returns the object with the settings used for calls to setLocations.
|
UnaryCallSettings<com.google.container.v1.SetLoggingServiceRequest,com.google.container.v1.Operation> |
setLoggingServiceSettings()
Returns the object with the settings used for calls to setLoggingService.
|
UnaryCallSettings<com.google.container.v1.SetMaintenancePolicyRequest,com.google.container.v1.Operation> |
setMaintenancePolicySettings()
Returns the object with the settings used for calls to setMaintenancePolicy.
|
UnaryCallSettings<com.google.container.v1.SetMasterAuthRequest,com.google.container.v1.Operation> |
setMasterAuthSettings()
Returns the object with the settings used for calls to setMasterAuth.
|
UnaryCallSettings<com.google.container.v1.SetMonitoringServiceRequest,com.google.container.v1.Operation> |
setMonitoringServiceSettings()
Returns the object with the settings used for calls to setMonitoringService.
|
UnaryCallSettings<com.google.container.v1.SetNetworkPolicyRequest,com.google.container.v1.Operation> |
setNetworkPolicySettings()
Returns the object with the settings used for calls to setNetworkPolicy.
|
UnaryCallSettings<com.google.container.v1.SetNodePoolAutoscalingRequest,com.google.container.v1.Operation> |
setNodePoolAutoscalingSettings()
Returns the object with the settings used for calls to setNodePoolAutoscaling.
|
UnaryCallSettings<com.google.container.v1.SetNodePoolManagementRequest,com.google.container.v1.Operation> |
setNodePoolManagementSettings()
Returns the object with the settings used for calls to setNodePoolManagement.
|
UnaryCallSettings<com.google.container.v1.SetNodePoolSizeRequest,com.google.container.v1.Operation> |
setNodePoolSizeSettings()
Returns the object with the settings used for calls to setNodePoolSize.
|
UnaryCallSettings<com.google.container.v1.StartIPRotationRequest,com.google.container.v1.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.
|
UnaryCallSettings<com.google.container.v1.UpdateClusterRequest,com.google.container.v1.Operation> |
updateClusterSettings()
Returns the object with the settings used for calls to updateCluster.
|
UnaryCallSettings<com.google.container.v1.UpdateMasterRequest,com.google.container.v1.Operation> |
updateMasterSettings()
Returns the object with the settings used for calls to updateMaster.
|
UnaryCallSettings<com.google.container.v1.UpdateNodePoolRequest,com.google.container.v1.Operation> |
updateNodePoolSettings()
Returns the object with the settings used for calls to updateNodePool.
|
getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getHeaderProvider, getInternalHeaderProvider, getStubSettings, getTransportChannelProvider, getWatchdogCheckInterval, getWatchdogProvider, toString
protected ClusterManagerSettings(ClusterManagerSettings.Builder settingsBuilder) throws IOException
IOException
public UnaryCallSettings<com.google.container.v1.ListClustersRequest,com.google.container.v1.ListClustersResponse> listClustersSettings()
public UnaryCallSettings<com.google.container.v1.GetClusterRequest,com.google.container.v1.Cluster> getClusterSettings()
public UnaryCallSettings<com.google.container.v1.CreateClusterRequest,com.google.container.v1.Operation> createClusterSettings()
public UnaryCallSettings<com.google.container.v1.UpdateClusterRequest,com.google.container.v1.Operation> updateClusterSettings()
public UnaryCallSettings<com.google.container.v1.UpdateNodePoolRequest,com.google.container.v1.Operation> updateNodePoolSettings()
public UnaryCallSettings<com.google.container.v1.SetNodePoolAutoscalingRequest,com.google.container.v1.Operation> setNodePoolAutoscalingSettings()
public UnaryCallSettings<com.google.container.v1.SetLoggingServiceRequest,com.google.container.v1.Operation> setLoggingServiceSettings()
public UnaryCallSettings<com.google.container.v1.SetMonitoringServiceRequest,com.google.container.v1.Operation> setMonitoringServiceSettings()
public UnaryCallSettings<com.google.container.v1.SetAddonsConfigRequest,com.google.container.v1.Operation> setAddonsConfigSettings()
public UnaryCallSettings<com.google.container.v1.SetLocationsRequest,com.google.container.v1.Operation> setLocationsSettings()
public UnaryCallSettings<com.google.container.v1.UpdateMasterRequest,com.google.container.v1.Operation> updateMasterSettings()
public UnaryCallSettings<com.google.container.v1.SetMasterAuthRequest,com.google.container.v1.Operation> setMasterAuthSettings()
public UnaryCallSettings<com.google.container.v1.DeleteClusterRequest,com.google.container.v1.Operation> deleteClusterSettings()
public UnaryCallSettings<com.google.container.v1.ListOperationsRequest,com.google.container.v1.ListOperationsResponse> listOperationsSettings()
public UnaryCallSettings<com.google.container.v1.GetOperationRequest,com.google.container.v1.Operation> getOperationSettings()
public UnaryCallSettings<com.google.container.v1.CancelOperationRequest,Empty> cancelOperationSettings()
public UnaryCallSettings<com.google.container.v1.GetServerConfigRequest,com.google.container.v1.ServerConfig> getServerConfigSettings()
public UnaryCallSettings<com.google.container.v1.ListNodePoolsRequest,com.google.container.v1.ListNodePoolsResponse> listNodePoolsSettings()
public UnaryCallSettings<com.google.container.v1.GetNodePoolRequest,com.google.container.v1.NodePool> getNodePoolSettings()
public UnaryCallSettings<com.google.container.v1.CreateNodePoolRequest,com.google.container.v1.Operation> createNodePoolSettings()
public UnaryCallSettings<com.google.container.v1.DeleteNodePoolRequest,com.google.container.v1.Operation> deleteNodePoolSettings()
public UnaryCallSettings<com.google.container.v1.RollbackNodePoolUpgradeRequest,com.google.container.v1.Operation> rollbackNodePoolUpgradeSettings()
public UnaryCallSettings<com.google.container.v1.SetNodePoolManagementRequest,com.google.container.v1.Operation> setNodePoolManagementSettings()
public UnaryCallSettings<com.google.container.v1.SetLabelsRequest,com.google.container.v1.Operation> setLabelsSettings()
public UnaryCallSettings<com.google.container.v1.SetLegacyAbacRequest,com.google.container.v1.Operation> setLegacyAbacSettings()
public UnaryCallSettings<com.google.container.v1.StartIPRotationRequest,com.google.container.v1.Operation> startIPRotationSettings()
public UnaryCallSettings<com.google.container.v1.CompleteIPRotationRequest,com.google.container.v1.Operation> completeIPRotationSettings()
public UnaryCallSettings<com.google.container.v1.SetNodePoolSizeRequest,com.google.container.v1.Operation> setNodePoolSizeSettings()
public UnaryCallSettings<com.google.container.v1.SetNetworkPolicyRequest,com.google.container.v1.Operation> setNetworkPolicySettings()
public UnaryCallSettings<com.google.container.v1.SetMaintenancePolicyRequest,com.google.container.v1.Operation> setMaintenancePolicySettings()
public static final ClusterManagerSettings create(ClusterManagerStubSettings stub) throws IOException
IOException
public static InstantiatingExecutorProvider.Builder defaultExecutorProviderBuilder()
public static String getDefaultEndpoint()
public static List<String> getDefaultServiceScopes()
public static GoogleCredentialsProvider.Builder defaultCredentialsProviderBuilder()
public static InstantiatingGrpcChannelProvider.Builder defaultGrpcTransportProviderBuilder()
public static TransportChannelProvider defaultTransportChannelProvider()
@BetaApi(value="The surface for customizing headers is not stable yet and may change in the future.") public static ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuilder()
public static ClusterManagerSettings.Builder newBuilder()
public static ClusterManagerSettings.Builder newBuilder(ClientContext clientContext)
public ClusterManagerSettings.Builder toBuilder()
toBuilder
in class ClientSettings<ClusterManagerSettings>
Copyright © 2019 Google LLC. All rights reserved.