grpc 1.63.0 → 1.69.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2453) hide show
  1. checksums.yaml +4 -4
  2. data/Makefile +179 -146
  3. data/include/grpc/compression.h +1 -2
  4. data/include/grpc/credentials.h +1221 -0
  5. data/include/grpc/event_engine/README.md +1 -1
  6. data/include/grpc/event_engine/endpoint_config.h +2 -2
  7. data/include/grpc/event_engine/event_engine.h +39 -15
  8. data/include/grpc/event_engine/extensible.h +5 -2
  9. data/include/grpc/event_engine/internal/memory_allocator_impl.h +4 -4
  10. data/include/grpc/event_engine/internal/slice_cast.h +1 -1
  11. data/include/grpc/event_engine/memory_allocator.h +3 -4
  12. data/include/grpc/event_engine/memory_request.h +19 -2
  13. data/include/grpc/event_engine/slice.h +3 -5
  14. data/include/grpc/event_engine/slice_buffer.h +6 -8
  15. data/include/grpc/grpc.h +8 -2
  16. data/include/grpc/grpc_audit_logging.h +3 -3
  17. data/include/grpc/grpc_crl_provider.h +5 -4
  18. data/include/grpc/grpc_posix.h +1 -2
  19. data/include/grpc/grpc_security.h +1 -1173
  20. data/include/grpc/impl/call.h +2 -2
  21. data/include/grpc/impl/channel_arg_names.h +10 -7
  22. data/include/grpc/impl/grpc_types.h +1 -2
  23. data/include/grpc/impl/slice_type.h +1 -2
  24. data/include/grpc/module.modulemap +2 -0
  25. data/include/grpc/passive_listener.h +62 -0
  26. data/include/grpc/support/alloc.h +1 -2
  27. data/include/grpc/support/json.h +1 -2
  28. data/include/grpc/support/log.h +37 -64
  29. data/include/grpc/support/metrics.h +21 -6
  30. data/include/grpc/support/port_platform.h +31 -1
  31. data/include/grpc/support/sync_generic.h +2 -4
  32. data/include/grpc/support/sync_posix.h +1 -2
  33. data/include/grpc/support/time.h +1 -2
  34. data/src/core/{lib/channel → channelz}/channel_trace.cc +60 -67
  35. data/src/core/{lib/channel → channelz}/channel_trace.h +23 -23
  36. data/src/core/{lib/channel → channelz}/channelz.cc +74 -14
  37. data/src/core/{lib/channel → channelz}/channelz.h +58 -21
  38. data/src/core/{lib/channel → channelz}/channelz_registry.cc +14 -14
  39. data/src/core/{lib/channel → channelz}/channelz_registry.h +6 -7
  40. data/src/core/client_channel/backup_poller.cc +25 -16
  41. data/src/core/client_channel/client_channel.cc +1426 -0
  42. data/src/core/client_channel/client_channel.h +245 -0
  43. data/src/core/client_channel/client_channel_factory.cc +2 -2
  44. data/src/core/client_channel/client_channel_factory.h +1 -2
  45. data/src/core/client_channel/client_channel_filter.cc +397 -914
  46. data/src/core/client_channel/client_channel_filter.h +25 -80
  47. data/src/core/client_channel/client_channel_internal.h +26 -11
  48. data/src/core/client_channel/client_channel_plugin.cc +3 -18
  49. data/src/core/client_channel/client_channel_service_config.cc +2 -3
  50. data/src/core/client_channel/client_channel_service_config.h +8 -10
  51. data/src/core/client_channel/config_selector.h +25 -25
  52. data/src/core/client_channel/connector.h +4 -4
  53. data/src/core/client_channel/direct_channel.cc +83 -0
  54. data/src/core/client_channel/direct_channel.h +101 -0
  55. data/src/core/client_channel/dynamic_filters.cc +19 -16
  56. data/src/core/client_channel/dynamic_filters.h +9 -10
  57. data/src/core/client_channel/global_subchannel_pool.cc +2 -2
  58. data/src/core/client_channel/global_subchannel_pool.h +2 -3
  59. data/src/core/client_channel/lb_metadata.cc +120 -0
  60. data/src/core/client_channel/lb_metadata.h +55 -0
  61. data/src/core/client_channel/load_balanced_call_destination.cc +273 -0
  62. data/src/core/client_channel/load_balanced_call_destination.h +48 -0
  63. data/src/core/client_channel/local_subchannel_pool.cc +6 -7
  64. data/src/core/client_channel/local_subchannel_pool.h +1 -1
  65. data/src/core/client_channel/retry_filter.cc +8 -17
  66. data/src/core/client_channel/retry_filter.h +9 -17
  67. data/src/core/client_channel/retry_filter_legacy_call_data.cc +214 -323
  68. data/src/core/client_channel/retry_filter_legacy_call_data.h +11 -14
  69. data/src/core/client_channel/retry_service_config.cc +10 -13
  70. data/src/core/client_channel/retry_service_config.h +6 -8
  71. data/src/core/client_channel/retry_throttle.cc +3 -4
  72. data/src/core/client_channel/retry_throttle.h +4 -7
  73. data/src/core/client_channel/subchannel.cc +293 -174
  74. data/src/core/client_channel/subchannel.h +48 -41
  75. data/src/core/client_channel/subchannel_interface_internal.h +1 -1
  76. data/src/core/client_channel/subchannel_pool_interface.cc +1 -5
  77. data/src/core/client_channel/subchannel_pool_interface.h +4 -7
  78. data/src/core/client_channel/subchannel_stream_client.cc +47 -61
  79. data/src/core/client_channel/subchannel_stream_client.h +10 -14
  80. data/src/core/{lib/config → config}/config_vars.cc +16 -19
  81. data/src/core/{lib/config → config}/config_vars.h +12 -15
  82. data/src/core/{lib/config → config}/config_vars_non_generated.cc +1 -1
  83. data/src/core/{lib/config → config}/core_configuration.cc +10 -10
  84. data/src/core/{lib/config → config}/core_configuration.h +10 -12
  85. data/src/core/{lib/config → config}/load_config.cc +5 -7
  86. data/src/core/{lib/config → config}/load_config.h +3 -4
  87. data/src/core/ext/filters/backend_metrics/backend_metric_filter.cc +27 -31
  88. data/src/core/ext/filters/backend_metrics/backend_metric_filter.h +5 -3
  89. data/src/core/ext/filters/backend_metrics/backend_metric_provider.h +7 -0
  90. data/src/core/ext/filters/census/grpc_context.cc +7 -10
  91. data/src/core/ext/filters/channel_idle/idle_filter_state.cc +1 -2
  92. data/src/core/ext/filters/channel_idle/idle_filter_state.h +0 -1
  93. data/src/core/ext/filters/channel_idle/legacy_channel_idle_filter.cc +44 -47
  94. data/src/core/ext/filters/channel_idle/legacy_channel_idle_filter.h +22 -19
  95. data/src/core/ext/filters/fault_injection/fault_injection_filter.cc +25 -29
  96. data/src/core/ext/filters/fault_injection/fault_injection_filter.h +8 -7
  97. data/src/core/ext/filters/fault_injection/fault_injection_service_config_parser.cc +2 -3
  98. data/src/core/ext/filters/fault_injection/fault_injection_service_config_parser.h +7 -10
  99. data/src/core/ext/filters/gcp_authentication/gcp_authentication_filter.cc +205 -0
  100. data/src/core/ext/filters/gcp_authentication/gcp_authentication_filter.h +97 -0
  101. data/src/core/ext/filters/gcp_authentication/gcp_authentication_service_config_parser.cc +80 -0
  102. data/src/core/ext/filters/gcp_authentication/gcp_authentication_service_config_parser.h +86 -0
  103. data/src/core/ext/filters/http/client/http_client_filter.cc +19 -12
  104. data/src/core/ext/filters/http/client/http_client_filter.h +8 -6
  105. data/src/core/ext/filters/http/client_authority_filter.cc +13 -11
  106. data/src/core/ext/filters/http/client_authority_filter.h +8 -5
  107. data/src/core/ext/filters/http/http_filters_plugin.cc +1 -2
  108. data/src/core/ext/filters/http/message_compress/compression_filter.cc +59 -54
  109. data/src/core/ext/filters/http/message_compress/compression_filter.h +16 -12
  110. data/src/core/ext/filters/http/server/http_server_filter.cc +18 -15
  111. data/src/core/ext/filters/http/server/http_server_filter.h +8 -6
  112. data/src/core/ext/filters/message_size/message_size_filter.cc +42 -51
  113. data/src/core/ext/filters/message_size/message_size_filter.h +20 -16
  114. data/src/core/ext/filters/rbac/rbac_filter.cc +20 -18
  115. data/src/core/ext/filters/rbac/rbac_filter.h +8 -7
  116. data/src/core/ext/filters/rbac/rbac_service_config_parser.cc +16 -10
  117. data/src/core/ext/filters/rbac/rbac_service_config_parser.h +3 -5
  118. data/src/core/ext/filters/stateful_session/stateful_session_filter.cc +26 -28
  119. data/src/core/ext/filters/stateful_session/stateful_session_filter.h +8 -6
  120. data/src/core/ext/filters/stateful_session/stateful_session_service_config_parser.cc +2 -3
  121. data/src/core/ext/filters/stateful_session/stateful_session_service_config_parser.h +6 -8
  122. data/src/core/ext/transport/chttp2/alpn/alpn.cc +4 -5
  123. data/src/core/ext/transport/chttp2/alpn/alpn.h +0 -1
  124. data/src/core/ext/transport/chttp2/client/chttp2_connector.cc +85 -117
  125. data/src/core/ext/transport/chttp2/client/chttp2_connector.h +5 -12
  126. data/src/core/ext/transport/chttp2/server/chttp2_server.cc +436 -324
  127. data/src/core/ext/transport/chttp2/server/chttp2_server.h +34 -1
  128. data/src/core/ext/transport/chttp2/transport/bin_decoder.cc +26 -38
  129. data/src/core/ext/transport/chttp2/transport/bin_decoder.h +1 -3
  130. data/src/core/ext/transport/chttp2/transport/bin_encoder.cc +10 -12
  131. data/src/core/ext/transport/chttp2/transport/bin_encoder.h +1 -3
  132. data/src/core/ext/transport/chttp2/transport/call_tracer_wrapper.cc +53 -0
  133. data/src/core/ext/transport/chttp2/transport/call_tracer_wrapper.h +72 -0
  134. data/src/core/ext/transport/chttp2/transport/chttp2_transport.cc +688 -562
  135. data/src/core/ext/transport/chttp2/transport/chttp2_transport.h +14 -16
  136. data/src/core/ext/transport/chttp2/transport/context_list_entry.h +1 -2
  137. data/src/core/ext/transport/chttp2/transport/decode_huff.cc +2 -2
  138. data/src/core/ext/transport/chttp2/transport/decode_huff.h +2 -2
  139. data/src/core/ext/transport/chttp2/transport/flow_control.cc +11 -16
  140. data/src/core/ext/transport/chttp2/transport/flow_control.h +4 -9
  141. data/src/core/ext/transport/chttp2/transport/frame.cc +25 -8
  142. data/src/core/ext/transport/chttp2/transport/frame.h +11 -2
  143. data/src/core/ext/transport/chttp2/transport/frame_data.cc +21 -22
  144. data/src/core/ext/transport/chttp2/transport/frame_data.h +3 -5
  145. data/src/core/ext/transport/chttp2/transport/frame_goaway.cc +7 -10
  146. data/src/core/ext/transport/chttp2/transport/frame_goaway.h +1 -3
  147. data/src/core/ext/transport/chttp2/transport/frame_ping.cc +16 -21
  148. data/src/core/ext/transport/chttp2/transport/frame_ping.h +1 -3
  149. data/src/core/ext/transport/chttp2/transport/frame_rst_stream.cc +19 -20
  150. data/src/core/ext/transport/chttp2/transport/frame_rst_stream.h +6 -6
  151. data/src/core/ext/transport/chttp2/transport/frame_security.cc +82 -0
  152. data/src/core/ext/transport/chttp2/transport/frame_security.h +44 -0
  153. data/src/core/ext/transport/chttp2/transport/frame_settings.cc +36 -21
  154. data/src/core/ext/transport/chttp2/transport/frame_settings.h +2 -4
  155. data/src/core/ext/transport/chttp2/transport/frame_window_update.cc +31 -10
  156. data/src/core/ext/transport/chttp2/transport/frame_window_update.h +4 -4
  157. data/src/core/ext/transport/chttp2/transport/hpack_encoder.cc +21 -22
  158. data/src/core/ext/transport/chttp2/transport/hpack_encoder.h +18 -15
  159. data/src/core/ext/transport/chttp2/transport/hpack_encoder_table.cc +10 -10
  160. data/src/core/ext/transport/chttp2/transport/hpack_encoder_table.h +3 -4
  161. data/src/core/ext/transport/chttp2/transport/hpack_parse_result.cc +4 -5
  162. data/src/core/ext/transport/chttp2/transport/hpack_parse_result.h +5 -8
  163. data/src/core/ext/transport/chttp2/transport/hpack_parser.cc +79 -74
  164. data/src/core/ext/transport/chttp2/transport/hpack_parser.h +5 -6
  165. data/src/core/ext/transport/chttp2/transport/hpack_parser_table.cc +45 -20
  166. data/src/core/ext/transport/chttp2/transport/hpack_parser_table.h +28 -9
  167. data/src/core/ext/transport/chttp2/transport/http2_settings.cc +12 -4
  168. data/src/core/ext/transport/chttp2/transport/http2_settings.h +10 -4
  169. data/src/core/ext/transport/chttp2/transport/huffsyms.cc +2 -2
  170. data/src/core/ext/transport/chttp2/transport/internal.h +71 -81
  171. data/src/core/ext/transport/chttp2/transport/legacy_frame.h +1 -0
  172. data/src/core/ext/transport/chttp2/transport/parsing.cc +135 -121
  173. data/src/core/ext/transport/chttp2/transport/ping_abuse_policy.cc +3 -4
  174. data/src/core/ext/transport/chttp2/transport/ping_abuse_policy.h +1 -1
  175. data/src/core/ext/transport/chttp2/transport/ping_callbacks.cc +4 -7
  176. data/src/core/ext/transport/chttp2/transport/ping_callbacks.h +2 -7
  177. data/src/core/ext/transport/chttp2/transport/ping_rate_policy.cc +33 -19
  178. data/src/core/ext/transport/chttp2/transport/ping_rate_policy.h +6 -7
  179. data/src/core/ext/transport/chttp2/transport/stream_lists.cc +19 -21
  180. data/src/core/ext/transport/chttp2/transport/stream_lists.h +65 -0
  181. data/src/core/ext/transport/chttp2/transport/varint.cc +2 -2
  182. data/src/core/ext/transport/chttp2/transport/varint.h +2 -3
  183. data/src/core/ext/transport/chttp2/transport/write_size_policy.cc +4 -4
  184. data/src/core/ext/transport/chttp2/transport/write_size_policy.h +2 -3
  185. data/src/core/ext/transport/chttp2/transport/writing.cc +178 -140
  186. data/src/core/ext/transport/inproc/inproc_transport.cc +155 -73
  187. data/src/core/ext/transport/inproc/inproc_transport.h +2 -5
  188. data/src/core/ext/transport/inproc/legacy_inproc_transport.cc +127 -129
  189. data/src/core/ext/transport/inproc/legacy_inproc_transport.h +1 -4
  190. data/src/core/ext/upb-gen/envoy/admin/v3/certs.upb.h +46 -15
  191. data/src/core/ext/upb-gen/envoy/admin/v3/certs.upb_minitable.c +40 -18
  192. data/src/core/ext/upb-gen/envoy/admin/v3/certs.upb_minitable.h +10 -4
  193. data/src/core/ext/upb-gen/envoy/admin/v3/clusters.upb.h +59 -27
  194. data/src/core/ext/upb-gen/envoy/admin/v3/clusters.upb_minitable.c +36 -18
  195. data/src/core/ext/upb-gen/envoy/admin/v3/clusters.upb_minitable.h +9 -4
  196. data/src/core/ext/upb-gen/envoy/admin/v3/config_dump.upb.h +50 -15
  197. data/src/core/ext/upb-gen/envoy/admin/v3/config_dump.upb_minitable.c +44 -22
  198. data/src/core/ext/upb-gen/envoy/admin/v3/config_dump.upb_minitable.h +10 -4
  199. data/src/core/ext/upb-gen/envoy/admin/v3/config_dump_shared.upb.h +187 -54
  200. data/src/core/ext/upb-gen/envoy/admin/v3/config_dump_shared.upb_minitable.c +162 -84
  201. data/src/core/ext/upb-gen/envoy/admin/v3/config_dump_shared.upb_minitable.h +24 -4
  202. data/src/core/ext/upb-gen/envoy/admin/v3/init_dump.upb.h +11 -5
  203. data/src/core/ext/upb-gen/envoy/admin/v3/init_dump.upb_minitable.c +14 -4
  204. data/src/core/ext/upb-gen/envoy/admin/v3/init_dump.upb_minitable.h +7 -4
  205. data/src/core/ext/upb-gen/envoy/admin/v3/listeners.upb.h +19 -6
  206. data/src/core/ext/upb-gen/envoy/admin/v3/listeners.upb_minitable.c +18 -8
  207. data/src/core/ext/upb-gen/envoy/admin/v3/listeners.upb_minitable.h +7 -4
  208. data/src/core/ext/upb-gen/envoy/admin/v3/memory.upb.h +11 -10
  209. data/src/core/ext/upb-gen/envoy/admin/v3/memory.upb_minitable.c +7 -1
  210. data/src/core/ext/upb-gen/envoy/admin/v3/memory.upb_minitable.h +6 -4
  211. data/src/core/ext/upb-gen/envoy/admin/v3/metrics.upb.h +8 -7
  212. data/src/core/ext/upb-gen/envoy/admin/v3/metrics.upb_minitable.c +7 -1
  213. data/src/core/ext/upb-gen/envoy/admin/v3/metrics.upb_minitable.h +6 -4
  214. data/src/core/ext/upb-gen/envoy/admin/v3/mutex_stats.upb.h +8 -7
  215. data/src/core/ext/upb-gen/envoy/admin/v3/mutex_stats.upb_minitable.c +7 -1
  216. data/src/core/ext/upb-gen/envoy/admin/v3/mutex_stats.upb_minitable.h +6 -4
  217. data/src/core/ext/upb-gen/envoy/admin/v3/server_info.upb.h +129 -82
  218. data/src/core/ext/upb-gen/envoy/admin/v3/server_info.upb_minitable.c +39 -27
  219. data/src/core/ext/upb-gen/envoy/admin/v3/server_info.upb_minitable.h +7 -4
  220. data/src/core/ext/upb-gen/envoy/admin/v3/tap.upb.h +9 -6
  221. data/src/core/ext/upb-gen/envoy/admin/v3/tap.upb_minitable.c +10 -4
  222. data/src/core/ext/upb-gen/envoy/admin/v3/tap.upb_minitable.h +6 -4
  223. data/src/core/ext/upb-gen/envoy/annotations/deprecation.upb.h +9 -8
  224. data/src/core/ext/upb-gen/envoy/annotations/deprecation.upb_minitable.c +7 -1
  225. data/src/core/ext/upb-gen/envoy/annotations/deprecation.upb_minitable.h +5 -4
  226. data/src/core/ext/upb-gen/envoy/annotations/resource.upb.h +18 -8
  227. data/src/core/ext/upb-gen/envoy/annotations/resource.upb_minitable.c +13 -6
  228. data/src/core/ext/upb-gen/envoy/annotations/resource.upb_minitable.h +6 -4
  229. data/src/core/ext/upb-gen/envoy/config/accesslog/v3/accesslog.upb.h +91 -34
  230. data/src/core/ext/upb-gen/envoy/config/accesslog/v3/accesslog.upb_minitable.c +114 -48
  231. data/src/core/ext/upb-gen/envoy/config/accesslog/v3/accesslog.upb_minitable.h +21 -4
  232. data/src/core/ext/upb-gen/envoy/config/bootstrap/v3/bootstrap.upb.h +544 -254
  233. data/src/core/ext/upb-gen/envoy/config/bootstrap/v3/bootstrap.upb_minitable.c +265 -149
  234. data/src/core/ext/upb-gen/envoy/config/bootstrap/v3/bootstrap.upb_minitable.h +29 -4
  235. data/src/core/ext/upb-gen/envoy/config/cluster/v3/circuit_breaker.upb.h +41 -14
  236. data/src/core/ext/upb-gen/envoy/config/cluster/v3/circuit_breaker.upb_minitable.c +31 -17
  237. data/src/core/ext/upb-gen/envoy/config/cluster/v3/circuit_breaker.upb_minitable.h +8 -4
  238. data/src/core/ext/upb-gen/envoy/config/cluster/v3/cluster.upb.h +499 -141
  239. data/src/core/ext/upb-gen/envoy/config/cluster/v3/cluster.upb_minitable.c +268 -143
  240. data/src/core/ext/upb-gen/envoy/config/cluster/v3/cluster.upb_minitable.h +31 -4
  241. data/src/core/ext/upb-gen/envoy/config/cluster/v3/filter.upb.h +12 -7
  242. data/src/core/ext/upb-gen/envoy/config/cluster/v3/filter.upb_minitable.c +11 -5
  243. data/src/core/ext/upb-gen/envoy/config/cluster/v3/filter.upb_minitable.h +6 -4
  244. data/src/core/ext/upb-gen/envoy/config/cluster/v3/outlier_detection.upb.h +171 -27
  245. data/src/core/ext/upb-gen/envoy/config/cluster/v3/outlier_detection.upb_minitable.c +54 -27
  246. data/src/core/ext/upb-gen/envoy/config/cluster/v3/outlier_detection.upb_minitable.h +6 -4
  247. data/src/core/ext/upb-gen/envoy/config/common/matcher/v3/matcher.upb.h +127 -35
  248. data/src/core/ext/upb-gen/envoy/config/common/matcher/v3/matcher.upb_minitable.c +125 -63
  249. data/src/core/ext/upb-gen/envoy/config/common/matcher/v3/matcher.upb_minitable.h +20 -4
  250. data/src/core/ext/upb-gen/envoy/config/core/v3/address.upb.h +67 -27
  251. data/src/core/ext/upb-gen/envoy/config/core/v3/address.upb_minitable.c +60 -26
  252. data/src/core/ext/upb-gen/envoy/config/core/v3/address.upb_minitable.h +13 -4
  253. data/src/core/ext/upb-gen/envoy/config/core/v3/backoff.upb.h +11 -6
  254. data/src/core/ext/upb-gen/envoy/config/core/v3/backoff.upb_minitable.c +11 -5
  255. data/src/core/ext/upb-gen/envoy/config/core/v3/backoff.upb_minitable.h +6 -4
  256. data/src/core/ext/upb-gen/envoy/config/core/v3/base.upb.h +755 -72
  257. data/src/core/ext/upb-gen/envoy/config/core/v3/base.upb_minitable.c +320 -75
  258. data/src/core/ext/upb-gen/envoy/config/core/v3/base.upb_minitable.h +39 -4
  259. data/src/core/ext/upb-gen/envoy/config/core/v3/config_source.upb.h +67 -25
  260. data/src/core/ext/upb-gen/envoy/config/core/v3/config_source.upb_minitable.c +57 -27
  261. data/src/core/ext/upb-gen/envoy/config/core/v3/config_source.upb_minitable.h +12 -4
  262. data/src/core/ext/upb-gen/envoy/config/core/v3/event_service_config.upb.h +8 -5
  263. data/src/core/ext/upb-gen/envoy/config/core/v3/event_service_config.upb_minitable.c +10 -4
  264. data/src/core/ext/upb-gen/envoy/config/core/v3/event_service_config.upb_minitable.h +6 -4
  265. data/src/core/ext/upb-gen/envoy/config/core/v3/extension.upb.h +9 -6
  266. data/src/core/ext/upb-gen/envoy/config/core/v3/extension.upb_minitable.c +10 -4
  267. data/src/core/ext/upb-gen/envoy/config/core/v3/extension.upb_minitable.h +6 -4
  268. data/src/core/ext/upb-gen/envoy/config/core/v3/grpc_method_list.upb.h +11 -5
  269. data/src/core/ext/upb-gen/envoy/config/core/v3/grpc_method_list.upb_minitable.c +14 -4
  270. data/src/core/ext/upb-gen/envoy/config/core/v3/grpc_method_list.upb_minitable.h +7 -4
  271. data/src/core/ext/upb-gen/envoy/config/core/v3/grpc_service.upb.h +201 -62
  272. data/src/core/ext/upb-gen/envoy/config/core/v3/grpc_service.upb_minitable.c +120 -53
  273. data/src/core/ext/upb-gen/envoy/config/core/v3/grpc_service.upb_minitable.h +19 -4
  274. data/src/core/ext/upb-gen/envoy/config/core/v3/health_check.upb.h +196 -62
  275. data/src/core/ext/upb-gen/envoy/config/core/v3/health_check.upb_minitable.c +95 -53
  276. data/src/core/ext/upb-gen/envoy/config/core/v3/health_check.upb_minitable.h +14 -4
  277. data/src/core/ext/upb-gen/envoy/config/core/v3/http_service.upb.h +13 -5
  278. data/src/core/ext/upb-gen/envoy/config/core/v3/http_service.upb_minitable.c +11 -5
  279. data/src/core/ext/upb-gen/envoy/config/core/v3/http_service.upb_minitable.h +6 -4
  280. data/src/core/ext/upb-gen/envoy/config/core/v3/http_uri.upb.h +10 -7
  281. data/src/core/ext/upb-gen/envoy/config/core/v3/http_uri.upb_minitable.c +10 -4
  282. data/src/core/ext/upb-gen/envoy/config/core/v3/http_uri.upb_minitable.h +6 -4
  283. data/src/core/ext/upb-gen/envoy/config/core/v3/protocol.upb.h +231 -76
  284. data/src/core/ext/upb-gen/envoy/config/core/v3/protocol.upb_minitable.c +150 -78
  285. data/src/core/ext/upb-gen/envoy/config/core/v3/protocol.upb_minitable.h +21 -4
  286. data/src/core/ext/upb-gen/envoy/config/core/v3/proxy_protocol.upb.h +10 -7
  287. data/src/core/ext/upb-gen/envoy/config/core/v3/proxy_protocol.upb_minitable.c +14 -4
  288. data/src/core/ext/upb-gen/envoy/config/core/v3/proxy_protocol.upb_minitable.h +7 -4
  289. data/src/core/ext/upb-gen/envoy/config/core/v3/resolver.upb.h +15 -7
  290. data/src/core/ext/upb-gen/envoy/config/core/v3/resolver.upb_minitable.c +15 -5
  291. data/src/core/ext/upb-gen/envoy/config/core/v3/resolver.upb_minitable.h +7 -4
  292. data/src/core/ext/upb-gen/envoy/config/core/v3/socket_option.upb.h +16 -10
  293. data/src/core/ext/upb-gen/envoy/config/core/v3/socket_option.upb_minitable.c +14 -4
  294. data/src/core/ext/upb-gen/envoy/config/core/v3/socket_option.upb_minitable.h +7 -4
  295. data/src/core/ext/upb-gen/envoy/config/core/v3/substitution_format_string.upb.h +23 -11
  296. data/src/core/ext/upb-gen/envoy/config/core/v3/substitution_format_string.upb_minitable.c +17 -7
  297. data/src/core/ext/upb-gen/envoy/config/core/v3/substitution_format_string.upb_minitable.h +7 -4
  298. data/src/core/ext/upb-gen/envoy/config/core/v3/udp_socket_config.upb.h +11 -6
  299. data/src/core/ext/upb-gen/envoy/config/core/v3/udp_socket_config.upb_minitable.c +11 -5
  300. data/src/core/ext/upb-gen/envoy/config/core/v3/udp_socket_config.upb_minitable.h +6 -4
  301. data/src/core/ext/upb-gen/envoy/config/endpoint/v3/endpoint.upb.h +42 -11
  302. data/src/core/ext/upb-gen/envoy/config/endpoint/v3/endpoint.upb_minitable.c +35 -17
  303. data/src/core/ext/upb-gen/envoy/config/endpoint/v3/endpoint.upb_minitable.h +9 -4
  304. data/src/core/ext/upb-gen/envoy/config/endpoint/v3/endpoint_components.upb.h +106 -34
  305. data/src/core/ext/upb-gen/envoy/config/endpoint/v3/endpoint_components.upb_minitable.c +69 -37
  306. data/src/core/ext/upb-gen/envoy/config/endpoint/v3/endpoint_components.upb_minitable.h +12 -4
  307. data/src/core/ext/upb-gen/envoy/config/endpoint/v3/load_report.upb.h +281 -37
  308. data/src/core/ext/upb-gen/envoy/config/endpoint/v3/load_report.upb_minitable.c +81 -27
  309. data/src/core/ext/upb-gen/envoy/config/endpoint/v3/load_report.upb_minitable.h +12 -4
  310. data/src/core/ext/upb-gen/envoy/config/listener/v3/api_listener.upb.h +8 -5
  311. data/src/core/ext/upb-gen/envoy/config/listener/v3/api_listener.upb_minitable.c +10 -4
  312. data/src/core/ext/upb-gen/envoy/config/listener/v3/api_listener.upb_minitable.h +6 -4
  313. data/src/core/ext/upb-gen/envoy/config/listener/v3/listener.upb.h +142 -47
  314. data/src/core/ext/upb-gen/envoy/config/listener/v3/listener.upb_minitable.c +90 -47
  315. data/src/core/ext/upb-gen/envoy/config/listener/v3/listener.upb_minitable.h +15 -4
  316. data/src/core/ext/upb-gen/envoy/config/listener/v3/listener_components.upb.h +91 -29
  317. data/src/core/ext/upb-gen/envoy/config/listener/v3/listener_components.upb_minitable.c +68 -38
  318. data/src/core/ext/upb-gen/envoy/config/listener/v3/listener_components.upb_minitable.h +12 -4
  319. data/src/core/ext/upb-gen/envoy/config/listener/v3/quic_config.upb.h +93 -13
  320. data/src/core/ext/upb-gen/envoy/config/listener/v3/quic_config.upb_minitable.c +24 -14
  321. data/src/core/ext/upb-gen/envoy/config/listener/v3/quic_config.upb_minitable.h +6 -4
  322. data/src/core/ext/upb-gen/envoy/config/listener/v3/udp_listener_config.upb.h +14 -7
  323. data/src/core/ext/upb-gen/envoy/config/listener/v3/udp_listener_config.upb_minitable.c +16 -6
  324. data/src/core/ext/upb-gen/envoy/config/listener/v3/udp_listener_config.upb_minitable.h +7 -4
  325. data/src/core/ext/upb-gen/envoy/config/metrics/v3/metrics_service.upb.h +14 -9
  326. data/src/core/ext/upb-gen/envoy/config/metrics/v3/metrics_service.upb_minitable.c +11 -5
  327. data/src/core/ext/upb-gen/envoy/config/metrics/v3/metrics_service.upb_minitable.h +6 -4
  328. data/src/core/ext/upb-gen/envoy/config/metrics/v3/stats.upb.h +51 -22
  329. data/src/core/ext/upb-gen/envoy/config/metrics/v3/stats.upb_minitable.c +58 -24
  330. data/src/core/ext/upb-gen/envoy/config/metrics/v3/stats.upb_minitable.h +13 -4
  331. data/src/core/ext/upb-gen/envoy/config/overload/v3/overload.upb.h +68 -21
  332. data/src/core/ext/upb-gen/envoy/config/overload/v3/overload.upb_minitable.c +71 -29
  333. data/src/core/ext/upb-gen/envoy/config/overload/v3/overload.upb_minitable.h +15 -4
  334. data/src/core/ext/upb-gen/envoy/config/rbac/v3/rbac.upb.h +159 -38
  335. data/src/core/ext/upb-gen/envoy/config/rbac/v3/rbac.upb_minitable.c +105 -57
  336. data/src/core/ext/upb-gen/envoy/config/rbac/v3/rbac.upb_minitable.h +16 -4
  337. data/src/core/ext/upb-gen/envoy/config/route/v3/route.upb.h +61 -13
  338. data/src/core/ext/upb-gen/envoy/config/route/v3/route.upb_minitable.c +33 -19
  339. data/src/core/ext/upb-gen/envoy/config/route/v3/route.upb_minitable.h +8 -4
  340. data/src/core/ext/upb-gen/envoy/config/route/v3/route_components.upb.h +708 -233
  341. data/src/core/ext/upb-gen/envoy/config/route/v3/route_components.upb_minitable.c +499 -262
  342. data/src/core/ext/upb-gen/envoy/config/route/v3/route_components.upb_minitable.h +63 -4
  343. data/src/core/ext/upb-gen/envoy/config/route/v3/scoped_route.upb.h +20 -10
  344. data/src/core/ext/upb-gen/envoy/config/route/v3/scoped_route.upb_minitable.c +22 -8
  345. data/src/core/ext/upb-gen/envoy/config/route/v3/scoped_route.upb_minitable.h +8 -4
  346. data/src/core/ext/upb-gen/envoy/config/tap/v3/common.upb.h +100 -35
  347. data/src/core/ext/upb-gen/envoy/config/tap/v3/common.upb_minitable.c +95 -45
  348. data/src/core/ext/upb-gen/envoy/config/tap/v3/common.upb_minitable.h +17 -4
  349. data/src/core/ext/upb-gen/envoy/config/trace/v3/datadog.upb.h +118 -16
  350. data/src/core/ext/upb-gen/envoy/config/trace/v3/datadog.upb_minitable.c +43 -12
  351. data/src/core/ext/upb-gen/envoy/config/trace/v3/datadog.upb_minitable.h +8 -4
  352. data/src/core/ext/upb-gen/envoy/config/trace/v3/dynamic_ot.upb.h +9 -6
  353. data/src/core/ext/upb-gen/envoy/config/trace/v3/dynamic_ot.upb_minitable.c +10 -4
  354. data/src/core/ext/upb-gen/envoy/config/trace/v3/dynamic_ot.upb_minitable.h +6 -4
  355. data/src/core/ext/upb-gen/envoy/config/trace/v3/http_tracer.upb.h +12 -7
  356. data/src/core/ext/upb-gen/envoy/config/trace/v3/http_tracer.upb_minitable.c +17 -7
  357. data/src/core/ext/upb-gen/envoy/config/trace/v3/http_tracer.upb_minitable.h +7 -4
  358. data/src/core/ext/upb-gen/envoy/config/trace/v3/lightstep.upb.h +10 -7
  359. data/src/core/ext/upb-gen/envoy/config/trace/v3/lightstep.upb_minitable.c +10 -4
  360. data/src/core/ext/upb-gen/envoy/config/trace/v3/lightstep.upb_minitable.h +6 -4
  361. data/src/core/ext/upb-gen/envoy/config/trace/v3/opencensus.upb.h +22 -15
  362. data/src/core/ext/upb-gen/envoy/config/trace/v3/opencensus.upb_minitable.c +12 -6
  363. data/src/core/ext/upb-gen/envoy/config/trace/v3/opencensus.upb_minitable.h +6 -4
  364. data/src/core/ext/upb-gen/envoy/config/trace/v3/opentelemetry.upb.h +20 -8
  365. data/src/core/ext/upb-gen/envoy/config/trace/v3/opentelemetry.upb_minitable.c +13 -7
  366. data/src/core/ext/upb-gen/envoy/config/trace/v3/opentelemetry.upb_minitable.h +6 -4
  367. data/src/core/ext/upb-gen/envoy/config/trace/v3/service.upb.h +8 -5
  368. data/src/core/ext/upb-gen/envoy/config/trace/v3/service.upb_minitable.c +10 -4
  369. data/src/core/ext/upb-gen/envoy/config/trace/v3/service.upb_minitable.h +6 -4
  370. data/src/core/ext/upb-gen/envoy/config/trace/v3/skywalking.upb.h +17 -10
  371. data/src/core/ext/upb-gen/envoy/config/trace/v3/skywalking.upb_minitable.c +18 -8
  372. data/src/core/ext/upb-gen/envoy/config/trace/v3/skywalking.upb_minitable.h +7 -4
  373. data/src/core/ext/upb-gen/envoy/config/trace/v3/trace.upb.h +5 -4
  374. data/src/core/ext/upb-gen/envoy/config/trace/v3/trace.upb_minitable.c +3 -1
  375. data/src/core/ext/upb-gen/envoy/config/trace/v3/trace.upb_minitable.h +5 -4
  376. data/src/core/ext/upb-gen/envoy/config/trace/v3/xray.upb.h +19 -10
  377. data/src/core/ext/upb-gen/envoy/config/trace/v3/xray.upb_minitable.c +19 -9
  378. data/src/core/ext/upb-gen/envoy/config/trace/v3/xray.upb_minitable.h +7 -4
  379. data/src/core/ext/upb-gen/envoy/config/trace/v3/zipkin.upb.h +14 -11
  380. data/src/core/ext/upb-gen/envoy/config/trace/v3/zipkin.upb_minitable.c +10 -4
  381. data/src/core/ext/upb-gen/envoy/config/trace/v3/zipkin.upb_minitable.h +6 -4
  382. data/src/core/ext/upb-gen/envoy/data/accesslog/v3/accesslog.upb.h +216 -102
  383. data/src/core/ext/upb-gen/envoy/data/accesslog/v3/accesslog.upb_minitable.c +124 -57
  384. data/src/core/ext/upb-gen/envoy/data/accesslog/v3/accesslog.upb_minitable.h +21 -4
  385. data/src/core/ext/upb-gen/envoy/extensions/clusters/aggregate/v3/cluster.upb.h +5 -4
  386. data/src/core/ext/upb-gen/envoy/extensions/clusters/aggregate/v3/cluster.upb_minitable.c +7 -1
  387. data/src/core/ext/upb-gen/envoy/extensions/clusters/aggregate/v3/cluster.upb_minitable.h +6 -4
  388. data/src/core/ext/upb-gen/envoy/extensions/filters/common/fault/v3/fault.upb.h +24 -11
  389. data/src/core/ext/upb-gen/envoy/extensions/filters/common/fault/v3/fault.upb_minitable.c +33 -11
  390. data/src/core/ext/upb-gen/envoy/extensions/filters/common/fault/v3/fault.upb_minitable.h +10 -4
  391. data/src/core/ext/upb-gen/envoy/extensions/filters/http/fault/v3/fault.upb.h +42 -22
  392. data/src/core/ext/upb-gen/envoy/extensions/filters/http/fault/v3/fault.upb_minitable.c +27 -13
  393. data/src/core/ext/upb-gen/envoy/extensions/filters/http/fault/v3/fault.upb_minitable.h +8 -4
  394. data/src/core/ext/upb-gen/envoy/extensions/filters/http/gcp_authn/v3/gcp_authn.upb.h +444 -0
  395. data/src/core/ext/upb-gen/envoy/extensions/filters/http/gcp_authn/v3/gcp_authn.upb_minitable.c +135 -0
  396. data/src/core/ext/upb-gen/envoy/extensions/filters/http/gcp_authn/v3/gcp_authn.upb_minitable.h +38 -0
  397. data/src/core/ext/upb-gen/envoy/extensions/filters/http/rbac/v3/rbac.upb.h +56 -13
  398. data/src/core/ext/upb-gen/envoy/extensions/filters/http/rbac/v3/rbac.upb_minitable.c +29 -13
  399. data/src/core/ext/upb-gen/envoy/extensions/filters/http/rbac/v3/rbac.upb_minitable.h +7 -4
  400. data/src/core/ext/upb-gen/envoy/extensions/filters/http/router/v3/router.upb.h +29 -12
  401. data/src/core/ext/upb-gen/envoy/extensions/filters/http/router/v3/router.upb_minitable.c +20 -10
  402. data/src/core/ext/upb-gen/envoy/extensions/filters/http/router/v3/router.upb_minitable.h +7 -4
  403. data/src/core/ext/upb-gen/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upb.h +13 -8
  404. data/src/core/ext/upb-gen/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upb_minitable.c +17 -7
  405. data/src/core/ext/upb-gen/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upb_minitable.h +7 -4
  406. data/src/core/ext/upb-gen/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upb.h +327 -134
  407. data/src/core/ext/upb-gen/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upb_minitable.c +208 -121
  408. data/src/core/ext/upb-gen/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upb_minitable.h +26 -4
  409. data/src/core/ext/upb-gen/envoy/extensions/http/stateful_session/cookie/v3/cookie.upb.h +8 -5
  410. data/src/core/ext/upb-gen/envoy/extensions/http/stateful_session/cookie/v3/cookie.upb_minitable.c +10 -4
  411. data/src/core/ext/upb-gen/envoy/extensions/http/stateful_session/cookie/v3/cookie.upb_minitable.h +6 -4
  412. data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/client_side_weighted_round_robin/v3/client_side_weighted_round_robin.upb.h +23 -10
  413. 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 +15 -9
  414. 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 +6 -4
  415. data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/common/v3/common.upb.h +31 -14
  416. data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/common/v3/common.upb_minitable.c +39 -17
  417. data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/common/v3/common.upb_minitable.h +10 -4
  418. data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/pick_first/v3/pick_first.upb.h +6 -5
  419. data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/pick_first/v3/pick_first.upb_minitable.c +7 -1
  420. data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/pick_first/v3/pick_first.upb_minitable.h +6 -4
  421. data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/ring_hash/v3/ring_hash.upb.h +22 -11
  422. data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/ring_hash/v3/ring_hash.upb_minitable.c +14 -8
  423. data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/ring_hash/v3/ring_hash.upb_minitable.h +6 -4
  424. data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/wrr_locality/v3/wrr_locality.upb.h +8 -5
  425. data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/wrr_locality/v3/wrr_locality.upb_minitable.c +10 -4
  426. data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/wrr_locality/v3/wrr_locality.upb_minitable.h +6 -4
  427. data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/http_11_proxy/v3/upstream_http_11_connect.upb.h +106 -0
  428. data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/http_11_proxy/v3/upstream_http_11_connect.upb_minitable.c +52 -0
  429. data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/http_11_proxy/v3/upstream_http_11_connect.upb_minitable.h +32 -0
  430. data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/cert.upb.h +5 -4
  431. data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/cert.upb_minitable.c +3 -1
  432. data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/cert.upb_minitable.h +5 -4
  433. data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/common.upb.h +170 -31
  434. data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/common.upb_minitable.c +83 -37
  435. data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/common.upb_minitable.h +14 -4
  436. data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/secret.upb.h +25 -12
  437. data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/secret.upb_minitable.c +27 -13
  438. data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/secret.upb_minitable.h +8 -4
  439. data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/tls.upb.h +112 -39
  440. data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/tls.upb_minitable.c +73 -43
  441. data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/tls.upb_minitable.h +12 -4
  442. data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upb.h +14 -6
  443. data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upb_minitable.c +17 -7
  444. data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upb_minitable.h +7 -4
  445. data/src/core/ext/upb-gen/envoy/extensions/upstreams/http/v3/http_protocol_options.upb.h +58 -20
  446. data/src/core/ext/upb-gen/envoy/extensions/upstreams/http/v3/http_protocol_options.upb_minitable.c +44 -26
  447. data/src/core/ext/upb-gen/envoy/extensions/upstreams/http/v3/http_protocol_options.upb_minitable.h +9 -4
  448. data/src/core/ext/upb-gen/envoy/service/discovery/v3/ads.upb.h +5 -4
  449. data/src/core/ext/upb-gen/envoy/service/discovery/v3/ads.upb_minitable.c +7 -1
  450. data/src/core/ext/upb-gen/envoy/service/discovery/v3/ads.upb_minitable.h +6 -4
  451. data/src/core/ext/upb-gen/envoy/service/discovery/v3/discovery.upb.h +122 -40
  452. data/src/core/ext/upb-gen/envoy/service/discovery/v3/discovery.upb_minitable.c +105 -47
  453. data/src/core/ext/upb-gen/envoy/service/discovery/v3/discovery.upb_minitable.h +19 -4
  454. data/src/core/ext/upb-gen/envoy/service/load_stats/v3/lrs.upb.h +18 -8
  455. data/src/core/ext/upb-gen/envoy/service/load_stats/v3/lrs.upb_minitable.c +18 -8
  456. data/src/core/ext/upb-gen/envoy/service/load_stats/v3/lrs.upb_minitable.h +7 -4
  457. data/src/core/ext/upb-gen/envoy/service/status/v3/csds.upb.h +65 -24
  458. data/src/core/ext/upb-gen/envoy/service/status/v3/csds.upb_minitable.c +47 -25
  459. data/src/core/ext/upb-gen/envoy/service/status/v3/csds.upb_minitable.h +10 -4
  460. data/src/core/ext/upb-gen/envoy/type/http/v3/cookie.upb.h +10 -7
  461. data/src/core/ext/upb-gen/envoy/type/http/v3/cookie.upb_minitable.c +10 -4
  462. data/src/core/ext/upb-gen/envoy/type/http/v3/cookie.upb_minitable.h +6 -4
  463. data/src/core/ext/upb-gen/envoy/type/http/v3/path_transformation.upb.h +16 -6
  464. data/src/core/ext/upb-gen/envoy/type/http/v3/path_transformation.upb_minitable.c +26 -8
  465. data/src/core/ext/upb-gen/envoy/type/http/v3/path_transformation.upb_minitable.h +9 -4
  466. data/src/core/ext/upb-gen/envoy/type/matcher/v3/filter_state.upb.h +9 -6
  467. data/src/core/ext/upb-gen/envoy/type/matcher/v3/filter_state.upb_minitable.c +10 -4
  468. data/src/core/ext/upb-gen/envoy/type/matcher/v3/filter_state.upb_minitable.h +6 -4
  469. data/src/core/ext/upb-gen/envoy/type/matcher/v3/http_inputs.upb.h +10 -9
  470. data/src/core/ext/upb-gen/envoy/type/matcher/v3/http_inputs.upb_minitable.c +23 -1
  471. data/src/core/ext/upb-gen/envoy/type/matcher/v3/http_inputs.upb_minitable.h +10 -4
  472. data/src/core/ext/upb-gen/envoy/type/matcher/v3/metadata.upb.h +16 -8
  473. data/src/core/ext/upb-gen/envoy/type/matcher/v3/metadata.upb_minitable.c +15 -5
  474. data/src/core/ext/upb-gen/envoy/type/matcher/v3/metadata.upb_minitable.h +7 -4
  475. data/src/core/ext/upb-gen/envoy/type/matcher/v3/node.upb.h +13 -5
  476. data/src/core/ext/upb-gen/envoy/type/matcher/v3/node.upb_minitable.c +11 -5
  477. data/src/core/ext/upb-gen/envoy/type/matcher/v3/node.upb_minitable.h +6 -4
  478. data/src/core/ext/upb-gen/envoy/type/matcher/v3/number.upb.h +9 -6
  479. data/src/core/ext/upb-gen/envoy/type/matcher/v3/number.upb_minitable.c +10 -4
  480. data/src/core/ext/upb-gen/envoy/type/matcher/v3/number.upb_minitable.h +6 -4
  481. data/src/core/ext/upb-gen/envoy/type/matcher/v3/path.upb.h +8 -5
  482. data/src/core/ext/upb-gen/envoy/type/matcher/v3/path.upb_minitable.c +10 -4
  483. data/src/core/ext/upb-gen/envoy/type/matcher/v3/path.upb_minitable.h +6 -4
  484. data/src/core/ext/upb-gen/envoy/type/matcher/v3/regex.upb.h +16 -9
  485. data/src/core/ext/upb-gen/envoy/type/matcher/v3/regex.upb_minitable.c +24 -10
  486. data/src/core/ext/upb-gen/envoy/type/matcher/v3/regex.upb_minitable.h +8 -4
  487. data/src/core/ext/upb-gen/envoy/type/matcher/v3/status_code_input.upb.h +5 -4
  488. data/src/core/ext/upb-gen/envoy/type/matcher/v3/status_code_input.upb_minitable.c +11 -1
  489. data/src/core/ext/upb-gen/envoy/type/matcher/v3/status_code_input.upb_minitable.h +7 -4
  490. data/src/core/ext/upb-gen/envoy/type/matcher/v3/string.upb.h +51 -10
  491. data/src/core/ext/upb-gen/envoy/type/matcher/v3/string.upb_minitable.c +30 -9
  492. data/src/core/ext/upb-gen/envoy/type/matcher/v3/string.upb_minitable.h +7 -4
  493. data/src/core/ext/upb-gen/envoy/type/matcher/v3/struct.upb.h +14 -6
  494. data/src/core/ext/upb-gen/envoy/type/matcher/v3/struct.upb_minitable.c +15 -5
  495. data/src/core/ext/upb-gen/envoy/type/matcher/v3/struct.upb_minitable.h +7 -4
  496. data/src/core/ext/upb-gen/envoy/type/matcher/v3/value.upb.h +30 -12
  497. data/src/core/ext/upb-gen/envoy/type/matcher/v3/value.upb_minitable.c +32 -14
  498. data/src/core/ext/upb-gen/envoy/type/matcher/v3/value.upb_minitable.h +9 -4
  499. data/src/core/ext/upb-gen/envoy/type/metadata/v3/metadata.upb.h +24 -10
  500. data/src/core/ext/upb-gen/envoy/type/metadata/v3/metadata.upb_minitable.c +40 -10
  501. data/src/core/ext/upb-gen/envoy/type/metadata/v3/metadata.upb_minitable.h +12 -4
  502. data/src/core/ext/upb-gen/envoy/type/tracing/v3/custom_tag.upb.h +30 -17
  503. data/src/core/ext/upb-gen/envoy/type/tracing/v3/custom_tag.upb_minitable.c +33 -11
  504. data/src/core/ext/upb-gen/envoy/type/tracing/v3/custom_tag.upb_minitable.h +10 -4
  505. data/src/core/ext/upb-gen/envoy/type/v3/hash_policy.upb.h +12 -7
  506. data/src/core/ext/upb-gen/envoy/type/v3/hash_policy.upb_minitable.c +19 -5
  507. data/src/core/ext/upb-gen/envoy/type/v3/hash_policy.upb_minitable.h +8 -4
  508. data/src/core/ext/upb-gen/envoy/type/v3/http.upb.h +5 -4
  509. data/src/core/ext/upb-gen/envoy/type/v3/http.upb_minitable.c +3 -1
  510. data/src/core/ext/upb-gen/envoy/type/v3/http.upb_minitable.h +5 -4
  511. data/src/core/ext/upb-gen/envoy/type/v3/http_status.upb.h +6 -5
  512. data/src/core/ext/upb-gen/envoy/type/v3/http_status.upb_minitable.c +7 -1
  513. data/src/core/ext/upb-gen/envoy/type/v3/http_status.upb_minitable.h +6 -4
  514. data/src/core/ext/upb-gen/envoy/type/v3/percent.upb.h +8 -7
  515. data/src/core/ext/upb-gen/envoy/type/v3/percent.upb_minitable.c +11 -1
  516. data/src/core/ext/upb-gen/envoy/type/v3/percent.upb_minitable.h +7 -4
  517. data/src/core/ext/upb-gen/envoy/type/v3/range.upb.h +11 -10
  518. data/src/core/ext/upb-gen/envoy/type/v3/range.upb_minitable.c +15 -1
  519. data/src/core/ext/upb-gen/envoy/type/v3/range.upb_minitable.h +8 -4
  520. data/src/core/ext/upb-gen/envoy/type/v3/ratelimit_strategy.upb.h +14 -9
  521. data/src/core/ext/upb-gen/envoy/type/v3/ratelimit_strategy.upb_minitable.c +15 -5
  522. data/src/core/ext/upb-gen/envoy/type/v3/ratelimit_strategy.upb_minitable.h +7 -4
  523. data/src/core/ext/upb-gen/envoy/type/v3/ratelimit_unit.upb.h +5 -4
  524. data/src/core/ext/upb-gen/envoy/type/v3/ratelimit_unit.upb_minitable.c +3 -1
  525. data/src/core/ext/upb-gen/envoy/type/v3/ratelimit_unit.upb_minitable.h +5 -4
  526. data/src/core/ext/upb-gen/envoy/type/v3/semantic_version.upb.h +8 -7
  527. data/src/core/ext/upb-gen/envoy/type/v3/semantic_version.upb_minitable.c +7 -1
  528. data/src/core/ext/upb-gen/envoy/type/v3/semantic_version.upb_minitable.h +6 -4
  529. data/src/core/ext/upb-gen/envoy/type/v3/token_bucket.upb.h +12 -7
  530. data/src/core/ext/upb-gen/envoy/type/v3/token_bucket.upb_minitable.c +11 -5
  531. data/src/core/ext/upb-gen/envoy/type/v3/token_bucket.upb_minitable.h +6 -4
  532. data/src/core/ext/upb-gen/google/api/annotations.upb.h +17 -7
  533. data/src/core/ext/upb-gen/google/api/annotations.upb_minitable.c +5 -2
  534. data/src/core/ext/upb-gen/google/api/annotations.upb_minitable.h +5 -4
  535. data/src/core/ext/upb-gen/google/api/expr/v1alpha1/checked.upb.h +135 -36
  536. data/src/core/ext/upb-gen/google/api/expr/v1alpha1/checked.upb_minitable.c +121 -56
  537. data/src/core/ext/upb-gen/google/api/expr/v1alpha1/checked.upb_minitable.h +18 -4
  538. data/src/core/ext/upb-gen/google/api/expr/v1alpha1/syntax.upb.h +525 -69
  539. data/src/core/ext/upb-gen/google/api/expr/v1alpha1/syntax.upb_minitable.c +202 -68
  540. data/src/core/ext/upb-gen/google/api/expr/v1alpha1/syntax.upb_minitable.h +23 -4
  541. data/src/core/ext/upb-gen/google/api/http.upb.h +30 -16
  542. data/src/core/ext/upb-gen/google/api/http.upb_minitable.c +22 -8
  543. data/src/core/ext/upb-gen/google/api/http.upb_minitable.h +8 -4
  544. data/src/core/ext/upb-gen/google/api/httpbody.upb.h +12 -6
  545. data/src/core/ext/upb-gen/google/api/httpbody.upb_minitable.c +10 -4
  546. data/src/core/ext/upb-gen/google/api/httpbody.upb_minitable.h +6 -4
  547. data/src/core/ext/upb-gen/google/protobuf/any.upb.h +8 -6
  548. data/src/core/ext/upb-gen/google/protobuf/any.upb_minitable.c +7 -1
  549. data/src/core/ext/upb-gen/google/protobuf/any.upb_minitable.h +6 -4
  550. data/src/core/ext/upb-gen/google/protobuf/descriptor.upb.h +583 -181
  551. data/src/core/ext/upb-gen/google/protobuf/descriptor.upb_minitable.c +376 -215
  552. data/src/core/ext/upb-gen/google/protobuf/descriptor.upb_minitable.h +56 -21
  553. data/src/core/ext/upb-gen/google/protobuf/duration.upb.h +8 -6
  554. data/src/core/ext/upb-gen/google/protobuf/duration.upb_minitable.c +7 -1
  555. data/src/core/ext/upb-gen/google/protobuf/duration.upb_minitable.h +6 -4
  556. data/src/core/ext/upb-gen/google/protobuf/empty.upb.h +6 -4
  557. data/src/core/ext/upb-gen/google/protobuf/empty.upb_minitable.c +7 -1
  558. data/src/core/ext/upb-gen/google/protobuf/empty.upb_minitable.h +6 -4
  559. data/src/core/ext/upb-gen/google/protobuf/struct.upb.h +33 -10
  560. data/src/core/ext/upb-gen/google/protobuf/struct.upb_minitable.c +32 -14
  561. data/src/core/ext/upb-gen/google/protobuf/struct.upb_minitable.h +9 -4
  562. data/src/core/ext/upb-gen/google/protobuf/timestamp.upb.h +8 -6
  563. data/src/core/ext/upb-gen/google/protobuf/timestamp.upb_minitable.c +7 -1
  564. data/src/core/ext/upb-gen/google/protobuf/timestamp.upb_minitable.h +6 -4
  565. data/src/core/ext/upb-gen/google/protobuf/wrappers.upb.h +15 -13
  566. data/src/core/ext/upb-gen/google/protobuf/wrappers.upb_minitable.c +39 -1
  567. data/src/core/ext/upb-gen/google/protobuf/wrappers.upb_minitable.h +14 -4
  568. data/src/core/ext/upb-gen/google/rpc/status.upb.h +12 -6
  569. data/src/core/ext/upb-gen/google/rpc/status.upb_minitable.c +10 -4
  570. data/src/core/ext/upb-gen/google/rpc/status.upb_minitable.h +6 -4
  571. data/src/core/ext/upb-gen/opencensus/proto/trace/v1/trace_config.upb.h +22 -14
  572. data/src/core/ext/upb-gen/opencensus/proto/trace/v1/trace_config.upb_minitable.c +24 -6
  573. data/src/core/ext/upb-gen/opencensus/proto/trace/v1/trace_config.upb_minitable.h +9 -4
  574. data/src/core/ext/upb-gen/src/proto/grpc/gcp/altscontext.upb.h +19 -10
  575. data/src/core/ext/upb-gen/src/proto/grpc/gcp/altscontext.upb_minitable.c +15 -5
  576. data/src/core/ext/upb-gen/src/proto/grpc/gcp/altscontext.upb_minitable.h +7 -4
  577. data/src/core/ext/upb-gen/src/proto/grpc/gcp/handshaker.upb.h +98 -39
  578. data/src/core/ext/upb-gen/src/proto/grpc/gcp/handshaker.upb_minitable.c +87 -37
  579. data/src/core/ext/upb-gen/src/proto/grpc/gcp/handshaker.upb_minitable.h +17 -4
  580. data/src/core/ext/upb-gen/src/proto/grpc/gcp/transport_security_common.upb.h +14 -8
  581. data/src/core/ext/upb-gen/src/proto/grpc/gcp/transport_security_common.upb_minitable.c +15 -5
  582. data/src/core/ext/upb-gen/src/proto/grpc/gcp/transport_security_common.upb_minitable.h +7 -4
  583. data/src/core/ext/upb-gen/src/proto/grpc/health/v1/health.upb.h +8 -6
  584. data/src/core/ext/upb-gen/src/proto/grpc/health/v1/health.upb_minitable.c +11 -1
  585. data/src/core/ext/upb-gen/src/proto/grpc/health/v1/health.upb_minitable.h +7 -4
  586. data/src/core/ext/upb-gen/src/proto/grpc/lb/v1/load_balancer.upb.h +47 -22
  587. data/src/core/ext/upb-gen/src/proto/grpc/lb/v1/load_balancer.upb_minitable.c +58 -20
  588. data/src/core/ext/upb-gen/src/proto/grpc/lb/v1/load_balancer.upb_minitable.h +14 -4
  589. data/src/core/ext/upb-gen/src/proto/grpc/lookup/v1/rls.upb.h +16 -8
  590. data/src/core/ext/upb-gen/src/proto/grpc/lookup/v1/rls.upb_minitable.c +18 -4
  591. data/src/core/ext/upb-gen/src/proto/grpc/lookup/v1/rls.upb_minitable.h +8 -4
  592. data/src/core/ext/upb-gen/src/proto/grpc/lookup/v1/rls_config.upb.h +72 -19
  593. data/src/core/ext/upb-gen/src/proto/grpc/lookup/v1/rls_config.upb_minitable.c +60 -22
  594. data/src/core/ext/upb-gen/src/proto/grpc/lookup/v1/rls_config.upb_minitable.h +14 -4
  595. data/src/core/ext/upb-gen/udpa/annotations/migrate.upb.h +69 -23
  596. data/src/core/ext/upb-gen/udpa/annotations/migrate.upb_minitable.c +31 -12
  597. data/src/core/ext/upb-gen/udpa/annotations/migrate.upb_minitable.h +8 -4
  598. data/src/core/ext/upb-gen/udpa/annotations/security.upb.h +19 -9
  599. data/src/core/ext/upb-gen/udpa/annotations/security.upb_minitable.c +13 -6
  600. data/src/core/ext/upb-gen/udpa/annotations/security.upb_minitable.h +6 -4
  601. data/src/core/ext/upb-gen/udpa/annotations/sensitive.upb.h +6 -5
  602. data/src/core/ext/upb-gen/udpa/annotations/sensitive.upb_minitable.c +4 -1
  603. data/src/core/ext/upb-gen/udpa/annotations/sensitive.upb_minitable.h +5 -4
  604. data/src/core/ext/upb-gen/udpa/annotations/status.upb.h +19 -9
  605. data/src/core/ext/upb-gen/udpa/annotations/status.upb_minitable.c +13 -6
  606. data/src/core/ext/upb-gen/udpa/annotations/status.upb_minitable.h +6 -4
  607. data/src/core/ext/upb-gen/udpa/annotations/versioning.upb.h +18 -8
  608. data/src/core/ext/upb-gen/udpa/annotations/versioning.upb_minitable.c +13 -6
  609. data/src/core/ext/upb-gen/udpa/annotations/versioning.upb_minitable.h +6 -4
  610. data/src/core/ext/upb-gen/validate/validate.upb.h +264 -172
  611. data/src/core/ext/upb-gen/validate/validate.upb_minitable.c +185 -87
  612. data/src/core/ext/upb-gen/validate/validate.upb_minitable.h +29 -5
  613. data/src/core/ext/upb-gen/xds/annotations/v3/migrate.upb.h +69 -23
  614. data/src/core/ext/upb-gen/xds/annotations/v3/migrate.upb_minitable.c +31 -12
  615. data/src/core/ext/upb-gen/xds/annotations/v3/migrate.upb_minitable.h +8 -4
  616. data/src/core/ext/upb-gen/xds/annotations/v3/security.upb.h +19 -9
  617. data/src/core/ext/upb-gen/xds/annotations/v3/security.upb_minitable.c +13 -6
  618. data/src/core/ext/upb-gen/xds/annotations/v3/security.upb_minitable.h +6 -4
  619. data/src/core/ext/upb-gen/xds/annotations/v3/sensitive.upb.h +6 -5
  620. data/src/core/ext/upb-gen/xds/annotations/v3/sensitive.upb_minitable.c +4 -1
  621. data/src/core/ext/upb-gen/xds/annotations/v3/sensitive.upb_minitable.h +5 -4
  622. data/src/core/ext/upb-gen/xds/annotations/v3/status.upb.h +46 -18
  623. data/src/core/ext/upb-gen/xds/annotations/v3/status.upb_minitable.c +32 -11
  624. data/src/core/ext/upb-gen/xds/annotations/v3/status.upb_minitable.h +9 -4
  625. data/src/core/ext/upb-gen/xds/annotations/v3/versioning.upb.h +18 -8
  626. data/src/core/ext/upb-gen/xds/annotations/v3/versioning.upb_minitable.c +13 -6
  627. data/src/core/ext/upb-gen/xds/annotations/v3/versioning.upb_minitable.h +6 -4
  628. data/src/core/ext/upb-gen/xds/core/v3/authority.upb.h +6 -5
  629. data/src/core/ext/upb-gen/xds/core/v3/authority.upb_minitable.c +7 -1
  630. data/src/core/ext/upb-gen/xds/core/v3/authority.upb_minitable.h +6 -4
  631. data/src/core/ext/upb-gen/xds/core/v3/cidr.upb.h +9 -6
  632. data/src/core/ext/upb-gen/xds/core/v3/cidr.upb_minitable.c +10 -4
  633. data/src/core/ext/upb-gen/xds/core/v3/cidr.upb_minitable.h +6 -4
  634. data/src/core/ext/upb-gen/xds/core/v3/collection_entry.upb.h +16 -9
  635. data/src/core/ext/upb-gen/xds/core/v3/collection_entry.upb_minitable.c +18 -8
  636. data/src/core/ext/upb-gen/xds/core/v3/collection_entry.upb_minitable.h +7 -4
  637. data/src/core/ext/upb-gen/xds/core/v3/context_params.upb.h +11 -4
  638. data/src/core/ext/upb-gen/xds/core/v3/context_params.upb_minitable.c +14 -4
  639. data/src/core/ext/upb-gen/xds/core/v3/context_params.upb_minitable.h +7 -4
  640. data/src/core/ext/upb-gen/xds/core/v3/extension.upb.h +9 -6
  641. data/src/core/ext/upb-gen/xds/core/v3/extension.upb_minitable.c +10 -4
  642. data/src/core/ext/upb-gen/xds/core/v3/extension.upb_minitable.h +6 -4
  643. data/src/core/ext/upb-gen/xds/core/v3/resource.upb.h +12 -7
  644. data/src/core/ext/upb-gen/xds/core/v3/resource.upb_minitable.c +11 -5
  645. data/src/core/ext/upb-gen/xds/core/v3/resource.upb_minitable.h +6 -4
  646. data/src/core/ext/upb-gen/xds/core/v3/resource_locator.upb.h +21 -11
  647. data/src/core/ext/upb-gen/xds/core/v3/resource_locator.upb_minitable.c +18 -8
  648. data/src/core/ext/upb-gen/xds/core/v3/resource_locator.upb_minitable.h +7 -4
  649. data/src/core/ext/upb-gen/xds/core/v3/resource_name.upb.h +11 -8
  650. data/src/core/ext/upb-gen/xds/core/v3/resource_name.upb_minitable.c +10 -4
  651. data/src/core/ext/upb-gen/xds/core/v3/resource_name.upb_minitable.h +6 -4
  652. data/src/core/ext/upb-gen/xds/data/orca/v3/orca_load_report.upb.h +29 -10
  653. data/src/core/ext/upb-gen/xds/data/orca/v3/orca_load_report.upb_minitable.c +24 -6
  654. data/src/core/ext/upb-gen/xds/data/orca/v3/orca_load_report.upb_minitable.h +9 -4
  655. data/src/core/ext/upb-gen/xds/service/orca/v3/orca.upb.h +8 -5
  656. data/src/core/ext/upb-gen/xds/service/orca/v3/orca.upb_minitable.c +10 -4
  657. data/src/core/ext/upb-gen/xds/service/orca/v3/orca.upb_minitable.h +6 -4
  658. data/src/core/ext/upb-gen/xds/type/matcher/v3/cel.upb.h +9 -6
  659. data/src/core/ext/upb-gen/xds/type/matcher/v3/cel.upb_minitable.c +10 -4
  660. data/src/core/ext/upb-gen/xds/type/matcher/v3/cel.upb_minitable.h +6 -4
  661. data/src/core/ext/upb-gen/xds/type/matcher/v3/domain.upb.h +13 -5
  662. data/src/core/ext/upb-gen/xds/type/matcher/v3/domain.upb_minitable.c +17 -7
  663. data/src/core/ext/upb-gen/xds/type/matcher/v3/domain.upb_minitable.h +7 -4
  664. data/src/core/ext/upb-gen/xds/type/matcher/v3/http_inputs.upb.h +5 -4
  665. data/src/core/ext/upb-gen/xds/type/matcher/v3/http_inputs.upb_minitable.c +7 -1
  666. data/src/core/ext/upb-gen/xds/type/matcher/v3/http_inputs.upb_minitable.h +6 -4
  667. data/src/core/ext/upb-gen/xds/type/matcher/v3/ip.upb.h +19 -6
  668. data/src/core/ext/upb-gen/xds/type/matcher/v3/ip.upb_minitable.c +18 -8
  669. data/src/core/ext/upb-gen/xds/type/matcher/v3/ip.upb_minitable.h +7 -4
  670. data/src/core/ext/upb-gen/xds/type/matcher/v3/matcher.upb.h +81 -22
  671. data/src/core/ext/upb-gen/xds/type/matcher/v3/matcher.upb_minitable.c +85 -43
  672. data/src/core/ext/upb-gen/xds/type/matcher/v3/matcher.upb_minitable.h +15 -4
  673. data/src/core/ext/upb-gen/xds/type/matcher/v3/range.upb.h +44 -7
  674. data/src/core/ext/upb-gen/xds/type/matcher/v3/range.upb_minitable.c +48 -22
  675. data/src/core/ext/upb-gen/xds/type/matcher/v3/range.upb_minitable.h +11 -4
  676. data/src/core/ext/upb-gen/xds/type/matcher/v3/regex.upb.h +9 -6
  677. data/src/core/ext/upb-gen/xds/type/matcher/v3/regex.upb_minitable.c +14 -4
  678. data/src/core/ext/upb-gen/xds/type/matcher/v3/regex.upb_minitable.h +7 -4
  679. data/src/core/ext/upb-gen/xds/type/matcher/v3/string.upb.h +18 -10
  680. data/src/core/ext/upb-gen/xds/type/matcher/v3/string.upb_minitable.c +17 -7
  681. data/src/core/ext/upb-gen/xds/type/matcher/v3/string.upb_minitable.h +7 -4
  682. data/src/core/ext/upb-gen/xds/type/v3/cel.upb.h +17 -8
  683. data/src/core/ext/upb-gen/xds/type/v3/cel.upb_minitable.c +19 -9
  684. data/src/core/ext/upb-gen/xds/type/v3/cel.upb_minitable.h +7 -4
  685. data/src/core/ext/upb-gen/xds/type/v3/range.upb.h +12 -10
  686. data/src/core/ext/upb-gen/xds/type/v3/range.upb_minitable.c +15 -1
  687. data/src/core/ext/upb-gen/xds/type/v3/range.upb_minitable.h +8 -4
  688. data/src/core/ext/upb-gen/xds/type/v3/typed_struct.upb.h +9 -6
  689. data/src/core/ext/upb-gen/xds/type/v3/typed_struct.upb_minitable.c +10 -4
  690. data/src/core/ext/upb-gen/xds/type/v3/typed_struct.upb_minitable.h +6 -4
  691. data/src/core/ext/upbdefs-gen/envoy/admin/v3/certs.upbdefs.c +2 -1
  692. data/src/core/ext/upbdefs-gen/envoy/admin/v3/certs.upbdefs.h +5 -4
  693. data/src/core/ext/upbdefs-gen/envoy/admin/v3/clusters.upbdefs.c +2 -1
  694. data/src/core/ext/upbdefs-gen/envoy/admin/v3/clusters.upbdefs.h +5 -4
  695. data/src/core/ext/upbdefs-gen/envoy/admin/v3/config_dump.upbdefs.c +2 -1
  696. data/src/core/ext/upbdefs-gen/envoy/admin/v3/config_dump.upbdefs.h +5 -4
  697. data/src/core/ext/upbdefs-gen/envoy/admin/v3/config_dump_shared.upbdefs.c +2 -1
  698. data/src/core/ext/upbdefs-gen/envoy/admin/v3/config_dump_shared.upbdefs.h +5 -4
  699. data/src/core/ext/upbdefs-gen/envoy/admin/v3/init_dump.upbdefs.c +2 -1
  700. data/src/core/ext/upbdefs-gen/envoy/admin/v3/init_dump.upbdefs.h +5 -4
  701. data/src/core/ext/upbdefs-gen/envoy/admin/v3/listeners.upbdefs.c +2 -1
  702. data/src/core/ext/upbdefs-gen/envoy/admin/v3/listeners.upbdefs.h +5 -4
  703. data/src/core/ext/upbdefs-gen/envoy/admin/v3/memory.upbdefs.c +2 -1
  704. data/src/core/ext/upbdefs-gen/envoy/admin/v3/memory.upbdefs.h +5 -4
  705. data/src/core/ext/upbdefs-gen/envoy/admin/v3/metrics.upbdefs.c +2 -1
  706. data/src/core/ext/upbdefs-gen/envoy/admin/v3/metrics.upbdefs.h +5 -4
  707. data/src/core/ext/upbdefs-gen/envoy/admin/v3/mutex_stats.upbdefs.c +2 -1
  708. data/src/core/ext/upbdefs-gen/envoy/admin/v3/mutex_stats.upbdefs.h +5 -4
  709. data/src/core/ext/upbdefs-gen/envoy/admin/v3/server_info.upbdefs.c +88 -82
  710. data/src/core/ext/upbdefs-gen/envoy/admin/v3/server_info.upbdefs.h +5 -4
  711. data/src/core/ext/upbdefs-gen/envoy/admin/v3/tap.upbdefs.c +2 -1
  712. data/src/core/ext/upbdefs-gen/envoy/admin/v3/tap.upbdefs.h +5 -4
  713. data/src/core/ext/upbdefs-gen/envoy/annotations/deprecation.upbdefs.c +2 -1
  714. data/src/core/ext/upbdefs-gen/envoy/annotations/deprecation.upbdefs.h +5 -4
  715. data/src/core/ext/upbdefs-gen/envoy/annotations/resource.upbdefs.c +2 -1
  716. data/src/core/ext/upbdefs-gen/envoy/annotations/resource.upbdefs.h +5 -4
  717. data/src/core/ext/upbdefs-gen/envoy/config/accesslog/v3/accesslog.upbdefs.c +63 -61
  718. data/src/core/ext/upbdefs-gen/envoy/config/accesslog/v3/accesslog.upbdefs.h +5 -4
  719. data/src/core/ext/upbdefs-gen/envoy/config/bootstrap/v3/bootstrap.upbdefs.c +223 -211
  720. data/src/core/ext/upbdefs-gen/envoy/config/bootstrap/v3/bootstrap.upbdefs.h +10 -4
  721. data/src/core/ext/upbdefs-gen/envoy/config/cluster/v3/circuit_breaker.upbdefs.c +2 -1
  722. data/src/core/ext/upbdefs-gen/envoy/config/cluster/v3/circuit_breaker.upbdefs.h +5 -4
  723. data/src/core/ext/upbdefs-gen/envoy/config/cluster/v3/cluster.upbdefs.c +319 -298
  724. data/src/core/ext/upbdefs-gen/envoy/config/cluster/v3/cluster.upbdefs.h +10 -4
  725. data/src/core/ext/upbdefs-gen/envoy/config/cluster/v3/filter.upbdefs.c +2 -1
  726. data/src/core/ext/upbdefs-gen/envoy/config/cluster/v3/filter.upbdefs.h +5 -4
  727. data/src/core/ext/upbdefs-gen/envoy/config/cluster/v3/outlier_detection.upbdefs.c +116 -106
  728. data/src/core/ext/upbdefs-gen/envoy/config/cluster/v3/outlier_detection.upbdefs.h +5 -4
  729. data/src/core/ext/upbdefs-gen/envoy/config/common/matcher/v3/matcher.upbdefs.c +2 -1
  730. data/src/core/ext/upbdefs-gen/envoy/config/common/matcher/v3/matcher.upbdefs.h +5 -4
  731. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/address.upbdefs.c +2 -1
  732. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/address.upbdefs.h +5 -4
  733. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/backoff.upbdefs.c +2 -1
  734. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/backoff.upbdefs.h +5 -4
  735. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/base.upbdefs.c +187 -141
  736. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/base.upbdefs.h +30 -4
  737. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/config_source.upbdefs.c +12 -12
  738. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/config_source.upbdefs.h +5 -4
  739. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/event_service_config.upbdefs.c +2 -1
  740. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/event_service_config.upbdefs.h +5 -4
  741. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/extension.upbdefs.c +2 -1
  742. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/extension.upbdefs.h +5 -4
  743. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/grpc_method_list.upbdefs.c +2 -1
  744. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/grpc_method_list.upbdefs.h +5 -4
  745. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/grpc_service.upbdefs.c +175 -165
  746. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/grpc_service.upbdefs.h +5 -4
  747. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/health_check.upbdefs.c +199 -188
  748. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/health_check.upbdefs.h +5 -4
  749. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/http_service.upbdefs.c +2 -1
  750. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/http_service.upbdefs.h +5 -4
  751. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/http_uri.upbdefs.c +2 -1
  752. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/http_uri.upbdefs.h +5 -4
  753. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/protocol.upbdefs.c +231 -223
  754. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/protocol.upbdefs.h +5 -4
  755. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/proxy_protocol.upbdefs.c +2 -1
  756. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/proxy_protocol.upbdefs.h +5 -4
  757. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/resolver.upbdefs.c +2 -1
  758. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/resolver.upbdefs.h +5 -4
  759. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/socket_option.upbdefs.c +2 -1
  760. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/socket_option.upbdefs.h +5 -4
  761. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/substitution_format_string.upbdefs.c +2 -1
  762. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/substitution_format_string.upbdefs.h +5 -4
  763. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/udp_socket_config.upbdefs.c +2 -1
  764. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/udp_socket_config.upbdefs.h +5 -4
  765. data/src/core/ext/upbdefs-gen/envoy/config/endpoint/v3/endpoint.upbdefs.c +2 -1
  766. data/src/core/ext/upbdefs-gen/envoy/config/endpoint/v3/endpoint.upbdefs.h +5 -4
  767. data/src/core/ext/upbdefs-gen/envoy/config/endpoint/v3/endpoint_components.upbdefs.c +41 -37
  768. data/src/core/ext/upbdefs-gen/envoy/config/endpoint/v3/endpoint_components.upbdefs.h +5 -4
  769. data/src/core/ext/upbdefs-gen/envoy/config/endpoint/v3/load_report.upbdefs.c +124 -94
  770. data/src/core/ext/upbdefs-gen/envoy/config/endpoint/v3/load_report.upbdefs.h +10 -4
  771. data/src/core/ext/upbdefs-gen/envoy/config/listener/v3/api_listener.upbdefs.c +2 -1
  772. data/src/core/ext/upbdefs-gen/envoy/config/listener/v3/api_listener.upbdefs.h +5 -4
  773. data/src/core/ext/upbdefs-gen/envoy/config/listener/v3/listener.upbdefs.c +43 -40
  774. data/src/core/ext/upbdefs-gen/envoy/config/listener/v3/listener.upbdefs.h +5 -4
  775. data/src/core/ext/upbdefs-gen/envoy/config/listener/v3/listener_components.upbdefs.c +2 -1
  776. data/src/core/ext/upbdefs-gen/envoy/config/listener/v3/listener_components.upbdefs.h +5 -4
  777. data/src/core/ext/upbdefs-gen/envoy/config/listener/v3/quic_config.upbdefs.c +22 -13
  778. data/src/core/ext/upbdefs-gen/envoy/config/listener/v3/quic_config.upbdefs.h +5 -4
  779. data/src/core/ext/upbdefs-gen/envoy/config/listener/v3/udp_listener_config.upbdefs.c +2 -1
  780. data/src/core/ext/upbdefs-gen/envoy/config/listener/v3/udp_listener_config.upbdefs.h +5 -4
  781. data/src/core/ext/upbdefs-gen/envoy/config/metrics/v3/metrics_service.upbdefs.c +2 -1
  782. data/src/core/ext/upbdefs-gen/envoy/config/metrics/v3/metrics_service.upbdefs.h +5 -4
  783. data/src/core/ext/upbdefs-gen/envoy/config/metrics/v3/stats.upbdefs.c +2 -1
  784. data/src/core/ext/upbdefs-gen/envoy/config/metrics/v3/stats.upbdefs.h +5 -4
  785. data/src/core/ext/upbdefs-gen/envoy/config/overload/v3/overload.upbdefs.c +2 -1
  786. data/src/core/ext/upbdefs-gen/envoy/config/overload/v3/overload.upbdefs.h +5 -4
  787. data/src/core/ext/upbdefs-gen/envoy/config/rbac/v3/rbac.upbdefs.c +71 -66
  788. data/src/core/ext/upbdefs-gen/envoy/config/rbac/v3/rbac.upbdefs.h +5 -4
  789. data/src/core/ext/upbdefs-gen/envoy/config/route/v3/route.upbdefs.c +2 -1
  790. data/src/core/ext/upbdefs-gen/envoy/config/route/v3/route.upbdefs.h +5 -4
  791. data/src/core/ext/upbdefs-gen/envoy/config/route/v3/route_components.upbdefs.c +613 -605
  792. data/src/core/ext/upbdefs-gen/envoy/config/route/v3/route_components.upbdefs.h +5 -4
  793. data/src/core/ext/upbdefs-gen/envoy/config/route/v3/scoped_route.upbdefs.c +2 -1
  794. data/src/core/ext/upbdefs-gen/envoy/config/route/v3/scoped_route.upbdefs.h +5 -4
  795. data/src/core/ext/upbdefs-gen/envoy/config/tap/v3/common.upbdefs.c +2 -1
  796. data/src/core/ext/upbdefs-gen/envoy/config/tap/v3/common.upbdefs.h +5 -4
  797. data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/datadog.upbdefs.c +32 -21
  798. data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/datadog.upbdefs.h +10 -4
  799. data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/dynamic_ot.upbdefs.c +20 -18
  800. data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/dynamic_ot.upbdefs.h +5 -4
  801. data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/http_tracer.upbdefs.c +2 -1
  802. data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/http_tracer.upbdefs.h +5 -4
  803. data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/lightstep.upbdefs.c +2 -1
  804. data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/lightstep.upbdefs.h +5 -4
  805. data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/opencensus.upbdefs.c +64 -60
  806. data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/opencensus.upbdefs.h +5 -4
  807. data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/opentelemetry.upbdefs.c +2 -1
  808. data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/opentelemetry.upbdefs.h +5 -4
  809. data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/service.upbdefs.c +2 -1
  810. data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/service.upbdefs.h +5 -4
  811. data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/skywalking.upbdefs.c +2 -1
  812. data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/skywalking.upbdefs.h +5 -4
  813. data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/trace.upbdefs.c +2 -1
  814. data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/trace.upbdefs.h +5 -4
  815. data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/xray.upbdefs.c +2 -1
  816. data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/xray.upbdefs.h +5 -4
  817. data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/zipkin.upbdefs.c +23 -21
  818. data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/zipkin.upbdefs.h +5 -4
  819. data/src/core/ext/upbdefs-gen/envoy/data/accesslog/v3/accesslog.upbdefs.c +147 -143
  820. data/src/core/ext/upbdefs-gen/envoy/data/accesslog/v3/accesslog.upbdefs.h +5 -4
  821. data/src/core/ext/upbdefs-gen/envoy/extensions/clusters/aggregate/v3/cluster.upbdefs.c +2 -1
  822. data/src/core/ext/upbdefs-gen/envoy/extensions/clusters/aggregate/v3/cluster.upbdefs.h +5 -4
  823. data/src/core/ext/upbdefs-gen/envoy/extensions/filters/common/fault/v3/fault.upbdefs.c +2 -1
  824. data/src/core/ext/upbdefs-gen/envoy/extensions/filters/common/fault/v3/fault.upbdefs.h +5 -4
  825. data/src/core/ext/upbdefs-gen/envoy/extensions/filters/http/fault/v3/fault.upbdefs.c +2 -1
  826. data/src/core/ext/upbdefs-gen/envoy/extensions/filters/http/fault/v3/fault.upbdefs.h +5 -4
  827. data/src/core/ext/upbdefs-gen/envoy/extensions/filters/http/gcp_authn/v3/gcp_authn.upbdefs.c +87 -0
  828. data/src/core/ext/upbdefs-gen/envoy/extensions/filters/http/gcp_authn/v3/gcp_authn.upbdefs.h +48 -0
  829. data/src/core/ext/upbdefs-gen/envoy/extensions/filters/http/rbac/v3/rbac.upbdefs.c +38 -34
  830. data/src/core/ext/upbdefs-gen/envoy/extensions/filters/http/rbac/v3/rbac.upbdefs.h +5 -4
  831. data/src/core/ext/upbdefs-gen/envoy/extensions/filters/http/router/v3/router.upbdefs.c +2 -1
  832. data/src/core/ext/upbdefs-gen/envoy/extensions/filters/http/router/v3/router.upbdefs.h +5 -4
  833. data/src/core/ext/upbdefs-gen/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upbdefs.c +2 -1
  834. data/src/core/ext/upbdefs-gen/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upbdefs.h +5 -4
  835. data/src/core/ext/upbdefs-gen/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upbdefs.c +292 -289
  836. data/src/core/ext/upbdefs-gen/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upbdefs.h +5 -4
  837. data/src/core/ext/upbdefs-gen/envoy/extensions/http/stateful_session/cookie/v3/cookie.upbdefs.c +2 -1
  838. data/src/core/ext/upbdefs-gen/envoy/extensions/http/stateful_session/cookie/v3/cookie.upbdefs.h +5 -4
  839. data/src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/http_11_proxy/v3/upstream_http_11_connect.upbdefs.c +53 -0
  840. data/src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/http_11_proxy/v3/upstream_http_11_connect.upbdefs.h +33 -0
  841. data/src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/cert.upbdefs.c +2 -1
  842. data/src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/cert.upbdefs.h +5 -4
  843. data/src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/common.upbdefs.c +84 -76
  844. data/src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/common.upbdefs.h +10 -4
  845. data/src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/secret.upbdefs.c +2 -1
  846. data/src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/secret.upbdefs.h +5 -4
  847. data/src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/tls.upbdefs.c +2 -1
  848. data/src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/tls.upbdefs.h +5 -4
  849. data/src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upbdefs.c +2 -1
  850. data/src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upbdefs.h +5 -4
  851. data/src/core/ext/upbdefs-gen/envoy/extensions/upstreams/http/v3/http_protocol_options.upbdefs.c +2 -1
  852. data/src/core/ext/upbdefs-gen/envoy/extensions/upstreams/http/v3/http_protocol_options.upbdefs.h +5 -4
  853. data/src/core/ext/upbdefs-gen/envoy/service/discovery/v3/ads.upbdefs.c +2 -1
  854. data/src/core/ext/upbdefs-gen/envoy/service/discovery/v3/ads.upbdefs.h +5 -4
  855. data/src/core/ext/upbdefs-gen/envoy/service/discovery/v3/discovery.upbdefs.c +2 -1
  856. data/src/core/ext/upbdefs-gen/envoy/service/discovery/v3/discovery.upbdefs.h +5 -4
  857. data/src/core/ext/upbdefs-gen/envoy/service/load_stats/v3/lrs.upbdefs.c +2 -1
  858. data/src/core/ext/upbdefs-gen/envoy/service/load_stats/v3/lrs.upbdefs.h +5 -4
  859. data/src/core/ext/upbdefs-gen/envoy/service/status/v3/csds.upbdefs.c +2 -1
  860. data/src/core/ext/upbdefs-gen/envoy/service/status/v3/csds.upbdefs.h +5 -4
  861. data/src/core/ext/upbdefs-gen/envoy/type/http/v3/cookie.upbdefs.c +2 -1
  862. data/src/core/ext/upbdefs-gen/envoy/type/http/v3/cookie.upbdefs.h +5 -4
  863. data/src/core/ext/upbdefs-gen/envoy/type/http/v3/path_transformation.upbdefs.c +2 -1
  864. data/src/core/ext/upbdefs-gen/envoy/type/http/v3/path_transformation.upbdefs.h +5 -4
  865. data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/filter_state.upbdefs.c +2 -1
  866. data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/filter_state.upbdefs.h +5 -4
  867. data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/http_inputs.upbdefs.c +2 -1
  868. data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/http_inputs.upbdefs.h +5 -4
  869. data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/metadata.upbdefs.c +2 -1
  870. data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/metadata.upbdefs.h +5 -4
  871. data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/node.upbdefs.c +2 -1
  872. data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/node.upbdefs.h +5 -4
  873. data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/number.upbdefs.c +2 -1
  874. data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/number.upbdefs.h +5 -4
  875. data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/path.upbdefs.c +2 -1
  876. data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/path.upbdefs.h +5 -4
  877. data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/regex.upbdefs.c +2 -1
  878. data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/regex.upbdefs.h +5 -4
  879. data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/status_code_input.upbdefs.c +2 -1
  880. data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/status_code_input.upbdefs.h +5 -4
  881. data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/string.upbdefs.c +41 -34
  882. data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/string.upbdefs.h +5 -4
  883. data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/struct.upbdefs.c +2 -1
  884. data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/struct.upbdefs.h +5 -4
  885. data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/value.upbdefs.c +2 -1
  886. data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/value.upbdefs.h +5 -4
  887. data/src/core/ext/upbdefs-gen/envoy/type/metadata/v3/metadata.upbdefs.c +2 -1
  888. data/src/core/ext/upbdefs-gen/envoy/type/metadata/v3/metadata.upbdefs.h +5 -4
  889. data/src/core/ext/upbdefs-gen/envoy/type/tracing/v3/custom_tag.upbdefs.c +2 -1
  890. data/src/core/ext/upbdefs-gen/envoy/type/tracing/v3/custom_tag.upbdefs.h +5 -4
  891. data/src/core/ext/upbdefs-gen/envoy/type/v3/hash_policy.upbdefs.c +2 -1
  892. data/src/core/ext/upbdefs-gen/envoy/type/v3/hash_policy.upbdefs.h +5 -4
  893. data/src/core/ext/upbdefs-gen/envoy/type/v3/http.upbdefs.c +2 -1
  894. data/src/core/ext/upbdefs-gen/envoy/type/v3/http.upbdefs.h +5 -4
  895. data/src/core/ext/upbdefs-gen/envoy/type/v3/http_status.upbdefs.c +2 -1
  896. data/src/core/ext/upbdefs-gen/envoy/type/v3/http_status.upbdefs.h +5 -4
  897. data/src/core/ext/upbdefs-gen/envoy/type/v3/percent.upbdefs.c +2 -1
  898. data/src/core/ext/upbdefs-gen/envoy/type/v3/percent.upbdefs.h +5 -4
  899. data/src/core/ext/upbdefs-gen/envoy/type/v3/range.upbdefs.c +2 -1
  900. data/src/core/ext/upbdefs-gen/envoy/type/v3/range.upbdefs.h +5 -4
  901. data/src/core/ext/upbdefs-gen/envoy/type/v3/ratelimit_strategy.upbdefs.c +2 -1
  902. data/src/core/ext/upbdefs-gen/envoy/type/v3/ratelimit_strategy.upbdefs.h +5 -4
  903. data/src/core/ext/upbdefs-gen/envoy/type/v3/ratelimit_unit.upbdefs.c +2 -1
  904. data/src/core/ext/upbdefs-gen/envoy/type/v3/ratelimit_unit.upbdefs.h +5 -4
  905. data/src/core/ext/upbdefs-gen/envoy/type/v3/semantic_version.upbdefs.c +2 -1
  906. data/src/core/ext/upbdefs-gen/envoy/type/v3/semantic_version.upbdefs.h +5 -4
  907. data/src/core/ext/upbdefs-gen/envoy/type/v3/token_bucket.upbdefs.c +2 -1
  908. data/src/core/ext/upbdefs-gen/envoy/type/v3/token_bucket.upbdefs.h +5 -4
  909. data/src/core/ext/upbdefs-gen/google/api/annotations.upbdefs.c +2 -1
  910. data/src/core/ext/upbdefs-gen/google/api/annotations.upbdefs.h +5 -4
  911. data/src/core/ext/upbdefs-gen/google/api/expr/v1alpha1/checked.upbdefs.c +110 -108
  912. data/src/core/ext/upbdefs-gen/google/api/expr/v1alpha1/checked.upbdefs.h +5 -4
  913. data/src/core/ext/upbdefs-gen/google/api/expr/v1alpha1/syntax.upbdefs.c +103 -79
  914. data/src/core/ext/upbdefs-gen/google/api/expr/v1alpha1/syntax.upbdefs.h +15 -4
  915. data/src/core/ext/upbdefs-gen/google/api/http.upbdefs.c +2 -1
  916. data/src/core/ext/upbdefs-gen/google/api/http.upbdefs.h +5 -4
  917. data/src/core/ext/upbdefs-gen/google/api/httpbody.upbdefs.c +2 -1
  918. data/src/core/ext/upbdefs-gen/google/api/httpbody.upbdefs.h +5 -4
  919. data/src/core/ext/upbdefs-gen/google/protobuf/any.upbdefs.c +2 -1
  920. data/src/core/ext/upbdefs-gen/google/protobuf/any.upbdefs.h +5 -4
  921. data/src/core/ext/upbdefs-gen/google/protobuf/descriptor.upbdefs.c +485 -458
  922. data/src/core/ext/upbdefs-gen/google/protobuf/descriptor.upbdefs.h +10 -4
  923. data/src/core/ext/upbdefs-gen/google/protobuf/duration.upbdefs.c +2 -1
  924. data/src/core/ext/upbdefs-gen/google/protobuf/duration.upbdefs.h +5 -4
  925. data/src/core/ext/upbdefs-gen/google/protobuf/empty.upbdefs.c +2 -1
  926. data/src/core/ext/upbdefs-gen/google/protobuf/empty.upbdefs.h +5 -4
  927. data/src/core/ext/upbdefs-gen/google/protobuf/struct.upbdefs.c +2 -1
  928. data/src/core/ext/upbdefs-gen/google/protobuf/struct.upbdefs.h +5 -4
  929. data/src/core/ext/upbdefs-gen/google/protobuf/timestamp.upbdefs.c +2 -1
  930. data/src/core/ext/upbdefs-gen/google/protobuf/timestamp.upbdefs.h +5 -4
  931. data/src/core/ext/upbdefs-gen/google/protobuf/wrappers.upbdefs.c +2 -1
  932. data/src/core/ext/upbdefs-gen/google/protobuf/wrappers.upbdefs.h +5 -4
  933. data/src/core/ext/upbdefs-gen/google/rpc/status.upbdefs.c +2 -1
  934. data/src/core/ext/upbdefs-gen/google/rpc/status.upbdefs.h +5 -4
  935. data/src/core/ext/upbdefs-gen/opencensus/proto/trace/v1/trace_config.upbdefs.c +2 -1
  936. data/src/core/ext/upbdefs-gen/opencensus/proto/trace/v1/trace_config.upbdefs.h +5 -4
  937. data/src/core/ext/upbdefs-gen/src/proto/grpc/lookup/v1/rls_config.upbdefs.c +2 -1
  938. data/src/core/ext/upbdefs-gen/src/proto/grpc/lookup/v1/rls_config.upbdefs.h +5 -4
  939. data/src/core/ext/upbdefs-gen/udpa/annotations/migrate.upbdefs.c +2 -1
  940. data/src/core/ext/upbdefs-gen/udpa/annotations/migrate.upbdefs.h +5 -4
  941. data/src/core/ext/upbdefs-gen/udpa/annotations/security.upbdefs.c +2 -1
  942. data/src/core/ext/upbdefs-gen/udpa/annotations/security.upbdefs.h +5 -4
  943. data/src/core/ext/upbdefs-gen/udpa/annotations/sensitive.upbdefs.c +2 -1
  944. data/src/core/ext/upbdefs-gen/udpa/annotations/sensitive.upbdefs.h +5 -4
  945. data/src/core/ext/upbdefs-gen/udpa/annotations/status.upbdefs.c +2 -1
  946. data/src/core/ext/upbdefs-gen/udpa/annotations/status.upbdefs.h +5 -4
  947. data/src/core/ext/upbdefs-gen/udpa/annotations/versioning.upbdefs.c +2 -1
  948. data/src/core/ext/upbdefs-gen/udpa/annotations/versioning.upbdefs.h +5 -4
  949. data/src/core/ext/upbdefs-gen/validate/validate.upbdefs.c +2 -1
  950. data/src/core/ext/upbdefs-gen/validate/validate.upbdefs.h +5 -4
  951. data/src/core/ext/upbdefs-gen/xds/annotations/v3/migrate.upbdefs.c +2 -1
  952. data/src/core/ext/upbdefs-gen/xds/annotations/v3/migrate.upbdefs.h +5 -4
  953. data/src/core/ext/upbdefs-gen/xds/annotations/v3/security.upbdefs.c +2 -1
  954. data/src/core/ext/upbdefs-gen/xds/annotations/v3/security.upbdefs.h +5 -4
  955. data/src/core/ext/upbdefs-gen/xds/annotations/v3/sensitive.upbdefs.c +2 -1
  956. data/src/core/ext/upbdefs-gen/xds/annotations/v3/sensitive.upbdefs.h +5 -4
  957. data/src/core/ext/upbdefs-gen/xds/annotations/v3/status.upbdefs.c +2 -1
  958. data/src/core/ext/upbdefs-gen/xds/annotations/v3/status.upbdefs.h +5 -4
  959. data/src/core/ext/upbdefs-gen/xds/annotations/v3/versioning.upbdefs.c +2 -1
  960. data/src/core/ext/upbdefs-gen/xds/annotations/v3/versioning.upbdefs.h +5 -4
  961. data/src/core/ext/upbdefs-gen/xds/core/v3/authority.upbdefs.c +2 -1
  962. data/src/core/ext/upbdefs-gen/xds/core/v3/authority.upbdefs.h +5 -4
  963. data/src/core/ext/upbdefs-gen/xds/core/v3/cidr.upbdefs.c +2 -1
  964. data/src/core/ext/upbdefs-gen/xds/core/v3/cidr.upbdefs.h +5 -4
  965. data/src/core/ext/upbdefs-gen/xds/core/v3/collection_entry.upbdefs.c +2 -1
  966. data/src/core/ext/upbdefs-gen/xds/core/v3/collection_entry.upbdefs.h +5 -4
  967. data/src/core/ext/upbdefs-gen/xds/core/v3/context_params.upbdefs.c +2 -1
  968. data/src/core/ext/upbdefs-gen/xds/core/v3/context_params.upbdefs.h +5 -4
  969. data/src/core/ext/upbdefs-gen/xds/core/v3/extension.upbdefs.c +2 -1
  970. data/src/core/ext/upbdefs-gen/xds/core/v3/extension.upbdefs.h +5 -4
  971. data/src/core/ext/upbdefs-gen/xds/core/v3/resource.upbdefs.c +2 -1
  972. data/src/core/ext/upbdefs-gen/xds/core/v3/resource.upbdefs.h +5 -4
  973. data/src/core/ext/upbdefs-gen/xds/core/v3/resource_locator.upbdefs.c +2 -1
  974. data/src/core/ext/upbdefs-gen/xds/core/v3/resource_locator.upbdefs.h +5 -4
  975. data/src/core/ext/upbdefs-gen/xds/core/v3/resource_name.upbdefs.c +2 -1
  976. data/src/core/ext/upbdefs-gen/xds/core/v3/resource_name.upbdefs.h +5 -4
  977. data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/cel.upbdefs.c +2 -1
  978. data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/cel.upbdefs.h +5 -4
  979. data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/domain.upbdefs.c +2 -1
  980. data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/domain.upbdefs.h +5 -4
  981. data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/http_inputs.upbdefs.c +2 -1
  982. data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/http_inputs.upbdefs.h +5 -4
  983. data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/ip.upbdefs.c +2 -1
  984. data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/ip.upbdefs.h +5 -4
  985. data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/matcher.upbdefs.c +2 -1
  986. data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/matcher.upbdefs.h +5 -4
  987. data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/range.upbdefs.c +2 -1
  988. data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/range.upbdefs.h +5 -4
  989. data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/regex.upbdefs.c +2 -1
  990. data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/regex.upbdefs.h +5 -4
  991. data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/string.upbdefs.c +2 -1
  992. data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/string.upbdefs.h +5 -4
  993. data/src/core/ext/upbdefs-gen/xds/type/v3/cel.upbdefs.c +2 -1
  994. data/src/core/ext/upbdefs-gen/xds/type/v3/cel.upbdefs.h +5 -4
  995. data/src/core/ext/upbdefs-gen/xds/type/v3/range.upbdefs.c +2 -1
  996. data/src/core/ext/upbdefs-gen/xds/type/v3/range.upbdefs.h +5 -4
  997. data/src/core/ext/upbdefs-gen/xds/type/v3/typed_struct.upbdefs.c +2 -1
  998. data/src/core/ext/upbdefs-gen/xds/type/v3/typed_struct.upbdefs.h +5 -4
  999. data/src/core/filter/blackboard.cc +33 -0
  1000. data/src/core/filter/blackboard.h +70 -0
  1001. data/src/core/{lib/transport → handshaker/endpoint_info}/endpoint_info_handshaker.cc +16 -15
  1002. data/src/core/{lib/transport → handshaker/endpoint_info}/endpoint_info_handshaker.h +4 -4
  1003. data/src/core/handshaker/handshaker.cc +199 -0
  1004. data/src/core/{lib/transport → handshaker}/handshaker.h +60 -55
  1005. data/src/core/{lib/transport → handshaker}/handshaker_factory.h +19 -3
  1006. data/src/core/{lib/transport → handshaker}/handshaker_registry.cc +2 -3
  1007. data/src/core/{lib/transport → handshaker}/handshaker_registry.h +4 -4
  1008. data/src/core/{lib/transport → handshaker/http_connect}/http_connect_handshaker.cc +123 -164
  1009. data/src/core/{lib/transport → handshaker/http_connect}/http_connect_handshaker.h +4 -4
  1010. data/src/core/{client_channel → handshaker/http_connect}/http_proxy_mapper.cc +35 -42
  1011. data/src/core/{client_channel → handshaker/http_connect}/http_proxy_mapper.h +5 -6
  1012. data/src/core/handshaker/http_connect/xds_http_proxy_mapper.cc +57 -0
  1013. data/src/core/handshaker/http_connect/xds_http_proxy_mapper.h +46 -0
  1014. data/src/core/{lib/handshaker → handshaker}/proxy_mapper.h +3 -4
  1015. data/src/core/{lib/handshaker → handshaker}/proxy_mapper_registry.cc +2 -2
  1016. data/src/core/{lib/handshaker → handshaker}/proxy_mapper_registry.h +4 -5
  1017. data/src/core/{lib/security/transport → handshaker/security}/secure_endpoint.cc +98 -85
  1018. data/src/core/{lib/security/transport → handshaker/security}/secure_endpoint.h +10 -12
  1019. data/src/core/{lib/security/transport → handshaker/security}/security_handshaker.cc +176 -230
  1020. data/src/core/{lib/security/transport → handshaker/security}/security_handshaker.h +7 -9
  1021. data/src/core/{lib/transport → handshaker/tcp_connect}/tcp_connect_handshaker.cc +53 -67
  1022. data/src/core/{lib/transport → handshaker/tcp_connect}/tcp_connect_handshaker.h +4 -4
  1023. data/src/core/lib/address_utils/parse_address.cc +33 -44
  1024. data/src/core/lib/address_utils/parse_address.h +1 -3
  1025. data/src/core/lib/address_utils/sockaddr_utils.cc +22 -19
  1026. data/src/core/lib/address_utils/sockaddr_utils.h +0 -2
  1027. data/src/core/lib/channel/channel_args.cc +20 -26
  1028. data/src/core/lib/channel/channel_args.h +34 -21
  1029. data/src/core/lib/channel/channel_args_preconditioning.cc +2 -2
  1030. data/src/core/lib/channel/channel_args_preconditioning.h +2 -3
  1031. data/src/core/lib/channel/channel_stack.cc +19 -81
  1032. data/src/core/lib/channel/channel_stack.h +27 -63
  1033. data/src/core/lib/channel/channel_stack_builder.cc +2 -2
  1034. data/src/core/lib/channel/channel_stack_builder.h +1 -7
  1035. data/src/core/lib/channel/channel_stack_builder_impl.cc +5 -157
  1036. data/src/core/lib/channel/channel_stack_builder_impl.h +13 -3
  1037. data/src/core/lib/channel/connected_channel.cc +49 -706
  1038. data/src/core/lib/channel/promise_based_filter.cc +249 -324
  1039. data/src/core/lib/channel/promise_based_filter.h +264 -559
  1040. data/src/core/lib/channel/status_util.cc +2 -4
  1041. data/src/core/lib/channel/status_util.h +1 -2
  1042. data/src/core/lib/compression/compression.cc +7 -10
  1043. data/src/core/lib/compression/compression_internal.cc +7 -10
  1044. data/src/core/lib/compression/compression_internal.h +2 -5
  1045. data/src/core/lib/compression/message_compress.cc +16 -18
  1046. data/src/core/lib/compression/message_compress.h +1 -2
  1047. data/src/core/lib/debug/trace.cc +48 -67
  1048. data/src/core/lib/debug/trace.h +2 -97
  1049. data/src/core/lib/debug/trace_flags.cc +242 -0
  1050. data/src/core/lib/debug/trace_flags.h +131 -0
  1051. data/src/core/lib/debug/trace_impl.h +125 -0
  1052. data/src/core/lib/event_engine/ares_resolver.cc +165 -92
  1053. data/src/core/lib/event_engine/ares_resolver.h +11 -18
  1054. data/src/core/lib/event_engine/cf_engine/cf_engine.cc +14 -15
  1055. data/src/core/lib/event_engine/cf_engine/cf_engine.h +1 -1
  1056. data/src/core/lib/event_engine/cf_engine/cfstream_endpoint.cc +47 -34
  1057. data/src/core/lib/event_engine/cf_engine/cfstream_endpoint.h +4 -6
  1058. data/src/core/lib/event_engine/cf_engine/cftype_unique_ref.h +1 -1
  1059. data/src/core/lib/event_engine/cf_engine/dns_service_resolver.cc +28 -31
  1060. data/src/core/lib/event_engine/cf_engine/dns_service_resolver.h +5 -6
  1061. data/src/core/lib/event_engine/channel_args_endpoint_config.cc +3 -5
  1062. data/src/core/lib/event_engine/channel_args_endpoint_config.h +1 -3
  1063. data/src/core/lib/event_engine/common_closures.h +1 -2
  1064. data/src/core/lib/event_engine/default_event_engine.cc +13 -16
  1065. data/src/core/lib/event_engine/default_event_engine.h +3 -4
  1066. data/src/core/lib/event_engine/default_event_engine_factory.cc +3 -4
  1067. data/src/core/lib/event_engine/default_event_engine_factory.h +1 -2
  1068. data/src/core/lib/event_engine/event_engine.cc +35 -5
  1069. data/src/core/lib/event_engine/event_engine_context.h +5 -4
  1070. data/src/core/lib/event_engine/extensions/chaotic_good_extension.h +0 -1
  1071. data/src/core/lib/event_engine/extensions/supports_fd.h +25 -2
  1072. data/src/core/lib/event_engine/extensions/tcp_trace.h +42 -0
  1073. data/src/core/lib/event_engine/forkable.cc +12 -13
  1074. data/src/core/lib/event_engine/forkable.h +0 -13
  1075. data/src/core/lib/event_engine/grpc_polled_fd.h +2 -4
  1076. data/src/core/lib/event_engine/handle_containers.h +1 -3
  1077. data/src/core/lib/event_engine/memory_allocator_factory.h +1 -3
  1078. data/src/core/lib/event_engine/nameser.h +1 -1
  1079. data/src/core/lib/event_engine/poller.h +1 -2
  1080. data/src/core/lib/event_engine/posix.h +1 -2
  1081. data/src/core/lib/event_engine/posix_engine/ev_epoll1_linux.cc +28 -30
  1082. data/src/core/lib/event_engine/posix_engine/ev_epoll1_linux.h +6 -8
  1083. data/src/core/lib/event_engine/posix_engine/ev_poll_posix.cc +27 -31
  1084. data/src/core/lib/event_engine/posix_engine/ev_poll_posix.h +2 -4
  1085. data/src/core/lib/event_engine/posix_engine/event_poller.h +1 -3
  1086. data/src/core/lib/event_engine/posix_engine/event_poller_posix_default.cc +2 -3
  1087. data/src/core/lib/event_engine/posix_engine/grpc_polled_fd_posix.h +3 -6
  1088. data/src/core/lib/event_engine/posix_engine/internal_errqueue.cc +5 -6
  1089. data/src/core/lib/event_engine/posix_engine/internal_errqueue.h +0 -1
  1090. data/src/core/lib/event_engine/posix_engine/lockfree_event.cc +7 -9
  1091. data/src/core/lib/event_engine/posix_engine/lockfree_event.h +0 -1
  1092. data/src/core/lib/event_engine/posix_engine/native_posix_dns_resolver.cc +3 -4
  1093. data/src/core/lib/event_engine/posix_engine/native_posix_dns_resolver.h +0 -1
  1094. data/src/core/lib/event_engine/posix_engine/posix_endpoint.cc +96 -103
  1095. data/src/core/lib/event_engine/posix_engine/posix_endpoint.h +22 -23
  1096. data/src/core/lib/event_engine/posix_engine/posix_engine.cc +84 -65
  1097. data/src/core/lib/event_engine/posix_engine/posix_engine.h +16 -13
  1098. data/src/core/lib/event_engine/posix_engine/posix_engine_closure.h +1 -2
  1099. data/src/core/lib/event_engine/posix_engine/posix_engine_listener.cc +27 -30
  1100. data/src/core/lib/event_engine/posix_engine/posix_engine_listener.h +13 -13
  1101. data/src/core/lib/event_engine/posix_engine/posix_engine_listener_utils.cc +27 -33
  1102. data/src/core/lib/event_engine/posix_engine/posix_engine_listener_utils.h +1 -3
  1103. data/src/core/lib/event_engine/posix_engine/tcp_socket_utils.cc +46 -40
  1104. data/src/core/lib/event_engine/posix_engine/tcp_socket_utils.h +10 -10
  1105. data/src/core/lib/event_engine/posix_engine/timer.cc +5 -6
  1106. data/src/core/lib/event_engine/posix_engine/timer.h +4 -7
  1107. data/src/core/lib/event_engine/posix_engine/timer_heap.cc +2 -3
  1108. data/src/core/lib/event_engine/posix_engine/timer_manager.cc +16 -25
  1109. data/src/core/lib/event_engine/posix_engine/timer_manager.h +4 -7
  1110. data/src/core/lib/event_engine/posix_engine/traced_buffer_list.cc +7 -10
  1111. data/src/core/lib/event_engine/posix_engine/traced_buffer_list.h +2 -5
  1112. data/src/core/lib/event_engine/posix_engine/wakeup_fd_eventfd.cc +3 -4
  1113. data/src/core/lib/event_engine/posix_engine/wakeup_fd_eventfd.h +0 -1
  1114. data/src/core/lib/event_engine/posix_engine/wakeup_fd_pipe.cc +2 -3
  1115. data/src/core/lib/event_engine/posix_engine/wakeup_fd_pipe.h +0 -1
  1116. data/src/core/lib/event_engine/posix_engine/wakeup_fd_posix_default.cc +0 -1
  1117. data/src/core/lib/event_engine/query_extensions.h +3 -2
  1118. data/src/core/lib/event_engine/ref_counted_dns_resolver_interface.h +2 -5
  1119. data/src/core/lib/event_engine/resolved_address.cc +8 -7
  1120. data/src/core/lib/event_engine/resolved_address_internal.h +1 -2
  1121. data/src/core/lib/event_engine/shim.cc +3 -3
  1122. data/src/core/lib/event_engine/slice.cc +5 -7
  1123. data/src/core/lib/event_engine/slice_buffer.cc +2 -4
  1124. data/src/core/lib/event_engine/tcp_socket_utils.cc +21 -26
  1125. data/src/core/lib/event_engine/tcp_socket_utils.h +1 -2
  1126. data/src/core/lib/event_engine/thread_local.cc +2 -2
  1127. data/src/core/lib/event_engine/thread_local.h +1 -1
  1128. data/src/core/lib/event_engine/thread_pool/thread_count.cc +5 -8
  1129. data/src/core/lib/event_engine/thread_pool/thread_count.h +4 -6
  1130. data/src/core/lib/event_engine/thread_pool/thread_pool.h +1 -4
  1131. data/src/core/lib/event_engine/thread_pool/thread_pool_factory.cc +1 -2
  1132. data/src/core/lib/event_engine/thread_pool/work_stealing_thread_pool.cc +46 -53
  1133. data/src/core/lib/event_engine/thread_pool/work_stealing_thread_pool.h +9 -15
  1134. data/src/core/lib/event_engine/thready_event_engine/thready_event_engine.cc +50 -23
  1135. data/src/core/lib/event_engine/thready_event_engine/thready_event_engine.h +7 -7
  1136. data/src/core/lib/event_engine/time_util.cc +3 -4
  1137. data/src/core/lib/event_engine/time_util.h +1 -3
  1138. data/src/core/lib/event_engine/utils.cc +19 -6
  1139. data/src/core/lib/event_engine/utils.h +9 -4
  1140. data/src/core/lib/event_engine/windows/grpc_polled_fd_windows.cc +158 -132
  1141. data/src/core/lib/event_engine/windows/grpc_polled_fd_windows.h +4 -6
  1142. data/src/core/lib/event_engine/windows/iocp.cc +24 -22
  1143. data/src/core/lib/event_engine/windows/iocp.h +2 -3
  1144. data/src/core/lib/event_engine/windows/native_windows_dns_resolver.cc +4 -6
  1145. data/src/core/lib/event_engine/windows/win_socket.cc +47 -36
  1146. data/src/core/lib/event_engine/windows/win_socket.h +8 -10
  1147. data/src/core/lib/event_engine/windows/windows_endpoint.cc +58 -44
  1148. data/src/core/lib/event_engine/windows/windows_engine.cc +245 -136
  1149. data/src/core/lib/event_engine/windows/windows_engine.h +143 -33
  1150. data/src/core/lib/event_engine/windows/windows_listener.cc +29 -43
  1151. data/src/core/lib/event_engine/windows/windows_listener.h +4 -5
  1152. data/src/core/lib/event_engine/work_queue/basic_work_queue.cc +3 -3
  1153. data/src/core/lib/event_engine/work_queue/basic_work_queue.h +2 -5
  1154. data/src/core/lib/event_engine/work_queue/work_queue.h +1 -3
  1155. data/src/core/lib/experiments/config.cc +59 -32
  1156. data/src/core/lib/experiments/config.h +55 -2
  1157. data/src/core/lib/experiments/experiments.cc +310 -293
  1158. data/src/core/lib/experiments/experiments.h +145 -122
  1159. data/src/core/lib/iomgr/buffer_list.cc +7 -8
  1160. data/src/core/lib/iomgr/buffer_list.h +2 -4
  1161. data/src/core/lib/iomgr/call_combiner.cc +42 -68
  1162. data/src/core/lib/iomgr/call_combiner.h +12 -17
  1163. data/src/core/lib/iomgr/cfstream_handle.cc +14 -20
  1164. data/src/core/lib/iomgr/cfstream_handle.h +1 -1
  1165. data/src/core/lib/iomgr/closure.cc +2 -2
  1166. data/src/core/lib/iomgr/closure.h +17 -21
  1167. data/src/core/lib/iomgr/combiner.cc +38 -52
  1168. data/src/core/lib/iomgr/combiner.h +2 -6
  1169. data/src/core/lib/iomgr/endpoint.cc +1 -7
  1170. data/src/core/lib/iomgr/endpoint.h +4 -6
  1171. data/src/core/lib/iomgr/endpoint_cfstream.cc +45 -76
  1172. data/src/core/lib/iomgr/endpoint_pair_posix.cc +8 -10
  1173. data/src/core/lib/iomgr/endpoint_pair_windows.cc +16 -17
  1174. data/src/core/lib/iomgr/error.cc +24 -34
  1175. data/src/core/lib/iomgr/error.h +8 -11
  1176. data/src/core/lib/iomgr/error_cfstream.cc +1 -3
  1177. data/src/core/lib/iomgr/ev_apple.cc +16 -24
  1178. data/src/core/lib/iomgr/ev_epoll1_linux.cc +81 -126
  1179. data/src/core/lib/iomgr/ev_poll_posix.cc +62 -62
  1180. data/src/core/lib/iomgr/ev_posix.cc +68 -60
  1181. data/src/core/lib/iomgr/ev_posix.h +9 -12
  1182. data/src/core/lib/iomgr/event_engine_shims/closure.cc +11 -15
  1183. data/src/core/lib/iomgr/event_engine_shims/closure.h +1 -3
  1184. data/src/core/lib/iomgr/event_engine_shims/endpoint.cc +35 -53
  1185. data/src/core/lib/iomgr/event_engine_shims/endpoint.h +1 -2
  1186. data/src/core/lib/iomgr/event_engine_shims/tcp_client.cc +10 -15
  1187. data/src/core/lib/iomgr/event_engine_shims/tcp_client.h +1 -2
  1188. data/src/core/lib/iomgr/exec_ctx.cc +14 -18
  1189. data/src/core/lib/iomgr/exec_ctx.h +33 -23
  1190. data/src/core/lib/iomgr/executor.cc +60 -59
  1191. data/src/core/lib/iomgr/executor.h +2 -2
  1192. data/src/core/lib/iomgr/fork_posix.cc +11 -15
  1193. data/src/core/lib/iomgr/fork_windows.cc +3 -2
  1194. data/src/core/lib/iomgr/internal_errqueue.cc +5 -6
  1195. data/src/core/lib/iomgr/iocp_windows.cc +16 -15
  1196. data/src/core/lib/iomgr/iocp_windows.h +0 -1
  1197. data/src/core/lib/iomgr/iomgr.cc +19 -26
  1198. data/src/core/lib/iomgr/iomgr.h +0 -1
  1199. data/src/core/lib/iomgr/iomgr_internal.cc +1 -2
  1200. data/src/core/lib/iomgr/iomgr_internal.h +0 -1
  1201. data/src/core/lib/iomgr/iomgr_posix.cc +2 -1
  1202. data/src/core/lib/iomgr/iomgr_windows.cc +7 -6
  1203. data/src/core/lib/iomgr/lockfree_event.cc +12 -21
  1204. data/src/core/lib/iomgr/lockfree_event.h +1 -2
  1205. data/src/core/lib/iomgr/nameser.h +1 -1
  1206. data/src/core/lib/iomgr/polling_entity.cc +17 -11
  1207. data/src/core/lib/iomgr/pollset.cc +2 -2
  1208. data/src/core/lib/iomgr/pollset.h +0 -3
  1209. data/src/core/lib/iomgr/pollset_set.cc +2 -2
  1210. data/src/core/lib/iomgr/pollset_set_windows.cc +0 -1
  1211. data/src/core/lib/iomgr/pollset_windows.cc +2 -6
  1212. data/src/core/lib/iomgr/pollset_windows.h +0 -1
  1213. data/src/core/lib/iomgr/port.h +2 -2
  1214. data/src/core/lib/iomgr/python_util.h +1 -2
  1215. data/src/core/lib/iomgr/resolve_address.cc +4 -7
  1216. data/src/core/lib/iomgr/resolve_address.h +3 -6
  1217. data/src/core/lib/iomgr/resolve_address_impl.h +0 -1
  1218. data/src/core/lib/iomgr/resolve_address_posix.cc +12 -21
  1219. data/src/core/lib/iomgr/resolve_address_windows.cc +9 -12
  1220. data/src/core/lib/iomgr/resolved_address.h +0 -1
  1221. data/src/core/lib/iomgr/sockaddr_utils_posix.cc +5 -6
  1222. data/src/core/lib/iomgr/socket_factory_posix.cc +1 -1
  1223. data/src/core/lib/iomgr/socket_factory_posix.h +1 -2
  1224. data/src/core/lib/iomgr/socket_mutator.cc +3 -5
  1225. data/src/core/lib/iomgr/socket_mutator.h +2 -4
  1226. data/src/core/lib/iomgr/socket_utils.h +0 -1
  1227. data/src/core/lib/iomgr/socket_utils_common_posix.cc +45 -52
  1228. data/src/core/lib/iomgr/socket_utils_linux.cc +1 -3
  1229. data/src/core/lib/iomgr/socket_utils_posix.cc +3 -6
  1230. data/src/core/lib/iomgr/socket_utils_posix.h +1 -2
  1231. data/src/core/lib/iomgr/socket_utils_windows.cc +1 -3
  1232. data/src/core/lib/iomgr/socket_windows.cc +11 -14
  1233. data/src/core/lib/iomgr/socket_windows.h +1 -2
  1234. data/src/core/lib/iomgr/tcp_client.cc +2 -2
  1235. data/src/core/lib/iomgr/tcp_client.h +1 -2
  1236. data/src/core/lib/iomgr/tcp_client_cfstream.cc +12 -20
  1237. data/src/core/lib/iomgr/tcp_client_posix.cc +24 -36
  1238. data/src/core/lib/iomgr/tcp_client_windows.cc +9 -12
  1239. data/src/core/lib/iomgr/tcp_posix.cc +124 -193
  1240. data/src/core/lib/iomgr/tcp_posix.h +1 -3
  1241. data/src/core/lib/iomgr/tcp_server.cc +2 -2
  1242. data/src/core/lib/iomgr/tcp_server.h +3 -4
  1243. data/src/core/lib/iomgr/tcp_server_posix.cc +61 -79
  1244. data/src/core/lib/iomgr/tcp_server_utils_posix.h +0 -1
  1245. data/src/core/lib/iomgr/tcp_server_utils_posix_common.cc +13 -17
  1246. data/src/core/lib/iomgr/tcp_server_utils_posix_ifaddrs.cc +13 -14
  1247. data/src/core/lib/iomgr/tcp_server_windows.cc +34 -41
  1248. data/src/core/lib/iomgr/tcp_windows.cc +38 -66
  1249. data/src/core/lib/iomgr/timer.cc +2 -2
  1250. data/src/core/lib/iomgr/timer.h +2 -3
  1251. data/src/core/lib/iomgr/timer_generic.cc +73 -106
  1252. data/src/core/lib/iomgr/timer_generic.h +0 -1
  1253. data/src/core/lib/iomgr/timer_heap.cc +4 -6
  1254. data/src/core/lib/iomgr/timer_manager.cc +27 -44
  1255. data/src/core/lib/iomgr/timer_manager.h +0 -1
  1256. data/src/core/lib/iomgr/unix_sockets_posix.cc +5 -6
  1257. data/src/core/lib/iomgr/unix_sockets_posix.h +1 -3
  1258. data/src/core/lib/iomgr/unix_sockets_posix_noop.cc +2 -4
  1259. data/src/core/lib/iomgr/vsock.cc +5 -8
  1260. data/src/core/lib/iomgr/vsock.h +1 -3
  1261. data/src/core/lib/iomgr/wakeup_fd_eventfd.cc +2 -4
  1262. data/src/core/lib/iomgr/wakeup_fd_pipe.cc +6 -7
  1263. data/src/core/lib/promise/activity.cc +4 -5
  1264. data/src/core/lib/promise/activity.h +54 -23
  1265. data/src/core/lib/promise/all_ok.h +52 -9
  1266. data/src/core/lib/promise/arena_promise.h +1 -3
  1267. data/src/core/lib/promise/cancel_callback.h +34 -6
  1268. data/src/core/lib/promise/context.h +18 -9
  1269. data/src/core/lib/promise/detail/basic_seq.h +33 -20
  1270. data/src/core/lib/promise/detail/join_state.h +555 -760
  1271. data/src/core/lib/promise/detail/promise_factory.h +45 -29
  1272. data/src/core/lib/promise/detail/promise_like.h +49 -11
  1273. data/src/core/lib/promise/detail/seq_state.h +1314 -1977
  1274. data/src/core/lib/promise/detail/status.h +36 -14
  1275. data/src/core/lib/promise/exec_ctx_wakeup_scheduler.h +1 -2
  1276. data/src/core/lib/promise/for_each.h +97 -39
  1277. data/src/core/lib/promise/if.h +21 -17
  1278. data/src/core/lib/promise/interceptor_list.h +22 -36
  1279. data/src/core/lib/promise/latch.h +25 -40
  1280. data/src/core/lib/promise/loop.h +23 -10
  1281. data/src/core/lib/promise/map.h +77 -9
  1282. data/src/core/lib/promise/observable.h +181 -0
  1283. data/src/core/lib/promise/party.cc +262 -154
  1284. data/src/core/lib/promise/party.h +186 -388
  1285. data/src/core/lib/promise/pipe.h +34 -57
  1286. data/src/core/lib/promise/poll.h +117 -39
  1287. data/src/core/lib/promise/promise.h +12 -6
  1288. data/src/core/lib/promise/race.h +10 -5
  1289. data/src/core/lib/promise/seq.h +57 -64
  1290. data/src/core/lib/promise/sleep.cc +4 -5
  1291. data/src/core/lib/promise/sleep.h +2 -4
  1292. data/src/core/lib/promise/status_flag.h +160 -54
  1293. data/src/core/lib/promise/try_join.h +37 -20
  1294. data/src/core/lib/promise/try_seq.h +113 -77
  1295. data/src/core/lib/resource_quota/api.cc +4 -7
  1296. data/src/core/lib/resource_quota/api.h +3 -5
  1297. data/src/core/lib/resource_quota/arena.cc +64 -87
  1298. data/src/core/lib/resource_quota/arena.h +142 -215
  1299. data/src/core/lib/resource_quota/connection_quota.cc +8 -10
  1300. data/src/core/lib/resource_quota/connection_quota.h +3 -4
  1301. data/src/core/lib/resource_quota/memory_quota.cc +51 -52
  1302. data/src/core/lib/resource_quota/memory_quota.h +27 -21
  1303. data/src/core/lib/resource_quota/periodic_update.cc +5 -5
  1304. data/src/core/lib/resource_quota/periodic_update.h +1 -3
  1305. data/src/core/lib/resource_quota/resource_quota.cc +2 -2
  1306. data/src/core/lib/resource_quota/resource_quota.h +6 -8
  1307. data/src/core/lib/resource_quota/thread_quota.cc +4 -4
  1308. data/src/core/lib/resource_quota/thread_quota.h +3 -4
  1309. data/src/core/lib/security/authorization/audit_logging.cc +10 -12
  1310. data/src/core/lib/security/authorization/audit_logging.h +3 -5
  1311. data/src/core/lib/security/authorization/authorization_engine.h +1 -1
  1312. data/src/core/lib/security/authorization/authorization_policy_provider.h +5 -7
  1313. data/src/core/lib/security/authorization/authorization_policy_provider_vtable.cc +3 -4
  1314. data/src/core/lib/security/authorization/evaluate_args.cc +11 -16
  1315. data/src/core/lib/security/authorization/evaluate_args.h +1 -3
  1316. data/src/core/lib/security/authorization/grpc_authorization_engine.cc +4 -5
  1317. data/src/core/lib/security/authorization/grpc_authorization_engine.h +1 -3
  1318. data/src/core/lib/security/authorization/grpc_server_authz_filter.cc +25 -34
  1319. data/src/core/lib/security/authorization/grpc_server_authz_filter.h +11 -10
  1320. data/src/core/lib/security/authorization/matchers.cc +5 -8
  1321. data/src/core/lib/security/authorization/matchers.h +1 -3
  1322. data/src/core/lib/security/authorization/rbac_policy.cc +2 -2
  1323. data/src/core/lib/security/authorization/rbac_policy.h +2 -5
  1324. data/src/core/lib/security/authorization/stdout_logger.cc +7 -7
  1325. data/src/core/lib/security/authorization/stdout_logger.h +2 -3
  1326. data/src/core/lib/security/certificate_provider/certificate_provider_factory.h +7 -8
  1327. data/src/core/lib/security/certificate_provider/certificate_provider_registry.cc +6 -6
  1328. data/src/core/lib/security/certificate_provider/certificate_provider_registry.h +0 -1
  1329. data/src/core/lib/security/context/security_context.cc +51 -49
  1330. data/src/core/lib/security/context/security_context.h +46 -17
  1331. data/src/core/lib/security/credentials/alts/alts_credentials.cc +6 -7
  1332. data/src/core/lib/security/credentials/alts/alts_credentials.h +11 -7
  1333. data/src/core/lib/security/credentials/alts/check_gcp_environment.cc +4 -5
  1334. data/src/core/lib/security/credentials/alts/check_gcp_environment_linux.cc +1 -2
  1335. data/src/core/lib/security/credentials/alts/check_gcp_environment_no_op.cc +3 -5
  1336. data/src/core/lib/security/credentials/alts/check_gcp_environment_windows.cc +3 -5
  1337. data/src/core/lib/security/credentials/alts/grpc_alts_credentials_client_options.cc +5 -7
  1338. data/src/core/lib/security/credentials/alts/grpc_alts_credentials_options.cc +4 -5
  1339. data/src/core/lib/security/credentials/alts/grpc_alts_credentials_options.h +2 -2
  1340. data/src/core/lib/security/credentials/alts/grpc_alts_credentials_server_options.cc +1 -2
  1341. data/src/core/lib/security/credentials/call_creds_util.cc +8 -8
  1342. data/src/core/lib/security/credentials/call_creds_util.h +2 -2
  1343. data/src/core/lib/security/credentials/channel_creds_registry.h +5 -6
  1344. data/src/core/lib/security/credentials/channel_creds_registry_init.cc +14 -13
  1345. data/src/core/lib/security/credentials/composite/composite_credentials.cc +18 -21
  1346. data/src/core/lib/security/credentials/composite/composite_credentials.h +9 -8
  1347. data/src/core/lib/security/credentials/credentials.cc +20 -20
  1348. data/src/core/lib/security/credentials/credentials.h +13 -14
  1349. data/src/core/lib/security/credentials/external/aws_external_account_credentials.cc +336 -339
  1350. data/src/core/lib/security/credentials/external/aws_external_account_credentials.h +58 -46
  1351. data/src/core/lib/security/credentials/external/aws_request_signer.cc +4 -5
  1352. data/src/core/lib/security/credentials/external/aws_request_signer.h +1 -1
  1353. data/src/core/lib/security/credentials/external/external_account_credentials.cc +410 -374
  1354. data/src/core/lib/security/credentials/external/external_account_credentials.h +127 -59
  1355. data/src/core/lib/security/credentials/external/file_external_account_credentials.cc +90 -53
  1356. data/src/core/lib/security/credentials/external/file_external_account_credentials.h +30 -9
  1357. data/src/core/lib/security/credentials/external/url_external_account_credentials.cc +103 -129
  1358. data/src/core/lib/security/credentials/external/url_external_account_credentials.h +20 -22
  1359. data/src/core/lib/security/credentials/fake/fake_credentials.cc +2 -4
  1360. data/src/core/lib/security/credentials/fake/fake_credentials.h +10 -9
  1361. data/src/core/lib/security/credentials/gcp_service_account_identity/gcp_service_account_identity_credentials.cc +195 -0
  1362. data/src/core/lib/security/credentials/gcp_service_account_identity/gcp_service_account_identity_credentials.h +90 -0
  1363. data/src/core/lib/security/credentials/google_default/credentials_generic.cc +4 -6
  1364. data/src/core/lib/security/credentials/google_default/google_default_credentials.cc +60 -77
  1365. data/src/core/lib/security/credentials/google_default/google_default_credentials.h +9 -7
  1366. data/src/core/lib/security/credentials/iam/iam_credentials.cc +9 -14
  1367. data/src/core/lib/security/credentials/iam/iam_credentials.h +6 -5
  1368. data/src/core/lib/security/credentials/insecure/insecure_credentials.cc +2 -2
  1369. data/src/core/lib/security/credentials/insecure/insecure_credentials.h +4 -4
  1370. data/src/core/lib/security/credentials/jwt/json_token.cc +28 -31
  1371. data/src/core/lib/security/credentials/jwt/json_token.h +2 -4
  1372. data/src/core/lib/security/credentials/jwt/jwt_credentials.cc +24 -30
  1373. data/src/core/lib/security/credentials/jwt/jwt_credentials.h +9 -9
  1374. data/src/core/lib/security/credentials/jwt/jwt_verifier.cc +80 -87
  1375. data/src/core/lib/security/credentials/jwt/jwt_verifier.h +3 -5
  1376. data/src/core/lib/security/credentials/local/local_credentials.cc +3 -4
  1377. data/src/core/lib/security/credentials/local/local_credentials.h +5 -5
  1378. data/src/core/lib/security/credentials/oauth2/oauth2_credentials.cc +202 -302
  1379. data/src/core/lib/security/credentials/oauth2/oauth2_credentials.h +48 -71
  1380. data/src/core/lib/security/credentials/plugin/plugin_credentials.cc +22 -35
  1381. data/src/core/lib/security/credentials/plugin/plugin_credentials.h +11 -13
  1382. data/src/core/lib/security/credentials/ssl/ssl_credentials.cc +47 -59
  1383. data/src/core/lib/security/credentials/ssl/ssl_credentials.h +8 -9
  1384. data/src/core/lib/security/credentials/tls/grpc_tls_certificate_distributor.cc +28 -28
  1385. data/src/core/lib/security/credentials/tls/grpc_tls_certificate_distributor.h +2 -3
  1386. data/src/core/lib/security/credentials/tls/grpc_tls_certificate_match.cc +0 -2
  1387. data/src/core/lib/security/credentials/tls/grpc_tls_certificate_provider.cc +107 -46
  1388. data/src/core/lib/security/credentials/tls/grpc_tls_certificate_provider.h +15 -14
  1389. data/src/core/lib/security/credentials/tls/grpc_tls_certificate_verifier.cc +8 -12
  1390. data/src/core/lib/security/credentials/tls/grpc_tls_certificate_verifier.h +9 -10
  1391. data/src/core/lib/security/credentials/tls/grpc_tls_credentials_options.cc +27 -29
  1392. data/src/core/lib/security/credentials/tls/grpc_tls_credentials_options.h +2 -1
  1393. data/src/core/lib/security/credentials/tls/grpc_tls_crl_provider.cc +6 -10
  1394. data/src/core/lib/security/credentials/tls/grpc_tls_crl_provider.h +6 -9
  1395. data/src/core/lib/security/credentials/tls/tls_credentials.cc +20 -24
  1396. data/src/core/lib/security/credentials/tls/tls_credentials.h +7 -5
  1397. data/src/core/lib/security/credentials/tls/tls_utils.cc +5 -7
  1398. data/src/core/lib/security/credentials/tls/tls_utils.h +1 -2
  1399. data/src/core/lib/security/credentials/token_fetcher/token_fetcher_credentials.cc +305 -0
  1400. data/src/core/lib/security/credentials/token_fetcher/token_fetcher_credentials.h +181 -0
  1401. data/src/core/lib/security/credentials/xds/xds_credentials.cc +21 -19
  1402. data/src/core/lib/security/credentials/xds/xds_credentials.h +7 -9
  1403. data/src/core/lib/security/security_connector/alts/alts_security_connector.cc +35 -40
  1404. data/src/core/lib/security/security_connector/alts/alts_security_connector.h +3 -3
  1405. data/src/core/lib/security/security_connector/fake/fake_security_connector.cc +28 -28
  1406. data/src/core/lib/security/security_connector/fake/fake_security_connector.h +3 -3
  1407. data/src/core/lib/security/security_connector/insecure/insecure_security_connector.cc +8 -10
  1408. data/src/core/lib/security/security_connector/insecure/insecure_security_connector.h +5 -6
  1409. data/src/core/lib/security/security_connector/load_system_roots.h +1 -2
  1410. data/src/core/lib/security/security_connector/load_system_roots_supported.cc +8 -10
  1411. data/src/core/lib/security/security_connector/load_system_roots_supported.h +1 -2
  1412. data/src/core/lib/security/security_connector/load_system_roots_windows.cc +4 -6
  1413. data/src/core/lib/security/security_connector/local/local_security_connector.cc +35 -35
  1414. data/src/core/lib/security/security_connector/local/local_security_connector.h +3 -3
  1415. data/src/core/lib/security/security_connector/security_connector.cc +11 -15
  1416. data/src/core/lib/security/security_connector/security_connector.h +8 -11
  1417. data/src/core/lib/security/security_connector/ssl/ssl_security_connector.cc +28 -32
  1418. data/src/core/lib/security/security_connector/ssl/ssl_security_connector.h +4 -5
  1419. data/src/core/lib/security/security_connector/ssl_utils.cc +42 -42
  1420. data/src/core/lib/security/security_connector/ssl_utils.h +6 -9
  1421. data/src/core/lib/security/security_connector/tls/tls_security_connector.cc +49 -62
  1422. data/src/core/lib/security/security_connector/tls/tls_security_connector.h +6 -7
  1423. data/src/core/lib/security/transport/auth_filters.h +20 -16
  1424. data/src/core/lib/security/transport/client_auth_filter.cc +19 -27
  1425. data/src/core/lib/security/transport/server_auth_filter.cc +23 -32
  1426. data/src/core/lib/security/util/json_util.cc +4 -6
  1427. data/src/core/lib/security/util/json_util.h +1 -1
  1428. data/src/core/lib/slice/percent_encoding.cc +4 -6
  1429. data/src/core/lib/slice/slice.cc +13 -15
  1430. data/src/core/lib/slice/slice.h +8 -11
  1431. data/src/core/lib/slice/slice_buffer.cc +18 -19
  1432. data/src/core/lib/slice/slice_buffer.h +2 -4
  1433. data/src/core/lib/slice/slice_internal.h +4 -7
  1434. data/src/core/lib/slice/slice_refcount.h +7 -15
  1435. data/src/core/lib/slice/slice_string_helpers.cc +3 -3
  1436. data/src/core/lib/slice/slice_string_helpers.h +1 -3
  1437. data/src/core/lib/surface/byte_buffer.cc +2 -4
  1438. data/src/core/lib/surface/byte_buffer_reader.cc +5 -7
  1439. data/src/core/lib/surface/call.cc +205 -3992
  1440. data/src/core/lib/surface/call.h +176 -100
  1441. data/src/core/lib/surface/call_details.cc +5 -5
  1442. data/src/core/lib/surface/call_log_batch.cc +7 -11
  1443. data/src/core/lib/surface/call_test_only.h +2 -4
  1444. data/src/core/lib/surface/call_utils.cc +231 -0
  1445. data/src/core/lib/surface/call_utils.h +486 -0
  1446. data/src/core/lib/surface/channel.cc +47 -45
  1447. data/src/core/lib/surface/channel.h +20 -19
  1448. data/src/core/lib/surface/channel_create.cc +31 -15
  1449. data/src/core/lib/surface/channel_create.h +3 -3
  1450. data/src/core/lib/surface/channel_init.cc +273 -270
  1451. data/src/core/lib/surface/channel_init.h +179 -120
  1452. data/src/core/lib/surface/channel_stack_type.cc +2 -2
  1453. data/src/core/lib/surface/client_call.cc +441 -0
  1454. data/src/core/lib/surface/client_call.h +187 -0
  1455. data/src/core/lib/surface/completion_queue.cc +127 -124
  1456. data/src/core/lib/surface/completion_queue.h +4 -14
  1457. data/src/core/lib/surface/completion_queue_factory.cc +8 -9
  1458. data/src/core/lib/surface/completion_queue_factory.h +1 -2
  1459. data/src/core/lib/surface/connection_context.cc +77 -0
  1460. data/src/core/lib/surface/connection_context.h +156 -0
  1461. data/src/core/lib/surface/event_string.cc +2 -2
  1462. data/src/core/lib/surface/event_string.h +1 -2
  1463. data/src/core/lib/surface/filter_stack_call.cc +1156 -0
  1464. data/src/core/lib/surface/filter_stack_call.h +366 -0
  1465. data/src/core/lib/surface/init.cc +60 -21
  1466. data/src/core/lib/surface/init.h +5 -0
  1467. data/src/core/lib/surface/init_internally.cc +2 -2
  1468. data/src/core/lib/surface/lame_client.cc +20 -26
  1469. data/src/core/lib/surface/lame_client.h +9 -13
  1470. data/src/core/lib/surface/legacy_channel.cc +69 -55
  1471. data/src/core/lib/surface/legacy_channel.h +14 -25
  1472. data/src/core/lib/surface/metadata_array.cc +6 -7
  1473. data/src/core/lib/surface/server_call.cc +227 -0
  1474. data/src/core/lib/surface/server_call.h +167 -0
  1475. data/src/core/lib/surface/validate_metadata.cc +4 -6
  1476. data/src/core/lib/surface/validate_metadata.h +3 -6
  1477. data/src/core/lib/surface/version.cc +3 -4
  1478. data/src/core/lib/transport/bdp_estimator.cc +14 -20
  1479. data/src/core/lib/transport/bdp_estimator.h +12 -18
  1480. data/src/core/{resolver/xds/xds_resolver_trace.cc → lib/transport/call_arena_allocator.cc} +7 -5
  1481. data/src/core/lib/transport/call_arena_allocator.h +91 -0
  1482. data/src/core/lib/transport/call_destination.h +76 -0
  1483. data/src/core/lib/transport/call_filters.cc +64 -393
  1484. data/src/core/lib/transport/call_filters.h +810 -710
  1485. data/src/core/lib/transport/call_final_info.cc +2 -2
  1486. data/src/core/lib/transport/call_final_info.h +3 -4
  1487. data/src/core/lib/transport/call_spine.cc +99 -79
  1488. data/src/core/lib/transport/call_spine.h +252 -251
  1489. data/src/core/lib/transport/call_state.cc +39 -0
  1490. data/src/core/lib/transport/call_state.h +1061 -0
  1491. data/src/core/lib/transport/connectivity_state.cc +38 -47
  1492. data/src/core/lib/transport/connectivity_state.h +3 -7
  1493. data/src/core/lib/transport/error_utils.cc +3 -5
  1494. data/src/core/lib/transport/error_utils.h +2 -4
  1495. data/src/core/lib/transport/interception_chain.cc +147 -0
  1496. data/src/core/lib/transport/interception_chain.h +253 -0
  1497. data/src/core/lib/transport/message.cc +3 -4
  1498. data/src/core/lib/transport/message.h +5 -0
  1499. data/src/core/lib/transport/metadata.cc +29 -5
  1500. data/src/core/lib/transport/metadata.h +37 -2
  1501. data/src/core/lib/transport/metadata_batch.cc +12 -5
  1502. data/src/core/lib/transport/metadata_batch.h +104 -15
  1503. data/src/core/lib/transport/metadata_compression_traits.h +2 -3
  1504. data/src/core/lib/transport/metadata_info.cc +2 -2
  1505. data/src/core/lib/transport/metadata_info.h +1 -1
  1506. data/src/core/lib/transport/parsed_metadata.cc +2 -2
  1507. data/src/core/lib/transport/parsed_metadata.h +2 -5
  1508. data/src/core/lib/transport/simple_slice_based_metadata.h +0 -1
  1509. data/src/core/lib/transport/status_conversion.cc +2 -2
  1510. data/src/core/lib/transport/status_conversion.h +2 -3
  1511. data/src/core/lib/transport/timeout_encoding.cc +11 -12
  1512. data/src/core/lib/transport/timeout_encoding.h +1 -3
  1513. data/src/core/lib/transport/transport.cc +7 -13
  1514. data/src/core/lib/transport/transport.h +94 -88
  1515. data/src/core/lib/transport/transport_framing_endpoint_extension.h +47 -0
  1516. data/src/core/lib/transport/transport_op_string.cc +2 -5
  1517. data/src/core/load_balancing/address_filtering.cc +2 -4
  1518. data/src/core/load_balancing/address_filtering.h +2 -3
  1519. data/src/core/load_balancing/backend_metric_parser.cc +1 -2
  1520. data/src/core/load_balancing/backend_metric_parser.h +0 -2
  1521. data/src/core/load_balancing/child_policy_handler.cc +42 -46
  1522. data/src/core/load_balancing/child_policy_handler.h +2 -3
  1523. data/src/core/load_balancing/delegating_helper.h +6 -8
  1524. data/src/core/load_balancing/endpoint_list.cc +17 -21
  1525. data/src/core/load_balancing/endpoint_list.h +20 -16
  1526. data/src/core/load_balancing/grpclb/client_load_reporting_filter.cc +38 -34
  1527. data/src/core/load_balancing/grpclb/client_load_reporting_filter.h +21 -7
  1528. data/src/core/load_balancing/grpclb/grpclb.cc +180 -214
  1529. data/src/core/load_balancing/grpclb/grpclb_balancer_addresses.cc +2 -3
  1530. data/src/core/load_balancing/grpclb/grpclb_balancer_addresses.h +1 -2
  1531. data/src/core/load_balancing/grpclb/grpclb_client_stats.cc +3 -5
  1532. data/src/core/load_balancing/grpclb/grpclb_client_stats.h +4 -7
  1533. data/src/core/load_balancing/grpclb/load_balancer_api.cc +7 -11
  1534. data/src/core/load_balancing/grpclb/load_balancer_api.h +3 -6
  1535. data/src/core/load_balancing/health_check_client.cc +62 -83
  1536. data/src/core/load_balancing/health_check_client.h +1 -1
  1537. data/src/core/load_balancing/health_check_client_internal.h +6 -8
  1538. data/src/core/load_balancing/lb_policy.cc +7 -10
  1539. data/src/core/load_balancing/lb_policy.h +72 -39
  1540. data/src/core/load_balancing/lb_policy_factory.h +3 -4
  1541. data/src/core/load_balancing/lb_policy_registry.cc +7 -9
  1542. data/src/core/load_balancing/lb_policy_registry.h +3 -4
  1543. data/src/core/load_balancing/oob_backend_metric.cc +22 -29
  1544. data/src/core/load_balancing/oob_backend_metric.h +1 -1
  1545. data/src/core/load_balancing/oob_backend_metric_internal.h +6 -8
  1546. data/src/core/load_balancing/outlier_detection/outlier_detection.cc +143 -188
  1547. data/src/core/load_balancing/outlier_detection/outlier_detection.h +5 -7
  1548. data/src/core/load_balancing/pick_first/pick_first.cc +1190 -286
  1549. data/src/core/load_balancing/priority/priority.cc +107 -146
  1550. data/src/core/load_balancing/ring_hash/ring_hash.cc +86 -93
  1551. data/src/core/load_balancing/ring_hash/ring_hash.h +5 -6
  1552. data/src/core/load_balancing/rls/rls.cc +364 -362
  1553. data/src/core/load_balancing/round_robin/round_robin.cc +81 -97
  1554. data/src/core/load_balancing/subchannel_interface.h +15 -5
  1555. data/src/core/load_balancing/weighted_round_robin/static_stride_scheduler.cc +7 -8
  1556. data/src/core/load_balancing/weighted_round_robin/static_stride_scheduler.h +1 -2
  1557. data/src/core/load_balancing/weighted_round_robin/weighted_round_robin.cc +162 -169
  1558. data/src/core/load_balancing/weighted_target/weighted_target.cc +79 -115
  1559. data/src/core/load_balancing/weighted_target/weighted_target.h +1 -1
  1560. data/src/core/load_balancing/xds/cds.cc +62 -79
  1561. data/src/core/load_balancing/xds/xds_cluster_impl.cc +188 -163
  1562. data/src/core/load_balancing/xds/xds_cluster_manager.cc +53 -86
  1563. data/src/core/load_balancing/xds/xds_override_host.cc +126 -188
  1564. data/src/core/load_balancing/xds/xds_override_host.h +5 -6
  1565. data/src/core/load_balancing/xds/xds_wrr_locality.cc +37 -48
  1566. data/src/core/plugin_registry/grpc_plugin_registry.cc +12 -17
  1567. data/src/core/plugin_registry/grpc_plugin_registry_extra.cc +7 -3
  1568. data/src/core/resolver/dns/c_ares/dns_resolver_ares.cc +89 -65
  1569. data/src/core/resolver/dns/c_ares/dns_resolver_ares.h +1 -2
  1570. data/src/core/resolver/dns/c_ares/grpc_ares_ev_driver.h +3 -5
  1571. data/src/core/resolver/dns/c_ares/grpc_ares_ev_driver_posix.cc +6 -9
  1572. data/src/core/resolver/dns/c_ares/grpc_ares_ev_driver_windows.cc +153 -134
  1573. data/src/core/resolver/dns/c_ares/grpc_ares_wrapper.cc +176 -161
  1574. data/src/core/resolver/dns/c_ares/grpc_ares_wrapper.h +3 -18
  1575. data/src/core/resolver/dns/c_ares/grpc_ares_wrapper_posix.cc +1 -1
  1576. data/src/core/resolver/dns/c_ares/grpc_ares_wrapper_windows.cc +2 -2
  1577. data/src/core/resolver/dns/dns_resolver_plugin.cc +11 -13
  1578. data/src/core/resolver/dns/dns_resolver_plugin.h +1 -1
  1579. data/src/core/resolver/dns/event_engine/event_engine_client_channel_resolver.cc +56 -63
  1580. data/src/core/resolver/dns/event_engine/event_engine_client_channel_resolver.h +2 -3
  1581. data/src/core/resolver/dns/event_engine/service_config_helper.cc +8 -10
  1582. data/src/core/resolver/dns/native/dns_resolver.cc +21 -31
  1583. data/src/core/resolver/dns/native/dns_resolver.h +1 -1
  1584. data/src/core/resolver/endpoint_addresses.cc +5 -8
  1585. data/src/core/resolver/endpoint_addresses.h +3 -1
  1586. data/src/core/resolver/fake/fake_resolver.cc +10 -12
  1587. data/src/core/resolver/fake/fake_resolver.h +6 -8
  1588. data/src/core/resolver/google_c2p/google_c2p_resolver.cc +29 -31
  1589. data/src/core/resolver/polling_resolver.cc +42 -58
  1590. data/src/core/resolver/polling_resolver.h +6 -8
  1591. data/src/core/resolver/resolver.cc +3 -7
  1592. data/src/core/resolver/resolver.h +2 -8
  1593. data/src/core/resolver/resolver_factory.h +2 -3
  1594. data/src/core/resolver/resolver_registry.cc +12 -14
  1595. data/src/core/resolver/resolver_registry.h +2 -3
  1596. data/src/core/resolver/sockaddr/sockaddr_resolver.cc +6 -8
  1597. data/src/core/resolver/xds/xds_config.cc +95 -0
  1598. data/src/core/resolver/xds/xds_config.h +108 -0
  1599. data/src/core/resolver/xds/xds_dependency_manager.cc +86 -174
  1600. data/src/core/resolver/xds/xds_dependency_manager.h +11 -76
  1601. data/src/core/resolver/xds/xds_resolver.cc +140 -126
  1602. data/src/core/resolver/xds/xds_resolver_attributes.h +6 -3
  1603. data/src/core/{lib/surface → server}/server.cc +420 -519
  1604. data/src/core/{lib/surface → server}/server.h +52 -38
  1605. data/src/core/{lib/channel → server}/server_call_tracer_filter.cc +27 -23
  1606. data/src/core/{lib/channel → server}/server_call_tracer_filter.h +4 -4
  1607. data/src/core/{ext/filters/server_config_selector → server}/server_config_selector.h +7 -8
  1608. data/src/core/{ext/filters/server_config_selector → server}/server_config_selector_filter.cc +51 -47
  1609. data/src/core/{ext/filters/server_config_selector → server}/server_config_selector_filter.h +3 -3
  1610. data/src/core/{lib/surface → server}/server_interface.h +6 -4
  1611. data/src/core/{ext/xds → server}/xds_channel_stack_modifier.cc +5 -5
  1612. data/src/core/{ext/xds → server}/xds_channel_stack_modifier.h +7 -9
  1613. data/src/core/{ext/xds → server}/xds_server_config_fetcher.cc +83 -92
  1614. data/src/core/service_config/service_config.h +3 -6
  1615. data/src/core/service_config/service_config_call_data.h +20 -19
  1616. data/src/core/service_config/service_config_channel_arg_filter.cc +20 -17
  1617. data/src/core/service_config/service_config_impl.cc +9 -11
  1618. data/src/core/service_config/service_config_impl.h +6 -9
  1619. data/src/core/service_config/service_config_parser.cc +4 -9
  1620. data/src/core/service_config/service_config_parser.h +2 -4
  1621. data/src/core/{lib/channel → telemetry}/call_tracer.cc +58 -36
  1622. data/src/core/{lib/channel → telemetry}/call_tracer.h +50 -14
  1623. data/src/core/{lib/debug → telemetry}/histogram_view.cc +5 -5
  1624. data/src/core/{lib/debug → telemetry}/histogram_view.h +3 -4
  1625. data/src/core/telemetry/metrics.cc +180 -0
  1626. data/src/core/telemetry/metrics.h +569 -0
  1627. data/src/core/{lib/debug → telemetry}/stats.cc +2 -3
  1628. data/src/core/{lib/debug → telemetry}/stats.h +6 -8
  1629. data/src/core/{lib/debug → telemetry}/stats_data.cc +182 -3
  1630. data/src/core/{lib/debug → telemetry}/stats_data.h +133 -7
  1631. data/src/core/{lib/channel → telemetry}/tcp_tracer.h +3 -4
  1632. data/src/core/tsi/alts/crypt/aes_gcm.cc +4 -8
  1633. data/src/core/tsi/alts/crypt/gsec.cc +2 -4
  1634. data/src/core/tsi/alts/crypt/gsec.h +3 -5
  1635. data/src/core/tsi/alts/frame_protector/alts_counter.cc +2 -4
  1636. data/src/core/tsi/alts/frame_protector/alts_counter.h +2 -4
  1637. data/src/core/tsi/alts/frame_protector/alts_crypter.cc +2 -4
  1638. data/src/core/tsi/alts/frame_protector/alts_crypter.h +1 -3
  1639. data/src/core/tsi/alts/frame_protector/alts_frame_protector.cc +16 -19
  1640. data/src/core/tsi/alts/frame_protector/alts_frame_protector.h +0 -1
  1641. data/src/core/tsi/alts/frame_protector/alts_record_protocol_crypter_common.cc +1 -2
  1642. data/src/core/tsi/alts/frame_protector/alts_record_protocol_crypter_common.h +1 -2
  1643. data/src/core/tsi/alts/frame_protector/alts_seal_privacy_integrity_crypter.cc +2 -3
  1644. data/src/core/tsi/alts/frame_protector/alts_unseal_privacy_integrity_crypter.cc +2 -3
  1645. data/src/core/tsi/alts/frame_protector/frame_handler.cc +11 -13
  1646. data/src/core/tsi/alts/frame_protector/frame_handler.h +0 -1
  1647. data/src/core/tsi/alts/handshaker/alts_handshaker_client.cc +78 -82
  1648. data/src/core/tsi/alts/handshaker/alts_handshaker_client.h +1 -2
  1649. data/src/core/tsi/alts/handshaker/alts_shared_resource.cc +5 -6
  1650. data/src/core/tsi/alts/handshaker/alts_shared_resource.h +2 -3
  1651. data/src/core/tsi/alts/handshaker/alts_tsi_handshaker.cc +76 -76
  1652. data/src/core/tsi/alts/handshaker/alts_tsi_handshaker.h +1 -2
  1653. data/src/core/tsi/alts/handshaker/alts_tsi_utils.cc +6 -5
  1654. data/src/core/tsi/alts/handshaker/alts_tsi_utils.h +1 -2
  1655. data/src/core/tsi/alts/handshaker/transport_security_common_api.cc +17 -24
  1656. data/src/core/tsi/alts/handshaker/transport_security_common_api.h +4 -6
  1657. data/src/core/tsi/alts/zero_copy_frame_protector/alts_grpc_integrity_only_record_protocol.cc +17 -19
  1658. data/src/core/tsi/alts/zero_copy_frame_protector/alts_grpc_integrity_only_record_protocol.h +0 -1
  1659. data/src/core/tsi/alts/zero_copy_frame_protector/alts_grpc_privacy_integrity_record_protocol.cc +12 -14
  1660. data/src/core/tsi/alts/zero_copy_frame_protector/alts_grpc_privacy_integrity_record_protocol.h +0 -1
  1661. data/src/core/tsi/alts/zero_copy_frame_protector/alts_grpc_record_protocol.h +1 -2
  1662. data/src/core/tsi/alts/zero_copy_frame_protector/alts_grpc_record_protocol_common.cc +16 -14
  1663. data/src/core/tsi/alts/zero_copy_frame_protector/alts_iovec_record_protocol.cc +3 -6
  1664. data/src/core/tsi/alts/zero_copy_frame_protector/alts_iovec_record_protocol.h +0 -1
  1665. data/src/core/tsi/alts/zero_copy_frame_protector/alts_zero_copy_grpc_protector.cc +13 -16
  1666. data/src/core/tsi/alts/zero_copy_frame_protector/alts_zero_copy_grpc_protector.h +0 -1
  1667. data/src/core/tsi/fake_transport_security.cc +31 -34
  1668. data/src/core/tsi/local_transport_security.cc +9 -11
  1669. data/src/core/tsi/local_transport_security.h +1 -2
  1670. data/src/core/tsi/ssl/key_logging/ssl_key_logging.cc +13 -15
  1671. data/src/core/tsi/ssl/key_logging/ssl_key_logging.h +7 -10
  1672. data/src/core/tsi/ssl/session_cache/ssl_session.h +3 -5
  1673. data/src/core/tsi/ssl/session_cache/ssl_session_cache.cc +16 -17
  1674. data/src/core/tsi/ssl/session_cache/ssl_session_cache.h +8 -10
  1675. data/src/core/tsi/ssl/session_cache/ssl_session_openssl.cc +4 -7
  1676. data/src/core/tsi/ssl_transport_security.cc +154 -131
  1677. data/src/core/tsi/ssl_transport_security.h +5 -8
  1678. data/src/core/tsi/ssl_transport_security_utils.cc +86 -32
  1679. data/src/core/tsi/ssl_transport_security_utils.h +13 -5
  1680. data/src/core/tsi/ssl_types.h +0 -1
  1681. data/src/core/tsi/transport_security.cc +3 -9
  1682. data/src/core/tsi/transport_security.h +0 -3
  1683. data/src/core/tsi/transport_security_grpc.cc +2 -2
  1684. data/src/core/tsi/transport_security_grpc.h +1 -2
  1685. data/src/core/tsi/transport_security_interface.h +2 -7
  1686. data/src/core/{lib/gpr → util}/alloc.cc +4 -6
  1687. data/src/core/{lib/gpr → util}/alloc.h +3 -3
  1688. data/src/core/{lib/gpr → util}/atm.cc +2 -3
  1689. data/src/core/{lib/gprpp → util}/atomic_utils.h +3 -3
  1690. data/src/core/{lib/avl → util}/avl.h +6 -7
  1691. data/src/core/{lib/backoff → util}/backoff.cc +9 -10
  1692. data/src/core/{lib/backoff → util}/backoff.h +8 -11
  1693. data/src/core/{lib/gprpp → util}/bitset.h +5 -6
  1694. data/src/core/{lib/gprpp → util}/chunked_vector.h +8 -9
  1695. data/src/core/{lib/gprpp → util}/construct_destruct.h +6 -5
  1696. data/src/core/{lib/gprpp → util}/cpp_impl_of.h +3 -3
  1697. data/src/core/{lib/gprpp → util}/crash.cc +4 -7
  1698. data/src/core/{lib/gprpp → util}/crash.h +4 -5
  1699. data/src/core/{lib/gprpp → util}/debug_location.h +10 -3
  1700. data/src/core/{lib/gprpp → util}/directory_reader.h +3 -3
  1701. data/src/core/{lib/gprpp → util}/down_cast.h +7 -8
  1702. data/src/core/{lib/gprpp → util}/dual_ref_counted.h +59 -47
  1703. data/src/core/util/dump_args.cc +54 -0
  1704. data/src/core/util/dump_args.h +122 -0
  1705. data/src/core/{lib/gprpp → util}/env.h +3 -3
  1706. data/src/core/{lib/debug → util}/event_log.cc +4 -5
  1707. data/src/core/{lib/debug → util}/event_log.h +6 -8
  1708. data/src/core/{lib/gprpp → util}/examine_stack.cc +2 -2
  1709. data/src/core/{lib/gprpp → util}/examine_stack.h +3 -3
  1710. data/src/core/{lib/gprpp → util}/fork.cc +6 -7
  1711. data/src/core/{lib/gprpp → util}/fork.h +5 -5
  1712. data/src/core/{ext/gcp/metadata_query.cc → util/gcp_metadata_query.cc} +33 -37
  1713. data/src/core/{ext/gcp/metadata_query.h → util/gcp_metadata_query.h} +11 -12
  1714. data/src/core/{lib/iomgr → util}/gethostname.h +3 -3
  1715. data/src/core/{lib/iomgr → util}/gethostname_fallback.cc +1 -1
  1716. data/src/core/{lib/iomgr → util}/gethostname_host_name_max.cc +2 -3
  1717. data/src/core/{lib/iomgr → util}/gethostname_sysconf.cc +2 -3
  1718. data/src/core/util/glob.cc +70 -0
  1719. data/src/core/util/glob.h +29 -0
  1720. data/src/core/{lib/gpr/time.cc → util/gpr_time.cc} +16 -17
  1721. data/src/core/{lib/iomgr → util}/grpc_if_nametoindex.h +3 -4
  1722. data/src/core/{lib/iomgr → util}/grpc_if_nametoindex_posix.cc +4 -6
  1723. data/src/core/{lib/iomgr → util}/grpc_if_nametoindex_unsupported.cc +5 -8
  1724. data/src/core/{lib/gprpp → util}/host_port.cc +7 -7
  1725. data/src/core/{lib/gprpp → util}/host_port.h +3 -3
  1726. data/src/core/{lib/http → util/http_client}/format_request.cc +4 -7
  1727. data/src/core/{lib/http → util/http_client}/format_request.h +5 -6
  1728. data/src/core/{lib/http → util/http_client}/httpcli.cc +62 -74
  1729. data/src/core/{lib/http → util/http_client}/httpcli.h +32 -31
  1730. data/src/core/{lib/http → util/http_client}/httpcli_security_connector.cc +18 -21
  1731. data/src/core/{lib/http → util/http_client}/httpcli_ssl_credentials.h +5 -6
  1732. data/src/core/{lib/http → util/http_client}/parser.cc +11 -15
  1733. data/src/core/{lib/http → util/http_client}/parser.h +4 -8
  1734. data/src/core/{lib/gprpp → util}/if_list.h +3 -3
  1735. data/src/core/{lib/gpr → util}/iphone/cpu.cc +1 -2
  1736. data/src/core/{lib → util}/json/json.h +4 -5
  1737. data/src/core/{lib → util}/json/json_args.h +3 -3
  1738. data/src/core/{lib → util}/json/json_channel_args.h +4 -5
  1739. data/src/core/{lib → util}/json/json_object_loader.cc +3 -4
  1740. data/src/core/{lib → util}/json/json_object_loader.h +13 -14
  1741. data/src/core/{lib → util}/json/json_reader.cc +6 -9
  1742. data/src/core/{lib → util}/json/json_reader.h +4 -5
  1743. data/src/core/{lib → util}/json/json_util.cc +6 -6
  1744. data/src/core/{lib → util}/json/json_util.h +5 -6
  1745. data/src/core/{lib → util}/json/json_writer.cc +2 -4
  1746. data/src/core/{lib → util}/json/json_writer.h +4 -4
  1747. data/src/core/util/latent_see.cc +163 -0
  1748. data/src/core/util/latent_see.h +334 -0
  1749. data/src/core/{lib/gpr → util}/linux/cpu.cc +11 -12
  1750. data/src/core/{lib/gprpp → util}/linux/env.cc +1 -1
  1751. data/src/core/{lib/gprpp → util}/load_file.cc +4 -7
  1752. data/src/core/{lib/gprpp → util}/load_file.h +3 -4
  1753. data/src/core/util/log.cc +127 -0
  1754. data/src/core/util/lru_cache.h +122 -0
  1755. data/src/core/{lib/gprpp → util}/manual_constructor.h +4 -5
  1756. data/src/core/{lib/gprpp → util}/match.h +4 -5
  1757. data/src/core/{lib/matchers → util}/matchers.cc +9 -2
  1758. data/src/core/{lib/matchers → util}/matchers.h +8 -4
  1759. data/src/core/{lib/gprpp → util}/memory.h +4 -5
  1760. data/src/core/{lib/gprpp → util}/mpscq.cc +2 -2
  1761. data/src/core/{lib/gprpp → util}/mpscq.h +7 -8
  1762. data/src/core/{lib/gpr → util}/msys/tmpfile.cc +5 -7
  1763. data/src/core/{lib/gprpp → util}/no_destruct.h +4 -4
  1764. data/src/core/{lib/gprpp → util}/notification.h +4 -5
  1765. data/src/core/{lib/gprpp → util}/orphanable.h +7 -7
  1766. data/src/core/{lib/gprpp → util}/overload.h +3 -3
  1767. data/src/core/{lib/gprpp → util}/packed_table.h +5 -5
  1768. data/src/core/{lib/gprpp → util}/per_cpu.cc +3 -4
  1769. data/src/core/{lib/gprpp → util}/per_cpu.h +4 -6
  1770. data/src/core/{lib/gpr → util}/posix/cpu.cc +6 -7
  1771. data/src/core/{lib/gprpp → util}/posix/directory_reader.cc +2 -2
  1772. data/src/core/{lib/gprpp → util}/posix/env.cc +1 -1
  1773. data/src/core/{lib/gprpp → util}/posix/stat.cc +8 -8
  1774. data/src/core/{lib/gpr → util}/posix/string.cc +2 -3
  1775. data/src/core/{lib/gpr → util}/posix/sync.cc +26 -27
  1776. data/src/core/{lib/gprpp → util}/posix/thd.cc +22 -26
  1777. data/src/core/{lib/gpr → util}/posix/time.cc +12 -11
  1778. data/src/core/{lib/gpr → util}/posix/tmpfile.cc +13 -13
  1779. data/src/core/{lib/backoff → util}/random_early_detection.cc +2 -2
  1780. data/src/core/{lib/backoff → util}/random_early_detection.h +3 -4
  1781. data/src/core/{lib/gprpp → util}/ref_counted.h +40 -32
  1782. data/src/core/{lib/gprpp → util}/ref_counted_ptr.h +5 -7
  1783. data/src/core/{lib/gprpp → util}/ref_counted_string.cc +3 -5
  1784. data/src/core/{lib/gprpp → util}/ref_counted_string.h +5 -7
  1785. data/src/core/util/ring_buffer.h +123 -0
  1786. data/src/core/{lib/gprpp → util}/single_set_ptr.h +10 -8
  1787. data/src/core/{lib/gprpp → util}/sorted_pack.h +4 -4
  1788. data/src/core/{lib/gpr → util}/spinlock.h +5 -7
  1789. data/src/core/{lib/gprpp → util}/stat.h +3 -4
  1790. data/src/core/{lib/gprpp → util}/status_helper.cc +18 -40
  1791. data/src/core/{lib/gprpp → util}/status_helper.h +7 -37
  1792. data/src/core/{lib/gprpp → util}/strerror.cc +2 -3
  1793. data/src/core/{lib/gprpp → util}/strerror.h +3 -3
  1794. data/src/core/{lib/gpr → util}/string.cc +15 -18
  1795. data/src/core/{lib/gpr → util}/string.h +4 -6
  1796. data/src/core/{lib/gpr → util}/sync.cc +6 -7
  1797. data/src/core/{lib/gprpp → util}/sync.h +9 -10
  1798. data/src/core/{lib/gpr → util}/sync_abseil.cc +5 -8
  1799. data/src/core/{lib/gprpp → util}/table.h +56 -22
  1800. data/src/core/{lib/gprpp → util}/tchar.cc +2 -2
  1801. data/src/core/{lib/gprpp → util}/tchar.h +3 -3
  1802. data/src/core/{lib/gprpp → util}/thd.h +10 -12
  1803. data/src/core/{lib/gprpp → util}/time.cc +16 -18
  1804. data/src/core/{lib/gprpp → util}/time.h +29 -29
  1805. data/src/core/{lib/gprpp → util}/time_averaged_stats.cc +2 -2
  1806. data/src/core/{lib/gprpp → util}/time_averaged_stats.h +3 -3
  1807. data/src/core/{lib/gpr → util}/time_precise.cc +7 -7
  1808. data/src/core/{lib/gpr → util}/time_precise.h +3 -4
  1809. data/src/core/{lib/gprpp → util}/time_util.cc +6 -7
  1810. data/src/core/{lib/gprpp → util}/time_util.h +4 -5
  1811. data/src/core/{lib/gpr → util}/tmpfile.h +3 -4
  1812. data/src/core/{lib/gprpp → util}/type_list.h +3 -3
  1813. data/src/core/util/unique_ptr_with_bitset.h +86 -0
  1814. data/src/core/{lib/gprpp → util}/unique_type_name.h +32 -13
  1815. data/src/core/{ext/xds → util}/upb_utils.h +3 -5
  1816. data/src/core/{lib/uri/uri_parser.cc → util/uri.cc} +14 -10
  1817. data/src/core/{lib/uri/uri_parser.h → util/uri.h} +8 -4
  1818. data/src/core/{lib/gpr → util}/useful.h +23 -52
  1819. data/src/core/{lib/gprpp → util}/uuid_v4.cc +2 -2
  1820. data/src/core/{lib/gprpp → util}/uuid_v4.h +3 -4
  1821. data/src/core/{lib/gprpp → util}/validation_errors.cc +11 -3
  1822. data/src/core/{lib/gprpp → util}/validation_errors.h +14 -4
  1823. data/src/core/{lib/gpr → util}/windows/cpu.cc +1 -2
  1824. data/src/core/{lib/gprpp → util}/windows/directory_reader.cc +1 -3
  1825. data/src/core/{lib/gprpp → util}/windows/env.cc +2 -2
  1826. data/src/core/{lib/gprpp → util}/windows/stat.cc +9 -9
  1827. data/src/core/{lib/gpr → util}/windows/string.cc +3 -4
  1828. data/src/core/{lib/gpr → util}/windows/string_util.cc +6 -8
  1829. data/src/core/{lib/gpr → util}/windows/sync.cc +3 -3
  1830. data/src/core/{lib/gprpp → util}/windows/thd.cc +10 -10
  1831. data/src/core/{lib/gpr → util}/windows/time.cc +6 -6
  1832. data/src/core/{lib/gpr → util}/windows/tmpfile.cc +5 -7
  1833. data/src/core/{lib/gprpp → util}/work_serializer.cc +79 -99
  1834. data/src/core/{lib/gprpp → util}/work_serializer.h +6 -8
  1835. data/src/core/{lib/gprpp → util}/xxhash_inline.h +3 -3
  1836. data/src/core/{ext/xds → xds/grpc}/certificate_provider_store.cc +7 -9
  1837. data/src/core/{ext/xds → xds/grpc}/certificate_provider_store.h +14 -16
  1838. data/src/core/{ext/xds → xds/grpc}/file_watcher_certificate_provider_factory.cc +7 -9
  1839. data/src/core/{ext/xds → xds/grpc}/file_watcher_certificate_provider_factory.h +10 -12
  1840. data/src/core/{ext/xds → xds/grpc}/xds_audit_logger_registry.cc +6 -6
  1841. data/src/core/{ext/xds → xds/grpc}/xds_audit_logger_registry.h +6 -7
  1842. data/src/core/{ext/xds → xds/grpc}/xds_bootstrap_grpc.cc +9 -168
  1843. data/src/core/{ext/xds → xds/grpc}/xds_bootstrap_grpc.h +15 -45
  1844. data/src/core/{ext/xds → xds/grpc}/xds_certificate_provider.cc +7 -8
  1845. data/src/core/{ext/xds → xds/grpc}/xds_certificate_provider.h +13 -13
  1846. data/src/core/{ext/xds → xds/grpc}/xds_client_grpc.cc +119 -84
  1847. data/src/core/{ext/xds → xds/grpc}/xds_client_grpc.h +21 -16
  1848. data/src/core/xds/grpc/xds_cluster.cc +79 -0
  1849. data/src/core/{ext/xds → xds/grpc}/xds_cluster.h +43 -53
  1850. data/src/core/{ext/xds/xds_cluster.cc → xds/grpc/xds_cluster_parser.cc} +184 -207
  1851. data/src/core/xds/grpc/xds_cluster_parser.h +61 -0
  1852. data/src/core/{ext/xds → xds/grpc}/xds_cluster_specifier_plugin.cc +9 -12
  1853. data/src/core/{ext/xds → xds/grpc}/xds_cluster_specifier_plugin.h +6 -7
  1854. data/src/core/xds/grpc/xds_common_types.cc +103 -0
  1855. data/src/core/{ext/xds → xds/grpc}/xds_common_types.h +13 -31
  1856. data/src/core/{ext/xds/xds_common_types.cc → xds/grpc/xds_common_types_parser.cc} +79 -85
  1857. data/src/core/xds/grpc/xds_common_types_parser.h +76 -0
  1858. data/src/core/xds/grpc/xds_endpoint.cc +97 -0
  1859. data/src/core/{ext/xds → xds/grpc}/xds_endpoint.h +12 -34
  1860. data/src/core/{ext/xds/xds_endpoint.cc → xds/grpc/xds_endpoint_parser.cc} +88 -161
  1861. data/src/core/xds/grpc/xds_endpoint_parser.h +47 -0
  1862. data/src/core/{ext/xds → xds/grpc}/xds_health_status.cc +1 -3
  1863. data/src/core/{ext/xds → xds/grpc}/xds_health_status.h +3 -6
  1864. data/src/core/{ext/xds → xds/grpc}/xds_http_fault_filter.cc +30 -19
  1865. data/src/core/{ext/xds → xds/grpc}/xds_http_fault_filter.h +14 -10
  1866. data/src/core/{ext/xds/xds_http_filters.h → xds/grpc/xds_http_filter.h} +23 -71
  1867. data/src/core/{ext/xds/xds_http_filters.cc → xds/grpc/xds_http_filter_registry.cc} +16 -11
  1868. data/src/core/xds/grpc/xds_http_filter_registry.h +104 -0
  1869. data/src/core/xds/grpc/xds_http_gcp_authn_filter.cc +141 -0
  1870. data/src/core/xds/grpc/xds_http_gcp_authn_filter.h +60 -0
  1871. data/src/core/{ext/xds → xds/grpc}/xds_http_rbac_filter.cc +68 -54
  1872. data/src/core/{ext/xds → xds/grpc}/xds_http_rbac_filter.h +14 -10
  1873. data/src/core/{ext/xds → xds/grpc}/xds_http_stateful_session_filter.cc +25 -13
  1874. data/src/core/{ext/xds → xds/grpc}/xds_http_stateful_session_filter.h +14 -10
  1875. data/src/core/{ext/xds → xds/grpc}/xds_lb_policy_registry.cc +25 -31
  1876. data/src/core/{ext/xds → xds/grpc}/xds_lb_policy_registry.h +7 -8
  1877. data/src/core/xds/grpc/xds_listener.cc +175 -0
  1878. data/src/core/{ext/xds → xds/grpc}/xds_listener.h +9 -42
  1879. data/src/core/{ext/xds/xds_listener.cc → xds/grpc/xds_listener_parser.cc} +66 -215
  1880. data/src/core/xds/grpc/xds_listener_parser.h +59 -0
  1881. data/src/core/xds/grpc/xds_metadata.cc +62 -0
  1882. data/src/core/xds/grpc/xds_metadata.h +150 -0
  1883. data/src/core/xds/grpc/xds_metadata_parser.cc +184 -0
  1884. data/src/core/xds/grpc/xds_metadata_parser.h +35 -0
  1885. data/src/core/xds/grpc/xds_route_config.cc +282 -0
  1886. data/src/core/{ext/xds → xds/grpc}/xds_route_config.h +13 -46
  1887. data/src/core/{ext/xds/xds_route_config.cc → xds/grpc/xds_route_config_parser.cc} +77 -313
  1888. data/src/core/xds/grpc/xds_route_config_parser.h +77 -0
  1889. data/src/core/{ext/xds → xds/grpc}/xds_routing.cc +64 -31
  1890. data/src/core/{ext/xds → xds/grpc}/xds_routing.h +16 -10
  1891. data/src/core/xds/grpc/xds_server_grpc.cc +160 -0
  1892. data/src/core/xds/grpc/xds_server_grpc.h +63 -0
  1893. data/src/core/{ext/xds → xds/grpc}/xds_transport_grpc.cc +112 -69
  1894. data/src/core/{ext/xds → xds/grpc}/xds_transport_grpc.h +37 -27
  1895. data/src/core/xds/xds_client/lrs_client.cc +1292 -0
  1896. data/src/core/xds/xds_client/lrs_client.h +394 -0
  1897. data/src/core/{ext/xds → xds/xds_client}/xds_api.cc +39 -258
  1898. data/src/core/{ext/xds → xds/xds_client}/xds_api.h +15 -38
  1899. data/src/core/xds/xds_client/xds_backend_metric_propagation.cc +63 -0
  1900. data/src/core/xds/xds_client/xds_backend_metric_propagation.h +59 -0
  1901. data/src/core/{ext/xds → xds/xds_client}/xds_bootstrap.cc +4 -5
  1902. data/src/core/{ext/xds → xds/xds_client}/xds_bootstrap.h +4 -4
  1903. data/src/core/{ext/xds → xds/xds_client}/xds_channel_args.h +3 -3
  1904. data/src/core/{ext/xds → xds/xds_client}/xds_client.cc +190 -804
  1905. data/src/core/{ext/xds → xds/xds_client}/xds_client.h +39 -96
  1906. data/src/core/xds/xds_client/xds_locality.h +102 -0
  1907. data/src/core/{ext/xds → xds/xds_client}/xds_metrics.h +5 -3
  1908. data/src/core/{ext/xds → xds/xds_client}/xds_resource_type.h +5 -6
  1909. data/src/core/{ext/xds → xds/xds_client}/xds_resource_type_impl.h +6 -7
  1910. data/src/core/{ext/xds → xds/xds_client}/xds_transport.h +33 -18
  1911. data/src/ruby/bin/math_pb.rb +1 -22
  1912. data/src/ruby/ext/grpc/extconf.rb +1 -1
  1913. data/src/ruby/ext/grpc/rb_byte_buffer.c +3 -3
  1914. data/src/ruby/ext/grpc/rb_call.c +15 -8
  1915. data/src/ruby/ext/grpc/rb_call_credentials.c +39 -32
  1916. data/src/ruby/ext/grpc/rb_call_credentials.h +1 -0
  1917. data/src/ruby/ext/grpc/rb_channel.c +42 -36
  1918. data/src/ruby/ext/grpc/rb_channel_args.c +4 -4
  1919. data/src/ruby/ext/grpc/rb_channel_credentials.c +5 -5
  1920. data/src/ruby/ext/grpc/rb_channel_credentials.h +1 -2
  1921. data/src/ruby/ext/grpc/rb_completion_queue.c +18 -36
  1922. data/src/ruby/ext/grpc/rb_completion_queue.h +7 -1
  1923. data/src/ruby/ext/grpc/rb_compression_options.c +9 -10
  1924. data/src/ruby/ext/grpc/rb_event_thread.c +9 -9
  1925. data/src/ruby/ext/grpc/rb_grpc.c +16 -16
  1926. data/src/ruby/ext/grpc/rb_grpc.h +8 -1
  1927. data/src/ruby/ext/grpc/rb_grpc_imports.generated.c +136 -144
  1928. data/src/ruby/ext/grpc/rb_grpc_imports.generated.h +205 -216
  1929. data/src/ruby/ext/grpc/rb_server.c +47 -27
  1930. data/src/ruby/ext/grpc/rb_server_credentials.c +4 -3
  1931. data/src/ruby/ext/grpc/rb_server_credentials.h +2 -2
  1932. data/src/ruby/ext/grpc/rb_xds_channel_credentials.c +5 -5
  1933. data/src/ruby/ext/grpc/rb_xds_channel_credentials.h +1 -2
  1934. data/src/ruby/ext/grpc/rb_xds_server_credentials.c +5 -4
  1935. data/src/ruby/ext/grpc/rb_xds_server_credentials.h +2 -2
  1936. data/src/ruby/lib/grpc/generic/active_call.rb +8 -5
  1937. data/src/ruby/lib/grpc/logconfig.rb +13 -0
  1938. data/src/ruby/lib/grpc/version.rb +1 -1
  1939. data/src/ruby/pb/grpc/health/v1/health_pb.rb +1 -22
  1940. data/src/ruby/pb/grpc/testing/duplicate/echo_duplicate_services_pb.rb +5 -5
  1941. data/src/ruby/pb/grpc/testing/metrics_pb.rb +10 -19
  1942. data/src/ruby/pb/grpc/testing/metrics_services_pb.rb +5 -5
  1943. data/src/ruby/pb/src/proto/grpc/testing/empty_pb.rb +1 -22
  1944. data/src/ruby/pb/src/proto/grpc/testing/messages_pb.rb +1 -22
  1945. data/src/ruby/pb/src/proto/grpc/testing/test_pb.rb +1 -22
  1946. data/src/ruby/spec/call_spec.rb +53 -40
  1947. data/src/ruby/spec/channel_spec.rb +4 -2
  1948. data/src/ruby/spec/client_server_spec.rb +148 -507
  1949. data/src/ruby/spec/generic/active_call_spec.rb +64 -86
  1950. data/src/ruby/spec/generic/client_stub_spec.rb +20 -20
  1951. data/src/ruby/spec/logconfig_spec.rb +30 -0
  1952. data/src/ruby/spec/support/services.rb +3 -0
  1953. data/third_party/abseil-cpp/absl/algorithm/container.h +57 -18
  1954. data/third_party/abseil-cpp/absl/base/attributes.h +84 -0
  1955. data/third_party/abseil-cpp/absl/base/config.h +32 -51
  1956. data/third_party/abseil-cpp/absl/base/dynamic_annotations.h +0 -16
  1957. data/third_party/abseil-cpp/absl/base/internal/nullability_impl.h +3 -1
  1958. data/third_party/abseil-cpp/absl/base/internal/spinlock.h +13 -3
  1959. data/third_party/abseil-cpp/absl/base/internal/unscaledcycleclock.cc +0 -12
  1960. data/third_party/abseil-cpp/absl/base/internal/unscaledcycleclock_config.h +4 -4
  1961. data/third_party/abseil-cpp/absl/base/macros.h +48 -0
  1962. data/third_party/abseil-cpp/absl/base/no_destructor.h +35 -40
  1963. data/third_party/abseil-cpp/absl/base/nullability.h +33 -7
  1964. data/third_party/abseil-cpp/absl/base/optimization.h +11 -0
  1965. data/third_party/abseil-cpp/absl/base/options.h +1 -1
  1966. data/third_party/abseil-cpp/absl/base/prefetch.h +1 -1
  1967. data/third_party/abseil-cpp/absl/container/flat_hash_map.h +68 -12
  1968. data/third_party/abseil-cpp/absl/container/flat_hash_set.h +60 -6
  1969. data/third_party/abseil-cpp/absl/container/hash_container_defaults.h +45 -0
  1970. data/third_party/abseil-cpp/absl/container/inlined_vector.h +13 -0
  1971. data/third_party/abseil-cpp/absl/container/internal/common_policy_traits.h +20 -11
  1972. data/third_party/abseil-cpp/absl/container/internal/compressed_tuple.h +15 -16
  1973. data/third_party/abseil-cpp/absl/container/internal/container_memory.h +34 -1
  1974. data/third_party/abseil-cpp/absl/container/internal/hash_function_defaults.h +68 -1
  1975. data/third_party/abseil-cpp/absl/container/internal/hash_policy_traits.h +50 -0
  1976. data/third_party/abseil-cpp/absl/container/internal/hashtablez_sampler.cc +22 -7
  1977. data/third_party/abseil-cpp/absl/container/internal/hashtablez_sampler.h +26 -8
  1978. data/third_party/abseil-cpp/absl/container/internal/inlined_vector.h +39 -35
  1979. data/third_party/abseil-cpp/absl/container/internal/layout.h +190 -74
  1980. data/third_party/abseil-cpp/absl/container/internal/raw_hash_map.h +8 -6
  1981. data/third_party/abseil-cpp/absl/container/internal/raw_hash_set.cc +334 -71
  1982. data/third_party/abseil-cpp/absl/container/internal/raw_hash_set.h +1299 -458
  1983. data/third_party/abseil-cpp/absl/crc/internal/crc32_x86_arm_combined_simd.h +19 -17
  1984. data/third_party/abseil-cpp/absl/crc/internal/crc_cord_state.cc +4 -3
  1985. data/third_party/abseil-cpp/absl/crc/internal/crc_memcpy_fallback.cc +2 -1
  1986. data/third_party/abseil-cpp/absl/crc/internal/crc_memcpy_x86_arm_combined.cc +12 -8
  1987. data/third_party/abseil-cpp/absl/crc/internal/crc_non_temporal_memcpy.cc +1 -1
  1988. data/third_party/abseil-cpp/absl/crc/internal/crc_x86_arm_combined.cc +11 -7
  1989. data/third_party/abseil-cpp/absl/crc/internal/non_temporal_memcpy.h +18 -17
  1990. data/third_party/abseil-cpp/absl/debugging/internal/bounded_utf8_length_sequence.h +126 -0
  1991. data/third_party/abseil-cpp/absl/debugging/internal/decode_rust_punycode.cc +258 -0
  1992. data/third_party/abseil-cpp/absl/debugging/internal/decode_rust_punycode.h +55 -0
  1993. data/third_party/abseil-cpp/absl/debugging/internal/demangle.cc +1057 -86
  1994. data/third_party/abseil-cpp/absl/debugging/internal/demangle.h +3 -0
  1995. data/third_party/abseil-cpp/absl/debugging/internal/demangle_rust.cc +925 -0
  1996. data/third_party/abseil-cpp/absl/debugging/internal/demangle_rust.h +42 -0
  1997. data/third_party/abseil-cpp/absl/debugging/internal/elf_mem_image.cc +43 -16
  1998. data/third_party/abseil-cpp/absl/debugging/internal/elf_mem_image.h +8 -7
  1999. data/third_party/abseil-cpp/absl/debugging/internal/stacktrace_aarch64-inl.inc +10 -7
  2000. data/third_party/abseil-cpp/absl/debugging/internal/utf8_for_code_point.cc +70 -0
  2001. data/third_party/abseil-cpp/absl/debugging/internal/utf8_for_code_point.h +47 -0
  2002. data/third_party/abseil-cpp/absl/flags/commandlineflag.h +11 -0
  2003. data/third_party/abseil-cpp/absl/flags/flag.h +2 -0
  2004. data/third_party/abseil-cpp/absl/flags/internal/flag.cc +117 -30
  2005. data/third_party/abseil-cpp/absl/flags/internal/flag.h +192 -30
  2006. data/third_party/abseil-cpp/absl/flags/reflection.cc +10 -0
  2007. data/third_party/abseil-cpp/absl/functional/any_invocable.h +13 -3
  2008. data/third_party/abseil-cpp/absl/functional/bind_front.h +3 -2
  2009. data/third_party/abseil-cpp/absl/functional/internal/any_invocable.h +7 -7
  2010. data/third_party/abseil-cpp/absl/functional/internal/front_binder.h +9 -9
  2011. data/third_party/abseil-cpp/absl/hash/internal/hash.cc +1 -1
  2012. data/third_party/abseil-cpp/absl/hash/internal/hash.h +13 -3
  2013. data/third_party/abseil-cpp/absl/hash/internal/low_level_hash.cc +60 -28
  2014. data/third_party/abseil-cpp/absl/hash/internal/low_level_hash.h +4 -0
  2015. data/third_party/abseil-cpp/absl/log/absl_vlog_is_on.h +3 -3
  2016. data/third_party/abseil-cpp/absl/log/check.h +209 -0
  2017. data/third_party/abseil-cpp/absl/log/globals.h +28 -15
  2018. data/third_party/abseil-cpp/absl/log/internal/check_impl.h +150 -0
  2019. data/third_party/abseil-cpp/absl/log/internal/check_op.cc +138 -0
  2020. data/third_party/abseil-cpp/absl/log/internal/check_op.h +462 -0
  2021. data/third_party/abseil-cpp/absl/log/internal/conditions.h +2 -2
  2022. data/third_party/abseil-cpp/absl/log/internal/log_impl.h +23 -23
  2023. data/third_party/abseil-cpp/absl/log/internal/log_message.cc +104 -47
  2024. data/third_party/abseil-cpp/absl/log/internal/log_message.h +23 -4
  2025. data/third_party/abseil-cpp/absl/log/internal/nullstream.h +1 -10
  2026. data/third_party/abseil-cpp/absl/log/internal/strip.h +36 -0
  2027. data/third_party/abseil-cpp/absl/log/log.h +5 -1
  2028. data/third_party/abseil-cpp/absl/log/log_sink.h +11 -4
  2029. data/third_party/abseil-cpp/absl/log/vlog_is_on.h +3 -3
  2030. data/third_party/abseil-cpp/absl/meta/type_traits.h +138 -42
  2031. data/third_party/abseil-cpp/absl/numeric/int128.cc +0 -3
  2032. data/third_party/abseil-cpp/absl/numeric/int128.h +35 -5
  2033. data/third_party/abseil-cpp/absl/numeric/int128_have_intrinsic.inc +14 -0
  2034. data/third_party/abseil-cpp/absl/numeric/int128_no_intrinsic.inc +18 -0
  2035. data/third_party/abseil-cpp/absl/numeric/internal/bits.h +6 -2
  2036. data/third_party/abseil-cpp/absl/random/beta_distribution.h +8 -8
  2037. data/third_party/abseil-cpp/absl/random/bit_gen_ref.h +9 -7
  2038. data/third_party/abseil-cpp/absl/random/distributions.h +11 -11
  2039. data/third_party/abseil-cpp/absl/random/seed_sequences.h +2 -0
  2040. data/third_party/abseil-cpp/absl/status/internal/statusor_internal.h +61 -2
  2041. data/third_party/abseil-cpp/absl/status/status.cc +0 -4
  2042. data/third_party/abseil-cpp/absl/status/status.h +4 -4
  2043. data/third_party/abseil-cpp/absl/status/statusor.h +108 -142
  2044. data/third_party/abseil-cpp/absl/strings/ascii.cc +32 -71
  2045. data/third_party/abseil-cpp/absl/strings/cord.cc +20 -15
  2046. data/third_party/abseil-cpp/absl/strings/cord.h +68 -7
  2047. data/third_party/abseil-cpp/absl/strings/escaping.cc +96 -21
  2048. data/third_party/abseil-cpp/absl/strings/escaping.h +25 -8
  2049. data/third_party/abseil-cpp/absl/strings/has_absl_stringify.h +1 -0
  2050. data/third_party/abseil-cpp/absl/strings/internal/charconv_bigint.h +10 -0
  2051. data/third_party/abseil-cpp/absl/strings/internal/cord_internal.h +29 -9
  2052. data/third_party/abseil-cpp/absl/strings/internal/cord_rep_btree.h +2 -2
  2053. data/third_party/abseil-cpp/absl/strings/internal/cordz_functions.cc +19 -13
  2054. data/third_party/abseil-cpp/absl/strings/internal/cordz_functions.h +23 -13
  2055. data/third_party/abseil-cpp/absl/strings/internal/cordz_handle.cc +24 -24
  2056. data/third_party/abseil-cpp/absl/strings/internal/cordz_info.cc +12 -7
  2057. data/third_party/abseil-cpp/absl/strings/internal/cordz_info.h +9 -4
  2058. data/third_party/abseil-cpp/absl/strings/internal/escaping.cc +5 -2
  2059. data/third_party/abseil-cpp/absl/strings/internal/str_join_internal.h +23 -2
  2060. data/third_party/abseil-cpp/absl/strings/internal/str_split_internal.h +5 -1
  2061. data/third_party/abseil-cpp/absl/strings/numbers.cc +107 -333
  2062. data/third_party/abseil-cpp/absl/strings/numbers.h +12 -151
  2063. data/third_party/abseil-cpp/absl/strings/str_cat.cc +49 -142
  2064. data/third_party/abseil-cpp/absl/strings/str_cat.h +70 -85
  2065. data/third_party/abseil-cpp/absl/strings/str_format.h +1 -1
  2066. data/third_party/abseil-cpp/absl/strings/str_join.h +19 -5
  2067. data/third_party/abseil-cpp/absl/strings/str_split.h +2 -2
  2068. data/third_party/abseil-cpp/absl/strings/string_view.h +3 -2
  2069. data/third_party/abseil-cpp/absl/strings/substitute.cc +4 -0
  2070. data/third_party/abseil-cpp/absl/synchronization/internal/graphcycles.cc +11 -2
  2071. data/third_party/abseil-cpp/absl/synchronization/internal/graphcycles.h +5 -0
  2072. data/third_party/abseil-cpp/absl/synchronization/mutex.h +5 -4
  2073. data/third_party/abseil-cpp/absl/time/civil_time.h +2 -2
  2074. data/third_party/abseil-cpp/absl/time/clock.cc +15 -1
  2075. data/third_party/abseil-cpp/absl/time/duration.cc +58 -53
  2076. data/third_party/abseil-cpp/absl/time/format.cc +2 -1
  2077. data/third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_libc.cc +1 -1
  2078. data/third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_lookup.cc +0 -29
  2079. data/third_party/abseil-cpp/absl/time/internal/cctz/src/tzfile.h +3 -3
  2080. data/third_party/abseil-cpp/absl/time/time.h +73 -29
  2081. data/third_party/abseil-cpp/absl/types/compare.h +505 -0
  2082. data/third_party/abseil-cpp/absl/types/internal/optional.h +2 -2
  2083. data/third_party/abseil-cpp/absl/types/internal/variant.h +55 -67
  2084. data/third_party/abseil-cpp/absl/types/optional.h +15 -18
  2085. data/third_party/abseil-cpp/absl/types/span.h +3 -2
  2086. data/third_party/abseil-cpp/absl/types/variant.h +19 -24
  2087. data/third_party/abseil-cpp/absl/utility/utility.h +3 -41
  2088. data/third_party/boringssl-with-bazel/src/crypto/base64/base64.c +4 -0
  2089. data/third_party/boringssl-with-bazel/src/crypto/{fipsmodule/rand/fork_detect.h → bcm_support.h} +53 -7
  2090. data/third_party/boringssl-with-bazel/src/crypto/bio/bio.c +13 -18
  2091. data/third_party/boringssl-with-bazel/src/crypto/bio/file.c +25 -10
  2092. data/third_party/boringssl-with-bazel/src/crypto/bytestring/cbs.c +3 -18
  2093. data/third_party/boringssl-with-bazel/src/crypto/bytestring/unicode.c +3 -2
  2094. data/third_party/boringssl-with-bazel/src/crypto/chacha/chacha.c +1 -1
  2095. data/third_party/boringssl-with-bazel/src/crypto/chacha/internal.h +19 -15
  2096. data/third_party/boringssl-with-bazel/src/crypto/cipher_extra/e_chacha20poly1305.c +7 -0
  2097. data/third_party/boringssl-with-bazel/src/crypto/cipher_extra/e_des.c +48 -66
  2098. data/third_party/boringssl-with-bazel/src/crypto/cipher_extra/e_null.c +7 -3
  2099. data/third_party/boringssl-with-bazel/src/crypto/cipher_extra/e_rc2.c +20 -28
  2100. data/third_party/boringssl-with-bazel/src/crypto/cipher_extra/e_rc4.c +9 -4
  2101. data/third_party/boringssl-with-bazel/src/crypto/cipher_extra/internal.h +43 -0
  2102. data/third_party/boringssl-with-bazel/src/crypto/cipher_extra/tls_cbc.c +2 -2
  2103. data/third_party/boringssl-with-bazel/src/crypto/conf/conf.c +66 -41
  2104. data/third_party/boringssl-with-bazel/src/crypto/cpu_arm_linux.c +4 -1
  2105. data/third_party/boringssl-with-bazel/src/crypto/cpu_intel.c +71 -37
  2106. data/third_party/boringssl-with-bazel/src/crypto/crypto.c +8 -62
  2107. data/third_party/boringssl-with-bazel/src/crypto/curve25519/curve25519.c +7 -7
  2108. data/third_party/boringssl-with-bazel/src/crypto/digest_extra/digest_extra.c +1 -0
  2109. data/third_party/boringssl-with-bazel/src/crypto/dilithium/dilithium.c +1539 -0
  2110. data/third_party/boringssl-with-bazel/src/crypto/dilithium/internal.h +58 -0
  2111. data/third_party/boringssl-with-bazel/src/crypto/dsa/dsa.c +36 -20
  2112. data/third_party/boringssl-with-bazel/src/crypto/dsa/dsa_asn1.c +3 -4
  2113. data/third_party/boringssl-with-bazel/src/crypto/dsa/internal.h +2 -0
  2114. data/third_party/boringssl-with-bazel/src/crypto/ecdsa_extra/ecdsa_asn1.c +160 -14
  2115. data/third_party/boringssl-with-bazel/src/crypto/err/err.c +81 -60
  2116. data/third_party/boringssl-with-bazel/src/crypto/evp/evp.c +41 -120
  2117. data/third_party/boringssl-with-bazel/src/crypto/evp/evp_asn1.c +13 -13
  2118. data/third_party/boringssl-with-bazel/src/crypto/evp/internal.h +7 -0
  2119. data/third_party/boringssl-with-bazel/src/crypto/evp/p_dh.c +137 -0
  2120. data/third_party/boringssl-with-bazel/src/crypto/evp/p_dh_asn1.c +120 -0
  2121. data/third_party/boringssl-with-bazel/src/crypto/evp/p_dsa_asn1.c +30 -0
  2122. data/third_party/boringssl-with-bazel/src/crypto/evp/p_ec.c +3 -4
  2123. data/third_party/boringssl-with-bazel/src/crypto/evp/p_ec_asn1.c +30 -0
  2124. data/third_party/boringssl-with-bazel/src/crypto/evp/p_ed25519.c +1 -4
  2125. data/third_party/boringssl-with-bazel/src/crypto/evp/p_rsa_asn1.c +30 -0
  2126. data/third_party/boringssl-with-bazel/src/crypto/evp/p_x25519.c +1 -4
  2127. data/third_party/boringssl-with-bazel/src/crypto/ex_data.c +6 -7
  2128. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/aes/{aes.c → aes.c.inc} +21 -0
  2129. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/aes/internal.h +33 -7
  2130. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bcm.c +84 -80
  2131. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bcm_interface.h +89 -0
  2132. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bn/{bytes.c → bytes.c.inc} +1 -1
  2133. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bn/{div.c → div.c.inc} +149 -182
  2134. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bn/{div_extra.c → div_extra.c.inc} +1 -1
  2135. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bn/{exponentiation.c → exponentiation.c.inc} +46 -2
  2136. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bn/{gcd_extra.c → gcd_extra.c.inc} +8 -5
  2137. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bn/internal.h +33 -23
  2138. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bn/{montgomery_inv.c → montgomery_inv.c.inc} +1 -1
  2139. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bn/{mul.c → mul.c.inc} +2 -2
  2140. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bn/{prime.c → prime.c.inc} +14 -7
  2141. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bn/{random.c → random.c.inc} +8 -9
  2142. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bn/{sqrt.c → sqrt.c.inc} +1 -1
  2143. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/cipher/{e_aes.c → e_aes.c.inc} +9 -8
  2144. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/cipher/internal.h +0 -3
  2145. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/ec/{ec_key.c → ec_key.c.inc} +22 -14
  2146. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/ec/{p256-nistz.c → p256-nistz.c.inc} +104 -7
  2147. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/ec/p256-nistz.h +65 -8
  2148. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/ec/{scalar.c → scalar.c.inc} +5 -1
  2149. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/ecdsa/{ecdsa.c → ecdsa.c.inc} +52 -107
  2150. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/ecdsa/internal.h +28 -11
  2151. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/fips_shared_support.c +3 -6
  2152. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/rand/internal.h +1 -80
  2153. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/rand/{rand.c → rand.c.inc} +26 -40
  2154. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/rsa/{padding.c → padding.c.inc} +2 -5
  2155. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/rsa/{rsa.c → rsa.c.inc} +11 -11
  2156. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/rsa/{rsa_impl.c → rsa_impl.c.inc} +23 -9
  2157. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/self_check/{fips.c → fips.c.inc} +6 -4
  2158. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/self_check/{self_check.c → self_check.c.inc} +9 -35
  2159. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/service_indicator/internal.h +2 -2
  2160. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/service_indicator/{service_indicator.c → service_indicator.c.inc} +5 -8
  2161. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/sha/internal.h +78 -29
  2162. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/sha/{sha1.c → sha1.c.inc} +4 -4
  2163. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/sha/{sha256.c → sha256.c.inc} +3 -3
  2164. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/sha/{sha512.c → sha512.c.inc} +10 -4
  2165. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/tls/{kdf.c → kdf.c.inc} +7 -0
  2166. data/third_party/boringssl-with-bazel/src/crypto/hpke/hpke.c +295 -2
  2167. data/third_party/boringssl-with-bazel/src/crypto/internal.h +131 -41
  2168. data/third_party/boringssl-with-bazel/src/crypto/kyber/internal.h +1 -1
  2169. data/third_party/boringssl-with-bazel/src/crypto/kyber/kyber.c +2 -1
  2170. data/third_party/boringssl-with-bazel/src/crypto/mem.c +25 -12
  2171. data/third_party/boringssl-with-bazel/src/crypto/mldsa/internal.h +73 -0
  2172. data/third_party/boringssl-with-bazel/src/crypto/mldsa/mldsa.c +1687 -0
  2173. data/third_party/boringssl-with-bazel/src/crypto/mlkem/internal.h +90 -0
  2174. data/third_party/boringssl-with-bazel/src/crypto/mlkem/mlkem.cc +1097 -0
  2175. data/third_party/boringssl-with-bazel/src/crypto/obj/obj_dat.h +4 -1
  2176. data/third_party/boringssl-with-bazel/src/crypto/pem/pem_lib.c +19 -19
  2177. data/third_party/boringssl-with-bazel/src/crypto/pem/pem_pk8.c +43 -41
  2178. data/third_party/boringssl-with-bazel/src/crypto/pem/pem_pkey.c +13 -12
  2179. data/third_party/boringssl-with-bazel/src/crypto/pkcs8/internal.h +1 -0
  2180. data/third_party/boringssl-with-bazel/src/crypto/rand_extra/deterministic.c +9 -1
  2181. data/third_party/boringssl-with-bazel/src/crypto/{fipsmodule/rand → rand_extra}/fork_detect.c +26 -28
  2182. data/third_party/boringssl-with-bazel/src/crypto/rand_extra/getentropy.c +9 -1
  2183. data/third_party/boringssl-with-bazel/src/crypto/rand_extra/ios.c +9 -1
  2184. data/third_party/boringssl-with-bazel/src/crypto/rand_extra/passive.c +19 -3
  2185. data/third_party/boringssl-with-bazel/src/crypto/rand_extra/rand_extra.c +26 -23
  2186. data/third_party/boringssl-with-bazel/src/crypto/rand_extra/sysrand_internal.h +37 -0
  2187. data/third_party/boringssl-with-bazel/src/crypto/rand_extra/trusty.c +9 -1
  2188. data/third_party/boringssl-with-bazel/src/crypto/{fipsmodule/rand → rand_extra}/urandom.c +19 -19
  2189. data/third_party/boringssl-with-bazel/src/crypto/rand_extra/windows.c +8 -1
  2190. data/third_party/boringssl-with-bazel/src/crypto/rsa_extra/internal.h +2 -0
  2191. data/third_party/boringssl-with-bazel/src/crypto/spx/spx.c +7 -6
  2192. data/third_party/boringssl-with-bazel/src/crypto/x509/by_dir.c +26 -33
  2193. data/third_party/boringssl-with-bazel/src/crypto/x509/by_file.c +1 -1
  2194. data/third_party/boringssl-with-bazel/src/crypto/x509/internal.h +4 -5
  2195. data/third_party/boringssl-with-bazel/src/crypto/x509/rsa_pss.c +5 -1
  2196. data/third_party/boringssl-with-bazel/src/crypto/x509/v3_cpols.c +9 -4
  2197. data/third_party/boringssl-with-bazel/src/crypto/x509/v3_crld.c +2 -2
  2198. data/third_party/boringssl-with-bazel/src/crypto/x509/v3_info.c +1 -1
  2199. data/third_party/boringssl-with-bazel/src/crypto/x509/v3_lib.c +2 -0
  2200. data/third_party/boringssl-with-bazel/src/crypto/x509/v3_utl.c +49 -16
  2201. data/third_party/boringssl-with-bazel/src/crypto/x509/x509_lu.c +0 -10
  2202. data/third_party/boringssl-with-bazel/src/crypto/x509/x509_trs.c +21 -25
  2203. data/third_party/boringssl-with-bazel/src/crypto/x509/x509_vfy.c +8 -25
  2204. data/third_party/boringssl-with-bazel/src/crypto/x509/x_algor.c +2 -2
  2205. data/third_party/boringssl-with-bazel/src/crypto/x509/x_x509.c +1 -6
  2206. data/third_party/boringssl-with-bazel/{err_data.c → src/gen/crypto/err_data.c} +487 -485
  2207. data/third_party/boringssl-with-bazel/src/include/openssl/asn1.h +14 -1
  2208. data/third_party/boringssl-with-bazel/src/include/openssl/base.h +9 -1
  2209. data/third_party/boringssl-with-bazel/src/include/openssl/bio.h +85 -42
  2210. data/third_party/boringssl-with-bazel/src/include/openssl/bn.h +14 -9
  2211. data/third_party/boringssl-with-bazel/src/include/openssl/bytestring.h +12 -4
  2212. data/third_party/boringssl-with-bazel/src/include/openssl/crypto.h +10 -11
  2213. data/third_party/boringssl-with-bazel/src/include/openssl/dh.h +17 -1
  2214. data/third_party/boringssl-with-bazel/src/include/openssl/dsa.h +10 -3
  2215. data/third_party/boringssl-with-bazel/src/include/openssl/err.h +13 -0
  2216. data/third_party/boringssl-with-bazel/src/include/openssl/evp.h +25 -14
  2217. data/third_party/boringssl-with-bazel/src/include/openssl/evp_errors.h +1 -0
  2218. data/third_party/boringssl-with-bazel/src/include/openssl/ex_data.h +15 -3
  2219. data/third_party/boringssl-with-bazel/src/include/openssl/experimental/dilithium.h +129 -0
  2220. data/third_party/boringssl-with-bazel/src/include/openssl/{kyber.h → experimental/kyber.h} +10 -0
  2221. data/third_party/boringssl-with-bazel/src/{crypto/spx/internal.h → include/openssl/experimental/spx.h} +24 -13
  2222. data/third_party/boringssl-with-bazel/src/include/openssl/hpke.h +8 -6
  2223. data/third_party/boringssl-with-bazel/src/include/openssl/mldsa.h +136 -0
  2224. data/third_party/boringssl-with-bazel/src/include/openssl/mlkem.h +246 -0
  2225. data/third_party/boringssl-with-bazel/src/include/openssl/nid.h +3 -0
  2226. data/third_party/boringssl-with-bazel/src/include/openssl/obj.h +2 -2
  2227. data/third_party/boringssl-with-bazel/src/include/openssl/pem.h +66 -57
  2228. data/third_party/boringssl-with-bazel/src/include/openssl/rand.h +19 -10
  2229. data/third_party/boringssl-with-bazel/src/include/openssl/service_indicator.h +2 -2
  2230. data/third_party/boringssl-with-bazel/src/include/openssl/span.h +48 -12
  2231. data/third_party/boringssl-with-bazel/src/include/openssl/ssl.h +393 -107
  2232. data/third_party/boringssl-with-bazel/src/include/openssl/stack.h +10 -3
  2233. data/third_party/boringssl-with-bazel/src/include/openssl/target.h +13 -10
  2234. data/third_party/boringssl-with-bazel/src/include/openssl/tls1.h +2 -2
  2235. data/third_party/boringssl-with-bazel/src/include/openssl/x509.h +2931 -2453
  2236. data/third_party/boringssl-with-bazel/src/ssl/d1_both.cc +9 -12
  2237. data/third_party/boringssl-with-bazel/src/ssl/d1_lib.cc +6 -0
  2238. data/third_party/boringssl-with-bazel/src/ssl/d1_pkt.cc +10 -5
  2239. data/third_party/boringssl-with-bazel/src/ssl/dtls_method.cc +14 -2
  2240. data/third_party/boringssl-with-bazel/src/ssl/dtls_record.cc +301 -66
  2241. data/third_party/boringssl-with-bazel/src/ssl/encrypted_client_hello.cc +3 -9
  2242. data/third_party/boringssl-with-bazel/src/ssl/extensions.cc +66 -58
  2243. data/third_party/boringssl-with-bazel/src/ssl/handoff.cc +1 -1
  2244. data/third_party/boringssl-with-bazel/src/ssl/handshake.cc +17 -7
  2245. data/third_party/boringssl-with-bazel/src/ssl/handshake_client.cc +138 -54
  2246. data/third_party/boringssl-with-bazel/src/ssl/handshake_server.cc +159 -117
  2247. data/third_party/boringssl-with-bazel/src/ssl/internal.h +349 -202
  2248. data/third_party/boringssl-with-bazel/src/ssl/s3_both.cc +45 -17
  2249. data/third_party/boringssl-with-bazel/src/ssl/s3_lib.cc +0 -1
  2250. data/third_party/boringssl-with-bazel/src/ssl/s3_pkt.cc +21 -1
  2251. data/third_party/boringssl-with-bazel/src/ssl/ssl_aead_ctx.cc +86 -1
  2252. data/third_party/boringssl-with-bazel/src/ssl/ssl_buffer.cc +7 -4
  2253. data/third_party/boringssl-with-bazel/src/ssl/ssl_cert.cc +59 -385
  2254. data/third_party/boringssl-with-bazel/src/ssl/ssl_cipher.cc +21 -19
  2255. data/third_party/boringssl-with-bazel/src/ssl/ssl_credential.cc +423 -0
  2256. data/third_party/boringssl-with-bazel/src/ssl/ssl_file.cc +2 -2
  2257. data/third_party/boringssl-with-bazel/src/ssl/ssl_key_share.cc +99 -4
  2258. data/third_party/boringssl-with-bazel/src/ssl/ssl_lib.cc +139 -83
  2259. data/third_party/boringssl-with-bazel/src/ssl/ssl_privkey.cc +116 -93
  2260. data/third_party/boringssl-with-bazel/src/ssl/ssl_session.cc +6 -14
  2261. data/third_party/boringssl-with-bazel/src/ssl/ssl_versions.cc +7 -1
  2262. data/third_party/boringssl-with-bazel/src/ssl/ssl_x509.cc +48 -116
  2263. data/third_party/boringssl-with-bazel/src/ssl/tls13_both.cc +21 -27
  2264. data/third_party/boringssl-with-bazel/src/ssl/tls13_client.cc +54 -7
  2265. data/third_party/boringssl-with-bazel/src/ssl/tls13_enc.cc +96 -34
  2266. data/third_party/boringssl-with-bazel/src/ssl/tls13_server.cc +68 -23
  2267. data/third_party/boringssl-with-bazel/src/ssl/tls_record.cc +4 -24
  2268. data/third_party/upb/upb/base/string_view.h +1 -1
  2269. data/third_party/upb/upb/json/decode.c +60 -13
  2270. data/third_party/upb/upb/json/decode.h +26 -3
  2271. data/third_party/upb/upb/json/encode.c +2 -2
  2272. data/third_party/upb/upb/lex/round_trip.c +10 -0
  2273. data/third_party/upb/upb/mem/arena.c +80 -4
  2274. data/third_party/upb/upb/mem/arena.h +20 -9
  2275. data/third_party/upb/upb/mem/arena.hpp +5 -1
  2276. data/third_party/upb/upb/mem/internal/arena.h +11 -8
  2277. data/third_party/upb/upb/message/accessors.c +6 -7
  2278. data/third_party/upb/upb/message/accessors.h +186 -376
  2279. data/third_party/upb/upb/message/array.c +26 -3
  2280. data/third_party/upb/upb/message/array.h +17 -9
  2281. data/third_party/upb/upb/message/compat.c +5 -5
  2282. data/third_party/upb/upb/message/compat.h +3 -3
  2283. data/third_party/upb/upb/message/copy.c +23 -20
  2284. data/third_party/upb/upb/message/internal/accessors.h +617 -55
  2285. data/third_party/upb/upb/message/internal/array.h +23 -15
  2286. data/third_party/upb/upb/message/internal/compare_unknown.c +289 -0
  2287. data/third_party/upb/upb/message/internal/compare_unknown.h +49 -0
  2288. data/third_party/upb/upb/message/internal/extension.c +12 -12
  2289. data/third_party/upb/upb/message/internal/extension.h +9 -12
  2290. data/third_party/upb/upb/message/internal/map.h +15 -0
  2291. data/third_party/upb/upb/message/internal/map_sorter.h +4 -5
  2292. data/third_party/upb/upb/message/internal/message.c +22 -6
  2293. data/third_party/upb/upb/message/internal/message.h +11 -0
  2294. data/third_party/upb/upb/message/internal/tagged_ptr.h +5 -5
  2295. data/third_party/upb/upb/message/internal/types.h +41 -1
  2296. data/third_party/upb/upb/message/map.c +25 -0
  2297. data/third_party/upb/upb/message/map.h +11 -7
  2298. data/third_party/upb/upb/message/merge.c +38 -0
  2299. data/third_party/upb/upb/message/merge.h +26 -0
  2300. data/third_party/upb/upb/message/message.c +83 -4
  2301. data/third_party/upb/upb/message/message.h +16 -1
  2302. data/third_party/upb/upb/message/tagged_ptr.h +4 -8
  2303. data/third_party/upb/upb/message/value.h +26 -0
  2304. data/third_party/upb/upb/mini_descriptor/build_enum.c +3 -3
  2305. data/third_party/upb/upb/mini_descriptor/build_enum.h +6 -14
  2306. data/third_party/upb/upb/mini_descriptor/decode.c +19 -3
  2307. data/third_party/upb/upb/mini_descriptor/link.c +23 -21
  2308. data/third_party/upb/upb/mini_table/enum.h +2 -4
  2309. data/third_party/upb/upb/mini_table/extension.h +4 -12
  2310. data/third_party/upb/upb/mini_table/extension_registry.c +18 -0
  2311. data/third_party/upb/upb/mini_table/extension_registry.h +17 -0
  2312. data/third_party/upb/upb/mini_table/field.h +12 -38
  2313. data/third_party/upb/upb/mini_table/file.h +6 -19
  2314. data/third_party/upb/upb/mini_table/internal/enum.h +1 -1
  2315. data/third_party/upb/upb/mini_table/internal/extension.h +18 -9
  2316. data/third_party/upb/upb/mini_table/internal/field.h +23 -23
  2317. data/third_party/upb/upb/mini_table/internal/file.h +7 -7
  2318. data/third_party/upb/upb/mini_table/internal/message.c +21 -1
  2319. data/third_party/upb/upb/mini_table/internal/message.h +80 -36
  2320. data/third_party/upb/upb/mini_table/internal/sub.h +9 -4
  2321. data/third_party/upb/upb/mini_table/message.h +23 -22
  2322. data/third_party/upb/upb/mini_table/sub.h +4 -12
  2323. data/third_party/upb/upb/port/def.inc +108 -12
  2324. data/third_party/upb/upb/port/undef.inc +8 -1
  2325. data/third_party/upb/upb/reflection/common.h +1 -11
  2326. data/third_party/upb/upb/reflection/def.hpp +35 -0
  2327. data/third_party/upb/upb/reflection/def_pool.h +2 -2
  2328. data/third_party/upb/upb/reflection/descriptor_bootstrap.h +19 -0
  2329. data/third_party/upb/upb/reflection/enum_def.c +5 -1
  2330. data/third_party/upb/upb/reflection/enum_def.h +1 -0
  2331. data/third_party/upb/upb/reflection/enum_value_def.c +3 -8
  2332. data/third_party/upb/upb/reflection/field_def.c +72 -46
  2333. data/third_party/upb/upb/reflection/field_def.h +4 -0
  2334. data/third_party/upb/upb/reflection/file_def.c +30 -4
  2335. data/third_party/upb/upb/reflection/file_def.h +3 -0
  2336. data/third_party/upb/upb/reflection/internal/upb_edition_defaults.h +1 -1
  2337. data/third_party/upb/upb/reflection/message.c +26 -9
  2338. data/third_party/upb/upb/reflection/message.h +2 -2
  2339. data/third_party/upb/upb/reflection/message_def.c +14 -9
  2340. data/third_party/upb/upb/reflection/method_def.h +8 -7
  2341. data/third_party/upb/upb/reflection/service_def.h +6 -5
  2342. data/third_party/upb/upb/text/encode.c +53 -389
  2343. data/third_party/upb/upb/text/encode.h +1 -11
  2344. data/third_party/upb/upb/text/internal/encode.c +180 -0
  2345. data/third_party/upb/upb/text/internal/encode.h +240 -0
  2346. data/third_party/upb/upb/text/options.h +22 -0
  2347. data/third_party/upb/upb/wire/decode.c +160 -94
  2348. data/third_party/upb/upb/wire/decode.h +15 -2
  2349. data/third_party/upb/upb/wire/encode.c +89 -48
  2350. data/third_party/upb/upb/wire/encode.h +12 -1
  2351. data/third_party/upb/upb/wire/eps_copy_input_stream.h +3 -3
  2352. data/third_party/upb/upb/wire/internal/decode_fast.c +28 -29
  2353. data/third_party/upb/upb/wire/internal/reader.h +3 -3
  2354. data/third_party/upb/upb/wire/reader.c +1 -2
  2355. data/third_party/upb/upb/wire/reader.h +4 -8
  2356. metadata +472 -383
  2357. data/src/core/client_channel/client_channel_channelz.cc +0 -93
  2358. data/src/core/client_channel/client_channel_channelz.h +0 -85
  2359. data/src/core/client_channel/config_selector.cc +0 -60
  2360. data/src/core/ext/filters/deadline/deadline_filter.cc +0 -407
  2361. data/src/core/ext/filters/deadline/deadline_filter.h +0 -85
  2362. data/src/core/ext/transport/chttp2/transport/http_trace.cc +0 -19
  2363. data/src/core/ext/transport/chttp2/transport/http_trace.h +0 -24
  2364. data/src/core/ext/transport/chttp2/transport/max_concurrent_streams_policy.cc +0 -44
  2365. data/src/core/ext/transport/chttp2/transport/max_concurrent_streams_policy.h +0 -67
  2366. data/src/core/ext/transport/inproc/inproc_plugin.cc +0 -23
  2367. data/src/core/ext/xds/xds_client_stats.cc +0 -173
  2368. data/src/core/ext/xds/xds_client_stats.h +0 -258
  2369. data/src/core/lib/channel/channel_stack_trace.cc +0 -19
  2370. data/src/core/lib/channel/channel_stack_trace.h +0 -24
  2371. data/src/core/lib/channel/context.h +0 -77
  2372. data/src/core/lib/channel/metrics.cc +0 -396
  2373. data/src/core/lib/channel/metrics.h +0 -406
  2374. data/src/core/lib/event_engine/trace.cc +0 -25
  2375. data/src/core/lib/event_engine/trace.h +0 -49
  2376. data/src/core/lib/gpr/android/log.cc +0 -79
  2377. data/src/core/lib/gpr/linux/log.cc +0 -114
  2378. data/src/core/lib/gpr/log.cc +0 -166
  2379. data/src/core/lib/gpr/log_internal.h +0 -55
  2380. data/src/core/lib/gpr/posix/log.cc +0 -111
  2381. data/src/core/lib/gpr/windows/log.cc +0 -116
  2382. data/src/core/lib/iomgr/ev_windows.cc +0 -30
  2383. data/src/core/lib/promise/trace.cc +0 -20
  2384. data/src/core/lib/promise/trace.h +0 -24
  2385. data/src/core/lib/resource_quota/trace.cc +0 -19
  2386. data/src/core/lib/resource_quota/trace.h +0 -24
  2387. data/src/core/lib/security/transport/tsi_error.cc +0 -31
  2388. data/src/core/lib/security/transport/tsi_error.h +0 -30
  2389. data/src/core/lib/slice/slice_refcount.cc +0 -20
  2390. data/src/core/lib/surface/api_trace.cc +0 -25
  2391. data/src/core/lib/surface/api_trace.h +0 -53
  2392. data/src/core/lib/surface/call_trace.h +0 -24
  2393. data/src/core/lib/surface/wait_for_cq_end_op.cc +0 -75
  2394. data/src/core/lib/surface/wait_for_cq_end_op.h +0 -72
  2395. data/src/core/lib/transport/batch_builder.cc +0 -170
  2396. data/src/core/lib/transport/batch_builder.h +0 -476
  2397. data/src/core/lib/transport/call_size_estimator.cc +0 -41
  2398. data/src/core/lib/transport/call_size_estimator.h +0 -52
  2399. data/src/core/lib/transport/handshaker.cc +0 -229
  2400. data/src/core/resolver/binder/binder_resolver.cc +0 -154
  2401. data/src/core/resolver/xds/xds_resolver_trace.h +0 -30
  2402. data/third_party/abseil-cpp/absl/strings/internal/has_absl_stringify.h +0 -44
  2403. data/third_party/boringssl-with-bazel/src/crypto/conf/conf_def.h +0 -122
  2404. data/third_party/boringssl-with-bazel/src/include/openssl/pki/certificate.h +0 -83
  2405. data/third_party/boringssl-with-bazel/src/include/openssl/pki/signature_verify_cache.h +0 -41
  2406. /data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/aes/{aes_nohw.c → aes_nohw.c.inc} +0 -0
  2407. /data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/aes/{key_wrap.c → key_wrap.c.inc} +0 -0
  2408. /data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/aes/{mode_wrappers.c → mode_wrappers.c.inc} +0 -0
  2409. /data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bn/{add.c → add.c.inc} +0 -0
  2410. /data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bn/asm/{x86_64-gcc.c → x86_64-gcc.c.inc} +0 -0
  2411. /data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bn/{bn.c → bn.c.inc} +0 -0
  2412. /data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bn/{cmp.c → cmp.c.inc} +0 -0
  2413. /data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bn/{ctx.c → ctx.c.inc} +0 -0
  2414. /data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bn/{gcd.c → gcd.c.inc} +0 -0
  2415. /data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bn/{generic.c → generic.c.inc} +0 -0
  2416. /data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bn/{jacobi.c → jacobi.c.inc} +0 -0
  2417. /data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bn/{montgomery.c → montgomery.c.inc} +0 -0
  2418. /data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bn/{rsaz_exp.c → rsaz_exp.c.inc} +0 -0
  2419. /data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bn/{shift.c → shift.c.inc} +0 -0
  2420. /data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/cipher/{aead.c → aead.c.inc} +0 -0
  2421. /data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/cipher/{cipher.c → cipher.c.inc} +0 -0
  2422. /data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/cipher/{e_aesccm.c → e_aesccm.c.inc} +0 -0
  2423. /data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/cmac/{cmac.c → cmac.c.inc} +0 -0
  2424. /data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/dh/{check.c → check.c.inc} +0 -0
  2425. /data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/dh/{dh.c → dh.c.inc} +0 -0
  2426. /data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/digest/{digest.c → digest.c.inc} +0 -0
  2427. /data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/digest/{digests.c → digests.c.inc} +0 -0
  2428. /data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/digestsign/{digestsign.c → digestsign.c.inc} +0 -0
  2429. /data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/ec/{ec.c → ec.c.inc} +0 -0
  2430. /data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/ec/{ec_montgomery.c → ec_montgomery.c.inc} +0 -0
  2431. /data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/ec/{felem.c → felem.c.inc} +0 -0
  2432. /data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/ec/{oct.c → oct.c.inc} +0 -0
  2433. /data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/ec/{p224-64.c → p224-64.c.inc} +0 -0
  2434. /data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/ec/{p256.c → p256.c.inc} +0 -0
  2435. /data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/ec/{simple.c → simple.c.inc} +0 -0
  2436. /data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/ec/{simple_mul.c → simple_mul.c.inc} +0 -0
  2437. /data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/ec/{util.c → util.c.inc} +0 -0
  2438. /data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/ec/{wnaf.c → wnaf.c.inc} +0 -0
  2439. /data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/ecdh/{ecdh.c → ecdh.c.inc} +0 -0
  2440. /data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/hkdf/{hkdf.c → hkdf.c.inc} +0 -0
  2441. /data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/hmac/{hmac.c → hmac.c.inc} +0 -0
  2442. /data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/md4/{md4.c → md4.c.inc} +0 -0
  2443. /data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/md5/{md5.c → md5.c.inc} +0 -0
  2444. /data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/modes/{cbc.c → cbc.c.inc} +0 -0
  2445. /data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/modes/{cfb.c → cfb.c.inc} +0 -0
  2446. /data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/modes/{ctr.c → ctr.c.inc} +0 -0
  2447. /data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/modes/{gcm.c → gcm.c.inc} +0 -0
  2448. /data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/modes/{gcm_nohw.c → gcm_nohw.c.inc} +0 -0
  2449. /data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/modes/{ofb.c → ofb.c.inc} +0 -0
  2450. /data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/modes/{polyval.c → polyval.c.inc} +0 -0
  2451. /data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/rand/{ctrdrbg.c → ctrdrbg.c.inc} +0 -0
  2452. /data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/rsa/{blinding.c → blinding.c.inc} +0 -0
  2453. /data/third_party/boringssl-with-bazel/src/crypto/{fipsmodule/rand → rand_extra}/getrandom_fillin.h +0 -0
