Class CatalogServiceGrpc.CatalogServiceFutureStub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractFutureStub<CatalogServiceGrpc.CatalogServiceFutureStub>
com.google.cloud.recommendationengine.v1beta1.CatalogServiceGrpc.CatalogServiceFutureStub
- Enclosing class:
- CatalogServiceGrpc
public static final class CatalogServiceGrpc.CatalogServiceFutureStub
extends io.grpc.stub.AbstractFutureStub<CatalogServiceGrpc.CatalogServiceFutureStub>
A stub to allow clients to do ListenableFuture-style 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) com.google.common.util.concurrent.ListenableFuture<CatalogItem>Creates a catalog item.com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Empty>Deletes a catalog item.com.google.common.util.concurrent.ListenableFuture<CatalogItem>getCatalogItem(GetCatalogItemRequest request) Gets a specific catalog item.com.google.common.util.concurrent.ListenableFuture<Operation>Bulk import of multiple catalog items.com.google.common.util.concurrent.ListenableFuture<ListCatalogItemsResponse>listCatalogItems(ListCatalogItemsRequest request) Gets a list of catalog items.com.google.common.util.concurrent.ListenableFuture<CatalogItem>Updates a catalog item.Methods inherited from class io.grpc.stub.AbstractFutureStub
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.CatalogServiceFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<CatalogServiceGrpc.CatalogServiceFutureStub>
-
createCatalogItem
public com.google.common.util.concurrent.ListenableFuture<CatalogItem> createCatalogItem(CreateCatalogItemRequest request) Creates a catalog item.
-
getCatalogItem
public com.google.common.util.concurrent.ListenableFuture<CatalogItem> getCatalogItem(GetCatalogItemRequest request) Gets a specific catalog item.
-
listCatalogItems
public com.google.common.util.concurrent.ListenableFuture<ListCatalogItemsResponse> listCatalogItems(ListCatalogItemsRequest request) Gets a list of catalog items.
-
updateCatalogItem
public com.google.common.util.concurrent.ListenableFuture<CatalogItem> updateCatalogItem(UpdateCatalogItemRequest request) Updates a catalog item. Partial updating is supported. Non-existing items will be created.
-
deleteCatalogItem
public com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Empty> deleteCatalogItem(DeleteCatalogItemRequest request) Deletes a catalog item.
-
importCatalogItems
public com.google.common.util.concurrent.ListenableFuture<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.
-