Class CatalogServiceGrpc.CatalogServiceBlockingV2Stub

java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractBlockingStub<CatalogServiceGrpc.CatalogServiceBlockingV2Stub>
com.google.cloud.recommendationengine.v1beta1.CatalogServiceGrpc.CatalogServiceBlockingV2Stub
Enclosing class:
CatalogServiceGrpc

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

    • build

      protected CatalogServiceGrpc.CatalogServiceBlockingV2Stub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
      Specified by:
      build in class io.grpc.stub.AbstractStub<CatalogServiceGrpc.CatalogServiceBlockingV2Stub>
    • createCatalogItem

      public CatalogItem createCatalogItem(CreateCatalogItemRequest request) throws io.grpc.StatusException
       Creates a catalog item.
       
      Throws:
      io.grpc.StatusException
    • getCatalogItem

      public CatalogItem getCatalogItem(GetCatalogItemRequest request) throws io.grpc.StatusException
       Gets a specific catalog item.
       
      Throws:
      io.grpc.StatusException
    • listCatalogItems

      public ListCatalogItemsResponse listCatalogItems(ListCatalogItemsRequest request) throws io.grpc.StatusException
       Gets a list of catalog items.
       
      Throws:
      io.grpc.StatusException
    • updateCatalogItem

      public CatalogItem updateCatalogItem(UpdateCatalogItemRequest request) throws io.grpc.StatusException
       Updates a catalog item. Partial updating is supported. Non-existing
       items will be created.
       
      Throws:
      io.grpc.StatusException
    • deleteCatalogItem

      public com.google.protobuf.Empty deleteCatalogItem(DeleteCatalogItemRequest request) throws io.grpc.StatusException
       Deletes a catalog item.
       
      Throws:
      io.grpc.StatusException
    • importCatalogItems

      public Operation importCatalogItems(ImportCatalogItemsRequest request) throws io.grpc.StatusException
       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.
       
      Throws:
      io.grpc.StatusException