grpc 1.58.0 → 1.62.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2780) hide show
  1. checksums.yaml +4 -4
  2. data/Makefile +1083 -952
  3. data/include/grpc/event_engine/event_engine.h +28 -23
  4. data/include/grpc/event_engine/extensible.h +68 -0
  5. data/include/grpc/event_engine/internal/memory_allocator_impl.h +6 -0
  6. data/include/grpc/event_engine/internal/slice_cast.h +12 -0
  7. data/include/grpc/event_engine/memory_allocator.h +3 -1
  8. data/include/grpc/event_engine/slice.h +5 -0
  9. data/include/grpc/grpc_crl_provider.h +94 -0
  10. data/include/grpc/grpc_security.h +38 -1
  11. data/include/grpc/impl/call.h +29 -0
  12. data/include/grpc/impl/channel_arg_names.h +29 -0
  13. data/include/grpc/impl/slice_type.h +1 -1
  14. data/include/grpc/module.modulemap +2 -0
  15. data/include/grpc/support/port_platform.h +86 -21
  16. data/src/core/client_channel/backend_metric.cc +95 -0
  17. data/src/core/client_channel/backend_metric.h +47 -0
  18. data/src/core/client_channel/backup_poller.cc +178 -0
  19. data/src/core/client_channel/backup_poller.h +37 -0
  20. data/src/core/client_channel/channel_connectivity.cc +265 -0
  21. data/src/core/client_channel/client_channel_channelz.cc +93 -0
  22. data/src/core/client_channel/client_channel_channelz.h +85 -0
  23. data/src/core/client_channel/client_channel_factory.cc +32 -0
  24. data/src/core/client_channel/client_channel_factory.h +46 -0
  25. data/src/core/client_channel/client_channel_filter.cc +3654 -0
  26. data/src/core/client_channel/client_channel_filter.h +636 -0
  27. data/src/core/client_channel/client_channel_internal.h +79 -0
  28. data/src/core/client_channel/client_channel_plugin.cc +55 -0
  29. data/src/core/client_channel/client_channel_service_config.cc +153 -0
  30. data/src/core/client_channel/client_channel_service_config.h +111 -0
  31. data/src/core/client_channel/config_selector.cc +60 -0
  32. data/src/core/client_channel/config_selector.h +125 -0
  33. data/src/core/client_channel/connector.h +87 -0
  34. data/src/core/client_channel/dynamic_filters.cc +174 -0
  35. data/src/core/client_channel/dynamic_filters.h +110 -0
  36. data/src/core/client_channel/global_subchannel_pool.cc +65 -0
  37. data/src/core/client_channel/global_subchannel_pool.h +63 -0
  38. data/src/core/client_channel/http_proxy_mapper.cc +305 -0
  39. data/src/core/client_channel/http_proxy_mapper.h +53 -0
  40. data/src/core/client_channel/local_subchannel_pool.cc +60 -0
  41. data/src/core/client_channel/local_subchannel_pool.h +59 -0
  42. data/src/core/client_channel/retry_filter.cc +160 -0
  43. data/src/core/client_channel/retry_filter.h +122 -0
  44. data/src/core/client_channel/retry_filter_legacy_call_data.cc +2054 -0
  45. data/src/core/client_channel/retry_filter_legacy_call_data.h +443 -0
  46. data/src/core/client_channel/retry_service_config.cc +283 -0
  47. data/src/core/client_channel/retry_service_config.h +105 -0
  48. data/src/core/client_channel/retry_throttle.cc +139 -0
  49. data/src/core/client_channel/retry_throttle.h +92 -0
  50. data/src/core/client_channel/service_config_channel_arg_filter.cc +136 -0
  51. data/src/core/client_channel/subchannel.cc +812 -0
  52. data/src/core/client_channel/subchannel.h +387 -0
  53. data/src/core/client_channel/subchannel_interface_internal.h +41 -0
  54. data/src/core/client_channel/subchannel_pool_interface.cc +66 -0
  55. data/src/core/client_channel/subchannel_pool_interface.h +100 -0
  56. data/src/core/client_channel/subchannel_stream_client.cc +468 -0
  57. data/src/core/client_channel/subchannel_stream_client.h +225 -0
  58. data/src/core/ext/filters/backend_metrics/backend_metric_filter.cc +55 -15
  59. data/src/core/ext/filters/backend_metrics/backend_metric_filter.h +20 -6
  60. data/src/core/ext/filters/channel_idle/channel_idle_filter.cc +48 -46
  61. data/src/core/ext/filters/channel_idle/channel_idle_filter.h +18 -10
  62. data/src/core/ext/filters/channel_idle/legacy_channel_idle_filter.cc +326 -0
  63. data/src/core/ext/filters/channel_idle/legacy_channel_idle_filter.h +143 -0
  64. data/src/core/ext/filters/deadline/deadline_filter.cc +20 -23
  65. data/src/core/ext/filters/deadline/deadline_filter.h +0 -4
  66. data/src/core/ext/filters/fault_injection/fault_injection_filter.cc +19 -14
  67. data/src/core/ext/filters/fault_injection/fault_injection_filter.h +13 -4
  68. data/src/core/ext/filters/fault_injection/fault_injection_service_config_parser.h +1 -1
  69. data/src/core/ext/filters/http/client/http_client_filter.cc +29 -39
  70. data/src/core/ext/filters/http/client/http_client_filter.h +10 -5
  71. data/src/core/ext/filters/http/client_authority_filter.cc +22 -24
  72. data/src/core/ext/filters/http/client_authority_filter.h +12 -4
  73. data/src/core/ext/filters/http/http_filters_plugin.cc +58 -38
  74. data/src/core/ext/filters/http/message_compress/compression_filter.cc +55 -84
  75. data/src/core/ext/filters/http/message_compress/compression_filter.h +54 -12
  76. data/src/core/ext/filters/http/message_compress/legacy_compression_filter.cc +325 -0
  77. data/src/core/ext/filters/http/message_compress/legacy_compression_filter.h +139 -0
  78. data/src/core/ext/filters/http/server/http_server_filter.cc +54 -52
  79. data/src/core/ext/filters/http/server/http_server_filter.h +11 -4
  80. data/src/core/ext/filters/message_size/message_size_filter.cc +79 -109
  81. data/src/core/ext/filters/message_size/message_size_filter.h +36 -24
  82. data/src/core/ext/filters/rbac/rbac_filter.cc +24 -20
  83. data/src/core/ext/filters/rbac/rbac_filter.h +11 -4
  84. data/src/core/ext/filters/rbac/rbac_service_config_parser.h +1 -1
  85. data/src/core/ext/filters/server_config_selector/server_config_selector.h +2 -2
  86. data/src/core/ext/filters/server_config_selector/server_config_selector_filter.cc +28 -15
  87. data/src/core/ext/filters/stateful_session/stateful_session_filter.cc +60 -65
  88. data/src/core/ext/filters/stateful_session/stateful_session_filter.h +43 -9
  89. data/src/core/ext/filters/stateful_session/stateful_session_service_config_parser.h +1 -1
  90. data/src/core/ext/gcp/metadata_query.cc +0 -1
  91. data/src/core/ext/transport/chttp2/alpn/alpn.cc +5 -2
  92. data/src/core/ext/transport/chttp2/client/chttp2_connector.cc +9 -12
  93. data/src/core/ext/transport/chttp2/client/chttp2_connector.h +1 -1
  94. data/src/core/ext/transport/chttp2/server/chttp2_server.cc +21 -20
  95. data/src/core/ext/transport/chttp2/transport/chttp2_transport.cc +725 -610
  96. data/src/core/ext/transport/chttp2/transport/chttp2_transport.h +47 -4
  97. data/src/core/ext/transport/chttp2/transport/context_list_entry.h +12 -2
  98. data/src/core/ext/transport/chttp2/transport/flow_control.cc +56 -88
  99. data/src/core/ext/transport/chttp2/transport/flow_control.h +85 -12
  100. data/src/core/ext/transport/chttp2/transport/frame.cc +506 -0
  101. data/src/core/ext/transport/chttp2/transport/frame.h +193 -22
  102. data/src/core/ext/transport/chttp2/transport/frame_data.cc +4 -3
  103. data/src/core/ext/transport/chttp2/transport/frame_data.h +1 -1
  104. data/src/core/ext/transport/chttp2/transport/frame_goaway.cc +0 -2
  105. data/src/core/ext/transport/chttp2/transport/frame_goaway.h +1 -1
  106. data/src/core/ext/transport/chttp2/transport/frame_ping.cc +18 -1
  107. data/src/core/ext/transport/chttp2/transport/frame_ping.h +1 -1
  108. data/src/core/ext/transport/chttp2/transport/frame_rst_stream.cc +10 -3
  109. data/src/core/ext/transport/chttp2/transport/frame_rst_stream.h +1 -1
  110. data/src/core/ext/transport/chttp2/transport/frame_settings.cc +34 -82
  111. data/src/core/ext/transport/chttp2/transport/frame_settings.h +5 -8
  112. data/src/core/ext/transport/chttp2/transport/frame_window_update.cc +1 -3
  113. data/src/core/ext/transport/chttp2/transport/frame_window_update.h +1 -1
  114. data/src/core/ext/transport/chttp2/transport/hpack_encoder.cc +16 -22
  115. data/src/core/ext/transport/chttp2/transport/hpack_encoder.h +12 -3
  116. data/src/core/ext/transport/chttp2/transport/hpack_encoder_table.h +3 -4
  117. data/src/core/ext/transport/chttp2/transport/hpack_parse_result.cc +37 -29
  118. data/src/core/ext/transport/chttp2/transport/hpack_parse_result.h +61 -36
  119. data/src/core/ext/transport/chttp2/transport/hpack_parser.cc +19 -10
  120. data/src/core/ext/transport/chttp2/transport/hpack_parser.h +10 -6
  121. data/src/core/ext/transport/chttp2/transport/hpack_parser_table.h +3 -1
  122. data/src/core/ext/transport/chttp2/transport/http2_settings.cc +122 -32
  123. data/src/core/ext/transport/chttp2/transport/http2_settings.h +142 -37
  124. data/src/core/ext/transport/chttp2/transport/internal.h +206 -121
  125. data/src/core/ext/transport/chttp2/transport/legacy_frame.h +43 -0
  126. data/src/core/ext/transport/chttp2/transport/max_concurrent_streams_policy.cc +44 -0
  127. data/src/core/ext/transport/chttp2/transport/max_concurrent_streams_policy.h +67 -0
  128. data/src/core/ext/transport/chttp2/transport/parsing.cc +131 -44
  129. data/src/core/ext/transport/chttp2/transport/ping_abuse_policy.cc +10 -0
  130. data/src/core/ext/transport/chttp2/transport/ping_abuse_policy.h +4 -0
  131. data/src/core/ext/transport/chttp2/transport/ping_callbacks.cc +108 -0
  132. data/src/core/ext/transport/chttp2/transport/ping_callbacks.h +115 -0
  133. data/src/core/ext/transport/chttp2/transport/ping_rate_policy.cc +27 -5
  134. data/src/core/ext/transport/chttp2/transport/ping_rate_policy.h +16 -1
  135. data/src/core/ext/transport/chttp2/transport/stream_lists.cc +1 -1
  136. data/src/core/ext/transport/chttp2/transport/write_size_policy.cc +60 -0
  137. data/src/core/ext/transport/chttp2/transport/write_size_policy.h +66 -0
  138. data/src/core/ext/transport/chttp2/transport/writing.cc +171 -114
  139. data/src/core/ext/transport/inproc/inproc_transport.cc +168 -1228
  140. data/src/core/ext/transport/inproc/inproc_transport.h +8 -4
  141. data/src/core/ext/transport/inproc/legacy_inproc_transport.cc +1303 -0
  142. data/src/core/ext/transport/inproc/legacy_inproc_transport.h +30 -0
  143. data/src/core/ext/upb-gen/envoy/admin/v3/certs.upb.h +725 -0
  144. data/src/core/ext/upb-gen/envoy/admin/v3/certs.upb_minitable.c +149 -0
  145. data/src/core/ext/upb-gen/envoy/admin/v3/certs.upb_minitable.h +34 -0
  146. data/src/core/ext/upb-gen/envoy/admin/v3/clusters.upb.h +827 -0
  147. data/src/core/ext/upb-gen/envoy/admin/v3/clusters.upb_minitable.c +180 -0
  148. data/src/core/ext/upb-gen/envoy/admin/v3/clusters.upb_minitable.h +33 -0
  149. data/src/core/ext/upb-gen/envoy/admin/v3/config_dump.upb.h +733 -0
  150. data/src/core/ext/upb-gen/envoy/admin/v3/config_dump.upb_minitable.c +157 -0
  151. data/src/core/ext/upb-gen/envoy/admin/v3/config_dump.upb_minitable.h +34 -0
  152. data/src/core/ext/upb-gen/envoy/admin/v3/config_dump_shared.upb.h +2772 -0
  153. data/src/core/ext/upb-gen/envoy/admin/v3/config_dump_shared.upb_minitable.c +532 -0
  154. data/src/core/ext/upb-gen/envoy/admin/v3/config_dump_shared.upb_minitable.h +48 -0
  155. data/src/core/ext/upb-gen/envoy/admin/v3/init_dump.upb.h +248 -0
  156. data/src/core/ext/upb-gen/envoy/admin/v3/init_dump.upb_minitable.c +66 -0
  157. data/src/core/ext/upb-gen/envoy/admin/v3/init_dump.upb_minitable.h +31 -0
  158. data/src/core/ext/upb-gen/envoy/admin/v3/listeners.upb.h +280 -0
  159. data/src/core/ext/upb-gen/envoy/admin/v3/listeners.upb_minitable.c +74 -0
  160. data/src/core/ext/upb-gen/envoy/admin/v3/listeners.upb_minitable.h +31 -0
  161. data/src/core/ext/upb-gen/envoy/admin/v3/memory.upb.h +162 -0
  162. data/src/core/ext/upb-gen/envoy/admin/v3/memory.upb_minitable.c +56 -0
  163. data/src/core/ext/upb-gen/envoy/admin/v3/memory.upb_minitable.h +30 -0
  164. data/src/core/ext/upb-gen/envoy/admin/v3/metrics.upb.h +122 -0
  165. data/src/core/ext/upb-gen/envoy/admin/v3/metrics.upb_minitable.c +49 -0
  166. data/src/core/ext/upb-gen/envoy/admin/v3/metrics.upb_minitable.h +30 -0
  167. data/src/core/ext/upb-gen/envoy/admin/v3/mutex_stats.upb.h +117 -0
  168. data/src/core/ext/upb-gen/envoy/admin/v3/mutex_stats.upb_minitable.c +49 -0
  169. data/src/core/ext/upb-gen/envoy/admin/v3/mutex_stats.upb_minitable.h +30 -0
  170. data/src/core/ext/upb-gen/envoy/admin/v3/server_info.upb.h +928 -0
  171. data/src/core/ext/upb-gen/envoy/admin/v3/server_info.upb_minitable.c +150 -0
  172. data/src/core/ext/upb-gen/envoy/admin/v3/server_info.upb_minitable.h +31 -0
  173. data/src/core/ext/upb-gen/envoy/admin/v3/tap.upb.h +117 -0
  174. data/src/core/ext/upb-gen/envoy/admin/v3/tap.upb_minitable.c +54 -0
  175. data/src/core/ext/upb-gen/envoy/admin/v3/tap.upb_minitable.h +30 -0
  176. data/src/core/ext/upb-gen/envoy/annotations/deprecation.upb.h +122 -0
  177. data/src/core/ext/upb-gen/envoy/annotations/deprecation.upb_minitable.c +58 -0
  178. data/src/core/ext/upb-gen/envoy/annotations/deprecation.upb_minitable.h +33 -0
  179. data/src/core/ext/upb-gen/envoy/annotations/resource.upb.h +109 -0
  180. data/src/core/ext/upb-gen/envoy/annotations/resource.upb_minitable.c +55 -0
  181. data/src/core/ext/upb-gen/envoy/annotations/resource.upb_minitable.h +31 -0
  182. data/src/core/ext/upb-gen/envoy/config/accesslog/v3/accesslog.upb.h +1753 -0
  183. data/src/core/ext/upb-gen/envoy/config/accesslog/v3/accesslog.upb_minitable.c +375 -0
  184. data/src/core/ext/upb-gen/envoy/config/accesslog/v3/accesslog.upb_minitable.h +45 -0
  185. data/src/core/ext/upb-gen/envoy/config/bootstrap/v3/bootstrap.upb.h +3607 -0
  186. data/src/core/ext/upb-gen/envoy/config/bootstrap/v3/bootstrap.upb_minitable.c +651 -0
  187. data/src/core/ext/upb-gen/envoy/config/bootstrap/v3/bootstrap.upb_minitable.h +51 -0
  188. data/src/core/ext/upb-gen/envoy/config/cluster/v3/circuit_breaker.upb.h +526 -0
  189. data/src/core/ext/upb-gen/envoy/config/cluster/v3/circuit_breaker.upb_minitable.c +125 -0
  190. data/src/core/ext/upb-gen/envoy/config/cluster/v3/circuit_breaker.upb_minitable.h +32 -0
  191. data/src/core/ext/upb-gen/envoy/config/cluster/v3/cluster.upb.h +3934 -0
  192. data/src/core/ext/upb-gen/envoy/config/cluster/v3/cluster.upb_minitable.c +737 -0
  193. data/src/core/ext/upb-gen/envoy/config/cluster/v3/cluster.upb_minitable.h +53 -0
  194. data/src/core/ext/upb-gen/envoy/config/cluster/v3/filter.upb.h +146 -0
  195. data/src/core/ext/upb-gen/envoy/config/cluster/v3/filter.upb_minitable.c +57 -0
  196. data/src/core/ext/upb-gen/envoy/config/cluster/v3/filter.upb_minitable.h +30 -0
  197. data/src/core/ext/upb-gen/envoy/config/cluster/v3/outlier_detection.upb.h +687 -0
  198. data/src/core/ext/upb-gen/envoy/config/cluster/v3/outlier_detection.upb_minitable.c +125 -0
  199. data/src/core/ext/upb-gen/envoy/config/cluster/v3/outlier_detection.upb_minitable.h +30 -0
  200. data/src/core/ext/upb-gen/envoy/config/common/matcher/v3/matcher.upb.h +1829 -0
  201. data/src/core/ext/upb-gen/envoy/config/common/matcher/v3/matcher.upb_minitable.c +394 -0
  202. data/src/core/ext/upb-gen/envoy/config/common/matcher/v3/matcher.upb_minitable.h +44 -0
  203. data/src/core/ext/upb-gen/envoy/config/core/v3/address.upb.h +1070 -0
  204. data/src/core/ext/upb-gen/envoy/config/core/v3/address.upb_minitable.c +227 -0
  205. data/src/core/ext/upb-gen/envoy/config/core/v3/address.upb_minitable.h +37 -0
  206. data/src/core/ext/upb-gen/envoy/config/core/v3/backoff.upb.h +129 -0
  207. data/src/core/ext/upb-gen/envoy/config/core/v3/backoff.upb_minitable.c +55 -0
  208. data/src/core/ext/upb-gen/envoy/config/core/v3/backoff.upb_minitable.h +30 -0
  209. data/src/core/ext/upb-gen/envoy/config/core/v3/base.upb.h +2436 -0
  210. data/src/core/ext/upb-gen/envoy/config/core/v3/base.upb_minitable.c +578 -0
  211. data/src/core/ext/upb-gen/envoy/config/core/v3/base.upb_minitable.h +53 -0
  212. data/src/core/ext/upb-gen/envoy/config/core/v3/config_source.upb.h +1130 -0
  213. data/src/core/ext/upb-gen/envoy/config/core/v3/config_source.upb_minitable.c +225 -0
  214. data/src/core/ext/upb-gen/envoy/config/core/v3/config_source.upb_minitable.h +36 -0
  215. data/src/core/ext/upb-gen/envoy/config/core/v3/event_service_config.upb.h +110 -0
  216. data/src/core/ext/upb-gen/envoy/config/core/v3/event_service_config.upb_minitable.c +51 -0
  217. data/src/core/ext/upb-gen/envoy/config/core/v3/event_service_config.upb_minitable.h +30 -0
  218. data/src/core/ext/upb-gen/envoy/config/core/v3/extension.upb.h +116 -0
  219. data/src/core/ext/upb-gen/envoy/config/core/v3/extension.upb_minitable.c +53 -0
  220. data/src/core/ext/upb-gen/envoy/config/core/v3/extension.upb_minitable.h +30 -0
  221. data/src/core/ext/upb-gen/envoy/config/core/v3/grpc_method_list.upb.h +250 -0
  222. data/src/core/ext/upb-gen/envoy/config/core/v3/grpc_method_list.upb_minitable.c +68 -0
  223. data/src/core/ext/upb-gen/envoy/config/core/v3/grpc_method_list.upb_minitable.h +31 -0
  224. data/src/core/ext/upb-gen/envoy/config/core/v3/grpc_service.upb.h +1688 -0
  225. data/src/core/ext/upb-gen/envoy/config/core/v3/grpc_service.upb_minitable.c +378 -0
  226. data/src/core/ext/upb-gen/envoy/config/core/v3/grpc_service.upb_minitable.h +43 -0
  227. data/src/core/ext/upb-gen/envoy/config/core/v3/health_check.upb.h +1938 -0
  228. data/src/core/ext/upb-gen/envoy/config/core/v3/health_check.upb_minitable.c +315 -0
  229. data/src/core/ext/upb-gen/envoy/config/core/v3/health_check.upb_minitable.h +38 -0
  230. data/src/core/ext/upb-gen/envoy/config/core/v3/http_service.upb.h +166 -0
  231. data/src/core/ext/upb-gen/envoy/config/core/v3/http_service.upb_minitable.c +55 -0
  232. data/src/core/ext/upb-gen/envoy/config/core/v3/http_service.upb_minitable.h +30 -0
  233. data/src/core/ext/upb-gen/envoy/config/core/v3/http_uri.upb.h +144 -0
  234. data/src/core/ext/upb-gen/envoy/config/core/v3/http_uri.upb_minitable.c +55 -0
  235. data/src/core/ext/upb-gen/envoy/config/core/v3/http_uri.upb_minitable.h +30 -0
  236. data/src/core/ext/upb-gen/envoy/config/core/v3/protocol.upb.h +2275 -0
  237. data/src/core/ext/upb-gen/envoy/config/core/v3/protocol.upb_minitable.c +483 -0
  238. data/src/core/ext/upb-gen/envoy/config/core/v3/protocol.upb_minitable.h +45 -0
  239. data/src/core/ext/upb-gen/envoy/config/core/v3/proxy_protocol.upb.h +238 -0
  240. data/src/core/ext/upb-gen/envoy/config/core/v3/proxy_protocol.upb_minitable.c +70 -0
  241. data/src/core/ext/upb-gen/envoy/config/core/v3/proxy_protocol.upb_minitable.h +31 -0
  242. data/src/core/ext/upb-gen/envoy/config/core/v3/resolver.upb.h +232 -0
  243. data/src/core/ext/upb-gen/envoy/config/core/v3/resolver.upb_minitable.c +72 -0
  244. data/src/core/ext/upb-gen/envoy/config/core/v3/resolver.upb_minitable.h +31 -0
  245. data/src/core/ext/upb-gen/envoy/config/core/v3/socket_option.upb.h +287 -0
  246. data/src/core/ext/upb-gen/envoy/config/core/v3/socket_option.upb_minitable.c +76 -0
  247. data/src/core/ext/upb-gen/envoy/config/core/v3/socket_option.upb_minitable.h +31 -0
  248. data/src/core/ext/upb-gen/envoy/config/core/v3/substitution_format_string.upb.h +335 -0
  249. data/src/core/ext/upb-gen/envoy/config/core/v3/substitution_format_string.upb_minitable.c +83 -0
  250. data/src/core/ext/upb-gen/envoy/config/core/v3/substitution_format_string.upb_minitable.h +31 -0
  251. data/src/core/ext/upb-gen/envoy/config/core/v3/udp_socket_config.upb.h +129 -0
  252. data/src/core/ext/upb-gen/envoy/config/core/v3/udp_socket_config.upb_minitable.c +54 -0
  253. data/src/core/ext/upb-gen/envoy/config/core/v3/udp_socket_config.upb_minitable.h +30 -0
  254. data/src/core/ext/upb-gen/envoy/config/endpoint/v3/endpoint.upb.h +504 -0
  255. data/src/core/ext/upb-gen/envoy/config/endpoint/v3/endpoint.upb_minitable.c +139 -0
  256. data/src/core/ext/upb-gen/envoy/config/endpoint/v3/endpoint.upb_minitable.h +33 -0
  257. data/src/core/ext/upb-gen/envoy/config/endpoint/v3/endpoint_components.upb.h +993 -0
  258. data/src/core/ext/upb-gen/envoy/config/endpoint/v3/endpoint_components.upb_minitable.c +229 -0
  259. data/src/core/ext/upb-gen/envoy/config/endpoint/v3/endpoint_components.upb_minitable.h +36 -0
  260. data/src/core/ext/upb-gen/envoy/config/endpoint/v3/load_report.upb.h +911 -0
  261. data/src/core/ext/upb-gen/envoy/config/endpoint/v3/load_report.upb_minitable.c +179 -0
  262. data/src/core/ext/upb-gen/envoy/config/endpoint/v3/load_report.upb_minitable.h +34 -0
  263. data/src/core/ext/upb-gen/envoy/config/listener/v3/api_listener.upb.h +101 -0
  264. data/src/core/ext/upb-gen/envoy/config/listener/v3/api_listener.upb_minitable.c +50 -0
  265. data/src/core/ext/upb-gen/envoy/config/listener/v3/api_listener.upb_minitable.h +30 -0
  266. data/src/core/ext/upb-gen/envoy/config/listener/v3/listener.upb.h +1613 -0
  267. data/src/core/ext/upb-gen/envoy/config/listener/v3/listener.upb_minitable.c +268 -0
  268. data/src/core/ext/upb-gen/envoy/config/listener/v3/listener.upb_minitable.h +39 -0
  269. data/src/core/ext/upb-gen/envoy/config/listener/v3/listener_components.upb.h +1447 -0
  270. data/src/core/ext/upb-gen/envoy/config/listener/v3/listener_components.upb_minitable.c +260 -0
  271. data/src/core/ext/upb-gen/envoy/config/listener/v3/listener_components.upb_minitable.h +36 -0
  272. data/src/core/ext/upb-gen/envoy/config/listener/v3/quic_config.upb.h +327 -0
  273. data/src/core/ext/upb-gen/envoy/config/listener/v3/quic_config.upb_minitable.c +86 -0
  274. data/src/core/ext/upb-gen/envoy/config/listener/v3/quic_config.upb_minitable.h +30 -0
  275. data/src/core/ext/upb-gen/envoy/config/listener/v3/udp_listener_config.upb.h +197 -0
  276. data/src/core/ext/upb-gen/envoy/config/listener/v3/udp_listener_config.upb_minitable.c +77 -0
  277. data/src/core/ext/upb-gen/envoy/config/listener/v3/udp_listener_config.upb_minitable.h +31 -0
  278. data/src/core/ext/upb-gen/envoy/config/metrics/v3/metrics_service.upb.h +183 -0
  279. data/src/core/ext/upb-gen/envoy/config/metrics/v3/metrics_service.upb_minitable.c +64 -0
  280. data/src/core/ext/upb-gen/envoy/config/metrics/v3/metrics_service.upb_minitable.h +30 -0
  281. data/src/core/ext/upb-gen/envoy/config/metrics/v3/stats.upb.h +974 -0
  282. data/src/core/ext/upb-gen/envoy/config/metrics/v3/stats.upb_minitable.c +219 -0
  283. data/src/core/ext/upb-gen/envoy/config/metrics/v3/stats.upb_minitable.h +37 -0
  284. data/src/core/ext/upb-gen/envoy/config/overload/v3/overload.upb.h +1183 -0
  285. data/src/core/ext/upb-gen/envoy/config/overload/v3/overload.upb_minitable.c +250 -0
  286. data/src/core/ext/upb-gen/envoy/config/overload/v3/overload.upb_minitable.h +39 -0
  287. data/src/core/ext/upb-gen/envoy/config/rbac/v3/rbac.upb.h +1704 -0
  288. data/src/core/ext/upb-gen/envoy/config/rbac/v3/rbac.upb_minitable.c +348 -0
  289. data/src/core/ext/upb-gen/envoy/config/rbac/v3/rbac.upb_minitable.h +40 -0
  290. data/src/core/ext/upb-gen/envoy/config/route/v3/route.upb.h +885 -0
  291. data/src/core/ext/upb-gen/envoy/config/route/v3/route.upb_minitable.c +151 -0
  292. data/src/core/ext/upb-gen/envoy/config/route/v3/route.upb_minitable.h +32 -0
  293. data/src/core/ext/upb-gen/envoy/config/route/v3/route_components.upb.h +9754 -0
  294. data/src/core/ext/upb-gen/envoy/config/route/v3/route_components.upb_minitable.c +1670 -0
  295. data/src/core/ext/upb-gen/envoy/config/route/v3/route_components.upb_minitable.h +87 -0
  296. data/src/core/ext/upb-gen/envoy/config/route/v3/scoped_route.upb.h +341 -0
  297. data/src/core/ext/upb-gen/envoy/config/route/v3/scoped_route.upb_minitable.c +97 -0
  298. data/src/core/ext/upb-gen/envoy/config/route/v3/scoped_route.upb_minitable.h +32 -0
  299. data/src/core/ext/upb-gen/envoy/config/tap/v3/common.upb.h +1545 -0
  300. data/src/core/ext/upb-gen/envoy/config/tap/v3/common.upb_minitable.c +328 -0
  301. data/src/core/ext/upb-gen/envoy/config/tap/v3/common.upb_minitable.h +41 -0
  302. data/src/core/ext/upb-gen/envoy/config/trace/v3/datadog.upb.h +119 -0
  303. data/src/core/ext/upb-gen/envoy/config/trace/v3/datadog.upb_minitable.c +51 -0
  304. data/src/core/ext/upb-gen/envoy/config/trace/v3/datadog.upb_minitable.h +30 -0
  305. data/src/core/ext/upb-gen/envoy/config/trace/v3/dynamic_ot.upb.h +119 -0
  306. data/src/core/ext/upb-gen/envoy/config/trace/v3/dynamic_ot.upb_minitable.c +56 -0
  307. data/src/core/ext/upb-gen/envoy/config/trace/v3/dynamic_ot.upb_minitable.h +30 -0
  308. data/src/core/ext/upb-gen/envoy/config/trace/v3/http_tracer.upb.h +190 -0
  309. data/src/core/ext/upb-gen/envoy/config/trace/v3/http_tracer.upb_minitable.c +73 -0
  310. data/src/core/ext/upb-gen/envoy/config/trace/v3/http_tracer.upb_minitable.h +31 -0
  311. data/src/core/ext/upb-gen/envoy/config/trace/v3/lightstep.upb.h +202 -0
  312. data/src/core/ext/upb-gen/envoy/config/trace/v3/lightstep.upb_minitable.c +62 -0
  313. data/src/core/ext/upb-gen/envoy/config/trace/v3/lightstep.upb_minitable.h +30 -0
  314. data/src/core/ext/upb-gen/envoy/config/trace/v3/opencensus.upb.h +409 -0
  315. data/src/core/ext/upb-gen/envoy/config/trace/v3/opencensus.upb_minitable.c +81 -0
  316. data/src/core/ext/upb-gen/envoy/config/trace/v3/opencensus.upb_minitable.h +30 -0
  317. data/src/core/ext/upb-gen/envoy/config/trace/v3/opentelemetry.upb.h +237 -0
  318. data/src/core/ext/upb-gen/envoy/config/trace/v3/opentelemetry.upb_minitable.c +65 -0
  319. data/src/core/ext/upb-gen/envoy/config/trace/v3/opentelemetry.upb_minitable.h +30 -0
  320. data/src/core/ext/upb-gen/envoy/config/trace/v3/service.upb.h +102 -0
  321. data/src/core/ext/upb-gen/envoy/config/trace/v3/service.upb_minitable.c +51 -0
  322. data/src/core/ext/upb-gen/envoy/config/trace/v3/service.upb_minitable.h +30 -0
  323. data/src/core/ext/upb-gen/envoy/config/trace/v3/skywalking.upb.h +254 -0
  324. data/src/core/ext/upb-gen/envoy/config/trace/v3/skywalking.upb_minitable.c +85 -0
  325. data/src/core/ext/upb-gen/envoy/config/trace/v3/skywalking.upb_minitable.h +31 -0
  326. data/src/core/ext/upb-gen/envoy/config/trace/v3/trace.upb.h +49 -0
  327. data/src/core/ext/upb-gen/envoy/config/trace/v3/trace.upb_minitable.c +33 -0
  328. data/src/core/ext/upb-gen/envoy/config/trace/v3/trace.upb_minitable.h +39 -0
  329. data/src/core/ext/upb-gen/envoy/config/trace/v3/xray.upb.h +256 -0
  330. data/src/core/ext/upb-gen/envoy/config/trace/v3/xray.upb_minitable.c +87 -0
  331. data/src/core/ext/upb-gen/envoy/config/trace/v3/xray.upb_minitable.h +31 -0
  332. data/src/core/ext/upb-gen/envoy/config/trace/v3/zipkin.upb.h +201 -0
  333. data/src/core/ext/upb-gen/envoy/config/trace/v3/zipkin.upb_minitable.c +65 -0
  334. data/src/core/ext/upb-gen/envoy/config/trace/v3/zipkin.upb_minitable.h +30 -0
  335. data/src/core/ext/upb-gen/envoy/data/accesslog/v3/accesslog.upb.h +2709 -0
  336. data/src/core/ext/upb-gen/envoy/data/accesslog/v3/accesslog.upb_minitable.c +556 -0
  337. data/src/core/ext/upb-gen/envoy/data/accesslog/v3/accesslog.upb_minitable.h +45 -0
  338. data/src/core/ext/upb-gen/envoy/extensions/clusters/aggregate/v3/cluster.upb.h +134 -0
  339. data/src/core/ext/upb-gen/envoy/extensions/clusters/aggregate/v3/cluster.upb_minitable.c +46 -0
  340. data/src/core/ext/upb-gen/envoy/extensions/clusters/aggregate/v3/cluster.upb_minitable.h +30 -0
  341. data/src/core/ext/upb-gen/envoy/extensions/filters/common/fault/v3/fault.upb.h +428 -0
  342. data/src/core/ext/upb-gen/envoy/extensions/filters/common/fault/v3/fault.upb_minitable.c +116 -0
  343. data/src/core/ext/upb-gen/envoy/extensions/filters/common/fault/v3/fault.upb_minitable.h +34 -0
  344. data/src/core/ext/upb-gen/envoy/extensions/filters/http/fault/v3/fault.upb.h +656 -0
  345. data/src/core/ext/upb-gen/envoy/extensions/filters/http/fault/v3/fault.upb_minitable.c +141 -0
  346. data/src/core/ext/upb-gen/envoy/extensions/filters/http/fault/v3/fault.upb_minitable.h +32 -0
  347. data/src/core/ext/upb-gen/envoy/extensions/filters/http/rbac/v3/rbac.upb.h +266 -0
  348. data/src/core/ext/upb-gen/envoy/extensions/filters/http/rbac/v3/rbac.upb_minitable.c +87 -0
  349. data/src/core/ext/upb-gen/envoy/extensions/filters/http/rbac/v3/rbac.upb_minitable.h +31 -0
  350. data/src/core/ext/upb-gen/envoy/extensions/filters/http/router/v3/router.upb.h +463 -0
  351. data/src/core/ext/upb-gen/envoy/extensions/filters/http/router/v3/router.upb_minitable.c +102 -0
  352. data/src/core/ext/upb-gen/envoy/extensions/filters/http/router/v3/router.upb_minitable.h +31 -0
  353. data/src/core/ext/upb-gen/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upb.h +209 -0
  354. data/src/core/ext/upb-gen/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upb_minitable.c +75 -0
  355. data/src/core/ext/upb-gen/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upb_minitable.h +31 -0
  356. data/src/core/ext/upb-gen/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upb.h +3985 -0
  357. data/src/core/ext/upb-gen/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upb_minitable.c +682 -0
  358. data/src/core/ext/upb-gen/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upb_minitable.h +50 -0
  359. data/src/core/ext/upb-gen/envoy/extensions/http/stateful_session/cookie/v3/cookie.upb.h +101 -0
  360. data/src/core/ext/upb-gen/envoy/extensions/http/stateful_session/cookie/v3/cookie.upb_minitable.c +50 -0
  361. data/src/core/ext/upb-gen/envoy/extensions/http/stateful_session/cookie/v3/cookie.upb_minitable.h +30 -0
  362. data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/client_side_weighted_round_robin/v3/client_side_weighted_round_robin.upb.h +239 -0
  363. data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/client_side_weighted_round_robin/v3/client_side_weighted_round_robin.upb_minitable.c +67 -0
  364. data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/client_side_weighted_round_robin/v3/client_side_weighted_round_robin.upb_minitable.h +30 -0
  365. data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/common/v3/common.upb.h +488 -0
  366. data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/common/v3/common.upb_minitable.c +135 -0
  367. data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/common/v3/common.upb_minitable.h +34 -0
  368. data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/pick_first/v3/pick_first.upb.h +86 -0
  369. data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/pick_first/v3/pick_first.upb_minitable.c +44 -0
  370. data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/pick_first/v3/pick_first.upb_minitable.h +30 -0
  371. data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/ring_hash/v3/ring_hash.upb.h +250 -0
  372. data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/ring_hash/v3/ring_hash.upb_minitable.c +68 -0
  373. data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/ring_hash/v3/ring_hash.upb_minitable.h +30 -0
  374. data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/wrr_locality/v3/wrr_locality.upb.h +101 -0
  375. data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/wrr_locality/v3/wrr_locality.upb_minitable.c +50 -0
  376. data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/wrr_locality/v3/wrr_locality.upb_minitable.h +30 -0
  377. data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/cert.upb.h +39 -0
  378. data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/cert.upb_minitable.c +28 -0
  379. data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/cert.upb_minitable.h +34 -0
  380. data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/common.upb.h +1484 -0
  381. data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/common.upb_minitable.c +267 -0
  382. data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/common.upb_minitable.h +36 -0
  383. data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/secret.upb.h +361 -0
  384. data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/secret.upb_minitable.c +108 -0
  385. data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/secret.upb_minitable.h +32 -0
  386. data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/tls.upb.h +1509 -0
  387. data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/tls.upb_minitable.c +270 -0
  388. data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/tls.upb_minitable.h +36 -0
  389. data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upb.h +217 -0
  390. data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upb_minitable.c +72 -0
  391. data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upb_minitable.h +31 -0
  392. data/src/core/ext/upb-gen/envoy/extensions/upstreams/http/v3/http_protocol_options.upb.h +712 -0
  393. data/src/core/ext/upb-gen/envoy/extensions/upstreams/http/v3/http_protocol_options.upb_minitable.c +151 -0
  394. data/src/core/ext/upb-gen/envoy/extensions/upstreams/http/v3/http_protocol_options.upb_minitable.h +33 -0
  395. data/src/core/ext/upb-gen/envoy/service/discovery/v3/ads.upb.h +73 -0
  396. data/src/core/ext/upb-gen/envoy/service/discovery/v3/ads.upb_minitable.c +38 -0
  397. data/src/core/ext/upb-gen/envoy/service/discovery/v3/ads.upb_minitable.h +30 -0
  398. data/src/core/ext/upb-gen/envoy/service/discovery/v3/discovery.upb.h +2141 -0
  399. data/src/core/ext/upb-gen/envoy/service/discovery/v3/discovery.upb_minitable.c +402 -0
  400. data/src/core/ext/upb-gen/envoy/service/discovery/v3/discovery.upb_minitable.h +43 -0
  401. data/src/core/ext/upb-gen/envoy/service/load_stats/v3/lrs.upb.h +324 -0
  402. data/src/core/ext/upb-gen/envoy/service/load_stats/v3/lrs.upb_minitable.c +84 -0
  403. data/src/core/ext/upb-gen/envoy/service/load_stats/v3/lrs.upb_minitable.h +31 -0
  404. data/src/core/ext/upb-gen/envoy/service/status/v3/csds.upb.h +940 -0
  405. data/src/core/ext/upb-gen/envoy/service/status/v3/csds.upb_minitable.c +188 -0
  406. data/src/core/ext/upb-gen/envoy/service/status/v3/csds.upb_minitable.h +34 -0
  407. data/src/core/ext/upb-gen/envoy/type/http/v3/cookie.upb.h +131 -0
  408. data/src/core/ext/upb-gen/envoy/type/http/v3/cookie.upb_minitable.c +54 -0
  409. data/src/core/ext/upb-gen/envoy/type/http/v3/cookie.upb_minitable.h +30 -0
  410. data/src/core/ext/upb-gen/envoy/type/http/v3/path_transformation.upb.h +312 -0
  411. data/src/core/ext/upb-gen/envoy/type/http/v3/path_transformation.upb_minitable.c +86 -0
  412. data/src/core/ext/upb-gen/envoy/type/http/v3/path_transformation.upb_minitable.h +33 -0
  413. data/src/core/ext/upb-gen/envoy/type/matcher/v3/filter_state.upb.h +124 -0
  414. data/src/core/ext/upb-gen/envoy/type/matcher/v3/filter_state.upb_minitable.c +53 -0
  415. data/src/core/ext/upb-gen/envoy/type/matcher/v3/filter_state.upb_minitable.h +30 -0
  416. data/src/core/ext/upb-gen/envoy/type/matcher/v3/http_inputs.upb.h +299 -0
  417. data/src/core/ext/upb-gen/envoy/type/matcher/v3/http_inputs.upb_minitable.c +105 -0
  418. data/src/core/ext/upb-gen/envoy/type/matcher/v3/http_inputs.upb_minitable.h +34 -0
  419. data/src/core/ext/upb-gen/envoy/type/matcher/v3/metadata.upb.h +260 -0
  420. data/src/core/ext/upb-gen/envoy/type/matcher/v3/metadata.upb_minitable.c +76 -0
  421. data/src/core/ext/upb-gen/envoy/type/matcher/v3/metadata.upb_minitable.h +31 -0
  422. data/src/core/ext/upb-gen/envoy/type/matcher/v3/node.upb.h +166 -0
  423. data/src/core/ext/upb-gen/envoy/type/matcher/v3/node.upb_minitable.c +55 -0
  424. data/src/core/ext/upb-gen/envoy/type/matcher/v3/node.upb_minitable.h +30 -0
  425. data/src/core/ext/upb-gen/envoy/type/matcher/v3/number.upb.h +130 -0
  426. data/src/core/ext/upb-gen/envoy/type/matcher/v3/number.upb_minitable.c +54 -0
  427. data/src/core/ext/upb-gen/envoy/type/matcher/v3/number.upb_minitable.h +30 -0
  428. data/src/core/ext/upb-gen/envoy/type/matcher/v3/path.upb.h +110 -0
  429. data/src/core/ext/upb-gen/envoy/type/matcher/v3/path.upb_minitable.c +51 -0
  430. data/src/core/ext/upb-gen/envoy/type/matcher/v3/path.upb_minitable.h +30 -0
  431. data/src/core/ext/upb-gen/envoy/type/matcher/v3/regex.upb.h +271 -0
  432. data/src/core/ext/upb-gen/envoy/type/matcher/v3/regex.upb_minitable.c +96 -0
  433. data/src/core/ext/upb-gen/envoy/type/matcher/v3/regex.upb_minitable.h +32 -0
  434. data/src/core/ext/upb-gen/envoy/type/matcher/v3/status_code_input.upb.h +109 -0
  435. data/src/core/ext/upb-gen/envoy/type/matcher/v3/status_code_input.upb_minitable.c +43 -0
  436. data/src/core/ext/upb-gen/envoy/type/matcher/v3/status_code_input.upb_minitable.h +31 -0
  437. data/src/core/ext/upb-gen/envoy/type/matcher/v3/string.upb.h +306 -0
  438. data/src/core/ext/upb-gen/envoy/type/matcher/v3/string.upb_minitable.c +81 -0
  439. data/src/core/ext/upb-gen/envoy/type/matcher/v3/string.upb_minitable.h +31 -0
  440. data/src/core/ext/upb-gen/envoy/type/matcher/v3/struct.upb.h +230 -0
  441. data/src/core/ext/upb-gen/envoy/type/matcher/v3/struct.upb_minitable.c +70 -0
  442. data/src/core/ext/upb-gen/envoy/type/matcher/v3/struct.upb_minitable.h +31 -0
  443. data/src/core/ext/upb-gen/envoy/type/matcher/v3/value.upb.h +476 -0
  444. data/src/core/ext/upb-gen/envoy/type/matcher/v3/value.upb_minitable.c +113 -0
  445. data/src/core/ext/upb-gen/envoy/type/matcher/v3/value.upb_minitable.h +33 -0
  446. data/src/core/ext/upb-gen/envoy/type/metadata/v3/metadata.upb.h +525 -0
  447. data/src/core/ext/upb-gen/envoy/type/metadata/v3/metadata.upb_minitable.c +127 -0
  448. data/src/core/ext/upb-gen/envoy/type/metadata/v3/metadata.upb_minitable.h +36 -0
  449. data/src/core/ext/upb-gen/envoy/type/tracing/v3/custom_tag.upb.h +506 -0
  450. data/src/core/ext/upb-gen/envoy/type/tracing/v3/custom_tag.upb_minitable.c +139 -0
  451. data/src/core/ext/upb-gen/envoy/type/tracing/v3/custom_tag.upb_minitable.h +34 -0
  452. data/src/core/ext/upb-gen/envoy/type/v3/hash_policy.upb.h +227 -0
  453. data/src/core/ext/upb-gen/envoy/type/v3/hash_policy.upb_minitable.c +76 -0
  454. data/src/core/ext/upb-gen/envoy/type/v3/hash_policy.upb_minitable.h +32 -0
  455. data/src/core/ext/upb-gen/envoy/type/v3/http.upb.h +38 -0
  456. data/src/core/ext/upb-gen/envoy/type/v3/http.upb_minitable.c +26 -0
  457. data/src/core/ext/upb-gen/envoy/type/v3/http.upb_minitable.h +29 -0
  458. data/src/core/ext/upb-gen/envoy/type/v3/http_status.upb.h +148 -0
  459. data/src/core/ext/upb-gen/envoy/type/v3/http_status.upb_minitable.c +46 -0
  460. data/src/core/ext/upb-gen/envoy/type/v3/http_status.upb_minitable.h +30 -0
  461. data/src/core/ext/upb-gen/envoy/type/v3/percent.upb.h +162 -0
  462. data/src/core/ext/upb-gen/envoy/type/v3/percent.upb_minitable.c +64 -0
  463. data/src/core/ext/upb-gen/envoy/type/v3/percent.upb_minitable.h +31 -0
  464. data/src/core/ext/upb-gen/envoy/type/v3/range.upb.h +238 -0
  465. data/src/core/ext/upb-gen/envoy/type/v3/range.upb_minitable.c +84 -0
  466. data/src/core/ext/upb-gen/envoy/type/v3/range.upb_minitable.h +32 -0
  467. data/src/core/ext/upb-gen/envoy/type/v3/ratelimit_strategy.upb.h +232 -0
  468. data/src/core/ext/upb-gen/envoy/type/v3/ratelimit_strategy.upb_minitable.c +75 -0
  469. data/src/core/ext/upb-gen/envoy/type/v3/ratelimit_strategy.upb_minitable.h +31 -0
  470. data/src/core/ext/upb-gen/envoy/type/v3/ratelimit_unit.upb.h +42 -0
  471. data/src/core/ext/upb-gen/envoy/type/v3/ratelimit_unit.upb_minitable.c +26 -0
  472. data/src/core/ext/upb-gen/envoy/type/v3/ratelimit_unit.upb_minitable.h +29 -0
  473. data/src/core/ext/upb-gen/envoy/type/v3/semantic_version.upb.h +117 -0
  474. data/src/core/ext/upb-gen/envoy/type/v3/semantic_version.upb_minitable.c +49 -0
  475. data/src/core/ext/upb-gen/envoy/type/v3/semantic_version.upb_minitable.h +30 -0
  476. data/src/core/ext/upb-gen/envoy/type/v3/token_bucket.upb.h +146 -0
  477. data/src/core/ext/upb-gen/envoy/type/v3/token_bucket.upb_minitable.c +57 -0
  478. data/src/core/ext/upb-gen/envoy/type/v3/token_bucket.upb_minitable.h +30 -0
  479. data/src/core/ext/upb-gen/google/api/annotations.upb.h +56 -0
  480. data/src/core/ext/upb-gen/google/api/annotations.upb_minitable.c +38 -0
  481. data/src/core/ext/upb-gen/google/api/annotations.upb_minitable.h +30 -0
  482. data/src/core/ext/upb-gen/google/api/expr/v1alpha1/checked.upb.h +1743 -0
  483. data/src/core/ext/upb-gen/google/api/expr/v1alpha1/checked.upb_minitable.c +369 -0
  484. data/src/core/ext/upb-gen/google/api/expr/v1alpha1/checked.upb_minitable.h +42 -0
  485. data/src/core/ext/upb-gen/google/api/expr/v1alpha1/syntax.upb.h +1829 -0
  486. data/src/core/ext/upb-gen/google/api/expr/v1alpha1/syntax.upb_minitable.c +399 -0
  487. data/src/core/ext/upb-gen/google/api/expr/v1alpha1/syntax.upb_minitable.h +43 -0
  488. data/src/core/ext/upb-gen/google/api/http.upb.h +496 -0
  489. data/src/core/ext/upb-gen/google/api/http.upb_minitable.c +111 -0
  490. data/src/core/ext/upb-gen/google/api/http.upb_minitable.h +32 -0
  491. data/src/core/ext/upb-gen/google/api/httpbody.upb.h +165 -0
  492. data/src/core/ext/upb-gen/google/api/httpbody.upb_minitable.c +52 -0
  493. data/src/core/ext/upb-gen/google/api/httpbody.upb_minitable.h +30 -0
  494. data/src/core/ext/upb-gen/google/protobuf/any.upb.h +99 -0
  495. data/src/core/ext/upb-gen/google/protobuf/any.upb_minitable.c +46 -0
  496. data/src/core/ext/upb-gen/google/protobuf/any.upb_minitable.h +30 -0
  497. data/src/core/ext/upb-gen/google/protobuf/descriptor.upb.h +6397 -0
  498. data/src/core/ext/upb-gen/google/protobuf/descriptor.upb_minitable.c +1357 -0
  499. data/src/core/ext/upb-gen/google/protobuf/descriptor.upb_minitable.h +78 -0
  500. data/src/core/ext/upb-gen/google/protobuf/duration.upb.h +99 -0
  501. data/src/core/ext/upb-gen/google/protobuf/duration.upb_minitable.c +46 -0
  502. data/src/core/ext/upb-gen/google/protobuf/duration.upb_minitable.h +30 -0
  503. data/src/core/ext/upb-gen/google/protobuf/empty.upb.h +69 -0
  504. data/src/core/ext/upb-gen/google/protobuf/empty.upb_minitable.c +35 -0
  505. data/src/core/ext/upb-gen/google/protobuf/empty.upb_minitable.h +30 -0
  506. data/src/core/ext/upb-gen/google/protobuf/struct.upb.h +422 -0
  507. data/src/core/ext/upb-gen/google/protobuf/struct.upb_minitable.c +115 -0
  508. data/src/core/ext/upb-gen/google/protobuf/struct.upb_minitable.h +33 -0
  509. data/src/core/ext/upb-gen/google/protobuf/timestamp.upb.h +99 -0
  510. data/src/core/ext/upb-gen/google/protobuf/timestamp.upb_minitable.c +46 -0
  511. data/src/core/ext/upb-gen/google/protobuf/timestamp.upb_minitable.h +30 -0
  512. data/src/core/ext/upb-gen/google/protobuf/wrappers.upb.h +508 -0
  513. data/src/core/ext/upb-gen/google/protobuf/wrappers.upb_minitable.c +163 -0
  514. data/src/core/ext/upb-gen/google/protobuf/wrappers.upb_minitable.h +38 -0
  515. data/src/core/ext/upb-gen/google/rpc/status.upb.h +165 -0
  516. data/src/core/ext/upb-gen/google/rpc/status.upb_minitable.c +52 -0
  517. data/src/core/ext/upb-gen/google/rpc/status.upb_minitable.h +30 -0
  518. data/src/core/ext/upb-gen/opencensus/proto/trace/v1/trace_config.upb.h +385 -0
  519. data/src/core/ext/upb-gen/opencensus/proto/trace/v1/trace_config.upb_minitable.c +106 -0
  520. data/src/core/ext/upb-gen/opencensus/proto/trace/v1/trace_config.upb_minitable.h +33 -0
  521. data/src/core/ext/upb-gen/src/proto/grpc/gcp/altscontext.upb.h +237 -0
  522. data/src/core/ext/upb-gen/src/proto/grpc/gcp/altscontext.upb_minitable.c +79 -0
  523. data/src/core/ext/upb-gen/src/proto/grpc/gcp/altscontext.upb_minitable.h +31 -0
  524. data/src/core/ext/upb-gen/src/proto/grpc/gcp/handshaker.upb.h +1658 -0
  525. data/src/core/ext/upb-gen/src/proto/grpc/gcp/handshaker.upb_minitable.c +342 -0
  526. data/src/core/ext/upb-gen/src/proto/grpc/gcp/handshaker.upb_minitable.h +41 -0
  527. data/src/core/ext/upb-gen/src/proto/grpc/gcp/transport_security_common.upb.h +197 -0
  528. data/src/core/ext/upb-gen/src/proto/grpc/gcp/transport_security_common.upb_minitable.c +69 -0
  529. data/src/core/ext/upb-gen/src/proto/grpc/gcp/transport_security_common.upb_minitable.h +31 -0
  530. data/src/core/ext/upb-gen/src/proto/grpc/health/v1/health.upb.h +144 -0
  531. data/src/core/ext/upb-gen/src/proto/grpc/health/v1/health.upb_minitable.c +58 -0
  532. data/src/core/ext/upb-gen/src/proto/grpc/health/v1/health.upb_minitable.h +31 -0
  533. data/src/core/ext/upb-gen/src/proto/grpc/lb/v1/load_balancer.upb.h +877 -0
  534. data/src/core/ext/upb-gen/src/proto/grpc/lb/v1/load_balancer.upb_minitable.c +221 -0
  535. data/src/core/ext/upb-gen/src/proto/grpc/lb/v1/load_balancer.upb_minitable.h +38 -0
  536. data/src/core/ext/upb-gen/src/proto/grpc/lookup/v1/rls.upb.h +297 -0
  537. data/src/core/ext/upb-gen/src/proto/grpc/lookup/v1/rls.upb_minitable.c +92 -0
  538. data/src/core/ext/upb-gen/src/proto/grpc/lookup/v1/rls.upb_minitable.h +32 -0
  539. data/src/core/ext/upb-gen/src/proto/grpc/lookup/v1/rls_config.upb.h +1333 -0
  540. data/src/core/ext/upb-gen/src/proto/grpc/lookup/v1/rls_config.upb_minitable.c +243 -0
  541. data/src/core/ext/upb-gen/src/proto/grpc/lookup/v1/rls_config.upb_minitable.h +38 -0
  542. data/src/core/ext/upb-gen/udpa/annotations/migrate.upb.h +322 -0
  543. data/src/core/ext/upb-gen/udpa/annotations/migrate.upb_minitable.c +118 -0
  544. data/src/core/ext/upb-gen/udpa/annotations/migrate.upb_minitable.h +37 -0
  545. data/src/core/ext/upb-gen/udpa/annotations/security.upb.h +125 -0
  546. data/src/core/ext/upb-gen/udpa/annotations/security.upb_minitable.c +59 -0
  547. data/src/core/ext/upb-gen/udpa/annotations/security.upb_minitable.h +31 -0
  548. data/src/core/ext/upb-gen/udpa/annotations/sensitive.upb.h +55 -0
  549. data/src/core/ext/upb-gen/udpa/annotations/sensitive.upb_minitable.c +37 -0
  550. data/src/core/ext/upb-gen/udpa/annotations/sensitive.upb_minitable.h +30 -0
  551. data/src/core/ext/upb-gen/udpa/annotations/status.upb.h +131 -0
  552. data/src/core/ext/upb-gen/udpa/annotations/status.upb_minitable.c +58 -0
  553. data/src/core/ext/upb-gen/udpa/annotations/status.upb_minitable.h +31 -0
  554. data/src/core/ext/upb-gen/udpa/annotations/versioning.upb.h +109 -0
  555. data/src/core/ext/upb-gen/udpa/annotations/versioning.upb_minitable.c +55 -0
  556. data/src/core/ext/upb-gen/udpa/annotations/versioning.upb_minitable.h +31 -0
  557. data/src/core/ext/upb-gen/validate/validate.upb.h +6507 -0
  558. data/src/core/ext/upb-gen/validate/validate.upb_minitable.c +943 -0
  559. data/src/core/ext/upb-gen/validate/validate.upb_minitable.h +57 -0
  560. data/src/core/ext/upb-gen/xds/annotations/v3/migrate.upb.h +322 -0
  561. data/src/core/ext/upb-gen/xds/annotations/v3/migrate.upb_minitable.c +118 -0
  562. data/src/core/ext/upb-gen/xds/annotations/v3/migrate.upb_minitable.h +37 -0
  563. data/src/core/ext/upb-gen/xds/annotations/v3/security.upb.h +125 -0
  564. data/src/core/ext/upb-gen/xds/annotations/v3/security.upb_minitable.c +59 -0
  565. data/src/core/ext/upb-gen/xds/annotations/v3/security.upb_minitable.h +31 -0
  566. data/src/core/ext/upb-gen/xds/annotations/v3/sensitive.upb.h +55 -0
  567. data/src/core/ext/upb-gen/xds/annotations/v3/sensitive.upb_minitable.c +37 -0
  568. data/src/core/ext/upb-gen/xds/annotations/v3/sensitive.upb_minitable.h +30 -0
  569. data/src/core/ext/upb-gen/xds/annotations/v3/status.upb.h +336 -0
  570. data/src/core/ext/upb-gen/xds/annotations/v3/status.upb_minitable.c +117 -0
  571. data/src/core/ext/upb-gen/xds/annotations/v3/status.upb_minitable.h +36 -0
  572. data/src/core/ext/upb-gen/xds/annotations/v3/versioning.upb.h +109 -0
  573. data/src/core/ext/upb-gen/xds/annotations/v3/versioning.upb_minitable.c +55 -0
  574. data/src/core/ext/upb-gen/xds/annotations/v3/versioning.upb_minitable.h +31 -0
  575. data/src/core/ext/upb-gen/xds/core/v3/authority.upb.h +87 -0
  576. data/src/core/ext/upb-gen/xds/core/v3/authority.upb_minitable.c +45 -0
  577. data/src/core/ext/upb-gen/xds/core/v3/authority.upb_minitable.h +30 -0
  578. data/src/core/ext/upb-gen/xds/core/v3/cidr.upb.h +116 -0
  579. data/src/core/ext/upb-gen/xds/core/v3/cidr.upb_minitable.c +53 -0
  580. data/src/core/ext/upb-gen/xds/core/v3/cidr.upb_minitable.h +30 -0
  581. data/src/core/ext/upb-gen/xds/core/v3/collection_entry.upb.h +234 -0
  582. data/src/core/ext/upb-gen/xds/core/v3/collection_entry.upb_minitable.c +78 -0
  583. data/src/core/ext/upb-gen/xds/core/v3/collection_entry.upb_minitable.h +31 -0
  584. data/src/core/ext/upb-gen/xds/core/v3/context_params.upb.h +134 -0
  585. data/src/core/ext/upb-gen/xds/core/v3/context_params.upb_minitable.c +62 -0
  586. data/src/core/ext/upb-gen/xds/core/v3/context_params.upb_minitable.h +31 -0
  587. data/src/core/ext/upb-gen/xds/core/v3/extension.upb.h +115 -0
  588. data/src/core/ext/upb-gen/xds/core/v3/extension.upb_minitable.c +52 -0
  589. data/src/core/ext/upb-gen/xds/core/v3/extension.upb_minitable.h +30 -0
  590. data/src/core/ext/upb-gen/xds/core/v3/resource.upb.h +144 -0
  591. data/src/core/ext/upb-gen/xds/core/v3/resource.upb_minitable.c +55 -0
  592. data/src/core/ext/upb-gen/xds/core/v3/resource.upb_minitable.h +30 -0
  593. data/src/core/ext/upb-gen/xds/core/v3/resource_locator.upb.h +331 -0
  594. data/src/core/ext/upb-gen/xds/core/v3/resource_locator.upb_minitable.c +84 -0
  595. data/src/core/ext/upb-gen/xds/core/v3/resource_locator.upb_minitable.h +31 -0
  596. data/src/core/ext/upb-gen/xds/core/v3/resource_name.upb.h +146 -0
  597. data/src/core/ext/upb-gen/xds/core/v3/resource_name.upb_minitable.c +59 -0
  598. data/src/core/ext/upb-gen/xds/core/v3/resource_name.upb_minitable.h +30 -0
  599. data/src/core/ext/upb-gen/xds/data/orca/v3/orca_load_report.upb.h +350 -0
  600. data/src/core/ext/upb-gen/xds/data/orca/v3/orca_load_report.upb_minitable.c +126 -0
  601. data/src/core/ext/upb-gen/xds/data/orca/v3/orca_load_report.upb_minitable.h +33 -0
  602. data/src/core/ext/upb-gen/xds/service/orca/v3/orca.upb.h +161 -0
  603. data/src/core/ext/upb-gen/xds/service/orca/v3/orca.upb_minitable.c +52 -0
  604. data/src/core/ext/upb-gen/xds/service/orca/v3/orca.upb_minitable.h +30 -0
  605. data/src/core/ext/upb-gen/xds/type/matcher/v3/cel.upb.h +116 -0
  606. data/src/core/ext/upb-gen/xds/type/matcher/v3/cel.upb_minitable.c +53 -0
  607. data/src/core/ext/upb-gen/xds/type/matcher/v3/cel.upb_minitable.h +30 -0
  608. data/src/core/ext/upb-gen/xds/type/matcher/v3/domain.upb.h +263 -0
  609. data/src/core/ext/upb-gen/xds/type/matcher/v3/domain.upb_minitable.c +72 -0
  610. data/src/core/ext/upb-gen/xds/type/matcher/v3/domain.upb_minitable.h +31 -0
  611. data/src/core/ext/upb-gen/xds/type/matcher/v3/http_inputs.upb.h +71 -0
  612. data/src/core/ext/upb-gen/xds/type/matcher/v3/http_inputs.upb_minitable.c +36 -0
  613. data/src/core/ext/upb-gen/xds/type/matcher/v3/http_inputs.upb_minitable.h +30 -0
  614. data/src/core/ext/upb-gen/xds/type/matcher/v3/ip.upb.h +282 -0
  615. data/src/core/ext/upb-gen/xds/type/matcher/v3/ip.upb_minitable.c +75 -0
  616. data/src/core/ext/upb-gen/xds/type/matcher/v3/ip.upb_minitable.h +31 -0
  617. data/src/core/ext/upb-gen/xds/type/matcher/v3/matcher.upb.h +1107 -0
  618. data/src/core/ext/upb-gen/xds/type/matcher/v3/matcher.upb_minitable.c +265 -0
  619. data/src/core/ext/upb-gen/xds/type/matcher/v3/matcher.upb_minitable.h +39 -0
  620. data/src/core/ext/upb-gen/xds/type/matcher/v3/range.upb.h +726 -0
  621. data/src/core/ext/upb-gen/xds/type/matcher/v3/range.upb_minitable.c +157 -0
  622. data/src/core/ext/upb-gen/xds/type/matcher/v3/range.upb_minitable.h +35 -0
  623. data/src/core/ext/upb-gen/xds/type/matcher/v3/regex.upb.h +159 -0
  624. data/src/core/ext/upb-gen/xds/type/matcher/v3/regex.upb_minitable.c +58 -0
  625. data/src/core/ext/upb-gen/xds/type/matcher/v3/regex.upb_minitable.h +31 -0
  626. data/src/core/ext/upb-gen/xds/type/matcher/v3/string.upb.h +304 -0
  627. data/src/core/ext/upb-gen/xds/type/matcher/v3/string.upb_minitable.c +79 -0
  628. data/src/core/ext/upb-gen/xds/type/matcher/v3/string.upb_minitable.h +31 -0
  629. data/src/core/ext/upb-gen/xds/type/v3/cel.upb.h +233 -0
  630. data/src/core/ext/upb-gen/xds/type/v3/cel.upb_minitable.c +79 -0
  631. data/src/core/ext/upb-gen/xds/type/v3/cel.upb_minitable.h +31 -0
  632. data/src/core/ext/upb-gen/xds/type/v3/range.upb.h +235 -0
  633. data/src/core/ext/upb-gen/xds/type/v3/range.upb_minitable.c +82 -0
  634. data/src/core/ext/upb-gen/xds/type/v3/range.upb_minitable.h +32 -0
  635. data/src/core/ext/upb-gen/xds/type/v3/typed_struct.upb.h +114 -0
  636. data/src/core/ext/upb-gen/xds/type/v3/typed_struct.upb_minitable.c +51 -0
  637. data/src/core/ext/upb-gen/xds/type/v3/typed_struct.upb_minitable.h +30 -0
  638. data/src/core/ext/upbdefs-gen/envoy/admin/v3/certs.upbdefs.c +83 -0
  639. data/src/core/ext/upbdefs-gen/envoy/admin/v3/certs.upbdefs.h +55 -0
  640. data/src/core/ext/upbdefs-gen/envoy/admin/v3/clusters.upbdefs.c +127 -0
  641. data/src/core/ext/upbdefs-gen/envoy/admin/v3/clusters.upbdefs.h +50 -0
  642. data/src/core/ext/upbdefs-gen/envoy/admin/v3/config_dump.upbdefs.c +101 -0
  643. data/src/core/ext/upbdefs-gen/envoy/admin/v3/config_dump.upbdefs.h +55 -0
  644. data/src/core/ext/upbdefs-gen/envoy/admin/v3/config_dump_shared.upbdefs.c +276 -0
  645. data/src/core/ext/upbdefs-gen/envoy/admin/v3/config_dump_shared.upbdefs.h +125 -0
  646. data/src/core/ext/upbdefs-gen/envoy/admin/v3/init_dump.upbdefs.c +42 -0
  647. data/src/core/ext/upbdefs-gen/envoy/admin/v3/init_dump.upbdefs.h +40 -0
  648. data/src/core/ext/upbdefs-gen/envoy/admin/v3/listeners.upbdefs.c +55 -0
  649. data/src/core/ext/upbdefs-gen/envoy/admin/v3/listeners.upbdefs.h +40 -0
  650. data/src/core/ext/upbdefs-gen/envoy/admin/v3/memory.upbdefs.c +48 -0
  651. data/src/core/ext/upbdefs-gen/envoy/admin/v3/memory.upbdefs.h +35 -0
  652. data/src/core/ext/upbdefs-gen/envoy/admin/v3/metrics.upbdefs.c +45 -0
  653. data/src/core/ext/upbdefs-gen/envoy/admin/v3/metrics.upbdefs.h +35 -0
  654. data/src/core/ext/upbdefs-gen/envoy/admin/v3/mutex_stats.upbdefs.c +45 -0
  655. data/src/core/ext/upbdefs-gen/envoy/admin/v3/mutex_stats.upbdefs.h +35 -0
  656. data/src/core/ext/upbdefs-gen/envoy/admin/v3/server_info.upbdefs.c +141 -0
  657. data/src/core/ext/upbdefs-gen/envoy/admin/v3/server_info.upbdefs.h +40 -0
  658. data/src/core/ext/upbdefs-gen/envoy/admin/v3/tap.upbdefs.c +50 -0
  659. data/src/core/ext/upbdefs-gen/envoy/admin/v3/tap.upbdefs.h +35 -0
  660. data/src/core/ext/upbdefs-gen/envoy/annotations/deprecation.upbdefs.c +47 -0
  661. data/src/core/ext/upbdefs-gen/envoy/annotations/deprecation.upbdefs.h +30 -0
  662. data/src/core/ext/upbdefs-gen/envoy/annotations/resource.upbdefs.c +37 -0
  663. data/src/core/ext/upbdefs-gen/envoy/annotations/resource.upbdefs.h +35 -0
  664. data/src/core/ext/upbdefs-gen/envoy/config/accesslog/v3/accesslog.upbdefs.c +233 -0
  665. data/src/core/ext/upbdefs-gen/envoy/config/accesslog/v3/accesslog.upbdefs.h +110 -0
  666. data/src/core/ext/upbdefs-gen/envoy/config/bootstrap/v3/bootstrap.upbdefs.c +444 -0
  667. data/src/core/ext/upbdefs-gen/envoy/config/bootstrap/v3/bootstrap.upbdefs.h +140 -0
  668. data/src/core/ext/upbdefs-gen/envoy/config/cluster/v3/circuit_breaker.upbdefs.c +97 -0
  669. data/src/core/ext/upbdefs-gen/envoy/config/cluster/v3/circuit_breaker.upbdefs.h +45 -0
  670. data/src/core/ext/upbdefs-gen/envoy/config/cluster/v3/cluster.upbdefs.c +574 -0
  671. data/src/core/ext/upbdefs-gen/envoy/config/cluster/v3/cluster.upbdefs.h +150 -0
  672. data/src/core/ext/upbdefs-gen/envoy/config/cluster/v3/filter.upbdefs.c +57 -0
  673. data/src/core/ext/upbdefs-gen/envoy/config/cluster/v3/filter.upbdefs.h +35 -0
  674. data/src/core/ext/upbdefs-gen/envoy/config/cluster/v3/outlier_detection.upbdefs.c +142 -0
  675. data/src/core/ext/upbdefs-gen/envoy/config/cluster/v3/outlier_detection.upbdefs.h +35 -0
  676. data/src/core/ext/upbdefs-gen/envoy/config/common/matcher/v3/matcher.upbdefs.c +201 -0
  677. data/src/core/ext/upbdefs-gen/envoy/config/common/matcher/v3/matcher.upbdefs.h +105 -0
  678. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/address.upbdefs.c +139 -0
  679. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/address.upbdefs.h +70 -0
  680. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/backoff.upbdefs.c +53 -0
  681. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/backoff.upbdefs.h +35 -0
  682. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/base.upbdefs.c +274 -0
  683. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/base.upbdefs.h +150 -0
  684. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/config_source.upbdefs.c +167 -0
  685. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/config_source.upbdefs.h +65 -0
  686. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/event_service_config.upbdefs.c +52 -0
  687. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/event_service_config.upbdefs.h +35 -0
  688. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/extension.upbdefs.c +46 -0
  689. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/extension.upbdefs.h +35 -0
  690. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/grpc_method_list.upbdefs.c +52 -0
  691. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/grpc_method_list.upbdefs.h +40 -0
  692. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/grpc_service.upbdefs.c +236 -0
  693. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/grpc_service.upbdefs.h +100 -0
  694. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/health_check.upbdefs.c +244 -0
  695. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/health_check.upbdefs.h +75 -0
  696. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/http_service.upbdefs.c +52 -0
  697. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/http_service.upbdefs.h +35 -0
  698. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/http_uri.upbdefs.c +53 -0
  699. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/http_uri.upbdefs.h +35 -0
  700. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/protocol.upbdefs.c +314 -0
  701. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/protocol.upbdefs.h +110 -0
  702. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/proxy_protocol.upbdefs.c +56 -0
  703. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/proxy_protocol.upbdefs.h +40 -0
  704. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/resolver.upbdefs.c +54 -0
  705. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/resolver.upbdefs.h +40 -0
  706. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/socket_option.upbdefs.c +60 -0
  707. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/socket_option.upbdefs.h +40 -0
  708. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/substitution_format_string.upbdefs.c +75 -0
  709. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/substitution_format_string.upbdefs.h +40 -0
  710. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/udp_socket_config.upbdefs.c +48 -0
  711. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/udp_socket_config.upbdefs.h +35 -0
  712. data/src/core/ext/upbdefs-gen/envoy/config/endpoint/v3/endpoint.upbdefs.c +101 -0
  713. data/src/core/ext/upbdefs-gen/envoy/config/endpoint/v3/endpoint.upbdefs.h +50 -0
  714. data/src/core/ext/upbdefs-gen/envoy/config/endpoint/v3/endpoint_components.upbdefs.c +139 -0
  715. data/src/core/ext/upbdefs-gen/envoy/config/endpoint/v3/endpoint_components.upbdefs.h +65 -0
  716. data/src/core/ext/upbdefs-gen/envoy/config/endpoint/v3/load_report.upbdefs.c +135 -0
  717. data/src/core/ext/upbdefs-gen/envoy/config/endpoint/v3/load_report.upbdefs.h +55 -0
  718. data/src/core/ext/upbdefs-gen/envoy/config/listener/v3/api_listener.upbdefs.c +47 -0
  719. data/src/core/ext/upbdefs-gen/envoy/config/listener/v3/api_listener.upbdefs.h +35 -0
  720. data/src/core/ext/upbdefs-gen/envoy/config/listener/v3/listener.upbdefs.c +231 -0
  721. data/src/core/ext/upbdefs-gen/envoy/config/listener/v3/listener.upbdefs.h +80 -0
  722. data/src/core/ext/upbdefs-gen/envoy/config/listener/v3/listener_components.upbdefs.c +189 -0
  723. data/src/core/ext/upbdefs-gen/envoy/config/listener/v3/listener_components.upbdefs.h +65 -0
  724. data/src/core/ext/upbdefs-gen/envoy/config/listener/v3/quic_config.upbdefs.c +100 -0
  725. data/src/core/ext/upbdefs-gen/envoy/config/listener/v3/quic_config.upbdefs.h +35 -0
  726. data/src/core/ext/upbdefs-gen/envoy/config/listener/v3/udp_listener_config.upbdefs.c +70 -0
  727. data/src/core/ext/upbdefs-gen/envoy/config/listener/v3/udp_listener_config.upbdefs.h +40 -0
  728. data/src/core/ext/upbdefs-gen/envoy/config/metrics/v3/metrics_service.upbdefs.c +75 -0
  729. data/src/core/ext/upbdefs-gen/envoy/config/metrics/v3/metrics_service.upbdefs.h +35 -0
  730. data/src/core/ext/upbdefs-gen/envoy/config/metrics/v3/stats.upbdefs.c +124 -0
  731. data/src/core/ext/upbdefs-gen/envoy/config/metrics/v3/stats.upbdefs.h +70 -0
  732. data/src/core/ext/upbdefs-gen/envoy/config/overload/v3/overload.upbdefs.c +141 -0
  733. data/src/core/ext/upbdefs-gen/envoy/config/overload/v3/overload.upbdefs.h +80 -0
  734. data/src/core/ext/upbdefs-gen/envoy/config/rbac/v3/rbac.upbdefs.c +222 -0
  735. data/src/core/ext/upbdefs-gen/envoy/config/rbac/v3/rbac.upbdefs.h +85 -0
  736. data/src/core/ext/upbdefs-gen/envoy/config/route/v3/route.upbdefs.c +125 -0
  737. data/src/core/ext/upbdefs-gen/envoy/config/route/v3/route.upbdefs.h +45 -0
  738. data/src/core/ext/upbdefs-gen/envoy/config/route/v3/route_components.upbdefs.c +984 -0
  739. data/src/core/ext/upbdefs-gen/envoy/config/route/v3/route_components.upbdefs.h +320 -0
  740. data/src/core/ext/upbdefs-gen/envoy/config/route/v3/scoped_route.upbdefs.c +76 -0
  741. data/src/core/ext/upbdefs-gen/envoy/config/route/v3/scoped_route.upbdefs.h +45 -0
  742. data/src/core/ext/upbdefs-gen/envoy/config/tap/v3/common.upbdefs.c +205 -0
  743. data/src/core/ext/upbdefs-gen/envoy/config/tap/v3/common.upbdefs.h +90 -0
  744. data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/datadog.upbdefs.c +55 -0
  745. data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/datadog.upbdefs.h +35 -0
  746. data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/dynamic_ot.upbdefs.c +60 -0
  747. data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/dynamic_ot.upbdefs.h +35 -0
  748. data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/http_tracer.upbdefs.c +56 -0
  749. data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/http_tracer.upbdefs.h +40 -0
  750. data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/lightstep.upbdefs.c +71 -0
  751. data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/lightstep.upbdefs.h +35 -0
  752. data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/opencensus.upbdefs.c +104 -0
  753. data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/opencensus.upbdefs.h +35 -0
  754. data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/opentelemetry.upbdefs.c +66 -0
  755. data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/opentelemetry.upbdefs.h +35 -0
  756. data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/service.upbdefs.c +51 -0
  757. data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/service.upbdefs.h +35 -0
  758. data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/skywalking.upbdefs.c +70 -0
  759. data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/skywalking.upbdefs.h +40 -0
  760. data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/trace.upbdefs.c +60 -0
  761. data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/trace.upbdefs.h +30 -0
  762. data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/xray.upbdefs.c +74 -0
  763. data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/xray.upbdefs.h +40 -0
  764. data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/zipkin.upbdefs.c +78 -0
  765. data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/zipkin.upbdefs.h +35 -0
  766. data/src/core/ext/upbdefs-gen/envoy/data/accesslog/v3/accesslog.upbdefs.c +404 -0
  767. data/src/core/ext/upbdefs-gen/envoy/data/accesslog/v3/accesslog.upbdefs.h +110 -0
  768. data/src/core/ext/upbdefs-gen/envoy/extensions/clusters/aggregate/v3/cluster.upbdefs.c +49 -0
  769. data/src/core/ext/upbdefs-gen/envoy/extensions/clusters/aggregate/v3/cluster.upbdefs.h +35 -0
  770. data/src/core/ext/upbdefs-gen/envoy/extensions/filters/common/fault/v3/fault.upbdefs.c +91 -0
  771. data/src/core/ext/upbdefs-gen/envoy/extensions/filters/common/fault/v3/fault.upbdefs.h +55 -0
  772. data/src/core/ext/upbdefs-gen/envoy/extensions/filters/http/fault/v3/fault.upbdefs.c +122 -0
  773. data/src/core/ext/upbdefs-gen/envoy/extensions/filters/http/fault/v3/fault.upbdefs.h +45 -0
  774. data/src/core/ext/upbdefs-gen/envoy/extensions/filters/http/rbac/v3/rbac.upbdefs.c +79 -0
  775. data/src/core/ext/upbdefs-gen/envoy/extensions/filters/http/rbac/v3/rbac.upbdefs.h +40 -0
  776. data/src/core/ext/upbdefs-gen/envoy/extensions/filters/http/router/v3/router.upbdefs.c +108 -0
  777. data/src/core/ext/upbdefs-gen/envoy/extensions/filters/http/router/v3/router.upbdefs.h +40 -0
  778. data/src/core/ext/upbdefs-gen/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upbdefs.c +60 -0
  779. data/src/core/ext/upbdefs-gen/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upbdefs.h +40 -0
  780. data/src/core/ext/upbdefs-gen/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upbdefs.c +605 -0
  781. data/src/core/ext/upbdefs-gen/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upbdefs.h +135 -0
  782. data/src/core/ext/upbdefs-gen/envoy/extensions/http/stateful_session/cookie/v3/cookie.upbdefs.c +49 -0
  783. data/src/core/ext/upbdefs-gen/envoy/extensions/http/stateful_session/cookie/v3/cookie.upbdefs.h +35 -0
  784. data/src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/cert.upbdefs.c +47 -0
  785. data/src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/cert.upbdefs.h +30 -0
  786. data/src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/common.upbdefs.c +216 -0
  787. data/src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/common.upbdefs.h +65 -0
  788. data/src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/secret.upbdefs.c +90 -0
  789. data/src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/secret.upbdefs.h +45 -0
  790. data/src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/tls.upbdefs.c +263 -0
  791. data/src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/tls.upbdefs.h +65 -0
  792. data/src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upbdefs.c +57 -0
  793. data/src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upbdefs.h +40 -0
  794. data/src/core/ext/upbdefs-gen/envoy/extensions/upstreams/http/v3/http_protocol_options.upbdefs.c +133 -0
  795. data/src/core/ext/upbdefs-gen/envoy/extensions/upstreams/http/v3/http_protocol_options.upbdefs.h +50 -0
  796. data/src/core/ext/upbdefs-gen/envoy/service/discovery/v3/ads.upbdefs.c +57 -0
  797. data/src/core/ext/upbdefs-gen/envoy/service/discovery/v3/ads.upbdefs.h +35 -0
  798. data/src/core/ext/upbdefs-gen/envoy/service/discovery/v3/discovery.upbdefs.c +199 -0
  799. data/src/core/ext/upbdefs-gen/envoy/service/discovery/v3/discovery.upbdefs.h +100 -0
  800. data/src/core/ext/upbdefs-gen/envoy/service/load_stats/v3/lrs.upbdefs.c +75 -0
  801. data/src/core/ext/upbdefs-gen/envoy/service/load_stats/v3/lrs.upbdefs.h +40 -0
  802. data/src/core/ext/upbdefs-gen/envoy/service/status/v3/csds.upbdefs.c +155 -0
  803. data/src/core/ext/upbdefs-gen/envoy/service/status/v3/csds.upbdefs.h +55 -0
  804. data/src/core/ext/upbdefs-gen/envoy/type/http/v3/cookie.upbdefs.c +45 -0
  805. data/src/core/ext/upbdefs-gen/envoy/type/http/v3/cookie.upbdefs.h +35 -0
  806. data/src/core/ext/upbdefs-gen/envoy/type/http/v3/path_transformation.upbdefs.c +55 -0
  807. data/src/core/ext/upbdefs-gen/envoy/type/http/v3/path_transformation.upbdefs.h +50 -0
  808. data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/filter_state.upbdefs.c +47 -0
  809. data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/filter_state.upbdefs.h +35 -0
  810. data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/http_inputs.upbdefs.c +54 -0
  811. data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/http_inputs.upbdefs.h +55 -0
  812. data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/metadata.upbdefs.c +60 -0
  813. data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/metadata.upbdefs.h +40 -0
  814. data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/node.upbdefs.c +53 -0
  815. data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/node.upbdefs.h +35 -0
  816. data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/number.upbdefs.c +51 -0
  817. data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/number.upbdefs.h +35 -0
  818. data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/path.upbdefs.c +50 -0
  819. data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/path.upbdefs.h +35 -0
  820. data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/regex.upbdefs.c +70 -0
  821. data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/regex.upbdefs.h +45 -0
  822. data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/status_code_input.upbdefs.c +39 -0
  823. data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/status_code_input.upbdefs.h +40 -0
  824. data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/string.upbdefs.c +64 -0
  825. data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/string.upbdefs.h +40 -0
  826. data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/struct.upbdefs.c +57 -0
  827. data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/struct.upbdefs.h +40 -0
  828. data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/value.upbdefs.c +81 -0
  829. data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/value.upbdefs.h +50 -0
  830. data/src/core/ext/upbdefs-gen/envoy/type/metadata/v3/metadata.upbdefs.c +77 -0
  831. data/src/core/ext/upbdefs-gen/envoy/type/metadata/v3/metadata.upbdefs.h +65 -0
  832. data/src/core/ext/upbdefs-gen/envoy/type/tracing/v3/custom_tag.upbdefs.c +84 -0
  833. data/src/core/ext/upbdefs-gen/envoy/type/tracing/v3/custom_tag.upbdefs.h +55 -0
  834. data/src/core/ext/upbdefs-gen/envoy/type/v3/hash_policy.upbdefs.c +52 -0
  835. data/src/core/ext/upbdefs-gen/envoy/type/v3/hash_policy.upbdefs.h +45 -0
  836. data/src/core/ext/upbdefs-gen/envoy/type/v3/http.upbdefs.c +35 -0
  837. data/src/core/ext/upbdefs-gen/envoy/type/v3/http.upbdefs.h +30 -0
  838. data/src/core/ext/upbdefs-gen/envoy/type/v3/http_status.upbdefs.c +93 -0
  839. data/src/core/ext/upbdefs-gen/envoy/type/v3/http_status.upbdefs.h +35 -0
  840. data/src/core/ext/upbdefs-gen/envoy/type/v3/percent.upbdefs.c +53 -0
  841. data/src/core/ext/upbdefs-gen/envoy/type/v3/percent.upbdefs.h +40 -0
  842. data/src/core/ext/upbdefs-gen/envoy/type/v3/range.upbdefs.c +47 -0
  843. data/src/core/ext/upbdefs-gen/envoy/type/v3/range.upbdefs.h +45 -0
  844. data/src/core/ext/upbdefs-gen/envoy/type/v3/ratelimit_strategy.upbdefs.c +68 -0
  845. data/src/core/ext/upbdefs-gen/envoy/type/v3/ratelimit_strategy.upbdefs.h +40 -0
  846. data/src/core/ext/upbdefs-gen/envoy/type/v3/ratelimit_unit.upbdefs.c +38 -0
  847. data/src/core/ext/upbdefs-gen/envoy/type/v3/ratelimit_unit.upbdefs.h +30 -0
  848. data/src/core/ext/upbdefs-gen/envoy/type/v3/semantic_version.upbdefs.c +43 -0
  849. data/src/core/ext/upbdefs-gen/envoy/type/v3/semantic_version.upbdefs.h +35 -0
  850. data/src/core/ext/upbdefs-gen/envoy/type/v3/token_bucket.upbdefs.c +56 -0
  851. data/src/core/ext/upbdefs-gen/envoy/type/v3/token_bucket.upbdefs.h +35 -0
  852. data/src/core/ext/upbdefs-gen/google/api/annotations.upbdefs.c +39 -0
  853. data/src/core/ext/upbdefs-gen/google/api/annotations.upbdefs.h +30 -0
  854. data/src/core/ext/upbdefs-gen/google/api/expr/v1alpha1/checked.upbdefs.c +153 -0
  855. data/src/core/ext/upbdefs-gen/google/api/expr/v1alpha1/checked.upbdefs.h +95 -0
  856. data/src/core/ext/upbdefs-gen/google/api/expr/v1alpha1/syntax.upbdefs.c +152 -0
  857. data/src/core/ext/upbdefs-gen/google/api/expr/v1alpha1/syntax.upbdefs.h +100 -0
  858. data/src/core/ext/upbdefs-gen/google/api/http.upbdefs.c +51 -0
  859. data/src/core/ext/upbdefs-gen/google/api/http.upbdefs.h +45 -0
  860. data/src/core/ext/upbdefs-gen/google/api/httpbody.upbdefs.c +38 -0
  861. data/src/core/ext/upbdefs-gen/google/api/httpbody.upbdefs.h +35 -0
  862. data/src/core/ext/upbdefs-gen/google/protobuf/any.upbdefs.c +33 -0
  863. data/src/core/ext/upbdefs-gen/google/protobuf/any.upbdefs.h +35 -0
  864. data/src/core/ext/upbdefs-gen/google/protobuf/descriptor.upbdefs.c +488 -0
  865. data/src/core/ext/upbdefs-gen/google/protobuf/descriptor.upbdefs.h +190 -0
  866. data/src/core/ext/upbdefs-gen/google/protobuf/duration.upbdefs.c +34 -0
  867. data/src/core/ext/upbdefs-gen/google/protobuf/duration.upbdefs.h +35 -0
  868. data/src/core/ext/upbdefs-gen/google/protobuf/empty.upbdefs.c +31 -0
  869. data/src/core/ext/upbdefs-gen/google/protobuf/empty.upbdefs.h +35 -0
  870. data/src/core/ext/upbdefs-gen/google/protobuf/struct.upbdefs.c +53 -0
  871. data/src/core/ext/upbdefs-gen/google/protobuf/struct.upbdefs.h +50 -0
  872. data/src/core/ext/upbdefs-gen/google/protobuf/timestamp.upbdefs.c +34 -0
  873. data/src/core/ext/upbdefs-gen/google/protobuf/timestamp.upbdefs.h +35 -0
  874. data/src/core/ext/upbdefs-gen/google/protobuf/wrappers.upbdefs.c +44 -0
  875. data/src/core/ext/upbdefs-gen/google/protobuf/wrappers.upbdefs.h +75 -0
  876. data/src/core/ext/upbdefs-gen/google/rpc/status.upbdefs.c +36 -0
  877. data/src/core/ext/upbdefs-gen/google/rpc/status.upbdefs.h +35 -0
  878. data/src/core/ext/upbdefs-gen/opencensus/proto/trace/v1/trace_config.upbdefs.c +66 -0
  879. data/src/core/ext/upbdefs-gen/opencensus/proto/trace/v1/trace_config.upbdefs.h +50 -0
  880. data/src/core/ext/upbdefs-gen/src/proto/grpc/lookup/v1/rls_config.upbdefs.c +98 -0
  881. data/src/core/ext/upbdefs-gen/src/proto/grpc/lookup/v1/rls_config.upbdefs.h +75 -0
  882. data/src/core/ext/upbdefs-gen/udpa/annotations/migrate.upbdefs.c +61 -0
  883. data/src/core/ext/upbdefs-gen/udpa/annotations/migrate.upbdefs.h +45 -0
  884. data/src/core/ext/upbdefs-gen/udpa/annotations/security.upbdefs.c +46 -0
  885. data/src/core/ext/upbdefs-gen/udpa/annotations/security.upbdefs.h +35 -0
  886. data/src/core/ext/upbdefs-gen/udpa/annotations/sensitive.upbdefs.c +33 -0
  887. data/src/core/ext/upbdefs-gen/udpa/annotations/sensitive.upbdefs.h +30 -0
  888. data/src/core/ext/upbdefs-gen/udpa/annotations/status.upbdefs.c +45 -0
  889. data/src/core/ext/upbdefs-gen/udpa/annotations/status.upbdefs.h +35 -0
  890. data/src/core/ext/upbdefs-gen/udpa/annotations/versioning.upbdefs.c +38 -0
  891. data/src/core/ext/upbdefs-gen/udpa/annotations/versioning.upbdefs.h +35 -0
  892. data/src/core/ext/upbdefs-gen/validate/validate.upbdefs.c +282 -0
  893. data/src/core/ext/upbdefs-gen/validate/validate.upbdefs.h +145 -0
  894. data/src/core/ext/upbdefs-gen/xds/annotations/v3/migrate.upbdefs.c +62 -0
  895. data/src/core/ext/upbdefs-gen/xds/annotations/v3/migrate.upbdefs.h +45 -0
  896. data/src/core/ext/upbdefs-gen/xds/annotations/v3/security.upbdefs.c +46 -0
  897. data/src/core/ext/upbdefs-gen/xds/annotations/v3/security.upbdefs.h +35 -0
  898. data/src/core/ext/upbdefs-gen/xds/annotations/v3/sensitive.upbdefs.c +34 -0
  899. data/src/core/ext/upbdefs-gen/xds/annotations/v3/sensitive.upbdefs.h +30 -0
  900. data/src/core/ext/upbdefs-gen/xds/annotations/v3/status.upbdefs.c +63 -0
  901. data/src/core/ext/upbdefs-gen/xds/annotations/v3/status.upbdefs.h +50 -0
  902. data/src/core/ext/upbdefs-gen/xds/annotations/v3/versioning.upbdefs.c +39 -0
  903. data/src/core/ext/upbdefs-gen/xds/annotations/v3/versioning.upbdefs.h +35 -0
  904. data/src/core/ext/upbdefs-gen/xds/core/v3/authority.upbdefs.c +37 -0
  905. data/src/core/ext/upbdefs-gen/xds/core/v3/authority.upbdefs.h +35 -0
  906. data/src/core/ext/upbdefs-gen/xds/core/v3/cidr.upbdefs.c +44 -0
  907. data/src/core/ext/upbdefs-gen/xds/core/v3/cidr.upbdefs.h +35 -0
  908. data/src/core/ext/upbdefs-gen/xds/core/v3/collection_entry.upbdefs.c +55 -0
  909. data/src/core/ext/upbdefs-gen/xds/core/v3/collection_entry.upbdefs.h +40 -0
  910. data/src/core/ext/upbdefs-gen/xds/core/v3/context_params.upbdefs.c +38 -0
  911. data/src/core/ext/upbdefs-gen/xds/core/v3/context_params.upbdefs.h +40 -0
  912. data/src/core/ext/upbdefs-gen/xds/core/v3/extension.upbdefs.c +40 -0
  913. data/src/core/ext/upbdefs-gen/xds/core/v3/extension.upbdefs.h +35 -0
  914. data/src/core/ext/upbdefs-gen/xds/core/v3/resource.upbdefs.c +44 -0
  915. data/src/core/ext/upbdefs-gen/xds/core/v3/resource.upbdefs.h +35 -0
  916. data/src/core/ext/upbdefs-gen/xds/core/v3/resource_locator.upbdefs.c +60 -0
  917. data/src/core/ext/upbdefs-gen/xds/core/v3/resource_locator.upbdefs.h +40 -0
  918. data/src/core/ext/upbdefs-gen/xds/core/v3/resource_name.upbdefs.c +45 -0
  919. data/src/core/ext/upbdefs-gen/xds/core/v3/resource_name.upbdefs.h +35 -0
  920. data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/cel.upbdefs.c +44 -0
  921. data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/cel.upbdefs.h +35 -0
  922. data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/domain.upbdefs.c +50 -0
  923. data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/domain.upbdefs.h +40 -0
  924. data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/http_inputs.upbdefs.c +35 -0
  925. data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/http_inputs.upbdefs.h +35 -0
  926. data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/ip.upbdefs.c +54 -0
  927. data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/ip.upbdefs.h +40 -0
  928. data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/matcher.upbdefs.c +125 -0
  929. data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/matcher.upbdefs.h +80 -0
  930. data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/range.upbdefs.c +70 -0
  931. data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/range.upbdefs.h +60 -0
  932. data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/regex.upbdefs.c +39 -0
  933. data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/regex.upbdefs.h +40 -0
  934. data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/string.upbdefs.c +51 -0
  935. data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/string.upbdefs.h +40 -0
  936. data/src/core/ext/upbdefs-gen/xds/type/v3/cel.upbdefs.c +59 -0
  937. data/src/core/ext/upbdefs-gen/xds/type/v3/cel.upbdefs.h +40 -0
  938. data/src/core/ext/upbdefs-gen/xds/type/v3/range.upbdefs.c +35 -0
  939. data/src/core/ext/upbdefs-gen/xds/type/v3/range.upbdefs.h +45 -0
  940. data/src/core/ext/upbdefs-gen/xds/type/v3/typed_struct.upbdefs.c +36 -0
  941. data/src/core/ext/upbdefs-gen/xds/type/v3/typed_struct.upbdefs.h +35 -0
  942. data/src/core/ext/xds/certificate_provider_store.cc +2 -1
  943. data/src/core/ext/xds/certificate_provider_store.h +0 -5
  944. data/src/core/ext/xds/file_watcher_certificate_provider_factory.cc +0 -1
  945. data/src/core/ext/xds/xds_api.cc +92 -167
  946. data/src/core/ext/xds/xds_api.h +4 -9
  947. data/src/core/ext/xds/xds_bootstrap.h +6 -4
  948. data/src/core/ext/xds/xds_bootstrap_grpc.cc +4 -16
  949. data/src/core/ext/xds/xds_bootstrap_grpc.h +2 -1
  950. data/src/core/ext/xds/xds_certificate_provider.cc +88 -287
  951. data/src/core/ext/xds/xds_certificate_provider.h +44 -111
  952. data/src/core/ext/xds/xds_channel_stack_modifier.cc +17 -28
  953. data/src/core/ext/xds/xds_channel_stack_modifier.h +3 -5
  954. data/src/core/ext/xds/xds_client.cc +531 -475
  955. data/src/core/ext/xds/xds_client.h +51 -37
  956. data/src/core/ext/xds/xds_client_grpc.cc +56 -16
  957. data/src/core/ext/xds/xds_client_grpc.h +4 -1
  958. data/src/core/ext/xds/xds_client_stats.cc +11 -11
  959. data/src/core/ext/xds/xds_client_stats.h +8 -14
  960. data/src/core/ext/xds/xds_cluster.cc +134 -53
  961. data/src/core/ext/xds/xds_cluster.h +12 -6
  962. data/src/core/ext/xds/xds_cluster_specifier_plugin.cc +9 -5
  963. data/src/core/ext/xds/xds_common_types.cc +14 -11
  964. data/src/core/ext/xds/xds_endpoint.cc +106 -67
  965. data/src/core/ext/xds/xds_endpoint.h +7 -4
  966. data/src/core/ext/xds/xds_health_status.cc +14 -2
  967. data/src/core/ext/xds/xds_health_status.h +5 -3
  968. data/src/core/ext/xds/xds_http_filters.cc +1 -5
  969. data/src/core/ext/xds/xds_http_rbac_filter.cc +5 -3
  970. data/src/core/ext/xds/xds_http_stateful_session_filter.cc +1 -4
  971. data/src/core/ext/xds/xds_lb_policy_registry.cc +1 -1
  972. data/src/core/ext/xds/xds_listener.cc +29 -25
  973. data/src/core/ext/xds/xds_listener.h +13 -3
  974. data/src/core/ext/xds/xds_resource_type.h +1 -7
  975. data/src/core/ext/xds/xds_resource_type_impl.h +11 -11
  976. data/src/core/ext/xds/xds_route_config.cc +45 -35
  977. data/src/core/ext/xds/xds_route_config.h +2 -1
  978. data/src/core/ext/xds/xds_server_config_fetcher.cc +112 -83
  979. data/src/core/ext/xds/xds_transport.h +3 -0
  980. data/src/core/ext/xds/xds_transport_grpc.cc +64 -56
  981. data/src/core/ext/xds/xds_transport_grpc.h +4 -0
  982. data/src/core/lib/address_utils/sockaddr_utils.cc +0 -1
  983. data/src/core/lib/avl/avl.h +1 -0
  984. data/src/core/lib/backoff/random_early_detection.cc +4 -2
  985. data/src/core/lib/backoff/random_early_detection.h +2 -4
  986. data/src/core/lib/channel/call_tracer.cc +27 -2
  987. data/src/core/lib/channel/call_tracer.h +28 -4
  988. data/src/core/lib/channel/channel_args.cc +24 -15
  989. data/src/core/lib/channel/channel_args.h +89 -14
  990. data/src/core/lib/channel/channel_args_preconditioning.cc +0 -1
  991. data/src/core/lib/channel/channel_stack.cc +36 -1
  992. data/src/core/lib/channel/channel_stack.h +10 -10
  993. data/src/core/lib/channel/channel_stack_builder.h +4 -15
  994. data/src/core/lib/channel/channel_stack_builder_impl.cc +1 -19
  995. data/src/core/lib/channel/channel_stack_trace.cc +19 -0
  996. data/src/core/lib/channel/channel_stack_trace.h +24 -0
  997. data/src/core/lib/channel/channel_trace.cc +1 -1
  998. data/src/core/lib/channel/channelz_registry.h +4 -2
  999. data/src/core/lib/channel/connected_channel.cc +152 -92
  1000. data/src/core/lib/channel/context.h +3 -0
  1001. data/src/core/lib/channel/promise_based_filter.cc +19 -10
  1002. data/src/core/lib/channel/promise_based_filter.h +1042 -3
  1003. data/src/core/lib/channel/server_call_tracer_filter.cc +43 -42
  1004. data/src/core/lib/channel/status_util.cc +0 -1
  1005. data/src/core/lib/channel/tcp_tracer.h +140 -0
  1006. data/src/core/lib/compression/compression_internal.cc +2 -3
  1007. data/src/core/lib/config/config_vars.cc +0 -1
  1008. data/src/core/lib/config/config_vars.h +1 -1
  1009. data/src/core/lib/config/config_vars_non_generated.cc +0 -2
  1010. data/src/core/lib/config/core_configuration.cc +2 -2
  1011. data/src/core/lib/config/core_configuration.h +8 -7
  1012. data/src/core/lib/debug/stats_data.cc +146 -51
  1013. data/src/core/lib/debug/stats_data.h +81 -20
  1014. data/src/core/lib/event_engine/ares_resolver.cc +172 -90
  1015. data/src/core/lib/event_engine/ares_resolver.h +13 -12
  1016. data/src/core/lib/event_engine/cf_engine/cf_engine.cc +3 -0
  1017. data/src/core/lib/event_engine/cf_engine/cf_engine.h +3 -0
  1018. data/src/core/lib/event_engine/cf_engine/cfstream_endpoint.cc +7 -0
  1019. data/src/core/lib/event_engine/cf_engine/cfstream_endpoint.h +3 -0
  1020. data/src/core/lib/event_engine/cf_engine/cftype_unique_ref.h +3 -0
  1021. data/src/core/lib/event_engine/cf_engine/dns_service_resolver.cc +24 -4
  1022. data/src/core/lib/event_engine/cf_engine/dns_service_resolver.h +3 -0
  1023. data/src/core/lib/event_engine/channel_args_endpoint_config.cc +2 -0
  1024. data/src/core/lib/event_engine/event_engine.cc +0 -2
  1025. data/src/core/lib/event_engine/extensions/can_track_errors.h +40 -0
  1026. data/src/core/lib/event_engine/extensions/supports_fd.h +160 -0
  1027. data/src/core/lib/event_engine/forkable.cc +40 -57
  1028. data/src/core/lib/event_engine/forkable.h +33 -27
  1029. data/src/core/lib/event_engine/grpc_polled_fd.h +23 -4
  1030. data/src/core/lib/event_engine/nameser.h +102 -0
  1031. data/src/core/lib/event_engine/posix.h +11 -122
  1032. data/src/core/lib/event_engine/posix_engine/ev_epoll1_linux.cc +6 -8
  1033. data/src/core/lib/event_engine/posix_engine/ev_epoll1_linux.h +2 -3
  1034. data/src/core/lib/event_engine/posix_engine/ev_poll_posix.cc +11 -16
  1035. data/src/core/lib/event_engine/posix_engine/ev_poll_posix.h +4 -11
  1036. data/src/core/lib/event_engine/posix_engine/event_poller.h +3 -1
  1037. data/src/core/lib/event_engine/posix_engine/event_poller_posix_default.cc +23 -4
  1038. data/src/core/lib/event_engine/posix_engine/event_poller_posix_default.h +3 -1
  1039. data/src/core/lib/event_engine/posix_engine/grpc_polled_fd_posix.h +12 -4
  1040. data/src/core/lib/event_engine/posix_engine/internal_errqueue.cc +0 -2
  1041. data/src/core/lib/event_engine/posix_engine/native_posix_dns_resolver.cc +132 -0
  1042. data/src/core/lib/event_engine/posix_engine/native_posix_dns_resolver.h +57 -0
  1043. data/src/core/lib/event_engine/posix_engine/posix_endpoint.cc +32 -9
  1044. data/src/core/lib/event_engine/posix_engine/posix_endpoint.h +1 -1
  1045. data/src/core/lib/event_engine/posix_engine/posix_engine.cc +89 -51
  1046. data/src/core/lib/event_engine/posix_engine/posix_engine.h +25 -27
  1047. data/src/core/lib/event_engine/posix_engine/posix_engine_listener.cc +14 -6
  1048. data/src/core/lib/event_engine/posix_engine/posix_engine_listener_utils.cc +21 -3
  1049. data/src/core/lib/event_engine/posix_engine/tcp_socket_utils.cc +10 -5
  1050. data/src/core/lib/event_engine/posix_engine/tcp_socket_utils.h +7 -0
  1051. data/src/core/lib/event_engine/posix_engine/timer_manager.cc +17 -27
  1052. data/src/core/lib/event_engine/posix_engine/timer_manager.h +0 -3
  1053. data/src/core/lib/event_engine/posix_engine/wakeup_fd_eventfd.cc +0 -1
  1054. data/src/core/lib/event_engine/posix_engine/wakeup_fd_pipe.cc +0 -1
  1055. data/src/core/lib/event_engine/query_extensions.h +85 -0
  1056. data/src/core/lib/event_engine/ref_counted_dns_resolver_interface.h +55 -0
  1057. data/src/core/lib/event_engine/shim.cc +5 -17
  1058. data/src/core/lib/event_engine/shim.h +0 -2
  1059. data/src/core/lib/event_engine/slice_buffer.cc +0 -1
  1060. data/src/core/lib/event_engine/tcp_socket_utils.cc +0 -1
  1061. data/src/core/lib/event_engine/thread_pool/thread_count.cc +28 -7
  1062. data/src/core/lib/event_engine/thread_pool/thread_count.h +21 -1
  1063. data/src/core/lib/event_engine/thread_pool/thread_pool_factory.cc +19 -17
  1064. data/src/core/lib/event_engine/thread_pool/work_stealing_thread_pool.cc +126 -12
  1065. data/src/core/lib/event_engine/thread_pool/work_stealing_thread_pool.h +9 -0
  1066. data/src/core/lib/event_engine/utils.cc +2 -1
  1067. data/src/core/lib/event_engine/windows/grpc_polled_fd_windows.cc +824 -0
  1068. data/src/core/lib/event_engine/windows/grpc_polled_fd_windows.h +75 -0
  1069. data/src/core/lib/event_engine/windows/native_windows_dns_resolver.cc +115 -0
  1070. data/src/core/lib/event_engine/windows/native_windows_dns_resolver.h +51 -0
  1071. data/src/core/lib/event_engine/windows/win_socket.cc +20 -13
  1072. data/src/core/lib/event_engine/windows/win_socket.h +19 -7
  1073. data/src/core/lib/event_engine/windows/windows_endpoint.cc +32 -33
  1074. data/src/core/lib/event_engine/windows/windows_endpoint.h +1 -1
  1075. data/src/core/lib/event_engine/windows/windows_engine.cc +83 -38
  1076. data/src/core/lib/event_engine/windows/windows_engine.h +16 -2
  1077. data/src/core/lib/event_engine/windows/windows_listener.cc +2 -3
  1078. data/src/core/lib/event_engine/work_queue/basic_work_queue.cc +2 -0
  1079. data/src/core/lib/event_engine/work_queue/basic_work_queue.h +4 -1
  1080. data/src/core/lib/event_engine/work_queue/work_queue.h +4 -0
  1081. data/src/core/lib/experiments/config.cc +32 -3
  1082. data/src/core/lib/experiments/config.h +9 -0
  1083. data/src/core/lib/experiments/experiments.cc +759 -183
  1084. data/src/core/lib/experiments/experiments.h +329 -89
  1085. data/src/core/lib/gpr/alloc.cc +1 -0
  1086. data/src/core/lib/gpr/posix/sync.cc +2 -2
  1087. data/src/core/lib/gpr/posix/time.cc +0 -5
  1088. data/src/core/lib/gpr/windows/sync.cc +2 -2
  1089. data/src/core/lib/gprpp/debug_location.h +15 -0
  1090. data/src/core/lib/gprpp/directory_reader.h +48 -0
  1091. data/src/core/lib/gprpp/down_cast.h +49 -0
  1092. data/src/core/lib/gprpp/dual_ref_counted.h +36 -7
  1093. data/src/core/lib/gprpp/fork.h +1 -1
  1094. data/src/core/lib/gprpp/host_port.cc +0 -2
  1095. data/src/core/lib/gprpp/linux/env.cc +1 -19
  1096. data/src/core/lib/gprpp/load_file.cc +2 -1
  1097. data/src/core/lib/gprpp/load_file.h +2 -1
  1098. data/src/core/lib/gprpp/manual_constructor.h +1 -2
  1099. data/src/core/lib/gprpp/match.h +1 -1
  1100. data/src/core/lib/gprpp/no_destruct.h +1 -1
  1101. data/src/core/lib/gprpp/orphanable.h +27 -0
  1102. data/src/core/lib/gprpp/per_cpu.cc +2 -0
  1103. data/src/core/lib/gprpp/per_cpu.h +36 -7
  1104. data/src/core/lib/gprpp/posix/directory_reader.cc +82 -0
  1105. data/src/core/lib/gprpp/posix/stat.cc +0 -1
  1106. data/src/core/lib/gprpp/posix/thd.cc +27 -2
  1107. data/src/core/lib/gprpp/ref_counted.h +63 -22
  1108. data/src/core/lib/gprpp/ref_counted_ptr.h +133 -27
  1109. data/src/core/lib/gprpp/ref_counted_string.h +15 -0
  1110. data/src/core/lib/gprpp/status_helper.cc +1 -3
  1111. data/src/core/lib/gprpp/strerror.cc +0 -2
  1112. data/src/core/lib/gprpp/thd.h +8 -0
  1113. data/src/core/lib/gprpp/time.cc +0 -1
  1114. data/src/core/lib/gprpp/time.h +4 -3
  1115. data/src/core/lib/gprpp/validation_errors.cc +0 -1
  1116. data/src/core/lib/gprpp/windows/directory_reader.cc +81 -0
  1117. data/src/core/lib/gprpp/windows/thd.cc +10 -1
  1118. data/src/core/lib/gprpp/work_serializer.cc +300 -25
  1119. data/src/core/lib/gprpp/work_serializer.h +25 -9
  1120. data/src/core/lib/gprpp/xxhash_inline.h +29 -0
  1121. data/src/core/lib/http/format_request.cc +0 -1
  1122. data/src/core/lib/http/httpcli.cc +0 -2
  1123. data/src/core/lib/iomgr/combiner.cc +25 -19
  1124. data/src/core/lib/iomgr/combiner.h +8 -3
  1125. data/src/core/lib/iomgr/event_engine_shims/endpoint.cc +55 -18
  1126. data/src/core/lib/iomgr/event_engine_shims/endpoint.h +16 -0
  1127. data/src/core/lib/iomgr/event_engine_shims/tcp_client.cc +3 -2
  1128. data/src/core/lib/iomgr/exec_ctx.cc +12 -0
  1129. data/src/core/lib/iomgr/exec_ctx.h +55 -19
  1130. data/src/core/lib/iomgr/grpc_if_nametoindex_posix.cc +2 -2
  1131. data/src/core/lib/iomgr/grpc_if_nametoindex_unsupported.cc +2 -2
  1132. data/src/core/lib/iomgr/polling_entity.cc +10 -0
  1133. data/src/core/lib/iomgr/polling_entity.h +2 -0
  1134. data/src/core/lib/iomgr/port.h +14 -0
  1135. data/src/core/lib/iomgr/socket_utils_common_posix.cc +13 -0
  1136. data/src/core/lib/iomgr/tcp_client_posix.cc +4 -3
  1137. data/src/core/lib/iomgr/tcp_posix.cc +24 -15
  1138. data/src/core/lib/iomgr/tcp_server_posix.cc +65 -50
  1139. data/src/core/lib/iomgr/tcp_server_utils_posix_ifaddrs.cc +12 -0
  1140. data/src/core/lib/iomgr/timer_manager.cc +7 -1
  1141. data/src/core/lib/iomgr/timer_manager.h +2 -0
  1142. data/src/core/lib/json/json_object_loader.h +0 -1
  1143. data/src/core/lib/json/json_reader.cc +0 -1
  1144. data/src/core/lib/json/json_writer.cc +1 -1
  1145. data/src/core/lib/matchers/matchers.cc +0 -1
  1146. data/src/core/lib/promise/activity.cc +17 -3
  1147. data/src/core/lib/promise/activity.h +13 -6
  1148. data/src/core/lib/promise/all_ok.h +80 -0
  1149. data/src/core/lib/promise/arena_promise.h +5 -1
  1150. data/src/core/lib/promise/cancel_callback.h +0 -2
  1151. data/src/core/lib/promise/context.h +45 -8
  1152. data/src/core/lib/promise/detail/join_state.h +2077 -0
  1153. data/src/core/lib/promise/detail/promise_like.h +8 -1
  1154. data/src/core/lib/promise/detail/seq_state.h +3751 -26
  1155. data/src/core/lib/promise/detail/status.h +42 -5
  1156. data/src/core/lib/promise/for_each.h +13 -6
  1157. data/src/core/lib/promise/if.h +4 -1
  1158. data/src/core/lib/promise/interceptor_list.h +13 -6
  1159. data/src/core/lib/promise/latch.h +10 -8
  1160. data/src/core/lib/promise/loop.h +9 -6
  1161. data/src/core/lib/promise/map.h +0 -1
  1162. data/src/core/lib/promise/party.cc +45 -33
  1163. data/src/core/lib/promise/party.h +176 -10
  1164. data/src/core/lib/promise/pipe.h +30 -34
  1165. data/src/core/lib/promise/poll.h +43 -19
  1166. data/src/core/lib/promise/prioritized_race.h +0 -1
  1167. data/src/core/lib/promise/promise.h +4 -1
  1168. data/src/core/lib/promise/race.h +0 -1
  1169. data/src/core/lib/promise/seq.h +107 -8
  1170. data/src/core/lib/promise/sleep.cc +1 -1
  1171. data/src/core/lib/promise/status_flag.h +226 -0
  1172. data/src/core/lib/promise/try_join.h +132 -0
  1173. data/src/core/lib/promise/try_seq.h +132 -10
  1174. data/src/core/lib/resource_quota/arena.h +2 -2
  1175. data/src/core/lib/resource_quota/memory_quota.cc +132 -24
  1176. data/src/core/lib/resource_quota/memory_quota.h +12 -12
  1177. data/src/core/lib/security/authorization/audit_logging.cc +0 -1
  1178. data/src/core/lib/security/authorization/grpc_server_authz_filter.cc +15 -12
  1179. data/src/core/lib/security/authorization/grpc_server_authz_filter.h +14 -5
  1180. data/src/core/lib/security/authorization/matchers.cc +0 -1
  1181. data/src/core/lib/security/authorization/rbac_policy.cc +0 -2
  1182. data/src/core/lib/security/authorization/stdout_logger.cc +0 -1
  1183. data/src/core/lib/security/credentials/alts/alts_credentials.cc +0 -2
  1184. data/src/core/lib/security/credentials/composite/composite_credentials.cc +1 -1
  1185. data/src/core/lib/security/credentials/composite/composite_credentials.h +1 -1
  1186. data/src/core/lib/security/credentials/external/aws_external_account_credentials.cc +4 -1
  1187. data/src/core/lib/security/credentials/external/aws_external_account_credentials.h +4 -0
  1188. data/src/core/lib/security/credentials/external/aws_request_signer.cc +0 -2
  1189. data/src/core/lib/security/credentials/external/external_account_credentials.cc +28 -22
  1190. data/src/core/lib/security/credentials/external/external_account_credentials.h +4 -0
  1191. data/src/core/lib/security/credentials/external/file_external_account_credentials.cc +9 -11
  1192. data/src/core/lib/security/credentials/external/file_external_account_credentials.h +4 -0
  1193. data/src/core/lib/security/credentials/external/url_external_account_credentials.cc +5 -3
  1194. data/src/core/lib/security/credentials/external/url_external_account_credentials.h +4 -0
  1195. data/src/core/lib/security/credentials/google_default/google_default_credentials.cc +11 -11
  1196. data/src/core/lib/security/credentials/iam/iam_credentials.cc +0 -1
  1197. data/src/core/lib/security/credentials/insecure/insecure_credentials.cc +0 -2
  1198. data/src/core/lib/security/credentials/jwt/jwt_credentials.h +0 -1
  1199. data/src/core/lib/security/credentials/jwt/jwt_verifier.cc +1 -2
  1200. data/src/core/lib/security/credentials/local/local_credentials.cc +0 -2
  1201. data/src/core/lib/security/credentials/oauth2/oauth2_credentials.cc +9 -7
  1202. data/src/core/lib/security/credentials/oauth2/oauth2_credentials.h +0 -1
  1203. data/src/core/lib/security/credentials/plugin/plugin_credentials.cc +2 -2
  1204. data/src/core/lib/security/credentials/plugin/plugin_credentials.h +1 -1
  1205. data/src/core/lib/security/credentials/ssl/ssl_credentials.cc +115 -10
  1206. data/src/core/lib/security/credentials/ssl/ssl_credentials.h +14 -0
  1207. data/src/core/lib/security/credentials/tls/grpc_tls_certificate_distributor.cc +0 -2
  1208. data/src/core/lib/security/credentials/tls/grpc_tls_certificate_match.cc +86 -0
  1209. data/src/core/lib/security/credentials/tls/grpc_tls_certificate_provider.cc +16 -83
  1210. data/src/core/lib/security/credentials/tls/grpc_tls_certificate_provider.h +0 -3
  1211. data/src/core/lib/security/credentials/tls/grpc_tls_certificate_verifier.h +2 -0
  1212. data/src/core/lib/security/credentials/tls/grpc_tls_credentials_options.cc +33 -0
  1213. data/src/core/lib/security/credentials/tls/grpc_tls_credentials_options.h +23 -0
  1214. data/src/core/lib/security/credentials/tls/grpc_tls_crl_provider.cc +255 -0
  1215. data/src/core/lib/security/credentials/tls/grpc_tls_crl_provider.h +129 -0
  1216. data/src/core/lib/security/credentials/tls/tls_credentials.cc +25 -1
  1217. data/src/core/lib/security/credentials/tls/tls_utils.cc +2 -0
  1218. data/src/core/lib/security/credentials/xds/xds_credentials.cc +22 -30
  1219. data/src/core/lib/security/credentials/xds/xds_credentials.h +2 -4
  1220. data/src/core/lib/security/security_connector/fake/fake_security_connector.cc +1 -2
  1221. data/src/core/lib/security/security_connector/load_system_roots_supported.cc +3 -7
  1222. data/src/core/lib/security/security_connector/local/local_security_connector.cc +1 -1
  1223. data/src/core/lib/security/security_connector/ssl/ssl_security_connector.cc +7 -59
  1224. data/src/core/lib/security/security_connector/ssl/ssl_security_connector.h +1 -1
  1225. data/src/core/lib/security/security_connector/ssl_utils.cc +34 -19
  1226. data/src/core/lib/security/security_connector/ssl_utils.h +4 -0
  1227. data/src/core/lib/security/security_connector/tls/tls_security_connector.cc +9 -20
  1228. data/src/core/lib/security/security_connector/tls/tls_security_connector.h +2 -2
  1229. data/src/core/lib/security/transport/auth_filters.h +71 -4
  1230. data/src/core/lib/security/transport/client_auth_filter.cc +2 -5
  1231. data/src/core/lib/security/transport/legacy_server_auth_filter.cc +244 -0
  1232. data/src/core/lib/security/transport/secure_endpoint.cc +3 -6
  1233. data/src/core/lib/security/transport/security_handshaker.cc +1 -11
  1234. data/src/core/lib/security/transport/security_handshaker.h +0 -6
  1235. data/src/core/lib/security/transport/server_auth_filter.cc +70 -94
  1236. data/src/core/lib/slice/slice.h +11 -0
  1237. data/src/core/lib/slice/slice_buffer.cc +15 -0
  1238. data/src/core/lib/slice/slice_buffer.h +22 -5
  1239. data/src/core/lib/slice/slice_refcount.h +1 -1
  1240. data/src/core/lib/surface/builtins.cc +6 -25
  1241. data/src/core/lib/surface/call.cc +907 -242
  1242. data/src/core/lib/surface/call.h +30 -13
  1243. data/src/core/lib/surface/call_log_batch.cc +0 -2
  1244. data/src/core/lib/surface/call_trace.cc +46 -6
  1245. data/src/core/lib/surface/channel.cc +25 -33
  1246. data/src/core/lib/surface/channel.h +6 -28
  1247. data/src/core/lib/surface/channel_init.cc +441 -14
  1248. data/src/core/lib/surface/channel_init.h +274 -27
  1249. data/src/core/lib/surface/completion_queue.cc +0 -7
  1250. data/src/core/lib/surface/event_string.cc +0 -1
  1251. data/src/core/lib/surface/init.cc +21 -48
  1252. data/src/core/lib/surface/lame_client.cc +8 -1
  1253. data/src/core/lib/surface/server.cc +465 -252
  1254. data/src/core/lib/surface/server.h +67 -29
  1255. data/src/core/lib/surface/version.cc +2 -2
  1256. data/src/core/lib/surface/wait_for_cq_end_op.cc +75 -0
  1257. data/src/core/lib/surface/wait_for_cq_end_op.h +72 -0
  1258. data/src/core/lib/transport/batch_builder.cc +9 -12
  1259. data/src/core/lib/transport/batch_builder.h +2 -4
  1260. data/src/core/lib/transport/bdp_estimator.cc +2 -2
  1261. data/src/core/lib/transport/bdp_estimator.h +2 -2
  1262. data/src/core/lib/transport/call_factory.cc +41 -0
  1263. data/src/core/lib/transport/call_factory.h +56 -0
  1264. data/src/core/lib/transport/call_filters.cc +371 -0
  1265. data/src/core/lib/transport/call_filters.h +1500 -0
  1266. data/src/core/lib/transport/call_final_info.cc +38 -0
  1267. data/src/core/lib/transport/call_final_info.h +54 -0
  1268. data/src/core/lib/transport/call_size_estimator.cc +41 -0
  1269. data/src/core/lib/transport/call_size_estimator.h +52 -0
  1270. data/src/core/lib/transport/call_spine.cc +107 -0
  1271. data/src/core/lib/transport/call_spine.h +429 -0
  1272. data/src/core/lib/transport/connectivity_state.cc +3 -4
  1273. data/src/core/lib/transport/connectivity_state.h +4 -0
  1274. data/src/core/lib/transport/error_utils.cc +0 -2
  1275. data/src/core/lib/transport/handshaker.cc +0 -10
  1276. data/src/core/lib/transport/handshaker.h +0 -7
  1277. data/src/core/lib/transport/message.cc +45 -0
  1278. data/src/core/lib/transport/message.h +61 -0
  1279. data/src/core/lib/transport/metadata.cc +37 -0
  1280. data/src/core/lib/transport/metadata.h +78 -0
  1281. data/src/core/lib/transport/metadata_batch.cc +9 -2
  1282. data/src/core/lib/transport/metadata_batch.h +39 -5
  1283. data/src/core/lib/transport/parsed_metadata.h +2 -4
  1284. data/src/core/lib/transport/simple_slice_based_metadata.h +1 -2
  1285. data/src/core/lib/transport/tcp_connect_handshaker.cc +0 -1
  1286. data/src/core/lib/transport/timeout_encoding.h +2 -2
  1287. data/src/core/lib/transport/transport.cc +13 -105
  1288. data/src/core/lib/transport/transport.h +132 -168
  1289. data/src/core/lib/transport/transport_fwd.h +3 -1
  1290. data/src/core/lib/transport/transport_op_string.cc +0 -2
  1291. data/src/core/lib/uri/uri_parser.cc +0 -1
  1292. data/src/core/load_balancing/address_filtering.cc +108 -0
  1293. data/src/core/load_balancing/address_filtering.h +118 -0
  1294. data/src/core/load_balancing/backend_metric_data.h +57 -0
  1295. data/src/core/load_balancing/child_policy_handler.cc +317 -0
  1296. data/src/core/load_balancing/child_policy_handler.h +88 -0
  1297. data/src/core/load_balancing/delegating_helper.h +116 -0
  1298. data/src/core/load_balancing/endpoint_list.cc +187 -0
  1299. data/src/core/load_balancing/endpoint_list.h +220 -0
  1300. data/src/core/load_balancing/grpclb/client_load_reporting_filter.cc +83 -0
  1301. data/src/core/load_balancing/grpclb/client_load_reporting_filter.h +46 -0
  1302. data/src/core/load_balancing/grpclb/grpclb.cc +1935 -0
  1303. data/src/core/load_balancing/grpclb/grpclb.h +39 -0
  1304. data/src/core/load_balancing/grpclb/grpclb_balancer_addresses.cc +89 -0
  1305. data/src/core/load_balancing/grpclb/grpclb_balancer_addresses.h +39 -0
  1306. data/src/core/load_balancing/grpclb/grpclb_client_stats.cc +90 -0
  1307. data/src/core/load_balancing/grpclb/grpclb_client_stats.h +81 -0
  1308. data/src/core/load_balancing/grpclb/load_balancer_api.cc +202 -0
  1309. data/src/core/load_balancing/grpclb/load_balancer_api.h +77 -0
  1310. data/src/core/load_balancing/health_check_client.cc +520 -0
  1311. data/src/core/load_balancing/health_check_client.h +52 -0
  1312. data/src/core/load_balancing/health_check_client_internal.h +204 -0
  1313. data/src/core/load_balancing/lb_policy.cc +98 -0
  1314. data/src/core/load_balancing/lb_policy.h +481 -0
  1315. data/src/core/load_balancing/lb_policy_factory.h +49 -0
  1316. data/src/core/load_balancing/lb_policy_registry.cc +142 -0
  1317. data/src/core/load_balancing/lb_policy_registry.h +82 -0
  1318. data/src/core/load_balancing/oob_backend_metric.cc +340 -0
  1319. data/src/core/load_balancing/oob_backend_metric.h +57 -0
  1320. data/src/core/load_balancing/oob_backend_metric_internal.h +119 -0
  1321. data/src/core/load_balancing/outlier_detection/outlier_detection.cc +1208 -0
  1322. data/src/core/load_balancing/outlier_detection/outlier_detection.h +94 -0
  1323. data/src/core/load_balancing/pick_first/pick_first.cc +1232 -0
  1324. data/src/core/load_balancing/pick_first/pick_first.h +36 -0
  1325. data/src/core/load_balancing/priority/priority.cc +900 -0
  1326. data/src/core/load_balancing/ring_hash/ring_hash.cc +878 -0
  1327. data/src/core/load_balancing/ring_hash/ring_hash.h +62 -0
  1328. data/src/core/load_balancing/rls/rls.cc +2477 -0
  1329. data/src/core/load_balancing/round_robin/round_robin.cc +916 -0
  1330. data/src/core/load_balancing/subchannel_interface.h +141 -0
  1331. data/src/core/load_balancing/subchannel_list.h +455 -0
  1332. data/src/core/load_balancing/weighted_round_robin/static_stride_scheduler.cc +198 -0
  1333. data/src/core/load_balancing/weighted_round_robin/static_stride_scheduler.h +71 -0
  1334. data/src/core/load_balancing/weighted_round_robin/weighted_round_robin.cc +1819 -0
  1335. data/src/core/load_balancing/weighted_target/weighted_target.cc +755 -0
  1336. data/src/core/load_balancing/xds/cds.cc +757 -0
  1337. data/src/core/load_balancing/xds/xds_channel_args.h +37 -0
  1338. data/src/core/load_balancing/xds/xds_cluster_impl.cc +863 -0
  1339. data/src/core/load_balancing/xds/xds_cluster_manager.cc +652 -0
  1340. data/src/core/load_balancing/xds/xds_override_host.cc +1313 -0
  1341. data/src/core/load_balancing/xds/xds_override_host.h +63 -0
  1342. data/src/core/load_balancing/xds/xds_wrr_locality.cc +300 -0
  1343. data/src/core/plugin_registry/grpc_plugin_registry.cc +5 -0
  1344. data/src/core/plugin_registry/grpc_plugin_registry_extra.cc +0 -3
  1345. data/src/core/resolver/binder/binder_resolver.cc +147 -0
  1346. data/src/core/resolver/dns/c_ares/dns_resolver_ares.cc +758 -0
  1347. data/src/core/resolver/dns/c_ares/dns_resolver_ares.h +30 -0
  1348. data/src/core/resolver/dns/c_ares/grpc_ares_ev_driver.h +90 -0
  1349. data/src/core/resolver/dns/c_ares/grpc_ares_ev_driver_posix.cc +206 -0
  1350. data/src/core/resolver/dns/c_ares/grpc_ares_ev_driver_windows.cc +818 -0
  1351. data/src/core/resolver/dns/c_ares/grpc_ares_wrapper.cc +1219 -0
  1352. data/src/core/resolver/dns/c_ares/grpc_ares_wrapper.h +140 -0
  1353. data/src/core/resolver/dns/c_ares/grpc_ares_wrapper_posix.cc +29 -0
  1354. data/src/core/resolver/dns/c_ares/grpc_ares_wrapper_windows.cc +35 -0
  1355. data/src/core/resolver/dns/dns_resolver_plugin.cc +68 -0
  1356. data/src/core/resolver/dns/dns_resolver_plugin.h +27 -0
  1357. data/src/core/resolver/dns/event_engine/event_engine_client_channel_resolver.cc +588 -0
  1358. data/src/core/resolver/dns/event_engine/event_engine_client_channel_resolver.h +35 -0
  1359. data/src/core/resolver/dns/event_engine/service_config_helper.cc +97 -0
  1360. data/src/core/resolver/dns/event_engine/service_config_helper.h +32 -0
  1361. data/src/core/resolver/dns/native/dns_resolver.cc +183 -0
  1362. data/src/core/resolver/dns/native/dns_resolver.h +24 -0
  1363. data/src/core/resolver/endpoint_addresses.cc +147 -0
  1364. data/src/core/resolver/endpoint_addresses.h +164 -0
  1365. data/src/core/resolver/fake/fake_resolver.cc +255 -0
  1366. data/src/core/resolver/fake/fake_resolver.h +129 -0
  1367. data/src/core/resolver/google_c2p/google_c2p_resolver.cc +326 -0
  1368. data/src/core/resolver/polling_resolver.cc +272 -0
  1369. data/src/core/resolver/polling_resolver.h +121 -0
  1370. data/src/core/resolver/resolver.cc +37 -0
  1371. data/src/core/resolver/resolver.h +139 -0
  1372. data/src/core/resolver/resolver_factory.h +78 -0
  1373. data/src/core/resolver/resolver_registry.cc +162 -0
  1374. data/src/core/resolver/resolver_registry.h +123 -0
  1375. data/src/core/resolver/server_address.h +35 -0
  1376. data/src/core/resolver/sockaddr/sockaddr_resolver.cc +202 -0
  1377. data/src/core/resolver/xds/xds_dependency_manager.cc +1031 -0
  1378. data/src/core/resolver/xds/xds_dependency_manager.h +277 -0
  1379. data/src/core/resolver/xds/xds_resolver.cc +1135 -0
  1380. data/src/core/resolver/xds/xds_resolver_attributes.h +62 -0
  1381. data/src/core/resolver/xds/xds_resolver_trace.cc +25 -0
  1382. data/src/core/resolver/xds/xds_resolver_trace.h +30 -0
  1383. data/src/core/service_config/service_config.h +89 -0
  1384. data/src/core/service_config/service_config_call_data.h +116 -0
  1385. data/src/core/service_config/service_config_impl.cc +198 -0
  1386. data/src/core/service_config/service_config_impl.h +125 -0
  1387. data/src/core/service_config/service_config_parser.cc +81 -0
  1388. data/src/core/service_config/service_config_parser.h +105 -0
  1389. data/src/core/tsi/alts/crypt/aes_gcm.cc +137 -109
  1390. data/src/core/tsi/alts/crypt/gsec.h +387 -319
  1391. data/src/core/tsi/alts/frame_protector/alts_frame_protector.cc +11 -7
  1392. data/src/core/tsi/alts/handshaker/alts_handshaker_client.cc +1 -1
  1393. data/src/core/tsi/alts/handshaker/alts_tsi_handshaker.cc +5 -7
  1394. data/src/core/tsi/alts/handshaker/transport_security_common_api.cc +1 -1
  1395. data/src/core/tsi/alts/zero_copy_frame_protector/alts_zero_copy_grpc_protector.cc +12 -12
  1396. data/src/core/tsi/alts/zero_copy_frame_protector/alts_zero_copy_grpc_protector.h +26 -25
  1397. data/src/core/tsi/fake_transport_security.cc +1 -1
  1398. data/src/core/tsi/ssl/session_cache/ssl_session_cache.cc +9 -1
  1399. data/src/core/tsi/ssl_transport_security.cc +189 -60
  1400. data/src/core/tsi/ssl_transport_security.h +23 -1
  1401. data/src/ruby/bin/math_pb.rb +1 -1
  1402. data/src/ruby/ext/grpc/extconf.rb +78 -17
  1403. data/src/ruby/ext/grpc/rb_channel.c +11 -5
  1404. data/src/ruby/ext/grpc/rb_channel_args.c +9 -5
  1405. data/src/ruby/ext/grpc/rb_event_thread.c +9 -3
  1406. data/src/ruby/ext/grpc/rb_grpc.c +0 -1
  1407. data/src/ruby/ext/grpc/rb_grpc.h +0 -2
  1408. data/src/ruby/ext/grpc/rb_grpc_imports.generated.c +8 -0
  1409. data/src/ruby/ext/grpc/rb_grpc_imports.generated.h +12 -0
  1410. data/src/ruby/lib/grpc/version.rb +1 -1
  1411. data/src/ruby/pb/grpc/health/v1/health_pb.rb +1 -1
  1412. data/src/ruby/pb/src/proto/grpc/testing/empty_pb.rb +1 -1
  1413. data/src/ruby/pb/src/proto/grpc/testing/messages_pb.rb +10 -2
  1414. data/src/ruby/pb/src/proto/grpc/testing/test_pb.rb +2 -2
  1415. data/src/ruby/pb/src/proto/grpc/testing/test_services_pb.rb +22 -0
  1416. data/third_party/abseil-cpp/absl/algorithm/algorithm.h +8 -103
  1417. data/third_party/abseil-cpp/absl/algorithm/container.h +57 -71
  1418. data/third_party/abseil-cpp/absl/base/attributes.h +51 -12
  1419. data/third_party/abseil-cpp/absl/base/call_once.h +15 -9
  1420. data/third_party/abseil-cpp/absl/base/casts.h +1 -1
  1421. data/third_party/abseil-cpp/absl/base/config.h +91 -24
  1422. data/third_party/abseil-cpp/absl/base/internal/endian.h +13 -12
  1423. data/third_party/abseil-cpp/absl/base/internal/identity.h +4 -2
  1424. data/third_party/abseil-cpp/absl/base/internal/inline_variable.h +19 -18
  1425. data/third_party/abseil-cpp/absl/base/internal/low_level_alloc.cc +1 -1
  1426. data/third_party/abseil-cpp/absl/base/internal/nullability_impl.h +106 -0
  1427. data/third_party/abseil-cpp/absl/base/internal/raw_logging.cc +9 -11
  1428. data/third_party/abseil-cpp/absl/base/internal/raw_logging.h +2 -0
  1429. data/third_party/abseil-cpp/absl/base/internal/spinlock.h +17 -4
  1430. data/third_party/abseil-cpp/absl/base/internal/sysinfo.cc +20 -0
  1431. data/third_party/abseil-cpp/absl/base/internal/thread_identity.cc +10 -4
  1432. data/third_party/abseil-cpp/absl/base/internal/unaligned_access.h +13 -6
  1433. data/third_party/abseil-cpp/absl/base/log_severity.cc +1 -0
  1434. data/third_party/abseil-cpp/absl/base/log_severity.h +23 -10
  1435. data/third_party/abseil-cpp/absl/base/no_destructor.h +217 -0
  1436. data/third_party/abseil-cpp/absl/base/nullability.h +224 -0
  1437. data/third_party/abseil-cpp/absl/base/optimization.h +1 -0
  1438. data/third_party/abseil-cpp/absl/base/options.h +27 -1
  1439. data/third_party/abseil-cpp/absl/base/prefetch.h +25 -14
  1440. data/third_party/abseil-cpp/absl/base/thread_annotations.h +0 -2
  1441. data/third_party/abseil-cpp/absl/container/flat_hash_map.h +3 -3
  1442. data/third_party/abseil-cpp/absl/container/flat_hash_set.h +1 -1
  1443. data/third_party/abseil-cpp/absl/container/internal/common_policy_traits.h +4 -2
  1444. data/third_party/abseil-cpp/absl/container/internal/container_memory.h +13 -9
  1445. data/third_party/abseil-cpp/absl/container/internal/hashtablez_sampler.h +2 -12
  1446. data/third_party/abseil-cpp/absl/container/internal/inlined_vector.h +12 -1
  1447. data/third_party/abseil-cpp/absl/container/internal/layout.h +6 -21
  1448. data/third_party/abseil-cpp/absl/container/internal/raw_hash_map.h +11 -2
  1449. data/third_party/abseil-cpp/absl/container/internal/raw_hash_set.cc +148 -31
  1450. data/third_party/abseil-cpp/absl/container/internal/raw_hash_set.h +717 -278
  1451. data/third_party/abseil-cpp/absl/crc/internal/cpu_detect.cc +26 -2
  1452. data/third_party/abseil-cpp/absl/crc/internal/cpu_detect.h +6 -0
  1453. data/third_party/abseil-cpp/absl/crc/internal/crc32_x86_arm_combined_simd.h +34 -5
  1454. data/third_party/abseil-cpp/absl/crc/internal/crc_memcpy.h +6 -3
  1455. data/third_party/abseil-cpp/absl/crc/internal/crc_memcpy_fallback.cc +4 -2
  1456. data/third_party/abseil-cpp/absl/crc/internal/crc_memcpy_x86_arm_combined.cc +450 -0
  1457. data/third_party/abseil-cpp/absl/crc/internal/crc_x86_arm_combined.cc +10 -2
  1458. data/third_party/abseil-cpp/absl/debugging/internal/address_is_readable.cc +4 -2
  1459. data/third_party/abseil-cpp/absl/debugging/internal/demangle.cc +24 -0
  1460. data/third_party/abseil-cpp/absl/debugging/internal/demangle.h +35 -33
  1461. data/third_party/abseil-cpp/absl/debugging/internal/stacktrace_aarch64-inl.inc +41 -17
  1462. data/third_party/abseil-cpp/absl/debugging/symbolize_elf.inc +108 -44
  1463. data/third_party/abseil-cpp/absl/flags/declare.h +0 -5
  1464. data/third_party/abseil-cpp/absl/flags/flag.h +1 -10
  1465. data/third_party/abseil-cpp/absl/flags/internal/flag.h +0 -5
  1466. data/third_party/abseil-cpp/absl/flags/marshalling.cc +10 -1
  1467. data/third_party/abseil-cpp/absl/flags/reflection.cc +2 -1
  1468. data/third_party/abseil-cpp/absl/functional/function_ref.h +8 -0
  1469. data/third_party/abseil-cpp/absl/functional/internal/any_invocable.h +2 -2
  1470. data/third_party/abseil-cpp/absl/hash/internal/hash.h +49 -2
  1471. data/third_party/abseil-cpp/absl/numeric/bits.h +37 -18
  1472. data/third_party/abseil-cpp/absl/random/bit_gen_ref.h +185 -0
  1473. data/third_party/abseil-cpp/absl/random/distributions.h +1 -1
  1474. data/third_party/abseil-cpp/absl/status/internal/status_internal.cc +248 -0
  1475. data/third_party/abseil-cpp/absl/status/internal/status_internal.h +55 -14
  1476. data/third_party/abseil-cpp/absl/status/internal/statusor_internal.h +53 -2
  1477. data/third_party/abseil-cpp/absl/status/status.cc +36 -238
  1478. data/third_party/abseil-cpp/absl/status/status.h +95 -53
  1479. data/third_party/abseil-cpp/absl/status/status_payload_printer.cc +1 -3
  1480. data/third_party/abseil-cpp/absl/status/status_payload_printer.h +3 -2
  1481. data/third_party/abseil-cpp/absl/status/statusor.cc +5 -2
  1482. data/third_party/abseil-cpp/absl/status/statusor.h +43 -3
  1483. data/third_party/abseil-cpp/absl/strings/ascii.cc +84 -12
  1484. data/third_party/abseil-cpp/absl/strings/ascii.h +8 -6
  1485. data/third_party/abseil-cpp/absl/strings/charconv.cc +19 -12
  1486. data/third_party/abseil-cpp/absl/strings/charconv.h +6 -3
  1487. data/third_party/abseil-cpp/absl/strings/charset.h +164 -0
  1488. data/third_party/abseil-cpp/absl/strings/cord.cc +266 -69
  1489. data/third_party/abseil-cpp/absl/strings/cord.h +138 -92
  1490. data/third_party/abseil-cpp/absl/strings/cord_analysis.cc +19 -33
  1491. data/third_party/abseil-cpp/absl/strings/cord_analysis.h +4 -3
  1492. data/third_party/abseil-cpp/absl/strings/escaping.cc +5 -4
  1493. data/third_party/abseil-cpp/absl/strings/has_absl_stringify.h +63 -0
  1494. data/third_party/abseil-cpp/absl/strings/has_ostream_operator.h +42 -0
  1495. data/third_party/abseil-cpp/absl/strings/internal/cord_internal.cc +0 -6
  1496. data/third_party/abseil-cpp/absl/strings/internal/cord_internal.h +19 -45
  1497. data/third_party/abseil-cpp/absl/strings/internal/cordz_info.cc +23 -28
  1498. data/third_party/abseil-cpp/absl/strings/internal/has_absl_stringify.h +15 -26
  1499. data/third_party/abseil-cpp/absl/strings/internal/memutil.cc +12 -4
  1500. data/third_party/abseil-cpp/absl/strings/internal/str_format/arg.cc +145 -8
  1501. data/third_party/abseil-cpp/absl/strings/internal/str_format/arg.h +72 -24
  1502. data/third_party/abseil-cpp/absl/strings/internal/str_format/bind.cc +17 -1
  1503. data/third_party/abseil-cpp/absl/strings/internal/str_format/bind.h +7 -4
  1504. data/third_party/abseil-cpp/absl/strings/internal/str_format/constexpr_parser.h +8 -3
  1505. data/third_party/abseil-cpp/absl/strings/internal/str_format/extension.h +10 -4
  1506. data/third_party/abseil-cpp/absl/strings/internal/str_format/parser.h +5 -4
  1507. data/third_party/abseil-cpp/absl/strings/match.cc +3 -0
  1508. data/third_party/abseil-cpp/absl/strings/numbers.cc +396 -153
  1509. data/third_party/abseil-cpp/absl/strings/numbers.h +193 -35
  1510. data/third_party/abseil-cpp/absl/strings/str_cat.cc +151 -21
  1511. data/third_party/abseil-cpp/absl/strings/str_cat.h +127 -25
  1512. data/third_party/abseil-cpp/absl/strings/str_format.h +30 -20
  1513. data/third_party/abseil-cpp/absl/strings/str_join.h +16 -16
  1514. data/third_party/abseil-cpp/absl/strings/str_replace.cc +12 -3
  1515. data/third_party/abseil-cpp/absl/strings/str_replace.h +8 -5
  1516. data/third_party/abseil-cpp/absl/strings/str_split.cc +8 -6
  1517. data/third_party/abseil-cpp/absl/strings/str_split.h +18 -0
  1518. data/third_party/abseil-cpp/absl/strings/string_view.cc +26 -5
  1519. data/third_party/abseil-cpp/absl/strings/string_view.h +91 -26
  1520. data/third_party/abseil-cpp/absl/strings/strip.h +5 -2
  1521. data/third_party/abseil-cpp/absl/strings/substitute.cc +12 -4
  1522. data/third_party/abseil-cpp/absl/strings/substitute.h +103 -91
  1523. data/third_party/abseil-cpp/absl/synchronization/internal/pthread_waiter.h +2 -2
  1524. data/third_party/abseil-cpp/absl/synchronization/internal/waiter.h +2 -0
  1525. data/third_party/abseil-cpp/absl/synchronization/internal/win32_waiter.h +4 -2
  1526. data/third_party/abseil-cpp/absl/synchronization/mutex.cc +296 -332
  1527. data/third_party/abseil-cpp/absl/synchronization/mutex.h +89 -34
  1528. data/third_party/abseil-cpp/absl/time/civil_time.h +26 -0
  1529. data/third_party/abseil-cpp/absl/time/clock.h +5 -1
  1530. data/third_party/abseil-cpp/absl/time/duration.cc +3 -3
  1531. data/third_party/abseil-cpp/absl/time/internal/cctz/include/cctz/civil_time_detail.h +2 -2
  1532. data/third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_format.cc +1 -1
  1533. data/third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_info.cc +9 -14
  1534. data/third_party/abseil-cpp/absl/time/internal/cctz/src/tzfile.h +0 -8
  1535. data/third_party/abseil-cpp/absl/types/bad_optional_access.cc +18 -0
  1536. data/third_party/abseil-cpp/absl/types/bad_variant_access.cc +18 -0
  1537. data/third_party/abseil-cpp/absl/types/internal/variant.h +3 -3
  1538. data/third_party/abseil-cpp/absl/types/optional.h +3 -2
  1539. data/third_party/abseil-cpp/absl/types/span.h +9 -4
  1540. data/third_party/abseil-cpp/absl/utility/utility.h +11 -93
  1541. data/third_party/boringssl-with-bazel/err_data.c +278 -276
  1542. data/third_party/boringssl-with-bazel/src/crypto/asn1/a_gentm.c +1 -1
  1543. data/third_party/boringssl-with-bazel/src/crypto/asn1/a_mbstr.c +9 -9
  1544. data/third_party/boringssl-with-bazel/src/crypto/asn1/a_strex.c +8 -21
  1545. data/third_party/boringssl-with-bazel/src/crypto/asn1/a_time.c +1 -1
  1546. data/third_party/boringssl-with-bazel/src/crypto/asn1/a_type.c +19 -1
  1547. data/third_party/boringssl-with-bazel/src/crypto/asn1/a_utctm.c +1 -1
  1548. data/third_party/boringssl-with-bazel/src/crypto/asn1/asn1_lib.c +11 -3
  1549. data/third_party/boringssl-with-bazel/src/crypto/asn1/internal.h +4 -1
  1550. data/third_party/boringssl-with-bazel/src/crypto/asn1/posix_time.c +1 -1
  1551. data/third_party/boringssl-with-bazel/src/crypto/asn1/tasn_dec.c +3 -3
  1552. data/third_party/boringssl-with-bazel/src/crypto/asn1/tasn_enc.c +1 -6
  1553. data/third_party/boringssl-with-bazel/src/crypto/asn1/tasn_new.c +4 -13
  1554. data/third_party/boringssl-with-bazel/src/crypto/base64/base64.c +1 -6
  1555. data/third_party/boringssl-with-bazel/src/crypto/bio/bio.c +27 -4
  1556. data/third_party/boringssl-with-bazel/src/crypto/bio/connect.c +1 -4
  1557. data/third_party/boringssl-with-bazel/src/crypto/bio/pair.c +1 -4
  1558. data/third_party/boringssl-with-bazel/src/crypto/bn_extra/convert.c +8 -0
  1559. data/third_party/boringssl-with-bazel/src/crypto/buf/buf.c +1 -11
  1560. data/third_party/boringssl-with-bazel/src/crypto/bytestring/ber.c +7 -8
  1561. data/third_party/boringssl-with-bazel/src/crypto/bytestring/cbb.c +42 -12
  1562. data/third_party/boringssl-with-bazel/src/crypto/bytestring/internal.h +0 -22
  1563. data/third_party/boringssl-with-bazel/src/crypto/bytestring/unicode.c +9 -9
  1564. data/third_party/boringssl-with-bazel/src/crypto/chacha/chacha.c +34 -1
  1565. data/third_party/boringssl-with-bazel/src/crypto/chacha/internal.h +49 -3
  1566. data/third_party/boringssl-with-bazel/src/crypto/cipher_extra/e_aesgcmsiv.c +30 -42
  1567. data/third_party/boringssl-with-bazel/src/crypto/conf/conf.c +87 -96
  1568. data/third_party/boringssl-with-bazel/src/crypto/conf/internal.h +5 -1
  1569. data/third_party/boringssl-with-bazel/src/crypto/cpu_intel.c +4 -2
  1570. data/third_party/boringssl-with-bazel/src/crypto/crypto.c +11 -0
  1571. data/third_party/boringssl-with-bazel/src/crypto/curve25519/curve25519.c +4 -0
  1572. data/third_party/boringssl-with-bazel/src/crypto/curve25519/spake25519.c +1 -2
  1573. data/third_party/boringssl-with-bazel/src/crypto/des/des.c +105 -31
  1574. data/third_party/boringssl-with-bazel/src/crypto/des/internal.h +10 -81
  1575. data/third_party/boringssl-with-bazel/src/crypto/dsa/dsa.c +2 -15
  1576. data/third_party/boringssl-with-bazel/src/crypto/engine/engine.c +1 -9
  1577. data/third_party/boringssl-with-bazel/src/crypto/evp/evp.c +1 -5
  1578. data/third_party/boringssl-with-bazel/src/crypto/evp/evp_ctx.c +2 -5
  1579. data/third_party/boringssl-with-bazel/src/crypto/evp/p_ec.c +1 -4
  1580. data/third_party/boringssl-with-bazel/src/crypto/evp/p_hkdf.c +1 -2
  1581. data/third_party/boringssl-with-bazel/src/crypto/evp/p_rsa.c +1 -3
  1582. data/third_party/boringssl-with-bazel/src/crypto/evp/scrypt.c +2 -2
  1583. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bn/add.c +2 -8
  1584. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bn/bn.c +1 -1
  1585. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bn/bytes.c +26 -17
  1586. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bn/ctx.c +1 -1
  1587. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bn/exponentiation.c +4 -2
  1588. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bn/gcd.c +26 -5
  1589. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bn/generic.c +10 -41
  1590. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bn/internal.h +49 -2
  1591. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bn/montgomery.c +26 -0
  1592. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bn/montgomery_inv.c +27 -26
  1593. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bn/mul.c +2 -6
  1594. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bn/prime.c +1 -8
  1595. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bn/random.c +8 -2
  1596. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/cipher/cipher.c +11 -2
  1597. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/cipher/e_aes.c +11 -24
  1598. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/cipher/e_aesccm.c +43 -50
  1599. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/dh/dh.c +2 -6
  1600. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/digest/digest.c +4 -0
  1601. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/ec/ec.c +1 -2
  1602. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/ec/ec_key.c +16 -9
  1603. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/ec/p224-64.c +7 -6
  1604. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/ec/wnaf.c +2 -7
  1605. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/rand/fork_detect.c +51 -13
  1606. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/rand/fork_detect.h +17 -0
  1607. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/rand/rand.c +5 -2
  1608. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/rsa/blinding.c +1 -2
  1609. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/rsa/rsa.c +1 -3
  1610. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/rsa/rsa_impl.c +6 -5
  1611. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/self_check/fips.c +1 -2
  1612. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/sha/internal.h +153 -6
  1613. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/sha/sha1.c +87 -7
  1614. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/sha/sha256.c +39 -5
  1615. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/sha/sha512.c +32 -5
  1616. data/third_party/boringssl-with-bazel/src/crypto/internal.h +254 -54
  1617. data/third_party/boringssl-with-bazel/src/crypto/keccak/internal.h +70 -0
  1618. data/third_party/boringssl-with-bazel/src/crypto/keccak/keccak.c +279 -0
  1619. data/third_party/boringssl-with-bazel/src/crypto/kyber/internal.h +8 -39
  1620. data/third_party/boringssl-with-bazel/src/crypto/kyber/kyber.c +39 -29
  1621. data/third_party/boringssl-with-bazel/src/crypto/lhash/lhash.c +3 -6
  1622. data/third_party/boringssl-with-bazel/src/crypto/mem.c +17 -33
  1623. data/third_party/boringssl-with-bazel/src/crypto/obj/obj.c +36 -16
  1624. data/third_party/boringssl-with-bazel/src/crypto/obj/obj_dat.h +0 -3
  1625. data/third_party/boringssl-with-bazel/src/crypto/pem/pem_info.c +31 -0
  1626. data/third_party/boringssl-with-bazel/src/crypto/pkcs7/pkcs7_x509.c +2 -4
  1627. data/third_party/boringssl-with-bazel/src/crypto/pkcs8/pkcs8.c +3 -3
  1628. data/third_party/boringssl-with-bazel/src/crypto/pkcs8/pkcs8_x509.c +9 -13
  1629. data/third_party/boringssl-with-bazel/src/crypto/pool/pool.c +3 -6
  1630. data/third_party/boringssl-with-bazel/src/crypto/rand_extra/forkunsafe.c +4 -0
  1631. data/third_party/boringssl-with-bazel/src/crypto/rsa_extra/rsa_crypt.c +3 -1
  1632. data/third_party/boringssl-with-bazel/src/crypto/spx/address.c +101 -0
  1633. data/third_party/boringssl-with-bazel/src/crypto/spx/address.h +50 -0
  1634. data/third_party/boringssl-with-bazel/src/crypto/spx/fors.c +133 -0
  1635. data/third_party/boringssl-with-bazel/src/crypto/spx/fors.h +54 -0
  1636. data/third_party/boringssl-with-bazel/src/crypto/spx/internal.h +79 -0
  1637. data/third_party/boringssl-with-bazel/src/crypto/spx/merkle.c +150 -0
  1638. data/third_party/boringssl-with-bazel/src/crypto/spx/merkle.h +61 -0
  1639. data/third_party/boringssl-with-bazel/src/crypto/spx/params.h +71 -0
  1640. data/third_party/boringssl-with-bazel/src/crypto/spx/spx.c +139 -0
  1641. data/third_party/boringssl-with-bazel/src/crypto/spx/spx_util.c +53 -0
  1642. data/third_party/boringssl-with-bazel/src/crypto/spx/spx_util.h +44 -0
  1643. data/third_party/boringssl-with-bazel/src/crypto/spx/thash.c +136 -0
  1644. data/third_party/boringssl-with-bazel/src/crypto/spx/thash.h +70 -0
  1645. data/third_party/boringssl-with-bazel/src/crypto/spx/wots.c +135 -0
  1646. data/third_party/boringssl-with-bazel/src/crypto/spx/wots.h +45 -0
  1647. data/third_party/boringssl-with-bazel/src/crypto/stack/stack.c +4 -9
  1648. data/third_party/boringssl-with-bazel/src/crypto/trust_token/pmbtoken.c +10 -22
  1649. data/third_party/boringssl-with-bazel/src/crypto/trust_token/trust_token.c +3 -6
  1650. data/third_party/boringssl-with-bazel/src/crypto/trust_token/voprf.c +12 -36
  1651. data/third_party/boringssl-with-bazel/src/crypto/x509/algorithm.c +1 -2
  1652. data/third_party/boringssl-with-bazel/src/crypto/x509/asn1_gen.c +0 -2
  1653. data/third_party/boringssl-with-bazel/src/crypto/x509/by_dir.c +14 -9
  1654. data/third_party/boringssl-with-bazel/src/crypto/x509/by_file.c +23 -33
  1655. data/third_party/boringssl-with-bazel/src/crypto/x509/internal.h +225 -51
  1656. data/third_party/boringssl-with-bazel/src/crypto/x509/policy.c +2 -6
  1657. data/third_party/boringssl-with-bazel/src/crypto/x509/rsa_pss.c +6 -2
  1658. data/third_party/boringssl-with-bazel/src/crypto/x509/t_crl.c +1 -1
  1659. data/third_party/boringssl-with-bazel/src/crypto/x509/t_req.c +1 -4
  1660. data/third_party/boringssl-with-bazel/src/crypto/x509/t_x509.c +1 -3
  1661. data/third_party/boringssl-with-bazel/src/crypto/x509/v3_akey.c +221 -0
  1662. data/third_party/boringssl-with-bazel/src/crypto/x509/v3_akeya.c +73 -0
  1663. data/third_party/boringssl-with-bazel/src/crypto/x509/v3_alt.c +634 -0
  1664. data/third_party/boringssl-with-bazel/src/crypto/x509/v3_bcons.c +135 -0
  1665. data/third_party/boringssl-with-bazel/src/crypto/x509/v3_bitst.c +141 -0
  1666. data/third_party/boringssl-with-bazel/src/crypto/x509/v3_conf.c +416 -0
  1667. data/third_party/boringssl-with-bazel/src/crypto/x509/v3_cpols.c +477 -0
  1668. data/third_party/boringssl-with-bazel/src/crypto/x509/v3_crld.c +598 -0
  1669. data/third_party/boringssl-with-bazel/src/crypto/x509/v3_enum.c +112 -0
  1670. data/third_party/boringssl-with-bazel/src/crypto/x509/v3_extku.c +154 -0
  1671. data/third_party/boringssl-with-bazel/src/crypto/x509/v3_genn.c +270 -0
  1672. data/third_party/boringssl-with-bazel/src/crypto/x509/v3_ia5.c +122 -0
  1673. data/third_party/boringssl-with-bazel/src/crypto/x509/v3_info.c +211 -0
  1674. data/third_party/boringssl-with-bazel/src/crypto/x509/v3_int.c +121 -0
  1675. data/third_party/boringssl-with-bazel/src/crypto/x509/v3_lib.c +342 -0
  1676. data/third_party/boringssl-with-bazel/src/crypto/x509/v3_ncons.c +555 -0
  1677. data/third_party/boringssl-with-bazel/src/crypto/x509/v3_ocsp.c +81 -0
  1678. data/third_party/boringssl-with-bazel/src/crypto/x509/v3_pcons.c +142 -0
  1679. data/third_party/boringssl-with-bazel/src/crypto/x509/v3_pmaps.c +150 -0
  1680. data/third_party/boringssl-with-bazel/src/crypto/x509/v3_prn.c +224 -0
  1681. data/third_party/boringssl-with-bazel/src/crypto/x509/v3_purp.c +645 -0
  1682. data/third_party/boringssl-with-bazel/src/crypto/x509/v3_skey.c +170 -0
  1683. data/third_party/boringssl-with-bazel/src/crypto/x509/v3_utl.c +1357 -0
  1684. data/third_party/boringssl-with-bazel/src/crypto/x509/x509_att.c +35 -32
  1685. data/third_party/boringssl-with-bazel/src/crypto/x509/x509_cmp.c +44 -59
  1686. data/third_party/boringssl-with-bazel/src/crypto/x509/x509_ext.c +0 -1
  1687. data/third_party/boringssl-with-bazel/src/crypto/x509/x509_lu.c +107 -255
  1688. data/third_party/boringssl-with-bazel/src/crypto/x509/x509_req.c +32 -20
  1689. data/third_party/boringssl-with-bazel/src/crypto/x509/x509_trs.c +25 -152
  1690. data/third_party/boringssl-with-bazel/src/crypto/x509/x509_v3.c +0 -1
  1691. data/third_party/boringssl-with-bazel/src/crypto/x509/x509_vfy.c +330 -944
  1692. data/third_party/boringssl-with-bazel/src/crypto/x509/x509_vpm.c +93 -215
  1693. data/third_party/boringssl-with-bazel/src/crypto/x509/x509name.c +28 -6
  1694. data/third_party/boringssl-with-bazel/src/crypto/x509/x509spki.c +1 -1
  1695. data/third_party/boringssl-with-bazel/src/crypto/x509/x_crl.c +35 -129
  1696. data/third_party/boringssl-with-bazel/src/crypto/x509/x_name.c +7 -8
  1697. data/third_party/boringssl-with-bazel/src/crypto/x509/x_pubkey.c +46 -50
  1698. data/third_party/boringssl-with-bazel/src/crypto/x509/x_spki.c +2 -0
  1699. data/third_party/boringssl-with-bazel/src/crypto/x509/x_x509.c +1 -4
  1700. data/third_party/boringssl-with-bazel/src/crypto/x509/x_x509a.c +6 -6
  1701. data/third_party/boringssl-with-bazel/src/include/openssl/arm_arch.h +0 -21
  1702. data/third_party/boringssl-with-bazel/src/include/openssl/asm_base.h +5 -6
  1703. data/third_party/boringssl-with-bazel/src/include/openssl/base.h +3 -1
  1704. data/third_party/boringssl-with-bazel/src/include/openssl/bio.h +24 -0
  1705. data/third_party/boringssl-with-bazel/src/include/openssl/bn.h +14 -5
  1706. data/third_party/boringssl-with-bazel/src/include/openssl/bytestring.h +22 -0
  1707. data/third_party/boringssl-with-bazel/src/include/openssl/cipher.h +1 -0
  1708. data/third_party/boringssl-with-bazel/src/include/openssl/conf.h +4 -1
  1709. data/third_party/boringssl-with-bazel/src/include/openssl/curve25519.h +2 -2
  1710. data/third_party/boringssl-with-bazel/src/include/openssl/des.h +0 -13
  1711. data/third_party/boringssl-with-bazel/src/include/openssl/ec.h +33 -11
  1712. data/third_party/boringssl-with-bazel/src/include/openssl/evp.h +1 -1
  1713. data/third_party/boringssl-with-bazel/src/include/openssl/ex_data.h +5 -4
  1714. data/third_party/boringssl-with-bazel/src/include/openssl/kyber.h +26 -18
  1715. data/third_party/boringssl-with-bazel/src/include/openssl/mem.h +13 -6
  1716. data/third_party/boringssl-with-bazel/src/include/openssl/obj.h +5 -1
  1717. data/third_party/boringssl-with-bazel/src/include/openssl/opensslconf.h +1 -0
  1718. data/third_party/boringssl-with-bazel/src/include/openssl/pem.h +19 -5
  1719. data/third_party/boringssl-with-bazel/src/include/openssl/posix_time.h +45 -0
  1720. data/third_party/boringssl-with-bazel/src/include/openssl/rand.h +5 -0
  1721. data/third_party/boringssl-with-bazel/src/include/openssl/sha.h +20 -3
  1722. data/third_party/boringssl-with-bazel/src/include/openssl/span.h +18 -20
  1723. data/third_party/boringssl-with-bazel/src/include/openssl/ssl.h +76 -60
  1724. data/third_party/boringssl-with-bazel/src/include/openssl/target.h +31 -6
  1725. data/third_party/boringssl-with-bazel/src/include/openssl/time.h +3 -22
  1726. data/third_party/boringssl-with-bazel/src/include/openssl/tls1.h +2 -1
  1727. data/third_party/boringssl-with-bazel/src/include/openssl/x509.h +2806 -941
  1728. data/third_party/boringssl-with-bazel/src/include/openssl/x509v3.h +38 -1025
  1729. data/third_party/boringssl-with-bazel/src/include/openssl/x509v3_errors.h +124 -0
  1730. data/third_party/boringssl-with-bazel/src/ssl/d1_both.cc +1 -2
  1731. data/third_party/boringssl-with-bazel/src/ssl/extensions.cc +82 -9
  1732. data/third_party/boringssl-with-bazel/src/ssl/handoff.cc +42 -4
  1733. data/third_party/boringssl-with-bazel/src/ssl/internal.h +4 -0
  1734. data/third_party/boringssl-with-bazel/src/ssl/ssl_key_share.cc +4 -5
  1735. data/third_party/boringssl-with-bazel/src/ssl/ssl_lib.cc +9 -1
  1736. data/third_party/boringssl-with-bazel/src/ssl/ssl_x509.cc +0 -1
  1737. data/third_party/boringssl-with-bazel/src/ssl/tls13_client.cc +5 -1
  1738. data/third_party/boringssl-with-bazel/src/ssl/tls13_server.cc +5 -1
  1739. data/third_party/boringssl-with-bazel/src/third_party/fiat/curve25519_64_adx.h +4 -2
  1740. data/third_party/boringssl-with-bazel/src/third_party/fiat/p256_64.h +21 -0
  1741. data/third_party/cares/config_linux/ares_config.h +2 -38
  1742. data/third_party/upb/upb/base/descriptor_constants.h +7 -27
  1743. data/third_party/upb/upb/base/internal/log2.h +38 -0
  1744. data/third_party/upb/upb/base/status.c +6 -26
  1745. data/third_party/upb/upb/base/status.h +6 -26
  1746. data/third_party/upb/upb/base/status.hpp +50 -0
  1747. data/third_party/upb/upb/base/string_view.h +11 -28
  1748. data/third_party/upb/upb/generated_code_support.h +33 -0
  1749. data/third_party/upb/upb/hash/common.c +12 -44
  1750. data/third_party/upb/upb/hash/common.h +16 -41
  1751. data/third_party/upb/upb/hash/int_table.h +6 -26
  1752. data/third_party/upb/upb/hash/str_table.h +7 -26
  1753. data/third_party/upb/upb/json/decode.c +31 -28
  1754. data/third_party/upb/upb/json/decode.h +32 -29
  1755. data/third_party/upb/upb/json/encode.c +31 -28
  1756. data/third_party/upb/upb/json/encode.h +35 -32
  1757. data/third_party/upb/upb/lex/atoi.c +6 -26
  1758. data/third_party/upb/upb/lex/atoi.h +8 -26
  1759. data/third_party/upb/upb/lex/round_trip.c +6 -26
  1760. data/third_party/upb/upb/lex/round_trip.h +6 -26
  1761. data/third_party/upb/upb/lex/strtod.c +6 -26
  1762. data/third_party/upb/upb/lex/strtod.h +6 -26
  1763. data/third_party/upb/upb/lex/unicode.c +6 -26
  1764. data/third_party/upb/upb/lex/unicode.h +8 -26
  1765. data/third_party/upb/upb/mem/alloc.c +6 -26
  1766. data/third_party/upb/upb/mem/alloc.h +6 -26
  1767. data/third_party/upb/upb/mem/arena.c +30 -29
  1768. data/third_party/upb/upb/mem/arena.h +16 -44
  1769. data/third_party/upb/upb/mem/arena.hpp +54 -0
  1770. data/third_party/upb/upb/mem/internal/arena.h +94 -0
  1771. data/third_party/upb/upb/message/accessors.c +34 -31
  1772. data/third_party/upb/upb/message/accessors.h +58 -57
  1773. data/third_party/upb/upb/message/array.c +154 -0
  1774. data/third_party/upb/upb/message/array.h +98 -0
  1775. data/third_party/upb/upb/message/internal/accessors.h +367 -0
  1776. data/third_party/upb/upb/message/internal/array.h +138 -0
  1777. data/third_party/upb/upb/message/internal/extension.h +63 -0
  1778. data/third_party/upb/upb/message/internal/map.h +173 -0
  1779. data/third_party/upb/upb/message/internal/map_entry.h +66 -0
  1780. data/third_party/upb/upb/message/internal/map_sorter.h +112 -0
  1781. data/third_party/upb/upb/message/internal/message.h +106 -0
  1782. data/third_party/upb/upb/message/internal/types.h +23 -0
  1783. data/third_party/upb/upb/message/map.c +145 -0
  1784. data/third_party/upb/upb/message/map.h +147 -0
  1785. data/third_party/upb/upb/message/map_gencode_util.h +81 -0
  1786. data/third_party/upb/upb/message/map_sorter.c +170 -0
  1787. data/third_party/upb/upb/message/message.c +8 -34
  1788. data/third_party/upb/upb/message/message.h +10 -27
  1789. data/third_party/upb/upb/message/tagged_ptr.h +69 -0
  1790. data/third_party/upb/upb/message/types.h +15 -0
  1791. data/third_party/upb/upb/message/value.h +46 -0
  1792. data/third_party/upb/upb/mini_descriptor/build_enum.c +130 -0
  1793. data/third_party/upb/upb/mini_descriptor/build_enum.h +42 -0
  1794. data/third_party/upb/upb/mini_descriptor/decode.c +870 -0
  1795. data/third_party/upb/upb/mini_descriptor/decode.h +120 -0
  1796. data/third_party/upb/upb/mini_descriptor/internal/base92.c +26 -0
  1797. data/third_party/upb/upb/mini_descriptor/internal/base92.h +63 -0
  1798. data/third_party/upb/upb/mini_descriptor/internal/decoder.h +53 -0
  1799. data/third_party/upb/upb/mini_descriptor/internal/encode.c +323 -0
  1800. data/third_party/upb/upb/mini_descriptor/internal/encode.h +92 -0
  1801. data/third_party/upb/upb/mini_descriptor/internal/encode.hpp +118 -0
  1802. data/third_party/upb/upb/mini_descriptor/internal/modifiers.h +32 -0
  1803. data/third_party/upb/upb/mini_descriptor/internal/wire_constants.h +72 -0
  1804. data/third_party/upb/upb/mini_descriptor/link.c +122 -0
  1805. data/third_party/upb/upb/mini_descriptor/link.h +84 -0
  1806. data/third_party/upb/upb/mini_table/enum.h +38 -0
  1807. data/third_party/upb/upb/mini_table/extension.h +15 -0
  1808. data/third_party/upb/upb/mini_table/extension_registry.c +7 -27
  1809. data/third_party/upb/upb/mini_table/extension_registry.h +9 -28
  1810. data/third_party/upb/upb/mini_table/field.h +98 -0
  1811. data/third_party/upb/upb/mini_table/file.h +15 -0
  1812. data/third_party/upb/upb/mini_table/internal/enum.h +58 -0
  1813. data/third_party/upb/upb/mini_table/internal/extension.h +27 -0
  1814. data/third_party/upb/upb/mini_table/internal/field.h +114 -0
  1815. data/third_party/upb/upb/mini_table/internal/file.h +29 -0
  1816. data/third_party/upb/upb/mini_table/internal/message.c +19 -0
  1817. data/third_party/upb/upb/mini_table/internal/message.h +88 -0
  1818. data/third_party/upb/upb/mini_table/internal/sub.h +18 -0
  1819. data/third_party/upb/upb/mini_table/message.c +77 -0
  1820. data/third_party/upb/upb/mini_table/message.h +85 -0
  1821. data/third_party/upb/upb/mini_table/sub.h +15 -0
  1822. data/third_party/upb/upb/port/atomic.h +8 -26
  1823. data/third_party/upb/upb/port/def.inc +28 -29
  1824. data/third_party/upb/upb/port/undef.inc +8 -26
  1825. data/third_party/upb/upb/port/vsnprintf_compat.h +6 -26
  1826. data/third_party/upb/upb/reflection/common.h +11 -27
  1827. data/third_party/upb/upb/reflection/def.h +8 -26
  1828. data/third_party/upb/upb/reflection/def.hpp +26 -31
  1829. data/third_party/upb/upb/reflection/def_pool.c +16 -35
  1830. data/third_party/upb/upb/reflection/def_pool.h +17 -38
  1831. data/third_party/upb/upb/reflection/def_type.c +6 -26
  1832. data/third_party/upb/upb/reflection/def_type.h +6 -27
  1833. data/third_party/upb/upb/reflection/desc_state.c +7 -27
  1834. data/third_party/upb/upb/reflection/enum_def.c +19 -37
  1835. data/third_party/upb/upb/reflection/enum_def.h +13 -33
  1836. data/third_party/upb/upb/reflection/enum_reserved_range.c +9 -30
  1837. data/third_party/upb/upb/reflection/enum_reserved_range.h +6 -26
  1838. data/third_party/upb/upb/reflection/enum_value_def.c +13 -32
  1839. data/third_party/upb/upb/reflection/enum_value_def.h +8 -28
  1840. data/third_party/upb/upb/reflection/extension_range.c +9 -28
  1841. data/third_party/upb/upb/reflection/extension_range.h +6 -26
  1842. data/third_party/upb/upb/reflection/field_def.c +70 -52
  1843. data/third_party/upb/upb/reflection/field_def.h +25 -42
  1844. data/third_party/upb/upb/reflection/file_def.c +23 -48
  1845. data/third_party/upb/upb/reflection/file_def.h +10 -30
  1846. data/third_party/upb/upb/reflection/internal/def_builder.c +339 -0
  1847. data/third_party/upb/upb/reflection/internal/def_builder.h +137 -0
  1848. data/third_party/upb/upb/reflection/internal/def_pool.h +57 -0
  1849. data/third_party/upb/upb/reflection/internal/desc_state.h +44 -0
  1850. data/third_party/upb/upb/reflection/internal/enum_def.h +36 -0
  1851. data/third_party/upb/upb/reflection/internal/enum_reserved_range.h +35 -0
  1852. data/third_party/upb/upb/reflection/internal/enum_value_def.h +37 -0
  1853. data/third_party/upb/upb/reflection/internal/extension_range.h +34 -0
  1854. data/third_party/upb/upb/reflection/internal/field_def.h +56 -0
  1855. data/third_party/upb/upb/reflection/internal/file_def.h +37 -0
  1856. data/third_party/upb/upb/reflection/internal/message_def.h +43 -0
  1857. data/third_party/upb/upb/reflection/internal/message_reserved_range.h +35 -0
  1858. data/third_party/upb/upb/reflection/internal/method_def.h +33 -0
  1859. data/third_party/upb/upb/reflection/internal/oneof_def.h +37 -0
  1860. data/third_party/upb/upb/reflection/internal/service_def.h +33 -0
  1861. data/third_party/upb/upb/reflection/internal/strdup2.c +33 -0
  1862. data/third_party/upb/upb/reflection/internal/strdup2.h +32 -0
  1863. data/third_party/upb/upb/reflection/message.c +10 -30
  1864. data/third_party/upb/upb/reflection/message.h +27 -40
  1865. data/third_party/upb/upb/reflection/message.hpp +5 -23
  1866. data/third_party/upb/upb/reflection/message_def.c +73 -55
  1867. data/third_party/upb/upb/reflection/message_def.h +25 -43
  1868. data/third_party/upb/upb/reflection/message_reserved_range.c +8 -28
  1869. data/third_party/upb/upb/reflection/message_reserved_range.h +6 -26
  1870. data/third_party/upb/upb/reflection/method_def.c +10 -29
  1871. data/third_party/upb/upb/reflection/method_def.h +6 -26
  1872. data/third_party/upb/upb/reflection/oneof_def.c +15 -33
  1873. data/third_party/upb/upb/reflection/oneof_def.h +11 -30
  1874. data/third_party/upb/upb/reflection/service_def.c +12 -31
  1875. data/third_party/upb/upb/reflection/service_def.h +6 -26
  1876. data/third_party/upb/upb/text/encode.c +8 -28
  1877. data/third_party/upb/upb/text/encode.h +6 -26
  1878. data/third_party/upb/upb/wire/decode.c +106 -68
  1879. data/third_party/upb/upb/wire/decode.h +50 -26
  1880. data/third_party/upb/upb/wire/decode_fast.c +10 -28
  1881. data/third_party/upb/upb/wire/decode_fast.h +6 -26
  1882. data/third_party/upb/upb/wire/encode.c +52 -46
  1883. data/third_party/upb/upb/wire/encode.h +14 -30
  1884. data/third_party/upb/upb/wire/eps_copy_input_stream.c +6 -26
  1885. data/third_party/upb/upb/wire/eps_copy_input_stream.h +6 -26
  1886. data/third_party/upb/upb/wire/internal/constants.h +27 -0
  1887. data/third_party/upb/upb/wire/internal/decode.h +143 -0
  1888. data/third_party/upb/upb/wire/internal/swap.h +45 -0
  1889. data/third_party/upb/upb/wire/reader.c +6 -26
  1890. data/third_party/upb/upb/wire/reader.h +8 -28
  1891. data/third_party/upb/upb/wire/types.h +6 -26
  1892. data/third_party/zlib/adler32.c +5 -27
  1893. data/third_party/zlib/compress.c +5 -16
  1894. data/third_party/zlib/crc32.c +86 -162
  1895. data/third_party/zlib/deflate.c +233 -336
  1896. data/third_party/zlib/deflate.h +8 -8
  1897. data/third_party/zlib/gzguts.h +11 -12
  1898. data/third_party/zlib/infback.c +7 -23
  1899. data/third_party/zlib/inffast.c +1 -4
  1900. data/third_party/zlib/inffast.h +1 -1
  1901. data/third_party/zlib/inflate.c +30 -99
  1902. data/third_party/zlib/inftrees.c +6 -11
  1903. data/third_party/zlib/inftrees.h +3 -3
  1904. data/third_party/zlib/trees.c +224 -302
  1905. data/third_party/zlib/uncompr.c +4 -12
  1906. data/third_party/zlib/zconf.h +6 -2
  1907. data/third_party/zlib/zlib.h +191 -188
  1908. data/third_party/zlib/zutil.c +16 -44
  1909. data/third_party/zlib/zutil.h +10 -10
  1910. metadata +1125 -877
  1911. data/src/core/ext/filters/client_channel/backend_metric.cc +0 -95
  1912. data/src/core/ext/filters/client_channel/backend_metric.h +0 -47
  1913. data/src/core/ext/filters/client_channel/backup_poller.cc +0 -178
  1914. data/src/core/ext/filters/client_channel/backup_poller.h +0 -37
  1915. data/src/core/ext/filters/client_channel/channel_connectivity.cc +0 -265
  1916. data/src/core/ext/filters/client_channel/client_channel.cc +0 -3246
  1917. data/src/core/ext/filters/client_channel/client_channel.h +0 -595
  1918. data/src/core/ext/filters/client_channel/client_channel_channelz.cc +0 -93
  1919. data/src/core/ext/filters/client_channel/client_channel_channelz.h +0 -85
  1920. data/src/core/ext/filters/client_channel/client_channel_factory.cc +0 -32
  1921. data/src/core/ext/filters/client_channel/client_channel_factory.h +0 -46
  1922. data/src/core/ext/filters/client_channel/client_channel_internal.h +0 -77
  1923. data/src/core/ext/filters/client_channel/client_channel_plugin.cc +0 -42
  1924. data/src/core/ext/filters/client_channel/client_channel_service_config.cc +0 -153
  1925. data/src/core/ext/filters/client_channel/client_channel_service_config.h +0 -111
  1926. data/src/core/ext/filters/client_channel/config_selector.cc +0 -60
  1927. data/src/core/ext/filters/client_channel/config_selector.h +0 -125
  1928. data/src/core/ext/filters/client_channel/connector.h +0 -88
  1929. data/src/core/ext/filters/client_channel/dynamic_filters.cc +0 -175
  1930. data/src/core/ext/filters/client_channel/dynamic_filters.h +0 -108
  1931. data/src/core/ext/filters/client_channel/global_subchannel_pool.cc +0 -65
  1932. data/src/core/ext/filters/client_channel/global_subchannel_pool.h +0 -63
  1933. data/src/core/ext/filters/client_channel/http_proxy.cc +0 -238
  1934. data/src/core/ext/filters/client_channel/http_proxy.h +0 -52
  1935. data/src/core/ext/filters/client_channel/lb_policy/address_filtering.cc +0 -74
  1936. data/src/core/ext/filters/client_channel/lb_policy/address_filtering.h +0 -117
  1937. data/src/core/ext/filters/client_channel/lb_policy/backend_metric_data.h +0 -57
  1938. data/src/core/ext/filters/client_channel/lb_policy/child_policy_handler.cc +0 -315
  1939. data/src/core/ext/filters/client_channel/lb_policy/child_policy_handler.h +0 -88
  1940. data/src/core/ext/filters/client_channel/lb_policy/grpclb/client_load_reporting_filter.cc +0 -85
  1941. data/src/core/ext/filters/client_channel/lb_policy/grpclb/client_load_reporting_filter.h +0 -46
  1942. data/src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb.cc +0 -1867
  1943. data/src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb.h +0 -39
  1944. data/src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_balancer_addresses.cc +0 -89
  1945. data/src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_balancer_addresses.h +0 -39
  1946. data/src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_client_stats.cc +0 -90
  1947. data/src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_client_stats.h +0 -81
  1948. data/src/core/ext/filters/client_channel/lb_policy/grpclb/load_balancer_api.cc +0 -202
  1949. data/src/core/ext/filters/client_channel/lb_policy/grpclb/load_balancer_api.h +0 -77
  1950. data/src/core/ext/filters/client_channel/lb_policy/health_check_client.cc +0 -480
  1951. data/src/core/ext/filters/client_channel/lb_policy/health_check_client.h +0 -52
  1952. data/src/core/ext/filters/client_channel/lb_policy/health_check_client_internal.h +0 -202
  1953. data/src/core/ext/filters/client_channel/lb_policy/oob_backend_metric.cc +0 -335
  1954. data/src/core/ext/filters/client_channel/lb_policy/oob_backend_metric.h +0 -57
  1955. data/src/core/ext/filters/client_channel/lb_policy/oob_backend_metric_internal.h +0 -119
  1956. data/src/core/ext/filters/client_channel/lb_policy/outlier_detection/outlier_detection.cc +0 -1187
  1957. data/src/core/ext/filters/client_channel/lb_policy/outlier_detection/outlier_detection.h +0 -101
  1958. data/src/core/ext/filters/client_channel/lb_policy/pick_first/pick_first.cc +0 -598
  1959. data/src/core/ext/filters/client_channel/lb_policy/pick_first/pick_first.h +0 -20
  1960. data/src/core/ext/filters/client_channel/lb_policy/priority/priority.cc +0 -897
  1961. data/src/core/ext/filters/client_channel/lb_policy/ring_hash/ring_hash.cc +0 -881
  1962. data/src/core/ext/filters/client_channel/lb_policy/ring_hash/ring_hash.h +0 -64
  1963. data/src/core/ext/filters/client_channel/lb_policy/rls/rls.cc +0 -2457
  1964. data/src/core/ext/filters/client_channel/lb_policy/round_robin/round_robin.cc +0 -537
  1965. data/src/core/ext/filters/client_channel/lb_policy/subchannel_list.h +0 -488
  1966. data/src/core/ext/filters/client_channel/lb_policy/weighted_round_robin/static_stride_scheduler.cc +0 -198
  1967. data/src/core/ext/filters/client_channel/lb_policy/weighted_round_robin/static_stride_scheduler.h +0 -71
  1968. data/src/core/ext/filters/client_channel/lb_policy/weighted_round_robin/weighted_round_robin.cc +0 -1019
  1969. data/src/core/ext/filters/client_channel/lb_policy/weighted_target/weighted_target.cc +0 -752
  1970. data/src/core/ext/filters/client_channel/lb_policy/xds/cds.cc +0 -706
  1971. data/src/core/ext/filters/client_channel/lb_policy/xds/xds_channel_args.h +0 -37
  1972. data/src/core/ext/filters/client_channel/lb_policy/xds/xds_cluster_impl.cc +0 -750
  1973. data/src/core/ext/filters/client_channel/lb_policy/xds/xds_cluster_manager.cc +0 -650
  1974. data/src/core/ext/filters/client_channel/lb_policy/xds/xds_cluster_resolver.cc +0 -1158
  1975. data/src/core/ext/filters/client_channel/lb_policy/xds/xds_override_host.cc +0 -780
  1976. data/src/core/ext/filters/client_channel/lb_policy/xds/xds_override_host.h +0 -67
  1977. data/src/core/ext/filters/client_channel/lb_policy/xds/xds_wrr_locality.cc +0 -301
  1978. data/src/core/ext/filters/client_channel/local_subchannel_pool.cc +0 -60
  1979. data/src/core/ext/filters/client_channel/local_subchannel_pool.h +0 -59
  1980. data/src/core/ext/filters/client_channel/resolver/binder/binder_resolver.cc +0 -148
  1981. data/src/core/ext/filters/client_channel/resolver/dns/c_ares/dns_resolver_ares.cc +0 -758
  1982. data/src/core/ext/filters/client_channel/resolver/dns/c_ares/dns_resolver_ares.h +0 -30
  1983. data/src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_ev_driver.h +0 -90
  1984. data/src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_ev_driver_posix.cc +0 -206
  1985. data/src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_ev_driver_windows.cc +0 -888
  1986. data/src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper.cc +0 -1211
  1987. data/src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper.h +0 -139
  1988. data/src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper_posix.cc +0 -29
  1989. data/src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper_windows.cc +0 -35
  1990. data/src/core/ext/filters/client_channel/resolver/dns/dns_resolver_plugin.cc +0 -66
  1991. data/src/core/ext/filters/client_channel/resolver/dns/dns_resolver_plugin.h +0 -27
  1992. data/src/core/ext/filters/client_channel/resolver/dns/event_engine/event_engine_client_channel_resolver.cc +0 -586
  1993. data/src/core/ext/filters/client_channel/resolver/dns/event_engine/event_engine_client_channel_resolver.h +0 -35
  1994. data/src/core/ext/filters/client_channel/resolver/dns/event_engine/service_config_helper.cc +0 -97
  1995. data/src/core/ext/filters/client_channel/resolver/dns/event_engine/service_config_helper.h +0 -32
  1996. data/src/core/ext/filters/client_channel/resolver/dns/native/dns_resolver.cc +0 -184
  1997. data/src/core/ext/filters/client_channel/resolver/dns/native/dns_resolver.h +0 -24
  1998. data/src/core/ext/filters/client_channel/resolver/fake/fake_resolver.cc +0 -368
  1999. data/src/core/ext/filters/client_channel/resolver/fake/fake_resolver.h +0 -110
  2000. data/src/core/ext/filters/client_channel/resolver/google_c2p/google_c2p_resolver.cc +0 -326
  2001. data/src/core/ext/filters/client_channel/resolver/polling_resolver.cc +0 -274
  2002. data/src/core/ext/filters/client_channel/resolver/polling_resolver.h +0 -121
  2003. data/src/core/ext/filters/client_channel/resolver/sockaddr/sockaddr_resolver.cc +0 -202
  2004. data/src/core/ext/filters/client_channel/resolver/xds/xds_resolver.cc +0 -1276
  2005. data/src/core/ext/filters/client_channel/resolver/xds/xds_resolver.h +0 -61
  2006. data/src/core/ext/filters/client_channel/retry_filter.cc +0 -160
  2007. data/src/core/ext/filters/client_channel/retry_filter.h +0 -122
  2008. data/src/core/ext/filters/client_channel/retry_filter_legacy_call_data.cc +0 -2052
  2009. data/src/core/ext/filters/client_channel/retry_filter_legacy_call_data.h +0 -442
  2010. data/src/core/ext/filters/client_channel/retry_service_config.cc +0 -283
  2011. data/src/core/ext/filters/client_channel/retry_service_config.h +0 -105
  2012. data/src/core/ext/filters/client_channel/retry_throttle.cc +0 -139
  2013. data/src/core/ext/filters/client_channel/retry_throttle.h +0 -92
  2014. data/src/core/ext/filters/client_channel/service_config_channel_arg_filter.cc +0 -124
  2015. data/src/core/ext/filters/client_channel/subchannel.cc +0 -778
  2016. data/src/core/ext/filters/client_channel/subchannel.h +0 -378
  2017. data/src/core/ext/filters/client_channel/subchannel_interface_internal.h +0 -41
  2018. data/src/core/ext/filters/client_channel/subchannel_pool_interface.cc +0 -66
  2019. data/src/core/ext/filters/client_channel/subchannel_pool_interface.h +0 -100
  2020. data/src/core/ext/filters/client_channel/subchannel_stream_client.cc +0 -469
  2021. data/src/core/ext/filters/client_channel/subchannel_stream_client.h +0 -225
  2022. data/src/core/ext/upb-generated/envoy/admin/v3/certs.upb.c +0 -152
  2023. data/src/core/ext/upb-generated/envoy/admin/v3/certs.upb.h +0 -735
  2024. data/src/core/ext/upb-generated/envoy/admin/v3/clusters.upb.c +0 -183
  2025. data/src/core/ext/upb-generated/envoy/admin/v3/clusters.upb.h +0 -835
  2026. data/src/core/ext/upb-generated/envoy/admin/v3/config_dump.upb.c +0 -160
  2027. data/src/core/ext/upb-generated/envoy/admin/v3/config_dump.upb.h +0 -743
  2028. data/src/core/ext/upb-generated/envoy/admin/v3/config_dump_shared.upb.c +0 -535
  2029. data/src/core/ext/upb-generated/envoy/admin/v3/config_dump_shared.upb.h +0 -2796
  2030. data/src/core/ext/upb-generated/envoy/admin/v3/init_dump.upb.c +0 -69
  2031. data/src/core/ext/upb-generated/envoy/admin/v3/init_dump.upb.h +0 -256
  2032. data/src/core/ext/upb-generated/envoy/admin/v3/listeners.upb.c +0 -77
  2033. data/src/core/ext/upb-generated/envoy/admin/v3/listeners.upb.h +0 -287
  2034. data/src/core/ext/upb-generated/envoy/admin/v3/memory.upb.c +0 -59
  2035. data/src/core/ext/upb-generated/envoy/admin/v3/memory.upb.h +0 -168
  2036. data/src/core/ext/upb-generated/envoy/admin/v3/metrics.upb.c +0 -52
  2037. data/src/core/ext/upb-generated/envoy/admin/v3/metrics.upb.h +0 -128
  2038. data/src/core/ext/upb-generated/envoy/admin/v3/mutex_stats.upb.c +0 -52
  2039. data/src/core/ext/upb-generated/envoy/admin/v3/mutex_stats.upb.h +0 -123
  2040. data/src/core/ext/upb-generated/envoy/admin/v3/server_info.upb.c +0 -153
  2041. data/src/core/ext/upb-generated/envoy/admin/v3/server_info.upb.h +0 -935
  2042. data/src/core/ext/upb-generated/envoy/admin/v3/tap.upb.c +0 -57
  2043. data/src/core/ext/upb-generated/envoy/admin/v3/tap.upb.h +0 -122
  2044. data/src/core/ext/upb-generated/envoy/annotations/deprecation.upb.c +0 -63
  2045. data/src/core/ext/upb-generated/envoy/annotations/deprecation.upb.h +0 -134
  2046. data/src/core/ext/upb-generated/envoy/annotations/resource.upb.c +0 -60
  2047. data/src/core/ext/upb-generated/envoy/annotations/resource.upb.h +0 -118
  2048. data/src/core/ext/upb-generated/envoy/config/accesslog/v3/accesslog.upb.c +0 -378
  2049. data/src/core/ext/upb-generated/envoy/config/accesslog/v3/accesslog.upb.h +0 -1772
  2050. data/src/core/ext/upb-generated/envoy/config/bootstrap/v3/bootstrap.upb.c +0 -572
  2051. data/src/core/ext/upb-generated/envoy/config/bootstrap/v3/bootstrap.upb.h +0 -3257
  2052. data/src/core/ext/upb-generated/envoy/config/cluster/v3/circuit_breaker.upb.c +0 -128
  2053. data/src/core/ext/upb-generated/envoy/config/cluster/v3/circuit_breaker.upb.h +0 -532
  2054. data/src/core/ext/upb-generated/envoy/config/cluster/v3/cluster.upb.c +0 -732
  2055. data/src/core/ext/upb-generated/envoy/config/cluster/v3/cluster.upb.h +0 -3926
  2056. data/src/core/ext/upb-generated/envoy/config/cluster/v3/filter.upb.c +0 -57
  2057. data/src/core/ext/upb-generated/envoy/config/cluster/v3/filter.upb.h +0 -122
  2058. data/src/core/ext/upb-generated/envoy/config/cluster/v3/outlier_detection.upb.c +0 -126
  2059. data/src/core/ext/upb-generated/envoy/config/cluster/v3/outlier_detection.upb.h +0 -664
  2060. data/src/core/ext/upb-generated/envoy/config/common/matcher/v3/matcher.upb.c +0 -398
  2061. data/src/core/ext/upb-generated/envoy/config/common/matcher/v3/matcher.upb.h +0 -1849
  2062. data/src/core/ext/upb-generated/envoy/config/core/v3/address.upb.c +0 -227
  2063. data/src/core/ext/upb-generated/envoy/config/core/v3/address.upb.h +0 -1054
  2064. data/src/core/ext/upb-generated/envoy/config/core/v3/backoff.upb.c +0 -58
  2065. data/src/core/ext/upb-generated/envoy/config/core/v3/backoff.upb.h +0 -134
  2066. data/src/core/ext/upb-generated/envoy/config/core/v3/base.upb.c +0 -580
  2067. data/src/core/ext/upb-generated/envoy/config/core/v3/base.upb.h +0 -2448
  2068. data/src/core/ext/upb-generated/envoy/config/core/v3/config_source.upb.c +0 -228
  2069. data/src/core/ext/upb-generated/envoy/config/core/v3/config_source.upb.h +0 -1141
  2070. data/src/core/ext/upb-generated/envoy/config/core/v3/event_service_config.upb.c +0 -54
  2071. data/src/core/ext/upb-generated/envoy/config/core/v3/event_service_config.upb.h +0 -115
  2072. data/src/core/ext/upb-generated/envoy/config/core/v3/extension.upb.c +0 -56
  2073. data/src/core/ext/upb-generated/envoy/config/core/v3/extension.upb.h +0 -122
  2074. data/src/core/ext/upb-generated/envoy/config/core/v3/grpc_method_list.upb.c +0 -71
  2075. data/src/core/ext/upb-generated/envoy/config/core/v3/grpc_method_list.upb.h +0 -256
  2076. data/src/core/ext/upb-generated/envoy/config/core/v3/grpc_service.upb.c +0 -381
  2077. data/src/core/ext/upb-generated/envoy/config/core/v3/grpc_service.upb.h +0 -1707
  2078. data/src/core/ext/upb-generated/envoy/config/core/v3/health_check.upb.c +0 -318
  2079. data/src/core/ext/upb-generated/envoy/config/core/v3/health_check.upb.h +0 -1951
  2080. data/src/core/ext/upb-generated/envoy/config/core/v3/http_uri.upb.c +0 -58
  2081. data/src/core/ext/upb-generated/envoy/config/core/v3/http_uri.upb.h +0 -149
  2082. data/src/core/ext/upb-generated/envoy/config/core/v3/protocol.upb.c +0 -484
  2083. data/src/core/ext/upb-generated/envoy/config/core/v3/protocol.upb.h +0 -2264
  2084. data/src/core/ext/upb-generated/envoy/config/core/v3/proxy_protocol.upb.c +0 -73
  2085. data/src/core/ext/upb-generated/envoy/config/core/v3/proxy_protocol.upb.h +0 -245
  2086. data/src/core/ext/upb-generated/envoy/config/core/v3/resolver.upb.c +0 -75
  2087. data/src/core/ext/upb-generated/envoy/config/core/v3/resolver.upb.h +0 -239
  2088. data/src/core/ext/upb-generated/envoy/config/core/v3/socket_option.upb.c +0 -79
  2089. data/src/core/ext/upb-generated/envoy/config/core/v3/socket_option.upb.h +0 -293
  2090. data/src/core/ext/upb-generated/envoy/config/core/v3/substitution_format_string.upb.c +0 -69
  2091. data/src/core/ext/upb-generated/envoy/config/core/v3/substitution_format_string.upb.h +0 -260
  2092. data/src/core/ext/upb-generated/envoy/config/core/v3/udp_socket_config.upb.c +0 -57
  2093. data/src/core/ext/upb-generated/envoy/config/core/v3/udp_socket_config.upb.h +0 -136
  2094. data/src/core/ext/upb-generated/envoy/config/endpoint/v3/endpoint.upb.c +0 -141
  2095. data/src/core/ext/upb-generated/envoy/config/endpoint/v3/endpoint.upb.h +0 -498
  2096. data/src/core/ext/upb-generated/envoy/config/endpoint/v3/endpoint_components.upb.c +0 -207
  2097. data/src/core/ext/upb-generated/envoy/config/endpoint/v3/endpoint_components.upb.h +0 -875
  2098. data/src/core/ext/upb-generated/envoy/config/endpoint/v3/load_report.upb.c +0 -182
  2099. data/src/core/ext/upb-generated/envoy/config/endpoint/v3/load_report.upb.h +0 -920
  2100. data/src/core/ext/upb-generated/envoy/config/listener/v3/api_listener.upb.c +0 -53
  2101. data/src/core/ext/upb-generated/envoy/config/listener/v3/api_listener.upb.h +0 -107
  2102. data/src/core/ext/upb-generated/envoy/config/listener/v3/listener.upb.c +0 -269
  2103. data/src/core/ext/upb-generated/envoy/config/listener/v3/listener.upb.h +0 -1600
  2104. data/src/core/ext/upb-generated/envoy/config/listener/v3/listener_components.upb.c +0 -263
  2105. data/src/core/ext/upb-generated/envoy/config/listener/v3/listener_components.upb.h +0 -1459
  2106. data/src/core/ext/upb-generated/envoy/config/listener/v3/quic_config.upb.c +0 -89
  2107. data/src/core/ext/upb-generated/envoy/config/listener/v3/quic_config.upb.h +0 -331
  2108. data/src/core/ext/upb-generated/envoy/config/listener/v3/udp_listener_config.upb.c +0 -80
  2109. data/src/core/ext/upb-generated/envoy/config/listener/v3/udp_listener_config.upb.h +0 -204
  2110. data/src/core/ext/upb-generated/envoy/config/metrics/v3/metrics_service.upb.c +0 -67
  2111. data/src/core/ext/upb-generated/envoy/config/metrics/v3/metrics_service.upb.h +0 -187
  2112. data/src/core/ext/upb-generated/envoy/config/metrics/v3/stats.upb.c +0 -222
  2113. data/src/core/ext/upb-generated/envoy/config/metrics/v3/stats.upb.h +0 -988
  2114. data/src/core/ext/upb-generated/envoy/config/overload/v3/overload.upb.c +0 -253
  2115. data/src/core/ext/upb-generated/envoy/config/overload/v3/overload.upb.h +0 -1197
  2116. data/src/core/ext/upb-generated/envoy/config/rbac/v3/rbac.upb.c +0 -351
  2117. data/src/core/ext/upb-generated/envoy/config/rbac/v3/rbac.upb.h +0 -1717
  2118. data/src/core/ext/upb-generated/envoy/config/route/v3/route.upb.c +0 -136
  2119. data/src/core/ext/upb-generated/envoy/config/route/v3/route.upb.h +0 -867
  2120. data/src/core/ext/upb-generated/envoy/config/route/v3/route_components.upb.c +0 -1646
  2121. data/src/core/ext/upb-generated/envoy/config/route/v3/route_components.upb.h +0 -9598
  2122. data/src/core/ext/upb-generated/envoy/config/route/v3/scoped_route.upb.c +0 -100
  2123. data/src/core/ext/upb-generated/envoy/config/route/v3/scoped_route.upb.h +0 -347
  2124. data/src/core/ext/upb-generated/envoy/config/tap/v3/common.upb.c +0 -328
  2125. data/src/core/ext/upb-generated/envoy/config/tap/v3/common.upb.h +0 -1530
  2126. data/src/core/ext/upb-generated/envoy/config/trace/v3/datadog.upb.c +0 -54
  2127. data/src/core/ext/upb-generated/envoy/config/trace/v3/datadog.upb.h +0 -123
  2128. data/src/core/ext/upb-generated/envoy/config/trace/v3/dynamic_ot.upb.c +0 -58
  2129. data/src/core/ext/upb-generated/envoy/config/trace/v3/dynamic_ot.upb.h +0 -122
  2130. data/src/core/ext/upb-generated/envoy/config/trace/v3/http_tracer.upb.c +0 -76
  2131. data/src/core/ext/upb-generated/envoy/config/trace/v3/http_tracer.upb.h +0 -196
  2132. data/src/core/ext/upb-generated/envoy/config/trace/v3/lightstep.upb.c +0 -65
  2133. data/src/core/ext/upb-generated/envoy/config/trace/v3/lightstep.upb.h +0 -205
  2134. data/src/core/ext/upb-generated/envoy/config/trace/v3/opencensus.upb.c +0 -84
  2135. data/src/core/ext/upb-generated/envoy/config/trace/v3/opencensus.upb.h +0 -413
  2136. data/src/core/ext/upb-generated/envoy/config/trace/v3/opentelemetry.upb.c +0 -55
  2137. data/src/core/ext/upb-generated/envoy/config/trace/v3/opentelemetry.upb.h +0 -122
  2138. data/src/core/ext/upb-generated/envoy/config/trace/v3/service.upb.c +0 -54
  2139. data/src/core/ext/upb-generated/envoy/config/trace/v3/service.upb.h +0 -107
  2140. data/src/core/ext/upb-generated/envoy/config/trace/v3/skywalking.upb.c +0 -88
  2141. data/src/core/ext/upb-generated/envoy/config/trace/v3/skywalking.upb.h +0 -259
  2142. data/src/core/ext/upb-generated/envoy/config/trace/v3/trace.upb.c +0 -36
  2143. data/src/core/ext/upb-generated/envoy/config/trace/v3/trace.upb.h +0 -48
  2144. data/src/core/ext/upb-generated/envoy/config/trace/v3/xray.upb.c +0 -90
  2145. data/src/core/ext/upb-generated/envoy/config/trace/v3/xray.upb.h +0 -261
  2146. data/src/core/ext/upb-generated/envoy/config/trace/v3/zipkin.upb.c +0 -68
  2147. data/src/core/ext/upb-generated/envoy/config/trace/v3/zipkin.upb.h +0 -204
  2148. data/src/core/ext/upb-generated/envoy/data/accesslog/v3/accesslog.upb.c +0 -558
  2149. data/src/core/ext/upb-generated/envoy/data/accesslog/v3/accesslog.upb.h +0 -2710
  2150. data/src/core/ext/upb-generated/envoy/extensions/clusters/aggregate/v3/cluster.upb.c +0 -49
  2151. data/src/core/ext/upb-generated/envoy/extensions/clusters/aggregate/v3/cluster.upb.h +0 -139
  2152. data/src/core/ext/upb-generated/envoy/extensions/filters/common/fault/v3/fault.upb.c +0 -119
  2153. data/src/core/ext/upb-generated/envoy/extensions/filters/common/fault/v3/fault.upb.h +0 -437
  2154. data/src/core/ext/upb-generated/envoy/extensions/filters/http/fault/v3/fault.upb.c +0 -144
  2155. data/src/core/ext/upb-generated/envoy/extensions/filters/http/fault/v3/fault.upb.h +0 -664
  2156. data/src/core/ext/upb-generated/envoy/extensions/filters/http/rbac/v3/rbac.upb.c +0 -90
  2157. data/src/core/ext/upb-generated/envoy/extensions/filters/http/rbac/v3/rbac.upb.h +0 -271
  2158. data/src/core/ext/upb-generated/envoy/extensions/filters/http/router/v3/router.upb.c +0 -104
  2159. data/src/core/ext/upb-generated/envoy/extensions/filters/http/router/v3/router.upb.h +0 -468
  2160. data/src/core/ext/upb-generated/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upb.c +0 -75
  2161. data/src/core/ext/upb-generated/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upb.h +0 -201
  2162. data/src/core/ext/upb-generated/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upb.c +0 -682
  2163. data/src/core/ext/upb-generated/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upb.h +0 -3973
  2164. data/src/core/ext/upb-generated/envoy/extensions/http/stateful_session/cookie/v3/cookie.upb.c +0 -53
  2165. data/src/core/ext/upb-generated/envoy/extensions/http/stateful_session/cookie/v3/cookie.upb.h +0 -107
  2166. data/src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/client_side_weighted_round_robin/v3/client_side_weighted_round_robin.upb.c +0 -70
  2167. data/src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/client_side_weighted_round_robin/v3/client_side_weighted_round_robin.upb.h +0 -246
  2168. data/src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/common/v3/common.upb.c +0 -138
  2169. data/src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/common/v3/common.upb.h +0 -499
  2170. data/src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/pick_first/v3/pick_first.upb.c +0 -47
  2171. data/src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/pick_first/v3/pick_first.upb.h +0 -93
  2172. data/src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/ring_hash/v3/ring_hash.upb.c +0 -71
  2173. data/src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/ring_hash/v3/ring_hash.upb.h +0 -257
  2174. data/src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/wrr_locality/v3/wrr_locality.upb.c +0 -53
  2175. data/src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/wrr_locality/v3/wrr_locality.upb.h +0 -107
  2176. data/src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/cert.upb.c +0 -31
  2177. data/src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/cert.upb.h +0 -43
  2178. data/src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/common.upb.c +0 -265
  2179. data/src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/common.upb.h +0 -1479
  2180. data/src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/secret.upb.c +0 -111
  2181. data/src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/secret.upb.h +0 -369
  2182. data/src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/tls.upb.c +0 -270
  2183. data/src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/tls.upb.h +0 -1482
  2184. data/src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upb.c +0 -75
  2185. data/src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upb.h +0 -224
  2186. data/src/core/ext/upb-generated/envoy/service/discovery/v3/ads.upb.c +0 -41
  2187. data/src/core/ext/upb-generated/envoy/service/discovery/v3/ads.upb.h +0 -78
  2188. data/src/core/ext/upb-generated/envoy/service/discovery/v3/discovery.upb.c +0 -405
  2189. data/src/core/ext/upb-generated/envoy/service/discovery/v3/discovery.upb.h +0 -2161
  2190. data/src/core/ext/upb-generated/envoy/service/load_stats/v3/lrs.upb.c +0 -87
  2191. data/src/core/ext/upb-generated/envoy/service/load_stats/v3/lrs.upb.h +0 -331
  2192. data/src/core/ext/upb-generated/envoy/service/status/v3/csds.upb.c +0 -185
  2193. data/src/core/ext/upb-generated/envoy/service/status/v3/csds.upb.h +0 -923
  2194. data/src/core/ext/upb-generated/envoy/type/http/v3/cookie.upb.c +0 -57
  2195. data/src/core/ext/upb-generated/envoy/type/http/v3/cookie.upb.h +0 -137
  2196. data/src/core/ext/upb-generated/envoy/type/http/v3/path_transformation.upb.c +0 -89
  2197. data/src/core/ext/upb-generated/envoy/type/http/v3/path_transformation.upb.h +0 -321
  2198. data/src/core/ext/upb-generated/envoy/type/matcher/v3/filter_state.upb.c +0 -56
  2199. data/src/core/ext/upb-generated/envoy/type/matcher/v3/filter_state.upb.h +0 -130
  2200. data/src/core/ext/upb-generated/envoy/type/matcher/v3/http_inputs.upb.c +0 -108
  2201. data/src/core/ext/upb-generated/envoy/type/matcher/v3/http_inputs.upb.h +0 -309
  2202. data/src/core/ext/upb-generated/envoy/type/matcher/v3/metadata.upb.c +0 -79
  2203. data/src/core/ext/upb-generated/envoy/type/matcher/v3/metadata.upb.h +0 -266
  2204. data/src/core/ext/upb-generated/envoy/type/matcher/v3/node.upb.c +0 -58
  2205. data/src/core/ext/upb-generated/envoy/type/matcher/v3/node.upb.h +0 -172
  2206. data/src/core/ext/upb-generated/envoy/type/matcher/v3/number.upb.c +0 -57
  2207. data/src/core/ext/upb-generated/envoy/type/matcher/v3/number.upb.h +0 -135
  2208. data/src/core/ext/upb-generated/envoy/type/matcher/v3/path.upb.c +0 -54
  2209. data/src/core/ext/upb-generated/envoy/type/matcher/v3/path.upb.h +0 -115
  2210. data/src/core/ext/upb-generated/envoy/type/matcher/v3/regex.upb.c +0 -99
  2211. data/src/core/ext/upb-generated/envoy/type/matcher/v3/regex.upb.h +0 -277
  2212. data/src/core/ext/upb-generated/envoy/type/matcher/v3/status_code_input.upb.c +0 -46
  2213. data/src/core/ext/upb-generated/envoy/type/matcher/v3/status_code_input.upb.h +0 -117
  2214. data/src/core/ext/upb-generated/envoy/type/matcher/v3/string.upb.c +0 -84
  2215. data/src/core/ext/upb-generated/envoy/type/matcher/v3/string.upb.h +0 -312
  2216. data/src/core/ext/upb-generated/envoy/type/matcher/v3/struct.upb.c +0 -73
  2217. data/src/core/ext/upb-generated/envoy/type/matcher/v3/struct.upb.h +0 -236
  2218. data/src/core/ext/upb-generated/envoy/type/matcher/v3/value.upb.c +0 -95
  2219. data/src/core/ext/upb-generated/envoy/type/matcher/v3/value.upb.h +0 -354
  2220. data/src/core/ext/upb-generated/envoy/type/metadata/v3/metadata.upb.c +0 -130
  2221. data/src/core/ext/upb-generated/envoy/type/metadata/v3/metadata.upb.h +0 -536
  2222. data/src/core/ext/upb-generated/envoy/type/tracing/v3/custom_tag.upb.c +0 -142
  2223. data/src/core/ext/upb-generated/envoy/type/tracing/v3/custom_tag.upb.h +0 -516
  2224. data/src/core/ext/upb-generated/envoy/type/v3/hash_policy.upb.c +0 -79
  2225. data/src/core/ext/upb-generated/envoy/type/v3/hash_policy.upb.h +0 -234
  2226. data/src/core/ext/upb-generated/envoy/type/v3/http.upb.c +0 -29
  2227. data/src/core/ext/upb-generated/envoy/type/v3/http.upb.h +0 -44
  2228. data/src/core/ext/upb-generated/envoy/type/v3/http_status.upb.c +0 -49
  2229. data/src/core/ext/upb-generated/envoy/type/v3/http_status.upb.h +0 -153
  2230. data/src/core/ext/upb-generated/envoy/type/v3/percent.upb.c +0 -67
  2231. data/src/core/ext/upb-generated/envoy/type/v3/percent.upb.h +0 -168
  2232. data/src/core/ext/upb-generated/envoy/type/v3/range.upb.c +0 -87
  2233. data/src/core/ext/upb-generated/envoy/type/v3/range.upb.h +0 -246
  2234. data/src/core/ext/upb-generated/envoy/type/v3/ratelimit_strategy.upb.c +0 -78
  2235. data/src/core/ext/upb-generated/envoy/type/v3/ratelimit_strategy.upb.h +0 -237
  2236. data/src/core/ext/upb-generated/envoy/type/v3/ratelimit_unit.upb.c +0 -29
  2237. data/src/core/ext/upb-generated/envoy/type/v3/ratelimit_unit.upb.h +0 -48
  2238. data/src/core/ext/upb-generated/envoy/type/v3/semantic_version.upb.c +0 -52
  2239. data/src/core/ext/upb-generated/envoy/type/v3/semantic_version.upb.h +0 -123
  2240. data/src/core/ext/upb-generated/envoy/type/v3/token_bucket.upb.c +0 -60
  2241. data/src/core/ext/upb-generated/envoy/type/v3/token_bucket.upb.h +0 -151
  2242. data/src/core/ext/upb-generated/google/api/annotations.upb.c +0 -43
  2243. data/src/core/ext/upb-generated/google/api/annotations.upb.h +0 -63
  2244. data/src/core/ext/upb-generated/google/api/expr/v1alpha1/checked.upb.c +0 -372
  2245. data/src/core/ext/upb-generated/google/api/expr/v1alpha1/checked.upb.h +0 -1764
  2246. data/src/core/ext/upb-generated/google/api/expr/v1alpha1/syntax.upb.c +0 -402
  2247. data/src/core/ext/upb-generated/google/api/expr/v1alpha1/syntax.upb.h +0 -1849
  2248. data/src/core/ext/upb-generated/google/api/http.upb.c +0 -114
  2249. data/src/core/ext/upb-generated/google/api/http.upb.h +0 -507
  2250. data/src/core/ext/upb-generated/google/api/httpbody.upb.c +0 -55
  2251. data/src/core/ext/upb-generated/google/api/httpbody.upb.h +0 -173
  2252. data/src/core/ext/upb-generated/google/protobuf/any.upb.c +0 -49
  2253. data/src/core/ext/upb-generated/google/protobuf/any.upb.h +0 -108
  2254. data/src/core/ext/upb-generated/google/protobuf/descriptor.upb.c +0 -1172
  2255. data/src/core/ext/upb-generated/google/protobuf/descriptor.upb.h +0 -5656
  2256. data/src/core/ext/upb-generated/google/protobuf/duration.upb.c +0 -49
  2257. data/src/core/ext/upb-generated/google/protobuf/duration.upb.h +0 -108
  2258. data/src/core/ext/upb-generated/google/protobuf/empty.upb.c +0 -38
  2259. data/src/core/ext/upb-generated/google/protobuf/empty.upb.h +0 -78
  2260. data/src/core/ext/upb-generated/google/protobuf/struct.upb.c +0 -118
  2261. data/src/core/ext/upb-generated/google/protobuf/struct.upb.h +0 -434
  2262. data/src/core/ext/upb-generated/google/protobuf/timestamp.upb.c +0 -49
  2263. data/src/core/ext/upb-generated/google/protobuf/timestamp.upb.h +0 -108
  2264. data/src/core/ext/upb-generated/google/protobuf/wrappers.upb.c +0 -166
  2265. data/src/core/ext/upb-generated/google/protobuf/wrappers.upb.h +0 -525
  2266. data/src/core/ext/upb-generated/google/rpc/status.upb.c +0 -55
  2267. data/src/core/ext/upb-generated/google/rpc/status.upb.h +0 -173
  2268. data/src/core/ext/upb-generated/opencensus/proto/trace/v1/trace_config.upb.c +0 -109
  2269. data/src/core/ext/upb-generated/opencensus/proto/trace/v1/trace_config.upb.h +0 -397
  2270. data/src/core/ext/upb-generated/src/proto/grpc/gcp/altscontext.upb.c +0 -82
  2271. data/src/core/ext/upb-generated/src/proto/grpc/gcp/altscontext.upb.h +0 -246
  2272. data/src/core/ext/upb-generated/src/proto/grpc/gcp/handshaker.upb.c +0 -345
  2273. data/src/core/ext/upb-generated/src/proto/grpc/gcp/handshaker.upb.h +0 -1677
  2274. data/src/core/ext/upb-generated/src/proto/grpc/gcp/transport_security_common.upb.c +0 -72
  2275. data/src/core/ext/upb-generated/src/proto/grpc/gcp/transport_security_common.upb.h +0 -207
  2276. data/src/core/ext/upb-generated/src/proto/grpc/health/v1/health.upb.c +0 -61
  2277. data/src/core/ext/upb-generated/src/proto/grpc/health/v1/health.upb.h +0 -154
  2278. data/src/core/ext/upb-generated/src/proto/grpc/lb/v1/load_balancer.upb.c +0 -224
  2279. data/src/core/ext/upb-generated/src/proto/grpc/lb/v1/load_balancer.upb.h +0 -893
  2280. data/src/core/ext/upb-generated/src/proto/grpc/lookup/v1/rls.upb.c +0 -95
  2281. data/src/core/ext/upb-generated/src/proto/grpc/lookup/v1/rls.upb.h +0 -308
  2282. data/src/core/ext/upb-generated/src/proto/grpc/lookup/v1/rls_config.upb.c +0 -246
  2283. data/src/core/ext/upb-generated/src/proto/grpc/lookup/v1/rls_config.upb.h +0 -1349
  2284. data/src/core/ext/upb-generated/udpa/annotations/migrate.upb.c +0 -129
  2285. data/src/core/ext/upb-generated/udpa/annotations/migrate.upb.h +0 -341
  2286. data/src/core/ext/upb-generated/udpa/annotations/security.upb.c +0 -64
  2287. data/src/core/ext/upb-generated/udpa/annotations/security.upb.h +0 -133
  2288. data/src/core/ext/upb-generated/udpa/annotations/sensitive.upb.c +0 -41
  2289. data/src/core/ext/upb-generated/udpa/annotations/sensitive.upb.h +0 -63
  2290. data/src/core/ext/upb-generated/udpa/annotations/status.upb.c +0 -63
  2291. data/src/core/ext/upb-generated/udpa/annotations/status.upb.h +0 -140
  2292. data/src/core/ext/upb-generated/udpa/annotations/versioning.upb.c +0 -60
  2293. data/src/core/ext/upb-generated/udpa/annotations/versioning.upb.h +0 -118
  2294. data/src/core/ext/upb-generated/validate/validate.upb.c +0 -950
  2295. data/src/core/ext/upb-generated/validate/validate.upb.h +0 -6544
  2296. data/src/core/ext/upb-generated/xds/annotations/v3/migrate.upb.c +0 -129
  2297. data/src/core/ext/upb-generated/xds/annotations/v3/migrate.upb.h +0 -341
  2298. data/src/core/ext/upb-generated/xds/annotations/v3/security.upb.c +0 -64
  2299. data/src/core/ext/upb-generated/xds/annotations/v3/security.upb.h +0 -133
  2300. data/src/core/ext/upb-generated/xds/annotations/v3/sensitive.upb.c +0 -41
  2301. data/src/core/ext/upb-generated/xds/annotations/v3/sensitive.upb.h +0 -63
  2302. data/src/core/ext/upb-generated/xds/annotations/v3/status.upb.c +0 -126
  2303. data/src/core/ext/upb-generated/xds/annotations/v3/status.upb.h +0 -352
  2304. data/src/core/ext/upb-generated/xds/annotations/v3/versioning.upb.c +0 -60
  2305. data/src/core/ext/upb-generated/xds/annotations/v3/versioning.upb.h +0 -118
  2306. data/src/core/ext/upb-generated/xds/core/v3/authority.upb.c +0 -48
  2307. data/src/core/ext/upb-generated/xds/core/v3/authority.upb.h +0 -93
  2308. data/src/core/ext/upb-generated/xds/core/v3/cidr.upb.c +0 -56
  2309. data/src/core/ext/upb-generated/xds/core/v3/cidr.upb.h +0 -122
  2310. data/src/core/ext/upb-generated/xds/core/v3/collection_entry.upb.c +0 -81
  2311. data/src/core/ext/upb-generated/xds/core/v3/collection_entry.upb.h +0 -241
  2312. data/src/core/ext/upb-generated/xds/core/v3/context_params.upb.c +0 -65
  2313. data/src/core/ext/upb-generated/xds/core/v3/context_params.upb.h +0 -142
  2314. data/src/core/ext/upb-generated/xds/core/v3/extension.upb.c +0 -55
  2315. data/src/core/ext/upb-generated/xds/core/v3/extension.upb.h +0 -122
  2316. data/src/core/ext/upb-generated/xds/core/v3/resource.upb.c +0 -58
  2317. data/src/core/ext/upb-generated/xds/core/v3/resource.upb.h +0 -151
  2318. data/src/core/ext/upb-generated/xds/core/v3/resource_locator.upb.c +0 -87
  2319. data/src/core/ext/upb-generated/xds/core/v3/resource_locator.upb.h +0 -338
  2320. data/src/core/ext/upb-generated/xds/core/v3/resource_name.upb.c +0 -62
  2321. data/src/core/ext/upb-generated/xds/core/v3/resource_name.upb.h +0 -152
  2322. data/src/core/ext/upb-generated/xds/data/orca/v3/orca_load_report.upb.c +0 -129
  2323. data/src/core/ext/upb-generated/xds/data/orca/v3/orca_load_report.upb.h +0 -360
  2324. data/src/core/ext/upb-generated/xds/service/orca/v3/orca.upb.c +0 -55
  2325. data/src/core/ext/upb-generated/xds/service/orca/v3/orca.upb.h +0 -168
  2326. data/src/core/ext/upb-generated/xds/type/matcher/v3/cel.upb.c +0 -53
  2327. data/src/core/ext/upb-generated/xds/type/matcher/v3/cel.upb.h +0 -107
  2328. data/src/core/ext/upb-generated/xds/type/matcher/v3/domain.upb.c +0 -75
  2329. data/src/core/ext/upb-generated/xds/type/matcher/v3/domain.upb.h +0 -270
  2330. data/src/core/ext/upb-generated/xds/type/matcher/v3/http_inputs.upb.c +0 -39
  2331. data/src/core/ext/upb-generated/xds/type/matcher/v3/http_inputs.upb.h +0 -78
  2332. data/src/core/ext/upb-generated/xds/type/matcher/v3/ip.upb.c +0 -78
  2333. data/src/core/ext/upb-generated/xds/type/matcher/v3/ip.upb.h +0 -289
  2334. data/src/core/ext/upb-generated/xds/type/matcher/v3/matcher.upb.c +0 -268
  2335. data/src/core/ext/upb-generated/xds/type/matcher/v3/matcher.upb.h +0 -1122
  2336. data/src/core/ext/upb-generated/xds/type/matcher/v3/range.upb.c +0 -160
  2337. data/src/core/ext/upb-generated/xds/type/matcher/v3/range.upb.h +0 -740
  2338. data/src/core/ext/upb-generated/xds/type/matcher/v3/regex.upb.c +0 -61
  2339. data/src/core/ext/upb-generated/xds/type/matcher/v3/regex.upb.h +0 -167
  2340. data/src/core/ext/upb-generated/xds/type/matcher/v3/string.upb.c +0 -82
  2341. data/src/core/ext/upb-generated/xds/type/matcher/v3/string.upb.h +0 -312
  2342. data/src/core/ext/upb-generated/xds/type/v3/cel.upb.c +0 -82
  2343. data/src/core/ext/upb-generated/xds/type/v3/cel.upb.h +0 -240
  2344. data/src/core/ext/upb-generated/xds/type/v3/range.upb.c +0 -85
  2345. data/src/core/ext/upb-generated/xds/type/v3/range.upb.h +0 -246
  2346. data/src/core/ext/upb-generated/xds/type/v3/typed_struct.upb.c +0 -54
  2347. data/src/core/ext/upb-generated/xds/type/v3/typed_struct.upb.h +0 -122
  2348. data/src/core/ext/upbdefs-generated/envoy/admin/v3/certs.upbdefs.c +0 -84
  2349. data/src/core/ext/upbdefs-generated/envoy/admin/v3/certs.upbdefs.h +0 -56
  2350. data/src/core/ext/upbdefs-generated/envoy/admin/v3/clusters.upbdefs.c +0 -128
  2351. data/src/core/ext/upbdefs-generated/envoy/admin/v3/clusters.upbdefs.h +0 -51
  2352. data/src/core/ext/upbdefs-generated/envoy/admin/v3/config_dump.upbdefs.c +0 -102
  2353. data/src/core/ext/upbdefs-generated/envoy/admin/v3/config_dump.upbdefs.h +0 -56
  2354. data/src/core/ext/upbdefs-generated/envoy/admin/v3/config_dump_shared.upbdefs.c +0 -277
  2355. data/src/core/ext/upbdefs-generated/envoy/admin/v3/config_dump_shared.upbdefs.h +0 -126
  2356. data/src/core/ext/upbdefs-generated/envoy/admin/v3/init_dump.upbdefs.c +0 -43
  2357. data/src/core/ext/upbdefs-generated/envoy/admin/v3/init_dump.upbdefs.h +0 -41
  2358. data/src/core/ext/upbdefs-generated/envoy/admin/v3/listeners.upbdefs.c +0 -56
  2359. data/src/core/ext/upbdefs-generated/envoy/admin/v3/listeners.upbdefs.h +0 -41
  2360. data/src/core/ext/upbdefs-generated/envoy/admin/v3/memory.upbdefs.c +0 -49
  2361. data/src/core/ext/upbdefs-generated/envoy/admin/v3/memory.upbdefs.h +0 -36
  2362. data/src/core/ext/upbdefs-generated/envoy/admin/v3/metrics.upbdefs.c +0 -46
  2363. data/src/core/ext/upbdefs-generated/envoy/admin/v3/metrics.upbdefs.h +0 -36
  2364. data/src/core/ext/upbdefs-generated/envoy/admin/v3/mutex_stats.upbdefs.c +0 -46
  2365. data/src/core/ext/upbdefs-generated/envoy/admin/v3/mutex_stats.upbdefs.h +0 -36
  2366. data/src/core/ext/upbdefs-generated/envoy/admin/v3/server_info.upbdefs.c +0 -142
  2367. data/src/core/ext/upbdefs-generated/envoy/admin/v3/server_info.upbdefs.h +0 -41
  2368. data/src/core/ext/upbdefs-generated/envoy/admin/v3/tap.upbdefs.c +0 -51
  2369. data/src/core/ext/upbdefs-generated/envoy/admin/v3/tap.upbdefs.h +0 -36
  2370. data/src/core/ext/upbdefs-generated/envoy/annotations/deprecation.upbdefs.c +0 -48
  2371. data/src/core/ext/upbdefs-generated/envoy/annotations/deprecation.upbdefs.h +0 -31
  2372. data/src/core/ext/upbdefs-generated/envoy/annotations/resource.upbdefs.c +0 -38
  2373. data/src/core/ext/upbdefs-generated/envoy/annotations/resource.upbdefs.h +0 -36
  2374. data/src/core/ext/upbdefs-generated/envoy/config/accesslog/v3/accesslog.upbdefs.c +0 -234
  2375. data/src/core/ext/upbdefs-generated/envoy/config/accesslog/v3/accesslog.upbdefs.h +0 -111
  2376. data/src/core/ext/upbdefs-generated/envoy/config/bootstrap/v3/bootstrap.upbdefs.c +0 -408
  2377. data/src/core/ext/upbdefs-generated/envoy/config/bootstrap/v3/bootstrap.upbdefs.h +0 -121
  2378. data/src/core/ext/upbdefs-generated/envoy/config/cluster/v3/circuit_breaker.upbdefs.c +0 -98
  2379. data/src/core/ext/upbdefs-generated/envoy/config/cluster/v3/circuit_breaker.upbdefs.h +0 -46
  2380. data/src/core/ext/upbdefs-generated/envoy/config/cluster/v3/cluster.upbdefs.c +0 -567
  2381. data/src/core/ext/upbdefs-generated/envoy/config/cluster/v3/cluster.upbdefs.h +0 -151
  2382. data/src/core/ext/upbdefs-generated/envoy/config/cluster/v3/filter.upbdefs.c +0 -51
  2383. data/src/core/ext/upbdefs-generated/envoy/config/cluster/v3/filter.upbdefs.h +0 -36
  2384. data/src/core/ext/upbdefs-generated/envoy/config/cluster/v3/outlier_detection.upbdefs.c +0 -138
  2385. data/src/core/ext/upbdefs-generated/envoy/config/cluster/v3/outlier_detection.upbdefs.h +0 -36
  2386. data/src/core/ext/upbdefs-generated/envoy/config/common/matcher/v3/matcher.upbdefs.c +0 -206
  2387. data/src/core/ext/upbdefs-generated/envoy/config/common/matcher/v3/matcher.upbdefs.h +0 -106
  2388. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/address.upbdefs.c +0 -132
  2389. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/address.upbdefs.h +0 -71
  2390. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/backoff.upbdefs.c +0 -54
  2391. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/backoff.upbdefs.h +0 -36
  2392. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/base.upbdefs.c +0 -271
  2393. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/base.upbdefs.h +0 -151
  2394. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/config_source.upbdefs.c +0 -168
  2395. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/config_source.upbdefs.h +0 -66
  2396. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/event_service_config.upbdefs.c +0 -53
  2397. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/event_service_config.upbdefs.h +0 -36
  2398. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/extension.upbdefs.c +0 -47
  2399. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/extension.upbdefs.h +0 -36
  2400. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/grpc_method_list.upbdefs.c +0 -53
  2401. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/grpc_method_list.upbdefs.h +0 -41
  2402. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/grpc_service.upbdefs.c +0 -237
  2403. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/grpc_service.upbdefs.h +0 -101
  2404. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/health_check.upbdefs.c +0 -245
  2405. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/health_check.upbdefs.h +0 -76
  2406. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/http_uri.upbdefs.c +0 -53
  2407. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/http_uri.upbdefs.h +0 -36
  2408. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/protocol.upbdefs.c +0 -311
  2409. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/protocol.upbdefs.h +0 -111
  2410. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/proxy_protocol.upbdefs.c +0 -57
  2411. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/proxy_protocol.upbdefs.h +0 -41
  2412. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/resolver.upbdefs.c +0 -55
  2413. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/resolver.upbdefs.h +0 -41
  2414. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/socket_option.upbdefs.c +0 -61
  2415. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/socket_option.upbdefs.h +0 -41
  2416. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/substitution_format_string.upbdefs.c +0 -70
  2417. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/substitution_format_string.upbdefs.h +0 -36
  2418. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/udp_socket_config.upbdefs.c +0 -49
  2419. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/udp_socket_config.upbdefs.h +0 -36
  2420. data/src/core/ext/upbdefs-generated/envoy/config/endpoint/v3/endpoint.upbdefs.c +0 -99
  2421. data/src/core/ext/upbdefs-generated/envoy/config/endpoint/v3/endpoint.upbdefs.h +0 -51
  2422. data/src/core/ext/upbdefs-generated/envoy/config/endpoint/v3/endpoint_components.upbdefs.c +0 -133
  2423. data/src/core/ext/upbdefs-generated/envoy/config/endpoint/v3/endpoint_components.upbdefs.h +0 -61
  2424. data/src/core/ext/upbdefs-generated/envoy/config/endpoint/v3/load_report.upbdefs.c +0 -136
  2425. data/src/core/ext/upbdefs-generated/envoy/config/endpoint/v3/load_report.upbdefs.h +0 -56
  2426. data/src/core/ext/upbdefs-generated/envoy/config/listener/v3/api_listener.upbdefs.c +0 -48
  2427. data/src/core/ext/upbdefs-generated/envoy/config/listener/v3/api_listener.upbdefs.h +0 -36
  2428. data/src/core/ext/upbdefs-generated/envoy/config/listener/v3/listener.upbdefs.c +0 -227
  2429. data/src/core/ext/upbdefs-generated/envoy/config/listener/v3/listener.upbdefs.h +0 -81
  2430. data/src/core/ext/upbdefs-generated/envoy/config/listener/v3/listener_components.upbdefs.c +0 -190
  2431. data/src/core/ext/upbdefs-generated/envoy/config/listener/v3/listener_components.upbdefs.h +0 -66
  2432. data/src/core/ext/upbdefs-generated/envoy/config/listener/v3/quic_config.upbdefs.c +0 -101
  2433. data/src/core/ext/upbdefs-generated/envoy/config/listener/v3/quic_config.upbdefs.h +0 -36
  2434. data/src/core/ext/upbdefs-generated/envoy/config/listener/v3/udp_listener_config.upbdefs.c +0 -71
  2435. data/src/core/ext/upbdefs-generated/envoy/config/listener/v3/udp_listener_config.upbdefs.h +0 -41
  2436. data/src/core/ext/upbdefs-generated/envoy/config/metrics/v3/metrics_service.upbdefs.c +0 -76
  2437. data/src/core/ext/upbdefs-generated/envoy/config/metrics/v3/metrics_service.upbdefs.h +0 -36
  2438. data/src/core/ext/upbdefs-generated/envoy/config/metrics/v3/stats.upbdefs.c +0 -125
  2439. data/src/core/ext/upbdefs-generated/envoy/config/metrics/v3/stats.upbdefs.h +0 -71
  2440. data/src/core/ext/upbdefs-generated/envoy/config/overload/v3/overload.upbdefs.c +0 -142
  2441. data/src/core/ext/upbdefs-generated/envoy/config/overload/v3/overload.upbdefs.h +0 -81
  2442. data/src/core/ext/upbdefs-generated/envoy/config/rbac/v3/rbac.upbdefs.c +0 -223
  2443. data/src/core/ext/upbdefs-generated/envoy/config/rbac/v3/rbac.upbdefs.h +0 -86
  2444. data/src/core/ext/upbdefs-generated/envoy/config/route/v3/route.upbdefs.c +0 -123
  2445. data/src/core/ext/upbdefs-generated/envoy/config/route/v3/route.upbdefs.h +0 -46
  2446. data/src/core/ext/upbdefs-generated/envoy/config/route/v3/route_components.upbdefs.c +0 -972
  2447. data/src/core/ext/upbdefs-generated/envoy/config/route/v3/route_components.upbdefs.h +0 -316
  2448. data/src/core/ext/upbdefs-generated/envoy/config/route/v3/scoped_route.upbdefs.c +0 -77
  2449. data/src/core/ext/upbdefs-generated/envoy/config/route/v3/scoped_route.upbdefs.h +0 -46
  2450. data/src/core/ext/upbdefs-generated/envoy/config/tap/v3/common.upbdefs.c +0 -199
  2451. data/src/core/ext/upbdefs-generated/envoy/config/tap/v3/common.upbdefs.h +0 -91
  2452. data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/datadog.upbdefs.c +0 -56
  2453. data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/datadog.upbdefs.h +0 -36
  2454. data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/dynamic_ot.upbdefs.c +0 -57
  2455. data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/dynamic_ot.upbdefs.h +0 -36
  2456. data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/http_tracer.upbdefs.c +0 -57
  2457. data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/http_tracer.upbdefs.h +0 -41
  2458. data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/lightstep.upbdefs.c +0 -72
  2459. data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/lightstep.upbdefs.h +0 -36
  2460. data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/opencensus.upbdefs.c +0 -99
  2461. data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/opencensus.upbdefs.h +0 -36
  2462. data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/opentelemetry.upbdefs.c +0 -45
  2463. data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/opentelemetry.upbdefs.h +0 -36
  2464. data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/service.upbdefs.c +0 -52
  2465. data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/service.upbdefs.h +0 -36
  2466. data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/skywalking.upbdefs.c +0 -71
  2467. data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/skywalking.upbdefs.h +0 -41
  2468. data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/trace.upbdefs.c +0 -61
  2469. data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/trace.upbdefs.h +0 -31
  2470. data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/xray.upbdefs.c +0 -75
  2471. data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/xray.upbdefs.h +0 -41
  2472. data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/zipkin.upbdefs.c +0 -79
  2473. data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/zipkin.upbdefs.h +0 -36
  2474. data/src/core/ext/upbdefs-generated/envoy/data/accesslog/v3/accesslog.upbdefs.c +0 -402
  2475. data/src/core/ext/upbdefs-generated/envoy/data/accesslog/v3/accesslog.upbdefs.h +0 -111
  2476. data/src/core/ext/upbdefs-generated/envoy/extensions/clusters/aggregate/v3/cluster.upbdefs.c +0 -50
  2477. data/src/core/ext/upbdefs-generated/envoy/extensions/clusters/aggregate/v3/cluster.upbdefs.h +0 -36
  2478. data/src/core/ext/upbdefs-generated/envoy/extensions/filters/common/fault/v3/fault.upbdefs.c +0 -92
  2479. data/src/core/ext/upbdefs-generated/envoy/extensions/filters/common/fault/v3/fault.upbdefs.h +0 -56
  2480. data/src/core/ext/upbdefs-generated/envoy/extensions/filters/http/fault/v3/fault.upbdefs.c +0 -123
  2481. data/src/core/ext/upbdefs-generated/envoy/extensions/filters/http/fault/v3/fault.upbdefs.h +0 -46
  2482. data/src/core/ext/upbdefs-generated/envoy/extensions/filters/http/rbac/v3/rbac.upbdefs.c +0 -80
  2483. data/src/core/ext/upbdefs-generated/envoy/extensions/filters/http/rbac/v3/rbac.upbdefs.h +0 -41
  2484. data/src/core/ext/upbdefs-generated/envoy/extensions/filters/http/router/v3/router.upbdefs.c +0 -105
  2485. data/src/core/ext/upbdefs-generated/envoy/extensions/filters/http/router/v3/router.upbdefs.h +0 -41
  2486. data/src/core/ext/upbdefs-generated/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upbdefs.c +0 -60
  2487. data/src/core/ext/upbdefs-generated/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upbdefs.h +0 -41
  2488. data/src/core/ext/upbdefs-generated/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upbdefs.c +0 -602
  2489. data/src/core/ext/upbdefs-generated/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upbdefs.h +0 -136
  2490. data/src/core/ext/upbdefs-generated/envoy/extensions/http/stateful_session/cookie/v3/cookie.upbdefs.c +0 -50
  2491. data/src/core/ext/upbdefs-generated/envoy/extensions/http/stateful_session/cookie/v3/cookie.upbdefs.h +0 -36
  2492. data/src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/cert.upbdefs.c +0 -48
  2493. data/src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/cert.upbdefs.h +0 -31
  2494. data/src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/common.upbdefs.c +0 -215
  2495. data/src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/common.upbdefs.h +0 -66
  2496. data/src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/secret.upbdefs.c +0 -91
  2497. data/src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/secret.upbdefs.h +0 -46
  2498. data/src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/tls.upbdefs.c +0 -258
  2499. data/src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/tls.upbdefs.h +0 -66
  2500. data/src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upbdefs.c +0 -58
  2501. data/src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upbdefs.h +0 -41
  2502. data/src/core/ext/upbdefs-generated/envoy/service/discovery/v3/ads.upbdefs.c +0 -58
  2503. data/src/core/ext/upbdefs-generated/envoy/service/discovery/v3/ads.upbdefs.h +0 -36
  2504. data/src/core/ext/upbdefs-generated/envoy/service/discovery/v3/discovery.upbdefs.c +0 -200
  2505. data/src/core/ext/upbdefs-generated/envoy/service/discovery/v3/discovery.upbdefs.h +0 -101
  2506. data/src/core/ext/upbdefs-generated/envoy/service/load_stats/v3/lrs.upbdefs.c +0 -76
  2507. data/src/core/ext/upbdefs-generated/envoy/service/load_stats/v3/lrs.upbdefs.h +0 -41
  2508. data/src/core/ext/upbdefs-generated/envoy/service/status/v3/csds.upbdefs.c +0 -152
  2509. data/src/core/ext/upbdefs-generated/envoy/service/status/v3/csds.upbdefs.h +0 -56
  2510. data/src/core/ext/upbdefs-generated/envoy/type/http/v3/cookie.upbdefs.c +0 -46
  2511. data/src/core/ext/upbdefs-generated/envoy/type/http/v3/cookie.upbdefs.h +0 -36
  2512. data/src/core/ext/upbdefs-generated/envoy/type/http/v3/path_transformation.upbdefs.c +0 -56
  2513. data/src/core/ext/upbdefs-generated/envoy/type/http/v3/path_transformation.upbdefs.h +0 -51
  2514. data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/filter_state.upbdefs.c +0 -48
  2515. data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/filter_state.upbdefs.h +0 -36
  2516. data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/http_inputs.upbdefs.c +0 -55
  2517. data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/http_inputs.upbdefs.h +0 -56
  2518. data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/metadata.upbdefs.c +0 -61
  2519. data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/metadata.upbdefs.h +0 -41
  2520. data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/node.upbdefs.c +0 -54
  2521. data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/node.upbdefs.h +0 -36
  2522. data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/number.upbdefs.c +0 -52
  2523. data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/number.upbdefs.h +0 -36
  2524. data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/path.upbdefs.c +0 -51
  2525. data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/path.upbdefs.h +0 -36
  2526. data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/regex.upbdefs.c +0 -71
  2527. data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/regex.upbdefs.h +0 -46
  2528. data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/status_code_input.upbdefs.c +0 -40
  2529. data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/status_code_input.upbdefs.h +0 -41
  2530. data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/string.upbdefs.c +0 -65
  2531. data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/string.upbdefs.h +0 -41
  2532. data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/struct.upbdefs.c +0 -58
  2533. data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/struct.upbdefs.h +0 -41
  2534. data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/value.upbdefs.c +0 -75
  2535. data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/value.upbdefs.h +0 -46
  2536. data/src/core/ext/upbdefs-generated/envoy/type/metadata/v3/metadata.upbdefs.c +0 -78
  2537. data/src/core/ext/upbdefs-generated/envoy/type/metadata/v3/metadata.upbdefs.h +0 -66
  2538. data/src/core/ext/upbdefs-generated/envoy/type/tracing/v3/custom_tag.upbdefs.c +0 -85
  2539. data/src/core/ext/upbdefs-generated/envoy/type/tracing/v3/custom_tag.upbdefs.h +0 -56
  2540. data/src/core/ext/upbdefs-generated/envoy/type/v3/hash_policy.upbdefs.c +0 -53
  2541. data/src/core/ext/upbdefs-generated/envoy/type/v3/hash_policy.upbdefs.h +0 -46
  2542. data/src/core/ext/upbdefs-generated/envoy/type/v3/http.upbdefs.c +0 -36
  2543. data/src/core/ext/upbdefs-generated/envoy/type/v3/http.upbdefs.h +0 -31
  2544. data/src/core/ext/upbdefs-generated/envoy/type/v3/http_status.upbdefs.c +0 -94
  2545. data/src/core/ext/upbdefs-generated/envoy/type/v3/http_status.upbdefs.h +0 -36
  2546. data/src/core/ext/upbdefs-generated/envoy/type/v3/percent.upbdefs.c +0 -54
  2547. data/src/core/ext/upbdefs-generated/envoy/type/v3/percent.upbdefs.h +0 -41
  2548. data/src/core/ext/upbdefs-generated/envoy/type/v3/range.upbdefs.c +0 -48
  2549. data/src/core/ext/upbdefs-generated/envoy/type/v3/range.upbdefs.h +0 -46
  2550. data/src/core/ext/upbdefs-generated/envoy/type/v3/ratelimit_strategy.upbdefs.c +0 -69
  2551. data/src/core/ext/upbdefs-generated/envoy/type/v3/ratelimit_strategy.upbdefs.h +0 -41
  2552. data/src/core/ext/upbdefs-generated/envoy/type/v3/ratelimit_unit.upbdefs.c +0 -39
  2553. data/src/core/ext/upbdefs-generated/envoy/type/v3/ratelimit_unit.upbdefs.h +0 -31
  2554. data/src/core/ext/upbdefs-generated/envoy/type/v3/semantic_version.upbdefs.c +0 -44
  2555. data/src/core/ext/upbdefs-generated/envoy/type/v3/semantic_version.upbdefs.h +0 -36
  2556. data/src/core/ext/upbdefs-generated/envoy/type/v3/token_bucket.upbdefs.c +0 -57
  2557. data/src/core/ext/upbdefs-generated/envoy/type/v3/token_bucket.upbdefs.h +0 -36
  2558. data/src/core/ext/upbdefs-generated/google/api/annotations.upbdefs.c +0 -40
  2559. data/src/core/ext/upbdefs-generated/google/api/annotations.upbdefs.h +0 -31
  2560. data/src/core/ext/upbdefs-generated/google/api/expr/v1alpha1/checked.upbdefs.c +0 -154
  2561. data/src/core/ext/upbdefs-generated/google/api/expr/v1alpha1/checked.upbdefs.h +0 -96
  2562. data/src/core/ext/upbdefs-generated/google/api/expr/v1alpha1/syntax.upbdefs.c +0 -153
  2563. data/src/core/ext/upbdefs-generated/google/api/expr/v1alpha1/syntax.upbdefs.h +0 -101
  2564. data/src/core/ext/upbdefs-generated/google/api/http.upbdefs.c +0 -52
  2565. data/src/core/ext/upbdefs-generated/google/api/http.upbdefs.h +0 -46
  2566. data/src/core/ext/upbdefs-generated/google/api/httpbody.upbdefs.c +0 -39
  2567. data/src/core/ext/upbdefs-generated/google/api/httpbody.upbdefs.h +0 -36
  2568. data/src/core/ext/upbdefs-generated/google/protobuf/any.upbdefs.c +0 -34
  2569. data/src/core/ext/upbdefs-generated/google/protobuf/any.upbdefs.h +0 -36
  2570. data/src/core/ext/upbdefs-generated/google/protobuf/descriptor.upbdefs.c +0 -387
  2571. data/src/core/ext/upbdefs-generated/google/protobuf/descriptor.upbdefs.h +0 -171
  2572. data/src/core/ext/upbdefs-generated/google/protobuf/duration.upbdefs.c +0 -35
  2573. data/src/core/ext/upbdefs-generated/google/protobuf/duration.upbdefs.h +0 -36
  2574. data/src/core/ext/upbdefs-generated/google/protobuf/empty.upbdefs.c +0 -32
  2575. data/src/core/ext/upbdefs-generated/google/protobuf/empty.upbdefs.h +0 -36
  2576. data/src/core/ext/upbdefs-generated/google/protobuf/struct.upbdefs.c +0 -54
  2577. data/src/core/ext/upbdefs-generated/google/protobuf/struct.upbdefs.h +0 -51
  2578. data/src/core/ext/upbdefs-generated/google/protobuf/timestamp.upbdefs.c +0 -35
  2579. data/src/core/ext/upbdefs-generated/google/protobuf/timestamp.upbdefs.h +0 -36
  2580. data/src/core/ext/upbdefs-generated/google/protobuf/wrappers.upbdefs.c +0 -45
  2581. data/src/core/ext/upbdefs-generated/google/protobuf/wrappers.upbdefs.h +0 -76
  2582. data/src/core/ext/upbdefs-generated/google/rpc/status.upbdefs.c +0 -37
  2583. data/src/core/ext/upbdefs-generated/google/rpc/status.upbdefs.h +0 -36
  2584. data/src/core/ext/upbdefs-generated/opencensus/proto/trace/v1/trace_config.upbdefs.c +0 -67
  2585. data/src/core/ext/upbdefs-generated/opencensus/proto/trace/v1/trace_config.upbdefs.h +0 -51
  2586. data/src/core/ext/upbdefs-generated/src/proto/grpc/lookup/v1/rls_config.upbdefs.c +0 -99
  2587. data/src/core/ext/upbdefs-generated/src/proto/grpc/lookup/v1/rls_config.upbdefs.h +0 -76
  2588. data/src/core/ext/upbdefs-generated/udpa/annotations/migrate.upbdefs.c +0 -62
  2589. data/src/core/ext/upbdefs-generated/udpa/annotations/migrate.upbdefs.h +0 -46
  2590. data/src/core/ext/upbdefs-generated/udpa/annotations/security.upbdefs.c +0 -47
  2591. data/src/core/ext/upbdefs-generated/udpa/annotations/security.upbdefs.h +0 -36
  2592. data/src/core/ext/upbdefs-generated/udpa/annotations/sensitive.upbdefs.c +0 -34
  2593. data/src/core/ext/upbdefs-generated/udpa/annotations/sensitive.upbdefs.h +0 -31
  2594. data/src/core/ext/upbdefs-generated/udpa/annotations/status.upbdefs.c +0 -46
  2595. data/src/core/ext/upbdefs-generated/udpa/annotations/status.upbdefs.h +0 -36
  2596. data/src/core/ext/upbdefs-generated/udpa/annotations/versioning.upbdefs.c +0 -39
  2597. data/src/core/ext/upbdefs-generated/udpa/annotations/versioning.upbdefs.h +0 -36
  2598. data/src/core/ext/upbdefs-generated/validate/validate.upbdefs.c +0 -283
  2599. data/src/core/ext/upbdefs-generated/validate/validate.upbdefs.h +0 -146
  2600. data/src/core/ext/upbdefs-generated/xds/annotations/v3/migrate.upbdefs.c +0 -63
  2601. data/src/core/ext/upbdefs-generated/xds/annotations/v3/migrate.upbdefs.h +0 -46
  2602. data/src/core/ext/upbdefs-generated/xds/annotations/v3/security.upbdefs.c +0 -47
  2603. data/src/core/ext/upbdefs-generated/xds/annotations/v3/security.upbdefs.h +0 -36
  2604. data/src/core/ext/upbdefs-generated/xds/annotations/v3/sensitive.upbdefs.c +0 -35
  2605. data/src/core/ext/upbdefs-generated/xds/annotations/v3/sensitive.upbdefs.h +0 -31
  2606. data/src/core/ext/upbdefs-generated/xds/annotations/v3/status.upbdefs.c +0 -64
  2607. data/src/core/ext/upbdefs-generated/xds/annotations/v3/status.upbdefs.h +0 -51
  2608. data/src/core/ext/upbdefs-generated/xds/annotations/v3/versioning.upbdefs.c +0 -40
  2609. data/src/core/ext/upbdefs-generated/xds/annotations/v3/versioning.upbdefs.h +0 -36
  2610. data/src/core/ext/upbdefs-generated/xds/core/v3/authority.upbdefs.c +0 -38
  2611. data/src/core/ext/upbdefs-generated/xds/core/v3/authority.upbdefs.h +0 -36
  2612. data/src/core/ext/upbdefs-generated/xds/core/v3/cidr.upbdefs.c +0 -45
  2613. data/src/core/ext/upbdefs-generated/xds/core/v3/cidr.upbdefs.h +0 -36
  2614. data/src/core/ext/upbdefs-generated/xds/core/v3/collection_entry.upbdefs.c +0 -56
  2615. data/src/core/ext/upbdefs-generated/xds/core/v3/collection_entry.upbdefs.h +0 -41
  2616. data/src/core/ext/upbdefs-generated/xds/core/v3/context_params.upbdefs.c +0 -39
  2617. data/src/core/ext/upbdefs-generated/xds/core/v3/context_params.upbdefs.h +0 -41
  2618. data/src/core/ext/upbdefs-generated/xds/core/v3/extension.upbdefs.c +0 -41
  2619. data/src/core/ext/upbdefs-generated/xds/core/v3/extension.upbdefs.h +0 -36
  2620. data/src/core/ext/upbdefs-generated/xds/core/v3/resource.upbdefs.c +0 -45
  2621. data/src/core/ext/upbdefs-generated/xds/core/v3/resource.upbdefs.h +0 -36
  2622. data/src/core/ext/upbdefs-generated/xds/core/v3/resource_locator.upbdefs.c +0 -61
  2623. data/src/core/ext/upbdefs-generated/xds/core/v3/resource_locator.upbdefs.h +0 -41
  2624. data/src/core/ext/upbdefs-generated/xds/core/v3/resource_name.upbdefs.c +0 -46
  2625. data/src/core/ext/upbdefs-generated/xds/core/v3/resource_name.upbdefs.h +0 -36
  2626. data/src/core/ext/upbdefs-generated/xds/type/matcher/v3/cel.upbdefs.c +0 -43
  2627. data/src/core/ext/upbdefs-generated/xds/type/matcher/v3/cel.upbdefs.h +0 -36
  2628. data/src/core/ext/upbdefs-generated/xds/type/matcher/v3/domain.upbdefs.c +0 -51
  2629. data/src/core/ext/upbdefs-generated/xds/type/matcher/v3/domain.upbdefs.h +0 -41
  2630. data/src/core/ext/upbdefs-generated/xds/type/matcher/v3/http_inputs.upbdefs.c +0 -36
  2631. data/src/core/ext/upbdefs-generated/xds/type/matcher/v3/http_inputs.upbdefs.h +0 -36
  2632. data/src/core/ext/upbdefs-generated/xds/type/matcher/v3/ip.upbdefs.c +0 -55
  2633. data/src/core/ext/upbdefs-generated/xds/type/matcher/v3/ip.upbdefs.h +0 -41
  2634. data/src/core/ext/upbdefs-generated/xds/type/matcher/v3/matcher.upbdefs.c +0 -126
  2635. data/src/core/ext/upbdefs-generated/xds/type/matcher/v3/matcher.upbdefs.h +0 -81
  2636. data/src/core/ext/upbdefs-generated/xds/type/matcher/v3/range.upbdefs.c +0 -71
  2637. data/src/core/ext/upbdefs-generated/xds/type/matcher/v3/range.upbdefs.h +0 -61
  2638. data/src/core/ext/upbdefs-generated/xds/type/matcher/v3/regex.upbdefs.c +0 -40
  2639. data/src/core/ext/upbdefs-generated/xds/type/matcher/v3/regex.upbdefs.h +0 -41
  2640. data/src/core/ext/upbdefs-generated/xds/type/matcher/v3/string.upbdefs.c +0 -52
  2641. data/src/core/ext/upbdefs-generated/xds/type/matcher/v3/string.upbdefs.h +0 -41
  2642. data/src/core/ext/upbdefs-generated/xds/type/v3/cel.upbdefs.c +0 -60
  2643. data/src/core/ext/upbdefs-generated/xds/type/v3/cel.upbdefs.h +0 -41
  2644. data/src/core/ext/upbdefs-generated/xds/type/v3/range.upbdefs.c +0 -36
  2645. data/src/core/ext/upbdefs-generated/xds/type/v3/range.upbdefs.h +0 -46
  2646. data/src/core/ext/upbdefs-generated/xds/type/v3/typed_struct.upbdefs.c +0 -37
  2647. data/src/core/ext/upbdefs-generated/xds/type/v3/typed_struct.upbdefs.h +0 -36
  2648. data/src/core/lib/event_engine/memory_allocator.cc +0 -74
  2649. data/src/core/lib/event_engine/thread_pool/original_thread_pool.cc +0 -256
  2650. data/src/core/lib/event_engine/thread_pool/original_thread_pool.h +0 -137
  2651. data/src/core/lib/iomgr/load_file.cc +0 -78
  2652. data/src/core/lib/iomgr/load_file.h +0 -35
  2653. data/src/core/lib/load_balancing/delegating_helper.h +0 -115
  2654. data/src/core/lib/load_balancing/lb_policy.cc +0 -98
  2655. data/src/core/lib/load_balancing/lb_policy.h +0 -477
  2656. data/src/core/lib/load_balancing/lb_policy_factory.h +0 -49
  2657. data/src/core/lib/load_balancing/lb_policy_registry.cc +0 -143
  2658. data/src/core/lib/load_balancing/lb_policy_registry.h +0 -82
  2659. data/src/core/lib/load_balancing/subchannel_interface.h +0 -141
  2660. data/src/core/lib/resolver/resolver.cc +0 -37
  2661. data/src/core/lib/resolver/resolver.h +0 -138
  2662. data/src/core/lib/resolver/resolver_factory.h +0 -78
  2663. data/src/core/lib/resolver/resolver_registry.cc +0 -164
  2664. data/src/core/lib/resolver/resolver_registry.h +0 -123
  2665. data/src/core/lib/resolver/server_address.cc +0 -89
  2666. data/src/core/lib/resolver/server_address.h +0 -85
  2667. data/src/core/lib/service_config/service_config.h +0 -89
  2668. data/src/core/lib/service_config/service_config_call_data.h +0 -116
  2669. data/src/core/lib/service_config/service_config_impl.cc +0 -198
  2670. data/src/core/lib/service_config/service_config_impl.h +0 -125
  2671. data/src/core/lib/service_config/service_config_parser.cc +0 -81
  2672. data/src/core/lib/service_config/service_config_parser.h +0 -105
  2673. data/src/core/lib/transport/pid_controller.cc +0 -51
  2674. data/src/core/lib/transport/pid_controller.h +0 -116
  2675. data/src/core/lib/transport/transport_impl.h +0 -102
  2676. data/third_party/abseil-cpp/absl/base/internal/prefetch.h +0 -137
  2677. data/third_party/abseil-cpp/absl/base/internal/thread_annotations.h +0 -280
  2678. data/third_party/abseil-cpp/absl/crc/internal/crc_memcpy_x86_64.cc +0 -432
  2679. data/third_party/abseil-cpp/absl/flags/flag.cc +0 -38
  2680. data/third_party/abseil-cpp/absl/flags/internal/flag_msvc.inc +0 -116
  2681. data/third_party/abseil-cpp/absl/strings/internal/char_map.h +0 -158
  2682. data/third_party/abseil-cpp/absl/strings/internal/cord_rep_ring.cc +0 -773
  2683. data/third_party/abseil-cpp/absl/strings/internal/cord_rep_ring.h +0 -607
  2684. data/third_party/abseil-cpp/absl/strings/internal/cord_rep_ring_reader.h +0 -118
  2685. data/third_party/boringssl-with-bazel/src/crypto/kyber/keccak.c +0 -204
  2686. data/third_party/boringssl-with-bazel/src/crypto/x509/x_info.c +0 -100
  2687. data/third_party/boringssl-with-bazel/src/crypto/x509/x_pkey.c +0 -111
  2688. data/third_party/boringssl-with-bazel/src/crypto/x509v3/internal.h +0 -197
  2689. data/third_party/boringssl-with-bazel/src/crypto/x509v3/v3_akey.c +0 -221
  2690. data/third_party/boringssl-with-bazel/src/crypto/x509v3/v3_akeya.c +0 -71
  2691. data/third_party/boringssl-with-bazel/src/crypto/x509v3/v3_alt.c +0 -635
  2692. data/third_party/boringssl-with-bazel/src/crypto/x509v3/v3_bcons.c +0 -135
  2693. data/third_party/boringssl-with-bazel/src/crypto/x509v3/v3_bitst.c +0 -141
  2694. data/third_party/boringssl-with-bazel/src/crypto/x509v3/v3_conf.c +0 -418
  2695. data/third_party/boringssl-with-bazel/src/crypto/x509v3/v3_cpols.c +0 -477
  2696. data/third_party/boringssl-with-bazel/src/crypto/x509v3/v3_crld.c +0 -599
  2697. data/third_party/boringssl-with-bazel/src/crypto/x509v3/v3_enum.c +0 -111
  2698. data/third_party/boringssl-with-bazel/src/crypto/x509v3/v3_extku.c +0 -154
  2699. data/third_party/boringssl-with-bazel/src/crypto/x509v3/v3_genn.c +0 -270
  2700. data/third_party/boringssl-with-bazel/src/crypto/x509v3/v3_ia5.c +0 -122
  2701. data/third_party/boringssl-with-bazel/src/crypto/x509v3/v3_info.c +0 -213
  2702. data/third_party/boringssl-with-bazel/src/crypto/x509v3/v3_int.c +0 -121
  2703. data/third_party/boringssl-with-bazel/src/crypto/x509v3/v3_lib.c +0 -341
  2704. data/third_party/boringssl-with-bazel/src/crypto/x509v3/v3_ncons.c +0 -555
  2705. data/third_party/boringssl-with-bazel/src/crypto/x509v3/v3_ocsp.c +0 -81
  2706. data/third_party/boringssl-with-bazel/src/crypto/x509v3/v3_pcons.c +0 -142
  2707. data/third_party/boringssl-with-bazel/src/crypto/x509v3/v3_pmaps.c +0 -150
  2708. data/third_party/boringssl-with-bazel/src/crypto/x509v3/v3_prn.c +0 -225
  2709. data/third_party/boringssl-with-bazel/src/crypto/x509v3/v3_purp.c +0 -888
  2710. data/third_party/boringssl-with-bazel/src/crypto/x509v3/v3_skey.c +0 -171
  2711. data/third_party/boringssl-with-bazel/src/crypto/x509v3/v3_utl.c +0 -1355
  2712. data/third_party/upb/upb/alloc.h +0 -36
  2713. data/third_party/upb/upb/arena.h +0 -36
  2714. data/third_party/upb/upb/array.h +0 -36
  2715. data/third_party/upb/upb/base/log2.h +0 -57
  2716. data/third_party/upb/upb/collections/array.c +0 -145
  2717. data/third_party/upb/upb/collections/array.h +0 -85
  2718. data/third_party/upb/upb/collections/array_internal.h +0 -135
  2719. data/third_party/upb/upb/collections/map.c +0 -135
  2720. data/third_party/upb/upb/collections/map.h +0 -135
  2721. data/third_party/upb/upb/collections/map_gencode_util.h +0 -78
  2722. data/third_party/upb/upb/collections/map_internal.h +0 -170
  2723. data/third_party/upb/upb/collections/map_sorter.c +0 -166
  2724. data/third_party/upb/upb/collections/map_sorter_internal.h +0 -109
  2725. data/third_party/upb/upb/collections/message_value.h +0 -65
  2726. data/third_party/upb/upb/decode.h +0 -36
  2727. data/third_party/upb/upb/def.h +0 -36
  2728. data/third_party/upb/upb/def.hpp +0 -33
  2729. data/third_party/upb/upb/encode.h +0 -36
  2730. data/third_party/upb/upb/extension_registry.h +0 -35
  2731. data/third_party/upb/upb/json_decode.h +0 -36
  2732. data/third_party/upb/upb/json_encode.h +0 -36
  2733. data/third_party/upb/upb/map.h +0 -36
  2734. data/third_party/upb/upb/mem/arena_internal.h +0 -114
  2735. data/third_party/upb/upb/message/accessors_internal.h +0 -325
  2736. data/third_party/upb/upb/message/extension_internal.h +0 -83
  2737. data/third_party/upb/upb/message/internal.h +0 -135
  2738. data/third_party/upb/upb/mini_table/common.c +0 -128
  2739. data/third_party/upb/upb/mini_table/common.h +0 -170
  2740. data/third_party/upb/upb/mini_table/common_internal.h +0 -111
  2741. data/third_party/upb/upb/mini_table/decode.c +0 -1127
  2742. data/third_party/upb/upb/mini_table/decode.h +0 -179
  2743. data/third_party/upb/upb/mini_table/encode.c +0 -300
  2744. data/third_party/upb/upb/mini_table/encode_internal.h +0 -111
  2745. data/third_party/upb/upb/mini_table/encode_internal.hpp +0 -136
  2746. data/third_party/upb/upb/mini_table/enum_internal.h +0 -88
  2747. data/third_party/upb/upb/mini_table/extension_internal.h +0 -47
  2748. data/third_party/upb/upb/mini_table/field_internal.h +0 -192
  2749. data/third_party/upb/upb/mini_table/file_internal.h +0 -47
  2750. data/third_party/upb/upb/mini_table/message_internal.h +0 -136
  2751. data/third_party/upb/upb/mini_table/sub_internal.h +0 -38
  2752. data/third_party/upb/upb/mini_table/types.h +0 -40
  2753. data/third_party/upb/upb/msg.h +0 -36
  2754. data/third_party/upb/upb/reflection/def_builder.c +0 -357
  2755. data/third_party/upb/upb/reflection/def_builder_internal.h +0 -157
  2756. data/third_party/upb/upb/reflection/def_pool_internal.h +0 -77
  2757. data/third_party/upb/upb/reflection/desc_state_internal.h +0 -64
  2758. data/third_party/upb/upb/reflection/enum_def_internal.h +0 -56
  2759. data/third_party/upb/upb/reflection/enum_reserved_range_internal.h +0 -55
  2760. data/third_party/upb/upb/reflection/enum_value_def_internal.h +0 -57
  2761. data/third_party/upb/upb/reflection/extension_range_internal.h +0 -54
  2762. data/third_party/upb/upb/reflection/field_def_internal.h +0 -76
  2763. data/third_party/upb/upb/reflection/file_def_internal.h +0 -57
  2764. data/third_party/upb/upb/reflection/message_def_internal.h +0 -63
  2765. data/third_party/upb/upb/reflection/message_reserved_range_internal.h +0 -55
  2766. data/third_party/upb/upb/reflection/method_def_internal.h +0 -53
  2767. data/third_party/upb/upb/reflection/oneof_def_internal.h +0 -57
  2768. data/third_party/upb/upb/reflection/service_def_internal.h +0 -53
  2769. data/third_party/upb/upb/reflection.h +0 -36
  2770. data/third_party/upb/upb/reflection.hpp +0 -33
  2771. data/third_party/upb/upb/status.h +0 -36
  2772. data/third_party/upb/upb/string_view.h +0 -36
  2773. data/third_party/upb/upb/text_encode.h +0 -36
  2774. data/third_party/upb/upb/upb.h +0 -39
  2775. data/third_party/upb/upb/upb.hpp +0 -107
  2776. data/third_party/upb/upb/wire/common.h +0 -44
  2777. data/third_party/upb/upb/wire/common_internal.h +0 -50
  2778. data/third_party/upb/upb/wire/decode_internal.h +0 -163
  2779. data/third_party/upb/upb/wire/swap_internal.h +0 -63
  2780. /data/third_party/boringssl-with-bazel/src/crypto/{x509v3 → x509}/ext_dat.h +0 -0
@@ -0,0 +1,1935 @@
1
+ //
2
+ // Copyright 2016 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 gRPC LB policy.
18
+ ///
19
+ /// This policy takes as input a list of resolved addresses, which must
20
+ /// include at least one balancer address.
21
+ ///
22
+ /// An internal channel (\a lb_channel_) is created for the addresses
23
+ /// from that are balancers. This channel behaves just like a regular
24
+ /// channel that uses pick_first to select from the list of balancer
25
+ /// addresses.
26
+ ///
27
+ /// When we get our initial update, we instantiate the internal *streaming*
28
+ /// call to the LB server (whichever address pick_first chose). The call
29
+ /// will be complete when either the balancer sends status or when we cancel
30
+ /// the call (e.g., because we are shutting down). In needed, we retry the
31
+ /// call. If we received at least one valid message from the server, a new
32
+ /// call attempt will be made immediately; otherwise, we apply back-off
33
+ /// delays between attempts.
34
+ ///
35
+ /// We maintain an internal round_robin policy instance for distributing
36
+ /// requests across backends. Whenever we receive a new serverlist from
37
+ /// the balancer, we update the round_robin policy with the new list of
38
+ /// addresses. If we cannot communicate with the balancer on startup,
39
+ /// however, we may enter fallback mode, in which case we will populate
40
+ /// the child policy's addresses from the backend addresses returned by the
41
+ /// resolver.
42
+ ///
43
+ /// Once a child policy instance is in place (and getting updated as described),
44
+ /// calls for a pick, a ping, or a cancellation will be serviced right
45
+ /// away by forwarding them to the child policy instance. Any time there's no
46
+ /// child policy available (i.e., right after the creation of the gRPCLB
47
+ /// policy), pick requests are queued.
48
+ ///
49
+ /// \see https://github.com/grpc/grpc/blob/master/doc/load-balancing.md for the
50
+ /// high level design and details.
51
+
52
+ #include <grpc/support/port_platform.h>
53
+
54
+ #include "src/core/load_balancing/grpclb/grpclb.h"
55
+
56
+ #include <grpc/event_engine/event_engine.h>
57
+ #include <grpc/impl/channel_arg_names.h>
58
+ #include <grpc/support/json.h>
59
+
60
+ // IWYU pragma: no_include <sys/socket.h>
61
+
62
+ #include <inttypes.h>
63
+ #include <string.h>
64
+
65
+ #include <algorithm>
66
+ #include <atomic>
67
+ #include <map>
68
+ #include <memory>
69
+ #include <string>
70
+ #include <type_traits>
71
+ #include <utility>
72
+ #include <vector>
73
+
74
+ #include "absl/container/inlined_vector.h"
75
+ #include "absl/functional/function_ref.h"
76
+ #include "absl/status/status.h"
77
+ #include "absl/status/statusor.h"
78
+ #include "absl/strings/str_cat.h"
79
+ #include "absl/strings/str_format.h"
80
+ #include "absl/strings/str_join.h"
81
+ #include "absl/strings/string_view.h"
82
+ #include "absl/types/optional.h"
83
+ #include "absl/types/variant.h"
84
+ #include "upb/mem/arena.hpp"
85
+
86
+ #include <grpc/byte_buffer.h>
87
+ #include <grpc/byte_buffer_reader.h>
88
+ #include <grpc/grpc.h>
89
+ #include <grpc/impl/connectivity_state.h>
90
+ #include <grpc/impl/propagation_bits.h>
91
+ #include <grpc/slice.h>
92
+ #include <grpc/status.h>
93
+ #include <grpc/support/alloc.h>
94
+ #include <grpc/support/log.h>
95
+
96
+ #include "src/core/client_channel/client_channel_filter.h"
97
+ #include "src/core/lib/address_utils/sockaddr_utils.h"
98
+ #include "src/core/lib/backoff/backoff.h"
99
+ #include "src/core/lib/channel/channel_args.h"
100
+ #include "src/core/lib/channel/channelz.h"
101
+ #include "src/core/lib/config/core_configuration.h"
102
+ #include "src/core/lib/debug/trace.h"
103
+ #include "src/core/lib/experiments/experiments.h"
104
+ #include "src/core/lib/gpr/string.h"
105
+ #include "src/core/lib/gpr/useful.h"
106
+ #include "src/core/lib/gprpp/crash.h"
107
+ #include "src/core/lib/gprpp/debug_location.h"
108
+ #include "src/core/lib/gprpp/orphanable.h"
109
+ #include "src/core/lib/gprpp/ref_counted.h"
110
+ #include "src/core/lib/gprpp/ref_counted_ptr.h"
111
+ #include "src/core/lib/gprpp/status_helper.h"
112
+ #include "src/core/lib/gprpp/time.h"
113
+ #include "src/core/lib/gprpp/validation_errors.h"
114
+ #include "src/core/lib/gprpp/work_serializer.h"
115
+ #include "src/core/lib/iomgr/closure.h"
116
+ #include "src/core/lib/iomgr/error.h"
117
+ #include "src/core/lib/iomgr/exec_ctx.h"
118
+ #include "src/core/lib/iomgr/pollset_set.h"
119
+ #include "src/core/lib/iomgr/resolved_address.h"
120
+ #include "src/core/lib/iomgr/sockaddr.h"
121
+ #include "src/core/lib/iomgr/socket_utils.h"
122
+ #include "src/core/lib/json/json.h"
123
+ #include "src/core/lib/json/json_args.h"
124
+ #include "src/core/lib/json/json_object_loader.h"
125
+ #include "src/core/lib/security/credentials/credentials.h"
126
+ #include "src/core/lib/slice/slice.h"
127
+ #include "src/core/lib/slice/slice_string_helpers.h"
128
+ #include "src/core/lib/surface/call.h"
129
+ #include "src/core/lib/surface/channel.h"
130
+ #include "src/core/lib/surface/channel_stack_type.h"
131
+ #include "src/core/lib/transport/connectivity_state.h"
132
+ #include "src/core/lib/transport/metadata_batch.h"
133
+ #include "src/core/load_balancing/child_policy_handler.h"
134
+ #include "src/core/load_balancing/delegating_helper.h"
135
+ #include "src/core/load_balancing/grpclb/client_load_reporting_filter.h"
136
+ #include "src/core/load_balancing/grpclb/grpclb_balancer_addresses.h"
137
+ #include "src/core/load_balancing/grpclb/grpclb_client_stats.h"
138
+ #include "src/core/load_balancing/grpclb/load_balancer_api.h"
139
+ #include "src/core/load_balancing/lb_policy.h"
140
+ #include "src/core/load_balancing/lb_policy_factory.h"
141
+ #include "src/core/load_balancing/lb_policy_registry.h"
142
+ #include "src/core/load_balancing/subchannel_interface.h"
143
+ #include "src/core/resolver/fake/fake_resolver.h"
144
+ #include "src/core/resolver/endpoint_addresses.h"
145
+ #include "src/core/resolver/resolver.h"
146
+
147
+ #define GRPC_GRPCLB_INITIAL_CONNECT_BACKOFF_SECONDS 1
148
+ #define GRPC_GRPCLB_RECONNECT_BACKOFF_MULTIPLIER 1.6
149
+ #define GRPC_GRPCLB_RECONNECT_MAX_BACKOFF_SECONDS 120
150
+ #define GRPC_GRPCLB_RECONNECT_JITTER 0.2
151
+ #define GRPC_GRPCLB_DEFAULT_FALLBACK_TIMEOUT_MS 10000
152
+ #define GRPC_GRPCLB_DEFAULT_SUBCHANNEL_DELETION_DELAY_MS 10000
153
+
154
+ // Channel arg used to enable load reporting filter.
155
+ #define GRPC_ARG_GRPCLB_ENABLE_LOAD_REPORTING_FILTER \
156
+ "grpc.internal.grpclb_enable_load_reporting_filter"
157
+
158
+ namespace grpc_core {
159
+
160
+ TraceFlag grpc_lb_glb_trace(false, "glb");
161
+
162
+ namespace {
163
+
164
+ using ::grpc_event_engine::experimental::EventEngine;
165
+
166
+ constexpr absl::string_view kGrpclb = "grpclb";
167
+
168
+ class GrpcLbConfig : public LoadBalancingPolicy::Config {
169
+ public:
170
+ GrpcLbConfig() = default;
171
+
172
+ GrpcLbConfig(const GrpcLbConfig&) = delete;
173
+ GrpcLbConfig& operator=(const GrpcLbConfig&) = delete;
174
+
175
+ GrpcLbConfig(GrpcLbConfig&& other) = delete;
176
+ GrpcLbConfig& operator=(GrpcLbConfig&& other) = delete;
177
+
178
+ static const JsonLoaderInterface* JsonLoader(const JsonArgs&) {
179
+ static const auto* loader =
180
+ JsonObjectLoader<GrpcLbConfig>()
181
+ // Note: "childPolicy" field requires custom parsing, so
182
+ // it's handled in JsonPostLoad() instead.
183
+ .OptionalField("serviceName", &GrpcLbConfig::service_name_)
184
+ .Finish();
185
+ return loader;
186
+ }
187
+
188
+ void JsonPostLoad(const Json& json, const JsonArgs&,
189
+ ValidationErrors* errors) {
190
+ ValidationErrors::ScopedField field(errors, ".childPolicy");
191
+ Json child_policy_config_json_tmp;
192
+ const Json* child_policy_config_json;
193
+ auto it = json.object().find("childPolicy");
194
+ if (it == json.object().end()) {
195
+ child_policy_config_json_tmp = Json::FromArray({Json::FromObject({
196
+ {"round_robin", Json::FromObject({})},
197
+ })});
198
+ child_policy_config_json = &child_policy_config_json_tmp;
199
+ } else {
200
+ child_policy_config_json = &it->second;
201
+ }
202
+ auto child_policy_config =
203
+ CoreConfiguration::Get().lb_policy_registry().ParseLoadBalancingConfig(
204
+ *child_policy_config_json);
205
+ if (!child_policy_config.ok()) {
206
+ errors->AddError(child_policy_config.status().message());
207
+ return;
208
+ }
209
+ child_policy_ = std::move(*child_policy_config);
210
+ }
211
+
212
+ absl::string_view name() const override { return kGrpclb; }
213
+
214
+ RefCountedPtr<LoadBalancingPolicy::Config> child_policy() const {
215
+ return child_policy_;
216
+ }
217
+
218
+ const std::string& service_name() const { return service_name_; }
219
+
220
+ private:
221
+ RefCountedPtr<LoadBalancingPolicy::Config> child_policy_;
222
+ std::string service_name_;
223
+ };
224
+
225
+ class GrpcLb : public LoadBalancingPolicy {
226
+ public:
227
+ explicit GrpcLb(Args args);
228
+
229
+ absl::string_view name() const override { return kGrpclb; }
230
+
231
+ absl::Status UpdateLocked(UpdateArgs args) override;
232
+ void ResetBackoffLocked() override;
233
+
234
+ private:
235
+ /// Contains a call to the LB server and all the data related to the call.
236
+ class BalancerCallState : public InternallyRefCounted<BalancerCallState> {
237
+ public:
238
+ explicit BalancerCallState(
239
+ RefCountedPtr<LoadBalancingPolicy> parent_grpclb_policy);
240
+ ~BalancerCallState() override;
241
+
242
+ // It's the caller's responsibility to ensure that Orphan() is called from
243
+ // inside the combiner.
244
+ void Orphan() override;
245
+
246
+ void StartQuery();
247
+
248
+ GrpcLbClientStats* client_stats() const { return client_stats_.get(); }
249
+
250
+ bool seen_initial_response() const { return seen_initial_response_; }
251
+ bool seen_serverlist() const { return seen_serverlist_; }
252
+
253
+ private:
254
+ GrpcLb* grpclb_policy() const {
255
+ return static_cast<GrpcLb*>(grpclb_policy_.get());
256
+ }
257
+
258
+ void ScheduleNextClientLoadReportLocked();
259
+ void SendClientLoadReportLocked();
260
+
261
+ // EventEngine callbacks
262
+ void MaybeSendClientLoadReportLocked();
263
+
264
+ static void ClientLoadReportDone(void* arg, grpc_error_handle error);
265
+ static void OnInitialRequestSent(void* arg, grpc_error_handle error);
266
+ static void OnBalancerMessageReceived(void* arg, grpc_error_handle error);
267
+ static void OnBalancerStatusReceived(void* arg, grpc_error_handle error);
268
+
269
+ void ClientLoadReportDoneLocked(grpc_error_handle error);
270
+ void OnInitialRequestSentLocked();
271
+ void OnBalancerMessageReceivedLocked();
272
+ void OnBalancerStatusReceivedLocked(grpc_error_handle error);
273
+
274
+ // The owning LB policy.
275
+ RefCountedPtr<LoadBalancingPolicy> grpclb_policy_;
276
+
277
+ // The streaming call to the LB server. Always non-NULL.
278
+ grpc_call* lb_call_ = nullptr;
279
+
280
+ // recv_initial_metadata
281
+ grpc_metadata_array lb_initial_metadata_recv_;
282
+
283
+ // send_message
284
+ grpc_byte_buffer* send_message_payload_ = nullptr;
285
+ grpc_closure lb_on_initial_request_sent_;
286
+
287
+ // recv_message
288
+ grpc_byte_buffer* recv_message_payload_ = nullptr;
289
+ grpc_closure lb_on_balancer_message_received_;
290
+ bool seen_initial_response_ = false;
291
+ bool seen_serverlist_ = false;
292
+
293
+ // recv_trailing_metadata
294
+ grpc_closure lb_on_balancer_status_received_;
295
+ grpc_metadata_array lb_trailing_metadata_recv_;
296
+ grpc_status_code lb_call_status_;
297
+ grpc_slice lb_call_status_details_;
298
+
299
+ // The stats for client-side load reporting associated with this LB call.
300
+ // Created after the first serverlist is received.
301
+ RefCountedPtr<GrpcLbClientStats> client_stats_;
302
+ Duration client_stats_report_interval_;
303
+ absl::optional<EventEngine::TaskHandle> client_load_report_handle_;
304
+ bool last_client_load_report_counters_were_zero_ = false;
305
+ bool client_load_report_is_due_ = false;
306
+ // The closure used for the completion of sending the load report.
307
+ grpc_closure client_load_report_done_closure_;
308
+ };
309
+
310
+ class SubchannelWrapper : public DelegatingSubchannel {
311
+ public:
312
+ SubchannelWrapper(RefCountedPtr<SubchannelInterface> subchannel,
313
+ RefCountedPtr<GrpcLb> lb_policy, std::string lb_token,
314
+ RefCountedPtr<GrpcLbClientStats> client_stats)
315
+ : DelegatingSubchannel(std::move(subchannel)),
316
+ lb_policy_(std::move(lb_policy)),
317
+ lb_token_(std::move(lb_token)),
318
+ client_stats_(std::move(client_stats)) {}
319
+
320
+ void Orphan() override {
321
+ if (!IsWorkSerializerDispatchEnabled()) {
322
+ if (!lb_policy_->shutting_down_) {
323
+ lb_policy_->CacheDeletedSubchannelLocked(wrapped_subchannel());
324
+ }
325
+ return;
326
+ }
327
+ lb_policy_->work_serializer()->Run(
328
+ [self = WeakRefAsSubclass<SubchannelWrapper>()]() {
329
+ if (!self->lb_policy_->shutting_down_) {
330
+ self->lb_policy_->CacheDeletedSubchannelLocked(
331
+ self->wrapped_subchannel());
332
+ }
333
+ },
334
+ DEBUG_LOCATION);
335
+ }
336
+
337
+ const std::string& lb_token() const { return lb_token_; }
338
+ GrpcLbClientStats* client_stats() const { return client_stats_.get(); }
339
+
340
+ private:
341
+ RefCountedPtr<GrpcLb> lb_policy_;
342
+ std::string lb_token_;
343
+ RefCountedPtr<GrpcLbClientStats> client_stats_;
344
+ };
345
+
346
+ class TokenAndClientStatsArg : public RefCounted<TokenAndClientStatsArg> {
347
+ public:
348
+ TokenAndClientStatsArg(std::string lb_token,
349
+ RefCountedPtr<GrpcLbClientStats> client_stats)
350
+ : lb_token_(std::move(lb_token)),
351
+ client_stats_(std::move(client_stats)) {}
352
+
353
+ static absl::string_view ChannelArgName() {
354
+ return GRPC_ARG_NO_SUBCHANNEL_PREFIX "grpclb_token_and_client_stats";
355
+ }
356
+
357
+ static int ChannelArgsCompare(const TokenAndClientStatsArg* a,
358
+ const TokenAndClientStatsArg* b) {
359
+ int r = a->lb_token_.compare(b->lb_token_);
360
+ if (r != 0) return r;
361
+ return QsortCompare(a->client_stats_.get(), b->client_stats_.get());
362
+ }
363
+
364
+ const std::string& lb_token() const { return lb_token_; }
365
+ RefCountedPtr<GrpcLbClientStats> client_stats() const {
366
+ return client_stats_;
367
+ }
368
+
369
+ private:
370
+ std::string lb_token_;
371
+ RefCountedPtr<GrpcLbClientStats> client_stats_;
372
+ };
373
+
374
+ class Serverlist : public RefCounted<Serverlist> {
375
+ public:
376
+ // Takes ownership of serverlist.
377
+ explicit Serverlist(std::vector<GrpcLbServer> serverlist)
378
+ : serverlist_(std::move(serverlist)) {}
379
+
380
+ bool operator==(const Serverlist& other) const;
381
+
382
+ const std::vector<GrpcLbServer>& serverlist() const { return serverlist_; }
383
+
384
+ // Returns a text representation suitable for logging.
385
+ std::string AsText() const;
386
+
387
+ // Extracts all non-drop entries into an EndpointAddressesIterator.
388
+ std::shared_ptr<EndpointAddressesIterator> GetServerAddressList(
389
+ GrpcLbClientStats* client_stats);
390
+
391
+ // Returns true if the serverlist contains at least one drop entry and
392
+ // no backend address entries.
393
+ bool ContainsAllDropEntries() const;
394
+
395
+ // Returns the LB token to use for a drop, or null if the call
396
+ // should not be dropped.
397
+ //
398
+ // Note: This is called from the picker, NOT from inside the control
399
+ // plane work_serializer.
400
+ const char* ShouldDrop();
401
+
402
+ private:
403
+ class AddressIterator;
404
+
405
+ std::vector<GrpcLbServer> serverlist_;
406
+
407
+ // Accessed from the picker, so needs synchronization.
408
+ std::atomic<size_t> drop_index_{0};
409
+ };
410
+
411
+ class Picker : public SubchannelPicker {
412
+ public:
413
+ Picker(RefCountedPtr<Serverlist> serverlist,
414
+ RefCountedPtr<SubchannelPicker> child_picker,
415
+ RefCountedPtr<GrpcLbClientStats> client_stats)
416
+ : serverlist_(std::move(serverlist)),
417
+ child_picker_(std::move(child_picker)),
418
+ client_stats_(std::move(client_stats)) {}
419
+
420
+ PickResult Pick(PickArgs args) override;
421
+
422
+ private:
423
+ // A subchannel call tracker that unrefs the GrpcLbClientStats object
424
+ // in the case where the subchannel call is never actually started,
425
+ // since the client load reporting filter will not be able to do it
426
+ // in that case.
427
+ class SubchannelCallTracker : public SubchannelCallTrackerInterface {
428
+ public:
429
+ SubchannelCallTracker(
430
+ RefCountedPtr<GrpcLbClientStats> client_stats,
431
+ std::unique_ptr<SubchannelCallTrackerInterface> original_call_tracker)
432
+ : client_stats_(std::move(client_stats)),
433
+ original_call_tracker_(std::move(original_call_tracker)) {}
434
+
435
+ void Start() override {
436
+ if (original_call_tracker_ != nullptr) {
437
+ original_call_tracker_->Start();
438
+ }
439
+ // If we're actually starting the subchannel call, then the
440
+ // client load reporting filter will take ownership of the ref
441
+ // passed down to it via metadata.
442
+ client_stats_.release();
443
+ }
444
+
445
+ void Finish(FinishArgs args) override {
446
+ if (original_call_tracker_ != nullptr) {
447
+ original_call_tracker_->Finish(args);
448
+ }
449
+ }
450
+
451
+ private:
452
+ RefCountedPtr<GrpcLbClientStats> client_stats_;
453
+ std::unique_ptr<SubchannelCallTrackerInterface> original_call_tracker_;
454
+ };
455
+
456
+ // Serverlist to be used for determining drops.
457
+ RefCountedPtr<Serverlist> serverlist_;
458
+
459
+ RefCountedPtr<SubchannelPicker> child_picker_;
460
+ RefCountedPtr<GrpcLbClientStats> client_stats_;
461
+ };
462
+
463
+ class Helper : public ParentOwningDelegatingChannelControlHelper<GrpcLb> {
464
+ public:
465
+ explicit Helper(RefCountedPtr<GrpcLb> parent)
466
+ : ParentOwningDelegatingChannelControlHelper(std::move(parent)) {}
467
+
468
+ RefCountedPtr<SubchannelInterface> CreateSubchannel(
469
+ const grpc_resolved_address& address,
470
+ const ChannelArgs& per_address_args, const ChannelArgs& args) override;
471
+ void UpdateState(grpc_connectivity_state state, const absl::Status& status,
472
+ RefCountedPtr<SubchannelPicker> picker) override;
473
+ void RequestReresolution() override;
474
+ };
475
+
476
+ class StateWatcher : public AsyncConnectivityStateWatcherInterface {
477
+ public:
478
+ explicit StateWatcher(RefCountedPtr<GrpcLb> parent)
479
+ : AsyncConnectivityStateWatcherInterface(parent->work_serializer()),
480
+ parent_(std::move(parent)) {}
481
+
482
+ ~StateWatcher() override { parent_.reset(DEBUG_LOCATION, "StateWatcher"); }
483
+
484
+ private:
485
+ void OnConnectivityStateChange(grpc_connectivity_state new_state,
486
+ const absl::Status& status) override {
487
+ if (parent_->fallback_at_startup_checks_pending_ &&
488
+ new_state == GRPC_CHANNEL_TRANSIENT_FAILURE) {
489
+ // In TRANSIENT_FAILURE. Cancel the fallback timer and go into
490
+ // fallback mode immediately.
491
+ gpr_log(GPR_INFO,
492
+ "[grpclb %p] balancer channel in state:TRANSIENT_FAILURE (%s); "
493
+ "entering fallback mode",
494
+ parent_.get(), status.ToString().c_str());
495
+ parent_->fallback_at_startup_checks_pending_ = false;
496
+ parent_->channel_control_helper()->GetEventEngine()->Cancel(
497
+ *parent_->lb_fallback_timer_handle_);
498
+ parent_->fallback_mode_ = true;
499
+ parent_->CreateOrUpdateChildPolicyLocked();
500
+ // Cancel the watch, since we don't care about the channel state once we
501
+ // go into fallback mode.
502
+ parent_->CancelBalancerChannelConnectivityWatchLocked();
503
+ }
504
+ }
505
+
506
+ RefCountedPtr<GrpcLb> parent_;
507
+ };
508
+
509
+ class NullLbTokenEndpointIterator;
510
+
511
+ void ShutdownLocked() override;
512
+
513
+ // Helper functions used in UpdateLocked().
514
+ absl::Status UpdateBalancerChannelLocked();
515
+
516
+ void CancelBalancerChannelConnectivityWatchLocked();
517
+
518
+ // Methods for dealing with fallback state.
519
+ void MaybeEnterFallbackModeAfterStartup();
520
+ void OnFallbackTimerLocked();
521
+
522
+ // Methods for dealing with the balancer call.
523
+ void StartBalancerCallLocked();
524
+ void StartBalancerCallRetryTimerLocked();
525
+ void OnBalancerCallRetryTimerLocked();
526
+
527
+ // Methods for dealing with the child policy.
528
+ ChannelArgs CreateChildPolicyArgsLocked(
529
+ bool is_backend_from_grpclb_load_balancer);
530
+ OrphanablePtr<LoadBalancingPolicy> CreateChildPolicyLocked(
531
+ const ChannelArgs& args);
532
+ void CreateOrUpdateChildPolicyLocked();
533
+
534
+ // Subchannel caching.
535
+ void CacheDeletedSubchannelLocked(
536
+ RefCountedPtr<SubchannelInterface> subchannel);
537
+ void StartSubchannelCacheTimerLocked();
538
+ void OnSubchannelCacheTimerLocked();
539
+
540
+ // Configurations for the policy.
541
+ RefCountedPtr<GrpcLbConfig> config_;
542
+
543
+ // Current channel args from the resolver.
544
+ ChannelArgs args_;
545
+
546
+ // Internal state.
547
+ bool shutting_down_ = false;
548
+
549
+ // The channel for communicating with the LB server.
550
+ grpc_channel* lb_channel_ = nullptr;
551
+ StateWatcher* watcher_ = nullptr;
552
+ // Response generator to inject address updates into lb_channel_.
553
+ RefCountedPtr<FakeResolverResponseGenerator> response_generator_;
554
+ // Parent channelz node.
555
+ RefCountedPtr<channelz::ChannelNode> parent_channelz_node_;
556
+
557
+ // The data associated with the current LB call. It holds a ref to this LB
558
+ // policy. It's initialized every time we query for backends. It's reset to
559
+ // NULL whenever the current LB call is no longer needed (e.g., the LB policy
560
+ // is shutting down, or the LB call has ended). A non-NULL lb_calld_ always
561
+ // contains a non-NULL lb_call_.
562
+ OrphanablePtr<BalancerCallState> lb_calld_;
563
+ // Timeout for the LB call. 0 means no deadline.
564
+ const Duration lb_call_timeout_;
565
+ // Balancer call retry state.
566
+ BackOff lb_call_backoff_;
567
+ absl::optional<EventEngine::TaskHandle> lb_call_retry_timer_handle_;
568
+
569
+ // The deserialized response from the balancer. May be nullptr until one
570
+ // such response has arrived.
571
+ RefCountedPtr<Serverlist> serverlist_;
572
+
573
+ // Whether we're in fallback mode.
574
+ bool fallback_mode_ = false;
575
+ // The backend addresses from the resolver.
576
+ absl::StatusOr<std::shared_ptr<NullLbTokenEndpointIterator>>
577
+ fallback_backend_addresses_;
578
+ // The last resolution note from our parent.
579
+ // To be passed to child policy when fallback_backend_addresses_ is empty.
580
+ std::string resolution_note_;
581
+ // State for fallback-at-startup checks.
582
+ // Timeout after startup after which we will go into fallback mode if
583
+ // we have not received a serverlist from the balancer.
584
+ const Duration fallback_at_startup_timeout_;
585
+ bool fallback_at_startup_checks_pending_ = false;
586
+ absl::optional<EventEngine::TaskHandle> lb_fallback_timer_handle_;
587
+
588
+ // The child policy to use for the backends.
589
+ OrphanablePtr<LoadBalancingPolicy> child_policy_;
590
+ // Child policy in state READY.
591
+ bool child_policy_ready_ = false;
592
+
593
+ // Deleted subchannel caching.
594
+ const Duration subchannel_cache_interval_;
595
+ std::map<Timestamp /*deletion time*/,
596
+ std::vector<RefCountedPtr<SubchannelInterface>>>
597
+ cached_subchannels_;
598
+ absl::optional<EventEngine::TaskHandle> subchannel_cache_timer_handle_;
599
+ };
600
+
601
+ //
602
+ // GrpcLb::Serverlist::AddressIterator
603
+ //
604
+
605
+ bool IsServerValid(const GrpcLbServer& server, size_t idx, bool log) {
606
+ if (server.drop) return false;
607
+ if (GPR_UNLIKELY(server.port >> 16 != 0)) {
608
+ if (log) {
609
+ gpr_log(GPR_ERROR,
610
+ "Invalid port '%d' at index %" PRIuPTR
611
+ " of serverlist. Ignoring.",
612
+ server.port, idx);
613
+ }
614
+ return false;
615
+ }
616
+ if (GPR_UNLIKELY(server.ip_size != 4 && server.ip_size != 16)) {
617
+ if (log) {
618
+ gpr_log(GPR_ERROR,
619
+ "Expected IP to be 4 or 16 bytes, got %d at index %" PRIuPTR
620
+ " of serverlist. Ignoring",
621
+ server.ip_size, idx);
622
+ }
623
+ return false;
624
+ }
625
+ return true;
626
+ }
627
+
628
+ void ParseServer(const GrpcLbServer& server, grpc_resolved_address* addr) {
629
+ memset(addr, 0, sizeof(*addr));
630
+ if (server.drop) return;
631
+ const uint16_t netorder_port = grpc_htons(static_cast<uint16_t>(server.port));
632
+ // the addresses are given in binary format (a in(6)_addr struct) in
633
+ // server->ip_address.bytes.
634
+ if (server.ip_size == 4) {
635
+ addr->len = static_cast<socklen_t>(sizeof(grpc_sockaddr_in));
636
+ grpc_sockaddr_in* addr4 = reinterpret_cast<grpc_sockaddr_in*>(&addr->addr);
637
+ addr4->sin_family = GRPC_AF_INET;
638
+ memcpy(&addr4->sin_addr, server.ip_addr, server.ip_size);
639
+ addr4->sin_port = netorder_port;
640
+ } else if (server.ip_size == 16) {
641
+ addr->len = static_cast<socklen_t>(sizeof(grpc_sockaddr_in6));
642
+ grpc_sockaddr_in6* addr6 =
643
+ reinterpret_cast<grpc_sockaddr_in6*>(&addr->addr);
644
+ addr6->sin6_family = GRPC_AF_INET6;
645
+ memcpy(&addr6->sin6_addr, server.ip_addr, server.ip_size);
646
+ addr6->sin6_port = netorder_port;
647
+ }
648
+ }
649
+
650
+ class GrpcLb::Serverlist::AddressIterator : public EndpointAddressesIterator {
651
+ public:
652
+ AddressIterator(RefCountedPtr<Serverlist> serverlist,
653
+ RefCountedPtr<GrpcLbClientStats> client_stats)
654
+ : serverlist_(std::move(serverlist)),
655
+ client_stats_(std::move(client_stats)) {}
656
+
657
+ void ForEach(absl::FunctionRef<void(const EndpointAddresses&)> callback)
658
+ const override {
659
+ for (size_t i = 0; i < serverlist_->serverlist_.size(); ++i) {
660
+ const GrpcLbServer& server = serverlist_->serverlist_[i];
661
+ if (!IsServerValid(server, i, false)) continue;
662
+ // Address processing.
663
+ grpc_resolved_address addr;
664
+ ParseServer(server, &addr);
665
+ // LB token processing.
666
+ const size_t lb_token_length = strnlen(
667
+ server.load_balance_token, GPR_ARRAY_SIZE(server.load_balance_token));
668
+ std::string lb_token(server.load_balance_token, lb_token_length);
669
+ if (lb_token.empty()) {
670
+ auto addr_uri = grpc_sockaddr_to_uri(&addr);
671
+ gpr_log(GPR_INFO,
672
+ "Missing LB token for backend address '%s'. The empty token "
673
+ "will be used instead",
674
+ addr_uri.ok() ? addr_uri->c_str()
675
+ : addr_uri.status().ToString().c_str());
676
+ }
677
+ // Return address with a channel arg containing LB token and stats object.
678
+ callback(EndpointAddresses(
679
+ addr, ChannelArgs().SetObject(MakeRefCounted<TokenAndClientStatsArg>(
680
+ std::move(lb_token), client_stats_))));
681
+ }
682
+ }
683
+
684
+ private:
685
+ RefCountedPtr<Serverlist> serverlist_;
686
+ RefCountedPtr<GrpcLbClientStats> client_stats_;
687
+ };
688
+
689
+ //
690
+ // GrpcLb::Serverlist
691
+ //
692
+
693
+ bool GrpcLb::Serverlist::operator==(const Serverlist& other) const {
694
+ return serverlist_ == other.serverlist_;
695
+ }
696
+
697
+ std::string GrpcLb::Serverlist::AsText() const {
698
+ std::vector<std::string> entries;
699
+ for (size_t i = 0; i < serverlist_.size(); ++i) {
700
+ const GrpcLbServer& server = serverlist_[i];
701
+ std::string ipport;
702
+ if (server.drop) {
703
+ ipport = "(drop)";
704
+ } else {
705
+ grpc_resolved_address addr;
706
+ ParseServer(server, &addr);
707
+ auto addr_str = grpc_sockaddr_to_string(&addr, false);
708
+ ipport = addr_str.ok() ? *addr_str : addr_str.status().ToString();
709
+ }
710
+ entries.push_back(absl::StrFormat(" %" PRIuPTR ": %s token=%s\n", i,
711
+ ipport, server.load_balance_token));
712
+ }
713
+ return absl::StrJoin(entries, "");
714
+ }
715
+
716
+ // Returns addresses extracted from the serverlist.
717
+ std::shared_ptr<EndpointAddressesIterator>
718
+ GrpcLb::Serverlist::GetServerAddressList(GrpcLbClientStats* client_stats) {
719
+ RefCountedPtr<GrpcLbClientStats> stats;
720
+ if (client_stats != nullptr) stats = client_stats->Ref();
721
+ return std::make_shared<AddressIterator>(Ref(), std::move(stats));
722
+ }
723
+
724
+ bool GrpcLb::Serverlist::ContainsAllDropEntries() const {
725
+ if (serverlist_.empty()) return false;
726
+ for (const GrpcLbServer& server : serverlist_) {
727
+ if (!server.drop) return false;
728
+ }
729
+ return true;
730
+ }
731
+
732
+ const char* GrpcLb::Serverlist::ShouldDrop() {
733
+ if (serverlist_.empty()) return nullptr;
734
+ size_t index = drop_index_.fetch_add(1, std::memory_order_relaxed);
735
+ GrpcLbServer& server = serverlist_[index % serverlist_.size()];
736
+ return server.drop ? server.load_balance_token : nullptr;
737
+ }
738
+
739
+ //
740
+ // GrpcLb::Picker
741
+ //
742
+
743
+ GrpcLb::PickResult GrpcLb::Picker::Pick(PickArgs args) {
744
+ // Check if we should drop the call.
745
+ const char* drop_token =
746
+ serverlist_ == nullptr ? nullptr : serverlist_->ShouldDrop();
747
+ if (drop_token != nullptr) {
748
+ // Update client load reporting stats to indicate the number of
749
+ // dropped calls. Note that we have to do this here instead of in
750
+ // the client_load_reporting filter, because we do not create a
751
+ // subchannel call (and therefore no client_load_reporting filter)
752
+ // for dropped calls.
753
+ if (client_stats_ != nullptr) {
754
+ client_stats_->AddCallDropped(drop_token);
755
+ }
756
+ return PickResult::Drop(
757
+ absl::UnavailableError("drop directed by grpclb balancer"));
758
+ }
759
+ // Forward pick to child policy.
760
+ PickResult result = child_picker_->Pick(args);
761
+ // If pick succeeded, add LB token to initial metadata.
762
+ auto* complete_pick = absl::get_if<PickResult::Complete>(&result.result);
763
+ if (complete_pick != nullptr) {
764
+ const SubchannelWrapper* subchannel_wrapper =
765
+ static_cast<SubchannelWrapper*>(complete_pick->subchannel.get());
766
+ // Encode client stats object into metadata for use by
767
+ // client_load_reporting filter.
768
+ GrpcLbClientStats* client_stats = subchannel_wrapper->client_stats();
769
+ if (client_stats != nullptr) {
770
+ complete_pick->subchannel_call_tracker =
771
+ std::make_unique<SubchannelCallTracker>(
772
+ client_stats->Ref(),
773
+ std::move(complete_pick->subchannel_call_tracker));
774
+ // The metadata value is a hack: we pretend the pointer points to
775
+ // a string and rely on the client_load_reporting filter to know
776
+ // how to interpret it.
777
+ // NOLINTBEGIN(bugprone-string-constructor)
778
+ args.initial_metadata->Add(
779
+ GrpcLbClientStatsMetadata::key(),
780
+ absl::string_view(reinterpret_cast<const char*>(client_stats), 0));
781
+ // NOLINTEND(bugprone-string-constructor)
782
+ // Update calls-started.
783
+ client_stats->AddCallStarted();
784
+ }
785
+ // Encode the LB token in metadata.
786
+ // Create a new copy on the call arena, since the subchannel list
787
+ // may get refreshed between when we return this pick and when the
788
+ // initial metadata goes out on the wire.
789
+ if (!subchannel_wrapper->lb_token().empty()) {
790
+ char* lb_token = static_cast<char*>(
791
+ args.call_state->Alloc(subchannel_wrapper->lb_token().size() + 1));
792
+ strcpy(lb_token, subchannel_wrapper->lb_token().c_str());
793
+ args.initial_metadata->Add(LbTokenMetadata::key(), lb_token);
794
+ }
795
+ // Unwrap subchannel to pass up to the channel.
796
+ complete_pick->subchannel = subchannel_wrapper->wrapped_subchannel();
797
+ }
798
+ return result;
799
+ }
800
+
801
+ //
802
+ // GrpcLb::Helper
803
+ //
804
+
805
+ RefCountedPtr<SubchannelInterface> GrpcLb::Helper::CreateSubchannel(
806
+ const grpc_resolved_address& address, const ChannelArgs& per_address_args,
807
+ const ChannelArgs& args) {
808
+ if (parent()->shutting_down_) return nullptr;
809
+ const auto* arg = per_address_args.GetObject<TokenAndClientStatsArg>();
810
+ if (arg == nullptr) {
811
+ auto addr_str = grpc_sockaddr_to_string(&address, false);
812
+ Crash(
813
+ absl::StrFormat("[grpclb %p] no TokenAndClientStatsArg for address %s",
814
+ parent(), addr_str.value_or("N/A").c_str()));
815
+ }
816
+ std::string lb_token = arg->lb_token();
817
+ RefCountedPtr<GrpcLbClientStats> client_stats = arg->client_stats();
818
+ return MakeRefCounted<SubchannelWrapper>(
819
+ parent()->channel_control_helper()->CreateSubchannel(
820
+ address, per_address_args, args),
821
+ parent()->RefAsSubclass<GrpcLb>(DEBUG_LOCATION, "SubchannelWrapper"),
822
+ std::move(lb_token), std::move(client_stats));
823
+ }
824
+
825
+ void GrpcLb::Helper::UpdateState(grpc_connectivity_state state,
826
+ const absl::Status& status,
827
+ RefCountedPtr<SubchannelPicker> picker) {
828
+ if (parent()->shutting_down_) return;
829
+ // Record whether child policy reports READY.
830
+ parent()->child_policy_ready_ = state == GRPC_CHANNEL_READY;
831
+ // Enter fallback mode if needed.
832
+ parent()->MaybeEnterFallbackModeAfterStartup();
833
+ // We pass the serverlist to the picker so that it can handle drops.
834
+ // However, we don't want to handle drops in the case where the child
835
+ // policy is reporting a state other than READY (unless we are
836
+ // dropping *all* calls), because we don't want to process drops for picks
837
+ // that yield a QUEUE result; this would result in dropping too many calls,
838
+ // since we will see the queued picks multiple times, and we'd consider each
839
+ // one a separate call for the drop calculation. So in this case, we pass
840
+ // a null serverlist to the picker, which tells it not to do drops.
841
+ RefCountedPtr<Serverlist> serverlist;
842
+ if (state == GRPC_CHANNEL_READY ||
843
+ (parent()->serverlist_ != nullptr &&
844
+ parent()->serverlist_->ContainsAllDropEntries())) {
845
+ serverlist = parent()->serverlist_;
846
+ }
847
+ RefCountedPtr<GrpcLbClientStats> client_stats;
848
+ if (parent()->lb_calld_ != nullptr &&
849
+ parent()->lb_calld_->client_stats() != nullptr) {
850
+ client_stats = parent()->lb_calld_->client_stats()->Ref();
851
+ }
852
+ if (GRPC_TRACE_FLAG_ENABLED(grpc_lb_glb_trace)) {
853
+ gpr_log(GPR_INFO,
854
+ "[grpclb %p helper %p] state=%s (%s) wrapping child "
855
+ "picker %p (serverlist=%p, client_stats=%p)",
856
+ parent(), this, ConnectivityStateName(state),
857
+ status.ToString().c_str(), picker.get(), serverlist.get(),
858
+ client_stats.get());
859
+ }
860
+ parent()->channel_control_helper()->UpdateState(
861
+ state, status,
862
+ MakeRefCounted<Picker>(std::move(serverlist), std::move(picker),
863
+ std::move(client_stats)));
864
+ }
865
+
866
+ void GrpcLb::Helper::RequestReresolution() {
867
+ if (parent()->shutting_down_) return;
868
+ // Ignore if we're not in fallback mode, because if we got the backend
869
+ // addresses from the balancer, re-resolving is not going to fix it.
870
+ if (!parent()->fallback_mode_) return;
871
+ parent()->channel_control_helper()->RequestReresolution();
872
+ }
873
+
874
+ //
875
+ // GrpcLb::BalancerCallState
876
+ //
877
+
878
+ GrpcLb::BalancerCallState::BalancerCallState(
879
+ RefCountedPtr<LoadBalancingPolicy> parent_grpclb_policy)
880
+ : InternallyRefCounted<BalancerCallState>(
881
+ GRPC_TRACE_FLAG_ENABLED(grpc_lb_glb_trace) ? "BalancerCallState"
882
+ : nullptr),
883
+ grpclb_policy_(std::move(parent_grpclb_policy)) {
884
+ GPR_ASSERT(grpclb_policy_ != nullptr);
885
+ GPR_ASSERT(!grpclb_policy()->shutting_down_);
886
+ // Init the LB call. Note that the LB call will progress every time there's
887
+ // activity in grpclb_policy_->interested_parties(), which is comprised of
888
+ // the polling entities from client_channel.
889
+ GRPC_CLOSURE_INIT(&lb_on_initial_request_sent_, OnInitialRequestSent, this,
890
+ grpc_schedule_on_exec_ctx);
891
+ GRPC_CLOSURE_INIT(&lb_on_balancer_message_received_,
892
+ OnBalancerMessageReceived, this, grpc_schedule_on_exec_ctx);
893
+ GRPC_CLOSURE_INIT(&lb_on_balancer_status_received_, OnBalancerStatusReceived,
894
+ this, grpc_schedule_on_exec_ctx);
895
+ GRPC_CLOSURE_INIT(&client_load_report_done_closure_, ClientLoadReportDone,
896
+ this, grpc_schedule_on_exec_ctx);
897
+ const Timestamp deadline =
898
+ grpclb_policy()->lb_call_timeout_ == Duration::Zero()
899
+ ? Timestamp::InfFuture()
900
+ : Timestamp::Now() + grpclb_policy()->lb_call_timeout_;
901
+ lb_call_ = grpc_channel_create_pollset_set_call(
902
+ grpclb_policy()->lb_channel_, nullptr, GRPC_PROPAGATE_DEFAULTS,
903
+ grpclb_policy_->interested_parties(),
904
+ Slice::FromStaticString("/grpc.lb.v1.LoadBalancer/BalanceLoad").c_slice(),
905
+ nullptr, deadline, nullptr);
906
+ // Init the LB call request payload.
907
+ upb::Arena arena;
908
+ grpc_slice request_payload_slice = GrpcLbRequestCreate(
909
+ grpclb_policy()->config_->service_name().empty()
910
+ ? grpclb_policy()->channel_control_helper()->GetAuthority()
911
+ : grpclb_policy()->config_->service_name(),
912
+ arena.ptr());
913
+ send_message_payload_ =
914
+ grpc_raw_byte_buffer_create(&request_payload_slice, 1);
915
+ CSliceUnref(request_payload_slice);
916
+ // Init other data associated with the LB call.
917
+ grpc_metadata_array_init(&lb_initial_metadata_recv_);
918
+ grpc_metadata_array_init(&lb_trailing_metadata_recv_);
919
+ }
920
+
921
+ GrpcLb::BalancerCallState::~BalancerCallState() {
922
+ GPR_ASSERT(lb_call_ != nullptr);
923
+ grpc_call_unref(lb_call_);
924
+ grpc_metadata_array_destroy(&lb_initial_metadata_recv_);
925
+ grpc_metadata_array_destroy(&lb_trailing_metadata_recv_);
926
+ grpc_byte_buffer_destroy(send_message_payload_);
927
+ grpc_byte_buffer_destroy(recv_message_payload_);
928
+ CSliceUnref(lb_call_status_details_);
929
+ }
930
+
931
+ void GrpcLb::BalancerCallState::Orphan() {
932
+ GPR_ASSERT(lb_call_ != nullptr);
933
+ // If we are here because grpclb_policy wants to cancel the call,
934
+ // lb_on_balancer_status_received_ will complete the cancellation and clean
935
+ // up. Otherwise, we are here because grpclb_policy has to orphan a failed
936
+ // call, then the following cancellation will be a no-op.
937
+ grpc_call_cancel_internal(lb_call_);
938
+ if (client_load_report_handle_.has_value() &&
939
+ grpclb_policy()->channel_control_helper()->GetEventEngine()->Cancel(
940
+ client_load_report_handle_.value())) {
941
+ Unref(DEBUG_LOCATION, "client_load_report cancelled");
942
+ }
943
+ // Note that the initial ref is hold by lb_on_balancer_status_received_
944
+ // instead of the caller of this function. So the corresponding unref happens
945
+ // in lb_on_balancer_status_received_ instead of here.
946
+ }
947
+
948
+ void GrpcLb::BalancerCallState::StartQuery() {
949
+ GPR_ASSERT(lb_call_ != nullptr);
950
+ if (GRPC_TRACE_FLAG_ENABLED(grpc_lb_glb_trace)) {
951
+ gpr_log(GPR_INFO, "[grpclb %p] lb_calld=%p: Starting LB call %p",
952
+ grpclb_policy_.get(), this, lb_call_);
953
+ }
954
+ // Create the ops.
955
+ grpc_call_error call_error;
956
+ grpc_op ops[3];
957
+ memset(ops, 0, sizeof(ops));
958
+ // Op: send initial metadata.
959
+ grpc_op* op = ops;
960
+ op->op = GRPC_OP_SEND_INITIAL_METADATA;
961
+ op->data.send_initial_metadata.count = 0;
962
+ op->flags = GRPC_INITIAL_METADATA_WAIT_FOR_READY |
963
+ GRPC_INITIAL_METADATA_WAIT_FOR_READY_EXPLICITLY_SET;
964
+ op->reserved = nullptr;
965
+ op++;
966
+ // Op: send request message.
967
+ GPR_ASSERT(send_message_payload_ != nullptr);
968
+ op->op = GRPC_OP_SEND_MESSAGE;
969
+ op->data.send_message.send_message = send_message_payload_;
970
+ op->flags = 0;
971
+ op->reserved = nullptr;
972
+ op++;
973
+ // TODO(roth): We currently track this ref manually. Once the
974
+ // ClosureRef API is ready, we should pass the RefCountedPtr<> along
975
+ // with the callback.
976
+ auto self = Ref(DEBUG_LOCATION, "on_initial_request_sent");
977
+ self.release();
978
+ call_error = grpc_call_start_batch_and_execute(lb_call_, ops,
979
+ static_cast<size_t>(op - ops),
980
+ &lb_on_initial_request_sent_);
981
+ GPR_ASSERT(GRPC_CALL_OK == call_error);
982
+ // Op: recv initial metadata.
983
+ op = ops;
984
+ op->op = GRPC_OP_RECV_INITIAL_METADATA;
985
+ op->data.recv_initial_metadata.recv_initial_metadata =
986
+ &lb_initial_metadata_recv_;
987
+ op->flags = 0;
988
+ op->reserved = nullptr;
989
+ op++;
990
+ // Op: recv response.
991
+ op->op = GRPC_OP_RECV_MESSAGE;
992
+ op->data.recv_message.recv_message = &recv_message_payload_;
993
+ op->flags = 0;
994
+ op->reserved = nullptr;
995
+ op++;
996
+ // TODO(roth): We currently track this ref manually. Once the
997
+ // ClosureRef API is ready, we should pass the RefCountedPtr<> along
998
+ // with the callback.
999
+ self = Ref(DEBUG_LOCATION, "on_message_received");
1000
+ self.release();
1001
+ call_error = grpc_call_start_batch_and_execute(
1002
+ lb_call_, ops, static_cast<size_t>(op - ops),
1003
+ &lb_on_balancer_message_received_);
1004
+ GPR_ASSERT(GRPC_CALL_OK == call_error);
1005
+ // Op: recv server status.
1006
+ op = ops;
1007
+ op->op = GRPC_OP_RECV_STATUS_ON_CLIENT;
1008
+ op->data.recv_status_on_client.trailing_metadata =
1009
+ &lb_trailing_metadata_recv_;
1010
+ op->data.recv_status_on_client.status = &lb_call_status_;
1011
+ op->data.recv_status_on_client.status_details = &lb_call_status_details_;
1012
+ op->flags = 0;
1013
+ op->reserved = nullptr;
1014
+ op++;
1015
+ // This callback signals the end of the LB call, so it relies on the initial
1016
+ // ref instead of a new ref. When it's invoked, it's the initial ref that is
1017
+ // unreffed.
1018
+ call_error = grpc_call_start_batch_and_execute(
1019
+ lb_call_, ops, static_cast<size_t>(op - ops),
1020
+ &lb_on_balancer_status_received_);
1021
+ GPR_ASSERT(GRPC_CALL_OK == call_error);
1022
+ }
1023
+
1024
+ void GrpcLb::BalancerCallState::ScheduleNextClientLoadReportLocked() {
1025
+ client_load_report_handle_ =
1026
+ grpclb_policy()->channel_control_helper()->GetEventEngine()->RunAfter(
1027
+ client_stats_report_interval_, [this] {
1028
+ ApplicationCallbackExecCtx callback_exec_ctx;
1029
+ ExecCtx exec_ctx;
1030
+ grpclb_policy()->work_serializer()->Run(
1031
+ [this] { MaybeSendClientLoadReportLocked(); }, DEBUG_LOCATION);
1032
+ });
1033
+ }
1034
+
1035
+ void GrpcLb::BalancerCallState::MaybeSendClientLoadReportLocked() {
1036
+ client_load_report_handle_.reset();
1037
+ if (this != grpclb_policy()->lb_calld_.get()) {
1038
+ Unref(DEBUG_LOCATION, "client_load_report");
1039
+ return;
1040
+ }
1041
+ // If we've already sent the initial request, then we can go ahead and send
1042
+ // the load report. Otherwise, we need to wait until the initial request has
1043
+ // been sent to send this (see OnInitialRequestSentLocked()).
1044
+ if (send_message_payload_ == nullptr) {
1045
+ SendClientLoadReportLocked();
1046
+ } else {
1047
+ client_load_report_is_due_ = true;
1048
+ }
1049
+ }
1050
+
1051
+ void GrpcLb::BalancerCallState::SendClientLoadReportLocked() {
1052
+ // Construct message payload.
1053
+ GPR_ASSERT(send_message_payload_ == nullptr);
1054
+ // Get snapshot of stats.
1055
+ int64_t num_calls_started;
1056
+ int64_t num_calls_finished;
1057
+ int64_t num_calls_finished_with_client_failed_to_send;
1058
+ int64_t num_calls_finished_known_received;
1059
+ std::unique_ptr<GrpcLbClientStats::DroppedCallCounts> drop_token_counts;
1060
+ client_stats_->Get(&num_calls_started, &num_calls_finished,
1061
+ &num_calls_finished_with_client_failed_to_send,
1062
+ &num_calls_finished_known_received, &drop_token_counts);
1063
+ // Skip client load report if the counters were all zero in the last
1064
+ // report and they are still zero in this one.
1065
+ if (num_calls_started == 0 && num_calls_finished == 0 &&
1066
+ num_calls_finished_with_client_failed_to_send == 0 &&
1067
+ num_calls_finished_known_received == 0 &&
1068
+ (drop_token_counts == nullptr || drop_token_counts->empty())) {
1069
+ if (last_client_load_report_counters_were_zero_) {
1070
+ ScheduleNextClientLoadReportLocked();
1071
+ return;
1072
+ }
1073
+ last_client_load_report_counters_were_zero_ = true;
1074
+ } else {
1075
+ last_client_load_report_counters_were_zero_ = false;
1076
+ }
1077
+ // Populate load report.
1078
+ upb::Arena arena;
1079
+ grpc_slice request_payload_slice = GrpcLbLoadReportRequestCreate(
1080
+ num_calls_started, num_calls_finished,
1081
+ num_calls_finished_with_client_failed_to_send,
1082
+ num_calls_finished_known_received, drop_token_counts.get(), arena.ptr());
1083
+ send_message_payload_ =
1084
+ grpc_raw_byte_buffer_create(&request_payload_slice, 1);
1085
+ CSliceUnref(request_payload_slice);
1086
+ // Send the report.
1087
+ grpc_op op;
1088
+ memset(&op, 0, sizeof(op));
1089
+ op.op = GRPC_OP_SEND_MESSAGE;
1090
+ op.data.send_message.send_message = send_message_payload_;
1091
+ grpc_call_error call_error = grpc_call_start_batch_and_execute(
1092
+ lb_call_, &op, 1, &client_load_report_done_closure_);
1093
+ if (GPR_UNLIKELY(call_error != GRPC_CALL_OK)) {
1094
+ gpr_log(GPR_ERROR,
1095
+ "[grpclb %p] lb_calld=%p call_error=%d sending client load report",
1096
+ grpclb_policy_.get(), this, call_error);
1097
+ GPR_ASSERT(GRPC_CALL_OK == call_error);
1098
+ }
1099
+ }
1100
+
1101
+ void GrpcLb::BalancerCallState::ClientLoadReportDone(void* arg,
1102
+ grpc_error_handle error) {
1103
+ BalancerCallState* lb_calld = static_cast<BalancerCallState*>(arg);
1104
+ lb_calld->grpclb_policy()->work_serializer()->Run(
1105
+ [lb_calld, error]() { lb_calld->ClientLoadReportDoneLocked(error); },
1106
+ DEBUG_LOCATION);
1107
+ }
1108
+
1109
+ void GrpcLb::BalancerCallState::ClientLoadReportDoneLocked(
1110
+ grpc_error_handle error) {
1111
+ grpc_byte_buffer_destroy(send_message_payload_);
1112
+ send_message_payload_ = nullptr;
1113
+ if (!error.ok() || this != grpclb_policy()->lb_calld_.get()) {
1114
+ Unref(DEBUG_LOCATION, "client_load_report");
1115
+ return;
1116
+ }
1117
+ ScheduleNextClientLoadReportLocked();
1118
+ }
1119
+
1120
+ void GrpcLb::BalancerCallState::OnInitialRequestSent(
1121
+ void* arg, grpc_error_handle /*error*/) {
1122
+ BalancerCallState* lb_calld = static_cast<BalancerCallState*>(arg);
1123
+ lb_calld->grpclb_policy()->work_serializer()->Run(
1124
+ [lb_calld]() { lb_calld->OnInitialRequestSentLocked(); }, DEBUG_LOCATION);
1125
+ }
1126
+
1127
+ void GrpcLb::BalancerCallState::OnInitialRequestSentLocked() {
1128
+ grpc_byte_buffer_destroy(send_message_payload_);
1129
+ send_message_payload_ = nullptr;
1130
+ // If we attempted to send a client load report before the initial request was
1131
+ // sent (and this lb_calld is still in use), send the load report now.
1132
+ if (client_load_report_is_due_ && this == grpclb_policy()->lb_calld_.get()) {
1133
+ SendClientLoadReportLocked();
1134
+ client_load_report_is_due_ = false;
1135
+ }
1136
+ Unref(DEBUG_LOCATION, "on_initial_request_sent");
1137
+ }
1138
+
1139
+ void GrpcLb::BalancerCallState::OnBalancerMessageReceived(
1140
+ void* arg, grpc_error_handle /*error*/) {
1141
+ BalancerCallState* lb_calld = static_cast<BalancerCallState*>(arg);
1142
+ lb_calld->grpclb_policy()->work_serializer()->Run(
1143
+ [lb_calld]() { lb_calld->OnBalancerMessageReceivedLocked(); },
1144
+ DEBUG_LOCATION);
1145
+ }
1146
+
1147
+ void GrpcLb::BalancerCallState::OnBalancerMessageReceivedLocked() {
1148
+ // Null payload means the LB call was cancelled.
1149
+ if (this != grpclb_policy()->lb_calld_.get() ||
1150
+ recv_message_payload_ == nullptr) {
1151
+ Unref(DEBUG_LOCATION, "on_message_received");
1152
+ return;
1153
+ }
1154
+ grpc_byte_buffer_reader bbr;
1155
+ grpc_byte_buffer_reader_init(&bbr, recv_message_payload_);
1156
+ grpc_slice response_slice = grpc_byte_buffer_reader_readall(&bbr);
1157
+ grpc_byte_buffer_reader_destroy(&bbr);
1158
+ grpc_byte_buffer_destroy(recv_message_payload_);
1159
+ recv_message_payload_ = nullptr;
1160
+ GrpcLbResponse response;
1161
+ upb::Arena arena;
1162
+ if (!GrpcLbResponseParse(response_slice, arena.ptr(), &response) ||
1163
+ (response.type == response.INITIAL && seen_initial_response_)) {
1164
+ if (gpr_should_log(GPR_LOG_SEVERITY_ERROR)) {
1165
+ char* response_slice_str =
1166
+ grpc_dump_slice(response_slice, GPR_DUMP_ASCII | GPR_DUMP_HEX);
1167
+ gpr_log(GPR_ERROR,
1168
+ "[grpclb %p] lb_calld=%p: Invalid LB response received: '%s'. "
1169
+ "Ignoring.",
1170
+ grpclb_policy(), this, response_slice_str);
1171
+ gpr_free(response_slice_str);
1172
+ }
1173
+ } else {
1174
+ switch (response.type) {
1175
+ case response.INITIAL: {
1176
+ if (response.client_stats_report_interval != Duration::Zero()) {
1177
+ client_stats_report_interval_ = std::max(
1178
+ Duration::Seconds(1), response.client_stats_report_interval);
1179
+ if (GRPC_TRACE_FLAG_ENABLED(grpc_lb_glb_trace)) {
1180
+ gpr_log(GPR_INFO,
1181
+ "[grpclb %p] lb_calld=%p: Received initial LB response "
1182
+ "message; client load reporting interval = %" PRId64
1183
+ " milliseconds",
1184
+ grpclb_policy(), this,
1185
+ client_stats_report_interval_.millis());
1186
+ }
1187
+ } else if (GRPC_TRACE_FLAG_ENABLED(grpc_lb_glb_trace)) {
1188
+ gpr_log(GPR_INFO,
1189
+ "[grpclb %p] lb_calld=%p: Received initial LB response "
1190
+ "message; client load reporting NOT enabled",
1191
+ grpclb_policy(), this);
1192
+ }
1193
+ seen_initial_response_ = true;
1194
+ break;
1195
+ }
1196
+ case response.SERVERLIST: {
1197
+ GPR_ASSERT(lb_call_ != nullptr);
1198
+ auto serverlist_wrapper =
1199
+ MakeRefCounted<Serverlist>(std::move(response.serverlist));
1200
+ if (GRPC_TRACE_FLAG_ENABLED(grpc_lb_glb_trace)) {
1201
+ gpr_log(GPR_INFO,
1202
+ "[grpclb %p] lb_calld=%p: Serverlist with %" PRIuPTR
1203
+ " servers received:\n%s",
1204
+ grpclb_policy(), this,
1205
+ serverlist_wrapper->serverlist().size(),
1206
+ serverlist_wrapper->AsText().c_str());
1207
+ }
1208
+ seen_serverlist_ = true;
1209
+ // Start sending client load report only after we start using the
1210
+ // serverlist returned from the current LB call.
1211
+ if (client_stats_report_interval_ > Duration::Zero() &&
1212
+ client_stats_ == nullptr) {
1213
+ client_stats_ = MakeRefCounted<GrpcLbClientStats>();
1214
+ // Ref held by callback.
1215
+ Ref(DEBUG_LOCATION, "client_load_report").release();
1216
+ ScheduleNextClientLoadReportLocked();
1217
+ }
1218
+ // Check if the serverlist differs from the previous one.
1219
+ if (grpclb_policy()->serverlist_ != nullptr &&
1220
+ *grpclb_policy()->serverlist_ == *serverlist_wrapper) {
1221
+ if (GRPC_TRACE_FLAG_ENABLED(grpc_lb_glb_trace)) {
1222
+ gpr_log(GPR_INFO,
1223
+ "[grpclb %p] lb_calld=%p: Incoming server list identical "
1224
+ "to current, ignoring.",
1225
+ grpclb_policy(), this);
1226
+ }
1227
+ } else { // New serverlist.
1228
+ // Dispose of the fallback.
1229
+ // TODO(roth): Ideally, we should stay in fallback mode until we
1230
+ // know that we can reach at least one of the backends in the new
1231
+ // serverlist. Unfortunately, we can't do that, since we need to
1232
+ // send the new addresses to the child policy in order to determine
1233
+ // if they are reachable, and if we don't exit fallback mode now,
1234
+ // CreateOrUpdateChildPolicyLocked() will use the fallback
1235
+ // addresses instead of the addresses from the new serverlist.
1236
+ // However, if we can't reach any of the servers in the new
1237
+ // serverlist, then the child policy will never switch away from
1238
+ // the fallback addresses, but the grpclb policy will still think
1239
+ // that we're not in fallback mode, which means that we won't send
1240
+ // updates to the child policy when the fallback addresses are
1241
+ // updated by the resolver. This is sub-optimal, but the only way
1242
+ // to fix it is to maintain a completely separate child policy for
1243
+ // fallback mode, and that's more work than we want to put into
1244
+ // the grpclb implementation at this point, since we're deprecating
1245
+ // it in favor of the xds policy. We will implement this the
1246
+ // right way in the xds policy instead.
1247
+ if (grpclb_policy()->fallback_mode_) {
1248
+ gpr_log(GPR_INFO,
1249
+ "[grpclb %p] Received response from balancer; exiting "
1250
+ "fallback mode",
1251
+ grpclb_policy());
1252
+ grpclb_policy()->fallback_mode_ = false;
1253
+ }
1254
+ if (grpclb_policy()->fallback_at_startup_checks_pending_) {
1255
+ grpclb_policy()->fallback_at_startup_checks_pending_ = false;
1256
+ grpclb_policy()->channel_control_helper()->GetEventEngine()->Cancel(
1257
+ *grpclb_policy()->lb_fallback_timer_handle_);
1258
+ grpclb_policy()->CancelBalancerChannelConnectivityWatchLocked();
1259
+ }
1260
+ // Update the serverlist in the GrpcLb instance. This serverlist
1261
+ // instance will be destroyed either upon the next update or when the
1262
+ // GrpcLb instance is destroyed.
1263
+ grpclb_policy()->serverlist_ = std::move(serverlist_wrapper);
1264
+ grpclb_policy()->CreateOrUpdateChildPolicyLocked();
1265
+ }
1266
+ break;
1267
+ }
1268
+ case response.FALLBACK: {
1269
+ if (!grpclb_policy()->fallback_mode_) {
1270
+ gpr_log(GPR_INFO,
1271
+ "[grpclb %p] Entering fallback mode as requested by balancer",
1272
+ grpclb_policy());
1273
+ if (grpclb_policy()->fallback_at_startup_checks_pending_) {
1274
+ grpclb_policy()->fallback_at_startup_checks_pending_ = false;
1275
+ grpclb_policy()->channel_control_helper()->GetEventEngine()->Cancel(
1276
+ *grpclb_policy()->lb_fallback_timer_handle_);
1277
+ grpclb_policy()->CancelBalancerChannelConnectivityWatchLocked();
1278
+ }
1279
+ grpclb_policy()->fallback_mode_ = true;
1280
+ grpclb_policy()->CreateOrUpdateChildPolicyLocked();
1281
+ // Reset serverlist, so that if the balancer exits fallback
1282
+ // mode by sending the same serverlist we were previously
1283
+ // using, we don't incorrectly ignore it as a duplicate.
1284
+ grpclb_policy()->serverlist_.reset();
1285
+ }
1286
+ break;
1287
+ }
1288
+ }
1289
+ }
1290
+ CSliceUnref(response_slice);
1291
+ if (!grpclb_policy()->shutting_down_) {
1292
+ // Keep listening for serverlist updates.
1293
+ grpc_op op;
1294
+ memset(&op, 0, sizeof(op));
1295
+ op.op = GRPC_OP_RECV_MESSAGE;
1296
+ op.data.recv_message.recv_message = &recv_message_payload_;
1297
+ op.flags = 0;
1298
+ op.reserved = nullptr;
1299
+ // Reuse the "OnBalancerMessageReceivedLocked" ref taken in StartQuery().
1300
+ const grpc_call_error call_error = grpc_call_start_batch_and_execute(
1301
+ lb_call_, &op, 1, &lb_on_balancer_message_received_);
1302
+ GPR_ASSERT(GRPC_CALL_OK == call_error);
1303
+ } else {
1304
+ Unref(DEBUG_LOCATION, "on_message_received+grpclb_shutdown");
1305
+ }
1306
+ }
1307
+
1308
+ void GrpcLb::BalancerCallState::OnBalancerStatusReceived(
1309
+ void* arg, grpc_error_handle error) {
1310
+ BalancerCallState* lb_calld = static_cast<BalancerCallState*>(arg);
1311
+ lb_calld->grpclb_policy()->work_serializer()->Run(
1312
+ [lb_calld, error]() { lb_calld->OnBalancerStatusReceivedLocked(error); },
1313
+ DEBUG_LOCATION);
1314
+ }
1315
+
1316
+ void GrpcLb::BalancerCallState::OnBalancerStatusReceivedLocked(
1317
+ grpc_error_handle error) {
1318
+ GPR_ASSERT(lb_call_ != nullptr);
1319
+ if (GRPC_TRACE_FLAG_ENABLED(grpc_lb_glb_trace)) {
1320
+ char* status_details = grpc_slice_to_c_string(lb_call_status_details_);
1321
+ gpr_log(GPR_INFO,
1322
+ "[grpclb %p] lb_calld=%p: Status from LB server received. "
1323
+ "Status = %d, details = '%s', (lb_call: %p), error '%s'",
1324
+ grpclb_policy(), this, lb_call_status_, status_details, lb_call_,
1325
+ StatusToString(error).c_str());
1326
+ gpr_free(status_details);
1327
+ }
1328
+ // If this lb_calld is still in use, this call ended because of a failure so
1329
+ // we want to retry connecting. Otherwise, we have deliberately ended this
1330
+ // call and no further action is required.
1331
+ if (this == grpclb_policy()->lb_calld_.get()) {
1332
+ // If the fallback-at-startup checks are pending, go into fallback mode
1333
+ // immediately. This short-circuits the timeout for the fallback-at-startup
1334
+ // case.
1335
+ grpclb_policy()->lb_calld_.reset();
1336
+ if (grpclb_policy()->fallback_at_startup_checks_pending_) {
1337
+ GPR_ASSERT(!seen_serverlist_);
1338
+ gpr_log(GPR_INFO,
1339
+ "[grpclb %p] Balancer call finished without receiving "
1340
+ "serverlist; entering fallback mode",
1341
+ grpclb_policy());
1342
+ grpclb_policy()->fallback_at_startup_checks_pending_ = false;
1343
+ grpclb_policy()->channel_control_helper()->GetEventEngine()->Cancel(
1344
+ *grpclb_policy()->lb_fallback_timer_handle_);
1345
+ grpclb_policy()->CancelBalancerChannelConnectivityWatchLocked();
1346
+ grpclb_policy()->fallback_mode_ = true;
1347
+ grpclb_policy()->CreateOrUpdateChildPolicyLocked();
1348
+ } else {
1349
+ // This handles the fallback-after-startup case.
1350
+ grpclb_policy()->MaybeEnterFallbackModeAfterStartup();
1351
+ }
1352
+ GPR_ASSERT(!grpclb_policy()->shutting_down_);
1353
+ grpclb_policy()->channel_control_helper()->RequestReresolution();
1354
+ if (seen_initial_response_) {
1355
+ // If we lose connection to the LB server, reset the backoff and restart
1356
+ // the LB call immediately.
1357
+ grpclb_policy()->lb_call_backoff_.Reset();
1358
+ grpclb_policy()->StartBalancerCallLocked();
1359
+ } else {
1360
+ // If this LB call fails establishing any connection to the LB server,
1361
+ // retry later.
1362
+ grpclb_policy()->StartBalancerCallRetryTimerLocked();
1363
+ }
1364
+ }
1365
+ Unref(DEBUG_LOCATION, "lb_call_ended");
1366
+ }
1367
+
1368
+ //
1369
+ // helper code for creating balancer channel
1370
+ //
1371
+
1372
+ EndpointAddressesList ExtractBalancerAddresses(const ChannelArgs& args) {
1373
+ const EndpointAddressesList* endpoints =
1374
+ FindGrpclbBalancerAddressesInChannelArgs(args);
1375
+ if (endpoints != nullptr) return *endpoints;
1376
+ return EndpointAddressesList();
1377
+ }
1378
+
1379
+ // Returns the channel args for the LB channel, used to create a bidirectional
1380
+ // stream for the reception of load balancing updates.
1381
+ //
1382
+ // Inputs:
1383
+ // - \a response_generator: in order to propagate updates from the resolver
1384
+ // above the grpclb policy.
1385
+ // - \a args: other args inherited from the grpclb policy.
1386
+ ChannelArgs BuildBalancerChannelArgs(
1387
+ FakeResolverResponseGenerator* response_generator,
1388
+ const ChannelArgs& args) {
1389
+ ChannelArgs grpclb_channel_args;
1390
+ const grpc_channel_args* lb_channel_specific_args =
1391
+ args.GetPointer<grpc_channel_args>(
1392
+ GRPC_ARG_EXPERIMENTAL_GRPCLB_CHANNEL_ARGS);
1393
+ if (lb_channel_specific_args != nullptr) {
1394
+ grpclb_channel_args = ChannelArgs::FromC(lb_channel_specific_args);
1395
+ } else {
1396
+ // Set grpclb_channel_args based on the parent channel's channel args.
1397
+ grpclb_channel_args =
1398
+ args
1399
+ // LB policy name, since we want to use the default (pick_first) in
1400
+ // the LB channel.
1401
+ .Remove(GRPC_ARG_LB_POLICY_NAME)
1402
+ // Strip out the service config, since we don't want the LB policy
1403
+ // config specified for the parent channel to affect the LB channel.
1404
+ .Remove(GRPC_ARG_SERVICE_CONFIG)
1405
+ // The fake resolver response generator, because we are replacing it
1406
+ // with the one from the grpclb policy, used to propagate updates to
1407
+ // the LB channel.
1408
+ .Remove(GRPC_ARG_FAKE_RESOLVER_RESPONSE_GENERATOR)
1409
+ // The LB channel should use the authority indicated by the target
1410
+ // authority table (see \a ModifyGrpclbBalancerChannelArgs),
1411
+ // as opposed to the authority from the parent channel.
1412
+ .Remove(GRPC_ARG_DEFAULT_AUTHORITY)
1413
+ // Just as for \a GRPC_ARG_DEFAULT_AUTHORITY, the LB channel should
1414
+ // be treated as a stand-alone channel and not inherit this argument
1415
+ // from the args of the parent channel.
1416
+ .Remove(GRPC_SSL_TARGET_NAME_OVERRIDE_ARG)
1417
+ // Don't want to pass down channelz node from parent; the balancer
1418
+ // channel will get its own.
1419
+ .Remove(GRPC_ARG_CHANNELZ_CHANNEL_NODE)
1420
+ // Remove the channel args for channel credentials and replace it
1421
+ // with a version that does not contain call credentials. The
1422
+ // loadbalancer is not necessarily trusted to handle bearer token
1423
+ // credentials.
1424
+ .Remove(GRPC_ARG_CHANNEL_CREDENTIALS);
1425
+ }
1426
+ return grpclb_channel_args
1427
+ // A channel arg indicating the target is a grpclb load balancer.
1428
+ .Set(GRPC_ARG_ADDRESS_IS_GRPCLB_LOAD_BALANCER, 1)
1429
+ // Tells channelz that this is an internal channel.
1430
+ .Set(GRPC_ARG_CHANNELZ_IS_INTERNAL_CHANNEL, 1)
1431
+ // The fake resolver response generator, which we use to inject
1432
+ // address updates into the LB channel.
1433
+ .SetObject(response_generator->Ref());
1434
+ }
1435
+
1436
+ //
1437
+ // ctor and dtor
1438
+ //
1439
+
1440
+ GrpcLb::GrpcLb(Args args)
1441
+ : LoadBalancingPolicy(std::move(args)),
1442
+ response_generator_(MakeRefCounted<FakeResolverResponseGenerator>()),
1443
+ lb_call_timeout_(std::max(
1444
+ Duration::Zero(),
1445
+ channel_args()
1446
+ .GetDurationFromIntMillis(GRPC_ARG_GRPCLB_CALL_TIMEOUT_MS)
1447
+ .value_or(Duration::Zero()))),
1448
+ lb_call_backoff_(
1449
+ BackOff::Options()
1450
+ .set_initial_backoff(Duration::Seconds(
1451
+ GRPC_GRPCLB_INITIAL_CONNECT_BACKOFF_SECONDS))
1452
+ .set_multiplier(GRPC_GRPCLB_RECONNECT_BACKOFF_MULTIPLIER)
1453
+ .set_jitter(GRPC_GRPCLB_RECONNECT_JITTER)
1454
+ .set_max_backoff(Duration::Seconds(
1455
+ GRPC_GRPCLB_RECONNECT_MAX_BACKOFF_SECONDS))),
1456
+ fallback_at_startup_timeout_(std::max(
1457
+ Duration::Zero(),
1458
+ channel_args()
1459
+ .GetDurationFromIntMillis(GRPC_ARG_GRPCLB_FALLBACK_TIMEOUT_MS)
1460
+ .value_or(Duration::Milliseconds(
1461
+ GRPC_GRPCLB_DEFAULT_FALLBACK_TIMEOUT_MS)))),
1462
+ subchannel_cache_interval_(std::max(
1463
+ Duration::Zero(),
1464
+ channel_args()
1465
+ .GetDurationFromIntMillis(
1466
+ GRPC_ARG_GRPCLB_SUBCHANNEL_CACHE_INTERVAL_MS)
1467
+ .value_or(Duration::Milliseconds(
1468
+ GRPC_GRPCLB_DEFAULT_SUBCHANNEL_DELETION_DELAY_MS)))) {
1469
+ if (GRPC_TRACE_FLAG_ENABLED(grpc_lb_glb_trace)) {
1470
+ gpr_log(GPR_INFO,
1471
+ "[grpclb %p] Will use '%s' as the server name for LB request.",
1472
+ this,
1473
+ std::string(channel_control_helper()->GetAuthority()).c_str());
1474
+ }
1475
+ }
1476
+
1477
+ void GrpcLb::ShutdownLocked() {
1478
+ shutting_down_ = true;
1479
+ lb_calld_.reset();
1480
+ if (subchannel_cache_timer_handle_.has_value()) {
1481
+ channel_control_helper()->GetEventEngine()->Cancel(
1482
+ *subchannel_cache_timer_handle_);
1483
+ subchannel_cache_timer_handle_.reset();
1484
+ }
1485
+ cached_subchannels_.clear();
1486
+ if (lb_call_retry_timer_handle_.has_value()) {
1487
+ channel_control_helper()->GetEventEngine()->Cancel(
1488
+ *lb_call_retry_timer_handle_);
1489
+ }
1490
+ if (fallback_at_startup_checks_pending_) {
1491
+ fallback_at_startup_checks_pending_ = false;
1492
+ channel_control_helper()->GetEventEngine()->Cancel(
1493
+ *lb_fallback_timer_handle_);
1494
+ CancelBalancerChannelConnectivityWatchLocked();
1495
+ }
1496
+ if (child_policy_ != nullptr) {
1497
+ grpc_pollset_set_del_pollset_set(child_policy_->interested_parties(),
1498
+ interested_parties());
1499
+ child_policy_.reset();
1500
+ }
1501
+ // We destroy the LB channel here instead of in our destructor because
1502
+ // destroying the channel triggers a last callback to
1503
+ // OnBalancerChannelConnectivityChangedLocked(), and we need to be
1504
+ // alive when that callback is invoked.
1505
+ if (lb_channel_ != nullptr) {
1506
+ if (parent_channelz_node_ != nullptr) {
1507
+ channelz::ChannelNode* child_channelz_node =
1508
+ grpc_channel_get_channelz_node(lb_channel_);
1509
+ GPR_ASSERT(child_channelz_node != nullptr);
1510
+ parent_channelz_node_->RemoveChildChannel(child_channelz_node->uuid());
1511
+ }
1512
+ grpc_channel_destroy_internal(lb_channel_);
1513
+ lb_channel_ = nullptr;
1514
+ }
1515
+ }
1516
+
1517
+ //
1518
+ // public methods
1519
+ //
1520
+
1521
+ void GrpcLb::ResetBackoffLocked() {
1522
+ if (lb_channel_ != nullptr) {
1523
+ grpc_channel_reset_connect_backoff(lb_channel_);
1524
+ }
1525
+ if (child_policy_ != nullptr) {
1526
+ child_policy_->ResetBackoffLocked();
1527
+ }
1528
+ }
1529
+
1530
+ // Endpoint iterator wrapper to add null LB token attribute.
1531
+ class GrpcLb::NullLbTokenEndpointIterator : public EndpointAddressesIterator {
1532
+ public:
1533
+ explicit NullLbTokenEndpointIterator(
1534
+ std::shared_ptr<EndpointAddressesIterator> parent_it)
1535
+ : parent_it_(std::move(parent_it)) {}
1536
+
1537
+ void ForEach(absl::FunctionRef<void(const EndpointAddresses&)> callback)
1538
+ const override {
1539
+ parent_it_->ForEach([&](const EndpointAddresses& endpoint) {
1540
+ if (GRPC_TRACE_FLAG_ENABLED(grpc_lb_glb_trace)) {
1541
+ gpr_log(GPR_INFO, "[grpclb %p] fallback address: %s", this,
1542
+ endpoint.ToString().c_str());
1543
+ }
1544
+ callback(EndpointAddresses(endpoint.addresses(),
1545
+ endpoint.args().SetObject(empty_token_)));
1546
+ });
1547
+ }
1548
+
1549
+ private:
1550
+ std::shared_ptr<EndpointAddressesIterator> parent_it_;
1551
+ RefCountedPtr<TokenAndClientStatsArg> empty_token_ =
1552
+ MakeRefCounted<TokenAndClientStatsArg>("", nullptr);
1553
+ };
1554
+
1555
+ absl::Status GrpcLb::UpdateLocked(UpdateArgs args) {
1556
+ if (GRPC_TRACE_FLAG_ENABLED(grpc_lb_glb_trace)) {
1557
+ gpr_log(GPR_INFO, "[grpclb %p] received update", this);
1558
+ }
1559
+ const bool is_initial_update = lb_channel_ == nullptr;
1560
+ config_ = args.config.TakeAsSubclass<GrpcLbConfig>();
1561
+ GPR_ASSERT(config_ != nullptr);
1562
+ args_ = std::move(args.args);
1563
+ // Update fallback address list.
1564
+ if (!args.addresses.ok()) {
1565
+ fallback_backend_addresses_ = args.addresses.status();
1566
+ } else {
1567
+ fallback_backend_addresses_ = std::make_shared<NullLbTokenEndpointIterator>(
1568
+ std::move(*args.addresses));
1569
+ }
1570
+ resolution_note_ = std::move(args.resolution_note);
1571
+ // Update balancer channel.
1572
+ absl::Status status = UpdateBalancerChannelLocked();
1573
+ // Update the existing child policy, if any.
1574
+ if (child_policy_ != nullptr) CreateOrUpdateChildPolicyLocked();
1575
+ // If this is the initial update, start the fallback-at-startup checks
1576
+ // and the balancer call.
1577
+ if (is_initial_update) {
1578
+ fallback_at_startup_checks_pending_ = true;
1579
+ // Start timer.
1580
+ lb_fallback_timer_handle_ =
1581
+ channel_control_helper()->GetEventEngine()->RunAfter(
1582
+ fallback_at_startup_timeout_,
1583
+ [self = RefAsSubclass<GrpcLb>(DEBUG_LOCATION,
1584
+ "on_fallback_timer")]() mutable {
1585
+ ApplicationCallbackExecCtx callback_exec_ctx;
1586
+ ExecCtx exec_ctx;
1587
+ auto self_ptr = self.get();
1588
+ self_ptr->work_serializer()->Run(
1589
+ [self = std::move(self)]() { self->OnFallbackTimerLocked(); },
1590
+ DEBUG_LOCATION);
1591
+ });
1592
+ // Start watching the channel's connectivity state. If the channel
1593
+ // goes into state TRANSIENT_FAILURE before the timer fires, we go into
1594
+ // fallback mode even if the fallback timeout has not elapsed.
1595
+ ClientChannelFilter* client_channel =
1596
+ ClientChannelFilter::GetFromChannel(Channel::FromC(lb_channel_));
1597
+ GPR_ASSERT(client_channel != nullptr);
1598
+ // Ref held by callback.
1599
+ watcher_ =
1600
+ new StateWatcher(RefAsSubclass<GrpcLb>(DEBUG_LOCATION, "StateWatcher"));
1601
+ client_channel->AddConnectivityWatcher(
1602
+ GRPC_CHANNEL_IDLE,
1603
+ OrphanablePtr<AsyncConnectivityStateWatcherInterface>(watcher_));
1604
+ // Start balancer call.
1605
+ StartBalancerCallLocked();
1606
+ }
1607
+ return status;
1608
+ }
1609
+
1610
+ //
1611
+ // helpers for UpdateLocked()
1612
+ //
1613
+
1614
+ absl::Status GrpcLb::UpdateBalancerChannelLocked() {
1615
+ // Get balancer addresses.
1616
+ EndpointAddressesList balancer_addresses = ExtractBalancerAddresses(args_);
1617
+ if (GRPC_TRACE_FLAG_ENABLED(grpc_lb_glb_trace)) {
1618
+ for (const auto& endpoint : balancer_addresses) {
1619
+ gpr_log(GPR_INFO, "[grpclb %p] balancer address: %s", this,
1620
+ endpoint.ToString().c_str());
1621
+ }
1622
+ }
1623
+ absl::Status status;
1624
+ if (balancer_addresses.empty()) {
1625
+ status = absl::UnavailableError("balancer address list must be non-empty");
1626
+ }
1627
+ // Create channel credentials that do not contain call credentials.
1628
+ auto channel_credentials = channel_control_helper()->GetChannelCredentials();
1629
+ // Construct args for balancer channel.
1630
+ ChannelArgs lb_channel_args =
1631
+ BuildBalancerChannelArgs(response_generator_.get(), args_);
1632
+ // Create balancer channel if needed.
1633
+ if (lb_channel_ == nullptr) {
1634
+ std::string uri_str =
1635
+ absl::StrCat("fake:///", channel_control_helper()->GetAuthority());
1636
+ lb_channel_ =
1637
+ grpc_channel_create(uri_str.c_str(), channel_credentials.get(),
1638
+ lb_channel_args.ToC().get());
1639
+ GPR_ASSERT(lb_channel_ != nullptr);
1640
+ // Set up channelz linkage.
1641
+ channelz::ChannelNode* child_channelz_node =
1642
+ grpc_channel_get_channelz_node(lb_channel_);
1643
+ auto parent_channelz_node = args_.GetObjectRef<channelz::ChannelNode>();
1644
+ if (child_channelz_node != nullptr && parent_channelz_node != nullptr) {
1645
+ parent_channelz_node->AddChildChannel(child_channelz_node->uuid());
1646
+ parent_channelz_node_ = std::move(parent_channelz_node);
1647
+ }
1648
+ }
1649
+ // Propagate updates to the LB channel (pick_first) through the fake
1650
+ // resolver.
1651
+ Resolver::Result result;
1652
+ result.addresses = std::move(balancer_addresses);
1653
+ // Pass channel creds via channel args, since the fake resolver won't
1654
+ // do this automatically.
1655
+ result.args = lb_channel_args.SetObject(std::move(channel_credentials));
1656
+ response_generator_->SetResponseAsync(std::move(result));
1657
+ // Return status.
1658
+ return status;
1659
+ }
1660
+
1661
+ void GrpcLb::CancelBalancerChannelConnectivityWatchLocked() {
1662
+ ClientChannelFilter* client_channel =
1663
+ ClientChannelFilter::GetFromChannel(Channel::FromC(lb_channel_));
1664
+ GPR_ASSERT(client_channel != nullptr);
1665
+ client_channel->RemoveConnectivityWatcher(watcher_);
1666
+ }
1667
+
1668
+ //
1669
+ // code for balancer channel and call
1670
+ //
1671
+
1672
+ void GrpcLb::StartBalancerCallLocked() {
1673
+ GPR_ASSERT(lb_channel_ != nullptr);
1674
+ if (shutting_down_) return;
1675
+ // Init the LB call data.
1676
+ GPR_ASSERT(lb_calld_ == nullptr);
1677
+ lb_calld_ = MakeOrphanable<BalancerCallState>(Ref());
1678
+ if (GRPC_TRACE_FLAG_ENABLED(grpc_lb_glb_trace)) {
1679
+ gpr_log(GPR_INFO,
1680
+ "[grpclb %p] Query for backends (lb_channel: %p, lb_calld: %p)",
1681
+ this, lb_channel_, lb_calld_.get());
1682
+ }
1683
+ lb_calld_->StartQuery();
1684
+ }
1685
+
1686
+ void GrpcLb::StartBalancerCallRetryTimerLocked() {
1687
+ Duration timeout = lb_call_backoff_.NextAttemptTime() - Timestamp::Now();
1688
+ if (GRPC_TRACE_FLAG_ENABLED(grpc_lb_glb_trace)) {
1689
+ gpr_log(GPR_INFO, "[grpclb %p] Connection to LB server lost...", this);
1690
+ if (timeout > Duration::Zero()) {
1691
+ gpr_log(GPR_INFO, "[grpclb %p] ... retry_timer_active in %" PRId64 "ms.",
1692
+ this, timeout.millis());
1693
+ } else {
1694
+ gpr_log(GPR_INFO, "[grpclb %p] ... retry_timer_active immediately.",
1695
+ this);
1696
+ }
1697
+ }
1698
+ lb_call_retry_timer_handle_ =
1699
+ channel_control_helper()->GetEventEngine()->RunAfter(
1700
+ timeout,
1701
+ [self = RefAsSubclass<GrpcLb>(
1702
+ DEBUG_LOCATION, "on_balancer_call_retry_timer")]() mutable {
1703
+ ApplicationCallbackExecCtx callback_exec_ctx;
1704
+ ExecCtx exec_ctx;
1705
+ auto self_ptr = self.get();
1706
+ self_ptr->work_serializer()->Run(
1707
+ [self = std::move(self)]() {
1708
+ self->OnBalancerCallRetryTimerLocked();
1709
+ },
1710
+ DEBUG_LOCATION);
1711
+ });
1712
+ }
1713
+
1714
+ void GrpcLb::OnBalancerCallRetryTimerLocked() {
1715
+ lb_call_retry_timer_handle_.reset();
1716
+ if (!shutting_down_ && lb_calld_ == nullptr) {
1717
+ if (GRPC_TRACE_FLAG_ENABLED(grpc_lb_glb_trace)) {
1718
+ gpr_log(GPR_INFO, "[grpclb %p] Restarting call to LB server", this);
1719
+ }
1720
+ StartBalancerCallLocked();
1721
+ }
1722
+ }
1723
+
1724
+ //
1725
+ // code for handling fallback mode
1726
+ //
1727
+
1728
+ void GrpcLb::MaybeEnterFallbackModeAfterStartup() {
1729
+ // Enter fallback mode if all of the following are true:
1730
+ // - We are not currently in fallback mode.
1731
+ // - We are not currently waiting for the initial fallback timeout.
1732
+ // - We are not currently in contact with the balancer.
1733
+ // - The child policy is not in state READY.
1734
+ if (!fallback_mode_ && !fallback_at_startup_checks_pending_ &&
1735
+ (lb_calld_ == nullptr || !lb_calld_->seen_serverlist()) &&
1736
+ !child_policy_ready_) {
1737
+ gpr_log(GPR_INFO,
1738
+ "[grpclb %p] lost contact with balancer and backends from "
1739
+ "most recent serverlist; entering fallback mode",
1740
+ this);
1741
+ fallback_mode_ = true;
1742
+ CreateOrUpdateChildPolicyLocked();
1743
+ }
1744
+ }
1745
+
1746
+ void GrpcLb::OnFallbackTimerLocked() {
1747
+ // If we receive a serverlist after the timer fires but before this callback
1748
+ // actually runs, don't fall back.
1749
+ if (fallback_at_startup_checks_pending_ && !shutting_down_) {
1750
+ gpr_log(GPR_INFO,
1751
+ "[grpclb %p] No response from balancer after fallback timeout; "
1752
+ "entering fallback mode",
1753
+ this);
1754
+ fallback_at_startup_checks_pending_ = false;
1755
+ CancelBalancerChannelConnectivityWatchLocked();
1756
+ fallback_mode_ = true;
1757
+ CreateOrUpdateChildPolicyLocked();
1758
+ }
1759
+ }
1760
+
1761
+ //
1762
+ // code for interacting with the child policy
1763
+ //
1764
+
1765
+ ChannelArgs GrpcLb::CreateChildPolicyArgsLocked(
1766
+ bool is_backend_from_grpclb_load_balancer) {
1767
+ ChannelArgs r =
1768
+ args_
1769
+ .Set(GRPC_ARG_ADDRESS_IS_BACKEND_FROM_GRPCLB_LOAD_BALANCER,
1770
+ is_backend_from_grpclb_load_balancer)
1771
+ .Set(GRPC_ARG_GRPCLB_ENABLE_LOAD_REPORTING_FILTER, 1);
1772
+ if (is_backend_from_grpclb_load_balancer) {
1773
+ r = r.Set(GRPC_ARG_INHIBIT_HEALTH_CHECKING, 1);
1774
+ }
1775
+ return r;
1776
+ }
1777
+
1778
+ OrphanablePtr<LoadBalancingPolicy> GrpcLb::CreateChildPolicyLocked(
1779
+ const ChannelArgs& args) {
1780
+ LoadBalancingPolicy::Args lb_policy_args;
1781
+ lb_policy_args.work_serializer = work_serializer();
1782
+ lb_policy_args.args = args;
1783
+ lb_policy_args.channel_control_helper =
1784
+ std::make_unique<Helper>(RefAsSubclass<GrpcLb>(DEBUG_LOCATION, "Helper"));
1785
+ OrphanablePtr<LoadBalancingPolicy> lb_policy =
1786
+ MakeOrphanable<ChildPolicyHandler>(std::move(lb_policy_args),
1787
+ &grpc_lb_glb_trace);
1788
+ if (GRPC_TRACE_FLAG_ENABLED(grpc_lb_glb_trace)) {
1789
+ gpr_log(GPR_INFO, "[grpclb %p] Created new child policy handler (%p)", this,
1790
+ lb_policy.get());
1791
+ }
1792
+ // Add the gRPC LB's interested_parties pollset_set to that of the newly
1793
+ // created child policy. This will make the child policy progress upon
1794
+ // activity on gRPC LB, which in turn is tied to the application's call.
1795
+ grpc_pollset_set_add_pollset_set(lb_policy->interested_parties(),
1796
+ interested_parties());
1797
+ return lb_policy;
1798
+ }
1799
+
1800
+ bool EndpointIteratorIsEmpty(const EndpointAddressesIterator& endpoints) {
1801
+ bool empty = true;
1802
+ endpoints.ForEach([&](const EndpointAddresses&) { empty = false; });
1803
+ return empty;
1804
+ }
1805
+
1806
+ void GrpcLb::CreateOrUpdateChildPolicyLocked() {
1807
+ if (shutting_down_) return;
1808
+ // Construct update args.
1809
+ UpdateArgs update_args;
1810
+ bool is_backend_from_grpclb_load_balancer = false;
1811
+ if (fallback_mode_) {
1812
+ // If CreateOrUpdateChildPolicyLocked() is invoked when we haven't
1813
+ // received any serverlist from the balancer, we use the fallback
1814
+ // backends returned by the resolver. Note that the fallback backend
1815
+ // list may be empty, in which case the new child policy will fail the
1816
+ // picks.
1817
+ update_args.addresses = fallback_backend_addresses_;
1818
+ if (fallback_backend_addresses_.ok() &&
1819
+ EndpointIteratorIsEmpty(**fallback_backend_addresses_)) {
1820
+ update_args.resolution_note = absl::StrCat(
1821
+ "grpclb in fallback mode without any fallback addresses: ",
1822
+ resolution_note_);
1823
+ }
1824
+ } else {
1825
+ update_args.addresses = serverlist_->GetServerAddressList(
1826
+ lb_calld_ == nullptr ? nullptr : lb_calld_->client_stats());
1827
+ is_backend_from_grpclb_load_balancer = true;
1828
+ if (update_args.addresses.ok() &&
1829
+ EndpointIteratorIsEmpty(**update_args.addresses)) {
1830
+ update_args.resolution_note = "empty serverlist from grpclb balancer";
1831
+ }
1832
+ }
1833
+ update_args.args =
1834
+ CreateChildPolicyArgsLocked(is_backend_from_grpclb_load_balancer);
1835
+ GPR_ASSERT(update_args.args != ChannelArgs());
1836
+ update_args.config = config_->child_policy();
1837
+ // Create child policy if needed.
1838
+ if (child_policy_ == nullptr) {
1839
+ child_policy_ = CreateChildPolicyLocked(update_args.args);
1840
+ }
1841
+ // Update the policy.
1842
+ if (GRPC_TRACE_FLAG_ENABLED(grpc_lb_glb_trace)) {
1843
+ gpr_log(GPR_INFO, "[grpclb %p] Updating child policy handler %p", this,
1844
+ child_policy_.get());
1845
+ }
1846
+ // TODO(roth): If we're in fallback mode and the child policy rejects the
1847
+ // update, we should propagate that failure back to the resolver somehow.
1848
+ (void)child_policy_->UpdateLocked(std::move(update_args));
1849
+ }
1850
+
1851
+ //
1852
+ // subchannel caching
1853
+ //
1854
+
1855
+ void GrpcLb::CacheDeletedSubchannelLocked(
1856
+ RefCountedPtr<SubchannelInterface> subchannel) {
1857
+ Timestamp deletion_time = Timestamp::Now() + subchannel_cache_interval_;
1858
+ cached_subchannels_[deletion_time].push_back(std::move(subchannel));
1859
+ if (!subchannel_cache_timer_handle_.has_value()) {
1860
+ StartSubchannelCacheTimerLocked();
1861
+ }
1862
+ }
1863
+
1864
+ void GrpcLb::StartSubchannelCacheTimerLocked() {
1865
+ GPR_ASSERT(!cached_subchannels_.empty());
1866
+ subchannel_cache_timer_handle_ =
1867
+ channel_control_helper()->GetEventEngine()->RunAfter(
1868
+ cached_subchannels_.begin()->first - Timestamp::Now(),
1869
+ [self = RefAsSubclass<GrpcLb>(DEBUG_LOCATION,
1870
+ "OnSubchannelCacheTimer")]() mutable {
1871
+ ApplicationCallbackExecCtx callback_exec_ctx;
1872
+ ExecCtx exec_ctx;
1873
+ auto* self_ptr = self.get();
1874
+ self_ptr->work_serializer()->Run(
1875
+ [self = std::move(self)]() mutable {
1876
+ self->OnSubchannelCacheTimerLocked();
1877
+ },
1878
+ DEBUG_LOCATION);
1879
+ });
1880
+ }
1881
+
1882
+ void GrpcLb::OnSubchannelCacheTimerLocked() {
1883
+ if (subchannel_cache_timer_handle_.has_value()) {
1884
+ subchannel_cache_timer_handle_.reset();
1885
+ auto it = cached_subchannels_.begin();
1886
+ if (it != cached_subchannels_.end()) {
1887
+ if (GRPC_TRACE_FLAG_ENABLED(grpc_lb_glb_trace)) {
1888
+ gpr_log(GPR_INFO,
1889
+ "[grpclb %p] removing %" PRIuPTR " subchannels from cache",
1890
+ this, it->second.size());
1891
+ }
1892
+ cached_subchannels_.erase(it);
1893
+ }
1894
+ if (!cached_subchannels_.empty()) {
1895
+ StartSubchannelCacheTimerLocked();
1896
+ return;
1897
+ }
1898
+ }
1899
+ }
1900
+
1901
+ //
1902
+ // factory
1903
+ //
1904
+
1905
+ class GrpcLbFactory : public LoadBalancingPolicyFactory {
1906
+ public:
1907
+ OrphanablePtr<LoadBalancingPolicy> CreateLoadBalancingPolicy(
1908
+ LoadBalancingPolicy::Args args) const override {
1909
+ return MakeOrphanable<GrpcLb>(std::move(args));
1910
+ }
1911
+
1912
+ absl::string_view name() const override { return kGrpclb; }
1913
+
1914
+ absl::StatusOr<RefCountedPtr<LoadBalancingPolicy::Config>>
1915
+ ParseLoadBalancingConfig(const Json& json) const override {
1916
+ return LoadFromJson<RefCountedPtr<GrpcLbConfig>>(
1917
+ json, JsonArgs(), "errors validating grpclb LB policy config");
1918
+ }
1919
+ };
1920
+
1921
+ } // namespace
1922
+
1923
+ //
1924
+ // Plugin registration
1925
+ //
1926
+
1927
+ void RegisterGrpcLbPolicy(CoreConfiguration::Builder* builder) {
1928
+ builder->lb_policy_registry()->RegisterLoadBalancingPolicyFactory(
1929
+ std::make_unique<GrpcLbFactory>());
1930
+ builder->channel_init()
1931
+ ->RegisterFilter<ClientLoadReportingFilter>(GRPC_CLIENT_SUBCHANNEL)
1932
+ .IfChannelArg(GRPC_ARG_GRPCLB_ENABLE_LOAD_REPORTING_FILTER, false);
1933
+ }
1934
+
1935
+ } // namespace grpc_core