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.
-
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 TypeMethodDescriptionbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions) Creates a catalog item.com.google.protobuf.EmptyDeletes a catalog item.getCatalogItem(GetCatalogItemRequest request) Gets a specific catalog item.Bulk import of multiple catalog items.listCatalogItems(ListCatalogItemsRequest request) Gets a list of catalog items.Updates a catalog item.Methods inherited from class io.grpc.stub.AbstractBlockingStub
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.CatalogServiceBlockingV2Stub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<CatalogServiceGrpc.CatalogServiceBlockingV2Stub>
-
createCatalogItem
public CatalogItem createCatalogItem(CreateCatalogItemRequest request) throws io.grpc.StatusException Creates a catalog item.
- Throws:
io.grpc.StatusException
-
getCatalogItem
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
-