Class CompletionGrpc.CompletionStub (2.52.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
Name Description
channel io.grpc.Channel
callOptions io.grpc.CallOptions
Returns
Type Description
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
Name Description
request CompleteQueryRequest
responseObserver io.grpc.stub.StreamObserver<CompleteQueryResponse>