Class GlobalAddressesStubSettings.Builder (1.11.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>

unaryMethodSettingsBuilders()

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