Class ZonesStubSettings.Builder (1.54.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
Name Description
clientContext ClientContext

Builder(ZonesStubSettings settings)

protected Builder(ZonesStubSettings settings)
Parameter
Name Description
settings ZonesStubSettings

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
Name Description
settingsUpdater ApiFunction<Builder<?,?>,java.lang.Void>
Returns
Type Description
ZonesStubSettings.Builder

build()

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

getSettings()

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

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

Returns
Type Description
Builder<GetZoneRequest,Zone>

listSettings()

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

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

Returns
Type Description
Builder<ListZonesRequest,ZoneList,ListPagedResponse>

unaryMethodSettingsBuilders()

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