- 2.54.0 (latest)
- 2.53.0
- 2.52.0
- 2.50.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.40.0
- 2.38.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.28.0
- 2.25.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.0
- 2.4.9
- 2.3.0
- 2.2.1
- 2.1.5
Package com.google.cloud.texttospeech.v1beta1 (2.31.0)
GitHub Repository | RPC Documentation | REST 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 input size is limited to 5000 |
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 input size is limited to 5000 |
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
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 | The usage of the synthesized audio. You must report your honest and correct usage of the service as it's regulated by contract and will cause significant difference in 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. |