Class RegionOperationsSettings.Builder (1.21.0)

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

Builder for RegionOperationsSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > RegionOperationsSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Builder(RegionOperationsSettings settings)

protected Builder(RegionOperationsSettings settings)
Parameter
NameDescription
settingsRegionOperationsSettings

Builder(RegionOperationsStubSettings.Builder stubSettings)

protected Builder(RegionOperationsStubSettings.Builder stubSettings)
Parameter
NameDescription
stubSettingsRegionOperationsStubSettings.Builder

Methods

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

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

build()

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

getStubSettingsBuilder()

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

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>

waitSettings()

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

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

Returns
TypeDescription
Builder<WaitRegionOperationRequest,Operation>