Class CatalogServiceGrpc.CatalogServiceStub

  • Enclosing class:
    CatalogServiceGrpc

    public static final class CatalogServiceGrpc.CatalogServiceStub
    extends io.grpc.stub.AbstractAsyncStub<CatalogServiceGrpc.CatalogServiceStub>
    A stub to allow clients to do asynchronous rpc calls to service CatalogService.
     Service for ingesting catalog information of the customer's website.
     
    • Method Detail

      • getCatalogItem

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

        public 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

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

        public void importCatalogItems​(ImportCatalogItemsRequest request,
                                       io.grpc.stub.StreamObserver<com.google.longrunning.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.