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