Class ExtractionPluginServiceGrpc.ExtractionPluginServiceBlockingStub
java.lang.Object
io.grpc.stub.AbstractStub<ExtractionPluginServiceGrpc.ExtractionPluginServiceBlockingStub>
io.grpc.stub.AbstractBlockingStub<ExtractionPluginServiceGrpc.ExtractionPluginServiceBlockingStub>
org.hansken.extraction.plugin.grpc.ExtractionPluginServiceGrpc.ExtractionPluginServiceBlockingStub
- Enclosing class:
ExtractionPluginServiceGrpc
public static final class ExtractionPluginServiceGrpc.ExtractionPluginServiceBlockingStub
extends io.grpc.stub.AbstractBlockingStub<ExtractionPluginServiceGrpc.ExtractionPluginServiceBlockingStub>
A stub to allow clients to do synchronous rpc calls to service ExtractionPluginService.
ExtractionPlugin service definition, that is implemented by the extraction plugin server.
-
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 TypeMethodDescriptionbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions) pluginInfo(com.google.protobuf.Empty request) Returns Extraction Plugin information, that is, a full description of the extraction plugin, and it expected input and outputs.transform(RpcTransformerRequest request) Request from the client to transform an input to a response.Methods inherited from class io.grpc.stub.AbstractBlockingStub
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 ExtractionPluginServiceGrpc.ExtractionPluginServiceBlockingStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<ExtractionPluginServiceGrpc.ExtractionPluginServiceBlockingStub>
-
pluginInfo
Returns Extraction Plugin information, that is, a full description of the extraction plugin, and it expected input and outputs.
-
transform
Request from the client to transform an input to a response. A plugin can provide several transform methods. Which method is used is supplied in the request. The transform is typically done using a model.
-