Class HypercomputeClusterStubSettings.Builder (0.1.0)

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

Builder for HypercomputeClusterStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > HypercomputeClusterStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(HypercomputeClusterStubSettings settings)

protected Builder(HypercomputeClusterStubSettings settings)
Parameter
Name Description
settings HypercomputeClusterStubSettings

Methods

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

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

build()

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

createClusterOperationSettings()

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

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

Returns
Type Description
Builder<CreateClusterRequest,Cluster,OperationMetadata>

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,OperationMetadata> deleteClusterOperationSettings()

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

Returns
Type Description
Builder<DeleteClusterRequest,Empty,OperationMetadata>

deleteClusterSettings()

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

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

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

getLocationSettings()

public UnaryCallSettings.Builder<GetLocationRequest,Location> getLocationSettings()

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

Returns
Type Description
Builder<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location>

listClustersSettings()

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

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

Returns
Type Description
Builder<ListClustersRequest,ListClustersResponse,ListClustersPagedResponse>

listLocationsSettings()

public PagedCallSettings.Builder<ListLocationsRequest,ListLocationsResponse,HypercomputeClusterClient.ListLocationsPagedResponse> listLocationsSettings()

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

Returns
Type Description
Builder<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse,ListLocationsPagedResponse>

unaryMethodSettingsBuilders()

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

updateClusterOperationSettings()

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

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

Returns
Type Description
Builder<UpdateClusterRequest,Cluster,OperationMetadata>

updateClusterSettings()

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

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

Returns
Type Description
Builder<UpdateClusterRequest,Operation>