Class ZonesStubSettings.Builder (1.20.0)

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

Builder for ZonesStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > ZonesStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Builder(ZonesStubSettings settings)

protected Builder(ZonesStubSettings settings)
Parameter
NameDescription
settingsZonesStubSettings

Methods

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

public ZonesStubSettings.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
NameDescription
settingsUpdaterApiFunction<Builder<?,?>,java.lang.Void>
Returns
TypeDescription
ZonesStubSettings.Builder

build()

public ZonesStubSettings build()
Returns
TypeDescription
ZonesStubSettings
Overrides Exceptions
TypeDescription
IOException

getSettings()

public UnaryCallSettings.Builder<GetZoneRequest,Zone> getSettings()

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

Returns
TypeDescription
Builder<GetZoneRequest,Zone>

listSettings()

public PagedCallSettings.Builder<ListZonesRequest,ZoneList,ZonesClient.ListPagedResponse> listSettings()

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

Returns
TypeDescription
Builder<ListZonesRequest,ZoneList,ListPagedResponse>

unaryMethodSettingsBuilders()

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