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

GitHub Repository RPC Documentation REST 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.AdvancedVoiceOptions Used for advanced voice options.
com.google.cloud.texttospeech.v1.AdvancedVoiceOptions.Builder Used for advanced voice options.
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.CustomPronunciationParams Pronunciation customization for a phrase.
com.google.cloud.texttospeech.v1.CustomPronunciationParams.Builder Pronunciation customization for a phrase.
com.google.cloud.texttospeech.v1.CustomPronunciations A collection of pronunciation customizations.
com.google.cloud.texttospeech.v1.CustomPronunciations.Builder A collection of pronunciation customizations.
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.MultiSpeakerMarkup A collection of turns for multi-speaker synthesis.
com.google.cloud.texttospeech.v1.MultiSpeakerMarkup.Builder A collection of turns for multi-speaker synthesis.
com.google.cloud.texttospeech.v1.MultiSpeakerMarkup.Turn A Multi-speaker turn.
com.google.cloud.texttospeech.v1.MultiSpeakerMarkup.Turn.Builder A Multi-speaker turn.
com.google.cloud.texttospeech.v1.StreamingSynthesisInput Input to be synthesized.
com.google.cloud.texttospeech.v1.StreamingSynthesisInput.Builder Input to be synthesized.
com.google.cloud.texttospeech.v1.StreamingSynthesizeConfig Provides configuration information for the StreamingSynthesize request.
com.google.cloud.texttospeech.v1.StreamingSynthesizeConfig.Builder Provides configuration information for the StreamingSynthesize request.
com.google.cloud.texttospeech.v1.StreamingSynthesizeRequest Request message for the StreamingSynthesize method. Multiple StreamingSynthesizeRequest messages are sent in one call. The first message must contain a streaming_config that
com.google.cloud.texttospeech.v1.StreamingSynthesizeRequest.Builder Request message for the StreamingSynthesize method. Multiple StreamingSynthesizeRequest messages are sent in one call. The first message must contain a streaming_config that
com.google.cloud.texttospeech.v1.StreamingSynthesizeResponse StreamingSynthesizeResponse is the only message returned to the client by StreamingSynthesize method. A series of zero or more StreamingSynthesizeResponse messages are streamed back to the client.
com.google.cloud.texttospeech.v1.StreamingSynthesizeResponse.Builder StreamingSynthesizeResponse is the only message returned to the client by StreamingSynthesize method. A series of zero or more StreamingSynthesizeResponse messages are streamed back to the client.
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.VoiceCloneParams The configuration of Voice Clone feature.
com.google.cloud.texttospeech.v1.VoiceCloneParams.Builder The configuration of Voice Clone feature.
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.AdvancedVoiceOptionsOrBuilder
com.google.cloud.texttospeech.v1.AudioConfigOrBuilder
com.google.cloud.texttospeech.v1.CustomPronunciationParamsOrBuilder
com.google.cloud.texttospeech.v1.CustomPronunciationsOrBuilder
com.google.cloud.texttospeech.v1.CustomVoiceParamsOrBuilder
com.google.cloud.texttospeech.v1.ListVoicesRequestOrBuilder
com.google.cloud.texttospeech.v1.ListVoicesResponseOrBuilder
com.google.cloud.texttospeech.v1.MultiSpeakerMarkup.TurnOrBuilder
com.google.cloud.texttospeech.v1.MultiSpeakerMarkupOrBuilder
com.google.cloud.texttospeech.v1.StreamingSynthesisInputOrBuilder
com.google.cloud.texttospeech.v1.StreamingSynthesizeConfigOrBuilder
com.google.cloud.texttospeech.v1.StreamingSynthesizeRequestOrBuilder
com.google.cloud.texttospeech.v1.StreamingSynthesizeResponseOrBuilder
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.VoiceCloneParamsOrBuilder
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.CustomPronunciationParams.PhoneticEncoding The phonetic encoding of the phrase.
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.StreamingSynthesisInput.InputSourceCase
com.google.cloud.texttospeech.v1.StreamingSynthesizeRequest.StreamingRequestCase
com.google.cloud.texttospeech.v1.SynthesisInput.InputSourceCase