Class AccountTaxServiceSettings.Builder (0.8.0)

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

Builder for AccountTaxServiceSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > AccountTaxServiceSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(AccountTaxServiceSettings settings)

protected Builder(AccountTaxServiceSettings settings)
Parameter
Name Description
settings AccountTaxServiceSettings

Builder(AccountTaxServiceStubSettings.Builder stubSettings)

protected Builder(AccountTaxServiceStubSettings.Builder stubSettings)
Parameter
Name Description
stubSettings AccountTaxServiceStubSettings.Builder

Methods

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

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

build()

public AccountTaxServiceSettings build()
Returns
Type Description
AccountTaxServiceSettings
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>

getStubSettingsBuilder()

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

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>

updateAccountTaxSettings()

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

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

Returns
Type Description
Builder<UpdateAccountTaxRequest,AccountTax>