Class CatalogServiceGrpc.CatalogServiceStub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractAsyncStub<CatalogServiceGrpc.CatalogServiceStub>
com.google.cloud.recommendationengine.v1beta1.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.
-
Nested Class Summary
Nested classes/interfaces inherited from class io.grpc.stub.AbstractStub
io.grpc.stub.AbstractStub.StubFactory<T extends io.grpc.stub.AbstractStub<T>> -
Method Summary
Modifier and TypeMethodDescriptionprotected CatalogServiceGrpc.CatalogServiceStubbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions) voidcreateCatalogItem(CreateCatalogItemRequest request, io.grpc.stub.StreamObserver<CatalogItem> responseObserver) Creates a catalog item.voiddeleteCatalogItem(DeleteCatalogItemRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver) Deletes a catalog item.voidgetCatalogItem(GetCatalogItemRequest request, io.grpc.stub.StreamObserver<CatalogItem> responseObserver) Gets a specific catalog item.voidimportCatalogItems(ImportCatalogItemsRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver) Bulk import of multiple catalog items.voidlistCatalogItems(ListCatalogItemsRequest request, io.grpc.stub.StreamObserver<ListCatalogItemsResponse> responseObserver) Gets a list of catalog items.voidupdateCatalogItem(UpdateCatalogItemRequest request, io.grpc.stub.StreamObserver<CatalogItem> responseObserver) Updates a catalog item.Methods inherited from class io.grpc.stub.AbstractAsyncStub
newStub, newStubMethods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOnReadyThreshold, withOption, withWaitForReady
-
Method Details
-
build
protected CatalogServiceGrpc.CatalogServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<CatalogServiceGrpc.CatalogServiceStub>
-
createCatalogItem
public void createCatalogItem(CreateCatalogItemRequest request, io.grpc.stub.StreamObserver<CatalogItem> responseObserver) Creates a catalog item.
-
getCatalogItem
public void getCatalogItem(GetCatalogItemRequest request, io.grpc.stub.StreamObserver<CatalogItem> responseObserver) Gets a specific catalog item.
-
listCatalogItems
public void listCatalogItems(ListCatalogItemsRequest request, io.grpc.stub.StreamObserver<ListCatalogItemsResponse> responseObserver) Gets a list of catalog items.
-
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<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.
-