public static final class SpeechTranslationServiceGrpc.SpeechTranslationServiceBlockingV2Stub extends AbstractBlockingStub<SpeechTranslationServiceGrpc.SpeechTranslationServiceBlockingV2Stub>A stub to allow clients to do synchronous rpc calls to service SpeechTranslationService.
Provides translation from/to media types.
Inheritance
java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractBlockingStub > SpeechTranslationServiceGrpc.SpeechTranslationServiceBlockingV2StubMethods
build(Channel channel, CallOptions callOptions)
protected SpeechTranslationServiceGrpc.SpeechTranslationServiceBlockingV2Stub build(Channel channel, CallOptions callOptions)| Parameters | |
|---|---|
| Name | Description |
channel |
io.grpc.Channel |
callOptions |
io.grpc.CallOptions |
| Returns | |
|---|---|
| Type | Description |
SpeechTranslationServiceGrpc.SpeechTranslationServiceBlockingV2Stub |
|
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)
streamingTranslateSpeech()
public 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).
| Returns | |
|---|---|
| Type | Description |
io.grpc.stub.BlockingClientCall<StreamingTranslateSpeechRequest,StreamingTranslateSpeechResponse> |
|