@@ -27,6 +27,14 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r
2727 registerAllExtensions ((com .google .protobuf .ExtensionRegistryLite ) registry );
2828 }
2929
30+ static final com .google .protobuf .Descriptors .Descriptor
31+ internal_static_google_cloud_dialogflow_v2_SpeechContext_descriptor ;
32+ static final com .google .protobuf .GeneratedMessageV3 .FieldAccessorTable
33+ internal_static_google_cloud_dialogflow_v2_SpeechContext_fieldAccessorTable ;
34+ static final com .google .protobuf .Descriptors .Descriptor
35+ internal_static_google_cloud_dialogflow_v2_SpeechWordInfo_descriptor ;
36+ static final com .google .protobuf .GeneratedMessageV3 .FieldAccessorTable
37+ internal_static_google_cloud_dialogflow_v2_SpeechWordInfo_fieldAccessorTable ;
3038 static final com .google .protobuf .Descriptors .Descriptor
3139 internal_static_google_cloud_dialogflow_v2_InputAudioConfig_descriptor ;
3240 static final com .google .protobuf .GeneratedMessageV3 .FieldAccessorTable
@@ -56,48 +64,56 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
5664 + "g.proto\022 \032 google.cloud.dialogflow.v2\032 \037 goo"
5765 + "gle/api/field_behavior.proto\032 \031 google/api"
5866 + "/resource.proto\032 \036 google/protobuf/duratio"
59- + "n.proto\032 \034 google/api/annotations.proto\" \376 \001 "
60- + "\n \020 InputAudioConfig\022 A\n \016 audio_encoding\030 \001 \001 "
61- + "(\016 2).google.cloud.dialogflow.v2.AudioEnc"
62- + "oding\022 \031 \n \021 sample_rate_hertz\030 \002 \001 (\005 \022 \025 \n \r lang"
63- + "uage_code\030 \003 \001 (\t \022 \024 \n \014 phrase_hints\030 \004 \003 (\t \022 E\n "
64- + "\r model_variant\030 \n \001 (\016 2..google.cloud.dial"
65- + "ogflow.v2.SpeechModelVariant\022 \030 \n \020 single_u"
66- + "tterance\030 \010 \001 (\010 \" f\n \024 VoiceSelectionParams\022 \014 "
67- + "\n \004 name\030 \001 \001 (\t \022 @\n \013 ssml_gender\030 \002 \001 (\016 2+.goog"
68- + "le.cloud.dialogflow.v2.SsmlVoiceGender\" \263 "
69- + "\001 \n \026 SynthesizeSpeechConfig\022 \025 \n \r speaking_ra"
70- + "te\030 \001 \001 (\001 \022 \r \n \005 pitch\030 \002 \001 (\001 \022 \026 \n \016 volume_gain_d"
71- + "b\030 \003 \001 (\001 \022 \032 \n \022 effects_profile_id\030 \005 \003 (\t \022 ?\n \005 v"
72- + "oice\030 \004 \001 (\013 20.google.cloud.dialogflow.v2."
73- + "VoiceSelectionParams\" \315 \001 \n \021 OutputAudioConf"
74- + "ig\022 G\n \016 audio_encoding\030 \001 \001 (\016 2/.google.clou"
75- + "d.dialogflow.v2.OutputAudioEncoding\022 \031 \n \021 s"
76- + "ample_rate_hertz\030 \002 \001 (\005 \022 T\n \030 synthesize_spe"
77- + "ech_config\030 \003 \001 (\013 22.google.cloud.dialogfl"
78- + "ow.v2.SynthesizeSpeechConfig*\373 \001 \n \r AudioEn"
79- + "coding\022 \036 \n \032 AUDIO_ENCODING_UNSPECIFIED\020 \000 \022 \034 "
80- + "\n \030 AUDIO_ENCODING_LINEAR_16\020 \001 \022 \027 \n \023 AUDIO_EN"
81- + "CODING_FLAC\020 \002 \022 \030 \n \024 AUDIO_ENCODING_MULAW\020 \003 \022 "
82- + "\026 \n \022 AUDIO_ENCODING_AMR\020 \004 \022 \031 \n \025 AUDIO_ENCODIN"
83- + "G_AMR_WB\020 \005 \022 \033 \n \027 AUDIO_ENCODING_OGG_OPUS\020 \006 \022 "
84- + ")\n %AUDIO_ENCODING_SPEEX_WITH_HEADER_BYTE"
85- + "\020 \007 *v\n \022 SpeechModelVariant\022 $\n SPEECH_MODEL"
86- + "_VARIANT_UNSPECIFIED\020 \000 \022 \026 \n \022 USE_BEST_AVAIL"
87- + "ABLE\020 \001 \022 \020 \n \014 USE_STANDARD\020 \002 \022 \020 \n \014 USE_ENHANCED"
88- + "\020 \003 *\215 \001 \n \017 SsmlVoiceGender\022 !\n \035 SSML_VOICE_GEN"
89- + "DER_UNSPECIFIED\020 \000 \022 \032 \n \026 SSML_VOICE_GENDER_M"
90- + "ALE\020 \001 \022 \034 \n \030 SSML_VOICE_GENDER_FEMALE\020 \002 \022 \035 \n \031 S"
91- + "SML_VOICE_GENDER_NEUTRAL\020 \003 *\244 \001 \n \023 OutputAud"
92- + "ioEncoding\022 %\n !OUTPUT_AUDIO_ENCODING_UNSP"
93- + "ECIFIED\020 \000 \022 #\n \037 OUTPUT_AUDIO_ENCODING_LINEA"
94- + "R_16\020 \001 \022 \035 \n \031 OUTPUT_AUDIO_ENCODING_MP3\020 \002 \022 \" \n "
95- + "\036 OUTPUT_AUDIO_ENCODING_OGG_OPUS\020 \003 B\237 \001 \n \036 co"
96- + "m.google.cloud.dialogflow.v2B\020 AudioConfi"
97- + "gProtoP\001 ZDgoogle.golang.org/genproto/goo"
98- + "gleapis/cloud/dialogflow/v2;dialogflow\370 \001 "
99- + "\001 \242 \002 \002 DF\252 \002 \032 Google.Cloud.Dialogflow.V2b\006 pro"
100- + "to3"
67+ + "n.proto\032 \034 google/api/annotations.proto\" /\n "
68+ + "\r SpeechContext\022 \017 \n \007 phrases\030 \001 \003 (\t \022 \r \n \005 boost"
69+ + "\030 \002 \001 (\002 \" \222 \001 \n \016 SpeechWordInfo\022 \014 \n \004 word\030 \003 \001 (\t \022 "
70+ + "/\n \014 start_offset\030 \001 \001 (\013 2\031 .google.protobuf."
71+ + "Duration\022 -\n \n end_offset\030 \002 \001 (\013 2\031 .google.pr"
72+ + "otobuf.Duration\022 \022 \n \n confidence\030 \004 \001 (\002 \" \201 \003 \n \020 "
73+ + "InputAudioConfig\022 A\n \016 audio_encoding\030 \001 \001 (\016 "
74+ + "2).google.cloud.dialogflow.v2.AudioEncod"
75+ + "ing\022 \031 \n \021 sample_rate_hertz\030 \002 \001 (\005 \022 \025 \n \r langua"
76+ + "ge_code\030 \003 \001 (\t \022 \035 \n \020 enable_word_info\030 \r \001 (\010 B"
77+ + "\003 \340 A\001 \022 \033 \n \014 phrase_hints\030 \004 \003 (\t B\005 \030 \001 \340 A\001 \022 G\n \017 spe"
78+ + "ech_contexts\030 \013 \003 (\013 2).google.cloud.dialog"
79+ + "flow.v2.SpeechContextB\003 \340 A\001 \022 \022 \n \005 model\030 \007 \001 ("
80+ + "\t B\003 \340 A\001 \022 E\n \r model_variant\030 \n \001 (\016 2..google.c"
81+ + "loud.dialogflow.v2.SpeechModelVariant\022 \030 \n "
82+ + "\020 single_utterance\030 \010 \001 (\010 \" f\n \024 VoiceSelectio"
83+ + "nParams\022 \014 \n \004 name\030 \001 \001 (\t \022 @\n \013 ssml_gender\030 \002 \001 "
84+ + "(\016 2+.google.cloud.dialogflow.v2.SsmlVoic"
85+ + "eGender\" \263 \001 \n \026 SynthesizeSpeechConfig\022 \025 \n \r sp"
86+ + "eaking_rate\030 \001 \001 (\001 \022 \r \n \005 pitch\030 \002 \001 (\001 \022 \026 \n \016 volu"
87+ + "me_gain_db\030 \003 \001 (\001 \022 \032 \n \022 effects_profile_id\030 \005 "
88+ + " \003 (\t \022 ?\n \005 voice\030 \004 \001 (\013 20.google.cloud.dialo"
89+ + "gflow.v2.VoiceSelectionParams\" \315 \001 \n \021 Output"
90+ + "AudioConfig\022 G\n \016 audio_encoding\030 \001 \001 (\016 2/.go"
91+ + "ogle.cloud.dialogflow.v2.OutputAudioEnco"
92+ + "ding\022 \031 \n \021 sample_rate_hertz\030 \002 \001 (\005 \022 T\n \030 synth"
93+ + "esize_speech_config\030 \003 \001 (\013 22.google.cloud"
94+ + ".dialogflow.v2.SynthesizeSpeechConfig*\373 \001 "
95+ + "\n \r AudioEncoding\022 \036 \n \032 AUDIO_ENCODING_UNSPEC"
96+ + "IFIED\020 \000 \022 \034 \n \030 AUDIO_ENCODING_LINEAR_16\020 \001 \022 \027 \n "
97+ + "\023 AUDIO_ENCODING_FLAC\020 \002 \022 \030 \n \024 AUDIO_ENCODING"
98+ + "_MULAW\020 \003 \022 \026 \n \022 AUDIO_ENCODING_AMR\020 \004 \022 \031 \n \025 AUDI"
99+ + "O_ENCODING_AMR_WB\020 \005 \022 \033 \n \027 AUDIO_ENCODING_OG"
100+ + "G_OPUS\020 \006 \022 )\n %AUDIO_ENCODING_SPEEX_WITH_HE"
101+ + "ADER_BYTE\020 \007 *v\n \022 SpeechModelVariant\022 $\n SPE"
102+ + "ECH_MODEL_VARIANT_UNSPECIFIED\020 \000 \022 \026 \n \022 USE_B"
103+ + "EST_AVAILABLE\020 \001 \022 \020 \n \014 USE_STANDARD\020 \002 \022 \020 \n \014 USE"
104+ + "_ENHANCED\020 \003 *\215 \001 \n \017 SsmlVoiceGender\022 !\n \035 SSML_"
105+ + "VOICE_GENDER_UNSPECIFIED\020 \000 \022 \032 \n \026 SSML_VOICE"
106+ + "_GENDER_MALE\020 \001 \022 \034 \n \030 SSML_VOICE_GENDER_FEMA"
107+ + "LE\020 \002 \022 \035 \n \031 SSML_VOICE_GENDER_NEUTRAL\020 \003 *\244 \001 \n \023 "
108+ + "OutputAudioEncoding\022 %\n !OUTPUT_AUDIO_ENCO"
109+ + "DING_UNSPECIFIED\020 \000 \022 #\n \037 OUTPUT_AUDIO_ENCOD"
110+ + "ING_LINEAR_16\020 \001 \022 \035 \n \031 OUTPUT_AUDIO_ENCODING"
111+ + "_MP3\020 \002 \022 \" \n \036 OUTPUT_AUDIO_ENCODING_OGG_OPUS"
112+ + "\020 \003 B\237 \001 \n \036 com.google.cloud.dialogflow.v2B\020 A"
113+ + "udioConfigProtoP\001 ZDgoogle.golang.org/gen"
114+ + "proto/googleapis/cloud/dialogflow/v2;dia"
115+ + "logflow\370 \001 \001 \242 \002 \002 DF\252 \002 \032 Google.Cloud.Dialogflo"
116+ + "w.V2b\006 proto3"
101117 };
102118 descriptor =
103119 com .google .protobuf .Descriptors .FileDescriptor .internalBuildGeneratedFileFrom (
@@ -108,43 +124,67 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
108124 com .google .protobuf .DurationProto .getDescriptor (),
109125 com .google .api .AnnotationsProto .getDescriptor (),
110126 });
111- internal_static_google_cloud_dialogflow_v2_InputAudioConfig_descriptor =
127+ internal_static_google_cloud_dialogflow_v2_SpeechContext_descriptor =
112128 getDescriptor ().getMessageTypes ().get (0 );
129+ internal_static_google_cloud_dialogflow_v2_SpeechContext_fieldAccessorTable =
130+ new com .google .protobuf .GeneratedMessageV3 .FieldAccessorTable (
131+ internal_static_google_cloud_dialogflow_v2_SpeechContext_descriptor ,
132+ new java .lang .String [] {
133+ "Phrases" , "Boost" ,
134+ });
135+ internal_static_google_cloud_dialogflow_v2_SpeechWordInfo_descriptor =
136+ getDescriptor ().getMessageTypes ().get (1 );
137+ internal_static_google_cloud_dialogflow_v2_SpeechWordInfo_fieldAccessorTable =
138+ new com .google .protobuf .GeneratedMessageV3 .FieldAccessorTable (
139+ internal_static_google_cloud_dialogflow_v2_SpeechWordInfo_descriptor ,
140+ new java .lang .String [] {
141+ "Word" , "StartOffset" , "EndOffset" , "Confidence" ,
142+ });
143+ internal_static_google_cloud_dialogflow_v2_InputAudioConfig_descriptor =
144+ getDescriptor ().getMessageTypes ().get (2 );
113145 internal_static_google_cloud_dialogflow_v2_InputAudioConfig_fieldAccessorTable =
114146 new com .google .protobuf .GeneratedMessageV3 .FieldAccessorTable (
115147 internal_static_google_cloud_dialogflow_v2_InputAudioConfig_descriptor ,
116148 new java .lang .String [] {
117149 "AudioEncoding" ,
118150 "SampleRateHertz" ,
119151 "LanguageCode" ,
152+ "EnableWordInfo" ,
120153 "PhraseHints" ,
154+ "SpeechContexts" ,
155+ "Model" ,
121156 "ModelVariant" ,
122157 "SingleUtterance" ,
123158 });
124159 internal_static_google_cloud_dialogflow_v2_VoiceSelectionParams_descriptor =
125- getDescriptor ().getMessageTypes ().get (1 );
160+ getDescriptor ().getMessageTypes ().get (3 );
126161 internal_static_google_cloud_dialogflow_v2_VoiceSelectionParams_fieldAccessorTable =
127162 new com .google .protobuf .GeneratedMessageV3 .FieldAccessorTable (
128163 internal_static_google_cloud_dialogflow_v2_VoiceSelectionParams_descriptor ,
129164 new java .lang .String [] {
130165 "Name" , "SsmlGender" ,
131166 });
132167 internal_static_google_cloud_dialogflow_v2_SynthesizeSpeechConfig_descriptor =
133- getDescriptor ().getMessageTypes ().get (2 );
168+ getDescriptor ().getMessageTypes ().get (4 );
134169 internal_static_google_cloud_dialogflow_v2_SynthesizeSpeechConfig_fieldAccessorTable =
135170 new com .google .protobuf .GeneratedMessageV3 .FieldAccessorTable (
136171 internal_static_google_cloud_dialogflow_v2_SynthesizeSpeechConfig_descriptor ,
137172 new java .lang .String [] {
138173 "SpeakingRate" , "Pitch" , "VolumeGainDb" , "EffectsProfileId" , "Voice" ,
139174 });
140175 internal_static_google_cloud_dialogflow_v2_OutputAudioConfig_descriptor =
141- getDescriptor ().getMessageTypes ().get (3 );
176+ getDescriptor ().getMessageTypes ().get (5 );
142177 internal_static_google_cloud_dialogflow_v2_OutputAudioConfig_fieldAccessorTable =
143178 new com .google .protobuf .GeneratedMessageV3 .FieldAccessorTable (
144179 internal_static_google_cloud_dialogflow_v2_OutputAudioConfig_descriptor ,
145180 new java .lang .String [] {
146181 "AudioEncoding" , "SampleRateHertz" , "SynthesizeSpeechConfig" ,
147182 });
183+ com .google .protobuf .ExtensionRegistry registry =
184+ com .google .protobuf .ExtensionRegistry .newInstance ();
185+ registry .add (com .google .api .FieldBehaviorProto .fieldBehavior );
186+ com .google .protobuf .Descriptors .FileDescriptor .internalUpdateFileDescriptor (
187+ descriptor , registry );
148188 com .google .api .FieldBehaviorProto .getDescriptor ();
149189 com .google .api .ResourceProto .getDescriptor ();
150190 com .google .protobuf .DurationProto .getDescriptor ();
0 commit comments