Class ClusterManagerSettings.Builder (2.45.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
Name Description
clientContext ClientContext

Builder(ClusterManagerSettings settings)

protected Builder(ClusterManagerSettings settings)
Parameter
Name Description
settings ClusterManagerSettings

Builder(ClusterManagerStubSettings.Builder stubSettings)

protected Builder(ClusterManagerStubSettings.Builder stubSettings)
Parameter
Name Description
stubSettings ClusterManagerStubSettings.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
Name Description
settingsUpdater ApiFunction<Builder<?,?>,java.lang.Void>
Returns
Type Description
ClusterManagerSettings.Builder

build()

public ClusterManagerSettings build()
Returns
Type Description
ClusterManagerSettings
Overrides
Exceptions
Type Description
IOException

cancelOperationSettings()

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

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

Returns
Type Description
Builder<CancelOperationRequest,Empty>

checkAutopilotCompatibilitySettings()

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

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

Returns
Type Description
Builder<CheckAutopilotCompatibilityRequest,CheckAutopilotCompatibilityResponse>

completeIPRotationSettings()

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

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

Returns
Type Description
Builder<CompleteIPRotationRequest,Operation>

completeNodePoolUpgradeSettings()

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

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

Returns
Type Description
Builder<CompleteNodePoolUpgradeRequest,Empty>

createClusterSettings()

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

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

Returns
Type Description
Builder<CreateClusterRequest,Operation>

createNodePoolSettings()

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

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

Returns
Type Description
Builder<CreateNodePoolRequest,Operation>

deleteClusterSettings()

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

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

Returns
Type Description
Builder<DeleteClusterRequest,Operation>

deleteNodePoolSettings()

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

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

Returns
Type Description
Builder<DeleteNodePoolRequest,Operation>

getClusterSettings()

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

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

Returns
Type Description
Builder<GetClusterRequest,Cluster>

getJSONWebKeysSettings()

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

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

Returns
Type Description
Builder<GetJSONWebKeysRequest,GetJSONWebKeysResponse>

getNodePoolSettings()

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

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

Returns
Type Description
Builder<GetNodePoolRequest,NodePool>

getOperationSettings()

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

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

Returns
Type Description
Builder<GetOperationRequest,Operation>

getServerConfigSettings()

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

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

Returns
Type Description
Builder<GetServerConfigRequest,ServerConfig>

getStubSettingsBuilder()

public ClusterManagerStubSettings.Builder getStubSettingsBuilder()
Returns
Type Description
ClusterManagerStubSettings.Builder

listClustersSettings()

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

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

Returns
Type Description
Builder<ListClustersRequest,ListClustersResponse>

listNodePoolsSettings()

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

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

Returns
Type Description
Builder<ListNodePoolsRequest,ListNodePoolsResponse>

listOperationsSettings()

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

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

Returns
Type Description
Builder<ListOperationsRequest,ListOperationsResponse>

listUsableSubnetworksSettings()

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

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

Returns
Type Description
Builder<ListUsableSubnetworksRequest,ListUsableSubnetworksResponse,ListUsableSubnetworksPagedResponse>

rollbackNodePoolUpgradeSettings()

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

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

Returns
Type Description
Builder<RollbackNodePoolUpgradeRequest,Operation>

setAddonsConfigSettings()

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

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

Returns
Type Description
Builder<SetAddonsConfigRequest,Operation>

setLabelsSettings()

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

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

Returns
Type Description
Builder<SetLabelsRequest,Operation>

setLegacyAbacSettings()

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

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

Returns
Type Description
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
Type Description
Builder<SetLocationsRequest,Operation>

setLoggingServiceSettings()

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

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

Returns
Type Description
Builder<SetLoggingServiceRequest,Operation>

setMaintenancePolicySettings()

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

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

Returns
Type Description
Builder<SetMaintenancePolicyRequest,Operation>

setMasterAuthSettings()

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

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

Returns
Type Description
Builder<SetMasterAuthRequest,Operation>

setMonitoringServiceSettings()

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

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

Returns
Type Description
Builder<SetMonitoringServiceRequest,Operation>

setNetworkPolicySettings()

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

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

Returns
Type Description
Builder<SetNetworkPolicyRequest,Operation>

setNodePoolAutoscalingSettings()

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

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

Returns
Type Description
Builder<SetNodePoolAutoscalingRequest,Operation>

setNodePoolManagementSettings()

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

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

Returns
Type Description
Builder<SetNodePoolManagementRequest,Operation>

setNodePoolSizeSettings()

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

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

Returns
Type Description
Builder<SetNodePoolSizeRequest,Operation>

startIPRotationSettings()

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

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

Returns
Type Description
Builder<StartIPRotationRequest,Operation>

updateClusterSettings()

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

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

Returns
Type Description
Builder<UpdateClusterRequest,Operation>

updateMasterSettings()

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

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

Returns
Type Description
Builder<UpdateMasterRequest,Operation>

updateNodePoolSettings()

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

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

Returns
Type Description
Builder<UpdateNodePoolRequest,Operation>