grpc 1.32.0 → 1.33.0.pre1

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of grpc might be problematic. Click here for more details.

Files changed (214) hide show
  1. checksums.yaml +4 -4
  2. data/Makefile +175 -376
  3. data/include/grpc/grpc.h +0 -5
  4. data/include/grpc/grpc_security.h +16 -0
  5. data/include/grpc/impl/codegen/grpc_types.h +0 -5
  6. data/src/core/ext/filters/client_channel/client_channel.cc +204 -170
  7. data/src/core/ext/filters/client_channel/config_selector.cc +0 -4
  8. data/src/core/ext/filters/client_channel/config_selector.h +34 -5
  9. data/src/core/ext/filters/client_channel/lb_policy.h +1 -1
  10. data/src/core/ext/filters/client_channel/lb_policy/address_filtering.cc +48 -35
  11. data/src/core/ext/filters/client_channel/lb_policy/address_filtering.h +7 -5
  12. data/src/core/ext/filters/client_channel/lb_policy/child_policy_handler.cc +3 -2
  13. data/src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb.cc +106 -106
  14. data/src/core/ext/filters/client_channel/lb_policy/pick_first/pick_first.cc +2 -2
  15. data/src/core/ext/filters/client_channel/lb_policy/priority/priority.cc +3 -3
  16. data/src/core/ext/filters/client_channel/lb_policy/round_robin/round_robin.cc +3 -3
  17. data/src/core/ext/filters/client_channel/lb_policy/subchannel_list.h +9 -32
  18. data/src/core/ext/filters/client_channel/lb_policy/weighted_target/weighted_target.cc +3 -3
  19. data/src/core/ext/filters/client_channel/lb_policy/xds/cds.cc +198 -126
  20. data/src/core/ext/filters/client_channel/lb_policy/xds/eds.cc +439 -249
  21. data/src/core/ext/filters/client_channel/lb_policy/xds/eds_drop.cc +571 -0
  22. data/src/core/ext/filters/client_channel/lb_policy/xds/xds_cluster_manager.cc +727 -0
  23. data/src/core/ext/filters/client_channel/lb_policy_registry.cc +8 -1
  24. data/src/core/ext/filters/client_channel/resolver/dns/c_ares/dns_resolver_ares.cc +1 -1
  25. data/src/core/ext/filters/client_channel/resolver/xds/xds_resolver.cc +553 -358
  26. data/src/core/ext/filters/client_channel/resolver/xds/xds_resolver.h +28 -0
  27. data/src/core/ext/filters/client_channel/resolver_result_parsing.cc +8 -39
  28. data/src/core/ext/filters/client_channel/resolver_result_parsing.h +4 -2
  29. data/src/core/ext/filters/client_channel/resolving_lb_policy.cc +44 -43
  30. data/src/core/ext/filters/client_channel/resolving_lb_policy.h +5 -9
  31. data/src/core/ext/filters/client_channel/server_address.cc +80 -0
  32. data/src/core/ext/filters/client_channel/server_address.h +25 -36
  33. data/src/core/ext/filters/client_channel/service_config.cc +16 -13
  34. data/src/core/ext/filters/client_channel/service_config.h +7 -4
  35. data/src/core/ext/filters/client_channel/service_config_channel_arg_filter.cc +2 -2
  36. data/src/core/ext/filters/client_channel/service_config_parser.cc +8 -6
  37. data/src/core/ext/filters/client_channel/service_config_parser.h +8 -5
  38. data/src/core/ext/filters/client_channel/subchannel_interface.h +44 -0
  39. data/src/core/ext/filters/message_size/message_size_filter.cc +2 -1
  40. data/src/core/ext/filters/message_size/message_size_filter.h +2 -1
  41. data/src/core/ext/transport/chttp2/transport/chttp2_transport.cc +17 -10
  42. data/src/core/ext/transport/chttp2/transport/flow_control.cc +10 -2
  43. data/src/core/ext/transport/chttp2/transport/flow_control.h +10 -0
  44. data/src/core/ext/transport/chttp2/transport/internal.h +5 -0
  45. data/src/core/ext/transport/chttp2/transport/parsing.cc +16 -2
  46. data/src/core/ext/upb-generated/envoy/config/accesslog/v3/accesslog.upb.c +29 -9
  47. data/src/core/ext/upb-generated/envoy/config/accesslog/v3/accesslog.upb.h +66 -0
  48. data/src/core/ext/upb-generated/envoy/config/cluster/v3/cluster.upb.c +123 -45
  49. data/src/core/ext/upb-generated/envoy/config/cluster/v3/cluster.upb.h +310 -53
  50. data/src/core/ext/upb-generated/envoy/config/core/v3/address.upb.c +17 -5
  51. data/src/core/ext/upb-generated/envoy/config/core/v3/address.upb.h +45 -0
  52. data/src/core/ext/upb-generated/envoy/config/core/v3/base.upb.c +1 -0
  53. data/src/core/ext/upb-generated/envoy/config/core/v3/config_source.upb.c +16 -9
  54. data/src/core/ext/upb-generated/envoy/config/core/v3/config_source.upb.h +38 -15
  55. data/src/core/ext/upb-generated/envoy/config/core/v3/extension.upb.c +53 -0
  56. data/src/core/ext/upb-generated/envoy/config/core/v3/extension.upb.h +133 -0
  57. data/src/core/ext/upb-generated/envoy/config/core/v3/grpc_service.upb.c +54 -8
  58. data/src/core/ext/upb-generated/envoy/config/core/v3/grpc_service.upb.h +123 -5
  59. data/src/core/ext/upb-generated/envoy/config/core/v3/protocol.upb.c +40 -16
  60. data/src/core/ext/upb-generated/envoy/config/core/v3/protocol.upb.h +114 -5
  61. data/src/core/ext/upb-generated/envoy/config/core/v3/substitution_format_string.upb.c +36 -0
  62. data/src/core/ext/upb-generated/envoy/config/core/v3/substitution_format_string.upb.h +85 -0
  63. data/src/core/ext/upb-generated/envoy/config/listener/v3/listener.upb.c +36 -16
  64. data/src/core/ext/upb-generated/envoy/config/listener/v3/listener.upb.h +86 -20
  65. data/src/core/ext/upb-generated/envoy/config/listener/v3/listener_components.upb.c +23 -6
  66. data/src/core/ext/upb-generated/envoy/config/listener/v3/listener_components.upb.h +54 -5
  67. data/src/core/ext/upb-generated/envoy/config/rbac/v3/rbac.upb.c +10 -6
  68. data/src/core/ext/upb-generated/envoy/config/rbac/v3/rbac.upb.h +28 -11
  69. data/src/core/ext/upb-generated/envoy/config/route/v3/route_components.upb.c +184 -57
  70. data/src/core/ext/upb-generated/envoy/config/route/v3/route_components.upb.h +504 -69
  71. data/src/core/ext/upb-generated/envoy/config/route/v3/scoped_route.upb.c +6 -5
  72. data/src/core/ext/upb-generated/envoy/config/route/v3/scoped_route.upb.h +11 -7
  73. data/src/core/ext/upb-generated/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upb.c +78 -26
  74. data/src/core/ext/upb-generated/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upb.h +236 -25
  75. data/src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/common.upb.c +8 -9
  76. data/src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/common.upb.h +19 -33
  77. data/src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/secret.upb.c +7 -3
  78. data/src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/secret.upb.h +16 -0
  79. data/src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/tls.upb.c +65 -23
  80. data/src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/tls.upb.h +229 -47
  81. data/src/core/ext/upb-generated/envoy/service/discovery/v3/discovery.upb.c +20 -10
  82. data/src/core/ext/upb-generated/envoy/service/discovery/v3/discovery.upb.h +67 -4
  83. data/src/core/ext/upb-generated/envoy/type/matcher/v3/string.upb.c +3 -2
  84. data/src/core/ext/upb-generated/envoy/type/matcher/v3/string.upb.h +6 -0
  85. data/src/core/ext/upb-generated/google/api/expr/v1alpha1/checked.upb.c +242 -0
  86. data/src/core/ext/upb-generated/google/api/expr/v1alpha1/checked.upb.h +753 -0
  87. data/src/core/ext/upb-generated/udpa/annotations/security.upb.c +31 -0
  88. data/src/core/ext/upb-generated/udpa/annotations/security.upb.h +57 -0
  89. data/src/core/ext/upb-generated/udpa/core/v1/authority.upb.c +28 -0
  90. data/src/core/ext/upb-generated/udpa/core/v1/authority.upb.h +53 -0
  91. data/src/core/ext/upb-generated/udpa/core/v1/collection_entry.upb.c +52 -0
  92. data/src/core/ext/upb-generated/udpa/core/v1/collection_entry.upb.h +129 -0
  93. data/src/core/ext/upb-generated/udpa/core/v1/context_params.upb.c +42 -0
  94. data/src/core/ext/upb-generated/udpa/core/v1/context_params.upb.h +77 -0
  95. data/src/core/ext/upb-generated/udpa/core/v1/resource.upb.c +36 -0
  96. data/src/core/ext/upb-generated/udpa/core/v1/resource.upb.h +85 -0
  97. data/src/core/ext/upb-generated/udpa/core/v1/resource_locator.upb.c +54 -0
  98. data/src/core/ext/upb-generated/udpa/core/v1/resource_locator.upb.h +160 -0
  99. data/src/core/ext/upb-generated/udpa/core/v1/resource_name.upb.c +36 -0
  100. data/src/core/ext/upb-generated/udpa/core/v1/resource_name.upb.h +84 -0
  101. data/src/core/ext/xds/certificate_provider_factory.h +59 -0
  102. data/src/core/ext/xds/certificate_provider_registry.cc +103 -0
  103. data/src/core/ext/xds/certificate_provider_registry.h +57 -0
  104. data/src/core/ext/xds/certificate_provider_store.h +50 -0
  105. data/src/core/ext/xds/google_mesh_ca_certificate_provider_factory.cc +377 -0
  106. data/src/core/ext/xds/google_mesh_ca_certificate_provider_factory.h +102 -0
  107. data/src/core/ext/xds/xds_api.cc +301 -93
  108. data/src/core/ext/xds/xds_api.h +129 -92
  109. data/src/core/ext/xds/xds_channel_args.h +6 -3
  110. data/src/core/ext/xds/xds_client.cc +498 -410
  111. data/src/core/ext/xds/xds_client.h +105 -51
  112. data/src/core/ext/xds/xds_client_stats.cc +18 -12
  113. data/src/core/ext/xds/xds_client_stats.h +33 -5
  114. data/src/core/lib/channel/channel_args.h +0 -1
  115. data/src/core/lib/channel/channelz.cc +10 -45
  116. data/src/core/lib/channel/channelz.h +11 -19
  117. data/src/core/lib/channel/channelz_registry.cc +12 -11
  118. data/src/core/lib/channel/channelz_registry.h +3 -0
  119. data/src/core/lib/gpr/time_precise.cc +2 -0
  120. data/src/core/lib/gpr/time_precise.h +6 -2
  121. data/src/core/lib/gprpp/dual_ref_counted.h +336 -0
  122. data/src/core/lib/gprpp/ref_counted.h +51 -22
  123. data/src/core/lib/gprpp/ref_counted_ptr.h +153 -0
  124. data/src/core/lib/iomgr/endpoint_cfstream.cc +9 -5
  125. data/src/core/lib/iomgr/exec_ctx.h +10 -8
  126. data/src/core/lib/json/json_util.cc +58 -0
  127. data/src/core/lib/json/json_util.h +37 -0
  128. data/src/core/lib/security/certificate_provider.h +60 -0
  129. data/src/core/lib/security/credentials/tls/grpc_tls_certificate_distributor.cc +321 -0
  130. data/src/core/lib/security/credentials/tls/grpc_tls_certificate_distributor.h +214 -0
  131. data/src/core/lib/security/credentials/xds/xds_credentials.cc +45 -0
  132. data/src/core/lib/security/credentials/xds/xds_credentials.h +51 -0
  133. data/src/core/lib/security/security_connector/fake/fake_security_connector.cc +6 -10
  134. data/src/core/lib/security/security_connector/ssl_utils.h +5 -0
  135. data/src/core/lib/surface/channel.cc +9 -31
  136. data/src/core/lib/surface/channel.h +6 -1
  137. data/src/core/lib/surface/init.cc +26 -9
  138. data/src/core/lib/surface/version.cc +2 -2
  139. data/src/core/lib/transport/bdp_estimator.h +2 -1
  140. data/src/core/lib/transport/connectivity_state.h +2 -2
  141. data/src/core/lib/transport/metadata.cc +11 -1
  142. data/src/core/plugin_registry/grpc_plugin_registry.cc +35 -20
  143. data/src/core/tsi/ssl_transport_security.cc +2 -2
  144. data/src/ruby/ext/grpc/rb_grpc_imports.generated.c +2 -2
  145. data/src/ruby/ext/grpc/rb_grpc_imports.generated.h +3 -3
  146. data/src/ruby/lib/grpc/version.rb +1 -1
  147. data/third_party/boringssl-with-bazel/err_data.c +465 -463
  148. data/third_party/boringssl-with-bazel/src/crypto/asn1/asn1_lib.c +0 -6
  149. data/third_party/boringssl-with-bazel/src/crypto/dsa/dsa.c +9 -43
  150. data/third_party/boringssl-with-bazel/src/crypto/dsa/dsa_asn1.c +55 -4
  151. data/third_party/boringssl-with-bazel/src/crypto/dsa/internal.h +34 -0
  152. data/third_party/boringssl-with-bazel/src/crypto/evp/evp.c +4 -0
  153. data/third_party/boringssl-with-bazel/src/crypto/evp/p_dsa_asn1.c +6 -2
  154. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/digest/digest.c +2 -0
  155. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/rsa/internal.h +4 -0
  156. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/rsa/rsa.c +30 -10
  157. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/rsa/rsa_impl.c +10 -15
  158. data/third_party/boringssl-with-bazel/src/crypto/hpke/hpke.c +98 -11
  159. data/third_party/boringssl-with-bazel/src/crypto/hpke/internal.h +51 -6
  160. data/third_party/boringssl-with-bazel/src/crypto/trust_token/internal.h +44 -2
  161. data/third_party/boringssl-with-bazel/src/crypto/trust_token/pmbtoken.c +221 -49
  162. data/third_party/boringssl-with-bazel/src/crypto/trust_token/trust_token.c +64 -20
  163. data/third_party/boringssl-with-bazel/src/crypto/x509/a_strex.c +3 -3
  164. data/third_party/boringssl-with-bazel/src/crypto/x509/algorithm.c +0 -8
  165. data/third_party/boringssl-with-bazel/src/crypto/x509/t_crl.c +3 -3
  166. data/third_party/boringssl-with-bazel/src/crypto/x509/t_x509.c +1 -1
  167. data/third_party/boringssl-with-bazel/src/crypto/x509/x509_cmp.c +7 -2
  168. data/third_party/boringssl-with-bazel/src/crypto/x509/x509_ext.c +21 -18
  169. data/third_party/boringssl-with-bazel/src/crypto/x509/x509_obj.c +1 -1
  170. data/third_party/boringssl-with-bazel/src/crypto/x509/x509_set.c +24 -3
  171. data/third_party/boringssl-with-bazel/src/crypto/x509/x509_trs.c +3 -3
  172. data/third_party/boringssl-with-bazel/src/crypto/x509/x509_txt.c +67 -67
  173. data/third_party/boringssl-with-bazel/src/crypto/x509/x509_v3.c +3 -3
  174. data/third_party/boringssl-with-bazel/src/crypto/x509/x509_vfy.c +29 -35
  175. data/third_party/boringssl-with-bazel/src/crypto/x509/x509cset.c +13 -2
  176. data/third_party/boringssl-with-bazel/src/crypto/x509/x509name.c +9 -8
  177. data/third_party/boringssl-with-bazel/src/crypto/x509/x_all.c +10 -10
  178. data/third_party/boringssl-with-bazel/src/crypto/x509/x_crl.c +2 -2
  179. data/third_party/boringssl-with-bazel/src/crypto/x509/x_name.c +28 -40
  180. data/third_party/boringssl-with-bazel/src/crypto/x509/x_x509.c +3 -1
  181. data/third_party/boringssl-with-bazel/src/crypto/x509v3/ext_dat.h +1 -4
  182. data/third_party/boringssl-with-bazel/src/crypto/x509v3/v3_conf.c +7 -3
  183. data/third_party/boringssl-with-bazel/src/crypto/x509v3/v3_genn.c +2 -2
  184. data/third_party/boringssl-with-bazel/src/crypto/x509v3/v3_info.c +1 -1
  185. data/third_party/boringssl-with-bazel/src/crypto/x509v3/v3_purp.c +55 -8
  186. data/third_party/boringssl-with-bazel/src/crypto/x509v3/v3_skey.c +1 -1
  187. data/third_party/boringssl-with-bazel/src/include/openssl/asn1.h +0 -1
  188. data/third_party/boringssl-with-bazel/src/include/openssl/base.h +1 -1
  189. data/third_party/boringssl-with-bazel/src/include/openssl/cipher.h +6 -0
  190. data/third_party/boringssl-with-bazel/src/include/openssl/crypto.h +1 -1
  191. data/third_party/boringssl-with-bazel/src/include/openssl/dh.h +12 -0
  192. data/third_party/boringssl-with-bazel/src/include/openssl/digest.h +9 -0
  193. data/third_party/boringssl-with-bazel/src/include/openssl/evp.h +4 -1
  194. data/third_party/boringssl-with-bazel/src/include/openssl/ssl.h +9 -2
  195. data/third_party/boringssl-with-bazel/src/include/openssl/trust_token.h +26 -6
  196. data/third_party/boringssl-with-bazel/src/include/openssl/x509.h +188 -78
  197. data/third_party/boringssl-with-bazel/src/include/openssl/x509v3.h +52 -43
  198. data/third_party/boringssl-with-bazel/src/ssl/handshake.cc +18 -18
  199. data/third_party/boringssl-with-bazel/src/ssl/handshake_client.cc +2 -3
  200. data/third_party/boringssl-with-bazel/src/ssl/handshake_server.cc +1 -1
  201. data/third_party/boringssl-with-bazel/src/ssl/internal.h +9 -9
  202. data/third_party/boringssl-with-bazel/src/ssl/ssl_cipher.cc +8 -9
  203. data/third_party/boringssl-with-bazel/src/ssl/tls13_both.cc +1 -2
  204. data/third_party/boringssl-with-bazel/src/ssl/tls13_client.cc +4 -8
  205. data/third_party/boringssl-with-bazel/src/ssl/tls13_server.cc +2 -2
  206. metadata +72 -42
  207. data/src/core/ext/filters/client_channel/lb_policy/xds/lrs.cc +0 -537
  208. data/src/core/ext/filters/client_channel/lb_policy/xds/xds_routing.cc +0 -1141
  209. data/src/core/ext/upb-generated/gogoproto/gogo.upb.c +0 -17
  210. data/src/core/ext/upb-generated/gogoproto/gogo.upb.h +0 -29
  211. data/src/core/ext/xds/xds_channel.h +0 -46
  212. data/src/core/ext/xds/xds_channel_secure.cc +0 -103
  213. data/third_party/boringssl-with-bazel/src/crypto/x509v3/v3_pku.c +0 -110
  214. data/third_party/boringssl-with-bazel/src/crypto/x509v3/v3_sxnet.c +0 -274
