Class SqlRegionsServiceGrpc (0.1.0)

public final class SqlRegionsServiceGrpc

Service that exposes Cloud SQL region information. This service is only used internally and does not follow the same patterns as the other v1 RPCs.

Inheritance

java.lang.Object > SqlRegionsServiceGrpc

Static Fields

SERVICE_NAME

public static final String SERVICE_NAME
Field Value
Type Description
String

Static Methods

bindService(SqlRegionsServiceGrpc.AsyncService service)

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

getServiceDescriptor()

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

newBlockingStub(Channel channel)

public static SqlRegionsServiceGrpc.SqlRegionsServiceBlockingStub 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
SqlRegionsServiceGrpc.SqlRegionsServiceBlockingStub

newBlockingV2Stub(Channel channel)

public static SqlRegionsServiceGrpc.SqlRegionsServiceBlockingV2Stub newBlockingV2Stub(Channel channel)

Creates a new blocking-style stub that supports all types of calls on the service

Parameter
Name Description
channel io.grpc.Channel
Returns
Type Description
SqlRegionsServiceGrpc.SqlRegionsServiceBlockingV2Stub

newFutureStub(Channel channel)

public static SqlRegionsServiceGrpc.SqlRegionsServiceFutureStub 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
SqlRegionsServiceGrpc.SqlRegionsServiceFutureStub

newStub(Channel channel)

public static SqlRegionsServiceGrpc.SqlRegionsServiceStub 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
SqlRegionsServiceGrpc.SqlRegionsServiceStub