Class AddressesStubSettings.Builder (1.52.0)

public static class AddressesStubSettings.Builder extends StubSettings.Builder<AddressesStubSettings,AddressesStubSettings.Builder>

Builder for AddressesStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > AddressesStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(AddressesStubSettings settings)

protected Builder(AddressesStubSettings settings)
Parameter
Name Description
settings AddressesStubSettings

Methods

aggregatedListSettings()

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

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

Returns
Type Description
Builder<AggregatedListAddressesRequest,AddressAggregatedList,AggregatedListPagedResponse>

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

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

build()

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

deleteOperationSettings()

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

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

Returns
Type Description
Builder<DeleteAddressRequest,Operation,Operation>

deleteSettings()

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

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

Returns
Type Description
Builder<DeleteAddressRequest,Operation>

getSettings()

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

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

Returns
Type Description
Builder<GetAddressRequest,Address>

insertOperationSettings()

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

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

Returns
Type Description
Builder<InsertAddressRequest,Operation,Operation>

insertSettings()

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

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

Returns
Type Description
Builder<InsertAddressRequest,Operation>

listSettings()

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

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

Returns
Type Description
Builder<ListAddressesRequest,AddressList,ListPagedResponse>

moveOperationSettings()

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

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

Returns
Type Description
Builder<MoveAddressRequest,Operation,Operation>

moveSettings()

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

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

Returns
Type Description
Builder<MoveAddressRequest,Operation>

setLabelsOperationSettings()

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

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

Returns
Type Description
Builder<SetLabelsAddressRequest,Operation,Operation>

setLabelsSettings()

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

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

Returns
Type Description
Builder<SetLabelsAddressRequest,Operation>

unaryMethodSettingsBuilders()

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