Class BranchServiceSettings.Builder (2.53.0)

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

Builder for BranchServiceSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > BranchServiceSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(BranchServiceSettings settings)

protected Builder(BranchServiceSettings settings)
Parameter
Name Description
settings BranchServiceSettings

Builder(BranchServiceStubSettings.Builder stubSettings)

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

Methods

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

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

build()

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

getStubSettingsBuilder()

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

listBranchesSettings()

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

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

Returns
Type Description
Builder<ListBranchesRequest,ListBranchesResponse>