public static final class TextToSpeechGrpc.TextToSpeechFutureStub extends io.grpc.stub.AbstractStub<TextToSpeechGrpc.TextToSpeechFutureStub>
Service that implements Google Cloud Text-to-Speech API.
Modifier and Type | Method and Description |
---|---|
protected TextToSpeechGrpc.TextToSpeechFutureStub |
build(io.grpc.Channel channel,
io.grpc.CallOptions callOptions) |
com.google.common.util.concurrent.ListenableFuture<ListVoicesResponse> |
listVoices(ListVoicesRequest request)
Returns a list of [Voice][google.cloud.texttospeech.v1beta1.Voice]
supported for synthesis.
|
com.google.common.util.concurrent.ListenableFuture<SynthesizeSpeechResponse> |
synthesizeSpeech(SynthesizeSpeechRequest request)
Synthesizes speech synchronously: receive results after all text input
has been processed.
|
protected TextToSpeechGrpc.TextToSpeechFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
build
in class io.grpc.stub.AbstractStub<TextToSpeechGrpc.TextToSpeechFutureStub>
public com.google.common.util.concurrent.ListenableFuture<ListVoicesResponse> listVoices(ListVoicesRequest request)
Returns a list of [Voice][google.cloud.texttospeech.v1beta1.Voice] supported for synthesis.
public com.google.common.util.concurrent.ListenableFuture<SynthesizeSpeechResponse> synthesizeSpeech(SynthesizeSpeechRequest request)
Synthesizes speech synchronously: receive results after all text input has been processed.