public static final class TextToSpeechGrpc.TextToSpeechStub extends AbstractAsyncStub<TextToSpeechGrpc.TextToSpeechStub>
Service that implements Google Cloud Text-to-Speech API.
AbstractStub.StubFactory<T extends AbstractStub<T>>
Modifier and Type | Method and Description |
---|---|
protected TextToSpeechGrpc.TextToSpeechStub |
build(Channel channel,
CallOptions callOptions) |
void |
listVoices(ListVoicesRequest request,
StreamObserver<ListVoicesResponse> responseObserver)
Returns a list of Voice supported for synthesis.
|
void |
synthesizeSpeech(SynthesizeSpeechRequest request,
StreamObserver<SynthesizeSpeechResponse> responseObserver)
Synthesizes speech synchronously: receive results after all text input
has been processed.
|
newStub, newStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOption, withWaitForReady
protected TextToSpeechGrpc.TextToSpeechStub build(Channel channel, CallOptions callOptions)
build
in class AbstractStub<TextToSpeechGrpc.TextToSpeechStub>
public void listVoices(ListVoicesRequest request, StreamObserver<ListVoicesResponse> responseObserver)
Returns a list of Voice supported for synthesis.
public void synthesizeSpeech(SynthesizeSpeechRequest request, StreamObserver<SynthesizeSpeechResponse> responseObserver)
Synthesizes speech synchronously: receive results after all text input has been processed.
Copyright © 2022 Google LLC. All rights reserved.