Class ClusterControllerStubSettings.Builder (4.39.0)

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

Builder for ClusterControllerStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > ClusterControllerStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(ClusterControllerStubSettings settings)

protected Builder(ClusterControllerStubSettings settings)
Parameter
Name Description
settings ClusterControllerStubSettings

Methods

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

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

build()

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

createClusterOperationSettings()

public OperationCallSettings.Builder<CreateClusterRequest,Cluster,ClusterOperationMetadata> createClusterOperationSettings()

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

Returns
Type Description
Builder<CreateClusterRequest,Cluster,ClusterOperationMetadata>

createClusterSettings()

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

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

Returns
Type Description
Builder<CreateClusterRequest,Operation>

deleteClusterOperationSettings()

public OperationCallSettings.Builder<DeleteClusterRequest,Empty,ClusterOperationMetadata> deleteClusterOperationSettings()

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

Returns
Type Description
Builder<DeleteClusterRequest,Empty,ClusterOperationMetadata>

deleteClusterSettings()

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

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

Returns
Type Description
Builder<DeleteClusterRequest,Operation>

diagnoseClusterOperationSettings()

public OperationCallSettings.Builder<DiagnoseClusterRequest,DiagnoseClusterResults,ClusterOperationMetadata> diagnoseClusterOperationSettings()

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

Returns
Type Description
Builder<DiagnoseClusterRequest,DiagnoseClusterResults,ClusterOperationMetadata>

diagnoseClusterSettings()

public UnaryCallSettings.Builder<DiagnoseClusterRequest,Operation> diagnoseClusterSettings()

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

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

getIamPolicySettings()

public UnaryCallSettings.Builder<GetIamPolicyRequest,Policy> getIamPolicySettings()

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

Returns
Type Description
Builder<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy>

listClustersSettings()

public PagedCallSettings.Builder<ListClustersRequest,ListClustersResponse,ClusterControllerClient.ListClustersPagedResponse> listClustersSettings()

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

Returns
Type Description
Builder<ListClustersRequest,ListClustersResponse,ListClustersPagedResponse>

setIamPolicySettings()

public UnaryCallSettings.Builder<SetIamPolicyRequest,Policy> setIamPolicySettings()

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

Returns
Type Description
Builder<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy>

startClusterOperationSettings()

public OperationCallSettings.Builder<StartClusterRequest,Cluster,ClusterOperationMetadata> startClusterOperationSettings()

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

Returns
Type Description
Builder<StartClusterRequest,Cluster,ClusterOperationMetadata>

startClusterSettings()

public UnaryCallSettings.Builder<StartClusterRequest,Operation> startClusterSettings()

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

Returns
Type Description
Builder<StartClusterRequest,Operation>

stopClusterOperationSettings()

public OperationCallSettings.Builder<StopClusterRequest,Cluster,ClusterOperationMetadata> stopClusterOperationSettings()

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

Returns
Type Description
Builder<StopClusterRequest,Cluster,ClusterOperationMetadata>

stopClusterSettings()

public UnaryCallSettings.Builder<StopClusterRequest,Operation> stopClusterSettings()

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

Returns
Type Description
Builder<StopClusterRequest,Operation>

testIamPermissionsSettings()

public UnaryCallSettings.Builder<TestIamPermissionsRequest,TestIamPermissionsResponse> testIamPermissionsSettings()

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

Returns
Type Description
Builder<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse>

unaryMethodSettingsBuilders()

public ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
Returns
Type Description
com.google.common.collect.ImmutableList<Builder<?,?>>

updateClusterOperationSettings()

public OperationCallSettings.Builder<UpdateClusterRequest,Cluster,ClusterOperationMetadata> updateClusterOperationSettings()

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

Returns
Type Description
Builder<UpdateClusterRequest,Cluster,ClusterOperationMetadata>

updateClusterSettings()

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

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

Returns
Type Description
Builder<UpdateClusterRequest,Operation>