Interface CompletionServiceGrpc.AsyncService

  • All Known Implementing Classes:
    CompletionServiceGrpc.CompletionServiceImplBase
    Enclosing class:
    CompletionServiceGrpc

    public static interface CompletionServiceGrpc.AsyncService
     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 Detail

      • completeQuery

        default 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

        default 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.