package texttospeech
import "google.golang.org/genproto/googleapis/cloud/texttospeech/v1"
Package texttospeech aliases all exported identifiers in package "cloud.google.com/go/texttospeech/apiv1/texttospeechpb".
Deprecated: Please use types in: cloud.google.com/go/texttospeech/apiv1/texttospeechpb. Please read https://github.com/googleapis/google-cloud-go/blob/main/migration.md for more details.
Index ¶
- Constants
- Variables
- func RegisterTextToSpeechServer(s *grpc.Server, srv TextToSpeechServer)
- type AudioConfig
- type AudioEncoding
- type CustomVoiceParams
- type CustomVoiceParams_ReportedUsage
- type ListVoicesRequest
- type ListVoicesResponse
- type SsmlVoiceGender
- type SynthesisInput
- type SynthesisInput_Ssml
- type SynthesisInput_Text
- type SynthesizeSpeechRequest
- type SynthesizeSpeechResponse
- type TextToSpeechClient
- type TextToSpeechServer
- type UnimplementedTextToSpeechServer
- type Voice
- type VoiceSelectionParams
Constants ¶
const ( AudioEncoding_ALAW = src.AudioEncoding_ALAW AudioEncoding_AUDIO_ENCODING_UNSPECIFIED = src.AudioEncoding_AUDIO_ENCODING_UNSPECIFIED AudioEncoding_LINEAR16 = src.AudioEncoding_LINEAR16 AudioEncoding_MP3 = src.AudioEncoding_MP3 AudioEncoding_MULAW = src.AudioEncoding_MULAW AudioEncoding_OGG_OPUS = src.AudioEncoding_OGG_OPUS CustomVoiceParams_OFFLINE = src.CustomVoiceParams_OFFLINE CustomVoiceParams_REALTIME = src.CustomVoiceParams_REALTIME CustomVoiceParams_REPORTED_USAGE_UNSPECIFIED = src.CustomVoiceParams_REPORTED_USAGE_UNSPECIFIED SsmlVoiceGender_FEMALE = src.SsmlVoiceGender_FEMALE SsmlVoiceGender_MALE = src.SsmlVoiceGender_MALE SsmlVoiceGender_NEUTRAL = src.SsmlVoiceGender_NEUTRAL SsmlVoiceGender_SSML_VOICE_GENDER_UNSPECIFIED = src.SsmlVoiceGender_SSML_VOICE_GENDER_UNSPECIFIED )
Deprecated: Please use consts in: cloud.google.com/go/texttospeech/apiv1/texttospeechpb
Variables ¶
var ( AudioEncoding_name = src.AudioEncoding_name AudioEncoding_value = src.AudioEncoding_value CustomVoiceParams_ReportedUsage_name = src.CustomVoiceParams_ReportedUsage_name CustomVoiceParams_ReportedUsage_value = src.CustomVoiceParams_ReportedUsage_value File_google_cloud_texttospeech_v1_cloud_tts_proto = src.File_google_cloud_texttospeech_v1_cloud_tts_proto SsmlVoiceGender_name = src.SsmlVoiceGender_name SsmlVoiceGender_value = src.SsmlVoiceGender_value )
Deprecated: Please use vars in: cloud.google.com/go/texttospeech/apiv1/texttospeechpb
Functions ¶
func RegisterTextToSpeechServer ¶
func RegisterTextToSpeechServer(s *grpc.Server, srv TextToSpeechServer)
Deprecated: Please use funcs in: cloud.google.com/go/texttospeech/apiv1/texttospeechpb
Types ¶
type AudioConfig ¶
type AudioConfig = src.AudioConfig
Description of audio data to be synthesized.
Deprecated: Please use types in: cloud.google.com/go/texttospeech/apiv1/texttospeechpb
type AudioEncoding ¶
type AudioEncoding = src.AudioEncoding
Configuration to set up audio encoder. The encoding determines the output audio format that we'd like.
Deprecated: Please use types in: cloud.google.com/go/texttospeech/apiv1/texttospeechpb
type CustomVoiceParams ¶
type CustomVoiceParams = src.CustomVoiceParams
Description of the custom voice to be synthesized.
Deprecated: Please use types in: cloud.google.com/go/texttospeech/apiv1/texttospeechpb
type CustomVoiceParams_ReportedUsage ¶
type CustomVoiceParams_ReportedUsage = src.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.
Deprecated: Please use types in: cloud.google.com/go/texttospeech/apiv1/texttospeechpb
type ListVoicesRequest ¶
type ListVoicesRequest = src.ListVoicesRequest
The top-level message sent by the client for the `ListVoices` method.
Deprecated: Please use types in: cloud.google.com/go/texttospeech/apiv1/texttospeechpb
type ListVoicesResponse ¶
type ListVoicesResponse = src.ListVoicesResponse
The message returned to the client by the `ListVoices` method.
Deprecated: Please use types in: cloud.google.com/go/texttospeech/apiv1/texttospeechpb
type SsmlVoiceGender ¶
type SsmlVoiceGender = src.SsmlVoiceGender
Gender of the voice as described in [SSML voice element](https://www.w3.org/TR/speech-synthesis11/#edef_voice).
Deprecated: Please use types in: cloud.google.com/go/texttospeech/apiv1/texttospeechpb
type SynthesisInput ¶
type SynthesisInput = src.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 characters.
Deprecated: Please use types in: cloud.google.com/go/texttospeech/apiv1/texttospeechpb
type SynthesisInput_Ssml ¶
type SynthesisInput_Ssml = src.SynthesisInput_Ssml
type SynthesisInput_Text ¶
type SynthesisInput_Text = src.SynthesisInput_Text
type SynthesizeSpeechRequest ¶
type SynthesizeSpeechRequest = src.SynthesizeSpeechRequest
The top-level message sent by the client for the `SynthesizeSpeech` method.
Deprecated: Please use types in: cloud.google.com/go/texttospeech/apiv1/texttospeechpb
type SynthesizeSpeechResponse ¶
type SynthesizeSpeechResponse = src.SynthesizeSpeechResponse
The message returned to the client by the `SynthesizeSpeech` method.
Deprecated: Please use types in: cloud.google.com/go/texttospeech/apiv1/texttospeechpb
type TextToSpeechClient ¶
type TextToSpeechClient = src.TextToSpeechClient
TextToSpeechClient is the client API for TextToSpeech service. For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
Deprecated: Please use types in: cloud.google.com/go/texttospeech/apiv1/texttospeechpb
func NewTextToSpeechClient ¶
func NewTextToSpeechClient(cc grpc.ClientConnInterface) TextToSpeechClient
Deprecated: Please use funcs in: cloud.google.com/go/texttospeech/apiv1/texttospeechpb
type TextToSpeechServer ¶
type TextToSpeechServer = src.TextToSpeechServer
TextToSpeechServer is the server API for TextToSpeech service.
Deprecated: Please use types in: cloud.google.com/go/texttospeech/apiv1/texttospeechpb
type UnimplementedTextToSpeechServer ¶
type UnimplementedTextToSpeechServer = src.UnimplementedTextToSpeechServer
UnimplementedTextToSpeechServer can be embedded to have forward compatible implementations.
Deprecated: Please use types in: cloud.google.com/go/texttospeech/apiv1/texttospeechpb
type Voice ¶
Description of a voice supported by the TTS service.
Deprecated: Please use types in: cloud.google.com/go/texttospeech/apiv1/texttospeechpb
type VoiceSelectionParams ¶
type VoiceSelectionParams = src.VoiceSelectionParams
Description of which voice to use for a synthesis request.
Deprecated: Please use types in: cloud.google.com/go/texttospeech/apiv1/texttospeechpb
Source Files ¶
alias.go
- Version
- v0.0.0-20250219182151-9fdb1cabc7b2 (latest)
- Published
- Feb 19, 2025
- Platform
- linux/amd64
- Imports
- 2 packages
- Last checked
- 55 minutes ago –
Tools for package owners.