texttospeech

package
Version: v0.0.0-...-596548e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 27, 2023 License: Apache-2.0 Imports: 2 Imported by: 51

Documentation

Overview

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

View Source
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

View Source
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 deprecated

func RegisterTextToSpeechServer(s *grpc.Server, srv TextToSpeechServer)

Deprecated: Please use funcs in: cloud.google.com/go/texttospeech/apiv1/texttospeechpb

Types

type AudioConfig deprecated

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 deprecated

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 deprecated

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 deprecated

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 deprecated

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 deprecated

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 deprecated

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 deprecated

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 deprecated

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 deprecated

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 deprecated

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 deprecated

func NewTextToSpeechClient(cc grpc.ClientConnInterface) TextToSpeechClient

Deprecated: Please use funcs in: cloud.google.com/go/texttospeech/apiv1/texttospeechpb

type TextToSpeechServer deprecated

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 deprecated

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 deprecated

type Voice = src.Voice

Description of a voice supported by the TTS service.

Deprecated: Please use types in: cloud.google.com/go/texttospeech/apiv1/texttospeechpb

type VoiceSelectionParams deprecated

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL