public abstract static class TextToSpeechGrpc.TextToSpeechImplBase implements BindableServiceService that implements Google Cloud Text-to-Speech API.
Implements
io.grpc.BindableServiceConstructors
TextToSpeechImplBase()
public TextToSpeechImplBase()Methods
bindService()
public final ServerServiceDefinition bindService()| Type | Description |
io.grpc.ServerServiceDefinition |
listVoices(ListVoicesRequest request, StreamObserver<ListVoicesResponse> responseObserver)
public void listVoices(ListVoicesRequest request, StreamObserver<ListVoicesResponse> responseObserver)Returns a list of Voice supported for synthesis.
| Name | Description |
request |
ListVoicesRequest |
responseObserver |
io.grpc.stub.StreamObserver<ListVoicesResponse> |
synthesizeSpeech(SynthesizeSpeechRequest request, StreamObserver<SynthesizeSpeechResponse> responseObserver)
public void synthesizeSpeech(SynthesizeSpeechRequest request, StreamObserver<SynthesizeSpeechResponse> responseObserver)Synthesizes speech synchronously: receive results after all text input has been processed.
| Name | Description |
request |
SynthesizeSpeechRequest |
responseObserver |
io.grpc.stub.StreamObserver<SynthesizeSpeechResponse> |