Class RegionsServiceGrpc (0.11.0)

public final class RegionsServiceGrpc

Manages regions configuration. This API defines the following resource model:

  • Region

Inheritance

java.lang.Object > RegionsServiceGrpc

Static Fields

SERVICE_NAME

public static final String SERVICE_NAME
Field Value
Type Description
String

Static Methods

bindService(RegionsServiceGrpc.AsyncService service)

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

getCreateRegionMethod()

public static MethodDescriptor<CreateRegionRequest,Region> getCreateRegionMethod()
Returns
Type Description
io.grpc.MethodDescriptor<CreateRegionRequest,Region>

getDeleteRegionMethod()

public static MethodDescriptor<DeleteRegionRequest,Empty> getDeleteRegionMethod()
Returns
Type Description
io.grpc.MethodDescriptor<DeleteRegionRequest,Empty>

getGetRegionMethod()

public static MethodDescriptor<GetRegionRequest,Region> getGetRegionMethod()
Returns
Type Description
io.grpc.MethodDescriptor<GetRegionRequest,Region>

getListRegionsMethod()

public static MethodDescriptor<ListRegionsRequest,ListRegionsResponse> getListRegionsMethod()
Returns
Type Description
io.grpc.MethodDescriptor<ListRegionsRequest,ListRegionsResponse>

getServiceDescriptor()

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

getUpdateRegionMethod()

public static MethodDescriptor<UpdateRegionRequest,Region> getUpdateRegionMethod()
Returns
Type Description
io.grpc.MethodDescriptor<UpdateRegionRequest,Region>

newBlockingStub(Channel channel)

public static RegionsServiceGrpc.RegionsServiceBlockingStub 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
RegionsServiceGrpc.RegionsServiceBlockingStub

newFutureStub(Channel channel)

public static RegionsServiceGrpc.RegionsServiceFutureStub 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
RegionsServiceGrpc.RegionsServiceFutureStub

newStub(Channel channel)

public static RegionsServiceGrpc.RegionsServiceStub 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
RegionsServiceGrpc.RegionsServiceStub