Package com.google.cloud.retail.v2.stub
Class ProductServiceStubSettings.Builder
java.lang.Object
com.google.api.gax.rpc.StubSettings.Builder<ProductServiceStubSettings,ProductServiceStubSettings.Builder>
com.google.cloud.retail.v2.stub.ProductServiceStubSettings.Builder
- Enclosing class:
- ProductServiceStubSettings
public static class ProductServiceStubSettings.Builder
extends StubSettings.Builder<ProductServiceStubSettings,ProductServiceStubSettings.Builder>
Builder for ProductServiceStubSettings.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedBuilder()protectedBuilder(ClientContext clientContext) protectedBuilder(ProductServiceStubSettings settings) -
Method Summary
Modifier and TypeMethodDescriptionOperationCallSettings.Builder<AddFulfillmentPlacesRequest,AddFulfillmentPlacesResponse, AddFulfillmentPlacesMetadata> Returns the builder for the settings used for calls to addFulfillmentPlaces.Returns the builder for the settings used for calls to addFulfillmentPlaces.OperationCallSettings.Builder<AddLocalInventoriesRequest,AddLocalInventoriesResponse, AddLocalInventoriesMetadata> Returns the builder for the settings used for calls to addLocalInventories.Returns the builder for the settings used for calls to addLocalInventories.applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?, ?>, Void> settingsUpdater) Applies the given settings updater function to all of the unary API methods in this service.build()Returns the builder for the settings used for calls to createProduct.UnaryCallSettings.Builder<DeleteProductRequest,com.google.protobuf.Empty> Returns the builder for the settings used for calls to deleteProduct.Returns the builder for the settings used for calls to getProduct.Returns the builder for the settings used for calls to importProducts.Returns the builder for the settings used for calls to importProducts.PagedCallSettings.Builder<ListProductsRequest,ListProductsResponse, ProductServiceClient.ListProductsPagedResponse> Returns the builder for the settings used for calls to listProducts.Returns the builder for the settings used for calls to purgeProducts.Returns the builder for the settings used for calls to purgeProducts.OperationCallSettings.Builder<RemoveFulfillmentPlacesRequest,RemoveFulfillmentPlacesResponse, RemoveFulfillmentPlacesMetadata> Returns the builder for the settings used for calls to removeFulfillmentPlaces.Returns the builder for the settings used for calls to removeFulfillmentPlaces.OperationCallSettings.Builder<RemoveLocalInventoriesRequest,RemoveLocalInventoriesResponse, RemoveLocalInventoriesMetadata> Returns the builder for the settings used for calls to removeLocalInventories.Returns the builder for the settings used for calls to removeLocalInventories.Returns the builder for the settings used for calls to setInventory.Returns the builder for the settings used for calls to setInventory.com.google.common.collect.ImmutableList<UnaryCallSettings.Builder<?,?>> Returns the builder for the settings used for calls to updateProduct.Methods inherited from class com.google.api.gax.rpc.StubSettings.Builder
applyToAllUnaryMethods, getApiKey, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getMtlsEndpoint, getQuotaProjectId, getStreamWatchdogCheckInterval, getStreamWatchdogCheckIntervalDuration, getStreamWatchdogProvider, getTracerFactory, getTransportChannelProvider, self, setApiKey, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setGdchApiAudience, setHeaderProvider, setInternalHeaderProvider, setMtlsEndpoint, setQuotaProjectId, setStreamWatchdogCheckInterval, setStreamWatchdogCheckIntervalDuration, setStreamWatchdogProvider, setSwitchToMtlsEndpointAllowed, setTracerFactory, setTransportChannelProvider, setUniverseDomain, toString
-
Constructor Details
-
Builder
protected Builder() -
Builder
-
Builder
-
-
Method Details
-
applyToAllUnaryMethods
public ProductServiceStubSettings.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.
-
unaryMethodSettingsBuilders
public com.google.common.collect.ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders() -
createProductSettings
Returns the builder for the settings used for calls to createProduct. -
getProductSettings
Returns the builder for the settings used for calls to getProduct. -
listProductsSettings
public PagedCallSettings.Builder<ListProductsRequest,ListProductsResponse, listProductsSettings()ProductServiceClient.ListProductsPagedResponse> Returns the builder for the settings used for calls to listProducts. -
updateProductSettings
Returns the builder for the settings used for calls to updateProduct. -
deleteProductSettings
public UnaryCallSettings.Builder<DeleteProductRequest,com.google.protobuf.Empty> deleteProductSettings()Returns the builder for the settings used for calls to deleteProduct. -
purgeProductsSettings
Returns the builder for the settings used for calls to purgeProducts. -
purgeProductsOperationSettings
public OperationCallSettings.Builder<PurgeProductsRequest,PurgeProductsResponse, purgeProductsOperationSettings()PurgeProductsMetadata> Returns the builder for the settings used for calls to purgeProducts. -
importProductsSettings
Returns the builder for the settings used for calls to importProducts. -
importProductsOperationSettings
public OperationCallSettings.Builder<ImportProductsRequest,ImportProductsResponse, importProductsOperationSettings()ImportMetadata> Returns the builder for the settings used for calls to importProducts. -
setInventorySettings
Returns the builder for the settings used for calls to setInventory. -
setInventoryOperationSettings
public OperationCallSettings.Builder<SetInventoryRequest,SetInventoryResponse, setInventoryOperationSettings()SetInventoryMetadata> Returns the builder for the settings used for calls to setInventory. -
addFulfillmentPlacesSettings
public UnaryCallSettings.Builder<AddFulfillmentPlacesRequest,Operation> addFulfillmentPlacesSettings()Returns the builder for the settings used for calls to addFulfillmentPlaces. -
addFulfillmentPlacesOperationSettings
public OperationCallSettings.Builder<AddFulfillmentPlacesRequest,AddFulfillmentPlacesResponse, addFulfillmentPlacesOperationSettings()AddFulfillmentPlacesMetadata> Returns the builder for the settings used for calls to addFulfillmentPlaces. -
removeFulfillmentPlacesSettings
public UnaryCallSettings.Builder<RemoveFulfillmentPlacesRequest,Operation> removeFulfillmentPlacesSettings()Returns the builder for the settings used for calls to removeFulfillmentPlaces. -
removeFulfillmentPlacesOperationSettings
public OperationCallSettings.Builder<RemoveFulfillmentPlacesRequest,RemoveFulfillmentPlacesResponse, removeFulfillmentPlacesOperationSettings()RemoveFulfillmentPlacesMetadata> Returns the builder for the settings used for calls to removeFulfillmentPlaces. -
addLocalInventoriesSettings
public UnaryCallSettings.Builder<AddLocalInventoriesRequest,Operation> addLocalInventoriesSettings()Returns the builder for the settings used for calls to addLocalInventories. -
addLocalInventoriesOperationSettings
public OperationCallSettings.Builder<AddLocalInventoriesRequest,AddLocalInventoriesResponse, addLocalInventoriesOperationSettings()AddLocalInventoriesMetadata> Returns the builder for the settings used for calls to addLocalInventories. -
removeLocalInventoriesSettings
public UnaryCallSettings.Builder<RemoveLocalInventoriesRequest,Operation> removeLocalInventoriesSettings()Returns the builder for the settings used for calls to removeLocalInventories. -
removeLocalInventoriesOperationSettings
public OperationCallSettings.Builder<RemoveLocalInventoriesRequest,RemoveLocalInventoriesResponse, removeLocalInventoriesOperationSettings()RemoveLocalInventoriesMetadata> Returns the builder for the settings used for calls to removeLocalInventories. -
build
- Specified by:
buildin classStubSettings.Builder<ProductServiceStubSettings,ProductServiceStubSettings.Builder> - Throws:
IOException
-