Package io.flowcean.learner.grpc
Class LearnerGrpc.LearnerFutureStub
- java.lang.Object
-
- io.grpc.stub.AbstractStub<S>
-
- 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.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected LearnerGrpc.LearnerFutureStub
build(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)
-
-
-
Method Detail
-
build
protected LearnerGrpc.LearnerFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
- Specified by:
build
in 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)
-
-