Class CompletionServiceGrpc.CompletionServiceStub (0.14.0)

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

A stub to allow clients to do asynchronous rpc calls to service CompletionService.

Service for Auto-Completion.

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 user input with keyword suggestions.

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