public abstract static class TextToSpeechGrpc.TextToSpeechImplBase
extends java.lang.Object
implements io.grpc.BindableService
Service that implements Google Cloud Text-to-Speech API.
Constructor and Description |
---|
TextToSpeechImplBase() |
Modifier and Type | Method and Description |
---|---|
io.grpc.ServerServiceDefinition |
bindService() |
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.
|
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.
public final io.grpc.ServerServiceDefinition bindService()
bindService
in interface io.grpc.BindableService