Package com.google.cloud.texttospeech.v1
Class TextToSpeechGrpc.TextToSpeechBlockingStub
- java.lang.Object
-
- io.grpc.stub.AbstractStub<S>
-
- io.grpc.stub.AbstractBlockingStub<TextToSpeechGrpc.TextToSpeechBlockingStub>
-
- com.google.cloud.texttospeech.v1.TextToSpeechGrpc.TextToSpeechBlockingStub
-
- Enclosing class:
- TextToSpeechGrpc
public static final class TextToSpeechGrpc.TextToSpeechBlockingStub extends io.grpc.stub.AbstractBlockingStub<TextToSpeechGrpc.TextToSpeechBlockingStub>
A stub to allow clients to do synchronous rpc calls to service TextToSpeech.Service that implements Google Cloud Text-to-Speech API.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected TextToSpeechGrpc.TextToSpeechBlockingStub
build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
ListVoicesResponse
listVoices(ListVoicesRequest request)
Returns a list of Voice supported for synthesis.SynthesizeSpeechResponse
synthesizeSpeech(SynthesizeSpeechRequest request)
Synthesizes speech synchronously: receive results after all text input has been processed.
-
-
-
Method Detail
-
build
protected TextToSpeechGrpc.TextToSpeechBlockingStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
- Specified by:
build
in classio.grpc.stub.AbstractStub<TextToSpeechGrpc.TextToSpeechBlockingStub>
-
listVoices
public ListVoicesResponse listVoices(ListVoicesRequest request)
Returns a list of Voice supported for synthesis.
-
synthesizeSpeech
public SynthesizeSpeechResponse synthesizeSpeech(SynthesizeSpeechRequest request)
Synthesizes speech synchronously: receive results after all text input has been processed.
-
-