Class AddressesStubSettings.Builder (1.18.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
NameDescription
clientContextClientContext

Builder(AddressesStubSettings settings)

protected Builder(AddressesStubSettings settings)
Parameter
NameDescription
settingsAddressesStubSettings

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 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
NameDescription
settingsUpdaterApiFunction<Builder<?,?>,java.lang.Void>
Returns
TypeDescription
AddressesStubSettings.Builder

build()

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

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>

unaryMethodSettingsBuilders()

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