Class VersionsGrpc (2.31.0)

public final class VersionsGrpc

Manages versions of a service.

Inheritance

java.lang.Object > VersionsGrpc

Static Fields

SERVICE_NAME

public static final String SERVICE_NAME
Field Value
TypeDescription
String

Static Methods

bindService(VersionsGrpc.AsyncService service)

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

getCreateVersionMethod()

public static MethodDescriptor<CreateVersionRequest,Operation> getCreateVersionMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<CreateVersionRequest,Operation>

getDeleteVersionMethod()

public static MethodDescriptor<DeleteVersionRequest,Operation> getDeleteVersionMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<DeleteVersionRequest,Operation>

getGetVersionMethod()

public static MethodDescriptor<GetVersionRequest,Version> getGetVersionMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<GetVersionRequest,Version>

getListVersionsMethod()

public static MethodDescriptor<ListVersionsRequest,ListVersionsResponse> getListVersionsMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<ListVersionsRequest,ListVersionsResponse>

getServiceDescriptor()

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

getUpdateVersionMethod()

public static MethodDescriptor<UpdateVersionRequest,Operation> getUpdateVersionMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<UpdateVersionRequest,Operation>

newBlockingStub(Channel channel)

public static VersionsGrpc.VersionsBlockingStub 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
VersionsGrpc.VersionsBlockingStub

newFutureStub(Channel channel)

public static VersionsGrpc.VersionsFutureStub newFutureStub(Channel channel)

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

Parameter
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
VersionsGrpc.VersionsFutureStub

newStub(Channel channel)

public static VersionsGrpc.VersionsStub newStub(Channel channel)

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

Parameter
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
VersionsGrpc.VersionsStub