grpc 1.59.0 → 1.60.0.pre1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (1955) hide show
  1. checksums.yaml +4 -4
  2. data/Makefile +767 -716
  3. data/include/grpc/grpc_crl_provider.h +94 -0
  4. data/include/grpc/grpc_security.h +16 -0
  5. data/include/grpc/impl/channel_arg_names.h +14 -0
  6. data/include/grpc/module.modulemap +1 -0
  7. data/src/core/ext/filters/backend_metrics/backend_metric_filter.cc +3 -10
  8. data/src/core/ext/filters/channel_idle/channel_idle_filter.cc +20 -28
  9. data/src/core/ext/filters/client_channel/client_channel.cc +22 -22
  10. data/src/core/ext/filters/client_channel/client_channel.h +4 -7
  11. data/src/core/ext/filters/client_channel/client_channel_plugin.cc +10 -11
  12. data/src/core/ext/filters/client_channel/connector.h +2 -3
  13. data/src/core/ext/filters/client_channel/dynamic_filters.cc +0 -1
  14. data/src/core/ext/filters/client_channel/http_proxy_mapper.cc +90 -23
  15. data/src/core/ext/filters/client_channel/http_proxy_mapper.h +5 -4
  16. data/src/core/ext/filters/client_channel/lb_policy/address_filtering.cc +7 -6
  17. data/src/core/ext/filters/client_channel/lb_policy/address_filtering.h +5 -5
  18. data/src/core/ext/filters/client_channel/lb_policy/child_policy_handler.cc +5 -4
  19. data/src/core/ext/filters/client_channel/lb_policy/endpoint_list.cc +15 -13
  20. data/src/core/ext/filters/client_channel/lb_policy/endpoint_list.h +14 -11
  21. data/src/core/ext/filters/client_channel/lb_policy/grpclb/client_load_reporting_filter.cc +0 -2
  22. data/src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb.cc +53 -45
  23. data/src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_balancer_addresses.cc +18 -18
  24. data/src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_balancer_addresses.h +4 -4
  25. data/src/core/ext/filters/client_channel/lb_policy/outlier_detection/outlier_detection.cc +197 -104
  26. data/src/core/ext/filters/client_channel/lb_policy/pick_first/pick_first.cc +385 -29
  27. data/src/core/ext/filters/client_channel/lb_policy/pick_first/pick_first.h +1 -1
  28. data/src/core/ext/filters/client_channel/lb_policy/priority/priority.cc +2 -1
  29. data/src/core/ext/filters/client_channel/lb_policy/ring_hash/ring_hash.cc +95 -70
  30. data/src/core/ext/filters/client_channel/lb_policy/ring_hash/ring_hash.h +3 -5
  31. data/src/core/ext/filters/client_channel/lb_policy/rls/rls.cc +6 -8
  32. data/src/core/ext/filters/client_channel/lb_policy/round_robin/round_robin.cc +11 -13
  33. data/src/core/ext/filters/client_channel/lb_policy/subchannel_list.h +1 -2
  34. data/src/core/ext/filters/client_channel/lb_policy/weighted_round_robin/weighted_round_robin.cc +55 -51
  35. data/src/core/ext/filters/client_channel/lb_policy/weighted_target/weighted_target.cc +5 -4
  36. data/src/core/ext/filters/client_channel/lb_policy/xds/cds.cc +0 -1
  37. data/src/core/ext/filters/client_channel/lb_policy/xds/xds_channel_args.h +1 -1
  38. data/src/core/ext/filters/client_channel/lb_policy/xds/xds_cluster_impl.cc +13 -10
  39. data/src/core/ext/filters/client_channel/lb_policy/xds/xds_cluster_manager.cc +3 -3
  40. data/src/core/ext/filters/client_channel/lb_policy/xds/xds_cluster_resolver.cc +5 -5
  41. data/src/core/ext/filters/client_channel/lb_policy/xds/xds_override_host.cc +252 -162
  42. data/src/core/ext/filters/client_channel/lb_policy/xds/xds_wrr_locality.cc +1 -1
  43. data/src/core/ext/filters/client_channel/resolver/binder/binder_resolver.cc +5 -6
  44. data/src/core/ext/filters/client_channel/resolver/dns/c_ares/dns_resolver_ares.cc +8 -9
  45. data/src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper.cc +23 -22
  46. data/src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper.h +7 -6
  47. data/src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper_windows.cc +1 -1
  48. data/src/core/ext/filters/client_channel/resolver/dns/event_engine/event_engine_client_channel_resolver.cc +3 -3
  49. data/src/core/ext/filters/client_channel/resolver/dns/native/dns_resolver.cc +2 -3
  50. data/src/core/ext/filters/client_channel/resolver/fake/fake_resolver.cc +66 -197
  51. data/src/core/ext/filters/client_channel/resolver/fake/fake_resolver.h +28 -43
  52. data/src/core/ext/filters/client_channel/resolver/polling_resolver.cc +1 -1
  53. data/src/core/ext/filters/client_channel/resolver/sockaddr/sockaddr_resolver.cc +6 -6
  54. data/src/core/ext/filters/client_channel/resolver/xds/xds_resolver.cc +8 -17
  55. data/src/core/ext/filters/client_channel/retry_filter.cc +0 -1
  56. data/src/core/ext/filters/client_channel/retry_filter_legacy_call_data.cc +0 -1
  57. data/src/core/ext/filters/client_channel/service_config_channel_arg_filter.cc +7 -13
  58. data/src/core/ext/filters/client_channel/subchannel.cc +5 -4
  59. data/src/core/ext/filters/client_channel/subchannel_stream_client.cc +0 -1
  60. data/src/core/ext/filters/deadline/deadline_filter.cc +8 -23
  61. data/src/core/ext/filters/deadline/deadline_filter.h +0 -4
  62. data/src/core/ext/filters/fault_injection/fault_injection_filter.cc +1 -0
  63. data/src/core/ext/filters/http/client/http_client_filter.cc +6 -7
  64. data/src/core/ext/filters/http/client_authority_filter.cc +13 -15
  65. data/src/core/ext/filters/http/http_filters_plugin.cc +36 -38
  66. data/src/core/ext/filters/http/message_compress/compression_filter.cc +0 -4
  67. data/src/core/ext/filters/http/server/http_server_filter.cc +21 -19
  68. data/src/core/ext/filters/message_size/message_size_filter.cc +28 -38
  69. data/src/core/ext/filters/rbac/rbac_filter.cc +8 -8
  70. data/src/core/ext/filters/server_config_selector/server_config_selector_filter.cc +1 -0
  71. data/src/core/ext/filters/stateful_session/stateful_session_filter.cc +26 -28
  72. data/src/core/ext/filters/stateful_session/stateful_session_filter.h +21 -4
  73. data/src/core/ext/gcp/metadata_query.cc +0 -1
  74. data/src/core/ext/transport/chttp2/client/chttp2_connector.cc +2 -5
  75. data/src/core/ext/transport/chttp2/server/chttp2_server.cc +9 -17
  76. data/src/core/ext/transport/chttp2/transport/chttp2_transport.cc +664 -476
  77. data/src/core/ext/transport/chttp2/transport/chttp2_transport.h +47 -4
  78. data/src/core/ext/transport/chttp2/transport/context_list_entry.h +12 -2
  79. data/src/core/ext/transport/chttp2/transport/flow_control.cc +24 -1
  80. data/src/core/ext/transport/chttp2/transport/flow_control.h +57 -0
  81. data/src/core/ext/transport/chttp2/transport/frame_data.cc +4 -3
  82. data/src/core/ext/transport/chttp2/transport/frame_goaway.cc +0 -2
  83. data/src/core/ext/transport/chttp2/transport/frame_ping.cc +11 -3
  84. data/src/core/ext/transport/chttp2/transport/frame_rst_stream.cc +9 -2
  85. data/src/core/ext/transport/chttp2/transport/frame_settings.cc +0 -2
  86. data/src/core/ext/transport/chttp2/transport/frame_window_update.cc +1 -3
  87. data/src/core/ext/transport/chttp2/transport/hpack_encoder.cc +15 -21
  88. data/src/core/ext/transport/chttp2/transport/hpack_encoder.h +7 -3
  89. data/src/core/ext/transport/chttp2/transport/hpack_encoder_table.h +3 -4
  90. data/src/core/ext/transport/chttp2/transport/hpack_parse_result.cc +37 -29
  91. data/src/core/ext/transport/chttp2/transport/hpack_parse_result.h +61 -36
  92. data/src/core/ext/transport/chttp2/transport/hpack_parser.h +4 -4
  93. data/src/core/ext/transport/chttp2/transport/internal.h +154 -67
  94. data/src/core/ext/transport/chttp2/transport/max_concurrent_streams_policy.cc +44 -0
  95. data/src/core/ext/transport/chttp2/transport/max_concurrent_streams_policy.h +67 -0
  96. data/src/core/ext/transport/chttp2/transport/parsing.cc +114 -15
  97. data/src/core/ext/transport/chttp2/transport/ping_callbacks.cc +108 -0
  98. data/src/core/ext/transport/chttp2/transport/ping_callbacks.h +115 -0
  99. data/src/core/ext/transport/chttp2/transport/ping_rate_policy.cc +27 -5
  100. data/src/core/ext/transport/chttp2/transport/ping_rate_policy.h +16 -1
  101. data/src/core/ext/transport/chttp2/transport/write_size_policy.cc +60 -0
  102. data/src/core/ext/transport/chttp2/transport/write_size_policy.h +66 -0
  103. data/src/core/ext/transport/chttp2/transport/writing.cc +169 -81
  104. data/src/core/ext/transport/inproc/inproc_transport.cc +24 -1259
  105. data/src/core/ext/transport/inproc/inproc_transport.h +0 -4
  106. data/src/core/ext/transport/inproc/legacy_inproc_transport.cc +1303 -0
  107. data/src/core/ext/transport/inproc/legacy_inproc_transport.h +30 -0
  108. data/src/core/ext/upb-gen/envoy/admin/v3/certs.upb.h +725 -0
  109. data/src/core/ext/upb-gen/envoy/admin/v3/certs.upb_minitable.c +149 -0
  110. data/src/core/ext/upb-gen/envoy/admin/v3/certs.upb_minitable.h +34 -0
  111. data/src/core/ext/upb-gen/envoy/admin/v3/clusters.upb.h +827 -0
  112. data/src/core/ext/upb-gen/envoy/admin/v3/clusters.upb_minitable.c +180 -0
  113. data/src/core/ext/upb-gen/envoy/admin/v3/clusters.upb_minitable.h +33 -0
  114. data/src/core/ext/upb-gen/envoy/admin/v3/config_dump.upb.h +733 -0
  115. data/src/core/ext/upb-gen/envoy/admin/v3/config_dump.upb_minitable.c +157 -0
  116. data/src/core/ext/upb-gen/envoy/admin/v3/config_dump.upb_minitable.h +34 -0
  117. data/src/core/ext/upb-gen/envoy/admin/v3/config_dump_shared.upb.h +2772 -0
  118. data/src/core/ext/upb-gen/envoy/admin/v3/config_dump_shared.upb_minitable.c +532 -0
  119. data/src/core/ext/upb-gen/envoy/admin/v3/config_dump_shared.upb_minitable.h +48 -0
  120. data/src/core/ext/upb-gen/envoy/admin/v3/init_dump.upb.h +248 -0
  121. data/src/core/ext/upb-gen/envoy/admin/v3/init_dump.upb_minitable.c +66 -0
  122. data/src/core/ext/upb-gen/envoy/admin/v3/init_dump.upb_minitable.h +31 -0
  123. data/src/core/ext/upb-gen/envoy/admin/v3/listeners.upb.h +280 -0
  124. data/src/core/ext/upb-gen/envoy/admin/v3/listeners.upb_minitable.c +74 -0
  125. data/src/core/ext/upb-gen/envoy/admin/v3/listeners.upb_minitable.h +31 -0
  126. data/src/core/ext/upb-gen/envoy/admin/v3/memory.upb.h +162 -0
  127. data/src/core/ext/upb-gen/envoy/admin/v3/memory.upb_minitable.c +56 -0
  128. data/src/core/ext/upb-gen/envoy/admin/v3/memory.upb_minitable.h +30 -0
  129. data/src/core/ext/upb-gen/envoy/admin/v3/metrics.upb.h +122 -0
  130. data/src/core/ext/upb-gen/envoy/admin/v3/metrics.upb_minitable.c +49 -0
  131. data/src/core/ext/upb-gen/envoy/admin/v3/metrics.upb_minitable.h +30 -0
  132. data/src/core/ext/upb-gen/envoy/admin/v3/mutex_stats.upb.h +117 -0
  133. data/src/core/ext/upb-gen/envoy/admin/v3/mutex_stats.upb_minitable.c +49 -0
  134. data/src/core/ext/upb-gen/envoy/admin/v3/mutex_stats.upb_minitable.h +30 -0
  135. data/src/core/ext/upb-gen/envoy/admin/v3/server_info.upb.h +928 -0
  136. data/src/core/ext/upb-gen/envoy/admin/v3/server_info.upb_minitable.c +150 -0
  137. data/src/core/ext/upb-gen/envoy/admin/v3/server_info.upb_minitable.h +31 -0
  138. data/src/core/ext/upb-gen/envoy/admin/v3/tap.upb.h +117 -0
  139. data/src/core/ext/upb-gen/envoy/admin/v3/tap.upb_minitable.c +54 -0
  140. data/src/core/ext/upb-gen/envoy/admin/v3/tap.upb_minitable.h +30 -0
  141. data/src/core/ext/upb-gen/envoy/annotations/deprecation.upb.h +122 -0
  142. data/src/core/ext/upb-gen/envoy/annotations/deprecation.upb_minitable.c +58 -0
  143. data/src/core/ext/upb-gen/envoy/annotations/deprecation.upb_minitable.h +33 -0
  144. data/src/core/ext/upb-gen/envoy/annotations/resource.upb.h +109 -0
  145. data/src/core/ext/upb-gen/envoy/annotations/resource.upb_minitable.c +55 -0
  146. data/src/core/ext/upb-gen/envoy/annotations/resource.upb_minitable.h +31 -0
  147. data/src/core/ext/upb-gen/envoy/config/accesslog/v3/accesslog.upb.h +1753 -0
  148. data/src/core/ext/upb-gen/envoy/config/accesslog/v3/accesslog.upb_minitable.c +375 -0
  149. data/src/core/ext/upb-gen/envoy/config/accesslog/v3/accesslog.upb_minitable.h +45 -0
  150. data/src/core/ext/upb-gen/envoy/config/bootstrap/v3/bootstrap.upb.h +3420 -0
  151. data/src/core/ext/upb-gen/envoy/config/bootstrap/v3/bootstrap.upb_minitable.c +612 -0
  152. data/src/core/ext/upb-gen/envoy/config/bootstrap/v3/bootstrap.upb_minitable.h +49 -0
  153. data/src/core/ext/upb-gen/envoy/config/cluster/v3/circuit_breaker.upb.h +526 -0
  154. data/src/core/ext/upb-gen/envoy/config/cluster/v3/circuit_breaker.upb_minitable.c +125 -0
  155. data/src/core/ext/upb-gen/envoy/config/cluster/v3/circuit_breaker.upb_minitable.h +32 -0
  156. data/src/core/ext/upb-gen/envoy/config/cluster/v3/cluster.upb.h +3890 -0
  157. data/src/core/ext/upb-gen/envoy/config/cluster/v3/cluster.upb_minitable.c +729 -0
  158. data/src/core/ext/upb-gen/envoy/config/cluster/v3/cluster.upb_minitable.h +53 -0
  159. data/src/core/ext/upb-gen/envoy/config/cluster/v3/filter.upb.h +117 -0
  160. data/src/core/ext/upb-gen/envoy/config/cluster/v3/filter.upb_minitable.c +54 -0
  161. data/src/core/ext/upb-gen/envoy/config/cluster/v3/filter.upb_minitable.h +30 -0
  162. data/src/core/ext/upb-gen/envoy/config/cluster/v3/outlier_detection.upb.h +659 -0
  163. data/src/core/ext/upb-gen/envoy/config/cluster/v3/outlier_detection.upb_minitable.c +123 -0
  164. data/src/core/ext/upb-gen/envoy/config/cluster/v3/outlier_detection.upb_minitable.h +30 -0
  165. data/src/core/ext/upb-gen/envoy/config/common/matcher/v3/matcher.upb.h +1830 -0
  166. data/src/core/ext/upb-gen/envoy/config/common/matcher/v3/matcher.upb_minitable.c +395 -0
  167. data/src/core/ext/upb-gen/envoy/config/common/matcher/v3/matcher.upb_minitable.h +44 -0
  168. data/src/core/ext/upb-gen/envoy/config/core/v3/address.upb.h +1041 -0
  169. data/src/core/ext/upb-gen/envoy/config/core/v3/address.upb_minitable.c +224 -0
  170. data/src/core/ext/upb-gen/envoy/config/core/v3/address.upb_minitable.h +37 -0
  171. data/src/core/ext/upb-gen/envoy/config/core/v3/backoff.upb.h +129 -0
  172. data/src/core/ext/upb-gen/envoy/config/core/v3/backoff.upb_minitable.c +55 -0
  173. data/src/core/ext/upb-gen/envoy/config/core/v3/backoff.upb_minitable.h +30 -0
  174. data/src/core/ext/upb-gen/envoy/config/core/v3/base.upb.h +2420 -0
  175. data/src/core/ext/upb-gen/envoy/config/core/v3/base.upb_minitable.c +577 -0
  176. data/src/core/ext/upb-gen/envoy/config/core/v3/base.upb_minitable.h +53 -0
  177. data/src/core/ext/upb-gen/envoy/config/core/v3/config_source.upb.h +1130 -0
  178. data/src/core/ext/upb-gen/envoy/config/core/v3/config_source.upb_minitable.c +225 -0
  179. data/src/core/ext/upb-gen/envoy/config/core/v3/config_source.upb_minitable.h +36 -0
  180. data/src/core/ext/upb-gen/envoy/config/core/v3/event_service_config.upb.h +110 -0
  181. data/src/core/ext/upb-gen/envoy/config/core/v3/event_service_config.upb_minitable.c +51 -0
  182. data/src/core/ext/upb-gen/envoy/config/core/v3/event_service_config.upb_minitable.h +30 -0
  183. data/src/core/ext/upb-gen/envoy/config/core/v3/extension.upb.h +116 -0
  184. data/src/core/ext/upb-gen/envoy/config/core/v3/extension.upb_minitable.c +53 -0
  185. data/src/core/ext/upb-gen/envoy/config/core/v3/extension.upb_minitable.h +30 -0
  186. data/src/core/ext/upb-gen/envoy/config/core/v3/grpc_method_list.upb.h +250 -0
  187. data/src/core/ext/upb-gen/envoy/config/core/v3/grpc_method_list.upb_minitable.c +68 -0
  188. data/src/core/ext/upb-gen/envoy/config/core/v3/grpc_method_list.upb_minitable.h +31 -0
  189. data/src/core/ext/upb-gen/envoy/config/core/v3/grpc_service.upb.h +1688 -0
  190. data/src/core/ext/upb-gen/envoy/config/core/v3/grpc_service.upb_minitable.c +378 -0
  191. data/src/core/ext/upb-gen/envoy/config/core/v3/grpc_service.upb_minitable.h +43 -0
  192. data/src/core/ext/upb-gen/envoy/config/core/v3/health_check.upb.h +1938 -0
  193. data/src/core/ext/upb-gen/envoy/config/core/v3/health_check.upb_minitable.c +315 -0
  194. data/src/core/ext/upb-gen/envoy/config/core/v3/health_check.upb_minitable.h +38 -0
  195. data/src/core/ext/upb-gen/envoy/config/core/v3/http_uri.upb.h +144 -0
  196. data/src/core/ext/upb-gen/envoy/config/core/v3/http_uri.upb_minitable.c +55 -0
  197. data/src/core/ext/upb-gen/envoy/config/core/v3/http_uri.upb_minitable.h +30 -0
  198. data/src/core/ext/upb-gen/envoy/config/core/v3/protocol.upb.h +2245 -0
  199. data/src/core/ext/upb-gen/envoy/config/core/v3/protocol.upb_minitable.c +481 -0
  200. data/src/core/ext/upb-gen/envoy/config/core/v3/protocol.upb_minitable.h +45 -0
  201. data/src/core/ext/upb-gen/envoy/config/core/v3/proxy_protocol.upb.h +238 -0
  202. data/src/core/ext/upb-gen/envoy/config/core/v3/proxy_protocol.upb_minitable.c +70 -0
  203. data/src/core/ext/upb-gen/envoy/config/core/v3/proxy_protocol.upb_minitable.h +31 -0
  204. data/src/core/ext/upb-gen/envoy/config/core/v3/resolver.upb.h +232 -0
  205. data/src/core/ext/upb-gen/envoy/config/core/v3/resolver.upb_minitable.c +72 -0
  206. data/src/core/ext/upb-gen/envoy/config/core/v3/resolver.upb_minitable.h +31 -0
  207. data/src/core/ext/upb-gen/envoy/config/core/v3/socket_option.upb.h +287 -0
  208. data/src/core/ext/upb-gen/envoy/config/core/v3/socket_option.upb_minitable.c +76 -0
  209. data/src/core/ext/upb-gen/envoy/config/core/v3/socket_option.upb_minitable.h +31 -0
  210. data/src/core/ext/upb-gen/envoy/config/core/v3/substitution_format_string.upb.h +255 -0
  211. data/src/core/ext/upb-gen/envoy/config/core/v3/substitution_format_string.upb_minitable.c +66 -0
  212. data/src/core/ext/upb-gen/envoy/config/core/v3/substitution_format_string.upb_minitable.h +30 -0
  213. data/src/core/ext/upb-gen/envoy/config/core/v3/udp_socket_config.upb.h +129 -0
  214. data/src/core/ext/upb-gen/envoy/config/core/v3/udp_socket_config.upb_minitable.c +54 -0
  215. data/src/core/ext/upb-gen/envoy/config/core/v3/udp_socket_config.upb_minitable.h +30 -0
  216. data/src/core/ext/upb-gen/envoy/config/endpoint/v3/endpoint.upb.h +489 -0
  217. data/src/core/ext/upb-gen/envoy/config/endpoint/v3/endpoint.upb_minitable.c +138 -0
  218. data/src/core/ext/upb-gen/envoy/config/endpoint/v3/endpoint.upb_minitable.h +33 -0
  219. data/src/core/ext/upb-gen/envoy/config/endpoint/v3/endpoint_components.upb.h +993 -0
  220. data/src/core/ext/upb-gen/envoy/config/endpoint/v3/endpoint_components.upb_minitable.c +229 -0
  221. data/src/core/ext/upb-gen/envoy/config/endpoint/v3/endpoint_components.upb_minitable.h +36 -0
  222. data/src/core/ext/upb-gen/envoy/config/endpoint/v3/load_report.upb.h +911 -0
  223. data/src/core/ext/upb-gen/envoy/config/endpoint/v3/load_report.upb_minitable.c +179 -0
  224. data/src/core/ext/upb-gen/envoy/config/endpoint/v3/load_report.upb_minitable.h +34 -0
  225. data/src/core/ext/upb-gen/envoy/config/listener/v3/api_listener.upb.h +101 -0
  226. data/src/core/ext/upb-gen/envoy/config/listener/v3/api_listener.upb_minitable.c +50 -0
  227. data/src/core/ext/upb-gen/envoy/config/listener/v3/api_listener.upb_minitable.h +30 -0
  228. data/src/core/ext/upb-gen/envoy/config/listener/v3/listener.upb.h +1613 -0
  229. data/src/core/ext/upb-gen/envoy/config/listener/v3/listener.upb_minitable.c +268 -0
  230. data/src/core/ext/upb-gen/envoy/config/listener/v3/listener.upb_minitable.h +39 -0
  231. data/src/core/ext/upb-gen/envoy/config/listener/v3/listener_components.upb.h +1447 -0
  232. data/src/core/ext/upb-gen/envoy/config/listener/v3/listener_components.upb_minitable.c +260 -0
  233. data/src/core/ext/upb-gen/envoy/config/listener/v3/listener_components.upb_minitable.h +36 -0
  234. data/src/core/ext/upb-gen/envoy/config/listener/v3/quic_config.upb.h +327 -0
  235. data/src/core/ext/upb-gen/envoy/config/listener/v3/quic_config.upb_minitable.c +86 -0
  236. data/src/core/ext/upb-gen/envoy/config/listener/v3/quic_config.upb_minitable.h +30 -0
  237. data/src/core/ext/upb-gen/envoy/config/listener/v3/udp_listener_config.upb.h +197 -0
  238. data/src/core/ext/upb-gen/envoy/config/listener/v3/udp_listener_config.upb_minitable.c +77 -0
  239. data/src/core/ext/upb-gen/envoy/config/listener/v3/udp_listener_config.upb_minitable.h +31 -0
  240. data/src/core/ext/upb-gen/envoy/config/metrics/v3/metrics_service.upb.h +183 -0
  241. data/src/core/ext/upb-gen/envoy/config/metrics/v3/metrics_service.upb_minitable.c +64 -0
  242. data/src/core/ext/upb-gen/envoy/config/metrics/v3/metrics_service.upb_minitable.h +30 -0
  243. data/src/core/ext/upb-gen/envoy/config/metrics/v3/stats.upb.h +974 -0
  244. data/src/core/ext/upb-gen/envoy/config/metrics/v3/stats.upb_minitable.c +219 -0
  245. data/src/core/ext/upb-gen/envoy/config/metrics/v3/stats.upb_minitable.h +37 -0
  246. data/src/core/ext/upb-gen/envoy/config/overload/v3/overload.upb.h +1183 -0
  247. data/src/core/ext/upb-gen/envoy/config/overload/v3/overload.upb_minitable.c +250 -0
  248. data/src/core/ext/upb-gen/envoy/config/overload/v3/overload.upb_minitable.h +39 -0
  249. data/src/core/ext/upb-gen/envoy/config/rbac/v3/rbac.upb.h +1704 -0
  250. data/src/core/ext/upb-gen/envoy/config/rbac/v3/rbac.upb_minitable.c +348 -0
  251. data/src/core/ext/upb-gen/envoy/config/rbac/v3/rbac.upb_minitable.h +40 -0
  252. data/src/core/ext/upb-gen/envoy/config/route/v3/route.upb.h +857 -0
  253. data/src/core/ext/upb-gen/envoy/config/route/v3/route.upb_minitable.c +133 -0
  254. data/src/core/ext/upb-gen/envoy/config/route/v3/route.upb_minitable.h +32 -0
  255. data/src/core/ext/upb-gen/envoy/config/route/v3/route_components.upb.h +9666 -0
  256. data/src/core/ext/upb-gen/envoy/config/route/v3/route_components.upb_minitable.c +1667 -0
  257. data/src/core/ext/upb-gen/envoy/config/route/v3/route_components.upb_minitable.h +87 -0
  258. data/src/core/ext/upb-gen/envoy/config/route/v3/scoped_route.upb.h +341 -0
  259. data/src/core/ext/upb-gen/envoy/config/route/v3/scoped_route.upb_minitable.c +97 -0
  260. data/src/core/ext/upb-gen/envoy/config/route/v3/scoped_route.upb_minitable.h +32 -0
  261. data/src/core/ext/upb-gen/envoy/config/tap/v3/common.upb.h +1515 -0
  262. data/src/core/ext/upb-gen/envoy/config/tap/v3/common.upb_minitable.c +325 -0
  263. data/src/core/ext/upb-gen/envoy/config/tap/v3/common.upb_minitable.h +41 -0
  264. data/src/core/ext/upb-gen/envoy/config/trace/v3/datadog.upb.h +119 -0
  265. data/src/core/ext/upb-gen/envoy/config/trace/v3/datadog.upb_minitable.c +51 -0
  266. data/src/core/ext/upb-gen/envoy/config/trace/v3/datadog.upb_minitable.h +30 -0
  267. data/src/core/ext/upb-gen/envoy/config/trace/v3/dynamic_ot.upb.h +118 -0
  268. data/src/core/ext/upb-gen/envoy/config/trace/v3/dynamic_ot.upb_minitable.c +55 -0
  269. data/src/core/ext/upb-gen/envoy/config/trace/v3/dynamic_ot.upb_minitable.h +30 -0
  270. data/src/core/ext/upb-gen/envoy/config/trace/v3/http_tracer.upb.h +190 -0
  271. data/src/core/ext/upb-gen/envoy/config/trace/v3/http_tracer.upb_minitable.c +73 -0
  272. data/src/core/ext/upb-gen/envoy/config/trace/v3/http_tracer.upb_minitable.h +31 -0
  273. data/src/core/ext/upb-gen/envoy/config/trace/v3/lightstep.upb.h +202 -0
  274. data/src/core/ext/upb-gen/envoy/config/trace/v3/lightstep.upb_minitable.c +62 -0
  275. data/src/core/ext/upb-gen/envoy/config/trace/v3/lightstep.upb_minitable.h +30 -0
  276. data/src/core/ext/upb-gen/envoy/config/trace/v3/opencensus.upb.h +409 -0
  277. data/src/core/ext/upb-gen/envoy/config/trace/v3/opencensus.upb_minitable.c +81 -0
  278. data/src/core/ext/upb-gen/envoy/config/trace/v3/opencensus.upb_minitable.h +30 -0
  279. data/src/core/ext/upb-gen/envoy/config/trace/v3/opentelemetry.upb.h +115 -0
  280. data/src/core/ext/upb-gen/envoy/config/trace/v3/opentelemetry.upb_minitable.c +52 -0
  281. data/src/core/ext/upb-gen/envoy/config/trace/v3/opentelemetry.upb_minitable.h +30 -0
  282. data/src/core/ext/upb-gen/envoy/config/trace/v3/service.upb.h +102 -0
  283. data/src/core/ext/upb-gen/envoy/config/trace/v3/service.upb_minitable.c +51 -0
  284. data/src/core/ext/upb-gen/envoy/config/trace/v3/service.upb_minitable.h +30 -0
  285. data/src/core/ext/upb-gen/envoy/config/trace/v3/skywalking.upb.h +254 -0
  286. data/src/core/ext/upb-gen/envoy/config/trace/v3/skywalking.upb_minitable.c +85 -0
  287. data/src/core/ext/upb-gen/envoy/config/trace/v3/skywalking.upb_minitable.h +31 -0
  288. data/src/core/ext/upb-gen/envoy/config/trace/v3/trace.upb.h +49 -0
  289. data/src/core/ext/upb-gen/envoy/config/trace/v3/trace.upb_minitable.c +33 -0
  290. data/src/core/ext/upb-gen/envoy/config/trace/v3/trace.upb_minitable.h +39 -0
  291. data/src/core/ext/upb-gen/envoy/config/trace/v3/xray.upb.h +256 -0
  292. data/src/core/ext/upb-gen/envoy/config/trace/v3/xray.upb_minitable.c +87 -0
  293. data/src/core/ext/upb-gen/envoy/config/trace/v3/xray.upb_minitable.h +31 -0
  294. data/src/core/ext/upb-gen/envoy/config/trace/v3/zipkin.upb.h +201 -0
  295. data/src/core/ext/upb-gen/envoy/config/trace/v3/zipkin.upb_minitable.c +65 -0
  296. data/src/core/ext/upb-gen/envoy/config/trace/v3/zipkin.upb_minitable.h +30 -0
  297. data/src/core/ext/upb-gen/envoy/data/accesslog/v3/accesslog.upb.h +2691 -0
  298. data/src/core/ext/upb-gen/envoy/data/accesslog/v3/accesslog.upb_minitable.c +555 -0
  299. data/src/core/ext/upb-gen/envoy/data/accesslog/v3/accesslog.upb_minitable.h +45 -0
  300. data/src/core/ext/upb-gen/envoy/extensions/clusters/aggregate/v3/cluster.upb.h +134 -0
  301. data/src/core/ext/upb-gen/envoy/extensions/clusters/aggregate/v3/cluster.upb_minitable.c +46 -0
  302. data/src/core/ext/upb-gen/envoy/extensions/clusters/aggregate/v3/cluster.upb_minitable.h +30 -0
  303. data/src/core/ext/upb-gen/envoy/extensions/filters/common/fault/v3/fault.upb.h +428 -0
  304. data/src/core/ext/upb-gen/envoy/extensions/filters/common/fault/v3/fault.upb_minitable.c +116 -0
  305. data/src/core/ext/upb-gen/envoy/extensions/filters/common/fault/v3/fault.upb_minitable.h +34 -0
  306. data/src/core/ext/upb-gen/envoy/extensions/filters/http/fault/v3/fault.upb.h +656 -0
  307. data/src/core/ext/upb-gen/envoy/extensions/filters/http/fault/v3/fault.upb_minitable.c +141 -0
  308. data/src/core/ext/upb-gen/envoy/extensions/filters/http/fault/v3/fault.upb_minitable.h +32 -0
  309. data/src/core/ext/upb-gen/envoy/extensions/filters/http/rbac/v3/rbac.upb.h +266 -0
  310. data/src/core/ext/upb-gen/envoy/extensions/filters/http/rbac/v3/rbac.upb_minitable.c +87 -0
  311. data/src/core/ext/upb-gen/envoy/extensions/filters/http/rbac/v3/rbac.upb_minitable.h +31 -0
  312. data/src/core/ext/upb-gen/envoy/extensions/filters/http/router/v3/router.upb.h +462 -0
  313. data/src/core/ext/upb-gen/envoy/extensions/filters/http/router/v3/router.upb_minitable.c +101 -0
  314. data/src/core/ext/upb-gen/envoy/extensions/filters/http/router/v3/router.upb_minitable.h +31 -0
  315. data/src/core/ext/upb-gen/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upb.h +194 -0
  316. data/src/core/ext/upb-gen/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upb_minitable.c +72 -0
  317. data/src/core/ext/upb-gen/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upb_minitable.h +31 -0
  318. data/src/core/ext/upb-gen/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upb.h +3943 -0
  319. data/src/core/ext/upb-gen/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upb_minitable.c +679 -0
  320. data/src/core/ext/upb-gen/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upb_minitable.h +50 -0
  321. data/src/core/ext/upb-gen/envoy/extensions/http/stateful_session/cookie/v3/cookie.upb.h +101 -0
  322. data/src/core/ext/upb-gen/envoy/extensions/http/stateful_session/cookie/v3/cookie.upb_minitable.c +50 -0
  323. data/src/core/ext/upb-gen/envoy/extensions/http/stateful_session/cookie/v3/cookie.upb_minitable.h +30 -0
  324. data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/client_side_weighted_round_robin/v3/client_side_weighted_round_robin.upb.h +239 -0
  325. data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/client_side_weighted_round_robin/v3/client_side_weighted_round_robin.upb_minitable.c +67 -0
  326. data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/client_side_weighted_round_robin/v3/client_side_weighted_round_robin.upb_minitable.h +30 -0
  327. data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/common/v3/common.upb.h +488 -0
  328. data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/common/v3/common.upb_minitable.c +135 -0
  329. data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/common/v3/common.upb_minitable.h +34 -0
  330. data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/pick_first/v3/pick_first.upb.h +86 -0
  331. data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/pick_first/v3/pick_first.upb_minitable.c +44 -0
  332. data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/pick_first/v3/pick_first.upb_minitable.h +30 -0
  333. data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/ring_hash/v3/ring_hash.upb.h +250 -0
  334. data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/ring_hash/v3/ring_hash.upb_minitable.c +68 -0
  335. data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/ring_hash/v3/ring_hash.upb_minitable.h +30 -0
  336. data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/wrr_locality/v3/wrr_locality.upb.h +101 -0
  337. data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/wrr_locality/v3/wrr_locality.upb_minitable.c +50 -0
  338. data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/wrr_locality/v3/wrr_locality.upb_minitable.h +30 -0
  339. data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/cert.upb.h +39 -0
  340. data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/cert.upb_minitable.c +28 -0
  341. data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/cert.upb_minitable.h +34 -0
  342. data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/common.upb.h +1469 -0
  343. data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/common.upb_minitable.c +262 -0
  344. data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/common.upb_minitable.h +36 -0
  345. data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/secret.upb.h +361 -0
  346. data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/secret.upb_minitable.c +108 -0
  347. data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/secret.upb_minitable.h +32 -0
  348. data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/tls.upb.h +1467 -0
  349. data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/tls.upb_minitable.c +267 -0
  350. data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/tls.upb_minitable.h +36 -0
  351. data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upb.h +217 -0
  352. data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upb_minitable.c +72 -0
  353. data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upb_minitable.h +31 -0
  354. data/src/core/ext/upb-gen/envoy/service/discovery/v3/ads.upb.h +73 -0
  355. data/src/core/ext/upb-gen/envoy/service/discovery/v3/ads.upb_minitable.c +38 -0
  356. data/src/core/ext/upb-gen/envoy/service/discovery/v3/ads.upb_minitable.h +30 -0
  357. data/src/core/ext/upb-gen/envoy/service/discovery/v3/discovery.upb.h +2141 -0
  358. data/src/core/ext/upb-gen/envoy/service/discovery/v3/discovery.upb_minitable.c +402 -0
  359. data/src/core/ext/upb-gen/envoy/service/discovery/v3/discovery.upb_minitable.h +43 -0
  360. data/src/core/ext/upb-gen/envoy/service/load_stats/v3/lrs.upb.h +324 -0
  361. data/src/core/ext/upb-gen/envoy/service/load_stats/v3/lrs.upb_minitable.c +84 -0
  362. data/src/core/ext/upb-gen/envoy/service/load_stats/v3/lrs.upb_minitable.h +31 -0
  363. data/src/core/ext/upb-gen/envoy/service/status/v3/csds.upb.h +925 -0
  364. data/src/core/ext/upb-gen/envoy/service/status/v3/csds.upb_minitable.c +183 -0
  365. data/src/core/ext/upb-gen/envoy/service/status/v3/csds.upb_minitable.h +34 -0
  366. data/src/core/ext/upb-gen/envoy/type/http/v3/cookie.upb.h +131 -0
  367. data/src/core/ext/upb-gen/envoy/type/http/v3/cookie.upb_minitable.c +54 -0
  368. data/src/core/ext/upb-gen/envoy/type/http/v3/cookie.upb_minitable.h +30 -0
  369. data/src/core/ext/upb-gen/envoy/type/http/v3/path_transformation.upb.h +312 -0
  370. data/src/core/ext/upb-gen/envoy/type/http/v3/path_transformation.upb_minitable.c +86 -0
  371. data/src/core/ext/upb-gen/envoy/type/http/v3/path_transformation.upb_minitable.h +33 -0
  372. data/src/core/ext/upb-gen/envoy/type/matcher/v3/filter_state.upb.h +124 -0
  373. data/src/core/ext/upb-gen/envoy/type/matcher/v3/filter_state.upb_minitable.c +53 -0
  374. data/src/core/ext/upb-gen/envoy/type/matcher/v3/filter_state.upb_minitable.h +30 -0
  375. data/src/core/ext/upb-gen/envoy/type/matcher/v3/http_inputs.upb.h +299 -0
  376. data/src/core/ext/upb-gen/envoy/type/matcher/v3/http_inputs.upb_minitable.c +105 -0
  377. data/src/core/ext/upb-gen/envoy/type/matcher/v3/http_inputs.upb_minitable.h +34 -0
  378. data/src/core/ext/upb-gen/envoy/type/matcher/v3/metadata.upb.h +260 -0
  379. data/src/core/ext/upb-gen/envoy/type/matcher/v3/metadata.upb_minitable.c +76 -0
  380. data/src/core/ext/upb-gen/envoy/type/matcher/v3/metadata.upb_minitable.h +31 -0
  381. data/src/core/ext/upb-gen/envoy/type/matcher/v3/node.upb.h +166 -0
  382. data/src/core/ext/upb-gen/envoy/type/matcher/v3/node.upb_minitable.c +55 -0
  383. data/src/core/ext/upb-gen/envoy/type/matcher/v3/node.upb_minitable.h +30 -0
  384. data/src/core/ext/upb-gen/envoy/type/matcher/v3/number.upb.h +130 -0
  385. data/src/core/ext/upb-gen/envoy/type/matcher/v3/number.upb_minitable.c +54 -0
  386. data/src/core/ext/upb-gen/envoy/type/matcher/v3/number.upb_minitable.h +30 -0
  387. data/src/core/ext/upb-gen/envoy/type/matcher/v3/path.upb.h +110 -0
  388. data/src/core/ext/upb-gen/envoy/type/matcher/v3/path.upb_minitable.c +51 -0
  389. data/src/core/ext/upb-gen/envoy/type/matcher/v3/path.upb_minitable.h +30 -0
  390. data/src/core/ext/upb-gen/envoy/type/matcher/v3/regex.upb.h +271 -0
  391. data/src/core/ext/upb-gen/envoy/type/matcher/v3/regex.upb_minitable.c +96 -0
  392. data/src/core/ext/upb-gen/envoy/type/matcher/v3/regex.upb_minitable.h +32 -0
  393. data/src/core/ext/upb-gen/envoy/type/matcher/v3/status_code_input.upb.h +109 -0
  394. data/src/core/ext/upb-gen/envoy/type/matcher/v3/status_code_input.upb_minitable.c +43 -0
  395. data/src/core/ext/upb-gen/envoy/type/matcher/v3/status_code_input.upb_minitable.h +31 -0
  396. data/src/core/ext/upb-gen/envoy/type/matcher/v3/string.upb.h +306 -0
  397. data/src/core/ext/upb-gen/envoy/type/matcher/v3/string.upb_minitable.c +81 -0
  398. data/src/core/ext/upb-gen/envoy/type/matcher/v3/string.upb_minitable.h +31 -0
  399. data/src/core/ext/upb-gen/envoy/type/matcher/v3/struct.upb.h +230 -0
  400. data/src/core/ext/upb-gen/envoy/type/matcher/v3/struct.upb_minitable.c +70 -0
  401. data/src/core/ext/upb-gen/envoy/type/matcher/v3/struct.upb_minitable.h +31 -0
  402. data/src/core/ext/upb-gen/envoy/type/matcher/v3/value.upb.h +347 -0
  403. data/src/core/ext/upb-gen/envoy/type/matcher/v3/value.upb_minitable.c +92 -0
  404. data/src/core/ext/upb-gen/envoy/type/matcher/v3/value.upb_minitable.h +32 -0
  405. data/src/core/ext/upb-gen/envoy/type/metadata/v3/metadata.upb.h +525 -0
  406. data/src/core/ext/upb-gen/envoy/type/metadata/v3/metadata.upb_minitable.c +127 -0
  407. data/src/core/ext/upb-gen/envoy/type/metadata/v3/metadata.upb_minitable.h +36 -0
  408. data/src/core/ext/upb-gen/envoy/type/tracing/v3/custom_tag.upb.h +506 -0
  409. data/src/core/ext/upb-gen/envoy/type/tracing/v3/custom_tag.upb_minitable.c +139 -0
  410. data/src/core/ext/upb-gen/envoy/type/tracing/v3/custom_tag.upb_minitable.h +34 -0
  411. data/src/core/ext/upb-gen/envoy/type/v3/hash_policy.upb.h +227 -0
  412. data/src/core/ext/upb-gen/envoy/type/v3/hash_policy.upb_minitable.c +76 -0
  413. data/src/core/ext/upb-gen/envoy/type/v3/hash_policy.upb_minitable.h +32 -0
  414. data/src/core/ext/upb-gen/envoy/type/v3/http.upb.h +38 -0
  415. data/src/core/ext/upb-gen/envoy/type/v3/http.upb_minitable.c +26 -0
  416. data/src/core/ext/upb-gen/envoy/type/v3/http.upb_minitable.h +29 -0
  417. data/src/core/ext/upb-gen/envoy/type/v3/http_status.upb.h +148 -0
  418. data/src/core/ext/upb-gen/envoy/type/v3/http_status.upb_minitable.c +46 -0
  419. data/src/core/ext/upb-gen/envoy/type/v3/http_status.upb_minitable.h +30 -0
  420. data/src/core/ext/upb-gen/envoy/type/v3/percent.upb.h +162 -0
  421. data/src/core/ext/upb-gen/envoy/type/v3/percent.upb_minitable.c +64 -0
  422. data/src/core/ext/upb-gen/envoy/type/v3/percent.upb_minitable.h +31 -0
  423. data/src/core/ext/upb-gen/envoy/type/v3/range.upb.h +238 -0
  424. data/src/core/ext/upb-gen/envoy/type/v3/range.upb_minitable.c +84 -0
  425. data/src/core/ext/upb-gen/envoy/type/v3/range.upb_minitable.h +32 -0
  426. data/src/core/ext/upb-gen/envoy/type/v3/ratelimit_strategy.upb.h +232 -0
  427. data/src/core/ext/upb-gen/envoy/type/v3/ratelimit_strategy.upb_minitable.c +75 -0
  428. data/src/core/ext/upb-gen/envoy/type/v3/ratelimit_strategy.upb_minitable.h +31 -0
  429. data/src/core/ext/upb-gen/envoy/type/v3/ratelimit_unit.upb.h +42 -0
  430. data/src/core/ext/upb-gen/envoy/type/v3/ratelimit_unit.upb_minitable.c +26 -0
  431. data/src/core/ext/upb-gen/envoy/type/v3/ratelimit_unit.upb_minitable.h +29 -0
  432. data/src/core/ext/upb-gen/envoy/type/v3/semantic_version.upb.h +117 -0
  433. data/src/core/ext/upb-gen/envoy/type/v3/semantic_version.upb_minitable.c +49 -0
  434. data/src/core/ext/upb-gen/envoy/type/v3/semantic_version.upb_minitable.h +30 -0
  435. data/src/core/ext/upb-gen/envoy/type/v3/token_bucket.upb.h +146 -0
  436. data/src/core/ext/upb-gen/envoy/type/v3/token_bucket.upb_minitable.c +57 -0
  437. data/src/core/ext/upb-gen/envoy/type/v3/token_bucket.upb_minitable.h +30 -0
  438. data/src/core/ext/upb-gen/google/api/annotations.upb.h +56 -0
  439. data/src/core/ext/upb-gen/google/api/annotations.upb_minitable.c +38 -0
  440. data/src/core/ext/upb-gen/google/api/annotations.upb_minitable.h +30 -0
  441. data/src/core/ext/upb-gen/google/api/expr/v1alpha1/checked.upb.h +1743 -0
  442. data/src/core/ext/upb-gen/google/api/expr/v1alpha1/checked.upb_minitable.c +369 -0
  443. data/src/core/ext/upb-gen/google/api/expr/v1alpha1/checked.upb_minitable.h +42 -0
  444. data/src/core/ext/upb-gen/google/api/expr/v1alpha1/syntax.upb.h +1829 -0
  445. data/src/core/ext/upb-gen/google/api/expr/v1alpha1/syntax.upb_minitable.c +399 -0
  446. data/src/core/ext/upb-gen/google/api/expr/v1alpha1/syntax.upb_minitable.h +43 -0
  447. data/src/core/ext/upb-gen/google/api/http.upb.h +496 -0
  448. data/src/core/ext/upb-gen/google/api/http.upb_minitable.c +111 -0
  449. data/src/core/ext/upb-gen/google/api/http.upb_minitable.h +32 -0
  450. data/src/core/ext/upb-gen/google/api/httpbody.upb.h +165 -0
  451. data/src/core/ext/upb-gen/google/api/httpbody.upb_minitable.c +52 -0
  452. data/src/core/ext/upb-gen/google/api/httpbody.upb_minitable.h +30 -0
  453. data/src/core/ext/upb-gen/google/protobuf/any.upb.h +99 -0
  454. data/src/core/ext/upb-gen/google/protobuf/any.upb_minitable.c +46 -0
  455. data/src/core/ext/upb-gen/google/protobuf/any.upb_minitable.h +30 -0
  456. data/src/core/ext/upb-gen/google/protobuf/descriptor.upb.h +6397 -0
  457. data/src/core/ext/upb-gen/google/protobuf/descriptor.upb_minitable.c +1357 -0
  458. data/src/core/ext/upb-gen/google/protobuf/descriptor.upb_minitable.h +78 -0
  459. data/src/core/ext/upb-gen/google/protobuf/duration.upb.h +99 -0
  460. data/src/core/ext/upb-gen/google/protobuf/duration.upb_minitable.c +46 -0
  461. data/src/core/ext/upb-gen/google/protobuf/duration.upb_minitable.h +30 -0
  462. data/src/core/ext/upb-gen/google/protobuf/empty.upb.h +69 -0
  463. data/src/core/ext/upb-gen/google/protobuf/empty.upb_minitable.c +35 -0
  464. data/src/core/ext/upb-gen/google/protobuf/empty.upb_minitable.h +30 -0
  465. data/src/core/ext/upb-gen/google/protobuf/struct.upb.h +422 -0
  466. data/src/core/ext/upb-gen/google/protobuf/struct.upb_minitable.c +115 -0
  467. data/src/core/ext/upb-gen/google/protobuf/struct.upb_minitable.h +33 -0
  468. data/src/core/ext/upb-gen/google/protobuf/timestamp.upb.h +99 -0
  469. data/src/core/ext/upb-gen/google/protobuf/timestamp.upb_minitable.c +46 -0
  470. data/src/core/ext/upb-gen/google/protobuf/timestamp.upb_minitable.h +30 -0
  471. data/src/core/ext/upb-gen/google/protobuf/wrappers.upb.h +508 -0
  472. data/src/core/ext/upb-gen/google/protobuf/wrappers.upb_minitable.c +163 -0
  473. data/src/core/ext/upb-gen/google/protobuf/wrappers.upb_minitable.h +38 -0
  474. data/src/core/ext/upb-gen/google/rpc/status.upb.h +165 -0
  475. data/src/core/ext/upb-gen/google/rpc/status.upb_minitable.c +52 -0
  476. data/src/core/ext/upb-gen/google/rpc/status.upb_minitable.h +30 -0
  477. data/src/core/ext/upb-gen/opencensus/proto/trace/v1/trace_config.upb.h +385 -0
  478. data/src/core/ext/upb-gen/opencensus/proto/trace/v1/trace_config.upb_minitable.c +106 -0
  479. data/src/core/ext/upb-gen/opencensus/proto/trace/v1/trace_config.upb_minitable.h +33 -0
  480. data/src/core/ext/upb-gen/src/proto/grpc/gcp/altscontext.upb.h +237 -0
  481. data/src/core/ext/upb-gen/src/proto/grpc/gcp/altscontext.upb_minitable.c +79 -0
  482. data/src/core/ext/upb-gen/src/proto/grpc/gcp/altscontext.upb_minitable.h +31 -0
  483. data/src/core/ext/upb-gen/src/proto/grpc/gcp/handshaker.upb.h +1658 -0
  484. data/src/core/ext/upb-gen/src/proto/grpc/gcp/handshaker.upb_minitable.c +342 -0
  485. data/src/core/ext/upb-gen/src/proto/grpc/gcp/handshaker.upb_minitable.h +41 -0
  486. data/src/core/ext/upb-gen/src/proto/grpc/gcp/transport_security_common.upb.h +197 -0
  487. data/src/core/ext/upb-gen/src/proto/grpc/gcp/transport_security_common.upb_minitable.c +69 -0
  488. data/src/core/ext/upb-gen/src/proto/grpc/gcp/transport_security_common.upb_minitable.h +31 -0
  489. data/src/core/ext/upb-gen/src/proto/grpc/health/v1/health.upb.h +144 -0
  490. data/src/core/ext/upb-gen/src/proto/grpc/health/v1/health.upb_minitable.c +58 -0
  491. data/src/core/ext/upb-gen/src/proto/grpc/health/v1/health.upb_minitable.h +31 -0
  492. data/src/core/ext/upb-gen/src/proto/grpc/lb/v1/load_balancer.upb.h +877 -0
  493. data/src/core/ext/upb-gen/src/proto/grpc/lb/v1/load_balancer.upb_minitable.c +221 -0
  494. data/src/core/ext/upb-gen/src/proto/grpc/lb/v1/load_balancer.upb_minitable.h +38 -0
  495. data/src/core/ext/upb-gen/src/proto/grpc/lookup/v1/rls.upb.h +297 -0
  496. data/src/core/ext/upb-gen/src/proto/grpc/lookup/v1/rls.upb_minitable.c +92 -0
  497. data/src/core/ext/upb-gen/src/proto/grpc/lookup/v1/rls.upb_minitable.h +32 -0
  498. data/src/core/ext/upb-gen/src/proto/grpc/lookup/v1/rls_config.upb.h +1333 -0
  499. data/src/core/ext/upb-gen/src/proto/grpc/lookup/v1/rls_config.upb_minitable.c +243 -0
  500. data/src/core/ext/upb-gen/src/proto/grpc/lookup/v1/rls_config.upb_minitable.h +38 -0
  501. data/src/core/ext/upb-gen/udpa/annotations/migrate.upb.h +322 -0
  502. data/src/core/ext/upb-gen/udpa/annotations/migrate.upb_minitable.c +118 -0
  503. data/src/core/ext/upb-gen/udpa/annotations/migrate.upb_minitable.h +37 -0
  504. data/src/core/ext/upb-gen/udpa/annotations/security.upb.h +125 -0
  505. data/src/core/ext/upb-gen/udpa/annotations/security.upb_minitable.c +59 -0
  506. data/src/core/ext/upb-gen/udpa/annotations/security.upb_minitable.h +31 -0
  507. data/src/core/ext/upb-gen/udpa/annotations/sensitive.upb.h +55 -0
  508. data/src/core/ext/upb-gen/udpa/annotations/sensitive.upb_minitable.c +37 -0
  509. data/src/core/ext/upb-gen/udpa/annotations/sensitive.upb_minitable.h +30 -0
  510. data/src/core/ext/upb-gen/udpa/annotations/status.upb.h +131 -0
  511. data/src/core/ext/upb-gen/udpa/annotations/status.upb_minitable.c +58 -0
  512. data/src/core/ext/upb-gen/udpa/annotations/status.upb_minitable.h +31 -0
  513. data/src/core/ext/upb-gen/udpa/annotations/versioning.upb.h +109 -0
  514. data/src/core/ext/upb-gen/udpa/annotations/versioning.upb_minitable.c +55 -0
  515. data/src/core/ext/upb-gen/udpa/annotations/versioning.upb_minitable.h +31 -0
  516. data/src/core/ext/upb-gen/validate/validate.upb.h +6507 -0
  517. data/src/core/ext/upb-gen/validate/validate.upb_minitable.c +943 -0
  518. data/src/core/ext/upb-gen/validate/validate.upb_minitable.h +57 -0
  519. data/src/core/ext/upb-gen/xds/annotations/v3/migrate.upb.h +322 -0
  520. data/src/core/ext/upb-gen/xds/annotations/v3/migrate.upb_minitable.c +118 -0
  521. data/src/core/ext/upb-gen/xds/annotations/v3/migrate.upb_minitable.h +37 -0
  522. data/src/core/ext/upb-gen/xds/annotations/v3/security.upb.h +125 -0
  523. data/src/core/ext/upb-gen/xds/annotations/v3/security.upb_minitable.c +59 -0
  524. data/src/core/ext/upb-gen/xds/annotations/v3/security.upb_minitable.h +31 -0
  525. data/src/core/ext/upb-gen/xds/annotations/v3/sensitive.upb.h +55 -0
  526. data/src/core/ext/upb-gen/xds/annotations/v3/sensitive.upb_minitable.c +37 -0
  527. data/src/core/ext/upb-gen/xds/annotations/v3/sensitive.upb_minitable.h +30 -0
  528. data/src/core/ext/upb-gen/xds/annotations/v3/status.upb.h +336 -0
  529. data/src/core/ext/upb-gen/xds/annotations/v3/status.upb_minitable.c +117 -0
  530. data/src/core/ext/upb-gen/xds/annotations/v3/status.upb_minitable.h +36 -0
  531. data/src/core/ext/upb-gen/xds/annotations/v3/versioning.upb.h +109 -0
  532. data/src/core/ext/upb-gen/xds/annotations/v3/versioning.upb_minitable.c +55 -0
  533. data/src/core/ext/upb-gen/xds/annotations/v3/versioning.upb_minitable.h +31 -0
  534. data/src/core/ext/upb-gen/xds/core/v3/authority.upb.h +87 -0
  535. data/src/core/ext/upb-gen/xds/core/v3/authority.upb_minitable.c +45 -0
  536. data/src/core/ext/upb-gen/xds/core/v3/authority.upb_minitable.h +30 -0
  537. data/src/core/ext/upb-gen/xds/core/v3/cidr.upb.h +116 -0
  538. data/src/core/ext/upb-gen/xds/core/v3/cidr.upb_minitable.c +53 -0
  539. data/src/core/ext/upb-gen/xds/core/v3/cidr.upb_minitable.h +30 -0
  540. data/src/core/ext/upb-gen/xds/core/v3/collection_entry.upb.h +234 -0
  541. data/src/core/ext/upb-gen/xds/core/v3/collection_entry.upb_minitable.c +78 -0
  542. data/src/core/ext/upb-gen/xds/core/v3/collection_entry.upb_minitable.h +31 -0
  543. data/src/core/ext/upb-gen/xds/core/v3/context_params.upb.h +134 -0
  544. data/src/core/ext/upb-gen/xds/core/v3/context_params.upb_minitable.c +62 -0
  545. data/src/core/ext/upb-gen/xds/core/v3/context_params.upb_minitable.h +31 -0
  546. data/src/core/ext/upb-gen/xds/core/v3/extension.upb.h +115 -0
  547. data/src/core/ext/upb-gen/xds/core/v3/extension.upb_minitable.c +52 -0
  548. data/src/core/ext/upb-gen/xds/core/v3/extension.upb_minitable.h +30 -0
  549. data/src/core/ext/upb-gen/xds/core/v3/resource.upb.h +144 -0
  550. data/src/core/ext/upb-gen/xds/core/v3/resource.upb_minitable.c +55 -0
  551. data/src/core/ext/upb-gen/xds/core/v3/resource.upb_minitable.h +30 -0
  552. data/src/core/ext/upb-gen/xds/core/v3/resource_locator.upb.h +331 -0
  553. data/src/core/ext/upb-gen/xds/core/v3/resource_locator.upb_minitable.c +84 -0
  554. data/src/core/ext/upb-gen/xds/core/v3/resource_locator.upb_minitable.h +31 -0
  555. data/src/core/ext/upb-gen/xds/core/v3/resource_name.upb.h +146 -0
  556. data/src/core/ext/upb-gen/xds/core/v3/resource_name.upb_minitable.c +59 -0
  557. data/src/core/ext/upb-gen/xds/core/v3/resource_name.upb_minitable.h +30 -0
  558. data/src/core/ext/upb-gen/xds/data/orca/v3/orca_load_report.upb.h +350 -0
  559. data/src/core/ext/upb-gen/xds/data/orca/v3/orca_load_report.upb_minitable.c +126 -0
  560. data/src/core/ext/upb-gen/xds/data/orca/v3/orca_load_report.upb_minitable.h +33 -0
  561. data/src/core/ext/upb-gen/xds/service/orca/v3/orca.upb.h +161 -0
  562. data/src/core/ext/upb-gen/xds/service/orca/v3/orca.upb_minitable.c +52 -0
  563. data/src/core/ext/upb-gen/xds/service/orca/v3/orca.upb_minitable.h +30 -0
  564. data/src/core/ext/upb-gen/xds/type/matcher/v3/cel.upb.h +101 -0
  565. data/src/core/ext/upb-gen/xds/type/matcher/v3/cel.upb_minitable.c +50 -0
  566. data/src/core/ext/upb-gen/xds/type/matcher/v3/cel.upb_minitable.h +30 -0
  567. data/src/core/ext/upb-gen/xds/type/matcher/v3/domain.upb.h +263 -0
  568. data/src/core/ext/upb-gen/xds/type/matcher/v3/domain.upb_minitable.c +72 -0
  569. data/src/core/ext/upb-gen/xds/type/matcher/v3/domain.upb_minitable.h +31 -0
  570. data/src/core/ext/upb-gen/xds/type/matcher/v3/http_inputs.upb.h +71 -0
  571. data/src/core/ext/upb-gen/xds/type/matcher/v3/http_inputs.upb_minitable.c +36 -0
  572. data/src/core/ext/upb-gen/xds/type/matcher/v3/http_inputs.upb_minitable.h +30 -0
  573. data/src/core/ext/upb-gen/xds/type/matcher/v3/ip.upb.h +282 -0
  574. data/src/core/ext/upb-gen/xds/type/matcher/v3/ip.upb_minitable.c +75 -0
  575. data/src/core/ext/upb-gen/xds/type/matcher/v3/ip.upb_minitable.h +31 -0
  576. data/src/core/ext/upb-gen/xds/type/matcher/v3/matcher.upb.h +1107 -0
  577. data/src/core/ext/upb-gen/xds/type/matcher/v3/matcher.upb_minitable.c +265 -0
  578. data/src/core/ext/upb-gen/xds/type/matcher/v3/matcher.upb_minitable.h +39 -0
  579. data/src/core/ext/upb-gen/xds/type/matcher/v3/range.upb.h +726 -0
  580. data/src/core/ext/upb-gen/xds/type/matcher/v3/range.upb_minitable.c +157 -0
  581. data/src/core/ext/upb-gen/xds/type/matcher/v3/range.upb_minitable.h +35 -0
  582. data/src/core/ext/upb-gen/xds/type/matcher/v3/regex.upb.h +159 -0
  583. data/src/core/ext/upb-gen/xds/type/matcher/v3/regex.upb_minitable.c +58 -0
  584. data/src/core/ext/upb-gen/xds/type/matcher/v3/regex.upb_minitable.h +31 -0
  585. data/src/core/ext/upb-gen/xds/type/matcher/v3/string.upb.h +304 -0
  586. data/src/core/ext/upb-gen/xds/type/matcher/v3/string.upb_minitable.c +79 -0
  587. data/src/core/ext/upb-gen/xds/type/matcher/v3/string.upb_minitable.h +31 -0
  588. data/src/core/ext/upb-gen/xds/type/v3/cel.upb.h +233 -0
  589. data/src/core/ext/upb-gen/xds/type/v3/cel.upb_minitable.c +79 -0
  590. data/src/core/ext/upb-gen/xds/type/v3/cel.upb_minitable.h +31 -0
  591. data/src/core/ext/upb-gen/xds/type/v3/range.upb.h +235 -0
  592. data/src/core/ext/upb-gen/xds/type/v3/range.upb_minitable.c +82 -0
  593. data/src/core/ext/upb-gen/xds/type/v3/range.upb_minitable.h +32 -0
  594. data/src/core/ext/upb-gen/xds/type/v3/typed_struct.upb.h +114 -0
  595. data/src/core/ext/upb-gen/xds/type/v3/typed_struct.upb_minitable.c +51 -0
  596. data/src/core/ext/upb-gen/xds/type/v3/typed_struct.upb_minitable.h +30 -0
  597. data/src/core/ext/upbdefs-gen/envoy/admin/v3/certs.upbdefs.c +83 -0
  598. data/src/core/ext/upbdefs-gen/envoy/admin/v3/certs.upbdefs.h +55 -0
  599. data/src/core/ext/upbdefs-gen/envoy/admin/v3/clusters.upbdefs.c +127 -0
  600. data/src/core/ext/upbdefs-gen/envoy/admin/v3/clusters.upbdefs.h +50 -0
  601. data/src/core/ext/upbdefs-gen/envoy/admin/v3/config_dump.upbdefs.c +101 -0
  602. data/src/core/ext/upbdefs-gen/envoy/admin/v3/config_dump.upbdefs.h +55 -0
  603. data/src/core/ext/upbdefs-gen/envoy/admin/v3/config_dump_shared.upbdefs.c +276 -0
  604. data/src/core/ext/upbdefs-gen/envoy/admin/v3/config_dump_shared.upbdefs.h +125 -0
  605. data/src/core/ext/upbdefs-gen/envoy/admin/v3/init_dump.upbdefs.c +42 -0
  606. data/src/core/ext/upbdefs-gen/envoy/admin/v3/init_dump.upbdefs.h +40 -0
  607. data/src/core/ext/upbdefs-gen/envoy/admin/v3/listeners.upbdefs.c +55 -0
  608. data/src/core/ext/upbdefs-gen/envoy/admin/v3/listeners.upbdefs.h +40 -0
  609. data/src/core/ext/upbdefs-gen/envoy/admin/v3/memory.upbdefs.c +48 -0
  610. data/src/core/ext/upbdefs-gen/envoy/admin/v3/memory.upbdefs.h +35 -0
  611. data/src/core/ext/upbdefs-gen/envoy/admin/v3/metrics.upbdefs.c +45 -0
  612. data/src/core/ext/upbdefs-gen/envoy/admin/v3/metrics.upbdefs.h +35 -0
  613. data/src/core/ext/upbdefs-gen/envoy/admin/v3/mutex_stats.upbdefs.c +45 -0
  614. data/src/core/ext/upbdefs-gen/envoy/admin/v3/mutex_stats.upbdefs.h +35 -0
  615. data/src/core/ext/upbdefs-gen/envoy/admin/v3/server_info.upbdefs.c +141 -0
  616. data/src/core/ext/upbdefs-gen/envoy/admin/v3/server_info.upbdefs.h +40 -0
  617. data/src/core/ext/upbdefs-gen/envoy/admin/v3/tap.upbdefs.c +50 -0
  618. data/src/core/ext/upbdefs-gen/envoy/admin/v3/tap.upbdefs.h +35 -0
  619. data/src/core/ext/upbdefs-gen/envoy/annotations/deprecation.upbdefs.c +47 -0
  620. data/src/core/ext/upbdefs-gen/envoy/annotations/deprecation.upbdefs.h +30 -0
  621. data/src/core/ext/upbdefs-gen/envoy/annotations/resource.upbdefs.c +37 -0
  622. data/src/core/ext/upbdefs-gen/envoy/annotations/resource.upbdefs.h +35 -0
  623. data/src/core/ext/upbdefs-gen/envoy/config/accesslog/v3/accesslog.upbdefs.c +233 -0
  624. data/src/core/ext/upbdefs-gen/envoy/config/accesslog/v3/accesslog.upbdefs.h +110 -0
  625. data/src/core/ext/upbdefs-gen/envoy/config/bootstrap/v3/bootstrap.upbdefs.c +422 -0
  626. data/src/core/ext/upbdefs-gen/envoy/config/bootstrap/v3/bootstrap.upbdefs.h +130 -0
  627. data/src/core/ext/upbdefs-gen/envoy/config/cluster/v3/circuit_breaker.upbdefs.c +97 -0
  628. data/src/core/ext/upbdefs-gen/envoy/config/cluster/v3/circuit_breaker.upbdefs.h +45 -0
  629. data/src/core/ext/upbdefs-gen/envoy/config/cluster/v3/cluster.upbdefs.c +566 -0
  630. data/src/core/ext/upbdefs-gen/envoy/config/cluster/v3/cluster.upbdefs.h +150 -0
  631. data/src/core/ext/upbdefs-gen/envoy/config/cluster/v3/filter.upbdefs.c +50 -0
  632. data/src/core/ext/upbdefs-gen/envoy/config/cluster/v3/filter.upbdefs.h +35 -0
  633. data/src/core/ext/upbdefs-gen/envoy/config/cluster/v3/outlier_detection.upbdefs.c +137 -0
  634. data/src/core/ext/upbdefs-gen/envoy/config/cluster/v3/outlier_detection.upbdefs.h +35 -0
  635. data/src/core/ext/upbdefs-gen/envoy/config/common/matcher/v3/matcher.upbdefs.c +205 -0
  636. data/src/core/ext/upbdefs-gen/envoy/config/common/matcher/v3/matcher.upbdefs.h +105 -0
  637. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/address.upbdefs.c +131 -0
  638. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/address.upbdefs.h +70 -0
  639. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/backoff.upbdefs.c +53 -0
  640. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/backoff.upbdefs.h +35 -0
  641. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/base.upbdefs.c +270 -0
  642. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/base.upbdefs.h +150 -0
  643. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/config_source.upbdefs.c +167 -0
  644. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/config_source.upbdefs.h +65 -0
  645. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/event_service_config.upbdefs.c +52 -0
  646. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/event_service_config.upbdefs.h +35 -0
  647. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/extension.upbdefs.c +46 -0
  648. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/extension.upbdefs.h +35 -0
  649. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/grpc_method_list.upbdefs.c +52 -0
  650. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/grpc_method_list.upbdefs.h +40 -0
  651. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/grpc_service.upbdefs.c +236 -0
  652. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/grpc_service.upbdefs.h +100 -0
  653. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/health_check.upbdefs.c +244 -0
  654. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/health_check.upbdefs.h +75 -0
  655. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/http_uri.upbdefs.c +52 -0
  656. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/http_uri.upbdefs.h +35 -0
  657. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/protocol.upbdefs.c +310 -0
  658. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/protocol.upbdefs.h +110 -0
  659. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/proxy_protocol.upbdefs.c +56 -0
  660. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/proxy_protocol.upbdefs.h +40 -0
  661. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/resolver.upbdefs.c +54 -0
  662. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/resolver.upbdefs.h +40 -0
  663. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/socket_option.upbdefs.c +60 -0
  664. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/socket_option.upbdefs.h +40 -0
  665. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/substitution_format_string.upbdefs.c +69 -0
  666. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/substitution_format_string.upbdefs.h +35 -0
  667. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/udp_socket_config.upbdefs.c +48 -0
  668. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/udp_socket_config.upbdefs.h +35 -0
  669. data/src/core/ext/upbdefs-gen/envoy/config/endpoint/v3/endpoint.upbdefs.c +98 -0
  670. data/src/core/ext/upbdefs-gen/envoy/config/endpoint/v3/endpoint.upbdefs.h +50 -0
  671. data/src/core/ext/upbdefs-gen/envoy/config/endpoint/v3/endpoint_components.upbdefs.c +139 -0
  672. data/src/core/ext/upbdefs-gen/envoy/config/endpoint/v3/endpoint_components.upbdefs.h +65 -0
  673. data/src/core/ext/upbdefs-gen/envoy/config/endpoint/v3/load_report.upbdefs.c +135 -0
  674. data/src/core/ext/upbdefs-gen/envoy/config/endpoint/v3/load_report.upbdefs.h +55 -0
  675. data/src/core/ext/upbdefs-gen/envoy/config/listener/v3/api_listener.upbdefs.c +47 -0
  676. data/src/core/ext/upbdefs-gen/envoy/config/listener/v3/api_listener.upbdefs.h +35 -0
  677. data/src/core/ext/upbdefs-gen/envoy/config/listener/v3/listener.upbdefs.c +231 -0
  678. data/src/core/ext/upbdefs-gen/envoy/config/listener/v3/listener.upbdefs.h +80 -0
  679. data/src/core/ext/upbdefs-gen/envoy/config/listener/v3/listener_components.upbdefs.c +189 -0
  680. data/src/core/ext/upbdefs-gen/envoy/config/listener/v3/listener_components.upbdefs.h +65 -0
  681. data/src/core/ext/upbdefs-gen/envoy/config/listener/v3/quic_config.upbdefs.c +100 -0
  682. data/src/core/ext/upbdefs-gen/envoy/config/listener/v3/quic_config.upbdefs.h +35 -0
  683. data/src/core/ext/upbdefs-gen/envoy/config/listener/v3/udp_listener_config.upbdefs.c +70 -0
  684. data/src/core/ext/upbdefs-gen/envoy/config/listener/v3/udp_listener_config.upbdefs.h +40 -0
  685. data/src/core/ext/upbdefs-gen/envoy/config/metrics/v3/metrics_service.upbdefs.c +75 -0
  686. data/src/core/ext/upbdefs-gen/envoy/config/metrics/v3/metrics_service.upbdefs.h +35 -0
  687. data/src/core/ext/upbdefs-gen/envoy/config/metrics/v3/stats.upbdefs.c +124 -0
  688. data/src/core/ext/upbdefs-gen/envoy/config/metrics/v3/stats.upbdefs.h +70 -0
  689. data/src/core/ext/upbdefs-gen/envoy/config/overload/v3/overload.upbdefs.c +141 -0
  690. data/src/core/ext/upbdefs-gen/envoy/config/overload/v3/overload.upbdefs.h +80 -0
  691. data/src/core/ext/upbdefs-gen/envoy/config/rbac/v3/rbac.upbdefs.c +222 -0
  692. data/src/core/ext/upbdefs-gen/envoy/config/rbac/v3/rbac.upbdefs.h +85 -0
  693. data/src/core/ext/upbdefs-gen/envoy/config/route/v3/route.upbdefs.c +122 -0
  694. data/src/core/ext/upbdefs-gen/envoy/config/route/v3/route.upbdefs.h +45 -0
  695. data/src/core/ext/upbdefs-gen/envoy/config/route/v3/route_components.upbdefs.c +979 -0
  696. data/src/core/ext/upbdefs-gen/envoy/config/route/v3/route_components.upbdefs.h +320 -0
  697. data/src/core/ext/upbdefs-gen/envoy/config/route/v3/scoped_route.upbdefs.c +76 -0
  698. data/src/core/ext/upbdefs-gen/envoy/config/route/v3/scoped_route.upbdefs.h +45 -0
  699. data/src/core/ext/upbdefs-gen/envoy/config/tap/v3/common.upbdefs.c +198 -0
  700. data/src/core/ext/upbdefs-gen/envoy/config/tap/v3/common.upbdefs.h +90 -0
  701. data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/datadog.upbdefs.c +55 -0
  702. data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/datadog.upbdefs.h +35 -0
  703. data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/dynamic_ot.upbdefs.c +56 -0
  704. data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/dynamic_ot.upbdefs.h +35 -0
  705. data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/http_tracer.upbdefs.c +56 -0
  706. data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/http_tracer.upbdefs.h +40 -0
  707. data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/lightstep.upbdefs.c +71 -0
  708. data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/lightstep.upbdefs.h +35 -0
  709. data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/opencensus.upbdefs.c +98 -0
  710. data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/opencensus.upbdefs.h +35 -0
  711. data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/opentelemetry.upbdefs.c +44 -0
  712. data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/opentelemetry.upbdefs.h +35 -0
  713. data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/service.upbdefs.c +51 -0
  714. data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/service.upbdefs.h +35 -0
  715. data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/skywalking.upbdefs.c +70 -0
  716. data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/skywalking.upbdefs.h +40 -0
  717. data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/trace.upbdefs.c +60 -0
  718. data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/trace.upbdefs.h +30 -0
  719. data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/xray.upbdefs.c +74 -0
  720. data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/xray.upbdefs.h +40 -0
  721. data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/zipkin.upbdefs.c +78 -0
  722. data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/zipkin.upbdefs.h +35 -0
  723. data/src/core/ext/upbdefs-gen/envoy/data/accesslog/v3/accesslog.upbdefs.c +401 -0
  724. data/src/core/ext/upbdefs-gen/envoy/data/accesslog/v3/accesslog.upbdefs.h +110 -0
  725. data/src/core/ext/upbdefs-gen/envoy/extensions/clusters/aggregate/v3/cluster.upbdefs.c +49 -0
  726. data/src/core/ext/upbdefs-gen/envoy/extensions/clusters/aggregate/v3/cluster.upbdefs.h +35 -0
  727. data/src/core/ext/upbdefs-gen/envoy/extensions/filters/common/fault/v3/fault.upbdefs.c +91 -0
  728. data/src/core/ext/upbdefs-gen/envoy/extensions/filters/common/fault/v3/fault.upbdefs.h +55 -0
  729. data/src/core/ext/upbdefs-gen/envoy/extensions/filters/http/fault/v3/fault.upbdefs.c +122 -0
  730. data/src/core/ext/upbdefs-gen/envoy/extensions/filters/http/fault/v3/fault.upbdefs.h +45 -0
  731. data/src/core/ext/upbdefs-gen/envoy/extensions/filters/http/rbac/v3/rbac.upbdefs.c +79 -0
  732. data/src/core/ext/upbdefs-gen/envoy/extensions/filters/http/rbac/v3/rbac.upbdefs.h +40 -0
  733. data/src/core/ext/upbdefs-gen/envoy/extensions/filters/http/router/v3/router.upbdefs.c +104 -0
  734. data/src/core/ext/upbdefs-gen/envoy/extensions/filters/http/router/v3/router.upbdefs.h +40 -0
  735. data/src/core/ext/upbdefs-gen/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upbdefs.c +59 -0
  736. data/src/core/ext/upbdefs-gen/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upbdefs.h +40 -0
  737. data/src/core/ext/upbdefs-gen/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upbdefs.c +601 -0
  738. data/src/core/ext/upbdefs-gen/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upbdefs.h +135 -0
  739. data/src/core/ext/upbdefs-gen/envoy/extensions/http/stateful_session/cookie/v3/cookie.upbdefs.c +49 -0
  740. data/src/core/ext/upbdefs-gen/envoy/extensions/http/stateful_session/cookie/v3/cookie.upbdefs.h +35 -0
  741. data/src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/cert.upbdefs.c +47 -0
  742. data/src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/cert.upbdefs.h +30 -0
  743. data/src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/common.upbdefs.c +214 -0
  744. data/src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/common.upbdefs.h +65 -0
  745. data/src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/secret.upbdefs.c +90 -0
  746. data/src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/secret.upbdefs.h +45 -0
  747. data/src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/tls.upbdefs.c +257 -0
  748. data/src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/tls.upbdefs.h +65 -0
  749. data/src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upbdefs.c +57 -0
  750. data/src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upbdefs.h +40 -0
  751. data/src/core/ext/upbdefs-gen/envoy/service/discovery/v3/ads.upbdefs.c +57 -0
  752. data/src/core/ext/upbdefs-gen/envoy/service/discovery/v3/ads.upbdefs.h +35 -0
  753. data/src/core/ext/upbdefs-gen/envoy/service/discovery/v3/discovery.upbdefs.c +199 -0
  754. data/src/core/ext/upbdefs-gen/envoy/service/discovery/v3/discovery.upbdefs.h +100 -0
  755. data/src/core/ext/upbdefs-gen/envoy/service/load_stats/v3/lrs.upbdefs.c +75 -0
  756. data/src/core/ext/upbdefs-gen/envoy/service/load_stats/v3/lrs.upbdefs.h +40 -0
  757. data/src/core/ext/upbdefs-gen/envoy/service/status/v3/csds.upbdefs.c +154 -0
  758. data/src/core/ext/upbdefs-gen/envoy/service/status/v3/csds.upbdefs.h +55 -0
  759. data/src/core/ext/upbdefs-gen/envoy/type/http/v3/cookie.upbdefs.c +45 -0
  760. data/src/core/ext/upbdefs-gen/envoy/type/http/v3/cookie.upbdefs.h +35 -0
  761. data/src/core/ext/upbdefs-gen/envoy/type/http/v3/path_transformation.upbdefs.c +55 -0
  762. data/src/core/ext/upbdefs-gen/envoy/type/http/v3/path_transformation.upbdefs.h +50 -0
  763. data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/filter_state.upbdefs.c +47 -0
  764. data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/filter_state.upbdefs.h +35 -0
  765. data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/http_inputs.upbdefs.c +54 -0
  766. data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/http_inputs.upbdefs.h +55 -0
  767. data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/metadata.upbdefs.c +60 -0
  768. data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/metadata.upbdefs.h +40 -0
  769. data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/node.upbdefs.c +53 -0
  770. data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/node.upbdefs.h +35 -0
  771. data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/number.upbdefs.c +51 -0
  772. data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/number.upbdefs.h +35 -0
  773. data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/path.upbdefs.c +50 -0
  774. data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/path.upbdefs.h +35 -0
  775. data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/regex.upbdefs.c +70 -0
  776. data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/regex.upbdefs.h +45 -0
  777. data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/status_code_input.upbdefs.c +39 -0
  778. data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/status_code_input.upbdefs.h +40 -0
  779. data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/string.upbdefs.c +64 -0
  780. data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/string.upbdefs.h +40 -0
  781. data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/struct.upbdefs.c +57 -0
  782. data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/struct.upbdefs.h +40 -0
  783. data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/value.upbdefs.c +74 -0
  784. data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/value.upbdefs.h +45 -0
  785. data/src/core/ext/upbdefs-gen/envoy/type/metadata/v3/metadata.upbdefs.c +77 -0
  786. data/src/core/ext/upbdefs-gen/envoy/type/metadata/v3/metadata.upbdefs.h +65 -0
  787. data/src/core/ext/upbdefs-gen/envoy/type/tracing/v3/custom_tag.upbdefs.c +84 -0
  788. data/src/core/ext/upbdefs-gen/envoy/type/tracing/v3/custom_tag.upbdefs.h +55 -0
  789. data/src/core/ext/upbdefs-gen/envoy/type/v3/hash_policy.upbdefs.c +52 -0
  790. data/src/core/ext/upbdefs-gen/envoy/type/v3/hash_policy.upbdefs.h +45 -0
  791. data/src/core/ext/upbdefs-gen/envoy/type/v3/http.upbdefs.c +35 -0
  792. data/src/core/ext/upbdefs-gen/envoy/type/v3/http.upbdefs.h +30 -0
  793. data/src/core/ext/upbdefs-gen/envoy/type/v3/http_status.upbdefs.c +93 -0
  794. data/src/core/ext/upbdefs-gen/envoy/type/v3/http_status.upbdefs.h +35 -0
  795. data/src/core/ext/upbdefs-gen/envoy/type/v3/percent.upbdefs.c +53 -0
  796. data/src/core/ext/upbdefs-gen/envoy/type/v3/percent.upbdefs.h +40 -0
  797. data/src/core/ext/upbdefs-gen/envoy/type/v3/range.upbdefs.c +47 -0
  798. data/src/core/ext/upbdefs-gen/envoy/type/v3/range.upbdefs.h +45 -0
  799. data/src/core/ext/upbdefs-gen/envoy/type/v3/ratelimit_strategy.upbdefs.c +68 -0
  800. data/src/core/ext/upbdefs-gen/envoy/type/v3/ratelimit_strategy.upbdefs.h +40 -0
  801. data/src/core/ext/upbdefs-gen/envoy/type/v3/ratelimit_unit.upbdefs.c +38 -0
  802. data/src/core/ext/upbdefs-gen/envoy/type/v3/ratelimit_unit.upbdefs.h +30 -0
  803. data/src/core/ext/upbdefs-gen/envoy/type/v3/semantic_version.upbdefs.c +43 -0
  804. data/src/core/ext/upbdefs-gen/envoy/type/v3/semantic_version.upbdefs.h +35 -0
  805. data/src/core/ext/upbdefs-gen/envoy/type/v3/token_bucket.upbdefs.c +56 -0
  806. data/src/core/ext/upbdefs-gen/envoy/type/v3/token_bucket.upbdefs.h +35 -0
  807. data/src/core/ext/upbdefs-gen/google/api/annotations.upbdefs.c +39 -0
  808. data/src/core/ext/upbdefs-gen/google/api/annotations.upbdefs.h +30 -0
  809. data/src/core/ext/upbdefs-gen/google/api/expr/v1alpha1/checked.upbdefs.c +153 -0
  810. data/src/core/ext/upbdefs-gen/google/api/expr/v1alpha1/checked.upbdefs.h +95 -0
  811. data/src/core/ext/upbdefs-gen/google/api/expr/v1alpha1/syntax.upbdefs.c +152 -0
  812. data/src/core/ext/upbdefs-gen/google/api/expr/v1alpha1/syntax.upbdefs.h +100 -0
  813. data/src/core/ext/upbdefs-gen/google/api/http.upbdefs.c +51 -0
  814. data/src/core/ext/upbdefs-gen/google/api/http.upbdefs.h +45 -0
  815. data/src/core/ext/upbdefs-gen/google/api/httpbody.upbdefs.c +38 -0
  816. data/src/core/ext/upbdefs-gen/google/api/httpbody.upbdefs.h +35 -0
  817. data/src/core/ext/upbdefs-gen/google/protobuf/any.upbdefs.c +33 -0
  818. data/src/core/ext/upbdefs-gen/google/protobuf/any.upbdefs.h +35 -0
  819. data/src/core/ext/upbdefs-gen/google/protobuf/descriptor.upbdefs.c +488 -0
  820. data/src/core/ext/upbdefs-gen/google/protobuf/descriptor.upbdefs.h +190 -0
  821. data/src/core/ext/upbdefs-gen/google/protobuf/duration.upbdefs.c +34 -0
  822. data/src/core/ext/upbdefs-gen/google/protobuf/duration.upbdefs.h +35 -0
  823. data/src/core/ext/upbdefs-gen/google/protobuf/empty.upbdefs.c +31 -0
  824. data/src/core/ext/upbdefs-gen/google/protobuf/empty.upbdefs.h +35 -0
  825. data/src/core/ext/upbdefs-gen/google/protobuf/struct.upbdefs.c +53 -0
  826. data/src/core/ext/upbdefs-gen/google/protobuf/struct.upbdefs.h +50 -0
  827. data/src/core/ext/upbdefs-gen/google/protobuf/timestamp.upbdefs.c +34 -0
  828. data/src/core/ext/upbdefs-gen/google/protobuf/timestamp.upbdefs.h +35 -0
  829. data/src/core/ext/upbdefs-gen/google/protobuf/wrappers.upbdefs.c +44 -0
  830. data/src/core/ext/upbdefs-gen/google/protobuf/wrappers.upbdefs.h +75 -0
  831. data/src/core/ext/upbdefs-gen/google/rpc/status.upbdefs.c +36 -0
  832. data/src/core/ext/upbdefs-gen/google/rpc/status.upbdefs.h +35 -0
  833. data/src/core/ext/upbdefs-gen/opencensus/proto/trace/v1/trace_config.upbdefs.c +66 -0
  834. data/src/core/ext/upbdefs-gen/opencensus/proto/trace/v1/trace_config.upbdefs.h +50 -0
  835. data/src/core/ext/upbdefs-gen/src/proto/grpc/lookup/v1/rls_config.upbdefs.c +98 -0
  836. data/src/core/ext/upbdefs-gen/src/proto/grpc/lookup/v1/rls_config.upbdefs.h +75 -0
  837. data/src/core/ext/upbdefs-gen/udpa/annotations/migrate.upbdefs.c +61 -0
  838. data/src/core/ext/upbdefs-gen/udpa/annotations/migrate.upbdefs.h +45 -0
  839. data/src/core/ext/upbdefs-gen/udpa/annotations/security.upbdefs.c +46 -0
  840. data/src/core/ext/upbdefs-gen/udpa/annotations/security.upbdefs.h +35 -0
  841. data/src/core/ext/upbdefs-gen/udpa/annotations/sensitive.upbdefs.c +33 -0
  842. data/src/core/ext/upbdefs-gen/udpa/annotations/sensitive.upbdefs.h +30 -0
  843. data/src/core/ext/upbdefs-gen/udpa/annotations/status.upbdefs.c +45 -0
  844. data/src/core/ext/upbdefs-gen/udpa/annotations/status.upbdefs.h +35 -0
  845. data/src/core/ext/upbdefs-gen/udpa/annotations/versioning.upbdefs.c +38 -0
  846. data/src/core/ext/upbdefs-gen/udpa/annotations/versioning.upbdefs.h +35 -0
  847. data/src/core/ext/upbdefs-gen/validate/validate.upbdefs.c +282 -0
  848. data/src/core/ext/upbdefs-gen/validate/validate.upbdefs.h +145 -0
  849. data/src/core/ext/upbdefs-gen/xds/annotations/v3/migrate.upbdefs.c +62 -0
  850. data/src/core/ext/upbdefs-gen/xds/annotations/v3/migrate.upbdefs.h +45 -0
  851. data/src/core/ext/upbdefs-gen/xds/annotations/v3/security.upbdefs.c +46 -0
  852. data/src/core/ext/upbdefs-gen/xds/annotations/v3/security.upbdefs.h +35 -0
  853. data/src/core/ext/upbdefs-gen/xds/annotations/v3/sensitive.upbdefs.c +34 -0
  854. data/src/core/ext/upbdefs-gen/xds/annotations/v3/sensitive.upbdefs.h +30 -0
  855. data/src/core/ext/upbdefs-gen/xds/annotations/v3/status.upbdefs.c +63 -0
  856. data/src/core/ext/upbdefs-gen/xds/annotations/v3/status.upbdefs.h +50 -0
  857. data/src/core/ext/upbdefs-gen/xds/annotations/v3/versioning.upbdefs.c +39 -0
  858. data/src/core/ext/upbdefs-gen/xds/annotations/v3/versioning.upbdefs.h +35 -0
  859. data/src/core/ext/upbdefs-gen/xds/core/v3/authority.upbdefs.c +37 -0
  860. data/src/core/ext/upbdefs-gen/xds/core/v3/authority.upbdefs.h +35 -0
  861. data/src/core/ext/upbdefs-gen/xds/core/v3/cidr.upbdefs.c +44 -0
  862. data/src/core/ext/upbdefs-gen/xds/core/v3/cidr.upbdefs.h +35 -0
  863. data/src/core/ext/upbdefs-gen/xds/core/v3/collection_entry.upbdefs.c +55 -0
  864. data/src/core/ext/upbdefs-gen/xds/core/v3/collection_entry.upbdefs.h +40 -0
  865. data/src/core/ext/upbdefs-gen/xds/core/v3/context_params.upbdefs.c +38 -0
  866. data/src/core/ext/upbdefs-gen/xds/core/v3/context_params.upbdefs.h +40 -0
  867. data/src/core/ext/upbdefs-gen/xds/core/v3/extension.upbdefs.c +40 -0
  868. data/src/core/ext/upbdefs-gen/xds/core/v3/extension.upbdefs.h +35 -0
  869. data/src/core/ext/upbdefs-gen/xds/core/v3/resource.upbdefs.c +44 -0
  870. data/src/core/ext/upbdefs-gen/xds/core/v3/resource.upbdefs.h +35 -0
  871. data/src/core/ext/upbdefs-gen/xds/core/v3/resource_locator.upbdefs.c +60 -0
  872. data/src/core/ext/upbdefs-gen/xds/core/v3/resource_locator.upbdefs.h +40 -0
  873. data/src/core/ext/upbdefs-gen/xds/core/v3/resource_name.upbdefs.c +45 -0
  874. data/src/core/ext/upbdefs-gen/xds/core/v3/resource_name.upbdefs.h +35 -0
  875. data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/cel.upbdefs.c +42 -0
  876. data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/cel.upbdefs.h +35 -0
  877. data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/domain.upbdefs.c +50 -0
  878. data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/domain.upbdefs.h +40 -0
  879. data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/http_inputs.upbdefs.c +35 -0
  880. data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/http_inputs.upbdefs.h +35 -0
  881. data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/ip.upbdefs.c +54 -0
  882. data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/ip.upbdefs.h +40 -0
  883. data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/matcher.upbdefs.c +125 -0
  884. data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/matcher.upbdefs.h +80 -0
  885. data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/range.upbdefs.c +70 -0
  886. data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/range.upbdefs.h +60 -0
  887. data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/regex.upbdefs.c +39 -0
  888. data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/regex.upbdefs.h +40 -0
  889. data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/string.upbdefs.c +51 -0
  890. data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/string.upbdefs.h +40 -0
  891. data/src/core/ext/upbdefs-gen/xds/type/v3/cel.upbdefs.c +59 -0
  892. data/src/core/ext/upbdefs-gen/xds/type/v3/cel.upbdefs.h +40 -0
  893. data/src/core/ext/upbdefs-gen/xds/type/v3/range.upbdefs.c +35 -0
  894. data/src/core/ext/upbdefs-gen/xds/type/v3/range.upbdefs.h +45 -0
  895. data/src/core/ext/upbdefs-gen/xds/type/v3/typed_struct.upbdefs.c +36 -0
  896. data/src/core/ext/upbdefs-gen/xds/type/v3/typed_struct.upbdefs.h +35 -0
  897. data/src/core/ext/xds/file_watcher_certificate_provider_factory.cc +0 -1
  898. data/src/core/ext/xds/xds_api.cc +0 -1
  899. data/src/core/ext/xds/xds_bootstrap_grpc.cc +0 -1
  900. data/src/core/ext/xds/xds_channel_stack_modifier.cc +17 -28
  901. data/src/core/ext/xds/xds_channel_stack_modifier.h +3 -5
  902. data/src/core/ext/xds/xds_client.cc +1 -0
  903. data/src/core/ext/xds/xds_client_grpc.h +1 -1
  904. data/src/core/ext/xds/xds_client_stats.h +1 -2
  905. data/src/core/ext/xds/xds_cluster.h +2 -0
  906. data/src/core/ext/xds/xds_common_types.cc +0 -1
  907. data/src/core/ext/xds/xds_endpoint.cc +86 -45
  908. data/src/core/ext/xds/xds_endpoint.h +2 -2
  909. data/src/core/ext/xds/xds_health_status.cc +2 -0
  910. data/src/core/ext/xds/xds_health_status.h +1 -1
  911. data/src/core/ext/xds/xds_http_filters.cc +0 -1
  912. data/src/core/ext/xds/xds_listener.cc +1 -3
  913. data/src/core/ext/xds/xds_route_config.cc +0 -1
  914. data/src/core/ext/xds/xds_transport_grpc.cc +1 -0
  915. data/src/core/lib/address_utils/sockaddr_utils.cc +0 -1
  916. data/src/core/lib/avl/avl.h +1 -0
  917. data/src/core/lib/channel/call_tracer.cc +8 -1
  918. data/src/core/lib/channel/call_tracer.h +7 -0
  919. data/src/core/lib/channel/channel_args.cc +0 -1
  920. data/src/core/lib/channel/channel_args_preconditioning.cc +0 -1
  921. data/src/core/lib/channel/channel_stack.cc +9 -1
  922. data/src/core/lib/channel/channel_stack_builder.h +4 -15
  923. data/src/core/lib/channel/channel_stack_builder_impl.cc +1 -19
  924. data/src/core/lib/channel/channel_stack_trace.cc +19 -0
  925. data/src/core/lib/channel/channel_stack_trace.h +24 -0
  926. data/src/core/lib/channel/channel_trace.cc +1 -1
  927. data/src/core/lib/channel/connected_channel.cc +89 -76
  928. data/src/core/lib/channel/context.h +3 -0
  929. data/src/core/lib/channel/promise_based_filter.cc +15 -6
  930. data/src/core/lib/channel/promise_based_filter.h +2 -2
  931. data/src/core/lib/channel/server_call_tracer_filter.cc +2 -9
  932. data/src/core/lib/channel/status_util.cc +0 -1
  933. data/src/core/lib/channel/tcp_tracer.h +140 -0
  934. data/src/core/lib/compression/compression_internal.cc +2 -0
  935. data/src/core/lib/config/config_vars.cc +0 -1
  936. data/src/core/lib/config/config_vars_non_generated.cc +0 -2
  937. data/src/core/lib/config/core_configuration.cc +0 -1
  938. data/src/core/lib/event_engine/ares_resolver.cc +23 -18
  939. data/src/core/lib/event_engine/ares_resolver.h +4 -2
  940. data/src/core/lib/event_engine/cf_engine/dns_service_resolver.cc +1 -0
  941. data/src/core/lib/event_engine/channel_args_endpoint_config.cc +2 -0
  942. data/src/core/lib/event_engine/event_engine.cc +0 -2
  943. data/src/core/lib/event_engine/forkable.cc +40 -59
  944. data/src/core/lib/event_engine/forkable.h +33 -27
  945. data/src/core/lib/event_engine/grpc_polled_fd.h +23 -4
  946. data/src/core/lib/event_engine/posix_engine/ev_epoll1_linux.cc +6 -8
  947. data/src/core/lib/event_engine/posix_engine/ev_epoll1_linux.h +2 -3
  948. data/src/core/lib/event_engine/posix_engine/ev_poll_posix.cc +11 -16
  949. data/src/core/lib/event_engine/posix_engine/ev_poll_posix.h +4 -11
  950. data/src/core/lib/event_engine/posix_engine/event_poller.h +3 -1
  951. data/src/core/lib/event_engine/posix_engine/event_poller_posix_default.cc +23 -4
  952. data/src/core/lib/event_engine/posix_engine/event_poller_posix_default.h +3 -1
  953. data/src/core/lib/event_engine/posix_engine/grpc_polled_fd_posix.h +12 -4
  954. data/src/core/lib/event_engine/posix_engine/internal_errqueue.cc +0 -2
  955. data/src/core/lib/event_engine/posix_engine/posix_endpoint.cc +1 -2
  956. data/src/core/lib/event_engine/posix_engine/posix_endpoint.h +0 -1
  957. data/src/core/lib/event_engine/posix_engine/posix_engine.cc +35 -12
  958. data/src/core/lib/event_engine/posix_engine/posix_engine.h +19 -15
  959. data/src/core/lib/event_engine/posix_engine/tcp_socket_utils.cc +0 -2
  960. data/src/core/lib/event_engine/posix_engine/wakeup_fd_eventfd.cc +0 -1
  961. data/src/core/lib/event_engine/posix_engine/wakeup_fd_pipe.cc +0 -1
  962. data/src/core/lib/event_engine/shim.cc +4 -2
  963. data/src/core/lib/event_engine/slice_buffer.cc +0 -1
  964. data/src/core/lib/event_engine/tcp_socket_utils.cc +0 -1
  965. data/src/core/lib/event_engine/thread_pool/thread_pool_factory.cc +20 -6
  966. data/src/core/lib/event_engine/thread_pool/work_stealing_thread_pool.cc +7 -3
  967. data/src/core/lib/event_engine/windows/grpc_polled_fd_windows.cc +823 -0
  968. data/src/core/lib/event_engine/windows/grpc_polled_fd_windows.h +75 -0
  969. data/src/core/lib/event_engine/windows/win_socket.cc +20 -13
  970. data/src/core/lib/event_engine/windows/win_socket.h +19 -7
  971. data/src/core/lib/event_engine/windows/windows_endpoint.cc +32 -33
  972. data/src/core/lib/event_engine/windows/windows_endpoint.h +1 -1
  973. data/src/core/lib/event_engine/windows/windows_engine.cc +82 -37
  974. data/src/core/lib/event_engine/windows/windows_engine.h +16 -2
  975. data/src/core/lib/event_engine/windows/windows_listener.cc +2 -3
  976. data/src/core/lib/event_engine/work_queue/basic_work_queue.cc +2 -0
  977. data/src/core/lib/event_engine/work_queue/basic_work_queue.h +4 -1
  978. data/src/core/lib/event_engine/work_queue/work_queue.h +4 -0
  979. data/src/core/lib/experiments/experiments.cc +711 -318
  980. data/src/core/lib/experiments/experiments.h +371 -147
  981. data/src/core/lib/gpr/alloc.cc +1 -0
  982. data/src/core/lib/gprpp/directory_reader.h +48 -0
  983. data/src/core/lib/gprpp/host_port.cc +0 -2
  984. data/src/core/lib/gprpp/match.h +1 -1
  985. data/src/core/lib/gprpp/posix/directory_reader.cc +82 -0
  986. data/src/core/lib/gprpp/posix/stat.cc +0 -1
  987. data/src/core/lib/gprpp/ref_counted_string.h +2 -0
  988. data/src/core/lib/gprpp/status_helper.cc +0 -1
  989. data/src/core/lib/gprpp/strerror.cc +0 -2
  990. data/src/core/lib/gprpp/time.cc +0 -1
  991. data/src/core/lib/gprpp/validation_errors.cc +0 -1
  992. data/src/core/lib/gprpp/windows/directory_reader.cc +80 -0
  993. data/src/core/lib/gprpp/work_serializer.cc +3 -0
  994. data/src/core/lib/gprpp/xxhash_inline.h +29 -0
  995. data/src/core/lib/http/format_request.cc +0 -1
  996. data/src/core/lib/http/httpcli.cc +0 -2
  997. data/src/core/lib/iomgr/combiner.cc +3 -0
  998. data/src/core/lib/iomgr/event_engine_shims/endpoint.cc +2 -0
  999. data/src/core/lib/iomgr/event_engine_shims/tcp_client.cc +3 -2
  1000. data/src/core/lib/iomgr/socket_utils_common_posix.cc +13 -0
  1001. data/src/core/lib/iomgr/tcp_posix.cc +7 -1
  1002. data/src/core/lib/iomgr/timer_manager.cc +7 -1
  1003. data/src/core/lib/iomgr/timer_manager.h +2 -0
  1004. data/src/core/lib/json/json_object_loader.h +0 -1
  1005. data/src/core/lib/json/json_reader.cc +0 -1
  1006. data/src/core/lib/load_balancing/delegating_helper.h +4 -3
  1007. data/src/core/lib/load_balancing/lb_policy.h +8 -5
  1008. data/src/core/lib/load_balancing/lb_policy_registry.cc +0 -1
  1009. data/src/core/lib/matchers/matchers.cc +0 -1
  1010. data/src/core/lib/promise/activity.cc +0 -1
  1011. data/src/core/lib/promise/cancel_callback.h +0 -2
  1012. data/src/core/lib/promise/context.h +0 -1
  1013. data/src/core/lib/promise/detail/promise_factory.h +0 -1
  1014. data/src/core/lib/promise/detail/seq_state.h +0 -1
  1015. data/src/core/lib/promise/for_each.h +0 -2
  1016. data/src/core/lib/promise/if.h +0 -1
  1017. data/src/core/lib/promise/interceptor_list.h +0 -1
  1018. data/src/core/lib/promise/latch.h +0 -2
  1019. data/src/core/lib/promise/loop.h +1 -1
  1020. data/src/core/lib/promise/map.h +0 -1
  1021. data/src/core/lib/promise/party.cc +0 -2
  1022. data/src/core/lib/promise/party.h +0 -1
  1023. data/src/core/lib/promise/pipe.h +4 -3
  1024. data/src/core/lib/promise/prioritized_race.h +0 -1
  1025. data/src/core/lib/promise/promise.h +0 -1
  1026. data/src/core/lib/promise/race.h +0 -1
  1027. data/src/core/lib/promise/seq.h +0 -1
  1028. data/src/core/lib/resolver/endpoint_addresses.cc +148 -0
  1029. data/src/core/lib/resolver/endpoint_addresses.h +116 -0
  1030. data/src/core/lib/resolver/resolver.h +4 -3
  1031. data/src/core/lib/resolver/resolver_registry.cc +0 -2
  1032. data/src/core/lib/resolver/server_address.h +5 -56
  1033. data/src/core/lib/resource_quota/memory_quota.cc +13 -10
  1034. data/src/core/lib/resource_quota/memory_quota.h +2 -11
  1035. data/src/core/lib/security/authorization/audit_logging.cc +0 -1
  1036. data/src/core/lib/security/authorization/grpc_server_authz_filter.cc +1 -1
  1037. data/src/core/lib/security/authorization/matchers.cc +0 -1
  1038. data/src/core/lib/security/authorization/rbac_policy.cc +0 -2
  1039. data/src/core/lib/security/authorization/stdout_logger.cc +0 -1
  1040. data/src/core/lib/security/credentials/alts/alts_credentials.cc +0 -2
  1041. data/src/core/lib/security/credentials/composite/composite_credentials.cc +1 -1
  1042. data/src/core/lib/security/credentials/composite/composite_credentials.h +1 -1
  1043. data/src/core/lib/security/credentials/external/aws_external_account_credentials.cc +0 -1
  1044. data/src/core/lib/security/credentials/external/aws_request_signer.cc +0 -2
  1045. data/src/core/lib/security/credentials/external/external_account_credentials.cc +0 -2
  1046. data/src/core/lib/security/credentials/external/url_external_account_credentials.cc +1 -3
  1047. data/src/core/lib/security/credentials/google_default/google_default_credentials.cc +0 -1
  1048. data/src/core/lib/security/credentials/iam/iam_credentials.cc +0 -1
  1049. data/src/core/lib/security/credentials/insecure/insecure_credentials.cc +0 -2
  1050. data/src/core/lib/security/credentials/jwt/jwt_credentials.h +0 -1
  1051. data/src/core/lib/security/credentials/jwt/jwt_verifier.cc +1 -2
  1052. data/src/core/lib/security/credentials/local/local_credentials.cc +0 -2
  1053. data/src/core/lib/security/credentials/oauth2/oauth2_credentials.h +0 -1
  1054. data/src/core/lib/security/credentials/plugin/plugin_credentials.cc +0 -1
  1055. data/src/core/lib/security/credentials/ssl/ssl_credentials.cc +0 -1
  1056. data/src/core/lib/security/credentials/tls/grpc_tls_certificate_distributor.cc +0 -2
  1057. data/src/core/lib/security/credentials/tls/grpc_tls_credentials_options.cc +21 -0
  1058. data/src/core/lib/security/credentials/tls/grpc_tls_credentials_options.h +23 -0
  1059. data/src/core/lib/security/credentials/tls/grpc_tls_crl_provider.cc +238 -0
  1060. data/src/core/lib/security/credentials/tls/grpc_tls_crl_provider.h +133 -0
  1061. data/src/core/lib/security/credentials/tls/tls_credentials.cc +9 -1
  1062. data/src/core/lib/security/credentials/tls/tls_utils.cc +2 -0
  1063. data/src/core/lib/security/credentials/xds/xds_credentials.cc +0 -1
  1064. data/src/core/lib/security/security_connector/fake/fake_security_connector.cc +0 -1
  1065. data/src/core/lib/security/security_connector/ssl/ssl_security_connector.cc +0 -2
  1066. data/src/core/lib/security/security_connector/ssl_utils.cc +8 -2
  1067. data/src/core/lib/security/security_connector/ssl_utils.h +4 -0
  1068. data/src/core/lib/security/security_connector/tls/tls_security_connector.cc +3 -3
  1069. data/src/core/lib/security/security_connector/tls/tls_security_connector.h +2 -2
  1070. data/src/core/lib/security/transport/client_auth_filter.cc +0 -1
  1071. data/src/core/lib/security/transport/secure_endpoint.cc +3 -6
  1072. data/src/core/lib/security/transport/security_handshaker.cc +1 -3
  1073. data/src/core/lib/security/transport/server_auth_filter.cc +0 -4
  1074. data/src/core/lib/slice/slice.h +6 -1
  1075. data/src/core/lib/surface/builtins.cc +6 -25
  1076. data/src/core/lib/surface/call.cc +41 -7
  1077. data/src/core/lib/surface/call_log_batch.cc +0 -2
  1078. data/src/core/lib/surface/call_trace.cc +0 -1
  1079. data/src/core/lib/surface/channel.cc +4 -5
  1080. data/src/core/lib/surface/channel.h +2 -2
  1081. data/src/core/lib/surface/channel_init.cc +367 -14
  1082. data/src/core/lib/surface/channel_init.h +149 -27
  1083. data/src/core/lib/surface/completion_queue.cc +0 -7
  1084. data/src/core/lib/surface/event_string.cc +0 -1
  1085. data/src/core/lib/surface/init.cc +14 -47
  1086. data/src/core/lib/surface/lame_client.cc +8 -1
  1087. data/src/core/lib/surface/server.cc +235 -78
  1088. data/src/core/lib/surface/server.h +61 -7
  1089. data/src/core/lib/surface/version.cc +2 -2
  1090. data/src/core/lib/transport/batch_builder.cc +4 -4
  1091. data/src/core/lib/transport/batch_builder.h +1 -3
  1092. data/src/core/lib/transport/bdp_estimator.cc +2 -2
  1093. data/src/core/lib/transport/bdp_estimator.h +2 -2
  1094. data/src/core/lib/transport/connectivity_state.cc +0 -2
  1095. data/src/core/lib/transport/error_utils.cc +0 -2
  1096. data/src/core/lib/transport/handshaker.cc +0 -2
  1097. data/src/core/lib/transport/metadata_batch.cc +0 -1
  1098. data/src/core/lib/transport/metadata_batch.h +17 -2
  1099. data/src/core/lib/transport/tcp_connect_handshaker.cc +0 -1
  1100. data/src/core/lib/transport/timeout_encoding.h +2 -2
  1101. data/src/core/lib/transport/transport.cc +10 -48
  1102. data/src/core/lib/transport/transport.h +95 -62
  1103. data/src/core/lib/transport/transport_fwd.h +3 -1
  1104. data/src/core/lib/transport/transport_op_string.cc +0 -2
  1105. data/src/core/lib/uri/uri_parser.cc +0 -1
  1106. data/src/core/plugin_registry/grpc_plugin_registry.cc +2 -0
  1107. data/src/core/tsi/alts/crypt/aes_gcm.cc +137 -109
  1108. data/src/core/tsi/alts/crypt/gsec.h +387 -319
  1109. data/src/core/tsi/alts/frame_protector/alts_frame_protector.cc +11 -7
  1110. data/src/core/tsi/alts/handshaker/alts_tsi_handshaker.cc +4 -6
  1111. data/src/core/tsi/alts/zero_copy_frame_protector/alts_zero_copy_grpc_protector.cc +12 -12
  1112. data/src/core/tsi/alts/zero_copy_frame_protector/alts_zero_copy_grpc_protector.h +26 -25
  1113. data/src/core/tsi/ssl/session_cache/ssl_session_cache.cc +9 -1
  1114. data/src/core/tsi/ssl_transport_security.cc +118 -18
  1115. data/src/core/tsi/ssl_transport_security.h +19 -1
  1116. data/src/ruby/bin/math_pb.rb +1 -1
  1117. data/src/ruby/ext/grpc/extconf.rb +77 -15
  1118. data/src/ruby/ext/grpc/rb_grpc_imports.generated.c +4 -0
  1119. data/src/ruby/ext/grpc/rb_grpc_imports.generated.h +6 -0
  1120. data/src/ruby/lib/grpc/version.rb +1 -1
  1121. data/src/ruby/pb/grpc/health/v1/health_pb.rb +1 -1
  1122. data/src/ruby/pb/src/proto/grpc/testing/empty_pb.rb +1 -1
  1123. data/src/ruby/pb/src/proto/grpc/testing/messages_pb.rb +7 -2
  1124. data/src/ruby/pb/src/proto/grpc/testing/test_pb.rb +2 -2
  1125. data/src/ruby/pb/src/proto/grpc/testing/test_services_pb.rb +22 -0
  1126. data/third_party/upb/upb/base/descriptor_constants.h +7 -27
  1127. data/third_party/upb/upb/base/internal/log2.h +38 -0
  1128. data/third_party/upb/upb/base/status.c +6 -26
  1129. data/third_party/upb/upb/base/status.h +6 -26
  1130. data/third_party/upb/upb/base/status.hpp +50 -0
  1131. data/third_party/upb/upb/base/string_view.h +11 -28
  1132. data/third_party/upb/upb/collections/array.h +11 -85
  1133. data/third_party/upb/upb/collections/map.h +11 -134
  1134. data/third_party/upb/upb/generated_code_support.h +13 -34
  1135. data/third_party/upb/upb/hash/common.c +7 -44
  1136. data/third_party/upb/upb/hash/common.h +16 -42
  1137. data/third_party/upb/upb/hash/int_table.h +6 -26
  1138. data/third_party/upb/upb/hash/str_table.h +6 -26
  1139. data/third_party/upb/upb/json/decode.c +31 -28
  1140. data/third_party/upb/upb/json/decode.h +32 -29
  1141. data/third_party/upb/upb/json/encode.c +31 -28
  1142. data/third_party/upb/upb/json/encode.h +35 -32
  1143. data/third_party/upb/upb/lex/atoi.c +6 -26
  1144. data/third_party/upb/upb/lex/atoi.h +8 -26
  1145. data/third_party/upb/upb/lex/round_trip.c +6 -26
  1146. data/third_party/upb/upb/lex/round_trip.h +6 -26
  1147. data/third_party/upb/upb/lex/strtod.c +6 -26
  1148. data/third_party/upb/upb/lex/strtod.h +6 -26
  1149. data/third_party/upb/upb/lex/unicode.c +6 -26
  1150. data/third_party/upb/upb/lex/unicode.h +8 -26
  1151. data/third_party/upb/upb/mem/alloc.c +6 -26
  1152. data/third_party/upb/upb/mem/alloc.h +6 -26
  1153. data/third_party/upb/upb/mem/arena.c +30 -29
  1154. data/third_party/upb/upb/mem/arena.h +16 -44
  1155. data/third_party/upb/upb/mem/arena.hpp +54 -0
  1156. data/third_party/upb/upb/mem/internal/arena.h +94 -0
  1157. data/third_party/upb/upb/message/accessors.c +10 -31
  1158. data/third_party/upb/upb/message/accessors.h +12 -32
  1159. data/third_party/upb/upb/message/array.c +154 -0
  1160. data/third_party/upb/upb/message/array.h +98 -0
  1161. data/third_party/upb/upb/message/internal/accessors.h +367 -0
  1162. data/third_party/upb/upb/message/internal/array.h +138 -0
  1163. data/third_party/upb/upb/message/internal/extension.h +63 -0
  1164. data/third_party/upb/upb/message/internal/map.h +173 -0
  1165. data/third_party/upb/upb/message/internal/map_entry.h +35 -33
  1166. data/third_party/upb/upb/message/internal/map_sorter.h +112 -0
  1167. data/third_party/upb/upb/message/internal/message.h +106 -0
  1168. data/third_party/upb/upb/message/internal/types.h +23 -0
  1169. data/third_party/upb/upb/message/map.c +145 -0
  1170. data/third_party/upb/upb/message/map.h +147 -0
  1171. data/third_party/upb/upb/message/map_gencode_util.h +81 -0
  1172. data/third_party/upb/upb/message/map_sorter.c +170 -0
  1173. data/third_party/upb/upb/message/message.c +8 -28
  1174. data/third_party/upb/upb/message/message.h +9 -26
  1175. data/third_party/upb/upb/message/tagged_ptr.h +8 -28
  1176. data/third_party/upb/upb/message/types.h +15 -0
  1177. data/third_party/upb/upb/message/value.h +46 -0
  1178. data/third_party/upb/upb/mini_descriptor/build_enum.c +6 -26
  1179. data/third_party/upb/upb/mini_descriptor/build_enum.h +7 -28
  1180. data/third_party/upb/upb/mini_descriptor/decode.c +21 -26
  1181. data/third_party/upb/upb/mini_descriptor/decode.h +6 -26
  1182. data/third_party/upb/upb/mini_descriptor/internal/base92.c +6 -26
  1183. data/third_party/upb/upb/mini_descriptor/internal/base92.h +9 -27
  1184. data/third_party/upb/upb/mini_descriptor/internal/decoder.h +6 -26
  1185. data/third_party/upb/upb/mini_descriptor/internal/encode.c +25 -28
  1186. data/third_party/upb/upb/mini_descriptor/internal/encode.h +8 -26
  1187. data/third_party/upb/upb/mini_descriptor/internal/encode.hpp +21 -39
  1188. data/third_party/upb/upb/mini_descriptor/internal/modifiers.h +8 -26
  1189. data/third_party/upb/upb/mini_descriptor/internal/wire_constants.h +7 -26
  1190. data/third_party/upb/upb/mini_descriptor/link.c +8 -28
  1191. data/third_party/upb/upb/mini_descriptor/link.h +6 -26
  1192. data/third_party/upb/upb/mini_table/enum.h +14 -26
  1193. data/third_party/upb/upb/mini_table/extension.h +6 -31
  1194. data/third_party/upb/upb/mini_table/extension_registry.c +6 -26
  1195. data/third_party/upb/upb/mini_table/extension_registry.h +7 -27
  1196. data/third_party/upb/upb/mini_table/field.h +6 -26
  1197. data/third_party/upb/upb/mini_table/file.h +6 -26
  1198. data/third_party/upb/upb/mini_table/internal/enum.h +8 -26
  1199. data/third_party/upb/upb/mini_table/internal/extension.h +6 -26
  1200. data/third_party/upb/upb/mini_table/internal/field.h +8 -30
  1201. data/third_party/upb/upb/mini_table/internal/file.h +9 -29
  1202. data/third_party/upb/upb/mini_table/internal/message.c +6 -26
  1203. data/third_party/upb/upb/mini_table/internal/message.h +7 -32
  1204. data/third_party/upb/upb/mini_table/internal/sub.h +6 -27
  1205. data/third_party/upb/upb/mini_table/message.c +6 -26
  1206. data/third_party/upb/upb/mini_table/message.h +6 -26
  1207. data/third_party/upb/upb/mini_table/sub.h +6 -26
  1208. data/third_party/upb/upb/port/atomic.h +8 -26
  1209. data/third_party/upb/upb/port/def.inc +28 -29
  1210. data/third_party/upb/upb/port/undef.inc +8 -26
  1211. data/third_party/upb/upb/port/vsnprintf_compat.h +6 -26
  1212. data/third_party/upb/upb/reflection/common.h +11 -27
  1213. data/third_party/upb/upb/reflection/def.h +8 -26
  1214. data/third_party/upb/upb/reflection/def.hpp +10 -27
  1215. data/third_party/upb/upb/reflection/def_pool.c +16 -35
  1216. data/third_party/upb/upb/reflection/def_pool.h +15 -36
  1217. data/third_party/upb/upb/reflection/def_type.c +6 -26
  1218. data/third_party/upb/upb/reflection/def_type.h +6 -27
  1219. data/third_party/upb/upb/reflection/desc_state.c +7 -27
  1220. data/third_party/upb/upb/reflection/enum_def.c +18 -36
  1221. data/third_party/upb/upb/reflection/enum_def.h +13 -33
  1222. data/third_party/upb/upb/reflection/enum_reserved_range.c +9 -30
  1223. data/third_party/upb/upb/reflection/enum_reserved_range.h +6 -26
  1224. data/third_party/upb/upb/reflection/enum_value_def.c +13 -32
  1225. data/third_party/upb/upb/reflection/enum_value_def.h +8 -28
  1226. data/third_party/upb/upb/reflection/extension_range.c +9 -28
  1227. data/third_party/upb/upb/reflection/extension_range.h +6 -26
  1228. data/third_party/upb/upb/reflection/field_def.c +68 -51
  1229. data/third_party/upb/upb/reflection/field_def.h +25 -42
  1230. data/third_party/upb/upb/reflection/file_def.c +23 -48
  1231. data/third_party/upb/upb/reflection/file_def.h +10 -30
  1232. data/third_party/upb/upb/reflection/internal/def_builder.c +339 -0
  1233. data/third_party/upb/upb/reflection/internal/def_builder.h +137 -0
  1234. data/third_party/upb/upb/reflection/internal/def_pool.h +57 -0
  1235. data/third_party/upb/upb/reflection/internal/desc_state.h +44 -0
  1236. data/third_party/upb/upb/reflection/internal/enum_def.h +36 -0
  1237. data/third_party/upb/upb/reflection/internal/enum_reserved_range.h +35 -0
  1238. data/third_party/upb/upb/reflection/internal/enum_value_def.h +37 -0
  1239. data/third_party/upb/upb/reflection/internal/extension_range.h +34 -0
  1240. data/third_party/upb/upb/reflection/internal/field_def.h +56 -0
  1241. data/third_party/upb/upb/reflection/internal/file_def.h +37 -0
  1242. data/third_party/upb/upb/reflection/internal/message_def.h +43 -0
  1243. data/third_party/upb/upb/reflection/internal/message_reserved_range.h +35 -0
  1244. data/third_party/upb/upb/reflection/internal/method_def.h +33 -0
  1245. data/third_party/upb/upb/reflection/internal/oneof_def.h +37 -0
  1246. data/third_party/upb/upb/reflection/internal/service_def.h +33 -0
  1247. data/third_party/upb/upb/reflection/internal/strdup2.c +33 -0
  1248. data/third_party/upb/upb/reflection/internal/strdup2.h +32 -0
  1249. data/third_party/upb/upb/reflection/message.c +8 -28
  1250. data/third_party/upb/upb/reflection/message.h +27 -40
  1251. data/third_party/upb/upb/reflection/message.hpp +5 -23
  1252. data/third_party/upb/upb/reflection/message_def.c +70 -54
  1253. data/third_party/upb/upb/reflection/message_def.h +25 -43
  1254. data/third_party/upb/upb/reflection/message_reserved_range.c +8 -28
  1255. data/third_party/upb/upb/reflection/message_reserved_range.h +6 -26
  1256. data/third_party/upb/upb/reflection/method_def.c +10 -29
  1257. data/third_party/upb/upb/reflection/method_def.h +6 -26
  1258. data/third_party/upb/upb/reflection/oneof_def.c +15 -33
  1259. data/third_party/upb/upb/reflection/oneof_def.h +11 -30
  1260. data/third_party/upb/upb/reflection/service_def.c +12 -31
  1261. data/third_party/upb/upb/reflection/service_def.h +6 -26
  1262. data/third_party/upb/upb/text/encode.c +8 -28
  1263. data/third_party/upb/upb/text/encode.h +6 -26
  1264. data/third_party/upb/upb/upb.hpp +11 -100
  1265. data/third_party/upb/upb/wire/decode.c +39 -40
  1266. data/third_party/upb/upb/wire/decode.h +10 -26
  1267. data/third_party/upb/upb/wire/decode_fast.c +10 -28
  1268. data/third_party/upb/upb/wire/decode_fast.h +6 -26
  1269. data/third_party/upb/upb/wire/encode.c +30 -34
  1270. data/third_party/upb/upb/wire/encode.h +14 -30
  1271. data/third_party/upb/upb/wire/eps_copy_input_stream.c +6 -26
  1272. data/third_party/upb/upb/wire/eps_copy_input_stream.h +6 -26
  1273. data/third_party/upb/upb/wire/internal/constants.h +27 -0
  1274. data/third_party/upb/upb/wire/internal/decode.h +143 -0
  1275. data/third_party/upb/upb/wire/internal/swap.h +45 -0
  1276. data/third_party/upb/upb/wire/reader.c +6 -26
  1277. data/third_party/upb/upb/wire/reader.h +8 -28
  1278. data/third_party/upb/upb/wire/types.h +6 -26
  1279. metadata +857 -683
  1280. data/src/core/ext/upb-generated/envoy/admin/v3/certs.upb.c +0 -150
  1281. data/src/core/ext/upb-generated/envoy/admin/v3/certs.upb.h +0 -727
  1282. data/src/core/ext/upb-generated/envoy/admin/v3/clusters.upb.c +0 -181
  1283. data/src/core/ext/upb-generated/envoy/admin/v3/clusters.upb.h +0 -827
  1284. data/src/core/ext/upb-generated/envoy/admin/v3/config_dump.upb.c +0 -158
  1285. data/src/core/ext/upb-generated/envoy/admin/v3/config_dump.upb.h +0 -735
  1286. data/src/core/ext/upb-generated/envoy/admin/v3/config_dump_shared.upb.c +0 -533
  1287. data/src/core/ext/upb-generated/envoy/admin/v3/config_dump_shared.upb.h +0 -2788
  1288. data/src/core/ext/upb-generated/envoy/admin/v3/init_dump.upb.c +0 -67
  1289. data/src/core/ext/upb-generated/envoy/admin/v3/init_dump.upb.h +0 -248
  1290. data/src/core/ext/upb-generated/envoy/admin/v3/listeners.upb.c +0 -75
  1291. data/src/core/ext/upb-generated/envoy/admin/v3/listeners.upb.h +0 -279
  1292. data/src/core/ext/upb-generated/envoy/admin/v3/memory.upb.c +0 -57
  1293. data/src/core/ext/upb-generated/envoy/admin/v3/memory.upb.h +0 -160
  1294. data/src/core/ext/upb-generated/envoy/admin/v3/metrics.upb.c +0 -50
  1295. data/src/core/ext/upb-generated/envoy/admin/v3/metrics.upb.h +0 -120
  1296. data/src/core/ext/upb-generated/envoy/admin/v3/mutex_stats.upb.c +0 -50
  1297. data/src/core/ext/upb-generated/envoy/admin/v3/mutex_stats.upb.h +0 -115
  1298. data/src/core/ext/upb-generated/envoy/admin/v3/server_info.upb.c +0 -151
  1299. data/src/core/ext/upb-generated/envoy/admin/v3/server_info.upb.h +0 -927
  1300. data/src/core/ext/upb-generated/envoy/admin/v3/tap.upb.c +0 -55
  1301. data/src/core/ext/upb-generated/envoy/admin/v3/tap.upb.h +0 -114
  1302. data/src/core/ext/upb-generated/envoy/annotations/deprecation.upb.c +0 -61
  1303. data/src/core/ext/upb-generated/envoy/annotations/deprecation.upb.h +0 -126
  1304. data/src/core/ext/upb-generated/envoy/annotations/resource.upb.c +0 -58
  1305. data/src/core/ext/upb-generated/envoy/annotations/resource.upb.h +0 -110
  1306. data/src/core/ext/upb-generated/envoy/config/accesslog/v3/accesslog.upb.c +0 -376
  1307. data/src/core/ext/upb-generated/envoy/config/accesslog/v3/accesslog.upb.h +0 -1764
  1308. data/src/core/ext/upb-generated/envoy/config/bootstrap/v3/bootstrap.upb.c +0 -570
  1309. data/src/core/ext/upb-generated/envoy/config/bootstrap/v3/bootstrap.upb.h +0 -3249
  1310. data/src/core/ext/upb-generated/envoy/config/cluster/v3/circuit_breaker.upb.c +0 -126
  1311. data/src/core/ext/upb-generated/envoy/config/cluster/v3/circuit_breaker.upb.h +0 -524
  1312. data/src/core/ext/upb-generated/envoy/config/cluster/v3/cluster.upb.c +0 -730
  1313. data/src/core/ext/upb-generated/envoy/config/cluster/v3/cluster.upb.h +0 -3918
  1314. data/src/core/ext/upb-generated/envoy/config/cluster/v3/filter.upb.c +0 -55
  1315. data/src/core/ext/upb-generated/envoy/config/cluster/v3/filter.upb.h +0 -114
  1316. data/src/core/ext/upb-generated/envoy/config/cluster/v3/outlier_detection.upb.c +0 -124
  1317. data/src/core/ext/upb-generated/envoy/config/cluster/v3/outlier_detection.upb.h +0 -656
  1318. data/src/core/ext/upb-generated/envoy/config/common/matcher/v3/matcher.upb.c +0 -396
  1319. data/src/core/ext/upb-generated/envoy/config/common/matcher/v3/matcher.upb.h +0 -1841
  1320. data/src/core/ext/upb-generated/envoy/config/core/v3/address.upb.c +0 -225
  1321. data/src/core/ext/upb-generated/envoy/config/core/v3/address.upb.h +0 -1046
  1322. data/src/core/ext/upb-generated/envoy/config/core/v3/backoff.upb.c +0 -56
  1323. data/src/core/ext/upb-generated/envoy/config/core/v3/backoff.upb.h +0 -126
  1324. data/src/core/ext/upb-generated/envoy/config/core/v3/base.upb.c +0 -578
  1325. data/src/core/ext/upb-generated/envoy/config/core/v3/base.upb.h +0 -2440
  1326. data/src/core/ext/upb-generated/envoy/config/core/v3/config_source.upb.c +0 -226
  1327. data/src/core/ext/upb-generated/envoy/config/core/v3/config_source.upb.h +0 -1133
  1328. data/src/core/ext/upb-generated/envoy/config/core/v3/event_service_config.upb.c +0 -52
  1329. data/src/core/ext/upb-generated/envoy/config/core/v3/event_service_config.upb.h +0 -107
  1330. data/src/core/ext/upb-generated/envoy/config/core/v3/extension.upb.c +0 -54
  1331. data/src/core/ext/upb-generated/envoy/config/core/v3/extension.upb.h +0 -114
  1332. data/src/core/ext/upb-generated/envoy/config/core/v3/grpc_method_list.upb.c +0 -69
  1333. data/src/core/ext/upb-generated/envoy/config/core/v3/grpc_method_list.upb.h +0 -248
  1334. data/src/core/ext/upb-generated/envoy/config/core/v3/grpc_service.upb.c +0 -379
  1335. data/src/core/ext/upb-generated/envoy/config/core/v3/grpc_service.upb.h +0 -1699
  1336. data/src/core/ext/upb-generated/envoy/config/core/v3/health_check.upb.c +0 -316
  1337. data/src/core/ext/upb-generated/envoy/config/core/v3/health_check.upb.h +0 -1943
  1338. data/src/core/ext/upb-generated/envoy/config/core/v3/http_uri.upb.c +0 -56
  1339. data/src/core/ext/upb-generated/envoy/config/core/v3/http_uri.upb.h +0 -141
  1340. data/src/core/ext/upb-generated/envoy/config/core/v3/protocol.upb.c +0 -482
  1341. data/src/core/ext/upb-generated/envoy/config/core/v3/protocol.upb.h +0 -2256
  1342. data/src/core/ext/upb-generated/envoy/config/core/v3/proxy_protocol.upb.c +0 -71
  1343. data/src/core/ext/upb-generated/envoy/config/core/v3/proxy_protocol.upb.h +0 -237
  1344. data/src/core/ext/upb-generated/envoy/config/core/v3/resolver.upb.c +0 -73
  1345. data/src/core/ext/upb-generated/envoy/config/core/v3/resolver.upb.h +0 -231
  1346. data/src/core/ext/upb-generated/envoy/config/core/v3/socket_option.upb.c +0 -77
  1347. data/src/core/ext/upb-generated/envoy/config/core/v3/socket_option.upb.h +0 -285
  1348. data/src/core/ext/upb-generated/envoy/config/core/v3/substitution_format_string.upb.c +0 -67
  1349. data/src/core/ext/upb-generated/envoy/config/core/v3/substitution_format_string.upb.h +0 -252
  1350. data/src/core/ext/upb-generated/envoy/config/core/v3/udp_socket_config.upb.c +0 -55
  1351. data/src/core/ext/upb-generated/envoy/config/core/v3/udp_socket_config.upb.h +0 -128
  1352. data/src/core/ext/upb-generated/envoy/config/endpoint/v3/endpoint.upb.c +0 -139
  1353. data/src/core/ext/upb-generated/envoy/config/endpoint/v3/endpoint.upb.h +0 -490
  1354. data/src/core/ext/upb-generated/envoy/config/endpoint/v3/endpoint_components.upb.c +0 -205
  1355. data/src/core/ext/upb-generated/envoy/config/endpoint/v3/endpoint_components.upb.h +0 -867
  1356. data/src/core/ext/upb-generated/envoy/config/endpoint/v3/load_report.upb.c +0 -180
  1357. data/src/core/ext/upb-generated/envoy/config/endpoint/v3/load_report.upb.h +0 -912
  1358. data/src/core/ext/upb-generated/envoy/config/listener/v3/api_listener.upb.c +0 -51
  1359. data/src/core/ext/upb-generated/envoy/config/listener/v3/api_listener.upb.h +0 -99
  1360. data/src/core/ext/upb-generated/envoy/config/listener/v3/listener.upb.c +0 -267
  1361. data/src/core/ext/upb-generated/envoy/config/listener/v3/listener.upb.h +0 -1592
  1362. data/src/core/ext/upb-generated/envoy/config/listener/v3/listener_components.upb.c +0 -261
  1363. data/src/core/ext/upb-generated/envoy/config/listener/v3/listener_components.upb.h +0 -1451
  1364. data/src/core/ext/upb-generated/envoy/config/listener/v3/quic_config.upb.c +0 -87
  1365. data/src/core/ext/upb-generated/envoy/config/listener/v3/quic_config.upb.h +0 -323
  1366. data/src/core/ext/upb-generated/envoy/config/listener/v3/udp_listener_config.upb.c +0 -78
  1367. data/src/core/ext/upb-generated/envoy/config/listener/v3/udp_listener_config.upb.h +0 -196
  1368. data/src/core/ext/upb-generated/envoy/config/metrics/v3/metrics_service.upb.c +0 -65
  1369. data/src/core/ext/upb-generated/envoy/config/metrics/v3/metrics_service.upb.h +0 -179
  1370. data/src/core/ext/upb-generated/envoy/config/metrics/v3/stats.upb.c +0 -220
  1371. data/src/core/ext/upb-generated/envoy/config/metrics/v3/stats.upb.h +0 -980
  1372. data/src/core/ext/upb-generated/envoy/config/overload/v3/overload.upb.c +0 -251
  1373. data/src/core/ext/upb-generated/envoy/config/overload/v3/overload.upb.h +0 -1189
  1374. data/src/core/ext/upb-generated/envoy/config/rbac/v3/rbac.upb.c +0 -349
  1375. data/src/core/ext/upb-generated/envoy/config/rbac/v3/rbac.upb.h +0 -1709
  1376. data/src/core/ext/upb-generated/envoy/config/route/v3/route.upb.c +0 -134
  1377. data/src/core/ext/upb-generated/envoy/config/route/v3/route.upb.h +0 -859
  1378. data/src/core/ext/upb-generated/envoy/config/route/v3/route_components.upb.c +0 -1644
  1379. data/src/core/ext/upb-generated/envoy/config/route/v3/route_components.upb.h +0 -9590
  1380. data/src/core/ext/upb-generated/envoy/config/route/v3/scoped_route.upb.c +0 -98
  1381. data/src/core/ext/upb-generated/envoy/config/route/v3/scoped_route.upb.h +0 -339
  1382. data/src/core/ext/upb-generated/envoy/config/tap/v3/common.upb.c +0 -326
  1383. data/src/core/ext/upb-generated/envoy/config/tap/v3/common.upb.h +0 -1522
  1384. data/src/core/ext/upb-generated/envoy/config/trace/v3/datadog.upb.c +0 -52
  1385. data/src/core/ext/upb-generated/envoy/config/trace/v3/datadog.upb.h +0 -115
  1386. data/src/core/ext/upb-generated/envoy/config/trace/v3/dynamic_ot.upb.c +0 -56
  1387. data/src/core/ext/upb-generated/envoy/config/trace/v3/dynamic_ot.upb.h +0 -114
  1388. data/src/core/ext/upb-generated/envoy/config/trace/v3/http_tracer.upb.c +0 -74
  1389. data/src/core/ext/upb-generated/envoy/config/trace/v3/http_tracer.upb.h +0 -188
  1390. data/src/core/ext/upb-generated/envoy/config/trace/v3/lightstep.upb.c +0 -63
  1391. data/src/core/ext/upb-generated/envoy/config/trace/v3/lightstep.upb.h +0 -197
  1392. data/src/core/ext/upb-generated/envoy/config/trace/v3/opencensus.upb.c +0 -82
  1393. data/src/core/ext/upb-generated/envoy/config/trace/v3/opencensus.upb.h +0 -405
  1394. data/src/core/ext/upb-generated/envoy/config/trace/v3/opentelemetry.upb.c +0 -53
  1395. data/src/core/ext/upb-generated/envoy/config/trace/v3/opentelemetry.upb.h +0 -114
  1396. data/src/core/ext/upb-generated/envoy/config/trace/v3/service.upb.c +0 -52
  1397. data/src/core/ext/upb-generated/envoy/config/trace/v3/service.upb.h +0 -99
  1398. data/src/core/ext/upb-generated/envoy/config/trace/v3/skywalking.upb.c +0 -86
  1399. data/src/core/ext/upb-generated/envoy/config/trace/v3/skywalking.upb.h +0 -251
  1400. data/src/core/ext/upb-generated/envoy/config/trace/v3/trace.upb.c +0 -34
  1401. data/src/core/ext/upb-generated/envoy/config/trace/v3/trace.upb.h +0 -40
  1402. data/src/core/ext/upb-generated/envoy/config/trace/v3/xray.upb.c +0 -88
  1403. data/src/core/ext/upb-generated/envoy/config/trace/v3/xray.upb.h +0 -253
  1404. data/src/core/ext/upb-generated/envoy/config/trace/v3/zipkin.upb.c +0 -66
  1405. data/src/core/ext/upb-generated/envoy/config/trace/v3/zipkin.upb.h +0 -196
  1406. data/src/core/ext/upb-generated/envoy/data/accesslog/v3/accesslog.upb.c +0 -556
  1407. data/src/core/ext/upb-generated/envoy/data/accesslog/v3/accesslog.upb.h +0 -2702
  1408. data/src/core/ext/upb-generated/envoy/extensions/clusters/aggregate/v3/cluster.upb.c +0 -47
  1409. data/src/core/ext/upb-generated/envoy/extensions/clusters/aggregate/v3/cluster.upb.h +0 -131
  1410. data/src/core/ext/upb-generated/envoy/extensions/filters/common/fault/v3/fault.upb.c +0 -117
  1411. data/src/core/ext/upb-generated/envoy/extensions/filters/common/fault/v3/fault.upb.h +0 -429
  1412. data/src/core/ext/upb-generated/envoy/extensions/filters/http/fault/v3/fault.upb.c +0 -142
  1413. data/src/core/ext/upb-generated/envoy/extensions/filters/http/fault/v3/fault.upb.h +0 -656
  1414. data/src/core/ext/upb-generated/envoy/extensions/filters/http/rbac/v3/rbac.upb.c +0 -88
  1415. data/src/core/ext/upb-generated/envoy/extensions/filters/http/rbac/v3/rbac.upb.h +0 -263
  1416. data/src/core/ext/upb-generated/envoy/extensions/filters/http/router/v3/router.upb.c +0 -102
  1417. data/src/core/ext/upb-generated/envoy/extensions/filters/http/router/v3/router.upb.h +0 -460
  1418. data/src/core/ext/upb-generated/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upb.c +0 -73
  1419. data/src/core/ext/upb-generated/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upb.h +0 -193
  1420. data/src/core/ext/upb-generated/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upb.c +0 -680
  1421. data/src/core/ext/upb-generated/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upb.h +0 -3965
  1422. data/src/core/ext/upb-generated/envoy/extensions/http/stateful_session/cookie/v3/cookie.upb.c +0 -51
  1423. data/src/core/ext/upb-generated/envoy/extensions/http/stateful_session/cookie/v3/cookie.upb.h +0 -99
  1424. data/src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/client_side_weighted_round_robin/v3/client_side_weighted_round_robin.upb.c +0 -68
  1425. data/src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/client_side_weighted_round_robin/v3/client_side_weighted_round_robin.upb.h +0 -238
  1426. data/src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/common/v3/common.upb.c +0 -136
  1427. data/src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/common/v3/common.upb.h +0 -491
  1428. data/src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/pick_first/v3/pick_first.upb.c +0 -45
  1429. data/src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/pick_first/v3/pick_first.upb.h +0 -85
  1430. data/src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/ring_hash/v3/ring_hash.upb.c +0 -69
  1431. data/src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/ring_hash/v3/ring_hash.upb.h +0 -249
  1432. data/src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/wrr_locality/v3/wrr_locality.upb.c +0 -51
  1433. data/src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/wrr_locality/v3/wrr_locality.upb.h +0 -99
  1434. data/src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/cert.upb.c +0 -29
  1435. data/src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/cert.upb.h +0 -35
  1436. data/src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/common.upb.c +0 -263
  1437. data/src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/common.upb.h +0 -1471
  1438. data/src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/secret.upb.c +0 -109
  1439. data/src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/secret.upb.h +0 -361
  1440. data/src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/tls.upb.c +0 -268
  1441. data/src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/tls.upb.h +0 -1474
  1442. data/src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upb.c +0 -73
  1443. data/src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upb.h +0 -216
  1444. data/src/core/ext/upb-generated/envoy/service/discovery/v3/ads.upb.c +0 -39
  1445. data/src/core/ext/upb-generated/envoy/service/discovery/v3/ads.upb.h +0 -70
  1446. data/src/core/ext/upb-generated/envoy/service/discovery/v3/discovery.upb.c +0 -403
  1447. data/src/core/ext/upb-generated/envoy/service/discovery/v3/discovery.upb.h +0 -2153
  1448. data/src/core/ext/upb-generated/envoy/service/load_stats/v3/lrs.upb.c +0 -85
  1449. data/src/core/ext/upb-generated/envoy/service/load_stats/v3/lrs.upb.h +0 -323
  1450. data/src/core/ext/upb-generated/envoy/service/status/v3/csds.upb.c +0 -183
  1451. data/src/core/ext/upb-generated/envoy/service/status/v3/csds.upb.h +0 -915
  1452. data/src/core/ext/upb-generated/envoy/type/http/v3/cookie.upb.c +0 -55
  1453. data/src/core/ext/upb-generated/envoy/type/http/v3/cookie.upb.h +0 -129
  1454. data/src/core/ext/upb-generated/envoy/type/http/v3/path_transformation.upb.c +0 -87
  1455. data/src/core/ext/upb-generated/envoy/type/http/v3/path_transformation.upb.h +0 -313
  1456. data/src/core/ext/upb-generated/envoy/type/matcher/v3/filter_state.upb.c +0 -54
  1457. data/src/core/ext/upb-generated/envoy/type/matcher/v3/filter_state.upb.h +0 -122
  1458. data/src/core/ext/upb-generated/envoy/type/matcher/v3/http_inputs.upb.c +0 -106
  1459. data/src/core/ext/upb-generated/envoy/type/matcher/v3/http_inputs.upb.h +0 -301
  1460. data/src/core/ext/upb-generated/envoy/type/matcher/v3/metadata.upb.c +0 -77
  1461. data/src/core/ext/upb-generated/envoy/type/matcher/v3/metadata.upb.h +0 -258
  1462. data/src/core/ext/upb-generated/envoy/type/matcher/v3/node.upb.c +0 -56
  1463. data/src/core/ext/upb-generated/envoy/type/matcher/v3/node.upb.h +0 -164
  1464. data/src/core/ext/upb-generated/envoy/type/matcher/v3/number.upb.c +0 -55
  1465. data/src/core/ext/upb-generated/envoy/type/matcher/v3/number.upb.h +0 -127
  1466. data/src/core/ext/upb-generated/envoy/type/matcher/v3/path.upb.c +0 -52
  1467. data/src/core/ext/upb-generated/envoy/type/matcher/v3/path.upb.h +0 -107
  1468. data/src/core/ext/upb-generated/envoy/type/matcher/v3/regex.upb.c +0 -97
  1469. data/src/core/ext/upb-generated/envoy/type/matcher/v3/regex.upb.h +0 -269
  1470. data/src/core/ext/upb-generated/envoy/type/matcher/v3/status_code_input.upb.c +0 -44
  1471. data/src/core/ext/upb-generated/envoy/type/matcher/v3/status_code_input.upb.h +0 -109
  1472. data/src/core/ext/upb-generated/envoy/type/matcher/v3/string.upb.c +0 -82
  1473. data/src/core/ext/upb-generated/envoy/type/matcher/v3/string.upb.h +0 -304
  1474. data/src/core/ext/upb-generated/envoy/type/matcher/v3/struct.upb.c +0 -71
  1475. data/src/core/ext/upb-generated/envoy/type/matcher/v3/struct.upb.h +0 -228
  1476. data/src/core/ext/upb-generated/envoy/type/matcher/v3/value.upb.c +0 -93
  1477. data/src/core/ext/upb-generated/envoy/type/matcher/v3/value.upb.h +0 -346
  1478. data/src/core/ext/upb-generated/envoy/type/metadata/v3/metadata.upb.c +0 -128
  1479. data/src/core/ext/upb-generated/envoy/type/metadata/v3/metadata.upb.h +0 -528
  1480. data/src/core/ext/upb-generated/envoy/type/tracing/v3/custom_tag.upb.c +0 -140
  1481. data/src/core/ext/upb-generated/envoy/type/tracing/v3/custom_tag.upb.h +0 -508
  1482. data/src/core/ext/upb-generated/envoy/type/v3/hash_policy.upb.c +0 -77
  1483. data/src/core/ext/upb-generated/envoy/type/v3/hash_policy.upb.h +0 -226
  1484. data/src/core/ext/upb-generated/envoy/type/v3/http.upb.c +0 -27
  1485. data/src/core/ext/upb-generated/envoy/type/v3/http.upb.h +0 -36
  1486. data/src/core/ext/upb-generated/envoy/type/v3/http_status.upb.c +0 -47
  1487. data/src/core/ext/upb-generated/envoy/type/v3/http_status.upb.h +0 -145
  1488. data/src/core/ext/upb-generated/envoy/type/v3/percent.upb.c +0 -65
  1489. data/src/core/ext/upb-generated/envoy/type/v3/percent.upb.h +0 -160
  1490. data/src/core/ext/upb-generated/envoy/type/v3/range.upb.c +0 -85
  1491. data/src/core/ext/upb-generated/envoy/type/v3/range.upb.h +0 -238
  1492. data/src/core/ext/upb-generated/envoy/type/v3/ratelimit_strategy.upb.c +0 -76
  1493. data/src/core/ext/upb-generated/envoy/type/v3/ratelimit_strategy.upb.h +0 -229
  1494. data/src/core/ext/upb-generated/envoy/type/v3/ratelimit_unit.upb.c +0 -27
  1495. data/src/core/ext/upb-generated/envoy/type/v3/ratelimit_unit.upb.h +0 -40
  1496. data/src/core/ext/upb-generated/envoy/type/v3/semantic_version.upb.c +0 -50
  1497. data/src/core/ext/upb-generated/envoy/type/v3/semantic_version.upb.h +0 -115
  1498. data/src/core/ext/upb-generated/envoy/type/v3/token_bucket.upb.c +0 -58
  1499. data/src/core/ext/upb-generated/envoy/type/v3/token_bucket.upb.h +0 -143
  1500. data/src/core/ext/upb-generated/google/api/annotations.upb.c +0 -41
  1501. data/src/core/ext/upb-generated/google/api/annotations.upb.h +0 -55
  1502. data/src/core/ext/upb-generated/google/api/expr/v1alpha1/checked.upb.c +0 -370
  1503. data/src/core/ext/upb-generated/google/api/expr/v1alpha1/checked.upb.h +0 -1756
  1504. data/src/core/ext/upb-generated/google/api/expr/v1alpha1/syntax.upb.c +0 -400
  1505. data/src/core/ext/upb-generated/google/api/expr/v1alpha1/syntax.upb.h +0 -1841
  1506. data/src/core/ext/upb-generated/google/api/http.upb.c +0 -112
  1507. data/src/core/ext/upb-generated/google/api/http.upb.h +0 -499
  1508. data/src/core/ext/upb-generated/google/api/httpbody.upb.c +0 -53
  1509. data/src/core/ext/upb-generated/google/api/httpbody.upb.h +0 -165
  1510. data/src/core/ext/upb-generated/google/protobuf/any.upb.c +0 -47
  1511. data/src/core/ext/upb-generated/google/protobuf/any.upb.h +0 -100
  1512. data/src/core/ext/upb-generated/google/protobuf/descriptor.upb.c +0 -1327
  1513. data/src/core/ext/upb-generated/google/protobuf/descriptor.upb.h +0 -6236
  1514. data/src/core/ext/upb-generated/google/protobuf/duration.upb.c +0 -47
  1515. data/src/core/ext/upb-generated/google/protobuf/duration.upb.h +0 -100
  1516. data/src/core/ext/upb-generated/google/protobuf/empty.upb.c +0 -36
  1517. data/src/core/ext/upb-generated/google/protobuf/empty.upb.h +0 -70
  1518. data/src/core/ext/upb-generated/google/protobuf/struct.upb.c +0 -116
  1519. data/src/core/ext/upb-generated/google/protobuf/struct.upb.h +0 -426
  1520. data/src/core/ext/upb-generated/google/protobuf/timestamp.upb.c +0 -47
  1521. data/src/core/ext/upb-generated/google/protobuf/timestamp.upb.h +0 -100
  1522. data/src/core/ext/upb-generated/google/protobuf/wrappers.upb.c +0 -164
  1523. data/src/core/ext/upb-generated/google/protobuf/wrappers.upb.h +0 -517
  1524. data/src/core/ext/upb-generated/google/rpc/status.upb.c +0 -53
  1525. data/src/core/ext/upb-generated/google/rpc/status.upb.h +0 -165
  1526. data/src/core/ext/upb-generated/opencensus/proto/trace/v1/trace_config.upb.c +0 -107
  1527. data/src/core/ext/upb-generated/opencensus/proto/trace/v1/trace_config.upb.h +0 -389
  1528. data/src/core/ext/upb-generated/src/proto/grpc/gcp/altscontext.upb.c +0 -80
  1529. data/src/core/ext/upb-generated/src/proto/grpc/gcp/altscontext.upb.h +0 -238
  1530. data/src/core/ext/upb-generated/src/proto/grpc/gcp/handshaker.upb.c +0 -343
  1531. data/src/core/ext/upb-generated/src/proto/grpc/gcp/handshaker.upb.h +0 -1669
  1532. data/src/core/ext/upb-generated/src/proto/grpc/gcp/transport_security_common.upb.c +0 -70
  1533. data/src/core/ext/upb-generated/src/proto/grpc/gcp/transport_security_common.upb.h +0 -199
  1534. data/src/core/ext/upb-generated/src/proto/grpc/health/v1/health.upb.c +0 -59
  1535. data/src/core/ext/upb-generated/src/proto/grpc/health/v1/health.upb.h +0 -146
  1536. data/src/core/ext/upb-generated/src/proto/grpc/lb/v1/load_balancer.upb.c +0 -222
  1537. data/src/core/ext/upb-generated/src/proto/grpc/lb/v1/load_balancer.upb.h +0 -885
  1538. data/src/core/ext/upb-generated/src/proto/grpc/lookup/v1/rls.upb.c +0 -93
  1539. data/src/core/ext/upb-generated/src/proto/grpc/lookup/v1/rls.upb.h +0 -300
  1540. data/src/core/ext/upb-generated/src/proto/grpc/lookup/v1/rls_config.upb.c +0 -244
  1541. data/src/core/ext/upb-generated/src/proto/grpc/lookup/v1/rls_config.upb.h +0 -1341
  1542. data/src/core/ext/upb-generated/udpa/annotations/migrate.upb.c +0 -127
  1543. data/src/core/ext/upb-generated/udpa/annotations/migrate.upb.h +0 -333
  1544. data/src/core/ext/upb-generated/udpa/annotations/security.upb.c +0 -62
  1545. data/src/core/ext/upb-generated/udpa/annotations/security.upb.h +0 -125
  1546. data/src/core/ext/upb-generated/udpa/annotations/sensitive.upb.c +0 -39
  1547. data/src/core/ext/upb-generated/udpa/annotations/sensitive.upb.h +0 -55
  1548. data/src/core/ext/upb-generated/udpa/annotations/status.upb.c +0 -61
  1549. data/src/core/ext/upb-generated/udpa/annotations/status.upb.h +0 -132
  1550. data/src/core/ext/upb-generated/udpa/annotations/versioning.upb.c +0 -58
  1551. data/src/core/ext/upb-generated/udpa/annotations/versioning.upb.h +0 -110
  1552. data/src/core/ext/upb-generated/validate/validate.upb.c +0 -948
  1553. data/src/core/ext/upb-generated/validate/validate.upb.h +0 -6536
  1554. data/src/core/ext/upb-generated/xds/annotations/v3/migrate.upb.c +0 -127
  1555. data/src/core/ext/upb-generated/xds/annotations/v3/migrate.upb.h +0 -333
  1556. data/src/core/ext/upb-generated/xds/annotations/v3/security.upb.c +0 -62
  1557. data/src/core/ext/upb-generated/xds/annotations/v3/security.upb.h +0 -125
  1558. data/src/core/ext/upb-generated/xds/annotations/v3/sensitive.upb.c +0 -39
  1559. data/src/core/ext/upb-generated/xds/annotations/v3/sensitive.upb.h +0 -55
  1560. data/src/core/ext/upb-generated/xds/annotations/v3/status.upb.c +0 -124
  1561. data/src/core/ext/upb-generated/xds/annotations/v3/status.upb.h +0 -344
  1562. data/src/core/ext/upb-generated/xds/annotations/v3/versioning.upb.c +0 -58
  1563. data/src/core/ext/upb-generated/xds/annotations/v3/versioning.upb.h +0 -110
  1564. data/src/core/ext/upb-generated/xds/core/v3/authority.upb.c +0 -46
  1565. data/src/core/ext/upb-generated/xds/core/v3/authority.upb.h +0 -85
  1566. data/src/core/ext/upb-generated/xds/core/v3/cidr.upb.c +0 -54
  1567. data/src/core/ext/upb-generated/xds/core/v3/cidr.upb.h +0 -114
  1568. data/src/core/ext/upb-generated/xds/core/v3/collection_entry.upb.c +0 -79
  1569. data/src/core/ext/upb-generated/xds/core/v3/collection_entry.upb.h +0 -233
  1570. data/src/core/ext/upb-generated/xds/core/v3/context_params.upb.c +0 -63
  1571. data/src/core/ext/upb-generated/xds/core/v3/context_params.upb.h +0 -134
  1572. data/src/core/ext/upb-generated/xds/core/v3/extension.upb.c +0 -53
  1573. data/src/core/ext/upb-generated/xds/core/v3/extension.upb.h +0 -114
  1574. data/src/core/ext/upb-generated/xds/core/v3/resource.upb.c +0 -56
  1575. data/src/core/ext/upb-generated/xds/core/v3/resource.upb.h +0 -143
  1576. data/src/core/ext/upb-generated/xds/core/v3/resource_locator.upb.c +0 -85
  1577. data/src/core/ext/upb-generated/xds/core/v3/resource_locator.upb.h +0 -330
  1578. data/src/core/ext/upb-generated/xds/core/v3/resource_name.upb.c +0 -60
  1579. data/src/core/ext/upb-generated/xds/core/v3/resource_name.upb.h +0 -144
  1580. data/src/core/ext/upb-generated/xds/data/orca/v3/orca_load_report.upb.c +0 -127
  1581. data/src/core/ext/upb-generated/xds/data/orca/v3/orca_load_report.upb.h +0 -352
  1582. data/src/core/ext/upb-generated/xds/service/orca/v3/orca.upb.c +0 -53
  1583. data/src/core/ext/upb-generated/xds/service/orca/v3/orca.upb.h +0 -160
  1584. data/src/core/ext/upb-generated/xds/type/matcher/v3/cel.upb.c +0 -51
  1585. data/src/core/ext/upb-generated/xds/type/matcher/v3/cel.upb.h +0 -99
  1586. data/src/core/ext/upb-generated/xds/type/matcher/v3/domain.upb.c +0 -73
  1587. data/src/core/ext/upb-generated/xds/type/matcher/v3/domain.upb.h +0 -262
  1588. data/src/core/ext/upb-generated/xds/type/matcher/v3/http_inputs.upb.c +0 -37
  1589. data/src/core/ext/upb-generated/xds/type/matcher/v3/http_inputs.upb.h +0 -70
  1590. data/src/core/ext/upb-generated/xds/type/matcher/v3/ip.upb.c +0 -76
  1591. data/src/core/ext/upb-generated/xds/type/matcher/v3/ip.upb.h +0 -281
  1592. data/src/core/ext/upb-generated/xds/type/matcher/v3/matcher.upb.c +0 -266
  1593. data/src/core/ext/upb-generated/xds/type/matcher/v3/matcher.upb.h +0 -1114
  1594. data/src/core/ext/upb-generated/xds/type/matcher/v3/range.upb.c +0 -158
  1595. data/src/core/ext/upb-generated/xds/type/matcher/v3/range.upb.h +0 -732
  1596. data/src/core/ext/upb-generated/xds/type/matcher/v3/regex.upb.c +0 -59
  1597. data/src/core/ext/upb-generated/xds/type/matcher/v3/regex.upb.h +0 -159
  1598. data/src/core/ext/upb-generated/xds/type/matcher/v3/string.upb.c +0 -80
  1599. data/src/core/ext/upb-generated/xds/type/matcher/v3/string.upb.h +0 -304
  1600. data/src/core/ext/upb-generated/xds/type/v3/cel.upb.c +0 -80
  1601. data/src/core/ext/upb-generated/xds/type/v3/cel.upb.h +0 -232
  1602. data/src/core/ext/upb-generated/xds/type/v3/range.upb.c +0 -83
  1603. data/src/core/ext/upb-generated/xds/type/v3/range.upb.h +0 -238
  1604. data/src/core/ext/upb-generated/xds/type/v3/typed_struct.upb.c +0 -52
  1605. data/src/core/ext/upb-generated/xds/type/v3/typed_struct.upb.h +0 -114
  1606. data/src/core/ext/upbdefs-generated/envoy/admin/v3/certs.upbdefs.c +0 -84
  1607. data/src/core/ext/upbdefs-generated/envoy/admin/v3/certs.upbdefs.h +0 -56
  1608. data/src/core/ext/upbdefs-generated/envoy/admin/v3/clusters.upbdefs.c +0 -128
  1609. data/src/core/ext/upbdefs-generated/envoy/admin/v3/clusters.upbdefs.h +0 -51
  1610. data/src/core/ext/upbdefs-generated/envoy/admin/v3/config_dump.upbdefs.c +0 -102
  1611. data/src/core/ext/upbdefs-generated/envoy/admin/v3/config_dump.upbdefs.h +0 -56
  1612. data/src/core/ext/upbdefs-generated/envoy/admin/v3/config_dump_shared.upbdefs.c +0 -277
  1613. data/src/core/ext/upbdefs-generated/envoy/admin/v3/config_dump_shared.upbdefs.h +0 -126
  1614. data/src/core/ext/upbdefs-generated/envoy/admin/v3/init_dump.upbdefs.c +0 -43
  1615. data/src/core/ext/upbdefs-generated/envoy/admin/v3/init_dump.upbdefs.h +0 -41
  1616. data/src/core/ext/upbdefs-generated/envoy/admin/v3/listeners.upbdefs.c +0 -56
  1617. data/src/core/ext/upbdefs-generated/envoy/admin/v3/listeners.upbdefs.h +0 -41
  1618. data/src/core/ext/upbdefs-generated/envoy/admin/v3/memory.upbdefs.c +0 -49
  1619. data/src/core/ext/upbdefs-generated/envoy/admin/v3/memory.upbdefs.h +0 -36
  1620. data/src/core/ext/upbdefs-generated/envoy/admin/v3/metrics.upbdefs.c +0 -46
  1621. data/src/core/ext/upbdefs-generated/envoy/admin/v3/metrics.upbdefs.h +0 -36
  1622. data/src/core/ext/upbdefs-generated/envoy/admin/v3/mutex_stats.upbdefs.c +0 -46
  1623. data/src/core/ext/upbdefs-generated/envoy/admin/v3/mutex_stats.upbdefs.h +0 -36
  1624. data/src/core/ext/upbdefs-generated/envoy/admin/v3/server_info.upbdefs.c +0 -142
  1625. data/src/core/ext/upbdefs-generated/envoy/admin/v3/server_info.upbdefs.h +0 -41
  1626. data/src/core/ext/upbdefs-generated/envoy/admin/v3/tap.upbdefs.c +0 -51
  1627. data/src/core/ext/upbdefs-generated/envoy/admin/v3/tap.upbdefs.h +0 -36
  1628. data/src/core/ext/upbdefs-generated/envoy/annotations/deprecation.upbdefs.c +0 -48
  1629. data/src/core/ext/upbdefs-generated/envoy/annotations/deprecation.upbdefs.h +0 -31
  1630. data/src/core/ext/upbdefs-generated/envoy/annotations/resource.upbdefs.c +0 -38
  1631. data/src/core/ext/upbdefs-generated/envoy/annotations/resource.upbdefs.h +0 -36
  1632. data/src/core/ext/upbdefs-generated/envoy/config/accesslog/v3/accesslog.upbdefs.c +0 -234
  1633. data/src/core/ext/upbdefs-generated/envoy/config/accesslog/v3/accesslog.upbdefs.h +0 -111
  1634. data/src/core/ext/upbdefs-generated/envoy/config/bootstrap/v3/bootstrap.upbdefs.c +0 -408
  1635. data/src/core/ext/upbdefs-generated/envoy/config/bootstrap/v3/bootstrap.upbdefs.h +0 -121
  1636. data/src/core/ext/upbdefs-generated/envoy/config/cluster/v3/circuit_breaker.upbdefs.c +0 -98
  1637. data/src/core/ext/upbdefs-generated/envoy/config/cluster/v3/circuit_breaker.upbdefs.h +0 -46
  1638. data/src/core/ext/upbdefs-generated/envoy/config/cluster/v3/cluster.upbdefs.c +0 -567
  1639. data/src/core/ext/upbdefs-generated/envoy/config/cluster/v3/cluster.upbdefs.h +0 -151
  1640. data/src/core/ext/upbdefs-generated/envoy/config/cluster/v3/filter.upbdefs.c +0 -51
  1641. data/src/core/ext/upbdefs-generated/envoy/config/cluster/v3/filter.upbdefs.h +0 -36
  1642. data/src/core/ext/upbdefs-generated/envoy/config/cluster/v3/outlier_detection.upbdefs.c +0 -138
  1643. data/src/core/ext/upbdefs-generated/envoy/config/cluster/v3/outlier_detection.upbdefs.h +0 -36
  1644. data/src/core/ext/upbdefs-generated/envoy/config/common/matcher/v3/matcher.upbdefs.c +0 -206
  1645. data/src/core/ext/upbdefs-generated/envoy/config/common/matcher/v3/matcher.upbdefs.h +0 -106
  1646. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/address.upbdefs.c +0 -132
  1647. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/address.upbdefs.h +0 -71
  1648. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/backoff.upbdefs.c +0 -54
  1649. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/backoff.upbdefs.h +0 -36
  1650. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/base.upbdefs.c +0 -271
  1651. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/base.upbdefs.h +0 -151
  1652. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/config_source.upbdefs.c +0 -168
  1653. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/config_source.upbdefs.h +0 -66
  1654. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/event_service_config.upbdefs.c +0 -53
  1655. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/event_service_config.upbdefs.h +0 -36
  1656. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/extension.upbdefs.c +0 -47
  1657. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/extension.upbdefs.h +0 -36
  1658. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/grpc_method_list.upbdefs.c +0 -53
  1659. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/grpc_method_list.upbdefs.h +0 -41
  1660. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/grpc_service.upbdefs.c +0 -237
  1661. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/grpc_service.upbdefs.h +0 -101
  1662. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/health_check.upbdefs.c +0 -245
  1663. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/health_check.upbdefs.h +0 -76
  1664. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/http_uri.upbdefs.c +0 -53
  1665. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/http_uri.upbdefs.h +0 -36
  1666. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/protocol.upbdefs.c +0 -311
  1667. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/protocol.upbdefs.h +0 -111
  1668. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/proxy_protocol.upbdefs.c +0 -57
  1669. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/proxy_protocol.upbdefs.h +0 -41
  1670. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/resolver.upbdefs.c +0 -55
  1671. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/resolver.upbdefs.h +0 -41
  1672. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/socket_option.upbdefs.c +0 -61
  1673. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/socket_option.upbdefs.h +0 -41
  1674. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/substitution_format_string.upbdefs.c +0 -70
  1675. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/substitution_format_string.upbdefs.h +0 -36
  1676. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/udp_socket_config.upbdefs.c +0 -49
  1677. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/udp_socket_config.upbdefs.h +0 -36
  1678. data/src/core/ext/upbdefs-generated/envoy/config/endpoint/v3/endpoint.upbdefs.c +0 -99
  1679. data/src/core/ext/upbdefs-generated/envoy/config/endpoint/v3/endpoint.upbdefs.h +0 -51
  1680. data/src/core/ext/upbdefs-generated/envoy/config/endpoint/v3/endpoint_components.upbdefs.c +0 -133
  1681. data/src/core/ext/upbdefs-generated/envoy/config/endpoint/v3/endpoint_components.upbdefs.h +0 -61
  1682. data/src/core/ext/upbdefs-generated/envoy/config/endpoint/v3/load_report.upbdefs.c +0 -136
  1683. data/src/core/ext/upbdefs-generated/envoy/config/endpoint/v3/load_report.upbdefs.h +0 -56
  1684. data/src/core/ext/upbdefs-generated/envoy/config/listener/v3/api_listener.upbdefs.c +0 -48
  1685. data/src/core/ext/upbdefs-generated/envoy/config/listener/v3/api_listener.upbdefs.h +0 -36
  1686. data/src/core/ext/upbdefs-generated/envoy/config/listener/v3/listener.upbdefs.c +0 -227
  1687. data/src/core/ext/upbdefs-generated/envoy/config/listener/v3/listener.upbdefs.h +0 -81
  1688. data/src/core/ext/upbdefs-generated/envoy/config/listener/v3/listener_components.upbdefs.c +0 -190
  1689. data/src/core/ext/upbdefs-generated/envoy/config/listener/v3/listener_components.upbdefs.h +0 -66
  1690. data/src/core/ext/upbdefs-generated/envoy/config/listener/v3/quic_config.upbdefs.c +0 -101
  1691. data/src/core/ext/upbdefs-generated/envoy/config/listener/v3/quic_config.upbdefs.h +0 -36
  1692. data/src/core/ext/upbdefs-generated/envoy/config/listener/v3/udp_listener_config.upbdefs.c +0 -71
  1693. data/src/core/ext/upbdefs-generated/envoy/config/listener/v3/udp_listener_config.upbdefs.h +0 -41
  1694. data/src/core/ext/upbdefs-generated/envoy/config/metrics/v3/metrics_service.upbdefs.c +0 -76
  1695. data/src/core/ext/upbdefs-generated/envoy/config/metrics/v3/metrics_service.upbdefs.h +0 -36
  1696. data/src/core/ext/upbdefs-generated/envoy/config/metrics/v3/stats.upbdefs.c +0 -125
  1697. data/src/core/ext/upbdefs-generated/envoy/config/metrics/v3/stats.upbdefs.h +0 -71
  1698. data/src/core/ext/upbdefs-generated/envoy/config/overload/v3/overload.upbdefs.c +0 -142
  1699. data/src/core/ext/upbdefs-generated/envoy/config/overload/v3/overload.upbdefs.h +0 -81
  1700. data/src/core/ext/upbdefs-generated/envoy/config/rbac/v3/rbac.upbdefs.c +0 -223
  1701. data/src/core/ext/upbdefs-generated/envoy/config/rbac/v3/rbac.upbdefs.h +0 -86
  1702. data/src/core/ext/upbdefs-generated/envoy/config/route/v3/route.upbdefs.c +0 -123
  1703. data/src/core/ext/upbdefs-generated/envoy/config/route/v3/route.upbdefs.h +0 -46
  1704. data/src/core/ext/upbdefs-generated/envoy/config/route/v3/route_components.upbdefs.c +0 -972
  1705. data/src/core/ext/upbdefs-generated/envoy/config/route/v3/route_components.upbdefs.h +0 -316
  1706. data/src/core/ext/upbdefs-generated/envoy/config/route/v3/scoped_route.upbdefs.c +0 -77
  1707. data/src/core/ext/upbdefs-generated/envoy/config/route/v3/scoped_route.upbdefs.h +0 -46
  1708. data/src/core/ext/upbdefs-generated/envoy/config/tap/v3/common.upbdefs.c +0 -199
  1709. data/src/core/ext/upbdefs-generated/envoy/config/tap/v3/common.upbdefs.h +0 -91
  1710. data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/datadog.upbdefs.c +0 -56
  1711. data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/datadog.upbdefs.h +0 -36
  1712. data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/dynamic_ot.upbdefs.c +0 -57
  1713. data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/dynamic_ot.upbdefs.h +0 -36
  1714. data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/http_tracer.upbdefs.c +0 -57
  1715. data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/http_tracer.upbdefs.h +0 -41
  1716. data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/lightstep.upbdefs.c +0 -72
  1717. data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/lightstep.upbdefs.h +0 -36
  1718. data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/opencensus.upbdefs.c +0 -99
  1719. data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/opencensus.upbdefs.h +0 -36
  1720. data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/opentelemetry.upbdefs.c +0 -45
  1721. data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/opentelemetry.upbdefs.h +0 -36
  1722. data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/service.upbdefs.c +0 -52
  1723. data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/service.upbdefs.h +0 -36
  1724. data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/skywalking.upbdefs.c +0 -71
  1725. data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/skywalking.upbdefs.h +0 -41
  1726. data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/trace.upbdefs.c +0 -61
  1727. data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/trace.upbdefs.h +0 -31
  1728. data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/xray.upbdefs.c +0 -75
  1729. data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/xray.upbdefs.h +0 -41
  1730. data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/zipkin.upbdefs.c +0 -79
  1731. data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/zipkin.upbdefs.h +0 -36
  1732. data/src/core/ext/upbdefs-generated/envoy/data/accesslog/v3/accesslog.upbdefs.c +0 -402
  1733. data/src/core/ext/upbdefs-generated/envoy/data/accesslog/v3/accesslog.upbdefs.h +0 -111
  1734. data/src/core/ext/upbdefs-generated/envoy/extensions/clusters/aggregate/v3/cluster.upbdefs.c +0 -50
  1735. data/src/core/ext/upbdefs-generated/envoy/extensions/clusters/aggregate/v3/cluster.upbdefs.h +0 -36
  1736. data/src/core/ext/upbdefs-generated/envoy/extensions/filters/common/fault/v3/fault.upbdefs.c +0 -92
  1737. data/src/core/ext/upbdefs-generated/envoy/extensions/filters/common/fault/v3/fault.upbdefs.h +0 -56
  1738. data/src/core/ext/upbdefs-generated/envoy/extensions/filters/http/fault/v3/fault.upbdefs.c +0 -123
  1739. data/src/core/ext/upbdefs-generated/envoy/extensions/filters/http/fault/v3/fault.upbdefs.h +0 -46
  1740. data/src/core/ext/upbdefs-generated/envoy/extensions/filters/http/rbac/v3/rbac.upbdefs.c +0 -80
  1741. data/src/core/ext/upbdefs-generated/envoy/extensions/filters/http/rbac/v3/rbac.upbdefs.h +0 -41
  1742. data/src/core/ext/upbdefs-generated/envoy/extensions/filters/http/router/v3/router.upbdefs.c +0 -105
  1743. data/src/core/ext/upbdefs-generated/envoy/extensions/filters/http/router/v3/router.upbdefs.h +0 -41
  1744. data/src/core/ext/upbdefs-generated/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upbdefs.c +0 -60
  1745. data/src/core/ext/upbdefs-generated/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upbdefs.h +0 -41
  1746. data/src/core/ext/upbdefs-generated/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upbdefs.c +0 -602
  1747. data/src/core/ext/upbdefs-generated/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upbdefs.h +0 -136
  1748. data/src/core/ext/upbdefs-generated/envoy/extensions/http/stateful_session/cookie/v3/cookie.upbdefs.c +0 -50
  1749. data/src/core/ext/upbdefs-generated/envoy/extensions/http/stateful_session/cookie/v3/cookie.upbdefs.h +0 -36
  1750. data/src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/cert.upbdefs.c +0 -48
  1751. data/src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/cert.upbdefs.h +0 -31
  1752. data/src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/common.upbdefs.c +0 -215
  1753. data/src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/common.upbdefs.h +0 -66
  1754. data/src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/secret.upbdefs.c +0 -91
  1755. data/src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/secret.upbdefs.h +0 -46
  1756. data/src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/tls.upbdefs.c +0 -258
  1757. data/src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/tls.upbdefs.h +0 -66
  1758. data/src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upbdefs.c +0 -58
  1759. data/src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upbdefs.h +0 -41
  1760. data/src/core/ext/upbdefs-generated/envoy/service/discovery/v3/ads.upbdefs.c +0 -58
  1761. data/src/core/ext/upbdefs-generated/envoy/service/discovery/v3/ads.upbdefs.h +0 -36
  1762. data/src/core/ext/upbdefs-generated/envoy/service/discovery/v3/discovery.upbdefs.c +0 -200
  1763. data/src/core/ext/upbdefs-generated/envoy/service/discovery/v3/discovery.upbdefs.h +0 -101
  1764. data/src/core/ext/upbdefs-generated/envoy/service/load_stats/v3/lrs.upbdefs.c +0 -76
  1765. data/src/core/ext/upbdefs-generated/envoy/service/load_stats/v3/lrs.upbdefs.h +0 -41
  1766. data/src/core/ext/upbdefs-generated/envoy/service/status/v3/csds.upbdefs.c +0 -152
  1767. data/src/core/ext/upbdefs-generated/envoy/service/status/v3/csds.upbdefs.h +0 -56
  1768. data/src/core/ext/upbdefs-generated/envoy/type/http/v3/cookie.upbdefs.c +0 -46
  1769. data/src/core/ext/upbdefs-generated/envoy/type/http/v3/cookie.upbdefs.h +0 -36
  1770. data/src/core/ext/upbdefs-generated/envoy/type/http/v3/path_transformation.upbdefs.c +0 -56
  1771. data/src/core/ext/upbdefs-generated/envoy/type/http/v3/path_transformation.upbdefs.h +0 -51
  1772. data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/filter_state.upbdefs.c +0 -48
  1773. data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/filter_state.upbdefs.h +0 -36
  1774. data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/http_inputs.upbdefs.c +0 -55
  1775. data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/http_inputs.upbdefs.h +0 -56
  1776. data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/metadata.upbdefs.c +0 -61
  1777. data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/metadata.upbdefs.h +0 -41
  1778. data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/node.upbdefs.c +0 -54
  1779. data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/node.upbdefs.h +0 -36
  1780. data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/number.upbdefs.c +0 -52
  1781. data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/number.upbdefs.h +0 -36
  1782. data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/path.upbdefs.c +0 -51
  1783. data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/path.upbdefs.h +0 -36
  1784. data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/regex.upbdefs.c +0 -71
  1785. data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/regex.upbdefs.h +0 -46
  1786. data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/status_code_input.upbdefs.c +0 -40
  1787. data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/status_code_input.upbdefs.h +0 -41
  1788. data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/string.upbdefs.c +0 -65
  1789. data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/string.upbdefs.h +0 -41
  1790. data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/struct.upbdefs.c +0 -58
  1791. data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/struct.upbdefs.h +0 -41
  1792. data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/value.upbdefs.c +0 -75
  1793. data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/value.upbdefs.h +0 -46
  1794. data/src/core/ext/upbdefs-generated/envoy/type/metadata/v3/metadata.upbdefs.c +0 -78
  1795. data/src/core/ext/upbdefs-generated/envoy/type/metadata/v3/metadata.upbdefs.h +0 -66
  1796. data/src/core/ext/upbdefs-generated/envoy/type/tracing/v3/custom_tag.upbdefs.c +0 -85
  1797. data/src/core/ext/upbdefs-generated/envoy/type/tracing/v3/custom_tag.upbdefs.h +0 -56
  1798. data/src/core/ext/upbdefs-generated/envoy/type/v3/hash_policy.upbdefs.c +0 -53
  1799. data/src/core/ext/upbdefs-generated/envoy/type/v3/hash_policy.upbdefs.h +0 -46
  1800. data/src/core/ext/upbdefs-generated/envoy/type/v3/http.upbdefs.c +0 -36
  1801. data/src/core/ext/upbdefs-generated/envoy/type/v3/http.upbdefs.h +0 -31
  1802. data/src/core/ext/upbdefs-generated/envoy/type/v3/http_status.upbdefs.c +0 -94
  1803. data/src/core/ext/upbdefs-generated/envoy/type/v3/http_status.upbdefs.h +0 -36
  1804. data/src/core/ext/upbdefs-generated/envoy/type/v3/percent.upbdefs.c +0 -54
  1805. data/src/core/ext/upbdefs-generated/envoy/type/v3/percent.upbdefs.h +0 -41
  1806. data/src/core/ext/upbdefs-generated/envoy/type/v3/range.upbdefs.c +0 -48
  1807. data/src/core/ext/upbdefs-generated/envoy/type/v3/range.upbdefs.h +0 -46
  1808. data/src/core/ext/upbdefs-generated/envoy/type/v3/ratelimit_strategy.upbdefs.c +0 -69
  1809. data/src/core/ext/upbdefs-generated/envoy/type/v3/ratelimit_strategy.upbdefs.h +0 -41
  1810. data/src/core/ext/upbdefs-generated/envoy/type/v3/ratelimit_unit.upbdefs.c +0 -39
  1811. data/src/core/ext/upbdefs-generated/envoy/type/v3/ratelimit_unit.upbdefs.h +0 -31
  1812. data/src/core/ext/upbdefs-generated/envoy/type/v3/semantic_version.upbdefs.c +0 -44
  1813. data/src/core/ext/upbdefs-generated/envoy/type/v3/semantic_version.upbdefs.h +0 -36
  1814. data/src/core/ext/upbdefs-generated/envoy/type/v3/token_bucket.upbdefs.c +0 -57
  1815. data/src/core/ext/upbdefs-generated/envoy/type/v3/token_bucket.upbdefs.h +0 -36
  1816. data/src/core/ext/upbdefs-generated/google/api/annotations.upbdefs.c +0 -40
  1817. data/src/core/ext/upbdefs-generated/google/api/annotations.upbdefs.h +0 -31
  1818. data/src/core/ext/upbdefs-generated/google/api/expr/v1alpha1/checked.upbdefs.c +0 -154
  1819. data/src/core/ext/upbdefs-generated/google/api/expr/v1alpha1/checked.upbdefs.h +0 -96
  1820. data/src/core/ext/upbdefs-generated/google/api/expr/v1alpha1/syntax.upbdefs.c +0 -153
  1821. data/src/core/ext/upbdefs-generated/google/api/expr/v1alpha1/syntax.upbdefs.h +0 -101
  1822. data/src/core/ext/upbdefs-generated/google/api/http.upbdefs.c +0 -52
  1823. data/src/core/ext/upbdefs-generated/google/api/http.upbdefs.h +0 -46
  1824. data/src/core/ext/upbdefs-generated/google/api/httpbody.upbdefs.c +0 -39
  1825. data/src/core/ext/upbdefs-generated/google/api/httpbody.upbdefs.h +0 -36
  1826. data/src/core/ext/upbdefs-generated/google/protobuf/any.upbdefs.c +0 -34
  1827. data/src/core/ext/upbdefs-generated/google/protobuf/any.upbdefs.h +0 -36
  1828. data/src/core/ext/upbdefs-generated/google/protobuf/descriptor.upbdefs.c +0 -464
  1829. data/src/core/ext/upbdefs-generated/google/protobuf/descriptor.upbdefs.h +0 -181
  1830. data/src/core/ext/upbdefs-generated/google/protobuf/duration.upbdefs.c +0 -35
  1831. data/src/core/ext/upbdefs-generated/google/protobuf/duration.upbdefs.h +0 -36
  1832. data/src/core/ext/upbdefs-generated/google/protobuf/empty.upbdefs.c +0 -32
  1833. data/src/core/ext/upbdefs-generated/google/protobuf/empty.upbdefs.h +0 -36
  1834. data/src/core/ext/upbdefs-generated/google/protobuf/struct.upbdefs.c +0 -54
  1835. data/src/core/ext/upbdefs-generated/google/protobuf/struct.upbdefs.h +0 -51
  1836. data/src/core/ext/upbdefs-generated/google/protobuf/timestamp.upbdefs.c +0 -35
  1837. data/src/core/ext/upbdefs-generated/google/protobuf/timestamp.upbdefs.h +0 -36
  1838. data/src/core/ext/upbdefs-generated/google/protobuf/wrappers.upbdefs.c +0 -45
  1839. data/src/core/ext/upbdefs-generated/google/protobuf/wrappers.upbdefs.h +0 -76
  1840. data/src/core/ext/upbdefs-generated/google/rpc/status.upbdefs.c +0 -37
  1841. data/src/core/ext/upbdefs-generated/google/rpc/status.upbdefs.h +0 -36
  1842. data/src/core/ext/upbdefs-generated/opencensus/proto/trace/v1/trace_config.upbdefs.c +0 -67
  1843. data/src/core/ext/upbdefs-generated/opencensus/proto/trace/v1/trace_config.upbdefs.h +0 -51
  1844. data/src/core/ext/upbdefs-generated/src/proto/grpc/lookup/v1/rls_config.upbdefs.c +0 -99
  1845. data/src/core/ext/upbdefs-generated/src/proto/grpc/lookup/v1/rls_config.upbdefs.h +0 -76
  1846. data/src/core/ext/upbdefs-generated/udpa/annotations/migrate.upbdefs.c +0 -62
  1847. data/src/core/ext/upbdefs-generated/udpa/annotations/migrate.upbdefs.h +0 -46
  1848. data/src/core/ext/upbdefs-generated/udpa/annotations/security.upbdefs.c +0 -47
  1849. data/src/core/ext/upbdefs-generated/udpa/annotations/security.upbdefs.h +0 -36
  1850. data/src/core/ext/upbdefs-generated/udpa/annotations/sensitive.upbdefs.c +0 -34
  1851. data/src/core/ext/upbdefs-generated/udpa/annotations/sensitive.upbdefs.h +0 -31
  1852. data/src/core/ext/upbdefs-generated/udpa/annotations/status.upbdefs.c +0 -46
  1853. data/src/core/ext/upbdefs-generated/udpa/annotations/status.upbdefs.h +0 -36
  1854. data/src/core/ext/upbdefs-generated/udpa/annotations/versioning.upbdefs.c +0 -39
  1855. data/src/core/ext/upbdefs-generated/udpa/annotations/versioning.upbdefs.h +0 -36
  1856. data/src/core/ext/upbdefs-generated/validate/validate.upbdefs.c +0 -283
  1857. data/src/core/ext/upbdefs-generated/validate/validate.upbdefs.h +0 -146
  1858. data/src/core/ext/upbdefs-generated/xds/annotations/v3/migrate.upbdefs.c +0 -63
  1859. data/src/core/ext/upbdefs-generated/xds/annotations/v3/migrate.upbdefs.h +0 -46
  1860. data/src/core/ext/upbdefs-generated/xds/annotations/v3/security.upbdefs.c +0 -47
  1861. data/src/core/ext/upbdefs-generated/xds/annotations/v3/security.upbdefs.h +0 -36
  1862. data/src/core/ext/upbdefs-generated/xds/annotations/v3/sensitive.upbdefs.c +0 -35
  1863. data/src/core/ext/upbdefs-generated/xds/annotations/v3/sensitive.upbdefs.h +0 -31
  1864. data/src/core/ext/upbdefs-generated/xds/annotations/v3/status.upbdefs.c +0 -64
  1865. data/src/core/ext/upbdefs-generated/xds/annotations/v3/status.upbdefs.h +0 -51
  1866. data/src/core/ext/upbdefs-generated/xds/annotations/v3/versioning.upbdefs.c +0 -40
  1867. data/src/core/ext/upbdefs-generated/xds/annotations/v3/versioning.upbdefs.h +0 -36
  1868. data/src/core/ext/upbdefs-generated/xds/core/v3/authority.upbdefs.c +0 -38
  1869. data/src/core/ext/upbdefs-generated/xds/core/v3/authority.upbdefs.h +0 -36
  1870. data/src/core/ext/upbdefs-generated/xds/core/v3/cidr.upbdefs.c +0 -45
  1871. data/src/core/ext/upbdefs-generated/xds/core/v3/cidr.upbdefs.h +0 -36
  1872. data/src/core/ext/upbdefs-generated/xds/core/v3/collection_entry.upbdefs.c +0 -56
  1873. data/src/core/ext/upbdefs-generated/xds/core/v3/collection_entry.upbdefs.h +0 -41
  1874. data/src/core/ext/upbdefs-generated/xds/core/v3/context_params.upbdefs.c +0 -39
  1875. data/src/core/ext/upbdefs-generated/xds/core/v3/context_params.upbdefs.h +0 -41
  1876. data/src/core/ext/upbdefs-generated/xds/core/v3/extension.upbdefs.c +0 -41
  1877. data/src/core/ext/upbdefs-generated/xds/core/v3/extension.upbdefs.h +0 -36
  1878. data/src/core/ext/upbdefs-generated/xds/core/v3/resource.upbdefs.c +0 -45
  1879. data/src/core/ext/upbdefs-generated/xds/core/v3/resource.upbdefs.h +0 -36
  1880. data/src/core/ext/upbdefs-generated/xds/core/v3/resource_locator.upbdefs.c +0 -61
  1881. data/src/core/ext/upbdefs-generated/xds/core/v3/resource_locator.upbdefs.h +0 -41
  1882. data/src/core/ext/upbdefs-generated/xds/core/v3/resource_name.upbdefs.c +0 -46
  1883. data/src/core/ext/upbdefs-generated/xds/core/v3/resource_name.upbdefs.h +0 -36
  1884. data/src/core/ext/upbdefs-generated/xds/type/matcher/v3/cel.upbdefs.c +0 -43
  1885. data/src/core/ext/upbdefs-generated/xds/type/matcher/v3/cel.upbdefs.h +0 -36
  1886. data/src/core/ext/upbdefs-generated/xds/type/matcher/v3/domain.upbdefs.c +0 -51
  1887. data/src/core/ext/upbdefs-generated/xds/type/matcher/v3/domain.upbdefs.h +0 -41
  1888. data/src/core/ext/upbdefs-generated/xds/type/matcher/v3/http_inputs.upbdefs.c +0 -36
  1889. data/src/core/ext/upbdefs-generated/xds/type/matcher/v3/http_inputs.upbdefs.h +0 -36
  1890. data/src/core/ext/upbdefs-generated/xds/type/matcher/v3/ip.upbdefs.c +0 -55
  1891. data/src/core/ext/upbdefs-generated/xds/type/matcher/v3/ip.upbdefs.h +0 -41
  1892. data/src/core/ext/upbdefs-generated/xds/type/matcher/v3/matcher.upbdefs.c +0 -126
  1893. data/src/core/ext/upbdefs-generated/xds/type/matcher/v3/matcher.upbdefs.h +0 -81
  1894. data/src/core/ext/upbdefs-generated/xds/type/matcher/v3/range.upbdefs.c +0 -71
  1895. data/src/core/ext/upbdefs-generated/xds/type/matcher/v3/range.upbdefs.h +0 -61
  1896. data/src/core/ext/upbdefs-generated/xds/type/matcher/v3/regex.upbdefs.c +0 -40
  1897. data/src/core/ext/upbdefs-generated/xds/type/matcher/v3/regex.upbdefs.h +0 -41
  1898. data/src/core/ext/upbdefs-generated/xds/type/matcher/v3/string.upbdefs.c +0 -52
  1899. data/src/core/ext/upbdefs-generated/xds/type/matcher/v3/string.upbdefs.h +0 -41
  1900. data/src/core/ext/upbdefs-generated/xds/type/v3/cel.upbdefs.c +0 -60
  1901. data/src/core/ext/upbdefs-generated/xds/type/v3/cel.upbdefs.h +0 -41
  1902. data/src/core/ext/upbdefs-generated/xds/type/v3/range.upbdefs.c +0 -36
  1903. data/src/core/ext/upbdefs-generated/xds/type/v3/range.upbdefs.h +0 -46
  1904. data/src/core/ext/upbdefs-generated/xds/type/v3/typed_struct.upbdefs.c +0 -37
  1905. data/src/core/ext/upbdefs-generated/xds/type/v3/typed_struct.upbdefs.h +0 -36
  1906. data/src/core/lib/resolver/server_address.cc +0 -89
  1907. data/src/core/lib/transport/transport_impl.h +0 -102
  1908. data/third_party/upb/upb/alloc.h +0 -36
  1909. data/third_party/upb/upb/arena.h +0 -36
  1910. data/third_party/upb/upb/array.h +0 -36
  1911. data/third_party/upb/upb/base/log2.h +0 -57
  1912. data/third_party/upb/upb/collections/array.c +0 -151
  1913. data/third_party/upb/upb/collections/array_internal.h +0 -135
  1914. data/third_party/upb/upb/collections/map.c +0 -142
  1915. data/third_party/upb/upb/collections/map_gencode_util.h +0 -78
  1916. data/third_party/upb/upb/collections/map_internal.h +0 -170
  1917. data/third_party/upb/upb/collections/map_sorter.c +0 -166
  1918. data/third_party/upb/upb/collections/map_sorter_internal.h +0 -109
  1919. data/third_party/upb/upb/collections/message_value.h +0 -72
  1920. data/third_party/upb/upb/decode.h +0 -36
  1921. data/third_party/upb/upb/def.h +0 -36
  1922. data/third_party/upb/upb/def.hpp +0 -33
  1923. data/third_party/upb/upb/encode.h +0 -36
  1924. data/third_party/upb/upb/extension_registry.h +0 -35
  1925. data/third_party/upb/upb/map.h +0 -36
  1926. data/third_party/upb/upb/mem/arena_internal.h +0 -114
  1927. data/third_party/upb/upb/message/accessors_internal.h +0 -391
  1928. data/third_party/upb/upb/message/extension_internal.h +0 -83
  1929. data/third_party/upb/upb/message/internal.h +0 -131
  1930. data/third_party/upb/upb/msg.h +0 -36
  1931. data/third_party/upb/upb/reflection/def_builder.c +0 -357
  1932. data/third_party/upb/upb/reflection/def_builder_internal.h +0 -157
  1933. data/third_party/upb/upb/reflection/def_pool_internal.h +0 -77
  1934. data/third_party/upb/upb/reflection/desc_state_internal.h +0 -64
  1935. data/third_party/upb/upb/reflection/enum_def_internal.h +0 -56
  1936. data/third_party/upb/upb/reflection/enum_reserved_range_internal.h +0 -55
  1937. data/third_party/upb/upb/reflection/enum_value_def_internal.h +0 -57
  1938. data/third_party/upb/upb/reflection/extension_range_internal.h +0 -54
  1939. data/third_party/upb/upb/reflection/field_def_internal.h +0 -76
  1940. data/third_party/upb/upb/reflection/file_def_internal.h +0 -57
  1941. data/third_party/upb/upb/reflection/message_def_internal.h +0 -63
  1942. data/third_party/upb/upb/reflection/message_reserved_range_internal.h +0 -55
  1943. data/third_party/upb/upb/reflection/method_def_internal.h +0 -53
  1944. data/third_party/upb/upb/reflection/oneof_def_internal.h +0 -57
  1945. data/third_party/upb/upb/reflection/service_def_internal.h +0 -53
  1946. data/third_party/upb/upb/reflection.h +0 -36
  1947. data/third_party/upb/upb/reflection.hpp +0 -33
  1948. data/third_party/upb/upb/status.h +0 -36
  1949. data/third_party/upb/upb/string_view.h +0 -36
  1950. data/third_party/upb/upb/text_encode.h +0 -36
  1951. data/third_party/upb/upb/upb.h +0 -39
  1952. data/third_party/upb/upb/wire/common.h +0 -44
  1953. data/third_party/upb/upb/wire/common_internal.h +0 -50
  1954. data/third_party/upb/upb/wire/decode_internal.h +0 -163
  1955. data/third_party/upb/upb/wire/swap_internal.h +0 -63
