Class LfpInventoryServiceSettings.Builder (0.4.0)

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

Builder for LfpInventoryServiceSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > LfpInventoryServiceSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(LfpInventoryServiceSettings settings)

protected Builder(LfpInventoryServiceSettings settings)
Parameter
Name Description
settings LfpInventoryServiceSettings

Builder(LfpInventoryServiceStubSettings.Builder stubSettings)

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

Methods

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

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

build()

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

getStubSettingsBuilder()

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

insertLfpInventorySettings()

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

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

Returns
Type Description
Builder<InsertLfpInventoryRequest,LfpInventory>