Package org.languagetool.rules.ml
Class ProcessingServerGrpc.ProcessingServerFutureStub
java.lang.Object
io.grpc.stub.AbstractStub<ProcessingServerGrpc.ProcessingServerFutureStub>
io.grpc.stub.AbstractFutureStub<ProcessingServerGrpc.ProcessingServerFutureStub>
org.languagetool.rules.ml.ProcessingServerGrpc.ProcessingServerFutureStub
- Enclosing class:
ProcessingServerGrpc
public static final class ProcessingServerGrpc.ProcessingServerFutureStub
extends io.grpc.stub.AbstractFutureStub<ProcessingServerGrpc.ProcessingServerFutureStub>
A stub to allow clients to do ListenableFuture-style rpc calls to service ProcessingServer.
-
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
ConstructorsModifierConstructorDescriptionprivateProcessingServerFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) -
Method Summary
Modifier and TypeMethodDescriptioncom.google.common.util.concurrent.ListenableFuture<MLServerProto.AnalyzeResponse> analyze(MLServerProto.AnalyzeRequest request) build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) com.google.common.util.concurrent.ListenableFuture<MLServerProto.ProcessResponse> process(MLServerProto.ProcessRequest request) 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
-
ProcessingServerFutureStub
private ProcessingServerFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
-
-
Method Details
-
build
protected ProcessingServerGrpc.ProcessingServerFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<ProcessingServerGrpc.ProcessingServerFutureStub>
-
analyze
public com.google.common.util.concurrent.ListenableFuture<MLServerProto.AnalyzeResponse> analyze(MLServerProto.AnalyzeRequest request) -
process
public com.google.common.util.concurrent.ListenableFuture<MLServerProto.ProcessResponse> process(MLServerProto.ProcessRequest request)
-