Class AddressesSettings.Builder (1.29.0)

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

Builder for AddressesSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > AddressesSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Builder(AddressesSettings settings)

protected Builder(AddressesSettings settings)
Parameter
NameDescription
settingsAddressesSettings

Builder(AddressesStubSettings.Builder stubSettings)

protected Builder(AddressesStubSettings.Builder stubSettings)
Parameter
NameDescription
stubSettingsAddressesStubSettings.Builder

Methods

aggregatedListSettings()

public PagedCallSettings.Builder<AggregatedListAddressesRequest,AddressAggregatedList,AddressesClient.AggregatedListPagedResponse> aggregatedListSettings()

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

Returns
TypeDescription
Builder<AggregatedListAddressesRequest,AddressAggregatedList,AggregatedListPagedResponse>

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

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

build()

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

deleteOperationSettings()

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

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

Returns
TypeDescription
Builder<DeleteAddressRequest,Operation,Operation>

deleteSettings()

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

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

Returns
TypeDescription
Builder<DeleteAddressRequest,Operation>

getSettings()

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

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

Returns
TypeDescription
Builder<GetAddressRequest,Address>

getStubSettingsBuilder()

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

insertOperationSettings()

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

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

Returns
TypeDescription
Builder<InsertAddressRequest,Operation,Operation>

insertSettings()

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

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

Returns
TypeDescription
Builder<InsertAddressRequest,Operation>

listSettings()

public PagedCallSettings.Builder<ListAddressesRequest,AddressList,AddressesClient.ListPagedResponse> listSettings()

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

Returns
TypeDescription
Builder<ListAddressesRequest,AddressList,ListPagedResponse>

setLabelsOperationSettings()

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

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

Returns
TypeDescription
Builder<SetLabelsAddressRequest,Operation,Operation>

setLabelsSettings()

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

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

Returns
TypeDescription
Builder<SetLabelsAddressRequest,Operation>