Package com.google.cloud.retail.v2
Class CompletionServiceGrpc.CompletionServiceBlockingStub
- java.lang.Object
-
- io.grpc.stub.AbstractStub<S>
-
- io.grpc.stub.AbstractBlockingStub<CompletionServiceGrpc.CompletionServiceBlockingStub>
-
- com.google.cloud.retail.v2.CompletionServiceGrpc.CompletionServiceBlockingStub
-
- Enclosing class:
- CompletionServiceGrpc
public static final class CompletionServiceGrpc.CompletionServiceBlockingStub extends io.grpc.stub.AbstractBlockingStub<CompletionServiceGrpc.CompletionServiceBlockingStub>
A stub to allow clients to do synchronous 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.CompletionServiceBlockingStub
build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
CompleteQueryResponse
completeQuery(CompleteQueryRequest request)
Completes the specified prefix with keyword suggestions.com.google.longrunning.Operation
importCompletionData(ImportCompletionDataRequest request)
Bulk import of processed completion dataset.
-
-
-
Method Detail
-
build
protected CompletionServiceGrpc.CompletionServiceBlockingStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
- Specified by:
build
in classio.grpc.stub.AbstractStub<CompletionServiceGrpc.CompletionServiceBlockingStub>
-
completeQuery
public CompleteQueryResponse completeQuery(CompleteQueryRequest request)
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 com.google.longrunning.Operation importCompletionData(ImportCompletionDataRequest request)
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.
-
-