Class LfpInventoryServiceStubSettings.Builder (0.4.0)

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

Builder for LfpInventoryServiceStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > LfpInventoryServiceStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(LfpInventoryServiceStubSettings settings)

protected Builder(LfpInventoryServiceStubSettings settings)
Parameter
Name Description
settings LfpInventoryServiceStubSettings

Methods

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

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

build()

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

insertLfpInventorySettings()

public UnaryCallSettings.Builder<InsertLfpInventoryRequest,LfpInventory> insertLfpInventorySettings()

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

Returns
Type Description
Builder<InsertLfpInventoryRequest,LfpInventory>

unaryMethodSettingsBuilders()

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