Class VersionsGrpc (4.20.0)

public final class VersionsGrpc

Service for managing Versions.

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,Version> getCreateVersionMethod()
Returns
Type Description
io.grpc.MethodDescriptor<CreateVersionRequest,Version>

getDeleteVersionMethod()

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

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,Version> getUpdateVersionMethod()
Returns
Type Description
io.grpc.MethodDescriptor<UpdateVersionRequest,Version>

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