public static final class CompletionGrpc.CompletionFutureStub extends AbstractFutureStub<CompletionGrpc.CompletionFutureStub>A stub to allow clients to do ListenableFuture-style rpc calls to service Completion.
A service handles auto completion.
Inheritance
java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractFutureStub > CompletionGrpc.CompletionFutureStubMethods
build(Channel channel, CallOptions callOptions)
protected CompletionGrpc.CompletionFutureStub build(Channel channel, CallOptions callOptions)| Parameters | |
|---|---|
| Name | Description |
channel |
io.grpc.Channel |
callOptions |
io.grpc.CallOptions |
| Returns | |
|---|---|
| Type | Description |
CompletionGrpc.CompletionFutureStub |
|
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)
completeQuery(CompleteQueryRequest request)
public ListenableFuture<CompleteQueryResponse> completeQuery(CompleteQueryRequest request)Completes the specified prefix with keyword suggestions. Intended for use by a job search auto-complete search box.
| Parameter | |
|---|---|
| Name | Description |
request |
CompleteQueryRequest |
| Returns | |
|---|---|
| Type | Description |
com.google.common.util.concurrent.ListenableFuture<CompleteQueryResponse> |
|