Class CompletionGrpc.CompletionStub (2.38.0)

public static final class CompletionGrpc.CompletionStub extends AbstractAsyncStub<CompletionGrpc.CompletionStub>

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

A service handles auto completion.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractAsyncStub > CompletionGrpc.CompletionStub

Methods

build(Channel channel, CallOptions callOptions)

protected CompletionGrpc.CompletionStub build(Channel channel, CallOptions callOptions)
Parameters
NameDescription
channelio.grpc.Channel
callOptionsio.grpc.CallOptions
Returns
TypeDescription
CompletionGrpc.CompletionStub
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. Intended for use by a job search auto-complete search box.

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