Class RegionsServiceSettings.Builder (0.5.0)

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

Builder for RegionsServiceSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > RegionsServiceSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(RegionsServiceSettings settings)

protected Builder(RegionsServiceSettings settings)
Parameter
Name Description
settings RegionsServiceSettings

Builder(RegionsServiceStubSettings.Builder stubSettings)

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

Methods

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

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

build()

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

createRegionSettings()

public UnaryCallSettings.Builder<CreateRegionRequest,Region> createRegionSettings()

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

Returns
Type Description
Builder<CreateRegionRequest,Region>

deleteRegionSettings()

public UnaryCallSettings.Builder<DeleteRegionRequest,Empty> deleteRegionSettings()

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

Returns
Type Description
Builder<DeleteRegionRequest,Empty>

getRegionSettings()

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

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

Returns
Type Description
Builder<GetRegionRequest,Region>

getStubSettingsBuilder()

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

listRegionsSettings()

public PagedCallSettings.Builder<ListRegionsRequest,ListRegionsResponse,RegionsServiceClient.ListRegionsPagedResponse> listRegionsSettings()

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

Returns
Type Description
Builder<ListRegionsRequest,ListRegionsResponse,ListRegionsPagedResponse>

updateRegionSettings()

public UnaryCallSettings.Builder<UpdateRegionRequest,Region> updateRegionSettings()

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

Returns
Type Description
Builder<UpdateRegionRequest,Region>