Class RegionOperationsStubSettings.Builder (1.40.0)

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

Builder for RegionOperationsStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > RegionOperationsStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Builder(RegionOperationsStubSettings settings)

protected Builder(RegionOperationsStubSettings settings)
Parameter
NameDescription
settingsRegionOperationsStubSettings

Methods

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

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

build()

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

deleteSettings()

public UnaryCallSettings.Builder<DeleteRegionOperationRequest,DeleteRegionOperationResponse> deleteSettings()

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

Returns
TypeDescription
Builder<DeleteRegionOperationRequest,DeleteRegionOperationResponse>

getSettings()

public UnaryCallSettings.Builder<GetRegionOperationRequest,Operation> getSettings()

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

Returns
TypeDescription
Builder<GetRegionOperationRequest,Operation>

listSettings()

public PagedCallSettings.Builder<ListRegionOperationsRequest,OperationList,RegionOperationsClient.ListPagedResponse> listSettings()

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

Returns
TypeDescription
Builder<ListRegionOperationsRequest,OperationList,ListPagedResponse>

unaryMethodSettingsBuilders()

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

waitSettings()

public UnaryCallSettings.Builder<WaitRegionOperationRequest,Operation> waitSettings()

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

Returns
TypeDescription
Builder<WaitRegionOperationRequest,Operation>