Class GlobalAddressesSettings.Builder (1.54.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
Name Description
clientContext ClientContext

Builder(GlobalAddressesSettings settings)

protected Builder(GlobalAddressesSettings settings)
Parameter
Name Description
settings GlobalAddressesSettings

Builder(GlobalAddressesStubSettings.Builder stubSettings)

protected Builder(GlobalAddressesStubSettings.Builder stubSettings)
Parameter
Name Description
stubSettings GlobalAddressesStubSettings.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
Name Description
settingsUpdater ApiFunction<Builder<?,?>,java.lang.Void>
Returns
Type Description
GlobalAddressesSettings.Builder

build()

public GlobalAddressesSettings build()
Returns
Type Description
GlobalAddressesSettings
Overrides
Exceptions
Type Description
IOException

deleteOperationSettings()

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

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

Returns
Type Description
Builder<DeleteGlobalAddressRequest,Operation,Operation>

deleteSettings()

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

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

Returns
Type Description
Builder<DeleteGlobalAddressRequest,Operation>

getSettings()

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

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

Returns
Type Description
Builder<GetGlobalAddressRequest,Address>

getStubSettingsBuilder()

public GlobalAddressesStubSettings.Builder getStubSettingsBuilder()
Returns
Type Description
GlobalAddressesStubSettings.Builder

insertOperationSettings()

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

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

Returns
Type Description
Builder<InsertGlobalAddressRequest,Operation,Operation>

insertSettings()

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

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

Returns
Type Description
Builder<InsertGlobalAddressRequest,Operation>

listSettings()

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

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

Returns
Type Description
Builder<ListGlobalAddressesRequest,AddressList,ListPagedResponse>

moveOperationSettings()

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

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

Returns
Type Description
Builder<MoveGlobalAddressRequest,Operation,Operation>

moveSettings()

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

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

Returns
Type Description
Builder<MoveGlobalAddressRequest,Operation>

setLabelsOperationSettings()

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

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

Returns
Type Description
Builder<SetLabelsGlobalAddressRequest,Operation,Operation>

setLabelsSettings()

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

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

Returns
Type Description
Builder<SetLabelsGlobalAddressRequest,Operation>