public static class RegionalInventoryServiceStubSettings.Builder extends StubSettings.Builder<RegionalInventoryServiceStubSettings,RegionalInventoryServiceStubSettings.Builder>
Builder for RegionalInventoryServiceStubSettings.
Constructors
Builder()
protected Builder()
Builder(ClientContext clientContext)
protected Builder(ClientContext clientContext)
Parameter | |
---|---|
Name | Description |
clientContext | ClientContext |
Builder(RegionalInventoryServiceStubSettings settings)
protected Builder(RegionalInventoryServiceStubSettings settings)
Parameter | |
---|---|
Name | Description |
settings | RegionalInventoryServiceStubSettings |
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 | |
---|---|
Name | Description |
settingsUpdater | ApiFunction<Builder<?,?>,java.lang.Void> |
Returns | |
---|---|
Type | Description |
RegionalInventoryServiceStubSettings.Builder |
build()
public RegionalInventoryServiceStubSettings build()
Returns | |
---|---|
Type | Description |
RegionalInventoryServiceStubSettings |
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> |
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> |
unaryMethodSettingsBuilders()
public ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
Returns | |
---|---|
Type | Description |
com.google.common.collect.ImmutableList<Builder<?,?>> |