Class RankServiceGrpc.RankServiceStub (0.44.0)

public static final class RankServiceGrpc.RankServiceStub extends AbstractAsyncStub<RankServiceGrpc.RankServiceStub>

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

Service for ranking text records.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractAsyncStub > RankServiceGrpc.RankServiceStub

Methods

build(Channel channel, CallOptions callOptions)

protected RankServiceGrpc.RankServiceStub build(Channel channel, CallOptions callOptions)
Parameters
Name Description
channel io.grpc.Channel
callOptions io.grpc.CallOptions
Returns
Type Description
RankServiceGrpc.RankServiceStub
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)

rank(RankRequest request, StreamObserver<RankResponse> responseObserver)

public void rank(RankRequest request, StreamObserver<RankResponse> responseObserver)

Ranks a list of text records based on the given input query.

Parameters
Name Description
request RankRequest
responseObserver io.grpc.stub.StreamObserver<RankResponse>