Class RankServiceGrpc.RankServiceFutureStub (0.41.0)

public static final class RankServiceGrpc.RankServiceFutureStub extends AbstractFutureStub<RankServiceGrpc.RankServiceFutureStub>

A stub to allow clients to do ListenableFuture-style rpc calls to service RankService.

Service for ranking text records.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractFutureStub > RankServiceGrpc.RankServiceFutureStub

Methods

build(Channel channel, CallOptions callOptions)

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

rank(RankRequest request)

public ListenableFuture<RankResponse> rank(RankRequest request)

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

Parameter
Name Description
request RankRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<RankResponse>