Package biopb.image
Class ProcessImageGrpc.ProcessImageStub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractAsyncStub<ProcessImageGrpc.ProcessImageStub>
biopb.image.ProcessImageGrpc.ProcessImageStub
- Enclosing class:
- ProcessImageGrpc
public static final class ProcessImageGrpc.ProcessImageStub
extends io.grpc.stub.AbstractAsyncStub<ProcessImageGrpc.ProcessImageStub>
A stub to allow clients to do asynchronous rpc calls to service ProcessImage.
A generic image process protocol that returns a new image. Examples include denoising, super-resolution, and semantic segmentation.
-
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 TypeMethodDescriptionprotected ProcessImageGrpc.ProcessImageStubbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions) voidgetOpNames(com.google.protobuf.Empty request, io.grpc.stub.StreamObserver<OpNames> responseObserver) Query operation names.voidrun(ProcessRequest request, io.grpc.stub.StreamObserver<ProcessResponse> responseObserver) Process the input imageio.grpc.stub.StreamObserver<ProcessRequest>runStream(io.grpc.stub.StreamObserver<ProcessResponse> responseObserver) Streaming versionMethods inherited from class io.grpc.stub.AbstractAsyncStub
newStub, newStubMethods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOnReadyThreshold, withOption, withWaitForReady
-
Method Details
-
build
protected ProcessImageGrpc.ProcessImageStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<ProcessImageGrpc.ProcessImageStub>
-
run
public void run(ProcessRequest request, io.grpc.stub.StreamObserver<ProcessResponse> responseObserver) Process the input image
-
runStream
public io.grpc.stub.StreamObserver<ProcessRequest> runStream(io.grpc.stub.StreamObserver<ProcessResponse> responseObserver) Streaming version
-
getOpNames
public void getOpNames(com.google.protobuf.Empty request, io.grpc.stub.StreamObserver<OpNames> responseObserver) Query operation names. Server with a single op may not implement this call.
-