Class CatalogServiceGrpc.CatalogServiceBlockingStub
- java.lang.Object
-
- io.grpc.stub.AbstractStub<S>
-
- io.grpc.stub.AbstractBlockingStub<CatalogServiceGrpc.CatalogServiceBlockingStub>
-
- com.google.cloud.recommendationengine.v1beta1.CatalogServiceGrpc.CatalogServiceBlockingStub
-
- Enclosing class:
- CatalogServiceGrpc
public static final class CatalogServiceGrpc.CatalogServiceBlockingStub extends io.grpc.stub.AbstractBlockingStub<CatalogServiceGrpc.CatalogServiceBlockingStub>
A stub to allow clients to do synchronous rpc calls to service CatalogService.Service for ingesting catalog information of the customer's website.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected CatalogServiceGrpc.CatalogServiceBlockingStub
build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
CatalogItem
createCatalogItem(CreateCatalogItemRequest request)
Creates a catalog item.com.google.protobuf.Empty
deleteCatalogItem(DeleteCatalogItemRequest request)
Deletes a catalog item.CatalogItem
getCatalogItem(GetCatalogItemRequest request)
Gets a specific catalog item.com.google.longrunning.Operation
importCatalogItems(ImportCatalogItemsRequest request)
Bulk import of multiple catalog items.ListCatalogItemsResponse
listCatalogItems(ListCatalogItemsRequest request)
Gets a list of catalog items.CatalogItem
updateCatalogItem(UpdateCatalogItemRequest request)
Updates a catalog item.
-
-
-
Method Detail
-
build
protected CatalogServiceGrpc.CatalogServiceBlockingStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
- Specified by:
build
in classio.grpc.stub.AbstractStub<CatalogServiceGrpc.CatalogServiceBlockingStub>
-
createCatalogItem
public CatalogItem createCatalogItem(CreateCatalogItemRequest request)
Creates a catalog item.
-
getCatalogItem
public CatalogItem getCatalogItem(GetCatalogItemRequest request)
Gets a specific catalog item.
-
listCatalogItems
public ListCatalogItemsResponse listCatalogItems(ListCatalogItemsRequest request)
Gets a list of catalog items.
-
updateCatalogItem
public CatalogItem updateCatalogItem(UpdateCatalogItemRequest request)
Updates a catalog item. Partial updating is supported. Non-existing items will be created.
-
deleteCatalogItem
public com.google.protobuf.Empty deleteCatalogItem(DeleteCatalogItemRequest request)
Deletes a catalog item.
-
importCatalogItems
public com.google.longrunning.Operation importCatalogItems(ImportCatalogItemsRequest request)
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.
-
-