Class ClusterControllerStubSettings.Builder (4.30.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
NameDescription
clientContextClientContext

Builder(ClusterControllerStubSettings settings)

protected Builder(ClusterControllerStubSettings settings)
Parameter
NameDescription
settingsClusterControllerStubSettings

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
NameDescription
settingsUpdaterApiFunction<Builder<?,?>,java.lang.Void>
Returns
TypeDescription
ClusterControllerStubSettings.Builder

build()

public ClusterControllerStubSettings build()
Returns
TypeDescription
ClusterControllerStubSettings
Overrides
Exceptions
TypeDescription
IOException

createClusterOperationSettings()

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

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

Returns
TypeDescription
Builder<CreateClusterRequest,Cluster,ClusterOperationMetadata>

createClusterSettings()

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

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

Returns
TypeDescription
Builder<CreateClusterRequest,Operation>

deleteClusterOperationSettings()

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

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

Returns
TypeDescription
Builder<DeleteClusterRequest,Empty,ClusterOperationMetadata>

deleteClusterSettings()

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

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

Returns
TypeDescription
Builder<DeleteClusterRequest,Operation>

diagnoseClusterOperationSettings()

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

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

Returns
TypeDescription
Builder<DiagnoseClusterRequest,DiagnoseClusterResults,ClusterOperationMetadata>

diagnoseClusterSettings()

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

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

Returns
TypeDescription
Builder<DiagnoseClusterRequest,Operation>

getClusterSettings()

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

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

Returns
TypeDescription
Builder<GetClusterRequest,Cluster>

getIamPolicySettings()

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

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

Returns
TypeDescription
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
TypeDescription
Builder<ListClustersRequest,ListClustersResponse,ListClustersPagedResponse>

setIamPolicySettings()

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

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

Returns
TypeDescription
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
TypeDescription
Builder<StartClusterRequest,Cluster,ClusterOperationMetadata>

startClusterSettings()

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

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

Returns
TypeDescription
Builder<StartClusterRequest,Operation>

stopClusterOperationSettings()

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

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

Returns
TypeDescription
Builder<StopClusterRequest,Cluster,ClusterOperationMetadata>

stopClusterSettings()

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

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

Returns
TypeDescription
Builder<StopClusterRequest,Operation>

testIamPermissionsSettings()

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

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

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

unaryMethodSettingsBuilders()

public ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
Returns
TypeDescription
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
TypeDescription
Builder<UpdateClusterRequest,Cluster,ClusterOperationMetadata>

updateClusterSettings()

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

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

Returns
TypeDescription
Builder<UpdateClusterRequest,Operation>