Class VersionsGrpc (2.42.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
Type Description
String

Static Methods

bindService(VersionsGrpc.AsyncService service)

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

getCreateVersionMethod()

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

getDeleteVersionMethod()

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

getGetVersionMethod()

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

getListVersionsMethod()

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

getServiceDescriptor()

public static ServiceDescriptor getServiceDescriptor()
Returns
Type Description
io.grpc.ServiceDescriptor

getUpdateVersionMethod()

public static MethodDescriptor<UpdateVersionRequest,Operation> getUpdateVersionMethod()
Returns
Type Description
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
Name Description
channel io.grpc.Channel
Returns
Type Description
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
Name Description
channel io.grpc.Channel
Returns
Type Description
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
Name Description
channel io.grpc.Channel
Returns
Type Description
VersionsGrpc.VersionsStub