grpc 1.62.0 → 1.63.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (975) hide show
  1. checksums.yaml +4 -4
  2. data/Makefile +415 -1962
  3. data/include/grpc/byte_buffer.h +1 -2
  4. data/include/grpc/census.h +1 -2
  5. data/include/grpc/compression.h +1 -2
  6. data/include/grpc/event_engine/endpoint_config.h +2 -2
  7. data/include/grpc/event_engine/event_engine.h +4 -2
  8. data/include/grpc/event_engine/extensible.h +2 -2
  9. data/include/grpc/event_engine/internal/memory_allocator_impl.h +1 -2
  10. data/include/grpc/event_engine/memory_allocator.h +1 -2
  11. data/include/grpc/event_engine/memory_request.h +2 -2
  12. data/include/grpc/event_engine/slice.h +1 -2
  13. data/include/grpc/event_engine/slice_buffer.h +1 -2
  14. data/include/grpc/grpc.h +1 -8
  15. data/include/grpc/grpc_audit_logging.h +1 -2
  16. data/include/grpc/grpc_crl_provider.h +2 -2
  17. data/include/grpc/grpc_cronet.h +1 -2
  18. data/include/grpc/grpc_posix.h +1 -2
  19. data/include/grpc/grpc_security.h +1 -2
  20. data/include/grpc/impl/call.h +1 -2
  21. data/include/grpc/impl/channel_arg_names.h +4 -0
  22. data/include/grpc/impl/grpc_types.h +1 -2
  23. data/include/grpc/impl/slice_type.h +2 -2
  24. data/include/grpc/module.modulemap +1 -0
  25. data/include/grpc/slice.h +1 -2
  26. data/include/grpc/slice_buffer.h +1 -2
  27. data/include/grpc/support/alloc.h +2 -2
  28. data/include/grpc/support/json.h +2 -2
  29. data/include/grpc/support/log.h +2 -2
  30. data/include/grpc/support/metrics.h +51 -0
  31. data/include/grpc/support/string_util.h +0 -1
  32. data/include/grpc/support/sync.h +0 -1
  33. data/include/grpc/support/sync_abseil.h +0 -1
  34. data/include/grpc/support/sync_custom.h +0 -1
  35. data/include/grpc/support/sync_generic.h +1 -2
  36. data/include/grpc/support/sync_posix.h +1 -2
  37. data/include/grpc/support/time.h +2 -2
  38. data/src/core/client_channel/client_channel_channelz.h +1 -1
  39. data/src/core/client_channel/client_channel_filter.cc +48 -38
  40. data/src/core/client_channel/client_channel_filter.h +6 -14
  41. data/src/core/client_channel/client_channel_internal.h +1 -1
  42. data/src/core/client_channel/client_channel_service_config.h +4 -3
  43. data/src/core/client_channel/config_selector.h +1 -1
  44. data/src/core/client_channel/dynamic_filters.h +1 -1
  45. data/src/core/client_channel/http_proxy_mapper.cc +3 -4
  46. data/src/core/client_channel/http_proxy_mapper.h +1 -1
  47. data/src/core/client_channel/retry_filter.h +1 -1
  48. data/src/core/client_channel/retry_filter_legacy_call_data.cc +1 -1
  49. data/src/core/client_channel/retry_filter_legacy_call_data.h +9 -9
  50. data/src/core/client_channel/retry_service_config.h +3 -3
  51. data/src/core/client_channel/retry_throttle.h +3 -2
  52. data/src/core/client_channel/subchannel.cc +2 -2
  53. data/src/core/client_channel/subchannel.h +7 -7
  54. data/src/core/client_channel/subchannel_pool_interface.h +1 -1
  55. data/src/core/client_channel/subchannel_stream_client.cc +1 -5
  56. data/src/core/client_channel/subchannel_stream_client.h +2 -2
  57. data/src/core/ext/filters/backend_metrics/backend_metric_filter.cc +3 -49
  58. data/src/core/ext/filters/backend_metrics/backend_metric_filter.h +0 -12
  59. data/src/core/ext/filters/channel_idle/legacy_channel_idle_filter.cc +4 -10
  60. data/src/core/ext/filters/http/http_filters_plugin.cc +15 -35
  61. data/src/core/ext/filters/http/message_compress/compression_filter.cc +8 -7
  62. data/src/core/ext/filters/http/message_compress/compression_filter.h +2 -1
  63. data/src/core/ext/filters/http/server/http_server_filter.cc +1 -1
  64. data/src/core/ext/filters/message_size/message_size_filter.cc +15 -10
  65. data/src/core/ext/filters/rbac/rbac_filter.cc +4 -11
  66. data/src/core/ext/filters/rbac/rbac_service_config_parser.cc +2 -2
  67. data/src/core/ext/filters/server_config_selector/server_config_selector_filter.cc +1 -0
  68. data/src/core/ext/transport/chttp2/client/chttp2_connector.cc +4 -9
  69. data/src/core/ext/transport/chttp2/server/chttp2_server.cc +38 -1
  70. data/src/core/ext/transport/chttp2/transport/chttp2_transport.cc +27 -76
  71. data/src/core/ext/transport/chttp2/transport/chttp2_transport.h +23 -4
  72. data/src/core/ext/transport/chttp2/transport/context_list_entry.h +13 -10
  73. data/src/core/ext/transport/chttp2/transport/hpack_parser.cc +37 -76
  74. data/src/core/ext/transport/chttp2/transport/hpack_parser.h +2 -2
  75. data/src/core/ext/transport/chttp2/transport/internal.h +4 -2
  76. data/src/core/ext/transport/chttp2/transport/parsing.cc +5 -10
  77. data/src/core/ext/transport/chttp2/transport/writing.cc +34 -31
  78. data/src/core/ext/transport/inproc/inproc_transport.cc +6 -4
  79. data/src/core/ext/transport/inproc/legacy_inproc_transport.cc +9 -8
  80. data/src/core/ext/upb-gen/envoy/admin/v3/certs.upb.h +243 -230
  81. data/src/core/ext/upb-gen/envoy/admin/v3/certs.upb_minitable.c +42 -48
  82. data/src/core/ext/upb-gen/envoy/admin/v3/clusters.upb.h +289 -265
  83. data/src/core/ext/upb-gen/envoy/admin/v3/clusters.upb_minitable.c +62 -70
  84. data/src/core/ext/upb-gen/envoy/admin/v3/config_dump.upb.h +238 -226
  85. data/src/core/ext/upb-gen/envoy/admin/v3/config_dump.upb_minitable.c +42 -50
  86. data/src/core/ext/upb-gen/envoy/admin/v3/config_dump_shared.upb.h +937 -882
  87. data/src/core/ext/upb-gen/envoy/admin/v3/config_dump_shared.upb_minitable.c +182 -208
  88. data/src/core/ext/upb-gen/envoy/admin/v3/init_dump.upb.h +77 -76
  89. data/src/core/ext/upb-gen/envoy/admin/v3/init_dump.upb_minitable.c +9 -9
  90. data/src/core/ext/upb-gen/envoy/admin/v3/listeners.upb.h +86 -84
  91. data/src/core/ext/upb-gen/envoy/admin/v3/listeners.upb_minitable.c +13 -13
  92. data/src/core/ext/upb-gen/envoy/admin/v3/memory.upb.h +49 -42
  93. data/src/core/ext/upb-gen/envoy/admin/v3/memory.upb_minitable.c +13 -13
  94. data/src/core/ext/upb-gen/envoy/admin/v3/metrics.upb.h +28 -24
  95. data/src/core/ext/upb-gen/envoy/admin/v3/metrics.upb_minitable.c +7 -7
  96. data/src/core/ext/upb-gen/envoy/admin/v3/mutex_stats.upb.h +28 -24
  97. data/src/core/ext/upb-gen/envoy/admin/v3/mutex_stats.upb_minitable.c +7 -7
  98. data/src/core/ext/upb-gen/envoy/admin/v3/server_info.upb.h +357 -318
  99. data/src/core/ext/upb-gen/envoy/admin/v3/server_info.upb_minitable.c +86 -86
  100. data/src/core/ext/upb-gen/envoy/admin/v3/tap.upb.h +23 -20
  101. data/src/core/ext/upb-gen/envoy/admin/v3/tap.upb_minitable.c +5 -7
  102. data/src/core/ext/upb-gen/envoy/annotations/deprecation.upb.h +40 -32
  103. data/src/core/ext/upb-gen/envoy/annotations/deprecation.upb_minitable.c +4 -4
  104. data/src/core/ext/upb-gen/envoy/annotations/resource.upb.h +24 -20
  105. data/src/core/ext/upb-gen/envoy/annotations/resource.upb_minitable.c +4 -4
  106. data/src/core/ext/upb-gen/envoy/config/accesslog/v3/accesslog.upb.h +517 -473
  107. data/src/core/ext/upb-gen/envoy/config/accesslog/v3/accesslog.upb_minitable.c +105 -125
  108. data/src/core/ext/upb-gen/envoy/config/bootstrap/v3/bootstrap.upb.h +1207 -1108
  109. data/src/core/ext/upb-gen/envoy/config/bootstrap/v3/bootstrap.upb_minitable.c +261 -289
  110. data/src/core/ext/upb-gen/envoy/config/cluster/v3/circuit_breaker.upb.h +163 -152
  111. data/src/core/ext/upb-gen/envoy/config/cluster/v3/circuit_breaker.upb_minitable.c +29 -43
  112. data/src/core/ext/upb-gen/envoy/config/cluster/v3/cluster.upb.h +1265 -1137
  113. data/src/core/ext/upb-gen/envoy/config/cluster/v3/cluster.upb_minitable.c +276 -346
  114. data/src/core/ext/upb-gen/envoy/config/cluster/v3/filter.upb.h +32 -28
  115. data/src/core/ext/upb-gen/envoy/config/cluster/v3/filter.upb_minitable.c +7 -9
  116. data/src/core/ext/upb-gen/envoy/config/cluster/v3/outlier_detection.upb.h +212 -188
  117. data/src/core/ext/upb-gen/envoy/config/cluster/v3/outlier_detection.upb_minitable.c +53 -69
  118. data/src/core/ext/upb-gen/envoy/config/common/matcher/v3/matcher.upb.h +564 -508
  119. data/src/core/ext/upb-gen/envoy/config/common/matcher/v3/matcher.upb_minitable.c +123 -131
  120. data/src/core/ext/upb-gen/envoy/config/core/v3/address.upb.h +340 -309
  121. data/src/core/ext/upb-gen/envoy/config/core/v3/address.upb_minitable.c +69 -83
  122. data/src/core/ext/upb-gen/envoy/config/core/v3/backoff.upb.h +25 -22
  123. data/src/core/ext/upb-gen/envoy/config/core/v3/backoff.upb_minitable.c +5 -11
  124. data/src/core/ext/upb-gen/envoy/config/core/v3/base.upb.h +786 -688
  125. data/src/core/ext/upb-gen/envoy/config/core/v3/base.upb_minitable.c +171 -189
  126. data/src/core/ext/upb-gen/envoy/config/core/v3/config_source.upb.h +367 -343
  127. data/src/core/ext/upb-gen/envoy/config/core/v3/config_source.upb_minitable.c +72 -80
  128. data/src/core/ext/upb-gen/envoy/config/core/v3/event_service_config.upb.h +19 -16
  129. data/src/core/ext/upb-gen/envoy/config/core/v3/event_service_config.upb_minitable.c +4 -4
  130. data/src/core/ext/upb-gen/envoy/config/core/v3/extension.upb.h +23 -20
  131. data/src/core/ext/upb-gen/envoy/config/core/v3/extension.upb_minitable.c +5 -7
  132. data/src/core/ext/upb-gen/envoy/config/core/v3/grpc_method_list.upb.h +77 -76
  133. data/src/core/ext/upb-gen/envoy/config/core/v3/grpc_method_list.upb_minitable.c +9 -9
  134. data/src/core/ext/upb-gen/envoy/config/core/v3/grpc_service.upb.h +539 -471
  135. data/src/core/ext/upb-gen/envoy/config/core/v3/grpc_service.upb_minitable.c +125 -141
  136. data/src/core/ext/upb-gen/envoy/config/core/v3/health_check.upb.h +672 -632
  137. data/src/core/ext/upb-gen/envoy/config/core/v3/health_check.upb_minitable.c +137 -137
  138. data/src/core/ext/upb-gen/envoy/config/core/v3/http_service.upb.h +44 -43
  139. data/src/core/ext/upb-gen/envoy/config/core/v3/http_service.upb_minitable.c +7 -7
  140. data/src/core/ext/upb-gen/envoy/config/core/v3/http_uri.upb.h +35 -30
  141. data/src/core/ext/upb-gen/envoy/config/core/v3/http_uri.upb_minitable.c +8 -8
  142. data/src/core/ext/upb-gen/envoy/config/core/v3/protocol.upb.h +713 -637
  143. data/src/core/ext/upb-gen/envoy/config/core/v3/protocol.upb_minitable.c +166 -208
  144. data/src/core/ext/upb-gen/envoy/config/core/v3/proxy_protocol.upb.h +65 -61
  145. data/src/core/ext/upb-gen/envoy/config/core/v3/proxy_protocol.upb_minitable.c +10 -12
  146. data/src/core/ext/upb-gen/envoy/config/core/v3/resolver.upb.h +65 -61
  147. data/src/core/ext/upb-gen/envoy/config/core/v3/resolver.upb_minitable.c +11 -13
  148. data/src/core/ext/upb-gen/envoy/config/core/v3/socket_option.upb.h +91 -83
  149. data/src/core/ext/upb-gen/envoy/config/core/v3/socket_option.upb_minitable.c +17 -17
  150. data/src/core/ext/upb-gen/envoy/config/core/v3/substitution_format_string.upb.h +102 -93
  151. data/src/core/ext/upb-gen/envoy/config/core/v3/substitution_format_string.upb_minitable.c +22 -22
  152. data/src/core/ext/upb-gen/envoy/config/core/v3/udp_socket_config.upb.h +25 -22
  153. data/src/core/ext/upb-gen/envoy/config/core/v3/udp_socket_config.upb_minitable.c +5 -11
  154. data/src/core/ext/upb-gen/envoy/config/endpoint/v3/endpoint.upb.h +162 -145
  155. data/src/core/ext/upb-gen/envoy/config/endpoint/v3/endpoint.upb_minitable.c +32 -40
  156. data/src/core/ext/upb-gen/envoy/config/endpoint/v3/endpoint_components.upb.h +314 -287
  157. data/src/core/ext/upb-gen/envoy/config/endpoint/v3/endpoint_components.upb_minitable.c +70 -74
  158. data/src/core/ext/upb-gen/envoy/config/endpoint/v3/load_report.upb.h +330 -309
  159. data/src/core/ext/upb-gen/envoy/config/endpoint/v3/load_report.upb_minitable.c +66 -66
  160. data/src/core/ext/upb-gen/envoy/config/listener/v3/api_listener.upb.h +16 -14
  161. data/src/core/ext/upb-gen/envoy/config/listener/v3/api_listener.upb_minitable.c +3 -7
  162. data/src/core/ext/upb-gen/envoy/config/listener/v3/listener.upb.h +516 -478
  163. data/src/core/ext/upb-gen/envoy/config/listener/v3/listener.upb_minitable.c +110 -120
  164. data/src/core/ext/upb-gen/envoy/config/listener/v3/listener_components.upb.h +495 -468
  165. data/src/core/ext/upb-gen/envoy/config/listener/v3/listener_components.upb_minitable.c +89 -101
  166. data/src/core/ext/upb-gen/envoy/config/listener/v3/quic_config.upb.h +88 -78
  167. data/src/core/ext/upb-gen/envoy/config/listener/v3/quic_config.upb_minitable.c +19 -37
  168. data/src/core/ext/upb-gen/envoy/config/listener/v3/udp_listener_config.upb.h +41 -36
  169. data/src/core/ext/upb-gen/envoy/config/listener/v3/udp_listener_config.upb_minitable.c +8 -26
  170. data/src/core/ext/upb-gen/envoy/config/metrics/v3/metrics_service.upb.h +46 -40
  171. data/src/core/ext/upb-gen/envoy/config/metrics/v3/metrics_service.upb_minitable.c +13 -13
  172. data/src/core/ext/upb-gen/envoy/config/metrics/v3/stats.upb.h +307 -279
  173. data/src/core/ext/upb-gen/envoy/config/metrics/v3/stats.upb_minitable.c +60 -64
  174. data/src/core/ext/upb-gen/envoy/config/overload/v3/overload.upb.h +382 -358
  175. data/src/core/ext/upb-gen/envoy/config/overload/v3/overload.upb_minitable.c +70 -70
  176. data/src/core/ext/upb-gen/envoy/config/rbac/v3/rbac.upb.h +540 -490
  177. data/src/core/ext/upb-gen/envoy/config/rbac/v3/rbac.upb_minitable.c +122 -136
  178. data/src/core/ext/upb-gen/envoy/config/route/v3/route.upb.h +339 -327
  179. data/src/core/ext/upb-gen/envoy/config/route/v3/route.upb_minitable.c +48 -70
  180. data/src/core/ext/upb-gen/envoy/config/route/v3/route_components.upb.h +3407 -3145
  181. data/src/core/ext/upb-gen/envoy/config/route/v3/route_components.upb_minitable.c +700 -752
  182. data/src/core/ext/upb-gen/envoy/config/route/v3/scoped_route.upb.h +100 -91
  183. data/src/core/ext/upb-gen/envoy/config/route/v3/scoped_route.upb_minitable.c +20 -20
  184. data/src/core/ext/upb-gen/envoy/config/tap/v3/common.upb.h +472 -430
  185. data/src/core/ext/upb-gen/envoy/config/tap/v3/common.upb_minitable.c +102 -116
  186. data/src/core/ext/upb-gen/envoy/config/trace/v3/datadog.upb.h +28 -24
  187. data/src/core/ext/upb-gen/envoy/config/trace/v3/datadog.upb_minitable.c +7 -7
  188. data/src/core/ext/upb-gen/envoy/config/trace/v3/dynamic_ot.upb.h +23 -20
  189. data/src/core/ext/upb-gen/envoy/config/trace/v3/dynamic_ot.upb_minitable.c +5 -7
  190. data/src/core/ext/upb-gen/envoy/config/trace/v3/http_tracer.upb.h +42 -36
  191. data/src/core/ext/upb-gen/envoy/config/trace/v3/http_tracer.upb_minitable.c +9 -13
  192. data/src/core/ext/upb-gen/envoy/config/trace/v3/lightstep.upb.h +58 -55
  193. data/src/core/ext/upb-gen/envoy/config/trace/v3/lightstep.upb_minitable.c +9 -13
  194. data/src/core/ext/upb-gen/envoy/config/trace/v3/opencensus.upb.h +146 -136
  195. data/src/core/ext/upb-gen/envoy/config/trace/v3/opencensus.upb_minitable.c +30 -30
  196. data/src/core/ext/upb-gen/envoy/config/trace/v3/opentelemetry.upb.h +69 -65
  197. data/src/core/ext/upb-gen/envoy/config/trace/v3/opentelemetry.upb_minitable.c +15 -15
  198. data/src/core/ext/upb-gen/envoy/config/trace/v3/service.upb.h +16 -14
  199. data/src/core/ext/upb-gen/envoy/config/trace/v3/service.upb_minitable.c +3 -7
  200. data/src/core/ext/upb-gen/envoy/config/trace/v3/skywalking.upb.h +67 -58
  201. data/src/core/ext/upb-gen/envoy/config/trace/v3/skywalking.upb_minitable.c +14 -24
  202. data/src/core/ext/upb-gen/envoy/config/trace/v3/xray.upb.h +64 -56
  203. data/src/core/ext/upb-gen/envoy/config/trace/v3/xray.upb_minitable.c +14 -20
  204. data/src/core/ext/upb-gen/envoy/config/trace/v3/zipkin.upb.h +58 -50
  205. data/src/core/ext/upb-gen/envoy/config/trace/v3/zipkin.upb_minitable.c +16 -16
  206. data/src/core/ext/upb-gen/envoy/data/accesslog/v3/accesslog.upb.h +986 -832
  207. data/src/core/ext/upb-gen/envoy/data/accesslog/v3/accesslog.upb_minitable.c +269 -281
  208. data/src/core/ext/upb-gen/envoy/extensions/clusters/aggregate/v3/cluster.upb.h +35 -35
  209. data/src/core/ext/upb-gen/envoy/extensions/clusters/aggregate/v3/cluster.upb_minitable.c +3 -3
  210. data/src/core/ext/upb-gen/envoy/extensions/filters/common/fault/v3/fault.upb.h +102 -88
  211. data/src/core/ext/upb-gen/envoy/extensions/filters/common/fault/v3/fault.upb_minitable.c +25 -25
  212. data/src/core/ext/upb-gen/envoy/extensions/filters/http/fault/v3/fault.upb.h +224 -204
  213. data/src/core/ext/upb-gen/envoy/extensions/filters/http/fault/v3/fault.upb_minitable.c +46 -62
  214. data/src/core/ext/upb-gen/envoy/extensions/filters/http/rbac/v3/rbac.upb.h +66 -58
  215. data/src/core/ext/upb-gen/envoy/extensions/filters/http/rbac/v3/rbac.upb_minitable.c +14 -24
  216. data/src/core/ext/upb-gen/envoy/extensions/filters/http/router/v3/router.upb.h +160 -153
  217. data/src/core/ext/upb-gen/envoy/extensions/filters/http/router/v3/router.upb_minitable.c +28 -30
  218. data/src/core/ext/upb-gen/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upb.h +51 -44
  219. data/src/core/ext/upb-gen/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upb_minitable.c +12 -12
  220. data/src/core/ext/upb-gen/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upb.h +1349 -1230
  221. data/src/core/ext/upb-gen/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upb_minitable.c +293 -309
  222. data/src/core/ext/upb-gen/envoy/extensions/http/stateful_session/cookie/v3/cookie.upb.h +16 -14
  223. data/src/core/ext/upb-gen/envoy/extensions/http/stateful_session/cookie/v3/cookie.upb_minitable.c +3 -7
  224. data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/client_side_weighted_round_robin/v3/client_side_weighted_round_robin.upb.h +61 -54
  225. data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/client_side_weighted_round_robin/v3/client_side_weighted_round_robin.upb_minitable.c +13 -23
  226. data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/common/v3/common.upb.h +124 -108
  227. data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/common/v3/common.upb_minitable.c +29 -37
  228. data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/pick_first/v3/pick_first.upb.h +14 -12
  229. data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/pick_first/v3/pick_first.upb_minitable.c +3 -3
  230. data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/ring_hash/v3/ring_hash.upb.h +66 -58
  231. data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/ring_hash/v3/ring_hash.upb_minitable.c +20 -20
  232. data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/wrr_locality/v3/wrr_locality.upb.h +16 -14
  233. data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/wrr_locality/v3/wrr_locality.upb_minitable.c +3 -7
  234. data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/common.upb.h +518 -493
  235. data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/common.upb_minitable.c +82 -108
  236. data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/secret.upb.h +92 -80
  237. data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/secret.upb_minitable.c +23 -29
  238. data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/tls.upb.h +497 -457
  239. data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/tls.upb_minitable.c +110 -124
  240. data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upb.h +58 -55
  241. data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upb_minitable.c +9 -11
  242. data/src/core/ext/upb-gen/envoy/extensions/upstreams/http/v3/http_protocol_options.upb.h +206 -185
  243. data/src/core/ext/upb-gen/envoy/extensions/upstreams/http/v3/http_protocol_options.upb_minitable.c +48 -64
  244. data/src/core/ext/upb-gen/envoy/service/discovery/v3/ads.upb.h +7 -6
  245. data/src/core/ext/upb-gen/envoy/service/discovery/v3/ads.upb_minitable.c +1 -1
  246. data/src/core/ext/upb-gen/envoy/service/discovery/v3/discovery.upb.h +766 -710
  247. data/src/core/ext/upb-gen/envoy/service/discovery/v3/discovery.upb_minitable.c +140 -150
  248. data/src/core/ext/upb-gen/envoy/service/load_stats/v3/lrs.upb.h +102 -98
  249. data/src/core/ext/upb-gen/envoy/service/load_stats/v3/lrs.upb_minitable.c +17 -17
  250. data/src/core/ext/upb-gen/envoy/service/status/v3/csds.upb.h +310 -288
  251. data/src/core/ext/upb-gen/envoy/service/status/v3/csds.upb_minitable.c +67 -67
  252. data/src/core/ext/upb-gen/envoy/type/http/v3/cookie.upb.h +30 -26
  253. data/src/core/ext/upb-gen/envoy/type/http/v3/cookie.upb_minitable.c +8 -8
  254. data/src/core/ext/upb-gen/envoy/type/http/v3/path_transformation.upb.h +77 -71
  255. data/src/core/ext/upb-gen/envoy/type/http/v3/path_transformation.upb_minitable.c +13 -13
  256. data/src/core/ext/upb-gen/envoy/type/matcher/v3/filter_state.upb.h +26 -22
  257. data/src/core/ext/upb-gen/envoy/type/matcher/v3/filter_state.upb_minitable.c +6 -6
  258. data/src/core/ext/upb-gen/envoy/type/matcher/v3/http_inputs.upb.h +70 -60
  259. data/src/core/ext/upb-gen/envoy/type/matcher/v3/http_inputs.upb_minitable.c +15 -15
  260. data/src/core/ext/upb-gen/envoy/type/matcher/v3/metadata.upb.h +77 -71
  261. data/src/core/ext/upb-gen/envoy/type/matcher/v3/metadata.upb_minitable.c +14 -14
  262. data/src/core/ext/upb-gen/envoy/type/matcher/v3/node.upb.h +44 -43
  263. data/src/core/ext/upb-gen/envoy/type/matcher/v3/node.upb_minitable.c +7 -7
  264. data/src/core/ext/upb-gen/envoy/type/matcher/v3/number.upb.h +28 -24
  265. data/src/core/ext/upb-gen/envoy/type/matcher/v3/number.upb_minitable.c +6 -6
  266. data/src/core/ext/upb-gen/envoy/type/matcher/v3/path.upb.h +19 -16
  267. data/src/core/ext/upb-gen/envoy/type/matcher/v3/path.upb_minitable.c +4 -4
  268. data/src/core/ext/upb-gen/envoy/type/matcher/v3/regex.upb.h +65 -56
  269. data/src/core/ext/upb-gen/envoy/type/matcher/v3/regex.upb_minitable.c +15 -19
  270. data/src/core/ext/upb-gen/envoy/type/matcher/v3/status_code_input.upb.h +14 -12
  271. data/src/core/ext/upb-gen/envoy/type/matcher/v3/status_code_input.upb_minitable.c +2 -2
  272. data/src/core/ext/upb-gen/envoy/type/matcher/v3/string.upb.h +97 -89
  273. data/src/core/ext/upb-gen/envoy/type/matcher/v3/string.upb_minitable.c +18 -18
  274. data/src/core/ext/upb-gen/envoy/type/matcher/v3/struct.upb.h +63 -59
  275. data/src/core/ext/upb-gen/envoy/type/matcher/v3/struct.upb_minitable.c +10 -10
  276. data/src/core/ext/upb-gen/envoy/type/matcher/v3/value.upb.h +134 -121
  277. data/src/core/ext/upb-gen/envoy/type/matcher/v3/value.upb_minitable.c +29 -29
  278. data/src/core/ext/upb-gen/envoy/type/metadata/v3/metadata.upb.h +135 -121
  279. data/src/core/ext/upb-gen/envoy/type/metadata/v3/metadata.upb_minitable.c +26 -26
  280. data/src/core/ext/upb-gen/envoy/type/tracing/v3/custom_tag.upb.h +141 -122
  281. data/src/core/ext/upb-gen/envoy/type/tracing/v3/custom_tag.upb_minitable.c +37 -37
  282. data/src/core/ext/upb-gen/envoy/type/v3/hash_policy.upb.h +49 -42
  283. data/src/core/ext/upb-gen/envoy/type/v3/hash_policy.upb_minitable.c +11 -11
  284. data/src/core/ext/upb-gen/envoy/type/v3/http_status.upb.h +14 -12
  285. data/src/core/ext/upb-gen/envoy/type/v3/http_status.upb_minitable.c +3 -3
  286. data/src/core/ext/upb-gen/envoy/type/v3/percent.upb.h +35 -30
  287. data/src/core/ext/upb-gen/envoy/type/v3/percent.upb_minitable.c +8 -8
  288. data/src/core/ext/upb-gen/envoy/type/v3/range.upb.h +63 -54
  289. data/src/core/ext/upb-gen/envoy/type/v3/range.upb_minitable.c +15 -15
  290. data/src/core/ext/upb-gen/envoy/type/v3/ratelimit_strategy.upb.h +58 -50
  291. data/src/core/ext/upb-gen/envoy/type/v3/ratelimit_strategy.upb_minitable.c +14 -14
  292. data/src/core/ext/upb-gen/envoy/type/v3/semantic_version.upb.h +28 -24
  293. data/src/core/ext/upb-gen/envoy/type/v3/semantic_version.upb_minitable.c +7 -7
  294. data/src/core/ext/upb-gen/envoy/type/v3/token_bucket.upb.h +32 -28
  295. data/src/core/ext/upb-gen/envoy/type/v3/token_bucket.upb_minitable.c +7 -9
  296. data/src/core/ext/upb-gen/google/api/annotations.upb.h +10 -8
  297. data/src/core/ext/upb-gen/google/api/annotations.upb_minitable.c +1 -1
  298. data/src/core/ext/upb-gen/google/api/expr/v1alpha1/checked.upb.h +581 -524
  299. data/src/core/ext/upb-gen/google/api/expr/v1alpha1/checked.upb_minitable.c +118 -146
  300. data/src/core/ext/upb-gen/google/api/expr/v1alpha1/syntax.upb.h +616 -544
  301. data/src/core/ext/upb-gen/google/api/expr/v1alpha1/syntax.upb_minitable.c +136 -152
  302. data/src/core/ext/upb-gen/google/api/http.upb.h +176 -162
  303. data/src/core/ext/upb-gen/google/api/http.upb_minitable.c +34 -34
  304. data/src/core/ext/upb-gen/google/api/httpbody.upb.h +49 -47
  305. data/src/core/ext/upb-gen/google/api/httpbody.upb_minitable.c +8 -8
  306. data/src/core/ext/upb-gen/google/protobuf/any.upb.h +21 -18
  307. data/src/core/ext/upb-gen/google/protobuf/any.upb_minitable.c +5 -5
  308. data/src/core/ext/upb-gen/google/protobuf/descriptor.upb.h +2456 -2358
  309. data/src/core/ext/upb-gen/google/protobuf/descriptor.upb_minitable.c +367 -486
  310. data/src/core/ext/upb-gen/google/protobuf/duration.upb.h +21 -18
  311. data/src/core/ext/upb-gen/google/protobuf/duration.upb_minitable.c +5 -5
  312. data/src/core/ext/upb-gen/google/protobuf/empty.upb.h +7 -6
  313. data/src/core/ext/upb-gen/google/protobuf/empty.upb_minitable.c +1 -1
  314. data/src/core/ext/upb-gen/google/protobuf/struct.upb.h +134 -116
  315. data/src/core/ext/upb-gen/google/protobuf/struct.upb_minitable.c +27 -29
  316. data/src/core/ext/upb-gen/google/protobuf/timestamp.upb.h +21 -18
  317. data/src/core/ext/upb-gen/google/protobuf/timestamp.upb_minitable.c +5 -5
  318. data/src/core/ext/upb-gen/google/protobuf/wrappers.upb.h +126 -108
  319. data/src/core/ext/upb-gen/google/protobuf/wrappers.upb_minitable.c +27 -27
  320. data/src/core/ext/upb-gen/google/rpc/status.upb.h +49 -47
  321. data/src/core/ext/upb-gen/google/rpc/status.upb_minitable.c +8 -8
  322. data/src/core/ext/upb-gen/opencensus/proto/trace/v1/trace_config.upb.h +107 -92
  323. data/src/core/ext/upb-gen/opencensus/proto/trace/v1/trace_config.upb_minitable.c +27 -27
  324. data/src/core/ext/upb-gen/src/proto/grpc/gcp/altscontext.upb.h +77 -61
  325. data/src/core/ext/upb-gen/src/proto/grpc/gcp/altscontext.upb_minitable.c +21 -21
  326. data/src/core/ext/upb-gen/src/proto/grpc/gcp/handshaker.upb.h +577 -518
  327. data/src/core/ext/upb-gen/src/proto/grpc/gcp/handshaker.upb_minitable.c +121 -127
  328. data/src/core/ext/upb-gen/src/proto/grpc/gcp/transport_security_common.upb.h +46 -40
  329. data/src/core/ext/upb-gen/src/proto/grpc/gcp/transport_security_common.upb_minitable.c +10 -16
  330. data/src/core/ext/upb-gen/src/proto/grpc/health/v1/health.upb.h +28 -24
  331. data/src/core/ext/upb-gen/src/proto/grpc/health/v1/health.upb_minitable.c +6 -6
  332. data/src/core/ext/upb-gen/src/proto/grpc/lb/v1/load_balancer.upb.h +265 -238
  333. data/src/core/ext/upb-gen/src/proto/grpc/lb/v1/load_balancer.upb_minitable.c +57 -63
  334. data/src/core/ext/upb-gen/src/proto/grpc/lookup/v1/rls.upb.h +96 -82
  335. data/src/core/ext/upb-gen/src/proto/grpc/lookup/v1/rls.upb_minitable.c +19 -19
  336. data/src/core/ext/upb-gen/src/proto/grpc/lookup/v1/rls_config.upb.h +496 -466
  337. data/src/core/ext/upb-gen/src/proto/grpc/lookup/v1/rls_config.upb_minitable.c +81 -85
  338. data/src/core/ext/upb-gen/udpa/annotations/migrate.upb.h +99 -82
  339. data/src/core/ext/upb-gen/udpa/annotations/migrate.upb_minitable.c +16 -16
  340. data/src/core/ext/upb-gen/udpa/annotations/security.upb.h +31 -26
  341. data/src/core/ext/upb-gen/udpa/annotations/security.upb_minitable.c +6 -6
  342. data/src/core/ext/upb-gen/udpa/annotations/sensitive.upb.h +10 -8
  343. data/src/core/ext/upb-gen/udpa/annotations/sensitive.upb_minitable.c +1 -1
  344. data/src/core/ext/upb-gen/udpa/annotations/status.upb.h +31 -26
  345. data/src/core/ext/upb-gen/udpa/annotations/status.upb_minitable.c +6 -6
  346. data/src/core/ext/upb-gen/udpa/annotations/versioning.upb.h +24 -20
  347. data/src/core/ext/upb-gen/udpa/annotations/versioning.upb_minitable.c +4 -4
  348. data/src/core/ext/upb-gen/validate/validate.upb.h +2620 -2458
  349. data/src/core/ext/upb-gen/validate/validate.upb_minitable.c +363 -507
  350. data/src/core/ext/upb-gen/xds/annotations/v3/migrate.upb.h +99 -82
  351. data/src/core/ext/upb-gen/xds/annotations/v3/migrate.upb_minitable.c +16 -16
  352. data/src/core/ext/upb-gen/xds/annotations/v3/security.upb.h +31 -26
  353. data/src/core/ext/upb-gen/xds/annotations/v3/security.upb_minitable.c +6 -6
  354. data/src/core/ext/upb-gen/xds/annotations/v3/sensitive.upb.h +10 -8
  355. data/src/core/ext/upb-gen/xds/annotations/v3/sensitive.upb_minitable.c +1 -1
  356. data/src/core/ext/upb-gen/xds/annotations/v3/status.upb.h +93 -78
  357. data/src/core/ext/upb-gen/xds/annotations/v3/status.upb_minitable.c +17 -17
  358. data/src/core/ext/upb-gen/xds/annotations/v3/versioning.upb.h +24 -20
  359. data/src/core/ext/upb-gen/xds/annotations/v3/versioning.upb_minitable.c +4 -4
  360. data/src/core/ext/upb-gen/xds/core/v3/authority.upb.h +14 -12
  361. data/src/core/ext/upb-gen/xds/core/v3/authority.upb_minitable.c +3 -3
  362. data/src/core/ext/upb-gen/xds/core/v3/cidr.upb.h +23 -20
  363. data/src/core/ext/upb-gen/xds/core/v3/cidr.upb_minitable.c +5 -7
  364. data/src/core/ext/upb-gen/xds/core/v3/collection_entry.upb.h +58 -50
  365. data/src/core/ext/upb-gen/xds/core/v3/collection_entry.upb_minitable.c +15 -15
  366. data/src/core/ext/upb-gen/xds/core/v3/context_params.upb.h +33 -23
  367. data/src/core/ext/upb-gen/xds/core/v3/context_params.upb_minitable.c +8 -8
  368. data/src/core/ext/upb-gen/xds/core/v3/extension.upb.h +23 -20
  369. data/src/core/ext/upb-gen/xds/core/v3/extension.upb_minitable.c +5 -7
  370. data/src/core/ext/upb-gen/xds/core/v3/resource.upb.h +32 -28
  371. data/src/core/ext/upb-gen/xds/core/v3/resource.upb_minitable.c +9 -9
  372. data/src/core/ext/upb-gen/xds/core/v3/resource_locator.upb.h +103 -93
  373. data/src/core/ext/upb-gen/xds/core/v3/resource_locator.upb_minitable.c +21 -21
  374. data/src/core/ext/upb-gen/xds/core/v3/resource_name.upb.h +37 -32
  375. data/src/core/ext/upb-gen/xds/core/v3/resource_name.upb_minitable.c +9 -13
  376. data/src/core/ext/upb-gen/xds/data/orca/v3/orca_load_report.upb.h +127 -93
  377. data/src/core/ext/upb-gen/xds/data/orca/v3/orca_load_report.upb_minitable.c +34 -34
  378. data/src/core/ext/upb-gen/xds/service/orca/v3/orca.upb.h +44 -43
  379. data/src/core/ext/upb-gen/xds/service/orca/v3/orca.upb_minitable.c +6 -6
  380. data/src/core/ext/upb-gen/xds/type/matcher/v3/cel.upb.h +23 -20
  381. data/src/core/ext/upb-gen/xds/type/matcher/v3/cel.upb_minitable.c +6 -6
  382. data/src/core/ext/upb-gen/xds/type/matcher/v3/domain.upb.h +79 -78
  383. data/src/core/ext/upb-gen/xds/type/matcher/v3/domain.upb_minitable.c +9 -11
  384. data/src/core/ext/upb-gen/xds/type/matcher/v3/http_inputs.upb.h +7 -6
  385. data/src/core/ext/upb-gen/xds/type/matcher/v3/http_inputs.upb_minitable.c +1 -1
  386. data/src/core/ext/upb-gen/xds/type/matcher/v3/ip.upb.h +86 -84
  387. data/src/core/ext/upb-gen/xds/type/matcher/v3/ip.upb_minitable.c +13 -13
  388. data/src/core/ext/upb-gen/xds/type/matcher/v3/matcher.upb.h +324 -285
  389. data/src/core/ext/upb-gen/xds/type/matcher/v3/matcher.upb_minitable.c +74 -82
  390. data/src/core/ext/upb-gen/xds/type/matcher/v3/range.upb.h +237 -234
  391. data/src/core/ext/upb-gen/xds/type/matcher/v3/range.upb_minitable.c +30 -36
  392. data/src/core/ext/upb-gen/xds/type/matcher/v3/regex.upb.h +33 -28
  393. data/src/core/ext/upb-gen/xds/type/matcher/v3/regex.upb_minitable.c +7 -7
  394. data/src/core/ext/upb-gen/xds/type/matcher/v3/string.upb.h +97 -89
  395. data/src/core/ext/upb-gen/xds/type/matcher/v3/string.upb_minitable.c +18 -18
  396. data/src/core/ext/upb-gen/xds/type/v3/cel.upb.h +53 -46
  397. data/src/core/ext/upb-gen/xds/type/v3/cel.upb_minitable.c +12 -18
  398. data/src/core/ext/upb-gen/xds/type/v3/range.upb.h +63 -54
  399. data/src/core/ext/upb-gen/xds/type/v3/range.upb_minitable.c +15 -15
  400. data/src/core/ext/upb-gen/xds/type/v3/typed_struct.upb.h +23 -20
  401. data/src/core/ext/upb-gen/xds/type/v3/typed_struct.upb_minitable.c +5 -7
  402. data/src/core/ext/upbdefs-gen/envoy/admin/v3/certs.upbdefs.h +2 -5
  403. data/src/core/ext/upbdefs-gen/envoy/admin/v3/clusters.upbdefs.h +2 -5
  404. data/src/core/ext/upbdefs-gen/envoy/admin/v3/config_dump.upbdefs.h +2 -5
  405. data/src/core/ext/upbdefs-gen/envoy/admin/v3/config_dump_shared.upbdefs.h +2 -5
  406. data/src/core/ext/upbdefs-gen/envoy/admin/v3/init_dump.upbdefs.h +2 -5
  407. data/src/core/ext/upbdefs-gen/envoy/admin/v3/listeners.upbdefs.h +2 -5
  408. data/src/core/ext/upbdefs-gen/envoy/admin/v3/memory.upbdefs.h +2 -5
  409. data/src/core/ext/upbdefs-gen/envoy/admin/v3/metrics.upbdefs.h +2 -5
  410. data/src/core/ext/upbdefs-gen/envoy/admin/v3/mutex_stats.upbdefs.h +2 -5
  411. data/src/core/ext/upbdefs-gen/envoy/admin/v3/server_info.upbdefs.h +2 -5
  412. data/src/core/ext/upbdefs-gen/envoy/admin/v3/tap.upbdefs.h +2 -5
  413. data/src/core/ext/upbdefs-gen/envoy/annotations/deprecation.upbdefs.h +2 -5
  414. data/src/core/ext/upbdefs-gen/envoy/annotations/resource.upbdefs.h +2 -5
  415. data/src/core/ext/upbdefs-gen/envoy/config/accesslog/v3/accesslog.upbdefs.h +2 -5
  416. data/src/core/ext/upbdefs-gen/envoy/config/bootstrap/v3/bootstrap.upbdefs.h +2 -5
  417. data/src/core/ext/upbdefs-gen/envoy/config/cluster/v3/circuit_breaker.upbdefs.h +2 -5
  418. data/src/core/ext/upbdefs-gen/envoy/config/cluster/v3/cluster.upbdefs.h +2 -5
  419. data/src/core/ext/upbdefs-gen/envoy/config/cluster/v3/filter.upbdefs.h +2 -5
  420. data/src/core/ext/upbdefs-gen/envoy/config/cluster/v3/outlier_detection.upbdefs.h +2 -5
  421. data/src/core/ext/upbdefs-gen/envoy/config/common/matcher/v3/matcher.upbdefs.h +2 -5
  422. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/address.upbdefs.h +2 -5
  423. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/backoff.upbdefs.h +2 -5
  424. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/base.upbdefs.h +2 -5
  425. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/config_source.upbdefs.h +2 -5
  426. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/event_service_config.upbdefs.h +2 -5
  427. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/extension.upbdefs.h +2 -5
  428. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/grpc_method_list.upbdefs.h +2 -5
  429. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/grpc_service.upbdefs.h +2 -5
  430. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/health_check.upbdefs.h +2 -5
  431. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/http_service.upbdefs.h +2 -5
  432. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/http_uri.upbdefs.h +2 -5
  433. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/protocol.upbdefs.h +2 -5
  434. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/proxy_protocol.upbdefs.h +2 -5
  435. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/resolver.upbdefs.h +2 -5
  436. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/socket_option.upbdefs.h +2 -5
  437. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/substitution_format_string.upbdefs.h +2 -5
  438. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/udp_socket_config.upbdefs.h +2 -5
  439. data/src/core/ext/upbdefs-gen/envoy/config/endpoint/v3/endpoint.upbdefs.h +2 -5
  440. data/src/core/ext/upbdefs-gen/envoy/config/endpoint/v3/endpoint_components.upbdefs.h +2 -5
  441. data/src/core/ext/upbdefs-gen/envoy/config/endpoint/v3/load_report.upbdefs.h +2 -5
  442. data/src/core/ext/upbdefs-gen/envoy/config/listener/v3/api_listener.upbdefs.h +2 -5
  443. data/src/core/ext/upbdefs-gen/envoy/config/listener/v3/listener.upbdefs.h +2 -5
  444. data/src/core/ext/upbdefs-gen/envoy/config/listener/v3/listener_components.upbdefs.h +2 -5
  445. data/src/core/ext/upbdefs-gen/envoy/config/listener/v3/quic_config.upbdefs.h +2 -5
  446. data/src/core/ext/upbdefs-gen/envoy/config/listener/v3/udp_listener_config.upbdefs.h +2 -5
  447. data/src/core/ext/upbdefs-gen/envoy/config/metrics/v3/metrics_service.upbdefs.h +2 -5
  448. data/src/core/ext/upbdefs-gen/envoy/config/metrics/v3/stats.upbdefs.h +2 -5
  449. data/src/core/ext/upbdefs-gen/envoy/config/overload/v3/overload.upbdefs.h +2 -5
  450. data/src/core/ext/upbdefs-gen/envoy/config/rbac/v3/rbac.upbdefs.h +2 -5
  451. data/src/core/ext/upbdefs-gen/envoy/config/route/v3/route.upbdefs.h +2 -5
  452. data/src/core/ext/upbdefs-gen/envoy/config/route/v3/route_components.upbdefs.h +2 -5
  453. data/src/core/ext/upbdefs-gen/envoy/config/route/v3/scoped_route.upbdefs.h +2 -5
  454. data/src/core/ext/upbdefs-gen/envoy/config/tap/v3/common.upbdefs.h +2 -5
  455. data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/datadog.upbdefs.h +2 -5
  456. data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/dynamic_ot.upbdefs.h +2 -5
  457. data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/http_tracer.upbdefs.h +2 -5
  458. data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/lightstep.upbdefs.h +2 -5
  459. data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/opencensus.upbdefs.h +2 -5
  460. data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/opentelemetry.upbdefs.h +2 -5
  461. data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/service.upbdefs.h +2 -5
  462. data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/skywalking.upbdefs.h +2 -5
  463. data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/trace.upbdefs.h +2 -5
  464. data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/xray.upbdefs.h +2 -5
  465. data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/zipkin.upbdefs.h +2 -5
  466. data/src/core/ext/upbdefs-gen/envoy/data/accesslog/v3/accesslog.upbdefs.h +2 -5
  467. data/src/core/ext/upbdefs-gen/envoy/extensions/clusters/aggregate/v3/cluster.upbdefs.h +2 -5
  468. data/src/core/ext/upbdefs-gen/envoy/extensions/filters/common/fault/v3/fault.upbdefs.h +2 -5
  469. data/src/core/ext/upbdefs-gen/envoy/extensions/filters/http/fault/v3/fault.upbdefs.h +2 -5
  470. data/src/core/ext/upbdefs-gen/envoy/extensions/filters/http/rbac/v3/rbac.upbdefs.h +2 -5
  471. data/src/core/ext/upbdefs-gen/envoy/extensions/filters/http/router/v3/router.upbdefs.h +2 -5
  472. data/src/core/ext/upbdefs-gen/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upbdefs.h +2 -5
  473. data/src/core/ext/upbdefs-gen/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upbdefs.h +2 -5
  474. data/src/core/ext/upbdefs-gen/envoy/extensions/http/stateful_session/cookie/v3/cookie.upbdefs.h +2 -5
  475. data/src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/cert.upbdefs.h +2 -5
  476. data/src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/common.upbdefs.h +2 -5
  477. data/src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/secret.upbdefs.h +2 -5
  478. data/src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/tls.upbdefs.h +2 -5
  479. data/src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upbdefs.h +2 -5
  480. data/src/core/ext/upbdefs-gen/envoy/extensions/upstreams/http/v3/http_protocol_options.upbdefs.h +2 -5
  481. data/src/core/ext/upbdefs-gen/envoy/service/discovery/v3/ads.upbdefs.h +2 -5
  482. data/src/core/ext/upbdefs-gen/envoy/service/discovery/v3/discovery.upbdefs.h +2 -5
  483. data/src/core/ext/upbdefs-gen/envoy/service/load_stats/v3/lrs.upbdefs.h +2 -5
  484. data/src/core/ext/upbdefs-gen/envoy/service/status/v3/csds.upbdefs.h +2 -5
  485. data/src/core/ext/upbdefs-gen/envoy/type/http/v3/cookie.upbdefs.h +2 -5
  486. data/src/core/ext/upbdefs-gen/envoy/type/http/v3/path_transformation.upbdefs.h +2 -5
  487. data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/filter_state.upbdefs.h +2 -5
  488. data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/http_inputs.upbdefs.h +2 -5
  489. data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/metadata.upbdefs.h +2 -5
  490. data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/node.upbdefs.h +2 -5
  491. data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/number.upbdefs.h +2 -5
  492. data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/path.upbdefs.h +2 -5
  493. data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/regex.upbdefs.h +2 -5
  494. data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/status_code_input.upbdefs.h +2 -5
  495. data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/string.upbdefs.h +2 -5
  496. data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/struct.upbdefs.h +2 -5
  497. data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/value.upbdefs.h +2 -5
  498. data/src/core/ext/upbdefs-gen/envoy/type/metadata/v3/metadata.upbdefs.h +2 -5
  499. data/src/core/ext/upbdefs-gen/envoy/type/tracing/v3/custom_tag.upbdefs.h +2 -5
  500. data/src/core/ext/upbdefs-gen/envoy/type/v3/hash_policy.upbdefs.h +2 -5
  501. data/src/core/ext/upbdefs-gen/envoy/type/v3/http.upbdefs.h +2 -5
  502. data/src/core/ext/upbdefs-gen/envoy/type/v3/http_status.upbdefs.h +2 -5
  503. data/src/core/ext/upbdefs-gen/envoy/type/v3/percent.upbdefs.h +2 -5
  504. data/src/core/ext/upbdefs-gen/envoy/type/v3/range.upbdefs.h +2 -5
  505. data/src/core/ext/upbdefs-gen/envoy/type/v3/ratelimit_strategy.upbdefs.h +2 -5
  506. data/src/core/ext/upbdefs-gen/envoy/type/v3/ratelimit_unit.upbdefs.h +2 -5
  507. data/src/core/ext/upbdefs-gen/envoy/type/v3/semantic_version.upbdefs.h +2 -5
  508. data/src/core/ext/upbdefs-gen/envoy/type/v3/token_bucket.upbdefs.h +2 -5
  509. data/src/core/ext/upbdefs-gen/google/api/annotations.upbdefs.h +2 -5
  510. data/src/core/ext/upbdefs-gen/google/api/expr/v1alpha1/checked.upbdefs.h +2 -5
  511. data/src/core/ext/upbdefs-gen/google/api/expr/v1alpha1/syntax.upbdefs.h +2 -5
  512. data/src/core/ext/upbdefs-gen/google/api/http.upbdefs.h +2 -5
  513. data/src/core/ext/upbdefs-gen/google/api/httpbody.upbdefs.h +2 -5
  514. data/src/core/ext/upbdefs-gen/google/protobuf/any.upbdefs.h +2 -5
  515. data/src/core/ext/upbdefs-gen/google/protobuf/descriptor.upbdefs.c +385 -384
  516. data/src/core/ext/upbdefs-gen/google/protobuf/descriptor.upbdefs.h +2 -5
  517. data/src/core/ext/upbdefs-gen/google/protobuf/duration.upbdefs.h +2 -5
  518. data/src/core/ext/upbdefs-gen/google/protobuf/empty.upbdefs.h +2 -5
  519. data/src/core/ext/upbdefs-gen/google/protobuf/struct.upbdefs.h +2 -5
  520. data/src/core/ext/upbdefs-gen/google/protobuf/timestamp.upbdefs.h +2 -5
  521. data/src/core/ext/upbdefs-gen/google/protobuf/wrappers.upbdefs.h +2 -5
  522. data/src/core/ext/upbdefs-gen/google/rpc/status.upbdefs.h +2 -5
  523. data/src/core/ext/upbdefs-gen/opencensus/proto/trace/v1/trace_config.upbdefs.h +2 -5
  524. data/src/core/ext/upbdefs-gen/src/proto/grpc/lookup/v1/rls_config.upbdefs.h +2 -5
  525. data/src/core/ext/upbdefs-gen/udpa/annotations/migrate.upbdefs.h +2 -5
  526. data/src/core/ext/upbdefs-gen/udpa/annotations/security.upbdefs.h +2 -5
  527. data/src/core/ext/upbdefs-gen/udpa/annotations/sensitive.upbdefs.h +2 -5
  528. data/src/core/ext/upbdefs-gen/udpa/annotations/status.upbdefs.h +2 -5
  529. data/src/core/ext/upbdefs-gen/udpa/annotations/versioning.upbdefs.h +2 -5
  530. data/src/core/ext/upbdefs-gen/validate/validate.upbdefs.h +2 -5
  531. data/src/core/ext/upbdefs-gen/xds/annotations/v3/migrate.upbdefs.h +2 -5
  532. data/src/core/ext/upbdefs-gen/xds/annotations/v3/security.upbdefs.h +2 -5
  533. data/src/core/ext/upbdefs-gen/xds/annotations/v3/sensitive.upbdefs.h +2 -5
  534. data/src/core/ext/upbdefs-gen/xds/annotations/v3/status.upbdefs.h +2 -5
  535. data/src/core/ext/upbdefs-gen/xds/annotations/v3/versioning.upbdefs.h +2 -5
  536. data/src/core/ext/upbdefs-gen/xds/core/v3/authority.upbdefs.h +2 -5
  537. data/src/core/ext/upbdefs-gen/xds/core/v3/cidr.upbdefs.h +2 -5
  538. data/src/core/ext/upbdefs-gen/xds/core/v3/collection_entry.upbdefs.h +2 -5
  539. data/src/core/ext/upbdefs-gen/xds/core/v3/context_params.upbdefs.h +2 -5
  540. data/src/core/ext/upbdefs-gen/xds/core/v3/extension.upbdefs.h +2 -5
  541. data/src/core/ext/upbdefs-gen/xds/core/v3/resource.upbdefs.h +2 -5
  542. data/src/core/ext/upbdefs-gen/xds/core/v3/resource_locator.upbdefs.h +2 -5
  543. data/src/core/ext/upbdefs-gen/xds/core/v3/resource_name.upbdefs.h +2 -5
  544. data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/cel.upbdefs.h +2 -5
  545. data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/domain.upbdefs.h +2 -5
  546. data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/http_inputs.upbdefs.h +2 -5
  547. data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/ip.upbdefs.h +2 -5
  548. data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/matcher.upbdefs.h +2 -5
  549. data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/range.upbdefs.h +2 -5
  550. data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/regex.upbdefs.h +2 -5
  551. data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/string.upbdefs.h +2 -5
  552. data/src/core/ext/upbdefs-gen/xds/type/v3/cel.upbdefs.h +2 -5
  553. data/src/core/ext/upbdefs-gen/xds/type/v3/range.upbdefs.h +2 -5
  554. data/src/core/ext/upbdefs-gen/xds/type/v3/typed_struct.upbdefs.h +2 -5
  555. data/src/core/ext/xds/certificate_provider_store.h +3 -2
  556. data/src/core/ext/xds/file_watcher_certificate_provider_factory.h +2 -2
  557. data/src/core/ext/xds/xds_api.h +1 -1
  558. data/src/core/ext/xds/xds_audit_logger_registry.cc +2 -1
  559. data/src/core/ext/xds/xds_audit_logger_registry.h +1 -1
  560. data/src/core/ext/xds/xds_bootstrap.h +2 -4
  561. data/src/core/ext/xds/xds_bootstrap_grpc.cc +38 -6
  562. data/src/core/ext/xds/xds_bootstrap_grpc.h +22 -7
  563. data/src/core/ext/xds/xds_certificate_provider.cc +2 -2
  564. data/src/core/ext/xds/xds_certificate_provider.h +1 -1
  565. data/src/core/ext/xds/xds_channel_stack_modifier.h +2 -1
  566. data/src/core/ext/xds/xds_client.cc +283 -103
  567. data/src/core/ext/xds/xds_client.h +41 -8
  568. data/src/core/ext/xds/xds_client_grpc.cc +184 -55
  569. data/src/core/ext/xds/xds_client_grpc.h +22 -8
  570. data/src/core/ext/xds/xds_client_stats.cc +14 -12
  571. data/src/core/ext/xds/xds_client_stats.h +14 -7
  572. data/src/core/ext/xds/xds_cluster.cc +9 -9
  573. data/src/core/ext/xds/xds_cluster.h +5 -2
  574. data/src/core/ext/xds/xds_cluster_specifier_plugin.h +2 -2
  575. data/src/core/ext/xds/xds_endpoint.cc +3 -2
  576. data/src/core/ext/xds/xds_endpoint.h +2 -2
  577. data/src/core/ext/xds/xds_health_status.h +2 -2
  578. data/src/core/ext/xds/xds_http_fault_filter.h +1 -1
  579. data/src/core/ext/xds/xds_http_filters.h +2 -2
  580. data/src/core/ext/xds/xds_http_rbac_filter.h +1 -1
  581. data/src/core/ext/xds/xds_http_stateful_session_filter.h +1 -1
  582. data/src/core/ext/xds/xds_lb_policy_registry.cc +5 -5
  583. data/src/core/ext/xds/xds_lb_policy_registry.h +1 -1
  584. data/src/core/ext/xds/xds_listener.h +1 -1
  585. data/src/core/ext/xds/xds_metrics.h +39 -0
  586. data/src/core/ext/xds/xds_route_config.h +1 -1
  587. data/src/core/ext/xds/xds_routing.h +1 -1
  588. data/src/core/ext/xds/xds_server_config_fetcher.cc +20 -19
  589. data/src/core/ext/xds/xds_transport_grpc.cc +17 -32
  590. data/src/core/ext/xds/xds_transport_grpc.h +6 -6
  591. data/src/core/lib/address_utils/parse_address.cc +8 -1
  592. data/src/core/lib/address_utils/sockaddr_utils.cc +8 -1
  593. data/src/core/lib/channel/call_finalization.h +1 -1
  594. data/src/core/lib/channel/call_tracer.cc +3 -4
  595. data/src/core/lib/channel/call_tracer.h +14 -12
  596. data/src/core/lib/channel/channel_stack.cc +9 -0
  597. data/src/core/lib/channel/channel_stack.h +5 -0
  598. data/src/core/lib/channel/channel_stack_builder_impl.cc +140 -0
  599. data/src/core/lib/channel/channelz.h +9 -6
  600. data/src/core/lib/channel/channelz_registry.h +1 -1
  601. data/src/core/lib/channel/connected_channel.cc +5 -8
  602. data/src/core/lib/channel/metrics.cc +396 -0
  603. data/src/core/lib/channel/metrics.h +406 -0
  604. data/src/core/lib/channel/promise_based_filter.h +63 -7
  605. data/src/core/lib/channel/server_call_tracer_filter.cc +2 -0
  606. data/src/core/lib/{surface/builtins.h → channel/server_call_tracer_filter.h} +7 -5
  607. data/src/core/lib/channel/tcp_tracer.h +4 -0
  608. data/src/core/lib/compression/compression_internal.cc +33 -0
  609. data/src/core/lib/compression/compression_internal.h +3 -0
  610. data/src/core/lib/config/config_vars.cc +6 -4
  611. data/src/core/lib/config/config_vars.h +4 -0
  612. data/src/core/lib/debug/stats_data.cc +269 -26
  613. data/src/core/lib/debug/stats_data.h +176 -0
  614. data/src/core/lib/event_engine/default_event_engine.h +0 -6
  615. data/src/core/lib/event_engine/event_engine_context.h +31 -0
  616. data/src/core/lib/event_engine/extensions/chaotic_good_extension.h +65 -0
  617. data/src/core/lib/event_engine/posix.h +8 -0
  618. data/src/core/lib/event_engine/posix_engine/posix_engine_listener.cc +1 -1
  619. data/src/core/lib/event_engine/posix_engine/posix_engine_listener_utils.cc +1 -0
  620. data/src/core/lib/event_engine/posix_engine/tcp_socket_utils.cc +7 -0
  621. data/src/core/lib/event_engine/tcp_socket_utils.cc +8 -1
  622. data/src/core/lib/event_engine/tcp_socket_utils.h +2 -2
  623. data/src/core/lib/event_engine/windows/win_socket.cc +4 -0
  624. data/src/core/lib/event_engine/windows/win_socket.h +3 -0
  625. data/src/core/lib/event_engine/windows/windows_engine.cc +41 -8
  626. data/src/core/lib/event_engine/windows/windows_listener.cc +54 -6
  627. data/src/core/lib/event_engine/windows/windows_listener.h +14 -0
  628. data/src/core/lib/experiments/config.cc +63 -45
  629. data/src/core/lib/experiments/experiments.cc +19 -238
  630. data/src/core/lib/experiments/experiments.h +4 -119
  631. data/src/core/lib/gpr/android/log.cc +1 -1
  632. data/src/core/lib/gpr/linux/log.cc +1 -1
  633. data/src/core/lib/gpr/log.cc +26 -0
  634. data/src/core/lib/gpr/posix/log.cc +1 -1
  635. data/src/core/lib/gpr/posix/time.cc +0 -60
  636. data/src/core/lib/gpr/windows/log.cc +1 -1
  637. data/src/core/lib/gprpp/down_cast.h +4 -4
  638. data/src/core/lib/gprpp/dual_ref_counted.h +17 -9
  639. data/src/core/lib/gprpp/load_file.cc +3 -1
  640. data/src/core/lib/gprpp/orphanable.h +5 -2
  641. data/src/core/lib/gprpp/ref_counted.h +5 -2
  642. data/src/core/lib/gprpp/ref_counted_ptr.h +2 -1
  643. data/src/core/lib/gprpp/time.h +6 -0
  644. data/src/core/lib/gprpp/uuid_v4.cc +37 -0
  645. data/src/core/lib/gprpp/uuid_v4.h +36 -0
  646. data/src/core/lib/iomgr/port.h +3 -0
  647. data/src/core/lib/iomgr/tcp_client_windows.cc +24 -5
  648. data/src/core/lib/iomgr/tcp_posix.cc +47 -0
  649. data/src/core/lib/iomgr/tcp_server_posix.cc +101 -87
  650. data/src/core/lib/iomgr/tcp_server_windows.cc +60 -9
  651. data/src/core/lib/iomgr/unix_sockets_posix.cc +13 -0
  652. data/src/core/lib/promise/activity.h +1 -0
  653. data/src/core/lib/promise/context.h +2 -2
  654. data/src/core/lib/promise/detail/promise_like.h +7 -1
  655. data/src/core/lib/promise/party.cc +33 -3
  656. data/src/core/lib/promise/party.h +12 -14
  657. data/src/core/lib/promise/sleep.cc +1 -1
  658. data/src/core/lib/promise/status_flag.h +8 -0
  659. data/src/core/lib/resource_quota/arena.h +3 -0
  660. data/src/core/lib/resource_quota/connection_quota.cc +71 -0
  661. data/src/core/lib/resource_quota/connection_quota.h +61 -0
  662. data/src/core/lib/security/authorization/evaluate_args.cc +6 -5
  663. data/src/core/lib/security/authorization/evaluate_args.h +3 -3
  664. data/src/core/lib/security/authorization/grpc_server_authz_filter.cc +4 -7
  665. data/src/core/lib/security/authorization/grpc_server_authz_filter.h +1 -2
  666. data/src/core/lib/security/credentials/jwt/json_token.cc +8 -4
  667. data/src/core/lib/security/credentials/jwt/jwt_verifier.cc +11 -16
  668. data/src/core/lib/security/credentials/tls/grpc_tls_crl_provider.cc +17 -10
  669. data/src/core/lib/security/credentials/tls/grpc_tls_crl_provider.h +7 -3
  670. data/src/core/lib/security/security_connector/load_system_roots.h +3 -0
  671. data/src/core/lib/security/security_connector/load_system_roots_fallback.cc +3 -2
  672. data/src/core/lib/security/security_connector/load_system_roots_windows.cc +87 -0
  673. data/src/core/lib/security/transport/auth_filters.h +0 -25
  674. data/src/core/lib/security/transport/security_handshaker.cc +18 -9
  675. data/src/core/lib/security/transport/security_handshaker.h +4 -2
  676. data/src/core/lib/slice/slice.cc +31 -5
  677. data/src/core/lib/slice/slice_buffer.cc +49 -11
  678. data/src/core/lib/slice/slice_buffer.h +14 -1
  679. data/src/core/lib/slice/slice_internal.h +7 -0
  680. data/src/core/lib/surface/call.cc +50 -55
  681. data/src/core/lib/surface/call.h +3 -3
  682. data/src/core/lib/surface/call_trace.h +0 -6
  683. data/src/core/lib/surface/channel.cc +104 -315
  684. data/src/core/lib/surface/channel.h +88 -107
  685. data/src/core/lib/surface/channel_create.cc +109 -0
  686. data/src/core/lib/surface/{builtins.cc → channel_create.h} +20 -15
  687. data/src/core/lib/surface/channel_init.cc +7 -6
  688. data/src/core/lib/surface/channel_init.h +18 -2
  689. data/src/core/lib/surface/init.cc +9 -14
  690. data/src/core/lib/surface/lame_client.cc +3 -28
  691. data/src/core/lib/surface/lame_client.h +7 -2
  692. data/src/core/lib/surface/legacy_channel.cc +414 -0
  693. data/src/core/lib/surface/legacy_channel.h +124 -0
  694. data/src/core/lib/surface/server.cc +20 -35
  695. data/src/core/lib/surface/server.h +10 -6
  696. data/src/core/lib/surface/server_interface.h +43 -0
  697. data/src/core/lib/surface/version.cc +2 -2
  698. data/src/core/lib/transport/batch_builder.cc +7 -16
  699. data/src/core/lib/transport/batch_builder.h +4 -6
  700. data/src/core/lib/transport/call_filters.cc +119 -19
  701. data/src/core/lib/transport/call_filters.h +339 -40
  702. data/src/core/lib/transport/call_spine.h +8 -3
  703. data/src/core/lib/transport/endpoint_info_handshaker.cc +80 -0
  704. data/src/core/lib/transport/endpoint_info_handshaker.h +37 -0
  705. data/src/core/lib/transport/handshaker_factory.h +1 -2
  706. data/src/core/lib/transport/metadata.cc +1 -1
  707. data/src/core/lib/transport/metadata_batch.cc +66 -5
  708. data/src/core/lib/transport/metadata_batch.h +12 -16
  709. data/src/core/lib/transport/metadata_info.cc +55 -0
  710. data/src/core/lib/transport/metadata_info.h +85 -0
  711. data/src/core/lib/transport/transport_op_string.cc +0 -8
  712. data/src/core/load_balancing/address_filtering.cc +1 -1
  713. data/src/core/load_balancing/address_filtering.h +1 -1
  714. data/src/core/{client_channel/backend_metric.cc → load_balancing/backend_metric_parser.cc} +1 -1
  715. data/src/core/{client_channel/backend_metric.h → load_balancing/backend_metric_parser.h} +3 -3
  716. data/src/core/load_balancing/child_policy_handler.cc +1 -1
  717. data/src/core/load_balancing/delegating_helper.h +8 -0
  718. data/src/core/load_balancing/endpoint_list.cc +1 -1
  719. data/src/core/load_balancing/grpclb/client_load_reporting_filter.h +3 -1
  720. data/src/core/load_balancing/grpclb/grpclb.cc +39 -44
  721. data/src/core/load_balancing/grpclb/grpclb_client_stats.h +1 -1
  722. data/src/core/load_balancing/health_check_client.cc +6 -6
  723. data/src/core/load_balancing/health_check_client_internal.h +4 -5
  724. data/src/core/load_balancing/lb_policy.h +13 -4
  725. data/src/core/load_balancing/lb_policy_registry.h +2 -2
  726. data/src/core/load_balancing/oob_backend_metric.cc +6 -6
  727. data/src/core/load_balancing/oob_backend_metric.h +1 -1
  728. data/src/core/load_balancing/oob_backend_metric_internal.h +6 -6
  729. data/src/core/load_balancing/outlier_detection/outlier_detection.cc +29 -29
  730. data/src/core/load_balancing/pick_first/pick_first.cc +70 -148
  731. data/src/core/load_balancing/priority/priority.cc +8 -7
  732. data/src/core/load_balancing/ring_hash/ring_hash.cc +8 -8
  733. data/src/core/load_balancing/ring_hash/ring_hash.h +1 -1
  734. data/src/core/load_balancing/rls/rls.cc +202 -79
  735. data/src/core/load_balancing/rls/rls.h +26 -0
  736. data/src/core/load_balancing/round_robin/round_robin.cc +7 -462
  737. data/src/core/load_balancing/subchannel_interface.h +3 -2
  738. data/src/core/load_balancing/weighted_round_robin/static_stride_scheduler.h +1 -1
  739. data/src/core/load_balancing/weighted_round_robin/weighted_round_robin.cc +169 -964
  740. data/src/core/load_balancing/weighted_target/weighted_target.cc +13 -10
  741. data/src/core/load_balancing/weighted_target/weighted_target.h +28 -0
  742. data/src/core/load_balancing/xds/cds.cc +8 -8
  743. data/src/core/load_balancing/xds/xds_cluster_impl.cc +101 -57
  744. data/src/core/load_balancing/xds/xds_cluster_manager.cc +6 -6
  745. data/src/core/load_balancing/xds/xds_override_host.cc +15 -15
  746. data/src/core/load_balancing/xds/xds_override_host.h +1 -1
  747. data/src/core/load_balancing/xds/xds_wrr_locality.cc +9 -8
  748. data/src/core/plugin_registry/grpc_plugin_registry.cc +20 -3
  749. data/src/core/plugin_registry/grpc_plugin_registry_extra.cc +0 -1
  750. data/src/core/resolver/binder/binder_resolver.cc +9 -2
  751. data/src/core/resolver/dns/c_ares/dns_resolver_ares.cc +8 -7
  752. data/src/core/resolver/dns/c_ares/grpc_ares_ev_driver_posix.cc +2 -2
  753. data/src/core/resolver/dns/c_ares/grpc_ares_ev_driver_windows.cc +3 -3
  754. data/src/core/resolver/dns/c_ares/grpc_ares_wrapper.cc +1 -1
  755. data/src/core/resolver/dns/event_engine/event_engine_client_channel_resolver.cc +2 -2
  756. data/src/core/resolver/dns/event_engine/event_engine_client_channel_resolver.h +3 -1
  757. data/src/core/resolver/dns/native/dns_resolver.cc +3 -3
  758. data/src/core/resolver/endpoint_addresses.h +4 -4
  759. data/src/core/resolver/fake/fake_resolver.cc +2 -2
  760. data/src/core/resolver/fake/fake_resolver.h +1 -1
  761. data/src/core/resolver/google_c2p/google_c2p_resolver.cc +9 -4
  762. data/src/core/resolver/resolver_registry.h +2 -2
  763. data/src/core/resolver/sockaddr/sockaddr_resolver.cc +6 -6
  764. data/src/core/resolver/xds/xds_dependency_manager.cc +14 -9
  765. data/src/core/resolver/xds/xds_dependency_manager.h +5 -5
  766. data/src/core/resolver/xds/xds_resolver.cc +17 -16
  767. data/src/core/resolver/xds/xds_resolver_attributes.h +1 -1
  768. data/src/core/{client_channel → service_config}/service_config_channel_arg_filter.cc +1 -1
  769. data/src/core/service_config/service_config_parser.h +1 -1
  770. data/src/core/tsi/alts/handshaker/alts_handshaker_client.cc +6 -4
  771. data/src/core/tsi/alts/handshaker/alts_tsi_handshaker.cc +1 -0
  772. data/src/core/tsi/ssl/key_logging/ssl_key_logging.cc +1 -1
  773. data/src/core/tsi/ssl_transport_security.cc +198 -70
  774. data/src/core/tsi/ssl_transport_security_utils.cc +127 -0
  775. data/src/core/tsi/ssl_transport_security_utils.h +27 -0
  776. data/src/ruby/ext/grpc/extconf.rb +0 -3
  777. data/src/ruby/ext/grpc/rb_grpc.c +1 -0
  778. data/src/ruby/ext/grpc/rb_grpc_imports.generated.c +0 -2
  779. data/src/ruby/ext/grpc/rb_grpc_imports.generated.h +0 -3
  780. data/src/ruby/lib/grpc/generic/active_call.rb +8 -2
  781. data/src/ruby/lib/grpc/version.rb +1 -1
  782. data/src/ruby/spec/generic/rpc_server_spec.rb +25 -0
  783. data/third_party/abseil-cpp/absl/debugging/internal/examine_stack.cc +320 -0
  784. data/third_party/abseil-cpp/absl/debugging/internal/examine_stack.h +64 -0
  785. data/third_party/abseil-cpp/absl/log/absl_vlog_is_on.h +93 -0
  786. data/third_party/abseil-cpp/absl/log/globals.cc +178 -0
  787. data/third_party/abseil-cpp/absl/log/globals.h +218 -0
  788. data/third_party/abseil-cpp/absl/log/internal/append_truncated.h +47 -0
  789. data/third_party/abseil-cpp/absl/log/internal/conditions.cc +83 -0
  790. data/third_party/abseil-cpp/absl/log/internal/conditions.h +239 -0
  791. data/third_party/abseil-cpp/absl/log/internal/config.h +45 -0
  792. data/third_party/abseil-cpp/absl/log/internal/fnmatch.cc +73 -0
  793. data/third_party/abseil-cpp/absl/log/internal/fnmatch.h +35 -0
  794. data/third_party/abseil-cpp/absl/log/internal/globals.cc +145 -0
  795. data/third_party/abseil-cpp/absl/log/internal/globals.h +101 -0
  796. data/third_party/abseil-cpp/absl/log/internal/log_format.cc +205 -0
  797. data/third_party/abseil-cpp/absl/log/internal/log_format.h +78 -0
  798. data/third_party/abseil-cpp/absl/log/internal/log_impl.h +282 -0
  799. data/third_party/abseil-cpp/absl/log/internal/log_message.cc +633 -0
  800. data/third_party/abseil-cpp/absl/log/internal/log_message.h +375 -0
  801. data/third_party/abseil-cpp/absl/log/internal/log_sink_set.cc +296 -0
  802. data/third_party/abseil-cpp/absl/log/internal/log_sink_set.h +54 -0
  803. data/third_party/abseil-cpp/absl/log/internal/nullguard.cc +35 -0
  804. data/third_party/abseil-cpp/absl/log/internal/nullguard.h +88 -0
  805. data/third_party/abseil-cpp/absl/log/internal/nullstream.h +136 -0
  806. data/third_party/abseil-cpp/absl/log/internal/proto.cc +220 -0
  807. data/third_party/abseil-cpp/absl/log/internal/proto.h +288 -0
  808. data/third_party/abseil-cpp/absl/log/internal/strip.h +72 -0
  809. data/third_party/abseil-cpp/absl/log/internal/vlog_config.cc +340 -0
  810. data/third_party/abseil-cpp/absl/log/internal/vlog_config.h +163 -0
  811. data/third_party/abseil-cpp/absl/log/internal/voidify.h +44 -0
  812. data/third_party/abseil-cpp/absl/log/log.h +361 -0
  813. data/third_party/abseil-cpp/absl/log/log_entry.cc +41 -0
  814. data/third_party/abseil-cpp/absl/log/log_entry.h +221 -0
  815. data/third_party/abseil-cpp/absl/log/log_sink.cc +23 -0
  816. data/third_party/abseil-cpp/absl/log/log_sink.h +64 -0
  817. data/third_party/abseil-cpp/absl/log/log_sink_registry.h +61 -0
  818. data/third_party/abseil-cpp/absl/log/vlog_is_on.h +72 -0
  819. data/third_party/boringssl-with-bazel/src/crypto/asn1/internal.h +1 -7
  820. data/third_party/boringssl-with-bazel/src/crypto/asn1/posix_time.c +50 -39
  821. data/third_party/boringssl-with-bazel/src/crypto/bio/bio.c +2 -2
  822. data/third_party/boringssl-with-bazel/src/crypto/cipher_extra/e_des.c +15 -28
  823. data/third_party/boringssl-with-bazel/src/crypto/curve25519/internal.h +1 -1
  824. data/third_party/boringssl-with-bazel/src/crypto/des/des.c +45 -32
  825. data/third_party/boringssl-with-bazel/src/crypto/des/internal.h +24 -0
  826. data/third_party/boringssl-with-bazel/src/crypto/internal.h +12 -4
  827. data/third_party/boringssl-with-bazel/src/crypto/x509/internal.h +4 -0
  828. data/third_party/boringssl-with-bazel/src/crypto/x509/v3_purp.c +40 -61
  829. data/third_party/boringssl-with-bazel/src/crypto/x509/x509_lu.c +24 -7
  830. data/third_party/boringssl-with-bazel/src/crypto/x509/x509_trs.c +36 -59
  831. data/third_party/boringssl-with-bazel/src/crypto/x509/x509_vfy.c +4 -4
  832. data/third_party/boringssl-with-bazel/src/crypto/x509/x509_vpm.c +13 -2
  833. data/third_party/boringssl-with-bazel/src/include/openssl/asn1.h +10 -10
  834. data/third_party/boringssl-with-bazel/src/include/openssl/base.h +2 -2
  835. data/third_party/boringssl-with-bazel/src/include/openssl/bio.h +3 -3
  836. data/third_party/boringssl-with-bazel/src/include/openssl/pki/certificate.h +83 -0
  837. data/third_party/boringssl-with-bazel/src/include/openssl/pki/signature_verify_cache.h +41 -0
  838. data/third_party/boringssl-with-bazel/src/include/openssl/posix_time.h +6 -0
  839. data/third_party/boringssl-with-bazel/src/include/openssl/rsa.h +19 -10
  840. data/third_party/boringssl-with-bazel/src/include/openssl/span.h +14 -0
  841. data/third_party/boringssl-with-bazel/src/include/openssl/ssl.h +16 -4
  842. data/third_party/boringssl-with-bazel/src/include/openssl/x509.h +196 -141
  843. data/third_party/boringssl-with-bazel/src/ssl/ssl_cert.cc +8 -1
  844. data/third_party/upb/upb/base/descriptor_constants.h +29 -2
  845. data/third_party/upb/upb/{wire/internal/swap.h → base/internal/endian.h} +12 -11
  846. data/third_party/upb/upb/base/status.h +1 -1
  847. data/third_party/upb/upb/base/status.hpp +5 -1
  848. data/third_party/upb/upb/base/string_view.h +7 -5
  849. data/third_party/upb/upb/base/upcast.h +29 -0
  850. data/third_party/upb/upb/generated_code_support.h +2 -1
  851. data/third_party/upb/upb/json/decode.c +103 -53
  852. data/third_party/upb/upb/json/decode.h +3 -26
  853. data/third_party/upb/upb/json/encode.c +3 -26
  854. data/third_party/upb/upb/json/encode.h +3 -26
  855. data/third_party/upb/upb/mem/arena.c +233 -106
  856. data/third_party/upb/upb/mem/arena.h +14 -66
  857. data/third_party/upb/upb/mem/arena.hpp +8 -4
  858. data/third_party/upb/upb/mem/internal/arena.h +76 -58
  859. data/third_party/upb/upb/message/accessors.c +19 -46
  860. data/third_party/upb/upb/message/accessors.h +208 -123
  861. data/third_party/upb/upb/message/array.c +55 -83
  862. data/third_party/upb/upb/message/array.h +18 -30
  863. data/third_party/upb/upb/message/compat.c +39 -0
  864. data/third_party/upb/upb/message/compat.h +41 -0
  865. data/third_party/upb/upb/message/copy.c +322 -0
  866. data/third_party/upb/upb/message/copy.h +56 -0
  867. data/third_party/upb/upb/message/internal/accessors.h +178 -178
  868. data/third_party/upb/upb/message/internal/array.h +80 -81
  869. data/third_party/upb/upb/message/internal/extension.c +63 -0
  870. data/third_party/upb/upb/message/internal/extension.h +12 -12
  871. data/third_party/upb/upb/message/internal/map.h +28 -41
  872. data/third_party/upb/upb/message/internal/map_entry.h +14 -39
  873. data/third_party/upb/upb/message/internal/map_sorter.h +18 -37
  874. data/third_party/upb/upb/message/internal/message.c +59 -0
  875. data/third_party/upb/upb/message/internal/message.h +26 -42
  876. data/third_party/upb/upb/message/internal/tagged_ptr.h +56 -0
  877. data/third_party/upb/upb/message/internal/types.h +7 -12
  878. data/third_party/upb/upb/message/map.c +3 -26
  879. data/third_party/upb/upb/message/map.h +5 -33
  880. data/third_party/upb/upb/message/map_gencode_util.h +3 -26
  881. data/third_party/upb/upb/message/map_sorter.c +22 -34
  882. data/third_party/upb/upb/message/message.c +28 -104
  883. data/third_party/upb/upb/message/message.h +4 -8
  884. data/third_party/upb/upb/message/tagged_ptr.h +14 -31
  885. data/third_party/upb/upb/message/value.h +3 -5
  886. data/third_party/upb/upb/mini_descriptor/build_enum.c +20 -11
  887. data/third_party/upb/upb/mini_descriptor/decode.c +127 -107
  888. data/third_party/upb/upb/mini_descriptor/decode.h +3 -8
  889. data/third_party/upb/upb/mini_descriptor/link.c +34 -22
  890. data/third_party/upb/upb/mini_descriptor/link.h +1 -1
  891. data/third_party/upb/upb/mini_table/enum.h +4 -6
  892. data/third_party/upb/upb/mini_table/extension.h +37 -0
  893. data/third_party/upb/upb/mini_table/extension_registry.c +9 -2
  894. data/third_party/upb/upb/mini_table/field.h +46 -60
  895. data/third_party/upb/upb/mini_table/file.h +44 -0
  896. data/third_party/upb/upb/mini_table/internal/enum.h +19 -20
  897. data/third_party/upb/upb/mini_table/internal/extension.h +34 -3
  898. data/third_party/upb/upb/mini_table/internal/field.h +136 -27
  899. data/third_party/upb/upb/mini_table/internal/file.h +47 -10
  900. data/third_party/upb/upb/mini_table/internal/message.c +17 -9
  901. data/third_party/upb/upb/mini_table/internal/message.h +94 -23
  902. data/third_party/upb/upb/mini_table/internal/size_log2.h +77 -0
  903. data/third_party/upb/upb/mini_table/internal/sub.h +39 -4
  904. data/third_party/upb/upb/mini_table/message.c +18 -19
  905. data/third_party/upb/upb/mini_table/message.h +29 -20
  906. data/third_party/upb/upb/mini_table/sub.h +40 -1
  907. data/third_party/upb/upb/port/def.inc +18 -0
  908. data/third_party/upb/upb/port/undef.inc +3 -0
  909. data/third_party/upb/upb/reflection/def.hpp +8 -4
  910. data/third_party/upb/upb/reflection/def_pool.c +81 -2
  911. data/third_party/upb/upb/reflection/def_pool.h +8 -0
  912. data/third_party/upb/upb/reflection/enum_def.c +42 -19
  913. data/third_party/upb/upb/reflection/enum_def.h +1 -0
  914. data/third_party/upb/upb/reflection/enum_value_def.c +43 -14
  915. data/third_party/upb/upb/reflection/enum_value_def.h +2 -0
  916. data/third_party/upb/upb/reflection/extension_range.c +13 -5
  917. data/third_party/upb/upb/reflection/extension_range.h +2 -0
  918. data/third_party/upb/upb/reflection/field_def.c +177 -130
  919. data/third_party/upb/upb/reflection/field_def.h +10 -1
  920. data/third_party/upb/upb/reflection/file_def.c +98 -9
  921. data/third_party/upb/upb/reflection/file_def.h +3 -0
  922. data/third_party/upb/upb/reflection/internal/def_builder.c +85 -7
  923. data/third_party/upb/upb/reflection/internal/def_builder.h +23 -0
  924. data/third_party/upb/upb/reflection/internal/enum_def.h +5 -4
  925. data/third_party/upb/upb/reflection/internal/enum_reserved_range.h +1 -1
  926. data/third_party/upb/upb/reflection/internal/enum_value_def.h +2 -1
  927. data/third_party/upb/upb/reflection/internal/extension_range.h +2 -2
  928. data/third_party/upb/upb/reflection/internal/field_def.h +11 -10
  929. data/third_party/upb/upb/reflection/internal/message_def.h +6 -3
  930. data/third_party/upb/upb/reflection/internal/method_def.h +5 -3
  931. data/third_party/upb/upb/reflection/internal/oneof_def.h +5 -3
  932. data/third_party/upb/upb/reflection/internal/service_def.h +5 -3
  933. data/third_party/upb/upb/reflection/internal/upb_edition_defaults.h +20 -0
  934. data/third_party/upb/upb/reflection/message.c +27 -12
  935. data/third_party/upb/upb/reflection/message.h +5 -5
  936. data/third_party/upb/upb/reflection/message_def.c +56 -27
  937. data/third_party/upb/upb/reflection/message_def.h +2 -0
  938. data/third_party/upb/upb/reflection/method_def.c +20 -9
  939. data/third_party/upb/upb/reflection/method_def.h +2 -0
  940. data/third_party/upb/upb/reflection/oneof_def.c +20 -11
  941. data/third_party/upb/upb/reflection/oneof_def.h +3 -1
  942. data/third_party/upb/upb/reflection/service_def.c +25 -13
  943. data/third_party/upb/upb/reflection/service_def.h +2 -0
  944. data/third_party/upb/upb/text/encode.c +126 -36
  945. data/third_party/upb/upb/wire/decode.c +214 -196
  946. data/third_party/upb/upb/wire/decode.h +10 -0
  947. data/third_party/upb/upb/wire/encode.c +105 -91
  948. data/third_party/upb/upb/wire/encode.h +4 -3
  949. data/third_party/upb/upb/wire/{decode_fast.c → internal/decode_fast.c} +53 -48
  950. data/third_party/upb/upb/wire/{decode_fast.h → internal/decode_fast.h} +6 -5
  951. data/third_party/upb/upb/wire/internal/{decode.h → decoder.h} +15 -31
  952. data/third_party/upb/upb/wire/internal/reader.h +61 -0
  953. data/third_party/upb/upb/wire/reader.c +9 -6
  954. data/third_party/upb/upb/wire/reader.h +18 -47
  955. data/third_party/utf8_range/utf8_range.c +467 -0
  956. data/third_party/utf8_range/utf8_range.h +9 -8
  957. metadata +83 -30
  958. data/src/core/client_channel/channel_connectivity.cc +0 -265
  959. data/src/core/ext/filters/channel_idle/channel_idle_filter.cc +0 -318
  960. data/src/core/ext/filters/channel_idle/channel_idle_filter.h +0 -150
  961. data/src/core/ext/filters/http/message_compress/legacy_compression_filter.cc +0 -325
  962. data/src/core/ext/filters/http/message_compress/legacy_compression_filter.h +0 -139
  963. data/src/core/lib/gpr/wrap_memcpy.cc +0 -43
  964. data/src/core/lib/security/transport/legacy_server_auth_filter.cc +0 -244
  965. data/src/core/lib/slice/b64.cc +0 -239
  966. data/src/core/lib/slice/b64.h +0 -52
  967. data/src/core/lib/surface/call_trace.cc +0 -163
  968. data/src/core/lib/surface/channel_ping.cc +0 -69
  969. data/src/core/lib/transport/call_factory.cc +0 -41
  970. data/src/core/lib/transport/call_factory.h +0 -56
  971. data/src/core/load_balancing/subchannel_list.h +0 -455
  972. data/third_party/upb/upb/message/types.h +0 -15
  973. data/third_party/utf8_range/naive.c +0 -92
  974. data/third_party/utf8_range/range2-neon.c +0 -157
  975. data/third_party/utf8_range/range2-sse.c +0 -170
