Class AccountsServiceStubSettings.Builder (0.14.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

getAccountSettings()

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

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

Returns
Type Description
Builder<GetAccountRequest,Account>

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>

unaryMethodSettingsBuilders()

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

updateLabelsSettings()

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

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

Returns
Type Description
Builder<UpdateAccountLabelsRequest,Account>