Class GlobalAddressesStubSettings.Builder (1.37.0)

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

Builder for GlobalAddressesStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > GlobalAddressesStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Builder(GlobalAddressesStubSettings settings)

protected Builder(GlobalAddressesStubSettings settings)
Parameter
NameDescription
settingsGlobalAddressesStubSettings

Methods

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

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

build()

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

deleteOperationSettings()

public OperationCallSettings.Builder<DeleteGlobalAddressRequest,Operation,Operation> deleteOperationSettings()

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

Returns
TypeDescription
Builder<DeleteGlobalAddressRequest,Operation,Operation>

deleteSettings()

public UnaryCallSettings.Builder<DeleteGlobalAddressRequest,Operation> deleteSettings()

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

Returns
TypeDescription
Builder<DeleteGlobalAddressRequest,Operation>

getSettings()

public UnaryCallSettings.Builder<GetGlobalAddressRequest,Address> getSettings()

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

Returns
TypeDescription
Builder<GetGlobalAddressRequest,Address>

insertOperationSettings()

public OperationCallSettings.Builder<InsertGlobalAddressRequest,Operation,Operation> insertOperationSettings()

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

Returns
TypeDescription
Builder<InsertGlobalAddressRequest,Operation,Operation>

insertSettings()

public UnaryCallSettings.Builder<InsertGlobalAddressRequest,Operation> insertSettings()

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

Returns
TypeDescription
Builder<InsertGlobalAddressRequest,Operation>

listSettings()

public PagedCallSettings.Builder<ListGlobalAddressesRequest,AddressList,GlobalAddressesClient.ListPagedResponse> listSettings()

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

Returns
TypeDescription
Builder<ListGlobalAddressesRequest,AddressList,ListPagedResponse>

moveOperationSettings()

public OperationCallSettings.Builder<MoveGlobalAddressRequest,Operation,Operation> moveOperationSettings()

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

Returns
TypeDescription
Builder<MoveGlobalAddressRequest,Operation,Operation>

moveSettings()

public UnaryCallSettings.Builder<MoveGlobalAddressRequest,Operation> moveSettings()

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

Returns
TypeDescription
Builder<MoveGlobalAddressRequest,Operation>

setLabelsOperationSettings()

public OperationCallSettings.Builder<SetLabelsGlobalAddressRequest,Operation,Operation> setLabelsOperationSettings()

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

Returns
TypeDescription
Builder<SetLabelsGlobalAddressRequest,Operation,Operation>

setLabelsSettings()

public UnaryCallSettings.Builder<SetLabelsGlobalAddressRequest,Operation> setLabelsSettings()

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

Returns
TypeDescription
Builder<SetLabelsGlobalAddressRequest,Operation>

unaryMethodSettingsBuilders()

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