Class SqlTranslationServiceGrpc (0.32.0)

public final class SqlTranslationServiceGrpc

Provides other SQL dialects to GoogleSQL translation operations.

Inheritance

java.lang.Object > SqlTranslationServiceGrpc

Static Fields

SERVICE_NAME

public static final String SERVICE_NAME
Field Value
TypeDescription
String

Static Methods

bindService(SqlTranslationServiceGrpc.AsyncService service)

public static final ServerServiceDefinition bindService(SqlTranslationServiceGrpc.AsyncService service)
Parameter
NameDescription
serviceSqlTranslationServiceGrpc.AsyncService
Returns
TypeDescription
io.grpc.ServerServiceDefinition

getServiceDescriptor()

public static ServiceDescriptor getServiceDescriptor()
Returns
TypeDescription
io.grpc.ServiceDescriptor

getTranslateQueryMethod()

public static MethodDescriptor<TranslateQueryRequest,TranslateQueryResponse> getTranslateQueryMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<TranslateQueryRequest,TranslateQueryResponse>

newBlockingStub(Channel channel)

public static SqlTranslationServiceGrpc.SqlTranslationServiceBlockingStub newBlockingStub(Channel channel)

Creates a new blocking-style stub that supports unary and streaming output calls on the service

Parameter
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
SqlTranslationServiceGrpc.SqlTranslationServiceBlockingStub

newFutureStub(Channel channel)

public static SqlTranslationServiceGrpc.SqlTranslationServiceFutureStub newFutureStub(Channel channel)

Creates a new ListenableFuture-style stub that supports unary calls on the service

Parameter
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
SqlTranslationServiceGrpc.SqlTranslationServiceFutureStub

newStub(Channel channel)

public static SqlTranslationServiceGrpc.SqlTranslationServiceStub newStub(Channel channel)

Creates a new async stub that supports all call types for the service

Parameter
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
SqlTranslationServiceGrpc.SqlTranslationServiceStub