google-cloud-texttospeech overview (2.1.5)

com.google.cloud.texttospeech.v1

A client to Cloud Text-to-Speech API

The interfaces provided are listed below, along with usage samples.

TextToSpeechClient

Service Description: Service that implements Google Cloud Text-to-Speech API.

Sample for TextToSpeechClient:


 try (TextToSpeechClient textToSpeechClient = TextToSpeechClient.create()) {
   String languageCode = "languageCode-2092349083";
   ListVoicesResponse response = textToSpeechClient.listVoices(languageCode);
 }
 

com.google.cloud.texttospeech.v1.stub

com.google.cloud.texttospeech.v1beta1

A client to Cloud Text-to-Speech API

The interfaces provided are listed below, along with usage samples.

TextToSpeechClient

Service Description: Service that implements Google Cloud Text-to-Speech API.

Sample for TextToSpeechClient:


 try (TextToSpeechClient textToSpeechClient = TextToSpeechClient.create()) {
   String languageCode = "languageCode-2092349083";
   ListVoicesResponse response = textToSpeechClient.listVoices(languageCode);
 }
 

com.google.cloud.texttospeech.v1beta1.stub