Class CompletionGrpc.CompletionStub (2.4.4)

Stay organized with collections Save and categorize content based on your preferences.
public static final class CompletionGrpc.CompletionStub extends AbstractAsyncStub<CompletionGrpc.CompletionStub>

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>