Package com.google.cloud.retail.v2beta
Class CompletionServiceGrpc.CompletionServiceStub
- java.lang.Object
-
- io.grpc.stub.AbstractStub<S>
-
- io.grpc.stub.AbstractAsyncStub<CompletionServiceGrpc.CompletionServiceStub>
-
- com.google.cloud.retail.v2beta.CompletionServiceGrpc.CompletionServiceStub
-
- Enclosing class:
- CompletionServiceGrpc
public static final class CompletionServiceGrpc.CompletionServiceStub extends io.grpc.stub.AbstractAsyncStub<CompletionServiceGrpc.CompletionServiceStub>
A stub to allow clients to do asynchronous rpc calls to service CompletionService.Autocomplete service for retail. This feature is only available for users who have Retail Search enabled. Enable Retail Search on Cloud Console before using this feature.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected CompletionServiceGrpc.CompletionServiceStub
build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
void
completeQuery(CompleteQueryRequest request, io.grpc.stub.StreamObserver<CompleteQueryResponse> responseObserver)
Completes the specified prefix with keyword suggestions.void
importCompletionData(ImportCompletionDataRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Bulk import of processed completion dataset.
-
-
-
Method Detail
-
build
protected CompletionServiceGrpc.CompletionServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
- Specified by:
build
in classio.grpc.stub.AbstractStub<CompletionServiceGrpc.CompletionServiceStub>
-
completeQuery
public void completeQuery(CompleteQueryRequest request, io.grpc.stub.StreamObserver<CompleteQueryResponse> responseObserver)
Completes the specified prefix with keyword suggestions. This feature is only available for users who have Retail Search enabled. Enable Retail Search on Cloud Console before using this feature.
-
importCompletionData
public void importCompletionData(ImportCompletionDataRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Bulk import of processed completion dataset. Request processing is asynchronous. Partial updating is not supported. The operation is successfully finished only after the imported suggestions are indexed successfully and ready for serving. The process takes hours. This feature is only available for users who have Retail Search enabled. Enable Retail Search on Cloud Console before using this feature.
-
-