Class RevisionsGrpc (0.42.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
Type Description
String

Static Methods

bindService(RevisionsGrpc.AsyncService service)

public static final ServerServiceDefinition bindService(RevisionsGrpc.AsyncService service)
Parameter
Name Description
service RevisionsGrpc.AsyncService
Returns
Type Description
io.grpc.ServerServiceDefinition

getDeleteRevisionMethod()

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

getGetRevisionMethod()

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

getListRevisionsMethod()

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

getServiceDescriptor()

public static ServiceDescriptor getServiceDescriptor()
Returns
Type Description
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
Name Description
channel io.grpc.Channel
Returns
Type Description
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
Name Description
channel io.grpc.Channel
Returns
Type Description
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
Name Description
channel io.grpc.Channel
Returns
Type Description
RevisionsGrpc.RevisionsStub