Class ClusterManagerSettings.Builder (2.27.0)

public static class ClusterManagerSettings.Builder extends ClientSettings.Builder<ClusterManagerSettings,ClusterManagerSettings.Builder>

Builder for ClusterManagerSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > ClusterManagerSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Builder(ClusterManagerSettings settings)

protected Builder(ClusterManagerSettings settings)
Parameter
NameDescription
settingsClusterManagerSettings

Builder(ClusterManagerStubSettings.Builder stubSettings)

protected Builder(ClusterManagerStubSettings.Builder stubSettings)
Parameter
NameDescription
stubSettingsClusterManagerStubSettings.Builder

Methods

applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)

public ClusterManagerSettings.Builder applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)

Applies the given settings updater function to all of the unary API methods in this service.

Note: This method does not support applying settings to streaming methods.

Parameter
NameDescription
settingsUpdaterApiFunction<Builder<?,?>,java.lang.Void>
Returns
TypeDescription
ClusterManagerSettings.Builder

build()

public ClusterManagerSettings build()
Returns
TypeDescription
ClusterManagerSettings
Overrides
Exceptions
TypeDescription
IOException

cancelOperationSettings()

public UnaryCallSettings.Builder<CancelOperationRequest,Empty> cancelOperationSettings()

Returns the builder for the settings used for calls to cancel.

Returns
TypeDescription
Builder<CancelOperationRequest,Empty>

checkAutopilotCompatibilitySettings()

public UnaryCallSettings.Builder<CheckAutopilotCompatibilityRequest,CheckAutopilotCompatibilityResponse> checkAutopilotCompatibilitySettings()

Returns the builder for the settings used for calls to checkAutopilotCompatibility.

completeIPRotationSettings()

public UnaryCallSettings.Builder<CompleteIPRotationRequest,Operation> completeIPRotationSettings()

Returns the builder for the settings used for calls to completeIPRotation.

completeNodePoolUpgradeSettings()

public UnaryCallSettings.Builder<CompleteNodePoolUpgradeRequest,Empty> completeNodePoolUpgradeSettings()

Returns the builder for the settings used for calls to completeNodePoolUpgrade.

createClusterSettings()

public UnaryCallSettings.Builder<CreateClusterRequest,Operation> createClusterSettings()

Returns the builder for the settings used for calls to createCluster.

Returns
TypeDescription
Builder<CreateClusterRequest,Operation>

createNodePoolSettings()

public UnaryCallSettings.Builder<CreateNodePoolRequest,Operation> createNodePoolSettings()

Returns the builder for the settings used for calls to createNodePool.

Returns
TypeDescription
Builder<CreateNodePoolRequest,Operation>

deleteClusterSettings()

public UnaryCallSettings.Builder<DeleteClusterRequest,Operation> deleteClusterSettings()

Returns the builder for the settings used for calls to deleteCluster.

Returns
TypeDescription
Builder<DeleteClusterRequest,Operation>

deleteNodePoolSettings()

public UnaryCallSettings.Builder<DeleteNodePoolRequest,Operation> deleteNodePoolSettings()

Returns the builder for the settings used for calls to deleteNodePool.

Returns
TypeDescription
Builder<DeleteNodePoolRequest,Operation>

getClusterSettings()

public UnaryCallSettings.Builder<GetClusterRequest,Cluster> getClusterSettings()

Returns the builder for the settings used for calls to getCluster.

Returns
TypeDescription
Builder<GetClusterRequest,Cluster>

getJSONWebKeysSettings()

public UnaryCallSettings.Builder<GetJSONWebKeysRequest,GetJSONWebKeysResponse> getJSONWebKeysSettings()

Returns the builder for the settings used for calls to getJSONWebKeys.

getNodePoolSettings()

public UnaryCallSettings.Builder<GetNodePoolRequest,NodePool> getNodePoolSettings()

Returns the builder for the settings used for calls to getNodePool.

Returns
TypeDescription
Builder<GetNodePoolRequest,NodePool>

getOperationSettings()

public UnaryCallSettings.Builder<GetOperationRequest,Operation> getOperationSettings()

Returns the builder for the settings used for calls to get.

Returns
TypeDescription
Builder<GetOperationRequest,Operation>

getServerConfigSettings()

public UnaryCallSettings.Builder<GetServerConfigRequest,ServerConfig> getServerConfigSettings()

Returns the builder for the settings used for calls to getServerConfig.

getStubSettingsBuilder()

public ClusterManagerStubSettings.Builder getStubSettingsBuilder()

listClustersSettings()

public UnaryCallSettings.Builder<ListClustersRequest,ListClustersResponse> listClustersSettings()

Returns the builder for the settings used for calls to listClusters.

listNodePoolsSettings()

