Class SpeechTranslationServiceGrpc.SpeechTranslationServiceStub
- java.lang.Object
-
- io.grpc.stub.AbstractStub<S>
-
- io.grpc.stub.AbstractAsyncStub<SpeechTranslationServiceGrpc.SpeechTranslationServiceStub>
-
- com.google.cloud.mediatranslation.v1beta1.SpeechTranslationServiceGrpc.SpeechTranslationServiceStub
-
- Enclosing class:
- SpeechTranslationServiceGrpc
public static final class SpeechTranslationServiceGrpc.SpeechTranslationServiceStub extends io.grpc.stub.AbstractAsyncStub<SpeechTranslationServiceGrpc.SpeechTranslationServiceStub>
A stub to allow clients to do asynchronous rpc calls to service SpeechTranslationService.Provides translation from/to media types.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected SpeechTranslationServiceGrpc.SpeechTranslationServiceStub
build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
io.grpc.stub.StreamObserver<StreamingTranslateSpeechRequest>
streamingTranslateSpeech(io.grpc.stub.StreamObserver<StreamingTranslateSpeechResponse> responseObserver)
Performs bidirectional streaming speech translation: receive results while sending audio.
-
-
-
Method Detail
-
build
protected SpeechTranslationServiceGrpc.SpeechTranslationServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
- Specified by:
build
in classio.grpc.stub.AbstractStub<SpeechTranslationServiceGrpc.SpeechTranslationServiceStub>
-
streamingTranslateSpeech
public io.grpc.stub.StreamObserver<StreamingTranslateSpeechRequest> streamingTranslateSpeech(io.grpc.stub.StreamObserver<StreamingTranslateSpeechResponse> responseObserver)
Performs bidirectional streaming speech translation: receive results while sending audio. This method is only available via the gRPC API (not REST).
-
-