1 /* This file was generated by upbc (the upb compiler) from the input
4 * google/protobuf/descriptor.proto
6 * Do not edit -- your changes will be discarded when the file is
11 #include "google/protobuf/descriptor.upb.h"
13 #include "upb/port_def.inc"
15 static const upb_msglayout *const google_protobuf_FileDescriptorSet_submsgs[1] = {
16 &google_protobuf_FileDescriptorProto_msginit,
19 static const upb_msglayout_field google_protobuf_FileDescriptorSet__fields[1] = {
20 {1, UPB_SIZE(0, 0), 0, 0, 11, 3},
23 const upb_msglayout google_protobuf_FileDescriptorSet_msginit = {
24 &google_protobuf_FileDescriptorSet_submsgs[0],
25 &google_protobuf_FileDescriptorSet__fields[0],
26 UPB_SIZE(8, 8), 1, false, 255,
29 static const upb_msglayout *const google_protobuf_FileDescriptorProto_submsgs[6] = {
30 &google_protobuf_DescriptorProto_msginit,
31 &google_protobuf_EnumDescriptorProto_msginit,
32 &google_protobuf_FieldDescriptorProto_msginit,
33 &google_protobuf_FileOptions_msginit,
34 &google_protobuf_ServiceDescriptorProto_msginit,
35 &google_protobuf_SourceCodeInfo_msginit,
38 static const upb_msglayout_field google_protobuf_FileDescriptorProto__fields[12] = {
39 {1, UPB_SIZE(4, 8), 1, 0, 12, 1},
40 {2, UPB_SIZE(12, 24), 2, 0, 12, 1},
41 {3, UPB_SIZE(36, 72), 0, 0, 12, 3},
42 {4, UPB_SIZE(40, 80), 0, 0, 11, 3},
43 {5, UPB_SIZE(44, 88), 0, 1, 11, 3},
44 {6, UPB_SIZE(48, 96), 0, 4, 11, 3},
45 {7, UPB_SIZE(52, 104), 0, 2, 11, 3},
46 {8, UPB_SIZE(28, 56), 3, 3, 11, 1},
47 {9, UPB_SIZE(32, 64), 4, 5, 11, 1},
48 {10, UPB_SIZE(56, 112), 0, 0, 5, 3},
49 {11, UPB_SIZE(60, 120), 0, 0, 5, 3},
50 {12, UPB_SIZE(20, 40), 5, 0, 12, 1},
53 const upb_msglayout google_protobuf_FileDescriptorProto_msginit = {
54 &google_protobuf_FileDescriptorProto_submsgs[0],
55 &google_protobuf_FileDescriptorProto__fields[0],
56 UPB_SIZE(64, 128), 12, false, 255,
59 static const upb_msglayout *const google_protobuf_DescriptorProto_submsgs[7] = {
60 &google_protobuf_DescriptorProto_msginit,
61 &google_protobuf_DescriptorProto_ExtensionRange_msginit,
62 &google_protobuf_DescriptorProto_ReservedRange_msginit,
63 &google_protobuf_EnumDescriptorProto_msginit,
64 &google_protobuf_FieldDescriptorProto_msginit,
65 &google_protobuf_MessageOptions_msginit,
66 &google_protobuf_OneofDescriptorProto_msginit,
69 static const upb_msglayout_field google_protobuf_DescriptorProto__fields[10] = {
70 {1, UPB_SIZE(4, 8), 1, 0, 12, 1},
71 {2, UPB_SIZE(16, 32), 0, 4, 11, 3},
72 {3, UPB_SIZE(20, 40), 0, 0, 11, 3},
73 {4, UPB_SIZE(24, 48), 0, 3, 11, 3},
74 {5, UPB_SIZE(28, 56), 0, 1, 11, 3},
75 {6, UPB_SIZE(32, 64), 0, 4, 11, 3},
76 {7, UPB_SIZE(12, 24), 2, 5, 11, 1},
77 {8, UPB_SIZE(36, 72), 0, 6, 11, 3},
78 {9, UPB_SIZE(40, 80), 0, 2, 11, 3},
79 {10, UPB_SIZE(44, 88), 0, 0, 12, 3},
82 const upb_msglayout google_protobuf_DescriptorProto_msginit = {
83 &google_protobuf_DescriptorProto_submsgs[0],
84 &google_protobuf_DescriptorProto__fields[0],
85 UPB_SIZE(48, 96), 10, false, 255,
88 static const upb_msglayout *const google_protobuf_DescriptorProto_ExtensionRange_submsgs[1] = {
89 &google_protobuf_ExtensionRangeOptions_msginit,
92 static const upb_msglayout_field google_protobuf_DescriptorProto_ExtensionRange__fields[3] = {
93 {1, UPB_SIZE(4, 4), 1, 0, 5, 1},
94 {2, UPB_SIZE(8, 8), 2, 0, 5, 1},
95 {3, UPB_SIZE(12, 16), 3, 0, 11, 1},
98 const upb_msglayout google_protobuf_DescriptorProto_ExtensionRange_msginit = {
99 &google_protobuf_DescriptorProto_ExtensionRange_submsgs[0],
100 &google_protobuf_DescriptorProto_ExtensionRange__fields[0],
101 UPB_SIZE(16, 24), 3, false, 255,
104 static const upb_msglayout_field google_protobuf_DescriptorProto_ReservedRange__fields[2] = {
105 {1, UPB_SIZE(4, 4), 1, 0, 5, 1},
106 {2, UPB_SIZE(8, 8), 2, 0, 5, 1},
109 const upb_msglayout google_protobuf_DescriptorProto_ReservedRange_msginit = {
111 &google_protobuf_DescriptorProto_ReservedRange__fields[0],
112 UPB_SIZE(16, 16), 2, false, 255,
115 static const upb_msglayout *const google_protobuf_ExtensionRangeOptions_submsgs[1] = {
116 &google_protobuf_UninterpretedOption_msginit,
119 static const upb_msglayout_field google_protobuf_ExtensionRangeOptions__fields[1] = {
120 {999, UPB_SIZE(0, 0), 0, 0, 11, 3},
123 const upb_msglayout google_protobuf_ExtensionRangeOptions_msginit = {
124 &google_protobuf_ExtensionRangeOptions_submsgs[0],
125 &google_protobuf_ExtensionRangeOptions__fields[0],
126 UPB_SIZE(8, 8), 1, false, 255,
129 static const upb_msglayout *const google_protobuf_FieldDescriptorProto_submsgs[1] = {
130 &google_protobuf_FieldOptions_msginit,
133 static const upb_msglayout_field google_protobuf_FieldDescriptorProto__fields[11] = {
134 {1, UPB_SIZE(24, 24), 1, 0, 12, 1},
135 {2, UPB_SIZE(32, 40), 2, 0, 12, 1},
136 {3, UPB_SIZE(12, 12), 3, 0, 5, 1},
137 {4, UPB_SIZE(4, 4), 4, 0, 14, 1},
138 {5, UPB_SIZE(8, 8), 5, 0, 14, 1},
139 {6, UPB_SIZE(40, 56), 6, 0, 12, 1},
140 {7, UPB_SIZE(48, 72), 7, 0, 12, 1},
141 {8, UPB_SIZE(64, 104), 8, 0, 11, 1},
142 {9, UPB_SIZE(16, 16), 9, 0, 5, 1},
143 {10, UPB_SIZE(56, 88), 10, 0, 12, 1},
144 {17, UPB_SIZE(20, 20), 11, 0, 8, 1},
147 const upb_msglayout google_protobuf_FieldDescriptorProto_msginit = {
148 &google_protobuf_FieldDescriptorProto_submsgs[0],
149 &google_protobuf_FieldDescriptorProto__fields[0],
150 UPB_SIZE(72, 112), 11, false, 255,
153 static const upb_msglayout *const google_protobuf_OneofDescriptorProto_submsgs[1] = {
154 &google_protobuf_OneofOptions_msginit,
157 static const upb_msglayout_field google_protobuf_OneofDescriptorProto__fields[2] = {
158 {1, UPB_SIZE(4, 8), 1, 0, 12, 1},
159 {2, UPB_SIZE(12, 24), 2, 0, 11, 1},
162 const upb_msglayout google_protobuf_OneofDescriptorProto_msginit = {
163 &google_protobuf_OneofDescriptorProto_submsgs[0],
164 &google_protobuf_OneofDescriptorProto__fields[0],
165 UPB_SIZE(16, 32), 2, false, 255,
168 static const upb_msglayout *const google_protobuf_EnumDescriptorProto_submsgs[3] = {
169 &google_protobuf_EnumDescriptorProto_EnumReservedRange_msginit,
170 &google_protobuf_EnumOptions_msginit,
171 &google_protobuf_EnumValueDescriptorProto_msginit,
174 static const upb_msglayout_field google_protobuf_EnumDescriptorProto__fields[5] = {
175 {1, UPB_SIZE(4, 8), 1, 0, 12, 1},
176 {2, UPB_SIZE(16, 32), 0, 2, 11, 3},
177 {3, UPB_SIZE(12, 24), 2, 1, 11, 1},
178 {4, UPB_SIZE(20, 40), 0, 0, 11, 3},
179 {5, UPB_SIZE(24, 48), 0, 0, 12, 3},
182 const upb_msglayout google_protobuf_EnumDescriptorProto_msginit = {
183 &google_protobuf_EnumDescriptorProto_submsgs[0],
184 &google_protobuf_EnumDescriptorProto__fields[0],
185 UPB_SIZE(32, 64), 5, false, 255,
188 static const upb_msglayout_field google_protobuf_EnumDescriptorProto_EnumReservedRange__fields[2] = {
189 {1, UPB_SIZE(4, 4), 1, 0, 5, 1},
190 {2, UPB_SIZE(8, 8), 2, 0, 5, 1},
193 const upb_msglayout google_protobuf_EnumDescriptorProto_EnumReservedRange_msginit = {
195 &google_protobuf_EnumDescriptorProto_EnumReservedRange__fields[0],
196 UPB_SIZE(16, 16), 2, false, 255,
199 static const upb_msglayout *const google_protobuf_EnumValueDescriptorProto_submsgs[1] = {
200 &google_protobuf_EnumValueOptions_msginit,
203 static const upb_msglayout_field google_protobuf_EnumValueDescriptorProto__fields[3] = {
204 {1, UPB_SIZE(8, 8), 1, 0, 12, 1},
205 {2, UPB_SIZE(4, 4), 2, 0, 5, 1},
206 {3, UPB_SIZE(16, 24), 3, 0, 11, 1},
209 const upb_msglayout google_protobuf_EnumValueDescriptorProto_msginit = {
210 &google_protobuf_EnumValueDescriptorProto_submsgs[0],
211 &google_protobuf_EnumValueDescriptorProto__fields[0],
212 UPB_SIZE(24, 32), 3, false, 255,
215 static const upb_msglayout *const google_protobuf_ServiceDescriptorProto_submsgs[2] = {
216 &google_protobuf_MethodDescriptorProto_msginit,
217 &google_protobuf_ServiceOptions_msginit,
220 static const upb_msglayout_field google_protobuf_ServiceDescriptorProto__fields[3] = {
221 {1, UPB_SIZE(4, 8), 1, 0, 12, 1},
222 {2, UPB_SIZE(16, 32), 0, 0, 11, 3},
223 {3, UPB_SIZE(12, 24), 2, 1, 11, 1},
226 const upb_msglayout google_protobuf_ServiceDescriptorProto_msginit = {
227 &google_protobuf_ServiceDescriptorProto_submsgs[0],
228 &google_protobuf_ServiceDescriptorProto__fields[0],
229 UPB_SIZE(24, 48), 3, false, 255,
232 static const upb_msglayout *const google_protobuf_MethodDescriptorProto_submsgs[1] = {
233 &google_protobuf_MethodOptions_msginit,
236 static const upb_msglayout_field google_protobuf_MethodDescriptorProto__fields[6] = {
237 {1, UPB_SIZE(4, 8), 1, 0, 12, 1},
238 {2, UPB_SIZE(12, 24), 2, 0, 12, 1},
239 {3, UPB_SIZE(20, 40), 3, 0, 12, 1},
240 {4, UPB_SIZE(28, 56), 4, 0, 11, 1},
241 {5, UPB_SIZE(1, 1), 5, 0, 8, 1},
242 {6, UPB_SIZE(2, 2), 6, 0, 8, 1},
245 const upb_msglayout google_protobuf_MethodDescriptorProto_msginit = {
246 &google_protobuf_MethodDescriptorProto_submsgs[0],
247 &google_protobuf_MethodDescriptorProto__fields[0],
248 UPB_SIZE(32, 64), 6, false, 255,
251 static const upb_msglayout *const google_protobuf_FileOptions_submsgs[1] = {
252 &google_protobuf_UninterpretedOption_msginit,
255 static const upb_msglayout_field google_protobuf_FileOptions__fields[21] = {
256 {1, UPB_SIZE(20, 24), 1, 0, 12, 1},
257 {8, UPB_SIZE(28, 40), 2, 0, 12, 1},
258 {9, UPB_SIZE(4, 4), 3, 0, 14, 1},
259 {10, UPB_SIZE(8, 8), 4, 0, 8, 1},
260 {11, UPB_SIZE(36, 56), 5, 0, 12, 1},
261 {16, UPB_SIZE(9, 9), 6, 0, 8, 1},
262 {17, UPB_SIZE(10, 10), 7, 0, 8, 1},
263 {18, UPB_SIZE(11, 11), 8, 0, 8, 1},
264 {20, UPB_SIZE(12, 12), 9, 0, 8, 1},
265 {23, UPB_SIZE(13, 13), 10, 0, 8, 1},
266 {27, UPB_SIZE(14, 14), 11, 0, 8, 1},
267 {31, UPB_SIZE(15, 15), 12, 0, 8, 1},
268 {36, UPB_SIZE(44, 72), 13, 0, 12, 1},
269 {37, UPB_SIZE(52, 88), 14, 0, 12, 1},
270 {39, UPB_SIZE(60, 104), 15, 0, 12, 1},
271 {40, UPB_SIZE(68, 120), 16, 0, 12, 1},
272 {41, UPB_SIZE(76, 136), 17, 0, 12, 1},
273 {42, UPB_SIZE(16, 16), 18, 0, 8, 1},
274 {44, UPB_SIZE(84, 152), 19, 0, 12, 1},
275 {45, UPB_SIZE(92, 168), 20, 0, 12, 1},
276 {999, UPB_SIZE(100, 184), 0, 0, 11, 3},
279 const upb_msglayout google_protobuf_FileOptions_msginit = {
280 &google_protobuf_FileOptions_submsgs[0],
281 &google_protobuf_FileOptions__fields[0],
282 UPB_SIZE(104, 192), 21, false, 255,
285 static const upb_msglayout *const google_protobuf_MessageOptions_submsgs[1] = {
286 &google_protobuf_UninterpretedOption_msginit,
289 static const upb_msglayout_field google_protobuf_MessageOptions__fields[5] = {
290 {1, UPB_SIZE(1, 1), 1, 0, 8, 1},
291 {2, UPB_SIZE(2, 2), 2, 0, 8, 1},
292 {3, UPB_SIZE(3, 3), 3, 0, 8, 1},
293 {7, UPB_SIZE(4, 4), 4, 0, 8, 1},
294 {999, UPB_SIZE(8, 8), 0, 0, 11, 3},
297 const upb_msglayout google_protobuf_MessageOptions_msginit = {
298 &google_protobuf_MessageOptions_submsgs[0],
299 &google_protobuf_MessageOptions__fields[0],
300 UPB_SIZE(16, 16), 5, false, 255,
303 static const upb_msglayout *const google_protobuf_FieldOptions_submsgs[1] = {
304 &google_protobuf_UninterpretedOption_msginit,
307 static const upb_msglayout_field google_protobuf_FieldOptions__fields[7] = {
308 {1, UPB_SIZE(4, 4), 1, 0, 14, 1},
309 {2, UPB_SIZE(12, 12), 2, 0, 8, 1},
310 {3, UPB_SIZE(13, 13), 3, 0, 8, 1},
311 {5, UPB_SIZE(14, 14), 4, 0, 8, 1},
312 {6, UPB_SIZE(8, 8), 5, 0, 14, 1},
313 {10, UPB_SIZE(15, 15), 6, 0, 8, 1},
314 {999, UPB_SIZE(16, 16), 0, 0, 11, 3},
317 const upb_msglayout google_protobuf_FieldOptions_msginit = {
318 &google_protobuf_FieldOptions_submsgs[0],
319 &google_protobuf_FieldOptions__fields[0],
320 UPB_SIZE(24, 24), 7, false, 255,
323 static const upb_msglayout *const google_protobuf_OneofOptions_submsgs[1] = {
324 &google_protobuf_UninterpretedOption_msginit,
327 static const upb_msglayout_field google_protobuf_OneofOptions__fields[1] = {
328 {999, UPB_SIZE(0, 0), 0, 0, 11, 3},
331 const upb_msglayout google_protobuf_OneofOptions_msginit = {
332 &google_protobuf_OneofOptions_submsgs[0],
333 &google_protobuf_OneofOptions__fields[0],
334 UPB_SIZE(8, 8), 1, false, 255,
337 static const upb_msglayout *const google_protobuf_EnumOptions_submsgs[1] = {
338 &google_protobuf_UninterpretedOption_msginit,
341 static const upb_msglayout_field google_protobuf_EnumOptions__fields[3] = {
342 {2, UPB_SIZE(1, 1), 1, 0, 8, 1},
343 {3, UPB_SIZE(2, 2), 2, 0, 8, 1},
344 {999, UPB_SIZE(4, 8), 0, 0, 11, 3},
347 const upb_msglayout google_protobuf_EnumOptions_msginit = {
348 &google_protobuf_EnumOptions_submsgs[0],
349 &google_protobuf_EnumOptions__fields[0],
350 UPB_SIZE(8, 16), 3, false, 255,
353 static const upb_msglayout *const google_protobuf_EnumValueOptions_submsgs[1] = {
354 &google_protobuf_UninterpretedOption_msginit,
357 static const upb_msglayout_field google_protobuf_EnumValueOptions__fields[2] = {
358 {1, UPB_SIZE(1, 1), 1, 0, 8, 1},
359 {999, UPB_SIZE(4, 8), 0, 0, 11, 3},
362 const upb_msglayout google_protobuf_EnumValueOptions_msginit = {
363 &google_protobuf_EnumValueOptions_submsgs[0],
364 &google_protobuf_EnumValueOptions__fields[0],
365 UPB_SIZE(8, 16), 2, false, 255,
368 static const upb_msglayout *const google_protobuf_ServiceOptions_submsgs[1] = {
369 &google_protobuf_UninterpretedOption_msginit,
372 static const upb_msglayout_field google_protobuf_ServiceOptions__fields[2] = {
373 {33, UPB_SIZE(1, 1), 1, 0, 8, 1},
374 {999, UPB_SIZE(4, 8), 0, 0, 11, 3},
377 const upb_msglayout google_protobuf_ServiceOptions_msginit = {
378 &google_protobuf_ServiceOptions_submsgs[0],
379 &google_protobuf_ServiceOptions__fields[0],
380 UPB_SIZE(8, 16), 2, false, 255,
383 static const upb_msglayout *const google_protobuf_MethodOptions_submsgs[1] = {
384 &google_protobuf_UninterpretedOption_msginit,
387 static const upb_msglayout_field google_protobuf_MethodOptions__fields[3] = {
388 {33, UPB_SIZE(8, 8), 1, 0, 8, 1},
389 {34, UPB_SIZE(4, 4), 2, 0, 14, 1},
390 {999, UPB_SIZE(12, 16), 0, 0, 11, 3},
393 const upb_msglayout google_protobuf_MethodOptions_msginit = {
394 &google_protobuf_MethodOptions_submsgs[0],
395 &google_protobuf_MethodOptions__fields[0],
396 UPB_SIZE(16, 24), 3, false, 255,
399 static const upb_msglayout *const google_protobuf_UninterpretedOption_submsgs[1] = {
400 &google_protobuf_UninterpretedOption_NamePart_msginit,
403 static const upb_msglayout_field google_protobuf_UninterpretedOption__fields[7] = {
404 {2, UPB_SIZE(56, 80), 0, 0, 11, 3},
405 {3, UPB_SIZE(32, 32), 1, 0, 12, 1},
406 {4, UPB_SIZE(8, 8), 2, 0, 4, 1},
407 {5, UPB_SIZE(16, 16), 3, 0, 3, 1},
408 {6, UPB_SIZE(24, 24), 4, 0, 1, 1},
409 {7, UPB_SIZE(40, 48), 5, 0, 12, 1},
410 {8, UPB_SIZE(48, 64), 6, 0, 12, 1},
413 const upb_msglayout google_protobuf_UninterpretedOption_msginit = {
414 &google_protobuf_UninterpretedOption_submsgs[0],
415 &google_protobuf_UninterpretedOption__fields[0],
416 UPB_SIZE(64, 96), 7, false, 255,
419 static const upb_msglayout_field google_protobuf_UninterpretedOption_NamePart__fields[2] = {
420 {1, UPB_SIZE(4, 8), 1, 0, 12, 2},
421 {2, UPB_SIZE(1, 1), 2, 0, 8, 2},
424 const upb_msglayout google_protobuf_UninterpretedOption_NamePart_msginit = {
426 &google_protobuf_UninterpretedOption_NamePart__fields[0],
427 UPB_SIZE(16, 32), 2, false, 255,
430 static const upb_msglayout *const google_protobuf_SourceCodeInfo_submsgs[1] = {
431 &google_protobuf_SourceCodeInfo_Location_msginit,
434 static const upb_msglayout_field google_protobuf_SourceCodeInfo__fields[1] = {
435 {1, UPB_SIZE(0, 0), 0, 0, 11, 3},
438 const upb_msglayout google_protobuf_SourceCodeInfo_msginit = {
439 &google_protobuf_SourceCodeInfo_submsgs[0],
440 &google_protobuf_SourceCodeInfo__fields[0],
441 UPB_SIZE(8, 8), 1, false, 255,
444 static const upb_msglayout_field google_protobuf_SourceCodeInfo_Location__fields[5] = {
445 {1, UPB_SIZE(20, 40), 0, 0, 5, _UPB_LABEL_PACKED},
446 {2, UPB_SIZE(24, 48), 0, 0, 5, _UPB_LABEL_PACKED},
447 {3, UPB_SIZE(4, 8), 1, 0, 12, 1},
448 {4, UPB_SIZE(12, 24), 2, 0, 12, 1},
449 {6, UPB_SIZE(28, 56), 0, 0, 12, 3},
452 const upb_msglayout google_protobuf_SourceCodeInfo_Location_msginit = {
454 &google_protobuf_SourceCodeInfo_Location__fields[0],
455 UPB_SIZE(32, 64), 5, false, 255,
458 static const upb_msglayout *const google_protobuf_GeneratedCodeInfo_submsgs[1] = {
459 &google_protobuf_GeneratedCodeInfo_Annotation_msginit,
462 static const upb_msglayout_field google_protobuf_GeneratedCodeInfo__fields[1] = {
463 {1, UPB_SIZE(0, 0), 0, 0, 11, 3},
466 const upb_msglayout google_protobuf_GeneratedCodeInfo_msginit = {
467 &google_protobuf_GeneratedCodeInfo_submsgs[0],
468 &google_protobuf_GeneratedCodeInfo__fields[0],
469 UPB_SIZE(8, 8), 1, false, 255,
472 static const upb_msglayout_field google_protobuf_GeneratedCodeInfo_Annotation__fields[4] = {
473 {1, UPB_SIZE(20, 32), 0, 0, 5, _UPB_LABEL_PACKED},
474 {2, UPB_SIZE(12, 16), 1, 0, 12, 1},
475 {3, UPB_SIZE(4, 4), 2, 0, 5, 1},
476 {4, UPB_SIZE(8, 8), 3, 0, 5, 1},
479 const upb_msglayout google_protobuf_GeneratedCodeInfo_Annotation_msginit = {
481 &google_protobuf_GeneratedCodeInfo_Annotation__fields[0],
482 UPB_SIZE(24, 48), 4, false, 255,
485 #include "upb/port_undef.inc"