public abstract static class TextToSpeechGrpc.TextToSpeechImplBase extends Object implements BindableService
Service that implements Google Cloud Text-to-Speech API.
Constructor and Description |
---|
TextToSpeechImplBase() |
Modifier and Type | Method and Description |
---|---|
ServerServiceDefinition |
bindService() |
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.
|
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.
public final ServerServiceDefinition bindService()
bindService
in interface BindableService
Copyright © 2022 Google LLC. All rights reserved.