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(4, 8), 1, false,
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, 9, 1},
40 {2, UPB_SIZE(12, 24), 2, 0, 9, 1},
41 {3, UPB_SIZE(36, 72), 0, 0, 9, 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), 4, 3, 11, 1},
47 {9, UPB_SIZE(32, 64), 5, 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), 3, 0, 9, 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,
59 static const upb_msglayout *const google_protobuf_DescriptorProto_submsgs[8] = {
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, 9, 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, 9, 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,
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,
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(12, 12), 2, false,
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(4, 8), 1, false,
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[10] = {
134 {1, UPB_SIZE(32, 32), 5, 0, 9, 1},
135 {2, UPB_SIZE(40, 48), 6, 0, 9, 1},
136 {3, UPB_SIZE(24, 24), 3, 0, 5, 1},
137 {4, UPB_SIZE(8, 8), 1, 0, 14, 1},
138 {5, UPB_SIZE(16, 16), 2, 0, 14, 1},
139 {6, UPB_SIZE(48, 64), 7, 0, 9, 1},
140 {7, UPB_SIZE(56, 80), 8, 0, 9, 1},
141 {8, UPB_SIZE(72, 112), 10, 0, 11, 1},
142 {9, UPB_SIZE(28, 28), 4, 0, 5, 1},
143 {10, UPB_SIZE(64, 96), 9, 0, 9, 1},
146 const upb_msglayout google_protobuf_FieldDescriptorProto_msginit = {
147 &google_protobuf_FieldDescriptorProto_submsgs[0],
148 &google_protobuf_FieldDescriptorProto__fields[0],
149 UPB_SIZE(80, 128), 10, false,
152 static const upb_msglayout *const google_protobuf_OneofDescriptorProto_submsgs[1] = {
153 &google_protobuf_OneofOptions_msginit,
156 static const upb_msglayout_field google_protobuf_OneofDescriptorProto__fields[2] = {
157 {1, UPB_SIZE(4, 8), 1, 0, 9, 1},
158 {2, UPB_SIZE(12, 24), 2, 0, 11, 1},
161 const upb_msglayout google_protobuf_OneofDescriptorProto_msginit = {
162 &google_protobuf_OneofDescriptorProto_submsgs[0],
163 &google_protobuf_OneofDescriptorProto__fields[0],
164 UPB_SIZE(16, 32), 2, false,
167 static const upb_msglayout *const google_protobuf_EnumDescriptorProto_submsgs[3] = {
168 &google_protobuf_EnumDescriptorProto_EnumReservedRange_msginit,
169 &google_protobuf_EnumOptions_msginit,
170 &google_protobuf_EnumValueDescriptorProto_msginit,
173 static const upb_msglayout_field google_protobuf_EnumDescriptorProto__fields[5] = {
174 {1, UPB_SIZE(4, 8), 1, 0, 9, 1},
175 {2, UPB_SIZE(16, 32), 0, 2, 11, 3},
176 {3, UPB_SIZE(12, 24), 2, 1, 11, 1},
177 {4, UPB_SIZE(20, 40), 0, 0, 11, 3},
178 {5, UPB_SIZE(24, 48), 0, 0, 9, 3},
181 const upb_msglayout google_protobuf_EnumDescriptorProto_msginit = {
182 &google_protobuf_EnumDescriptorProto_submsgs[0],
183 &google_protobuf_EnumDescriptorProto__fields[0],
184 UPB_SIZE(32, 64), 5, false,
187 static const upb_msglayout_field google_protobuf_EnumDescriptorProto_EnumReservedRange__fields[2] = {
188 {1, UPB_SIZE(4, 4), 1, 0, 5, 1},
189 {2, UPB_SIZE(8, 8), 2, 0, 5, 1},
192 const upb_msglayout google_protobuf_EnumDescriptorProto_EnumReservedRange_msginit = {
194 &google_protobuf_EnumDescriptorProto_EnumReservedRange__fields[0],
195 UPB_SIZE(12, 12), 2, false,
198 static const upb_msglayout *const google_protobuf_EnumValueDescriptorProto_submsgs[1] = {
199 &google_protobuf_EnumValueOptions_msginit,
202 static const upb_msglayout_field google_protobuf_EnumValueDescriptorProto__fields[3] = {
203 {1, UPB_SIZE(8, 8), 2, 0, 9, 1},
204 {2, UPB_SIZE(4, 4), 1, 0, 5, 1},
205 {3, UPB_SIZE(16, 24), 3, 0, 11, 1},
208 const upb_msglayout google_protobuf_EnumValueDescriptorProto_msginit = {
209 &google_protobuf_EnumValueDescriptorProto_submsgs[0],
210 &google_protobuf_EnumValueDescriptorProto__fields[0],
211 UPB_SIZE(24, 32), 3, false,
214 static const upb_msglayout *const google_protobuf_ServiceDescriptorProto_submsgs[2] = {
215 &google_protobuf_MethodDescriptorProto_msginit,
216 &google_protobuf_ServiceOptions_msginit,
219 static const upb_msglayout_field google_protobuf_ServiceDescriptorProto__fields[3] = {
220 {1, UPB_SIZE(4, 8), 1, 0, 9, 1},
221 {2, UPB_SIZE(16, 32), 0, 0, 11, 3},
222 {3, UPB_SIZE(12, 24), 2, 1, 11, 1},
225 const upb_msglayout google_protobuf_ServiceDescriptorProto_msginit = {
226 &google_protobuf_ServiceDescriptorProto_submsgs[0],
227 &google_protobuf_ServiceDescriptorProto__fields[0],
228 UPB_SIZE(24, 48), 3, false,
231 static const upb_msglayout *const google_protobuf_MethodDescriptorProto_submsgs[1] = {
232 &google_protobuf_MethodOptions_msginit,
235 static const upb_msglayout_field google_protobuf_MethodDescriptorProto__fields[6] = {
236 {1, UPB_SIZE(4, 8), 3, 0, 9, 1},
237 {2, UPB_SIZE(12, 24), 4, 0, 9, 1},
238 {3, UPB_SIZE(20, 40), 5, 0, 9, 1},
239 {4, UPB_SIZE(28, 56), 6, 0, 11, 1},
240 {5, UPB_SIZE(1, 1), 1, 0, 8, 1},
241 {6, UPB_SIZE(2, 2), 2, 0, 8, 1},
244 const upb_msglayout google_protobuf_MethodDescriptorProto_msginit = {
245 &google_protobuf_MethodDescriptorProto_submsgs[0],
246 &google_protobuf_MethodDescriptorProto__fields[0],
247 UPB_SIZE(32, 64), 6, false,
250 static const upb_msglayout *const google_protobuf_FileOptions_submsgs[1] = {
251 &google_protobuf_UninterpretedOption_msginit,
254 static const upb_msglayout_field google_protobuf_FileOptions__fields[21] = {
255 {1, UPB_SIZE(28, 32), 11, 0, 9, 1},
256 {8, UPB_SIZE(36, 48), 12, 0, 9, 1},
257 {9, UPB_SIZE(8, 8), 1, 0, 14, 1},
258 {10, UPB_SIZE(16, 16), 2, 0, 8, 1},
259 {11, UPB_SIZE(44, 64), 13, 0, 9, 1},
260 {16, UPB_SIZE(17, 17), 3, 0, 8, 1},
261 {17, UPB_SIZE(18, 18), 4, 0, 8, 1},
262 {18, UPB_SIZE(19, 19), 5, 0, 8, 1},
263 {20, UPB_SIZE(20, 20), 6, 0, 8, 1},
264 {23, UPB_SIZE(21, 21), 7, 0, 8, 1},
265 {27, UPB_SIZE(22, 22), 8, 0, 8, 1},
266 {31, UPB_SIZE(23, 23), 9, 0, 8, 1},
267 {36, UPB_SIZE(52, 80), 14, 0, 9, 1},
268 {37, UPB_SIZE(60, 96), 15, 0, 9, 1},
269 {39, UPB_SIZE(68, 112), 16, 0, 9, 1},
270 {40, UPB_SIZE(76, 128), 17, 0, 9, 1},
271 {41, UPB_SIZE(84, 144), 18, 0, 9, 1},
272 {42, UPB_SIZE(24, 24), 10, 0, 8, 1},
273 {44, UPB_SIZE(92, 160), 19, 0, 9, 1},
274 {45, UPB_SIZE(100, 176), 20, 0, 9, 1},
275 {999, UPB_SIZE(108, 192), 0, 0, 11, 3},
278 const upb_msglayout google_protobuf_FileOptions_msginit = {
279 &google_protobuf_FileOptions_submsgs[0],
280 &google_protobuf_FileOptions__fields[0],
281 UPB_SIZE(112, 208), 21, false,
284 static const upb_msglayout *const google_protobuf_MessageOptions_submsgs[1] = {
285 &google_protobuf_UninterpretedOption_msginit,
288 static const upb_msglayout_field google_protobuf_MessageOptions__fields[5] = {
289 {1, UPB_SIZE(1, 1), 1, 0, 8, 1},
290 {2, UPB_SIZE(2, 2), 2, 0, 8, 1},
291 {3, UPB_SIZE(3, 3), 3, 0, 8, 1},
292 {7, UPB_SIZE(4, 4), 4, 0, 8, 1},
293 {999, UPB_SIZE(8, 8), 0, 0, 11, 3},
296 const upb_msglayout google_protobuf_MessageOptions_msginit = {
297 &google_protobuf_MessageOptions_submsgs[0],
298 &google_protobuf_MessageOptions__fields[0],
299 UPB_SIZE(12, 16), 5, false,
302 static const upb_msglayout *const google_protobuf_FieldOptions_submsgs[1] = {
303 &google_protobuf_UninterpretedOption_msginit,
306 static const upb_msglayout_field google_protobuf_FieldOptions__fields[7] = {
307 {1, UPB_SIZE(8, 8), 1, 0, 14, 1},
308 {2, UPB_SIZE(24, 24), 3, 0, 8, 1},
309 {3, UPB_SIZE(25, 25), 4, 0, 8, 1},
310 {5, UPB_SIZE(26, 26), 5, 0, 8, 1},
311 {6, UPB_SIZE(16, 16), 2, 0, 14, 1},
312 {10, UPB_SIZE(27, 27), 6, 0, 8, 1},
313 {999, UPB_SIZE(28, 32), 0, 0, 11, 3},
316 const upb_msglayout google_protobuf_FieldOptions_msginit = {
317 &google_protobuf_FieldOptions_submsgs[0],
318 &google_protobuf_FieldOptions__fields[0],
319 UPB_SIZE(32, 40), 7, false,
322 static const upb_msglayout *const google_protobuf_OneofOptions_submsgs[1] = {
323 &google_protobuf_UninterpretedOption_msginit,
326 static const upb_msglayout_field google_protobuf_OneofOptions__fields[1] = {
327 {999, UPB_SIZE(0, 0), 0, 0, 11, 3},
330 const upb_msglayout google_protobuf_OneofOptions_msginit = {
331 &google_protobuf_OneofOptions_submsgs[0],
332 &google_protobuf_OneofOptions__fields[0],
333 UPB_SIZE(4, 8), 1, false,
336 static const upb_msglayout *const google_protobuf_EnumOptions_submsgs[1] = {
337 &google_protobuf_UninterpretedOption_msginit,
340 static const upb_msglayout_field google_protobuf_EnumOptions__fields[3] = {
341 {2, UPB_SIZE(1, 1), 1, 0, 8, 1},
342 {3, UPB_SIZE(2, 2), 2, 0, 8, 1},
343 {999, UPB_SIZE(4, 8), 0, 0, 11, 3},
346 const upb_msglayout google_protobuf_EnumOptions_msginit = {
347 &google_protobuf_EnumOptions_submsgs[0],
348 &google_protobuf_EnumOptions__fields[0],
349 UPB_SIZE(8, 16), 3, false,
352 static const upb_msglayout *const google_protobuf_EnumValueOptions_submsgs[1] = {
353 &google_protobuf_UninterpretedOption_msginit,
356 static const upb_msglayout_field google_protobuf_EnumValueOptions__fields[2] = {
357 {1, UPB_SIZE(1, 1), 1, 0, 8, 1},
358 {999, UPB_SIZE(4, 8), 0, 0, 11, 3},
361 const upb_msglayout google_protobuf_EnumValueOptions_msginit = {
362 &google_protobuf_EnumValueOptions_submsgs[0],
363 &google_protobuf_EnumValueOptions__fields[0],
364 UPB_SIZE(8, 16), 2, false,
367 static const upb_msglayout *const google_protobuf_ServiceOptions_submsgs[1] = {
368 &google_protobuf_UninterpretedOption_msginit,
371 static const upb_msglayout_field google_protobuf_ServiceOptions__fields[2] = {
372 {33, UPB_SIZE(1, 1), 1, 0, 8, 1},
373 {999, UPB_SIZE(4, 8), 0, 0, 11, 3},
376 const upb_msglayout google_protobuf_ServiceOptions_msginit = {
377 &google_protobuf_ServiceOptions_submsgs[0],
378 &google_protobuf_ServiceOptions__fields[0],
379 UPB_SIZE(8, 16), 2, false,
382 static const upb_msglayout *const google_protobuf_MethodOptions_submsgs[1] = {
383 &google_protobuf_UninterpretedOption_msginit,
386 static const upb_msglayout_field google_protobuf_MethodOptions__fields[3] = {
387 {33, UPB_SIZE(16, 16), 2, 0, 8, 1},
388 {34, UPB_SIZE(8, 8), 1, 0, 14, 1},
389 {999, UPB_SIZE(20, 24), 0, 0, 11, 3},
392 const upb_msglayout google_protobuf_MethodOptions_msginit = {
393 &google_protobuf_MethodOptions_submsgs[0],
394 &google_protobuf_MethodOptions__fields[0],
395 UPB_SIZE(24, 32), 3, false,
398 static const upb_msglayout *const google_protobuf_UninterpretedOption_submsgs[1] = {
399 &google_protobuf_UninterpretedOption_NamePart_msginit,
402 static const upb_msglayout_field google_protobuf_UninterpretedOption__fields[7] = {
403 {2, UPB_SIZE(56, 80), 0, 0, 11, 3},
404 {3, UPB_SIZE(32, 32), 4, 0, 9, 1},
405 {4, UPB_SIZE(8, 8), 1, 0, 4, 1},
406 {5, UPB_SIZE(16, 16), 2, 0, 3, 1},
407 {6, UPB_SIZE(24, 24), 3, 0, 1, 1},
408 {7, UPB_SIZE(40, 48), 5, 0, 12, 1},
409 {8, UPB_SIZE(48, 64), 6, 0, 9, 1},
412 const upb_msglayout google_protobuf_UninterpretedOption_msginit = {
413 &google_protobuf_UninterpretedOption_submsgs[0],
414 &google_protobuf_UninterpretedOption__fields[0],
415 UPB_SIZE(64, 96), 7, false,
418 static const upb_msglayout_field google_protobuf_UninterpretedOption_NamePart__fields[2] = {
419 {1, UPB_SIZE(4, 8), 2, 0, 9, 2},
420 {2, UPB_SIZE(1, 1), 1, 0, 8, 2},
423 const upb_msglayout google_protobuf_UninterpretedOption_NamePart_msginit = {
425 &google_protobuf_UninterpretedOption_NamePart__fields[0],
426 UPB_SIZE(16, 32), 2, false,
429 static const upb_msglayout *const google_protobuf_SourceCodeInfo_submsgs[1] = {
430 &google_protobuf_SourceCodeInfo_Location_msginit,
433 static const upb_msglayout_field google_protobuf_SourceCodeInfo__fields[1] = {
434 {1, UPB_SIZE(0, 0), 0, 0, 11, 3},
437 const upb_msglayout google_protobuf_SourceCodeInfo_msginit = {
438 &google_protobuf_SourceCodeInfo_submsgs[0],
439 &google_protobuf_SourceCodeInfo__fields[0],
440 UPB_SIZE(4, 8), 1, false,
443 static const upb_msglayout_field google_protobuf_SourceCodeInfo_Location__fields[5] = {
444 {1, UPB_SIZE(20, 40), 0, 0, 5, 3},
445 {2, UPB_SIZE(24, 48), 0, 0, 5, 3},
446 {3, UPB_SIZE(4, 8), 1, 0, 9, 1},
447 {4, UPB_SIZE(12, 24), 2, 0, 9, 1},
448 {6, UPB_SIZE(28, 56), 0, 0, 9, 3},
451 const upb_msglayout google_protobuf_SourceCodeInfo_Location_msginit = {
453 &google_protobuf_SourceCodeInfo_Location__fields[0],
454 UPB_SIZE(32, 64), 5, false,
457 static const upb_msglayout *const google_protobuf_GeneratedCodeInfo_submsgs[1] = {
458 &google_protobuf_GeneratedCodeInfo_Annotation_msginit,
461 static const upb_msglayout_field google_protobuf_GeneratedCodeInfo__fields[1] = {
462 {1, UPB_SIZE(0, 0), 0, 0, 11, 3},
465 const upb_msglayout google_protobuf_GeneratedCodeInfo_msginit = {
466 &google_protobuf_GeneratedCodeInfo_submsgs[0],
467 &google_protobuf_GeneratedCodeInfo__fields[0],
468 UPB_SIZE(4, 8), 1, false,
471 static const upb_msglayout_field google_protobuf_GeneratedCodeInfo_Annotation__fields[4] = {
472 {1, UPB_SIZE(20, 32), 0, 0, 5, 3},
473 {2, UPB_SIZE(12, 16), 3, 0, 9, 1},
474 {3, UPB_SIZE(4, 4), 1, 0, 5, 1},
475 {4, UPB_SIZE(8, 8), 2, 0, 5, 1},
478 const upb_msglayout google_protobuf_GeneratedCodeInfo_Annotation_msginit = {
480 &google_protobuf_GeneratedCodeInfo_Annotation__fields[0],
481 UPB_SIZE(24, 48), 4, false,
484 #include "upb/port_undef.inc"