Class SpeechTranslationServiceGrpc.SpeechTranslationServiceBlockingV2Stub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractBlockingStub<SpeechTranslationServiceGrpc.SpeechTranslationServiceBlockingV2Stub>
com.google.cloud.mediatranslation.v1beta1.SpeechTranslationServiceGrpc.SpeechTranslationServiceBlockingV2Stub
- Enclosing class:
- SpeechTranslationServiceGrpc
public static final class SpeechTranslationServiceGrpc.SpeechTranslationServiceBlockingV2Stub
extends io.grpc.stub.AbstractBlockingStub<SpeechTranslationServiceGrpc.SpeechTranslationServiceBlockingV2Stub>
A stub to allow clients to do synchronous rpc calls to service SpeechTranslationService.
Provides translation from/to media types.
-
Nested Class Summary
Nested classes/interfaces inherited from class io.grpc.stub.AbstractStub
io.grpc.stub.AbstractStub.StubFactory<T extends io.grpc.stub.AbstractStub<T>> -
Method Summary
Modifier and TypeMethodDescriptionbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions) io.grpc.stub.BlockingClientCall<StreamingTranslateSpeechRequest,StreamingTranslateSpeechResponse> Performs bidirectional streaming speech translation: receive results while sending audio.Methods inherited from class io.grpc.stub.AbstractBlockingStub
newStub, newStubMethods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOnReadyThreshold, withOption, withWaitForReady
-
Method Details
-
build
protected SpeechTranslationServiceGrpc.SpeechTranslationServiceBlockingV2Stub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<SpeechTranslationServiceGrpc.SpeechTranslationServiceBlockingV2Stub>
-
streamingTranslateSpeech
@ExperimentalApi("https://github.com/grpc/grpc-java/issues/10918") public io.grpc.stub.BlockingClientCall<StreamingTranslateSpeechRequest,StreamingTranslateSpeechResponse> streamingTranslateSpeech()Performs bidirectional streaming speech translation: receive results while sending audio. This method is only available via the gRPC API (not REST).
-