Class RegionOperationsStubSettings.Builder (1.59.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
Name Description
clientContext ClientContext

Builder(RegionOperationsStubSettings settings)

protected Builder(RegionOperationsStubSettings settings)
Parameter
Name Description
settings RegionOperationsStubSettings

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
Name Description
settingsUpdater ApiFunction<Builder<?,?>,java.lang.Void>
Returns
Type Description
RegionOperationsStubSettings.Builder

build()

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

deleteSettings()

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

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

Returns
Type Description
Builder<DeleteRegionOperationRequest,DeleteRegionOperationResponse>

getSettings()

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

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

Returns
Type Description
Builder<GetRegionOperationRequest,Operation>

listSettings()

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

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

Returns
Type Description
Builder<ListRegionOperationsRequest,OperationList,ListPagedResponse>

unaryMethodSettingsBuilders()

public ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
Returns
Type Description
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
Type Description
Builder<WaitRegionOperationRequest,Operation>