Class RegionalInventoryServiceSettings.Builder (0.20.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
Name Description
clientContext ClientContext

Builder(RegionalInventoryServiceSettings settings)

protected Builder(RegionalInventoryServiceSettings settings)
Parameter
Name Description
settings RegionalInventoryServiceSettings

Builder(RegionalInventoryServiceStubSettings.Builder stubSettings)

protected Builder(RegionalInventoryServiceStubSettings.Builder stubSettings)
Parameter
Name Description
stubSettings RegionalInventoryServiceStubSettings.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
Name Description
settingsUpdater ApiFunction<Builder<?,?>,java.lang.Void>
Returns
Type Description
RegionalInventoryServiceSettings.Builder

build()

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

deleteRegionalInventorySettings()

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

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

Returns
Type Description
Builder<DeleteRegionalInventoryRequest,Empty>

getStubSettingsBuilder()

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

insertRegionalInventorySettings()

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

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

Returns
Type Description
Builder<InsertRegionalInventoryRequest,RegionalInventory>

listRegionalInventoriesSettings()

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

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

Returns
Type Description
Builder<ListRegionalInventoriesRequest,ListRegionalInventoriesResponse,ListRegionalInventoriesPagedResponse>