Class RegionZonesStubSettings.Builder (1.54.0)

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

Builder for RegionZonesStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > RegionZonesStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(RegionZonesStubSettings settings)

protected Builder(RegionZonesStubSettings settings)
Parameter
Name Description
settings RegionZonesStubSettings

Methods

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

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

build()

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

listSettings()

public PagedCallSettings.Builder<ListRegionZonesRequest,ZoneList,RegionZonesClient.ListPagedResponse> listSettings()

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

Returns
Type Description
Builder<ListRegionZonesRequest,ZoneList,ListPagedResponse>

unaryMethodSettingsBuilders()

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