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 Type
    Method
    Description
    build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
     
    void
    getOpNames(com.google.protobuf.Empty request, io.grpc.stub.StreamObserver<OpNames> responseObserver)
    Query operation names.
    void
    run(ProcessRequest request, io.grpc.stub.StreamObserver<ProcessResponse> responseObserver)
    Process the input image
    io.grpc.stub.StreamObserver<ProcessRequest>
    runStream(io.grpc.stub.StreamObserver<ProcessResponse> responseObserver)
    Streaming version

    Methods inherited from class io.grpc.stub.AbstractAsyncStub

    newStub, newStub

    Methods inherited from class io.grpc.stub.AbstractStub

    getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOnReadyThreshold, withOption, withWaitForReady

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • build

      protected ProcessImageGrpc.ProcessImageStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
      Specified by:
      build in class io.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.