Class ClusterManagerSettings.Builder (2.7.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

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

completeIPRotationSettings()

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

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

Returns

completeNodePoolUpgradeSettings()

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

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

Returns

createClusterSettings()

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

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

Returns

createNodePoolSettings()

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

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

Returns

deleteClusterSettings()

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

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

Returns

deleteNodePoolSettings()

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

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

Returns

getClusterSettings()

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

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

Returns

getJSONWebKeysSettings()

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

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

Returns

getNodePoolSettings()

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

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

Returns

getOperationSettings()

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

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

Returns

getServerConfigSettings()

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

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

Returns

getStubSettingsBuilder()

public ClusterManagerStubSettings.Builder getStubSettingsBuilder()
Returns

listClustersSettings()

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

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

Returns

listLocationsSettings()

public UnaryCallSettings.Builder<ListLocationsRequest,ListLocationsResponse> listLocationsSettings()

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

Returns

listNodePoolsSettings()

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

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

Returns

listOperationsSettings()

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

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

Returns

listUsableSubnetworksSettings()

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

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

Returns

rollbackNodePoolUpgradeSettings()

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

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

Returns

setAddonsConfigSettings()

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

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

Returns

setLabelsSettings()

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

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

Returns

setLegacyAbacSettings()

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

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

Returns

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

setLoggingServiceSettings()

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

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

Returns

setMaintenancePolicySettings()

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

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

Returns

setMasterAuthSettings()

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

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

Returns

setMonitoringServiceSettings()

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

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

Returns

setNetworkPolicySettings()

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

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

Returns

setNodePoolAutoscalingSettings()

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

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

Returns

setNodePoolManagementSettings()

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

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

Returns

setNodePoolSizeSettings()

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

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

Returns

startIPRotationSettings()

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

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

Returns

updateClusterSettings()

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

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

Returns

updateMasterSettings()

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

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

Returns

updateNodePoolSettings()

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

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

Returns