descriptor.upb.c 28 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576
  1. /* This file was generated by upbc (the upb compiler) from the input
  2. * file:
  3. *
  4. * google/protobuf/descriptor.proto
  5. *
  6. * Do not edit -- your changes will be discarded when the file is
  7. * regenerated. */
  8. #include <stddef.h>
  9. #include "upb/msg_internal.h"
  10. #include "google/protobuf/descriptor.upb.h"
  11. #include "upb/port_def.inc"
  12. static const upb_MiniTable_Sub google_protobuf_FileDescriptorSet_submsgs[1] = {
  13. {.submsg = &google_protobuf_FileDescriptorProto_msginit},
  14. };
  15. static const upb_MiniTable_Field google_protobuf_FileDescriptorSet__fields[1] = {
  16. {1, UPB_SIZE(0, 0), 0, 0, 11, kUpb_FieldMode_Array | (upb_FieldRep_Pointer << upb_FieldRep_Shift)},
  17. };
  18. const upb_MiniTable google_protobuf_FileDescriptorSet_msginit = {
  19. &google_protobuf_FileDescriptorSet_submsgs[0],
  20. &google_protobuf_FileDescriptorSet__fields[0],
  21. UPB_SIZE(8, 8), 1, upb_ExtMode_NonExtendable, 1, 255, 0,
  22. };
  23. static const upb_MiniTable_Sub google_protobuf_FileDescriptorProto_submsgs[6] = {
  24. {.submsg = &google_protobuf_DescriptorProto_msginit},
  25. {.submsg = &google_protobuf_EnumDescriptorProto_msginit},
  26. {.submsg = &google_protobuf_FieldDescriptorProto_msginit},
  27. {.submsg = &google_protobuf_FileOptions_msginit},
  28. {.submsg = &google_protobuf_ServiceDescriptorProto_msginit},
  29. {.submsg = &google_protobuf_SourceCodeInfo_msginit},
  30. };
  31. static const upb_MiniTable_Field google_protobuf_FileDescriptorProto__fields[12] = {
  32. {1, UPB_SIZE(4, 8), 1, 0, 12, kUpb_FieldMode_Scalar | (upb_FieldRep_StringView << upb_FieldRep_Shift)},
  33. {2, UPB_SIZE(12, 24), 2, 0, 12, kUpb_FieldMode_Scalar | (upb_FieldRep_StringView << upb_FieldRep_Shift)},
  34. {3, UPB_SIZE(36, 72), 0, 0, 12, kUpb_FieldMode_Array | (upb_FieldRep_Pointer << upb_FieldRep_Shift)},
  35. {4, UPB_SIZE(40, 80), 0, 0, 11, kUpb_FieldMode_Array | (upb_FieldRep_Pointer << upb_FieldRep_Shift)},
  36. {5, UPB_SIZE(44, 88), 0, 1, 11, kUpb_FieldMode_Array | (upb_FieldRep_Pointer << upb_FieldRep_Shift)},
  37. {6, UPB_SIZE(48, 96), 0, 4, 11, kUpb_FieldMode_Array | (upb_FieldRep_Pointer << upb_FieldRep_Shift)},
  38. {7, UPB_SIZE(52, 104), 0, 2, 11, kUpb_FieldMode_Array | (upb_FieldRep_Pointer << upb_FieldRep_Shift)},
  39. {8, UPB_SIZE(28, 56), 3, 3, 11, kUpb_FieldMode_Scalar | (upb_FieldRep_Pointer << upb_FieldRep_Shift)},
  40. {9, UPB_SIZE(32, 64), 4, 5, 11, kUpb_FieldMode_Scalar | (upb_FieldRep_Pointer << upb_FieldRep_Shift)},
  41. {10, UPB_SIZE(56, 112), 0, 0, 5, kUpb_FieldMode_Array | (upb_FieldRep_Pointer << upb_FieldRep_Shift)},
  42. {11, UPB_SIZE(60, 120), 0, 0, 5, kUpb_FieldMode_Array | (upb_FieldRep_Pointer << upb_FieldRep_Shift)},
  43. {12, UPB_SIZE(20, 40), 5, 0, 12, kUpb_FieldMode_Scalar | (upb_FieldRep_StringView << upb_FieldRep_Shift)},
  44. };
  45. const upb_MiniTable google_protobuf_FileDescriptorProto_msginit = {
  46. &google_protobuf_FileDescriptorProto_submsgs[0],
  47. &google_protobuf_FileDescriptorProto__fields[0],
  48. UPB_SIZE(64, 128), 12, upb_ExtMode_NonExtendable, 12, 255, 0,
  49. };
  50. static const upb_MiniTable_Sub google_protobuf_DescriptorProto_submsgs[7] = {
  51. {.submsg = &google_protobuf_DescriptorProto_msginit},
  52. {.submsg = &google_protobuf_DescriptorProto_ExtensionRange_msginit},
  53. {.submsg = &google_protobuf_DescriptorProto_ReservedRange_msginit},
  54. {.submsg = &google_protobuf_EnumDescriptorProto_msginit},
  55. {.submsg = &google_protobuf_FieldDescriptorProto_msginit},
  56. {.submsg = &google_protobuf_MessageOptions_msginit},
  57. {.submsg = &google_protobuf_OneofDescriptorProto_msginit},
  58. };
  59. static const upb_MiniTable_Field google_protobuf_DescriptorProto__fields[10] = {
  60. {1, UPB_SIZE(4, 8), 1, 0, 12, kUpb_FieldMode_Scalar | (upb_FieldRep_StringView << upb_FieldRep_Shift)},
  61. {2, UPB_SIZE(16, 32), 0, 4, 11, kUpb_FieldMode_Array | (upb_FieldRep_Pointer << upb_FieldRep_Shift)},
  62. {3, UPB_SIZE(20, 40), 0, 0, 11, kUpb_FieldMode_Array | (upb_FieldRep_Pointer << upb_FieldRep_Shift)},
  63. {4, UPB_SIZE(24, 48), 0, 3, 11, kUpb_FieldMode_Array | (upb_FieldRep_Pointer << upb_FieldRep_Shift)},
  64. {5, UPB_SIZE(28, 56), 0, 1, 11, kUpb_FieldMode_Array | (upb_FieldRep_Pointer << upb_FieldRep_Shift)},
  65. {6, UPB_SIZE(32, 64), 0, 4, 11, kUpb_FieldMode_Array | (upb_FieldRep_Pointer << upb_FieldRep_Shift)},
  66. {7, UPB_SIZE(12, 24), 2, 5, 11, kUpb_FieldMode_Scalar | (upb_FieldRep_Pointer << upb_FieldRep_Shift)},
  67. {8, UPB_SIZE(36, 72), 0, 6, 11, kUpb_FieldMode_Array | (upb_FieldRep_Pointer << upb_FieldRep_Shift)},
  68. {9, UPB_SIZE(40, 80), 0, 2, 11, kUpb_FieldMode_Array | (upb_FieldRep_Pointer << upb_FieldRep_Shift)},
  69. {10, UPB_SIZE(44, 88), 0, 0, 12, kUpb_FieldMode_Array | (upb_FieldRep_Pointer << upb_FieldRep_Shift)},
  70. };
  71. const upb_MiniTable google_protobuf_DescriptorProto_msginit = {
  72. &google_protobuf_DescriptorProto_submsgs[0],
  73. &google_protobuf_DescriptorProto__fields[0],
  74. UPB_SIZE(48, 96), 10, upb_ExtMode_NonExtendable, 10, 255, 0,
  75. };
  76. static const upb_MiniTable_Sub google_protobuf_DescriptorProto_ExtensionRange_submsgs[1] = {
  77. {.submsg = &google_protobuf_ExtensionRangeOptions_msginit},
  78. };
  79. static const upb_MiniTable_Field google_protobuf_DescriptorProto_ExtensionRange__fields[3] = {
  80. {1, UPB_SIZE(4, 4), 1, 0, 5, kUpb_FieldMode_Scalar | (upb_FieldRep_4Byte << upb_FieldRep_Shift)},
  81. {2, UPB_SIZE(8, 8), 2, 0, 5, kUpb_FieldMode_Scalar | (upb_FieldRep_4Byte << upb_FieldRep_Shift)},
  82. {3, UPB_SIZE(12, 16), 3, 0, 11, kUpb_FieldMode_Scalar | (upb_FieldRep_Pointer << upb_FieldRep_Shift)},
  83. };
  84. const upb_MiniTable google_protobuf_DescriptorProto_ExtensionRange_msginit = {
  85. &google_protobuf_DescriptorProto_ExtensionRange_submsgs[0],
  86. &google_protobuf_DescriptorProto_ExtensionRange__fields[0],
  87. UPB_SIZE(16, 24), 3, upb_ExtMode_NonExtendable, 3, 255, 0,
  88. };
  89. static const upb_MiniTable_Field google_protobuf_DescriptorProto_ReservedRange__fields[2] = {
  90. {1, UPB_SIZE(4, 4), 1, 0, 5, kUpb_FieldMode_Scalar | (upb_FieldRep_4Byte << upb_FieldRep_Shift)},
  91. {2, UPB_SIZE(8, 8), 2, 0, 5, kUpb_FieldMode_Scalar | (upb_FieldRep_4Byte << upb_FieldRep_Shift)},
  92. };
  93. const upb_MiniTable google_protobuf_DescriptorProto_ReservedRange_msginit = {
  94. NULL,
  95. &google_protobuf_DescriptorProto_ReservedRange__fields[0],
  96. UPB_SIZE(16, 16), 2, upb_ExtMode_NonExtendable, 2, 255, 0,
  97. };
  98. static const upb_MiniTable_Sub google_protobuf_ExtensionRangeOptions_submsgs[1] = {
  99. {.submsg = &google_protobuf_UninterpretedOption_msginit},
  100. };
  101. static const upb_MiniTable_Field google_protobuf_ExtensionRangeOptions__fields[1] = {
  102. {999, UPB_SIZE(0, 0), 0, 0, 11, kUpb_FieldMode_Array | (upb_FieldRep_Pointer << upb_FieldRep_Shift)},
  103. };
  104. const upb_MiniTable google_protobuf_ExtensionRangeOptions_msginit = {
  105. &google_protobuf_ExtensionRangeOptions_submsgs[0],
  106. &google_protobuf_ExtensionRangeOptions__fields[0],
  107. UPB_SIZE(8, 8), 1, upb_ExtMode_Extendable, 0, 255, 0,
  108. };
  109. static const upb_MiniTable_Sub google_protobuf_FieldDescriptorProto_submsgs[3] = {
  110. {.submsg = &google_protobuf_FieldOptions_msginit},
  111. {.subenum = &google_protobuf_FieldDescriptorProto_Label_enuminit},
  112. {.subenum = &google_protobuf_FieldDescriptorProto_Type_enuminit},
  113. };
  114. static const upb_MiniTable_Field google_protobuf_FieldDescriptorProto__fields[11] = {
  115. {1, UPB_SIZE(24, 24), 1, 0, 12, kUpb_FieldMode_Scalar | (upb_FieldRep_StringView << upb_FieldRep_Shift)},
  116. {2, UPB_SIZE(32, 40), 2, 0, 12, kUpb_FieldMode_Scalar | (upb_FieldRep_StringView << upb_FieldRep_Shift)},
  117. {3, UPB_SIZE(12, 12), 3, 0, 5, kUpb_FieldMode_Scalar | (upb_FieldRep_4Byte << upb_FieldRep_Shift)},
  118. {4, UPB_SIZE(4, 4), 4, 1, 14, kUpb_FieldMode_Scalar | (upb_FieldRep_4Byte << upb_FieldRep_Shift)},
  119. {5, UPB_SIZE(8, 8), 5, 2, 14, kUpb_FieldMode_Scalar | (upb_FieldRep_4Byte << upb_FieldRep_Shift)},
  120. {6, UPB_SIZE(40, 56), 6, 0, 12, kUpb_FieldMode_Scalar | (upb_FieldRep_StringView << upb_FieldRep_Shift)},
  121. {7, UPB_SIZE(48, 72), 7, 0, 12, kUpb_FieldMode_Scalar | (upb_FieldRep_StringView << upb_FieldRep_Shift)},
  122. {8, UPB_SIZE(64, 104), 8, 0, 11, kUpb_FieldMode_Scalar | (upb_FieldRep_Pointer << upb_FieldRep_Shift)},
  123. {9, UPB_SIZE(16, 16), 9, 0, 5, kUpb_FieldMode_Scalar | (upb_FieldRep_4Byte << upb_FieldRep_Shift)},
  124. {10, UPB_SIZE(56, 88), 10, 0, 12, kUpb_FieldMode_Scalar | (upb_FieldRep_StringView << upb_FieldRep_Shift)},
  125. {17, UPB_SIZE(20, 20), 11, 0, 8, kUpb_FieldMode_Scalar | (upb_FieldRep_1Byte << upb_FieldRep_Shift)},
  126. };
  127. const upb_MiniTable google_protobuf_FieldDescriptorProto_msginit = {
  128. &google_protobuf_FieldDescriptorProto_submsgs[0],
  129. &google_protobuf_FieldDescriptorProto__fields[0],
  130. UPB_SIZE(72, 112), 11, upb_ExtMode_NonExtendable, 10, 255, 0,
  131. };
  132. static const upb_MiniTable_Sub google_protobuf_OneofDescriptorProto_submsgs[1] = {
  133. {.submsg = &google_protobuf_OneofOptions_msginit},
  134. };
  135. static const upb_MiniTable_Field google_protobuf_OneofDescriptorProto__fields[2] = {
  136. {1, UPB_SIZE(4, 8), 1, 0, 12, kUpb_FieldMode_Scalar | (upb_FieldRep_StringView << upb_FieldRep_Shift)},
  137. {2, UPB_SIZE(12, 24), 2, 0, 11, kUpb_FieldMode_Scalar | (upb_FieldRep_Pointer << upb_FieldRep_Shift)},
  138. };
  139. const upb_MiniTable google_protobuf_OneofDescriptorProto_msginit = {
  140. &google_protobuf_OneofDescriptorProto_submsgs[0],
  141. &google_protobuf_OneofDescriptorProto__fields[0],
  142. UPB_SIZE(16, 32), 2, upb_ExtMode_NonExtendable, 2, 255, 0,
  143. };
  144. static const upb_MiniTable_Sub google_protobuf_EnumDescriptorProto_submsgs[3] = {
  145. {.submsg = &google_protobuf_EnumDescriptorProto_EnumReservedRange_msginit},
  146. {.submsg = &google_protobuf_EnumOptions_msginit},
  147. {.submsg = &google_protobuf_EnumValueDescriptorProto_msginit},
  148. };
  149. static const upb_MiniTable_Field google_protobuf_EnumDescriptorProto__fields[5] = {
  150. {1, UPB_SIZE(4, 8), 1, 0, 12, kUpb_FieldMode_Scalar | (upb_FieldRep_StringView << upb_FieldRep_Shift)},
  151. {2, UPB_SIZE(16, 32), 0, 2, 11, kUpb_FieldMode_Array | (upb_FieldRep_Pointer << upb_FieldRep_Shift)},
  152. {3, UPB_SIZE(12, 24), 2, 1, 11, kUpb_FieldMode_Scalar | (upb_FieldRep_Pointer << upb_FieldRep_Shift)},
  153. {4, UPB_SIZE(20, 40), 0, 0, 11, kUpb_FieldMode_Array | (upb_FieldRep_Pointer << upb_FieldRep_Shift)},
  154. {5, UPB_SIZE(24, 48), 0, 0, 12, kUpb_FieldMode_Array | (upb_FieldRep_Pointer << upb_FieldRep_Shift)},
  155. };
  156. const upb_MiniTable google_protobuf_EnumDescriptorProto_msginit = {
  157. &google_protobuf_EnumDescriptorProto_submsgs[0],
  158. &google_protobuf_EnumDescriptorProto__fields[0],
  159. UPB_SIZE(32, 64), 5, upb_ExtMode_NonExtendable, 5, 255, 0,
  160. };
  161. static const upb_MiniTable_Field google_protobuf_EnumDescriptorProto_EnumReservedRange__fields[2] = {
  162. {1, UPB_SIZE(4, 4), 1, 0, 5, kUpb_FieldMode_Scalar | (upb_FieldRep_4Byte << upb_FieldRep_Shift)},
  163. {2, UPB_SIZE(8, 8), 2, 0, 5, kUpb_FieldMode_Scalar | (upb_FieldRep_4Byte << upb_FieldRep_Shift)},
  164. };
  165. const upb_MiniTable google_protobuf_EnumDescriptorProto_EnumReservedRange_msginit = {
  166. NULL,
  167. &google_protobuf_EnumDescriptorProto_EnumReservedRange__fields[0],
  168. UPB_SIZE(16, 16), 2, upb_ExtMode_NonExtendable, 2, 255, 0,
  169. };
  170. static const upb_MiniTable_Sub google_protobuf_EnumValueDescriptorProto_submsgs[1] = {
  171. {.submsg = &google_protobuf_EnumValueOptions_msginit},
  172. };
  173. static const upb_MiniTable_Field google_protobuf_EnumValueDescriptorProto__fields[3] = {
  174. {1, UPB_SIZE(8, 8), 1, 0, 12, kUpb_FieldMode_Scalar | (upb_FieldRep_StringView << upb_FieldRep_Shift)},
  175. {2, UPB_SIZE(4, 4), 2, 0, 5, kUpb_FieldMode_Scalar | (upb_FieldRep_4Byte << upb_FieldRep_Shift)},
  176. {3, UPB_SIZE(16, 24), 3, 0, 11, kUpb_FieldMode_Scalar | (upb_FieldRep_Pointer << upb_FieldRep_Shift)},
  177. };
  178. const upb_MiniTable google_protobuf_EnumValueDescriptorProto_msginit = {
  179. &google_protobuf_EnumValueDescriptorProto_submsgs[0],
  180. &google_protobuf_EnumValueDescriptorProto__fields[0],
  181. UPB_SIZE(24, 32), 3, upb_ExtMode_NonExtendable, 3, 255, 0,
  182. };
  183. static const upb_MiniTable_Sub google_protobuf_ServiceDescriptorProto_submsgs[2] = {
  184. {.submsg = &google_protobuf_MethodDescriptorProto_msginit},
  185. {.submsg = &google_protobuf_ServiceOptions_msginit},
  186. };
  187. static const upb_MiniTable_Field google_protobuf_ServiceDescriptorProto__fields[3] = {
  188. {1, UPB_SIZE(4, 8), 1, 0, 12, kUpb_FieldMode_Scalar | (upb_FieldRep_StringView << upb_FieldRep_Shift)},
  189. {2, UPB_SIZE(16, 32), 0, 0, 11, kUpb_FieldMode_Array | (upb_FieldRep_Pointer << upb_FieldRep_Shift)},
  190. {3, UPB_SIZE(12, 24), 2, 1, 11, kUpb_FieldMode_Scalar | (upb_FieldRep_Pointer << upb_FieldRep_Shift)},
  191. };
  192. const upb_MiniTable google_protobuf_ServiceDescriptorProto_msginit = {
  193. &google_protobuf_ServiceDescriptorProto_submsgs[0],
  194. &google_protobuf_ServiceDescriptorProto__fields[0],
  195. UPB_SIZE(24, 48), 3, upb_ExtMode_NonExtendable, 3, 255, 0,
  196. };
  197. static const upb_MiniTable_Sub google_protobuf_MethodDescriptorProto_submsgs[1] = {
  198. {.submsg = &google_protobuf_MethodOptions_msginit},
  199. };
  200. static const upb_MiniTable_Field google_protobuf_MethodDescriptorProto__fields[6] = {
  201. {1, UPB_SIZE(4, 8), 1, 0, 12, kUpb_FieldMode_Scalar | (upb_FieldRep_StringView << upb_FieldRep_Shift)},
  202. {2, UPB_SIZE(12, 24), 2, 0, 12, kUpb_FieldMode_Scalar | (upb_FieldRep_StringView << upb_FieldRep_Shift)},
  203. {3, UPB_SIZE(20, 40), 3, 0, 12, kUpb_FieldMode_Scalar | (upb_FieldRep_StringView << upb_FieldRep_Shift)},
  204. {4, UPB_SIZE(28, 56), 4, 0, 11, kUpb_FieldMode_Scalar | (upb_FieldRep_Pointer << upb_FieldRep_Shift)},
  205. {5, UPB_SIZE(1, 1), 5, 0, 8, kUpb_FieldMode_Scalar | (upb_FieldRep_1Byte << upb_FieldRep_Shift)},
  206. {6, UPB_SIZE(2, 2), 6, 0, 8, kUpb_FieldMode_Scalar | (upb_FieldRep_1Byte << upb_FieldRep_Shift)},
  207. };
  208. const upb_MiniTable google_protobuf_MethodDescriptorProto_msginit = {
  209. &google_protobuf_MethodDescriptorProto_submsgs[0],
  210. &google_protobuf_MethodDescriptorProto__fields[0],
  211. UPB_SIZE(32, 64), 6, upb_ExtMode_NonExtendable, 6, 255, 0,
  212. };
  213. static const upb_MiniTable_Sub google_protobuf_FileOptions_submsgs[2] = {
  214. {.submsg = &google_protobuf_UninterpretedOption_msginit},
  215. {.subenum = &google_protobuf_FileOptions_OptimizeMode_enuminit},
  216. };
  217. static const upb_MiniTable_Field google_protobuf_FileOptions__fields[21] = {
  218. {1, UPB_SIZE(20, 24), 1, 0, 12, kUpb_FieldMode_Scalar | (upb_FieldRep_StringView << upb_FieldRep_Shift)},
  219. {8, UPB_SIZE(28, 40), 2, 0, 12, kUpb_FieldMode_Scalar | (upb_FieldRep_StringView << upb_FieldRep_Shift)},
  220. {9, UPB_SIZE(4, 4), 3, 1, 14, kUpb_FieldMode_Scalar | (upb_FieldRep_4Byte << upb_FieldRep_Shift)},
  221. {10, UPB_SIZE(8, 8), 4, 0, 8, kUpb_FieldMode_Scalar | (upb_FieldRep_1Byte << upb_FieldRep_Shift)},
  222. {11, UPB_SIZE(36, 56), 5, 0, 12, kUpb_FieldMode_Scalar | (upb_FieldRep_StringView << upb_FieldRep_Shift)},
  223. {16, UPB_SIZE(9, 9), 6, 0, 8, kUpb_FieldMode_Scalar | (upb_FieldRep_1Byte << upb_FieldRep_Shift)},
  224. {17, UPB_SIZE(10, 10), 7, 0, 8, kUpb_FieldMode_Scalar | (upb_FieldRep_1Byte << upb_FieldRep_Shift)},
  225. {18, UPB_SIZE(11, 11), 8, 0, 8, kUpb_FieldMode_Scalar | (upb_FieldRep_1Byte << upb_FieldRep_Shift)},
  226. {20, UPB_SIZE(12, 12), 9, 0, 8, kUpb_FieldMode_Scalar | (upb_FieldRep_1Byte << upb_FieldRep_Shift)},
  227. {23, UPB_SIZE(13, 13), 10, 0, 8, kUpb_FieldMode_Scalar | (upb_FieldRep_1Byte << upb_FieldRep_Shift)},
  228. {27, UPB_SIZE(14, 14), 11, 0, 8, kUpb_FieldMode_Scalar | (upb_FieldRep_1Byte << upb_FieldRep_Shift)},
  229. {31, UPB_SIZE(15, 15), 12, 0, 8, kUpb_FieldMode_Scalar | (upb_FieldRep_1Byte << upb_FieldRep_Shift)},
  230. {36, UPB_SIZE(44, 72), 13, 0, 12, kUpb_FieldMode_Scalar | (upb_FieldRep_StringView << upb_FieldRep_Shift)},
  231. {37, UPB_SIZE(52, 88), 14, 0, 12, kUpb_FieldMode_Scalar | (upb_FieldRep_StringView << upb_FieldRep_Shift)},
  232. {39, UPB_SIZE(60, 104), 15, 0, 12, kUpb_FieldMode_Scalar | (upb_FieldRep_StringView << upb_FieldRep_Shift)},
  233. {40, UPB_SIZE(68, 120), 16, 0, 12, kUpb_FieldMode_Scalar | (upb_FieldRep_StringView << upb_FieldRep_Shift)},
  234. {41, UPB_SIZE(76, 136), 17, 0, 12, kUpb_FieldMode_Scalar | (upb_FieldRep_StringView << upb_FieldRep_Shift)},
  235. {42, UPB_SIZE(16, 16), 18, 0, 8, kUpb_FieldMode_Scalar | (upb_FieldRep_1Byte << upb_FieldRep_Shift)},
  236. {44, UPB_SIZE(84, 152), 19, 0, 12, kUpb_FieldMode_Scalar | (upb_FieldRep_StringView << upb_FieldRep_Shift)},
  237. {45, UPB_SIZE(92, 168), 20, 0, 12, kUpb_FieldMode_Scalar | (upb_FieldRep_StringView << upb_FieldRep_Shift)},
  238. {999, UPB_SIZE(100, 184), 0, 0, 11, kUpb_FieldMode_Array | (upb_FieldRep_Pointer << upb_FieldRep_Shift)},
  239. };
  240. const upb_MiniTable google_protobuf_FileOptions_msginit = {
  241. &google_protobuf_FileOptions_submsgs[0],
  242. &google_protobuf_FileOptions__fields[0],
  243. UPB_SIZE(104, 192), 21, upb_ExtMode_Extendable, 1, 255, 0,
  244. };
  245. static const upb_MiniTable_Sub google_protobuf_MessageOptions_submsgs[1] = {
  246. {.submsg = &google_protobuf_UninterpretedOption_msginit},
  247. };
  248. static const upb_MiniTable_Field google_protobuf_MessageOptions__fields[5] = {
  249. {1, UPB_SIZE(1, 1), 1, 0, 8, kUpb_FieldMode_Scalar | (upb_FieldRep_1Byte << upb_FieldRep_Shift)},
  250. {2, UPB_SIZE(2, 2), 2, 0, 8, kUpb_FieldMode_Scalar | (upb_FieldRep_1Byte << upb_FieldRep_Shift)},
  251. {3, UPB_SIZE(3, 3), 3, 0, 8, kUpb_FieldMode_Scalar | (upb_FieldRep_1Byte << upb_FieldRep_Shift)},
  252. {7, UPB_SIZE(4, 4), 4, 0, 8, kUpb_FieldMode_Scalar | (upb_FieldRep_1Byte << upb_FieldRep_Shift)},
  253. {999, UPB_SIZE(8, 8), 0, 0, 11, kUpb_FieldMode_Array | (upb_FieldRep_Pointer << upb_FieldRep_Shift)},
  254. };
  255. const upb_MiniTable google_protobuf_MessageOptions_msginit = {
  256. &google_protobuf_MessageOptions_submsgs[0],
  257. &google_protobuf_MessageOptions__fields[0],
  258. UPB_SIZE(16, 16), 5, upb_ExtMode_Extendable, 3, 255, 0,
  259. };
  260. static const upb_MiniTable_Sub google_protobuf_FieldOptions_submsgs[3] = {
  261. {.submsg = &google_protobuf_UninterpretedOption_msginit},
  262. {.subenum = &google_protobuf_FieldOptions_CType_enuminit},
  263. {.subenum = &google_protobuf_FieldOptions_JSType_enuminit},
  264. };
  265. static const upb_MiniTable_Field google_protobuf_FieldOptions__fields[7] = {
  266. {1, UPB_SIZE(4, 4), 1, 1, 14, kUpb_FieldMode_Scalar | (upb_FieldRep_4Byte << upb_FieldRep_Shift)},
  267. {2, UPB_SIZE(12, 12), 2, 0, 8, kUpb_FieldMode_Scalar | (upb_FieldRep_1Byte << upb_FieldRep_Shift)},
  268. {3, UPB_SIZE(13, 13), 3, 0, 8, kUpb_FieldMode_Scalar | (upb_FieldRep_1Byte << upb_FieldRep_Shift)},
  269. {5, UPB_SIZE(14, 14), 4, 0, 8, kUpb_FieldMode_Scalar | (upb_FieldRep_1Byte << upb_FieldRep_Shift)},
  270. {6, UPB_SIZE(8, 8), 5, 2, 14, kUpb_FieldMode_Scalar | (upb_FieldRep_4Byte << upb_FieldRep_Shift)},
  271. {10, UPB_SIZE(15, 15), 6, 0, 8, kUpb_FieldMode_Scalar | (upb_FieldRep_1Byte << upb_FieldRep_Shift)},
  272. {999, UPB_SIZE(16, 16), 0, 0, 11, kUpb_FieldMode_Array | (upb_FieldRep_Pointer << upb_FieldRep_Shift)},
  273. };
  274. const upb_MiniTable google_protobuf_FieldOptions_msginit = {
  275. &google_protobuf_FieldOptions_submsgs[0],
  276. &google_protobuf_FieldOptions__fields[0],
  277. UPB_SIZE(24, 24), 7, upb_ExtMode_Extendable, 3, 255, 0,
  278. };
  279. static const upb_MiniTable_Sub google_protobuf_OneofOptions_submsgs[1] = {
  280. {.submsg = &google_protobuf_UninterpretedOption_msginit},
  281. };
  282. static const upb_MiniTable_Field google_protobuf_OneofOptions__fields[1] = {
  283. {999, UPB_SIZE(0, 0), 0, 0, 11, kUpb_FieldMode_Array | (upb_FieldRep_Pointer << upb_FieldRep_Shift)},
  284. };
  285. const upb_MiniTable google_protobuf_OneofOptions_msginit = {
  286. &google_protobuf_OneofOptions_submsgs[0],
  287. &google_protobuf_OneofOptions__fields[0],
  288. UPB_SIZE(8, 8), 1, upb_ExtMode_Extendable, 0, 255, 0,
  289. };
  290. static const upb_MiniTable_Sub google_protobuf_EnumOptions_submsgs[1] = {
  291. {.submsg = &google_protobuf_UninterpretedOption_msginit},
  292. };
  293. static const upb_MiniTable_Field google_protobuf_EnumOptions__fields[3] = {
  294. {2, UPB_SIZE(1, 1), 1, 0, 8, kUpb_FieldMode_Scalar | (upb_FieldRep_1Byte << upb_FieldRep_Shift)},
  295. {3, UPB_SIZE(2, 2), 2, 0, 8, kUpb_FieldMode_Scalar | (upb_FieldRep_1Byte << upb_FieldRep_Shift)},
  296. {999, UPB_SIZE(4, 8), 0, 0, 11, kUpb_FieldMode_Array | (upb_FieldRep_Pointer << upb_FieldRep_Shift)},
  297. };
  298. const upb_MiniTable google_protobuf_EnumOptions_msginit = {
  299. &google_protobuf_EnumOptions_submsgs[0],
  300. &google_protobuf_EnumOptions__fields[0],
  301. UPB_SIZE(8, 16), 3, upb_ExtMode_Extendable, 0, 255, 0,
  302. };
  303. static const upb_MiniTable_Sub google_protobuf_EnumValueOptions_submsgs[1] = {
  304. {.submsg = &google_protobuf_UninterpretedOption_msginit},
  305. };
  306. static const upb_MiniTable_Field google_protobuf_EnumValueOptions__fields[2] = {
  307. {1, UPB_SIZE(1, 1), 1, 0, 8, kUpb_FieldMode_Scalar | (upb_FieldRep_1Byte << upb_FieldRep_Shift)},
  308. {999, UPB_SIZE(4, 8), 0, 0, 11, kUpb_FieldMode_Array | (upb_FieldRep_Pointer << upb_FieldRep_Shift)},
  309. };
  310. const upb_MiniTable google_protobuf_EnumValueOptions_msginit = {
  311. &google_protobuf_EnumValueOptions_submsgs[0],
  312. &google_protobuf_EnumValueOptions__fields[0],
  313. UPB_SIZE(8, 16), 2, upb_ExtMode_Extendable, 1, 255, 0,
  314. };
  315. static const upb_MiniTable_Sub google_protobuf_ServiceOptions_submsgs[1] = {
  316. {.submsg = &google_protobuf_UninterpretedOption_msginit},
  317. };
  318. static const upb_MiniTable_Field google_protobuf_ServiceOptions__fields[2] = {
  319. {33, UPB_SIZE(1, 1), 1, 0, 8, kUpb_FieldMode_Scalar | (upb_FieldRep_1Byte << upb_FieldRep_Shift)},
  320. {999, UPB_SIZE(4, 8), 0, 0, 11, kUpb_FieldMode_Array | (upb_FieldRep_Pointer << upb_FieldRep_Shift)},
  321. };
  322. const upb_MiniTable google_protobuf_ServiceOptions_msginit = {
  323. &google_protobuf_ServiceOptions_submsgs[0],
  324. &google_protobuf_ServiceOptions__fields[0],
  325. UPB_SIZE(8, 16), 2, upb_ExtMode_Extendable, 0, 255, 0,
  326. };
  327. static const upb_MiniTable_Sub google_protobuf_MethodOptions_submsgs[2] = {
  328. {.submsg = &google_protobuf_UninterpretedOption_msginit},
  329. {.subenum = &google_protobuf_MethodOptions_IdempotencyLevel_enuminit},
  330. };
  331. static const upb_MiniTable_Field google_protobuf_MethodOptions__fields[3] = {
  332. {33, UPB_SIZE(8, 8), 1, 0, 8, kUpb_FieldMode_Scalar | (upb_FieldRep_1Byte << upb_FieldRep_Shift)},
  333. {34, UPB_SIZE(4, 4), 2, 1, 14, kUpb_FieldMode_Scalar | (upb_FieldRep_4Byte << upb_FieldRep_Shift)},
  334. {999, UPB_SIZE(12, 16), 0, 0, 11, kUpb_FieldMode_Array | (upb_FieldRep_Pointer << upb_FieldRep_Shift)},
  335. };
  336. const upb_MiniTable google_protobuf_MethodOptions_msginit = {
  337. &google_protobuf_MethodOptions_submsgs[0],
  338. &google_protobuf_MethodOptions__fields[0],
  339. UPB_SIZE(16, 24), 3, upb_ExtMode_Extendable, 0, 255, 0,
  340. };
  341. static const upb_MiniTable_Sub google_protobuf_UninterpretedOption_submsgs[1] = {
  342. {.submsg = &google_protobuf_UninterpretedOption_NamePart_msginit},
  343. };
  344. static const upb_MiniTable_Field google_protobuf_UninterpretedOption__fields[7] = {
  345. {2, UPB_SIZE(56, 80), 0, 0, 11, kUpb_FieldMode_Array | (upb_FieldRep_Pointer << upb_FieldRep_Shift)},
  346. {3, UPB_SIZE(32, 32), 1, 0, 12, kUpb_FieldMode_Scalar | (upb_FieldRep_StringView << upb_FieldRep_Shift)},
  347. {4, UPB_SIZE(8, 8), 2, 0, 4, kUpb_FieldMode_Scalar | (upb_FieldRep_8Byte << upb_FieldRep_Shift)},
  348. {5, UPB_SIZE(16, 16), 3, 0, 3, kUpb_FieldMode_Scalar | (upb_FieldRep_8Byte << upb_FieldRep_Shift)},
  349. {6, UPB_SIZE(24, 24), 4, 0, 1, kUpb_FieldMode_Scalar | (upb_FieldRep_8Byte << upb_FieldRep_Shift)},
  350. {7, UPB_SIZE(40, 48), 5, 0, 12, kUpb_FieldMode_Scalar | (upb_FieldRep_StringView << upb_FieldRep_Shift)},
  351. {8, UPB_SIZE(48, 64), 6, 0, 12, kUpb_FieldMode_Scalar | (upb_FieldRep_StringView << upb_FieldRep_Shift)},
  352. };
  353. const upb_MiniTable google_protobuf_UninterpretedOption_msginit = {
  354. &google_protobuf_UninterpretedOption_submsgs[0],
  355. &google_protobuf_UninterpretedOption__fields[0],
  356. UPB_SIZE(64, 96), 7, upb_ExtMode_NonExtendable, 0, 255, 0,
  357. };
  358. static const upb_MiniTable_Field google_protobuf_UninterpretedOption_NamePart__fields[2] = {
  359. {1, UPB_SIZE(4, 8), 1, 0, 12, kUpb_FieldMode_Scalar | (upb_FieldRep_StringView << upb_FieldRep_Shift)},
  360. {2, UPB_SIZE(1, 1), 2, 0, 8, kUpb_FieldMode_Scalar | (upb_FieldRep_1Byte << upb_FieldRep_Shift)},
  361. };
  362. const upb_MiniTable google_protobuf_UninterpretedOption_NamePart_msginit = {
  363. NULL,
  364. &google_protobuf_UninterpretedOption_NamePart__fields[0],
  365. UPB_SIZE(16, 32), 2, upb_ExtMode_NonExtendable, 2, 255, 2,
  366. };
  367. static const upb_MiniTable_Sub google_protobuf_SourceCodeInfo_submsgs[1] = {
  368. {.submsg = &google_protobuf_SourceCodeInfo_Location_msginit},
  369. };
  370. static const upb_MiniTable_Field google_protobuf_SourceCodeInfo__fields[1] = {
  371. {1, UPB_SIZE(0, 0), 0, 0, 11, kUpb_FieldMode_Array | (upb_FieldRep_Pointer << upb_FieldRep_Shift)},
  372. };
  373. const upb_MiniTable google_protobuf_SourceCodeInfo_msginit = {
  374. &google_protobuf_SourceCodeInfo_submsgs[0],
  375. &google_protobuf_SourceCodeInfo__fields[0],
  376. UPB_SIZE(8, 8), 1, upb_ExtMode_NonExtendable, 1, 255, 0,
  377. };
  378. static const upb_MiniTable_Field google_protobuf_SourceCodeInfo_Location__fields[5] = {
  379. {1, UPB_SIZE(20, 40), 0, 0, 5, kUpb_FieldMode_Array | upb_LabelFlags_IsPacked | (upb_FieldRep_Pointer << upb_FieldRep_Shift)},
  380. {2, UPB_SIZE(24, 48), 0, 0, 5, kUpb_FieldMode_Array | upb_LabelFlags_IsPacked | (upb_FieldRep_Pointer << upb_FieldRep_Shift)},
  381. {3, UPB_SIZE(4, 8), 1, 0, 12, kUpb_FieldMode_Scalar | (upb_FieldRep_StringView << upb_FieldRep_Shift)},
  382. {4, UPB_SIZE(12, 24), 2, 0, 12, kUpb_FieldMode_Scalar | (upb_FieldRep_StringView << upb_FieldRep_Shift)},
  383. {6, UPB_SIZE(28, 56), 0, 0, 12, kUpb_FieldMode_Array | (upb_FieldRep_Pointer << upb_FieldRep_Shift)},
  384. };
  385. const upb_MiniTable google_protobuf_SourceCodeInfo_Location_msginit = {
  386. NULL,
  387. &google_protobuf_SourceCodeInfo_Location__fields[0],
  388. UPB_SIZE(32, 64), 5, upb_ExtMode_NonExtendable, 4, 255, 0,
  389. };
  390. static const upb_MiniTable_Sub google_protobuf_GeneratedCodeInfo_submsgs[1] = {
  391. {.submsg = &google_protobuf_GeneratedCodeInfo_Annotation_msginit},
  392. };
  393. static const upb_MiniTable_Field google_protobuf_GeneratedCodeInfo__fields[1] = {
  394. {1, UPB_SIZE(0, 0), 0, 0, 11, kUpb_FieldMode_Array | (upb_FieldRep_Pointer << upb_FieldRep_Shift)},
  395. };
  396. const upb_MiniTable google_protobuf_GeneratedCodeInfo_msginit = {
  397. &google_protobuf_GeneratedCodeInfo_submsgs[0],
  398. &google_protobuf_GeneratedCodeInfo__fields[0],
  399. UPB_SIZE(8, 8), 1, upb_ExtMode_NonExtendable, 1, 255, 0,
  400. };
  401. static const upb_MiniTable_Field google_protobuf_GeneratedCodeInfo_Annotation__fields[4] = {
  402. {1, UPB_SIZE(20, 32), 0, 0, 5, kUpb_FieldMode_Array | upb_LabelFlags_IsPacked | (upb_FieldRep_Pointer << upb_FieldRep_Shift)},
  403. {2, UPB_SIZE(12, 16), 1, 0, 12, kUpb_FieldMode_Scalar | (upb_FieldRep_StringView << upb_FieldRep_Shift)},
  404. {3, UPB_SIZE(4, 4), 2, 0, 5, kUpb_FieldMode_Scalar | (upb_FieldRep_4Byte << upb_FieldRep_Shift)},
  405. {4, UPB_SIZE(8, 8), 3, 0, 5, kUpb_FieldMode_Scalar | (upb_FieldRep_4Byte << upb_FieldRep_Shift)},
  406. };
  407. const upb_MiniTable google_protobuf_GeneratedCodeInfo_Annotation_msginit = {
  408. NULL,
  409. &google_protobuf_GeneratedCodeInfo_Annotation__fields[0],
  410. UPB_SIZE(24, 48), 4, upb_ExtMode_NonExtendable, 4, 255, 0,
  411. };
  412. static const upb_MiniTable *messages_layout[27] = {
  413. &google_protobuf_FileDescriptorSet_msginit,
  414. &google_protobuf_FileDescriptorProto_msginit,
  415. &google_protobuf_DescriptorProto_msginit,
  416. &google_protobuf_DescriptorProto_ExtensionRange_msginit,
  417. &google_protobuf_DescriptorProto_ReservedRange_msginit,
  418. &google_protobuf_ExtensionRangeOptions_msginit,
  419. &google_protobuf_FieldDescriptorProto_msginit,
  420. &google_protobuf_OneofDescriptorProto_msginit,
  421. &google_protobuf_EnumDescriptorProto_msginit,
  422. &google_protobuf_EnumDescriptorProto_EnumReservedRange_msginit,
  423. &google_protobuf_EnumValueDescriptorProto_msginit,
  424. &google_protobuf_ServiceDescriptorProto_msginit,
  425. &google_protobuf_MethodDescriptorProto_msginit,
  426. &google_protobuf_FileOptions_msginit,
  427. &google_protobuf_MessageOptions_msginit,
  428. &google_protobuf_FieldOptions_msginit,
  429. &google_protobuf_OneofOptions_msginit,
  430. &google_protobuf_EnumOptions_msginit,
  431. &google_protobuf_EnumValueOptions_msginit,
  432. &google_protobuf_ServiceOptions_msginit,
  433. &google_protobuf_MethodOptions_msginit,
  434. &google_protobuf_UninterpretedOption_msginit,
  435. &google_protobuf_UninterpretedOption_NamePart_msginit,
  436. &google_protobuf_SourceCodeInfo_msginit,
  437. &google_protobuf_SourceCodeInfo_Location_msginit,
  438. &google_protobuf_GeneratedCodeInfo_msginit,
  439. &google_protobuf_GeneratedCodeInfo_Annotation_msginit,
  440. };
  441. const upb_MiniTable_Enum google_protobuf_FieldDescriptorProto_Type_enuminit = {
  442. NULL,
  443. 0x7fffeULL,
  444. 0,
  445. };
  446. const upb_MiniTable_Enum google_protobuf_FieldDescriptorProto_Label_enuminit = {
  447. NULL,
  448. 0xeULL,
  449. 0,
  450. };
  451. const upb_MiniTable_Enum google_protobuf_FileOptions_OptimizeMode_enuminit = {
  452. NULL,
  453. 0xeULL,
  454. 0,
  455. };
  456. const upb_MiniTable_Enum google_protobuf_FieldOptions_CType_enuminit = {
  457. NULL,
  458. 0x7ULL,
  459. 0,
  460. };
  461. const upb_MiniTable_Enum google_protobuf_FieldOptions_JSType_enuminit = {
  462. NULL,
  463. 0x7ULL,
  464. 0,
  465. };
  466. const upb_MiniTable_Enum google_protobuf_MethodOptions_IdempotencyLevel_enuminit = {
  467. NULL,
  468. 0x7ULL,
  469. 0,
  470. };
  471. static const upb_MiniTable_Enum *enums_layout[6] = {
  472. &google_protobuf_FieldDescriptorProto_Type_enuminit,
  473. &google_protobuf_FieldDescriptorProto_Label_enuminit,
  474. &google_protobuf_FileOptions_OptimizeMode_enuminit,
  475. &google_protobuf_FieldOptions_CType_enuminit,
  476. &google_protobuf_FieldOptions_JSType_enuminit,
  477. &google_protobuf_MethodOptions_IdempotencyLevel_enuminit,
  478. };
  479. const upb_MiniTable_File google_protobuf_descriptor_proto_upb_file_layout = {
  480. messages_layout,
  481. enums_layout,
  482. NULL,
  483. 27,
  484. 6,
  485. 0,
  486. };
  487. #include "upb/port_undef.inc"