public static final class SpeechTranslationServiceGrpc.SpeechTranslationServiceStub extends io.grpc.stub.AbstractAsyncStub<SpeechTranslationServiceGrpc.SpeechTranslationServiceStub>
Provides translation from/to media types.
| Modifier and Type | Method and 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.
|
protected SpeechTranslationServiceGrpc.SpeechTranslationServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
build in class io.grpc.stub.AbstractStub<SpeechTranslationServiceGrpc.SpeechTranslationServiceStub>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).
Copyright © 2022 Google LLC. All rights reserved.