Class LocalInventoryServiceSettings.Builder (0.29.0)

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

Builder for LocalInventoryServiceSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > LocalInventoryServiceSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(LocalInventoryServiceSettings settings)

protected Builder(LocalInventoryServiceSettings settings)
Parameter
Name Description
settings LocalInventoryServiceSettings

Builder(LocalInventoryServiceStubSettings.Builder stubSettings)

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

Methods

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

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

build()

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

deleteLocalInventorySettings()

public UnaryCallSettings.Builder<DeleteLocalInventoryRequest,Empty> deleteLocalInventorySettings()

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

Returns
Type Description
Builder<DeleteLocalInventoryRequest,Empty>

getStubSettingsBuilder()

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

insertLocalInventorySettings()

public UnaryCallSettings.Builder<InsertLocalInventoryRequest,LocalInventory> insertLocalInventorySettings()

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

Returns
Type Description
Builder<InsertLocalInventoryRequest,LocalInventory>

listLocalInventoriesSettings()

public PagedCallSettings.Builder<ListLocalInventoriesRequest,ListLocalInventoriesResponse,LocalInventoryServiceClient.ListLocalInventoriesPagedResponse> listLocalInventoriesSettings()

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

Returns
Type Description
Builder<ListLocalInventoriesRequest,ListLocalInventoriesResponse,ListLocalInventoriesPagedResponse>