@@ -22,18 +22,21 @@ extern "C" {
22
22
  struct envoy_config_listener_v3_Filter;
23
23
  struct envoy_config_listener_v3_FilterChainMatch;
24
24
  struct envoy_config_listener_v3_FilterChain;
25
+ struct envoy_config_listener_v3_FilterChain_OnDemandConfiguration;
25
26
  struct envoy_config_listener_v3_ListenerFilterChainMatchPredicate;
26
27
  struct envoy_config_listener_v3_ListenerFilterChainMatchPredicate_MatchSet;
27
28
  struct envoy_config_listener_v3_ListenerFilter;
28
29
  typedef struct envoy_config_listener_v3_Filter envoy_config_listener_v3_Filter;
29
30
  typedef struct envoy_config_listener_v3_FilterChainMatch envoy_config_listener_v3_FilterChainMatch;
30
31
  typedef struct envoy_config_listener_v3_FilterChain envoy_config_listener_v3_FilterChain;
32
+ typedef struct envoy_config_listener_v3_FilterChain_OnDemandConfiguration envoy_config_listener_v3_FilterChain_OnDemandConfiguration;
31
33
  typedef struct envoy_config_listener_v3_ListenerFilterChainMatchPredicate envoy_config_listener_v3_ListenerFilterChainMatchPredicate;
32
34
  typedef struct envoy_config_listener_v3_ListenerFilterChainMatchPredicate_MatchSet envoy_config_listener_v3_ListenerFilterChainMatchPredicate_MatchSet;
33
35
  typedef struct envoy_config_listener_v3_ListenerFilter envoy_config_listener_v3_ListenerFilter;
34
36
  extern const upb_msglayout envoy_config_listener_v3_Filter_msginit;
35
37
  extern const upb_msglayout envoy_config_listener_v3_FilterChainMatch_msginit;
36
38
  extern const upb_msglayout envoy_config_listener_v3_FilterChain_msginit;
39
+ extern const upb_msglayout envoy_config_listener_v3_FilterChain_OnDemandConfiguration_msginit;
37
40
  extern const upb_msglayout envoy_config_listener_v3_ListenerFilterChainMatchPredicate_msginit;
38
41
  extern const upb_msglayout envoy_config_listener_v3_ListenerFilterChainMatchPredicate_MatchSet_msginit;
39
42
  extern const upb_msglayout envoy_config_listener_v3_ListenerFilter_msginit;
@@ -43,6 +46,7 @@ struct envoy_config_core_v3_TransportSocket;
43
46
  struct envoy_type_v3_Int32Range;
44
47
  struct google_protobuf_Any;
45
48
  struct google_protobuf_BoolValue;
49
+ struct google_protobuf_Duration;
46
50
  struct google_protobuf_UInt32Value;
47
51
  extern const upb_msglayout envoy_config_core_v3_CidrRange_msginit;
48
52
  extern const upb_msglayout envoy_config_core_v3_Metadata_msginit;
@@ -50,6 +54,7 @@ extern const upb_msglayout envoy_config_core_v3_TransportSocket_msginit;
50
54
  extern const upb_msglayout envoy_type_v3_Int32Range_msginit;
51
55
  extern const upb_msglayout google_protobuf_Any_msginit;
52
56
  extern const upb_msglayout google_protobuf_BoolValue_msginit;
57
+ extern const upb_msglayout google_protobuf_Duration_msginit;
53
58
  extern const upb_msglayout google_protobuf_UInt32Value_msginit;
54
59
 
55
60
  typedef enum {
@@ -234,8 +239,8 @@ UPB_INLINE char *envoy_config_listener_v3_FilterChain_serialize(const envoy_conf
234
239
 
235
240
  UPB_INLINE bool envoy_config_listener_v3_FilterChain_has_filter_chain_match(const envoy_config_listener_v3_FilterChain *msg) { return _upb_has_submsg_nohasbit(msg, UPB_SIZE(8, 16)); }
236
241
  UPB_INLINE const envoy_config_listener_v3_FilterChainMatch* envoy_config_listener_v3_FilterChain_filter_chain_match(const envoy_config_listener_v3_FilterChain *msg) { return *UPB_PTR_AT(msg, UPB_SIZE(8, 16), const envoy_config_listener_v3_FilterChainMatch*); }
237
- UPB_INLINE bool envoy_config_listener_v3_FilterChain_has_filters(const envoy_config_listener_v3_FilterChain *msg) { return _upb_has_submsg_nohasbit(msg, UPB_SIZE(24, 48)); }
238
- UPB_INLINE const envoy_config_listener_v3_Filter* const* envoy_config_listener_v3_FilterChain_filters(const envoy_config_listener_v3_FilterChain *msg, size_t *len) { return (const envoy_config_listener_v3_Filter* const*)_upb_array_accessor(msg, UPB_SIZE(24, 48), len); }
242
+ UPB_INLINE bool envoy_config_listener_v3_FilterChain_has_filters(const envoy_config_listener_v3_FilterChain *msg) { return _upb_has_submsg_nohasbit(msg, UPB_SIZE(28, 56)); }
243
+ UPB_INLINE const envoy_config_listener_v3_Filter* const* envoy_config_listener_v3_FilterChain_filters(const envoy_config_listener_v3_FilterChain *msg, size_t *len) { return (const envoy_config_listener_v3_Filter* const*)_upb_array_accessor(msg, UPB_SIZE(28, 56), len); }
239
244
  UPB_INLINE bool envoy_config_listener_v3_FilterChain_has_use_proxy_proto(const envoy_config_listener_v3_FilterChain *msg) { return _upb_has_submsg_nohasbit(msg, UPB_SIZE(12, 24)); }
240
245
  UPB_INLINE const struct google_protobuf_BoolValue* envoy_config_listener_v3_FilterChain_use_proxy_proto(const envoy_config_listener_v3_FilterChain *msg) { return *UPB_PTR_AT(msg, UPB_SIZE(12, 24), const struct google_protobuf_BoolValue*); }
241
246
  UPB_INLINE bool envoy_config_listener_v3_FilterChain_has_metadata(const envoy_config_listener_v3_FilterChain *msg) { return _upb_has_submsg_nohasbit(msg, UPB_SIZE(16, 32)); }
@@ -243,6 +248,8 @@ UPB_INLINE const struct envoy_config_core_v3_Metadata* envoy_config_listener_v3_
243
248
  UPB_INLINE bool envoy_config_listener_v3_FilterChain_has_transport_socket(const envoy_config_listener_v3_FilterChain *msg) { return _upb_has_submsg_nohasbit(msg, UPB_SIZE(20, 40)); }
244
249
  UPB_INLINE const struct envoy_config_core_v3_TransportSocket* envoy_config_listener_v3_FilterChain_transport_socket(const envoy_config_listener_v3_FilterChain *msg) { return *UPB_PTR_AT(msg, UPB_SIZE(20, 40), const struct envoy_config_core_v3_TransportSocket*); }
245
250
  UPB_INLINE upb_strview envoy_config_listener_v3_FilterChain_name(const envoy_config_listener_v3_FilterChain *msg) { return *UPB_PTR_AT(msg, UPB_SIZE(0, 0), upb_strview); }
251
+ UPB_INLINE bool envoy_config_listener_v3_FilterChain_has_on_demand_configuration(const envoy_config_listener_v3_FilterChain *msg) { return _upb_has_submsg_nohasbit(msg, UPB_SIZE(24, 48)); }
252
+ UPB_INLINE const envoy_config_listener_v3_FilterChain_OnDemandConfiguration* envoy_config_listener_v3_FilterChain_on_demand_configuration(const envoy_config_listener_v3_FilterChain *msg) { return *UPB_PTR_AT(msg, UPB_SIZE(24, 48), const envoy_config_listener_v3_FilterChain_OnDemandConfiguration*); }
246
253
 
247
254
  UPB_INLINE void envoy_config_listener_v3_FilterChain_set_filter_chain_match(envoy_config_listener_v3_FilterChain *msg, envoy_config_listener_v3_FilterChainMatch* value) {
248
255
  *UPB_PTR_AT(msg, UPB_SIZE(8, 16), envoy_config_listener_v3_FilterChainMatch*) = value;
@@ -257,15 +264,15 @@ UPB_INLINE struct envoy_config_listener_v3_FilterChainMatch* envoy_config_listen
257
264
  return sub;
258
265
  }
259
266
  UPB_INLINE envoy_config_listener_v3_Filter** envoy_config_listener_v3_FilterChain_mutable_filters(envoy_config_listener_v3_FilterChain *msg, size_t *len) {
260
- return (envoy_config_listener_v3_Filter**)_upb_array_mutable_accessor(msg, UPB_SIZE(24, 48), len);
267
+ return (envoy_config_listener_v3_Filter**)_upb_array_mutable_accessor(msg, UPB_SIZE(28, 56), len);
261
268
  }
262
269
  UPB_INLINE envoy_config_listener_v3_Filter** envoy_config_listener_v3_FilterChain_resize_filters(envoy_config_listener_v3_FilterChain *msg, size_t len, upb_arena *arena) {
263
- return (envoy_config_listener_v3_Filter**)_upb_array_resize_accessor(msg, UPB_SIZE(24, 48), len, UPB_TYPE_MESSAGE, arena);
270
+ return (envoy_config_listener_v3_Filter**)_upb_array_resize_accessor(msg, UPB_SIZE(28, 56), len, UPB_TYPE_MESSAGE, arena);
264
271
  }
265
272
  UPB_INLINE struct envoy_config_listener_v3_Filter* envoy_config_listener_v3_FilterChain_add_filters(envoy_config_listener_v3_FilterChain *msg, upb_arena *arena) {
266
273
  struct envoy_config_listener_v3_Filter* sub = (struct envoy_config_listener_v3_Filter*)_upb_msg_new(&envoy_config_listener_v3_Filter_msginit, arena);
267
274
  bool ok = _upb_array_append_accessor(
268
- msg, UPB_SIZE(24, 48), UPB_SIZE(4, 8), UPB_TYPE_MESSAGE, &sub, arena);
275
+ msg, UPB_SIZE(28, 56), UPB_SIZE(4, 8), UPB_TYPE_MESSAGE, &sub, arena);
269
276
  if (!ok) return NULL;
270
277
  return sub;
271
278
  }
@@ -308,6 +315,48 @@ UPB_INLINE struct envoy_config_core_v3_TransportSocket* envoy_config_listener_v3
308
315
  UPB_INLINE void envoy_config_listener_v3_FilterChain_set_name(envoy_config_listener_v3_FilterChain *msg, upb_strview value) {
309
316
  *UPB_PTR_AT(msg, UPB_SIZE(0, 0), upb_strview) = value;
310
317
  }
318
+ UPB_INLINE void envoy_config_listener_v3_FilterChain_set_on_demand_configuration(envoy_config_listener_v3_FilterChain *msg, envoy_config_listener_v3_FilterChain_OnDemandConfiguration* value) {
319
+ *UPB_PTR_AT(msg, UPB_SIZE(24, 48), envoy_config_listener_v3_FilterChain_OnDemandConfiguration*) = value;
320
+ }
321
+ UPB_INLINE struct envoy_config_listener_v3_FilterChain_OnDemandConfiguration* envoy_config_listener_v3_FilterChain_mutable_on_demand_configuration(envoy_config_listener_v3_FilterChain *msg, upb_arena *arena) {
322
+ struct envoy_config_listener_v3_FilterChain_OnDemandConfiguration* sub = (struct envoy_config_listener_v3_FilterChain_OnDemandConfiguration*)envoy_config_listener_v3_FilterChain_on_demand_configuration(msg);
323
+ if (sub == NULL) {
324
+ sub = (struct envoy_config_listener_v3_FilterChain_OnDemandConfiguration*)_upb_msg_new(&envoy_config_listener_v3_FilterChain_OnDemandConfiguration_msginit, arena);
325
+ if (!sub) return NULL;
326
+ envoy_config_listener_v3_FilterChain_set_on_demand_configuration(msg, sub);
327
+ }
328
+ return sub;
329
+ }
330
+
331
+ /* envoy.config.listener.v3.FilterChain.OnDemandConfiguration */
332
+
333
+ UPB_INLINE envoy_config_listener_v3_FilterChain_OnDemandConfiguration *envoy_config_listener_v3_FilterChain_OnDemandConfiguration_new(upb_arena *arena) {
334
+ return (envoy_config_listener_v3_FilterChain_OnDemandConfiguration *)_upb_msg_new(&envoy_config_listener_v3_FilterChain_OnDemandConfiguration_msginit, arena);
335
+ }
336
+ UPB_INLINE envoy_config_listener_v3_FilterChain_OnDemandConfiguration *envoy_config_listener_v3_FilterChain_OnDemandConfiguration_parse(const char *buf, size_t size,
337
+ upb_arena *arena) {
338
+ envoy_config_listener_v3_FilterChain_OnDemandConfiguration *ret = envoy_config_listener_v3_FilterChain_OnDemandConfiguration_new(arena);
339
+ return (ret && upb_decode(buf, size, ret, &envoy_config_listener_v3_FilterChain_OnDemandConfiguration_msginit, arena)) ? ret : NULL;
340
+ }
341
+ UPB_INLINE char *envoy_config_listener_v3_FilterChain_OnDemandConfiguration_serialize(const envoy_config_listener_v3_FilterChain_OnDemandConfiguration *msg, upb_arena *arena, size_t *len) {
342
+ return upb_encode(msg, &envoy_config_listener_v3_FilterChain_OnDemandConfiguration_msginit, arena, len);
343
+ }
344
+
345
+ UPB_INLINE bool envoy_config_listener_v3_FilterChain_OnDemandConfiguration_has_rebuild_timeout(const envoy_config_listener_v3_FilterChain_OnDemandConfiguration *msg) { return _upb_has_submsg_nohasbit(msg, UPB_SIZE(0, 0)); }
346
+ UPB_INLINE const struct google_protobuf_Duration* envoy_config_listener_v3_FilterChain_OnDemandConfiguration_rebuild_timeout(const envoy_config_listener_v3_FilterChain_OnDemandConfiguration *msg) { return *UPB_PTR_AT(msg, UPB_SIZE(0, 0), const struct google_protobuf_Duration*); }
347
+
348
+ UPB_INLINE void envoy_config_listener_v3_FilterChain_OnDemandConfiguration_set_rebuild_timeout(envoy_config_listener_v3_FilterChain_OnDemandConfiguration *msg, struct google_protobuf_Duration* value) {
349
+ *UPB_PTR_AT(msg, UPB_SIZE(0, 0), struct google_protobuf_Duration*) = value;
350
+ }
351
+ UPB_INLINE struct google_protobuf_Duration* envoy_config_listener_v3_FilterChain_OnDemandConfiguration_mutable_rebuild_timeout(envoy_config_listener_v3_FilterChain_OnDemandConfiguration *msg, upb_arena *arena) {
352
+ struct google_protobuf_Duration* sub = (struct google_protobuf_Duration*)envoy_config_listener_v3_FilterChain_OnDemandConfiguration_rebuild_timeout(msg);
353
+ if (sub == NULL) {
354
+ sub = (struct google_protobuf_Duration*)_upb_msg_new(&google_protobuf_Duration_msginit, arena);
355
+ if (!sub) return NULL;
356
+ envoy_config_listener_v3_FilterChain_OnDemandConfiguration_set_rebuild_timeout(msg, sub);
357
+ }
358
+ return sub;
359
+ }
311
360
 
312
361
  /* envoy.config.listener.v3.ListenerFilterChainMatchPredicate */
313
362
 
@@ -14,7 +14,9 @@
14
14
  #include "envoy/type/matcher/v3/metadata.upb.h"
15
15
  #include "envoy/type/matcher/v3/path.upb.h"
16
16
  #include "envoy/type/matcher/v3/string.upb.h"
17
+ #include "google/api/expr/v1alpha1/checked.upb.h"
17
18
  #include "google/api/expr/v1alpha1/syntax.upb.h"
19
+ #include "udpa/annotations/migrate.upb.h"
18
20
  #include "udpa/annotations/status.upb.h"
19
21
  #include "udpa/annotations/versioning.upb.h"
20
22
  #include "validate/validate.upb.h"
@@ -51,22 +53,24 @@ const upb_msglayout envoy_config_rbac_v3_RBAC_PoliciesEntry_msginit = {
51
53
  UPB_SIZE(16, 32), 2, false,
52
54
  };
53
55
 
54
- static const upb_msglayout *const envoy_config_rbac_v3_Policy_submsgs[3] = {
56
+ static const upb_msglayout *const envoy_config_rbac_v3_Policy_submsgs[4] = {
55
57
  &envoy_config_rbac_v3_Permission_msginit,
56
58
  &envoy_config_rbac_v3_Principal_msginit,
59
+ &google_api_expr_v1alpha1_CheckedExpr_msginit,
57
60
  &google_api_expr_v1alpha1_Expr_msginit,
58
61
  };
59
62
 
60
- static const upb_msglayout_field envoy_config_rbac_v3_Policy__fields[3] = {
61
- {1, UPB_SIZE(4, 8), 0, 0, 11, 3},
62
- {2, UPB_SIZE(8, 16), 0, 1, 11, 3},
63
- {3, UPB_SIZE(0, 0), 0, 2, 11, 1},
63
+ static const upb_msglayout_field envoy_config_rbac_v3_Policy__fields[4] = {
64
+ {1, UPB_SIZE(8, 16), 0, 0, 11, 3},
65
+ {2, UPB_SIZE(12, 24), 0, 1, 11, 3},
66
+ {3, UPB_SIZE(0, 0), 0, 3, 11, 1},
67
+ {4, UPB_SIZE(4, 8), 0, 2, 11, 1},
64
68
  };
65
69
 
66
70
  const upb_msglayout envoy_config_rbac_v3_Policy_msginit = {
67
71
  &envoy_config_rbac_v3_Policy_submsgs[0],
68
72
  &envoy_config_rbac_v3_Policy__fields[0],
69
- UPB_SIZE(12, 24), 3, false,
73
+ UPB_SIZE(16, 32), 4, false,
70
74
  };
71
75
 
72
76
  static const upb_msglayout *const envoy_config_rbac_v3_Permission_submsgs[8] = {
@@ -48,17 +48,20 @@ struct envoy_config_route_v3_HeaderMatcher;
48
48
  struct envoy_type_matcher_v3_MetadataMatcher;
49
49
  struct envoy_type_matcher_v3_PathMatcher;
50
50
  struct envoy_type_matcher_v3_StringMatcher;
51
+ struct google_api_expr_v1alpha1_CheckedExpr;
51
52
  struct google_api_expr_v1alpha1_Expr;
52
53
  extern const upb_msglayout envoy_config_core_v3_CidrRange_msginit;
53
54
  extern const upb_msglayout envoy_config_route_v3_HeaderMatcher_msginit;
54
55
  extern const upb_msglayout envoy_type_matcher_v3_MetadataMatcher_msginit;
55
56
  extern const upb_msglayout envoy_type_matcher_v3_PathMatcher_msginit;
56
57
  extern const upb_msglayout envoy_type_matcher_v3_StringMatcher_msginit;
58
+ extern const upb_msglayout google_api_expr_v1alpha1_CheckedExpr_msginit;
57
59
  extern const upb_msglayout google_api_expr_v1alpha1_Expr_msginit;
58
60
 
59
61
  typedef enum {
60
62
  envoy_config_rbac_v3_RBAC_ALLOW = 0,
61
- envoy_config_rbac_v3_RBAC_DENY = 1
63
+ envoy_config_rbac_v3_RBAC_DENY = 1,
64
+ envoy_config_rbac_v3_RBAC_LOG = 2
62
65
  } envoy_config_rbac_v3_RBAC_Action;
63
66
 
64
67
 
@@ -122,36 +125,38 @@ UPB_INLINE char *envoy_config_rbac_v3_Policy_serialize(const envoy_config_rbac_v
122
125
  return upb_encode(msg, &envoy_config_rbac_v3_Policy_msginit, arena, len);
123
126
  }
124
127
 
125
- UPB_INLINE bool envoy_config_rbac_v3_Policy_has_permissions(const envoy_config_rbac_v3_Policy *msg) { return _upb_has_submsg_nohasbit(msg, UPB_SIZE(4, 8)); }
126
- UPB_INLINE const envoy_config_rbac_v3_Permission* const* envoy_config_rbac_v3_Policy_permissions(const envoy_config_rbac_v3_Policy *msg, size_t *len) { return (const envoy_config_rbac_v3_Permission* const*)_upb_array_accessor(msg, UPB_SIZE(4, 8), len); }
127
- UPB_INLINE bool envoy_config_rbac_v3_Policy_has_principals(const envoy_config_rbac_v3_Policy *msg) { return _upb_has_submsg_nohasbit(msg, UPB_SIZE(8, 16)); }
128
- UPB_INLINE const envoy_config_rbac_v3_Principal* const* envoy_config_rbac_v3_Policy_principals(const envoy_config_rbac_v3_Policy *msg, size_t *len) { return (const envoy_config_rbac_v3_Principal* const*)_upb_array_accessor(msg, UPB_SIZE(8, 16), len); }
128
+ UPB_INLINE bool envoy_config_rbac_v3_Policy_has_permissions(const envoy_config_rbac_v3_Policy *msg) { return _upb_has_submsg_nohasbit(msg, UPB_SIZE(8, 16)); }
129
+ UPB_INLINE const envoy_config_rbac_v3_Permission* const* envoy_config_rbac_v3_Policy_permissions(const envoy_config_rbac_v3_Policy *msg, size_t *len) { return (const envoy_config_rbac_v3_Permission* const*)_upb_array_accessor(msg, UPB_SIZE(8, 16), len); }
130
+ UPB_INLINE bool envoy_config_rbac_v3_Policy_has_principals(const envoy_config_rbac_v3_Policy *msg) { return _upb_has_submsg_nohasbit(msg, UPB_SIZE(12, 24)); }
131
+ UPB_INLINE const envoy_config_rbac_v3_Principal* const* envoy_config_rbac_v3_Policy_principals(const envoy_config_rbac_v3_Policy *msg, size_t *len) { return (const envoy_config_rbac_v3_Principal* const*)_upb_array_accessor(msg, UPB_SIZE(12, 24), len); }
129
132
  UPB_INLINE bool envoy_config_rbac_v3_Policy_has_condition(const envoy_config_rbac_v3_Policy *msg) { return _upb_has_submsg_nohasbit(msg, UPB_SIZE(0, 0)); }
130
133
  UPB_INLINE const struct google_api_expr_v1alpha1_Expr* envoy_config_rbac_v3_Policy_condition(const envoy_config_rbac_v3_Policy *msg) { return *UPB_PTR_AT(msg, UPB_SIZE(0, 0), const struct google_api_expr_v1alpha1_Expr*); }
134
+ UPB_INLINE bool envoy_config_rbac_v3_Policy_has_checked_condition(const envoy_config_rbac_v3_Policy *msg) { return _upb_has_submsg_nohasbit(msg, UPB_SIZE(4, 8)); }
135
+ UPB_INLINE const struct google_api_expr_v1alpha1_CheckedExpr* envoy_config_rbac_v3_Policy_checked_condition(const envoy_config_rbac_v3_Policy *msg) { return *UPB_PTR_AT(msg, UPB_SIZE(4, 8), const struct google_api_expr_v1alpha1_CheckedExpr*); }
131
136
 
132
137
  UPB_INLINE envoy_config_rbac_v3_Permission** envoy_config_rbac_v3_Policy_mutable_permissions(envoy_config_rbac_v3_Policy *msg, size_t *len) {
133
- return (envoy_config_rbac_v3_Permission**)_upb_array_mutable_accessor(msg, UPB_SIZE(4, 8), len);
138
+ return (envoy_config_rbac_v3_Permission**)_upb_array_mutable_accessor(msg, UPB_SIZE(8, 16), len);
134
139
  }
135
140
  UPB_INLINE envoy_config_rbac_v3_Permission** envoy_config_rbac_v3_Policy_resize_permissions(envoy_config_rbac_v3_Policy *msg, size_t len, upb_arena *arena) {
136
- return (envoy_config_rbac_v3_Permission**)_upb_array_resize_accessor(msg, UPB_SIZE(4, 8), len, UPB_TYPE_MESSAGE, arena);
141
+ return (envoy_config_rbac_v3_Permission**)_upb_array_resize_accessor(msg, UPB_SIZE(8, 16), len, UPB_TYPE_MESSAGE, arena);
137
142
  }
138
143
  UPB_INLINE struct envoy_config_rbac_v3_Permission* envoy_config_rbac_v3_Policy_add_permissions(envoy_config_rbac_v3_Policy *msg, upb_arena *arena) {
139
144
  struct envoy_config_rbac_v3_Permission* sub = (struct envoy_config_rbac_v3_Permission*)_upb_msg_new(&envoy_config_rbac_v3_Permission_msginit, arena);
140
145
  bool ok = _upb_array_append_accessor(
141
- msg, UPB_SIZE(4, 8), UPB_SIZE(4, 8), UPB_TYPE_MESSAGE, &sub, arena);
146
+ msg, UPB_SIZE(8, 16), UPB_SIZE(4, 8), UPB_TYPE_MESSAGE, &sub, arena);
142
147
  if (!ok) return NULL;
143
148
  return sub;
144
149
  }
145
150
  UPB_INLINE envoy_config_rbac_v3_Principal** envoy_config_rbac_v3_Policy_mutable_principals(envoy_config_rbac_v3_Policy *msg, size_t *len) {
146
- return (envoy_config_rbac_v3_Principal**)_upb_array_mutable_accessor(msg, UPB_SIZE(8, 16), len);
151
+ return (envoy_config_rbac_v3_Principal**)_upb_array_mutable_accessor(msg, UPB_SIZE(12, 24), len);
147
152
  }
148
153
  UPB_INLINE envoy_config_rbac_v3_Principal** envoy_config_rbac_v3_Policy_resize_principals(envoy_config_rbac_v3_Policy *msg, size_t len, upb_arena *arena) {
149
- return (envoy_config_rbac_v3_Principal**)_upb_array_resize_accessor(msg, UPB_SIZE(8, 16), len, UPB_TYPE_MESSAGE, arena);
154
+ return (envoy_config_rbac_v3_Principal**)_upb_array_resize_accessor(msg, UPB_SIZE(12, 24), len, UPB_TYPE_MESSAGE, arena);
150
155
  }
151
156
  UPB_INLINE struct envoy_config_rbac_v3_Principal* envoy_config_rbac_v3_Policy_add_principals(envoy_config_rbac_v3_Policy *msg, upb_arena *arena) {
152
157
  struct envoy_config_rbac_v3_Principal* sub = (struct envoy_config_rbac_v3_Principal*)_upb_msg_new(&envoy_config_rbac_v3_Principal_msginit, arena);
153
158
  bool ok = _upb_array_append_accessor(
154
- msg, UPB_SIZE(8, 16), UPB_SIZE(4, 8), UPB_TYPE_MESSAGE, &sub, arena);
159
+ msg, UPB_SIZE(12, 24), UPB_SIZE(4, 8), UPB_TYPE_MESSAGE, &sub, arena);
155
160
  if (!ok) return NULL;
156
161
  return sub;
157
162
  }
@@ -167,6 +172,18 @@ UPB_INLINE struct google_api_expr_v1alpha1_Expr* envoy_config_rbac_v3_Policy_mut
167
172
  }
168
173
  return sub;
169
174
  }
175
+ UPB_INLINE void envoy_config_rbac_v3_Policy_set_checked_condition(envoy_config_rbac_v3_Policy *msg, struct google_api_expr_v1alpha1_CheckedExpr* value) {
176
+ *UPB_PTR_AT(msg, UPB_SIZE(4, 8), struct google_api_expr_v1alpha1_CheckedExpr*) = value;
177
+ }
178
+ UPB_INLINE struct google_api_expr_v1alpha1_CheckedExpr* envoy_config_rbac_v3_Policy_mutable_checked_condition(envoy_config_rbac_v3_Policy *msg, upb_arena *arena) {
179
+ struct google_api_expr_v1alpha1_CheckedExpr* sub = (struct google_api_expr_v1alpha1_CheckedExpr*)envoy_config_rbac_v3_Policy_checked_condition(msg);
180
+ if (sub == NULL) {
181
+ sub = (struct google_api_expr_v1alpha1_CheckedExpr*)_upb_msg_new(&google_api_expr_v1alpha1_CheckedExpr_msginit, arena);
182
+ if (!sub) return NULL;
183
+ envoy_config_rbac_v3_Policy_set_checked_condition(msg, sub);
184
+ }
185
+ return sub;
186
+ }
170
187
 
171
188
  /* envoy.config.rbac.v3.Permission */
172
189
 
@@ -10,9 +10,11 @@
10
10
  #include "upb/msg.h"
11
11
  #include "envoy/config/route/v3/route_components.upb.h"
12
12
  #include "envoy/config/core/v3/base.upb.h"
13
+ #include "envoy/config/core/v3/extension.upb.h"
13
14
  #include "envoy/config/core/v3/proxy_protocol.upb.h"
14
15
  #include "envoy/type/matcher/v3/regex.upb.h"
15
16
  #include "envoy/type/matcher/v3/string.upb.h"
17
+ #include "envoy/type/metadata/v3/metadata.upb.h"
16
18
  #include "envoy/type/tracing/v3/custom_tag.upb.h"
17
19
  #include "envoy/type/v3/percent.upb.h"
18
20
  #include "envoy/type/v3/range.upb.h"
@@ -21,6 +23,7 @@
21
23
  #include "google/protobuf/struct.upb.h"
22
24
  #include "google/protobuf/wrappers.upb.h"
23
25
  #include "envoy/annotations/deprecation.upb.h"
26
+ #include "udpa/annotations/migrate.upb.h"
24
27
  #include "udpa/annotations/status.upb.h"
25
28
  #include "udpa/annotations/versioning.upb.h"
26
29
  #include "validate/validate.upb.h"
@@ -285,13 +288,15 @@ const upb_msglayout envoy_config_route_v3_CorsPolicy_msginit = {
285
288
  UPB_SIZE(56, 112), 8, false,
286
289
  };
287
290
 
288
- static const upb_msglayout *const envoy_config_route_v3_RouteAction_submsgs[18] = {
291
+ static const upb_msglayout *const envoy_config_route_v3_RouteAction_submsgs[21] = {
289
292
  &envoy_config_core_v3_Metadata_msginit,
290
293
  &envoy_config_route_v3_CorsPolicy_msginit,
291
294
  &envoy_config_route_v3_HedgePolicy_msginit,
295
+ &envoy_config_route_v3_InternalRedirectPolicy_msginit,
292
296
  &envoy_config_route_v3_RateLimit_msginit,
293
297
  &envoy_config_route_v3_RetryPolicy_msginit,
294
298
  &envoy_config_route_v3_RouteAction_HashPolicy_msginit,
299
+ &envoy_config_route_v3_RouteAction_MaxStreamDuration_msginit,
295
300
  &envoy_config_route_v3_RouteAction_RequestMirrorPolicy_msginit,
296
301
  &envoy_config_route_v3_RouteAction_UpgradeConfig_msginit,
297
302
  &envoy_config_route_v3_WeightedCluster_msginit,
@@ -302,39 +307,42 @@ static const upb_msglayout *const envoy_config_route_v3_RouteAction_submsgs[18]
302
307
  &google_protobuf_UInt32Value_msginit,
303
308
  };
304
309
 
305
- static const upb_msglayout_field envoy_config_route_v3_RouteAction__fields[26] = {
306
- {1, UPB_SIZE(96, 168), UPB_SIZE(-105, -185), 0, 9, 1},
307
- {2, UPB_SIZE(96, 168), UPB_SIZE(-105, -185), 0, 9, 1},
308
- {3, UPB_SIZE(96, 168), UPB_SIZE(-105, -185), 8, 11, 1},
310
+ static const upb_msglayout_field envoy_config_route_v3_RouteAction__fields[29] = {
311
+ {1, UPB_SIZE(104, 184), UPB_SIZE(-113, -201), 0, 9, 1},
312
+ {2, UPB_SIZE(104, 184), UPB_SIZE(-113, -201), 0, 9, 1},
313
+ {3, UPB_SIZE(104, 184), UPB_SIZE(-113, -201), 10, 11, 1},
309
314
  {4, UPB_SIZE(32, 40), 0, 0, 11, 1},
310
315
  {5, UPB_SIZE(24, 24), 0, 0, 9, 1},
311
- {6, UPB_SIZE(108, 192), UPB_SIZE(-117, -209), 0, 9, 1},
312
- {7, UPB_SIZE(108, 192), UPB_SIZE(-117, -209), 11, 11, 1},
313
- {8, UPB_SIZE(36, 48), 0, 12, 11, 1},
314
- {9, UPB_SIZE(40, 56), 0, 4, 11, 1},
316
+ {6, UPB_SIZE(116, 208), UPB_SIZE(-125, -225), 0, 9, 1},
317
+ {7, UPB_SIZE(116, 208), UPB_SIZE(-125, -225), 13, 11, 1},
318
+ {8, UPB_SIZE(36, 48), 0, 14, 11, 1},
319
+ {9, UPB_SIZE(40, 56), 0, 5, 11, 1},
315
320
  {11, UPB_SIZE(0, 0), 0, 0, 14, 1},
316
- {13, UPB_SIZE(80, 136), 0, 3, 11, 3},
317
- {14, UPB_SIZE(44, 64), 0, 11, 11, 1},
318
- {15, UPB_SIZE(84, 144), 0, 5, 11, 3},
321
+ {13, UPB_SIZE(88, 152), 0, 4, 11, 3},
322
+ {14, UPB_SIZE(44, 64), 0, 13, 11, 1},
323
+ {15, UPB_SIZE(92, 160), 0, 6, 11, 3},
319
324
  {17, UPB_SIZE(48, 72), 0, 1, 11, 1},
320
325
  {20, UPB_SIZE(8, 8), 0, 0, 14, 1},
321
- {23, UPB_SIZE(52, 80), 0, 12, 11, 1},
322
- {24, UPB_SIZE(56, 88), 0, 12, 11, 1},
323
- {25, UPB_SIZE(88, 152), 0, 7, 11, 3},
326
+ {23, UPB_SIZE(52, 80), 0, 14, 11, 1},
327
+ {24, UPB_SIZE(56, 88), 0, 14, 11, 1},
328
+ {25, UPB_SIZE(96, 168), 0, 9, 11, 3},
324
329
  {26, UPB_SIZE(16, 16), 0, 0, 14, 1},
325
330
  {27, UPB_SIZE(60, 96), 0, 2, 11, 1},
326
- {28, UPB_SIZE(64, 104), 0, 12, 11, 1},
327
- {29, UPB_SIZE(108, 192), UPB_SIZE(-117, -209), 0, 9, 1},
328
- {30, UPB_SIZE(92, 160), 0, 6, 11, 3},
329
- {31, UPB_SIZE(68, 112), 0, 13, 11, 1},
330
- {32, UPB_SIZE(72, 120), 0, 9, 11, 1},
331
- {33, UPB_SIZE(76, 128), 0, 10, 11, 1},
331
+ {28, UPB_SIZE(64, 104), 0, 14, 11, 1},
332
+ {29, UPB_SIZE(116, 208), UPB_SIZE(-125, -225), 0, 9, 1},
333
+ {30, UPB_SIZE(100, 176), 0, 8, 11, 3},
334
+ {31, UPB_SIZE(68, 112), 0, 15, 11, 1},
335
+ {32, UPB_SIZE(72, 120), 0, 11, 11, 1},
336
+ {33, UPB_SIZE(76, 128), 0, 12, 11, 1},
337
+ {34, UPB_SIZE(80, 136), 0, 3, 11, 1},
338
+ {35, UPB_SIZE(116, 208), UPB_SIZE(-125, -225), 11, 11, 1},
339
+ {36, UPB_SIZE(84, 144), 0, 7, 11, 1},
332
340
  };
333
341
 
334
342
  const upb_msglayout envoy_config_route_v3_RouteAction_msginit = {
335
343
  &envoy_config_route_v3_RouteAction_submsgs[0],
336
344
  &envoy_config_route_v3_RouteAction__fields[0],
337
- UPB_SIZE(120, 224), 26, false,
345
+ UPB_SIZE(128, 240), 29, false,
338
346
  };
339
347
 
340
348
  static const upb_msglayout *const envoy_config_route_v3_RouteAction_RequestMirrorPolicy_submsgs[2] = {
@@ -377,14 +385,19 @@ const upb_msglayout envoy_config_route_v3_RouteAction_HashPolicy_msginit = {
377
385
  UPB_SIZE(12, 24), 6, false,
378
386
  };
379
387
 
380
- static const upb_msglayout_field envoy_config_route_v3_RouteAction_HashPolicy_Header__fields[1] = {
388
+ static const upb_msglayout *const envoy_config_route_v3_RouteAction_HashPolicy_Header_submsgs[1] = {
389
+ &envoy_type_matcher_v3_RegexMatchAndSubstitute_msginit,
390
+ };
391
+
392
+ static const upb_msglayout_field envoy_config_route_v3_RouteAction_HashPolicy_Header__fields[2] = {
381
393
  {1, UPB_SIZE(0, 0), 0, 0, 9, 1},
394
+ {2, UPB_SIZE(8, 16), 0, 0, 11, 1},
382
395
  };
383
396
 
384
397
  const upb_msglayout envoy_config_route_v3_RouteAction_HashPolicy_Header_msginit = {
385
- NULL,
398
+ &envoy_config_route_v3_RouteAction_HashPolicy_Header_submsgs[0],
386
399
  &envoy_config_route_v3_RouteAction_HashPolicy_Header__fields[0],
387
- UPB_SIZE(8, 16), 1, false,
400
+ UPB_SIZE(16, 32), 2, false,
388
401
  };
389
402
 
390
403
  static const upb_msglayout *const envoy_config_route_v3_RouteAction_HashPolicy_Cookie_submsgs[1] = {
@@ -464,8 +477,25 @@ const upb_msglayout envoy_config_route_v3_RouteAction_UpgradeConfig_ConnectConfi
464
477
  UPB_SIZE(4, 8), 1, false,
465
478
  };
466
479
 
467
- static const upb_msglayout *const envoy_config_route_v3_RetryPolicy_submsgs[7] = {
480
+ static const upb_msglayout *const envoy_config_route_v3_RouteAction_MaxStreamDuration_submsgs[3] = {
481
+ &google_protobuf_Duration_msginit,
482
+ };
483
+
484
+ static const upb_msglayout_field envoy_config_route_v3_RouteAction_MaxStreamDuration__fields[3] = {
485
+ {1, UPB_SIZE(0, 0), 0, 0, 11, 1},
486
+ {2, UPB_SIZE(4, 8), 0, 0, 11, 1},
487
+ {3, UPB_SIZE(8, 16), 0, 0, 11, 1},
488
+ };
489
+
490
+ const upb_msglayout envoy_config_route_v3_RouteAction_MaxStreamDuration_msginit = {
491
+ &envoy_config_route_v3_RouteAction_MaxStreamDuration_submsgs[0],
492
+ &envoy_config_route_v3_RouteAction_MaxStreamDuration__fields[0],
493
+ UPB_SIZE(12, 24), 3, false,
494
+ };
495
+
496
+ static const upb_msglayout *const envoy_config_route_v3_RetryPolicy_submsgs[8] = {
468
497
  &envoy_config_route_v3_HeaderMatcher_msginit,
498
+ &envoy_config_route_v3_RetryPolicy_RateLimitedRetryBackOff_msginit,
469
499
  &envoy_config_route_v3_RetryPolicy_RetryBackOff_msginit,
470
500
  &envoy_config_route_v3_RetryPolicy_RetryHostPredicate_msginit,
471
501
  &envoy_config_route_v3_RetryPolicy_RetryPriority_msginit,
@@ -473,23 +503,24 @@ static const upb_msglayout *const envoy_config_route_v3_RetryPolicy_submsgs[7] =
473
503
  &google_protobuf_UInt32Value_msginit,
474
504
  };
475
505
 
476
- static const upb_msglayout_field envoy_config_route_v3_RetryPolicy__fields[10] = {
506
+ static const upb_msglayout_field envoy_config_route_v3_RetryPolicy__fields[11] = {
477
507
  {1, UPB_SIZE(8, 8), 0, 0, 9, 1},
478
- {2, UPB_SIZE(16, 24), 0, 5, 11, 1},
479
- {3, UPB_SIZE(20, 32), 0, 4, 11, 1},
480
- {4, UPB_SIZE(24, 40), 0, 3, 11, 1},
481
- {5, UPB_SIZE(32, 56), 0, 2, 11, 3},
508
+ {2, UPB_SIZE(16, 24), 0, 6, 11, 1},
509
+ {3, UPB_SIZE(20, 32), 0, 5, 11, 1},
510
+ {4, UPB_SIZE(24, 40), 0, 4, 11, 1},
511
+ {5, UPB_SIZE(36, 64), 0, 3, 11, 3},
482
512
  {6, UPB_SIZE(0, 0), 0, 0, 3, 1},
483
- {7, UPB_SIZE(36, 64), 0, 0, 13, _UPB_LABEL_PACKED},
484
- {8, UPB_SIZE(28, 48), 0, 1, 11, 1},
485
- {9, UPB_SIZE(40, 72), 0, 0, 11, 3},
486
- {10, UPB_SIZE(44, 80), 0, 0, 11, 3},
513
+ {7, UPB_SIZE(40, 72), 0, 0, 13, _UPB_LABEL_PACKED},
514
+ {8, UPB_SIZE(28, 48), 0, 2, 11, 1},
515
+ {9, UPB_SIZE(44, 80), 0, 0, 11, 3},
516
+ {10, UPB_SIZE(48, 88), 0, 0, 11, 3},
517
+ {11, UPB_SIZE(32, 56), 0, 1, 11, 1},
487
518
  };
488
519
 
489
520
  const upb_msglayout envoy_config_route_v3_RetryPolicy_msginit = {
490
521
  &envoy_config_route_v3_RetryPolicy_submsgs[0],
491
522
  &envoy_config_route_v3_RetryPolicy__fields[0],
492
- UPB_SIZE(48, 96), 10, false,
523
+ UPB_SIZE(56, 96), 11, false,
493
524
  };
494
525
 
495
526
  static const upb_msglayout *const envoy_config_route_v3_RetryPolicy_RetryPriority_submsgs[1] = {
@@ -537,6 +568,33 @@ const upb_msglayout envoy_config_route_v3_RetryPolicy_RetryBackOff_msginit = {
537
568
  UPB_SIZE(8, 16), 2, false,
538
569
  };
539
570
 
571
+ static const upb_msglayout_field envoy_config_route_v3_RetryPolicy_ResetHeader__fields[2] = {
572
+ {1, UPB_SIZE(8, 8), 0, 0, 9, 1},
573
+ {2, UPB_SIZE(0, 0), 0, 0, 14, 1},
574
+ };
575
+
576
+ const upb_msglayout envoy_config_route_v3_RetryPolicy_ResetHeader_msginit = {
577
+ NULL,
578
+ &envoy_config_route_v3_RetryPolicy_ResetHeader__fields[0],
579
+ UPB_SIZE(16, 32), 2, false,
580
+ };
581
+
582
+ static const upb_msglayout *const envoy_config_route_v3_RetryPolicy_RateLimitedRetryBackOff_submsgs[2] = {
583
+ &envoy_config_route_v3_RetryPolicy_ResetHeader_msginit,
584
+ &google_protobuf_Duration_msginit,
585
+ };
586
+
587
+ static const upb_msglayout_field envoy_config_route_v3_RetryPolicy_RateLimitedRetryBackOff__fields[2] = {
588
+ {1, UPB_SIZE(4, 8), 0, 0, 11, 3},
589
+ {2, UPB_SIZE(0, 0), 0, 1, 11, 1},
590
+ };
591
+
592
+ const upb_msglayout envoy_config_route_v3_RetryPolicy_RateLimitedRetryBackOff_msginit = {
593
+ &envoy_config_route_v3_RetryPolicy_RateLimitedRetryBackOff_submsgs[0],
594
+ &envoy_config_route_v3_RetryPolicy_RateLimitedRetryBackOff__fields[0],
595
+ UPB_SIZE(8, 16), 2, false,
596
+ };
597
+
540
598
  static const upb_msglayout *const envoy_config_route_v3_HedgePolicy_submsgs[2] = {
541
599
  &envoy_type_v3_FractionalPercent_msginit,
542
600
  &google_protobuf_UInt32Value_msginit,
@@ -634,25 +692,28 @@ const upb_msglayout envoy_config_route_v3_VirtualCluster_msginit = {
634
692
  UPB_SIZE(16, 32), 2, false,
635
693
  };
636
694
 
637
- static const upb_msglayout *const envoy_config_route_v3_RateLimit_submsgs[2] = {
695
+ static const upb_msglayout *const envoy_config_route_v3_RateLimit_submsgs[3] = {
638
696
  &envoy_config_route_v3_RateLimit_Action_msginit,
697
+ &envoy_config_route_v3_RateLimit_Override_msginit,
639
698
  &google_protobuf_UInt32Value_msginit,
640
699
  };
641
700
 
642
- static const upb_msglayout_field envoy_config_route_v3_RateLimit__fields[3] = {
643
- {1, UPB_SIZE(8, 16), 0, 1, 11, 1},
701
+ static const upb_msglayout_field envoy_config_route_v3_RateLimit__fields[4] = {
702
+ {1, UPB_SIZE(8, 16), 0, 2, 11, 1},
644
703
  {2, UPB_SIZE(0, 0), 0, 0, 9, 1},
645
- {3, UPB_SIZE(12, 24), 0, 0, 11, 3},
704
+ {3, UPB_SIZE(16, 32), 0, 0, 11, 3},
705
+ {4, UPB_SIZE(12, 24), 0, 1, 11, 1},
646
706
  };
647
707
 
648
708
  const upb_msglayout envoy_config_route_v3_RateLimit_msginit = {
649
709
  &envoy_config_route_v3_RateLimit_submsgs[0],
650
710
  &envoy_config_route_v3_RateLimit__fields[0],
651
- UPB_SIZE(16, 32), 3, false,
711
+ UPB_SIZE(24, 48), 4, false,
652
712
  };
653
713
 
654
- static const upb_msglayout *const envoy_config_route_v3_RateLimit_Action_submsgs[6] = {
714
+ static const upb_msglayout *const envoy_config_route_v3_RateLimit_Action_submsgs[7] = {
655
715
  &envoy_config_route_v3_RateLimit_Action_DestinationCluster_msginit,
716
+ &envoy_config_route_v3_RateLimit_Action_DynamicMetaData_msginit,
656
717
  &envoy_config_route_v3_RateLimit_Action_GenericKey_msginit,
657
718
  &envoy_config_route_v3_RateLimit_Action_HeaderValueMatch_msginit,
658
719
  &envoy_config_route_v3_RateLimit_Action_RemoteAddress_msginit,
@@ -660,19 +721,20 @@ static const upb_msglayout *const envoy_config_route_v3_RateLimit_Action_submsgs
660
721
  &envoy_config_route_v3_RateLimit_Action_SourceCluster_msginit,
661
722
  };
662
723
 
663
- static const upb_msglayout_field envoy_config_route_v3_RateLimit_Action__fields[6] = {
664
- {1, UPB_SIZE(0, 0), UPB_SIZE(-5, -9), 5, 11, 1},
724
+ static const upb_msglayout_field envoy_config_route_v3_RateLimit_Action__fields[7] = {
725
+ {1, UPB_SIZE(0, 0), UPB_SIZE(-5, -9), 6, 11, 1},
665
726
  {2, UPB_SIZE(0, 0), UPB_SIZE(-5, -9), 0, 11, 1},
666
- {3, UPB_SIZE(0, 0), UPB_SIZE(-5, -9), 4, 11, 1},
667
- {4, UPB_SIZE(0, 0), UPB_SIZE(-5, -9), 3, 11, 1},
668
- {5, UPB_SIZE(0, 0), UPB_SIZE(-5, -9), 1, 11, 1},
669
- {6, UPB_SIZE(0, 0), UPB_SIZE(-5, -9), 2, 11, 1},
727
+ {3, UPB_SIZE(0, 0), UPB_SIZE(-5, -9), 5, 11, 1},
728
+ {4, UPB_SIZE(0, 0), UPB_SIZE(-5, -9), 4, 11, 1},
729
+ {5, UPB_SIZE(0, 0), UPB_SIZE(-5, -9), 2, 11, 1},
730
+ {6, UPB_SIZE(0, 0), UPB_SIZE(-5, -9), 3, 11, 1},
731
+ {7, UPB_SIZE(0, 0), UPB_SIZE(-5, -9), 1, 11, 1},
670
732
  };
671
733
 
672
734
  const upb_msglayout envoy_config_route_v3_RateLimit_Action_msginit = {
673
735
  &envoy_config_route_v3_RateLimit_Action_submsgs[0],
674
736
  &envoy_config_route_v3_RateLimit_Action__fields[0],
675
- UPB_SIZE(8, 16), 6, false,
737
+ UPB_SIZE(8, 16), 7, false,
676
738
  };
677
739
 
678
740
  const upb_msglayout envoy_config_route_v3_RateLimit_Action_SourceCluster_msginit = {
@@ -687,15 +749,16 @@ const upb_msglayout envoy_config_route_v3_RateLimit_Action_DestinationCluster_ms
687
749
  UPB_SIZE(0, 0), 0, false,
688
750
  };
689
751
 
690
- static const upb_msglayout_field envoy_config_route_v3_RateLimit_Action_RequestHeaders__fields[2] = {
691
- {1, UPB_SIZE(0, 0), 0, 0, 9, 1},
692
- {2, UPB_SIZE(8, 16), 0, 0, 9, 1},
752
+ static const upb_msglayout_field envoy_config_route_v3_RateLimit_Action_RequestHeaders__fields[3] = {
753
+ {1, UPB_SIZE(4, 8), 0, 0, 9, 1},
754
+ {2, UPB_SIZE(12, 24), 0, 0, 9, 1},
755
+ {3, UPB_SIZE(0, 0), 0, 0, 8, 1},
693
756
  };
694
757
 
695
758
  const upb_msglayout envoy_config_route_v3_RateLimit_Action_RequestHeaders_msginit = {
696
759
  NULL,
697
760
  &envoy_config_route_v3_RateLimit_Action_RequestHeaders__fields[0],
698
- UPB_SIZE(16, 32), 2, false,
761
+ UPB_SIZE(24, 48), 3, false,
699
762
  };
700
763
 
701
764
  const upb_msglayout envoy_config_route_v3_RateLimit_Action_RemoteAddress_msginit = {
@@ -704,14 +767,15 @@ const upb_msglayout envoy_config_route_v3_RateLimit_Action_RemoteAddress_msginit
704
767
  UPB_SIZE(0, 0), 0, false,
705
768
  };
706
769
 
707
- static const upb_msglayout_field envoy_config_route_v3_RateLimit_Action_GenericKey__fields[1] = {
770
+ static const upb_msglayout_field envoy_config_route_v3_RateLimit_Action_GenericKey__fields[2] = {
708
771
  {1, UPB_SIZE(0, 0), 0, 0, 9, 1},
772
+ {2, UPB_SIZE(8, 16), 0, 0, 9, 1},
709
773
  };
710
774
 
711
775
  const upb_msglayout envoy_config_route_v3_RateLimit_Action_GenericKey_msginit = {
712
776
  NULL,
713
777
  &envoy_config_route_v3_RateLimit_Action_GenericKey__fields[0],
714
- UPB_SIZE(8, 16), 1, false,
778
+ UPB_SIZE(16, 32), 2, false,
715
779
  };
716
780
 
717
781
  static const upb_msglayout *const envoy_config_route_v3_RateLimit_Action_HeaderValueMatch_submsgs[2] = {
@@ -731,12 +795,56 @@ const upb_msglayout envoy_config_route_v3_RateLimit_Action_HeaderValueMatch_msgi
731
795
  UPB_SIZE(16, 32), 3, false,
732
796
  };
733
797
 
798
+ static const upb_msglayout *const envoy_config_route_v3_RateLimit_Action_DynamicMetaData_submsgs[1] = {
799
+ &envoy_type_metadata_v3_MetadataKey_msginit,
800
+ };
801
+
802
+ static const upb_msglayout_field envoy_config_route_v3_RateLimit_Action_DynamicMetaData__fields[3] = {
803
+ {1, UPB_SIZE(0, 0), 0, 0, 9, 1},
804
+ {2, UPB_SIZE(16, 32), 0, 0, 11, 1},
805
+ {3, UPB_SIZE(8, 16), 0, 0, 9, 1},
806
+ };
807
+
808
+ const upb_msglayout envoy_config_route_v3_RateLimit_Action_DynamicMetaData_msginit = {
809
+ &envoy_config_route_v3_RateLimit_Action_DynamicMetaData_submsgs[0],
810
+ &envoy_config_route_v3_RateLimit_Action_DynamicMetaData__fields[0],
811
+ UPB_SIZE(24, 48), 3, false,
812
+ };
813
+
814
+ static const upb_msglayout *const envoy_config_route_v3_RateLimit_Override_submsgs[1] = {
815
+ &envoy_config_route_v3_RateLimit_Override_DynamicMetadata_msginit,
816
+ };
817
+
818
+ static const upb_msglayout_field envoy_config_route_v3_RateLimit_Override__fields[1] = {
819
+ {1, UPB_SIZE(0, 0), UPB_SIZE(-5, -9), 0, 11, 1},
820
+ };
821
+
822
+ const upb_msglayout envoy_config_route_v3_RateLimit_Override_msginit = {
823
+ &envoy_config_route_v3_RateLimit_Override_submsgs[0],
824
+ &envoy_config_route_v3_RateLimit_Override__fields[0],
825
+ UPB_SIZE(8, 16), 1, false,
826
+ };
827
+
828
+ static const upb_msglayout *const envoy_config_route_v3_RateLimit_Override_DynamicMetadata_submsgs[1] = {
829
+ &envoy_type_metadata_v3_MetadataKey_msginit,
830
+ };
831
+
832
+ static const upb_msglayout_field envoy_config_route_v3_RateLimit_Override_DynamicMetadata__fields[1] = {
833
+ {1, UPB_SIZE(0, 0), 0, 0, 11, 1},
834
+ };
835
+
836
+ const upb_msglayout envoy_config_route_v3_RateLimit_Override_DynamicMetadata_msginit = {
837
+ &envoy_config_route_v3_RateLimit_Override_DynamicMetadata_submsgs[0],
838
+ &envoy_config_route_v3_RateLimit_Override_DynamicMetadata__fields[0],
839
+ UPB_SIZE(4, 8), 1, false,
840
+ };
841
+
734
842
  static const upb_msglayout *const envoy_config_route_v3_HeaderMatcher_submsgs[2] = {
735
843
  &envoy_type_matcher_v3_RegexMatcher_msginit,
736
844
  &envoy_type_v3_Int64Range_msginit,
737
845
  };
738
846
 
739
- static const upb_msglayout_field envoy_config_route_v3_HeaderMatcher__fields[8] = {
847
+ static const upb_msglayout_field envoy_config_route_v3_HeaderMatcher__fields[9] = {
740
848
  {1, UPB_SIZE(4, 8), 0, 0, 9, 1},
741
849
  {4, UPB_SIZE(12, 24), UPB_SIZE(-21, -41), 0, 9, 1},
742
850
  {6, UPB_SIZE(12, 24), UPB_SIZE(-21, -41), 1, 11, 1},
@@ -745,12 +853,13 @@ static const upb_msglayout_field envoy_config_route_v3_HeaderMatcher__fields[8]
745
853
  {9, UPB_SIZE(12, 24), UPB_SIZE(-21, -41), 0, 9, 1},
746
854
  {10, UPB_SIZE(12, 24), UPB_SIZE(-21, -41), 0, 9, 1},
747
855
  {11, UPB_SIZE(12, 24), UPB_SIZE(-21, -41), 0, 11, 1},
856
+ {12, UPB_SIZE(12, 24), UPB_SIZE(-21, -41), 0, 9, 1},
748
857
  };
749
858
 
750
859
  const upb_msglayout envoy_config_route_v3_HeaderMatcher_msginit = {
751
860
  &envoy_config_route_v3_HeaderMatcher_submsgs[0],
752
861
  &envoy_config_route_v3_HeaderMatcher__fields[0],
753
- UPB_SIZE(24, 48), 8, false,
862
+ UPB_SIZE(24, 48), 9, false,
754
863
  };
755
864
 
756
865
  static const upb_msglayout *const envoy_config_route_v3_QueryParameterMatcher_submsgs[1] = {
@@ -769,5 +878,23 @@ const upb_msglayout envoy_config_route_v3_QueryParameterMatcher_msginit = {
769
878
  UPB_SIZE(16, 32), 3, false,
770
879
  };
771
880
 
881
+ static const upb_msglayout *const envoy_config_route_v3_InternalRedirectPolicy_submsgs[2] = {
882
+ &envoy_config_core_v3_TypedExtensionConfig_msginit,
883
+ &google_protobuf_UInt32Value_msginit,
884
+ };
885
+
886
+ static const upb_msglayout_field envoy_config_route_v3_InternalRedirectPolicy__fields[4] = {
887
+ {1, UPB_SIZE(4, 8), 0, 1, 11, 1},
888
+ {2, UPB_SIZE(8, 16), 0, 0, 13, _UPB_LABEL_PACKED},
889
+ {3, UPB_SIZE(12, 24), 0, 0, 11, 3},
890
+ {4, UPB_SIZE(0, 0), 0, 0, 8, 1},
891
+ };
892
+
893
+ const upb_msglayout envoy_config_route_v3_InternalRedirectPolicy_msginit = {
894
+ &envoy_config_route_v3_InternalRedirectPolicy_submsgs[0],
895
+ &envoy_config_route_v3_InternalRedirectPolicy__fields[0],
896
+ UPB_SIZE(16, 32), 4, false,
897
+ };
898
+
772
899
  #include "upb/port_undef.inc"
773
900