Package com.google.cloud.texttospeech.v1beta1 (2.55.0)

GitHub Repository RPC Documentation REST Documentation

This package is not the recommended entry point to using this client library!

For this library, we recommend using com.google.cloud.texttospeech.v1 for new applications.

Prerelease Implications

This package is a prerelease version! Use with caution.

Prerelease versions are considered unstable as they may be shut down and/or subject to breaking changes when upgrading. Use them only for testing or if you specifically need their experimental features.

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.v1beta1.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.v1beta1.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.v1beta1.TextToSpeechLongAudioSynthesizeSettings Settings class to configure an instance of TextToSpeechLongAudioSynthesizeClient.

The default instance has everything set to sensible defaults:

com.google.cloud.texttospeech.v1beta1.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.v1beta1.AdvancedVoiceOptions Used for advanced voice options.
com.google.cloud.texttospeech.v1beta1.AdvancedVoiceOptions.Builder Used for advanced voice options.
com.google.cloud.texttospeech.v1beta1.AudioConfig Description of audio data to be synthesized.
com.google.cloud.texttospeech.v1beta1.AudioConfig.Builder Description of audio data to be synthesized.
com.google.cloud.texttospeech.v1beta1.CustomPronunciationParams Pronunciation customization for a phrase.
com.google.cloud.texttospeech.v1beta1.CustomPronunciationParams.Builder Pronunciation customization for a phrase.
com.google.cloud.texttospeech.v1beta1.CustomPronunciations A collection of pronunciation customizations.
com.google.cloud.texttospeech.v1beta1.CustomPronunciations.Builder A collection of pronunciation customizations.
com.google.cloud.texttospeech.v1beta1.CustomVoiceParams Description of the custom voice to be synthesized.
com.google.cloud.texttospeech.v1beta1.CustomVoiceParams.Builder Description of the custom voice to be synthesized.
com.google.cloud.texttospeech.v1beta1.ListVoicesRequest The top-level message sent by the client for the ListVoices method.
com.google.cloud.texttospeech.v1beta1.ListVoicesRequest.Builder The top-level message sent by the client for the ListVoices method.
com.google.cloud.texttospeech.v1beta1.ListVoicesResponse The message returned to the client by the ListVoices method.
com.google.cloud.texttospeech.v1beta1.ListVoicesResponse.Builder The message returned to the client by the ListVoices method.
com.google.cloud.texttospeech.v1beta1.MultiSpeakerMarkup A collection of turns for multi-speaker synthesis.
com.google.cloud.texttospeech.v1beta1.MultiSpeakerMarkup.Builder A collection of turns for multi-speaker synthesis.
com.google.cloud.texttospeech.v1beta1.MultiSpeakerMarkup.Turn A Multi-speaker turn.
com.google.cloud.texttospeech.v1beta1.MultiSpeakerMarkup.Turn.Builder A Multi-speaker turn.
com.google.cloud.texttospeech.v1beta1.StreamingSynthesisInput Input to be synthesized.
com.google.cloud.texttospeech.v1beta1.StreamingSynthesisInput.Builder Input to be synthesized.
com.google.cloud.texttospeech.v1beta1.StreamingSynthesizeConfig Provides configuration information for the StreamingSynthesize request.
com.google.cloud.texttospeech.v1beta1.StreamingSynthesizeConfig.Builder Provides configuration information for the StreamingSynthesize request.
com.google.cloud.texttospeech.v1beta1.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.v1beta1.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.v1beta1.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.v1beta1.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.v1beta1.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.v1beta1.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.v1beta1.SynthesizeLongAudioMetadata Metadata for response returned by the SynthesizeLongAudio method.
com.google.cloud.texttospeech.v1beta1.SynthesizeLongAudioMetadata.Builder Metadata for response returned by the SynthesizeLongAudio method.
com.google.cloud.texttospeech.v1beta1.SynthesizeLongAudioRequest The top-level message sent by the client for the SynthesizeLongAudio method.
com.google.cloud.texttospeech.v1beta1.SynthesizeLongAudioRequest.Builder The top-level message sent by the client for the SynthesizeLongAudio method.
com.google.cloud.texttospeech.v1beta1.SynthesizeLongAudioResponse The message returned to the client by the SynthesizeLongAudio method.
com.google.cloud.texttospeech.v1beta1.SynthesizeLongAudioResponse.Builder The message returned to the client by the SynthesizeLongAudio method.
com.google.cloud.texttospeech.v1beta1.SynthesizeSpeechRequest The top-level message sent by the client for the SynthesizeSpeech method.
com.google.cloud.texttospeech.v1beta1.SynthesizeSpeechRequest.Builder The top-level message sent by the client for the SynthesizeSpeech method.
com.google.cloud.texttospeech.v1beta1.SynthesizeSpeechResponse The message returned to the client by the SynthesizeSpeech method.
com.google.cloud.texttospeech.v1beta1.SynthesizeSpeechResponse.Builder The message returned to the client by the SynthesizeSpeech method.
com.google.cloud.texttospeech.v1beta1.TextToSpeechGrpc Service that implements Google Cloud Text-to-Speech API.
com.google.cloud.texttospeech.v1beta1.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.v1beta1.TextToSpeechLongAudioSynthesisProto
com.google.cloud.texttospeech.v1beta1.TextToSpeechLongAudioSynthesizeGrpc Service that implements Google Cloud Text-to-Speech API.
com.google.cloud.texttospeech.v1beta1.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.v1beta1.TextToSpeechLongAudioSynthesizeSettings.Builder Builder for TextToSpeechLongAudioSynthesizeSettings.
com.google.cloud.texttospeech.v1beta1.TextToSpeechProto
com.google.cloud.texttospeech.v1beta1.TextToSpeechSettings.Builder Builder for TextToSpeechSettings.
com.google.cloud.texttospeech.v1beta1.Timepoint This contains a mapping between a certain point in the input text and a corresponding time in the output audio.
com.google.cloud.texttospeech.v1beta1.Timepoint.Builder This contains a mapping between a certain point in the input text and a corresponding time in the output audio.
com.google.cloud.texttospeech.v1beta1.Voice Description of a voice supported by the TTS service.
com.google.cloud.texttospeech.v1beta1.Voice.Builder Description of a voice supported by the TTS service.
com.google.cloud.texttospeech.v1beta1.VoiceCloneParams The configuration of Voice Clone feature.
com.google.cloud.texttospeech.v1beta1.VoiceCloneParams.Builder The configuration of Voice Clone feature.
com.google.cloud.texttospeech.v1beta1.VoiceSelectionParams Description of which voice to use for a synthesis request.
com.google.cloud.texttospeech.v1beta1.VoiceSelectionParams.Builder Description of which voice to use for a synthesis request.