@@ -23,19 +23,19 @@
23
23
  extern "C" {
24
24
  #endif
25
25
 
26
- typedef struct google_api_expr_v1alpha1_CheckedExpr google_api_expr_v1alpha1_CheckedExpr;
27
- typedef struct google_api_expr_v1alpha1_CheckedExpr_ReferenceMapEntry google_api_expr_v1alpha1_CheckedExpr_ReferenceMapEntry;
28
- typedef struct google_api_expr_v1alpha1_CheckedExpr_TypeMapEntry google_api_expr_v1alpha1_CheckedExpr_TypeMapEntry;
29
- typedef struct google_api_expr_v1alpha1_Type google_api_expr_v1alpha1_Type;
30
- typedef struct google_api_expr_v1alpha1_Type_ListType google_api_expr_v1alpha1_Type_ListType;
31
- typedef struct google_api_expr_v1alpha1_Type_MapType google_api_expr_v1alpha1_Type_MapType;
32
- typedef struct google_api_expr_v1alpha1_Type_FunctionType google_api_expr_v1alpha1_Type_FunctionType;
33
- typedef struct google_api_expr_v1alpha1_Type_AbstractType google_api_expr_v1alpha1_Type_AbstractType;
34
- typedef struct google_api_expr_v1alpha1_Decl google_api_expr_v1alpha1_Decl;
35
- typedef struct google_api_expr_v1alpha1_Decl_IdentDecl google_api_expr_v1alpha1_Decl_IdentDecl;
36
- typedef struct google_api_expr_v1alpha1_Decl_FunctionDecl google_api_expr_v1alpha1_Decl_FunctionDecl;
37
- typedef struct google_api_expr_v1alpha1_Decl_FunctionDecl_Overload google_api_expr_v1alpha1_Decl_FunctionDecl_Overload;
38
- typedef struct google_api_expr_v1alpha1_Reference google_api_expr_v1alpha1_Reference;
26
+ typedef struct google_api_expr_v1alpha1_CheckedExpr { upb_Message UPB_PRIVATE(base); } google_api_expr_v1alpha1_CheckedExpr;
27
+ typedef struct google_api_expr_v1alpha1_CheckedExpr_ReferenceMapEntry { upb_Message UPB_PRIVATE(base); } google_api_expr_v1alpha1_CheckedExpr_ReferenceMapEntry;
28
+ typedef struct google_api_expr_v1alpha1_CheckedExpr_TypeMapEntry { upb_Message UPB_PRIVATE(base); } google_api_expr_v1alpha1_CheckedExpr_TypeMapEntry;
29
+ typedef struct google_api_expr_v1alpha1_Type { upb_Message UPB_PRIVATE(base); } google_api_expr_v1alpha1_Type;
30
+ typedef struct google_api_expr_v1alpha1_Type_ListType { upb_Message UPB_PRIVATE(base); } google_api_expr_v1alpha1_Type_ListType;
31
+ typedef struct google_api_expr_v1alpha1_Type_MapType { upb_Message UPB_PRIVATE(base); } google_api_expr_v1alpha1_Type_MapType;
32
+ typedef struct google_api_expr_v1alpha1_Type_FunctionType { upb_Message UPB_PRIVATE(base); } google_api_expr_v1alpha1_Type_FunctionType;
33
+ typedef struct google_api_expr_v1alpha1_Type_AbstractType { upb_Message UPB_PRIVATE(base); } google_api_expr_v1alpha1_Type_AbstractType;
34
+ typedef struct google_api_expr_v1alpha1_Decl { upb_Message UPB_PRIVATE(base); } google_api_expr_v1alpha1_Decl;
35
+ typedef struct google_api_expr_v1alpha1_Decl_IdentDecl { upb_Message UPB_PRIVATE(base); } google_api_expr_v1alpha1_Decl_IdentDecl;
36
+ typedef struct google_api_expr_v1alpha1_Decl_FunctionDecl { upb_Message UPB_PRIVATE(base); } google_api_expr_v1alpha1_Decl_FunctionDecl;
37
+ typedef struct google_api_expr_v1alpha1_Decl_FunctionDecl_Overload { upb_Message UPB_PRIVATE(base); } google_api_expr_v1alpha1_Decl_FunctionDecl_Overload;
38
+ typedef struct google_api_expr_v1alpha1_Reference { upb_Message UPB_PRIVATE(base); } google_api_expr_v1alpha1_Reference;
39
39
  struct google_api_expr_v1alpha1_Constant;
40
40
  struct google_api_expr_v1alpha1_Expr;
41
41
  struct google_api_expr_v1alpha1_SourceInfo;
@@ -68,7 +68,8 @@ UPB_INLINE google_api_expr_v1alpha1_CheckedExpr* google_api_expr_v1alpha1_Checke
68
68
  UPB_INLINE google_api_expr_v1alpha1_CheckedExpr* google_api_expr_v1alpha1_CheckedExpr_parse(const char* buf, size_t size, upb_Arena* arena) {
69
69
  google_api_expr_v1alpha1_CheckedExpr* ret = google_api_expr_v1alpha1_CheckedExpr_new(arena);
70
70
  if (!ret) return NULL;
71
- if (upb_Decode(buf, size, ret, &google__api__expr__v1alpha1__CheckedExpr_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) {
71
+ if (upb_Decode(buf, size, UPB_UPCAST(ret), &google__api__expr__v1alpha1__CheckedExpr_msg_init, NULL, 0, arena) !=
72
+ kUpb_DecodeStatus_Ok) {
72
73
  return NULL;
73
74
  }
74
75
  return ret;
@@ -78,147 +79,167 @@ UPB_INLINE google_api_expr_v1alpha1_CheckedExpr* google_api_expr_v1alpha1_Checke
78
79
  int options, upb_Arena* arena) {
79
80
  google_api_expr_v1alpha1_CheckedExpr* ret = google_api_expr_v1alpha1_CheckedExpr_new(arena);
80
81
  if (!ret) return NULL;
81
- if (upb_Decode(buf, size, ret, &google__api__expr__v1alpha1__CheckedExpr_msg_init, extreg, options, arena) !=
82
- kUpb_DecodeStatus_Ok) {
82
+ if (upb_Decode(buf, size, UPB_UPCAST(ret), &google__api__expr__v1alpha1__CheckedExpr_msg_init, extreg, options,
83
+ arena) != kUpb_DecodeStatus_Ok) {
83
84
  return NULL;
84
85
  }
85
86
  return ret;
86
87
  }
87
88
  UPB_INLINE char* google_api_expr_v1alpha1_CheckedExpr_serialize(const google_api_expr_v1alpha1_CheckedExpr* msg, upb_Arena* arena, size_t* len) {
88
89
  char* ptr;
89
- (void)upb_Encode(msg, &google__api__expr__v1alpha1__CheckedExpr_msg_init, 0, arena, &ptr, len);
90
+ (void)upb_Encode(UPB_UPCAST(msg), &google__api__expr__v1alpha1__CheckedExpr_msg_init, 0, arena, &ptr, len);
90
91
  return ptr;
91
92
  }
92
93
  UPB_INLINE char* google_api_expr_v1alpha1_CheckedExpr_serialize_ex(const google_api_expr_v1alpha1_CheckedExpr* msg, int options,
93
94
  upb_Arena* arena, size_t* len) {
94
95
  char* ptr;
95
- (void)upb_Encode(msg, &google__api__expr__v1alpha1__CheckedExpr_msg_init, options, arena, &ptr, len);
96
+ (void)upb_Encode(UPB_UPCAST(msg), &google__api__expr__v1alpha1__CheckedExpr_msg_init, options, arena, &ptr, len);
96
97
  return ptr;
97
98
  }
98
99
  UPB_INLINE void google_api_expr_v1alpha1_CheckedExpr_clear_reference_map(google_api_expr_v1alpha1_CheckedExpr* msg) {
99
- const upb_MiniTableField field = {2, UPB_SIZE(4, 8), 0, 0, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
100
- _upb_Message_ClearNonExtensionField(msg, &field);
100
+ const upb_MiniTableField field = {2, UPB_SIZE(12, 16), 0, 0, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
101
+ upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
101
102
  }
102
103
  UPB_INLINE size_t google_api_expr_v1alpha1_CheckedExpr_reference_map_size(const google_api_expr_v1alpha1_CheckedExpr* msg) {
103
- const upb_MiniTableField field = {2, UPB_SIZE(4, 8), 0, 0, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
104
- const upb_Map* map = upb_Message_GetMap(msg, &field);
104
+ const upb_MiniTableField field = {2, UPB_SIZE(12, 16), 0, 0, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
105
+ const upb_Map* map = upb_Message_GetMap(UPB_UPCAST(msg), &field);
105
106
  return map ? _upb_Map_Size(map) : 0;
106
107
  }
107
108
  UPB_INLINE bool google_api_expr_v1alpha1_CheckedExpr_reference_map_get(const google_api_expr_v1alpha1_CheckedExpr* msg, int64_t key, google_api_expr_v1alpha1_Reference** val) {
108
- const upb_MiniTableField field = {2, UPB_SIZE(4, 8), 0, 0, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
109
- const upb_Map* map = upb_Message_GetMap(msg, &field);
109
+ const upb_MiniTableField field = {2, UPB_SIZE(12, 16), 0, 0, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
110
+ const upb_Map* map = upb_Message_GetMap(UPB_UPCAST(msg), &field);
110
111
  if (!map) return false;
111
112
  return _upb_Map_Get(map, &key, sizeof(key), val, sizeof(*val));
112
113
  }
113
114
  UPB_INLINE const google_api_expr_v1alpha1_CheckedExpr_ReferenceMapEntry* google_api_expr_v1alpha1_CheckedExpr_reference_map_next(const google_api_expr_v1alpha1_CheckedExpr* msg, size_t* iter) {
114
- const upb_MiniTableField field = {2, UPB_SIZE(4, 8), 0, 0, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
115
- const upb_Map* map = upb_Message_GetMap(msg, &field);
115
+ const upb_MiniTableField field = {2, UPB_SIZE(12, 16), 0, 0, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
116
+ const upb_Map* map = upb_Message_GetMap(UPB_UPCAST(msg), &field);
116
117
  if (!map) return NULL;
117
118
  return (const google_api_expr_v1alpha1_CheckedExpr_ReferenceMapEntry*)_upb_map_next(map, iter);
118
119
  }
120
+ UPB_INLINE const upb_Map* _google_api_expr_v1alpha1_CheckedExpr_reference_map_upb_map(google_api_expr_v1alpha1_CheckedExpr* msg) {
121
+ const upb_MiniTableField field = {2, UPB_SIZE(12, 16), 0, 0, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
122
+ return upb_Message_GetMap(UPB_UPCAST(msg), &field);
123
+ }
124
+ UPB_INLINE upb_Map* _google_api_expr_v1alpha1_CheckedExpr_reference_map_mutable_upb_map(google_api_expr_v1alpha1_CheckedExpr* msg, upb_Arena* a) {
125
+ const upb_MiniTableField field = {2, UPB_SIZE(12, 16), 0, 0, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
126
+ return _upb_Message_GetOrCreateMutableMap(UPB_UPCAST(msg), &field, sizeof(int64_t), sizeof(google_api_expr_v1alpha1_Reference*), a);
127
+ }
119
128
  UPB_INLINE void google_api_expr_v1alpha1_CheckedExpr_clear_type_map(google_api_expr_v1alpha1_CheckedExpr* msg) {
120
- const upb_MiniTableField field = {3, UPB_SIZE(8, 16), 0, 1, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
121
- _upb_Message_ClearNonExtensionField(msg, &field);
129
+ const upb_MiniTableField field = {3, UPB_SIZE(16, 24), 0, 1, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
130
+ upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
122
131
  }
123
132
  UPB_INLINE size_t google_api_expr_v1alpha1_CheckedExpr_type_map_size(const google_api_expr_v1alpha1_CheckedExpr* msg) {
124
- const upb_MiniTableField field = {3, UPB_SIZE(8, 16), 0, 1, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
125
- const upb_Map* map = upb_Message_GetMap(msg, &field);
133
+ const upb_MiniTableField field = {3, UPB_SIZE(16, 24), 0, 1, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
134
+ const upb_Map* map = upb_Message_GetMap(UPB_UPCAST(msg), &field);
126
135
  return map ? _upb_Map_Size(map) : 0;
127
136
  }
128
137
  UPB_INLINE bool google_api_expr_v1alpha1_CheckedExpr_type_map_get(const google_api_expr_v1alpha1_CheckedExpr* msg, int64_t key, google_api_expr_v1alpha1_Type** val) {
129
- const upb_MiniTableField field = {3, UPB_SIZE(8, 16), 0, 1, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
130
- const upb_Map* map = upb_Message_GetMap(msg, &field);
138
+ const upb_MiniTableField field = {3, UPB_SIZE(16, 24), 0, 1, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
139
+ const upb_Map* map = upb_Message_GetMap(UPB_UPCAST(msg), &field);
131
140
  if (!map) return false;
132
141
  return _upb_Map_Get(map, &key, sizeof(key), val, sizeof(*val));
133
142
  }
134
143
  UPB_INLINE const google_api_expr_v1alpha1_CheckedExpr_TypeMapEntry* google_api_expr_v1alpha1_CheckedExpr_type_map_next(const google_api_expr_v1alpha1_CheckedExpr* msg, size_t* iter) {
135
- const upb_MiniTableField field = {3, UPB_SIZE(8, 16), 0, 1, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
136
- const upb_Map* map = upb_Message_GetMap(msg, &field);
144
+ const upb_MiniTableField field = {3, UPB_SIZE(16, 24), 0, 1, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
145
+ const upb_Map* map = upb_Message_GetMap(UPB_UPCAST(msg), &field);
137
146
  if (!map) return NULL;
138
147
  return (const google_api_expr_v1alpha1_CheckedExpr_TypeMapEntry*)_upb_map_next(map, iter);
139
148
  }
149
+ UPB_INLINE const upb_Map* _google_api_expr_v1alpha1_CheckedExpr_type_map_upb_map(google_api_expr_v1alpha1_CheckedExpr* msg) {
150
+ const upb_MiniTableField field = {3, UPB_SIZE(16, 24), 0, 1, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
151
+ return upb_Message_GetMap(UPB_UPCAST(msg), &field);
152
+ }
153
+ UPB_INLINE upb_Map* _google_api_expr_v1alpha1_CheckedExpr_type_map_mutable_upb_map(google_api_expr_v1alpha1_CheckedExpr* msg, upb_Arena* a) {
154
+ const upb_MiniTableField field = {3, UPB_SIZE(16, 24), 0, 1, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
155
+ return _upb_Message_GetOrCreateMutableMap(UPB_UPCAST(msg), &field, sizeof(int64_t), sizeof(google_api_expr_v1alpha1_Type*), a);
156
+ }
140
157
  UPB_INLINE void google_api_expr_v1alpha1_CheckedExpr_clear_expr(google_api_expr_v1alpha1_CheckedExpr* msg) {
141
- const upb_MiniTableField field = {4, UPB_SIZE(12, 24), 1, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
142
- _upb_Message_ClearNonExtensionField(msg, &field);
158
+ const upb_MiniTableField field = {4, UPB_SIZE(20, 32), 64, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
159
+ upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
143
160
  }
144
161
  UPB_INLINE const struct google_api_expr_v1alpha1_Expr* google_api_expr_v1alpha1_CheckedExpr_expr(const google_api_expr_v1alpha1_CheckedExpr* msg) {
145
162
  const struct google_api_expr_v1alpha1_Expr* default_val = NULL;
146
163
  const struct google_api_expr_v1alpha1_Expr* ret;
147
- const upb_MiniTableField field = {4, UPB_SIZE(12, 24), 1, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
148
- _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret);
164
+ const upb_MiniTableField field = {4, UPB_SIZE(20, 32), 64, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
165
+ _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
166
+ &default_val, &ret);
149
167
  return ret;
150
168
  }
151
169
  UPB_INLINE bool google_api_expr_v1alpha1_CheckedExpr_has_expr(const google_api_expr_v1alpha1_CheckedExpr* msg) {
152
- const upb_MiniTableField field = {4, UPB_SIZE(12, 24), 1, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
153
- return _upb_Message_HasNonExtensionField(msg, &field);
170
+ const upb_MiniTableField field = {4, UPB_SIZE(20, 32), 64, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
171
+ return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
154
172
  }
155
173
  UPB_INLINE void google_api_expr_v1alpha1_CheckedExpr_clear_source_info(google_api_expr_v1alpha1_CheckedExpr* msg) {
156
- const upb_MiniTableField field = {5, UPB_SIZE(16, 32), 2, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
157
- _upb_Message_ClearNonExtensionField(msg, &field);
174
+ const upb_MiniTableField field = {5, UPB_SIZE(24, 40), 65, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
175
+ upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
158
176
  }
159
177
  UPB_INLINE const struct google_api_expr_v1alpha1_SourceInfo* google_api_expr_v1alpha1_CheckedExpr_source_info(const google_api_expr_v1alpha1_CheckedExpr* msg) {
160
178
  const struct google_api_expr_v1alpha1_SourceInfo* default_val = NULL;
161
179
  const struct google_api_expr_v1alpha1_SourceInfo* ret;
162
- const upb_MiniTableField field = {5, UPB_SIZE(16, 32), 2, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
163
- _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret);
180
+ const upb_MiniTableField field = {5, UPB_SIZE(24, 40), 65, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
181
+ _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
182
+ &default_val, &ret);
164
183
  return ret;
165
184
  }
166
185
  UPB_INLINE bool google_api_expr_v1alpha1_CheckedExpr_has_source_info(const google_api_expr_v1alpha1_CheckedExpr* msg) {
167
- const upb_MiniTableField field = {5, UPB_SIZE(16, 32), 2, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
168
- return _upb_Message_HasNonExtensionField(msg, &field);
186
+ const upb_MiniTableField field = {5, UPB_SIZE(24, 40), 65, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
187
+ return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
169
188
  }
170
189
 
171
190
  UPB_INLINE void google_api_expr_v1alpha1_CheckedExpr_reference_map_clear(google_api_expr_v1alpha1_CheckedExpr* msg) {
172
- const upb_MiniTableField field = {2, UPB_SIZE(4, 8), 0, 0, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
173
- upb_Map* map = (upb_Map*)upb_Message_GetMap(msg, &field);
191
+ const upb_MiniTableField field = {2, UPB_SIZE(12, 16), 0, 0, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
192
+ upb_Map* map = (upb_Map*)upb_Message_GetMap(UPB_UPCAST(msg), &field);
174
193
  if (!map) return;
175
194
  _upb_Map_Clear(map);
176
195
  }
177
196
  UPB_INLINE bool google_api_expr_v1alpha1_CheckedExpr_reference_map_set(google_api_expr_v1alpha1_CheckedExpr* msg, int64_t key, google_api_expr_v1alpha1_Reference* val, upb_Arena* a) {
178
- const upb_MiniTableField field = {2, UPB_SIZE(4, 8), 0, 0, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
179
- upb_Map* map = _upb_Message_GetOrCreateMutableMap(msg, &field, sizeof(key), sizeof(val), a);
197
+ const upb_MiniTableField field = {2, UPB_SIZE(12, 16), 0, 0, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
198
+ upb_Map* map = _upb_Message_GetOrCreateMutableMap(UPB_UPCAST(msg),
199
+ &field, sizeof(key), sizeof(val), a);
180
200
  return _upb_Map_Insert(map, &key, sizeof(key), &val, sizeof(val), a) !=
181
201
  kUpb_MapInsertStatus_OutOfMemory;
182
202
  }
183
203
  UPB_INLINE bool google_api_expr_v1alpha1_CheckedExpr_reference_map_delete(google_api_expr_v1alpha1_CheckedExpr* msg, int64_t key) {
184
- const upb_MiniTableField field = {2, UPB_SIZE(4, 8), 0, 0, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
185
- upb_Map* map = (upb_Map*)upb_Message_GetMap(msg, &field);
204
+ const upb_MiniTableField field = {2, UPB_SIZE(12, 16), 0, 0, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
205
+ upb_Map* map = (upb_Map*)upb_Message_GetMap(UPB_UPCAST(msg), &field);
186
206
  if (!map) return false;
187
207
  return _upb_Map_Delete(map, &key, sizeof(key), NULL);
188
208
  }
189
209
  UPB_INLINE google_api_expr_v1alpha1_CheckedExpr_ReferenceMapEntry* google_api_expr_v1alpha1_CheckedExpr_reference_map_nextmutable(google_api_expr_v1alpha1_CheckedExpr* msg, size_t* iter) {
190
- const upb_MiniTableField field = {2, UPB_SIZE(4, 8), 0, 0, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
191
- upb_Map* map = (upb_Map*)upb_Message_GetMap(msg, &field);
210
+ const upb_MiniTableField field = {2, UPB_SIZE(12, 16), 0, 0, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
211
+ upb_Map* map = (upb_Map*)upb_Message_GetMap(UPB_UPCAST(msg), &field);
192
212
  if (!map) return NULL;
193
213
  return (google_api_expr_v1alpha1_CheckedExpr_ReferenceMapEntry*)_upb_map_next(map, iter);
194
214
  }
195
215
  UPB_INLINE void google_api_expr_v1alpha1_CheckedExpr_type_map_clear(google_api_expr_v1alpha1_CheckedExpr* msg) {
196
- const upb_MiniTableField field = {3, UPB_SIZE(8, 16), 0, 1, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
197
- upb_Map* map = (upb_Map*)upb_Message_GetMap(msg, &field);
216
+ const upb_MiniTableField field = {3, UPB_SIZE(16, 24), 0, 1, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
217
+ upb_Map* map = (upb_Map*)upb_Message_GetMap(UPB_UPCAST(msg), &field);
198
218
  if (!map) return;
199
219
  _upb_Map_Clear(map);
200
220
  }
201
221
  UPB_INLINE bool google_api_expr_v1alpha1_CheckedExpr_type_map_set(google_api_expr_v1alpha1_CheckedExpr* msg, int64_t key, google_api_expr_v1alpha1_Type* val, upb_Arena* a) {
202
- const upb_MiniTableField field = {3, UPB_SIZE(8, 16), 0, 1, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
203
- upb_Map* map = _upb_Message_GetOrCreateMutableMap(msg, &field, sizeof(key), sizeof(val), a);
222
+ const upb_MiniTableField field = {3, UPB_SIZE(16, 24), 0, 1, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
223
+ upb_Map* map = _upb_Message_GetOrCreateMutableMap(UPB_UPCAST(msg),
224
+ &field, sizeof(key), sizeof(val), a);
204
225
  return _upb_Map_Insert(map, &key, sizeof(key), &val, sizeof(val), a) !=
205
226
  kUpb_MapInsertStatus_OutOfMemory;
206
227
  }
207
228
  UPB_INLINE bool google_api_expr_v1alpha1_CheckedExpr_type_map_delete(google_api_expr_v1alpha1_CheckedExpr* msg, int64_t key) {
208
- const upb_MiniTableField field = {3, UPB_SIZE(8, 16), 0, 1, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
209
- upb_Map* map = (upb_Map*)upb_Message_GetMap(msg, &field);
229
+ const upb_MiniTableField field = {3, UPB_SIZE(16, 24), 0, 1, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
230
+ upb_Map* map = (upb_Map*)upb_Message_GetMap(UPB_UPCAST(msg), &field);
210
231
  if (!map) return false;
211
232
  return _upb_Map_Delete(map, &key, sizeof(key), NULL);
212
233
  }
213
234
  UPB_INLINE google_api_expr_v1alpha1_CheckedExpr_TypeMapEntry* google_api_expr_v1alpha1_CheckedExpr_type_map_nextmutable(google_api_expr_v1alpha1_CheckedExpr* msg, size_t* iter) {
214
- const upb_MiniTableField field = {3, UPB_SIZE(8, 16), 0, 1, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
215
- upb_Map* map = (upb_Map*)upb_Message_GetMap(msg, &field);
235
+ const upb_MiniTableField field = {3, UPB_SIZE(16, 24), 0, 1, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
236
+ upb_Map* map = (upb_Map*)upb_Message_GetMap(UPB_UPCAST(msg), &field);
216
237
  if (!map) return NULL;
217
238
  return (google_api_expr_v1alpha1_CheckedExpr_TypeMapEntry*)_upb_map_next(map, iter);
218
239
  }
219
240
  UPB_INLINE void google_api_expr_v1alpha1_CheckedExpr_set_expr(google_api_expr_v1alpha1_CheckedExpr *msg, struct google_api_expr_v1alpha1_Expr* value) {
220
- const upb_MiniTableField field = {4, UPB_SIZE(12, 24), 1, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
221
- _upb_Message_SetNonExtensionField(msg, &field, &value);
241
+ const upb_MiniTableField field = {4, UPB_SIZE(20, 32), 64, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
242
+ _upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
222
243
  }
223
244
  UPB_INLINE struct google_api_expr_v1alpha1_Expr* google_api_expr_v1alpha1_CheckedExpr_mutable_expr(google_api_expr_v1alpha1_CheckedExpr* msg, upb_Arena* arena) {
224
245
  struct google_api_expr_v1alpha1_Expr* sub = (struct google_api_expr_v1alpha1_Expr*)google_api_expr_v1alpha1_CheckedExpr_expr(msg);
@@ -229,8 +250,8 @@ UPB_INLINE struct google_api_expr_v1alpha1_Expr* google_api_expr_v1alpha1_Checke
229
250
  return sub;
230
251
  }
231
252
  UPB_INLINE void google_api_expr_v1alpha1_CheckedExpr_set_source_info(google_api_expr_v1alpha1_CheckedExpr *msg, struct google_api_expr_v1alpha1_SourceInfo* value) {
232
- const upb_MiniTableField field = {5, UPB_SIZE(16, 32), 2, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
233
- _upb_Message_SetNonExtensionField(msg, &field, &value);
253
+ const upb_MiniTableField field = {5, UPB_SIZE(24, 40), 65, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
254
+ _upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
234
255
  }
235
256
  UPB_INLINE struct google_api_expr_v1alpha1_SourceInfo* google_api_expr_v1alpha1_CheckedExpr_mutable_source_info(google_api_expr_v1alpha1_CheckedExpr* msg, upb_Arena* arena) {
236
257
  struct google_api_expr_v1alpha1_SourceInfo* sub = (struct google_api_expr_v1alpha1_SourceInfo*)google_api_expr_v1alpha1_CheckedExpr_source_info(msg);
@@ -254,8 +275,8 @@ UPB_INLINE const google_api_expr_v1alpha1_Reference* google_api_expr_v1alpha1_Ch
254
275
  return ret;
255
276
  }
256
277
  UPB_INLINE bool google_api_expr_v1alpha1_CheckedExpr_ReferenceMapEntry_has_value(const google_api_expr_v1alpha1_CheckedExpr_ReferenceMapEntry* msg) {
257
- const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
258
- return _upb_Message_HasNonExtensionField(msg, &field);
278
+ const upb_MiniTableField field = {2, 32, 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
279
+ return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
259
280
  }
260
281
 
261
282
  UPB_INLINE void google_api_expr_v1alpha1_CheckedExpr_ReferenceMapEntry_set_value(google_api_expr_v1alpha1_CheckedExpr_ReferenceMapEntry *msg, google_api_expr_v1alpha1_Reference* value) {
@@ -275,8 +296,8 @@ UPB_INLINE const google_api_expr_v1alpha1_Type* google_api_expr_v1alpha1_Checked
275
296
  return ret;
276
297
  }
277
298
  UPB_INLINE bool google_api_expr_v1alpha1_CheckedExpr_TypeMapEntry_has_value(const google_api_expr_v1alpha1_CheckedExpr_TypeMapEntry* msg) {
278
- const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
279
- return _upb_Message_HasNonExtensionField(msg, &field);
299
+ const upb_MiniTableField field = {2, 32, 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
300
+ return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
280
301
  }
281
302
 
282
303
  UPB_INLINE void google_api_expr_v1alpha1_CheckedExpr_TypeMapEntry_set_value(google_api_expr_v1alpha1_CheckedExpr_TypeMapEntry *msg, google_api_expr_v1alpha1_Type* value) {
@@ -291,7 +312,8 @@ UPB_INLINE google_api_expr_v1alpha1_Type* google_api_expr_v1alpha1_Type_new(upb_
291
312
  UPB_INLINE google_api_expr_v1alpha1_Type* google_api_expr_v1alpha1_Type_parse(const char* buf, size_t size, upb_Arena* arena) {
292
313
  google_api_expr_v1alpha1_Type* ret = google_api_expr_v1alpha1_Type_new(arena);
293
314
  if (!ret) return NULL;
294
- if (upb_Decode(buf, size, ret, &google__api__expr__v1alpha1__Type_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) {
315
+ if (upb_Decode(buf, size, UPB_UPCAST(ret), &google__api__expr__v1alpha1__Type_msg_init, NULL, 0, arena) !=
316
+ kUpb_DecodeStatus_Ok) {
295
317
  return NULL;
296
318
  }
297
319
  return ret;
@@ -301,21 +323,21 @@ UPB_INLINE google_api_expr_v1alpha1_Type* google_api_expr_v1alpha1_Type_parse_ex
301
323
  int options, upb_Arena* arena) {
302
324
  google_api_expr_v1alpha1_Type* ret = google_api_expr_v1alpha1_Type_new(arena);
303
325
  if (!ret) return NULL;
304
- if (upb_Decode(buf, size, ret, &google__api__expr__v1alpha1__Type_msg_init, extreg, options, arena) !=
305
- kUpb_DecodeStatus_Ok) {
326
+ if (upb_Decode(buf, size, UPB_UPCAST(ret), &google__api__expr__v1alpha1__Type_msg_init, extreg, options,
327
+ arena) != kUpb_DecodeStatus_Ok) {
306
328
  return NULL;
307
329
  }
308
330
  return ret;
309
331
  }
310
332
  UPB_INLINE char* google_api_expr_v1alpha1_Type_serialize(const google_api_expr_v1alpha1_Type* msg, upb_Arena* arena, size_t* len) {
311
333
  char* ptr;
312
- (void)upb_Encode(msg, &google__api__expr__v1alpha1__Type_msg_init, 0, arena, &ptr, len);
334
+ (void)upb_Encode(UPB_UPCAST(msg), &google__api__expr__v1alpha1__Type_msg_init, 0, arena, &ptr, len);
313
335
  return ptr;
314
336
  }
315
337
  UPB_INLINE char* google_api_expr_v1alpha1_Type_serialize_ex(const google_api_expr_v1alpha1_Type* msg, int options,
316
338
  upb_Arena* arena, size_t* len) {
317
339
  char* ptr;
318
- (void)upb_Encode(msg, &google__api__expr__v1alpha1__Type_msg_init, options, arena, &ptr, len);
340
+ (void)upb_Encode(UPB_UPCAST(msg), &google__api__expr__v1alpha1__Type_msg_init, options, arena, &ptr, len);
319
341
  return ptr;
320
342
  }
321
343
  typedef enum {
@@ -335,208 +357,222 @@ typedef enum {
335
357
  google_api_expr_v1alpha1_Type_type_kind_NOT_SET = 0
336
358
  } google_api_expr_v1alpha1_Type_type_kind_oneofcases;
337
359
  UPB_INLINE google_api_expr_v1alpha1_Type_type_kind_oneofcases google_api_expr_v1alpha1_Type_type_kind_case(const google_api_expr_v1alpha1_Type* msg) {
338
- const upb_MiniTableField field = {1, UPB_SIZE(4, 8), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
339
- return (google_api_expr_v1alpha1_Type_type_kind_oneofcases)upb_Message_WhichOneofFieldNumber(msg, &field);
360
+ const upb_MiniTableField field = {1, UPB_SIZE(12, 16), -9, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
361
+ return (google_api_expr_v1alpha1_Type_type_kind_oneofcases)upb_Message_WhichOneofFieldNumber(
362
+ UPB_UPCAST(msg), &field);
340
363
  }
341
364
  UPB_INLINE void google_api_expr_v1alpha1_Type_clear_dyn(google_api_expr_v1alpha1_Type* msg) {
342
- const upb_MiniTableField field = {1, UPB_SIZE(4, 8), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
343
- _upb_Message_ClearNonExtensionField(msg, &field);
365
+ const upb_MiniTableField field = {1, UPB_SIZE(12, 16), -9, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
366
+ upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
344
367
  }
345
368
  UPB_INLINE const struct google_protobuf_Empty* google_api_expr_v1alpha1_Type_dyn(const google_api_expr_v1alpha1_Type* msg) {
346
369
  const struct google_protobuf_Empty* default_val = NULL;
347
370
  const struct google_protobuf_Empty* ret;
348
- const upb_MiniTableField field = {1, UPB_SIZE(4, 8), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
349
- _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret);
371
+ const upb_MiniTableField field = {1, UPB_SIZE(12, 16), -9, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
372
+ _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
373
+ &default_val, &ret);
350
374
  return ret;
351
375
  }
352
376
  UPB_INLINE bool google_api_expr_v1alpha1_Type_has_dyn(const google_api_expr_v1alpha1_Type* msg) {
353
- const upb_MiniTableField field = {1, UPB_SIZE(4, 8), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
354
- return _upb_Message_HasNonExtensionField(msg, &field);
377
+ const upb_MiniTableField field = {1, UPB_SIZE(12, 16), -9, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
378
+ return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
355
379
  }
356
380
  UPB_INLINE void google_api_expr_v1alpha1_Type_clear_null(google_api_expr_v1alpha1_Type* msg) {
357
- const upb_MiniTableField field = {2, UPB_SIZE(4, 8), -1, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
358
- _upb_Message_ClearNonExtensionField(msg, &field);
381
+ const upb_MiniTableField field = {2, UPB_SIZE(12, 16), -9, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
382
+ upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
359
383
  }
360
384
  UPB_INLINE int32_t google_api_expr_v1alpha1_Type_null(const google_api_expr_v1alpha1_Type* msg) {
361
385
  int32_t default_val = 0;
362
386
  int32_t ret;
363
- const upb_MiniTableField field = {2, UPB_SIZE(4, 8), -1, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
364
- _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret);
387
+ const upb_MiniTableField field = {2, UPB_SIZE(12, 16), -9, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
388
+ _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
389
+ &default_val, &ret);
365
390
  return ret;
366
391
  }
367
392
  UPB_INLINE bool google_api_expr_v1alpha1_Type_has_null(const google_api_expr_v1alpha1_Type* msg) {
368
- const upb_MiniTableField field = {2, UPB_SIZE(4, 8), -1, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
369
- return _upb_Message_HasNonExtensionField(msg, &field);
393
+ const upb_MiniTableField field = {2, UPB_SIZE(12, 16), -9, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
394
+ return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
370
395
  }
371
396
  UPB_INLINE void google_api_expr_v1alpha1_Type_clear_primitive(google_api_expr_v1alpha1_Type* msg) {
372
- const upb_MiniTableField field = {3, UPB_SIZE(4, 8), -1, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
373
- _upb_Message_ClearNonExtensionField(msg, &field);
397
+ const upb_MiniTableField field = {3, UPB_SIZE(12, 16), -9, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
398
+ upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
374
399
  }
375
400
  UPB_INLINE int32_t google_api_expr_v1alpha1_Type_primitive(const google_api_expr_v1alpha1_Type* msg) {
376
401
  int32_t default_val = 0;
377
402
  int32_t ret;
378
- const upb_MiniTableField field = {3, UPB_SIZE(4, 8), -1, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
379
- _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret);
403
+ const upb_MiniTableField field = {3, UPB_SIZE(12, 16), -9, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
404
+ _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
405
+ &default_val, &ret);
380
406
  return ret;
381
407
  }
382
408
  UPB_INLINE bool google_api_expr_v1alpha1_Type_has_primitive(const google_api_expr_v1alpha1_Type* msg) {
383
- const upb_MiniTableField field = {3, UPB_SIZE(4, 8), -1, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
384
- return _upb_Message_HasNonExtensionField(msg, &field);
409
+ const upb_MiniTableField field = {3, UPB_SIZE(12, 16), -9, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
410
+ return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
385
411
  }
386
412
  UPB_INLINE void google_api_expr_v1alpha1_Type_clear_wrapper(google_api_expr_v1alpha1_Type* msg) {
387
- const upb_MiniTableField field = {4, UPB_SIZE(4, 8), -1, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
388
- _upb_Message_ClearNonExtensionField(msg, &field);
413
+ const upb_MiniTableField field = {4, UPB_SIZE(12, 16), -9, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
414
+ upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
389
415
  }
390
416
  UPB_INLINE int32_t google_api_expr_v1alpha1_Type_wrapper(const google_api_expr_v1alpha1_Type* msg) {
391
417
  int32_t default_val = 0;
392
418
  int32_t ret;
393
- const upb_MiniTableField field = {4, UPB_SIZE(4, 8), -1, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
394
- _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret);
419
+ const upb_MiniTableField field = {4, UPB_SIZE(12, 16), -9, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
420
+ _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
421
+ &default_val, &ret);
395
422
  return ret;
396
423
  }
397
424
  UPB_INLINE bool google_api_expr_v1alpha1_Type_has_wrapper(const google_api_expr_v1alpha1_Type* msg) {
398
- const upb_MiniTableField field = {4, UPB_SIZE(4, 8), -1, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
399
- return _upb_Message_HasNonExtensionField(msg, &field);
425
+ const upb_MiniTableField field = {4, UPB_SIZE(12, 16), -9, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
426
+ return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
400
427
  }
401
428
  UPB_INLINE void google_api_expr_v1alpha1_Type_clear_well_known(google_api_expr_v1alpha1_Type* msg) {
402
- const upb_MiniTableField field = {5, UPB_SIZE(4, 8), -1, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
403
- _upb_Message_ClearNonExtensionField(msg, &field);
429
+ const upb_MiniTableField field = {5, UPB_SIZE(12, 16), -9, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
430
+ upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
404
431
  }
405
432
  UPB_INLINE int32_t google_api_expr_v1alpha1_Type_well_known(const google_api_expr_v1alpha1_Type* msg) {
406
433
  int32_t default_val = 0;
407
434
  int32_t ret;
408
- const upb_MiniTableField field = {5, UPB_SIZE(4, 8), -1, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
409
- _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret);
435
+ const upb_MiniTableField field = {5, UPB_SIZE(12, 16), -9, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
436
+ _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
437
+ &default_val, &ret);
410
438
  return ret;
411
439
  }
412
440
  UPB_INLINE bool google_api_expr_v1alpha1_Type_has_well_known(const google_api_expr_v1alpha1_Type* msg) {
413
- const upb_MiniTableField field = {5, UPB_SIZE(4, 8), -1, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
414
- return _upb_Message_HasNonExtensionField(msg, &field);
441
+ const upb_MiniTableField field = {5, UPB_SIZE(12, 16), -9, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
442
+ return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
415
443
  }
416
444
  UPB_INLINE void google_api_expr_v1alpha1_Type_clear_list_type(google_api_expr_v1alpha1_Type* msg) {
417
- const upb_MiniTableField field = {6, UPB_SIZE(4, 8), -1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
418
- _upb_Message_ClearNonExtensionField(msg, &field);
445
+ const upb_MiniTableField field = {6, UPB_SIZE(12, 16), -9, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
446
+ upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
419
447
  }
420
448
  UPB_INLINE const google_api_expr_v1alpha1_Type_ListType* google_api_expr_v1alpha1_Type_list_type(const google_api_expr_v1alpha1_Type* msg) {
421
449
  const google_api_expr_v1alpha1_Type_ListType* default_val = NULL;
422
450
  const google_api_expr_v1alpha1_Type_ListType* ret;
423
- const upb_MiniTableField field = {6, UPB_SIZE(4, 8), -1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
424
- _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret);
451
+ const upb_MiniTableField field = {6, UPB_SIZE(12, 16), -9, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
452
+ _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
453
+ &default_val, &ret);
425
454
  return ret;
426
455
  }
427
456
  UPB_INLINE bool google_api_expr_v1alpha1_Type_has_list_type(const google_api_expr_v1alpha1_Type* msg) {
428
- const upb_MiniTableField field = {6, UPB_SIZE(4, 8), -1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
429
- return _upb_Message_HasNonExtensionField(msg, &field);
457
+ const upb_MiniTableField field = {6, UPB_SIZE(12, 16), -9, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
458
+ return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
430
459
  }
431
460
  UPB_INLINE void google_api_expr_v1alpha1_Type_clear_map_type(google_api_expr_v1alpha1_Type* msg) {
432
- const upb_MiniTableField field = {7, UPB_SIZE(4, 8), -1, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
433
- _upb_Message_ClearNonExtensionField(msg, &field);
461
+ const upb_MiniTableField field = {7, UPB_SIZE(12, 16), -9, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
462
+ upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
434
463
  }
435
464
  UPB_INLINE const google_api_expr_v1alpha1_Type_MapType* google_api_expr_v1alpha1_Type_map_type(const google_api_expr_v1alpha1_Type* msg) {
436
465
  const google_api_expr_v1alpha1_Type_MapType* default_val = NULL;
437
466
  const google_api_expr_v1alpha1_Type_MapType* ret;
438
- const upb_MiniTableField field = {7, UPB_SIZE(4, 8), -1, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
439
- _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret);
467
+ const upb_MiniTableField field = {7, UPB_SIZE(12, 16), -9, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
468
+ _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
469
+ &default_val, &ret);
440
470
  return ret;
441
471
  }
442
472
  UPB_INLINE bool google_api_expr_v1alpha1_Type_has_map_type(const google_api_expr_v1alpha1_Type* msg) {
443
- const upb_MiniTableField field = {7, UPB_SIZE(4, 8), -1, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
444
- return _upb_Message_HasNonExtensionField(msg, &field);
473
+ const upb_MiniTableField field = {7, UPB_SIZE(12, 16), -9, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
474
+ return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
445
475
  }
446
476
  UPB_INLINE void google_api_expr_v1alpha1_Type_clear_function(google_api_expr_v1alpha1_Type* msg) {
447
- const upb_MiniTableField field = {8, UPB_SIZE(4, 8), -1, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
448
- _upb_Message_ClearNonExtensionField(msg, &field);
477
+ const upb_MiniTableField field = {8, UPB_SIZE(12, 16), -9, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
478
+ upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
449
479
  }
450
480
  UPB_INLINE const google_api_expr_v1alpha1_Type_FunctionType* google_api_expr_v1alpha1_Type_function(const google_api_expr_v1alpha1_Type* msg) {
451
481
  const google_api_expr_v1alpha1_Type_FunctionType* default_val = NULL;
452
482
  const google_api_expr_v1alpha1_Type_FunctionType* ret;
453
- const upb_MiniTableField field = {8, UPB_SIZE(4, 8), -1, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
454
- _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret);
483
+ const upb_MiniTableField field = {8, UPB_SIZE(12, 16), -9, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
484
+ _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
485
+ &default_val, &ret);
455
486
  return ret;
456
487
  }
457
488
  UPB_INLINE bool google_api_expr_v1alpha1_Type_has_function(const google_api_expr_v1alpha1_Type* msg) {
458
- const upb_MiniTableField field = {8, UPB_SIZE(4, 8), -1, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
459
- return _upb_Message_HasNonExtensionField(msg, &field);
489
+ const upb_MiniTableField field = {8, UPB_SIZE(12, 16), -9, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
490
+ return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
460
491
  }
461
492
  UPB_INLINE void google_api_expr_v1alpha1_Type_clear_message_type(google_api_expr_v1alpha1_Type* msg) {
462
- const upb_MiniTableField field = {9, UPB_SIZE(4, 8), -1, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
463
- _upb_Message_ClearNonExtensionField(msg, &field);
493
+ const upb_MiniTableField field = {9, UPB_SIZE(12, 16), -9, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
494
+ upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
464
495
  }
465
496
  UPB_INLINE upb_StringView google_api_expr_v1alpha1_Type_message_type(const google_api_expr_v1alpha1_Type* msg) {
466
497
  upb_StringView default_val = upb_StringView_FromString("");
467
498
  upb_StringView ret;
468
- const upb_MiniTableField field = {9, UPB_SIZE(4, 8), -1, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
469
- _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret);
499
+ const upb_MiniTableField field = {9, UPB_SIZE(12, 16), -9, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
500
+ _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
501
+ &default_val, &ret);
470
502
  return ret;
471
503
  }
472
504
  UPB_INLINE bool google_api_expr_v1alpha1_Type_has_message_type(const google_api_expr_v1alpha1_Type* msg) {
473
- const upb_MiniTableField field = {9, UPB_SIZE(4, 8), -1, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
474
- return _upb_Message_HasNonExtensionField(msg, &field);
505
+ const upb_MiniTableField field = {9, UPB_SIZE(12, 16), -9, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
506
+ return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
475
507
  }
476
508
  UPB_INLINE void google_api_expr_v1alpha1_Type_clear_type_param(google_api_expr_v1alpha1_Type* msg) {
477
- const upb_MiniTableField field = {10, UPB_SIZE(4, 8), -1, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
478
- _upb_Message_ClearNonExtensionField(msg, &field);
509
+ const upb_MiniTableField field = {10, UPB_SIZE(12, 16), -9, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
510
+ upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
479
511
  }
480
512
  UPB_INLINE upb_StringView google_api_expr_v1alpha1_Type_type_param(const google_api_expr_v1alpha1_Type* msg) {
481
513
  upb_StringView default_val = upb_StringView_FromString("");
482
514
  upb_StringView ret;
483
- const upb_MiniTableField field = {10, UPB_SIZE(4, 8), -1, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
484
- _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret);
515
+ const upb_MiniTableField field = {10, UPB_SIZE(12, 16), -9, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
516
+ _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
517
+ &default_val, &ret);
485
518
  return ret;
486
519
  }
487
520
  UPB_INLINE bool google_api_expr_v1alpha1_Type_has_type_param(const google_api_expr_v1alpha1_Type* msg) {
488
- const upb_MiniTableField field = {10, UPB_SIZE(4, 8), -1, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
489
- return _upb_Message_HasNonExtensionField(msg, &field);
521
+ const upb_MiniTableField field = {10, UPB_SIZE(12, 16), -9, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
522
+ return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
490
523
  }
491
524
  UPB_INLINE void google_api_expr_v1alpha1_Type_clear_type(google_api_expr_v1alpha1_Type* msg) {
492
- const upb_MiniTableField field = {11, UPB_SIZE(4, 8), -1, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
493
- _upb_Message_ClearNonExtensionField(msg, &field);
525
+ const upb_MiniTableField field = {11, UPB_SIZE(12, 16), -9, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
526
+ upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
494
527
  }
495
528
  UPB_INLINE const google_api_expr_v1alpha1_Type* google_api_expr_v1alpha1_Type_type(const google_api_expr_v1alpha1_Type* msg) {
496
529
  const google_api_expr_v1alpha1_Type* default_val = NULL;
497
530
  const google_api_expr_v1alpha1_Type* ret;
498
- const upb_MiniTableField field = {11, UPB_SIZE(4, 8), -1, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
499
- _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret);
531
+ const upb_MiniTableField field = {11, UPB_SIZE(12, 16), -9, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
532
+ _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
533
+ &default_val, &ret);
500
534
  return ret;
501
535
  }
502
536
  UPB_INLINE bool google_api_expr_v1alpha1_Type_has_type(const google_api_expr_v1alpha1_Type* msg) {
503
- const upb_MiniTableField field = {11, UPB_SIZE(4, 8), -1, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
504
- return _upb_Message_HasNonExtensionField(msg, &field);
537
+ const upb_MiniTableField field = {11, UPB_SIZE(12, 16), -9, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
538
+ return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
505
539
  }
506
540
  UPB_INLINE void google_api_expr_v1alpha1_Type_clear_error(google_api_expr_v1alpha1_Type* msg) {
507
- const upb_MiniTableField field = {12, UPB_SIZE(4, 8), -1, 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
508
- _upb_Message_ClearNonExtensionField(msg, &field);
541
+ const upb_MiniTableField field = {12, UPB_SIZE(12, 16), -9, 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
542
+ upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
509
543
  }
510
544
  UPB_INLINE const struct google_protobuf_Empty* google_api_expr_v1alpha1_Type_error(const google_api_expr_v1alpha1_Type* msg) {
511
545
  const struct google_protobuf_Empty* default_val = NULL;
512
546
  const struct google_protobuf_Empty* ret;
513
- const upb_MiniTableField field = {12, UPB_SIZE(4, 8), -1, 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
514
- _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret);
547
+ const upb_MiniTableField field = {12, UPB_SIZE(12, 16), -9, 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
548
+ _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
549
+ &default_val, &ret);
515
550
  return ret;
516
551
  }
517
552
  UPB_INLINE bool google_api_expr_v1alpha1_Type_has_error(const google_api_expr_v1alpha1_Type* msg) {
518
- const upb_MiniTableField field = {12, UPB_SIZE(4, 8), -1, 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
519
- return _upb_Message_HasNonExtensionField(msg, &field);
553
+ const upb_MiniTableField field = {12, UPB_SIZE(12, 16), -9, 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
554
+ return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
520
555
  }
521
556
  UPB_INLINE void google_api_expr_v1alpha1_Type_clear_abstract_type(google_api_expr_v1alpha1_Type* msg) {
522
- const upb_MiniTableField field = {14, UPB_SIZE(4, 8), -1, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
523
- _upb_Message_ClearNonExtensionField(msg, &field);
557
+ const upb_MiniTableField field = {14, UPB_SIZE(12, 16), -9, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
558
+ upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
524
559
  }
525
560
  UPB_INLINE const google_api_expr_v1alpha1_Type_AbstractType* google_api_expr_v1alpha1_Type_abstract_type(const google_api_expr_v1alpha1_Type* msg) {
526
561
  const google_api_expr_v1alpha1_Type_AbstractType* default_val = NULL;
527
562
  const google_api_expr_v1alpha1_Type_AbstractType* ret;
528
- const upb_MiniTableField field = {14, UPB_SIZE(4, 8), -1, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
529
- _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret);
563
+ const upb_MiniTableField field = {14, UPB_SIZE(12, 16), -9, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
564
+ _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
565
+ &default_val, &ret);
530
566
  return ret;
531
567
  }
532
568
  UPB_INLINE bool google_api_expr_v1alpha1_Type_has_abstract_type(const google_api_expr_v1alpha1_Type* msg) {
533
- const upb_MiniTableField field = {14, UPB_SIZE(4, 8), -1, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
534
- return _upb_Message_HasNonExtensionField(msg, &field);
569
+ const upb_MiniTableField field = {14, UPB_SIZE(12, 16), -9, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
570
+ return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
535
571
  }
536
572
 
537
573
  UPB_INLINE void google_api_expr_v1alpha1_Type_set_dyn(google_api_expr_v1alpha1_Type *msg, struct google_protobuf_Empty* value) {
538
- const upb_MiniTableField field = {1, UPB_SIZE(4, 8), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
539
- _upb_Message_SetNonExtensionField(msg, &field, &value);
574
+ const upb_MiniTableField field = {1, UPB_SIZE(12, 16), -9, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
575
+ _upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
540
576
  }
541
577
  UPB_INLINE struct google_protobuf_Empty* google_api_expr_v1alpha1_Type_mutable_dyn(google_api_expr_v1alpha1_Type* msg, upb_Arena* arena) {
542
578
  struct google_protobuf_Empty* sub = (struct google_protobuf_Empty*)google_api_expr_v1alpha1_Type_dyn(msg);
@@ -547,24 +583,24 @@ UPB_INLINE struct google_protobuf_Empty* google_api_expr_v1alpha1_Type_mutable_d
547
583
  return sub;
548
584
  }
549
585
  UPB_INLINE void google_api_expr_v1alpha1_Type_set_null(google_api_expr_v1alpha1_Type *msg, int32_t value) {
550
- const upb_MiniTableField field = {2, UPB_SIZE(4, 8), -1, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
551
- _upb_Message_SetNonExtensionField(msg, &field, &value);
586
+ const upb_MiniTableField field = {2, UPB_SIZE(12, 16), -9, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
587
+ _upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
552
588
  }
553
589
  UPB_INLINE void google_api_expr_v1alpha1_Type_set_primitive(google_api_expr_v1alpha1_Type *msg, int32_t value) {
554
- const upb_MiniTableField field = {3, UPB_SIZE(4, 8), -1, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
555
- _upb_Message_SetNonExtensionField(msg, &field, &value);
590
+ const upb_MiniTableField field = {3, UPB_SIZE(12, 16), -9, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
591
+ _upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
556
592
  }
557
593
  UPB_INLINE void google_api_expr_v1alpha1_Type_set_wrapper(google_api_expr_v1alpha1_Type *msg, int32_t value) {
558
- const upb_MiniTableField field = {4, UPB_SIZE(4, 8), -1, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
559
- _upb_Message_SetNonExtensionField(msg, &field, &value);
594
+ const upb_MiniTableField field = {4, UPB_SIZE(12, 16), -9, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
595
+ _upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
560
596
  }
561
597
  UPB_INLINE void google_api_expr_v1alpha1_Type_set_well_known(google_api_expr_v1alpha1_Type *msg, int32_t value) {
562
- const upb_MiniTableField field = {5, UPB_SIZE(4, 8), -1, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
563
- _upb_Message_SetNonExtensionField(msg, &field, &value);
598
+ const upb_MiniTableField field = {5, UPB_SIZE(12, 16), -9, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
599
+ _upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
564
600
  }
565
601
  UPB_INLINE void google_api_expr_v1alpha1_Type_set_list_type(google_api_expr_v1alpha1_Type *msg, google_api_expr_v1alpha1_Type_ListType* value) {
566
- const upb_MiniTableField field = {6, UPB_SIZE(4, 8), -1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
567
- _upb_Message_SetNonExtensionField(msg, &field, &value);
602
+ const upb_MiniTableField field = {6, UPB_SIZE(12, 16), -9, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
603
+ _upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
568
604
  }
569
605
  UPB_INLINE struct google_api_expr_v1alpha1_Type_ListType* google_api_expr_v1alpha1_Type_mutable_list_type(google_api_expr_v1alpha1_Type* msg, upb_Arena* arena) {
570
606
  struct google_api_expr_v1alpha1_Type_ListType* sub = (struct google_api_expr_v1alpha1_Type_ListType*)google_api_expr_v1alpha1_Type_list_type(msg);
@@ -575,8 +611,8 @@ UPB_INLINE struct google_api_expr_v1alpha1_Type_ListType* google_api_expr_v1alph
575
611
  return sub;
576
612
  }
577
613
  UPB_INLINE void google_api_expr_v1alpha1_Type_set_map_type(google_api_expr_v1alpha1_Type *msg, google_api_expr_v1alpha1_Type_MapType* value) {
578
- const upb_MiniTableField field = {7, UPB_SIZE(4, 8), -1, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
579
- _upb_Message_SetNonExtensionField(msg, &field, &value);
614
+ const upb_MiniTableField field = {7, UPB_SIZE(12, 16), -9, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
615
+ _upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
580
616
  }
581
617
  UPB_INLINE struct google_api_expr_v1alpha1_Type_MapType* google_api_expr_v1alpha1_Type_mutable_map_type(google_api_expr_v1alpha1_Type* msg, upb_Arena* arena) {
582
618
  struct google_api_expr_v1alpha1_Type_MapType* sub = (struct google_api_expr_v1alpha1_Type_MapType*)google_api_expr_v1alpha1_Type_map_type(msg);
@@ -587,8 +623,8 @@ UPB_INLINE struct google_api_expr_v1alpha1_Type_MapType* google_api_expr_v1alpha
587
623
  return sub;
588
624
  }
589
625
  UPB_INLINE void google_api_expr_v1alpha1_Type_set_function(google_api_expr_v1alpha1_Type *msg, google_api_expr_v1alpha1_Type_FunctionType* value) {
590
- const upb_MiniTableField field = {8, UPB_SIZE(4, 8), -1, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
591
- _upb_Message_SetNonExtensionField(msg, &field, &value);
626
+ const upb_MiniTableField field = {8, UPB_SIZE(12, 16), -9, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
627
+ _upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
592
628
  }
593
629
  UPB_INLINE struct google_api_expr_v1alpha1_Type_FunctionType* google_api_expr_v1alpha1_Type_mutable_function(google_api_expr_v1alpha1_Type* msg, upb_Arena* arena) {
594
630
  struct google_api_expr_v1alpha1_Type_FunctionType* sub = (struct google_api_expr_v1alpha1_Type_FunctionType*)google_api_expr_v1alpha1_Type_function(msg);
@@ -599,16 +635,16 @@ UPB_INLINE struct google_api_expr_v1alpha1_Type_FunctionType* google_api_expr_v1
599
635
  return sub;
600
636
  }
601
637
  UPB_INLINE void google_api_expr_v1alpha1_Type_set_message_type(google_api_expr_v1alpha1_Type *msg, upb_StringView value) {
602
- const upb_MiniTableField field = {9, UPB_SIZE(4, 8), -1, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
603
- _upb_Message_SetNonExtensionField(msg, &field, &value);
638
+ const upb_MiniTableField field = {9, UPB_SIZE(12, 16), -9, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
639
+ _upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
604
640
  }
605
641
  UPB_INLINE void google_api_expr_v1alpha1_Type_set_type_param(google_api_expr_v1alpha1_Type *msg, upb_StringView value) {
606
- const upb_MiniTableField field = {10, UPB_SIZE(4, 8), -1, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
607
- _upb_Message_SetNonExtensionField(msg, &field, &value);
642
+ const upb_MiniTableField field = {10, UPB_SIZE(12, 16), -9, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
643
+ _upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
608
644
  }
609
645
  UPB_INLINE void google_api_expr_v1alpha1_Type_set_type(google_api_expr_v1alpha1_Type *msg, google_api_expr_v1alpha1_Type* value) {
610
- const upb_MiniTableField field = {11, UPB_SIZE(4, 8), -1, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
611
- _upb_Message_SetNonExtensionField(msg, &field, &value);
646
+ const upb_MiniTableField field = {11, UPB_SIZE(12, 16), -9, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
647
+ _upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
612
648
  }
613
649
  UPB_INLINE struct google_api_expr_v1alpha1_Type* google_api_expr_v1alpha1_Type_mutable_type(google_api_expr_v1alpha1_Type* msg, upb_Arena* arena) {
614
650
  struct google_api_expr_v1alpha1_Type* sub = (struct google_api_expr_v1alpha1_Type*)google_api_expr_v1alpha1_Type_type(msg);
@@ -619,8 +655,8 @@ UPB_INLINE struct google_api_expr_v1alpha1_Type* google_api_expr_v1alpha1_Type_m
619
655
  return sub;
620
656
  }
621
657
  UPB_INLINE void google_api_expr_v1alpha1_Type_set_error(google_api_expr_v1alpha1_Type *msg, struct google_protobuf_Empty* value) {
622
- const upb_MiniTableField field = {12, UPB_SIZE(4, 8), -1, 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
623
- _upb_Message_SetNonExtensionField(msg, &field, &value);
658
+ const upb_MiniTableField field = {12, UPB_SIZE(12, 16), -9, 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
659
+ _upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
624
660
  }
625
661
  UPB_INLINE struct google_protobuf_Empty* google_api_expr_v1alpha1_Type_mutable_error(google_api_expr_v1alpha1_Type* msg, upb_Arena* arena) {
626
662
  struct google_protobuf_Empty* sub = (struct google_protobuf_Empty*)google_api_expr_v1alpha1_Type_error(msg);
@@ -631,8 +667,8 @@ UPB_INLINE struct google_protobuf_Empty* google_api_expr_v1alpha1_Type_mutable_e
631
667
  return sub;
632
668
  }
633
669
  UPB_INLINE void google_api_expr_v1alpha1_Type_set_abstract_type(google_api_expr_v1alpha1_Type *msg, google_api_expr_v1alpha1_Type_AbstractType* value) {
634
- const upb_MiniTableField field = {14, UPB_SIZE(4, 8), -1, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
635
- _upb_Message_SetNonExtensionField(msg, &field, &value);
670
+ const upb_MiniTableField field = {14, UPB_SIZE(12, 16), -9, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
671
+ _upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
636
672
  }
637
673
  UPB_INLINE struct google_api_expr_v1alpha1_Type_AbstractType* google_api_expr_v1alpha1_Type_mutable_abstract_type(google_api_expr_v1alpha1_Type* msg, upb_Arena* arena) {
638
674
  struct google_api_expr_v1alpha1_Type_AbstractType* sub = (struct google_api_expr_v1alpha1_Type_AbstractType*)google_api_expr_v1alpha1_Type_abstract_type(msg);
@@ -651,7 +687,8 @@ UPB_INLINE google_api_expr_v1alpha1_Type_ListType* google_api_expr_v1alpha1_Type
651
687
  UPB_INLINE google_api_expr_v1alpha1_Type_ListType* google_api_expr_v1alpha1_Type_ListType_parse(const char* buf, size_t size, upb_Arena* arena) {
652
688
  google_api_expr_v1alpha1_Type_ListType* ret = google_api_expr_v1alpha1_Type_ListType_new(arena);
653
689
  if (!ret) return NULL;
654
- if (upb_Decode(buf, size, ret, &google__api__expr__v1alpha1__Type__ListType_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) {
690
+ if (upb_Decode(buf, size, UPB_UPCAST(ret), &google__api__expr__v1alpha1__Type__ListType_msg_init, NULL, 0, arena) !=
691
+ kUpb_DecodeStatus_Ok) {
655
692
  return NULL;
656
693
  }
657
694
  return ret;
@@ -661,42 +698,43 @@ UPB_INLINE google_api_expr_v1alpha1_Type_ListType* google_api_expr_v1alpha1_Type
661
698
  int options, upb_Arena* arena) {
662
699
  google_api_expr_v1alpha1_Type_ListType* ret = google_api_expr_v1alpha1_Type_ListType_new(arena);
663
700
  if (!ret) return NULL;
664
- if (upb_Decode(buf, size, ret, &google__api__expr__v1alpha1__Type__ListType_msg_init, extreg, options, arena) !=
665
- kUpb_DecodeStatus_Ok) {
701
+ if (upb_Decode(buf, size, UPB_UPCAST(ret), &google__api__expr__v1alpha1__Type__ListType_msg_init, extreg, options,
702
+ arena) != kUpb_DecodeStatus_Ok) {
666
703
  return NULL;
667
704
  }
668
705
  return ret;
669
706
  }
670
707
  UPB_INLINE char* google_api_expr_v1alpha1_Type_ListType_serialize(const google_api_expr_v1alpha1_Type_ListType* msg, upb_Arena* arena, size_t* len) {
671
708
  char* ptr;
672
- (void)upb_Encode(msg, &google__api__expr__v1alpha1__Type__ListType_msg_init, 0, arena, &ptr, len);
709
+ (void)upb_Encode(UPB_UPCAST(msg), &google__api__expr__v1alpha1__Type__ListType_msg_init, 0, arena, &ptr, len);
673
710
  return ptr;
674
711
  }
675
712
  UPB_INLINE char* google_api_expr_v1alpha1_Type_ListType_serialize_ex(const google_api_expr_v1alpha1_Type_ListType* msg, int options,
676
713
  upb_Arena* arena, size_t* len) {
677
714
  char* ptr;
678
- (void)upb_Encode(msg, &google__api__expr__v1alpha1__Type__ListType_msg_init, options, arena, &ptr, len);
715
+ (void)upb_Encode(UPB_UPCAST(msg), &google__api__expr__v1alpha1__Type__ListType_msg_init, options, arena, &ptr, len);
679
716
  return ptr;
680
717
  }
681
718
  UPB_INLINE void google_api_expr_v1alpha1_Type_ListType_clear_elem_type(google_api_expr_v1alpha1_Type_ListType* msg) {
682
- const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
683
- _upb_Message_ClearNonExtensionField(msg, &field);
719
+ const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
720
+ upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
684
721
  }
685
722
  UPB_INLINE const google_api_expr_v1alpha1_Type* google_api_expr_v1alpha1_Type_ListType_elem_type(const google_api_expr_v1alpha1_Type_ListType* msg) {
686
723
  const google_api_expr_v1alpha1_Type* default_val = NULL;
687
724
  const google_api_expr_v1alpha1_Type* ret;
688
- const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
689
- _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret);
725
+ const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
726
+ _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
727
+ &default_val, &ret);
690
728
  return ret;
691
729
  }
692
730
  UPB_INLINE bool google_api_expr_v1alpha1_Type_ListType_has_elem_type(const google_api_expr_v1alpha1_Type_ListType* msg) {
693
- const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
694
- return _upb_Message_HasNonExtensionField(msg, &field);
731
+ const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
732
+ return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
695
733
  }
696
734
 
697
735
  UPB_INLINE void google_api_expr_v1alpha1_Type_ListType_set_elem_type(google_api_expr_v1alpha1_Type_ListType *msg, google_api_expr_v1alpha1_Type* value) {
698
- const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
699
- _upb_Message_SetNonExtensionField(msg, &field, &value);
736
+ const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
737
+ _upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
700
738
  }
701
739
  UPB_INLINE struct google_api_expr_v1alpha1_Type* google_api_expr_v1alpha1_Type_ListType_mutable_elem_type(google_api_expr_v1alpha1_Type_ListType* msg, upb_Arena* arena) {
702
740
  struct google_api_expr_v1alpha1_Type* sub = (struct google_api_expr_v1alpha1_Type*)google_api_expr_v1alpha1_Type_ListType_elem_type(msg);
@@ -715,7 +753,8 @@ UPB_INLINE google_api_expr_v1alpha1_Type_MapType* google_api_expr_v1alpha1_Type_
715
753
  UPB_INLINE google_api_expr_v1alpha1_Type_MapType* google_api_expr_v1alpha1_Type_MapType_parse(const char* buf, size_t size, upb_Arena* arena) {
716
754
  google_api_expr_v1alpha1_Type_MapType* ret = google_api_expr_v1alpha1_Type_MapType_new(arena);
717
755
  if (!ret) return NULL;
718
- if (upb_Decode(buf, size, ret, &google__api__expr__v1alpha1__Type__MapType_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) {
756
+ if (upb_Decode(buf, size, UPB_UPCAST(ret), &google__api__expr__v1alpha1__Type__MapType_msg_init, NULL, 0, arena) !=
757
+ kUpb_DecodeStatus_Ok) {
719
758
  return NULL;
720
759
  }
721
760
  return ret;
@@ -725,57 +764,59 @@ UPB_INLINE google_api_expr_v1alpha1_Type_MapType* google_api_expr_v1alpha1_Type_
725
764
  int options, upb_Arena* arena) {
726
765
  google_api_expr_v1alpha1_Type_MapType* ret = google_api_expr_v1alpha1_Type_MapType_new(arena);
727
766
  if (!ret) return NULL;
728
- if (upb_Decode(buf, size, ret, &google__api__expr__v1alpha1__Type__MapType_msg_init, extreg, options, arena) !=
729
- kUpb_DecodeStatus_Ok) {
767
+ if (upb_Decode(buf, size, UPB_UPCAST(ret), &google__api__expr__v1alpha1__Type__MapType_msg_init, extreg, options,
768
+ arena) != kUpb_DecodeStatus_Ok) {
730
769
  return NULL;
731
770
  }
732
771
  return ret;
733
772
  }
734
773
  UPB_INLINE char* google_api_expr_v1alpha1_Type_MapType_serialize(const google_api_expr_v1alpha1_Type_MapType* msg, upb_Arena* arena, size_t* len) {
735
774
  char* ptr;
736
- (void)upb_Encode(msg, &google__api__expr__v1alpha1__Type__MapType_msg_init, 0, arena, &ptr, len);
775
+ (void)upb_Encode(UPB_UPCAST(msg), &google__api__expr__v1alpha1__Type__MapType_msg_init, 0, arena, &ptr, len);
737
776
  return ptr;
738
777
  }
739
778
  UPB_INLINE char* google_api_expr_v1alpha1_Type_MapType_serialize_ex(const google_api_expr_v1alpha1_Type_MapType* msg, int options,
740
779
  upb_Arena* arena, size_t* len) {
741
780
  char* ptr;
742
- (void)upb_Encode(msg, &google__api__expr__v1alpha1__Type__MapType_msg_init, options, arena, &ptr, len);
781
+ (void)upb_Encode(UPB_UPCAST(msg), &google__api__expr__v1alpha1__Type__MapType_msg_init, options, arena, &ptr, len);
743
782
  return ptr;
744
783
  }
745
784
  UPB_INLINE void google_api_expr_v1alpha1_Type_MapType_clear_key_type(google_api_expr_v1alpha1_Type_MapType* msg) {
746
- const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
747
- _upb_Message_ClearNonExtensionField(msg, &field);
785
+ const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
786
+ upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
748
787
  }
749
788
  UPB_INLINE const google_api_expr_v1alpha1_Type* google_api_expr_v1alpha1_Type_MapType_key_type(const google_api_expr_v1alpha1_Type_MapType* msg) {
750
789
  const google_api_expr_v1alpha1_Type* default_val = NULL;
751
790
  const google_api_expr_v1alpha1_Type* ret;
752
- const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
753
- _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret);
791
+ const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
792
+ _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
793
+ &default_val, &ret);
754
794
  return ret;
755
795
  }
756
796
  UPB_INLINE bool google_api_expr_v1alpha1_Type_MapType_has_key_type(const google_api_expr_v1alpha1_Type_MapType* msg) {
757
- const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
758
- return _upb_Message_HasNonExtensionField(msg, &field);
797
+ const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
798
+ return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
759
799
  }
760
800
  UPB_INLINE void google_api_expr_v1alpha1_Type_MapType_clear_value_type(google_api_expr_v1alpha1_Type_MapType* msg) {
761
- const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
762
- _upb_Message_ClearNonExtensionField(msg, &field);
801
+ const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 65, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
802
+ upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
763
803
  }
764
804
  UPB_INLINE const google_api_expr_v1alpha1_Type* google_api_expr_v1alpha1_Type_MapType_value_type(const google_api_expr_v1alpha1_Type_MapType* msg) {
765
805
  const google_api_expr_v1alpha1_Type* default_val = NULL;
766
806
  const google_api_expr_v1alpha1_Type* ret;
767
- const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
768
- _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret);
807
+ const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 65, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
808
+ _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
809
+ &default_val, &ret);
769
810
  return ret;
770
811
  }
771
812
  UPB_INLINE bool google_api_expr_v1alpha1_Type_MapType_has_value_type(const google_api_expr_v1alpha1_Type_MapType* msg) {
772
- const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
773
- return _upb_Message_HasNonExtensionField(msg, &field);
813
+ const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 65, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
814
+ return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
774
815
  }
775
816
 
776
817
  UPB_INLINE void google_api_expr_v1alpha1_Type_MapType_set_key_type(google_api_expr_v1alpha1_Type_MapType *msg, google_api_expr_v1alpha1_Type* value) {
777
- const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
778
- _upb_Message_SetNonExtensionField(msg, &field, &value);
818
+ const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
819
+ _upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
779
820
  }
780
821
  UPB_INLINE struct google_api_expr_v1alpha1_Type* google_api_expr_v1alpha1_Type_MapType_mutable_key_type(google_api_expr_v1alpha1_Type_MapType* msg, upb_Arena* arena) {
781
822
  struct google_api_expr_v1alpha1_Type* sub = (struct google_api_expr_v1alpha1_Type*)google_api_expr_v1alpha1_Type_MapType_key_type(msg);
@@ -786,8 +827,8 @@ UPB_INLINE struct google_api_expr_v1alpha1_Type* google_api_expr_v1alpha1_Type_M
786
827
  return sub;
787
828
  }
788
829
  UPB_INLINE void google_api_expr_v1alpha1_Type_MapType_set_value_type(google_api_expr_v1alpha1_Type_MapType *msg, google_api_expr_v1alpha1_Type* value) {
789
- const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
790
- _upb_Message_SetNonExtensionField(msg, &field, &value);
830
+ const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 65, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
831
+ _upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
791
832
  }
792
833
  UPB_INLINE struct google_api_expr_v1alpha1_Type* google_api_expr_v1alpha1_Type_MapType_mutable_value_type(google_api_expr_v1alpha1_Type_MapType* msg, upb_Arena* arena) {
793
834
  struct google_api_expr_v1alpha1_Type* sub = (struct google_api_expr_v1alpha1_Type*)google_api_expr_v1alpha1_Type_MapType_value_type(msg);
@@ -806,7 +847,8 @@ UPB_INLINE google_api_expr_v1alpha1_Type_FunctionType* google_api_expr_v1alpha1_
806
847
  UPB_INLINE google_api_expr_v1alpha1_Type_FunctionType* google_api_expr_v1alpha1_Type_FunctionType_parse(const char* buf, size_t size, upb_Arena* arena) {
807
848
  google_api_expr_v1alpha1_Type_FunctionType* ret = google_api_expr_v1alpha1_Type_FunctionType_new(arena);
808
849
  if (!ret) return NULL;
809
- if (upb_Decode(buf, size, ret, &google__api__expr__v1alpha1__Type__FunctionType_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) {
850
+ if (upb_Decode(buf, size, UPB_UPCAST(ret), &google__api__expr__v1alpha1__Type__FunctionType_msg_init, NULL, 0, arena) !=
851
+ kUpb_DecodeStatus_Ok) {
810
852
  return NULL;
811
853
  }
812
854
  return ret;
@@ -816,79 +858,75 @@ UPB_INLINE google_api_expr_v1alpha1_Type_FunctionType* google_api_expr_v1alpha1_
816
858
  int options, upb_Arena* arena) {
817
859
  google_api_expr_v1alpha1_Type_FunctionType* ret = google_api_expr_v1alpha1_Type_FunctionType_new(arena);
818
860
  if (!ret) return NULL;
819
- if (upb_Decode(buf, size, ret, &google__api__expr__v1alpha1__Type__FunctionType_msg_init, extreg, options, arena) !=
820
- kUpb_DecodeStatus_Ok) {
861
+ if (upb_Decode(buf, size, UPB_UPCAST(ret), &google__api__expr__v1alpha1__Type__FunctionType_msg_init, extreg, options,
862
+ arena) != kUpb_DecodeStatus_Ok) {
821
863
  return NULL;
822
864
  }
823
865
  return ret;
824
866
  }
825
867
  UPB_INLINE char* google_api_expr_v1alpha1_Type_FunctionType_serialize(const google_api_expr_v1alpha1_Type_FunctionType* msg, upb_Arena* arena, size_t* len) {
826
868
  char* ptr;
827
- (void)upb_Encode(msg, &google__api__expr__v1alpha1__Type__FunctionType_msg_init, 0, arena, &ptr, len);
869
+ (void)upb_Encode(UPB_UPCAST(msg), &google__api__expr__v1alpha1__Type__FunctionType_msg_init, 0, arena, &ptr, len);
828
870
  return ptr;
829
871
  }
830
872
  UPB_INLINE char* google_api_expr_v1alpha1_Type_FunctionType_serialize_ex(const google_api_expr_v1alpha1_Type_FunctionType* msg, int options,
831
873
  upb_Arena* arena, size_t* len) {
832
874
  char* ptr;
833
- (void)upb_Encode(msg, &google__api__expr__v1alpha1__Type__FunctionType_msg_init, options, arena, &ptr, len);
875
+ (void)upb_Encode(UPB_UPCAST(msg), &google__api__expr__v1alpha1__Type__FunctionType_msg_init, options, arena, &ptr, len);
834
876
  return ptr;
835
877
  }
836
878
  UPB_INLINE void google_api_expr_v1alpha1_Type_FunctionType_clear_result_type(google_api_expr_v1alpha1_Type_FunctionType* msg) {
837
- const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
838
- _upb_Message_ClearNonExtensionField(msg, &field);
879
+ const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
880
+ upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
839
881
  }
840
882
  UPB_INLINE const google_api_expr_v1alpha1_Type* google_api_expr_v1alpha1_Type_FunctionType_result_type(const google_api_expr_v1alpha1_Type_FunctionType* msg) {
841
883
  const google_api_expr_v1alpha1_Type* default_val = NULL;
842
884
  const google_api_expr_v1alpha1_Type* ret;
843
- const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
844
- _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret);
885
+ const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
886
+ _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
887
+ &default_val, &ret);
845
888
  return ret;
846
889
  }
847
890
  UPB_INLINE bool google_api_expr_v1alpha1_Type_FunctionType_has_result_type(const google_api_expr_v1alpha1_Type_FunctionType* msg) {
848
- const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
849
- return _upb_Message_HasNonExtensionField(msg, &field);
891
+ const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
892
+ return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
850
893
  }
851
894
  UPB_INLINE void google_api_expr_v1alpha1_Type_FunctionType_clear_arg_types(google_api_expr_v1alpha1_Type_FunctionType* msg) {
852
- const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
853
- _upb_Message_ClearNonExtensionField(msg, &field);
895
+ const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
896
+ upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
854
897
  }
855
898
  UPB_INLINE const google_api_expr_v1alpha1_Type* const* google_api_expr_v1alpha1_Type_FunctionType_arg_types(const google_api_expr_v1alpha1_Type_FunctionType* msg, size_t* size) {
856
- const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
857
- const upb_Array* arr = upb_Message_GetArray(msg, &field);
899
+ const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
900
+ const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
858
901
  if (arr) {
859
- if (size) *size = arr->size;
860
- return (const google_api_expr_v1alpha1_Type* const*)_upb_array_constptr(arr);
902
+ if (size) *size = arr->UPB_PRIVATE(size);
903
+ return (const google_api_expr_v1alpha1_Type* const*)upb_Array_DataPtr(arr);
861
904
  } else {
862
905
  if (size) *size = 0;
863
906
  return NULL;
864
907
  }
865
908
  }
866
909
  UPB_INLINE const upb_Array* _google_api_expr_v1alpha1_Type_FunctionType_arg_types_upb_array(const google_api_expr_v1alpha1_Type_FunctionType* msg, size_t* size) {
867
- const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
868
- const upb_Array* arr = upb_Message_GetArray(msg, &field);
910
+ const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
911
+ const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
869
912
  if (size) {
870
- *size = arr ? arr->size : 0;
913
+ *size = arr ? arr->UPB_PRIVATE(size) : 0;
871
914
  }
872
915
  return arr;
873
916
  }
874
- UPB_INLINE upb_Array* _google_api_expr_v1alpha1_Type_FunctionType_arg_types_mutable_upb_array(const google_api_expr_v1alpha1_Type_FunctionType* msg, size_t* size, upb_Arena* arena) {
875
- const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
876
- upb_Array* arr = upb_Message_GetOrCreateMutableArray(
877
- (upb_Message*)msg, &field, arena);
917
+ UPB_INLINE upb_Array* _google_api_expr_v1alpha1_Type_FunctionType_arg_types_mutable_upb_array(google_api_expr_v1alpha1_Type_FunctionType* msg, size_t* size, upb_Arena* arena) {
918
+ const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
919
+ upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg),
920
+ &field, arena);
878
921
  if (size) {
879
- *size = arr ? arr->size : 0;
922
+ *size = arr ? arr->UPB_PRIVATE(size) : 0;
880
923
  }
881
924
  return arr;
882
925
  }
883
- UPB_INLINE bool google_api_expr_v1alpha1_Type_FunctionType_has_arg_types(const google_api_expr_v1alpha1_Type_FunctionType* msg) {
884
- size_t size;
885
- google_api_expr_v1alpha1_Type_FunctionType_arg_types(msg, &size);
886
- return size != 0;
887
- }
888
926
 
889
927
  UPB_INLINE void google_api_expr_v1alpha1_Type_FunctionType_set_result_type(google_api_expr_v1alpha1_Type_FunctionType *msg, google_api_expr_v1alpha1_Type* value) {
890
- const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
891
- _upb_Message_SetNonExtensionField(msg, &field, &value);
928
+ const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
929
+ _upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
892
930
  }
893
931
  UPB_INLINE struct google_api_expr_v1alpha1_Type* google_api_expr_v1alpha1_Type_FunctionType_mutable_result_type(google_api_expr_v1alpha1_Type_FunctionType* msg, upb_Arena* arena) {
894
932
  struct google_api_expr_v1alpha1_Type* sub = (struct google_api_expr_v1alpha1_Type*)google_api_expr_v1alpha1_Type_FunctionType_result_type(msg);
@@ -899,29 +937,33 @@ UPB_INLINE struct google_api_expr_v1alpha1_Type* google_api_expr_v1alpha1_Type_F
899
937
  return sub;
900
938
  }
901
939
  UPB_INLINE google_api_expr_v1alpha1_Type** google_api_expr_v1alpha1_Type_FunctionType_mutable_arg_types(google_api_expr_v1alpha1_Type_FunctionType* msg, size_t* size) {
902
- upb_MiniTableField field = {2, UPB_SIZE(8, 16), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
903
- upb_Array* arr = upb_Message_GetMutableArray(msg, &field);
940
+ upb_MiniTableField field = {2, UPB_SIZE(16, 24), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
941
+ upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field);
904
942
  if (arr) {
905
- if (size) *size = arr->size;
906
- return (google_api_expr_v1alpha1_Type**)_upb_array_ptr(arr);
943
+ if (size) *size = arr->UPB_PRIVATE(size);
944
+ return (google_api_expr_v1alpha1_Type**)upb_Array_MutableDataPtr(arr);
907
945
  } else {
908
946
  if (size) *size = 0;
909
947
  return NULL;
910
948
  }
911
949
  }
912
950
  UPB_INLINE google_api_expr_v1alpha1_Type** google_api_expr_v1alpha1_Type_FunctionType_resize_arg_types(google_api_expr_v1alpha1_Type_FunctionType* msg, size_t size, upb_Arena* arena) {
913
- upb_MiniTableField field = {2, UPB_SIZE(8, 16), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
914
- return (google_api_expr_v1alpha1_Type**)upb_Message_ResizeArrayUninitialized(msg, &field, size, arena);
951
+ upb_MiniTableField field = {2, UPB_SIZE(16, 24), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
952
+ return (google_api_expr_v1alpha1_Type**)upb_Message_ResizeArrayUninitialized(UPB_UPCAST(msg),
953
+ &field, size, arena);
915
954
  }
916
955
  UPB_INLINE struct google_api_expr_v1alpha1_Type* google_api_expr_v1alpha1_Type_FunctionType_add_arg_types(google_api_expr_v1alpha1_Type_FunctionType* msg, upb_Arena* arena) {
917
- upb_MiniTableField field = {2, UPB_SIZE(8, 16), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
918
- upb_Array* arr = upb_Message_GetOrCreateMutableArray(msg, &field, arena);
919
- if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) {
956
+ upb_MiniTableField field = {2, UPB_SIZE(16, 24), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
957
+ upb_Array* arr = upb_Message_GetOrCreateMutableArray(
958
+ UPB_UPCAST(msg), &field, arena);
959
+ if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)(
960
+ arr, arr->UPB_PRIVATE(size) + 1, arena)) {
920
961
  return NULL;
921
962
  }
922
963
  struct google_api_expr_v1alpha1_Type* sub = (struct google_api_expr_v1alpha1_Type*)_upb_Message_New(&google__api__expr__v1alpha1__Type_msg_init, arena);
923
964
  if (!arr || !sub) return NULL;
924
- _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub));
965
+ UPB_PRIVATE(_upb_Array_Set)
966
+ (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub));
925
967
  return sub;
926
968
  }
927
969
 
@@ -933,7 +975,8 @@ UPB_INLINE google_api_expr_v1alpha1_Type_AbstractType* google_api_expr_v1alpha1_
933
975
  UPB_INLINE google_api_expr_v1alpha1_Type_AbstractType* google_api_expr_v1alpha1_Type_AbstractType_parse(const char* buf, size_t size, upb_Arena* arena) {
934
976
  google_api_expr_v1alpha1_Type_AbstractType* ret = google_api_expr_v1alpha1_Type_AbstractType_new(arena);
935
977
  if (!ret) return NULL;
936
- if (upb_Decode(buf, size, ret, &google__api__expr__v1alpha1__Type__AbstractType_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) {
978
+ if (upb_Decode(buf, size, UPB_UPCAST(ret), &google__api__expr__v1alpha1__Type__AbstractType_msg_init, NULL, 0, arena) !=
979
+ kUpb_DecodeStatus_Ok) {
937
980
  return NULL;
938
981
  }
939
982
  return ret;
@@ -943,100 +986,100 @@ UPB_INLINE google_api_expr_v1alpha1_Type_AbstractType* google_api_expr_v1alpha1_
943
986
  int options, upb_Arena* arena) {
944
987
  google_api_expr_v1alpha1_Type_AbstractType* ret = google_api_expr_v1alpha1_Type_AbstractType_new(arena);
945
988
  if (!ret) return NULL;
946
- if (upb_Decode(buf, size, ret, &google__api__expr__v1alpha1__Type__AbstractType_msg_init, extreg, options, arena) !=
947
- kUpb_DecodeStatus_Ok) {
989
+ if (upb_Decode(buf, size, UPB_UPCAST(ret), &google__api__expr__v1alpha1__Type__AbstractType_msg_init, extreg, options,
990
+ arena) != kUpb_DecodeStatus_Ok) {
948
991
  return NULL;
949
992
  }
950
993
  return ret;
951
994
  }
952
995
  UPB_INLINE char* google_api_expr_v1alpha1_Type_AbstractType_serialize(const google_api_expr_v1alpha1_Type_AbstractType* msg, upb_Arena* arena, size_t* len) {
953
996
  char* ptr;
954
- (void)upb_Encode(msg, &google__api__expr__v1alpha1__Type__AbstractType_msg_init, 0, arena, &ptr, len);
997
+ (void)upb_Encode(UPB_UPCAST(msg), &google__api__expr__v1alpha1__Type__AbstractType_msg_init, 0, arena, &ptr, len);
955
998
  return ptr;
956
999
  }
957
1000
  UPB_INLINE char* google_api_expr_v1alpha1_Type_AbstractType_serialize_ex(const google_api_expr_v1alpha1_Type_AbstractType* msg, int options,
958
1001
  upb_Arena* arena, size_t* len) {
959
1002
  char* ptr;
960
- (void)upb_Encode(msg, &google__api__expr__v1alpha1__Type__AbstractType_msg_init, options, arena, &ptr, len);
1003
+ (void)upb_Encode(UPB_UPCAST(msg), &google__api__expr__v1alpha1__Type__AbstractType_msg_init, options, arena, &ptr, len);
961
1004
  return ptr;
962
1005
  }
963
1006
  UPB_INLINE void google_api_expr_v1alpha1_Type_AbstractType_clear_name(google_api_expr_v1alpha1_Type_AbstractType* msg) {
964
- const upb_MiniTableField field = {1, UPB_SIZE(4, 0), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
965
- _upb_Message_ClearNonExtensionField(msg, &field);
1007
+ const upb_MiniTableField field = {1, UPB_SIZE(12, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
1008
+ upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
966
1009
  }
967
1010
  UPB_INLINE upb_StringView google_api_expr_v1alpha1_Type_AbstractType_name(const google_api_expr_v1alpha1_Type_AbstractType* msg) {
968
1011
  upb_StringView default_val = upb_StringView_FromString("");
969
1012
  upb_StringView ret;
970
- const upb_MiniTableField field = {1, UPB_SIZE(4, 0), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
971
- _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret);
1013
+ const upb_MiniTableField field = {1, UPB_SIZE(12, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
1014
+ _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
1015
+ &default_val, &ret);
972
1016
  return ret;
973
1017
  }
974
1018
  UPB_INLINE void google_api_expr_v1alpha1_Type_AbstractType_clear_parameter_types(google_api_expr_v1alpha1_Type_AbstractType* msg) {
975
- const upb_MiniTableField field = {2, UPB_SIZE(0, 16), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
976
- _upb_Message_ClearNonExtensionField(msg, &field);
1019
+ const upb_MiniTableField field = {2, UPB_SIZE(8, 24), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
1020
+ upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
977
1021
  }
978
1022
  UPB_INLINE const google_api_expr_v1alpha1_Type* const* google_api_expr_v1alpha1_Type_AbstractType_parameter_types(const google_api_expr_v1alpha1_Type_AbstractType* msg, size_t* size) {
979
- const upb_MiniTableField field = {2, UPB_SIZE(0, 16), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
980
- const upb_Array* arr = upb_Message_GetArray(msg, &field);
1023
+ const upb_MiniTableField field = {2, UPB_SIZE(8, 24), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
1024
+ const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
981
1025
  if (arr) {
982
- if (size) *size = arr->size;
983
- return (const google_api_expr_v1alpha1_Type* const*)_upb_array_constptr(arr);
1026
+ if (size) *size = arr->UPB_PRIVATE(size);
1027
+ return (const google_api_expr_v1alpha1_Type* const*)upb_Array_DataPtr(arr);
984
1028
  } else {
985
1029
  if (size) *size = 0;
986
1030
  return NULL;
987
1031
  }
988
1032
  }
989
1033
  UPB_INLINE const upb_Array* _google_api_expr_v1alpha1_Type_AbstractType_parameter_types_upb_array(const google_api_expr_v1alpha1_Type_AbstractType* msg, size_t* size) {
990
- const upb_MiniTableField field = {2, UPB_SIZE(0, 16), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
991
- const upb_Array* arr = upb_Message_GetArray(msg, &field);
1034
+ const upb_MiniTableField field = {2, UPB_SIZE(8, 24), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
1035
+ const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
992
1036
  if (size) {
993
- *size = arr ? arr->size : 0;
1037
+ *size = arr ? arr->UPB_PRIVATE(size) : 0;
994
1038
  }
995
1039
  return arr;
996
1040
  }
997
- UPB_INLINE upb_Array* _google_api_expr_v1alpha1_Type_AbstractType_parameter_types_mutable_upb_array(const google_api_expr_v1alpha1_Type_AbstractType* msg, size_t* size, upb_Arena* arena) {
998
- const upb_MiniTableField field = {2, UPB_SIZE(0, 16), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
999
- upb_Array* arr = upb_Message_GetOrCreateMutableArray(
1000
- (upb_Message*)msg, &field, arena);
1041
+ UPB_INLINE upb_Array* _google_api_expr_v1alpha1_Type_AbstractType_parameter_types_mutable_upb_array(google_api_expr_v1alpha1_Type_AbstractType* msg, size_t* size, upb_Arena* arena) {
1042
+ const upb_MiniTableField field = {2, UPB_SIZE(8, 24), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
1043
+ upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg),
1044
+ &field, arena);
1001
1045
  if (size) {
1002
- *size = arr ? arr->size : 0;
1046
+ *size = arr ? arr->UPB_PRIVATE(size) : 0;
1003
1047
  }
1004
1048
  return arr;
1005
1049
  }
1006
- UPB_INLINE bool google_api_expr_v1alpha1_Type_AbstractType_has_parameter_types(const google_api_expr_v1alpha1_Type_AbstractType* msg) {
1007
- size_t size;
1008
- google_api_expr_v1alpha1_Type_AbstractType_parameter_types(msg, &size);
1009
- return size != 0;
1010
- }
1011
1050
 
1012
1051
  UPB_INLINE void google_api_expr_v1alpha1_Type_AbstractType_set_name(google_api_expr_v1alpha1_Type_AbstractType *msg, upb_StringView value) {
1013
- const upb_MiniTableField field = {1, UPB_SIZE(4, 0), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
1014
- _upb_Message_SetNonExtensionField(msg, &field, &value);
1052
+ const upb_MiniTableField field = {1, UPB_SIZE(12, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
1053
+ _upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
1015
1054
  }
1016
1055
  UPB_INLINE google_api_expr_v1alpha1_Type** google_api_expr_v1alpha1_Type_AbstractType_mutable_parameter_types(google_api_expr_v1alpha1_Type_AbstractType* msg, size_t* size) {
1017
- upb_MiniTableField field = {2, UPB_SIZE(0, 16), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
1018
- upb_Array* arr = upb_Message_GetMutableArray(msg, &field);
1056
+ upb_MiniTableField field = {2, UPB_SIZE(8, 24), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
1057
+ upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field);
1019
1058
  if (arr) {
1020
- if (size) *size = arr->size;
1021
- return (google_api_expr_v1alpha1_Type**)_upb_array_ptr(arr);
1059
+ if (size) *size = arr->UPB_PRIVATE(size);
1060
+ return (google_api_expr_v1alpha1_Type**)upb_Array_MutableDataPtr(arr);
1022
1061
  } else {
1023
1062
  if (size) *size = 0;
1024
1063
  return NULL;
1025
1064
  }
1026
1065
  }
1027
1066
  UPB_INLINE google_api_expr_v1alpha1_Type** google_api_expr_v1alpha1_Type_AbstractType_resize_parameter_types(google_api_expr_v1alpha1_Type_AbstractType* msg, size_t size, upb_Arena* arena) {
1028
- upb_MiniTableField field = {2, UPB_SIZE(0, 16), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
1029
- return (google_api_expr_v1alpha1_Type**)upb_Message_ResizeArrayUninitialized(msg, &field, size, arena);
1067
+ upb_MiniTableField field = {2, UPB_SIZE(8, 24), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
1068
+ return (google_api_expr_v1alpha1_Type**)upb_Message_ResizeArrayUninitialized(UPB_UPCAST(msg),
1069
+ &field, size, arena);
1030
1070
  }
1031
1071
  UPB_INLINE struct google_api_expr_v1alpha1_Type* google_api_expr_v1alpha1_Type_AbstractType_add_parameter_types(google_api_expr_v1alpha1_Type_AbstractType* msg, upb_Arena* arena) {
1032
- upb_MiniTableField field = {2, UPB_SIZE(0, 16), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
1033
- upb_Array* arr = upb_Message_GetOrCreateMutableArray(msg, &field, arena);
1034
- if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) {
1072
+ upb_MiniTableField field = {2, UPB_SIZE(8, 24), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
1073
+ upb_Array* arr = upb_Message_GetOrCreateMutableArray(
1074
+ UPB_UPCAST(msg), &field, arena);
1075
+ if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)(
1076
+ arr, arr->UPB_PRIVATE(size) + 1, arena)) {
1035
1077
  return NULL;
1036
1078
  }
1037
1079
  struct google_api_expr_v1alpha1_Type* sub = (struct google_api_expr_v1alpha1_Type*)_upb_Message_New(&google__api__expr__v1alpha1__Type_msg_init, arena);
1038
1080
  if (!arr || !sub) return NULL;
1039
- _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub));
1081
+ UPB_PRIVATE(_upb_Array_Set)
1082
+ (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub));
1040
1083
  return sub;
1041
1084
  }
1042
1085
 
@@ -1048,7 +1091,8 @@ UPB_INLINE google_api_expr_v1alpha1_Decl* google_api_expr_v1alpha1_Decl_new(upb_
1048
1091
  UPB_INLINE google_api_expr_v1alpha1_Decl* google_api_expr_v1alpha1_Decl_parse(const char* buf, size_t size, upb_Arena* arena) {
1049
1092
  google_api_expr_v1alpha1_Decl* ret = google_api_expr_v1alpha1_Decl_new(arena);
1050
1093
  if (!ret) return NULL;
1051
- if (upb_Decode(buf, size, ret, &google__api__expr__v1alpha1__Decl_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) {
1094
+ if (upb_Decode(buf, size, UPB_UPCAST(ret), &google__api__expr__v1alpha1__Decl_msg_init, NULL, 0, arena) !=
1095
+ kUpb_DecodeStatus_Ok) {
1052
1096
  return NULL;
1053
1097
  }
1054
1098
  return ret;
@@ -1058,21 +1102,21 @@ UPB_INLINE google_api_expr_v1alpha1_Decl* google_api_expr_v1alpha1_Decl_parse_ex
1058
1102
  int options, upb_Arena* arena) {
1059
1103
  google_api_expr_v1alpha1_Decl* ret = google_api_expr_v1alpha1_Decl_new(arena);
1060
1104
  if (!ret) return NULL;
1061
- if (upb_Decode(buf, size, ret, &google__api__expr__v1alpha1__Decl_msg_init, extreg, options, arena) !=
1062
- kUpb_DecodeStatus_Ok) {
1105
+ if (upb_Decode(buf, size, UPB_UPCAST(ret), &google__api__expr__v1alpha1__Decl_msg_init, extreg, options,
1106
+ arena) != kUpb_DecodeStatus_Ok) {
1063
1107
  return NULL;
1064
1108
  }
1065
1109
  return ret;
1066
1110
  }
1067
1111
  UPB_INLINE char* google_api_expr_v1alpha1_Decl_serialize(const google_api_expr_v1alpha1_Decl* msg, upb_Arena* arena, size_t* len) {
1068
1112
  char* ptr;
1069
- (void)upb_Encode(msg, &google__api__expr__v1alpha1__Decl_msg_init, 0, arena, &ptr, len);
1113
+ (void)upb_Encode(UPB_UPCAST(msg), &google__api__expr__v1alpha1__Decl_msg_init, 0, arena, &ptr, len);
1070
1114
  return ptr;
1071
1115
  }
1072
1116
  UPB_INLINE char* google_api_expr_v1alpha1_Decl_serialize_ex(const google_api_expr_v1alpha1_Decl* msg, int options,
1073
1117
  upb_Arena* arena, size_t* len) {
1074
1118
  char* ptr;
1075
- (void)upb_Encode(msg, &google__api__expr__v1alpha1__Decl_msg_init, options, arena, &ptr, len);
1119
+ (void)upb_Encode(UPB_UPCAST(msg), &google__api__expr__v1alpha1__Decl_msg_init, options, arena, &ptr, len);
1076
1120
  return ptr;
1077
1121
  }
1078
1122
  typedef enum {
@@ -1081,58 +1125,62 @@ typedef enum {
1081
1125
  google_api_expr_v1alpha1_Decl_decl_kind_NOT_SET = 0
1082
1126
  } google_api_expr_v1alpha1_Decl_decl_kind_oneofcases;
1083
1127
  UPB_INLINE google_api_expr_v1alpha1_Decl_decl_kind_oneofcases google_api_expr_v1alpha1_Decl_decl_kind_case(const google_api_expr_v1alpha1_Decl* msg) {
1084
- const upb_MiniTableField field = {2, UPB_SIZE(4, 24), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
1085
- return (google_api_expr_v1alpha1_Decl_decl_kind_oneofcases)upb_Message_WhichOneofFieldNumber(msg, &field);
1128
+ const upb_MiniTableField field = {2, UPB_SIZE(12, 32), -9, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
1129
+ return (google_api_expr_v1alpha1_Decl_decl_kind_oneofcases)upb_Message_WhichOneofFieldNumber(
1130
+ UPB_UPCAST(msg), &field);
1086
1131
  }
1087
1132
  UPB_INLINE void google_api_expr_v1alpha1_Decl_clear_name(google_api_expr_v1alpha1_Decl* msg) {
1088
- const upb_MiniTableField field = {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
1089
- _upb_Message_ClearNonExtensionField(msg, &field);
1133
+ const upb_MiniTableField field = {1, 16, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
1134
+ upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
1090
1135
  }
1091
1136
  UPB_INLINE upb_StringView google_api_expr_v1alpha1_Decl_name(const google_api_expr_v1alpha1_Decl* msg) {
1092
1137
  upb_StringView default_val = upb_StringView_FromString("");
1093
1138
  upb_StringView ret;
1094
- const upb_MiniTableField field = {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
1095
- _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret);
1139
+ const upb_MiniTableField field = {1, 16, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
1140
+ _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
1141
+ &default_val, &ret);
1096
1142
  return ret;
1097
1143
  }
1098
1144
  UPB_INLINE void google_api_expr_v1alpha1_Decl_clear_ident(google_api_expr_v1alpha1_Decl* msg) {
1099
- const upb_MiniTableField field = {2, UPB_SIZE(4, 24), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
1100
- _upb_Message_ClearNonExtensionField(msg, &field);
1145
+ const upb_MiniTableField field = {2, UPB_SIZE(12, 32), -9, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
1146
+ upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
1101
1147
  }
1102
1148
  UPB_INLINE const google_api_expr_v1alpha1_Decl_IdentDecl* google_api_expr_v1alpha1_Decl_ident(const google_api_expr_v1alpha1_Decl* msg) {
1103
1149
  const google_api_expr_v1alpha1_Decl_IdentDecl* default_val = NULL;
1104
1150
  const google_api_expr_v1alpha1_Decl_IdentDecl* ret;
1105
- const upb_MiniTableField field = {2, UPB_SIZE(4, 24), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
1106
- _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret);
1151
+ const upb_MiniTableField field = {2, UPB_SIZE(12, 32), -9, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
1152
+ _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
1153
+ &default_val, &ret);
1107
1154
  return ret;
1108
1155
  }
1109
1156
  UPB_INLINE bool google_api_expr_v1alpha1_Decl_has_ident(const google_api_expr_v1alpha1_Decl* msg) {
1110
- const upb_MiniTableField field = {2, UPB_SIZE(4, 24), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
1111
- return _upb_Message_HasNonExtensionField(msg, &field);
1157
+ const upb_MiniTableField field = {2, UPB_SIZE(12, 32), -9, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
1158
+ return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
1112
1159
  }
1113
1160
  UPB_INLINE void google_api_expr_v1alpha1_Decl_clear_function(google_api_expr_v1alpha1_Decl* msg) {
1114
- const upb_MiniTableField field = {3, UPB_SIZE(4, 24), -1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
1115
- _upb_Message_ClearNonExtensionField(msg, &field);
1161
+ const upb_MiniTableField field = {3, UPB_SIZE(12, 32), -9, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
1162
+ upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
1116
1163
  }
1117
1164
  UPB_INLINE const google_api_expr_v1alpha1_Decl_FunctionDecl* google_api_expr_v1alpha1_Decl_function(const google_api_expr_v1alpha1_Decl* msg) {
1118
1165
  const google_api_expr_v1alpha1_Decl_FunctionDecl* default_val = NULL;
1119
1166
  const google_api_expr_v1alpha1_Decl_FunctionDecl* ret;
1120
- const upb_MiniTableField field = {3, UPB_SIZE(4, 24), -1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
1121
- _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret);
1167
+ const upb_MiniTableField field = {3, UPB_SIZE(12, 32), -9, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
1168
+ _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
1169
+ &default_val, &ret);
1122
1170
  return ret;
1123
1171
  }
1124
1172
  UPB_INLINE bool google_api_expr_v1alpha1_Decl_has_function(const google_api_expr_v1alpha1_Decl* msg) {
1125
- const upb_MiniTableField field = {3, UPB_SIZE(4, 24), -1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
1126
- return _upb_Message_HasNonExtensionField(msg, &field);
1173
+ const upb_MiniTableField field = {3, UPB_SIZE(12, 32), -9, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
1174
+ return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
1127
1175
  }
1128
1176
 
1129
1177
  UPB_INLINE void google_api_expr_v1alpha1_Decl_set_name(google_api_expr_v1alpha1_Decl *msg, upb_StringView value) {
1130
- const upb_MiniTableField field = {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
1131
- _upb_Message_SetNonExtensionField(msg, &field, &value);
1178
+ const upb_MiniTableField field = {1, 16, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
1179
+ _upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
1132
1180
  }
1133
1181
  UPB_INLINE void google_api_expr_v1alpha1_Decl_set_ident(google_api_expr_v1alpha1_Decl *msg, google_api_expr_v1alpha1_Decl_IdentDecl* value) {
1134
- const upb_MiniTableField field = {2, UPB_SIZE(4, 24), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
1135
- _upb_Message_SetNonExtensionField(msg, &field, &value);
1182
+ const upb_MiniTableField field = {2, UPB_SIZE(12, 32), -9, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
1183
+ _upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
1136
1184
  }
1137
1185
  UPB_INLINE struct google_api_expr_v1alpha1_Decl_IdentDecl* google_api_expr_v1alpha1_Decl_mutable_ident(google_api_expr_v1alpha1_Decl* msg, upb_Arena* arena) {
1138
1186
  struct google_api_expr_v1alpha1_Decl_IdentDecl* sub = (struct google_api_expr_v1alpha1_Decl_IdentDecl*)google_api_expr_v1alpha1_Decl_ident(msg);
@@ -1143,8 +1191,8 @@ UPB_INLINE struct google_api_expr_v1alpha1_Decl_IdentDecl* google_api_expr_v1alp
1143
1191
  return sub;
1144
1192
  }
1145
1193
  UPB_INLINE void google_api_expr_v1alpha1_Decl_set_function(google_api_expr_v1alpha1_Decl *msg, google_api_expr_v1alpha1_Decl_FunctionDecl* value) {
1146
- const upb_MiniTableField field = {3, UPB_SIZE(4, 24), -1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
1147
- _upb_Message_SetNonExtensionField(msg, &field, &value);
1194
+ const upb_MiniTableField field = {3, UPB_SIZE(12, 32), -9, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
1195
+ _upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
1148
1196
  }
1149
1197
  UPB_INLINE struct google_api_expr_v1alpha1_Decl_FunctionDecl* google_api_expr_v1alpha1_Decl_mutable_function(google_api_expr_v1alpha1_Decl* msg, upb_Arena* arena) {
1150
1198
  struct google_api_expr_v1alpha1_Decl_FunctionDecl* sub = (struct google_api_expr_v1alpha1_Decl_FunctionDecl*)google_api_expr_v1alpha1_Decl_function(msg);
@@ -1163,7 +1211,8 @@ UPB_INLINE google_api_expr_v1alpha1_Decl_IdentDecl* google_api_expr_v1alpha1_Dec
1163
1211
  UPB_INLINE google_api_expr_v1alpha1_Decl_IdentDecl* google_api_expr_v1alpha1_Decl_IdentDecl_parse(const char* buf, size_t size, upb_Arena* arena) {
1164
1212
  google_api_expr_v1alpha1_Decl_IdentDecl* ret = google_api_expr_v1alpha1_Decl_IdentDecl_new(arena);
1165
1213
  if (!ret) return NULL;
1166
- if (upb_Decode(buf, size, ret, &google__api__expr__v1alpha1__Decl__IdentDecl_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) {
1214
+ if (upb_Decode(buf, size, UPB_UPCAST(ret), &google__api__expr__v1alpha1__Decl__IdentDecl_msg_init, NULL, 0, arena) !=
1215
+ kUpb_DecodeStatus_Ok) {
1167
1216
  return NULL;
1168
1217
  }
1169
1218
  return ret;
@@ -1173,68 +1222,71 @@ UPB_INLINE google_api_expr_v1alpha1_Decl_IdentDecl* google_api_expr_v1alpha1_Dec
1173
1222
  int options, upb_Arena* arena) {
1174
1223
  google_api_expr_v1alpha1_Decl_IdentDecl* ret = google_api_expr_v1alpha1_Decl_IdentDecl_new(arena);
1175
1224
  if (!ret) return NULL;
1176
- if (upb_Decode(buf, size, ret, &google__api__expr__v1alpha1__Decl__IdentDecl_msg_init, extreg, options, arena) !=
1177
- kUpb_DecodeStatus_Ok) {
1225
+ if (upb_Decode(buf, size, UPB_UPCAST(ret), &google__api__expr__v1alpha1__Decl__IdentDecl_msg_init, extreg, options,
1226
+ arena) != kUpb_DecodeStatus_Ok) {
1178
1227
  return NULL;
1179
1228
  }
1180
1229
  return ret;
1181
1230
  }
1182
1231
  UPB_INLINE char* google_api_expr_v1alpha1_Decl_IdentDecl_serialize(const google_api_expr_v1alpha1_Decl_IdentDecl* msg, upb_Arena* arena, size_t* len) {
1183
1232
  char* ptr;
1184
- (void)upb_Encode(msg, &google__api__expr__v1alpha1__Decl__IdentDecl_msg_init, 0, arena, &ptr, len);
1233
+ (void)upb_Encode(UPB_UPCAST(msg), &google__api__expr__v1alpha1__Decl__IdentDecl_msg_init, 0, arena, &ptr, len);
1185
1234
  return ptr;
1186
1235
  }
1187
1236
  UPB_INLINE char* google_api_expr_v1alpha1_Decl_IdentDecl_serialize_ex(const google_api_expr_v1alpha1_Decl_IdentDecl* msg, int options,
1188
1237
  upb_Arena* arena, size_t* len) {
1189
1238
  char* ptr;
1190
- (void)upb_Encode(msg, &google__api__expr__v1alpha1__Decl__IdentDecl_msg_init, options, arena, &ptr, len);
1239
+ (void)upb_Encode(UPB_UPCAST(msg), &google__api__expr__v1alpha1__Decl__IdentDecl_msg_init, options, arena, &ptr, len);
1191
1240
  return ptr;
1192
1241
  }
1193
1242
  UPB_INLINE void google_api_expr_v1alpha1_Decl_IdentDecl_clear_type(google_api_expr_v1alpha1_Decl_IdentDecl* msg) {
1194
- const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
1195
- _upb_Message_ClearNonExtensionField(msg, &field);
1243
+ const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
1244
+ upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
1196
1245
  }
1197
1246
  UPB_INLINE const google_api_expr_v1alpha1_Type* google_api_expr_v1alpha1_Decl_IdentDecl_type(const google_api_expr_v1alpha1_Decl_IdentDecl* msg) {
1198
1247
  const google_api_expr_v1alpha1_Type* default_val = NULL;
1199
1248
  const google_api_expr_v1alpha1_Type* ret;
1200
- const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
1201
- _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret);
1249
+ const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
1250
+ _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
1251
+ &default_val, &ret);
1202
1252
  return ret;
1203
1253
  }
1204
1254
  UPB_INLINE bool google_api_expr_v1alpha1_Decl_IdentDecl_has_type(const google_api_expr_v1alpha1_Decl_IdentDecl* msg) {
1205
- const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
1206
- return _upb_Message_HasNonExtensionField(msg, &field);
1255
+ const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
1256
+ return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
1207
1257
  }
1208
1258
  UPB_INLINE void google_api_expr_v1alpha1_Decl_IdentDecl_clear_value(google_api_expr_v1alpha1_Decl_IdentDecl* msg) {
1209
- const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
1210
- _upb_Message_ClearNonExtensionField(msg, &field);
1259
+ const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 65, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
1260
+ upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
1211
1261
  }
1212
1262
  UPB_INLINE const struct google_api_expr_v1alpha1_Constant* google_api_expr_v1alpha1_Decl_IdentDecl_value(const google_api_expr_v1alpha1_Decl_IdentDecl* msg) {
1213
1263
  const struct google_api_expr_v1alpha1_Constant* default_val = NULL;
1214
1264
  const struct google_api_expr_v1alpha1_Constant* ret;
1215
- const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
1216
- _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret);
1265
+ const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 65, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
1266
+ _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
1267
+ &default_val, &ret);
1217
1268
  return ret;
1218
1269
  }
1219
1270
  UPB_INLINE bool google_api_expr_v1alpha1_Decl_IdentDecl_has_value(const google_api_expr_v1alpha1_Decl_IdentDecl* msg) {
1220
- const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
1221
- return _upb_Message_HasNonExtensionField(msg, &field);
1271
+ const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 65, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
1272
+ return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
1222
1273
  }
1223
1274
  UPB_INLINE void google_api_expr_v1alpha1_Decl_IdentDecl_clear_doc(google_api_expr_v1alpha1_Decl_IdentDecl* msg) {
1224
- const upb_MiniTableField field = {3, UPB_SIZE(12, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
1225
- _upb_Message_ClearNonExtensionField(msg, &field);
1275
+ const upb_MiniTableField field = {3, UPB_SIZE(20, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
1276
+ upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
1226
1277
  }
1227
1278
  UPB_INLINE upb_StringView google_api_expr_v1alpha1_Decl_IdentDecl_doc(const google_api_expr_v1alpha1_Decl_IdentDecl* msg) {
1228
1279
  upb_StringView default_val = upb_StringView_FromString("");
1229
1280
  upb_StringView ret;
1230
- const upb_MiniTableField field = {3, UPB_SIZE(12, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
1231
- _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret);
1281
+ const upb_MiniTableField field = {3, UPB_SIZE(20, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
1282
+ _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
1283
+ &default_val, &ret);
1232
1284
  return ret;
1233
1285
  }
1234
1286
 
1235
1287
  UPB_INLINE void google_api_expr_v1alpha1_Decl_IdentDecl_set_type(google_api_expr_v1alpha1_Decl_IdentDecl *msg, google_api_expr_v1alpha1_Type* value) {
1236
- const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
1237
- _upb_Message_SetNonExtensionField(msg, &field, &value);
1288
+ const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
1289
+ _upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
1238
1290
  }
1239
1291
  UPB_INLINE struct google_api_expr_v1alpha1_Type* google_api_expr_v1alpha1_Decl_IdentDecl_mutable_type(google_api_expr_v1alpha1_Decl_IdentDecl* msg, upb_Arena* arena) {
1240
1292
  struct google_api_expr_v1alpha1_Type* sub = (struct google_api_expr_v1alpha1_Type*)google_api_expr_v1alpha1_Decl_IdentDecl_type(msg);
@@ -1245,8 +1297,8 @@ UPB_INLINE struct google_api_expr_v1alpha1_Type* google_api_expr_v1alpha1_Decl_I
1245
1297
  return sub;
1246
1298
  }
1247
1299
  UPB_INLINE void google_api_expr_v1alpha1_Decl_IdentDecl_set_value(google_api_expr_v1alpha1_Decl_IdentDecl *msg, struct google_api_expr_v1alpha1_Constant* value) {
1248
- const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
1249
- _upb_Message_SetNonExtensionField(msg, &field, &value);
1300
+ const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 65, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
1301
+ _upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
1250
1302
  }
1251
1303
  UPB_INLINE struct google_api_expr_v1alpha1_Constant* google_api_expr_v1alpha1_Decl_IdentDecl_mutable_value(google_api_expr_v1alpha1_Decl_IdentDecl* msg, upb_Arena* arena) {
1252
1304
  struct google_api_expr_v1alpha1_Constant* sub = (struct google_api_expr_v1alpha1_Constant*)google_api_expr_v1alpha1_Decl_IdentDecl_value(msg);
@@ -1257,8 +1309,8 @@ UPB_INLINE struct google_api_expr_v1alpha1_Constant* google_api_expr_v1alpha1_De
1257
1309
  return sub;
1258
1310
  }
1259
1311
  UPB_INLINE void google_api_expr_v1alpha1_Decl_IdentDecl_set_doc(google_api_expr_v1alpha1_Decl_IdentDecl *msg, upb_StringView value) {
1260
- const upb_MiniTableField field = {3, UPB_SIZE(12, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
1261
- _upb_Message_SetNonExtensionField(msg, &field, &value);
1312
+ const upb_MiniTableField field = {3, UPB_SIZE(20, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
1313
+ _upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
1262
1314
  }
1263
1315
 
1264
1316
  /* google.api.expr.v1alpha1.Decl.FunctionDecl */
@@ -1269,7 +1321,8 @@ UPB_INLINE google_api_expr_v1alpha1_Decl_FunctionDecl* google_api_expr_v1alpha1_
1269
1321
  UPB_INLINE google_api_expr_v1alpha1_Decl_FunctionDecl* google_api_expr_v1alpha1_Decl_FunctionDecl_parse(const char* buf, size_t size, upb_Arena* arena) {
1270
1322
  google_api_expr_v1alpha1_Decl_FunctionDecl* ret = google_api_expr_v1alpha1_Decl_FunctionDecl_new(arena);
1271
1323
  if (!ret) return NULL;
1272
- if (upb_Decode(buf, size, ret, &google__api__expr__v1alpha1__Decl__FunctionDecl_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) {
1324
+ if (upb_Decode(buf, size, UPB_UPCAST(ret), &google__api__expr__v1alpha1__Decl__FunctionDecl_msg_init, NULL, 0, arena) !=
1325
+ kUpb_DecodeStatus_Ok) {
1273
1326
  return NULL;
1274
1327
  }
1275
1328
  return ret;
@@ -1279,85 +1332,84 @@ UPB_INLINE google_api_expr_v1alpha1_Decl_FunctionDecl* google_api_expr_v1alpha1_
1279
1332
  int options, upb_Arena* arena) {
1280
1333
  google_api_expr_v1alpha1_Decl_FunctionDecl* ret = google_api_expr_v1alpha1_Decl_FunctionDecl_new(arena);
1281
1334
  if (!ret) return NULL;
1282
- if (upb_Decode(buf, size, ret, &google__api__expr__v1alpha1__Decl__FunctionDecl_msg_init, extreg, options, arena) !=
1283
- kUpb_DecodeStatus_Ok) {
1335
+ if (upb_Decode(buf, size, UPB_UPCAST(ret), &google__api__expr__v1alpha1__Decl__FunctionDecl_msg_init, extreg, options,
1336
+ arena) != kUpb_DecodeStatus_Ok) {
1284
1337
  return NULL;
1285
1338
  }
1286
1339
  return ret;
1287
1340
  }
1288
1341
  UPB_INLINE char* google_api_expr_v1alpha1_Decl_FunctionDecl_serialize(const google_api_expr_v1alpha1_Decl_FunctionDecl* msg, upb_Arena* arena, size_t* len) {
1289
1342
  char* ptr;
1290
- (void)upb_Encode(msg, &google__api__expr__v1alpha1__Decl__FunctionDecl_msg_init, 0, arena, &ptr, len);
1343
+ (void)upb_Encode(UPB_UPCAST(msg), &google__api__expr__v1alpha1__Decl__FunctionDecl_msg_init, 0, arena, &ptr, len);
1291
1344
  return ptr;
1292
1345
  }
1293
1346
  UPB_INLINE char* google_api_expr_v1alpha1_Decl_FunctionDecl_serialize_ex(const google_api_expr_v1alpha1_Decl_FunctionDecl* msg, int options,
1294
1347
  upb_Arena* arena, size_t* len) {
1295
1348
  char* ptr;
1296
- (void)upb_Encode(msg, &google__api__expr__v1alpha1__Decl__FunctionDecl_msg_init, options, arena, &ptr, len);
1349
+ (void)upb_Encode(UPB_UPCAST(msg), &google__api__expr__v1alpha1__Decl__FunctionDecl_msg_init, options, arena, &ptr, len);
1297
1350
  return ptr;
1298
1351
  }
1299
1352
  UPB_INLINE void google_api_expr_v1alpha1_Decl_FunctionDecl_clear_overloads(google_api_expr_v1alpha1_Decl_FunctionDecl* msg) {
1300
- const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
1301
- _upb_Message_ClearNonExtensionField(msg, &field);
1353
+ const upb_MiniTableField field = {1, 8, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
1354
+ upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
1302
1355
  }
1303
1356
  UPB_INLINE const google_api_expr_v1alpha1_Decl_FunctionDecl_Overload* const* google_api_expr_v1alpha1_Decl_FunctionDecl_overloads(const google_api_expr_v1alpha1_Decl_FunctionDecl* msg, size_t* size) {
1304
- const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
1305
- const upb_Array* arr = upb_Message_GetArray(msg, &field);
1357
+ const upb_MiniTableField field = {1, 8, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
1358
+ const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
1306
1359
  if (arr) {
1307
- if (size) *size = arr->size;
1308
- return (const google_api_expr_v1alpha1_Decl_FunctionDecl_Overload* const*)_upb_array_constptr(arr);
1360
+ if (size) *size = arr->UPB_PRIVATE(size);
1361
+ return (const google_api_expr_v1alpha1_Decl_FunctionDecl_Overload* const*)upb_Array_DataPtr(arr);
1309
1362
  } else {
1310
1363
  if (size) *size = 0;
1311
1364
  return NULL;
1312
1365
  }
1313
1366
  }
1314
1367
  UPB_INLINE const upb_Array* _google_api_expr_v1alpha1_Decl_FunctionDecl_overloads_upb_array(const google_api_expr_v1alpha1_Decl_FunctionDecl* msg, size_t* size) {
1315
- const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
1316
- const upb_Array* arr = upb_Message_GetArray(msg, &field);
1368
+ const upb_MiniTableField field = {1, 8, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
1369
+ const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
1317
1370
  if (size) {
1318
- *size = arr ? arr->size : 0;
1371
+ *size = arr ? arr->UPB_PRIVATE(size) : 0;
1319
1372
  }
1320
1373
  return arr;
1321
1374
  }
1322
- UPB_INLINE upb_Array* _google_api_expr_v1alpha1_Decl_FunctionDecl_overloads_mutable_upb_array(const google_api_expr_v1alpha1_Decl_FunctionDecl* msg, size_t* size, upb_Arena* arena) {
1323
- const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
1324
- upb_Array* arr = upb_Message_GetOrCreateMutableArray(
1325
- (upb_Message*)msg, &field, arena);
1375
+ UPB_INLINE upb_Array* _google_api_expr_v1alpha1_Decl_FunctionDecl_overloads_mutable_upb_array(google_api_expr_v1alpha1_Decl_FunctionDecl* msg, size_t* size, upb_Arena* arena) {
1376
+ const upb_MiniTableField field = {1, 8, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
1377
+ upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg),
1378
+ &field, arena);
1326
1379
  if (size) {
1327
- *size = arr ? arr->size : 0;
1380
+ *size = arr ? arr->UPB_PRIVATE(size) : 0;
1328
1381
  }
1329
1382
  return arr;
1330
1383
  }
1331
- UPB_INLINE bool google_api_expr_v1alpha1_Decl_FunctionDecl_has_overloads(const google_api_expr_v1alpha1_Decl_FunctionDecl* msg) {
1332
- size_t size;
1333
- google_api_expr_v1alpha1_Decl_FunctionDecl_overloads(msg, &size);
1334
- return size != 0;
1335
- }
1336
1384
 
1337
1385
  UPB_INLINE google_api_expr_v1alpha1_Decl_FunctionDecl_Overload** google_api_expr_v1alpha1_Decl_FunctionDecl_mutable_overloads(google_api_expr_v1alpha1_Decl_FunctionDecl* msg, size_t* size) {
1338
- upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
1339
- upb_Array* arr = upb_Message_GetMutableArray(msg, &field);
1386
+ upb_MiniTableField field = {1, 8, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
1387
+ upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field);
1340
1388
  if (arr) {
1341
- if (size) *size = arr->size;
1342
- return (google_api_expr_v1alpha1_Decl_FunctionDecl_Overload**)_upb_array_ptr(arr);
1389
+ if (size) *size = arr->UPB_PRIVATE(size);
1390
+ return (google_api_expr_v1alpha1_Decl_FunctionDecl_Overload**)upb_Array_MutableDataPtr(arr);
1343
1391
  } else {
1344
1392
  if (size) *size = 0;
1345
1393
  return NULL;
1346
1394
  }
1347
1395
  }
1348
1396
  UPB_INLINE google_api_expr_v1alpha1_Decl_FunctionDecl_Overload** google_api_expr_v1alpha1_Decl_FunctionDecl_resize_overloads(google_api_expr_v1alpha1_Decl_FunctionDecl* msg, size_t size, upb_Arena* arena) {
1349
- upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
1350
- return (google_api_expr_v1alpha1_Decl_FunctionDecl_Overload**)upb_Message_ResizeArrayUninitialized(msg, &field, size, arena);
1397
+ upb_MiniTableField field = {1, 8, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
1398
+ return (google_api_expr_v1alpha1_Decl_FunctionDecl_Overload**)upb_Message_ResizeArrayUninitialized(UPB_UPCAST(msg),
1399
+ &field, size, arena);
1351
1400
  }
1352
1401
  UPB_INLINE struct google_api_expr_v1alpha1_Decl_FunctionDecl_Overload* google_api_expr_v1alpha1_Decl_FunctionDecl_add_overloads(google_api_expr_v1alpha1_Decl_FunctionDecl* msg, upb_Arena* arena) {
1353
- upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
1354
- upb_Array* arr = upb_Message_GetOrCreateMutableArray(msg, &field, arena);
1355
- if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) {
1402
+ upb_MiniTableField field = {1, 8, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
1403
+ upb_Array* arr = upb_Message_GetOrCreateMutableArray(
1404
+ UPB_UPCAST(msg), &field, arena);
1405
+ if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)(
1406
+ arr, arr->UPB_PRIVATE(size) + 1, arena)) {
1356
1407
  return NULL;
1357
1408
  }
1358
1409
  struct google_api_expr_v1alpha1_Decl_FunctionDecl_Overload* sub = (struct google_api_expr_v1alpha1_Decl_FunctionDecl_Overload*)_upb_Message_New(&google__api__expr__v1alpha1__Decl__FunctionDecl__Overload_msg_init, arena);
1359
1410
  if (!arr || !sub) return NULL;
1360
- _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub));
1411
+ UPB_PRIVATE(_upb_Array_Set)
1412
+ (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub));
1361
1413
  return sub;
1362
1414
  }
1363
1415
 
@@ -1369,7 +1421,8 @@ UPB_INLINE google_api_expr_v1alpha1_Decl_FunctionDecl_Overload* google_api_expr_
1369
1421
  UPB_INLINE google_api_expr_v1alpha1_Decl_FunctionDecl_Overload* google_api_expr_v1alpha1_Decl_FunctionDecl_Overload_parse(const char* buf, size_t size, upb_Arena* arena) {
1370
1422
  google_api_expr_v1alpha1_Decl_FunctionDecl_Overload* ret = google_api_expr_v1alpha1_Decl_FunctionDecl_Overload_new(arena);
1371
1423
  if (!ret) return NULL;
1372
- if (upb_Decode(buf, size, ret, &google__api__expr__v1alpha1__Decl__FunctionDecl__Overload_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) {
1424
+ if (upb_Decode(buf, size, UPB_UPCAST(ret), &google__api__expr__v1alpha1__Decl__FunctionDecl__Overload_msg_init, NULL, 0, arena) !=
1425
+ kUpb_DecodeStatus_Ok) {
1373
1426
  return NULL;
1374
1427
  }
1375
1428
  return ret;
@@ -1379,203 +1432,205 @@ UPB_INLINE google_api_expr_v1alpha1_Decl_FunctionDecl_Overload* google_api_expr_
1379
1432
  int options, upb_Arena* arena) {
1380
1433
  google_api_expr_v1alpha1_Decl_FunctionDecl_Overload* ret = google_api_expr_v1alpha1_Decl_FunctionDecl_Overload_new(arena);
1381
1434
  if (!ret) return NULL;
1382
- if (upb_Decode(buf, size, ret, &google__api__expr__v1alpha1__Decl__FunctionDecl__Overload_msg_init, extreg, options, arena) !=
1383
- kUpb_DecodeStatus_Ok) {
1435
+ if (upb_Decode(buf, size, UPB_UPCAST(ret), &google__api__expr__v1alpha1__Decl__FunctionDecl__Overload_msg_init, extreg, options,
1436
+ arena) != kUpb_DecodeStatus_Ok) {
1384
1437
  return NULL;
1385
1438
  }
1386
1439
  return ret;
1387
1440
  }
1388
1441
  UPB_INLINE char* google_api_expr_v1alpha1_Decl_FunctionDecl_Overload_serialize(const google_api_expr_v1alpha1_Decl_FunctionDecl_Overload* msg, upb_Arena* arena, size_t* len) {
1389
1442
  char* ptr;
1390
- (void)upb_Encode(msg, &google__api__expr__v1alpha1__Decl__FunctionDecl__Overload_msg_init, 0, arena, &ptr, len);
1443
+ (void)upb_Encode(UPB_UPCAST(msg), &google__api__expr__v1alpha1__Decl__FunctionDecl__Overload_msg_init, 0, arena, &ptr, len);
1391
1444
  return ptr;
1392
1445
  }
1393
1446
  UPB_INLINE char* google_api_expr_v1alpha1_Decl_FunctionDecl_Overload_serialize_ex(const google_api_expr_v1alpha1_Decl_FunctionDecl_Overload* msg, int options,
1394
1447
  upb_Arena* arena, size_t* len) {
1395
1448
  char* ptr;
1396
- (void)upb_Encode(msg, &google__api__expr__v1alpha1__Decl__FunctionDecl__Overload_msg_init, options, arena, &ptr, len);
1449
+ (void)upb_Encode(UPB_UPCAST(msg), &google__api__expr__v1alpha1__Decl__FunctionDecl__Overload_msg_init, options, arena, &ptr, len);
1397
1450
  return ptr;
1398
1451
  }
1399
1452
  UPB_INLINE void google_api_expr_v1alpha1_Decl_FunctionDecl_Overload_clear_overload_id(google_api_expr_v1alpha1_Decl_FunctionDecl_Overload* msg) {
1400
- const upb_MiniTableField field = {1, UPB_SIZE(20, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
1401
- _upb_Message_ClearNonExtensionField(msg, &field);
1453
+ const upb_MiniTableField field = {1, UPB_SIZE(28, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
1454
+ upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
1402
1455
  }
1403
1456
  UPB_INLINE upb_StringView google_api_expr_v1alpha1_Decl_FunctionDecl_Overload_overload_id(const google_api_expr_v1alpha1_Decl_FunctionDecl_Overload* msg) {
1404
1457
  upb_StringView default_val = upb_StringView_FromString("");
1405
1458
  upb_StringView ret;
1406
- const upb_MiniTableField field = {1, UPB_SIZE(20, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
1407
- _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret);
1459
+ const upb_MiniTableField field = {1, UPB_SIZE(28, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
1460
+ _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
1461
+ &default_val, &ret);
1408
1462
  return ret;
1409
1463
  }
1410
1464
  UPB_INLINE void google_api_expr_v1alpha1_Decl_FunctionDecl_Overload_clear_params(google_api_expr_v1alpha1_Decl_FunctionDecl_Overload* msg) {
1411
- const upb_MiniTableField field = {2, UPB_SIZE(4, 24), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
1412
- _upb_Message_ClearNonExtensionField(msg, &field);
1465
+ const upb_MiniTableField field = {2, UPB_SIZE(12, 32), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
1466
+ upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
1413
1467
  }
1414
1468
  UPB_INLINE const google_api_expr_v1alpha1_Type* const* google_api_expr_v1alpha1_Decl_FunctionDecl_Overload_params(const google_api_expr_v1alpha1_Decl_FunctionDecl_Overload* msg, size_t* size) {
1415
- const upb_MiniTableField field = {2, UPB_SIZE(4, 24), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
1416
- const upb_Array* arr = upb_Message_GetArray(msg, &field);
1469
+ const upb_MiniTableField field = {2, UPB_SIZE(12, 32), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
1470
+ const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
1417
1471
  if (arr) {
1418
- if (size) *size = arr->size;
1419
- return (const google_api_expr_v1alpha1_Type* const*)_upb_array_constptr(arr);
1472
+ if (size) *size = arr->UPB_PRIVATE(size);
1473
+ return (const google_api_expr_v1alpha1_Type* const*)upb_Array_DataPtr(arr);
1420
1474
  } else {
1421
1475
  if (size) *size = 0;
1422
1476
  return NULL;
1423
1477
  }
1424
1478
  }
1425
1479
  UPB_INLINE const upb_Array* _google_api_expr_v1alpha1_Decl_FunctionDecl_Overload_params_upb_array(const google_api_expr_v1alpha1_Decl_FunctionDecl_Overload* msg, size_t* size) {
1426
- const upb_MiniTableField field = {2, UPB_SIZE(4, 24), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
1427
- const upb_Array* arr = upb_Message_GetArray(msg, &field);
1480
+ const upb_MiniTableField field = {2, UPB_SIZE(12, 32), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
1481
+ const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
1428
1482
  if (size) {
1429
- *size = arr ? arr->size : 0;
1483
+ *size = arr ? arr->UPB_PRIVATE(size) : 0;
1430
1484
  }
1431
1485
  return arr;
1432
1486
  }
1433
- UPB_INLINE upb_Array* _google_api_expr_v1alpha1_Decl_FunctionDecl_Overload_params_mutable_upb_array(const google_api_expr_v1alpha1_Decl_FunctionDecl_Overload* msg, size_t* size, upb_Arena* arena) {
1434
- const upb_MiniTableField field = {2, UPB_SIZE(4, 24), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
1435
- upb_Array* arr = upb_Message_GetOrCreateMutableArray(
1436
- (upb_Message*)msg, &field, arena);
1487
+ UPB_INLINE upb_Array* _google_api_expr_v1alpha1_Decl_FunctionDecl_Overload_params_mutable_upb_array(google_api_expr_v1alpha1_Decl_FunctionDecl_Overload* msg, size_t* size, upb_Arena* arena) {
1488
+ const upb_MiniTableField field = {2, UPB_SIZE(12, 32), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
1489
+ upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg),
1490
+ &field, arena);
1437
1491
  if (size) {
1438
- *size = arr ? arr->size : 0;
1492
+ *size = arr ? arr->UPB_PRIVATE(size) : 0;
1439
1493
  }
1440
1494
  return arr;
1441
1495
  }
1442
- UPB_INLINE bool google_api_expr_v1alpha1_Decl_FunctionDecl_Overload_has_params(const google_api_expr_v1alpha1_Decl_FunctionDecl_Overload* msg) {
1443
- size_t size;
1444
- google_api_expr_v1alpha1_Decl_FunctionDecl_Overload_params(msg, &size);
1445
- return size != 0;
1446
- }
1447
1496
  UPB_INLINE void google_api_expr_v1alpha1_Decl_FunctionDecl_Overload_clear_type_params(google_api_expr_v1alpha1_Decl_FunctionDecl_Overload* msg) {
1448
- const upb_MiniTableField field = {3, UPB_SIZE(8, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
1449
- _upb_Message_ClearNonExtensionField(msg, &field);
1497
+ const upb_MiniTableField field = {3, UPB_SIZE(16, 40), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
1498
+ upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
1450
1499
  }
1451
1500
  UPB_INLINE upb_StringView const* google_api_expr_v1alpha1_Decl_FunctionDecl_Overload_type_params(const google_api_expr_v1alpha1_Decl_FunctionDecl_Overload* msg, size_t* size) {
1452
- const upb_MiniTableField field = {3, UPB_SIZE(8, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
1453
- const upb_Array* arr = upb_Message_GetArray(msg, &field);
1501
+ const upb_MiniTableField field = {3, UPB_SIZE(16, 40), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
1502
+ const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
1454
1503
  if (arr) {
1455
- if (size) *size = arr->size;
1456
- return (upb_StringView const*)_upb_array_constptr(arr);
1504
+ if (size) *size = arr->UPB_PRIVATE(size);
1505
+ return (upb_StringView const*)upb_Array_DataPtr(arr);
1457
1506
  } else {
1458
1507
  if (size) *size = 0;
1459
1508
  return NULL;
1460
1509
  }
1461
1510
  }
1462
1511
  UPB_INLINE const upb_Array* _google_api_expr_v1alpha1_Decl_FunctionDecl_Overload_type_params_upb_array(const google_api_expr_v1alpha1_Decl_FunctionDecl_Overload* msg, size_t* size) {
1463
- const upb_MiniTableField field = {3, UPB_SIZE(8, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
1464
- const upb_Array* arr = upb_Message_GetArray(msg, &field);
1512
+ const upb_MiniTableField field = {3, UPB_SIZE(16, 40), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
1513
+ const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
1465
1514
  if (size) {
1466
- *size = arr ? arr->size : 0;
1515
+ *size = arr ? arr->UPB_PRIVATE(size) : 0;
1467
1516
  }
1468
1517
  return arr;
1469
1518
  }
1470
- UPB_INLINE upb_Array* _google_api_expr_v1alpha1_Decl_FunctionDecl_Overload_type_params_mutable_upb_array(const google_api_expr_v1alpha1_Decl_FunctionDecl_Overload* msg, size_t* size, upb_Arena* arena) {
1471
- const upb_MiniTableField field = {3, UPB_SIZE(8, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
1472
- upb_Array* arr = upb_Message_GetOrCreateMutableArray(
1473
- (upb_Message*)msg, &field, arena);
1519
+ UPB_INLINE upb_Array* _google_api_expr_v1alpha1_Decl_FunctionDecl_Overload_type_params_mutable_upb_array(google_api_expr_v1alpha1_Decl_FunctionDecl_Overload* msg, size_t* size, upb_Arena* arena) {
1520
+ const upb_MiniTableField field = {3, UPB_SIZE(16, 40), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
1521
+ upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg),
1522
+ &field, arena);
1474
1523
  if (size) {
1475
- *size = arr ? arr->size : 0;
1524
+ *size = arr ? arr->UPB_PRIVATE(size) : 0;
1476
1525
  }
1477
1526
  return arr;
1478
1527
  }
1479
- UPB_INLINE bool google_api_expr_v1alpha1_Decl_FunctionDecl_Overload_has_type_params(const google_api_expr_v1alpha1_Decl_FunctionDecl_Overload* msg) {
1480
- size_t size;
1481
- google_api_expr_v1alpha1_Decl_FunctionDecl_Overload_type_params(msg, &size);
1482
- return size != 0;
1483
- }
1484
1528
  UPB_INLINE void google_api_expr_v1alpha1_Decl_FunctionDecl_Overload_clear_result_type(google_api_expr_v1alpha1_Decl_FunctionDecl_Overload* msg) {
1485
- const upb_MiniTableField field = {4, UPB_SIZE(12, 40), 1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
1486
- _upb_Message_ClearNonExtensionField(msg, &field);
1529
+ const upb_MiniTableField field = {4, UPB_SIZE(20, 48), 64, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
1530
+ upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
1487
1531
  }
1488
1532
  UPB_INLINE const google_api_expr_v1alpha1_Type* google_api_expr_v1alpha1_Decl_FunctionDecl_Overload_result_type(const google_api_expr_v1alpha1_Decl_FunctionDecl_Overload* msg) {
1489
1533
  const google_api_expr_v1alpha1_Type* default_val = NULL;
1490
1534
  const google_api_expr_v1alpha1_Type* ret;
1491
- const upb_MiniTableField field = {4, UPB_SIZE(12, 40), 1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
1492
- _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret);
1535
+ const upb_MiniTableField field = {4, UPB_SIZE(20, 48), 64, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
1536
+ _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
1537
+ &default_val, &ret);
1493
1538
  return ret;
1494
1539
  }
1495
1540
  UPB_INLINE bool google_api_expr_v1alpha1_Decl_FunctionDecl_Overload_has_result_type(const google_api_expr_v1alpha1_Decl_FunctionDecl_Overload* msg) {
1496
- const upb_MiniTableField field = {4, UPB_SIZE(12, 40), 1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
1497
- return _upb_Message_HasNonExtensionField(msg, &field);
1541
+ const upb_MiniTableField field = {4, UPB_SIZE(20, 48), 64, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
1542
+ return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
1498
1543
  }
1499
1544
  UPB_INLINE void google_api_expr_v1alpha1_Decl_FunctionDecl_Overload_clear_is_instance_function(google_api_expr_v1alpha1_Decl_FunctionDecl_Overload* msg) {
1500
- const upb_MiniTableField field = {5, UPB_SIZE(16, 1), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
1501
- _upb_Message_ClearNonExtensionField(msg, &field);
1545
+ const upb_MiniTableField field = {5, UPB_SIZE(24, 9), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
1546
+ upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
1502
1547
  }
1503
1548
  UPB_INLINE bool google_api_expr_v1alpha1_Decl_FunctionDecl_Overload_is_instance_function(const google_api_expr_v1alpha1_Decl_FunctionDecl_Overload* msg) {
1504
1549
  bool default_val = false;
1505
1550
  bool ret;
1506
- const upb_MiniTableField field = {5, UPB_SIZE(16, 1), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
1507
- _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret);
1551
+ const upb_MiniTableField field = {5, UPB_SIZE(24, 9), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
1552
+ _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
1553
+ &default_val, &ret);
1508
1554
  return ret;
1509
1555
  }
1510
1556
  UPB_INLINE void google_api_expr_v1alpha1_Decl_FunctionDecl_Overload_clear_doc(google_api_expr_v1alpha1_Decl_FunctionDecl_Overload* msg) {
1511
- const upb_MiniTableField field = {6, UPB_SIZE(28, 48), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
1512
- _upb_Message_ClearNonExtensionField(msg, &field);
1557
+ const upb_MiniTableField field = {6, UPB_SIZE(36, 56), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
1558
+ upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
1513
1559
  }
1514
1560
  UPB_INLINE upb_StringView google_api_expr_v1alpha1_Decl_FunctionDecl_Overload_doc(const google_api_expr_v1alpha1_Decl_FunctionDecl_Overload* msg) {
1515
1561
  upb_StringView default_val = upb_StringView_FromString("");
1516
1562
  upb_StringView ret;
1517
- const upb_MiniTableField field = {6, UPB_SIZE(28, 48), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
1518
- _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret);
1563
+ const upb_MiniTableField field = {6, UPB_SIZE(36, 56), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
1564
+ _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
1565
+ &default_val, &ret);
1519
1566
  return ret;
1520
1567
  }
1521
1568
 
1522
1569
  UPB_INLINE void google_api_expr_v1alpha1_Decl_FunctionDecl_Overload_set_overload_id(google_api_expr_v1alpha1_Decl_FunctionDecl_Overload *msg, upb_StringView value) {
1523
- const upb_MiniTableField field = {1, UPB_SIZE(20, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
1524
- _upb_Message_SetNonExtensionField(msg, &field, &value);
1570
+ const upb_MiniTableField field = {1, UPB_SIZE(28, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
1571
+ _upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
1525
1572
  }
1526
1573
  UPB_INLINE google_api_expr_v1alpha1_Type** google_api_expr_v1alpha1_Decl_FunctionDecl_Overload_mutable_params(google_api_expr_v1alpha1_Decl_FunctionDecl_Overload* msg, size_t* size) {
1527
- upb_MiniTableField field = {2, UPB_SIZE(4, 24), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
1528
- upb_Array* arr = upb_Message_GetMutableArray(msg, &field);
1574
+ upb_MiniTableField field = {2, UPB_SIZE(12, 32), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
1575
+ upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field);
1529
1576
  if (arr) {
1530
- if (size) *size = arr->size;
1531
- return (google_api_expr_v1alpha1_Type**)_upb_array_ptr(arr);
1577
+ if (size) *size = arr->UPB_PRIVATE(size);
1578
+ return (google_api_expr_v1alpha1_Type**)upb_Array_MutableDataPtr(arr);
1532
1579
  } else {
1533
1580
  if (size) *size = 0;
1534
1581
  return NULL;
1535
1582
  }
1536
1583
  }
1537
1584
  UPB_INLINE google_api_expr_v1alpha1_Type** google_api_expr_v1alpha1_Decl_FunctionDecl_Overload_resize_params(google_api_expr_v1alpha1_Decl_FunctionDecl_Overload* msg, size_t size, upb_Arena* arena) {
1538
- upb_MiniTableField field = {2, UPB_SIZE(4, 24), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
1539
- return (google_api_expr_v1alpha1_Type**)upb_Message_ResizeArrayUninitialized(msg, &field, size, arena);
1585
+ upb_MiniTableField field = {2, UPB_SIZE(12, 32), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
1586
+ return (google_api_expr_v1alpha1_Type**)upb_Message_ResizeArrayUninitialized(UPB_UPCAST(msg),
1587
+ &field, size, arena);
1540
1588
  }
1541
1589
  UPB_INLINE struct google_api_expr_v1alpha1_Type* google_api_expr_v1alpha1_Decl_FunctionDecl_Overload_add_params(google_api_expr_v1alpha1_Decl_FunctionDecl_Overload* msg, upb_Arena* arena) {
1542
- upb_MiniTableField field = {2, UPB_SIZE(4, 24), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
1543
- upb_Array* arr = upb_Message_GetOrCreateMutableArray(msg, &field, arena);
1544
- if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) {
1590
+ upb_MiniTableField field = {2, UPB_SIZE(12, 32), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
1591
+ upb_Array* arr = upb_Message_GetOrCreateMutableArray(
1592
+ UPB_UPCAST(msg), &field, arena);
1593
+ if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)(
1594
+ arr, arr->UPB_PRIVATE(size) + 1, arena)) {
1545
1595
  return NULL;
1546
1596
  }
1547
1597
  struct google_api_expr_v1alpha1_Type* sub = (struct google_api_expr_v1alpha1_Type*)_upb_Message_New(&google__api__expr__v1alpha1__Type_msg_init, arena);
1548
1598
  if (!arr || !sub) return NULL;
1549
- _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub));
1599
+ UPB_PRIVATE(_upb_Array_Set)
1600
+ (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub));
1550
1601
  return sub;
1551
1602
  }
1552
1603
  UPB_INLINE upb_StringView* google_api_expr_v1alpha1_Decl_FunctionDecl_Overload_mutable_type_params(google_api_expr_v1alpha1_Decl_FunctionDecl_Overload* msg, size_t* size) {
1553
- upb_MiniTableField field = {3, UPB_SIZE(8, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
1554
- upb_Array* arr = upb_Message_GetMutableArray(msg, &field);
1604
+ upb_MiniTableField field = {3, UPB_SIZE(16, 40), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
1605
+ upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field);
1555
1606
  if (arr) {
1556
- if (size) *size = arr->size;
1557
- return (upb_StringView*)_upb_array_ptr(arr);
1607
+ if (size) *size = arr->UPB_PRIVATE(size);
1608
+ return (upb_StringView*)upb_Array_MutableDataPtr(arr);
1558
1609
  } else {
1559
1610
  if (size) *size = 0;
1560
1611
  return NULL;
1561
1612
  }
1562
1613
  }
1563
1614
  UPB_INLINE upb_StringView* google_api_expr_v1alpha1_Decl_FunctionDecl_Overload_resize_type_params(google_api_expr_v1alpha1_Decl_FunctionDecl_Overload* msg, size_t size, upb_Arena* arena) {
1564
- upb_MiniTableField field = {3, UPB_SIZE(8, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
1565
- return (upb_StringView*)upb_Message_ResizeArrayUninitialized(msg, &field, size, arena);
1615
+ upb_MiniTableField field = {3, UPB_SIZE(16, 40), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
1616
+ return (upb_StringView*)upb_Message_ResizeArrayUninitialized(UPB_UPCAST(msg),
1617
+ &field, size, arena);
1566
1618
  }
1567
1619
  UPB_INLINE bool google_api_expr_v1alpha1_Decl_FunctionDecl_Overload_add_type_params(google_api_expr_v1alpha1_Decl_FunctionDecl_Overload* msg, upb_StringView val, upb_Arena* arena) {
1568
- upb_MiniTableField field = {3, UPB_SIZE(8, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
1569
- upb_Array* arr = upb_Message_GetOrCreateMutableArray(msg, &field, arena);
1570
- if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) {
1620
+ upb_MiniTableField field = {3, UPB_SIZE(16, 40), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
1621
+ upb_Array* arr = upb_Message_GetOrCreateMutableArray(
1622
+ UPB_UPCAST(msg), &field, arena);
1623
+ if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)(
1624
+ arr, arr->UPB_PRIVATE(size) + 1, arena)) {
1571
1625
  return false;
1572
1626
  }
1573
- _upb_Array_Set(arr, arr->size - 1, &val, sizeof(val));
1627
+ UPB_PRIVATE(_upb_Array_Set)
1628
+ (arr, arr->UPB_PRIVATE(size) - 1, &val, sizeof(val));
1574
1629
  return true;
1575
1630
  }
1576
1631
  UPB_INLINE void google_api_expr_v1alpha1_Decl_FunctionDecl_Overload_set_result_type(google_api_expr_v1alpha1_Decl_FunctionDecl_Overload *msg, google_api_expr_v1alpha1_Type* value) {
1577
- const upb_MiniTableField field = {4, UPB_SIZE(12, 40), 1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
1578
- _upb_Message_SetNonExtensionField(msg, &field, &value);
1632
+ const upb_MiniTableField field = {4, UPB_SIZE(20, 48), 64, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
1633
+ _upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
1579
1634
  }
1580
1635
  UPB_INLINE struct google_api_expr_v1alpha1_Type* google_api_expr_v1alpha1_Decl_FunctionDecl_Overload_mutable_result_type(google_api_expr_v1alpha1_Decl_FunctionDecl_Overload* msg, upb_Arena* arena) {
1581
1636
  struct google_api_expr_v1alpha1_Type* sub = (struct google_api_expr_v1alpha1_Type*)google_api_expr_v1alpha1_Decl_FunctionDecl_Overload_result_type(msg);
@@ -1586,12 +1641,12 @@ UPB_INLINE struct google_api_expr_v1alpha1_Type* google_api_expr_v1alpha1_Decl_F
1586
1641
  return sub;
1587
1642
  }
1588
1643
  UPB_INLINE void google_api_expr_v1alpha1_Decl_FunctionDecl_Overload_set_is_instance_function(google_api_expr_v1alpha1_Decl_FunctionDecl_Overload *msg, bool value) {
1589
- const upb_MiniTableField field = {5, UPB_SIZE(16, 1), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
1590
- _upb_Message_SetNonExtensionField(msg, &field, &value);
1644
+ const upb_MiniTableField field = {5, UPB_SIZE(24, 9), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
1645
+ _upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
1591
1646
  }
1592
1647
  UPB_INLINE void google_api_expr_v1alpha1_Decl_FunctionDecl_Overload_set_doc(google_api_expr_v1alpha1_Decl_FunctionDecl_Overload *msg, upb_StringView value) {
1593
- const upb_MiniTableField field = {6, UPB_SIZE(28, 48), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
1594
- _upb_Message_SetNonExtensionField(msg, &field, &value);
1648
+ const upb_MiniTableField field = {6, UPB_SIZE(36, 56), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
1649
+ _upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
1595
1650
  }
1596
1651
 
1597
1652
  /* google.api.expr.v1alpha1.Reference */
@@ -1602,7 +1657,8 @@ UPB_INLINE google_api_expr_v1alpha1_Reference* google_api_expr_v1alpha1_Referenc
1602
1657
  UPB_INLINE google_api_expr_v1alpha1_Reference* google_api_expr_v1alpha1_Reference_parse(const char* buf, size_t size, upb_Arena* arena) {
1603
1658
  google_api_expr_v1alpha1_Reference* ret = google_api_expr_v1alpha1_Reference_new(arena);
1604
1659
  if (!ret) return NULL;
1605
- if (upb_Decode(buf, size, ret, &google__api__expr__v1alpha1__Reference_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) {
1660
+ if (upb_Decode(buf, size, UPB_UPCAST(ret), &google__api__expr__v1alpha1__Reference_msg_init, NULL, 0, arena) !=
1661
+ kUpb_DecodeStatus_Ok) {
1606
1662
  return NULL;
1607
1663
  }
1608
1664
  return ret;
@@ -1612,118 +1668,119 @@ UPB_INLINE google_api_expr_v1alpha1_Reference* google_api_expr_v1alpha1_Referenc
1612
1668
  int options, upb_Arena* arena) {
1613
1669
  google_api_expr_v1alpha1_Reference* ret = google_api_expr_v1alpha1_Reference_new(arena);
1614
1670
  if (!ret) return NULL;
1615
- if (upb_Decode(buf, size, ret, &google__api__expr__v1alpha1__Reference_msg_init, extreg, options, arena) !=
1616
- kUpb_DecodeStatus_Ok) {
1671
+ if (upb_Decode(buf, size, UPB_UPCAST(ret), &google__api__expr__v1alpha1__Reference_msg_init, extreg, options,
1672
+ arena) != kUpb_DecodeStatus_Ok) {
1617
1673
  return NULL;
1618
1674
  }
1619
1675
  return ret;
1620
1676
  }
1621
1677
  UPB_INLINE char* google_api_expr_v1alpha1_Reference_serialize(const google_api_expr_v1alpha1_Reference* msg, upb_Arena* arena, size_t* len) {
1622
1678
  char* ptr;
1623
- (void)upb_Encode(msg, &google__api__expr__v1alpha1__Reference_msg_init, 0, arena, &ptr, len);
1679
+ (void)upb_Encode(UPB_UPCAST(msg), &google__api__expr__v1alpha1__Reference_msg_init, 0, arena, &ptr, len);
1624
1680
  return ptr;
1625
1681
  }
1626
1682
  UPB_INLINE char* google_api_expr_v1alpha1_Reference_serialize_ex(const google_api_expr_v1alpha1_Reference* msg, int options,
1627
1683
  upb_Arena* arena, size_t* len) {
1628
1684
  char* ptr;
1629
- (void)upb_Encode(msg, &google__api__expr__v1alpha1__Reference_msg_init, options, arena, &ptr, len);
1685
+ (void)upb_Encode(UPB_UPCAST(msg), &google__api__expr__v1alpha1__Reference_msg_init, options, arena, &ptr, len);
1630
1686
  return ptr;
1631
1687
  }
1632
1688
  UPB_INLINE void google_api_expr_v1alpha1_Reference_clear_name(google_api_expr_v1alpha1_Reference* msg) {
1633
- const upb_MiniTableField field = {1, UPB_SIZE(12, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
1634
- _upb_Message_ClearNonExtensionField(msg, &field);
1689
+ const upb_MiniTableField field = {1, UPB_SIZE(20, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
1690
+ upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
1635
1691
  }
1636
1692
  UPB_INLINE upb_StringView google_api_expr_v1alpha1_Reference_name(const google_api_expr_v1alpha1_Reference* msg) {
1637
1693
  upb_StringView default_val = upb_StringView_FromString("");
1638
1694
  upb_StringView ret;
1639
- const upb_MiniTableField field = {1, UPB_SIZE(12, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
1640
- _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret);
1695
+ const upb_MiniTableField field = {1, UPB_SIZE(20, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
1696
+ _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
1697
+ &default_val, &ret);
1641
1698
  return ret;
1642
1699
  }
1643
1700
  UPB_INLINE void google_api_expr_v1alpha1_Reference_clear_overload_id(google_api_expr_v1alpha1_Reference* msg) {
1644
- const upb_MiniTableField field = {3, UPB_SIZE(4, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
1645
- _upb_Message_ClearNonExtensionField(msg, &field);
1701
+ const upb_MiniTableField field = {3, UPB_SIZE(12, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
1702
+ upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
1646
1703
  }
1647
1704
  UPB_INLINE upb_StringView const* google_api_expr_v1alpha1_Reference_overload_id(const google_api_expr_v1alpha1_Reference* msg, size_t* size) {
1648
- const upb_MiniTableField field = {3, UPB_SIZE(4, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
1649
- const upb_Array* arr = upb_Message_GetArray(msg, &field);
1705
+ const upb_MiniTableField field = {3, UPB_SIZE(12, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
1706
+ const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
1650
1707
  if (arr) {
1651
- if (size) *size = arr->size;
1652
- return (upb_StringView const*)_upb_array_constptr(arr);
1708
+ if (size) *size = arr->UPB_PRIVATE(size);
1709
+ return (upb_StringView const*)upb_Array_DataPtr(arr);
1653
1710
  } else {
1654
1711
  if (size) *size = 0;
1655
1712
  return NULL;
1656
1713
  }
1657
1714
  }
1658
1715
  UPB_INLINE const upb_Array* _google_api_expr_v1alpha1_Reference_overload_id_upb_array(const google_api_expr_v1alpha1_Reference* msg, size_t* size) {
1659
- const upb_MiniTableField field = {3, UPB_SIZE(4, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
1660
- const upb_Array* arr = upb_Message_GetArray(msg, &field);
1716
+ const upb_MiniTableField field = {3, UPB_SIZE(12, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
1717
+ const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
1661
1718
  if (size) {
1662
- *size = arr ? arr->size : 0;
1719
+ *size = arr ? arr->UPB_PRIVATE(size) : 0;
1663
1720
  }
1664
1721
  return arr;
1665
1722
  }
1666
- UPB_INLINE upb_Array* _google_api_expr_v1alpha1_Reference_overload_id_mutable_upb_array(const google_api_expr_v1alpha1_Reference* msg, size_t* size, upb_Arena* arena) {
1667
- const upb_MiniTableField field = {3, UPB_SIZE(4, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
1668
- upb_Array* arr = upb_Message_GetOrCreateMutableArray(
1669
- (upb_Message*)msg, &field, arena);
1723
+ UPB_INLINE upb_Array* _google_api_expr_v1alpha1_Reference_overload_id_mutable_upb_array(google_api_expr_v1alpha1_Reference* msg, size_t* size, upb_Arena* arena) {
1724
+ const upb_MiniTableField field = {3, UPB_SIZE(12, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
1725
+ upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg),
1726
+ &field, arena);
1670
1727
  if (size) {
1671
- *size = arr ? arr->size : 0;
1728
+ *size = arr ? arr->UPB_PRIVATE(size) : 0;
1672
1729
  }
1673
1730
  return arr;
1674
1731
  }
1675
- UPB_INLINE bool google_api_expr_v1alpha1_Reference_has_overload_id(const google_api_expr_v1alpha1_Reference* msg) {
1676
- size_t size;
1677
- google_api_expr_v1alpha1_Reference_overload_id(msg, &size);
1678
- return size != 0;
1679
- }
1680
1732
  UPB_INLINE void google_api_expr_v1alpha1_Reference_clear_value(google_api_expr_v1alpha1_Reference* msg) {
1681
- const upb_MiniTableField field = {4, UPB_SIZE(8, 32), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
1682
- _upb_Message_ClearNonExtensionField(msg, &field);
1733
+ const upb_MiniTableField field = {4, UPB_SIZE(16, 40), 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
1734
+ upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
1683
1735
  }
1684
1736
  UPB_INLINE const struct google_api_expr_v1alpha1_Constant* google_api_expr_v1alpha1_Reference_value(const google_api_expr_v1alpha1_Reference* msg) {
1685
1737
  const struct google_api_expr_v1alpha1_Constant* default_val = NULL;
1686
1738
  const struct google_api_expr_v1alpha1_Constant* ret;
1687
- const upb_MiniTableField field = {4, UPB_SIZE(8, 32), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
1688
- _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret);
1739
+ const upb_MiniTableField field = {4, UPB_SIZE(16, 40), 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
1740
+ _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
1741
+ &default_val, &ret);
1689
1742
  return ret;
1690
1743
  }
1691
1744
  UPB_INLINE bool google_api_expr_v1alpha1_Reference_has_value(const google_api_expr_v1alpha1_Reference* msg) {
1692
- const upb_MiniTableField field = {4, UPB_SIZE(8, 32), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
1693
- return _upb_Message_HasNonExtensionField(msg, &field);
1745
+ const upb_MiniTableField field = {4, UPB_SIZE(16, 40), 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
1746
+ return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
1694
1747
  }
1695
1748
 
1696
1749
  UPB_INLINE void google_api_expr_v1alpha1_Reference_set_name(google_api_expr_v1alpha1_Reference *msg, upb_StringView value) {
1697
- const upb_MiniTableField field = {1, UPB_SIZE(12, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
1698
- _upb_Message_SetNonExtensionField(msg, &field, &value);
1750
+ const upb_MiniTableField field = {1, UPB_SIZE(20, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
1751
+ _upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
1699
1752
  }
1700
1753
  UPB_INLINE upb_StringView* google_api_expr_v1alpha1_Reference_mutable_overload_id(google_api_expr_v1alpha1_Reference* msg, size_t* size) {
1701
- upb_MiniTableField field = {3, UPB_SIZE(4, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
1702
- upb_Array* arr = upb_Message_GetMutableArray(msg, &field);
1754
+ upb_MiniTableField field = {3, UPB_SIZE(12, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
1755
+ upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field);
1703
1756
  if (arr) {
1704
- if (size) *size = arr->size;
1705
- return (upb_StringView*)_upb_array_ptr(arr);
1757
+ if (size) *size = arr->UPB_PRIVATE(size);
1758
+ return (upb_StringView*)upb_Array_MutableDataPtr(arr);
1706
1759
  } else {
1707
1760
  if (size) *size = 0;
1708
1761
  return NULL;
1709
1762
  }
1710
1763
  }
1711
1764
  UPB_INLINE upb_StringView* google_api_expr_v1alpha1_Reference_resize_overload_id(google_api_expr_v1alpha1_Reference* msg, size_t size, upb_Arena* arena) {
1712
- upb_MiniTableField field = {3, UPB_SIZE(4, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
1713
- return (upb_StringView*)upb_Message_ResizeArrayUninitialized(msg, &field, size, arena);
1765
+ upb_MiniTableField field = {3, UPB_SIZE(12, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
1766
+ return (upb_StringView*)upb_Message_ResizeArrayUninitialized(UPB_UPCAST(msg),
1767
+ &field, size, arena);
1714
1768
  }
1715
1769
  UPB_INLINE bool google_api_expr_v1alpha1_Reference_add_overload_id(google_api_expr_v1alpha1_Reference* msg, upb_StringView val, upb_Arena* arena) {
1716
- upb_MiniTableField field = {3, UPB_SIZE(4, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
1717
- upb_Array* arr = upb_Message_GetOrCreateMutableArray(msg, &field, arena);
1718
- if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) {
1770
+ upb_MiniTableField field = {3, UPB_SIZE(12, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
1771
+ upb_Array* arr = upb_Message_GetOrCreateMutableArray(
1772
+ UPB_UPCAST(msg), &field, arena);
1773
+ if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)(
1774
+ arr, arr->UPB_PRIVATE(size) + 1, arena)) {
1719
1775
  return false;
1720
1776
  }
1721
- _upb_Array_Set(arr, arr->size - 1, &val, sizeof(val));
1777
+ UPB_PRIVATE(_upb_Array_Set)
1778
+ (arr, arr->UPB_PRIVATE(size) - 1, &val, sizeof(val));
1722
1779
  return true;
1723
1780
  }
1724
1781
  UPB_INLINE void google_api_expr_v1alpha1_Reference_set_value(google_api_expr_v1alpha1_Reference *msg, struct google_api_expr_v1alpha1_Constant* value) {
1725
- const upb_MiniTableField field = {4, UPB_SIZE(8, 32), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
1726
- _upb_Message_SetNonExtensionField(msg, &field, &value);
1782
+ const upb_MiniTableField field = {4, UPB_SIZE(16, 40), 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
1783
+ _upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
1727
1784
  }
1728
1785
  UPB_INLINE struct google_api_expr_v1alpha1_Constant* google_api_expr_v1alpha1_Reference_mutable_value(google_api_expr_v1alpha1_Reference* msg, upb_Arena* arena) {
1729
1786
  struct google_api_expr_v1alpha1_Constant* sub = (struct google_api_expr_v1alpha1_Constant*)google_api_expr_v1alpha1_Reference_value(msg);