public abstract static class CompletionServiceGrpc.CompletionServiceImplBase extends Object implements io.grpc.BindableService
Auto-completion 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.
| Constructor and Description |
|---|
CompletionServiceImplBase() |
| Modifier and Type | Method and Description |
|---|---|
io.grpc.ServerServiceDefinition |
bindService() |
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.
|
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.
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.
public final io.grpc.ServerServiceDefinition bindService()
bindService in interface io.grpc.BindableServiceCopyright © 2022 Google LLC. All rights reserved.