@Generated(value="by gapic-generator-java")
See: Description
Class | Description |
---|---|
AudioConfig |
Description of audio data to be synthesized.
|
AudioConfig.Builder |
Description of audio data to be synthesized.
|
CustomVoiceParams |
Description of the custom voice to be synthesized.
|
CustomVoiceParams.Builder |
Description of the custom voice to be synthesized.
|
ListVoicesRequest |
The top-level message sent by the client for the `ListVoices` method.
|
ListVoicesRequest.Builder |
The top-level message sent by the client for the `ListVoices` method.
|
ListVoicesResponse |
The message returned to the client by the `ListVoices` method.
|
ListVoicesResponse.Builder |
The message returned to the client by the `ListVoices` method.
|
SynthesisInput |
Contains text input to be synthesized.
|
SynthesisInput.Builder |
Contains text input to be synthesized.
|
SynthesizeSpeechRequest |
The top-level message sent by the client for the `SynthesizeSpeech` method.
|
SynthesizeSpeechRequest.Builder |
The top-level message sent by the client for the `SynthesizeSpeech` method.
|
SynthesizeSpeechResponse |
The message returned to the client by the `SynthesizeSpeech` method.
|
SynthesizeSpeechResponse.Builder |
The message returned to the client by the `SynthesizeSpeech` method.
|
TextToSpeechClient |
Service Description: Service that implements Google Cloud Text-to-Speech API.
|
TextToSpeechGrpc |
Service that implements Google Cloud Text-to-Speech API.
|
TextToSpeechGrpc.TextToSpeechBlockingStub |
Service that implements Google Cloud Text-to-Speech API.
|
TextToSpeechGrpc.TextToSpeechFutureStub |
Service that implements Google Cloud Text-to-Speech API.
|
TextToSpeechGrpc.TextToSpeechImplBase |
Service that implements Google Cloud Text-to-Speech API.
|
TextToSpeechGrpc.TextToSpeechStub |
Service that implements Google Cloud Text-to-Speech API.
|
TextToSpeechProto | |
TextToSpeechSettings |
Settings class to configure an instance of
TextToSpeechClient . |
TextToSpeechSettings.Builder |
Builder for TextToSpeechSettings.
|
Voice |
Description of a voice supported by the TTS service.
|
Voice.Builder |
Description of a voice supported by the TTS service.
|
VoiceSelectionParams |
Description of which voice to use for a synthesis request.
|
VoiceSelectionParams.Builder |
Description of which voice to use for a synthesis request.
|
Enum | Description |
---|---|
AudioEncoding |
Configuration to set up audio encoder.
|
CustomVoiceParams.ReportedUsage |
The usage of the synthesized audio.
|
SsmlVoiceGender |
Gender of the voice as described in
[SSML voice element](https://www.w3.org/TR/speech-synthesis11/#edef_voice).
|
SynthesisInput.InputSourceCase |
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:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (TextToSpeechClient textToSpeechClient = TextToSpeechClient.create()) {
String languageCode = "languageCode-2092349083";
ListVoicesResponse response = textToSpeechClient.listVoices(languageCode);
}
Copyright © 2022 Google LLC. All rights reserved.