Class SqlTranslationServiceGrpc (0.51.0)

publicfinalclass SqlTranslationServiceGrpc

Provides other SQL dialects to GoogleSQL translation operations.

Inheritance

java.lang.Object > SqlTranslationServiceGrpc

Static Fields

SERVICE_NAME

publicstaticfinalStringSERVICE_NAME
Field Value
Type Description
String

Static Methods

bindService(SqlTranslationServiceGrpc.AsyncService service)

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

getServiceDescriptor()

publicstaticServiceDescriptorgetServiceDescriptor()
Returns
Type Description
io.grpc.ServiceDescriptor

getTranslateQueryMethod()

publicstaticMethodDescriptor<TranslateQueryRequest,TranslateQueryResponse>getTranslateQueryMethod()
Returns
Type Description
io.grpc.MethodDescriptor<TranslateQueryRequest,TranslateQueryResponse>

newBlockingStub(Channel channel)

publicstaticSqlTranslationServiceGrpc.SqlTranslationServiceBlockingStubnewBlockingStub(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
SqlTranslationServiceGrpc.SqlTranslationServiceBlockingStub

newFutureStub(Channel channel)

publicstaticSqlTranslationServiceGrpc.SqlTranslationServiceFutureStubnewFutureStub(Channelchannel)

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)

publicstaticSqlTranslationServiceGrpc.SqlTranslationServiceStubnewStub(Channelchannel)

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

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年11月19日 UTC.