@@ -0,0 +1,1303 @@
1
+ //
2
+ //
3
+ // Copyright 2017 gRPC authors.
4
+ //
5
+ // Licensed under the Apache License, Version 2.0 (the "License");
6
+ // you may not use this file except in compliance with the License.
7
+ // You may obtain a copy of the License at
8
+ //
9
+ // http://www.apache.org/licenses/LICENSE-2.0
10
+ //
11
+ // Unless required by applicable law or agreed to in writing, software
12
+ // distributed under the License is distributed on an "AS IS" BASIS,
13
+ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ // See the License for the specific language governing permissions and
15
+ // limitations under the License.
16
+ //
17
+ //
18
+
19
+ #include <grpc/support/port_platform.h>
20
+
21
+ #include "src/core/ext/transport/inproc/legacy_inproc_transport.h"
22
+
23
+ #include <stddef.h>
24
+ #include <stdint.h>
25
+
26
+ #include <algorithm>
27
+ #include <memory>
28
+ #include <new>
29
+ #include <string>
30
+ #include <utility>
31
+
32
+ #include "absl/status/status.h"
33
+ #include "absl/status/statusor.h"
34
+ #include "absl/strings/str_cat.h"
35
+ #include "absl/strings/string_view.h"
36
+ #include "absl/types/optional.h"
37
+
38
+ #include <grpc/grpc.h>
39
+ #include <grpc/impl/channel_arg_names.h>
40
+ #include <grpc/impl/connectivity_state.h>
41
+ #include <grpc/status.h>
42
+ #include <grpc/support/alloc.h>
43
+ #include <grpc/support/log.h>
44
+ #include <grpc/support/sync.h>
45
+
46
+ #include "src/core/lib/channel/channel_args.h"
47
+ #include "src/core/lib/channel/channel_args_preconditioning.h"
48
+ #include "src/core/lib/channel/channelz.h"
49
+ #include "src/core/lib/config/core_configuration.h"
50
+ #include "src/core/lib/gprpp/debug_location.h"
51
+ #include "src/core/lib/gprpp/ref_counted_ptr.h"
52
+ #include "src/core/lib/gprpp/status_helper.h"
53
+ #include "src/core/lib/gprpp/time.h"
54
+ #include "src/core/lib/iomgr/closure.h"
55
+ #include "src/core/lib/iomgr/endpoint.h"
56
+ #include "src/core/lib/iomgr/error.h"
57
+ #include "src/core/lib/iomgr/exec_ctx.h"
58
+ #include "src/core/lib/iomgr/iomgr_fwd.h"
59
+ #include "src/core/lib/resource_quota/arena.h"
60
+ #include "src/core/lib/slice/slice.h"
61
+ #include "src/core/lib/slice/slice_buffer.h"
62
+ #include "src/core/lib/surface/api_trace.h"
63
+ #include "src/core/lib/surface/channel.h"
64
+ #include "src/core/lib/surface/channel_stack_type.h"
65
+ #include "src/core/lib/surface/server.h"
66
+ #include "src/core/lib/transport/connectivity_state.h"
67
+ #include "src/core/lib/transport/metadata_batch.h"
68
+ #include "src/core/lib/transport/transport.h"
69
+
70
+ #define INPROC_LOG(...) \
71
+ do { \
72
+ if (GRPC_TRACE_FLAG_ENABLED(grpc_inproc_trace)) { \
73
+ gpr_log(__VA_ARGS__); \
74
+ } \
75
+ } while (0)
76
+
77
+ namespace {
78
+ struct inproc_stream;
79
+ bool cancel_stream_locked(inproc_stream* s, grpc_error_handle error);
80
+ void maybe_process_ops_locked(inproc_stream* s, grpc_error_handle error);
81
+ void op_state_machine_locked(inproc_stream* s, grpc_error_handle error);
82
+ void log_metadata(const grpc_metadata_batch* md_batch, bool is_client,
83
+ bool is_initial);
84
+ void fill_in_metadata(inproc_stream* s, const grpc_metadata_batch* metadata,
85
+ grpc_metadata_batch* out_md, bool* markfilled);
86
+
87
+ void ResetSendMessage(grpc_transport_stream_op_batch* batch) {
88
+ std::exchange(batch->payload->send_message.send_message, nullptr)->Clear();
89
+ }
90
+
91
+ struct shared_mu {
92
+ shared_mu() {
93
+ // Share one lock between both sides since both sides get affected
94
+ gpr_mu_init(&mu);
95
+ gpr_ref_init(&refs, 2);
96
+ }
97
+
98
+ ~shared_mu() { gpr_mu_destroy(&mu); }
99
+
100
+ gpr_mu mu;
101
+ gpr_refcount refs;
102
+ };
103
+
104
+ struct inproc_transport final : public grpc_core::Transport,
105
+ public grpc_core::FilterStackTransport {
106
+ inproc_transport(shared_mu* mu, bool is_client)
107
+ : mu(mu),
108
+ is_client(is_client),
109
+ state_tracker(is_client ? "inproc_client" : "inproc_server",
110
+ GRPC_CHANNEL_READY) {
111
+ // Start each side of transport with 2 refs since they each have a ref
112
+ // to the other
113
+ gpr_ref_init(&refs, 2);
114
+ }
115
+
116
+ ~inproc_transport() override {
117
+ if (gpr_unref(&mu->refs)) {
118
+ mu->~shared_mu();
119
+ gpr_free(mu);
120
+ }
121
+ }
122
+
123
+ grpc_core::FilterStackTransport* filter_stack_transport() override {
124
+ return this;
125
+ }
126
+
127
+ grpc_core::ClientTransport* client_transport() override { return nullptr; }
128
+ grpc_core::ServerTransport* server_transport() override { return nullptr; }
129
+
130
+ absl::string_view GetTransportName() const override;
131
+ void InitStream(grpc_stream* gs, grpc_stream_refcount* refcount,
132
+ const void* server_data, grpc_core::Arena* arena) override;
133
+ void SetPollset(grpc_stream* stream, grpc_pollset* pollset) override;
134
+ void SetPollsetSet(grpc_stream* stream,
135
+ grpc_pollset_set* pollset_set) override;
136
+ void PerformOp(grpc_transport_op* op) override;
137
+ grpc_endpoint* GetEndpoint() override;
138
+
139
+ size_t SizeOfStream() const override;
140
+ bool HackyDisableStreamOpBatchCoalescingInConnectedChannel() const override {
141
+ return true;
142
+ }
143
+
144
+ void PerformStreamOp(grpc_stream* gs,
145
+ grpc_transport_stream_op_batch* op) override;
146
+ void DestroyStream(grpc_stream* gs,
147
+ grpc_closure* then_schedule_closure) override;
148
+
149
+ void Orphan() override;
150
+
151
+ void ref() {
152
+ INPROC_LOG(GPR_INFO, "ref_transport %p", this);
153
+ gpr_ref(&refs);
154
+ }
155
+
156
+ void unref() {
157
+ INPROC_LOG(GPR_INFO, "unref_transport %p", this);
158
+ if (!gpr_unref(&refs)) {
159
+ return;
160
+ }
161
+ INPROC_LOG(GPR_INFO, "really_destroy_transport %p", this);
162
+ this->~inproc_transport();
163
+ gpr_free(this);
164
+ }
165
+
166
+ shared_mu* mu;
167
+ gpr_refcount refs;
168
+ bool is_client;
169
+ grpc_core::ConnectivityStateTracker state_tracker;
170
+ void (*accept_stream_cb)(void* user_data, grpc_core::Transport* transport,
171
+ const void* server_data);
172
+ void (*registered_method_matcher_cb)(
173
+ void* user_data, grpc_core::ServerMetadata* metadata) = nullptr;
174
+ void* accept_stream_data;
175
+ bool is_closed = false;
176
+ struct inproc_transport* other_side;
177
+ struct inproc_stream* stream_list = nullptr;
178
+ };
179
+
180
+ struct inproc_stream {
181
+ inproc_stream(inproc_transport* t, grpc_stream_refcount* refcount,
182
+ const void* server_data, grpc_core::Arena* arena)
183
+ : t(t), refs(refcount), arena(arena) {
184
+ // Ref this stream right now for ctor and list.
185
+ ref("inproc_init_stream:init");
186
+ ref("inproc_init_stream:list");
187
+
188
+ stream_list_prev = nullptr;
189
+ gpr_mu_lock(&t->mu->mu);
190
+ stream_list_next = t->stream_list;
191
+ if (t->stream_list) {
192
+ t->stream_list->stream_list_prev = this;
193
+ }
194
+ t->stream_list = this;
195
+ gpr_mu_unlock(&t->mu->mu);
196
+
197
+ if (!server_data) {
198
+ t->ref();
199
+ inproc_transport* st = t->other_side;
200
+ st->ref();
201
+ other_side = nullptr; // will get filled in soon
202
+ // Pass the client-side stream address to the server-side for a ref
203
+ ref("inproc_init_stream:clt"); // ref it now on behalf of server
204
+ // side to avoid destruction
205
+ INPROC_LOG(GPR_INFO, "calling accept stream cb %p %p",
206
+ st->accept_stream_cb, st->accept_stream_data);
207
+ (*st->accept_stream_cb)(st->accept_stream_data, t, this);
208
+ } else {
209
+ // This is the server-side and is being called through accept_stream_cb
210
+ inproc_stream* cs = const_cast<inproc_stream*>(
211
+ static_cast<const inproc_stream*>(server_data));
212
+ other_side = cs;
213
+ // Ref the server-side stream on behalf of the client now
214
+ ref("inproc_init_stream:srv");
215
+
216
+ // Now we are about to affect the other side, so lock the transport
217
+ // to make sure that it doesn't get destroyed
218
+ gpr_mu_lock(&t->mu->mu);
219
+ cs->other_side = this;
220
+ // Now transfer from the other side's write_buffer if any to the to_read
221
+ // buffer
222
+ if (cs->write_buffer_initial_md_filled) {
223
+ fill_in_metadata(this, &cs->write_buffer_initial_md,
224
+ &to_read_initial_md, &to_read_initial_md_filled);
225
+ deadline = std::min(deadline, cs->write_buffer_deadline);
226
+ cs->write_buffer_initial_md.Clear();
227
+ cs->write_buffer_initial_md_filled = false;
228
+ }
229
+ if (cs->write_buffer_trailing_md_filled) {
230
+ fill_in_metadata(this, &cs->write_buffer_trailing_md,
231
+ &to_read_trailing_md, &to_read_trailing_md_filled);
232
+ cs->write_buffer_trailing_md.Clear();
233
+ cs->write_buffer_trailing_md_filled = false;
234
+ }
235
+ if (!cs->write_buffer_cancel_error.ok()) {
236
+ cancel_other_error = cs->write_buffer_cancel_error;
237
+ cs->write_buffer_cancel_error = absl::OkStatus();
238
+ maybe_process_ops_locked(this, cancel_other_error);
239
+ }
240
+
241
+ gpr_mu_unlock(&t->mu->mu);
242
+ }
243
+ }
244
+
245
+ ~inproc_stream() { t->unref(); }
246
+
247
+ #ifndef NDEBUG
248
+ #define STREAM_REF(refs, reason) grpc_stream_ref(refs, reason)
249
+ #define STREAM_UNREF(refs, reason) grpc_stream_unref(refs, reason)
250
+ #else
251
+ #define STREAM_REF(refs, reason) grpc_stream_ref(refs)
252
+ #define STREAM_UNREF(refs, reason) grpc_stream_unref(refs)
253
+ #endif
254
+ void ref(const char* reason) {
255
+ INPROC_LOG(GPR_INFO, "ref_stream %p %s", this, reason);
256
+ STREAM_REF(refs, reason);
257
+ }
258
+
259
+ void unref(const char* reason) {
260
+ INPROC_LOG(GPR_INFO, "unref_stream %p %s", this, reason);
261
+ STREAM_UNREF(refs, reason);
262
+ }
263
+ #undef STREAM_REF
264
+ #undef STREAM_UNREF
265
+
266
+ inproc_transport* t;
267
+ grpc_stream_refcount* refs;
268
+ grpc_core::Arena* arena;
269
+
270
+ grpc_metadata_batch to_read_initial_md{arena};
271
+ bool to_read_initial_md_filled = false;
272
+ grpc_metadata_batch to_read_trailing_md{arena};
273
+ bool to_read_trailing_md_filled = false;
274
+ bool ops_needed = false;
275
+ // Write buffer used only during gap at init time when client-side
276
+ // stream is set up but server side stream is not yet set up
277
+ grpc_metadata_batch write_buffer_initial_md{arena};
278
+ bool write_buffer_initial_md_filled = false;
279
+ grpc_core::Timestamp write_buffer_deadline =
280
+ grpc_core::Timestamp::InfFuture();
281
+ grpc_metadata_batch write_buffer_trailing_md{arena};
282
+ bool write_buffer_trailing_md_filled = false;
283
+ grpc_error_handle write_buffer_cancel_error;
284
+
285
+ struct inproc_stream* other_side;
286
+ bool other_side_closed = false; // won't talk anymore
287
+ bool write_buffer_other_side_closed = false; // on hold
288
+
289
+ grpc_transport_stream_op_batch* send_message_op = nullptr;
290
+ grpc_transport_stream_op_batch* send_trailing_md_op = nullptr;
291
+ grpc_transport_stream_op_batch* recv_initial_md_op = nullptr;
292
+ grpc_transport_stream_op_batch* recv_message_op = nullptr;
293
+ grpc_transport_stream_op_batch* recv_trailing_md_op = nullptr;
294
+
295
+ bool initial_md_sent = false;
296
+ bool trailing_md_sent = false;
297
+ bool initial_md_recvd = false;
298
+ bool trailing_md_recvd = false;
299
+ // The following tracks if the server-side only pretends to have received
300
+ // trailing metadata since it no longer cares about the RPC. If that is the
301
+ // case, it is still ok for the client to send trailing metadata (in which
302
+ // case it will be ignored).
303
+ bool trailing_md_recvd_implicit_only = false;
304
+
305
+ bool closed = false;
306
+
307
+ grpc_error_handle cancel_self_error;
308
+ grpc_error_handle cancel_other_error;
309
+
310
+ grpc_core::Timestamp deadline = grpc_core::Timestamp::InfFuture();
311
+
312
+ bool listed = true;
313
+ struct inproc_stream* stream_list_prev;
314
+ struct inproc_stream* stream_list_next;
315
+ };
316
+
317
+ void log_metadata(const grpc_metadata_batch* md_batch, bool is_client,
318
+ bool is_initial) {
319
+ std::string prefix = absl::StrCat(
320
+ "INPROC:", is_initial ? "HDR:" : "TRL:", is_client ? "CLI:" : "SVR:");
321
+ md_batch->Log([&prefix](absl::string_view key, absl::string_view value) {
322
+ gpr_log(GPR_INFO, "%s", absl::StrCat(prefix, key, ": ", value).c_str());
323
+ });
324
+ }
325
+
326
+ namespace {
327
+
328
+ class CopySink {
329
+ public:
330
+ explicit CopySink(grpc_metadata_batch* dst) : dst_(dst) {}
331
+
332
+ void Encode(const grpc_core::Slice& key, const grpc_core::Slice& value) {
333
+ dst_->Append(key.as_string_view(), value.AsOwned(),
334
+ [](absl::string_view, const grpc_core::Slice&) {});
335
+ }
336
+
337
+ template <class T, class V>
338
+ void Encode(T trait, V value) {
339
+ dst_->Set(trait, value);
340
+ }
341
+
342
+ template <class T>
343
+ void Encode(T trait, const grpc_core::Slice& value) {
344
+ dst_->Set(trait, value.AsOwned());
345
+ }
346
+
347
+ private:
348
+ grpc_metadata_batch* dst_;
349
+ };
350
+
351
+ } // namespace
352
+
353
+ void fill_in_metadata(inproc_stream* s, const grpc_metadata_batch* metadata,
354
+ grpc_metadata_batch* out_md, bool* markfilled) {
355
+ if (GRPC_TRACE_FLAG_ENABLED(grpc_inproc_trace)) {
356
+ log_metadata(metadata, s->t->is_client,
357
+ metadata->get_pointer(grpc_core::WaitForReady()) != nullptr);
358
+ }
359
+
360
+ if (markfilled != nullptr) {
361
+ *markfilled = true;
362
+ }
363
+
364
+ // TODO(ctiller): copy the metadata batch, don't rely on a bespoke copy
365
+ // function. Can only do this once mdelems are out of the way though, too
366
+ // many edge cases otherwise.
367
+ out_md->Clear();
368
+ CopySink sink(out_md);
369
+ metadata->Encode(&sink);
370
+ }
371
+
372
+ void inproc_transport::InitStream(grpc_stream* gs,
373
+ grpc_stream_refcount* refcount,
374
+ const void* server_data,
375
+ grpc_core::Arena* arena) {
376
+ INPROC_LOG(GPR_INFO, "init_stream %p %p %p", this, gs, server_data);
377
+ new (gs) inproc_stream(this, refcount, server_data, arena);
378
+ }
379
+
380
+ void close_stream_locked(inproc_stream* s) {
381
+ if (!s->closed) {
382
+ // Release the metadata that we would have written out
383
+ s->write_buffer_initial_md.Clear();
384
+ s->write_buffer_trailing_md.Clear();
385
+
386
+ if (s->listed) {
387
+ inproc_stream* p = s->stream_list_prev;
388
+ inproc_stream* n = s->stream_list_next;
389
+ if (p != nullptr) {
390
+ p->stream_list_next = n;
391
+ } else {
392
+ s->t->stream_list = n;
393
+ }
394
+ if (n != nullptr) {
395
+ n->stream_list_prev = p;
396
+ }
397
+ s->listed = false;
398
+ s->unref("close_stream:list");
399
+ }
400
+ s->closed = true;
401
+ s->unref("close_stream:closing");
402
+ }
403
+ }
404
+
405
+ // This function means that we are done talking/listening to the other side
406
+ void close_other_side_locked(inproc_stream* s, const char* reason) {
407
+ if (s->other_side != nullptr) {
408
+ // First release the metadata that came from the other side's arena
409
+ s->to_read_initial_md.Clear();
410
+ s->to_read_trailing_md.Clear();
411
+
412
+ s->other_side->unref(reason);
413
+ s->other_side_closed = true;
414
+ s->other_side = nullptr;
415
+ } else if (!s->other_side_closed) {
416
+ s->write_buffer_other_side_closed = true;
417
+ }
418
+ }
419
+
420
+ // Call the on_complete closure associated with this stream_op_batch if
421
+ // this stream_op_batch is only one of the pending operations for this
422
+ // stream. This is called when one of the pending operations for the stream
423
+ // is done and about to be NULLed out
424
+ void complete_if_batch_end_locked(inproc_stream* s, grpc_error_handle error,
425
+ grpc_transport_stream_op_batch* op,
426
+ const char* msg) {
427
+ int is_sm = static_cast<int>(op == s->send_message_op);
428
+ int is_stm = static_cast<int>(op == s->send_trailing_md_op);
429
+ // TODO(vjpai): We should not consider the recv ops here, since they
430
+ // have their own callbacks. We should invoke a batch's on_complete
431
+ // as soon as all of the batch's send ops are complete, even if there
432
+ // are still recv ops pending.
433
+ int is_rim = static_cast<int>(op == s->recv_initial_md_op);
434
+ int is_rm = static_cast<int>(op == s->recv_message_op);
435
+ int is_rtm = static_cast<int>(op == s->recv_trailing_md_op);
436
+
437
+ if ((is_sm + is_stm + is_rim + is_rm + is_rtm) == 1) {
438
+ INPROC_LOG(GPR_INFO, "%s %p %p %p %s", msg, s, op, op->on_complete,
439
+ grpc_core::StatusToString(error).c_str());
440
+ grpc_core::ExecCtx::Run(DEBUG_LOCATION, op->on_complete, error);
441
+ }
442
+ }
443
+
444
+ void maybe_process_ops_locked(inproc_stream* s, grpc_error_handle error) {
445
+ if (s && (!error.ok() || s->ops_needed)) {
446
+ s->ops_needed = false;
447
+ op_state_machine_locked(s, error);
448
+ }
449
+ }
450
+
451
+ void fail_helper_locked(inproc_stream* s, grpc_error_handle error) {
452
+ INPROC_LOG(GPR_INFO, "op_state_machine %p fail_helper", s);
453
+ // If we're failing this side, we need to make sure that
454
+ // we also send or have already sent trailing metadata
455
+ if (!s->trailing_md_sent) {
456
+ // Send trailing md to the other side indicating cancellation
457
+ s->trailing_md_sent = true;
458
+
459
+ grpc_metadata_batch fake_md(s->arena);
460
+ inproc_stream* other = s->other_side;
461
+ grpc_metadata_batch* dest = (other == nullptr)
462
+ ? &s->write_buffer_trailing_md
463
+ : &other->to_read_trailing_md;
464
+ bool* destfilled = (other == nullptr) ? &s->write_buffer_trailing_md_filled
465
+ : &other->to_read_trailing_md_filled;
466
+ fill_in_metadata(s, &fake_md, dest, destfilled);
467
+
468
+ if (other != nullptr) {
469
+ if (other->cancel_other_error.ok()) {
470
+ other->cancel_other_error = error;
471
+ }
472
+ maybe_process_ops_locked(other, error);
473
+ } else if (s->write_buffer_cancel_error.ok()) {
474
+ s->write_buffer_cancel_error = error;
475
+ }
476
+ }
477
+ if (s->recv_initial_md_op) {
478
+ grpc_error_handle err;
479
+ if (!s->t->is_client) {
480
+ // If this is a server, provide initial metadata with a path and
481
+ // authority since it expects that as well as no error yet
482
+ grpc_metadata_batch fake_md(s->arena);
483
+ fake_md.Set(grpc_core::HttpPathMetadata(),
484
+ grpc_core::Slice::FromStaticString("/"));
485
+ fake_md.Set(grpc_core::HttpAuthorityMetadata(),
486
+ grpc_core::Slice::FromStaticString("inproc-fail"));
487
+
488
+ fill_in_metadata(s, &fake_md,
489
+ s->recv_initial_md_op->payload->recv_initial_metadata
490
+ .recv_initial_metadata,
491
+ nullptr);
492
+ err = absl::OkStatus();
493
+ } else {
494
+ err = error;
495
+ }
496
+ if (s->recv_initial_md_op->payload->recv_initial_metadata
497
+ .trailing_metadata_available != nullptr) {
498
+ // Set to true unconditionally, because we're failing the call, so even
499
+ // if we haven't actually seen the send_trailing_metadata op from the
500
+ // other side, we're going to return trailing metadata anyway.
501
+ *s->recv_initial_md_op->payload->recv_initial_metadata
502
+ .trailing_metadata_available = true;
503
+ }
504
+ INPROC_LOG(GPR_INFO,
505
+ "fail_helper %p scheduling initial-metadata-ready %s %s", s,
506
+ grpc_core::StatusToString(error).c_str(),
507
+ grpc_core::StatusToString(err).c_str());
508
+ grpc_core::ExecCtx::Run(
509
+ DEBUG_LOCATION,
510
+ s->recv_initial_md_op->payload->recv_initial_metadata
511
+ .recv_initial_metadata_ready,
512
+ err);
513
+ // Last use of err so no need to REF and then UNREF it
514
+
515
+ complete_if_batch_end_locked(
516
+ s, error, s->recv_initial_md_op,
517
+ "fail_helper scheduling recv-initial-metadata-on-complete");
518
+ s->recv_initial_md_op = nullptr;
519
+ }
520
+ if (s->recv_message_op) {
521
+ INPROC_LOG(GPR_INFO, "fail_helper %p scheduling message-ready %s", s,
522
+ grpc_core::StatusToString(error).c_str());
523
+ if (s->recv_message_op->payload->recv_message
524
+ .call_failed_before_recv_message != nullptr) {
525
+ *s->recv_message_op->payload->recv_message
526
+ .call_failed_before_recv_message = true;
527
+ }
528
+ grpc_core::ExecCtx::Run(
529
+ DEBUG_LOCATION,
530
+ s->recv_message_op->payload->recv_message.recv_message_ready, error);
531
+ complete_if_batch_end_locked(
532
+ s, error, s->recv_message_op,
533
+ "fail_helper scheduling recv-message-on-complete");
534
+ s->recv_message_op = nullptr;
535
+ }
536
+ if (s->send_message_op) {
537
+ ResetSendMessage(s->send_message_op);
538
+ complete_if_batch_end_locked(
539
+ s, error, s->send_message_op,
540
+ "fail_helper scheduling send-message-on-complete");
541
+ s->send_message_op = nullptr;
542
+ }
543
+ if (s->send_trailing_md_op) {
544
+ complete_if_batch_end_locked(
545
+ s, error, s->send_trailing_md_op,
546
+ "fail_helper scheduling send-trailng-md-on-complete");
547
+ s->send_trailing_md_op = nullptr;
548
+ }
549
+ if (s->recv_trailing_md_op) {
550
+ INPROC_LOG(GPR_INFO, "fail_helper %p scheduling trailing-metadata-ready %s",
551
+ s, grpc_core::StatusToString(error).c_str());
552
+ grpc_core::ExecCtx::Run(
553
+ DEBUG_LOCATION,
554
+ s->recv_trailing_md_op->payload->recv_trailing_metadata
555
+ .recv_trailing_metadata_ready,
556
+ error);
557
+ INPROC_LOG(GPR_INFO, "fail_helper %p scheduling trailing-md-on-complete %s",
558
+ s, grpc_core::StatusToString(error).c_str());
559
+ complete_if_batch_end_locked(
560
+ s, error, s->recv_trailing_md_op,
561
+ "fail_helper scheduling recv-trailing-metadata-on-complete");
562
+ s->recv_trailing_md_op = nullptr;
563
+ }
564
+ close_other_side_locked(s, "fail_helper:other_side");
565
+ close_stream_locked(s);
566
+ }
567
+
568
+ // TODO(vjpai): It should not be necessary to drain the incoming byte
569
+ // stream and create a new one; instead, we should simply pass the byte
570
+ // stream from the sender directly to the receiver as-is.
571
+ //
572
+ // Note that fixing this will also avoid the assumption in this code
573
+ // that the incoming byte stream's next() call will always return
574
+ // synchronously. That assumption is true today but may not always be
575
+ // true in the future.
576
+ void message_transfer_locked(inproc_stream* sender, inproc_stream* receiver) {
577
+ *receiver->recv_message_op->payload->recv_message.recv_message =
578
+ std::move(*sender->send_message_op->payload->send_message.send_message);
579
+ *receiver->recv_message_op->payload->recv_message.flags =
580
+ sender->send_message_op->payload->send_message.flags;
581
+
582
+ INPROC_LOG(GPR_INFO, "message_transfer_locked %p scheduling message-ready",
583
+ receiver);
584
+ grpc_core::ExecCtx::Run(
585
+ DEBUG_LOCATION,
586
+ receiver->recv_message_op->payload->recv_message.recv_message_ready,
587
+ absl::OkStatus());
588
+ complete_if_batch_end_locked(
589
+ sender, absl::OkStatus(), sender->send_message_op,
590
+ "message_transfer scheduling sender on_complete");
591
+ complete_if_batch_end_locked(
592
+ receiver, absl::OkStatus(), receiver->recv_message_op,
593
+ "message_transfer scheduling receiver on_complete");
594
+
595
+ receiver->recv_message_op = nullptr;
596
+ sender->send_message_op = nullptr;
597
+ }
598
+
599
+ void op_state_machine_locked(inproc_stream* s, grpc_error_handle error) {
600
+ // This function gets called when we have contents in the unprocessed reads
601
+ // Get what we want based on our ops wanted
602
+ // Schedule our appropriate closures
603
+ // and then return to ops_needed state if still needed
604
+
605
+ grpc_error_handle new_err;
606
+
607
+ bool needs_close = false;
608
+
609
+ INPROC_LOG(GPR_INFO, "op_state_machine %p", s);
610
+ // cancellation takes precedence
611
+ inproc_stream* other = s->other_side;
612
+
613
+ if (!s->cancel_self_error.ok()) {
614
+ fail_helper_locked(s, s->cancel_self_error);
615
+ goto done;
616
+ } else if (!s->cancel_other_error.ok()) {
617
+ fail_helper_locked(s, s->cancel_other_error);
618
+ goto done;
619
+ } else if (!error.ok()) {
620
+ fail_helper_locked(s, error);
621
+ goto done;
622
+ }
623
+
624
+ if (s->send_message_op && other) {
625
+ if (other->recv_message_op) {
626
+ message_transfer_locked(s, other);
627
+ maybe_process_ops_locked(other, absl::OkStatus());
628
+ } else if (!s->t->is_client && s->trailing_md_sent) {
629
+ // A server send will never be matched if the server already sent status
630
+ ResetSendMessage(s->send_message_op);
631
+ complete_if_batch_end_locked(
632
+ s, absl::OkStatus(), s->send_message_op,
633
+ "op_state_machine scheduling send-message-on-complete case 1");
634
+ s->send_message_op = nullptr;
635
+ }
636
+ }
637
+ // Pause a send trailing metadata if there is still an outstanding
638
+ // send message unless we know that the send message will never get
639
+ // matched to a receive. This happens on the client if the server has
640
+ // already sent status or on the server if the client has requested
641
+ // status
642
+ if (s->send_trailing_md_op &&
643
+ (!s->send_message_op ||
644
+ (s->t->is_client &&
645
+ (s->trailing_md_recvd || s->to_read_trailing_md_filled)) ||
646
+ (!s->t->is_client && other &&
647
+ (other->trailing_md_recvd || other->to_read_trailing_md_filled ||
648
+ other->recv_trailing_md_op)))) {
649
+ grpc_metadata_batch* dest = (other == nullptr)
650
+ ? &s->write_buffer_trailing_md
651
+ : &other->to_read_trailing_md;
652
+ bool* destfilled = (other == nullptr) ? &s->write_buffer_trailing_md_filled
653
+ : &other->to_read_trailing_md_filled;
654
+ if (*destfilled || s->trailing_md_sent) {
655
+ // The buffer is already in use; that's an error!
656
+ INPROC_LOG(GPR_INFO, "Extra trailing metadata %p", s);
657
+ new_err = GRPC_ERROR_CREATE("Extra trailing metadata");
658
+ fail_helper_locked(s, new_err);
659
+ goto done;
660
+ } else {
661
+ if (!other || !other->closed) {
662
+ fill_in_metadata(s,
663
+ s->send_trailing_md_op->payload->send_trailing_metadata
664
+ .send_trailing_metadata,
665
+ dest, destfilled);
666
+ }
667
+ s->trailing_md_sent = true;
668
+ if (s->send_trailing_md_op->payload->send_trailing_metadata.sent) {
669
+ *s->send_trailing_md_op->payload->send_trailing_metadata.sent = true;
670
+ }
671
+ if (!s->t->is_client && s->trailing_md_recvd && s->recv_trailing_md_op) {
672
+ INPROC_LOG(GPR_INFO,
673
+ "op_state_machine %p scheduling trailing-metadata-ready", s);
674
+ grpc_core::ExecCtx::Run(
675
+ DEBUG_LOCATION,
676
+ s->recv_trailing_md_op->payload->recv_trailing_metadata
677
+ .recv_trailing_metadata_ready,
678
+ absl::OkStatus());
679
+ INPROC_LOG(GPR_INFO,
680
+ "op_state_machine %p scheduling trailing-md-on-complete", s);
681
+ grpc_core::ExecCtx::Run(DEBUG_LOCATION,
682
+ s->recv_trailing_md_op->on_complete,
683
+ absl::OkStatus());
684
+ s->recv_trailing_md_op = nullptr;
685
+ needs_close = true;
686
+ }
687
+ }
688
+ maybe_process_ops_locked(other, absl::OkStatus());
689
+ complete_if_batch_end_locked(
690
+ s, absl::OkStatus(), s->send_trailing_md_op,
691
+ "op_state_machine scheduling send-trailing-metadata-on-complete");
692
+ s->send_trailing_md_op = nullptr;
693
+ }
694
+ if (s->recv_initial_md_op) {
695
+ if (s->initial_md_recvd) {
696
+ new_err = GRPC_ERROR_CREATE("Already recvd initial md");
697
+ INPROC_LOG(
698
+ GPR_INFO,
699
+ "op_state_machine %p scheduling on_complete errors for already "
700
+ "recvd initial md %s",
701
+ s, grpc_core::StatusToString(new_err).c_str());
702
+ fail_helper_locked(s, new_err);
703
+ goto done;
704
+ }
705
+
706
+ if (s->to_read_initial_md_filled) {
707
+ s->initial_md_recvd = true;
708
+ fill_in_metadata(s, &s->to_read_initial_md,
709
+ s->recv_initial_md_op->payload->recv_initial_metadata
710
+ .recv_initial_metadata,
711
+ nullptr);
712
+ if (s->deadline != grpc_core::Timestamp::InfFuture()) {
713
+ s->recv_initial_md_op->payload->recv_initial_metadata
714
+ .recv_initial_metadata->Set(grpc_core::GrpcTimeoutMetadata(),
715
+ s->deadline);
716
+ }
717
+ if (s->recv_initial_md_op->payload->recv_initial_metadata
718
+ .trailing_metadata_available != nullptr) {
719
+ *s->recv_initial_md_op->payload->recv_initial_metadata
720
+ .trailing_metadata_available =
721
+ (other != nullptr && other->send_trailing_md_op != nullptr);
722
+ }
723
+ s->to_read_initial_md.Clear();
724
+ s->to_read_initial_md_filled = false;
725
+ if (s->t->registered_method_matcher_cb != nullptr) {
726
+ s->t->registered_method_matcher_cb(
727
+ s->t->accept_stream_data,
728
+ s->recv_initial_md_op->payload->recv_initial_metadata
729
+ .recv_initial_metadata);
730
+ }
731
+ grpc_core::ExecCtx::Run(
732
+ DEBUG_LOCATION,
733
+ std::exchange(s->recv_initial_md_op->payload->recv_initial_metadata
734
+ .recv_initial_metadata_ready,
735
+ nullptr),
736
+ absl::OkStatus());
737
+ complete_if_batch_end_locked(
738
+ s, absl::OkStatus(), s->recv_initial_md_op,
739
+ "op_state_machine scheduling recv-initial-metadata-on-complete");
740
+ s->recv_initial_md_op = nullptr;
741
+ }
742
+ }
743
+ if (s->recv_message_op) {
744
+ if (other && other->send_message_op) {
745
+ message_transfer_locked(other, s);
746
+ maybe_process_ops_locked(other, absl::OkStatus());
747
+ }
748
+ }
749
+ if (s->to_read_trailing_md_filled) {
750
+ if (s->trailing_md_recvd) {
751
+ if (s->trailing_md_recvd_implicit_only) {
752
+ INPROC_LOG(GPR_INFO,
753
+ "op_state_machine %p already implicitly received trailing "
754
+ "metadata, so ignoring new trailing metadata from client",
755
+ s);
756
+ s->to_read_trailing_md.Clear();
757
+ s->to_read_trailing_md_filled = false;
758
+ s->trailing_md_recvd_implicit_only = false;
759
+ } else {
760
+ new_err = GRPC_ERROR_CREATE("Already recvd trailing md");
761
+ INPROC_LOG(
762
+ GPR_INFO,
763
+ "op_state_machine %p scheduling on_complete errors for already "
764
+ "recvd trailing md %s",
765
+ s, grpc_core::StatusToString(new_err).c_str());
766
+ fail_helper_locked(s, new_err);
767
+ goto done;
768
+ }
769
+ }
770
+ if (s->recv_message_op != nullptr) {
771
+ // This message needs to be wrapped up because it will never be
772
+ // satisfied
773
+ s->recv_message_op->payload->recv_message.recv_message->reset();
774
+ INPROC_LOG(GPR_INFO, "op_state_machine %p scheduling message-ready", s);
775
+ grpc_core::ExecCtx::Run(
776
+ DEBUG_LOCATION,
777
+ s->recv_message_op->payload->recv_message.recv_message_ready,
778
+ absl::OkStatus());
779
+ complete_if_batch_end_locked(
780
+ s, new_err, s->recv_message_op,
781
+ "op_state_machine scheduling recv-message-on-complete");
782
+ s->recv_message_op = nullptr;
783
+ }
784
+ if ((s->trailing_md_sent || s->t->is_client) && s->send_message_op) {
785
+ // Nothing further will try to receive from this stream, so finish off
786
+ // any outstanding send_message op
787
+ ResetSendMessage(s->send_message_op);
788
+ s->send_message_op->payload->send_message.stream_write_closed = true;
789
+ complete_if_batch_end_locked(
790
+ s, new_err, s->send_message_op,
791
+ "op_state_machine scheduling send-message-on-complete case 2");
792
+ s->send_message_op = nullptr;
793
+ }
794
+ if (s->recv_trailing_md_op != nullptr) {
795
+ // We wanted trailing metadata and we got it
796
+ s->trailing_md_recvd = true;
797
+ fill_in_metadata(s, &s->to_read_trailing_md,
798
+ s->recv_trailing_md_op->payload->recv_trailing_metadata
799
+ .recv_trailing_metadata,
800
+ nullptr);
801
+ s->to_read_trailing_md.Clear();
802
+ s->to_read_trailing_md_filled = false;
803
+ s->recv_trailing_md_op->payload->recv_trailing_metadata
804
+ .recv_trailing_metadata->Set(grpc_core::GrpcStatusFromWire(), true);
805
+
806
+ // We should schedule the recv_trailing_md_op completion if
807
+ // 1. this stream is the client-side
808
+ // 2. this stream is the server-side AND has already sent its trailing md
809
+ // (If the server hasn't already sent its trailing md, it doesn't
810
+ // have
811
+ // a final status, so don't mark this op complete)
812
+ if (s->t->is_client || s->trailing_md_sent) {
813
+ grpc_core::ExecCtx::Run(
814
+ DEBUG_LOCATION,
815
+ s->recv_trailing_md_op->payload->recv_trailing_metadata
816
+ .recv_trailing_metadata_ready,
817
+ absl::OkStatus());
818
+ grpc_core::ExecCtx::Run(DEBUG_LOCATION,
819
+ s->recv_trailing_md_op->on_complete,
820
+ absl::OkStatus());
821
+ s->recv_trailing_md_op = nullptr;
822
+ needs_close = s->trailing_md_sent;
823
+ }
824
+ } else if (!s->trailing_md_recvd) {
825
+ INPROC_LOG(
826
+ GPR_INFO,
827
+ "op_state_machine %p has trailing md but not yet waiting for it", s);
828
+ }
829
+ }
830
+ if (!s->t->is_client && s->trailing_md_sent &&
831
+ (s->recv_trailing_md_op != nullptr)) {
832
+ // In this case, we don't care to receive the write-close from the client
833
+ // because we have already sent status and the RPC is over as far as we
834
+ // are concerned.
835
+ INPROC_LOG(GPR_INFO, "op_state_machine %p scheduling trailing-md-ready %s",
836
+ s, grpc_core::StatusToString(new_err).c_str());
837
+ grpc_core::ExecCtx::Run(
838
+ DEBUG_LOCATION,
839
+ s->recv_trailing_md_op->payload->recv_trailing_metadata
840
+ .recv_trailing_metadata_ready,
841
+ new_err);
842
+ complete_if_batch_end_locked(
843
+ s, new_err, s->recv_trailing_md_op,
844
+ "op_state_machine scheduling recv-trailing-md-on-complete");
845
+ s->trailing_md_recvd = true;
846
+ s->recv_trailing_md_op = nullptr;
847
+ // Since we are only pretending to have received the trailing MD, it would
848
+ // be ok (not an error) if the client actually sends it later.
849
+ s->trailing_md_recvd_implicit_only = true;
850
+ }
851
+ if (s->trailing_md_recvd && s->recv_message_op) {
852
+ // No further message will come on this stream, so finish off the
853
+ // recv_message_op
854
+ INPROC_LOG(GPR_INFO, "op_state_machine %p scheduling message-ready", s);
855
+ s->recv_message_op->payload->recv_message.recv_message->reset();
856
+ grpc_core::ExecCtx::Run(
857
+ DEBUG_LOCATION,
858
+ s->recv_message_op->payload->recv_message.recv_message_ready,
859
+ absl::OkStatus());
860
+ complete_if_batch_end_locked(
861
+ s, new_err, s->recv_message_op,
862
+ "op_state_machine scheduling recv-message-on-complete");
863
+ s->recv_message_op = nullptr;
864
+ }
865
+ if (s->trailing_md_recvd && s->send_message_op && s->t->is_client) {
866
+ // Nothing further will try to receive from this stream, so finish off
867
+ // any outstanding send_message op
868
+ ResetSendMessage(s->send_message_op);
869
+ complete_if_batch_end_locked(
870
+ s, new_err, s->send_message_op,
871
+ "op_state_machine scheduling send-message-on-complete case 3");
872
+ s->send_message_op = nullptr;
873
+ }
874
+ if (s->send_message_op || s->send_trailing_md_op || s->recv_initial_md_op ||
875
+ s->recv_message_op || s->recv_trailing_md_op) {
876
+ // Didn't get the item we wanted so we still need to get
877
+ // rescheduled
878
+ INPROC_LOG(
879
+ GPR_INFO, "op_state_machine %p still needs closure %p %p %p %p %p", s,
880
+ s->send_message_op, s->send_trailing_md_op, s->recv_initial_md_op,
881
+ s->recv_message_op, s->recv_trailing_md_op);
882
+ s->ops_needed = true;
883
+ }
884
+ done:
885
+ if (needs_close) {
886
+ close_other_side_locked(s, "op_state_machine");
887
+ close_stream_locked(s);
888
+ }
889
+ }
890
+
891
+ bool cancel_stream_locked(inproc_stream* s, grpc_error_handle error) {
892
+ bool ret = false; // was the cancel accepted
893
+ INPROC_LOG(GPR_INFO, "cancel_stream %p with %s", s,
894
+ grpc_core::StatusToString(error).c_str());
895
+ if (s->cancel_self_error.ok()) {
896
+ ret = true;
897
+ s->cancel_self_error = error;
898
+ // Catch current value of other before it gets closed off
899
+ inproc_stream* other = s->other_side;
900
+ maybe_process_ops_locked(s, s->cancel_self_error);
901
+ // Send trailing md to the other side indicating cancellation, even if we
902
+ // already have
903
+ s->trailing_md_sent = true;
904
+
905
+ grpc_metadata_batch cancel_md(s->arena);
906
+
907
+ grpc_metadata_batch* dest = (other == nullptr)
908
+ ? &s->write_buffer_trailing_md
909
+ : &other->to_read_trailing_md;
910
+ bool* destfilled = (other == nullptr) ? &s->write_buffer_trailing_md_filled
911
+ : &other->to_read_trailing_md_filled;
912
+ fill_in_metadata(s, &cancel_md, dest, destfilled);
913
+
914
+ if (other != nullptr) {
915
+ if (other->cancel_other_error.ok()) {
916
+ other->cancel_other_error = s->cancel_self_error;
917
+ }
918
+ maybe_process_ops_locked(other, other->cancel_other_error);
919
+ } else if (s->write_buffer_cancel_error.ok()) {
920
+ s->write_buffer_cancel_error = s->cancel_self_error;
921
+ }
922
+
923
+ // if we are a server and already received trailing md but
924
+ // couldn't complete that because we hadn't yet sent out trailing
925
+ // md, now's the chance
926
+ if (!s->t->is_client && s->trailing_md_recvd && s->recv_trailing_md_op) {
927
+ grpc_core::ExecCtx::Run(
928
+ DEBUG_LOCATION,
929
+ s->recv_trailing_md_op->payload->recv_trailing_metadata
930
+ .recv_trailing_metadata_ready,
931
+ s->cancel_self_error);
932
+ complete_if_batch_end_locked(
933
+ s, s->cancel_self_error, s->recv_trailing_md_op,
934
+ "cancel_stream scheduling trailing-md-on-complete");
935
+ s->recv_trailing_md_op = nullptr;
936
+ }
937
+ }
938
+
939
+ close_other_side_locked(s, "cancel_stream:other_side");
940
+ close_stream_locked(s);
941
+
942
+ return ret;
943
+ }
944
+
945
+ void inproc_transport::PerformStreamOp(grpc_stream* gs,
946
+ grpc_transport_stream_op_batch* op) {
947
+ INPROC_LOG(GPR_INFO, "perform_stream_op %p %p %p", this, gs, op);
948
+ inproc_stream* s = reinterpret_cast<inproc_stream*>(gs);
949
+ gpr_mu* mu = &s->t->mu->mu; // save aside in case s gets closed
950
+ gpr_mu_lock(mu);
951
+
952
+ if (GRPC_TRACE_FLAG_ENABLED(grpc_inproc_trace)) {
953
+ if (op->send_initial_metadata) {
954
+ log_metadata(op->payload->send_initial_metadata.send_initial_metadata,
955
+ s->t->is_client, true);
956
+ }
957
+ if (op->send_trailing_metadata) {
958
+ log_metadata(op->payload->send_trailing_metadata.send_trailing_metadata,
959
+ s->t->is_client, false);
960
+ }
961
+ }
962
+ grpc_error_handle error;
963
+ grpc_closure* on_complete = op->on_complete;
964
+ // TODO(roth): This is a hack needed because we use data inside of the
965
+ // closure itself to do the barrier calculation (i.e., to ensure that
966
+ // we don't schedule the closure until all ops in the batch have been
967
+ // completed). This can go away once we move to a new C++ closure API
968
+ // that provides the ability to create a barrier closure.
969
+ if (on_complete == nullptr) {
970
+ on_complete = op->on_complete =
971
+ grpc_core::NewClosure([](grpc_error_handle) {});
972
+ }
973
+
974
+ if (op->cancel_stream) {
975
+ // Call cancel_stream_locked without ref'ing the cancel_error because
976
+ // this function is responsible to make sure that that field gets unref'ed
977
+ cancel_stream_locked(s, op->payload->cancel_stream.cancel_error);
978
+ // this op can complete without an error
979
+ } else if (!s->cancel_self_error.ok()) {
980
+ // already self-canceled so still give it an error
981
+ error = s->cancel_self_error;
982
+ } else {
983
+ INPROC_LOG(GPR_INFO, "perform_stream_op %p %s%s%s%s%s%s%s", s,
984
+ s->t->is_client ? "client" : "server",
985
+ op->send_initial_metadata ? " send_initial_metadata" : "",
986
+ op->send_message ? " send_message" : "",
987
+ op->send_trailing_metadata ? " send_trailing_metadata" : "",
988
+ op->recv_initial_metadata ? " recv_initial_metadata" : "",
989
+ op->recv_message ? " recv_message" : "",
990
+ op->recv_trailing_metadata ? " recv_trailing_metadata" : "");
991
+ }
992
+
993
+ inproc_stream* other = s->other_side;
994
+ if (error.ok() && (op->send_initial_metadata || op->send_trailing_metadata)) {
995
+ if (s->t->is_closed) {
996
+ error = GRPC_ERROR_CREATE("Endpoint already shutdown");
997
+ }
998
+ if (error.ok() && op->send_initial_metadata) {
999
+ grpc_metadata_batch* dest = (other == nullptr)
1000
+ ? &s->write_buffer_initial_md
1001
+ : &other->to_read_initial_md;
1002
+ bool* destfilled = (other == nullptr) ? &s->write_buffer_initial_md_filled
1003
+ : &other->to_read_initial_md_filled;
1004
+ if (*destfilled || s->initial_md_sent) {
1005
+ // The buffer is already in use; that's an error!
1006
+ INPROC_LOG(GPR_INFO, "Extra initial metadata %p", s);
1007
+ error = GRPC_ERROR_CREATE("Extra initial metadata");
1008
+ } else {
1009
+ if (!s->other_side_closed) {
1010
+ fill_in_metadata(
1011
+ s, op->payload->send_initial_metadata.send_initial_metadata, dest,
1012
+ destfilled);
1013
+ }
1014
+ if (s->t->is_client) {
1015
+ grpc_core::Timestamp* dl =
1016
+ (other == nullptr) ? &s->write_buffer_deadline : &other->deadline;
1017
+ *dl = std::min(
1018
+ *dl, op->payload->send_initial_metadata.send_initial_metadata
1019
+ ->get(grpc_core::GrpcTimeoutMetadata())
1020
+ .value_or(grpc_core::Timestamp::InfFuture()));
1021
+ s->initial_md_sent = true;
1022
+ }
1023
+ }
1024
+ maybe_process_ops_locked(other, error);
1025
+ }
1026
+ }
1027
+
1028
+ if (error.ok() && (op->send_message || op->send_trailing_metadata ||
1029
+ op->recv_initial_metadata || op->recv_message ||
1030
+ op->recv_trailing_metadata)) {
1031
+ // Mark ops that need to be processed by the state machine
1032
+ if (op->send_message) {
1033
+ s->send_message_op = op;
1034
+ }
1035
+ if (op->send_trailing_metadata) {
1036
+ s->send_trailing_md_op = op;
1037
+ }
1038
+ if (op->recv_initial_metadata) {
1039
+ s->recv_initial_md_op = op;
1040
+ }
1041
+ if (op->recv_message) {
1042
+ s->recv_message_op = op;
1043
+ }
1044
+ if (op->recv_trailing_metadata) {
1045
+ s->recv_trailing_md_op = op;
1046
+ }
1047
+
1048
+ // We want to initiate the state machine if:
1049
+ // 1. We want to send a message and the other side wants to receive
1050
+ // 2. We want to send trailing metadata and there isn't an unmatched send
1051
+ // or the other side wants trailing metadata
1052
+ // 3. We want initial metadata and the other side has sent it
1053
+ // 4. We want to receive a message and there is a message ready
1054
+ // 5. There is trailing metadata, even if nothing specifically wants
1055
+ // that because that can shut down the receive message as well
1056
+ if ((op->send_message && other && other->recv_message_op != nullptr) ||
1057
+ (op->send_trailing_metadata &&
1058
+ (!s->send_message_op || (other && other->recv_trailing_md_op))) ||
1059
+ (op->recv_initial_metadata && s->to_read_initial_md_filled) ||
1060
+ (op->recv_message && other && other->send_message_op != nullptr) ||
1061
+ (s->to_read_trailing_md_filled || s->trailing_md_recvd)) {
1062
+ op_state_machine_locked(s, error);
1063
+ } else {
1064
+ s->ops_needed = true;
1065
+ }
1066
+ } else {
1067
+ if (!error.ok()) {
1068
+ // Consume any send message that was sent here but that we are not
1069
+ // pushing to the other side
1070
+ if (op->send_message) {
1071
+ ResetSendMessage(op);
1072
+ }
1073
+ // Schedule op's closures that we didn't push to op state machine
1074
+ if (op->recv_initial_metadata) {
1075
+ if (op->payload->recv_initial_metadata.trailing_metadata_available !=
1076
+ nullptr) {
1077
+ // Set to true unconditionally, because we're failing the call, so
1078
+ // even if we haven't actually seen the send_trailing_metadata op
1079
+ // from the other side, we're going to return trailing metadata
1080
+ // anyway.
1081
+ *op->payload->recv_initial_metadata.trailing_metadata_available =
1082
+ true;
1083
+ }
1084
+ INPROC_LOG(
1085
+ GPR_INFO,
1086
+ "perform_stream_op error %p scheduling initial-metadata-ready %s",
1087
+ s, grpc_core::StatusToString(error).c_str());
1088
+ grpc_core::ExecCtx::Run(
1089
+ DEBUG_LOCATION,
1090
+ op->payload->recv_initial_metadata.recv_initial_metadata_ready,
1091
+ error);
1092
+ }
1093
+ if (op->recv_message) {
1094
+ INPROC_LOG(
1095
+ GPR_INFO,
1096
+ "perform_stream_op error %p scheduling recv message-ready %s", s,
1097
+ grpc_core::StatusToString(error).c_str());
1098
+ if (op->payload->recv_message.call_failed_before_recv_message !=
1099
+ nullptr) {
1100
+ *op->payload->recv_message.call_failed_before_recv_message = true;
1101
+ }
1102
+ grpc_core::ExecCtx::Run(DEBUG_LOCATION,
1103
+ op->payload->recv_message.recv_message_ready,
1104
+ error);
1105
+ }
1106
+ if (op->recv_trailing_metadata) {
1107
+ INPROC_LOG(GPR_INFO,
1108
+ "perform_stream_op error %p scheduling "
1109
+ "trailing-metadata-ready %s",
1110
+ s, grpc_core::StatusToString(error).c_str());
1111
+ grpc_core::ExecCtx::Run(
1112
+ DEBUG_LOCATION,
1113
+ op->payload->recv_trailing_metadata.recv_trailing_metadata_ready,
1114
+ error);
1115
+ }
1116
+ }
1117
+ INPROC_LOG(GPR_INFO, "perform_stream_op %p scheduling on_complete %s", s,
1118
+ grpc_core::StatusToString(error).c_str());
1119
+ grpc_core::ExecCtx::Run(DEBUG_LOCATION, on_complete, error);
1120
+ }
1121
+ gpr_mu_unlock(mu);
1122
+ }
1123
+
1124
+ void close_transport_locked(inproc_transport* t) {
1125
+ INPROC_LOG(GPR_INFO, "close_transport %p %d", t, t->is_closed);
1126
+ t->state_tracker.SetState(GRPC_CHANNEL_SHUTDOWN, absl::Status(),
1127
+ "close transport");
1128
+ if (!t->is_closed) {
1129
+ t->is_closed = true;
1130
+ // Also end all streams on this transport
1131
+ while (t->stream_list != nullptr) {
1132
+ // cancel_stream_locked also adjusts stream list
1133
+ cancel_stream_locked(
1134
+ t->stream_list,
1135
+ grpc_error_set_int(GRPC_ERROR_CREATE("Transport closed"),
1136
+ grpc_core::StatusIntProperty::kRpcStatus,
1137
+ GRPC_STATUS_UNAVAILABLE));
1138
+ }
1139
+ }
1140
+ }
1141
+
1142
+ void inproc_transport::PerformOp(grpc_transport_op* op) {
1143
+ INPROC_LOG(GPR_INFO, "perform_transport_op %p %p", this, op);
1144
+ gpr_mu_lock(&mu->mu);
1145
+ if (op->start_connectivity_watch != nullptr) {
1146
+ state_tracker.AddWatcher(op->start_connectivity_watch_state,
1147
+ std::move(op->start_connectivity_watch));
1148
+ }
1149
+ if (op->stop_connectivity_watch != nullptr) {
1150
+ state_tracker.RemoveWatcher(op->stop_connectivity_watch);
1151
+ }
1152
+ if (op->set_accept_stream) {
1153
+ accept_stream_cb = op->set_accept_stream_fn;
1154
+ registered_method_matcher_cb = op->set_registered_method_matcher_fn;
1155
+ accept_stream_data = op->set_accept_stream_user_data;
1156
+ }
1157
+ if (op->on_consumed) {
1158
+ grpc_core::ExecCtx::Run(DEBUG_LOCATION, op->on_consumed, absl::OkStatus());
1159
+ }
1160
+
1161
+ bool do_close = false;
1162
+ if (!op->goaway_error.ok()) {
1163
+ do_close = true;
1164
+ }
1165
+ if (!op->disconnect_with_error.ok()) {
1166
+ do_close = true;
1167
+ }
1168
+
1169
+ if (do_close) {
1170
+ close_transport_locked(this);
1171
+ }
1172
+ gpr_mu_unlock(&mu->mu);
1173
+ }
1174
+
1175
+ void inproc_transport::DestroyStream(grpc_stream* gs,
1176
+ grpc_closure* then_schedule_closure) {
1177
+ INPROC_LOG(GPR_INFO, "destroy_stream %p %p", gs, then_schedule_closure);
1178
+ inproc_stream* s = reinterpret_cast<inproc_stream*>(gs);
1179
+ gpr_mu_lock(&mu->mu);
1180
+ close_stream_locked(s);
1181
+ gpr_mu_unlock(&mu->mu);
1182
+ s->~inproc_stream();
1183
+ grpc_core::ExecCtx::Run(DEBUG_LOCATION, then_schedule_closure,
1184
+ absl::OkStatus());
1185
+ }
1186
+
1187
+ void inproc_transport::Orphan() {
1188
+ INPROC_LOG(GPR_INFO, "destroy_transport %p", this);
1189
+ gpr_mu_lock(&mu->mu);
1190
+ close_transport_locked(this);
1191
+ gpr_mu_unlock(&mu->mu);
1192
+ other_side->unref();
1193
+ unref();
1194
+ }
1195
+
1196
+ //******************************************************************************
1197
+ // INTEGRATION GLUE
1198
+ //
1199
+
1200
+ size_t inproc_transport::SizeOfStream() const { return sizeof(inproc_stream); }
1201
+
1202
+ absl::string_view inproc_transport::GetTransportName() const {
1203
+ return "inproc";
1204
+ }
1205
+
1206
+ void inproc_transport::SetPollset(grpc_stream* /*gs*/,
1207
+ grpc_pollset* /*pollset*/) {
1208
+ // Nothing to do here
1209
+ }
1210
+
1211
+ void inproc_transport::SetPollsetSet(grpc_stream* /*gs*/,
1212
+ grpc_pollset_set* /*pollset_set*/) {
1213
+ // Nothing to do here
1214
+ }
1215
+
1216
+ grpc_endpoint* inproc_transport::GetEndpoint() { return nullptr; }
1217
+
1218
+ //******************************************************************************
1219
+ // Main inproc transport functions
1220
+ //
1221
+ void inproc_transports_create(grpc_core::Transport** server_transport,
1222
+ grpc_core::Transport** client_transport) {
1223
+ INPROC_LOG(GPR_INFO, "inproc_transports_create");
1224
+ shared_mu* mu = new (gpr_malloc(sizeof(*mu))) shared_mu();
1225
+ inproc_transport* st =
1226
+ new (gpr_malloc(sizeof(*st))) inproc_transport(mu, /*is_client=*/false);
1227
+ inproc_transport* ct =
1228
+ new (gpr_malloc(sizeof(*ct))) inproc_transport(mu, /*is_client=*/true);
1229
+ st->other_side = ct;
1230
+ ct->other_side = st;
1231
+ *server_transport = reinterpret_cast<grpc_core::Transport*>(st);
1232
+ *client_transport = reinterpret_cast<grpc_core::Transport*>(ct);
1233
+ }
1234
+ } // namespace
1235
+
1236
+ grpc_channel* grpc_legacy_inproc_channel_create(grpc_server* server,
1237
+ const grpc_channel_args* args,
1238
+ void* /*reserved*/) {
1239
+ GRPC_API_TRACE("grpc_inproc_channel_create(server=%p, args=%p)", 2,
1240
+ (server, args));
1241
+
1242
+ grpc_core::ExecCtx exec_ctx;
1243
+
1244
+ grpc_core::Server* core_server = grpc_core::Server::FromC(server);
1245
+ // Remove max_connection_idle and max_connection_age channel arguments since
1246
+ // those do not apply to inproc transports.
1247
+ grpc_core::ChannelArgs server_args =
1248
+ core_server->channel_args()
1249
+ .Remove(GRPC_ARG_MAX_CONNECTION_IDLE_MS)
1250
+ .Remove(GRPC_ARG_MAX_CONNECTION_AGE_MS);
1251
+
1252
+ // Add a default authority channel argument for the client
1253
+ grpc_core::ChannelArgs client_args =
1254
+ grpc_core::CoreConfiguration::Get()
1255
+ .channel_args_preconditioning()
1256
+ .PreconditionChannelArgs(args)
1257
+ .Set(GRPC_ARG_DEFAULT_AUTHORITY, "inproc.authority");
1258
+ grpc_core::Transport* server_transport;
1259
+ grpc_core::Transport* client_transport;
1260
+ inproc_transports_create(&server_transport, &client_transport);
1261
+
1262
+ // TODO(ncteisen): design and support channelz GetSocket for inproc.
1263
+ grpc_error_handle error = core_server->SetupTransport(
1264
+ server_transport, nullptr, server_args, nullptr);
1265
+ grpc_channel* channel = nullptr;
1266
+ if (error.ok()) {
1267
+ auto new_channel = grpc_core::Channel::Create(
1268
+ "inproc", client_args, GRPC_CLIENT_DIRECT_CHANNEL, client_transport);
1269
+ if (!new_channel.ok()) {
1270
+ GPR_ASSERT(!channel);
1271
+ gpr_log(GPR_ERROR, "Failed to create client channel: %s",
1272
+ grpc_core::StatusToString(error).c_str());
1273
+ intptr_t integer;
1274
+ grpc_status_code status = GRPC_STATUS_INTERNAL;
1275
+ if (grpc_error_get_int(error, grpc_core::StatusIntProperty::kRpcStatus,
1276
+ &integer)) {
1277
+ status = static_cast<grpc_status_code>(integer);
1278
+ }
1279
+ // client_transport was destroyed when grpc_channel_create_internal saw an
1280
+ // error.
1281
+ server_transport->Orphan();
1282
+ channel = grpc_lame_client_channel_create(
1283
+ nullptr, status, "Failed to create client channel");
1284
+ } else {
1285
+ channel = new_channel->release()->c_ptr();
1286
+ }
1287
+ } else {
1288
+ GPR_ASSERT(!channel);
1289
+ gpr_log(GPR_ERROR, "Failed to create server channel: %s",
1290
+ grpc_core::StatusToString(error).c_str());
1291
+ intptr_t integer;
1292
+ grpc_status_code status = GRPC_STATUS_INTERNAL;
1293
+ if (grpc_error_get_int(error, grpc_core::StatusIntProperty::kRpcStatus,
1294
+ &integer)) {
1295
+ status = static_cast<grpc_status_code>(integer);
1296
+ }
1297
+ client_transport->Orphan();
1298
+ server_transport->Orphan();
1299
+ channel = grpc_lame_client_channel_create(
1300
+ nullptr, status, "Failed to create server channel");
1301
+ }
1302
+ return channel;
1303
+ }