Class ZonesSettings.Builder (1.64.0)

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

Builder for ZonesSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > ZonesSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(ZonesSettings settings)

protected Builder(ZonesSettings settings)
Parameter
Name Description
settings ZonesSettings

Builder(ZonesStubSettings.Builder stubSettings)

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

Methods

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

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

build()

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

getStubSettingsBuilder()

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

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>