Class RegionsSettings.Builder (1.56.0)

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

Builder for RegionsSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > RegionsSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(RegionsSettings settings)

protected Builder(RegionsSettings settings)
Parameter
Name Description
settings RegionsSettings

Builder(RegionsStubSettings.Builder stubSettings)

protected Builder(RegionsStubSettings.Builder stubSettings)
Parameter
Name Description
stubSettings RegionsStubSettings.Builder

Methods

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

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

build()

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

getSettings()

public UnaryCallSettings.Builder<GetRegionRequest,Region> getSettings()

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

Returns
Type Description
Builder<GetRegionRequest,Region>

getStubSettingsBuilder()

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

listSettings()

public PagedCallSettings.Builder<ListRegionsRequest,RegionList,RegionsClient.ListPagedResponse> listSettings()

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

Returns
Type Description
Builder<ListRegionsRequest,RegionList,ListPagedResponse>