Interfaces

Interface Description
com.google.cloud.texttospeech.v1beta1.AdvancedVoiceOptionsOrBuilder
com.google.cloud.texttospeech.v1beta1.AudioConfigOrBuilder
com.google.cloud.texttospeech.v1beta1.CustomPronunciationParamsOrBuilder
com.google.cloud.texttospeech.v1beta1.CustomPronunciationsOrBuilder
com.google.cloud.texttospeech.v1beta1.CustomVoiceParamsOrBuilder
com.google.cloud.texttospeech.v1beta1.ListVoicesRequestOrBuilder
com.google.cloud.texttospeech.v1beta1.ListVoicesResponseOrBuilder
com.google.cloud.texttospeech.v1beta1.MultiSpeakerMarkup.TurnOrBuilder
com.google.cloud.texttospeech.v1beta1.MultiSpeakerMarkupOrBuilder
com.google.cloud.texttospeech.v1beta1.StreamingSynthesisInputOrBuilder
com.google.cloud.texttospeech.v1beta1.StreamingSynthesizeConfigOrBuilder
com.google.cloud.texttospeech.v1beta1.StreamingSynthesizeRequestOrBuilder
com.google.cloud.texttospeech.v1beta1.StreamingSynthesizeResponseOrBuilder
com.google.cloud.texttospeech.v1beta1.SynthesisInputOrBuilder
com.google.cloud.texttospeech.v1beta1.SynthesizeLongAudioMetadataOrBuilder
com.google.cloud.texttospeech.v1beta1.SynthesizeLongAudioRequestOrBuilder
com.google.cloud.texttospeech.v1beta1.SynthesizeLongAudioResponseOrBuilder
com.google.cloud.texttospeech.v1beta1.SynthesizeSpeechRequestOrBuilder
com.google.cloud.texttospeech.v1beta1.SynthesizeSpeechResponseOrBuilder
com.google.cloud.texttospeech.v1beta1.TextToSpeechGrpc.AsyncService Service that implements Google Cloud Text-to-Speech API.
com.google.cloud.texttospeech.v1beta1.TextToSpeechLongAudioSynthesizeGrpc.AsyncService Service that implements Google Cloud Text-to-Speech API.
com.google.cloud.texttospeech.v1beta1.TimepointOrBuilder
com.google.cloud.texttospeech.v1beta1.VoiceCloneParamsOrBuilder
com.google.cloud.texttospeech.v1beta1.VoiceOrBuilder
com.google.cloud.texttospeech.v1beta1.VoiceSelectionParamsOrBuilder

Enums

Enum Description
com.google.cloud.texttospeech.v1beta1.AudioEncoding Configuration to set up audio encoder. The encoding determines the output audio format that we'd like.
com.google.cloud.texttospeech.v1beta1.CustomPronunciationParams.PhoneticEncoding The phonetic encoding of the phrase.
com.google.cloud.texttospeech.v1beta1.CustomVoiceParams.ReportedUsage Deprecated. The usage of the synthesized audio. Usage does not affect billing.
com.google.cloud.texttospeech.v1beta1.SsmlVoiceGender Gender of the voice as described in SSML voice element.
com.google.cloud.texttospeech.v1beta1.StreamingSynthesisInput.InputSourceCase
com.google.cloud.texttospeech.v1beta1.StreamingSynthesizeRequest.StreamingRequestCase
com.google.cloud.texttospeech.v1beta1.SynthesisInput.InputSourceCase
com.google.cloud.texttospeech.v1beta1.SynthesizeSpeechRequest.TimepointType The type of timepoint information that is returned in the response.