Class RankServiceGrpc.RankServiceBlockingV2Stub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractBlockingStub<RankServiceGrpc.RankServiceBlockingV2Stub>
com.google.cloud.discoveryengine.v1beta.RankServiceGrpc.RankServiceBlockingV2Stub
- Enclosing class:
- RankServiceGrpc
public static final class RankServiceGrpc.RankServiceBlockingV2Stub
extends io.grpc.stub.AbstractBlockingStub<RankServiceGrpc.RankServiceBlockingV2Stub>
A stub to allow clients to do synchronous rpc calls to service RankService.
Service for ranking text records.
-
Nested Class Summary
Nested classes/interfaces inherited from class io.grpc.stub.AbstractStub
io.grpc.stub.AbstractStub.StubFactory<T extends io.grpc.stub.AbstractStub<T>> -
Method Summary
Modifier and TypeMethodDescriptionbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions) rank(RankRequest request) Ranks a list of text records based on the given input query.Methods inherited from class io.grpc.stub.AbstractBlockingStub
newStub, newStubMethods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOnReadyThreshold, withOption, withWaitForReady
-
Method Details
-
build
protected RankServiceGrpc.RankServiceBlockingV2Stub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<RankServiceGrpc.RankServiceBlockingV2Stub>
-
rank
Ranks a list of text records based on the given input query.
- Throws:
io.grpc.StatusException
-