Class ClusterManagerStubSettings.Builder (2.22.0)

public static class ClusterManagerStubSettings.Builder extends StubSettings.Builder<ClusterManagerStubSettings,ClusterManagerStubSettings.Builder>

Builder for ClusterManagerStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > ClusterManagerStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Builder(ClusterManagerStubSettings settings)

protected Builder(ClusterManagerStubSettings settings)
Parameter
NameDescription
settingsClusterManagerStubSettings

Methods

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

public ClusterManagerStubSettings.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
ClusterManagerStubSettings.Builder

build()

public ClusterManagerStubSettings build()
Returns
TypeDescription
ClusterManagerStubSettings
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.

Returns
TypeDescription
Builder<CheckAutopilotCompatibilityRequest,CheckAutopilotCompatibilityResponse>

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.