Package io.flowcean.learner.grpc
Class LearnerGrpc.LearnerFutureStub
java.lang.Object
io.grpc.stub.AbstractStub<LearnerGrpc.LearnerFutureStub>
io.grpc.stub.AbstractFutureStub<LearnerGrpc.LearnerFutureStub>
io.flowcean.learner.grpc.LearnerGrpc.LearnerFutureStub
- Enclosing class:
LearnerGrpc
public static final class LearnerGrpc.LearnerFutureStub
extends io.grpc.stub.AbstractFutureStub<LearnerGrpc.LearnerFutureStub>
A stub to allow clients to do ListenableFuture-style rpc calls to service Learner.
The Learner service provides RPCs for training, prediction, and export.
-
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 TypeMethodDescriptionprotected LearnerGrpc.LearnerFutureStubbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions) com.google.common.util.concurrent.ListenableFuture<LearnerOuterClass.Empty> export(LearnerOuterClass.Empty request) com.google.common.util.concurrent.ListenableFuture<LearnerOuterClass.Prediction> predict(LearnerOuterClass.DataPackage 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, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOption, withWaitForReady
-
Method Details
-
build
protected LearnerGrpc.LearnerFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<LearnerGrpc.LearnerFutureStub>
-
predict
public com.google.common.util.concurrent.ListenableFuture<LearnerOuterClass.Prediction> predict(LearnerOuterClass.DataPackage request) -
export
public com.google.common.util.concurrent.ListenableFuture<LearnerOuterClass.Empty> export(LearnerOuterClass.Empty request)
-