1// Code generated by protoc-gen-go. DO NOT EDIT.
2// source: google/cloud/dialogflow/v2beta1/audio_config.proto
3
4package dialogflow
5
6import (
7	fmt "fmt"
8	math "math"
9
10	proto "github.com/golang/protobuf/proto"
11	_ "google.golang.org/genproto/googleapis/api/annotations"
12)
13
14// Reference imports to suppress errors if they are not otherwise used.
15var _ = proto.Marshal
16var _ = fmt.Errorf
17var _ = math.Inf
18
19// This is a compile-time assertion to ensure that this generated file
20// is compatible with the proto package it is being compiled against.
21// A compilation error at this line likely means your copy of the
22// proto package needs to be updated.
23const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
24
25// Audio encoding of the audio content sent in the conversational query request.
26// Refer to the
27// [Cloud Speech API
28// documentation](https://cloud.google.com/speech-to-text/docs/basics) for more
29// details.
30type AudioEncoding int32
31
32const (
33	// Not specified.
34	AudioEncoding_AUDIO_ENCODING_UNSPECIFIED AudioEncoding = 0
35	// Uncompressed 16-bit signed little-endian samples (Linear PCM).
36	AudioEncoding_AUDIO_ENCODING_LINEAR_16 AudioEncoding = 1
37	// [`FLAC`](https://xiph.org/flac/documentation.html) (Free Lossless Audio
38	// Codec) is the recommended encoding because it is lossless (therefore
39	// recognition is not compromised) and requires only about half the
40	// bandwidth of `LINEAR16`. `FLAC` stream encoding supports 16-bit and
41	// 24-bit samples, however, not all fields in `STREAMINFO` are supported.
42	AudioEncoding_AUDIO_ENCODING_FLAC AudioEncoding = 2
43	// 8-bit samples that compand 14-bit audio samples using G.711 PCMU/mu-law.
44	AudioEncoding_AUDIO_ENCODING_MULAW AudioEncoding = 3
45	// Adaptive Multi-Rate Narrowband codec. `sample_rate_hertz` must be 8000.
46	AudioEncoding_AUDIO_ENCODING_AMR AudioEncoding = 4
47	// Adaptive Multi-Rate Wideband codec. `sample_rate_hertz` must be 16000.
48	AudioEncoding_AUDIO_ENCODING_AMR_WB AudioEncoding = 5
49	// Opus encoded audio frames in Ogg container
50	// ([OggOpus](https://wiki.xiph.org/OggOpus)).
51	// `sample_rate_hertz` must be 16000.
52	AudioEncoding_AUDIO_ENCODING_OGG_OPUS AudioEncoding = 6
53	// Although the use of lossy encodings is not recommended, if a very low
54	// bitrate encoding is required, `OGG_OPUS` is highly preferred over
55	// Speex encoding. The [Speex](https://speex.org/) encoding supported by
56	// Dialogflow API has a header byte in each block, as in MIME type
57	// `audio/x-speex-with-header-byte`.
58	// It is a variant of the RTP Speex encoding defined in
59	// [RFC 5574](https://tools.ietf.org/html/rfc5574).
60	// The stream is a sequence of blocks, one block per RTP packet. Each block
61	// starts with a byte containing the length of the block, in bytes, followed
62	// by one or more frames of Speex data, padded to an integral number of
63	// bytes (octets) as specified in RFC 5574. In other words, each RTP header
64	// is replaced with a single byte containing the block length. Only Speex
65	// wideband is supported. `sample_rate_hertz` must be 16000.
66	AudioEncoding_AUDIO_ENCODING_SPEEX_WITH_HEADER_BYTE AudioEncoding = 7
67)
68
69var AudioEncoding_name = map[int32]string{
70	0: "AUDIO_ENCODING_UNSPECIFIED",
71	1: "AUDIO_ENCODING_LINEAR_16",
72	2: "AUDIO_ENCODING_FLAC",
73	3: "AUDIO_ENCODING_MULAW",
74	4: "AUDIO_ENCODING_AMR",
75	5: "AUDIO_ENCODING_AMR_WB",
76	6: "AUDIO_ENCODING_OGG_OPUS",
77	7: "AUDIO_ENCODING_SPEEX_WITH_HEADER_BYTE",
78}
79
80var AudioEncoding_value = map[string]int32{
81	"AUDIO_ENCODING_UNSPECIFIED":            0,
82	"AUDIO_ENCODING_LINEAR_16":              1,
83	"AUDIO_ENCODING_FLAC":                   2,
84	"AUDIO_ENCODING_MULAW":                  3,
85	"AUDIO_ENCODING_AMR":                    4,
86	"AUDIO_ENCODING_AMR_WB":                 5,
87	"AUDIO_ENCODING_OGG_OPUS":               6,
88	"AUDIO_ENCODING_SPEEX_WITH_HEADER_BYTE": 7,
89}
90
91func (x AudioEncoding) String() string {
92	return proto.EnumName(AudioEncoding_name, int32(x))
93}
94
95func (AudioEncoding) EnumDescriptor() ([]byte, []int) {
96	return fileDescriptor_80617ff5f6b0e1c6, []int{0}
97}
98
99// Variant of the specified [Speech model][google.cloud.dialogflow.v2beta1.InputAudioConfig.model] to use.
100//
101// See the [Cloud Speech
102// documentation](https://cloud.google.com/speech-to-text/docs/enhanced-models)
103// for which models have different variants. For example, the "phone_call" model
104// has both a standard and an enhanced variant. When you use an enhanced model,
105// you will generally receive higher quality results than for a standard model.
106type SpeechModelVariant int32
107
108const (
109	// No model variant specified. In this case Dialogflow defaults to
110	// USE_BEST_AVAILABLE.
111	SpeechModelVariant_SPEECH_MODEL_VARIANT_UNSPECIFIED SpeechModelVariant = 0
112	// Use the best available variant of the [Speech
113	// model][InputAudioConfig.model] that the caller is eligible for.
114	//
115	// Please see the [Dialogflow
116	// docs](https://cloud.google.com/dialogflow-enterprise/docs/data-logging) for
117	// how to make your project eligible for enhanced models.
118	SpeechModelVariant_USE_BEST_AVAILABLE SpeechModelVariant = 1
119	// Use standard model variant even if an enhanced model is available.  See the
120	// [Cloud Speech
121	// documentation](https://cloud.google.com/speech-to-text/docs/enhanced-models)
122	// for details about enhanced models.
123	SpeechModelVariant_USE_STANDARD SpeechModelVariant = 2
124	// Use an enhanced model variant:
125	//
126	// * If an enhanced variant does not exist for the given
127	//   [model][google.cloud.dialogflow.v2beta1.InputAudioConfig.model] and request language, Dialogflow falls
128	//   back to the standard variant.
129	//
130	//   The [Cloud Speech
131	//   documentation](https://cloud.google.com/speech-to-text/docs/enhanced-models)
132	//   describes which models have enhanced variants.
133	//
134	// * If the API caller isn't eligible for enhanced models, Dialogflow returns
135	//   an error.  Please see the [Dialogflow
136	//   docs](https://cloud.google.com/dialogflow-enterprise/docs/data-logging)
137	//   for how to make your project eligible.
138	SpeechModelVariant_USE_ENHANCED SpeechModelVariant = 3
139)
140
141var SpeechModelVariant_name = map[int32]string{
142	0: "SPEECH_MODEL_VARIANT_UNSPECIFIED",
143	1: "USE_BEST_AVAILABLE",
144	2: "USE_STANDARD",
145	3: "USE_ENHANCED",
146}
147
148var SpeechModelVariant_value = map[string]int32{
149	"SPEECH_MODEL_VARIANT_UNSPECIFIED": 0,
150	"USE_BEST_AVAILABLE":               1,
151	"USE_STANDARD":                     2,
152	"USE_ENHANCED":                     3,
153}
154
155func (x SpeechModelVariant) String() string {
156	return proto.EnumName(SpeechModelVariant_name, int32(x))
157}
158
159func (SpeechModelVariant) EnumDescriptor() ([]byte, []int) {
160	return fileDescriptor_80617ff5f6b0e1c6, []int{1}
161}
162
163// Gender of the voice as described in
164// [SSML voice element](https://www.w3.org/TR/speech-synthesis11/#edef_voice).
165type SsmlVoiceGender int32
166
167const (
168	// An unspecified gender, which means that the client doesn't care which
169	// gender the selected voice will have.
170	SsmlVoiceGender_SSML_VOICE_GENDER_UNSPECIFIED SsmlVoiceGender = 0
171	// A male voice.
172	SsmlVoiceGender_SSML_VOICE_GENDER_MALE SsmlVoiceGender = 1
173	// A female voice.
174	SsmlVoiceGender_SSML_VOICE_GENDER_FEMALE SsmlVoiceGender = 2
175	// A gender-neutral voice.
176	SsmlVoiceGender_SSML_VOICE_GENDER_NEUTRAL SsmlVoiceGender = 3
177)
178
179var SsmlVoiceGender_name = map[int32]string{
180	0: "SSML_VOICE_GENDER_UNSPECIFIED",
181	1: "SSML_VOICE_GENDER_MALE",
182	2: "SSML_VOICE_GENDER_FEMALE",
183	3: "SSML_VOICE_GENDER_NEUTRAL",
184}
185
186var SsmlVoiceGender_value = map[string]int32{
187	"SSML_VOICE_GENDER_UNSPECIFIED": 0,
188	"SSML_VOICE_GENDER_MALE":        1,
189	"SSML_VOICE_GENDER_FEMALE":      2,
190	"SSML_VOICE_GENDER_NEUTRAL":     3,
191}
192
193func (x SsmlVoiceGender) String() string {
194	return proto.EnumName(SsmlVoiceGender_name, int32(x))
195}
196
197func (SsmlVoiceGender) EnumDescriptor() ([]byte, []int) {
198	return fileDescriptor_80617ff5f6b0e1c6, []int{2}
199}
200
201// Audio encoding of the output audio format in Text-To-Speech.
202type OutputAudioEncoding int32
203
204const (
205	// Not specified.
206	OutputAudioEncoding_OUTPUT_AUDIO_ENCODING_UNSPECIFIED OutputAudioEncoding = 0
207	// Uncompressed 16-bit signed little-endian samples (Linear PCM).
208	// Audio content returned as LINEAR16 also contains a WAV header.
209	OutputAudioEncoding_OUTPUT_AUDIO_ENCODING_LINEAR_16 OutputAudioEncoding = 1
210	// MP3 audio.
211	OutputAudioEncoding_OUTPUT_AUDIO_ENCODING_MP3 OutputAudioEncoding = 2
212	// Opus encoded audio wrapped in an ogg container. The result will be a
213	// file which can be played natively on Android, and in browsers (at least
214	// Chrome and Firefox). The quality of the encoding is considerably higher
215	// than MP3 while using approximately the same bitrate.
216	OutputAudioEncoding_OUTPUT_AUDIO_ENCODING_OGG_OPUS OutputAudioEncoding = 3
217)
218
219var OutputAudioEncoding_name = map[int32]string{
220	0: "OUTPUT_AUDIO_ENCODING_UNSPECIFIED",
221	1: "OUTPUT_AUDIO_ENCODING_LINEAR_16",
222	2: "OUTPUT_AUDIO_ENCODING_MP3",
223	3: "OUTPUT_AUDIO_ENCODING_OGG_OPUS",
224}
225
226var OutputAudioEncoding_value = map[string]int32{
227	"OUTPUT_AUDIO_ENCODING_UNSPECIFIED": 0,
228	"OUTPUT_AUDIO_ENCODING_LINEAR_16":   1,
229	"OUTPUT_AUDIO_ENCODING_MP3":         2,
230	"OUTPUT_AUDIO_ENCODING_OGG_OPUS":    3,
231}
232
233func (x OutputAudioEncoding) String() string {
234	return proto.EnumName(OutputAudioEncoding_name, int32(x))
235}
236
237func (OutputAudioEncoding) EnumDescriptor() ([]byte, []int) {
238	return fileDescriptor_80617ff5f6b0e1c6, []int{3}
239}
240
241// Instructs the speech recognizer on how to process the audio content.
242type InputAudioConfig struct {
243	// Required. Audio encoding of the audio content to process.
244	AudioEncoding AudioEncoding `protobuf:"varint,1,opt,name=audio_encoding,json=audioEncoding,proto3,enum=google.cloud.dialogflow.v2beta1.AudioEncoding" json:"audio_encoding,omitempty"`
245	// Required. Sample rate (in Hertz) of the audio content sent in the query.
246	// Refer to
247	// [Cloud Speech API
248	// documentation](https://cloud.google.com/speech-to-text/docs/basics) for
249	// more details.
250	SampleRateHertz int32 `protobuf:"varint,2,opt,name=sample_rate_hertz,json=sampleRateHertz,proto3" json:"sample_rate_hertz,omitempty"`
251	// Required. The language of the supplied audio. Dialogflow does not do
252	// translations. See [Language
253	// Support](https://cloud.google.com/dialogflow-enterprise/docs/reference/language)
254	// for a list of the currently supported language codes. Note that queries in
255	// the same session do not necessarily need to specify the same language.
256	LanguageCode string `protobuf:"bytes,3,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"`
257	// Optional. The collection of phrase hints which are used to boost accuracy
258	// of speech recognition.
259	// Refer to
260	// [Cloud Speech API
261	// documentation](https://cloud.google.com/speech-to-text/docs/basics#phrase-hints)
262	// for more details.
263	PhraseHints []string `protobuf:"bytes,4,rep,name=phrase_hints,json=phraseHints,proto3" json:"phrase_hints,omitempty"`
264	// Optional. Which Speech model to select for the given request. Select the
265	// model best suited to your domain to get best results. If a model is not
266	// explicitly specified, then we auto-select a model based on the parameters
267	// in the InputAudioConfig.
268	// If enhanced speech model is enabled for the agent and an enhanced
269	// version of the specified model for the language does not exist, then the
270	// speech is recognized using the standard version of the specified model.
271	// Refer to
272	// [Cloud Speech API
273	// documentation](https://cloud.google.com/speech-to-text/docs/basics#select-model)
274	// for more details.
275	Model string `protobuf:"bytes,7,opt,name=model,proto3" json:"model,omitempty"`
276	// Optional. Which variant of the [Speech model][google.cloud.dialogflow.v2beta1.InputAudioConfig.model] to use.
277	ModelVariant         SpeechModelVariant `protobuf:"varint,10,opt,name=model_variant,json=modelVariant,proto3,enum=google.cloud.dialogflow.v2beta1.SpeechModelVariant" json:"model_variant,omitempty"`
278	XXX_NoUnkeyedLiteral struct{}           `json:"-"`
279	XXX_unrecognized     []byte             `json:"-"`
280	XXX_sizecache        int32              `json:"-"`
281}
282
283func (m *InputAudioConfig) Reset()         { *m = InputAudioConfig{} }
284func (m *InputAudioConfig) String() string { return proto.CompactTextString(m) }
285func (*InputAudioConfig) ProtoMessage()    {}
286func (*InputAudioConfig) Descriptor() ([]byte, []int) {
287	return fileDescriptor_80617ff5f6b0e1c6, []int{0}
288}
289
290func (m *InputAudioConfig) XXX_Unmarshal(b []byte) error {
291	return xxx_messageInfo_InputAudioConfig.Unmarshal(m, b)
292}
293func (m *InputAudioConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
294	return xxx_messageInfo_InputAudioConfig.Marshal(b, m, deterministic)
295}
296func (m *InputAudioConfig) XXX_Merge(src proto.Message) {
297	xxx_messageInfo_InputAudioConfig.Merge(m, src)
298}
299func (m *InputAudioConfig) XXX_Size() int {
300	return xxx_messageInfo_InputAudioConfig.Size(m)
301}
302func (m *InputAudioConfig) XXX_DiscardUnknown() {
303	xxx_messageInfo_InputAudioConfig.DiscardUnknown(m)
304}
305
306var xxx_messageInfo_InputAudioConfig proto.InternalMessageInfo
307
308func (m *InputAudioConfig) GetAudioEncoding() AudioEncoding {
309	if m != nil {
310		return m.AudioEncoding
311	}
312	return AudioEncoding_AUDIO_ENCODING_UNSPECIFIED
313}
314
315func (m *InputAudioConfig) GetSampleRateHertz() int32 {
316	if m != nil {
317		return m.SampleRateHertz
318	}
319	return 0
320}
321
322func (m *InputAudioConfig) GetLanguageCode() string {
323	if m != nil {
324		return m.LanguageCode
325	}
326	return ""
327}
328
329func (m *InputAudioConfig) GetPhraseHints() []string {
330	if m != nil {
331		return m.PhraseHints
332	}
333	return nil
334}
335
336func (m *InputAudioConfig) GetModel() string {
337	if m != nil {
338		return m.Model
339	}
340	return ""
341}
342
343func (m *InputAudioConfig) GetModelVariant() SpeechModelVariant {
344	if m != nil {
345		return m.ModelVariant
346	}
347	return SpeechModelVariant_SPEECH_MODEL_VARIANT_UNSPECIFIED
348}
349
350// Description of which voice to use for speech synthesis.
351type VoiceSelectionParams struct {
352	// Optional. The name of the voice. If not set, the service will choose a
353	// voice based on the other parameters such as language_code and gender.
354	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
355	// Optional. The preferred gender of the voice. If not set, the service will
356	// choose a voice based on the other parameters such as language_code and
357	// name. Note that this is only a preference, not requirement. If a
358	// voice of the appropriate gender is not available, the synthesizer should
359	// substitute a voice with a different gender rather than failing the request.
360	SsmlGender           SsmlVoiceGender `protobuf:"varint,2,opt,name=ssml_gender,json=ssmlGender,proto3,enum=google.cloud.dialogflow.v2beta1.SsmlVoiceGender" json:"ssml_gender,omitempty"`
361	XXX_NoUnkeyedLiteral struct{}        `json:"-"`
362	XXX_unrecognized     []byte          `json:"-"`
363	XXX_sizecache        int32           `json:"-"`
364}
365
366func (m *VoiceSelectionParams) Reset()         { *m = VoiceSelectionParams{} }
367func (m *VoiceSelectionParams) String() string { return proto.CompactTextString(m) }
368func (*VoiceSelectionParams) ProtoMessage()    {}
369func (*VoiceSelectionParams) Descriptor() ([]byte, []int) {
370	return fileDescriptor_80617ff5f6b0e1c6, []int{1}
371}
372
373func (m *VoiceSelectionParams) XXX_Unmarshal(b []byte) error {
374	return xxx_messageInfo_VoiceSelectionParams.Unmarshal(m, b)
375}
376func (m *VoiceSelectionParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
377	return xxx_messageInfo_VoiceSelectionParams.Marshal(b, m, deterministic)
378}
379func (m *VoiceSelectionParams) XXX_Merge(src proto.Message) {
380	xxx_messageInfo_VoiceSelectionParams.Merge(m, src)
381}
382func (m *VoiceSelectionParams) XXX_Size() int {
383	return xxx_messageInfo_VoiceSelectionParams.Size(m)
384}
385func (m *VoiceSelectionParams) XXX_DiscardUnknown() {
386	xxx_messageInfo_VoiceSelectionParams.DiscardUnknown(m)
387}
388
389var xxx_messageInfo_VoiceSelectionParams proto.InternalMessageInfo
390
391func (m *VoiceSelectionParams) GetName() string {
392	if m != nil {
393		return m.Name
394	}
395	return ""
396}
397
398func (m *VoiceSelectionParams) GetSsmlGender() SsmlVoiceGender {
399	if m != nil {
400		return m.SsmlGender
401	}
402	return SsmlVoiceGender_SSML_VOICE_GENDER_UNSPECIFIED
403}
404
405// Configuration of how speech should be synthesized.
406type SynthesizeSpeechConfig struct {
407	// Optional. Speaking rate/speed, in the range [0.25, 4.0]. 1.0 is the normal
408	// native speed supported by the specific voice. 2.0 is twice as fast, and
409	// 0.5 is half as fast. If unset(0.0), defaults to the native 1.0 speed. Any
410	// other values < 0.25 or > 4.0 will return an error.
411	SpeakingRate float64 `protobuf:"fixed64,1,opt,name=speaking_rate,json=speakingRate,proto3" json:"speaking_rate,omitempty"`
412	// Optional. Speaking pitch, in the range [-20.0, 20.0]. 20 means increase 20
413	// semitones from the original pitch. -20 means decrease 20 semitones from the
414	// original pitch.
415	Pitch float64 `protobuf:"fixed64,2,opt,name=pitch,proto3" json:"pitch,omitempty"`
416	// Optional. Volume gain (in dB) of the normal native volume supported by the
417	// specific voice, in the range [-96.0, 16.0]. If unset, or set to a value of
418	// 0.0 (dB), will play at normal native signal amplitude. A value of -6.0 (dB)
419	// will play at approximately half the amplitude of the normal native signal
420	// amplitude. A value of +6.0 (dB) will play at approximately twice the
421	// amplitude of the normal native signal amplitude. We strongly recommend not
422	// to exceed +10 (dB) as there's usually no effective increase in loudness for
423	// any value greater than that.
424	VolumeGainDb float64 `protobuf:"fixed64,3,opt,name=volume_gain_db,json=volumeGainDb,proto3" json:"volume_gain_db,omitempty"`
425	// Optional. An identifier which selects 'audio effects' profiles that are
426	// applied on (post synthesized) text to speech. Effects are applied on top of
427	// each other in the order they are given.
428	EffectsProfileId []string `protobuf:"bytes,5,rep,name=effects_profile_id,json=effectsProfileId,proto3" json:"effects_profile_id,omitempty"`
429	// Optional. The desired voice of the synthesized audio.
430	Voice                *VoiceSelectionParams `protobuf:"bytes,4,opt,name=voice,proto3" json:"voice,omitempty"`
431	XXX_NoUnkeyedLiteral struct{}              `json:"-"`
432	XXX_unrecognized     []byte                `json:"-"`
433	XXX_sizecache        int32                 `json:"-"`
434}
435
436func (m *SynthesizeSpeechConfig) Reset()         { *m = SynthesizeSpeechConfig{} }
437func (m *SynthesizeSpeechConfig) String() string { return proto.CompactTextString(m) }
438func (*SynthesizeSpeechConfig) ProtoMessage()    {}
439func (*SynthesizeSpeechConfig) Descriptor() ([]byte, []int) {
440	return fileDescriptor_80617ff5f6b0e1c6, []int{2}
441}
442
443func (m *SynthesizeSpeechConfig) XXX_Unmarshal(b []byte) error {
444	return xxx_messageInfo_SynthesizeSpeechConfig.Unmarshal(m, b)
445}
446func (m *SynthesizeSpeechConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
447	return xxx_messageInfo_SynthesizeSpeechConfig.Marshal(b, m, deterministic)
448}
449func (m *SynthesizeSpeechConfig) XXX_Merge(src proto.Message) {
450	xxx_messageInfo_SynthesizeSpeechConfig.Merge(m, src)
451}
452func (m *SynthesizeSpeechConfig) XXX_Size() int {
453	return xxx_messageInfo_SynthesizeSpeechConfig.Size(m)
454}
455func (m *SynthesizeSpeechConfig) XXX_DiscardUnknown() {
456	xxx_messageInfo_SynthesizeSpeechConfig.DiscardUnknown(m)
457}
458
459var xxx_messageInfo_SynthesizeSpeechConfig proto.InternalMessageInfo
460
461func (m *SynthesizeSpeechConfig) GetSpeakingRate() float64 {
462	if m != nil {
463		return m.SpeakingRate
464	}
465	return 0
466}
467
468func (m *SynthesizeSpeechConfig) GetPitch() float64 {
469	if m != nil {
470		return m.Pitch
471	}
472	return 0
473}
474
475func (m *SynthesizeSpeechConfig) GetVolumeGainDb() float64 {
476	if m != nil {
477		return m.VolumeGainDb
478	}
479	return 0
480}
481
482func (m *SynthesizeSpeechConfig) GetEffectsProfileId() []string {
483	if m != nil {
484		return m.EffectsProfileId
485	}
486	return nil
487}
488
489func (m *SynthesizeSpeechConfig) GetVoice() *VoiceSelectionParams {
490	if m != nil {
491		return m.Voice
492	}
493	return nil
494}
495
496// Instructs the speech synthesizer how to generate the output audio content.
497type OutputAudioConfig struct {
498	// Required. Audio encoding of the synthesized audio content.
499	AudioEncoding OutputAudioEncoding `protobuf:"varint,1,opt,name=audio_encoding,json=audioEncoding,proto3,enum=google.cloud.dialogflow.v2beta1.OutputAudioEncoding" json:"audio_encoding,omitempty"`
500	// Optional. The synthesis sample rate (in hertz) for this audio. If not
501	// provided, then the synthesizer will use the default sample rate based on
502	// the audio encoding. If this is different from the voice's natural sample
503	// rate, then the synthesizer will honor this request by converting to the
504	// desired sample rate (which might result in worse audio quality).
505	SampleRateHertz int32 `protobuf:"varint,2,opt,name=sample_rate_hertz,json=sampleRateHertz,proto3" json:"sample_rate_hertz,omitempty"`
506	// Optional. Configuration of how speech should be synthesized.
507	SynthesizeSpeechConfig *SynthesizeSpeechConfig `protobuf:"bytes,3,opt,name=synthesize_speech_config,json=synthesizeSpeechConfig,proto3" json:"synthesize_speech_config,omitempty"`
508	XXX_NoUnkeyedLiteral   struct{}                `json:"-"`
509	XXX_unrecognized       []byte                  `json:"-"`
510	XXX_sizecache          int32                   `json:"-"`
511}
512
513func (m *OutputAudioConfig) Reset()         { *m = OutputAudioConfig{} }
514func (m *OutputAudioConfig) String() string { return proto.CompactTextString(m) }
515func (*OutputAudioConfig) ProtoMessage()    {}
516func (*OutputAudioConfig) Descriptor() ([]byte, []int) {
517	return fileDescriptor_80617ff5f6b0e1c6, []int{3}
518}
519
520func (m *OutputAudioConfig) XXX_Unmarshal(b []byte) error {
521	return xxx_messageInfo_OutputAudioConfig.Unmarshal(m, b)
522}
523func (m *OutputAudioConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
524	return xxx_messageInfo_OutputAudioConfig.Marshal(b, m, deterministic)
525}
526func (m *OutputAudioConfig) XXX_Merge(src proto.Message) {
527	xxx_messageInfo_OutputAudioConfig.Merge(m, src)
528}
529func (m *OutputAudioConfig) XXX_Size() int {
530	return xxx_messageInfo_OutputAudioConfig.Size(m)
531}
532func (m *OutputAudioConfig) XXX_DiscardUnknown() {
533	xxx_messageInfo_OutputAudioConfig.DiscardUnknown(m)
534}
535
536var xxx_messageInfo_OutputAudioConfig proto.InternalMessageInfo
537
538func (m *OutputAudioConfig) GetAudioEncoding() OutputAudioEncoding {
539	if m != nil {
540		return m.AudioEncoding
541	}
542	return OutputAudioEncoding_OUTPUT_AUDIO_ENCODING_UNSPECIFIED
543}
544
545func (m *OutputAudioConfig) GetSampleRateHertz() int32 {
546	if m != nil {
547		return m.SampleRateHertz
548	}
549	return 0
550}
551
552func (m *OutputAudioConfig) GetSynthesizeSpeechConfig() *SynthesizeSpeechConfig {
553	if m != nil {
554		return m.SynthesizeSpeechConfig
555	}
556	return nil
557}
558
559func init() {
560	proto.RegisterEnum("google.cloud.dialogflow.v2beta1.AudioEncoding", AudioEncoding_name, AudioEncoding_value)
561	proto.RegisterEnum("google.cloud.dialogflow.v2beta1.SpeechModelVariant", SpeechModelVariant_name, SpeechModelVariant_value)
562	proto.RegisterEnum("google.cloud.dialogflow.v2beta1.SsmlVoiceGender", SsmlVoiceGender_name, SsmlVoiceGender_value)
563	proto.RegisterEnum("google.cloud.dialogflow.v2beta1.OutputAudioEncoding", OutputAudioEncoding_name, OutputAudioEncoding_value)
564	proto.RegisterType((*InputAudioConfig)(nil), "google.cloud.dialogflow.v2beta1.InputAudioConfig")
565	proto.RegisterType((*VoiceSelectionParams)(nil), "google.cloud.dialogflow.v2beta1.VoiceSelectionParams")
566	proto.RegisterType((*SynthesizeSpeechConfig)(nil), "google.cloud.dialogflow.v2beta1.SynthesizeSpeechConfig")
567	proto.RegisterType((*OutputAudioConfig)(nil), "google.cloud.dialogflow.v2beta1.OutputAudioConfig")
568}
569
570func init() {
571	proto.RegisterFile("google/cloud/dialogflow/v2beta1/audio_config.proto", fileDescriptor_80617ff5f6b0e1c6)
572}
573
574var fileDescriptor_80617ff5f6b0e1c6 = []byte{
575	// 920 bytes of a gzipped FileDescriptorProto
576	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x55, 0x4f, 0x6f, 0xe3, 0x44,
577	0x14, 0xc7, 0x4e, 0xbb, 0xab, 0xbe, 0xa6, 0x5d, 0xef, 0x6c, 0xe9, 0xba, 0xa5, 0xdd, 0xa6, 0xed,
578	0xae, 0x14, 0x22, 0x94, 0xb0, 0x29, 0x7f, 0x0e, 0x9c, 0x9c, 0x78, 0x9a, 0x58, 0x24, 0x4e, 0xb0,
579	0x93, 0x74, 0x81, 0xc3, 0x68, 0x6a, 0x4f, 0x1c, 0x0b, 0xc7, 0x63, 0x62, 0x27, 0x88, 0x95, 0xf8,
580	0x08, 0x88, 0xef, 0x80, 0x38, 0x71, 0xe0, 0x9b, 0xf0, 0x6d, 0x38, 0x20, 0x71, 0x41, 0x1e, 0xa7,
581	0xdb, 0x6c, 0x92, 0x25, 0x17, 0x6e, 0x33, 0xbf, 0xdf, 0xfc, 0xde, 0x7b, 0xf3, 0x7b, 0x6f, 0x34,
582	0x50, 0xf5, 0x38, 0xf7, 0x02, 0x56, 0x71, 0x02, 0x3e, 0x75, 0x2b, 0xae, 0x4f, 0x03, 0xee, 0x0d,
583	0x03, 0xfe, 0x43, 0x65, 0x56, 0xbd, 0x65, 0x09, 0x7d, 0x59, 0xa1, 0x53, 0xd7, 0xe7, 0xc4, 0xe1,
584	0xe1, 0xd0, 0xf7, 0xca, 0xd1, 0x84, 0x27, 0x1c, 0x9d, 0x65, 0x9a, 0xb2, 0xd0, 0x94, 0xef, 0x35,
585	0xe5, 0xb9, 0xe6, 0xf8, 0x64, 0x1e, 0x94, 0x46, 0x7e, 0x85, 0x86, 0x21, 0x4f, 0x68, 0xe2, 0xf3,
586	0x30, 0xce, 0xe4, 0x17, 0x7f, 0xca, 0xa0, 0x18, 0x61, 0x34, 0x4d, 0xb4, 0x34, 0x74, 0x5d, 0x44,
587	0x46, 0x7d, 0xd8, 0xcf, 0x32, 0xb1, 0xd0, 0xe1, 0xae, 0x1f, 0x7a, 0xaa, 0x54, 0x90, 0x8a, 0xfb,
588	0xd5, 0x72, 0x79, 0x43, 0xb2, 0xb2, 0x88, 0x82, 0xe7, 0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0x67, 0x70,
611	0xac, 0xf5, 0x75, 0xa3, 0x43, 0xb0, 0x59, 0xef, 0xe8, 0x86, 0xd9, 0x20, 0x7d, 0xd3, 0xee, 0xe2,
612	0xba, 0x71, 0x6d, 0x60, 0x5d, 0x79, 0x0f, 0x9d, 0x80, 0xba, 0xc4, 0xb7, 0x0c, 0x13, 0x6b, 0x16,
613	0x79, 0xf9, 0x99, 0x22, 0xa1, 0xa7, 0xf0, 0x64, 0x89, 0xbd, 0x6e, 0x69, 0x75, 0x45, 0x46, 0x2a,
614	0x1c, 0x2c, 0x11, 0xed, 0x7e, 0x4b, 0xbb, 0x51, 0x72, 0xe8, 0x10, 0xd0, 0x12, 0xa3, 0xb5, 0x2d,
615	0x65, 0x0b, 0x1d, 0xc1, 0xfb, 0xab, 0x38, 0xb9, 0xa9, 0x29, 0xdb, 0xe8, 0x03, 0x78, 0xba, 0x44,
616	0x75, 0x1a, 0x0d, 0xd2, 0xe9, 0xf6, 0x6d, 0xe5, 0x01, 0xfa, 0x10, 0x5e, 0x2c, 0x91, 0x76, 0x17,
617	0xe3, 0x57, 0xe4, 0xc6, 0xe8, 0x35, 0x49, 0x13, 0x6b, 0x3a, 0xb6, 0x48, 0xed, 0xeb, 0x1e, 0x56,
618	0x1e, 0x96, 0x66, 0x80, 0x56, 0x5f, 0x2a, 0x7a, 0x0e, 0x85, 0x54, 0x51, 0x6f, 0x92, 0x76, 0x47,
619	0xc7, 0x2d, 0x32, 0xd0, 0x2c, 0x43, 0x33, 0x7b, 0x4b, 0x3e, 0x1c, 0x02, 0xea, 0xdb, 0x98, 0xd4,
620	0xb0, 0xdd, 0x23, 0xda, 0x40, 0x33, 0x5a, 0x5a, 0xad, 0x85, 0x15, 0x09, 0x29, 0x90, 0x4f, 0x71,
621	0xbb, 0xa7, 0x99, 0xba, 0x66, 0xe9, 0x8a, 0x7c, 0x87, 0x60, 0xb3, 0xa9, 0x99, 0x75, 0xac, 0x2b,
622	0xb9, 0xd2, 0xcf, 0x12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