Class VersionsGrpc (2.14.0)

publicfinalclass VersionsGrpc

Manages versions of a service.

Inheritance

java.lang.Object > VersionsGrpc

Static Fields

SERVICE_NAME

publicstaticfinalStringSERVICE_NAME
Field Value
Type Description
String

Static Methods

bindService(VersionsGrpc.AsyncService service)

publicstaticfinalServerServiceDefinitionbindService(VersionsGrpc.AsyncServiceservice)
Parameter
Name Description
service VersionsGrpc.AsyncService
Returns
Type Description
io.grpc.ServerServiceDefinition

getCreateVersionMethod()

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

getDeleteVersionMethod()

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

getGetVersionMethod()

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

getListVersionsMethod()

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

getServiceDescriptor()

publicstaticServiceDescriptorgetServiceDescriptor()
Returns
Type Description
io.grpc.ServiceDescriptor

getUpdateVersionMethod()

publicstaticMethodDescriptor<UpdateVersionRequest,Operation>getUpdateVersionMethod()
Returns
Type Description
io.grpc.MethodDescriptor<UpdateVersionRequest,Operation>

newBlockingStub(Channel channel)

publicstaticVersionsGrpc.VersionsBlockingStubnewBlockingStub(Channelchannel)

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)

publicstaticVersionsGrpc.VersionsFutureStubnewFutureStub(Channelchannel)

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)

publicstaticVersionsGrpc.VersionsStubnewStub(Channelchannel)

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

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年10月30日 UTC.