Class AccountTaxServiceStubSettings.Builder (0.9.0)

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

Builder for AccountTaxServiceStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > AccountTaxServiceStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(AccountTaxServiceStubSettings settings)

protected Builder(AccountTaxServiceStubSettings settings)
Parameter
Name Description
settings AccountTaxServiceStubSettings

Methods

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

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

build()

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

getAccountTaxSettings()

public UnaryCallSettings.Builder<GetAccountTaxRequest,AccountTax> getAccountTaxSettings()

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

Returns
Type Description
Builder<GetAccountTaxRequest,AccountTax>

listAccountTaxSettings()

public PagedCallSettings.Builder<ListAccountTaxRequest,ListAccountTaxResponse,AccountTaxServiceClient.ListAccountTaxPagedResponse> listAccountTaxSettings()

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

Returns
Type Description
Builder<ListAccountTaxRequest,ListAccountTaxResponse,ListAccountTaxPagedResponse>

unaryMethodSettingsBuilders()

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

updateAccountTaxSettings()

public UnaryCallSettings.Builder<UpdateAccountTaxRequest,AccountTax> updateAccountTaxSettings()

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

Returns
Type Description
Builder<UpdateAccountTaxRequest,AccountTax>