Package io.flowcean.learner.grpc
Class LearnerGrpc.LearnerStub
- java.lang.Object
-
- io.grpc.stub.AbstractStub<S>
-
- io.grpc.stub.AbstractAsyncStub<LearnerGrpc.LearnerStub>
-
- io.flowcean.learner.grpc.LearnerGrpc.LearnerStub
-
- Enclosing class:
- LearnerGrpc
public static final class LearnerGrpc.LearnerStub extends io.grpc.stub.AbstractAsyncStub<LearnerGrpc.LearnerStub>
A stub to allow clients to do asynchronous 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.LearnerStub
build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
void
export(LearnerOuterClass.Empty request, io.grpc.stub.StreamObserver<LearnerOuterClass.Empty> responseObserver)
void
predict(LearnerOuterClass.DataPackage request, io.grpc.stub.StreamObserver<LearnerOuterClass.Prediction> responseObserver)
void
train(LearnerOuterClass.DataPackage request, io.grpc.stub.StreamObserver<LearnerOuterClass.StatusMessage> responseObserver)
-
-
-
Method Detail
-
build
protected LearnerGrpc.LearnerStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
- Specified by:
build
in classio.grpc.stub.AbstractStub<LearnerGrpc.LearnerStub>
-
train
public void train(LearnerOuterClass.DataPackage request, io.grpc.stub.StreamObserver<LearnerOuterClass.StatusMessage> responseObserver)
-
predict
public void predict(LearnerOuterClass.DataPackage request, io.grpc.stub.StreamObserver<LearnerOuterClass.Prediction> responseObserver)
-
export
public void export(LearnerOuterClass.Empty request, io.grpc.stub.StreamObserver<LearnerOuterClass.Empty> responseObserver)
-
-