Class SqlTranslationServiceGrpc (0.52.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
Type Description
String

Static Methods

bindService(SqlTranslationServiceGrpc.AsyncService service)

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

getServiceDescriptor()

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

getTranslateQueryMethod()

public static MethodDescriptor<TranslateQueryRequest,TranslateQueryResponse> getTranslateQueryMethod()
Returns
Type Description
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
Name Description
channel io.grpc.Channel
Returns
Type Description
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
Name Description
channel io.grpc.Channel
Returns
Type Description
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
Name Description
channel io.grpc.Channel
Returns
Type Description
SqlTranslationServiceGrpc.SqlTranslationServiceStub