Class ClusterControllerSettings.Builder (4.42.0)

public static class ClusterControllerSettings.Builder extends ClientSettings.Builder<ClusterControllerSettings,ClusterControllerSettings.Builder>

Builder for ClusterControllerSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > ClusterControllerSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(ClusterControllerSettings settings)

protected Builder(ClusterControllerSettings settings)
Parameter
Name Description
settings ClusterControllerSettings

Builder(ClusterControllerStubSettings.Builder stubSettings)

protected Builder(ClusterControllerStubSettings.Builder stubSettings)
Parameter
Name Description
stubSettings ClusterControllerStubSettings.Builder

Methods

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

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

build()

public ClusterControllerSettings build()
Returns
Type Description
ClusterControllerSettings
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>

getStubSettingsBuilder()

public ClusterControllerStubSettings.Builder getStubSettingsBuilder()
Returns
Type Description
ClusterControllerStubSettings.Builder

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>

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>