Interface CatalogServiceGrpc.AsyncService

All Known Implementing Classes:
CatalogServiceGrpc.CatalogServiceImplBase
Enclosing class:
CatalogServiceGrpc

public static interface CatalogServiceGrpc.AsyncService
 Service for ingesting catalog information of the customer's website.
 
  • Method Details

    • createCatalogItem

      default void createCatalogItem(CreateCatalogItemRequest request, io.grpc.stub.StreamObserver<CatalogItem> responseObserver)
       Creates a catalog item.
       
    • getCatalogItem

      default void getCatalogItem(GetCatalogItemRequest request, io.grpc.stub.StreamObserver<CatalogItem> responseObserver)
       Gets a specific catalog item.
       
    • listCatalogItems

      default void listCatalogItems(ListCatalogItemsRequest request, io.grpc.stub.StreamObserver<ListCatalogItemsResponse> responseObserver)
       Gets a list of catalog items.
       
    • updateCatalogItem

      default void updateCatalogItem(UpdateCatalogItemRequest request, io.grpc.stub.StreamObserver<CatalogItem> responseObserver)
       Updates a catalog item. Partial updating is supported. Non-existing
       items will be created.
       
    • deleteCatalogItem

      default void deleteCatalogItem(DeleteCatalogItemRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver)
       Deletes a catalog item.
       
    • importCatalogItems

      default void importCatalogItems(ImportCatalogItemsRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver)
       Bulk import of multiple catalog items. Request processing may be
       synchronous. No partial updating supported. Non-existing items will be
       created.
       Operation.response is of type ImportResponse. Note that it is
       possible for a subset of the items to be successfully updated.