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

completeIPRotationSettings()

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

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

Returns
TypeDescription
Builder<CompleteIPRotationRequest,Operation>

completeNodePoolUpgradeSettings()

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

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

Returns
TypeDescription
Builder<CompleteNodePoolUpgradeRequest,Empty>

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.

Returns
TypeDescription
Builder<GetJSONWebKeysRequest,GetJSONWebKeysResponse>

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.

Returns
TypeDescription
Builder<GetServerConfigRequest,ServerConfig>

getStubSettingsBuilder()

public ClusterManagerStubSettings.Builder getStubSettingsBuilder()
Returns
TypeDescription
ClusterManagerStubSettings.Builder

listClustersSettings()

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

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

Returns
TypeDescription
Builder<ListClustersRequest,ListClustersResponse>

listLocationsSettings()

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

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

Returns
TypeDescription
Builder<ListLocationsRequest,ListLocationsResponse>

listNodePoolsSettings()

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

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

Returns
TypeDescription
Builder<ListNodePoolsRequest,ListNodePoolsResponse>

listOperationsSettings()

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

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

Returns
TypeDescription
Builder<ListOperationsRequest,ListOperationsResponse>

listUsableSubnetworksSettings()

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

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

Returns
TypeDescription
Builder<ListUsableSubnetworksRequest,ListUsableSubnetworksResponse,ListUsableSubnetworksPagedResponse>

rollbackNodePoolUpgradeSettings()

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

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

Returns
TypeDescription
Builder<RollbackNodePoolUpgradeRequest,Operation>

setAddonsConfigSettings()

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

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

Returns
TypeDescription
Builder<SetAddonsConfigRequest,Operation>

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<