Class RegionsServiceStubSettings.Builder (0.3.0)

public static class RegionsServiceStubSettings.Builder extends StubSettings.Builder<RegionsServiceStubSettings,RegionsServiceStubSettings.Builder>

Builder for RegionsServiceStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > RegionsServiceStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(RegionsServiceStubSettings settings)

protected Builder(RegionsServiceStubSettings settings)
Parameter
Name Description
settings RegionsServiceStubSettings

Methods

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

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

build()

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

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>

unaryMethodSettingsBuilders()

public ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
Returns
Type Description
com.google.common.collect.ImmutableList<Builder<?,?>>

updateRegionSettings()

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

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

Returns
Type Description
Builder<UpdateRegionRequest,Region>