Class SpeechTranslationServiceGrpc (0.47.0)

public final class SpeechTranslationServiceGrpc

Provides translation from/to media types.

Inheritance

java.lang.Object > SpeechTranslationServiceGrpc

Static Fields

SERVICE_NAME

public static final String SERVICE_NAME
Field Value
TypeDescription
String

Static Methods

bindService(SpeechTranslationServiceGrpc.AsyncService service)

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

getServiceDescriptor()

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

getStreamingTranslateSpeechMethod()

public static MethodDescriptor<StreamingTranslateSpeechRequest,StreamingTranslateSpeechResponse> getStreamingTranslateSpeechMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<StreamingTranslateSpeechRequest,StreamingTranslateSpeechResponse>

newBlockingStub(Channel channel)

public static SpeechTranslationServiceGrpc.SpeechTranslationServiceBlockingStub 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
SpeechTranslationServiceGrpc.SpeechTranslationServiceBlockingStub

newFutureStub(Channel channel)

public static SpeechTranslationServiceGrpc.SpeechTranslationServiceFutureStub newFutureStub(Channel channel)

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

Parameter
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
SpeechTranslationServiceGrpc.SpeechTranslationServiceFutureStub

newStub(Channel channel)

public static SpeechTranslationServiceGrpc.SpeechTranslationServiceStub newStub(Channel channel)

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

Parameter
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
SpeechTranslationServiceGrpc.SpeechTranslationServiceStub