- 2.56.0 (latest)
- 2.55.0
- 2.54.0
- 2.53.0
- 2.51.0
- 2.50.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.39.0
- 2.38.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.26.0
- 2.25.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.11.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.1
- 2.4.0
- 2.3.0
- 2.2.3
- 2.1.0
- 2.0.19
public static final class ProductServiceGrpc.ProductServiceBlockingStub extends AbstractBlockingStub<ProductServiceGrpc.ProductServiceBlockingStub>
Service for ingesting Product information of the customer's website.
Inheritance
java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractBlockingStub > ProductServiceGrpc.ProductServiceBlockingStubMethods
addFulfillmentPlaces(AddFulfillmentPlacesRequest request)
public Operation addFulfillmentPlaces(AddFulfillmentPlacesRequest request)
Incrementally adds place IDs to Product.fulfillment_info.place_ids. This process is asynchronous and does not require the Product to exist before updating fulfillment information. If the request is valid, the update will be enqueued and processed downstream. As a consequence, when a response is returned, the added place IDs are not immediately manifested in the Product queried by ProductService.GetProduct or ProductService.ListProducts. The returned [Operation][]s will be obsolete after 1 day, and [GetOperation][] API will return NOT_FOUND afterwards. If conflicting updates are issued, the [Operation][]s associated with the stale updates will not be marked as done until being obsolete. This feature is only available for users who have Retail Search enabled. Please enable Retail Search on Cloud Console before using this feature.
Name | Description |
request | AddFulfillmentPlacesRequest |
Type | Description |
Operation |
addLocalInventories(AddLocalInventoriesRequest request)
public Operation addLocalInventories(AddLocalInventoriesRequest request)
Updates local inventory information for a Product at a list of places, while respecting the last update timestamps of each inventory field. This process is asynchronous and does not require the Product to exist before updating inventory information. If the request is valid, the update will be enqueued and processed downstream. As a consequence, when a response is returned, updates are not immediately manifested in the Product queried by ProductService.GetProduct or ProductService.ListProducts. Local inventory information can only be modified using this method. ProductService.CreateProduct and ProductService.UpdateProduct has no effect on local inventories. The returned [Operation][]s will be obsolete after 1 day, and [GetOperation][] API will return NOT_FOUND afterwards. If conflicting updates are issued, the [Operation][]s associated with the stale updates will not be marked as done until being obsolete. This feature is only available for users who have Retail Search enabled. Please enable Retail Search on Cloud Console before using this feature.
Name | Description |
request | AddLocalInventoriesRequest |
Type | Description |
Operation |
build(Channel channel, CallOptions callOptions)
protected ProductServiceGrpc.ProductServiceBlockingStub build(Channel channel, CallOptions callOptions)
Name | Description |
channel | io.grpc.Channel |
callOptions | io.grpc.CallOptions |
Type | Description |
ProductServiceGrpc.ProductServiceBlockingStub |
createProduct(CreateProductRequest request)
public Product createProduct(CreateProductRequest request)
Creates a Product.
Name | Description |
request | CreateProductRequest |
Type | Description |
Product |
deleteProduct(DeleteProductRequest request)
public Empty deleteProduct(DeleteProductRequest request)
Deletes a Product.
Name | Description |
request | DeleteProductRequest |
Type | Description |
Empty |
getProduct(GetProductRequest request)
public Product getProduct(GetProductRequest request)
Gets a Product.
Name | Description |
request | GetProductRequest |
Type | Description |
Product |
importProducts(ImportProductsRequest request)
public Operation importProducts(ImportProductsRequest request)
Bulk import of multiple Products. Request processing may be synchronous. Non-existing items are created. Note that it is possible for a subset of the Products to be successfully updated.
Name | Description |
request | ImportProductsRequest |
Type | Description |
Operation |
listProducts(ListProductsRequest request)
public ListProductsResponse listProducts(ListProductsRequest request)
Gets a list of Products.
Name | Description |
request | ListProductsRequest |
Type | Description |
ListProductsResponse |
removeFulfillmentPlaces(RemoveFulfillmentPlacesRequest request)
public Operation removeFulfillmentPlaces(RemoveFulfillmentPlacesRequest request)
Incrementally removes place IDs from a Product.fulfillment_info.place_ids. This process is asynchronous and does not require the Product to exist before updating fulfillment information. If the request is valid, the update will be enqueued and processed downstream. As a consequence, when a response is returned, the removed place IDs are not immediately manifested in the Product queried by ProductService.GetProduct or ProductService.ListProducts. The returned [Operation][]s will be obsolete after 1 day, and [GetOperation][] API will return NOT_FOUND afterwards. If conflicting updates are issued, the [Operation][]s associated with the stale updates will not be marked as done until being obsolete. This feature is only available for users who have Retail Search enabled. Please enable Retail Search on Cloud Console before using this feature.
Name | Description |
request | RemoveFulfillmentPlacesRequest |
Type | Description |
Operation |
removeLocalInventories(RemoveLocalInventoriesRequest request)
public Operation removeLocalInventories(RemoveLocalInventoriesRequest request)
Remove local inventory information for a Product at a list of places at a removal timestamp. This process is asynchronous. If the request is valid, the removal will be enqueued and processed downstream. As a consequence, when a response is returned, removals are not immediately manifested in the Product queried by ProductService.GetProduct or ProductService.ListProducts. Local inventory information can only be removed using this method. ProductService.CreateProduct and ProductService.UpdateProduct has no effect on local inventories. The returned [Operation][]s will be obsolete after 1 day, and [GetOperation][] API will return NOT_FOUND afterwards. If conflicting updates are issued, the [Operation][]s associated with the stale updates will not be marked as done until being obsolete. This feature is only available for users who have Retail Search enabled. Please enable Retail Search on Cloud Console before using this feature.
Name | Description |
request | RemoveLocalInventoriesRequest |
Type | Description |
Operation |
setInventory(SetInventoryRequest request)
public Operation setInventory(SetInventoryRequest request)
Updates inventory information for a Product while respecting the last update timestamps of each inventory field. This process is asynchronous and does not require the Product to exist before updating fulfillment information. If the request is valid, the update will be enqueued and processed downstream. As a consequence, when a response is returned, updates are not immediately manifested in the Product queried by ProductService.GetProduct or ProductService.ListProducts. When inventory is updated with ProductService.CreateProduct and ProductService.UpdateProduct, the specified inventory field value(s) will overwrite any existing value(s) while ignoring the last update time for this field. Furthermore, the last update time for the specified inventory fields will be overwritten to the time of the ProductService.CreateProduct or ProductService.UpdateProduct request. If no inventory fields are set in CreateProductRequest.product, then any pre-existing inventory information for this product will be used. If no inventory fields are set in SetInventoryRequest.set_mask, then any existing inventory information will be preserved. Pre-existing inventory information can only be updated with ProductService.SetInventory, ProductService.AddFulfillmentPlaces, and ProductService.RemoveFulfillmentPlaces. The returned [Operation][]s will be obsolete after 1 day, and [GetOperation][] API will return NOT_FOUND afterwards. If conflicting updates are issued, the [Operation][]s associated with the stale updates will not be marked as done until being obsolete. This feature is only available for users who have Retail Search enabled. Please enable Retail Search on Cloud Console before using this feature.
Name | Description |
request | SetInventoryRequest |
Type | Description |
Operation |
updateProduct(UpdateProductRequest request)
public Product updateProduct(UpdateProductRequest request)
Updates a Product.
Name | Description |
request | UpdateProductRequest |
Type | Description |
Product |