Class SpeechTranslationServiceGrpc (0.61.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
Type Description
String

Static Methods

bindService(SpeechTranslationServiceGrpc.AsyncService service)

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

getServiceDescriptor()

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

getStreamingTranslateSpeechMethod()

public static MethodDescriptor<StreamingTranslateSpeechRequest,StreamingTranslateSpeechResponse> getStreamingTranslateSpeechMethod()
Returns
Type Description
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
Name Description
channel io.grpc.Channel
Returns
Type Description
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
Name Description
channel io.grpc.Channel
Returns
Type Description
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
Name Description
channel io.grpc.Channel
Returns
Type Description
SpeechTranslationServiceGrpc.SpeechTranslationServiceStub