Package org.languagetool.grpc
Class SynthesizeServerGrpc.SynthesizeServerFutureStub
java.lang.Object
io.grpc.stub.AbstractStub<SynthesizeServerGrpc.SynthesizeServerFutureStub>
io.grpc.stub.AbstractFutureStub<SynthesizeServerGrpc.SynthesizeServerFutureStub>
org.languagetool.grpc.SynthesizeServerGrpc.SynthesizeServerFutureStub
- Enclosing class:
SynthesizeServerGrpc
public static final class SynthesizeServerGrpc.SynthesizeServerFutureStub
extends io.grpc.stub.AbstractFutureStub<SynthesizeServerGrpc.SynthesizeServerFutureStub>
A stub to allow clients to do ListenableFuture-style rpc calls to service SynthesizeServer.
-
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
ConstructorsModifierConstructorDescriptionprivateSynthesizeServerFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) -
Method Summary
Modifier and TypeMethodDescriptionbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions) com.google.common.util.concurrent.ListenableFuture<Synthesizer.SynthesizeResponse> synthesize(Synthesizer.SynthesizeRequest 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
-
SynthesizeServerFutureStub
private SynthesizeServerFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
-
-
Method Details
-
build
protected SynthesizeServerGrpc.SynthesizeServerFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<SynthesizeServerGrpc.SynthesizeServerFutureStub>
-
synthesize
public com.google.common.util.concurrent.ListenableFuture<Synthesizer.SynthesizeResponse> synthesize(Synthesizer.SynthesizeRequest request)
-