Class RankServiceGrpc.RankServiceBlockingStub (0.50.0)

public static final class RankServiceGrpc.RankServiceBlockingStub extends AbstractBlockingStub<RankServiceGrpc.RankServiceBlockingStub>

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

Service for ranking text records.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractBlockingStub > RankServiceGrpc.RankServiceBlockingStub

Methods

build(Channel channel, CallOptions callOptions)

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

rank(RankRequest request)

public RankResponse rank(RankRequest request)

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

Parameter
Name Description
request RankRequest
Returns
Type Description
RankResponse