Class LfpSaleServiceStubSettings.Builder (0.4.0)

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

Builder for LfpSaleServiceStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > LfpSaleServiceStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(LfpSaleServiceStubSettings settings)

protected Builder(LfpSaleServiceStubSettings settings)
Parameter
Name Description
settings LfpSaleServiceStubSettings

Methods

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

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

build()

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

insertLfpSaleSettings()

public UnaryCallSettings.Builder<InsertLfpSaleRequest,LfpSale> insertLfpSaleSettings()

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

Returns
Type Description
Builder<InsertLfpSaleRequest,LfpSale>

unaryMethodSettingsBuilders()

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