Class TextToSpeechGrpc.TextToSpeechFutureStub
- java.lang.Object
-
- io.grpc.stub.AbstractStub<S>
-
- io.grpc.stub.AbstractFutureStub<TextToSpeechGrpc.TextToSpeechFutureStub>
-
- com.google.cloud.texttospeech.v1beta1.TextToSpeechGrpc.TextToSpeechFutureStub
-
- Enclosing class:
- TextToSpeechGrpc
public static final class TextToSpeechGrpc.TextToSpeechFutureStub extends io.grpc.stub.AbstractFutureStub<TextToSpeechGrpc.TextToSpeechFutureStub>
A stub to allow clients to do ListenableFuture-style 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.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 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.
-
-
-
Method Detail
-
build
protected TextToSpeechGrpc.TextToSpeechFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
- Specified by:
build
in classio.grpc.stub.AbstractStub<TextToSpeechGrpc.TextToSpeechFutureStub>
-
listVoices
public com.google.common.util.concurrent.ListenableFuture<ListVoicesResponse> listVoices(ListVoicesRequest request)
Returns a list of Voice supported for synthesis.
-
synthesizeSpeech
public com.google.common.util.concurrent.ListenableFuture<SynthesizeSpeechResponse> synthesizeSpeech(SynthesizeSpeechRequest request)
Synthesizes speech synchronously: receive results after all text input has been processed.
-
-