Class InferenceGrpc.InferenceStub
- java.lang.Object
-
- io.grpc.stub.AbstractStub<InferenceGrpc.InferenceStub>
-
- ai.konduit.serving.vertx.protocols.grpc.api.InferenceGrpc.InferenceStub
-
- Enclosing class:
- InferenceGrpc
public static final class InferenceGrpc.InferenceStub extends io.grpc.stub.AbstractStub<InferenceGrpc.InferenceStub>
The main grpc service definition.
-
-
Constructor Summary
Constructors Constructor Description InferenceStub(io.grpc.Channel channel)InferenceStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected InferenceGrpc.InferenceStubbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions)voidpredict(ai.konduit.serving.pipeline.impl.data.protobuf.DataProtoMessage.DataScheme request, io.grpc.stub.StreamObserver<ai.konduit.serving.pipeline.impl.data.protobuf.DataProtoMessage.DataScheme> responseObserver)predicts an output
-
-
-
Method Detail
-
build
protected InferenceGrpc.InferenceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
- Specified by:
buildin classio.grpc.stub.AbstractStub<InferenceGrpc.InferenceStub>
-
predict
public void predict(ai.konduit.serving.pipeline.impl.data.protobuf.DataProtoMessage.DataScheme request, io.grpc.stub.StreamObserver<ai.konduit.serving.pipeline.impl.data.protobuf.DataProtoMessage.DataScheme> responseObserver)predicts an output
-
-