Class RegionalInventoryServiceSettings.Builder (0.11.0)

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

Builder for RegionalInventoryServiceSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > RegionalInventoryServiceSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Builder(RegionalInventoryServiceSettings settings)

protected Builder(RegionalInventoryServiceSettings settings)
Parameter
NameDescription
settingsRegionalInventoryServiceSettings

Builder(RegionalInventoryServiceStubSettings.Builder stubSettings)

protected Builder(RegionalInventoryServiceStubSettings.Builder stubSettings)
Parameter
NameDescription
stubSettingsRegionalInventoryServiceStubSettings.Builder

Methods

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

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

build()

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

deleteRegionalInventorySettings()

public UnaryCallSettings.Builder<DeleteRegionalInventoryRequest,Empty> deleteRegionalInventorySettings()

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

Returns
TypeDescription
Builder<DeleteRegionalInventoryRequest,Empty>

getStubSettingsBuilder()

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

insertRegionalInventorySettings()

public UnaryCallSettings.Builder<InsertRegionalInventoryRequest,RegionalInventory> insertRegionalInventorySettings()

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

Returns
TypeDescription
Builder<InsertRegionalInventoryRequest,RegionalInventory>

listRegionalInventoriesSettings()

public PagedCallSettings.Builder<ListRegionalInventoriesRequest,ListRegionalInventoriesResponse,RegionalInventoryServiceClient.ListRegionalInventoriesPagedResponse> listRegionalInventoriesSettings()

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

Returns
TypeDescription
Builder<ListRegionalInventoriesRequest,ListRegionalInventoriesResponse,ListRegionalInventoriesPagedResponse>