grpc 1.58.0 → 1.62.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2780) hide show
  1. checksums.yaml +4 -4
  2. data/Makefile +1083 -952
  3. data/include/grpc/event_engine/event_engine.h +28 -23
  4. data/include/grpc/event_engine/extensible.h +68 -0
  5. data/include/grpc/event_engine/internal/memory_allocator_impl.h +6 -0
  6. data/include/grpc/event_engine/internal/slice_cast.h +12 -0
  7. data/include/grpc/event_engine/memory_allocator.h +3 -1
  8. data/include/grpc/event_engine/slice.h +5 -0
  9. data/include/grpc/grpc_crl_provider.h +94 -0
  10. data/include/grpc/grpc_security.h +38 -1
  11. data/include/grpc/impl/call.h +29 -0
  12. data/include/grpc/impl/channel_arg_names.h +29 -0
  13. data/include/grpc/impl/slice_type.h +1 -1
  14. data/include/grpc/module.modulemap +2 -0
  15. data/include/grpc/support/port_platform.h +86 -21
  16. data/src/core/client_channel/backend_metric.cc +95 -0
  17. data/src/core/client_channel/backend_metric.h +47 -0
  18. data/src/core/client_channel/backup_poller.cc +178 -0
  19. data/src/core/client_channel/backup_poller.h +37 -0
  20. data/src/core/client_channel/channel_connectivity.cc +265 -0
  21. data/src/core/client_channel/client_channel_channelz.cc +93 -0
  22. data/src/core/client_channel/client_channel_channelz.h +85 -0
  23. data/src/core/client_channel/client_channel_factory.cc +32 -0
  24. data/src/core/client_channel/client_channel_factory.h +46 -0
  25. data/src/core/client_channel/client_channel_filter.cc +3654 -0
  26. data/src/core/client_channel/client_channel_filter.h +636 -0
  27. data/src/core/client_channel/client_channel_internal.h +79 -0
  28. data/src/core/client_channel/client_channel_plugin.cc +55 -0
  29. data/src/core/client_channel/client_channel_service_config.cc +153 -0
  30. data/src/core/client_channel/client_channel_service_config.h +111 -0
  31. data/src/core/client_channel/config_selector.cc +60 -0
  32. data/src/core/client_channel/config_selector.h +125 -0
  33. data/src/core/client_channel/connector.h +87 -0
  34. data/src/core/client_channel/dynamic_filters.cc +174 -0
  35. data/src/core/client_channel/dynamic_filters.h +110 -0
  36. data/src/core/client_channel/global_subchannel_pool.cc +65 -0
  37. data/src/core/client_channel/global_subchannel_pool.h +63 -0
  38. data/src/core/client_channel/http_proxy_mapper.cc +305 -0
  39. data/src/core/client_channel/http_proxy_mapper.h +53 -0
  40. data/src/core/client_channel/local_subchannel_pool.cc +60 -0
  41. data/src/core/client_channel/local_subchannel_pool.h +59 -0
  42. data/src/core/client_channel/retry_filter.cc +160 -0
  43. data/src/core/client_channel/retry_filter.h +122 -0
  44. data/src/core/client_channel/retry_filter_legacy_call_data.cc +2054 -0
  45. data/src/core/client_channel/retry_filter_legacy_call_data.h +443 -0
  46. data/src/core/client_channel/retry_service_config.cc +283 -0
  47. data/src/core/client_channel/retry_service_config.h +105 -0
  48. data/src/core/client_channel/retry_throttle.cc +139 -0
  49. data/src/core/client_channel/retry_throttle.h +92 -0
  50. data/src/core/client_channel/service_config_channel_arg_filter.cc +136 -0
  51. data/src/core/client_channel/subchannel.cc +812 -0
  52. data/src/core/client_channel/subchannel.h +387 -0
  53. data/src/core/client_channel/subchannel_interface_internal.h +41 -0
  54. data/src/core/client_channel/subchannel_pool_interface.cc +66 -0
  55. data/src/core/client_channel/subchannel_pool_interface.h +100 -0
  56. data/src/core/client_channel/subchannel_stream_client.cc +468 -0
  57. data/src/core/client_channel/subchannel_stream_client.h +225 -0
  58. data/src/core/ext/filters/backend_metrics/backend_metric_filter.cc +55 -15
  59. data/src/core/ext/filters/backend_metrics/backend_metric_filter.h +20 -6
  60. data/src/core/ext/filters/channel_idle/channel_idle_filter.cc +48 -46
  61. data/src/core/ext/filters/channel_idle/channel_idle_filter.h +18 -10
  62. data/src/core/ext/filters/channel_idle/legacy_channel_idle_filter.cc +326 -0
  63. data/src/core/ext/filters/channel_idle/legacy_channel_idle_filter.h +143 -0
  64. data/src/core/ext/filters/deadline/deadline_filter.cc +20 -23
  65. data/src/core/ext/filters/deadline/deadline_filter.h +0 -4
  66. data/src/core/ext/filters/fault_injection/fault_injection_filter.cc +19 -14
  67. data/src/core/ext/filters/fault_injection/fault_injection_filter.h +13 -4
  68. data/src/core/ext/filters/fault_injection/fault_injection_service_config_parser.h +1 -1
  69. data/src/core/ext/filters/http/client/http_client_filter.cc +29 -39
  70. data/src/core/ext/filters/http/client/http_client_filter.h +10 -5
  71. data/src/core/ext/filters/http/client_authority_filter.cc +22 -24
  72. data/src/core/ext/filters/http/client_authority_filter.h +12 -4
  73. data/src/core/ext/filters/http/http_filters_plugin.cc +58 -38
  74. data/src/core/ext/filters/http/message_compress/compression_filter.cc +55 -84
  75. data/src/core/ext/filters/http/message_compress/compression_filter.h +54 -12
  76. data/src/core/ext/filters/http/message_compress/legacy_compression_filter.cc +325 -0
  77. data/src/core/ext/filters/http/message_compress/legacy_compression_filter.h +139 -0
  78. data/src/core/ext/filters/http/server/http_server_filter.cc +54 -52
  79. data/src/core/ext/filters/http/server/http_server_filter.h +11 -4
  80. data/src/core/ext/filters/message_size/message_size_filter.cc +79 -109
  81. data/src/core/ext/filters/message_size/message_size_filter.h +36 -24
  82. data/src/core/ext/filters/rbac/rbac_filter.cc +24 -20
  83. data/src/core/ext/filters/rbac/rbac_filter.h +11 -4
  84. data/src/core/ext/filters/rbac/rbac_service_config_parser.h +1 -1
  85. data/src/core/ext/filters/server_config_selector/server_config_selector.h +2 -2
  86. data/src/core/ext/filters/server_config_selector/server_config_selector_filter.cc +28 -15
  87. data/src/core/ext/filters/stateful_session/stateful_session_filter.cc +60 -65
  88. data/src/core/ext/filters/stateful_session/stateful_session_filter.h +43 -9
  89. data/src/core/ext/filters/stateful_session/stateful_session_service_config_parser.h +1 -1
  90. data/src/core/ext/gcp/metadata_query.cc +0 -1
  91. data/src/core/ext/transport/chttp2/alpn/alpn.cc +5 -2
  92. data/src/core/ext/transport/chttp2/client/chttp2_connector.cc +9 -12
  93. data/src/core/ext/transport/chttp2/client/chttp2_connector.h +1 -1
  94. data/src/core/ext/transport/chttp2/server/chttp2_server.cc +21 -20
  95. data/src/core/ext/transport/chttp2/transport/chttp2_transport.cc +725 -610
  96. data/src/core/ext/transport/chttp2/transport/chttp2_transport.h +47 -4
  97. data/src/core/ext/transport/chttp2/transport/context_list_entry.h +12 -2
  98. data/src/core/ext/transport/chttp2/transport/flow_control.cc +56 -88
  99. data/src/core/ext/transport/chttp2/transport/flow_control.h +85 -12
  100. data/src/core/ext/transport/chttp2/transport/frame.cc +506 -0
  101. data/src/core/ext/transport/chttp2/transport/frame.h +193 -22
  102. data/src/core/ext/transport/chttp2/transport/frame_data.cc +4 -3
  103. data/src/core/ext/transport/chttp2/transport/frame_data.h +1 -1
  104. data/src/core/ext/transport/chttp2/transport/frame_goaway.cc +0 -2
  105. data/src/core/ext/transport/chttp2/transport/frame_goaway.h +1 -1
  106. data/src/core/ext/transport/chttp2/transport/frame_ping.cc +18 -1
  107. data/src/core/ext/transport/chttp2/transport/frame_ping.h +1 -1
  108. data/src/core/ext/transport/chttp2/transport/frame_rst_stream.cc +10 -3
  109. data/src/core/ext/transport/chttp2/transport/frame_rst_stream.h +1 -1
  110. data/src/core/ext/transport/chttp2/transport/frame_settings.cc +34 -82
  111. data/src/core/ext/transport/chttp2/transport/frame_settings.h +5 -8
  112. data/src/core/ext/transport/chttp2/transport/frame_window_update.cc +1 -3
  113. data/src/core/ext/transport/chttp2/transport/frame_window_update.h +1 -1
  114. data/src/core/ext/transport/chttp2/transport/hpack_encoder.cc +16 -22
  115. data/src/core/ext/transport/chttp2/transport/hpack_encoder.h +12 -3
  116. data/src/core/ext/transport/chttp2/transport/hpack_encoder_table.h +3 -4
  117. data/src/core/ext/transport/chttp2/transport/hpack_parse_result.cc +37 -29
  118. data/src/core/ext/transport/chttp2/transport/hpack_parse_result.h +61 -36
  119. data/src/core/ext/transport/chttp2/transport/hpack_parser.cc +19 -10
  120. data/src/core/ext/transport/chttp2/transport/hpack_parser.h +10 -6
  121. data/src/core/ext/transport/chttp2/transport/hpack_parser_table.h +3 -1
  122. data/src/core/ext/transport/chttp2/transport/http2_settings.cc +122 -32
  123. data/src/core/ext/transport/chttp2/transport/http2_settings.h +142 -37
  124. data/src/core/ext/transport/chttp2/transport/internal.h +206 -121
  125. data/src/core/ext/transport/chttp2/transport/legacy_frame.h +43 -0
  126. data/src/core/ext/transport/chttp2/transport/max_concurrent_streams_policy.cc +44 -0
  127. data/src/core/ext/transport/chttp2/transport/max_concurrent_streams_policy.h +67 -0
  128. data/src/core/ext/transport/chttp2/transport/parsing.cc +131 -44
  129. data/src/core/ext/transport/chttp2/transport/ping_abuse_policy.cc +10 -0
  130. data/src/core/ext/transport/chttp2/transport/ping_abuse_policy.h +4 -0
  131. data/src/core/ext/transport/chttp2/transport/ping_callbacks.cc +108 -0
  132. data/src/core/ext/transport/chttp2/transport/ping_callbacks.h +115 -0
  133. data/src/core/ext/transport/chttp2/transport/ping_rate_policy.cc +27 -5
  134. data/src/core/ext/transport/chttp2/transport/ping_rate_policy.h +16 -1
  135. data/src/core/ext/transport/chttp2/transport/stream_lists.cc +1 -1
  136. data/src/core/ext/transport/chttp2/transport/write_size_policy.cc +60 -0
  137. data/src/core/ext/transport/chttp2/transport/write_size_policy.h +66 -0
  138. data/src/core/ext/transport/chttp2/transport/writing.cc +171 -114
  139. data/src/core/ext/transport/inproc/inproc_transport.cc +168 -1228
  140. data/src/core/ext/transport/inproc/inproc_transport.h +8 -4
  141. data/src/core/ext/transport/inproc/legacy_inproc_transport.cc +1303 -0
  142. data/src/core/ext/transport/inproc/legacy_inproc_transport.h +30 -0
  143. data/src/core/ext/upb-gen/envoy/admin/v3/certs.upb.h +725 -0
  144. data/src/core/ext/upb-gen/envoy/admin/v3/certs.upb_minitable.c +149 -0
  145. data/src/core/ext/upb-gen/envoy/admin/v3/certs.upb_minitable.h +34 -0
  146. data/src/core/ext/upb-gen/envoy/admin/v3/clusters.upb.h +827 -0
  147. data/src/core/ext/upb-gen/envoy/admin/v3/clusters.upb_minitable.c +180 -0
  148. data/src/core/ext/upb-gen/envoy/admin/v3/clusters.upb_minitable.h +33 -0
  149. data/src/core/ext/upb-gen/envoy/admin/v3/config_dump.upb.h +733 -0
  150. data/src/core/ext/upb-gen/envoy/admin/v3/config_dump.upb_minitable.c +157 -0
  151. data/src/core/ext/upb-gen/envoy/admin/v3/config_dump.upb_minitable.h +34 -0
  152. data/src/core/ext/upb-gen/envoy/admin/v3/config_dump_shared.upb.h +2772 -0
  153. data/src/core/ext/upb-gen/envoy/admin/v3/config_dump_shared.upb_minitable.c +532 -0
  154. data/src/core/ext/upb-gen/envoy/admin/v3/config_dump_shared.upb_minitable.h +48 -0
  155. data/src/core/ext/upb-gen/envoy/admin/v3/init_dump.upb.h +248 -0
  156. data/src/core/ext/upb-gen/envoy/admin/v3/init_dump.upb_minitable.c +66 -0
  157. data/src/core/ext/upb-gen/envoy/admin/v3/init_dump.upb_minitable.h +31 -0
  158. data/src/core/ext/upb-gen/envoy/admin/v3/listeners.upb.h +280 -0
  159. data/src/core/ext/upb-gen/envoy/admin/v3/listeners.upb_minitable.c +74 -0
  160. data/src/core/ext/upb-gen/envoy/admin/v3/listeners.upb_minitable.h +31 -0
  161. data/src/core/ext/upb-gen/envoy/admin/v3/memory.upb.h +162 -0
  162. data/src/core/ext/upb-gen/envoy/admin/v3/memory.upb_minitable.c +56 -0
  163. data/src/core/ext/upb-gen/envoy/admin/v3/memory.upb_minitable.h +30 -0
  164. data/src/core/ext/upb-gen/envoy/admin/v3/metrics.upb.h +122 -0
  165. data/src/core/ext/upb-gen/envoy/admin/v3/metrics.upb_minitable.c +49 -0
  166. data/src/core/ext/upb-gen/envoy/admin/v3/metrics.upb_minitable.h +30 -0
  167. data/src/core/ext/upb-gen/envoy/admin/v3/mutex_stats.upb.h +117 -0
  168. data/src/core/ext/upb-gen/envoy/admin/v3/mutex_stats.upb_minitable.c +49 -0
  169. data/src/core/ext/upb-gen/envoy/admin/v3/mutex_stats.upb_minitable.h +30 -0
  170. data/src/core/ext/upb-gen/envoy/admin/v3/server_info.upb.h +928 -0
  171. data/src/core/ext/upb-gen/envoy/admin/v3/server_info.upb_minitable.c +150 -0
  172. data/src/core/ext/upb-gen/envoy/admin/v3/server_info.upb_minitable.h +31 -0
  173. data/src/core/ext/upb-gen/envoy/admin/v3/tap.upb.h +117 -0
  174. data/src/core/ext/upb-gen/envoy/admin/v3/tap.upb_minitable.c +54 -0
  175. data/src/core/ext/upb-gen/envoy/admin/v3/tap.upb_minitable.h +30 -0
  176. data/src/core/ext/upb-gen/envoy/annotations/deprecation.upb.h +122 -0
  177. data/src/core/ext/upb-gen/envoy/annotations/deprecation.upb_minitable.c +58 -0
  178. data/src/core/ext/upb-gen/envoy/annotations/deprecation.upb_minitable.h +33 -0
  179. data/src/core/ext/upb-gen/envoy/annotations/resource.upb.h +109 -0
  180. data/src/core/ext/upb-gen/envoy/annotations/resource.upb_minitable.c +55 -0
  181. data/src/core/ext/upb-gen/envoy/annotations/resource.upb_minitable.h +31 -0
  182. data/src/core/ext/upb-gen/envoy/config/accesslog/v3/accesslog.upb.h +1753 -0
  183. data/src/core/ext/upb-gen/envoy/config/accesslog/v3/accesslog.upb_minitable.c +375 -0
  184. data/src/core/ext/upb-gen/envoy/config/accesslog/v3/accesslog.upb_minitable.h +45 -0
  185. data/src/core/ext/upb-gen/envoy/config/bootstrap/v3/bootstrap.upb.h +3607 -0
  186. data/src/core/ext/upb-gen/envoy/config/bootstrap/v3/bootstrap.upb_minitable.c +651 -0
  187. data/src/core/ext/upb-gen/envoy/config/bootstrap/v3/bootstrap.upb_minitable.h +51 -0
  188. data/src/core/ext/upb-gen/envoy/config/cluster/v3/circuit_breaker.upb.h +526 -0
  189. data/src/core/ext/upb-gen/envoy/config/cluster/v3/circuit_breaker.upb_minitable.c +125 -0
  190. data/src/core/ext/upb-gen/envoy/config/cluster/v3/circuit_breaker.upb_minitable.h +32 -0
  191. data/src/core/ext/upb-gen/envoy/config/cluster/v3/cluster.upb.h +3934 -0
  192. data/src/core/ext/upb-gen/envoy/config/cluster/v3/cluster.upb_minitable.c +737 -0
  193. data/src/core/ext/upb-gen/envoy/config/cluster/v3/cluster.upb_minitable.h +53 -0
  194. data/src/core/ext/upb-gen/envoy/config/cluster/v3/filter.upb.h +146 -0
  195. data/src/core/ext/upb-gen/envoy/config/cluster/v3/filter.upb_minitable.c +57 -0
  196. data/src/core/ext/upb-gen/envoy/config/cluster/v3/filter.upb_minitable.h +30 -0
  197. data/src/core/ext/upb-gen/envoy/config/cluster/v3/outlier_detection.upb.h +687 -0
  198. data/src/core/ext/upb-gen/envoy/config/cluster/v3/outlier_detection.upb_minitable.c +125 -0
  199. data/src/core/ext/upb-gen/envoy/config/cluster/v3/outlier_detection.upb_minitable.h +30 -0
  200. data/src/core/ext/upb-gen/envoy/config/common/matcher/v3/matcher.upb.h +1829 -0
  201. data/src/core/ext/upb-gen/envoy/config/common/matcher/v3/matcher.upb_minitable.c +394 -0
  202. data/src/core/ext/upb-gen/envoy/config/common/matcher/v3/matcher.upb_minitable.h +44 -0
  203. data/src/core/ext/upb-gen/envoy/config/core/v3/address.upb.h +1070 -0
  204. data/src/core/ext/upb-gen/envoy/config/core/v3/address.upb_minitable.c +227 -0
  205. data/src/core/ext/upb-gen/envoy/config/core/v3/address.upb_minitable.h +37 -0
  206. data/src/core/ext/upb-gen/envoy/config/core/v3/backoff.upb.h +129 -0
  207. data/src/core/ext/upb-gen/envoy/config/core/v3/backoff.upb_minitable.c +55 -0
  208. data/src/core/ext/upb-gen/envoy/config/core/v3/backoff.upb_minitable.h +30 -0
  209. data/src/core/ext/upb-gen/envoy/config/core/v3/base.upb.h +2436 -0
  210. data/src/core/ext/upb-gen/envoy/config/core/v3/base.upb_minitable.c +578 -0
  211. data/src/core/ext/upb-gen/envoy/config/core/v3/base.upb_minitable.h +53 -0
  212. data/src/core/ext/upb-gen/envoy/config/core/v3/config_source.upb.h +1130 -0
  213. data/src/core/ext/upb-gen/envoy/config/core/v3/config_source.upb_minitable.c +225 -0
  214. data/src/core/ext/upb-gen/envoy/config/core/v3/config_source.upb_minitable.h +36 -0
  215. data/src/core/ext/upb-gen/envoy/config/core/v3/event_service_config.upb.h +110 -0
  216. data/src/core/ext/upb-gen/envoy/config/core/v3/event_service_config.upb_minitable.c +51 -0
  217. data/src/core/ext/upb-gen/envoy/config/core/v3/event_service_config.upb_minitable.h +30 -0
  218. data/src/core/ext/upb-gen/envoy/config/core/v3/extension.upb.h +116 -0
  219. data/src/core/ext/upb-gen/envoy/config/core/v3/extension.upb_minitable.c +53 -0
  220. data/src/core/ext/upb-gen/envoy/config/core/v3/extension.upb_minitable.h +30 -0
  221. data/src/core/ext/upb-gen/envoy/config/core/v3/grpc_method_list.upb.h +250 -0
  222. data/src/core/ext/upb-gen/envoy/config/core/v3/grpc_method_list.upb_minitable.c +68 -0
  223. data/src/core/ext/upb-gen/envoy/config/core/v3/grpc_method_list.upb_minitable.h +31 -0
  224. data/src/core/ext/upb-gen/envoy/config/core/v3/grpc_service.upb.h +1688 -0
  225. data/src/core/ext/upb-gen/envoy/config/core/v3/grpc_service.upb_minitable.c +378 -0
  226. data/src/core/ext/upb-gen/envoy/config/core/v3/grpc_service.upb_minitable.h +43 -0
  227. data/src/core/ext/upb-gen/envoy/config/core/v3/health_check.upb.h +1938 -0
  228. data/src/core/ext/upb-gen/envoy/config/core/v3/health_check.upb_minitable.c +315 -0
  229. data/src/core/ext/upb-gen/envoy/config/core/v3/health_check.upb_minitable.h +38 -0
  230. data/src/core/ext/upb-gen/envoy/config/core/v3/http_service.upb.h +166 -0
  231. data/src/core/ext/upb-gen/envoy/config/core/v3/http_service.upb_minitable.c +55 -0
  232. data/src/core/ext/upb-gen/envoy/config/core/v3/http_service.upb_minitable.h +30 -0
  233. data/src/core/ext/upb-gen/envoy/config/core/v3/http_uri.upb.h +144 -0
  234. data/src/core/ext/upb-gen/envoy/config/core/v3/http_uri.upb_minitable.c +55 -0
  235. data/src/core/ext/upb-gen/envoy/config/core/v3/http_uri.upb_minitable.h +30 -0
  236. data/src/core/ext/upb-gen/envoy/config/core/v3/protocol.upb.h +2275 -0
  237. data/src/core/ext/upb-gen/envoy/config/core/v3/protocol.upb_minitable.c +483 -0
  238. data/src/core/ext/upb-gen/envoy/config/core/v3/protocol.upb_minitable.h +45 -0
  239. data/src/core/ext/upb-gen/envoy/config/core/v3/proxy_protocol.upb.h +238 -0
  240. data/src/core/ext/upb-gen/envoy/config/core/v3/proxy_protocol.upb_minitable.c +70 -0
  241. data/src/core/ext/upb-gen/envoy/config/core/v3/proxy_protocol.upb_minitable.h +31 -0
  242. data/src/core/ext/upb-gen/envoy/config/core/v3/resolver.upb.h +232 -0
  243. data/src/core/ext/upb-gen/envoy/config/core/v3/resolver.upb_minitable.c +72 -0
  244. data/src/core/ext/upb-gen/envoy/config/core/v3/resolver.upb_minitable.h +31 -0
  245. data/src/core/ext/upb-gen/envoy/config/core/v3/socket_option.upb.h +287 -0
  246. data/src/core/ext/upb-gen/envoy/config/core/v3/socket_option.upb_minitable.c +76 -0
  247. data/src/core/ext/upb-gen/envoy/config/core/v3/socket_option.upb_minitable.h +31 -0
  248. data/src/core/ext/upb-gen/envoy/config/core/v3/substitution_format_string.upb.h +335 -0
  249. data/src/core/ext/upb-gen/envoy/config/core/v3/substitution_format_string.upb_minitable.c +83 -0
  250. data/src/core/ext/upb-gen/envoy/config/core/v3/substitution_format_string.upb_minitable.h +31 -0
  251. data/src/core/ext/upb-gen/envoy/config/core/v3/udp_socket_config.upb.h +129 -0
  252. data/src/core/ext/upb-gen/envoy/config/core/v3/udp_socket_config.upb_minitable.c +54 -0
  253. data/src/core/ext/upb-gen/envoy/config/core/v3/udp_socket_config.upb_minitable.h +30 -0
  254. data/src/core/ext/upb-gen/envoy/config/endpoint/v3/endpoint.upb.h +504 -0
  255. data/src/core/ext/upb-gen/envoy/config/endpoint/v3/endpoint.upb_minitable.c +139 -0
  256. data/src/core/ext/upb-gen/envoy/config/endpoint/v3/endpoint.upb_minitable.h +33 -0
  257. data/src/core/ext/upb-gen/envoy/config/endpoint/v3/endpoint_components.upb.h +993 -0
  258. data/src/core/ext/upb-gen/envoy/config/endpoint/v3/endpoint_components.upb_minitable.c +229 -0
  259. data/src/core/ext/upb-gen/envoy/config/endpoint/v3/endpoint_components.upb_minitable.h +36 -0
  260. data/src/core/ext/upb-gen/envoy/config/endpoint/v3/load_report.upb.h +911 -0
  261. data/src/core/ext/upb-gen/envoy/config/endpoint/v3/load_report.upb_minitable.c +179 -0
  262. data/src/core/ext/upb-gen/envoy/config/endpoint/v3/load_report.upb_minitable.h +34 -0
  263. data/src/core/ext/upb-gen/envoy/config/listener/v3/api_listener.upb.h +101 -0
  264. data/src/core/ext/upb-gen/envoy/config/listener/v3/api_listener.upb_minitable.c +50 -0
  265. data/src/core/ext/upb-gen/envoy/config/listener/v3/api_listener.upb_minitable.h +30 -0
  266. data/src/core/ext/upb-gen/envoy/config/listener/v3/listener.upb.h +1613 -0
  267. data/src/core/ext/upb-gen/envoy/config/listener/v3/listener.upb_minitable.c +268 -0
  268. data/src/core/ext/upb-gen/envoy/config/listener/v3/listener.upb_minitable.h +39 -0
  269. data/src/core/ext/upb-gen/envoy/config/listener/v3/listener_components.upb.h +1447 -0
  270. data/src/core/ext/upb-gen/envoy/config/listener/v3/listener_components.upb_minitable.c +260 -0
  271. data/src/core/ext/upb-gen/envoy/config/listener/v3/listener_components.upb_minitable.h +36 -0
  272. data/src/core/ext/upb-gen/envoy/config/listener/v3/quic_config.upb.h +327 -0
  273. data/src/core/ext/upb-gen/envoy/config/listener/v3/quic_config.upb_minitable.c +86 -0
  274. data/src/core/ext/upb-gen/envoy/config/listener/v3/quic_config.upb_minitable.h +30 -0
  275. data/src/core/ext/upb-gen/envoy/config/listener/v3/udp_listener_config.upb.h +197 -0
  276. data/src/core/ext/upb-gen/envoy/config/listener/v3/udp_listener_config.upb_minitable.c +77 -0
  277. data/src/core/ext/upb-gen/envoy/config/listener/v3/udp_listener_config.upb_minitable.h +31 -0
  278. data/src/core/ext/upb-gen/envoy/config/metrics/v3/metrics_service.upb.h +183 -0
  279. data/src/core/ext/upb-gen/envoy/config/metrics/v3/metrics_service.upb_minitable.c +64 -0
  280. data/src/core/ext/upb-gen/envoy/config/metrics/v3/metrics_service.upb_minitable.h +30 -0
  281. data/src/core/ext/upb-gen/envoy/config/metrics/v3/stats.upb.h +974 -0
  282. data/src/core/ext/upb-gen/envoy/config/metrics/v3/stats.upb_minitable.c +219 -0
  283. data/src/core/ext/upb-gen/envoy/config/metrics/v3/stats.upb_minitable.h +37 -0
  284. data/src/core/ext/upb-gen/envoy/config/overload/v3/overload.upb.h +1183 -0
  285. data/src/core/ext/upb-gen/envoy/config/overload/v3/overload.upb_minitable.c +250 -0
  286. data/src/core/ext/upb-gen/envoy/config/overload/v3/overload.upb_minitable.h +39 -0
  287. data/src/core/ext/upb-gen/envoy/config/rbac/v3/rbac.upb.h +1704 -0
  288. data/src/core/ext/upb-gen/envoy/config/rbac/v3/rbac.upb_minitable.c +348 -0
  289. data/src/core/ext/upb-gen/envoy/config/rbac/v3/rbac.upb_minitable.h +40 -0
  290. data/src/core/ext/upb-gen/envoy/config/route/v3/route.upb.h +885 -0
  291. data/src/core/ext/upb-gen/envoy/config/route/v3/route.upb_minitable.c +151 -0
  292. data/src/core/ext/upb-gen/envoy/config/route/v3/route.upb_minitable.h +32 -0
  293. data/src/core/ext/upb-gen/envoy/config/route/v3/route_components.upb.h +9754 -0
  294. data/src/core/ext/upb-gen/envoy/config/route/v3/route_components.upb_minitable.c +1670 -0
  295. data/src/core/ext/upb-gen/envoy/config/route/v3/route_components.upb_minitable.h +87 -0
  296. data/src/core/ext/upb-gen/envoy/config/route/v3/scoped_route.upb.h +341 -0
  297. data/src/core/ext/upb-gen/envoy/config/route/v3/scoped_route.upb_minitable.c +97 -0
  298. data/src/core/ext/upb-gen/envoy/config/route/v3/scoped_route.upb_minitable.h +32 -0
  299. data/src/core/ext/upb-gen/envoy/config/tap/v3/common.upb.h +1545 -0
  300. data/src/core/ext/upb-gen/envoy/config/tap/v3/common.upb_minitable.c +328 -0
  301. data/src/core/ext/upb-gen/envoy/config/tap/v3/common.upb_minitable.h +41 -0
  302. data/src/core/ext/upb-gen/envoy/config/trace/v3/datadog.upb.h +119 -0
  303. data/src/core/ext/upb-gen/envoy/config/trace/v3/datadog.upb_minitable.c +51 -0
  304. data/src/core/ext/upb-gen/envoy/config/trace/v3/datadog.upb_minitable.h +30 -0
  305. data/src/core/ext/upb-gen/envoy/config/trace/v3/dynamic_ot.upb.h +119 -0
  306. data/src/core/ext/upb-gen/envoy/config/trace/v3/dynamic_ot.upb_minitable.c +56 -0
  307. data/src/core/ext/upb-gen/envoy/config/trace/v3/dynamic_ot.upb_minitable.h +30 -0
  308. data/src/core/ext/upb-gen/envoy/config/trace/v3/http_tracer.upb.h +190 -0
  309. data/src/core/ext/upb-gen/envoy/config/trace/v3/http_tracer.upb_minitable.c +73 -0
  310. data/src/core/ext/upb-gen/envoy/config/trace/v3/http_tracer.upb_minitable.h +31 -0
  311. data/src/core/ext/upb-gen/envoy/config/trace/v3/lightstep.upb.h +202 -0
  312. data/src/core/ext/upb-gen/envoy/config/trace/v3/lightstep.upb_minitable.c +62 -0
  313. data/src/core/ext/upb-gen/envoy/config/trace/v3/lightstep.upb_minitable.h +30 -0
  314. data/src/core/ext/upb-gen/envoy/config/trace/v3/opencensus.upb.h +409 -0
  315. data/src/core/ext/upb-gen/envoy/config/trace/v3/opencensus.upb_minitable.c +81 -0
  316. data/src/core/ext/upb-gen/envoy/config/trace/v3/opencensus.upb_minitable.h +30 -0
  317. data/src/core/ext/upb-gen/envoy/config/trace/v3/opentelemetry.upb.h +237 -0
  318. data/src/core/ext/upb-gen/envoy/config/trace/v3/opentelemetry.upb_minitable.c +65 -0
  319. data/src/core/ext/upb-gen/envoy/config/trace/v3/opentelemetry.upb_minitable.h +30 -0
  320. data/src/core/ext/upb-gen/envoy/config/trace/v3/service.upb.h +102 -0
  321. data/src/core/ext/upb-gen/envoy/config/trace/v3/service.upb_minitable.c +51 -0
  322. data/src/core/ext/upb-gen/envoy/config/trace/v3/service.upb_minitable.h +30 -0
  323. data/src/core/ext/upb-gen/envoy/config/trace/v3/skywalking.upb.h +254 -0
  324. data/src/core/ext/upb-gen/envoy/config/trace/v3/skywalking.upb_minitable.c +85 -0
  325. data/src/core/ext/upb-gen/envoy/config/trace/v3/skywalking.upb_minitable.h +31 -0
  326. data/src/core/ext/upb-gen/envoy/config/trace/v3/trace.upb.h +49 -0
  327. data/src/core/ext/upb-gen/envoy/config/trace/v3/trace.upb_minitable.c +33 -0
  328. data/src/core/ext/upb-gen/envoy/config/trace/v3/trace.upb_minitable.h +39 -0
  329. data/src/core/ext/upb-gen/envoy/config/trace/v3/xray.upb.h +256 -0
  330. data/src/core/ext/upb-gen/envoy/config/trace/v3/xray.upb_minitable.c +87 -0
  331. data/src/core/ext/upb-gen/envoy/config/trace/v3/xray.upb_minitable.h +31 -0
  332. data/src/core/ext/upb-gen/envoy/config/trace/v3/zipkin.upb.h +201 -0
  333. data/src/core/ext/upb-gen/envoy/config/trace/v3/zipkin.upb_minitable.c +65 -0
  334. data/src/core/ext/upb-gen/envoy/config/trace/v3/zipkin.upb_minitable.h +30 -0
  335. data/src/core/ext/upb-gen/envoy/data/accesslog/v3/accesslog.upb.h +2709 -0
  336. data/src/core/ext/upb-gen/envoy/data/accesslog/v3/accesslog.upb_minitable.c +556 -0
  337. data/src/core/ext/upb-gen/envoy/data/accesslog/v3/accesslog.upb_minitable.h +45 -0
  338. data/src/core/ext/upb-gen/envoy/extensions/clusters/aggregate/v3/cluster.upb.h +134 -0
  339. data/src/core/ext/upb-gen/envoy/extensions/clusters/aggregate/v3/cluster.upb_minitable.c +46 -0
  340. data/src/core/ext/upb-gen/envoy/extensions/clusters/aggregate/v3/cluster.upb_minitable.h +30 -0
  341. data/src/core/ext/upb-gen/envoy/extensions/filters/common/fault/v3/fault.upb.h +428 -0
  342. data/src/core/ext/upb-gen/envoy/extensions/filters/common/fault/v3/fault.upb_minitable.c +116 -0
  343. data/src/core/ext/upb-gen/envoy/extensions/filters/common/fault/v3/fault.upb_minitable.h +34 -0
  344. data/src/core/ext/upb-gen/envoy/extensions/filters/http/fault/v3/fault.upb.h +656 -0
  345. data/src/core/ext/upb-gen/envoy/extensions/filters/http/fault/v3/fault.upb_minitable.c +141 -0
  346. data/src/core/ext/upb-gen/envoy/extensions/filters/http/fault/v3/fault.upb_minitable.h +32 -0
  347. data/src/core/ext/upb-gen/envoy/extensions/filters/http/rbac/v3/rbac.upb.h +266 -0
  348. data/src/core/ext/upb-gen/envoy/extensions/filters/http/rbac/v3/rbac.upb_minitable.c +87 -0
  349. data/src/core/ext/upb-gen/envoy/extensions/filters/http/rbac/v3/rbac.upb_minitable.h +31 -0
  350. data/src/core/ext/upb-gen/envoy/extensions/filters/http/router/v3/router.upb.h +463 -0
  351. data/src/core/ext/upb-gen/envoy/extensions/filters/http/router/v3/router.upb_minitable.c +102 -0
  352. data/src/core/ext/upb-gen/envoy/extensions/filters/http/router/v3/router.upb_minitable.h +31 -0
  353. data/src/core/ext/upb-gen/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upb.h +209 -0
  354. data/src/core/ext/upb-gen/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upb_minitable.c +75 -0
  355. data/src/core/ext/upb-gen/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upb_minitable.h +31 -0
  356. data/src/core/ext/upb-gen/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upb.h +3985 -0
  357. data/src/core/ext/upb-gen/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upb_minitable.c +682 -0
  358. data/src/core/ext/upb-gen/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upb_minitable.h +50 -0
  359. data/src/core/ext/upb-gen/envoy/extensions/http/stateful_session/cookie/v3/cookie.upb.h +101 -0
  360. data/src/core/ext/upb-gen/envoy/extensions/http/stateful_session/cookie/v3/cookie.upb_minitable.c +50 -0
  361. data/src/core/ext/upb-gen/envoy/extensions/http/stateful_session/cookie/v3/cookie.upb_minitable.h +30 -0
  362. data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/client_side_weighted_round_robin/v3/client_side_weighted_round_robin.upb.h +239 -0
  363. 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 +67 -0
  364. data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/client_side_weighted_round_robin/v3/client_side_weighted_round_robin.upb_minitable.h +30 -0
  365. data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/common/v3/common.upb.h +488 -0
  366. data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/common/v3/common.upb_minitable.c +135 -0
  367. data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/common/v3/common.upb_minitable.h +34 -0
  368. data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/pick_first/v3/pick_first.upb.h +86 -0
  369. data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/pick_first/v3/pick_first.upb_minitable.c +44 -0
  370. data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/pick_first/v3/pick_first.upb_minitable.h +30 -0
  371. data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/ring_hash/v3/ring_hash.upb.h +250 -0
  372. data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/ring_hash/v3/ring_hash.upb_minitable.c +68 -0
  373. data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/ring_hash/v3/ring_hash.upb_minitable.h +30 -0
  374. data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/wrr_locality/v3/wrr_locality.upb.h +101 -0
  375. data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/wrr_locality/v3/wrr_locality.upb_minitable.c +50 -0
  376. data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/wrr_locality/v3/wrr_locality.upb_minitable.h +30 -0
  377. data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/cert.upb.h +39 -0
  378. data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/cert.upb_minitable.c +28 -0
  379. data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/cert.upb_minitable.h +34 -0
  380. data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/common.upb.h +1484 -0
  381. data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/common.upb_minitable.c +267 -0
  382. data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/common.upb_minitable.h +36 -0
  383. data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/secret.upb.h +361 -0
  384. data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/secret.upb_minitable.c +108 -0
  385. data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/secret.upb_minitable.h +32 -0
  386. data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/tls.upb.h +1509 -0
  387. data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/tls.upb_minitable.c +270 -0
  388. data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/tls.upb_minitable.h +36 -0
  389. data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upb.h +217 -0
  390. data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upb_minitable.c +72 -0
  391. data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upb_minitable.h +31 -0
  392. data/src/core/ext/upb-gen/envoy/extensions/upstreams/http/v3/http_protocol_options.upb.h +712 -0
  393. data/src/core/ext/upb-gen/envoy/extensions/upstreams/http/v3/http_protocol_options.upb_minitable.c +151 -0
  394. data/src/core/ext/upb-gen/envoy/extensions/upstreams/http/v3/http_protocol_options.upb_minitable.h +33 -0
  395. data/src/core/ext/upb-gen/envoy/service/discovery/v3/ads.upb.h +73 -0
  396. data/src/core/ext/upb-gen/envoy/service/discovery/v3/ads.upb_minitable.c +38 -0
  397. data/src/core/ext/upb-gen/envoy/service/discovery/v3/ads.upb_minitable.h +30 -0
  398. data/src/core/ext/upb-gen/envoy/service/discovery/v3/discovery.upb.h +2141 -0
  399. data/src/core/ext/upb-gen/envoy/service/discovery/v3/discovery.upb_minitable.c +402 -0
  400. data/src/core/ext/upb-gen/envoy/service/discovery/v3/discovery.upb_minitable.h +43 -0
  401. data/src/core/ext/upb-gen/envoy/service/load_stats/v3/lrs.upb.h +324 -0
  402. data/src/core/ext/upb-gen/envoy/service/load_stats/v3/lrs.upb_minitable.c +84 -0
  403. data/src/core/ext/upb-gen/envoy/service/load_stats/v3/lrs.upb_minitable.h +31 -0
  404. data/src/core/ext/upb-gen/envoy/service/status/v3/csds.upb.h +940 -0
  405. data/src/core/ext/upb-gen/envoy/service/status/v3/csds.upb_minitable.c +188 -0
  406. data/src/core/ext/upb-gen/envoy/service/status/v3/csds.upb_minitable.h +34 -0
  407. data/src/core/ext/upb-gen/envoy/type/http/v3/cookie.upb.h +131 -0
  408. data/src/core/ext/upb-gen/envoy/type/http/v3/cookie.upb_minitable.c +54 -0
  409. data/src/core/ext/upb-gen/envoy/type/http/v3/cookie.upb_minitable.h +30 -0
  410. data/src/core/ext/upb-gen/envoy/type/http/v3/path_transformation.upb.h +312 -0
  411. data/src/core/ext/upb-gen/envoy/type/http/v3/path_transformation.upb_minitable.c +86 -0
  412. data/src/core/ext/upb-gen/envoy/type/http/v3/path_transformation.upb_minitable.h +33 -0
  413. data/src/core/ext/upb-gen/envoy/type/matcher/v3/filter_state.upb.h +124 -0
  414. data/src/core/ext/upb-gen/envoy/type/matcher/v3/filter_state.upb_minitable.c +53 -0
  415. data/src/core/ext/upb-gen/envoy/type/matcher/v3/filter_state.upb_minitable.h +30 -0
  416. data/src/core/ext/upb-gen/envoy/type/matcher/v3/http_inputs.upb.h +299 -0
  417. data/src/core/ext/upb-gen/envoy/type/matcher/v3/http_inputs.upb_minitable.c +105 -0
  418. data/src/core/ext/upb-gen/envoy/type/matcher/v3/http_inputs.upb_minitable.h +34 -0
  419. data/src/core/ext/upb-gen/envoy/type/matcher/v3/metadata.upb.h +260 -0
  420. data/src/core/ext/upb-gen/envoy/type/matcher/v3/metadata.upb_minitable.c +76 -0
  421. data/src/core/ext/upb-gen/envoy/type/matcher/v3/metadata.upb_minitable.h +31 -0
  422. data/src/core/ext/upb-gen/envoy/type/matcher/v3/node.upb.h +166 -0
  423. data/src/core/ext/upb-gen/envoy/type/matcher/v3/node.upb_minitable.c +55 -0
  424. data/src/core/ext/upb-gen/envoy/type/matcher/v3/node.upb_minitable.h +30 -0
  425. data/src/core/ext/upb-gen/envoy/type/matcher/v3/number.upb.h +130 -0
  426. data/src/core/ext/upb-gen/envoy/type/matcher/v3/number.upb_minitable.c +54 -0
  427. data/src/core/ext/upb-gen/envoy/type/matcher/v3/number.upb_minitable.h +30 -0
  428. data/src/core/ext/upb-gen/envoy/type/matcher/v3/path.upb.h +110 -0
  429. data/src/core/ext/upb-gen/envoy/type/matcher/v3/path.upb_minitable.c +51 -0
  430. data/src/core/ext/upb-gen/envoy/type/matcher/v3/path.upb_minitable.h +30 -0
  431. data/src/core/ext/upb-gen/envoy/type/matcher/v3/regex.upb.h +271 -0
  432. data/src/core/ext/upb-gen/envoy/type/matcher/v3/regex.upb_minitable.c +96 -0
  433. data/src/core/ext/upb-gen/envoy/type/matcher/v3/regex.upb_minitable.h +32 -0
  434. data/src/core/ext/upb-gen/envoy/type/matcher/v3/status_code_input.upb.h +109 -0
  435. data/src/core/ext/upb-gen/envoy/type/matcher/v3/status_code_input.upb_minitable.c +43 -0
  436. data/src/core/ext/upb-gen/envoy/type/matcher/v3/status_code_input.upb_minitable.h +31 -0
  437. data/src/core/ext/upb-gen/envoy/type/matcher/v3/string.upb.h +306 -0
  438. data/src/core/ext/upb-gen/envoy/type/matcher/v3/string.upb_minitable.c +81 -0
  439. data/src/core/ext/upb-gen/envoy/type/matcher/v3/string.upb_minitable.h +31 -0
  440. data/src/core/ext/upb-gen/envoy/type/matcher/v3/struct.upb.h +230 -0
  441. data/src/core/ext/upb-gen/envoy/type/matcher/v3/struct.upb_minitable.c +70 -0
  442. data/src/core/ext/upb-gen/envoy/type/matcher/v3/struct.upb_minitable.h +31 -0
  443. data/src/core/ext/upb-gen/envoy/type/matcher/v3/value.upb.h +476 -0
  444. data/src/core/ext/upb-gen/envoy/type/matcher/v3/value.upb_minitable.c +113 -0
  445. data/src/core/ext/upb-gen/envoy/type/matcher/v3/value.upb_minitable.h +33 -0
  446. data/src/core/ext/upb-gen/envoy/type/metadata/v3/metadata.upb.h +525 -0
  447. data/src/core/ext/upb-gen/envoy/type/metadata/v3/metadata.upb_minitable.c +127 -0
  448. data/src/core/ext/upb-gen/envoy/type/metadata/v3/metadata.upb_minitable.h +36 -0
  449. data/src/core/ext/upb-gen/envoy/type/tracing/v3/custom_tag.upb.h +506 -0
  450. data/src/core/ext/upb-gen/envoy/type/tracing/v3/custom_tag.upb_minitable.c +139 -0
  451. data/src/core/ext/upb-gen/envoy/type/tracing/v3/custom_tag.upb_minitable.h +34 -0
  452. data/src/core/ext/upb-gen/envoy/type/v3/hash_policy.upb.h +227 -0
  453. data/src/core/ext/upb-gen/envoy/type/v3/hash_policy.upb_minitable.c +76 -0
  454. data/src/core/ext/upb-gen/envoy/type/v3/hash_policy.upb_minitable.h +32 -0
  455. data/src/core/ext/upb-gen/envoy/type/v3/http.upb.h +38 -0
  456. data/src/core/ext/upb-gen/envoy/type/v3/http.upb_minitable.c +26 -0
  457. data/src/core/ext/upb-gen/envoy/type/v3/http.upb_minitable.h +29 -0
  458. data/src/core/ext/upb-gen/envoy/type/v3/http_status.upb.h +148 -0
  459. data/src/core/ext/upb-gen/envoy/type/v3/http_status.upb_minitable.c +46 -0
  460. data/src/core/ext/upb-gen/envoy/type/v3/http_status.upb_minitable.h +30 -0
  461. data/src/core/ext/upb-gen/envoy/type/v3/percent.upb.h +162 -0
  462. data/src/core/ext/upb-gen/envoy/type/v3/percent.upb_minitable.c +64 -0
  463. data/src/core/ext/upb-gen/envoy/type/v3/percent.upb_minitable.h +31 -0
  464. data/src/core/ext/upb-gen/envoy/type/v3/range.upb.h +238 -0
  465. data/src/core/ext/upb-gen/envoy/type/v3/range.upb_minitable.c +84 -0
  466. data/src/core/ext/upb-gen/envoy/type/v3/range.upb_minitable.h +32 -0
  467. data/src/core/ext/upb-gen/envoy/type/v3/ratelimit_strategy.upb.h +232 -0
  468. data/src/core/ext/upb-gen/envoy/type/v3/ratelimit_strategy.upb_minitable.c +75 -0
  469. data/src/core/ext/upb-gen/envoy/type/v3/ratelimit_strategy.upb_minitable.h +31 -0
  470. data/src/core/ext/upb-gen/envoy/type/v3/ratelimit_unit.upb.h +42 -0
  471. data/src/core/ext/upb-gen/envoy/type/v3/ratelimit_unit.upb_minitable.c +26 -0
  472. data/src/core/ext/upb-gen/envoy/type/v3/ratelimit_unit.upb_minitable.h +29 -0
  473. data/src/core/ext/upb-gen/envoy/type/v3/semantic_version.upb.h +117 -0
  474. data/src/core/ext/upb-gen/envoy/type/v3/semantic_version.upb_minitable.c +49 -0
  475. data/src/core/ext/upb-gen/envoy/type/v3/semantic_version.upb_minitable.h +30 -0
  476. data/src/core/ext/upb-gen/envoy/type/v3/token_bucket.upb.h +146 -0
  477. data/src/core/ext/upb-gen/envoy/type/v3/token_bucket.upb_minitable.c +57 -0
  478. data/src/core/ext/upb-gen/envoy/type/v3/token_bucket.upb_minitable.h +30 -0
  479. data/src/core/ext/upb-gen/google/api/annotations.upb.h +56 -0
  480. data/src/core/ext/upb-gen/google/api/annotations.upb_minitable.c +38 -0
  481. data/src/core/ext/upb-gen/google/api/annotations.upb_minitable.h +30 -0
  482. data/src/core/ext/upb-gen/google/api/expr/v1alpha1/checked.upb.h +1743 -0
  483. data/src/core/ext/upb-gen/google/api/expr/v1alpha1/checked.upb_minitable.c +369 -0
  484. data/src/core/ext/upb-gen/google/api/expr/v1alpha1/checked.upb_minitable.h +42 -0
  485. data/src/core/ext/upb-gen/google/api/expr/v1alpha1/syntax.upb.h +1829 -0
  486. data/src/core/ext/upb-gen/google/api/expr/v1alpha1/syntax.upb_minitable.c +399 -0
  487. data/src/core/ext/upb-gen/google/api/expr/v1alpha1/syntax.upb_minitable.h +43 -0
  488. data/src/core/ext/upb-gen/google/api/http.upb.h +496 -0
  489. data/src/core/ext/upb-gen/google/api/http.upb_minitable.c +111 -0
  490. data/src/core/ext/upb-gen/google/api/http.upb_minitable.h +32 -0
  491. data/src/core/ext/upb-gen/google/api/httpbody.upb.h +165 -0
  492. data/src/core/ext/upb-gen/google/api/httpbody.upb_minitable.c +52 -0
  493. data/src/core/ext/upb-gen/google/api/httpbody.upb_minitable.h +30 -0
  494. data/src/core/ext/upb-gen/google/protobuf/any.upb.h +99 -0
  495. data/src/core/ext/upb-gen/google/protobuf/any.upb_minitable.c +46 -0
  496. data/src/core/ext/upb-gen/google/protobuf/any.upb_minitable.h +30 -0
  497. data/src/core/ext/upb-gen/google/protobuf/descriptor.upb.h +6397 -0
  498. data/src/core/ext/upb-gen/google/protobuf/descriptor.upb_minitable.c +1357 -0
  499. data/src/core/ext/upb-gen/google/protobuf/descriptor.upb_minitable.h +78 -0
  500. data/src/core/ext/upb-gen/google/protobuf/duration.upb.h +99 -0
  501. data/src/core/ext/upb-gen/google/protobuf/duration.upb_minitable.c +46 -0
  502. data/src/core/ext/upb-gen/google/protobuf/duration.upb_minitable.h +30 -0
  503. data/src/core/ext/upb-gen/google/protobuf/empty.upb.h +69 -0
  504. data/src/core/ext/upb-gen/google/protobuf/empty.upb_minitable.c +35 -0
  505. data/src/core/ext/upb-gen/google/protobuf/empty.upb_minitable.h +30 -0
  506. data/src/core/ext/upb-gen/google/protobuf/struct.upb.h +422 -0
  507. data/src/core/ext/upb-gen/google/protobuf/struct.upb_minitable.c +115 -0
  508. data/src/core/ext/upb-gen/google/protobuf/struct.upb_minitable.h +33 -0
  509. data/src/core/ext/upb-gen/google/protobuf/timestamp.upb.h +99 -0
  510. data/src/core/ext/upb-gen/google/protobuf/timestamp.upb_minitable.c +46 -0
  511. data/src/core/ext/upb-gen/google/protobuf/timestamp.upb_minitable.h +30 -0
  512. data/src/core/ext/upb-gen/google/protobuf/wrappers.upb.h +508 -0
  513. data/src/core/ext/upb-gen/google/protobuf/wrappers.upb_minitable.c +163 -0
  514. data/src/core/ext/upb-gen/google/protobuf/wrappers.upb_minitable.h +38 -0
  515. data/src/core/ext/upb-gen/google/rpc/status.upb.h +165 -0
  516. data/src/core/ext/upb-gen/google/rpc/status.upb_minitable.c +52 -0
  517. data/src/core/ext/upb-gen/google/rpc/status.upb_minitable.h +30 -0
  518. data/src/core/ext/upb-gen/opencensus/proto/trace/v1/trace_config.upb.h +385 -0
  519. data/src/core/ext/upb-gen/opencensus/proto/trace/v1/trace_config.upb_minitable.c +106 -0
  520. data/src/core/ext/upb-gen/opencensus/proto/trace/v1/trace_config.upb_minitable.h +33 -0
  521. data/src/core/ext/upb-gen/src/proto/grpc/gcp/altscontext.upb.h +237 -0
  522. data/src/core/ext/upb-gen/src/proto/grpc/gcp/altscontext.upb_minitable.c +79 -0
  523. data/src/core/ext/upb-gen/src/proto/grpc/gcp/altscontext.upb_minitable.h +31 -0
  524. data/src/core/ext/upb-gen/src/proto/grpc/gcp/handshaker.upb.h +1658 -0
  525. data/src/core/ext/upb-gen/src/proto/grpc/gcp/handshaker.upb_minitable.c +342 -0
  526. data/src/core/ext/upb-gen/src/proto/grpc/gcp/handshaker.upb_minitable.h +41 -0
  527. data/src/core/ext/upb-gen/src/proto/grpc/gcp/transport_security_common.upb.h +197 -0
  528. data/src/core/ext/upb-gen/src/proto/grpc/gcp/transport_security_common.upb_minitable.c +69 -0
  529. data/src/core/ext/upb-gen/src/proto/grpc/gcp/transport_security_common.upb_minitable.h +31 -0
  530. data/src/core/ext/upb-gen/src/proto/grpc/health/v1/health.upb.h +144 -0
  531. data/src/core/ext/upb-gen/src/proto/grpc/health/v1/health.upb_minitable.c +58 -0
  532. data/src/core/ext/upb-gen/src/proto/grpc/health/v1/health.upb_minitable.h +31 -0
  533. data/src/core/ext/upb-gen/src/proto/grpc/lb/v1/load_balancer.upb.h +877 -0
  534. data/src/core/ext/upb-gen/src/proto/grpc/lb/v1/load_balancer.upb_minitable.c +221 -0
  535. data/src/core/ext/upb-gen/src/proto/grpc/lb/v1/load_balancer.upb_minitable.h +38 -0
  536. data/src/core/ext/upb-gen/src/proto/grpc/lookup/v1/rls.upb.h +297 -0
  537. data/src/core/ext/upb-gen/src/proto/grpc/lookup/v1/rls.upb_minitable.c +92 -0
  538. data/src/core/ext/upb-gen/src/proto/grpc/lookup/v1/rls.upb_minitable.h +32 -0
  539. data/src/core/ext/upb-gen/src/proto/grpc/lookup/v1/rls_config.upb.h +1333 -0
  540. data/src/core/ext/upb-gen/src/proto/grpc/lookup/v1/rls_config.upb_minitable.c +243 -0
  541. data/src/core/ext/upb-gen/src/proto/grpc/lookup/v1/rls_config.upb_minitable.h +38 -0
  542. data/src/core/ext/upb-gen/udpa/annotations/migrate.upb.h +322 -0
  543. data/src/core/ext/upb-gen/udpa/annotations/migrate.upb_minitable.c +118 -0
  544. data/src/core/ext/upb-gen/udpa/annotations/migrate.upb_minitable.h +37 -0
  545. data/src/core/ext/upb-gen/udpa/annotations/security.upb.h +125 -0
  546. data/src/core/ext/upb-gen/udpa/annotations/security.upb_minitable.c +59 -0
  547. data/src/core/ext/upb-gen/udpa/annotations/security.upb_minitable.h +31 -0
  548. data/src/core/ext/upb-gen/udpa/annotations/sensitive.upb.h +55 -0
  549. data/src/core/ext/upb-gen/udpa/annotations/sensitive.upb_minitable.c +37 -0
  550. data/src/core/ext/upb-gen/udpa/annotations/sensitive.upb_minitable.h +30 -0
  551. data/src/core/ext/upb-gen/udpa/annotations/status.upb.h +131 -0
  552. data/src/core/ext/upb-gen/udpa/annotations/status.upb_minitable.c +58 -0
  553. data/src/core/ext/upb-gen/udpa/annotations/status.upb_minitable.h +31 -0
  554. data/src/core/ext/upb-gen/udpa/annotations/versioning.upb.h +109 -0
  555. data/src/core/ext/upb-gen/udpa/annotations/versioning.upb_minitable.c +55 -0
  556. data/src/core/ext/upb-gen/udpa/annotations/versioning.upb_minitable.h +31 -0
  557. data/src/core/ext/upb-gen/validate/validate.upb.h +6507 -0
  558. data/src/core/ext/upb-gen/validate/validate.upb_minitable.c +943 -0
  559. data/src/core/ext/upb-gen/validate/validate.upb_minitable.h +57 -0
  560. data/src/core/ext/upb-gen/xds/annotations/v3/migrate.upb.h +322 -0
  561. data/src/core/ext/upb-gen/xds/annotations/v3/migrate.upb_minitable.c +118 -0
  562. data/src/core/ext/upb-gen/xds/annotations/v3/migrate.upb_minitable.h +37 -0
  563. data/src/core/ext/upb-gen/xds/annotations/v3/security.upb.h +125 -0
  564. data/src/core/ext/upb-gen/xds/annotations/v3/security.upb_minitable.c +59 -0
  565. data/src/core/ext/upb-gen/xds/annotations/v3/security.upb_minitable.h +31 -0
  566. data/src/core/ext/upb-gen/xds/annotations/v3/sensitive.upb.h +55 -0
  567. data/src/core/ext/upb-gen/xds/annotations/v3/sensitive.upb_minitable.c +37 -0
  568. data/src/core/ext/upb-gen/xds/annotations/v3/sensitive.upb_minitable.h +30 -0
  569. data/src/core/ext/upb-gen/xds/annotations/v3/status.upb.h +336 -0
  570. data/src/core/ext/upb-gen/xds/annotations/v3/status.upb_minitable.c +117 -0
  571. data/src/core/ext/upb-gen/xds/annotations/v3/status.upb_minitable.h +36 -0
  572. data/src/core/ext/upb-gen/xds/annotations/v3/versioning.upb.h +109 -0
  573. data/src/core/ext/upb-gen/xds/annotations/v3/versioning.upb_minitable.c +55 -0
  574. data/src/core/ext/upb-gen/xds/annotations/v3/versioning.upb_minitable.h +31 -0
  575. data/src/core/ext/upb-gen/xds/core/v3/authority.upb.h +87 -0
  576. data/src/core/ext/upb-gen/xds/core/v3/authority.upb_minitable.c +45 -0
  577. data/src/core/ext/upb-gen/xds/core/v3/authority.upb_minitable.h +30 -0
  578. data/src/core/ext/upb-gen/xds/core/v3/cidr.upb.h +116 -0
  579. data/src/core/ext/upb-gen/xds/core/v3/cidr.upb_minitable.c +53 -0
  580. data/src/core/ext/upb-gen/xds/core/v3/cidr.upb_minitable.h +30 -0
  581. data/src/core/ext/upb-gen/xds/core/v3/collection_entry.upb.h +234 -0
  582. data/src/core/ext/upb-gen/xds/core/v3/collection_entry.upb_minitable.c +78 -0
  583. data/src/core/ext/upb-gen/xds/core/v3/collection_entry.upb_minitable.h +31 -0
  584. data/src/core/ext/upb-gen/xds/core/v3/context_params.upb.h +134 -0
  585. data/src/core/ext/upb-gen/xds/core/v3/context_params.upb_minitable.c +62 -0
  586. data/src/core/ext/upb-gen/xds/core/v3/context_params.upb_minitable.h +31 -0
  587. data/src/core/ext/upb-gen/xds/core/v3/extension.upb.h +115 -0
  588. data/src/core/ext/upb-gen/xds/core/v3/extension.upb_minitable.c +52 -0
  589. data/src/core/ext/upb-gen/xds/core/v3/extension.upb_minitable.h +30 -0
  590. data/src/core/ext/upb-gen/xds/core/v3/resource.upb.h +144 -0
  591. data/src/core/ext/upb-gen/xds/core/v3/resource.upb_minitable.c +55 -0
  592. data/src/core/ext/upb-gen/xds/core/v3/resource.upb_minitable.h +30 -0
  593. data/src/core/ext/upb-gen/xds/core/v3/resource_locator.upb.h +331 -0
  594. data/src/core/ext/upb-gen/xds/core/v3/resource_locator.upb_minitable.c +84 -0
  595. data/src/core/ext/upb-gen/xds/core/v3/resource_locator.upb_minitable.h +31 -0
  596. data/src/core/ext/upb-gen/xds/core/v3/resource_name.upb.h +146 -0
  597. data/src/core/ext/upb-gen/xds/core/v3/resource_name.upb_minitable.c +59 -0
  598. data/src/core/ext/upb-gen/xds/core/v3/resource_name.upb_minitable.h +30 -0
  599. data/src/core/ext/upb-gen/xds/data/orca/v3/orca_load_report.upb.h +350 -0
  600. data/src/core/ext/upb-gen/xds/data/orca/v3/orca_load_report.upb_minitable.c +126 -0
  601. data/src/core/ext/upb-gen/xds/data/orca/v3/orca_load_report.upb_minitable.h +33 -0
  602. data/src/core/ext/upb-gen/xds/service/orca/v3/orca.upb.h +161 -0
  603. data/src/core/ext/upb-gen/xds/service/orca/v3/orca.upb_minitable.c +52 -0
  604. data/src/core/ext/upb-gen/xds/service/orca/v3/orca.upb_minitable.h +30 -0
  605. data/src/core/ext/upb-gen/xds/type/matcher/v3/cel.upb.h +116 -0
  606. data/src/core/ext/upb-gen/xds/type/matcher/v3/cel.upb_minitable.c +53 -0
  607. data/src/core/ext/upb-gen/xds/type/matcher/v3/cel.upb_minitable.h +30 -0
  608. data/src/core/ext/upb-gen/xds/type/matcher/v3/domain.upb.h +263 -0
  609. data/src/core/ext/upb-gen/xds/type/matcher/v3/domain.upb_minitable.c +72 -0
  610. data/src/core/ext/upb-gen/xds/type/matcher/v3/domain.upb_minitable.h +31 -0
  611. data/src/core/ext/upb-gen/xds/type/matcher/v3/http_inputs.upb.h +71 -0
  612. data/src/core/ext/upb-gen/xds/type/matcher/v3/http_inputs.upb_minitable.c +36 -0
  613. data/src/core/ext/upb-gen/xds/type/matcher/v3/http_inputs.upb_minitable.h +30 -0
  614. data/src/core/ext/upb-gen/xds/type/matcher/v3/ip.upb.h +282 -0
  615. data/src/core/ext/upb-gen/xds/type/matcher/v3/ip.upb_minitable.c +75 -0
  616. data/src/core/ext/upb-gen/xds/type/matcher/v3/ip.upb_minitable.h +31 -0
  617. data/src/core/ext/upb-gen/xds/type/matcher/v3/matcher.upb.h +1107 -0
  618. data/src/core/ext/upb-gen/xds/type/matcher/v3/matcher.upb_minitable.c +265 -0
  619. data/src/core/ext/upb-gen/xds/type/matcher/v3/matcher.upb_minitable.h +39 -0
  620. data/src/core/ext/upb-gen/xds/type/matcher/v3/range.upb.h +726 -0
  621. data/src/core/ext/upb-gen/xds/type/matcher/v3/range.upb_minitable.c +157 -0
  622. data/src/core/ext/upb-gen/xds/type/matcher/v3/range.upb_minitable.h +35 -0
  623. data/src/core/ext/upb-gen/xds/type/matcher/v3/regex.upb.h +159 -0
  624. data/src/core/ext/upb-gen/xds/type/matcher/v3/regex.upb_minitable.c +58 -0
  625. data/src/core/ext/upb-gen/xds/type/matcher/v3/regex.upb_minitable.h +31 -0
  626. data/src/core/ext/upb-gen/xds/type/matcher/v3/string.upb.h +304 -0
  627. data/src/core/ext/upb-gen/xds/type/matcher/v3/string.upb_minitable.c +79 -0
  628. data/src/core/ext/upb-gen/xds/type/matcher/v3/string.upb_minitable.h +31 -0
  629. data/src/core/ext/upb-gen/xds/type/v3/cel.upb.h +233 -0
  630. data/src/core/ext/upb-gen/xds/type/v3/cel.upb_minitable.c +79 -0
  631. data/src/core/ext/upb-gen/xds/type/v3/cel.upb_minitable.h +31 -0
  632. data/src/core/ext/upb-gen/xds/type/v3/range.upb.h +235 -0
  633. data/src/core/ext/upb-gen/xds/type/v3/range.upb_minitable.c +82 -0
  634. data/src/core/ext/upb-gen/xds/type/v3/range.upb_minitable.h +32 -0
  635. data/src/core/ext/upb-gen/xds/type/v3/typed_struct.upb.h +114 -0
  636. data/src/core/ext/upb-gen/xds/type/v3/typed_struct.upb_minitable.c +51 -0
  637. data/src/core/ext/upb-gen/xds/type/v3/typed_struct.upb_minitable.h +30 -0
  638. data/src/core/ext/upbdefs-gen/envoy/admin/v3/certs.upbdefs.c +83 -0
  639. data/src/core/ext/upbdefs-gen/envoy/admin/v3/certs.upbdefs.h +55 -0
  640. data/src/core/ext/upbdefs-gen/envoy/admin/v3/clusters.upbdefs.c +127 -0
  641. data/src/core/ext/upbdefs-gen/envoy/admin/v3/clusters.upbdefs.h +50 -0
  642. data/src/core/ext/upbdefs-gen/envoy/admin/v3/config_dump.upbdefs.c +101 -0
  643. data/src/core/ext/upbdefs-gen/envoy/admin/v3/config_dump.upbdefs.h +55 -0
  644. data/src/core/ext/upbdefs-gen/envoy/admin/v3/config_dump_shared.upbdefs.c +276 -0
  645. data/src/core/ext/upbdefs-gen/envoy/admin/v3/config_dump_shared.upbdefs.h +125 -0
  646. data/src/core/ext/upbdefs-gen/envoy/admin/v3/init_dump.upbdefs.c +42 -0
  647. data/src/core/ext/upbdefs-gen/envoy/admin/v3/init_dump.upbdefs.h +40 -0
  648. data/src/core/ext/upbdefs-gen/envoy/admin/v3/listeners.upbdefs.c +55 -0
  649. data/src/core/ext/upbdefs-gen/envoy/admin/v3/listeners.upbdefs.h +40 -0
  650. data/src/core/ext/upbdefs-gen/envoy/admin/v3/memory.upbdefs.c +48 -0
  651. data/src/core/ext/upbdefs-gen/envoy/admin/v3/memory.upbdefs.h +35 -0
  652. data/src/core/ext/upbdefs-gen/envoy/admin/v3/metrics.upbdefs.c +45 -0
  653. data/src/core/ext/upbdefs-gen/envoy/admin/v3/metrics.upbdefs.h +35 -0
  654. data/src/core/ext/upbdefs-gen/envoy/admin/v3/mutex_stats.upbdefs.c +45 -0
  655. data/src/core/ext/upbdefs-gen/envoy/admin/v3/mutex_stats.upbdefs.h +35 -0
  656. data/src/core/ext/upbdefs-gen/envoy/admin/v3/server_info.upbdefs.c +141 -0
  657. data/src/core/ext/upbdefs-gen/envoy/admin/v3/server_info.upbdefs.h +40 -0
  658. data/src/core/ext/upbdefs-gen/envoy/admin/v3/tap.upbdefs.c +50 -0
  659. data/src/core/ext/upbdefs-gen/envoy/admin/v3/tap.upbdefs.h +35 -0
  660. data/src/core/ext/upbdefs-gen/envoy/annotations/deprecation.upbdefs.c +47 -0
  661. data/src/core/ext/upbdefs-gen/envoy/annotations/deprecation.upbdefs.h +30 -0
  662. data/src/core/ext/upbdefs-gen/envoy/annotations/resource.upbdefs.c +37 -0
  663. data/src/core/ext/upbdefs-gen/envoy/annotations/resource.upbdefs.h +35 -0
  664. data/src/core/ext/upbdefs-gen/envoy/config/accesslog/v3/accesslog.upbdefs.c +233 -0
  665. data/src/core/ext/upbdefs-gen/envoy/config/accesslog/v3/accesslog.upbdefs.h +110 -0
  666. data/src/core/ext/upbdefs-gen/envoy/config/bootstrap/v3/bootstrap.upbdefs.c +444 -0
  667. data/src/core/ext/upbdefs-gen/envoy/config/bootstrap/v3/bootstrap.upbdefs.h +140 -0
  668. data/src/core/ext/upbdefs-gen/envoy/config/cluster/v3/circuit_breaker.upbdefs.c +97 -0
  669. data/src/core/ext/upbdefs-gen/envoy/config/cluster/v3/circuit_breaker.upbdefs.h +45 -0
  670. data/src/core/ext/upbdefs-gen/envoy/config/cluster/v3/cluster.upbdefs.c +574 -0
  671. data/src/core/ext/upbdefs-gen/envoy/config/cluster/v3/cluster.upbdefs.h +150 -0
  672. data/src/core/ext/upbdefs-gen/envoy/config/cluster/v3/filter.upbdefs.c +57 -0
  673. data/src/core/ext/upbdefs-gen/envoy/config/cluster/v3/filter.upbdefs.h +35 -0
  674. data/src/core/ext/upbdefs-gen/envoy/config/cluster/v3/outlier_detection.upbdefs.c +142 -0
  675. data/src/core/ext/upbdefs-gen/envoy/config/cluster/v3/outlier_detection.upbdefs.h +35 -0
  676. data/src/core/ext/upbdefs-gen/envoy/config/common/matcher/v3/matcher.upbdefs.c +201 -0
  677. data/src/core/ext/upbdefs-gen/envoy/config/common/matcher/v3/matcher.upbdefs.h +105 -0
  678. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/address.upbdefs.c +139 -0
  679. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/address.upbdefs.h +70 -0
  680. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/backoff.upbdefs.c +53 -0
  681. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/backoff.upbdefs.h +35 -0
  682. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/base.upbdefs.c +274 -0
  683. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/base.upbdefs.h +150 -0
  684. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/config_source.upbdefs.c +167 -0
  685. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/config_source.upbdefs.h +65 -0
  686. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/event_service_config.upbdefs.c +52 -0
  687. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/event_service_config.upbdefs.h +35 -0
  688. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/extension.upbdefs.c +46 -0
  689. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/extension.upbdefs.h +35 -0
  690. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/grpc_method_list.upbdefs.c +52 -0
  691. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/grpc_method_list.upbdefs.h +40 -0
  692. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/grpc_service.upbdefs.c +236 -0
  693. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/grpc_service.upbdefs.h +100 -0
  694. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/health_check.upbdefs.c +244 -0
  695. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/health_check.upbdefs.h +75 -0
  696. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/http_service.upbdefs.c +52 -0
  697. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/http_service.upbdefs.h +35 -0
  698. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/http_uri.upbdefs.c +53 -0
  699. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/http_uri.upbdefs.h +35 -0
  700. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/protocol.upbdefs.c +314 -0
  701. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/protocol.upbdefs.h +110 -0
  702. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/proxy_protocol.upbdefs.c +56 -0
  703. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/proxy_protocol.upbdefs.h +40 -0
  704. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/resolver.upbdefs.c +54 -0
  705. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/resolver.upbdefs.h +40 -0
  706. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/socket_option.upbdefs.c +60 -0
  707. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/socket_option.upbdefs.h +40 -0
  708. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/substitution_format_string.upbdefs.c +75 -0
  709. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/substitution_format_string.upbdefs.h +40 -0
  710. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/udp_socket_config.upbdefs.c +48 -0
  711. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/udp_socket_config.upbdefs.h +35 -0
  712. data/src/core/ext/upbdefs-gen/envoy/config/endpoint/v3/endpoint.upbdefs.c +101 -0
  713. data/src/core/ext/upbdefs-gen/envoy/config/endpoint/v3/endpoint.upbdefs.h +50 -0
  714. data/src/core/ext/upbdefs-gen/envoy/config/endpoint/v3/endpoint_components.upbdefs.c +139 -0
  715. data/src/core/ext/upbdefs-gen/envoy/config/endpoint/v3/endpoint_components.upbdefs.h +65 -0
  716. data/src/core/ext/upbdefs-gen/envoy/config/endpoint/v3/load_report.upbdefs.c +135 -0
  717. data/src/core/ext/upbdefs-gen/envoy/config/endpoint/v3/load_report.upbdefs.h +55 -0
  718. data/src/core/ext/upbdefs-gen/envoy/config/listener/v3/api_listener.upbdefs.c +47 -0
  719. data/src/core/ext/upbdefs-gen/envoy/config/listener/v3/api_listener.upbdefs.h +35 -0
  720. data/src/core/ext/upbdefs-gen/envoy/config/listener/v3/listener.upbdefs.c +231 -0
  721. data/src/core/ext/upbdefs-gen/envoy/config/listener/v3/listener.upbdefs.h +80 -0
  722. data/src/core/ext/upbdefs-gen/envoy/config/listener/v3/listener_components.upbdefs.c +189 -0
  723. data/src/core/ext/upbdefs-gen/envoy/config/listener/v3/listener_components.upbdefs.h +65 -0
  724. data/src/core/ext/upbdefs-gen/envoy/config/listener/v3/quic_config.upbdefs.c +100 -0
  725. data/src/core/ext/upbdefs-gen/envoy/config/listener/v3/quic_config.upbdefs.h +35 -0
  726. data/src/core/ext/upbdefs-gen/envoy/config/listener/v3/udp_listener_config.upbdefs.c +70 -0
  727. data/src/core/ext/upbdefs-gen/envoy/config/listener/v3/udp_listener_config.upbdefs.h +40 -0
  728. data/src/core/ext/upbdefs-gen/envoy/config/metrics/v3/metrics_service.upbdefs.c +75 -0
  729. data/src/core/ext/upbdefs-gen/envoy/config/metrics/v3/metrics_service.upbdefs.h +35 -0
  730. data/src/core/ext/upbdefs-gen/envoy/config/metrics/v3/stats.upbdefs.c +124 -0
  731. data/src/core/ext/upbdefs-gen/envoy/config/metrics/v3/stats.upbdefs.h +70 -0
  732. data/src/core/ext/upbdefs-gen/envoy/config/overload/v3/overload.upbdefs.c +141 -0
  733. data/src/core/ext/upbdefs-gen/envoy/config/overload/v3/overload.upbdefs.h +80 -0
  734. data/src/core/ext/upbdefs-gen/envoy/config/rbac/v3/rbac.upbdefs.c +222 -0
  735. data/src/core/ext/upbdefs-gen/envoy/config/rbac/v3/rbac.upbdefs.h +85 -0
  736. data/src/core/ext/upbdefs-gen/envoy/config/route/v3/route.upbdefs.c +125 -0
  737. data/src/core/ext/upbdefs-gen/envoy/config/route/v3/route.upbdefs.h +45 -0
  738. data/src/core/ext/upbdefs-gen/envoy/config/route/v3/route_components.upbdefs.c +984 -0
  739. data/src/core/ext/upbdefs-gen/envoy/config/route/v3/route_components.upbdefs.h +320 -0
  740. data/src/core/ext/upbdefs-gen/envoy/config/route/v3/scoped_route.upbdefs.c +76 -0
  741. data/src/core/ext/upbdefs-gen/envoy/config/route/v3/scoped_route.upbdefs.h +45 -0
  742. data/src/core/ext/upbdefs-gen/envoy/config/tap/v3/common.upbdefs.c +205 -0
  743. data/src/core/ext/upbdefs-gen/envoy/config/tap/v3/common.upbdefs.h +90 -0
  744. data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/datadog.upbdefs.c +55 -0
  745. data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/datadog.upbdefs.h +35 -0
  746. data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/dynamic_ot.upbdefs.c +60 -0
  747. data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/dynamic_ot.upbdefs.h +35 -0
  748. data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/http_tracer.upbdefs.c +56 -0
  749. data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/http_tracer.upbdefs.h +40 -0
  750. data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/lightstep.upbdefs.c +71 -0
  751. data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/lightstep.upbdefs.h +35 -0
  752. data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/opencensus.upbdefs.c +104 -0
  753. data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/opencensus.upbdefs.h +35 -0
  754. data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/opentelemetry.upbdefs.c +66 -0
  755. data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/opentelemetry.upbdefs.h +35 -0
  756. data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/service.upbdefs.c +51 -0
  757. data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/service.upbdefs.h +35 -0
  758. data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/skywalking.upbdefs.c +70 -0
  759. data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/skywalking.upbdefs.h +40 -0
  760. data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/trace.upbdefs.c +60 -0
  761. data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/trace.upbdefs.h +30 -0
  762. data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/xray.upbdefs.c +74 -0
  763. data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/xray.upbdefs.h +40 -0
  764. data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/zipkin.upbdefs.c +78 -0
  765. data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/zipkin.upbdefs.h +35 -0
  766. data/src/core/ext/upbdefs-gen/envoy/data/accesslog/v3/accesslog.upbdefs.c +404 -0
  767. data/src/core/ext/upbdefs-gen/envoy/data/accesslog/v3/accesslog.upbdefs.h +110 -0
  768. data/src/core/ext/upbdefs-gen/envoy/extensions/clusters/aggregate/v3/cluster.upbdefs.c +49 -0
  769. data/src/core/ext/upbdefs-gen/envoy/extensions/clusters/aggregate/v3/cluster.upbdefs.h +35 -0
  770. data/src/core/ext/upbdefs-gen/envoy/extensions/filters/common/fault/v3/fault.upbdefs.c +91 -0
  771. data/src/core/ext/upbdefs-gen/envoy/extensions/filters/common/fault/v3/fault.upbdefs.h +55 -0
  772. data/src/core/ext/upbdefs-gen/envoy/extensions/filters/http/fault/v3/fault.upbdefs.c +122 -0
  773. data/src/core/ext/upbdefs-gen/envoy/extensions/filters/http/fault/v3/fault.upbdefs.h +45 -0
  774. data/src/core/ext/upbdefs-gen/envoy/extensions/filters/http/rbac/v3/rbac.upbdefs.c +79 -0
  775. data/src/core/ext/upbdefs-gen/envoy/extensions/filters/http/rbac/v3/rbac.upbdefs.h +40 -0
  776. data/src/core/ext/upbdefs-gen/envoy/extensions/filters/http/router/v3/router.upbdefs.c +108 -0
  777. data/src/core/ext/upbdefs-gen/envoy/extensions/filters/http/router/v3/router.upbdefs.h +40 -0
  778. data/src/core/ext/upbdefs-gen/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upbdefs.c +60 -0
  779. data/src/core/ext/upbdefs-gen/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upbdefs.h +40 -0
  780. data/src/core/ext/upbdefs-gen/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upbdefs.c +605 -0
  781. data/src/core/ext/upbdefs-gen/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upbdefs.h +135 -0
  782. data/src/core/ext/upbdefs-gen/envoy/extensions/http/stateful_session/cookie/v3/cookie.upbdefs.c +49 -0
  783. data/src/core/ext/upbdefs-gen/envoy/extensions/http/stateful_session/cookie/v3/cookie.upbdefs.h +35 -0
  784. data/src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/cert.upbdefs.c +47 -0
  785. data/src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/cert.upbdefs.h +30 -0
  786. data/src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/common.upbdefs.c +216 -0
  787. data/src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/common.upbdefs.h +65 -0
  788. data/src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/secret.upbdefs.c +90 -0
  789. data/src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/secret.upbdefs.h +45 -0
  790. data/src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/tls.upbdefs.c +263 -0
  791. data/src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/tls.upbdefs.h +65 -0
  792. data/src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upbdefs.c +57 -0
  793. data/src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upbdefs.h +40 -0
  794. data/src/core/ext/upbdefs-gen/envoy/extensions/upstreams/http/v3/http_protocol_options.upbdefs.c +133 -0
  795. data/src/core/ext/upbdefs-gen/envoy/extensions/upstreams/http/v3/http_protocol_options.upbdefs.h +50 -0
  796. data/src/core/ext/upbdefs-gen/envoy/service/discovery/v3/ads.upbdefs.c +57 -0
  797. data/src/core/ext/upbdefs-gen/envoy/service/discovery/v3/ads.upbdefs.h +35 -0
  798. data/src/core/ext/upbdefs-gen/envoy/service/discovery/v3/discovery.upbdefs.c +199 -0
  799. data/src/core/ext/upbdefs-gen/envoy/service/discovery/v3/discovery.upbdefs.h +100 -0
  800. data/src/core/ext/upbdefs-gen/envoy/service/load_stats/v3/lrs.upbdefs.c +75 -0
  801. data/src/core/ext/upbdefs-gen/envoy/service/load_stats/v3/lrs.upbdefs.h +40 -0
  802. data/src/core/ext/upbdefs-gen/envoy/service/status/v3/csds.upbdefs.c +155 -0
  803. data/src/core/ext/upbdefs-gen/envoy/service/status/v3/csds.upbdefs.h +55 -0
  804. data/src/core/ext/upbdefs-gen/envoy/type/http/v3/cookie.upbdefs.c +45 -0
  805. data/src/core/ext/upbdefs-gen/envoy/type/http/v3/cookie.upbdefs.h +35 -0
  806. data/src/core/ext/upbdefs-gen/envoy/type/http/v3/path_transformation.upbdefs.c +55 -0
  807. data/src/core/ext/upbdefs-gen/envoy/type/http/v3/path_transformation.upbdefs.h +50 -0
  808. data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/filter_state.upbdefs.c +47 -0
  809. data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/filter_state.upbdefs.h +35 -0
  810. data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/http_inputs.upbdefs.c +54 -0
  811. data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/http_inputs.upbdefs.h +55 -0
  812. data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/metadata.upbdefs.c +60 -0
  813. data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/metadata.upbdefs.h +40 -0
  814. data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/node.upbdefs.c +53 -0
  815. data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/node.upbdefs.h +35 -0
  816. data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/number.upbdefs.c +51 -0
  817. data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/number.upbdefs.h +35 -0
  818. data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/path.upbdefs.c +50 -0
  819. data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/path.upbdefs.h +35 -0
  820. data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/regex.upbdefs.c +70 -0
  821. data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/regex.upbdefs.h +45 -0
  822. data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/status_code_input.upbdefs.c +39 -0
  823. data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/status_code_input.upbdefs.h +40 -0
  824. data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/string.upbdefs.c +64 -0
  825. data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/string.upbdefs.h +40 -0
  826. data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/struct.upbdefs.c +57 -0
  827. data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/struct.upbdefs.h +40 -0
  828. data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/value.upbdefs.c +81 -0
  829. data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/value.upbdefs.h +50 -0
  830. data/src/core/ext/upbdefs-gen/envoy/type/metadata/v3/metadata.upbdefs.c +77 -0
  831. data/src/core/ext/upbdefs-gen/envoy/type/metadata/v3/metadata.upbdefs.h +65 -0
  832. data/src/core/ext/upbdefs-gen/envoy/type/tracing/v3/custom_tag.upbdefs.c +84 -0
  833. data/src/core/ext/upbdefs-gen/envoy/type/tracing/v3/custom_tag.upbdefs.h +55 -0
  834. data/src/core/ext/upbdefs-gen/envoy/type/v3/hash_policy.upbdefs.c +52 -0
  835. data/src/core/ext/upbdefs-gen/envoy/type/v3/hash_policy.upbdefs.h +45 -0
  836. data/src/core/ext/upbdefs-gen/envoy/type/v3/http.upbdefs.c +35 -0
  837. data/src/core/ext/upbdefs-gen/envoy/type/v3/http.upbdefs.h +30 -0
  838. data/src/core/ext/upbdefs-gen/envoy/type/v3/http_status.upbdefs.c +93 -0
  839. data/src/core/ext/upbdefs-gen/envoy/type/v3/http_status.upbdefs.h +35 -0
  840. data/src/core/ext/upbdefs-gen/envoy/type/v3/percent.upbdefs.c +53 -0
  841. data/src/core/ext/upbdefs-gen/envoy/type/v3/percent.upbdefs.h +40 -0
  842. data/src/core/ext/upbdefs-gen/envoy/type/v3/range.upbdefs.c +47 -0
  843. data/src/core/ext/upbdefs-gen/envoy/type/v3/range.upbdefs.h +45 -0
  844. data/src/core/ext/upbdefs-gen/envoy/type/v3/ratelimit_strategy.upbdefs.c +68 -0
  845. data/src/core/ext/upbdefs-gen/envoy/type/v3/ratelimit_strategy.upbdefs.h +40 -0
  846. data/src/core/ext/upbdefs-gen/envoy/type/v3/ratelimit_unit.upbdefs.c +38 -0
  847. data/src/core/ext/upbdefs-gen/envoy/type/v3/ratelimit_unit.upbdefs.h +30 -0
  848. data/src/core/ext/upbdefs-gen/envoy/type/v3/semantic_version.upbdefs.c +43 -0
  849. data/src/core/ext/upbdefs-gen/envoy/type/v3/semantic_version.upbdefs.h +35 -0
  850. data/src/core/ext/upbdefs-gen/envoy/type/v3/token_bucket.upbdefs.c +56 -0
  851. data/src/core/ext/upbdefs-gen/envoy/type/v3/token_bucket.upbdefs.h +35 -0
  852. data/src/core/ext/upbdefs-gen/google/api/annotations.upbdefs.c +39 -0
  853. data/src/core/ext/upbdefs-gen/google/api/annotations.upbdefs.h +30 -0
  854. data/src/core/ext/upbdefs-gen/google/api/expr/v1alpha1/checked.upbdefs.c +153 -0
  855. data/src/core/ext/upbdefs-gen/google/api/expr/v1alpha1/checked.upbdefs.h +95 -0
  856. data/src/core/ext/upbdefs-gen/google/api/expr/v1alpha1/syntax.upbdefs.c +152 -0
  857. data/src/core/ext/upbdefs-gen/google/api/expr/v1alpha1/syntax.upbdefs.h +100 -0
  858. data/src/core/ext/upbdefs-gen/google/api/http.upbdefs.c +51 -0
  859. data/src/core/ext/upbdefs-gen/google/api/http.upbdefs.h +45 -0
  860. data/src/core/ext/upbdefs-gen/google/api/httpbody.upbdefs.c +38 -0
  861. data/src/core/ext/upbdefs-gen/google/api/httpbody.upbdefs.h +35 -0
  862. data/src/core/ext/upbdefs-gen/google/protobuf/any.upbdefs.c +33 -0
  863. data/src/core/ext/upbdefs-gen/google/protobuf/any.upbdefs.h +35 -0
  864. data/src/core/ext/upbdefs-gen/google/protobuf/descriptor.upbdefs.c +488 -0
  865. data/src/core/ext/upbdefs-gen/google/protobuf/descriptor.upbdefs.h +190 -0
  866. data/src/core/ext/upbdefs-gen/google/protobuf/duration.upbdefs.c +34 -0
  867. data/src/core/ext/upbdefs-gen/google/protobuf/duration.upbdefs.h +35 -0
  868. data/src/core/ext/upbdefs-gen/google/protobuf/empty.upbdefs.c +31 -0
  869. data/src/core/ext/upbdefs-gen/google/protobuf/empty.upbdefs.h +35 -0
  870. data/src/core/ext/upbdefs-gen/google/protobuf/struct.upbdefs.c +53 -0
  871. data/src/core/ext/upbdefs-gen/google/protobuf/struct.upbdefs.h +50 -0
  872. data/src/core/ext/upbdefs-gen/google/protobuf/timestamp.upbdefs.c +34 -0
  873. data/src/core/ext/upbdefs-gen/google/protobuf/timestamp.upbdefs.h +35 -0
  874. data/src/core/ext/upbdefs-gen/google/protobuf/wrappers.upbdefs.c +44 -0
  875. data/src/core/ext/upbdefs-gen/google/protobuf/wrappers.upbdefs.h +75 -0
  876. data/src/core/ext/upbdefs-gen/google/rpc/status.upbdefs.c +36 -0
  877. data/src/core/ext/upbdefs-gen/google/rpc/status.upbdefs.h +35 -0
  878. data/src/core/ext/upbdefs-gen/opencensus/proto/trace/v1/trace_config.upbdefs.c +66 -0
  879. data/src/core/ext/upbdefs-gen/opencensus/proto/trace/v1/trace_config.upbdefs.h +50 -0
  880. data/src/core/ext/upbdefs-gen/src/proto/grpc/lookup/v1/rls_config.upbdefs.c +98 -0
  881. data/src/core/ext/upbdefs-gen/src/proto/grpc/lookup/v1/rls_config.upbdefs.h +75 -0
  882. data/src/core/ext/upbdefs-gen/udpa/annotations/migrate.upbdefs.c +61 -0
  883. data/src/core/ext/upbdefs-gen/udpa/annotations/migrate.upbdefs.h +45 -0
  884. data/src/core/ext/upbdefs-gen/udpa/annotations/security.upbdefs.c +46 -0
  885. data/src/core/ext/upbdefs-gen/udpa/annotations/security.upbdefs.h +35 -0
  886. data/src/core/ext/upbdefs-gen/udpa/annotations/sensitive.upbdefs.c +33 -0
  887. data/src/core/ext/upbdefs-gen/udpa/annotations/sensitive.upbdefs.h +30 -0
  888. data/src/core/ext/upbdefs-gen/udpa/annotations/status.upbdefs.c +45 -0
  889. data/src/core/ext/upbdefs-gen/udpa/annotations/status.upbdefs.h +35 -0
  890. data/src/core/ext/upbdefs-gen/udpa/annotations/versioning.upbdefs.c +38 -0
  891. data/src/core/ext/upbdefs-gen/udpa/annotations/versioning.upbdefs.h +35 -0
  892. data/src/core/ext/upbdefs-gen/validate/validate.upbdefs.c +282 -0
  893. data/src/core/ext/upbdefs-gen/validate/validate.upbdefs.h +145 -0
  894. data/src/core/ext/upbdefs-gen/xds/annotations/v3/migrate.upbdefs.c +62 -0
  895. data/src/core/ext/upbdefs-gen/xds/annotations/v3/migrate.upbdefs.h +45 -0
  896. data/src/core/ext/upbdefs-gen/xds/annotations/v3/security.upbdefs.c +46 -0
  897. data/src/core/ext/upbdefs-gen/xds/annotations/v3/security.upbdefs.h +35 -0
  898. data/src/core/ext/upbdefs-gen/xds/annotations/v3/sensitive.upbdefs.c +34 -0
  899. data/src/core/ext/upbdefs-gen/xds/annotations/v3/sensitive.upbdefs.h +30 -0
  900. data/src/core/ext/upbdefs-gen/xds/annotations/v3/status.upbdefs.c +63 -0
  901. data/src/core/ext/upbdefs-gen/xds/annotations/v3/status.upbdefs.h +50 -0
  902. data/src/core/ext/upbdefs-gen/xds/annotations/v3/versioning.upbdefs.c +39 -0
  903. data/src/core/ext/upbdefs-gen/xds/annotations/v3/versioning.upbdefs.h +35 -0
  904. data/src/core/ext/upbdefs-gen/xds/core/v3/authority.upbdefs.c +37 -0
  905. data/src/core/ext/upbdefs-gen/xds/core/v3/authority.upbdefs.h +35 -0
  906. data/src/core/ext/upbdefs-gen/xds/core/v3/cidr.upbdefs.c +44 -0
  907. data/src/core/ext/upbdefs-gen/xds/core/v3/cidr.upbdefs.h +35 -0
  908. data/src/core/ext/upbdefs-gen/xds/core/v3/collection_entry.upbdefs.c +55 -0
  909. data/src/core/ext/upbdefs-gen/xds/core/v3/collection_entry.upbdefs.h +40 -0
  910. data/src/core/ext/upbdefs-gen/xds/core/v3/context_params.upbdefs.c +38 -0
  911. data/src/core/ext/upbdefs-gen/xds/core/v3/context_params.upbdefs.h +40 -0
  912. data/src/core/ext/upbdefs-gen/xds/core/v3/extension.upbdefs.c +40 -0
  913. data/src/core/ext/upbdefs-gen/xds/core/v3/extension.upbdefs.h +35 -0
  914. data/src/core/ext/upbdefs-gen/xds/core/v3/resource.upbdefs.c +44 -0
  915. data/src/core/ext/upbdefs-gen/xds/core/v3/resource.upbdefs.h +35 -0
  916. data/src/core/ext/upbdefs-gen/xds/core/v3/resource_locator.upbdefs.c +60 -0
  917. data/src/core/ext/upbdefs-gen/xds/core/v3/resource_locator.upbdefs.h +40 -0
  918. data/src/core/ext/upbdefs-gen/xds/core/v3/resource_name.upbdefs.c +45 -0
  919. data/src/core/ext/upbdefs-gen/xds/core/v3/resource_name.upbdefs.h +35 -0
  920. data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/cel.upbdefs.c +44 -0
  921. data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/cel.upbdefs.h +35 -0
  922. data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/domain.upbdefs.c +50 -0
  923. data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/domain.upbdefs.h +40 -0
  924. data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/http_inputs.upbdefs.c +35 -0
  925. data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/http_inputs.upbdefs.h +35 -0
  926. data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/ip.upbdefs.c +54 -0
  927. data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/ip.upbdefs.h +40 -0
  928. data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/matcher.upbdefs.c +125 -0
  929. data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/matcher.upbdefs.h +80 -0
  930. data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/range.upbdefs.c +70 -0
  931. data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/range.upbdefs.h +60 -0
  932. data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/regex.upbdefs.c +39 -0
  933. data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/regex.upbdefs.h +40 -0
  934. data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/string.upbdefs.c +51 -0
  935. data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/string.upbdefs.h +40 -0
  936. data/src/core/ext/upbdefs-gen/xds/type/v3/cel.upbdefs.c +59 -0
  937. data/src/core/ext/upbdefs-gen/xds/type/v3/cel.upbdefs.h +40 -0
  938. data/src/core/ext/upbdefs-gen/xds/type/v3/range.upbdefs.c +35 -0
  939. data/src/core/ext/upbdefs-gen/xds/type/v3/range.upbdefs.h +45 -0
  940. data/src/core/ext/upbdefs-gen/xds/type/v3/typed_struct.upbdefs.c +36 -0
  941. data/src/core/ext/upbdefs-gen/xds/type/v3/typed_struct.upbdefs.h +35 -0
  942. data/src/core/ext/xds/certificate_provider_store.cc +2 -1
  943. data/src/core/ext/xds/certificate_provider_store.h +0 -5
  944. data/src/core/ext/xds/file_watcher_certificate_provider_factory.cc +0 -1
  945. data/src/core/ext/xds/xds_api.cc +92 -167
  946. data/src/core/ext/xds/xds_api.h +4 -9
  947. data/src/core/ext/xds/xds_bootstrap.h +6 -4
  948. data/src/core/ext/xds/xds_bootstrap_grpc.cc +4 -16
  949. data/src/core/ext/xds/xds_bootstrap_grpc.h +2 -1
  950. data/src/core/ext/xds/xds_certificate_provider.cc +88 -287
  951. data/src/core/ext/xds/xds_certificate_provider.h +44 -111
  952. data/src/core/ext/xds/xds_channel_stack_modifier.cc +17 -28
  953. data/src/core/ext/xds/xds_channel_stack_modifier.h +3 -5
  954. data/src/core/ext/xds/xds_client.cc +531 -475
  955. data/src/core/ext/xds/xds_client.h +51 -37
  956. data/src/core/ext/xds/xds_client_grpc.cc +56 -16
  957. data/src/core/ext/xds/xds_client_grpc.h +4 -1
  958. data/src/core/ext/xds/xds_client_stats.cc +11 -11
  959. data/src/core/ext/xds/xds_client_stats.h +8 -14
  960. data/src/core/ext/xds/xds_cluster.cc +134 -53
  961. data/src/core/ext/xds/xds_cluster.h +12 -6
  962. data/src/core/ext/xds/xds_cluster_specifier_plugin.cc +9 -5
  963. data/src/core/ext/xds/xds_common_types.cc +14 -11
  964. data/src/core/ext/xds/xds_endpoint.cc +106 -67
  965. data/src/core/ext/xds/xds_endpoint.h +7 -4
  966. data/src/core/ext/xds/xds_health_status.cc +14 -2
  967. data/src/core/ext/xds/xds_health_status.h +5 -3
  968. data/src/core/ext/xds/xds_http_filters.cc +1 -5
  969. data/src/core/ext/xds/xds_http_rbac_filter.cc +5 -3
  970. data/src/core/ext/xds/xds_http_stateful_session_filter.cc +1 -4
  971. data/src/core/ext/xds/xds_lb_policy_registry.cc +1 -1
  972. data/src/core/ext/xds/xds_listener.cc +29 -25
  973. data/src/core/ext/xds/xds_listener.h +13 -3
  974. data/src/core/ext/xds/xds_resource_type.h +1 -7
  975. data/src/core/ext/xds/xds_resource_type_impl.h +11 -11
  976. data/src/core/ext/xds/xds_route_config.cc +45 -35
  977. data/src/core/ext/xds/xds_route_config.h +2 -1
  978. data/src/core/ext/xds/xds_server_config_fetcher.cc +112 -83
  979. data/src/core/ext/xds/xds_transport.h +3 -0
  980. data/src/core/ext/xds/xds_transport_grpc.cc +64 -56
  981. data/src/core/ext/xds/xds_transport_grpc.h +4 -0
  982. data/src/core/lib/address_utils/sockaddr_utils.cc +0 -1
  983. data/src/core/lib/avl/avl.h +1 -0
  984. data/src/core/lib/backoff/random_early_detection.cc +4 -2
  985. data/src/core/lib/backoff/random_early_detection.h +2 -4
  986. data/src/core/lib/channel/call_tracer.cc +27 -2
  987. data/src/core/lib/channel/call_tracer.h +28 -4
  988. data/src/core/lib/channel/channel_args.cc +24 -15
  989. data/src/core/lib/channel/channel_args.h +89 -14
  990. data/src/core/lib/channel/channel_args_preconditioning.cc +0 -1
  991. data/src/core/lib/channel/channel_stack.cc +36 -1
  992. data/src/core/lib/channel/channel_stack.h +10 -10
  993. data/src/core/lib/channel/channel_stack_builder.h +4 -15
  994. data/src/core/lib/channel/channel_stack_builder_impl.cc +1 -19
  995. data/src/core/lib/channel/channel_stack_trace.cc +19 -0
  996. data/src/core/lib/channel/channel_stack_trace.h +24 -0
  997. data/src/core/lib/channel/channel_trace.cc +1 -1
  998. data/src/core/lib/channel/channelz_registry.h +4 -2
  999. data/src/core/lib/channel/connected_channel.cc +152 -92
  1000. data/src/core/lib/channel/context.h +3 -0
  1001. data/src/core/lib/channel/promise_based_filter.cc +19 -10
  1002. data/src/core/lib/channel/promise_based_filter.h +1042 -3
  1003. data/src/core/lib/channel/server_call_tracer_filter.cc +43 -42
  1004. data/src/core/lib/channel/status_util.cc +0 -1
  1005. data/src/core/lib/channel/tcp_tracer.h +140 -0
  1006. data/src/core/lib/compression/compression_internal.cc +2 -3
  1007. data/src/core/lib/config/config_vars.cc +0 -1
  1008. data/src/core/lib/config/config_vars.h +1 -1
  1009. data/src/core/lib/config/config_vars_non_generated.cc +0 -2
  1010. data/src/core/lib/config/core_configuration.cc +2 -2
  1011. data/src/core/lib/config/core_configuration.h +8 -7
  1012. data/src/core/lib/debug/stats_data.cc +146 -51
  1013. data/src/core/lib/debug/stats_data.h +81 -20
  1014. data/src/core/lib/event_engine/ares_resolver.cc +172 -90
  1015. data/src/core/lib/event_engine/ares_resolver.h +13 -12
  1016. data/src/core/lib/event_engine/cf_engine/cf_engine.cc +3 -0
  1017. data/src/core/lib/event_engine/cf_engine/cf_engine.h +3 -0
  1018. data/src/core/lib/event_engine/cf_engine/cfstream_endpoint.cc +7 -0
  1019. data/src/core/lib/event_engine/cf_engine/cfstream_endpoint.h +3 -0
  1020. data/src/core/lib/event_engine/cf_engine/cftype_unique_ref.h +3 -0
  1021. data/src/core/lib/event_engine/cf_engine/dns_service_resolver.cc +24 -4
  1022. data/src/core/lib/event_engine/cf_engine/dns_service_resolver.h +3 -0
  1023. data/src/core/lib/event_engine/channel_args_endpoint_config.cc +2 -0
  1024. data/src/core/lib/event_engine/event_engine.cc +0 -2
  1025. data/src/core/lib/event_engine/extensions/can_track_errors.h +40 -0
  1026. data/src/core/lib/event_engine/extensions/supports_fd.h +160 -0
  1027. data/src/core/lib/event_engine/forkable.cc +40 -57
  1028. data/src/core/lib/event_engine/forkable.h +33 -27
  1029. data/src/core/lib/event_engine/grpc_polled_fd.h +23 -4
  1030. data/src/core/lib/event_engine/nameser.h +102 -0
  1031. data/src/core/lib/event_engine/posix.h +11 -122
  1032. data/src/core/lib/event_engine/posix_engine/ev_epoll1_linux.cc +6 -8
  1033. data/src/core/lib/event_engine/posix_engine/ev_epoll1_linux.h +2 -3
  1034. data/src/core/lib/event_engine/posix_engine/ev_poll_posix.cc +11 -16
  1035. data/src/core/lib/event_engine/posix_engine/ev_poll_posix.h +4 -11
  1036. data/src/core/lib/event_engine/posix_engine/event_poller.h +3 -1
  1037. data/src/core/lib/event_engine/posix_engine/event_poller_posix_default.cc +23 -4
  1038. data/src/core/lib/event_engine/posix_engine/event_poller_posix_default.h +3 -1
  1039. data/src/core/lib/event_engine/posix_engine/grpc_polled_fd_posix.h +12 -4
  1040. data/src/core/lib/event_engine/posix_engine/internal_errqueue.cc +0 -2
  1041. data/src/core/lib/event_engine/posix_engine/native_posix_dns_resolver.cc +132 -0
  1042. data/src/core/lib/event_engine/posix_engine/native_posix_dns_resolver.h +57 -0
  1043. data/src/core/lib/event_engine/posix_engine/posix_endpoint.cc +32 -9
  1044. data/src/core/lib/event_engine/posix_engine/posix_endpoint.h +1 -1
  1045. data/src/core/lib/event_engine/posix_engine/posix_engine.cc +89 -51
  1046. data/src/core/lib/event_engine/posix_engine/posix_engine.h +25 -27
  1047. data/src/core/lib/event_engine/posix_engine/posix_engine_listener.cc +14 -6
  1048. data/src/core/lib/event_engine/posix_engine/posix_engine_listener_utils.cc +21 -3
  1049. data/src/core/lib/event_engine/posix_engine/tcp_socket_utils.cc +10 -5
  1050. data/src/core/lib/event_engine/posix_engine/tcp_socket_utils.h +7 -0
  1051. data/src/core/lib/event_engine/posix_engine/timer_manager.cc +17 -27
  1052. data/src/core/lib/event_engine/posix_engine/timer_manager.h +0 -3
  1053. data/src/core/lib/event_engine/posix_engine/wakeup_fd_eventfd.cc +0 -1
  1054. data/src/core/lib/event_engine/posix_engine/wakeup_fd_pipe.cc +0 -1
  1055. data/src/core/lib/event_engine/query_extensions.h +85 -0
  1056. data/src/core/lib/event_engine/ref_counted_dns_resolver_interface.h +55 -0
  1057. data/src/core/lib/event_engine/shim.cc +5 -17
  1058. data/src/core/lib/event_engine/shim.h +0 -2
  1059. data/src/core/lib/event_engine/slice_buffer.cc +0 -1
  1060. data/src/core/lib/event_engine/tcp_socket_utils.cc +0 -1
  1061. data/src/core/lib/event_engine/thread_pool/thread_count.cc +28 -7
  1062. data/src/core/lib/event_engine/thread_pool/thread_count.h +21 -1
  1063. data/src/core/lib/event_engine/thread_pool/thread_pool_factory.cc +19 -17
  1064. data/src/core/lib/event_engine/thread_pool/work_stealing_thread_pool.cc +126 -12
  1065. data/src/core/lib/event_engine/thread_pool/work_stealing_thread_pool.h +9 -0
  1066. data/src/core/lib/event_engine/utils.cc +2 -1
  1067. data/src/core/lib/event_engine/windows/grpc_polled_fd_windows.cc +824 -0
  1068. data/src/core/lib/event_engine/windows/grpc_polled_fd_windows.h +75 -0
  1069. data/src/core/lib/event_engine/windows/native_windows_dns_resolver.cc +115 -0
  1070. data/src/core/lib/event_engine/windows/native_windows_dns_resolver.h +51 -0
  1071. data/src/core/lib/event_engine/windows/win_socket.cc +20 -13
  1072. data/src/core/lib/event_engine/windows/win_socket.h +19 -7
  1073. data/src/core/lib/event_engine/windows/windows_endpoint.cc +32 -33
  1074. data/src/core/lib/event_engine/windows/windows_endpoint.h +1 -1
  1075. data/src/core/lib/event_engine/windows/windows_engine.cc +83 -38
  1076. data/src/core/lib/event_engine/windows/windows_engine.h +16 -2
  1077. data/src/core/lib/event_engine/windows/windows_listener.cc +2 -3
  1078. data/src/core/lib/event_engine/work_queue/basic_work_queue.cc +2 -0
  1079. data/src/core/lib/event_engine/work_queue/basic_work_queue.h +4 -1
  1080. data/src/core/lib/event_engine/work_queue/work_queue.h +4 -0
  1081. data/src/core/lib/experiments/config.cc +32 -3
  1082. data/src/core/lib/experiments/config.h +9 -0
  1083. data/src/core/lib/experiments/experiments.cc +759 -183
  1084. data/src/core/lib/experiments/experiments.h +329 -89
  1085. data/src/core/lib/gpr/alloc.cc +1 -0
  1086. data/src/core/lib/gpr/posix/sync.cc +2 -2
  1087. data/src/core/lib/gpr/posix/time.cc +0 -5
  1088. data/src/core/lib/gpr/windows/sync.cc +2 -2
  1089. data/src/core/lib/gprpp/debug_location.h +15 -0
  1090. data/src/core/lib/gprpp/directory_reader.h +48 -0
  1091. data/src/core/lib/gprpp/down_cast.h +49 -0
  1092. data/src/core/lib/gprpp/dual_ref_counted.h +36 -7
  1093. data/src/core/lib/gprpp/fork.h +1 -1
  1094. data/src/core/lib/gprpp/host_port.cc +0 -2
  1095. data/src/core/lib/gprpp/linux/env.cc +1 -19
  1096. data/src/core/lib/gprpp/load_file.cc +2 -1
  1097. data/src/core/lib/gprpp/load_file.h +2 -1
  1098. data/src/core/lib/gprpp/manual_constructor.h +1 -2
  1099. data/src/core/lib/gprpp/match.h +1 -1
  1100. data/src/core/lib/gprpp/no_destruct.h +1 -1
  1101. data/src/core/lib/gprpp/orphanable.h +27 -0
  1102. data/src/core/lib/gprpp/per_cpu.cc +2 -0
  1103. data/src/core/lib/gprpp/per_cpu.h +36 -7
  1104. data/src/core/lib/gprpp/posix/directory_reader.cc +82 -0
  1105. data/src/core/lib/gprpp/posix/stat.cc +0 -1
  1106. data/src/core/lib/gprpp/posix/thd.cc +27 -2
  1107. data/src/core/lib/gprpp/ref_counted.h +63 -22
  1108. data/src/core/lib/gprpp/ref_counted_ptr.h +133 -27
  1109. data/src/core/lib/gprpp/ref_counted_string.h +15 -0
  1110. data/src/core/lib/gprpp/status_helper.cc +1 -3
  1111. data/src/core/lib/gprpp/strerror.cc +0 -2
  1112. data/src/core/lib/gprpp/thd.h +8 -0
  1113. data/src/core/lib/gprpp/time.cc +0 -1
  1114. data/src/core/lib/gprpp/time.h +4 -3
  1115. data/src/core/lib/gprpp/validation_errors.cc +0 -1
  1116. data/src/core/lib/gprpp/windows/directory_reader.cc +81 -0
  1117. data/src/core/lib/gprpp/windows/thd.cc +10 -1
  1118. data/src/core/lib/gprpp/work_serializer.cc +300 -25
  1119. data/src/core/lib/gprpp/work_serializer.h +25 -9
  1120. data/src/core/lib/gprpp/xxhash_inline.h +29 -0
  1121. data/src/core/lib/http/format_request.cc +0 -1
  1122. data/src/core/lib/http/httpcli.cc +0 -2
  1123. data/src/core/lib/iomgr/combiner.cc +25 -19
  1124. data/src/core/lib/iomgr/combiner.h +8 -3
  1125. data/src/core/lib/iomgr/event_engine_shims/endpoint.cc +55 -18
  1126. data/src/core/lib/iomgr/event_engine_shims/endpoint.h +16 -0
  1127. data/src/core/lib/iomgr/event_engine_shims/tcp_client.cc +3 -2
  1128. data/src/core/lib/iomgr/exec_ctx.cc +12 -0
  1129. data/src/core/lib/iomgr/exec_ctx.h +55 -19
  1130. data/src/core/lib/iomgr/grpc_if_nametoindex_posix.cc +2 -2
  1131. data/src/core/lib/iomgr/grpc_if_nametoindex_unsupported.cc +2 -2
  1132. data/src/core/lib/iomgr/polling_entity.cc +10 -0
  1133. data/src/core/lib/iomgr/polling_entity.h +2 -0
  1134. data/src/core/lib/iomgr/port.h +14 -0
  1135. data/src/core/lib/iomgr/socket_utils_common_posix.cc +13 -0
  1136. data/src/core/lib/iomgr/tcp_client_posix.cc +4 -3
  1137. data/src/core/lib/iomgr/tcp_posix.cc +24 -15
  1138. data/src/core/lib/iomgr/tcp_server_posix.cc +65 -50
  1139. data/src/core/lib/iomgr/tcp_server_utils_posix_ifaddrs.cc +12 -0
  1140. data/src/core/lib/iomgr/timer_manager.cc +7 -1
  1141. data/src/core/lib/iomgr/timer_manager.h +2 -0
  1142. data/src/core/lib/json/json_object_loader.h +0 -1
  1143. data/src/core/lib/json/json_reader.cc +0 -1
  1144. data/src/core/lib/json/json_writer.cc +1 -1
  1145. data/src/core/lib/matchers/matchers.cc +0 -1
  1146. data/src/core/lib/promise/activity.cc +17 -3
  1147. data/src/core/lib/promise/activity.h +13 -6
  1148. data/src/core/lib/promise/all_ok.h +80 -0
  1149. data/src/core/lib/promise/arena_promise.h +5 -1
  1150. data/src/core/lib/promise/cancel_callback.h +0 -2
  1151. data/src/core/lib/promise/context.h +45 -8
  1152. data/src/core/lib/promise/detail/join_state.h +2077 -0
  1153. data/src/core/lib/promise/detail/promise_like.h +8 -1
  1154. data/src/core/lib/promise/detail/seq_state.h +3751 -26
  1155. data/src/core/lib/promise/detail/status.h +42 -5
  1156. data/src/core/lib/promise/for_each.h +13 -6
  1157. data/src/core/lib/promise/if.h +4 -1
  1158. data/src/core/lib/promise/interceptor_list.h +13 -6
  1159. data/src/core/lib/promise/latch.h +10 -8
  1160. data/src/core/lib/promise/loop.h +9 -6
  1161. data/src/core/lib/promise/map.h +0 -1
  1162. data/src/core/lib/promise/party.cc +45 -33
  1163. data/src/core/lib/promise/party.h +176 -10
  1164. data/src/core/lib/promise/pipe.h +30 -34
  1165. data/src/core/lib/promise/poll.h +43 -19
  1166. data/src/core/lib/promise/prioritized_race.h +0 -1
  1167. data/src/core/lib/promise/promise.h +4 -1
  1168. data/src/core/lib/promise/race.h +0 -1
  1169. data/src/core/lib/promise/seq.h +107 -8
  1170. data/src/core/lib/promise/sleep.cc +1 -1
  1171. data/src/core/lib/promise/status_flag.h +226 -0
  1172. data/src/core/lib/promise/try_join.h +132 -0
  1173. data/src/core/lib/promise/try_seq.h +132 -10
  1174. data/src/core/lib/resource_quota/arena.h +2 -2
  1175. data/src/core/lib/resource_quota/memory_quota.cc +132 -24
  1176. data/src/core/lib/resource_quota/memory_quota.h +12 -12
  1177. data/src/core/lib/security/authorization/audit_logging.cc +0 -1
  1178. data/src/core/lib/security/authorization/grpc_server_authz_filter.cc +15 -12
  1179. data/src/core/lib/security/authorization/grpc_server_authz_filter.h +14 -5
  1180. data/src/core/lib/security/authorization/matchers.cc +0 -1
  1181. data/src/core/lib/security/authorization/rbac_policy.cc +0 -2
  1182. data/src/core/lib/security/authorization/stdout_logger.cc +0 -1
  1183. data/src/core/lib/security/credentials/alts/alts_credentials.cc +0 -2
  1184. data/src/core/lib/security/credentials/composite/composite_credentials.cc +1 -1
  1185. data/src/core/lib/security/credentials/composite/composite_credentials.h +1 -1
  1186. data/src/core/lib/security/credentials/external/aws_external_account_credentials.cc +4 -1
  1187. data/src/core/lib/security/credentials/external/aws_external_account_credentials.h +4 -0
  1188. data/src/core/lib/security/credentials/external/aws_request_signer.cc +0 -2
  1189. data/src/core/lib/security/credentials/external/external_account_credentials.cc +28 -22
  1190. data/src/core/lib/security/credentials/external/external_account_credentials.h +4 -0
  1191. data/src/core/lib/security/credentials/external/file_external_account_credentials.cc +9 -11
  1192. data/src/core/lib/security/credentials/external/file_external_account_credentials.h +4 -0
  1193. data/src/core/lib/security/credentials/external/url_external_account_credentials.cc +5 -3
  1194. data/src/core/lib/security/credentials/external/url_external_account_credentials.h +4 -0
  1195. data/src/core/lib/security/credentials/google_default/google_default_credentials.cc +11 -11
  1196. data/src/core/lib/security/credentials/iam/iam_credentials.cc +0 -1
  1197. data/src/core/lib/security/credentials/insecure/insecure_credentials.cc +0 -2
  1198. data/src/core/lib/security/credentials/jwt/jwt_credentials.h +0 -1
  1199. data/src/core/lib/security/credentials/jwt/jwt_verifier.cc +1 -2
  1200. data/src/core/lib/security/credentials/local/local_credentials.cc +0 -2
  1201. data/src/core/lib/security/credentials/oauth2/oauth2_credentials.cc +9 -7
  1202. data/src/core/lib/security/credentials/oauth2/oauth2_credentials.h +0 -1
  1203. data/src/core/lib/security/credentials/plugin/plugin_credentials.cc +2 -2
  1204. data/src/core/lib/security/credentials/plugin/plugin_credentials.h +1 -1
  1205. data/src/core/lib/security/credentials/ssl/ssl_credentials.cc +115 -10
  1206. data/src/core/lib/security/credentials/ssl/ssl_credentials.h +14 -0
  1207. data/src/core/lib/security/credentials/tls/grpc_tls_certificate_distributor.cc +0 -2
  1208. data/src/core/lib/security/credentials/tls/grpc_tls_certificate_match.cc +86 -0
  1209. data/src/core/lib/security/credentials/tls/grpc_tls_certificate_provider.cc +16 -83
  1210. data/src/core/lib/security/credentials/tls/grpc_tls_certificate_provider.h +0 -3
  1211. data/src/core/lib/security/credentials/tls/grpc_tls_certificate_verifier.h +2 -0
  1212. data/src/core/lib/security/credentials/tls/grpc_tls_credentials_options.cc +33 -0
  1213. data/src/core/lib/security/credentials/tls/grpc_tls_credentials_options.h +23 -0
  1214. data/src/core/lib/security/credentials/tls/grpc_tls_crl_provider.cc +255 -0
  1215. data/src/core/lib/security/credentials/tls/grpc_tls_crl_provider.h +129 -0
  1216. data/src/core/lib/security/credentials/tls/tls_credentials.cc +25 -1
  1217. data/src/core/lib/security/credentials/tls/tls_utils.cc +2 -0
  1218. data/src/core/lib/security/credentials/xds/xds_credentials.cc +22 -30
  1219. data/src/core/lib/security/credentials/xds/xds_credentials.h +2 -4
  1220. data/src/core/lib/security/security_connector/fake/fake_security_connector.cc +1 -2
  1221. data/src/core/lib/security/security_connector/load_system_roots_supported.cc +3 -7
  1222. data/src/core/lib/security/security_connector/local/local_security_connector.cc +1 -1
  1223. data/src/core/lib/security/security_connector/ssl/ssl_security_connector.cc +7 -59
  1224. data/src/core/lib/security/security_connector/ssl/ssl_security_connector.h +1 -1
  1225. data/src/core/lib/security/security_connector/ssl_utils.cc +34 -19
  1226. data/src/core/lib/security/security_connector/ssl_utils.h +4 -0
  1227. data/src/core/lib/security/security_connector/tls/tls_security_connector.cc +9 -20
  1228. data/src/core/lib/security/security_connector/tls/tls_security_connector.h +2 -2
  1229. data/src/core/lib/security/transport/auth_filters.h +71 -4
  1230. data/src/core/lib/security/transport/client_auth_filter.cc +2 -5
  1231. data/src/core/lib/security/transport/legacy_server_auth_filter.cc +244 -0
  1232. data/src/core/lib/security/transport/secure_endpoint.cc +3 -6
  1233. data/src/core/lib/security/transport/security_handshaker.cc +1 -11
  1234. data/src/core/lib/security/transport/security_handshaker.h +0 -6
  1235. data/src/core/lib/security/transport/server_auth_filter.cc +70 -94
  1236. data/src/core/lib/slice/slice.h +11 -0
  1237. data/src/core/lib/slice/slice_buffer.cc +15 -0
  1238. data/src/core/lib/slice/slice_buffer.h +22 -5
  1239. data/src/core/lib/slice/slice_refcount.h +1 -1
  1240. data/src/core/lib/surface/builtins.cc +6 -25
  1241. data/src/core/lib/surface/call.cc +907 -242
  1242. data/src/core/lib/surface/call.h +30 -13
  1243. data/src/core/lib/surface/call_log_batch.cc +0 -2
  1244. data/src/core/lib/surface/call_trace.cc +46 -6
  1245. data/src/core/lib/surface/channel.cc +25 -33
  1246. data/src/core/lib/surface/channel.h +6 -28
  1247. data/src/core/lib/surface/channel_init.cc +441 -14
  1248. data/src/core/lib/surface/channel_init.h +274 -27
  1249. data/src/core/lib/surface/completion_queue.cc +0 -7
  1250. data/src/core/lib/surface/event_string.cc +0 -1
  1251. data/src/core/lib/surface/init.cc +21 -48
  1252. data/src/core/lib/surface/lame_client.cc +8 -1
  1253. data/src/core/lib/surface/server.cc +465 -252
  1254. data/src/core/lib/surface/server.h +67 -29
  1255. data/src/core/lib/surface/version.cc +2 -2
  1256. data/src/core/lib/surface/wait_for_cq_end_op.cc +75 -0
  1257. data/src/core/lib/surface/wait_for_cq_end_op.h +72 -0
  1258. data/src/core/lib/transport/batch_builder.cc +9 -12
  1259. data/src/core/lib/transport/batch_builder.h +2 -4
  1260. data/src/core/lib/transport/bdp_estimator.cc +2 -2
  1261. data/src/core/lib/transport/bdp_estimator.h +2 -2
  1262. data/src/core/lib/transport/call_factory.cc +41 -0
  1263. data/src/core/lib/transport/call_factory.h +56 -0
  1264. data/src/core/lib/transport/call_filters.cc +371 -0
  1265. data/src/core/lib/transport/call_filters.h +1500 -0
  1266. data/src/core/lib/transport/call_final_info.cc +38 -0
  1267. data/src/core/lib/transport/call_final_info.h +54 -0
  1268. data/src/core/lib/transport/call_size_estimator.cc +41 -0
  1269. data/src/core/lib/transport/call_size_estimator.h +52 -0
  1270. data/src/core/lib/transport/call_spine.cc +107 -0
  1271. data/src/core/lib/transport/call_spine.h +429 -0
  1272. data/src/core/lib/transport/connectivity_state.cc +3 -4
  1273. data/src/core/lib/transport/connectivity_state.h +4 -0
  1274. data/src/core/lib/transport/error_utils.cc +0 -2
  1275. data/src/core/lib/transport/handshaker.cc +0 -10
  1276. data/src/core/lib/transport/handshaker.h +0 -7
  1277. data/src/core/lib/transport/message.cc +45 -0
  1278. data/src/core/lib/transport/message.h +61 -0
  1279. data/src/core/lib/transport/metadata.cc +37 -0
  1280. data/src/core/lib/transport/metadata.h +78 -0
  1281. data/src/core/lib/transport/metadata_batch.cc +9 -2
  1282. data/src/core/lib/transport/metadata_batch.h +39 -5
  1283. data/src/core/lib/transport/parsed_metadata.h +2 -4
  1284. data/src/core/lib/transport/simple_slice_based_metadata.h +1 -2
  1285. data/src/core/lib/transport/tcp_connect_handshaker.cc +0 -1
  1286. data/src/core/lib/transport/timeout_encoding.h +2 -2
  1287. data/src/core/lib/transport/transport.cc +13 -105
  1288. data/src/core/lib/transport/transport.h +132 -168
  1289. data/src/core/lib/transport/transport_fwd.h +3 -1
  1290. data/src/core/lib/transport/transport_op_string.cc +0 -2
  1291. data/src/core/lib/uri/uri_parser.cc +0 -1
  1292. data/src/core/load_balancing/address_filtering.cc +108 -0
  1293. data/src/core/load_balancing/address_filtering.h +118 -0
  1294. data/src/core/load_balancing/backend_metric_data.h +57 -0
  1295. data/src/core/load_balancing/child_policy_handler.cc +317 -0
  1296. data/src/core/load_balancing/child_policy_handler.h +88 -0
  1297. data/src/core/load_balancing/delegating_helper.h +116 -0
  1298. data/src/core/load_balancing/endpoint_list.cc +187 -0
  1299. data/src/core/load_balancing/endpoint_list.h +220 -0
  1300. data/src/core/load_balancing/grpclb/client_load_reporting_filter.cc +83 -0
  1301. data/src/core/load_balancing/grpclb/client_load_reporting_filter.h +46 -0
  1302. data/src/core/load_balancing/grpclb/grpclb.cc +1935 -0
  1303. data/src/core/load_balancing/grpclb/grpclb.h +39 -0
  1304. data/src/core/load_balancing/grpclb/grpclb_balancer_addresses.cc +89 -0
  1305. data/src/core/load_balancing/grpclb/grpclb_balancer_addresses.h +39 -0
  1306. data/src/core/load_balancing/grpclb/grpclb_client_stats.cc +90 -0
  1307. data/src/core/load_balancing/grpclb/grpclb_client_stats.h +81 -0
  1308. data/src/core/load_balancing/grpclb/load_balancer_api.cc +202 -0
  1309. data/src/core/load_balancing/grpclb/load_balancer_api.h +77 -0
  1310. data/src/core/load_balancing/health_check_client.cc +520 -0
  1311. data/src/core/load_balancing/health_check_client.h +52 -0
  1312. data/src/core/load_balancing/health_check_client_internal.h +204 -0
  1313. data/src/core/load_balancing/lb_policy.cc +98 -0
  1314. data/src/core/load_balancing/lb_policy.h +481 -0
  1315. data/src/core/load_balancing/lb_policy_factory.h +49 -0
  1316. data/src/core/load_balancing/lb_policy_registry.cc +142 -0
  1317. data/src/core/load_balancing/lb_policy_registry.h +82 -0
  1318. data/src/core/load_balancing/oob_backend_metric.cc +340 -0
  1319. data/src/core/load_balancing/oob_backend_metric.h +57 -0
  1320. data/src/core/load_balancing/oob_backend_metric_internal.h +119 -0
  1321. data/src/core/load_balancing/outlier_detection/outlier_detection.cc +1208 -0
  1322. data/src/core/load_balancing/outlier_detection/outlier_detection.h +94 -0
  1323. data/src/core/load_balancing/pick_first/pick_first.cc +1232 -0
  1324. data/src/core/load_balancing/pick_first/pick_first.h +36 -0
  1325. data/src/core/load_balancing/priority/priority.cc +900 -0
  1326. data/src/core/load_balancing/ring_hash/ring_hash.cc +878 -0
  1327. data/src/core/load_balancing/ring_hash/ring_hash.h +62 -0
  1328. data/src/core/load_balancing/rls/rls.cc +2477 -0
  1329. data/src/core/load_balancing/round_robin/round_robin.cc +916 -0
  1330. data/src/core/load_balancing/subchannel_interface.h +141 -0
  1331. data/src/core/load_balancing/subchannel_list.h +455 -0
  1332. data/src/core/load_balancing/weighted_round_robin/static_stride_scheduler.cc +198 -0
  1333. data/src/core/load_balancing/weighted_round_robin/static_stride_scheduler.h +71 -0
  1334. data/src/core/load_balancing/weighted_round_robin/weighted_round_robin.cc +1819 -0
  1335. data/src/core/load_balancing/weighted_target/weighted_target.cc +755 -0
  1336. data/src/core/load_balancing/xds/cds.cc +757 -0
  1337. data/src/core/load_balancing/xds/xds_channel_args.h +37 -0
  1338. data/src/core/load_balancing/xds/xds_cluster_impl.cc +863 -0
  1339. data/src/core/load_balancing/xds/xds_cluster_manager.cc +652 -0
  1340. data/src/core/load_balancing/xds/xds_override_host.cc +1313 -0
  1341. data/src/core/load_balancing/xds/xds_override_host.h +63 -0
  1342. data/src/core/load_balancing/xds/xds_wrr_locality.cc +300 -0
  1343. data/src/core/plugin_registry/grpc_plugin_registry.cc +5 -0
  1344. data/src/core/plugin_registry/grpc_plugin_registry_extra.cc +0 -3
  1345. data/src/core/resolver/binder/binder_resolver.cc +147 -0
  1346. data/src/core/resolver/dns/c_ares/dns_resolver_ares.cc +758 -0
  1347. data/src/core/resolver/dns/c_ares/dns_resolver_ares.h +30 -0
  1348. data/src/core/resolver/dns/c_ares/grpc_ares_ev_driver.h +90 -0
  1349. data/src/core/resolver/dns/c_ares/grpc_ares_ev_driver_posix.cc +206 -0
  1350. data/src/core/resolver/dns/c_ares/grpc_ares_ev_driver_windows.cc +818 -0
  1351. data/src/core/resolver/dns/c_ares/grpc_ares_wrapper.cc +1219 -0
  1352. data/src/core/resolver/dns/c_ares/grpc_ares_wrapper.h +140 -0
  1353. data/src/core/resolver/dns/c_ares/grpc_ares_wrapper_posix.cc +29 -0
  1354. data/src/core/resolver/dns/c_ares/grpc_ares_wrapper_windows.cc +35 -0
  1355. data/src/core/resolver/dns/dns_resolver_plugin.cc +68 -0
  1356. data/src/core/resolver/dns/dns_resolver_plugin.h +27 -0
  1357. data/src/core/resolver/dns/event_engine/event_engine_client_channel_resolver.cc +588 -0
  1358. data/src/core/resolver/dns/event_engine/event_engine_client_channel_resolver.h +35 -0
  1359. data/src/core/resolver/dns/event_engine/service_config_helper.cc +97 -0
  1360. data/src/core/resolver/dns/event_engine/service_config_helper.h +32 -0
  1361. data/src/core/resolver/dns/native/dns_resolver.cc +183 -0
  1362. data/src/core/resolver/dns/native/dns_resolver.h +24 -0
  1363. data/src/core/resolver/endpoint_addresses.cc +147 -0
  1364. data/src/core/resolver/endpoint_addresses.h +164 -0
  1365. data/src/core/resolver/fake/fake_resolver.cc +255 -0
  1366. data/src/core/resolver/fake/fake_resolver.h +129 -0
  1367. data/src/core/resolver/google_c2p/google_c2p_resolver.cc +326 -0
  1368. data/src/core/resolver/polling_resolver.cc +272 -0
  1369. data/src/core/resolver/polling_resolver.h +121 -0
  1370. data/src/core/resolver/resolver.cc +37 -0
  1371. data/src/core/resolver/resolver.h +139 -0
  1372. data/src/core/resolver/resolver_factory.h +78 -0
  1373. data/src/core/resolver/resolver_registry.cc +162 -0
  1374. data/src/core/resolver/resolver_registry.h +123 -0
  1375. data/src/core/resolver/server_address.h +35 -0
  1376. data/src/core/resolver/sockaddr/sockaddr_resolver.cc +202 -0
  1377. data/src/core/resolver/xds/xds_dependency_manager.cc +1031 -0
  1378. data/src/core/resolver/xds/xds_dependency_manager.h +277 -0
  1379. data/src/core/resolver/xds/xds_resolver.cc +1135 -0
  1380. data/src/core/resolver/xds/xds_resolver_attributes.h +62 -0
  1381. data/src/core/resolver/xds/xds_resolver_trace.cc +25 -0
  1382. data/src/core/resolver/xds/xds_resolver_trace.h +30 -0
  1383. data/src/core/service_config/service_config.h +89 -0
  1384. data/src/core/service_config/service_config_call_data.h +116 -0
  1385. data/src/core/service_config/service_config_impl.cc +198 -0
  1386. data/src/core/service_config/service_config_impl.h +125 -0
  1387. data/src/core/service_config/service_config_parser.cc +81 -0
  1388. data/src/core/service_config/service_config_parser.h +105 -0
  1389. data/src/core/tsi/alts/crypt/aes_gcm.cc +137 -109
  1390. data/src/core/tsi/alts/crypt/gsec.h +387 -319
  1391. data/src/core/tsi/alts/frame_protector/alts_frame_protector.cc +11 -7
  1392. data/src/core/tsi/alts/handshaker/alts_handshaker_client.cc +1 -1
  1393. data/src/core/tsi/alts/handshaker/alts_tsi_handshaker.cc +5 -7
  1394. data/src/core/tsi/alts/handshaker/transport_security_common_api.cc +1 -1
  1395. data/src/core/tsi/alts/zero_copy_frame_protector/alts_zero_copy_grpc_protector.cc +12 -12
  1396. data/src/core/tsi/alts/zero_copy_frame_protector/alts_zero_copy_grpc_protector.h +26 -25
  1397. data/src/core/tsi/fake_transport_security.cc +1 -1
  1398. data/src/core/tsi/ssl/session_cache/ssl_session_cache.cc +9 -1
  1399. data/src/core/tsi/ssl_transport_security.cc +189 -60
  1400. data/src/core/tsi/ssl_transport_security.h +23 -1
  1401. data/src/ruby/bin/math_pb.rb +1 -1
  1402. data/src/ruby/ext/grpc/extconf.rb +78 -17
  1403. data/src/ruby/ext/grpc/rb_channel.c +11 -5
  1404. data/src/ruby/ext/grpc/rb_channel_args.c +9 -5
  1405. data/src/ruby/ext/grpc/rb_event_thread.c +9 -3
  1406. data/src/ruby/ext/grpc/rb_grpc.c +0 -1
  1407. data/src/ruby/ext/grpc/rb_grpc.h +0 -2
  1408. data/src/ruby/ext/grpc/rb_grpc_imports.generated.c +8 -0
  1409. data/src/ruby/ext/grpc/rb_grpc_imports.generated.h +12 -0
  1410. data/src/ruby/lib/grpc/version.rb +1 -1
  1411. data/src/ruby/pb/grpc/health/v1/health_pb.rb +1 -1
  1412. data/src/ruby/pb/src/proto/grpc/testing/empty_pb.rb +1 -1
  1413. data/src/ruby/pb/src/proto/grpc/testing/messages_pb.rb +10 -2
  1414. data/src/ruby/pb/src/proto/grpc/testing/test_pb.rb +2 -2
  1415. data/src/ruby/pb/src/proto/grpc/testing/test_services_pb.rb +22 -0
  1416. data/third_party/abseil-cpp/absl/algorithm/algorithm.h +8 -103
  1417. data/third_party/abseil-cpp/absl/algorithm/container.h +57 -71
  1418. data/third_party/abseil-cpp/absl/base/attributes.h +51 -12
  1419. data/third_party/abseil-cpp/absl/base/call_once.h +15 -9
  1420. data/third_party/abseil-cpp/absl/base/casts.h +1 -1
  1421. data/third_party/abseil-cpp/absl/base/config.h +91 -24
  1422. data/third_party/abseil-cpp/absl/base/internal/endian.h +13 -12
  1423. data/third_party/abseil-cpp/absl/base/internal/identity.h +4 -2
  1424. data/third_party/abseil-cpp/absl/base/internal/inline_variable.h +19 -18
  1425. data/third_party/abseil-cpp/absl/base/internal/low_level_alloc.cc +1 -1
  1426. data/third_party/abseil-cpp/absl/base/internal/nullability_impl.h +106 -0
  1427. data/third_party/abseil-cpp/absl/base/internal/raw_logging.cc +9 -11
  1428. data/third_party/abseil-cpp/absl/base/internal/raw_logging.h +2 -0
  1429. data/third_party/abseil-cpp/absl/base/internal/spinlock.h +17 -4
  1430. data/third_party/abseil-cpp/absl/base/internal/sysinfo.cc +20 -0
  1431. data/third_party/abseil-cpp/absl/base/internal/thread_identity.cc +10 -4
  1432. data/third_party/abseil-cpp/absl/base/internal/unaligned_access.h +13 -6
  1433. data/third_party/abseil-cpp/absl/base/log_severity.cc +1 -0
  1434. data/third_party/abseil-cpp/absl/base/log_severity.h +23 -10
  1435. data/third_party/abseil-cpp/absl/base/no_destructor.h +217 -0
  1436. data/third_party/abseil-cpp/absl/base/nullability.h +224 -0
  1437. data/third_party/abseil-cpp/absl/base/optimization.h +1 -0
  1438. data/third_party/abseil-cpp/absl/base/options.h +27 -1
  1439. data/third_party/abseil-cpp/absl/base/prefetch.h +25 -14
  1440. data/third_party/abseil-cpp/absl/base/thread_annotations.h +0 -2
  1441. data/third_party/abseil-cpp/absl/container/flat_hash_map.h +3 -3
  1442. data/third_party/abseil-cpp/absl/container/flat_hash_set.h +1 -1
  1443. data/third_party/abseil-cpp/absl/container/internal/common_policy_traits.h +4 -2
  1444. data/third_party/abseil-cpp/absl/container/internal/container_memory.h +13 -9
  1445. data/third_party/abseil-cpp/absl/container/internal/hashtablez_sampler.h +2 -12
  1446. data/third_party/abseil-cpp/absl/container/internal/inlined_vector.h +12 -1
  1447. data/third_party/abseil-cpp/absl/container/internal/layout.h +6 -21
  1448. data/third_party/abseil-cpp/absl/container/internal/raw_hash_map.h +11 -2
  1449. data/third_party/abseil-cpp/absl/container/internal/raw_hash_set.cc +148 -31
  1450. data/third_party/abseil-cpp/absl/container/internal/raw_hash_set.h +717 -278
  1451. data/third_party/abseil-cpp/absl/crc/internal/cpu_detect.cc +26 -2
  1452. data/third_party/abseil-cpp/absl/crc/internal/cpu_detect.h +6 -0
  1453. data/third_party/abseil-cpp/absl/crc/internal/crc32_x86_arm_combined_simd.h +34 -5
  1454. data/third_party/abseil-cpp/absl/crc/internal/crc_memcpy.h +6 -3
  1455. data/third_party/abseil-cpp/absl/crc/internal/crc_memcpy_fallback.cc +4 -2
  1456. data/third_party/abseil-cpp/absl/crc/internal/crc_memcpy_x86_arm_combined.cc +450 -0
  1457. data/third_party/abseil-cpp/absl/crc/internal/crc_x86_arm_combined.cc +10 -2
  1458. data/third_party/abseil-cpp/absl/debugging/internal/address_is_readable.cc +4 -2
  1459. data/third_party/abseil-cpp/absl/debugging/internal/demangle.cc +24 -0
  1460. data/third_party/abseil-cpp/absl/debugging/internal/demangle.h +35 -33
  1461. data/third_party/abseil-cpp/absl/debugging/internal/stacktrace_aarch64-inl.inc +41 -17
  1462. data/third_party/abseil-cpp/absl/debugging/symbolize_elf.inc +108 -44
  1463. data/third_party/abseil-cpp/absl/flags/declare.h +0 -5
  1464. data/third_party/abseil-cpp/absl/flags/flag.h +1 -10
  1465. data/third_party/abseil-cpp/absl/flags/internal/flag.h +0 -5
  1466. data/third_party/abseil-cpp/absl/flags/marshalling.cc +10 -1
  1467. data/third_party/abseil-cpp/absl/flags/reflection.cc +2 -1
  1468. data/third_party/abseil-cpp/absl/functional/function_ref.h +8 -0
  1469. data/third_party/abseil-cpp/absl/functional/internal/any_invocable.h +2 -2
  1470. data/third_party/abseil-cpp/absl/hash/internal/hash.h +49 -2
  1471. data/third_party/abseil-cpp/absl/numeric/bits.h +37 -18
  1472. data/third_party/abseil-cpp/absl/random/bit_gen_ref.h +185 -0
  1473. data/third_party/abseil-cpp/absl/random/distributions.h +1 -1
  1474. data/third_party/abseil-cpp/absl/status/internal/status_internal.cc +248 -0
  1475. data/third_party/abseil-cpp/absl/status/internal/status_internal.h +55 -14
  1476. data/third_party/abseil-cpp/absl/status/internal/statusor_internal.h +53 -2
  1477. data/third_party/abseil-cpp/absl/status/status.cc +36 -238
  1478. data/third_party/abseil-cpp/absl/status/status.h +95 -53
  1479. data/third_party/abseil-cpp/absl/status/status_payload_printer.cc +1 -3
  1480. data/third_party/abseil-cpp/absl/status/status_payload_printer.h +3 -2
  1481. data/third_party/abseil-cpp/absl/status/statusor.cc +5 -2
  1482. data/third_party/abseil-cpp/absl/status/statusor.h +43 -3
  1483. data/third_party/abseil-cpp/absl/strings/ascii.cc +84 -12
  1484. data/third_party/abseil-cpp/absl/strings/ascii.h +8 -6
  1485. data/third_party/abseil-cpp/absl/strings/charconv.cc +19 -12
  1486. data/third_party/abseil-cpp/absl/strings/charconv.h +6 -3
  1487. data/third_party/abseil-cpp/absl/strings/charset.h +164 -0
  1488. data/third_party/abseil-cpp/absl/strings/cord.cc +266 -69
  1489. data/third_party/abseil-cpp/absl/strings/cord.h +138 -92
  1490. data/third_party/abseil-cpp/absl/strings/cord_analysis.cc +19 -33
  1491. data/third_party/abseil-cpp/absl/strings/cord_analysis.h +4 -3
  1492. data/third_party/abseil-cpp/absl/strings/escaping.cc +5 -4
  1493. data/third_party/abseil-cpp/absl/strings/has_absl_stringify.h +63 -0
  1494. data/third_party/abseil-cpp/absl/strings/has_ostream_operator.h +42 -0
  1495. data/third_party/abseil-cpp/absl/strings/internal/cord_internal.cc +0 -6
  1496. data/third_party/abseil-cpp/absl/strings/internal/cord_internal.h +19 -45
  1497. data/third_party/abseil-cpp/absl/strings/internal/cordz_info.cc +23 -28
  1498. data/third_party/abseil-cpp/absl/strings/internal/has_absl_stringify.h +15 -26
  1499. data/third_party/abseil-cpp/absl/strings/internal/memutil.cc +12 -4
  1500. data/third_party/abseil-cpp/absl/strings/internal/str_format/arg.cc +145 -8
  1501. data/third_party/abseil-cpp/absl/strings/internal/str_format/arg.h +72 -24
  1502. data/third_party/abseil-cpp/absl/strings/internal/str_format/bind.cc +17 -1
  1503. data/third_party/abseil-cpp/absl/strings/internal/str_format/bind.h +7 -4
  1504. data/third_party/abseil-cpp/absl/strings/internal/str_format/constexpr_parser.h +8 -3
  1505. data/third_party/abseil-cpp/absl/strings/internal/str_format/extension.h +10 -4
  1506. data/third_party/abseil-cpp/absl/strings/internal/str_format/parser.h +5 -4
  1507. data/third_party/abseil-cpp/absl/strings/match.cc +3 -0
  1508. data/third_party/abseil-cpp/absl/strings/numbers.cc +396 -153
  1509. data/third_party/abseil-cpp/absl/strings/numbers.h +193 -35
  1510. data/third_party/abseil-cpp/absl/strings/str_cat.cc +151 -21
  1511. data/third_party/abseil-cpp/absl/strings/str_cat.h +127 -25
  1512. data/third_party/abseil-cpp/absl/strings/str_format.h +30 -20
  1513. data/third_party/abseil-cpp/absl/strings/str_join.h +16 -16
  1514. data/third_party/abseil-cpp/absl/strings/str_replace.cc +12 -3
  1515. data/third_party/abseil-cpp/absl/strings/str_replace.h +8 -5
  1516. data/third_party/abseil-cpp/absl/strings/str_split.cc +8 -6
  1517. data/third_party/abseil-cpp/absl/strings/str_split.h +18 -0
  1518. data/third_party/abseil-cpp/absl/strings/string_view.cc +26 -5
  1519. data/third_party/abseil-cpp/absl/strings/string_view.h +91 -26
  1520. data/third_party/abseil-cpp/absl/strings/strip.h +5 -2
  1521. data/third_party/abseil-cpp/absl/strings/substitute.cc +12 -4
  1522. data/third_party/abseil-cpp/absl/strings/substitute.h +103 -91
  1523. data/third_party/abseil-cpp/absl/synchronization/internal/pthread_waiter.h +2 -2
  1524. data/third_party/abseil-cpp/absl/synchronization/internal/waiter.h +2 -0
  1525. data/third_party/abseil-cpp/absl/synchronization/internal/win32_waiter.h +4 -2
  1526. data/third_party/abseil-cpp/absl/synchronization/mutex.cc +296 -332
  1527. data/third_party/abseil-cpp/absl/synchronization/mutex.h +89 -34
  1528. data/third_party/abseil-cpp/absl/time/civil_time.h +26 -0
  1529. data/third_party/abseil-cpp/absl/time/clock.h +5 -1
  1530. data/third_party/abseil-cpp/absl/time/duration.cc +3 -3
  1531. data/third_party/abseil-cpp/absl/time/internal/cctz/include/cctz/civil_time_detail.h +2 -2
  1532. data/third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_format.cc +1 -1
  1533. data/third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_info.cc +9 -14
  1534. data/third_party/abseil-cpp/absl/time/internal/cctz/src/tzfile.h +0 -8
  1535. data/third_party/abseil-cpp/absl/types/bad_optional_access.cc +18 -0
  1536. data/third_party/abseil-cpp/absl/types/bad_variant_access.cc +18 -0
  1537. data/third_party/abseil-cpp/absl/types/internal/variant.h +3 -3
  1538. data/third_party/abseil-cpp/absl/types/optional.h +3 -2
  1539. data/third_party/abseil-cpp/absl/types/span.h +9 -4
  1540. data/third_party/abseil-cpp/absl/utility/utility.h +11 -93
  1541. data/third_party/boringssl-with-bazel/err_data.c +278 -276
  1542. data/third_party/boringssl-with-bazel/src/crypto/asn1/a_gentm.c +1 -1
  1543. data/third_party/boringssl-with-bazel/src/crypto/asn1/a_mbstr.c +9 -9
  1544. data/third_party/boringssl-with-bazel/src/crypto/asn1/a_strex.c +8 -21
  1545. data/third_party/boringssl-with-bazel/src/crypto/asn1/a_time.c +1 -1
  1546. data/third_party/boringssl-with-bazel/src/crypto/asn1/a_type.c +19 -1
  1547. data/third_party/boringssl-with-bazel/src/crypto/asn1/a_utctm.c +1 -1
  1548. data/third_party/boringssl-with-bazel/src/crypto/asn1/asn1_lib.c +11 -3
  1549. data/third_party/boringssl-with-bazel/src/crypto/asn1/internal.h +4 -1
  1550. data/third_party/boringssl-with-bazel/src/crypto/asn1/posix_time.c +1 -1
  1551. data/third_party/boringssl-with-bazel/src/crypto/asn1/tasn_dec.c +3 -3
  1552. data/third_party/boringssl-with-bazel/src/crypto/asn1/tasn_enc.c +1 -6
  1553. data/third_party/boringssl-with-bazel/src/crypto/asn1/tasn_new.c +4 -13
  1554. data/third_party/boringssl-with-bazel/src/crypto/base64/base64.c +1 -6
  1555. data/third_party/boringssl-with-bazel/src/crypto/bio/bio.c +27 -4
  1556. data/third_party/boringssl-with-bazel/src/crypto/bio/connect.c +1 -4
  1557. data/third_party/boringssl-with-bazel/src/crypto/bio/pair.c +1 -4
  1558. data/third_party/boringssl-with-bazel/src/crypto/bn_extra/convert.c +8 -0
  1559. data/third_party/boringssl-with-bazel/src/crypto/buf/buf.c +1 -11
  1560. data/third_party/boringssl-with-bazel/src/crypto/bytestring/ber.c +7 -8
  1561. data/third_party/boringssl-with-bazel/src/crypto/bytestring/cbb.c +42 -12
  1562. data/third_party/boringssl-with-bazel/src/crypto/bytestring/internal.h +0 -22
  1563. data/third_party/boringssl-with-bazel/src/crypto/bytestring/unicode.c +9 -9
  1564. data/third_party/boringssl-with-bazel/src/crypto/chacha/chacha.c +34 -1
  1565. data/third_party/boringssl-with-bazel/src/crypto/chacha/internal.h +49 -3
  1566. data/third_party/boringssl-with-bazel/src/crypto/cipher_extra/e_aesgcmsiv.c +30 -42
  1567. data/third_party/boringssl-with-bazel/src/crypto/conf/conf.c +87 -96
  1568. data/third_party/boringssl-with-bazel/src/crypto/conf/internal.h +5 -1
  1569. data/third_party/boringssl-with-bazel/src/crypto/cpu_intel.c +4 -2
  1570. data/third_party/boringssl-with-bazel/src/crypto/crypto.c +11 -0
  1571. data/third_party/boringssl-with-bazel/src/crypto/curve25519/curve25519.c +4 -0
  1572. data/third_party/boringssl-with-bazel/src/crypto/curve25519/spake25519.c +1 -2
  1573. data/third_party/boringssl-with-bazel/src/crypto/des/des.c +105 -31
  1574. data/third_party/boringssl-with-bazel/src/crypto/des/internal.h +10 -81
  1575. data/third_party/boringssl-with-bazel/src/crypto/dsa/dsa.c +2 -15
  1576. data/third_party/boringssl-with-bazel/src/crypto/engine/engine.c +1 -9
  1577. data/third_party/boringssl-with-bazel/src/crypto/evp/evp.c +1 -5
  1578. data/third_party/boringssl-with-bazel/src/crypto/evp/evp_ctx.c +2 -5
  1579. data/third_party/boringssl-with-bazel/src/crypto/evp/p_ec.c +1 -4
  1580. data/third_party/boringssl-with-bazel/src/crypto/evp/p_hkdf.c +1 -2
  1581. data/third_party/boringssl-with-bazel/src/crypto/evp/p_rsa.c +1 -3
  1582. data/third_party/boringssl-with-bazel/src/crypto/evp/scrypt.c +2 -2
  1583. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bn/add.c +2 -8
  1584. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bn/bn.c +1 -1
  1585. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bn/bytes.c +26 -17
  1586. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bn/ctx.c +1 -1
  1587. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bn/exponentiation.c +4 -2
  1588. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bn/gcd.c +26 -5
  1589. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bn/generic.c +10 -41
  1590. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bn/internal.h +49 -2
  1591. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bn/montgomery.c +26 -0
  1592. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bn/montgomery_inv.c +27 -26
  1593. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bn/mul.c +2 -6
  1594. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bn/prime.c +1 -8
  1595. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bn/random.c +8 -2
  1596. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/cipher/cipher.c +11 -2
  1597. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/cipher/e_aes.c +11 -24
  1598. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/cipher/e_aesccm.c +43 -50
  1599. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/dh/dh.c +2 -6
  1600. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/digest/digest.c +4 -0
  1601. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/ec/ec.c +1 -2
  1602. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/ec/ec_key.c +16 -9
  1603. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/ec/p224-64.c +7 -6
  1604. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/ec/wnaf.c +2 -7
  1605. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/rand/fork_detect.c +51 -13
  1606. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/rand/fork_detect.h +17 -0
  1607. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/rand/rand.c +5 -2
  1608. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/rsa/blinding.c +1 -2
  1609. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/rsa/rsa.c +1 -3
  1610. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/rsa/rsa_impl.c +6 -5
  1611. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/self_check/fips.c +1 -2
  1612. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/sha/internal.h +153 -6
  1613. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/sha/sha1.c +87 -7
  1614. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/sha/sha256.c +39 -5
  1615. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/sha/sha512.c +32 -5
  1616. data/third_party/boringssl-with-bazel/src/crypto/internal.h +254 -54
  1617. data/third_party/boringssl-with-bazel/src/crypto/keccak/internal.h +70 -0
  1618. data/third_party/boringssl-with-bazel/src/crypto/keccak/keccak.c +279 -0
  1619. data/third_party/boringssl-with-bazel/src/crypto/kyber/internal.h +8 -39
  1620. data/third_party/boringssl-with-bazel/src/crypto/kyber/kyber.c +39 -29
  1621. data/third_party/boringssl-with-bazel/src/crypto/lhash/lhash.c +3 -6
  1622. data/third_party/boringssl-with-bazel/src/crypto/mem.c +17 -33
  1623. data/third_party/boringssl-with-bazel/src/crypto/obj/obj.c +36 -16
  1624. data/third_party/boringssl-with-bazel/src/crypto/obj/obj_dat.h +0 -3
  1625. data/third_party/boringssl-with-bazel/src/crypto/pem/pem_info.c +31 -0
  1626. data/third_party/boringssl-with-bazel/src/crypto/pkcs7/pkcs7_x509.c +2 -4
  1627. data/third_party/boringssl-with-bazel/src/crypto/pkcs8/pkcs8.c +3 -3
  1628. data/third_party/boringssl-with-bazel/src/crypto/pkcs8/pkcs8_x509.c +9 -13
  1629. data/third_party/boringssl-with-bazel/src/crypto/pool/pool.c +3 -6
  1630. data/third_party/boringssl-with-bazel/src/crypto/rand_extra/forkunsafe.c +4 -0
  1631. data/third_party/boringssl-with-bazel/src/crypto/rsa_extra/rsa_crypt.c +3 -1
  1632. data/third_party/boringssl-with-bazel/src/crypto/spx/address.c +101 -0
  1633. data/third_party/boringssl-with-bazel/src/crypto/spx/address.h +50 -0
  1634. data/third_party/boringssl-with-bazel/src/crypto/spx/fors.c +133 -0
  1635. data/third_party/boringssl-with-bazel/src/crypto/spx/fors.h +54 -0
  1636. data/third_party/boringssl-with-bazel/src/crypto/spx/internal.h +79 -0
  1637. data/third_party/boringssl-with-bazel/src/crypto/spx/merkle.c +150 -0
  1638. data/third_party/boringssl-with-bazel/src/crypto/spx/merkle.h +61 -0
  1639. data/third_party/boringssl-with-bazel/src/crypto/spx/params.h +71 -0
  1640. data/third_party/boringssl-with-bazel/src/crypto/spx/spx.c +139 -0
  1641. data/third_party/boringssl-with-bazel/src/crypto/spx/spx_util.c +53 -0
  1642. data/third_party/boringssl-with-bazel/src/crypto/spx/spx_util.h +44 -0
  1643. data/third_party/boringssl-with-bazel/src/crypto/spx/thash.c +136 -0
  1644. data/third_party/boringssl-with-bazel/src/crypto/spx/thash.h +70 -0
  1645. data/third_party/boringssl-with-bazel/src/crypto/spx/wots.c +135 -0
  1646. data/third_party/boringssl-with-bazel/src/crypto/spx/wots.h +45 -0
  1647. data/third_party/boringssl-with-bazel/src/crypto/stack/stack.c +4 -9
  1648. data/third_party/boringssl-with-bazel/src/crypto/trust_token/pmbtoken.c +10 -22
  1649. data/third_party/boringssl-with-bazel/src/crypto/trust_token/trust_token.c +3 -6
  1650. data/third_party/boringssl-with-bazel/src/crypto/trust_token/voprf.c +12 -36
  1651. data/third_party/boringssl-with-bazel/src/crypto/x509/algorithm.c +1 -2
  1652. data/third_party/boringssl-with-bazel/src/crypto/x509/asn1_gen.c +0 -2
  1653. data/third_party/boringssl-with-bazel/src/crypto/x509/by_dir.c +14 -9
  1654. data/third_party/boringssl-with-bazel/src/crypto/x509/by_file.c +23 -33
  1655. data/third_party/boringssl-with-bazel/src/crypto/x509/internal.h +225 -51
  1656. data/third_party/boringssl-with-bazel/src/crypto/x509/policy.c +2 -6
  1657. data/third_party/boringssl-with-bazel/src/crypto/x509/rsa_pss.c +6 -2
  1658. data/third_party/boringssl-with-bazel/src/crypto/x509/t_crl.c +1 -1
  1659. data/third_party/boringssl-with-bazel/src/crypto/x509/t_req.c +1 -4
  1660. data/third_party/boringssl-with-bazel/src/crypto/x509/t_x509.c +1 -3
  1661. data/third_party/boringssl-with-bazel/src/crypto/x509/v3_akey.c +221 -0
  1662. data/third_party/boringssl-with-bazel/src/crypto/x509/v3_akeya.c +73 -0
  1663. data/third_party/boringssl-with-bazel/src/crypto/x509/v3_alt.c +634 -0
  1664. data/third_party/boringssl-with-bazel/src/crypto/x509/v3_bcons.c +135 -0
  1665. data/third_party/boringssl-with-bazel/src/crypto/x509/v3_bitst.c +141 -0
  1666. data/third_party/boringssl-with-bazel/src/crypto/x509/v3_conf.c +416 -0
  1667. data/third_party/boringssl-with-bazel/src/crypto/x509/v3_cpols.c +477 -0
  1668. data/third_party/boringssl-with-bazel/src/crypto/x509/v3_crld.c +598 -0
  1669. data/third_party/boringssl-with-bazel/src/crypto/x509/v3_enum.c +112 -0
  1670. data/third_party/boringssl-with-bazel/src/crypto/x509/v3_extku.c +154 -0
  1671. data/third_party/boringssl-with-bazel/src/crypto/x509/v3_genn.c +270 -0
  1672. data/third_party/boringssl-with-bazel/src/crypto/x509/v3_ia5.c +122 -0
  1673. data/third_party/boringssl-with-bazel/src/crypto/x509/v3_info.c +211 -0
  1674. data/third_party/boringssl-with-bazel/src/crypto/x509/v3_int.c +121 -0
  1675. data/third_party/boringssl-with-bazel/src/crypto/x509/v3_lib.c +342 -0
  1676. data/third_party/boringssl-with-bazel/src/crypto/x509/v3_ncons.c +555 -0
  1677. data/third_party/boringssl-with-bazel/src/crypto/x509/v3_ocsp.c +81 -0
  1678. data/third_party/boringssl-with-bazel/src/crypto/x509/v3_pcons.c +142 -0
  1679. data/third_party/boringssl-with-bazel/src/crypto/x509/v3_pmaps.c +150 -0
  1680. data/third_party/boringssl-with-bazel/src/crypto/x509/v3_prn.c +224 -0
  1681. data/third_party/boringssl-with-bazel/src/crypto/x509/v3_purp.c +645 -0
  1682. data/third_party/boringssl-with-bazel/src/crypto/x509/v3_skey.c +170 -0
  1683. data/third_party/boringssl-with-bazel/src/crypto/x509/v3_utl.c +1357 -0
  1684. data/third_party/boringssl-with-bazel/src/crypto/x509/x509_att.c +35 -32
  1685. data/third_party/boringssl-with-bazel/src/crypto/x509/x509_cmp.c +44 -59
  1686. data/third_party/boringssl-with-bazel/src/crypto/x509/x509_ext.c +0 -1
  1687. data/third_party/boringssl-with-bazel/src/crypto/x509/x509_lu.c +107 -255
  1688. data/third_party/boringssl-with-bazel/src/crypto/x509/x509_req.c +32 -20
  1689. data/third_party/boringssl-with-bazel/src/crypto/x509/x509_trs.c +25 -152
  1690. data/third_party/boringssl-with-bazel/src/crypto/x509/x509_v3.c +0 -1
  1691. data/third_party/boringssl-with-bazel/src/crypto/x509/x509_vfy.c +330 -944
  1692. data/third_party/boringssl-with-bazel/src/crypto/x509/x509_vpm.c +93 -215
  1693. data/third_party/boringssl-with-bazel/src/crypto/x509/x509name.c +28 -6
  1694. data/third_party/boringssl-with-bazel/src/crypto/x509/x509spki.c +1 -1
  1695. data/third_party/boringssl-with-bazel/src/crypto/x509/x_crl.c +35 -129
  1696. data/third_party/boringssl-with-bazel/src/crypto/x509/x_name.c +7 -8
  1697. data/third_party/boringssl-with-bazel/src/crypto/x509/x_pubkey.c +46 -50
  1698. data/third_party/boringssl-with-bazel/src/crypto/x509/x_spki.c +2 -0
  1699. data/third_party/boringssl-with-bazel/src/crypto/x509/x_x509.c +1 -4
  1700. data/third_party/boringssl-with-bazel/src/crypto/x509/x_x509a.c +6 -6
  1701. data/third_party/boringssl-with-bazel/src/include/openssl/arm_arch.h +0 -21
  1702. data/third_party/boringssl-with-bazel/src/include/openssl/asm_base.h +5 -6
  1703. data/third_party/boringssl-with-bazel/src/include/openssl/base.h +3 -1
  1704. data/third_party/boringssl-with-bazel/src/include/openssl/bio.h +24 -0
  1705. data/third_party/boringssl-with-bazel/src/include/openssl/bn.h +14 -5
  1706. data/third_party/boringssl-with-bazel/src/include/openssl/bytestring.h +22 -0
  1707. data/third_party/boringssl-with-bazel/src/include/openssl/cipher.h +1 -0
  1708. data/third_party/boringssl-with-bazel/src/include/openssl/conf.h +4 -1
  1709. data/third_party/boringssl-with-bazel/src/include/openssl/curve25519.h +2 -2
  1710. data/third_party/boringssl-with-bazel/src/include/openssl/des.h +0 -13
  1711. data/third_party/boringssl-with-bazel/src/include/openssl/ec.h +33 -11
  1712. data/third_party/boringssl-with-bazel/src/include/openssl/evp.h +1 -1
  1713. data/third_party/boringssl-with-bazel/src/include/openssl/ex_data.h +5 -4
  1714. data/third_party/boringssl-with-bazel/src/include/openssl/kyber.h +26 -18
  1715. data/third_party/boringssl-with-bazel/src/include/openssl/mem.h +13 -6
  1716. data/third_party/boringssl-with-bazel/src/include/openssl/obj.h +5 -1
  1717. data/third_party/boringssl-with-bazel/src/include/openssl/opensslconf.h +1 -0
  1718. data/third_party/boringssl-with-bazel/src/include/openssl/pem.h +19 -5
  1719. data/third_party/boringssl-with-bazel/src/include/openssl/posix_time.h +45 -0
  1720. data/third_party/boringssl-with-bazel/src/include/openssl/rand.h +5 -0
  1721. data/third_party/boringssl-with-bazel/src/include/openssl/sha.h +20 -3
  1722. data/third_party/boringssl-with-bazel/src/include/openssl/span.h +18 -20
  1723. data/third_party/boringssl-with-bazel/src/include/openssl/ssl.h +76 -60
  1724. data/third_party/boringssl-with-bazel/src/include/openssl/target.h +31 -6
  1725. data/third_party/boringssl-with-bazel/src/include/openssl/time.h +3 -22
  1726. data/third_party/boringssl-with-bazel/src/include/openssl/tls1.h +2 -1
  1727. data/third_party/boringssl-with-bazel/src/include/openssl/x509.h +2806 -941
  1728. data/third_party/boringssl-with-bazel/src/include/openssl/x509v3.h +38 -1025
  1729. data/third_party/boringssl-with-bazel/src/include/openssl/x509v3_errors.h +124 -0
  1730. data/third_party/boringssl-with-bazel/src/ssl/d1_both.cc +1 -2
  1731. data/third_party/boringssl-with-bazel/src/ssl/extensions.cc +82 -9
  1732. data/third_party/boringssl-with-bazel/src/ssl/handoff.cc +42 -4
  1733. data/third_party/boringssl-with-bazel/src/ssl/internal.h +4 -0
  1734. data/third_party/boringssl-with-bazel/src/ssl/ssl_key_share.cc +4 -5
  1735. data/third_party/boringssl-with-bazel/src/ssl/ssl_lib.cc +9 -1
  1736. data/third_party/boringssl-with-bazel/src/ssl/ssl_x509.cc +0 -1
  1737. data/third_party/boringssl-with-bazel/src/ssl/tls13_client.cc +5 -1
  1738. data/third_party/boringssl-with-bazel/src/ssl/tls13_server.cc +5 -1
  1739. data/third_party/boringssl-with-bazel/src/third_party/fiat/curve25519_64_adx.h +4 -2
  1740. data/third_party/boringssl-with-bazel/src/third_party/fiat/p256_64.h +21 -0
  1741. data/third_party/cares/config_linux/ares_config.h +2 -38
  1742. data/third_party/upb/upb/base/descriptor_constants.h +7 -27
  1743. data/third_party/upb/upb/base/internal/log2.h +38 -0
  1744. data/third_party/upb/upb/base/status.c +6 -26
  1745. data/third_party/upb/upb/base/status.h +6 -26
  1746. data/third_party/upb/upb/base/status.hpp +50 -0
  1747. data/third_party/upb/upb/base/string_view.h +11 -28
  1748. data/third_party/upb/upb/generated_code_support.h +33 -0
  1749. data/third_party/upb/upb/hash/common.c +12 -44
  1750. data/third_party/upb/upb/hash/common.h +16 -41
  1751. data/third_party/upb/upb/hash/int_table.h +6 -26
  1752. data/third_party/upb/upb/hash/str_table.h +7 -26
  1753. data/third_party/upb/upb/json/decode.c +31 -28
  1754. data/third_party/upb/upb/json/decode.h +32 -29
  1755. data/third_party/upb/upb/json/encode.c +31 -28
  1756. data/third_party/upb/upb/json/encode.h +35 -32
  1757. data/third_party/upb/upb/lex/atoi.c +6 -26
  1758. data/third_party/upb/upb/lex/atoi.h +8 -26
  1759. data/third_party/upb/upb/lex/round_trip.c +6 -26
  1760. data/third_party/upb/upb/lex/round_trip.h +6 -26
  1761. data/third_party/upb/upb/lex/strtod.c +6 -26
  1762. data/third_party/upb/upb/lex/strtod.h +6 -26
  1763. data/third_party/upb/upb/lex/unicode.c +6 -26
  1764. data/third_party/upb/upb/lex/unicode.h +8 -26
  1765. data/third_party/upb/upb/mem/alloc.c +6 -26
  1766. data/third_party/upb/upb/mem/alloc.h +6 -26
  1767. data/third_party/upb/upb/mem/arena.c +30 -29
  1768. data/third_party/upb/upb/mem/arena.h +16 -44
  1769. data/third_party/upb/upb/mem/arena.hpp +54 -0
  1770. data/third_party/upb/upb/mem/internal/arena.h +94 -0
  1771. data/third_party/upb/upb/message/accessors.c +34 -31
  1772. data/third_party/upb/upb/message/accessors.h +58 -57
  1773. data/third_party/upb/upb/message/array.c +154 -0
  1774. data/third_party/upb/upb/message/array.h +98 -0
  1775. data/third_party/upb/upb/message/internal/accessors.h +367 -0
  1776. data/third_party/upb/upb/message/internal/array.h +138 -0
  1777. data/third_party/upb/upb/message/internal/extension.h +63 -0
  1778. data/third_party/upb/upb/message/internal/map.h +173 -0
  1779. data/third_party/upb/upb/message/internal/map_entry.h +66 -0
  1780. data/third_party/upb/upb/message/internal/map_sorter.h +112 -0
  1781. data/third_party/upb/upb/message/internal/message.h +106 -0
  1782. data/third_party/upb/upb/message/internal/types.h +23 -0
  1783. data/third_party/upb/upb/message/map.c +145 -0
  1784. data/third_party/upb/upb/message/map.h +147 -0
  1785. data/third_party/upb/upb/message/map_gencode_util.h +81 -0
  1786. data/third_party/upb/upb/message/map_sorter.c +170 -0
  1787. data/third_party/upb/upb/message/message.c +8 -34
  1788. data/third_party/upb/upb/message/message.h +10 -27
  1789. data/third_party/upb/upb/message/tagged_ptr.h +69 -0
  1790. data/third_party/upb/upb/message/types.h +15 -0
  1791. data/third_party/upb/upb/message/value.h +46 -0
  1792. data/third_party/upb/upb/mini_descriptor/build_enum.c +130 -0
  1793. data/third_party/upb/upb/mini_descriptor/build_enum.h +42 -0
  1794. data/third_party/upb/upb/mini_descriptor/decode.c +870 -0
  1795. data/third_party/upb/upb/mini_descriptor/decode.h +120 -0
  1796. data/third_party/upb/upb/mini_descriptor/internal/base92.c +26 -0
  1797. data/third_party/upb/upb/mini_descriptor/internal/base92.h +63 -0
  1798. data/third_party/upb/upb/mini_descriptor/internal/decoder.h +53 -0
  1799. data/third_party/upb/upb/mini_descriptor/internal/encode.c +323 -0
  1800. data/third_party/upb/upb/mini_descriptor/internal/encode.h +92 -0
  1801. data/third_party/upb/upb/mini_descriptor/internal/encode.hpp +118 -0
  1802. data/third_party/upb/upb/mini_descriptor/internal/modifiers.h +32 -0
  1803. data/third_party/upb/upb/mini_descriptor/internal/wire_constants.h +72 -0
  1804. data/third_party/upb/upb/mini_descriptor/link.c +122 -0
  1805. data/third_party/upb/upb/mini_descriptor/link.h +84 -0
  1806. data/third_party/upb/upb/mini_table/enum.h +38 -0
  1807. data/third_party/upb/upb/mini_table/extension.h +15 -0
  1808. data/third_party/upb/upb/mini_table/extension_registry.c +7 -27
  1809. data/third_party/upb/upb/mini_table/extension_registry.h +9 -28
  1810. data/third_party/upb/upb/mini_table/field.h +98 -0
  1811. data/third_party/upb/upb/mini_table/file.h +15 -0
  1812. data/third_party/upb/upb/mini_table/internal/enum.h +58 -0
  1813. data/third_party/upb/upb/mini_table/internal/extension.h +27 -0
  1814. data/third_party/upb/upb/mini_table/internal/field.h +114 -0
  1815. data/third_party/upb/upb/mini_table/internal/file.h +29 -0
  1816. data/third_party/upb/upb/mini_table/internal/message.c +19 -0
  1817. data/third_party/upb/upb/mini_table/internal/message.h +88 -0
  1818. data/third_party/upb/upb/mini_table/internal/sub.h +18 -0
  1819. data/third_party/upb/upb/mini_table/message.c +77 -0
  1820. data/third_party/upb/upb/mini_table/message.h +85 -0
  1821. data/third_party/upb/upb/mini_table/sub.h +15 -0
  1822. data/third_party/upb/upb/port/atomic.h +8 -26
  1823. data/third_party/upb/upb/port/def.inc +28 -29
  1824. data/third_party/upb/upb/port/undef.inc +8 -26
  1825. data/third_party/upb/upb/port/vsnprintf_compat.h +6 -26
  1826. data/third_party/upb/upb/reflection/common.h +11 -27
  1827. data/third_party/upb/upb/reflection/def.h +8 -26
  1828. data/third_party/upb/upb/reflection/def.hpp +26 -31
  1829. data/third_party/upb/upb/reflection/def_pool.c +16 -35
  1830. data/third_party/upb/upb/reflection/def_pool.h +17 -38
  1831. data/third_party/upb/upb/reflection/def_type.c +6 -26
  1832. data/third_party/upb/upb/reflection/def_type.h +6 -27
  1833. data/third_party/upb/upb/reflection/desc_state.c +7 -27
  1834. data/third_party/upb/upb/reflection/enum_def.c +19 -37
  1835. data/third_party/upb/upb/reflection/enum_def.h +13 -33
  1836. data/third_party/upb/upb/reflection/enum_reserved_range.c +9 -30
  1837. data/third_party/upb/upb/reflection/enum_reserved_range.h +6 -26
  1838. data/third_party/upb/upb/reflection/enum_value_def.c +13 -32
  1839. data/third_party/upb/upb/reflection/enum_value_def.h +8 -28
  1840. data/third_party/upb/upb/reflection/extension_range.c +9 -28
  1841. data/third_party/upb/upb/reflection/extension_range.h +6 -26
  1842. data/third_party/upb/upb/reflection/field_def.c +70 -52
  1843. data/third_party/upb/upb/reflection/field_def.h +25 -42
  1844. data/third_party/upb/upb/reflection/file_def.c +23 -48
  1845. data/third_party/upb/upb/reflection/file_def.h +10 -30
  1846. data/third_party/upb/upb/reflection/internal/def_builder.c +339 -0
  1847. data/third_party/upb/upb/reflection/internal/def_builder.h +137 -0
  1848. data/third_party/upb/upb/reflection/internal/def_pool.h +57 -0
  1849. data/third_party/upb/upb/reflection/internal/desc_state.h +44 -0
  1850. data/third_party/upb/upb/reflection/internal/enum_def.h +36 -0
  1851. data/third_party/upb/upb/reflection/internal/enum_reserved_range.h +35 -0
  1852. data/third_party/upb/upb/reflection/internal/enum_value_def.h +37 -0
  1853. data/third_party/upb/upb/reflection/internal/extension_range.h +34 -0
  1854. data/third_party/upb/upb/reflection/internal/field_def.h +56 -0
  1855. data/third_party/upb/upb/reflection/internal/file_def.h +37 -0
  1856. data/third_party/upb/upb/reflection/internal/message_def.h +43 -0
  1857. data/third_party/upb/upb/reflection/internal/message_reserved_range.h +35 -0
  1858. data/third_party/upb/upb/reflection/internal/method_def.h +33 -0
  1859. data/third_party/upb/upb/reflection/internal/oneof_def.h +37 -0
  1860. data/third_party/upb/upb/reflection/internal/service_def.h +33 -0
  1861. data/third_party/upb/upb/reflection/internal/strdup2.c +33 -0
  1862. data/third_party/upb/upb/reflection/internal/strdup2.h +32 -0
  1863. data/third_party/upb/upb/reflection/message.c +10 -30
  1864. data/third_party/upb/upb/reflection/message.h +27 -40
  1865. data/third_party/upb/upb/reflection/message.hpp +5 -23
  1866. data/third_party/upb/upb/reflection/message_def.c +73 -55
  1867. data/third_party/upb/upb/reflection/message_def.h +25 -43
  1868. data/third_party/upb/upb/reflection/message_reserved_range.c +8 -28
  1869. data/third_party/upb/upb/reflection/message_reserved_range.h +6 -26
  1870. data/third_party/upb/upb/reflection/method_def.c +10 -29
  1871. data/third_party/upb/upb/reflection/method_def.h +6 -26
  1872. data/third_party/upb/upb/reflection/oneof_def.c +15 -33
  1873. data/third_party/upb/upb/reflection/oneof_def.h +11 -30
  1874. data/third_party/upb/upb/reflection/service_def.c +12 -31
  1875. data/third_party/upb/upb/reflection/service_def.h +6 -26
  1876. data/third_party/upb/upb/text/encode.c +8 -28
  1877. data/third_party/upb/upb/text/encode.h +6 -26
  1878. data/third_party/upb/upb/wire/decode.c +106 -68
  1879. data/third_party/upb/upb/wire/decode.h +50 -26
  1880. data/third_party/upb/upb/wire/decode_fast.c +10 -28
  1881. data/third_party/upb/upb/wire/decode_fast.h +6 -26
  1882. data/third_party/upb/upb/wire/encode.c +52 -46
  1883. data/third_party/upb/upb/wire/encode.h +14 -30
  1884. data/third_party/upb/upb/wire/eps_copy_input_stream.c +6 -26
  1885. data/third_party/upb/upb/wire/eps_copy_input_stream.h +6 -26
  1886. data/third_party/upb/upb/wire/internal/constants.h +27 -0
  1887. data/third_party/upb/upb/wire/internal/decode.h +143 -0
  1888. data/third_party/upb/upb/wire/internal/swap.h +45 -0
  1889. data/third_party/upb/upb/wire/reader.c +6 -26
  1890. data/third_party/upb/upb/wire/reader.h +8 -28
  1891. data/third_party/upb/upb/wire/types.h +6 -26
  1892. data/third_party/zlib/adler32.c +5 -27
  1893. data/third_party/zlib/compress.c +5 -16
  1894. data/third_party/zlib/crc32.c +86 -162
  1895. data/third_party/zlib/deflate.c +233 -336
  1896. data/third_party/zlib/deflate.h +8 -8
  1897. data/third_party/zlib/gzguts.h +11 -12
  1898. data/third_party/zlib/infback.c +7 -23
  1899. data/third_party/zlib/inffast.c +1 -4
  1900. data/third_party/zlib/inffast.h +1 -1
  1901. data/third_party/zlib/inflate.c +30 -99
  1902. data/third_party/zlib/inftrees.c +6 -11
  1903. data/third_party/zlib/inftrees.h +3 -3
  1904. data/third_party/zlib/trees.c +224 -302
  1905. data/third_party/zlib/uncompr.c +4 -12
  1906. data/third_party/zlib/zconf.h +6 -2
  1907. data/third_party/zlib/zlib.h +191 -188
  1908. data/third_party/zlib/zutil.c +16 -44
  1909. data/third_party/zlib/zutil.h +10 -10
  1910. metadata +1125 -877
  1911. data/src/core/ext/filters/client_channel/backend_metric.cc +0 -95
  1912. data/src/core/ext/filters/client_channel/backend_metric.h +0 -47
  1913. data/src/core/ext/filters/client_channel/backup_poller.cc +0 -178
  1914. data/src/core/ext/filters/client_channel/backup_poller.h +0 -37
  1915. data/src/core/ext/filters/client_channel/channel_connectivity.cc +0 -265
  1916. data/src/core/ext/filters/client_channel/client_channel.cc +0 -3246
  1917. data/src/core/ext/filters/client_channel/client_channel.h +0 -595
  1918. data/src/core/ext/filters/client_channel/client_channel_channelz.cc +0 -93
  1919. data/src/core/ext/filters/client_channel/client_channel_channelz.h +0 -85
  1920. data/src/core/ext/filters/client_channel/client_channel_factory.cc +0 -32
  1921. data/src/core/ext/filters/client_channel/client_channel_factory.h +0 -46
  1922. data/src/core/ext/filters/client_channel/client_channel_internal.h +0 -77
  1923. data/src/core/ext/filters/client_channel/client_channel_plugin.cc +0 -42
  1924. data/src/core/ext/filters/client_channel/client_channel_service_config.cc +0 -153
  1925. data/src/core/ext/filters/client_channel/client_channel_service_config.h +0 -111
  1926. data/src/core/ext/filters/client_channel/config_selector.cc +0 -60
  1927. data/src/core/ext/filters/client_channel/config_selector.h +0 -125
  1928. data/src/core/ext/filters/client_channel/connector.h +0 -88
  1929. data/src/core/ext/filters/client_channel/dynamic_filters.cc +0 -175
  1930. data/src/core/ext/filters/client_channel/dynamic_filters.h +0 -108
  1931. data/src/core/ext/filters/client_channel/global_subchannel_pool.cc +0 -65
  1932. data/src/core/ext/filters/client_channel/global_subchannel_pool.h +0 -63
  1933. data/src/core/ext/filters/client_channel/http_proxy.cc +0 -238
  1934. data/src/core/ext/filters/client_channel/http_proxy.h +0 -52
  1935. data/src/core/ext/filters/client_channel/lb_policy/address_filtering.cc +0 -74
  1936. data/src/core/ext/filters/client_channel/lb_policy/address_filtering.h +0 -117
  1937. data/src/core/ext/filters/client_channel/lb_policy/backend_metric_data.h +0 -57
  1938. data/src/core/ext/filters/client_channel/lb_policy/child_policy_handler.cc +0 -315
  1939. data/src/core/ext/filters/client_channel/lb_policy/child_policy_handler.h +0 -88
  1940. data/src/core/ext/filters/client_channel/lb_policy/grpclb/client_load_reporting_filter.cc +0 -85
  1941. data/src/core/ext/filters/client_channel/lb_policy/grpclb/client_load_reporting_filter.h +0 -46
  1942. data/src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb.cc +0 -1867
  1943. data/src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb.h +0 -39
  1944. data/src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_balancer_addresses.cc +0 -89
  1945. data/src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_balancer_addresses.h +0 -39
  1946. data/src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_client_stats.cc +0 -90
  1947. data/src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_client_stats.h +0 -81
  1948. data/src/core/ext/filters/client_channel/lb_policy/grpclb/load_balancer_api.cc +0 -202
  1949. data/src/core/ext/filters/client_channel/lb_policy/grpclb/load_balancer_api.h +0 -77
  1950. data/src/core/ext/filters/client_channel/lb_policy/health_check_client.cc +0 -480
  1951. data/src/core/ext/filters/client_channel/lb_policy/health_check_client.h +0 -52
  1952. data/src/core/ext/filters/client_channel/lb_policy/health_check_client_internal.h +0 -202
  1953. data/src/core/ext/filters/client_channel/lb_policy/oob_backend_metric.cc +0 -335
  1954. data/src/core/ext/filters/client_channel/lb_policy/oob_backend_metric.h +0 -57
  1955. data/src/core/ext/filters/client_channel/lb_policy/oob_backend_metric_internal.h +0 -119
  1956. data/src/core/ext/filters/client_channel/lb_policy/outlier_detection/outlier_detection.cc +0 -1187
  1957. data/src/core/ext/filters/client_channel/lb_policy/outlier_detection/outlier_detection.h +0 -101
  1958. data/src/core/ext/filters/client_channel/lb_policy/pick_first/pick_first.cc +0 -598
  1959. data/src/core/ext/filters/client_channel/lb_policy/pick_first/pick_first.h +0 -20
  1960. data/src/core/ext/filters/client_channel/lb_policy/priority/priority.cc +0 -897
  1961. data/src/core/ext/filters/client_channel/lb_policy/ring_hash/ring_hash.cc +0 -881
  1962. data/src/core/ext/filters/client_channel/lb_policy/ring_hash/ring_hash.h +0 -64
  1963. data/src/core/ext/filters/client_channel/lb_policy/rls/rls.cc +0 -2457
  1964. data/src/core/ext/filters/client_channel/lb_policy/round_robin/round_robin.cc +0 -537
  1965. data/src/core/ext/filters/client_channel/lb_policy/subchannel_list.h +0 -488
  1966. data/src/core/ext/filters/client_channel/lb_policy/weighted_round_robin/static_stride_scheduler.cc +0 -198
  1967. data/src/core/ext/filters/client_channel/lb_policy/weighted_round_robin/static_stride_scheduler.h +0 -71
  1968. data/src/core/ext/filters/client_channel/lb_policy/weighted_round_robin/weighted_round_robin.cc +0 -1019
  1969. data/src/core/ext/filters/client_channel/lb_policy/weighted_target/weighted_target.cc +0 -752
  1970. data/src/core/ext/filters/client_channel/lb_policy/xds/cds.cc +0 -706
  1971. data/src/core/ext/filters/client_channel/lb_policy/xds/xds_channel_args.h +0 -37
  1972. data/src/core/ext/filters/client_channel/lb_policy/xds/xds_cluster_impl.cc +0 -750
  1973. data/src/core/ext/filters/client_channel/lb_policy/xds/xds_cluster_manager.cc +0 -650
  1974. data/src/core/ext/filters/client_channel/lb_policy/xds/xds_cluster_resolver.cc +0 -1158
  1975. data/src/core/ext/filters/client_channel/lb_policy/xds/xds_override_host.cc +0 -780
  1976. data/src/core/ext/filters/client_channel/lb_policy/xds/xds_override_host.h +0 -67
  1977. data/src/core/ext/filters/client_channel/lb_policy/xds/xds_wrr_locality.cc +0 -301
  1978. data/src/core/ext/filters/client_channel/local_subchannel_pool.cc +0 -60
  1979. data/src/core/ext/filters/client_channel/local_subchannel_pool.h +0 -59
  1980. data/src/core/ext/filters/client_channel/resolver/binder/binder_resolver.cc +0 -148
  1981. data/src/core/ext/filters/client_channel/resolver/dns/c_ares/dns_resolver_ares.cc +0 -758
  1982. data/src/core/ext/filters/client_channel/resolver/dns/c_ares/dns_resolver_ares.h +0 -30
  1983. data/src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_ev_driver.h +0 -90
  1984. data/src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_ev_driver_posix.cc +0 -206
  1985. data/src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_ev_driver_windows.cc +0 -888
  1986. data/src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper.cc +0 -1211
  1987. data/src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper.h +0 -139
  1988. data/src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper_posix.cc +0 -29
  1989. data/src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper_windows.cc +0 -35
  1990. data/src/core/ext/filters/client_channel/resolver/dns/dns_resolver_plugin.cc +0 -66
  1991. data/src/core/ext/filters/client_channel/resolver/dns/dns_resolver_plugin.h +0 -27
  1992. data/src/core/ext/filters/client_channel/resolver/dns/event_engine/event_engine_client_channel_resolver.cc +0 -586
  1993. data/src/core/ext/filters/client_channel/resolver/dns/event_engine/event_engine_client_channel_resolver.h +0 -35
  1994. data/src/core/ext/filters/client_channel/resolver/dns/event_engine/service_config_helper.cc +0 -97
  1995. data/src/core/ext/filters/client_channel/resolver/dns/event_engine/service_config_helper.h +0 -32
  1996. data/src/core/ext/filters/client_channel/resolver/dns/native/dns_resolver.cc +0 -184
  1997. data/src/core/ext/filters/client_channel/resolver/dns/native/dns_resolver.h +0 -24
  1998. data/src/core/ext/filters/client_channel/resolver/fake/fake_resolver.cc +0 -368
  1999. data/src/core/ext/filters/client_channel/resolver/fake/fake_resolver.h +0 -110
  2000. data/src/core/ext/filters/client_channel/resolver/google_c2p/google_c2p_resolver.cc +0 -326
  2001. data/src/core/ext/filters/client_channel/resolver/polling_resolver.cc +0 -274
  2002. data/src/core/ext/filters/client_channel/resolver/polling_resolver.h +0 -121
  2003. data/src/core/ext/filters/client_channel/resolver/sockaddr/sockaddr_resolver.cc +0 -202
  2004. data/src/core/ext/filters/client_channel/resolver/xds/xds_resolver.cc +0 -1276
  2005. data/src/core/ext/filters/client_channel/resolver/xds/xds_resolver.h +0 -61
  2006. data/src/core/ext/filters/client_channel/retry_filter.cc +0 -160
  2007. data/src/core/ext/filters/client_channel/retry_filter.h +0 -122
  2008. data/src/core/ext/filters/client_channel/retry_filter_legacy_call_data.cc +0 -2052
  2009. data/src/core/ext/filters/client_channel/retry_filter_legacy_call_data.h +0 -442
  2010. data/src/core/ext/filters/client_channel/retry_service_config.cc +0 -283
  2011. data/src/core/ext/filters/client_channel/retry_service_config.h +0 -105
  2012. data/src/core/ext/filters/client_channel/retry_throttle.cc +0 -139
  2013. data/src/core/ext/filters/client_channel/retry_throttle.h +0 -92
  2014. data/src/core/ext/filters/client_channel/service_config_channel_arg_filter.cc +0 -124
  2015. data/src/core/ext/filters/client_channel/subchannel.cc +0 -778
  2016. data/src/core/ext/filters/client_channel/subchannel.h +0 -378
  2017. data/src/core/ext/filters/client_channel/subchannel_interface_internal.h +0 -41
  2018. data/src/core/ext/filters/client_channel/subchannel_pool_interface.cc +0 -66
  2019. data/src/core/ext/filters/client_channel/subchannel_pool_interface.h +0 -100
  2020. data/src/core/ext/filters/client_channel/subchannel_stream_client.cc +0 -469
  2021. data/src/core/ext/filters/client_channel/subchannel_stream_client.h +0 -225
  2022. data/src/core/ext/upb-generated/envoy/admin/v3/certs.upb.c +0 -152
  2023. data/src/core/ext/upb-generated/envoy/admin/v3/certs.upb.h +0 -735
  2024. data/src/core/ext/upb-generated/envoy/admin/v3/clusters.upb.c +0 -183
  2025. data/src/core/ext/upb-generated/envoy/admin/v3/clusters.upb.h +0 -835
  2026. data/src/core/ext/upb-generated/envoy/admin/v3/config_dump.upb.c +0 -160
  2027. data/src/core/ext/upb-generated/envoy/admin/v3/config_dump.upb.h +0 -743
  2028. data/src/core/ext/upb-generated/envoy/admin/v3/config_dump_shared.upb.c +0 -535
  2029. data/src/core/ext/upb-generated/envoy/admin/v3/config_dump_shared.upb.h +0 -2796
  2030. data/src/core/ext/upb-generated/envoy/admin/v3/init_dump.upb.c +0 -69
  2031. data/src/core/ext/upb-generated/envoy/admin/v3/init_dump.upb.h +0 -256
  2032. data/src/core/ext/upb-generated/envoy/admin/v3/listeners.upb.c +0 -77
  2033. data/src/core/ext/upb-generated/envoy/admin/v3/listeners.upb.h +0 -287
  2034. data/src/core/ext/upb-generated/envoy/admin/v3/memory.upb.c +0 -59
  2035. data/src/core/ext/upb-generated/envoy/admin/v3/memory.upb.h +0 -168
  2036. data/src/core/ext/upb-generated/envoy/admin/v3/metrics.upb.c +0 -52
  2037. data/src/core/ext/upb-generated/envoy/admin/v3/metrics.upb.h +0 -128
  2038. data/src/core/ext/upb-generated/envoy/admin/v3/mutex_stats.upb.c +0 -52
  2039. data/src/core/ext/upb-generated/envoy/admin/v3/mutex_stats.upb.h +0 -123
  2040. data/src/core/ext/upb-generated/envoy/admin/v3/server_info.upb.c +0 -153
  2041. data/src/core/ext/upb-generated/envoy/admin/v3/server_info.upb.h +0 -935
  2042. data/src/core/ext/upb-generated/envoy/admin/v3/tap.upb.c +0 -57
  2043. data/src/core/ext/upb-generated/envoy/admin/v3/tap.upb.h +0 -122
  2044. data/src/core/ext/upb-generated/envoy/annotations/deprecation.upb.c +0 -63
  2045. data/src/core/ext/upb-generated/envoy/annotations/deprecation.upb.h +0 -134
  2046. data/src/core/ext/upb-generated/envoy/annotations/resource.upb.c +0 -60
  2047. data/src/core/ext/upb-generated/envoy/annotations/resource.upb.h +0 -118
  2048. data/src/core/ext/upb-generated/envoy/config/accesslog/v3/accesslog.upb.c +0 -378
  2049. data/src/core/ext/upb-generated/envoy/config/accesslog/v3/accesslog.upb.h +0 -1772
  2050. data/src/core/ext/upb-generated/envoy/config/bootstrap/v3/bootstrap.upb.c +0 -572
  2051. data/src/core/ext/upb-generated/envoy/config/bootstrap/v3/bootstrap.upb.h +0 -3257
  2052. data/src/core/ext/upb-generated/envoy/config/cluster/v3/circuit_breaker.upb.c +0 -128
  2053. data/src/core/ext/upb-generated/envoy/config/cluster/v3/circuit_breaker.upb.h +0 -532
  2054. data/src/core/ext/upb-generated/envoy/config/cluster/v3/cluster.upb.c +0 -732
  2055. data/src/core/ext/upb-generated/envoy/config/cluster/v3/cluster.upb.h +0 -3926
  2056. data/src/core/ext/upb-generated/envoy/config/cluster/v3/filter.upb.c +0 -57
  2057. data/src/core/ext/upb-generated/envoy/config/cluster/v3/filter.upb.h +0 -122
  2058. data/src/core/ext/upb-generated/envoy/config/cluster/v3/outlier_detection.upb.c +0 -126
  2059. data/src/core/ext/upb-generated/envoy/config/cluster/v3/outlier_detection.upb.h +0 -664
  2060. data/src/core/ext/upb-generated/envoy/config/common/matcher/v3/matcher.upb.c +0 -398
  2061. data/src/core/ext/upb-generated/envoy/config/common/matcher/v3/matcher.upb.h +0 -1849
  2062. data/src/core/ext/upb-generated/envoy/config/core/v3/address.upb.c +0 -227
  2063. data/src/core/ext/upb-generated/envoy/config/core/v3/address.upb.h +0 -1054
  2064. data/src/core/ext/upb-generated/envoy/config/core/v3/backoff.upb.c +0 -58
  2065. data/src/core/ext/upb-generated/envoy/config/core/v3/backoff.upb.h +0 -134
  2066. data/src/core/ext/upb-generated/envoy/config/core/v3/base.upb.c +0 -580
  2067. data/src/core/ext/upb-generated/envoy/config/core/v3/base.upb.h +0 -2448
  2068. data/src/core/ext/upb-generated/envoy/config/core/v3/config_source.upb.c +0 -228
  2069. data/src/core/ext/upb-generated/envoy/config/core/v3/config_source.upb.h +0 -1141
  2070. data/src/core/ext/upb-generated/envoy/config/core/v3/event_service_config.upb.c +0 -54
  2071. data/src/core/ext/upb-generated/envoy/config/core/v3/event_service_config.upb.h +0 -115
  2072. data/src/core/ext/upb-generated/envoy/config/core/v3/extension.upb.c +0 -56
  2073. data/src/core/ext/upb-generated/envoy/config/core/v3/extension.upb.h +0 -122
  2074. data/src/core/ext/upb-generated/envoy/config/core/v3/grpc_method_list.upb.c +0 -71
  2075. data/src/core/ext/upb-generated/envoy/config/core/v3/grpc_method_list.upb.h +0 -256
  2076. data/src/core/ext/upb-generated/envoy/config/core/v3/grpc_service.upb.c +0 -381
  2077. data/src/core/ext/upb-generated/envoy/config/core/v3/grpc_service.upb.h +0 -1707
  2078. data/src/core/ext/upb-generated/envoy/config/core/v3/health_check.upb.c +0 -318
  2079. data/src/core/ext/upb-generated/envoy/config/core/v3/health_check.upb.h +0 -1951
  2080. data/src/core/ext/upb-generated/envoy/config/core/v3/http_uri.upb.c +0 -58
  2081. data/src/core/ext/upb-generated/envoy/config/core/v3/http_uri.upb.h +0 -149
  2082. data/src/core/ext/upb-generated/envoy/config/core/v3/protocol.upb.c +0 -484
  2083. data/src/core/ext/upb-generated/envoy/config/core/v3/protocol.upb.h +0 -2264
  2084. data/src/core/ext/upb-generated/envoy/config/core/v3/proxy_protocol.upb.c +0 -73
  2085. data/src/core/ext/upb-generated/envoy/config/core/v3/proxy_protocol.upb.h +0 -245
  2086. data/src/core/ext/upb-generated/envoy/config/core/v3/resolver.upb.c +0 -75
  2087. data/src/core/ext/upb-generated/envoy/config/core/v3/resolver.upb.h +0 -239
  2088. data/src/core/ext/upb-generated/envoy/config/core/v3/socket_option.upb.c +0 -79
  2089. data/src/core/ext/upb-generated/envoy/config/core/v3/socket_option.upb.h +0 -293
  2090. data/src/core/ext/upb-generated/envoy/config/core/v3/substitution_format_string.upb.c +0 -69
  2091. data/src/core/ext/upb-generated/envoy/config/core/v3/substitution_format_string.upb.h +0 -260
  2092. data/src/core/ext/upb-generated/envoy/config/core/v3/udp_socket_config.upb.c +0 -57
  2093. data/src/core/ext/upb-generated/envoy/config/core/v3/udp_socket_config.upb.h +0 -136
  2094. data/src/core/ext/upb-generated/envoy/config/endpoint/v3/endpoint.upb.c +0 -141
  2095. data/src/core/ext/upb-generated/envoy/config/endpoint/v3/endpoint.upb.h +0 -498
  2096. data/src/core/ext/upb-generated/envoy/config/endpoint/v3/endpoint_components.upb.c +0 -207
  2097. data/src/core/ext/upb-generated/envoy/config/endpoint/v3/endpoint_components.upb.h +0 -875
  2098. data/src/core/ext/upb-generated/envoy/config/endpoint/v3/load_report.upb.c +0 -182
  2099. data/src/core/ext/upb-generated/envoy/config/endpoint/v3/load_report.upb.h +0 -920
  2100. data/src/core/ext/upb-generated/envoy/config/listener/v3/api_listener.upb.c +0 -53
  2101. data/src/core/ext/upb-generated/envoy/config/listener/v3/api_listener.upb.h +0 -107
  2102. data/src/core/ext/upb-generated/envoy/config/listener/v3/listener.upb.c +0 -269
  2103. data/src/core/ext/upb-generated/envoy/config/listener/v3/listener.upb.h +0 -1600
  2104. data/src/core/ext/upb-generated/envoy/config/listener/v3/listener_components.upb.c +0 -263
  2105. data/src/core/ext/upb-generated/envoy/config/listener/v3/listener_components.upb.h +0 -1459
  2106. data/src/core/ext/upb-generated/envoy/config/listener/v3/quic_config.upb.c +0 -89
  2107. data/src/core/ext/upb-generated/envoy/config/listener/v3/quic_config.upb.h +0 -331
  2108. data/src/core/ext/upb-generated/envoy/config/listener/v3/udp_listener_config.upb.c +0 -80
  2109. data/src/core/ext/upb-generated/envoy/config/listener/v3/udp_listener_config.upb.h +0 -204
  2110. data/src/core/ext/upb-generated/envoy/config/metrics/v3/metrics_service.upb.c +0 -67
  2111. data/src/core/ext/upb-generated/envoy/config/metrics/v3/metrics_service.upb.h +0 -187
  2112. data/src/core/ext/upb-generated/envoy/config/metrics/v3/stats.upb.c +0 -222
  2113. data/src/core/ext/upb-generated/envoy/config/metrics/v3/stats.upb.h +0 -988
  2114. data/src/core/ext/upb-generated/envoy/config/overload/v3/overload.upb.c +0 -253
  2115. data/src/core/ext/upb-generated/envoy/config/overload/v3/overload.upb.h +0 -1197
  2116. data/src/core/ext/upb-generated/envoy/config/rbac/v3/rbac.upb.c +0 -351
  2117. data/src/core/ext/upb-generated/envoy/config/rbac/v3/rbac.upb.h +0 -1717
  2118. data/src/core/ext/upb-generated/envoy/config/route/v3/route.upb.c +0 -136
  2119. data/src/core/ext/upb-generated/envoy/config/route/v3/route.upb.h +0 -867
  2120. data/src/core/ext/upb-generated/envoy/config/route/v3/route_components.upb.c +0 -1646
  2121. data/src/core/ext/upb-generated/envoy/config/route/v3/route_components.upb.h +0 -9598
  2122. data/src/core/ext/upb-generated/envoy/config/route/v3/scoped_route.upb.c +0 -100
  2123. data/src/core/ext/upb-generated/envoy/config/route/v3/scoped_route.upb.h +0 -347
  2124. data/src/core/ext/upb-generated/envoy/config/tap/v3/common.upb.c +0 -328
  2125. data/src/core/ext/upb-generated/envoy/config/tap/v3/common.upb.h +0 -1530
  2126. data/src/core/ext/upb-generated/envoy/config/trace/v3/datadog.upb.c +0 -54
  2127. data/src/core/ext/upb-generated/envoy/config/trace/v3/datadog.upb.h +0 -123
  2128. data/src/core/ext/upb-generated/envoy/config/trace/v3/dynamic_ot.upb.c +0 -58
  2129. data/src/core/ext/upb-generated/envoy/config/trace/v3/dynamic_ot.upb.h +0 -122
  2130. data/src/core/ext/upb-generated/envoy/config/trace/v3/http_tracer.upb.c +0 -76
  2131. data/src/core/ext/upb-generated/envoy/config/trace/v3/http_tracer.upb.h +0 -196
  2132. data/src/core/ext/upb-generated/envoy/config/trace/v3/lightstep.upb.c +0 -65
  2133. data/src/core/ext/upb-generated/envoy/config/trace/v3/lightstep.upb.h +0 -205
  2134. data/src/core/ext/upb-generated/envoy/config/trace/v3/opencensus.upb.c +0 -84
  2135. data/src/core/ext/upb-generated/envoy/config/trace/v3/opencensus.upb.h +0 -413
  2136. data/src/core/ext/upb-generated/envoy/config/trace/v3/opentelemetry.upb.c +0 -55
  2137. data/src/core/ext/upb-generated/envoy/config/trace/v3/opentelemetry.upb.h +0 -122
  2138. data/src/core/ext/upb-generated/envoy/config/trace/v3/service.upb.c +0 -54
  2139. data/src/core/ext/upb-generated/envoy/config/trace/v3/service.upb.h +0 -107
  2140. data/src/core/ext/upb-generated/envoy/config/trace/v3/skywalking.upb.c +0 -88
  2141. data/src/core/ext/upb-generated/envoy/config/trace/v3/skywalking.upb.h +0 -259
  2142. data/src/core/ext/upb-generated/envoy/config/trace/v3/trace.upb.c +0 -36
  2143. data/src/core/ext/upb-generated/envoy/config/trace/v3/trace.upb.h +0 -48
  2144. data/src/core/ext/upb-generated/envoy/config/trace/v3/xray.upb.c +0 -90
  2145. data/src/core/ext/upb-generated/envoy/config/trace/v3/xray.upb.h +0 -261
  2146. data/src/core/ext/upb-generated/envoy/config/trace/v3/zipkin.upb.c +0 -68
  2147. data/src/core/ext/upb-generated/envoy/config/trace/v3/zipkin.upb.h +0 -204
  2148. data/src/core/ext/upb-generated/envoy/data/accesslog/v3/accesslog.upb.c +0 -558
  2149. data/src/core/ext/upb-generated/envoy/data/accesslog/v3/accesslog.upb.h +0 -2710
  2150. data/src/core/ext/upb-generated/envoy/extensions/clusters/aggregate/v3/cluster.upb.c +0 -49
  2151. data/src/core/ext/upb-generated/envoy/extensions/clusters/aggregate/v3/cluster.upb.h +0 -139
  2152. data/src/core/ext/upb-generated/envoy/extensions/filters/common/fault/v3/fault.upb.c +0 -119
  2153. data/src/core/ext/upb-generated/envoy/extensions/filters/common/fault/v3/fault.upb.h +0 -437
  2154. data/src/core/ext/upb-generated/envoy/extensions/filters/http/fault/v3/fault.upb.c +0 -144
  2155. data/src/core/ext/upb-generated/envoy/extensions/filters/http/fault/v3/fault.upb.h +0 -664
  2156. data/src/core/ext/upb-generated/envoy/extensions/filters/http/rbac/v3/rbac.upb.c +0 -90
  2157. data/src/core/ext/upb-generated/envoy/extensions/filters/http/rbac/v3/rbac.upb.h +0 -271
  2158. data/src/core/ext/upb-generated/envoy/extensions/filters/http/router/v3/router.upb.c +0 -104
  2159. data/src/core/ext/upb-generated/envoy/extensions/filters/http/router/v3/router.upb.h +0 -468
  2160. data/src/core/ext/upb-generated/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upb.c +0 -75
  2161. data/src/core/ext/upb-generated/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upb.h +0 -201
  2162. data/src/core/ext/upb-generated/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upb.c +0 -682
  2163. data/src/core/ext/upb-generated/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upb.h +0 -3973
  2164. data/src/core/ext/upb-generated/envoy/extensions/http/stateful_session/cookie/v3/cookie.upb.c +0 -53
  2165. data/src/core/ext/upb-generated/envoy/extensions/http/stateful_session/cookie/v3/cookie.upb.h +0 -107
  2166. data/src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/client_side_weighted_round_robin/v3/client_side_weighted_round_robin.upb.c +0 -70
  2167. data/src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/client_side_weighted_round_robin/v3/client_side_weighted_round_robin.upb.h +0 -246
  2168. data/src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/common/v3/common.upb.c +0 -138
  2169. data/src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/common/v3/common.upb.h +0 -499
  2170. data/src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/pick_first/v3/pick_first.upb.c +0 -47
  2171. data/src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/pick_first/v3/pick_first.upb.h +0 -93
  2172. data/src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/ring_hash/v3/ring_hash.upb.c +0 -71
  2173. data/src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/ring_hash/v3/ring_hash.upb.h +0 -257
  2174. data/src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/wrr_locality/v3/wrr_locality.upb.c +0 -53
  2175. data/src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/wrr_locality/v3/wrr_locality.upb.h +0 -107
  2176. data/src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/cert.upb.c +0 -31
  2177. data/src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/cert.upb.h +0 -43
  2178. data/src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/common.upb.c +0 -265
  2179. data/src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/common.upb.h +0 -1479
  2180. data/src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/secret.upb.c +0 -111
  2181. data/src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/secret.upb.h +0 -369
  2182. data/src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/tls.upb.c +0 -270
  2183. data/src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/tls.upb.h +0 -1482
  2184. data/src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upb.c +0 -75
  2185. data/src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upb.h +0 -224
  2186. data/src/core/ext/upb-generated/envoy/service/discovery/v3/ads.upb.c +0 -41
  2187. data/src/core/ext/upb-generated/envoy/service/discovery/v3/ads.upb.h +0 -78
  2188. data/src/core/ext/upb-generated/envoy/service/discovery/v3/discovery.upb.c +0 -405
  2189. data/src/core/ext/upb-generated/envoy/service/discovery/v3/discovery.upb.h +0 -2161
  2190. data/src/core/ext/upb-generated/envoy/service/load_stats/v3/lrs.upb.c +0 -87
  2191. data/src/core/ext/upb-generated/envoy/service/load_stats/v3/lrs.upb.h +0 -331
  2192. data/src/core/ext/upb-generated/envoy/service/status/v3/csds.upb.c +0 -185
  2193. data/src/core/ext/upb-generated/envoy/service/status/v3/csds.upb.h +0 -923
  2194. data/src/core/ext/upb-generated/envoy/type/http/v3/cookie.upb.c +0 -57
  2195. data/src/core/ext/upb-generated/envoy/type/http/v3/cookie.upb.h +0 -137
  2196. data/src/core/ext/upb-generated/envoy/type/http/v3/path_transformation.upb.c +0 -89
  2197. data/src/core/ext/upb-generated/envoy/type/http/v3/path_transformation.upb.h +0 -321
  2198. data/src/core/ext/upb-generated/envoy/type/matcher/v3/filter_state.upb.c +0 -56
  2199. data/src/core/ext/upb-generated/envoy/type/matcher/v3/filter_state.upb.h +0 -130
  2200. data/src/core/ext/upb-generated/envoy/type/matcher/v3/http_inputs.upb.c +0 -108
  2201. data/src/core/ext/upb-generated/envoy/type/matcher/v3/http_inputs.upb.h +0 -309
  2202. data/src/core/ext/upb-generated/envoy/type/matcher/v3/metadata.upb.c +0 -79
  2203. data/src/core/ext/upb-generated/envoy/type/matcher/v3/metadata.upb.h +0 -266
  2204. data/src/core/ext/upb-generated/envoy/type/matcher/v3/node.upb.c +0 -58
  2205. data/src/core/ext/upb-generated/envoy/type/matcher/v3/node.upb.h +0 -172
  2206. data/src/core/ext/upb-generated/envoy/type/matcher/v3/number.upb.c +0 -57
  2207. data/src/core/ext/upb-generated/envoy/type/matcher/v3/number.upb.h +0 -135
  2208. data/src/core/ext/upb-generated/envoy/type/matcher/v3/path.upb.c +0 -54
  2209. data/src/core/ext/upb-generated/envoy/type/matcher/v3/path.upb.h +0 -115
  2210. data/src/core/ext/upb-generated/envoy/type/matcher/v3/regex.upb.c +0 -99
  2211. data/src/core/ext/upb-generated/envoy/type/matcher/v3/regex.upb.h +0 -277
  2212. data/src/core/ext/upb-generated/envoy/type/matcher/v3/status_code_input.upb.c +0 -46
  2213. data/src/core/ext/upb-generated/envoy/type/matcher/v3/status_code_input.upb.h +0 -117
  2214. data/src/core/ext/upb-generated/envoy/type/matcher/v3/string.upb.c +0 -84
  2215. data/src/core/ext/upb-generated/envoy/type/matcher/v3/string.upb.h +0 -312
  2216. data/src/core/ext/upb-generated/envoy/type/matcher/v3/struct.upb.c +0 -73
  2217. data/src/core/ext/upb-generated/envoy/type/matcher/v3/struct.upb.h +0 -236
  2218. data/src/core/ext/upb-generated/envoy/type/matcher/v3/value.upb.c +0 -95
  2219. data/src/core/ext/upb-generated/envoy/type/matcher/v3/value.upb.h +0 -354
  2220. data/src/core/ext/upb-generated/envoy/type/metadata/v3/metadata.upb.c +0 -130
  2221. data/src/core/ext/upb-generated/envoy/type/metadata/v3/metadata.upb.h +0 -536
  2222. data/src/core/ext/upb-generated/envoy/type/tracing/v3/custom_tag.upb.c +0 -142
  2223. data/src/core/ext/upb-generated/envoy/type/tracing/v3/custom_tag.upb.h +0 -516
  2224. data/src/core/ext/upb-generated/envoy/type/v3/hash_policy.upb.c +0 -79
  2225. data/src/core/ext/upb-generated/envoy/type/v3/hash_policy.upb.h +0 -234
  2226. data/src/core/ext/upb-generated/envoy/type/v3/http.upb.c +0 -29
  2227. data/src/core/ext/upb-generated/envoy/type/v3/http.upb.h +0 -44
  2228. data/src/core/ext/upb-generated/envoy/type/v3/http_status.upb.c +0 -49
  2229. data/src/core/ext/upb-generated/envoy/type/v3/http_status.upb.h +0 -153
  2230. data/src/core/ext/upb-generated/envoy/type/v3/percent.upb.c +0 -67
  2231. data/src/core/ext/upb-generated/envoy/type/v3/percent.upb.h +0 -168
  2232. data/src/core/ext/upb-generated/envoy/type/v3/range.upb.c +0 -87
  2233. data/src/core/ext/upb-generated/envoy/type/v3/range.upb.h +0 -246
  2234. data/src/core/ext/upb-generated/envoy/type/v3/ratelimit_strategy.upb.c +0 -78
  2235. data/src/core/ext/upb-generated/envoy/type/v3/ratelimit_strategy.upb.h +0 -237
  2236. data/src/core/ext/upb-generated/envoy/type/v3/ratelimit_unit.upb.c +0 -29
  2237. data/src/core/ext/upb-generated/envoy/type/v3/ratelimit_unit.upb.h +0 -48
  2238. data/src/core/ext/upb-generated/envoy/type/v3/semantic_version.upb.c +0 -52
  2239. data/src/core/ext/upb-generated/envoy/type/v3/semantic_version.upb.h +0 -123
  2240. data/src/core/ext/upb-generated/envoy/type/v3/token_bucket.upb.c +0 -60
  2241. data/src/core/ext/upb-generated/envoy/type/v3/token_bucket.upb.h +0 -151
  2242. data/src/core/ext/upb-generated/google/api/annotations.upb.c +0 -43
  2243. data/src/core/ext/upb-generated/google/api/annotations.upb.h +0 -63
  2244. data/src/core/ext/upb-generated/google/api/expr/v1alpha1/checked.upb.c +0 -372
  2245. data/src/core/ext/upb-generated/google/api/expr/v1alpha1/checked.upb.h +0 -1764
  2246. data/src/core/ext/upb-generated/google/api/expr/v1alpha1/syntax.upb.c +0 -402
  2247. data/src/core/ext/upb-generated/google/api/expr/v1alpha1/syntax.upb.h +0 -1849
  2248. data/src/core/ext/upb-generated/google/api/http.upb.c +0 -114
  2249. data/src/core/ext/upb-generated/google/api/http.upb.h +0 -507
  2250. data/src/core/ext/upb-generated/google/api/httpbody.upb.c +0 -55
  2251. data/src/core/ext/upb-generated/google/api/httpbody.upb.h +0 -173
  2252. data/src/core/ext/upb-generated/google/protobuf/any.upb.c +0 -49
  2253. data/src/core/ext/upb-generated/google/protobuf/any.upb.h +0 -108
  2254. data/src/core/ext/upb-generated/google/protobuf/descriptor.upb.c +0 -1172
  2255. data/src/core/ext/upb-generated/google/protobuf/descriptor.upb.h +0 -5656
  2256. data/src/core/ext/upb-generated/google/protobuf/duration.upb.c +0 -49
  2257. data/src/core/ext/upb-generated/google/protobuf/duration.upb.h +0 -108
  2258. data/src/core/ext/upb-generated/google/protobuf/empty.upb.c +0 -38
  2259. data/src/core/ext/upb-generated/google/protobuf/empty.upb.h +0 -78
  2260. data/src/core/ext/upb-generated/google/protobuf/struct.upb.c +0 -118
  2261. data/src/core/ext/upb-generated/google/protobuf/struct.upb.h +0 -434
  2262. data/src/core/ext/upb-generated/google/protobuf/timestamp.upb.c +0 -49
  2263. data/src/core/ext/upb-generated/google/protobuf/timestamp.upb.h +0 -108
  2264. data/src/core/ext/upb-generated/google/protobuf/wrappers.upb.c +0 -166
  2265. data/src/core/ext/upb-generated/google/protobuf/wrappers.upb.h +0 -525
  2266. data/src/core/ext/upb-generated/google/rpc/status.upb.c +0 -55
  2267. data/src/core/ext/upb-generated/google/rpc/status.upb.h +0 -173
  2268. data/src/core/ext/upb-generated/opencensus/proto/trace/v1/trace_config.upb.c +0 -109
  2269. data/src/core/ext/upb-generated/opencensus/proto/trace/v1/trace_config.upb.h +0 -397
  2270. data/src/core/ext/upb-generated/src/proto/grpc/gcp/altscontext.upb.c +0 -82
  2271. data/src/core/ext/upb-generated/src/proto/grpc/gcp/altscontext.upb.h +0 -246
  2272. data/src/core/ext/upb-generated/src/proto/grpc/gcp/handshaker.upb.c +0 -345
  2273. data/src/core/ext/upb-generated/src/proto/grpc/gcp/handshaker.upb.h +0 -1677
  2274. data/src/core/ext/upb-generated/src/proto/grpc/gcp/transport_security_common.upb.c +0 -72
  2275. data/src/core/ext/upb-generated/src/proto/grpc/gcp/transport_security_common.upb.h +0 -207
  2276. data/src/core/ext/upb-generated/src/proto/grpc/health/v1/health.upb.c +0 -61
  2277. data/src/core/ext/upb-generated/src/proto/grpc/health/v1/health.upb.h +0 -154
  2278. data/src/core/ext/upb-generated/src/proto/grpc/lb/v1/load_balancer.upb.c +0 -224
  2279. data/src/core/ext/upb-generated/src/proto/grpc/lb/v1/load_balancer.upb.h +0 -893
  2280. data/src/core/ext/upb-generated/src/proto/grpc/lookup/v1/rls.upb.c +0 -95
  2281. data/src/core/ext/upb-generated/src/proto/grpc/lookup/v1/rls.upb.h +0 -308
  2282. data/src/core/ext/upb-generated/src/proto/grpc/lookup/v1/rls_config.upb.c +0 -246
  2283. data/src/core/ext/upb-generated/src/proto/grpc/lookup/v1/rls_config.upb.h +0 -1349
  2284. data/src/core/ext/upb-generated/udpa/annotations/migrate.upb.c +0 -129
  2285. data/src/core/ext/upb-generated/udpa/annotations/migrate.upb.h +0 -341
  2286. data/src/core/ext/upb-generated/udpa/annotations/security.upb.c +0 -64
  2287. data/src/core/ext/upb-generated/udpa/annotations/security.upb.h +0 -133
  2288. data/src/core/ext/upb-generated/udpa/annotations/sensitive.upb.c +0 -41
  2289. data/src/core/ext/upb-generated/udpa/annotations/sensitive.upb.h +0 -63
  2290. data/src/core/ext/upb-generated/udpa/annotations/status.upb.c +0 -63
  2291. data/src/core/ext/upb-generated/udpa/annotations/status.upb.h +0 -140
  2292. data/src/core/ext/upb-generated/udpa/annotations/versioning.upb.c +0 -60
  2293. data/src/core/ext/upb-generated/udpa/annotations/versioning.upb.h +0 -118
  2294. data/src/core/ext/upb-generated/validate/validate.upb.c +0 -950
  2295. data/src/core/ext/upb-generated/validate/validate.upb.h +0 -6544
  2296. data/src/core/ext/upb-generated/xds/annotations/v3/migrate.upb.c +0 -129
  2297. data/src/core/ext/upb-generated/xds/annotations/v3/migrate.upb.h +0 -341
  2298. data/src/core/ext/upb-generated/xds/annotations/v3/security.upb.c +0 -64
  2299. data/src/core/ext/upb-generated/xds/annotations/v3/security.upb.h +0 -133
  2300. data/src/core/ext/upb-generated/xds/annotations/v3/sensitive.upb.c +0 -41
  2301. data/src/core/ext/upb-generated/xds/annotations/v3/sensitive.upb.h +0 -63
  2302. data/src/core/ext/upb-generated/xds/annotations/v3/status.upb.c +0 -126
  2303. data/src/core/ext/upb-generated/xds/annotations/v3/status.upb.h +0 -352
  2304. data/src/core/ext/upb-generated/xds/annotations/v3/versioning.upb.c +0 -60
  2305. data/src/core/ext/upb-generated/xds/annotations/v3/versioning.upb.h +0 -118
  2306. data/src/core/ext/upb-generated/xds/core/v3/authority.upb.c +0 -48
  2307. data/src/core/ext/upb-generated/xds/core/v3/authority.upb.h +0 -93
  2308. data/src/core/ext/upb-generated/xds/core/v3/cidr.upb.c +0 -56
  2309. data/src/core/ext/upb-generated/xds/core/v3/cidr.upb.h +0 -122
  2310. data/src/core/ext/upb-generated/xds/core/v3/collection_entry.upb.c +0 -81
  2311. data/src/core/ext/upb-generated/xds/core/v3/collection_entry.upb.h +0 -241
  2312. data/src/core/ext/upb-generated/xds/core/v3/context_params.upb.c +0 -65
  2313. data/src/core/ext/upb-generated/xds/core/v3/context_params.upb.h +0 -142
  2314. data/src/core/ext/upb-generated/xds/core/v3/extension.upb.c +0 -55
  2315. data/src/core/ext/upb-generated/xds/core/v3/extension.upb.h +0 -122
  2316. data/src/core/ext/upb-generated/xds/core/v3/resource.upb.c +0 -58
  2317. data/src/core/ext/upb-generated/xds/core/v3/resource.upb.h +0 -151
  2318. data/src/core/ext/upb-generated/xds/core/v3/resource_locator.upb.c +0 -87
  2319. data/src/core/ext/upb-generated/xds/core/v3/resource_locator.upb.h +0 -338
  2320. data/src/core/ext/upb-generated/xds/core/v3/resource_name.upb.c +0 -62
  2321. data/src/core/ext/upb-generated/xds/core/v3/resource_name.upb.h +0 -152
  2322. data/src/core/ext/upb-generated/xds/data/orca/v3/orca_load_report.upb.c +0 -129
  2323. data/src/core/ext/upb-generated/xds/data/orca/v3/orca_load_report.upb.h +0 -360
  2324. data/src/core/ext/upb-generated/xds/service/orca/v3/orca.upb.c +0 -55
  2325. data/src/core/ext/upb-generated/xds/service/orca/v3/orca.upb.h +0 -168
  2326. data/src/core/ext/upb-generated/xds/type/matcher/v3/cel.upb.c +0 -53
  2327. data/src/core/ext/upb-generated/xds/type/matcher/v3/cel.upb.h +0 -107
  2328. data/src/core/ext/upb-generated/xds/type/matcher/v3/domain.upb.c +0 -75
  2329. data/src/core/ext/upb-generated/xds/type/matcher/v3/domain.upb.h +0 -270
  2330. data/src/core/ext/upb-generated/xds/type/matcher/v3/http_inputs.upb.c +0 -39
  2331. data/src/core/ext/upb-generated/xds/type/matcher/v3/http_inputs.upb.h +0 -78
  2332. data/src/core/ext/upb-generated/xds/type/matcher/v3/ip.upb.c +0 -78
  2333. data/src/core/ext/upb-generated/xds/type/matcher/v3/ip.upb.h +0 -289
  2334. data/src/core/ext/upb-generated/xds/type/matcher/v3/matcher.upb.c +0 -268
  2335. data/src/core/ext/upb-generated/xds/type/matcher/v3/matcher.upb.h +0 -1122
  2336. data/src/core/ext/upb-generated/xds/type/matcher/v3/range.upb.c +0 -160
  2337. data/src/core/ext/upb-generated/xds/type/matcher/v3/range.upb.h +0 -740
  2338. data/src/core/ext/upb-generated/xds/type/matcher/v3/regex.upb.c +0 -61
  2339. data/src/core/ext/upb-generated/xds/type/matcher/v3/regex.upb.h +0 -167
  2340. data/src/core/ext/upb-generated/xds/type/matcher/v3/string.upb.c +0 -82
  2341. data/src/core/ext/upb-generated/xds/type/matcher/v3/string.upb.h +0 -312
  2342. data/src/core/ext/upb-generated/xds/type/v3/cel.upb.c +0 -82
  2343. data/src/core/ext/upb-generated/xds/type/v3/cel.upb.h +0 -240
  2344. data/src/core/ext/upb-generated/xds/type/v3/range.upb.c +0 -85
  2345. data/src/core/ext/upb-generated/xds/type/v3/range.upb.h +0 -246
  2346. data/src/core/ext/upb-generated/xds/type/v3/typed_struct.upb.c +0 -54
  2347. data/src/core/ext/upb-generated/xds/type/v3/typed_struct.upb.h +0 -122
  2348. data/src/core/ext/upbdefs-generated/envoy/admin/v3/certs.upbdefs.c +0 -84
  2349. data/src/core/ext/upbdefs-generated/envoy/admin/v3/certs.upbdefs.h +0 -56
  2350. data/src/core/ext/upbdefs-generated/envoy/admin/v3/clusters.upbdefs.c +0 -128
  2351. data/src/core/ext/upbdefs-generated/envoy/admin/v3/clusters.upbdefs.h +0 -51
  2352. data/src/core/ext/upbdefs-generated/envoy/admin/v3/config_dump.upbdefs.c +0 -102
  2353. data/src/core/ext/upbdefs-generated/envoy/admin/v3/config_dump.upbdefs.h +0 -56
  2354. data/src/core/ext/upbdefs-generated/envoy/admin/v3/config_dump_shared.upbdefs.c +0 -277
  2355. data/src/core/ext/upbdefs-generated/envoy/admin/v3/config_dump_shared.upbdefs.h +0 -126
  2356. data/src/core/ext/upbdefs-generated/envoy/admin/v3/init_dump.upbdefs.c +0 -43
  2357. data/src/core/ext/upbdefs-generated/envoy/admin/v3/init_dump.upbdefs.h +0 -41
  2358. data/src/core/ext/upbdefs-generated/envoy/admin/v3/listeners.upbdefs.c +0 -56
  2359. data/src/core/ext/upbdefs-generated/envoy/admin/v3/listeners.upbdefs.h +0 -41
  2360. data/src/core/ext/upbdefs-generated/envoy/admin/v3/memory.upbdefs.c +0 -49
  2361. data/src/core/ext/upbdefs-generated/envoy/admin/v3/memory.upbdefs.h +0 -36
  2362. data/src/core/ext/upbdefs-generated/envoy/admin/v3/metrics.upbdefs.c +0 -46
  2363. data/src/core/ext/upbdefs-generated/envoy/admin/v3/metrics.upbdefs.h +0 -36
  2364. data/src/core/ext/upbdefs-generated/envoy/admin/v3/mutex_stats.upbdefs.c +0 -46
  2365. data/src/core/ext/upbdefs-generated/envoy/admin/v3/mutex_stats.upbdefs.h +0 -36
  2366. data/src/core/ext/upbdefs-generated/envoy/admin/v3/server_info.upbdefs.c +0 -142
  2367. data/src/core/ext/upbdefs-generated/envoy/admin/v3/server_info.upbdefs.h +0 -41
  2368. data/src/core/ext/upbdefs-generated/envoy/admin/v3/tap.upbdefs.c +0 -51
  2369. data/src/core/ext/upbdefs-generated/envoy/admin/v3/tap.upbdefs.h +0 -36
  2370. data/src/core/ext/upbdefs-generated/envoy/annotations/deprecation.upbdefs.c +0 -48
  2371. data/src/core/ext/upbdefs-generated/envoy/annotations/deprecation.upbdefs.h +0 -31
  2372. data/src/core/ext/upbdefs-generated/envoy/annotations/resource.upbdefs.c +0 -38
  2373. data/src/core/ext/upbdefs-generated/envoy/annotations/resource.upbdefs.h +0 -36
  2374. data/src/core/ext/upbdefs-generated/envoy/config/accesslog/v3/accesslog.upbdefs.c +0 -234
  2375. data/src/core/ext/upbdefs-generated/envoy/config/accesslog/v3/accesslog.upbdefs.h +0 -111
  2376. data/src/core/ext/upbdefs-generated/envoy/config/bootstrap/v3/bootstrap.upbdefs.c +0 -408
  2377. data/src/core/ext/upbdefs-generated/envoy/config/bootstrap/v3/bootstrap.upbdefs.h +0 -121
  2378. data/src/core/ext/upbdefs-generated/envoy/config/cluster/v3/circuit_breaker.upbdefs.c +0 -98
  2379. data/src/core/ext/upbdefs-generated/envoy/config/cluster/v3/circuit_breaker.upbdefs.h +0 -46
  2380. data/src/core/ext/upbdefs-generated/envoy/config/cluster/v3/cluster.upbdefs.c +0 -567
  2381. data/src/core/ext/upbdefs-generated/envoy/config/cluster/v3/cluster.upbdefs.h +0 -151
  2382. data/src/core/ext/upbdefs-generated/envoy/config/cluster/v3/filter.upbdefs.c +0 -51
  2383. data/src/core/ext/upbdefs-generated/envoy/config/cluster/v3/filter.upbdefs.h +0 -36
  2384. data/src/core/ext/upbdefs-generated/envoy/config/cluster/v3/outlier_detection.upbdefs.c +0 -138
  2385. data/src/core/ext/upbdefs-generated/envoy/config/cluster/v3/outlier_detection.upbdefs.h +0 -36
  2386. data/src/core/ext/upbdefs-generated/envoy/config/common/matcher/v3/matcher.upbdefs.c +0 -206
  2387. data/src/core/ext/upbdefs-generated/envoy/config/common/matcher/v3/matcher.upbdefs.h +0 -106
  2388. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/address.upbdefs.c +0 -132
  2389. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/address.upbdefs.h +0 -71
  2390. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/backoff.upbdefs.c +0 -54
  2391. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/backoff.upbdefs.h +0 -36
  2392. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/base.upbdefs.c +0 -271
  2393. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/base.upbdefs.h +0 -151
  2394. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/config_source.upbdefs.c +0 -168
  2395. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/config_source.upbdefs.h +0 -66
  2396. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/event_service_config.upbdefs.c +0 -53
  2397. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/event_service_config.upbdefs.h +0 -36
  2398. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/extension.upbdefs.c +0 -47
  2399. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/extension.upbdefs.h +0 -36
  2400. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/grpc_method_list.upbdefs.c +0 -53
  2401. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/grpc_method_list.upbdefs.h +0 -41
  2402. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/grpc_service.upbdefs.c +0 -237
  2403. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/grpc_service.upbdefs.h +0 -101
  2404. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/health_check.upbdefs.c +0 -245
  2405. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/health_check.upbdefs.h +0 -76
  2406. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/http_uri.upbdefs.c +0 -53
  2407. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/http_uri.upbdefs.h +0 -36
  2408. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/protocol.upbdefs.c +0 -311
  2409. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/protocol.upbdefs.h +0 -111
  2410. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/proxy_protocol.upbdefs.c +0 -57
  2411. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/proxy_protocol.upbdefs.h +0 -41
  2412. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/resolver.upbdefs.c +0 -55
  2413. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/resolver.upbdefs.h +0 -41
  2414. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/socket_option.upbdefs.c +0 -61
  2415. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/socket_option.upbdefs.h +0 -41
  2416. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/substitution_format_string.upbdefs.c +0 -70
  2417. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/substitution_format_string.upbdefs.h +0 -36
  2418. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/udp_socket_config.upbdefs.c +0 -49
  2419. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/udp_socket_config.upbdefs.h +0 -36
  2420. data/src/core/ext/upbdefs-generated/envoy/config/endpoint/v3/endpoint.upbdefs.c +0 -99
  2421. data/src/core/ext/upbdefs-generated/envoy/config/endpoint/v3/endpoint.upbdefs.h +0 -51
  2422. data/src/core/ext/upbdefs-generated/envoy/config/endpoint/v3/endpoint_components.upbdefs.c +0 -133
  2423. data/src/core/ext/upbdefs-generated/envoy/config/endpoint/v3/endpoint_components.upbdefs.h +0 -61
  2424. data/src/core/ext/upbdefs-generated/envoy/config/endpoint/v3/load_report.upbdefs.c +0 -136
  2425. data/src/core/ext/upbdefs-generated/envoy/config/endpoint/v3/load_report.upbdefs.h +0 -56
  2426. data/src/core/ext/upbdefs-generated/envoy/config/listener/v3/api_listener.upbdefs.c +0 -48
  2427. data/src/core/ext/upbdefs-generated/envoy/config/listener/v3/api_listener.upbdefs.h +0 -36
  2428. data/src/core/ext/upbdefs-generated/envoy/config/listener/v3/listener.upbdefs.c +0 -227
  2429. data/src/core/ext/upbdefs-generated/envoy/config/listener/v3/listener.upbdefs.h +0 -81
  2430. data/src/core/ext/upbdefs-generated/envoy/config/listener/v3/listener_components.upbdefs.c +0 -190
  2431. data/src/core/ext/upbdefs-generated/envoy/config/listener/v3/listener_components.upbdefs.h +0 -66
  2432. data/src/core/ext/upbdefs-generated/envoy/config/listener/v3/quic_config.upbdefs.c +0 -101
  2433. data/src/core/ext/upbdefs-generated/envoy/config/listener/v3/quic_config.upbdefs.h +0 -36
  2434. data/src/core/ext/upbdefs-generated/envoy/config/listener/v3/udp_listener_config.upbdefs.c +0 -71
  2435. data/src/core/ext/upbdefs-generated/envoy/config/listener/v3/udp_listener_config.upbdefs.h +0 -41
  2436. data/src/core/ext/upbdefs-generated/envoy/config/metrics/v3/metrics_service.upbdefs.c +0 -76
  2437. data/src/core/ext/upbdefs-generated/envoy/config/metrics/v3/metrics_service.upbdefs.h +0 -36
  2438. data/src/core/ext/upbdefs-generated/envoy/config/metrics/v3/stats.upbdefs.c +0 -125
  2439. data/src/core/ext/upbdefs-generated/envoy/config/metrics/v3/stats.upbdefs.h +0 -71
  2440. data/src/core/ext/upbdefs-generated/envoy/config/overload/v3/overload.upbdefs.c +0 -142
  2441. data/src/core/ext/upbdefs-generated/envoy/config/overload/v3/overload.upbdefs.h +0 -81
  2442. data/src/core/ext/upbdefs-generated/envoy/config/rbac/v3/rbac.upbdefs.c +0 -223
  2443. data/src/core/ext/upbdefs-generated/envoy/config/rbac/v3/rbac.upbdefs.h +0 -86
  2444. data/src/core/ext/upbdefs-generated/envoy/config/route/v3/route.upbdefs.c +0 -123
  2445. data/src/core/ext/upbdefs-generated/envoy/config/route/v3/route.upbdefs.h +0 -46
  2446. data/src/core/ext/upbdefs-generated/envoy/config/route/v3/route_components.upbdefs.c +0 -972
  2447. data/src/core/ext/upbdefs-generated/envoy/config/route/v3/route_components.upbdefs.h +0 -316
  2448. data/src/core/ext/upbdefs-generated/envoy/config/route/v3/scoped_route.upbdefs.c +0 -77
  2449. data/src/core/ext/upbdefs-generated/envoy/config/route/v3/scoped_route.upbdefs.h +0 -46
  2450. data/src/core/ext/upbdefs-generated/envoy/config/tap/v3/common.upbdefs.c +0 -199
  2451. data/src/core/ext/upbdefs-generated/envoy/config/tap/v3/common.upbdefs.h +0 -91
  2452. data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/datadog.upbdefs.c +0 -56
  2453. data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/datadog.upbdefs.h +0 -36
  2454. data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/dynamic_ot.upbdefs.c +0 -57
  2455. data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/dynamic_ot.upbdefs.h +0 -36
  2456. data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/http_tracer.upbdefs.c +0 -57
  2457. data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/http_tracer.upbdefs.h +0 -41
  2458. data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/lightstep.upbdefs.c +0 -72
  2459. data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/lightstep.upbdefs.h +0 -36
  2460. data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/opencensus.upbdefs.c +0 -99
  2461. data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/opencensus.upbdefs.h +0 -36
  2462. data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/opentelemetry.upbdefs.c +0 -45
  2463. data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/opentelemetry.upbdefs.h +0 -36
  2464. data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/service.upbdefs.c +0 -52
  2465. data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/service.upbdefs.h +0 -36
  2466. data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/skywalking.upbdefs.c +0 -71
  2467. data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/skywalking.upbdefs.h +0 -41
  2468. data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/trace.upbdefs.c +0 -61
  2469. data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/trace.upbdefs.h +0 -31
  2470. data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/xray.upbdefs.c +0 -75
  2471. data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/xray.upbdefs.h +0 -41
  2472. data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/zipkin.upbdefs.c +0 -79
  2473. data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/zipkin.upbdefs.h +0 -36
  2474. data/src/core/ext/upbdefs-generated/envoy/data/accesslog/v3/accesslog.upbdefs.c +0 -402
  2475. data/src/core/ext/upbdefs-generated/envoy/data/accesslog/v3/accesslog.upbdefs.h +0 -111
  2476. data/src/core/ext/upbdefs-generated/envoy/extensions/clusters/aggregate/v3/cluster.upbdefs.c +0 -50
  2477. data/src/core/ext/upbdefs-generated/envoy/extensions/clusters/aggregate/v3/cluster.upbdefs.h +0 -36
  2478. data/src/core/ext/upbdefs-generated/envoy/extensions/filters/common/fault/v3/fault.upbdefs.c +0 -92
  2479. data/src/core/ext/upbdefs-generated/envoy/extensions/filters/common/fault/v3/fault.upbdefs.h +0 -56
  2480. data/src/core/ext/upbdefs-generated/envoy/extensions/filters/http/fault/v3/fault.upbdefs.c +0 -123
  2481. data/src/core/ext/upbdefs-generated/envoy/extensions/filters/http/fault/v3/fault.upbdefs.h +0 -46
  2482. data/src/core/ext/upbdefs-generated/envoy/extensions/filters/http/rbac/v3/rbac.upbdefs.c +0 -80
  2483. data/src/core/ext/upbdefs-generated/envoy/extensions/filters/http/rbac/v3/rbac.upbdefs.h +0 -41
  2484. data/src/core/ext/upbdefs-generated/envoy/extensions/filters/http/router/v3/router.upbdefs.c +0 -105
  2485. data/src/core/ext/upbdefs-generated/envoy/extensions/filters/http/router/v3/router.upbdefs.h +0 -41
  2486. data/src/core/ext/upbdefs-generated/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upbdefs.c +0 -60
  2487. data/src/core/ext/upbdefs-generated/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upbdefs.h +0 -41
  2488. data/src/core/ext/upbdefs-generated/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upbdefs.c +0 -602
  2489. data/src/core/ext/upbdefs-generated/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upbdefs.h +0 -136
  2490. data/src/core/ext/upbdefs-generated/envoy/extensions/http/stateful_session/cookie/v3/cookie.upbdefs.c +0 -50
  2491. data/src/core/ext/upbdefs-generated/envoy/extensions/http/stateful_session/cookie/v3/cookie.upbdefs.h +0 -36
  2492. data/src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/cert.upbdefs.c +0 -48
  2493. data/src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/cert.upbdefs.h +0 -31
  2494. data/src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/common.upbdefs.c +0 -215
  2495. data/src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/common.upbdefs.h +0 -66
  2496. data/src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/secret.upbdefs.c +0 -91
  2497. data/src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/secret.upbdefs.h +0 -46
  2498. data/src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/tls.upbdefs.c +0 -258
  2499. data/src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/tls.upbdefs.h +0 -66
  2500. data/src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upbdefs.c +0 -58
  2501. data/src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upbdefs.h +0 -41
  2502. data/src/core/ext/upbdefs-generated/envoy/service/discovery/v3/ads.upbdefs.c +0 -58
  2503. data/src/core/ext/upbdefs-generated/envoy/service/discovery/v3/ads.upbdefs.h +0 -36
  2504. data/src/core/ext/upbdefs-generated/envoy/service/discovery/v3/discovery.upbdefs.c +0 -200
  2505. data/src/core/ext/upbdefs-generated/envoy/service/discovery/v3/discovery.upbdefs.h +0 -101
  2506. data/src/core/ext/upbdefs-generated/envoy/service/load_stats/v3/lrs.upbdefs.c +0 -76
  2507. data/src/core/ext/upbdefs-generated/envoy/service/load_stats/v3/lrs.upbdefs.h +0 -41
  2508. data/src/core/ext/upbdefs-generated/envoy/service/status/v3/csds.upbdefs.c +0 -152
  2509. data/src/core/ext/upbdefs-generated/envoy/service/status/v3/csds.upbdefs.h +0 -56
  2510. data/src/core/ext/upbdefs-generated/envoy/type/http/v3/cookie.upbdefs.c +0 -46
  2511. data/src/core/ext/upbdefs-generated/envoy/type/http/v3/cookie.upbdefs.h +0 -36
  2512. data/src/core/ext/upbdefs-generated/envoy/type/http/v3/path_transformation.upbdefs.c +0 -56
  2513. data/src/core/ext/upbdefs-generated/envoy/type/http/v3/path_transformation.upbdefs.h +0 -51
  2514. data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/filter_state.upbdefs.c +0 -48
  2515. data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/filter_state.upbdefs.h +0 -36
  2516. data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/http_inputs.upbdefs.c +0 -55
  2517. data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/http_inputs.upbdefs.h +0 -56
  2518. data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/metadata.upbdefs.c +0 -61
  2519. data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/metadata.upbdefs.h +0 -41
  2520. data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/node.upbdefs.c +0 -54
  2521. data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/node.upbdefs.h +0 -36
  2522. data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/number.upbdefs.c +0 -52
  2523. data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/number.upbdefs.h +0 -36
  2524. data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/path.upbdefs.c +0 -51
  2525. data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/path.upbdefs.h +0 -36
  2526. data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/regex.upbdefs.c +0 -71
  2527. data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/regex.upbdefs.h +0 -46
  2528. data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/status_code_input.upbdefs.c +0 -40
  2529. data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/status_code_input.upbdefs.h +0 -41
  2530. data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/string.upbdefs.c +0 -65
  2531. data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/string.upbdefs.h +0 -41
  2532. data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/struct.upbdefs.c +0 -58
  2533. data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/struct.upbdefs.h +0 -41
  2534. data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/value.upbdefs.c +0 -75
  2535. data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/value.upbdefs.h +0 -46
  2536. data/src/core/ext/upbdefs-generated/envoy/type/metadata/v3/metadata.upbdefs.c +0 -78
  2537. data/src/core/ext/upbdefs-generated/envoy/type/metadata/v3/metadata.upbdefs.h +0 -66
  2538. data/src/core/ext/upbdefs-generated/envoy/type/tracing/v3/custom_tag.upbdefs.c +0 -85
  2539. data/src/core/ext/upbdefs-generated/envoy/type/tracing/v3/custom_tag.upbdefs.h +0 -56
  2540. data/src/core/ext/upbdefs-generated/envoy/type/v3/hash_policy.upbdefs.c +0 -53
  2541. data/src/core/ext/upbdefs-generated/envoy/type/v3/hash_policy.upbdefs.h +0 -46
  2542. data/src/core/ext/upbdefs-generated/envoy/type/v3/http.upbdefs.c +0 -36
  2543. data/src/core/ext/upbdefs-generated/envoy/type/v3/http.upbdefs.h +0 -31
  2544. data/src/core/ext/upbdefs-generated/envoy/type/v3/http_status.upbdefs.c +0 -94
  2545. data/src/core/ext/upbdefs-generated/envoy/type/v3/http_status.upbdefs.h +0 -36
  2546. data/src/core/ext/upbdefs-generated/envoy/type/v3/percent.upbdefs.c +0 -54
  2547. data/src/core/ext/upbdefs-generated/envoy/type/v3/percent.upbdefs.h +0 -41
  2548. data/src/core/ext/upbdefs-generated/envoy/type/v3/range.upbdefs.c +0 -48
  2549. data/src/core/ext/upbdefs-generated/envoy/type/v3/range.upbdefs.h +0 -46
  2550. data/src/core/ext/upbdefs-generated/envoy/type/v3/ratelimit_strategy.upbdefs.c +0 -69
  2551. data/src/core/ext/upbdefs-generated/envoy/type/v3/ratelimit_strategy.upbdefs.h +0 -41
  2552. data/src/core/ext/upbdefs-generated/envoy/type/v3/ratelimit_unit.upbdefs.c +0 -39
  2553. data/src/core/ext/upbdefs-generated/envoy/type/v3/ratelimit_unit.upbdefs.h +0 -31
  2554. data/src/core/ext/upbdefs-generated/envoy/type/v3/semantic_version.upbdefs.c +0 -44
  2555. data/src/core/ext/upbdefs-generated/envoy/type/v3/semantic_version.upbdefs.h +0 -36
  2556. data/src/core/ext/upbdefs-generated/envoy/type/v3/token_bucket.upbdefs.c +0 -57
  2557. data/src/core/ext/upbdefs-generated/envoy/type/v3/token_bucket.upbdefs.h +0 -36
  2558. data/src/core/ext/upbdefs-generated/google/api/annotations.upbdefs.c +0 -40
  2559. data/src/core/ext/upbdefs-generated/google/api/annotations.upbdefs.h +0 -31
  2560. data/src/core/ext/upbdefs-generated/google/api/expr/v1alpha1/checked.upbdefs.c +0 -154
  2561. data/src/core/ext/upbdefs-generated/google/api/expr/v1alpha1/checked.upbdefs.h +0 -96
  2562. data/src/core/ext/upbdefs-generated/google/api/expr/v1alpha1/syntax.upbdefs.c +0 -153
  2563. data/src/core/ext/upbdefs-generated/google/api/expr/v1alpha1/syntax.upbdefs.h +0 -101
  2564. data/src/core/ext/upbdefs-generated/google/api/http.upbdefs.c +0 -52
  2565. data/src/core/ext/upbdefs-generated/google/api/http.upbdefs.h +0 -46
  2566. data/src/core/ext/upbdefs-generated/google/api/httpbody.upbdefs.c +0 -39
  2567. data/src/core/ext/upbdefs-generated/google/api/httpbody.upbdefs.h +0 -36
  2568. data/src/core/ext/upbdefs-generated/google/protobuf/any.upbdefs.c +0 -34
  2569. data/src/core/ext/upbdefs-generated/google/protobuf/any.upbdefs.h +0 -36
  2570. data/src/core/ext/upbdefs-generated/google/protobuf/descriptor.upbdefs.c +0 -387
  2571. data/src/core/ext/upbdefs-generated/google/protobuf/descriptor.upbdefs.h +0 -171
  2572. data/src/core/ext/upbdefs-generated/google/protobuf/duration.upbdefs.c +0 -35
  2573. data/src/core/ext/upbdefs-generated/google/protobuf/duration.upbdefs.h +0 -36
  2574. data/src/core/ext/upbdefs-generated/google/protobuf/empty.upbdefs.c +0 -32
  2575. data/src/core/ext/upbdefs-generated/google/protobuf/empty.upbdefs.h +0 -36
  2576. data/src/core/ext/upbdefs-generated/google/protobuf/struct.upbdefs.c +0 -54
  2577. data/src/core/ext/upbdefs-generated/google/protobuf/struct.upbdefs.h +0 -51
  2578. data/src/core/ext/upbdefs-generated/google/protobuf/timestamp.upbdefs.c +0 -35
  2579. data/src/core/ext/upbdefs-generated/google/protobuf/timestamp.upbdefs.h +0 -36
  2580. data/src/core/ext/upbdefs-generated/google/protobuf/wrappers.upbdefs.c +0 -45
  2581. data/src/core/ext/upbdefs-generated/google/protobuf/wrappers.upbdefs.h +0 -76
  2582. data/src/core/ext/upbdefs-generated/google/rpc/status.upbdefs.c +0 -37
  2583. data/src/core/ext/upbdefs-generated/google/rpc/status.upbdefs.h +0 -36
  2584. data/src/core/ext/upbdefs-generated/opencensus/proto/trace/v1/trace_config.upbdefs.c +0 -67
  2585. data/src/core/ext/upbdefs-generated/opencensus/proto/trace/v1/trace_config.upbdefs.h +0 -51
  2586. data/src/core/ext/upbdefs-generated/src/proto/grpc/lookup/v1/rls_config.upbdefs.c +0 -99
  2587. data/src/core/ext/upbdefs-generated/src/proto/grpc/lookup/v1/rls_config.upbdefs.h +0 -76
  2588. data/src/core/ext/upbdefs-generated/udpa/annotations/migrate.upbdefs.c +0 -62
  2589. data/src/core/ext/upbdefs-generated/udpa/annotations/migrate.upbdefs.h +0 -46
  2590. data/src/core/ext/upbdefs-generated/udpa/annotations/security.upbdefs.c +0 -47
  2591. data/src/core/ext/upbdefs-generated/udpa/annotations/security.upbdefs.h +0 -36
  2592. data/src/core/ext/upbdefs-generated/udpa/annotations/sensitive.upbdefs.c +0 -34
  2593. data/src/core/ext/upbdefs-generated/udpa/annotations/sensitive.upbdefs.h +0 -31
  2594. data/src/core/ext/upbdefs-generated/udpa/annotations/status.upbdefs.c +0 -46
  2595. data/src/core/ext/upbdefs-generated/udpa/annotations/status.upbdefs.h +0 -36
  2596. data/src/core/ext/upbdefs-generated/udpa/annotations/versioning.upbdefs.c +0 -39
  2597. data/src/core/ext/upbdefs-generated/udpa/annotations/versioning.upbdefs.h +0 -36
  2598. data/src/core/ext/upbdefs-generated/validate/validate.upbdefs.c +0 -283
  2599. data/src/core/ext/upbdefs-generated/validate/validate.upbdefs.h +0 -146
  2600. data/src/core/ext/upbdefs-generated/xds/annotations/v3/migrate.upbdefs.c +0 -63
  2601. data/src/core/ext/upbdefs-generated/xds/annotations/v3/migrate.upbdefs.h +0 -46
  2602. data/src/core/ext/upbdefs-generated/xds/annotations/v3/security.upbdefs.c +0 -47
  2603. data/src/core/ext/upbdefs-generated/xds/annotations/v3/security.upbdefs.h +0 -36
  2604. data/src/core/ext/upbdefs-generated/xds/annotations/v3/sensitive.upbdefs.c +0 -35
  2605. data/src/core/ext/upbdefs-generated/xds/annotations/v3/sensitive.upbdefs.h +0 -31
  2606. data/src/core/ext/upbdefs-generated/xds/annotations/v3/status.upbdefs.c +0 -64
  2607. data/src/core/ext/upbdefs-generated/xds/annotations/v3/status.upbdefs.h +0 -51
  2608. data/src/core/ext/upbdefs-generated/xds/annotations/v3/versioning.upbdefs.c +0 -40
  2609. data/src/core/ext/upbdefs-generated/xds/annotations/v3/versioning.upbdefs.h +0 -36
  2610. data/src/core/ext/upbdefs-generated/xds/core/v3/authority.upbdefs.c +0 -38
  2611. data/src/core/ext/upbdefs-generated/xds/core/v3/authority.upbdefs.h +0 -36
  2612. data/src/core/ext/upbdefs-generated/xds/core/v3/cidr.upbdefs.c +0 -45
  2613. data/src/core/ext/upbdefs-generated/xds/core/v3/cidr.upbdefs.h +0 -36
  2614. data/src/core/ext/upbdefs-generated/xds/core/v3/collection_entry.upbdefs.c +0 -56
  2615. data/src/core/ext/upbdefs-generated/xds/core/v3/collection_entry.upbdefs.h +0 -41
  2616. data/src/core/ext/upbdefs-generated/xds/core/v3/context_params.upbdefs.c +0 -39
  2617. data/src/core/ext/upbdefs-generated/xds/core/v3/context_params.upbdefs.h +0 -41
  2618. data/src/core/ext/upbdefs-generated/xds/core/v3/extension.upbdefs.c +0 -41
  2619. data/src/core/ext/upbdefs-generated/xds/core/v3/extension.upbdefs.h +0 -36
  2620. data/src/core/ext/upbdefs-generated/xds/core/v3/resource.upbdefs.c +0 -45
  2621. data/src/core/ext/upbdefs-generated/xds/core/v3/resource.upbdefs.h +0 -36
  2622. data/src/core/ext/upbdefs-generated/xds/core/v3/resource_locator.upbdefs.c +0 -61
  2623. data/src/core/ext/upbdefs-generated/xds/core/v3/resource_locator.upbdefs.h +0 -41
  2624. data/src/core/ext/upbdefs-generated/xds/core/v3/resource_name.upbdefs.c +0 -46
  2625. data/src/core/ext/upbdefs-generated/xds/core/v3/resource_name.upbdefs.h +0 -36
  2626. data/src/core/ext/upbdefs-generated/xds/type/matcher/v3/cel.upbdefs.c +0 -43
  2627. data/src/core/ext/upbdefs-generated/xds/type/matcher/v3/cel.upbdefs.h +0 -36
  2628. data/src/core/ext/upbdefs-generated/xds/type/matcher/v3/domain.upbdefs.c +0 -51
  2629. data/src/core/ext/upbdefs-generated/xds/type/matcher/v3/domain.upbdefs.h +0 -41
  2630. data/src/core/ext/upbdefs-generated/xds/type/matcher/v3/http_inputs.upbdefs.c +0 -36
  2631. data/src/core/ext/upbdefs-generated/xds/type/matcher/v3/http_inputs.upbdefs.h +0 -36
  2632. data/src/core/ext/upbdefs-generated/xds/type/matcher/v3/ip.upbdefs.c +0 -55
  2633. data/src/core/ext/upbdefs-generated/xds/type/matcher/v3/ip.upbdefs.h +0 -41
  2634. data/src/core/ext/upbdefs-generated/xds/type/matcher/v3/matcher.upbdefs.c +0 -126
  2635. data/src/core/ext/upbdefs-generated/xds/type/matcher/v3/matcher.upbdefs.h +0 -81
  2636. data/src/core/ext/upbdefs-generated/xds/type/matcher/v3/range.upbdefs.c +0 -71
  2637. data/src/core/ext/upbdefs-generated/xds/type/matcher/v3/range.upbdefs.h +0 -61
  2638. data/src/core/ext/upbdefs-generated/xds/type/matcher/v3/regex.upbdefs.c +0 -40
  2639. data/src/core/ext/upbdefs-generated/xds/type/matcher/v3/regex.upbdefs.h +0 -41
  2640. data/src/core/ext/upbdefs-generated/xds/type/matcher/v3/string.upbdefs.c +0 -52
  2641. data/src/core/ext/upbdefs-generated/xds/type/matcher/v3/string.upbdefs.h +0 -41
  2642. data/src/core/ext/upbdefs-generated/xds/type/v3/cel.upbdefs.c +0 -60
  2643. data/src/core/ext/upbdefs-generated/xds/type/v3/cel.upbdefs.h +0 -41
  2644. data/src/core/ext/upbdefs-generated/xds/type/v3/range.upbdefs.c +0 -36
  2645. data/src/core/ext/upbdefs-generated/xds/type/v3/range.upbdefs.h +0 -46
  2646. data/src/core/ext/upbdefs-generated/xds/type/v3/typed_struct.upbdefs.c +0 -37
  2647. data/src/core/ext/upbdefs-generated/xds/type/v3/typed_struct.upbdefs.h +0 -36
  2648. data/src/core/lib/event_engine/memory_allocator.cc +0 -74
  2649. data/src/core/lib/event_engine/thread_pool/original_thread_pool.cc +0 -256
  2650. data/src/core/lib/event_engine/thread_pool/original_thread_pool.h +0 -137
  2651. data/src/core/lib/iomgr/load_file.cc +0 -78
  2652. data/src/core/lib/iomgr/load_file.h +0 -35
  2653. data/src/core/lib/load_balancing/delegating_helper.h +0 -115
  2654. data/src/core/lib/load_balancing/lb_policy.cc +0 -98
  2655. data/src/core/lib/load_balancing/lb_policy.h +0 -477
  2656. data/src/core/lib/load_balancing/lb_policy_factory.h +0 -49
  2657. data/src/core/lib/load_balancing/lb_policy_registry.cc +0 -143
  2658. data/src/core/lib/load_balancing/lb_policy_registry.h +0 -82
  2659. data/src/core/lib/load_balancing/subchannel_interface.h +0 -141
  2660. data/src/core/lib/resolver/resolver.cc +0 -37
  2661. data/src/core/lib/resolver/resolver.h +0 -138
  2662. data/src/core/lib/resolver/resolver_factory.h +0 -78
  2663. data/src/core/lib/resolver/resolver_registry.cc +0 -164
  2664. data/src/core/lib/resolver/resolver_registry.h +0 -123
  2665. data/src/core/lib/resolver/server_address.cc +0 -89
  2666. data/src/core/lib/resolver/server_address.h +0 -85
  2667. data/src/core/lib/service_config/service_config.h +0 -89
  2668. data/src/core/lib/service_config/service_config_call_data.h +0 -116
  2669. data/src/core/lib/service_config/service_config_impl.cc +0 -198
  2670. data/src/core/lib/service_config/service_config_impl.h +0 -125
  2671. data/src/core/lib/service_config/service_config_parser.cc +0 -81
  2672. data/src/core/lib/service_config/service_config_parser.h +0 -105
  2673. data/src/core/lib/transport/pid_controller.cc +0 -51
  2674. data/src/core/lib/transport/pid_controller.h +0 -116
  2675. data/src/core/lib/transport/transport_impl.h +0 -102
  2676. data/third_party/abseil-cpp/absl/base/internal/prefetch.h +0 -137
  2677. data/third_party/abseil-cpp/absl/base/internal/thread_annotations.h +0 -280
  2678. data/third_party/abseil-cpp/absl/crc/internal/crc_memcpy_x86_64.cc +0 -432
  2679. data/third_party/abseil-cpp/absl/flags/flag.cc +0 -38
  2680. data/third_party/abseil-cpp/absl/flags/internal/flag_msvc.inc +0 -116
  2681. data/third_party/abseil-cpp/absl/strings/internal/char_map.h +0 -158
  2682. data/third_party/abseil-cpp/absl/strings/internal/cord_rep_ring.cc +0 -773
  2683. data/third_party/abseil-cpp/absl/strings/internal/cord_rep_ring.h +0 -607
  2684. data/third_party/abseil-cpp/absl/strings/internal/cord_rep_ring_reader.h +0 -118
  2685. data/third_party/boringssl-with-bazel/src/crypto/kyber/keccak.c +0 -204
  2686. data/third_party/boringssl-with-bazel/src/crypto/x509/x_info.c +0 -100
  2687. data/third_party/boringssl-with-bazel/src/crypto/x509/x_pkey.c +0 -111
  2688. data/third_party/boringssl-with-bazel/src/crypto/x509v3/internal.h +0 -197
  2689. data/third_party/boringssl-with-bazel/src/crypto/x509v3/v3_akey.c +0 -221
  2690. data/third_party/boringssl-with-bazel/src/crypto/x509v3/v3_akeya.c +0 -71
  2691. data/third_party/boringssl-with-bazel/src/crypto/x509v3/v3_alt.c +0 -635
  2692. data/third_party/boringssl-with-bazel/src/crypto/x509v3/v3_bcons.c +0 -135
  2693. data/third_party/boringssl-with-bazel/src/crypto/x509v3/v3_bitst.c +0 -141
  2694. data/third_party/boringssl-with-bazel/src/crypto/x509v3/v3_conf.c +0 -418
  2695. data/third_party/boringssl-with-bazel/src/crypto/x509v3/v3_cpols.c +0 -477
  2696. data/third_party/boringssl-with-bazel/src/crypto/x509v3/v3_crld.c +0 -599
  2697. data/third_party/boringssl-with-bazel/src/crypto/x509v3/v3_enum.c +0 -111
  2698. data/third_party/boringssl-with-bazel/src/crypto/x509v3/v3_extku.c +0 -154
  2699. data/third_party/boringssl-with-bazel/src/crypto/x509v3/v3_genn.c +0 -270
  2700. data/third_party/boringssl-with-bazel/src/crypto/x509v3/v3_ia5.c +0 -122
  2701. data/third_party/boringssl-with-bazel/src/crypto/x509v3/v3_info.c +0 -213
  2702. data/third_party/boringssl-with-bazel/src/crypto/x509v3/v3_int.c +0 -121
  2703. data/third_party/boringssl-with-bazel/src/crypto/x509v3/v3_lib.c +0 -341
  2704. data/third_party/boringssl-with-bazel/src/crypto/x509v3/v3_ncons.c +0 -555
  2705. data/third_party/boringssl-with-bazel/src/crypto/x509v3/v3_ocsp.c +0 -81
  2706. data/third_party/boringssl-with-bazel/src/crypto/x509v3/v3_pcons.c +0 -142
  2707. data/third_party/boringssl-with-bazel/src/crypto/x509v3/v3_pmaps.c +0 -150
  2708. data/third_party/boringssl-with-bazel/src/crypto/x509v3/v3_prn.c +0 -225
  2709. data/third_party/boringssl-with-bazel/src/crypto/x509v3/v3_purp.c +0 -888
  2710. data/third_party/boringssl-with-bazel/src/crypto/x509v3/v3_skey.c +0 -171
  2711. data/third_party/boringssl-with-bazel/src/crypto/x509v3/v3_utl.c +0 -1355
  2712. data/third_party/upb/upb/alloc.h +0 -36
  2713. data/third_party/upb/upb/arena.h +0 -36
  2714. data/third_party/upb/upb/array.h +0 -36
  2715. data/third_party/upb/upb/base/log2.h +0 -57
  2716. data/third_party/upb/upb/collections/array.c +0 -145
  2717. data/third_party/upb/upb/collections/array.h +0 -85
  2718. data/third_party/upb/upb/collections/array_internal.h +0 -135
  2719. data/third_party/upb/upb/collections/map.c +0 -135
  2720. data/third_party/upb/upb/collections/map.h +0 -135
  2721. data/third_party/upb/upb/collections/map_gencode_util.h +0 -78
  2722. data/third_party/upb/upb/collections/map_internal.h +0 -170
  2723. data/third_party/upb/upb/collections/map_sorter.c +0 -166
  2724. data/third_party/upb/upb/collections/map_sorter_internal.h +0 -109
  2725. data/third_party/upb/upb/collections/message_value.h +0 -65
  2726. data/third_party/upb/upb/decode.h +0 -36
  2727. data/third_party/upb/upb/def.h +0 -36
  2728. data/third_party/upb/upb/def.hpp +0 -33
  2729. data/third_party/upb/upb/encode.h +0 -36
  2730. data/third_party/upb/upb/extension_registry.h +0 -35
  2731. data/third_party/upb/upb/json_decode.h +0 -36
  2732. data/third_party/upb/upb/json_encode.h +0 -36
  2733. data/third_party/upb/upb/map.h +0 -36
  2734. data/third_party/upb/upb/mem/arena_internal.h +0 -114
  2735. data/third_party/upb/upb/message/accessors_internal.h +0 -325
  2736. data/third_party/upb/upb/message/extension_internal.h +0 -83
  2737. data/third_party/upb/upb/message/internal.h +0 -135
  2738. data/third_party/upb/upb/mini_table/common.c +0 -128
  2739. data/third_party/upb/upb/mini_table/common.h +0 -170
  2740. data/third_party/upb/upb/mini_table/common_internal.h +0 -111
  2741. data/third_party/upb/upb/mini_table/decode.c +0 -1127
  2742. data/third_party/upb/upb/mini_table/decode.h +0 -179
  2743. data/third_party/upb/upb/mini_table/encode.c +0 -300
  2744. data/third_party/upb/upb/mini_table/encode_internal.h +0 -111
  2745. data/third_party/upb/upb/mini_table/encode_internal.hpp +0 -136
  2746. data/third_party/upb/upb/mini_table/enum_internal.h +0 -88
  2747. data/third_party/upb/upb/mini_table/extension_internal.h +0 -47
  2748. data/third_party/upb/upb/mini_table/field_internal.h +0 -192
  2749. data/third_party/upb/upb/mini_table/file_internal.h +0 -47
  2750. data/third_party/upb/upb/mini_table/message_internal.h +0 -136
  2751. data/third_party/upb/upb/mini_table/sub_internal.h +0 -38
  2752. data/third_party/upb/upb/mini_table/types.h +0 -40
  2753. data/third_party/upb/upb/msg.h +0 -36
  2754. data/third_party/upb/upb/reflection/def_builder.c +0 -357
  2755. data/third_party/upb/upb/reflection/def_builder_internal.h +0 -157
  2756. data/third_party/upb/upb/reflection/def_pool_internal.h +0 -77
  2757. data/third_party/upb/upb/reflection/desc_state_internal.h +0 -64
  2758. data/third_party/upb/upb/reflection/enum_def_internal.h +0 -56
  2759. data/third_party/upb/upb/reflection/enum_reserved_range_internal.h +0 -55
  2760. data/third_party/upb/upb/reflection/enum_value_def_internal.h +0 -57
  2761. data/third_party/upb/upb/reflection/extension_range_internal.h +0 -54
  2762. data/third_party/upb/upb/reflection/field_def_internal.h +0 -76
  2763. data/third_party/upb/upb/reflection/file_def_internal.h +0 -57
  2764. data/third_party/upb/upb/reflection/message_def_internal.h +0 -63
  2765. data/third_party/upb/upb/reflection/message_reserved_range_internal.h +0 -55
  2766. data/third_party/upb/upb/reflection/method_def_internal.h +0 -53
  2767. data/third_party/upb/upb/reflection/oneof_def_internal.h +0 -57
  2768. data/third_party/upb/upb/reflection/service_def_internal.h +0 -53
  2769. data/third_party/upb/upb/reflection.h +0 -36
  2770. data/third_party/upb/upb/reflection.hpp +0 -33
  2771. data/third_party/upb/upb/status.h +0 -36
  2772. data/third_party/upb/upb/string_view.h +0 -36
  2773. data/third_party/upb/upb/text_encode.h +0 -36
  2774. data/third_party/upb/upb/upb.h +0 -39
  2775. data/third_party/upb/upb/upb.hpp +0 -107
  2776. data/third_party/upb/upb/wire/common.h +0 -44
  2777. data/third_party/upb/upb/wire/common_internal.h +0 -50
  2778. data/third_party/upb/upb/wire/decode_internal.h +0 -163
  2779. data/third_party/upb/upb/wire/swap_internal.h +0 -63
  2780. /data/third_party/boringssl-with-bazel/src/crypto/{x509v3 → x509}/ext_dat.h +0 -0
@@ -24,13 +24,16 @@
24
24
  #include <utility>
25
25
 
26
26
  #include "absl/base/attributes.h"
27
+ #include "absl/strings/str_cat.h"
27
28
 
28
29
  #include <grpc/support/log.h>
29
30
 
30
31
  #include "src/core/lib/gprpp/construct_destruct.h"
32
+ #include "src/core/lib/gprpp/debug_location.h"
31
33
  #include "src/core/lib/promise/detail/promise_factory.h"
32
34
  #include "src/core/lib/promise/detail/promise_like.h"
33
35
  #include "src/core/lib/promise/poll.h"
36
+ #include "src/core/lib/promise/trace.h"
34
37
 
35
38
  // A sequence under some traits for some set of callables P, Fs.
36
39
  // P should be a promise-like object that yields a value.
@@ -97,8 +100,9 @@ struct SeqState<Traits, P, F0> {
97
100
  };
98
101
  enum class State : uint8_t { kState0, kState1 };
99
102
  GPR_NO_UNIQUE_ADDRESS State state = State::kState0;
103
+ GPR_NO_UNIQUE_ADDRESS DebugLocation whence;
100
104
 
101
- SeqState(P&& p, F0&& f0) noexcept {
105
+ SeqState(P&& p, F0&& f0, DebugLocation whence) noexcept : whence(whence) {
102
106
  Construct(&prior.current_promise, std::forward<P>(p));
103
107
  Construct(&prior.next_factory, std::forward<F0>(f0));
104
108
  }
@@ -114,13 +118,15 @@ struct SeqState<Traits, P, F0> {
114
118
  tail0:
115
119
  Destruct(&prior.next_factory);
116
120
  }
117
- SeqState(const SeqState& other) noexcept : state(other.state) {
121
+ SeqState(const SeqState& other) noexcept
122
+ : state(other.state), whence(other.whence) {
118
123
  GPR_ASSERT(state == State::kState0);
119
124
  Construct(&prior.current_promise, other.prior.current_promise);
120
125
  Construct(&prior.next_factory, other.prior.next_factory);
121
126
  }
122
127
  SeqState& operator=(const SeqState& other) = delete;
123
- SeqState(SeqState&& other) noexcept : state(other.state) {
128
+ SeqState(SeqState&& other) noexcept
129
+ : state(other.state), whence(other.whence) {
124
130
  switch (state) {
125
131
  case State::kState0:
126
132
  Construct(&prior.current_promise,
@@ -137,8 +143,24 @@ struct SeqState<Traits, P, F0> {
137
143
  Poll<Result> PollOnce() {
138
144
  switch (state) {
139
145
  case State::kState0: {
146
+ if (grpc_trace_promise_primitives.enabled()) {
147
+ gpr_log(whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG,
148
+ "seq[%p]: begin poll step 1/2", this);
149
+ }
140
150
  auto result = prior.current_promise();
141
151
  PromiseResult0* p = result.value_if_ready();
152
+ if (grpc_trace_promise_primitives.enabled()) {
153
+ gpr_log(
154
+ whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG,
155
+ "seq[%p]: poll step 1/2 gets %s", this,
156
+ p != nullptr
157
+ ? (PromiseResultTraits0::IsOk(*p)
158
+ ? "ready"
159
+ : absl::StrCat("early-error:",
160
+ PromiseResultTraits0::ErrorString(*p))
161
+ .c_str())
162
+ : "pending");
163
+ }
142
164
  if (p == nullptr) return Pending{};
143
165
  if (!PromiseResultTraits0::IsOk(*p)) {
144
166
  return PromiseResultTraits0::template ReturnValue<Result>(
@@ -154,7 +176,16 @@ struct SeqState<Traits, P, F0> {
154
176
  ABSL_FALLTHROUGH_INTENDED;
155
177
  default:
156
178
  case State::kState1: {
179
+ if (grpc_trace_promise_primitives.enabled()) {
180
+ gpr_log(whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG,
181
+ "seq[%p]: begin poll step 2/2", this);
182
+ }
157
183
  auto result = current_promise();
184
+ if (grpc_trace_promise_primitives.enabled()) {
185
+ gpr_log(whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG,
186
+ "seq[%p]: poll step 2/2 gets %s", this,
187
+ result.ready() ? "ready" : "pending");
188
+ }
158
189
  auto* p = result.value_if_ready();
159
190
  if (p == nullptr) return Pending{};
160
191
  return Result(std::move(*p));
@@ -197,8 +228,10 @@ struct SeqState<Traits, P, F0, F1> {
197
228
  };
198
229
  enum class State : uint8_t { kState0, kState1, kState2 };
199
230
  GPR_NO_UNIQUE_ADDRESS State state = State::kState0;
231
+ GPR_NO_UNIQUE_ADDRESS DebugLocation whence;
200
232
 
201
- SeqState(P&& p, F0&& f0, F1&& f1) noexcept {
233
+ SeqState(P&& p, F0&& f0, F1&& f1, DebugLocation whence) noexcept
234
+ : whence(whence) {
202
235
  Construct(&prior.prior.current_promise, std::forward<P>(p));
203
236
  Construct(&prior.prior.next_factory, std::forward<F0>(f0));
204
237
  Construct(&prior.next_factory, std::forward<F1>(f1));
@@ -220,14 +253,16 @@ struct SeqState<Traits, P, F0, F1> {
220
253
  tail1:
221
254
  Destruct(&prior.next_factory);
222
255
  }
223
- SeqState(const SeqState& other) noexcept : state(other.state) {
256
+ SeqState(const SeqState& other) noexcept
257
+ : state(other.state), whence(other.whence) {
224
258
  GPR_ASSERT(state == State::kState0);
225
259
  Construct(&prior.current_promise, other.prior.current_promise);
226
260
  Construct(&prior.prior.next_factory, other.prior.prior.next_factory);
227
261
  Construct(&prior.next_factory, other.prior.next_factory);
228
262
  }
229
263
  SeqState& operator=(const SeqState& other) = delete;
230
- SeqState(SeqState&& other) noexcept : state(other.state) {
264
+ SeqState(SeqState&& other) noexcept
265
+ : state(other.state), whence(other.whence) {
231
266
  switch (state) {
232
267
  case State::kState0:
233
268
  Construct(&prior.prior.current_promise,
@@ -251,8 +286,24 @@ struct SeqState<Traits, P, F0, F1> {
251
286
  Poll<Result> PollOnce() {
252
287
  switch (state) {
253
288
  case State::kState0: {
289
+ if (grpc_trace_promise_primitives.enabled()) {
290
+ gpr_log(whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG,
291
+ "seq[%p]: begin poll step 1/3", this);
292
+ }
254
293
  auto result = prior.prior.current_promise();
255
294
  PromiseResult0* p = result.value_if_ready();
295
+ if (grpc_trace_promise_primitives.enabled()) {
296
+ gpr_log(
297
+ whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG,
298
+ "seq[%p]: poll step 1/3 gets %s", this,
299
+ p != nullptr
300
+ ? (PromiseResultTraits0::IsOk(*p)
301
+ ? "ready"
302
+ : absl::StrCat("early-error:",
303
+ PromiseResultTraits0::ErrorString(*p))
304
+ .c_str())
305
+ : "pending");
306
+ }
256
307
  if (p == nullptr) return Pending{};
257
308
  if (!PromiseResultTraits0::IsOk(*p)) {
258
309
  return PromiseResultTraits0::template ReturnValue<Result>(
@@ -267,8 +318,24 @@ struct SeqState<Traits, P, F0, F1> {
267
318
  }
268
319
  ABSL_FALLTHROUGH_INTENDED;
269
320
  case State::kState1: {
321
+ if (grpc_trace_promise_primitives.enabled()) {
322
+ gpr_log(whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG,
323
+ "seq[%p]: begin poll step 2/3", this);
324
+ }
270
325
  auto result = prior.current_promise();
271
326
  PromiseResult1* p = result.value_if_ready();
327
+ if (grpc_trace_promise_primitives.enabled()) {
328
+ gpr_log(
329
+ whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG,
330
+ "seq[%p]: poll step 2/3 gets %s", this,
331
+ p != nullptr
332
+ ? (PromiseResultTraits1::IsOk(*p)
333
+ ? "ready"
334
+ : absl::StrCat("early-error:",
335
+ PromiseResultTraits1::ErrorString(*p))
336
+ .c_str())
337
+ : "pending");
338
+ }
272
339
  if (p == nullptr) return Pending{};
273
340
  if (!PromiseResultTraits1::IsOk(*p)) {
274
341
  return PromiseResultTraits1::template ReturnValue<Result>(
@@ -284,7 +351,16 @@ struct SeqState<Traits, P, F0, F1> {
284
351
  ABSL_FALLTHROUGH_INTENDED;
285
352
  default:
286
353
  case State::kState2: {
354
+ if (grpc_trace_promise_primitives.enabled()) {
355
+ gpr_log(whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG,
356
+ "seq[%p]: begin poll step 3/3", this);
357
+ }
287
358
  auto result = current_promise();
359
+ if (grpc_trace_promise_primitives.enabled()) {
360
+ gpr_log(whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG,
361
+ "seq[%p]: poll step 3/3 gets %s", this,
362
+ result.ready() ? "ready" : "pending");
363
+ }
288
364
  auto* p = result.value_if_ready();
289
365
  if (p == nullptr) return Pending{};
290
366
  return Result(std::move(*p));
@@ -339,8 +415,10 @@ struct SeqState<Traits, P, F0, F1, F2> {
339
415
  };
340
416
  enum class State : uint8_t { kState0, kState1, kState2, kState3 };
341
417
  GPR_NO_UNIQUE_ADDRESS State state = State::kState0;
418
+ GPR_NO_UNIQUE_ADDRESS DebugLocation whence;
342
419
 
343
- SeqState(P&& p, F0&& f0, F1&& f1, F2&& f2) noexcept {
420
+ SeqState(P&& p, F0&& f0, F1&& f1, F2&& f2, DebugLocation whence) noexcept
421
+ : whence(whence) {
344
422
  Construct(&prior.prior.prior.current_promise, std::forward<P>(p));
345
423
  Construct(&prior.prior.prior.next_factory, std::forward<F0>(f0));
346
424
  Construct(&prior.prior.next_factory, std::forward<F1>(f1));
@@ -368,7 +446,8 @@ struct SeqState<Traits, P, F0, F1, F2> {
368
446
  tail2:
369
447
  Destruct(&prior.next_factory);
370
448
  }
371
- SeqState(const SeqState& other) noexcept : state(other.state) {
449
+ SeqState(const SeqState& other) noexcept
450
+ : state(other.state), whence(other.whence) {
372
451
  GPR_ASSERT(state == State::kState0);
373
452
  Construct(&prior.current_promise, other.prior.current_promise);
374
453
  Construct(&prior.prior.prior.next_factory,
@@ -377,7 +456,8 @@ struct SeqState<Traits, P, F0, F1, F2> {
377
456
  Construct(&prior.next_factory, other.prior.next_factory);
378
457
  }
379
458
  SeqState& operator=(const SeqState& other) = delete;
380
- SeqState(SeqState&& other) noexcept : state(other.state) {
459
+ SeqState(SeqState&& other) noexcept
460
+ : state(other.state), whence(other.whence) {
381
461
  switch (state) {
382
462
  case State::kState0:
383
463
  Construct(&prior.prior.prior.current_promise,
@@ -408,8 +488,24 @@ struct SeqState<Traits, P, F0, F1, F2> {
408
488
  Poll<Result> PollOnce() {
409
489
  switch (state) {
410
490
  case State::kState0: {
491
+ if (grpc_trace_promise_primitives.enabled()) {
492
+ gpr_log(whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG,
493
+ "seq[%p]: begin poll step 1/4", this);
494
+ }
411
495
  auto result = prior.prior.prior.current_promise();
412
496
  PromiseResult0* p = result.value_if_ready();
497
+ if (grpc_trace_promise_primitives.enabled()) {
498
+ gpr_log(
499
+ whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG,
500
+ "seq[%p]: poll step 1/4 gets %s", this,
501
+ p != nullptr
502
+ ? (PromiseResultTraits0::IsOk(*p)
503
+ ? "ready"
504
+ : absl::StrCat("early-error:",
505
+ PromiseResultTraits0::ErrorString(*p))
506
+ .c_str())
507
+ : "pending");
508
+ }
413
509
  if (p == nullptr) return Pending{};
414
510
  if (!PromiseResultTraits0::IsOk(*p)) {
415
511
  return PromiseResultTraits0::template ReturnValue<Result>(
@@ -424,8 +520,24 @@ struct SeqState<Traits, P, F0, F1, F2> {
424
520
  }
425
521
  ABSL_FALLTHROUGH_INTENDED;
426
522
  case State::kState1: {
523
+ if (grpc_trace_promise_primitives.enabled()) {
524
+ gpr_log(whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG,
525
+ "seq[%p]: begin poll step 2/4", this);
526
+ }
427
527
  auto result = prior.prior.current_promise();
428
528
  PromiseResult1* p = result.value_if_ready();
529
+ if (grpc_trace_promise_primitives.enabled()) {
530
+ gpr_log(
531
+ whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG,
532
+ "seq[%p]: poll step 2/4 gets %s", this,
533
+ p != nullptr
534
+ ? (PromiseResultTraits1::IsOk(*p)
535
+ ? "ready"
536
+ : absl::StrCat("early-error:",
537
+ PromiseResultTraits1::ErrorString(*p))
538
+ .c_str())
539
+ : "pending");
540
+ }
429
541
  if (p == nullptr) return Pending{};
430
542
  if (!PromiseResultTraits1::IsOk(*p)) {
431
543
  return PromiseResultTraits1::template ReturnValue<Result>(
@@ -440,8 +552,24 @@ struct SeqState<Traits, P, F0, F1, F2> {
440
552
  }
441
553
  ABSL_FALLTHROUGH_INTENDED;
442
554
  case State::kState2: {
555
+ if (grpc_trace_promise_primitives.enabled()) {
556
+ gpr_log(whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG,
557
+ "seq[%p]: begin poll step 3/4", this);
558
+ }
443
559
  auto result = prior.current_promise();
444
560
  PromiseResult2* p = result.value_if_ready();
561
+ if (grpc_trace_promise_primitives.enabled()) {
562
+ gpr_log(
563
+ whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG,
564
+ "seq[%p]: poll step 3/4 gets %s", this,
565
+ p != nullptr
566
+ ? (PromiseResultTraits2::IsOk(*p)
567
+ ? "ready"
568
+ : absl::StrCat("early-error:",
569
+ PromiseResultTraits2::ErrorString(*p))
570
+ .c_str())
571
+ : "pending");
572
+ }
445
573
  if (p == nullptr) return Pending{};
446
574
  if (!PromiseResultTraits2::IsOk(*p)) {
447
575
  return PromiseResultTraits2::template ReturnValue<Result>(
@@ -457,7 +585,16 @@ struct SeqState<Traits, P, F0, F1, F2> {
457
585
  ABSL_FALLTHROUGH_INTENDED;
458
586
  default:
459
587
  case State::kState3: {
588
+ if (grpc_trace_promise_primitives.enabled()) {
589
+ gpr_log(whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG,
590
+ "seq[%p]: begin poll step 4/4", this);
591
+ }
460
592
  auto result = current_promise();
593
+ if (grpc_trace_promise_primitives.enabled()) {
594
+ gpr_log(whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG,
595
+ "seq[%p]: poll step 4/4 gets %s", this,
596
+ result.ready() ? "ready" : "pending");
597
+ }
461
598
  auto* p = result.value_if_ready();
462
599
  if (p == nullptr) return Pending{};
463
600
  return Result(std::move(*p));
@@ -524,8 +661,11 @@ struct SeqState<Traits, P, F0, F1, F2, F3> {
524
661
  };
525
662
  enum class State : uint8_t { kState0, kState1, kState2, kState3, kState4 };
526
663
  GPR_NO_UNIQUE_ADDRESS State state = State::kState0;
664
+ GPR_NO_UNIQUE_ADDRESS DebugLocation whence;
527
665
 
528
- SeqState(P&& p, F0&& f0, F1&& f1, F2&& f2, F3&& f3) noexcept {
666
+ SeqState(P&& p, F0&& f0, F1&& f1, F2&& f2, F3&& f3,
667
+ DebugLocation whence) noexcept
668
+ : whence(whence) {
529
669
  Construct(&prior.prior.prior.prior.current_promise, std::forward<P>(p));
530
670
  Construct(&prior.prior.prior.prior.next_factory, std::forward<F0>(f0));
531
671
  Construct(&prior.prior.prior.next_factory, std::forward<F1>(f1));
@@ -559,7 +699,8 @@ struct SeqState<Traits, P, F0, F1, F2, F3> {
559
699
  tail3:
560
700
  Destruct(&prior.next_factory);
561
701
  }
562
- SeqState(const SeqState& other) noexcept : state(other.state) {
702
+ SeqState(const SeqState& other) noexcept
703
+ : state(other.state), whence(other.whence) {
563
704
  GPR_ASSERT(state == State::kState0);
564
705
  Construct(&prior.current_promise, other.prior.current_promise);
565
706
  Construct(&prior.prior.prior.prior.next_factory,
@@ -570,7 +711,8 @@ struct SeqState<Traits, P, F0, F1, F2, F3> {
570
711
  Construct(&prior.next_factory, other.prior.next_factory);
571
712
  }
572
713
  SeqState& operator=(const SeqState& other) = delete;
573
- SeqState(SeqState&& other) noexcept : state(other.state) {
714
+ SeqState(SeqState&& other) noexcept
715
+ : state(other.state), whence(other.whence) {
574
716
  switch (state) {
575
717
  case State::kState0:
576
718
  Construct(&prior.prior.prior.prior.current_promise,
@@ -608,8 +750,24 @@ struct SeqState<Traits, P, F0, F1, F2, F3> {
608
750
  Poll<Result> PollOnce() {
609
751
  switch (state) {
610
752
  case State::kState0: {
753
+ if (grpc_trace_promise_primitives.enabled()) {
754
+ gpr_log(whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG,
755
+ "seq[%p]: begin poll step 1/5", this);
756
+ }
611
757
  auto result = prior.prior.prior.prior.current_promise();
612
758
  PromiseResult0* p = result.value_if_ready();
759
+ if (grpc_trace_promise_primitives.enabled()) {
760
+ gpr_log(
761
+ whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG,
762
+ "seq[%p]: poll step 1/5 gets %s", this,
763
+ p != nullptr
764
+ ? (PromiseResultTraits0::IsOk(*p)
765
+ ? "ready"
766
+ : absl::StrCat("early-error:",
767
+ PromiseResultTraits0::ErrorString(*p))
768
+ .c_str())
769
+ : "pending");
770
+ }
613
771
  if (p == nullptr) return Pending{};
614
772
  if (!PromiseResultTraits0::IsOk(*p)) {
615
773
  return PromiseResultTraits0::template ReturnValue<Result>(
@@ -624,8 +782,24 @@ struct SeqState<Traits, P, F0, F1, F2, F3> {
624
782
  }
625
783
  ABSL_FALLTHROUGH_INTENDED;
626
784
  case State::kState1: {
785
+ if (grpc_trace_promise_primitives.enabled()) {
786
+ gpr_log(whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG,
787
+ "seq[%p]: begin poll step 2/5", this);
788
+ }
627
789
  auto result = prior.prior.prior.current_promise();
628
790
  PromiseResult1* p = result.value_if_ready();
791
+ if (grpc_trace_promise_primitives.enabled()) {
792
+ gpr_log(
793
+ whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG,
794
+ "seq[%p]: poll step 2/5 gets %s", this,
795
+ p != nullptr
796
+ ? (PromiseResultTraits1::IsOk(*p)
797
+ ? "ready"
798
+ : absl::StrCat("early-error:",
799
+ PromiseResultTraits1::ErrorString(*p))
800
+ .c_str())
801
+ : "pending");
802
+ }
629
803
  if (p == nullptr) return Pending{};
630
804
  if (!PromiseResultTraits1::IsOk(*p)) {
631
805
  return PromiseResultTraits1::template ReturnValue<Result>(
@@ -640,8 +814,24 @@ struct SeqState<Traits, P, F0, F1, F2, F3> {
640
814
  }
641
815
  ABSL_FALLTHROUGH_INTENDED;
642
816
  case State::kState2: {
817
+ if (grpc_trace_promise_primitives.enabled()) {
818
+ gpr_log(whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG,
819
+ "seq[%p]: begin poll step 3/5", this);
820
+ }
643
821
  auto result = prior.prior.current_promise();
644
822
  PromiseResult2* p = result.value_if_ready();
823
+ if (grpc_trace_promise_primitives.enabled()) {
824
+ gpr_log(
825
+ whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG,
826
+ "seq[%p]: poll step 3/5 gets %s", this,
827
+ p != nullptr
828
+ ? (PromiseResultTraits2::IsOk(*p)
829
+ ? "ready"
830
+ : absl::StrCat("early-error:",
831
+ PromiseResultTraits2::ErrorString(*p))
832
+ .c_str())
833
+ : "pending");
834
+ }
645
835
  if (p == nullptr) return Pending{};
646
836
  if (!PromiseResultTraits2::IsOk(*p)) {
647
837
  return PromiseResultTraits2::template ReturnValue<Result>(
@@ -656,8 +846,24 @@ struct SeqState<Traits, P, F0, F1, F2, F3> {
656
846
  }
657
847
  ABSL_FALLTHROUGH_INTENDED;
658
848
  case State::kState3: {
849
+ if (grpc_trace_promise_primitives.enabled()) {
850
+ gpr_log(whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG,
851
+ "seq[%p]: begin poll step 4/5", this);
852
+ }
659
853
  auto result = prior.current_promise();
660
854
  PromiseResult3* p = result.value_if_ready();
855
+ if (grpc_trace_promise_primitives.enabled()) {
856
+ gpr_log(
857
+ whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG,
858
+ "seq[%p]: poll step 4/5 gets %s", this,
859
+ p != nullptr
860
+ ? (PromiseResultTraits3::IsOk(*p)
861
+ ? "ready"
862
+ : absl::StrCat("early-error:",
863
+ PromiseResultTraits3::ErrorString(*p))
864
+ .c_str())
865
+ : "pending");
866
+ }
661
867
  if (p == nullptr) return Pending{};
662
868
  if (!PromiseResultTraits3::IsOk(*p)) {
663
869
  return PromiseResultTraits3::template ReturnValue<Result>(
@@ -673,7 +879,16 @@ struct SeqState<Traits, P, F0, F1, F2, F3> {
673
879
  ABSL_FALLTHROUGH_INTENDED;
674
880
  default:
675
881
  case State::kState4: {
882
+ if (grpc_trace_promise_primitives.enabled()) {
883
+ gpr_log(whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG,
884
+ "seq[%p]: begin poll step 5/5", this);
885
+ }
676
886
  auto result = current_promise();
887
+ if (grpc_trace_promise_primitives.enabled()) {
888
+ gpr_log(whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG,
889
+ "seq[%p]: poll step 5/5 gets %s", this,
890
+ result.ready() ? "ready" : "pending");
891
+ }
677
892
  auto* p = result.value_if_ready();
678
893
  if (p == nullptr) return Pending{};
679
894
  return Result(std::move(*p));
@@ -759,8 +974,11 @@ struct SeqState<Traits, P, F0, F1, F2, F3, F4> {
759
974
  kState5
760
975
  };
761
976
  GPR_NO_UNIQUE_ADDRESS State state = State::kState0;
977
+ GPR_NO_UNIQUE_ADDRESS DebugLocation whence;
762
978
 
763
- SeqState(P&& p, F0&& f0, F1&& f1, F2&& f2, F3&& f3, F4&& f4) noexcept {
979
+ SeqState(P&& p, F0&& f0, F1&& f1, F2&& f2, F3&& f3, F4&& f4,
980
+ DebugLocation whence) noexcept
981
+ : whence(whence) {
764
982
  Construct(&prior.prior.prior.prior.prior.current_promise,
765
983
  std::forward<P>(p));
766
984
  Construct(&prior.prior.prior.prior.prior.next_factory,
@@ -802,7 +1020,8 @@ struct SeqState<Traits, P, F0, F1, F2, F3, F4> {
802
1020
  tail4:
803
1021
  Destruct(&prior.next_factory);
804
1022
  }
805
- SeqState(const SeqState& other) noexcept : state(other.state) {
1023
+ SeqState(const SeqState& other) noexcept
1024
+ : state(other.state), whence(other.whence) {
806
1025
  GPR_ASSERT(state == State::kState0);
807
1026
  Construct(&prior.current_promise, other.prior.current_promise);
808
1027
  Construct(&prior.prior.prior.prior.prior.next_factory,
@@ -815,7 +1034,8 @@ struct SeqState<Traits, P, F0, F1, F2, F3, F4> {
815
1034
  Construct(&prior.next_factory, other.prior.next_factory);
816
1035
  }
817
1036
  SeqState& operator=(const SeqState& other) = delete;
818
- SeqState(SeqState&& other) noexcept : state(other.state) {
1037
+ SeqState(SeqState&& other) noexcept
1038
+ : state(other.state), whence(other.whence) {
819
1039
  switch (state) {
820
1040
  case State::kState0:
821
1041
  Construct(
@@ -861,8 +1081,24 @@ struct SeqState<Traits, P, F0, F1, F2, F3, F4> {
861
1081
  Poll<Result> PollOnce() {
862
1082
  switch (state) {
863
1083
  case State::kState0: {
1084
+ if (grpc_trace_promise_primitives.enabled()) {
1085
+ gpr_log(whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG,
1086
+ "seq[%p]: begin poll step 1/6", this);
1087
+ }
864
1088
  auto result = prior.prior.prior.prior.prior.current_promise();
865
1089
  PromiseResult0* p = result.value_if_ready();
1090
+ if (grpc_trace_promise_primitives.enabled()) {
1091
+ gpr_log(
1092
+ whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG,
1093
+ "seq[%p]: poll step 1/6 gets %s", this,
1094
+ p != nullptr
1095
+ ? (PromiseResultTraits0::IsOk(*p)
1096
+ ? "ready"
1097
+ : absl::StrCat("early-error:",
1098
+ PromiseResultTraits0::ErrorString(*p))
1099
+ .c_str())
1100
+ : "pending");
1101
+ }
866
1102
  if (p == nullptr) return Pending{};
867
1103
  if (!PromiseResultTraits0::IsOk(*p)) {
868
1104
  return PromiseResultTraits0::template ReturnValue<Result>(
@@ -878,8 +1114,24 @@ struct SeqState<Traits, P, F0, F1, F2, F3, F4> {
878
1114
  }
879
1115
  ABSL_FALLTHROUGH_INTENDED;
880
1116
  case State::kState1: {
1117
+ if (grpc_trace_promise_primitives.enabled()) {
1118
+ gpr_log(whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG,
1119
+ "seq[%p]: begin poll step 2/6", this);
1120
+ }
881
1121
  auto result = prior.prior.prior.prior.current_promise();
882
1122
  PromiseResult1* p = result.value_if_ready();
1123
+ if (grpc_trace_promise_primitives.enabled()) {
1124
+ gpr_log(
1125
+ whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG,
1126
+ "seq[%p]: poll step 2/6 gets %s", this,
1127
+ p != nullptr
1128
+ ? (PromiseResultTraits1::IsOk(*p)
1129
+ ? "ready"
1130
+ : absl::StrCat("early-error:",
1131
+ PromiseResultTraits1::ErrorString(*p))
1132
+ .c_str())
1133
+ : "pending");
1134
+ }
883
1135
  if (p == nullptr) return Pending{};
884
1136
  if (!PromiseResultTraits1::IsOk(*p)) {
885
1137
  return PromiseResultTraits1::template ReturnValue<Result>(
@@ -894,8 +1146,24 @@ struct SeqState<Traits, P, F0, F1, F2, F3, F4> {
894
1146
  }
895
1147
  ABSL_FALLTHROUGH_INTENDED;
896
1148
  case State::kState2: {
1149
+ if (grpc_trace_promise_primitives.enabled()) {
1150
+ gpr_log(whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG,
1151
+ "seq[%p]: begin poll step 3/6", this);
1152
+ }
897
1153
  auto result = prior.prior.prior.current_promise();
898
1154
  PromiseResult2* p = result.value_if_ready();
1155
+ if (grpc_trace_promise_primitives.enabled()) {
1156
+ gpr_log(
1157
+ whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG,
1158
+ "seq[%p]: poll step 3/6 gets %s", this,
1159
+ p != nullptr
1160
+ ? (PromiseResultTraits2::IsOk(*p)
1161
+ ? "ready"
1162
+ : absl::StrCat("early-error:",
1163
+ PromiseResultTraits2::ErrorString(*p))
1164
+ .c_str())
1165
+ : "pending");
1166
+ }
899
1167
  if (p == nullptr) return Pending{};
900
1168
  if (!PromiseResultTraits2::IsOk(*p)) {
901
1169
  return PromiseResultTraits2::template ReturnValue<Result>(
@@ -910,8 +1178,24 @@ struct SeqState<Traits, P, F0, F1, F2, F3, F4> {
910
1178
  }
911
1179
  ABSL_FALLTHROUGH_INTENDED;
912
1180
  case State::kState3: {
1181
+ if (grpc_trace_promise_primitives.enabled()) {
1182
+ gpr_log(whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG,
1183
+ "seq[%p]: begin poll step 4/6", this);
1184
+ }
913
1185
  auto result = prior.prior.current_promise();
914
1186
  PromiseResult3* p = result.value_if_ready();
1187
+ if (grpc_trace_promise_primitives.enabled()) {
1188
+ gpr_log(
1189
+ whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG,
1190
+ "seq[%p]: poll step 4/6 gets %s", this,
1191
+ p != nullptr
1192
+ ? (PromiseResultTraits3::IsOk(*p)
1193
+ ? "ready"
1194
+ : absl::StrCat("early-error:",
1195
+ PromiseResultTraits3::ErrorString(*p))
1196
+ .c_str())
1197
+ : "pending");
1198
+ }
915
1199
  if (p == nullptr) return Pending{};
916
1200
  if (!PromiseResultTraits3::IsOk(*p)) {
917
1201
  return PromiseResultTraits3::template ReturnValue<Result>(
@@ -926,8 +1210,24 @@ struct SeqState<Traits, P, F0, F1, F2, F3, F4> {
926
1210
  }
927
1211
  ABSL_FALLTHROUGH_INTENDED;
928
1212
  case State::kState4: {
1213
+ if (grpc_trace_promise_primitives.enabled()) {
1214
+ gpr_log(whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG,
1215
+ "seq[%p]: begin poll step 5/6", this);
1216
+ }
929
1217
  auto result = prior.current_promise();
930
1218
  PromiseResult4* p = result.value_if_ready();
1219
+ if (grpc_trace_promise_primitives.enabled()) {
1220
+ gpr_log(
1221
+ whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG,
1222
+ "seq[%p]: poll step 5/6 gets %s", this,
1223
+ p != nullptr
1224
+ ? (PromiseResultTraits4::IsOk(*p)
1225
+ ? "ready"
1226
+ : absl::StrCat("early-error:",
1227
+ PromiseResultTraits4::ErrorString(*p))
1228
+ .c_str())
1229
+ : "pending");
1230
+ }
931
1231
  if (p == nullptr) return Pending{};
932
1232
  if (!PromiseResultTraits4::IsOk(*p)) {
933
1233
  return PromiseResultTraits4::template ReturnValue<Result>(
@@ -943,7 +1243,16 @@ struct SeqState<Traits, P, F0, F1, F2, F3, F4> {
943
1243
  ABSL_FALLTHROUGH_INTENDED;
944
1244
  default:
945
1245
  case State::kState5: {
1246
+ if (grpc_trace_promise_primitives.enabled()) {
1247
+ gpr_log(whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG,
1248
+ "seq[%p]: begin poll step 6/6", this);
1249
+ }
946
1250
  auto result = current_promise();
1251
+ if (grpc_trace_promise_primitives.enabled()) {
1252
+ gpr_log(whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG,
1253
+ "seq[%p]: poll step 6/6 gets %s", this,
1254
+ result.ready() ? "ready" : "pending");
1255
+ }
947
1256
  auto* p = result.value_if_ready();
948
1257
  if (p == nullptr) return Pending{};
949
1258
  return Result(std::move(*p));
@@ -1042,9 +1351,11 @@ struct SeqState<Traits, P, F0, F1, F2, F3, F4, F5> {
1042
1351
  kState6
1043
1352
  };
1044
1353
  GPR_NO_UNIQUE_ADDRESS State state = State::kState0;
1354
+ GPR_NO_UNIQUE_ADDRESS DebugLocation whence;
1045
1355
 
1046
- SeqState(P&& p, F0&& f0, F1&& f1, F2&& f2, F3&& f3, F4&& f4,
1047
- F5&& f5) noexcept {
1356
+ SeqState(P&& p, F0&& f0, F1&& f1, F2&& f2, F3&& f3, F4&& f4, F5&& f5,
1357
+ DebugLocation whence) noexcept
1358
+ : whence(whence) {
1048
1359
  Construct(&prior.prior.prior.prior.prior.prior.current_promise,
1049
1360
  std::forward<P>(p));
1050
1361
  Construct(&prior.prior.prior.prior.prior.prior.next_factory,
@@ -1093,7 +1404,8 @@ struct SeqState<Traits, P, F0, F1, F2, F3, F4, F5> {
1093
1404
  tail5:
1094
1405
  Destruct(&prior.next_factory);
1095
1406
  }
1096
- SeqState(const SeqState& other) noexcept : state(other.state) {
1407
+ SeqState(const SeqState& other) noexcept
1408
+ : state(other.state), whence(other.whence) {
1097
1409
  GPR_ASSERT(state == State::kState0);
1098
1410
  Construct(&prior.current_promise, other.prior.current_promise);
1099
1411
  Construct(&prior.prior.prior.prior.prior.prior.next_factory,
@@ -1108,7 +1420,8 @@ struct SeqState<Traits, P, F0, F1, F2, F3, F4, F5> {
1108
1420
  Construct(&prior.next_factory, other.prior.next_factory);
1109
1421
  }
1110
1422
  SeqState& operator=(const SeqState& other) = delete;
1111
- SeqState(SeqState&& other) noexcept : state(other.state) {
1423
+ SeqState(SeqState&& other) noexcept
1424
+ : state(other.state), whence(other.whence) {
1112
1425
  switch (state) {
1113
1426
  case State::kState0:
1114
1427
  Construct(
@@ -1164,8 +1477,24 @@ struct SeqState<Traits, P, F0, F1, F2, F3, F4, F5> {
1164
1477
  Poll<Result> PollOnce() {
1165
1478
  switch (state) {
1166
1479
  case State::kState0: {
1480
+ if (grpc_trace_promise_primitives.enabled()) {
1481
+ gpr_log(whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG,
1482
+ "seq[%p]: begin poll step 1/7", this);
1483
+ }
1167
1484
  auto result = prior.prior.prior.prior.prior.prior.current_promise();
1168
1485
  PromiseResult0* p = result.value_if_ready();
1486
+ if (grpc_trace_promise_primitives.enabled()) {
1487
+ gpr_log(
1488
+ whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG,
1489
+ "seq[%p]: poll step 1/7 gets %s", this,
1490
+ p != nullptr
1491
+ ? (PromiseResultTraits0::IsOk(*p)
1492
+ ? "ready"
1493
+ : absl::StrCat("early-error:",
1494
+ PromiseResultTraits0::ErrorString(*p))
1495
+ .c_str())
1496
+ : "pending");
1497
+ }
1169
1498
  if (p == nullptr) return Pending{};
1170
1499
  if (!PromiseResultTraits0::IsOk(*p)) {
1171
1500
  return PromiseResultTraits0::template ReturnValue<Result>(
@@ -1181,8 +1510,24 @@ struct SeqState<Traits, P, F0, F1, F2, F3, F4, F5> {
1181
1510
  }
1182
1511
  ABSL_FALLTHROUGH_INTENDED;
1183
1512
  case State::kState1: {
1513
+ if (grpc_trace_promise_primitives.enabled()) {
1514
+ gpr_log(whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG,
1515
+ "seq[%p]: begin poll step 2/7", this);
1516
+ }
1184
1517
  auto result = prior.prior.prior.prior.prior.current_promise();
1185
1518
  PromiseResult1* p = result.value_if_ready();
1519
+ if (grpc_trace_promise_primitives.enabled()) {
1520
+ gpr_log(
1521
+ whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG,
1522
+ "seq[%p]: poll step 2/7 gets %s", this,
1523
+ p != nullptr
1524
+ ? (PromiseResultTraits1::IsOk(*p)
1525
+ ? "ready"
1526
+ : absl::StrCat("early-error:",
1527
+ PromiseResultTraits1::ErrorString(*p))
1528
+ .c_str())
1529
+ : "pending");
1530
+ }
1186
1531
  if (p == nullptr) return Pending{};
1187
1532
  if (!PromiseResultTraits1::IsOk(*p)) {
1188
1533
  return PromiseResultTraits1::template ReturnValue<Result>(
@@ -1198,8 +1543,24 @@ struct SeqState<Traits, P, F0, F1, F2, F3, F4, F5> {
1198
1543
  }
1199
1544
  ABSL_FALLTHROUGH_INTENDED;
1200
1545
  case State::kState2: {
1546
+ if (grpc_trace_promise_primitives.enabled()) {
1547
+ gpr_log(whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG,
1548
+ "seq[%p]: begin poll step 3/7", this);
1549
+ }
1201
1550
  auto result = prior.prior.prior.prior.current_promise();
1202
1551
  PromiseResult2* p = result.value_if_ready();
1552
+ if (grpc_trace_promise_primitives.enabled()) {
1553
+ gpr_log(
1554
+ whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG,
1555
+ "seq[%p]: poll step 3/7 gets %s", this,
1556
+ p != nullptr
1557
+ ? (PromiseResultTraits2::IsOk(*p)
1558
+ ? "ready"
1559
+ : absl::StrCat("early-error:",
1560
+ PromiseResultTraits2::ErrorString(*p))
1561
+ .c_str())
1562
+ : "pending");
1563
+ }
1203
1564
  if (p == nullptr) return Pending{};
1204
1565
  if (!PromiseResultTraits2::IsOk(*p)) {
1205
1566
  return PromiseResultTraits2::template ReturnValue<Result>(
@@ -1214,8 +1575,24 @@ struct SeqState<Traits, P, F0, F1, F2, F3, F4, F5> {
1214
1575
  }
1215
1576
  ABSL_FALLTHROUGH_INTENDED;
1216
1577
  case State::kState3: {
1578
+ if (grpc_trace_promise_primitives.enabled()) {
1579
+ gpr_log(whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG,
1580
+ "seq[%p]: begin poll step 4/7", this);
1581
+ }
1217
1582
  auto result = prior.prior.prior.current_promise();
1218
1583
  PromiseResult3* p = result.value_if_ready();
1584
+ if (grpc_trace_promise_primitives.enabled()) {
1585
+ gpr_log(
1586
+ whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG,
1587
+ "seq[%p]: poll step 4/7 gets %s", this,
1588
+ p != nullptr
1589
+ ? (PromiseResultTraits3::IsOk(*p)
1590
+ ? "ready"
1591
+ : absl::StrCat("early-error:",
1592
+ PromiseResultTraits3::ErrorString(*p))
1593
+ .c_str())
1594
+ : "pending");
1595
+ }
1219
1596
  if (p == nullptr) return Pending{};
1220
1597
  if (!PromiseResultTraits3::IsOk(*p)) {
1221
1598
  return PromiseResultTraits3::template ReturnValue<Result>(
@@ -1230,8 +1607,24 @@ struct SeqState<Traits, P, F0, F1, F2, F3, F4, F5> {
1230
1607
  }
1231
1608
  ABSL_FALLTHROUGH_INTENDED;
1232
1609
  case State::kState4: {
1610
+ if (grpc_trace_promise_primitives.enabled()) {
1611
+ gpr_log(whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG,
1612
+ "seq[%p]: begin poll step 5/7", this);
1613
+ }
1233
1614
  auto result = prior.prior.current_promise();
1234
1615
  PromiseResult4* p = result.value_if_ready();
1616
+ if (grpc_trace_promise_primitives.enabled()) {
1617
+ gpr_log(
1618
+ whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG,
1619
+ "seq[%p]: poll step 5/7 gets %s", this,
1620
+ p != nullptr
1621
+ ? (PromiseResultTraits4::IsOk(*p)
1622
+ ? "ready"
1623
+ : absl::StrCat("early-error:",
1624
+ PromiseResultTraits4::ErrorString(*p))
1625
+ .c_str())
1626
+ : "pending");
1627
+ }
1235
1628
  if (p == nullptr) return Pending{};
1236
1629
  if (!PromiseResultTraits4::IsOk(*p)) {
1237
1630
  return PromiseResultTraits4::template ReturnValue<Result>(
@@ -1246,8 +1639,24 @@ struct SeqState<Traits, P, F0, F1, F2, F3, F4, F5> {
1246
1639
  }
1247
1640
  ABSL_FALLTHROUGH_INTENDED;
1248
1641
  case State::kState5: {
1642
+ if (grpc_trace_promise_primitives.enabled()) {
1643
+ gpr_log(whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG,
1644
+ "seq[%p]: begin poll step 6/7", this);
1645
+ }
1249
1646
  auto result = prior.current_promise();
1250
1647
  PromiseResult5* p = result.value_if_ready();
1648
+ if (grpc_trace_promise_primitives.enabled()) {
1649
+ gpr_log(
1650
+ whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG,
1651
+ "seq[%p]: poll step 6/7 gets %s", this,
1652
+ p != nullptr
1653
+ ? (PromiseResultTraits5::IsOk(*p)
1654
+ ? "ready"
1655
+ : absl::StrCat("early-error:",
1656
+ PromiseResultTraits5::ErrorString(*p))
1657
+ .c_str())
1658
+ : "pending");
1659
+ }
1251
1660
  if (p == nullptr) return Pending{};
1252
1661
  if (!PromiseResultTraits5::IsOk(*p)) {
1253
1662
  return PromiseResultTraits5::template ReturnValue<Result>(
@@ -1263,7 +1672,16 @@ struct SeqState<Traits, P, F0, F1, F2, F3, F4, F5> {
1263
1672
  ABSL_FALLTHROUGH_INTENDED;
1264
1673
  default:
1265
1674
  case State::kState6: {
1675
+ if (grpc_trace_promise_primitives.enabled()) {
1676
+ gpr_log(whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG,
1677
+ "seq[%p]: begin poll step 7/7", this);
1678
+ }
1266
1679
  auto result = current_promise();
1680
+ if (grpc_trace_promise_primitives.enabled()) {
1681
+ gpr_log(whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG,
1682
+ "seq[%p]: poll step 7/7 gets %s", this,
1683
+ result.ready() ? "ready" : "pending");
1684
+ }
1267
1685
  auto* p = result.value_if_ready();
1268
1686
  if (p == nullptr) return Pending{};
1269
1687
  return Result(std::move(*p));
@@ -1376,9 +1794,11 @@ struct SeqState<Traits, P, F0, F1, F2, F3, F4, F5, F6> {
1376
1794
  kState7
1377
1795
  };
1378
1796
  GPR_NO_UNIQUE_ADDRESS State state = State::kState0;
1797
+ GPR_NO_UNIQUE_ADDRESS DebugLocation whence;
1379
1798
 
1380
- SeqState(P&& p, F0&& f0, F1&& f1, F2&& f2, F3&& f3, F4&& f4, F5&& f5,
1381
- F6&& f6) noexcept {
1799
+ SeqState(P&& p, F0&& f0, F1&& f1, F2&& f2, F3&& f3, F4&& f4, F5&& f5, F6&& f6,
1800
+ DebugLocation whence) noexcept
1801
+ : whence(whence) {
1382
1802
  Construct(&prior.prior.prior.prior.prior.prior.prior.current_promise,
1383
1803
  std::forward<P>(p));
1384
1804
  Construct(&prior.prior.prior.prior.prior.prior.prior.next_factory,
@@ -1434,7 +1854,8 @@ struct SeqState<Traits, P, F0, F1, F2, F3, F4, F5, F6> {
1434
1854
  tail6:
1435
1855
  Destruct(&prior.next_factory);
1436
1856
  }
1437
- SeqState(const SeqState& other) noexcept : state(other.state) {
1857
+ SeqState(const SeqState& other) noexcept
1858
+ : state(other.state), whence(other.whence) {
1438
1859
  GPR_ASSERT(state == State::kState0);
1439
1860
  Construct(&prior.current_promise, other.prior.current_promise);
1440
1861
  Construct(&prior.prior.prior.prior.prior.prior.prior.next_factory,
@@ -1451,7 +1872,8 @@ struct SeqState<Traits, P, F0, F1, F2, F3, F4, F5, F6> {
1451
1872
  Construct(&prior.next_factory, other.prior.next_factory);
1452
1873
  }
1453
1874
  SeqState& operator=(const SeqState& other) = delete;
1454
- SeqState(SeqState&& other) noexcept : state(other.state) {
1875
+ SeqState(SeqState&& other) noexcept
1876
+ : state(other.state), whence(other.whence) {
1455
1877
  switch (state) {
1456
1878
  case State::kState0:
1457
1879
  Construct(&prior.prior.prior.prior.prior.prior.prior.current_promise,
@@ -1517,9 +1939,25 @@ struct SeqState<Traits, P, F0, F1, F2, F3, F4, F5, F6> {
1517
1939
  Poll<Result> PollOnce() {
1518
1940
  switch (state) {
1519
1941
  case State::kState0: {
1942
+ if (grpc_trace_promise_primitives.enabled()) {
1943
+ gpr_log(whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG,
1944
+ "seq[%p]: begin poll step 1/8", this);
1945
+ }
1520
1946
  auto result =
1521
1947
  prior.prior.prior.prior.prior.prior.prior.current_promise();
1522
1948
  PromiseResult0* p = result.value_if_ready();
1949
+ if (grpc_trace_promise_primitives.enabled()) {
1950
+ gpr_log(
1951
+ whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG,
1952
+ "seq[%p]: poll step 1/8 gets %s", this,
1953
+ p != nullptr
1954
+ ? (PromiseResultTraits0::IsOk(*p)
1955
+ ? "ready"
1956
+ : absl::StrCat("early-error:",
1957
+ PromiseResultTraits0::ErrorString(*p))
1958
+ .c_str())
1959
+ : "pending");
1960
+ }
1523
1961
  if (p == nullptr) return Pending{};
1524
1962
  if (!PromiseResultTraits0::IsOk(*p)) {
1525
1963
  return PromiseResultTraits0::template ReturnValue<Result>(
@@ -1536,8 +1974,24 @@ struct SeqState<Traits, P, F0, F1, F2, F3, F4, F5, F6> {
1536
1974
  }
1537
1975
  ABSL_FALLTHROUGH_INTENDED;
1538
1976
  case State::kState1: {
1977
+ if (grpc_trace_promise_primitives.enabled()) {
1978
+ gpr_log(whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG,
1979
+ "seq[%p]: begin poll step 2/8", this);
1980
+ }
1539
1981
  auto result = prior.prior.prior.prior.prior.prior.current_promise();
1540
1982
  PromiseResult1* p = result.value_if_ready();
1983
+ if (grpc_trace_promise_primitives.enabled()) {
1984
+ gpr_log(
1985
+ whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG,
1986
+ "seq[%p]: poll step 2/8 gets %s", this,
1987
+ p != nullptr
1988
+ ? (PromiseResultTraits1::IsOk(*p)
1989
+ ? "ready"
1990
+ : absl::StrCat("early-error:",
1991
+ PromiseResultTraits1::ErrorString(*p))
1992
+ .c_str())
1993
+ : "pending");
1994
+ }
1541
1995
  if (p == nullptr) return Pending{};
1542
1996
  if (!PromiseResultTraits1::IsOk(*p)) {
1543
1997
  return PromiseResultTraits1::template ReturnValue<Result>(
@@ -1553,8 +2007,24 @@ struct SeqState<Traits, P, F0, F1, F2, F3, F4, F5, F6> {
1553
2007
  }
1554
2008
  ABSL_FALLTHROUGH_INTENDED;
1555
2009
  case State::kState2: {
2010
+ if (grpc_trace_promise_primitives.enabled()) {
2011
+ gpr_log(whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG,
2012
+ "seq[%p]: begin poll step 3/8", this);
2013
+ }
1556
2014
  auto result = prior.prior.prior.prior.prior.current_promise();
1557
2015
  PromiseResult2* p = result.value_if_ready();
2016
+ if (grpc_trace_promise_primitives.enabled()) {
2017
+ gpr_log(
2018
+ whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG,
2019
+ "seq[%p]: poll step 3/8 gets %s", this,
2020
+ p != nullptr
2021
+ ? (PromiseResultTraits2::IsOk(*p)
2022
+ ? "ready"
2023
+ : absl::StrCat("early-error:",
2024
+ PromiseResultTraits2::ErrorString(*p))
2025
+ .c_str())
2026
+ : "pending");
2027
+ }
1558
2028
  if (p == nullptr) return Pending{};
1559
2029
  if (!PromiseResultTraits2::IsOk(*p)) {
1560
2030
  return PromiseResultTraits2::template ReturnValue<Result>(
@@ -1570,8 +2040,24 @@ struct SeqState<Traits, P, F0, F1, F2, F3, F4, F5, F6> {
1570
2040
  }
1571
2041
  ABSL_FALLTHROUGH_INTENDED;
1572
2042
  case State::kState3: {
2043
+ if (grpc_trace_promise_primitives.enabled()) {
2044
+ gpr_log(whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG,
2045
+ "seq[%p]: begin poll step 4/8", this);
2046
+ }
1573
2047
  auto result = prior.prior.prior.prior.current_promise();
1574
2048
  PromiseResult3* p = result.value_if_ready();
2049
+ if (grpc_trace_promise_primitives.enabled()) {
2050
+ gpr_log(
2051
+ whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG,
2052
+ "seq[%p]: poll step 4/8 gets %s", this,
2053
+ p != nullptr
2054
+ ? (PromiseResultTraits3::IsOk(*p)
2055
+ ? "ready"
2056
+ : absl::StrCat("early-error:",
2057
+ PromiseResultTraits3::ErrorString(*p))
2058
+ .c_str())
2059
+ : "pending");
2060
+ }
1575
2061
  if (p == nullptr) return Pending{};
1576
2062
  if (!PromiseResultTraits3::IsOk(*p)) {
1577
2063
  return PromiseResultTraits3::template ReturnValue<Result>(
@@ -1586,8 +2072,24 @@ struct SeqState<Traits, P, F0, F1, F2, F3, F4, F5, F6> {
1586
2072
  }
1587
2073
  ABSL_FALLTHROUGH_INTENDED;
1588
2074
  case State::kState4: {
2075
+ if (grpc_trace_promise_primitives.enabled()) {
2076
+ gpr_log(whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG,
2077
+ "seq[%p]: begin poll step 5/8", this);
2078
+ }
1589
2079
  auto result = prior.prior.prior.current_promise();
1590
2080
  PromiseResult4* p = result.value_if_ready();
2081
+ if (grpc_trace_promise_primitives.enabled()) {
2082
+ gpr_log(
2083
+ whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG,
2084
+ "seq[%p]: poll step 5/8 gets %s", this,
2085
+ p != nullptr
2086
+ ? (PromiseResultTraits4::IsOk(*p)
2087
+ ? "ready"
2088
+ : absl::StrCat("early-error:",
2089
+ PromiseResultTraits4::ErrorString(*p))
2090
+ .c_str())
2091
+ : "pending");
2092
+ }
1591
2093
  if (p == nullptr) return Pending{};
1592
2094
  if (!PromiseResultTraits4::IsOk(*p)) {
1593
2095
  return PromiseResultTraits4::template ReturnValue<Result>(
@@ -1602,8 +2104,24 @@ struct SeqState<Traits, P, F0, F1, F2, F3, F4, F5, F6> {
1602
2104
  }
1603
2105
  ABSL_FALLTHROUGH_INTENDED;
1604
2106
  case State::kState5: {
2107
+ if (grpc_trace_promise_primitives.enabled()) {
2108
+ gpr_log(whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG,
2109
+ "seq[%p]: begin poll step 6/8", this);
2110
+ }
1605
2111
  auto result = prior.prior.current_promise();
1606
2112
  PromiseResult5* p = result.value_if_ready();
2113
+ if (grpc_trace_promise_primitives.enabled()) {
2114
+ gpr_log(
2115
+ whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG,
2116
+ "seq[%p]: poll step 6/8 gets %s", this,
2117
+ p != nullptr
2118
+ ? (PromiseResultTraits5::IsOk(*p)
2119
+ ? "ready"
2120
+ : absl::StrCat("early-error:",
2121
+ PromiseResultTraits5::ErrorString(*p))
2122
+ .c_str())
2123
+ : "pending");
2124
+ }
1607
2125
  if (p == nullptr) return Pending{};
1608
2126
  if (!PromiseResultTraits5::IsOk(*p)) {
1609
2127
  return PromiseResultTraits5::template ReturnValue<Result>(
@@ -1618,8 +2136,24 @@ struct SeqState<Traits, P, F0, F1, F2, F3, F4, F5, F6> {
1618
2136
  }
1619
2137
  ABSL_FALLTHROUGH_INTENDED;
1620
2138
  case State::kState6: {
2139
+ if (grpc_trace_promise_primitives.enabled()) {
2140
+ gpr_log(whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG,
2141
+ "seq[%p]: begin poll step 7/8", this);
2142
+ }
1621
2143
  auto result = prior.current_promise();
1622
2144
  PromiseResult6* p = result.value_if_ready();
2145
+ if (grpc_trace_promise_primitives.enabled()) {
2146
+ gpr_log(
2147
+ whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG,
2148
+ "seq[%p]: poll step 7/8 gets %s", this,
2149
+ p != nullptr
2150
+ ? (PromiseResultTraits6::IsOk(*p)
2151
+ ? "ready"
2152
+ : absl::StrCat("early-error:",
2153
+ PromiseResultTraits6::ErrorString(*p))
2154
+ .c_str())
2155
+ : "pending");
2156
+ }
1623
2157
  if (p == nullptr) return Pending{};
1624
2158
  if (!PromiseResultTraits6::IsOk(*p)) {
1625
2159
  return PromiseResultTraits6::template ReturnValue<Result>(
@@ -1635,7 +2169,16 @@ struct SeqState<Traits, P, F0, F1, F2, F3, F4, F5, F6> {
1635
2169
  ABSL_FALLTHROUGH_INTENDED;
1636
2170
  default:
1637
2171
  case State::kState7: {
2172
+ if (grpc_trace_promise_primitives.enabled()) {
2173
+ gpr_log(whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG,
2174
+ "seq[%p]: begin poll step 8/8", this);
2175
+ }
1638
2176
  auto result = current_promise();
2177
+ if (grpc_trace_promise_primitives.enabled()) {
2178
+ gpr_log(whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG,
2179
+ "seq[%p]: poll step 8/8 gets %s", this,
2180
+ result.ready() ? "ready" : "pending");
2181
+ }
1639
2182
  auto* p = result.value_if_ready();
1640
2183
  if (p == nullptr) return Pending{};
1641
2184
  return Result(std::move(*p));
@@ -1761,9 +2304,11 @@ struct SeqState<Traits, P, F0, F1, F2, F3, F4, F5, F6, F7> {
1761
2304
  kState8
1762
2305
  };
1763
2306
  GPR_NO_UNIQUE_ADDRESS State state = State::kState0;
2307
+ GPR_NO_UNIQUE_ADDRESS DebugLocation whence;
1764
2308
 
1765
2309
  SeqState(P&& p, F0&& f0, F1&& f1, F2&& f2, F3&& f3, F4&& f4, F5&& f5, F6&& f6,
1766
- F7&& f7) noexcept {
2310
+ F7&& f7, DebugLocation whence) noexcept
2311
+ : whence(whence) {
1767
2312
  Construct(&prior.prior.prior.prior.prior.prior.prior.prior.current_promise,
1768
2313
  std::forward<P>(p));
1769
2314
  Construct(&prior.prior.prior.prior.prior.prior.prior.prior.next_factory,
@@ -1827,7 +2372,8 @@ struct SeqState<Traits, P, F0, F1, F2, F3, F4, F5, F6, F7> {
1827
2372
  tail7:
1828
2373
  Destruct(&prior.next_factory);
1829
2374
  }
1830
- SeqState(const SeqState& other) noexcept : state(other.state) {
2375
+ SeqState(const SeqState& other) noexcept
2376
+ : state(other.state), whence(other.whence) {
1831
2377
  GPR_ASSERT(state == State::kState0);
1832
2378
  Construct(&prior.current_promise, other.prior.current_promise);
1833
2379
  Construct(
@@ -1847,7 +2393,8 @@ struct SeqState<Traits, P, F0, F1, F2, F3, F4, F5, F6, F7> {
1847
2393
  Construct(&prior.next_factory, other.prior.next_factory);
1848
2394
  }
1849
2395
  SeqState& operator=(const SeqState& other) = delete;
1850
- SeqState(SeqState&& other) noexcept : state(other.state) {
2396
+ SeqState(SeqState&& other) noexcept
2397
+ : state(other.state), whence(other.whence) {
1851
2398
  switch (state) {
1852
2399
  case State::kState0:
1853
2400
  Construct(
@@ -1923,9 +2470,25 @@ struct SeqState<Traits, P, F0, F1, F2, F3, F4, F5, F6, F7> {
1923
2470
  Poll<Result> PollOnce() {
1924
2471
  switch (state) {
1925
2472
  case State::kState0: {
2473
+ if (grpc_trace_promise_primitives.enabled()) {
2474
+ gpr_log(whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG,
2475
+ "seq[%p]: begin poll step 1/9", this);
2476
+ }
1926
2477
  auto result =
1927
2478
  prior.prior.prior.prior.prior.prior.prior.prior.current_promise();
1928
2479
  PromiseResult0* p = result.value_if_ready();
2480
+ if (grpc_trace_promise_primitives.enabled()) {
2481
+ gpr_log(
2482
+ whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG,
2483
+ "seq[%p]: poll step 1/9 gets %s", this,
2484
+ p != nullptr
2485
+ ? (PromiseResultTraits0::IsOk(*p)
2486
+ ? "ready"
2487
+ : absl::StrCat("early-error:",
2488
+ PromiseResultTraits0::ErrorString(*p))
2489
+ .c_str())
2490
+ : "pending");
2491
+ }
1929
2492
  if (p == nullptr) return Pending{};
1930
2493
  if (!PromiseResultTraits0::IsOk(*p)) {
1931
2494
  return PromiseResultTraits0::template ReturnValue<Result>(
@@ -1943,9 +2506,25 @@ struct SeqState<Traits, P, F0, F1, F2, F3, F4, F5, F6, F7> {
1943
2506
  }
1944
2507
  ABSL_FALLTHROUGH_INTENDED;
1945
2508
  case State::kState1: {
2509
+ if (grpc_trace_promise_primitives.enabled()) {
2510
+ gpr_log(whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG,
2511
+ "seq[%p]: begin poll step 2/9", this);
2512
+ }
1946
2513
  auto result =
1947
2514
  prior.prior.prior.prior.prior.prior.prior.current_promise();
1948
2515
  PromiseResult1* p = result.value_if_ready();
2516
+ if (grpc_trace_promise_primitives.enabled()) {
2517
+ gpr_log(
2518
+ whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG,
2519
+ "seq[%p]: poll step 2/9 gets %s", this,
2520
+ p != nullptr
2521
+ ? (PromiseResultTraits1::IsOk(*p)
2522
+ ? "ready"
2523
+ : absl::StrCat("early-error:",
2524
+ PromiseResultTraits1::ErrorString(*p))
2525
+ .c_str())
2526
+ : "pending");
2527
+ }
1949
2528
  if (p == nullptr) return Pending{};
1950
2529
  if (!PromiseResultTraits1::IsOk(*p)) {
1951
2530
  return PromiseResultTraits1::template ReturnValue<Result>(
@@ -1962,8 +2541,24 @@ struct SeqState<Traits, P, F0, F1, F2, F3, F4, F5, F6, F7> {
1962
2541
  }
1963
2542
  ABSL_FALLTHROUGH_INTENDED;
1964
2543
  case State::kState2: {
2544
+ if (grpc_trace_promise_primitives.enabled()) {
2545
+ gpr_log(whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG,
2546
+ "seq[%p]: begin poll step 3/9", this);
2547
+ }
1965
2548
  auto result = prior.prior.prior.prior.prior.prior.current_promise();
1966
2549
  PromiseResult2* p = result.value_if_ready();
2550
+ if (grpc_trace_promise_primitives.enabled()) {
2551
+ gpr_log(
2552
+ whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG,
2553
+ "seq[%p]: poll step 3/9 gets %s", this,
2554
+ p != nullptr
2555
+ ? (PromiseResultTraits2::IsOk(*p)
2556
+ ? "ready"
2557
+ : absl::StrCat("early-error:",
2558
+ PromiseResultTraits2::ErrorString(*p))
2559
+ .c_str())
2560
+ : "pending");
2561
+ }
1967
2562
  if (p == nullptr) return Pending{};
1968
2563
  if (!PromiseResultTraits2::IsOk(*p)) {
1969
2564
  return PromiseResultTraits2::template ReturnValue<Result>(
@@ -1979,8 +2574,24 @@ struct SeqState<Traits, P, F0, F1, F2, F3, F4, F5, F6, F7> {
1979
2574
  }
1980
2575
  ABSL_FALLTHROUGH_INTENDED;
1981
2576
  case State::kState3: {
2577
+ if (grpc_trace_promise_primitives.enabled()) {
2578
+ gpr_log(whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG,
2579
+ "seq[%p]: begin poll step 4/9", this);
2580
+ }
1982
2581
  auto result = prior.prior.prior.prior.prior.current_promise();
1983
2582
  PromiseResult3* p = result.value_if_ready();
2583
+ if (grpc_trace_promise_primitives.enabled()) {
2584
+ gpr_log(
2585
+ whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG,
2586
+ "seq[%p]: poll step 4/9 gets %s", this,
2587
+ p != nullptr
2588
+ ? (PromiseResultTraits3::IsOk(*p)
2589
+ ? "ready"
2590
+ : absl::StrCat("early-error:",
2591
+ PromiseResultTraits3::ErrorString(*p))
2592
+ .c_str())
2593
+ : "pending");
2594
+ }
1984
2595
  if (p == nullptr) return Pending{};
1985
2596
  if (!PromiseResultTraits3::IsOk(*p)) {
1986
2597
  return PromiseResultTraits3::template ReturnValue<Result>(
@@ -1996,8 +2607,24 @@ struct SeqState<Traits, P, F0, F1, F2, F3, F4, F5, F6, F7> {
1996
2607
  }
1997
2608
  ABSL_FALLTHROUGH_INTENDED;
1998
2609
  case State::kState4: {
2610
+ if (grpc_trace_promise_primitives.enabled()) {
2611
+ gpr_log(whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG,
2612
+ "seq[%p]: begin poll step 5/9", this);
2613
+ }
1999
2614
  auto result = prior.prior.prior.prior.current_promise();
2000
2615
  PromiseResult4* p = result.value_if_ready();
2616
+ if (grpc_trace_promise_primitives.enabled()) {
2617
+ gpr_log(
2618
+ whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG,
2619
+ "seq[%p]: poll step 5/9 gets %s", this,
2620
+ p != nullptr
2621
+ ? (PromiseResultTraits4::IsOk(*p)
2622
+ ? "ready"
2623
+ : absl::StrCat("early-error:",
2624
+ PromiseResultTraits4::ErrorString(*p))
2625
+ .c_str())
2626
+ : "pending");
2627
+ }
2001
2628
  if (p == nullptr) return Pending{};
2002
2629
  if (!PromiseResultTraits4::IsOk(*p)) {
2003
2630
  return PromiseResultTraits4::template ReturnValue<Result>(
@@ -2012,8 +2639,24 @@ struct SeqState<Traits, P, F0, F1, F2, F3, F4, F5, F6, F7> {
2012
2639
  }
2013
2640
  ABSL_FALLTHROUGH_INTENDED;
2014
2641
  case State::kState5: {
2642
+ if (grpc_trace_promise_primitives.enabled()) {
2643
+ gpr_log(whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG,
2644
+ "seq[%p]: begin poll step 6/9", this);
2645
+ }
2015
2646
  auto result = prior.prior.prior.current_promise();
2016
2647
  PromiseResult5* p = result.value_if_ready();
2648
+ if (grpc_trace_promise_primitives.enabled()) {
2649
+ gpr_log(
2650
+ whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG,
2651
+ "seq[%p]: poll step 6/9 gets %s", this,
2652
+ p != nullptr
2653
+ ? (PromiseResultTraits5::IsOk(*p)
2654
+ ? "ready"
2655
+ : absl::StrCat("early-error:",
2656
+ PromiseResultTraits5::ErrorString(*p))
2657
+ .c_str())
2658
+ : "pending");
2659
+ }
2017
2660
  if (p == nullptr) return Pending{};
2018
2661
  if (!PromiseResultTraits5::IsOk(*p)) {
2019
2662
  return PromiseResultTraits5::template ReturnValue<Result>(
@@ -2028,8 +2671,24 @@ struct SeqState<Traits, P, F0, F1, F2, F3, F4, F5, F6, F7> {
2028
2671
  }
2029
2672
  ABSL_FALLTHROUGH_INTENDED;
2030
2673
  case State::kState6: {
2674
+ if (grpc_trace_promise_primitives.enabled()) {
2675
+ gpr_log(whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG,
2676
+ "seq[%p]: begin poll step 7/9", this);
2677
+ }
2031
2678
  auto result = prior.prior.current_promise();
2032
2679
  PromiseResult6* p = result.value_if_ready();
2680
+ if (grpc_trace_promise_primitives.enabled()) {
2681
+ gpr_log(
2682
+ whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG,
2683
+ "seq[%p]: poll step 7/9 gets %s", this,
2684
+ p != nullptr
2685
+ ? (PromiseResultTraits6::IsOk(*p)
2686
+ ? "ready"
2687
+ : absl::StrCat("early-error:",
2688
+ PromiseResultTraits6::ErrorString(*p))
2689
+ .c_str())
2690
+ : "pending");
2691
+ }
2033
2692
  if (p == nullptr) return Pending{};
2034
2693
  if (!PromiseResultTraits6::IsOk(*p)) {
2035
2694
  return PromiseResultTraits6::template ReturnValue<Result>(
@@ -2044,8 +2703,24 @@ struct SeqState<Traits, P, F0, F1, F2, F3, F4, F5, F6, F7> {
2044
2703
  }
2045
2704
  ABSL_FALLTHROUGH_INTENDED;
2046
2705
  case State::kState7: {
2706
+ if (grpc_trace_promise_primitives.enabled()) {
2707
+ gpr_log(whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG,
2708
+ "seq[%p]: begin poll step 8/9", this);
2709
+ }
2047
2710
  auto result = prior.current_promise();
2048
2711
  PromiseResult7* p = result.value_if_ready();
2712
+ if (grpc_trace_promise_primitives.enabled()) {
2713
+ gpr_log(
2714
+ whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG,
2715
+ "seq[%p]: poll step 8/9 gets %s", this,
2716
+ p != nullptr
2717
+ ? (PromiseResultTraits7::IsOk(*p)
2718
+ ? "ready"
2719
+ : absl::StrCat("early-error:",
2720
+ PromiseResultTraits7::ErrorString(*p))
2721
+ .c_str())
2722
+ : "pending");
2723
+ }
2049
2724
  if (p == nullptr) return Pending{};
2050
2725
  if (!PromiseResultTraits7::IsOk(*p)) {
2051
2726
  return PromiseResultTraits7::template ReturnValue<Result>(
@@ -2061,7 +2736,3057 @@ struct SeqState<Traits, P, F0, F1, F2, F3, F4, F5, F6, F7> {
2061
2736
  ABSL_FALLTHROUGH_INTENDED;
2062
2737
  default:
2063
2738
  case State::kState8: {
2739
+ if (grpc_trace_promise_primitives.enabled()) {
2740
+ gpr_log(whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG,
2741
+ "seq[%p]: begin poll step 9/9", this);
2742
+ }
2064
2743
  auto result = current_promise();
2744
+ if (grpc_trace_promise_primitives.enabled()) {
2745
+ gpr_log(whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG,
2746
+ "seq[%p]: poll step 9/9 gets %s", this,
2747
+ result.ready() ? "ready" : "pending");
2748
+ }
2749
+ auto* p = result.value_if_ready();
2750
+ if (p == nullptr) return Pending{};
2751
+ return Result(std::move(*p));
2752
+ }
2753
+ }
2754
+ }
2755
+ };
2756
+
2757
+ template <template <typename> class Traits, typename P, typename F0,
2758
+ typename F1, typename F2, typename F3, typename F4, typename F5,
2759
+ typename F6, typename F7, typename F8>
2760
+ struct SeqState<Traits, P, F0, F1, F2, F3, F4, F5, F6, F7, F8> {
2761
+ using Promise0 = PromiseLike<P>;
2762
+ using PromiseResult0 = typename Promise0::Result;
2763
+ using PromiseResultTraits0 = Traits<PromiseResult0>;
2764
+ using NextFactory0 =
2765
+ OncePromiseFactory<typename PromiseResultTraits0::UnwrappedType, F0>;
2766
+ using Promise1 = typename NextFactory0::Promise;
2767
+ using PromiseResult1 = typename Promise1::Result;
2768
+ using PromiseResultTraits1 = Traits<PromiseResult1>;
2769
+ using NextFactory1 =
2770
+ OncePromiseFactory<typename PromiseResultTraits1::UnwrappedType, F1>;
2771
+ using Promise2 = typename NextFactory1::Promise;
2772
+ using PromiseResult2 = typename Promise2::Result;
2773
+ using PromiseResultTraits2 = Traits<PromiseResult2>;
2774
+ using NextFactory2 =
2775
+ OncePromiseFactory<typename PromiseResultTraits2::UnwrappedType, F2>;
2776
+ using Promise3 = typename NextFactory2::Promise;
2777
+ using PromiseResult3 = typename Promise3::Result;
2778
+ using PromiseResultTraits3 = Traits<PromiseResult3>;
2779
+ using NextFactory3 =
2780
+ OncePromiseFactory<typename PromiseResultTraits3::UnwrappedType, F3>;
2781
+ using Promise4 = typename NextFactory3::Promise;
2782
+ using PromiseResult4 = typename Promise4::Result;
2783
+ using PromiseResultTraits4 = Traits<PromiseResult4>;
2784
+ using NextFactory4 =
2785
+ OncePromiseFactory<typename PromiseResultTraits4::UnwrappedType, F4>;
2786
+ using Promise5 = typename NextFactory4::Promise;
2787
+ using PromiseResult5 = typename Promise5::Result;
2788
+ using PromiseResultTraits5 = Traits<PromiseResult5>;
2789
+ using NextFactory5 =
2790
+ OncePromiseFactory<typename PromiseResultTraits5::UnwrappedType, F5>;
2791
+ using Promise6 = typename NextFactory5::Promise;
2792
+ using PromiseResult6 = typename Promise6::Result;
2793
+ using PromiseResultTraits6 = Traits<PromiseResult6>;
2794
+ using NextFactory6 =
2795
+ OncePromiseFactory<typename PromiseResultTraits6::UnwrappedType, F6>;
2796
+ using Promise7 = typename NextFactory6::Promise;
2797
+ using PromiseResult7 = typename Promise7::Result;
2798
+ using PromiseResultTraits7 = Traits<PromiseResult7>;
2799
+ using NextFactory7 =
2800
+ OncePromiseFactory<typename PromiseResultTraits7::UnwrappedType, F7>;
2801
+ using Promise8 = typename NextFactory7::Promise;
2802
+ using PromiseResult8 = typename Promise8::Result;
2803
+ using PromiseResultTraits8 = Traits<PromiseResult8>;
2804
+ using NextFactory8 =
2805
+ OncePromiseFactory<typename PromiseResultTraits8::UnwrappedType, F8>;
2806
+ using Promise9 = typename NextFactory8::Promise;
2807
+ using PromiseResult9 = typename Promise9::Result;
2808
+ using PromiseResultTraits9 = Traits<PromiseResult9>;
2809
+ using Result = typename PromiseResultTraits9::WrappedType;
2810
+ struct Running0 {
2811
+ GPR_NO_UNIQUE_ADDRESS Promise0 current_promise;
2812
+ GPR_NO_UNIQUE_ADDRESS NextFactory0 next_factory;
2813
+ };
2814
+ struct Running1 {
2815
+ union {
2816
+ GPR_NO_UNIQUE_ADDRESS Running0 prior;
2817
+ GPR_NO_UNIQUE_ADDRESS Promise1 current_promise;
2818
+ };
2819
+ GPR_NO_UNIQUE_ADDRESS NextFactory1 next_factory;
2820
+ };
2821
+ struct Running2 {
2822
+ union {
2823
+ GPR_NO_UNIQUE_ADDRESS Running1 prior;
2824
+ GPR_NO_UNIQUE_ADDRESS Promise2 current_promise;
2825
+ };
2826
+ GPR_NO_UNIQUE_ADDRESS NextFactory2 next_factory;
2827
+ };
2828
+ struct Running3 {
2829
+ union {
2830
+ GPR_NO_UNIQUE_ADDRESS Running2 prior;
2831
+ GPR_NO_UNIQUE_ADDRESS Promise3 current_promise;
2832
+ };
2833
+ GPR_NO_UNIQUE_ADDRESS NextFactory3 next_factory;
2834
+ };
2835
+ struct Running4 {
2836
+ union {
2837
+ GPR_NO_UNIQUE_ADDRESS Running3 prior;
2838
+ GPR_NO_UNIQUE_ADDRESS Promise4 current_promise;
2839
+ };
2840
+ GPR_NO_UNIQUE_ADDRESS NextFactory4 next_factory;
2841
+ };
2842
+ struct Running5 {
2843
+ union {
2844
+ GPR_NO_UNIQUE_ADDRESS Running4 prior;
2845
+ GPR_NO_UNIQUE_ADDRESS Promise5 current_promise;
2846
+ };
2847
+ GPR_NO_UNIQUE_ADDRESS NextFactory5 next_factory;
2848
+ };
2849
+ struct Running6 {
2850
+ union {
2851
+ GPR_NO_UNIQUE_ADDRESS Running5 prior;
2852
+ GPR_NO_UNIQUE_ADDRESS Promise6 current_promise;
2853
+ };
2854
+ GPR_NO_UNIQUE_ADDRESS NextFactory6 next_factory;
2855
+ };
2856
+ struct Running7 {
2857
+ union {
2858
+ GPR_NO_UNIQUE_ADDRESS Running6 prior;
2859
+ GPR_NO_UNIQUE_ADDRESS Promise7 current_promise;
2860
+ };
2861
+ GPR_NO_UNIQUE_ADDRESS NextFactory7 next_factory;
2862
+ };
2863
+ struct Running8 {
2864
+ union {
2865
+ GPR_NO_UNIQUE_ADDRESS Running7 prior;
2866
+ GPR_NO_UNIQUE_ADDRESS Promise8 current_promise;
2867
+ };
2868
+ GPR_NO_UNIQUE_ADDRESS NextFactory8 next_factory;
2869
+ };
2870
+ union {
2871
+ GPR_NO_UNIQUE_ADDRESS Running8 prior;
2872
+ GPR_NO_UNIQUE_ADDRESS Promise9 current_promise;
2873
+ };
2874
+ enum class State : uint8_t {
2875
+ kState0,
2876
+ kState1,
2877
+ kState2,
2878
+ kState3,
2879
+ kState4,
2880
+ kState5,
2881
+ kState6,
2882
+ kState7,
2883
+ kState8,
2884
+ kState9
2885
+ };
2886
+ GPR_NO_UNIQUE_ADDRESS State state = State::kState0;
2887
+ GPR_NO_UNIQUE_ADDRESS DebugLocation whence;
2888
+
2889
+ SeqState(P&& p, F0&& f0, F1&& f1, F2&& f2, F3&& f3, F4&& f4, F5&& f5, F6&& f6,
2890
+ F7&& f7, F8&& f8, DebugLocation whence) noexcept
2891
+ : whence(whence) {
2892
+ Construct(
2893
+ &prior.prior.prior.prior.prior.prior.prior.prior.prior.current_promise,
2894
+ std::forward<P>(p));
2895
+ Construct(
2896
+ &prior.prior.prior.prior.prior.prior.prior.prior.prior.next_factory,
2897
+ std::forward<F0>(f0));
2898
+ Construct(&prior.prior.prior.prior.prior.prior.prior.prior.next_factory,
2899
+ std::forward<F1>(f1));
2900
+ Construct(&prior.prior.prior.prior.prior.prior.prior.next_factory,
2901
+ std::forward<F2>(f2));
2902
+ Construct(&prior.prior.prior.prior.prior.prior.next_factory,
2903
+ std::forward<F3>(f3));
2904
+ Construct(&prior.prior.prior.prior.prior.next_factory,
2905
+ std::forward<F4>(f4));
2906
+ Construct(&prior.prior.prior.prior.next_factory, std::forward<F5>(f5));
2907
+ Construct(&prior.prior.prior.next_factory, std::forward<F6>(f6));
2908
+ Construct(&prior.prior.next_factory, std::forward<F7>(f7));
2909
+ Construct(&prior.next_factory, std::forward<F8>(f8));
2910
+ }
2911
+ ~SeqState() {
2912
+ switch (state) {
2913
+ case State::kState0:
2914
+ Destruct(&prior.prior.prior.prior.prior.prior.prior.prior.prior
2915
+ .current_promise);
2916
+ goto tail0;
2917
+ case State::kState1:
2918
+ Destruct(
2919
+ &prior.prior.prior.prior.prior.prior.prior.prior.current_promise);
2920
+ goto tail1;
2921
+ case State::kState2:
2922
+ Destruct(&prior.prior.prior.prior.prior.prior.prior.current_promise);
2923
+ goto tail2;
2924
+ case State::kState3:
2925
+ Destruct(&prior.prior.prior.prior.prior.prior.current_promise);
2926
+ goto tail3;
2927
+ case State::kState4:
2928
+ Destruct(&prior.prior.prior.prior.prior.current_promise);
2929
+ goto tail4;
2930
+ case State::kState5:
2931
+ Destruct(&prior.prior.prior.prior.current_promise);
2932
+ goto tail5;
2933
+ case State::kState6:
2934
+ Destruct(&prior.prior.prior.current_promise);
2935
+ goto tail6;
2936
+ case State::kState7:
2937
+ Destruct(&prior.prior.current_promise);
2938
+ goto tail7;
2939
+ case State::kState8:
2940
+ Destruct(&prior.current_promise);
2941
+ goto tail8;
2942
+ case State::kState9:
2943
+ Destruct(&current_promise);
2944
+ return;
2945
+ }
2946
+ tail0:
2947
+ Destruct(
2948
+ &prior.prior.prior.prior.prior.prior.prior.prior.prior.next_factory);
2949
+ tail1:
2950
+ Destruct(&prior.prior.prior.prior.prior.prior.prior.prior.next_factory);
2951
+ tail2:
2952
+ Destruct(&prior.prior.prior.prior.prior.prior.prior.next_factory);
2953
+ tail3:
2954
+ Destruct(&prior.prior.prior.prior.prior.prior.next_factory);
2955
+ tail4:
2956
+ Destruct(&prior.prior.prior.prior.prior.next_factory);
2957
+ tail5:
2958
+ Destruct(&prior.prior.prior.prior.next_factory);
2959
+ tail6:
2960
+ Destruct(&prior.prior.prior.next_factory);
2961
+ tail7:
2962
+ Destruct(&prior.prior.next_factory);
2963
+ tail8:
2964
+ Destruct(&prior.next_factory);
2965
+ }
2966
+ SeqState(const SeqState& other) noexcept
2967
+ : state(other.state), whence(other.whence) {
2968
+ GPR_ASSERT(state == State::kState0);
2969
+ Construct(&prior.current_promise, other.prior.current_promise);
2970
+ Construct(
2971
+ &prior.prior.prior.prior.prior.prior.prior.prior.prior.next_factory,
2972
+ other.prior.prior.prior.prior.prior.prior.prior.prior.prior
2973
+ .next_factory);
2974
+ Construct(
2975
+ &prior.prior.prior.prior.prior.prior.prior.prior.next_factory,
2976
+ other.prior.prior.prior.prior.prior.prior.prior.prior.next_factory);
2977
+ Construct(&prior.prior.prior.prior.prior.prior.prior.next_factory,
2978
+ other.prior.prior.prior.prior.prior.prior.prior.next_factory);
2979
+ Construct(&prior.prior.prior.prior.prior.prior.next_factory,
2980
+ other.prior.prior.prior.prior.prior.prior.next_factory);
2981
+ Construct(&prior.prior.prior.prior.prior.next_factory,
2982
+ other.prior.prior.prior.prior.prior.next_factory);
2983
+ Construct(&prior.prior.prior.prior.next_factory,
2984
+ other.prior.prior.prior.prior.next_factory);
2985
+ Construct(&prior.prior.prior.next_factory,
2986
+ other.prior.prior.prior.next_factory);
2987
+ Construct(&prior.prior.next_factory, other.prior.prior.next_factory);
2988
+ Construct(&prior.next_factory, other.prior.next_factory);
2989
+ }
2990
+ SeqState& operator=(const SeqState& other) = delete;
2991
+ SeqState(SeqState&& other) noexcept
2992
+ : state(other.state), whence(other.whence) {
2993
+ switch (state) {
2994
+ case State::kState0:
2995
+ Construct(&prior.prior.prior.prior.prior.prior.prior.prior.prior
2996
+ .current_promise,
2997
+ std::move(other.prior.prior.prior.prior.prior.prior.prior
2998
+ .prior.prior.current_promise));
2999
+ goto tail0;
3000
+ case State::kState1:
3001
+ Construct(
3002
+ &prior.prior.prior.prior.prior.prior.prior.prior.current_promise,
3003
+ std::move(other.prior.prior.prior.prior.prior.prior.prior.prior
3004
+ .current_promise));
3005
+ goto tail1;
3006
+ case State::kState2:
3007
+ Construct(&prior.prior.prior.prior.prior.prior.prior.current_promise,
3008
+ std::move(other.prior.prior.prior.prior.prior.prior.prior
3009
+ .current_promise));
3010
+ goto tail2;
3011
+ case State::kState3:
3012
+ Construct(
3013
+ &prior.prior.prior.prior.prior.prior.current_promise,
3014
+ std::move(
3015
+ other.prior.prior.prior.prior.prior.prior.current_promise));
3016
+ goto tail3;
3017
+ case State::kState4:
3018
+ Construct(
3019
+ &prior.prior.prior.prior.prior.current_promise,
3020
+ std::move(other.prior.prior.prior.prior.prior.current_promise));
3021
+ goto tail4;
3022
+ case State::kState5:
3023
+ Construct(&prior.prior.prior.prior.current_promise,
3024
+ std::move(other.prior.prior.prior.prior.current_promise));
3025
+ goto tail5;
3026
+ case State::kState6:
3027
+ Construct(&prior.prior.prior.current_promise,
3028
+ std::move(other.prior.prior.prior.current_promise));
3029
+ goto tail6;
3030
+ case State::kState7:
3031
+ Construct(&prior.prior.current_promise,
3032
+ std::move(other.prior.prior.current_promise));
3033
+ goto tail7;
3034
+ case State::kState8:
3035
+ Construct(&prior.current_promise,
3036
+ std::move(other.prior.current_promise));
3037
+ goto tail8;
3038
+ case State::kState9:
3039
+ Construct(&current_promise, std::move(other.current_promise));
3040
+ return;
3041
+ }
3042
+ tail0:
3043
+ Construct(
3044
+ &prior.prior.prior.prior.prior.prior.prior.prior.prior.next_factory,
3045
+ std::move(other.prior.prior.prior.prior.prior.prior.prior.prior.prior
3046
+ .next_factory));
3047
+ tail1:
3048
+ Construct(&prior.prior.prior.prior.prior.prior.prior.prior.next_factory,
3049
+ std::move(other.prior.prior.prior.prior.prior.prior.prior.prior
3050
+ .next_factory));
3051
+ tail2:
3052
+ Construct(
3053
+ &prior.prior.prior.prior.prior.prior.prior.next_factory,
3054
+ std::move(
3055
+ other.prior.prior.prior.prior.prior.prior.prior.next_factory));
3056
+ tail3:
3057
+ Construct(
3058
+ &prior.prior.prior.prior.prior.prior.next_factory,
3059
+ std::move(other.prior.prior.prior.prior.prior.prior.next_factory));
3060
+ tail4:
3061
+ Construct(&prior.prior.prior.prior.prior.next_factory,
3062
+ std::move(other.prior.prior.prior.prior.prior.next_factory));
3063
+ tail5:
3064
+ Construct(&prior.prior.prior.prior.next_factory,
3065
+ std::move(other.prior.prior.prior.prior.next_factory));
3066
+ tail6:
3067
+ Construct(&prior.prior.prior.next_factory,
3068
+ std::move(other.prior.prior.prior.next_factory));
3069
+ tail7:
3070
+ Construct(&prior.prior.next_factory,
3071
+ std::move(other.prior.prior.next_factory));
3072
+ tail8:
3073
+ Construct(&prior.next_factory, std::move(other.prior.next_factory));
3074
+ }
3075
+ SeqState& operator=(SeqState&& other) = delete;
3076
+ Poll<Result> PollOnce() {
3077
+ switch (state) {
3078
+ case State::kState0: {
3079
+ if (grpc_trace_promise_primitives.enabled()) {
3080
+ gpr_log(whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG,
3081
+ "seq[%p]: begin poll step 1/10", this);
3082
+ }
3083
+ auto result = prior.prior.prior.prior.prior.prior.prior.prior.prior
3084
+ .current_promise();
3085
+ PromiseResult0* p = result.value_if_ready();
3086
+ if (grpc_trace_promise_primitives.enabled()) {
3087
+ gpr_log(
3088
+ whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG,
3089
+ "seq[%p]: poll step 1/10 gets %s", this,
3090
+ p != nullptr
3091
+ ? (PromiseResultTraits0::IsOk(*p)
3092
+ ? "ready"
3093
+ : absl::StrCat("early-error:",
3094
+ PromiseResultTraits0::ErrorString(*p))
3095
+ .c_str())
3096
+ : "pending");
3097
+ }
3098
+ if (p == nullptr) return Pending{};
3099
+ if (!PromiseResultTraits0::IsOk(*p)) {
3100
+ return PromiseResultTraits0::template ReturnValue<Result>(
3101
+ std::move(*p));
3102
+ }
3103
+ Destruct(&prior.prior.prior.prior.prior.prior.prior.prior.prior
3104
+ .current_promise);
3105
+ auto next_promise = PromiseResultTraits0::CallFactory(
3106
+ &prior.prior.prior.prior.prior.prior.prior.prior.prior.next_factory,
3107
+ std::move(*p));
3108
+ Destruct(&prior.prior.prior.prior.prior.prior.prior.prior.prior
3109
+ .next_factory);
3110
+ Construct(
3111
+ &prior.prior.prior.prior.prior.prior.prior.prior.current_promise,
3112
+ std::move(next_promise));
3113
+ state = State::kState1;
3114
+ }
3115
+ ABSL_FALLTHROUGH_INTENDED;
3116
+ case State::kState1: {
3117
+ if (grpc_trace_promise_primitives.enabled()) {
3118
+ gpr_log(whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG,
3119
+ "seq[%p]: begin poll step 2/10", this);
3120
+ }
3121
+ auto result =
3122
+ prior.prior.prior.prior.prior.prior.prior.prior.current_promise();
3123
+ PromiseResult1* p = result.value_if_ready();
3124
+ if (grpc_trace_promise_primitives.enabled()) {
3125
+ gpr_log(
3126
+ whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG,
3127
+ "seq[%p]: poll step 2/10 gets %s", this,
3128
+ p != nullptr
3129
+ ? (PromiseResultTraits1::IsOk(*p)
3130
+ ? "ready"
3131
+ : absl::StrCat("early-error:",
3132
+ PromiseResultTraits1::ErrorString(*p))
3133
+ .c_str())
3134
+ : "pending");
3135
+ }
3136
+ if (p == nullptr) return Pending{};
3137
+ if (!PromiseResultTraits1::IsOk(*p)) {
3138
+ return PromiseResultTraits1::template ReturnValue<Result>(
3139
+ std::move(*p));
3140
+ }
3141
+ Destruct(
3142
+ &prior.prior.prior.prior.prior.prior.prior.prior.current_promise);
3143
+ auto next_promise = PromiseResultTraits1::CallFactory(
3144
+ &prior.prior.prior.prior.prior.prior.prior.prior.next_factory,
3145
+ std::move(*p));
3146
+ Destruct(&prior.prior.prior.prior.prior.prior.prior.prior.next_factory);
3147
+ Construct(&prior.prior.prior.prior.prior.prior.prior.current_promise,
3148
+ std::move(next_promise));
3149
+ state = State::kState2;
3150
+ }
3151
+ ABSL_FALLTHROUGH_INTENDED;
3152
+ case State::kState2: {
3153
+ if (grpc_trace_promise_primitives.enabled()) {
3154
+ gpr_log(whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG,
3155
+ "seq[%p]: begin poll step 3/10", this);
3156
+ }
3157
+ auto result =
3158
+ prior.prior.prior.prior.prior.prior.prior.current_promise();
3159
+ PromiseResult2* p = result.value_if_ready();
3160
+ if (grpc_trace_promise_primitives.enabled()) {
3161
+ gpr_log(
3162
+ whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG,
3163
+ "seq[%p]: poll step 3/10 gets %s", this,
3164
+ p != nullptr
3165
+ ? (PromiseResultTraits2::IsOk(*p)
3166
+ ? "ready"
3167
+ : absl::StrCat("early-error:",
3168
+ PromiseResultTraits2::ErrorString(*p))
3169
+ .c_str())
3170
+ : "pending");
3171
+ }
3172
+ if (p == nullptr) return Pending{};
3173
+ if (!PromiseResultTraits2::IsOk(*p)) {
3174
+ return PromiseResultTraits2::template ReturnValue<Result>(
3175
+ std::move(*p));
3176
+ }
3177
+ Destruct(&prior.prior.prior.prior.prior.prior.prior.current_promise);
3178
+ auto next_promise = PromiseResultTraits2::CallFactory(
3179
+ &prior.prior.prior.prior.prior.prior.prior.next_factory,
3180
+ std::move(*p));
3181
+ Destruct(&prior.prior.prior.prior.prior.prior.prior.next_factory);
3182
+ Construct(&prior.prior.prior.prior.prior.prior.current_promise,
3183
+ std::move(next_promise));
3184
+ state = State::kState3;
3185
+ }
3186
+ ABSL_FALLTHROUGH_INTENDED;
3187
+ case State::kState3: {
3188
+ if (grpc_trace_promise_primitives.enabled()) {
3189
+ gpr_log(whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG,
3190
+ "seq[%p]: begin poll step 4/10", this);
3191
+ }
3192
+ auto result = prior.prior.prior.prior.prior.prior.current_promise();
3193
+ PromiseResult3* p = result.value_if_ready();
3194
+ if (grpc_trace_promise_primitives.enabled()) {
3195
+ gpr_log(
3196
+ whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG,
3197
+ "seq[%p]: poll step 4/10 gets %s", this,
3198
+ p != nullptr
3199
+ ? (PromiseResultTraits3::IsOk(*p)
3200
+ ? "ready"
3201
+ : absl::StrCat("early-error:",
3202
+ PromiseResultTraits3::ErrorString(*p))
3203
+ .c_str())
3204
+ : "pending");
3205
+ }
3206
+ if (p == nullptr) return Pending{};
3207
+ if (!PromiseResultTraits3::IsOk(*p)) {
3208
+ return PromiseResultTraits3::template ReturnValue<Result>(
3209
+ std::move(*p));
3210
+ }
3211
+ Destruct(&prior.prior.prior.prior.prior.prior.current_promise);
3212
+ auto next_promise = PromiseResultTraits3::CallFactory(
3213
+ &prior.prior.prior.prior.prior.prior.next_factory, std::move(*p));
3214
+ Destruct(&prior.prior.prior.prior.prior.prior.next_factory);
3215
+ Construct(&prior.prior.prior.prior.prior.current_promise,
3216
+ std::move(next_promise));
3217
+ state = State::kState4;
3218
+ }
3219
+ ABSL_FALLTHROUGH_INTENDED;
3220
+ case State::kState4: {
3221
+ if (grpc_trace_promise_primitives.enabled()) {
3222
+ gpr_log(whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG,
3223
+ "seq[%p]: begin poll step 5/10", this);
3224
+ }
3225
+ auto result = prior.prior.prior.prior.prior.current_promise();
3226
+ PromiseResult4* p = result.value_if_ready();
3227
+ if (grpc_trace_promise_primitives.enabled()) {
3228
+ gpr_log(
3229
+ whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG,
3230
+ "seq[%p]: poll step 5/10 gets %s", this,
3231
+ p != nullptr
3232
+ ? (PromiseResultTraits4::IsOk(*p)
3233
+ ? "ready"
3234
+ : absl::StrCat("early-error:",
3235
+ PromiseResultTraits4::ErrorString(*p))
3236
+ .c_str())
3237
+ : "pending");
3238
+ }
3239
+ if (p == nullptr) return Pending{};
3240
+ if (!PromiseResultTraits4::IsOk(*p)) {
3241
+ return PromiseResultTraits4::template ReturnValue<Result>(
3242
+ std::move(*p));
3243
+ }
3244
+ Destruct(&prior.prior.prior.prior.prior.current_promise);
3245
+ auto next_promise = PromiseResultTraits4::CallFactory(
3246
+ &prior.prior.prior.prior.prior.next_factory, std::move(*p));
3247
+ Destruct(&prior.prior.prior.prior.prior.next_factory);
3248
+ Construct(&prior.prior.prior.prior.current_promise,
3249
+ std::move(next_promise));
3250
+ state = State::kState5;
3251
+ }
3252
+ ABSL_FALLTHROUGH_INTENDED;
3253
+ case State::kState5: {
3254
+ if (grpc_trace_promise_primitives.enabled()) {
3255
+ gpr_log(whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG,
3256
+ "seq[%p]: begin poll step 6/10", this);
3257
+ }
3258
+ auto result = prior.prior.prior.prior.current_promise();
3259
+ PromiseResult5* p = result.value_if_ready();
3260
+ if (grpc_trace_promise_primitives.enabled()) {
3261
+ gpr_log(
3262
+ whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG,
3263
+ "seq[%p]: poll step 6/10 gets %s", this,
3264
+ p != nullptr
3265
+ ? (PromiseResultTraits5::IsOk(*p)
3266
+ ? "ready"
3267
+ : absl::StrCat("early-error:",
3268
+ PromiseResultTraits5::ErrorString(*p))
3269
+ .c_str())
3270
+ : "pending");
3271
+ }
3272
+ if (p == nullptr) return Pending{};
3273
+ if (!PromiseResultTraits5::IsOk(*p)) {
3274
+ return PromiseResultTraits5::template ReturnValue<Result>(
3275
+ std::move(*p));
3276
+ }
3277
+ Destruct(&prior.prior.prior.prior.current_promise);
3278
+ auto next_promise = PromiseResultTraits5::CallFactory(
3279
+ &prior.prior.prior.prior.next_factory, std::move(*p));
3280
+ Destruct(&prior.prior.prior.prior.next_factory);
3281
+ Construct(&prior.prior.prior.current_promise, std::move(next_promise));
3282
+ state = State::kState6;
3283
+ }
3284
+ ABSL_FALLTHROUGH_INTENDED;
3285
+ case State::kState6: {
3286
+ if (grpc_trace_promise_primitives.enabled()) {
3287
+ gpr_log(whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG,
3288
+ "seq[%p]: begin poll step 7/10", this);
3289
+ }
3290
+ auto result = prior.prior.prior.current_promise();
3291
+ PromiseResult6* p = result.value_if_ready();
3292
+ if (grpc_trace_promise_primitives.enabled()) {
3293
+ gpr_log(
3294
+ whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG,
3295
+ "seq[%p]: poll step 7/10 gets %s", this,
3296
+ p != nullptr
3297
+ ? (PromiseResultTraits6::IsOk(*p)
3298
+ ? "ready"
3299
+ : absl::StrCat("early-error:",
3300
+ PromiseResultTraits6::ErrorString(*p))
3301
+ .c_str())
3302
+ : "pending");
3303
+ }
3304
+ if (p == nullptr) return Pending{};
3305
+ if (!PromiseResultTraits6::IsOk(*p)) {
3306
+ return PromiseResultTraits6::template ReturnValue<Result>(
3307
+ std::move(*p));
3308
+ }
3309
+ Destruct(&prior.prior.prior.current_promise);
3310
+ auto next_promise = PromiseResultTraits6::CallFactory(
3311
+ &prior.prior.prior.next_factory, std::move(*p));
3312
+ Destruct(&prior.prior.prior.next_factory);
3313
+ Construct(&prior.prior.current_promise, std::move(next_promise));
3314
+ state = State::kState7;
3315
+ }
3316
+ ABSL_FALLTHROUGH_INTENDED;
3317
+ case State::kState7: {
3318
+ if (grpc_trace_promise_primitives.enabled()) {
3319
+ gpr_log(whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG,
3320
+ "seq[%p]: begin poll step 8/10", this);
3321
+ }
3322
+ auto result = prior.prior.current_promise();
3323
+ PromiseResult7* p = result.value_if_ready();
3324
+ if (grpc_trace_promise_primitives.enabled()) {
3325
+ gpr_log(
3326
+ whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG,
3327
+ "seq[%p]: poll step 8/10 gets %s", this,
3328
+ p != nullptr
3329
+ ? (PromiseResultTraits7::IsOk(*p)
3330
+ ? "ready"
3331
+ : absl::StrCat("early-error:",
3332
+ PromiseResultTraits7::ErrorString(*p))
3333
+ .c_str())
3334
+ : "pending");
3335
+ }
3336
+ if (p == nullptr) return Pending{};
3337
+ if (!PromiseResultTraits7::IsOk(*p)) {
3338
+ return PromiseResultTraits7::template ReturnValue<Result>(
3339
+ std::move(*p));
3340
+ }
3341
+ Destruct(&prior.prior.current_promise);
3342
+ auto next_promise = PromiseResultTraits7::CallFactory(
3343
+ &prior.prior.next_factory, std::move(*p));
3344
+ Destruct(&prior.prior.next_factory);
3345
+ Construct(&prior.current_promise, std::move(next_promise));
3346
+ state = State::kState8;
3347
+ }
3348
+ ABSL_FALLTHROUGH_INTENDED;
3349
+ case State::kState8: {
3350
+ if (grpc_trace_promise_primitives.enabled()) {
3351
+ gpr_log(whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG,
3352
+ "seq[%p]: begin poll step 9/10", this);
3353
+ }
3354
+ auto result = prior.current_promise();
3355
+ PromiseResult8* p = result.value_if_ready();
3356
+ if (grpc_trace_promise_primitives.enabled()) {
3357
+ gpr_log(
3358
+ whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG,
3359
+ "seq[%p]: poll step 9/10 gets %s", this,
3360
+ p != nullptr
3361
+ ? (PromiseResultTraits8::IsOk(*p)
3362
+ ? "ready"
3363
+ : absl::StrCat("early-error:",
3364
+ PromiseResultTraits8::ErrorString(*p))
3365
+ .c_str())
3366
+ : "pending");
3367
+ }
3368
+ if (p == nullptr) return Pending{};
3369
+ if (!PromiseResultTraits8::IsOk(*p)) {
3370
+ return PromiseResultTraits8::template ReturnValue<Result>(
3371
+ std::move(*p));
3372
+ }
3373
+ Destruct(&prior.current_promise);
3374
+ auto next_promise = PromiseResultTraits8::CallFactory(
3375
+ &prior.next_factory, std::move(*p));
3376
+ Destruct(&prior.next_factory);
3377
+ Construct(&current_promise, std::move(next_promise));
3378
+ state = State::kState9;
3379
+ }
3380
+ ABSL_FALLTHROUGH_INTENDED;
3381
+ default:
3382
+ case State::kState9: {
3383
+ if (grpc_trace_promise_primitives.enabled()) {
3384
+ gpr_log(whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG,
3385
+ "seq[%p]: begin poll step 10/10", this);
3386
+ }
3387
+ auto result = current_promise();
3388
+ if (grpc_trace_promise_primitives.enabled()) {
3389
+ gpr_log(whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG,
3390
+ "seq[%p]: poll step 10/10 gets %s", this,
3391
+ result.ready() ? "ready" : "pending");
3392
+ }
3393
+ auto* p = result.value_if_ready();
3394
+ if (p == nullptr) return Pending{};
3395
+ return Result(std::move(*p));
3396
+ }
3397
+ }
3398
+ }
3399
+ };
3400
+
3401
+ template <template <typename> class Traits, typename P, typename F0,
3402
+ typename F1, typename F2, typename F3, typename F4, typename F5,
3403
+ typename F6, typename F7, typename F8, typename F9>
3404
+ struct SeqState<Traits, P, F0, F1, F2, F3, F4, F5, F6, F7, F8, F9> {
3405
+ using Promise0 = PromiseLike<P>;
3406
+ using PromiseResult0 = typename Promise0::Result;
3407
+ using PromiseResultTraits0 = Traits<PromiseResult0>;
3408
+ using NextFactory0 =
3409
+ OncePromiseFactory<typename PromiseResultTraits0::UnwrappedType, F0>;
3410
+ using Promise1 = typename NextFactory0::Promise;
3411
+ using PromiseResult1 = typename Promise1::Result;
3412
+ using PromiseResultTraits1 = Traits<PromiseResult1>;
3413
+ using NextFactory1 =
3414
+ OncePromiseFactory<typename PromiseResultTraits1::UnwrappedType, F1>;
3415
+ using Promise2 = typename NextFactory1::Promise;
3416
+ using PromiseResult2 = typename Promise2::Result;
3417
+ using PromiseResultTraits2 = Traits<PromiseResult2>;
3418
+ using NextFactory2 =
3419
+ OncePromiseFactory<typename PromiseResultTraits2::UnwrappedType, F2>;
3420
+ using Promise3 = typename NextFactory2::Promise;
3421
+ using PromiseResult3 = typename Promise3::Result;
3422
+ using PromiseResultTraits3 = Traits<PromiseResult3>;
3423
+ using NextFactory3 =
3424
+ OncePromiseFactory<typename PromiseResultTraits3::UnwrappedType, F3>;
3425
+ using Promise4 = typename NextFactory3::Promise;
3426
+ using PromiseResult4 = typename Promise4::Result;
3427
+ using PromiseResultTraits4 = Traits<PromiseResult4>;
3428
+ using NextFactory4 =
3429
+ OncePromiseFactory<typename PromiseResultTraits4::UnwrappedType, F4>;
3430
+ using Promise5 = typename NextFactory4::Promise;
3431
+ using PromiseResult5 = typename Promise5::Result;
3432
+ using PromiseResultTraits5 = Traits<PromiseResult5>;
3433
+ using NextFactory5 =
3434
+ OncePromiseFactory<typename PromiseResultTraits5::UnwrappedType, F5>;
3435
+ using Promise6 = typename NextFactory5::Promise;
3436
+ using PromiseResult6 = typename Promise6::Result;
3437
+ using PromiseResultTraits6 = Traits<PromiseResult6>;
3438
+ using NextFactory6 =
3439
+ OncePromiseFactory<typename PromiseResultTraits6::UnwrappedType, F6>;
3440
+ using Promise7 = typename NextFactory6::Promise;
3441
+ using PromiseResult7 = typename Promise7::Result;
3442
+ using PromiseResultTraits7 = Traits<PromiseResult7>;
3443
+ using NextFactory7 =
3444
+ OncePromiseFactory<typename PromiseResultTraits7::UnwrappedType, F7>;
3445
+ using Promise8 = typename NextFactory7::Promise;
3446
+ using PromiseResult8 = typename Promise8::Result;
3447
+ using PromiseResultTraits8 = Traits<PromiseResult8>;
3448
+ using NextFactory8 =
3449
+ OncePromiseFactory<typename PromiseResultTraits8::UnwrappedType, F8>;
3450
+ using Promise9 = typename NextFactory8::Promise;
3451
+ using PromiseResult9 = typename Promise9::Result;
3452
+ using PromiseResultTraits9 = Traits<PromiseResult9>;
3453
+ using NextFactory9 =
3454
+ OncePromiseFactory<typename PromiseResultTraits9::UnwrappedType, F9>;
3455
+ using Promise10 = typename NextFactory9::Promise;
3456
+ using PromiseResult10 = typename Promise10::Result;
3457
+ using PromiseResultTraits10 = Traits<PromiseResult10>;
3458
+ using Result = typename PromiseResultTraits10::WrappedType;
3459
+ struct Running0 {
3460
+ GPR_NO_UNIQUE_ADDRESS Promise0 current_promise;
3461
+ GPR_NO_UNIQUE_ADDRESS NextFactory0 next_factory;
3462
+ };
3463
+ struct Running1 {
3464
+ union {
3465
+ GPR_NO_UNIQUE_ADDRESS Running0 prior;
3466
+ GPR_NO_UNIQUE_ADDRESS Promise1 current_promise;
3467
+ };
3468
+ GPR_NO_UNIQUE_ADDRESS NextFactory1 next_factory;
3469
+ };
3470
+ struct Running2 {
3471
+ union {
3472
+ GPR_NO_UNIQUE_ADDRESS Running1 prior;
3473
+ GPR_NO_UNIQUE_ADDRESS Promise2 current_promise;
3474
+ };
3475
+ GPR_NO_UNIQUE_ADDRESS NextFactory2 next_factory;
3476
+ };
3477
+ struct Running3 {
3478
+ union {
3479
+ GPR_NO_UNIQUE_ADDRESS Running2 prior;
3480
+ GPR_NO_UNIQUE_ADDRESS Promise3 current_promise;
3481
+ };
3482
+ GPR_NO_UNIQUE_ADDRESS NextFactory3 next_factory;
3483
+ };
3484
+ struct Running4 {
3485
+ union {
3486
+ GPR_NO_UNIQUE_ADDRESS Running3 prior;
3487
+ GPR_NO_UNIQUE_ADDRESS Promise4 current_promise;
3488
+ };
3489
+ GPR_NO_UNIQUE_ADDRESS NextFactory4 next_factory;
3490
+ };
3491
+ struct Running5 {
3492
+ union {
3493
+ GPR_NO_UNIQUE_ADDRESS Running4 prior;
3494
+ GPR_NO_UNIQUE_ADDRESS Promise5 current_promise;
3495
+ };
3496
+ GPR_NO_UNIQUE_ADDRESS NextFactory5 next_factory;
3497
+ };
3498
+ struct Running6 {
3499
+ union {
3500
+ GPR_NO_UNIQUE_ADDRESS Running5 prior;
3501
+ GPR_NO_UNIQUE_ADDRESS Promise6 current_promise;
3502
+ };
3503
+ GPR_NO_UNIQUE_ADDRESS NextFactory6 next_factory;
3504
+ };
3505
+ struct Running7 {
3506
+ union {
3507
+ GPR_NO_UNIQUE_ADDRESS Running6 prior;
3508
+ GPR_NO_UNIQUE_ADDRESS Promise7 current_promise;
3509
+ };
3510
+ GPR_NO_UNIQUE_ADDRESS NextFactory7 next_factory;
3511
+ };
3512
+ struct Running8 {
3513
+ union {
3514
+ GPR_NO_UNIQUE_ADDRESS Running7 prior;
3515
+ GPR_NO_UNIQUE_ADDRESS Promise8 current_promise;
3516
+ };
3517
+ GPR_NO_UNIQUE_ADDRESS NextFactory8 next_factory;
3518
+ };
3519
+ struct Running9 {
3520
+ union {
3521
+ GPR_NO_UNIQUE_ADDRESS Running8 prior;
3522
+ GPR_NO_UNIQUE_ADDRESS Promise9 current_promise;
3523
+ };
3524
+ GPR_NO_UNIQUE_ADDRESS NextFactory9 next_factory;
3525
+ };
3526
+ union {
3527
+ GPR_NO_UNIQUE_ADDRESS Running9 prior;
3528
+ GPR_NO_UNIQUE_ADDRESS Promise10 current_promise;
3529
+ };
3530
+ enum class State : uint8_t {
3531
+ kState0,
3532
+ kState1,
3533
+ kState2,
3534
+ kState3,
3535
+ kState4,
3536
+ kState5,
3537
+ kState6,
3538
+ kState7,
3539
+ kState8,
3540
+ kState9,
3541
+ kState10
3542
+ };
3543
+ GPR_NO_UNIQUE_ADDRESS State state = State::kState0;
3544
+ GPR_NO_UNIQUE_ADDRESS DebugLocation whence;
3545
+
3546
+ SeqState(P&& p, F0&& f0, F1&& f1, F2&& f2, F3&& f3, F4&& f4, F5&& f5, F6&& f6,
3547
+ F7&& f7, F8&& f8, F9&& f9, DebugLocation whence) noexcept
3548
+ : whence(whence) {
3549
+ Construct(&prior.prior.prior.prior.prior.prior.prior.prior.prior.prior
3550
+ .current_promise,
3551
+ std::forward<P>(p));
3552
+ Construct(&prior.prior.prior.prior.prior.prior.prior.prior.prior.prior
3553
+ .next_factory,
3554
+ std::forward<F0>(f0));
3555
+ Construct(
3556
+ &prior.prior.prior.prior.prior.prior.prior.prior.prior.next_factory,
3557
+ std::forward<F1>(f1));
3558
+ Construct(&prior.prior.prior.prior.prior.prior.prior.prior.next_factory,
3559
+ std::forward<F2>(f2));
3560
+ Construct(&prior.prior.prior.prior.prior.prior.prior.next_factory,
3561
+ std::forward<F3>(f3));
3562
+ Construct(&prior.prior.prior.prior.prior.prior.next_factory,
3563
+ std::forward<F4>(f4));
3564
+ Construct(&prior.prior.prior.prior.prior.next_factory,
3565
+ std::forward<F5>(f5));
3566
+ Construct(&prior.prior.prior.prior.next_factory, std::forward<F6>(f6));
3567
+ Construct(&prior.prior.prior.next_factory, std::forward<F7>(f7));
3568
+ Construct(&prior.prior.next_factory, std::forward<F8>(f8));
3569
+ Construct(&prior.next_factory, std::forward<F9>(f9));
3570
+ }
3571
+ ~SeqState() {
3572
+ switch (state) {
3573
+ case State::kState0:
3574
+ Destruct(&prior.prior.prior.prior.prior.prior.prior.prior.prior.prior
3575
+ .current_promise);
3576
+ goto tail0;
3577
+ case State::kState1:
3578
+ Destruct(&prior.prior.prior.prior.prior.prior.prior.prior.prior
3579
+ .current_promise);
3580
+ goto tail1;
3581
+ case State::kState2:
3582
+ Destruct(
3583
+ &prior.prior.prior.prior.prior.prior.prior.prior.current_promise);
3584
+ goto tail2;
3585
+ case State::kState3:
3586
+ Destruct(&prior.prior.prior.prior.prior.prior.prior.current_promise);
3587
+ goto tail3;
3588
+ case State::kState4:
3589
+ Destruct(&prior.prior.prior.prior.prior.prior.current_promise);
3590
+ goto tail4;
3591
+ case State::kState5:
3592
+ Destruct(&prior.prior.prior.prior.prior.current_promise);
3593
+ goto tail5;
3594
+ case State::kState6:
3595
+ Destruct(&prior.prior.prior.prior.current_promise);
3596
+ goto tail6;
3597
+ case State::kState7:
3598
+ Destruct(&prior.prior.prior.current_promise);
3599
+ goto tail7;
3600
+ case State::kState8:
3601
+ Destruct(&prior.prior.current_promise);
3602
+ goto tail8;
3603
+ case State::kState9:
3604
+ Destruct(&prior.current_promise);
3605
+ goto tail9;
3606
+ case State::kState10:
3607
+ Destruct(&current_promise);
3608
+ return;
3609
+ }
3610
+ tail0:
3611
+ Destruct(&prior.prior.prior.prior.prior.prior.prior.prior.prior.prior
3612
+ .next_factory);
3613
+ tail1:
3614
+ Destruct(
3615
+ &prior.prior.prior.prior.prior.prior.prior.prior.prior.next_factory);
3616
+ tail2:
3617
+ Destruct(&prior.prior.prior.prior.prior.prior.prior.prior.next_factory);
3618
+ tail3:
3619
+ Destruct(&prior.prior.prior.prior.prior.prior.prior.next_factory);
3620
+ tail4:
3621
+ Destruct(&prior.prior.prior.prior.prior.prior.next_factory);
3622
+ tail5:
3623
+ Destruct(&prior.prior.prior.prior.prior.next_factory);
3624
+ tail6:
3625
+ Destruct(&prior.prior.prior.prior.next_factory);
3626
+ tail7:
3627
+ Destruct(&prior.prior.prior.next_factory);
3628
+ tail8:
3629
+ Destruct(&prior.prior.next_factory);
3630
+ tail9:
3631
+ Destruct(&prior.next_factory);
3632
+ }
3633
+ SeqState(const SeqState& other) noexcept
3634
+ : state(other.state), whence(other.whence) {
3635
+ GPR_ASSERT(state == State::kState0);
3636
+ Construct(&prior.current_promise, other.prior.current_promise);
3637
+ Construct(&prior.prior.prior.prior.prior.prior.prior.prior.prior.prior
3638
+ .next_factory,
3639
+ other.prior.prior.prior.prior.prior.prior.prior.prior.prior.prior
3640
+ .next_factory);
3641
+ Construct(
3642
+ &prior.prior.prior.prior.prior.prior.prior.prior.prior.next_factory,
3643
+ other.prior.prior.prior.prior.prior.prior.prior.prior.prior
3644
+ .next_factory);
3645
+ Construct(
3646
+ &prior.prior.prior.prior.prior.prior.prior.prior.next_factory,
3647
+ other.prior.prior.prior.prior.prior.prior.prior.prior.next_factory);
3648
+ Construct(&prior.prior.prior.prior.prior.prior.prior.next_factory,
3649
+ other.prior.prior.prior.prior.prior.prior.prior.next_factory);
3650
+ Construct(&prior.prior.prior.prior.prior.prior.next_factory,
3651
+ other.prior.prior.prior.prior.prior.prior.next_factory);
3652
+ Construct(&prior.prior.prior.prior.prior.next_factory,
3653
+ other.prior.prior.prior.prior.prior.next_factory);
3654
+ Construct(&prior.prior.prior.prior.next_factory,
3655
+ other.prior.prior.prior.prior.next_factory);
3656
+ Construct(&prior.prior.prior.next_factory,
3657
+ other.prior.prior.prior.next_factory);
3658
+ Construct(&prior.prior.next_factory, other.prior.prior.next_factory);
3659
+ Construct(&prior.next_factory, other.prior.next_factory);
3660
+ }
3661
+ SeqState& operator=(const SeqState& other) = delete;
3662
+ SeqState(SeqState&& other) noexcept
3663
+ : state(other.state), whence(other.whence) {
3664
+ switch (state) {
3665
+ case State::kState0:
3666
+ Construct(&prior.prior.prior.prior.prior.prior.prior.prior.prior.prior
3667
+ .current_promise,
3668
+ std::move(other.prior.prior.prior.prior.prior.prior.prior
3669
+ .prior.prior.prior.current_promise));
3670
+ goto tail0;
3671
+ case State::kState1:
3672
+ Construct(&prior.prior.prior.prior.prior.prior.prior.prior.prior
3673
+ .current_promise,
3674
+ std::move(other.prior.prior.prior.prior.prior.prior.prior
3675
+ .prior.prior.current_promise));
3676
+ goto tail1;
3677
+ case State::kState2:
3678
+ Construct(
3679
+ &prior.prior.prior.prior.prior.prior.prior.prior.current_promise,
3680
+ std::move(other.prior.prior.prior.prior.prior.prior.prior.prior
3681
+ .current_promise));
3682
+ goto tail2;
3683
+ case State::kState3:
3684
+ Construct(&prior.prior.prior.prior.prior.prior.prior.current_promise,
3685
+ std::move(other.prior.prior.prior.prior.prior.prior.prior
3686
+ .current_promise));
3687
+ goto tail3;
3688
+ case State::kState4:
3689
+ Construct(
3690
+ &prior.prior.prior.prior.prior.prior.current_promise,
3691
+ std::move(
3692
+ other.prior.prior.prior.prior.prior.prior.current_promise));
3693
+ goto tail4;
3694
+ case State::kState5:
3695
+ Construct(
3696
+ &prior.prior.prior.prior.prior.current_promise,
3697
+ std::move(other.prior.prior.prior.prior.prior.current_promise));
3698
+ goto tail5;
3699
+ case State::kState6:
3700
+ Construct(&prior.prior.prior.prior.current_promise,
3701
+ std::move(other.prior.prior.prior.prior.current_promise));
3702
+ goto tail6;
3703
+ case State::kState7:
3704
+ Construct(&prior.prior.prior.current_promise,
3705
+ std::move(other.prior.prior.prior.current_promise));
3706
+ goto tail7;
3707
+ case State::kState8:
3708
+ Construct(&prior.prior.current_promise,
3709
+ std::move(other.prior.prior.current_promise));
3710
+ goto tail8;
3711
+ case State::kState9:
3712
+ Construct(&prior.current_promise,
3713
+ std::move(other.prior.current_promise));
3714
+ goto tail9;
3715
+ case State::kState10:
3716
+ Construct(&current_promise, std::move(other.current_promise));
3717
+ return;
3718
+ }
3719
+ tail0:
3720
+ Construct(&prior.prior.prior.prior.prior.prior.prior.prior.prior.prior
3721
+ .next_factory,
3722
+ std::move(other.prior.prior.prior.prior.prior.prior.prior.prior
3723
+ .prior.prior.next_factory));
3724
+ tail1:
3725
+ Construct(
3726
+ &prior.prior.prior.prior.prior.prior.prior.prior.prior.next_factory,
3727
+ std::move(other.prior.prior.prior.prior.prior.prior.prior.prior.prior
3728
+ .next_factory));
3729
+ tail2:
3730
+ Construct(&prior.prior.prior.prior.prior.prior.prior.prior.next_factory,
3731
+ std::move(other.prior.prior.prior.prior.prior.prior.prior.prior
3732
+ .next_factory));
3733
+ tail3:
3734
+ Construct(
3735
+ &prior.prior.prior.prior.prior.prior.prior.next_factory,
3736
+ std::move(
3737
+ other.prior.prior.prior.prior.prior.prior.prior.next_factory));
3738
+ tail4:
3739
+ Construct(
3740
+ &prior.prior.prior.prior.prior.prior.next_factory,
3741
+ std::move(other.prior.prior.prior.prior.prior.prior.next_factory));
3742
+ tail5:
3743
+ Construct(&prior.prior.prior.prior.prior.next_factory,
3744
+ std::move(other.prior.prior.prior.prior.prior.next_factory));
3745
+ tail6:
3746
+ Construct(&prior.prior.prior.prior.next_factory,
3747
+ std::move(other.prior.prior.prior.prior.next_factory));
3748
+ tail7:
3749
+ Construct(&prior.prior.prior.next_factory,
3750
+ std::move(other.prior.prior.prior.next_factory));
3751
+ tail8:
3752
+ Construct(&prior.prior.next_factory,
3753
+ std::move(other.prior.prior.next_factory));
3754
+ tail9:
3755
+ Construct(&prior.next_factory, std::move(other.prior.next_factory));
3756
+ }
3757
+ SeqState& operator=(SeqState&& other) = delete;
3758
+ Poll<Result> PollOnce() {
3759
+ switch (state) {
3760
+ case State::kState0: {
3761
+ if (grpc_trace_promise_primitives.enabled()) {
3762
+ gpr_log(whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG,
3763
+ "seq[%p]: begin poll step 1/11", this);
3764
+ }
3765
+ auto result = prior.prior.prior.prior.prior.prior.prior.prior.prior
3766
+ .prior.current_promise();
3767
+ PromiseResult0* p = result.value_if_ready();
3768
+ if (grpc_trace_promise_primitives.enabled()) {
3769
+ gpr_log(
3770
+ whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG,
3771
+ "seq[%p]: poll step 1/11 gets %s", this,
3772
+ p != nullptr
3773
+ ? (PromiseResultTraits0::IsOk(*p)
3774
+ ? "ready"
3775
+ : absl::StrCat("early-error:",
3776
+ PromiseResultTraits0::ErrorString(*p))
3777
+ .c_str())
3778
+ : "pending");
3779
+ }
3780
+ if (p == nullptr) return Pending{};
3781
+ if (!PromiseResultTraits0::IsOk(*p)) {
3782
+ return PromiseResultTraits0::template ReturnValue<Result>(
3783
+ std::move(*p));
3784
+ }
3785
+ Destruct(&prior.prior.prior.prior.prior.prior.prior.prior.prior.prior
3786
+ .current_promise);
3787
+ auto next_promise = PromiseResultTraits0::CallFactory(
3788
+ &prior.prior.prior.prior.prior.prior.prior.prior.prior.prior
3789
+ .next_factory,
3790
+ std::move(*p));
3791
+ Destruct(&prior.prior.prior.prior.prior.prior.prior.prior.prior.prior
3792
+ .next_factory);
3793
+ Construct(&prior.prior.prior.prior.prior.prior.prior.prior.prior
3794
+ .current_promise,
3795
+ std::move(next_promise));
3796
+ state = State::kState1;
3797
+ }
3798
+ ABSL_FALLTHROUGH_INTENDED;
3799
+ case State::kState1: {
3800
+ if (grpc_trace_promise_primitives.enabled()) {
3801
+ gpr_log(whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG,
3802
+ "seq[%p]: begin poll step 2/11", this);
3803
+ }
3804
+ auto result = prior.prior.prior.prior.prior.prior.prior.prior.prior
3805
+ .current_promise();
3806
+ PromiseResult1* p = result.value_if_ready();
3807
+ if (grpc_trace_promise_primitives.enabled()) {
3808
+ gpr_log(
3809
+ whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG,
3810
+ "seq[%p]: poll step 2/11 gets %s", this,
3811
+ p != nullptr
3812
+ ? (PromiseResultTraits1::IsOk(*p)
3813
+ ? "ready"
3814
+ : absl::StrCat("early-error:",
3815
+ PromiseResultTraits1::ErrorString(*p))
3816
+ .c_str())
3817
+ : "pending");
3818
+ }
3819
+ if (p == nullptr) return Pending{};
3820
+ if (!PromiseResultTraits1::IsOk(*p)) {
3821
+ return PromiseResultTraits1::template ReturnValue<Result>(
3822
+ std::move(*p));
3823
+ }
3824
+ Destruct(&prior.prior.prior.prior.prior.prior.prior.prior.prior
3825
+ .current_promise);
3826
+ auto next_promise = PromiseResultTraits1::CallFactory(
3827
+ &prior.prior.prior.prior.prior.prior.prior.prior.prior.next_factory,
3828
+ std::move(*p));
3829
+ Destruct(&prior.prior.prior.prior.prior.prior.prior.prior.prior
3830
+ .next_factory);
3831
+ Construct(
3832
+ &prior.prior.prior.prior.prior.prior.prior.prior.current_promise,
3833
+ std::move(next_promise));
3834
+ state = State::kState2;
3835
+ }
3836
+ ABSL_FALLTHROUGH_INTENDED;
3837
+ case State::kState2: {
3838
+ if (grpc_trace_promise_primitives.enabled()) {
3839
+ gpr_log(whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG,
3840
+ "seq[%p]: begin poll step 3/11", this);
3841
+ }
3842
+ auto result =
3843
+ prior.prior.prior.prior.prior.prior.prior.prior.current_promise();
3844
+ PromiseResult2* p = result.value_if_ready();
3845
+ if (grpc_trace_promise_primitives.enabled()) {
3846
+ gpr_log(
3847
+ whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG,
3848
+ "seq[%p]: poll step 3/11 gets %s", this,
3849
+ p != nullptr
3850
+ ? (PromiseResultTraits2::IsOk(*p)
3851
+ ? "ready"
3852
+ : absl::StrCat("early-error:",
3853
+ PromiseResultTraits2::ErrorString(*p))
3854
+ .c_str())
3855
+ : "pending");
3856
+ }
3857
+ if (p == nullptr) return Pending{};
3858
+ if (!PromiseResultTraits2::IsOk(*p)) {
3859
+ return PromiseResultTraits2::template ReturnValue<Result>(
3860
+ std::move(*p));
3861
+ }
3862
+ Destruct(
3863
+ &prior.prior.prior.prior.prior.prior.prior.prior.current_promise);
3864
+ auto next_promise = PromiseResultTraits2::CallFactory(
3865
+ &prior.prior.prior.prior.prior.prior.prior.prior.next_factory,
3866
+ std::move(*p));
3867
+ Destruct(&prior.prior.prior.prior.prior.prior.prior.prior.next_factory);
3868
+ Construct(&prior.prior.prior.prior.prior.prior.prior.current_promise,
3869
+ std::move(next_promise));
3870
+ state = State::kState3;
3871
+ }
3872
+ ABSL_FALLTHROUGH_INTENDED;
3873
+ case State::kState3: {
3874
+ if (grpc_trace_promise_primitives.enabled()) {
3875
+ gpr_log(whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG,
3876
+ "seq[%p]: begin poll step 4/11", this);
3877
+ }
3878
+ auto result =
3879
+ prior.prior.prior.prior.prior.prior.prior.current_promise();
3880
+ PromiseResult3* p = result.value_if_ready();
3881
+ if (grpc_trace_promise_primitives.enabled()) {
3882
+ gpr_log(
3883
+ whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG,
3884
+ "seq[%p]: poll step 4/11 gets %s", this,
3885
+ p != nullptr
3886
+ ? (PromiseResultTraits3::IsOk(*p)
3887
+ ? "ready"
3888
+ : absl::StrCat("early-error:",
3889
+ PromiseResultTraits3::ErrorString(*p))
3890
+ .c_str())
3891
+ : "pending");
3892
+ }
3893
+ if (p == nullptr) return Pending{};
3894
+ if (!PromiseResultTraits3::IsOk(*p)) {
3895
+ return PromiseResultTraits3::template ReturnValue<Result>(
3896
+ std::move(*p));
3897
+ }
3898
+ Destruct(&prior.prior.prior.prior.prior.prior.prior.current_promise);
3899
+ auto next_promise = PromiseResultTraits3::CallFactory(
3900
+ &prior.prior.prior.prior.prior.prior.prior.next_factory,
3901
+ std::move(*p));
3902
+ Destruct(&prior.prior.prior.prior.prior.prior.prior.next_factory);
3903
+ Construct(&prior.prior.prior.prior.prior.prior.current_promise,
3904
+ std::move(next_promise));
3905
+ state = State::kState4;
3906
+ }
3907
+ ABSL_FALLTHROUGH_INTENDED;
3908
+ case State::kState4: {
3909
+ if (grpc_trace_promise_primitives.enabled()) {
3910
+ gpr_log(whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG,
3911
+ "seq[%p]: begin poll step 5/11", this);
3912
+ }
3913
+ auto result = prior.prior.prior.prior.prior.prior.current_promise();
3914
+ PromiseResult4* p = result.value_if_ready();
3915
+ if (grpc_trace_promise_primitives.enabled()) {
3916
+ gpr_log(
3917
+ whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG,
3918
+ "seq[%p]: poll step 5/11 gets %s", this,
3919
+ p != nullptr
3920
+ ? (PromiseResultTraits4::IsOk(*p)
3921
+ ? "ready"
3922
+ : absl::StrCat("early-error:",
3923
+ PromiseResultTraits4::ErrorString(*p))
3924
+ .c_str())
3925
+ : "pending");
3926
+ }
3927
+ if (p == nullptr) return Pending{};
3928
+ if (!PromiseResultTraits4::IsOk(*p)) {
3929
+ return PromiseResultTraits4::template ReturnValue<Result>(
3930
+ std::move(*p));
3931
+ }
3932
+ Destruct(&prior.prior.prior.prior.prior.prior.current_promise);
3933
+ auto next_promise = PromiseResultTraits4::CallFactory(
3934
+ &prior.prior.prior.prior.prior.prior.next_factory, std::move(*p));
3935
+ Destruct(&prior.prior.prior.prior.prior.prior.next_factory);
3936
+ Construct(&prior.prior.prior.prior.prior.current_promise,
3937
+ std::move(next_promise));
3938
+ state = State::kState5;
3939
+ }
3940
+ ABSL_FALLTHROUGH_INTENDED;
3941
+ case State::kState5: {
3942
+ if (grpc_trace_promise_primitives.enabled()) {
3943
+ gpr_log(whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG,
3944
+ "seq[%p]: begin poll step 6/11", this);
3945
+ }
3946
+ auto result = prior.prior.prior.prior.prior.current_promise();
3947
+ PromiseResult5* p = result.value_if_ready();
3948
+ if (grpc_trace_promise_primitives.enabled()) {
3949
+ gpr_log(
3950
+ whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG,
3951
+ "seq[%p]: poll step 6/11 gets %s", this,
3952
+ p != nullptr
3953
+ ? (PromiseResultTraits5::IsOk(*p)
3954
+ ? "ready"
3955
+ : absl::StrCat("early-error:",
3956
+ PromiseResultTraits5::ErrorString(*p))
3957
+ .c_str())
3958
+ : "pending");
3959
+ }
3960
+ if (p == nullptr) return Pending{};
3961
+ if (!PromiseResultTraits5::IsOk(*p)) {
3962
+ return PromiseResultTraits5::template ReturnValue<Result>(
3963
+ std::move(*p));
3964
+ }
3965
+ Destruct(&prior.prior.prior.prior.prior.current_promise);
3966
+ auto next_promise = PromiseResultTraits5::CallFactory(
3967
+ &prior.prior.prior.prior.prior.next_factory, std::move(*p));
3968
+ Destruct(&prior.prior.prior.prior.prior.next_factory);
3969
+ Construct(&prior.prior.prior.prior.current_promise,
3970
+ std::move(next_promise));
3971
+ state = State::kState6;
3972
+ }
3973
+ ABSL_FALLTHROUGH_INTENDED;
3974
+ case State::kState6: {
3975
+ if (grpc_trace_promise_primitives.enabled()) {
3976
+ gpr_log(whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG,
3977
+ "seq[%p]: begin poll step 7/11", this);
3978
+ }
3979
+ auto result = prior.prior.prior.prior.current_promise();
3980
+ PromiseResult6* p = result.value_if_ready();
3981
+ if (grpc_trace_promise_primitives.enabled()) {
3982
+ gpr_log(
3983
+ whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG,
3984
+ "seq[%p]: poll step 7/11 gets %s", this,
3985
+ p != nullptr
3986
+ ? (PromiseResultTraits6::IsOk(*p)
3987
+ ? "ready"
3988
+ : absl::StrCat("early-error:",
3989
+ PromiseResultTraits6::ErrorString(*p))
3990
+ .c_str())
3991
+ : "pending");
3992
+ }
3993
+ if (p == nullptr) return Pending{};
3994
+ if (!PromiseResultTraits6::IsOk(*p)) {
3995
+ return PromiseResultTraits6::template ReturnValue<Result>(
3996
+ std::move(*p));
3997
+ }
3998
+ Destruct(&prior.prior.prior.prior.current_promise);
3999
+ auto next_promise = PromiseResultTraits6::CallFactory(
4000
+ &prior.prior.prior.prior.next_factory, std::move(*p));
4001
+ Destruct(&prior.prior.prior.prior.next_factory);
4002
+ Construct(&prior.prior.prior.current_promise, std::move(next_promise));
4003
+ state = State::kState7;
4004
+ }
4005
+ ABSL_FALLTHROUGH_INTENDED;
4006
+ case State::kState7: {
4007
+ if (grpc_trace_promise_primitives.enabled()) {
4008
+ gpr_log(whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG,
4009
+ "seq[%p]: begin poll step 8/11", this);
4010
+ }
4011
+ auto result = prior.prior.prior.current_promise();
4012
+ PromiseResult7* p = result.value_if_ready();
4013
+ if (grpc_trace_promise_primitives.enabled()) {
4014
+ gpr_log(
4015
+ whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG,
4016
+ "seq[%p]: poll step 8/11 gets %s", this,
4017
+ p != nullptr
4018
+ ? (PromiseResultTraits7::IsOk(*p)
4019
+ ? "ready"
4020
+ : absl::StrCat("early-error:",
4021
+ PromiseResultTraits7::ErrorString(*p))
4022
+ .c_str())
4023
+ : "pending");
4024
+ }
4025
+ if (p == nullptr) return Pending{};
4026
+ if (!PromiseResultTraits7::IsOk(*p)) {
4027
+ return PromiseResultTraits7::template ReturnValue<Result>(
4028
+ std::move(*p));
4029
+ }
4030
+ Destruct(&prior.prior.prior.current_promise);
4031
+ auto next_promise = PromiseResultTraits7::CallFactory(
4032
+ &prior.prior.prior.next_factory, std::move(*p));
4033
+ Destruct(&prior.prior.prior.next_factory);
4034
+ Construct(&prior.prior.current_promise, std::move(next_promise));
4035
+ state = State::kState8;
4036
+ }
4037
+ ABSL_FALLTHROUGH_INTENDED;
4038
+ case State::kState8: {
4039
+ if (grpc_trace_promise_primitives.enabled()) {
4040
+ gpr_log(whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG,
4041
+ "seq[%p]: begin poll step 9/11", this);
4042
+ }
4043
+ auto result = prior.prior.current_promise();
4044
+ PromiseResult8* p = result.value_if_ready();
4045
+ if (grpc_trace_promise_primitives.enabled()) {
4046
+ gpr_log(
4047
+ whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG,
4048
+ "seq[%p]: poll step 9/11 gets %s", this,
4049
+ p != nullptr
4050
+ ? (PromiseResultTraits8::IsOk(*p)
4051
+ ? "ready"
4052
+ : absl::StrCat("early-error:",
4053
+ PromiseResultTraits8::ErrorString(*p))
4054
+ .c_str())
4055
+ : "pending");
4056
+ }
4057
+ if (p == nullptr) return Pending{};
4058
+ if (!PromiseResultTraits8::IsOk(*p)) {
4059
+ return PromiseResultTraits8::template ReturnValue<Result>(
4060
+ std::move(*p));
4061
+ }
4062
+ Destruct(&prior.prior.current_promise);
4063
+ auto next_promise = PromiseResultTraits8::CallFactory(
4064
+ &prior.prior.next_factory, std::move(*p));
4065
+ Destruct(&prior.prior.next_factory);
4066
+ Construct(&prior.current_promise, std::move(next_promise));
4067
+ state = State::kState9;
4068
+ }
4069
+ ABSL_FALLTHROUGH_INTENDED;
4070
+ case State::kState9: {
4071
+ if (grpc_trace_promise_primitives.enabled()) {
4072
+ gpr_log(whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG,
4073
+ "seq[%p]: begin poll step 10/11", this);
4074
+ }
4075
+ auto result = prior.current_promise();
4076
+ PromiseResult9* p = result.value_if_ready();
4077
+ if (grpc_trace_promise_primitives.enabled()) {
4078
+ gpr_log(
4079
+ whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG,
4080
+ "seq[%p]: poll step 10/11 gets %s", this,
4081
+ p != nullptr
4082
+ ? (PromiseResultTraits9::IsOk(*p)
4083
+ ? "ready"
4084
+ : absl::StrCat("early-error:",
4085
+ PromiseResultTraits9::ErrorString(*p))
4086
+ .c_str())
4087
+ : "pending");
4088
+ }
4089
+ if (p == nullptr) return Pending{};
4090
+ if (!PromiseResultTraits9::IsOk(*p)) {
4091
+ return PromiseResultTraits9::template ReturnValue<Result>(
4092
+ std::move(*p));
4093
+ }
4094
+ Destruct(&prior.current_promise);
4095
+ auto next_promise = PromiseResultTraits9::CallFactory(
4096
+ &prior.next_factory, std::move(*p));
4097
+ Destruct(&prior.next_factory);
4098
+ Construct(&current_promise, std::move(next_promise));
4099
+ state = State::kState10;
4100
+ }
4101
+ ABSL_FALLTHROUGH_INTENDED;
4102
+ default:
4103
+ case State::kState10: {
4104
+ if (grpc_trace_promise_primitives.enabled()) {
4105
+ gpr_log(whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG,
4106
+ "seq[%p]: begin poll step 11/11", this);
4107
+ }
4108
+ auto result = current_promise();
4109
+ if (grpc_trace_promise_primitives.enabled()) {
4110
+ gpr_log(whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG,
4111
+ "seq[%p]: poll step 11/11 gets %s", this,
4112
+ result.ready() ? "ready" : "pending");
4113
+ }
4114
+ auto* p = result.value_if_ready();
4115
+ if (p == nullptr) return Pending{};
4116
+ return Result(std::move(*p));
4117
+ }
4118
+ }
4119
+ }
4120
+ };
4121
+
4122
+ template <template <typename> class Traits, typename P, typename F0,
4123
+ typename F1, typename F2, typename F3, typename F4, typename F5,
4124
+ typename F6, typename F7, typename F8, typename F9, typename F10>
4125
+ struct SeqState<Traits, P, F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10> {
4126
+ using Promise0 = PromiseLike<P>;
4127
+ using PromiseResult0 = typename Promise0::Result;
4128
+ using PromiseResultTraits0 = Traits<PromiseResult0>;
4129
+ using NextFactory0 =
4130
+ OncePromiseFactory<typename PromiseResultTraits0::UnwrappedType, F0>;
4131
+ using Promise1 = typename NextFactory0::Promise;
4132
+ using PromiseResult1 = typename Promise1::Result;
4133
+ using PromiseResultTraits1 = Traits<PromiseResult1>;
4134
+ using NextFactory1 =
4135
+ OncePromiseFactory<typename PromiseResultTraits1::UnwrappedType, F1>;
4136
+ using Promise2 = typename NextFactory1::Promise;
4137
+ using PromiseResult2 = typename Promise2::Result;
4138
+ using PromiseResultTraits2 = Traits<PromiseResult2>;
4139
+ using NextFactory2 =
4140
+ OncePromiseFactory<typename PromiseResultTraits2::UnwrappedType, F2>;
4141
+ using Promise3 = typename NextFactory2::Promise;
4142
+ using PromiseResult3 = typename Promise3::Result;
4143
+ using PromiseResultTraits3 = Traits<PromiseResult3>;
4144
+ using NextFactory3 =
4145
+ OncePromiseFactory<typename PromiseResultTraits3::UnwrappedType, F3>;
4146
+ using Promise4 = typename NextFactory3::Promise;
4147
+ using PromiseResult4 = typename Promise4::Result;
4148
+ using PromiseResultTraits4 = Traits<PromiseResult4>;
4149
+ using NextFactory4 =
4150
+ OncePromiseFactory<typename PromiseResultTraits4::UnwrappedType, F4>;
4151
+ using Promise5 = typename NextFactory4::Promise;
4152
+ using PromiseResult5 = typename Promise5::Result;
4153
+ using PromiseResultTraits5 = Traits<PromiseResult5>;
4154
+ using NextFactory5 =
4155
+ OncePromiseFactory<typename PromiseResultTraits5::UnwrappedType, F5>;
4156
+ using Promise6 = typename NextFactory5::Promise;
4157
+ using PromiseResult6 = typename Promise6::Result;
4158
+ using PromiseResultTraits6 = Traits<PromiseResult6>;
4159
+ using NextFactory6 =
4160
+ OncePromiseFactory<typename PromiseResultTraits6::UnwrappedType, F6>;
4161
+ using Promise7 = typename NextFactory6::Promise;
4162
+ using PromiseResult7 = typename Promise7::Result;
4163
+ using PromiseResultTraits7 = Traits<PromiseResult7>;
4164
+ using NextFactory7 =
4165
+ OncePromiseFactory<typename PromiseResultTraits7::UnwrappedType, F7>;
4166
+ using Promise8 = typename NextFactory7::Promise;
4167
+ using PromiseResult8 = typename Promise8::Result;
4168
+ using PromiseResultTraits8 = Traits<PromiseResult8>;
4169
+ using NextFactory8 =
4170
+ OncePromiseFactory<typename PromiseResultTraits8::UnwrappedType, F8>;
4171
+ using Promise9 = typename NextFactory8::Promise;
4172
+ using PromiseResult9 = typename Promise9::Result;
4173
+ using PromiseResultTraits9 = Traits<PromiseResult9>;
4174
+ using NextFactory9 =
4175
+ OncePromiseFactory<typename PromiseResultTraits9::UnwrappedType, F9>;
4176
+ using Promise10 = typename NextFactory9::Promise;
4177
+ using PromiseResult10 = typename Promise10::Result;
4178
+ using PromiseResultTraits10 = Traits<PromiseResult10>;
4179
+ using NextFactory10 =
4180
+ OncePromiseFactory<typename PromiseResultTraits10::UnwrappedType, F10>;
4181
+ using Promise11 = typename NextFactory10::Promise;
4182
+ using PromiseResult11 = typename Promise11::Result;
4183
+ using PromiseResultTraits11 = Traits<PromiseResult11>;
4184
+ using Result = typename PromiseResultTraits11::WrappedType;
4185
+ struct Running0 {
4186
+ GPR_NO_UNIQUE_ADDRESS Promise0 current_promise;
4187
+ GPR_NO_UNIQUE_ADDRESS NextFactory0 next_factory;
4188
+ };
4189
+ struct Running1 {
4190
+ union {
4191
+ GPR_NO_UNIQUE_ADDRESS Running0 prior;
4192
+ GPR_NO_UNIQUE_ADDRESS Promise1 current_promise;
4193
+ };
4194
+ GPR_NO_UNIQUE_ADDRESS NextFactory1 next_factory;
4195
+ };
4196
+ struct Running2 {
4197
+ union {
4198
+ GPR_NO_UNIQUE_ADDRESS Running1 prior;
4199
+ GPR_NO_UNIQUE_ADDRESS Promise2 current_promise;
4200
+ };
4201
+ GPR_NO_UNIQUE_ADDRESS NextFactory2 next_factory;
4202
+ };
4203
+ struct Running3 {
4204
+ union {
4205
+ GPR_NO_UNIQUE_ADDRESS Running2 prior;
4206
+ GPR_NO_UNIQUE_ADDRESS Promise3 current_promise;
4207
+ };
4208
+ GPR_NO_UNIQUE_ADDRESS NextFactory3 next_factory;
4209
+ };
4210
+ struct Running4 {
4211
+ union {
4212
+ GPR_NO_UNIQUE_ADDRESS Running3 prior;
4213
+ GPR_NO_UNIQUE_ADDRESS Promise4 current_promise;
4214
+ };
4215
+ GPR_NO_UNIQUE_ADDRESS NextFactory4 next_factory;
4216
+ };
4217
+ struct Running5 {
4218
+ union {
4219
+ GPR_NO_UNIQUE_ADDRESS Running4 prior;
4220
+ GPR_NO_UNIQUE_ADDRESS Promise5 current_promise;
4221
+ };
4222
+ GPR_NO_UNIQUE_ADDRESS NextFactory5 next_factory;
4223
+ };
4224
+ struct Running6 {
4225
+ union {
4226
+ GPR_NO_UNIQUE_ADDRESS Running5 prior;
4227
+ GPR_NO_UNIQUE_ADDRESS Promise6 current_promise;
4228
+ };
4229
+ GPR_NO_UNIQUE_ADDRESS NextFactory6 next_factory;
4230
+ };
4231
+ struct Running7 {
4232
+ union {
4233
+ GPR_NO_UNIQUE_ADDRESS Running6 prior;
4234
+ GPR_NO_UNIQUE_ADDRESS Promise7 current_promise;
4235
+ };
4236
+ GPR_NO_UNIQUE_ADDRESS NextFactory7 next_factory;
4237
+ };
4238
+ struct Running8 {
4239
+ union {
4240
+ GPR_NO_UNIQUE_ADDRESS Running7 prior;
4241
+ GPR_NO_UNIQUE_ADDRESS Promise8 current_promise;
4242
+ };
4243
+ GPR_NO_UNIQUE_ADDRESS NextFactory8 next_factory;
4244
+ };
4245
+ struct Running9 {
4246
+ union {
4247
+ GPR_NO_UNIQUE_ADDRESS Running8 prior;
4248
+ GPR_NO_UNIQUE_ADDRESS Promise9 current_promise;
4249
+ };
4250
+ GPR_NO_UNIQUE_ADDRESS NextFactory9 next_factory;
4251
+ };
4252
+ struct Running10 {
4253
+ union {
4254
+ GPR_NO_UNIQUE_ADDRESS Running9 prior;
4255
+ GPR_NO_UNIQUE_ADDRESS Promise10 current_promise;
4256
+ };
4257
+ GPR_NO_UNIQUE_ADDRESS NextFactory10 next_factory;
4258
+ };
4259
+ union {
4260
+ GPR_NO_UNIQUE_ADDRESS Running10 prior;
4261
+ GPR_NO_UNIQUE_ADDRESS Promise11 current_promise;
4262
+ };
4263
+ enum class State : uint8_t {
4264
+ kState0,
4265
+ kState1,
4266
+ kState2,
4267
+ kState3,
4268
+ kState4,
4269
+ kState5,
4270
+ kState6,
4271
+ kState7,
4272
+ kState8,
4273
+ kState9,
4274
+ kState10,
4275
+ kState11
4276
+ };
4277
+ GPR_NO_UNIQUE_ADDRESS State state = State::kState0;
4278
+ GPR_NO_UNIQUE_ADDRESS DebugLocation whence;
4279
+
4280
+ SeqState(P&& p, F0&& f0, F1&& f1, F2&& f2, F3&& f3, F4&& f4, F5&& f5, F6&& f6,
4281
+ F7&& f7, F8&& f8, F9&& f9, F10&& f10, DebugLocation whence) noexcept
4282
+ : whence(whence) {
4283
+ Construct(&prior.prior.prior.prior.prior.prior.prior.prior.prior.prior.prior
4284
+ .current_promise,
4285
+ std::forward<P>(p));
4286
+ Construct(&prior.prior.prior.prior.prior.prior.prior.prior.prior.prior.prior
4287
+ .next_factory,
4288
+ std::forward<F0>(f0));
4289
+ Construct(&prior.prior.prior.prior.prior.prior.prior.prior.prior.prior
4290
+ .next_factory,
4291
+ std::forward<F1>(f1));
4292
+ Construct(
4293
+ &prior.prior.prior.prior.prior.prior.prior.prior.prior.next_factory,
4294
+ std::forward<F2>(f2));
4295
+ Construct(&prior.prior.prior.prior.prior.prior.prior.prior.next_factory,
4296
+ std::forward<F3>(f3));
4297
+ Construct(&prior.prior.prior.prior.prior.prior.prior.next_factory,
4298
+ std::forward<F4>(f4));
4299
+ Construct(&prior.prior.prior.prior.prior.prior.next_factory,
4300
+ std::forward<F5>(f5));
4301
+ Construct(&prior.prior.prior.prior.prior.next_factory,
4302
+ std::forward<F6>(f6));
4303
+ Construct(&prior.prior.prior.prior.next_factory, std::forward<F7>(f7));
4304
+ Construct(&prior.prior.prior.next_factory, std::forward<F8>(f8));
4305
+ Construct(&prior.prior.next_factory, std::forward<F9>(f9));
4306
+ Construct(&prior.next_factory, std::forward<F10>(f10));
4307
+ }
4308
+ ~SeqState() {
4309
+ switch (state) {
4310
+ case State::kState0:
4311
+ Destruct(&prior.prior.prior.prior.prior.prior.prior.prior.prior.prior
4312
+ .prior.current_promise);
4313
+ goto tail0;
4314
+ case State::kState1:
4315
+ Destruct(&prior.prior.prior.prior.prior.prior.prior.prior.prior.prior
4316
+ .current_promise);
4317
+ goto tail1;
4318
+ case State::kState2:
4319
+ Destruct(&prior.prior.prior.prior.prior.prior.prior.prior.prior
4320
+ .current_promise);
4321
+ goto tail2;
4322
+ case State::kState3:
4323
+ Destruct(
4324
+ &prior.prior.prior.prior.prior.prior.prior.prior.current_promise);
4325
+ goto tail3;
4326
+ case State::kState4:
4327
+ Destruct(&prior.prior.prior.prior.prior.prior.prior.current_promise);
4328
+ goto tail4;
4329
+ case State::kState5:
4330
+ Destruct(&prior.prior.prior.prior.prior.prior.current_promise);
4331
+ goto tail5;
4332
+ case State::kState6:
4333
+ Destruct(&prior.prior.prior.prior.prior.current_promise);
4334
+ goto tail6;
4335
+ case State::kState7:
4336
+ Destruct(&prior.prior.prior.prior.current_promise);
4337
+ goto tail7;
4338
+ case State::kState8:
4339
+ Destruct(&prior.prior.prior.current_promise);
4340
+ goto tail8;
4341
+ case State::kState9:
4342
+ Destruct(&prior.prior.current_promise);
4343
+ goto tail9;
4344
+ case State::kState10:
4345
+ Destruct(&prior.current_promise);
4346
+ goto tail10;
4347
+ case State::kState11:
4348
+ Destruct(&current_promise);
4349
+ return;
4350
+ }
4351
+ tail0:
4352
+ Destruct(&prior.prior.prior.prior.prior.prior.prior.prior.prior.prior.prior
4353
+ .next_factory);
4354
+ tail1:
4355
+ Destruct(&prior.prior.prior.prior.prior.prior.prior.prior.prior.prior
4356
+ .next_factory);
4357
+ tail2:
4358
+ Destruct(
4359
+ &prior.prior.prior.prior.prior.prior.prior.prior.prior.next_factory);
4360
+ tail3:
4361
+ Destruct(&prior.prior.prior.prior.prior.prior.prior.prior.next_factory);
4362
+ tail4:
4363
+ Destruct(&prior.prior.prior.prior.prior.prior.prior.next_factory);
4364
+ tail5:
4365
+ Destruct(&prior.prior.prior.prior.prior.prior.next_factory);
4366
+ tail6:
4367
+ Destruct(&prior.prior.prior.prior.prior.next_factory);
4368
+ tail7:
4369
+ Destruct(&prior.prior.prior.prior.next_factory);
4370
+ tail8:
4371
+ Destruct(&prior.prior.prior.next_factory);
4372
+ tail9:
4373
+ Destruct(&prior.prior.next_factory);
4374
+ tail10:
4375
+ Destruct(&prior.next_factory);
4376
+ }
4377
+ SeqState(const SeqState& other) noexcept
4378
+ : state(other.state), whence(other.whence) {
4379
+ GPR_ASSERT(state == State::kState0);
4380
+ Construct(&prior.current_promise, other.prior.current_promise);
4381
+ Construct(&prior.prior.prior.prior.prior.prior.prior.prior.prior.prior.prior
4382
+ .next_factory,
4383
+ other.prior.prior.prior.prior.prior.prior.prior.prior.prior.prior
4384
+ .prior.next_factory);
4385
+ Construct(&prior.prior.prior.prior.prior.prior.prior.prior.prior.prior
4386
+ .next_factory,
4387
+ other.prior.prior.prior.prior.prior.prior.prior.prior.prior.prior
4388
+ .next_factory);
4389
+ Construct(
4390
+ &prior.prior.prior.prior.prior.prior.prior.prior.prior.next_factory,
4391
+ other.prior.prior.prior.prior.prior.prior.prior.prior.prior
4392
+ .next_factory);
4393
+ Construct(
4394
+ &prior.prior.prior.prior.prior.prior.prior.prior.next_factory,
4395
+ other.prior.prior.prior.prior.prior.prior.prior.prior.next_factory);
4396
+ Construct(&prior.prior.prior.prior.prior.prior.prior.next_factory,
4397
+ other.prior.prior.prior.prior.prior.prior.prior.next_factory);
4398
+ Construct(&prior.prior.prior.prior.prior.prior.next_factory,
4399
+ other.prior.prior.prior.prior.prior.prior.next_factory);
4400
+ Construct(&prior.prior.prior.prior.prior.next_factory,
4401
+ other.prior.prior.prior.prior.prior.next_factory);
4402
+ Construct(&prior.prior.prior.prior.next_factory,
4403
+ other.prior.prior.prior.prior.next_factory);
4404
+ Construct(&prior.prior.prior.next_factory,
4405
+ other.prior.prior.prior.next_factory);
4406
+ Construct(&prior.prior.next_factory, other.prior.prior.next_factory);
4407
+ Construct(&prior.next_factory, other.prior.next_factory);
4408
+ }
4409
+ SeqState& operator=(const SeqState& other) = delete;
4410
+ SeqState(SeqState&& other) noexcept
4411
+ : state(other.state), whence(other.whence) {
4412
+ switch (state) {
4413
+ case State::kState0:
4414
+ Construct(&prior.prior.prior.prior.prior.prior.prior.prior.prior.prior
4415
+ .prior.current_promise,
4416
+ std::move(other.prior.prior.prior.prior.prior.prior.prior
4417
+ .prior.prior.prior.prior.current_promise));
4418
+ goto tail0;
4419
+ case State::kState1:
4420
+ Construct(&prior.prior.prior.prior.prior.prior.prior.prior.prior.prior
4421
+ .current_promise,
4422
+ std::move(other.prior.prior.prior.prior.prior.prior.prior
4423
+ .prior.prior.prior.current_promise));
4424
+ goto tail1;
4425
+ case State::kState2:
4426
+ Construct(&prior.prior.prior.prior.prior.prior.prior.prior.prior
4427
+ .current_promise,
4428
+ std::move(other.prior.prior.prior.prior.prior.prior.prior
4429
+ .prior.prior.current_promise));
4430
+ goto tail2;
4431
+ case State::kState3:
4432
+ Construct(
4433
+ &prior.prior.prior.prior.prior.prior.prior.prior.current_promise,
4434
+ std::move(other.prior.prior.prior.prior.prior.prior.prior.prior
4435
+ .current_promise));
4436
+ goto tail3;
4437
+ case State::kState4:
4438
+ Construct(&prior.prior.prior.prior.prior.prior.prior.current_promise,
4439
+ std::move(other.prior.prior.prior.prior.prior.prior.prior
4440
+ .current_promise));
4441
+ goto tail4;
4442
+ case State::kState5:
4443
+ Construct(
4444
+ &prior.prior.prior.prior.prior.prior.current_promise,
4445
+ std::move(
4446
+ other.prior.prior.prior.prior.prior.prior.current_promise));
4447
+ goto tail5;
4448
+ case State::kState6:
4449
+ Construct(
4450
+ &prior.prior.prior.prior.prior.current_promise,
4451
+ std::move(other.prior.prior.prior.prior.prior.current_promise));
4452
+ goto tail6;
4453
+ case State::kState7:
4454
+ Construct(&prior.prior.prior.prior.current_promise,
4455
+ std::move(other.prior.prior.prior.prior.current_promise));
4456
+ goto tail7;
4457
+ case State::kState8:
4458
+ Construct(&prior.prior.prior.current_promise,
4459
+ std::move(other.prior.prior.prior.current_promise));
4460
+ goto tail8;
4461
+ case State::kState9:
4462
+ Construct(&prior.prior.current_promise,
4463
+ std::move(other.prior.prior.current_promise));
4464
+ goto tail9;
4465
+ case State::kState10:
4466
+ Construct(&prior.current_promise,
4467
+ std::move(other.prior.current_promise));
4468
+ goto tail10;
4469
+ case State::kState11:
4470
+ Construct(&current_promise, std::move(other.current_promise));
4471
+ return;
4472
+ }
4473
+ tail0:
4474
+ Construct(&prior.prior.prior.prior.prior.prior.prior.prior.prior.prior.prior
4475
+ .next_factory,
4476
+ std::move(other.prior.prior.prior.prior.prior.prior.prior.prior
4477
+ .prior.prior.prior.next_factory));
4478
+ tail1:
4479
+ Construct(&prior.prior.prior.prior.prior.prior.prior.prior.prior.prior
4480
+ .next_factory,
4481
+ std::move(other.prior.prior.prior.prior.prior.prior.prior.prior
4482
+ .prior.prior.next_factory));
4483
+ tail2:
4484
+ Construct(
4485
+ &prior.prior.prior.prior.prior.prior.prior.prior.prior.next_factory,
4486
+ std::move(other.prior.prior.prior.prior.prior.prior.prior.prior.prior
4487
+ .next_factory));
4488
+ tail3:
4489
+ Construct(&prior.prior.prior.prior.prior.prior.prior.prior.next_factory,
4490
+ std::move(other.prior.prior.prior.prior.prior.prior.prior.prior
4491
+ .next_factory));
4492
+ tail4:
4493
+ Construct(
4494
+ &prior.prior.prior.prior.prior.prior.prior.next_factory,
4495
+ std::move(
4496
+ other.prior.prior.prior.prior.prior.prior.prior.next_factory));
4497
+ tail5:
4498
+ Construct(
4499
+ &prior.prior.prior.prior.prior.prior.next_factory,
4500
+ std::move(other.prior.prior.prior.prior.prior.prior.next_factory));
4501
+ tail6:
4502
+ Construct(&prior.prior.prior.prior.prior.next_factory,
4503
+ std::move(other.prior.prior.prior.prior.prior.next_factory));
4504
+ tail7:
4505
+ Construct(&prior.prior.prior.prior.next_factory,
4506
+ std::move(other.prior.prior.prior.prior.next_factory));
4507
+ tail8:
4508
+ Construct(&prior.prior.prior.next_factory,
4509
+ std::move(other.prior.prior.prior.next_factory));
4510
+ tail9:
4511
+ Construct(&prior.prior.next_factory,
4512
+ std::move(other.prior.prior.next_factory));
4513
+ tail10:
4514
+ Construct(&prior.next_factory, std::move(other.prior.next_factory));
4515
+ }
4516
+ SeqState& operator=(SeqState&& other) = delete;
4517
+ Poll<Result> PollOnce() {
4518
+ switch (state) {
4519
+ case State::kState0: {
4520
+ if (grpc_trace_promise_primitives.enabled()) {
4521
+ gpr_log(whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG,
4522
+ "seq[%p]: begin poll step 1/12", this);
4523
+ }
4524
+ auto result = prior.prior.prior.prior.prior.prior.prior.prior.prior
4525
+ .prior.prior.current_promise();
4526
+ PromiseResult0* p = result.value_if_ready();
4527
+ if (grpc_trace_promise_primitives.enabled()) {
4528
+ gpr_log(
4529
+ whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG,
4530
+ "seq[%p]: poll step 1/12 gets %s", this,
4531
+ p != nullptr
4532
+ ? (PromiseResultTraits0::IsOk(*p)
4533
+ ? "ready"
4534
+ : absl::StrCat("early-error:",
4535
+ PromiseResultTraits0::ErrorString(*p))
4536
+ .c_str())
4537
+ : "pending");
4538
+ }
4539
+ if (p == nullptr) return Pending{};
4540
+ if (!PromiseResultTraits0::IsOk(*p)) {
4541
+ return PromiseResultTraits0::template ReturnValue<Result>(
4542
+ std::move(*p));
4543
+ }
4544
+ Destruct(&prior.prior.prior.prior.prior.prior.prior.prior.prior.prior
4545
+ .prior.current_promise);
4546
+ auto next_promise = PromiseResultTraits0::CallFactory(
4547
+ &prior.prior.prior.prior.prior.prior.prior.prior.prior.prior.prior
4548
+ .next_factory,
4549
+ std::move(*p));
4550
+ Destruct(&prior.prior.prior.prior.prior.prior.prior.prior.prior.prior
4551
+ .prior.next_factory);
4552
+ Construct(&prior.prior.prior.prior.prior.prior.prior.prior.prior.prior
4553
+ .current_promise,
4554
+ std::move(next_promise));
4555
+ state = State::kState1;
4556
+ }
4557
+ ABSL_FALLTHROUGH_INTENDED;
4558
+ case State::kState1: {
4559
+ if (grpc_trace_promise_primitives.enabled()) {
4560
+ gpr_log(whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG,
4561
+ "seq[%p]: begin poll step 2/12", this);
4562
+ }
4563
+ auto result = prior.prior.prior.prior.prior.prior.prior.prior.prior
4564
+ .prior.current_promise();
4565
+ PromiseResult1* p = result.value_if_ready();
4566
+ if (grpc_trace_promise_primitives.enabled()) {
4567
+ gpr_log(
4568
+ whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG,
4569
+ "seq[%p]: poll step 2/12 gets %s", this,
4570
+ p != nullptr
4571
+ ? (PromiseResultTraits1::IsOk(*p)
4572
+ ? "ready"
4573
+ : absl::StrCat("early-error:",
4574
+ PromiseResultTraits1::ErrorString(*p))
4575
+ .c_str())
4576
+ : "pending");
4577
+ }
4578
+ if (p == nullptr) return Pending{};
4579
+ if (!PromiseResultTraits1::IsOk(*p)) {
4580
+ return PromiseResultTraits1::template ReturnValue<Result>(
4581
+ std::move(*p));
4582
+ }
4583
+ Destruct(&prior.prior.prior.prior.prior.prior.prior.prior.prior.prior
4584
+ .current_promise);
4585
+ auto next_promise = PromiseResultTraits1::CallFactory(
4586
+ &prior.prior.prior.prior.prior.prior.prior.prior.prior.prior
4587
+ .next_factory,
4588
+ std::move(*p));
4589
+ Destruct(&prior.prior.prior.prior.prior.prior.prior.prior.prior.prior
4590
+ .next_factory);
4591
+ Construct(&prior.prior.prior.prior.prior.prior.prior.prior.prior
4592
+ .current_promise,
4593
+ std::move(next_promise));
4594
+ state = State::kState2;
4595
+ }
4596
+ ABSL_FALLTHROUGH_INTENDED;
4597
+ case State::kState2: {
4598
+ if (grpc_trace_promise_primitives.enabled()) {
4599
+ gpr_log(whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG,
4600
+ "seq[%p]: begin poll step 3/12", this);
4601
+ }
4602
+ auto result = prior.prior.prior.prior.prior.prior.prior.prior.prior
4603
+ .current_promise();
4604
+ PromiseResult2* p = result.value_if_ready();
4605
+ if (grpc_trace_promise_primitives.enabled()) {
4606
+ gpr_log(
4607
+ whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG,
4608
+ "seq[%p]: poll step 3/12 gets %s", this,
4609
+ p != nullptr
4610
+ ? (PromiseResultTraits2::IsOk(*p)
4611
+ ? "ready"
4612
+ : absl::StrCat("early-error:",
4613
+ PromiseResultTraits2::ErrorString(*p))
4614
+ .c_str())
4615
+ : "pending");
4616
+ }
4617
+ if (p == nullptr) return Pending{};
4618
+ if (!PromiseResultTraits2::IsOk(*p)) {
4619
+ return PromiseResultTraits2::template ReturnValue<Result>(
4620
+ std::move(*p));
4621
+ }
4622
+ Destruct(&prior.prior.prior.prior.prior.prior.prior.prior.prior
4623
+ .current_promise);
4624
+ auto next_promise = PromiseResultTraits2::CallFactory(
4625
+ &prior.prior.prior.prior.prior.prior.prior.prior.prior.next_factory,
4626
+ std::move(*p));
4627
+ Destruct(&prior.prior.prior.prior.prior.prior.prior.prior.prior
4628
+ .next_factory);
4629
+ Construct(
4630
+ &prior.prior.prior.prior.prior.prior.prior.prior.current_promise,
4631
+ std::move(next_promise));
4632
+ state = State::kState3;
4633
+ }
4634
+ ABSL_FALLTHROUGH_INTENDED;
4635
+ case State::kState3: {
4636
+ if (grpc_trace_promise_primitives.enabled()) {
4637
+ gpr_log(whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG,
4638
+ "seq[%p]: begin poll step 4/12", this);
4639
+ }
4640
+ auto result =
4641
+ prior.prior.prior.prior.prior.prior.prior.prior.current_promise();
4642
+ PromiseResult3* p = result.value_if_ready();
4643
+ if (grpc_trace_promise_primitives.enabled()) {
4644
+ gpr_log(
4645
+ whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG,
4646
+ "seq[%p]: poll step 4/12 gets %s", this,
4647
+ p != nullptr
4648
+ ? (PromiseResultTraits3::IsOk(*p)
4649
+ ? "ready"
4650
+ : absl::StrCat("early-error:",
4651
+ PromiseResultTraits3::ErrorString(*p))
4652
+ .c_str())
4653
+ : "pending");
4654
+ }
4655
+ if (p == nullptr) return Pending{};
4656
+ if (!PromiseResultTraits3::IsOk(*p)) {
4657
+ return PromiseResultTraits3::template ReturnValue<Result>(
4658
+ std::move(*p));
4659
+ }
4660
+ Destruct(
4661
+ &prior.prior.prior.prior.prior.prior.prior.prior.current_promise);
4662
+ auto next_promise = PromiseResultTraits3::CallFactory(
4663
+ &prior.prior.prior.prior.prior.prior.prior.prior.next_factory,
4664
+ std::move(*p));
4665
+ Destruct(&prior.prior.prior.prior.prior.prior.prior.prior.next_factory);
4666
+ Construct(&prior.prior.prior.prior.prior.prior.prior.current_promise,
4667
+ std::move(next_promise));
4668
+ state = State::kState4;
4669
+ }
4670
+ ABSL_FALLTHROUGH_INTENDED;
4671
+ case State::kState4: {
4672
+ if (grpc_trace_promise_primitives.enabled()) {
4673
+ gpr_log(whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG,
4674
+ "seq[%p]: begin poll step 5/12", this);
4675
+ }
4676
+ auto result =
4677
+ prior.prior.prior.prior.prior.prior.prior.current_promise();
4678
+ PromiseResult4* p = result.value_if_ready();
4679
+ if (grpc_trace_promise_primitives.enabled()) {
4680
+ gpr_log(
4681
+ whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG,
4682
+ "seq[%p]: poll step 5/12 gets %s", this,
4683
+ p != nullptr
4684
+ ? (PromiseResultTraits4::IsOk(*p)
4685
+ ? "ready"
4686
+ : absl::StrCat("early-error:",
4687
+ PromiseResultTraits4::ErrorString(*p))
4688
+ .c_str())
4689
+ : "pending");
4690
+ }
4691
+ if (p == nullptr) return Pending{};
4692
+ if (!PromiseResultTraits4::IsOk(*p)) {
4693
+ return PromiseResultTraits4::template ReturnValue<Result>(
4694
+ std::move(*p));
4695
+ }
4696
+ Destruct(&prior.prior.prior.prior.prior.prior.prior.current_promise);
4697
+ auto next_promise = PromiseResultTraits4::CallFactory(
4698
+ &prior.prior.prior.prior.prior.prior.prior.next_factory,
4699
+ std::move(*p));
4700
+ Destruct(&prior.prior.prior.prior.prior.prior.prior.next_factory);
4701
+ Construct(&prior.prior.prior.prior.prior.prior.current_promise,
4702
+ std::move(next_promise));
4703
+ state = State::kState5;
4704
+ }
4705
+ ABSL_FALLTHROUGH_INTENDED;
4706
+ case State::kState5: {
4707
+ if (grpc_trace_promise_primitives.enabled()) {
4708
+ gpr_log(whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG,
4709
+ "seq[%p]: begin poll step 6/12", this);
4710
+ }
4711
+ auto result = prior.prior.prior.prior.prior.prior.current_promise();
4712
+ PromiseResult5* p = result.value_if_ready();
4713
+ if (grpc_trace_promise_primitives.enabled()) {
4714
+ gpr_log(
4715
+ whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG,
4716
+ "seq[%p]: poll step 6/12 gets %s", this,
4717
+ p != nullptr
4718
+ ? (PromiseResultTraits5::IsOk(*p)
4719
+ ? "ready"
4720
+ : absl::StrCat("early-error:",
4721
+ PromiseResultTraits5::ErrorString(*p))
4722
+ .c_str())
4723
+ : "pending");
4724
+ }
4725
+ if (p == nullptr) return Pending{};
4726
+ if (!PromiseResultTraits5::IsOk(*p)) {
4727
+ return PromiseResultTraits5::template ReturnValue<Result>(
4728
+ std::move(*p));
4729
+ }
4730
+ Destruct(&prior.prior.prior.prior.prior.prior.current_promise);
4731
+ auto next_promise = PromiseResultTraits5::CallFactory(
4732
+ &prior.prior.prior.prior.prior.prior.next_factory, std::move(*p));
4733
+ Destruct(&prior.prior.prior.prior.prior.prior.next_factory);
4734
+ Construct(&prior.prior.prior.prior.prior.current_promise,
4735
+ std::move(next_promise));
4736
+ state = State::kState6;
4737
+ }
4738
+ ABSL_FALLTHROUGH_INTENDED;
4739
+ case State::kState6: {
4740
+ if (grpc_trace_promise_primitives.enabled()) {
4741
+ gpr_log(whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG,
4742
+ "seq[%p]: begin poll step 7/12", this);
4743
+ }
4744
+ auto result = prior.prior.prior.prior.prior.current_promise();
4745
+ PromiseResult6* p = result.value_if_ready();
4746
+ if (grpc_trace_promise_primitives.enabled()) {
4747
+ gpr_log(
4748
+ whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG,
4749
+ "seq[%p]: poll step 7/12 gets %s", this,
4750
+ p != nullptr
4751
+ ? (PromiseResultTraits6::IsOk(*p)
4752
+ ? "ready"
4753
+ : absl::StrCat("early-error:",
4754
+ PromiseResultTraits6::ErrorString(*p))
4755
+ .c_str())
4756
+ : "pending");
4757
+ }
4758
+ if (p == nullptr) return Pending{};
4759
+ if (!PromiseResultTraits6::IsOk(*p)) {
4760
+ return PromiseResultTraits6::template ReturnValue<Result>(
4761
+ std::move(*p));
4762
+ }
4763
+ Destruct(&prior.prior.prior.prior.prior.current_promise);
4764
+ auto next_promise = PromiseResultTraits6::CallFactory(
4765
+ &prior.prior.prior.prior.prior.next_factory, std::move(*p));
4766
+ Destruct(&prior.prior.prior.prior.prior.next_factory);
4767
+ Construct(&prior.prior.prior.prior.current_promise,
4768
+ std::move(next_promise));
4769
+ state = State::kState7;
4770
+ }
4771
+ ABSL_FALLTHROUGH_INTENDED;
4772
+ case State::kState7: {
4773
+ if (grpc_trace_promise_primitives.enabled()) {
4774
+ gpr_log(whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG,
4775
+ "seq[%p]: begin poll step 8/12", this);
4776
+ }
4777
+ auto result = prior.prior.prior.prior.current_promise();
4778
+ PromiseResult7* p = result.value_if_ready();
4779
+ if (grpc_trace_promise_primitives.enabled()) {
4780
+ gpr_log(
4781
+ whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG,
4782
+ "seq[%p]: poll step 8/12 gets %s", this,
4783
+ p != nullptr
4784
+ ? (PromiseResultTraits7::IsOk(*p)
4785
+ ? "ready"
4786
+ : absl::StrCat("early-error:",
4787
+ PromiseResultTraits7::ErrorString(*p))
4788
+ .c_str())
4789
+ : "pending");
4790
+ }
4791
+ if (p == nullptr) return Pending{};
4792
+ if (!PromiseResultTraits7::IsOk(*p)) {
4793
+ return PromiseResultTraits7::template ReturnValue<Result>(
4794
+ std::move(*p));
4795
+ }
4796
+ Destruct(&prior.prior.prior.prior.current_promise);
4797
+ auto next_promise = PromiseResultTraits7::CallFactory(
4798
+ &prior.prior.prior.prior.next_factory, std::move(*p));
4799
+ Destruct(&prior.prior.prior.prior.next_factory);
4800
+ Construct(&prior.prior.prior.current_promise, std::move(next_promise));
4801
+ state = State::kState8;
4802
+ }
4803
+ ABSL_FALLTHROUGH_INTENDED;
4804
+ case State::kState8: {
4805
+ if (grpc_trace_promise_primitives.enabled()) {
4806
+ gpr_log(whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG,
4807
+ "seq[%p]: begin poll step 9/12", this);
4808
+ }
4809
+ auto result = prior.prior.prior.current_promise();
4810
+ PromiseResult8* p = result.value_if_ready();
4811
+ if (grpc_trace_promise_primitives.enabled()) {
4812
+ gpr_log(
4813
+ whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG,
4814
+ "seq[%p]: poll step 9/12 gets %s", this,
4815
+ p != nullptr
4816
+ ? (PromiseResultTraits8::IsOk(*p)
4817
+ ? "ready"
4818
+ : absl::StrCat("early-error:",
4819
+ PromiseResultTraits8::ErrorString(*p))
4820
+ .c_str())
4821
+ : "pending");
4822
+ }
4823
+ if (p == nullptr) return Pending{};
4824
+ if (!PromiseResultTraits8::IsOk(*p)) {
4825
+ return PromiseResultTraits8::template ReturnValue<Result>(
4826
+ std::move(*p));
4827
+ }
4828
+ Destruct(&prior.prior.prior.current_promise);
4829
+ auto next_promise = PromiseResultTraits8::CallFactory(
4830
+ &prior.prior.prior.next_factory, std::move(*p));
4831
+ Destruct(&prior.prior.prior.next_factory);
4832
+ Construct(&prior.prior.current_promise, std::move(next_promise));
4833
+ state = State::kState9;
4834
+ }
4835
+ ABSL_FALLTHROUGH_INTENDED;
4836
+ case State::kState9: {
4837
+ if (grpc_trace_promise_primitives.enabled()) {
4838
+ gpr_log(whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG,
4839
+ "seq[%p]: begin poll step 10/12", this);
4840
+ }
4841
+ auto result = prior.prior.current_promise();
4842
+ PromiseResult9* p = result.value_if_ready();
4843
+ if (grpc_trace_promise_primitives.enabled()) {
4844
+ gpr_log(
4845
+ whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG,
4846
+ "seq[%p]: poll step 10/12 gets %s", this,
4847
+ p != nullptr
4848
+ ? (PromiseResultTraits9::IsOk(*p)
4849
+ ? "ready"
4850
+ : absl::StrCat("early-error:",
4851
+ PromiseResultTraits9::ErrorString(*p))
4852
+ .c_str())
4853
+ : "pending");
4854
+ }
4855
+ if (p == nullptr) return Pending{};
4856
+ if (!PromiseResultTraits9::IsOk(*p)) {
4857
+ return PromiseResultTraits9::template ReturnValue<Result>(
4858
+ std::move(*p));
4859
+ }
4860
+ Destruct(&prior.prior.current_promise);
4861
+ auto next_promise = PromiseResultTraits9::CallFactory(
4862
+ &prior.prior.next_factory, std::move(*p));
4863
+ Destruct(&prior.prior.next_factory);
4864
+ Construct(&prior.current_promise, std::move(next_promise));
4865
+ state = State::kState10;
4866
+ }
4867
+ ABSL_FALLTHROUGH_INTENDED;
4868
+ case State::kState10: {
4869
+ if (grpc_trace_promise_primitives.enabled()) {
4870
+ gpr_log(whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG,
4871
+ "seq[%p]: begin poll step 11/12", this);
4872
+ }
4873
+ auto result = prior.current_promise();
4874
+ PromiseResult10* p = result.value_if_ready();
4875
+ if (grpc_trace_promise_primitives.enabled()) {
4876
+ gpr_log(
4877
+ whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG,
4878
+ "seq[%p]: poll step 11/12 gets %s", this,
4879
+ p != nullptr
4880
+ ? (PromiseResultTraits10::IsOk(*p)
4881
+ ? "ready"
4882
+ : absl::StrCat("early-error:",
4883
+ PromiseResultTraits10::ErrorString(*p))
4884
+ .c_str())
4885
+ : "pending");
4886
+ }
4887
+ if (p == nullptr) return Pending{};
4888
+ if (!PromiseResultTraits10::IsOk(*p)) {
4889
+ return PromiseResultTraits10::template ReturnValue<Result>(
4890
+ std::move(*p));
4891
+ }
4892
+ Destruct(&prior.current_promise);
4893
+ auto next_promise = PromiseResultTraits10::CallFactory(
4894
+ &prior.next_factory, std::move(*p));
4895
+ Destruct(&prior.next_factory);
4896
+ Construct(&current_promise, std::move(next_promise));
4897
+ state = State::kState11;
4898
+ }
4899
+ ABSL_FALLTHROUGH_INTENDED;
4900
+ default:
4901
+ case State::kState11: {
4902
+ if (grpc_trace_promise_primitives.enabled()) {
4903
+ gpr_log(whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG,
4904
+ "seq[%p]: begin poll step 12/12", this);
4905
+ }
4906
+ auto result = current_promise();
4907
+ if (grpc_trace_promise_primitives.enabled()) {
4908
+ gpr_log(whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG,
4909
+ "seq[%p]: poll step 12/12 gets %s", this,
4910
+ result.ready() ? "ready" : "pending");
4911
+ }
4912
+ auto* p = result.value_if_ready();
4913
+ if (p == nullptr) return Pending{};
4914
+ return Result(std::move(*p));
4915
+ }
4916
+ }
4917
+ }
4918
+ };
4919
+
4920
+ template <template <typename> class Traits, typename P, typename F0,
4921
+ typename F1, typename F2, typename F3, typename F4, typename F5,
4922
+ typename F6, typename F7, typename F8, typename F9, typename F10,
4923
+ typename F11>
4924
+ struct SeqState<Traits, P, F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11> {
4925
+ using Promise0 = PromiseLike<P>;
4926
+ using PromiseResult0 = typename Promise0::Result;
4927
+ using PromiseResultTraits0 = Traits<PromiseResult0>;
4928
+ using NextFactory0 =
4929
+ OncePromiseFactory<typename PromiseResultTraits0::UnwrappedType, F0>;
4930
+ using Promise1 = typename NextFactory0::Promise;
4931
+ using PromiseResult1 = typename Promise1::Result;
4932
+ using PromiseResultTraits1 = Traits<PromiseResult1>;
4933
+ using NextFactory1 =
4934
+ OncePromiseFactory<typename PromiseResultTraits1::UnwrappedType, F1>;
4935
+ using Promise2 = typename NextFactory1::Promise;
4936
+ using PromiseResult2 = typename Promise2::Result;
4937
+ using PromiseResultTraits2 = Traits<PromiseResult2>;
4938
+ using NextFactory2 =
4939
+ OncePromiseFactory<typename PromiseResultTraits2::UnwrappedType, F2>;
4940
+ using Promise3 = typename NextFactory2::Promise;
4941
+ using PromiseResult3 = typename Promise3::Result;
4942
+ using PromiseResultTraits3 = Traits<PromiseResult3>;
4943
+ using NextFactory3 =
4944
+ OncePromiseFactory<typename PromiseResultTraits3::UnwrappedType, F3>;
4945
+ using Promise4 = typename NextFactory3::Promise;
4946
+ using PromiseResult4 = typename Promise4::Result;
4947
+ using PromiseResultTraits4 = Traits<PromiseResult4>;
4948
+ using NextFactory4 =
4949
+ OncePromiseFactory<typename PromiseResultTraits4::UnwrappedType, F4>;
4950
+ using Promise5 = typename NextFactory4::Promise;
4951
+ using PromiseResult5 = typename Promise5::Result;
4952
+ using PromiseResultTraits5 = Traits<PromiseResult5>;
4953
+ using NextFactory5 =
4954
+ OncePromiseFactory<typename PromiseResultTraits5::UnwrappedType, F5>;
4955
+ using Promise6 = typename NextFactory5::Promise;
4956
+ using PromiseResult6 = typename Promise6::Result;
4957
+ using PromiseResultTraits6 = Traits<PromiseResult6>;
4958
+ using NextFactory6 =
4959
+ OncePromiseFactory<typename PromiseResultTraits6::UnwrappedType, F6>;
4960
+ using Promise7 = typename NextFactory6::Promise;
4961
+ using PromiseResult7 = typename Promise7::Result;
4962
+ using PromiseResultTraits7 = Traits<PromiseResult7>;
4963
+ using NextFactory7 =
4964
+ OncePromiseFactory<typename PromiseResultTraits7::UnwrappedType, F7>;
4965
+ using Promise8 = typename NextFactory7::Promise;
4966
+ using PromiseResult8 = typename Promise8::Result;
4967
+ using PromiseResultTraits8 = Traits<PromiseResult8>;
4968
+ using NextFactory8 =
4969
+ OncePromiseFactory<typename PromiseResultTraits8::UnwrappedType, F8>;
4970
+ using Promise9 = typename NextFactory8::Promise;
4971
+ using PromiseResult9 = typename Promise9::Result;
4972
+ using PromiseResultTraits9 = Traits<PromiseResult9>;
4973
+ using NextFactory9 =
4974
+ OncePromiseFactory<typename PromiseResultTraits9::UnwrappedType, F9>;
4975
+ using Promise10 = typename NextFactory9::Promise;
4976
+ using PromiseResult10 = typename Promise10::Result;
4977
+ using PromiseResultTraits10 = Traits<PromiseResult10>;
4978
+ using NextFactory10 =
4979
+ OncePromiseFactory<typename PromiseResultTraits10::UnwrappedType, F10>;
4980
+ using Promise11 = typename NextFactory10::Promise;
4981
+ using PromiseResult11 = typename Promise11::Result;
4982
+ using PromiseResultTraits11 = Traits<PromiseResult11>;
4983
+ using NextFactory11 =
4984
+ OncePromiseFactory<typename PromiseResultTraits11::UnwrappedType, F11>;
4985
+ using Promise12 = typename NextFactory11::Promise;
4986
+ using PromiseResult12 = typename Promise12::Result;
4987
+ using PromiseResultTraits12 = Traits<PromiseResult12>;
4988
+ using Result = typename PromiseResultTraits12::WrappedType;
4989
+ struct Running0 {
4990
+ GPR_NO_UNIQUE_ADDRESS Promise0 current_promise;
4991
+ GPR_NO_UNIQUE_ADDRESS NextFactory0 next_factory;
4992
+ };
4993
+ struct Running1 {
4994
+ union {
4995
+ GPR_NO_UNIQUE_ADDRESS Running0 prior;
4996
+ GPR_NO_UNIQUE_ADDRESS Promise1 current_promise;
4997
+ };
4998
+ GPR_NO_UNIQUE_ADDRESS NextFactory1 next_factory;
4999
+ };
5000
+ struct Running2 {
5001
+ union {
5002
+ GPR_NO_UNIQUE_ADDRESS Running1 prior;
5003
+ GPR_NO_UNIQUE_ADDRESS Promise2 current_promise;
5004
+ };
5005
+ GPR_NO_UNIQUE_ADDRESS NextFactory2 next_factory;
5006
+ };
5007
+ struct Running3 {
5008
+ union {
5009
+ GPR_NO_UNIQUE_ADDRESS Running2 prior;
5010
+ GPR_NO_UNIQUE_ADDRESS Promise3 current_promise;
5011
+ };
5012
+ GPR_NO_UNIQUE_ADDRESS NextFactory3 next_factory;
5013
+ };
5014
+ struct Running4 {
5015
+ union {
5016
+ GPR_NO_UNIQUE_ADDRESS Running3 prior;
5017
+ GPR_NO_UNIQUE_ADDRESS Promise4 current_promise;
5018
+ };
5019
+ GPR_NO_UNIQUE_ADDRESS NextFactory4 next_factory;
5020
+ };
5021
+ struct Running5 {
5022
+ union {
5023
+ GPR_NO_UNIQUE_ADDRESS Running4 prior;
5024
+ GPR_NO_UNIQUE_ADDRESS Promise5 current_promise;
5025
+ };
5026
+ GPR_NO_UNIQUE_ADDRESS NextFactory5 next_factory;
5027
+ };
5028
+ struct Running6 {
5029
+ union {
5030
+ GPR_NO_UNIQUE_ADDRESS Running5 prior;
5031
+ GPR_NO_UNIQUE_ADDRESS Promise6 current_promise;
5032
+ };
5033
+ GPR_NO_UNIQUE_ADDRESS NextFactory6 next_factory;
5034
+ };
5035
+ struct Running7 {
5036
+ union {
5037
+ GPR_NO_UNIQUE_ADDRESS Running6 prior;
5038
+ GPR_NO_UNIQUE_ADDRESS Promise7 current_promise;
5039
+ };
5040
+ GPR_NO_UNIQUE_ADDRESS NextFactory7 next_factory;
5041
+ };
5042
+ struct Running8 {
5043
+ union {
5044
+ GPR_NO_UNIQUE_ADDRESS Running7 prior;
5045
+ GPR_NO_UNIQUE_ADDRESS Promise8 current_promise;
5046
+ };
5047
+ GPR_NO_UNIQUE_ADDRESS NextFactory8 next_factory;
5048
+ };
5049
+ struct Running9 {
5050
+ union {
5051
+ GPR_NO_UNIQUE_ADDRESS Running8 prior;
5052
+ GPR_NO_UNIQUE_ADDRESS Promise9 current_promise;
5053
+ };
5054
+ GPR_NO_UNIQUE_ADDRESS NextFactory9 next_factory;
5055
+ };
5056
+ struct Running10 {
5057
+ union {
5058
+ GPR_NO_UNIQUE_ADDRESS Running9 prior;
5059
+ GPR_NO_UNIQUE_ADDRESS Promise10 current_promise;
5060
+ };
5061
+ GPR_NO_UNIQUE_ADDRESS NextFactory10 next_factory;
5062
+ };
5063
+ struct Running11 {
5064
+ union {
5065
+ GPR_NO_UNIQUE_ADDRESS Running10 prior;
5066
+ GPR_NO_UNIQUE_ADDRESS Promise11 current_promise;
5067
+ };
5068
+ GPR_NO_UNIQUE_ADDRESS NextFactory11 next_factory;
5069
+ };
5070
+ union {
5071
+ GPR_NO_UNIQUE_ADDRESS Running11 prior;
5072
+ GPR_NO_UNIQUE_ADDRESS Promise12 current_promise;
5073
+ };
5074
+ enum class State : uint8_t {
5075
+ kState0,
5076
+ kState1,
5077
+ kState2,
5078
+ kState3,
5079
+ kState4,
5080
+ kState5,
5081
+ kState6,
5082
+ kState7,
5083
+ kState8,
5084
+ kState9,
5085
+ kState10,
5086
+ kState11,
5087
+ kState12
5088
+ };
5089
+ GPR_NO_UNIQUE_ADDRESS State state = State::kState0;
5090
+ GPR_NO_UNIQUE_ADDRESS DebugLocation whence;
5091
+
5092
+ SeqState(P&& p, F0&& f0, F1&& f1, F2&& f2, F3&& f3, F4&& f4, F5&& f5, F6&& f6,
5093
+ F7&& f7, F8&& f8, F9&& f9, F10&& f10, F11&& f11,
5094
+ DebugLocation whence) noexcept
5095
+ : whence(whence) {
5096
+ Construct(&prior.prior.prior.prior.prior.prior.prior.prior.prior.prior.prior
5097
+ .prior.current_promise,
5098
+ std::forward<P>(p));
5099
+ Construct(&prior.prior.prior.prior.prior.prior.prior.prior.prior.prior.prior
5100
+ .prior.next_factory,
5101
+ std::forward<F0>(f0));
5102
+ Construct(&prior.prior.prior.prior.prior.prior.prior.prior.prior.prior.prior
5103
+ .next_factory,
5104
+ std::forward<F1>(f1));
5105
+ Construct(&prior.prior.prior.prior.prior.prior.prior.prior.prior.prior
5106
+ .next_factory,
5107
+ std::forward<F2>(f2));
5108
+ Construct(
5109
+ &prior.prior.prior.prior.prior.prior.prior.prior.prior.next_factory,
5110
+ std::forward<F3>(f3));
5111
+ Construct(&prior.prior.prior.prior.prior.prior.prior.prior.next_factory,
5112
+ std::forward<F4>(f4));
5113
+ Construct(&prior.prior.prior.prior.prior.prior.prior.next_factory,
5114
+ std::forward<F5>(f5));
5115
+ Construct(&prior.prior.prior.prior.prior.prior.next_factory,
5116
+ std::forward<F6>(f6));
5117
+ Construct(&prior.prior.prior.prior.prior.next_factory,
5118
+ std::forward<F7>(f7));
5119
+ Construct(&prior.prior.prior.prior.next_factory, std::forward<F8>(f8));
5120
+ Construct(&prior.prior.prior.next_factory, std::forward<F9>(f9));
5121
+ Construct(&prior.prior.next_factory, std::forward<F10>(f10));
5122
+ Construct(&prior.next_factory, std::forward<F11>(f11));
5123
+ }
5124
+ ~SeqState() {
5125
+ switch (state) {
5126
+ case State::kState0:
5127
+ Destruct(&prior.prior.prior.prior.prior.prior.prior.prior.prior.prior
5128
+ .prior.prior.current_promise);
5129
+ goto tail0;
5130
+ case State::kState1:
5131
+ Destruct(&prior.prior.prior.prior.prior.prior.prior.prior.prior.prior
5132
+ .prior.current_promise);
5133
+ goto tail1;
5134
+ case State::kState2:
5135
+ Destruct(&prior.prior.prior.prior.prior.prior.prior.prior.prior.prior
5136
+ .current_promise);
5137
+ goto tail2;
5138
+ case State::kState3:
5139
+ Destruct(&prior.prior.prior.prior.prior.prior.prior.prior.prior
5140
+ .current_promise);
5141
+ goto tail3;
5142
+ case State::kState4:
5143
+ Destruct(
5144
+ &prior.prior.prior.prior.prior.prior.prior.prior.current_promise);
5145
+ goto tail4;
5146
+ case State::kState5:
5147
+ Destruct(&prior.prior.prior.prior.prior.prior.prior.current_promise);
5148
+ goto tail5;
5149
+ case State::kState6:
5150
+ Destruct(&prior.prior.prior.prior.prior.prior.current_promise);
5151
+ goto tail6;
5152
+ case State::kState7:
5153
+ Destruct(&prior.prior.prior.prior.prior.current_promise);
5154
+ goto tail7;
5155
+ case State::kState8:
5156
+ Destruct(&prior.prior.prior.prior.current_promise);
5157
+ goto tail8;
5158
+ case State::kState9:
5159
+ Destruct(&prior.prior.prior.current_promise);
5160
+ goto tail9;
5161
+ case State::kState10:
5162
+ Destruct(&prior.prior.current_promise);
5163
+ goto tail10;
5164
+ case State::kState11:
5165
+ Destruct(&prior.current_promise);
5166
+ goto tail11;
5167
+ case State::kState12:
5168
+ Destruct(&current_promise);
5169
+ return;
5170
+ }
5171
+ tail0:
5172
+ Destruct(&prior.prior.prior.prior.prior.prior.prior.prior.prior.prior.prior
5173
+ .prior.next_factory);
5174
+ tail1:
5175
+ Destruct(&prior.prior.prior.prior.prior.prior.prior.prior.prior.prior.prior
5176
+ .next_factory);
5177
+ tail2:
5178
+ Destruct(&prior.prior.prior.prior.prior.prior.prior.prior.prior.prior
5179
+ .next_factory);
5180
+ tail3:
5181
+ Destruct(
5182
+ &prior.prior.prior.prior.prior.prior.prior.prior.prior.next_factory);
5183
+ tail4:
5184
+ Destruct(&prior.prior.prior.prior.prior.prior.prior.prior.next_factory);
5185
+ tail5:
5186
+ Destruct(&prior.prior.prior.prior.prior.prior.prior.next_factory);
5187
+ tail6:
5188
+ Destruct(&prior.prior.prior.prior.prior.prior.next_factory);
5189
+ tail7:
5190
+ Destruct(&prior.prior.prior.prior.prior.next_factory);
5191
+ tail8:
5192
+ Destruct(&prior.prior.prior.prior.next_factory);
5193
+ tail9:
5194
+ Destruct(&prior.prior.prior.next_factory);
5195
+ tail10:
5196
+ Destruct(&prior.prior.next_factory);
5197
+ tail11:
5198
+ Destruct(&prior.next_factory);
5199
+ }
5200
+ SeqState(const SeqState& other) noexcept
5201
+ : state(other.state), whence(other.whence) {
5202
+ GPR_ASSERT(state == State::kState0);
5203
+ Construct(&prior.current_promise, other.prior.current_promise);
5204
+ Construct(&prior.prior.prior.prior.prior.prior.prior.prior.prior.prior.prior
5205
+ .prior.next_factory,
5206
+ other.prior.prior.prior.prior.prior.prior.prior.prior.prior.prior
5207
+ .prior.prior.next_factory);
5208
+ Construct(&prior.prior.prior.prior.prior.prior.prior.prior.prior.prior.prior
5209
+ .next_factory,
5210
+ other.prior.prior.prior.prior.prior.prior.prior.prior.prior.prior
5211
+ .prior.next_factory);
5212
+ Construct(&prior.prior.prior.prior.prior.prior.prior.prior.prior.prior
5213
+ .next_factory,
5214
+ other.prior.prior.prior.prior.prior.prior.prior.prior.prior.prior
5215
+ .next_factory);
5216
+ Construct(
5217
+ &prior.prior.prior.prior.prior.prior.prior.prior.prior.next_factory,
5218
+ other.prior.prior.prior.prior.prior.prior.prior.prior.prior
5219
+ .next_factory);
5220
+ Construct(
5221
+ &prior.prior.prior.prior.prior.prior.prior.prior.next_factory,
5222
+ other.prior.prior.prior.prior.prior.prior.prior.prior.next_factory);
5223
+ Construct(&prior.prior.prior.prior.prior.prior.prior.next_factory,
5224
+ other.prior.prior.prior.prior.prior.prior.prior.next_factory);
5225
+ Construct(&prior.prior.prior.prior.prior.prior.next_factory,
5226
+ other.prior.prior.prior.prior.prior.prior.next_factory);
5227
+ Construct(&prior.prior.prior.prior.prior.next_factory,
5228
+ other.prior.prior.prior.prior.prior.next_factory);
5229
+ Construct(&prior.prior.prior.prior.next_factory,
5230
+ other.prior.prior.prior.prior.next_factory);
5231
+ Construct(&prior.prior.prior.next_factory,
5232
+ other.prior.prior.prior.next_factory);
5233
+ Construct(&prior.prior.next_factory, other.prior.prior.next_factory);
5234
+ Construct(&prior.next_factory, other.prior.next_factory);
5235
+ }
5236
+ SeqState& operator=(const SeqState& other) = delete;
5237
+ SeqState(SeqState&& other) noexcept
5238
+ : state(other.state), whence(other.whence) {
5239
+ switch (state) {
5240
+ case State::kState0:
5241
+ Construct(
5242
+ &prior.prior.prior.prior.prior.prior.prior.prior.prior.prior.prior
5243
+ .prior.current_promise,
5244
+ std::move(other.prior.prior.prior.prior.prior.prior.prior.prior
5245
+ .prior.prior.prior.prior.current_promise));
5246
+ goto tail0;
5247
+ case State::kState1:
5248
+ Construct(&prior.prior.prior.prior.prior.prior.prior.prior.prior.prior
5249
+ .prior.current_promise,
5250
+ std::move(other.prior.prior.prior.prior.prior.prior.prior
5251
+ .prior.prior.prior.prior.current_promise));
5252
+ goto tail1;
5253
+ case State::kState2:
5254
+ Construct(&prior.prior.prior.prior.prior.prior.prior.prior.prior.prior
5255
+ .current_promise,
5256
+ std::move(other.prior.prior.prior.prior.prior.prior.prior
5257
+ .prior.prior.prior.current_promise));
5258
+ goto tail2;
5259
+ case State::kState3:
5260
+ Construct(&prior.prior.prior.prior.prior.prior.prior.prior.prior
5261
+ .current_promise,
5262
+ std::move(other.prior.prior.prior.prior.prior.prior.prior
5263
+ .prior.prior.current_promise));
5264
+ goto tail3;
5265
+ case State::kState4:
5266
+ Construct(
5267
+ &prior.prior.prior.prior.prior.prior.prior.prior.current_promise,
5268
+ std::move(other.prior.prior.prior.prior.prior.prior.prior.prior
5269
+ .current_promise));
5270
+ goto tail4;
5271
+ case State::kState5:
5272
+ Construct(&prior.prior.prior.prior.prior.prior.prior.current_promise,
5273
+ std::move(other.prior.prior.prior.prior.prior.prior.prior
5274
+ .current_promise));
5275
+ goto tail5;
5276
+ case State::kState6:
5277
+ Construct(
5278
+ &prior.prior.prior.prior.prior.prior.current_promise,
5279
+ std::move(
5280
+ other.prior.prior.prior.prior.prior.prior.current_promise));
5281
+ goto tail6;
5282
+ case State::kState7:
5283
+ Construct(
5284
+ &prior.prior.prior.prior.prior.current_promise,
5285
+ std::move(other.prior.prior.prior.prior.prior.current_promise));
5286
+ goto tail7;
5287
+ case State::kState8:
5288
+ Construct(&prior.prior.prior.prior.current_promise,
5289
+ std::move(other.prior.prior.prior.prior.current_promise));
5290
+ goto tail8;
5291
+ case State::kState9:
5292
+ Construct(&prior.prior.prior.current_promise,
5293
+ std::move(other.prior.prior.prior.current_promise));
5294
+ goto tail9;
5295
+ case State::kState10:
5296
+ Construct(&prior.prior.current_promise,
5297
+ std::move(other.prior.prior.current_promise));
5298
+ goto tail10;
5299
+ case State::kState11:
5300
+ Construct(&prior.current_promise,
5301
+ std::move(other.prior.current_promise));
5302
+ goto tail11;
5303
+ case State::kState12:
5304
+ Construct(&current_promise, std::move(other.current_promise));
5305
+ return;
5306
+ }
5307
+ tail0:
5308
+ Construct(&prior.prior.prior.prior.prior.prior.prior.prior.prior.prior.prior
5309
+ .prior.next_factory,
5310
+ std::move(other.prior.prior.prior.prior.prior.prior.prior.prior
5311
+ .prior.prior.prior.prior.next_factory));
5312
+ tail1:
5313
+ Construct(&prior.prior.prior.prior.prior.prior.prior.prior.prior.prior.prior
5314
+ .next_factory,
5315
+ std::move(other.prior.prior.prior.prior.prior.prior.prior.prior
5316
+ .prior.prior.prior.next_factory));
5317
+ tail2:
5318
+ Construct(&prior.prior.prior.prior.prior.prior.prior.prior.prior.prior
5319
+ .next_factory,
5320
+ std::move(other.prior.prior.prior.prior.prior.prior.prior.prior
5321
+ .prior.prior.next_factory));
5322
+ tail3:
5323
+ Construct(
5324
+ &prior.prior.prior.prior.prior.prior.prior.prior.prior.next_factory,
5325
+ std::move(other.prior.prior.prior.prior.prior.prior.prior.prior.prior
5326
+ .next_factory));
5327
+ tail4:
5328
+ Construct(&prior.prior.prior.prior.prior.prior.prior.prior.next_factory,
5329
+ std::move(other.prior.prior.prior.prior.prior.prior.prior.prior
5330
+ .next_factory));
5331
+ tail5:
5332
+ Construct(
5333
+ &prior.prior.prior.prior.prior.prior.prior.next_factory,
5334
+ std::move(
5335
+ other.prior.prior.prior.prior.prior.prior.prior.next_factory));
5336
+ tail6:
5337
+ Construct(
5338
+ &prior.prior.prior.prior.prior.prior.next_factory,
5339
+ std::move(other.prior.prior.prior.prior.prior.prior.next_factory));
5340
+ tail7:
5341
+ Construct(&prior.prior.prior.prior.prior.next_factory,
5342
+ std::move(other.prior.prior.prior.prior.prior.next_factory));
5343
+ tail8:
5344
+ Construct(&prior.prior.prior.prior.next_factory,
5345
+ std::move(other.prior.prior.prior.prior.next_factory));
5346
+ tail9:
5347
+ Construct(&prior.prior.prior.next_factory,
5348
+ std::move(other.prior.prior.prior.next_factory));
5349
+ tail10:
5350
+ Construct(&prior.prior.next_factory,
5351
+ std::move(other.prior.prior.next_factory));
5352
+ tail11:
5353
+ Construct(&prior.next_factory, std::move(other.prior.next_factory));
5354
+ }
5355
+ SeqState& operator=(SeqState&& other) = delete;
5356
+ Poll<Result> PollOnce() {
5357
+ switch (state) {
5358
+ case State::kState0: {
5359
+ if (grpc_trace_promise_primitives.enabled()) {
5360
+ gpr_log(whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG,
5361
+ "seq[%p]: begin poll step 1/13", this);
5362
+ }
5363
+ auto result = prior.prior.prior.prior.prior.prior.prior.prior.prior
5364
+ .prior.prior.prior.current_promise();
5365
+ PromiseResult0* p = result.value_if_ready();
5366
+ if (grpc_trace_promise_primitives.enabled()) {
5367
+ gpr_log(
5368
+ whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG,
5369
+ "seq[%p]: poll step 1/13 gets %s", this,
5370
+ p != nullptr
5371
+ ? (PromiseResultTraits0::IsOk(*p)
5372
+ ? "ready"
5373
+ : absl::StrCat("early-error:",
5374
+ PromiseResultTraits0::ErrorString(*p))
5375
+ .c_str())
5376
+ : "pending");
5377
+ }
5378
+ if (p == nullptr) return Pending{};
5379
+ if (!PromiseResultTraits0::IsOk(*p)) {
5380
+ return PromiseResultTraits0::template ReturnValue<Result>(
5381
+ std::move(*p));
5382
+ }
5383
+ Destruct(&prior.prior.prior.prior.prior.prior.prior.prior.prior.prior
5384
+ .prior.prior.current_promise);
5385
+ auto next_promise = PromiseResultTraits0::CallFactory(
5386
+ &prior.prior.prior.prior.prior.prior.prior.prior.prior.prior.prior
5387
+ .prior.next_factory,
5388
+ std::move(*p));
5389
+ Destruct(&prior.prior.prior.prior.prior.prior.prior.prior.prior.prior
5390
+ .prior.prior.next_factory);
5391
+ Construct(&prior.prior.prior.prior.prior.prior.prior.prior.prior.prior
5392
+ .prior.current_promise,
5393
+ std::move(next_promise));
5394
+ state = State::kState1;
5395
+ }
5396
+ ABSL_FALLTHROUGH_INTENDED;
5397
+ case State::kState1: {
5398
+ if (grpc_trace_promise_primitives.enabled()) {
5399
+ gpr_log(whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG,
5400
+ "seq[%p]: begin poll step 2/13", this);
5401
+ }
5402
+ auto result = prior.prior.prior.prior.prior.prior.prior.prior.prior
5403
+ .prior.prior.current_promise();
5404
+ PromiseResult1* p = result.value_if_ready();
5405
+ if (grpc_trace_promise_primitives.enabled()) {
5406
+ gpr_log(
5407
+ whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG,
5408
+ "seq[%p]: poll step 2/13 gets %s", this,
5409
+ p != nullptr
5410
+ ? (PromiseResultTraits1::IsOk(*p)
5411
+ ? "ready"
5412
+ : absl::StrCat("early-error:",
5413
+ PromiseResultTraits1::ErrorString(*p))
5414
+ .c_str())
5415
+ : "pending");
5416
+ }
5417
+ if (p == nullptr) return Pending{};
5418
+ if (!PromiseResultTraits1::IsOk(*p)) {
5419
+ return PromiseResultTraits1::template ReturnValue<Result>(
5420
+ std::move(*p));
5421
+ }
5422
+ Destruct(&prior.prior.prior.prior.prior.prior.prior.prior.prior.prior
5423
+ .prior.current_promise);
5424
+ auto next_promise = PromiseResultTraits1::CallFactory(
5425
+ &prior.prior.prior.prior.prior.prior.prior.prior.prior.prior.prior
5426
+ .next_factory,
5427
+ std::move(*p));
5428
+ Destruct(&prior.prior.prior.prior.prior.prior.prior.prior.prior.prior
5429
+ .prior.next_factory);
5430
+ Construct(&prior.prior.prior.prior.prior.prior.prior.prior.prior.prior
5431
+ .current_promise,
5432
+ std::move(next_promise));
5433
+ state = State::kState2;
5434
+ }
5435
+ ABSL_FALLTHROUGH_INTENDED;
5436
+ case State::kState2: {
5437
+ if (grpc_trace_promise_primitives.enabled()) {
5438
+ gpr_log(whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG,
5439
+ "seq[%p]: begin poll step 3/13", this);
5440
+ }
5441
+ auto result = prior.prior.prior.prior.prior.prior.prior.prior.prior
5442
+ .prior.current_promise();
5443
+ PromiseResult2* p = result.value_if_ready();
5444
+ if (grpc_trace_promise_primitives.enabled()) {
5445
+ gpr_log(
5446
+ whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG,
5447
+ "seq[%p]: poll step 3/13 gets %s", this,
5448
+ p != nullptr
5449
+ ? (PromiseResultTraits2::IsOk(*p)
5450
+ ? "ready"
5451
+ : absl::StrCat("early-error:",
5452
+ PromiseResultTraits2::ErrorString(*p))
5453
+ .c_str())
5454
+ : "pending");
5455
+ }
5456
+ if (p == nullptr) return Pending{};
5457
+ if (!PromiseResultTraits2::IsOk(*p)) {
5458
+ return PromiseResultTraits2::template ReturnValue<Result>(
5459
+ std::move(*p));
5460
+ }
5461
+ Destruct(&prior.prior.prior.prior.prior.prior.prior.prior.prior.prior
5462
+ .current_promise);
5463
+ auto next_promise = PromiseResultTraits2::CallFactory(
5464
+ &prior.prior.prior.prior.prior.prior.prior.prior.prior.prior
5465
+ .next_factory,
5466
+ std::move(*p));
5467
+ Destruct(&prior.prior.prior.prior.prior.prior.prior.prior.prior.prior
5468
+ .next_factory);
5469
+ Construct(&prior.prior.prior.prior.prior.prior.prior.prior.prior
5470
+ .current_promise,
5471
+ std::move(next_promise));
5472
+ state = State::kState3;
5473
+ }
5474
+ ABSL_FALLTHROUGH_INTENDED;
5475
+ case State::kState3: {
5476
+ if (grpc_trace_promise_primitives.enabled()) {
5477
+ gpr_log(whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG,
5478
+ "seq[%p]: begin poll step 4/13", this);
5479
+ }
5480
+ auto result = prior.prior.prior.prior.prior.prior.prior.prior.prior
5481
+ .current_promise();
5482
+ PromiseResult3* p = result.value_if_ready();
5483
+ if (grpc_trace_promise_primitives.enabled()) {
5484
+ gpr_log(
5485
+ whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG,
5486
+ "seq[%p]: poll step 4/13 gets %s", this,
5487
+ p != nullptr
5488
+ ? (PromiseResultTraits3::IsOk(*p)
5489
+ ? "ready"
5490
+ : absl::StrCat("early-error:",
5491
+ PromiseResultTraits3::ErrorString(*p))
5492
+ .c_str())
5493
+ : "pending");
5494
+ }
5495
+ if (p == nullptr) return Pending{};
5496
+ if (!PromiseResultTraits3::IsOk(*p)) {
5497
+ return PromiseResultTraits3::template ReturnValue<Result>(
5498
+ std::move(*p));
5499
+ }
5500
+ Destruct(&prior.prior.prior.prior.prior.prior.prior.prior.prior
5501
+ .current_promise);
5502
+ auto next_promise = PromiseResultTraits3::CallFactory(
5503
+ &prior.prior.prior.prior.prior.prior.prior.prior.prior.next_factory,
5504
+ std::move(*p));
5505
+ Destruct(&prior.prior.prior.prior.prior.prior.prior.prior.prior
5506
+ .next_factory);
5507
+ Construct(
5508
+ &prior.prior.prior.prior.prior.prior.prior.prior.current_promise,
5509
+ std::move(next_promise));
5510
+ state = State::kState4;
5511
+ }
5512
+ ABSL_FALLTHROUGH_INTENDED;
5513
+ case State::kState4: {
5514
+ if (grpc_trace_promise_primitives.enabled()) {
5515
+ gpr_log(whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG,
5516
+ "seq[%p]: begin poll step 5/13", this);
5517
+ }
5518
+ auto result =
5519
+ prior.prior.prior.prior.prior.prior.prior.prior.current_promise();
5520
+ PromiseResult4* p = result.value_if_ready();
5521
+ if (grpc_trace_promise_primitives.enabled()) {
5522
+ gpr_log(
5523
+ whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG,
5524
+ "seq[%p]: poll step 5/13 gets %s", this,
5525
+ p != nullptr
5526
+ ? (PromiseResultTraits4::IsOk(*p)
5527
+ ? "ready"
5528
+ : absl::StrCat("early-error:",
5529
+ PromiseResultTraits4::ErrorString(*p))
5530
+ .c_str())
5531
+ : "pending");
5532
+ }
5533
+ if (p == nullptr) return Pending{};
5534
+ if (!PromiseResultTraits4::IsOk(*p)) {
5535
+ return PromiseResultTraits4::template ReturnValue<Result>(
5536
+ std::move(*p));
5537
+ }
5538
+ Destruct(
5539
+ &prior.prior.prior.prior.prior.prior.prior.prior.current_promise);
5540
+ auto next_promise = PromiseResultTraits4::CallFactory(
5541
+ &prior.prior.prior.prior.prior.prior.prior.prior.next_factory,
5542
+ std::move(*p));
5543
+ Destruct(&prior.prior.prior.prior.prior.prior.prior.prior.next_factory);
5544
+ Construct(&prior.prior.prior.prior.prior.prior.prior.current_promise,
5545
+ std::move(next_promise));
5546
+ state = State::kState5;
5547
+ }
5548
+ ABSL_FALLTHROUGH_INTENDED;
5549
+ case State::kState5: {
5550
+ if (grpc_trace_promise_primitives.enabled()) {
5551
+ gpr_log(whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG,
5552
+ "seq[%p]: begin poll step 6/13", this);
5553
+ }
5554
+ auto result =
5555
+ prior.prior.prior.prior.prior.prior.prior.current_promise();
5556
+ PromiseResult5* p = result.value_if_ready();
5557
+ if (grpc_trace_promise_primitives.enabled()) {
5558
+ gpr_log(
5559
+ whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG,
5560
+ "seq[%p]: poll step 6/13 gets %s", this,
5561
+ p != nullptr
5562
+ ? (PromiseResultTraits5::IsOk(*p)
5563
+ ? "ready"
5564
+ : absl::StrCat("early-error:",
5565
+ PromiseResultTraits5::ErrorString(*p))
5566
+ .c_str())
5567
+ : "pending");
5568
+ }
5569
+ if (p == nullptr) return Pending{};
5570
+ if (!PromiseResultTraits5::IsOk(*p)) {
5571
+ return PromiseResultTraits5::template ReturnValue<Result>(
5572
+ std::move(*p));
5573
+ }
5574
+ Destruct(&prior.prior.prior.prior.prior.prior.prior.current_promise);
5575
+ auto next_promise = PromiseResultTraits5::CallFactory(
5576
+ &prior.prior.prior.prior.prior.prior.prior.next_factory,
5577
+ std::move(*p));
5578
+ Destruct(&prior.prior.prior.prior.prior.prior.prior.next_factory);
5579
+ Construct(&prior.prior.prior.prior.prior.prior.current_promise,
5580
+ std::move(next_promise));
5581
+ state = State::kState6;
5582
+ }
5583
+ ABSL_FALLTHROUGH_INTENDED;
5584
+ case State::kState6: {
5585
+ if (grpc_trace_promise_primitives.enabled()) {
5586
+ gpr_log(whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG,
5587
+ "seq[%p]: begin poll step 7/13", this);
5588
+ }
5589
+ auto result = prior.prior.prior.prior.prior.prior.current_promise();
5590
+ PromiseResult6* p = result.value_if_ready();
5591
+ if (grpc_trace_promise_primitives.enabled()) {
5592
+ gpr_log(
5593
+ whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG,
5594
+ "seq[%p]: poll step 7/13 gets %s", this,
5595
+ p != nullptr
5596
+ ? (PromiseResultTraits6::IsOk(*p)
5597
+ ? "ready"
5598
+ : absl::StrCat("early-error:",
5599
+ PromiseResultTraits6::ErrorString(*p))
5600
+ .c_str())
5601
+ : "pending");
5602
+ }
5603
+ if (p == nullptr) return Pending{};
5604
+ if (!PromiseResultTraits6::IsOk(*p)) {
5605
+ return PromiseResultTraits6::template ReturnValue<Result>(
5606
+ std::move(*p));
5607
+ }
5608
+ Destruct(&prior.prior.prior.prior.prior.prior.current_promise);
5609
+ auto next_promise = PromiseResultTraits6::CallFactory(
5610
+ &prior.prior.prior.prior.prior.prior.next_factory, std::move(*p));
5611
+ Destruct(&prior.prior.prior.prior.prior.prior.next_factory);
5612
+ Construct(&prior.prior.prior.prior.prior.current_promise,
5613
+ std::move(next_promise));
5614
+ state = State::kState7;
5615
+ }
5616
+ ABSL_FALLTHROUGH_INTENDED;
5617
+ case State::kState7: {
5618
+ if (grpc_trace_promise_primitives.enabled()) {
5619
+ gpr_log(whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG,
5620
+ "seq[%p]: begin poll step 8/13", this);
5621
+ }
5622
+ auto result = prior.prior.prior.prior.prior.current_promise();
5623
+ PromiseResult7* p = result.value_if_ready();
5624
+ if (grpc_trace_promise_primitives.enabled()) {
5625
+ gpr_log(
5626
+ whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG,
5627
+ "seq[%p]: poll step 8/13 gets %s", this,
5628
+ p != nullptr
5629
+ ? (PromiseResultTraits7::IsOk(*p)
5630
+ ? "ready"
5631
+ : absl::StrCat("early-error:",
5632
+ PromiseResultTraits7::ErrorString(*p))
5633
+ .c_str())
5634
+ : "pending");
5635
+ }
5636
+ if (p == nullptr) return Pending{};
5637
+ if (!PromiseResultTraits7::IsOk(*p)) {
5638
+ return PromiseResultTraits7::template ReturnValue<Result>(
5639
+ std::move(*p));
5640
+ }
5641
+ Destruct(&prior.prior.prior.prior.prior.current_promise);
5642
+ auto next_promise = PromiseResultTraits7::CallFactory(
5643
+ &prior.prior.prior.prior.prior.next_factory, std::move(*p));
5644
+ Destruct(&prior.prior.prior.prior.prior.next_factory);
5645
+ Construct(&prior.prior.prior.prior.current_promise,
5646
+ std::move(next_promise));
5647
+ state = State::kState8;
5648
+ }
5649
+ ABSL_FALLTHROUGH_INTENDED;
5650
+ case State::kState8: {
5651
+ if (grpc_trace_promise_primitives.enabled()) {
5652
+ gpr_log(whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG,
5653
+ "seq[%p]: begin poll step 9/13", this);
5654
+ }
5655
+ auto result = prior.prior.prior.prior.current_promise();
5656
+ PromiseResult8* p = result.value_if_ready();
5657
+ if (grpc_trace_promise_primitives.enabled()) {
5658
+ gpr_log(
5659
+ whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG,
5660
+ "seq[%p]: poll step 9/13 gets %s", this,
5661
+ p != nullptr
5662
+ ? (PromiseResultTraits8::IsOk(*p)
5663
+ ? "ready"
5664
+ : absl::StrCat("early-error:",
5665
+ PromiseResultTraits8::ErrorString(*p))
5666
+ .c_str())
5667
+ : "pending");
5668
+ }
5669
+ if (p == nullptr) return Pending{};
5670
+ if (!PromiseResultTraits8::IsOk(*p)) {
5671
+ return PromiseResultTraits8::template ReturnValue<Result>(
5672
+ std::move(*p));
5673
+ }
5674
+ Destruct(&prior.prior.prior.prior.current_promise);
5675
+ auto next_promise = PromiseResultTraits8::CallFactory(
5676
+ &prior.prior.prior.prior.next_factory, std::move(*p));
5677
+ Destruct(&prior.prior.prior.prior.next_factory);
5678
+ Construct(&prior.prior.prior.current_promise, std::move(next_promise));
5679
+ state = State::kState9;
5680
+ }
5681
+ ABSL_FALLTHROUGH_INTENDED;
5682
+ case State::kState9: {
5683
+ if (grpc_trace_promise_primitives.enabled()) {
5684
+ gpr_log(whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG,
5685
+ "seq[%p]: begin poll step 10/13", this);
5686
+ }
5687
+ auto result = prior.prior.prior.current_promise();
5688
+ PromiseResult9* p = result.value_if_ready();
5689
+ if (grpc_trace_promise_primitives.enabled()) {
5690
+ gpr_log(
5691
+ whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG,
5692
+ "seq[%p]: poll step 10/13 gets %s", this,
5693
+ p != nullptr
5694
+ ? (PromiseResultTraits9::IsOk(*p)
5695
+ ? "ready"
5696
+ : absl::StrCat("early-error:",
5697
+ PromiseResultTraits9::ErrorString(*p))
5698
+ .c_str())
5699
+ : "pending");
5700
+ }
5701
+ if (p == nullptr) return Pending{};
5702
+ if (!PromiseResultTraits9::IsOk(*p)) {
5703
+ return PromiseResultTraits9::template ReturnValue<Result>(
5704
+ std::move(*p));
5705
+ }
5706
+ Destruct(&prior.prior.prior.current_promise);
5707
+ auto next_promise = PromiseResultTraits9::CallFactory(
5708
+ &prior.prior.prior.next_factory, std::move(*p));
5709
+ Destruct(&prior.prior.prior.next_factory);
5710
+ Construct(&prior.prior.current_promise, std::move(next_promise));
5711
+ state = State::kState10;
5712
+ }
5713
+ ABSL_FALLTHROUGH_INTENDED;
5714
+ case State::kState10: {
5715
+ if (grpc_trace_promise_primitives.enabled()) {
5716
+ gpr_log(whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG,
5717
+ "seq[%p]: begin poll step 11/13", this);
5718
+ }
5719
+ auto result = prior.prior.current_promise();
5720
+ PromiseResult10* p = result.value_if_ready();
5721
+ if (grpc_trace_promise_primitives.enabled()) {
5722
+ gpr_log(
5723
+ whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG,
5724
+ "seq[%p]: poll step 11/13 gets %s", this,
5725
+ p != nullptr
5726
+ ? (PromiseResultTraits10::IsOk(*p)
5727
+ ? "ready"
5728
+ : absl::StrCat("early-error:",
5729
+ PromiseResultTraits10::ErrorString(*p))
5730
+ .c_str())
5731
+ : "pending");
5732
+ }
5733
+ if (p == nullptr) return Pending{};
5734
+ if (!PromiseResultTraits10::IsOk(*p)) {
5735
+ return PromiseResultTraits10::template ReturnValue<Result>(
5736
+ std::move(*p));
5737
+ }
5738
+ Destruct(&prior.prior.current_promise);
5739
+ auto next_promise = PromiseResultTraits10::CallFactory(
5740
+ &prior.prior.next_factory, std::move(*p));
5741
+ Destruct(&prior.prior.next_factory);
5742
+ Construct(&prior.current_promise, std::move(next_promise));
5743
+ state = State::kState11;
5744
+ }
5745
+ ABSL_FALLTHROUGH_INTENDED;
5746
+ case State::kState11: {
5747
+ if (grpc_trace_promise_primitives.enabled()) {
5748
+ gpr_log(whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG,
5749
+ "seq[%p]: begin poll step 12/13", this);
5750
+ }
5751
+ auto result = prior.current_promise();
5752
+ PromiseResult11* p = result.value_if_ready();
5753
+ if (grpc_trace_promise_primitives.enabled()) {
5754
+ gpr_log(
5755
+ whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG,
5756
+ "seq[%p]: poll step 12/13 gets %s", this,
5757
+ p != nullptr
5758
+ ? (PromiseResultTraits11::IsOk(*p)
5759
+ ? "ready"
5760
+ : absl::StrCat("early-error:",
5761
+ PromiseResultTraits11::ErrorString(*p))
5762
+ .c_str())
5763
+ : "pending");
5764
+ }
5765
+ if (p == nullptr) return Pending{};
5766
+ if (!PromiseResultTraits11::IsOk(*p)) {
5767
+ return PromiseResultTraits11::template ReturnValue<Result>(
5768
+ std::move(*p));
5769
+ }
5770
+ Destruct(&prior.current_promise);
5771
+ auto next_promise = PromiseResultTraits11::CallFactory(
5772
+ &prior.next_factory, std::move(*p));
5773
+ Destruct(&prior.next_factory);
5774
+ Construct(&current_promise, std::move(next_promise));
5775
+ state = State::kState12;
5776
+ }
5777
+ ABSL_FALLTHROUGH_INTENDED;
5778
+ default:
5779
+ case State::kState12: {
5780
+ if (grpc_trace_promise_primitives.enabled()) {
5781
+ gpr_log(whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG,
5782
+ "seq[%p]: begin poll step 13/13", this);
5783
+ }
5784
+ auto result = current_promise();
5785
+ if (grpc_trace_promise_primitives.enabled()) {
5786
+ gpr_log(whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG,
5787
+ "seq[%p]: poll step 13/13 gets %s", this,
5788
+ result.ready() ? "ready" : "pending");
5789
+ }
2065
5790
  auto* p = result.value_if_ready();
2066
5791
  if (p == nullptr) return Pending{};
2067
5792
  return Result(std::move(*p));