Class RevisionsGrpc (0.16.0)

public final class RevisionsGrpc

Cloud Run Revision Control Plane API.

Inheritance

java.lang.Object > RevisionsGrpc

Static Fields

SERVICE_NAME

public static final String SERVICE_NAME
Field Value
TypeDescription
String

Static Methods

bindService(RevisionsGrpc.AsyncService service)

public static final ServerServiceDefinition bindService(RevisionsGrpc.AsyncService service)
Parameter
NameDescription
serviceRevisionsGrpc.AsyncService
Returns
TypeDescription
io.grpc.ServerServiceDefinition

getDeleteRevisionMethod()

public static MethodDescriptor<DeleteRevisionRequest,Operation> getDeleteRevisionMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<DeleteRevisionRequest,Operation>

getGetRevisionMethod()

public static MethodDescriptor<GetRevisionRequest,Revision> getGetRevisionMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<GetRevisionRequest,Revision>

getListRevisionsMethod()

public static MethodDescriptor<ListRevisionsRequest,ListRevisionsResponse> getListRevisionsMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<ListRevisionsRequest,ListRevisionsResponse>

getServiceDescriptor()

public static ServiceDescriptor getServiceDescriptor()
Returns
TypeDescription
io.grpc.ServiceDescriptor

newBlockingStub(Channel channel)

public static RevisionsGrpc.RevisionsBlockingStub newBlockingStub(Channel channel)

Creates a new blocking-style stub that supports unary and streaming output calls on the service

Parameter
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
RevisionsGrpc.RevisionsBlockingStub

newFutureStub(Channel channel)

public static RevisionsGrpc.RevisionsFutureStub newFutureStub(Channel channel)

Creates a new ListenableFuture-style stub that supports unary calls on the service

Parameter
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
RevisionsGrpc.RevisionsFutureStub

newStub(Channel channel)

public static RevisionsGrpc.RevisionsStub newStub(Channel channel)

Creates a new async stub that supports all call types for the service

Parameter
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
RevisionsGrpc.RevisionsStub