Class BranchServiceStubSettings.Builder (2.56.0)

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

Builder for BranchServiceStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > BranchServiceStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(BranchServiceStubSettings settings)

protected Builder(BranchServiceStubSettings settings)
Parameter
Name Description
settings BranchServiceStubSettings

Methods

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

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

build()

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

getBranchSettings()

public UnaryCallSettings.Builder<GetBranchRequest,Branch> getBranchSettings()

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

Returns
Type Description
Builder<GetBranchRequest,Branch>

listBranchesSettings()

public UnaryCallSettings.Builder<ListBranchesRequest,ListBranchesResponse> listBranchesSettings()

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

Returns
Type Description
Builder<ListBranchesRequest,ListBranchesResponse>

unaryMethodSettingsBuilders()

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