Class GbpAccountsServiceStubSettings.Builder (0.20.0)

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

Builder for GbpAccountsServiceStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > GbpAccountsServiceStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(GbpAccountsServiceStubSettings settings)

protected Builder(GbpAccountsServiceStubSettings settings)
Parameter
Name Description
settings GbpAccountsServiceStubSettings

Methods

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

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

build()

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

linkGbpAccountSettings()

public UnaryCallSettings.Builder<LinkGbpAccountRequest,LinkGbpAccountResponse> linkGbpAccountSettings()

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

Returns
Type Description
Builder<LinkGbpAccountRequest,LinkGbpAccountResponse>

listGbpAccountsSettings()

public PagedCallSettings.Builder<ListGbpAccountsRequest,ListGbpAccountsResponse,GbpAccountsServiceClient.ListGbpAccountsPagedResponse> listGbpAccountsSettings()

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

Returns
Type Description
Builder<ListGbpAccountsRequest,ListGbpAccountsResponse,ListGbpAccountsPagedResponse>

unaryMethodSettingsBuilders()

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