Class CompletionServiceGrpc.CompletionServiceStub

public static final class CompletionServiceGrpc.CompletionServiceStub extends AbstractAsyncStub<CompletionServiceGrpc.CompletionServiceStub>

Auto-completion service for retail. This feature is only available for users who have Retail Search enabled. Please submit a form here to contact cloud sales if you are interested in using Retail Search.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractAsyncStub > CompletionServiceGrpc.CompletionServiceStub

Methods

build(Channel channel, CallOptions callOptions)

protected CompletionServiceGrpc.CompletionServiceStub build(Channel channel, CallOptions callOptions)
Parameters
NameDescription
channelio.grpc.Channel
callOptionsio.grpc.CallOptions
Returns
TypeDescription
CompletionServiceGrpc.CompletionServiceStub
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)

completeQuery(CompleteQueryRequest request, StreamObserver<CompleteQueryResponse> responseObserver)

public void completeQuery(CompleteQueryRequest request, StreamObserver<CompleteQueryResponse> responseObserver)

Completes the specified prefix with keyword suggestions. This feature is only available for users who have Retail Search enabled. Please submit a form here to contact cloud sales if you are interested in using Retail Search.

Parameters
NameDescription
requestCompleteQueryRequest
responseObserverio.grpc.stub.StreamObserver<CompleteQueryResponse>

importCompletionData(ImportCompletionDataRequest request, StreamObserver<Operation> responseObserver)

public void importCompletionData(ImportCompletionDataRequest request, StreamObserver<Operation> responseObserver)

Bulk import of processed completion dataset. Request processing may be synchronous. Partial updating is not supported. This feature is only available for users who have Retail Search enabled. Please submit a form here to contact cloud sales if you are interested in using Retail Search.

Parameters
NameDescription
requestImportCompletionDataRequest
responseObserverio.grpc.stub.StreamObserver<Operation>