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