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

Builder(RegionOperationsSettings settings)

protected Builder(RegionOperationsSettings settings)
Parameter
Name Description
settings RegionOperationsSettings

Builder(RegionOperationsStubSettings.Builder stubSettings)

protected Builder(RegionOperationsStubSettings.Builder stubSettings)
Parameter
Name Description
stubSettings RegionOperationsStubSettings.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
Name Description
settingsUpdater ApiFunction<Builder<?,?>,java.lang.Void>
Returns
Type Description
RegionOperationsSettings.Builder

build()

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

getStubSettingsBuilder()

public RegionOperationsStubSettings.Builder getStubSettingsBuilder()
Returns
Type Description
RegionOperationsStubSettings.Builder

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>

waitSettings()

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

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

Returns
Type Description
Builder<WaitRegionOperationRequest,Operation>