Class LocalInventoryServiceSettings.Builder (0.8.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
NameDescription
clientContextClientContext

Builder(LocalInventoryServiceSettings settings)

protected Builder(LocalInventoryServiceSettings settings)
Parameter
NameDescription
settingsLocalInventoryServiceSettings

Builder(LocalInventoryServiceStubSettings.Builder stubSettings)

protected Builder(LocalInventoryServiceStubSettings.Builder stubSettings)
Parameter
NameDescription
stubSettingsLocalInventoryServiceStubSettings.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
NameDescription
settingsUpdaterApiFunction<Builder<?,?>,java.lang.Void>
Returns
TypeDescription
LocalInventoryServiceSettings.Builder

build()

public LocalInventoryServiceSettings build()
Returns
TypeDescription
LocalInventoryServiceSettings
Overrides
Exceptions
TypeDescription
IOException

deleteLocalInventorySettings()

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

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

Returns
TypeDescription
Builder<DeleteLocalInventoryRequest,Empty>

getStubSettingsBuilder()

public LocalInventoryServiceStubSettings.Builder getStubSettingsBuilder()
Returns
TypeDescription
LocalInventoryServiceStubSettings.Builder

insertLocalInventorySettings()

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

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

Returns
TypeDescription
Builder<InsertLocalInventoryRequest,LocalInventory>

listLocalInventoriesSettings()

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

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

Returns
TypeDescription
Builder<ListLocalInventoriesRequest,ListLocalInventoriesResponse,ListLocalInventoriesPagedResponse>