Package org.languagetool.rules.ml
Class MLServerGrpc.MLServerFutureStub
java.lang.Object
io.grpc.stub.AbstractStub<MLServerGrpc.MLServerFutureStub>
io.grpc.stub.AbstractFutureStub<MLServerGrpc.MLServerFutureStub>
org.languagetool.rules.ml.MLServerGrpc.MLServerFutureStub
- Enclosing class:
MLServerGrpc
public static final class MLServerGrpc.MLServerFutureStub
extends io.grpc.stub.AbstractFutureStub<MLServerGrpc.MLServerFutureStub>
A stub to allow clients to do ListenableFuture-style rpc calls to service MLServer.
-
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>> -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateMLServerFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) -
Method Summary
Modifier and TypeMethodDescriptionprotected MLServerGrpc.MLServerFutureStubbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions) com.google.common.util.concurrent.ListenableFuture<MLServerProto.MatchResponse> match(MLServerProto.MatchRequest request) com.google.common.util.concurrent.ListenableFuture<MLServerProto.MatchResponse> Methods inherited from class io.grpc.stub.AbstractFutureStub
newStub, newStubMethods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOnReadyThreshold, withOption, withWaitForReady
-
Constructor Details
-
MLServerFutureStub
private MLServerFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
-
-
Method Details
-
build
protected MLServerGrpc.MLServerFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<MLServerGrpc.MLServerFutureStub>
-
match
public com.google.common.util.concurrent.ListenableFuture<MLServerProto.MatchResponse> match(MLServerProto.MatchRequest request) -
matchAnalyzed
public com.google.common.util.concurrent.ListenableFuture<MLServerProto.MatchResponse> matchAnalyzed(MLServerProto.AnalyzedMatchRequest request)
-