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
@@ -12,6 +12,9 @@
12
12
  #include "envoy/config/core/v3/base.upb.h"
13
13
  #include "google/protobuf/any.upb.h"
14
14
  #include "google/rpc/status.upb.h"
15
+ #include "udpa/core/v1/resource_locator.upb.h"
16
+ #include "udpa/core/v1/resource_name.upb.h"
17
+ #include "udpa/annotations/migrate.upb.h"
15
18
  #include "udpa/annotations/status.upb.h"
16
19
  #include "udpa/annotations/versioning.upb.h"
17
20
 
@@ -57,13 +60,14 @@ const upb_msglayout envoy_service_discovery_v3_DiscoveryResponse_msginit = {
57
60
  UPB_SIZE(40, 80), 6, false,
58
61
  };
59
62
 
60
- static const upb_msglayout *const envoy_service_discovery_v3_DeltaDiscoveryRequest_submsgs[3] = {
63
+ static const upb_msglayout *const envoy_service_discovery_v3_DeltaDiscoveryRequest_submsgs[5] = {
61
64
  &envoy_config_core_v3_Node_msginit,
62
65
  &envoy_service_discovery_v3_DeltaDiscoveryRequest_InitialResourceVersionsEntry_msginit,
63
66
  &google_rpc_Status_msginit,
67
+ &udpa_core_v1_ResourceLocator_msginit,
64
68
  };
65
69
 
66
- static const upb_msglayout_field envoy_service_discovery_v3_DeltaDiscoveryRequest__fields[7] = {
70
+ static const upb_msglayout_field envoy_service_discovery_v3_DeltaDiscoveryRequest__fields[9] = {
67
71
  {1, UPB_SIZE(16, 32), 0, 0, 11, 1},
68
72
  {2, UPB_SIZE(0, 0), 0, 0, 9, 1},
69
73
  {3, UPB_SIZE(24, 48), 0, 0, 9, 3},
@@ -71,12 +75,14 @@ static const upb_msglayout_field envoy_service_discovery_v3_DeltaDiscoveryReques
71
75
  {5, UPB_SIZE(32, 64), 0, 1, 11, _UPB_LABEL_MAP},
72
76
  {6, UPB_SIZE(8, 16), 0, 0, 9, 1},
73
77
  {7, UPB_SIZE(20, 40), 0, 2, 11, 1},
78
+ {8, UPB_SIZE(36, 72), 0, 3, 11, 3},
79
+ {9, UPB_SIZE(40, 80), 0, 3, 11, 3},
74
80
  };
75
81
 
76
82
  const upb_msglayout envoy_service_discovery_v3_DeltaDiscoveryRequest_msginit = {
77
83
  &envoy_service_discovery_v3_DeltaDiscoveryRequest_submsgs[0],
78
84
  &envoy_service_discovery_v3_DeltaDiscoveryRequest__fields[0],
79
- UPB_SIZE(40, 80), 7, false,
85
+ UPB_SIZE(48, 96), 9, false,
80
86
  };
81
87
 
82
88
  static const upb_msglayout_field envoy_service_discovery_v3_DeltaDiscoveryRequest_InitialResourceVersionsEntry__fields[2] = {
@@ -90,39 +96,43 @@ const upb_msglayout envoy_service_discovery_v3_DeltaDiscoveryRequest_InitialReso
90
96
  UPB_SIZE(16, 32), 2, false,
91
97
  };
92
98
 
93
- static const upb_msglayout *const envoy_service_discovery_v3_DeltaDiscoveryResponse_submsgs[1] = {
99
+ static const upb_msglayout *const envoy_service_discovery_v3_DeltaDiscoveryResponse_submsgs[2] = {
94
100
  &envoy_service_discovery_v3_Resource_msginit,
101
+ &udpa_core_v1_ResourceName_msginit,
95
102
  };
96
103
 
97
- static const upb_msglayout_field envoy_service_discovery_v3_DeltaDiscoveryResponse__fields[5] = {
104
+ static const upb_msglayout_field envoy_service_discovery_v3_DeltaDiscoveryResponse__fields[6] = {
98
105
  {1, UPB_SIZE(0, 0), 0, 0, 9, 1},
99
106
  {2, UPB_SIZE(24, 48), 0, 0, 11, 3},
100
107
  {4, UPB_SIZE(8, 16), 0, 0, 9, 1},
101
108
  {5, UPB_SIZE(16, 32), 0, 0, 9, 1},
102
109
  {6, UPB_SIZE(28, 56), 0, 0, 9, 3},
110
+ {7, UPB_SIZE(32, 64), 0, 1, 11, 3},
103
111
  };
104
112
 
105
113
  const upb_msglayout envoy_service_discovery_v3_DeltaDiscoveryResponse_msginit = {
106
114
  &envoy_service_discovery_v3_DeltaDiscoveryResponse_submsgs[0],
107
115
  &envoy_service_discovery_v3_DeltaDiscoveryResponse__fields[0],
108
- UPB_SIZE(32, 64), 5, false,
116
+ UPB_SIZE(40, 80), 6, false,
109
117
  };
110
118
 
111
- static const upb_msglayout *const envoy_service_discovery_v3_Resource_submsgs[1] = {
119
+ static const upb_msglayout *const envoy_service_discovery_v3_Resource_submsgs[2] = {
112
120
  &google_protobuf_Any_msginit,
121
+ &udpa_core_v1_ResourceName_msginit,
113
122
  };
114
123
 
115
- static const upb_msglayout_field envoy_service_discovery_v3_Resource__fields[4] = {
124
+ static const upb_msglayout_field envoy_service_discovery_v3_Resource__fields[5] = {
116
125
  {1, UPB_SIZE(0, 0), 0, 0, 9, 1},
117
126
  {2, UPB_SIZE(16, 32), 0, 0, 11, 1},
118
127
  {3, UPB_SIZE(8, 16), 0, 0, 9, 1},
119
- {4, UPB_SIZE(20, 40), 0, 0, 9, 3},
128
+ {4, UPB_SIZE(24, 48), 0, 0, 9, 3},
129
+ {5, UPB_SIZE(20, 40), 0, 1, 11, 1},
120
130
  };
121
131
 
122
132
  const upb_msglayout envoy_service_discovery_v3_Resource_msginit = {
123
133
  &envoy_service_discovery_v3_Resource_submsgs[0],
124
134
  &envoy_service_discovery_v3_Resource__fields[0],
125
- UPB_SIZE(24, 48), 4, false,
135
+ UPB_SIZE(32, 64), 5, false,
126
136
  };
127
137
 
128
138
  #include "upb/port_undef.inc"
@@ -41,10 +41,14 @@ struct envoy_config_core_v3_ControlPlane;
41
41
  struct envoy_config_core_v3_Node;
42
42
  struct google_protobuf_Any;
43
43
  struct google_rpc_Status;
44
+ struct udpa_core_v1_ResourceLocator;
45
+ struct udpa_core_v1_ResourceName;
44
46
  extern const upb_msglayout envoy_config_core_v3_ControlPlane_msginit;
45
47
  extern const upb_msglayout envoy_config_core_v3_Node_msginit;
46
48
  extern const upb_msglayout google_protobuf_Any_msginit;
47
49
  extern const upb_msglayout google_rpc_Status_msginit;
50
+ extern const upb_msglayout udpa_core_v1_ResourceLocator_msginit;
51
+ extern const upb_msglayout udpa_core_v1_ResourceName_msginit;
48
52
 
49
53
 
50
54
  /* envoy.service.discovery.v3.DiscoveryRequest */
@@ -201,6 +205,10 @@ UPB_INLINE const envoy_service_discovery_v3_DeltaDiscoveryRequest_InitialResourc
201
205
  UPB_INLINE upb_strview envoy_service_discovery_v3_DeltaDiscoveryRequest_response_nonce(const envoy_service_discovery_v3_DeltaDiscoveryRequest *msg) { return *UPB_PTR_AT(msg, UPB_SIZE(8, 16), upb_strview); }
202
206
  UPB_INLINE bool envoy_service_discovery_v3_DeltaDiscoveryRequest_has_error_detail(const envoy_service_discovery_v3_DeltaDiscoveryRequest *msg) { return _upb_has_submsg_nohasbit(msg, UPB_SIZE(20, 40)); }
203
207
  UPB_INLINE const struct google_rpc_Status* envoy_service_discovery_v3_DeltaDiscoveryRequest_error_detail(const envoy_service_discovery_v3_DeltaDiscoveryRequest *msg) { return *UPB_PTR_AT(msg, UPB_SIZE(20, 40), const struct google_rpc_Status*); }
208
+ UPB_INLINE bool envoy_service_discovery_v3_DeltaDiscoveryRequest_has_udpa_resources_subscribe(const envoy_service_discovery_v3_DeltaDiscoveryRequest *msg) { return _upb_has_submsg_nohasbit(msg, UPB_SIZE(36, 72)); }
209
+ UPB_INLINE const struct udpa_core_v1_ResourceLocator* const* envoy_service_discovery_v3_DeltaDiscoveryRequest_udpa_resources_subscribe(const envoy_service_discovery_v3_DeltaDiscoveryRequest *msg, size_t *len) { return (const struct udpa_core_v1_ResourceLocator* const*)_upb_array_accessor(msg, UPB_SIZE(36, 72), len); }
210
+ UPB_INLINE bool envoy_service_discovery_v3_DeltaDiscoveryRequest_has_udpa_resources_unsubscribe(const envoy_service_discovery_v3_DeltaDiscoveryRequest *msg) { return _upb_has_submsg_nohasbit(msg, UPB_SIZE(40, 80)); }
211
+ UPB_INLINE const struct udpa_core_v1_ResourceLocator* const* envoy_service_discovery_v3_DeltaDiscoveryRequest_udpa_resources_unsubscribe(const envoy_service_discovery_v3_DeltaDiscoveryRequest *msg, size_t *len) { return (const struct udpa_core_v1_ResourceLocator* const*)_upb_array_accessor(msg, UPB_SIZE(40, 80), len); }
204
212
 
205
213
  UPB_INLINE void envoy_service_discovery_v3_DeltaDiscoveryRequest_set_node(envoy_service_discovery_v3_DeltaDiscoveryRequest *msg, struct envoy_config_core_v3_Node* value) {
206
214
  *UPB_PTR_AT(msg, UPB_SIZE(16, 32), struct envoy_config_core_v3_Node*) = value;
@@ -256,6 +264,32 @@ UPB_INLINE struct google_rpc_Status* envoy_service_discovery_v3_DeltaDiscoveryRe
256
264
  }
257
265
  return sub;
258
266
  }
267
+ UPB_INLINE struct udpa_core_v1_ResourceLocator** envoy_service_discovery_v3_DeltaDiscoveryRequest_mutable_udpa_resources_subscribe(envoy_service_discovery_v3_DeltaDiscoveryRequest *msg, size_t *len) {
268
+ return (struct udpa_core_v1_ResourceLocator**)_upb_array_mutable_accessor(msg, UPB_SIZE(36, 72), len);
269
+ }
270
+ UPB_INLINE struct udpa_core_v1_ResourceLocator** envoy_service_discovery_v3_DeltaDiscoveryRequest_resize_udpa_resources_subscribe(envoy_service_discovery_v3_DeltaDiscoveryRequest *msg, size_t len, upb_arena *arena) {
271
+ return (struct udpa_core_v1_ResourceLocator**)_upb_array_resize_accessor(msg, UPB_SIZE(36, 72), len, UPB_TYPE_MESSAGE, arena);
272
+ }
273
+ UPB_INLINE struct udpa_core_v1_ResourceLocator* envoy_service_discovery_v3_DeltaDiscoveryRequest_add_udpa_resources_subscribe(envoy_service_discovery_v3_DeltaDiscoveryRequest *msg, upb_arena *arena) {
274
+ struct udpa_core_v1_ResourceLocator* sub = (struct udpa_core_v1_ResourceLocator*)_upb_msg_new(&udpa_core_v1_ResourceLocator_msginit, arena);
275
+ bool ok = _upb_array_append_accessor(
276
+ msg, UPB_SIZE(36, 72), UPB_SIZE(4, 8), UPB_TYPE_MESSAGE, &sub, arena);
277
+ if (!ok) return NULL;
278
+ return sub;
279
+ }
280
+ UPB_INLINE struct udpa_core_v1_ResourceLocator** envoy_service_discovery_v3_DeltaDiscoveryRequest_mutable_udpa_resources_unsubscribe(envoy_service_discovery_v3_DeltaDiscoveryRequest *msg, size_t *len) {
281
+ return (struct udpa_core_v1_ResourceLocator**)_upb_array_mutable_accessor(msg, UPB_SIZE(40, 80), len);
282
+ }
283
+ UPB_INLINE struct udpa_core_v1_ResourceLocator** envoy_service_discovery_v3_DeltaDiscoveryRequest_resize_udpa_resources_unsubscribe(envoy_service_discovery_v3_DeltaDiscoveryRequest *msg, size_t len, upb_arena *arena) {
284
+ return (struct udpa_core_v1_ResourceLocator**)_upb_array_resize_accessor(msg, UPB_SIZE(40, 80), len, UPB_TYPE_MESSAGE, arena);
285
+ }
286
+ UPB_INLINE struct udpa_core_v1_ResourceLocator* envoy_service_discovery_v3_DeltaDiscoveryRequest_add_udpa_resources_unsubscribe(envoy_service_discovery_v3_DeltaDiscoveryRequest *msg, upb_arena *arena) {
287
+ struct udpa_core_v1_ResourceLocator* sub = (struct udpa_core_v1_ResourceLocator*)_upb_msg_new(&udpa_core_v1_ResourceLocator_msginit, arena);
288
+ bool ok = _upb_array_append_accessor(
289
+ msg, UPB_SIZE(40, 80), UPB_SIZE(4, 8), UPB_TYPE_MESSAGE, &sub, arena);
290
+ if (!ok) return NULL;
291
+ return sub;
292
+ }
259
293
 
260
294
  /* envoy.service.discovery.v3.DeltaDiscoveryRequest.InitialResourceVersionsEntry */
261
295
 
@@ -294,6 +328,8 @@ UPB_INLINE const envoy_service_discovery_v3_Resource* const* envoy_service_disco
294
328
  UPB_INLINE upb_strview envoy_service_discovery_v3_DeltaDiscoveryResponse_type_url(const envoy_service_discovery_v3_DeltaDiscoveryResponse *msg) { return *UPB_PTR_AT(msg, UPB_SIZE(8, 16), upb_strview); }
295
329
  UPB_INLINE upb_strview envoy_service_discovery_v3_DeltaDiscoveryResponse_nonce(const envoy_service_discovery_v3_DeltaDiscoveryResponse *msg) { return *UPB_PTR_AT(msg, UPB_SIZE(16, 32), upb_strview); }
296
330
  UPB_INLINE upb_strview const* envoy_service_discovery_v3_DeltaDiscoveryResponse_removed_resources(const envoy_service_discovery_v3_DeltaDiscoveryResponse *msg, size_t *len) { return (upb_strview const*)_upb_array_accessor(msg, UPB_SIZE(28, 56), len); }
331
+ UPB_INLINE bool envoy_service_discovery_v3_DeltaDiscoveryResponse_has_udpa_removed_resources(const envoy_service_discovery_v3_DeltaDiscoveryResponse *msg) { return _upb_has_submsg_nohasbit(msg, UPB_SIZE(32, 64)); }
332
+ UPB_INLINE const struct udpa_core_v1_ResourceName* const* envoy_service_discovery_v3_DeltaDiscoveryResponse_udpa_removed_resources(const envoy_service_discovery_v3_DeltaDiscoveryResponse *msg, size_t *len) { return (const struct udpa_core_v1_ResourceName* const*)_upb_array_accessor(msg, UPB_SIZE(32, 64), len); }
297
333
 
298
334
  UPB_INLINE void envoy_service_discovery_v3_DeltaDiscoveryResponse_set_system_version_info(envoy_service_discovery_v3_DeltaDiscoveryResponse *msg, upb_strview value) {
299
335
  *UPB_PTR_AT(msg, UPB_SIZE(0, 0), upb_strview) = value;
@@ -327,6 +363,19 @@ UPB_INLINE bool envoy_service_discovery_v3_DeltaDiscoveryResponse_add_removed_re
327
363
  return _upb_array_append_accessor(msg, UPB_SIZE(28, 56), UPB_SIZE(8, 16), UPB_TYPE_STRING, &val,
328
364
  arena);
329
365
  }
366
+ UPB_INLINE struct udpa_core_v1_ResourceName** envoy_service_discovery_v3_DeltaDiscoveryResponse_mutable_udpa_removed_resources(envoy_service_discovery_v3_DeltaDiscoveryResponse *msg, size_t *len) {
367
+ return (struct udpa_core_v1_ResourceName**)_upb_array_mutable_accessor(msg, UPB_SIZE(32, 64), len);
368
+ }
369
+ UPB_INLINE struct udpa_core_v1_ResourceName** envoy_service_discovery_v3_DeltaDiscoveryResponse_resize_udpa_removed_resources(envoy_service_discovery_v3_DeltaDiscoveryResponse *msg, size_t len, upb_arena *arena) {
370
+ return (struct udpa_core_v1_ResourceName**)_upb_array_resize_accessor(msg, UPB_SIZE(32, 64), len, UPB_TYPE_MESSAGE, arena);
371
+ }
372
+ UPB_INLINE struct udpa_core_v1_ResourceName* envoy_service_discovery_v3_DeltaDiscoveryResponse_add_udpa_removed_resources(envoy_service_discovery_v3_DeltaDiscoveryResponse *msg, upb_arena *arena) {
373
+ struct udpa_core_v1_ResourceName* sub = (struct udpa_core_v1_ResourceName*)_upb_msg_new(&udpa_core_v1_ResourceName_msginit, arena);
374
+ bool ok = _upb_array_append_accessor(
375
+ msg, UPB_SIZE(32, 64), UPB_SIZE(4, 8), UPB_TYPE_MESSAGE, &sub, arena);
376
+ if (!ok) return NULL;
377
+ return sub;
378
+ }
330
379
 
331
380
  /* envoy.service.discovery.v3.Resource */
332
381
 
@@ -346,7 +395,9 @@ UPB_INLINE upb_strview envoy_service_discovery_v3_Resource_version(const envoy_s
346
395
  UPB_INLINE bool envoy_service_discovery_v3_Resource_has_resource(const envoy_service_discovery_v3_Resource *msg) { return _upb_has_submsg_nohasbit(msg, UPB_SIZE(16, 32)); }
347
396
  UPB_INLINE const struct google_protobuf_Any* envoy_service_discovery_v3_Resource_resource(const envoy_service_discovery_v3_Resource *msg) { return *UPB_PTR_AT(msg, UPB_SIZE(16, 32), const struct google_protobuf_Any*); }
348
397
  UPB_INLINE upb_strview envoy_service_discovery_v3_Resource_name(const envoy_service_discovery_v3_Resource *msg) { return *UPB_PTR_AT(msg, UPB_SIZE(8, 16), upb_strview); }
349
- UPB_INLINE upb_strview const* envoy_service_discovery_v3_Resource_aliases(const envoy_service_discovery_v3_Resource *msg, size_t *len) { return (upb_strview const*)_upb_array_accessor(msg, UPB_SIZE(20, 40), len); }
398
+ UPB_INLINE upb_strview const* envoy_service_discovery_v3_Resource_aliases(const envoy_service_discovery_v3_Resource *msg, size_t *len) { return (upb_strview const*)_upb_array_accessor(msg, UPB_SIZE(24, 48), len); }
399
+ UPB_INLINE bool envoy_service_discovery_v3_Resource_has_udpa_resource_name(const envoy_service_discovery_v3_Resource *msg) { return _upb_has_submsg_nohasbit(msg, UPB_SIZE(20, 40)); }
400
+ UPB_INLINE const struct udpa_core_v1_ResourceName* envoy_service_discovery_v3_Resource_udpa_resource_name(const envoy_service_discovery_v3_Resource *msg) { return *UPB_PTR_AT(msg, UPB_SIZE(20, 40), const struct udpa_core_v1_ResourceName*); }
350
401
 
351
402
  UPB_INLINE void envoy_service_discovery_v3_Resource_set_version(envoy_service_discovery_v3_Resource *msg, upb_strview value) {
352
403
  *UPB_PTR_AT(msg, UPB_SIZE(0, 0), upb_strview) = value;
@@ -367,15 +418,27 @@ UPB_INLINE void envoy_service_discovery_v3_Resource_set_name(envoy_service_disco
367
418
  *UPB_PTR_AT(msg, UPB_SIZE(8, 16), upb_strview) = value;
368
419
  }
369
420
  UPB_INLINE upb_strview* envoy_service_discovery_v3_Resource_mutable_aliases(envoy_service_discovery_v3_Resource *msg, size_t *len) {
370
- return (upb_strview*)_upb_array_mutable_accessor(msg, UPB_SIZE(20, 40), len);
421
+ return (upb_strview*)_upb_array_mutable_accessor(msg, UPB_SIZE(24, 48), len);
371
422
  }
372
423
  UPB_INLINE upb_strview* envoy_service_discovery_v3_Resource_resize_aliases(envoy_service_discovery_v3_Resource *msg, size_t len, upb_arena *arena) {
373
- return (upb_strview*)_upb_array_resize_accessor(msg, UPB_SIZE(20, 40), len, UPB_TYPE_STRING, arena);
424
+ return (upb_strview*)_upb_array_resize_accessor(msg, UPB_SIZE(24, 48), len, UPB_TYPE_STRING, arena);
374
425
  }
375
426
  UPB_INLINE bool envoy_service_discovery_v3_Resource_add_aliases(envoy_service_discovery_v3_Resource *msg, upb_strview val, upb_arena *arena) {
376
- return _upb_array_append_accessor(msg, UPB_SIZE(20, 40), UPB_SIZE(8, 16), UPB_TYPE_STRING, &val,
427
+ return _upb_array_append_accessor(msg, UPB_SIZE(24, 48), UPB_SIZE(8, 16), UPB_TYPE_STRING, &val,
377
428
  arena);
378
429
  }
430
+ UPB_INLINE void envoy_service_discovery_v3_Resource_set_udpa_resource_name(envoy_service_discovery_v3_Resource *msg, struct udpa_core_v1_ResourceName* value) {
431
+ *UPB_PTR_AT(msg, UPB_SIZE(20, 40), struct udpa_core_v1_ResourceName*) = value;
432
+ }
433
+ UPB_INLINE struct udpa_core_v1_ResourceName* envoy_service_discovery_v3_Resource_mutable_udpa_resource_name(envoy_service_discovery_v3_Resource *msg, upb_arena *arena) {
434
+ struct udpa_core_v1_ResourceName* sub = (struct udpa_core_v1_ResourceName*)envoy_service_discovery_v3_Resource_udpa_resource_name(msg);
435
+ if (sub == NULL) {
436
+ sub = (struct udpa_core_v1_ResourceName*)_upb_msg_new(&udpa_core_v1_ResourceName_msginit, arena);
437
+ if (!sub) return NULL;
438
+ envoy_service_discovery_v3_Resource_set_udpa_resource_name(msg, sub);
439
+ }
440
+ return sub;
441
+ }
379
442
 
380
443
  #ifdef __cplusplus
381
444
  } /* extern "C" */
@@ -21,18 +21,19 @@ static const upb_msglayout *const envoy_type_matcher_v3_StringMatcher_submsgs[1]
21
21
  &envoy_type_matcher_v3_RegexMatcher_msginit,
22
22
  };
23
23
 
24
- static const upb_msglayout_field envoy_type_matcher_v3_StringMatcher__fields[5] = {
24
+ static const upb_msglayout_field envoy_type_matcher_v3_StringMatcher__fields[6] = {
25
25
  {1, UPB_SIZE(4, 8), UPB_SIZE(-13, -25), 0, 9, 1},
26
26
  {2, UPB_SIZE(4, 8), UPB_SIZE(-13, -25), 0, 9, 1},
27
27
  {3, UPB_SIZE(4, 8), UPB_SIZE(-13, -25), 0, 9, 1},
28
28
  {5, UPB_SIZE(4, 8), UPB_SIZE(-13, -25), 0, 11, 1},
29
29
  {6, UPB_SIZE(0, 0), 0, 0, 8, 1},
30
+ {7, UPB_SIZE(4, 8), UPB_SIZE(-13, -25), 0, 9, 1},
30
31
  };
31
32
 
32
33
  const upb_msglayout envoy_type_matcher_v3_StringMatcher_msginit = {
33
34
  &envoy_type_matcher_v3_StringMatcher_submsgs[0],
34
35
  &envoy_type_matcher_v3_StringMatcher__fields[0],
35
- UPB_SIZE(16, 32), 5, false,
36
+ UPB_SIZE(16, 32), 6, false,
36
37
  };
37
38
 
38
39
  static const upb_msglayout *const envoy_type_matcher_v3_ListStringMatcher_submsgs[1] = {
@@ -48,6 +48,7 @@ typedef enum {
48
48
  envoy_type_matcher_v3_StringMatcher_match_pattern_prefix = 2,
49
49
  envoy_type_matcher_v3_StringMatcher_match_pattern_suffix = 3,
50
50
  envoy_type_matcher_v3_StringMatcher_match_pattern_safe_regex = 5,
51
+ envoy_type_matcher_v3_StringMatcher_match_pattern_contains = 7,
51
52
  envoy_type_matcher_v3_StringMatcher_match_pattern_NOT_SET = 0
52
53
  } envoy_type_matcher_v3_StringMatcher_match_pattern_oneofcases;
53
54
  UPB_INLINE envoy_type_matcher_v3_StringMatcher_match_pattern_oneofcases envoy_type_matcher_v3_StringMatcher_match_pattern_case(const envoy_type_matcher_v3_StringMatcher* msg) { return (envoy_type_matcher_v3_StringMatcher_match_pattern_oneofcases)*UPB_PTR_AT(msg, UPB_SIZE(12, 24), int32_t); }
@@ -61,6 +62,8 @@ UPB_INLINE upb_strview envoy_type_matcher_v3_StringMatcher_suffix(const envoy_ty
61
62
  UPB_INLINE bool envoy_type_matcher_v3_StringMatcher_has_safe_regex(const envoy_type_matcher_v3_StringMatcher *msg) { return _upb_getoneofcase(msg, UPB_SIZE(12, 24)) == 5; }
62
63
  UPB_INLINE const struct envoy_type_matcher_v3_RegexMatcher* envoy_type_matcher_v3_StringMatcher_safe_regex(const envoy_type_matcher_v3_StringMatcher *msg) { return UPB_READ_ONEOF(msg, const struct envoy_type_matcher_v3_RegexMatcher*, UPB_SIZE(4, 8), UPB_SIZE(12, 24), 5, NULL); }
63
64
  UPB_INLINE bool envoy_type_matcher_v3_StringMatcher_ignore_case(const envoy_type_matcher_v3_StringMatcher *msg) { return *UPB_PTR_AT(msg, UPB_SIZE(0, 0), bool); }
65
+ UPB_INLINE bool envoy_type_matcher_v3_StringMatcher_has_contains(const envoy_type_matcher_v3_StringMatcher *msg) { return _upb_getoneofcase(msg, UPB_SIZE(12, 24)) == 7; }
66
+ UPB_INLINE upb_strview envoy_type_matcher_v3_StringMatcher_contains(const envoy_type_matcher_v3_StringMatcher *msg) { return UPB_READ_ONEOF(msg, upb_strview, UPB_SIZE(4, 8), UPB_SIZE(12, 24), 7, upb_strview_make("", strlen(""))); }
64
67
 
65
68
  UPB_INLINE void envoy_type_matcher_v3_StringMatcher_set_exact(envoy_type_matcher_v3_StringMatcher *msg, upb_strview value) {
66
69
  UPB_WRITE_ONEOF(msg, upb_strview, UPB_SIZE(4, 8), value, UPB_SIZE(12, 24), 1);
@@ -86,6 +89,9 @@ UPB_INLINE struct envoy_type_matcher_v3_RegexMatcher* envoy_type_matcher_v3_Stri
86
89
  UPB_INLINE void envoy_type_matcher_v3_StringMatcher_set_ignore_case(envoy_type_matcher_v3_StringMatcher *msg, bool value) {
87
90
  *UPB_PTR_AT(msg, UPB_SIZE(0, 0), bool) = value;
88
91
  }
92
+ UPB_INLINE void envoy_type_matcher_v3_StringMatcher_set_contains(envoy_type_matcher_v3_StringMatcher *msg, upb_strview value) {
93
+ UPB_WRITE_ONEOF(msg, upb_strview, UPB_SIZE(4, 8), value, UPB_SIZE(12, 24), 7);
94
+ }
89
95
 
90
96
  /* envoy.type.matcher.v3.ListStringMatcher */
91
97
 
@@ -0,0 +1,242 @@
1
+ /* This file was generated by upbc (the upb compiler) from the input
2
+ * file:
3
+ *
4
+ * google/api/expr/v1alpha1/checked.proto
5
+ *
6
+ * Do not edit -- your changes will be discarded when the file is
7
+ * regenerated. */
8
+
9
+ #include <stddef.h>
10
+ #include "upb/msg.h"
11
+ #include "google/api/expr/v1alpha1/checked.upb.h"
12
+ #include "google/api/expr/v1alpha1/syntax.upb.h"
13
+ #include "google/protobuf/empty.upb.h"
14
+ #include "google/protobuf/struct.upb.h"
15
+
16
+ #include "upb/port_def.inc"
17
+
18
+ static const upb_msglayout *const google_api_expr_v1alpha1_CheckedExpr_submsgs[4] = {
19
+ &google_api_expr_v1alpha1_CheckedExpr_ReferenceMapEntry_msginit,
20
+ &google_api_expr_v1alpha1_CheckedExpr_TypeMapEntry_msginit,
21
+ &google_api_expr_v1alpha1_Expr_msginit,
22
+ &google_api_expr_v1alpha1_SourceInfo_msginit,
23
+ };
24
+
25
+ static const upb_msglayout_field google_api_expr_v1alpha1_CheckedExpr__fields[4] = {
26
+ {2, UPB_SIZE(8, 16), 0, 0, 11, _UPB_LABEL_MAP},
27
+ {3, UPB_SIZE(12, 24), 0, 1, 11, _UPB_LABEL_MAP},
28
+ {4, UPB_SIZE(0, 0), 0, 2, 11, 1},
29
+ {5, UPB_SIZE(4, 8), 0, 3, 11, 1},
30
+ };
31
+
32
+ const upb_msglayout google_api_expr_v1alpha1_CheckedExpr_msginit = {
33
+ &google_api_expr_v1alpha1_CheckedExpr_submsgs[0],
34
+ &google_api_expr_v1alpha1_CheckedExpr__fields[0],
35
+ UPB_SIZE(16, 32), 4, false,
36
+ };
37
+
38
+ static const upb_msglayout *const google_api_expr_v1alpha1_CheckedExpr_ReferenceMapEntry_submsgs[1] = {
39
+ &google_api_expr_v1alpha1_Reference_msginit,
40
+ };
41
+
42
+ static const upb_msglayout_field google_api_expr_v1alpha1_CheckedExpr_ReferenceMapEntry__fields[2] = {
43
+ {1, UPB_SIZE(0, 0), 0, 0, 3, 1},
44
+ {2, UPB_SIZE(8, 16), 0, 0, 11, 1},
45
+ };
46
+
47
+ const upb_msglayout google_api_expr_v1alpha1_CheckedExpr_ReferenceMapEntry_msginit = {
48
+ &google_api_expr_v1alpha1_CheckedExpr_ReferenceMapEntry_submsgs[0],
49
+ &google_api_expr_v1alpha1_CheckedExpr_ReferenceMapEntry__fields[0],
50
+ UPB_SIZE(16, 32), 2, false,
51
+ };
52
+
53
+ static const upb_msglayout *const google_api_expr_v1alpha1_CheckedExpr_TypeMapEntry_submsgs[1] = {
54
+ &google_api_expr_v1alpha1_Type_msginit,
55
+ };
56
+
57
+ static const upb_msglayout_field google_api_expr_v1alpha1_CheckedExpr_TypeMapEntry__fields[2] = {
58
+ {1, UPB_SIZE(0, 0), 0, 0, 3, 1},
59
+ {2, UPB_SIZE(8, 16), 0, 0, 11, 1},
60
+ };
61
+
62
+ const upb_msglayout google_api_expr_v1alpha1_CheckedExpr_TypeMapEntry_msginit = {
63
+ &google_api_expr_v1alpha1_CheckedExpr_TypeMapEntry_submsgs[0],
64
+ &google_api_expr_v1alpha1_CheckedExpr_TypeMapEntry__fields[0],
65
+ UPB_SIZE(16, 32), 2, false,
66
+ };
67
+
68
+ static const upb_msglayout *const google_api_expr_v1alpha1_Type_submsgs[7] = {
69
+ &google_api_expr_v1alpha1_Type_msginit,
70
+ &google_api_expr_v1alpha1_Type_AbstractType_msginit,
71
+ &google_api_expr_v1alpha1_Type_FunctionType_msginit,
72
+ &google_api_expr_v1alpha1_Type_ListType_msginit,
73
+ &google_api_expr_v1alpha1_Type_MapType_msginit,
74
+ &google_protobuf_Empty_msginit,
75
+ };
76
+
77
+ static const upb_msglayout_field google_api_expr_v1alpha1_Type__fields[13] = {
78
+ {1, UPB_SIZE(0, 0), UPB_SIZE(-9, -17), 5, 11, 1},
79
+ {2, UPB_SIZE(0, 0), UPB_SIZE(-9, -17), 0, 14, 1},
80
+ {3, UPB_SIZE(0, 0), UPB_SIZE(-9, -17), 0, 14, 1},
81
+ {4, UPB_SIZE(0, 0), UPB_SIZE(-9, -17), 0, 14, 1},
82
+ {5, UPB_SIZE(0, 0), UPB_SIZE(-9, -17), 0, 14, 1},
83
+ {6, UPB_SIZE(0, 0), UPB_SIZE(-9, -17), 3, 11, 1},
84
+ {7, UPB_SIZE(0, 0), UPB_SIZE(-9, -17), 4, 11, 1},
85
+ {8, UPB_SIZE(0, 0), UPB_SIZE(-9, -17), 2, 11, 1},
86
+ {9, UPB_SIZE(0, 0), UPB_SIZE(-9, -17), 0, 9, 1},
87
+ {10, UPB_SIZE(0, 0), UPB_SIZE(-9, -17), 0, 9, 1},
88
+ {11, UPB_SIZE(0, 0), UPB_SIZE(-9, -17), 0, 11, 1},
89
+ {12, UPB_SIZE(0, 0), UPB_SIZE(-9, -17), 5, 11, 1},
90
+ {14, UPB_SIZE(0, 0), UPB_SIZE(-9, -17), 1, 11, 1},
91
+ };
92
+
93
+ const upb_msglayout google_api_expr_v1alpha1_Type_msginit = {
94
+ &google_api_expr_v1alpha1_Type_submsgs[0],
95
+ &google_api_expr_v1alpha1_Type__fields[0],
96
+ UPB_SIZE(16, 32), 13, false,
97
+ };
98
+
99
+ static const upb_msglayout *const google_api_expr_v1alpha1_Type_ListType_submsgs[1] = {
100
+ &google_api_expr_v1alpha1_Type_msginit,
101
+ };
102
+
103
+ static const upb_msglayout_field google_api_expr_v1alpha1_Type_ListType__fields[1] = {
104
+ {1, UPB_SIZE(0, 0), 0, 0, 11, 1},
105
+ };
106
+
107
+ const upb_msglayout google_api_expr_v1alpha1_Type_ListType_msginit = {
108
+ &google_api_expr_v1alpha1_Type_ListType_submsgs[0],
109
+ &google_api_expr_v1alpha1_Type_ListType__fields[0],
110
+ UPB_SIZE(4, 8), 1, false,
111
+ };
112
+
113
+ static const upb_msglayout *const google_api_expr_v1alpha1_Type_MapType_submsgs[2] = {
114
+ &google_api_expr_v1alpha1_Type_msginit,
115
+ };
116
+
117
+ static const upb_msglayout_field google_api_expr_v1alpha1_Type_MapType__fields[2] = {
118
+ {1, UPB_SIZE(0, 0), 0, 0, 11, 1},
119
+ {2, UPB_SIZE(4, 8), 0, 0, 11, 1},
120
+ };
121
+
122
+ const upb_msglayout google_api_expr_v1alpha1_Type_MapType_msginit = {
123
+ &google_api_expr_v1alpha1_Type_MapType_submsgs[0],
124
+ &google_api_expr_v1alpha1_Type_MapType__fields[0],
125
+ UPB_SIZE(8, 16), 2, false,
126
+ };
127
+
128
+ static const upb_msglayout *const google_api_expr_v1alpha1_Type_FunctionType_submsgs[2] = {
129
+ &google_api_expr_v1alpha1_Type_msginit,
130
+ };
131
+
132
+ static const upb_msglayout_field google_api_expr_v1alpha1_Type_FunctionType__fields[2] = {
133
+ {1, UPB_SIZE(0, 0), 0, 0, 11, 1},
134
+ {2, UPB_SIZE(4, 8), 0, 0, 11, 3},
135
+ };
136
+
137
+ const upb_msglayout google_api_expr_v1alpha1_Type_FunctionType_msginit = {
138
+ &google_api_expr_v1alpha1_Type_FunctionType_submsgs[0],
139
+ &google_api_expr_v1alpha1_Type_FunctionType__fields[0],
140
+ UPB_SIZE(8, 16), 2, false,
141
+ };
142
+
143
+ static const upb_msglayout *const google_api_expr_v1alpha1_Type_AbstractType_submsgs[1] = {
144
+ &google_api_expr_v1alpha1_Type_msginit,
145
+ };
146
+
147
+ static const upb_msglayout_field google_api_expr_v1alpha1_Type_AbstractType__fields[2] = {
148
+ {1, UPB_SIZE(0, 0), 0, 0, 9, 1},
149
+ {2, UPB_SIZE(8, 16), 0, 0, 11, 3},
150
+ };
151
+
152
+ const upb_msglayout google_api_expr_v1alpha1_Type_AbstractType_msginit = {
153
+ &google_api_expr_v1alpha1_Type_AbstractType_submsgs[0],
154
+ &google_api_expr_v1alpha1_Type_AbstractType__fields[0],
155
+ UPB_SIZE(16, 32), 2, false,
156
+ };
157
+
158
+ static const upb_msglayout *const google_api_expr_v1alpha1_Decl_submsgs[2] = {
159
+ &google_api_expr_v1alpha1_Decl_FunctionDecl_msginit,
160
+ &google_api_expr_v1alpha1_Decl_IdentDecl_msginit,
161
+ };
162
+
163
+ static const upb_msglayout_field google_api_expr_v1alpha1_Decl__fields[3] = {
164
+ {1, UPB_SIZE(0, 0), 0, 0, 9, 1},
165
+ {2, UPB_SIZE(8, 16), UPB_SIZE(-13, -25), 1, 11, 1},
166
+ {3, UPB_SIZE(8, 16), UPB_SIZE(-13, -25), 0, 11, 1},
167
+ };
168
+
169
+ const upb_msglayout google_api_expr_v1alpha1_Decl_msginit = {
170
+ &google_api_expr_v1alpha1_Decl_submsgs[0],
171
+ &google_api_expr_v1alpha1_Decl__fields[0],
172
+ UPB_SIZE(16, 32), 3, false,
173
+ };
174
+
175
+ static const upb_msglayout *const google_api_expr_v1alpha1_Decl_IdentDecl_submsgs[2] = {
176
+ &google_api_expr_v1alpha1_Constant_msginit,
177
+ &google_api_expr_v1alpha1_Type_msginit,
178
+ };
179
+
180
+ static const upb_msglayout_field google_api_expr_v1alpha1_Decl_IdentDecl__fields[3] = {
181
+ {1, UPB_SIZE(8, 16), 0, 1, 11, 1},
182
+ {2, UPB_SIZE(12, 24), 0, 0, 11, 1},
183
+ {3, UPB_SIZE(0, 0), 0, 0, 9, 1},
184
+ };
185
+
186
+ const upb_msglayout google_api_expr_v1alpha1_Decl_IdentDecl_msginit = {
187
+ &google_api_expr_v1alpha1_Decl_IdentDecl_submsgs[0],
188
+ &google_api_expr_v1alpha1_Decl_IdentDecl__fields[0],
189
+ UPB_SIZE(16, 32), 3, false,
190
+ };
191
+
192
+ static const upb_msglayout *const google_api_expr_v1alpha1_Decl_FunctionDecl_submsgs[1] = {
193
+ &google_api_expr_v1alpha1_Decl_FunctionDecl_Overload_msginit,
194
+ };
195
+
196
+ static const upb_msglayout_field google_api_expr_v1alpha1_Decl_FunctionDecl__fields[1] = {
197
+ {1, UPB_SIZE(0, 0), 0, 0, 11, 3},
198
+ };
199
+
200
+ const upb_msglayout google_api_expr_v1alpha1_Decl_FunctionDecl_msginit = {
201
+ &google_api_expr_v1alpha1_Decl_FunctionDecl_submsgs[0],
202
+ &google_api_expr_v1alpha1_Decl_FunctionDecl__fields[0],
203
+ UPB_SIZE(4, 8), 1, false,
204
+ };
205
+
206
+ static const upb_msglayout *const google_api_expr_v1alpha1_Decl_FunctionDecl_Overload_submsgs[2] = {
207
+ &google_api_expr_v1alpha1_Type_msginit,
208
+ };
209
+
210
+ static const upb_msglayout_field google_api_expr_v1alpha1_Decl_FunctionDecl_Overload__fields[6] = {
211
+ {1, UPB_SIZE(4, 8), 0, 0, 9, 1},
212
+ {2, UPB_SIZE(24, 48), 0, 0, 11, 3},
213
+ {3, UPB_SIZE(28, 56), 0, 0, 9, 3},
214
+ {4, UPB_SIZE(20, 40), 0, 0, 11, 1},
215
+ {5, UPB_SIZE(0, 0), 0, 0, 8, 1},
216
+ {6, UPB_SIZE(12, 24), 0, 0, 9, 1},
217
+ };
218
+
219
+ const upb_msglayout google_api_expr_v1alpha1_Decl_FunctionDecl_Overload_msginit = {
220
+ &google_api_expr_v1alpha1_Decl_FunctionDecl_Overload_submsgs[0],
221
+ &google_api_expr_v1alpha1_Decl_FunctionDecl_Overload__fields[0],
222
+ UPB_SIZE(32, 64), 6, false,
223
+ };
224
+
225
+ static const upb_msglayout *const google_api_expr_v1alpha1_Reference_submsgs[1] = {
226
+ &google_api_expr_v1alpha1_Constant_msginit,
227
+ };
228
+
229
+ static const upb_msglayout_field google_api_expr_v1alpha1_Reference__fields[3] = {
230
+ {1, UPB_SIZE(0, 0), 0, 0, 9, 1},
231
+ {3, UPB_SIZE(12, 24), 0, 0, 9, 3},
232
+ {4, UPB_SIZE(8, 16), 0, 0, 11, 1},
233
+ };
234
+
235
+ const upb_msglayout google_api_expr_v1alpha1_Reference_msginit = {
236
+ &google_api_expr_v1alpha1_Reference_submsgs[0],
237
+ &google_api_expr_v1alpha1_Reference__fields[0],
238
+ UPB_SIZE(16, 32), 3, false,
239
+ };
240
+
241
+ #include "upb/port_undef.inc"
242
+