Package biopb.image
Class ProcessImageGrpc.ProcessImageFutureStub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractFutureStub<ProcessImageGrpc.ProcessImageFutureStub>
biopb.image.ProcessImageGrpc.ProcessImageFutureStub
- Enclosing class:
- ProcessImageGrpc
public static final class ProcessImageGrpc.ProcessImageFutureStub
extends io.grpc.stub.AbstractFutureStub<ProcessImageGrpc.ProcessImageFutureStub>
A stub to allow clients to do ListenableFuture-style 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.ProcessImageFutureStubbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions) com.google.common.util.concurrent.ListenableFuture<OpNames>getOpNames(com.google.protobuf.Empty request) Query operation names.com.google.common.util.concurrent.ListenableFuture<ProcessResponse>run(ProcessRequest request) Process the input imageMethods inherited from class io.grpc.stub.AbstractFutureStub
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.ProcessImageFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<ProcessImageGrpc.ProcessImageFutureStub>
-
run
public com.google.common.util.concurrent.ListenableFuture<ProcessResponse> run(ProcessRequest request) Process the input image
-
getOpNames
public com.google.common.util.concurrent.ListenableFuture<OpNames> getOpNames(com.google.protobuf.Empty request) Query operation names. Server with a single op may not implement this call.
-