Class LocalInventoryServiceStubSettings.Builder (0.22.0)

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

Builder for LocalInventoryServiceStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > LocalInventoryServiceStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(LocalInventoryServiceStubSettings settings)

protected Builder(LocalInventoryServiceStubSettings settings)
Parameter
Name Description
settings LocalInventoryServiceStubSettings

Methods

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

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

build()

public LocalInventoryServiceStubSettings build()
Returns
Type Description
LocalInventoryServiceStubSettings
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>

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>

unaryMethodSettingsBuilders()

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