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

GitHub RepositoryRPC DocumentationREST Documentation

This package is not the latest GA version!

For this library, we recommend using the package associated with API version 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. You can read more about Cloud API versioning strategy here. Each Cloud Java client library may contain multiple packages. Each package containing a version number in its name corresponds to a published version of the service. We recommend using the latest stable version for new production applications, which can be identified by the largest numeric version that does not contain a suffix. For example, if a client library has two packages: v1 and v2alpha, then the latest stable version is v1. If you use an unstable release, breaking changes may be introduced when upgrading.

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.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.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.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.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.AudioConfigOrBuilder
com.google.cloud.texttospeech.v1beta1.CustomVoiceParamsOrBuilder
com.google.cloud.texttospeech.v1beta1.ListVoicesRequestOrBuilder
com.google.cloud.texttospeech.v1beta1.ListVoicesResponseOrBuilder
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.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.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.SynthesisInput.InputSourceCase
com.google.cloud.texttospeech.v1beta1.SynthesizeSpeechRequest.TimepointType The type of timepoint information that is returned in the response.