Class GbpAccountsServiceSettings.Builder (1.23.0)

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

Builder for GbpAccountsServiceSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > GbpAccountsServiceSettings.Builder

Constructors

Builder()

protected Builder()

Builder(@Nullable ClientContext clientContext)

protected Builder(@Nullable ClientContext clientContext)
Parameter
Name Description
clientContext @org.jspecify.annotations.Nullable com.google.api.gax.rpc.ClientContext

Builder(GbpAccountsServiceSettings settings)

protected Builder(GbpAccountsServiceSettings settings)
Parameter
Name Description
settings GbpAccountsServiceSettings

Builder(GbpAccountsServiceStubSettings.Builder stubSettings)

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

Methods

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

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

build()

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

getStubSettingsBuilder()

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

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>