1// Copyright 2021 Google LLC 2// 3// Licensed under the Apache License, Version 2.0 (the "License"); 4// you may not use this file except in compliance with the License. 5// You may obtain a copy of the License at 6// 7// http://www.apache.org/licenses/LICENSE-2.0 8// 9// Unless required by applicable law or agreed to in writing, software 10// distributed under the License is distributed on an "AS IS" BASIS, 11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12// See the License for the specific language governing permissions and 13// limitations under the License. 14 15// Code generated by protoc-gen-go. DO NOT EDIT. 16// versions: 17// protoc-gen-go v1.25.0-devel 18// protoc v3.13.0 19// source: google/cloud/dialogflow/cx/v3beta1/audio_config.proto 20 21package cx 22 23import ( 24 reflect "reflect" 25 sync "sync" 26 27 proto "github.com/golang/protobuf/proto" 28 _ "google.golang.org/genproto/googleapis/api/annotations" 29 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 30 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 31 durationpb "google.golang.org/protobuf/types/known/durationpb" 32) 33 34const ( 35 // Verify that this generated code is sufficiently up-to-date. 36 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 37 // Verify that runtime/protoimpl is sufficiently up-to-date. 38 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 39) 40 41// This is a compile-time assertion that a sufficiently up-to-date version 42// of the legacy proto package is being used. 43const _ = proto.ProtoPackageIsVersion4 44 45// Audio encoding of the audio content sent in the conversational query request. 46// Refer to the 47// [Cloud Speech API 48// documentation](https://cloud.google.com/speech-to-text/docs/basics) for more 49// details. 50type AudioEncoding int32 51 52const ( 53 // Not specified. 54 AudioEncoding_AUDIO_ENCODING_UNSPECIFIED AudioEncoding = 0 55 // Uncompressed 16-bit signed little-endian samples (Linear PCM). 56 AudioEncoding_AUDIO_ENCODING_LINEAR_16 AudioEncoding = 1 57 // [`FLAC`](https://xiph.org/flac/documentation.html) (Free Lossless Audio 58 // Codec) is the recommended encoding because it is lossless (therefore 59 // recognition is not compromised) and requires only about half the 60 // bandwidth of `LINEAR16`. `FLAC` stream encoding supports 16-bit and 61 // 24-bit samples, however, not all fields in `STREAMINFO` are supported. 62 AudioEncoding_AUDIO_ENCODING_FLAC AudioEncoding = 2 63 // 8-bit samples that compand 14-bit audio samples using G.711 PCMU/mu-law. 64 AudioEncoding_AUDIO_ENCODING_MULAW AudioEncoding = 3 65 // Adaptive Multi-Rate Narrowband codec. `sample_rate_hertz` must be 8000. 66 AudioEncoding_AUDIO_ENCODING_AMR AudioEncoding = 4 67 // Adaptive Multi-Rate Wideband codec. `sample_rate_hertz` must be 16000. 68 AudioEncoding_AUDIO_ENCODING_AMR_WB AudioEncoding = 5 69 // Opus encoded audio frames in Ogg container 70 // ([OggOpus](https://wiki.xiph.org/OggOpus)). 71 // `sample_rate_hertz` must be 16000. 72 AudioEncoding_AUDIO_ENCODING_OGG_OPUS AudioEncoding = 6 73 // Although the use of lossy encodings is not recommended, if a very low 74 // bitrate encoding is required, `OGG_OPUS` is highly preferred over 75 // Speex encoding. The [Speex](https://speex.org/) encoding supported by 76 // Dialogflow API has a header byte in each block, as in MIME type 77 // `audio/x-speex-with-header-byte`. 78 // It is a variant of the RTP Speex encoding defined in 79 // [RFC 5574](https://tools.ietf.org/html/rfc5574). 80 // The stream is a sequence of blocks, one block per RTP packet. Each block 81 // starts with a byte containing the length of the block, in bytes, followed 82 // by one or more frames of Speex data, padded to an integral number of 83 // bytes (octets) as specified in RFC 5574. In other words, each RTP header 84 // is replaced with a single byte containing the block length. Only Speex 85 // wideband is supported. `sample_rate_hertz` must be 16000. 86 AudioEncoding_AUDIO_ENCODING_SPEEX_WITH_HEADER_BYTE AudioEncoding = 7 87) 88 89// Enum value maps for AudioEncoding. 90var ( 91 AudioEncoding_name = map[int32]string{ 92 0: "AUDIO_ENCODING_UNSPECIFIED", 93 1: "AUDIO_ENCODING_LINEAR_16", 94 2: "AUDIO_ENCODING_FLAC", 95 3: "AUDIO_ENCODING_MULAW", 96 4: "AUDIO_ENCODING_AMR", 97 5: "AUDIO_ENCODING_AMR_WB", 98 6: "AUDIO_ENCODING_OGG_OPUS", 99 7: "AUDIO_ENCODING_SPEEX_WITH_HEADER_BYTE", 100 } 101 AudioEncoding_value = map[string]int32{ 102 "AUDIO_ENCODING_UNSPECIFIED": 0, 103 "AUDIO_ENCODING_LINEAR_16": 1, 104 "AUDIO_ENCODING_FLAC": 2, 105 "AUDIO_ENCODING_MULAW": 3, 106 "AUDIO_ENCODING_AMR": 4, 107 "AUDIO_ENCODING_AMR_WB": 5, 108 "AUDIO_ENCODING_OGG_OPUS": 6, 109 "AUDIO_ENCODING_SPEEX_WITH_HEADER_BYTE": 7, 110 } 111) 112 113func (x AudioEncoding) Enum() *AudioEncoding { 114 p := new(AudioEncoding) 115 *p = x 116 return p 117} 118 119func (x AudioEncoding) String() string { 120 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 121} 122 123func (AudioEncoding) Descriptor() protoreflect.EnumDescriptor { 124 return file_google_cloud_dialogflow_cx_v3beta1_audio_config_proto_enumTypes[0].Descriptor() 125} 126 127func (AudioEncoding) Type() protoreflect.EnumType { 128 return &file_google_cloud_dialogflow_cx_v3beta1_audio_config_proto_enumTypes[0] 129} 130 131func (x AudioEncoding) Number() protoreflect.EnumNumber { 132 return protoreflect.EnumNumber(x) 133} 134 135// Deprecated: Use AudioEncoding.Descriptor instead. 136func (AudioEncoding) EnumDescriptor() ([]byte, []int) { 137 return file_google_cloud_dialogflow_cx_v3beta1_audio_config_proto_rawDescGZIP(), []int{0} 138} 139 140// Variant of the specified [Speech model][google.cloud.dialogflow.cx.v3beta1.InputAudioConfig.model] to use. 141// 142// See the [Cloud Speech 143// documentation](https://cloud.google.com/speech-to-text/docs/enhanced-models) 144// for which models have different variants. For example, the "phone_call" model 145// has both a standard and an enhanced variant. When you use an enhanced model, 146// you will generally receive higher quality results than for a standard model. 147type SpeechModelVariant int32 148 149const ( 150 // No model variant specified. In this case Dialogflow defaults to 151 // USE_BEST_AVAILABLE. 152 SpeechModelVariant_SPEECH_MODEL_VARIANT_UNSPECIFIED SpeechModelVariant = 0 153 // Use the best available variant of the [Speech 154 // model][InputAudioConfig.model] that the caller is eligible for. 155 // 156 // Please see the [Dialogflow 157 // docs](https://cloud.google.com/dialogflow/docs/data-logging) for 158 // how to make your project eligible for enhanced models. 159 SpeechModelVariant_USE_BEST_AVAILABLE SpeechModelVariant = 1 160 // Use standard model variant even if an enhanced model is available. See the 161 // [Cloud Speech 162 // documentation](https://cloud.google.com/speech-to-text/docs/enhanced-models) 163 // for details about enhanced models. 164 SpeechModelVariant_USE_STANDARD SpeechModelVariant = 2 165 // Use an enhanced model variant: 166 // 167 // * If an enhanced variant does not exist for the given 168 // [model][google.cloud.dialogflow.cx.v3beta1.InputAudioConfig.model] and request language, Dialogflow falls 169 // back to the standard variant. 170 // 171 // The [Cloud Speech 172 // documentation](https://cloud.google.com/speech-to-text/docs/enhanced-models) 173 // describes which models have enhanced variants. 174 // 175 // * If the API caller isn't eligible for enhanced models, Dialogflow returns 176 // an error. Please see the [Dialogflow 177 // docs](https://cloud.google.com/dialogflow/docs/data-logging) 178 // for how to make your project eligible. 179 SpeechModelVariant_USE_ENHANCED SpeechModelVariant = 3 180) 181 182// Enum value maps for SpeechModelVariant. 183var ( 184 SpeechModelVariant_name = map[int32]string{ 185 0: "SPEECH_MODEL_VARIANT_UNSPECIFIED", 186 1: "USE_BEST_AVAILABLE", 187 2: "USE_STANDARD", 188 3: "USE_ENHANCED", 189 } 190 SpeechModelVariant_value = map[string]int32{ 191 "SPEECH_MODEL_VARIANT_UNSPECIFIED": 0, 192 "USE_BEST_AVAILABLE": 1, 193 "USE_STANDARD": 2, 194 "USE_ENHANCED": 3, 195 } 196) 197 198func (x SpeechModelVariant) Enum() *SpeechModelVariant { 199 p := new(SpeechModelVariant) 200 *p = x 201 return p 202} 203 204func (x SpeechModelVariant) String() string { 205 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 206} 207 208func (SpeechModelVariant) Descriptor() protoreflect.EnumDescriptor { 209 return file_google_cloud_dialogflow_cx_v3beta1_audio_config_proto_enumTypes[1].Descriptor() 210} 211 212func (SpeechModelVariant) Type() protoreflect.EnumType { 213 return &file_google_cloud_dialogflow_cx_v3beta1_audio_config_proto_enumTypes[1] 214} 215 216func (x SpeechModelVariant) Number() protoreflect.EnumNumber { 217 return protoreflect.EnumNumber(x) 218} 219 220// Deprecated: Use SpeechModelVariant.Descriptor instead. 221func (SpeechModelVariant) EnumDescriptor() ([]byte, []int) { 222 return file_google_cloud_dialogflow_cx_v3beta1_audio_config_proto_rawDescGZIP(), []int{1} 223} 224 225// Gender of the voice as described in 226// [SSML voice element](https://www.w3.org/TR/speech-synthesis11/#edef_voice). 227type SsmlVoiceGender int32 228 229const ( 230 // An unspecified gender, which means that the client doesn't care which 231 // gender the selected voice will have. 232 SsmlVoiceGender_SSML_VOICE_GENDER_UNSPECIFIED SsmlVoiceGender = 0 233 // A male voice. 234 SsmlVoiceGender_SSML_VOICE_GENDER_MALE SsmlVoiceGender = 1 235 // A female voice. 236 SsmlVoiceGender_SSML_VOICE_GENDER_FEMALE SsmlVoiceGender = 2 237 // A gender-neutral voice. 238 SsmlVoiceGender_SSML_VOICE_GENDER_NEUTRAL SsmlVoiceGender = 3 239) 240 241// Enum value maps for SsmlVoiceGender. 242var ( 243 SsmlVoiceGender_name = map[int32]string{ 244 0: "SSML_VOICE_GENDER_UNSPECIFIED", 245 1: "SSML_VOICE_GENDER_MALE", 246 2: "SSML_VOICE_GENDER_FEMALE", 247 3: "SSML_VOICE_GENDER_NEUTRAL", 248 } 249 SsmlVoiceGender_value = map[string]int32{ 250 "SSML_VOICE_GENDER_UNSPECIFIED": 0, 251 "SSML_VOICE_GENDER_MALE": 1, 252 "SSML_VOICE_GENDER_FEMALE": 2, 253 "SSML_VOICE_GENDER_NEUTRAL": 3, 254 } 255) 256 257func (x SsmlVoiceGender) Enum() *SsmlVoiceGender { 258 p := new(SsmlVoiceGender) 259 *p = x 260 return p 261} 262 263func (x SsmlVoiceGender) String() string { 264 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 265} 266 267func (SsmlVoiceGender) Descriptor() protoreflect.EnumDescriptor { 268 return file_google_cloud_dialogflow_cx_v3beta1_audio_config_proto_enumTypes[2].Descriptor() 269} 270 271func (SsmlVoiceGender) Type() protoreflect.EnumType { 272 return &file_google_cloud_dialogflow_cx_v3beta1_audio_config_proto_enumTypes[2] 273} 274 275func (x SsmlVoiceGender) Number() protoreflect.EnumNumber { 276 return protoreflect.EnumNumber(x) 277} 278 279// Deprecated: Use SsmlVoiceGender.Descriptor instead. 280func (SsmlVoiceGender) EnumDescriptor() ([]byte, []int) { 281 return file_google_cloud_dialogflow_cx_v3beta1_audio_config_proto_rawDescGZIP(), []int{2} 282} 283 284// Audio encoding of the output audio format in Text-To-Speech. 285type OutputAudioEncoding int32 286 287const ( 288 // Not specified. 289 OutputAudioEncoding_OUTPUT_AUDIO_ENCODING_UNSPECIFIED OutputAudioEncoding = 0 290 // Uncompressed 16-bit signed little-endian samples (Linear PCM). 291 // Audio content returned as LINEAR16 also contains a WAV header. 292 OutputAudioEncoding_OUTPUT_AUDIO_ENCODING_LINEAR_16 OutputAudioEncoding = 1 293 // MP3 audio at 32kbps. 294 OutputAudioEncoding_OUTPUT_AUDIO_ENCODING_MP3 OutputAudioEncoding = 2 295 // MP3 audio at 64kbps. 296 OutputAudioEncoding_OUTPUT_AUDIO_ENCODING_MP3_64_KBPS OutputAudioEncoding = 4 297 // Opus encoded audio wrapped in an ogg container. The result will be a 298 // file which can be played natively on Android, and in browsers (at least 299 // Chrome and Firefox). The quality of the encoding is considerably higher 300 // than MP3 while using approximately the same bitrate. 301 OutputAudioEncoding_OUTPUT_AUDIO_ENCODING_OGG_OPUS OutputAudioEncoding = 3 302 // 8-bit samples that compand 14-bit audio samples using G.711 PCMU/mu-law. 303 OutputAudioEncoding_OUTPUT_AUDIO_ENCODING_MULAW OutputAudioEncoding = 5 304) 305 306// Enum value maps for OutputAudioEncoding. 307var ( 308 OutputAudioEncoding_name = map[int32]string{ 309 0: "OUTPUT_AUDIO_ENCODING_UNSPECIFIED", 310 1: "OUTPUT_AUDIO_ENCODING_LINEAR_16", 311 2: "OUTPUT_AUDIO_ENCODING_MP3", 312 4: "OUTPUT_AUDIO_ENCODING_MP3_64_KBPS", 313 3: "OUTPUT_AUDIO_ENCODING_OGG_OPUS", 314 5: "OUTPUT_AUDIO_ENCODING_MULAW", 315 } 316 OutputAudioEncoding_value = map[string]int32{ 317 "OUTPUT_AUDIO_ENCODING_UNSPECIFIED": 0, 318 "OUTPUT_AUDIO_ENCODING_LINEAR_16": 1, 319 "OUTPUT_AUDIO_ENCODING_MP3": 2, 320 "OUTPUT_AUDIO_ENCODING_MP3_64_KBPS": 4, 321 "OUTPUT_AUDIO_ENCODING_OGG_OPUS": 3, 322 "OUTPUT_AUDIO_ENCODING_MULAW": 5, 323 } 324) 325 326func (x OutputAudioEncoding) Enum() *OutputAudioEncoding { 327 p := new(OutputAudioEncoding) 328 *p = x 329 return p 330} 331 332func (x OutputAudioEncoding) String() string { 333 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 334} 335 336func (OutputAudioEncoding) Descriptor() protoreflect.EnumDescriptor { 337 return file_google_cloud_dialogflow_cx_v3beta1_audio_config_proto_enumTypes[3].Descriptor() 338} 339 340func (OutputAudioEncoding) Type() protoreflect.EnumType { 341 return &file_google_cloud_dialogflow_cx_v3beta1_audio_config_proto_enumTypes[3] 342} 343 344func (x OutputAudioEncoding) Number() protoreflect.EnumNumber { 345 return protoreflect.EnumNumber(x) 346} 347 348// Deprecated: Use OutputAudioEncoding.Descriptor instead. 349func (OutputAudioEncoding) EnumDescriptor() ([]byte, []int) { 350 return file_google_cloud_dialogflow_cx_v3beta1_audio_config_proto_rawDescGZIP(), []int{3} 351} 352 353// Information for a word recognized by the speech recognizer. 354type SpeechWordInfo struct { 355 state protoimpl.MessageState 356 sizeCache protoimpl.SizeCache 357 unknownFields protoimpl.UnknownFields 358 359 // The word this info is for. 360 Word string `protobuf:"bytes,3,opt,name=word,proto3" json:"word,omitempty"` 361 // Time offset relative to the beginning of the audio that corresponds to the 362 // start of the spoken word. This is an experimental feature and the accuracy 363 // of the time offset can vary. 364 StartOffset *durationpb.Duration `protobuf:"bytes,1,opt,name=start_offset,json=startOffset,proto3" json:"start_offset,omitempty"` 365 // Time offset relative to the beginning of the audio that corresponds to the 366 // end of the spoken word. This is an experimental feature and the accuracy of 367 // the time offset can vary. 368 EndOffset *durationpb.Duration `protobuf:"bytes,2,opt,name=end_offset,json=endOffset,proto3" json:"end_offset,omitempty"` 369 // The Speech confidence between 0.0 and 1.0 for this word. A higher number 370 // indicates an estimated greater likelihood that the recognized word is 371 // correct. The default of 0.0 is a sentinel value indicating that confidence 372 // was not set. 373 // 374 // This field is not guaranteed to be fully stable over time for the same 375 // audio input. Users should also not rely on it to always be provided. 376 Confidence float32 `protobuf:"fixed32,4,opt,name=confidence,proto3" json:"confidence,omitempty"` 377} 378 379func (x *SpeechWordInfo) Reset() { 380 *x = SpeechWordInfo{} 381 if protoimpl.UnsafeEnabled { 382 mi := &file_google_cloud_dialogflow_cx_v3beta1_audio_config_proto_msgTypes[0] 383 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 384 ms.StoreMessageInfo(mi) 385 } 386} 387 388func (x *SpeechWordInfo) String() string { 389 return protoimpl.X.MessageStringOf(x) 390} 391 392func (*SpeechWordInfo) ProtoMessage() {} 393 394func (x *SpeechWordInfo) ProtoReflect() protoreflect.Message { 395 mi := &file_google_cloud_dialogflow_cx_v3beta1_audio_config_proto_msgTypes[0] 396 if protoimpl.UnsafeEnabled && x != nil { 397 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 398 if ms.LoadMessageInfo() == nil { 399 ms.StoreMessageInfo(mi) 400 } 401 return ms 402 } 403 return mi.MessageOf(x) 404} 405 406// Deprecated: Use SpeechWordInfo.ProtoReflect.Descriptor instead. 407func (*SpeechWordInfo) Descriptor() ([]byte, []int) { 408 return file_google_cloud_dialogflow_cx_v3beta1_audio_config_proto_rawDescGZIP(), []int{0} 409} 410 411func (x *SpeechWordInfo) GetWord() string { 412 if x != nil { 413 return x.Word 414 } 415 return "" 416} 417 418func (x *SpeechWordInfo) GetStartOffset() *durationpb.Duration { 419 if x != nil { 420 return x.StartOffset 421 } 422 return nil 423} 424 425func (x *SpeechWordInfo) GetEndOffset() *durationpb.Duration { 426 if x != nil { 427 return x.EndOffset 428 } 429 return nil 430} 431 432func (x *SpeechWordInfo) GetConfidence() float32 { 433 if x != nil { 434 return x.Confidence 435 } 436 return 0 437} 438 439// Instructs the speech recognizer on how to process the audio content. 440type InputAudioConfig struct { 441 state protoimpl.MessageState 442 sizeCache protoimpl.SizeCache 443 unknownFields protoimpl.UnknownFields 444 445 // Required. Audio encoding of the audio content to process. 446 AudioEncoding AudioEncoding `protobuf:"varint,1,opt,name=audio_encoding,json=audioEncoding,proto3,enum=google.cloud.dialogflow.cx.v3beta1.AudioEncoding" json:"audio_encoding,omitempty"` 447 // Sample rate (in Hertz) of the audio content sent in the query. 448 // Refer to 449 // [Cloud Speech API 450 // documentation](https://cloud.google.com/speech-to-text/docs/basics) for 451 // more details. 452 SampleRateHertz int32 `protobuf:"varint,2,opt,name=sample_rate_hertz,json=sampleRateHertz,proto3" json:"sample_rate_hertz,omitempty"` 453 // Optional. If `true`, Dialogflow returns [SpeechWordInfo][google.cloud.dialogflow.cx.v3beta1.SpeechWordInfo] in 454 // [StreamingRecognitionResult][google.cloud.dialogflow.cx.v3beta1.StreamingRecognitionResult] with information about the recognized speech 455 // words, e.g. start and end time offsets. If false or unspecified, Speech 456 // doesn't return any word-level information. 457 EnableWordInfo bool `protobuf:"varint,13,opt,name=enable_word_info,json=enableWordInfo,proto3" json:"enable_word_info,omitempty"` 458 // Optional. A list of strings containing words and phrases that the speech 459 // recognizer should recognize with higher likelihood. 460 // 461 // See [the Cloud Speech 462 // documentation](https://cloud.google.com/speech-to-text/docs/basics#phrase-hints) 463 // for more details. 464 PhraseHints []string `protobuf:"bytes,4,rep,name=phrase_hints,json=phraseHints,proto3" json:"phrase_hints,omitempty"` 465 // Optional. Which Speech model to select for the given request. Select the 466 // model best suited to your domain to get best results. If a model is not 467 // explicitly specified, then we auto-select a model based on the parameters 468 // in the InputAudioConfig. 469 // If enhanced speech model is enabled for the agent and an enhanced 470 // version of the specified model for the language does not exist, then the 471 // speech is recognized using the standard version of the specified model. 472 // Refer to 473 // [Cloud Speech API 474 // documentation](https://cloud.google.com/speech-to-text/docs/basics#select-model) 475 // for more details. 476 Model string `protobuf:"bytes,7,opt,name=model,proto3" json:"model,omitempty"` 477 // Optional. Which variant of the [Speech model][google.cloud.dialogflow.cx.v3beta1.InputAudioConfig.model] to use. 478 ModelVariant SpeechModelVariant `protobuf:"varint,10,opt,name=model_variant,json=modelVariant,proto3,enum=google.cloud.dialogflow.cx.v3beta1.SpeechModelVariant" json:"model_variant,omitempty"` 479 // Optional. If `false` (default), recognition does not cease until the 480 // client closes the stream. 481 // If `true`, the recognizer will detect a single spoken utterance in input 482 // audio. Recognition ceases when it detects the audio's voice has 483 // stopped or paused. In this case, once a detected intent is received, the 484 // client should close the stream and start a new request with a new stream as 485 // needed. 486 // Note: This setting is relevant only for streaming methods. 487 SingleUtterance bool `protobuf:"varint,8,opt,name=single_utterance,json=singleUtterance,proto3" json:"single_utterance,omitempty"` 488} 489 490func (x *InputAudioConfig) Reset() { 491 *x = InputAudioConfig{} 492 if protoimpl.UnsafeEnabled { 493 mi := &file_google_cloud_dialogflow_cx_v3beta1_audio_config_proto_msgTypes[1] 494 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 495 ms.StoreMessageInfo(mi) 496 } 497} 498 499func (x *InputAudioConfig) String() string { 500 return protoimpl.X.MessageStringOf(x) 501} 502 503func (*InputAudioConfig) ProtoMessage() {} 504 505func (x *InputAudioConfig) ProtoReflect() protoreflect.Message { 506 mi := &file_google_cloud_dialogflow_cx_v3beta1_audio_config_proto_msgTypes[1] 507 if protoimpl.UnsafeEnabled && x != nil { 508 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 509 if ms.LoadMessageInfo() == nil { 510 ms.StoreMessageInfo(mi) 511 } 512 return ms 513 } 514 return mi.MessageOf(x) 515} 516 517// Deprecated: Use InputAudioConfig.ProtoReflect.Descriptor instead. 518func (*InputAudioConfig) Descriptor() ([]byte, []int) { 519 return file_google_cloud_dialogflow_cx_v3beta1_audio_config_proto_rawDescGZIP(), []int{1} 520} 521 522func (x *InputAudioConfig) GetAudioEncoding() AudioEncoding { 523 if x != nil { 524 return x.AudioEncoding 525 } 526 return AudioEncoding_AUDIO_ENCODING_UNSPECIFIED 527} 528 529func (x *InputAudioConfig) GetSampleRateHertz() int32 { 530 if x != nil { 531 return x.SampleRateHertz 532 } 533 return 0 534} 535 536func (x *InputAudioConfig) GetEnableWordInfo() bool { 537 if x != nil { 538 return x.EnableWordInfo 539 } 540 return false 541} 542 543func (x *InputAudioConfig) GetPhraseHints() []string { 544 if x != nil { 545 return x.PhraseHints 546 } 547 return nil 548} 549 550func (x *InputAudioConfig) GetModel() string { 551 if x != nil { 552 return x.Model 553 } 554 return "" 555} 556 557func (x *InputAudioConfig) GetModelVariant() SpeechModelVariant { 558 if x != nil { 559 return x.ModelVariant 560 } 561 return SpeechModelVariant_SPEECH_MODEL_VARIANT_UNSPECIFIED 562} 563 564func (x *InputAudioConfig) GetSingleUtterance() bool { 565 if x != nil { 566 return x.SingleUtterance 567 } 568 return false 569} 570 571// Description of which voice to use for speech synthesis. 572type VoiceSelectionParams struct { 573 state protoimpl.MessageState 574 sizeCache protoimpl.SizeCache 575 unknownFields protoimpl.UnknownFields 576 577 // Optional. The name of the voice. If not set, the service will choose a 578 // voice based on the other parameters such as language_code and 579 // [ssml_gender][google.cloud.dialogflow.cx.v3beta1.VoiceSelectionParams.ssml_gender]. 580 // 581 // For the list of available voices, please refer to [Supported voices and 582 // languages](https://cloud.google.com/text-to-speech/docs/voices). 583 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 584 // Optional. The preferred gender of the voice. If not set, the service will 585 // choose a voice based on the other parameters such as language_code and 586 // [name][google.cloud.dialogflow.cx.v3beta1.VoiceSelectionParams.name]. Note that this is only a preference, not requirement. If a 587 // voice of the appropriate gender is not available, the synthesizer should 588 // substitute a voice with a different gender rather than failing the request. 589 SsmlGender SsmlVoiceGender `protobuf:"varint,2,opt,name=ssml_gender,json=ssmlGender,proto3,enum=google.cloud.dialogflow.cx.v3beta1.SsmlVoiceGender" json:"ssml_gender,omitempty"` 590} 591 592func (x *VoiceSelectionParams) Reset() { 593 *x = VoiceSelectionParams{} 594 if protoimpl.UnsafeEnabled { 595 mi := &file_google_cloud_dialogflow_cx_v3beta1_audio_config_proto_msgTypes[2] 596 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 597 ms.StoreMessageInfo(mi) 598 } 599} 600 601func (x *VoiceSelectionParams) String() string { 602 return protoimpl.X.MessageStringOf(x) 603} 604 605func (*VoiceSelectionParams) ProtoMessage() {} 606 607func (x *VoiceSelectionParams) ProtoReflect() protoreflect.Message { 608 mi := &file_google_cloud_dialogflow_cx_v3beta1_audio_config_proto_msgTypes[2] 609 if protoimpl.UnsafeEnabled && x != nil { 610 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 611 if ms.LoadMessageInfo() == nil { 612 ms.StoreMessageInfo(mi) 613 } 614 return ms 615 } 616 return mi.MessageOf(x) 617} 618 619// Deprecated: Use VoiceSelectionParams.ProtoReflect.Descriptor instead. 620func (*VoiceSelectionParams) Descriptor() ([]byte, []int) { 621 return file_google_cloud_dialogflow_cx_v3beta1_audio_config_proto_rawDescGZIP(), []int{2} 622} 623 624func (x *VoiceSelectionParams) GetName() string { 625 if x != nil { 626 return x.Name 627 } 628 return "" 629} 630 631func (x *VoiceSelectionParams) GetSsmlGender() SsmlVoiceGender { 632 if x != nil { 633 return x.SsmlGender 634 } 635 return SsmlVoiceGender_SSML_VOICE_GENDER_UNSPECIFIED 636} 637 638// Configuration of how speech should be synthesized. 639type SynthesizeSpeechConfig struct { 640 state protoimpl.MessageState 641 sizeCache protoimpl.SizeCache 642 unknownFields protoimpl.UnknownFields 643 644 // Optional. Speaking rate/speed, in the range [0.25, 4.0]. 1.0 is the normal 645 // native speed supported by the specific voice. 2.0 is twice as fast, and 646 // 0.5 is half as fast. If unset(0.0), defaults to the native 1.0 speed. Any 647 // other values < 0.25 or > 4.0 will return an error. 648 SpeakingRate float64 `protobuf:"fixed64,1,opt,name=speaking_rate,json=speakingRate,proto3" json:"speaking_rate,omitempty"` 649 // Optional. Speaking pitch, in the range [-20.0, 20.0]. 20 means increase 20 650 // semitones from the original pitch. -20 means decrease 20 semitones from the 651 // original pitch. 652 Pitch float64 `protobuf:"fixed64,2,opt,name=pitch,proto3" json:"pitch,omitempty"` 653 // Optional. Volume gain (in dB) of the normal native volume supported by the 654 // specific voice, in the range [-96.0, 16.0]. If unset, or set to a value of 655 // 0.0 (dB), will play at normal native signal amplitude. A value of -6.0 (dB) 656 // will play at approximately half the amplitude of the normal native signal 657 // amplitude. A value of +6.0 (dB) will play at approximately twice the 658 // amplitude of the normal native signal amplitude. We strongly recommend not 659 // to exceed +10 (dB) as there's usually no effective increase in loudness for 660 // any value greater than that. 661 VolumeGainDb float64 `protobuf:"fixed64,3,opt,name=volume_gain_db,json=volumeGainDb,proto3" json:"volume_gain_db,omitempty"` 662 // Optional. An identifier which selects 'audio effects' profiles that are 663 // applied on (post synthesized) text to speech. Effects are applied on top of 664 // each other in the order they are given. 665 EffectsProfileId []string `protobuf:"bytes,5,rep,name=effects_profile_id,json=effectsProfileId,proto3" json:"effects_profile_id,omitempty"` 666 // Optional. The desired voice of the synthesized audio. 667 Voice *VoiceSelectionParams `protobuf:"bytes,4,opt,name=voice,proto3" json:"voice,omitempty"` 668} 669 670func (x *SynthesizeSpeechConfig) Reset() { 671 *x = SynthesizeSpeechConfig{} 672 if protoimpl.UnsafeEnabled { 673 mi := &file_google_cloud_dialogflow_cx_v3beta1_audio_config_proto_msgTypes[3] 674 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 675 ms.StoreMessageInfo(mi) 676 } 677} 678 679func (x *SynthesizeSpeechConfig) String() string { 680 return protoimpl.X.MessageStringOf(x) 681} 682 683func (*SynthesizeSpeechConfig) ProtoMessage() {} 684 685func (x *SynthesizeSpeechConfig) ProtoReflect() protoreflect.Message { 686 mi := &file_google_cloud_dialogflow_cx_v3beta1_audio_config_proto_msgTypes[3] 687 if protoimpl.UnsafeEnabled && x != nil { 688 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 689 if ms.LoadMessageInfo() == nil { 690 ms.StoreMessageInfo(mi) 691 } 692 return ms 693 } 694 return mi.MessageOf(x) 695} 696 697// Deprecated: Use SynthesizeSpeechConfig.ProtoReflect.Descriptor instead. 698func (*SynthesizeSpeechConfig) Descriptor() ([]byte, []int) { 699 return file_google_cloud_dialogflow_cx_v3beta1_audio_config_proto_rawDescGZIP(), []int{3} 700} 701 702func (x *SynthesizeSpeechConfig) GetSpeakingRate() float64 { 703 if x != nil { 704 return x.SpeakingRate 705 } 706 return 0 707} 708 709func (x *SynthesizeSpeechConfig) GetPitch() float64 { 710 if x != nil { 711 return x.Pitch 712 } 713 return 0 714} 715 716func (x *SynthesizeSpeechConfig) GetVolumeGainDb() float64 { 717 if x != nil { 718 return x.VolumeGainDb 719 } 720 return 0 721} 722 723func (x *SynthesizeSpeechConfig) GetEffectsProfileId() []string { 724 if x != nil { 725 return x.EffectsProfileId 726 } 727 return nil 728} 729 730func (x *SynthesizeSpeechConfig) GetVoice() *VoiceSelectionParams { 731 if x != nil { 732 return x.Voice 733 } 734 return nil 735} 736 737// Instructs the speech synthesizer how to generate the output audio content. 738type OutputAudioConfig struct { 739 state protoimpl.MessageState 740 sizeCache protoimpl.SizeCache 741 unknownFields protoimpl.UnknownFields 742 743 // Required. Audio encoding of the synthesized audio content. 744 AudioEncoding OutputAudioEncoding `protobuf:"varint,1,opt,name=audio_encoding,json=audioEncoding,proto3,enum=google.cloud.dialogflow.cx.v3beta1.OutputAudioEncoding" json:"audio_encoding,omitempty"` 745 // Optional. The synthesis sample rate (in hertz) for this audio. If not 746 // provided, then the synthesizer will use the default sample rate based on 747 // the audio encoding. If this is different from the voice's natural sample 748 // rate, then the synthesizer will honor this request by converting to the 749 // desired sample rate (which might result in worse audio quality). 750 SampleRateHertz int32 `protobuf:"varint,2,opt,name=sample_rate_hertz,json=sampleRateHertz,proto3" json:"sample_rate_hertz,omitempty"` 751 // Optional. Configuration of how speech should be synthesized. 752 SynthesizeSpeechConfig *SynthesizeSpeechConfig `protobuf:"bytes,3,opt,name=synthesize_speech_config,json=synthesizeSpeechConfig,proto3" json:"synthesize_speech_config,omitempty"` 753} 754 755func (x *OutputAudioConfig) Reset() { 756 *x = OutputAudioConfig{} 757 if protoimpl.UnsafeEnabled { 758 mi := &file_google_cloud_dialogflow_cx_v3beta1_audio_config_proto_msgTypes[4] 759 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 760 ms.StoreMessageInfo(mi) 761 } 762} 763 764func (x *OutputAudioConfig) String() string { 765 return protoimpl.X.MessageStringOf(x) 766} 767 768func (*OutputAudioConfig) ProtoMessage() {} 769 770func (x *OutputAudioConfig) ProtoReflect() protoreflect.Message { 771 mi := &file_google_cloud_dialogflow_cx_v3beta1_audio_config_proto_msgTypes[4] 772 if protoimpl.UnsafeEnabled && x != nil { 773 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 774 if ms.LoadMessageInfo() == nil { 775 ms.StoreMessageInfo(mi) 776 } 777 return ms 778 } 779 return mi.MessageOf(x) 780} 781 782// Deprecated: Use OutputAudioConfig.ProtoReflect.Descriptor instead. 783func (*OutputAudioConfig) Descriptor() ([]byte, []int) { 784 return file_google_cloud_dialogflow_cx_v3beta1_audio_config_proto_rawDescGZIP(), []int{4} 785} 786 787func (x *OutputAudioConfig) GetAudioEncoding() OutputAudioEncoding { 788 if x != nil { 789 return x.AudioEncoding 790 } 791 return OutputAudioEncoding_OUTPUT_AUDIO_ENCODING_UNSPECIFIED 792} 793 794func (x *OutputAudioConfig) GetSampleRateHertz() int32 { 795 if x != nil { 796 return x.SampleRateHertz 797 } 798 return 0 799} 800 801func (x *OutputAudioConfig) GetSynthesizeSpeechConfig() *SynthesizeSpeechConfig { 802 if x != nil { 803 return x.SynthesizeSpeechConfig 804 } 805 return nil 806} 807 808var File_google_cloud_dialogflow_cx_v3beta1_audio_config_proto protoreflect.FileDescriptor 809 810var file_google_cloud_dialogflow_cx_v3beta1_audio_config_proto_rawDesc = []byte{ 811 0x0a, 0x35, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x64, 812 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2f, 0x63, 0x78, 0x2f, 0x76, 0x33, 0x62, 813 0x65, 0x74, 0x61, 0x31, 0x2f, 0x61, 0x75, 0x64, 0x69, 0x6f, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 814 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x22, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 815 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 816 0x2e, 0x63, 0x78, 0x2e, 0x76, 0x33, 0x62, 0x65, 0x74, 0x61, 0x31, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 817 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 818 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x67, 0x6f, 819 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 820 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 821 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 822 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 823 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 824 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xbc, 0x01, 0x0a, 0x0e, 0x53, 0x70, 0x65, 0x65, 0x63, 0x68, 825 0x57, 0x6f, 0x72, 0x64, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x12, 0x0a, 0x04, 0x77, 0x6f, 0x72, 0x64, 826 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x77, 0x6f, 0x72, 0x64, 0x12, 0x3c, 0x0a, 0x0c, 827 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x18, 0x01, 0x20, 0x01, 828 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 829 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0b, 0x73, 830 0x74, 0x61, 0x72, 0x74, 0x4f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x65, 0x6e, 831 0x64, 0x5f, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 832 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 833 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x09, 0x65, 0x6e, 0x64, 0x4f, 0x66, 834 0x66, 0x73, 0x65, 0x74, 0x12, 0x1e, 0x0a, 0x0a, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x64, 0x65, 0x6e, 835 0x63, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x02, 0x52, 0x0a, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x64, 836 0x65, 0x6e, 0x63, 0x65, 0x22, 0x88, 0x03, 0x0a, 0x10, 0x49, 0x6e, 0x70, 0x75, 0x74, 0x41, 0x75, 837 0x64, 0x69, 0x6f, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x5d, 0x0a, 0x0e, 0x61, 0x75, 0x64, 838 0x69, 0x6f, 0x5f, 0x65, 0x6e, 0x63, 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 839 0x0e, 0x32, 0x31, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 840 0x2e, 0x64, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x63, 0x78, 0x2e, 0x76, 841 0x33, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x41, 0x75, 0x64, 0x69, 0x6f, 0x45, 0x6e, 0x63, 0x6f, 842 0x64, 0x69, 0x6e, 0x67, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0d, 0x61, 0x75, 0x64, 0x69, 0x6f, 843 0x45, 0x6e, 0x63, 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x12, 0x2a, 0x0a, 0x11, 0x73, 0x61, 0x6d, 0x70, 844 0x6c, 0x65, 0x5f, 0x72, 0x61, 0x74, 0x65, 0x5f, 0x68, 0x65, 0x72, 0x74, 0x7a, 0x18, 0x02, 0x20, 845 0x01, 0x28, 0x05, 0x52, 0x0f, 0x73, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x52, 0x61, 0x74, 0x65, 0x48, 846 0x65, 0x72, 0x74, 0x7a, 0x12, 0x28, 0x0a, 0x10, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x77, 847 0x6f, 0x72, 0x64, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0e, 848 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x57, 0x6f, 0x72, 0x64, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x21, 849 0x0a, 0x0c, 0x70, 0x68, 0x72, 0x61, 0x73, 0x65, 0x5f, 0x68, 0x69, 0x6e, 0x74, 0x73, 0x18, 0x04, 850 0x20, 0x03, 0x28, 0x09, 0x52, 0x0b, 0x70, 0x68, 0x72, 0x61, 0x73, 0x65, 0x48, 0x69, 0x6e, 0x74, 851 0x73, 0x12, 0x14, 0x0a, 0x05, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 852 0x52, 0x05, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x12, 0x5b, 0x0a, 0x0d, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 853 0x5f, 0x76, 0x61, 0x72, 0x69, 0x61, 0x6e, 0x74, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x36, 854 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x69, 855 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x63, 0x78, 0x2e, 0x76, 0x33, 0x62, 0x65, 856 0x74, 0x61, 0x31, 0x2e, 0x53, 0x70, 0x65, 0x65, 0x63, 0x68, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x56, 857 0x61, 0x72, 0x69, 0x61, 0x6e, 0x74, 0x52, 0x0c, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x56, 0x61, 0x72, 858 0x69, 0x61, 0x6e, 0x74, 0x12, 0x29, 0x0a, 0x10, 0x73, 0x69, 0x6e, 0x67, 0x6c, 0x65, 0x5f, 0x75, 859 0x74, 0x74, 0x65, 0x72, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0f, 860 0x73, 0x69, 0x6e, 0x67, 0x6c, 0x65, 0x55, 0x74, 0x74, 0x65, 0x72, 0x61, 0x6e, 0x63, 0x65, 0x22, 861 0x80, 0x01, 0x0a, 0x14, 0x56, 0x6f, 0x69, 0x63, 0x65, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x69, 862 0x6f, 0x6e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 863 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x54, 0x0a, 0x0b, 864 0x73, 0x73, 0x6d, 0x6c, 0x5f, 0x67, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 865 0x0e, 0x32, 0x33, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 866 0x2e, 0x64, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x63, 0x78, 0x2e, 0x76, 867 0x33, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x53, 0x73, 0x6d, 0x6c, 0x56, 0x6f, 0x69, 0x63, 0x65, 868 0x47, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x52, 0x0a, 0x73, 0x73, 0x6d, 0x6c, 0x47, 0x65, 0x6e, 0x64, 869 0x65, 0x72, 0x22, 0xf7, 0x01, 0x0a, 0x16, 0x53, 0x79, 0x6e, 0x74, 0x68, 0x65, 0x73, 0x69, 0x7a, 870 0x65, 0x53, 0x70, 0x65, 0x65, 0x63, 0x68, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x23, 0x0a, 871 0x0d, 0x73, 0x70, 0x65, 0x61, 0x6b, 0x69, 0x6e, 0x67, 0x5f, 0x72, 0x61, 0x74, 0x65, 0x18, 0x01, 872 0x20, 0x01, 0x28, 0x01, 0x52, 0x0c, 0x73, 0x70, 0x65, 0x61, 0x6b, 0x69, 0x6e, 0x67, 0x52, 0x61, 873 0x74, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x70, 0x69, 0x74, 0x63, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 874 0x01, 0x52, 0x05, 0x70, 0x69, 0x74, 0x63, 0x68, 0x12, 0x24, 0x0a, 0x0e, 0x76, 0x6f, 0x6c, 0x75, 875 0x6d, 0x65, 0x5f, 0x67, 0x61, 0x69, 0x6e, 0x5f, 0x64, 0x62, 0x18, 0x03, 0x20, 0x01, 0x28, 0x01, 876 0x52, 0x0c, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x47, 0x61, 0x69, 0x6e, 0x44, 0x62, 0x12, 0x2c, 877 0x0a, 0x12, 0x65, 0x66, 0x66, 0x65, 0x63, 0x74, 0x73, 0x5f, 0x70, 0x72, 0x6f, 0x66, 0x69, 0x6c, 878 0x65, 0x5f, 0x69, 0x64, 0x18, 0x05, 0x20, 0x03, 0x28, 0x09, 0x52, 0x10, 0x65, 0x66, 0x66, 0x65, 879 0x63, 0x74, 0x73, 0x50, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x49, 0x64, 0x12, 0x4e, 0x0a, 0x05, 880 0x76, 0x6f, 0x69, 0x63, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x38, 0x2e, 0x67, 0x6f, 881 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x69, 0x61, 0x6c, 0x6f, 882 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x63, 0x78, 0x2e, 0x76, 0x33, 0x62, 0x65, 0x74, 0x61, 0x31, 883 0x2e, 0x56, 0x6f, 0x69, 0x63, 0x65, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x50, 884 0x61, 0x72, 0x61, 0x6d, 0x73, 0x52, 0x05, 0x76, 0x6f, 0x69, 0x63, 0x65, 0x22, 0x9a, 0x02, 0x0a, 885 0x11, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x41, 0x75, 0x64, 0x69, 0x6f, 0x43, 0x6f, 0x6e, 0x66, 886 0x69, 0x67, 0x12, 0x63, 0x0a, 0x0e, 0x61, 0x75, 0x64, 0x69, 0x6f, 0x5f, 0x65, 0x6e, 0x63, 0x6f, 887 0x64, 0x69, 0x6e, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x37, 0x2e, 0x67, 0x6f, 0x6f, 888 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x69, 0x61, 0x6c, 0x6f, 0x67, 889 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x63, 0x78, 0x2e, 0x76, 0x33, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 890 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x41, 0x75, 0x64, 0x69, 0x6f, 0x45, 0x6e, 0x63, 0x6f, 0x64, 891 0x69, 0x6e, 0x67, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0d, 0x61, 0x75, 0x64, 0x69, 0x6f, 0x45, 892 0x6e, 0x63, 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x12, 0x2a, 0x0a, 0x11, 0x73, 0x61, 0x6d, 0x70, 0x6c, 893 0x65, 0x5f, 0x72, 0x61, 0x74, 0x65, 0x5f, 0x68, 0x65, 0x72, 0x74, 0x7a, 0x18, 0x02, 0x20, 0x01, 894 0x28, 0x05, 0x52, 0x0f, 0x73, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x52, 0x61, 0x74, 0x65, 0x48, 0x65, 895 0x72, 0x74, 0x7a, 0x12, 0x74, 0x0a, 0x18, 0x73, 0x79, 0x6e, 0x74, 0x68, 0x65, 0x73, 0x69, 0x7a, 896 0x65, 0x5f, 0x73, 0x70, 0x65, 0x65, 0x63, 0x68, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 897 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 898 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 899 0x63, 0x78, 0x2e, 0x76, 0x33, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x53, 0x79, 0x6e, 0x74, 0x68, 900 0x65, 0x73, 0x69, 0x7a, 0x65, 0x53, 0x70, 0x65, 0x65, 0x63, 0x68, 0x43, 0x6f, 0x6e, 0x66, 0x69, 901 0x67, 0x52, 0x16, 0x73, 0x79, 0x6e, 0x74, 0x68, 0x65, 0x73, 0x69, 0x7a, 0x65, 0x53, 0x70, 0x65, 902 0x65, 0x63, 0x68, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2a, 0xfb, 0x01, 0x0a, 0x0d, 0x41, 0x75, 903 0x64, 0x69, 0x6f, 0x45, 0x6e, 0x63, 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x12, 0x1e, 0x0a, 0x1a, 0x41, 904 0x55, 0x44, 0x49, 0x4f, 0x5f, 0x45, 0x4e, 0x43, 0x4f, 0x44, 0x49, 0x4e, 0x47, 0x5f, 0x55, 0x4e, 905 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x1c, 0x0a, 0x18, 0x41, 906 0x55, 0x44, 0x49, 0x4f, 0x5f, 0x45, 0x4e, 0x43, 0x4f, 0x44, 0x49, 0x4e, 0x47, 0x5f, 0x4c, 0x49, 907 0x4e, 0x45, 0x41, 0x52, 0x5f, 0x31, 0x36, 0x10, 0x01, 0x12, 0x17, 0x0a, 0x13, 0x41, 0x55, 0x44, 908 0x49, 0x4f, 0x5f, 0x45, 0x4e, 0x43, 0x4f, 0x44, 0x49, 0x4e, 0x47, 0x5f, 0x46, 0x4c, 0x41, 0x43, 909 0x10, 0x02, 0x12, 0x18, 0x0a, 0x14, 0x41, 0x55, 0x44, 0x49, 0x4f, 0x5f, 0x45, 0x4e, 0x43, 0x4f, 910 0x44, 0x49, 0x4e, 0x47, 0x5f, 0x4d, 0x55, 0x4c, 0x41, 0x57, 0x10, 0x03, 0x12, 0x16, 0x0a, 0x12, 911 0x41, 0x55, 0x44, 0x49, 0x4f, 0x5f, 0x45, 0x4e, 0x43, 0x4f, 0x44, 0x49, 0x4e, 0x47, 0x5f, 0x41, 912 0x4d, 0x52, 0x10, 0x04, 0x12, 0x19, 0x0a, 0x15, 0x41, 0x55, 0x44, 0x49, 0x4f, 0x5f, 0x45, 0x4e, 913 0x43, 0x4f, 0x44, 0x49, 0x4e, 0x47, 0x5f, 0x41, 0x4d, 0x52, 0x5f, 0x57, 0x42, 0x10, 0x05, 0x12, 914 0x1b, 0x0a, 0x17, 0x41, 0x55, 0x44, 0x49, 0x4f, 0x5f, 0x45, 0x4e, 0x43, 0x4f, 0x44, 0x49, 0x4e, 915 0x47, 0x5f, 0x4f, 0x47, 0x47, 0x5f, 0x4f, 0x50, 0x55, 0x53, 0x10, 0x06, 0x12, 0x29, 0x0a, 0x25, 916 0x41, 0x55, 0x44, 0x49, 0x4f, 0x5f, 0x45, 0x4e, 0x43, 0x4f, 0x44, 0x49, 0x4e, 0x47, 0x5f, 0x53, 917 0x50, 0x45, 0x45, 0x58, 0x5f, 0x57, 0x49, 0x54, 0x48, 0x5f, 0x48, 0x45, 0x41, 0x44, 0x45, 0x52, 918 0x5f, 0x42, 0x59, 0x54, 0x45, 0x10, 0x07, 0x2a, 0x76, 0x0a, 0x12, 0x53, 0x70, 0x65, 0x65, 0x63, 919 0x68, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x56, 0x61, 0x72, 0x69, 0x61, 0x6e, 0x74, 0x12, 0x24, 0x0a, 920 0x20, 0x53, 0x50, 0x45, 0x45, 0x43, 0x48, 0x5f, 0x4d, 0x4f, 0x44, 0x45, 0x4c, 0x5f, 0x56, 0x41, 921 0x52, 0x49, 0x41, 0x4e, 0x54, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 922 0x44, 0x10, 0x00, 0x12, 0x16, 0x0a, 0x12, 0x55, 0x53, 0x45, 0x5f, 0x42, 0x45, 0x53, 0x54, 0x5f, 923 0x41, 0x56, 0x41, 0x49, 0x4c, 0x41, 0x42, 0x4c, 0x45, 0x10, 0x01, 0x12, 0x10, 0x0a, 0x0c, 0x55, 924 0x53, 0x45, 0x5f, 0x53, 0x54, 0x41, 0x4e, 0x44, 0x41, 0x52, 0x44, 0x10, 0x02, 0x12, 0x10, 0x0a, 925 0x0c, 0x55, 0x53, 0x45, 0x5f, 0x45, 0x4e, 0x48, 0x41, 0x4e, 0x43, 0x45, 0x44, 0x10, 0x03, 0x2a, 926 0x8d, 0x01, 0x0a, 0x0f, 0x53, 0x73, 0x6d, 0x6c, 0x56, 0x6f, 0x69, 0x63, 0x65, 0x47, 0x65, 0x6e, 927 0x64, 0x65, 0x72, 0x12, 0x21, 0x0a, 0x1d, 0x53, 0x53, 0x4d, 0x4c, 0x5f, 0x56, 0x4f, 0x49, 0x43, 928 0x45, 0x5f, 0x47, 0x45, 0x4e, 0x44, 0x45, 0x52, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 929 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x1a, 0x0a, 0x16, 0x53, 0x53, 0x4d, 0x4c, 0x5f, 0x56, 930 0x4f, 0x49, 0x43, 0x45, 0x5f, 0x47, 0x45, 0x4e, 0x44, 0x45, 0x52, 0x5f, 0x4d, 0x41, 0x4c, 0x45, 931 0x10, 0x01, 0x12, 0x1c, 0x0a, 0x18, 0x53, 0x53, 0x4d, 0x4c, 0x5f, 0x56, 0x4f, 0x49, 0x43, 0x45, 932 0x5f, 0x47, 0x45, 0x4e, 0x44, 0x45, 0x52, 0x5f, 0x46, 0x45, 0x4d, 0x41, 0x4c, 0x45, 0x10, 0x02, 933 0x12, 0x1d, 0x0a, 0x19, 0x53, 0x53, 0x4d, 0x4c, 0x5f, 0x56, 0x4f, 0x49, 0x43, 0x45, 0x5f, 0x47, 934 0x45, 0x4e, 0x44, 0x45, 0x52, 0x5f, 0x4e, 0x45, 0x55, 0x54, 0x52, 0x41, 0x4c, 0x10, 0x03, 0x2a, 935 0xec, 0x01, 0x0a, 0x13, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x41, 0x75, 0x64, 0x69, 0x6f, 0x45, 936 0x6e, 0x63, 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x12, 0x25, 0x0a, 0x21, 0x4f, 0x55, 0x54, 0x50, 0x55, 937 0x54, 0x5f, 0x41, 0x55, 0x44, 0x49, 0x4f, 0x5f, 0x45, 0x4e, 0x43, 0x4f, 0x44, 0x49, 0x4e, 0x47, 938 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x23, 939 0x0a, 0x1f, 0x4f, 0x55, 0x54, 0x50, 0x55, 0x54, 0x5f, 0x41, 0x55, 0x44, 0x49, 0x4f, 0x5f, 0x45, 940 0x4e, 0x43, 0x4f, 0x44, 0x49, 0x4e, 0x47, 0x5f, 0x4c, 0x49, 0x4e, 0x45, 0x41, 0x52, 0x5f, 0x31, 941 0x36, 0x10, 0x01, 0x12, 0x1d, 0x0a, 0x19, 0x4f, 0x55, 0x54, 0x50, 0x55, 0x54, 0x5f, 0x41, 0x55, 942 0x44, 0x49, 0x4f, 0x5f, 0x45, 0x4e, 0x43, 0x4f, 0x44, 0x49, 0x4e, 0x47, 0x5f, 0x4d, 0x50, 0x33, 943 0x10, 0x02, 0x12, 0x25, 0x0a, 0x21, 0x4f, 0x55, 0x54, 0x50, 0x55, 0x54, 0x5f, 0x41, 0x55, 0x44, 944 0x49, 0x4f, 0x5f, 0x45, 0x4e, 0x43, 0x4f, 0x44, 0x49, 0x4e, 0x47, 0x5f, 0x4d, 0x50, 0x33, 0x5f, 945 0x36, 0x34, 0x5f, 0x4b, 0x42, 0x50, 0x53, 0x10, 0x04, 0x12, 0x22, 0x0a, 0x1e, 0x4f, 0x55, 0x54, 946 0x50, 0x55, 0x54, 0x5f, 0x41, 0x55, 0x44, 0x49, 0x4f, 0x5f, 0x45, 0x4e, 0x43, 0x4f, 0x44, 0x49, 947 0x4e, 0x47, 0x5f, 0x4f, 0x47, 0x47, 0x5f, 0x4f, 0x50, 0x55, 0x53, 0x10, 0x03, 0x12, 0x1f, 0x0a, 948 0x1b, 0x4f, 0x55, 0x54, 0x50, 0x55, 0x54, 0x5f, 0x41, 0x55, 0x44, 0x49, 0x4f, 0x5f, 0x45, 0x4e, 949 0x43, 0x4f, 0x44, 0x49, 0x4e, 0x47, 0x5f, 0x4d, 0x55, 0x4c, 0x41, 0x57, 0x10, 0x05, 0x42, 0xaf, 950 0x01, 0x0a, 0x26, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 951 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x63, 952 0x78, 0x2e, 0x76, 0x33, 0x62, 0x65, 0x74, 0x61, 0x31, 0x42, 0x10, 0x41, 0x75, 0x64, 0x69, 0x6f, 953 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x44, 0x67, 954 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 955 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 956 0x61, 0x70, 0x69, 0x73, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x64, 0x69, 0x61, 0x6c, 0x6f, 957 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2f, 0x63, 0x78, 0x2f, 0x76, 0x33, 0x62, 0x65, 0x74, 0x61, 0x31, 958 0x3b, 0x63, 0x78, 0xf8, 0x01, 0x01, 0xa2, 0x02, 0x02, 0x44, 0x46, 0xaa, 0x02, 0x22, 0x47, 0x6f, 959 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x44, 0x69, 0x61, 0x6c, 0x6f, 960 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x43, 0x78, 0x2e, 0x56, 0x33, 0x42, 0x65, 0x74, 0x61, 0x31, 961 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 962} 963 964var ( 965 file_google_cloud_dialogflow_cx_v3beta1_audio_config_proto_rawDescOnce sync.Once 966 file_google_cloud_dialogflow_cx_v3beta1_audio_config_proto_rawDescData = file_google_cloud_dialogflow_cx_v3beta1_audio_config_proto_rawDesc 967) 968 969func file_google_cloud_dialogflow_cx_v3beta1_audio_config_proto_rawDescGZIP() []byte { 970 file_google_cloud_dialogflow_cx_v3beta1_audio_config_proto_rawDescOnce.Do(func() { 971 file_google_cloud_dialogflow_cx_v3beta1_audio_config_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_dialogflow_cx_v3beta1_audio_config_proto_rawDescData) 972 }) 973 return file_google_cloud_dialogflow_cx_v3beta1_audio_config_proto_rawDescData 974} 975 976var file_google_cloud_dialogflow_cx_v3beta1_audio_config_proto_enumTypes = make([]protoimpl.EnumInfo, 4) 977var file_google_cloud_dialogflow_cx_v3beta1_audio_config_proto_msgTypes = make([]protoimpl.MessageInfo, 5) 978var file_google_cloud_dialogflow_cx_v3beta1_audio_config_proto_goTypes = []interface{}{ 979 (AudioEncoding)(0), // 0: google.cloud.dialogflow.cx.v3beta1.AudioEncoding 980 (SpeechModelVariant)(0), // 1: google.cloud.dialogflow.cx.v3beta1.SpeechModelVariant 981 (SsmlVoiceGender)(0), // 2: google.cloud.dialogflow.cx.v3beta1.SsmlVoiceGender 982 (OutputAudioEncoding)(0), // 3: google.cloud.dialogflow.cx.v3beta1.OutputAudioEncoding 983 (*SpeechWordInfo)(nil), // 4: google.cloud.dialogflow.cx.v3beta1.SpeechWordInfo 984 (*InputAudioConfig)(nil), // 5: google.cloud.dialogflow.cx.v3beta1.InputAudioConfig 985 (*VoiceSelectionParams)(nil), // 6: google.cloud.dialogflow.cx.v3beta1.VoiceSelectionParams 986 (*SynthesizeSpeechConfig)(nil), // 7: google.cloud.dialogflow.cx.v3beta1.SynthesizeSpeechConfig 987 (*OutputAudioConfig)(nil), // 8: google.cloud.dialogflow.cx.v3beta1.OutputAudioConfig 988 (*durationpb.Duration)(nil), // 9: google.protobuf.Duration 989} 990var file_google_cloud_dialogflow_cx_v3beta1_audio_config_proto_depIdxs = []int32{ 991 9, // 0: google.cloud.dialogflow.cx.v3beta1.SpeechWordInfo.start_offset:type_name -> google.protobuf.Duration 992 9, // 1: google.cloud.dialogflow.cx.v3beta1.SpeechWordInfo.end_offset:type_name -> google.protobuf.Duration 993 0, // 2: google.cloud.dialogflow.cx.v3beta1.InputAudioConfig.audio_encoding:type_name -> google.cloud.dialogflow.cx.v3beta1.AudioEncoding 994 1, // 3: google.cloud.dialogflow.cx.v3beta1.InputAudioConfig.model_variant:type_name -> google.cloud.dialogflow.cx.v3beta1.SpeechModelVariant 995 2, // 4: google.cloud.dialogflow.cx.v3beta1.VoiceSelectionParams.ssml_gender:type_name -> google.cloud.dialogflow.cx.v3beta1.SsmlVoiceGender 996 6, // 5: google.cloud.dialogflow.cx.v3beta1.SynthesizeSpeechConfig.voice:type_name -> google.cloud.dialogflow.cx.v3beta1.VoiceSelectionParams 997 3, // 6: google.cloud.dialogflow.cx.v3beta1.OutputAudioConfig.audio_encoding:type_name -> google.cloud.dialogflow.cx.v3beta1.OutputAudioEncoding 998 7, // 7: google.cloud.dialogflow.cx.v3beta1.OutputAudioConfig.synthesize_speech_config:type_name -> google.cloud.dialogflow.cx.v3beta1.SynthesizeSpeechConfig 999 8, // [8:8] is the sub-list for method output_type 1000 8, // [8:8] is the sub-list for method input_type 1001 8, // [8:8] is the sub-list for extension type_name 1002 8, // [8:8] is the sub-list for extension extendee 1003 0, // [0:8] is the sub-list for field type_name 1004} 1005 1006func init() { file_google_cloud_dialogflow_cx_v3beta1_audio_config_proto_init() } 1007func file_google_cloud_dialogflow_cx_v3beta1_audio_config_proto_init() { 1008 if File_google_cloud_dialogflow_cx_v3beta1_audio_config_proto != nil { 1009 return 1010 } 1011 if !protoimpl.UnsafeEnabled { 1012 file_google_cloud_dialogflow_cx_v3beta1_audio_config_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 1013 switch v := v.(*SpeechWordInfo); i { 1014 case 0: 1015 return &v.state 1016 case 1: 1017 return &v.sizeCache 1018 case 2: 1019 return &v.unknownFields 1020 default: 1021 return nil 1022 } 1023 } 1024 file_google_cloud_dialogflow_cx_v3beta1_audio_config_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 1025 switch v := v.(*InputAudioConfig); i { 1026 case 0: 1027 return &v.state 1028 case 1: 1029 return &v.sizeCache 1030 case 2: 1031 return &v.unknownFields 1032 default: 1033 return nil 1034 } 1035 } 1036 file_google_cloud_dialogflow_cx_v3beta1_audio_config_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 1037 switch v := v.(*VoiceSelectionParams); i { 1038 case 0: 1039 return &v.state 1040 case 1: 1041 return &v.sizeCache 1042 case 2: 1043 return &v.unknownFields 1044 default: 1045 return nil 1046 } 1047 } 1048 file_google_cloud_dialogflow_cx_v3beta1_audio_config_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 1049 switch v := v.(*SynthesizeSpeechConfig); i { 1050 case 0: 1051 return &v.state 1052 case 1: 1053 return &v.sizeCache 1054 case 2: 1055 return &v.unknownFields 1056 default: 1057 return nil 1058 } 1059 } 1060 file_google_cloud_dialogflow_cx_v3beta1_audio_config_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { 1061 switch v := v.(*OutputAudioConfig); i { 1062 case 0: 1063 return &v.state 1064 case 1: 1065 return &v.sizeCache 1066 case 2: 1067 return &v.unknownFields 1068 default: 1069 return nil 1070 } 1071 } 1072 } 1073 type x struct{} 1074 out := protoimpl.TypeBuilder{ 1075 File: protoimpl.DescBuilder{ 1076 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 1077 RawDescriptor: file_google_cloud_dialogflow_cx_v3beta1_audio_config_proto_rawDesc, 1078 NumEnums: 4, 1079 NumMessages: 5, 1080 NumExtensions: 0, 1081 NumServices: 0, 1082 }, 1083 GoTypes: file_google_cloud_dialogflow_cx_v3beta1_audio_config_proto_goTypes, 1084 DependencyIndexes: file_google_cloud_dialogflow_cx_v3beta1_audio_config_proto_depIdxs, 1085 EnumInfos: file_google_cloud_dialogflow_cx_v3beta1_audio_config_proto_enumTypes, 1086 MessageInfos: file_google_cloud_dialogflow_cx_v3beta1_audio_config_proto_msgTypes, 1087 }.Build() 1088 File_google_cloud_dialogflow_cx_v3beta1_audio_config_proto = out.File 1089 file_google_cloud_dialogflow_cx_v3beta1_audio_config_proto_rawDesc = nil 1090 file_google_cloud_dialogflow_cx_v3beta1_audio_config_proto_goTypes = nil 1091 file_google_cloud_dialogflow_cx_v3beta1_audio_config_proto_depIdxs = nil 1092} 1093