protobuf 6.30.1__tar.gz → 6.31.0rc1__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of protobuf might be problematic. Click here for more details.

Files changed (275) hide show
  1. {protobuf-6.30.1 → protobuf-6.31.0rc1}/PKG-INFO +1 -1
  2. {protobuf-6.30.1 → protobuf-6.31.0rc1}/google/protobuf/__init__.py +1 -1
  3. {protobuf-6.30.1 → protobuf-6.31.0rc1}/google/protobuf/any.py +15 -1
  4. {protobuf-6.30.1 → protobuf-6.31.0rc1}/google/protobuf/any_pb2.py +4 -4
  5. {protobuf-6.30.1 → protobuf-6.31.0rc1}/google/protobuf/api_pb2.py +4 -4
  6. {protobuf-6.30.1 → protobuf-6.31.0rc1}/google/protobuf/compiler/plugin_pb2.py +4 -4
  7. {protobuf-6.30.1 → protobuf-6.31.0rc1}/google/protobuf/descriptor.py +15 -2
  8. {protobuf-6.30.1 → protobuf-6.31.0rc1}/google/protobuf/descriptor.upb.h +193 -20
  9. {protobuf-6.30.1 → protobuf-6.31.0rc1}/google/protobuf/descriptor.upb_minitable.c +59 -21
  10. {protobuf-6.30.1 → protobuf-6.31.0rc1}/google/protobuf/descriptor.upb_minitable.h +4 -0
  11. protobuf-6.31.0rc1/google/protobuf/descriptor.upbdefs.c +1125 -0
  12. {protobuf-6.30.1 → protobuf-6.31.0rc1}/google/protobuf/descriptor.upbdefs.h +10 -1
  13. {protobuf-6.30.1 → protobuf-6.31.0rc1}/google/protobuf/descriptor_pb2.py +259 -114
  14. {protobuf-6.30.1 → protobuf-6.31.0rc1}/google/protobuf/descriptor_pool.py +22 -8
  15. {protobuf-6.30.1 → protobuf-6.31.0rc1}/google/protobuf/duration_pb2.py +4 -4
  16. {protobuf-6.30.1 → protobuf-6.31.0rc1}/google/protobuf/empty_pb2.py +4 -4
  17. {protobuf-6.30.1 → protobuf-6.31.0rc1}/google/protobuf/field_mask_pb2.py +4 -4
  18. {protobuf-6.30.1 → protobuf-6.31.0rc1}/google/protobuf/internal/decoder.py +75 -23
  19. {protobuf-6.30.1 → protobuf-6.31.0rc1}/google/protobuf/internal/field_mask.py +3 -1
  20. protobuf-6.31.0rc1/google/protobuf/internal/python_edition_defaults.py +5 -0
  21. {protobuf-6.30.1 → protobuf-6.31.0rc1}/google/protobuf/internal/python_message.py +21 -18
  22. {protobuf-6.30.1 → protobuf-6.31.0rc1}/google/protobuf/internal/testing_refleaks.py +8 -2
  23. {protobuf-6.30.1 → protobuf-6.31.0rc1}/google/protobuf/internal/well_known_types.py +60 -43
  24. {protobuf-6.30.1 → protobuf-6.31.0rc1}/google/protobuf/json_format.py +4 -5
  25. {protobuf-6.30.1 → protobuf-6.31.0rc1}/google/protobuf/message_factory.py +16 -0
  26. {protobuf-6.30.1 → protobuf-6.31.0rc1}/google/protobuf/runtime_version.py +3 -3
  27. {protobuf-6.30.1 → protobuf-6.31.0rc1}/google/protobuf/source_context_pb2.py +4 -4
  28. {protobuf-6.30.1 → protobuf-6.31.0rc1}/google/protobuf/struct_pb2.py +4 -4
  29. {protobuf-6.30.1 → protobuf-6.31.0rc1}/google/protobuf/text_format.py +11 -7
  30. {protobuf-6.30.1 → protobuf-6.31.0rc1}/google/protobuf/timestamp_pb2.py +4 -4
  31. {protobuf-6.30.1 → protobuf-6.31.0rc1}/google/protobuf/type_pb2.py +4 -4
  32. {protobuf-6.30.1 → protobuf-6.31.0rc1}/google/protobuf/wrappers_pb2.py +4 -4
  33. {protobuf-6.30.1 → protobuf-6.31.0rc1}/protobuf.egg-info/PKG-INFO +1 -1
  34. {protobuf-6.30.1 → protobuf-6.31.0rc1}/python/descriptor.c +14 -0
  35. {protobuf-6.30.1 → protobuf-6.31.0rc1}/python/descriptor_pool.c +67 -2
  36. {protobuf-6.30.1 → protobuf-6.31.0rc1}/python/extension_dict.c +1 -0
  37. {protobuf-6.30.1 → protobuf-6.31.0rc1}/python/message.c +1 -0
  38. {protobuf-6.30.1 → protobuf-6.31.0rc1}/python/repeated.c +13 -0
  39. {protobuf-6.30.1 → protobuf-6.31.0rc1}/upb/hash/common.c +310 -189
  40. {protobuf-6.30.1 → protobuf-6.31.0rc1}/upb/hash/common.h +44 -43
  41. {protobuf-6.30.1 → protobuf-6.31.0rc1}/upb/hash/int_table.h +29 -5
  42. {protobuf-6.30.1 → protobuf-6.31.0rc1}/upb/hash/str_table.h +6 -0
  43. {protobuf-6.30.1 → protobuf-6.31.0rc1}/upb/mem/arena.c +180 -57
  44. {protobuf-6.30.1 → protobuf-6.31.0rc1}/upb/mem/arena.h +10 -0
  45. {protobuf-6.30.1 → protobuf-6.31.0rc1}/upb/mem/internal/arena.h +62 -24
  46. {protobuf-6.30.1 → protobuf-6.31.0rc1}/upb/message/accessors.c +1 -5
  47. {protobuf-6.30.1 → protobuf-6.31.0rc1}/upb/message/array.c +7 -6
  48. {protobuf-6.30.1 → protobuf-6.31.0rc1}/upb/message/array.h +4 -4
  49. {protobuf-6.30.1 → protobuf-6.31.0rc1}/upb/message/internal/accessors.h +3 -3
  50. {protobuf-6.30.1 → protobuf-6.31.0rc1}/upb/message/internal/extension.c +0 -12
  51. {protobuf-6.30.1 → protobuf-6.31.0rc1}/upb/message/internal/extension.h +0 -4
  52. {protobuf-6.30.1 → protobuf-6.31.0rc1}/upb/message/internal/iterator.h +3 -3
  53. {protobuf-6.30.1 → protobuf-6.31.0rc1}/upb/message/internal/map.h +75 -20
  54. {protobuf-6.30.1 → protobuf-6.31.0rc1}/upb/message/internal/map_sorter.h +10 -2
  55. {protobuf-6.30.1 → protobuf-6.31.0rc1}/upb/message/internal/message.h +53 -5
  56. {protobuf-6.30.1 → protobuf-6.31.0rc1}/upb/message/map.c +68 -20
  57. {protobuf-6.30.1 → protobuf-6.31.0rc1}/upb/message/map.h +8 -1
  58. protobuf-6.31.0rc1/upb/message/map_gencode_util.h +16 -0
  59. {protobuf-6.30.1 → protobuf-6.31.0rc1}/upb/message/map_sorter.c +32 -8
  60. {protobuf-6.30.1 → protobuf-6.31.0rc1}/upb/message/merge.h +3 -3
  61. {protobuf-6.30.1 → protobuf-6.31.0rc1}/upb/message/message.c +120 -14
  62. {protobuf-6.30.1 → protobuf-6.31.0rc1}/upb/message/message.h +17 -8
  63. {protobuf-6.30.1 → protobuf-6.31.0rc1}/upb/message/promote.c +64 -27
  64. {protobuf-6.30.1 → protobuf-6.31.0rc1}/upb/mini_descriptor/build_enum.c +15 -5
  65. {protobuf-6.30.1 → protobuf-6.31.0rc1}/upb/mini_descriptor/decode.c +18 -2
  66. {protobuf-6.30.1 → protobuf-6.31.0rc1}/upb/mini_descriptor/link.c +4 -0
  67. {protobuf-6.30.1 → protobuf-6.31.0rc1}/upb/mini_table/extension.h +8 -1
  68. {protobuf-6.30.1 → protobuf-6.31.0rc1}/upb/mini_table/extension_registry.c +1 -1
  69. {protobuf-6.30.1 → protobuf-6.31.0rc1}/upb/mini_table/internal/enum.h +1 -1
  70. {protobuf-6.30.1 → protobuf-6.31.0rc1}/upb/mini_table/internal/extension.h +24 -1
  71. {protobuf-6.30.1 → protobuf-6.31.0rc1}/upb/mini_table/internal/field.h +4 -4
  72. {protobuf-6.30.1 → protobuf-6.31.0rc1}/upb/mini_table/internal/message.h +1 -1
  73. {protobuf-6.30.1 → protobuf-6.31.0rc1}/upb/port/def.inc +32 -16
  74. {protobuf-6.30.1 → protobuf-6.31.0rc1}/upb/port/undef.inc +1 -0
  75. {protobuf-6.30.1 → protobuf-6.31.0rc1}/upb/reflection/def_pool.h +2 -2
  76. {protobuf-6.30.1 → protobuf-6.31.0rc1}/upb/reflection/descriptor_bootstrap.h +3 -3
  77. {protobuf-6.30.1 → protobuf-6.31.0rc1}/upb/reflection/enum_def.c +4 -4
  78. {protobuf-6.30.1 → protobuf-6.31.0rc1}/upb/reflection/enum_reserved_range.c +1 -1
  79. {protobuf-6.30.1 → protobuf-6.31.0rc1}/upb/reflection/enum_value_def.c +9 -8
  80. {protobuf-6.30.1 → protobuf-6.31.0rc1}/upb/reflection/extension_range.c +1 -2
  81. {protobuf-6.30.1 → protobuf-6.31.0rc1}/upb/reflection/field_def.c +3 -5
  82. {protobuf-6.30.1 → protobuf-6.31.0rc1}/upb/reflection/field_def.h +1 -1
  83. {protobuf-6.30.1 → protobuf-6.31.0rc1}/upb/reflection/file_def.c +4 -5
  84. {protobuf-6.30.1 → protobuf-6.31.0rc1}/upb/reflection/internal/def_builder.h +35 -10
  85. {protobuf-6.30.1 → protobuf-6.31.0rc1}/upb/reflection/internal/enum_value_def.h +1 -1
  86. {protobuf-6.30.1 → protobuf-6.31.0rc1}/upb/reflection/internal/upb_edition_defaults.h +1 -1
  87. {protobuf-6.30.1 → protobuf-6.31.0rc1}/upb/reflection/message_def.c +4 -7
  88. {protobuf-6.30.1 → protobuf-6.31.0rc1}/upb/reflection/message_reserved_range.c +1 -1
  89. {protobuf-6.30.1 → protobuf-6.31.0rc1}/upb/reflection/method_def.c +1 -1
  90. {protobuf-6.30.1 → protobuf-6.31.0rc1}/upb/reflection/oneof_def.c +3 -3
  91. {protobuf-6.30.1 → protobuf-6.31.0rc1}/upb/reflection/service_def.c +2 -5
  92. {protobuf-6.30.1 → protobuf-6.31.0rc1}/upb/text/encode.c +16 -0
  93. {protobuf-6.30.1 → protobuf-6.31.0rc1}/upb/text/internal/encode.h +2 -1
  94. {protobuf-6.30.1 → protobuf-6.31.0rc1}/upb/wire/decode.c +104 -72
  95. {protobuf-6.30.1 → protobuf-6.31.0rc1}/upb/wire/encode.c +37 -13
  96. {protobuf-6.30.1 → protobuf-6.31.0rc1}/upb/wire/internal/decode_fast.c +2 -2
  97. {protobuf-6.30.1 → protobuf-6.31.0rc1}/upb/wire/internal/decode_fast.h +4 -0
  98. protobuf-6.30.1/google/protobuf/descriptor.upbdefs.c +0 -527
  99. protobuf-6.30.1/google/protobuf/internal/python_edition_defaults.py +0 -5
  100. protobuf-6.30.1/upb/message/map_gencode_util.h +0 -58
  101. {protobuf-6.30.1 → protobuf-6.31.0rc1}/LICENSE +0 -0
  102. {protobuf-6.30.1 → protobuf-6.31.0rc1}/MANIFEST.in +0 -0
  103. {protobuf-6.30.1 → protobuf-6.31.0rc1}/README.md +0 -0
  104. {protobuf-6.30.1 → protobuf-6.31.0rc1}/google/__init__.py +0 -0
  105. {protobuf-6.30.1 → protobuf-6.31.0rc1}/google/protobuf/compiler/__init__.py +0 -0
  106. {protobuf-6.30.1 → protobuf-6.31.0rc1}/google/protobuf/descriptor.upb.c +0 -0
  107. {protobuf-6.30.1 → protobuf-6.31.0rc1}/google/protobuf/descriptor_database.py +0 -0
  108. {protobuf-6.30.1 → protobuf-6.31.0rc1}/google/protobuf/duration.py +0 -0
  109. {protobuf-6.30.1 → protobuf-6.31.0rc1}/google/protobuf/internal/__init__.py +0 -0
  110. {protobuf-6.30.1 → protobuf-6.31.0rc1}/google/protobuf/internal/api_implementation.py +0 -0
  111. {protobuf-6.30.1 → protobuf-6.31.0rc1}/google/protobuf/internal/builder.py +0 -0
  112. {protobuf-6.30.1 → protobuf-6.31.0rc1}/google/protobuf/internal/containers.py +0 -0
  113. {protobuf-6.30.1 → protobuf-6.31.0rc1}/google/protobuf/internal/encoder.py +0 -0
  114. {protobuf-6.30.1 → protobuf-6.31.0rc1}/google/protobuf/internal/enum_type_wrapper.py +0 -0
  115. {protobuf-6.30.1 → protobuf-6.31.0rc1}/google/protobuf/internal/extension_dict.py +0 -0
  116. {protobuf-6.30.1 → protobuf-6.31.0rc1}/google/protobuf/internal/message_listener.py +0 -0
  117. {protobuf-6.30.1 → protobuf-6.31.0rc1}/google/protobuf/internal/type_checkers.py +0 -0
  118. {protobuf-6.30.1 → protobuf-6.31.0rc1}/google/protobuf/internal/wire_format.py +0 -0
  119. {protobuf-6.30.1 → protobuf-6.31.0rc1}/google/protobuf/message.py +0 -0
  120. {protobuf-6.30.1 → protobuf-6.31.0rc1}/google/protobuf/proto.py +0 -0
  121. {protobuf-6.30.1 → protobuf-6.31.0rc1}/google/protobuf/proto_builder.py +0 -0
  122. {protobuf-6.30.1 → protobuf-6.31.0rc1}/google/protobuf/proto_json.py +0 -0
  123. {protobuf-6.30.1 → protobuf-6.31.0rc1}/google/protobuf/proto_text.py +0 -0
  124. {protobuf-6.30.1 → protobuf-6.31.0rc1}/google/protobuf/pyext/__init__.py +0 -0
  125. {protobuf-6.30.1 → protobuf-6.31.0rc1}/google/protobuf/pyext/cpp_message.py +0 -0
  126. {protobuf-6.30.1 → protobuf-6.31.0rc1}/google/protobuf/reflection.py +0 -0
  127. {protobuf-6.30.1 → protobuf-6.31.0rc1}/google/protobuf/service_reflection.py +0 -0
  128. {protobuf-6.30.1 → protobuf-6.31.0rc1}/google/protobuf/symbol_database.py +0 -0
  129. {protobuf-6.30.1 → protobuf-6.31.0rc1}/google/protobuf/testdata/__init__.py +0 -0
  130. {protobuf-6.30.1 → protobuf-6.31.0rc1}/google/protobuf/text_encoding.py +0 -0
  131. {protobuf-6.30.1 → protobuf-6.31.0rc1}/google/protobuf/timestamp.py +0 -0
  132. {protobuf-6.30.1 → protobuf-6.31.0rc1}/google/protobuf/unknown_fields.py +0 -0
  133. {protobuf-6.30.1 → protobuf-6.31.0rc1}/google/protobuf/util/__init__.py +0 -0
  134. {protobuf-6.30.1 → protobuf-6.31.0rc1}/protobuf.egg-info/SOURCES.txt +0 -0
  135. {protobuf-6.30.1 → protobuf-6.31.0rc1}/protobuf.egg-info/dependency_links.txt +0 -0
  136. {protobuf-6.30.1 → protobuf-6.31.0rc1}/protobuf.egg-info/top_level.txt +0 -0
  137. {protobuf-6.30.1 → protobuf-6.31.0rc1}/python/convert.c +0 -0
  138. {protobuf-6.30.1 → protobuf-6.31.0rc1}/python/convert.h +0 -0
  139. {protobuf-6.30.1 → protobuf-6.31.0rc1}/python/descriptor.h +0 -0
  140. {protobuf-6.30.1 → protobuf-6.31.0rc1}/python/descriptor_containers.c +0 -0
  141. {protobuf-6.30.1 → protobuf-6.31.0rc1}/python/descriptor_containers.h +0 -0
  142. {protobuf-6.30.1 → protobuf-6.31.0rc1}/python/descriptor_pool.h +0 -0
  143. {protobuf-6.30.1 → protobuf-6.31.0rc1}/python/extension_dict.h +0 -0
  144. {protobuf-6.30.1 → protobuf-6.31.0rc1}/python/map.c +0 -0
  145. {protobuf-6.30.1 → protobuf-6.31.0rc1}/python/map.h +0 -0
  146. {protobuf-6.30.1 → protobuf-6.31.0rc1}/python/message.h +0 -0
  147. {protobuf-6.30.1 → protobuf-6.31.0rc1}/python/protobuf.c +0 -0
  148. {protobuf-6.30.1 → protobuf-6.31.0rc1}/python/protobuf.h +0 -0
  149. {protobuf-6.30.1 → protobuf-6.31.0rc1}/python/python_api.h +0 -0
  150. {protobuf-6.30.1 → protobuf-6.31.0rc1}/python/repeated.h +0 -0
  151. {protobuf-6.30.1 → protobuf-6.31.0rc1}/python/unknown_fields.c +0 -0
  152. {protobuf-6.30.1 → protobuf-6.31.0rc1}/python/unknown_fields.h +0 -0
  153. {protobuf-6.30.1 → protobuf-6.31.0rc1}/setup.cfg +0 -0
  154. {protobuf-6.30.1 → protobuf-6.31.0rc1}/setup.py +0 -0
  155. {protobuf-6.30.1 → protobuf-6.31.0rc1}/upb/base/descriptor_constants.h +0 -0
  156. {protobuf-6.30.1 → protobuf-6.31.0rc1}/upb/base/internal/endian.h +0 -0
  157. {protobuf-6.30.1 → protobuf-6.31.0rc1}/upb/base/internal/log2.h +0 -0
  158. {protobuf-6.30.1 → protobuf-6.31.0rc1}/upb/base/status.c +0 -0
  159. {protobuf-6.30.1 → protobuf-6.31.0rc1}/upb/base/status.h +0 -0
  160. {protobuf-6.30.1 → protobuf-6.31.0rc1}/upb/base/string_view.h +0 -0
  161. {protobuf-6.30.1 → protobuf-6.31.0rc1}/upb/base/upcast.h +0 -0
  162. {protobuf-6.30.1 → protobuf-6.31.0rc1}/upb/generated_code_support.h +0 -0
  163. {protobuf-6.30.1 → protobuf-6.31.0rc1}/upb/lex/atoi.c +0 -0
  164. {protobuf-6.30.1 → protobuf-6.31.0rc1}/upb/lex/atoi.h +0 -0
  165. {protobuf-6.30.1 → protobuf-6.31.0rc1}/upb/lex/round_trip.c +0 -0
  166. {protobuf-6.30.1 → protobuf-6.31.0rc1}/upb/lex/round_trip.h +0 -0
  167. {protobuf-6.30.1 → protobuf-6.31.0rc1}/upb/lex/strtod.c +0 -0
  168. {protobuf-6.30.1 → protobuf-6.31.0rc1}/upb/lex/strtod.h +0 -0
  169. {protobuf-6.30.1 → protobuf-6.31.0rc1}/upb/lex/unicode.c +0 -0
  170. {protobuf-6.30.1 → protobuf-6.31.0rc1}/upb/lex/unicode.h +0 -0
  171. {protobuf-6.30.1 → protobuf-6.31.0rc1}/upb/mem/alloc.c +0 -0
  172. {protobuf-6.30.1 → protobuf-6.31.0rc1}/upb/mem/alloc.h +0 -0
  173. {protobuf-6.30.1 → protobuf-6.31.0rc1}/upb/message/accessors.h +0 -0
  174. {protobuf-6.30.1 → protobuf-6.31.0rc1}/upb/message/accessors_split64.h +0 -0
  175. {protobuf-6.30.1 → protobuf-6.31.0rc1}/upb/message/compare.c +0 -0
  176. {protobuf-6.30.1 → protobuf-6.31.0rc1}/upb/message/compare.h +0 -0
  177. {protobuf-6.30.1 → protobuf-6.31.0rc1}/upb/message/compat.c +0 -0
  178. {protobuf-6.30.1 → protobuf-6.31.0rc1}/upb/message/compat.h +0 -0
  179. {protobuf-6.30.1 → protobuf-6.31.0rc1}/upb/message/copy.c +0 -0
  180. {protobuf-6.30.1 → protobuf-6.31.0rc1}/upb/message/copy.h +0 -0
  181. {protobuf-6.30.1 → protobuf-6.31.0rc1}/upb/message/internal/array.h +0 -0
  182. {protobuf-6.30.1 → protobuf-6.31.0rc1}/upb/message/internal/compare_unknown.c +0 -0
  183. {protobuf-6.30.1 → protobuf-6.31.0rc1}/upb/message/internal/compare_unknown.h +0 -0
  184. {protobuf-6.30.1 → protobuf-6.31.0rc1}/upb/message/internal/iterator.c +0 -0
  185. {protobuf-6.30.1 → protobuf-6.31.0rc1}/upb/message/internal/map_entry.h +0 -0
  186. {protobuf-6.30.1 → protobuf-6.31.0rc1}/upb/message/internal/message.c +0 -0
  187. {protobuf-6.30.1 → protobuf-6.31.0rc1}/upb/message/internal/tagged_ptr.h +0 -0
  188. {protobuf-6.30.1 → protobuf-6.31.0rc1}/upb/message/internal/types.h +0 -0
  189. {protobuf-6.30.1 → protobuf-6.31.0rc1}/upb/message/merge.c +0 -0
  190. {protobuf-6.30.1 → protobuf-6.31.0rc1}/upb/message/promote.h +0 -0
  191. {protobuf-6.30.1 → protobuf-6.31.0rc1}/upb/message/tagged_ptr.h +0 -0
  192. {protobuf-6.30.1 → protobuf-6.31.0rc1}/upb/message/value.h +0 -0
  193. {protobuf-6.30.1 → protobuf-6.31.0rc1}/upb/mini_descriptor/build_enum.h +0 -0
  194. {protobuf-6.30.1 → protobuf-6.31.0rc1}/upb/mini_descriptor/decode.h +0 -0
  195. {protobuf-6.30.1 → protobuf-6.31.0rc1}/upb/mini_descriptor/internal/base92.c +0 -0
  196. {protobuf-6.30.1 → protobuf-6.31.0rc1}/upb/mini_descriptor/internal/base92.h +0 -0
  197. {protobuf-6.30.1 → protobuf-6.31.0rc1}/upb/mini_descriptor/internal/decoder.h +0 -0
  198. {protobuf-6.30.1 → protobuf-6.31.0rc1}/upb/mini_descriptor/internal/encode.c +0 -0
  199. {protobuf-6.30.1 → protobuf-6.31.0rc1}/upb/mini_descriptor/internal/encode.h +0 -0
  200. {protobuf-6.30.1 → protobuf-6.31.0rc1}/upb/mini_descriptor/internal/modifiers.h +0 -0
  201. {protobuf-6.30.1 → protobuf-6.31.0rc1}/upb/mini_descriptor/internal/wire_constants.h +0 -0
  202. {protobuf-6.30.1 → protobuf-6.31.0rc1}/upb/mini_descriptor/link.h +0 -0
  203. {protobuf-6.30.1 → protobuf-6.31.0rc1}/upb/mini_table/compat.c +0 -0
  204. {protobuf-6.30.1 → protobuf-6.31.0rc1}/upb/mini_table/compat.h +0 -0
  205. {protobuf-6.30.1 → protobuf-6.31.0rc1}/upb/mini_table/enum.h +0 -0
  206. {protobuf-6.30.1 → protobuf-6.31.0rc1}/upb/mini_table/extension_registry.h +0 -0
  207. {protobuf-6.30.1 → protobuf-6.31.0rc1}/upb/mini_table/field.h +0 -0
  208. {protobuf-6.30.1 → protobuf-6.31.0rc1}/upb/mini_table/file.h +0 -0
  209. {protobuf-6.30.1 → protobuf-6.31.0rc1}/upb/mini_table/internal/file.h +0 -0
  210. {protobuf-6.30.1 → protobuf-6.31.0rc1}/upb/mini_table/internal/message.c +0 -0
  211. {protobuf-6.30.1 → protobuf-6.31.0rc1}/upb/mini_table/internal/size_log2.h +0 -0
  212. {protobuf-6.30.1 → protobuf-6.31.0rc1}/upb/mini_table/internal/sub.h +0 -0
  213. {protobuf-6.30.1 → protobuf-6.31.0rc1}/upb/mini_table/message.c +0 -0
  214. {protobuf-6.30.1 → protobuf-6.31.0rc1}/upb/mini_table/message.h +0 -0
  215. {protobuf-6.30.1 → protobuf-6.31.0rc1}/upb/mini_table/sub.h +0 -0
  216. {protobuf-6.30.1 → protobuf-6.31.0rc1}/upb/port/atomic.h +0 -0
  217. {protobuf-6.30.1 → protobuf-6.31.0rc1}/upb/port/vsnprintf_compat.h +0 -0
  218. {protobuf-6.30.1 → protobuf-6.31.0rc1}/upb/reflection/common.h +0 -0
  219. {protobuf-6.30.1 → protobuf-6.31.0rc1}/upb/reflection/def.h +0 -0
  220. {protobuf-6.30.1 → protobuf-6.31.0rc1}/upb/reflection/def_pool.c +0 -0
  221. {protobuf-6.30.1 → protobuf-6.31.0rc1}/upb/reflection/def_type.c +0 -0
  222. {protobuf-6.30.1 → protobuf-6.31.0rc1}/upb/reflection/def_type.h +0 -0
  223. {protobuf-6.30.1 → protobuf-6.31.0rc1}/upb/reflection/desc_state.c +0 -0
  224. {protobuf-6.30.1 → protobuf-6.31.0rc1}/upb/reflection/enum_def.h +0 -0
  225. {protobuf-6.30.1 → protobuf-6.31.0rc1}/upb/reflection/enum_reserved_range.h +0 -0
  226. {protobuf-6.30.1 → protobuf-6.31.0rc1}/upb/reflection/enum_value_def.h +0 -0
  227. {protobuf-6.30.1 → protobuf-6.31.0rc1}/upb/reflection/extension_range.h +0 -0
  228. {protobuf-6.30.1 → protobuf-6.31.0rc1}/upb/reflection/file_def.h +0 -0
  229. {protobuf-6.30.1 → protobuf-6.31.0rc1}/upb/reflection/internal/def_builder.c +0 -0
  230. {protobuf-6.30.1 → protobuf-6.31.0rc1}/upb/reflection/internal/def_pool.h +0 -0
  231. {protobuf-6.30.1 → protobuf-6.31.0rc1}/upb/reflection/internal/desc_state.h +0 -0
  232. {protobuf-6.30.1 → protobuf-6.31.0rc1}/upb/reflection/internal/enum_def.h +0 -0
  233. {protobuf-6.30.1 → protobuf-6.31.0rc1}/upb/reflection/internal/enum_reserved_range.h +0 -0
  234. {protobuf-6.30.1 → protobuf-6.31.0rc1}/upb/reflection/internal/extension_range.h +0 -0
  235. {protobuf-6.30.1 → protobuf-6.31.0rc1}/upb/reflection/internal/field_def.h +0 -0
  236. {protobuf-6.30.1 → protobuf-6.31.0rc1}/upb/reflection/internal/file_def.h +0 -0
  237. {protobuf-6.30.1 → protobuf-6.31.0rc1}/upb/reflection/internal/message_def.h +0 -0
  238. {protobuf-6.30.1 → protobuf-6.31.0rc1}/upb/reflection/internal/message_reserved_range.h +0 -0
  239. {protobuf-6.30.1 → protobuf-6.31.0rc1}/upb/reflection/internal/method_def.h +0 -0
  240. {protobuf-6.30.1 → protobuf-6.31.0rc1}/upb/reflection/internal/oneof_def.h +0 -0
  241. {protobuf-6.30.1 → protobuf-6.31.0rc1}/upb/reflection/internal/service_def.h +0 -0
  242. {protobuf-6.30.1 → protobuf-6.31.0rc1}/upb/reflection/internal/strdup2.c +0 -0
  243. {protobuf-6.30.1 → protobuf-6.31.0rc1}/upb/reflection/internal/strdup2.h +0 -0
  244. {protobuf-6.30.1 → protobuf-6.31.0rc1}/upb/reflection/message.c +0 -0
  245. {protobuf-6.30.1 → protobuf-6.31.0rc1}/upb/reflection/message.h +0 -0
  246. {protobuf-6.30.1 → protobuf-6.31.0rc1}/upb/reflection/message_def.h +0 -0
  247. {protobuf-6.30.1 → protobuf-6.31.0rc1}/upb/reflection/message_reserved_range.h +0 -0
  248. {protobuf-6.30.1 → protobuf-6.31.0rc1}/upb/reflection/method_def.h +0 -0
  249. {protobuf-6.30.1 → protobuf-6.31.0rc1}/upb/reflection/oneof_def.h +0 -0
  250. {protobuf-6.30.1 → protobuf-6.31.0rc1}/upb/reflection/service_def.h +0 -0
  251. {protobuf-6.30.1 → protobuf-6.31.0rc1}/upb/text/debug_string.c +0 -0
  252. {protobuf-6.30.1 → protobuf-6.31.0rc1}/upb/text/debug_string.h +0 -0
  253. {protobuf-6.30.1 → protobuf-6.31.0rc1}/upb/text/encode.h +0 -0
  254. {protobuf-6.30.1 → protobuf-6.31.0rc1}/upb/text/internal/encode.c +0 -0
  255. {protobuf-6.30.1 → protobuf-6.31.0rc1}/upb/text/options.h +0 -0
  256. {protobuf-6.30.1 → protobuf-6.31.0rc1}/upb/util/def_to_proto.c +0 -0
  257. {protobuf-6.30.1 → protobuf-6.31.0rc1}/upb/util/def_to_proto.h +0 -0
  258. {protobuf-6.30.1 → protobuf-6.31.0rc1}/upb/util/required_fields.c +0 -0
  259. {protobuf-6.30.1 → protobuf-6.31.0rc1}/upb/util/required_fields.h +0 -0
  260. {protobuf-6.30.1 → protobuf-6.31.0rc1}/upb/wire/byte_size.c +0 -0
  261. {protobuf-6.30.1 → protobuf-6.31.0rc1}/upb/wire/byte_size.h +0 -0
  262. {protobuf-6.30.1 → protobuf-6.31.0rc1}/upb/wire/decode.h +0 -0
  263. {protobuf-6.30.1 → protobuf-6.31.0rc1}/upb/wire/encode.h +0 -0
  264. {protobuf-6.30.1 → protobuf-6.31.0rc1}/upb/wire/eps_copy_input_stream.c +0 -0
  265. {protobuf-6.30.1 → protobuf-6.31.0rc1}/upb/wire/eps_copy_input_stream.h +0 -0
  266. {protobuf-6.30.1 → protobuf-6.31.0rc1}/upb/wire/internal/constants.h +0 -0
  267. {protobuf-6.30.1 → protobuf-6.31.0rc1}/upb/wire/internal/decoder.h +0 -0
  268. {protobuf-6.30.1 → protobuf-6.31.0rc1}/upb/wire/internal/reader.h +0 -0
  269. {protobuf-6.30.1 → protobuf-6.31.0rc1}/upb/wire/reader.c +0 -0
  270. {protobuf-6.30.1 → protobuf-6.31.0rc1}/upb/wire/reader.h +0 -0
  271. {protobuf-6.30.1 → protobuf-6.31.0rc1}/upb/wire/types.h +0 -0
  272. {protobuf-6.30.1 → protobuf-6.31.0rc1}/utf8_range/utf8_range.c +0 -0
  273. {protobuf-6.30.1 → protobuf-6.31.0rc1}/utf8_range/utf8_range.h +0 -0
  274. {protobuf-6.30.1 → protobuf-6.31.0rc1}/utf8_range/utf8_range_neon.inc +0 -0
  275. {protobuf-6.30.1 → protobuf-6.31.0rc1}/utf8_range/utf8_range_sse.inc +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: protobuf
