Class ClusterControllerSettings.Builder (4.11.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
NameDescription
clientContextClientContext

Builder(ClusterControllerSettings settings)

protected Builder(ClusterControllerSettings settings)
Parameter
NameDescription
settingsClusterControllerSettings

Builder(ClusterControllerStubSettings.Builder stubSettings)

protected Builder(ClusterControllerStubSettings.Builder stubSettings)
Parameter
NameDescription
stubSettingsClusterControllerStubSettings.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
NameDescription
settingsUpdaterApiFunction<Builder<?,?>,java.lang.Void>
Returns
TypeDescription
ClusterControllerSettings.Builder

build()

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

getStubSettingsBuilder()

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

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>

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>

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>