Class ZoneOperationsSettings.Builder (1.12.1)

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

Builder for ZoneOperationsSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > ZoneOperationsSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Builder(ZoneOperationsSettings settings)

protected Builder(ZoneOperationsSettings settings)
Parameter
NameDescription
settingsZoneOperationsSettings

Builder(ZoneOperationsStubSettings.Builder stubSettings)

protected Builder(ZoneOperationsStubSettings.Builder stubSettings)
Parameter
NameDescription
stubSettingsZoneOperationsStubSettings.Builder

Methods

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

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

build()

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

deleteSettings()

public UnaryCallSettings.Builder<DeleteZoneOperationRequest,DeleteZoneOperationResponse> deleteSettings()

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

Returns
TypeDescription
Builder<DeleteZoneOperationRequest,DeleteZoneOperationResponse>

getSettings()

public UnaryCallSettings.Builder<GetZoneOperationRequest,Operation> getSettings()

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

Returns
TypeDescription
Builder<GetZoneOperationRequest,Operation>

getStubSettingsBuilder()

public ZoneOperationsStubSettings.Builder getStubSettingsBuilder()
Returns
TypeDescription
ZoneOperationsStubSettings.Builder

listSettings()

public PagedCallSettings.Builder<ListZoneOperationsRequest,OperationList,ZoneOperationsClient.ListPagedResponse> listSettings()

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

Returns
TypeDescription
Builder<ListZoneOperationsRequest,OperationList,ListPagedResponse>

waitSettings()

public UnaryCallSettings.Builder<WaitZoneOperationRequest,Operation> waitSettings()

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

Returns
TypeDescription
Builder<WaitZoneOperationRequest,Operation>