Class AccountsServiceSettings.Builder (0.17.0)

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

Builder for AccountsServiceSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > AccountsServiceSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(AccountsServiceSettings settings)

protected Builder(AccountsServiceSettings settings)
Parameter
Name Description
settings AccountsServiceSettings

Builder(AccountsServiceStubSettings.Builder stubSettings)

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

Methods

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

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

build()

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

getAccountSettings()

public UnaryCallSettings.Builder<GetAccountRequest,Account> getAccountSettings()

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

Returns
Type Description
Builder<GetAccountRequest,Account>

getStubSettingsBuilder()

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

listChildAccountsSettings()

public PagedCallSettings.Builder<ListChildAccountsRequest,ListChildAccountsResponse,AccountsServiceClient.ListChildAccountsPagedResponse> listChildAccountsSettings()

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

Returns
Type Description
Builder<ListChildAccountsRequest,ListChildAccountsResponse,ListChildAccountsPagedResponse>

updateLabelsSettings()

public UnaryCallSettings.Builder<UpdateAccountLabelsRequest,Account> updateLabelsSettings()

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

Returns
Type Description
Builder<UpdateAccountLabelsRequest,Account>