Class RegionalInventoryServiceStubSettings.Builder (0.16.0)

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

Builder for RegionalInventoryServiceStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > RegionalInventoryServiceStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Builder(RegionalInventoryServiceStubSettings settings)

protected Builder(RegionalInventoryServiceStubSettings settings)
Parameter
NameDescription
settingsRegionalInventoryServiceStubSettings

Methods

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

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

build()

public RegionalInventoryServiceStubSettings build()
Returns
TypeDescription
RegionalInventoryServiceStubSettings
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>

getEndpoint()

public String getEndpoint()

Returns the endpoint set by the user or the the service's default endpoint.

Returns
TypeDescription
String
Overrides

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>

unaryMethodSettingsBuilders()

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