Class AccountsServiceStubSettings.Builder (0.10.0)

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

Builder for AccountsServiceStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > AccountsServiceStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(AccountsServiceStubSettings settings)

protected Builder(AccountsServiceStubSettings settings)
Parameter
Name Description
settings AccountsServiceStubSettings

Methods

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

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

build()

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

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>

unaryMethodSettingsBuilders()

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

updateAccountSettings()

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

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

Returns
Type Description
Builder<UpdateAccountRequest,Account>