Class ZonesStubSettings.Builder (1.44.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

getEndpoint()

public String getEndpoint()

Returns the endpoint set by the user or the the service's default endpoint.

Returns
TypeDescription
String
Overrides

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<?,?>>