Class ZoneOperationsStubSettings.Builder (1.46.0)

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

Builder for ZoneOperationsStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > ZoneOperationsStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Builder(ZoneOperationsStubSettings settings)

protected Builder(ZoneOperationsStubSettings settings)
Parameter
NameDescription
settingsZoneOperationsStubSettings

Methods

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

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

build()

public ZoneOperationsStubSettings build()
Returns
TypeDescription
ZoneOperationsStubSettings
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>

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<GetZoneOperationRequest,Operation> getSettings()

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

Returns
TypeDescription
Builder<GetZoneOperationRequest,Operation>

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>

unaryMethodSettingsBuilders()

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

waitSettings()

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

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

Returns
TypeDescription
Builder<WaitZoneOperationRequest,Operation>