@@ -19,12 +19,11 @@
19
19
  #ifndef GRPC_GRPC_SECURITY_H
20
20
  #define GRPC_GRPC_SECURITY_H
21
21
 
22
- #include <stdbool.h>
23
-
24
22
  #include <grpc/grpc.h>
25
23
  #include <grpc/grpc_security_constants.h>
26
24
  #include <grpc/status.h>
27
25
  #include <grpc/support/port_platform.h>
26
+ #include <stdbool.h>
28
27
 
29
28
  #ifdef __cplusplus
30
29
  extern "C" {
@@ -101,1157 +100,6 @@ GRPCAPI void grpc_auth_context_add_cstring_property(grpc_auth_context* ctx,
101
100
  GRPCAPI int grpc_auth_context_set_peer_identity_property_name(
102
101
  grpc_auth_context* ctx, const char* name);
103
102
 
104
- /** --- SSL Session Cache. ---
105
-
106
- A SSL session cache object represents a way to cache client sessions
107
- between connections. Only ticket-based resumption is supported. */
108
-
109
- typedef struct grpc_ssl_session_cache grpc_ssl_session_cache;
110
-
111
- /** Create LRU cache for client-side SSL sessions with the given capacity.
112
- If capacity is < 1, a default capacity is used instead. */
113
- GRPCAPI grpc_ssl_session_cache* grpc_ssl_session_cache_create_lru(
114
- size_t capacity);
115
-
116
- /** Destroy SSL session cache. */
117
- GRPCAPI void grpc_ssl_session_cache_destroy(grpc_ssl_session_cache* cache);
118
-
119
- /** Create a channel arg with the given cache object. */
120
- GRPCAPI grpc_arg
121
- grpc_ssl_session_cache_create_channel_arg(grpc_ssl_session_cache* cache);
122
-
123
- /** --- grpc_call_credentials object.
124
-
125
- A call credentials object represents a way to authenticate on a particular
126
- call. These credentials can be composed with a channel credentials object
127
- so that they are sent with every call on this channel. */
128
-
129
- typedef struct grpc_call_credentials grpc_call_credentials;
130
-
131
- /** Releases a call credentials object.
132
- The creator of the credentials object is responsible for its release. */
133
- GRPCAPI void grpc_call_credentials_release(grpc_call_credentials* creds);
134
-
135
- /** Creates default credentials to connect to a google gRPC service.
136
- WARNING: Do NOT use this credentials to connect to a non-google service as
137
- this could result in an oauth2 token leak. The security level of the
138
- resulting connection is GRPC_PRIVACY_AND_INTEGRITY.
139
-
140
- If specified, the supplied call credentials object will be attached to the
141
- returned channel credentials object. The call_credentials object must remain
142
- valid throughout the lifetime of the returned grpc_channel_credentials
143
- object. It is expected that the call credentials object was generated
144
- according to the Application Default Credentials mechanism and asserts the
145
- identity of the default service account of the machine. Supplying any other
146
- sort of call credential will result in undefined behavior, up to and
147
- including the sudden and unexpected failure of RPCs.
148
-
149
- If nullptr is supplied, the returned channel credentials object will use a
150
- call credentials object based on the Application Default Credentials
151
- mechanism.
152
- */
153
- GRPCAPI grpc_channel_credentials* grpc_google_default_credentials_create(
154
- grpc_call_credentials* call_credentials);
155
-
156
- /** Callback for getting the SSL roots override from the application.
157
- In case of success, *pem_roots_certs must be set to a NULL terminated string
158
- containing the list of PEM encoded root certificates. The ownership is passed
159
- to the core and freed (laster by the core) with gpr_free.
160
- If this function fails and GRPC_DEFAULT_SSL_ROOTS_FILE_PATH environment is
161
- set to a valid path, it will override the roots specified this func */
162
- typedef grpc_ssl_roots_override_result (*grpc_ssl_roots_override_callback)(
163
- char** pem_root_certs);
164
-
165
- /** Setup a callback to override the default TLS/SSL roots.
166
- This function is not thread-safe and must be called at initialization time
167
- before any ssl credentials are created to have the desired side effect.
168
- If GRPC_DEFAULT_SSL_ROOTS_FILE_PATH environment is set to a valid path, the
169
- callback will not be called. */
170
- GRPCAPI void grpc_set_ssl_roots_override_callback(
171
- grpc_ssl_roots_override_callback cb);
172
-
173
- /** Object that holds a private key / certificate chain pair in PEM format. */
174
- typedef struct {
175
- /** private_key is the NULL-terminated string containing the PEM encoding of
176
- the client's private key. */
177
- const char* private_key;
178
-
179
- /** cert_chain is the NULL-terminated string containing the PEM encoding of
180
- the client's certificate chain. */
181
- const char* cert_chain;
182
- } grpc_ssl_pem_key_cert_pair;
183
-
184
- /** Deprecated in favor of grpc_ssl_verify_peer_options. It will be removed
185
- after all of its call sites are migrated to grpc_ssl_verify_peer_options.
186
- Object that holds additional peer-verification options on a secure
187
- channel. */
188
- typedef struct {
189
- /** If non-NULL this callback will be invoked with the expected
190
- target_name, the peer's certificate (in PEM format), and whatever
191
- userdata pointer is set below. If a non-zero value is returned by this
192
- callback then it is treated as a verification failure. Invocation of
193
- the callback is blocking, so any implementation should be light-weight.
194
- */
195
- int (*verify_peer_callback)(const char* target_name, const char* peer_pem,
196
- void* userdata);
197
- /** Arbitrary userdata that will be passed as the last argument to
198
- verify_peer_callback. */
199
- void* verify_peer_callback_userdata;
200
- /** A destruct callback that will be invoked when the channel is being
201
- cleaned up. The userdata argument will be passed to it. The intent is
202
- to perform any cleanup associated with that userdata. */
203
- void (*verify_peer_destruct)(void* userdata);
204
- } verify_peer_options;
205
-
206
- /** Object that holds additional peer-verification options on a secure
207
- channel. */
208
- typedef struct {
209
- /** If non-NULL this callback will be invoked with the expected
210
- target_name, the peer's certificate (in PEM format), and whatever
211
- userdata pointer is set below. If a non-zero value is returned by this
212
- callback then it is treated as a verification failure. Invocation of
213
- the callback is blocking, so any implementation should be light-weight.
214
- */
215
- int (*verify_peer_callback)(const char* target_name, const char* peer_pem,
216
- void* userdata);
217
- /** Arbitrary userdata that will be passed as the last argument to
218
- verify_peer_callback. */
219
- void* verify_peer_callback_userdata;
220
- /** A destruct callback that will be invoked when the channel is being
221
- cleaned up. The userdata argument will be passed to it. The intent is
222
- to perform any cleanup associated with that userdata. */
223
- void (*verify_peer_destruct)(void* userdata);
224
- } grpc_ssl_verify_peer_options;
225
-
226
- /** Deprecated in favor of grpc_ssl_server_credentials_create_ex. It will be
227
- removed after all of its call sites are migrated to
228
- grpc_ssl_server_credentials_create_ex. Creates an SSL credentials object.
229
- The security level of the resulting connection is GRPC_PRIVACY_AND_INTEGRITY.
230
- - pem_root_certs is the NULL-terminated string containing the PEM encoding
231
- of the server root certificates. If this parameter is NULL, the
232
- implementation will first try to dereference the file pointed by the
233
- GRPC_DEFAULT_SSL_ROOTS_FILE_PATH environment variable, and if that fails,
234
- try to get the roots set by grpc_override_ssl_default_roots. Eventually,
235
- if all these fail, it will try to get the roots from a well-known place on
236
- disk (in the grpc install directory).
237
-
238
- gRPC has implemented root cache if the underlying OpenSSL library supports
239
- it. The gRPC root certificates cache is only applicable on the default
240
- root certificates, which is used when this parameter is nullptr. If user
241
- provides their own pem_root_certs, when creating an SSL credential object,
242
- gRPC would not be able to cache it, and each subchannel will generate a
243
- copy of the root store. So it is recommended to avoid providing large room
244
- pem with pem_root_certs parameter to avoid excessive memory consumption,
245
- particularly on mobile platforms such as iOS.
246
- - pem_key_cert_pair is a pointer on the object containing client's private
247
- key and certificate chain. This parameter can be NULL if the client does
248
- not have such a key/cert pair.
249
- - verify_options is an optional verify_peer_options object which holds
250
- additional options controlling how peer certificates are verified. For
251
- example, you can supply a callback which receives the peer's certificate
252
- with which you can do additional verification. Can be NULL, in which
253
- case verification will retain default behavior. Any settings in
254
- verify_options are copied during this call, so the verify_options
255
- object can be released afterwards. */
256
- GRPCAPI grpc_channel_credentials* grpc_ssl_credentials_create(
257
- const char* pem_root_certs, grpc_ssl_pem_key_cert_pair* pem_key_cert_pair,
258
- const verify_peer_options* verify_options, void* reserved);
259
-
260
- /* Creates an SSL credentials object.
261
- The security level of the resulting connection is GRPC_PRIVACY_AND_INTEGRITY.
262
- - pem_root_certs is the NULL-terminated string containing the PEM encoding
263
- of the server root certificates. If this parameter is NULL, the
264
- implementation will first try to dereference the file pointed by the
265
- GRPC_DEFAULT_SSL_ROOTS_FILE_PATH environment variable, and if that fails,
266
- try to get the roots set by grpc_override_ssl_default_roots. Eventually,
267
- if all these fail, it will try to get the roots from a well-known place on
268
- disk (in the grpc install directory).
269
-
270
- gRPC has implemented root cache if the underlying OpenSSL library supports
271
- it. The gRPC root certificates cache is only applicable on the default
272
- root certificates, which is used when this parameter is nullptr. If user
273
- provides their own pem_root_certs, when creating an SSL credential object,
274
- gRPC would not be able to cache it, and each subchannel will generate a
275
- copy of the root store. So it is recommended to avoid providing large room
276
- pem with pem_root_certs parameter to avoid excessive memory consumption,
277
- particularly on mobile platforms such as iOS.
278
- - pem_key_cert_pair is a pointer on the object containing client's private
279
- key and certificate chain. This parameter can be NULL if the client does
280
- not have such a key/cert pair.
281
- - verify_options is an optional verify_peer_options object which holds
282
- additional options controlling how peer certificates are verified. For
283
- example, you can supply a callback which receives the peer's certificate
284
- with which you can do additional verification. Can be NULL, in which
285
- case verification will retain default behavior. Any settings in
286
- verify_options are copied during this call, so the verify_options
287
- object can be released afterwards. */
288
- GRPCAPI grpc_channel_credentials* grpc_ssl_credentials_create_ex(
289
- const char* pem_root_certs, grpc_ssl_pem_key_cert_pair* pem_key_cert_pair,
290
- const grpc_ssl_verify_peer_options* verify_options, void* reserved);
291
-
292
- /** Creates a composite channel credentials object. The security level of
293
- * resulting connection is determined by channel_creds. */
294
- GRPCAPI grpc_channel_credentials* grpc_composite_channel_credentials_create(
295
- grpc_channel_credentials* channel_creds, grpc_call_credentials* call_creds,
296
- void* reserved);
297
-
298
- /** --- composite credentials. */
299
-
300
- /** Creates a composite call credentials object. */
301
- GRPCAPI grpc_call_credentials* grpc_composite_call_credentials_create(
302
- grpc_call_credentials* creds1, grpc_call_credentials* creds2,
303
- void* reserved);
304
-
305
- /** Creates a compute engine credentials object for connecting to Google.
306
- WARNING: Do NOT use this credentials to connect to a non-google service as
307
- this could result in an oauth2 token leak. */
308
- GRPCAPI grpc_call_credentials* grpc_google_compute_engine_credentials_create(
309
- void* reserved);
310
-
311
- GRPCAPI gpr_timespec grpc_max_auth_token_lifetime(void);
312
-
313
- /** Creates a JWT credentials object. May return NULL if the input is invalid.
314
- - json_key is the JSON key string containing the client's private key.
315
- - token_lifetime is the lifetime of each Json Web Token (JWT) created with
316
- this credentials. It should not exceed grpc_max_auth_token_lifetime or
317
- will be cropped to this value. */
318
- GRPCAPI grpc_call_credentials*
319
- grpc_service_account_jwt_access_credentials_create(const char* json_key,
320
- gpr_timespec token_lifetime,
321
- void* reserved);
322
-
323
- /** Builds External Account credentials.
324
- - json_string is the JSON string containing the credentials options.
325
- - scopes_string contains the scopes to be binded with the credentials.
326
- This API is used for experimental purposes for now and may change in the
327
- future. */
328
- GRPCAPI grpc_call_credentials* grpc_external_account_credentials_create(
329
- const char* json_string, const char* scopes_string);
330
-
331
- /** Creates an Oauth2 Refresh Token credentials object for connecting to Google.
332
- May return NULL if the input is invalid.
333
- WARNING: Do NOT use this credentials to connect to a non-google service as
334
- this could result in an oauth2 token leak.
335
- - json_refresh_token is the JSON string containing the refresh token itself
336
- along with a client_id and client_secret. */
337
- GRPCAPI grpc_call_credentials* grpc_google_refresh_token_credentials_create(
338
- const char* json_refresh_token, void* reserved);
339
-
340
- /** Creates an Oauth2 Access Token credentials with an access token that was
341
- acquired by an out of band mechanism. */
342
- GRPCAPI grpc_call_credentials* grpc_access_token_credentials_create(
343
- const char* access_token, void* reserved);
344
-
345
- /** Creates an IAM credentials object for connecting to Google. */
346
- GRPCAPI grpc_call_credentials* grpc_google_iam_credentials_create(
347
- const char* authorization_token, const char* authority_selector,
348
- void* reserved);
349
-
350
- /** Options for creating STS Oauth Token Exchange credentials following the IETF
351
- draft https://tools.ietf.org/html/draft-ietf-oauth-token-exchange-16.
352
- Optional fields may be set to NULL or empty string. It is the responsibility
353
- of the caller to ensure that the subject and actor tokens are refreshed on
354
- disk at the specified paths. This API is used for experimental purposes for
355
- now and may change in the future. */
356
- typedef struct {
357
- const char* token_exchange_service_uri; /* Required. */
358
- const char* resource; /* Optional. */
359
- const char* audience; /* Optional. */
360
- const char* scope; /* Optional. */
361
- const char* requested_token_type; /* Optional. */
362
- const char* subject_token_path; /* Required. */
363
- const char* subject_token_type; /* Required. */
364
- const char* actor_token_path; /* Optional. */
365
- const char* actor_token_type; /* Optional. */
366
- } grpc_sts_credentials_options;
367
-
368
- /** Creates an STS credentials following the STS Token Exchanged specifed in the
369
- IETF draft https://tools.ietf.org/html/draft-ietf-oauth-token-exchange-16.
370
- This API is used for experimental purposes for now and may change in the
371
- future. */
372
- GRPCAPI grpc_call_credentials* grpc_sts_credentials_create(
373
- const grpc_sts_credentials_options* options, void* reserved);
374
-
375
- /** Callback function to be called by the metadata credentials plugin
376
- implementation when the metadata is ready.
377
- - user_data is the opaque pointer that was passed in the get_metadata method
378
- of the grpc_metadata_credentials_plugin (see below).
379
- - creds_md is an array of credentials metadata produced by the plugin. It
380
- may be set to NULL in case of an error.
381
- - num_creds_md is the number of items in the creds_md array.
382
- - status must be GRPC_STATUS_OK in case of success or another specific error
383
- code otherwise.
384
- - error_details contains details about the error if any. In case of success
385
- it should be NULL and will be otherwise ignored. */
386
- typedef void (*grpc_credentials_plugin_metadata_cb)(
387
- void* user_data, const grpc_metadata* creds_md, size_t num_creds_md,
388
- grpc_status_code status, const char* error_details);
389
-
390
- /** Context that can be used by metadata credentials plugin in order to create
391
- auth related metadata. */
392
- typedef struct {
393
- /** The fully qualifed service url. */
394
- const char* service_url;
395
-
396
- /** The method name of the RPC being called (not fully qualified).
397
- The fully qualified method name can be built from the service_url:
398
- full_qualified_method_name = ctx->service_url + '/' + ctx->method_name. */
399
- const char* method_name;
400
-
401
- /** The auth_context of the channel which gives the server's identity. */
402
- const grpc_auth_context* channel_auth_context;
403
-
404
- /** Reserved for future use. */
405
- void* reserved;
406
- } grpc_auth_metadata_context;
407
-
408
- /** Performs a deep copy from \a from to \a to. **/
409
- GRPCAPI void grpc_auth_metadata_context_copy(grpc_auth_metadata_context* from,
410
- grpc_auth_metadata_context* to);
411
-
412
- /** Releases internal resources held by \a context. **/
413
- GRPCAPI void grpc_auth_metadata_context_reset(
414
- grpc_auth_metadata_context* context);
415
-
416
- /** Maximum number of metadata entries returnable by a credentials plugin via
417
- a synchronous return. */
418
- #define GRPC_METADATA_CREDENTIALS_PLUGIN_SYNC_MAX 4
419
-
420
- /** grpc_metadata_credentials plugin is an API user provided structure used to
421
- create grpc_credentials objects that can be set on a channel (composed) or
422
- a call. See grpc_credentials_metadata_create_from_plugin below.
423
- The grpc client stack will call the get_metadata method of the plugin for
424
- every call in scope for the credentials created from it. */
425
- typedef struct {
426
- /** The implementation of this method has to be non-blocking, but can
427
- be performed synchronously or asynchronously.
428
-
429
- If processing occurs synchronously, returns non-zero and populates
430
- creds_md, num_creds_md, status, and error_details. In this case,
431
- the caller takes ownership of the entries in creds_md and of
432
- error_details. Note that if the plugin needs to return more than
433
- GRPC_METADATA_CREDENTIALS_PLUGIN_SYNC_MAX entries in creds_md, it must
434
- return asynchronously.
435
-
436
- If processing occurs asynchronously, returns zero and invokes \a cb
437
- when processing is completed. \a user_data will be passed as the
438
- first parameter of the callback. NOTE: \a cb MUST be invoked in a
439
- different thread, not from the thread in which \a get_metadata() is
440
- invoked.
441
-
442
- \a context is the information that can be used by the plugin to create
443
- auth metadata. */
444
- int (*get_metadata)(
445
- void* state, grpc_auth_metadata_context context,
446
- grpc_credentials_plugin_metadata_cb cb, void* user_data,
447
- grpc_metadata creds_md[GRPC_METADATA_CREDENTIALS_PLUGIN_SYNC_MAX],
448
- size_t* num_creds_md, grpc_status_code* status,
449
- const char** error_details);
450
-
451
- /** Implements debug string of the given plugin. This method returns an
452
- * allocated string that the caller needs to free using gpr_free() */
453
- char* (*debug_string)(void* state);
454
-
455
- /** Destroys the plugin state. */
456
- void (*destroy)(void* state);
457
-
458
- /** State that will be set as the first parameter of the methods above. */
459
- void* state;
460
-
461
- /** Type of credentials that this plugin is implementing. */
462
- const char* type;
463
- } grpc_metadata_credentials_plugin;
464
-
465
- /** Creates a credentials object from a plugin with a specified minimum security
466
- * level. */
467
- GRPCAPI grpc_call_credentials* grpc_metadata_credentials_create_from_plugin(
468
- grpc_metadata_credentials_plugin plugin,
469
- grpc_security_level min_security_level, void* reserved);
470
-
471
- /** Server certificate config object holds the server's public certificates and
472
- associated private keys, as well as any CA certificates needed for client
473
- certificate validation (if applicable). Create using
474
- grpc_ssl_server_certificate_config_create(). */
475
- typedef struct grpc_ssl_server_certificate_config
476
- grpc_ssl_server_certificate_config;
477
-
478
- /** Creates a grpc_ssl_server_certificate_config object.
479
- - pem_roots_cert is the NULL-terminated string containing the PEM encoding of
480
- the client root certificates. This parameter may be NULL if the server does
481
- not want the client to be authenticated with SSL.
482
- - pem_key_cert_pairs is an array private key / certificate chains of the
483
- server. This parameter cannot be NULL.
484
- - num_key_cert_pairs indicates the number of items in the private_key_files
485
- and cert_chain_files parameters. It must be at least 1.
486
- - It is the caller's responsibility to free this object via
487
- grpc_ssl_server_certificate_config_destroy(). */
488
- GRPCAPI grpc_ssl_server_certificate_config*
489
- grpc_ssl_server_certificate_config_create(
490
- const char* pem_root_certs,
491
- const grpc_ssl_pem_key_cert_pair* pem_key_cert_pairs,
492
- size_t num_key_cert_pairs);
493
-
494
- /** Destroys a grpc_ssl_server_certificate_config object. */
495
- GRPCAPI void grpc_ssl_server_certificate_config_destroy(
496
- grpc_ssl_server_certificate_config* config);
497
-
498
- /** Callback to retrieve updated SSL server certificates, private keys, and
499
- trusted CAs (for client authentication).
500
- - user_data parameter, if not NULL, contains opaque data to be used by the
501
- callback.
502
- - Use grpc_ssl_server_certificate_config_create to create the config.
503
- - The caller assumes ownership of the config. */
504
- typedef grpc_ssl_certificate_config_reload_status (
505
- *grpc_ssl_server_certificate_config_callback)(
506
- void* user_data, grpc_ssl_server_certificate_config** config);
507
-
508
- /** Deprecated in favor of grpc_ssl_server_credentials_create_ex.
509
- Creates an SSL server_credentials object.
510
- - pem_roots_cert is the NULL-terminated string containing the PEM encoding of
511
- the client root certificates. This parameter may be NULL if the server does
512
- not want the client to be authenticated with SSL.
513
- - pem_key_cert_pairs is an array private key / certificate chains of the
514
- server. This parameter cannot be NULL.
515
- - num_key_cert_pairs indicates the number of items in the private_key_files
516
- and cert_chain_files parameters. It should be at least 1.
517
- - force_client_auth, if set to non-zero will force the client to authenticate
518
- with an SSL cert. Note that this option is ignored if pem_root_certs is
519
- NULL. */
520
- GRPCAPI grpc_server_credentials* grpc_ssl_server_credentials_create(
521
- const char* pem_root_certs, grpc_ssl_pem_key_cert_pair* pem_key_cert_pairs,
522
- size_t num_key_cert_pairs, int force_client_auth, void* reserved);
523
-
524
- /** Deprecated in favor of grpc_ssl_server_credentials_create_with_options.
525
- Same as grpc_ssl_server_credentials_create method except uses
526
- grpc_ssl_client_certificate_request_type enum to support more ways to
527
- authenticate client certificates.*/
528
- GRPCAPI grpc_server_credentials* grpc_ssl_server_credentials_create_ex(
529
- const char* pem_root_certs, grpc_ssl_pem_key_cert_pair* pem_key_cert_pairs,
530
- size_t num_key_cert_pairs,
531
- grpc_ssl_client_certificate_request_type client_certificate_request,
532
- void* reserved);
533
-
534
- typedef struct grpc_ssl_server_credentials_options
535
- grpc_ssl_server_credentials_options;
536
-
537
- /** Creates an options object using a certificate config. Use this method when
538
- the certificates and keys of the SSL server will not change during the
539
- server's lifetime.
540
- - Takes ownership of the certificate_config parameter. */
541
- GRPCAPI grpc_ssl_server_credentials_options*
542
- grpc_ssl_server_credentials_create_options_using_config(
543
- grpc_ssl_client_certificate_request_type client_certificate_request,
544
- grpc_ssl_server_certificate_config* certificate_config);
545
-
546
- /** Creates an options object using a certificate config fetcher. Use this
547
- method to reload the certificates and keys of the SSL server without
548
- interrupting the operation of the server. Initial certificate config will be
549
- fetched during server initialization.
550
- - user_data parameter, if not NULL, contains opaque data which will be passed
551
- to the fetcher (see definition of
552
- grpc_ssl_server_certificate_config_callback). */
553
- GRPCAPI grpc_ssl_server_credentials_options*
554
- grpc_ssl_server_credentials_create_options_using_config_fetcher(
555
- grpc_ssl_client_certificate_request_type client_certificate_request,
556
- grpc_ssl_server_certificate_config_callback cb, void* user_data);
557
-
558
- /** Destroys a grpc_ssl_server_credentials_options object. */
559
- GRPCAPI void grpc_ssl_server_credentials_options_destroy(
560
- grpc_ssl_server_credentials_options* options);
561
-
562
- /** Creates an SSL server_credentials object using the provided options struct.
563
- - Takes ownership of the options parameter. */
564
- GRPCAPI grpc_server_credentials*
565
- grpc_ssl_server_credentials_create_with_options(
566
- grpc_ssl_server_credentials_options* options);
567
-
568
- /** --- Call specific credentials. --- */
569
-
570
- /** Sets a credentials to a call. Can only be called on the client side before
571
- grpc_call_start_batch. */
572
- GRPCAPI grpc_call_error grpc_call_set_credentials(grpc_call* call,
573
- grpc_call_credentials* creds);
574
-
575
- /** --- Auth Metadata Processing --- */
576
-
577
- /** Callback function that is called when the metadata processing is done.
578
- - Consumed metadata will be removed from the set of metadata available on the
579
- call. consumed_md may be NULL if no metadata has been consumed.
580
- - Response metadata will be set on the response. response_md may be NULL.
581
- - status is GRPC_STATUS_OK for success or a specific status for an error.
582
- Common error status for auth metadata processing is either
583
- GRPC_STATUS_UNAUTHENTICATED in case of an authentication failure or
584
- GRPC_STATUS PERMISSION_DENIED in case of an authorization failure.
585
- - error_details gives details about the error. May be NULL. */
586
- typedef void (*grpc_process_auth_metadata_done_cb)(
587
- void* user_data, const grpc_metadata* consumed_md, size_t num_consumed_md,
588
- const grpc_metadata* response_md, size_t num_response_md,
589
- grpc_status_code status, const char* error_details);
590
-
591
- /** Pluggable server-side metadata processor object. */
592
- typedef struct {
593
- /** The context object is read/write: it contains the properties of the
594
- channel peer and it is the job of the process function to augment it with
595
- properties derived from the passed-in metadata.
596
- The lifetime of these objects is guaranteed until cb is invoked. */
597
- void (*process)(void* state, grpc_auth_context* context,
598
- const grpc_metadata* md, size_t num_md,
599
- grpc_process_auth_metadata_done_cb cb, void* user_data);
600
- void (*destroy)(void* state);
601
- void* state;
602
- } grpc_auth_metadata_processor;
603
-
604
- GRPCAPI void grpc_server_credentials_set_auth_metadata_processor(
605
- grpc_server_credentials* creds, grpc_auth_metadata_processor processor);
606
-
607
- /** --- ALTS channel/server credentials --- **/
608
-
609
- /**
610
- * Main interface for ALTS credentials options. The options will contain
611
- * information that will be passed from grpc to TSI layer such as RPC protocol
612
- * versions. ALTS client (channel) and server credentials will have their own
613
- * implementation of this interface. The APIs listed in this header are
614
- * thread-compatible. It is used for experimental purpose for now and subject
615
- * to change.
616
- */
617
- typedef struct grpc_alts_credentials_options grpc_alts_credentials_options;
618
-
619
- /**
620
- * This method creates a grpc ALTS credentials client options instance.
621
- * It is used for experimental purpose for now and subject to change.
622
- */
623
- GRPCAPI grpc_alts_credentials_options*
624
- grpc_alts_credentials_client_options_create(void);
625
-
626
- /**
627
- * This method creates a grpc ALTS credentials server options instance.
628
- * It is used for experimental purpose for now and subject to change.
629
- */
630
- GRPCAPI grpc_alts_credentials_options*
631
- grpc_alts_credentials_server_options_create(void);
632
-
633
- /**
634
- * This method adds a target service account to grpc client's ALTS credentials
635
- * options instance. It is used for experimental purpose for now and subject
636
- * to change.
637
- *
638
- * - options: grpc ALTS credentials options instance.
639
- * - service_account: service account of target endpoint.
640
- */
641
- GRPCAPI void grpc_alts_credentials_client_options_add_target_service_account(
642
- grpc_alts_credentials_options* options, const char* service_account);
643
-
644
- /**
645
- * This method destroys a grpc_alts_credentials_options instance by
646
- * de-allocating all of its occupied memory. It is used for experimental purpose
647
- * for now and subject to change.
648
- *
649
- * - options: a grpc_alts_credentials_options instance that needs to be
650
- * destroyed.
651
- */
652
- GRPCAPI void grpc_alts_credentials_options_destroy(
653
- grpc_alts_credentials_options* options);
654
-
655
- /**
656
- * This method creates an ALTS channel credential object. The security
657
- * level of the resulting connection is GRPC_PRIVACY_AND_INTEGRITY.
658
- * It is used for experimental purpose for now and subject to change.
659
- *
660
- * - options: grpc ALTS credentials options instance for client.
661
- *
662
- * It returns the created ALTS channel credential object.
663
- */
664
- GRPCAPI grpc_channel_credentials* grpc_alts_credentials_create(
665
- const grpc_alts_credentials_options* options);
666
-
667
- /**
668
- * This method creates an ALTS server credential object. It is used for
669
- * experimental purpose for now and subject to change.
670
- *
671
- * - options: grpc ALTS credentials options instance for server.
672
- *
673
- * It returns the created ALTS server credential object.
674
- */
675
- GRPCAPI grpc_server_credentials* grpc_alts_server_credentials_create(
676
- const grpc_alts_credentials_options* options);
677
-
678
- /** --- Local channel/server credentials --- **/
679
-
680
- /**
681
- * This method creates a local channel credential object. The security level
682
- * of the resulting connection is GRPC_PRIVACY_AND_INTEGRITY for UDS and
683
- * GRPC_SECURITY_NONE for LOCAL_TCP. It is used for experimental purpose
684
- * for now and subject to change.
685
- *
686
- * - type: local connection type
687
- *
688
- * It returns the created local channel credential object.
689
- */
690
- GRPCAPI grpc_channel_credentials* grpc_local_credentials_create(
691
- grpc_local_connect_type type);
692
-
693
- /**
694
- * This method creates a local server credential object. It is used for
695
- * experimental purpose for now and subject to change.
696
- *
697
- * - type: local connection type
698
- *
699
- * It returns the created local server credential object.
700
- */
701
- GRPCAPI grpc_server_credentials* grpc_local_server_credentials_create(
702
- grpc_local_connect_type type);
703
-
704
- /** --- TLS channel/server credentials ---
705
- * It is used for experimental purpose for now and subject to change. */
706
-
707
- /**
708
- * EXPERIMENTAL API - Subject to change
709
- *
710
- * A struct that can be specified by callers to configure underlying TLS
711
- * behaviors.
712
- */
713
- typedef struct grpc_tls_credentials_options grpc_tls_credentials_options;
714
-
715
- /**
716
- * EXPERIMENTAL API - Subject to change
717
- *
718
- * A struct provides ways to gain credential data that will be used in the TLS
719
- * handshake.
720
- */
721
- typedef struct grpc_tls_certificate_provider grpc_tls_certificate_provider;
722
-
723
- /**
724
- * EXPERIMENTAL API - Subject to change
725
- *
726
- * A struct that stores the credential data presented to the peer in handshake
727
- * to show local identity.
728
- */
729
- typedef struct grpc_tls_identity_pairs grpc_tls_identity_pairs;
730
-
731
- /**
732
- * EXPERIMENTAL API - Subject to change
733
- *
734
- * Creates a grpc_tls_identity_pairs that stores a list of identity credential
735
- * data, including identity private key and identity certificate chain.
736
- */
737
- GRPCAPI grpc_tls_identity_pairs* grpc_tls_identity_pairs_create();
738
-
739
- /**
740
- * EXPERIMENTAL API - Subject to change
741
- *
742
- * Adds a identity private key and a identity certificate chain to
743
- * grpc_tls_identity_pairs. This function will make an internal copy of
744
- * |private_key| and |cert_chain|.
745
- */
746
- GRPCAPI void grpc_tls_identity_pairs_add_pair(grpc_tls_identity_pairs* pairs,
747
- const char* private_key,
748
- const char* cert_chain);
749
-
750
- /**
751
- * EXPERIMENTAL API - Subject to change
752
- *
753
- * Destroys a grpc_tls_identity_pairs object. If this object is passed to a
754
- * provider initiation function, the ownership is transferred so this function
755
- * doesn't need to be called. Otherwise the creator of the
756
- * grpc_tls_identity_pairs object is responsible for its destruction.
757
- */
758
- GRPCAPI void grpc_tls_identity_pairs_destroy(grpc_tls_identity_pairs* pairs);
759
-
760
- /**
761
- * EXPERIMENTAL API - Subject to change
762
- *
763
- * Creates a grpc_tls_certificate_provider that will load credential data from
764
- * static string during initialization. This provider will always return the
765
- * same cert data for all cert names.
766
- * root_certificate and pem_key_cert_pairs can be nullptr, indicating the
767
- * corresponding credential data is not needed.
768
- * This function will make a copy of |root_certificate|.
769
- * The ownership of |pem_key_cert_pairs| is transferred.
770
- */
771
- GRPCAPI grpc_tls_certificate_provider*
772
- grpc_tls_certificate_provider_static_data_create(
773
- const char* root_certificate, grpc_tls_identity_pairs* pem_key_cert_pairs);
774
-
775
- /**
776
- * EXPERIMENTAL API - Subject to change
777
- *
778
- * Creates a grpc_tls_certificate_provider that will watch the credential
779
- * changes on the file system. This provider will always return the up-to-date
780
- * cert data for all the cert names callers set through
781
- * |grpc_tls_credentials_options|. Note that this API only supports one key-cert
782
- * file and hence one set of identity key-cert pair, so SNI(Server Name
783
- * Indication) is not supported.
784
- * - private_key_path is the file path of the private key. This must be set if
785
- * |identity_certificate_path| is set. Otherwise, it could be null if no
786
- * identity credentials are needed.
787
- * - identity_certificate_path is the file path of the identity certificate
788
- * chain. This must be set if |private_key_path| is set. Otherwise, it could
789
- * be null if no identity credentials are needed.
790
- * - root_cert_path is the file path to the root certificate bundle. This
791
- * may be null if no root certs are needed.
792
- * - refresh_interval_sec is the refreshing interval that we will check the
793
- * files for updates.
794
- * It does not take ownership of parameters.
795
- */
796
- GRPCAPI grpc_tls_certificate_provider*
797
- grpc_tls_certificate_provider_file_watcher_create(
798
- const char* private_key_path, const char* identity_certificate_path,
799
- const char* root_cert_path, unsigned int refresh_interval_sec);
800
-
801
- /**
802
- * EXPERIMENTAL API - Subject to change
803
- *
804
- * Releases a grpc_tls_certificate_provider object. The creator of the
805
- * grpc_tls_certificate_provider object is responsible for its release.
806
- */
807
- GRPCAPI void grpc_tls_certificate_provider_release(
808
- grpc_tls_certificate_provider* provider);
809
-
810
- /**
811
- * EXPERIMENTAL API - Subject to change
812
- *
813
- * Creates an grpc_tls_credentials_options.
814
- */
815
- GRPCAPI grpc_tls_credentials_options* grpc_tls_credentials_options_create(void);
816
-
817
- /**
818
- * EXPERIMENTAL API - Subject to change
819
- *
820
- * Sets the minimum TLS version that will be negotiated during the TLS
821
- * handshake. If not set, the underlying SSL library will set it to TLS v1.2.
822
- */
823
- GRPCAPI void grpc_tls_credentials_options_set_min_tls_version(
824
- grpc_tls_credentials_options* options, grpc_tls_version min_tls_version);
825
-
826
- /**
827
- * EXPERIMENTAL API - Subject to change
828
- *
829
- * Sets the maximum TLS version that will be negotiated during the TLS
830
- * handshake. If not set, the underlying SSL library will set it to TLS v1.3.
831
- */
832
- GRPCAPI void grpc_tls_credentials_options_set_max_tls_version(
833
- grpc_tls_credentials_options* options, grpc_tls_version max_tls_version);
834
-
835
- /**
836
- * EXPERIMENTAL API - Subject to change
837
- *
838
- * Copies a grpc_tls_credentials_options.
839
- */
840
- GRPCAPI grpc_tls_credentials_options* grpc_tls_credentials_options_copy(
841
- grpc_tls_credentials_options* options);
842
-
843
- /**
844
- * EXPERIMENTAL API - Subject to change
845
- *
846
- * Destroys a grpc_tls_credentials_options.
847
- */
848
- GRPCAPI void grpc_tls_credentials_options_destroy(
849
- grpc_tls_credentials_options* options);
850
-
851
- /**
852
- * EXPERIMENTAL API - Subject to change
853
- *
854
- * Sets the credential provider in the options.
855
- * The |options| will implicitly take a new ref to the |provider|.
856
- */
857
- GRPCAPI void grpc_tls_credentials_options_set_certificate_provider(
858
- grpc_tls_credentials_options* options,
859
- grpc_tls_certificate_provider* provider);
860
-
861
- /**
862
- * EXPERIMENTAL API - Subject to change
863
- *
864
- * If set, gRPC stack will keep watching the root certificates with
865
- * name |root_cert_name|.
866
- * If this is not set on the client side, we will use the root certificates
867
- * stored in the default system location, since client side must provide root
868
- * certificates in TLS.
869
- * If this is not set on the server side, we will not watch any root certificate
870
- * updates, and assume no root certificates needed for the server(single-side
871
- * TLS). Default root certs on the server side is not supported.
872
- */
873
- GRPCAPI void grpc_tls_credentials_options_watch_root_certs(
874
- grpc_tls_credentials_options* options);
875
-
876
- /**
877
- * EXPERIMENTAL API - Subject to change
878
- *
879
- * Sets the name of the root certificates being watched.
880
- * If not set, We will use a default empty string as the root certificate name.
881
- */
882
- GRPCAPI void grpc_tls_credentials_options_set_root_cert_name(
883
- grpc_tls_credentials_options* options, const char* root_cert_name);
884
-
885
- /**
886
- * EXPERIMENTAL API - Subject to change
887
- *
888
- * If set, gRPC stack will keep watching the identity key-cert pairs
889
- * with name |identity_cert_name|.
890
- * This is required on the server side, and optional on the client side.
891
- */
892
- GRPCAPI void grpc_tls_credentials_options_watch_identity_key_cert_pairs(
893
- grpc_tls_credentials_options* options);
894
-
895
- /**
896
- * EXPERIMENTAL API - Subject to change
897
- *
898
- * Sets the name of the identity certificates being watched.
899
- * If not set, We will use a default empty string as the identity certificate
900
- * name.
901
- */
902
- GRPCAPI void grpc_tls_credentials_options_set_identity_cert_name(
903
- grpc_tls_credentials_options* options, const char* identity_cert_name);
904
-
905
- /**
906
- * EXPERIMENTAL API - Subject to change
907
- *
908
- * Sets the options of whether to request and/or verify client certs. This shall
909
- * only be called on the server side.
910
- */
911
- GRPCAPI void grpc_tls_credentials_options_set_cert_request_type(
912
- grpc_tls_credentials_options* options,
913
- grpc_ssl_client_certificate_request_type type);
914
-
915
- /** Deprecated in favor of grpc_tls_credentials_options_set_crl_provider. The
916
- * crl provider interface provides a significantly more flexible approach to
917
- * using CRLs. See gRFC A69 for details.
918
- * EXPERIMENTAL API - Subject to change
919
- *
920
- * If set, gRPC will read all hashed x.509 CRL files in the directory and
921
- * enforce the CRL files on all TLS handshakes. Only supported for OpenSSL
922
- * version > 1.1.
923
- * It is used for experimental purpose for now and subject to change.
924
- */
925
- GRPCAPI void grpc_tls_credentials_options_set_crl_directory(
926
- grpc_tls_credentials_options* options, const char* crl_directory);
927
-
928
- /**
929
- * EXPERIMENTAL API - Subject to change
930
- *
931
- * Sets the options of whether to verify server certs on the client side.
932
- * Passing in a non-zero value indicates verifying the certs.
933
- */
934
- GRPCAPI void grpc_tls_credentials_options_set_verify_server_cert(
935
- grpc_tls_credentials_options* options, int verify_server_cert);
936
-
937
- /**
938
- * EXPERIMENTAL API - Subject to change
939
- *
940
- * Sets whether or not a TLS server should send a list of CA names in the
941
- * ServerHello. This list of CA names is read from the server's trust bundle, so
942
- * that the client can use this list as a hint to know which certificate it
943
- * should send to the server.
944
- *
945
- * WARNING: This API is extremely dangerous and should not be used. If the
946
- * server's trust bundle is too large, then the TLS server will be unable to
947
- * form a ServerHello, and hence will be unusable. The definition of "too large"
948
- * depends on the underlying SSL library being used and on the size of the CN
949
- * fields of the certificates in the trust bundle.
950
- */
951
- GRPCAPI void grpc_tls_credentials_options_set_send_client_ca_list(
952
- grpc_tls_credentials_options* options, bool send_client_ca_list);
953
-
954
- /**
955
- * EXPERIMENTAL API - Subject to change
956
- *
957
- * The read-only request information exposed in a verification call.
958
- * Callers should not directly manage the ownership of it. We will make sure it
959
- * is always available inside verify() or cancel() call, and will destroy the
960
- * object at the end of custom verification.
961
- */
962
- typedef struct grpc_tls_custom_verification_check_request {
963
- /* The target name of the server when the client initiates the connection. */
964
- /* This field will be nullptr if on the server side. */
965
- const char* target_name;
966
- /* The information contained in the certificate chain sent from the peer. */
967
- struct peer_info {
968
- /* The Common Name field on the peer leaf certificate. */
969
- const char* common_name;
970
- /* The list of Subject Alternative Names on the peer leaf certificate. */
971
- struct san_names {
972
- char** uri_names;
973
- size_t uri_names_size;
974
- char** dns_names;
975
- size_t dns_names_size;
976
- char** email_names;
977
- size_t email_names_size;
978
- char** ip_names;
979
- size_t ip_names_size;
980
- } san_names;
981
- /* The raw peer leaf certificate. */
982
- const char* peer_cert;
983
- /* The raw peer certificate chain. Note that it is not always guaranteed to
984
- * get the peer full chain. For more, please refer to
985
- * GRPC_X509_PEM_CERT_CHAIN_PROPERTY_NAME defined in file
986
- * grpc_security_constants.h.
987
- * TODO(ZhenLian): Consider fixing this in the future. */
988
- const char* peer_cert_full_chain;
989
- /* The verified root cert subject.
990
- * This value will only be filled if the cryptographic peer certificate
991
- * verification was successful */
992
- const char* verified_root_cert_subject;
993
- } peer_info;
994
- } grpc_tls_custom_verification_check_request;
995
-
996
- /**
997
- * EXPERIMENTAL API - Subject to change
998
- *
999
- * A callback function provided by gRPC as a parameter of the |verify| function
1000
- * in grpc_tls_certificate_verifier_external. If |verify| is expected to be run
1001
- * asynchronously, the implementer of |verify| will need to invoke this callback
1002
- * with |callback_arg| and proper verification status at the end to bring the
1003
- * control back to gRPC C core.
1004
- */
1005
- typedef void (*grpc_tls_on_custom_verification_check_done_cb)(
1006
- grpc_tls_custom_verification_check_request* request, void* callback_arg,
1007
- grpc_status_code status, const char* error_details);
1008
-
1009
- /**
1010
- * EXPERIMENTAL API - Subject to change
1011
- *
1012
- * The internal verifier type that will be used inside core.
1013
- */
1014
- typedef struct grpc_tls_certificate_verifier grpc_tls_certificate_verifier;
1015
-
1016
- /**
1017
- * EXPERIMENTAL API - Subject to change
1018
- *
1019
- * A struct containing all the necessary functions a custom external verifier
1020
- * needs to implement to be able to be converted to an internal verifier.
1021
- */
1022
- typedef struct grpc_tls_certificate_verifier_external {
1023
- void* user_data;
1024
- /**
1025
- * A function pointer containing the verification logic that will be
1026
- * performed after the TLS handshake is done. It could be processed
1027
- * synchronously or asynchronously.
1028
- * - If expected to be processed synchronously, the implementer should
1029
- * populate the verification result through |sync_status| and
1030
- * |sync_error_details|, and then return true.
1031
- * - If expected to be processed asynchronously, the implementer should return
1032
- * false immediately, and then in the asynchronous thread invoke |callback|
1033
- * with the verification result. The implementer MUST NOT invoke the async
1034
- * |callback| in the same thread before |verify| returns, otherwise it can
1035
- * lead to deadlocks.
1036
- *
1037
- * user_data: any argument that is passed in the user_data of
1038
- * grpc_tls_certificate_verifier_external during construction time
1039
- * can be retrieved later here.
1040
- * request: request information exposed to the function implementer.
1041
- * callback: the callback that the function implementer needs to invoke, if
1042
- * return a non-zero value. It is usually invoked when the
1043
- * asynchronous verification is done, and serves to bring the
1044
- * control back to gRPC.
1045
- * callback_arg: A pointer to the internal ExternalVerifier instance. This is
1046
- * mainly used as an argument in |callback|, if want to invoke
1047
- * |callback| in async mode.
1048
- * sync_status: indicates if a connection should be allowed. This should only
1049
- * be used if the verification check is done synchronously.
1050
- * sync_error_details: the error generated while verifying a connection. This
1051
- * should only be used if the verification check is done
1052
- * synchronously. the implementation must allocate the
1053
- * error string via gpr_malloc() or gpr_strdup().
1054
- * return: return 0 if |verify| is expected to be executed asynchronously,
1055
- * otherwise return a non-zero value.
1056
- */
1057
- int (*verify)(void* user_data,
1058
- grpc_tls_custom_verification_check_request* request,
1059
- grpc_tls_on_custom_verification_check_done_cb callback,
1060
- void* callback_arg, grpc_status_code* sync_status,
1061
- char** sync_error_details);
1062
- /**
1063
- * A function pointer that cleans up the caller-specified resources when the
1064
- * verifier is still running but the whole connection got cancelled. This
1065
- * could happen when the verifier is doing some async operations, and the
1066
- * whole handshaker object got destroyed because of connection time limit is
1067
- * reached, or any other reasons. In such cases, function implementers might
1068
- * want to be notified, and properly clean up some resources.
1069
- *
1070
- * user_data: any argument that is passed in the user_data of
1071
- * grpc_tls_certificate_verifier_external during construction time
1072
- * can be retrieved later here.
1073
- * request: request information exposed to the function implementer. It will
1074
- * be the same request object that was passed to verify(), and it
1075
- * tells the cancel() which request to cancel.
1076
- */
1077
- void (*cancel)(void* user_data,
1078
- grpc_tls_custom_verification_check_request* request);
1079
- /**
1080
- * A function pointer that does some additional destruction work when the
1081
- * verifier is destroyed. This is used when the caller wants to associate some
1082
- * objects to the lifetime of external_verifier, and destroy them when
1083
- * external_verifier got destructed. For example, in C++, the class containing
1084
- * user-specified callback functions should not be destroyed before
1085
- * external_verifier, since external_verifier will invoke them while being
1086
- * used.
1087
- * Note that the caller MUST delete the grpc_tls_certificate_verifier_external
1088
- * object itself in this function, otherwise it will cause memory leaks. That
1089
- * also means the user_data has to carries at least a self pointer, for the
1090
- * callers to later delete it in destruct().
1091
- *
1092
- * user_data: any argument that is passed in the user_data of
1093
- * grpc_tls_certificate_verifier_external during construction time
1094
- * can be retrieved later here.
1095
- */
1096
- void (*destruct)(void* user_data);
1097
- } grpc_tls_certificate_verifier_external;
1098
-
1099
- /**
1100
- * EXPERIMENTAL API - Subject to change
1101
- *
1102
- * Converts an external verifier to an internal verifier.
1103
- * Note that we will not take the ownership of the external_verifier. Callers
1104
- * will need to delete external_verifier in its own destruct function.
1105
- */
1106
- grpc_tls_certificate_verifier* grpc_tls_certificate_verifier_external_create(
1107
- grpc_tls_certificate_verifier_external* external_verifier);
1108
-
1109
- /**
1110
- * EXPERIMENTAL API - Subject to change
1111
- *
1112
- * Factory function for an internal verifier that won't perform any
1113
- * post-handshake verification. Note: using this solely without any other
1114
- * authentication mechanisms on the peer identity will leave your applications
1115
- * to the MITM(Man-In-The-Middle) attacks. Users should avoid doing so in
1116
- * production environments.
1117
- */
1118
- grpc_tls_certificate_verifier* grpc_tls_certificate_verifier_no_op_create();
1119
-
1120
- /**
1121
- * EXPERIMENTAL API - Subject to change
1122
- *
1123
- * Factory function for an internal verifier that will do the default hostname
1124
- * check.
1125
- */
1126
- grpc_tls_certificate_verifier* grpc_tls_certificate_verifier_host_name_create();
1127
-
1128
- /**
1129
- * EXPERIMENTAL API - Subject to change
1130
- *
1131
- * Releases a grpc_tls_certificate_verifier object. The creator of the
1132
- * grpc_tls_certificate_verifier object is responsible for its release.
1133
- */
1134
- void grpc_tls_certificate_verifier_release(
1135
- grpc_tls_certificate_verifier* verifier);
1136
-
1137
- /**
1138
- * EXPERIMENTAL API - Subject to change
1139
- *
1140
- * Sets the verifier in options. The |options| will implicitly take a new ref to
1141
- * the |verifier|. If not set on the client side, we will verify server's
1142
- * certificates, and check the default hostname. If not set on the server side,
1143
- * we will verify client's certificates.
1144
- */
1145
- void grpc_tls_credentials_options_set_certificate_verifier(
1146
- grpc_tls_credentials_options* options,
1147
- grpc_tls_certificate_verifier* verifier);
1148
-
1149
- /**
1150
- * EXPERIMENTAL API - Subject to change
1151
- *
1152
- * Sets the options of whether to check the hostname of the peer on a per-call
1153
- * basis. This is usually used in a combination with virtual hosting at the
1154
- * client side, where each individual call on a channel can have a different
1155
- * host associated with it.
1156
- * This check is intended to verify that the host specified for the individual
1157
- * call is covered by the cert that the peer presented.
1158
- * The default is a non-zero value, which indicates performing such checks.
1159
- */
1160
- GRPCAPI void grpc_tls_credentials_options_set_check_call_host(
1161
- grpc_tls_credentials_options* options, int check_call_host);
1162
-
1163
- /**
1164
- * EXPERIMENTAL API - Subject to change
1165
- *
1166
- * Performs the verification logic of an internal verifier.
1167
- * This is typically used when composing the internal verifiers as part of the
1168
- * custom verification.
1169
- * If |grpc_tls_certificate_verifier_verify| returns true, inspect the
1170
- * verification result through request->status and request->error_details.
1171
- * Otherwise, inspect through the parameter of |callback|.
1172
- */
1173
- int grpc_tls_certificate_verifier_verify(
1174
- grpc_tls_certificate_verifier* verifier,
1175
- grpc_tls_custom_verification_check_request* request,
1176
- grpc_tls_on_custom_verification_check_done_cb callback, void* callback_arg,
1177
- grpc_status_code* sync_status, char** sync_error_details);
1178
-
1179
- /**
1180
- * EXPERIMENTAL API - Subject to change
1181
- *
1182
- * Performs the cancellation logic of an internal verifier.
1183
- * This is typically used when composing the internal verifiers as part of the
1184
- * custom verification.
1185
- */
1186
- void grpc_tls_certificate_verifier_cancel(
1187
- grpc_tls_certificate_verifier* verifier,
1188
- grpc_tls_custom_verification_check_request* request);
1189
-
1190
- /**
1191
- * EXPERIMENTAL API - Subject to change
1192
- *
1193
- * Creates a TLS channel credential object based on the
1194
- * grpc_tls_credentials_options specified by callers. The
1195
- * grpc_channel_credentials will take the ownership of the |options|. The
1196
- * security level of the resulting connection is GRPC_PRIVACY_AND_INTEGRITY.
1197
- */
1198
- grpc_channel_credentials* grpc_tls_credentials_create(
1199
- grpc_tls_credentials_options* options);
1200
-
1201
- /**
1202
- * EXPERIMENTAL API - Subject to change
1203
- *
1204
- * Creates a TLS server credential object based on the
1205
- * grpc_tls_credentials_options specified by callers. The
1206
- * grpc_server_credentials will take the ownership of the |options|.
1207
- */
1208
- grpc_server_credentials* grpc_tls_server_credentials_create(
1209
- grpc_tls_credentials_options* options);
1210
-
1211
- /**
1212
- * EXPERIMENTAL API - Subject to change
1213
- *
1214
- * This method creates an insecure channel credentials object.
1215
- */
1216
- GRPCAPI grpc_channel_credentials* grpc_insecure_credentials_create();
1217
-
1218
- /**
1219
- * EXPERIMENTAL API - Subject to change
1220
- *
1221
- * This method creates an insecure server credentials object.
1222
- */
1223
- GRPCAPI grpc_server_credentials* grpc_insecure_server_credentials_create();
1224
-
1225
- /**
1226
- * EXPERIMENTAL API - Subject to change
1227
- *
1228
- * This method creates an xDS channel credentials object.
1229
- *
1230
- * Creating a channel with credentials of this type indicates that the channel
1231
- * should get credentials configuration from the xDS control plane.
1232
- *
1233
- * \a fallback_credentials are used if the channel target does not have the
1234
- * 'xds:///' scheme or if the xDS control plane does not provide information on
1235
- * how to fetch credentials dynamically. Does NOT take ownership of the \a
1236
- * fallback_credentials. (Internally takes a ref to the object.)
1237
- */
1238
- GRPCAPI grpc_channel_credentials* grpc_xds_credentials_create(
1239
- grpc_channel_credentials* fallback_credentials);
1240
-
1241
- /**
1242
- * EXPERIMENTAL API - Subject to change
1243
- *
1244
- * This method creates an xDS server credentials object.
1245
- *
1246
- * \a fallback_credentials are used if the xDS control plane does not provide
1247
- * information on how to fetch credentials dynamically.
1248
- *
1249
- * Does NOT take ownership of the \a fallback_credentials. (Internally takes
1250
- * a ref to the object.)
1251
- */
1252
- GRPCAPI grpc_server_credentials* grpc_xds_server_credentials_create(
1253
- grpc_server_credentials* fallback_credentials);
1254
-
1255
103
  /**
1256
104
  * EXPERIMENTAL - Subject to change.
1257
105
  * An opaque type that is responsible for providing authorization policies to
@@ -1302,26 +150,6 @@ grpc_authorization_policy_provider_file_watcher_create(
1302
150
  GRPCAPI void grpc_authorization_policy_provider_release(
1303
151
  grpc_authorization_policy_provider* provider);
1304
152
 
1305
- /** --- TLS session key logging. ---
1306
- * Experimental API to control tls session key logging. Tls session key logging
1307
- * is expected to be used only for debugging purposes and never in production.
1308
- * Tls session key logging is only enabled when:
1309
- * At least one grpc_tls_credentials_options object is assigned a tls session
1310
- * key logging file path using the API specified below.
1311
- */
1312
-
1313
- /**
1314
- * EXPERIMENTAL API - Subject to change.
1315
- * Configures a grpc_tls_credentials_options object with tls session key
1316
- * logging capability. TLS channels using these credentials have tls session
1317
- * key logging enabled.
1318
- * - options is the grpc_tls_credentials_options object
1319
- * - path is a string pointing to the location where TLS session keys would be
1320
- * stored.
1321
- */
1322
- GRPCAPI void grpc_tls_credentials_options_set_tls_session_key_log_file_path(
1323
- grpc_tls_credentials_options* options, const char* path);
1324
-
1325
153
  #ifdef __cplusplus
1326
154
  }
1327
155
  #endif