Class SpeechTranslationServiceGrpc.SpeechTranslationServiceImplBase (0.9.0)

public abstract static class SpeechTranslationServiceGrpc.SpeechTranslationServiceImplBase implements BindableService

Provides translation from/to media types.

Inheritance

java.lang.Object > SpeechTranslationServiceGrpc.SpeechTranslationServiceImplBase

Implements

io.grpc.BindableService

Constructors

SpeechTranslationServiceImplBase()

public SpeechTranslationServiceImplBase()

Methods

bindService()

public final ServerServiceDefinition bindService()
Returns
TypeDescription
io.grpc.ServerServiceDefinition

streamingTranslateSpeech(StreamObserver<StreamingTranslateSpeechResponse> responseObserver)

public StreamObserver<StreamingTranslateSpeechRequest> streamingTranslateSpeech(StreamObserver<StreamingTranslateSpeechResponse> responseObserver)

Performs bidirectional streaming speech translation: receive results while sending audio. This method is only available via the gRPC API (not REST).

Parameter
NameDescription
responseObserverio.grpc.stub.StreamObserver<StreamingTranslateSpeechResponse>
Returns
TypeDescription
io.grpc.stub.StreamObserver<StreamingTranslateSpeechRequest>