Class CompletionGrpc.CompletionFutureStub (2.2.9)

public static final class CompletionGrpc.CompletionFutureStub extends AbstractFutureStub<CompletionGrpc.CompletionFutureStub>

A service handles auto completion.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractFutureStub > CompletionGrpc.CompletionFutureStub

Methods

build(Channel channel, CallOptions callOptions)

protected CompletionGrpc.CompletionFutureStub build(Channel channel, CallOptions callOptions)
Parameters
NameDescription
channelio.grpc.Channel
callOptionsio.grpc.CallOptions
Returns
TypeDescription
CompletionGrpc.CompletionFutureStub
Overrides
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
NameDescription
requestCompleteQueryRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<CompleteQueryResponse>