Class GlobalAddressesSettings.Builder (1.24.0)

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.

deleteSettings()

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

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

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()

insertOperationSettings()

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

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

insertSettings()

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

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

listSettings()

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

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

setLabelsOperationSettings()

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

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

setLabelsSettings()

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

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