Class RevisionsGrpc.RevisionsStub

java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractAsyncStub<RevisionsGrpc.RevisionsStub>
com.google.cloud.run.v2.RevisionsGrpc.RevisionsStub
Enclosing class:
RevisionsGrpc

public static final class RevisionsGrpc.RevisionsStub extends io.grpc.stub.AbstractAsyncStub<RevisionsGrpc.RevisionsStub>
A stub to allow clients to do asynchronous rpc calls to service Revisions.
 Cloud Run Revision Control Plane API.
 
  • 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
    deleteRevision(DeleteRevisionRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver)
    Deletes a Revision.
    void
    getRevision(GetRevisionRequest request, io.grpc.stub.StreamObserver<Revision> responseObserver)
    Gets information about a Revision.
    void
    listRevisions(ListRevisionsRequest request, io.grpc.stub.StreamObserver<ListRevisionsResponse> responseObserver)
    Lists Revisions from a given Service, or from a given location.

    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, 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 RevisionsGrpc.RevisionsStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
      Specified by:
      build in class io.grpc.stub.AbstractStub<RevisionsGrpc.RevisionsStub>
    • getRevision

      public void getRevision(GetRevisionRequest request, io.grpc.stub.StreamObserver<Revision> responseObserver)
       Gets information about a Revision.
       
    • listRevisions

      public void listRevisions(ListRevisionsRequest request, io.grpc.stub.StreamObserver<ListRevisionsResponse> responseObserver)
       Lists Revisions from a given Service, or from a given location.  Results
       are sorted by creation time, descending.
       
    • deleteRevision

      public void deleteRevision(DeleteRevisionRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver)
       Deletes a Revision.