Package com.google.cloud.run.v2
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 TypeMethodDescriptionprotected RevisionsGrpc.RevisionsStubbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions) voiddeleteRevision(DeleteRevisionRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver) Deletes a Revision.voidgetRevision(GetRevisionRequest request, io.grpc.stub.StreamObserver<Revision> responseObserver) Gets information about a Revision.voidlistRevisions(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, newStubMethods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOnReadyThreshold, withOption, withWaitForReady
-
Method Details
-
build
protected RevisionsGrpc.RevisionsStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.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.
-