| // Copyright 2023 Google LLC |
| // |
| // Licensed under the Apache License, Version 2.0 (the "License"); |
| // you may not use this file except in compliance with the License. |
| // You may obtain a copy of the License at |
| // |
| // http://www.apache.org/licenses/LICENSE-2.0 |
| // |
| // Unless required by applicable law or agreed to in writing, software |
| // distributed under the License is distributed on an "AS IS" BASIS, |
| // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| // See the License for the specific language governing permissions and |
| // limitations under the License. |
| |
| // Code generated by protoc-gen-go. DO NOT EDIT. |
| // versions: |
| // protoc-gen-go v1.33.0 |
| // protoc v4.25.3 |
| // source: google/cloud/dialogflow/cx/v3/audio_config.proto |
| |
| package cxpb |
| |
| import ( |
| reflect "reflect" |
| sync "sync" |
| |
| _ "google.golang.org/genproto/googleapis/api/annotations" |
| protoreflect "google.golang.org/protobuf/reflect/protoreflect" |
| protoimpl "google.golang.org/protobuf/runtime/protoimpl" |
| durationpb "google.golang.org/protobuf/types/known/durationpb" |
| ) |
| |
| const ( |
| // Verify that this generated code is sufficiently up-to-date. |
| _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) |
| // Verify that runtime/protoimpl is sufficiently up-to-date. |
| _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) |
| ) |
| |
| // Audio encoding of the audio content sent in the conversational query request. |
| // Refer to the |
| // [Cloud Speech API |
| // documentation](https://cloud.google.com/speech-to-text/docs/basics) for more |
| // details. |
| type AudioEncoding int32 |
| |
| const ( |
| // Not specified. |
| AudioEncoding_AUDIO_ENCODING_UNSPECIFIED AudioEncoding = 0 |
| // Uncompressed 16-bit signed little-endian samples (Linear PCM). |
| AudioEncoding_AUDIO_ENCODING_LINEAR_16 AudioEncoding = 1 |
| // [`FLAC`](https://xiph.org/flac/documentation.html) (Free Lossless Audio |
| // Codec) is the recommended encoding because it is lossless (therefore |
| // recognition is not compromised) and requires only about half the |
| // bandwidth of `LINEAR16`. `FLAC` stream encoding supports 16-bit and |
| // 24-bit samples, however, not all fields in `STREAMINFO` are supported. |
| AudioEncoding_AUDIO_ENCODING_FLAC AudioEncoding = 2 |
| // 8-bit samples that compand 14-bit audio samples using G.711 PCMU/mu-law. |
| AudioEncoding_AUDIO_ENCODING_MULAW AudioEncoding = 3 |
| // Adaptive Multi-Rate Narrowband codec. `sample_rate_hertz` must be 8000. |
| AudioEncoding_AUDIO_ENCODING_AMR AudioEncoding = 4 |
| // Adaptive Multi-Rate Wideband codec. `sample_rate_hertz` must be 16000. |
| AudioEncoding_AUDIO_ENCODING_AMR_WB AudioEncoding = 5 |
| // Opus encoded audio frames in Ogg container |
| // ([OggOpus](https://wiki.xiph.org/OggOpus)). |
| // `sample_rate_hertz` must be 16000. |
| AudioEncoding_AUDIO_ENCODING_OGG_OPUS AudioEncoding = 6 |
| // Although the use of lossy encodings is not recommended, if a very low |
| // bitrate encoding is required, `OGG_OPUS` is highly preferred over |
| // Speex encoding. The [Speex](https://speex.org/) encoding supported by |
| // Dialogflow API has a header byte in each block, as in MIME type |
| // `audio/x-speex-with-header-byte`. |
| // It is a variant of the RTP Speex encoding defined in |
| // [RFC 5574](https://tools.ietf.org/html/rfc5574). |
| // The stream is a sequence of blocks, one block per RTP packet. Each block |
| // starts with a byte containing the length of the block, in bytes, followed |
| // by one or more frames of Speex data, padded to an integral number of |
| // bytes (octets) as specified in RFC 5574. In other words, each RTP header |
| // is replaced with a single byte containing the block length. Only Speex |
| // wideband is supported. `sample_rate_hertz` must be 16000. |
| AudioEncoding_AUDIO_ENCODING_SPEEX_WITH_HEADER_BYTE AudioEncoding = 7 |
| ) |
| |
| // Enum value maps for AudioEncoding. |
| var ( |
| AudioEncoding_name = map[int32]string{ |
| 0: "AUDIO_ENCODING_UNSPECIFIED", |
| 1: "AUDIO_ENCODING_LINEAR_16", |
| 2: "AUDIO_ENCODING_FLAC", |
| 3: "AUDIO_ENCODING_MULAW", |
| 4: "AUDIO_ENCODING_AMR", |
| 5: "AUDIO_ENCODING_AMR_WB", |
| 6: "AUDIO_ENCODING_OGG_OPUS", |
| 7: "AUDIO_ENCODING_SPEEX_WITH_HEADER_BYTE", |
| } |
| AudioEncoding_value = map[string]int32{ |
| "AUDIO_ENCODING_UNSPECIFIED": 0, |
| "AUDIO_ENCODING_LINEAR_16": 1, |
| "AUDIO_ENCODING_FLAC": 2, |
| "AUDIO_ENCODING_MULAW": 3, |
| "AUDIO_ENCODING_AMR": 4, |
| "AUDIO_ENCODING_AMR_WB": 5, |
| "AUDIO_ENCODING_OGG_OPUS": 6, |
| "AUDIO_ENCODING_SPEEX_WITH_HEADER_BYTE": 7, |
| } |
| ) |
| |
| func (x AudioEncoding) Enum() *AudioEncoding { |
| p := new(AudioEncoding) |
| *p = x |
| return p |
| } |
| |
| func (x AudioEncoding) String() string { |
| return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| } |
| |
| func (AudioEncoding) Descriptor() protoreflect.EnumDescriptor { |
| return file_google_cloud_dialogflow_cx_v3_audio_config_proto_enumTypes[0].Descriptor() |
| } |
| |
| func (AudioEncoding) Type() protoreflect.EnumType { |
| return &file_google_cloud_dialogflow_cx_v3_audio_config_proto_enumTypes[0] |
| } |
| |
| func (x AudioEncoding) Number() protoreflect.EnumNumber { |
| return protoreflect.EnumNumber(x) |
| } |
| |
| // Deprecated: Use AudioEncoding.Descriptor instead. |
| func (AudioEncoding) EnumDescriptor() ([]byte, []int) { |
| return file_google_cloud_dialogflow_cx_v3_audio_config_proto_rawDescGZIP(), []int{0} |
| } |
| |
| // Variant of the specified [Speech |
| // model][google.cloud.dialogflow.cx.v3.InputAudioConfig.model] to use. |
| // |
| // See the [Cloud Speech |
| // documentation](https://cloud.google.com/speech-to-text/docs/enhanced-models) |
| // for which models have different variants. For example, the "phone_call" model |
| // has both a standard and an enhanced variant. When you use an enhanced model, |
| // you will generally receive higher quality results than for a standard model. |
| type SpeechModelVariant int32 |
| |
| const ( |
| // No model variant specified. In this case Dialogflow defaults to |
| // USE_BEST_AVAILABLE. |
| SpeechModelVariant_SPEECH_MODEL_VARIANT_UNSPECIFIED SpeechModelVariant = 0 |
| // Use the best available variant of the [Speech |
| // model][InputAudioConfig.model] that the caller is eligible for. |
| SpeechModelVariant_USE_BEST_AVAILABLE SpeechModelVariant = 1 |
| // Use standard model variant even if an enhanced model is available. See the |
| // [Cloud Speech |
| // documentation](https://cloud.google.com/speech-to-text/docs/enhanced-models) |
| // for details about enhanced models. |
| SpeechModelVariant_USE_STANDARD SpeechModelVariant = 2 |
| // Use an enhanced model variant: |
| // |
| // - If an enhanced variant does not exist for the given |
| // [model][google.cloud.dialogflow.cx.v3.InputAudioConfig.model] and request |
| // language, Dialogflow falls back to the standard variant. |
| // |
| // The [Cloud Speech |
| // documentation](https://cloud.google.com/speech-to-text/docs/enhanced-models) |
| // describes which models have enhanced variants. |
| SpeechModelVariant_USE_ENHANCED SpeechModelVariant = 3 |
| ) |
| |
| // Enum value maps for SpeechModelVariant. |
| var ( |
| SpeechModelVariant_name = map[int32]string{ |
| 0: "SPEECH_MODEL_VARIANT_UNSPECIFIED", |
| 1: "USE_BEST_AVAILABLE", |
| 2: "USE_STANDARD", |
| 3: "USE_ENHANCED", |
| } |
| SpeechModelVariant_value = map[string]int32{ |
| "SPEECH_MODEL_VARIANT_UNSPECIFIED": 0, |
| "USE_BEST_AVAILABLE": 1, |
| "USE_STANDARD": 2, |
| "USE_ENHANCED": 3, |
| } |
| ) |
| |
| func (x SpeechModelVariant) Enum() *SpeechModelVariant { |
| p := new(SpeechModelVariant) |
| *p = x |
| return p |
| } |
| |
| func (x SpeechModelVariant) String() string { |
| return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| } |
| |
| func (SpeechModelVariant) Descriptor() protoreflect.EnumDescriptor { |
| return file_google_cloud_dialogflow_cx_v3_audio_config_proto_enumTypes[1].Descriptor() |
| } |
| |
| func (SpeechModelVariant) Type() protoreflect.EnumType { |
| return &file_google_cloud_dialogflow_cx_v3_audio_config_proto_enumTypes[1] |
| } |
| |
| func (x SpeechModelVariant) Number() protoreflect.EnumNumber { |
| return protoreflect.EnumNumber(x) |
| } |
| |
| // Deprecated: Use SpeechModelVariant.Descriptor instead. |
| func (SpeechModelVariant) EnumDescriptor() ([]byte, []int) { |
| return file_google_cloud_dialogflow_cx_v3_audio_config_proto_rawDescGZIP(), []int{1} |
| } |
| |
| // Gender of the voice as described in |
| // [SSML voice element](https://www.w3.org/TR/speech-synthesis11/#edef_voice). |
| type SsmlVoiceGender int32 |
| |
| const ( |
| // An unspecified gender, which means that the client doesn't care which |
| // gender the selected voice will have. |
| SsmlVoiceGender_SSML_VOICE_GENDER_UNSPECIFIED SsmlVoiceGender = 0 |
| // A male voice. |
| SsmlVoiceGender_SSML_VOICE_GENDER_MALE SsmlVoiceGender = 1 |
| // A female voice. |
| SsmlVoiceGender_SSML_VOICE_GENDER_FEMALE SsmlVoiceGender = 2 |
| // A gender-neutral voice. |
| SsmlVoiceGender_SSML_VOICE_GENDER_NEUTRAL SsmlVoiceGender = 3 |
| ) |
| |
| // Enum value maps for SsmlVoiceGender. |
| var ( |
| SsmlVoiceGender_name = map[int32]string{ |
| 0: "SSML_VOICE_GENDER_UNSPECIFIED", |
| 1: "SSML_VOICE_GENDER_MALE", |
| 2: "SSML_VOICE_GENDER_FEMALE", |
| 3: "SSML_VOICE_GENDER_NEUTRAL", |
| } |
| SsmlVoiceGender_value = map[string]int32{ |
| "SSML_VOICE_GENDER_UNSPECIFIED": 0, |
| "SSML_VOICE_GENDER_MALE": 1, |
| "SSML_VOICE_GENDER_FEMALE": 2, |
| "SSML_VOICE_GENDER_NEUTRAL": 3, |
| } |
| ) |
| |
| func (x SsmlVoiceGender) Enum() *SsmlVoiceGender { |
| p := new(SsmlVoiceGender) |
| *p = x |
| return p |
| } |
| |
| func (x SsmlVoiceGender) String() string { |
| return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| } |
| |
| func (SsmlVoiceGender) Descriptor() protoreflect.EnumDescriptor { |
| return file_google_cloud_dialogflow_cx_v3_audio_config_proto_enumTypes[2].Descriptor() |
| } |
| |
| func (SsmlVoiceGender) Type() protoreflect.EnumType { |
| return &file_google_cloud_dialogflow_cx_v3_audio_config_proto_enumTypes[2] |
| } |
| |
| func (x SsmlVoiceGender) Number() protoreflect.EnumNumber { |
| return protoreflect.EnumNumber(x) |
| } |
| |
| // Deprecated: Use SsmlVoiceGender.Descriptor instead. |
| func (SsmlVoiceGender) EnumDescriptor() ([]byte, []int) { |
| return file_google_cloud_dialogflow_cx_v3_audio_config_proto_rawDescGZIP(), []int{2} |
| } |
| |
| // Audio encoding of the output audio format in Text-To-Speech. |
| type OutputAudioEncoding int32 |
| |
| const ( |
| // Not specified. |
| OutputAudioEncoding_OUTPUT_AUDIO_ENCODING_UNSPECIFIED OutputAudioEncoding = 0 |
| // Uncompressed 16-bit signed little-endian samples (Linear PCM). |
| // Audio content returned as LINEAR16 also contains a WAV header. |
| OutputAudioEncoding_OUTPUT_AUDIO_ENCODING_LINEAR_16 OutputAudioEncoding = 1 |
| // MP3 audio at 32kbps. |
| OutputAudioEncoding_OUTPUT_AUDIO_ENCODING_MP3 OutputAudioEncoding = 2 |
| // MP3 audio at 64kbps. |
| OutputAudioEncoding_OUTPUT_AUDIO_ENCODING_MP3_64_KBPS OutputAudioEncoding = 4 |
| // Opus encoded audio wrapped in an ogg container. The result will be a |
| // file which can be played natively on Android, and in browsers (at least |
| // Chrome and Firefox). The quality of the encoding is considerably higher |
| // than MP3 while using approximately the same bitrate. |
| OutputAudioEncoding_OUTPUT_AUDIO_ENCODING_OGG_OPUS OutputAudioEncoding = 3 |
| // 8-bit samples that compand 14-bit audio samples using G.711 PCMU/mu-law. |
| OutputAudioEncoding_OUTPUT_AUDIO_ENCODING_MULAW OutputAudioEncoding = 5 |
| ) |
| |
| // Enum value maps for OutputAudioEncoding. |
| var ( |
| OutputAudioEncoding_name = map[int32]string{ |
| 0: "OUTPUT_AUDIO_ENCODING_UNSPECIFIED", |
| 1: "OUTPUT_AUDIO_ENCODING_LINEAR_16", |
| 2: "OUTPUT_AUDIO_ENCODING_MP3", |
| 4: "OUTPUT_AUDIO_ENCODING_MP3_64_KBPS", |
| 3: "OUTPUT_AUDIO_ENCODING_OGG_OPUS", |
| 5: "OUTPUT_AUDIO_ENCODING_MULAW", |
| } |
| OutputAudioEncoding_value = map[string]int32{ |
| "OUTPUT_AUDIO_ENCODING_UNSPECIFIED": 0, |
| "OUTPUT_AUDIO_ENCODING_LINEAR_16": 1, |
| "OUTPUT_AUDIO_ENCODING_MP3": 2, |
| "OUTPUT_AUDIO_ENCODING_MP3_64_KBPS": 4, |
| "OUTPUT_AUDIO_ENCODING_OGG_OPUS": 3, |
| "OUTPUT_AUDIO_ENCODING_MULAW": 5, |
| } |
| ) |
| |
| func (x OutputAudioEncoding) Enum() *OutputAudioEncoding { |
| p := new(OutputAudioEncoding) |
| *p = x |
| return p |
| } |
| |
| func (x OutputAudioEncoding) String() string { |
| return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| } |
| |
| func (OutputAudioEncoding) Descriptor() protoreflect.EnumDescriptor { |
| return file_google_cloud_dialogflow_cx_v3_audio_config_proto_enumTypes[3].Descriptor() |
| } |
| |
| func (OutputAudioEncoding) Type() protoreflect.EnumType { |
| return &file_google_cloud_dialogflow_cx_v3_audio_config_proto_enumTypes[3] |
| } |
| |
| func (x OutputAudioEncoding) Number() protoreflect.EnumNumber { |
| return protoreflect.EnumNumber(x) |
| } |
| |
| // Deprecated: Use OutputAudioEncoding.Descriptor instead. |
| func (OutputAudioEncoding) EnumDescriptor() ([]byte, []int) { |
| return file_google_cloud_dialogflow_cx_v3_audio_config_proto_rawDescGZIP(), []int{3} |
| } |
| |
| // Information for a word recognized by the speech recognizer. |
| type SpeechWordInfo struct { |
| state protoimpl.MessageState |
| sizeCache protoimpl.SizeCache |
| unknownFields protoimpl.UnknownFields |
| |
| // The word this info is for. |
| Word string `protobuf:"bytes,3,opt,name=word,proto3" json:"word,omitempty"` |
| // Time offset relative to the beginning of the audio that corresponds to the |
| // start of the spoken word. This is an experimental feature and the accuracy |
| // of the time offset can vary. |
| StartOffset *durationpb.Duration `protobuf:"bytes,1,opt,name=start_offset,json=startOffset,proto3" json:"start_offset,omitempty"` |
| // Time offset relative to the beginning of the audio that corresponds to the |
| // end of the spoken word. This is an experimental feature and the accuracy of |
| // the time offset can vary. |
| EndOffset *durationpb.Duration `protobuf:"bytes,2,opt,name=end_offset,json=endOffset,proto3" json:"end_offset,omitempty"` |
| // The Speech confidence between 0.0 and 1.0 for this word. A higher number |
| // indicates an estimated greater likelihood that the recognized word is |
| // correct. The default of 0.0 is a sentinel value indicating that confidence |
| // was not set. |
| // |
| // This field is not guaranteed to be fully stable over time for the same |
| // audio input. Users should also not rely on it to always be provided. |
| Confidence float32 `protobuf:"fixed32,4,opt,name=confidence,proto3" json:"confidence,omitempty"` |
| } |
| |
| func (x *SpeechWordInfo) Reset() { |
| *x = SpeechWordInfo{} |
| if protoimpl.UnsafeEnabled { |
| mi := &file_google_cloud_dialogflow_cx_v3_audio_config_proto_msgTypes[0] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| } |
| |
| func (x *SpeechWordInfo) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*SpeechWordInfo) ProtoMessage() {} |
| |
| func (x *SpeechWordInfo) ProtoReflect() protoreflect.Message { |
| mi := &file_google_cloud_dialogflow_cx_v3_audio_config_proto_msgTypes[0] |
| if protoimpl.UnsafeEnabled && x != nil { |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| if ms.LoadMessageInfo() == nil { |
| ms.StoreMessageInfo(mi) |
| } |
| return ms |
| } |
| return mi.MessageOf(x) |
| } |
| |
| // Deprecated: Use SpeechWordInfo.ProtoReflect.Descriptor instead. |
| func (*SpeechWordInfo) Descriptor() ([]byte, []int) { |
| return file_google_cloud_dialogflow_cx_v3_audio_config_proto_rawDescGZIP(), []int{0} |
| } |
| |
| func (x *SpeechWordInfo) GetWord() string { |
| if x != nil { |
| return x.Word |
| } |
| return "" |
| } |
| |
| func (x *SpeechWordInfo) GetStartOffset() *durationpb.Duration { |
| if x != nil { |
| return x.StartOffset |
| } |
| return nil |
| } |
| |
| func (x *SpeechWordInfo) GetEndOffset() *durationpb.Duration { |
| if x != nil { |
| return x.EndOffset |
| } |
| return nil |
| } |
| |
| func (x *SpeechWordInfo) GetConfidence() float32 { |
| if x != nil { |
| return x.Confidence |
| } |
| return 0 |
| } |
| |
| // Configuration of the barge-in behavior. Barge-in instructs the API to return |
| // a detected utterance at a proper time while the client is playing back the |
| // response audio from a previous request. When the client sees the |
| // utterance, it should stop the playback and immediately get ready for |
| // receiving the responses for the current request. |
| // |
| // The barge-in handling requires the client to start streaming audio input |
| // as soon as it starts playing back the audio from the previous response. The |
| // playback is modeled into two phases: |
| // |
| // - No barge-in phase: which goes first and during which speech detection |
| // should not be carried out. |
| // |
| // - Barge-in phase: which follows the no barge-in phase and during which |
| // the API starts speech detection and may inform the client that an utterance |
| // has been detected. Note that no-speech event is not expected in this |
| // phase. |
| // |
| // The client provides this configuration in terms of the durations of those |
| // two phases. The durations are measured in terms of the audio length from the |
| // the start of the input audio. |
| // |
| // No-speech event is a response with END_OF_UTTERANCE without any transcript |
| // following up. |
| type BargeInConfig struct { |
| state protoimpl.MessageState |
| sizeCache protoimpl.SizeCache |
| unknownFields protoimpl.UnknownFields |
| |
| // Duration that is not eligible for barge-in at the beginning of the input |
| // audio. |
| NoBargeInDuration *durationpb.Duration `protobuf:"bytes,1,opt,name=no_barge_in_duration,json=noBargeInDuration,proto3" json:"no_barge_in_duration,omitempty"` |
| // Total duration for the playback at the beginning of the input audio. |
| TotalDuration *durationpb.Duration `protobuf:"bytes,2,opt,name=total_duration,json=totalDuration,proto3" json:"total_duration,omitempty"` |
| } |
| |
| func (x *BargeInConfig) Reset() { |
| *x = BargeInConfig{} |
| if protoimpl.UnsafeEnabled { |
| mi := &file_google_cloud_dialogflow_cx_v3_audio_config_proto_msgTypes[1] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| } |
| |
| func (x *BargeInConfig) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*BargeInConfig) ProtoMessage() {} |
| |
| func (x *BargeInConfig) ProtoReflect() protoreflect.Message { |
| mi := &file_google_cloud_dialogflow_cx_v3_audio_config_proto_msgTypes[1] |
| if protoimpl.UnsafeEnabled && x != nil { |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| if ms.LoadMessageInfo() == nil { |
| ms.StoreMessageInfo(mi) |
| } |
| return ms |
| } |
| return mi.MessageOf(x) |
| } |
| |
| // Deprecated: Use BargeInConfig.ProtoReflect.Descriptor instead. |
| func (*BargeInConfig) Descriptor() ([]byte, []int) { |
| return file_google_cloud_dialogflow_cx_v3_audio_config_proto_rawDescGZIP(), []int{1} |
| } |
| |
| func (x *BargeInConfig) GetNoBargeInDuration() *durationpb.Duration { |
| if x != nil { |
| return x.NoBargeInDuration |
| } |
| return nil |
| } |
| |
| func (x *BargeInConfig) GetTotalDuration() *durationpb.Duration { |
| if x != nil { |
| return x.TotalDuration |
| } |
| return nil |
| } |
| |
| // Instructs the speech recognizer on how to process the audio content. |
| type InputAudioConfig struct { |
| state protoimpl.MessageState |
| sizeCache protoimpl.SizeCache |
| unknownFields protoimpl.UnknownFields |
| |
| // Required. Audio encoding of the audio content to process. |
| AudioEncoding AudioEncoding `protobuf:"varint,1,opt,name=audio_encoding,json=audioEncoding,proto3,enum=google.cloud.dialogflow.cx.v3.AudioEncoding" json:"audio_encoding,omitempty"` |
| // Sample rate (in Hertz) of the audio content sent in the query. |
| // Refer to |
| // [Cloud Speech API |
| // documentation](https://cloud.google.com/speech-to-text/docs/basics) for |
| // more details. |
| SampleRateHertz int32 `protobuf:"varint,2,opt,name=sample_rate_hertz,json=sampleRateHertz,proto3" json:"sample_rate_hertz,omitempty"` |
| // Optional. If `true`, Dialogflow returns |
| // [SpeechWordInfo][google.cloud.dialogflow.cx.v3.SpeechWordInfo] in |
| // [StreamingRecognitionResult][google.cloud.dialogflow.cx.v3.StreamingRecognitionResult] |
| // with information about the recognized speech words, e.g. start and end time |
| // offsets. If false or unspecified, Speech doesn't return any word-level |
| // information. |
| EnableWordInfo bool `protobuf:"varint,13,opt,name=enable_word_info,json=enableWordInfo,proto3" json:"enable_word_info,omitempty"` |
| // Optional. A list of strings containing words and phrases that the speech |
| // recognizer should recognize with higher likelihood. |
| // |
| // See [the Cloud Speech |
| // documentation](https://cloud.google.com/speech-to-text/docs/basics#phrase-hints) |
| // for more details. |
| PhraseHints []string `protobuf:"bytes,4,rep,name=phrase_hints,json=phraseHints,proto3" json:"phrase_hints,omitempty"` |
| // Optional. Which Speech model to select for the given request. |
| // For more information, see |
| // [Speech |
| // models](https://cloud.google.com/dialogflow/cx/docs/concept/speech-models). |
| Model string `protobuf:"bytes,7,opt,name=model,proto3" json:"model,omitempty"` |
| // Optional. Which variant of the [Speech |
| // model][google.cloud.dialogflow.cx.v3.InputAudioConfig.model] to use. |
| ModelVariant SpeechModelVariant `protobuf:"varint,10,opt,name=model_variant,json=modelVariant,proto3,enum=google.cloud.dialogflow.cx.v3.SpeechModelVariant" json:"model_variant,omitempty"` |
| // Optional. If `false` (default), recognition does not cease until the |
| // client closes the stream. |
| // If `true`, the recognizer will detect a single spoken utterance in input |
| // audio. Recognition ceases when it detects the audio's voice has |
| // stopped or paused. In this case, once a detected intent is received, the |
| // client should close the stream and start a new request with a new stream as |
| // needed. |
| // Note: This setting is relevant only for streaming methods. |
| SingleUtterance bool `protobuf:"varint,8,opt,name=single_utterance,json=singleUtterance,proto3" json:"single_utterance,omitempty"` |
| // Configuration of barge-in behavior during the streaming of input audio. |
| BargeInConfig *BargeInConfig `protobuf:"bytes,15,opt,name=barge_in_config,json=bargeInConfig,proto3" json:"barge_in_config,omitempty"` |
| // If `true`, the request will opt out for STT conformer model migration. |
| // This field will be deprecated once force migration takes place in June |
| // 2024. Please refer to [Dialogflow CX Speech model |
| // migration](https://cloud.google.com/dialogflow/cx/docs/concept/speech-model-migration). |
| OptOutConformerModelMigration bool `protobuf:"varint,26,opt,name=opt_out_conformer_model_migration,json=optOutConformerModelMigration,proto3" json:"opt_out_conformer_model_migration,omitempty"` |
| } |
| |
| func (x *InputAudioConfig) Reset() { |
| *x = InputAudioConfig{} |
| if protoimpl.UnsafeEnabled { |
| mi := &file_google_cloud_dialogflow_cx_v3_audio_config_proto_msgTypes[2] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| } |
| |
| func (x *InputAudioConfig) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*InputAudioConfig) ProtoMessage() {} |
| |
| func (x *InputAudioConfig) ProtoReflect() protoreflect.Message { |
| mi := &file_google_cloud_dialogflow_cx_v3_audio_config_proto_msgTypes[2] |
| if protoimpl.UnsafeEnabled && x != nil { |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| if ms.LoadMessageInfo() == nil { |
| ms.StoreMessageInfo(mi) |
| } |
| return ms |
| } |
| return mi.MessageOf(x) |
| } |
| |
| // Deprecated: Use InputAudioConfig.ProtoReflect.Descriptor instead. |
| func (*InputAudioConfig) Descriptor() ([]byte, []int) { |
| return file_google_cloud_dialogflow_cx_v3_audio_config_proto_rawDescGZIP(), []int{2} |
| } |
| |
| func (x *InputAudioConfig) GetAudioEncoding() AudioEncoding { |
| if x != nil { |
| return x.AudioEncoding |
| } |
| return AudioEncoding_AUDIO_ENCODING_UNSPECIFIED |
| } |
| |
| func (x *InputAudioConfig) GetSampleRateHertz() int32 { |
| if x != nil { |
| return x.SampleRateHertz |
| } |
| return 0 |
| } |
| |
| func (x *InputAudioConfig) GetEnableWordInfo() bool { |
| if x != nil { |
| return x.EnableWordInfo |
| } |
| return false |
| } |
| |
| func (x *InputAudioConfig) GetPhraseHints() []string { |
| if x != nil { |
| return x.PhraseHints |
| } |
| return nil |
| } |
| |
| func (x *InputAudioConfig) GetModel() string { |
| if x != nil { |
| return x.Model |
| } |
| return "" |
| } |
| |
| func (x *InputAudioConfig) GetModelVariant() SpeechModelVariant { |
| if x != nil { |
| return x.ModelVariant |
| } |
| return SpeechModelVariant_SPEECH_MODEL_VARIANT_UNSPECIFIED |
| } |
| |
| func (x *InputAudioConfig) GetSingleUtterance() bool { |
| if x != nil { |
| return x.SingleUtterance |
| } |
| return false |
| } |
| |
| func (x *InputAudioConfig) GetBargeInConfig() *BargeInConfig { |
| if x != nil { |
| return x.BargeInConfig |
| } |
| return nil |
| } |
| |
| func (x *InputAudioConfig) GetOptOutConformerModelMigration() bool { |
| if x != nil { |
| return x.OptOutConformerModelMigration |
| } |
| return false |
| } |
| |
| // Description of which voice to use for speech synthesis. |
| type VoiceSelectionParams struct { |
| state protoimpl.MessageState |
| sizeCache protoimpl.SizeCache |
| unknownFields protoimpl.UnknownFields |
| |
| // Optional. The name of the voice. If not set, the service will choose a |
| // voice based on the other parameters such as language_code and |
| // [ssml_gender][google.cloud.dialogflow.cx.v3.VoiceSelectionParams.ssml_gender]. |
| // |
| // For the list of available voices, please refer to [Supported voices and |
| // languages](https://cloud.google.com/text-to-speech/docs/voices). |
| Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` |
| // Optional. The preferred gender of the voice. If not set, the service will |
| // choose a voice based on the other parameters such as language_code and |
| // [name][google.cloud.dialogflow.cx.v3.VoiceSelectionParams.name]. Note that |
| // this is only a preference, not requirement. If a voice of the appropriate |
| // gender is not available, the synthesizer substitutes a voice with a |
| // different gender rather than failing the request. |
| SsmlGender SsmlVoiceGender `protobuf:"varint,2,opt,name=ssml_gender,json=ssmlGender,proto3,enum=google.cloud.dialogflow.cx.v3.SsmlVoiceGender" json:"ssml_gender,omitempty"` |
| } |
| |
| func (x *VoiceSelectionParams) Reset() { |
| *x = VoiceSelectionParams{} |
| if protoimpl.UnsafeEnabled { |
| mi := &file_google_cloud_dialogflow_cx_v3_audio_config_proto_msgTypes[3] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| } |
| |
| func (x *VoiceSelectionParams) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*VoiceSelectionParams) ProtoMessage() {} |
| |
| func (x *VoiceSelectionParams) ProtoReflect() protoreflect.Message { |
| mi := &file_google_cloud_dialogflow_cx_v3_audio_config_proto_msgTypes[3] |
| if protoimpl.UnsafeEnabled && x != nil { |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| if ms.LoadMessageInfo() == nil { |
| ms.StoreMessageInfo(mi) |
| } |
| return ms |
| } |
| return mi.MessageOf(x) |
| } |
| |
| // Deprecated: Use VoiceSelectionParams.ProtoReflect.Descriptor instead. |
| func (*VoiceSelectionParams) Descriptor() ([]byte, []int) { |
| return file_google_cloud_dialogflow_cx_v3_audio_config_proto_rawDescGZIP(), []int{3} |
| } |
| |
| func (x *VoiceSelectionParams) GetName() string { |
| if x != nil { |
| return x.Name |
| } |
| return "" |
| } |
| |
| func (x *VoiceSelectionParams) GetSsmlGender() SsmlVoiceGender { |
| if x != nil { |
| return x.SsmlGender |
| } |
| return SsmlVoiceGender_SSML_VOICE_GENDER_UNSPECIFIED |
| } |
| |
| // Configuration of how speech should be synthesized. |
| type SynthesizeSpeechConfig struct { |
| state protoimpl.MessageState |
| sizeCache protoimpl.SizeCache |
| unknownFields protoimpl.UnknownFields |
| |
| // Optional. Speaking rate/speed, in the range [0.25, 4.0]. 1.0 is the normal |
| // native speed supported by the specific voice. 2.0 is twice as fast, and |
| // 0.5 is half as fast. If unset(0.0), defaults to the native 1.0 speed. Any |
| // other values < 0.25 or > 4.0 will return an error. |
| SpeakingRate float64 `protobuf:"fixed64,1,opt,name=speaking_rate,json=speakingRate,proto3" json:"speaking_rate,omitempty"` |
| // Optional. Speaking pitch, in the range [-20.0, 20.0]. 20 means increase 20 |
| // semitones from the original pitch. -20 means decrease 20 semitones from the |
| // original pitch. |
| Pitch float64 `protobuf:"fixed64,2,opt,name=pitch,proto3" json:"pitch,omitempty"` |
| // Optional. Volume gain (in dB) of the normal native volume supported by the |
| // specific voice, in the range [-96.0, 16.0]. If unset, or set to a value of |
| // 0.0 (dB), will play at normal native signal amplitude. A value of -6.0 (dB) |
| // will play at approximately half the amplitude of the normal native signal |
| // amplitude. A value of +6.0 (dB) will play at approximately twice the |
| // amplitude of the normal native signal amplitude. We strongly recommend not |
| // to exceed +10 (dB) as there's usually no effective increase in loudness for |
| // any value greater than that. |
| VolumeGainDb float64 `protobuf:"fixed64,3,opt,name=volume_gain_db,json=volumeGainDb,proto3" json:"volume_gain_db,omitempty"` |
| // Optional. An identifier which selects 'audio effects' profiles that are |
| // applied on (post synthesized) text to speech. Effects are applied on top of |
| // each other in the order they are given. |
| EffectsProfileId []string `protobuf:"bytes,5,rep,name=effects_profile_id,json=effectsProfileId,proto3" json:"effects_profile_id,omitempty"` |
| // Optional. The desired voice of the synthesized audio. |
| Voice *VoiceSelectionParams `protobuf:"bytes,4,opt,name=voice,proto3" json:"voice,omitempty"` |
| } |
| |
| func (x *SynthesizeSpeechConfig) Reset() { |
| *x = SynthesizeSpeechConfig{} |
| if protoimpl.UnsafeEnabled { |
| mi := &file_google_cloud_dialogflow_cx_v3_audio_config_proto_msgTypes[4] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| } |
| |
| func (x *SynthesizeSpeechConfig) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*SynthesizeSpeechConfig) ProtoMessage() {} |
| |
| func (x *SynthesizeSpeechConfig) ProtoReflect() protoreflect.Message { |
| mi := &file_google_cloud_dialogflow_cx_v3_audio_config_proto_msgTypes[4] |
| if protoimpl.UnsafeEnabled && x != nil { |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| if ms.LoadMessageInfo() == nil { |
| ms.StoreMessageInfo(mi) |
| } |
| return ms |
| } |
| return mi.MessageOf(x) |
| } |
| |
| // Deprecated: Use SynthesizeSpeechConfig.ProtoReflect.Descriptor instead. |
| func (*SynthesizeSpeechConfig) Descriptor() ([]byte, []int) { |
| return file_google_cloud_dialogflow_cx_v3_audio_config_proto_rawDescGZIP(), []int{4} |
| } |
| |
| func (x *SynthesizeSpeechConfig) GetSpeakingRate() float64 { |
| if x != nil { |
| return x.SpeakingRate |
| } |
| return 0 |
| } |
| |
| func (x *SynthesizeSpeechConfig) GetPitch() float64 { |
| if x != nil { |
| return x.Pitch |
| } |
| return 0 |
| } |
| |
| func (x *SynthesizeSpeechConfig) GetVolumeGainDb() float64 { |
| if x != nil { |
| return x.VolumeGainDb |
| } |
| return 0 |
| } |
| |
| func (x *SynthesizeSpeechConfig) GetEffectsProfileId() []string { |
| if x != nil { |
| return x.EffectsProfileId |
| } |
| return nil |
| } |
| |
| func (x *SynthesizeSpeechConfig) GetVoice() *VoiceSelectionParams { |
| if x != nil { |
| return x.Voice |
| } |
| return nil |
| } |
| |
| // Instructs the speech synthesizer how to generate the output audio content. |
| type OutputAudioConfig struct { |
| state protoimpl.MessageState |
| sizeCache protoimpl.SizeCache |
| unknownFields protoimpl.UnknownFields |
| |
| // Required. Audio encoding of the synthesized audio content. |
| AudioEncoding OutputAudioEncoding `protobuf:"varint,1,opt,name=audio_encoding,json=audioEncoding,proto3,enum=google.cloud.dialogflow.cx.v3.OutputAudioEncoding" json:"audio_encoding,omitempty"` |
| // Optional. The synthesis sample rate (in hertz) for this audio. If not |
| // provided, then the synthesizer will use the default sample rate based on |
| // the audio encoding. If this is different from the voice's natural sample |
| // rate, then the synthesizer will honor this request by converting to the |
| // desired sample rate (which might result in worse audio quality). |
| SampleRateHertz int32 `protobuf:"varint,2,opt,name=sample_rate_hertz,json=sampleRateHertz,proto3" json:"sample_rate_hertz,omitempty"` |
| // Optional. Configuration of how speech should be synthesized. |
| // If not specified, |
| // [Agent.text_to_speech_settings][google.cloud.dialogflow.cx.v3.Agent.text_to_speech_settings] |
| // is applied. |
| SynthesizeSpeechConfig *SynthesizeSpeechConfig `protobuf:"bytes,3,opt,name=synthesize_speech_config,json=synthesizeSpeechConfig,proto3" json:"synthesize_speech_config,omitempty"` |
| } |
| |
| func (x *OutputAudioConfig) Reset() { |
| *x = OutputAudioConfig{} |
| if protoimpl.UnsafeEnabled { |
| mi := &file_google_cloud_dialogflow_cx_v3_audio_config_proto_msgTypes[5] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| } |
| |
| func (x *OutputAudioConfig) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*OutputAudioConfig) ProtoMessage() {} |
| |
| func (x *OutputAudioConfig) ProtoReflect() protoreflect.Message { |
| mi := &file_google_cloud_dialogflow_cx_v3_audio_config_proto_msgTypes[5] |
| if protoimpl.UnsafeEnabled && x != nil { |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| if ms.LoadMessageInfo() == nil { |
| ms.StoreMessageInfo(mi) |
| } |
| return ms |
| } |
| return mi.MessageOf(x) |
| } |
| |
| // Deprecated: Use OutputAudioConfig.ProtoReflect.Descriptor instead. |
| func (*OutputAudioConfig) Descriptor() ([]byte, []int) { |
| return file_google_cloud_dialogflow_cx_v3_audio_config_proto_rawDescGZIP(), []int{5} |
| } |
| |
| func (x *OutputAudioConfig) GetAudioEncoding() OutputAudioEncoding { |
| if x != nil { |
| return x.AudioEncoding |
| } |
| return OutputAudioEncoding_OUTPUT_AUDIO_ENCODING_UNSPECIFIED |
| } |
| |
| func (x *OutputAudioConfig) GetSampleRateHertz() int32 { |
| if x != nil { |
| return x.SampleRateHertz |
| } |
| return 0 |
| } |
| |
| func (x *OutputAudioConfig) GetSynthesizeSpeechConfig() *SynthesizeSpeechConfig { |
| if x != nil { |
| return x.SynthesizeSpeechConfig |
| } |
| return nil |
| } |
| |
| // Settings related to speech synthesizing. |
| type TextToSpeechSettings struct { |
| state protoimpl.MessageState |
| sizeCache protoimpl.SizeCache |
| unknownFields protoimpl.UnknownFields |
| |
| // Configuration of how speech should be synthesized, mapping from language |
| // (https://cloud.google.com/dialogflow/cx/docs/reference/language) to |
| // SynthesizeSpeechConfig. |
| // |
| // These settings affect: |
| // |
| // - The [phone |
| // gateway](https://cloud.google.com/dialogflow/cx/docs/concept/integration/phone-gateway) |
| // synthesize configuration set via |
| // [Agent.text_to_speech_settings][google.cloud.dialogflow.cx.v3.Agent.text_to_speech_settings]. |
| // |
| // - How speech is synthesized when invoking |
| // [session][google.cloud.dialogflow.cx.v3.Sessions] APIs. |
| // [Agent.text_to_speech_settings][google.cloud.dialogflow.cx.v3.Agent.text_to_speech_settings] |
| // only applies if |
| // [OutputAudioConfig.synthesize_speech_config][google.cloud.dialogflow.cx.v3.OutputAudioConfig.synthesize_speech_config] |
| // is not specified. |
| SynthesizeSpeechConfigs map[string]*SynthesizeSpeechConfig `protobuf:"bytes,1,rep,name=synthesize_speech_configs,json=synthesizeSpeechConfigs,proto3" json:"synthesize_speech_configs,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` |
| } |
| |
| func (x *TextToSpeechSettings) Reset() { |
| *x = TextToSpeechSettings{} |
| if protoimpl.UnsafeEnabled { |
| mi := &file_google_cloud_dialogflow_cx_v3_audio_config_proto_msgTypes[6] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| } |
| |
| func (x *TextToSpeechSettings) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*TextToSpeechSettings) ProtoMessage() {} |
| |
| func (x *TextToSpeechSettings) ProtoReflect() protoreflect.Message { |
| mi := &file_google_cloud_dialogflow_cx_v3_audio_config_proto_msgTypes[6] |
| if protoimpl.UnsafeEnabled && x != nil { |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| if ms.LoadMessageInfo() == nil { |
| ms.StoreMessageInfo(mi) |
| } |
| return ms |
| } |
| return mi.MessageOf(x) |
| } |
| |
| // Deprecated: Use TextToSpeechSettings.ProtoReflect.Descriptor instead. |
| func (*TextToSpeechSettings) Descriptor() ([]byte, []int) { |
| return file_google_cloud_dialogflow_cx_v3_audio_config_proto_rawDescGZIP(), []int{6} |
| } |
| |
| func (x *TextToSpeechSettings) GetSynthesizeSpeechConfigs() map[string]*SynthesizeSpeechConfig { |
| if x != nil { |
| return x.SynthesizeSpeechConfigs |
| } |
| return nil |
| } |
| |
| var File_google_cloud_dialogflow_cx_v3_audio_config_proto protoreflect.FileDescriptor |
| |
| var file_google_cloud_dialogflow_cx_v3_audio_config_proto_rawDesc = []byte{ |
| 0x0a, 0x30, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x64, |
| 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2f, 0x63, 0x78, 0x2f, 0x76, 0x33, 0x2f, |
| 0x61, 0x75, 0x64, 0x69, 0x6f, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x70, 0x72, 0x6f, |
| 0x74, 0x6f, 0x12, 0x1d, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, |
| 0x2e, 0x64, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x63, 0x78, 0x2e, 0x76, |
| 0x33, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, |
| 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, |
| 0x74, 0x6f, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, |
| 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x67, |
| 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x64, |
| 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xbc, 0x01, |
| 0x0a, 0x0e, 0x53, 0x70, 0x65, 0x65, 0x63, 0x68, 0x57, 0x6f, 0x72, 0x64, 0x49, 0x6e, 0x66, 0x6f, |
| 0x12, 0x12, 0x0a, 0x04, 0x77, 0x6f, 0x72, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, |
| 0x77, 0x6f, 0x72, 0x64, 0x12, 0x3c, 0x0a, 0x0c, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x6f, 0x66, |
| 0x66, 0x73, 0x65, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, |
| 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, |
| 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0b, 0x73, 0x74, 0x61, 0x72, 0x74, 0x4f, 0x66, 0x66, 0x73, |
| 0x65, 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x65, 0x6e, 0x64, 0x5f, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, |
| 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, |
| 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, |
| 0x6e, 0x52, 0x09, 0x65, 0x6e, 0x64, 0x4f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x12, 0x1e, 0x0a, 0x0a, |
| 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x64, 0x65, 0x6e, 0x63, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x02, |
| 0x52, 0x0a, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x64, 0x65, 0x6e, 0x63, 0x65, 0x22, 0x9d, 0x01, 0x0a, |
| 0x0d, 0x42, 0x61, 0x72, 0x67, 0x65, 0x49, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x4a, |
| 0x0a, 0x14, 0x6e, 0x6f, 0x5f, 0x62, 0x61, 0x72, 0x67, 0x65, 0x5f, 0x69, 0x6e, 0x5f, 0x64, 0x75, |
| 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, |
| 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, |
| 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x11, 0x6e, 0x6f, 0x42, 0x61, 0x72, 0x67, 0x65, |
| 0x49, 0x6e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x40, 0x0a, 0x0e, 0x74, 0x6f, |
| 0x74, 0x61, 0x6c, 0x5f, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, |
| 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, |
| 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0d, 0x74, |
| 0x6f, 0x74, 0x61, 0x6c, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x9e, 0x04, 0x0a, |
| 0x10, 0x49, 0x6e, 0x70, 0x75, 0x74, 0x41, 0x75, 0x64, 0x69, 0x6f, 0x43, 0x6f, 0x6e, 0x66, 0x69, |
| 0x67, 0x12, 0x58, 0x0a, 0x0e, 0x61, 0x75, 0x64, 0x69, 0x6f, 0x5f, 0x65, 0x6e, 0x63, 0x6f, 0x64, |
| 0x69, 0x6e, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, |
| 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, |
| 0x6c, 0x6f, 0x77, 0x2e, 0x63, 0x78, 0x2e, 0x76, 0x33, 0x2e, 0x41, 0x75, 0x64, 0x69, 0x6f, 0x45, |
| 0x6e, 0x63, 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0d, 0x61, 0x75, |
| 0x64, 0x69, 0x6f, 0x45, 0x6e, 0x63, 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x12, 0x2a, 0x0a, 0x11, 0x73, |
| 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x5f, 0x72, 0x61, 0x74, 0x65, 0x5f, 0x68, 0x65, 0x72, 0x74, 0x7a, |
| 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0f, 0x73, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x52, 0x61, |
| 0x74, 0x65, 0x48, 0x65, 0x72, 0x74, 0x7a, 0x12, 0x28, 0x0a, 0x10, 0x65, 0x6e, 0x61, 0x62, 0x6c, |
| 0x65, 0x5f, 0x77, 0x6f, 0x72, 0x64, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x0d, 0x20, 0x01, 0x28, |
| 0x08, 0x52, 0x0e, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x57, 0x6f, 0x72, 0x64, 0x49, 0x6e, 0x66, |
| 0x6f, 0x12, 0x21, 0x0a, 0x0c, 0x70, 0x68, 0x72, 0x61, 0x73, 0x65, 0x5f, 0x68, 0x69, 0x6e, 0x74, |
| 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0b, 0x70, 0x68, 0x72, 0x61, 0x73, 0x65, 0x48, |
| 0x69, 0x6e, 0x74, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x18, 0x07, 0x20, |
| 0x01, 0x28, 0x09, 0x52, 0x05, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x12, 0x56, 0x0a, 0x0d, 0x6d, 0x6f, |
| 0x64, 0x65, 0x6c, 0x5f, 0x76, 0x61, 0x72, 0x69, 0x61, 0x6e, 0x74, 0x18, 0x0a, 0x20, 0x01, 0x28, |
| 0x0e, 0x32, 0x31, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, |
| 0x2e, 0x64, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x63, 0x78, 0x2e, 0x76, |
| 0x33, 0x2e, 0x53, 0x70, 0x65, 0x65, 0x63, 0x68, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x56, 0x61, 0x72, |
| 0x69, 0x61, 0x6e, 0x74, 0x52, 0x0c, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x56, 0x61, 0x72, 0x69, 0x61, |
| 0x6e, 0x74, 0x12, 0x29, 0x0a, 0x10, 0x73, 0x69, 0x6e, 0x67, 0x6c, 0x65, 0x5f, 0x75, 0x74, 0x74, |
| 0x65, 0x72, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0f, 0x73, 0x69, |
| 0x6e, 0x67, 0x6c, 0x65, 0x55, 0x74, 0x74, 0x65, 0x72, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x54, 0x0a, |
| 0x0f, 0x62, 0x61, 0x72, 0x67, 0x65, 0x5f, 0x69, 0x6e, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, |
| 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, |
| 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, |
| 0x2e, 0x63, 0x78, 0x2e, 0x76, 0x33, 0x2e, 0x42, 0x61, 0x72, 0x67, 0x65, 0x49, 0x6e, 0x43, 0x6f, |
| 0x6e, 0x66, 0x69, 0x67, 0x52, 0x0d, 0x62, 0x61, 0x72, 0x67, 0x65, 0x49, 0x6e, 0x43, 0x6f, 0x6e, |
| 0x66, 0x69, 0x67, 0x12, 0x48, 0x0a, 0x21, 0x6f, 0x70, 0x74, 0x5f, 0x6f, 0x75, 0x74, 0x5f, 0x63, |
| 0x6f, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x65, 0x72, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x6d, |
| 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x1a, 0x20, 0x01, 0x28, 0x08, 0x52, 0x1d, |
| 0x6f, 0x70, 0x74, 0x4f, 0x75, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x65, 0x72, 0x4d, |
| 0x6f, 0x64, 0x65, 0x6c, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x7b, 0x0a, |
| 0x14, 0x56, 0x6f, 0x69, 0x63, 0x65, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x50, |
| 0x61, 0x72, 0x61, 0x6d, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, |
| 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x4f, 0x0a, 0x0b, 0x73, 0x73, 0x6d, |
| 0x6c, 0x5f, 0x67, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2e, |
| 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x69, |
| 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x63, 0x78, 0x2e, 0x76, 0x33, 0x2e, 0x53, |
| 0x73, 0x6d, 0x6c, 0x56, 0x6f, 0x69, 0x63, 0x65, 0x47, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x52, 0x0a, |
| 0x73, 0x73, 0x6d, 0x6c, 0x47, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x22, 0xf2, 0x01, 0x0a, 0x16, 0x53, |
| 0x79, 0x6e, 0x74, 0x68, 0x65, 0x73, 0x69, 0x7a, 0x65, 0x53, 0x70, 0x65, 0x65, 0x63, 0x68, 0x43, |
| 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x23, 0x0a, 0x0d, 0x73, 0x70, 0x65, 0x61, 0x6b, 0x69, 0x6e, |
| 0x67, 0x5f, 0x72, 0x61, 0x74, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x01, 0x52, 0x0c, 0x73, 0x70, |
| 0x65, 0x61, 0x6b, 0x69, 0x6e, 0x67, 0x52, 0x61, 0x74, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x70, 0x69, |
| 0x74, 0x63, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x01, 0x52, 0x05, 0x70, 0x69, 0x74, 0x63, 0x68, |
| 0x12, 0x24, 0x0a, 0x0e, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x5f, 0x67, 0x61, 0x69, 0x6e, 0x5f, |
| 0x64, 0x62, 0x18, 0x03, 0x20, 0x01, 0x28, 0x01, 0x52, 0x0c, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, |
| 0x47, 0x61, 0x69, 0x6e, 0x44, 0x62, 0x12, 0x2c, 0x0a, 0x12, 0x65, 0x66, 0x66, 0x65, 0x63, 0x74, |
| 0x73, 0x5f, 0x70, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x05, 0x20, 0x03, |
| 0x28, 0x09, 0x52, 0x10, 0x65, 0x66, 0x66, 0x65, 0x63, 0x74, 0x73, 0x50, 0x72, 0x6f, 0x66, 0x69, |
| 0x6c, 0x65, 0x49, 0x64, 0x12, 0x49, 0x0a, 0x05, 0x76, 0x6f, 0x69, 0x63, 0x65, 0x18, 0x04, 0x20, |
| 0x01, 0x28, 0x0b, 0x32, 0x33, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, |
| 0x75, 0x64, 0x2e, 0x64, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x63, 0x78, |
| 0x2e, 0x76, 0x33, 0x2e, 0x56, 0x6f, 0x69, 0x63, 0x65, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x69, |
| 0x6f, 0x6e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x52, 0x05, 0x76, 0x6f, 0x69, 0x63, 0x65, 0x22, |
| 0x90, 0x02, 0x0a, 0x11, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x41, 0x75, 0x64, 0x69, 0x6f, 0x43, |
| 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x5e, 0x0a, 0x0e, 0x61, 0x75, 0x64, 0x69, 0x6f, 0x5f, 0x65, |
| 0x6e, 0x63, 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x32, 0x2e, |
| 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x69, 0x61, |
| 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x63, 0x78, 0x2e, 0x76, 0x33, 0x2e, 0x4f, 0x75, |
| 0x74, 0x70, 0x75, 0x74, 0x41, 0x75, 0x64, 0x69, 0x6f, 0x45, 0x6e, 0x63, 0x6f, 0x64, 0x69, 0x6e, |
| 0x67, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0d, 0x61, 0x75, 0x64, 0x69, 0x6f, 0x45, 0x6e, 0x63, |
| 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x12, 0x2a, 0x0a, 0x11, 0x73, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x5f, |
| 0x72, 0x61, 0x74, 0x65, 0x5f, 0x68, 0x65, 0x72, 0x74, 0x7a, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, |
| 0x52, 0x0f, 0x73, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x52, 0x61, 0x74, 0x65, 0x48, 0x65, 0x72, 0x74, |
| 0x7a, 0x12, 0x6f, 0x0a, 0x18, 0x73, 0x79, 0x6e, 0x74, 0x68, 0x65, 0x73, 0x69, 0x7a, 0x65, 0x5f, |
| 0x73, 0x70, 0x65, 0x65, 0x63, 0x68, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x03, 0x20, |
| 0x01, 0x28, 0x0b, 0x32, 0x35, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, |
| 0x75, 0x64, 0x2e, 0x64, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x63, 0x78, |
| 0x2e, 0x76, 0x33, 0x2e, 0x53, 0x79, 0x6e, 0x74, 0x68, 0x65, 0x73, 0x69, 0x7a, 0x65, 0x53, 0x70, |
| 0x65, 0x65, 0x63, 0x68, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x16, 0x73, 0x79, 0x6e, 0x74, |
| 0x68, 0x65, 0x73, 0x69, 0x7a, 0x65, 0x53, 0x70, 0x65, 0x65, 0x63, 0x68, 0x43, 0x6f, 0x6e, 0x66, |
| 0x69, 0x67, 0x22, 0xa9, 0x02, 0x0a, 0x14, 0x54, 0x65, 0x78, 0x74, 0x54, 0x6f, 0x53, 0x70, 0x65, |
| 0x65, 0x63, 0x68, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x12, 0x8c, 0x01, 0x0a, 0x19, |
| 0x73, 0x79, 0x6e, 0x74, 0x68, 0x65, 0x73, 0x69, 0x7a, 0x65, 0x5f, 0x73, 0x70, 0x65, 0x65, 0x63, |
| 0x68, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, |
| 0x50, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, |
| 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x63, 0x78, 0x2e, 0x76, 0x33, 0x2e, |
| 0x54, 0x65, 0x78, 0x74, 0x54, 0x6f, 0x53, 0x70, 0x65, 0x65, 0x63, 0x68, 0x53, 0x65, 0x74, 0x74, |
| 0x69, 0x6e, 0x67, 0x73, 0x2e, 0x53, 0x79, 0x6e, 0x74, 0x68, 0x65, 0x73, 0x69, 0x7a, 0x65, 0x53, |
| 0x70, 0x65, 0x65, 0x63, 0x68, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x73, 0x45, 0x6e, 0x74, 0x72, |
| 0x79, 0x52, 0x17, 0x73, 0x79, 0x6e, 0x74, 0x68, 0x65, 0x73, 0x69, 0x7a, 0x65, 0x53, 0x70, 0x65, |
| 0x65, 0x63, 0x68, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x73, 0x1a, 0x81, 0x01, 0x0a, 0x1c, 0x53, |
| 0x79, 0x6e, 0x74, 0x68, 0x65, 0x73, 0x69, 0x7a, 0x65, 0x53, 0x70, 0x65, 0x65, 0x63, 0x68, 0x43, |
| 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, |
| 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x4b, 0x0a, |
| 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x35, 0x2e, 0x67, |
| 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x69, 0x61, 0x6c, |
| 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x63, 0x78, 0x2e, 0x76, 0x33, 0x2e, 0x53, 0x79, 0x6e, |
| 0x74, 0x68, 0x65, 0x73, 0x69, 0x7a, 0x65, 0x53, 0x70, 0x65, 0x65, 0x63, 0x68, 0x43, 0x6f, 0x6e, |
| 0x66, 0x69, 0x67, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x2a, 0xfb, |
| 0x01, 0x0a, 0x0d, 0x41, 0x75, 0x64, 0x69, 0x6f, 0x45, 0x6e, 0x63, 0x6f, 0x64, 0x69, 0x6e, 0x67, |
| 0x12, 0x1e, 0x0a, 0x1a, 0x41, 0x55, 0x44, 0x49, 0x4f, 0x5f, 0x45, 0x4e, 0x43, 0x4f, 0x44, 0x49, |
| 0x4e, 0x47, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, |
| 0x12, 0x1c, 0x0a, 0x18, 0x41, 0x55, 0x44, 0x49, 0x4f, 0x5f, 0x45, 0x4e, 0x43, 0x4f, 0x44, 0x49, |
| 0x4e, 0x47, 0x5f, 0x4c, 0x49, 0x4e, 0x45, 0x41, 0x52, 0x5f, 0x31, 0x36, 0x10, 0x01, 0x12, 0x17, |
| 0x0a, 0x13, 0x41, 0x55, 0x44, 0x49, 0x4f, 0x5f, 0x45, 0x4e, 0x43, 0x4f, 0x44, 0x49, 0x4e, 0x47, |
| 0x5f, 0x46, 0x4c, 0x41, 0x43, 0x10, 0x02, 0x12, 0x18, 0x0a, 0x14, 0x41, 0x55, 0x44, 0x49, 0x4f, |
| 0x5f, 0x45, 0x4e, 0x43, 0x4f, 0x44, 0x49, 0x4e, 0x47, 0x5f, 0x4d, 0x55, 0x4c, 0x41, 0x57, 0x10, |
| 0x03, 0x12, 0x16, 0x0a, 0x12, 0x41, 0x55, 0x44, 0x49, 0x4f, 0x5f, 0x45, 0x4e, 0x43, 0x4f, 0x44, |
| 0x49, 0x4e, 0x47, 0x5f, 0x41, 0x4d, 0x52, 0x10, 0x04, 0x12, 0x19, 0x0a, 0x15, 0x41, 0x55, 0x44, |
| 0x49, 0x4f, 0x5f, 0x45, 0x4e, 0x43, 0x4f, 0x44, 0x49, 0x4e, 0x47, 0x5f, 0x41, 0x4d, 0x52, 0x5f, |
| 0x57, 0x42, 0x10, 0x05, 0x12, 0x1b, 0x0a, 0x17, 0x41, 0x55, 0x44, 0x49, 0x4f, 0x5f, 0x45, 0x4e, |
| 0x43, 0x4f, 0x44, 0x49, 0x4e, 0x47, 0x5f, 0x4f, 0x47, 0x47, 0x5f, 0x4f, 0x50, 0x55, 0x53, 0x10, |
| 0x06, 0x12, 0x29, 0x0a, 0x25, 0x41, 0x55, 0x44, 0x49, 0x4f, 0x5f, 0x45, 0x4e, 0x43, 0x4f, 0x44, |
| 0x49, 0x4e, 0x47, 0x5f, 0x53, 0x50, 0x45, 0x45, 0x58, 0x5f, 0x57, 0x49, 0x54, 0x48, 0x5f, 0x48, |
| 0x45, 0x41, 0x44, 0x45, 0x52, 0x5f, 0x42, 0x59, 0x54, 0x45, 0x10, 0x07, 0x2a, 0x76, 0x0a, 0x12, |
| 0x53, 0x70, 0x65, 0x65, 0x63, 0x68, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x56, 0x61, 0x72, 0x69, 0x61, |
| 0x6e, 0x74, 0x12, 0x24, 0x0a, 0x20, 0x53, 0x50, 0x45, 0x45, 0x43, 0x48, 0x5f, 0x4d, 0x4f, 0x44, |
| 0x45, 0x4c, 0x5f, 0x56, 0x41, 0x52, 0x49, 0x41, 0x4e, 0x54, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, |
| 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x16, 0x0a, 0x12, 0x55, 0x53, 0x45, 0x5f, |
| 0x42, 0x45, 0x53, 0x54, 0x5f, 0x41, 0x56, 0x41, 0x49, 0x4c, 0x41, 0x42, 0x4c, 0x45, 0x10, 0x01, |
| 0x12, 0x10, 0x0a, 0x0c, 0x55, 0x53, 0x45, 0x5f, 0x53, 0x54, 0x41, 0x4e, 0x44, 0x41, 0x52, 0x44, |
| 0x10, 0x02, 0x12, 0x10, 0x0a, 0x0c, 0x55, 0x53, 0x45, 0x5f, 0x45, 0x4e, 0x48, 0x41, 0x4e, 0x43, |
| 0x45, 0x44, 0x10, 0x03, 0x2a, 0x8d, 0x01, 0x0a, 0x0f, 0x53, 0x73, 0x6d, 0x6c, 0x56, 0x6f, 0x69, |
| 0x63, 0x65, 0x47, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x12, 0x21, 0x0a, 0x1d, 0x53, 0x53, 0x4d, 0x4c, |
| 0x5f, 0x56, 0x4f, 0x49, 0x43, 0x45, 0x5f, 0x47, 0x45, 0x4e, 0x44, 0x45, 0x52, 0x5f, 0x55, 0x4e, |
| 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x1a, 0x0a, 0x16, 0x53, |
| 0x53, 0x4d, 0x4c, 0x5f, 0x56, 0x4f, 0x49, 0x43, 0x45, 0x5f, 0x47, 0x45, 0x4e, 0x44, 0x45, 0x52, |
| 0x5f, 0x4d, 0x41, 0x4c, 0x45, 0x10, 0x01, 0x12, 0x1c, 0x0a, 0x18, 0x53, 0x53, 0x4d, 0x4c, 0x5f, |
| 0x56, 0x4f, 0x49, 0x43, 0x45, 0x5f, 0x47, 0x45, 0x4e, 0x44, 0x45, 0x52, 0x5f, 0x46, 0x45, 0x4d, |
| 0x41, 0x4c, 0x45, 0x10, 0x02, 0x12, 0x1d, 0x0a, 0x19, 0x53, 0x53, 0x4d, 0x4c, 0x5f, 0x56, 0x4f, |
| 0x49, 0x43, 0x45, 0x5f, 0x47, 0x45, 0x4e, 0x44, 0x45, 0x52, 0x5f, 0x4e, 0x45, 0x55, 0x54, 0x52, |
| 0x41, 0x4c, 0x10, 0x03, 0x2a, 0xec, 0x01, 0x0a, 0x13, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x41, |
| 0x75, 0x64, 0x69, 0x6f, 0x45, 0x6e, 0x63, 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x12, 0x25, 0x0a, 0x21, |
| 0x4f, 0x55, 0x54, 0x50, 0x55, 0x54, 0x5f, 0x41, 0x55, 0x44, 0x49, 0x4f, 0x5f, 0x45, 0x4e, 0x43, |
| 0x4f, 0x44, 0x49, 0x4e, 0x47, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, |
| 0x44, 0x10, 0x00, 0x12, 0x23, 0x0a, 0x1f, 0x4f, 0x55, 0x54, 0x50, 0x55, 0x54, 0x5f, 0x41, 0x55, |
| 0x44, 0x49, 0x4f, 0x5f, 0x45, 0x4e, 0x43, 0x4f, 0x44, 0x49, 0x4e, 0x47, 0x5f, 0x4c, 0x49, 0x4e, |
| 0x45, 0x41, 0x52, 0x5f, 0x31, 0x36, 0x10, 0x01, 0x12, 0x1d, 0x0a, 0x19, 0x4f, 0x55, 0x54, 0x50, |
| 0x55, 0x54, 0x5f, 0x41, 0x55, 0x44, 0x49, 0x4f, 0x5f, 0x45, 0x4e, 0x43, 0x4f, 0x44, 0x49, 0x4e, |
| 0x47, 0x5f, 0x4d, 0x50, 0x33, 0x10, 0x02, 0x12, 0x25, 0x0a, 0x21, 0x4f, 0x55, 0x54, 0x50, 0x55, |
| 0x54, 0x5f, 0x41, 0x55, 0x44, 0x49, 0x4f, 0x5f, 0x45, 0x4e, 0x43, 0x4f, 0x44, 0x49, 0x4e, 0x47, |
| 0x5f, 0x4d, 0x50, 0x33, 0x5f, 0x36, 0x34, 0x5f, 0x4b, 0x42, 0x50, 0x53, 0x10, 0x04, 0x12, 0x22, |
| 0x0a, 0x1e, 0x4f, 0x55, 0x54, 0x50, 0x55, 0x54, 0x5f, 0x41, 0x55, 0x44, 0x49, 0x4f, 0x5f, 0x45, |
| 0x4e, 0x43, 0x4f, 0x44, 0x49, 0x4e, 0x47, 0x5f, 0x4f, 0x47, 0x47, 0x5f, 0x4f, 0x50, 0x55, 0x53, |
| 0x10, 0x03, 0x12, 0x1f, 0x0a, 0x1b, 0x4f, 0x55, 0x54, 0x50, 0x55, 0x54, 0x5f, 0x41, 0x55, 0x44, |
| 0x49, 0x4f, 0x5f, 0x45, 0x4e, 0x43, 0x4f, 0x44, 0x49, 0x4e, 0x47, 0x5f, 0x4d, 0x55, 0x4c, 0x41, |
| 0x57, 0x10, 0x05, 0x42, 0x8e, 0x02, 0xea, 0x41, 0x55, 0x0a, 0x1b, 0x61, 0x75, 0x74, 0x6f, 0x6d, |
| 0x6c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, |
| 0x2f, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x12, 0x36, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, |
| 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x7d, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, |
| 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x7b, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x7d, 0x2f, |
| 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x7b, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x7d, 0x0a, 0x21, |
| 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, |
| 0x2e, 0x64, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x63, 0x78, 0x2e, 0x76, |
| 0x33, 0x42, 0x10, 0x41, 0x75, 0x64, 0x69, 0x6f, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x50, 0x72, |
| 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x31, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6f, 0x6f, |
| 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x2f, 0x64, 0x69, 0x61, 0x6c, 0x6f, |
| 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2f, 0x63, 0x78, 0x2f, 0x61, 0x70, 0x69, 0x76, 0x33, 0x2f, 0x63, |
| 0x78, 0x70, 0x62, 0x3b, 0x63, 0x78, 0x70, 0x62, 0xf8, 0x01, 0x01, 0xa2, 0x02, 0x02, 0x44, 0x46, |
| 0xaa, 0x02, 0x1d, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e, |
| 0x44, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x43, 0x78, 0x2e, 0x56, 0x33, |
| 0xea, 0x02, 0x21, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x3a, 0x3a, 0x43, 0x6c, 0x6f, 0x75, 0x64, |
| 0x3a, 0x3a, 0x44, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x3a, 0x3a, 0x43, 0x58, |
| 0x3a, 0x3a, 0x56, 0x33, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, |
| } |
| |
| var ( |
| file_google_cloud_dialogflow_cx_v3_audio_config_proto_rawDescOnce sync.Once |
| file_google_cloud_dialogflow_cx_v3_audio_config_proto_rawDescData = file_google_cloud_dialogflow_cx_v3_audio_config_proto_rawDesc |
| ) |
| |
| func file_google_cloud_dialogflow_cx_v3_audio_config_proto_rawDescGZIP() []byte { |
| file_google_cloud_dialogflow_cx_v3_audio_config_proto_rawDescOnce.Do(func() { |
| file_google_cloud_dialogflow_cx_v3_audio_config_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_dialogflow_cx_v3_audio_config_proto_rawDescData) |
| }) |
| return file_google_cloud_dialogflow_cx_v3_audio_config_proto_rawDescData |
| } |
| |
| var file_google_cloud_dialogflow_cx_v3_audio_config_proto_enumTypes = make([]protoimpl.EnumInfo, 4) |
| var file_google_cloud_dialogflow_cx_v3_audio_config_proto_msgTypes = make([]protoimpl.MessageInfo, 8) |
| var file_google_cloud_dialogflow_cx_v3_audio_config_proto_goTypes = []interface{}{ |
| (AudioEncoding)(0), // 0: google.cloud.dialogflow.cx.v3.AudioEncoding |
| (SpeechModelVariant)(0), // 1: google.cloud.dialogflow.cx.v3.SpeechModelVariant |
| (SsmlVoiceGender)(0), // 2: google.cloud.dialogflow.cx.v3.SsmlVoiceGender |
| (OutputAudioEncoding)(0), // 3: google.cloud.dialogflow.cx.v3.OutputAudioEncoding |
| (*SpeechWordInfo)(nil), // 4: google.cloud.dialogflow.cx.v3.SpeechWordInfo |
| (*BargeInConfig)(nil), // 5: google.cloud.dialogflow.cx.v3.BargeInConfig |
| (*InputAudioConfig)(nil), // 6: google.cloud.dialogflow.cx.v3.InputAudioConfig |
| (*VoiceSelectionParams)(nil), // 7: google.cloud.dialogflow.cx.v3.VoiceSelectionParams |
| (*SynthesizeSpeechConfig)(nil), // 8: google.cloud.dialogflow.cx.v3.SynthesizeSpeechConfig |
| (*OutputAudioConfig)(nil), // 9: google.cloud.dialogflow.cx.v3.OutputAudioConfig |
| (*TextToSpeechSettings)(nil), // 10: google.cloud.dialogflow.cx.v3.TextToSpeechSettings |
| nil, // 11: google.cloud.dialogflow.cx.v3.TextToSpeechSettings.SynthesizeSpeechConfigsEntry |
| (*durationpb.Duration)(nil), // 12: google.protobuf.Duration |
| } |
| var file_google_cloud_dialogflow_cx_v3_audio_config_proto_depIdxs = []int32{ |
| 12, // 0: google.cloud.dialogflow.cx.v3.SpeechWordInfo.start_offset:type_name -> google.protobuf.Duration |
| 12, // 1: google.cloud.dialogflow.cx.v3.SpeechWordInfo.end_offset:type_name -> google.protobuf.Duration |
| 12, // 2: google.cloud.dialogflow.cx.v3.BargeInConfig.no_barge_in_duration:type_name -> google.protobuf.Duration |
| 12, // 3: google.cloud.dialogflow.cx.v3.BargeInConfig.total_duration:type_name -> google.protobuf.Duration |
| 0, // 4: google.cloud.dialogflow.cx.v3.InputAudioConfig.audio_encoding:type_name -> google.cloud.dialogflow.cx.v3.AudioEncoding |
| 1, // 5: google.cloud.dialogflow.cx.v3.InputAudioConfig.model_variant:type_name -> google.cloud.dialogflow.cx.v3.SpeechModelVariant |
| 5, // 6: google.cloud.dialogflow.cx.v3.InputAudioConfig.barge_in_config:type_name -> google.cloud.dialogflow.cx.v3.BargeInConfig |
| 2, // 7: google.cloud.dialogflow.cx.v3.VoiceSelectionParams.ssml_gender:type_name -> google.cloud.dialogflow.cx.v3.SsmlVoiceGender |
| 7, // 8: google.cloud.dialogflow.cx.v3.SynthesizeSpeechConfig.voice:type_name -> google.cloud.dialogflow.cx.v3.VoiceSelectionParams |
| 3, // 9: google.cloud.dialogflow.cx.v3.OutputAudioConfig.audio_encoding:type_name -> google.cloud.dialogflow.cx.v3.OutputAudioEncoding |
| 8, // 10: google.cloud.dialogflow.cx.v3.OutputAudioConfig.synthesize_speech_config:type_name -> google.cloud.dialogflow.cx.v3.SynthesizeSpeechConfig |
| 11, // 11: google.cloud.dialogflow.cx.v3.TextToSpeechSettings.synthesize_speech_configs:type_name -> google.cloud.dialogflow.cx.v3.TextToSpeechSettings.SynthesizeSpeechConfigsEntry |
| 8, // 12: google.cloud.dialogflow.cx.v3.TextToSpeechSettings.SynthesizeSpeechConfigsEntry.value:type_name -> google.cloud.dialogflow.cx.v3.SynthesizeSpeechConfig |
| 13, // [13:13] is the sub-list for method output_type |
| 13, // [13:13] is the sub-list for method input_type |
| 13, // [13:13] is the sub-list for extension type_name |
| 13, // [13:13] is the sub-list for extension extendee |
| 0, // [0:13] is the sub-list for field type_name |
| } |
| |
| func init() { file_google_cloud_dialogflow_cx_v3_audio_config_proto_init() } |
| func file_google_cloud_dialogflow_cx_v3_audio_config_proto_init() { |
| if File_google_cloud_dialogflow_cx_v3_audio_config_proto != nil { |
| return |
| } |
| if !protoimpl.UnsafeEnabled { |
| file_google_cloud_dialogflow_cx_v3_audio_config_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { |
| switch v := v.(*SpeechWordInfo); i { |
| case 0: |
| return &v.state |
| case 1: |
| return &v.sizeCache |
| case 2: |
| return &v.unknownFields |
| default: |
| return nil |
| } |
| } |
| file_google_cloud_dialogflow_cx_v3_audio_config_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { |
| switch v := v.(*BargeInConfig); i { |
| case 0: |
| return &v.state |
| case 1: |
| return &v.sizeCache |
| case 2: |
| return &v.unknownFields |
| default: |
| return nil |
| } |
| } |
| file_google_cloud_dialogflow_cx_v3_audio_config_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { |
| switch v := v.(*InputAudioConfig); i { |
| case 0: |
| return &v.state |
| case 1: |
| return &v.sizeCache |
| case 2: |
| return &v.unknownFields |
| default: |
| return nil |
| } |
| } |
| file_google_cloud_dialogflow_cx_v3_audio_config_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { |
| switch v := v.(*VoiceSelectionParams); i { |
| case 0: |
| return &v.state |
| case 1: |
| return &v.sizeCache |
| case 2: |
| return &v.unknownFields |
| default: |
| return nil |
| } |
| } |
| file_google_cloud_dialogflow_cx_v3_audio_config_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { |
| switch v := v.(*SynthesizeSpeechConfig); i { |
| case 0: |
| return &v.state |
| case 1: |
| return &v.sizeCache |
| case 2: |
| return &v.unknownFields |
| default: |
| return nil |
| } |
| } |
| file_google_cloud_dialogflow_cx_v3_audio_config_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { |
| switch v := v.(*OutputAudioConfig); i { |
| case 0: |
| return &v.state |
| case 1: |
| return &v.sizeCache |
| case 2: |
| return &v.unknownFields |
| default: |
| return nil |
| } |
| } |
| file_google_cloud_dialogflow_cx_v3_audio_config_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { |
| switch v := v.(*TextToSpeechSettings); i { |
| case 0: |
| return &v.state |
| case 1: |
| return &v.sizeCache |
| case 2: |
| return &v.unknownFields |
| default: |
| return nil |
| } |
| } |
| } |
| type x struct{} |
| out := protoimpl.TypeBuilder{ |
| File: protoimpl.DescBuilder{ |
| GoPackagePath: reflect.TypeOf(x{}).PkgPath(), |
| RawDescriptor: file_google_cloud_dialogflow_cx_v3_audio_config_proto_rawDesc, |
| NumEnums: 4, |
| NumMessages: 8, |
| NumExtensions: 0, |
| NumServices: 0, |
| }, |
| GoTypes: file_google_cloud_dialogflow_cx_v3_audio_config_proto_goTypes, |
| DependencyIndexes: file_google_cloud_dialogflow_cx_v3_audio_config_proto_depIdxs, |
| EnumInfos: file_google_cloud_dialogflow_cx_v3_audio_config_proto_enumTypes, |
| MessageInfos: file_google_cloud_dialogflow_cx_v3_audio_config_proto_msgTypes, |
| }.Build() |
| File_google_cloud_dialogflow_cx_v3_audio_config_proto = out.File |
| file_google_cloud_dialogflow_cx_v3_audio_config_proto_rawDesc = nil |
| file_google_cloud_dialogflow_cx_v3_audio_config_proto_goTypes = nil |
| file_google_cloud_dialogflow_cx_v3_audio_config_proto_depIdxs = nil |
| } |