Class GlobalAddressesSettings.Builder (1.7.2)

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

Builder for GlobalAddressesSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > GlobalAddressesSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Builder(GlobalAddressesSettings settings)

protected Builder(GlobalAddressesSettings settings)
Parameter
NameDescription
settingsGlobalAddressesSettings

Builder(GlobalAddressesStubSettings.Builder stubSettings)

protected Builder(GlobalAddressesStubSettings.Builder stubSettings)
Parameter
NameDescription
stubSettingsGlobalAddressesStubSettings.Builder

Methods

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

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

build()

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

getStubSettingsBuilder()

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

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>