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