public static final class RankServiceGrpc.RankServiceBlockingStub extends AbstractBlockingStub<RankServiceGrpc.RankServiceBlockingStub>A stub to allow clients to do limited synchronous rpc calls to service RankService.
Service for ranking text records.
Inheritance
java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractBlockingStub > RankServiceGrpc.RankServiceBlockingStubMethods
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 |
|
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 |
|