grpc 1.56.0 → 1.61.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2616) hide show
  1. checksums.yaml +4 -4
  2. data/Makefile +1296 -928
  3. data/include/grpc/event_engine/event_engine.h +84 -52
  4. data/include/grpc/event_engine/internal/memory_allocator_impl.h +6 -0
  5. data/include/grpc/event_engine/internal/slice_cast.h +12 -0
  6. data/include/grpc/event_engine/memory_allocator.h +5 -3
  7. data/include/grpc/event_engine/slice.h +5 -0
  8. data/include/grpc/grpc_crl_provider.h +94 -0
  9. data/include/grpc/grpc_security.h +57 -1
  10. data/include/grpc/impl/call.h +29 -0
  11. data/include/grpc/impl/channel_arg_names.h +400 -0
  12. data/include/grpc/impl/grpc_types.h +1 -350
  13. data/include/grpc/impl/slice_type.h +1 -1
  14. data/include/grpc/module.modulemap +3 -0
  15. data/include/grpc/support/port_platform.h +103 -24
  16. data/src/core/ext/filters/backend_metrics/backend_metric_filter.cc +55 -15
  17. data/src/core/ext/filters/backend_metrics/backend_metric_filter.h +20 -6
  18. data/src/core/ext/filters/channel_idle/channel_idle_filter.cc +49 -46
  19. data/src/core/ext/filters/channel_idle/channel_idle_filter.h +18 -10
  20. data/src/core/ext/filters/channel_idle/legacy_channel_idle_filter.cc +326 -0
  21. data/src/core/ext/filters/channel_idle/legacy_channel_idle_filter.h +143 -0
  22. data/src/core/ext/filters/client_channel/backend_metric.cc +2 -2
  23. data/src/core/ext/filters/client_channel/client_channel.cc +514 -82
  24. data/src/core/ext/filters/client_channel/client_channel.h +55 -14
  25. data/src/core/ext/filters/client_channel/client_channel_internal.h +2 -0
  26. data/src/core/ext/filters/client_channel/client_channel_plugin.cc +21 -8
  27. data/src/core/ext/filters/client_channel/connector.h +2 -3
  28. data/src/core/ext/filters/client_channel/dynamic_filters.cc +0 -1
  29. data/src/core/ext/filters/client_channel/dynamic_filters.h +5 -3
  30. data/src/core/ext/filters/client_channel/global_subchannel_pool.cc +1 -1
  31. data/src/core/ext/filters/client_channel/http_proxy_mapper.cc +305 -0
  32. data/src/core/ext/filters/client_channel/http_proxy_mapper.h +53 -0
  33. data/src/core/ext/filters/client_channel/lb_policy/address_filtering.cc +60 -52
  34. data/src/core/ext/filters/client_channel/lb_policy/address_filtering.h +27 -12
  35. data/src/core/ext/filters/client_channel/lb_policy/child_policy_handler.cc +32 -40
  36. data/src/core/ext/filters/client_channel/lb_policy/endpoint_list.cc +187 -0
  37. data/src/core/ext/filters/client_channel/lb_policy/endpoint_list.h +220 -0
  38. data/src/core/ext/filters/client_channel/lb_policy/grpclb/client_load_reporting_filter.cc +0 -2
  39. data/src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb.cc +246 -231
  40. data/src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_balancer_addresses.cc +20 -19
  41. data/src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_balancer_addresses.h +4 -4
  42. data/src/core/ext/filters/client_channel/lb_policy/grpclb/load_balancer_api.cc +4 -3
  43. data/src/core/ext/filters/client_channel/lb_policy/grpclb/load_balancer_api.h +3 -1
  44. data/src/core/ext/filters/client_channel/lb_policy/health_check_client.cc +90 -25
  45. data/src/core/ext/filters/client_channel/lb_policy/health_check_client.h +3 -5
  46. data/src/core/ext/filters/client_channel/lb_policy/health_check_client_internal.h +27 -9
  47. data/src/core/ext/filters/client_channel/lb_policy/oob_backend_metric.cc +13 -6
  48. data/src/core/ext/filters/client_channel/lb_policy/oob_backend_metric_internal.h +2 -0
  49. data/src/core/ext/filters/client_channel/lb_policy/outlier_detection/outlier_detection.cc +257 -210
  50. data/src/core/ext/filters/client_channel/lb_policy/outlier_detection/outlier_detection.h +0 -21
  51. data/src/core/ext/filters/client_channel/lb_policy/pick_first/pick_first.cc +898 -213
  52. data/src/core/ext/filters/client_channel/lb_policy/pick_first/pick_first.h +36 -0
  53. data/src/core/ext/filters/client_channel/lb_policy/priority/priority.cc +19 -37
  54. data/src/core/ext/filters/client_channel/lb_policy/ring_hash/ring_hash.cc +488 -492
  55. data/src/core/ext/filters/client_channel/lb_policy/ring_hash/ring_hash.h +3 -5
  56. data/src/core/ext/filters/client_channel/lb_policy/rls/rls.cc +63 -101
  57. data/src/core/ext/filters/client_channel/lb_policy/round_robin/round_robin.cc +416 -37
  58. data/src/core/ext/filters/client_channel/lb_policy/subchannel_list.h +37 -58
  59. data/src/core/ext/filters/client_channel/lb_policy/weighted_round_robin/weighted_round_robin.cc +893 -76
  60. data/src/core/ext/filters/client_channel/lb_policy/weighted_target/weighted_target.cc +25 -51
  61. data/src/core/ext/filters/client_channel/lb_policy/xds/cds.cc +507 -523
  62. data/src/core/ext/filters/client_channel/lb_policy/xds/xds_channel_args.h +8 -0
  63. data/src/core/ext/filters/client_channel/lb_policy/xds/xds_cluster_impl.cc +255 -185
  64. data/src/core/ext/filters/client_channel/lb_policy/xds/xds_cluster_manager.cc +16 -58
  65. data/src/core/ext/filters/client_channel/lb_policy/xds/xds_override_host.cc +807 -308
  66. data/src/core/ext/filters/client_channel/lb_policy/xds/xds_override_host.h +2 -6
  67. data/src/core/ext/filters/client_channel/lb_policy/xds/xds_wrr_locality.cc +18 -81
  68. data/src/core/ext/filters/client_channel/resolver/binder/binder_resolver.cc +5 -6
  69. data/src/core/ext/filters/client_channel/resolver/dns/c_ares/dns_resolver_ares.cc +12 -15
  70. data/src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_ev_driver_posix.cc +102 -11
  71. data/src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_ev_driver_windows.cc +105 -175
  72. data/src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper.cc +46 -33
  73. data/src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper.h +11 -7
  74. data/src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper_windows.cc +1 -1
  75. data/src/core/ext/filters/client_channel/resolver/dns/dns_resolver_plugin.cc +6 -0
  76. data/src/core/ext/filters/client_channel/resolver/dns/event_engine/event_engine_client_channel_resolver.cc +112 -73
  77. data/src/core/ext/filters/client_channel/resolver/dns/native/dns_resolver.cc +3 -4
  78. data/src/core/ext/filters/client_channel/resolver/fake/fake_resolver.cc +76 -189
  79. data/src/core/ext/filters/client_channel/resolver/fake/fake_resolver.h +46 -27
  80. data/src/core/ext/filters/client_channel/resolver/google_c2p/google_c2p_resolver.cc +2 -2
  81. data/src/core/ext/filters/client_channel/resolver/polling_resolver.cc +17 -13
  82. data/src/core/ext/filters/client_channel/resolver/polling_resolver.h +1 -0
  83. data/src/core/ext/filters/client_channel/resolver/sockaddr/sockaddr_resolver.cc +31 -19
  84. data/src/core/ext/filters/client_channel/resolver/xds/xds_dependency_manager.cc +1031 -0
  85. data/src/core/ext/filters/client_channel/resolver/xds/xds_dependency_manager.h +277 -0
  86. data/src/core/ext/filters/client_channel/resolver/xds/xds_resolver.cc +474 -560
  87. data/src/core/ext/filters/client_channel/resolver/xds/xds_resolver_attributes.h +62 -0
  88. data/src/core/ext/filters/client_channel/resolver/xds/xds_resolver_trace.cc +25 -0
  89. data/src/core/ext/filters/client_channel/resolver/xds/xds_resolver_trace.h +30 -0
  90. data/src/core/ext/filters/client_channel/retry_filter.cc +40 -2499
  91. data/src/core/ext/filters/client_channel/retry_filter.h +92 -1
  92. data/src/core/ext/filters/client_channel/retry_filter_legacy_call_data.cc +2051 -0
  93. data/src/core/ext/filters/client_channel/retry_filter_legacy_call_data.h +442 -0
  94. data/src/core/ext/filters/client_channel/retry_service_config.cc +1 -1
  95. data/src/core/ext/filters/client_channel/service_config_channel_arg_filter.cc +62 -70
  96. data/src/core/ext/filters/client_channel/subchannel.cc +47 -9
  97. data/src/core/ext/filters/client_channel/subchannel.h +20 -5
  98. data/src/core/ext/filters/client_channel/subchannel_interface_internal.h +3 -0
  99. data/src/core/ext/filters/client_channel/subchannel_stream_client.cc +0 -1
  100. data/src/core/ext/filters/deadline/deadline_filter.cc +21 -24
  101. data/src/core/ext/filters/deadline/deadline_filter.h +0 -4
  102. data/src/core/ext/filters/fault_injection/fault_injection_filter.cc +18 -13
  103. data/src/core/ext/filters/fault_injection/fault_injection_filter.h +13 -4
  104. data/src/core/ext/filters/http/client/http_client_filter.cc +30 -39
  105. data/src/core/ext/filters/http/client/http_client_filter.h +10 -5
  106. data/src/core/ext/filters/http/client_authority_filter.cc +23 -25
  107. data/src/core/ext/filters/http/client_authority_filter.h +12 -4
  108. data/src/core/ext/filters/http/http_filters_plugin.cc +58 -38
  109. data/src/core/ext/filters/http/message_compress/compression_filter.cc +56 -84
  110. data/src/core/ext/filters/http/message_compress/compression_filter.h +54 -12
  111. data/src/core/ext/filters/http/message_compress/legacy_compression_filter.cc +325 -0
  112. data/src/core/ext/filters/http/message_compress/legacy_compression_filter.h +139 -0
  113. data/src/core/ext/filters/http/server/http_server_filter.cc +55 -53
  114. data/src/core/ext/filters/http/server/http_server_filter.h +11 -4
  115. data/src/core/ext/filters/message_size/message_size_filter.cc +79 -108
  116. data/src/core/ext/filters/message_size/message_size_filter.h +35 -23
  117. data/src/core/ext/filters/rbac/rbac_filter.cc +46 -113
  118. data/src/core/ext/filters/rbac/rbac_filter.h +18 -29
  119. data/src/core/ext/filters/rbac/rbac_service_config_parser.cc +4 -7
  120. data/src/core/ext/filters/server_config_selector/server_config_selector_filter.cc +26 -13
  121. data/src/core/ext/filters/stateful_session/stateful_session_filter.cc +179 -108
  122. data/src/core/ext/filters/stateful_session/stateful_session_filter.h +42 -14
  123. data/src/core/ext/gcp/metadata_query.cc +0 -1
  124. data/src/core/ext/transport/chttp2/alpn/alpn.cc +1 -1
  125. data/src/core/ext/transport/chttp2/client/chttp2_connector.cc +5 -7
  126. data/src/core/ext/transport/chttp2/server/chttp2_server.cc +36 -36
  127. data/src/core/ext/transport/chttp2/transport/chttp2_transport.cc +1118 -1059
  128. data/src/core/ext/transport/chttp2/transport/chttp2_transport.h +47 -4
  129. data/src/core/ext/transport/chttp2/transport/context_list_entry.h +12 -2
  130. data/src/core/ext/transport/chttp2/transport/decode_huff.cc +6569 -174
  131. data/src/core/ext/transport/chttp2/transport/decode_huff.h +2278 -441
  132. data/src/core/ext/transport/chttp2/transport/flow_control.cc +56 -88
  133. data/src/core/ext/transport/chttp2/transport/flow_control.h +85 -12
  134. data/src/core/ext/transport/chttp2/transport/frame.cc +506 -0
  135. data/src/core/ext/transport/chttp2/transport/frame.h +193 -22
  136. data/src/core/ext/transport/chttp2/transport/frame_data.cc +4 -3
  137. data/src/core/ext/transport/chttp2/transport/frame_data.h +1 -1
  138. data/src/core/ext/transport/chttp2/transport/frame_goaway.cc +0 -2
  139. data/src/core/ext/transport/chttp2/transport/frame_goaway.h +1 -1
  140. data/src/core/ext/transport/chttp2/transport/frame_ping.cc +23 -20
  141. data/src/core/ext/transport/chttp2/transport/frame_ping.h +1 -1
  142. data/src/core/ext/transport/chttp2/transport/frame_rst_stream.cc +10 -3
  143. data/src/core/ext/transport/chttp2/transport/frame_rst_stream.h +1 -1
  144. data/src/core/ext/transport/chttp2/transport/frame_settings.cc +34 -82
  145. data/src/core/ext/transport/chttp2/transport/frame_settings.h +5 -8
  146. data/src/core/ext/transport/chttp2/transport/frame_window_update.cc +1 -3
  147. data/src/core/ext/transport/chttp2/transport/frame_window_update.h +1 -1
  148. data/src/core/ext/transport/chttp2/transport/hpack_encoder.cc +16 -22
  149. data/src/core/ext/transport/chttp2/transport/hpack_encoder.h +7 -3
  150. data/src/core/ext/transport/chttp2/transport/hpack_encoder_table.h +3 -4
  151. data/src/core/ext/transport/chttp2/transport/hpack_parse_result.cc +184 -0
  152. data/src/core/ext/transport/chttp2/transport/hpack_parse_result.h +351 -0
  153. data/src/core/ext/transport/chttp2/transport/hpack_parser.cc +640 -547
  154. data/src/core/ext/transport/chttp2/transport/hpack_parser.h +160 -12
  155. data/src/core/ext/transport/chttp2/transport/hpack_parser_table.cc +47 -33
  156. data/src/core/ext/transport/chttp2/transport/hpack_parser_table.h +19 -5
  157. data/src/core/ext/transport/chttp2/transport/http2_settings.cc +122 -32
  158. data/src/core/ext/transport/chttp2/transport/http2_settings.h +142 -37
  159. data/src/core/ext/transport/chttp2/transport/internal.h +227 -165
  160. data/src/core/ext/transport/chttp2/transport/legacy_frame.h +43 -0
  161. data/src/core/ext/transport/chttp2/transport/max_concurrent_streams_policy.cc +44 -0
  162. data/src/core/ext/transport/chttp2/transport/max_concurrent_streams_policy.h +67 -0
  163. data/src/core/ext/transport/chttp2/transport/parsing.cc +168 -60
  164. data/src/core/ext/transport/chttp2/transport/ping_abuse_policy.cc +90 -0
  165. data/src/core/ext/transport/chttp2/transport/ping_abuse_policy.h +59 -0
  166. data/src/core/ext/transport/chttp2/transport/ping_callbacks.cc +108 -0
  167. data/src/core/ext/transport/chttp2/transport/ping_callbacks.h +115 -0
  168. data/src/core/ext/transport/chttp2/transport/ping_rate_policy.cc +120 -0
  169. data/src/core/ext/transport/chttp2/transport/ping_rate_policy.h +88 -0
  170. data/src/core/ext/transport/chttp2/transport/stream_lists.cc +1 -1
  171. data/src/core/ext/transport/chttp2/transport/write_size_policy.cc +60 -0
  172. data/src/core/ext/transport/chttp2/transport/write_size_policy.h +66 -0
  173. data/src/core/ext/transport/chttp2/transport/writing.cc +226 -178
  174. data/src/core/ext/transport/inproc/inproc_transport.cc +163 -1229
  175. data/src/core/ext/transport/inproc/inproc_transport.h +0 -4
  176. data/src/core/ext/transport/inproc/legacy_inproc_transport.cc +1303 -0
  177. data/src/core/ext/transport/inproc/legacy_inproc_transport.h +30 -0
  178. data/src/core/ext/upb-gen/envoy/admin/v3/certs.upb.h +725 -0
  179. data/src/core/ext/upb-gen/envoy/admin/v3/certs.upb_minitable.c +149 -0
  180. data/src/core/ext/upb-gen/envoy/admin/v3/certs.upb_minitable.h +34 -0
  181. data/src/core/ext/upb-gen/envoy/admin/v3/clusters.upb.h +827 -0
  182. data/src/core/ext/upb-gen/envoy/admin/v3/clusters.upb_minitable.c +180 -0
  183. data/src/core/ext/upb-gen/envoy/admin/v3/clusters.upb_minitable.h +33 -0
  184. data/src/core/ext/upb-gen/envoy/admin/v3/config_dump.upb.h +733 -0
  185. data/src/core/ext/upb-gen/envoy/admin/v3/config_dump.upb_minitable.c +157 -0
  186. data/src/core/ext/upb-gen/envoy/admin/v3/config_dump.upb_minitable.h +34 -0
  187. data/src/core/ext/upb-gen/envoy/admin/v3/config_dump_shared.upb.h +2772 -0
  188. data/src/core/ext/upb-gen/envoy/admin/v3/config_dump_shared.upb_minitable.c +532 -0
  189. data/src/core/ext/upb-gen/envoy/admin/v3/config_dump_shared.upb_minitable.h +48 -0
  190. data/src/core/ext/upb-gen/envoy/admin/v3/init_dump.upb.h +248 -0
  191. data/src/core/ext/upb-gen/envoy/admin/v3/init_dump.upb_minitable.c +66 -0
  192. data/src/core/ext/upb-gen/envoy/admin/v3/init_dump.upb_minitable.h +31 -0
  193. data/src/core/ext/upb-gen/envoy/admin/v3/listeners.upb.h +280 -0
  194. data/src/core/ext/upb-gen/envoy/admin/v3/listeners.upb_minitable.c +74 -0
  195. data/src/core/ext/upb-gen/envoy/admin/v3/listeners.upb_minitable.h +31 -0
  196. data/src/core/ext/upb-gen/envoy/admin/v3/memory.upb.h +162 -0
  197. data/src/core/ext/upb-gen/envoy/admin/v3/memory.upb_minitable.c +56 -0
  198. data/src/core/ext/upb-gen/envoy/admin/v3/memory.upb_minitable.h +30 -0
  199. data/src/core/ext/upb-gen/envoy/admin/v3/metrics.upb.h +122 -0
  200. data/src/core/ext/upb-gen/envoy/admin/v3/metrics.upb_minitable.c +49 -0
  201. data/src/core/ext/upb-gen/envoy/admin/v3/metrics.upb_minitable.h +30 -0
  202. data/src/core/ext/upb-gen/envoy/admin/v3/mutex_stats.upb.h +117 -0
  203. data/src/core/ext/upb-gen/envoy/admin/v3/mutex_stats.upb_minitable.c +49 -0
  204. data/src/core/ext/upb-gen/envoy/admin/v3/mutex_stats.upb_minitable.h +30 -0
  205. data/src/core/ext/upb-gen/envoy/admin/v3/server_info.upb.h +928 -0
  206. data/src/core/ext/upb-gen/envoy/admin/v3/server_info.upb_minitable.c +150 -0
  207. data/src/core/ext/upb-gen/envoy/admin/v3/server_info.upb_minitable.h +31 -0
  208. data/src/core/ext/upb-gen/envoy/admin/v3/tap.upb.h +117 -0
  209. data/src/core/ext/upb-gen/envoy/admin/v3/tap.upb_minitable.c +54 -0
  210. data/src/core/ext/upb-gen/envoy/admin/v3/tap.upb_minitable.h +30 -0
  211. data/src/core/ext/upb-gen/envoy/annotations/deprecation.upb.h +122 -0
  212. data/src/core/ext/upb-gen/envoy/annotations/deprecation.upb_minitable.c +58 -0
  213. data/src/core/ext/upb-gen/envoy/annotations/deprecation.upb_minitable.h +33 -0
  214. data/src/core/ext/upb-gen/envoy/annotations/resource.upb.h +109 -0
  215. data/src/core/ext/upb-gen/envoy/annotations/resource.upb_minitable.c +55 -0
  216. data/src/core/ext/upb-gen/envoy/annotations/resource.upb_minitable.h +31 -0
  217. data/src/core/ext/upb-gen/envoy/config/accesslog/v3/accesslog.upb.h +1753 -0
  218. data/src/core/ext/upb-gen/envoy/config/accesslog/v3/accesslog.upb_minitable.c +375 -0
  219. data/src/core/ext/upb-gen/envoy/config/accesslog/v3/accesslog.upb_minitable.h +45 -0
  220. data/src/core/ext/upb-gen/envoy/config/bootstrap/v3/bootstrap.upb.h +3420 -0
  221. data/src/core/ext/upb-gen/envoy/config/bootstrap/v3/bootstrap.upb_minitable.c +612 -0
  222. data/src/core/ext/upb-gen/envoy/config/bootstrap/v3/bootstrap.upb_minitable.h +49 -0
  223. data/src/core/ext/upb-gen/envoy/config/cluster/v3/circuit_breaker.upb.h +526 -0
  224. data/src/core/ext/upb-gen/envoy/config/cluster/v3/circuit_breaker.upb_minitable.c +125 -0
  225. data/src/core/ext/upb-gen/envoy/config/cluster/v3/circuit_breaker.upb_minitable.h +32 -0
  226. data/src/core/ext/upb-gen/envoy/config/cluster/v3/cluster.upb.h +3890 -0
  227. data/src/core/ext/upb-gen/envoy/config/cluster/v3/cluster.upb_minitable.c +729 -0
  228. data/src/core/ext/upb-gen/envoy/config/cluster/v3/cluster.upb_minitable.h +53 -0
  229. data/src/core/ext/upb-gen/envoy/config/cluster/v3/filter.upb.h +117 -0
  230. data/src/core/ext/upb-gen/envoy/config/cluster/v3/filter.upb_minitable.c +54 -0
  231. data/src/core/ext/upb-gen/envoy/config/cluster/v3/filter.upb_minitable.h +30 -0
  232. data/src/core/ext/upb-gen/envoy/config/cluster/v3/outlier_detection.upb.h +659 -0
  233. data/src/core/ext/upb-gen/envoy/config/cluster/v3/outlier_detection.upb_minitable.c +123 -0
  234. data/src/core/ext/upb-gen/envoy/config/cluster/v3/outlier_detection.upb_minitable.h +30 -0
  235. data/src/core/ext/upb-gen/envoy/config/common/matcher/v3/matcher.upb.h +1830 -0
  236. data/src/core/ext/upb-gen/envoy/config/common/matcher/v3/matcher.upb_minitable.c +395 -0
  237. data/src/core/ext/upb-gen/envoy/config/common/matcher/v3/matcher.upb_minitable.h +44 -0
  238. data/src/core/ext/upb-gen/envoy/config/core/v3/address.upb.h +1041 -0
  239. data/src/core/ext/upb-gen/envoy/config/core/v3/address.upb_minitable.c +224 -0
  240. data/src/core/ext/upb-gen/envoy/config/core/v3/address.upb_minitable.h +37 -0
  241. data/src/core/ext/upb-gen/envoy/config/core/v3/backoff.upb.h +129 -0
  242. data/src/core/ext/upb-gen/envoy/config/core/v3/backoff.upb_minitable.c +55 -0
  243. data/src/core/ext/upb-gen/envoy/config/core/v3/backoff.upb_minitable.h +30 -0
  244. data/src/core/ext/upb-gen/envoy/config/core/v3/base.upb.h +2420 -0
  245. data/src/core/ext/upb-gen/envoy/config/core/v3/base.upb_minitable.c +577 -0
  246. data/src/core/ext/upb-gen/envoy/config/core/v3/base.upb_minitable.h +53 -0
  247. data/src/core/ext/upb-gen/envoy/config/core/v3/config_source.upb.h +1130 -0
  248. data/src/core/ext/upb-gen/envoy/config/core/v3/config_source.upb_minitable.c +225 -0
  249. data/src/core/ext/upb-gen/envoy/config/core/v3/config_source.upb_minitable.h +36 -0
  250. data/src/core/ext/upb-gen/envoy/config/core/v3/event_service_config.upb.h +110 -0
  251. data/src/core/ext/upb-gen/envoy/config/core/v3/event_service_config.upb_minitable.c +51 -0
  252. data/src/core/ext/upb-gen/envoy/config/core/v3/event_service_config.upb_minitable.h +30 -0
  253. data/src/core/ext/upb-gen/envoy/config/core/v3/extension.upb.h +116 -0
  254. data/src/core/ext/upb-gen/envoy/config/core/v3/extension.upb_minitable.c +53 -0
  255. data/src/core/ext/upb-gen/envoy/config/core/v3/extension.upb_minitable.h +30 -0
  256. data/src/core/ext/upb-gen/envoy/config/core/v3/grpc_method_list.upb.h +250 -0
  257. data/src/core/ext/upb-gen/envoy/config/core/v3/grpc_method_list.upb_minitable.c +68 -0
  258. data/src/core/ext/upb-gen/envoy/config/core/v3/grpc_method_list.upb_minitable.h +31 -0
  259. data/src/core/ext/upb-gen/envoy/config/core/v3/grpc_service.upb.h +1688 -0
  260. data/src/core/ext/upb-gen/envoy/config/core/v3/grpc_service.upb_minitable.c +378 -0
  261. data/src/core/ext/upb-gen/envoy/config/core/v3/grpc_service.upb_minitable.h +43 -0
  262. data/src/core/ext/upb-gen/envoy/config/core/v3/health_check.upb.h +1938 -0
  263. data/src/core/ext/upb-gen/envoy/config/core/v3/health_check.upb_minitable.c +315 -0
  264. data/src/core/ext/upb-gen/envoy/config/core/v3/health_check.upb_minitable.h +38 -0
  265. data/src/core/ext/upb-gen/envoy/config/core/v3/http_uri.upb.h +144 -0
  266. data/src/core/ext/upb-gen/envoy/config/core/v3/http_uri.upb_minitable.c +55 -0
  267. data/src/core/ext/upb-gen/envoy/config/core/v3/http_uri.upb_minitable.h +30 -0
  268. data/src/core/ext/upb-gen/envoy/config/core/v3/protocol.upb.h +2245 -0
  269. data/src/core/ext/upb-gen/envoy/config/core/v3/protocol.upb_minitable.c +481 -0
  270. data/src/core/ext/upb-gen/envoy/config/core/v3/protocol.upb_minitable.h +45 -0
  271. data/src/core/ext/upb-gen/envoy/config/core/v3/proxy_protocol.upb.h +238 -0
  272. data/src/core/ext/upb-gen/envoy/config/core/v3/proxy_protocol.upb_minitable.c +70 -0
  273. data/src/core/ext/upb-gen/envoy/config/core/v3/proxy_protocol.upb_minitable.h +31 -0
  274. data/src/core/ext/upb-gen/envoy/config/core/v3/resolver.upb.h +232 -0
  275. data/src/core/ext/upb-gen/envoy/config/core/v3/resolver.upb_minitable.c +72 -0
  276. data/src/core/ext/upb-gen/envoy/config/core/v3/resolver.upb_minitable.h +31 -0
  277. data/src/core/ext/upb-gen/envoy/config/core/v3/socket_option.upb.h +287 -0
  278. data/src/core/ext/upb-gen/envoy/config/core/v3/socket_option.upb_minitable.c +76 -0
  279. data/src/core/ext/upb-gen/envoy/config/core/v3/socket_option.upb_minitable.h +31 -0
  280. data/src/core/ext/upb-gen/envoy/config/core/v3/substitution_format_string.upb.h +255 -0
  281. data/src/core/ext/upb-gen/envoy/config/core/v3/substitution_format_string.upb_minitable.c +66 -0
  282. data/src/core/ext/upb-gen/envoy/config/core/v3/substitution_format_string.upb_minitable.h +30 -0
  283. data/src/core/ext/upb-gen/envoy/config/core/v3/udp_socket_config.upb.h +129 -0
  284. data/src/core/ext/upb-gen/envoy/config/core/v3/udp_socket_config.upb_minitable.c +54 -0
  285. data/src/core/ext/upb-gen/envoy/config/core/v3/udp_socket_config.upb_minitable.h +30 -0
  286. data/src/core/ext/upb-gen/envoy/config/endpoint/v3/endpoint.upb.h +489 -0
  287. data/src/core/ext/upb-gen/envoy/config/endpoint/v3/endpoint.upb_minitable.c +138 -0
  288. data/src/core/ext/upb-gen/envoy/config/endpoint/v3/endpoint.upb_minitable.h +33 -0
  289. data/src/core/ext/upb-gen/envoy/config/endpoint/v3/endpoint_components.upb.h +993 -0
  290. data/src/core/ext/upb-gen/envoy/config/endpoint/v3/endpoint_components.upb_minitable.c +229 -0
  291. data/src/core/ext/upb-gen/envoy/config/endpoint/v3/endpoint_components.upb_minitable.h +36 -0
  292. data/src/core/ext/upb-gen/envoy/config/endpoint/v3/load_report.upb.h +911 -0
  293. data/src/core/ext/upb-gen/envoy/config/endpoint/v3/load_report.upb_minitable.c +179 -0
  294. data/src/core/ext/upb-gen/envoy/config/endpoint/v3/load_report.upb_minitable.h +34 -0
  295. data/src/core/ext/upb-gen/envoy/config/listener/v3/api_listener.upb.h +101 -0
  296. data/src/core/ext/upb-gen/envoy/config/listener/v3/api_listener.upb_minitable.c +50 -0
  297. data/src/core/ext/upb-gen/envoy/config/listener/v3/api_listener.upb_minitable.h +30 -0
  298. data/src/core/ext/upb-gen/envoy/config/listener/v3/listener.upb.h +1613 -0
  299. data/src/core/ext/upb-gen/envoy/config/listener/v3/listener.upb_minitable.c +268 -0
  300. data/src/core/ext/upb-gen/envoy/config/listener/v3/listener.upb_minitable.h +39 -0
  301. data/src/core/ext/upb-gen/envoy/config/listener/v3/listener_components.upb.h +1447 -0
  302. data/src/core/ext/upb-gen/envoy/config/listener/v3/listener_components.upb_minitable.c +260 -0
  303. data/src/core/ext/upb-gen/envoy/config/listener/v3/listener_components.upb_minitable.h +36 -0
  304. data/src/core/ext/upb-gen/envoy/config/listener/v3/quic_config.upb.h +327 -0
  305. data/src/core/ext/upb-gen/envoy/config/listener/v3/quic_config.upb_minitable.c +86 -0
  306. data/src/core/ext/upb-gen/envoy/config/listener/v3/quic_config.upb_minitable.h +30 -0
  307. data/src/core/ext/upb-gen/envoy/config/listener/v3/udp_listener_config.upb.h +197 -0
  308. data/src/core/ext/upb-gen/envoy/config/listener/v3/udp_listener_config.upb_minitable.c +77 -0
  309. data/src/core/ext/upb-gen/envoy/config/listener/v3/udp_listener_config.upb_minitable.h +31 -0
  310. data/src/core/ext/upb-gen/envoy/config/metrics/v3/metrics_service.upb.h +183 -0
  311. data/src/core/ext/upb-gen/envoy/config/metrics/v3/metrics_service.upb_minitable.c +64 -0
  312. data/src/core/ext/upb-gen/envoy/config/metrics/v3/metrics_service.upb_minitable.h +30 -0
  313. data/src/core/ext/upb-gen/envoy/config/metrics/v3/stats.upb.h +974 -0
  314. data/src/core/ext/upb-gen/envoy/config/metrics/v3/stats.upb_minitable.c +219 -0
  315. data/src/core/ext/upb-gen/envoy/config/metrics/v3/stats.upb_minitable.h +37 -0
  316. data/src/core/ext/upb-gen/envoy/config/overload/v3/overload.upb.h +1183 -0
  317. data/src/core/ext/upb-gen/envoy/config/overload/v3/overload.upb_minitable.c +250 -0
  318. data/src/core/ext/upb-gen/envoy/config/overload/v3/overload.upb_minitable.h +39 -0
  319. data/src/core/ext/upb-gen/envoy/config/rbac/v3/rbac.upb.h +1704 -0
  320. data/src/core/ext/upb-gen/envoy/config/rbac/v3/rbac.upb_minitable.c +348 -0
  321. data/src/core/ext/upb-gen/envoy/config/rbac/v3/rbac.upb_minitable.h +40 -0
  322. data/src/core/ext/upb-gen/envoy/config/route/v3/route.upb.h +857 -0
  323. data/src/core/ext/upb-gen/envoy/config/route/v3/route.upb_minitable.c +133 -0
  324. data/src/core/ext/upb-gen/envoy/config/route/v3/route.upb_minitable.h +32 -0
  325. data/src/core/ext/upb-gen/envoy/config/route/v3/route_components.upb.h +9666 -0
  326. data/src/core/ext/upb-gen/envoy/config/route/v3/route_components.upb_minitable.c +1667 -0
  327. data/src/core/ext/upb-gen/envoy/config/route/v3/route_components.upb_minitable.h +87 -0
  328. data/src/core/ext/upb-gen/envoy/config/route/v3/scoped_route.upb.h +341 -0
  329. data/src/core/ext/upb-gen/envoy/config/route/v3/scoped_route.upb_minitable.c +97 -0
  330. data/src/core/ext/upb-gen/envoy/config/route/v3/scoped_route.upb_minitable.h +32 -0
  331. data/src/core/ext/upb-gen/envoy/config/tap/v3/common.upb.h +1515 -0
  332. data/src/core/ext/upb-gen/envoy/config/tap/v3/common.upb_minitable.c +325 -0
  333. data/src/core/ext/upb-gen/envoy/config/tap/v3/common.upb_minitable.h +41 -0
  334. data/src/core/ext/upb-gen/envoy/config/trace/v3/datadog.upb.h +119 -0
  335. data/src/core/ext/upb-gen/envoy/config/trace/v3/datadog.upb_minitable.c +51 -0
  336. data/src/core/ext/upb-gen/envoy/config/trace/v3/datadog.upb_minitable.h +30 -0
  337. data/src/core/ext/upb-gen/envoy/config/trace/v3/dynamic_ot.upb.h +118 -0
  338. data/src/core/ext/upb-gen/envoy/config/trace/v3/dynamic_ot.upb_minitable.c +55 -0
  339. data/src/core/ext/upb-gen/envoy/config/trace/v3/dynamic_ot.upb_minitable.h +30 -0
  340. data/src/core/ext/upb-gen/envoy/config/trace/v3/http_tracer.upb.h +190 -0
  341. data/src/core/ext/upb-gen/envoy/config/trace/v3/http_tracer.upb_minitable.c +73 -0
  342. data/src/core/ext/upb-gen/envoy/config/trace/v3/http_tracer.upb_minitable.h +31 -0
  343. data/src/core/ext/upb-gen/envoy/config/trace/v3/lightstep.upb.h +202 -0
  344. data/src/core/ext/upb-gen/envoy/config/trace/v3/lightstep.upb_minitable.c +62 -0
  345. data/src/core/ext/upb-gen/envoy/config/trace/v3/lightstep.upb_minitable.h +30 -0
  346. data/src/core/ext/upb-gen/envoy/config/trace/v3/opencensus.upb.h +409 -0
  347. data/src/core/ext/upb-gen/envoy/config/trace/v3/opencensus.upb_minitable.c +81 -0
  348. data/src/core/ext/upb-gen/envoy/config/trace/v3/opencensus.upb_minitable.h +30 -0
  349. data/src/core/ext/upb-gen/envoy/config/trace/v3/opentelemetry.upb.h +115 -0
  350. data/src/core/ext/upb-gen/envoy/config/trace/v3/opentelemetry.upb_minitable.c +52 -0
  351. data/src/core/ext/upb-gen/envoy/config/trace/v3/opentelemetry.upb_minitable.h +30 -0
  352. data/src/core/ext/upb-gen/envoy/config/trace/v3/service.upb.h +102 -0
  353. data/src/core/ext/upb-gen/envoy/config/trace/v3/service.upb_minitable.c +51 -0
  354. data/src/core/ext/upb-gen/envoy/config/trace/v3/service.upb_minitable.h +30 -0
  355. data/src/core/ext/upb-gen/envoy/config/trace/v3/skywalking.upb.h +254 -0
  356. data/src/core/ext/upb-gen/envoy/config/trace/v3/skywalking.upb_minitable.c +85 -0
  357. data/src/core/ext/upb-gen/envoy/config/trace/v3/skywalking.upb_minitable.h +31 -0
  358. data/src/core/ext/upb-gen/envoy/config/trace/v3/trace.upb.h +49 -0
  359. data/src/core/ext/upb-gen/envoy/config/trace/v3/trace.upb_minitable.c +33 -0
  360. data/src/core/ext/upb-gen/envoy/config/trace/v3/trace.upb_minitable.h +39 -0
  361. data/src/core/ext/upb-gen/envoy/config/trace/v3/xray.upb.h +256 -0
  362. data/src/core/ext/upb-gen/envoy/config/trace/v3/xray.upb_minitable.c +87 -0
  363. data/src/core/ext/upb-gen/envoy/config/trace/v3/xray.upb_minitable.h +31 -0
  364. data/src/core/ext/upb-gen/envoy/config/trace/v3/zipkin.upb.h +201 -0
  365. data/src/core/ext/upb-gen/envoy/config/trace/v3/zipkin.upb_minitable.c +65 -0
  366. data/src/core/ext/upb-gen/envoy/config/trace/v3/zipkin.upb_minitable.h +30 -0
  367. data/src/core/ext/upb-gen/envoy/data/accesslog/v3/accesslog.upb.h +2691 -0
  368. data/src/core/ext/upb-gen/envoy/data/accesslog/v3/accesslog.upb_minitable.c +555 -0
  369. data/src/core/ext/upb-gen/envoy/data/accesslog/v3/accesslog.upb_minitable.h +45 -0
  370. data/src/core/ext/upb-gen/envoy/extensions/clusters/aggregate/v3/cluster.upb.h +134 -0
  371. data/src/core/ext/upb-gen/envoy/extensions/clusters/aggregate/v3/cluster.upb_minitable.c +46 -0
  372. data/src/core/ext/upb-gen/envoy/extensions/clusters/aggregate/v3/cluster.upb_minitable.h +30 -0
  373. data/src/core/ext/upb-gen/envoy/extensions/filters/common/fault/v3/fault.upb.h +428 -0
  374. data/src/core/ext/upb-gen/envoy/extensions/filters/common/fault/v3/fault.upb_minitable.c +116 -0
  375. data/src/core/ext/upb-gen/envoy/extensions/filters/common/fault/v3/fault.upb_minitable.h +34 -0
  376. data/src/core/ext/upb-gen/envoy/extensions/filters/http/fault/v3/fault.upb.h +656 -0
  377. data/src/core/ext/upb-gen/envoy/extensions/filters/http/fault/v3/fault.upb_minitable.c +141 -0
  378. data/src/core/ext/upb-gen/envoy/extensions/filters/http/fault/v3/fault.upb_minitable.h +32 -0
  379. data/src/core/ext/upb-gen/envoy/extensions/filters/http/rbac/v3/rbac.upb.h +266 -0
  380. data/src/core/ext/upb-gen/envoy/extensions/filters/http/rbac/v3/rbac.upb_minitable.c +87 -0
  381. data/src/core/ext/upb-gen/envoy/extensions/filters/http/rbac/v3/rbac.upb_minitable.h +31 -0
  382. data/src/core/ext/upb-gen/envoy/extensions/filters/http/router/v3/router.upb.h +462 -0
  383. data/src/core/ext/upb-gen/envoy/extensions/filters/http/router/v3/router.upb_minitable.c +101 -0
  384. data/src/core/ext/upb-gen/envoy/extensions/filters/http/router/v3/router.upb_minitable.h +31 -0
  385. data/src/core/ext/upb-gen/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upb.h +194 -0
  386. data/src/core/ext/upb-gen/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upb_minitable.c +72 -0
  387. data/src/core/ext/upb-gen/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upb_minitable.h +31 -0
  388. data/src/core/ext/upb-gen/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upb.h +3943 -0
  389. data/src/core/ext/upb-gen/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upb_minitable.c +679 -0
  390. data/src/core/ext/upb-gen/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upb_minitable.h +50 -0
  391. data/src/core/ext/upb-gen/envoy/extensions/http/stateful_session/cookie/v3/cookie.upb.h +101 -0
  392. data/src/core/ext/upb-gen/envoy/extensions/http/stateful_session/cookie/v3/cookie.upb_minitable.c +50 -0
  393. data/src/core/ext/upb-gen/envoy/extensions/http/stateful_session/cookie/v3/cookie.upb_minitable.h +30 -0
  394. 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
  395. 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
  396. 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
  397. data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/common/v3/common.upb.h +488 -0
  398. data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/common/v3/common.upb_minitable.c +135 -0
  399. data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/common/v3/common.upb_minitable.h +34 -0
  400. data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/pick_first/v3/pick_first.upb.h +86 -0
  401. data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/pick_first/v3/pick_first.upb_minitable.c +44 -0
  402. data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/pick_first/v3/pick_first.upb_minitable.h +30 -0
  403. data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/ring_hash/v3/ring_hash.upb.h +250 -0
  404. data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/ring_hash/v3/ring_hash.upb_minitable.c +68 -0
  405. data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/ring_hash/v3/ring_hash.upb_minitable.h +30 -0
  406. data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/wrr_locality/v3/wrr_locality.upb.h +101 -0
  407. data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/wrr_locality/v3/wrr_locality.upb_minitable.c +50 -0
  408. data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/wrr_locality/v3/wrr_locality.upb_minitable.h +30 -0
  409. data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/cert.upb.h +39 -0
  410. data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/cert.upb_minitable.c +28 -0
  411. data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/cert.upb_minitable.h +34 -0
  412. data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/common.upb.h +1469 -0
  413. data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/common.upb_minitable.c +262 -0
  414. data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/common.upb_minitable.h +36 -0
  415. data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/secret.upb.h +361 -0
  416. data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/secret.upb_minitable.c +108 -0
  417. data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/secret.upb_minitable.h +32 -0
  418. data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/tls.upb.h +1467 -0
  419. data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/tls.upb_minitable.c +267 -0
  420. data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/tls.upb_minitable.h +36 -0
  421. data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upb.h +217 -0
  422. data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upb_minitable.c +72 -0
  423. data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upb_minitable.h +31 -0
  424. data/src/core/ext/upb-gen/envoy/extensions/upstreams/http/v3/http_protocol_options.upb.h +712 -0
  425. data/src/core/ext/upb-gen/envoy/extensions/upstreams/http/v3/http_protocol_options.upb_minitable.c +151 -0
  426. data/src/core/ext/upb-gen/envoy/extensions/upstreams/http/v3/http_protocol_options.upb_minitable.h +33 -0
  427. data/src/core/ext/upb-gen/envoy/service/discovery/v3/ads.upb.h +73 -0
  428. data/src/core/ext/upb-gen/envoy/service/discovery/v3/ads.upb_minitable.c +38 -0
  429. data/src/core/ext/upb-gen/envoy/service/discovery/v3/ads.upb_minitable.h +30 -0
  430. data/src/core/ext/upb-gen/envoy/service/discovery/v3/discovery.upb.h +2141 -0
  431. data/src/core/ext/upb-gen/envoy/service/discovery/v3/discovery.upb_minitable.c +402 -0
  432. data/src/core/ext/upb-gen/envoy/service/discovery/v3/discovery.upb_minitable.h +43 -0
  433. data/src/core/ext/upb-gen/envoy/service/load_stats/v3/lrs.upb.h +324 -0
  434. data/src/core/ext/upb-gen/envoy/service/load_stats/v3/lrs.upb_minitable.c +84 -0
  435. data/src/core/ext/upb-gen/envoy/service/load_stats/v3/lrs.upb_minitable.h +31 -0
  436. data/src/core/ext/upb-gen/envoy/service/status/v3/csds.upb.h +925 -0
  437. data/src/core/ext/upb-gen/envoy/service/status/v3/csds.upb_minitable.c +183 -0
  438. data/src/core/ext/upb-gen/envoy/service/status/v3/csds.upb_minitable.h +34 -0
  439. data/src/core/ext/upb-gen/envoy/type/http/v3/cookie.upb.h +131 -0
  440. data/src/core/ext/upb-gen/envoy/type/http/v3/cookie.upb_minitable.c +54 -0
  441. data/src/core/ext/upb-gen/envoy/type/http/v3/cookie.upb_minitable.h +30 -0
  442. data/src/core/ext/upb-gen/envoy/type/http/v3/path_transformation.upb.h +312 -0
  443. data/src/core/ext/upb-gen/envoy/type/http/v3/path_transformation.upb_minitable.c +86 -0
  444. data/src/core/ext/upb-gen/envoy/type/http/v3/path_transformation.upb_minitable.h +33 -0
  445. data/src/core/ext/upb-gen/envoy/type/matcher/v3/filter_state.upb.h +124 -0
  446. data/src/core/ext/upb-gen/envoy/type/matcher/v3/filter_state.upb_minitable.c +53 -0
  447. data/src/core/ext/upb-gen/envoy/type/matcher/v3/filter_state.upb_minitable.h +30 -0
  448. data/src/core/ext/upb-gen/envoy/type/matcher/v3/http_inputs.upb.h +299 -0
  449. data/src/core/ext/upb-gen/envoy/type/matcher/v3/http_inputs.upb_minitable.c +105 -0
  450. data/src/core/ext/upb-gen/envoy/type/matcher/v3/http_inputs.upb_minitable.h +34 -0
  451. data/src/core/ext/upb-gen/envoy/type/matcher/v3/metadata.upb.h +260 -0
  452. data/src/core/ext/upb-gen/envoy/type/matcher/v3/metadata.upb_minitable.c +76 -0
  453. data/src/core/ext/upb-gen/envoy/type/matcher/v3/metadata.upb_minitable.h +31 -0
  454. data/src/core/ext/upb-gen/envoy/type/matcher/v3/node.upb.h +166 -0
  455. data/src/core/ext/upb-gen/envoy/type/matcher/v3/node.upb_minitable.c +55 -0
  456. data/src/core/ext/upb-gen/envoy/type/matcher/v3/node.upb_minitable.h +30 -0
  457. data/src/core/ext/upb-gen/envoy/type/matcher/v3/number.upb.h +130 -0
  458. data/src/core/ext/upb-gen/envoy/type/matcher/v3/number.upb_minitable.c +54 -0
  459. data/src/core/ext/upb-gen/envoy/type/matcher/v3/number.upb_minitable.h +30 -0
  460. data/src/core/ext/upb-gen/envoy/type/matcher/v3/path.upb.h +110 -0
  461. data/src/core/ext/upb-gen/envoy/type/matcher/v3/path.upb_minitable.c +51 -0
  462. data/src/core/ext/upb-gen/envoy/type/matcher/v3/path.upb_minitable.h +30 -0
  463. data/src/core/ext/upb-gen/envoy/type/matcher/v3/regex.upb.h +271 -0
  464. data/src/core/ext/upb-gen/envoy/type/matcher/v3/regex.upb_minitable.c +96 -0
  465. data/src/core/ext/upb-gen/envoy/type/matcher/v3/regex.upb_minitable.h +32 -0
  466. data/src/core/ext/upb-gen/envoy/type/matcher/v3/status_code_input.upb.h +109 -0
  467. data/src/core/ext/upb-gen/envoy/type/matcher/v3/status_code_input.upb_minitable.c +43 -0
  468. data/src/core/ext/upb-gen/envoy/type/matcher/v3/status_code_input.upb_minitable.h +31 -0
  469. data/src/core/ext/upb-gen/envoy/type/matcher/v3/string.upb.h +306 -0
  470. data/src/core/ext/upb-gen/envoy/type/matcher/v3/string.upb_minitable.c +81 -0
  471. data/src/core/ext/upb-gen/envoy/type/matcher/v3/string.upb_minitable.h +31 -0
  472. data/src/core/ext/upb-gen/envoy/type/matcher/v3/struct.upb.h +230 -0
  473. data/src/core/ext/upb-gen/envoy/type/matcher/v3/struct.upb_minitable.c +70 -0
  474. data/src/core/ext/upb-gen/envoy/type/matcher/v3/struct.upb_minitable.h +31 -0
  475. data/src/core/ext/upb-gen/envoy/type/matcher/v3/value.upb.h +347 -0
  476. data/src/core/ext/upb-gen/envoy/type/matcher/v3/value.upb_minitable.c +92 -0
  477. data/src/core/ext/upb-gen/envoy/type/matcher/v3/value.upb_minitable.h +32 -0
  478. data/src/core/ext/upb-gen/envoy/type/metadata/v3/metadata.upb.h +525 -0
  479. data/src/core/ext/upb-gen/envoy/type/metadata/v3/metadata.upb_minitable.c +127 -0
  480. data/src/core/ext/upb-gen/envoy/type/metadata/v3/metadata.upb_minitable.h +36 -0
  481. data/src/core/ext/upb-gen/envoy/type/tracing/v3/custom_tag.upb.h +506 -0
  482. data/src/core/ext/upb-gen/envoy/type/tracing/v3/custom_tag.upb_minitable.c +139 -0
  483. data/src/core/ext/upb-gen/envoy/type/tracing/v3/custom_tag.upb_minitable.h +34 -0
  484. data/src/core/ext/upb-gen/envoy/type/v3/hash_policy.upb.h +227 -0
  485. data/src/core/ext/upb-gen/envoy/type/v3/hash_policy.upb_minitable.c +76 -0
  486. data/src/core/ext/upb-gen/envoy/type/v3/hash_policy.upb_minitable.h +32 -0
  487. data/src/core/ext/upb-gen/envoy/type/v3/http.upb.h +38 -0
  488. data/src/core/ext/upb-gen/envoy/type/v3/http.upb_minitable.c +26 -0
  489. data/src/core/ext/upb-gen/envoy/type/v3/http.upb_minitable.h +29 -0
  490. data/src/core/ext/upb-gen/envoy/type/v3/http_status.upb.h +148 -0
  491. data/src/core/ext/upb-gen/envoy/type/v3/http_status.upb_minitable.c +46 -0
  492. data/src/core/ext/upb-gen/envoy/type/v3/http_status.upb_minitable.h +30 -0
  493. data/src/core/ext/upb-gen/envoy/type/v3/percent.upb.h +162 -0
  494. data/src/core/ext/upb-gen/envoy/type/v3/percent.upb_minitable.c +64 -0
  495. data/src/core/ext/upb-gen/envoy/type/v3/percent.upb_minitable.h +31 -0
  496. data/src/core/ext/upb-gen/envoy/type/v3/range.upb.h +238 -0
  497. data/src/core/ext/upb-gen/envoy/type/v3/range.upb_minitable.c +84 -0
  498. data/src/core/ext/upb-gen/envoy/type/v3/range.upb_minitable.h +32 -0
  499. data/src/core/ext/upb-gen/envoy/type/v3/ratelimit_strategy.upb.h +232 -0
  500. data/src/core/ext/upb-gen/envoy/type/v3/ratelimit_strategy.upb_minitable.c +75 -0
  501. data/src/core/ext/upb-gen/envoy/type/v3/ratelimit_strategy.upb_minitable.h +31 -0
  502. data/src/core/ext/upb-gen/envoy/type/v3/ratelimit_unit.upb.h +42 -0
  503. data/src/core/ext/upb-gen/envoy/type/v3/ratelimit_unit.upb_minitable.c +26 -0
  504. data/src/core/ext/upb-gen/envoy/type/v3/ratelimit_unit.upb_minitable.h +29 -0
  505. data/src/core/ext/upb-gen/envoy/type/v3/semantic_version.upb.h +117 -0
  506. data/src/core/ext/upb-gen/envoy/type/v3/semantic_version.upb_minitable.c +49 -0
  507. data/src/core/ext/upb-gen/envoy/type/v3/semantic_version.upb_minitable.h +30 -0
  508. data/src/core/ext/upb-gen/envoy/type/v3/token_bucket.upb.h +146 -0
  509. data/src/core/ext/upb-gen/envoy/type/v3/token_bucket.upb_minitable.c +57 -0
  510. data/src/core/ext/upb-gen/envoy/type/v3/token_bucket.upb_minitable.h +30 -0
  511. data/src/core/ext/upb-gen/google/api/annotations.upb.h +56 -0
  512. data/src/core/ext/upb-gen/google/api/annotations.upb_minitable.c +38 -0
  513. data/src/core/ext/upb-gen/google/api/annotations.upb_minitable.h +30 -0
  514. data/src/core/ext/upb-gen/google/api/expr/v1alpha1/checked.upb.h +1743 -0
  515. data/src/core/ext/upb-gen/google/api/expr/v1alpha1/checked.upb_minitable.c +369 -0
  516. data/src/core/ext/upb-gen/google/api/expr/v1alpha1/checked.upb_minitable.h +42 -0
  517. data/src/core/ext/upb-gen/google/api/expr/v1alpha1/syntax.upb.h +1829 -0
  518. data/src/core/ext/upb-gen/google/api/expr/v1alpha1/syntax.upb_minitable.c +399 -0
  519. data/src/core/ext/upb-gen/google/api/expr/v1alpha1/syntax.upb_minitable.h +43 -0
  520. data/src/core/ext/upb-gen/google/api/http.upb.h +496 -0
  521. data/src/core/ext/upb-gen/google/api/http.upb_minitable.c +111 -0
  522. data/src/core/ext/upb-gen/google/api/http.upb_minitable.h +32 -0
  523. data/src/core/ext/upb-gen/google/api/httpbody.upb.h +165 -0
  524. data/src/core/ext/upb-gen/google/api/httpbody.upb_minitable.c +52 -0
  525. data/src/core/ext/upb-gen/google/api/httpbody.upb_minitable.h +30 -0
  526. data/src/core/ext/upb-gen/google/protobuf/any.upb.h +99 -0
  527. data/src/core/ext/upb-gen/google/protobuf/any.upb_minitable.c +46 -0
  528. data/src/core/ext/upb-gen/google/protobuf/any.upb_minitable.h +30 -0
  529. data/src/core/ext/upb-gen/google/protobuf/descriptor.upb.h +6397 -0
  530. data/src/core/ext/upb-gen/google/protobuf/descriptor.upb_minitable.c +1357 -0
  531. data/src/core/ext/upb-gen/google/protobuf/descriptor.upb_minitable.h +78 -0
  532. data/src/core/ext/upb-gen/google/protobuf/duration.upb.h +99 -0
  533. data/src/core/ext/upb-gen/google/protobuf/duration.upb_minitable.c +46 -0
  534. data/src/core/ext/upb-gen/google/protobuf/duration.upb_minitable.h +30 -0
  535. data/src/core/ext/upb-gen/google/protobuf/empty.upb.h +69 -0
  536. data/src/core/ext/upb-gen/google/protobuf/empty.upb_minitable.c +35 -0
  537. data/src/core/ext/upb-gen/google/protobuf/empty.upb_minitable.h +30 -0
  538. data/src/core/ext/upb-gen/google/protobuf/struct.upb.h +422 -0
  539. data/src/core/ext/upb-gen/google/protobuf/struct.upb_minitable.c +115 -0
  540. data/src/core/ext/upb-gen/google/protobuf/struct.upb_minitable.h +33 -0
  541. data/src/core/ext/upb-gen/google/protobuf/timestamp.upb.h +99 -0
  542. data/src/core/ext/upb-gen/google/protobuf/timestamp.upb_minitable.c +46 -0
  543. data/src/core/ext/upb-gen/google/protobuf/timestamp.upb_minitable.h +30 -0
  544. data/src/core/ext/upb-gen/google/protobuf/wrappers.upb.h +508 -0
  545. data/src/core/ext/upb-gen/google/protobuf/wrappers.upb_minitable.c +163 -0
  546. data/src/core/ext/upb-gen/google/protobuf/wrappers.upb_minitable.h +38 -0
  547. data/src/core/ext/upb-gen/google/rpc/status.upb.h +165 -0
  548. data/src/core/ext/upb-gen/google/rpc/status.upb_minitable.c +52 -0
  549. data/src/core/ext/upb-gen/google/rpc/status.upb_minitable.h +30 -0
  550. data/src/core/ext/upb-gen/opencensus/proto/trace/v1/trace_config.upb.h +385 -0
  551. data/src/core/ext/upb-gen/opencensus/proto/trace/v1/trace_config.upb_minitable.c +106 -0
  552. data/src/core/ext/upb-gen/opencensus/proto/trace/v1/trace_config.upb_minitable.h +33 -0
  553. data/src/core/ext/upb-gen/src/proto/grpc/gcp/altscontext.upb.h +237 -0
  554. data/src/core/ext/upb-gen/src/proto/grpc/gcp/altscontext.upb_minitable.c +79 -0
  555. data/src/core/ext/upb-gen/src/proto/grpc/gcp/altscontext.upb_minitable.h +31 -0
  556. data/src/core/ext/upb-gen/src/proto/grpc/gcp/handshaker.upb.h +1658 -0
  557. data/src/core/ext/upb-gen/src/proto/grpc/gcp/handshaker.upb_minitable.c +342 -0
  558. data/src/core/ext/upb-gen/src/proto/grpc/gcp/handshaker.upb_minitable.h +41 -0
  559. data/src/core/ext/upb-gen/src/proto/grpc/gcp/transport_security_common.upb.h +197 -0
  560. data/src/core/ext/upb-gen/src/proto/grpc/gcp/transport_security_common.upb_minitable.c +69 -0
  561. data/src/core/ext/upb-gen/src/proto/grpc/gcp/transport_security_common.upb_minitable.h +31 -0
  562. data/src/core/ext/upb-gen/src/proto/grpc/health/v1/health.upb.h +144 -0
  563. data/src/core/ext/upb-gen/src/proto/grpc/health/v1/health.upb_minitable.c +58 -0
  564. data/src/core/ext/upb-gen/src/proto/grpc/health/v1/health.upb_minitable.h +31 -0
  565. data/src/core/ext/upb-gen/src/proto/grpc/lb/v1/load_balancer.upb.h +877 -0
  566. data/src/core/ext/upb-gen/src/proto/grpc/lb/v1/load_balancer.upb_minitable.c +221 -0
  567. data/src/core/ext/upb-gen/src/proto/grpc/lb/v1/load_balancer.upb_minitable.h +38 -0
  568. data/src/core/ext/upb-gen/src/proto/grpc/lookup/v1/rls.upb.h +297 -0
  569. data/src/core/ext/upb-gen/src/proto/grpc/lookup/v1/rls.upb_minitable.c +92 -0
  570. data/src/core/ext/upb-gen/src/proto/grpc/lookup/v1/rls.upb_minitable.h +32 -0
  571. data/src/core/ext/upb-gen/src/proto/grpc/lookup/v1/rls_config.upb.h +1333 -0
  572. data/src/core/ext/upb-gen/src/proto/grpc/lookup/v1/rls_config.upb_minitable.c +243 -0
  573. data/src/core/ext/upb-gen/src/proto/grpc/lookup/v1/rls_config.upb_minitable.h +38 -0
  574. data/src/core/ext/upb-gen/udpa/annotations/migrate.upb.h +322 -0
  575. data/src/core/ext/upb-gen/udpa/annotations/migrate.upb_minitable.c +118 -0
  576. data/src/core/ext/upb-gen/udpa/annotations/migrate.upb_minitable.h +37 -0
  577. data/src/core/ext/upb-gen/udpa/annotations/security.upb.h +125 -0
  578. data/src/core/ext/upb-gen/udpa/annotations/security.upb_minitable.c +59 -0
  579. data/src/core/ext/upb-gen/udpa/annotations/security.upb_minitable.h +31 -0
  580. data/src/core/ext/upb-gen/udpa/annotations/sensitive.upb.h +55 -0
  581. data/src/core/ext/upb-gen/udpa/annotations/sensitive.upb_minitable.c +37 -0
  582. data/src/core/ext/upb-gen/udpa/annotations/sensitive.upb_minitable.h +30 -0
  583. data/src/core/ext/upb-gen/udpa/annotations/status.upb.h +131 -0
  584. data/src/core/ext/upb-gen/udpa/annotations/status.upb_minitable.c +58 -0
  585. data/src/core/ext/upb-gen/udpa/annotations/status.upb_minitable.h +31 -0
  586. data/src/core/ext/upb-gen/udpa/annotations/versioning.upb.h +109 -0
  587. data/src/core/ext/upb-gen/udpa/annotations/versioning.upb_minitable.c +55 -0
  588. data/src/core/ext/upb-gen/udpa/annotations/versioning.upb_minitable.h +31 -0
  589. data/src/core/ext/upb-gen/validate/validate.upb.h +6507 -0
  590. data/src/core/ext/upb-gen/validate/validate.upb_minitable.c +943 -0
  591. data/src/core/ext/upb-gen/validate/validate.upb_minitable.h +57 -0
  592. data/src/core/ext/upb-gen/xds/annotations/v3/migrate.upb.h +322 -0
  593. data/src/core/ext/upb-gen/xds/annotations/v3/migrate.upb_minitable.c +118 -0
  594. data/src/core/ext/upb-gen/xds/annotations/v3/migrate.upb_minitable.h +37 -0
  595. data/src/core/ext/upb-gen/xds/annotations/v3/security.upb.h +125 -0
  596. data/src/core/ext/upb-gen/xds/annotations/v3/security.upb_minitable.c +59 -0
  597. data/src/core/ext/upb-gen/xds/annotations/v3/security.upb_minitable.h +31 -0
  598. data/src/core/ext/upb-gen/xds/annotations/v3/sensitive.upb.h +55 -0
  599. data/src/core/ext/upb-gen/xds/annotations/v3/sensitive.upb_minitable.c +37 -0
  600. data/src/core/ext/upb-gen/xds/annotations/v3/sensitive.upb_minitable.h +30 -0
  601. data/src/core/ext/upb-gen/xds/annotations/v3/status.upb.h +336 -0
  602. data/src/core/ext/upb-gen/xds/annotations/v3/status.upb_minitable.c +117 -0
  603. data/src/core/ext/upb-gen/xds/annotations/v3/status.upb_minitable.h +36 -0
  604. data/src/core/ext/upb-gen/xds/annotations/v3/versioning.upb.h +109 -0
  605. data/src/core/ext/upb-gen/xds/annotations/v3/versioning.upb_minitable.c +55 -0
  606. data/src/core/ext/upb-gen/xds/annotations/v3/versioning.upb_minitable.h +31 -0
  607. data/src/core/ext/upb-gen/xds/core/v3/authority.upb.h +87 -0
  608. data/src/core/ext/upb-gen/xds/core/v3/authority.upb_minitable.c +45 -0
  609. data/src/core/ext/upb-gen/xds/core/v3/authority.upb_minitable.h +30 -0
  610. data/src/core/ext/upb-gen/xds/core/v3/cidr.upb.h +116 -0
  611. data/src/core/ext/upb-gen/xds/core/v3/cidr.upb_minitable.c +53 -0
  612. data/src/core/ext/upb-gen/xds/core/v3/cidr.upb_minitable.h +30 -0
  613. data/src/core/ext/upb-gen/xds/core/v3/collection_entry.upb.h +234 -0
  614. data/src/core/ext/upb-gen/xds/core/v3/collection_entry.upb_minitable.c +78 -0
  615. data/src/core/ext/upb-gen/xds/core/v3/collection_entry.upb_minitable.h +31 -0
  616. data/src/core/ext/upb-gen/xds/core/v3/context_params.upb.h +134 -0
  617. data/src/core/ext/upb-gen/xds/core/v3/context_params.upb_minitable.c +62 -0
  618. data/src/core/ext/upb-gen/xds/core/v3/context_params.upb_minitable.h +31 -0
  619. data/src/core/ext/upb-gen/xds/core/v3/extension.upb.h +115 -0
  620. data/src/core/ext/upb-gen/xds/core/v3/extension.upb_minitable.c +52 -0
  621. data/src/core/ext/upb-gen/xds/core/v3/extension.upb_minitable.h +30 -0
  622. data/src/core/ext/upb-gen/xds/core/v3/resource.upb.h +144 -0
  623. data/src/core/ext/upb-gen/xds/core/v3/resource.upb_minitable.c +55 -0
  624. data/src/core/ext/upb-gen/xds/core/v3/resource.upb_minitable.h +30 -0
  625. data/src/core/ext/upb-gen/xds/core/v3/resource_locator.upb.h +331 -0
  626. data/src/core/ext/upb-gen/xds/core/v3/resource_locator.upb_minitable.c +84 -0
  627. data/src/core/ext/upb-gen/xds/core/v3/resource_locator.upb_minitable.h +31 -0
  628. data/src/core/ext/upb-gen/xds/core/v3/resource_name.upb.h +146 -0
  629. data/src/core/ext/upb-gen/xds/core/v3/resource_name.upb_minitable.c +59 -0
  630. data/src/core/ext/upb-gen/xds/core/v3/resource_name.upb_minitable.h +30 -0
  631. data/src/core/ext/upb-gen/xds/data/orca/v3/orca_load_report.upb.h +350 -0
  632. data/src/core/ext/upb-gen/xds/data/orca/v3/orca_load_report.upb_minitable.c +126 -0
  633. data/src/core/ext/upb-gen/xds/data/orca/v3/orca_load_report.upb_minitable.h +33 -0
  634. data/src/core/ext/upb-gen/xds/service/orca/v3/orca.upb.h +161 -0
  635. data/src/core/ext/upb-gen/xds/service/orca/v3/orca.upb_minitable.c +52 -0
  636. data/src/core/ext/upb-gen/xds/service/orca/v3/orca.upb_minitable.h +30 -0
  637. data/src/core/ext/upb-gen/xds/type/matcher/v3/cel.upb.h +101 -0
  638. data/src/core/ext/upb-gen/xds/type/matcher/v3/cel.upb_minitable.c +50 -0
  639. data/src/core/ext/upb-gen/xds/type/matcher/v3/cel.upb_minitable.h +30 -0
  640. data/src/core/ext/upb-gen/xds/type/matcher/v3/domain.upb.h +263 -0
  641. data/src/core/ext/upb-gen/xds/type/matcher/v3/domain.upb_minitable.c +72 -0
  642. data/src/core/ext/upb-gen/xds/type/matcher/v3/domain.upb_minitable.h +31 -0
  643. data/src/core/ext/upb-gen/xds/type/matcher/v3/http_inputs.upb.h +71 -0
  644. data/src/core/ext/upb-gen/xds/type/matcher/v3/http_inputs.upb_minitable.c +36 -0
  645. data/src/core/ext/upb-gen/xds/type/matcher/v3/http_inputs.upb_minitable.h +30 -0
  646. data/src/core/ext/upb-gen/xds/type/matcher/v3/ip.upb.h +282 -0
  647. data/src/core/ext/upb-gen/xds/type/matcher/v3/ip.upb_minitable.c +75 -0
  648. data/src/core/ext/upb-gen/xds/type/matcher/v3/ip.upb_minitable.h +31 -0
  649. data/src/core/ext/upb-gen/xds/type/matcher/v3/matcher.upb.h +1107 -0
  650. data/src/core/ext/upb-gen/xds/type/matcher/v3/matcher.upb_minitable.c +265 -0
  651. data/src/core/ext/upb-gen/xds/type/matcher/v3/matcher.upb_minitable.h +39 -0
  652. data/src/core/ext/upb-gen/xds/type/matcher/v3/range.upb.h +726 -0
  653. data/src/core/ext/upb-gen/xds/type/matcher/v3/range.upb_minitable.c +157 -0
  654. data/src/core/ext/upb-gen/xds/type/matcher/v3/range.upb_minitable.h +35 -0
  655. data/src/core/ext/upb-gen/xds/type/matcher/v3/regex.upb.h +159 -0
  656. data/src/core/ext/upb-gen/xds/type/matcher/v3/regex.upb_minitable.c +58 -0
  657. data/src/core/ext/upb-gen/xds/type/matcher/v3/regex.upb_minitable.h +31 -0
  658. data/src/core/ext/upb-gen/xds/type/matcher/v3/string.upb.h +304 -0
  659. data/src/core/ext/upb-gen/xds/type/matcher/v3/string.upb_minitable.c +79 -0
  660. data/src/core/ext/upb-gen/xds/type/matcher/v3/string.upb_minitable.h +31 -0
  661. data/src/core/ext/upb-gen/xds/type/v3/cel.upb.h +233 -0
  662. data/src/core/ext/upb-gen/xds/type/v3/cel.upb_minitable.c +79 -0
  663. data/src/core/ext/upb-gen/xds/type/v3/cel.upb_minitable.h +31 -0
  664. data/src/core/ext/upb-gen/xds/type/v3/range.upb.h +235 -0
  665. data/src/core/ext/upb-gen/xds/type/v3/range.upb_minitable.c +82 -0
  666. data/src/core/ext/upb-gen/xds/type/v3/range.upb_minitable.h +32 -0
  667. data/src/core/ext/upb-gen/xds/type/v3/typed_struct.upb.h +114 -0
  668. data/src/core/ext/upb-gen/xds/type/v3/typed_struct.upb_minitable.c +51 -0
  669. data/src/core/ext/upb-gen/xds/type/v3/typed_struct.upb_minitable.h +30 -0
  670. data/src/core/ext/upbdefs-gen/envoy/admin/v3/certs.upbdefs.c +83 -0
  671. data/src/core/ext/upbdefs-gen/envoy/admin/v3/certs.upbdefs.h +55 -0
  672. data/src/core/ext/upbdefs-gen/envoy/admin/v3/clusters.upbdefs.c +127 -0
  673. data/src/core/ext/upbdefs-gen/envoy/admin/v3/clusters.upbdefs.h +50 -0
  674. data/src/core/ext/upbdefs-gen/envoy/admin/v3/config_dump.upbdefs.c +101 -0
  675. data/src/core/ext/upbdefs-gen/envoy/admin/v3/config_dump.upbdefs.h +55 -0
  676. data/src/core/ext/upbdefs-gen/envoy/admin/v3/config_dump_shared.upbdefs.c +276 -0
  677. data/src/core/ext/upbdefs-gen/envoy/admin/v3/config_dump_shared.upbdefs.h +125 -0
  678. data/src/core/ext/upbdefs-gen/envoy/admin/v3/init_dump.upbdefs.c +42 -0
  679. data/src/core/ext/upbdefs-gen/envoy/admin/v3/init_dump.upbdefs.h +40 -0
  680. data/src/core/ext/upbdefs-gen/envoy/admin/v3/listeners.upbdefs.c +55 -0
  681. data/src/core/ext/upbdefs-gen/envoy/admin/v3/listeners.upbdefs.h +40 -0
  682. data/src/core/ext/upbdefs-gen/envoy/admin/v3/memory.upbdefs.c +48 -0
  683. data/src/core/ext/upbdefs-gen/envoy/admin/v3/memory.upbdefs.h +35 -0
  684. data/src/core/ext/upbdefs-gen/envoy/admin/v3/metrics.upbdefs.c +45 -0
  685. data/src/core/ext/upbdefs-gen/envoy/admin/v3/metrics.upbdefs.h +35 -0
  686. data/src/core/ext/upbdefs-gen/envoy/admin/v3/mutex_stats.upbdefs.c +45 -0
  687. data/src/core/ext/upbdefs-gen/envoy/admin/v3/mutex_stats.upbdefs.h +35 -0
  688. data/src/core/ext/upbdefs-gen/envoy/admin/v3/server_info.upbdefs.c +141 -0
  689. data/src/core/ext/upbdefs-gen/envoy/admin/v3/server_info.upbdefs.h +40 -0
  690. data/src/core/ext/upbdefs-gen/envoy/admin/v3/tap.upbdefs.c +50 -0
  691. data/src/core/ext/upbdefs-gen/envoy/admin/v3/tap.upbdefs.h +35 -0
  692. data/src/core/ext/upbdefs-gen/envoy/annotations/deprecation.upbdefs.c +47 -0
  693. data/src/core/ext/upbdefs-gen/envoy/annotations/deprecation.upbdefs.h +30 -0
  694. data/src/core/ext/upbdefs-gen/envoy/annotations/resource.upbdefs.c +37 -0
  695. data/src/core/ext/upbdefs-gen/envoy/annotations/resource.upbdefs.h +35 -0
  696. data/src/core/ext/upbdefs-gen/envoy/config/accesslog/v3/accesslog.upbdefs.c +233 -0
  697. data/src/core/ext/upbdefs-gen/envoy/config/accesslog/v3/accesslog.upbdefs.h +110 -0
  698. data/src/core/ext/upbdefs-gen/envoy/config/bootstrap/v3/bootstrap.upbdefs.c +422 -0
  699. data/src/core/ext/upbdefs-gen/envoy/config/bootstrap/v3/bootstrap.upbdefs.h +130 -0
  700. data/src/core/ext/upbdefs-gen/envoy/config/cluster/v3/circuit_breaker.upbdefs.c +97 -0
  701. data/src/core/ext/upbdefs-gen/envoy/config/cluster/v3/circuit_breaker.upbdefs.h +45 -0
  702. data/src/core/ext/upbdefs-gen/envoy/config/cluster/v3/cluster.upbdefs.c +566 -0
  703. data/src/core/ext/upbdefs-gen/envoy/config/cluster/v3/cluster.upbdefs.h +150 -0
  704. data/src/core/ext/upbdefs-gen/envoy/config/cluster/v3/filter.upbdefs.c +50 -0
  705. data/src/core/ext/upbdefs-gen/envoy/config/cluster/v3/filter.upbdefs.h +35 -0
  706. data/src/core/ext/upbdefs-gen/envoy/config/cluster/v3/outlier_detection.upbdefs.c +137 -0
  707. data/src/core/ext/upbdefs-gen/envoy/config/cluster/v3/outlier_detection.upbdefs.h +35 -0
  708. data/src/core/ext/upbdefs-gen/envoy/config/common/matcher/v3/matcher.upbdefs.c +205 -0
  709. data/src/core/ext/upbdefs-gen/envoy/config/common/matcher/v3/matcher.upbdefs.h +105 -0
  710. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/address.upbdefs.c +131 -0
  711. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/address.upbdefs.h +70 -0
  712. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/backoff.upbdefs.c +53 -0
  713. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/backoff.upbdefs.h +35 -0
  714. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/base.upbdefs.c +270 -0
  715. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/base.upbdefs.h +150 -0
  716. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/config_source.upbdefs.c +167 -0
  717. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/config_source.upbdefs.h +65 -0
  718. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/event_service_config.upbdefs.c +52 -0
  719. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/event_service_config.upbdefs.h +35 -0
  720. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/extension.upbdefs.c +46 -0
  721. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/extension.upbdefs.h +35 -0
  722. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/grpc_method_list.upbdefs.c +52 -0
  723. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/grpc_method_list.upbdefs.h +40 -0
  724. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/grpc_service.upbdefs.c +236 -0
  725. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/grpc_service.upbdefs.h +100 -0
  726. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/health_check.upbdefs.c +244 -0
  727. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/health_check.upbdefs.h +75 -0
  728. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/http_uri.upbdefs.c +52 -0
  729. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/http_uri.upbdefs.h +35 -0
  730. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/protocol.upbdefs.c +310 -0
  731. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/protocol.upbdefs.h +110 -0
  732. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/proxy_protocol.upbdefs.c +56 -0
  733. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/proxy_protocol.upbdefs.h +40 -0
  734. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/resolver.upbdefs.c +54 -0
  735. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/resolver.upbdefs.h +40 -0
  736. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/socket_option.upbdefs.c +60 -0
  737. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/socket_option.upbdefs.h +40 -0
  738. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/substitution_format_string.upbdefs.c +69 -0
  739. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/substitution_format_string.upbdefs.h +35 -0
  740. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/udp_socket_config.upbdefs.c +48 -0
  741. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/udp_socket_config.upbdefs.h +35 -0
  742. data/src/core/ext/upbdefs-gen/envoy/config/endpoint/v3/endpoint.upbdefs.c +98 -0
  743. data/src/core/ext/upbdefs-gen/envoy/config/endpoint/v3/endpoint.upbdefs.h +50 -0
  744. data/src/core/ext/upbdefs-gen/envoy/config/endpoint/v3/endpoint_components.upbdefs.c +139 -0
  745. data/src/core/ext/upbdefs-gen/envoy/config/endpoint/v3/endpoint_components.upbdefs.h +65 -0
  746. data/src/core/ext/upbdefs-gen/envoy/config/endpoint/v3/load_report.upbdefs.c +135 -0
  747. data/src/core/ext/upbdefs-gen/envoy/config/endpoint/v3/load_report.upbdefs.h +55 -0
  748. data/src/core/ext/upbdefs-gen/envoy/config/listener/v3/api_listener.upbdefs.c +47 -0
  749. data/src/core/ext/upbdefs-gen/envoy/config/listener/v3/api_listener.upbdefs.h +35 -0
  750. data/src/core/ext/upbdefs-gen/envoy/config/listener/v3/listener.upbdefs.c +231 -0
  751. data/src/core/ext/upbdefs-gen/envoy/config/listener/v3/listener.upbdefs.h +80 -0
  752. data/src/core/ext/upbdefs-gen/envoy/config/listener/v3/listener_components.upbdefs.c +189 -0
  753. data/src/core/ext/upbdefs-gen/envoy/config/listener/v3/listener_components.upbdefs.h +65 -0
  754. data/src/core/ext/upbdefs-gen/envoy/config/listener/v3/quic_config.upbdefs.c +100 -0
  755. data/src/core/ext/upbdefs-gen/envoy/config/listener/v3/quic_config.upbdefs.h +35 -0
  756. data/src/core/ext/upbdefs-gen/envoy/config/listener/v3/udp_listener_config.upbdefs.c +70 -0
  757. data/src/core/ext/upbdefs-gen/envoy/config/listener/v3/udp_listener_config.upbdefs.h +40 -0
  758. data/src/core/ext/upbdefs-gen/envoy/config/metrics/v3/metrics_service.upbdefs.c +75 -0
  759. data/src/core/ext/upbdefs-gen/envoy/config/metrics/v3/metrics_service.upbdefs.h +35 -0
  760. data/src/core/ext/upbdefs-gen/envoy/config/metrics/v3/stats.upbdefs.c +124 -0
  761. data/src/core/ext/upbdefs-gen/envoy/config/metrics/v3/stats.upbdefs.h +70 -0
  762. data/src/core/ext/upbdefs-gen/envoy/config/overload/v3/overload.upbdefs.c +141 -0
  763. data/src/core/ext/upbdefs-gen/envoy/config/overload/v3/overload.upbdefs.h +80 -0
  764. data/src/core/ext/upbdefs-gen/envoy/config/rbac/v3/rbac.upbdefs.c +222 -0
  765. data/src/core/ext/upbdefs-gen/envoy/config/rbac/v3/rbac.upbdefs.h +85 -0
  766. data/src/core/ext/upbdefs-gen/envoy/config/route/v3/route.upbdefs.c +122 -0
  767. data/src/core/ext/upbdefs-gen/envoy/config/route/v3/route.upbdefs.h +45 -0
  768. data/src/core/ext/upbdefs-gen/envoy/config/route/v3/route_components.upbdefs.c +979 -0
  769. data/src/core/ext/upbdefs-gen/envoy/config/route/v3/route_components.upbdefs.h +320 -0
  770. data/src/core/ext/upbdefs-gen/envoy/config/route/v3/scoped_route.upbdefs.c +76 -0
  771. data/src/core/ext/upbdefs-gen/envoy/config/route/v3/scoped_route.upbdefs.h +45 -0
  772. data/src/core/ext/upbdefs-gen/envoy/config/tap/v3/common.upbdefs.c +198 -0
  773. data/src/core/ext/upbdefs-gen/envoy/config/tap/v3/common.upbdefs.h +90 -0
  774. data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/datadog.upbdefs.c +55 -0
  775. data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/datadog.upbdefs.h +35 -0
  776. data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/dynamic_ot.upbdefs.c +56 -0
  777. data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/dynamic_ot.upbdefs.h +35 -0
  778. data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/http_tracer.upbdefs.c +56 -0
  779. data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/http_tracer.upbdefs.h +40 -0
  780. data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/lightstep.upbdefs.c +71 -0
  781. data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/lightstep.upbdefs.h +35 -0
  782. data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/opencensus.upbdefs.c +98 -0
  783. data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/opencensus.upbdefs.h +35 -0
  784. data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/opentelemetry.upbdefs.c +44 -0
  785. data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/opentelemetry.upbdefs.h +35 -0
  786. data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/service.upbdefs.c +51 -0
  787. data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/service.upbdefs.h +35 -0
  788. data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/skywalking.upbdefs.c +70 -0
  789. data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/skywalking.upbdefs.h +40 -0
  790. data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/trace.upbdefs.c +60 -0
  791. data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/trace.upbdefs.h +30 -0
  792. data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/xray.upbdefs.c +74 -0
  793. data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/xray.upbdefs.h +40 -0
  794. data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/zipkin.upbdefs.c +78 -0
  795. data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/zipkin.upbdefs.h +35 -0
  796. data/src/core/ext/upbdefs-gen/envoy/data/accesslog/v3/accesslog.upbdefs.c +401 -0
  797. data/src/core/ext/upbdefs-gen/envoy/data/accesslog/v3/accesslog.upbdefs.h +110 -0
  798. data/src/core/ext/upbdefs-gen/envoy/extensions/clusters/aggregate/v3/cluster.upbdefs.c +49 -0
  799. data/src/core/ext/upbdefs-gen/envoy/extensions/clusters/aggregate/v3/cluster.upbdefs.h +35 -0
  800. data/src/core/ext/upbdefs-gen/envoy/extensions/filters/common/fault/v3/fault.upbdefs.c +91 -0
  801. data/src/core/ext/upbdefs-gen/envoy/extensions/filters/common/fault/v3/fault.upbdefs.h +55 -0
  802. data/src/core/ext/upbdefs-gen/envoy/extensions/filters/http/fault/v3/fault.upbdefs.c +122 -0
  803. data/src/core/ext/upbdefs-gen/envoy/extensions/filters/http/fault/v3/fault.upbdefs.h +45 -0
  804. data/src/core/ext/upbdefs-gen/envoy/extensions/filters/http/rbac/v3/rbac.upbdefs.c +79 -0
  805. data/src/core/ext/upbdefs-gen/envoy/extensions/filters/http/rbac/v3/rbac.upbdefs.h +40 -0
  806. data/src/core/ext/upbdefs-gen/envoy/extensions/filters/http/router/v3/router.upbdefs.c +104 -0
  807. data/src/core/ext/upbdefs-gen/envoy/extensions/filters/http/router/v3/router.upbdefs.h +40 -0
  808. data/src/core/ext/upbdefs-gen/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upbdefs.c +59 -0
  809. data/src/core/ext/upbdefs-gen/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upbdefs.h +40 -0
  810. data/src/core/ext/upbdefs-gen/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upbdefs.c +601 -0
  811. data/src/core/ext/upbdefs-gen/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upbdefs.h +135 -0
  812. data/src/core/ext/upbdefs-gen/envoy/extensions/http/stateful_session/cookie/v3/cookie.upbdefs.c +49 -0
  813. data/src/core/ext/upbdefs-gen/envoy/extensions/http/stateful_session/cookie/v3/cookie.upbdefs.h +35 -0
  814. data/src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/cert.upbdefs.c +47 -0
  815. data/src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/cert.upbdefs.h +30 -0
  816. data/src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/common.upbdefs.c +214 -0
  817. data/src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/common.upbdefs.h +65 -0
  818. data/src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/secret.upbdefs.c +90 -0
  819. data/src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/secret.upbdefs.h +45 -0
  820. data/src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/tls.upbdefs.c +257 -0
  821. data/src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/tls.upbdefs.h +65 -0
  822. data/src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upbdefs.c +57 -0
  823. data/src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upbdefs.h +40 -0
  824. data/src/core/ext/upbdefs-gen/envoy/extensions/upstreams/http/v3/http_protocol_options.upbdefs.c +133 -0
  825. data/src/core/ext/upbdefs-gen/envoy/extensions/upstreams/http/v3/http_protocol_options.upbdefs.h +50 -0
  826. data/src/core/ext/upbdefs-gen/envoy/service/discovery/v3/ads.upbdefs.c +57 -0
  827. data/src/core/ext/upbdefs-gen/envoy/service/discovery/v3/ads.upbdefs.h +35 -0
  828. data/src/core/ext/upbdefs-gen/envoy/service/discovery/v3/discovery.upbdefs.c +199 -0
  829. data/src/core/ext/upbdefs-gen/envoy/service/discovery/v3/discovery.upbdefs.h +100 -0
  830. data/src/core/ext/upbdefs-gen/envoy/service/load_stats/v3/lrs.upbdefs.c +75 -0
  831. data/src/core/ext/upbdefs-gen/envoy/service/load_stats/v3/lrs.upbdefs.h +40 -0
  832. data/src/core/ext/upbdefs-gen/envoy/service/status/v3/csds.upbdefs.c +154 -0
  833. data/src/core/ext/upbdefs-gen/envoy/service/status/v3/csds.upbdefs.h +55 -0
  834. data/src/core/ext/upbdefs-gen/envoy/type/http/v3/cookie.upbdefs.c +45 -0
  835. data/src/core/ext/upbdefs-gen/envoy/type/http/v3/cookie.upbdefs.h +35 -0
  836. data/src/core/ext/upbdefs-gen/envoy/type/http/v3/path_transformation.upbdefs.c +55 -0
  837. data/src/core/ext/upbdefs-gen/envoy/type/http/v3/path_transformation.upbdefs.h +50 -0
  838. data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/filter_state.upbdefs.c +47 -0
  839. data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/filter_state.upbdefs.h +35 -0
  840. data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/http_inputs.upbdefs.c +54 -0
  841. data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/http_inputs.upbdefs.h +55 -0
  842. data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/metadata.upbdefs.c +60 -0
  843. data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/metadata.upbdefs.h +40 -0
  844. data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/node.upbdefs.c +53 -0
  845. data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/node.upbdefs.h +35 -0
  846. data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/number.upbdefs.c +51 -0
  847. data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/number.upbdefs.h +35 -0
  848. data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/path.upbdefs.c +50 -0
  849. data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/path.upbdefs.h +35 -0
  850. data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/regex.upbdefs.c +70 -0
  851. data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/regex.upbdefs.h +45 -0
  852. data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/status_code_input.upbdefs.c +39 -0
  853. data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/status_code_input.upbdefs.h +40 -0
  854. data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/string.upbdefs.c +64 -0
  855. data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/string.upbdefs.h +40 -0
  856. data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/struct.upbdefs.c +57 -0
  857. data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/struct.upbdefs.h +40 -0
  858. data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/value.upbdefs.c +74 -0
  859. data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/value.upbdefs.h +45 -0
  860. data/src/core/ext/upbdefs-gen/envoy/type/metadata/v3/metadata.upbdefs.c +77 -0
  861. data/src/core/ext/upbdefs-gen/envoy/type/metadata/v3/metadata.upbdefs.h +65 -0
  862. data/src/core/ext/upbdefs-gen/envoy/type/tracing/v3/custom_tag.upbdefs.c +84 -0
  863. data/src/core/ext/upbdefs-gen/envoy/type/tracing/v3/custom_tag.upbdefs.h +55 -0
  864. data/src/core/ext/upbdefs-gen/envoy/type/v3/hash_policy.upbdefs.c +52 -0
  865. data/src/core/ext/upbdefs-gen/envoy/type/v3/hash_policy.upbdefs.h +45 -0
  866. data/src/core/ext/upbdefs-gen/envoy/type/v3/http.upbdefs.c +35 -0
  867. data/src/core/ext/upbdefs-gen/envoy/type/v3/http.upbdefs.h +30 -0
  868. data/src/core/ext/upbdefs-gen/envoy/type/v3/http_status.upbdefs.c +93 -0
  869. data/src/core/ext/upbdefs-gen/envoy/type/v3/http_status.upbdefs.h +35 -0
  870. data/src/core/ext/upbdefs-gen/envoy/type/v3/percent.upbdefs.c +53 -0
  871. data/src/core/ext/upbdefs-gen/envoy/type/v3/percent.upbdefs.h +40 -0
  872. data/src/core/ext/upbdefs-gen/envoy/type/v3/range.upbdefs.c +47 -0
  873. data/src/core/ext/upbdefs-gen/envoy/type/v3/range.upbdefs.h +45 -0
  874. data/src/core/ext/upbdefs-gen/envoy/type/v3/ratelimit_strategy.upbdefs.c +68 -0
  875. data/src/core/ext/upbdefs-gen/envoy/type/v3/ratelimit_strategy.upbdefs.h +40 -0
  876. data/src/core/ext/upbdefs-gen/envoy/type/v3/ratelimit_unit.upbdefs.c +38 -0
  877. data/src/core/ext/upbdefs-gen/envoy/type/v3/ratelimit_unit.upbdefs.h +30 -0
  878. data/src/core/ext/upbdefs-gen/envoy/type/v3/semantic_version.upbdefs.c +43 -0
  879. data/src/core/ext/upbdefs-gen/envoy/type/v3/semantic_version.upbdefs.h +35 -0
  880. data/src/core/ext/upbdefs-gen/envoy/type/v3/token_bucket.upbdefs.c +56 -0
  881. data/src/core/ext/upbdefs-gen/envoy/type/v3/token_bucket.upbdefs.h +35 -0
  882. data/src/core/ext/upbdefs-gen/google/api/annotations.upbdefs.c +39 -0
  883. data/src/core/ext/upbdefs-gen/google/api/annotations.upbdefs.h +30 -0
  884. data/src/core/ext/upbdefs-gen/google/api/expr/v1alpha1/checked.upbdefs.c +153 -0
  885. data/src/core/ext/upbdefs-gen/google/api/expr/v1alpha1/checked.upbdefs.h +95 -0
  886. data/src/core/ext/upbdefs-gen/google/api/expr/v1alpha1/syntax.upbdefs.c +152 -0
  887. data/src/core/ext/upbdefs-gen/google/api/expr/v1alpha1/syntax.upbdefs.h +100 -0
  888. data/src/core/ext/upbdefs-gen/google/api/http.upbdefs.c +51 -0
  889. data/src/core/ext/upbdefs-gen/google/api/http.upbdefs.h +45 -0
  890. data/src/core/ext/upbdefs-gen/google/api/httpbody.upbdefs.c +38 -0
  891. data/src/core/ext/upbdefs-gen/google/api/httpbody.upbdefs.h +35 -0
  892. data/src/core/ext/upbdefs-gen/google/protobuf/any.upbdefs.c +33 -0
  893. data/src/core/ext/upbdefs-gen/google/protobuf/any.upbdefs.h +35 -0
  894. data/src/core/ext/upbdefs-gen/google/protobuf/descriptor.upbdefs.c +488 -0
  895. data/src/core/ext/upbdefs-gen/google/protobuf/descriptor.upbdefs.h +190 -0
  896. data/src/core/ext/upbdefs-gen/google/protobuf/duration.upbdefs.c +34 -0
  897. data/src/core/ext/upbdefs-gen/google/protobuf/duration.upbdefs.h +35 -0
  898. data/src/core/ext/upbdefs-gen/google/protobuf/empty.upbdefs.c +31 -0
  899. data/src/core/ext/upbdefs-gen/google/protobuf/empty.upbdefs.h +35 -0
  900. data/src/core/ext/upbdefs-gen/google/protobuf/struct.upbdefs.c +53 -0
  901. data/src/core/ext/upbdefs-gen/google/protobuf/struct.upbdefs.h +50 -0
  902. data/src/core/ext/upbdefs-gen/google/protobuf/timestamp.upbdefs.c +34 -0
  903. data/src/core/ext/upbdefs-gen/google/protobuf/timestamp.upbdefs.h +35 -0
  904. data/src/core/ext/upbdefs-gen/google/protobuf/wrappers.upbdefs.c +44 -0
  905. data/src/core/ext/upbdefs-gen/google/protobuf/wrappers.upbdefs.h +75 -0
  906. data/src/core/ext/upbdefs-gen/google/rpc/status.upbdefs.c +36 -0
  907. data/src/core/ext/upbdefs-gen/google/rpc/status.upbdefs.h +35 -0
  908. data/src/core/ext/upbdefs-gen/opencensus/proto/trace/v1/trace_config.upbdefs.c +66 -0
  909. data/src/core/ext/upbdefs-gen/opencensus/proto/trace/v1/trace_config.upbdefs.h +50 -0
  910. data/src/core/ext/upbdefs-gen/src/proto/grpc/lookup/v1/rls_config.upbdefs.c +98 -0
  911. data/src/core/ext/upbdefs-gen/src/proto/grpc/lookup/v1/rls_config.upbdefs.h +75 -0
  912. data/src/core/ext/upbdefs-gen/udpa/annotations/migrate.upbdefs.c +61 -0
  913. data/src/core/ext/upbdefs-gen/udpa/annotations/migrate.upbdefs.h +45 -0
  914. data/src/core/ext/upbdefs-gen/udpa/annotations/security.upbdefs.c +46 -0
  915. data/src/core/ext/upbdefs-gen/udpa/annotations/security.upbdefs.h +35 -0
  916. data/src/core/ext/upbdefs-gen/udpa/annotations/sensitive.upbdefs.c +33 -0
  917. data/src/core/ext/upbdefs-gen/udpa/annotations/sensitive.upbdefs.h +30 -0
  918. data/src/core/ext/upbdefs-gen/udpa/annotations/status.upbdefs.c +45 -0
  919. data/src/core/ext/upbdefs-gen/udpa/annotations/status.upbdefs.h +35 -0
  920. data/src/core/ext/upbdefs-gen/udpa/annotations/versioning.upbdefs.c +38 -0
  921. data/src/core/ext/upbdefs-gen/udpa/annotations/versioning.upbdefs.h +35 -0
  922. data/src/core/ext/upbdefs-gen/validate/validate.upbdefs.c +282 -0
  923. data/src/core/ext/upbdefs-gen/validate/validate.upbdefs.h +145 -0
  924. data/src/core/ext/upbdefs-gen/xds/annotations/v3/migrate.upbdefs.c +62 -0
  925. data/src/core/ext/upbdefs-gen/xds/annotations/v3/migrate.upbdefs.h +45 -0
  926. data/src/core/ext/upbdefs-gen/xds/annotations/v3/security.upbdefs.c +46 -0
  927. data/src/core/ext/upbdefs-gen/xds/annotations/v3/security.upbdefs.h +35 -0
  928. data/src/core/ext/upbdefs-gen/xds/annotations/v3/sensitive.upbdefs.c +34 -0
  929. data/src/core/ext/upbdefs-gen/xds/annotations/v3/sensitive.upbdefs.h +30 -0
  930. data/src/core/ext/upbdefs-gen/xds/annotations/v3/status.upbdefs.c +63 -0
  931. data/src/core/ext/upbdefs-gen/xds/annotations/v3/status.upbdefs.h +50 -0
  932. data/src/core/ext/upbdefs-gen/xds/annotations/v3/versioning.upbdefs.c +39 -0
  933. data/src/core/ext/upbdefs-gen/xds/annotations/v3/versioning.upbdefs.h +35 -0
  934. data/src/core/ext/upbdefs-gen/xds/core/v3/authority.upbdefs.c +37 -0
  935. data/src/core/ext/upbdefs-gen/xds/core/v3/authority.upbdefs.h +35 -0
  936. data/src/core/ext/upbdefs-gen/xds/core/v3/cidr.upbdefs.c +44 -0
  937. data/src/core/ext/upbdefs-gen/xds/core/v3/cidr.upbdefs.h +35 -0
  938. data/src/core/ext/upbdefs-gen/xds/core/v3/collection_entry.upbdefs.c +55 -0
  939. data/src/core/ext/upbdefs-gen/xds/core/v3/collection_entry.upbdefs.h +40 -0
  940. data/src/core/ext/upbdefs-gen/xds/core/v3/context_params.upbdefs.c +38 -0
  941. data/src/core/ext/upbdefs-gen/xds/core/v3/context_params.upbdefs.h +40 -0
  942. data/src/core/ext/upbdefs-gen/xds/core/v3/extension.upbdefs.c +40 -0
  943. data/src/core/ext/upbdefs-gen/xds/core/v3/extension.upbdefs.h +35 -0
  944. data/src/core/ext/upbdefs-gen/xds/core/v3/resource.upbdefs.c +44 -0
  945. data/src/core/ext/upbdefs-gen/xds/core/v3/resource.upbdefs.h +35 -0
  946. data/src/core/ext/upbdefs-gen/xds/core/v3/resource_locator.upbdefs.c +60 -0
  947. data/src/core/ext/upbdefs-gen/xds/core/v3/resource_locator.upbdefs.h +40 -0
  948. data/src/core/ext/upbdefs-gen/xds/core/v3/resource_name.upbdefs.c +45 -0
  949. data/src/core/ext/upbdefs-gen/xds/core/v3/resource_name.upbdefs.h +35 -0
  950. data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/cel.upbdefs.c +42 -0
  951. data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/cel.upbdefs.h +35 -0
  952. data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/domain.upbdefs.c +50 -0
  953. data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/domain.upbdefs.h +40 -0
  954. data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/http_inputs.upbdefs.c +35 -0
  955. data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/http_inputs.upbdefs.h +35 -0
  956. data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/ip.upbdefs.c +54 -0
  957. data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/ip.upbdefs.h +40 -0
  958. data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/matcher.upbdefs.c +125 -0
  959. data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/matcher.upbdefs.h +80 -0
  960. data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/range.upbdefs.c +70 -0
  961. data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/range.upbdefs.h +60 -0
  962. data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/regex.upbdefs.c +39 -0
  963. data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/regex.upbdefs.h +40 -0
  964. data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/string.upbdefs.c +51 -0
  965. data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/string.upbdefs.h +40 -0
  966. data/src/core/ext/upbdefs-gen/xds/type/v3/cel.upbdefs.c +59 -0
  967. data/src/core/ext/upbdefs-gen/xds/type/v3/cel.upbdefs.h +40 -0
  968. data/src/core/ext/upbdefs-gen/xds/type/v3/range.upbdefs.c +35 -0
  969. data/src/core/ext/upbdefs-gen/xds/type/v3/range.upbdefs.h +45 -0
  970. data/src/core/ext/upbdefs-gen/xds/type/v3/typed_struct.upbdefs.c +36 -0
  971. data/src/core/ext/upbdefs-gen/xds/type/v3/typed_struct.upbdefs.h +35 -0
  972. data/src/core/ext/xds/certificate_provider_store.cc +2 -1
  973. data/src/core/ext/xds/certificate_provider_store.h +0 -5
  974. data/src/core/ext/xds/file_watcher_certificate_provider_factory.cc +0 -1
  975. data/src/core/ext/xds/xds_api.cc +31 -19
  976. data/src/core/ext/xds/xds_api.h +2 -2
  977. data/src/core/ext/xds/xds_bootstrap.h +3 -0
  978. data/src/core/ext/xds/xds_bootstrap_grpc.cc +33 -31
  979. data/src/core/ext/xds/xds_bootstrap_grpc.h +5 -13
  980. data/src/core/ext/xds/xds_certificate_provider.cc +88 -287
  981. data/src/core/ext/xds/xds_certificate_provider.h +44 -111
  982. data/src/core/ext/xds/xds_channel_stack_modifier.cc +17 -28
  983. data/src/core/ext/xds/xds_channel_stack_modifier.h +3 -5
  984. data/src/core/ext/xds/xds_client.cc +425 -421
  985. data/src/core/ext/xds/xds_client.h +32 -23
  986. data/src/core/ext/xds/xds_client_grpc.cc +15 -7
  987. data/src/core/ext/xds/xds_client_grpc.h +16 -2
  988. data/src/core/ext/xds/xds_client_stats.h +10 -1
  989. data/src/core/ext/xds/xds_cluster.cc +159 -68
  990. data/src/core/ext/xds/xds_cluster.h +11 -5
  991. data/src/core/ext/xds/xds_cluster_specifier_plugin.cc +9 -5
  992. data/src/core/ext/xds/xds_common_types.cc +14 -11
  993. data/src/core/ext/xds/xds_endpoint.cc +106 -70
  994. data/src/core/ext/xds/xds_endpoint.h +7 -4
  995. data/src/core/ext/xds/xds_health_status.cc +13 -18
  996. data/src/core/ext/xds/xds_health_status.h +10 -28
  997. data/src/core/ext/xds/xds_http_fault_filter.cc +1 -2
  998. data/src/core/ext/xds/xds_http_fault_filter.h +1 -2
  999. data/src/core/ext/xds/xds_http_filters.cc +1 -5
  1000. data/src/core/ext/xds/xds_http_filters.h +2 -4
  1001. data/src/core/ext/xds/xds_http_rbac_filter.cc +8 -11
  1002. data/src/core/ext/xds/xds_http_rbac_filter.h +1 -2
  1003. data/src/core/ext/xds/xds_http_stateful_session_filter.cc +2 -6
  1004. data/src/core/ext/xds/xds_http_stateful_session_filter.h +1 -2
  1005. data/src/core/ext/xds/xds_lb_policy_registry.cc +36 -0
  1006. data/src/core/ext/xds/xds_listener.cc +29 -25
  1007. data/src/core/ext/xds/xds_listener.h +13 -3
  1008. data/src/core/ext/xds/xds_resource_type.h +1 -7
  1009. data/src/core/ext/xds/xds_resource_type_impl.h +11 -11
  1010. data/src/core/ext/xds/xds_route_config.cc +48 -34
  1011. data/src/core/ext/xds/xds_route_config.h +2 -1
  1012. data/src/core/ext/xds/xds_routing.cc +2 -2
  1013. data/src/core/ext/xds/xds_server_config_fetcher.cc +110 -81
  1014. data/src/core/ext/xds/xds_transport.h +3 -0
  1015. data/src/core/ext/xds/xds_transport_grpc.cc +61 -54
  1016. data/src/core/ext/xds/xds_transport_grpc.h +4 -0
  1017. data/src/core/lib/address_utils/parse_address.cc +63 -1
  1018. data/src/core/lib/address_utils/parse_address.h +8 -0
  1019. data/src/core/lib/address_utils/sockaddr_utils.cc +46 -2
  1020. data/src/core/lib/address_utils/sockaddr_utils.h +2 -2
  1021. data/src/core/lib/avl/avl.h +11 -173
  1022. data/src/core/lib/backoff/random_early_detection.cc +4 -2
  1023. data/src/core/lib/backoff/random_early_detection.h +7 -4
  1024. data/src/core/lib/channel/call_tracer.cc +315 -1
  1025. data/src/core/lib/channel/call_tracer.h +63 -4
  1026. data/src/core/lib/channel/channel_args.cc +109 -84
  1027. data/src/core/lib/channel/channel_args.h +105 -29
  1028. data/src/core/lib/channel/channel_args_preconditioning.cc +0 -1
  1029. data/src/core/lib/channel/channel_stack.cc +36 -1
  1030. data/src/core/lib/channel/channel_stack.h +10 -10
  1031. data/src/core/lib/channel/channel_stack_builder.h +4 -15
  1032. data/src/core/lib/channel/channel_stack_builder_impl.cc +1 -19
  1033. data/src/core/lib/channel/channel_stack_trace.cc +19 -0
  1034. data/src/core/lib/channel/channel_stack_trace.h +24 -0
  1035. data/src/core/lib/channel/channel_trace.cc +1 -1
  1036. data/src/core/lib/channel/channelz_registry.h +4 -2
  1037. data/src/core/lib/channel/connected_channel.cc +144 -83
  1038. data/src/core/lib/channel/context.h +3 -0
  1039. data/src/core/lib/channel/promise_based_filter.cc +19 -7
  1040. data/src/core/lib/channel/promise_based_filter.h +1044 -3
  1041. data/src/core/lib/channel/server_call_tracer_filter.cc +43 -42
  1042. data/src/core/lib/channel/status_util.cc +0 -1
  1043. data/src/core/lib/channel/tcp_tracer.h +140 -0
  1044. data/src/core/lib/compression/compression_internal.cc +10 -7
  1045. data/src/core/lib/config/config_vars.cc +0 -1
  1046. data/src/core/lib/config/config_vars.h +1 -1
  1047. data/src/core/lib/config/config_vars_non_generated.cc +0 -2
  1048. data/src/core/lib/config/core_configuration.cc +2 -2
  1049. data/src/core/lib/config/core_configuration.h +5 -4
  1050. data/src/core/lib/debug/stats_data.cc +202 -35
  1051. data/src/core/lib/debug/stats_data.h +102 -0
  1052. data/src/core/lib/debug/trace.cc +1 -4
  1053. data/src/core/lib/event_engine/ares_resolver.cc +747 -0
  1054. data/src/core/lib/event_engine/ares_resolver.h +151 -0
  1055. data/src/core/lib/event_engine/cf_engine/cf_engine.cc +13 -3
  1056. data/src/core/lib/event_engine/cf_engine/cf_engine.h +4 -1
  1057. data/src/core/lib/event_engine/cf_engine/cfstream_endpoint.cc +5 -2
  1058. data/src/core/lib/event_engine/cf_engine/cfstream_endpoint.h +3 -0
  1059. data/src/core/lib/event_engine/cf_engine/cftype_unique_ref.h +3 -0
  1060. data/src/core/lib/event_engine/cf_engine/dns_service_resolver.cc +249 -0
  1061. data/src/core/lib/event_engine/cf_engine/dns_service_resolver.h +120 -0
  1062. data/src/core/lib/event_engine/channel_args_endpoint_config.cc +2 -0
  1063. data/src/core/lib/event_engine/event_engine.cc +0 -14
  1064. data/src/core/lib/event_engine/forkable.cc +65 -65
  1065. data/src/core/lib/event_engine/forkable.h +46 -25
  1066. data/src/core/lib/event_engine/grpc_polled_fd.h +92 -0
  1067. data/src/core/lib/event_engine/handle_containers.h +0 -4
  1068. data/src/core/lib/event_engine/nameser.h +102 -0
  1069. data/src/core/lib/event_engine/posix_engine/ev_epoll1_linux.cc +10 -14
  1070. data/src/core/lib/event_engine/posix_engine/ev_epoll1_linux.h +2 -3
  1071. data/src/core/lib/event_engine/posix_engine/ev_poll_posix.cc +39 -24
  1072. data/src/core/lib/event_engine/posix_engine/ev_poll_posix.h +12 -10
  1073. data/src/core/lib/event_engine/posix_engine/event_poller.h +3 -1
  1074. data/src/core/lib/event_engine/posix_engine/event_poller_posix_default.cc +23 -4
  1075. data/src/core/lib/event_engine/posix_engine/event_poller_posix_default.h +3 -1
  1076. data/src/core/lib/event_engine/posix_engine/grpc_polled_fd_posix.h +205 -0
  1077. data/src/core/lib/event_engine/posix_engine/internal_errqueue.cc +0 -2
  1078. data/src/core/lib/event_engine/posix_engine/native_posix_dns_resolver.cc +132 -0
  1079. data/src/core/lib/event_engine/posix_engine/native_posix_dns_resolver.h +61 -0
  1080. data/src/core/lib/event_engine/posix_engine/posix_endpoint.cc +29 -16
  1081. data/src/core/lib/event_engine/posix_engine/posix_endpoint.h +3 -2
  1082. data/src/core/lib/event_engine/posix_engine/posix_engine.cc +113 -27
  1083. data/src/core/lib/event_engine/posix_engine/posix_engine.h +36 -29
  1084. data/src/core/lib/event_engine/posix_engine/posix_engine_listener.cc +66 -27
  1085. data/src/core/lib/event_engine/posix_engine/posix_engine_listener.h +5 -0
  1086. data/src/core/lib/event_engine/posix_engine/posix_engine_listener_utils.cc +15 -5
  1087. data/src/core/lib/event_engine/posix_engine/tcp_socket_utils.cc +53 -7
  1088. data/src/core/lib/event_engine/posix_engine/tcp_socket_utils.h +13 -0
  1089. data/src/core/lib/event_engine/posix_engine/timer.h +10 -37
  1090. data/src/core/lib/event_engine/posix_engine/timer_manager.cc +17 -27
  1091. data/src/core/lib/event_engine/posix_engine/timer_manager.h +0 -3
  1092. data/src/core/lib/event_engine/posix_engine/traced_buffer_list.cc +2 -0
  1093. data/src/core/lib/event_engine/posix_engine/wakeup_fd_eventfd.cc +0 -1
  1094. data/src/core/lib/event_engine/posix_engine/wakeup_fd_pipe.cc +0 -1
  1095. data/src/core/lib/event_engine/ref_counted_dns_resolver_interface.h +55 -0
  1096. data/src/core/lib/event_engine/shim.cc +4 -2
  1097. data/src/core/lib/event_engine/slice_buffer.cc +0 -1
  1098. data/src/core/lib/event_engine/tcp_socket_utils.cc +67 -8
  1099. data/src/core/lib/event_engine/tcp_socket_utils.h +3 -0
  1100. data/src/core/lib/event_engine/thread_pool/thread_count.cc +58 -0
  1101. data/src/core/lib/event_engine/thread_pool/thread_count.h +176 -0
  1102. data/src/core/lib/event_engine/thread_pool/thread_pool_factory.cc +19 -10
  1103. data/src/core/lib/event_engine/thread_pool/work_stealing_thread_pool.cc +138 -100
  1104. data/src/core/lib/event_engine/thread_pool/work_stealing_thread_pool.h +22 -48
  1105. data/src/core/lib/event_engine/thready_event_engine/thready_event_engine.cc +12 -21
  1106. data/src/core/lib/event_engine/thready_event_engine/thready_event_engine.h +8 -12
  1107. data/src/core/lib/event_engine/windows/grpc_polled_fd_windows.cc +823 -0
  1108. data/src/core/lib/event_engine/windows/grpc_polled_fd_windows.h +75 -0
  1109. data/src/core/lib/event_engine/windows/native_windows_dns_resolver.cc +114 -0
  1110. data/src/core/lib/event_engine/windows/native_windows_dns_resolver.h +51 -0
  1111. data/src/core/lib/event_engine/windows/win_socket.cc +20 -13
  1112. data/src/core/lib/event_engine/windows/win_socket.h +19 -7
  1113. data/src/core/lib/event_engine/windows/windows_endpoint.cc +75 -76
  1114. data/src/core/lib/event_engine/windows/windows_endpoint.h +15 -12
  1115. data/src/core/lib/event_engine/windows/windows_engine.cc +85 -39
  1116. data/src/core/lib/event_engine/windows/windows_engine.h +24 -14
  1117. data/src/core/lib/event_engine/windows/windows_listener.cc +2 -3
  1118. data/src/core/lib/event_engine/work_queue/basic_work_queue.cc +2 -0
  1119. data/src/core/lib/event_engine/work_queue/basic_work_queue.h +4 -1
  1120. data/src/core/lib/event_engine/work_queue/work_queue.h +4 -0
  1121. data/src/core/lib/experiments/config.cc +96 -23
  1122. data/src/core/lib/experiments/config.h +23 -8
  1123. data/src/core/lib/experiments/experiments.cc +712 -60
  1124. data/src/core/lib/experiments/experiments.h +335 -46
  1125. data/src/core/lib/gpr/alloc.cc +1 -0
  1126. data/src/core/lib/gprpp/debug_location.h +13 -0
  1127. data/src/core/lib/gprpp/directory_reader.h +48 -0
  1128. data/src/core/lib/gprpp/dual_ref_counted.h +45 -16
  1129. data/src/core/lib/gprpp/fork.cc +8 -9
  1130. data/src/core/lib/gprpp/fork.h +7 -6
  1131. data/src/core/lib/gprpp/host_port.cc +0 -2
  1132. data/src/core/lib/gprpp/if_list.h +4530 -0
  1133. data/src/core/lib/gprpp/manual_constructor.h +1 -2
  1134. data/src/core/lib/gprpp/match.h +1 -1
  1135. data/src/core/lib/gprpp/no_destruct.h +1 -1
  1136. data/src/core/lib/gprpp/orphanable.h +30 -3
  1137. data/src/core/lib/gprpp/per_cpu.cc +2 -0
  1138. data/src/core/lib/gprpp/per_cpu.h +36 -7
  1139. data/src/core/lib/gprpp/posix/directory_reader.cc +82 -0
  1140. data/src/core/lib/gprpp/posix/stat.cc +0 -1
  1141. data/src/core/lib/gprpp/ref_counted.h +72 -29
  1142. data/src/core/lib/gprpp/ref_counted_ptr.h +133 -27
  1143. data/src/core/lib/gprpp/ref_counted_string.cc +44 -0
  1144. data/src/core/lib/gprpp/ref_counted_string.h +161 -0
  1145. data/src/core/lib/gprpp/sorted_pack.h +3 -12
  1146. data/src/core/lib/gprpp/status_helper.cc +1 -3
  1147. data/src/core/lib/gprpp/status_helper.h +16 -15
  1148. data/src/core/lib/gprpp/strerror.cc +0 -2
  1149. data/src/core/lib/gprpp/time.cc +0 -1
  1150. data/src/core/lib/gprpp/time.h +13 -1
  1151. data/src/core/lib/gprpp/type_list.h +32 -0
  1152. data/src/core/lib/gprpp/validation_errors.cc +0 -1
  1153. data/src/core/lib/gprpp/windows/directory_reader.cc +80 -0
  1154. data/src/core/lib/gprpp/work_serializer.cc +323 -12
  1155. data/src/core/lib/gprpp/work_serializer.h +30 -9
  1156. data/src/core/lib/gprpp/xxhash_inline.h +29 -0
  1157. data/src/core/lib/http/format_request.cc +0 -1
  1158. data/src/core/lib/http/httpcli.cc +0 -2
  1159. data/src/core/lib/http/httpcli.h +6 -9
  1160. data/src/core/lib/http/httpcli_security_connector.cc +1 -0
  1161. data/src/core/lib/iomgr/buffer_list.cc +2 -0
  1162. data/src/core/lib/iomgr/combiner.cc +24 -18
  1163. data/src/core/lib/iomgr/combiner.h +8 -3
  1164. data/src/core/lib/iomgr/error.cc +32 -2
  1165. data/src/core/lib/iomgr/error.h +9 -10
  1166. data/src/core/lib/iomgr/ev_epoll1_linux.cc +5 -7
  1167. data/src/core/lib/iomgr/ev_poll_posix.cc +6 -5
  1168. data/src/core/lib/iomgr/event_engine_shims/endpoint.cc +42 -26
  1169. data/src/core/lib/iomgr/event_engine_shims/endpoint.h +16 -0
  1170. data/src/core/lib/iomgr/event_engine_shims/tcp_client.cc +3 -2
  1171. data/src/core/lib/iomgr/exec_ctx.cc +12 -0
  1172. data/src/core/lib/iomgr/exec_ctx.h +66 -19
  1173. data/src/core/lib/iomgr/polling_entity.cc +10 -0
  1174. data/src/core/lib/iomgr/polling_entity.h +2 -0
  1175. data/src/core/lib/iomgr/pollset.h +4 -5
  1176. data/src/core/lib/iomgr/port.h +24 -0
  1177. data/src/core/lib/iomgr/resolve_address.cc +13 -1
  1178. data/src/core/lib/iomgr/resolve_address.h +17 -3
  1179. data/src/core/lib/iomgr/sockaddr_posix.h +7 -0
  1180. data/src/core/lib/iomgr/socket_utils_common_posix.cc +42 -0
  1181. data/src/core/lib/iomgr/socket_utils_posix.cc +2 -0
  1182. data/src/core/lib/iomgr/socket_utils_posix.h +6 -0
  1183. data/src/core/lib/iomgr/tcp_client_posix.cc +8 -4
  1184. data/src/core/lib/iomgr/tcp_posix.cc +48 -22
  1185. data/src/core/lib/iomgr/tcp_server_posix.cc +37 -14
  1186. data/src/core/lib/iomgr/tcp_server_utils_posix.h +12 -0
  1187. data/src/core/lib/iomgr/tcp_server_utils_posix_common.cc +26 -2
  1188. data/src/core/lib/iomgr/tcp_windows.cc +1 -3
  1189. data/src/core/lib/iomgr/timer_manager.cc +7 -1
  1190. data/src/core/lib/iomgr/timer_manager.h +2 -0
  1191. data/src/core/lib/iomgr/vsock.cc +59 -0
  1192. data/src/core/lib/iomgr/vsock.h +38 -0
  1193. data/src/core/lib/iomgr/wakeup_fd_posix.h +3 -6
  1194. data/src/core/lib/json/json_object_loader.h +0 -1
  1195. data/src/core/lib/json/json_reader.cc +0 -1
  1196. data/src/core/lib/load_balancing/delegating_helper.h +116 -0
  1197. data/src/core/lib/load_balancing/lb_policy.h +38 -14
  1198. data/src/core/lib/load_balancing/lb_policy_registry.cc +0 -1
  1199. data/src/core/lib/load_balancing/subchannel_interface.h +6 -0
  1200. data/src/core/lib/matchers/matchers.cc +0 -1
  1201. data/src/core/lib/promise/activity.cc +17 -3
  1202. data/src/core/lib/promise/activity.h +5 -4
  1203. data/src/core/lib/promise/all_ok.h +80 -0
  1204. data/src/core/lib/promise/arena_promise.h +5 -1
  1205. data/src/core/lib/promise/cancel_callback.h +0 -2
  1206. data/src/core/lib/promise/context.h +0 -1
  1207. data/src/core/lib/promise/detail/basic_seq.h +1 -372
  1208. data/src/core/lib/promise/detail/join_state.h +2077 -0
  1209. data/src/core/lib/promise/detail/promise_like.h +8 -1
  1210. data/src/core/lib/promise/detail/seq_state.h +5801 -0
  1211. data/src/core/lib/promise/detail/status.h +42 -5
  1212. data/src/core/lib/promise/for_each.h +13 -3
  1213. data/src/core/lib/promise/if.h +4 -1
  1214. data/src/core/lib/promise/interceptor_list.h +0 -1
  1215. data/src/core/lib/promise/latch.h +7 -5
  1216. data/src/core/lib/promise/loop.h +9 -6
  1217. data/src/core/lib/promise/map.h +0 -1
  1218. data/src/core/lib/promise/party.cc +33 -33
  1219. data/src/core/lib/promise/party.h +143 -8
  1220. data/src/core/lib/promise/pipe.h +28 -27
  1221. data/src/core/lib/promise/poll.h +43 -19
  1222. data/src/core/lib/promise/prioritized_race.h +0 -1
  1223. data/src/core/lib/promise/promise.h +4 -1
  1224. data/src/core/lib/promise/race.h +0 -1
  1225. data/src/core/lib/promise/seq.h +124 -8
  1226. data/src/core/lib/promise/sleep.h +5 -10
  1227. data/src/core/lib/promise/status_flag.h +196 -0
  1228. data/src/core/lib/promise/try_join.h +71 -21
  1229. data/src/core/lib/promise/try_seq.h +161 -7
  1230. data/src/core/lib/resolver/endpoint_addresses.cc +147 -0
  1231. data/src/core/lib/resolver/endpoint_addresses.h +164 -0
  1232. data/src/core/lib/resolver/resolver.h +4 -3
  1233. data/src/core/lib/resolver/resolver_factory.h +3 -2
  1234. data/src/core/lib/resolver/resolver_registry.cc +0 -2
  1235. data/src/core/lib/resolver/server_address.h +5 -109
  1236. data/src/core/lib/resource_quota/api.cc +1 -0
  1237. data/src/core/lib/resource_quota/arena.cc +2 -0
  1238. data/src/core/lib/resource_quota/arena.h +44 -10
  1239. data/src/core/lib/resource_quota/memory_quota.cc +128 -21
  1240. data/src/core/lib/resource_quota/memory_quota.h +13 -13
  1241. data/src/core/lib/resource_quota/resource_quota.h +1 -0
  1242. data/src/core/lib/security/authorization/audit_logging.cc +0 -1
  1243. data/src/core/lib/security/authorization/authorization_policy_provider.h +1 -1
  1244. data/src/core/lib/security/authorization/grpc_server_authz_filter.cc +15 -12
  1245. data/src/core/lib/security/authorization/grpc_server_authz_filter.h +14 -5
  1246. data/src/core/lib/security/authorization/matchers.cc +0 -1
  1247. data/src/core/lib/security/authorization/rbac_policy.cc +0 -2
  1248. data/src/core/lib/security/authorization/rbac_policy.h +1 -1
  1249. data/src/core/lib/security/authorization/stdout_logger.cc +0 -1
  1250. data/src/core/lib/security/credentials/alts/alts_credentials.cc +0 -2
  1251. data/src/core/lib/security/credentials/channel_creds_registry.h +51 -27
  1252. data/src/core/lib/security/credentials/channel_creds_registry_init.cc +169 -9
  1253. data/src/core/lib/security/credentials/composite/composite_credentials.cc +2 -2
  1254. data/src/core/lib/security/credentials/composite/composite_credentials.h +4 -2
  1255. data/src/core/lib/security/credentials/external/aws_external_account_credentials.cc +4 -1
  1256. data/src/core/lib/security/credentials/external/aws_external_account_credentials.h +4 -0
  1257. data/src/core/lib/security/credentials/external/aws_request_signer.cc +8 -2
  1258. data/src/core/lib/security/credentials/external/external_account_credentials.cc +68 -23
  1259. data/src/core/lib/security/credentials/external/external_account_credentials.h +10 -0
  1260. data/src/core/lib/security/credentials/external/file_external_account_credentials.cc +4 -0
  1261. data/src/core/lib/security/credentials/external/file_external_account_credentials.h +4 -0
  1262. data/src/core/lib/security/credentials/external/url_external_account_credentials.cc +5 -3
  1263. data/src/core/lib/security/credentials/external/url_external_account_credentials.h +4 -0
  1264. data/src/core/lib/security/credentials/fake/fake_credentials.cc +30 -38
  1265. data/src/core/lib/security/credentials/fake/fake_credentials.h +28 -0
  1266. data/src/core/lib/security/credentials/google_default/google_default_credentials.cc +1 -1
  1267. data/src/core/lib/security/credentials/iam/iam_credentials.cc +0 -1
  1268. data/src/core/lib/security/credentials/insecure/insecure_credentials.cc +0 -2
  1269. data/src/core/lib/security/credentials/jwt/json_token.cc +17 -0
  1270. data/src/core/lib/security/credentials/jwt/json_token.h +4 -0
  1271. data/src/core/lib/security/credentials/jwt/jwt_credentials.h +0 -1
  1272. data/src/core/lib/security/credentials/jwt/jwt_verifier.cc +43 -2
  1273. data/src/core/lib/security/credentials/local/local_credentials.cc +0 -2
  1274. data/src/core/lib/security/credentials/oauth2/oauth2_credentials.h +0 -1
  1275. data/src/core/lib/security/credentials/plugin/plugin_credentials.cc +2 -2
  1276. data/src/core/lib/security/credentials/ssl/ssl_credentials.cc +116 -10
  1277. data/src/core/lib/security/credentials/ssl/ssl_credentials.h +14 -0
  1278. data/src/core/lib/security/credentials/tls/grpc_tls_certificate_distributor.cc +0 -2
  1279. data/src/core/lib/security/credentials/tls/grpc_tls_certificate_match.cc +86 -0
  1280. data/src/core/lib/security/credentials/tls/grpc_tls_certificate_provider.cc +0 -55
  1281. data/src/core/lib/security/credentials/tls/grpc_tls_certificate_provider.h +0 -3
  1282. data/src/core/lib/security/credentials/tls/grpc_tls_certificate_verifier.h +2 -0
  1283. data/src/core/lib/security/credentials/tls/grpc_tls_credentials_options.cc +41 -0
  1284. data/src/core/lib/security/credentials/tls/grpc_tls_credentials_options.h +28 -1
  1285. data/src/core/lib/security/credentials/tls/grpc_tls_crl_provider.cc +255 -0
  1286. data/src/core/lib/security/credentials/tls/grpc_tls_crl_provider.h +129 -0
  1287. data/src/core/lib/security/credentials/tls/tls_credentials.cc +27 -2
  1288. data/src/core/lib/security/credentials/tls/tls_credentials.h +3 -1
  1289. data/src/core/lib/security/credentials/tls/tls_utils.cc +2 -0
  1290. data/src/core/lib/security/credentials/xds/xds_credentials.cc +22 -29
  1291. data/src/core/lib/security/credentials/xds/xds_credentials.h +2 -4
  1292. data/src/core/lib/security/security_connector/alts/alts_security_connector.cc +1 -0
  1293. data/src/core/lib/security/security_connector/fake/fake_security_connector.cc +1 -1
  1294. data/src/core/lib/security/security_connector/ssl/ssl_security_connector.cc +7 -59
  1295. data/src/core/lib/security/security_connector/ssl/ssl_security_connector.h +1 -1
  1296. data/src/core/lib/security/security_connector/ssl_utils.cc +11 -3
  1297. data/src/core/lib/security/security_connector/ssl_utils.h +5 -1
  1298. data/src/core/lib/security/security_connector/tls/tls_security_connector.cc +8 -19
  1299. data/src/core/lib/security/security_connector/tls/tls_security_connector.h +2 -2
  1300. data/src/core/lib/security/transport/auth_filters.h +71 -4
  1301. data/src/core/lib/security/transport/client_auth_filter.cc +9 -9
  1302. data/src/core/lib/security/transport/legacy_server_auth_filter.cc +244 -0
  1303. data/src/core/lib/security/transport/secure_endpoint.cc +3 -6
  1304. data/src/core/lib/security/transport/security_handshaker.cc +2 -3
  1305. data/src/core/lib/security/transport/server_auth_filter.cc +70 -92
  1306. data/src/core/lib/service_config/service_config_call_data.h +5 -0
  1307. data/src/core/lib/slice/slice.h +27 -0
  1308. data/src/core/lib/slice/slice_buffer.cc +15 -0
  1309. data/src/core/lib/slice/slice_buffer.h +19 -4
  1310. data/src/core/lib/slice/slice_refcount.h +1 -1
  1311. data/src/core/lib/surface/builtins.cc +6 -25
  1312. data/src/core/lib/surface/call.cc +852 -247
  1313. data/src/core/lib/surface/call.h +30 -13
  1314. data/src/core/lib/surface/call_log_batch.cc +0 -2
  1315. data/src/core/lib/surface/call_trace.cc +42 -2
  1316. data/src/core/lib/surface/channel.cc +12 -10
  1317. data/src/core/lib/surface/channel.h +2 -8
  1318. data/src/core/lib/surface/channel_init.cc +367 -14
  1319. data/src/core/lib/surface/channel_init.h +177 -28
  1320. data/src/core/lib/surface/completion_queue.cc +4 -1
  1321. data/src/core/lib/surface/event_string.cc +0 -1
  1322. data/src/core/lib/surface/init.cc +21 -47
  1323. data/src/core/lib/surface/lame_client.cc +8 -1
  1324. data/src/core/lib/surface/server.cc +519 -300
  1325. data/src/core/lib/surface/server.h +68 -44
  1326. data/src/core/lib/surface/validate_metadata.cc +37 -22
  1327. data/src/core/lib/surface/validate_metadata.h +13 -3
  1328. data/src/core/lib/surface/version.cc +2 -2
  1329. data/src/core/lib/surface/wait_for_cq_end_op.h +94 -0
  1330. data/src/core/lib/transport/batch_builder.cc +7 -9
  1331. data/src/core/lib/transport/batch_builder.h +1 -3
  1332. data/src/core/lib/transport/bdp_estimator.cc +2 -2
  1333. data/src/core/lib/transport/bdp_estimator.h +2 -2
  1334. data/src/core/lib/transport/call_final_info.cc +38 -0
  1335. data/src/core/lib/transport/call_final_info.h +54 -0
  1336. data/src/core/lib/transport/connectivity_state.cc +3 -4
  1337. data/src/core/lib/transport/connectivity_state.h +4 -0
  1338. data/src/core/lib/transport/error_utils.cc +0 -2
  1339. data/src/core/lib/transport/handshaker.cc +0 -2
  1340. data/src/core/lib/transport/metadata_batch.cc +12 -7
  1341. data/src/core/lib/transport/metadata_batch.h +122 -50
  1342. data/src/core/lib/transport/parsed_metadata.h +32 -20
  1343. data/src/core/lib/transport/simple_slice_based_metadata.h +8 -2
  1344. data/src/core/lib/transport/tcp_connect_handshaker.cc +0 -1
  1345. data/src/core/lib/transport/timeout_encoding.h +2 -2
  1346. data/src/core/lib/transport/transport.cc +80 -67
  1347. data/src/core/lib/transport/transport.h +504 -91
  1348. data/src/core/lib/transport/transport_fwd.h +3 -1
  1349. data/src/core/lib/transport/transport_op_string.cc +0 -2
  1350. data/src/core/lib/uri/uri_parser.cc +0 -1
  1351. data/src/core/plugin_registry/grpc_plugin_registry.cc +5 -0
  1352. data/src/core/plugin_registry/grpc_plugin_registry_extra.cc +0 -3
  1353. data/src/core/tsi/alts/crypt/aes_gcm.cc +142 -89
  1354. data/src/core/tsi/alts/crypt/gsec.h +387 -319
  1355. data/src/core/tsi/alts/frame_protector/alts_frame_protector.cc +11 -7
  1356. data/src/core/tsi/alts/handshaker/alts_handshaker_client.cc +1 -1
  1357. data/src/core/tsi/alts/handshaker/alts_tsi_handshaker.cc +5 -7
  1358. data/src/core/tsi/alts/handshaker/transport_security_common_api.cc +1 -1
  1359. data/src/core/tsi/alts/zero_copy_frame_protector/alts_grpc_record_protocol_common.cc +4 -6
  1360. data/src/core/tsi/alts/zero_copy_frame_protector/alts_zero_copy_grpc_protector.cc +12 -13
  1361. data/src/core/tsi/alts/zero_copy_frame_protector/alts_zero_copy_grpc_protector.h +26 -25
  1362. data/src/core/tsi/ssl/session_cache/ssl_session_cache.cc +9 -1
  1363. data/src/core/tsi/ssl_transport_security.cc +233 -69
  1364. data/src/core/tsi/ssl_transport_security.h +36 -2
  1365. data/src/ruby/bin/math_pb.rb +24 -18
  1366. data/src/ruby/ext/grpc/extconf.rb +73 -10
  1367. data/src/ruby/ext/grpc/rb_call.c +62 -39
  1368. data/src/ruby/ext/grpc/rb_call_credentials.c +0 -1
  1369. data/src/ruby/ext/grpc/rb_channel.c +109 -84
  1370. data/src/ruby/ext/grpc/rb_channel.h +1 -0
  1371. data/src/ruby/ext/grpc/rb_channel_args.c +21 -3
  1372. data/src/ruby/ext/grpc/rb_channel_args.h +4 -0
  1373. data/src/ruby/ext/grpc/rb_channel_credentials.c +0 -1
  1374. data/src/ruby/ext/grpc/rb_compression_options.c +0 -1
  1375. data/src/ruby/ext/grpc/rb_event_thread.c +22 -6
  1376. data/src/ruby/ext/grpc/rb_event_thread.h +1 -0
  1377. data/src/ruby/ext/grpc/rb_grpc.c +192 -31
  1378. data/src/ruby/ext/grpc/rb_grpc.h +8 -4
  1379. data/src/ruby/ext/grpc/rb_grpc_imports.generated.c +10 -0
  1380. data/src/ruby/ext/grpc/rb_grpc_imports.generated.h +15 -0
  1381. data/src/ruby/ext/grpc/rb_server.c +62 -45
  1382. data/src/ruby/ext/grpc/rb_server_credentials.c +0 -1
  1383. data/src/ruby/ext/grpc/rb_xds_channel_credentials.c +0 -1
  1384. data/src/ruby/ext/grpc/rb_xds_server_credentials.c +0 -1
  1385. data/src/ruby/lib/grpc/generic/active_call.rb +9 -14
  1386. data/src/ruby/lib/grpc/generic/bidi_call.rb +2 -0
  1387. data/src/ruby/lib/grpc/version.rb +1 -1
  1388. data/src/ruby/pb/grpc/health/v1/health_pb.rb +24 -13
  1389. data/src/ruby/pb/src/proto/grpc/testing/empty_pb.rb +24 -3
  1390. data/src/ruby/pb/src/proto/grpc/testing/messages_pb.rb +33 -111
  1391. data/src/ruby/pb/src/proto/grpc/testing/test_pb.rb +25 -2
  1392. data/src/ruby/pb/src/proto/grpc/testing/test_services_pb.rb +22 -0
  1393. data/src/ruby/pb/test/client.rb +16 -0
  1394. data/src/ruby/spec/generic/rpc_server_spec.rb +3 -3
  1395. data/third_party/abseil-cpp/absl/algorithm/container.h +3 -2
  1396. data/third_party/abseil-cpp/absl/base/attributes.h +58 -5
  1397. data/third_party/abseil-cpp/absl/base/call_once.h +1 -1
  1398. data/third_party/abseil-cpp/absl/base/casts.h +8 -8
  1399. data/third_party/abseil-cpp/absl/base/config.h +89 -106
  1400. data/third_party/abseil-cpp/absl/base/dynamic_annotations.h +26 -1
  1401. data/third_party/abseil-cpp/absl/base/internal/direct_mmap.h +2 -2
  1402. data/third_party/abseil-cpp/absl/base/internal/low_level_alloc.cc +50 -39
  1403. data/third_party/abseil-cpp/absl/base/internal/low_level_alloc.h +2 -1
  1404. data/third_party/abseil-cpp/absl/base/internal/prefetch.h +17 -18
  1405. data/third_party/abseil-cpp/absl/base/internal/raw_logging.cc +32 -3
  1406. data/third_party/abseil-cpp/absl/base/internal/raw_logging.h +24 -4
  1407. data/third_party/abseil-cpp/absl/base/internal/sysinfo.cc +31 -73
  1408. data/third_party/abseil-cpp/absl/base/internal/thread_identity.cc +9 -8
  1409. data/third_party/abseil-cpp/absl/base/internal/thread_identity.h +11 -11
  1410. data/third_party/abseil-cpp/absl/base/internal/throw_delegate.cc +23 -32
  1411. data/third_party/abseil-cpp/absl/base/internal/unscaledcycleclock.cc +2 -3
  1412. data/third_party/abseil-cpp/absl/base/options.h +1 -1
  1413. data/third_party/abseil-cpp/absl/base/policy_checks.h +3 -3
  1414. data/third_party/abseil-cpp/absl/base/prefetch.h +198 -0
  1415. data/third_party/abseil-cpp/absl/container/fixed_array.h +54 -29
  1416. data/third_party/abseil-cpp/absl/container/flat_hash_map.h +5 -1
  1417. data/third_party/abseil-cpp/absl/container/flat_hash_set.h +6 -2
  1418. data/third_party/abseil-cpp/absl/container/inlined_vector.h +167 -79
  1419. data/third_party/abseil-cpp/absl/container/internal/common_policy_traits.h +1 -1
  1420. data/third_party/abseil-cpp/absl/container/internal/compressed_tuple.h +3 -21
  1421. data/third_party/abseil-cpp/absl/container/internal/container_memory.h +1 -1
  1422. data/third_party/abseil-cpp/absl/container/internal/hash_function_defaults.h +46 -0
  1423. data/third_party/abseil-cpp/absl/container/internal/hashtablez_sampler.cc +2 -0
  1424. data/third_party/abseil-cpp/absl/container/internal/inlined_vector.h +85 -26
  1425. data/third_party/abseil-cpp/absl/container/internal/raw_hash_map.h +35 -18
  1426. data/third_party/abseil-cpp/absl/container/internal/raw_hash_set.cc +70 -29
  1427. data/third_party/abseil-cpp/absl/container/internal/raw_hash_set.h +437 -236
  1428. data/third_party/abseil-cpp/absl/crc/crc32c.h +8 -1
  1429. data/third_party/abseil-cpp/absl/crc/internal/cpu_detect.cc +14 -8
  1430. data/third_party/abseil-cpp/absl/crc/internal/crc.cc +4 -35
  1431. data/third_party/abseil-cpp/absl/crc/internal/crc.h +2 -10
  1432. data/third_party/abseil-cpp/absl/crc/internal/crc32_x86_arm_combined_simd.h +1 -1
  1433. data/third_party/abseil-cpp/absl/crc/internal/crc_cord_state.cc +1 -1
  1434. data/third_party/abseil-cpp/absl/crc/internal/crc_cord_state.h +4 -4
  1435. data/third_party/abseil-cpp/absl/crc/internal/crc_internal.h +8 -10
  1436. data/third_party/abseil-cpp/absl/crc/internal/crc_memcpy_x86_64.cc +17 -19
  1437. data/third_party/abseil-cpp/absl/crc/internal/crc_x86_arm_combined.cc +8 -8
  1438. data/third_party/abseil-cpp/absl/debugging/internal/elf_mem_image.h +2 -1
  1439. data/third_party/abseil-cpp/absl/debugging/internal/stacktrace_aarch64-inl.inc +59 -23
  1440. data/third_party/abseil-cpp/absl/debugging/internal/stacktrace_powerpc-inl.inc +1 -1
  1441. data/third_party/abseil-cpp/absl/debugging/internal/stacktrace_x86-inl.inc +1 -1
  1442. data/third_party/abseil-cpp/absl/debugging/internal/symbolize.h +1 -1
  1443. data/third_party/abseil-cpp/absl/debugging/symbolize_elf.inc +43 -19
  1444. data/third_party/abseil-cpp/absl/debugging/symbolize_emscripten.inc +3 -0
  1445. data/third_party/abseil-cpp/absl/flags/commandlineflag.h +1 -1
  1446. data/third_party/abseil-cpp/absl/flags/internal/commandlineflag.cc +1 -1
  1447. data/third_party/abseil-cpp/absl/flags/internal/flag.cc +2 -2
  1448. data/third_party/abseil-cpp/absl/flags/internal/flag.h +16 -15
  1449. data/third_party/abseil-cpp/absl/flags/internal/flag_msvc.inc +1 -1
  1450. data/third_party/abseil-cpp/absl/flags/marshalling.cc +43 -2
  1451. data/third_party/abseil-cpp/absl/flags/marshalling.h +5 -0
  1452. data/third_party/abseil-cpp/absl/functional/any_invocable.h +9 -1
  1453. data/third_party/abseil-cpp/absl/functional/bind_front.h +1 -1
  1454. data/third_party/abseil-cpp/absl/functional/function_ref.h +3 -3
  1455. data/third_party/abseil-cpp/absl/functional/internal/any_invocable.h +37 -24
  1456. data/third_party/abseil-cpp/absl/functional/internal/function_ref.h +19 -9
  1457. data/third_party/abseil-cpp/absl/hash/hash.h +7 -4
  1458. data/third_party/abseil-cpp/absl/hash/internal/hash.h +38 -15
  1459. data/third_party/abseil-cpp/absl/hash/internal/low_level_hash.cc +6 -0
  1460. data/third_party/abseil-cpp/absl/meta/type_traits.h +48 -373
  1461. data/third_party/abseil-cpp/absl/numeric/bits.h +4 -4
  1462. data/third_party/abseil-cpp/absl/numeric/int128.cc +20 -8
  1463. data/third_party/abseil-cpp/absl/numeric/int128.h +36 -39
  1464. data/third_party/abseil-cpp/absl/numeric/int128_have_intrinsic.inc +0 -3
  1465. data/third_party/abseil-cpp/absl/numeric/int128_no_intrinsic.inc +47 -30
  1466. data/third_party/abseil-cpp/absl/random/bit_gen_ref.h +185 -0
  1467. data/third_party/abseil-cpp/absl/random/internal/fast_uniform_bits.h +4 -3
  1468. data/third_party/abseil-cpp/absl/random/internal/generate_real.h +1 -1
  1469. data/third_party/abseil-cpp/absl/random/internal/platform.h +1 -1
  1470. data/third_party/abseil-cpp/absl/random/internal/randen_detect.cc +4 -0
  1471. data/third_party/abseil-cpp/absl/random/internal/randen_engine.h +1 -1
  1472. data/third_party/abseil-cpp/absl/random/internal/randen_hwaes.cc +1 -1
  1473. data/third_party/abseil-cpp/absl/random/internal/uniform_helper.h +1 -1
  1474. data/third_party/abseil-cpp/absl/status/internal/status_internal.h +4 -0
  1475. data/third_party/abseil-cpp/absl/status/internal/statusor_internal.h +12 -24
  1476. data/third_party/abseil-cpp/absl/status/status.cc +11 -7
  1477. data/third_party/abseil-cpp/absl/status/status.h +11 -2
  1478. data/third_party/abseil-cpp/absl/status/statusor.h +22 -8
  1479. data/third_party/abseil-cpp/absl/strings/ascii.cc +54 -6
  1480. data/third_party/abseil-cpp/absl/strings/charconv.cc +21 -4
  1481. data/third_party/abseil-cpp/absl/strings/charconv.h +2 -2
  1482. data/third_party/abseil-cpp/absl/strings/cord.cc +1 -2
  1483. data/third_party/abseil-cpp/absl/strings/cord.h +32 -5
  1484. data/third_party/abseil-cpp/absl/strings/cord_analysis.cc +23 -1
  1485. data/third_party/abseil-cpp/absl/strings/cord_analysis.h +18 -0
  1486. data/third_party/abseil-cpp/absl/strings/cord_buffer.h +2 -5
  1487. data/third_party/abseil-cpp/absl/strings/escaping.cc +10 -32
  1488. data/third_party/abseil-cpp/absl/strings/escaping.h +1 -1
  1489. data/third_party/abseil-cpp/absl/strings/internal/charconv_bigint.cc +2 -4
  1490. data/third_party/abseil-cpp/absl/strings/internal/charconv_bigint.h +3 -3
  1491. data/third_party/abseil-cpp/absl/strings/internal/cord_internal.cc +0 -1
  1492. data/third_party/abseil-cpp/absl/strings/internal/cord_internal.h +15 -13
  1493. data/third_party/abseil-cpp/absl/strings/internal/cord_rep_btree.cc +13 -4
  1494. data/third_party/abseil-cpp/absl/strings/internal/cord_rep_btree.h +8 -0
  1495. data/third_party/abseil-cpp/absl/strings/internal/cord_rep_consume.cc +5 -3
  1496. data/third_party/abseil-cpp/absl/strings/internal/cord_rep_consume.h +4 -7
  1497. data/third_party/abseil-cpp/absl/strings/internal/cord_rep_flat.h +8 -0
  1498. data/third_party/abseil-cpp/absl/strings/internal/cord_rep_ring.h +2 -2
  1499. data/third_party/abseil-cpp/absl/strings/internal/cordz_handle.cc +46 -20
  1500. data/third_party/abseil-cpp/absl/strings/internal/cordz_handle.h +1 -34
  1501. data/third_party/abseil-cpp/absl/strings/internal/cordz_info.cc +2 -1
  1502. data/third_party/abseil-cpp/absl/strings/internal/escaping.cc +23 -0
  1503. data/third_party/abseil-cpp/absl/strings/internal/escaping.h +1 -0
  1504. data/third_party/abseil-cpp/absl/strings/internal/memutil.cc +2 -77
  1505. data/third_party/abseil-cpp/absl/strings/internal/memutil.h +4 -112
  1506. data/third_party/abseil-cpp/absl/strings/internal/stl_type_traits.h +1 -1
  1507. data/third_party/abseil-cpp/absl/strings/internal/str_format/arg.cc +10 -31
  1508. data/third_party/abseil-cpp/absl/strings/internal/str_format/arg.h +8 -8
  1509. data/third_party/abseil-cpp/absl/strings/internal/str_format/bind.h +5 -20
  1510. data/third_party/abseil-cpp/absl/strings/internal/str_format/constexpr_parser.h +1 -0
  1511. data/third_party/abseil-cpp/absl/strings/internal/str_format/extension.h +1 -1
  1512. data/third_party/abseil-cpp/absl/strings/internal/str_format/float_conversion.cc +9 -9
  1513. data/third_party/abseil-cpp/absl/strings/internal/str_split_internal.h +56 -6
  1514. data/third_party/abseil-cpp/absl/strings/match.cc +87 -0
  1515. data/third_party/abseil-cpp/absl/strings/match.h +19 -0
  1516. data/third_party/abseil-cpp/absl/strings/numbers.cc +154 -122
  1517. data/third_party/abseil-cpp/absl/strings/numbers.h +1 -6
  1518. data/third_party/abseil-cpp/absl/strings/str_cat.cc +7 -50
  1519. data/third_party/abseil-cpp/absl/strings/str_cat.h +83 -15
  1520. data/third_party/abseil-cpp/absl/strings/str_format.h +6 -3
  1521. data/third_party/abseil-cpp/absl/strings/str_split.cc +9 -6
  1522. data/third_party/abseil-cpp/absl/strings/string_view.cc +26 -4
  1523. data/third_party/abseil-cpp/absl/synchronization/internal/create_thread_identity.cc +5 -0
  1524. data/third_party/abseil-cpp/absl/synchronization/internal/futex.h +63 -43
  1525. data/third_party/abseil-cpp/absl/synchronization/internal/futex_waiter.cc +111 -0
  1526. data/third_party/abseil-cpp/absl/synchronization/internal/futex_waiter.h +63 -0
  1527. data/third_party/abseil-cpp/absl/synchronization/internal/graphcycles.cc +11 -7
  1528. data/third_party/abseil-cpp/absl/synchronization/internal/kernel_timeout.cc +225 -0
  1529. data/third_party/abseil-cpp/absl/synchronization/internal/kernel_timeout.h +122 -114
  1530. data/third_party/abseil-cpp/absl/synchronization/internal/per_thread_sem.cc +12 -8
  1531. data/third_party/abseil-cpp/absl/synchronization/internal/per_thread_sem.h +10 -1
  1532. data/third_party/abseil-cpp/absl/synchronization/internal/pthread_waiter.cc +167 -0
  1533. data/third_party/abseil-cpp/absl/synchronization/internal/pthread_waiter.h +60 -0
  1534. data/third_party/abseil-cpp/absl/synchronization/internal/sem_waiter.cc +122 -0
  1535. data/third_party/abseil-cpp/absl/synchronization/internal/sem_waiter.h +65 -0
  1536. data/third_party/abseil-cpp/absl/synchronization/internal/stdcpp_waiter.cc +91 -0
  1537. data/third_party/abseil-cpp/absl/synchronization/internal/stdcpp_waiter.h +56 -0
  1538. data/third_party/abseil-cpp/absl/synchronization/internal/waiter.h +19 -113
  1539. data/third_party/abseil-cpp/absl/synchronization/internal/waiter_base.cc +42 -0
  1540. data/third_party/abseil-cpp/absl/synchronization/internal/waiter_base.h +90 -0
  1541. data/third_party/abseil-cpp/absl/synchronization/internal/win32_waiter.cc +151 -0
  1542. data/third_party/abseil-cpp/absl/synchronization/internal/win32_waiter.h +70 -0
  1543. data/third_party/abseil-cpp/absl/synchronization/mutex.cc +407 -411
  1544. data/third_party/abseil-cpp/absl/synchronization/mutex.h +152 -118
  1545. data/third_party/abseil-cpp/absl/time/clock.cc +6 -7
  1546. data/third_party/abseil-cpp/absl/time/duration.cc +24 -26
  1547. data/third_party/abseil-cpp/absl/time/internal/cctz/include/cctz/time_zone.h +1 -0
  1548. data/third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_fixed.cc +1 -1
  1549. data/third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_format.cc +3 -3
  1550. data/third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_if.cc +8 -6
  1551. data/third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_if.h +6 -3
  1552. data/third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_impl.cc +4 -2
  1553. data/third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_impl.h +4 -0
  1554. data/third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_info.cc +322 -295
  1555. data/third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_info.h +8 -17
  1556. data/third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_libc.cc +51 -33
  1557. data/third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_libc.h +7 -2
  1558. data/third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_lookup.cc +128 -2
  1559. data/third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_posix.h +1 -1
  1560. data/third_party/abseil-cpp/absl/time/internal/cctz/src/tzfile.h +5 -1
  1561. data/third_party/abseil-cpp/absl/time/internal/cctz/src/zone_info_source.cc +34 -34
  1562. data/third_party/abseil-cpp/absl/time/time.cc +9 -2
  1563. data/third_party/abseil-cpp/absl/time/time.h +115 -15
  1564. data/third_party/abseil-cpp/absl/types/internal/optional.h +0 -52
  1565. data/third_party/abseil-cpp/absl/types/internal/span.h +2 -2
  1566. data/third_party/abseil-cpp/absl/types/internal/variant.h +2 -2
  1567. data/third_party/abseil-cpp/absl/types/optional.h +15 -13
  1568. data/third_party/abseil-cpp/absl/types/span.h +1 -2
  1569. data/third_party/boringssl-with-bazel/err_data.c +554 -553
  1570. data/third_party/boringssl-with-bazel/src/crypto/asn1/a_gentm.c +7 -3
  1571. data/third_party/boringssl-with-bazel/src/crypto/asn1/a_strex.c +7 -7
  1572. data/third_party/boringssl-with-bazel/src/crypto/asn1/a_strnid.c +5 -5
  1573. data/third_party/boringssl-with-bazel/src/crypto/asn1/a_time.c +34 -1
  1574. data/third_party/boringssl-with-bazel/src/crypto/asn1/a_utctm.c +11 -4
  1575. data/third_party/boringssl-with-bazel/src/crypto/bio/bio.c +3 -3
  1576. data/third_party/boringssl-with-bazel/src/crypto/bio/bio_mem.c +7 -8
  1577. data/third_party/boringssl-with-bazel/src/crypto/bio/connect.c +7 -7
  1578. data/third_party/boringssl-with-bazel/src/crypto/bio/errno.c +92 -0
  1579. data/third_party/boringssl-with-bazel/src/crypto/bio/fd.c +5 -49
  1580. data/third_party/boringssl-with-bazel/src/crypto/bio/file.c +18 -13
  1581. data/third_party/boringssl-with-bazel/src/crypto/bio/internal.h +16 -6
  1582. data/third_party/boringssl-with-bazel/src/crypto/bio/socket.c +4 -4
  1583. data/third_party/boringssl-with-bazel/src/crypto/bio/socket_helper.c +11 -2
  1584. data/third_party/boringssl-with-bazel/src/crypto/bytestring/cbs.c +1 -1
  1585. data/third_party/boringssl-with-bazel/src/crypto/chacha/chacha.c +19 -1
  1586. data/third_party/boringssl-with-bazel/src/crypto/chacha/internal.h +8 -1
  1587. data/third_party/boringssl-with-bazel/src/crypto/conf/conf.c +31 -192
  1588. data/third_party/boringssl-with-bazel/src/crypto/conf/conf_def.h +3 -7
  1589. data/third_party/boringssl-with-bazel/src/crypto/conf/internal.h +8 -0
  1590. data/third_party/boringssl-with-bazel/src/crypto/cpu_aarch64_apple.c +3 -2
  1591. data/third_party/boringssl-with-bazel/src/crypto/cpu_aarch64_fuchsia.c +0 -1
  1592. data/third_party/boringssl-with-bazel/src/crypto/cpu_aarch64_linux.c +0 -2
  1593. data/third_party/boringssl-with-bazel/src/crypto/cpu_aarch64_openbsd.c +0 -1
  1594. data/third_party/boringssl-with-bazel/src/crypto/cpu_aarch64_sysreg.c +93 -0
  1595. data/third_party/boringssl-with-bazel/src/crypto/cpu_aarch64_win.c +1 -1
  1596. data/third_party/boringssl-with-bazel/src/crypto/cpu_arm_freebsd.c +0 -1
  1597. data/third_party/boringssl-with-bazel/src/crypto/cpu_arm_linux.c +0 -2
  1598. data/third_party/boringssl-with-bazel/src/crypto/curve25519/curve25519.c +49 -46
  1599. data/third_party/boringssl-with-bazel/src/crypto/curve25519/curve25519_64_adx.c +18 -0
  1600. data/third_party/boringssl-with-bazel/src/crypto/curve25519/curve25519_tables.h +2809 -7417
  1601. data/third_party/boringssl-with-bazel/src/crypto/curve25519/internal.h +27 -5
  1602. data/third_party/boringssl-with-bazel/src/crypto/dh_extra/dh_asn1.c +4 -0
  1603. data/third_party/boringssl-with-bazel/src/crypto/dh_extra/params.c +5 -0
  1604. data/third_party/boringssl-with-bazel/src/crypto/dsa/internal.h +20 -0
  1605. data/third_party/boringssl-with-bazel/src/crypto/ec_extra/ec_asn1.c +110 -72
  1606. data/third_party/boringssl-with-bazel/src/crypto/ec_extra/ec_derive.c +4 -3
  1607. data/third_party/boringssl-with-bazel/src/crypto/ec_extra/hash_to_curve.c +24 -28
  1608. data/third_party/boringssl-with-bazel/src/crypto/ec_extra/internal.h +4 -6
  1609. data/third_party/boringssl-with-bazel/src/crypto/err/err.c +23 -21
  1610. data/third_party/boringssl-with-bazel/src/crypto/evp/evp.c +35 -12
  1611. data/third_party/boringssl-with-bazel/src/crypto/evp/p_ec.c +2 -4
  1612. data/third_party/boringssl-with-bazel/src/crypto/evp/p_ec_asn1.c +3 -7
  1613. data/third_party/boringssl-with-bazel/src/crypto/evp/pbkdf.c +3 -3
  1614. data/third_party/boringssl-with-bazel/src/crypto/evp/print.c +7 -6
  1615. data/third_party/boringssl-with-bazel/src/crypto/ex_data.c +34 -72
  1616. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bcm.c +1 -1
  1617. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bn/div.c +12 -5
  1618. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bn/gcd.c +5 -6
  1619. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bn/internal.h +12 -6
  1620. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bn/montgomery.c +17 -18
  1621. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bn/montgomery_inv.c +51 -15
  1622. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bn/rsaz_exp.c +7 -7
  1623. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/delocate.h +5 -6
  1624. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/dh/check.c +37 -8
  1625. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/dh/dh.c +38 -19
  1626. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/dh/internal.h +9 -0
  1627. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/ec/builtin_curves.h +277 -0
  1628. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/ec/ec.c +180 -404
  1629. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/ec/ec_key.c +3 -3
  1630. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/ec/ec_montgomery.c +24 -57
  1631. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/ec/felem.c +17 -13
  1632. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/ec/internal.h +33 -71
  1633. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/ec/oct.c +18 -17
  1634. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/ec/p224-64.c +5 -7
  1635. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/ec/p256-nistz.c +15 -18
  1636. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/ec/p256.c +9 -11
  1637. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/ec/scalar.c +24 -24
  1638. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/ec/simple.c +11 -27
  1639. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/ec/simple_mul.c +8 -8
  1640. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/ec/wnaf.c +4 -4
  1641. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/ecdsa/ecdsa.c +9 -3
  1642. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/hkdf/hkdf.c +1 -1
  1643. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/rand/fork_detect.c +40 -26
  1644. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/rand/internal.h +21 -7
  1645. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/rand/rand.c +38 -19
  1646. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/rand/urandom.c +2 -29
  1647. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/rsa/internal.h +55 -0
  1648. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/rsa/rsa_impl.c +33 -52
  1649. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/self_check/self_check.c +42 -24
  1650. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/service_indicator/service_indicator.c +4 -7
  1651. data/third_party/boringssl-with-bazel/src/crypto/hpke/hpke.c +7 -0
  1652. data/third_party/boringssl-with-bazel/src/crypto/internal.h +211 -100
  1653. data/third_party/boringssl-with-bazel/src/crypto/kyber/kyber.c +5 -4
  1654. data/third_party/boringssl-with-bazel/src/crypto/mem.c +7 -8
  1655. data/third_party/boringssl-with-bazel/src/crypto/obj/obj.c +25 -46
  1656. data/third_party/boringssl-with-bazel/src/crypto/pkcs8/internal.h +3 -3
  1657. data/third_party/boringssl-with-bazel/src/crypto/pkcs8/p5_pbev2.c +3 -3
  1658. data/third_party/boringssl-with-bazel/src/crypto/pkcs8/pkcs8.c +7 -7
  1659. data/third_party/boringssl-with-bazel/src/crypto/pkcs8/pkcs8_x509.c +8 -5
  1660. data/third_party/boringssl-with-bazel/src/crypto/pool/internal.h +1 -0
  1661. data/third_party/boringssl-with-bazel/src/crypto/rand_extra/deterministic.c +7 -6
  1662. data/third_party/boringssl-with-bazel/src/crypto/rand_extra/forkunsafe.c +6 -12
  1663. data/third_party/boringssl-with-bazel/src/crypto/rand_extra/getentropy.c +52 -0
  1664. data/third_party/boringssl-with-bazel/src/crypto/rand_extra/ios.c +34 -0
  1665. data/third_party/boringssl-with-bazel/src/crypto/rand_extra/trusty.c +38 -0
  1666. data/third_party/boringssl-with-bazel/src/crypto/rand_extra/windows.c +41 -19
  1667. data/third_party/boringssl-with-bazel/src/crypto/refcount.c +59 -0
  1668. data/third_party/boringssl-with-bazel/src/crypto/stack/stack.c +152 -72
  1669. data/third_party/boringssl-with-bazel/src/crypto/thread_none.c +0 -8
  1670. data/third_party/boringssl-with-bazel/src/crypto/thread_pthread.c +6 -35
  1671. data/third_party/boringssl-with-bazel/src/crypto/thread_win.c +5 -26
  1672. data/third_party/boringssl-with-bazel/src/crypto/trust_token/pmbtoken.c +14 -18
  1673. data/third_party/boringssl-with-bazel/src/crypto/trust_token/voprf.c +54 -143
  1674. data/third_party/boringssl-with-bazel/src/crypto/x509/by_dir.c +8 -19
  1675. data/third_party/boringssl-with-bazel/src/crypto/x509/by_file.c +0 -3
  1676. data/third_party/boringssl-with-bazel/src/crypto/x509/internal.h +1 -1
  1677. data/third_party/boringssl-with-bazel/src/crypto/x509/x509_att.c +1 -1
  1678. data/third_party/boringssl-with-bazel/src/crypto/x509/x509_d2.c +1 -3
  1679. data/third_party/boringssl-with-bazel/src/crypto/x509/x509_lu.c +2 -4
  1680. data/third_party/boringssl-with-bazel/src/crypto/x509/x509_req.c +2 -2
  1681. data/third_party/boringssl-with-bazel/src/crypto/x509/x509_trs.c +1 -1
  1682. data/third_party/boringssl-with-bazel/src/crypto/x509/x509_v3.c +8 -12
  1683. data/third_party/boringssl-with-bazel/src/crypto/x509/x509_vfy.c +19 -20
  1684. data/third_party/boringssl-with-bazel/src/crypto/x509/x509name.c +11 -15
  1685. data/third_party/boringssl-with-bazel/src/crypto/x509/x_crl.c +5 -5
  1686. data/third_party/boringssl-with-bazel/src/crypto/x509/x_name.c +1 -1
  1687. data/third_party/boringssl-with-bazel/src/crypto/x509/x_pubkey.c +7 -7
  1688. data/third_party/boringssl-with-bazel/src/crypto/x509v3/v3_alt.c +2 -3
  1689. data/third_party/boringssl-with-bazel/src/crypto/x509v3/v3_lib.c +2 -3
  1690. data/third_party/boringssl-with-bazel/src/crypto/x509v3/v3_purp.c +4 -6
  1691. data/third_party/boringssl-with-bazel/src/include/openssl/arm_arch.h +4 -119
  1692. data/third_party/boringssl-with-bazel/src/include/openssl/asm_base.h +207 -0
  1693. data/third_party/boringssl-with-bazel/src/include/openssl/asn1.h +5 -0
  1694. data/third_party/boringssl-with-bazel/src/include/openssl/base.h +10 -116
  1695. data/third_party/boringssl-with-bazel/src/include/openssl/bio.h +11 -1
  1696. data/third_party/boringssl-with-bazel/src/include/openssl/bn.h +0 -2
  1697. data/third_party/boringssl-with-bazel/src/include/openssl/chacha.h +6 -0
  1698. data/third_party/boringssl-with-bazel/src/include/openssl/conf.h +5 -1
  1699. data/third_party/boringssl-with-bazel/src/include/openssl/dh.h +4 -1
  1700. data/third_party/boringssl-with-bazel/src/include/openssl/dsa.h +0 -21
  1701. data/third_party/boringssl-with-bazel/src/include/openssl/ec.h +28 -11
  1702. data/third_party/boringssl-with-bazel/src/include/openssl/ec_key.h +19 -6
  1703. data/third_party/boringssl-with-bazel/src/include/openssl/evp.h +11 -7
  1704. data/third_party/boringssl-with-bazel/src/include/openssl/hpke.h +6 -2
  1705. data/third_party/boringssl-with-bazel/src/include/openssl/rand.h +13 -14
  1706. data/third_party/boringssl-with-bazel/src/include/openssl/rsa.h +0 -61
  1707. data/third_party/boringssl-with-bazel/src/include/openssl/span.h +22 -20
  1708. data/third_party/boringssl-with-bazel/src/include/openssl/ssl.h +131 -81
  1709. data/third_party/boringssl-with-bazel/src/include/openssl/stack.h +236 -213
  1710. data/third_party/boringssl-with-bazel/src/include/openssl/target.h +201 -0
  1711. data/third_party/boringssl-with-bazel/src/include/openssl/thread.h +1 -29
  1712. data/third_party/boringssl-with-bazel/src/include/openssl/x509.h +4 -8
  1713. data/third_party/boringssl-with-bazel/src/include/openssl/x509v3.h +3 -2
  1714. data/third_party/boringssl-with-bazel/src/ssl/extensions.cc +9 -65
  1715. data/third_party/boringssl-with-bazel/src/ssl/handoff.cc +20 -20
  1716. data/third_party/boringssl-with-bazel/src/ssl/handshake_server.cc +1 -1
  1717. data/third_party/boringssl-with-bazel/src/ssl/internal.h +4 -11
  1718. data/third_party/boringssl-with-bazel/src/ssl/ssl_cipher.cc +26 -20
  1719. data/third_party/boringssl-with-bazel/src/ssl/ssl_file.cc +4 -4
  1720. data/third_party/boringssl-with-bazel/src/ssl/ssl_key_share.cc +37 -30
  1721. data/third_party/boringssl-with-bazel/src/ssl/ssl_lib.cc +127 -26
  1722. data/third_party/boringssl-with-bazel/src/ssl/tls13_client.cc +2 -3
  1723. data/third_party/boringssl-with-bazel/src/third_party/fiat/curve25519_64_adx.h +691 -0
  1724. data/third_party/upb/upb/base/descriptor_constants.h +7 -27
  1725. data/third_party/upb/upb/base/internal/log2.h +38 -0
  1726. data/third_party/upb/upb/base/status.c +6 -26
  1727. data/third_party/upb/upb/base/status.h +6 -26
  1728. data/third_party/upb/upb/base/status.hpp +50 -0
  1729. data/third_party/upb/upb/base/string_view.h +11 -28
  1730. data/third_party/upb/upb/generated_code_support.h +33 -0
  1731. data/third_party/upb/upb/hash/common.c +12 -44
  1732. data/third_party/upb/upb/hash/common.h +16 -41
  1733. data/third_party/upb/upb/hash/int_table.h +6 -26
  1734. data/third_party/upb/upb/hash/str_table.h +7 -26
  1735. data/third_party/upb/upb/json/decode.c +31 -28
  1736. data/third_party/upb/upb/json/decode.h +32 -29
  1737. data/third_party/upb/upb/json/encode.c +31 -28
  1738. data/third_party/upb/upb/json/encode.h +35 -32
  1739. data/third_party/upb/upb/lex/atoi.c +6 -26
  1740. data/third_party/upb/upb/lex/atoi.h +8 -26
  1741. data/third_party/upb/upb/lex/round_trip.c +6 -26
  1742. data/third_party/upb/upb/lex/round_trip.h +6 -26
  1743. data/third_party/upb/upb/lex/strtod.c +6 -26
  1744. data/third_party/upb/upb/lex/strtod.h +6 -26
  1745. data/third_party/upb/upb/lex/unicode.c +6 -26
  1746. data/third_party/upb/upb/lex/unicode.h +8 -26
  1747. data/third_party/upb/upb/mem/alloc.c +6 -26
  1748. data/third_party/upb/upb/mem/alloc.h +6 -26
  1749. data/third_party/upb/upb/mem/arena.c +30 -29
  1750. data/third_party/upb/upb/mem/arena.h +16 -44
  1751. data/third_party/upb/upb/mem/arena.hpp +54 -0
  1752. data/third_party/upb/upb/mem/internal/arena.h +94 -0
  1753. data/third_party/upb/upb/message/accessors.c +34 -31
  1754. data/third_party/upb/upb/message/accessors.h +58 -57
  1755. data/third_party/upb/upb/message/array.c +154 -0
  1756. data/third_party/upb/upb/message/array.h +98 -0
  1757. data/third_party/upb/upb/message/internal/accessors.h +367 -0
  1758. data/third_party/upb/upb/message/internal/array.h +138 -0
  1759. data/third_party/upb/upb/message/internal/extension.h +63 -0
  1760. data/third_party/upb/upb/message/internal/map.h +173 -0
  1761. data/third_party/upb/upb/message/internal/map_entry.h +66 -0
  1762. data/third_party/upb/upb/message/internal/map_sorter.h +112 -0
  1763. data/third_party/upb/upb/message/internal/message.h +106 -0
  1764. data/third_party/upb/upb/message/internal/types.h +23 -0
  1765. data/third_party/upb/upb/message/map.c +145 -0
  1766. data/third_party/upb/upb/message/map.h +147 -0
  1767. data/third_party/upb/upb/message/map_gencode_util.h +81 -0
  1768. data/third_party/upb/upb/message/map_sorter.c +170 -0
  1769. data/third_party/upb/upb/message/message.c +8 -34
  1770. data/third_party/upb/upb/message/message.h +10 -27
  1771. data/third_party/upb/upb/message/tagged_ptr.h +69 -0
  1772. data/third_party/upb/upb/message/types.h +15 -0
  1773. data/third_party/upb/upb/message/value.h +46 -0
  1774. data/third_party/upb/upb/mini_descriptor/build_enum.c +130 -0
  1775. data/third_party/upb/upb/mini_descriptor/build_enum.h +42 -0
  1776. data/third_party/upb/upb/mini_descriptor/decode.c +870 -0
  1777. data/third_party/upb/upb/mini_descriptor/decode.h +120 -0
  1778. data/third_party/upb/upb/mini_descriptor/internal/base92.c +26 -0
  1779. data/third_party/upb/upb/mini_descriptor/internal/base92.h +63 -0
  1780. data/third_party/upb/upb/mini_descriptor/internal/decoder.h +53 -0
  1781. data/third_party/upb/upb/mini_descriptor/internal/encode.c +323 -0
  1782. data/third_party/upb/upb/mini_descriptor/internal/encode.h +92 -0
  1783. data/third_party/upb/upb/mini_descriptor/internal/encode.hpp +118 -0
  1784. data/third_party/upb/upb/mini_descriptor/internal/modifiers.h +32 -0
  1785. data/third_party/upb/upb/mini_descriptor/internal/wire_constants.h +72 -0
  1786. data/third_party/upb/upb/mini_descriptor/link.c +122 -0
  1787. data/third_party/upb/upb/mini_descriptor/link.h +84 -0
  1788. data/third_party/upb/upb/mini_table/enum.h +38 -0
  1789. data/third_party/upb/upb/mini_table/extension.h +15 -0
  1790. data/third_party/upb/upb/mini_table/extension_registry.c +7 -27
  1791. data/third_party/upb/upb/mini_table/extension_registry.h +9 -28
  1792. data/third_party/upb/upb/mini_table/field.h +98 -0
  1793. data/third_party/upb/upb/mini_table/file.h +15 -0
  1794. data/third_party/upb/upb/mini_table/internal/enum.h +58 -0
  1795. data/third_party/upb/upb/mini_table/internal/extension.h +27 -0
  1796. data/third_party/upb/upb/mini_table/internal/field.h +114 -0
  1797. data/third_party/upb/upb/mini_table/internal/file.h +29 -0
  1798. data/third_party/upb/upb/mini_table/internal/message.c +19 -0
  1799. data/third_party/upb/upb/mini_table/internal/message.h +88 -0
  1800. data/third_party/upb/upb/mini_table/internal/sub.h +18 -0
  1801. data/third_party/upb/upb/mini_table/message.c +77 -0
  1802. data/third_party/upb/upb/mini_table/message.h +85 -0
  1803. data/third_party/upb/upb/mini_table/sub.h +15 -0
  1804. data/third_party/upb/upb/port/atomic.h +8 -26
  1805. data/third_party/upb/upb/port/def.inc +28 -29
  1806. data/third_party/upb/upb/port/undef.inc +8 -26
  1807. data/third_party/upb/upb/port/vsnprintf_compat.h +6 -26
  1808. data/third_party/upb/upb/reflection/common.h +11 -27
  1809. data/third_party/upb/upb/reflection/def.h +8 -26
  1810. data/third_party/upb/upb/reflection/def.hpp +26 -31
  1811. data/third_party/upb/upb/reflection/def_pool.c +16 -35
  1812. data/third_party/upb/upb/reflection/def_pool.h +17 -38
  1813. data/third_party/upb/upb/reflection/def_type.c +6 -26
  1814. data/third_party/upb/upb/reflection/def_type.h +6 -27
  1815. data/third_party/upb/upb/reflection/desc_state.c +7 -27
  1816. data/third_party/upb/upb/reflection/enum_def.c +19 -37
  1817. data/third_party/upb/upb/reflection/enum_def.h +13 -33
  1818. data/third_party/upb/upb/reflection/enum_reserved_range.c +9 -30
  1819. data/third_party/upb/upb/reflection/enum_reserved_range.h +6 -26
  1820. data/third_party/upb/upb/reflection/enum_value_def.c +13 -32
  1821. data/third_party/upb/upb/reflection/enum_value_def.h +8 -28
  1822. data/third_party/upb/upb/reflection/extension_range.c +9 -28
  1823. data/third_party/upb/upb/reflection/extension_range.h +6 -26
  1824. data/third_party/upb/upb/reflection/field_def.c +70 -52
  1825. data/third_party/upb/upb/reflection/field_def.h +25 -42
  1826. data/third_party/upb/upb/reflection/file_def.c +23 -48
  1827. data/third_party/upb/upb/reflection/file_def.h +10 -30
  1828. data/third_party/upb/upb/reflection/internal/def_builder.c +339 -0
  1829. data/third_party/upb/upb/reflection/internal/def_builder.h +137 -0
  1830. data/third_party/upb/upb/reflection/internal/def_pool.h +57 -0
  1831. data/third_party/upb/upb/reflection/internal/desc_state.h +44 -0
  1832. data/third_party/upb/upb/reflection/internal/enum_def.h +36 -0
  1833. data/third_party/upb/upb/reflection/internal/enum_reserved_range.h +35 -0
  1834. data/third_party/upb/upb/reflection/internal/enum_value_def.h +37 -0
  1835. data/third_party/upb/upb/reflection/internal/extension_range.h +34 -0
  1836. data/third_party/upb/upb/reflection/internal/field_def.h +56 -0
  1837. data/third_party/upb/upb/reflection/internal/file_def.h +37 -0
  1838. data/third_party/upb/upb/reflection/internal/message_def.h +43 -0
  1839. data/third_party/upb/upb/reflection/internal/message_reserved_range.h +35 -0
  1840. data/third_party/upb/upb/reflection/internal/method_def.h +33 -0
  1841. data/third_party/upb/upb/reflection/internal/oneof_def.h +37 -0
  1842. data/third_party/upb/upb/reflection/internal/service_def.h +33 -0
  1843. data/third_party/upb/upb/reflection/internal/strdup2.c +33 -0
  1844. data/third_party/upb/upb/reflection/internal/strdup2.h +32 -0
  1845. data/third_party/upb/upb/reflection/message.c +10 -30
  1846. data/third_party/upb/upb/reflection/message.h +27 -40
  1847. data/third_party/upb/upb/reflection/message.hpp +5 -23
  1848. data/third_party/upb/upb/reflection/message_def.c +73 -55
  1849. data/third_party/upb/upb/reflection/message_def.h +25 -43
  1850. data/third_party/upb/upb/reflection/message_reserved_range.c +8 -28
  1851. data/third_party/upb/upb/reflection/message_reserved_range.h +6 -26
  1852. data/third_party/upb/upb/reflection/method_def.c +10 -29
  1853. data/third_party/upb/upb/reflection/method_def.h +6 -26
  1854. data/third_party/upb/upb/reflection/oneof_def.c +15 -33
  1855. data/third_party/upb/upb/reflection/oneof_def.h +11 -30
  1856. data/third_party/upb/upb/reflection/service_def.c +12 -31
  1857. data/third_party/upb/upb/reflection/service_def.h +6 -26
  1858. data/third_party/upb/upb/text/encode.c +8 -28
  1859. data/third_party/upb/upb/text/encode.h +6 -26
  1860. data/third_party/upb/upb/wire/decode.c +106 -68
  1861. data/third_party/upb/upb/wire/decode.h +50 -26
  1862. data/third_party/upb/upb/wire/decode_fast.c +10 -28
  1863. data/third_party/upb/upb/wire/decode_fast.h +6 -26
  1864. data/third_party/upb/upb/wire/encode.c +52 -46
  1865. data/third_party/upb/upb/wire/encode.h +14 -30
  1866. data/third_party/upb/upb/wire/eps_copy_input_stream.c +6 -26
  1867. data/third_party/upb/upb/wire/eps_copy_input_stream.h +6 -26
  1868. data/third_party/upb/upb/wire/internal/constants.h +27 -0
  1869. data/third_party/upb/upb/wire/internal/decode.h +143 -0
  1870. data/third_party/upb/upb/wire/internal/swap.h +45 -0
  1871. data/third_party/upb/upb/wire/reader.c +6 -26
  1872. data/third_party/upb/upb/wire/reader.h +8 -28
  1873. data/third_party/upb/upb/wire/types.h +6 -26
  1874. data/third_party/zlib/adler32.c +5 -27
  1875. data/third_party/zlib/compress.c +5 -16
  1876. data/third_party/zlib/crc32.c +86 -162
  1877. data/third_party/zlib/deflate.c +233 -336
  1878. data/third_party/zlib/deflate.h +8 -8
  1879. data/third_party/zlib/gzguts.h +11 -12
  1880. data/third_party/zlib/infback.c +7 -23
  1881. data/third_party/zlib/inffast.c +1 -4
  1882. data/third_party/zlib/inffast.h +1 -1
  1883. data/third_party/zlib/inflate.c +30 -99
  1884. data/third_party/zlib/inftrees.c +6 -11
  1885. data/third_party/zlib/inftrees.h +3 -3
  1886. data/third_party/zlib/trees.c +224 -302
  1887. data/third_party/zlib/uncompr.c +4 -12
  1888. data/third_party/zlib/zconf.h +6 -2
  1889. data/third_party/zlib/zlib.h +191 -188
  1890. data/third_party/zlib/zutil.c +16 -44
  1891. data/third_party/zlib/zutil.h +10 -10
  1892. metadata +979 -741
  1893. data/src/core/ext/filters/client_channel/http_proxy.cc +0 -233
  1894. data/src/core/ext/filters/client_channel/http_proxy.h +0 -52
  1895. data/src/core/ext/filters/client_channel/lb_policy/xds/xds_attributes.cc +0 -42
  1896. data/src/core/ext/filters/client_channel/lb_policy/xds/xds_attributes.h +0 -64
  1897. data/src/core/ext/filters/client_channel/lb_policy/xds/xds_cluster_resolver.cc +0 -1226
  1898. data/src/core/ext/filters/client_channel/resolver/xds/xds_resolver.h +0 -45
  1899. data/src/core/ext/transport/chttp2/transport/stream_map.cc +0 -177
  1900. data/src/core/ext/transport/chttp2/transport/stream_map.h +0 -68
  1901. data/src/core/ext/upb-generated/envoy/admin/v3/certs.upb.c +0 -152
  1902. data/src/core/ext/upb-generated/envoy/admin/v3/certs.upb.h +0 -735
  1903. data/src/core/ext/upb-generated/envoy/admin/v3/clusters.upb.c +0 -183
  1904. data/src/core/ext/upb-generated/envoy/admin/v3/clusters.upb.h +0 -835
  1905. data/src/core/ext/upb-generated/envoy/admin/v3/config_dump.upb.c +0 -160
  1906. data/src/core/ext/upb-generated/envoy/admin/v3/config_dump.upb.h +0 -743
  1907. data/src/core/ext/upb-generated/envoy/admin/v3/config_dump_shared.upb.c +0 -535
  1908. data/src/core/ext/upb-generated/envoy/admin/v3/config_dump_shared.upb.h +0 -2796
  1909. data/src/core/ext/upb-generated/envoy/admin/v3/init_dump.upb.c +0 -69
  1910. data/src/core/ext/upb-generated/envoy/admin/v3/init_dump.upb.h +0 -256
  1911. data/src/core/ext/upb-generated/envoy/admin/v3/listeners.upb.c +0 -77
  1912. data/src/core/ext/upb-generated/envoy/admin/v3/listeners.upb.h +0 -287
  1913. data/src/core/ext/upb-generated/envoy/admin/v3/memory.upb.c +0 -59
  1914. data/src/core/ext/upb-generated/envoy/admin/v3/memory.upb.h +0 -168
  1915. data/src/core/ext/upb-generated/envoy/admin/v3/metrics.upb.c +0 -52
  1916. data/src/core/ext/upb-generated/envoy/admin/v3/metrics.upb.h +0 -128
  1917. data/src/core/ext/upb-generated/envoy/admin/v3/mutex_stats.upb.c +0 -52
  1918. data/src/core/ext/upb-generated/envoy/admin/v3/mutex_stats.upb.h +0 -123
  1919. data/src/core/ext/upb-generated/envoy/admin/v3/server_info.upb.c +0 -153
  1920. data/src/core/ext/upb-generated/envoy/admin/v3/server_info.upb.h +0 -935
  1921. data/src/core/ext/upb-generated/envoy/admin/v3/tap.upb.c +0 -57
  1922. data/src/core/ext/upb-generated/envoy/admin/v3/tap.upb.h +0 -122
  1923. data/src/core/ext/upb-generated/envoy/annotations/deprecation.upb.c +0 -63
  1924. data/src/core/ext/upb-generated/envoy/annotations/deprecation.upb.h +0 -134
  1925. data/src/core/ext/upb-generated/envoy/annotations/resource.upb.c +0 -60
  1926. data/src/core/ext/upb-generated/envoy/annotations/resource.upb.h +0 -118
  1927. data/src/core/ext/upb-generated/envoy/config/accesslog/v3/accesslog.upb.c +0 -357
  1928. data/src/core/ext/upb-generated/envoy/config/accesslog/v3/accesslog.upb.h +0 -1629
  1929. data/src/core/ext/upb-generated/envoy/config/bootstrap/v3/bootstrap.upb.c +0 -572
  1930. data/src/core/ext/upb-generated/envoy/config/bootstrap/v3/bootstrap.upb.h +0 -3257
  1931. data/src/core/ext/upb-generated/envoy/config/cluster/v3/circuit_breaker.upb.c +0 -128
  1932. data/src/core/ext/upb-generated/envoy/config/cluster/v3/circuit_breaker.upb.h +0 -532
  1933. data/src/core/ext/upb-generated/envoy/config/cluster/v3/cluster.upb.c +0 -732
  1934. data/src/core/ext/upb-generated/envoy/config/cluster/v3/cluster.upb.h +0 -3926
  1935. data/src/core/ext/upb-generated/envoy/config/cluster/v3/filter.upb.c +0 -57
  1936. data/src/core/ext/upb-generated/envoy/config/cluster/v3/filter.upb.h +0 -122
  1937. data/src/core/ext/upb-generated/envoy/config/cluster/v3/outlier_detection.upb.c +0 -126
  1938. data/src/core/ext/upb-generated/envoy/config/cluster/v3/outlier_detection.upb.h +0 -664
  1939. data/src/core/ext/upb-generated/envoy/config/common/matcher/v3/matcher.upb.c +0 -398
  1940. data/src/core/ext/upb-generated/envoy/config/common/matcher/v3/matcher.upb.h +0 -1849
  1941. data/src/core/ext/upb-generated/envoy/config/core/v3/address.upb.c +0 -227
  1942. data/src/core/ext/upb-generated/envoy/config/core/v3/address.upb.h +0 -1054
  1943. data/src/core/ext/upb-generated/envoy/config/core/v3/backoff.upb.c +0 -58
  1944. data/src/core/ext/upb-generated/envoy/config/core/v3/backoff.upb.h +0 -134
  1945. data/src/core/ext/upb-generated/envoy/config/core/v3/base.upb.c +0 -580
  1946. data/src/core/ext/upb-generated/envoy/config/core/v3/base.upb.h +0 -2448
  1947. data/src/core/ext/upb-generated/envoy/config/core/v3/config_source.upb.c +0 -235
  1948. data/src/core/ext/upb-generated/envoy/config/core/v3/config_source.upb.h +0 -1180
  1949. data/src/core/ext/upb-generated/envoy/config/core/v3/event_service_config.upb.c +0 -54
  1950. data/src/core/ext/upb-generated/envoy/config/core/v3/event_service_config.upb.h +0 -115
  1951. data/src/core/ext/upb-generated/envoy/config/core/v3/extension.upb.c +0 -56
  1952. data/src/core/ext/upb-generated/envoy/config/core/v3/extension.upb.h +0 -122
  1953. data/src/core/ext/upb-generated/envoy/config/core/v3/grpc_method_list.upb.c +0 -71
  1954. data/src/core/ext/upb-generated/envoy/config/core/v3/grpc_method_list.upb.h +0 -256
  1955. data/src/core/ext/upb-generated/envoy/config/core/v3/grpc_service.upb.c +0 -376
  1956. data/src/core/ext/upb-generated/envoy/config/core/v3/grpc_service.upb.h +0 -1678
  1957. data/src/core/ext/upb-generated/envoy/config/core/v3/health_check.upb.c +0 -314
  1958. data/src/core/ext/upb-generated/envoy/config/core/v3/health_check.upb.h +0 -1886
  1959. data/src/core/ext/upb-generated/envoy/config/core/v3/http_uri.upb.c +0 -58
  1960. data/src/core/ext/upb-generated/envoy/config/core/v3/http_uri.upb.h +0 -149
  1961. data/src/core/ext/upb-generated/envoy/config/core/v3/protocol.upb.c +0 -465
  1962. data/src/core/ext/upb-generated/envoy/config/core/v3/protocol.upb.h +0 -2222
  1963. data/src/core/ext/upb-generated/envoy/config/core/v3/proxy_protocol.upb.c +0 -73
  1964. data/src/core/ext/upb-generated/envoy/config/core/v3/proxy_protocol.upb.h +0 -245
  1965. data/src/core/ext/upb-generated/envoy/config/core/v3/resolver.upb.c +0 -75
  1966. data/src/core/ext/upb-generated/envoy/config/core/v3/resolver.upb.h +0 -239
  1967. data/src/core/ext/upb-generated/envoy/config/core/v3/socket_option.upb.c +0 -79
  1968. data/src/core/ext/upb-generated/envoy/config/core/v3/socket_option.upb.h +0 -293
  1969. data/src/core/ext/upb-generated/envoy/config/core/v3/substitution_format_string.upb.c +0 -69
  1970. data/src/core/ext/upb-generated/envoy/config/core/v3/substitution_format_string.upb.h +0 -260
  1971. data/src/core/ext/upb-generated/envoy/config/core/v3/udp_socket_config.upb.c +0 -57
  1972. data/src/core/ext/upb-generated/envoy/config/core/v3/udp_socket_config.upb.h +0 -136
  1973. data/src/core/ext/upb-generated/envoy/config/endpoint/v3/endpoint.upb.c +0 -141
  1974. data/src/core/ext/upb-generated/envoy/config/endpoint/v3/endpoint.upb.h +0 -498
  1975. data/src/core/ext/upb-generated/envoy/config/endpoint/v3/endpoint_components.upb.c +0 -207
  1976. data/src/core/ext/upb-generated/envoy/config/endpoint/v3/endpoint_components.upb.h +0 -875
  1977. data/src/core/ext/upb-generated/envoy/config/endpoint/v3/load_report.upb.c +0 -182
  1978. data/src/core/ext/upb-generated/envoy/config/endpoint/v3/load_report.upb.h +0 -920
  1979. data/src/core/ext/upb-generated/envoy/config/listener/v3/api_listener.upb.c +0 -53
  1980. data/src/core/ext/upb-generated/envoy/config/listener/v3/api_listener.upb.h +0 -107
  1981. data/src/core/ext/upb-generated/envoy/config/listener/v3/listener.upb.c +0 -269
  1982. data/src/core/ext/upb-generated/envoy/config/listener/v3/listener.upb.h +0 -1600
  1983. data/src/core/ext/upb-generated/envoy/config/listener/v3/listener_components.upb.c +0 -263
  1984. data/src/core/ext/upb-generated/envoy/config/listener/v3/listener_components.upb.h +0 -1459
  1985. data/src/core/ext/upb-generated/envoy/config/listener/v3/quic_config.upb.c +0 -89
  1986. data/src/core/ext/upb-generated/envoy/config/listener/v3/quic_config.upb.h +0 -331
  1987. data/src/core/ext/upb-generated/envoy/config/listener/v3/udp_listener_config.upb.c +0 -80
  1988. data/src/core/ext/upb-generated/envoy/config/listener/v3/udp_listener_config.upb.h +0 -204
  1989. data/src/core/ext/upb-generated/envoy/config/metrics/v3/metrics_service.upb.c +0 -66
  1990. data/src/core/ext/upb-generated/envoy/config/metrics/v3/metrics_service.upb.h +0 -166
  1991. data/src/core/ext/upb-generated/envoy/config/metrics/v3/stats.upb.c +0 -222
  1992. data/src/core/ext/upb-generated/envoy/config/metrics/v3/stats.upb.h +0 -988
  1993. data/src/core/ext/upb-generated/envoy/config/overload/v3/overload.upb.c +0 -229
  1994. data/src/core/ext/upb-generated/envoy/config/overload/v3/overload.upb.h +0 -1017
  1995. data/src/core/ext/upb-generated/envoy/config/rbac/v3/rbac.upb.c +0 -351
  1996. data/src/core/ext/upb-generated/envoy/config/rbac/v3/rbac.upb.h +0 -1717
  1997. data/src/core/ext/upb-generated/envoy/config/route/v3/route.upb.c +0 -136
  1998. data/src/core/ext/upb-generated/envoy/config/route/v3/route.upb.h +0 -867
  1999. data/src/core/ext/upb-generated/envoy/config/route/v3/route_components.upb.c +0 -1646
  2000. data/src/core/ext/upb-generated/envoy/config/route/v3/route_components.upb.h +0 -9598
  2001. data/src/core/ext/upb-generated/envoy/config/route/v3/scoped_route.upb.c +0 -100
  2002. data/src/core/ext/upb-generated/envoy/config/route/v3/scoped_route.upb.h +0 -347
  2003. data/src/core/ext/upb-generated/envoy/config/tap/v3/common.upb.c +0 -328
  2004. data/src/core/ext/upb-generated/envoy/config/tap/v3/common.upb.h +0 -1530
  2005. data/src/core/ext/upb-generated/envoy/config/trace/v3/datadog.upb.c +0 -54
  2006. data/src/core/ext/upb-generated/envoy/config/trace/v3/datadog.upb.h +0 -123
  2007. data/src/core/ext/upb-generated/envoy/config/trace/v3/dynamic_ot.upb.c +0 -58
  2008. data/src/core/ext/upb-generated/envoy/config/trace/v3/dynamic_ot.upb.h +0 -122
  2009. data/src/core/ext/upb-generated/envoy/config/trace/v3/http_tracer.upb.c +0 -76
  2010. data/src/core/ext/upb-generated/envoy/config/trace/v3/http_tracer.upb.h +0 -196
  2011. data/src/core/ext/upb-generated/envoy/config/trace/v3/lightstep.upb.c +0 -65
  2012. data/src/core/ext/upb-generated/envoy/config/trace/v3/lightstep.upb.h +0 -205
  2013. data/src/core/ext/upb-generated/envoy/config/trace/v3/opencensus.upb.c +0 -84
  2014. data/src/core/ext/upb-generated/envoy/config/trace/v3/opencensus.upb.h +0 -413
  2015. data/src/core/ext/upb-generated/envoy/config/trace/v3/opentelemetry.upb.c +0 -55
  2016. data/src/core/ext/upb-generated/envoy/config/trace/v3/opentelemetry.upb.h +0 -122
  2017. data/src/core/ext/upb-generated/envoy/config/trace/v3/service.upb.c +0 -54
  2018. data/src/core/ext/upb-generated/envoy/config/trace/v3/service.upb.h +0 -107
  2019. data/src/core/ext/upb-generated/envoy/config/trace/v3/skywalking.upb.c +0 -88
  2020. data/src/core/ext/upb-generated/envoy/config/trace/v3/skywalking.upb.h +0 -259
  2021. data/src/core/ext/upb-generated/envoy/config/trace/v3/trace.upb.c +0 -36
  2022. data/src/core/ext/upb-generated/envoy/config/trace/v3/trace.upb.h +0 -48
  2023. data/src/core/ext/upb-generated/envoy/config/trace/v3/xray.upb.c +0 -90
  2024. data/src/core/ext/upb-generated/envoy/config/trace/v3/xray.upb.h +0 -261
  2025. data/src/core/ext/upb-generated/envoy/config/trace/v3/zipkin.upb.c +0 -68
  2026. data/src/core/ext/upb-generated/envoy/config/trace/v3/zipkin.upb.h +0 -204
  2027. data/src/core/ext/upb-generated/envoy/extensions/clusters/aggregate/v3/cluster.upb.c +0 -49
  2028. data/src/core/ext/upb-generated/envoy/extensions/clusters/aggregate/v3/cluster.upb.h +0 -139
  2029. data/src/core/ext/upb-generated/envoy/extensions/filters/common/fault/v3/fault.upb.c +0 -119
  2030. data/src/core/ext/upb-generated/envoy/extensions/filters/common/fault/v3/fault.upb.h +0 -437
  2031. data/src/core/ext/upb-generated/envoy/extensions/filters/http/fault/v3/fault.upb.c +0 -125
  2032. data/src/core/ext/upb-generated/envoy/extensions/filters/http/fault/v3/fault.upb.h +0 -635
  2033. data/src/core/ext/upb-generated/envoy/extensions/filters/http/rbac/v3/rbac.upb.c +0 -90
  2034. data/src/core/ext/upb-generated/envoy/extensions/filters/http/rbac/v3/rbac.upb.h +0 -271
  2035. data/src/core/ext/upb-generated/envoy/extensions/filters/http/router/v3/router.upb.c +0 -79
  2036. data/src/core/ext/upb-generated/envoy/extensions/filters/http/router/v3/router.upb.h +0 -358
  2037. data/src/core/ext/upb-generated/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upb.c +0 -75
  2038. data/src/core/ext/upb-generated/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upb.h +0 -201
  2039. data/src/core/ext/upb-generated/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upb.c +0 -656
  2040. data/src/core/ext/upb-generated/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upb.h +0 -3850
  2041. data/src/core/ext/upb-generated/envoy/extensions/http/stateful_session/cookie/v3/cookie.upb.c +0 -53
  2042. data/src/core/ext/upb-generated/envoy/extensions/http/stateful_session/cookie/v3/cookie.upb.h +0 -107
  2043. 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 -69
  2044. 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
  2045. data/src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/common/v3/common.upb.c +0 -138
  2046. data/src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/common/v3/common.upb.h +0 -499
  2047. data/src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/ring_hash/v3/ring_hash.upb.c +0 -71
  2048. data/src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/ring_hash/v3/ring_hash.upb.h +0 -257
  2049. data/src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/wrr_locality/v3/wrr_locality.upb.c +0 -53
  2050. data/src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/wrr_locality/v3/wrr_locality.upb.h +0 -107
  2051. data/src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/cert.upb.c +0 -31
  2052. data/src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/cert.upb.h +0 -43
  2053. data/src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/common.upb.c +0 -265
  2054. data/src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/common.upb.h +0 -1479
  2055. data/src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/secret.upb.c +0 -111
  2056. data/src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/secret.upb.h +0 -369
  2057. data/src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/tls.upb.c +0 -270
  2058. data/src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/tls.upb.h +0 -1482
  2059. data/src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upb.c +0 -75
  2060. data/src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upb.h +0 -224
  2061. data/src/core/ext/upb-generated/envoy/service/discovery/v3/ads.upb.c +0 -41
  2062. data/src/core/ext/upb-generated/envoy/service/discovery/v3/ads.upb.h +0 -78
  2063. data/src/core/ext/upb-generated/envoy/service/discovery/v3/discovery.upb.c +0 -405
  2064. data/src/core/ext/upb-generated/envoy/service/discovery/v3/discovery.upb.h +0 -2161
  2065. data/src/core/ext/upb-generated/envoy/service/load_stats/v3/lrs.upb.c +0 -87
  2066. data/src/core/ext/upb-generated/envoy/service/load_stats/v3/lrs.upb.h +0 -331
  2067. data/src/core/ext/upb-generated/envoy/service/status/v3/csds.upb.c +0 -185
  2068. data/src/core/ext/upb-generated/envoy/service/status/v3/csds.upb.h +0 -923
  2069. data/src/core/ext/upb-generated/envoy/type/http/v3/cookie.upb.c +0 -57
  2070. data/src/core/ext/upb-generated/envoy/type/http/v3/cookie.upb.h +0 -137
  2071. data/src/core/ext/upb-generated/envoy/type/http/v3/path_transformation.upb.c +0 -89
  2072. data/src/core/ext/upb-generated/envoy/type/http/v3/path_transformation.upb.h +0 -321
  2073. data/src/core/ext/upb-generated/envoy/type/matcher/v3/filter_state.upb.c +0 -56
  2074. data/src/core/ext/upb-generated/envoy/type/matcher/v3/filter_state.upb.h +0 -130
  2075. data/src/core/ext/upb-generated/envoy/type/matcher/v3/http_inputs.upb.c +0 -108
  2076. data/src/core/ext/upb-generated/envoy/type/matcher/v3/http_inputs.upb.h +0 -309
  2077. data/src/core/ext/upb-generated/envoy/type/matcher/v3/metadata.upb.c +0 -79
  2078. data/src/core/ext/upb-generated/envoy/type/matcher/v3/metadata.upb.h +0 -266
  2079. data/src/core/ext/upb-generated/envoy/type/matcher/v3/node.upb.c +0 -58
  2080. data/src/core/ext/upb-generated/envoy/type/matcher/v3/node.upb.h +0 -172
  2081. data/src/core/ext/upb-generated/envoy/type/matcher/v3/number.upb.c +0 -57
  2082. data/src/core/ext/upb-generated/envoy/type/matcher/v3/number.upb.h +0 -135
  2083. data/src/core/ext/upb-generated/envoy/type/matcher/v3/path.upb.c +0 -54
  2084. data/src/core/ext/upb-generated/envoy/type/matcher/v3/path.upb.h +0 -115
  2085. data/src/core/ext/upb-generated/envoy/type/matcher/v3/regex.upb.c +0 -99
  2086. data/src/core/ext/upb-generated/envoy/type/matcher/v3/regex.upb.h +0 -277
  2087. data/src/core/ext/upb-generated/envoy/type/matcher/v3/status_code_input.upb.c +0 -46
  2088. data/src/core/ext/upb-generated/envoy/type/matcher/v3/status_code_input.upb.h +0 -117
  2089. data/src/core/ext/upb-generated/envoy/type/matcher/v3/string.upb.c +0 -84
  2090. data/src/core/ext/upb-generated/envoy/type/matcher/v3/string.upb.h +0 -312
  2091. data/src/core/ext/upb-generated/envoy/type/matcher/v3/struct.upb.c +0 -73
  2092. data/src/core/ext/upb-generated/envoy/type/matcher/v3/struct.upb.h +0 -236
  2093. data/src/core/ext/upb-generated/envoy/type/matcher/v3/value.upb.c +0 -95
  2094. data/src/core/ext/upb-generated/envoy/type/matcher/v3/value.upb.h +0 -354
  2095. data/src/core/ext/upb-generated/envoy/type/metadata/v3/metadata.upb.c +0 -130
  2096. data/src/core/ext/upb-generated/envoy/type/metadata/v3/metadata.upb.h +0 -536
  2097. data/src/core/ext/upb-generated/envoy/type/tracing/v3/custom_tag.upb.c +0 -142
  2098. data/src/core/ext/upb-generated/envoy/type/tracing/v3/custom_tag.upb.h +0 -516
  2099. data/src/core/ext/upb-generated/envoy/type/v3/hash_policy.upb.c +0 -79
  2100. data/src/core/ext/upb-generated/envoy/type/v3/hash_policy.upb.h +0 -234
  2101. data/src/core/ext/upb-generated/envoy/type/v3/http.upb.c +0 -29
  2102. data/src/core/ext/upb-generated/envoy/type/v3/http.upb.h +0 -44
  2103. data/src/core/ext/upb-generated/envoy/type/v3/http_status.upb.c +0 -49
  2104. data/src/core/ext/upb-generated/envoy/type/v3/http_status.upb.h +0 -153
  2105. data/src/core/ext/upb-generated/envoy/type/v3/percent.upb.c +0 -67
  2106. data/src/core/ext/upb-generated/envoy/type/v3/percent.upb.h +0 -168
  2107. data/src/core/ext/upb-generated/envoy/type/v3/range.upb.c +0 -87
  2108. data/src/core/ext/upb-generated/envoy/type/v3/range.upb.h +0 -246
  2109. data/src/core/ext/upb-generated/envoy/type/v3/ratelimit_strategy.upb.c +0 -78
  2110. data/src/core/ext/upb-generated/envoy/type/v3/ratelimit_strategy.upb.h +0 -237
  2111. data/src/core/ext/upb-generated/envoy/type/v3/ratelimit_unit.upb.c +0 -29
  2112. data/src/core/ext/upb-generated/envoy/type/v3/ratelimit_unit.upb.h +0 -48
  2113. data/src/core/ext/upb-generated/envoy/type/v3/semantic_version.upb.c +0 -52
  2114. data/src/core/ext/upb-generated/envoy/type/v3/semantic_version.upb.h +0 -123
  2115. data/src/core/ext/upb-generated/envoy/type/v3/token_bucket.upb.c +0 -60
  2116. data/src/core/ext/upb-generated/envoy/type/v3/token_bucket.upb.h +0 -151
  2117. data/src/core/ext/upb-generated/google/api/annotations.upb.c +0 -43
  2118. data/src/core/ext/upb-generated/google/api/annotations.upb.h +0 -63
  2119. data/src/core/ext/upb-generated/google/api/expr/v1alpha1/checked.upb.c +0 -372
  2120. data/src/core/ext/upb-generated/google/api/expr/v1alpha1/checked.upb.h +0 -1764
  2121. data/src/core/ext/upb-generated/google/api/expr/v1alpha1/syntax.upb.c +0 -402
  2122. data/src/core/ext/upb-generated/google/api/expr/v1alpha1/syntax.upb.h +0 -1849
  2123. data/src/core/ext/upb-generated/google/api/http.upb.c +0 -114
  2124. data/src/core/ext/upb-generated/google/api/http.upb.h +0 -507
  2125. data/src/core/ext/upb-generated/google/api/httpbody.upb.c +0 -55
  2126. data/src/core/ext/upb-generated/google/api/httpbody.upb.h +0 -173
  2127. data/src/core/ext/upb-generated/google/protobuf/any.upb.c +0 -49
  2128. data/src/core/ext/upb-generated/google/protobuf/any.upb.h +0 -108
  2129. data/src/core/ext/upb-generated/google/protobuf/descriptor.upb.c +0 -1172
  2130. data/src/core/ext/upb-generated/google/protobuf/descriptor.upb.h +0 -5656
  2131. data/src/core/ext/upb-generated/google/protobuf/duration.upb.c +0 -49
  2132. data/src/core/ext/upb-generated/google/protobuf/duration.upb.h +0 -108
  2133. data/src/core/ext/upb-generated/google/protobuf/empty.upb.c +0 -38
  2134. data/src/core/ext/upb-generated/google/protobuf/empty.upb.h +0 -78
  2135. data/src/core/ext/upb-generated/google/protobuf/struct.upb.c +0 -118
  2136. data/src/core/ext/upb-generated/google/protobuf/struct.upb.h +0 -434
  2137. data/src/core/ext/upb-generated/google/protobuf/timestamp.upb.c +0 -49
  2138. data/src/core/ext/upb-generated/google/protobuf/timestamp.upb.h +0 -108
  2139. data/src/core/ext/upb-generated/google/protobuf/wrappers.upb.c +0 -166
  2140. data/src/core/ext/upb-generated/google/protobuf/wrappers.upb.h +0 -525
  2141. data/src/core/ext/upb-generated/google/rpc/status.upb.c +0 -55
  2142. data/src/core/ext/upb-generated/google/rpc/status.upb.h +0 -173
  2143. data/src/core/ext/upb-generated/opencensus/proto/trace/v1/trace_config.upb.c +0 -109
  2144. data/src/core/ext/upb-generated/opencensus/proto/trace/v1/trace_config.upb.h +0 -397
  2145. data/src/core/ext/upb-generated/src/proto/grpc/gcp/altscontext.upb.c +0 -82
  2146. data/src/core/ext/upb-generated/src/proto/grpc/gcp/altscontext.upb.h +0 -246
  2147. data/src/core/ext/upb-generated/src/proto/grpc/gcp/handshaker.upb.c +0 -345
  2148. data/src/core/ext/upb-generated/src/proto/grpc/gcp/handshaker.upb.h +0 -1677
  2149. data/src/core/ext/upb-generated/src/proto/grpc/gcp/transport_security_common.upb.c +0 -72
  2150. data/src/core/ext/upb-generated/src/proto/grpc/gcp/transport_security_common.upb.h +0 -207
  2151. data/src/core/ext/upb-generated/src/proto/grpc/health/v1/health.upb.c +0 -61
  2152. data/src/core/ext/upb-generated/src/proto/grpc/health/v1/health.upb.h +0 -154
  2153. data/src/core/ext/upb-generated/src/proto/grpc/lb/v1/load_balancer.upb.c +0 -224
  2154. data/src/core/ext/upb-generated/src/proto/grpc/lb/v1/load_balancer.upb.h +0 -893
  2155. data/src/core/ext/upb-generated/src/proto/grpc/lookup/v1/rls.upb.c +0 -95
  2156. data/src/core/ext/upb-generated/src/proto/grpc/lookup/v1/rls.upb.h +0 -308
  2157. data/src/core/ext/upb-generated/src/proto/grpc/lookup/v1/rls_config.upb.c +0 -246
  2158. data/src/core/ext/upb-generated/src/proto/grpc/lookup/v1/rls_config.upb.h +0 -1349
  2159. data/src/core/ext/upb-generated/udpa/annotations/migrate.upb.c +0 -129
  2160. data/src/core/ext/upb-generated/udpa/annotations/migrate.upb.h +0 -341
  2161. data/src/core/ext/upb-generated/udpa/annotations/security.upb.c +0 -64
  2162. data/src/core/ext/upb-generated/udpa/annotations/security.upb.h +0 -133
  2163. data/src/core/ext/upb-generated/udpa/annotations/sensitive.upb.c +0 -41
  2164. data/src/core/ext/upb-generated/udpa/annotations/sensitive.upb.h +0 -63
  2165. data/src/core/ext/upb-generated/udpa/annotations/status.upb.c +0 -63
  2166. data/src/core/ext/upb-generated/udpa/annotations/status.upb.h +0 -140
  2167. data/src/core/ext/upb-generated/udpa/annotations/versioning.upb.c +0 -60
  2168. data/src/core/ext/upb-generated/udpa/annotations/versioning.upb.h +0 -118
  2169. data/src/core/ext/upb-generated/validate/validate.upb.c +0 -950
  2170. data/src/core/ext/upb-generated/validate/validate.upb.h +0 -6544
  2171. data/src/core/ext/upb-generated/xds/annotations/v3/migrate.upb.c +0 -129
  2172. data/src/core/ext/upb-generated/xds/annotations/v3/migrate.upb.h +0 -341
  2173. data/src/core/ext/upb-generated/xds/annotations/v3/security.upb.c +0 -64
  2174. data/src/core/ext/upb-generated/xds/annotations/v3/security.upb.h +0 -133
  2175. data/src/core/ext/upb-generated/xds/annotations/v3/sensitive.upb.c +0 -41
  2176. data/src/core/ext/upb-generated/xds/annotations/v3/sensitive.upb.h +0 -63
  2177. data/src/core/ext/upb-generated/xds/annotations/v3/status.upb.c +0 -126
  2178. data/src/core/ext/upb-generated/xds/annotations/v3/status.upb.h +0 -352
  2179. data/src/core/ext/upb-generated/xds/annotations/v3/versioning.upb.c +0 -60
  2180. data/src/core/ext/upb-generated/xds/annotations/v3/versioning.upb.h +0 -118
  2181. data/src/core/ext/upb-generated/xds/core/v3/authority.upb.c +0 -48
  2182. data/src/core/ext/upb-generated/xds/core/v3/authority.upb.h +0 -93
  2183. data/src/core/ext/upb-generated/xds/core/v3/cidr.upb.c +0 -56
  2184. data/src/core/ext/upb-generated/xds/core/v3/cidr.upb.h +0 -122
  2185. data/src/core/ext/upb-generated/xds/core/v3/collection_entry.upb.c +0 -81
  2186. data/src/core/ext/upb-generated/xds/core/v3/collection_entry.upb.h +0 -241
  2187. data/src/core/ext/upb-generated/xds/core/v3/context_params.upb.c +0 -65
  2188. data/src/core/ext/upb-generated/xds/core/v3/context_params.upb.h +0 -142
  2189. data/src/core/ext/upb-generated/xds/core/v3/extension.upb.c +0 -55
  2190. data/src/core/ext/upb-generated/xds/core/v3/extension.upb.h +0 -122
  2191. data/src/core/ext/upb-generated/xds/core/v3/resource.upb.c +0 -58
  2192. data/src/core/ext/upb-generated/xds/core/v3/resource.upb.h +0 -151
  2193. data/src/core/ext/upb-generated/xds/core/v3/resource_locator.upb.c +0 -87
  2194. data/src/core/ext/upb-generated/xds/core/v3/resource_locator.upb.h +0 -338
  2195. data/src/core/ext/upb-generated/xds/core/v3/resource_name.upb.c +0 -62
  2196. data/src/core/ext/upb-generated/xds/core/v3/resource_name.upb.h +0 -152
  2197. data/src/core/ext/upb-generated/xds/data/orca/v3/orca_load_report.upb.c +0 -129
  2198. data/src/core/ext/upb-generated/xds/data/orca/v3/orca_load_report.upb.h +0 -360
  2199. data/src/core/ext/upb-generated/xds/service/orca/v3/orca.upb.c +0 -55
  2200. data/src/core/ext/upb-generated/xds/service/orca/v3/orca.upb.h +0 -168
  2201. data/src/core/ext/upb-generated/xds/type/matcher/v3/cel.upb.c +0 -53
  2202. data/src/core/ext/upb-generated/xds/type/matcher/v3/cel.upb.h +0 -107
  2203. data/src/core/ext/upb-generated/xds/type/matcher/v3/domain.upb.c +0 -75
  2204. data/src/core/ext/upb-generated/xds/type/matcher/v3/domain.upb.h +0 -270
  2205. data/src/core/ext/upb-generated/xds/type/matcher/v3/http_inputs.upb.c +0 -39
  2206. data/src/core/ext/upb-generated/xds/type/matcher/v3/http_inputs.upb.h +0 -78
  2207. data/src/core/ext/upb-generated/xds/type/matcher/v3/ip.upb.c +0 -78
  2208. data/src/core/ext/upb-generated/xds/type/matcher/v3/ip.upb.h +0 -289
  2209. data/src/core/ext/upb-generated/xds/type/matcher/v3/matcher.upb.c +0 -268
  2210. data/src/core/ext/upb-generated/xds/type/matcher/v3/matcher.upb.h +0 -1122
  2211. data/src/core/ext/upb-generated/xds/type/matcher/v3/range.upb.c +0 -160
  2212. data/src/core/ext/upb-generated/xds/type/matcher/v3/range.upb.h +0 -740
  2213. data/src/core/ext/upb-generated/xds/type/matcher/v3/regex.upb.c +0 -61
  2214. data/src/core/ext/upb-generated/xds/type/matcher/v3/regex.upb.h +0 -167
  2215. data/src/core/ext/upb-generated/xds/type/matcher/v3/string.upb.c +0 -82
  2216. data/src/core/ext/upb-generated/xds/type/matcher/v3/string.upb.h +0 -312
  2217. data/src/core/ext/upb-generated/xds/type/v3/cel.upb.c +0 -82
  2218. data/src/core/ext/upb-generated/xds/type/v3/cel.upb.h +0 -240
  2219. data/src/core/ext/upb-generated/xds/type/v3/range.upb.c +0 -85
  2220. data/src/core/ext/upb-generated/xds/type/v3/range.upb.h +0 -246
  2221. data/src/core/ext/upb-generated/xds/type/v3/typed_struct.upb.c +0 -54
  2222. data/src/core/ext/upb-generated/xds/type/v3/typed_struct.upb.h +0 -122
  2223. data/src/core/ext/upbdefs-generated/envoy/admin/v3/certs.upbdefs.c +0 -84
  2224. data/src/core/ext/upbdefs-generated/envoy/admin/v3/certs.upbdefs.h +0 -56
  2225. data/src/core/ext/upbdefs-generated/envoy/admin/v3/clusters.upbdefs.c +0 -128
  2226. data/src/core/ext/upbdefs-generated/envoy/admin/v3/clusters.upbdefs.h +0 -51
  2227. data/src/core/ext/upbdefs-generated/envoy/admin/v3/config_dump.upbdefs.c +0 -102
  2228. data/src/core/ext/upbdefs-generated/envoy/admin/v3/config_dump.upbdefs.h +0 -56
  2229. data/src/core/ext/upbdefs-generated/envoy/admin/v3/config_dump_shared.upbdefs.c +0 -277
  2230. data/src/core/ext/upbdefs-generated/envoy/admin/v3/config_dump_shared.upbdefs.h +0 -126
  2231. data/src/core/ext/upbdefs-generated/envoy/admin/v3/init_dump.upbdefs.c +0 -43
  2232. data/src/core/ext/upbdefs-generated/envoy/admin/v3/init_dump.upbdefs.h +0 -41
  2233. data/src/core/ext/upbdefs-generated/envoy/admin/v3/listeners.upbdefs.c +0 -56
  2234. data/src/core/ext/upbdefs-generated/envoy/admin/v3/listeners.upbdefs.h +0 -41
  2235. data/src/core/ext/upbdefs-generated/envoy/admin/v3/memory.upbdefs.c +0 -49
  2236. data/src/core/ext/upbdefs-generated/envoy/admin/v3/memory.upbdefs.h +0 -36
  2237. data/src/core/ext/upbdefs-generated/envoy/admin/v3/metrics.upbdefs.c +0 -46
  2238. data/src/core/ext/upbdefs-generated/envoy/admin/v3/metrics.upbdefs.h +0 -36
  2239. data/src/core/ext/upbdefs-generated/envoy/admin/v3/mutex_stats.upbdefs.c +0 -46
  2240. data/src/core/ext/upbdefs-generated/envoy/admin/v3/mutex_stats.upbdefs.h +0 -36
  2241. data/src/core/ext/upbdefs-generated/envoy/admin/v3/server_info.upbdefs.c +0 -142
  2242. data/src/core/ext/upbdefs-generated/envoy/admin/v3/server_info.upbdefs.h +0 -41
  2243. data/src/core/ext/upbdefs-generated/envoy/admin/v3/tap.upbdefs.c +0 -51
  2244. data/src/core/ext/upbdefs-generated/envoy/admin/v3/tap.upbdefs.h +0 -36
  2245. data/src/core/ext/upbdefs-generated/envoy/annotations/deprecation.upbdefs.c +0 -48
  2246. data/src/core/ext/upbdefs-generated/envoy/annotations/deprecation.upbdefs.h +0 -31
  2247. data/src/core/ext/upbdefs-generated/envoy/annotations/resource.upbdefs.c +0 -38
  2248. data/src/core/ext/upbdefs-generated/envoy/annotations/resource.upbdefs.h +0 -36
  2249. data/src/core/ext/upbdefs-generated/envoy/config/accesslog/v3/accesslog.upbdefs.c +0 -222
  2250. data/src/core/ext/upbdefs-generated/envoy/config/accesslog/v3/accesslog.upbdefs.h +0 -106
  2251. data/src/core/ext/upbdefs-generated/envoy/config/bootstrap/v3/bootstrap.upbdefs.c +0 -408
  2252. data/src/core/ext/upbdefs-generated/envoy/config/bootstrap/v3/bootstrap.upbdefs.h +0 -121
  2253. data/src/core/ext/upbdefs-generated/envoy/config/cluster/v3/circuit_breaker.upbdefs.c +0 -98
  2254. data/src/core/ext/upbdefs-generated/envoy/config/cluster/v3/circuit_breaker.upbdefs.h +0 -46
  2255. data/src/core/ext/upbdefs-generated/envoy/config/cluster/v3/cluster.upbdefs.c +0 -567
  2256. data/src/core/ext/upbdefs-generated/envoy/config/cluster/v3/cluster.upbdefs.h +0 -151
  2257. data/src/core/ext/upbdefs-generated/envoy/config/cluster/v3/filter.upbdefs.c +0 -51
  2258. data/src/core/ext/upbdefs-generated/envoy/config/cluster/v3/filter.upbdefs.h +0 -36
  2259. data/src/core/ext/upbdefs-generated/envoy/config/cluster/v3/outlier_detection.upbdefs.c +0 -138
  2260. data/src/core/ext/upbdefs-generated/envoy/config/cluster/v3/outlier_detection.upbdefs.h +0 -36
  2261. data/src/core/ext/upbdefs-generated/envoy/config/common/matcher/v3/matcher.upbdefs.c +0 -206
  2262. data/src/core/ext/upbdefs-generated/envoy/config/common/matcher/v3/matcher.upbdefs.h +0 -106
  2263. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/address.upbdefs.c +0 -132
  2264. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/address.upbdefs.h +0 -71
  2265. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/backoff.upbdefs.c +0 -54
  2266. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/backoff.upbdefs.h +0 -36
  2267. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/base.upbdefs.c +0 -271
  2268. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/base.upbdefs.h +0 -151
  2269. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/config_source.upbdefs.c +0 -169
  2270. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/config_source.upbdefs.h +0 -71
  2271. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/event_service_config.upbdefs.c +0 -53
  2272. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/event_service_config.upbdefs.h +0 -36
  2273. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/extension.upbdefs.c +0 -47
  2274. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/extension.upbdefs.h +0 -36
  2275. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/grpc_method_list.upbdefs.c +0 -53
  2276. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/grpc_method_list.upbdefs.h +0 -41
  2277. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/grpc_service.upbdefs.c +0 -235
  2278. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/grpc_service.upbdefs.h +0 -101
  2279. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/health_check.upbdefs.c +0 -234
  2280. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/health_check.upbdefs.h +0 -76
  2281. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/http_uri.upbdefs.c +0 -53
  2282. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/http_uri.upbdefs.h +0 -36
  2283. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/protocol.upbdefs.c +0 -305
  2284. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/protocol.upbdefs.h +0 -111
  2285. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/proxy_protocol.upbdefs.c +0 -57
  2286. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/proxy_protocol.upbdefs.h +0 -41
  2287. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/resolver.upbdefs.c +0 -55
  2288. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/resolver.upbdefs.h +0 -41
  2289. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/socket_option.upbdefs.c +0 -61
  2290. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/socket_option.upbdefs.h +0 -41
  2291. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/substitution_format_string.upbdefs.c +0 -70
  2292. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/substitution_format_string.upbdefs.h +0 -36
  2293. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/udp_socket_config.upbdefs.c +0 -49
  2294. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/udp_socket_config.upbdefs.h +0 -36
  2295. data/src/core/ext/upbdefs-generated/envoy/config/endpoint/v3/endpoint.upbdefs.c +0 -99
  2296. data/src/core/ext/upbdefs-generated/envoy/config/endpoint/v3/endpoint.upbdefs.h +0 -51
  2297. data/src/core/ext/upbdefs-generated/envoy/config/endpoint/v3/endpoint_components.upbdefs.c +0 -133
  2298. data/src/core/ext/upbdefs-generated/envoy/config/endpoint/v3/endpoint_components.upbdefs.h +0 -61
  2299. data/src/core/ext/upbdefs-generated/envoy/config/endpoint/v3/load_report.upbdefs.c +0 -136
  2300. data/src/core/ext/upbdefs-generated/envoy/config/endpoint/v3/load_report.upbdefs.h +0 -56
  2301. data/src/core/ext/upbdefs-generated/envoy/config/listener/v3/api_listener.upbdefs.c +0 -48
  2302. data/src/core/ext/upbdefs-generated/envoy/config/listener/v3/api_listener.upbdefs.h +0 -36
  2303. data/src/core/ext/upbdefs-generated/envoy/config/listener/v3/listener.upbdefs.c +0 -227
  2304. data/src/core/ext/upbdefs-generated/envoy/config/listener/v3/listener.upbdefs.h +0 -81
  2305. data/src/core/ext/upbdefs-generated/envoy/config/listener/v3/listener_components.upbdefs.c +0 -190
  2306. data/src/core/ext/upbdefs-generated/envoy/config/listener/v3/listener_components.upbdefs.h +0 -66
  2307. data/src/core/ext/upbdefs-generated/envoy/config/listener/v3/quic_config.upbdefs.c +0 -101
  2308. data/src/core/ext/upbdefs-generated/envoy/config/listener/v3/quic_config.upbdefs.h +0 -36
  2309. data/src/core/ext/upbdefs-generated/envoy/config/listener/v3/udp_listener_config.upbdefs.c +0 -71
  2310. data/src/core/ext/upbdefs-generated/envoy/config/listener/v3/udp_listener_config.upbdefs.h +0 -41
  2311. data/src/core/ext/upbdefs-generated/envoy/config/metrics/v3/metrics_service.upbdefs.c +0 -69
  2312. data/src/core/ext/upbdefs-generated/envoy/config/metrics/v3/metrics_service.upbdefs.h +0 -36
  2313. data/src/core/ext/upbdefs-generated/envoy/config/metrics/v3/stats.upbdefs.c +0 -125
  2314. data/src/core/ext/upbdefs-generated/envoy/config/metrics/v3/stats.upbdefs.h +0 -71
  2315. data/src/core/ext/upbdefs-generated/envoy/config/overload/v3/overload.upbdefs.c +0 -134
  2316. data/src/core/ext/upbdefs-generated/envoy/config/overload/v3/overload.upbdefs.h +0 -76
  2317. data/src/core/ext/upbdefs-generated/envoy/config/rbac/v3/rbac.upbdefs.c +0 -223
  2318. data/src/core/ext/upbdefs-generated/envoy/config/rbac/v3/rbac.upbdefs.h +0 -86
  2319. data/src/core/ext/upbdefs-generated/envoy/config/route/v3/route.upbdefs.c +0 -123
  2320. data/src/core/ext/upbdefs-generated/envoy/config/route/v3/route.upbdefs.h +0 -46
  2321. data/src/core/ext/upbdefs-generated/envoy/config/route/v3/route_components.upbdefs.c +0 -972
  2322. data/src/core/ext/upbdefs-generated/envoy/config/route/v3/route_components.upbdefs.h +0 -316
  2323. data/src/core/ext/upbdefs-generated/envoy/config/route/v3/scoped_route.upbdefs.c +0 -77
  2324. data/src/core/ext/upbdefs-generated/envoy/config/route/v3/scoped_route.upbdefs.h +0 -46
  2325. data/src/core/ext/upbdefs-generated/envoy/config/tap/v3/common.upbdefs.c +0 -199
  2326. data/src/core/ext/upbdefs-generated/envoy/config/tap/v3/common.upbdefs.h +0 -91
  2327. data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/datadog.upbdefs.c +0 -56
  2328. data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/datadog.upbdefs.h +0 -36
  2329. data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/dynamic_ot.upbdefs.c +0 -57
  2330. data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/dynamic_ot.upbdefs.h +0 -36
  2331. data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/http_tracer.upbdefs.c +0 -57
  2332. data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/http_tracer.upbdefs.h +0 -41
  2333. data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/lightstep.upbdefs.c +0 -72
  2334. data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/lightstep.upbdefs.h +0 -36
  2335. data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/opencensus.upbdefs.c +0 -99
  2336. data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/opencensus.upbdefs.h +0 -36
  2337. data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/opentelemetry.upbdefs.c +0 -45
  2338. data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/opentelemetry.upbdefs.h +0 -36
  2339. data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/service.upbdefs.c +0 -52
  2340. data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/service.upbdefs.h +0 -36
  2341. data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/skywalking.upbdefs.c +0 -71
  2342. data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/skywalking.upbdefs.h +0 -41
  2343. data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/trace.upbdefs.c +0 -61
  2344. data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/trace.upbdefs.h +0 -31
  2345. data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/xray.upbdefs.c +0 -75
  2346. data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/xray.upbdefs.h +0 -41
  2347. data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/zipkin.upbdefs.c +0 -79
  2348. data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/zipkin.upbdefs.h +0 -36
  2349. data/src/core/ext/upbdefs-generated/envoy/extensions/clusters/aggregate/v3/cluster.upbdefs.c +0 -50
  2350. data/src/core/ext/upbdefs-generated/envoy/extensions/clusters/aggregate/v3/cluster.upbdefs.h +0 -36
  2351. data/src/core/ext/upbdefs-generated/envoy/extensions/filters/common/fault/v3/fault.upbdefs.c +0 -92
  2352. data/src/core/ext/upbdefs-generated/envoy/extensions/filters/common/fault/v3/fault.upbdefs.h +0 -56
  2353. data/src/core/ext/upbdefs-generated/envoy/extensions/filters/http/fault/v3/fault.upbdefs.c +0 -117
  2354. data/src/core/ext/upbdefs-generated/envoy/extensions/filters/http/fault/v3/fault.upbdefs.h +0 -46
  2355. data/src/core/ext/upbdefs-generated/envoy/extensions/filters/http/rbac/v3/rbac.upbdefs.c +0 -80
  2356. data/src/core/ext/upbdefs-generated/envoy/extensions/filters/http/rbac/v3/rbac.upbdefs.h +0 -41
  2357. data/src/core/ext/upbdefs-generated/envoy/extensions/filters/http/router/v3/router.upbdefs.c +0 -89
  2358. data/src/core/ext/upbdefs-generated/envoy/extensions/filters/http/router/v3/router.upbdefs.h +0 -36
  2359. data/src/core/ext/upbdefs-generated/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upbdefs.c +0 -60
  2360. data/src/core/ext/upbdefs-generated/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upbdefs.h +0 -41
  2361. data/src/core/ext/upbdefs-generated/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upbdefs.c +0 -580
  2362. data/src/core/ext/upbdefs-generated/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upbdefs.h +0 -131
  2363. data/src/core/ext/upbdefs-generated/envoy/extensions/http/stateful_session/cookie/v3/cookie.upbdefs.c +0 -50
  2364. data/src/core/ext/upbdefs-generated/envoy/extensions/http/stateful_session/cookie/v3/cookie.upbdefs.h +0 -36
  2365. data/src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/cert.upbdefs.c +0 -48
  2366. data/src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/cert.upbdefs.h +0 -31
  2367. data/src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/common.upbdefs.c +0 -215
  2368. data/src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/common.upbdefs.h +0 -66
  2369. data/src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/secret.upbdefs.c +0 -91
  2370. data/src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/secret.upbdefs.h +0 -46
  2371. data/src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/tls.upbdefs.c +0 -258
  2372. data/src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/tls.upbdefs.h +0 -66
  2373. data/src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upbdefs.c +0 -58
  2374. data/src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upbdefs.h +0 -41
  2375. data/src/core/ext/upbdefs-generated/envoy/service/discovery/v3/ads.upbdefs.c +0 -58
  2376. data/src/core/ext/upbdefs-generated/envoy/service/discovery/v3/ads.upbdefs.h +0 -36
  2377. data/src/core/ext/upbdefs-generated/envoy/service/discovery/v3/discovery.upbdefs.c +0 -200
  2378. data/src/core/ext/upbdefs-generated/envoy/service/discovery/v3/discovery.upbdefs.h +0 -101
  2379. data/src/core/ext/upbdefs-generated/envoy/service/load_stats/v3/lrs.upbdefs.c +0 -76
  2380. data/src/core/ext/upbdefs-generated/envoy/service/load_stats/v3/lrs.upbdefs.h +0 -41
  2381. data/src/core/ext/upbdefs-generated/envoy/service/status/v3/csds.upbdefs.c +0 -152
  2382. data/src/core/ext/upbdefs-generated/envoy/service/status/v3/csds.upbdefs.h +0 -56
  2383. data/src/core/ext/upbdefs-generated/envoy/type/http/v3/cookie.upbdefs.c +0 -46
  2384. data/src/core/ext/upbdefs-generated/envoy/type/http/v3/cookie.upbdefs.h +0 -36
  2385. data/src/core/ext/upbdefs-generated/envoy/type/http/v3/path_transformation.upbdefs.c +0 -56
  2386. data/src/core/ext/upbdefs-generated/envoy/type/http/v3/path_transformation.upbdefs.h +0 -51
  2387. data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/filter_state.upbdefs.c +0 -48
  2388. data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/filter_state.upbdefs.h +0 -36
  2389. data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/http_inputs.upbdefs.c +0 -55
  2390. data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/http_inputs.upbdefs.h +0 -56
  2391. data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/metadata.upbdefs.c +0 -61
  2392. data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/metadata.upbdefs.h +0 -41
  2393. data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/node.upbdefs.c +0 -54
  2394. data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/node.upbdefs.h +0 -36
  2395. data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/number.upbdefs.c +0 -52
  2396. data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/number.upbdefs.h +0 -36
  2397. data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/path.upbdefs.c +0 -51
  2398. data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/path.upbdefs.h +0 -36
  2399. data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/regex.upbdefs.c +0 -71
  2400. data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/regex.upbdefs.h +0 -46
  2401. data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/status_code_input.upbdefs.c +0 -40
  2402. data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/status_code_input.upbdefs.h +0 -41
  2403. data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/string.upbdefs.c +0 -65
  2404. data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/string.upbdefs.h +0 -41
  2405. data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/struct.upbdefs.c +0 -58
  2406. data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/struct.upbdefs.h +0 -41
  2407. data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/value.upbdefs.c +0 -75
  2408. data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/value.upbdefs.h +0 -46
  2409. data/src/core/ext/upbdefs-generated/envoy/type/metadata/v3/metadata.upbdefs.c +0 -78
  2410. data/src/core/ext/upbdefs-generated/envoy/type/metadata/v3/metadata.upbdefs.h +0 -66
  2411. data/src/core/ext/upbdefs-generated/envoy/type/tracing/v3/custom_tag.upbdefs.c +0 -85
  2412. data/src/core/ext/upbdefs-generated/envoy/type/tracing/v3/custom_tag.upbdefs.h +0 -56
  2413. data/src/core/ext/upbdefs-generated/envoy/type/v3/hash_policy.upbdefs.c +0 -53
  2414. data/src/core/ext/upbdefs-generated/envoy/type/v3/hash_policy.upbdefs.h +0 -46
  2415. data/src/core/ext/upbdefs-generated/envoy/type/v3/http.upbdefs.c +0 -36
  2416. data/src/core/ext/upbdefs-generated/envoy/type/v3/http.upbdefs.h +0 -31
  2417. data/src/core/ext/upbdefs-generated/envoy/type/v3/http_status.upbdefs.c +0 -94
  2418. data/src/core/ext/upbdefs-generated/envoy/type/v3/http_status.upbdefs.h +0 -36
  2419. data/src/core/ext/upbdefs-generated/envoy/type/v3/percent.upbdefs.c +0 -54
  2420. data/src/core/ext/upbdefs-generated/envoy/type/v3/percent.upbdefs.h +0 -41
  2421. data/src/core/ext/upbdefs-generated/envoy/type/v3/range.upbdefs.c +0 -48
  2422. data/src/core/ext/upbdefs-generated/envoy/type/v3/range.upbdefs.h +0 -46
  2423. data/src/core/ext/upbdefs-generated/envoy/type/v3/ratelimit_strategy.upbdefs.c +0 -69
  2424. data/src/core/ext/upbdefs-generated/envoy/type/v3/ratelimit_strategy.upbdefs.h +0 -41
  2425. data/src/core/ext/upbdefs-generated/envoy/type/v3/ratelimit_unit.upbdefs.c +0 -39
  2426. data/src/core/ext/upbdefs-generated/envoy/type/v3/ratelimit_unit.upbdefs.h +0 -31
  2427. data/src/core/ext/upbdefs-generated/envoy/type/v3/semantic_version.upbdefs.c +0 -44
  2428. data/src/core/ext/upbdefs-generated/envoy/type/v3/semantic_version.upbdefs.h +0 -36
  2429. data/src/core/ext/upbdefs-generated/envoy/type/v3/token_bucket.upbdefs.c +0 -57
  2430. data/src/core/ext/upbdefs-generated/envoy/type/v3/token_bucket.upbdefs.h +0 -36
  2431. data/src/core/ext/upbdefs-generated/google/api/annotations.upbdefs.c +0 -40
  2432. data/src/core/ext/upbdefs-generated/google/api/annotations.upbdefs.h +0 -31
  2433. data/src/core/ext/upbdefs-generated/google/api/expr/v1alpha1/checked.upbdefs.c +0 -154
  2434. data/src/core/ext/upbdefs-generated/google/api/expr/v1alpha1/checked.upbdefs.h +0 -96
  2435. data/src/core/ext/upbdefs-generated/google/api/expr/v1alpha1/syntax.upbdefs.c +0 -153
  2436. data/src/core/ext/upbdefs-generated/google/api/expr/v1alpha1/syntax.upbdefs.h +0 -101
  2437. data/src/core/ext/upbdefs-generated/google/api/http.upbdefs.c +0 -52
  2438. data/src/core/ext/upbdefs-generated/google/api/http.upbdefs.h +0 -46
  2439. data/src/core/ext/upbdefs-generated/google/api/httpbody.upbdefs.c +0 -39
  2440. data/src/core/ext/upbdefs-generated/google/api/httpbody.upbdefs.h +0 -36
  2441. data/src/core/ext/upbdefs-generated/google/protobuf/any.upbdefs.c +0 -34
  2442. data/src/core/ext/upbdefs-generated/google/protobuf/any.upbdefs.h +0 -36
  2443. data/src/core/ext/upbdefs-generated/google/protobuf/descriptor.upbdefs.c +0 -387
  2444. data/src/core/ext/upbdefs-generated/google/protobuf/descriptor.upbdefs.h +0 -171
  2445. data/src/core/ext/upbdefs-generated/google/protobuf/duration.upbdefs.c +0 -35
  2446. data/src/core/ext/upbdefs-generated/google/protobuf/duration.upbdefs.h +0 -36
  2447. data/src/core/ext/upbdefs-generated/google/protobuf/empty.upbdefs.c +0 -32
  2448. data/src/core/ext/upbdefs-generated/google/protobuf/empty.upbdefs.h +0 -36
  2449. data/src/core/ext/upbdefs-generated/google/protobuf/struct.upbdefs.c +0 -54
  2450. data/src/core/ext/upbdefs-generated/google/protobuf/struct.upbdefs.h +0 -51
  2451. data/src/core/ext/upbdefs-generated/google/protobuf/timestamp.upbdefs.c +0 -35
  2452. data/src/core/ext/upbdefs-generated/google/protobuf/timestamp.upbdefs.h +0 -36
  2453. data/src/core/ext/upbdefs-generated/google/protobuf/wrappers.upbdefs.c +0 -45
  2454. data/src/core/ext/upbdefs-generated/google/protobuf/wrappers.upbdefs.h +0 -76
  2455. data/src/core/ext/upbdefs-generated/google/rpc/status.upbdefs.c +0 -37
  2456. data/src/core/ext/upbdefs-generated/google/rpc/status.upbdefs.h +0 -36
  2457. data/src/core/ext/upbdefs-generated/opencensus/proto/trace/v1/trace_config.upbdefs.c +0 -67
  2458. data/src/core/ext/upbdefs-generated/opencensus/proto/trace/v1/trace_config.upbdefs.h +0 -51
  2459. data/src/core/ext/upbdefs-generated/src/proto/grpc/lookup/v1/rls_config.upbdefs.c +0 -99
  2460. data/src/core/ext/upbdefs-generated/src/proto/grpc/lookup/v1/rls_config.upbdefs.h +0 -76
  2461. data/src/core/ext/upbdefs-generated/udpa/annotations/migrate.upbdefs.c +0 -62
  2462. data/src/core/ext/upbdefs-generated/udpa/annotations/migrate.upbdefs.h +0 -46
  2463. data/src/core/ext/upbdefs-generated/udpa/annotations/security.upbdefs.c +0 -47
  2464. data/src/core/ext/upbdefs-generated/udpa/annotations/security.upbdefs.h +0 -36
  2465. data/src/core/ext/upbdefs-generated/udpa/annotations/sensitive.upbdefs.c +0 -34
  2466. data/src/core/ext/upbdefs-generated/udpa/annotations/sensitive.upbdefs.h +0 -31
  2467. data/src/core/ext/upbdefs-generated/udpa/annotations/status.upbdefs.c +0 -46
  2468. data/src/core/ext/upbdefs-generated/udpa/annotations/status.upbdefs.h +0 -36
  2469. data/src/core/ext/upbdefs-generated/udpa/annotations/versioning.upbdefs.c +0 -39
  2470. data/src/core/ext/upbdefs-generated/udpa/annotations/versioning.upbdefs.h +0 -36
  2471. data/src/core/ext/upbdefs-generated/validate/validate.upbdefs.c +0 -283
  2472. data/src/core/ext/upbdefs-generated/validate/validate.upbdefs.h +0 -146
  2473. data/src/core/ext/upbdefs-generated/xds/annotations/v3/migrate.upbdefs.c +0 -63
  2474. data/src/core/ext/upbdefs-generated/xds/annotations/v3/migrate.upbdefs.h +0 -46
  2475. data/src/core/ext/upbdefs-generated/xds/annotations/v3/security.upbdefs.c +0 -47
  2476. data/src/core/ext/upbdefs-generated/xds/annotations/v3/security.upbdefs.h +0 -36
  2477. data/src/core/ext/upbdefs-generated/xds/annotations/v3/sensitive.upbdefs.c +0 -35
  2478. data/src/core/ext/upbdefs-generated/xds/annotations/v3/sensitive.upbdefs.h +0 -31
  2479. data/src/core/ext/upbdefs-generated/xds/annotations/v3/status.upbdefs.c +0 -64
  2480. data/src/core/ext/upbdefs-generated/xds/annotations/v3/status.upbdefs.h +0 -51
  2481. data/src/core/ext/upbdefs-generated/xds/annotations/v3/versioning.upbdefs.c +0 -40
  2482. data/src/core/ext/upbdefs-generated/xds/annotations/v3/versioning.upbdefs.h +0 -36
  2483. data/src/core/ext/upbdefs-generated/xds/core/v3/authority.upbdefs.c +0 -38
  2484. data/src/core/ext/upbdefs-generated/xds/core/v3/authority.upbdefs.h +0 -36
  2485. data/src/core/ext/upbdefs-generated/xds/core/v3/cidr.upbdefs.c +0 -45
  2486. data/src/core/ext/upbdefs-generated/xds/core/v3/cidr.upbdefs.h +0 -36
  2487. data/src/core/ext/upbdefs-generated/xds/core/v3/collection_entry.upbdefs.c +0 -56
  2488. data/src/core/ext/upbdefs-generated/xds/core/v3/collection_entry.upbdefs.h +0 -41
  2489. data/src/core/ext/upbdefs-generated/xds/core/v3/context_params.upbdefs.c +0 -39
  2490. data/src/core/ext/upbdefs-generated/xds/core/v3/context_params.upbdefs.h +0 -41
  2491. data/src/core/ext/upbdefs-generated/xds/core/v3/extension.upbdefs.c +0 -41
  2492. data/src/core/ext/upbdefs-generated/xds/core/v3/extension.upbdefs.h +0 -36
  2493. data/src/core/ext/upbdefs-generated/xds/core/v3/resource.upbdefs.c +0 -45
  2494. data/src/core/ext/upbdefs-generated/xds/core/v3/resource.upbdefs.h +0 -36
  2495. data/src/core/ext/upbdefs-generated/xds/core/v3/resource_locator.upbdefs.c +0 -61
  2496. data/src/core/ext/upbdefs-generated/xds/core/v3/resource_locator.upbdefs.h +0 -41
  2497. data/src/core/ext/upbdefs-generated/xds/core/v3/resource_name.upbdefs.c +0 -46
  2498. data/src/core/ext/upbdefs-generated/xds/core/v3/resource_name.upbdefs.h +0 -36
  2499. data/src/core/ext/upbdefs-generated/xds/type/matcher/v3/cel.upbdefs.c +0 -43
  2500. data/src/core/ext/upbdefs-generated/xds/type/matcher/v3/cel.upbdefs.h +0 -36
  2501. data/src/core/ext/upbdefs-generated/xds/type/matcher/v3/domain.upbdefs.c +0 -51
  2502. data/src/core/ext/upbdefs-generated/xds/type/matcher/v3/domain.upbdefs.h +0 -41
  2503. data/src/core/ext/upbdefs-generated/xds/type/matcher/v3/http_inputs.upbdefs.c +0 -36
  2504. data/src/core/ext/upbdefs-generated/xds/type/matcher/v3/http_inputs.upbdefs.h +0 -36
  2505. data/src/core/ext/upbdefs-generated/xds/type/matcher/v3/ip.upbdefs.c +0 -55
  2506. data/src/core/ext/upbdefs-generated/xds/type/matcher/v3/ip.upbdefs.h +0 -41
  2507. data/src/core/ext/upbdefs-generated/xds/type/matcher/v3/matcher.upbdefs.c +0 -126
  2508. data/src/core/ext/upbdefs-generated/xds/type/matcher/v3/matcher.upbdefs.h +0 -81
  2509. data/src/core/ext/upbdefs-generated/xds/type/matcher/v3/range.upbdefs.c +0 -71
  2510. data/src/core/ext/upbdefs-generated/xds/type/matcher/v3/range.upbdefs.h +0 -61
  2511. data/src/core/ext/upbdefs-generated/xds/type/matcher/v3/regex.upbdefs.c +0 -40
  2512. data/src/core/ext/upbdefs-generated/xds/type/matcher/v3/regex.upbdefs.h +0 -41
  2513. data/src/core/ext/upbdefs-generated/xds/type/matcher/v3/string.upbdefs.c +0 -52
  2514. data/src/core/ext/upbdefs-generated/xds/type/matcher/v3/string.upbdefs.h +0 -41
  2515. data/src/core/ext/upbdefs-generated/xds/type/v3/cel.upbdefs.c +0 -60
  2516. data/src/core/ext/upbdefs-generated/xds/type/v3/cel.upbdefs.h +0 -41
  2517. data/src/core/ext/upbdefs-generated/xds/type/v3/range.upbdefs.c +0 -36
  2518. data/src/core/ext/upbdefs-generated/xds/type/v3/range.upbdefs.h +0 -46
  2519. data/src/core/ext/upbdefs-generated/xds/type/v3/typed_struct.upbdefs.c +0 -37
  2520. data/src/core/ext/upbdefs-generated/xds/type/v3/typed_struct.upbdefs.h +0 -36
  2521. data/src/core/lib/event_engine/memory_allocator.cc +0 -74
  2522. data/src/core/lib/event_engine/thread_pool/original_thread_pool.cc +0 -256
  2523. data/src/core/lib/event_engine/thread_pool/original_thread_pool.h +0 -137
  2524. data/src/core/lib/promise/detail/basic_join.h +0 -197
  2525. data/src/core/lib/promise/detail/switch.h +0 -1455
  2526. data/src/core/lib/resolver/server_address.cc +0 -174
  2527. data/src/core/lib/transport/pid_controller.cc +0 -51
  2528. data/src/core/lib/transport/pid_controller.h +0 -116
  2529. data/src/core/lib/transport/transport_impl.h +0 -102
  2530. data/third_party/abseil-cpp/absl/synchronization/internal/waiter.cc +0 -403
  2531. data/third_party/boringssl-with-bazel/src/crypto/cpu_aarch64_freebsd.c +0 -62
  2532. data/third_party/boringssl-with-bazel/src/crypto/cpu_arm.c +0 -38
  2533. data/third_party/boringssl-with-bazel/src/crypto/cpu_arm_openbsd.c +0 -31
  2534. data/third_party/boringssl-with-bazel/src/crypto/rand_extra/fuchsia.c +0 -34
  2535. data/third_party/boringssl-with-bazel/src/crypto/refcount_c11.c +0 -65
  2536. data/third_party/boringssl-with-bazel/src/crypto/refcount_no_threads.c +0 -42
  2537. data/third_party/boringssl-with-bazel/src/crypto/refcount_win.c +0 -89
  2538. data/third_party/re2/util/benchmark.h +0 -156
  2539. data/third_party/re2/util/flags.h +0 -26
  2540. data/third_party/re2/util/malloc_counter.h +0 -19
  2541. data/third_party/re2/util/pcre.cc +0 -1025
  2542. data/third_party/re2/util/pcre.h +0 -681
  2543. data/third_party/re2/util/test.h +0 -50
  2544. data/third_party/upb/upb/alloc.h +0 -36
  2545. data/third_party/upb/upb/arena.h +0 -36
  2546. data/third_party/upb/upb/array.h +0 -36
  2547. data/third_party/upb/upb/base/log2.h +0 -57
  2548. data/third_party/upb/upb/collections/array.c +0 -145
  2549. data/third_party/upb/upb/collections/array.h +0 -85
  2550. data/third_party/upb/upb/collections/array_internal.h +0 -135
  2551. data/third_party/upb/upb/collections/map.c +0 -135
  2552. data/third_party/upb/upb/collections/map.h +0 -135
  2553. data/third_party/upb/upb/collections/map_gencode_util.h +0 -78
  2554. data/third_party/upb/upb/collections/map_internal.h +0 -170
  2555. data/third_party/upb/upb/collections/map_sorter.c +0 -166
  2556. data/third_party/upb/upb/collections/map_sorter_internal.h +0 -109
  2557. data/third_party/upb/upb/collections/message_value.h +0 -65
  2558. data/third_party/upb/upb/decode.h +0 -36
  2559. data/third_party/upb/upb/def.h +0 -36
  2560. data/third_party/upb/upb/def.hpp +0 -33
  2561. data/third_party/upb/upb/encode.h +0 -36
  2562. data/third_party/upb/upb/extension_registry.h +0 -35
  2563. data/third_party/upb/upb/json_decode.h +0 -36
  2564. data/third_party/upb/upb/json_encode.h +0 -36
  2565. data/third_party/upb/upb/map.h +0 -36
  2566. data/third_party/upb/upb/mem/arena_internal.h +0 -114
  2567. data/third_party/upb/upb/message/accessors_internal.h +0 -325
  2568. data/third_party/upb/upb/message/extension_internal.h +0 -83
  2569. data/third_party/upb/upb/message/internal.h +0 -135
  2570. data/third_party/upb/upb/mini_table/common.c +0 -128
  2571. data/third_party/upb/upb/mini_table/common.h +0 -170
  2572. data/third_party/upb/upb/mini_table/common_internal.h +0 -111
  2573. data/third_party/upb/upb/mini_table/decode.c +0 -1127
  2574. data/third_party/upb/upb/mini_table/decode.h +0 -179
  2575. data/third_party/upb/upb/mini_table/encode.c +0 -300
  2576. data/third_party/upb/upb/mini_table/encode_internal.h +0 -111
  2577. data/third_party/upb/upb/mini_table/encode_internal.hpp +0 -136
  2578. data/third_party/upb/upb/mini_table/enum_internal.h +0 -88
  2579. data/third_party/upb/upb/mini_table/extension_internal.h +0 -47
  2580. data/third_party/upb/upb/mini_table/field_internal.h +0 -192
  2581. data/third_party/upb/upb/mini_table/file_internal.h +0 -47
  2582. data/third_party/upb/upb/mini_table/message_internal.h +0 -136
  2583. data/third_party/upb/upb/mini_table/sub_internal.h +0 -38
  2584. data/third_party/upb/upb/mini_table/types.h +0 -40
  2585. data/third_party/upb/upb/mini_table.h +0 -36
  2586. data/third_party/upb/upb/msg.h +0 -36
  2587. data/third_party/upb/upb/reflection/def_builder.c +0 -357
  2588. data/third_party/upb/upb/reflection/def_builder_internal.h +0 -157
  2589. data/third_party/upb/upb/reflection/def_pool_internal.h +0 -77
  2590. data/third_party/upb/upb/reflection/desc_state_internal.h +0 -64
  2591. data/third_party/upb/upb/reflection/enum_def_internal.h +0 -56
  2592. data/third_party/upb/upb/reflection/enum_reserved_range_internal.h +0 -55
  2593. data/third_party/upb/upb/reflection/enum_value_def_internal.h +0 -57
  2594. data/third_party/upb/upb/reflection/extension_range_internal.h +0 -54
  2595. data/third_party/upb/upb/reflection/field_def_internal.h +0 -76
  2596. data/third_party/upb/upb/reflection/file_def_internal.h +0 -57
  2597. data/third_party/upb/upb/reflection/message_def_internal.h +0 -63
  2598. data/third_party/upb/upb/reflection/message_reserved_range_internal.h +0 -55
  2599. data/third_party/upb/upb/reflection/method_def_internal.h +0 -53
  2600. data/third_party/upb/upb/reflection/oneof_def_internal.h +0 -57
  2601. data/third_party/upb/upb/reflection/service_def_internal.h +0 -53
  2602. data/third_party/upb/upb/reflection.h +0 -36
  2603. data/third_party/upb/upb/reflection.hpp +0 -33
  2604. data/third_party/upb/upb/status.h +0 -36
  2605. data/third_party/upb/upb/string_view.h +0 -36
  2606. data/third_party/upb/upb/text_encode.h +0 -36
  2607. data/third_party/upb/upb/upb.h +0 -39
  2608. data/third_party/upb/upb/upb.hpp +0 -107
  2609. data/third_party/upb/upb/wire/common.h +0 -44
  2610. data/third_party/upb/upb/wire/common_internal.h +0 -50
  2611. data/third_party/upb/upb/wire/decode_internal.h +0 -163
  2612. data/third_party/upb/upb/wire/swap_internal.h +0 -63
  2613. data/third_party/zlib/gzclose.c +0 -25
  2614. data/third_party/zlib/gzlib.c +0 -639
  2615. data/third_party/zlib/gzread.c +0 -650
  2616. data/third_party/zlib/gzwrite.c +0 -677
@@ -18,61 +18,25 @@
18
18
 
19
19
  #include "src/core/ext/filters/client_channel/retry_filter.h"
20
20
 
21
- #include <inttypes.h>
22
- #include <limits.h>
23
- #include <stddef.h>
24
-
25
- #include <memory>
26
- #include <new>
27
21
  #include <string>
28
- #include <utility>
29
22
 
30
- #include "absl/container/inlined_vector.h"
31
- #include "absl/functional/any_invocable.h"
32
- #include "absl/status/status.h"
33
23
  #include "absl/status/statusor.h"
34
- #include "absl/strings/str_cat.h"
35
- #include "absl/strings/string_view.h"
36
24
  #include "absl/strings/strip.h"
37
25
  #include "absl/types/optional.h"
38
26
 
39
27
  #include <grpc/event_engine/event_engine.h>
40
- #include <grpc/grpc.h>
41
- #include <grpc/slice.h>
42
- #include <grpc/status.h>
43
- #include <grpc/support/log.h>
44
28
 
45
29
  #include "src/core/ext/filters/client_channel/client_channel.h"
46
- #include "src/core/ext/filters/client_channel/client_channel_internal.h"
30
+ #include "src/core/ext/filters/client_channel/retry_filter_legacy_call_data.h"
47
31
  #include "src/core/ext/filters/client_channel/retry_service_config.h"
48
32
  #include "src/core/ext/filters/client_channel/retry_throttle.h"
49
- #include "src/core/lib/backoff/backoff.h"
50
33
  #include "src/core/lib/channel/channel_args.h"
51
34
  #include "src/core/lib/channel/channel_stack.h"
52
- #include "src/core/lib/channel/context.h"
53
- #include "src/core/lib/channel/status_util.h"
54
35
  #include "src/core/lib/debug/trace.h"
55
- #include "src/core/lib/gpr/useful.h"
56
- #include "src/core/lib/gprpp/construct_destruct.h"
57
- #include "src/core/lib/gprpp/debug_location.h"
58
- #include "src/core/lib/gprpp/orphanable.h"
59
- #include "src/core/lib/gprpp/ref_counted.h"
60
36
  #include "src/core/lib/gprpp/ref_counted_ptr.h"
61
- #include "src/core/lib/gprpp/status_helper.h"
62
- #include "src/core/lib/gprpp/time.h"
63
- #include "src/core/lib/iomgr/call_combiner.h"
64
- #include "src/core/lib/iomgr/closure.h"
65
37
  #include "src/core/lib/iomgr/error.h"
66
- #include "src/core/lib/iomgr/exec_ctx.h"
67
- #include "src/core/lib/iomgr/polling_entity.h"
68
- #include "src/core/lib/resource_quota/arena.h"
69
38
  #include "src/core/lib/service_config/service_config.h"
70
39
  #include "src/core/lib/service_config/service_config_call_data.h"
71
- #include "src/core/lib/slice/slice.h"
72
- #include "src/core/lib/slice/slice_buffer.h"
73
- #include "src/core/lib/transport/error_utils.h"
74
- #include "src/core/lib/transport/metadata_batch.h"
75
- #include "src/core/lib/transport/transport.h"
76
40
  #include "src/core/lib/uri/uri_parser.h"
77
41
 
78
42
  //
@@ -120,1970 +84,52 @@
120
84
  // TODO(roth): In subsequent PRs:
121
85
  // - implement hedging
122
86
 
123
- // By default, we buffer 256 KiB per RPC for retries.
124
- // TODO(roth): Do we have any data to suggest a better value?
125
- #define DEFAULT_PER_RPC_RETRY_BUFFER_SIZE (256 << 10)
87
+ using grpc_core::internal::RetryGlobalConfig;
88
+ using grpc_core::internal::RetryMethodConfig;
89
+ using grpc_core::internal::RetryServiceConfigParser;
90
+ using grpc_event_engine::experimental::EventEngine;
126
91
 
127
- // This value was picked arbitrarily. It can be changed if there is
128
- // any even moderately compelling reason to do so.
129
- #define RETRY_BACKOFF_JITTER 0.2
92
+ grpc_core::TraceFlag grpc_retry_trace(false, "retry");
130
93
 
131
94
  namespace grpc_core {
132
95
 
133
- namespace {
134
-
135
- using grpc_event_engine::experimental::EventEngine;
136
- using internal::RetryGlobalConfig;
137
- using internal::RetryMethodConfig;
138
- using internal::RetryServiceConfigParser;
139
- using internal::ServerRetryThrottleData;
140
-
141
- TraceFlag grpc_retry_trace(false, "retry");
142
-
143
96
  //
144
97
  // RetryFilter
145
98
  //
146
99
 
147
- class RetryFilter {
148
- public:
149
- class CallData;
150
-
151
- static grpc_error_handle Init(grpc_channel_element* elem,
152
- grpc_channel_element_args* args) {
153
- GPR_ASSERT(args->is_last);
154
- GPR_ASSERT(elem->filter == &kRetryFilterVtable);
155
- grpc_error_handle error;
156
- new (elem->channel_data) RetryFilter(args->channel_args, &error);
157
- return error;
158
- }
159
-
160
- static void Destroy(grpc_channel_element* elem) {
161
- auto* chand = static_cast<RetryFilter*>(elem->channel_data);
162
- chand->~RetryFilter();
163
- }
164
-
165
- // Will never be called.
166
- static void StartTransportOp(grpc_channel_element* /*elem*/,
167
- grpc_transport_op* /*op*/) {}
168
- static void GetChannelInfo(grpc_channel_element* /*elem*/,
169
- const grpc_channel_info* /*info*/) {}
170
-
171
- private:
172
- static size_t GetMaxPerRpcRetryBufferSize(const ChannelArgs& args) {
173
- return Clamp(args.GetInt(GRPC_ARG_PER_RPC_RETRY_BUFFER_SIZE)
174
- .value_or(DEFAULT_PER_RPC_RETRY_BUFFER_SIZE),
175
- 0, INT_MAX);
176
- }
177
-
178
- RetryFilter(const ChannelArgs& args, grpc_error_handle* error)
179
- : client_channel_(args.GetObject<ClientChannel>()),
180
- event_engine_(args.GetObject<EventEngine>()),
181
- per_rpc_retry_buffer_size_(GetMaxPerRpcRetryBufferSize(args)),
182
- service_config_parser_index_(
183
- internal::RetryServiceConfigParser::ParserIndex()) {
184
- // Get retry throttling parameters from service config.
185
- auto* service_config = args.GetObject<ServiceConfig>();
186
- if (service_config == nullptr) return;
187
- const auto* config = static_cast<const RetryGlobalConfig*>(
188
- service_config->GetGlobalParsedConfig(
189
- RetryServiceConfigParser::ParserIndex()));
190
- if (config == nullptr) return;
191
- // Get server name from target URI.
192
- auto server_uri = args.GetString(GRPC_ARG_SERVER_URI);
193
- if (!server_uri.has_value()) {
194
- *error = GRPC_ERROR_CREATE(
195
- "server URI channel arg missing or wrong type in client channel "
196
- "filter");
197
- return;
198
- }
199
- absl::StatusOr<URI> uri = URI::Parse(*server_uri);
200
- if (!uri.ok() || uri->path().empty()) {
201
- *error =
202
- GRPC_ERROR_CREATE("could not extract server name from target URI");
203
- return;
204
- }
205
- std::string server_name(absl::StripPrefix(uri->path(), "/"));
206
- // Get throttling config for server_name.
207
- retry_throttle_data_ =
208
- internal::ServerRetryThrottleMap::Get()->GetDataForServer(
209
- server_name, config->max_milli_tokens(),
210
- config->milli_token_ratio());
211
- }
212
-
213
- const RetryMethodConfig* GetRetryPolicy(
214
- const grpc_call_context_element* context);
215
-
216
- ClientChannel* client_channel_;
217
- EventEngine* const event_engine_;
218
- size_t per_rpc_retry_buffer_size_;
219
- RefCountedPtr<ServerRetryThrottleData> retry_throttle_data_;
220
- const size_t service_config_parser_index_;
221
- };
222
-
223
- //
224
- // RetryFilter::CallData
225
- //
226
-
227
- class RetryFilter::CallData {
228
- public:
229
- static grpc_error_handle Init(grpc_call_element* elem,
230
- const grpc_call_element_args* args);
231
- static void Destroy(grpc_call_element* elem,
232
- const grpc_call_final_info* /*final_info*/,
233
- grpc_closure* then_schedule_closure);
234
- static void StartTransportStreamOpBatch(
235
- grpc_call_element* elem, grpc_transport_stream_op_batch* batch);
236
- static void SetPollent(grpc_call_element* elem, grpc_polling_entity* pollent);
237
-
238
- private:
239
- class CallStackDestructionBarrier;
240
-
241
- // Pending batches stored in call data.
242
- struct PendingBatch {
243
- // The pending batch. If nullptr, this slot is empty.
244
- grpc_transport_stream_op_batch* batch = nullptr;
245
- // Indicates whether payload for send ops has been cached in CallData.
246
- bool send_ops_cached = false;
247
- };
248
-
249
- // State associated with each call attempt.
250
- class CallAttempt : public RefCounted<CallAttempt> {
251
- public:
252
- CallAttempt(CallData* calld, bool is_transparent_retry);
253
- ~CallAttempt() override;
254
-
255
- bool lb_call_committed() const { return lb_call_committed_; }
256
-
257
- // Constructs and starts whatever batches are needed on this call
258
- // attempt.
259
- void StartRetriableBatches();
260
-
261
- // Frees cached send ops that have already been completed after
262
- // committing the call.
263
- void FreeCachedSendOpDataAfterCommit();
264
-
265
- // Cancels the call attempt.
266
- void CancelFromSurface(grpc_transport_stream_op_batch* cancel_batch);
267
-
268
- private:
269
- // State used for starting a retryable batch on the call attempt's LB call.
270
- // This provides its own grpc_transport_stream_op_batch and other data
271
- // structures needed to populate the ops in the batch.
272
- // We allocate one struct on the arena for each attempt at starting a
273
- // batch on a given LB call.
274
- class BatchData
275
- : public RefCounted<BatchData, PolymorphicRefCount, UnrefCallDtor> {
276
- public:
277
- BatchData(RefCountedPtr<CallAttempt> call_attempt, int refcount,
278
- bool set_on_complete);
279
- ~BatchData() override;
280
-
281
- grpc_transport_stream_op_batch* batch() { return &batch_; }
282
-
283
- // Adds retriable send_initial_metadata op.
284
- void AddRetriableSendInitialMetadataOp();
285
- // Adds retriable send_message op.
286
- void AddRetriableSendMessageOp();
287
- // Adds retriable send_trailing_metadata op.
288
- void AddRetriableSendTrailingMetadataOp();
289
- // Adds retriable recv_initial_metadata op.
290
- void AddRetriableRecvInitialMetadataOp();
291
- // Adds retriable recv_message op.
292
- void AddRetriableRecvMessageOp();
293
- // Adds retriable recv_trailing_metadata op.
294
- void AddRetriableRecvTrailingMetadataOp();
295
- // Adds cancel_stream op.
296
- void AddCancelStreamOp(grpc_error_handle error);
297
-
298
- private:
299
- // Frees cached send ops that were completed by the completed batch in
300
- // batch_data. Used when batches are completed after the call is
301
- // committed.
302
- void FreeCachedSendOpDataForCompletedBatch();
303
-
304
- // If there is a pending recv_initial_metadata op, adds a closure
305
- // to closures for recv_initial_metadata_ready.
306
- void MaybeAddClosureForRecvInitialMetadataCallback(
307
- grpc_error_handle error, CallCombinerClosureList* closures);
308
- // Intercepts recv_initial_metadata_ready callback for retries.
309
- // Commits the call and returns the initial metadata up the stack.
310
- static void RecvInitialMetadataReady(void* arg, grpc_error_handle error);
311
-
312
- // If there is a pending recv_message op, adds a closure to closures
313
- // for recv_message_ready.
314
- void MaybeAddClosureForRecvMessageCallback(
315
- grpc_error_handle error, CallCombinerClosureList* closures);
316
- // Intercepts recv_message_ready callback for retries.
317
- // Commits the call and returns the message up the stack.
318
- static void RecvMessageReady(void* arg, grpc_error_handle error);
319
-
320
- // If there is a pending recv_trailing_metadata op, adds a closure to
321
- // closures for recv_trailing_metadata_ready.
322
- void MaybeAddClosureForRecvTrailingMetadataReady(
323
- grpc_error_handle error, CallCombinerClosureList* closures);
324
- // Adds any necessary closures for deferred batch completion
325
- // callbacks to closures.
326
- void AddClosuresForDeferredCompletionCallbacks(
327
- CallCombinerClosureList* closures);
328
- // For any pending batch containing an op that has not yet been started,
329
- // adds the pending batch's completion closures to closures.
330
- void AddClosuresToFailUnstartedPendingBatches(
331
- grpc_error_handle error, CallCombinerClosureList* closures);
332
- // Runs necessary closures upon completion of a call attempt.
333
- void RunClosuresForCompletedCall(grpc_error_handle error);
334
- // Intercepts recv_trailing_metadata_ready callback for retries.
335
- // Commits the call and returns the trailing metadata up the stack.
336
- static void RecvTrailingMetadataReady(void* arg, grpc_error_handle error);
337
-
338
- // Adds the on_complete closure for the pending batch completed in
339
- // batch_data to closures.
340
- void AddClosuresForCompletedPendingBatch(
341
- grpc_error_handle error, CallCombinerClosureList* closures);
342
-
343
- // If there are any cached ops to replay or pending ops to start on the
344
- // LB call, adds them to closures.
345
- void AddClosuresForReplayOrPendingSendOps(
346
- CallCombinerClosureList* closures);
347
-
348
- // Callback used to intercept on_complete from LB calls.
349
- static void OnComplete(void* arg, grpc_error_handle error);
350
-
351
- // Callback used to handle on_complete for internally generated
352
- // cancel_stream op.
353
- static void OnCompleteForCancelOp(void* arg, grpc_error_handle error);
354
-
355
- // This DOES hold a ref, but it cannot be a RefCountedPtr<>, because
356
- // our dtor unrefs the owning call, which may delete the arena in
357
- // which we are allocated, which means that running the dtor of any
358
- // data members after that would cause a crash.
359
- CallAttempt* call_attempt_;
360
- // The batch to use in the LB call.
361
- // Its payload field points to CallAttempt::batch_payload_.
362
- grpc_transport_stream_op_batch batch_;
363
- // For intercepting on_complete.
364
- grpc_closure on_complete_;
365
- };
366
-
367
- // Creates a BatchData object on the call's arena with the
368
- // specified refcount. If set_on_complete is true, the batch's
369
- // on_complete callback will be set to point to on_complete();
370
- // otherwise, the batch's on_complete callback will be null.
371
- BatchData* CreateBatch(int refcount, bool set_on_complete) {
372
- return calld_->arena_->New<BatchData>(Ref(DEBUG_LOCATION, "CreateBatch"),
373
- refcount, set_on_complete);
374
- }
375
-
376
- // If there are any cached send ops that need to be replayed on this
377
- // call attempt, creates and returns a new batch to replay those ops.
378
- // Otherwise, returns nullptr.
379
- BatchData* MaybeCreateBatchForReplay();
380
-
381
- // Adds a closure to closures that will execute batch in the call combiner.
382
- void AddClosureForBatch(grpc_transport_stream_op_batch* batch,
383
- const char* reason,
384
- CallCombinerClosureList* closures);
385
-
386
- // Helper function used to start a recv_trailing_metadata batch. This
387
- // is used in the case where a recv_initial_metadata or recv_message
388
- // op fails in a way that we know the call is over but when the application
389
- // has not yet started its own recv_trailing_metadata op.
390
- void AddBatchForInternalRecvTrailingMetadata(
391
- CallCombinerClosureList* closures);
392
-
393
- // Adds a batch to closures to cancel this call attempt, if
394
- // cancellation has not already been sent on the LB call.
395
- void MaybeAddBatchForCancelOp(grpc_error_handle error,
396
- CallCombinerClosureList* closures);
397
-
398
- // Adds batches for pending batches to closures.
399
- void AddBatchesForPendingBatches(CallCombinerClosureList* closures);
400
-
401
- // Adds whatever batches are needed on this attempt to closures.
402
- void AddRetriableBatches(CallCombinerClosureList* closures);
403
-
404
- // Returns true if any send op in the batch was not yet started on this
405
- // attempt.
406
- bool PendingBatchContainsUnstartedSendOps(PendingBatch* pending);
407
-
408
- // Returns true if there are cached send ops to replay.
409
- bool HaveSendOpsToReplay();
410
-
411
- // If our retry state is no longer needed, switch to fast path by moving
412
- // our LB call into calld_->committed_call_ and having calld_ drop
413
- // its ref to us.
414
- void MaybeSwitchToFastPath();
415
-
416
- // Returns true if the call should be retried.
417
- bool ShouldRetry(absl::optional<grpc_status_code> status,
418
- absl::optional<Duration> server_pushback_ms);
419
-
420
- // Abandons the call attempt. Unrefs any deferred batches.
421
- void Abandon();
422
-
423
- void OnPerAttemptRecvTimer();
424
- static void OnPerAttemptRecvTimerLocked(void* arg, grpc_error_handle error);
425
- void MaybeCancelPerAttemptRecvTimer();
426
-
427
- CallData* calld_;
428
- OrphanablePtr<ClientChannel::FilterBasedLoadBalancedCall> lb_call_;
429
- bool lb_call_committed_ = false;
430
-
431
- grpc_closure on_per_attempt_recv_timer_;
432
- absl::optional<EventEngine::TaskHandle> per_attempt_recv_timer_handle_;
433
-
434
- // BatchData.batch.payload points to this.
435
- grpc_transport_stream_op_batch_payload batch_payload_;
436
- // For send_initial_metadata.
437
- grpc_metadata_batch send_initial_metadata_{calld_->arena_};
438
- // For send_trailing_metadata.
439
- grpc_metadata_batch send_trailing_metadata_{calld_->arena_};
440
- // For intercepting recv_initial_metadata.
441
- grpc_metadata_batch recv_initial_metadata_{calld_->arena_};
442
- grpc_closure recv_initial_metadata_ready_;
443
- bool trailing_metadata_available_ = false;
444
- // For intercepting recv_message.
445
- grpc_closure recv_message_ready_;
446
- absl::optional<SliceBuffer> recv_message_;
447
- uint32_t recv_message_flags_;
448
- // For intercepting recv_trailing_metadata.
449
- grpc_metadata_batch recv_trailing_metadata_{calld_->arena_};
450
- grpc_transport_stream_stats collect_stats_;
451
- grpc_closure recv_trailing_metadata_ready_;
452
- // These fields indicate which ops have been started and completed on
453
- // this call attempt.
454
- size_t started_send_message_count_ = 0;
455
- size_t completed_send_message_count_ = 0;
456
- size_t started_recv_message_count_ = 0;
457
- size_t completed_recv_message_count_ = 0;
458
- bool started_send_initial_metadata_ : 1;
459
- bool completed_send_initial_metadata_ : 1;
460
- bool started_send_trailing_metadata_ : 1;
461
- bool completed_send_trailing_metadata_ : 1;
462
- bool started_recv_initial_metadata_ : 1;
463
- bool completed_recv_initial_metadata_ : 1;
464
- bool started_recv_trailing_metadata_ : 1;
465
- bool completed_recv_trailing_metadata_ : 1;
466
- bool sent_cancel_stream_ : 1;
467
- // State for callback processing.
468
- RefCountedPtr<BatchData> recv_initial_metadata_ready_deferred_batch_;
469
- grpc_error_handle recv_initial_metadata_error_;
470
- RefCountedPtr<BatchData> recv_message_ready_deferred_batch_;
471
- grpc_error_handle recv_message_error_;
472
- struct OnCompleteDeferredBatch {
473
- OnCompleteDeferredBatch(RefCountedPtr<BatchData> batch,
474
- grpc_error_handle error)
475
- : batch(std::move(batch)), error(error) {}
476
- RefCountedPtr<BatchData> batch;
477
- grpc_error_handle error;
478
- };
479
- // There cannot be more than 3 pending send op batches at a time.
480
- absl::InlinedVector<OnCompleteDeferredBatch, 3>
481
- on_complete_deferred_batches_;
482
- RefCountedPtr<BatchData> recv_trailing_metadata_internal_batch_;
483
- grpc_error_handle recv_trailing_metadata_error_;
484
- bool seen_recv_trailing_metadata_from_surface_ : 1;
485
- // NOTE: Do not move this next to the metadata bitfields above. That would
486
- // save space but will also result in a data race because compiler
487
- // will generate a 2 byte store which overwrites the meta-data
488
- // fields upon setting this field.
489
- bool abandoned_ : 1;
490
- };
491
-
492
- CallData(RetryFilter* chand, const grpc_call_element_args& args);
493
- ~CallData();
494
-
495
- void StartTransportStreamOpBatch(grpc_transport_stream_op_batch* batch);
496
-
497
- // Returns the index into pending_batches_ to be used for batch.
498
- static size_t GetBatchIndex(grpc_transport_stream_op_batch* batch);
499
- PendingBatch* PendingBatchesAdd(grpc_transport_stream_op_batch* batch);
500
- void PendingBatchClear(PendingBatch* pending);
501
- void MaybeClearPendingBatch(PendingBatch* pending);
502
- static void FailPendingBatchInCallCombiner(void* arg,
503
- grpc_error_handle error);
504
- // Fails all pending batches. Does NOT yield call combiner.
505
- void PendingBatchesFail(grpc_error_handle error);
506
- // Returns a pointer to the first pending batch for which predicate(batch)
507
- // returns true, or null if not found.
508
- template <typename Predicate>
509
- PendingBatch* PendingBatchFind(const char* log_message, Predicate predicate);
510
-
511
- // Caches data for send ops so that it can be retried later, if not
512
- // already cached.
513
- void MaybeCacheSendOpsForBatch(PendingBatch* pending);
514
- void FreeCachedSendInitialMetadata();
515
- // Frees cached send_message at index idx.
516
- void FreeCachedSendMessage(size_t idx);
517
- void FreeCachedSendTrailingMetadata();
518
- void FreeAllCachedSendOpData();
519
-
520
- // Commits the call so that no further retry attempts will be performed.
521
- void RetryCommit(CallAttempt* call_attempt);
522
-
523
- // Starts a timer to retry after appropriate back-off.
524
- // If server_pushback is nullopt, retry_backoff_ is used.
525
- void StartRetryTimer(absl::optional<Duration> server_pushback);
526
-
527
- void OnRetryTimer();
528
- static void OnRetryTimerLocked(void* arg, grpc_error_handle /*error*/);
529
-
530
- // Adds a closure to closures to start a transparent retry.
531
- void AddClosureToStartTransparentRetry(CallCombinerClosureList* closures);
532
- static void StartTransparentRetry(void* arg, grpc_error_handle error);
533
-
534
- OrphanablePtr<ClientChannel::FilterBasedLoadBalancedCall>
535
- CreateLoadBalancedCall(absl::AnyInvocable<void()> on_commit,
536
- bool is_transparent_retry);
537
-
538
- void CreateCallAttempt(bool is_transparent_retry);
539
-
540
- RetryFilter* chand_;
541
- grpc_polling_entity* pollent_;
542
- RefCountedPtr<ServerRetryThrottleData> retry_throttle_data_;
543
- const RetryMethodConfig* retry_policy_ = nullptr;
544
- BackOff retry_backoff_;
545
-
546
- grpc_slice path_; // Request path.
547
- Timestamp deadline_;
548
- Arena* arena_;
549
- grpc_call_stack* owning_call_;
550
- CallCombiner* call_combiner_;
551
- grpc_call_context_element* call_context_;
552
-
553
- grpc_error_handle cancelled_from_surface_;
554
-
555
- RefCountedPtr<CallStackDestructionBarrier> call_stack_destruction_barrier_;
556
-
557
- // TODO(roth): As part of implementing hedging, we will need to maintain a
558
- // list of all pending attempts, so that we can cancel them all if the call
559
- // gets cancelled.
560
- RefCountedPtr<CallAttempt> call_attempt_;
561
-
562
- // LB call used when we've committed to a call attempt and the retry
563
- // state for that attempt is no longer needed. This provides a fast
564
- // path for long-running streaming calls that minimizes overhead.
565
- OrphanablePtr<ClientChannel::FilterBasedLoadBalancedCall> committed_call_;
566
-
567
- // When are are not yet fully committed to a particular call (i.e.,
568
- // either we might still retry or we have committed to the call but
569
- // there are still some cached ops to be replayed on the call),
570
- // batches received from above will be added to this list, and they
571
- // will not be removed until we have invoked their completion callbacks.
572
- size_t bytes_buffered_for_retry_ = 0;
573
- PendingBatch pending_batches_[MAX_PENDING_BATCHES];
574
- bool pending_send_initial_metadata_ : 1;
575
- bool pending_send_message_ : 1;
576
- bool pending_send_trailing_metadata_ : 1;
577
-
578
- // Retry state.
579
- bool retry_committed_ : 1;
580
- bool retry_codepath_started_ : 1;
581
- bool sent_transparent_retry_not_seen_by_server_ : 1;
582
- int num_attempts_completed_ = 0;
583
- absl::optional<EventEngine::TaskHandle> retry_timer_handle_;
584
- grpc_closure retry_closure_;
585
-
586
- // Cached data for retrying send ops.
587
- // send_initial_metadata
588
- bool seen_send_initial_metadata_ = false;
589
- grpc_metadata_batch send_initial_metadata_{arena_};
590
- // send_message
591
- // When we get a send_message op, we replace the original byte stream
592
- // with a CachingByteStream that caches the slices to a local buffer for
593
- // use in retries.
594
- // Note: We inline the cache for the first 3 send_message ops and use
595
- // dynamic allocation after that. This number was essentially picked
596
- // at random; it could be changed in the future to tune performance.
597
- struct CachedSendMessage {
598
- SliceBuffer* slices;
599
- uint32_t flags;
600
- };
601
- absl::InlinedVector<CachedSendMessage, 3> send_messages_;
602
- // send_trailing_metadata
603
- bool seen_send_trailing_metadata_ = false;
604
- grpc_metadata_batch send_trailing_metadata_{arena_};
605
- };
606
-
607
- //
608
- // RetryFilter::CallData::CallStackDestructionBarrier
609
- //
610
-
611
- // A class to track the existence of LoadBalancedCall call stacks that
612
- // we've created. We wait until all such call stacks have been
613
- // destroyed before we return the on_call_stack_destruction closure up
614
- // to the surface.
615
- //
616
- // The parent RetryFilter::CallData object holds a ref to this object.
617
- // When it is destroyed, it will store the on_call_stack_destruction
618
- // closure from the surface in this object and then release its ref.
619
- // We also take a ref to this object for each LB call we create, and
620
- // those refs are not released until the LB call stack is destroyed.
621
- // When this object is destroyed, it will invoke the
622
- // on_call_stack_destruction closure from the surface.
623
- class RetryFilter::CallData::CallStackDestructionBarrier
624
- : public RefCounted<CallStackDestructionBarrier, PolymorphicRefCount,
625
- UnrefCallDtor> {
626
- public:
627
- CallStackDestructionBarrier() {}
628
-
629
- ~CallStackDestructionBarrier() override {
630
- // TODO(yashkt) : This can potentially be a Closure::Run
631
- ExecCtx::Run(DEBUG_LOCATION, on_call_stack_destruction_, absl::OkStatus());
632
- }
633
-
634
- // Set the closure from the surface. This closure will be invoked
635
- // when this object is destroyed.
636
- void set_on_call_stack_destruction(grpc_closure* on_call_stack_destruction) {
637
- on_call_stack_destruction_ = on_call_stack_destruction;
638
- }
639
-
640
- // Invoked to get an on_call_stack_destruction closure for a new LB call.
641
- grpc_closure* MakeLbCallDestructionClosure(CallData* calld) {
642
- Ref().release(); // Ref held by callback.
643
- grpc_closure* on_lb_call_destruction_complete =
644
- calld->arena_->New<grpc_closure>();
645
- GRPC_CLOSURE_INIT(on_lb_call_destruction_complete,
646
- OnLbCallDestructionComplete, this, nullptr);
647
- return on_lb_call_destruction_complete;
648
- }
649
-
650
- private:
651
- static void OnLbCallDestructionComplete(void* arg,
652
- grpc_error_handle /*error*/) {
653
- auto* self = static_cast<CallStackDestructionBarrier*>(arg);
654
- self->Unref();
655
- }
656
-
657
- grpc_closure* on_call_stack_destruction_ = nullptr;
658
- };
659
-
660
- //
661
- // RetryFilter::CallData::CallAttempt
662
- //
663
-
664
- RetryFilter::CallData::CallAttempt::CallAttempt(CallData* calld,
665
- bool is_transparent_retry)
666
- : RefCounted(GRPC_TRACE_FLAG_ENABLED(grpc_retry_trace) ? "CallAttempt"
667
- : nullptr),
668
- calld_(calld),
669
- batch_payload_(calld->call_context_),
670
- started_send_initial_metadata_(false),
671
- completed_send_initial_metadata_(false),
672
- started_send_trailing_metadata_(false),
673
- completed_send_trailing_metadata_(false),
674
- started_recv_initial_metadata_(false),
675
- completed_recv_initial_metadata_(false),
676
- started_recv_trailing_metadata_(false),
677
- completed_recv_trailing_metadata_(false),
678
- sent_cancel_stream_(false),
679
- seen_recv_trailing_metadata_from_surface_(false),
680
- abandoned_(false) {
681
- lb_call_ = calld->CreateLoadBalancedCall(
682
- [this]() {
683
- lb_call_committed_ = true;
684
- if (calld_->retry_committed_) {
685
- auto* service_config_call_data =
686
- static_cast<ClientChannelServiceConfigCallData*>(
687
- calld_->call_context_[GRPC_CONTEXT_SERVICE_CONFIG_CALL_DATA]
688
- .value);
689
- service_config_call_data->Commit();
690
- }
691
- },
692
- is_transparent_retry);
693
- if (GRPC_TRACE_FLAG_ENABLED(grpc_retry_trace)) {
694
- gpr_log(GPR_INFO,
695
- "chand=%p calld=%p attempt=%p: created attempt, lb_call=%p",
696
- calld->chand_, calld, this, lb_call_.get());
697
- }
698
- // If per_attempt_recv_timeout is set, start a timer.
699
- if (calld->retry_policy_ != nullptr &&
700
- calld->retry_policy_->per_attempt_recv_timeout().has_value()) {
701
- const Duration per_attempt_recv_timeout =
702
- *calld->retry_policy_->per_attempt_recv_timeout();
703
- if (GRPC_TRACE_FLAG_ENABLED(grpc_retry_trace)) {
704
- gpr_log(GPR_INFO,
705
- "chand=%p calld=%p attempt=%p: per-attempt timeout in %" PRId64
706
- " ms",
707
- calld->chand_, calld, this, per_attempt_recv_timeout.millis());
708
- }
709
- // Schedule retry after computed delay.
710
- GRPC_CALL_STACK_REF(calld->owning_call_, "OnPerAttemptRecvTimer");
711
- Ref(DEBUG_LOCATION, "OnPerAttemptRecvTimer").release();
712
- per_attempt_recv_timer_handle_ = calld_->chand_->event_engine_->RunAfter(
713
- per_attempt_recv_timeout, [this] {
714
- ApplicationCallbackExecCtx callback_exec_ctx;
715
- ExecCtx exec_ctx;
716
- OnPerAttemptRecvTimer();
717
- });
718
- }
719
- }
720
-
721
- RetryFilter::CallData::CallAttempt::~CallAttempt() {
722
- if (GRPC_TRACE_FLAG_ENABLED(grpc_retry_trace)) {
723
- gpr_log(GPR_INFO, "chand=%p calld=%p attempt=%p: destroying call attempt",
724
- calld_->chand_, calld_, this);
725
- }
726
- }
727
-
728
- void RetryFilter::CallData::CallAttempt::FreeCachedSendOpDataAfterCommit() {
729
- // TODO(roth): When we implement hedging, this logic will need to get
730
- // a bit more complex, because there may be other (now abandoned) call
731
- // attempts still using this data. We may need to do some sort of
732
- // ref-counting instead.
733
- if (completed_send_initial_metadata_) {
734
- calld_->FreeCachedSendInitialMetadata();
735
- }
736
- for (size_t i = 0; i < completed_send_message_count_; ++i) {
737
- calld_->FreeCachedSendMessage(i);
738
- }
739
- if (completed_send_trailing_metadata_) {
740
- calld_->FreeCachedSendTrailingMetadata();
741
- }
742
- }
743
-
744
- bool RetryFilter::CallData::CallAttempt::PendingBatchContainsUnstartedSendOps(
745
- PendingBatch* pending) {
746
- if (pending->batch->on_complete == nullptr) return false;
747
- if (pending->batch->send_initial_metadata &&
748
- !started_send_initial_metadata_) {
749
- return true;
750
- }
751
- if (pending->batch->send_message &&
752
- started_send_message_count_ < calld_->send_messages_.size()) {
753
- return true;
754
- }
755
- if (pending->batch->send_trailing_metadata &&
756
- !started_send_trailing_metadata_) {
757
- return true;
758
- }
759
- return false;
760
- }
761
-
762
- bool RetryFilter::CallData::CallAttempt::HaveSendOpsToReplay() {
763
- // We don't check send_initial_metadata here, because that op will always
764
- // be started as soon as it is received from the surface, so it will
765
- // never need to be started at this point.
766
- return started_send_message_count_ < calld_->send_messages_.size() ||
767
- (calld_->seen_send_trailing_metadata_ &&
768
- !started_send_trailing_metadata_);
769
- }
770
-
771
- void RetryFilter::CallData::CallAttempt::MaybeSwitchToFastPath() {
772
- // If we're not yet committed, we can't switch yet.
773
- // TODO(roth): As part of implementing hedging, this logic needs to
774
- // check that *this* call attempt is the one that we've committed to.
775
- // Might need to replace abandoned_ with an enum indicating whether we're
776
- // in flight, abandoned, or the winning call attempt.
777
- if (!calld_->retry_committed_) return;
778
- // If we've already switched to fast path, there's nothing to do here.
779
- if (calld_->committed_call_ != nullptr) return;
780
- // If the perAttemptRecvTimeout timer is pending, we can't switch yet.
781
- if (per_attempt_recv_timer_handle_.has_value()) return;
782
- // If there are still send ops to replay, we can't switch yet.
783
- if (HaveSendOpsToReplay()) return;
784
- // If we started an internal batch for recv_trailing_metadata but have not
785
- // yet seen that op from the surface, we can't switch yet.
786
- if (recv_trailing_metadata_internal_batch_ != nullptr) return;
787
- // Switch to fast path.
788
- if (GRPC_TRACE_FLAG_ENABLED(grpc_retry_trace)) {
789
- gpr_log(GPR_INFO,
790
- "chand=%p calld=%p attempt=%p: retry state no longer needed; "
791
- "moving LB call to parent and unreffing the call attempt",
792
- calld_->chand_, calld_, this);
793
- }
794
- calld_->committed_call_ = std::move(lb_call_);
795
- calld_->call_attempt_.reset(DEBUG_LOCATION, "MaybeSwitchToFastPath");
796
- }
797
-
798
- // If there are any cached send ops that need to be replayed on the
799
- // current call attempt, creates and returns a new batch to replay those ops.
800
- // Otherwise, returns nullptr.
801
- RetryFilter::CallData::CallAttempt::BatchData*
802
- RetryFilter::CallData::CallAttempt::MaybeCreateBatchForReplay() {
803
- BatchData* replay_batch_data = nullptr;
804
- // send_initial_metadata.
805
- if (calld_->seen_send_initial_metadata_ && !started_send_initial_metadata_ &&
806
- !calld_->pending_send_initial_metadata_) {
807
- if (GRPC_TRACE_FLAG_ENABLED(grpc_retry_trace)) {
808
- gpr_log(GPR_INFO,
809
- "chand=%p calld=%p attempt=%p: replaying previously completed "
810
- "send_initial_metadata op",
811
- calld_->chand_, calld_, this);
812
- }
813
- replay_batch_data = CreateBatch(1, true /* set_on_complete */);
814
- replay_batch_data->AddRetriableSendInitialMetadataOp();
815
- }
816
- // send_message.
817
- // Note that we can only have one send_message op in flight at a time.
818
- if (started_send_message_count_ < calld_->send_messages_.size() &&
819
- started_send_message_count_ == completed_send_message_count_ &&
820
- !calld_->pending_send_message_) {
821
- if (GRPC_TRACE_FLAG_ENABLED(grpc_retry_trace)) {
822
- gpr_log(GPR_INFO,
823
- "chand=%p calld=%p attempt=%p: replaying previously completed "
824
- "send_message op",
825
- calld_->chand_, calld_, this);
826
- }
827
- if (replay_batch_data == nullptr) {
828
- replay_batch_data = CreateBatch(1, true /* set_on_complete */);
829
- }
830
- replay_batch_data->AddRetriableSendMessageOp();
831
- }
832
- // send_trailing_metadata.
833
- // Note that we only add this op if we have no more send_message ops
834
- // to start, since we can't send down any more send_message ops after
835
- // send_trailing_metadata.
836
- if (calld_->seen_send_trailing_metadata_ &&
837
- started_send_message_count_ == calld_->send_messages_.size() &&
838
- !started_send_trailing_metadata_ &&
839
- !calld_->pending_send_trailing_metadata_) {
840
- if (GRPC_TRACE_FLAG_ENABLED(grpc_retry_trace)) {
841
- gpr_log(GPR_INFO,
842
- "chand=%p calld=%p attempt=%p: replaying previously completed "
843
- "send_trailing_metadata op",
844
- calld_->chand_, calld_, this);
845
- }
846
- if (replay_batch_data == nullptr) {
847
- replay_batch_data = CreateBatch(1, true /* set_on_complete */);
848
- }
849
- replay_batch_data->AddRetriableSendTrailingMetadataOp();
850
- }
851
- return replay_batch_data;
852
- }
853
-
854
- namespace {
855
-
856
- void StartBatchInCallCombiner(void* arg, grpc_error_handle /*ignored*/) {
857
- grpc_transport_stream_op_batch* batch =
858
- static_cast<grpc_transport_stream_op_batch*>(arg);
859
- auto* lb_call = static_cast<ClientChannel::FilterBasedLoadBalancedCall*>(
860
- batch->handler_private.extra_arg);
861
- // Note: This will release the call combiner.
862
- lb_call->StartTransportStreamOpBatch(batch);
863
- }
864
-
865
- } // namespace
866
-
867
- void RetryFilter::CallData::CallAttempt::AddClosureForBatch(
868
- grpc_transport_stream_op_batch* batch, const char* reason,
869
- CallCombinerClosureList* closures) {
870
- if (GRPC_TRACE_FLAG_ENABLED(grpc_retry_trace)) {
871
- gpr_log(GPR_INFO, "chand=%p calld=%p attempt=%p: adding batch (%s): %s",
872
- calld_->chand_, calld_, this, reason,
873
- grpc_transport_stream_op_batch_string(batch, false).c_str());
874
- }
875
- batch->handler_private.extra_arg = lb_call_.get();
876
- GRPC_CLOSURE_INIT(&batch->handler_private.closure, StartBatchInCallCombiner,
877
- batch, grpc_schedule_on_exec_ctx);
878
- closures->Add(&batch->handler_private.closure, absl::OkStatus(), reason);
879
- }
880
-
881
- void RetryFilter::CallData::CallAttempt::
882
- AddBatchForInternalRecvTrailingMetadata(CallCombinerClosureList* closures) {
883
- if (GRPC_TRACE_FLAG_ENABLED(grpc_retry_trace)) {
884
- gpr_log(GPR_INFO,
885
- "chand=%p calld=%p attempt=%p: call failed but "
886
- "recv_trailing_metadata not started; starting it internally",
887
- calld_->chand_, calld_, this);
888
- }
889
- // Create batch_data with 2 refs, since this batch will be unreffed twice:
890
- // once for the recv_trailing_metadata_ready callback when the batch
891
- // completes, and again when we actually get a recv_trailing_metadata
892
- // op from the surface.
893
- BatchData* batch_data = CreateBatch(2, false /* set_on_complete */);
894
- batch_data->AddRetriableRecvTrailingMetadataOp();
895
- recv_trailing_metadata_internal_batch_.reset(batch_data);
896
- AddClosureForBatch(batch_data->batch(),
897
- "starting internal recv_trailing_metadata", closures);
898
- }
899
-
900
- void RetryFilter::CallData::CallAttempt::MaybeAddBatchForCancelOp(
901
- grpc_error_handle error, CallCombinerClosureList* closures) {
902
- if (sent_cancel_stream_) {
100
+ RetryFilter::RetryFilter(const ChannelArgs& args, grpc_error_handle* error)
101
+ : client_channel_(args.GetObject<ClientChannel>()),
102
+ event_engine_(args.GetObject<EventEngine>()),
103
+ per_rpc_retry_buffer_size_(GetMaxPerRpcRetryBufferSize(args)),
104
+ service_config_parser_index_(
105
+ internal::RetryServiceConfigParser::ParserIndex()) {
106
+ // Get retry throttling parameters from service config.
107
+ auto* service_config = args.GetObject<ServiceConfig>();
108
+ if (service_config == nullptr) return;
109
+ const auto* config = static_cast<const RetryGlobalConfig*>(
110
+ service_config->GetGlobalParsedConfig(
111
+ RetryServiceConfigParser::ParserIndex()));
112
+ if (config == nullptr) return;
113
+ // Get server name from target URI.
114
+ auto server_uri = args.GetString(GRPC_ARG_SERVER_URI);
115
+ if (!server_uri.has_value()) {
116
+ *error = GRPC_ERROR_CREATE(
117
+ "server URI channel arg missing or wrong type in client channel "
118
+ "filter");
903
119
  return;
904
120
  }
905
- sent_cancel_stream_ = true;
906
- BatchData* cancel_batch_data = CreateBatch(1, /*set_on_complete=*/true);
907
- cancel_batch_data->AddCancelStreamOp(error);
908
- AddClosureForBatch(cancel_batch_data->batch(),
909
- "start cancellation batch on call attempt", closures);
910
- }
911
-
912
- void RetryFilter::CallData::CallAttempt::AddBatchesForPendingBatches(
913
- CallCombinerClosureList* closures) {
914
- for (size_t i = 0; i < GPR_ARRAY_SIZE(calld_->pending_batches_); ++i) {
915
- PendingBatch* pending = &calld_->pending_batches_[i];
916
- grpc_transport_stream_op_batch* batch = pending->batch;
917
- if (batch == nullptr) continue;
918
- bool has_send_ops = false;
919
- // Skip any batch that either (a) has already been started on this
920
- // call attempt or (b) we can't start yet because we're still
921
- // replaying send ops that need to be completed first.
922
- // TODO(roth): Note that if any one op in the batch can't be sent
923
- // yet due to ops that we're replaying, we don't start any of the ops
924
- // in the batch. This is probably okay, but it could conceivably
925
- // lead to increased latency in some cases -- e.g., we could delay
926
- // starting a recv op due to it being in the same batch with a send
927
- // op. If/when we revamp the callback protocol in
928
- // transport_stream_op_batch, we may be able to fix this.
929
- if (batch->send_initial_metadata) {
930
- if (started_send_initial_metadata_) continue;
931
- has_send_ops = true;
932
- }
933
- if (batch->send_message) {
934
- // Cases where we can't start this send_message op:
935
- // - We are currently replaying a previous cached send_message op.
936
- // - We have already replayed all send_message ops, including this
937
- // one. (This can happen if a send_message op is in the same
938
- // batch as a recv op, the send_message op has already completed
939
- // but the recv op hasn't, and then a subsequent batch with another
940
- // recv op is started from the surface.)
941
- if (completed_send_message_count_ < started_send_message_count_ ||
942
- completed_send_message_count_ ==
943
- (calld_->send_messages_.size() + !pending->send_ops_cached)) {
944
- continue;
945
- }
946
- has_send_ops = true;
947
- }
948
- // Note that we only start send_trailing_metadata if we have no more
949
- // send_message ops to start, since we can't send down any more
950
- // send_message ops after send_trailing_metadata.
951
- if (batch->send_trailing_metadata) {
952
- if (started_send_message_count_ + batch->send_message <
953
- calld_->send_messages_.size() ||
954
- started_send_trailing_metadata_) {
955
- continue;
956
- }
957
- has_send_ops = true;
958
- }
959
- int num_callbacks = has_send_ops; // All send ops share one callback.
960
- if (batch->recv_initial_metadata) {
961
- if (started_recv_initial_metadata_) continue;
962
- ++num_callbacks;
963
- }
964
- if (batch->recv_message) {
965
- // Skip if the op is already in flight, or if it has already completed
966
- // but the completion has not yet been sent to the surface.
967
- if (completed_recv_message_count_ < started_recv_message_count_ ||
968
- recv_message_ready_deferred_batch_ != nullptr) {
969
- continue;
970
- }
971
- ++num_callbacks;
972
- }
973
- if (batch->recv_trailing_metadata) {
974
- if (started_recv_trailing_metadata_) {
975
- seen_recv_trailing_metadata_from_surface_ = true;
976
- // If we previously completed a recv_trailing_metadata op
977
- // initiated by AddBatchForInternalRecvTrailingMetadata(), use the
978
- // result of that instead of trying to re-start this op.
979
- if (GPR_UNLIKELY(recv_trailing_metadata_internal_batch_ != nullptr)) {
980
- // If the batch completed, then trigger the completion callback
981
- // directly, so that we return the previously returned results to
982
- // the application. Otherwise, just unref the internally started
983
- // batch, since we'll propagate the completion when it completes.
984
- if (completed_recv_trailing_metadata_) {
985
- closures->Add(
986
- &recv_trailing_metadata_ready_, recv_trailing_metadata_error_,
987
- "re-executing recv_trailing_metadata_ready to propagate "
988
- "internally triggered result");
989
- // Ref will be released by callback.
990
- recv_trailing_metadata_internal_batch_.release();
991
- } else {
992
- recv_trailing_metadata_internal_batch_.reset(
993
- DEBUG_LOCATION,
994
- "internally started recv_trailing_metadata batch pending and "
995
- "recv_trailing_metadata started from surface");
996
- }
997
- recv_trailing_metadata_error_ = absl::OkStatus();
998
- }
999
- // We don't want the fact that we've already started this op internally
1000
- // to prevent us from adding a batch that may contain other ops.
1001
- // Instead, we'll just skip adding this op below.
1002
- if (num_callbacks == 0) continue;
1003
- } else {
1004
- ++num_callbacks;
1005
- }
1006
- }
1007
- // If we're already committed and the following conditions are met,
1008
- // just send the batch down as-is:
1009
- // - The batch contains no cached send ops. (If it does, we need
1010
- // the logic below to use the cached payloads.)
1011
- // - The batch does not contain recv_trailing_metadata when we have
1012
- // already started an internal recv_trailing_metadata batch. (If
1013
- // we've already started an internal recv_trailing_metadata batch,
1014
- // then we need the logic below to send all ops in the batch
1015
- // *except* the recv_trailing_metadata op.)
1016
- if (calld_->retry_committed_ && !pending->send_ops_cached &&
1017
- (!batch->recv_trailing_metadata || !started_recv_trailing_metadata_)) {
1018
- AddClosureForBatch(
1019
- batch,
1020
- "start non-replayable pending batch on call attempt after commit",
1021
- closures);
1022
- calld_->PendingBatchClear(pending);
1023
- continue;
1024
- }
1025
- // Create batch with the right number of callbacks.
1026
- BatchData* batch_data =
1027
- CreateBatch(num_callbacks, has_send_ops /* set_on_complete */);
1028
- // Cache send ops if needed.
1029
- calld_->MaybeCacheSendOpsForBatch(pending);
1030
- // send_initial_metadata.
1031
- if (batch->send_initial_metadata) {
1032
- batch_data->AddRetriableSendInitialMetadataOp();
1033
- }
1034
- // send_message.
1035
- if (batch->send_message) {
1036
- batch_data->AddRetriableSendMessageOp();
1037
- }
1038
- // send_trailing_metadata.
1039
- if (batch->send_trailing_metadata) {
1040
- batch_data->AddRetriableSendTrailingMetadataOp();
1041
- }
1042
- // recv_initial_metadata.
1043
- if (batch->recv_initial_metadata) {
1044
- batch_data->AddRetriableRecvInitialMetadataOp();
1045
- }
1046
- // recv_message.
1047
- if (batch->recv_message) {
1048
- batch_data->AddRetriableRecvMessageOp();
1049
- }
1050
- // recv_trailing_metadata.
1051
- if (batch->recv_trailing_metadata && !started_recv_trailing_metadata_) {
1052
- batch_data->AddRetriableRecvTrailingMetadataOp();
1053
- }
1054
- AddClosureForBatch(batch_data->batch(),
1055
- "start replayable pending batch on call attempt",
1056
- closures);
1057
- }
1058
- }
1059
-
1060
- void RetryFilter::CallData::CallAttempt::AddRetriableBatches(
1061
- CallCombinerClosureList* closures) {
1062
- // Replay previously-returned send_* ops if needed.
1063
- BatchData* replay_batch_data = MaybeCreateBatchForReplay();
1064
- if (replay_batch_data != nullptr) {
1065
- AddClosureForBatch(replay_batch_data->batch(),
1066
- "start replay batch on call attempt", closures);
1067
- }
1068
- // Now add pending batches.
1069
- AddBatchesForPendingBatches(closures);
1070
- }
1071
-
1072
- void RetryFilter::CallData::CallAttempt::StartRetriableBatches() {
1073
- if (GRPC_TRACE_FLAG_ENABLED(grpc_retry_trace)) {
1074
- gpr_log(GPR_INFO,
1075
- "chand=%p calld=%p attempt=%p: constructing retriable batches",
1076
- calld_->chand_, calld_, this);
1077
- }
1078
- // Construct list of closures to execute, one for each pending batch.
1079
- CallCombinerClosureList closures;
1080
- AddRetriableBatches(&closures);
1081
- // Note: This will yield the call combiner.
1082
- // Start batches on LB call.
1083
- if (GRPC_TRACE_FLAG_ENABLED(grpc_retry_trace)) {
1084
- gpr_log(GPR_INFO,
1085
- "chand=%p calld=%p attempt=%p: starting %" PRIuPTR
1086
- " retriable batches on lb_call=%p",
1087
- calld_->chand_, calld_, this, closures.size(), lb_call_.get());
1088
- }
1089
- closures.RunClosures(calld_->call_combiner_);
1090
- }
1091
-
1092
- void RetryFilter::CallData::CallAttempt::CancelFromSurface(
1093
- grpc_transport_stream_op_batch* cancel_batch) {
1094
- MaybeCancelPerAttemptRecvTimer();
1095
- Abandon();
1096
- // Propagate cancellation to LB call.
1097
- lb_call_->StartTransportStreamOpBatch(cancel_batch);
1098
- }
1099
-
1100
- bool RetryFilter::CallData::CallAttempt::ShouldRetry(
1101
- absl::optional<grpc_status_code> status,
1102
- absl::optional<Duration> server_pushback) {
1103
- // If no retry policy, don't retry.
1104
- if (calld_->retry_policy_ == nullptr) return false;
1105
- // Check status.
1106
- if (status.has_value()) {
1107
- if (GPR_LIKELY(*status == GRPC_STATUS_OK)) {
1108
- if (calld_->retry_throttle_data_ != nullptr) {
1109
- calld_->retry_throttle_data_->RecordSuccess();
1110
- }
1111
- if (GRPC_TRACE_FLAG_ENABLED(grpc_retry_trace)) {
1112
- gpr_log(GPR_INFO, "chand=%p calld=%p attempt=%p: call succeeded",
1113
- calld_->chand_, calld_, this);
1114
- }
1115
- return false;
1116
- }
1117
- // Status is not OK. Check whether the status is retryable.
1118
- if (!calld_->retry_policy_->retryable_status_codes().Contains(*status)) {
1119
- if (GRPC_TRACE_FLAG_ENABLED(grpc_retry_trace)) {
1120
- gpr_log(GPR_INFO,
1121
- "chand=%p calld=%p attempt=%p: status %s not configured as "
1122
- "retryable",
1123
- calld_->chand_, calld_, this,
1124
- grpc_status_code_to_string(*status));
1125
- }
1126
- return false;
1127
- }
1128
- }
1129
- // Record the failure and check whether retries are throttled.
1130
- // Note that it's important for this check to come after the status
1131
- // code check above, since we should only record failures whose statuses
1132
- // match the configured retryable status codes, so that we don't count
1133
- // things like failures due to malformed requests (INVALID_ARGUMENT).
1134
- // Conversely, it's important for this to come before the remaining
1135
- // checks, so that we don't fail to record failures due to other factors.
1136
- if (calld_->retry_throttle_data_ != nullptr &&
1137
- !calld_->retry_throttle_data_->RecordFailure()) {
1138
- if (GRPC_TRACE_FLAG_ENABLED(grpc_retry_trace)) {
1139
- gpr_log(GPR_INFO, "chand=%p calld=%p attempt=%p: retries throttled",
1140
- calld_->chand_, calld_, this);
1141
- }
1142
- return false;
1143
- }
1144
- // Check whether the call is committed.
1145
- if (calld_->retry_committed_) {
1146
- if (GRPC_TRACE_FLAG_ENABLED(grpc_retry_trace)) {
1147
- gpr_log(GPR_INFO,
1148
- "chand=%p calld=%p attempt=%p: retries already committed",
1149
- calld_->chand_, calld_, this);
1150
- }
1151
- return false;
1152
- }
1153
- // Check whether we have retries remaining.
1154
- ++calld_->num_attempts_completed_;
1155
- if (calld_->num_attempts_completed_ >=
1156
- calld_->retry_policy_->max_attempts()) {
1157
- if (GRPC_TRACE_FLAG_ENABLED(grpc_retry_trace)) {
1158
- gpr_log(
1159
- GPR_INFO, "chand=%p calld=%p attempt=%p: exceeded %d retry attempts",
1160
- calld_->chand_, calld_, this, calld_->retry_policy_->max_attempts());
1161
- }
1162
- return false;
1163
- }
1164
- // Check server push-back.
1165
- if (server_pushback.has_value()) {
1166
- if (*server_pushback < Duration::Zero()) {
1167
- if (GRPC_TRACE_FLAG_ENABLED(grpc_retry_trace)) {
1168
- gpr_log(GPR_INFO,
1169
- "chand=%p calld=%p attempt=%p: not retrying due to server "
1170
- "push-back",
1171
- calld_->chand_, calld_, this);
1172
- }
1173
- return false;
1174
- } else {
1175
- if (GRPC_TRACE_FLAG_ENABLED(grpc_retry_trace)) {
1176
- gpr_log(
1177
- GPR_INFO,
1178
- "chand=%p calld=%p attempt=%p: server push-back: retry in %" PRIu64
1179
- " ms",
1180
- calld_->chand_, calld_, this, server_pushback->millis());
1181
- }
1182
- }
1183
- }
1184
- // We should retry.
1185
- return true;
1186
- }
1187
-
1188
- void RetryFilter::CallData::CallAttempt::Abandon() {
1189
- abandoned_ = true;
1190
- // Unref batches for deferred completion callbacks that will now never
1191
- // be invoked.
1192
- if (started_recv_trailing_metadata_ &&
1193
- !seen_recv_trailing_metadata_from_surface_) {
1194
- recv_trailing_metadata_internal_batch_.reset(
1195
- DEBUG_LOCATION,
1196
- "unref internal recv_trailing_metadata_ready batch; attempt abandoned");
1197
- }
1198
- recv_trailing_metadata_error_ = absl::OkStatus();
1199
- recv_initial_metadata_ready_deferred_batch_.reset(
1200
- DEBUG_LOCATION,
1201
- "unref deferred recv_initial_metadata_ready batch; attempt abandoned");
1202
- recv_initial_metadata_error_ = absl::OkStatus();
1203
- recv_message_ready_deferred_batch_.reset(
1204
- DEBUG_LOCATION,
1205
- "unref deferred recv_message_ready batch; attempt abandoned");
1206
- recv_message_error_ = absl::OkStatus();
1207
- for (auto& on_complete_deferred_batch : on_complete_deferred_batches_) {
1208
- on_complete_deferred_batch.batch.reset(
1209
- DEBUG_LOCATION, "unref deferred on_complete batch; attempt abandoned");
1210
- }
1211
- on_complete_deferred_batches_.clear();
1212
- }
1213
-
1214
- void RetryFilter::CallData::CallAttempt::OnPerAttemptRecvTimer() {
1215
- GRPC_CLOSURE_INIT(&on_per_attempt_recv_timer_, OnPerAttemptRecvTimerLocked,
1216
- this, nullptr);
1217
- GRPC_CALL_COMBINER_START(calld_->call_combiner_, &on_per_attempt_recv_timer_,
1218
- absl::OkStatus(), "per-attempt timer fired");
1219
- }
1220
-
1221
- void RetryFilter::CallData::CallAttempt::OnPerAttemptRecvTimerLocked(
1222
- void* arg, grpc_error_handle error) {
1223
- auto* call_attempt = static_cast<CallAttempt*>(arg);
1224
- auto* calld = call_attempt->calld_;
1225
- if (GRPC_TRACE_FLAG_ENABLED(grpc_retry_trace)) {
1226
- gpr_log(GPR_INFO,
1227
- "chand=%p calld=%p attempt=%p: perAttemptRecvTimeout timer fired: "
1228
- "error=%s, per_attempt_recv_timer_handle_.has_value()=%d",
1229
- calld->chand_, calld, call_attempt, StatusToString(error).c_str(),
1230
- call_attempt->per_attempt_recv_timer_handle_.has_value());
1231
- }
1232
- CallCombinerClosureList closures;
1233
- call_attempt->per_attempt_recv_timer_handle_.reset();
1234
- // Cancel this attempt.
1235
- // TODO(roth): When implementing hedging, we should not cancel the
1236
- // current attempt.
1237
- call_attempt->MaybeAddBatchForCancelOp(
1238
- grpc_error_set_int(
1239
- GRPC_ERROR_CREATE("retry perAttemptRecvTimeout exceeded"),
1240
- StatusIntProperty::kRpcStatus, GRPC_STATUS_CANCELLED),
1241
- &closures);
1242
- // Check whether we should retry.
1243
- if (call_attempt->ShouldRetry(/*status=*/absl::nullopt,
1244
- /*server_pushback_ms=*/absl::nullopt)) {
1245
- // Mark current attempt as abandoned.
1246
- call_attempt->Abandon();
1247
- // We are retrying. Start backoff timer.
1248
- calld->StartRetryTimer(/*server_pushback=*/absl::nullopt);
1249
- } else {
1250
- // Not retrying, so commit the call.
1251
- calld->RetryCommit(call_attempt);
1252
- // If retry state is no longer needed, switch to fast path for
1253
- // subsequent batches.
1254
- call_attempt->MaybeSwitchToFastPath();
1255
- }
1256
- closures.RunClosures(calld->call_combiner_);
1257
- call_attempt->Unref(DEBUG_LOCATION, "OnPerAttemptRecvTimer");
1258
- GRPC_CALL_STACK_UNREF(calld->owning_call_, "OnPerAttemptRecvTimer");
1259
- }
1260
-
1261
- void RetryFilter::CallData::CallAttempt::MaybeCancelPerAttemptRecvTimer() {
1262
- if (per_attempt_recv_timer_handle_.has_value()) {
1263
- if (GRPC_TRACE_FLAG_ENABLED(grpc_retry_trace)) {
1264
- gpr_log(GPR_INFO,
1265
- "chand=%p calld=%p attempt=%p: cancelling "
1266
- "perAttemptRecvTimeout timer",
1267
- calld_->chand_, calld_, this);
1268
- }
1269
- if (calld_->chand_->event_engine_->Cancel(
1270
- *per_attempt_recv_timer_handle_)) {
1271
- Unref(DEBUG_LOCATION, "OnPerAttemptRecvTimer");
1272
- GRPC_CALL_STACK_UNREF(calld_->owning_call_, "OnPerAttemptRecvTimer");
1273
- }
1274
- per_attempt_recv_timer_handle_.reset();
1275
- }
1276
- }
1277
-
1278
- //
1279
- // RetryFilter::CallData::CallAttempt::BatchData
1280
- //
1281
-
1282
- RetryFilter::CallData::CallAttempt::BatchData::BatchData(
1283
- RefCountedPtr<CallAttempt> attempt, int refcount, bool set_on_complete)
1284
- : RefCounted(
1285
- GRPC_TRACE_FLAG_ENABLED(grpc_retry_trace) ? "BatchData" : nullptr,
1286
- refcount),
1287
- call_attempt_(attempt.release()) {
1288
- if (GRPC_TRACE_FLAG_ENABLED(grpc_retry_trace)) {
1289
- gpr_log(GPR_INFO, "chand=%p calld=%p attempt=%p: creating batch %p",
1290
- call_attempt_->calld_->chand_, call_attempt_->calld_, call_attempt_,
1291
- this);
1292
- }
1293
- // We hold a ref to the call stack for every batch sent on a call attempt.
1294
- // This is because some batches on the call attempt may not complete
1295
- // until after all of the batches are completed at the surface (because
1296
- // each batch that is pending at the surface holds a ref). This
1297
- // can happen for replayed send ops, and it can happen for
1298
- // recv_initial_metadata and recv_message ops on a call attempt that has
1299
- // been abandoned.
1300
- GRPC_CALL_STACK_REF(call_attempt_->calld_->owning_call_, "Retry BatchData");
1301
- batch_.payload = &call_attempt_->batch_payload_;
1302
- if (set_on_complete) {
1303
- GRPC_CLOSURE_INIT(&on_complete_, OnComplete, this, nullptr);
1304
- batch_.on_complete = &on_complete_;
1305
- }
1306
- }
1307
-
1308
- RetryFilter::CallData::CallAttempt::BatchData::~BatchData() {
1309
- if (GRPC_TRACE_FLAG_ENABLED(grpc_retry_trace)) {
1310
- gpr_log(GPR_INFO, "chand=%p calld=%p attempt=%p: destroying batch %p",
1311
- call_attempt_->calld_->chand_, call_attempt_->calld_, call_attempt_,
1312
- this);
1313
- }
1314
- CallAttempt* call_attempt = std::exchange(call_attempt_, nullptr);
1315
- grpc_call_stack* owning_call = call_attempt->calld_->owning_call_;
1316
- call_attempt->Unref(DEBUG_LOCATION, "~BatchData");
1317
- GRPC_CALL_STACK_UNREF(owning_call, "Retry BatchData");
1318
- }
1319
-
1320
- void RetryFilter::CallData::CallAttempt::BatchData::
1321
- FreeCachedSendOpDataForCompletedBatch() {
1322
- auto* calld = call_attempt_->calld_;
1323
- // TODO(roth): When we implement hedging, this logic will need to get
1324
- // a bit more complex, because there may be other (now abandoned) call
1325
- // attempts still using this data. We may need to do some sort of
1326
- // ref-counting instead.
1327
- if (batch_.send_initial_metadata) {
1328
- calld->FreeCachedSendInitialMetadata();
1329
- }
1330
- if (batch_.send_message) {
1331
- calld->FreeCachedSendMessage(call_attempt_->completed_send_message_count_ -
1332
- 1);
1333
- }
1334
- if (batch_.send_trailing_metadata) {
1335
- calld->FreeCachedSendTrailingMetadata();
1336
- }
1337
- }
1338
-
1339
- //
1340
- // recv_initial_metadata callback handling
1341
- //
1342
-
1343
- void RetryFilter::CallData::CallAttempt::BatchData::
1344
- MaybeAddClosureForRecvInitialMetadataCallback(
1345
- grpc_error_handle error, CallCombinerClosureList* closures) {
1346
- // Find pending batch.
1347
- PendingBatch* pending = call_attempt_->calld_->PendingBatchFind(
1348
- "invoking recv_initial_metadata_ready for",
1349
- [](grpc_transport_stream_op_batch* batch) {
1350
- return batch->recv_initial_metadata &&
1351
- batch->payload->recv_initial_metadata
1352
- .recv_initial_metadata_ready != nullptr;
1353
- });
1354
- if (pending == nullptr) {
1355
- return;
1356
- }
1357
- // Return metadata.
1358
- *pending->batch->payload->recv_initial_metadata.recv_initial_metadata =
1359
- std::move(call_attempt_->recv_initial_metadata_);
1360
- // Propagate trailing_metadata_available.
1361
- *pending->batch->payload->recv_initial_metadata.trailing_metadata_available =
1362
- call_attempt_->trailing_metadata_available_;
1363
- // Update bookkeeping.
1364
- // Note: Need to do this before invoking the callback, since invoking
1365
- // the callback will result in yielding the call combiner.
1366
- grpc_closure* recv_initial_metadata_ready =
1367
- pending->batch->payload->recv_initial_metadata
1368
- .recv_initial_metadata_ready;
1369
- pending->batch->payload->recv_initial_metadata.recv_initial_metadata_ready =
1370
- nullptr;
1371
- call_attempt_->calld_->MaybeClearPendingBatch(pending);
1372
- // Add callback to closures.
1373
- closures->Add(recv_initial_metadata_ready, error,
1374
- "recv_initial_metadata_ready for pending batch");
1375
- }
1376
-
1377
- void RetryFilter::CallData::CallAttempt::BatchData::RecvInitialMetadataReady(
1378
- void* arg, grpc_error_handle error) {
1379
- RefCountedPtr<BatchData> batch_data(static_cast<BatchData*>(arg));
1380
- CallAttempt* call_attempt = batch_data->call_attempt_;
1381
- CallData* calld = call_attempt->calld_;
1382
- if (GRPC_TRACE_FLAG_ENABLED(grpc_retry_trace)) {
1383
- gpr_log(GPR_INFO,
1384
- "chand=%p calld=%p attempt=%p batch_data=%p: "
1385
- "got recv_initial_metadata_ready, error=%s",
1386
- calld->chand_, calld, call_attempt, batch_data.get(),
1387
- StatusToString(error).c_str());
1388
- }
1389
- call_attempt->completed_recv_initial_metadata_ = true;
1390
- // If this attempt has been abandoned, then we're not going to use the
1391
- // result of this recv_initial_metadata op, so do nothing.
1392
- if (call_attempt->abandoned_) {
1393
- GRPC_CALL_COMBINER_STOP(
1394
- calld->call_combiner_,
1395
- "recv_initial_metadata_ready for abandoned attempt");
121
+ absl::StatusOr<URI> uri = URI::Parse(*server_uri);
122
+ if (!uri.ok() || uri->path().empty()) {
123
+ *error = GRPC_ERROR_CREATE("could not extract server name from target URI");
1396
124
  return;
1397
125
  }
1398
- // Cancel per-attempt recv timer, if any.
1399
- call_attempt->MaybeCancelPerAttemptRecvTimer();
1400
- // If we're not committed, check the response to see if we need to commit.
1401
- if (!calld->retry_committed_) {
1402
- // If we got an error or a Trailers-Only response and have not yet gotten
1403
- // the recv_trailing_metadata_ready callback, then defer propagating this
1404
- // callback back to the surface. We can evaluate whether to retry when
1405
- // recv_trailing_metadata comes back.
1406
- if (GPR_UNLIKELY(
1407
- (call_attempt->trailing_metadata_available_ || !error.ok()) &&
1408
- !call_attempt->completed_recv_trailing_metadata_)) {
1409
- if (GRPC_TRACE_FLAG_ENABLED(grpc_retry_trace)) {
1410
- gpr_log(GPR_INFO,
1411
- "chand=%p calld=%p attempt=%p: deferring "
1412
- "recv_initial_metadata_ready (Trailers-Only)",
1413
- calld->chand_, calld, call_attempt);
1414
- }
1415
- call_attempt->recv_initial_metadata_ready_deferred_batch_ =
1416
- std::move(batch_data);
1417
- call_attempt->recv_initial_metadata_error_ = error;
1418
- CallCombinerClosureList closures;
1419
- if (!error.ok()) {
1420
- call_attempt->MaybeAddBatchForCancelOp(error, &closures);
1421
- }
1422
- if (!call_attempt->started_recv_trailing_metadata_) {
1423
- // recv_trailing_metadata not yet started by application; start it
1424
- // ourselves to get status.
1425
- call_attempt->AddBatchForInternalRecvTrailingMetadata(&closures);
1426
- }
1427
- closures.RunClosures(calld->call_combiner_);
1428
- return;
1429
- }
1430
- // Received valid initial metadata, so commit the call.
1431
- calld->RetryCommit(call_attempt);
1432
- // If retry state is no longer needed, switch to fast path for
1433
- // subsequent batches.
1434
- call_attempt->MaybeSwitchToFastPath();
1435
- }
1436
- // Invoke the callback to return the result to the surface.
1437
- CallCombinerClosureList closures;
1438
- batch_data->MaybeAddClosureForRecvInitialMetadataCallback(error, &closures);
1439
- closures.RunClosures(calld->call_combiner_);
126
+ std::string server_name(absl::StripPrefix(uri->path(), "/"));
127
+ // Get throttling config for server_name.
128
+ retry_throttle_data_ =
129
+ internal::ServerRetryThrottleMap::Get()->GetDataForServer(
130
+ server_name, config->max_milli_tokens(), config->milli_token_ratio());
1440
131
  }
1441
132
 
1442
- //
1443
- // recv_message callback handling
1444
- //
1445
-
1446
- void RetryFilter::CallData::CallAttempt::BatchData::
1447
- MaybeAddClosureForRecvMessageCallback(grpc_error_handle error,
1448
- CallCombinerClosureList* closures) {
1449
- // Find pending op.
1450
- PendingBatch* pending = call_attempt_->calld_->PendingBatchFind(
1451
- "invoking recv_message_ready for",
1452
- [](grpc_transport_stream_op_batch* batch) {
1453
- return batch->recv_message &&
1454
- batch->payload->recv_message.recv_message_ready != nullptr;
1455
- });
1456
- if (pending == nullptr) {
1457
- return;
1458
- }
1459
- // Return payload.
1460
- *pending->batch->payload->recv_message.recv_message =
1461
- std::move(call_attempt_->recv_message_);
1462
- *pending->batch->payload->recv_message.flags =
1463
- call_attempt_->recv_message_flags_;
1464
- // Update bookkeeping.
1465
- // Note: Need to do this before invoking the callback, since invoking
1466
- // the callback will result in yielding the call combiner.
1467
- grpc_closure* recv_message_ready =
1468
- pending->batch->payload->recv_message.recv_message_ready;
1469
- pending->batch->payload->recv_message.recv_message_ready = nullptr;
1470
- call_attempt_->calld_->MaybeClearPendingBatch(pending);
1471
- // Add callback to closures.
1472
- closures->Add(recv_message_ready, error,
1473
- "recv_message_ready for pending batch");
1474
- }
1475
-
1476
- void RetryFilter::CallData::CallAttempt::BatchData::RecvMessageReady(
1477
- void* arg, grpc_error_handle error) {
1478
- RefCountedPtr<BatchData> batch_data(static_cast<BatchData*>(arg));
1479
- CallAttempt* call_attempt = batch_data->call_attempt_;
1480
- CallData* calld = call_attempt->calld_;
1481
- if (GRPC_TRACE_FLAG_ENABLED(grpc_retry_trace)) {
1482
- gpr_log(GPR_INFO,
1483
- "chand=%p calld=%p attempt=%p batch_data=%p: "
1484
- "got recv_message_ready, error=%s",
1485
- calld->chand_, calld, call_attempt, batch_data.get(),
1486
- StatusToString(error).c_str());
1487
- }
1488
- ++call_attempt->completed_recv_message_count_;
1489
- // If this attempt has been abandoned, then we're not going to use the
1490
- // result of this recv_message op, so do nothing.
1491
- if (call_attempt->abandoned_) {
1492
- // The transport will not invoke recv_trailing_metadata_ready until the byte
1493
- // stream for any recv_message op is orphaned, so we do that here to ensure
1494
- // that any pending recv_trailing_metadata op can complete.
1495
- call_attempt->recv_message_.reset();
1496
- GRPC_CALL_COMBINER_STOP(calld->call_combiner_,
1497
- "recv_message_ready for abandoned attempt");
1498
- return;
1499
- }
1500
- // Cancel per-attempt recv timer, if any.
1501
- call_attempt->MaybeCancelPerAttemptRecvTimer();
1502
- // If we're not committed, check the response to see if we need to commit.
1503
- if (!calld->retry_committed_) {
1504
- // If we got an error or the payload was nullptr and we have not yet gotten
1505
- // the recv_trailing_metadata_ready callback, then defer propagating this
1506
- // callback back to the surface. We can evaluate whether to retry when
1507
- // recv_trailing_metadata comes back.
1508
- if (GPR_UNLIKELY(
1509
- (!call_attempt->recv_message_.has_value() || !error.ok()) &&
1510
- !call_attempt->completed_recv_trailing_metadata_)) {
1511
- if (GRPC_TRACE_FLAG_ENABLED(grpc_retry_trace)) {
1512
- gpr_log(GPR_INFO,
1513
- "chand=%p calld=%p attempt=%p: deferring recv_message_ready "
1514
- "(nullptr message and recv_trailing_metadata pending)",
1515
- calld->chand_, calld, call_attempt);
1516
- }
1517
- call_attempt->recv_message_ready_deferred_batch_ = std::move(batch_data);
1518
- call_attempt->recv_message_error_ = error;
1519
- CallCombinerClosureList closures;
1520
- if (!error.ok()) {
1521
- call_attempt->MaybeAddBatchForCancelOp(error, &closures);
1522
- }
1523
- if (!call_attempt->started_recv_trailing_metadata_) {
1524
- // recv_trailing_metadata not yet started by application; start it
1525
- // ourselves to get status.
1526
- call_attempt->AddBatchForInternalRecvTrailingMetadata(&closures);
1527
- }
1528
- closures.RunClosures(calld->call_combiner_);
1529
- return;
1530
- }
1531
- // Received a valid message, so commit the call.
1532
- calld->RetryCommit(call_attempt);
1533
- // If retry state is no longer needed, switch to fast path for
1534
- // subsequent batches.
1535
- call_attempt->MaybeSwitchToFastPath();
1536
- }
1537
- // Invoke the callback to return the result to the surface.
1538
- CallCombinerClosureList closures;
1539
- batch_data->MaybeAddClosureForRecvMessageCallback(error, &closures);
1540
- closures.RunClosures(calld->call_combiner_);
1541
- }
1542
-
1543
- //
1544
- // recv_trailing_metadata handling
1545
- //
1546
-
1547
- namespace {
1548
-
1549
- // Sets *status, *server_pushback, and *is_lb_drop based on md_batch
1550
- // and error.
1551
- void GetCallStatus(
1552
- Timestamp deadline, grpc_metadata_batch* md_batch, grpc_error_handle error,
1553
- grpc_status_code* status, absl::optional<Duration>* server_pushback,
1554
- bool* is_lb_drop,
1555
- absl::optional<GrpcStreamNetworkState::ValueType>* stream_network_state) {
1556
- if (!error.ok()) {
1557
- grpc_error_get_status(error, deadline, status, nullptr, nullptr, nullptr);
1558
- intptr_t value = 0;
1559
- if (grpc_error_get_int(error, StatusIntProperty::kLbPolicyDrop, &value) &&
1560
- value != 0) {
1561
- *is_lb_drop = true;
1562
- }
1563
- } else {
1564
- *status = *md_batch->get(GrpcStatusMetadata());
1565
- }
1566
- *server_pushback = md_batch->get(GrpcRetryPushbackMsMetadata());
1567
- *stream_network_state = md_batch->get(GrpcStreamNetworkState());
1568
- }
1569
-
1570
- } // namespace
1571
-
1572
- void RetryFilter::CallData::CallAttempt::BatchData::
1573
- MaybeAddClosureForRecvTrailingMetadataReady(
1574
- grpc_error_handle error, CallCombinerClosureList* closures) {
1575
- auto* calld = call_attempt_->calld_;
1576
- // Find pending batch.
1577
- PendingBatch* pending = calld->PendingBatchFind(
1578
- "invoking recv_trailing_metadata_ready for",
1579
- [](grpc_transport_stream_op_batch* batch) {
1580
- return batch->recv_trailing_metadata &&
1581
- batch->payload->recv_trailing_metadata
1582
- .recv_trailing_metadata_ready != nullptr;
1583
- });
1584
- // If we generated the recv_trailing_metadata op internally via
1585
- // AddBatchForInternalRecvTrailingMetadata(), then there will be no
1586
- // pending batch.
1587
- if (pending == nullptr) {
1588
- call_attempt_->recv_trailing_metadata_error_ = error;
1589
- return;
1590
- }
1591
- // Copy transport stats to be delivered up to the surface.
1592
- grpc_transport_move_stats(
1593
- &call_attempt_->collect_stats_,
1594
- pending->batch->payload->recv_trailing_metadata.collect_stats);
1595
- // Return metadata.
1596
- *pending->batch->payload->recv_trailing_metadata.recv_trailing_metadata =
1597
- std::move(call_attempt_->recv_trailing_metadata_);
1598
- // Add closure.
1599
- closures->Add(pending->batch->payload->recv_trailing_metadata
1600
- .recv_trailing_metadata_ready,
1601
- error, "recv_trailing_metadata_ready for pending batch");
1602
- // Update bookkeeping.
1603
- pending->batch->payload->recv_trailing_metadata.recv_trailing_metadata_ready =
1604
- nullptr;
1605
- calld->MaybeClearPendingBatch(pending);
1606
- }
1607
-
1608
- void RetryFilter::CallData::CallAttempt::BatchData::
1609
- AddClosuresForDeferredCompletionCallbacks(
1610
- CallCombinerClosureList* closures) {
1611
- // Add closure for deferred recv_initial_metadata_ready.
1612
- if (GPR_UNLIKELY(call_attempt_->recv_initial_metadata_ready_deferred_batch_ !=
1613
- nullptr)) {
1614
- MaybeAddClosureForRecvInitialMetadataCallback(
1615
- call_attempt_->recv_initial_metadata_error_, closures);
1616
- call_attempt_->recv_initial_metadata_ready_deferred_batch_.reset(
1617
- DEBUG_LOCATION, "resuming deferred recv_initial_metadata_ready");
1618
- call_attempt_->recv_initial_metadata_error_ = absl::OkStatus();
1619
- }
1620
- // Add closure for deferred recv_message_ready.
1621
- if (GPR_UNLIKELY(call_attempt_->recv_message_ready_deferred_batch_ !=
1622
- nullptr)) {
1623
- MaybeAddClosureForRecvMessageCallback(call_attempt_->recv_message_error_,
1624
- closures);
1625
- call_attempt_->recv_message_ready_deferred_batch_.reset(
1626
- DEBUG_LOCATION, "resuming deferred recv_message_ready");
1627
- call_attempt_->recv_message_error_ = absl::OkStatus();
1628
- }
1629
- // Add closures for deferred on_complete callbacks.
1630
- for (auto& on_complete_deferred_batch :
1631
- call_attempt_->on_complete_deferred_batches_) {
1632
- closures->Add(&on_complete_deferred_batch.batch->on_complete_,
1633
- on_complete_deferred_batch.error, "resuming on_complete");
1634
- on_complete_deferred_batch.batch.release();
1635
- }
1636
- call_attempt_->on_complete_deferred_batches_.clear();
1637
- }
1638
-
1639
- void RetryFilter::CallData::CallAttempt::BatchData::
1640
- AddClosuresToFailUnstartedPendingBatches(
1641
- grpc_error_handle error, CallCombinerClosureList* closures) {
1642
- auto* calld = call_attempt_->calld_;
1643
- for (size_t i = 0; i < GPR_ARRAY_SIZE(calld->pending_batches_); ++i) {
1644
- PendingBatch* pending = &calld->pending_batches_[i];
1645
- if (pending->batch == nullptr) continue;
1646
- if (call_attempt_->PendingBatchContainsUnstartedSendOps(pending)) {
1647
- closures->Add(pending->batch->on_complete, error,
1648
- "failing on_complete for pending batch");
1649
- pending->batch->on_complete = nullptr;
1650
- calld->MaybeClearPendingBatch(pending);
1651
- }
1652
- }
1653
- }
1654
-
1655
- void RetryFilter::CallData::CallAttempt::BatchData::RunClosuresForCompletedCall(
1656
- grpc_error_handle error) {
1657
- // Construct list of closures to execute.
1658
- CallCombinerClosureList closures;
1659
- // First, add closure for recv_trailing_metadata_ready.
1660
- MaybeAddClosureForRecvTrailingMetadataReady(error, &closures);
1661
- // If there are deferred batch completion callbacks, add them to closures.
1662
- AddClosuresForDeferredCompletionCallbacks(&closures);
1663
- // Add closures to fail any pending batches that have not yet been started.
1664
- AddClosuresToFailUnstartedPendingBatches(error, &closures);
1665
- // Schedule all of the closures identified above.
1666
- // Note: This will release the call combiner.
1667
- closures.RunClosures(call_attempt_->calld_->call_combiner_);
1668
- }
1669
-
1670
- void RetryFilter::CallData::CallAttempt::BatchData::RecvTrailingMetadataReady(
1671
- void* arg, grpc_error_handle error) {
1672
- RefCountedPtr<BatchData> batch_data(static_cast<BatchData*>(arg));
1673
- CallAttempt* call_attempt = batch_data->call_attempt_;
1674
- CallData* calld = call_attempt->calld_;
1675
- if (GRPC_TRACE_FLAG_ENABLED(grpc_retry_trace)) {
1676
- gpr_log(GPR_INFO,
1677
- "chand=%p calld=%p attempt=%p batch_data=%p: "
1678
- "got recv_trailing_metadata_ready, error=%s",
1679
- calld->chand_, calld, call_attempt, batch_data.get(),
1680
- StatusToString(error).c_str());
1681
- }
1682
- call_attempt->completed_recv_trailing_metadata_ = true;
1683
- // If this attempt has been abandoned, then we're not going to use the
1684
- // result of this recv_trailing_metadata op, so do nothing.
1685
- if (call_attempt->abandoned_) {
1686
- GRPC_CALL_COMBINER_STOP(
1687
- calld->call_combiner_,
1688
- "recv_trailing_metadata_ready for abandoned attempt");
1689
- return;
1690
- }
1691
- // Cancel per-attempt recv timer, if any.
1692
- call_attempt->MaybeCancelPerAttemptRecvTimer();
1693
- // Get the call's status and check for server pushback metadata.
1694
- grpc_status_code status = GRPC_STATUS_OK;
1695
- absl::optional<Duration> server_pushback;
1696
- bool is_lb_drop = false;
1697
- absl::optional<GrpcStreamNetworkState::ValueType> stream_network_state;
1698
- grpc_metadata_batch* md_batch =
1699
- batch_data->batch_.payload->recv_trailing_metadata.recv_trailing_metadata;
1700
- GetCallStatus(calld->deadline_, md_batch, error, &status, &server_pushback,
1701
- &is_lb_drop, &stream_network_state);
1702
- if (GRPC_TRACE_FLAG_ENABLED(grpc_retry_trace)) {
1703
- gpr_log(GPR_INFO,
1704
- "chand=%p calld=%p attempt=%p: call finished, status=%s "
1705
- "server_pushback=%s is_lb_drop=%d stream_network_state=%s",
1706
- calld->chand_, calld, call_attempt,
1707
- grpc_status_code_to_string(status),
1708
- server_pushback.has_value() ? server_pushback->ToString().c_str()
1709
- : "N/A",
1710
- is_lb_drop,
1711
- stream_network_state.has_value()
1712
- ? absl::StrCat(*stream_network_state).c_str()
1713
- : "N/A");
1714
- }
1715
- // Check if we should retry.
1716
- if (!is_lb_drop) { // Never retry on LB drops.
1717
- enum { kNoRetry, kTransparentRetry, kConfigurableRetry } retry = kNoRetry;
1718
- // Handle transparent retries.
1719
- if (stream_network_state.has_value() && !calld->retry_committed_) {
1720
- // If not sent on wire, then always retry.
1721
- // If sent on wire but not seen by server, retry exactly once.
1722
- if (*stream_network_state == GrpcStreamNetworkState::kNotSentOnWire) {
1723
- retry = kTransparentRetry;
1724
- } else if (*stream_network_state ==
1725
- GrpcStreamNetworkState::kNotSeenByServer &&
1726
- !calld->sent_transparent_retry_not_seen_by_server_) {
1727
- calld->sent_transparent_retry_not_seen_by_server_ = true;
1728
- retry = kTransparentRetry;
1729
- }
1730
- }
1731
- // If not transparently retrying, check for configurable retry.
1732
- if (retry == kNoRetry &&
1733
- call_attempt->ShouldRetry(status, server_pushback)) {
1734
- retry = kConfigurableRetry;
1735
- }
1736
- // If we're retrying, do so.
1737
- if (retry != kNoRetry) {
1738
- CallCombinerClosureList closures;
1739
- // Cancel call attempt.
1740
- call_attempt->MaybeAddBatchForCancelOp(
1741
- error.ok() ? grpc_error_set_int(
1742
- GRPC_ERROR_CREATE("call attempt failed"),
1743
- StatusIntProperty::kRpcStatus, GRPC_STATUS_CANCELLED)
1744
- : error,
1745
- &closures);
1746
- // For transparent retries, add a closure to immediately start a new
1747
- // call attempt.
1748
- // For configurable retries, start retry timer.
1749
- if (retry == kTransparentRetry) {
1750
- calld->AddClosureToStartTransparentRetry(&closures);
1751
- } else {
1752
- calld->StartRetryTimer(server_pushback);
1753
- }
1754
- // Record that this attempt has been abandoned.
1755
- call_attempt->Abandon();
1756
- // Yields call combiner.
1757
- closures.RunClosures(calld->call_combiner_);
1758
- return;
1759
- }
1760
- }
1761
- // Not retrying, so commit the call.
1762
- calld->RetryCommit(call_attempt);
1763
- // If retry state is no longer needed, switch to fast path for
1764
- // subsequent batches.
1765
- call_attempt->MaybeSwitchToFastPath();
1766
- // Run any necessary closures.
1767
- batch_data->RunClosuresForCompletedCall(error);
1768
- }
1769
-
1770
- //
1771
- // on_complete callback handling
1772
- //
1773
-
1774
- void RetryFilter::CallData::CallAttempt::BatchData::
1775
- AddClosuresForCompletedPendingBatch(grpc_error_handle error,
1776
- CallCombinerClosureList* closures) {
1777
- auto* calld = call_attempt_->calld_;
1778
- PendingBatch* pending = calld->PendingBatchFind(
1779
- "completed", [this](grpc_transport_stream_op_batch* batch) {
1780
- // Match the pending batch with the same set of send ops as the
1781
- // batch we've just completed.
1782
- return batch->on_complete != nullptr &&
1783
- batch_.send_initial_metadata == batch->send_initial_metadata &&
1784
- batch_.send_message == batch->send_message &&
1785
- batch_.send_trailing_metadata == batch->send_trailing_metadata;
1786
- });
1787
- // If batch_data is a replay batch, then there will be no pending
1788
- // batch to complete.
1789
- if (pending == nullptr) {
1790
- return;
1791
- }
1792
- // Propagate payload.
1793
- if (batch_.send_message) {
1794
- pending->batch->payload->send_message.stream_write_closed =
1795
- batch_.payload->send_message.stream_write_closed;
1796
- }
1797
- // Add closure.
1798
- closures->Add(pending->batch->on_complete, error,
1799
- "on_complete for pending batch");
1800
- pending->batch->on_complete = nullptr;
1801
- calld->MaybeClearPendingBatch(pending);
1802
- }
1803
-
1804
- void RetryFilter::CallData::CallAttempt::BatchData::
1805
- AddClosuresForReplayOrPendingSendOps(CallCombinerClosureList* closures) {
1806
- auto* calld = call_attempt_->calld_;
1807
- bool have_pending_send_ops = call_attempt_->HaveSendOpsToReplay();
1808
- // We don't check send_initial_metadata here, because that op will always
1809
- // be started as soon as it is received from the surface, so it will
1810
- // never need to be started at this point.
1811
- if (!have_pending_send_ops) {
1812
- for (size_t i = 0; i < GPR_ARRAY_SIZE(calld->pending_batches_); ++i) {
1813
- PendingBatch* pending = &calld->pending_batches_[i];
1814
- grpc_transport_stream_op_batch* batch = pending->batch;
1815
- if (batch == nullptr || pending->send_ops_cached) continue;
1816
- if (batch->send_message || batch->send_trailing_metadata) {
1817
- have_pending_send_ops = true;
1818
- break;
1819
- }
1820
- }
1821
- }
1822
- if (have_pending_send_ops) {
1823
- if (GRPC_TRACE_FLAG_ENABLED(grpc_retry_trace)) {
1824
- gpr_log(GPR_INFO,
1825
- "chand=%p calld=%p attempt=%p: starting next batch for pending "
1826
- "send op(s)",
1827
- calld->chand_, calld, call_attempt_);
1828
- }
1829
- call_attempt_->AddRetriableBatches(closures);
1830
- }
1831
- }
1832
-
1833
- void RetryFilter::CallData::CallAttempt::BatchData::OnComplete(
1834
- void* arg, grpc_error_handle error) {
1835
- RefCountedPtr<BatchData> batch_data(static_cast<BatchData*>(arg));
1836
- CallAttempt* call_attempt = batch_data->call_attempt_;
1837
- CallData* calld = call_attempt->calld_;
1838
- if (GRPC_TRACE_FLAG_ENABLED(grpc_retry_trace)) {
1839
- gpr_log(GPR_INFO,
1840
- "chand=%p calld=%p attempt=%p batch_data=%p: "
1841
- "got on_complete, error=%s, batch=%s",
1842
- calld->chand_, calld, call_attempt, batch_data.get(),
1843
- StatusToString(error).c_str(),
1844
- grpc_transport_stream_op_batch_string(&batch_data->batch_, false)
1845
- .c_str());
1846
- }
1847
- // If this attempt has been abandoned, then we're not going to propagate
1848
- // the completion of this batch, so do nothing.
1849
- if (call_attempt->abandoned_) {
1850
- GRPC_CALL_COMBINER_STOP(calld->call_combiner_,
1851
- "on_complete for abandoned attempt");
1852
- return;
1853
- }
1854
- // If we got an error and have not yet gotten the
1855
- // recv_trailing_metadata_ready callback, then defer propagating this
1856
- // callback back to the surface. We can evaluate whether to retry when
1857
- // recv_trailing_metadata comes back.
1858
- if (GPR_UNLIKELY(!calld->retry_committed_ && !error.ok() &&
1859
- !call_attempt->completed_recv_trailing_metadata_)) {
1860
- if (GRPC_TRACE_FLAG_ENABLED(grpc_retry_trace)) {
1861
- gpr_log(GPR_INFO, "chand=%p calld=%p attempt=%p: deferring on_complete",
1862
- calld->chand_, calld, call_attempt);
1863
- }
1864
- call_attempt->on_complete_deferred_batches_.emplace_back(
1865
- std::move(batch_data), error);
1866
- CallCombinerClosureList closures;
1867
- call_attempt->MaybeAddBatchForCancelOp(error, &closures);
1868
- if (!call_attempt->started_recv_trailing_metadata_) {
1869
- // recv_trailing_metadata not yet started by application; start it
1870
- // ourselves to get status.
1871
- call_attempt->AddBatchForInternalRecvTrailingMetadata(&closures);
1872
- }
1873
- closures.RunClosures(calld->call_combiner_);
1874
- return;
1875
- }
1876
- // Update bookkeeping in call_attempt.
1877
- if (batch_data->batch_.send_initial_metadata) {
1878
- call_attempt->completed_send_initial_metadata_ = true;
1879
- }
1880
- if (batch_data->batch_.send_message) {
1881
- ++call_attempt->completed_send_message_count_;
1882
- }
1883
- if (batch_data->batch_.send_trailing_metadata) {
1884
- call_attempt->completed_send_trailing_metadata_ = true;
1885
- }
1886
- // If the call is committed, free cached data for send ops that we've just
1887
- // completed.
1888
- if (calld->retry_committed_) {
1889
- batch_data->FreeCachedSendOpDataForCompletedBatch();
1890
- }
1891
- // Construct list of closures to execute.
1892
- CallCombinerClosureList closures;
1893
- // Add closure for the completed pending batch, if any.
1894
- batch_data->AddClosuresForCompletedPendingBatch(error, &closures);
1895
- // If needed, add a callback to start any replay or pending send ops on
1896
- // the LB call.
1897
- if (!call_attempt->completed_recv_trailing_metadata_) {
1898
- batch_data->AddClosuresForReplayOrPendingSendOps(&closures);
1899
- }
1900
- // If retry state is no longer needed (i.e., we're committed and there
1901
- // are no more send ops to replay), switch to fast path for subsequent
1902
- // batches.
1903
- call_attempt->MaybeSwitchToFastPath();
1904
- // Schedule all of the closures identified above.
1905
- // Note: This yields the call combiner.
1906
- closures.RunClosures(calld->call_combiner_);
1907
- }
1908
-
1909
- void RetryFilter::CallData::CallAttempt::BatchData::OnCompleteForCancelOp(
1910
- void* arg, grpc_error_handle error) {
1911
- RefCountedPtr<BatchData> batch_data(static_cast<BatchData*>(arg));
1912
- CallAttempt* call_attempt = batch_data->call_attempt_;
1913
- CallData* calld = call_attempt->calld_;
1914
- if (GRPC_TRACE_FLAG_ENABLED(grpc_retry_trace)) {
1915
- gpr_log(GPR_INFO,
1916
- "chand=%p calld=%p attempt=%p batch_data=%p: "
1917
- "got on_complete for cancel_stream batch, error=%s, batch=%s",
1918
- calld->chand_, calld, call_attempt, batch_data.get(),
1919
- StatusToString(error).c_str(),
1920
- grpc_transport_stream_op_batch_string(&batch_data->batch_, false)
1921
- .c_str());
1922
- }
1923
- GRPC_CALL_COMBINER_STOP(
1924
- calld->call_combiner_,
1925
- "on_complete for internally generated cancel_stream op");
1926
- }
1927
-
1928
- //
1929
- // retriable batch construction
1930
- //
1931
-
1932
- void RetryFilter::CallData::CallAttempt::BatchData::
1933
- AddRetriableSendInitialMetadataOp() {
1934
- auto* calld = call_attempt_->calld_;
1935
- // We need to make a copy of the metadata batch for each attempt, since
1936
- // the filters in the subchannel stack may modify this batch, and we don't
1937
- // want those modifications to be passed forward to subsequent attempts.
1938
- //
1939
- // If we've already completed one or more attempts, add the
1940
- // grpc-retry-attempts header.
1941
- call_attempt_->send_initial_metadata_ = calld->send_initial_metadata_.Copy();
1942
- if (GPR_UNLIKELY(calld->num_attempts_completed_ > 0)) {
1943
- call_attempt_->send_initial_metadata_.Set(GrpcPreviousRpcAttemptsMetadata(),
1944
- calld->num_attempts_completed_);
1945
- } else {
1946
- call_attempt_->send_initial_metadata_.Remove(
1947
- GrpcPreviousRpcAttemptsMetadata());
1948
- }
1949
- call_attempt_->started_send_initial_metadata_ = true;
1950
- batch_.send_initial_metadata = true;
1951
- batch_.payload->send_initial_metadata.send_initial_metadata =
1952
- &call_attempt_->send_initial_metadata_;
1953
- }
1954
-
1955
- void RetryFilter::CallData::CallAttempt::BatchData::
1956
- AddRetriableSendMessageOp() {
1957
- auto* calld = call_attempt_->calld_;
1958
- if (GRPC_TRACE_FLAG_ENABLED(grpc_retry_trace)) {
1959
- gpr_log(
1960
- GPR_INFO,
1961
- "chand=%p calld=%p attempt=%p: starting calld->send_messages[%" PRIuPTR
1962
- "]",
1963
- calld->chand_, calld, call_attempt_,
1964
- call_attempt_->started_send_message_count_);
1965
- }
1966
- CachedSendMessage cache =
1967
- calld->send_messages_[call_attempt_->started_send_message_count_];
1968
- ++call_attempt_->started_send_message_count_;
1969
- batch_.send_message = true;
1970
- batch_.payload->send_message.send_message = cache.slices;
1971
- batch_.payload->send_message.flags = cache.flags;
1972
- }
1973
-
1974
- void RetryFilter::CallData::CallAttempt::BatchData::
1975
- AddRetriableSendTrailingMetadataOp() {
1976
- auto* calld = call_attempt_->calld_;
1977
- // We need to make a copy of the metadata batch for each attempt, since
1978
- // the filters in the subchannel stack may modify this batch, and we don't
1979
- // want those modifications to be passed forward to subsequent attempts.
1980
- call_attempt_->send_trailing_metadata_ =
1981
- calld->send_trailing_metadata_.Copy();
1982
- call_attempt_->started_send_trailing_metadata_ = true;
1983
- batch_.send_trailing_metadata = true;
1984
- batch_.payload->send_trailing_metadata.send_trailing_metadata =
1985
- &call_attempt_->send_trailing_metadata_;
1986
- }
1987
-
1988
- void RetryFilter::CallData::CallAttempt::BatchData::
1989
- AddRetriableRecvInitialMetadataOp() {
1990
- call_attempt_->started_recv_initial_metadata_ = true;
1991
- batch_.recv_initial_metadata = true;
1992
- call_attempt_->recv_initial_metadata_.Clear();
1993
- batch_.payload->recv_initial_metadata.recv_initial_metadata =
1994
- &call_attempt_->recv_initial_metadata_;
1995
- batch_.payload->recv_initial_metadata.trailing_metadata_available =
1996
- &call_attempt_->trailing_metadata_available_;
1997
- GRPC_CLOSURE_INIT(&call_attempt_->recv_initial_metadata_ready_,
1998
- RecvInitialMetadataReady, this, grpc_schedule_on_exec_ctx);
1999
- batch_.payload->recv_initial_metadata.recv_initial_metadata_ready =
2000
- &call_attempt_->recv_initial_metadata_ready_;
2001
- }
2002
-
2003
- void RetryFilter::CallData::CallAttempt::BatchData::
2004
- AddRetriableRecvMessageOp() {
2005
- ++call_attempt_->started_recv_message_count_;
2006
- batch_.recv_message = true;
2007
- batch_.payload->recv_message.recv_message = &call_attempt_->recv_message_;
2008
- batch_.payload->recv_message.flags = &call_attempt_->recv_message_flags_;
2009
- batch_.payload->recv_message.call_failed_before_recv_message = nullptr;
2010
- GRPC_CLOSURE_INIT(&call_attempt_->recv_message_ready_, RecvMessageReady, this,
2011
- grpc_schedule_on_exec_ctx);
2012
- batch_.payload->recv_message.recv_message_ready =
2013
- &call_attempt_->recv_message_ready_;
2014
- }
2015
-
2016
- void RetryFilter::CallData::CallAttempt::BatchData::
2017
- AddRetriableRecvTrailingMetadataOp() {
2018
- call_attempt_->started_recv_trailing_metadata_ = true;
2019
- batch_.recv_trailing_metadata = true;
2020
- call_attempt_->recv_trailing_metadata_.Clear();
2021
- batch_.payload->recv_trailing_metadata.recv_trailing_metadata =
2022
- &call_attempt_->recv_trailing_metadata_;
2023
- batch_.payload->recv_trailing_metadata.collect_stats =
2024
- &call_attempt_->collect_stats_;
2025
- GRPC_CLOSURE_INIT(&call_attempt_->recv_trailing_metadata_ready_,
2026
- RecvTrailingMetadataReady, this, grpc_schedule_on_exec_ctx);
2027
- batch_.payload->recv_trailing_metadata.recv_trailing_metadata_ready =
2028
- &call_attempt_->recv_trailing_metadata_ready_;
2029
- }
2030
-
2031
- void RetryFilter::CallData::CallAttempt::BatchData::AddCancelStreamOp(
2032
- grpc_error_handle error) {
2033
- batch_.cancel_stream = true;
2034
- batch_.payload->cancel_stream.cancel_error = error;
2035
- // Override on_complete callback.
2036
- GRPC_CLOSURE_INIT(&on_complete_, OnCompleteForCancelOp, this, nullptr);
2037
- }
2038
-
2039
- //
2040
- // CallData vtable functions
2041
- //
2042
-
2043
- grpc_error_handle RetryFilter::CallData::Init(
2044
- grpc_call_element* elem, const grpc_call_element_args* args) {
2045
- auto* chand = static_cast<RetryFilter*>(elem->channel_data);
2046
- new (elem->call_data) CallData(chand, *args);
2047
- if (GRPC_TRACE_FLAG_ENABLED(grpc_retry_trace)) {
2048
- gpr_log(GPR_INFO, "chand=%p calld=%p: created call", chand,
2049
- elem->call_data);
2050
- }
2051
- return absl::OkStatus();
2052
- }
2053
-
2054
- void RetryFilter::CallData::Destroy(grpc_call_element* elem,
2055
- const grpc_call_final_info* /*final_info*/,
2056
- grpc_closure* then_schedule_closure) {
2057
- auto* calld = static_cast<CallData*>(elem->call_data);
2058
- // Save our ref to the CallStackDestructionBarrier until after our
2059
- // dtor is invoked.
2060
- RefCountedPtr<CallStackDestructionBarrier> call_stack_destruction_barrier =
2061
- std::move(calld->call_stack_destruction_barrier_);
2062
- calld->~CallData();
2063
- // Now set the callback in the CallStackDestructionBarrier object,
2064
- // right before we release our ref to it (implicitly upon returning).
2065
- // The callback will be invoked when the CallStackDestructionBarrier
2066
- // is destroyed.
2067
- call_stack_destruction_barrier->set_on_call_stack_destruction(
2068
- then_schedule_closure);
2069
- }
2070
-
2071
- void RetryFilter::CallData::StartTransportStreamOpBatch(
2072
- grpc_call_element* elem, grpc_transport_stream_op_batch* batch) {
2073
- auto* calld = static_cast<CallData*>(elem->call_data);
2074
- calld->StartTransportStreamOpBatch(batch);
2075
- }
2076
-
2077
- void RetryFilter::CallData::SetPollent(grpc_call_element* elem,
2078
- grpc_polling_entity* pollent) {
2079
- auto* calld = static_cast<CallData*>(elem->call_data);
2080
- calld->pollent_ = pollent;
2081
- }
2082
-
2083
- //
2084
- // CallData implementation
2085
- //
2086
-
2087
133
  const RetryMethodConfig* RetryFilter::GetRetryPolicy(
2088
134
  const grpc_call_context_element* context) {
2089
135
  if (context == nullptr) return nullptr;
@@ -2094,520 +140,15 @@ const RetryMethodConfig* RetryFilter::GetRetryPolicy(
2094
140
  svc_cfg_call_data->GetMethodParsedConfig(service_config_parser_index_));
2095
141
  }
2096
142
 
2097
- RetryFilter::CallData::CallData(RetryFilter* chand,
2098
- const grpc_call_element_args& args)
2099
- : chand_(chand),
2100
- retry_throttle_data_(chand->retry_throttle_data_),
2101
- retry_policy_(chand->GetRetryPolicy(args.context)),
2102
- retry_backoff_(
2103
- BackOff::Options()
2104
- .set_initial_backoff(retry_policy_ == nullptr
2105
- ? Duration::Zero()
2106
- : retry_policy_->initial_backoff())
2107
- .set_multiplier(retry_policy_ == nullptr
2108
- ? 0
2109
- : retry_policy_->backoff_multiplier())
2110
- .set_jitter(RETRY_BACKOFF_JITTER)
2111
- .set_max_backoff(retry_policy_ == nullptr
2112
- ? Duration::Zero()
2113
- : retry_policy_->max_backoff())),
2114
- path_(CSliceRef(args.path)),
2115
- deadline_(args.deadline),
2116
- arena_(args.arena),
2117
- owning_call_(args.call_stack),
2118
- call_combiner_(args.call_combiner),
2119
- call_context_(args.context),
2120
- call_stack_destruction_barrier_(
2121
- arena_->New<CallStackDestructionBarrier>()),
2122
- pending_send_initial_metadata_(false),
2123
- pending_send_message_(false),
2124
- pending_send_trailing_metadata_(false),
2125
- retry_committed_(false),
2126
- retry_codepath_started_(false),
2127
- sent_transparent_retry_not_seen_by_server_(false) {}
2128
-
2129
- RetryFilter::CallData::~CallData() {
2130
- FreeAllCachedSendOpData();
2131
- CSliceUnref(path_);
2132
- // Make sure there are no remaining pending batches.
2133
- for (size_t i = 0; i < GPR_ARRAY_SIZE(pending_batches_); ++i) {
2134
- GPR_ASSERT(pending_batches_[i].batch == nullptr);
2135
- }
2136
- }
2137
-
2138
- void RetryFilter::CallData::StartTransportStreamOpBatch(
2139
- grpc_transport_stream_op_batch* batch) {
2140
- if (GRPC_TRACE_FLAG_ENABLED(grpc_retry_trace) &&
2141
- !GRPC_TRACE_FLAG_ENABLED(grpc_trace_channel)) {
2142
- gpr_log(GPR_INFO, "chand=%p calld=%p: batch started from surface: %s",
2143
- chand_, this,
2144
- grpc_transport_stream_op_batch_string(batch, false).c_str());
2145
- }
2146
- // If we have an LB call, delegate to the LB call.
2147
- if (committed_call_ != nullptr) {
2148
- // Note: This will release the call combiner.
2149
- committed_call_->StartTransportStreamOpBatch(batch);
2150
- return;
2151
- }
2152
- // If we were previously cancelled from the surface, fail this
2153
- // batch immediately.
2154
- if (!cancelled_from_surface_.ok()) {
2155
- // Note: This will release the call combiner.
2156
- grpc_transport_stream_op_batch_finish_with_failure(
2157
- batch, cancelled_from_surface_, call_combiner_);
2158
- return;
2159
- }
2160
- // Handle cancellation.
2161
- if (GPR_UNLIKELY(batch->cancel_stream)) {
2162
- // Save cancel_error in case subsequent batches are started.
2163
- cancelled_from_surface_ = batch->payload->cancel_stream.cancel_error;
2164
- if (GRPC_TRACE_FLAG_ENABLED(grpc_retry_trace)) {
2165
- gpr_log(GPR_INFO, "chand=%p calld=%p: cancelled from surface: %s", chand_,
2166
- this, StatusToString(cancelled_from_surface_).c_str());
2167
- }
2168
- // Fail any pending batches.
2169
- PendingBatchesFail(cancelled_from_surface_);
2170
- // If we have a current call attempt, commit the call, then send
2171
- // the cancellation down to that attempt. When the call fails, it
2172
- // will not be retried, because we have committed it here.
2173
- if (call_attempt_ != nullptr) {
2174
- RetryCommit(call_attempt_.get());
2175
- // TODO(roth): When implementing hedging, this will get more
2176
- // complex, because instead of just passing the batch down to a
2177
- // single call attempt, we'll need to cancel multiple call
2178
- // attempts and wait for the cancellation on_complete from each call
2179
- // attempt before we propagate the on_complete from this batch
2180
- // back to the surface.
2181
- // Note: This will release the call combiner.
2182
- call_attempt_->CancelFromSurface(batch);
2183
- return;
2184
- }
2185
- // Cancel retry timer if needed.
2186
- if (retry_timer_handle_.has_value()) {
2187
- if (GRPC_TRACE_FLAG_ENABLED(grpc_retry_trace)) {
2188
- gpr_log(GPR_INFO, "chand=%p calld=%p: cancelling retry timer", chand_,
2189
- this);
2190
- }
2191
- if (chand_->event_engine_->Cancel(*retry_timer_handle_)) {
2192
- GRPC_CALL_STACK_UNREF(owning_call_, "OnRetryTimer");
2193
- }
2194
- retry_timer_handle_.reset();
2195
- FreeAllCachedSendOpData();
2196
- }
2197
- // We have no call attempt, so there's nowhere to send the cancellation
2198
- // batch. Return it back to the surface immediately.
2199
- // Note: This will release the call combiner.
2200
- grpc_transport_stream_op_batch_finish_with_failure(
2201
- batch, cancelled_from_surface_, call_combiner_);
2202
- return;
2203
- }
2204
- // Add the batch to the pending list.
2205
- PendingBatch* pending = PendingBatchesAdd(batch);
2206
- // If the timer is pending, yield the call combiner and wait for it to
2207
- // run, since we don't want to start another call attempt until it does.
2208
- if (retry_timer_handle_.has_value()) {
2209
- GRPC_CALL_COMBINER_STOP(call_combiner_,
2210
- "added pending batch while retry timer pending");
2211
- return;
2212
- }
2213
- // If we do not yet have a call attempt, create one.
2214
- if (call_attempt_ == nullptr) {
2215
- // If this is the first batch and retries are already committed
2216
- // (e.g., if this batch put the call above the buffer size limit), then
2217
- // immediately create an LB call and delegate the batch to it. This
2218
- // avoids the overhead of unnecessarily allocating a CallAttempt
2219
- // object or caching any of the send op data.
2220
- // Note that we would ideally like to do this also on subsequent
2221
- // attempts (e.g., if a batch puts the call above the buffer size
2222
- // limit since the last attempt was complete), but in practice that's
2223
- // not really worthwhile, because we will almost always have cached and
2224
- // completed at least the send_initial_metadata op on the previous
2225
- // attempt, which means that we'd need special logic to replay the
2226
- // batch anyway, which is exactly what the CallAttempt object provides.
2227
- // We also skip this optimization if perAttemptRecvTimeout is set in the
2228
- // retry policy, because we need the code in CallAttempt to handle
2229
- // the associated timer.
2230
- if (!retry_codepath_started_ && retry_committed_ &&
2231
- (retry_policy_ == nullptr ||
2232
- !retry_policy_->per_attempt_recv_timeout().has_value())) {
2233
- if (GRPC_TRACE_FLAG_ENABLED(grpc_retry_trace)) {
2234
- gpr_log(GPR_INFO,
2235
- "chand=%p calld=%p: retry committed before first attempt; "
2236
- "creating LB call",
2237
- chand_, this);
2238
- }
2239
- PendingBatchClear(pending);
2240
- auto* service_config_call_data =
2241
- static_cast<ClientChannelServiceConfigCallData*>(
2242
- call_context_[GRPC_CONTEXT_SERVICE_CONFIG_CALL_DATA].value);
2243
- committed_call_ = CreateLoadBalancedCall(
2244
- [service_config_call_data]() { service_config_call_data->Commit(); },
2245
- /*is_transparent_retry=*/false);
2246
- committed_call_->StartTransportStreamOpBatch(batch);
2247
- return;
2248
- }
2249
- // Otherwise, create a call attempt.
2250
- // The attempt will automatically start any necessary replays or
2251
- // pending batches.
2252
- if (GRPC_TRACE_FLAG_ENABLED(grpc_retry_trace)) {
2253
- gpr_log(GPR_INFO, "chand=%p calld=%p: creating call attempt", chand_,
2254
- this);
2255
- }
2256
- retry_codepath_started_ = true;
2257
- CreateCallAttempt(/*is_transparent_retry=*/false);
2258
- return;
2259
- }
2260
- // Send batches to call attempt.
2261
- if (GRPC_TRACE_FLAG_ENABLED(grpc_retry_trace)) {
2262
- gpr_log(GPR_INFO, "chand=%p calld=%p: starting batch on attempt=%p", chand_,
2263
- this, call_attempt_.get());
2264
- }
2265
- call_attempt_->StartRetriableBatches();
2266
- }
2267
-
2268
- OrphanablePtr<ClientChannel::FilterBasedLoadBalancedCall>
2269
- RetryFilter::CallData::CreateLoadBalancedCall(
2270
- absl::AnyInvocable<void()> on_commit, bool is_transparent_retry) {
2271
- grpc_call_element_args args = {owning_call_, nullptr, call_context_,
2272
- path_, /*start_time=*/0, deadline_,
2273
- arena_, call_combiner_};
2274
- return chand_->client_channel_->CreateLoadBalancedCall(
2275
- args, pollent_,
2276
- // This callback holds a ref to the CallStackDestructionBarrier
2277
- // object until the LB call is destroyed.
2278
- call_stack_destruction_barrier_->MakeLbCallDestructionClosure(this),
2279
- std::move(on_commit), is_transparent_retry);
2280
- }
2281
-
2282
- void RetryFilter::CallData::CreateCallAttempt(bool is_transparent_retry) {
2283
- call_attempt_ = MakeRefCounted<CallAttempt>(this, is_transparent_retry);
2284
- call_attempt_->StartRetriableBatches();
2285
- }
2286
-
2287
- //
2288
- // send op data caching
2289
- //
2290
-
2291
- void RetryFilter::CallData::MaybeCacheSendOpsForBatch(PendingBatch* pending) {
2292
- if (pending->send_ops_cached) return;
2293
- pending->send_ops_cached = true;
2294
- grpc_transport_stream_op_batch* batch = pending->batch;
2295
- // Save a copy of metadata for send_initial_metadata ops.
2296
- if (batch->send_initial_metadata) {
2297
- seen_send_initial_metadata_ = true;
2298
- grpc_metadata_batch* send_initial_metadata =
2299
- batch->payload->send_initial_metadata.send_initial_metadata;
2300
- send_initial_metadata_ = send_initial_metadata->Copy();
2301
- }
2302
- // Set up cache for send_message ops.
2303
- if (batch->send_message) {
2304
- SliceBuffer* cache = arena_->New<SliceBuffer>(std::move(
2305
- *std::exchange(batch->payload->send_message.send_message, nullptr)));
2306
- send_messages_.push_back({cache, batch->payload->send_message.flags});
2307
- }
2308
- // Save metadata batch for send_trailing_metadata ops.
2309
- if (batch->send_trailing_metadata) {
2310
- seen_send_trailing_metadata_ = true;
2311
- grpc_metadata_batch* send_trailing_metadata =
2312
- batch->payload->send_trailing_metadata.send_trailing_metadata;
2313
- send_trailing_metadata_ = send_trailing_metadata->Copy();
2314
- }
2315
- }
2316
-
2317
- void RetryFilter::CallData::FreeCachedSendInitialMetadata() {
2318
- if (GRPC_TRACE_FLAG_ENABLED(grpc_retry_trace)) {
2319
- gpr_log(GPR_INFO, "chand=%p calld=%p: destroying send_initial_metadata",
2320
- chand_, this);
2321
- }
2322
- send_initial_metadata_.Clear();
2323
- }
2324
-
2325
- void RetryFilter::CallData::FreeCachedSendMessage(size_t idx) {
2326
- if (send_messages_[idx].slices != nullptr) {
2327
- if (GRPC_TRACE_FLAG_ENABLED(grpc_retry_trace)) {
2328
- gpr_log(GPR_INFO,
2329
- "chand=%p calld=%p: destroying send_messages[%" PRIuPTR "]",
2330
- chand_, this, idx);
2331
- }
2332
- Destruct(std::exchange(send_messages_[idx].slices, nullptr));
2333
- }
2334
- }
2335
-
2336
- void RetryFilter::CallData::FreeCachedSendTrailingMetadata() {
2337
- if (GRPC_TRACE_FLAG_ENABLED(grpc_retry_trace)) {
2338
- gpr_log(GPR_INFO, "chand=%p calld=%p: destroying send_trailing_metadata",
2339
- chand_, this);
2340
- }
2341
- send_trailing_metadata_.Clear();
2342
- }
2343
-
2344
- void RetryFilter::CallData::FreeAllCachedSendOpData() {
2345
- if (seen_send_initial_metadata_) {
2346
- FreeCachedSendInitialMetadata();
2347
- }
2348
- for (size_t i = 0; i < send_messages_.size(); ++i) {
2349
- FreeCachedSendMessage(i);
2350
- }
2351
- if (seen_send_trailing_metadata_) {
2352
- FreeCachedSendTrailingMetadata();
2353
- }
2354
- }
2355
-
2356
- //
2357
- // pending_batches management
2358
- //
2359
-
2360
- size_t RetryFilter::CallData::GetBatchIndex(
2361
- grpc_transport_stream_op_batch* batch) {
2362
- if (batch->send_initial_metadata) return 0;
2363
- if (batch->send_message) return 1;
2364
- if (batch->send_trailing_metadata) return 2;
2365
- if (batch->recv_initial_metadata) return 3;
2366
- if (batch->recv_message) return 4;
2367
- if (batch->recv_trailing_metadata) return 5;
2368
- GPR_UNREACHABLE_CODE(return (size_t)-1);
2369
- }
2370
-
2371
- // This is called via the call combiner, so access to calld is synchronized.
2372
- RetryFilter::CallData::PendingBatch* RetryFilter::CallData::PendingBatchesAdd(
2373
- grpc_transport_stream_op_batch* batch) {
2374
- const size_t idx = GetBatchIndex(batch);
2375
- if (GRPC_TRACE_FLAG_ENABLED(grpc_retry_trace)) {
2376
- gpr_log(GPR_INFO,
2377
- "chand=%p calld=%p: adding pending batch at index %" PRIuPTR,
2378
- chand_, this, idx);
2379
- }
2380
- PendingBatch* pending = &pending_batches_[idx];
2381
- GPR_ASSERT(pending->batch == nullptr);
2382
- pending->batch = batch;
2383
- pending->send_ops_cached = false;
2384
- // Update state in calld about pending batches.
2385
- // Also check if the batch takes us over the retry buffer limit.
2386
- // Note: We don't check the size of trailing metadata here, because
2387
- // gRPC clients do not send trailing metadata.
2388
- if (batch->send_initial_metadata) {
2389
- pending_send_initial_metadata_ = true;
2390
- bytes_buffered_for_retry_ += batch->payload->send_initial_metadata
2391
- .send_initial_metadata->TransportSize();
2392
- }
2393
- if (batch->send_message) {
2394
- pending_send_message_ = true;
2395
- bytes_buffered_for_retry_ +=
2396
- batch->payload->send_message.send_message->Length();
2397
- }
2398
- if (batch->send_trailing_metadata) {
2399
- pending_send_trailing_metadata_ = true;
2400
- }
2401
- // TODO(roth): When we implement hedging, if there are currently attempts
2402
- // in flight, we will need to pick the one on which the max number of send
2403
- // ops have already been sent, and we commit to that attempt.
2404
- if (GPR_UNLIKELY(bytes_buffered_for_retry_ >
2405
- chand_->per_rpc_retry_buffer_size_)) {
2406
- if (GRPC_TRACE_FLAG_ENABLED(grpc_retry_trace)) {
2407
- gpr_log(GPR_INFO,
2408
- "chand=%p calld=%p: exceeded retry buffer size, committing",
2409
- chand_, this);
2410
- }
2411
- RetryCommit(call_attempt_.get());
2412
- }
2413
- return pending;
2414
- }
2415
-
2416
- void RetryFilter::CallData::PendingBatchClear(PendingBatch* pending) {
2417
- if (pending->batch->send_initial_metadata) {
2418
- pending_send_initial_metadata_ = false;
2419
- }
2420
- if (pending->batch->send_message) {
2421
- pending_send_message_ = false;
2422
- }
2423
- if (pending->batch->send_trailing_metadata) {
2424
- pending_send_trailing_metadata_ = false;
2425
- }
2426
- pending->batch = nullptr;
2427
- }
2428
-
2429
- void RetryFilter::CallData::MaybeClearPendingBatch(PendingBatch* pending) {
2430
- grpc_transport_stream_op_batch* batch = pending->batch;
2431
- // We clear the pending batch if all of its callbacks have been
2432
- // scheduled and reset to nullptr.
2433
- if (batch->on_complete == nullptr &&
2434
- (!batch->recv_initial_metadata ||
2435
- batch->payload->recv_initial_metadata.recv_initial_metadata_ready ==
2436
- nullptr) &&
2437
- (!batch->recv_message ||
2438
- batch->payload->recv_message.recv_message_ready == nullptr) &&
2439
- (!batch->recv_trailing_metadata ||
2440
- batch->payload->recv_trailing_metadata.recv_trailing_metadata_ready ==
2441
- nullptr)) {
2442
- if (GRPC_TRACE_FLAG_ENABLED(grpc_retry_trace)) {
2443
- gpr_log(GPR_INFO, "chand=%p calld=%p: clearing pending batch", chand_,
2444
- this);
2445
- }
2446
- PendingBatchClear(pending);
2447
- }
2448
- }
2449
-
2450
- // This is called via the call combiner, so access to calld is synchronized.
2451
- void RetryFilter::CallData::FailPendingBatchInCallCombiner(
2452
- void* arg, grpc_error_handle error) {
2453
- grpc_transport_stream_op_batch* batch =
2454
- static_cast<grpc_transport_stream_op_batch*>(arg);
2455
- CallData* call = static_cast<CallData*>(batch->handler_private.extra_arg);
2456
- // Note: This will release the call combiner.
2457
- grpc_transport_stream_op_batch_finish_with_failure(batch, error,
2458
- call->call_combiner_);
2459
- }
2460
-
2461
- // This is called via the call combiner, so access to calld is synchronized.
2462
- void RetryFilter::CallData::PendingBatchesFail(grpc_error_handle error) {
2463
- GPR_ASSERT(!error.ok());
2464
- if (GRPC_TRACE_FLAG_ENABLED(grpc_retry_trace)) {
2465
- size_t num_batches = 0;
2466
- for (size_t i = 0; i < GPR_ARRAY_SIZE(pending_batches_); ++i) {
2467
- if (pending_batches_[i].batch != nullptr) ++num_batches;
2468
- }
2469
- gpr_log(GPR_INFO,
2470
- "chand=%p calld=%p: failing %" PRIuPTR " pending batches: %s",
2471
- chand_, this, num_batches, StatusToString(error).c_str());
2472
- }
2473
- CallCombinerClosureList closures;
2474
- for (size_t i = 0; i < GPR_ARRAY_SIZE(pending_batches_); ++i) {
2475
- PendingBatch* pending = &pending_batches_[i];
2476
- grpc_transport_stream_op_batch* batch = pending->batch;
2477
- if (batch != nullptr) {
2478
- batch->handler_private.extra_arg = this;
2479
- GRPC_CLOSURE_INIT(&batch->handler_private.closure,
2480
- FailPendingBatchInCallCombiner, batch,
2481
- grpc_schedule_on_exec_ctx);
2482
- closures.Add(&batch->handler_private.closure, error,
2483
- "PendingBatchesFail");
2484
- PendingBatchClear(pending);
2485
- }
2486
- }
2487
- closures.RunClosuresWithoutYielding(call_combiner_);
2488
- }
2489
-
2490
- template <typename Predicate>
2491
- RetryFilter::CallData::PendingBatch* RetryFilter::CallData::PendingBatchFind(
2492
- const char* log_message, Predicate predicate) {
2493
- for (size_t i = 0; i < GPR_ARRAY_SIZE(pending_batches_); ++i) {
2494
- PendingBatch* pending = &pending_batches_[i];
2495
- grpc_transport_stream_op_batch* batch = pending->batch;
2496
- if (batch != nullptr && predicate(batch)) {
2497
- if (GRPC_TRACE_FLAG_ENABLED(grpc_retry_trace)) {
2498
- gpr_log(GPR_INFO,
2499
- "chand=%p calld=%p: %s pending batch at index %" PRIuPTR,
2500
- chand_, this, log_message, i);
2501
- }
2502
- return pending;
2503
- }
2504
- }
2505
- return nullptr;
2506
- }
2507
-
2508
- //
2509
- // retry code
2510
- //
2511
-
2512
- void RetryFilter::CallData::RetryCommit(CallAttempt* call_attempt) {
2513
- if (retry_committed_) return;
2514
- retry_committed_ = true;
2515
- if (GRPC_TRACE_FLAG_ENABLED(grpc_retry_trace)) {
2516
- gpr_log(GPR_INFO, "chand=%p calld=%p: committing retries", chand_, this);
2517
- }
2518
- if (call_attempt != nullptr) {
2519
- // If the call attempt's LB call has been committed, invoke the
2520
- // call's on_commit callback.
2521
- // Note: If call_attempt is null, this is happening before the first
2522
- // retry attempt is started, in which case we'll just pass the real
2523
- // on_commit callback down into the LB call, and it won't be our
2524
- // problem anymore.
2525
- if (call_attempt->lb_call_committed()) {
2526
- auto* service_config_call_data =
2527
- static_cast<ClientChannelServiceConfigCallData*>(
2528
- call_context_[GRPC_CONTEXT_SERVICE_CONFIG_CALL_DATA].value);
2529
- service_config_call_data->Commit();
2530
- }
2531
- // Free cached send ops.
2532
- call_attempt->FreeCachedSendOpDataAfterCommit();
2533
- }
2534
- }
2535
-
2536
- void RetryFilter::CallData::StartRetryTimer(
2537
- absl::optional<Duration> server_pushback) {
2538
- // Reset call attempt.
2539
- call_attempt_.reset(DEBUG_LOCATION, "StartRetryTimer");
2540
- // Compute backoff delay.
2541
- Duration next_attempt_timeout;
2542
- if (server_pushback.has_value()) {
2543
- GPR_ASSERT(*server_pushback >= Duration::Zero());
2544
- next_attempt_timeout = *server_pushback;
2545
- retry_backoff_.Reset();
2546
- } else {
2547
- next_attempt_timeout = retry_backoff_.NextAttemptTime() - Timestamp::Now();
2548
- }
2549
- if (GRPC_TRACE_FLAG_ENABLED(grpc_retry_trace)) {
2550
- gpr_log(GPR_INFO,
2551
- "chand=%p calld=%p: retrying failed call in %" PRId64 " ms", chand_,
2552
- this, next_attempt_timeout.millis());
2553
- }
2554
- // Schedule retry after computed delay.
2555
- GRPC_CALL_STACK_REF(owning_call_, "OnRetryTimer");
2556
- retry_timer_handle_ =
2557
- chand_->event_engine_->RunAfter(next_attempt_timeout, [this] {
2558
- ApplicationCallbackExecCtx callback_exec_ctx;
2559
- ExecCtx exec_ctx;
2560
- OnRetryTimer();
2561
- });
2562
- }
2563
-
2564
- void RetryFilter::CallData::OnRetryTimer() {
2565
- GRPC_CLOSURE_INIT(&retry_closure_, OnRetryTimerLocked, this, nullptr);
2566
- GRPC_CALL_COMBINER_START(call_combiner_, &retry_closure_, absl::OkStatus(),
2567
- "retry timer fired");
2568
- }
2569
-
2570
- void RetryFilter::CallData::OnRetryTimerLocked(void* arg,
2571
- grpc_error_handle /*error*/) {
2572
- auto* calld = static_cast<CallData*>(arg);
2573
- calld->retry_timer_handle_.reset();
2574
- calld->CreateCallAttempt(/*is_transparent_retry=*/false);
2575
- GRPC_CALL_STACK_UNREF(calld->owning_call_, "OnRetryTimer");
2576
- }
2577
-
2578
- void RetryFilter::CallData::AddClosureToStartTransparentRetry(
2579
- CallCombinerClosureList* closures) {
2580
- if (GRPC_TRACE_FLAG_ENABLED(grpc_retry_trace)) {
2581
- gpr_log(GPR_INFO, "chand=%p calld=%p: scheduling transparent retry", chand_,
2582
- this);
2583
- }
2584
- GRPC_CALL_STACK_REF(owning_call_, "OnRetryTimer");
2585
- GRPC_CLOSURE_INIT(&retry_closure_, StartTransparentRetry, this, nullptr);
2586
- closures->Add(&retry_closure_, absl::OkStatus(), "start transparent retry");
2587
- }
2588
-
2589
- void RetryFilter::CallData::StartTransparentRetry(void* arg,
2590
- grpc_error_handle /*error*/) {
2591
- auto* calld = static_cast<CallData*>(arg);
2592
- if (calld->cancelled_from_surface_.ok()) {
2593
- calld->CreateCallAttempt(/*is_transparent_retry=*/true);
2594
- } else {
2595
- GRPC_CALL_COMBINER_STOP(calld->call_combiner_,
2596
- "call cancelled before transparent retry");
2597
- }
2598
- GRPC_CALL_STACK_UNREF(calld->owning_call_, "OnRetryTimer");
2599
- }
2600
-
2601
- } // namespace
2602
-
2603
- const grpc_channel_filter kRetryFilterVtable = {
2604
- RetryFilter::CallData::StartTransportStreamOpBatch,
143
+ const grpc_channel_filter RetryFilter::kVtable = {
144
+ RetryFilter::LegacyCallData::StartTransportStreamOpBatch,
2605
145
  nullptr,
146
+ /* init_call: */ nullptr,
2606
147
  RetryFilter::StartTransportOp,
2607
- sizeof(RetryFilter::CallData),
2608
- RetryFilter::CallData::Init,
2609
- RetryFilter::CallData::SetPollent,
2610
- RetryFilter::CallData::Destroy,
148
+ sizeof(RetryFilter::LegacyCallData),
149
+ RetryFilter::LegacyCallData::Init,
150
+ RetryFilter::LegacyCallData::SetPollent,
151
+ RetryFilter::LegacyCallData::Destroy,
2611
152
  sizeof(RetryFilter),
2612
153
  RetryFilter::Init,
2613
154
  grpc_channel_stack_no_post_init,