Package com.google.cloud.texttospeech.v1 (2.42.0)

GitHub RepositoryRPC DocumentationREST Documentation

Client Classes

Client classes are the main entry point to using a package. They contain several variations of Java methods for each of the API's methods.

Client Description
com.google.cloud.texttospeech.v1.TextToSpeechClient Service Description: Service that implements Google Cloud Text-to-Speech API.

This class provides the ability to make remote calls to the backing service through method calls that map to API methods. Sample code to get started:

com.google.cloud.texttospeech.v1.TextToSpeechLongAudioSynthesizeClient Service Description: Service that implements Google Cloud Text-to-Speech API.

This class provides the ability to make remote calls to the backing service through method calls that map to API methods. Sample code to get started:

Settings Classes

Settings classes can be used to configure credentials, endpoints, and retry settings for a Client.

Settings Description
com.google.cloud.texttospeech.v1.TextToSpeechLongAudioSynthesizeSettings Settings class to configure an instance of TextToSpeechLongAudioSynthesizeClient.

The default instance has everything set to sensible defaults:

com.google.cloud.texttospeech.v1.TextToSpeechSettings Settings class to configure an instance of TextToSpeechClient.

The default instance has everything set to sensible defaults:

Classes

Class Description
com.google.cloud.texttospeech.v1.AudioConfig Description of audio data to be synthesized.
com.google.cloud.texttospeech.v1.AudioConfig.Builder Description of audio data to be synthesized.
com.google.cloud.texttospeech.v1.CustomVoiceParams Description of the custom voice to be synthesized.
com.google.cloud.texttospeech.v1.CustomVoiceParams.Builder Description of the custom voice to be synthesized.
com.google.cloud.texttospeech.v1.ListVoicesRequest The top-level message sent by the client for the ListVoices method.
com.google.cloud.texttospeech.v1.ListVoicesRequest.Builder The top-level message sent by the client for the ListVoices method.
com.google.cloud.texttospeech.v1.ListVoicesResponse The message returned to the client by the ListVoices method.
com.google.cloud.texttospeech.v1.ListVoicesResponse.Builder The message returned to the client by the ListVoices method.
com.google.cloud.texttospeech.v1.SynthesisInput Contains text input to be synthesized. Either text or ssml must be supplied. Supplying both or neither returns google.rpc.Code.INVALID_ARGUMENT. The
com.google.cloud.texttospeech.v1.SynthesisInput.Builder Contains text input to be synthesized. Either text or ssml must be supplied. Supplying both or neither returns google.rpc.Code.INVALID_ARGUMENT. The
com.google.cloud.texttospeech.v1.SynthesizeLongAudioMetadata Metadata for response returned by the SynthesizeLongAudio method.
com.google.cloud.texttospeech.v1.SynthesizeLongAudioMetadata.Builder Metadata for response returned by the SynthesizeLongAudio method.
com.google.cloud.texttospeech.v1.SynthesizeLongAudioRequest The top-level message sent by the client for the SynthesizeLongAudio method.
com.google.cloud.texttospeech.v1.SynthesizeLongAudioRequest.Builder The top-level message sent by the client for the SynthesizeLongAudio method.
com.google.cloud.texttospeech.v1.SynthesizeLongAudioResponse The message returned to the client by the SynthesizeLongAudio method.
com.google.cloud.texttospeech.v1.SynthesizeLongAudioResponse.Builder The message returned to the client by the SynthesizeLongAudio method.
com.google.cloud.texttospeech.v1.SynthesizeSpeechRequest The top-level message sent by the client for the SynthesizeSpeech method.
com.google.cloud.texttospeech.v1.SynthesizeSpeechRequest.Builder The top-level message sent by the client for the SynthesizeSpeech method.
com.google.cloud.texttospeech.v1.SynthesizeSpeechResponse The message returned to the client by the SynthesizeSpeech method.
com.google.cloud.texttospeech.v1.SynthesizeSpeechResponse.Builder The message returned to the client by the SynthesizeSpeech method.
com.google.cloud.texttospeech.v1.TextToSpeechGrpc Service that implements Google Cloud Text-to-Speech API.
com.google.cloud.texttospeech.v1.TextToSpeechGrpc.TextToSpeechImplBase Base class for the server implementation of the service TextToSpeech. Service that implements Google Cloud Text-to-Speech API.
com.google.cloud.texttospeech.v1.TextToSpeechLongAudioSynthesisProto
com.google.cloud.texttospeech.v1.TextToSpeechLongAudioSynthesizeGrpc Service that implements Google Cloud Text-to-Speech API.
com.google.cloud.texttospeech.v1.TextToSpeechLongAudioSynthesizeGrpc.TextToSpeechLongAudioSynthesizeImplBase Base class for the server implementation of the service TextToSpeechLongAudioSynthesize. Service that implements Google Cloud Text-to-Speech API.
com.google.cloud.texttospeech.v1.TextToSpeechLongAudioSynthesizeSettings.Builder Builder for TextToSpeechLongAudioSynthesizeSettings.
com.google.cloud.texttospeech.v1.TextToSpeechProto
com.google.cloud.texttospeech.v1.TextToSpeechSettings.Builder Builder for TextToSpeechSettings.
com.google.cloud.texttospeech.v1.Voice Description of a voice supported by the TTS service.
com.google.cloud.texttospeech.v1.Voice.Builder Description of a voice supported by the TTS service.
com.google.cloud.texttospeech.v1.VoiceSelectionParams Description of which voice to use for a synthesis request.
com.google.cloud.texttospeech.v1.VoiceSelectionParams.Builder Description of which voice to use for a synthesis request.

Interfaces

Interface Description
com.google.cloud.texttospeech.v1.AudioConfigOrBuilder
com.google.cloud.texttospeech.v1.CustomVoiceParamsOrBuilder
com.google.cloud.texttospeech.v1.ListVoicesRequestOrBuilder
com.google.cloud.texttospeech.v1.ListVoicesResponseOrBuilder
com.google.cloud.texttospeech.v1.SynthesisInputOrBuilder
com.google.cloud.texttospeech.v1.SynthesizeLongAudioMetadataOrBuilder
com.google.cloud.texttospeech.v1.SynthesizeLongAudioRequestOrBuilder
com.google.cloud.texttospeech.v1.SynthesizeLongAudioResponseOrBuilder
com.google.cloud.texttospeech.v1.SynthesizeSpeechRequestOrBuilder
com.google.cloud.texttospeech.v1.SynthesizeSpeechResponseOrBuilder
com.google.cloud.texttospeech.v1.TextToSpeechGrpc.AsyncService Service that implements Google Cloud Text-to-Speech API.
com.google.cloud.texttospeech.v1.TextToSpeechLongAudioSynthesizeGrpc.AsyncService Service that implements Google Cloud Text-to-Speech API.
com.google.cloud.texttospeech.v1.VoiceOrBuilder
com.google.cloud.texttospeech.v1.VoiceSelectionParamsOrBuilder

Enums

Enum Description
com.google.cloud.texttospeech.v1.AudioEncoding Configuration to set up audio encoder. The encoding determines the output audio format that we'd like.
com.google.cloud.texttospeech.v1.CustomVoiceParams.ReportedUsage Deprecated. The usage of the synthesized audio. Usage does not affect billing.
com.google.cloud.texttospeech.v1.SsmlVoiceGender Gender of the voice as described in SSML voice element.
com.google.cloud.texttospeech.v1.SynthesisInput.InputSourceCase