grpc 1.59.2 → 1.62.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2709) hide show
  1. checksums.yaml +4 -4
  2. data/Makefile +1065 -955
  3. data/include/grpc/event_engine/event_engine.h +25 -16
  4. data/include/grpc/event_engine/extensible.h +68 -0
  5. data/include/grpc/event_engine/internal/memory_allocator_impl.h +6 -0
  6. data/include/grpc/event_engine/internal/slice_cast.h +12 -0
  7. data/include/grpc/event_engine/memory_allocator.h +3 -1
  8. data/include/grpc/event_engine/slice.h +5 -0
  9. data/include/grpc/grpc_crl_provider.h +94 -0
  10. data/include/grpc/grpc_security.h +38 -1
  11. data/include/grpc/impl/call.h +29 -0
  12. data/include/grpc/impl/channel_arg_names.h +26 -1
  13. data/include/grpc/impl/slice_type.h +1 -1
  14. data/include/grpc/module.modulemap +2 -0
  15. data/include/grpc/support/port_platform.h +12 -20
  16. data/src/core/client_channel/backend_metric.cc +95 -0
  17. data/src/core/client_channel/backend_metric.h +47 -0
  18. data/src/core/client_channel/backup_poller.cc +178 -0
  19. data/src/core/client_channel/backup_poller.h +37 -0
  20. data/src/core/client_channel/channel_connectivity.cc +265 -0
  21. data/src/core/client_channel/client_channel_channelz.cc +93 -0
  22. data/src/core/client_channel/client_channel_channelz.h +85 -0
  23. data/src/core/client_channel/client_channel_factory.cc +32 -0
  24. data/src/core/client_channel/client_channel_factory.h +46 -0
  25. data/src/core/client_channel/client_channel_filter.cc +3654 -0
  26. data/src/core/client_channel/client_channel_filter.h +636 -0
  27. data/src/core/client_channel/client_channel_internal.h +79 -0
  28. data/src/core/client_channel/client_channel_plugin.cc +55 -0
  29. data/src/core/client_channel/client_channel_service_config.cc +153 -0
  30. data/src/core/client_channel/client_channel_service_config.h +111 -0
  31. data/src/core/client_channel/config_selector.cc +60 -0
  32. data/src/core/client_channel/config_selector.h +125 -0
  33. data/src/core/client_channel/connector.h +87 -0
  34. data/src/core/client_channel/dynamic_filters.cc +174 -0
  35. data/src/core/client_channel/dynamic_filters.h +110 -0
  36. data/src/core/client_channel/global_subchannel_pool.cc +65 -0
  37. data/src/core/client_channel/global_subchannel_pool.h +63 -0
  38. data/src/core/client_channel/http_proxy_mapper.cc +305 -0
  39. data/src/core/client_channel/http_proxy_mapper.h +53 -0
  40. data/src/core/client_channel/local_subchannel_pool.cc +60 -0
  41. data/src/core/client_channel/local_subchannel_pool.h +59 -0
  42. data/src/core/client_channel/retry_filter.cc +160 -0
  43. data/src/core/client_channel/retry_filter.h +122 -0
  44. data/src/core/client_channel/retry_filter_legacy_call_data.cc +2054 -0
  45. data/src/core/client_channel/retry_filter_legacy_call_data.h +443 -0
  46. data/src/core/client_channel/retry_service_config.cc +283 -0
  47. data/src/core/client_channel/retry_service_config.h +105 -0
  48. data/src/core/client_channel/retry_throttle.cc +139 -0
  49. data/src/core/client_channel/retry_throttle.h +92 -0
  50. data/src/core/client_channel/service_config_channel_arg_filter.cc +136 -0
  51. data/src/core/client_channel/subchannel.cc +812 -0
  52. data/src/core/client_channel/subchannel.h +387 -0
  53. data/src/core/client_channel/subchannel_interface_internal.h +41 -0
  54. data/src/core/client_channel/subchannel_pool_interface.cc +66 -0
  55. data/src/core/client_channel/subchannel_pool_interface.h +100 -0
  56. data/src/core/client_channel/subchannel_stream_client.cc +468 -0
  57. data/src/core/client_channel/subchannel_stream_client.h +225 -0
  58. data/src/core/ext/filters/backend_metrics/backend_metric_filter.cc +55 -15
  59. data/src/core/ext/filters/backend_metrics/backend_metric_filter.h +20 -6
  60. data/src/core/ext/filters/channel_idle/channel_idle_filter.cc +28 -39
  61. data/src/core/ext/filters/channel_idle/channel_idle_filter.h +18 -10
  62. data/src/core/ext/filters/channel_idle/legacy_channel_idle_filter.cc +326 -0
  63. data/src/core/ext/filters/channel_idle/legacy_channel_idle_filter.h +143 -0
  64. data/src/core/ext/filters/deadline/deadline_filter.cc +20 -23
  65. data/src/core/ext/filters/deadline/deadline_filter.h +0 -4
  66. data/src/core/ext/filters/fault_injection/fault_injection_filter.cc +19 -14
  67. data/src/core/ext/filters/fault_injection/fault_injection_filter.h +13 -4
  68. data/src/core/ext/filters/fault_injection/fault_injection_service_config_parser.h +1 -1
  69. data/src/core/ext/filters/http/client/http_client_filter.cc +29 -39
  70. data/src/core/ext/filters/http/client/http_client_filter.h +10 -5
  71. data/src/core/ext/filters/http/client_authority_filter.cc +22 -24
  72. data/src/core/ext/filters/http/client_authority_filter.h +12 -4
  73. data/src/core/ext/filters/http/http_filters_plugin.cc +58 -38
  74. data/src/core/ext/filters/http/message_compress/compression_filter.cc +55 -84
  75. data/src/core/ext/filters/http/message_compress/compression_filter.h +54 -12
  76. data/src/core/ext/filters/http/message_compress/legacy_compression_filter.cc +325 -0
  77. data/src/core/ext/filters/http/message_compress/legacy_compression_filter.h +139 -0
  78. data/src/core/ext/filters/http/server/http_server_filter.cc +41 -43
  79. data/src/core/ext/filters/http/server/http_server_filter.h +11 -4
  80. data/src/core/ext/filters/message_size/message_size_filter.cc +79 -109
  81. data/src/core/ext/filters/message_size/message_size_filter.h +36 -24
  82. data/src/core/ext/filters/rbac/rbac_filter.cc +24 -20
  83. data/src/core/ext/filters/rbac/rbac_filter.h +11 -4
  84. data/src/core/ext/filters/rbac/rbac_service_config_parser.h +1 -1
  85. data/src/core/ext/filters/server_config_selector/server_config_selector.h +2 -2
  86. data/src/core/ext/filters/server_config_selector/server_config_selector_filter.cc +28 -15
  87. data/src/core/ext/filters/stateful_session/stateful_session_filter.cc +60 -65
  88. data/src/core/ext/filters/stateful_session/stateful_session_filter.h +43 -9
  89. data/src/core/ext/filters/stateful_session/stateful_session_service_config_parser.h +1 -1
  90. data/src/core/ext/gcp/metadata_query.cc +0 -1
  91. data/src/core/ext/transport/chttp2/alpn/alpn.cc +5 -2
  92. data/src/core/ext/transport/chttp2/client/chttp2_connector.cc +9 -12
  93. data/src/core/ext/transport/chttp2/client/chttp2_connector.h +1 -1
  94. data/src/core/ext/transport/chttp2/server/chttp2_server.cc +20 -19
  95. data/src/core/ext/transport/chttp2/transport/chttp2_transport.cc +240 -273
  96. data/src/core/ext/transport/chttp2/transport/chttp2_transport.h +47 -4
  97. data/src/core/ext/transport/chttp2/transport/context_list_entry.h +12 -2
  98. data/src/core/ext/transport/chttp2/transport/flow_control.cc +45 -83
  99. data/src/core/ext/transport/chttp2/transport/flow_control.h +58 -8
  100. data/src/core/ext/transport/chttp2/transport/frame.cc +506 -0
  101. data/src/core/ext/transport/chttp2/transport/frame.h +214 -0
  102. data/src/core/ext/transport/chttp2/transport/frame_data.cc +4 -3
  103. data/src/core/ext/transport/chttp2/transport/frame_goaway.cc +0 -2
  104. data/src/core/ext/transport/chttp2/transport/frame_ping.cc +0 -2
  105. data/src/core/ext/transport/chttp2/transport/frame_rst_stream.cc +1 -3
  106. data/src/core/ext/transport/chttp2/transport/frame_settings.cc +33 -81
  107. data/src/core/ext/transport/chttp2/transport/frame_settings.h +4 -7
  108. data/src/core/ext/transport/chttp2/transport/frame_window_update.cc +1 -3
  109. data/src/core/ext/transport/chttp2/transport/hpack_encoder.cc +15 -21
  110. data/src/core/ext/transport/chttp2/transport/hpack_encoder.h +12 -3
  111. data/src/core/ext/transport/chttp2/transport/hpack_encoder_table.h +3 -4
  112. data/src/core/ext/transport/chttp2/transport/hpack_parse_result.cc +37 -29
  113. data/src/core/ext/transport/chttp2/transport/hpack_parse_result.h +61 -36
  114. data/src/core/ext/transport/chttp2/transport/hpack_parser.h +7 -5
  115. data/src/core/ext/transport/chttp2/transport/hpack_parser_table.h +3 -1
  116. data/src/core/ext/transport/chttp2/transport/http2_settings.cc +122 -32
  117. data/src/core/ext/transport/chttp2/transport/http2_settings.h +142 -37
  118. data/src/core/ext/transport/chttp2/transport/internal.h +63 -61
  119. data/src/core/ext/transport/chttp2/transport/parsing.cc +35 -39
  120. data/src/core/ext/transport/chttp2/transport/ping_rate_policy.cc +2 -2
  121. data/src/core/ext/transport/chttp2/transport/writing.cc +45 -61
  122. data/src/core/ext/transport/inproc/inproc_transport.cc +168 -1237
  123. data/src/core/ext/transport/inproc/inproc_transport.h +8 -4
  124. data/src/core/ext/transport/inproc/legacy_inproc_transport.cc +1303 -0
  125. data/src/core/ext/transport/inproc/legacy_inproc_transport.h +30 -0
  126. data/src/core/ext/upb-gen/envoy/admin/v3/certs.upb.h +725 -0
  127. data/src/core/ext/upb-gen/envoy/admin/v3/certs.upb_minitable.c +149 -0
  128. data/src/core/ext/upb-gen/envoy/admin/v3/certs.upb_minitable.h +34 -0
  129. data/src/core/ext/upb-gen/envoy/admin/v3/clusters.upb.h +827 -0
  130. data/src/core/ext/upb-gen/envoy/admin/v3/clusters.upb_minitable.c +180 -0
  131. data/src/core/ext/upb-gen/envoy/admin/v3/clusters.upb_minitable.h +33 -0
  132. data/src/core/ext/upb-gen/envoy/admin/v3/config_dump.upb.h +733 -0
  133. data/src/core/ext/upb-gen/envoy/admin/v3/config_dump.upb_minitable.c +157 -0
  134. data/src/core/ext/upb-gen/envoy/admin/v3/config_dump.upb_minitable.h +34 -0
  135. data/src/core/ext/upb-gen/envoy/admin/v3/config_dump_shared.upb.h +2772 -0
  136. data/src/core/ext/upb-gen/envoy/admin/v3/config_dump_shared.upb_minitable.c +532 -0
  137. data/src/core/ext/upb-gen/envoy/admin/v3/config_dump_shared.upb_minitable.h +48 -0
  138. data/src/core/ext/upb-gen/envoy/admin/v3/init_dump.upb.h +248 -0
  139. data/src/core/ext/upb-gen/envoy/admin/v3/init_dump.upb_minitable.c +66 -0
  140. data/src/core/ext/upb-gen/envoy/admin/v3/init_dump.upb_minitable.h +31 -0
  141. data/src/core/ext/upb-gen/envoy/admin/v3/listeners.upb.h +280 -0
  142. data/src/core/ext/upb-gen/envoy/admin/v3/listeners.upb_minitable.c +74 -0
  143. data/src/core/ext/upb-gen/envoy/admin/v3/listeners.upb_minitable.h +31 -0
  144. data/src/core/ext/upb-gen/envoy/admin/v3/memory.upb.h +162 -0
  145. data/src/core/ext/upb-gen/envoy/admin/v3/memory.upb_minitable.c +56 -0
  146. data/src/core/ext/upb-gen/envoy/admin/v3/memory.upb_minitable.h +30 -0
  147. data/src/core/ext/upb-gen/envoy/admin/v3/metrics.upb.h +122 -0
  148. data/src/core/ext/upb-gen/envoy/admin/v3/metrics.upb_minitable.c +49 -0
  149. data/src/core/ext/upb-gen/envoy/admin/v3/metrics.upb_minitable.h +30 -0
  150. data/src/core/ext/upb-gen/envoy/admin/v3/mutex_stats.upb.h +117 -0
  151. data/src/core/ext/upb-gen/envoy/admin/v3/mutex_stats.upb_minitable.c +49 -0
  152. data/src/core/ext/upb-gen/envoy/admin/v3/mutex_stats.upb_minitable.h +30 -0
  153. data/src/core/ext/upb-gen/envoy/admin/v3/server_info.upb.h +928 -0
  154. data/src/core/ext/upb-gen/envoy/admin/v3/server_info.upb_minitable.c +150 -0
  155. data/src/core/ext/upb-gen/envoy/admin/v3/server_info.upb_minitable.h +31 -0
  156. data/src/core/ext/upb-gen/envoy/admin/v3/tap.upb.h +117 -0
  157. data/src/core/ext/upb-gen/envoy/admin/v3/tap.upb_minitable.c +54 -0
  158. data/src/core/ext/upb-gen/envoy/admin/v3/tap.upb_minitable.h +30 -0
  159. data/src/core/ext/upb-gen/envoy/annotations/deprecation.upb.h +122 -0
  160. data/src/core/ext/upb-gen/envoy/annotations/deprecation.upb_minitable.c +58 -0
  161. data/src/core/ext/upb-gen/envoy/annotations/deprecation.upb_minitable.h +33 -0
  162. data/src/core/ext/upb-gen/envoy/annotations/resource.upb.h +109 -0
  163. data/src/core/ext/upb-gen/envoy/annotations/resource.upb_minitable.c +55 -0
  164. data/src/core/ext/upb-gen/envoy/annotations/resource.upb_minitable.h +31 -0
  165. data/src/core/ext/upb-gen/envoy/config/accesslog/v3/accesslog.upb.h +1753 -0
  166. data/src/core/ext/upb-gen/envoy/config/accesslog/v3/accesslog.upb_minitable.c +375 -0
  167. data/src/core/ext/upb-gen/envoy/config/accesslog/v3/accesslog.upb_minitable.h +45 -0
  168. data/src/core/ext/upb-gen/envoy/config/bootstrap/v3/bootstrap.upb.h +3607 -0
  169. data/src/core/ext/upb-gen/envoy/config/bootstrap/v3/bootstrap.upb_minitable.c +651 -0
  170. data/src/core/ext/upb-gen/envoy/config/bootstrap/v3/bootstrap.upb_minitable.h +51 -0
  171. data/src/core/ext/upb-gen/envoy/config/cluster/v3/circuit_breaker.upb.h +526 -0
  172. data/src/core/ext/upb-gen/envoy/config/cluster/v3/circuit_breaker.upb_minitable.c +125 -0
  173. data/src/core/ext/upb-gen/envoy/config/cluster/v3/circuit_breaker.upb_minitable.h +32 -0
  174. data/src/core/ext/upb-gen/envoy/config/cluster/v3/cluster.upb.h +3934 -0
  175. data/src/core/ext/upb-gen/envoy/config/cluster/v3/cluster.upb_minitable.c +737 -0
  176. data/src/core/ext/upb-gen/envoy/config/cluster/v3/cluster.upb_minitable.h +53 -0
  177. data/src/core/ext/upb-gen/envoy/config/cluster/v3/filter.upb.h +146 -0
  178. data/src/core/ext/upb-gen/envoy/config/cluster/v3/filter.upb_minitable.c +57 -0
  179. data/src/core/ext/upb-gen/envoy/config/cluster/v3/filter.upb_minitable.h +30 -0
  180. data/src/core/ext/upb-gen/envoy/config/cluster/v3/outlier_detection.upb.h +687 -0
  181. data/src/core/ext/upb-gen/envoy/config/cluster/v3/outlier_detection.upb_minitable.c +125 -0
  182. data/src/core/ext/upb-gen/envoy/config/cluster/v3/outlier_detection.upb_minitable.h +30 -0
  183. data/src/core/ext/upb-gen/envoy/config/common/matcher/v3/matcher.upb.h +1829 -0
  184. data/src/core/ext/upb-gen/envoy/config/common/matcher/v3/matcher.upb_minitable.c +394 -0
  185. data/src/core/ext/upb-gen/envoy/config/common/matcher/v3/matcher.upb_minitable.h +44 -0
  186. data/src/core/ext/upb-gen/envoy/config/core/v3/address.upb.h +1070 -0
  187. data/src/core/ext/upb-gen/envoy/config/core/v3/address.upb_minitable.c +227 -0
  188. data/src/core/ext/upb-gen/envoy/config/core/v3/address.upb_minitable.h +37 -0
  189. data/src/core/ext/upb-gen/envoy/config/core/v3/backoff.upb.h +129 -0
  190. data/src/core/ext/upb-gen/envoy/config/core/v3/backoff.upb_minitable.c +55 -0
  191. data/src/core/ext/upb-gen/envoy/config/core/v3/backoff.upb_minitable.h +30 -0
  192. data/src/core/ext/upb-gen/envoy/config/core/v3/base.upb.h +2436 -0
  193. data/src/core/ext/upb-gen/envoy/config/core/v3/base.upb_minitable.c +578 -0
  194. data/src/core/ext/upb-gen/envoy/config/core/v3/base.upb_minitable.h +53 -0
  195. data/src/core/ext/upb-gen/envoy/config/core/v3/config_source.upb.h +1130 -0
  196. data/src/core/ext/upb-gen/envoy/config/core/v3/config_source.upb_minitable.c +225 -0
  197. data/src/core/ext/upb-gen/envoy/config/core/v3/config_source.upb_minitable.h +36 -0
  198. data/src/core/ext/upb-gen/envoy/config/core/v3/event_service_config.upb.h +110 -0
  199. data/src/core/ext/upb-gen/envoy/config/core/v3/event_service_config.upb_minitable.c +51 -0
  200. data/src/core/ext/upb-gen/envoy/config/core/v3/event_service_config.upb_minitable.h +30 -0
  201. data/src/core/ext/upb-gen/envoy/config/core/v3/extension.upb.h +116 -0
  202. data/src/core/ext/upb-gen/envoy/config/core/v3/extension.upb_minitable.c +53 -0
  203. data/src/core/ext/upb-gen/envoy/config/core/v3/extension.upb_minitable.h +30 -0
  204. data/src/core/ext/upb-gen/envoy/config/core/v3/grpc_method_list.upb.h +250 -0
  205. data/src/core/ext/upb-gen/envoy/config/core/v3/grpc_method_list.upb_minitable.c +68 -0
  206. data/src/core/ext/upb-gen/envoy/config/core/v3/grpc_method_list.upb_minitable.h +31 -0
  207. data/src/core/ext/upb-gen/envoy/config/core/v3/grpc_service.upb.h +1688 -0
  208. data/src/core/ext/upb-gen/envoy/config/core/v3/grpc_service.upb_minitable.c +378 -0
  209. data/src/core/ext/upb-gen/envoy/config/core/v3/grpc_service.upb_minitable.h +43 -0
  210. data/src/core/ext/upb-gen/envoy/config/core/v3/health_check.upb.h +1938 -0
  211. data/src/core/ext/upb-gen/envoy/config/core/v3/health_check.upb_minitable.c +315 -0
  212. data/src/core/ext/upb-gen/envoy/config/core/v3/health_check.upb_minitable.h +38 -0
  213. data/src/core/ext/upb-gen/envoy/config/core/v3/http_service.upb.h +166 -0
  214. data/src/core/ext/upb-gen/envoy/config/core/v3/http_service.upb_minitable.c +55 -0
  215. data/src/core/ext/upb-gen/envoy/config/core/v3/http_service.upb_minitable.h +30 -0
  216. data/src/core/ext/upb-gen/envoy/config/core/v3/http_uri.upb.h +144 -0
  217. data/src/core/ext/upb-gen/envoy/config/core/v3/http_uri.upb_minitable.c +55 -0
  218. data/src/core/ext/upb-gen/envoy/config/core/v3/http_uri.upb_minitable.h +30 -0
  219. data/src/core/ext/upb-gen/envoy/config/core/v3/protocol.upb.h +2275 -0
  220. data/src/core/ext/upb-gen/envoy/config/core/v3/protocol.upb_minitable.c +483 -0
  221. data/src/core/ext/upb-gen/envoy/config/core/v3/protocol.upb_minitable.h +45 -0
  222. data/src/core/ext/upb-gen/envoy/config/core/v3/proxy_protocol.upb.h +238 -0
  223. data/src/core/ext/upb-gen/envoy/config/core/v3/proxy_protocol.upb_minitable.c +70 -0
  224. data/src/core/ext/upb-gen/envoy/config/core/v3/proxy_protocol.upb_minitable.h +31 -0
  225. data/src/core/ext/upb-gen/envoy/config/core/v3/resolver.upb.h +232 -0
  226. data/src/core/ext/upb-gen/envoy/config/core/v3/resolver.upb_minitable.c +72 -0
  227. data/src/core/ext/upb-gen/envoy/config/core/v3/resolver.upb_minitable.h +31 -0
  228. data/src/core/ext/upb-gen/envoy/config/core/v3/socket_option.upb.h +287 -0
  229. data/src/core/ext/upb-gen/envoy/config/core/v3/socket_option.upb_minitable.c +76 -0
  230. data/src/core/ext/upb-gen/envoy/config/core/v3/socket_option.upb_minitable.h +31 -0
  231. data/src/core/ext/upb-gen/envoy/config/core/v3/substitution_format_string.upb.h +335 -0
  232. data/src/core/ext/upb-gen/envoy/config/core/v3/substitution_format_string.upb_minitable.c +83 -0
  233. data/src/core/ext/upb-gen/envoy/config/core/v3/substitution_format_string.upb_minitable.h +31 -0
  234. data/src/core/ext/upb-gen/envoy/config/core/v3/udp_socket_config.upb.h +129 -0
  235. data/src/core/ext/upb-gen/envoy/config/core/v3/udp_socket_config.upb_minitable.c +54 -0
  236. data/src/core/ext/upb-gen/envoy/config/core/v3/udp_socket_config.upb_minitable.h +30 -0
  237. data/src/core/ext/upb-gen/envoy/config/endpoint/v3/endpoint.upb.h +504 -0
  238. data/src/core/ext/upb-gen/envoy/config/endpoint/v3/endpoint.upb_minitable.c +139 -0
  239. data/src/core/ext/upb-gen/envoy/config/endpoint/v3/endpoint.upb_minitable.h +33 -0
  240. data/src/core/ext/upb-gen/envoy/config/endpoint/v3/endpoint_components.upb.h +993 -0
  241. data/src/core/ext/upb-gen/envoy/config/endpoint/v3/endpoint_components.upb_minitable.c +229 -0
  242. data/src/core/ext/upb-gen/envoy/config/endpoint/v3/endpoint_components.upb_minitable.h +36 -0
  243. data/src/core/ext/upb-gen/envoy/config/endpoint/v3/load_report.upb.h +911 -0
  244. data/src/core/ext/upb-gen/envoy/config/endpoint/v3/load_report.upb_minitable.c +179 -0
  245. data/src/core/ext/upb-gen/envoy/config/endpoint/v3/load_report.upb_minitable.h +34 -0
  246. data/src/core/ext/upb-gen/envoy/config/listener/v3/api_listener.upb.h +101 -0
  247. data/src/core/ext/upb-gen/envoy/config/listener/v3/api_listener.upb_minitable.c +50 -0
  248. data/src/core/ext/upb-gen/envoy/config/listener/v3/api_listener.upb_minitable.h +30 -0
  249. data/src/core/ext/upb-gen/envoy/config/listener/v3/listener.upb.h +1613 -0
  250. data/src/core/ext/upb-gen/envoy/config/listener/v3/listener.upb_minitable.c +268 -0
  251. data/src/core/ext/upb-gen/envoy/config/listener/v3/listener.upb_minitable.h +39 -0
  252. data/src/core/ext/upb-gen/envoy/config/listener/v3/listener_components.upb.h +1447 -0
  253. data/src/core/ext/upb-gen/envoy/config/listener/v3/listener_components.upb_minitable.c +260 -0
  254. data/src/core/ext/upb-gen/envoy/config/listener/v3/listener_components.upb_minitable.h +36 -0
  255. data/src/core/ext/upb-gen/envoy/config/listener/v3/quic_config.upb.h +327 -0
  256. data/src/core/ext/upb-gen/envoy/config/listener/v3/quic_config.upb_minitable.c +86 -0
  257. data/src/core/ext/upb-gen/envoy/config/listener/v3/quic_config.upb_minitable.h +30 -0
  258. data/src/core/ext/upb-gen/envoy/config/listener/v3/udp_listener_config.upb.h +197 -0
  259. data/src/core/ext/upb-gen/envoy/config/listener/v3/udp_listener_config.upb_minitable.c +77 -0
  260. data/src/core/ext/upb-gen/envoy/config/listener/v3/udp_listener_config.upb_minitable.h +31 -0
  261. data/src/core/ext/upb-gen/envoy/config/metrics/v3/metrics_service.upb.h +183 -0
  262. data/src/core/ext/upb-gen/envoy/config/metrics/v3/metrics_service.upb_minitable.c +64 -0
  263. data/src/core/ext/upb-gen/envoy/config/metrics/v3/metrics_service.upb_minitable.h +30 -0
  264. data/src/core/ext/upb-gen/envoy/config/metrics/v3/stats.upb.h +974 -0
  265. data/src/core/ext/upb-gen/envoy/config/metrics/v3/stats.upb_minitable.c +219 -0
  266. data/src/core/ext/upb-gen/envoy/config/metrics/v3/stats.upb_minitable.h +37 -0
  267. data/src/core/ext/upb-gen/envoy/config/overload/v3/overload.upb.h +1183 -0
  268. data/src/core/ext/upb-gen/envoy/config/overload/v3/overload.upb_minitable.c +250 -0
  269. data/src/core/ext/upb-gen/envoy/config/overload/v3/overload.upb_minitable.h +39 -0
  270. data/src/core/ext/upb-gen/envoy/config/rbac/v3/rbac.upb.h +1704 -0
  271. data/src/core/ext/upb-gen/envoy/config/rbac/v3/rbac.upb_minitable.c +348 -0
  272. data/src/core/ext/upb-gen/envoy/config/rbac/v3/rbac.upb_minitable.h +40 -0
  273. data/src/core/ext/upb-gen/envoy/config/route/v3/route.upb.h +885 -0
  274. data/src/core/ext/upb-gen/envoy/config/route/v3/route.upb_minitable.c +151 -0
  275. data/src/core/ext/upb-gen/envoy/config/route/v3/route.upb_minitable.h +32 -0
  276. data/src/core/ext/upb-gen/envoy/config/route/v3/route_components.upb.h +9754 -0
  277. data/src/core/ext/upb-gen/envoy/config/route/v3/route_components.upb_minitable.c +1670 -0
  278. data/src/core/ext/upb-gen/envoy/config/route/v3/route_components.upb_minitable.h +87 -0
  279. data/src/core/ext/upb-gen/envoy/config/route/v3/scoped_route.upb.h +341 -0
  280. data/src/core/ext/upb-gen/envoy/config/route/v3/scoped_route.upb_minitable.c +97 -0
  281. data/src/core/ext/upb-gen/envoy/config/route/v3/scoped_route.upb_minitable.h +32 -0
  282. data/src/core/ext/upb-gen/envoy/config/tap/v3/common.upb.h +1545 -0
  283. data/src/core/ext/upb-gen/envoy/config/tap/v3/common.upb_minitable.c +328 -0
  284. data/src/core/ext/upb-gen/envoy/config/tap/v3/common.upb_minitable.h +41 -0
  285. data/src/core/ext/upb-gen/envoy/config/trace/v3/datadog.upb.h +119 -0
  286. data/src/core/ext/upb-gen/envoy/config/trace/v3/datadog.upb_minitable.c +51 -0
  287. data/src/core/ext/upb-gen/envoy/config/trace/v3/datadog.upb_minitable.h +30 -0
  288. data/src/core/ext/upb-gen/envoy/config/trace/v3/dynamic_ot.upb.h +119 -0
  289. data/src/core/ext/upb-gen/envoy/config/trace/v3/dynamic_ot.upb_minitable.c +56 -0
  290. data/src/core/ext/upb-gen/envoy/config/trace/v3/dynamic_ot.upb_minitable.h +30 -0
  291. data/src/core/ext/upb-gen/envoy/config/trace/v3/http_tracer.upb.h +190 -0
  292. data/src/core/ext/upb-gen/envoy/config/trace/v3/http_tracer.upb_minitable.c +73 -0
  293. data/src/core/ext/upb-gen/envoy/config/trace/v3/http_tracer.upb_minitable.h +31 -0
  294. data/src/core/ext/upb-gen/envoy/config/trace/v3/lightstep.upb.h +202 -0
  295. data/src/core/ext/upb-gen/envoy/config/trace/v3/lightstep.upb_minitable.c +62 -0
  296. data/src/core/ext/upb-gen/envoy/config/trace/v3/lightstep.upb_minitable.h +30 -0
  297. data/src/core/ext/upb-gen/envoy/config/trace/v3/opencensus.upb.h +409 -0
  298. data/src/core/ext/upb-gen/envoy/config/trace/v3/opencensus.upb_minitable.c +81 -0
  299. data/src/core/ext/upb-gen/envoy/config/trace/v3/opencensus.upb_minitable.h +30 -0
  300. data/src/core/ext/upb-gen/envoy/config/trace/v3/opentelemetry.upb.h +237 -0
  301. data/src/core/ext/upb-gen/envoy/config/trace/v3/opentelemetry.upb_minitable.c +65 -0
  302. data/src/core/ext/upb-gen/envoy/config/trace/v3/opentelemetry.upb_minitable.h +30 -0
  303. data/src/core/ext/upb-gen/envoy/config/trace/v3/service.upb.h +102 -0
  304. data/src/core/ext/upb-gen/envoy/config/trace/v3/service.upb_minitable.c +51 -0
  305. data/src/core/ext/upb-gen/envoy/config/trace/v3/service.upb_minitable.h +30 -0
  306. data/src/core/ext/upb-gen/envoy/config/trace/v3/skywalking.upb.h +254 -0
  307. data/src/core/ext/upb-gen/envoy/config/trace/v3/skywalking.upb_minitable.c +85 -0
  308. data/src/core/ext/upb-gen/envoy/config/trace/v3/skywalking.upb_minitable.h +31 -0
  309. data/src/core/ext/upb-gen/envoy/config/trace/v3/trace.upb.h +49 -0
  310. data/src/core/ext/upb-gen/envoy/config/trace/v3/trace.upb_minitable.c +33 -0
  311. data/src/core/ext/upb-gen/envoy/config/trace/v3/trace.upb_minitable.h +39 -0
  312. data/src/core/ext/upb-gen/envoy/config/trace/v3/xray.upb.h +256 -0
  313. data/src/core/ext/upb-gen/envoy/config/trace/v3/xray.upb_minitable.c +87 -0
  314. data/src/core/ext/upb-gen/envoy/config/trace/v3/xray.upb_minitable.h +31 -0
  315. data/src/core/ext/upb-gen/envoy/config/trace/v3/zipkin.upb.h +201 -0
  316. data/src/core/ext/upb-gen/envoy/config/trace/v3/zipkin.upb_minitable.c +65 -0
  317. data/src/core/ext/upb-gen/envoy/config/trace/v3/zipkin.upb_minitable.h +30 -0
  318. data/src/core/ext/upb-gen/envoy/data/accesslog/v3/accesslog.upb.h +2709 -0
  319. data/src/core/ext/upb-gen/envoy/data/accesslog/v3/accesslog.upb_minitable.c +556 -0
  320. data/src/core/ext/upb-gen/envoy/data/accesslog/v3/accesslog.upb_minitable.h +45 -0
  321. data/src/core/ext/upb-gen/envoy/extensions/clusters/aggregate/v3/cluster.upb.h +134 -0
  322. data/src/core/ext/upb-gen/envoy/extensions/clusters/aggregate/v3/cluster.upb_minitable.c +46 -0
  323. data/src/core/ext/upb-gen/envoy/extensions/clusters/aggregate/v3/cluster.upb_minitable.h +30 -0
  324. data/src/core/ext/upb-gen/envoy/extensions/filters/common/fault/v3/fault.upb.h +428 -0
  325. data/src/core/ext/upb-gen/envoy/extensions/filters/common/fault/v3/fault.upb_minitable.c +116 -0
  326. data/src/core/ext/upb-gen/envoy/extensions/filters/common/fault/v3/fault.upb_minitable.h +34 -0
  327. data/src/core/ext/upb-gen/envoy/extensions/filters/http/fault/v3/fault.upb.h +656 -0
  328. data/src/core/ext/upb-gen/envoy/extensions/filters/http/fault/v3/fault.upb_minitable.c +141 -0
  329. data/src/core/ext/upb-gen/envoy/extensions/filters/http/fault/v3/fault.upb_minitable.h +32 -0
  330. data/src/core/ext/upb-gen/envoy/extensions/filters/http/rbac/v3/rbac.upb.h +266 -0
  331. data/src/core/ext/upb-gen/envoy/extensions/filters/http/rbac/v3/rbac.upb_minitable.c +87 -0
  332. data/src/core/ext/upb-gen/envoy/extensions/filters/http/rbac/v3/rbac.upb_minitable.h +31 -0
  333. data/src/core/ext/upb-gen/envoy/extensions/filters/http/router/v3/router.upb.h +463 -0
  334. data/src/core/ext/upb-gen/envoy/extensions/filters/http/router/v3/router.upb_minitable.c +102 -0
  335. data/src/core/ext/upb-gen/envoy/extensions/filters/http/router/v3/router.upb_minitable.h +31 -0
  336. data/src/core/ext/upb-gen/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upb.h +209 -0
  337. data/src/core/ext/upb-gen/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upb_minitable.c +75 -0
  338. data/src/core/ext/upb-gen/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upb_minitable.h +31 -0
  339. data/src/core/ext/upb-gen/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upb.h +3985 -0
  340. data/src/core/ext/upb-gen/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upb_minitable.c +682 -0
  341. data/src/core/ext/upb-gen/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upb_minitable.h +50 -0
  342. data/src/core/ext/upb-gen/envoy/extensions/http/stateful_session/cookie/v3/cookie.upb.h +101 -0
  343. data/src/core/ext/upb-gen/envoy/extensions/http/stateful_session/cookie/v3/cookie.upb_minitable.c +50 -0
  344. data/src/core/ext/upb-gen/envoy/extensions/http/stateful_session/cookie/v3/cookie.upb_minitable.h +30 -0
  345. 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
  346. 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
  347. 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
  348. data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/common/v3/common.upb.h +488 -0
  349. data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/common/v3/common.upb_minitable.c +135 -0
  350. data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/common/v3/common.upb_minitable.h +34 -0
  351. data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/pick_first/v3/pick_first.upb.h +86 -0
  352. data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/pick_first/v3/pick_first.upb_minitable.c +44 -0
  353. data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/pick_first/v3/pick_first.upb_minitable.h +30 -0
  354. data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/ring_hash/v3/ring_hash.upb.h +250 -0
  355. data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/ring_hash/v3/ring_hash.upb_minitable.c +68 -0
  356. data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/ring_hash/v3/ring_hash.upb_minitable.h +30 -0
  357. data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/wrr_locality/v3/wrr_locality.upb.h +101 -0
  358. data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/wrr_locality/v3/wrr_locality.upb_minitable.c +50 -0
  359. data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/wrr_locality/v3/wrr_locality.upb_minitable.h +30 -0
  360. data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/cert.upb.h +39 -0
  361. data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/cert.upb_minitable.c +28 -0
  362. data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/cert.upb_minitable.h +34 -0
  363. data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/common.upb.h +1484 -0
  364. data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/common.upb_minitable.c +267 -0
  365. data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/common.upb_minitable.h +36 -0
  366. data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/secret.upb.h +361 -0
  367. data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/secret.upb_minitable.c +108 -0
  368. data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/secret.upb_minitable.h +32 -0
  369. data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/tls.upb.h +1509 -0
  370. data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/tls.upb_minitable.c +270 -0
  371. data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/tls.upb_minitable.h +36 -0
  372. data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upb.h +217 -0
  373. data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upb_minitable.c +72 -0
  374. data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upb_minitable.h +31 -0
  375. data/src/core/ext/upb-gen/envoy/extensions/upstreams/http/v3/http_protocol_options.upb.h +712 -0
  376. data/src/core/ext/upb-gen/envoy/extensions/upstreams/http/v3/http_protocol_options.upb_minitable.c +151 -0
  377. data/src/core/ext/upb-gen/envoy/extensions/upstreams/http/v3/http_protocol_options.upb_minitable.h +33 -0
  378. data/src/core/ext/upb-gen/envoy/service/discovery/v3/ads.upb.h +73 -0
  379. data/src/core/ext/upb-gen/envoy/service/discovery/v3/ads.upb_minitable.c +38 -0
  380. data/src/core/ext/upb-gen/envoy/service/discovery/v3/ads.upb_minitable.h +30 -0
  381. data/src/core/ext/upb-gen/envoy/service/discovery/v3/discovery.upb.h +2141 -0
  382. data/src/core/ext/upb-gen/envoy/service/discovery/v3/discovery.upb_minitable.c +402 -0
  383. data/src/core/ext/upb-gen/envoy/service/discovery/v3/discovery.upb_minitable.h +43 -0
  384. data/src/core/ext/upb-gen/envoy/service/load_stats/v3/lrs.upb.h +324 -0
  385. data/src/core/ext/upb-gen/envoy/service/load_stats/v3/lrs.upb_minitable.c +84 -0
  386. data/src/core/ext/upb-gen/envoy/service/load_stats/v3/lrs.upb_minitable.h +31 -0
  387. data/src/core/ext/upb-gen/envoy/service/status/v3/csds.upb.h +940 -0
  388. data/src/core/ext/upb-gen/envoy/service/status/v3/csds.upb_minitable.c +188 -0
  389. data/src/core/ext/upb-gen/envoy/service/status/v3/csds.upb_minitable.h +34 -0
  390. data/src/core/ext/upb-gen/envoy/type/http/v3/cookie.upb.h +131 -0
  391. data/src/core/ext/upb-gen/envoy/type/http/v3/cookie.upb_minitable.c +54 -0
  392. data/src/core/ext/upb-gen/envoy/type/http/v3/cookie.upb_minitable.h +30 -0
  393. data/src/core/ext/upb-gen/envoy/type/http/v3/path_transformation.upb.h +312 -0
  394. data/src/core/ext/upb-gen/envoy/type/http/v3/path_transformation.upb_minitable.c +86 -0
  395. data/src/core/ext/upb-gen/envoy/type/http/v3/path_transformation.upb_minitable.h +33 -0
  396. data/src/core/ext/upb-gen/envoy/type/matcher/v3/filter_state.upb.h +124 -0
  397. data/src/core/ext/upb-gen/envoy/type/matcher/v3/filter_state.upb_minitable.c +53 -0
  398. data/src/core/ext/upb-gen/envoy/type/matcher/v3/filter_state.upb_minitable.h +30 -0
  399. data/src/core/ext/upb-gen/envoy/type/matcher/v3/http_inputs.upb.h +299 -0
  400. data/src/core/ext/upb-gen/envoy/type/matcher/v3/http_inputs.upb_minitable.c +105 -0
  401. data/src/core/ext/upb-gen/envoy/type/matcher/v3/http_inputs.upb_minitable.h +34 -0
  402. data/src/core/ext/upb-gen/envoy/type/matcher/v3/metadata.upb.h +260 -0
  403. data/src/core/ext/upb-gen/envoy/type/matcher/v3/metadata.upb_minitable.c +76 -0
  404. data/src/core/ext/upb-gen/envoy/type/matcher/v3/metadata.upb_minitable.h +31 -0
  405. data/src/core/ext/upb-gen/envoy/type/matcher/v3/node.upb.h +166 -0
  406. data/src/core/ext/upb-gen/envoy/type/matcher/v3/node.upb_minitable.c +55 -0
  407. data/src/core/ext/upb-gen/envoy/type/matcher/v3/node.upb_minitable.h +30 -0
  408. data/src/core/ext/upb-gen/envoy/type/matcher/v3/number.upb.h +130 -0
  409. data/src/core/ext/upb-gen/envoy/type/matcher/v3/number.upb_minitable.c +54 -0
  410. data/src/core/ext/upb-gen/envoy/type/matcher/v3/number.upb_minitable.h +30 -0
  411. data/src/core/ext/upb-gen/envoy/type/matcher/v3/path.upb.h +110 -0
  412. data/src/core/ext/upb-gen/envoy/type/matcher/v3/path.upb_minitable.c +51 -0
  413. data/src/core/ext/upb-gen/envoy/type/matcher/v3/path.upb_minitable.h +30 -0
  414. data/src/core/ext/upb-gen/envoy/type/matcher/v3/regex.upb.h +271 -0
  415. data/src/core/ext/upb-gen/envoy/type/matcher/v3/regex.upb_minitable.c +96 -0
  416. data/src/core/ext/upb-gen/envoy/type/matcher/v3/regex.upb_minitable.h +32 -0
  417. data/src/core/ext/upb-gen/envoy/type/matcher/v3/status_code_input.upb.h +109 -0
  418. data/src/core/ext/upb-gen/envoy/type/matcher/v3/status_code_input.upb_minitable.c +43 -0
  419. data/src/core/ext/upb-gen/envoy/type/matcher/v3/status_code_input.upb_minitable.h +31 -0
  420. data/src/core/ext/upb-gen/envoy/type/matcher/v3/string.upb.h +306 -0
  421. data/src/core/ext/upb-gen/envoy/type/matcher/v3/string.upb_minitable.c +81 -0
  422. data/src/core/ext/upb-gen/envoy/type/matcher/v3/string.upb_minitable.h +31 -0
  423. data/src/core/ext/upb-gen/envoy/type/matcher/v3/struct.upb.h +230 -0
  424. data/src/core/ext/upb-gen/envoy/type/matcher/v3/struct.upb_minitable.c +70 -0
  425. data/src/core/ext/upb-gen/envoy/type/matcher/v3/struct.upb_minitable.h +31 -0
  426. data/src/core/ext/upb-gen/envoy/type/matcher/v3/value.upb.h +476 -0
  427. data/src/core/ext/upb-gen/envoy/type/matcher/v3/value.upb_minitable.c +113 -0
  428. data/src/core/ext/upb-gen/envoy/type/matcher/v3/value.upb_minitable.h +33 -0
  429. data/src/core/ext/upb-gen/envoy/type/metadata/v3/metadata.upb.h +525 -0
  430. data/src/core/ext/upb-gen/envoy/type/metadata/v3/metadata.upb_minitable.c +127 -0
  431. data/src/core/ext/upb-gen/envoy/type/metadata/v3/metadata.upb_minitable.h +36 -0
  432. data/src/core/ext/upb-gen/envoy/type/tracing/v3/custom_tag.upb.h +506 -0
  433. data/src/core/ext/upb-gen/envoy/type/tracing/v3/custom_tag.upb_minitable.c +139 -0
  434. data/src/core/ext/upb-gen/envoy/type/tracing/v3/custom_tag.upb_minitable.h +34 -0
  435. data/src/core/ext/upb-gen/envoy/type/v3/hash_policy.upb.h +227 -0
  436. data/src/core/ext/upb-gen/envoy/type/v3/hash_policy.upb_minitable.c +76 -0
  437. data/src/core/ext/upb-gen/envoy/type/v3/hash_policy.upb_minitable.h +32 -0
  438. data/src/core/ext/upb-gen/envoy/type/v3/http.upb.h +38 -0
  439. data/src/core/ext/upb-gen/envoy/type/v3/http.upb_minitable.c +26 -0
  440. data/src/core/ext/upb-gen/envoy/type/v3/http.upb_minitable.h +29 -0
  441. data/src/core/ext/upb-gen/envoy/type/v3/http_status.upb.h +148 -0
  442. data/src/core/ext/upb-gen/envoy/type/v3/http_status.upb_minitable.c +46 -0
  443. data/src/core/ext/upb-gen/envoy/type/v3/http_status.upb_minitable.h +30 -0
  444. data/src/core/ext/upb-gen/envoy/type/v3/percent.upb.h +162 -0
  445. data/src/core/ext/upb-gen/envoy/type/v3/percent.upb_minitable.c +64 -0
  446. data/src/core/ext/upb-gen/envoy/type/v3/percent.upb_minitable.h +31 -0
  447. data/src/core/ext/upb-gen/envoy/type/v3/range.upb.h +238 -0
  448. data/src/core/ext/upb-gen/envoy/type/v3/range.upb_minitable.c +84 -0
  449. data/src/core/ext/upb-gen/envoy/type/v3/range.upb_minitable.h +32 -0
  450. data/src/core/ext/upb-gen/envoy/type/v3/ratelimit_strategy.upb.h +232 -0
  451. data/src/core/ext/upb-gen/envoy/type/v3/ratelimit_strategy.upb_minitable.c +75 -0
  452. data/src/core/ext/upb-gen/envoy/type/v3/ratelimit_strategy.upb_minitable.h +31 -0
  453. data/src/core/ext/upb-gen/envoy/type/v3/ratelimit_unit.upb.h +42 -0
  454. data/src/core/ext/upb-gen/envoy/type/v3/ratelimit_unit.upb_minitable.c +26 -0
  455. data/src/core/ext/upb-gen/envoy/type/v3/ratelimit_unit.upb_minitable.h +29 -0
  456. data/src/core/ext/upb-gen/envoy/type/v3/semantic_version.upb.h +117 -0
  457. data/src/core/ext/upb-gen/envoy/type/v3/semantic_version.upb_minitable.c +49 -0
  458. data/src/core/ext/upb-gen/envoy/type/v3/semantic_version.upb_minitable.h +30 -0
  459. data/src/core/ext/upb-gen/envoy/type/v3/token_bucket.upb.h +146 -0
  460. data/src/core/ext/upb-gen/envoy/type/v3/token_bucket.upb_minitable.c +57 -0
  461. data/src/core/ext/upb-gen/envoy/type/v3/token_bucket.upb_minitable.h +30 -0
  462. data/src/core/ext/upb-gen/google/api/annotations.upb.h +56 -0
  463. data/src/core/ext/upb-gen/google/api/annotations.upb_minitable.c +38 -0
  464. data/src/core/ext/upb-gen/google/api/annotations.upb_minitable.h +30 -0
  465. data/src/core/ext/upb-gen/google/api/expr/v1alpha1/checked.upb.h +1743 -0
  466. data/src/core/ext/upb-gen/google/api/expr/v1alpha1/checked.upb_minitable.c +369 -0
  467. data/src/core/ext/upb-gen/google/api/expr/v1alpha1/checked.upb_minitable.h +42 -0
  468. data/src/core/ext/upb-gen/google/api/expr/v1alpha1/syntax.upb.h +1829 -0
  469. data/src/core/ext/upb-gen/google/api/expr/v1alpha1/syntax.upb_minitable.c +399 -0
  470. data/src/core/ext/upb-gen/google/api/expr/v1alpha1/syntax.upb_minitable.h +43 -0
  471. data/src/core/ext/upb-gen/google/api/http.upb.h +496 -0
  472. data/src/core/ext/upb-gen/google/api/http.upb_minitable.c +111 -0
  473. data/src/core/ext/upb-gen/google/api/http.upb_minitable.h +32 -0
  474. data/src/core/ext/upb-gen/google/api/httpbody.upb.h +165 -0
  475. data/src/core/ext/upb-gen/google/api/httpbody.upb_minitable.c +52 -0
  476. data/src/core/ext/upb-gen/google/api/httpbody.upb_minitable.h +30 -0
  477. data/src/core/ext/upb-gen/google/protobuf/any.upb.h +99 -0
  478. data/src/core/ext/upb-gen/google/protobuf/any.upb_minitable.c +46 -0
  479. data/src/core/ext/upb-gen/google/protobuf/any.upb_minitable.h +30 -0
  480. data/src/core/ext/upb-gen/google/protobuf/descriptor.upb.h +6397 -0
  481. data/src/core/ext/upb-gen/google/protobuf/descriptor.upb_minitable.c +1357 -0
  482. data/src/core/ext/upb-gen/google/protobuf/descriptor.upb_minitable.h +78 -0
  483. data/src/core/ext/upb-gen/google/protobuf/duration.upb.h +99 -0
  484. data/src/core/ext/upb-gen/google/protobuf/duration.upb_minitable.c +46 -0
  485. data/src/core/ext/upb-gen/google/protobuf/duration.upb_minitable.h +30 -0
  486. data/src/core/ext/upb-gen/google/protobuf/empty.upb.h +69 -0
  487. data/src/core/ext/upb-gen/google/protobuf/empty.upb_minitable.c +35 -0
  488. data/src/core/ext/upb-gen/google/protobuf/empty.upb_minitable.h +30 -0
  489. data/src/core/ext/upb-gen/google/protobuf/struct.upb.h +422 -0
  490. data/src/core/ext/upb-gen/google/protobuf/struct.upb_minitable.c +115 -0
  491. data/src/core/ext/upb-gen/google/protobuf/struct.upb_minitable.h +33 -0
  492. data/src/core/ext/upb-gen/google/protobuf/timestamp.upb.h +99 -0
  493. data/src/core/ext/upb-gen/google/protobuf/timestamp.upb_minitable.c +46 -0
  494. data/src/core/ext/upb-gen/google/protobuf/timestamp.upb_minitable.h +30 -0
  495. data/src/core/ext/upb-gen/google/protobuf/wrappers.upb.h +508 -0
  496. data/src/core/ext/upb-gen/google/protobuf/wrappers.upb_minitable.c +163 -0
  497. data/src/core/ext/upb-gen/google/protobuf/wrappers.upb_minitable.h +38 -0
  498. data/src/core/ext/upb-gen/google/rpc/status.upb.h +165 -0
  499. data/src/core/ext/upb-gen/google/rpc/status.upb_minitable.c +52 -0
  500. data/src/core/ext/upb-gen/google/rpc/status.upb_minitable.h +30 -0
  501. data/src/core/ext/upb-gen/opencensus/proto/trace/v1/trace_config.upb.h +385 -0
  502. data/src/core/ext/upb-gen/opencensus/proto/trace/v1/trace_config.upb_minitable.c +106 -0
  503. data/src/core/ext/upb-gen/opencensus/proto/trace/v1/trace_config.upb_minitable.h +33 -0
  504. data/src/core/ext/upb-gen/src/proto/grpc/gcp/altscontext.upb.h +237 -0
  505. data/src/core/ext/upb-gen/src/proto/grpc/gcp/altscontext.upb_minitable.c +79 -0
  506. data/src/core/ext/upb-gen/src/proto/grpc/gcp/altscontext.upb_minitable.h +31 -0
  507. data/src/core/ext/upb-gen/src/proto/grpc/gcp/handshaker.upb.h +1658 -0
  508. data/src/core/ext/upb-gen/src/proto/grpc/gcp/handshaker.upb_minitable.c +342 -0
  509. data/src/core/ext/upb-gen/src/proto/grpc/gcp/handshaker.upb_minitable.h +41 -0
  510. data/src/core/ext/upb-gen/src/proto/grpc/gcp/transport_security_common.upb.h +197 -0
  511. data/src/core/ext/upb-gen/src/proto/grpc/gcp/transport_security_common.upb_minitable.c +69 -0
  512. data/src/core/ext/upb-gen/src/proto/grpc/gcp/transport_security_common.upb_minitable.h +31 -0
  513. data/src/core/ext/upb-gen/src/proto/grpc/health/v1/health.upb.h +144 -0
  514. data/src/core/ext/upb-gen/src/proto/grpc/health/v1/health.upb_minitable.c +58 -0
  515. data/src/core/ext/upb-gen/src/proto/grpc/health/v1/health.upb_minitable.h +31 -0
  516. data/src/core/ext/upb-gen/src/proto/grpc/lb/v1/load_balancer.upb.h +877 -0
  517. data/src/core/ext/upb-gen/src/proto/grpc/lb/v1/load_balancer.upb_minitable.c +221 -0
  518. data/src/core/ext/upb-gen/src/proto/grpc/lb/v1/load_balancer.upb_minitable.h +38 -0
  519. data/src/core/ext/upb-gen/src/proto/grpc/lookup/v1/rls.upb.h +297 -0
  520. data/src/core/ext/upb-gen/src/proto/grpc/lookup/v1/rls.upb_minitable.c +92 -0
  521. data/src/core/ext/upb-gen/src/proto/grpc/lookup/v1/rls.upb_minitable.h +32 -0
  522. data/src/core/ext/upb-gen/src/proto/grpc/lookup/v1/rls_config.upb.h +1333 -0
  523. data/src/core/ext/upb-gen/src/proto/grpc/lookup/v1/rls_config.upb_minitable.c +243 -0
  524. data/src/core/ext/upb-gen/src/proto/grpc/lookup/v1/rls_config.upb_minitable.h +38 -0
  525. data/src/core/ext/upb-gen/udpa/annotations/migrate.upb.h +322 -0
  526. data/src/core/ext/upb-gen/udpa/annotations/migrate.upb_minitable.c +118 -0
  527. data/src/core/ext/upb-gen/udpa/annotations/migrate.upb_minitable.h +37 -0
  528. data/src/core/ext/upb-gen/udpa/annotations/security.upb.h +125 -0
  529. data/src/core/ext/upb-gen/udpa/annotations/security.upb_minitable.c +59 -0
  530. data/src/core/ext/upb-gen/udpa/annotations/security.upb_minitable.h +31 -0
  531. data/src/core/ext/upb-gen/udpa/annotations/sensitive.upb.h +55 -0
  532. data/src/core/ext/upb-gen/udpa/annotations/sensitive.upb_minitable.c +37 -0
  533. data/src/core/ext/upb-gen/udpa/annotations/sensitive.upb_minitable.h +30 -0
  534. data/src/core/ext/upb-gen/udpa/annotations/status.upb.h +131 -0
  535. data/src/core/ext/upb-gen/udpa/annotations/status.upb_minitable.c +58 -0
  536. data/src/core/ext/upb-gen/udpa/annotations/status.upb_minitable.h +31 -0
  537. data/src/core/ext/upb-gen/udpa/annotations/versioning.upb.h +109 -0
  538. data/src/core/ext/upb-gen/udpa/annotations/versioning.upb_minitable.c +55 -0
  539. data/src/core/ext/upb-gen/udpa/annotations/versioning.upb_minitable.h +31 -0
  540. data/src/core/ext/upb-gen/validate/validate.upb.h +6507 -0
  541. data/src/core/ext/upb-gen/validate/validate.upb_minitable.c +943 -0
  542. data/src/core/ext/upb-gen/validate/validate.upb_minitable.h +57 -0
  543. data/src/core/ext/upb-gen/xds/annotations/v3/migrate.upb.h +322 -0
  544. data/src/core/ext/upb-gen/xds/annotations/v3/migrate.upb_minitable.c +118 -0
  545. data/src/core/ext/upb-gen/xds/annotations/v3/migrate.upb_minitable.h +37 -0
  546. data/src/core/ext/upb-gen/xds/annotations/v3/security.upb.h +125 -0
  547. data/src/core/ext/upb-gen/xds/annotations/v3/security.upb_minitable.c +59 -0
  548. data/src/core/ext/upb-gen/xds/annotations/v3/security.upb_minitable.h +31 -0
  549. data/src/core/ext/upb-gen/xds/annotations/v3/sensitive.upb.h +55 -0
  550. data/src/core/ext/upb-gen/xds/annotations/v3/sensitive.upb_minitable.c +37 -0
  551. data/src/core/ext/upb-gen/xds/annotations/v3/sensitive.upb_minitable.h +30 -0
  552. data/src/core/ext/upb-gen/xds/annotations/v3/status.upb.h +336 -0
  553. data/src/core/ext/upb-gen/xds/annotations/v3/status.upb_minitable.c +117 -0
  554. data/src/core/ext/upb-gen/xds/annotations/v3/status.upb_minitable.h +36 -0
  555. data/src/core/ext/upb-gen/xds/annotations/v3/versioning.upb.h +109 -0
  556. data/src/core/ext/upb-gen/xds/annotations/v3/versioning.upb_minitable.c +55 -0
  557. data/src/core/ext/upb-gen/xds/annotations/v3/versioning.upb_minitable.h +31 -0
  558. data/src/core/ext/upb-gen/xds/core/v3/authority.upb.h +87 -0
  559. data/src/core/ext/upb-gen/xds/core/v3/authority.upb_minitable.c +45 -0
  560. data/src/core/ext/upb-gen/xds/core/v3/authority.upb_minitable.h +30 -0
  561. data/src/core/ext/upb-gen/xds/core/v3/cidr.upb.h +116 -0
  562. data/src/core/ext/upb-gen/xds/core/v3/cidr.upb_minitable.c +53 -0
  563. data/src/core/ext/upb-gen/xds/core/v3/cidr.upb_minitable.h +30 -0
  564. data/src/core/ext/upb-gen/xds/core/v3/collection_entry.upb.h +234 -0
  565. data/src/core/ext/upb-gen/xds/core/v3/collection_entry.upb_minitable.c +78 -0
  566. data/src/core/ext/upb-gen/xds/core/v3/collection_entry.upb_minitable.h +31 -0
  567. data/src/core/ext/upb-gen/xds/core/v3/context_params.upb.h +134 -0
  568. data/src/core/ext/upb-gen/xds/core/v3/context_params.upb_minitable.c +62 -0
  569. data/src/core/ext/upb-gen/xds/core/v3/context_params.upb_minitable.h +31 -0
  570. data/src/core/ext/upb-gen/xds/core/v3/extension.upb.h +115 -0
  571. data/src/core/ext/upb-gen/xds/core/v3/extension.upb_minitable.c +52 -0
  572. data/src/core/ext/upb-gen/xds/core/v3/extension.upb_minitable.h +30 -0
  573. data/src/core/ext/upb-gen/xds/core/v3/resource.upb.h +144 -0
  574. data/src/core/ext/upb-gen/xds/core/v3/resource.upb_minitable.c +55 -0
  575. data/src/core/ext/upb-gen/xds/core/v3/resource.upb_minitable.h +30 -0
  576. data/src/core/ext/upb-gen/xds/core/v3/resource_locator.upb.h +331 -0
  577. data/src/core/ext/upb-gen/xds/core/v3/resource_locator.upb_minitable.c +84 -0
  578. data/src/core/ext/upb-gen/xds/core/v3/resource_locator.upb_minitable.h +31 -0
  579. data/src/core/ext/upb-gen/xds/core/v3/resource_name.upb.h +146 -0
  580. data/src/core/ext/upb-gen/xds/core/v3/resource_name.upb_minitable.c +59 -0
  581. data/src/core/ext/upb-gen/xds/core/v3/resource_name.upb_minitable.h +30 -0
  582. data/src/core/ext/upb-gen/xds/data/orca/v3/orca_load_report.upb.h +350 -0
  583. data/src/core/ext/upb-gen/xds/data/orca/v3/orca_load_report.upb_minitable.c +126 -0
  584. data/src/core/ext/upb-gen/xds/data/orca/v3/orca_load_report.upb_minitable.h +33 -0
  585. data/src/core/ext/upb-gen/xds/service/orca/v3/orca.upb.h +161 -0
  586. data/src/core/ext/upb-gen/xds/service/orca/v3/orca.upb_minitable.c +52 -0
  587. data/src/core/ext/upb-gen/xds/service/orca/v3/orca.upb_minitable.h +30 -0
  588. data/src/core/ext/upb-gen/xds/type/matcher/v3/cel.upb.h +116 -0
  589. data/src/core/ext/upb-gen/xds/type/matcher/v3/cel.upb_minitable.c +53 -0
  590. data/src/core/ext/upb-gen/xds/type/matcher/v3/cel.upb_minitable.h +30 -0
  591. data/src/core/ext/upb-gen/xds/type/matcher/v3/domain.upb.h +263 -0
  592. data/src/core/ext/upb-gen/xds/type/matcher/v3/domain.upb_minitable.c +72 -0
  593. data/src/core/ext/upb-gen/xds/type/matcher/v3/domain.upb_minitable.h +31 -0
  594. data/src/core/ext/upb-gen/xds/type/matcher/v3/http_inputs.upb.h +71 -0
  595. data/src/core/ext/upb-gen/xds/type/matcher/v3/http_inputs.upb_minitable.c +36 -0
  596. data/src/core/ext/upb-gen/xds/type/matcher/v3/http_inputs.upb_minitable.h +30 -0
  597. data/src/core/ext/upb-gen/xds/type/matcher/v3/ip.upb.h +282 -0
  598. data/src/core/ext/upb-gen/xds/type/matcher/v3/ip.upb_minitable.c +75 -0
  599. data/src/core/ext/upb-gen/xds/type/matcher/v3/ip.upb_minitable.h +31 -0
  600. data/src/core/ext/upb-gen/xds/type/matcher/v3/matcher.upb.h +1107 -0
  601. data/src/core/ext/upb-gen/xds/type/matcher/v3/matcher.upb_minitable.c +265 -0
  602. data/src/core/ext/upb-gen/xds/type/matcher/v3/matcher.upb_minitable.h +39 -0
  603. data/src/core/ext/upb-gen/xds/type/matcher/v3/range.upb.h +726 -0
  604. data/src/core/ext/upb-gen/xds/type/matcher/v3/range.upb_minitable.c +157 -0
  605. data/src/core/ext/upb-gen/xds/type/matcher/v3/range.upb_minitable.h +35 -0
  606. data/src/core/ext/upb-gen/xds/type/matcher/v3/regex.upb.h +159 -0
  607. data/src/core/ext/upb-gen/xds/type/matcher/v3/regex.upb_minitable.c +58 -0
  608. data/src/core/ext/upb-gen/xds/type/matcher/v3/regex.upb_minitable.h +31 -0
  609. data/src/core/ext/upb-gen/xds/type/matcher/v3/string.upb.h +304 -0
  610. data/src/core/ext/upb-gen/xds/type/matcher/v3/string.upb_minitable.c +79 -0
  611. data/src/core/ext/upb-gen/xds/type/matcher/v3/string.upb_minitable.h +31 -0
  612. data/src/core/ext/upb-gen/xds/type/v3/cel.upb.h +233 -0
  613. data/src/core/ext/upb-gen/xds/type/v3/cel.upb_minitable.c +79 -0
  614. data/src/core/ext/upb-gen/xds/type/v3/cel.upb_minitable.h +31 -0
  615. data/src/core/ext/upb-gen/xds/type/v3/range.upb.h +235 -0
  616. data/src/core/ext/upb-gen/xds/type/v3/range.upb_minitable.c +82 -0
  617. data/src/core/ext/upb-gen/xds/type/v3/range.upb_minitable.h +32 -0
  618. data/src/core/ext/upb-gen/xds/type/v3/typed_struct.upb.h +114 -0
  619. data/src/core/ext/upb-gen/xds/type/v3/typed_struct.upb_minitable.c +51 -0
  620. data/src/core/ext/upb-gen/xds/type/v3/typed_struct.upb_minitable.h +30 -0
  621. data/src/core/ext/upbdefs-gen/envoy/admin/v3/certs.upbdefs.c +83 -0
  622. data/src/core/ext/upbdefs-gen/envoy/admin/v3/certs.upbdefs.h +55 -0
  623. data/src/core/ext/upbdefs-gen/envoy/admin/v3/clusters.upbdefs.c +127 -0
  624. data/src/core/ext/upbdefs-gen/envoy/admin/v3/clusters.upbdefs.h +50 -0
  625. data/src/core/ext/upbdefs-gen/envoy/admin/v3/config_dump.upbdefs.c +101 -0
  626. data/src/core/ext/upbdefs-gen/envoy/admin/v3/config_dump.upbdefs.h +55 -0
  627. data/src/core/ext/upbdefs-gen/envoy/admin/v3/config_dump_shared.upbdefs.c +276 -0
  628. data/src/core/ext/upbdefs-gen/envoy/admin/v3/config_dump_shared.upbdefs.h +125 -0
  629. data/src/core/ext/upbdefs-gen/envoy/admin/v3/init_dump.upbdefs.c +42 -0
  630. data/src/core/ext/upbdefs-gen/envoy/admin/v3/init_dump.upbdefs.h +40 -0
  631. data/src/core/ext/upbdefs-gen/envoy/admin/v3/listeners.upbdefs.c +55 -0
  632. data/src/core/ext/upbdefs-gen/envoy/admin/v3/listeners.upbdefs.h +40 -0
  633. data/src/core/ext/upbdefs-gen/envoy/admin/v3/memory.upbdefs.c +48 -0
  634. data/src/core/ext/upbdefs-gen/envoy/admin/v3/memory.upbdefs.h +35 -0
  635. data/src/core/ext/upbdefs-gen/envoy/admin/v3/metrics.upbdefs.c +45 -0
  636. data/src/core/ext/upbdefs-gen/envoy/admin/v3/metrics.upbdefs.h +35 -0
  637. data/src/core/ext/upbdefs-gen/envoy/admin/v3/mutex_stats.upbdefs.c +45 -0
  638. data/src/core/ext/upbdefs-gen/envoy/admin/v3/mutex_stats.upbdefs.h +35 -0
  639. data/src/core/ext/upbdefs-gen/envoy/admin/v3/server_info.upbdefs.c +141 -0
  640. data/src/core/ext/upbdefs-gen/envoy/admin/v3/server_info.upbdefs.h +40 -0
  641. data/src/core/ext/upbdefs-gen/envoy/admin/v3/tap.upbdefs.c +50 -0
  642. data/src/core/ext/upbdefs-gen/envoy/admin/v3/tap.upbdefs.h +35 -0
  643. data/src/core/ext/upbdefs-gen/envoy/annotations/deprecation.upbdefs.c +47 -0
  644. data/src/core/ext/upbdefs-gen/envoy/annotations/deprecation.upbdefs.h +30 -0
  645. data/src/core/ext/upbdefs-gen/envoy/annotations/resource.upbdefs.c +37 -0
  646. data/src/core/ext/upbdefs-gen/envoy/annotations/resource.upbdefs.h +35 -0
  647. data/src/core/ext/upbdefs-gen/envoy/config/accesslog/v3/accesslog.upbdefs.c +233 -0
  648. data/src/core/ext/upbdefs-gen/envoy/config/accesslog/v3/accesslog.upbdefs.h +110 -0
  649. data/src/core/ext/upbdefs-gen/envoy/config/bootstrap/v3/bootstrap.upbdefs.c +444 -0
  650. data/src/core/ext/upbdefs-gen/envoy/config/bootstrap/v3/bootstrap.upbdefs.h +140 -0
  651. data/src/core/ext/upbdefs-gen/envoy/config/cluster/v3/circuit_breaker.upbdefs.c +97 -0
  652. data/src/core/ext/upbdefs-gen/envoy/config/cluster/v3/circuit_breaker.upbdefs.h +45 -0
  653. data/src/core/ext/upbdefs-gen/envoy/config/cluster/v3/cluster.upbdefs.c +574 -0
  654. data/src/core/ext/upbdefs-gen/envoy/config/cluster/v3/cluster.upbdefs.h +150 -0
  655. data/src/core/ext/upbdefs-gen/envoy/config/cluster/v3/filter.upbdefs.c +57 -0
  656. data/src/core/ext/upbdefs-gen/envoy/config/cluster/v3/filter.upbdefs.h +35 -0
  657. data/src/core/ext/upbdefs-gen/envoy/config/cluster/v3/outlier_detection.upbdefs.c +142 -0
  658. data/src/core/ext/upbdefs-gen/envoy/config/cluster/v3/outlier_detection.upbdefs.h +35 -0
  659. data/src/core/ext/upbdefs-gen/envoy/config/common/matcher/v3/matcher.upbdefs.c +201 -0
  660. data/src/core/ext/upbdefs-gen/envoy/config/common/matcher/v3/matcher.upbdefs.h +105 -0
  661. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/address.upbdefs.c +139 -0
  662. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/address.upbdefs.h +70 -0
  663. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/backoff.upbdefs.c +53 -0
  664. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/backoff.upbdefs.h +35 -0
  665. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/base.upbdefs.c +274 -0
  666. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/base.upbdefs.h +150 -0
  667. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/config_source.upbdefs.c +167 -0
  668. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/config_source.upbdefs.h +65 -0
  669. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/event_service_config.upbdefs.c +52 -0
  670. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/event_service_config.upbdefs.h +35 -0
  671. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/extension.upbdefs.c +46 -0
  672. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/extension.upbdefs.h +35 -0
  673. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/grpc_method_list.upbdefs.c +52 -0
  674. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/grpc_method_list.upbdefs.h +40 -0
  675. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/grpc_service.upbdefs.c +236 -0
  676. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/grpc_service.upbdefs.h +100 -0
  677. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/health_check.upbdefs.c +244 -0
  678. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/health_check.upbdefs.h +75 -0
  679. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/http_service.upbdefs.c +52 -0
  680. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/http_service.upbdefs.h +35 -0
  681. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/http_uri.upbdefs.c +53 -0
  682. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/http_uri.upbdefs.h +35 -0
  683. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/protocol.upbdefs.c +314 -0
  684. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/protocol.upbdefs.h +110 -0
  685. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/proxy_protocol.upbdefs.c +56 -0
  686. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/proxy_protocol.upbdefs.h +40 -0
  687. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/resolver.upbdefs.c +54 -0
  688. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/resolver.upbdefs.h +40 -0
  689. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/socket_option.upbdefs.c +60 -0
  690. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/socket_option.upbdefs.h +40 -0
  691. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/substitution_format_string.upbdefs.c +75 -0
  692. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/substitution_format_string.upbdefs.h +40 -0
  693. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/udp_socket_config.upbdefs.c +48 -0
  694. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/udp_socket_config.upbdefs.h +35 -0
  695. data/src/core/ext/upbdefs-gen/envoy/config/endpoint/v3/endpoint.upbdefs.c +101 -0
  696. data/src/core/ext/upbdefs-gen/envoy/config/endpoint/v3/endpoint.upbdefs.h +50 -0
  697. data/src/core/ext/upbdefs-gen/envoy/config/endpoint/v3/endpoint_components.upbdefs.c +139 -0
  698. data/src/core/ext/upbdefs-gen/envoy/config/endpoint/v3/endpoint_components.upbdefs.h +65 -0
  699. data/src/core/ext/upbdefs-gen/envoy/config/endpoint/v3/load_report.upbdefs.c +135 -0
  700. data/src/core/ext/upbdefs-gen/envoy/config/endpoint/v3/load_report.upbdefs.h +55 -0
  701. data/src/core/ext/upbdefs-gen/envoy/config/listener/v3/api_listener.upbdefs.c +47 -0
  702. data/src/core/ext/upbdefs-gen/envoy/config/listener/v3/api_listener.upbdefs.h +35 -0
  703. data/src/core/ext/upbdefs-gen/envoy/config/listener/v3/listener.upbdefs.c +231 -0
  704. data/src/core/ext/upbdefs-gen/envoy/config/listener/v3/listener.upbdefs.h +80 -0
  705. data/src/core/ext/upbdefs-gen/envoy/config/listener/v3/listener_components.upbdefs.c +189 -0
  706. data/src/core/ext/upbdefs-gen/envoy/config/listener/v3/listener_components.upbdefs.h +65 -0
  707. data/src/core/ext/upbdefs-gen/envoy/config/listener/v3/quic_config.upbdefs.c +100 -0
  708. data/src/core/ext/upbdefs-gen/envoy/config/listener/v3/quic_config.upbdefs.h +35 -0
  709. data/src/core/ext/upbdefs-gen/envoy/config/listener/v3/udp_listener_config.upbdefs.c +70 -0
  710. data/src/core/ext/upbdefs-gen/envoy/config/listener/v3/udp_listener_config.upbdefs.h +40 -0
  711. data/src/core/ext/upbdefs-gen/envoy/config/metrics/v3/metrics_service.upbdefs.c +75 -0
  712. data/src/core/ext/upbdefs-gen/envoy/config/metrics/v3/metrics_service.upbdefs.h +35 -0
  713. data/src/core/ext/upbdefs-gen/envoy/config/metrics/v3/stats.upbdefs.c +124 -0
  714. data/src/core/ext/upbdefs-gen/envoy/config/metrics/v3/stats.upbdefs.h +70 -0
  715. data/src/core/ext/upbdefs-gen/envoy/config/overload/v3/overload.upbdefs.c +141 -0
  716. data/src/core/ext/upbdefs-gen/envoy/config/overload/v3/overload.upbdefs.h +80 -0
  717. data/src/core/ext/upbdefs-gen/envoy/config/rbac/v3/rbac.upbdefs.c +222 -0
  718. data/src/core/ext/upbdefs-gen/envoy/config/rbac/v3/rbac.upbdefs.h +85 -0
  719. data/src/core/ext/upbdefs-gen/envoy/config/route/v3/route.upbdefs.c +125 -0
  720. data/src/core/ext/upbdefs-gen/envoy/config/route/v3/route.upbdefs.h +45 -0
  721. data/src/core/ext/upbdefs-gen/envoy/config/route/v3/route_components.upbdefs.c +984 -0
  722. data/src/core/ext/upbdefs-gen/envoy/config/route/v3/route_components.upbdefs.h +320 -0
  723. data/src/core/ext/upbdefs-gen/envoy/config/route/v3/scoped_route.upbdefs.c +76 -0
  724. data/src/core/ext/upbdefs-gen/envoy/config/route/v3/scoped_route.upbdefs.h +45 -0
  725. data/src/core/ext/upbdefs-gen/envoy/config/tap/v3/common.upbdefs.c +205 -0
  726. data/src/core/ext/upbdefs-gen/envoy/config/tap/v3/common.upbdefs.h +90 -0
  727. data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/datadog.upbdefs.c +55 -0
  728. data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/datadog.upbdefs.h +35 -0
  729. data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/dynamic_ot.upbdefs.c +60 -0
  730. data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/dynamic_ot.upbdefs.h +35 -0
  731. data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/http_tracer.upbdefs.c +56 -0
  732. data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/http_tracer.upbdefs.h +40 -0
  733. data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/lightstep.upbdefs.c +71 -0
  734. data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/lightstep.upbdefs.h +35 -0
  735. data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/opencensus.upbdefs.c +104 -0
  736. data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/opencensus.upbdefs.h +35 -0
  737. data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/opentelemetry.upbdefs.c +66 -0
  738. data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/opentelemetry.upbdefs.h +35 -0
  739. data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/service.upbdefs.c +51 -0
  740. data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/service.upbdefs.h +35 -0
  741. data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/skywalking.upbdefs.c +70 -0
  742. data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/skywalking.upbdefs.h +40 -0
  743. data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/trace.upbdefs.c +60 -0
  744. data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/trace.upbdefs.h +30 -0
  745. data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/xray.upbdefs.c +74 -0
  746. data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/xray.upbdefs.h +40 -0
  747. data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/zipkin.upbdefs.c +78 -0
  748. data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/zipkin.upbdefs.h +35 -0
  749. data/src/core/ext/upbdefs-gen/envoy/data/accesslog/v3/accesslog.upbdefs.c +404 -0
  750. data/src/core/ext/upbdefs-gen/envoy/data/accesslog/v3/accesslog.upbdefs.h +110 -0
  751. data/src/core/ext/upbdefs-gen/envoy/extensions/clusters/aggregate/v3/cluster.upbdefs.c +49 -0
  752. data/src/core/ext/upbdefs-gen/envoy/extensions/clusters/aggregate/v3/cluster.upbdefs.h +35 -0
  753. data/src/core/ext/upbdefs-gen/envoy/extensions/filters/common/fault/v3/fault.upbdefs.c +91 -0
  754. data/src/core/ext/upbdefs-gen/envoy/extensions/filters/common/fault/v3/fault.upbdefs.h +55 -0
  755. data/src/core/ext/upbdefs-gen/envoy/extensions/filters/http/fault/v3/fault.upbdefs.c +122 -0
  756. data/src/core/ext/upbdefs-gen/envoy/extensions/filters/http/fault/v3/fault.upbdefs.h +45 -0
  757. data/src/core/ext/upbdefs-gen/envoy/extensions/filters/http/rbac/v3/rbac.upbdefs.c +79 -0
  758. data/src/core/ext/upbdefs-gen/envoy/extensions/filters/http/rbac/v3/rbac.upbdefs.h +40 -0
  759. data/src/core/ext/upbdefs-gen/envoy/extensions/filters/http/router/v3/router.upbdefs.c +108 -0
  760. data/src/core/ext/upbdefs-gen/envoy/extensions/filters/http/router/v3/router.upbdefs.h +40 -0
  761. data/src/core/ext/upbdefs-gen/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upbdefs.c +60 -0
  762. data/src/core/ext/upbdefs-gen/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upbdefs.h +40 -0
  763. data/src/core/ext/upbdefs-gen/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upbdefs.c +605 -0
  764. data/src/core/ext/upbdefs-gen/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upbdefs.h +135 -0
  765. data/src/core/ext/upbdefs-gen/envoy/extensions/http/stateful_session/cookie/v3/cookie.upbdefs.c +49 -0
  766. data/src/core/ext/upbdefs-gen/envoy/extensions/http/stateful_session/cookie/v3/cookie.upbdefs.h +35 -0
  767. data/src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/cert.upbdefs.c +47 -0
  768. data/src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/cert.upbdefs.h +30 -0
  769. data/src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/common.upbdefs.c +216 -0
  770. data/src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/common.upbdefs.h +65 -0
  771. data/src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/secret.upbdefs.c +90 -0
  772. data/src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/secret.upbdefs.h +45 -0
  773. data/src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/tls.upbdefs.c +263 -0
  774. data/src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/tls.upbdefs.h +65 -0
  775. data/src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upbdefs.c +57 -0
  776. data/src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upbdefs.h +40 -0
  777. data/src/core/ext/upbdefs-gen/envoy/extensions/upstreams/http/v3/http_protocol_options.upbdefs.c +133 -0
  778. data/src/core/ext/upbdefs-gen/envoy/extensions/upstreams/http/v3/http_protocol_options.upbdefs.h +50 -0
  779. data/src/core/ext/upbdefs-gen/envoy/service/discovery/v3/ads.upbdefs.c +57 -0
  780. data/src/core/ext/upbdefs-gen/envoy/service/discovery/v3/ads.upbdefs.h +35 -0
  781. data/src/core/ext/upbdefs-gen/envoy/service/discovery/v3/discovery.upbdefs.c +199 -0
  782. data/src/core/ext/upbdefs-gen/envoy/service/discovery/v3/discovery.upbdefs.h +100 -0
  783. data/src/core/ext/upbdefs-gen/envoy/service/load_stats/v3/lrs.upbdefs.c +75 -0
  784. data/src/core/ext/upbdefs-gen/envoy/service/load_stats/v3/lrs.upbdefs.h +40 -0
  785. data/src/core/ext/upbdefs-gen/envoy/service/status/v3/csds.upbdefs.c +155 -0
  786. data/src/core/ext/upbdefs-gen/envoy/service/status/v3/csds.upbdefs.h +55 -0
  787. data/src/core/ext/upbdefs-gen/envoy/type/http/v3/cookie.upbdefs.c +45 -0
  788. data/src/core/ext/upbdefs-gen/envoy/type/http/v3/cookie.upbdefs.h +35 -0
  789. data/src/core/ext/upbdefs-gen/envoy/type/http/v3/path_transformation.upbdefs.c +55 -0
  790. data/src/core/ext/upbdefs-gen/envoy/type/http/v3/path_transformation.upbdefs.h +50 -0
  791. data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/filter_state.upbdefs.c +47 -0
  792. data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/filter_state.upbdefs.h +35 -0
  793. data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/http_inputs.upbdefs.c +54 -0
  794. data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/http_inputs.upbdefs.h +55 -0
  795. data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/metadata.upbdefs.c +60 -0
  796. data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/metadata.upbdefs.h +40 -0
  797. data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/node.upbdefs.c +53 -0
  798. data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/node.upbdefs.h +35 -0
  799. data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/number.upbdefs.c +51 -0
  800. data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/number.upbdefs.h +35 -0
  801. data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/path.upbdefs.c +50 -0
  802. data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/path.upbdefs.h +35 -0
  803. data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/regex.upbdefs.c +70 -0
  804. data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/regex.upbdefs.h +45 -0
  805. data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/status_code_input.upbdefs.c +39 -0
  806. data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/status_code_input.upbdefs.h +40 -0
  807. data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/string.upbdefs.c +64 -0
  808. data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/string.upbdefs.h +40 -0
  809. data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/struct.upbdefs.c +57 -0
  810. data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/struct.upbdefs.h +40 -0
  811. data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/value.upbdefs.c +81 -0
  812. data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/value.upbdefs.h +50 -0
  813. data/src/core/ext/upbdefs-gen/envoy/type/metadata/v3/metadata.upbdefs.c +77 -0
  814. data/src/core/ext/upbdefs-gen/envoy/type/metadata/v3/metadata.upbdefs.h +65 -0
  815. data/src/core/ext/upbdefs-gen/envoy/type/tracing/v3/custom_tag.upbdefs.c +84 -0
  816. data/src/core/ext/upbdefs-gen/envoy/type/tracing/v3/custom_tag.upbdefs.h +55 -0
  817. data/src/core/ext/upbdefs-gen/envoy/type/v3/hash_policy.upbdefs.c +52 -0
  818. data/src/core/ext/upbdefs-gen/envoy/type/v3/hash_policy.upbdefs.h +45 -0
  819. data/src/core/ext/upbdefs-gen/envoy/type/v3/http.upbdefs.c +35 -0
  820. data/src/core/ext/upbdefs-gen/envoy/type/v3/http.upbdefs.h +30 -0
  821. data/src/core/ext/upbdefs-gen/envoy/type/v3/http_status.upbdefs.c +93 -0
  822. data/src/core/ext/upbdefs-gen/envoy/type/v3/http_status.upbdefs.h +35 -0
  823. data/src/core/ext/upbdefs-gen/envoy/type/v3/percent.upbdefs.c +53 -0
  824. data/src/core/ext/upbdefs-gen/envoy/type/v3/percent.upbdefs.h +40 -0
  825. data/src/core/ext/upbdefs-gen/envoy/type/v3/range.upbdefs.c +47 -0
  826. data/src/core/ext/upbdefs-gen/envoy/type/v3/range.upbdefs.h +45 -0
  827. data/src/core/ext/upbdefs-gen/envoy/type/v3/ratelimit_strategy.upbdefs.c +68 -0
  828. data/src/core/ext/upbdefs-gen/envoy/type/v3/ratelimit_strategy.upbdefs.h +40 -0
  829. data/src/core/ext/upbdefs-gen/envoy/type/v3/ratelimit_unit.upbdefs.c +38 -0
  830. data/src/core/ext/upbdefs-gen/envoy/type/v3/ratelimit_unit.upbdefs.h +30 -0
  831. data/src/core/ext/upbdefs-gen/envoy/type/v3/semantic_version.upbdefs.c +43 -0
  832. data/src/core/ext/upbdefs-gen/envoy/type/v3/semantic_version.upbdefs.h +35 -0
  833. data/src/core/ext/upbdefs-gen/envoy/type/v3/token_bucket.upbdefs.c +56 -0
  834. data/src/core/ext/upbdefs-gen/envoy/type/v3/token_bucket.upbdefs.h +35 -0
  835. data/src/core/ext/upbdefs-gen/google/api/annotations.upbdefs.c +39 -0
  836. data/src/core/ext/upbdefs-gen/google/api/annotations.upbdefs.h +30 -0
  837. data/src/core/ext/upbdefs-gen/google/api/expr/v1alpha1/checked.upbdefs.c +153 -0
  838. data/src/core/ext/upbdefs-gen/google/api/expr/v1alpha1/checked.upbdefs.h +95 -0
  839. data/src/core/ext/upbdefs-gen/google/api/expr/v1alpha1/syntax.upbdefs.c +152 -0
  840. data/src/core/ext/upbdefs-gen/google/api/expr/v1alpha1/syntax.upbdefs.h +100 -0
  841. data/src/core/ext/upbdefs-gen/google/api/http.upbdefs.c +51 -0
  842. data/src/core/ext/upbdefs-gen/google/api/http.upbdefs.h +45 -0
  843. data/src/core/ext/upbdefs-gen/google/api/httpbody.upbdefs.c +38 -0
  844. data/src/core/ext/upbdefs-gen/google/api/httpbody.upbdefs.h +35 -0
  845. data/src/core/ext/upbdefs-gen/google/protobuf/any.upbdefs.c +33 -0
  846. data/src/core/ext/upbdefs-gen/google/protobuf/any.upbdefs.h +35 -0
  847. data/src/core/ext/upbdefs-gen/google/protobuf/descriptor.upbdefs.c +488 -0
  848. data/src/core/ext/upbdefs-gen/google/protobuf/descriptor.upbdefs.h +190 -0
  849. data/src/core/ext/upbdefs-gen/google/protobuf/duration.upbdefs.c +34 -0
  850. data/src/core/ext/upbdefs-gen/google/protobuf/duration.upbdefs.h +35 -0
  851. data/src/core/ext/upbdefs-gen/google/protobuf/empty.upbdefs.c +31 -0
  852. data/src/core/ext/upbdefs-gen/google/protobuf/empty.upbdefs.h +35 -0
  853. data/src/core/ext/upbdefs-gen/google/protobuf/struct.upbdefs.c +53 -0
  854. data/src/core/ext/upbdefs-gen/google/protobuf/struct.upbdefs.h +50 -0
  855. data/src/core/ext/upbdefs-gen/google/protobuf/timestamp.upbdefs.c +34 -0
  856. data/src/core/ext/upbdefs-gen/google/protobuf/timestamp.upbdefs.h +35 -0
  857. data/src/core/ext/upbdefs-gen/google/protobuf/wrappers.upbdefs.c +44 -0
  858. data/src/core/ext/upbdefs-gen/google/protobuf/wrappers.upbdefs.h +75 -0
  859. data/src/core/ext/upbdefs-gen/google/rpc/status.upbdefs.c +36 -0
  860. data/src/core/ext/upbdefs-gen/google/rpc/status.upbdefs.h +35 -0
  861. data/src/core/ext/upbdefs-gen/opencensus/proto/trace/v1/trace_config.upbdefs.c +66 -0
  862. data/src/core/ext/upbdefs-gen/opencensus/proto/trace/v1/trace_config.upbdefs.h +50 -0
  863. data/src/core/ext/upbdefs-gen/src/proto/grpc/lookup/v1/rls_config.upbdefs.c +98 -0
  864. data/src/core/ext/upbdefs-gen/src/proto/grpc/lookup/v1/rls_config.upbdefs.h +75 -0
  865. data/src/core/ext/upbdefs-gen/udpa/annotations/migrate.upbdefs.c +61 -0
  866. data/src/core/ext/upbdefs-gen/udpa/annotations/migrate.upbdefs.h +45 -0
  867. data/src/core/ext/upbdefs-gen/udpa/annotations/security.upbdefs.c +46 -0
  868. data/src/core/ext/upbdefs-gen/udpa/annotations/security.upbdefs.h +35 -0
  869. data/src/core/ext/upbdefs-gen/udpa/annotations/sensitive.upbdefs.c +33 -0
  870. data/src/core/ext/upbdefs-gen/udpa/annotations/sensitive.upbdefs.h +30 -0
  871. data/src/core/ext/upbdefs-gen/udpa/annotations/status.upbdefs.c +45 -0
  872. data/src/core/ext/upbdefs-gen/udpa/annotations/status.upbdefs.h +35 -0
  873. data/src/core/ext/upbdefs-gen/udpa/annotations/versioning.upbdefs.c +38 -0
  874. data/src/core/ext/upbdefs-gen/udpa/annotations/versioning.upbdefs.h +35 -0
  875. data/src/core/ext/upbdefs-gen/validate/validate.upbdefs.c +282 -0
  876. data/src/core/ext/upbdefs-gen/validate/validate.upbdefs.h +145 -0
  877. data/src/core/ext/upbdefs-gen/xds/annotations/v3/migrate.upbdefs.c +62 -0
  878. data/src/core/ext/upbdefs-gen/xds/annotations/v3/migrate.upbdefs.h +45 -0
  879. data/src/core/ext/upbdefs-gen/xds/annotations/v3/security.upbdefs.c +46 -0
  880. data/src/core/ext/upbdefs-gen/xds/annotations/v3/security.upbdefs.h +35 -0
  881. data/src/core/ext/upbdefs-gen/xds/annotations/v3/sensitive.upbdefs.c +34 -0
  882. data/src/core/ext/upbdefs-gen/xds/annotations/v3/sensitive.upbdefs.h +30 -0
  883. data/src/core/ext/upbdefs-gen/xds/annotations/v3/status.upbdefs.c +63 -0
  884. data/src/core/ext/upbdefs-gen/xds/annotations/v3/status.upbdefs.h +50 -0
  885. data/src/core/ext/upbdefs-gen/xds/annotations/v3/versioning.upbdefs.c +39 -0
  886. data/src/core/ext/upbdefs-gen/xds/annotations/v3/versioning.upbdefs.h +35 -0
  887. data/src/core/ext/upbdefs-gen/xds/core/v3/authority.upbdefs.c +37 -0
  888. data/src/core/ext/upbdefs-gen/xds/core/v3/authority.upbdefs.h +35 -0
  889. data/src/core/ext/upbdefs-gen/xds/core/v3/cidr.upbdefs.c +44 -0
  890. data/src/core/ext/upbdefs-gen/xds/core/v3/cidr.upbdefs.h +35 -0
  891. data/src/core/ext/upbdefs-gen/xds/core/v3/collection_entry.upbdefs.c +55 -0
  892. data/src/core/ext/upbdefs-gen/xds/core/v3/collection_entry.upbdefs.h +40 -0
  893. data/src/core/ext/upbdefs-gen/xds/core/v3/context_params.upbdefs.c +38 -0
  894. data/src/core/ext/upbdefs-gen/xds/core/v3/context_params.upbdefs.h +40 -0
  895. data/src/core/ext/upbdefs-gen/xds/core/v3/extension.upbdefs.c +40 -0
  896. data/src/core/ext/upbdefs-gen/xds/core/v3/extension.upbdefs.h +35 -0
  897. data/src/core/ext/upbdefs-gen/xds/core/v3/resource.upbdefs.c +44 -0
  898. data/src/core/ext/upbdefs-gen/xds/core/v3/resource.upbdefs.h +35 -0
  899. data/src/core/ext/upbdefs-gen/xds/core/v3/resource_locator.upbdefs.c +60 -0
  900. data/src/core/ext/upbdefs-gen/xds/core/v3/resource_locator.upbdefs.h +40 -0
  901. data/src/core/ext/upbdefs-gen/xds/core/v3/resource_name.upbdefs.c +45 -0
  902. data/src/core/ext/upbdefs-gen/xds/core/v3/resource_name.upbdefs.h +35 -0
  903. data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/cel.upbdefs.c +44 -0
  904. data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/cel.upbdefs.h +35 -0
  905. data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/domain.upbdefs.c +50 -0
  906. data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/domain.upbdefs.h +40 -0
  907. data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/http_inputs.upbdefs.c +35 -0
  908. data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/http_inputs.upbdefs.h +35 -0
  909. data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/ip.upbdefs.c +54 -0
  910. data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/ip.upbdefs.h +40 -0
  911. data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/matcher.upbdefs.c +125 -0
  912. data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/matcher.upbdefs.h +80 -0
  913. data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/range.upbdefs.c +70 -0
  914. data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/range.upbdefs.h +60 -0
  915. data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/regex.upbdefs.c +39 -0
  916. data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/regex.upbdefs.h +40 -0
  917. data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/string.upbdefs.c +51 -0
  918. data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/string.upbdefs.h +40 -0
  919. data/src/core/ext/upbdefs-gen/xds/type/v3/cel.upbdefs.c +59 -0
  920. data/src/core/ext/upbdefs-gen/xds/type/v3/cel.upbdefs.h +40 -0
  921. data/src/core/ext/upbdefs-gen/xds/type/v3/range.upbdefs.c +35 -0
  922. data/src/core/ext/upbdefs-gen/xds/type/v3/range.upbdefs.h +45 -0
  923. data/src/core/ext/upbdefs-gen/xds/type/v3/typed_struct.upbdefs.c +36 -0
  924. data/src/core/ext/upbdefs-gen/xds/type/v3/typed_struct.upbdefs.h +35 -0
  925. data/src/core/ext/xds/certificate_provider_store.cc +2 -1
  926. data/src/core/ext/xds/certificate_provider_store.h +0 -5
  927. data/src/core/ext/xds/file_watcher_certificate_provider_factory.cc +0 -1
  928. data/src/core/ext/xds/xds_api.cc +92 -167
  929. data/src/core/ext/xds/xds_api.h +4 -9
  930. data/src/core/ext/xds/xds_bootstrap.h +6 -4
  931. data/src/core/ext/xds/xds_bootstrap_grpc.cc +4 -16
  932. data/src/core/ext/xds/xds_bootstrap_grpc.h +2 -1
  933. data/src/core/ext/xds/xds_certificate_provider.cc +88 -287
  934. data/src/core/ext/xds/xds_certificate_provider.h +44 -111
  935. data/src/core/ext/xds/xds_channel_stack_modifier.cc +17 -28
  936. data/src/core/ext/xds/xds_channel_stack_modifier.h +3 -5
  937. data/src/core/ext/xds/xds_client.cc +527 -468
  938. data/src/core/ext/xds/xds_client.h +50 -36
  939. data/src/core/ext/xds/xds_client_grpc.cc +56 -16
  940. data/src/core/ext/xds/xds_client_grpc.h +4 -1
  941. data/src/core/ext/xds/xds_client_stats.cc +11 -11
  942. data/src/core/ext/xds/xds_client_stats.h +8 -14
  943. data/src/core/ext/xds/xds_cluster.cc +105 -12
  944. data/src/core/ext/xds/xds_cluster.h +12 -2
  945. data/src/core/ext/xds/xds_cluster_specifier_plugin.cc +9 -5
  946. data/src/core/ext/xds/xds_common_types.cc +14 -11
  947. data/src/core/ext/xds/xds_endpoint.cc +95 -49
  948. data/src/core/ext/xds/xds_endpoint.h +7 -3
  949. data/src/core/ext/xds/xds_health_status.cc +14 -2
  950. data/src/core/ext/xds/xds_health_status.h +5 -3
  951. data/src/core/ext/xds/xds_http_filters.cc +0 -1
  952. data/src/core/ext/xds/xds_http_rbac_filter.cc +5 -3
  953. data/src/core/ext/xds/xds_lb_policy_registry.cc +1 -1
  954. data/src/core/ext/xds/xds_listener.cc +15 -11
  955. data/src/core/ext/xds/xds_resource_type_impl.h +6 -4
  956. data/src/core/ext/xds/xds_route_config.cc +35 -24
  957. data/src/core/ext/xds/xds_route_config.h +1 -0
  958. data/src/core/ext/xds/xds_server_config_fetcher.cc +63 -59
  959. data/src/core/ext/xds/xds_transport.h +3 -0
  960. data/src/core/ext/xds/xds_transport_grpc.cc +53 -55
  961. data/src/core/ext/xds/xds_transport_grpc.h +4 -0
  962. data/src/core/lib/address_utils/sockaddr_utils.cc +0 -1
  963. data/src/core/lib/avl/avl.h +1 -0
  964. data/src/core/lib/channel/call_tracer.cc +20 -1
  965. data/src/core/lib/channel/call_tracer.h +24 -3
  966. data/src/core/lib/channel/channel_args.cc +24 -15
  967. data/src/core/lib/channel/channel_args.h +89 -14
  968. data/src/core/lib/channel/channel_args_preconditioning.cc +0 -1
  969. data/src/core/lib/channel/channel_stack.cc +36 -1
  970. data/src/core/lib/channel/channel_stack.h +10 -10
  971. data/src/core/lib/channel/channel_stack_builder.h +4 -15
  972. data/src/core/lib/channel/channel_stack_builder_impl.cc +1 -19
  973. data/src/core/lib/channel/channel_stack_trace.cc +19 -0
  974. data/src/core/lib/channel/channel_stack_trace.h +24 -0
  975. data/src/core/lib/channel/channel_trace.cc +1 -1
  976. data/src/core/lib/channel/connected_channel.cc +151 -91
  977. data/src/core/lib/channel/context.h +3 -0
  978. data/src/core/lib/channel/promise_based_filter.cc +10 -6
  979. data/src/core/lib/channel/promise_based_filter.h +1040 -2
  980. data/src/core/lib/channel/server_call_tracer_filter.cc +43 -42
  981. data/src/core/lib/channel/status_util.cc +0 -1
  982. data/src/core/lib/channel/tcp_tracer.h +140 -0
  983. data/src/core/lib/compression/compression_internal.cc +2 -3
  984. data/src/core/lib/config/config_vars.cc +0 -1
  985. data/src/core/lib/config/config_vars_non_generated.cc +0 -2
  986. data/src/core/lib/config/core_configuration.cc +0 -1
  987. data/src/core/lib/config/core_configuration.h +3 -3
  988. data/src/core/lib/event_engine/ares_resolver.cc +163 -90
  989. data/src/core/lib/event_engine/ares_resolver.h +13 -12
  990. data/src/core/lib/event_engine/cf_engine/cfstream_endpoint.cc +4 -0
  991. data/src/core/lib/event_engine/cf_engine/dns_service_resolver.cc +9 -1
  992. data/src/core/lib/event_engine/channel_args_endpoint_config.cc +2 -0
  993. data/src/core/lib/event_engine/event_engine.cc +0 -2
  994. data/src/core/lib/event_engine/extensions/can_track_errors.h +40 -0
  995. data/src/core/lib/event_engine/extensions/supports_fd.h +160 -0
  996. data/src/core/lib/event_engine/forkable.cc +40 -57
  997. data/src/core/lib/event_engine/forkable.h +33 -27
  998. data/src/core/lib/event_engine/grpc_polled_fd.h +23 -4
  999. data/src/core/lib/event_engine/posix.h +11 -122
  1000. data/src/core/lib/event_engine/posix_engine/ev_epoll1_linux.cc +6 -8
  1001. data/src/core/lib/event_engine/posix_engine/ev_epoll1_linux.h +2 -3
  1002. data/src/core/lib/event_engine/posix_engine/ev_poll_posix.cc +11 -16
  1003. data/src/core/lib/event_engine/posix_engine/ev_poll_posix.h +4 -11
  1004. data/src/core/lib/event_engine/posix_engine/event_poller.h +3 -1
  1005. data/src/core/lib/event_engine/posix_engine/event_poller_posix_default.cc +23 -4
  1006. data/src/core/lib/event_engine/posix_engine/event_poller_posix_default.h +3 -1
  1007. data/src/core/lib/event_engine/posix_engine/grpc_polled_fd_posix.h +12 -4
  1008. data/src/core/lib/event_engine/posix_engine/internal_errqueue.cc +0 -2
  1009. data/src/core/lib/event_engine/posix_engine/native_posix_dns_resolver.cc +132 -0
  1010. data/src/core/lib/event_engine/posix_engine/native_posix_dns_resolver.h +57 -0
  1011. data/src/core/lib/event_engine/posix_engine/posix_endpoint.cc +32 -9
  1012. data/src/core/lib/event_engine/posix_engine/posix_endpoint.h +1 -1
  1013. data/src/core/lib/event_engine/posix_engine/posix_engine.cc +89 -51
  1014. data/src/core/lib/event_engine/posix_engine/posix_engine.h +25 -27
  1015. data/src/core/lib/event_engine/posix_engine/posix_engine_listener.cc +14 -6
  1016. data/src/core/lib/event_engine/posix_engine/posix_engine_listener_utils.cc +21 -3
  1017. data/src/core/lib/event_engine/posix_engine/tcp_socket_utils.cc +9 -4
  1018. data/src/core/lib/event_engine/posix_engine/tcp_socket_utils.h +7 -0
  1019. data/src/core/lib/event_engine/posix_engine/timer_manager.cc +17 -27
  1020. data/src/core/lib/event_engine/posix_engine/timer_manager.h +0 -3
  1021. data/src/core/lib/event_engine/posix_engine/wakeup_fd_eventfd.cc +0 -1
  1022. data/src/core/lib/event_engine/posix_engine/wakeup_fd_pipe.cc +0 -1
  1023. data/src/core/lib/event_engine/query_extensions.h +85 -0
  1024. data/src/core/lib/event_engine/ref_counted_dns_resolver_interface.h +55 -0
  1025. data/src/core/lib/event_engine/shim.cc +5 -17
  1026. data/src/core/lib/event_engine/shim.h +0 -2
  1027. data/src/core/lib/event_engine/slice_buffer.cc +0 -1
  1028. data/src/core/lib/event_engine/tcp_socket_utils.cc +0 -1
  1029. data/src/core/lib/event_engine/thread_pool/thread_count.cc +28 -7
  1030. data/src/core/lib/event_engine/thread_pool/thread_count.h +6 -1
  1031. data/src/core/lib/event_engine/thread_pool/thread_pool_factory.cc +20 -6
  1032. data/src/core/lib/event_engine/thread_pool/work_stealing_thread_pool.cc +116 -8
  1033. data/src/core/lib/event_engine/thread_pool/work_stealing_thread_pool.h +9 -0
  1034. data/src/core/lib/event_engine/utils.cc +2 -1
  1035. data/src/core/lib/event_engine/windows/grpc_polled_fd_windows.cc +824 -0
  1036. data/src/core/lib/event_engine/windows/grpc_polled_fd_windows.h +75 -0
  1037. data/src/core/lib/event_engine/windows/native_windows_dns_resolver.cc +115 -0
  1038. data/src/core/lib/event_engine/windows/native_windows_dns_resolver.h +51 -0
  1039. data/src/core/lib/event_engine/windows/win_socket.cc +20 -13
  1040. data/src/core/lib/event_engine/windows/win_socket.h +19 -7
  1041. data/src/core/lib/event_engine/windows/windows_endpoint.cc +32 -33
  1042. data/src/core/lib/event_engine/windows/windows_endpoint.h +1 -1
  1043. data/src/core/lib/event_engine/windows/windows_engine.cc +83 -38
  1044. data/src/core/lib/event_engine/windows/windows_engine.h +16 -2
  1045. data/src/core/lib/event_engine/windows/windows_listener.cc +2 -3
  1046. data/src/core/lib/event_engine/work_queue/basic_work_queue.cc +2 -0
  1047. data/src/core/lib/event_engine/work_queue/basic_work_queue.h +4 -1
  1048. data/src/core/lib/event_engine/work_queue/work_queue.h +4 -0
  1049. data/src/core/lib/experiments/config.cc +23 -2
  1050. data/src/core/lib/experiments/config.h +9 -0
  1051. data/src/core/lib/experiments/experiments.cc +642 -553
  1052. data/src/core/lib/experiments/experiments.h +261 -270
  1053. data/src/core/lib/gpr/alloc.cc +1 -0
  1054. data/src/core/lib/gpr/posix/sync.cc +2 -2
  1055. data/src/core/lib/gpr/posix/time.cc +0 -5
  1056. data/src/core/lib/gpr/windows/sync.cc +2 -2
  1057. data/src/core/lib/gprpp/debug_location.h +15 -0
  1058. data/src/core/lib/gprpp/directory_reader.h +48 -0
  1059. data/src/core/lib/gprpp/down_cast.h +49 -0
  1060. data/src/core/lib/gprpp/dual_ref_counted.h +36 -7
  1061. data/src/core/lib/gprpp/host_port.cc +0 -2
  1062. data/src/core/lib/gprpp/linux/env.cc +1 -19
  1063. data/src/core/lib/gprpp/load_file.cc +2 -1
  1064. data/src/core/lib/gprpp/load_file.h +2 -1
  1065. data/src/core/lib/gprpp/match.h +1 -1
  1066. data/src/core/lib/gprpp/orphanable.h +27 -0
  1067. data/src/core/lib/gprpp/posix/directory_reader.cc +82 -0
  1068. data/src/core/lib/gprpp/posix/stat.cc +0 -1
  1069. data/src/core/lib/gprpp/posix/thd.cc +27 -2
  1070. data/src/core/lib/gprpp/ref_counted.h +63 -22
  1071. data/src/core/lib/gprpp/ref_counted_ptr.h +70 -27
  1072. data/src/core/lib/gprpp/ref_counted_string.h +15 -0
  1073. data/src/core/lib/gprpp/status_helper.cc +1 -3
  1074. data/src/core/lib/gprpp/strerror.cc +0 -2
  1075. data/src/core/lib/gprpp/thd.h +8 -0
  1076. data/src/core/lib/gprpp/time.cc +0 -1
  1077. data/src/core/lib/gprpp/time.h +4 -3
  1078. data/src/core/lib/gprpp/validation_errors.cc +0 -1
  1079. data/src/core/lib/gprpp/windows/directory_reader.cc +81 -0
  1080. data/src/core/lib/gprpp/windows/thd.cc +10 -1
  1081. data/src/core/lib/gprpp/work_serializer.cc +3 -0
  1082. data/src/core/lib/gprpp/xxhash_inline.h +29 -0
  1083. data/src/core/lib/http/format_request.cc +0 -1
  1084. data/src/core/lib/http/httpcli.cc +0 -2
  1085. data/src/core/lib/iomgr/combiner.cc +16 -52
  1086. data/src/core/lib/iomgr/event_engine_shims/endpoint.cc +53 -14
  1087. data/src/core/lib/iomgr/event_engine_shims/endpoint.h +16 -0
  1088. data/src/core/lib/iomgr/event_engine_shims/tcp_client.cc +3 -2
  1089. data/src/core/lib/iomgr/grpc_if_nametoindex_posix.cc +2 -2
  1090. data/src/core/lib/iomgr/grpc_if_nametoindex_unsupported.cc +2 -2
  1091. data/src/core/lib/iomgr/socket_utils_common_posix.cc +13 -0
  1092. data/src/core/lib/iomgr/tcp_client_posix.cc +4 -3
  1093. data/src/core/lib/iomgr/tcp_posix.cc +7 -1
  1094. data/src/core/lib/iomgr/tcp_server_posix.cc +65 -50
  1095. data/src/core/lib/iomgr/tcp_server_utils_posix_ifaddrs.cc +12 -0
  1096. data/src/core/lib/iomgr/timer_manager.cc +7 -1
  1097. data/src/core/lib/iomgr/timer_manager.h +2 -0
  1098. data/src/core/lib/json/json_object_loader.h +0 -1
  1099. data/src/core/lib/json/json_reader.cc +0 -1
  1100. data/src/core/lib/json/json_writer.cc +1 -1
  1101. data/src/core/lib/matchers/matchers.cc +0 -1
  1102. data/src/core/lib/promise/activity.cc +17 -3
  1103. data/src/core/lib/promise/activity.h +13 -6
  1104. data/src/core/lib/promise/all_ok.h +80 -0
  1105. data/src/core/lib/promise/cancel_callback.h +0 -2
  1106. data/src/core/lib/promise/context.h +45 -8
  1107. data/src/core/lib/promise/detail/join_state.h +2077 -0
  1108. data/src/core/lib/promise/detail/promise_like.h +8 -1
  1109. data/src/core/lib/promise/detail/seq_state.h +3458 -151
  1110. data/src/core/lib/promise/detail/status.h +42 -5
  1111. data/src/core/lib/promise/for_each.h +13 -6
  1112. data/src/core/lib/promise/if.h +4 -1
  1113. data/src/core/lib/promise/interceptor_list.h +13 -6
  1114. data/src/core/lib/promise/latch.h +9 -8
  1115. data/src/core/lib/promise/loop.h +1 -1
  1116. data/src/core/lib/promise/map.h +0 -1
  1117. data/src/core/lib/promise/party.cc +45 -33
  1118. data/src/core/lib/promise/party.h +176 -10
  1119. data/src/core/lib/promise/pipe.h +6 -10
  1120. data/src/core/lib/promise/poll.h +39 -13
  1121. data/src/core/lib/promise/prioritized_race.h +0 -1
  1122. data/src/core/lib/promise/promise.h +4 -1
  1123. data/src/core/lib/promise/race.h +0 -1
  1124. data/src/core/lib/promise/seq.h +107 -8
  1125. data/src/core/lib/promise/sleep.cc +1 -1
  1126. data/src/core/lib/promise/status_flag.h +226 -0
  1127. data/src/core/lib/promise/try_join.h +132 -0
  1128. data/src/core/lib/promise/try_seq.h +132 -10
  1129. data/src/core/lib/resource_quota/arena.h +2 -2
  1130. data/src/core/lib/resource_quota/memory_quota.cc +74 -22
  1131. data/src/core/lib/resource_quota/memory_quota.h +8 -11
  1132. data/src/core/lib/security/authorization/audit_logging.cc +0 -1
  1133. data/src/core/lib/security/authorization/grpc_server_authz_filter.cc +15 -12
  1134. data/src/core/lib/security/authorization/grpc_server_authz_filter.h +14 -5
  1135. data/src/core/lib/security/authorization/matchers.cc +0 -1
  1136. data/src/core/lib/security/authorization/rbac_policy.cc +0 -2
  1137. data/src/core/lib/security/authorization/stdout_logger.cc +0 -1
  1138. data/src/core/lib/security/credentials/alts/alts_credentials.cc +0 -2
  1139. data/src/core/lib/security/credentials/composite/composite_credentials.cc +1 -1
  1140. data/src/core/lib/security/credentials/composite/composite_credentials.h +1 -1
  1141. data/src/core/lib/security/credentials/external/aws_external_account_credentials.cc +4 -1
  1142. data/src/core/lib/security/credentials/external/aws_external_account_credentials.h +4 -0
  1143. data/src/core/lib/security/credentials/external/aws_request_signer.cc +0 -2
  1144. data/src/core/lib/security/credentials/external/external_account_credentials.cc +28 -22
  1145. data/src/core/lib/security/credentials/external/external_account_credentials.h +4 -0
  1146. data/src/core/lib/security/credentials/external/file_external_account_credentials.cc +9 -11
  1147. data/src/core/lib/security/credentials/external/file_external_account_credentials.h +4 -0
  1148. data/src/core/lib/security/credentials/external/url_external_account_credentials.cc +5 -3
  1149. data/src/core/lib/security/credentials/external/url_external_account_credentials.h +4 -0
  1150. data/src/core/lib/security/credentials/google_default/google_default_credentials.cc +11 -11
  1151. data/src/core/lib/security/credentials/iam/iam_credentials.cc +0 -1
  1152. data/src/core/lib/security/credentials/insecure/insecure_credentials.cc +0 -2
  1153. data/src/core/lib/security/credentials/jwt/jwt_credentials.h +0 -1
  1154. data/src/core/lib/security/credentials/jwt/jwt_verifier.cc +1 -2
  1155. data/src/core/lib/security/credentials/local/local_credentials.cc +0 -2
  1156. data/src/core/lib/security/credentials/oauth2/oauth2_credentials.cc +9 -7
  1157. data/src/core/lib/security/credentials/oauth2/oauth2_credentials.h +0 -1
  1158. data/src/core/lib/security/credentials/plugin/plugin_credentials.cc +2 -2
  1159. data/src/core/lib/security/credentials/plugin/plugin_credentials.h +1 -1
  1160. data/src/core/lib/security/credentials/ssl/ssl_credentials.cc +0 -1
  1161. data/src/core/lib/security/credentials/tls/grpc_tls_certificate_distributor.cc +0 -2
  1162. data/src/core/lib/security/credentials/tls/grpc_tls_certificate_provider.cc +16 -24
  1163. data/src/core/lib/security/credentials/tls/grpc_tls_certificate_provider.h +0 -3
  1164. data/src/core/lib/security/credentials/tls/grpc_tls_credentials_options.cc +33 -0
  1165. data/src/core/lib/security/credentials/tls/grpc_tls_credentials_options.h +23 -0
  1166. data/src/core/lib/security/credentials/tls/grpc_tls_crl_provider.cc +255 -0
  1167. data/src/core/lib/security/credentials/tls/grpc_tls_crl_provider.h +129 -0
  1168. data/src/core/lib/security/credentials/tls/tls_credentials.cc +25 -1
  1169. data/src/core/lib/security/credentials/tls/tls_utils.cc +2 -0
  1170. data/src/core/lib/security/credentials/xds/xds_credentials.cc +22 -30
  1171. data/src/core/lib/security/credentials/xds/xds_credentials.h +2 -4
  1172. data/src/core/lib/security/security_connector/fake/fake_security_connector.cc +1 -2
  1173. data/src/core/lib/security/security_connector/load_system_roots_supported.cc +3 -7
  1174. data/src/core/lib/security/security_connector/local/local_security_connector.cc +1 -1
  1175. data/src/core/lib/security/security_connector/ssl/ssl_security_connector.cc +0 -2
  1176. data/src/core/lib/security/security_connector/ssl_utils.cc +34 -19
  1177. data/src/core/lib/security/security_connector/ssl_utils.h +4 -0
  1178. data/src/core/lib/security/security_connector/tls/tls_security_connector.cc +7 -6
  1179. data/src/core/lib/security/security_connector/tls/tls_security_connector.h +2 -2
  1180. data/src/core/lib/security/transport/auth_filters.h +71 -4
  1181. data/src/core/lib/security/transport/client_auth_filter.cc +2 -5
  1182. data/src/core/lib/security/transport/legacy_server_auth_filter.cc +244 -0
  1183. data/src/core/lib/security/transport/secure_endpoint.cc +3 -6
  1184. data/src/core/lib/security/transport/security_handshaker.cc +1 -11
  1185. data/src/core/lib/security/transport/security_handshaker.h +0 -6
  1186. data/src/core/lib/security/transport/server_auth_filter.cc +70 -94
  1187. data/src/core/lib/slice/slice.h +6 -1
  1188. data/src/core/lib/slice/slice_buffer.h +6 -1
  1189. data/src/core/lib/surface/builtins.cc +6 -25
  1190. data/src/core/lib/surface/call.cc +824 -217
  1191. data/src/core/lib/surface/call.h +26 -13
  1192. data/src/core/lib/surface/call_log_batch.cc +0 -2
  1193. data/src/core/lib/surface/call_trace.cc +46 -6
  1194. data/src/core/lib/surface/channel.cc +18 -29
  1195. data/src/core/lib/surface/channel.h +6 -28
  1196. data/src/core/lib/surface/channel_init.cc +441 -14
  1197. data/src/core/lib/surface/channel_init.h +272 -26
  1198. data/src/core/lib/surface/completion_queue.cc +0 -7
  1199. data/src/core/lib/surface/event_string.cc +0 -1
  1200. data/src/core/lib/surface/init.cc +21 -48
  1201. data/src/core/lib/surface/lame_client.cc +8 -1
  1202. data/src/core/lib/surface/server.cc +438 -265
  1203. data/src/core/lib/surface/server.h +52 -26
  1204. data/src/core/lib/surface/version.cc +2 -2
  1205. data/src/core/lib/surface/wait_for_cq_end_op.cc +75 -0
  1206. data/src/core/lib/surface/wait_for_cq_end_op.h +72 -0
  1207. data/src/core/lib/transport/batch_builder.cc +6 -7
  1208. data/src/core/lib/transport/batch_builder.h +2 -4
  1209. data/src/core/lib/transport/bdp_estimator.cc +2 -2
  1210. data/src/core/lib/transport/bdp_estimator.h +2 -2
  1211. data/src/core/lib/transport/call_factory.cc +41 -0
  1212. data/src/core/lib/transport/call_factory.h +56 -0
  1213. data/src/core/lib/transport/call_filters.cc +371 -0
  1214. data/src/core/lib/transport/call_filters.h +1500 -0
  1215. data/src/core/lib/transport/call_final_info.cc +38 -0
  1216. data/src/core/lib/transport/call_final_info.h +54 -0
  1217. data/src/core/lib/transport/call_size_estimator.cc +41 -0
  1218. data/src/core/lib/transport/call_size_estimator.h +52 -0
  1219. data/src/core/lib/transport/call_spine.cc +107 -0
  1220. data/src/core/lib/transport/call_spine.h +429 -0
  1221. data/src/core/lib/transport/connectivity_state.cc +3 -4
  1222. data/src/core/lib/transport/connectivity_state.h +4 -0
  1223. data/src/core/lib/transport/error_utils.cc +0 -2
  1224. data/src/core/lib/transport/handshaker.cc +0 -10
  1225. data/src/core/lib/transport/handshaker.h +0 -7
  1226. data/src/core/lib/transport/message.cc +45 -0
  1227. data/src/core/lib/transport/message.h +61 -0
  1228. data/src/core/lib/transport/metadata.cc +37 -0
  1229. data/src/core/lib/transport/metadata.h +78 -0
  1230. data/src/core/lib/transport/metadata_batch.cc +4 -3
  1231. data/src/core/lib/transport/metadata_batch.h +9 -4
  1232. data/src/core/lib/transport/tcp_connect_handshaker.cc +0 -1
  1233. data/src/core/lib/transport/timeout_encoding.h +2 -2
  1234. data/src/core/lib/transport/transport.cc +13 -105
  1235. data/src/core/lib/transport/transport.h +105 -157
  1236. data/src/core/lib/transport/transport_fwd.h +3 -1
  1237. data/src/core/lib/transport/transport_op_string.cc +0 -2
  1238. data/src/core/lib/uri/uri_parser.cc +0 -1
  1239. data/src/core/load_balancing/address_filtering.cc +108 -0
  1240. data/src/core/load_balancing/address_filtering.h +118 -0
  1241. data/src/core/load_balancing/backend_metric_data.h +57 -0
  1242. data/src/core/load_balancing/child_policy_handler.cc +317 -0
  1243. data/src/core/load_balancing/child_policy_handler.h +88 -0
  1244. data/src/core/load_balancing/delegating_helper.h +116 -0
  1245. data/src/core/load_balancing/endpoint_list.cc +187 -0
  1246. data/src/core/load_balancing/endpoint_list.h +220 -0
  1247. data/src/core/load_balancing/grpclb/client_load_reporting_filter.cc +83 -0
  1248. data/src/core/load_balancing/grpclb/client_load_reporting_filter.h +46 -0
  1249. data/src/core/load_balancing/grpclb/grpclb.cc +1935 -0
  1250. data/src/core/load_balancing/grpclb/grpclb.h +39 -0
  1251. data/src/core/load_balancing/grpclb/grpclb_balancer_addresses.cc +89 -0
  1252. data/src/core/load_balancing/grpclb/grpclb_balancer_addresses.h +39 -0
  1253. data/src/core/load_balancing/grpclb/grpclb_client_stats.cc +90 -0
  1254. data/src/core/load_balancing/grpclb/grpclb_client_stats.h +81 -0
  1255. data/src/core/load_balancing/grpclb/load_balancer_api.cc +202 -0
  1256. data/src/core/load_balancing/grpclb/load_balancer_api.h +77 -0
  1257. data/src/core/load_balancing/health_check_client.cc +520 -0
  1258. data/src/core/load_balancing/health_check_client.h +52 -0
  1259. data/src/core/load_balancing/health_check_client_internal.h +204 -0
  1260. data/src/core/load_balancing/lb_policy.cc +98 -0
  1261. data/src/core/load_balancing/lb_policy.h +481 -0
  1262. data/src/core/load_balancing/lb_policy_factory.h +49 -0
  1263. data/src/core/load_balancing/lb_policy_registry.cc +142 -0
  1264. data/src/core/load_balancing/lb_policy_registry.h +82 -0
  1265. data/src/core/load_balancing/oob_backend_metric.cc +340 -0
  1266. data/src/core/load_balancing/oob_backend_metric.h +57 -0
  1267. data/src/core/load_balancing/oob_backend_metric_internal.h +119 -0
  1268. data/src/core/load_balancing/outlier_detection/outlier_detection.cc +1208 -0
  1269. data/src/core/load_balancing/outlier_detection/outlier_detection.h +94 -0
  1270. data/src/core/load_balancing/pick_first/pick_first.cc +1232 -0
  1271. data/src/core/load_balancing/pick_first/pick_first.h +36 -0
  1272. data/src/core/load_balancing/priority/priority.cc +900 -0
  1273. data/src/core/load_balancing/ring_hash/ring_hash.cc +878 -0
  1274. data/src/core/load_balancing/ring_hash/ring_hash.h +62 -0
  1275. data/src/core/load_balancing/rls/rls.cc +2477 -0
  1276. data/src/core/load_balancing/round_robin/round_robin.cc +916 -0
  1277. data/src/core/load_balancing/subchannel_interface.h +141 -0
  1278. data/src/core/load_balancing/subchannel_list.h +455 -0
  1279. data/src/core/load_balancing/weighted_round_robin/static_stride_scheduler.cc +198 -0
  1280. data/src/core/load_balancing/weighted_round_robin/static_stride_scheduler.h +71 -0
  1281. data/src/core/load_balancing/weighted_round_robin/weighted_round_robin.cc +1819 -0
  1282. data/src/core/load_balancing/weighted_target/weighted_target.cc +755 -0
  1283. data/src/core/load_balancing/xds/cds.cc +757 -0
  1284. data/src/core/load_balancing/xds/xds_channel_args.h +37 -0
  1285. data/src/core/load_balancing/xds/xds_cluster_impl.cc +863 -0
  1286. data/src/core/load_balancing/xds/xds_cluster_manager.cc +652 -0
  1287. data/src/core/load_balancing/xds/xds_override_host.cc +1313 -0
  1288. data/src/core/load_balancing/xds/xds_override_host.h +63 -0
  1289. data/src/core/load_balancing/xds/xds_wrr_locality.cc +300 -0
  1290. data/src/core/plugin_registry/grpc_plugin_registry.cc +5 -0
  1291. data/src/core/plugin_registry/grpc_plugin_registry_extra.cc +0 -3
  1292. data/src/core/resolver/binder/binder_resolver.cc +147 -0
  1293. data/src/core/resolver/dns/c_ares/dns_resolver_ares.cc +758 -0
  1294. data/src/core/resolver/dns/c_ares/dns_resolver_ares.h +30 -0
  1295. data/src/core/resolver/dns/c_ares/grpc_ares_ev_driver.h +90 -0
  1296. data/src/core/resolver/dns/c_ares/grpc_ares_ev_driver_posix.cc +206 -0
  1297. data/src/core/resolver/dns/c_ares/grpc_ares_ev_driver_windows.cc +818 -0
  1298. data/src/core/resolver/dns/c_ares/grpc_ares_wrapper.cc +1219 -0
  1299. data/src/core/resolver/dns/c_ares/grpc_ares_wrapper.h +140 -0
  1300. data/src/core/resolver/dns/c_ares/grpc_ares_wrapper_posix.cc +29 -0
  1301. data/src/core/resolver/dns/c_ares/grpc_ares_wrapper_windows.cc +35 -0
  1302. data/src/core/resolver/dns/dns_resolver_plugin.cc +68 -0
  1303. data/src/core/resolver/dns/dns_resolver_plugin.h +27 -0
  1304. data/src/core/resolver/dns/event_engine/event_engine_client_channel_resolver.cc +588 -0
  1305. data/src/core/resolver/dns/event_engine/event_engine_client_channel_resolver.h +35 -0
  1306. data/src/core/resolver/dns/event_engine/service_config_helper.cc +97 -0
  1307. data/src/core/resolver/dns/event_engine/service_config_helper.h +32 -0
  1308. data/src/core/resolver/dns/native/dns_resolver.cc +183 -0
  1309. data/src/core/resolver/dns/native/dns_resolver.h +24 -0
  1310. data/src/core/resolver/endpoint_addresses.cc +147 -0
  1311. data/src/core/resolver/endpoint_addresses.h +164 -0
  1312. data/src/core/resolver/fake/fake_resolver.cc +255 -0
  1313. data/src/core/resolver/fake/fake_resolver.h +129 -0
  1314. data/src/core/resolver/google_c2p/google_c2p_resolver.cc +326 -0
  1315. data/src/core/resolver/polling_resolver.cc +272 -0
  1316. data/src/core/resolver/polling_resolver.h +121 -0
  1317. data/src/core/resolver/resolver.cc +37 -0
  1318. data/src/core/resolver/resolver.h +139 -0
  1319. data/src/core/resolver/resolver_factory.h +78 -0
  1320. data/src/core/resolver/resolver_registry.cc +162 -0
  1321. data/src/core/resolver/resolver_registry.h +123 -0
  1322. data/src/core/resolver/server_address.h +35 -0
  1323. data/src/core/resolver/sockaddr/sockaddr_resolver.cc +202 -0
  1324. data/src/core/resolver/xds/xds_dependency_manager.cc +1031 -0
  1325. data/src/core/resolver/xds/xds_dependency_manager.h +277 -0
  1326. data/src/core/resolver/xds/xds_resolver.cc +1135 -0
  1327. data/src/core/resolver/xds/xds_resolver_attributes.h +62 -0
  1328. data/src/core/resolver/xds/xds_resolver_trace.cc +25 -0
  1329. data/src/core/resolver/xds/xds_resolver_trace.h +30 -0
  1330. data/src/core/service_config/service_config.h +89 -0
  1331. data/src/core/service_config/service_config_call_data.h +116 -0
  1332. data/src/core/service_config/service_config_impl.cc +198 -0
  1333. data/src/core/service_config/service_config_impl.h +125 -0
  1334. data/src/core/service_config/service_config_parser.cc +81 -0
  1335. data/src/core/service_config/service_config_parser.h +105 -0
  1336. data/src/core/tsi/alts/crypt/aes_gcm.cc +137 -109
  1337. data/src/core/tsi/alts/crypt/gsec.h +387 -319
  1338. data/src/core/tsi/alts/frame_protector/alts_frame_protector.cc +11 -7
  1339. data/src/core/tsi/alts/handshaker/alts_handshaker_client.cc +1 -1
  1340. data/src/core/tsi/alts/handshaker/alts_tsi_handshaker.cc +5 -7
  1341. data/src/core/tsi/alts/handshaker/transport_security_common_api.cc +1 -1
  1342. data/src/core/tsi/alts/zero_copy_frame_protector/alts_zero_copy_grpc_protector.cc +12 -12
  1343. data/src/core/tsi/alts/zero_copy_frame_protector/alts_zero_copy_grpc_protector.h +26 -25
  1344. data/src/core/tsi/fake_transport_security.cc +1 -1
  1345. data/src/core/tsi/ssl/session_cache/ssl_session_cache.cc +9 -1
  1346. data/src/core/tsi/ssl_transport_security.cc +182 -60
  1347. data/src/core/tsi/ssl_transport_security.h +19 -1
  1348. data/src/ruby/bin/math_pb.rb +1 -1
  1349. data/src/ruby/ext/grpc/extconf.rb +77 -16
  1350. data/src/ruby/ext/grpc/rb_channel.c +11 -5
  1351. data/src/ruby/ext/grpc/rb_channel_args.c +3 -1
  1352. data/src/ruby/ext/grpc/rb_event_thread.c +9 -3
  1353. data/src/ruby/ext/grpc/rb_grpc.c +0 -1
  1354. data/src/ruby/ext/grpc/rb_grpc.h +0 -2
  1355. data/src/ruby/ext/grpc/rb_grpc_imports.generated.c +8 -0
  1356. data/src/ruby/ext/grpc/rb_grpc_imports.generated.h +12 -0
  1357. data/src/ruby/lib/grpc/version.rb +1 -1
  1358. data/src/ruby/pb/grpc/health/v1/health_pb.rb +1 -1
  1359. data/src/ruby/pb/src/proto/grpc/testing/empty_pb.rb +1 -1
  1360. data/src/ruby/pb/src/proto/grpc/testing/messages_pb.rb +7 -2
  1361. data/src/ruby/pb/src/proto/grpc/testing/test_pb.rb +2 -2
  1362. data/src/ruby/pb/src/proto/grpc/testing/test_services_pb.rb +22 -0
  1363. data/third_party/abseil-cpp/absl/algorithm/algorithm.h +8 -103
  1364. data/third_party/abseil-cpp/absl/algorithm/container.h +57 -71
  1365. data/third_party/abseil-cpp/absl/base/attributes.h +51 -12
  1366. data/third_party/abseil-cpp/absl/base/call_once.h +15 -9
  1367. data/third_party/abseil-cpp/absl/base/casts.h +1 -1
  1368. data/third_party/abseil-cpp/absl/base/config.h +91 -24
  1369. data/third_party/abseil-cpp/absl/base/internal/endian.h +13 -12
  1370. data/third_party/abseil-cpp/absl/base/internal/identity.h +4 -2
  1371. data/third_party/abseil-cpp/absl/base/internal/inline_variable.h +19 -18
  1372. data/third_party/abseil-cpp/absl/base/internal/low_level_alloc.cc +1 -1
  1373. data/third_party/abseil-cpp/absl/base/internal/nullability_impl.h +106 -0
  1374. data/third_party/abseil-cpp/absl/base/internal/raw_logging.cc +9 -11
  1375. data/third_party/abseil-cpp/absl/base/internal/raw_logging.h +2 -0
  1376. data/third_party/abseil-cpp/absl/base/internal/spinlock.h +17 -4
  1377. data/third_party/abseil-cpp/absl/base/internal/sysinfo.cc +20 -0
  1378. data/third_party/abseil-cpp/absl/base/internal/thread_identity.cc +10 -4
  1379. data/third_party/abseil-cpp/absl/base/internal/unaligned_access.h +13 -6
  1380. data/third_party/abseil-cpp/absl/base/log_severity.cc +1 -0
  1381. data/third_party/abseil-cpp/absl/base/log_severity.h +23 -10
  1382. data/third_party/abseil-cpp/absl/base/no_destructor.h +217 -0
  1383. data/third_party/abseil-cpp/absl/base/nullability.h +224 -0
  1384. data/third_party/abseil-cpp/absl/base/optimization.h +1 -0
  1385. data/third_party/abseil-cpp/absl/base/options.h +27 -1
  1386. data/third_party/abseil-cpp/absl/base/prefetch.h +25 -14
  1387. data/third_party/abseil-cpp/absl/base/thread_annotations.h +0 -2
  1388. data/third_party/abseil-cpp/absl/container/flat_hash_map.h +3 -3
  1389. data/third_party/abseil-cpp/absl/container/flat_hash_set.h +1 -1
  1390. data/third_party/abseil-cpp/absl/container/internal/common_policy_traits.h +4 -2
  1391. data/third_party/abseil-cpp/absl/container/internal/container_memory.h +13 -9
  1392. data/third_party/abseil-cpp/absl/container/internal/hashtablez_sampler.h +2 -12
  1393. data/third_party/abseil-cpp/absl/container/internal/inlined_vector.h +12 -1
  1394. data/third_party/abseil-cpp/absl/container/internal/layout.h +6 -21
  1395. data/third_party/abseil-cpp/absl/container/internal/raw_hash_map.h +11 -2
  1396. data/third_party/abseil-cpp/absl/container/internal/raw_hash_set.cc +148 -31
  1397. data/third_party/abseil-cpp/absl/container/internal/raw_hash_set.h +717 -278
  1398. data/third_party/abseil-cpp/absl/crc/internal/cpu_detect.cc +26 -2
  1399. data/third_party/abseil-cpp/absl/crc/internal/cpu_detect.h +6 -0
  1400. data/third_party/abseil-cpp/absl/crc/internal/crc32_x86_arm_combined_simd.h +34 -5
  1401. data/third_party/abseil-cpp/absl/crc/internal/crc_memcpy.h +6 -3
  1402. data/third_party/abseil-cpp/absl/crc/internal/crc_memcpy_fallback.cc +4 -2
  1403. data/third_party/abseil-cpp/absl/crc/internal/crc_memcpy_x86_arm_combined.cc +450 -0
  1404. data/third_party/abseil-cpp/absl/crc/internal/crc_x86_arm_combined.cc +10 -2
  1405. data/third_party/abseil-cpp/absl/debugging/internal/address_is_readable.cc +4 -2
  1406. data/third_party/abseil-cpp/absl/debugging/internal/demangle.cc +24 -0
  1407. data/third_party/abseil-cpp/absl/debugging/internal/demangle.h +35 -33
  1408. data/third_party/abseil-cpp/absl/debugging/internal/stacktrace_aarch64-inl.inc +41 -17
  1409. data/third_party/abseil-cpp/absl/debugging/symbolize_elf.inc +108 -44
  1410. data/third_party/abseil-cpp/absl/flags/declare.h +0 -5
  1411. data/third_party/abseil-cpp/absl/flags/flag.h +1 -10
  1412. data/third_party/abseil-cpp/absl/flags/internal/flag.h +0 -5
  1413. data/third_party/abseil-cpp/absl/flags/marshalling.cc +10 -1
  1414. data/third_party/abseil-cpp/absl/flags/reflection.cc +2 -1
  1415. data/third_party/abseil-cpp/absl/functional/function_ref.h +8 -0
  1416. data/third_party/abseil-cpp/absl/functional/internal/any_invocable.h +2 -2
  1417. data/third_party/abseil-cpp/absl/hash/internal/hash.h +49 -2
  1418. data/third_party/abseil-cpp/absl/numeric/bits.h +37 -18
  1419. data/third_party/abseil-cpp/absl/random/distributions.h +1 -1
  1420. data/third_party/abseil-cpp/absl/status/internal/status_internal.cc +248 -0
  1421. data/third_party/abseil-cpp/absl/status/internal/status_internal.h +55 -14
  1422. data/third_party/abseil-cpp/absl/status/internal/statusor_internal.h +53 -2
  1423. data/third_party/abseil-cpp/absl/status/status.cc +36 -238
  1424. data/third_party/abseil-cpp/absl/status/status.h +95 -53
  1425. data/third_party/abseil-cpp/absl/status/status_payload_printer.cc +1 -3
  1426. data/third_party/abseil-cpp/absl/status/status_payload_printer.h +3 -2
  1427. data/third_party/abseil-cpp/absl/status/statusor.cc +5 -2
  1428. data/third_party/abseil-cpp/absl/status/statusor.h +43 -3
  1429. data/third_party/abseil-cpp/absl/strings/ascii.cc +84 -12
  1430. data/third_party/abseil-cpp/absl/strings/ascii.h +8 -6
  1431. data/third_party/abseil-cpp/absl/strings/charconv.cc +19 -12
  1432. data/third_party/abseil-cpp/absl/strings/charconv.h +6 -3
  1433. data/third_party/abseil-cpp/absl/strings/charset.h +164 -0
  1434. data/third_party/abseil-cpp/absl/strings/cord.cc +266 -69
  1435. data/third_party/abseil-cpp/absl/strings/cord.h +138 -92
  1436. data/third_party/abseil-cpp/absl/strings/cord_analysis.cc +19 -33
  1437. data/third_party/abseil-cpp/absl/strings/cord_analysis.h +4 -3
  1438. data/third_party/abseil-cpp/absl/strings/escaping.cc +5 -4
  1439. data/third_party/abseil-cpp/absl/strings/has_absl_stringify.h +63 -0
  1440. data/third_party/abseil-cpp/absl/strings/has_ostream_operator.h +42 -0
  1441. data/third_party/abseil-cpp/absl/strings/internal/cord_internal.cc +0 -6
  1442. data/third_party/abseil-cpp/absl/strings/internal/cord_internal.h +19 -45
  1443. data/third_party/abseil-cpp/absl/strings/internal/cordz_info.cc +23 -28
  1444. data/third_party/abseil-cpp/absl/strings/internal/has_absl_stringify.h +15 -26
  1445. data/third_party/abseil-cpp/absl/strings/internal/memutil.cc +12 -4
  1446. data/third_party/abseil-cpp/absl/strings/internal/str_format/arg.cc +145 -8
  1447. data/third_party/abseil-cpp/absl/strings/internal/str_format/arg.h +72 -24
  1448. data/third_party/abseil-cpp/absl/strings/internal/str_format/bind.cc +17 -1
  1449. data/third_party/abseil-cpp/absl/strings/internal/str_format/bind.h +7 -4
  1450. data/third_party/abseil-cpp/absl/strings/internal/str_format/constexpr_parser.h +8 -3
  1451. data/third_party/abseil-cpp/absl/strings/internal/str_format/extension.h +10 -4
  1452. data/third_party/abseil-cpp/absl/strings/internal/str_format/parser.h +5 -4
  1453. data/third_party/abseil-cpp/absl/strings/match.cc +3 -0
  1454. data/third_party/abseil-cpp/absl/strings/numbers.cc +396 -153
  1455. data/third_party/abseil-cpp/absl/strings/numbers.h +193 -35
  1456. data/third_party/abseil-cpp/absl/strings/str_cat.cc +151 -21
  1457. data/third_party/abseil-cpp/absl/strings/str_cat.h +127 -25
  1458. data/third_party/abseil-cpp/absl/strings/str_format.h +30 -20
  1459. data/third_party/abseil-cpp/absl/strings/str_join.h +16 -16
  1460. data/third_party/abseil-cpp/absl/strings/str_replace.cc +12 -3
  1461. data/third_party/abseil-cpp/absl/strings/str_replace.h +8 -5
  1462. data/third_party/abseil-cpp/absl/strings/str_split.cc +8 -6
  1463. data/third_party/abseil-cpp/absl/strings/str_split.h +18 -0
  1464. data/third_party/abseil-cpp/absl/strings/string_view.cc +26 -5
  1465. data/third_party/abseil-cpp/absl/strings/string_view.h +91 -26
  1466. data/third_party/abseil-cpp/absl/strings/strip.h +5 -2
  1467. data/third_party/abseil-cpp/absl/strings/substitute.cc +12 -4
  1468. data/third_party/abseil-cpp/absl/strings/substitute.h +103 -91
  1469. data/third_party/abseil-cpp/absl/synchronization/internal/pthread_waiter.h +2 -2
  1470. data/third_party/abseil-cpp/absl/synchronization/internal/waiter.h +2 -0
  1471. data/third_party/abseil-cpp/absl/synchronization/internal/win32_waiter.h +4 -2
  1472. data/third_party/abseil-cpp/absl/synchronization/mutex.cc +296 -332
  1473. data/third_party/abseil-cpp/absl/synchronization/mutex.h +89 -34
  1474. data/third_party/abseil-cpp/absl/time/civil_time.h +26 -0
  1475. data/third_party/abseil-cpp/absl/time/clock.h +5 -1
  1476. data/third_party/abseil-cpp/absl/time/duration.cc +3 -3
  1477. data/third_party/abseil-cpp/absl/time/internal/cctz/include/cctz/civil_time_detail.h +2 -2
  1478. data/third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_format.cc +1 -1
  1479. data/third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_info.cc +9 -14
  1480. data/third_party/abseil-cpp/absl/time/internal/cctz/src/tzfile.h +0 -8
  1481. data/third_party/abseil-cpp/absl/types/bad_optional_access.cc +18 -0
  1482. data/third_party/abseil-cpp/absl/types/bad_variant_access.cc +18 -0
  1483. data/third_party/abseil-cpp/absl/types/internal/variant.h +3 -3
  1484. data/third_party/abseil-cpp/absl/types/optional.h +3 -2
  1485. data/third_party/abseil-cpp/absl/types/span.h +9 -4
  1486. data/third_party/abseil-cpp/absl/utility/utility.h +11 -93
  1487. data/third_party/boringssl-with-bazel/err_data.c +278 -276
  1488. data/third_party/boringssl-with-bazel/src/crypto/asn1/a_gentm.c +1 -1
  1489. data/third_party/boringssl-with-bazel/src/crypto/asn1/a_mbstr.c +9 -9
  1490. data/third_party/boringssl-with-bazel/src/crypto/asn1/a_strex.c +8 -21
  1491. data/third_party/boringssl-with-bazel/src/crypto/asn1/a_time.c +1 -1
  1492. data/third_party/boringssl-with-bazel/src/crypto/asn1/a_type.c +19 -1
  1493. data/third_party/boringssl-with-bazel/src/crypto/asn1/a_utctm.c +1 -1
  1494. data/third_party/boringssl-with-bazel/src/crypto/asn1/asn1_lib.c +11 -3
  1495. data/third_party/boringssl-with-bazel/src/crypto/asn1/internal.h +4 -1
  1496. data/third_party/boringssl-with-bazel/src/crypto/asn1/posix_time.c +1 -1
  1497. data/third_party/boringssl-with-bazel/src/crypto/asn1/tasn_dec.c +3 -3
  1498. data/third_party/boringssl-with-bazel/src/crypto/asn1/tasn_enc.c +1 -6
  1499. data/third_party/boringssl-with-bazel/src/crypto/asn1/tasn_new.c +4 -13
  1500. data/third_party/boringssl-with-bazel/src/crypto/base64/base64.c +1 -6
  1501. data/third_party/boringssl-with-bazel/src/crypto/bio/bio.c +27 -4
  1502. data/third_party/boringssl-with-bazel/src/crypto/bio/connect.c +1 -4
  1503. data/third_party/boringssl-with-bazel/src/crypto/bio/pair.c +1 -4
  1504. data/third_party/boringssl-with-bazel/src/crypto/bn_extra/convert.c +8 -0
  1505. data/third_party/boringssl-with-bazel/src/crypto/buf/buf.c +1 -11
  1506. data/third_party/boringssl-with-bazel/src/crypto/bytestring/ber.c +7 -8
  1507. data/third_party/boringssl-with-bazel/src/crypto/bytestring/cbb.c +42 -12
  1508. data/third_party/boringssl-with-bazel/src/crypto/bytestring/internal.h +0 -22
  1509. data/third_party/boringssl-with-bazel/src/crypto/bytestring/unicode.c +9 -9
  1510. data/third_party/boringssl-with-bazel/src/crypto/chacha/chacha.c +34 -1
  1511. data/third_party/boringssl-with-bazel/src/crypto/chacha/internal.h +49 -3
  1512. data/third_party/boringssl-with-bazel/src/crypto/cipher_extra/e_aesgcmsiv.c +30 -42
  1513. data/third_party/boringssl-with-bazel/src/crypto/conf/conf.c +87 -96
  1514. data/third_party/boringssl-with-bazel/src/crypto/conf/internal.h +5 -1
  1515. data/third_party/boringssl-with-bazel/src/crypto/cpu_intel.c +4 -2
  1516. data/third_party/boringssl-with-bazel/src/crypto/crypto.c +11 -0
  1517. data/third_party/boringssl-with-bazel/src/crypto/curve25519/curve25519.c +4 -0
  1518. data/third_party/boringssl-with-bazel/src/crypto/curve25519/spake25519.c +1 -2
  1519. data/third_party/boringssl-with-bazel/src/crypto/des/des.c +105 -31
  1520. data/third_party/boringssl-with-bazel/src/crypto/des/internal.h +10 -81
  1521. data/third_party/boringssl-with-bazel/src/crypto/dsa/dsa.c +2 -15
  1522. data/third_party/boringssl-with-bazel/src/crypto/engine/engine.c +1 -9
  1523. data/third_party/boringssl-with-bazel/src/crypto/evp/evp.c +1 -5
  1524. data/third_party/boringssl-with-bazel/src/crypto/evp/evp_ctx.c +2 -5
  1525. data/third_party/boringssl-with-bazel/src/crypto/evp/p_ec.c +1 -4
  1526. data/third_party/boringssl-with-bazel/src/crypto/evp/p_hkdf.c +1 -2
  1527. data/third_party/boringssl-with-bazel/src/crypto/evp/p_rsa.c +1 -3
  1528. data/third_party/boringssl-with-bazel/src/crypto/evp/scrypt.c +2 -2
  1529. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bn/add.c +2 -8
  1530. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bn/bn.c +1 -1
  1531. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bn/bytes.c +26 -17
  1532. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bn/ctx.c +1 -1
  1533. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bn/exponentiation.c +4 -2
  1534. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bn/gcd.c +26 -5
  1535. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bn/generic.c +10 -41
  1536. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bn/internal.h +49 -2
  1537. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bn/montgomery.c +26 -0
  1538. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bn/montgomery_inv.c +27 -26
  1539. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bn/mul.c +2 -6
  1540. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bn/prime.c +1 -8
  1541. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bn/random.c +8 -2
  1542. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/cipher/cipher.c +11 -2
  1543. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/cipher/e_aes.c +11 -24
  1544. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/cipher/e_aesccm.c +43 -50
  1545. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/dh/dh.c +2 -6
  1546. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/digest/digest.c +4 -0
  1547. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/ec/ec.c +1 -2
  1548. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/ec/ec_key.c +16 -9
  1549. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/ec/p224-64.c +7 -6
  1550. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/ec/wnaf.c +2 -7
  1551. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/rand/fork_detect.c +51 -13
  1552. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/rand/fork_detect.h +17 -0
  1553. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/rand/rand.c +5 -2
  1554. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/rsa/blinding.c +1 -2
  1555. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/rsa/rsa.c +1 -3
  1556. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/rsa/rsa_impl.c +6 -5
  1557. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/self_check/fips.c +1 -2
  1558. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/sha/internal.h +153 -6
  1559. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/sha/sha1.c +87 -7
  1560. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/sha/sha256.c +39 -5
  1561. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/sha/sha512.c +32 -5
  1562. data/third_party/boringssl-with-bazel/src/crypto/internal.h +254 -54
  1563. data/third_party/boringssl-with-bazel/src/crypto/keccak/internal.h +70 -0
  1564. data/third_party/boringssl-with-bazel/src/crypto/keccak/keccak.c +279 -0
  1565. data/third_party/boringssl-with-bazel/src/crypto/kyber/internal.h +8 -39
  1566. data/third_party/boringssl-with-bazel/src/crypto/kyber/kyber.c +39 -29
  1567. data/third_party/boringssl-with-bazel/src/crypto/lhash/lhash.c +3 -6
  1568. data/third_party/boringssl-with-bazel/src/crypto/mem.c +17 -33
  1569. data/third_party/boringssl-with-bazel/src/crypto/obj/obj.c +36 -16
  1570. data/third_party/boringssl-with-bazel/src/crypto/obj/obj_dat.h +0 -3
  1571. data/third_party/boringssl-with-bazel/src/crypto/pem/pem_info.c +31 -0
  1572. data/third_party/boringssl-with-bazel/src/crypto/pkcs7/pkcs7_x509.c +2 -4
  1573. data/third_party/boringssl-with-bazel/src/crypto/pkcs8/pkcs8.c +3 -3
  1574. data/third_party/boringssl-with-bazel/src/crypto/pkcs8/pkcs8_x509.c +9 -13
  1575. data/third_party/boringssl-with-bazel/src/crypto/pool/pool.c +3 -6
  1576. data/third_party/boringssl-with-bazel/src/crypto/rand_extra/forkunsafe.c +4 -0
  1577. data/third_party/boringssl-with-bazel/src/crypto/rsa_extra/rsa_crypt.c +3 -1
  1578. data/third_party/boringssl-with-bazel/src/crypto/spx/address.c +101 -0
  1579. data/third_party/boringssl-with-bazel/src/crypto/spx/address.h +50 -0
  1580. data/third_party/boringssl-with-bazel/src/crypto/spx/fors.c +133 -0
  1581. data/third_party/boringssl-with-bazel/src/crypto/spx/fors.h +54 -0
  1582. data/third_party/boringssl-with-bazel/src/crypto/spx/internal.h +79 -0
  1583. data/third_party/boringssl-with-bazel/src/crypto/spx/merkle.c +150 -0
  1584. data/third_party/boringssl-with-bazel/src/crypto/spx/merkle.h +61 -0
  1585. data/third_party/boringssl-with-bazel/src/crypto/spx/params.h +71 -0
  1586. data/third_party/boringssl-with-bazel/src/crypto/spx/spx.c +139 -0
  1587. data/third_party/boringssl-with-bazel/src/crypto/spx/spx_util.c +53 -0
  1588. data/third_party/boringssl-with-bazel/src/crypto/spx/spx_util.h +44 -0
  1589. data/third_party/boringssl-with-bazel/src/crypto/spx/thash.c +136 -0
  1590. data/third_party/boringssl-with-bazel/src/crypto/spx/thash.h +70 -0
  1591. data/third_party/boringssl-with-bazel/src/crypto/spx/wots.c +135 -0
  1592. data/third_party/boringssl-with-bazel/src/crypto/spx/wots.h +45 -0
  1593. data/third_party/boringssl-with-bazel/src/crypto/stack/stack.c +4 -9
  1594. data/third_party/boringssl-with-bazel/src/crypto/trust_token/pmbtoken.c +10 -22
  1595. data/third_party/boringssl-with-bazel/src/crypto/trust_token/trust_token.c +3 -6
  1596. data/third_party/boringssl-with-bazel/src/crypto/trust_token/voprf.c +12 -36
  1597. data/third_party/boringssl-with-bazel/src/crypto/x509/algorithm.c +1 -2
  1598. data/third_party/boringssl-with-bazel/src/crypto/x509/asn1_gen.c +0 -2
  1599. data/third_party/boringssl-with-bazel/src/crypto/x509/by_dir.c +14 -9
  1600. data/third_party/boringssl-with-bazel/src/crypto/x509/by_file.c +23 -33
  1601. data/third_party/boringssl-with-bazel/src/crypto/x509/internal.h +225 -51
  1602. data/third_party/boringssl-with-bazel/src/crypto/x509/policy.c +2 -6
  1603. data/third_party/boringssl-with-bazel/src/crypto/x509/rsa_pss.c +6 -2
  1604. data/third_party/boringssl-with-bazel/src/crypto/x509/t_crl.c +1 -1
  1605. data/third_party/boringssl-with-bazel/src/crypto/x509/t_req.c +1 -4
  1606. data/third_party/boringssl-with-bazel/src/crypto/x509/t_x509.c +1 -3
  1607. data/third_party/boringssl-with-bazel/src/crypto/x509/v3_akey.c +221 -0
  1608. data/third_party/boringssl-with-bazel/src/crypto/x509/v3_akeya.c +73 -0
  1609. data/third_party/boringssl-with-bazel/src/crypto/x509/v3_alt.c +634 -0
  1610. data/third_party/boringssl-with-bazel/src/crypto/x509/v3_bcons.c +135 -0
  1611. data/third_party/boringssl-with-bazel/src/crypto/x509/v3_bitst.c +141 -0
  1612. data/third_party/boringssl-with-bazel/src/crypto/x509/v3_conf.c +416 -0
  1613. data/third_party/boringssl-with-bazel/src/crypto/x509/v3_cpols.c +477 -0
  1614. data/third_party/boringssl-with-bazel/src/crypto/x509/v3_crld.c +598 -0
  1615. data/third_party/boringssl-with-bazel/src/crypto/x509/v3_enum.c +112 -0
  1616. data/third_party/boringssl-with-bazel/src/crypto/x509/v3_extku.c +154 -0
  1617. data/third_party/boringssl-with-bazel/src/crypto/x509/v3_genn.c +270 -0
  1618. data/third_party/boringssl-with-bazel/src/crypto/x509/v3_ia5.c +122 -0
  1619. data/third_party/boringssl-with-bazel/src/crypto/x509/v3_info.c +211 -0
  1620. data/third_party/boringssl-with-bazel/src/crypto/x509/v3_int.c +121 -0
  1621. data/third_party/boringssl-with-bazel/src/crypto/x509/v3_lib.c +342 -0
  1622. data/third_party/boringssl-with-bazel/src/crypto/x509/v3_ncons.c +555 -0
  1623. data/third_party/boringssl-with-bazel/src/crypto/x509/v3_ocsp.c +81 -0
  1624. data/third_party/boringssl-with-bazel/src/crypto/x509/v3_pcons.c +142 -0
  1625. data/third_party/boringssl-with-bazel/src/crypto/x509/v3_pmaps.c +150 -0
  1626. data/third_party/boringssl-with-bazel/src/crypto/x509/v3_prn.c +224 -0
  1627. data/third_party/boringssl-with-bazel/src/crypto/x509/v3_purp.c +645 -0
  1628. data/third_party/boringssl-with-bazel/src/crypto/x509/v3_skey.c +170 -0
  1629. data/third_party/boringssl-with-bazel/src/crypto/x509/v3_utl.c +1357 -0
  1630. data/third_party/boringssl-with-bazel/src/crypto/x509/x509_att.c +35 -32
  1631. data/third_party/boringssl-with-bazel/src/crypto/x509/x509_cmp.c +44 -59
  1632. data/third_party/boringssl-with-bazel/src/crypto/x509/x509_ext.c +0 -1
  1633. data/third_party/boringssl-with-bazel/src/crypto/x509/x509_lu.c +107 -255
  1634. data/third_party/boringssl-with-bazel/src/crypto/x509/x509_req.c +32 -20
  1635. data/third_party/boringssl-with-bazel/src/crypto/x509/x509_trs.c +25 -152
  1636. data/third_party/boringssl-with-bazel/src/crypto/x509/x509_v3.c +0 -1
  1637. data/third_party/boringssl-with-bazel/src/crypto/x509/x509_vfy.c +330 -944
  1638. data/third_party/boringssl-with-bazel/src/crypto/x509/x509_vpm.c +93 -215
  1639. data/third_party/boringssl-with-bazel/src/crypto/x509/x509name.c +28 -6
  1640. data/third_party/boringssl-with-bazel/src/crypto/x509/x509spki.c +1 -1
  1641. data/third_party/boringssl-with-bazel/src/crypto/x509/x_crl.c +35 -129
  1642. data/third_party/boringssl-with-bazel/src/crypto/x509/x_name.c +7 -8
  1643. data/third_party/boringssl-with-bazel/src/crypto/x509/x_pubkey.c +46 -50
  1644. data/third_party/boringssl-with-bazel/src/crypto/x509/x_spki.c +2 -0
  1645. data/third_party/boringssl-with-bazel/src/crypto/x509/x_x509.c +1 -4
  1646. data/third_party/boringssl-with-bazel/src/crypto/x509/x_x509a.c +6 -6
  1647. data/third_party/boringssl-with-bazel/src/include/openssl/arm_arch.h +0 -21
  1648. data/third_party/boringssl-with-bazel/src/include/openssl/asm_base.h +5 -6
  1649. data/third_party/boringssl-with-bazel/src/include/openssl/base.h +3 -1
  1650. data/third_party/boringssl-with-bazel/src/include/openssl/bio.h +24 -0
  1651. data/third_party/boringssl-with-bazel/src/include/openssl/bn.h +14 -5
  1652. data/third_party/boringssl-with-bazel/src/include/openssl/bytestring.h +22 -0
  1653. data/third_party/boringssl-with-bazel/src/include/openssl/cipher.h +1 -0
  1654. data/third_party/boringssl-with-bazel/src/include/openssl/conf.h +4 -1
  1655. data/third_party/boringssl-with-bazel/src/include/openssl/curve25519.h +2 -2
  1656. data/third_party/boringssl-with-bazel/src/include/openssl/des.h +0 -13
  1657. data/third_party/boringssl-with-bazel/src/include/openssl/ec.h +33 -11
  1658. data/third_party/boringssl-with-bazel/src/include/openssl/evp.h +1 -1
  1659. data/third_party/boringssl-with-bazel/src/include/openssl/ex_data.h +5 -4
  1660. data/third_party/boringssl-with-bazel/src/include/openssl/kyber.h +26 -18
  1661. data/third_party/boringssl-with-bazel/src/include/openssl/mem.h +13 -6
  1662. data/third_party/boringssl-with-bazel/src/include/openssl/obj.h +5 -1
  1663. data/third_party/boringssl-with-bazel/src/include/openssl/opensslconf.h +1 -0
  1664. data/third_party/boringssl-with-bazel/src/include/openssl/pem.h +19 -5
  1665. data/third_party/boringssl-with-bazel/src/include/openssl/posix_time.h +45 -0
  1666. data/third_party/boringssl-with-bazel/src/include/openssl/rand.h +5 -0
  1667. data/third_party/boringssl-with-bazel/src/include/openssl/sha.h +20 -3
  1668. data/third_party/boringssl-with-bazel/src/include/openssl/span.h +18 -20
  1669. data/third_party/boringssl-with-bazel/src/include/openssl/ssl.h +76 -60
  1670. data/third_party/boringssl-with-bazel/src/include/openssl/target.h +31 -6
  1671. data/third_party/boringssl-with-bazel/src/include/openssl/time.h +3 -22
  1672. data/third_party/boringssl-with-bazel/src/include/openssl/tls1.h +2 -1
  1673. data/third_party/boringssl-with-bazel/src/include/openssl/x509.h +2806 -941
  1674. data/third_party/boringssl-with-bazel/src/include/openssl/x509v3.h +38 -1025
  1675. data/third_party/boringssl-with-bazel/src/include/openssl/x509v3_errors.h +124 -0
  1676. data/third_party/boringssl-with-bazel/src/ssl/d1_both.cc +1 -2
  1677. data/third_party/boringssl-with-bazel/src/ssl/extensions.cc +82 -9
  1678. data/third_party/boringssl-with-bazel/src/ssl/handoff.cc +42 -4
  1679. data/third_party/boringssl-with-bazel/src/ssl/internal.h +4 -0
  1680. data/third_party/boringssl-with-bazel/src/ssl/ssl_key_share.cc +4 -5
  1681. data/third_party/boringssl-with-bazel/src/ssl/ssl_lib.cc +9 -1
  1682. data/third_party/boringssl-with-bazel/src/ssl/ssl_x509.cc +0 -1
  1683. data/third_party/boringssl-with-bazel/src/ssl/tls13_client.cc +5 -1
  1684. data/third_party/boringssl-with-bazel/src/ssl/tls13_server.cc +5 -1
  1685. data/third_party/boringssl-with-bazel/src/third_party/fiat/curve25519_64_adx.h +4 -2
  1686. data/third_party/boringssl-with-bazel/src/third_party/fiat/p256_64.h +21 -0
  1687. data/third_party/cares/config_linux/ares_config.h +2 -38
  1688. data/third_party/upb/upb/base/descriptor_constants.h +7 -27
  1689. data/third_party/upb/upb/base/internal/log2.h +38 -0
  1690. data/third_party/upb/upb/base/status.c +6 -26
  1691. data/third_party/upb/upb/base/status.h +6 -26
  1692. data/third_party/upb/upb/base/status.hpp +50 -0
  1693. data/third_party/upb/upb/base/string_view.h +11 -28
  1694. data/third_party/upb/upb/generated_code_support.h +13 -34
  1695. data/third_party/upb/upb/hash/common.c +7 -44
  1696. data/third_party/upb/upb/hash/common.h +16 -42
  1697. data/third_party/upb/upb/hash/int_table.h +6 -26
  1698. data/third_party/upb/upb/hash/str_table.h +6 -26
  1699. data/third_party/upb/upb/json/decode.c +31 -28
  1700. data/third_party/upb/upb/json/decode.h +32 -29
  1701. data/third_party/upb/upb/json/encode.c +31 -28
  1702. data/third_party/upb/upb/json/encode.h +35 -32
  1703. data/third_party/upb/upb/lex/atoi.c +6 -26
  1704. data/third_party/upb/upb/lex/atoi.h +8 -26
  1705. data/third_party/upb/upb/lex/round_trip.c +6 -26
  1706. data/third_party/upb/upb/lex/round_trip.h +6 -26
  1707. data/third_party/upb/upb/lex/strtod.c +6 -26
  1708. data/third_party/upb/upb/lex/strtod.h +6 -26
  1709. data/third_party/upb/upb/lex/unicode.c +6 -26
  1710. data/third_party/upb/upb/lex/unicode.h +8 -26
  1711. data/third_party/upb/upb/mem/alloc.c +6 -26
  1712. data/third_party/upb/upb/mem/alloc.h +6 -26
  1713. data/third_party/upb/upb/mem/arena.c +30 -29
  1714. data/third_party/upb/upb/mem/arena.h +16 -44
  1715. data/third_party/upb/upb/mem/arena.hpp +54 -0
  1716. data/third_party/upb/upb/mem/internal/arena.h +94 -0
  1717. data/third_party/upb/upb/message/accessors.c +10 -31
  1718. data/third_party/upb/upb/message/accessors.h +12 -32
  1719. data/third_party/upb/upb/message/array.c +154 -0
  1720. data/third_party/upb/upb/message/array.h +98 -0
  1721. data/third_party/upb/upb/message/internal/accessors.h +367 -0
  1722. data/third_party/upb/upb/message/internal/array.h +138 -0
  1723. data/third_party/upb/upb/message/internal/extension.h +63 -0
  1724. data/third_party/upb/upb/message/internal/map.h +173 -0
  1725. data/third_party/upb/upb/message/internal/map_entry.h +35 -33
  1726. data/third_party/upb/upb/message/internal/map_sorter.h +112 -0
  1727. data/third_party/upb/upb/message/internal/message.h +106 -0
  1728. data/third_party/upb/upb/message/internal/types.h +23 -0
  1729. data/third_party/upb/upb/message/map.c +145 -0
  1730. data/third_party/upb/upb/message/map.h +147 -0
  1731. data/third_party/upb/upb/message/map_gencode_util.h +81 -0
  1732. data/third_party/upb/upb/message/map_sorter.c +170 -0
  1733. data/third_party/upb/upb/message/message.c +8 -28
  1734. data/third_party/upb/upb/message/message.h +9 -26
  1735. data/third_party/upb/upb/message/tagged_ptr.h +8 -28
  1736. data/third_party/upb/upb/message/types.h +15 -0
  1737. data/third_party/upb/upb/message/value.h +46 -0
  1738. data/third_party/upb/upb/mini_descriptor/build_enum.c +6 -26
  1739. data/third_party/upb/upb/mini_descriptor/build_enum.h +7 -28
  1740. data/third_party/upb/upb/mini_descriptor/decode.c +21 -26
  1741. data/third_party/upb/upb/mini_descriptor/decode.h +6 -26
  1742. data/third_party/upb/upb/mini_descriptor/internal/base92.c +6 -26
  1743. data/third_party/upb/upb/mini_descriptor/internal/base92.h +9 -27
  1744. data/third_party/upb/upb/mini_descriptor/internal/decoder.h +6 -26
  1745. data/third_party/upb/upb/mini_descriptor/internal/encode.c +25 -28
  1746. data/third_party/upb/upb/mini_descriptor/internal/encode.h +8 -26
  1747. data/third_party/upb/upb/mini_descriptor/internal/encode.hpp +21 -39
  1748. data/third_party/upb/upb/mini_descriptor/internal/modifiers.h +8 -26
  1749. data/third_party/upb/upb/mini_descriptor/internal/wire_constants.h +7 -26
  1750. data/third_party/upb/upb/mini_descriptor/link.c +8 -28
  1751. data/third_party/upb/upb/mini_descriptor/link.h +6 -26
  1752. data/third_party/upb/upb/mini_table/enum.h +14 -26
  1753. data/third_party/upb/upb/mini_table/extension.h +6 -31
  1754. data/third_party/upb/upb/mini_table/extension_registry.c +6 -26
  1755. data/third_party/upb/upb/mini_table/extension_registry.h +7 -27
  1756. data/third_party/upb/upb/mini_table/field.h +6 -26
  1757. data/third_party/upb/upb/mini_table/file.h +6 -26
  1758. data/third_party/upb/upb/mini_table/internal/enum.h +8 -26
  1759. data/third_party/upb/upb/mini_table/internal/extension.h +6 -26
  1760. data/third_party/upb/upb/mini_table/internal/field.h +8 -30
  1761. data/third_party/upb/upb/mini_table/internal/file.h +9 -29
  1762. data/third_party/upb/upb/mini_table/internal/message.c +6 -26
  1763. data/third_party/upb/upb/mini_table/internal/message.h +7 -32
  1764. data/third_party/upb/upb/mini_table/internal/sub.h +6 -27
  1765. data/third_party/upb/upb/mini_table/message.c +6 -26
  1766. data/third_party/upb/upb/mini_table/message.h +6 -26
  1767. data/third_party/upb/upb/mini_table/sub.h +6 -26
  1768. data/third_party/upb/upb/port/atomic.h +8 -26
  1769. data/third_party/upb/upb/port/def.inc +28 -29
  1770. data/third_party/upb/upb/port/undef.inc +8 -26
  1771. data/third_party/upb/upb/port/vsnprintf_compat.h +6 -26
  1772. data/third_party/upb/upb/reflection/common.h +11 -27
  1773. data/third_party/upb/upb/reflection/def.h +8 -26
  1774. data/third_party/upb/upb/reflection/def.hpp +10 -27
  1775. data/third_party/upb/upb/reflection/def_pool.c +16 -35
  1776. data/third_party/upb/upb/reflection/def_pool.h +17 -38
  1777. data/third_party/upb/upb/reflection/def_type.c +6 -26
  1778. data/third_party/upb/upb/reflection/def_type.h +6 -27
  1779. data/third_party/upb/upb/reflection/desc_state.c +7 -27
  1780. data/third_party/upb/upb/reflection/enum_def.c +18 -36
  1781. data/third_party/upb/upb/reflection/enum_def.h +13 -33
  1782. data/third_party/upb/upb/reflection/enum_reserved_range.c +9 -30
  1783. data/third_party/upb/upb/reflection/enum_reserved_range.h +6 -26
  1784. data/third_party/upb/upb/reflection/enum_value_def.c +13 -32
  1785. data/third_party/upb/upb/reflection/enum_value_def.h +8 -28
  1786. data/third_party/upb/upb/reflection/extension_range.c +9 -28
  1787. data/third_party/upb/upb/reflection/extension_range.h +6 -26
  1788. data/third_party/upb/upb/reflection/field_def.c +68 -51
  1789. data/third_party/upb/upb/reflection/field_def.h +25 -42
  1790. data/third_party/upb/upb/reflection/file_def.c +23 -48
  1791. data/third_party/upb/upb/reflection/file_def.h +10 -30
  1792. data/third_party/upb/upb/reflection/internal/def_builder.c +339 -0
  1793. data/third_party/upb/upb/reflection/internal/def_builder.h +137 -0
  1794. data/third_party/upb/upb/reflection/internal/def_pool.h +57 -0
  1795. data/third_party/upb/upb/reflection/internal/desc_state.h +44 -0
  1796. data/third_party/upb/upb/reflection/internal/enum_def.h +36 -0
  1797. data/third_party/upb/upb/reflection/internal/enum_reserved_range.h +35 -0
  1798. data/third_party/upb/upb/reflection/internal/enum_value_def.h +37 -0
  1799. data/third_party/upb/upb/reflection/internal/extension_range.h +34 -0
  1800. data/third_party/upb/upb/reflection/internal/field_def.h +56 -0
  1801. data/third_party/upb/upb/reflection/internal/file_def.h +37 -0
  1802. data/third_party/upb/upb/reflection/internal/message_def.h +43 -0
  1803. data/third_party/upb/upb/reflection/internal/message_reserved_range.h +35 -0
  1804. data/third_party/upb/upb/reflection/internal/method_def.h +33 -0
  1805. data/third_party/upb/upb/reflection/internal/oneof_def.h +37 -0
  1806. data/third_party/upb/upb/reflection/internal/service_def.h +33 -0
  1807. data/third_party/upb/upb/reflection/internal/strdup2.c +33 -0
  1808. data/third_party/upb/upb/reflection/internal/strdup2.h +32 -0
  1809. data/third_party/upb/upb/reflection/message.c +8 -28
  1810. data/third_party/upb/upb/reflection/message.h +27 -40
  1811. data/third_party/upb/upb/reflection/message.hpp +5 -23
  1812. data/third_party/upb/upb/reflection/message_def.c +70 -54
  1813. data/third_party/upb/upb/reflection/message_def.h +25 -43
  1814. data/third_party/upb/upb/reflection/message_reserved_range.c +8 -28
  1815. data/third_party/upb/upb/reflection/message_reserved_range.h +6 -26
  1816. data/third_party/upb/upb/reflection/method_def.c +10 -29
  1817. data/third_party/upb/upb/reflection/method_def.h +6 -26
  1818. data/third_party/upb/upb/reflection/oneof_def.c +15 -33
  1819. data/third_party/upb/upb/reflection/oneof_def.h +11 -30
  1820. data/third_party/upb/upb/reflection/service_def.c +12 -31
  1821. data/third_party/upb/upb/reflection/service_def.h +6 -26
  1822. data/third_party/upb/upb/text/encode.c +8 -28
  1823. data/third_party/upb/upb/text/encode.h +6 -26
  1824. data/third_party/upb/upb/wire/decode.c +39 -40
  1825. data/third_party/upb/upb/wire/decode.h +10 -26
  1826. data/third_party/upb/upb/wire/decode_fast.c +10 -28
  1827. data/third_party/upb/upb/wire/decode_fast.h +6 -26
  1828. data/third_party/upb/upb/wire/encode.c +30 -34
  1829. data/third_party/upb/upb/wire/encode.h +14 -30
  1830. data/third_party/upb/upb/wire/eps_copy_input_stream.c +6 -26
  1831. data/third_party/upb/upb/wire/eps_copy_input_stream.h +6 -26
  1832. data/third_party/upb/upb/wire/internal/constants.h +27 -0
  1833. data/third_party/upb/upb/wire/internal/decode.h +143 -0
  1834. data/third_party/upb/upb/wire/internal/swap.h +45 -0
  1835. data/third_party/upb/upb/wire/reader.c +6 -26
  1836. data/third_party/upb/upb/wire/reader.h +8 -28
  1837. data/third_party/upb/upb/wire/types.h +6 -26
  1838. data/third_party/zlib/adler32.c +5 -27
  1839. data/third_party/zlib/compress.c +5 -16
  1840. data/third_party/zlib/crc32.c +86 -162
  1841. data/third_party/zlib/deflate.c +233 -336
  1842. data/third_party/zlib/deflate.h +8 -8
  1843. data/third_party/zlib/gzguts.h +11 -12
  1844. data/third_party/zlib/infback.c +7 -23
  1845. data/third_party/zlib/inffast.c +1 -4
  1846. data/third_party/zlib/inffast.h +1 -1
  1847. data/third_party/zlib/inflate.c +30 -99
  1848. data/third_party/zlib/inftrees.c +6 -11
  1849. data/third_party/zlib/inftrees.h +3 -3
  1850. data/third_party/zlib/trees.c +224 -302
  1851. data/third_party/zlib/uncompr.c +4 -12
  1852. data/third_party/zlib/zconf.h +6 -2
  1853. data/third_party/zlib/zlib.h +191 -188
  1854. data/third_party/zlib/zutil.c +16 -44
  1855. data/third_party/zlib/zutil.h +10 -10
  1856. metadata +1085 -860
  1857. data/src/core/ext/filters/client_channel/backend_metric.cc +0 -95
  1858. data/src/core/ext/filters/client_channel/backend_metric.h +0 -47
  1859. data/src/core/ext/filters/client_channel/backup_poller.cc +0 -178
  1860. data/src/core/ext/filters/client_channel/backup_poller.h +0 -37
  1861. data/src/core/ext/filters/client_channel/channel_connectivity.cc +0 -265
  1862. data/src/core/ext/filters/client_channel/client_channel.cc +0 -3612
  1863. data/src/core/ext/filters/client_channel/client_channel.h +0 -639
  1864. data/src/core/ext/filters/client_channel/client_channel_channelz.cc +0 -93
  1865. data/src/core/ext/filters/client_channel/client_channel_channelz.h +0 -85
  1866. data/src/core/ext/filters/client_channel/client_channel_factory.cc +0 -32
  1867. data/src/core/ext/filters/client_channel/client_channel_factory.h +0 -46
  1868. data/src/core/ext/filters/client_channel/client_channel_internal.h +0 -77
  1869. data/src/core/ext/filters/client_channel/client_channel_plugin.cc +0 -56
  1870. data/src/core/ext/filters/client_channel/client_channel_service_config.cc +0 -153
  1871. data/src/core/ext/filters/client_channel/client_channel_service_config.h +0 -111
  1872. data/src/core/ext/filters/client_channel/config_selector.cc +0 -60
  1873. data/src/core/ext/filters/client_channel/config_selector.h +0 -125
  1874. data/src/core/ext/filters/client_channel/connector.h +0 -88
  1875. data/src/core/ext/filters/client_channel/dynamic_filters.cc +0 -175
  1876. data/src/core/ext/filters/client_channel/dynamic_filters.h +0 -110
  1877. data/src/core/ext/filters/client_channel/global_subchannel_pool.cc +0 -65
  1878. data/src/core/ext/filters/client_channel/global_subchannel_pool.h +0 -63
  1879. data/src/core/ext/filters/client_channel/http_proxy_mapper.cc +0 -238
  1880. data/src/core/ext/filters/client_channel/http_proxy_mapper.h +0 -52
  1881. data/src/core/ext/filters/client_channel/lb_policy/address_filtering.cc +0 -74
  1882. data/src/core/ext/filters/client_channel/lb_policy/address_filtering.h +0 -117
  1883. data/src/core/ext/filters/client_channel/lb_policy/backend_metric_data.h +0 -57
  1884. data/src/core/ext/filters/client_channel/lb_policy/child_policy_handler.cc +0 -315
  1885. data/src/core/ext/filters/client_channel/lb_policy/child_policy_handler.h +0 -88
  1886. data/src/core/ext/filters/client_channel/lb_policy/endpoint_list.cc +0 -188
  1887. data/src/core/ext/filters/client_channel/lb_policy/endpoint_list.h +0 -214
  1888. data/src/core/ext/filters/client_channel/lb_policy/grpclb/client_load_reporting_filter.cc +0 -85
  1889. data/src/core/ext/filters/client_channel/lb_policy/grpclb/client_load_reporting_filter.h +0 -46
  1890. data/src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb.cc +0 -1880
  1891. data/src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb.h +0 -39
  1892. data/src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_balancer_addresses.cc +0 -89
  1893. data/src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_balancer_addresses.h +0 -39
  1894. data/src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_client_stats.cc +0 -90
  1895. data/src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_client_stats.h +0 -81
  1896. data/src/core/ext/filters/client_channel/lb_policy/grpclb/load_balancer_api.cc +0 -202
  1897. data/src/core/ext/filters/client_channel/lb_policy/grpclb/load_balancer_api.h +0 -77
  1898. data/src/core/ext/filters/client_channel/lb_policy/health_check_client.cc +0 -515
  1899. data/src/core/ext/filters/client_channel/lb_policy/health_check_client.h +0 -52
  1900. data/src/core/ext/filters/client_channel/lb_policy/health_check_client_internal.h +0 -204
  1901. data/src/core/ext/filters/client_channel/lb_policy/oob_backend_metric.cc +0 -335
  1902. data/src/core/ext/filters/client_channel/lb_policy/oob_backend_metric.h +0 -57
  1903. data/src/core/ext/filters/client_channel/lb_policy/oob_backend_metric_internal.h +0 -119
  1904. data/src/core/ext/filters/client_channel/lb_policy/outlier_detection/outlier_detection.cc +0 -1116
  1905. data/src/core/ext/filters/client_channel/lb_policy/outlier_detection/outlier_detection.h +0 -94
  1906. data/src/core/ext/filters/client_channel/lb_policy/pick_first/pick_first.cc +0 -875
  1907. data/src/core/ext/filters/client_channel/lb_policy/pick_first/pick_first.h +0 -36
  1908. data/src/core/ext/filters/client_channel/lb_policy/priority/priority.cc +0 -897
  1909. data/src/core/ext/filters/client_channel/lb_policy/ring_hash/ring_hash.cc +0 -856
  1910. data/src/core/ext/filters/client_channel/lb_policy/ring_hash/ring_hash.h +0 -64
  1911. data/src/core/ext/filters/client_channel/lb_policy/rls/rls.cc +0 -2457
  1912. data/src/core/ext/filters/client_channel/lb_policy/round_robin/round_robin.cc +0 -921
  1913. data/src/core/ext/filters/client_channel/lb_policy/subchannel_list.h +0 -456
  1914. data/src/core/ext/filters/client_channel/lb_policy/weighted_round_robin/static_stride_scheduler.cc +0 -198
  1915. data/src/core/ext/filters/client_channel/lb_policy/weighted_round_robin/static_stride_scheduler.h +0 -71
  1916. data/src/core/ext/filters/client_channel/lb_policy/weighted_round_robin/weighted_round_robin.cc +0 -1813
  1917. data/src/core/ext/filters/client_channel/lb_policy/weighted_target/weighted_target.cc +0 -752
  1918. data/src/core/ext/filters/client_channel/lb_policy/xds/cds.cc +0 -712
  1919. data/src/core/ext/filters/client_channel/lb_policy/xds/xds_channel_args.h +0 -37
  1920. data/src/core/ext/filters/client_channel/lb_policy/xds/xds_cluster_impl.cc +0 -750
  1921. data/src/core/ext/filters/client_channel/lb_policy/xds/xds_cluster_manager.cc +0 -650
  1922. data/src/core/ext/filters/client_channel/lb_policy/xds/xds_cluster_resolver.cc +0 -1173
  1923. data/src/core/ext/filters/client_channel/lb_policy/xds/xds_override_host.cc +0 -832
  1924. data/src/core/ext/filters/client_channel/lb_policy/xds/xds_override_host.h +0 -67
  1925. data/src/core/ext/filters/client_channel/lb_policy/xds/xds_wrr_locality.cc +0 -301
  1926. data/src/core/ext/filters/client_channel/local_subchannel_pool.cc +0 -60
  1927. data/src/core/ext/filters/client_channel/local_subchannel_pool.h +0 -59
  1928. data/src/core/ext/filters/client_channel/resolver/binder/binder_resolver.cc +0 -148
  1929. data/src/core/ext/filters/client_channel/resolver/dns/c_ares/dns_resolver_ares.cc +0 -758
  1930. data/src/core/ext/filters/client_channel/resolver/dns/c_ares/dns_resolver_ares.h +0 -30
  1931. data/src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_ev_driver.h +0 -90
  1932. data/src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_ev_driver_posix.cc +0 -206
  1933. data/src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_ev_driver_windows.cc +0 -818
  1934. data/src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper.cc +0 -1218
  1935. data/src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper.h +0 -139
  1936. data/src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper_posix.cc +0 -29
  1937. data/src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper_windows.cc +0 -35
  1938. data/src/core/ext/filters/client_channel/resolver/dns/dns_resolver_plugin.cc +0 -66
  1939. data/src/core/ext/filters/client_channel/resolver/dns/dns_resolver_plugin.h +0 -27
  1940. data/src/core/ext/filters/client_channel/resolver/dns/event_engine/event_engine_client_channel_resolver.cc +0 -586
  1941. data/src/core/ext/filters/client_channel/resolver/dns/event_engine/event_engine_client_channel_resolver.h +0 -35
  1942. data/src/core/ext/filters/client_channel/resolver/dns/event_engine/service_config_helper.cc +0 -97
  1943. data/src/core/ext/filters/client_channel/resolver/dns/event_engine/service_config_helper.h +0 -32
  1944. data/src/core/ext/filters/client_channel/resolver/dns/native/dns_resolver.cc +0 -184
  1945. data/src/core/ext/filters/client_channel/resolver/dns/native/dns_resolver.h +0 -24
  1946. data/src/core/ext/filters/client_channel/resolver/fake/fake_resolver.cc +0 -386
  1947. data/src/core/ext/filters/client_channel/resolver/fake/fake_resolver.h +0 -144
  1948. data/src/core/ext/filters/client_channel/resolver/google_c2p/google_c2p_resolver.cc +0 -326
  1949. data/src/core/ext/filters/client_channel/resolver/polling_resolver.cc +0 -274
  1950. data/src/core/ext/filters/client_channel/resolver/polling_resolver.h +0 -121
  1951. data/src/core/ext/filters/client_channel/resolver/sockaddr/sockaddr_resolver.cc +0 -202
  1952. data/src/core/ext/filters/client_channel/resolver/xds/xds_resolver.cc +0 -1286
  1953. data/src/core/ext/filters/client_channel/resolver/xds/xds_resolver.h +0 -61
  1954. data/src/core/ext/filters/client_channel/retry_filter.cc +0 -160
  1955. data/src/core/ext/filters/client_channel/retry_filter.h +0 -122
  1956. data/src/core/ext/filters/client_channel/retry_filter_legacy_call_data.cc +0 -2052
  1957. data/src/core/ext/filters/client_channel/retry_filter_legacy_call_data.h +0 -442
  1958. data/src/core/ext/filters/client_channel/retry_service_config.cc +0 -283
  1959. data/src/core/ext/filters/client_channel/retry_service_config.h +0 -105
  1960. data/src/core/ext/filters/client_channel/retry_throttle.cc +0 -139
  1961. data/src/core/ext/filters/client_channel/retry_throttle.h +0 -92
  1962. data/src/core/ext/filters/client_channel/service_config_channel_arg_filter.cc +0 -124
  1963. data/src/core/ext/filters/client_channel/subchannel.cc +0 -811
  1964. data/src/core/ext/filters/client_channel/subchannel.h +0 -387
  1965. data/src/core/ext/filters/client_channel/subchannel_interface_internal.h +0 -41
  1966. data/src/core/ext/filters/client_channel/subchannel_pool_interface.cc +0 -66
  1967. data/src/core/ext/filters/client_channel/subchannel_pool_interface.h +0 -100
  1968. data/src/core/ext/filters/client_channel/subchannel_stream_client.cc +0 -469
  1969. data/src/core/ext/filters/client_channel/subchannel_stream_client.h +0 -225
  1970. data/src/core/ext/upb-generated/envoy/admin/v3/certs.upb.c +0 -150
  1971. data/src/core/ext/upb-generated/envoy/admin/v3/certs.upb.h +0 -727
  1972. data/src/core/ext/upb-generated/envoy/admin/v3/clusters.upb.c +0 -181
  1973. data/src/core/ext/upb-generated/envoy/admin/v3/clusters.upb.h +0 -827
  1974. data/src/core/ext/upb-generated/envoy/admin/v3/config_dump.upb.c +0 -158
  1975. data/src/core/ext/upb-generated/envoy/admin/v3/config_dump.upb.h +0 -735
  1976. data/src/core/ext/upb-generated/envoy/admin/v3/config_dump_shared.upb.c +0 -533
  1977. data/src/core/ext/upb-generated/envoy/admin/v3/config_dump_shared.upb.h +0 -2788
  1978. data/src/core/ext/upb-generated/envoy/admin/v3/init_dump.upb.c +0 -67
  1979. data/src/core/ext/upb-generated/envoy/admin/v3/init_dump.upb.h +0 -248
  1980. data/src/core/ext/upb-generated/envoy/admin/v3/listeners.upb.c +0 -75
  1981. data/src/core/ext/upb-generated/envoy/admin/v3/listeners.upb.h +0 -279
  1982. data/src/core/ext/upb-generated/envoy/admin/v3/memory.upb.c +0 -57
  1983. data/src/core/ext/upb-generated/envoy/admin/v3/memory.upb.h +0 -160
  1984. data/src/core/ext/upb-generated/envoy/admin/v3/metrics.upb.c +0 -50
  1985. data/src/core/ext/upb-generated/envoy/admin/v3/metrics.upb.h +0 -120
  1986. data/src/core/ext/upb-generated/envoy/admin/v3/mutex_stats.upb.c +0 -50
  1987. data/src/core/ext/upb-generated/envoy/admin/v3/mutex_stats.upb.h +0 -115
  1988. data/src/core/ext/upb-generated/envoy/admin/v3/server_info.upb.c +0 -151
  1989. data/src/core/ext/upb-generated/envoy/admin/v3/server_info.upb.h +0 -927
  1990. data/src/core/ext/upb-generated/envoy/admin/v3/tap.upb.c +0 -55
  1991. data/src/core/ext/upb-generated/envoy/admin/v3/tap.upb.h +0 -114
  1992. data/src/core/ext/upb-generated/envoy/annotations/deprecation.upb.c +0 -61
  1993. data/src/core/ext/upb-generated/envoy/annotations/deprecation.upb.h +0 -126
  1994. data/src/core/ext/upb-generated/envoy/annotations/resource.upb.c +0 -58
  1995. data/src/core/ext/upb-generated/envoy/annotations/resource.upb.h +0 -110
  1996. data/src/core/ext/upb-generated/envoy/config/accesslog/v3/accesslog.upb.c +0 -376
  1997. data/src/core/ext/upb-generated/envoy/config/accesslog/v3/accesslog.upb.h +0 -1764
  1998. data/src/core/ext/upb-generated/envoy/config/bootstrap/v3/bootstrap.upb.c +0 -570
  1999. data/src/core/ext/upb-generated/envoy/config/bootstrap/v3/bootstrap.upb.h +0 -3249
  2000. data/src/core/ext/upb-generated/envoy/config/cluster/v3/circuit_breaker.upb.c +0 -126
  2001. data/src/core/ext/upb-generated/envoy/config/cluster/v3/circuit_breaker.upb.h +0 -524
  2002. data/src/core/ext/upb-generated/envoy/config/cluster/v3/cluster.upb.c +0 -730
  2003. data/src/core/ext/upb-generated/envoy/config/cluster/v3/cluster.upb.h +0 -3918
  2004. data/src/core/ext/upb-generated/envoy/config/cluster/v3/filter.upb.c +0 -55
  2005. data/src/core/ext/upb-generated/envoy/config/cluster/v3/filter.upb.h +0 -114
  2006. data/src/core/ext/upb-generated/envoy/config/cluster/v3/outlier_detection.upb.c +0 -124
  2007. data/src/core/ext/upb-generated/envoy/config/cluster/v3/outlier_detection.upb.h +0 -656
  2008. data/src/core/ext/upb-generated/envoy/config/common/matcher/v3/matcher.upb.c +0 -396
  2009. data/src/core/ext/upb-generated/envoy/config/common/matcher/v3/matcher.upb.h +0 -1841
  2010. data/src/core/ext/upb-generated/envoy/config/core/v3/address.upb.c +0 -225
  2011. data/src/core/ext/upb-generated/envoy/config/core/v3/address.upb.h +0 -1046
  2012. data/src/core/ext/upb-generated/envoy/config/core/v3/backoff.upb.c +0 -56
  2013. data/src/core/ext/upb-generated/envoy/config/core/v3/backoff.upb.h +0 -126
  2014. data/src/core/ext/upb-generated/envoy/config/core/v3/base.upb.c +0 -578
  2015. data/src/core/ext/upb-generated/envoy/config/core/v3/base.upb.h +0 -2440
  2016. data/src/core/ext/upb-generated/envoy/config/core/v3/config_source.upb.c +0 -226
  2017. data/src/core/ext/upb-generated/envoy/config/core/v3/config_source.upb.h +0 -1133
  2018. data/src/core/ext/upb-generated/envoy/config/core/v3/event_service_config.upb.c +0 -52
  2019. data/src/core/ext/upb-generated/envoy/config/core/v3/event_service_config.upb.h +0 -107
  2020. data/src/core/ext/upb-generated/envoy/config/core/v3/extension.upb.c +0 -54
  2021. data/src/core/ext/upb-generated/envoy/config/core/v3/extension.upb.h +0 -114
  2022. data/src/core/ext/upb-generated/envoy/config/core/v3/grpc_method_list.upb.c +0 -69
  2023. data/src/core/ext/upb-generated/envoy/config/core/v3/grpc_method_list.upb.h +0 -248
  2024. data/src/core/ext/upb-generated/envoy/config/core/v3/grpc_service.upb.c +0 -379
  2025. data/src/core/ext/upb-generated/envoy/config/core/v3/grpc_service.upb.h +0 -1699
  2026. data/src/core/ext/upb-generated/envoy/config/core/v3/health_check.upb.c +0 -316
  2027. data/src/core/ext/upb-generated/envoy/config/core/v3/health_check.upb.h +0 -1943
  2028. data/src/core/ext/upb-generated/envoy/config/core/v3/http_uri.upb.c +0 -56
  2029. data/src/core/ext/upb-generated/envoy/config/core/v3/http_uri.upb.h +0 -141
  2030. data/src/core/ext/upb-generated/envoy/config/core/v3/protocol.upb.c +0 -482
  2031. data/src/core/ext/upb-generated/envoy/config/core/v3/protocol.upb.h +0 -2256
  2032. data/src/core/ext/upb-generated/envoy/config/core/v3/proxy_protocol.upb.c +0 -71
  2033. data/src/core/ext/upb-generated/envoy/config/core/v3/proxy_protocol.upb.h +0 -237
  2034. data/src/core/ext/upb-generated/envoy/config/core/v3/resolver.upb.c +0 -73
  2035. data/src/core/ext/upb-generated/envoy/config/core/v3/resolver.upb.h +0 -231
  2036. data/src/core/ext/upb-generated/envoy/config/core/v3/socket_option.upb.c +0 -77
  2037. data/src/core/ext/upb-generated/envoy/config/core/v3/socket_option.upb.h +0 -285
  2038. data/src/core/ext/upb-generated/envoy/config/core/v3/substitution_format_string.upb.c +0 -67
  2039. data/src/core/ext/upb-generated/envoy/config/core/v3/substitution_format_string.upb.h +0 -252
  2040. data/src/core/ext/upb-generated/envoy/config/core/v3/udp_socket_config.upb.c +0 -55
  2041. data/src/core/ext/upb-generated/envoy/config/core/v3/udp_socket_config.upb.h +0 -128
  2042. data/src/core/ext/upb-generated/envoy/config/endpoint/v3/endpoint.upb.c +0 -139
  2043. data/src/core/ext/upb-generated/envoy/config/endpoint/v3/endpoint.upb.h +0 -490
  2044. data/src/core/ext/upb-generated/envoy/config/endpoint/v3/endpoint_components.upb.c +0 -205
  2045. data/src/core/ext/upb-generated/envoy/config/endpoint/v3/endpoint_components.upb.h +0 -867
  2046. data/src/core/ext/upb-generated/envoy/config/endpoint/v3/load_report.upb.c +0 -180
  2047. data/src/core/ext/upb-generated/envoy/config/endpoint/v3/load_report.upb.h +0 -912
  2048. data/src/core/ext/upb-generated/envoy/config/listener/v3/api_listener.upb.c +0 -51
  2049. data/src/core/ext/upb-generated/envoy/config/listener/v3/api_listener.upb.h +0 -99
  2050. data/src/core/ext/upb-generated/envoy/config/listener/v3/listener.upb.c +0 -267
  2051. data/src/core/ext/upb-generated/envoy/config/listener/v3/listener.upb.h +0 -1592
  2052. data/src/core/ext/upb-generated/envoy/config/listener/v3/listener_components.upb.c +0 -261
  2053. data/src/core/ext/upb-generated/envoy/config/listener/v3/listener_components.upb.h +0 -1451
  2054. data/src/core/ext/upb-generated/envoy/config/listener/v3/quic_config.upb.c +0 -87
  2055. data/src/core/ext/upb-generated/envoy/config/listener/v3/quic_config.upb.h +0 -323
  2056. data/src/core/ext/upb-generated/envoy/config/listener/v3/udp_listener_config.upb.c +0 -78
  2057. data/src/core/ext/upb-generated/envoy/config/listener/v3/udp_listener_config.upb.h +0 -196
  2058. data/src/core/ext/upb-generated/envoy/config/metrics/v3/metrics_service.upb.c +0 -65
  2059. data/src/core/ext/upb-generated/envoy/config/metrics/v3/metrics_service.upb.h +0 -179
  2060. data/src/core/ext/upb-generated/envoy/config/metrics/v3/stats.upb.c +0 -220
  2061. data/src/core/ext/upb-generated/envoy/config/metrics/v3/stats.upb.h +0 -980
  2062. data/src/core/ext/upb-generated/envoy/config/overload/v3/overload.upb.c +0 -251
  2063. data/src/core/ext/upb-generated/envoy/config/overload/v3/overload.upb.h +0 -1189
  2064. data/src/core/ext/upb-generated/envoy/config/rbac/v3/rbac.upb.c +0 -349
  2065. data/src/core/ext/upb-generated/envoy/config/rbac/v3/rbac.upb.h +0 -1709
  2066. data/src/core/ext/upb-generated/envoy/config/route/v3/route.upb.c +0 -134
  2067. data/src/core/ext/upb-generated/envoy/config/route/v3/route.upb.h +0 -859
  2068. data/src/core/ext/upb-generated/envoy/config/route/v3/route_components.upb.c +0 -1644
  2069. data/src/core/ext/upb-generated/envoy/config/route/v3/route_components.upb.h +0 -9590
  2070. data/src/core/ext/upb-generated/envoy/config/route/v3/scoped_route.upb.c +0 -98
  2071. data/src/core/ext/upb-generated/envoy/config/route/v3/scoped_route.upb.h +0 -339
  2072. data/src/core/ext/upb-generated/envoy/config/tap/v3/common.upb.c +0 -326
  2073. data/src/core/ext/upb-generated/envoy/config/tap/v3/common.upb.h +0 -1522
  2074. data/src/core/ext/upb-generated/envoy/config/trace/v3/datadog.upb.c +0 -52
  2075. data/src/core/ext/upb-generated/envoy/config/trace/v3/datadog.upb.h +0 -115
  2076. data/src/core/ext/upb-generated/envoy/config/trace/v3/dynamic_ot.upb.c +0 -56
  2077. data/src/core/ext/upb-generated/envoy/config/trace/v3/dynamic_ot.upb.h +0 -114
  2078. data/src/core/ext/upb-generated/envoy/config/trace/v3/http_tracer.upb.c +0 -74
  2079. data/src/core/ext/upb-generated/envoy/config/trace/v3/http_tracer.upb.h +0 -188
  2080. data/src/core/ext/upb-generated/envoy/config/trace/v3/lightstep.upb.c +0 -63
  2081. data/src/core/ext/upb-generated/envoy/config/trace/v3/lightstep.upb.h +0 -197
  2082. data/src/core/ext/upb-generated/envoy/config/trace/v3/opencensus.upb.c +0 -82
  2083. data/src/core/ext/upb-generated/envoy/config/trace/v3/opencensus.upb.h +0 -405
  2084. data/src/core/ext/upb-generated/envoy/config/trace/v3/opentelemetry.upb.c +0 -53
  2085. data/src/core/ext/upb-generated/envoy/config/trace/v3/opentelemetry.upb.h +0 -114
  2086. data/src/core/ext/upb-generated/envoy/config/trace/v3/service.upb.c +0 -52
  2087. data/src/core/ext/upb-generated/envoy/config/trace/v3/service.upb.h +0 -99
  2088. data/src/core/ext/upb-generated/envoy/config/trace/v3/skywalking.upb.c +0 -86
  2089. data/src/core/ext/upb-generated/envoy/config/trace/v3/skywalking.upb.h +0 -251
  2090. data/src/core/ext/upb-generated/envoy/config/trace/v3/trace.upb.c +0 -34
  2091. data/src/core/ext/upb-generated/envoy/config/trace/v3/trace.upb.h +0 -40
  2092. data/src/core/ext/upb-generated/envoy/config/trace/v3/xray.upb.c +0 -88
  2093. data/src/core/ext/upb-generated/envoy/config/trace/v3/xray.upb.h +0 -253
  2094. data/src/core/ext/upb-generated/envoy/config/trace/v3/zipkin.upb.c +0 -66
  2095. data/src/core/ext/upb-generated/envoy/config/trace/v3/zipkin.upb.h +0 -196
  2096. data/src/core/ext/upb-generated/envoy/data/accesslog/v3/accesslog.upb.c +0 -556
  2097. data/src/core/ext/upb-generated/envoy/data/accesslog/v3/accesslog.upb.h +0 -2702
  2098. data/src/core/ext/upb-generated/envoy/extensions/clusters/aggregate/v3/cluster.upb.c +0 -47
  2099. data/src/core/ext/upb-generated/envoy/extensions/clusters/aggregate/v3/cluster.upb.h +0 -131
  2100. data/src/core/ext/upb-generated/envoy/extensions/filters/common/fault/v3/fault.upb.c +0 -117
  2101. data/src/core/ext/upb-generated/envoy/extensions/filters/common/fault/v3/fault.upb.h +0 -429
  2102. data/src/core/ext/upb-generated/envoy/extensions/filters/http/fault/v3/fault.upb.c +0 -142
  2103. data/src/core/ext/upb-generated/envoy/extensions/filters/http/fault/v3/fault.upb.h +0 -656
  2104. data/src/core/ext/upb-generated/envoy/extensions/filters/http/rbac/v3/rbac.upb.c +0 -88
  2105. data/src/core/ext/upb-generated/envoy/extensions/filters/http/rbac/v3/rbac.upb.h +0 -263
  2106. data/src/core/ext/upb-generated/envoy/extensions/filters/http/router/v3/router.upb.c +0 -102
  2107. data/src/core/ext/upb-generated/envoy/extensions/filters/http/router/v3/router.upb.h +0 -460
  2108. data/src/core/ext/upb-generated/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upb.c +0 -73
  2109. data/src/core/ext/upb-generated/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upb.h +0 -193
  2110. data/src/core/ext/upb-generated/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upb.c +0 -680
  2111. data/src/core/ext/upb-generated/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upb.h +0 -3965
  2112. data/src/core/ext/upb-generated/envoy/extensions/http/stateful_session/cookie/v3/cookie.upb.c +0 -51
  2113. data/src/core/ext/upb-generated/envoy/extensions/http/stateful_session/cookie/v3/cookie.upb.h +0 -99
  2114. 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 -68
  2115. 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 -238
  2116. data/src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/common/v3/common.upb.c +0 -136
  2117. data/src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/common/v3/common.upb.h +0 -491
  2118. data/src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/pick_first/v3/pick_first.upb.c +0 -45
  2119. data/src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/pick_first/v3/pick_first.upb.h +0 -85
  2120. data/src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/ring_hash/v3/ring_hash.upb.c +0 -69
  2121. data/src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/ring_hash/v3/ring_hash.upb.h +0 -249
  2122. data/src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/wrr_locality/v3/wrr_locality.upb.c +0 -51
  2123. data/src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/wrr_locality/v3/wrr_locality.upb.h +0 -99
  2124. data/src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/cert.upb.c +0 -29
  2125. data/src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/cert.upb.h +0 -35
  2126. data/src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/common.upb.c +0 -263
  2127. data/src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/common.upb.h +0 -1471
  2128. data/src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/secret.upb.c +0 -109
  2129. data/src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/secret.upb.h +0 -361
  2130. data/src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/tls.upb.c +0 -268
  2131. data/src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/tls.upb.h +0 -1474
  2132. data/src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upb.c +0 -73
  2133. data/src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upb.h +0 -216
  2134. data/src/core/ext/upb-generated/envoy/service/discovery/v3/ads.upb.c +0 -39
  2135. data/src/core/ext/upb-generated/envoy/service/discovery/v3/ads.upb.h +0 -70
  2136. data/src/core/ext/upb-generated/envoy/service/discovery/v3/discovery.upb.c +0 -403
  2137. data/src/core/ext/upb-generated/envoy/service/discovery/v3/discovery.upb.h +0 -2153
  2138. data/src/core/ext/upb-generated/envoy/service/load_stats/v3/lrs.upb.c +0 -85
  2139. data/src/core/ext/upb-generated/envoy/service/load_stats/v3/lrs.upb.h +0 -323
  2140. data/src/core/ext/upb-generated/envoy/service/status/v3/csds.upb.c +0 -183
  2141. data/src/core/ext/upb-generated/envoy/service/status/v3/csds.upb.h +0 -915
  2142. data/src/core/ext/upb-generated/envoy/type/http/v3/cookie.upb.c +0 -55
  2143. data/src/core/ext/upb-generated/envoy/type/http/v3/cookie.upb.h +0 -129
  2144. data/src/core/ext/upb-generated/envoy/type/http/v3/path_transformation.upb.c +0 -87
  2145. data/src/core/ext/upb-generated/envoy/type/http/v3/path_transformation.upb.h +0 -313
  2146. data/src/core/ext/upb-generated/envoy/type/matcher/v3/filter_state.upb.c +0 -54
  2147. data/src/core/ext/upb-generated/envoy/type/matcher/v3/filter_state.upb.h +0 -122
  2148. data/src/core/ext/upb-generated/envoy/type/matcher/v3/http_inputs.upb.c +0 -106
  2149. data/src/core/ext/upb-generated/envoy/type/matcher/v3/http_inputs.upb.h +0 -301
  2150. data/src/core/ext/upb-generated/envoy/type/matcher/v3/metadata.upb.c +0 -77
  2151. data/src/core/ext/upb-generated/envoy/type/matcher/v3/metadata.upb.h +0 -258
  2152. data/src/core/ext/upb-generated/envoy/type/matcher/v3/node.upb.c +0 -56
  2153. data/src/core/ext/upb-generated/envoy/type/matcher/v3/node.upb.h +0 -164
  2154. data/src/core/ext/upb-generated/envoy/type/matcher/v3/number.upb.c +0 -55
  2155. data/src/core/ext/upb-generated/envoy/type/matcher/v3/number.upb.h +0 -127
  2156. data/src/core/ext/upb-generated/envoy/type/matcher/v3/path.upb.c +0 -52
  2157. data/src/core/ext/upb-generated/envoy/type/matcher/v3/path.upb.h +0 -107
  2158. data/src/core/ext/upb-generated/envoy/type/matcher/v3/regex.upb.c +0 -97
  2159. data/src/core/ext/upb-generated/envoy/type/matcher/v3/regex.upb.h +0 -269
  2160. data/src/core/ext/upb-generated/envoy/type/matcher/v3/status_code_input.upb.c +0 -44
  2161. data/src/core/ext/upb-generated/envoy/type/matcher/v3/status_code_input.upb.h +0 -109
  2162. data/src/core/ext/upb-generated/envoy/type/matcher/v3/string.upb.c +0 -82
  2163. data/src/core/ext/upb-generated/envoy/type/matcher/v3/string.upb.h +0 -304
  2164. data/src/core/ext/upb-generated/envoy/type/matcher/v3/struct.upb.c +0 -71
  2165. data/src/core/ext/upb-generated/envoy/type/matcher/v3/struct.upb.h +0 -228
  2166. data/src/core/ext/upb-generated/envoy/type/matcher/v3/value.upb.c +0 -93
  2167. data/src/core/ext/upb-generated/envoy/type/matcher/v3/value.upb.h +0 -346
  2168. data/src/core/ext/upb-generated/envoy/type/metadata/v3/metadata.upb.c +0 -128
  2169. data/src/core/ext/upb-generated/envoy/type/metadata/v3/metadata.upb.h +0 -528
  2170. data/src/core/ext/upb-generated/envoy/type/tracing/v3/custom_tag.upb.c +0 -140
  2171. data/src/core/ext/upb-generated/envoy/type/tracing/v3/custom_tag.upb.h +0 -508
  2172. data/src/core/ext/upb-generated/envoy/type/v3/hash_policy.upb.c +0 -77
  2173. data/src/core/ext/upb-generated/envoy/type/v3/hash_policy.upb.h +0 -226
  2174. data/src/core/ext/upb-generated/envoy/type/v3/http.upb.c +0 -27
  2175. data/src/core/ext/upb-generated/envoy/type/v3/http.upb.h +0 -36
  2176. data/src/core/ext/upb-generated/envoy/type/v3/http_status.upb.c +0 -47
  2177. data/src/core/ext/upb-generated/envoy/type/v3/http_status.upb.h +0 -145
  2178. data/src/core/ext/upb-generated/envoy/type/v3/percent.upb.c +0 -65
  2179. data/src/core/ext/upb-generated/envoy/type/v3/percent.upb.h +0 -160
  2180. data/src/core/ext/upb-generated/envoy/type/v3/range.upb.c +0 -85
  2181. data/src/core/ext/upb-generated/envoy/type/v3/range.upb.h +0 -238
  2182. data/src/core/ext/upb-generated/envoy/type/v3/ratelimit_strategy.upb.c +0 -76
  2183. data/src/core/ext/upb-generated/envoy/type/v3/ratelimit_strategy.upb.h +0 -229
  2184. data/src/core/ext/upb-generated/envoy/type/v3/ratelimit_unit.upb.c +0 -27
  2185. data/src/core/ext/upb-generated/envoy/type/v3/ratelimit_unit.upb.h +0 -40
  2186. data/src/core/ext/upb-generated/envoy/type/v3/semantic_version.upb.c +0 -50
  2187. data/src/core/ext/upb-generated/envoy/type/v3/semantic_version.upb.h +0 -115
  2188. data/src/core/ext/upb-generated/envoy/type/v3/token_bucket.upb.c +0 -58
  2189. data/src/core/ext/upb-generated/envoy/type/v3/token_bucket.upb.h +0 -143
  2190. data/src/core/ext/upb-generated/google/api/annotations.upb.c +0 -41
  2191. data/src/core/ext/upb-generated/google/api/annotations.upb.h +0 -55
  2192. data/src/core/ext/upb-generated/google/api/expr/v1alpha1/checked.upb.c +0 -370
  2193. data/src/core/ext/upb-generated/google/api/expr/v1alpha1/checked.upb.h +0 -1756
  2194. data/src/core/ext/upb-generated/google/api/expr/v1alpha1/syntax.upb.c +0 -400
  2195. data/src/core/ext/upb-generated/google/api/expr/v1alpha1/syntax.upb.h +0 -1841
  2196. data/src/core/ext/upb-generated/google/api/http.upb.c +0 -112
  2197. data/src/core/ext/upb-generated/google/api/http.upb.h +0 -499
  2198. data/src/core/ext/upb-generated/google/api/httpbody.upb.c +0 -53
  2199. data/src/core/ext/upb-generated/google/api/httpbody.upb.h +0 -165
  2200. data/src/core/ext/upb-generated/google/protobuf/any.upb.c +0 -47
  2201. data/src/core/ext/upb-generated/google/protobuf/any.upb.h +0 -100
  2202. data/src/core/ext/upb-generated/google/protobuf/descriptor.upb.c +0 -1327
  2203. data/src/core/ext/upb-generated/google/protobuf/descriptor.upb.h +0 -6236
  2204. data/src/core/ext/upb-generated/google/protobuf/duration.upb.c +0 -47
  2205. data/src/core/ext/upb-generated/google/protobuf/duration.upb.h +0 -100
  2206. data/src/core/ext/upb-generated/google/protobuf/empty.upb.c +0 -36
  2207. data/src/core/ext/upb-generated/google/protobuf/empty.upb.h +0 -70
  2208. data/src/core/ext/upb-generated/google/protobuf/struct.upb.c +0 -116
  2209. data/src/core/ext/upb-generated/google/protobuf/struct.upb.h +0 -426
  2210. data/src/core/ext/upb-generated/google/protobuf/timestamp.upb.c +0 -47
  2211. data/src/core/ext/upb-generated/google/protobuf/timestamp.upb.h +0 -100
  2212. data/src/core/ext/upb-generated/google/protobuf/wrappers.upb.c +0 -164
  2213. data/src/core/ext/upb-generated/google/protobuf/wrappers.upb.h +0 -517
  2214. data/src/core/ext/upb-generated/google/rpc/status.upb.c +0 -53
  2215. data/src/core/ext/upb-generated/google/rpc/status.upb.h +0 -165
  2216. data/src/core/ext/upb-generated/opencensus/proto/trace/v1/trace_config.upb.c +0 -107
  2217. data/src/core/ext/upb-generated/opencensus/proto/trace/v1/trace_config.upb.h +0 -389
  2218. data/src/core/ext/upb-generated/src/proto/grpc/gcp/altscontext.upb.c +0 -80
  2219. data/src/core/ext/upb-generated/src/proto/grpc/gcp/altscontext.upb.h +0 -238
  2220. data/src/core/ext/upb-generated/src/proto/grpc/gcp/handshaker.upb.c +0 -343
  2221. data/src/core/ext/upb-generated/src/proto/grpc/gcp/handshaker.upb.h +0 -1669
  2222. data/src/core/ext/upb-generated/src/proto/grpc/gcp/transport_security_common.upb.c +0 -70
  2223. data/src/core/ext/upb-generated/src/proto/grpc/gcp/transport_security_common.upb.h +0 -199
  2224. data/src/core/ext/upb-generated/src/proto/grpc/health/v1/health.upb.c +0 -59
  2225. data/src/core/ext/upb-generated/src/proto/grpc/health/v1/health.upb.h +0 -146
  2226. data/src/core/ext/upb-generated/src/proto/grpc/lb/v1/load_balancer.upb.c +0 -222
  2227. data/src/core/ext/upb-generated/src/proto/grpc/lb/v1/load_balancer.upb.h +0 -885
  2228. data/src/core/ext/upb-generated/src/proto/grpc/lookup/v1/rls.upb.c +0 -93
  2229. data/src/core/ext/upb-generated/src/proto/grpc/lookup/v1/rls.upb.h +0 -300
  2230. data/src/core/ext/upb-generated/src/proto/grpc/lookup/v1/rls_config.upb.c +0 -244
  2231. data/src/core/ext/upb-generated/src/proto/grpc/lookup/v1/rls_config.upb.h +0 -1341
  2232. data/src/core/ext/upb-generated/udpa/annotations/migrate.upb.c +0 -127
  2233. data/src/core/ext/upb-generated/udpa/annotations/migrate.upb.h +0 -333
  2234. data/src/core/ext/upb-generated/udpa/annotations/security.upb.c +0 -62
  2235. data/src/core/ext/upb-generated/udpa/annotations/security.upb.h +0 -125
  2236. data/src/core/ext/upb-generated/udpa/annotations/sensitive.upb.c +0 -39
  2237. data/src/core/ext/upb-generated/udpa/annotations/sensitive.upb.h +0 -55
  2238. data/src/core/ext/upb-generated/udpa/annotations/status.upb.c +0 -61
  2239. data/src/core/ext/upb-generated/udpa/annotations/status.upb.h +0 -132
  2240. data/src/core/ext/upb-generated/udpa/annotations/versioning.upb.c +0 -58
  2241. data/src/core/ext/upb-generated/udpa/annotations/versioning.upb.h +0 -110
  2242. data/src/core/ext/upb-generated/validate/validate.upb.c +0 -948
  2243. data/src/core/ext/upb-generated/validate/validate.upb.h +0 -6536
  2244. data/src/core/ext/upb-generated/xds/annotations/v3/migrate.upb.c +0 -127
  2245. data/src/core/ext/upb-generated/xds/annotations/v3/migrate.upb.h +0 -333
  2246. data/src/core/ext/upb-generated/xds/annotations/v3/security.upb.c +0 -62
  2247. data/src/core/ext/upb-generated/xds/annotations/v3/security.upb.h +0 -125
  2248. data/src/core/ext/upb-generated/xds/annotations/v3/sensitive.upb.c +0 -39
  2249. data/src/core/ext/upb-generated/xds/annotations/v3/sensitive.upb.h +0 -55
  2250. data/src/core/ext/upb-generated/xds/annotations/v3/status.upb.c +0 -124
  2251. data/src/core/ext/upb-generated/xds/annotations/v3/status.upb.h +0 -344
  2252. data/src/core/ext/upb-generated/xds/annotations/v3/versioning.upb.c +0 -58
  2253. data/src/core/ext/upb-generated/xds/annotations/v3/versioning.upb.h +0 -110
  2254. data/src/core/ext/upb-generated/xds/core/v3/authority.upb.c +0 -46
  2255. data/src/core/ext/upb-generated/xds/core/v3/authority.upb.h +0 -85
  2256. data/src/core/ext/upb-generated/xds/core/v3/cidr.upb.c +0 -54
  2257. data/src/core/ext/upb-generated/xds/core/v3/cidr.upb.h +0 -114
  2258. data/src/core/ext/upb-generated/xds/core/v3/collection_entry.upb.c +0 -79
  2259. data/src/core/ext/upb-generated/xds/core/v3/collection_entry.upb.h +0 -233
  2260. data/src/core/ext/upb-generated/xds/core/v3/context_params.upb.c +0 -63
  2261. data/src/core/ext/upb-generated/xds/core/v3/context_params.upb.h +0 -134
  2262. data/src/core/ext/upb-generated/xds/core/v3/extension.upb.c +0 -53
  2263. data/src/core/ext/upb-generated/xds/core/v3/extension.upb.h +0 -114
  2264. data/src/core/ext/upb-generated/xds/core/v3/resource.upb.c +0 -56
  2265. data/src/core/ext/upb-generated/xds/core/v3/resource.upb.h +0 -143
  2266. data/src/core/ext/upb-generated/xds/core/v3/resource_locator.upb.c +0 -85
  2267. data/src/core/ext/upb-generated/xds/core/v3/resource_locator.upb.h +0 -330
  2268. data/src/core/ext/upb-generated/xds/core/v3/resource_name.upb.c +0 -60
  2269. data/src/core/ext/upb-generated/xds/core/v3/resource_name.upb.h +0 -144
  2270. data/src/core/ext/upb-generated/xds/data/orca/v3/orca_load_report.upb.c +0 -127
  2271. data/src/core/ext/upb-generated/xds/data/orca/v3/orca_load_report.upb.h +0 -352
  2272. data/src/core/ext/upb-generated/xds/service/orca/v3/orca.upb.c +0 -53
  2273. data/src/core/ext/upb-generated/xds/service/orca/v3/orca.upb.h +0 -160
  2274. data/src/core/ext/upb-generated/xds/type/matcher/v3/cel.upb.c +0 -51
  2275. data/src/core/ext/upb-generated/xds/type/matcher/v3/cel.upb.h +0 -99
  2276. data/src/core/ext/upb-generated/xds/type/matcher/v3/domain.upb.c +0 -73
  2277. data/src/core/ext/upb-generated/xds/type/matcher/v3/domain.upb.h +0 -262
  2278. data/src/core/ext/upb-generated/xds/type/matcher/v3/http_inputs.upb.c +0 -37
  2279. data/src/core/ext/upb-generated/xds/type/matcher/v3/http_inputs.upb.h +0 -70
  2280. data/src/core/ext/upb-generated/xds/type/matcher/v3/ip.upb.c +0 -76
  2281. data/src/core/ext/upb-generated/xds/type/matcher/v3/ip.upb.h +0 -281
  2282. data/src/core/ext/upb-generated/xds/type/matcher/v3/matcher.upb.c +0 -266
  2283. data/src/core/ext/upb-generated/xds/type/matcher/v3/matcher.upb.h +0 -1114
  2284. data/src/core/ext/upb-generated/xds/type/matcher/v3/range.upb.c +0 -158
  2285. data/src/core/ext/upb-generated/xds/type/matcher/v3/range.upb.h +0 -732
  2286. data/src/core/ext/upb-generated/xds/type/matcher/v3/regex.upb.c +0 -59
  2287. data/src/core/ext/upb-generated/xds/type/matcher/v3/regex.upb.h +0 -159
  2288. data/src/core/ext/upb-generated/xds/type/matcher/v3/string.upb.c +0 -80
  2289. data/src/core/ext/upb-generated/xds/type/matcher/v3/string.upb.h +0 -304
  2290. data/src/core/ext/upb-generated/xds/type/v3/cel.upb.c +0 -80
  2291. data/src/core/ext/upb-generated/xds/type/v3/cel.upb.h +0 -232
  2292. data/src/core/ext/upb-generated/xds/type/v3/range.upb.c +0 -83
  2293. data/src/core/ext/upb-generated/xds/type/v3/range.upb.h +0 -238
  2294. data/src/core/ext/upb-generated/xds/type/v3/typed_struct.upb.c +0 -52
  2295. data/src/core/ext/upb-generated/xds/type/v3/typed_struct.upb.h +0 -114
  2296. data/src/core/ext/upbdefs-generated/envoy/admin/v3/certs.upbdefs.c +0 -84
  2297. data/src/core/ext/upbdefs-generated/envoy/admin/v3/certs.upbdefs.h +0 -56
  2298. data/src/core/ext/upbdefs-generated/envoy/admin/v3/clusters.upbdefs.c +0 -128
  2299. data/src/core/ext/upbdefs-generated/envoy/admin/v3/clusters.upbdefs.h +0 -51
  2300. data/src/core/ext/upbdefs-generated/envoy/admin/v3/config_dump.upbdefs.c +0 -102
  2301. data/src/core/ext/upbdefs-generated/envoy/admin/v3/config_dump.upbdefs.h +0 -56
  2302. data/src/core/ext/upbdefs-generated/envoy/admin/v3/config_dump_shared.upbdefs.c +0 -277
  2303. data/src/core/ext/upbdefs-generated/envoy/admin/v3/config_dump_shared.upbdefs.h +0 -126
  2304. data/src/core/ext/upbdefs-generated/envoy/admin/v3/init_dump.upbdefs.c +0 -43
  2305. data/src/core/ext/upbdefs-generated/envoy/admin/v3/init_dump.upbdefs.h +0 -41
  2306. data/src/core/ext/upbdefs-generated/envoy/admin/v3/listeners.upbdefs.c +0 -56
  2307. data/src/core/ext/upbdefs-generated/envoy/admin/v3/listeners.upbdefs.h +0 -41
  2308. data/src/core/ext/upbdefs-generated/envoy/admin/v3/memory.upbdefs.c +0 -49
  2309. data/src/core/ext/upbdefs-generated/envoy/admin/v3/memory.upbdefs.h +0 -36
  2310. data/src/core/ext/upbdefs-generated/envoy/admin/v3/metrics.upbdefs.c +0 -46
  2311. data/src/core/ext/upbdefs-generated/envoy/admin/v3/metrics.upbdefs.h +0 -36
  2312. data/src/core/ext/upbdefs-generated/envoy/admin/v3/mutex_stats.upbdefs.c +0 -46
  2313. data/src/core/ext/upbdefs-generated/envoy/admin/v3/mutex_stats.upbdefs.h +0 -36
  2314. data/src/core/ext/upbdefs-generated/envoy/admin/v3/server_info.upbdefs.c +0 -142
  2315. data/src/core/ext/upbdefs-generated/envoy/admin/v3/server_info.upbdefs.h +0 -41
  2316. data/src/core/ext/upbdefs-generated/envoy/admin/v3/tap.upbdefs.c +0 -51
  2317. data/src/core/ext/upbdefs-generated/envoy/admin/v3/tap.upbdefs.h +0 -36
  2318. data/src/core/ext/upbdefs-generated/envoy/annotations/deprecation.upbdefs.c +0 -48
  2319. data/src/core/ext/upbdefs-generated/envoy/annotations/deprecation.upbdefs.h +0 -31
  2320. data/src/core/ext/upbdefs-generated/envoy/annotations/resource.upbdefs.c +0 -38
  2321. data/src/core/ext/upbdefs-generated/envoy/annotations/resource.upbdefs.h +0 -36
  2322. data/src/core/ext/upbdefs-generated/envoy/config/accesslog/v3/accesslog.upbdefs.c +0 -234
  2323. data/src/core/ext/upbdefs-generated/envoy/config/accesslog/v3/accesslog.upbdefs.h +0 -111
  2324. data/src/core/ext/upbdefs-generated/envoy/config/bootstrap/v3/bootstrap.upbdefs.c +0 -408
  2325. data/src/core/ext/upbdefs-generated/envoy/config/bootstrap/v3/bootstrap.upbdefs.h +0 -121
  2326. data/src/core/ext/upbdefs-generated/envoy/config/cluster/v3/circuit_breaker.upbdefs.c +0 -98
  2327. data/src/core/ext/upbdefs-generated/envoy/config/cluster/v3/circuit_breaker.upbdefs.h +0 -46
  2328. data/src/core/ext/upbdefs-generated/envoy/config/cluster/v3/cluster.upbdefs.c +0 -567
  2329. data/src/core/ext/upbdefs-generated/envoy/config/cluster/v3/cluster.upbdefs.h +0 -151
  2330. data/src/core/ext/upbdefs-generated/envoy/config/cluster/v3/filter.upbdefs.c +0 -51
  2331. data/src/core/ext/upbdefs-generated/envoy/config/cluster/v3/filter.upbdefs.h +0 -36
  2332. data/src/core/ext/upbdefs-generated/envoy/config/cluster/v3/outlier_detection.upbdefs.c +0 -138
  2333. data/src/core/ext/upbdefs-generated/envoy/config/cluster/v3/outlier_detection.upbdefs.h +0 -36
  2334. data/src/core/ext/upbdefs-generated/envoy/config/common/matcher/v3/matcher.upbdefs.c +0 -206
  2335. data/src/core/ext/upbdefs-generated/envoy/config/common/matcher/v3/matcher.upbdefs.h +0 -106
  2336. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/address.upbdefs.c +0 -132
  2337. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/address.upbdefs.h +0 -71
  2338. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/backoff.upbdefs.c +0 -54
  2339. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/backoff.upbdefs.h +0 -36
  2340. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/base.upbdefs.c +0 -271
  2341. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/base.upbdefs.h +0 -151
  2342. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/config_source.upbdefs.c +0 -168
  2343. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/config_source.upbdefs.h +0 -66
  2344. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/event_service_config.upbdefs.c +0 -53
  2345. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/event_service_config.upbdefs.h +0 -36
  2346. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/extension.upbdefs.c +0 -47
  2347. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/extension.upbdefs.h +0 -36
  2348. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/grpc_method_list.upbdefs.c +0 -53
  2349. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/grpc_method_list.upbdefs.h +0 -41
  2350. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/grpc_service.upbdefs.c +0 -237
  2351. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/grpc_service.upbdefs.h +0 -101
  2352. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/health_check.upbdefs.c +0 -245
  2353. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/health_check.upbdefs.h +0 -76
  2354. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/http_uri.upbdefs.c +0 -53
  2355. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/http_uri.upbdefs.h +0 -36
  2356. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/protocol.upbdefs.c +0 -311
  2357. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/protocol.upbdefs.h +0 -111
  2358. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/proxy_protocol.upbdefs.c +0 -57
  2359. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/proxy_protocol.upbdefs.h +0 -41
  2360. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/resolver.upbdefs.c +0 -55
  2361. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/resolver.upbdefs.h +0 -41
  2362. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/socket_option.upbdefs.c +0 -61
  2363. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/socket_option.upbdefs.h +0 -41
  2364. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/substitution_format_string.upbdefs.c +0 -70
  2365. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/substitution_format_string.upbdefs.h +0 -36
  2366. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/udp_socket_config.upbdefs.c +0 -49
  2367. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/udp_socket_config.upbdefs.h +0 -36
  2368. data/src/core/ext/upbdefs-generated/envoy/config/endpoint/v3/endpoint.upbdefs.c +0 -99
  2369. data/src/core/ext/upbdefs-generated/envoy/config/endpoint/v3/endpoint.upbdefs.h +0 -51
  2370. data/src/core/ext/upbdefs-generated/envoy/config/endpoint/v3/endpoint_components.upbdefs.c +0 -133
  2371. data/src/core/ext/upbdefs-generated/envoy/config/endpoint/v3/endpoint_components.upbdefs.h +0 -61
  2372. data/src/core/ext/upbdefs-generated/envoy/config/endpoint/v3/load_report.upbdefs.c +0 -136
  2373. data/src/core/ext/upbdefs-generated/envoy/config/endpoint/v3/load_report.upbdefs.h +0 -56
  2374. data/src/core/ext/upbdefs-generated/envoy/config/listener/v3/api_listener.upbdefs.c +0 -48
  2375. data/src/core/ext/upbdefs-generated/envoy/config/listener/v3/api_listener.upbdefs.h +0 -36
  2376. data/src/core/ext/upbdefs-generated/envoy/config/listener/v3/listener.upbdefs.c +0 -227
  2377. data/src/core/ext/upbdefs-generated/envoy/config/listener/v3/listener.upbdefs.h +0 -81
  2378. data/src/core/ext/upbdefs-generated/envoy/config/listener/v3/listener_components.upbdefs.c +0 -190
  2379. data/src/core/ext/upbdefs-generated/envoy/config/listener/v3/listener_components.upbdefs.h +0 -66
  2380. data/src/core/ext/upbdefs-generated/envoy/config/listener/v3/quic_config.upbdefs.c +0 -101
  2381. data/src/core/ext/upbdefs-generated/envoy/config/listener/v3/quic_config.upbdefs.h +0 -36
  2382. data/src/core/ext/upbdefs-generated/envoy/config/listener/v3/udp_listener_config.upbdefs.c +0 -71
  2383. data/src/core/ext/upbdefs-generated/envoy/config/listener/v3/udp_listener_config.upbdefs.h +0 -41
  2384. data/src/core/ext/upbdefs-generated/envoy/config/metrics/v3/metrics_service.upbdefs.c +0 -76
  2385. data/src/core/ext/upbdefs-generated/envoy/config/metrics/v3/metrics_service.upbdefs.h +0 -36
  2386. data/src/core/ext/upbdefs-generated/envoy/config/metrics/v3/stats.upbdefs.c +0 -125
  2387. data/src/core/ext/upbdefs-generated/envoy/config/metrics/v3/stats.upbdefs.h +0 -71
  2388. data/src/core/ext/upbdefs-generated/envoy/config/overload/v3/overload.upbdefs.c +0 -142
  2389. data/src/core/ext/upbdefs-generated/envoy/config/overload/v3/overload.upbdefs.h +0 -81
  2390. data/src/core/ext/upbdefs-generated/envoy/config/rbac/v3/rbac.upbdefs.c +0 -223
  2391. data/src/core/ext/upbdefs-generated/envoy/config/rbac/v3/rbac.upbdefs.h +0 -86
  2392. data/src/core/ext/upbdefs-generated/envoy/config/route/v3/route.upbdefs.c +0 -123
  2393. data/src/core/ext/upbdefs-generated/envoy/config/route/v3/route.upbdefs.h +0 -46
  2394. data/src/core/ext/upbdefs-generated/envoy/config/route/v3/route_components.upbdefs.c +0 -972
  2395. data/src/core/ext/upbdefs-generated/envoy/config/route/v3/route_components.upbdefs.h +0 -316
  2396. data/src/core/ext/upbdefs-generated/envoy/config/route/v3/scoped_route.upbdefs.c +0 -77
  2397. data/src/core/ext/upbdefs-generated/envoy/config/route/v3/scoped_route.upbdefs.h +0 -46
  2398. data/src/core/ext/upbdefs-generated/envoy/config/tap/v3/common.upbdefs.c +0 -199
  2399. data/src/core/ext/upbdefs-generated/envoy/config/tap/v3/common.upbdefs.h +0 -91
  2400. data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/datadog.upbdefs.c +0 -56
  2401. data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/datadog.upbdefs.h +0 -36
  2402. data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/dynamic_ot.upbdefs.c +0 -57
  2403. data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/dynamic_ot.upbdefs.h +0 -36
  2404. data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/http_tracer.upbdefs.c +0 -57
  2405. data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/http_tracer.upbdefs.h +0 -41
  2406. data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/lightstep.upbdefs.c +0 -72
  2407. data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/lightstep.upbdefs.h +0 -36
  2408. data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/opencensus.upbdefs.c +0 -99
  2409. data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/opencensus.upbdefs.h +0 -36
  2410. data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/opentelemetry.upbdefs.c +0 -45
  2411. data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/opentelemetry.upbdefs.h +0 -36
  2412. data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/service.upbdefs.c +0 -52
  2413. data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/service.upbdefs.h +0 -36
  2414. data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/skywalking.upbdefs.c +0 -71
  2415. data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/skywalking.upbdefs.h +0 -41
  2416. data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/trace.upbdefs.c +0 -61
  2417. data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/trace.upbdefs.h +0 -31
  2418. data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/xray.upbdefs.c +0 -75
  2419. data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/xray.upbdefs.h +0 -41
  2420. data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/zipkin.upbdefs.c +0 -79
  2421. data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/zipkin.upbdefs.h +0 -36
  2422. data/src/core/ext/upbdefs-generated/envoy/data/accesslog/v3/accesslog.upbdefs.c +0 -402
  2423. data/src/core/ext/upbdefs-generated/envoy/data/accesslog/v3/accesslog.upbdefs.h +0 -111
  2424. data/src/core/ext/upbdefs-generated/envoy/extensions/clusters/aggregate/v3/cluster.upbdefs.c +0 -50
  2425. data/src/core/ext/upbdefs-generated/envoy/extensions/clusters/aggregate/v3/cluster.upbdefs.h +0 -36
  2426. data/src/core/ext/upbdefs-generated/envoy/extensions/filters/common/fault/v3/fault.upbdefs.c +0 -92
  2427. data/src/core/ext/upbdefs-generated/envoy/extensions/filters/common/fault/v3/fault.upbdefs.h +0 -56
  2428. data/src/core/ext/upbdefs-generated/envoy/extensions/filters/http/fault/v3/fault.upbdefs.c +0 -123
  2429. data/src/core/ext/upbdefs-generated/envoy/extensions/filters/http/fault/v3/fault.upbdefs.h +0 -46
  2430. data/src/core/ext/upbdefs-generated/envoy/extensions/filters/http/rbac/v3/rbac.upbdefs.c +0 -80
  2431. data/src/core/ext/upbdefs-generated/envoy/extensions/filters/http/rbac/v3/rbac.upbdefs.h +0 -41
  2432. data/src/core/ext/upbdefs-generated/envoy/extensions/filters/http/router/v3/router.upbdefs.c +0 -105
  2433. data/src/core/ext/upbdefs-generated/envoy/extensions/filters/http/router/v3/router.upbdefs.h +0 -41
  2434. data/src/core/ext/upbdefs-generated/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upbdefs.c +0 -60
  2435. data/src/core/ext/upbdefs-generated/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upbdefs.h +0 -41
  2436. data/src/core/ext/upbdefs-generated/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upbdefs.c +0 -602
  2437. data/src/core/ext/upbdefs-generated/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upbdefs.h +0 -136
  2438. data/src/core/ext/upbdefs-generated/envoy/extensions/http/stateful_session/cookie/v3/cookie.upbdefs.c +0 -50
  2439. data/src/core/ext/upbdefs-generated/envoy/extensions/http/stateful_session/cookie/v3/cookie.upbdefs.h +0 -36
  2440. data/src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/cert.upbdefs.c +0 -48
  2441. data/src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/cert.upbdefs.h +0 -31
  2442. data/src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/common.upbdefs.c +0 -215
  2443. data/src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/common.upbdefs.h +0 -66
  2444. data/src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/secret.upbdefs.c +0 -91
  2445. data/src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/secret.upbdefs.h +0 -46
  2446. data/src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/tls.upbdefs.c +0 -258
  2447. data/src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/tls.upbdefs.h +0 -66
  2448. data/src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upbdefs.c +0 -58
  2449. data/src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upbdefs.h +0 -41
  2450. data/src/core/ext/upbdefs-generated/envoy/service/discovery/v3/ads.upbdefs.c +0 -58
  2451. data/src/core/ext/upbdefs-generated/envoy/service/discovery/v3/ads.upbdefs.h +0 -36
  2452. data/src/core/ext/upbdefs-generated/envoy/service/discovery/v3/discovery.upbdefs.c +0 -200
  2453. data/src/core/ext/upbdefs-generated/envoy/service/discovery/v3/discovery.upbdefs.h +0 -101
  2454. data/src/core/ext/upbdefs-generated/envoy/service/load_stats/v3/lrs.upbdefs.c +0 -76
  2455. data/src/core/ext/upbdefs-generated/envoy/service/load_stats/v3/lrs.upbdefs.h +0 -41
  2456. data/src/core/ext/upbdefs-generated/envoy/service/status/v3/csds.upbdefs.c +0 -152
  2457. data/src/core/ext/upbdefs-generated/envoy/service/status/v3/csds.upbdefs.h +0 -56
  2458. data/src/core/ext/upbdefs-generated/envoy/type/http/v3/cookie.upbdefs.c +0 -46
  2459. data/src/core/ext/upbdefs-generated/envoy/type/http/v3/cookie.upbdefs.h +0 -36
  2460. data/src/core/ext/upbdefs-generated/envoy/type/http/v3/path_transformation.upbdefs.c +0 -56
  2461. data/src/core/ext/upbdefs-generated/envoy/type/http/v3/path_transformation.upbdefs.h +0 -51
  2462. data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/filter_state.upbdefs.c +0 -48
  2463. data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/filter_state.upbdefs.h +0 -36
  2464. data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/http_inputs.upbdefs.c +0 -55
  2465. data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/http_inputs.upbdefs.h +0 -56
  2466. data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/metadata.upbdefs.c +0 -61
  2467. data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/metadata.upbdefs.h +0 -41
  2468. data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/node.upbdefs.c +0 -54
  2469. data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/node.upbdefs.h +0 -36
  2470. data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/number.upbdefs.c +0 -52
  2471. data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/number.upbdefs.h +0 -36
  2472. data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/path.upbdefs.c +0 -51
  2473. data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/path.upbdefs.h +0 -36
  2474. data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/regex.upbdefs.c +0 -71
  2475. data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/regex.upbdefs.h +0 -46
  2476. data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/status_code_input.upbdefs.c +0 -40
  2477. data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/status_code_input.upbdefs.h +0 -41
  2478. data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/string.upbdefs.c +0 -65
  2479. data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/string.upbdefs.h +0 -41
  2480. data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/struct.upbdefs.c +0 -58
  2481. data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/struct.upbdefs.h +0 -41
  2482. data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/value.upbdefs.c +0 -75
  2483. data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/value.upbdefs.h +0 -46
  2484. data/src/core/ext/upbdefs-generated/envoy/type/metadata/v3/metadata.upbdefs.c +0 -78
  2485. data/src/core/ext/upbdefs-generated/envoy/type/metadata/v3/metadata.upbdefs.h +0 -66
  2486. data/src/core/ext/upbdefs-generated/envoy/type/tracing/v3/custom_tag.upbdefs.c +0 -85
  2487. data/src/core/ext/upbdefs-generated/envoy/type/tracing/v3/custom_tag.upbdefs.h +0 -56
  2488. data/src/core/ext/upbdefs-generated/envoy/type/v3/hash_policy.upbdefs.c +0 -53
  2489. data/src/core/ext/upbdefs-generated/envoy/type/v3/hash_policy.upbdefs.h +0 -46
  2490. data/src/core/ext/upbdefs-generated/envoy/type/v3/http.upbdefs.c +0 -36
  2491. data/src/core/ext/upbdefs-generated/envoy/type/v3/http.upbdefs.h +0 -31
  2492. data/src/core/ext/upbdefs-generated/envoy/type/v3/http_status.upbdefs.c +0 -94
  2493. data/src/core/ext/upbdefs-generated/envoy/type/v3/http_status.upbdefs.h +0 -36
  2494. data/src/core/ext/upbdefs-generated/envoy/type/v3/percent.upbdefs.c +0 -54
  2495. data/src/core/ext/upbdefs-generated/envoy/type/v3/percent.upbdefs.h +0 -41
  2496. data/src/core/ext/upbdefs-generated/envoy/type/v3/range.upbdefs.c +0 -48
  2497. data/src/core/ext/upbdefs-generated/envoy/type/v3/range.upbdefs.h +0 -46
  2498. data/src/core/ext/upbdefs-generated/envoy/type/v3/ratelimit_strategy.upbdefs.c +0 -69
  2499. data/src/core/ext/upbdefs-generated/envoy/type/v3/ratelimit_strategy.upbdefs.h +0 -41
  2500. data/src/core/ext/upbdefs-generated/envoy/type/v3/ratelimit_unit.upbdefs.c +0 -39
  2501. data/src/core/ext/upbdefs-generated/envoy/type/v3/ratelimit_unit.upbdefs.h +0 -31
  2502. data/src/core/ext/upbdefs-generated/envoy/type/v3/semantic_version.upbdefs.c +0 -44
  2503. data/src/core/ext/upbdefs-generated/envoy/type/v3/semantic_version.upbdefs.h +0 -36
  2504. data/src/core/ext/upbdefs-generated/envoy/type/v3/token_bucket.upbdefs.c +0 -57
  2505. data/src/core/ext/upbdefs-generated/envoy/type/v3/token_bucket.upbdefs.h +0 -36
  2506. data/src/core/ext/upbdefs-generated/google/api/annotations.upbdefs.c +0 -40
  2507. data/src/core/ext/upbdefs-generated/google/api/annotations.upbdefs.h +0 -31
  2508. data/src/core/ext/upbdefs-generated/google/api/expr/v1alpha1/checked.upbdefs.c +0 -154
  2509. data/src/core/ext/upbdefs-generated/google/api/expr/v1alpha1/checked.upbdefs.h +0 -96
  2510. data/src/core/ext/upbdefs-generated/google/api/expr/v1alpha1/syntax.upbdefs.c +0 -153
  2511. data/src/core/ext/upbdefs-generated/google/api/expr/v1alpha1/syntax.upbdefs.h +0 -101
  2512. data/src/core/ext/upbdefs-generated/google/api/http.upbdefs.c +0 -52
  2513. data/src/core/ext/upbdefs-generated/google/api/http.upbdefs.h +0 -46
  2514. data/src/core/ext/upbdefs-generated/google/api/httpbody.upbdefs.c +0 -39
  2515. data/src/core/ext/upbdefs-generated/google/api/httpbody.upbdefs.h +0 -36
  2516. data/src/core/ext/upbdefs-generated/google/protobuf/any.upbdefs.c +0 -34
  2517. data/src/core/ext/upbdefs-generated/google/protobuf/any.upbdefs.h +0 -36
  2518. data/src/core/ext/upbdefs-generated/google/protobuf/descriptor.upbdefs.c +0 -464
  2519. data/src/core/ext/upbdefs-generated/google/protobuf/descriptor.upbdefs.h +0 -181
  2520. data/src/core/ext/upbdefs-generated/google/protobuf/duration.upbdefs.c +0 -35
  2521. data/src/core/ext/upbdefs-generated/google/protobuf/duration.upbdefs.h +0 -36
  2522. data/src/core/ext/upbdefs-generated/google/protobuf/empty.upbdefs.c +0 -32
  2523. data/src/core/ext/upbdefs-generated/google/protobuf/empty.upbdefs.h +0 -36
  2524. data/src/core/ext/upbdefs-generated/google/protobuf/struct.upbdefs.c +0 -54
  2525. data/src/core/ext/upbdefs-generated/google/protobuf/struct.upbdefs.h +0 -51
  2526. data/src/core/ext/upbdefs-generated/google/protobuf/timestamp.upbdefs.c +0 -35
  2527. data/src/core/ext/upbdefs-generated/google/protobuf/timestamp.upbdefs.h +0 -36
  2528. data/src/core/ext/upbdefs-generated/google/protobuf/wrappers.upbdefs.c +0 -45
  2529. data/src/core/ext/upbdefs-generated/google/protobuf/wrappers.upbdefs.h +0 -76
  2530. data/src/core/ext/upbdefs-generated/google/rpc/status.upbdefs.c +0 -37
  2531. data/src/core/ext/upbdefs-generated/google/rpc/status.upbdefs.h +0 -36
  2532. data/src/core/ext/upbdefs-generated/opencensus/proto/trace/v1/trace_config.upbdefs.c +0 -67
  2533. data/src/core/ext/upbdefs-generated/opencensus/proto/trace/v1/trace_config.upbdefs.h +0 -51
  2534. data/src/core/ext/upbdefs-generated/src/proto/grpc/lookup/v1/rls_config.upbdefs.c +0 -99
  2535. data/src/core/ext/upbdefs-generated/src/proto/grpc/lookup/v1/rls_config.upbdefs.h +0 -76
  2536. data/src/core/ext/upbdefs-generated/udpa/annotations/migrate.upbdefs.c +0 -62
  2537. data/src/core/ext/upbdefs-generated/udpa/annotations/migrate.upbdefs.h +0 -46
  2538. data/src/core/ext/upbdefs-generated/udpa/annotations/security.upbdefs.c +0 -47
  2539. data/src/core/ext/upbdefs-generated/udpa/annotations/security.upbdefs.h +0 -36
  2540. data/src/core/ext/upbdefs-generated/udpa/annotations/sensitive.upbdefs.c +0 -34
  2541. data/src/core/ext/upbdefs-generated/udpa/annotations/sensitive.upbdefs.h +0 -31
  2542. data/src/core/ext/upbdefs-generated/udpa/annotations/status.upbdefs.c +0 -46
  2543. data/src/core/ext/upbdefs-generated/udpa/annotations/status.upbdefs.h +0 -36
  2544. data/src/core/ext/upbdefs-generated/udpa/annotations/versioning.upbdefs.c +0 -39
  2545. data/src/core/ext/upbdefs-generated/udpa/annotations/versioning.upbdefs.h +0 -36
  2546. data/src/core/ext/upbdefs-generated/validate/validate.upbdefs.c +0 -283
  2547. data/src/core/ext/upbdefs-generated/validate/validate.upbdefs.h +0 -146
  2548. data/src/core/ext/upbdefs-generated/xds/annotations/v3/migrate.upbdefs.c +0 -63
  2549. data/src/core/ext/upbdefs-generated/xds/annotations/v3/migrate.upbdefs.h +0 -46
  2550. data/src/core/ext/upbdefs-generated/xds/annotations/v3/security.upbdefs.c +0 -47
  2551. data/src/core/ext/upbdefs-generated/xds/annotations/v3/security.upbdefs.h +0 -36
  2552. data/src/core/ext/upbdefs-generated/xds/annotations/v3/sensitive.upbdefs.c +0 -35
  2553. data/src/core/ext/upbdefs-generated/xds/annotations/v3/sensitive.upbdefs.h +0 -31
  2554. data/src/core/ext/upbdefs-generated/xds/annotations/v3/status.upbdefs.c +0 -64
  2555. data/src/core/ext/upbdefs-generated/xds/annotations/v3/status.upbdefs.h +0 -51
  2556. data/src/core/ext/upbdefs-generated/xds/annotations/v3/versioning.upbdefs.c +0 -40
  2557. data/src/core/ext/upbdefs-generated/xds/annotations/v3/versioning.upbdefs.h +0 -36
  2558. data/src/core/ext/upbdefs-generated/xds/core/v3/authority.upbdefs.c +0 -38
  2559. data/src/core/ext/upbdefs-generated/xds/core/v3/authority.upbdefs.h +0 -36
  2560. data/src/core/ext/upbdefs-generated/xds/core/v3/cidr.upbdefs.c +0 -45
  2561. data/src/core/ext/upbdefs-generated/xds/core/v3/cidr.upbdefs.h +0 -36
  2562. data/src/core/ext/upbdefs-generated/xds/core/v3/collection_entry.upbdefs.c +0 -56
  2563. data/src/core/ext/upbdefs-generated/xds/core/v3/collection_entry.upbdefs.h +0 -41
  2564. data/src/core/ext/upbdefs-generated/xds/core/v3/context_params.upbdefs.c +0 -39
  2565. data/src/core/ext/upbdefs-generated/xds/core/v3/context_params.upbdefs.h +0 -41
  2566. data/src/core/ext/upbdefs-generated/xds/core/v3/extension.upbdefs.c +0 -41
  2567. data/src/core/ext/upbdefs-generated/xds/core/v3/extension.upbdefs.h +0 -36
  2568. data/src/core/ext/upbdefs-generated/xds/core/v3/resource.upbdefs.c +0 -45
  2569. data/src/core/ext/upbdefs-generated/xds/core/v3/resource.upbdefs.h +0 -36
  2570. data/src/core/ext/upbdefs-generated/xds/core/v3/resource_locator.upbdefs.c +0 -61
  2571. data/src/core/ext/upbdefs-generated/xds/core/v3/resource_locator.upbdefs.h +0 -41
  2572. data/src/core/ext/upbdefs-generated/xds/core/v3/resource_name.upbdefs.c +0 -46
  2573. data/src/core/ext/upbdefs-generated/xds/core/v3/resource_name.upbdefs.h +0 -36
  2574. data/src/core/ext/upbdefs-generated/xds/type/matcher/v3/cel.upbdefs.c +0 -43
  2575. data/src/core/ext/upbdefs-generated/xds/type/matcher/v3/cel.upbdefs.h +0 -36
  2576. data/src/core/ext/upbdefs-generated/xds/type/matcher/v3/domain.upbdefs.c +0 -51
  2577. data/src/core/ext/upbdefs-generated/xds/type/matcher/v3/domain.upbdefs.h +0 -41
  2578. data/src/core/ext/upbdefs-generated/xds/type/matcher/v3/http_inputs.upbdefs.c +0 -36
  2579. data/src/core/ext/upbdefs-generated/xds/type/matcher/v3/http_inputs.upbdefs.h +0 -36
  2580. data/src/core/ext/upbdefs-generated/xds/type/matcher/v3/ip.upbdefs.c +0 -55
  2581. data/src/core/ext/upbdefs-generated/xds/type/matcher/v3/ip.upbdefs.h +0 -41
  2582. data/src/core/ext/upbdefs-generated/xds/type/matcher/v3/matcher.upbdefs.c +0 -126
  2583. data/src/core/ext/upbdefs-generated/xds/type/matcher/v3/matcher.upbdefs.h +0 -81
  2584. data/src/core/ext/upbdefs-generated/xds/type/matcher/v3/range.upbdefs.c +0 -71
  2585. data/src/core/ext/upbdefs-generated/xds/type/matcher/v3/range.upbdefs.h +0 -61
  2586. data/src/core/ext/upbdefs-generated/xds/type/matcher/v3/regex.upbdefs.c +0 -40
  2587. data/src/core/ext/upbdefs-generated/xds/type/matcher/v3/regex.upbdefs.h +0 -41
  2588. data/src/core/ext/upbdefs-generated/xds/type/matcher/v3/string.upbdefs.c +0 -52
  2589. data/src/core/ext/upbdefs-generated/xds/type/matcher/v3/string.upbdefs.h +0 -41
  2590. data/src/core/ext/upbdefs-generated/xds/type/v3/cel.upbdefs.c +0 -60
  2591. data/src/core/ext/upbdefs-generated/xds/type/v3/cel.upbdefs.h +0 -41
  2592. data/src/core/ext/upbdefs-generated/xds/type/v3/range.upbdefs.c +0 -36
  2593. data/src/core/ext/upbdefs-generated/xds/type/v3/range.upbdefs.h +0 -46
  2594. data/src/core/ext/upbdefs-generated/xds/type/v3/typed_struct.upbdefs.c +0 -37
  2595. data/src/core/ext/upbdefs-generated/xds/type/v3/typed_struct.upbdefs.h +0 -36
  2596. data/src/core/lib/event_engine/memory_allocator.cc +0 -74
  2597. data/src/core/lib/iomgr/load_file.cc +0 -78
  2598. data/src/core/lib/iomgr/load_file.h +0 -35
  2599. data/src/core/lib/load_balancing/delegating_helper.h +0 -115
  2600. data/src/core/lib/load_balancing/lb_policy.cc +0 -98
  2601. data/src/core/lib/load_balancing/lb_policy.h +0 -478
  2602. data/src/core/lib/load_balancing/lb_policy_factory.h +0 -49
  2603. data/src/core/lib/load_balancing/lb_policy_registry.cc +0 -143
  2604. data/src/core/lib/load_balancing/lb_policy_registry.h +0 -82
  2605. data/src/core/lib/load_balancing/subchannel_interface.h +0 -141
  2606. data/src/core/lib/resolver/resolver.cc +0 -37
  2607. data/src/core/lib/resolver/resolver.h +0 -138
  2608. data/src/core/lib/resolver/resolver_factory.h +0 -78
  2609. data/src/core/lib/resolver/resolver_registry.cc +0 -164
  2610. data/src/core/lib/resolver/resolver_registry.h +0 -123
  2611. data/src/core/lib/resolver/server_address.cc +0 -89
  2612. data/src/core/lib/resolver/server_address.h +0 -86
  2613. data/src/core/lib/service_config/service_config.h +0 -89
  2614. data/src/core/lib/service_config/service_config_call_data.h +0 -116
  2615. data/src/core/lib/service_config/service_config_impl.cc +0 -198
  2616. data/src/core/lib/service_config/service_config_impl.h +0 -125
  2617. data/src/core/lib/service_config/service_config_parser.cc +0 -81
  2618. data/src/core/lib/service_config/service_config_parser.h +0 -105
  2619. data/src/core/lib/transport/pid_controller.cc +0 -51
  2620. data/src/core/lib/transport/pid_controller.h +0 -116
  2621. data/src/core/lib/transport/transport_impl.h +0 -102
  2622. data/third_party/abseil-cpp/absl/base/internal/prefetch.h +0 -137
  2623. data/third_party/abseil-cpp/absl/base/internal/thread_annotations.h +0 -280
  2624. data/third_party/abseil-cpp/absl/crc/internal/crc_memcpy_x86_64.cc +0 -432
  2625. data/third_party/abseil-cpp/absl/flags/flag.cc +0 -38
  2626. data/third_party/abseil-cpp/absl/flags/internal/flag_msvc.inc +0 -116
  2627. data/third_party/abseil-cpp/absl/strings/internal/char_map.h +0 -158
  2628. data/third_party/abseil-cpp/absl/strings/internal/cord_rep_ring.cc +0 -773
  2629. data/third_party/abseil-cpp/absl/strings/internal/cord_rep_ring.h +0 -607
  2630. data/third_party/abseil-cpp/absl/strings/internal/cord_rep_ring_reader.h +0 -118
  2631. data/third_party/boringssl-with-bazel/src/crypto/kyber/keccak.c +0 -204
  2632. data/third_party/boringssl-with-bazel/src/crypto/x509/x_info.c +0 -100
  2633. data/third_party/boringssl-with-bazel/src/crypto/x509/x_pkey.c +0 -111
  2634. data/third_party/boringssl-with-bazel/src/crypto/x509v3/internal.h +0 -197
  2635. data/third_party/boringssl-with-bazel/src/crypto/x509v3/v3_akey.c +0 -221
  2636. data/third_party/boringssl-with-bazel/src/crypto/x509v3/v3_akeya.c +0 -71
  2637. data/third_party/boringssl-with-bazel/src/crypto/x509v3/v3_alt.c +0 -635
  2638. data/third_party/boringssl-with-bazel/src/crypto/x509v3/v3_bcons.c +0 -135
  2639. data/third_party/boringssl-with-bazel/src/crypto/x509v3/v3_bitst.c +0 -141
  2640. data/third_party/boringssl-with-bazel/src/crypto/x509v3/v3_conf.c +0 -418
  2641. data/third_party/boringssl-with-bazel/src/crypto/x509v3/v3_cpols.c +0 -477
  2642. data/third_party/boringssl-with-bazel/src/crypto/x509v3/v3_crld.c +0 -599
  2643. data/third_party/boringssl-with-bazel/src/crypto/x509v3/v3_enum.c +0 -111
  2644. data/third_party/boringssl-with-bazel/src/crypto/x509v3/v3_extku.c +0 -154
  2645. data/third_party/boringssl-with-bazel/src/crypto/x509v3/v3_genn.c +0 -270
  2646. data/third_party/boringssl-with-bazel/src/crypto/x509v3/v3_ia5.c +0 -122
  2647. data/third_party/boringssl-with-bazel/src/crypto/x509v3/v3_info.c +0 -213
  2648. data/third_party/boringssl-with-bazel/src/crypto/x509v3/v3_int.c +0 -121
  2649. data/third_party/boringssl-with-bazel/src/crypto/x509v3/v3_lib.c +0 -341
  2650. data/third_party/boringssl-with-bazel/src/crypto/x509v3/v3_ncons.c +0 -555
  2651. data/third_party/boringssl-with-bazel/src/crypto/x509v3/v3_ocsp.c +0 -81
  2652. data/third_party/boringssl-with-bazel/src/crypto/x509v3/v3_pcons.c +0 -142
  2653. data/third_party/boringssl-with-bazel/src/crypto/x509v3/v3_pmaps.c +0 -150
  2654. data/third_party/boringssl-with-bazel/src/crypto/x509v3/v3_prn.c +0 -225
  2655. data/third_party/boringssl-with-bazel/src/crypto/x509v3/v3_purp.c +0 -888
  2656. data/third_party/boringssl-with-bazel/src/crypto/x509v3/v3_skey.c +0 -171
  2657. data/third_party/boringssl-with-bazel/src/crypto/x509v3/v3_utl.c +0 -1355
  2658. data/third_party/upb/upb/alloc.h +0 -36
  2659. data/third_party/upb/upb/arena.h +0 -36
  2660. data/third_party/upb/upb/array.h +0 -36
  2661. data/third_party/upb/upb/base/log2.h +0 -57
  2662. data/third_party/upb/upb/collections/array.c +0 -151
  2663. data/third_party/upb/upb/collections/array.h +0 -91
  2664. data/third_party/upb/upb/collections/array_internal.h +0 -135
  2665. data/third_party/upb/upb/collections/map.c +0 -142
  2666. data/third_party/upb/upb/collections/map.h +0 -140
  2667. data/third_party/upb/upb/collections/map_gencode_util.h +0 -78
  2668. data/third_party/upb/upb/collections/map_internal.h +0 -170
  2669. data/third_party/upb/upb/collections/map_sorter.c +0 -166
  2670. data/third_party/upb/upb/collections/map_sorter_internal.h +0 -109
  2671. data/third_party/upb/upb/collections/message_value.h +0 -72
  2672. data/third_party/upb/upb/decode.h +0 -36
  2673. data/third_party/upb/upb/def.h +0 -36
  2674. data/third_party/upb/upb/def.hpp +0 -33
  2675. data/third_party/upb/upb/encode.h +0 -36
  2676. data/third_party/upb/upb/extension_registry.h +0 -35
  2677. data/third_party/upb/upb/map.h +0 -36
  2678. data/third_party/upb/upb/mem/arena_internal.h +0 -114
  2679. data/third_party/upb/upb/message/accessors_internal.h +0 -391
  2680. data/third_party/upb/upb/message/extension_internal.h +0 -83
  2681. data/third_party/upb/upb/message/internal.h +0 -131
  2682. data/third_party/upb/upb/msg.h +0 -36
  2683. data/third_party/upb/upb/reflection/def_builder.c +0 -357
  2684. data/third_party/upb/upb/reflection/def_builder_internal.h +0 -157
  2685. data/third_party/upb/upb/reflection/def_pool_internal.h +0 -77
  2686. data/third_party/upb/upb/reflection/desc_state_internal.h +0 -64
  2687. data/third_party/upb/upb/reflection/enum_def_internal.h +0 -56
  2688. data/third_party/upb/upb/reflection/enum_reserved_range_internal.h +0 -55
  2689. data/third_party/upb/upb/reflection/enum_value_def_internal.h +0 -57
  2690. data/third_party/upb/upb/reflection/extension_range_internal.h +0 -54
  2691. data/third_party/upb/upb/reflection/field_def_internal.h +0 -76
  2692. data/third_party/upb/upb/reflection/file_def_internal.h +0 -57
  2693. data/third_party/upb/upb/reflection/message_def_internal.h +0 -63
  2694. data/third_party/upb/upb/reflection/message_reserved_range_internal.h +0 -55
  2695. data/third_party/upb/upb/reflection/method_def_internal.h +0 -53
  2696. data/third_party/upb/upb/reflection/oneof_def_internal.h +0 -57
  2697. data/third_party/upb/upb/reflection/service_def_internal.h +0 -53
  2698. data/third_party/upb/upb/reflection.h +0 -36
  2699. data/third_party/upb/upb/reflection.hpp +0 -33
  2700. data/third_party/upb/upb/status.h +0 -36
  2701. data/third_party/upb/upb/string_view.h +0 -36
  2702. data/third_party/upb/upb/text_encode.h +0 -36
  2703. data/third_party/upb/upb/upb.h +0 -39
  2704. data/third_party/upb/upb/upb.hpp +0 -107
  2705. data/third_party/upb/upb/wire/common.h +0 -44
  2706. data/third_party/upb/upb/wire/common_internal.h +0 -50
  2707. data/third_party/upb/upb/wire/decode_internal.h +0 -163
  2708. data/third_party/upb/upb/wire/swap_internal.h +0 -63
  2709. /data/third_party/boringssl-with-bazel/src/crypto/{x509v3 → x509}/ext_dat.h +0 -0
@@ -1,2457 +0,0 @@
1
- //
2
- // Copyright 2020 gRPC authors.
3
- //
4
- // Licensed under the Apache License, Version 2.0 (the "License");
5
- // you may not use this file except in compliance with the License.
6
- // You may obtain a copy of the License at
7
- //
8
- // http://www.apache.org/licenses/LICENSE-2.0
9
- //
10
- // Unless required by applicable law or agreed to in writing, software
11
- // distributed under the License is distributed on an "AS IS" BASIS,
12
- // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
- // See the License for the specific language governing permissions and
14
- // limitations under the License.
15
- //
16
-
17
- // Implementation of the Route Lookup Service (RLS) LB policy
18
- //
19
- // The policy queries a route lookup service for the name of the actual service
20
- // to use. A child policy that recognizes the name as a field of its
21
- // configuration will take further load balancing action on the request.
22
-
23
- #include <grpc/support/port_platform.h>
24
-
25
- #include <inttypes.h>
26
- #include <stdlib.h>
27
- #include <string.h>
28
-
29
- #include <algorithm>
30
- #include <deque>
31
- #include <initializer_list>
32
- #include <list>
33
- #include <map>
34
- #include <memory>
35
- #include <random>
36
- #include <set>
37
- #include <string>
38
- #include <type_traits>
39
- #include <unordered_map>
40
- #include <utility>
41
- #include <vector>
42
-
43
- #include "absl/base/thread_annotations.h"
44
- #include "absl/hash/hash.h"
45
- #include "absl/status/status.h"
46
- #include "absl/status/statusor.h"
47
- #include "absl/strings/str_cat.h"
48
- #include "absl/strings/str_format.h"
49
- #include "absl/strings/str_join.h"
50
- #include "absl/strings/string_view.h"
51
- #include "absl/types/optional.h"
52
- #include "upb/base/string_view.h"
53
- #include "upb/upb.hpp"
54
-
55
- #include <grpc/byte_buffer.h>
56
- #include <grpc/byte_buffer_reader.h>
57
- #include <grpc/event_engine/event_engine.h>
58
- #include <grpc/grpc.h>
59
- #include <grpc/impl/channel_arg_names.h>
60
- #include <grpc/impl/connectivity_state.h>
61
- #include <grpc/impl/propagation_bits.h>
62
- #include <grpc/slice.h>
63
- #include <grpc/status.h>
64
- #include <grpc/support/json.h>
65
- #include <grpc/support/log.h>
66
-
67
- #include "src/core/ext/filters/client_channel/client_channel.h"
68
- #include "src/core/ext/filters/client_channel/lb_policy/child_policy_handler.h"
69
- #include "src/core/lib/backoff/backoff.h"
70
- #include "src/core/lib/channel/channel_args.h"
71
- #include "src/core/lib/channel/channelz.h"
72
- #include "src/core/lib/config/core_configuration.h"
73
- #include "src/core/lib/debug/trace.h"
74
- #include "src/core/lib/gprpp/debug_location.h"
75
- #include "src/core/lib/gprpp/dual_ref_counted.h"
76
- #include "src/core/lib/gprpp/orphanable.h"
77
- #include "src/core/lib/gprpp/ref_counted_ptr.h"
78
- #include "src/core/lib/gprpp/status_helper.h"
79
- #include "src/core/lib/gprpp/sync.h"
80
- #include "src/core/lib/gprpp/time.h"
81
- #include "src/core/lib/gprpp/validation_errors.h"
82
- #include "src/core/lib/gprpp/work_serializer.h"
83
- #include "src/core/lib/iomgr/closure.h"
84
- #include "src/core/lib/iomgr/error.h"
85
- #include "src/core/lib/iomgr/exec_ctx.h"
86
- #include "src/core/lib/iomgr/pollset_set.h"
87
- #include "src/core/lib/json/json.h"
88
- #include "src/core/lib/json/json_args.h"
89
- #include "src/core/lib/json/json_object_loader.h"
90
- #include "src/core/lib/json/json_writer.h"
91
- #include "src/core/lib/load_balancing/delegating_helper.h"
92
- #include "src/core/lib/load_balancing/lb_policy.h"
93
- #include "src/core/lib/load_balancing/lb_policy_factory.h"
94
- #include "src/core/lib/load_balancing/lb_policy_registry.h"
95
- #include "src/core/lib/resolver/resolver_registry.h"
96
- #include "src/core/lib/resolver/server_address.h"
97
- #include "src/core/lib/security/credentials/credentials.h"
98
- #include "src/core/lib/security/credentials/fake/fake_credentials.h"
99
- #include "src/core/lib/service_config/service_config_impl.h"
100
- #include "src/core/lib/slice/slice.h"
101
- #include "src/core/lib/slice/slice_internal.h"
102
- #include "src/core/lib/surface/call.h"
103
- #include "src/core/lib/surface/channel.h"
104
- #include "src/core/lib/transport/connectivity_state.h"
105
- #include "src/core/lib/transport/error_utils.h"
106
- #include "src/proto/grpc/lookup/v1/rls.upb.h"
107
-
108
- namespace grpc_core {
109
-
110
- TraceFlag grpc_lb_rls_trace(false, "rls_lb");
111
-
112
- namespace {
113
-
114
- using ::grpc_event_engine::experimental::EventEngine;
115
-
116
- constexpr absl::string_view kRls = "rls_experimental";
117
- const char kGrpc[] = "grpc";
118
- const char* kRlsRequestPath = "/grpc.lookup.v1.RouteLookupService/RouteLookup";
119
- const char* kFakeTargetFieldValue = "fake_target_field_value";
120
- const char* kRlsHeaderKey = "x-google-rls-data";
121
-
122
- const Duration kDefaultLookupServiceTimeout = Duration::Seconds(10);
123
- const Duration kMaxMaxAge = Duration::Minutes(5);
124
- const Duration kMinExpirationTime = Duration::Seconds(5);
125
- const Duration kCacheBackoffInitial = Duration::Seconds(1);
126
- const double kCacheBackoffMultiplier = 1.6;
127
- const double kCacheBackoffJitter = 0.2;
128
- const Duration kCacheBackoffMax = Duration::Minutes(2);
129
- const Duration kDefaultThrottleWindowSize = Duration::Seconds(30);
130
- const double kDefaultThrottleRatioForSuccesses = 2.0;
131
- const int kDefaultThrottlePadding = 8;
132
- const Duration kCacheCleanupTimerInterval = Duration::Minutes(1);
133
- const int64_t kMaxCacheSizeBytes = 5 * 1024 * 1024;
134
-
135
- // Parsed RLS LB policy configuration.
136
- class RlsLbConfig : public LoadBalancingPolicy::Config {
137
- public:
138
- struct KeyBuilder {
139
- std::map<std::string /*key*/, std::vector<std::string /*header*/>>
140
- header_keys;
141
- std::string host_key;
142
- std::string service_key;
143
- std::string method_key;
144
- std::map<std::string /*key*/, std::string /*value*/> constant_keys;
145
- };
146
- using KeyBuilderMap = std::unordered_map<std::string /*path*/, KeyBuilder>;
147
-
148
- struct RouteLookupConfig {
149
- KeyBuilderMap key_builder_map;
150
- std::string lookup_service;
151
- Duration lookup_service_timeout = kDefaultLookupServiceTimeout;
152
- Duration max_age = kMaxMaxAge;
153
- Duration stale_age = kMaxMaxAge;
154
- int64_t cache_size_bytes = 0;
155
- std::string default_target;
156
-
157
- static const JsonLoaderInterface* JsonLoader(const JsonArgs&);
158
- void JsonPostLoad(const Json& json, const JsonArgs& args,
159
- ValidationErrors* errors);
160
- };
161
-
162
- RlsLbConfig() = default;
163
-
164
- RlsLbConfig(const RlsLbConfig&) = delete;
165
- RlsLbConfig& operator=(const RlsLbConfig&) = delete;
166
-
167
- RlsLbConfig(RlsLbConfig&& other) = delete;
168
- RlsLbConfig& operator=(RlsLbConfig&& other) = delete;
169
-
170
- absl::string_view name() const override { return kRls; }
171
-
172
- const KeyBuilderMap& key_builder_map() const {
173
- return route_lookup_config_.key_builder_map;
174
- }
175
- const std::string& lookup_service() const {
176
- return route_lookup_config_.lookup_service;
177
- }
178
- Duration lookup_service_timeout() const {
179
- return route_lookup_config_.lookup_service_timeout;
180
- }
181
- Duration max_age() const { return route_lookup_config_.max_age; }
182
- Duration stale_age() const { return route_lookup_config_.stale_age; }
183
- int64_t cache_size_bytes() const {
184
- return route_lookup_config_.cache_size_bytes;
185
- }
186
- const std::string& default_target() const {
187
- return route_lookup_config_.default_target;
188
- }
189
- const std::string& rls_channel_service_config() const {
190
- return rls_channel_service_config_;
191
- }
192
- const Json& child_policy_config() const { return child_policy_config_; }
193
- const std::string& child_policy_config_target_field_name() const {
194
- return child_policy_config_target_field_name_;
195
- }
196
- RefCountedPtr<LoadBalancingPolicy::Config>
197
- default_child_policy_parsed_config() const {
198
- return default_child_policy_parsed_config_;
199
- }
200
-
201
- static const JsonLoaderInterface* JsonLoader(const JsonArgs&);
202
- void JsonPostLoad(const Json& json, const JsonArgs&,
203
- ValidationErrors* errors);
204
-
205
- private:
206
- RouteLookupConfig route_lookup_config_;
207
- std::string rls_channel_service_config_;
208
- Json child_policy_config_;
209
- std::string child_policy_config_target_field_name_;
210
- RefCountedPtr<LoadBalancingPolicy::Config>
211
- default_child_policy_parsed_config_;
212
- };
213
-
214
- // RLS LB policy.
215
- class RlsLb : public LoadBalancingPolicy {
216
- public:
217
- explicit RlsLb(Args args);
218
-
219
- absl::string_view name() const override { return kRls; }
220
- absl::Status UpdateLocked(UpdateArgs args) override;
221
- void ExitIdleLocked() override;
222
- void ResetBackoffLocked() override;
223
-
224
- private:
225
- // Key to access entries in the cache and the request map.
226
- struct RequestKey {
227
- std::map<std::string, std::string> key_map;
228
-
229
- bool operator==(const RequestKey& rhs) const {
230
- return key_map == rhs.key_map;
231
- }
232
-
233
- template <typename H>
234
- friend H AbslHashValue(H h, const RequestKey& key) {
235
- std::hash<std::string> string_hasher;
236
- for (auto& kv : key.key_map) {
237
- h = H::combine(std::move(h), string_hasher(kv.first),
238
- string_hasher(kv.second));
239
- }
240
- return h;
241
- }
242
-
243
- size_t Size() const {
244
- size_t size = sizeof(RequestKey);
245
- for (auto& kv : key_map) {
246
- size += kv.first.length() + kv.second.length();
247
- }
248
- return size;
249
- }
250
-
251
- std::string ToString() const {
252
- return absl::StrCat(
253
- "{", absl::StrJoin(key_map, ",", absl::PairFormatter("=")), "}");
254
- }
255
- };
256
-
257
- // Data from an RLS response.
258
- struct ResponseInfo {
259
- absl::Status status;
260
- std::vector<std::string> targets;
261
- std::string header_data;
262
-
263
- std::string ToString() const {
264
- return absl::StrFormat("{status=%s, targets=[%s], header_data=\"%s\"}",
265
- status.ToString(), absl::StrJoin(targets, ","),
266
- header_data);
267
- }
268
- };
269
-
270
- // Wraps a child policy for a given RLS target.
271
- class ChildPolicyWrapper : public DualRefCounted<ChildPolicyWrapper> {
272
- public:
273
- ChildPolicyWrapper(RefCountedPtr<RlsLb> lb_policy, std::string target);
274
-
275
- // Note: We are forced to disable lock analysis here because
276
- // Orphan() is called by OrphanablePtr<>, which cannot have lock
277
- // annotations for this particular caller.
278
- void Orphan() override ABSL_NO_THREAD_SAFETY_ANALYSIS;
279
-
280
- const std::string& target() const { return target_; }
281
-
282
- PickResult Pick(PickArgs args) ABSL_EXCLUSIVE_LOCKS_REQUIRED(&RlsLb::mu_) {
283
- return picker_->Pick(args);
284
- }
285
-
286
- // Updates for the child policy are handled in two phases:
287
- // 1. In StartUpdate(), we parse and validate the new child policy
288
- // config and store the parsed config.
289
- // 2. In MaybeFinishUpdate(), we actually pass the parsed config to the
290
- // child policy's UpdateLocked() method.
291
- //
292
- // The reason we do this is to avoid deadlocks. In StartUpdate(),
293
- // if the new config fails to validate, then we need to set
294
- // picker_ to an instance that will fail all requests, which
295
- // requires holding the lock. However, we cannot call the child
296
- // policy's UpdateLocked() method from MaybeFinishUpdate() while
297
- // holding the lock, since that would cause a deadlock: the child's
298
- // UpdateLocked() will call the helper's UpdateState() method, which
299
- // will try to acquire the lock to set picker_. So StartUpdate() is
300
- // called while we are still holding the lock, but MaybeFinishUpdate()
301
- // is called after releasing it.
302
- //
303
- // Both methods grab the data they need from the parent object.
304
- void StartUpdate() ABSL_EXCLUSIVE_LOCKS_REQUIRED(&RlsLb::mu_);
305
- absl::Status MaybeFinishUpdate() ABSL_LOCKS_EXCLUDED(&RlsLb::mu_);
306
-
307
- void ExitIdleLocked() {
308
- if (child_policy_ != nullptr) child_policy_->ExitIdleLocked();
309
- }
310
-
311
- void ResetBackoffLocked() {
312
- if (child_policy_ != nullptr) child_policy_->ResetBackoffLocked();
313
- }
314
-
315
- // Gets the connectivity state of the child policy. Once the child policy
316
- // reports TRANSIENT_FAILURE, the function will always return
317
- // TRANSIENT_FAILURE state instead of the actual state of the child policy
318
- // until the child policy reports another READY state.
319
- grpc_connectivity_state connectivity_state() const
320
- ABSL_EXCLUSIVE_LOCKS_REQUIRED(&RlsLb::mu_) {
321
- return connectivity_state_;
322
- }
323
-
324
- private:
325
- // ChannelControlHelper object that allows the child policy to update state
326
- // with the wrapper.
327
- class ChildPolicyHelper : public DelegatingChannelControlHelper {
328
- public:
329
- explicit ChildPolicyHelper(WeakRefCountedPtr<ChildPolicyWrapper> wrapper)
330
- : wrapper_(std::move(wrapper)) {}
331
- ~ChildPolicyHelper() override {
332
- wrapper_.reset(DEBUG_LOCATION, "ChildPolicyHelper");
333
- }
334
-
335
- void UpdateState(grpc_connectivity_state state,
336
- const absl::Status& status,
337
- RefCountedPtr<SubchannelPicker> picker) override;
338
-
339
- private:
340
- ChannelControlHelper* parent_helper() const override {
341
- return wrapper_->lb_policy_->channel_control_helper();
342
- }
343
-
344
- WeakRefCountedPtr<ChildPolicyWrapper> wrapper_;
345
- };
346
-
347
- RefCountedPtr<RlsLb> lb_policy_;
348
- std::string target_;
349
-
350
- bool is_shutdown_ = false;
351
-
352
- OrphanablePtr<ChildPolicyHandler> child_policy_;
353
- RefCountedPtr<LoadBalancingPolicy::Config> pending_config_;
354
-
355
- grpc_connectivity_state connectivity_state_ ABSL_GUARDED_BY(&RlsLb::mu_) =
356
- GRPC_CHANNEL_CONNECTING;
357
- RefCountedPtr<LoadBalancingPolicy::SubchannelPicker> picker_
358
- ABSL_GUARDED_BY(&RlsLb::mu_);
359
- };
360
-
361
- // A picker that uses the cache and the request map in the LB policy
362
- // (synchronized via a mutex) to determine how to route requests.
363
- class Picker : public LoadBalancingPolicy::SubchannelPicker {
364
- public:
365
- explicit Picker(RefCountedPtr<RlsLb> lb_policy);
366
-
367
- PickResult Pick(PickArgs args) override;
368
-
369
- private:
370
- RefCountedPtr<RlsLb> lb_policy_;
371
- RefCountedPtr<RlsLbConfig> config_;
372
- RefCountedPtr<ChildPolicyWrapper> default_child_policy_;
373
- };
374
-
375
- // An LRU cache with adjustable size.
376
- class Cache {
377
- public:
378
- using Iterator = std::list<RequestKey>::iterator;
379
-
380
- class Entry : public InternallyRefCounted<Entry> {
381
- public:
382
- Entry(RefCountedPtr<RlsLb> lb_policy, const RequestKey& key);
383
-
384
- // Notify the entry when it's evicted from the cache. Performs shut down.
385
- // Note: We are forced to disable lock analysis here because
386
- // Orphan() is called by OrphanablePtr<>, which cannot have lock
387
- // annotations for this particular caller.
388
- void Orphan() override ABSL_NO_THREAD_SAFETY_ANALYSIS;
389
-
390
- const absl::Status& status() const
391
- ABSL_EXCLUSIVE_LOCKS_REQUIRED(&RlsLb::mu_) {
392
- return status_;
393
- }
394
- Timestamp backoff_time() const
395
- ABSL_EXCLUSIVE_LOCKS_REQUIRED(&RlsLb::mu_) {
396
- return backoff_time_;
397
- }
398
- Timestamp backoff_expiration_time() const
399
- ABSL_EXCLUSIVE_LOCKS_REQUIRED(&RlsLb::mu_) {
400
- return backoff_expiration_time_;
401
- }
402
- Timestamp data_expiration_time() const
403
- ABSL_EXCLUSIVE_LOCKS_REQUIRED(&RlsLb::mu_) {
404
- return data_expiration_time_;
405
- }
406
- const std::string& header_data() const
407
- ABSL_EXCLUSIVE_LOCKS_REQUIRED(&RlsLb::mu_) {
408
- return header_data_;
409
- }
410
- Timestamp stale_time() const ABSL_EXCLUSIVE_LOCKS_REQUIRED(&RlsLb::mu_) {
411
- return stale_time_;
412
- }
413
- Timestamp min_expiration_time() const
414
- ABSL_EXCLUSIVE_LOCKS_REQUIRED(&RlsLb::mu_) {
415
- return min_expiration_time_;
416
- }
417
-
418
- std::unique_ptr<BackOff> TakeBackoffState()
419
- ABSL_EXCLUSIVE_LOCKS_REQUIRED(&RlsLb::mu_) {
420
- return std::move(backoff_state_);
421
- }
422
-
423
- // Cache size of entry.
424
- size_t Size() const ABSL_EXCLUSIVE_LOCKS_REQUIRED(&RlsLb::mu_);
425
-
426
- // Pick subchannel for request based on the entry's state.
427
- PickResult Pick(PickArgs args) ABSL_EXCLUSIVE_LOCKS_REQUIRED(&RlsLb::mu_);
428
-
429
- // If the cache entry is in backoff state, resets the backoff and, if
430
- // applicable, its backoff timer. The method does not update the LB
431
- // policy's picker; the caller is responsible for that if necessary.
432
- void ResetBackoff() ABSL_EXCLUSIVE_LOCKS_REQUIRED(&RlsLb::mu_);
433
-
434
- // Check if the entry should be removed by the clean-up timer.
435
- bool ShouldRemove() const ABSL_EXCLUSIVE_LOCKS_REQUIRED(&RlsLb::mu_);
436
-
437
- // Check if the entry can be evicted from the cache, i.e. the
438
- // min_expiration_time_ has passed.
439
- bool CanEvict() const ABSL_EXCLUSIVE_LOCKS_REQUIRED(&RlsLb::mu_);
440
-
441
- // Updates the entry upon reception of a new RLS response.
442
- // Returns a list of child policy wrappers on which FinishUpdate()
443
- // needs to be called after releasing the lock.
444
- std::vector<ChildPolicyWrapper*> OnRlsResponseLocked(
445
- ResponseInfo response, std::unique_ptr<BackOff> backoff_state)
446
- ABSL_EXCLUSIVE_LOCKS_REQUIRED(&RlsLb::mu_);
447
-
448
- // Moves entry to the end of the LRU list.
449
- void MarkUsed() ABSL_EXCLUSIVE_LOCKS_REQUIRED(&RlsLb::mu_);
450
-
451
- private:
452
- class BackoffTimer : public InternallyRefCounted<BackoffTimer> {
453
- public:
454
- BackoffTimer(RefCountedPtr<Entry> entry, Timestamp backoff_time);
455
-
456
- // Note: We are forced to disable lock analysis here because
457
- // Orphan() is called by OrphanablePtr<>, which cannot have lock
458
- // annotations for this particular caller.
459
- void Orphan() override ABSL_NO_THREAD_SAFETY_ANALYSIS;
460
-
461
- private:
462
- void OnBackoffTimerLocked();
463
-
464
- RefCountedPtr<Entry> entry_;
465
- absl::optional<EventEngine::TaskHandle> backoff_timer_task_handle_
466
- ABSL_GUARDED_BY(&RlsLb::mu_);
467
- };
468
-
469
- RefCountedPtr<RlsLb> lb_policy_;
470
-
471
- bool is_shutdown_ ABSL_GUARDED_BY(&RlsLb::mu_) = false;
472
-
473
- // Backoff states
474
- absl::Status status_ ABSL_GUARDED_BY(&RlsLb::mu_);
475
- std::unique_ptr<BackOff> backoff_state_ ABSL_GUARDED_BY(&RlsLb::mu_);
476
- Timestamp backoff_time_ ABSL_GUARDED_BY(&RlsLb::mu_) =
477
- Timestamp::InfPast();
478
- Timestamp backoff_expiration_time_ ABSL_GUARDED_BY(&RlsLb::mu_) =
479
- Timestamp::InfPast();
480
- OrphanablePtr<BackoffTimer> backoff_timer_;
481
-
482
- // RLS response states
483
- std::vector<RefCountedPtr<ChildPolicyWrapper>> child_policy_wrappers_
484
- ABSL_GUARDED_BY(&RlsLb::mu_);
485
- std::string header_data_ ABSL_GUARDED_BY(&RlsLb::mu_);
486
- Timestamp data_expiration_time_ ABSL_GUARDED_BY(&RlsLb::mu_) =
487
- Timestamp::InfPast();
488
- Timestamp stale_time_ ABSL_GUARDED_BY(&RlsLb::mu_) = Timestamp::InfPast();
489
-
490
- Timestamp min_expiration_time_ ABSL_GUARDED_BY(&RlsLb::mu_);
491
- Cache::Iterator lru_iterator_ ABSL_GUARDED_BY(&RlsLb::mu_);
492
- };
493
-
494
- explicit Cache(RlsLb* lb_policy);
495
-
496
- // Finds an entry from the cache that corresponds to a key. If an entry is
497
- // not found, nullptr is returned. Otherwise, the entry is considered
498
- // recently used and its order in the LRU list of the cache is updated.
499
- Entry* Find(const RequestKey& key)
500
- ABSL_EXCLUSIVE_LOCKS_REQUIRED(&RlsLb::mu_);
501
-
502
- // Finds an entry from the cache that corresponds to a key. If an entry is
503
- // not found, an entry is created, inserted in the cache, and returned to
504
- // the caller. Otherwise, the entry found is returned to the caller. The
505
- // entry returned to the user is considered recently used and its order in
506
- // the LRU list of the cache is updated.
507
- Entry* FindOrInsert(const RequestKey& key)
508
- ABSL_EXCLUSIVE_LOCKS_REQUIRED(&RlsLb::mu_);
509
-
510
- // Resizes the cache. If the new cache size is greater than the current size
511
- // of the cache, do nothing. Otherwise, evict the oldest entries that
512
- // exceed the new size limit of the cache.
513
- void Resize(size_t bytes) ABSL_EXCLUSIVE_LOCKS_REQUIRED(&RlsLb::mu_);
514
-
515
- // Resets backoff of all the cache entries.
516
- void ResetAllBackoff() ABSL_EXCLUSIVE_LOCKS_REQUIRED(&RlsLb::mu_);
517
-
518
- // Shutdown the cache; clean-up and orphan all the stored cache entries.
519
- void Shutdown() ABSL_EXCLUSIVE_LOCKS_REQUIRED(&RlsLb::mu_);
520
-
521
- private:
522
- // Shared logic for starting the cleanup timer
523
- void StartCleanupTimer() ABSL_EXCLUSIVE_LOCKS_REQUIRED(&RlsLb::mu_);
524
-
525
- void OnCleanupTimer();
526
-
527
- // Returns the entry size for a given key.
528
- static size_t EntrySizeForKey(const RequestKey& key);
529
-
530
- // Evicts oversized cache elements when the current size is greater than
531
- // the specified limit.
532
- void MaybeShrinkSize(size_t bytes)
533
- ABSL_EXCLUSIVE_LOCKS_REQUIRED(&RlsLb::mu_);
534
-
535
- RlsLb* lb_policy_;
536
-
537
- size_t size_limit_ ABSL_GUARDED_BY(&RlsLb::mu_) = 0;
538
- size_t size_ ABSL_GUARDED_BY(&RlsLb::mu_) = 0;
539
-
540
- std::list<RequestKey> lru_list_ ABSL_GUARDED_BY(&RlsLb::mu_);
541
- std::unordered_map<RequestKey, OrphanablePtr<Entry>, absl::Hash<RequestKey>>
542
- map_ ABSL_GUARDED_BY(&RlsLb::mu_);
543
- absl::optional<EventEngine::TaskHandle> cleanup_timer_handle_;
544
- };
545
-
546
- // Channel for communicating with the RLS server.
547
- // Contains throttling logic for RLS requests.
548
- class RlsChannel : public InternallyRefCounted<RlsChannel> {
549
- public:
550
- explicit RlsChannel(RefCountedPtr<RlsLb> lb_policy);
551
-
552
- // Shuts down the channel.
553
- void Orphan() override;
554
-
555
- // Starts an RLS call.
556
- // If stale_entry is non-null, it points to the entry containing
557
- // stale data for the key.
558
- void StartRlsCall(const RequestKey& key, Cache::Entry* stale_entry)
559
- ABSL_EXCLUSIVE_LOCKS_REQUIRED(&RlsLb::mu_);
560
-
561
- // Reports the result of an RLS call to the throttle.
562
- void ReportResponseLocked(bool response_succeeded)
563
- ABSL_EXCLUSIVE_LOCKS_REQUIRED(&RlsLb::mu_);
564
-
565
- // Checks if a proposed RLS call should be throttled.
566
- bool ShouldThrottle() ABSL_EXCLUSIVE_LOCKS_REQUIRED(&RlsLb::mu_) {
567
- return throttle_.ShouldThrottle();
568
- }
569
-
570
- // Resets the channel's backoff.
571
- void ResetBackoff();
572
-
573
- grpc_channel* channel() const { return channel_; }
574
-
575
- private:
576
- // Watches the state of the RLS channel. Notifies the LB policy when
577
- // the channel was previously in TRANSIENT_FAILURE and then becomes READY.
578
- class StateWatcher : public AsyncConnectivityStateWatcherInterface {
579
- public:
580
- explicit StateWatcher(RefCountedPtr<RlsChannel> rls_channel)
581
- : AsyncConnectivityStateWatcherInterface(
582
- rls_channel->lb_policy_->work_serializer()),
583
- rls_channel_(std::move(rls_channel)) {}
584
-
585
- private:
586
- void OnConnectivityStateChange(grpc_connectivity_state new_state,
587
- const absl::Status& status) override;
588
-
589
- RefCountedPtr<RlsChannel> rls_channel_;
590
- bool was_transient_failure_ = false;
591
- };
592
-
593
- // Throttle state for RLS requests.
594
- class Throttle {
595
- public:
596
- explicit Throttle(
597
- Duration window_size = kDefaultThrottleWindowSize,
598
- float ratio_for_successes = kDefaultThrottleRatioForSuccesses,
599
- int padding = kDefaultThrottlePadding)
600
- : window_size_(window_size),
601
- ratio_for_successes_(ratio_for_successes),
602
- padding_(padding) {}
603
-
604
- bool ShouldThrottle() ABSL_EXCLUSIVE_LOCKS_REQUIRED(&RlsLb::mu_);
605
-
606
- void RegisterResponse(bool success)
607
- ABSL_EXCLUSIVE_LOCKS_REQUIRED(&RlsLb::mu_);
608
-
609
- private:
610
- Duration window_size_;
611
- double ratio_for_successes_;
612
- int padding_;
613
- std::mt19937 rng_{std::random_device()()};
614
-
615
- // Logged timestamp of requests.
616
- std::deque<Timestamp> requests_ ABSL_GUARDED_BY(&RlsLb::mu_);
617
-
618
- // Logged timestamps of failures.
619
- std::deque<Timestamp> failures_ ABSL_GUARDED_BY(&RlsLb::mu_);
620
- };
621
-
622
- RefCountedPtr<RlsLb> lb_policy_;
623
- bool is_shutdown_ = false;
624
-
625
- grpc_channel* channel_ = nullptr;
626
- RefCountedPtr<channelz::ChannelNode> parent_channelz_node_;
627
- StateWatcher* watcher_ = nullptr;
628
- Throttle throttle_ ABSL_GUARDED_BY(&RlsLb::mu_);
629
- };
630
-
631
- // A pending RLS request. Instances will be tracked in request_map_.
632
- class RlsRequest : public InternallyRefCounted<RlsRequest> {
633
- public:
634
- // Asynchronously starts a call on rls_channel for key.
635
- // Stores backoff_state, which will be transferred to the data cache
636
- // if the RLS request fails.
637
- RlsRequest(RefCountedPtr<RlsLb> lb_policy, RlsLb::RequestKey key,
638
- RefCountedPtr<RlsChannel> rls_channel,
639
- std::unique_ptr<BackOff> backoff_state,
640
- grpc_lookup_v1_RouteLookupRequest_Reason reason,
641
- std::string stale_header_data);
642
- ~RlsRequest() override;
643
-
644
- // Shuts down the request. If the request is still in flight, it is
645
- // cancelled, in which case no response will be added to the cache.
646
- void Orphan() override;
647
-
648
- private:
649
- // Callback to be invoked to start the call.
650
- static void StartCall(void* arg, grpc_error_handle error);
651
-
652
- // Helper for StartCall() that runs within the WorkSerializer.
653
- void StartCallLocked();
654
-
655
- // Callback to be invoked when the call is completed.
656
- static void OnRlsCallComplete(void* arg, grpc_error_handle error);
657
-
658
- // Call completion callback running on LB policy WorkSerializer.
659
- void OnRlsCallCompleteLocked(grpc_error_handle error);
660
-
661
- grpc_byte_buffer* MakeRequestProto();
662
- ResponseInfo ParseResponseProto();
663
-
664
- RefCountedPtr<RlsLb> lb_policy_;
665
- RlsLb::RequestKey key_;
666
- RefCountedPtr<RlsChannel> rls_channel_;
667
- std::unique_ptr<BackOff> backoff_state_;
668
- grpc_lookup_v1_RouteLookupRequest_Reason reason_;
669
- std::string stale_header_data_;
670
-
671
- // RLS call state.
672
- Timestamp deadline_;
673
- grpc_closure call_start_cb_;
674
- grpc_closure call_complete_cb_;
675
- grpc_call* call_ = nullptr;
676
- grpc_byte_buffer* send_message_ = nullptr;
677
- grpc_metadata_array recv_initial_metadata_;
678
- grpc_byte_buffer* recv_message_ = nullptr;
679
- grpc_metadata_array recv_trailing_metadata_;
680
- grpc_status_code status_recv_;
681
- grpc_slice status_details_recv_;
682
- };
683
-
684
- void ShutdownLocked() override;
685
-
686
- // Returns a new picker to the channel to trigger reprocessing of
687
- // pending picks. Schedules the actual picker update on the ExecCtx
688
- // to be run later, so it's safe to invoke this while holding the lock.
689
- void UpdatePickerAsync();
690
- // Hops into work serializer and calls UpdatePickerLocked().
691
- static void UpdatePickerCallback(void* arg, grpc_error_handle error);
692
- // Updates the picker in the work serializer.
693
- void UpdatePickerLocked() ABSL_LOCKS_EXCLUDED(&mu_);
694
-
695
- // Mutex to guard LB policy state that is accessed by the picker.
696
- Mutex mu_;
697
- bool is_shutdown_ ABSL_GUARDED_BY(mu_) = false;
698
- bool update_in_progress_ = false;
699
- Cache cache_ ABSL_GUARDED_BY(mu_);
700
- // Maps an RLS request key to an RlsRequest object that represents a pending
701
- // RLS request.
702
- std::unordered_map<RequestKey, OrphanablePtr<RlsRequest>,
703
- absl::Hash<RequestKey>>
704
- request_map_ ABSL_GUARDED_BY(mu_);
705
- // The channel on which RLS requests are sent.
706
- // Note that this channel may be swapped out when the RLS policy gets
707
- // an update. However, when that happens, any existing entries in
708
- // request_map_ will continue to use the previous channel.
709
- OrphanablePtr<RlsChannel> rls_channel_ ABSL_GUARDED_BY(mu_);
710
-
711
- // Accessed only from within WorkSerializer.
712
- absl::StatusOr<ServerAddressList> addresses_;
713
- ChannelArgs channel_args_;
714
- RefCountedPtr<RlsLbConfig> config_;
715
- RefCountedPtr<ChildPolicyWrapper> default_child_policy_;
716
- std::map<std::string /*target*/, ChildPolicyWrapper*> child_policy_map_;
717
- };
718
-
719
- //
720
- // RlsLb::ChildPolicyWrapper
721
- //
722
-
723
- RlsLb::ChildPolicyWrapper::ChildPolicyWrapper(RefCountedPtr<RlsLb> lb_policy,
724
- std::string target)
725
- : DualRefCounted<ChildPolicyWrapper>(
726
- GRPC_TRACE_FLAG_ENABLED(grpc_lb_rls_trace) ? "ChildPolicyWrapper"
727
- : nullptr),
728
- lb_policy_(std::move(lb_policy)),
729
- target_(std::move(target)),
730
- picker_(MakeRefCounted<QueuePicker>(nullptr)) {
731
- lb_policy_->child_policy_map_.emplace(target_, this);
732
- }
733
-
734
- void RlsLb::ChildPolicyWrapper::Orphan() {
735
- if (GRPC_TRACE_FLAG_ENABLED(grpc_lb_rls_trace)) {
736
- gpr_log(GPR_INFO, "[rlslb %p] ChildPolicyWrapper=%p [%s]: shutdown",
737
- lb_policy_.get(), this, target_.c_str());
738
- }
739
- is_shutdown_ = true;
740
- lb_policy_->child_policy_map_.erase(target_);
741
- if (child_policy_ != nullptr) {
742
- grpc_pollset_set_del_pollset_set(child_policy_->interested_parties(),
743
- lb_policy_->interested_parties());
744
- child_policy_.reset();
745
- }
746
- picker_.reset();
747
- }
748
-
749
- absl::optional<Json> InsertOrUpdateChildPolicyField(const std::string& field,
750
- const std::string& value,
751
- const Json& config,
752
- ValidationErrors* errors) {
753
- if (config.type() != Json::Type::kArray) {
754
- errors->AddError("is not an array");
755
- return absl::nullopt;
756
- }
757
- const size_t original_num_errors = errors->size();
758
- Json::Array array;
759
- for (size_t i = 0; i < config.array().size(); ++i) {
760
- const Json& child_json = config.array()[i];
761
- ValidationErrors::ScopedField json_field(errors, absl::StrCat("[", i, "]"));
762
- if (child_json.type() != Json::Type::kObject) {
763
- errors->AddError("is not an object");
764
- } else {
765
- const Json::Object& child = child_json.object();
766
- if (child.size() != 1) {
767
- errors->AddError("child policy object contains more than one field");
768
- } else {
769
- const std::string& child_name = child.begin()->first;
770
- ValidationErrors::ScopedField json_field(
771
- errors, absl::StrCat("[\"", child_name, "\"]"));
772
- const Json& child_config_json = child.begin()->second;
773
- if (child_config_json.type() != Json::Type::kObject) {
774
- errors->AddError("child policy config is not an object");
775
- } else {
776
- Json::Object child_config = child_config_json.object();
777
- child_config[field] = Json::FromString(value);
778
- array.emplace_back(Json::FromObject(
779
- {{child_name, Json::FromObject(std::move(child_config))}}));
780
- }
781
- }
782
- }
783
- }
784
- if (errors->size() != original_num_errors) return absl::nullopt;
785
- return Json::FromArray(std::move(array));
786
- }
787
-
788
- void RlsLb::ChildPolicyWrapper::StartUpdate() {
789
- ValidationErrors errors;
790
- auto child_policy_config = InsertOrUpdateChildPolicyField(
791
- lb_policy_->config_->child_policy_config_target_field_name(), target_,
792
- lb_policy_->config_->child_policy_config(), &errors);
793
- GPR_ASSERT(child_policy_config.has_value());
794
- if (GRPC_TRACE_FLAG_ENABLED(grpc_lb_rls_trace)) {
795
- gpr_log(
796
- GPR_INFO,
797
- "[rlslb %p] ChildPolicyWrapper=%p [%s]: validating update, config: %s",
798
- lb_policy_.get(), this, target_.c_str(),
799
- JsonDump(*child_policy_config).c_str());
800
- }
801
- auto config =
802
- CoreConfiguration::Get().lb_policy_registry().ParseLoadBalancingConfig(
803
- *child_policy_config);
804
- // Returned RLS target fails the validation.
805
- if (!config.ok()) {
806
- if (GRPC_TRACE_FLAG_ENABLED(grpc_lb_rls_trace)) {
807
- gpr_log(GPR_INFO,
808
- "[rlslb %p] ChildPolicyWrapper=%p [%s]: config failed to parse: "
809
- "%s",
810
- lb_policy_.get(), this, target_.c_str(),
811
- config.status().ToString().c_str());
812
- }
813
- pending_config_.reset();
814
- picker_ = MakeRefCounted<TransientFailurePicker>(
815
- absl::UnavailableError(config.status().message()));
816
- child_policy_.reset();
817
- } else {
818
- pending_config_ = std::move(*config);
819
- }
820
- }
821
-
822
- absl::Status RlsLb::ChildPolicyWrapper::MaybeFinishUpdate() {
823
- // If pending_config_ is not set, that means StartUpdate() failed, so
824
- // there's nothing to do here.
825
- if (pending_config_ == nullptr) return absl::OkStatus();
826
- // If child policy doesn't yet exist, create it.
827
- if (child_policy_ == nullptr) {
828
- Args create_args;
829
- create_args.work_serializer = lb_policy_->work_serializer();
830
- create_args.channel_control_helper = std::make_unique<ChildPolicyHelper>(
831
- WeakRef(DEBUG_LOCATION, "ChildPolicyHelper"));
832
- create_args.args = lb_policy_->channel_args_;
833
- child_policy_ = MakeOrphanable<ChildPolicyHandler>(std::move(create_args),
834
- &grpc_lb_rls_trace);
835
- if (GRPC_TRACE_FLAG_ENABLED(grpc_lb_rls_trace)) {
836
- gpr_log(GPR_INFO,
837
- "[rlslb %p] ChildPolicyWrapper=%p [%s], created new child policy "
838
- "handler %p",
839
- lb_policy_.get(), this, target_.c_str(), child_policy_.get());
840
- }
841
- grpc_pollset_set_add_pollset_set(child_policy_->interested_parties(),
842
- lb_policy_->interested_parties());
843
- }
844
- // Send the child the updated config.
845
- if (GRPC_TRACE_FLAG_ENABLED(grpc_lb_rls_trace)) {
846
- gpr_log(GPR_INFO,
847
- "[rlslb %p] ChildPolicyWrapper=%p [%s], updating child policy "
848
- "handler %p",
849
- lb_policy_.get(), this, target_.c_str(), child_policy_.get());
850
- }
851
- UpdateArgs update_args;
852
- update_args.config = std::move(pending_config_);
853
- update_args.addresses = lb_policy_->addresses_;
854
- update_args.args = lb_policy_->channel_args_;
855
- return child_policy_->UpdateLocked(std::move(update_args));
856
- }
857
-
858
- //
859
- // RlsLb::ChildPolicyWrapper::ChildPolicyHelper
860
- //
861
-
862
- void RlsLb::ChildPolicyWrapper::ChildPolicyHelper::UpdateState(
863
- grpc_connectivity_state state, const absl::Status& status,
864
- RefCountedPtr<SubchannelPicker> picker) {
865
- if (GRPC_TRACE_FLAG_ENABLED(grpc_lb_rls_trace)) {
866
- gpr_log(GPR_INFO,
867
- "[rlslb %p] ChildPolicyWrapper=%p [%s] ChildPolicyHelper=%p: "
868
- "UpdateState(state=%s, status=%s, picker=%p)",
869
- wrapper_->lb_policy_.get(), wrapper_.get(),
870
- wrapper_->target_.c_str(), this, ConnectivityStateName(state),
871
- status.ToString().c_str(), picker.get());
872
- }
873
- {
874
- MutexLock lock(&wrapper_->lb_policy_->mu_);
875
- if (wrapper_->is_shutdown_) return;
876
- // TODO(roth): It looks like this ignores subsequent TF updates that
877
- // might change the status used to fail picks, which seems wrong.
878
- if (wrapper_->connectivity_state_ == GRPC_CHANNEL_TRANSIENT_FAILURE &&
879
- state != GRPC_CHANNEL_READY) {
880
- return;
881
- }
882
- wrapper_->connectivity_state_ = state;
883
- GPR_DEBUG_ASSERT(picker != nullptr);
884
- if (picker != nullptr) {
885
- wrapper_->picker_ = std::move(picker);
886
- }
887
- }
888
- wrapper_->lb_policy_->UpdatePickerLocked();
889
- }
890
-
891
- //
892
- // RlsLb::Picker
893
- //
894
-
895
- // Builds the key to be used for a request based on path and initial_metadata.
896
- std::map<std::string, std::string> BuildKeyMap(
897
- const RlsLbConfig::KeyBuilderMap& key_builder_map, absl::string_view path,
898
- absl::string_view host,
899
- const LoadBalancingPolicy::MetadataInterface* initial_metadata) {
900
- size_t last_slash_pos = path.npos; // May need this a few times, so cache it.
901
- // Find key builder for this path.
902
- auto it = key_builder_map.find(std::string(path));
903
- if (it == key_builder_map.end()) {
904
- // Didn't find exact match, try method wildcard.
905
- last_slash_pos = path.rfind("/");
906
- GPR_DEBUG_ASSERT(last_slash_pos != path.npos);
907
- if (GPR_UNLIKELY(last_slash_pos == path.npos)) return {};
908
- std::string service(path.substr(0, last_slash_pos + 1));
909
- it = key_builder_map.find(service);
910
- if (it == key_builder_map.end()) return {};
911
- }
912
- const RlsLbConfig::KeyBuilder* key_builder = &it->second;
913
- // Construct key map using key builder.
914
- std::map<std::string, std::string> key_map;
915
- // Add header keys.
916
- for (const auto& p : key_builder->header_keys) {
917
- const std::string& key = p.first;
918
- const std::vector<std::string>& header_names = p.second;
919
- for (const std::string& header_name : header_names) {
920
- std::string buffer;
921
- absl::optional<absl::string_view> value =
922
- initial_metadata->Lookup(header_name, &buffer);
923
- if (value.has_value()) {
924
- key_map[key] = std::string(*value);
925
- break;
926
- }
927
- }
928
- }
929
- // Add constant keys.
930
- key_map.insert(key_builder->constant_keys.begin(),
931
- key_builder->constant_keys.end());
932
- // Add host key.
933
- if (!key_builder->host_key.empty()) {
934
- key_map[key_builder->host_key] = std::string(host);
935
- }
936
- // Add service key.
937
- if (!key_builder->service_key.empty()) {
938
- if (last_slash_pos == path.npos) {
939
- last_slash_pos = path.rfind("/");
940
- GPR_DEBUG_ASSERT(last_slash_pos != path.npos);
941
- if (GPR_UNLIKELY(last_slash_pos == path.npos)) return {};
942
- }
943
- key_map[key_builder->service_key] =
944
- std::string(path.substr(1, last_slash_pos - 1));
945
- }
946
- // Add method key.
947
- if (!key_builder->method_key.empty()) {
948
- if (last_slash_pos == path.npos) {
949
- last_slash_pos = path.rfind("/");
950
- GPR_DEBUG_ASSERT(last_slash_pos != path.npos);
951
- if (GPR_UNLIKELY(last_slash_pos == path.npos)) return {};
952
- }
953
- key_map[key_builder->method_key] =
954
- std::string(path.substr(last_slash_pos + 1));
955
- }
956
- return key_map;
957
- }
958
-
959
- RlsLb::Picker::Picker(RefCountedPtr<RlsLb> lb_policy)
960
- : lb_policy_(std::move(lb_policy)), config_(lb_policy_->config_) {
961
- if (lb_policy_->default_child_policy_ != nullptr) {
962
- default_child_policy_ =
963
- lb_policy_->default_child_policy_->Ref(DEBUG_LOCATION, "Picker");
964
- }
965
- }
966
-
967
- LoadBalancingPolicy::PickResult RlsLb::Picker::Pick(PickArgs args) {
968
- // Construct key for request.
969
- RequestKey key = {
970
- BuildKeyMap(config_->key_builder_map(), args.path,
971
- lb_policy_->channel_control_helper()->GetAuthority(),
972
- args.initial_metadata)};
973
- if (GRPC_TRACE_FLAG_ENABLED(grpc_lb_rls_trace)) {
974
- gpr_log(GPR_INFO, "[rlslb %p] picker=%p: request keys: %s",
975
- lb_policy_.get(), this, key.ToString().c_str());
976
- }
977
- Timestamp now = Timestamp::Now();
978
- MutexLock lock(&lb_policy_->mu_);
979
- if (lb_policy_->is_shutdown_) {
980
- return PickResult::Fail(
981
- absl::UnavailableError("LB policy already shut down"));
982
- }
983
- // Check if there's a cache entry.
984
- Cache::Entry* entry = lb_policy_->cache_.Find(key);
985
- // If there is no cache entry, or if the cache entry is not in backoff
986
- // and has a stale time in the past, and there is not already a
987
- // pending RLS request for this key, then try to start a new RLS request.
988
- if ((entry == nullptr ||
989
- (entry->stale_time() < now && entry->backoff_time() < now)) &&
990
- lb_policy_->request_map_.find(key) == lb_policy_->request_map_.end()) {
991
- // Check if requests are being throttled.
992
- if (lb_policy_->rls_channel_->ShouldThrottle()) {
993
- // Request is throttled.
994
- // If there is no non-expired data in the cache, then we use the
995
- // default target if set, or else we fail the pick.
996
- if (entry == nullptr || entry->data_expiration_time() < now) {
997
- if (default_child_policy_ != nullptr) {
998
- if (GRPC_TRACE_FLAG_ENABLED(grpc_lb_rls_trace)) {
999
- gpr_log(GPR_INFO,
1000
- "[rlslb %p] picker=%p: RLS call throttled; "
1001
- "using default target",
1002
- lb_policy_.get(), this);
1003
- }
1004
- return default_child_policy_->Pick(args);
1005
- }
1006
- if (GRPC_TRACE_FLAG_ENABLED(grpc_lb_rls_trace)) {
1007
- gpr_log(GPR_INFO,
1008
- "[rlslb %p] picker=%p: RLS call throttled; failing pick",
1009
- lb_policy_.get(), this);
1010
- }
1011
- return PickResult::Fail(
1012
- absl::UnavailableError("RLS request throttled"));
1013
- }
1014
- }
1015
- // Start the RLS call.
1016
- lb_policy_->rls_channel_->StartRlsCall(
1017
- key, (entry == nullptr || entry->data_expiration_time() < now) ? nullptr
1018
- : entry);
1019
- }
1020
- // If the cache entry exists, see if it has usable data.
1021
- if (entry != nullptr) {
1022
- // If the entry has non-expired data, use it.
1023
- if (entry->data_expiration_time() >= now) {
1024
- if (GRPC_TRACE_FLAG_ENABLED(grpc_lb_rls_trace)) {
1025
- gpr_log(GPR_INFO, "[rlslb %p] picker=%p: using cache entry %p",
1026
- lb_policy_.get(), this, entry);
1027
- }
1028
- return entry->Pick(args);
1029
- }
1030
- // If the entry is in backoff, then use the default target if set,
1031
- // or else fail the pick.
1032
- if (entry->backoff_time() >= now) {
1033
- if (default_child_policy_ != nullptr) {
1034
- if (GRPC_TRACE_FLAG_ENABLED(grpc_lb_rls_trace)) {
1035
- gpr_log(
1036
- GPR_INFO,
1037
- "[rlslb %p] picker=%p: RLS call in backoff; using default target",
1038
- lb_policy_.get(), this);
1039
- }
1040
- return default_child_policy_->Pick(args);
1041
- }
1042
- if (GRPC_TRACE_FLAG_ENABLED(grpc_lb_rls_trace)) {
1043
- gpr_log(GPR_INFO,
1044
- "[rlslb %p] picker=%p: RLS call in backoff; failing pick",
1045
- lb_policy_.get(), this);
1046
- }
1047
- return PickResult::Fail(absl::UnavailableError(
1048
- absl::StrCat("RLS request failed: ", entry->status().ToString())));
1049
- }
1050
- }
1051
- // RLS call pending. Queue the pick.
1052
- if (GRPC_TRACE_FLAG_ENABLED(grpc_lb_rls_trace)) {
1053
- gpr_log(GPR_INFO, "[rlslb %p] picker=%p: RLS request pending; queuing pick",
1054
- lb_policy_.get(), this);
1055
- }
1056
- return PickResult::Queue();
1057
- }
1058
-
1059
- //
1060
- // RlsLb::Cache::Entry::BackoffTimer
1061
- //
1062
-
1063
- RlsLb::Cache::Entry::BackoffTimer::BackoffTimer(RefCountedPtr<Entry> entry,
1064
- Timestamp backoff_time)
1065
- : entry_(std::move(entry)) {
1066
- backoff_timer_task_handle_ =
1067
- entry_->lb_policy_->channel_control_helper()->GetEventEngine()->RunAfter(
1068
- backoff_time - Timestamp::Now(),
1069
- [self = Ref(DEBUG_LOCATION, "BackoffTimer")]() mutable {
1070
- ApplicationCallbackExecCtx callback_exec_ctx;
1071
- ExecCtx exec_ctx;
1072
- auto self_ptr = self.get();
1073
- self_ptr->entry_->lb_policy_->work_serializer()->Run(
1074
- [self = std::move(self)]() { self->OnBackoffTimerLocked(); },
1075
- DEBUG_LOCATION);
1076
- });
1077
- }
1078
-
1079
- void RlsLb::Cache::Entry::BackoffTimer::Orphan() {
1080
- if (backoff_timer_task_handle_.has_value() &&
1081
- entry_->lb_policy_->channel_control_helper()->GetEventEngine()->Cancel(
1082
- *backoff_timer_task_handle_)) {
1083
- if (GRPC_TRACE_FLAG_ENABLED(grpc_lb_rls_trace)) {
1084
- gpr_log(GPR_INFO, "[rlslb %p] cache entry=%p %s, backoff timer canceled",
1085
- entry_->lb_policy_.get(), entry_.get(),
1086
- entry_->is_shutdown_ ? "(shut down)"
1087
- : entry_->lru_iterator_->ToString().c_str());
1088
- }
1089
- }
1090
- backoff_timer_task_handle_.reset();
1091
- Unref(DEBUG_LOCATION, "Orphan");
1092
- }
1093
-
1094
- void RlsLb::Cache::Entry::BackoffTimer::OnBackoffTimerLocked() {
1095
- {
1096
- MutexLock lock(&entry_->lb_policy_->mu_);
1097
- if (GRPC_TRACE_FLAG_ENABLED(grpc_lb_rls_trace)) {
1098
- gpr_log(GPR_INFO, "[rlslb %p] cache entry=%p %s, backoff timer fired",
1099
- entry_->lb_policy_.get(), entry_.get(),
1100
- entry_->is_shutdown_ ? "(shut down)"
1101
- : entry_->lru_iterator_->ToString().c_str());
1102
- }
1103
- // Skip the update if Orphaned
1104
- if (!backoff_timer_task_handle_.has_value()) return;
1105
- backoff_timer_task_handle_.reset();
1106
- }
1107
- // The pick was in backoff state and there could be a pick queued if
1108
- // wait_for_ready is true. We'll update the picker for that case.
1109
- entry_->lb_policy_->UpdatePickerLocked();
1110
- }
1111
-
1112
- //
1113
- // RlsLb::Cache::Entry
1114
- //
1115
-
1116
- std::unique_ptr<BackOff> MakeCacheEntryBackoff() {
1117
- return std::make_unique<BackOff>(
1118
- BackOff::Options()
1119
- .set_initial_backoff(kCacheBackoffInitial)
1120
- .set_multiplier(kCacheBackoffMultiplier)
1121
- .set_jitter(kCacheBackoffJitter)
1122
- .set_max_backoff(kCacheBackoffMax));
1123
- }
1124
-
1125
- RlsLb::Cache::Entry::Entry(RefCountedPtr<RlsLb> lb_policy,
1126
- const RequestKey& key)
1127
- : InternallyRefCounted<Entry>(
1128
- GRPC_TRACE_FLAG_ENABLED(grpc_lb_rls_trace) ? "CacheEntry" : nullptr),
1129
- lb_policy_(std::move(lb_policy)),
1130
- backoff_state_(MakeCacheEntryBackoff()),
1131
- min_expiration_time_(Timestamp::Now() + kMinExpirationTime),
1132
- lru_iterator_(lb_policy_->cache_.lru_list_.insert(
1133
- lb_policy_->cache_.lru_list_.end(), key)) {}
1134
-
1135
- void RlsLb::Cache::Entry::Orphan() {
1136
- if (GRPC_TRACE_FLAG_ENABLED(grpc_lb_rls_trace)) {
1137
- gpr_log(GPR_INFO, "[rlslb %p] cache entry=%p %s: cache entry evicted",
1138
- lb_policy_.get(), this, lru_iterator_->ToString().c_str());
1139
- }
1140
- is_shutdown_ = true;
1141
- lb_policy_->cache_.lru_list_.erase(lru_iterator_);
1142
- lru_iterator_ = lb_policy_->cache_.lru_list_.end(); // Just in case.
1143
- backoff_state_.reset();
1144
- if (backoff_timer_ != nullptr) {
1145
- backoff_timer_.reset();
1146
- lb_policy_->UpdatePickerAsync();
1147
- }
1148
- child_policy_wrappers_.clear();
1149
- Unref(DEBUG_LOCATION, "Orphan");
1150
- }
1151
-
1152
- size_t RlsLb::Cache::Entry::Size() const {
1153
- // lru_iterator_ is not valid once we're shut down.
1154
- GPR_ASSERT(!is_shutdown_);
1155
- return lb_policy_->cache_.EntrySizeForKey(*lru_iterator_);
1156
- }
1157
-
1158
- LoadBalancingPolicy::PickResult RlsLb::Cache::Entry::Pick(PickArgs args) {
1159
- size_t i = 0;
1160
- ChildPolicyWrapper* child_policy_wrapper = nullptr;
1161
- // Skip targets before the last one that are in state TRANSIENT_FAILURE.
1162
- for (; i < child_policy_wrappers_.size(); ++i) {
1163
- child_policy_wrapper = child_policy_wrappers_[i].get();
1164
- if (child_policy_wrapper->connectivity_state() ==
1165
- GRPC_CHANNEL_TRANSIENT_FAILURE &&
1166
- i < child_policy_wrappers_.size() - 1) {
1167
- if (GRPC_TRACE_FLAG_ENABLED(grpc_lb_rls_trace)) {
1168
- gpr_log(GPR_INFO,
1169
- "[rlslb %p] cache entry=%p %s: target %s (%" PRIuPTR
1170
- " of %" PRIuPTR ") in state TRANSIENT_FAILURE; skipping",
1171
- lb_policy_.get(), this, lru_iterator_->ToString().c_str(),
1172
- child_policy_wrapper->target().c_str(), i,
1173
- child_policy_wrappers_.size());
1174
- }
1175
- continue;
1176
- }
1177
- break;
1178
- }
1179
- // Child policy not in TRANSIENT_FAILURE or is the last target in
1180
- // the list, so delegate.
1181
- if (GRPC_TRACE_FLAG_ENABLED(grpc_lb_rls_trace)) {
1182
- gpr_log(GPR_INFO,
1183
- "[rlslb %p] cache entry=%p %s: target %s (%" PRIuPTR " of %" PRIuPTR
1184
- ") in state %s; delegating",
1185
- lb_policy_.get(), this, lru_iterator_->ToString().c_str(),
1186
- child_policy_wrapper->target().c_str(), i,
1187
- child_policy_wrappers_.size(),
1188
- ConnectivityStateName(child_policy_wrapper->connectivity_state()));
1189
- }
1190
- // Add header data.
1191
- // Note that even if the target we're using is in TRANSIENT_FAILURE,
1192
- // the pick might still succeed (e.g., if the child is ring_hash), so
1193
- // we need to pass the right header info down in all cases.
1194
- if (!header_data_.empty()) {
1195
- char* copied_header_data =
1196
- static_cast<char*>(args.call_state->Alloc(header_data_.length() + 1));
1197
- strcpy(copied_header_data, header_data_.c_str());
1198
- args.initial_metadata->Add(kRlsHeaderKey, copied_header_data);
1199
- }
1200
- return child_policy_wrapper->Pick(args);
1201
- }
1202
-
1203
- void RlsLb::Cache::Entry::ResetBackoff() {
1204
- backoff_time_ = Timestamp::InfPast();
1205
- backoff_timer_.reset();
1206
- }
1207
-
1208
- bool RlsLb::Cache::Entry::ShouldRemove() const {
1209
- Timestamp now = Timestamp::Now();
1210
- return data_expiration_time_ < now && backoff_expiration_time_ < now;
1211
- }
1212
-
1213
- bool RlsLb::Cache::Entry::CanEvict() const {
1214
- Timestamp now = Timestamp::Now();
1215
- return min_expiration_time_ < now;
1216
- }
1217
-
1218
- void RlsLb::Cache::Entry::MarkUsed() {
1219
- auto& lru_list = lb_policy_->cache_.lru_list_;
1220
- auto new_it = lru_list.insert(lru_list.end(), *lru_iterator_);
1221
- lru_list.erase(lru_iterator_);
1222
- lru_iterator_ = new_it;
1223
- }
1224
-
1225
- std::vector<RlsLb::ChildPolicyWrapper*>
1226
- RlsLb::Cache::Entry::OnRlsResponseLocked(
1227
- ResponseInfo response, std::unique_ptr<BackOff> backoff_state) {
1228
- // Move the entry to the end of the LRU list.
1229
- MarkUsed();
1230
- // If the request failed, store the failed status and update the
1231
- // backoff state.
1232
- if (!response.status.ok()) {
1233
- status_ = response.status;
1234
- if (backoff_state != nullptr) {
1235
- backoff_state_ = std::move(backoff_state);
1236
- } else {
1237
- backoff_state_ = MakeCacheEntryBackoff();
1238
- }
1239
- backoff_time_ = backoff_state_->NextAttemptTime();
1240
- Timestamp now = Timestamp::Now();
1241
- backoff_expiration_time_ = now + (backoff_time_ - now) * 2;
1242
- backoff_timer_ = MakeOrphanable<BackoffTimer>(
1243
- Ref(DEBUG_LOCATION, "BackoffTimer"), backoff_time_);
1244
- lb_policy_->UpdatePickerAsync();
1245
- return {};
1246
- }
1247
- // Request succeeded, so store the result.
1248
- header_data_ = std::move(response.header_data);
1249
- Timestamp now = Timestamp::Now();
1250
- data_expiration_time_ = now + lb_policy_->config_->max_age();
1251
- stale_time_ = now + lb_policy_->config_->stale_age();
1252
- status_ = absl::OkStatus();
1253
- backoff_state_.reset();
1254
- backoff_time_ = Timestamp::InfPast();
1255
- backoff_expiration_time_ = Timestamp::InfPast();
1256
- // Check if we need to update this list of targets.
1257
- bool targets_changed = [&]() ABSL_EXCLUSIVE_LOCKS_REQUIRED(&RlsLb::mu_) {
1258
- if (child_policy_wrappers_.size() != response.targets.size()) return true;
1259
- for (size_t i = 0; i < response.targets.size(); ++i) {
1260
- if (child_policy_wrappers_[i]->target() != response.targets[i]) {
1261
- return true;
1262
- }
1263
- }
1264
- return false;
1265
- }();
1266
- if (!targets_changed) {
1267
- // Targets didn't change, so we're not updating the list of child
1268
- // policies. Return a new picker so that any queued requests can be
1269
- // re-processed.
1270
- lb_policy_->UpdatePickerAsync();
1271
- return {};
1272
- }
1273
- // Target list changed, so update it.
1274
- std::set<absl::string_view> old_targets;
1275
- for (RefCountedPtr<ChildPolicyWrapper>& child_policy_wrapper :
1276
- child_policy_wrappers_) {
1277
- old_targets.emplace(child_policy_wrapper->target());
1278
- }
1279
- bool update_picker = false;
1280
- std::vector<ChildPolicyWrapper*> child_policies_to_finish_update;
1281
- std::vector<RefCountedPtr<ChildPolicyWrapper>> new_child_policy_wrappers;
1282
- new_child_policy_wrappers.reserve(response.targets.size());
1283
- for (std::string& target : response.targets) {
1284
- auto it = lb_policy_->child_policy_map_.find(target);
1285
- if (it == lb_policy_->child_policy_map_.end()) {
1286
- auto new_child = MakeRefCounted<ChildPolicyWrapper>(
1287
- lb_policy_->Ref(DEBUG_LOCATION, "ChildPolicyWrapper"), target);
1288
- new_child->StartUpdate();
1289
- child_policies_to_finish_update.push_back(new_child.get());
1290
- new_child_policy_wrappers.emplace_back(std::move(new_child));
1291
- } else {
1292
- new_child_policy_wrappers.emplace_back(
1293
- it->second->Ref(DEBUG_LOCATION, "CacheEntry"));
1294
- // If the target already existed but was not previously used for
1295
- // this key, then we'll need to update the picker, since we
1296
- // didn't actually create a new child policy, which would have
1297
- // triggered an RLS picker update when it returned its first picker.
1298
- if (old_targets.find(target) == old_targets.end()) {
1299
- update_picker = true;
1300
- }
1301
- }
1302
- }
1303
- child_policy_wrappers_ = std::move(new_child_policy_wrappers);
1304
- if (update_picker) {
1305
- lb_policy_->UpdatePickerAsync();
1306
- }
1307
- return child_policies_to_finish_update;
1308
- }
1309
-
1310
- //
1311
- // RlsLb::Cache
1312
- //
1313
-
1314
- RlsLb::Cache::Cache(RlsLb* lb_policy) : lb_policy_(lb_policy) {
1315
- StartCleanupTimer();
1316
- }
1317
-
1318
- RlsLb::Cache::Entry* RlsLb::Cache::Find(const RequestKey& key) {
1319
- auto it = map_.find(key);
1320
- if (it == map_.end()) return nullptr;
1321
- it->second->MarkUsed();
1322
- return it->second.get();
1323
- }
1324
-
1325
- RlsLb::Cache::Entry* RlsLb::Cache::FindOrInsert(const RequestKey& key) {
1326
- auto it = map_.find(key);
1327
- // If not found, create new entry.
1328
- if (it == map_.end()) {
1329
- size_t entry_size = EntrySizeForKey(key);
1330
- MaybeShrinkSize(size_limit_ - std::min(size_limit_, entry_size));
1331
- Entry* entry =
1332
- new Entry(lb_policy_->Ref(DEBUG_LOCATION, "CacheEntry"), key);
1333
- map_.emplace(key, OrphanablePtr<Entry>(entry));
1334
- size_ += entry_size;
1335
- if (GRPC_TRACE_FLAG_ENABLED(grpc_lb_rls_trace)) {
1336
- gpr_log(GPR_INFO, "[rlslb %p] key=%s: cache entry added, entry=%p",
1337
- lb_policy_, key.ToString().c_str(), entry);
1338
- }
1339
- return entry;
1340
- }
1341
- // Entry found, so use it.
1342
- if (GRPC_TRACE_FLAG_ENABLED(grpc_lb_rls_trace)) {
1343
- gpr_log(GPR_INFO, "[rlslb %p] key=%s: found cache entry %p", lb_policy_,
1344
- key.ToString().c_str(), it->second.get());
1345
- }
1346
- it->second->MarkUsed();
1347
- return it->second.get();
1348
- }
1349
-
1350
- void RlsLb::Cache::Resize(size_t bytes) {
1351
- if (GRPC_TRACE_FLAG_ENABLED(grpc_lb_rls_trace)) {
1352
- gpr_log(GPR_INFO, "[rlslb %p] resizing cache to %" PRIuPTR " bytes",
1353
- lb_policy_, bytes);
1354
- }
1355
- size_limit_ = bytes;
1356
- MaybeShrinkSize(size_limit_);
1357
- }
1358
-
1359
- void RlsLb::Cache::ResetAllBackoff() {
1360
- for (auto& p : map_) {
1361
- p.second->ResetBackoff();
1362
- }
1363
- lb_policy_->UpdatePickerAsync();
1364
- }
1365
-
1366
- void RlsLb::Cache::Shutdown() {
1367
- map_.clear();
1368
- lru_list_.clear();
1369
- if (cleanup_timer_handle_.has_value() &&
1370
- lb_policy_->channel_control_helper()->GetEventEngine()->Cancel(
1371
- *cleanup_timer_handle_)) {
1372
- if (GRPC_TRACE_FLAG_ENABLED(grpc_lb_rls_trace)) {
1373
- gpr_log(GPR_INFO, "[rlslb %p] cache cleanup timer canceled", lb_policy_);
1374
- }
1375
- }
1376
- cleanup_timer_handle_.reset();
1377
- }
1378
-
1379
- void RlsLb::Cache::StartCleanupTimer() {
1380
- cleanup_timer_handle_ =
1381
- lb_policy_->channel_control_helper()->GetEventEngine()->RunAfter(
1382
- kCacheCleanupTimerInterval,
1383
- [this, lb_policy = lb_policy_->Ref(DEBUG_LOCATION,
1384
- "CacheCleanupTimer")]() mutable {
1385
- ApplicationCallbackExecCtx callback_exec_ctx;
1386
- ExecCtx exec_ctx;
1387
- lb_policy_->work_serializer()->Run(
1388
- [this, lb_policy = std::move(lb_policy)]() {
1389
- // The lb_policy ref is held until the callback completes
1390
- OnCleanupTimer();
1391
- },
1392
- DEBUG_LOCATION);
1393
- });
1394
- }
1395
-
1396
- void RlsLb::Cache::OnCleanupTimer() {
1397
- if (GRPC_TRACE_FLAG_ENABLED(grpc_lb_rls_trace)) {
1398
- gpr_log(GPR_INFO, "[rlslb %p] cache cleanup timer fired", lb_policy_);
1399
- }
1400
- MutexLock lock(&lb_policy_->mu_);
1401
- if (!cleanup_timer_handle_.has_value()) return;
1402
- if (lb_policy_->is_shutdown_) return;
1403
- for (auto it = map_.begin(); it != map_.end();) {
1404
- if (GPR_UNLIKELY(it->second->ShouldRemove() && it->second->CanEvict())) {
1405
- size_ -= it->second->Size();
1406
- it = map_.erase(it);
1407
- } else {
1408
- ++it;
1409
- }
1410
- }
1411
- StartCleanupTimer();
1412
- }
1413
-
1414
- size_t RlsLb::Cache::EntrySizeForKey(const RequestKey& key) {
1415
- // Key is stored twice, once in LRU list and again in the cache map.
1416
- return (key.Size() * 2) + sizeof(Entry);
1417
- }
1418
-
1419
- void RlsLb::Cache::MaybeShrinkSize(size_t bytes) {
1420
- while (size_ > bytes) {
1421
- auto lru_it = lru_list_.begin();
1422
- if (GPR_UNLIKELY(lru_it == lru_list_.end())) break;
1423
- auto map_it = map_.find(*lru_it);
1424
- GPR_ASSERT(map_it != map_.end());
1425
- if (!map_it->second->CanEvict()) break;
1426
- if (GRPC_TRACE_FLAG_ENABLED(grpc_lb_rls_trace)) {
1427
- gpr_log(GPR_INFO, "[rlslb %p] LRU eviction: removing entry %p %s",
1428
- lb_policy_, map_it->second.get(), lru_it->ToString().c_str());
1429
- }
1430
- size_ -= map_it->second->Size();
1431
- map_.erase(map_it);
1432
- }
1433
- if (GRPC_TRACE_FLAG_ENABLED(grpc_lb_rls_trace)) {
1434
- gpr_log(GPR_INFO,
1435
- "[rlslb %p] LRU pass complete: desired size=%" PRIuPTR
1436
- " size=%" PRIuPTR,
1437
- lb_policy_, bytes, size_);
1438
- }
1439
- }
1440
-
1441
- //
1442
- // RlsLb::RlsChannel::StateWatcher
1443
- //
1444
-
1445
- void RlsLb::RlsChannel::StateWatcher::OnConnectivityStateChange(
1446
- grpc_connectivity_state new_state, const absl::Status& status) {
1447
- auto* lb_policy = rls_channel_->lb_policy_.get();
1448
- if (GRPC_TRACE_FLAG_ENABLED(grpc_lb_rls_trace)) {
1449
- gpr_log(GPR_INFO,
1450
- "[rlslb %p] RlsChannel=%p StateWatcher=%p: "
1451
- "state changed to %s (%s)",
1452
- lb_policy, rls_channel_.get(), this,
1453
- ConnectivityStateName(new_state), status.ToString().c_str());
1454
- }
1455
- if (rls_channel_->is_shutdown_) return;
1456
- MutexLock lock(&lb_policy->mu_);
1457
- if (new_state == GRPC_CHANNEL_READY && was_transient_failure_) {
1458
- was_transient_failure_ = false;
1459
- // Reset the backoff of all cache entries, so that we don't
1460
- // double-penalize if an RLS request fails while the channel is
1461
- // down, since the throttling for the channel being down is handled
1462
- // at the channel level instead of in the individual cache entries.
1463
- lb_policy->cache_.ResetAllBackoff();
1464
- } else if (new_state == GRPC_CHANNEL_TRANSIENT_FAILURE) {
1465
- was_transient_failure_ = true;
1466
- }
1467
- }
1468
-
1469
- //
1470
- // RlsLb::RlsChannel::Throttle
1471
- //
1472
-
1473
- bool RlsLb::RlsChannel::Throttle::ShouldThrottle() {
1474
- Timestamp now = Timestamp::Now();
1475
- while (!requests_.empty() && now - requests_.front() > window_size_) {
1476
- requests_.pop_front();
1477
- }
1478
- while (!failures_.empty() && now - failures_.front() > window_size_) {
1479
- failures_.pop_front();
1480
- }
1481
- // Compute probability of throttling.
1482
- float num_requests = requests_.size();
1483
- float num_successes = num_requests - failures_.size();
1484
- // Note: it's possible that this ratio will be negative, in which case
1485
- // no throttling will be done.
1486
- float throttle_probability =
1487
- (num_requests - (num_successes * ratio_for_successes_)) /
1488
- (num_requests + padding_);
1489
- // Generate a random number for the request.
1490
- std::uniform_real_distribution<float> dist(0, 1.0);
1491
- // Check if we should throttle the request.
1492
- bool throttle = dist(rng_) < throttle_probability;
1493
- // If we're throttling, record the request and the failure.
1494
- if (throttle) {
1495
- requests_.push_back(now);
1496
- failures_.push_back(now);
1497
- }
1498
- return throttle;
1499
- }
1500
-
1501
- void RlsLb::RlsChannel::Throttle::RegisterResponse(bool success) {
1502
- Timestamp now = Timestamp::Now();
1503
- requests_.push_back(now);
1504
- if (!success) failures_.push_back(now);
1505
- }
1506
-
1507
- //
1508
- // RlsLb::RlsChannel
1509
- //
1510
-
1511
- RlsLb::RlsChannel::RlsChannel(RefCountedPtr<RlsLb> lb_policy)
1512
- : InternallyRefCounted<RlsChannel>(
1513
- GRPC_TRACE_FLAG_ENABLED(grpc_lb_rls_trace) ? "RlsChannel" : nullptr),
1514
- lb_policy_(std::move(lb_policy)) {
1515
- // Get channel creds from parent channel.
1516
- // Note that we are using the "unsafe" channel creds here, which do
1517
- // include any associated call creds. This is safe in this case,
1518
- // because we are using the parent channel's authority on the RLS channel.
1519
- auto creds =
1520
- lb_policy_->channel_control_helper()->GetUnsafeChannelCredentials();
1521
- // Use the parent channel's authority.
1522
- auto authority = lb_policy_->channel_control_helper()->GetAuthority();
1523
- ChannelArgs args = ChannelArgs()
1524
- .Set(GRPC_ARG_DEFAULT_AUTHORITY, authority)
1525
- .Set(GRPC_ARG_CHANNELZ_IS_INTERNAL_CHANNEL, 1);
1526
- // Propagate fake security connector expected targets, if any.
1527
- // (This is ugly, but it seems better than propagating all channel args
1528
- // from the parent channel by default and then having a giant
1529
- // exclude list of args to strip out, like we do in grpclb.)
1530
- absl::optional<absl::string_view> fake_security_expected_targets =
1531
- lb_policy_->channel_args_.GetString(
1532
- GRPC_ARG_FAKE_SECURITY_EXPECTED_TARGETS);
1533
- if (fake_security_expected_targets.has_value()) {
1534
- args = args.Set(GRPC_ARG_FAKE_SECURITY_EXPECTED_TARGETS,
1535
- *fake_security_expected_targets);
1536
- }
1537
- // Add service config args if needed.
1538
- const std::string& service_config =
1539
- lb_policy_->config_->rls_channel_service_config();
1540
- if (!service_config.empty()) {
1541
- args = args.Set(GRPC_ARG_SERVICE_CONFIG, service_config)
1542
- .Set(GRPC_ARG_SERVICE_CONFIG_DISABLE_RESOLUTION, 1);
1543
- }
1544
- channel_ = grpc_channel_create(lb_policy_->config_->lookup_service().c_str(),
1545
- creds.get(), args.ToC().get());
1546
- if (GRPC_TRACE_FLAG_ENABLED(grpc_lb_rls_trace)) {
1547
- gpr_log(GPR_INFO, "[rlslb %p] RlsChannel=%p: created channel %p for %s",
1548
- lb_policy_.get(), this, channel_,
1549
- lb_policy_->config_->lookup_service().c_str());
1550
- }
1551
- if (channel_ != nullptr) {
1552
- // Set up channelz linkage.
1553
- channelz::ChannelNode* child_channelz_node =
1554
- grpc_channel_get_channelz_node(channel_);
1555
- channelz::ChannelNode* parent_channelz_node =
1556
- lb_policy_->channel_args_.GetObject<channelz::ChannelNode>();
1557
- if (child_channelz_node != nullptr && parent_channelz_node != nullptr) {
1558
- parent_channelz_node->AddChildChannel(child_channelz_node->uuid());
1559
- parent_channelz_node_ = parent_channelz_node->Ref();
1560
- }
1561
- // Start connectivity watch.
1562
- ClientChannel* client_channel =
1563
- ClientChannel::GetFromChannel(Channel::FromC(channel_));
1564
- GPR_ASSERT(client_channel != nullptr);
1565
- watcher_ = new StateWatcher(Ref(DEBUG_LOCATION, "StateWatcher"));
1566
- client_channel->AddConnectivityWatcher(
1567
- GRPC_CHANNEL_IDLE,
1568
- OrphanablePtr<AsyncConnectivityStateWatcherInterface>(watcher_));
1569
- }
1570
- }
1571
-
1572
- void RlsLb::RlsChannel::Orphan() {
1573
- if (GRPC_TRACE_FLAG_ENABLED(grpc_lb_rls_trace)) {
1574
- gpr_log(GPR_INFO, "[rlslb %p] RlsChannel=%p, channel=%p: shutdown",
1575
- lb_policy_.get(), this, channel_);
1576
- }
1577
- is_shutdown_ = true;
1578
- if (channel_ != nullptr) {
1579
- // Remove channelz linkage.
1580
- if (parent_channelz_node_ != nullptr) {
1581
- channelz::ChannelNode* child_channelz_node =
1582
- grpc_channel_get_channelz_node(channel_);
1583
- GPR_ASSERT(child_channelz_node != nullptr);
1584
- parent_channelz_node_->RemoveChildChannel(child_channelz_node->uuid());
1585
- }
1586
- // Stop connectivity watch.
1587
- if (watcher_ != nullptr) {
1588
- ClientChannel* client_channel =
1589
- ClientChannel::GetFromChannel(Channel::FromC(channel_));
1590
- GPR_ASSERT(client_channel != nullptr);
1591
- client_channel->RemoveConnectivityWatcher(watcher_);
1592
- watcher_ = nullptr;
1593
- }
1594
- grpc_channel_destroy_internal(channel_);
1595
- }
1596
- Unref(DEBUG_LOCATION, "Orphan");
1597
- }
1598
-
1599
- void RlsLb::RlsChannel::StartRlsCall(const RequestKey& key,
1600
- Cache::Entry* stale_entry) {
1601
- std::unique_ptr<BackOff> backoff_state;
1602
- grpc_lookup_v1_RouteLookupRequest_Reason reason =
1603
- grpc_lookup_v1_RouteLookupRequest_REASON_MISS;
1604
- std::string stale_header_data;
1605
- if (stale_entry != nullptr) {
1606
- backoff_state = stale_entry->TakeBackoffState();
1607
- reason = grpc_lookup_v1_RouteLookupRequest_REASON_STALE;
1608
- stale_header_data = stale_entry->header_data();
1609
- }
1610
- lb_policy_->request_map_.emplace(
1611
- key, MakeOrphanable<RlsRequest>(
1612
- lb_policy_->Ref(DEBUG_LOCATION, "RlsRequest"), key,
1613
- lb_policy_->rls_channel_->Ref(DEBUG_LOCATION, "RlsRequest"),
1614
- std::move(backoff_state), reason, std::move(stale_header_data)));
1615
- }
1616
-
1617
- void RlsLb::RlsChannel::ReportResponseLocked(bool response_succeeded) {
1618
- throttle_.RegisterResponse(response_succeeded);
1619
- }
1620
-
1621
- void RlsLb::RlsChannel::ResetBackoff() {
1622
- GPR_DEBUG_ASSERT(channel_ != nullptr);
1623
- grpc_channel_reset_connect_backoff(channel_);
1624
- }
1625
-
1626
- //
1627
- // RlsLb::RlsRequest
1628
- //
1629
-
1630
- RlsLb::RlsRequest::RlsRequest(RefCountedPtr<RlsLb> lb_policy, RequestKey key,
1631
- RefCountedPtr<RlsChannel> rls_channel,
1632
- std::unique_ptr<BackOff> backoff_state,
1633
- grpc_lookup_v1_RouteLookupRequest_Reason reason,
1634
- std::string stale_header_data)
1635
- : InternallyRefCounted<RlsRequest>(
1636
- GRPC_TRACE_FLAG_ENABLED(grpc_lb_rls_trace) ? "RlsRequest" : nullptr),
1637
- lb_policy_(std::move(lb_policy)),
1638
- key_(std::move(key)),
1639
- rls_channel_(std::move(rls_channel)),
1640
- backoff_state_(std::move(backoff_state)),
1641
- reason_(reason),
1642
- stale_header_data_(std::move(stale_header_data)) {
1643
- if (GRPC_TRACE_FLAG_ENABLED(grpc_lb_rls_trace)) {
1644
- gpr_log(GPR_INFO,
1645
- "[rlslb %p] rls_request=%p: RLS request created for key %s",
1646
- lb_policy_.get(), this, key_.ToString().c_str());
1647
- }
1648
- GRPC_CLOSURE_INIT(&call_complete_cb_, OnRlsCallComplete, this, nullptr);
1649
- ExecCtx::Run(
1650
- DEBUG_LOCATION,
1651
- GRPC_CLOSURE_INIT(&call_start_cb_, StartCall,
1652
- Ref(DEBUG_LOCATION, "StartCall").release(), nullptr),
1653
- absl::OkStatus());
1654
- }
1655
-
1656
- RlsLb::RlsRequest::~RlsRequest() { GPR_ASSERT(call_ == nullptr); }
1657
-
1658
- void RlsLb::RlsRequest::Orphan() {
1659
- if (call_ != nullptr) {
1660
- if (GRPC_TRACE_FLAG_ENABLED(grpc_lb_rls_trace)) {
1661
- gpr_log(GPR_INFO, "[rlslb %p] rls_request=%p %s: cancelling RLS call",
1662
- lb_policy_.get(), this, key_.ToString().c_str());
1663
- }
1664
- grpc_call_cancel_internal(call_);
1665
- }
1666
- Unref(DEBUG_LOCATION, "Orphan");
1667
- }
1668
-
1669
- void RlsLb::RlsRequest::StartCall(void* arg, grpc_error_handle /*error*/) {
1670
- auto* request = static_cast<RlsRequest*>(arg);
1671
- request->lb_policy_->work_serializer()->Run(
1672
- [request]() {
1673
- request->StartCallLocked();
1674
- request->Unref(DEBUG_LOCATION, "StartCall");
1675
- },
1676
- DEBUG_LOCATION);
1677
- }
1678
-
1679
- void RlsLb::RlsRequest::StartCallLocked() {
1680
- {
1681
- MutexLock lock(&lb_policy_->mu_);
1682
- if (lb_policy_->is_shutdown_) return;
1683
- }
1684
- Timestamp now = Timestamp::Now();
1685
- deadline_ = now + lb_policy_->config_->lookup_service_timeout();
1686
- grpc_metadata_array_init(&recv_initial_metadata_);
1687
- grpc_metadata_array_init(&recv_trailing_metadata_);
1688
- call_ = grpc_channel_create_pollset_set_call(
1689
- rls_channel_->channel(), nullptr, GRPC_PROPAGATE_DEFAULTS,
1690
- lb_policy_->interested_parties(),
1691
- grpc_slice_from_static_string(kRlsRequestPath), nullptr, deadline_,
1692
- nullptr);
1693
- grpc_op ops[6];
1694
- memset(ops, 0, sizeof(ops));
1695
- grpc_op* op = ops;
1696
- op->op = GRPC_OP_SEND_INITIAL_METADATA;
1697
- ++op;
1698
- op->op = GRPC_OP_SEND_MESSAGE;
1699
- send_message_ = MakeRequestProto();
1700
- op->data.send_message.send_message = send_message_;
1701
- ++op;
1702
- op->op = GRPC_OP_SEND_CLOSE_FROM_CLIENT;
1703
- ++op;
1704
- op->op = GRPC_OP_RECV_INITIAL_METADATA;
1705
- op->data.recv_initial_metadata.recv_initial_metadata =
1706
- &recv_initial_metadata_;
1707
- ++op;
1708
- op->op = GRPC_OP_RECV_MESSAGE;
1709
- op->data.recv_message.recv_message = &recv_message_;
1710
- ++op;
1711
- op->op = GRPC_OP_RECV_STATUS_ON_CLIENT;
1712
- op->data.recv_status_on_client.trailing_metadata = &recv_trailing_metadata_;
1713
- op->data.recv_status_on_client.status = &status_recv_;
1714
- op->data.recv_status_on_client.status_details = &status_details_recv_;
1715
- ++op;
1716
- Ref(DEBUG_LOCATION, "OnRlsCallComplete").release();
1717
- auto call_error = grpc_call_start_batch_and_execute(
1718
- call_, ops, static_cast<size_t>(op - ops), &call_complete_cb_);
1719
- GPR_ASSERT(call_error == GRPC_CALL_OK);
1720
- }
1721
-
1722
- void RlsLb::RlsRequest::OnRlsCallComplete(void* arg, grpc_error_handle error) {
1723
- auto* request = static_cast<RlsRequest*>(arg);
1724
- request->lb_policy_->work_serializer()->Run(
1725
- [request, error]() {
1726
- request->OnRlsCallCompleteLocked(error);
1727
- request->Unref(DEBUG_LOCATION, "OnRlsCallComplete");
1728
- },
1729
- DEBUG_LOCATION);
1730
- }
1731
-
1732
- void RlsLb::RlsRequest::OnRlsCallCompleteLocked(grpc_error_handle error) {
1733
- if (GRPC_TRACE_FLAG_ENABLED(grpc_lb_rls_trace)) {
1734
- std::string status_message(StringViewFromSlice(status_details_recv_));
1735
- gpr_log(GPR_INFO,
1736
- "[rlslb %p] rls_request=%p %s, error=%s, status={%d, %s} RLS call "
1737
- "response received",
1738
- lb_policy_.get(), this, key_.ToString().c_str(),
1739
- StatusToString(error).c_str(), status_recv_,
1740
- status_message.c_str());
1741
- }
1742
- // Parse response.
1743
- ResponseInfo response;
1744
- if (!error.ok()) {
1745
- grpc_status_code code;
1746
- std::string message;
1747
- grpc_error_get_status(error, deadline_, &code, &message,
1748
- /*http_error=*/nullptr, /*error_string=*/nullptr);
1749
- response.status =
1750
- absl::Status(static_cast<absl::StatusCode>(code), message);
1751
- } else if (status_recv_ != GRPC_STATUS_OK) {
1752
- response.status = absl::Status(static_cast<absl::StatusCode>(status_recv_),
1753
- StringViewFromSlice(status_details_recv_));
1754
- } else {
1755
- response = ParseResponseProto();
1756
- }
1757
- // Clean up call state.
1758
- grpc_byte_buffer_destroy(send_message_);
1759
- grpc_byte_buffer_destroy(recv_message_);
1760
- grpc_metadata_array_destroy(&recv_initial_metadata_);
1761
- grpc_metadata_array_destroy(&recv_trailing_metadata_);
1762
- CSliceUnref(status_details_recv_);
1763
- grpc_call_unref(call_);
1764
- call_ = nullptr;
1765
- // Return result to cache.
1766
- if (GRPC_TRACE_FLAG_ENABLED(grpc_lb_rls_trace)) {
1767
- gpr_log(GPR_INFO, "[rlslb %p] rls_request=%p %s: response info: %s",
1768
- lb_policy_.get(), this, key_.ToString().c_str(),
1769
- response.ToString().c_str());
1770
- }
1771
- std::vector<ChildPolicyWrapper*> child_policies_to_finish_update;
1772
- {
1773
- MutexLock lock(&lb_policy_->mu_);
1774
- if (lb_policy_->is_shutdown_) return;
1775
- rls_channel_->ReportResponseLocked(response.status.ok());
1776
- Cache::Entry* cache_entry = lb_policy_->cache_.FindOrInsert(key_);
1777
- child_policies_to_finish_update = cache_entry->OnRlsResponseLocked(
1778
- std::move(response), std::move(backoff_state_));
1779
- lb_policy_->request_map_.erase(key_);
1780
- }
1781
- // Now that we've released the lock, finish the update on any newly
1782
- // created child policies.
1783
- for (ChildPolicyWrapper* child : child_policies_to_finish_update) {
1784
- // TODO(roth): If the child reports an error with the update, we
1785
- // need to propagate that back to the resolver somehow.
1786
- (void)child->MaybeFinishUpdate();
1787
- }
1788
- }
1789
-
1790
- grpc_byte_buffer* RlsLb::RlsRequest::MakeRequestProto() {
1791
- upb::Arena arena;
1792
- grpc_lookup_v1_RouteLookupRequest* req =
1793
- grpc_lookup_v1_RouteLookupRequest_new(arena.ptr());
1794
- grpc_lookup_v1_RouteLookupRequest_set_target_type(
1795
- req, upb_StringView_FromDataAndSize(kGrpc, sizeof(kGrpc) - 1));
1796
- for (const auto& kv : key_.key_map) {
1797
- grpc_lookup_v1_RouteLookupRequest_key_map_set(
1798
- req, upb_StringView_FromDataAndSize(kv.first.data(), kv.first.size()),
1799
- upb_StringView_FromDataAndSize(kv.second.data(), kv.second.size()),
1800
- arena.ptr());
1801
- }
1802
- grpc_lookup_v1_RouteLookupRequest_set_reason(req, reason_);
1803
- if (!stale_header_data_.empty()) {
1804
- grpc_lookup_v1_RouteLookupRequest_set_stale_header_data(
1805
- req, upb_StringView_FromDataAndSize(stale_header_data_.data(),
1806
- stale_header_data_.size()));
1807
- }
1808
- size_t len;
1809
- char* buf =
1810
- grpc_lookup_v1_RouteLookupRequest_serialize(req, arena.ptr(), &len);
1811
- grpc_slice send_slice = grpc_slice_from_copied_buffer(buf, len);
1812
- grpc_byte_buffer* byte_buffer = grpc_raw_byte_buffer_create(&send_slice, 1);
1813
- CSliceUnref(send_slice);
1814
- return byte_buffer;
1815
- }
1816
-
1817
- RlsLb::ResponseInfo RlsLb::RlsRequest::ParseResponseProto() {
1818
- ResponseInfo response_info;
1819
- upb::Arena arena;
1820
- grpc_byte_buffer_reader bbr;
1821
- grpc_byte_buffer_reader_init(&bbr, recv_message_);
1822
- grpc_slice recv_slice = grpc_byte_buffer_reader_readall(&bbr);
1823
- grpc_byte_buffer_reader_destroy(&bbr);
1824
- grpc_lookup_v1_RouteLookupResponse* response =
1825
- grpc_lookup_v1_RouteLookupResponse_parse(
1826
- reinterpret_cast<const char*>(GRPC_SLICE_START_PTR(recv_slice)),
1827
- GRPC_SLICE_LENGTH(recv_slice), arena.ptr());
1828
- CSliceUnref(recv_slice);
1829
- if (response == nullptr) {
1830
- response_info.status = absl::InternalError("cannot parse RLS response");
1831
- return response_info;
1832
- }
1833
- size_t num_targets;
1834
- const upb_StringView* targets_strview =
1835
- grpc_lookup_v1_RouteLookupResponse_targets(response, &num_targets);
1836
- if (num_targets == 0) {
1837
- response_info.status =
1838
- absl::InvalidArgumentError("RLS response has no target entry");
1839
- return response_info;
1840
- }
1841
- response_info.targets.reserve(num_targets);
1842
- for (size_t i = 0; i < num_targets; ++i) {
1843
- response_info.targets.emplace_back(targets_strview[i].data,
1844
- targets_strview[i].size);
1845
- }
1846
- upb_StringView header_data_strview =
1847
- grpc_lookup_v1_RouteLookupResponse_header_data(response);
1848
- response_info.header_data =
1849
- std::string(header_data_strview.data, header_data_strview.size);
1850
- return response_info;
1851
- }
1852
-
1853
- //
1854
- // RlsLb
1855
- //
1856
-
1857
- RlsLb::RlsLb(Args args) : LoadBalancingPolicy(std::move(args)), cache_(this) {
1858
- if (GRPC_TRACE_FLAG_ENABLED(grpc_lb_rls_trace)) {
1859
- gpr_log(GPR_INFO, "[rlslb %p] policy created", this);
1860
- }
1861
- }
1862
-
1863
- absl::Status RlsLb::UpdateLocked(UpdateArgs args) {
1864
- if (GRPC_TRACE_FLAG_ENABLED(grpc_lb_rls_trace)) {
1865
- gpr_log(GPR_INFO, "[rlslb %p] policy updated", this);
1866
- }
1867
- update_in_progress_ = true;
1868
- // Swap out config.
1869
- RefCountedPtr<RlsLbConfig> old_config = std::move(config_);
1870
- config_ = std::move(args.config);
1871
- if (GRPC_TRACE_FLAG_ENABLED(grpc_lb_rls_trace) &&
1872
- (old_config == nullptr ||
1873
- old_config->child_policy_config() != config_->child_policy_config())) {
1874
- gpr_log(GPR_INFO, "[rlslb %p] updated child policy config: %s", this,
1875
- JsonDump(config_->child_policy_config()).c_str());
1876
- }
1877
- // Swap out addresses.
1878
- // If the new address list is an error and we have an existing address list,
1879
- // stick with the existing addresses.
1880
- absl::StatusOr<ServerAddressList> old_addresses;
1881
- if (args.addresses.ok()) {
1882
- old_addresses = std::move(addresses_);
1883
- addresses_ = std::move(args.addresses);
1884
- } else {
1885
- old_addresses = addresses_;
1886
- }
1887
- // Swap out channel args.
1888
- channel_args_ = std::move(args.args);
1889
- // Determine whether we need to update all child policies.
1890
- bool update_child_policies =
1891
- old_config == nullptr ||
1892
- old_config->child_policy_config() != config_->child_policy_config() ||
1893
- old_addresses != addresses_ || args.args != channel_args_;
1894
- // If default target changes, swap out child policy.
1895
- bool created_default_child = false;
1896
- if (old_config == nullptr ||
1897
- config_->default_target() != old_config->default_target()) {
1898
- if (config_->default_target().empty()) {
1899
- if (GRPC_TRACE_FLAG_ENABLED(grpc_lb_rls_trace)) {
1900
- gpr_log(GPR_INFO, "[rlslb %p] unsetting default target", this);
1901
- }
1902
- default_child_policy_.reset();
1903
- } else {
1904
- auto it = child_policy_map_.find(config_->default_target());
1905
- if (it == child_policy_map_.end()) {
1906
- if (GRPC_TRACE_FLAG_ENABLED(grpc_lb_rls_trace)) {
1907
- gpr_log(GPR_INFO, "[rlslb %p] creating new default target", this);
1908
- }
1909
- default_child_policy_ = MakeRefCounted<ChildPolicyWrapper>(
1910
- Ref(DEBUG_LOCATION, "ChildPolicyWrapper"),
1911
- config_->default_target());
1912
- created_default_child = true;
1913
- } else {
1914
- if (GRPC_TRACE_FLAG_ENABLED(grpc_lb_rls_trace)) {
1915
- gpr_log(GPR_INFO,
1916
- "[rlslb %p] using existing child for default target", this);
1917
- }
1918
- default_child_policy_ =
1919
- it->second->Ref(DEBUG_LOCATION, "DefaultChildPolicy");
1920
- }
1921
- }
1922
- }
1923
- // Now grab the lock to swap out the state it guards.
1924
- {
1925
- MutexLock lock(&mu_);
1926
- // Swap out RLS channel if needed.
1927
- if (old_config == nullptr ||
1928
- config_->lookup_service() != old_config->lookup_service()) {
1929
- rls_channel_ =
1930
- MakeOrphanable<RlsChannel>(Ref(DEBUG_LOCATION, "RlsChannel"));
1931
- }
1932
- // Resize cache if needed.
1933
- if (old_config == nullptr ||
1934
- config_->cache_size_bytes() != old_config->cache_size_bytes()) {
1935
- cache_.Resize(static_cast<size_t>(config_->cache_size_bytes()));
1936
- }
1937
- // Start update of child policies if needed.
1938
- if (update_child_policies) {
1939
- if (GRPC_TRACE_FLAG_ENABLED(grpc_lb_rls_trace)) {
1940
- gpr_log(GPR_INFO, "[rlslb %p] starting child policy updates", this);
1941
- }
1942
- for (auto& p : child_policy_map_) {
1943
- p.second->StartUpdate();
1944
- }
1945
- } else if (created_default_child) {
1946
- if (GRPC_TRACE_FLAG_ENABLED(grpc_lb_rls_trace)) {
1947
- gpr_log(GPR_INFO, "[rlslb %p] starting default child policy update",
1948
- this);
1949
- }
1950
- default_child_policy_->StartUpdate();
1951
- }
1952
- }
1953
- // Now that we've released the lock, finish update of child policies.
1954
- std::vector<std::string> errors;
1955
- if (update_child_policies) {
1956
- if (GRPC_TRACE_FLAG_ENABLED(grpc_lb_rls_trace)) {
1957
- gpr_log(GPR_INFO, "[rlslb %p] finishing child policy updates", this);
1958
- }
1959
- for (auto& p : child_policy_map_) {
1960
- absl::Status status = p.second->MaybeFinishUpdate();
1961
- if (!status.ok()) {
1962
- errors.emplace_back(
1963
- absl::StrCat("target ", p.first, ": ", status.ToString()));
1964
- }
1965
- }
1966
- } else if (created_default_child) {
1967
- if (GRPC_TRACE_FLAG_ENABLED(grpc_lb_rls_trace)) {
1968
- gpr_log(GPR_INFO, "[rlslb %p] finishing default child policy update",
1969
- this);
1970
- }
1971
- absl::Status status = default_child_policy_->MaybeFinishUpdate();
1972
- if (!status.ok()) {
1973
- errors.emplace_back(absl::StrCat("target ", config_->default_target(),
1974
- ": ", status.ToString()));
1975
- }
1976
- }
1977
- update_in_progress_ = false;
1978
- // In principle, we need to update the picker here only if the config
1979
- // fields used by the picker have changed. However, it seems fragile
1980
- // to check individual fields, since the picker logic could change in
1981
- // the future to use additional config fields, and we might not
1982
- // remember to update the code here. So for now, we just unconditionally
1983
- // update the picker here, even though it's probably redundant.
1984
- UpdatePickerLocked();
1985
- // Return status.
1986
- if (!errors.empty()) {
1987
- return absl::UnavailableError(absl::StrCat(
1988
- "errors from children: [", absl::StrJoin(errors, "; "), "]"));
1989
- }
1990
- return absl::OkStatus();
1991
- }
1992
-
1993
- void RlsLb::ExitIdleLocked() {
1994
- MutexLock lock(&mu_);
1995
- for (auto& child_entry : child_policy_map_) {
1996
- child_entry.second->ExitIdleLocked();
1997
- }
1998
- }
1999
-
2000
- void RlsLb::ResetBackoffLocked() {
2001
- {
2002
- MutexLock lock(&mu_);
2003
- rls_channel_->ResetBackoff();
2004
- cache_.ResetAllBackoff();
2005
- }
2006
- for (auto& child : child_policy_map_) {
2007
- child.second->ResetBackoffLocked();
2008
- }
2009
- }
2010
-
2011
- void RlsLb::ShutdownLocked() {
2012
- if (GRPC_TRACE_FLAG_ENABLED(grpc_lb_rls_trace)) {
2013
- gpr_log(GPR_INFO, "[rlslb %p] policy shutdown", this);
2014
- }
2015
- MutexLock lock(&mu_);
2016
- is_shutdown_ = true;
2017
- config_.reset(DEBUG_LOCATION, "ShutdownLocked");
2018
- channel_args_ = ChannelArgs();
2019
- cache_.Shutdown();
2020
- request_map_.clear();
2021
- rls_channel_.reset();
2022
- default_child_policy_.reset();
2023
- }
2024
-
2025
- void RlsLb::UpdatePickerAsync() {
2026
- // Run via the ExecCtx, since the caller may be holding the lock, and
2027
- // we don't want to be doing that when we hop into the WorkSerializer,
2028
- // in case the WorkSerializer callback happens to run inline.
2029
- ExecCtx::Run(
2030
- DEBUG_LOCATION,
2031
- GRPC_CLOSURE_CREATE(UpdatePickerCallback,
2032
- Ref(DEBUG_LOCATION, "UpdatePickerCallback").release(),
2033
- grpc_schedule_on_exec_ctx),
2034
- absl::OkStatus());
2035
- }
2036
-
2037
- void RlsLb::UpdatePickerCallback(void* arg, grpc_error_handle /*error*/) {
2038
- auto* rls_lb = static_cast<RlsLb*>(arg);
2039
- rls_lb->work_serializer()->Run(
2040
- [rls_lb]() {
2041
- RefCountedPtr<RlsLb> lb_policy(rls_lb);
2042
- lb_policy->UpdatePickerLocked();
2043
- lb_policy.reset(DEBUG_LOCATION, "UpdatePickerCallback");
2044
- },
2045
- DEBUG_LOCATION);
2046
- }
2047
-
2048
- void RlsLb::UpdatePickerLocked() {
2049
- // If we're in the process of propagating an update from our parent to
2050
- // our children, ignore any updates that come from the children. We
2051
- // will instead return a new picker once the update has been seen by
2052
- // all children. This avoids unnecessary picker churn while an update
2053
- // is being propagated to our children.
2054
- if (update_in_progress_) return;
2055
- if (GRPC_TRACE_FLAG_ENABLED(grpc_lb_rls_trace)) {
2056
- gpr_log(GPR_INFO, "[rlslb %p] updating picker", this);
2057
- }
2058
- grpc_connectivity_state state = GRPC_CHANNEL_IDLE;
2059
- if (!child_policy_map_.empty()) {
2060
- state = GRPC_CHANNEL_TRANSIENT_FAILURE;
2061
- int num_idle = 0;
2062
- int num_connecting = 0;
2063
- {
2064
- MutexLock lock(&mu_);
2065
- if (is_shutdown_) return;
2066
- for (auto& p : child_policy_map_) {
2067
- grpc_connectivity_state child_state = p.second->connectivity_state();
2068
- if (GRPC_TRACE_FLAG_ENABLED(grpc_lb_rls_trace)) {
2069
- gpr_log(GPR_INFO, "[rlslb %p] target %s in state %s", this,
2070
- p.second->target().c_str(),
2071
- ConnectivityStateName(child_state));
2072
- }
2073
- if (child_state == GRPC_CHANNEL_READY) {
2074
- state = GRPC_CHANNEL_READY;
2075
- break;
2076
- } else if (child_state == GRPC_CHANNEL_CONNECTING) {
2077
- ++num_connecting;
2078
- } else if (child_state == GRPC_CHANNEL_IDLE) {
2079
- ++num_idle;
2080
- }
2081
- }
2082
- if (state != GRPC_CHANNEL_READY) {
2083
- if (num_connecting > 0) {
2084
- state = GRPC_CHANNEL_CONNECTING;
2085
- } else if (num_idle > 0) {
2086
- state = GRPC_CHANNEL_IDLE;
2087
- }
2088
- }
2089
- }
2090
- }
2091
- if (GRPC_TRACE_FLAG_ENABLED(grpc_lb_rls_trace)) {
2092
- gpr_log(GPR_INFO, "[rlslb %p] reporting state %s", this,
2093
- ConnectivityStateName(state));
2094
- }
2095
- absl::Status status;
2096
- if (state == GRPC_CHANNEL_TRANSIENT_FAILURE) {
2097
- status = absl::UnavailableError("no children available");
2098
- }
2099
- channel_control_helper()->UpdateState(
2100
- state, status, MakeRefCounted<Picker>(Ref(DEBUG_LOCATION, "Picker")));
2101
- }
2102
-
2103
- //
2104
- // RlsLbFactory
2105
- //
2106
-
2107
- struct GrpcKeyBuilder {
2108
- struct Name {
2109
- std::string service;
2110
- std::string method;
2111
-
2112
- static const JsonLoaderInterface* JsonLoader(const JsonArgs&) {
2113
- static const auto* loader = JsonObjectLoader<Name>()
2114
- .Field("service", &Name::service)
2115
- .OptionalField("method", &Name::method)
2116
- .Finish();
2117
- return loader;
2118
- }
2119
- };
2120
-
2121
- struct NameMatcher {
2122
- std::string key;
2123
- std::vector<std::string> names;
2124
- absl::optional<bool> required_match;
2125
-
2126
- static const JsonLoaderInterface* JsonLoader(const JsonArgs&) {
2127
- static const auto* loader =
2128
- JsonObjectLoader<NameMatcher>()
2129
- .Field("key", &NameMatcher::key)
2130
- .Field("names", &NameMatcher::names)
2131
- .OptionalField("requiredMatch", &NameMatcher::required_match)
2132
- .Finish();
2133
- return loader;
2134
- }
2135
-
2136
- void JsonPostLoad(const Json&, const JsonArgs&, ValidationErrors* errors) {
2137
- // key must be non-empty.
2138
- {
2139
- ValidationErrors::ScopedField field(errors, ".key");
2140
- if (!errors->FieldHasErrors() && key.empty()) {
2141
- errors->AddError("must be non-empty");
2142
- }
2143
- }
2144
- // List of header names must be non-empty.
2145
- {
2146
- ValidationErrors::ScopedField field(errors, ".names");
2147
- if (!errors->FieldHasErrors() && names.empty()) {
2148
- errors->AddError("must be non-empty");
2149
- }
2150
- // Individual header names must be non-empty.
2151
- for (size_t i = 0; i < names.size(); ++i) {
2152
- ValidationErrors::ScopedField field(errors,
2153
- absl::StrCat("[", i, "]"));
2154
- if (!errors->FieldHasErrors() && names[i].empty()) {
2155
- errors->AddError("must be non-empty");
2156
- }
2157
- }
2158
- }
2159
- // requiredMatch must not be present.
2160
- {
2161
- ValidationErrors::ScopedField field(errors, ".requiredMatch");
2162
- if (required_match.has_value()) {
2163
- errors->AddError("must not be present");
2164
- }
2165
- }
2166
- }
2167
- };
2168
-
2169
- struct ExtraKeys {
2170
- absl::optional<std::string> host_key;
2171
- absl::optional<std::string> service_key;
2172
- absl::optional<std::string> method_key;
2173
-
2174
- static const JsonLoaderInterface* JsonLoader(const JsonArgs&) {
2175
- static const auto* loader =
2176
- JsonObjectLoader<ExtraKeys>()
2177
- .OptionalField("host", &ExtraKeys::host_key)
2178
- .OptionalField("service", &ExtraKeys::service_key)
2179
- .OptionalField("method", &ExtraKeys::method_key)
2180
- .Finish();
2181
- return loader;
2182
- }
2183
-
2184
- void JsonPostLoad(const Json&, const JsonArgs&, ValidationErrors* errors) {
2185
- auto check_field = [&](const std::string& field_name,
2186
- absl::optional<std::string>* struct_field) {
2187
- ValidationErrors::ScopedField field(errors,
2188
- absl::StrCat(".", field_name));
2189
- if (struct_field->has_value() && (*struct_field)->empty()) {
2190
- errors->AddError("must be non-empty if set");
2191
- }
2192
- };
2193
- check_field("host", &host_key);
2194
- check_field("service", &service_key);
2195
- check_field("method", &method_key);
2196
- }
2197
- };
2198
-
2199
- std::vector<Name> names;
2200
- std::vector<NameMatcher> headers;
2201
- ExtraKeys extra_keys;
2202
- std::map<std::string /*key*/, std::string /*value*/> constant_keys;
2203
-
2204
- static const JsonLoaderInterface* JsonLoader(const JsonArgs&) {
2205
- static const auto* loader =
2206
- JsonObjectLoader<GrpcKeyBuilder>()
2207
- .Field("names", &GrpcKeyBuilder::names)
2208
- .OptionalField("headers", &GrpcKeyBuilder::headers)
2209
- .OptionalField("extraKeys", &GrpcKeyBuilder::extra_keys)
2210
- .OptionalField("constantKeys", &GrpcKeyBuilder::constant_keys)
2211
- .Finish();
2212
- return loader;
2213
- }
2214
-
2215
- void JsonPostLoad(const Json&, const JsonArgs&, ValidationErrors* errors) {
2216
- // The names field must be non-empty.
2217
- {
2218
- ValidationErrors::ScopedField field(errors, ".names");
2219
- if (!errors->FieldHasErrors() && names.empty()) {
2220
- errors->AddError("must be non-empty");
2221
- }
2222
- }
2223
- // Make sure no key in constantKeys is empty.
2224
- if (constant_keys.find("") != constant_keys.end()) {
2225
- ValidationErrors::ScopedField field(errors, ".constantKeys[\"\"]");
2226
- errors->AddError("key must be non-empty");
2227
- }
2228
- // Check for duplicate keys.
2229
- std::set<absl::string_view> keys_seen;
2230
- auto duplicate_key_check_func = [&keys_seen, errors](
2231
- const std::string& key,
2232
- const std::string& field_name) {
2233
- if (key.empty()) return; // Already generated an error about this.
2234
- ValidationErrors::ScopedField field(errors, field_name);
2235
- auto it = keys_seen.find(key);
2236
- if (it != keys_seen.end()) {
2237
- errors->AddError(absl::StrCat("duplicate key \"", key, "\""));
2238
- } else {
2239
- keys_seen.insert(key);
2240
- }
2241
- };
2242
- for (size_t i = 0; i < headers.size(); ++i) {
2243
- NameMatcher& header = headers[i];
2244
- duplicate_key_check_func(header.key,
2245
- absl::StrCat(".headers[", i, "].key"));
2246
- }
2247
- for (const auto& p : constant_keys) {
2248
- duplicate_key_check_func(
2249
- p.first, absl::StrCat(".constantKeys[\"", p.first, "\"]"));
2250
- }
2251
- if (extra_keys.host_key.has_value()) {
2252
- duplicate_key_check_func(*extra_keys.host_key, ".extraKeys.host");
2253
- }
2254
- if (extra_keys.service_key.has_value()) {
2255
- duplicate_key_check_func(*extra_keys.service_key, ".extraKeys.service");
2256
- }
2257
- if (extra_keys.method_key.has_value()) {
2258
- duplicate_key_check_func(*extra_keys.method_key, ".extraKeys.method");
2259
- }
2260
- }
2261
- };
2262
-
2263
- const JsonLoaderInterface* RlsLbConfig::RouteLookupConfig::JsonLoader(
2264
- const JsonArgs&) {
2265
- static const auto* loader =
2266
- JsonObjectLoader<RouteLookupConfig>()
2267
- // Note: Some fields require manual processing and are handled in
2268
- // JsonPostLoad() instead.
2269
- .Field("lookupService", &RouteLookupConfig::lookup_service)
2270
- .OptionalField("lookupServiceTimeout",
2271
- &RouteLookupConfig::lookup_service_timeout)
2272
- .OptionalField("maxAge", &RouteLookupConfig::max_age)
2273
- .OptionalField("staleAge", &RouteLookupConfig::stale_age)
2274
- .Field("cacheSizeBytes", &RouteLookupConfig::cache_size_bytes)
2275
- .OptionalField("defaultTarget", &RouteLookupConfig::default_target)
2276
- .Finish();
2277
- return loader;
2278
- }
2279
-
2280
- void RlsLbConfig::RouteLookupConfig::JsonPostLoad(const Json& json,
2281
- const JsonArgs& args,
2282
- ValidationErrors* errors) {
2283
- // Parse grpcKeybuilders.
2284
- auto grpc_keybuilders = LoadJsonObjectField<std::vector<GrpcKeyBuilder>>(
2285
- json.object(), args, "grpcKeybuilders", errors);
2286
- if (grpc_keybuilders.has_value()) {
2287
- ValidationErrors::ScopedField field(errors, ".grpcKeybuilders");
2288
- for (size_t i = 0; i < grpc_keybuilders->size(); ++i) {
2289
- ValidationErrors::ScopedField field(errors, absl::StrCat("[", i, "]"));
2290
- auto& grpc_keybuilder = (*grpc_keybuilders)[i];
2291
- // Construct KeyBuilder.
2292
- RlsLbConfig::KeyBuilder key_builder;
2293
- for (const auto& header : grpc_keybuilder.headers) {
2294
- key_builder.header_keys.emplace(header.key, header.names);
2295
- }
2296
- if (grpc_keybuilder.extra_keys.host_key.has_value()) {
2297
- key_builder.host_key = std::move(*grpc_keybuilder.extra_keys.host_key);
2298
- }
2299
- if (grpc_keybuilder.extra_keys.service_key.has_value()) {
2300
- key_builder.service_key =
2301
- std::move(*grpc_keybuilder.extra_keys.service_key);
2302
- }
2303
- if (grpc_keybuilder.extra_keys.method_key.has_value()) {
2304
- key_builder.method_key =
2305
- std::move(*grpc_keybuilder.extra_keys.method_key);
2306
- }
2307
- key_builder.constant_keys = std::move(grpc_keybuilder.constant_keys);
2308
- // Add entries to map.
2309
- for (const auto& name : grpc_keybuilder.names) {
2310
- std::string path = absl::StrCat("/", name.service, "/", name.method);
2311
- bool inserted = key_builder_map.emplace(path, key_builder).second;
2312
- if (!inserted) {
2313
- errors->AddError(absl::StrCat("duplicate entry for \"", path, "\""));
2314
- }
2315
- }
2316
- }
2317
- }
2318
- // Validate lookupService.
2319
- {
2320
- ValidationErrors::ScopedField field(errors, ".lookupService");
2321
- if (!errors->FieldHasErrors() &&
2322
- !CoreConfiguration::Get().resolver_registry().IsValidTarget(
2323
- lookup_service)) {
2324
- errors->AddError("must be valid gRPC target URI");
2325
- }
2326
- }
2327
- // Clamp maxAge to the max allowed value.
2328
- if (max_age > kMaxMaxAge) max_age = kMaxMaxAge;
2329
- // If staleAge is set, then maxAge must also be set.
2330
- if (json.object().find("staleAge") != json.object().end() &&
2331
- json.object().find("maxAge") == json.object().end()) {
2332
- ValidationErrors::ScopedField field(errors, ".maxAge");
2333
- errors->AddError("must be set if staleAge is set");
2334
- }
2335
- // Ignore staleAge if greater than or equal to maxAge.
2336
- if (stale_age >= max_age) stale_age = max_age;
2337
- // Validate cacheSizeBytes.
2338
- {
2339
- ValidationErrors::ScopedField field(errors, ".cacheSizeBytes");
2340
- if (!errors->FieldHasErrors() && cache_size_bytes <= 0) {
2341
- errors->AddError("must be greater than 0");
2342
- }
2343
- }
2344
- // Clamp cacheSizeBytes to the max allowed value.
2345
- if (cache_size_bytes > kMaxCacheSizeBytes) {
2346
- cache_size_bytes = kMaxCacheSizeBytes;
2347
- }
2348
- // Validate defaultTarget.
2349
- {
2350
- ValidationErrors::ScopedField field(errors, ".defaultTarget");
2351
- if (!errors->FieldHasErrors() &&
2352
- json.object().find("defaultTarget") != json.object().end() &&
2353
- default_target.empty()) {
2354
- errors->AddError("must be non-empty if set");
2355
- }
2356
- }
2357
- }
2358
-
2359
- const JsonLoaderInterface* RlsLbConfig::JsonLoader(const JsonArgs&) {
2360
- static const auto* loader =
2361
- JsonObjectLoader<RlsLbConfig>()
2362
- // Note: Some fields require manual processing and are handled in
2363
- // JsonPostLoad() instead.
2364
- .Field("routeLookupConfig", &RlsLbConfig::route_lookup_config_)
2365
- .Field("childPolicyConfigTargetFieldName",
2366
- &RlsLbConfig::child_policy_config_target_field_name_)
2367
- .Finish();
2368
- return loader;
2369
- }
2370
-
2371
- void RlsLbConfig::JsonPostLoad(const Json& json, const JsonArgs&,
2372
- ValidationErrors* errors) {
2373
- // Parse routeLookupChannelServiceConfig.
2374
- auto it = json.object().find("routeLookupChannelServiceConfig");
2375
- if (it != json.object().end()) {
2376
- ValidationErrors::ScopedField field(errors,
2377
- ".routeLookupChannelServiceConfig");
2378
- // Don't need to save the result here, just need the errors (if any).
2379
- ServiceConfigImpl::Create(ChannelArgs(), it->second, errors);
2380
- }
2381
- // Validate childPolicyConfigTargetFieldName.
2382
- {
2383
- ValidationErrors::ScopedField field(errors,
2384
- ".childPolicyConfigTargetFieldName");
2385
- if (!errors->FieldHasErrors() &&
2386
- child_policy_config_target_field_name_.empty()) {
2387
- errors->AddError("must be non-empty");
2388
- }
2389
- }
2390
- // Parse childPolicy.
2391
- {
2392
- ValidationErrors::ScopedField field(errors, ".childPolicy");
2393
- auto it = json.object().find("childPolicy");
2394
- if (it == json.object().end()) {
2395
- errors->AddError("field not present");
2396
- } else {
2397
- // Add target to all child policy configs in the list.
2398
- std::string target = route_lookup_config_.default_target.empty()
2399
- ? kFakeTargetFieldValue
2400
- : route_lookup_config_.default_target;
2401
- auto child_policy_config = InsertOrUpdateChildPolicyField(
2402
- child_policy_config_target_field_name_, target, it->second, errors);
2403
- if (child_policy_config.has_value()) {
2404
- child_policy_config_ = std::move(*child_policy_config);
2405
- // Parse the config.
2406
- auto parsed_config =
2407
- CoreConfiguration::Get()
2408
- .lb_policy_registry()
2409
- .ParseLoadBalancingConfig(child_policy_config_);
2410
- if (!parsed_config.ok()) {
2411
- errors->AddError(parsed_config.status().message());
2412
- } else {
2413
- // Find the chosen config and return it in JSON form.
2414
- // We remove all non-selected configs, and in the selected config,
2415
- // we leave the target field in place, set to the default value.
2416
- // This slightly optimizes what we need to do later when we update
2417
- // a child policy for a given target.
2418
- for (const Json& config : child_policy_config_.array()) {
2419
- if (config.object().begin()->first == (*parsed_config)->name()) {
2420
- child_policy_config_ = Json::FromArray({config});
2421
- break;
2422
- }
2423
- }
2424
- // If default target is set, set the default child config.
2425
- if (!route_lookup_config_.default_target.empty()) {
2426
- default_child_policy_parsed_config_ = std::move(*parsed_config);
2427
- }
2428
- }
2429
- }
2430
- }
2431
- }
2432
- }
2433
-
2434
- class RlsLbFactory : public LoadBalancingPolicyFactory {
2435
- public:
2436
- absl::string_view name() const override { return kRls; }
2437
-
2438
- OrphanablePtr<LoadBalancingPolicy> CreateLoadBalancingPolicy(
2439
- LoadBalancingPolicy::Args args) const override {
2440
- return MakeOrphanable<RlsLb>(std::move(args));
2441
- }
2442
-
2443
- absl::StatusOr<RefCountedPtr<LoadBalancingPolicy::Config>>
2444
- ParseLoadBalancingConfig(const Json& json) const override {
2445
- return LoadFromJson<RefCountedPtr<RlsLbConfig>>(
2446
- json, JsonArgs(), "errors validing RLS LB policy config");
2447
- }
2448
- };
2449
-
2450
- } // namespace
2451
-
2452
- void RegisterRlsLbPolicy(CoreConfiguration::Builder* builder) {
2453
- builder->lb_policy_registry()->RegisterLoadBalancingPolicyFactory(
2454
- std::make_unique<RlsLbFactory>());
2455
- }
2456
-
2457
- } // namespace grpc_core