public UnaryCallSettings.Builder<ListNodePoolsRequest,ListNodePoolsResponse> listNodePoolsSettings()

Returns the builder for the settings used for calls to listNodePools.

listOperationsSettings()

public UnaryCallSettings.Builder<ListOperationsRequest,ListOperationsResponse> listOperationsSettings()

Returns the builder for the settings used for calls to listOperations.

listUsableSubnetworksSettings()

public PagedCallSettings.Builder<ListUsableSubnetworksRequest,ListUsableSubnetworksResponse,ClusterManagerClient.ListUsableSubnetworksPagedResponse> listUsableSubnetworksSettings()

Returns the builder for the settings used for calls to listUsableSubnetworks.

rollbackNodePoolUpgradeSettings()

public UnaryCallSettings.Builder<RollbackNodePoolUpgradeRequest,Operation> rollbackNodePoolUpgradeSettings()

Returns the builder for the settings used for calls to rollbackNodePoolUpgrade.

setAddonsConfigSettings()

public UnaryCallSettings.Builder<SetAddonsConfigRequest,Operation> setAddonsConfigSettings()

Returns the builder for the settings used for calls to setAddonsConfig.

setLabelsSettings()

public UnaryCallSettings.Builder<SetLabelsRequest,Operation> setLabelsSettings()

Returns the builder for the settings used for calls to setLabels.

Returns
TypeDescription
Builder<SetLabelsRequest,Operation>

setLegacyAbacSettings()

public UnaryCallSettings.Builder<SetLegacyAbacRequest,Operation> setLegacyAbacSettings()

Returns the builder for the settings used for calls to setLegacyAbac.

Returns
TypeDescription
Builder<SetLegacyAbacRequest,Operation>

setLocationsSettings() (deprecated)

public UnaryCallSettings.Builder<SetLocationsRequest,Operation> setLocationsSettings()

Deprecated. This method is deprecated and will be removed in the next major version update.

Returns the builder for the settings used for calls to setLocations.

Returns
TypeDescription
Builder<SetLocationsRequest,Operation>

setLoggingServiceSettings()

public UnaryCallSettings.Builder<SetLoggingServiceRequest,Operation> setLoggingServiceSettings()

Returns the builder for the settings used for calls to setLoggingService.

setMaintenancePolicySettings()

public UnaryCallSettings.Builder<SetMaintenancePolicyRequest,Operation> setMaintenancePolicySettings()

Returns the builder for the settings used for calls to setMaintenancePolicy.

setMasterAuthSettings()

public UnaryCallSettings.Builder<SetMasterAuthRequest,Operation> setMasterAuthSettings()

Returns the builder for the settings used for calls to setMasterAuth.

Returns
TypeDescription
Builder<SetMasterAuthRequest,Operation>

setMonitoringServiceSettings()

public UnaryCallSettings.Builder<SetMonitoringServiceRequest,Operation> setMonitoringServiceSettings()

Returns the builder for the settings used for calls to setMonitoringService.

setNetworkPolicySettings()

public UnaryCallSettings.Builder<SetNetworkPolicyRequest,Operation> setNetworkPolicySettings()

Returns the builder for the settings used for calls to setNetworkPolicy.

setNodePoolAutoscalingSettings()

public UnaryCallSettings.Builder<SetNodePoolAutoscalingRequest,Operation> setNodePoolAutoscalingSettings()

Returns the builder for the settings used for calls to setNodePoolAutoscaling.

setNodePoolManagementSettings()

public UnaryCallSettings.Builder<SetNodePoolManagementRequest,Operation> setNodePoolManagementSettings()

Returns the builder for the settings used for calls to setNodePoolManagement.

setNodePoolSizeSettings()

public UnaryCallSettings.Builder<SetNodePoolSizeRequest,Operation> setNodePoolSizeSettings()

Returns the builder for the settings used for calls to setNodePoolSize.

startIPRotationSettings()

public UnaryCallSettings.Builder<StartIPRotationRequest,Operation> startIPRotationSettings()

Returns the builder for the settings used for calls to startIPRotation.

updateClusterSettings()

public UnaryCallSettings.Builder<UpdateClusterRequest,Operation> updateClusterSettings()

Returns the builder for the settings used for calls to updateCluster.

Returns
TypeDescription
Builder<UpdateClusterRequest,Operation>

updateMasterSettings()

public UnaryCallSettings.Builder<UpdateMasterRequest,Operation> updateMasterSettings()

Returns the builder for the settings used for calls to updateMaster.

Returns
TypeDescription
Builder<UpdateMasterRequest,Operation>

updateNodePoolSettings()

public UnaryCallSettings.Builder<UpdateNodePoolRequest,Operation> updateNodePoolSettings()

Returns the builder for the settings used for calls to updateNodePool.

Returns
TypeDescription
Builder<UpdateNodePoolRequest,Operation>