Class CompletionServiceGrpc.CompletionServiceBlockingStub (0.31.0)

public static final class CompletionServiceGrpc.CompletionServiceBlockingStub extends AbstractBlockingStub<CompletionServiceGrpc.CompletionServiceBlockingStub>

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

Service for Auto-Completion.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractBlockingStub > CompletionServiceGrpc.CompletionServiceBlockingStub

Methods

build(Channel channel, CallOptions callOptions)

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

completeQuery(CompleteQueryRequest request)

public CompleteQueryResponse completeQuery(CompleteQueryRequest request)

Completes the specified user input with keyword suggestions.

Parameter
NameDescription
requestCompleteQueryRequest
Returns
TypeDescription
CompleteQueryResponse