Interface SpeechTranslationServiceGrpc.AsyncService (0.43.0)

public static interface SpeechTranslationServiceGrpc.AsyncService

Provides translation from/to media types.

Methods

streamingTranslateSpeech(StreamObserver<StreamingTranslateSpeechResponse> responseObserver)

public default 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>