Class AccountsServiceSettings.Builder (0.8.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

createAndConfigureAccountSettings()

public UnaryCallSettings.Builder<CreateAndConfigureAccountRequest,Account> createAndConfigureAccountSettings()

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

Returns
Type Description
Builder<CreateAndConfigureAccountRequest,Account>

deleteAccountSettings()

public UnaryCallSettings.Builder<DeleteAccountRequest,Empty> deleteAccountSettings()

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

Returns
Type Description
Builder<DeleteAccountRequest,Empty>

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

listAccountsSettings()

public PagedCallSettings.Builder<ListAccountsRequest,ListAccountsResponse,AccountsServiceClient.ListAccountsPagedResponse> listAccountsSettings()

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

Returns
Type Description
Builder<ListAccountsRequest,ListAccountsResponse,ListAccountsPagedResponse>

listSubAccountsSettings()

public PagedCallSettings.Builder<ListSubAccountsRequest,ListSubAccountsResponse,AccountsServiceClient.ListSubAccountsPagedResponse> listSubAccountsSettings()

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

Returns
Type Description
Builder<ListSubAccountsRequest,ListSubAccountsResponse,ListSubAccountsPagedResponse>

updateAccountSettings()

public UnaryCallSettings.Builder<UpdateAccountRequest,Account> updateAccountSettings()

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

Returns
Type Description
Builder<UpdateAccountRequest,Account>