3
- Version: 6.30.1
3
+ Version: 6.31.0rc1
4
4
  Summary: Protocol Buffers
5
5
  Home-page: https://developers.google.com/protocol-buffers/
6
6
  Download-URL: https://github.com/protocolbuffers/protobuf/releases
@@ -7,4 +7,4 @@
7
7
 
8
8
  # Copyright 2007 Google Inc. All Rights Reserved.
9
9
 
10
- __version__ = '6.30.1'
10
+ __version__ = '6.31.0rc1'
@@ -7,7 +7,7 @@
7
7
 
8
8
  """Contains the Any helper APIs."""
9
9
 
10
- from typing import Optional
10
+ from typing import Optional, TypeVar
11
11
 
12
12
  from google.protobuf import descriptor
13
13
  from google.protobuf.message import Message
@@ -15,6 +15,9 @@ from google.protobuf.message import Message
15
15
  from google.protobuf.any_pb2 import Any
16
16
 
17
17
 
18
+ _MessageT = TypeVar('_MessageT', bound=Message)
19
+
20
+
18
21
  def pack(
19
22
  msg: Message,
20
23
  type_url_prefix: Optional[str] = 'type.googleapis.com/',
@@ -31,6 +34,17 @@ def unpack(any_msg: Any, msg: Message) -> bool:
31
34
  return any_msg.Unpack(msg=msg)
32
35
 
33
36
 
37
+ def unpack_as(any_msg: Any, message_type: type[_MessageT]) -> _MessageT:
38
+ unpacked = message_type()
39
+ if unpack(any_msg, unpacked):
40
+ return unpacked
41
+ else:
42
+ raise TypeError(
43
+ f'Attempted to unpack {type_name(any_msg)} to'
44
+ f' {message_type.__qualname__}'
45
+ )
46
+
47
+
34
48
  def type_name(any_msg: Any) -> str:
35
49
  return any_msg.TypeName()
36
50
 
@@ -2,7 +2,7 @@
2
2
  # Generated by the protocol buffer compiler. DO NOT EDIT!
3
3
  # NO CHECKED-IN PROTOBUF GENCODE
4
4
  # source: google/protobuf/any.proto
5
- # Protobuf Python Version: 6.30.1
5
+ # Protobuf Python Version: 6.31.0-rc1
6
6
  """Generated protocol buffer code."""
7
7
  from google.protobuf import descriptor as _descriptor
8
8
  from google.protobuf import descriptor_pool as _descriptor_pool
@@ -12,9 +12,9 @@ from google.protobuf.internal import builder as _builder
12
12
  _runtime_version.ValidateProtobufRuntimeVersion(
13
13
  _runtime_version.Domain.PUBLIC,
14
14
  6,
15
- 30,
16
- 1,
17
- '',
15
+ 31,
16
+ 0,
17
+ '-rc1',
18
18
  'google/protobuf/any.proto'
19
19
  )
20
20
  # @@protoc_insertion_point(imports)
@@ -2,7 +2,7 @@
2
2
  # Generated by the protocol buffer compiler. DO NOT EDIT!
3
3
  # NO CHECKED-IN PROTOBUF GENCODE
4
4
  # source: google/protobuf/api.proto
5
- # Protobuf Python Version: 6.30.1
5
+ # Protobuf Python Version: 6.31.0-rc1
6
6
  """Generated protocol buffer code."""
7
7
  from google.protobuf import descriptor as _descriptor
8
8
  from google.protobuf import descriptor_pool as _descriptor_pool
@@ -12,9 +12,9 @@ from google.protobuf.internal import builder as _builder
12
12
  _runtime_version.ValidateProtobufRuntimeVersion(
13
13
  _runtime_version.Domain.PUBLIC,
14
14
  6,
15
- 30,
16
- 1,
17
- '',
15
+ 31,
16
+ 0,
17
+ '-rc1',
18
18
  'google/protobuf/api.proto'
19
19
  )
20
20
  # @@protoc_insertion_point(imports)
@@ -2,7 +2,7 @@
2
2
  # Generated by the protocol buffer compiler. DO NOT EDIT!
3
3
  # NO CHECKED-IN PROTOBUF GENCODE
4
4
  # source: google/protobuf/compiler/plugin.proto
5
- # Protobuf Python Version: 6.30.1
5
+ # Protobuf Python Version: 6.31.0-rc1
6
6
  """Generated protocol buffer code."""
7
7
  from google.protobuf import descriptor as _descriptor
8
8
  from google.protobuf import descriptor_pool as _descriptor_pool
@@ -12,9 +12,9 @@ from google.protobuf.internal import builder as _builder
12
12
  _runtime_version.ValidateProtobufRuntimeVersion(
13
13
  _runtime_version.Domain.PUBLIC,
14
14
  6,
15
- 30,
16
- 1,
17
- '',
15
+ 31,
16
+ 0,
17
+ '-rc1',
18
18
  'google/protobuf/compiler/plugin.proto'
19
19
  )
20
20
  # @@protoc_insertion_point(imports)
@@ -728,6 +728,19 @@ class FieldDescriptor(DescriptorBase):
728
728
  return FieldDescriptor.LABEL_REQUIRED
729
729
  return self._label
730
730
 
731
+ @property
732
+ def is_required(self):
733
+ """Returns if the field is required."""
734
+ return (
735
+ self._GetFeatures().field_presence
736
+ == _FEATURESET_FIELD_PRESENCE_LEGACY_REQUIRED
737
+ )
738
+
739
+ @property
740
+ def is_repeated(self):
741
+ """Returns if the field is repeated."""
742
+ return self._label == FieldDescriptor.LABEL_REPEATED
743
+
731
744
  @property
732
745
  def camelcase_name(self):
733
746
  """Camelcase name of this field.
@@ -746,7 +759,7 @@ class FieldDescriptor(DescriptorBase):
746
759
  Raises:
747
760
  RuntimeError: singular field that is not linked with message nor file.
748
761
  """
749
- if self.label == FieldDescriptor.LABEL_REPEATED:
762
+ if self.is_repeated:
750
763
  return False
751
764
  if (
752
765
  self.cpp_type == FieldDescriptor.CPPTYPE_MESSAGE
@@ -763,7 +776,7 @@ class FieldDescriptor(DescriptorBase):
763
776
  @property
764
777
  def is_packed(self):
765
778
  """Returns if the field is packed."""
766
- if self.label != FieldDescriptor.LABEL_REPEATED:
779
+ if not self.is_repeated:
767
780
  return False
768
781
  field_type = self.type
769
782
  if (field_type == FieldDescriptor.TYPE_STRING or
@@ -48,6 +48,7 @@ typedef struct google_protobuf_MethodOptions { upb_Message UPB_PRIVATE(base); }
48
48
  typedef struct google_protobuf_UninterpretedOption { upb_Message UPB_PRIVATE(base); } google_protobuf_UninterpretedOption;
49
49
  typedef struct google_protobuf_UninterpretedOption_NamePart { upb_Message UPB_PRIVATE(base); } google_protobuf_UninterpretedOption_NamePart;
50
50
  typedef struct google_protobuf_FeatureSet { upb_Message UPB_PRIVATE(base); } google_protobuf_FeatureSet;
51
+ typedef struct google_protobuf_FeatureSet_VisibilityFeature { upb_Message UPB_PRIVATE(base); } google_protobuf_FeatureSet_VisibilityFeature;
51
52
  typedef struct google_protobuf_FeatureSetDefaults { upb_Message UPB_PRIVATE(base); } google_protobuf_FeatureSetDefaults;
52
53
  typedef struct google_protobuf_FeatureSetDefaults_FeatureSetEditionDefault { upb_Message UPB_PRIVATE(base); } google_protobuf_FeatureSetDefaults_FeatureSetEditionDefault;
53
54
  typedef struct google_protobuf_SourceCodeInfo { upb_Message UPB_PRIVATE(base); } google_protobuf_SourceCodeInfo;
@@ -118,6 +119,14 @@ typedef enum {
118
119
  google_protobuf_FeatureSet_NONE = 3
119
120
  } google_protobuf_FeatureSet_Utf8Validation;
120
121
 
122
+ typedef enum {
123
+ google_protobuf_FeatureSet_VisibilityFeature_DEFAULT_SYMBOL_VISIBILITY_UNKNOWN = 0,
124
+ google_protobuf_FeatureSet_VisibilityFeature_EXPORT_ALL = 1,
125
+ google_protobuf_FeatureSet_VisibilityFeature_EXPORT_TOP_LEVEL = 2,
126
+ google_protobuf_FeatureSet_VisibilityFeature_LOCAL_ALL = 3,
127
+ google_protobuf_FeatureSet_VisibilityFeature_STRICT = 4
128
+ } google_protobuf_FeatureSet_VisibilityFeature_DefaultSymbolVisibility;
129
+
121
130
  typedef enum {
122
131
  google_protobuf_FieldDescriptorProto_LABEL_OPTIONAL = 1,
123
132
  google_protobuf_FieldDescriptorProto_LABEL_REQUIRED = 2,
@@ -194,6 +203,12 @@ typedef enum {
194
203
  google_protobuf_MethodOptions_IDEMPOTENT = 2
195
204
  } google_protobuf_MethodOptions_IdempotencyLevel;
196
205
 
206
+ typedef enum {
207
+ google_protobuf_VISIBILITY_UNSET = 0,
208
+ google_protobuf_VISIBILITY_LOCAL = 1,
209
+ google_protobuf_VISIBILITY_EXPORT = 2
210
+ } google_protobuf_SymbolVisibility;
211
+
197
212
 
198
213
 
199
214
  /* google.protobuf.FileDescriptorSet */
@@ -338,35 +353,35 @@ UPB_INLINE char* google_protobuf_FileDescriptorProto_serialize_ex(const google_p
338
353
  return ptr;
339
354
  }
340
355
  UPB_INLINE void google_protobuf_FileDescriptorProto_clear_name(google_protobuf_FileDescriptorProto* msg) {
341
- const upb_MiniTableField field = {1, UPB_SIZE(52, 16), 64, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
356
+ const upb_MiniTableField field = {1, UPB_SIZE(56, 16), 64, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
342
357
  upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
343
358
  }
344
359
  UPB_INLINE upb_StringView google_protobuf_FileDescriptorProto_name(const google_protobuf_FileDescriptorProto* msg) {
345
360
  upb_StringView default_val = upb_StringView_FromString("");
346
361
  upb_StringView ret;
347
- const upb_MiniTableField field = {1, UPB_SIZE(52, 16), 64, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
362
+ const upb_MiniTableField field = {1, UPB_SIZE(56, 16), 64, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
348
363
  _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
349
364
  &default_val, &ret);
350
365
  return ret;
351
366
  }
352
367
  UPB_INLINE bool google_protobuf_FileDescriptorProto_has_name(const google_protobuf_FileDescriptorProto* msg) {
353
- const upb_MiniTableField field = {1, UPB_SIZE(52, 16), 64, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
368
+ const upb_MiniTableField field = {1, UPB_SIZE(56, 16), 64, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
354
369
  return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
355
370
  }
356
371
  UPB_INLINE void google_protobuf_FileDescriptorProto_clear_package(google_protobuf_FileDescriptorProto* msg) {
357
- const upb_MiniTableField field = {2, UPB_SIZE(60, 32), 65, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
372
+ const upb_MiniTableField field = {2, UPB_SIZE(64, 32), 65, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
358
373
  upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
359
374
  }
360
375
  UPB_INLINE upb_StringView google_protobuf_FileDescriptorProto_package(const google_protobuf_FileDescriptorProto* msg) {
361
376
  upb_StringView default_val = upb_StringView_FromString("");
362
377
  upb_StringView ret;
363
- const upb_MiniTableField field = {2, UPB_SIZE(60, 32), 65, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
378
+ const upb_MiniTableField field = {2, UPB_SIZE(64, 32), 65, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
364
379
  _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
365
380
  &default_val, &ret);
366
381
  return ret;
367
382
  }
368
383
  UPB_INLINE bool google_protobuf_FileDescriptorProto_has_package(const google_protobuf_FileDescriptorProto* msg) {
369
- const upb_MiniTableField field = {2, UPB_SIZE(60, 32), 65, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
384
+ const upb_MiniTableField field = {2, UPB_SIZE(64, 32), 65, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
370
385
  return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
371
386
  }
372
387
  UPB_INLINE void google_protobuf_FileDescriptorProto_clear_dependency(google_protobuf_FileDescriptorProto* msg) {
@@ -640,19 +655,19 @@ UPB_INLINE upb_Array* _google_protobuf_FileDescriptorProto_weak_dependency_mutab
640
655
  return arr;
641
656
  }
642
657
  UPB_INLINE void google_protobuf_FileDescriptorProto_clear_syntax(google_protobuf_FileDescriptorProto* msg) {
643
- const upb_MiniTableField field = {12, UPB_SIZE(68, 48), 68, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
658
+ const upb_MiniTableField field = {12, UPB_SIZE(72, 48), 68, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
644
659
  upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
645
660
  }
646
661
  UPB_INLINE upb_StringView google_protobuf_FileDescriptorProto_syntax(const google_protobuf_FileDescriptorProto* msg) {
647
662
  upb_StringView default_val = upb_StringView_FromString("");
648
663
  upb_StringView ret;
649
- const upb_MiniTableField field = {12, UPB_SIZE(68, 48), 68, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
664
+ const upb_MiniTableField field = {12, UPB_SIZE(72, 48), 68, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
650
665
  _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
651
666
  &default_val, &ret);
652
667
  return ret;
653
668
  }
654
669
  UPB_INLINE bool google_protobuf_FileDescriptorProto_has_syntax(const google_protobuf_FileDescriptorProto* msg) {
655
- const upb_MiniTableField field = {12, UPB_SIZE(68, 48), 68, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
670
+ const upb_MiniTableField field = {12, UPB_SIZE(72, 48), 68, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
656
671
  return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
657
672
  }
658
673
  UPB_INLINE void google_protobuf_FileDescriptorProto_clear_edition(google_protobuf_FileDescriptorProto* msg) {
@@ -671,13 +686,45 @@ UPB_INLINE bool google_protobuf_FileDescriptorProto_has_edition(const google_pro
671
686
  const upb_MiniTableField field = {14, UPB_SIZE(48, 12), 69, 6, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
672
687
  return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
673
688
  }
689
+ UPB_INLINE void google_protobuf_FileDescriptorProto_clear_option_dependency(google_protobuf_FileDescriptorProto* msg) {
690
+ const upb_MiniTableField field = {15, UPB_SIZE(52, 136), 0, kUpb_NoSub, 12, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsAlternate | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
691
+ upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
692
+ }
693
+ UPB_INLINE upb_StringView const* google_protobuf_FileDescriptorProto_option_dependency(const google_protobuf_FileDescriptorProto* msg, size_t* size) {
694
+ const upb_MiniTableField field = {15, UPB_SIZE(52, 136), 0, kUpb_NoSub, 12, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsAlternate | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
695
+ const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
696
+ if (arr) {
697
+ if (size) *size = arr->UPB_PRIVATE(size);
698
+ return (upb_StringView const*)upb_Array_DataPtr(arr);
699
+ } else {
700
+ if (size) *size = 0;
701
+ return NULL;
702
+ }
703
+ }
704
+ UPB_INLINE const upb_Array* _google_protobuf_FileDescriptorProto_option_dependency_upb_array(const google_protobuf_FileDescriptorProto* msg, size_t* size) {
705
+ const upb_MiniTableField field = {15, UPB_SIZE(52, 136), 0, kUpb_NoSub, 12, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsAlternate | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
706
+ const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
707
+ if (size) {
708
+ *size = arr ? arr->UPB_PRIVATE(size) : 0;
709
+ }
710
+ return arr;
711
+ }
712
+ UPB_INLINE upb_Array* _google_protobuf_FileDescriptorProto_option_dependency_mutable_upb_array(google_protobuf_FileDescriptorProto* msg, size_t* size, upb_Arena* arena) {
713
+ const upb_MiniTableField field = {15, UPB_SIZE(52, 136), 0, kUpb_NoSub, 12, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsAlternate | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
714
+ upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg),
715
+ &field, arena);
716
+ if (size) {
717
+ *size = arr ? arr->UPB_PRIVATE(size) : 0;
718
+ }
719
+ return arr;
720
+ }
674
721
 
675
722
  UPB_INLINE void google_protobuf_FileDescriptorProto_set_name(google_protobuf_FileDescriptorProto *msg, upb_StringView value) {
676
- const upb_MiniTableField field = {1, UPB_SIZE(52, 16), 64, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
723
+ const upb_MiniTableField field = {1, UPB_SIZE(56, 16), 64, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
677
724
  upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
678
725
  }
679
726
  UPB_INLINE void google_protobuf_FileDescriptorProto_set_package(google_protobuf_FileDescriptorProto *msg, upb_StringView value) {
680
- const upb_MiniTableField field = {2, UPB_SIZE(60, 32), 65, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
727
+ const upb_MiniTableField field = {2, UPB_SIZE(64, 32), 65, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
681
728
  upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
682
729
  }
683
730
  UPB_INLINE upb_StringView* google_protobuf_FileDescriptorProto_mutable_dependency(google_protobuf_FileDescriptorProto* msg, size_t* size) {
@@ -919,13 +966,41 @@ UPB_INLINE bool google_protobuf_FileDescriptorProto_add_weak_dependency(google_p
919
966
  return true;
920
967
  }
921
968
  UPB_INLINE void google_protobuf_FileDescriptorProto_set_syntax(google_protobuf_FileDescriptorProto *msg, upb_StringView value) {
922
- const upb_MiniTableField field = {12, UPB_SIZE(68, 48), 68, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
969
+ const upb_MiniTableField field = {12, UPB_SIZE(72, 48), 68, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
923
970
  upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
924
971
  }
925
972
  UPB_INLINE void google_protobuf_FileDescriptorProto_set_edition(google_protobuf_FileDescriptorProto *msg, int32_t value) {
926
973
  const upb_MiniTableField field = {14, UPB_SIZE(48, 12), 69, 6, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
927
974
  upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
928
975
  }
976
+ UPB_INLINE upb_StringView* google_protobuf_FileDescriptorProto_mutable_option_dependency(google_protobuf_FileDescriptorProto* msg, size_t* size) {
977
+ upb_MiniTableField field = {15, UPB_SIZE(52, 136), 0, kUpb_NoSub, 12, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsAlternate | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
978
+ upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field);
979
+ if (arr) {
980
+ if (size) *size = arr->UPB_PRIVATE(size);
981
+ return (upb_StringView*)upb_Array_MutableDataPtr(arr);
982
+ } else {
983
+ if (size) *size = 0;
984
+ return NULL;
985
+ }
986
+ }
987
+ UPB_INLINE upb_StringView* google_protobuf_FileDescriptorProto_resize_option_dependency(google_protobuf_FileDescriptorProto* msg, size_t size, upb_Arena* arena) {
988
+ upb_MiniTableField field = {15, UPB_SIZE(52, 136), 0, kUpb_NoSub, 12, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsAlternate | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
989
+ return (upb_StringView*)upb_Message_ResizeArrayUninitialized(UPB_UPCAST(msg),
990
+ &field, size, arena);
991
+ }
992
+ UPB_INLINE bool google_protobuf_FileDescriptorProto_add_option_dependency(google_protobuf_FileDescriptorProto* msg, upb_StringView val, upb_Arena* arena) {
993
+ upb_MiniTableField field = {15, UPB_SIZE(52, 136), 0, kUpb_NoSub, 12, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsAlternate | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
994
+ upb_Array* arr = upb_Message_GetOrCreateMutableArray(
995
+ UPB_UPCAST(msg), &field, arena);
996
+ if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)(
997
+ arr, arr->UPB_PRIVATE(size) + 1, arena)) {
998
+ return false;
999
+ }
1000
+ UPB_PRIVATE(_upb_Array_Set)
1001
+ (arr, arr->UPB_PRIVATE(size) - 1, &val, sizeof(val));
1002
+ return true;
1003
+ }
929
1004
 
930
1005
  /* google.protobuf.DescriptorProto */
931
1006
 
@@ -964,19 +1039,19 @@ UPB_INLINE char* google_protobuf_DescriptorProto_serialize_ex(const google_proto
964
1039
  return ptr;
965
1040
  }
966
1041
  UPB_INLINE void google_protobuf_DescriptorProto_clear_name(google_protobuf_DescriptorProto* msg) {
967
- const upb_MiniTableField field = {1, UPB_SIZE(48, 16), 64, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
1042
+ const upb_MiniTableField field = {1, UPB_SIZE(52, 16), 64, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
968
1043
  upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
969
1044
  }
970
1045
  UPB_INLINE upb_StringView google_protobuf_DescriptorProto_name(const google_protobuf_DescriptorProto* msg) {
971
1046
  upb_StringView default_val = upb_StringView_FromString("");
972
1047
  upb_StringView ret;
973
- const upb_MiniTableField field = {1, UPB_SIZE(48, 16), 64, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
1048
+ const upb_MiniTableField field = {1, UPB_SIZE(52, 16), 64, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
974
1049
  _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
975
1050
  &default_val, &ret);
976
1051
  return ret;
977
1052
  }
978
1053
  UPB_INLINE bool google_protobuf_DescriptorProto_has_name(const google_protobuf_DescriptorProto* msg) {
979
- const upb_MiniTableField field = {1, UPB_SIZE(48, 16), 64, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
1054
+ const upb_MiniTableField field = {1, UPB_SIZE(52, 16), 64, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
980
1055
  return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
981
1056
  }
982
1057
  UPB_INLINE void google_protobuf_DescriptorProto_clear_field(google_protobuf_DescriptorProto* msg) {
@@ -1273,9 +1348,25 @@ UPB_INLINE upb_Array* _google_protobuf_DescriptorProto_reserved_name_mutable_upb
1273
1348
  }
1274
1349
  return arr;
1275
1350
  }
1351
+ UPB_INLINE void google_protobuf_DescriptorProto_clear_visibility(google_protobuf_DescriptorProto* msg) {
1352
+ const upb_MiniTableField field = {11, UPB_SIZE(48, 12), 66, 8, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
1353
+ upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
1354
+ }
1355
+ UPB_INLINE int32_t google_protobuf_DescriptorProto_visibility(const google_protobuf_DescriptorProto* msg) {
1356
+ int32_t default_val = 0;
1357
+ int32_t ret;
1358
+ const upb_MiniTableField field = {11, UPB_SIZE(48, 12), 66, 8, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
1359
+ _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
1360
+ &default_val, &ret);
1361
+ return ret;
1362
+ }
1363
+ UPB_INLINE bool google_protobuf_DescriptorProto_has_visibility(const google_protobuf_DescriptorProto* msg) {
1364
+ const upb_MiniTableField field = {11, UPB_SIZE(48, 12), 66, 8, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
1365
+ return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
1366
+ }
1276
1367
 
1277
1368
  UPB_INLINE void google_protobuf_DescriptorProto_set_name(google_protobuf_DescriptorProto *msg, upb_StringView value) {
1278
- const upb_MiniTableField field = {1, UPB_SIZE(48, 16), 64, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
1369
+ const upb_MiniTableField field = {1, UPB_SIZE(52, 16), 64, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
1279
1370
  upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
1280
1371
  }
1281
1372
  UPB_INLINE google_protobuf_FieldDescriptorProto** google_protobuf_DescriptorProto_mutable_field(google_protobuf_DescriptorProto* msg, size_t* size) {
@@ -1543,6 +1634,10 @@ UPB_INLINE bool google_protobuf_DescriptorProto_add_reserved_name(google_protobu
1543
1634
  (arr, arr->UPB_PRIVATE(size) - 1, &val, sizeof(val));
1544
1635
  return true;
1545
1636
  }
1637
+ UPB_INLINE void google_protobuf_DescriptorProto_set_visibility(google_protobuf_DescriptorProto *msg, int32_t value) {
1638
+ const upb_MiniTableField field = {11, UPB_SIZE(48, 12), 66, 8, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
1639
+ upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
1640
+ }
1546
1641
 
1547
1642
  /* google.protobuf.DescriptorProto.ExtensionRange */
1548
1643
 
@@ -2483,19 +2578,19 @@ UPB_INLINE char* google_protobuf_EnumDescriptorProto_serialize_ex(const google_p
2483
2578
  return ptr;
2484
2579
  }
2485
2580
  UPB_INLINE void google_protobuf_EnumDescriptorProto_clear_name(google_protobuf_EnumDescriptorProto* msg) {
2486
- const upb_MiniTableField field = {1, UPB_SIZE(28, 16), 64, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
2581
+ const upb_MiniTableField field = {1, UPB_SIZE(32, 16), 64, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
2487
2582
  upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
2488
2583
  }
2489
2584
  UPB_INLINE upb_StringView google_protobuf_EnumDescriptorProto_name(const google_protobuf_EnumDescriptorProto* msg) {
2490
2585
  upb_StringView default_val = upb_StringView_FromString("");
2491
2586
  upb_StringView ret;
2492
- const upb_MiniTableField field = {1, UPB_SIZE(28, 16), 64, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
2587
+ const upb_MiniTableField field = {1, UPB_SIZE(32, 16), 64, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
2493
2588
  _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
2494
2589
  &default_val, &ret);
2495
2590
  return ret;
2496
2591
  }
2497
2592
  UPB_INLINE bool google_protobuf_EnumDescriptorProto_has_name(const google_protobuf_EnumDescriptorProto* msg) {
2498
- const upb_MiniTableField field = {1, UPB_SIZE(28, 16), 64, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
2593
+ const upb_MiniTableField field = {1, UPB_SIZE(32, 16), 64, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
2499
2594
  return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
2500
2595
  }
2501
2596
  UPB_INLINE void google_protobuf_EnumDescriptorProto_clear_value(google_protobuf_EnumDescriptorProto* msg) {
@@ -2617,9 +2712,25 @@ UPB_INLINE upb_Array* _google_protobuf_EnumDescriptorProto_reserved_name_mutable
2617
2712
  }
2618
2713
  return arr;
2619
2714
  }
2715
+ UPB_INLINE void google_protobuf_EnumDescriptorProto_clear_visibility(google_protobuf_EnumDescriptorProto* msg) {
2716
+ const upb_MiniTableField field = {6, UPB_SIZE(28, 12), 66, 3, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
2717
+ upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
2718
+ }
2719
+ UPB_INLINE int32_t google_protobuf_EnumDescriptorProto_visibility(const google_protobuf_EnumDescriptorProto* msg) {
2720
+ int32_t default_val = 0;
2721
+ int32_t ret;
2722
+ const upb_MiniTableField field = {6, UPB_SIZE(28, 12), 66, 3, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
2723
+ _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
2724
+ &default_val, &ret);
2725
+ return ret;
2726
+ }
2727
+ UPB_INLINE bool google_protobuf_EnumDescriptorProto_has_visibility(const google_protobuf_EnumDescriptorProto* msg) {
2728
+ const upb_MiniTableField field = {6, UPB_SIZE(28, 12), 66, 3, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
2729
+ return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
2730
+ }
2620
2731
 
2621
2732
  UPB_INLINE void google_protobuf_EnumDescriptorProto_set_name(google_protobuf_EnumDescriptorProto *msg, upb_StringView value) {
2622
- const upb_MiniTableField field = {1, UPB_SIZE(28, 16), 64, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
2733
+ const upb_MiniTableField field = {1, UPB_SIZE(32, 16), 64, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
2623
2734
  upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
2624
2735
  }
2625
2736
  UPB_INLINE google_protobuf_EnumValueDescriptorProto** google_protobuf_EnumDescriptorProto_mutable_value(google_protobuf_EnumDescriptorProto* msg, size_t* size) {
@@ -2727,6 +2838,10 @@ UPB_INLINE bool google_protobuf_EnumDescriptorProto_add_reserved_name(google_pro
2727
2838
  (arr, arr->UPB_PRIVATE(size) - 1, &val, sizeof(val));
2728
2839
  return true;
2729
2840
  }
2841
+ UPB_INLINE void google_protobuf_EnumDescriptorProto_set_visibility(google_protobuf_EnumDescriptorProto *msg, int32_t value) {
2842
+ const upb_MiniTableField field = {6, UPB_SIZE(28, 12), 66, 3, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
2843
+ upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
2844
+ }
2730
2845
 
2731
2846
  /* google.protobuf.EnumDescriptorProto.EnumReservedRange */
2732
2847
 
@@ -5971,6 +6086,22 @@ UPB_INLINE bool google_protobuf_FeatureSet_has_enforce_naming_style(const google
5971
6086
  const upb_MiniTableField field = {7, 36, 70, 6, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
5972
6087
  return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
5973
6088
  }
6089
+ UPB_INLINE void google_protobuf_FeatureSet_clear_default_symbol_visibility(google_protobuf_FeatureSet* msg) {
6090
+ const upb_MiniTableField field = {8, 40, 71, 7, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
6091
+ upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
6092
+ }
6093
+ UPB_INLINE int32_t google_protobuf_FeatureSet_default_symbol_visibility(const google_protobuf_FeatureSet* msg) {
6094
+ int32_t default_val = 0;
6095
+ int32_t ret;
6096
+ const upb_MiniTableField field = {8, 40, 71, 7, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
6097
+ _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
6098
+ &default_val, &ret);
6099
+ return ret;
6100
+ }
6101
+ UPB_INLINE bool google_protobuf_FeatureSet_has_default_symbol_visibility(const google_protobuf_FeatureSet* msg) {
6102
+ const upb_MiniTableField field = {8, 40, 71, 7, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
6103
+ return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
6104
+ }
5974
6105
 
5975
6106
  UPB_INLINE void google_protobuf_FeatureSet_set_field_presence(google_protobuf_FeatureSet *msg, int32_t value) {
5976
6107
  const upb_MiniTableField field = {1, 12, 64, 0, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
@@ -6000,6 +6131,48 @@ UPB_INLINE void google_protobuf_FeatureSet_set_enforce_naming_style(google_proto
6000
6131
  const upb_MiniTableField field = {7, 36, 70, 6, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
6001
6132
  upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
6002
6133
  }
6134
+ UPB_INLINE void google_protobuf_FeatureSet_set_default_symbol_visibility(google_protobuf_FeatureSet *msg, int32_t value) {
6135
+ const upb_MiniTableField field = {8, 40, 71, 7, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
6136
+ upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
6137
+ }
6138
+
6139
+ /* google.protobuf.FeatureSet.VisibilityFeature */
6140
+
6141
+ UPB_INLINE google_protobuf_FeatureSet_VisibilityFeature* google_protobuf_FeatureSet_VisibilityFeature_new(upb_Arena* arena) {
6142
+ return (google_protobuf_FeatureSet_VisibilityFeature*)_upb_Message_New(&google__protobuf__FeatureSet__VisibilityFeature_msg_init, arena);
6143
+ }
6144
+ UPB_INLINE google_protobuf_FeatureSet_VisibilityFeature* google_protobuf_FeatureSet_VisibilityFeature_parse(const char* buf, size_t size, upb_Arena* arena) {
6145
+ google_protobuf_FeatureSet_VisibilityFeature* ret = google_protobuf_FeatureSet_VisibilityFeature_new(arena);
6146
+ if (!ret) return NULL;
6147
+ if (upb_Decode(buf, size, UPB_UPCAST(ret), &google__protobuf__FeatureSet__VisibilityFeature_msg_init, NULL, 0, arena) !=
6148
+ kUpb_DecodeStatus_Ok) {
6149
+ return NULL;
6150
+ }
6151
+ return ret;
6152
+ }
6153
+ UPB_INLINE google_protobuf_FeatureSet_VisibilityFeature* google_protobuf_FeatureSet_VisibilityFeature_parse_ex(const char* buf, size_t size,
6154
+ const upb_ExtensionRegistry* extreg,
6155
+ int options, upb_Arena* arena) {
6156
+ google_protobuf_FeatureSet_VisibilityFeature* ret = google_protobuf_FeatureSet_VisibilityFeature_new(arena);
6157
+ if (!ret) return NULL;
6158
+ if (upb_Decode(buf, size, UPB_UPCAST(ret), &google__protobuf__FeatureSet__VisibilityFeature_msg_init, extreg, options,
6159
+ arena) != kUpb_DecodeStatus_Ok) {
6160
+ return NULL;
6161
+ }
6162
+ return ret;
6163
+ }
6164
+ UPB_INLINE char* google_protobuf_FeatureSet_VisibilityFeature_serialize(const google_protobuf_FeatureSet_VisibilityFeature* msg, upb_Arena* arena, size_t* len) {
6165
+ char* ptr;
6166
+ (void)upb_Encode(UPB_UPCAST(msg), &google__protobuf__FeatureSet__VisibilityFeature_msg_init, 0, arena, &ptr, len);
6167
+ return ptr;
6168
+ }
6169
+ UPB_INLINE char* google_protobuf_FeatureSet_VisibilityFeature_serialize_ex(const google_protobuf_FeatureSet_VisibilityFeature* msg, int options,
6170
+ upb_Arena* arena, size_t* len) {
6171
+ char* ptr;
6172
+ (void)upb_Encode(UPB_UPCAST(msg), &google__protobuf__FeatureSet__VisibilityFeature_msg_init, options, arena, &ptr, len);
6173
+ return ptr;
6174
+ }
6175
+
6003
6176
 
6004
6177
  /* google.protobuf.FeatureSetDefaults */
6005
6178