grpc 1.23.1 → 1.24.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 (245) hide show
  1. checksums.yaml +4 -4
  2. data/Makefile +757 -477
  3. data/include/grpc/grpc.h +3 -1
  4. data/include/grpc/grpc_security.h +20 -4
  5. data/include/grpc/impl/codegen/grpc_types.h +6 -5
  6. data/include/grpc/impl/codegen/port_platform.h +25 -0
  7. data/src/core/ext/filters/client_channel/backend_metric.cc +78 -0
  8. data/src/core/ext/filters/client_channel/backend_metric.h +36 -0
  9. data/src/core/ext/filters/client_channel/channel_connectivity.cc +16 -2
  10. data/src/core/ext/filters/client_channel/client_channel.cc +325 -267
  11. data/src/core/ext/filters/client_channel/client_channel_factory.h +0 -4
  12. data/src/core/ext/filters/client_channel/health/health_check_client.cc +23 -32
  13. data/src/core/ext/filters/client_channel/http_proxy.cc +7 -3
  14. data/src/core/ext/filters/client_channel/lb_policy.cc +1 -1
  15. data/src/core/ext/filters/client_channel/lb_policy.h +58 -34
  16. data/src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb.cc +46 -50
  17. data/src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_channel.h +9 -2
  18. data/src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_channel_secure.cc +35 -17
  19. data/src/core/ext/filters/client_channel/lb_policy/grpclb/load_balancer_api.cc +130 -215
  20. data/src/core/ext/filters/client_channel/lb_policy/grpclb/load_balancer_api.h +34 -21
  21. data/src/core/ext/filters/client_channel/lb_policy/xds/xds.cc +1120 -802
  22. data/src/core/ext/filters/client_channel/lb_policy/xds/xds_channel.h +8 -2
  23. data/src/core/ext/filters/client_channel/lb_policy/xds/xds_channel_secure.cc +33 -12
  24. data/src/core/ext/filters/client_channel/lb_policy/xds/xds_client_stats.cc +151 -40
  25. data/src/core/ext/filters/client_channel/lb_policy/xds/xds_client_stats.h +184 -26
  26. data/src/core/ext/filters/client_channel/lb_policy/xds/xds_load_balancer_api.cc +389 -245
  27. data/src/core/ext/filters/client_channel/lb_policy/xds/xds_load_balancer_api.h +98 -60
  28. data/src/core/ext/filters/client_channel/lb_policy_registry.cc +6 -1
  29. data/src/core/ext/filters/client_channel/resolver/xds/xds_resolver.cc +89 -0
  30. data/src/core/ext/filters/client_channel/resolving_lb_policy.cc +3 -8
  31. data/src/core/ext/filters/client_channel/server_address.cc +1 -3
  32. data/src/core/ext/filters/client_channel/server_address.h +1 -1
  33. data/src/core/ext/filters/client_channel/subchannel.h +2 -1
  34. data/src/core/ext/filters/client_idle/client_idle_filter.cc +207 -29
  35. data/src/core/ext/filters/http/client/http_client_filter.cc +10 -8
  36. data/src/core/ext/filters/http/client_authority_filter.cc +1 -1
  37. data/src/core/ext/filters/http/message_compress/message_compress_filter.cc +10 -7
  38. data/src/core/ext/filters/http/server/http_server_filter.cc +52 -26
  39. data/src/core/ext/transport/chttp2/client/insecure/channel_create.cc +23 -20
  40. data/src/core/ext/transport/chttp2/client/secure/secure_channel_create.cc +24 -21
  41. data/src/core/ext/transport/chttp2/server/chttp2_server.cc +1 -1
  42. data/src/core/ext/transport/chttp2/transport/chttp2_transport.cc +37 -24
  43. data/src/core/ext/transport/chttp2/transport/chttp2_transport.h +1 -0
  44. data/src/core/ext/transport/chttp2/transport/hpack_encoder.cc +237 -191
  45. data/src/core/ext/transport/chttp2/transport/hpack_parser.cc +29 -27
  46. data/src/core/ext/transport/chttp2/transport/hpack_parser.h +1 -1
  47. data/src/core/ext/transport/chttp2/transport/hpack_table.cc +19 -4
  48. data/src/core/ext/transport/chttp2/transport/hpack_table.h +13 -4
  49. data/src/core/ext/transport/chttp2/transport/incoming_metadata.cc +2 -1
  50. data/src/core/ext/transport/chttp2/transport/internal.h +0 -2
  51. data/src/core/ext/transport/chttp2/transport/parsing.cc +99 -71
  52. data/src/core/ext/upb-generated/envoy/api/v2/auth/cert.upb.c +222 -0
  53. data/src/core/ext/upb-generated/envoy/api/v2/auth/cert.upb.h +818 -0
  54. data/src/core/ext/upb-generated/envoy/api/v2/cds.upb.c +314 -0
  55. data/src/core/ext/upb-generated/envoy/api/v2/cds.upb.h +1142 -0
  56. data/src/core/ext/upb-generated/envoy/api/v2/cluster/circuit_breaker.upb.c +53 -0
  57. data/src/core/ext/upb-generated/envoy/api/v2/cluster/circuit_breaker.upb.h +158 -0
  58. data/src/core/ext/upb-generated/envoy/api/v2/cluster/filter.upb.c +34 -0
  59. data/src/core/ext/upb-generated/envoy/api/v2/cluster/filter.upb.h +69 -0
  60. data/src/core/ext/upb-generated/envoy/api/v2/cluster/outlier_detection.upb.c +49 -0
  61. data/src/core/ext/upb-generated/envoy/api/v2/cluster/outlier_detection.upb.h +240 -0
  62. data/src/core/ext/upb-generated/envoy/api/v2/core/address.upb.c +110 -0
  63. data/src/core/ext/upb-generated/envoy/api/v2/core/address.upb.h +324 -0
  64. data/src/core/ext/upb-generated/envoy/api/v2/core/base.upb.c +235 -0
  65. data/src/core/ext/upb-generated/envoy/api/v2/core/base.upb.h +661 -0
  66. data/src/core/ext/upb-generated/envoy/api/v2/core/config_source.upb.c +84 -0
  67. data/src/core/ext/upb-generated/envoy/api/v2/core/config_source.upb.h +274 -0
  68. data/src/core/ext/upb-generated/envoy/api/v2/core/grpc_service.upb.c +175 -0
  69. data/src/core/ext/upb-generated/envoy/api/v2/core/grpc_service.upb.h +572 -0
  70. data/src/core/ext/upb-generated/envoy/api/v2/core/health_check.upb.c +150 -0
  71. data/src/core/ext/upb-generated/envoy/api/v2/core/health_check.upb.h +596 -0
  72. data/src/core/ext/upb-generated/envoy/api/v2/core/http_uri.upb.c +35 -0
  73. data/src/core/ext/upb-generated/envoy/api/v2/core/http_uri.upb.h +80 -0
  74. data/src/core/ext/upb-generated/envoy/api/v2/core/protocol.upb.c +95 -0
  75. data/src/core/ext/upb-generated/envoy/api/v2/core/protocol.upb.h +308 -0
  76. data/src/core/ext/upb-generated/envoy/api/v2/discovery.upb.c +128 -0
  77. data/src/core/ext/upb-generated/envoy/api/v2/discovery.upb.h +392 -0
  78. data/src/core/ext/upb-generated/envoy/api/v2/eds.upb.c +91 -0
  79. data/src/core/ext/upb-generated/envoy/api/v2/eds.upb.h +236 -0
  80. data/src/core/ext/upb-generated/envoy/api/v2/endpoint/endpoint.upb.c +88 -0
  81. data/src/core/ext/upb-generated/envoy/api/v2/endpoint/endpoint.upb.h +258 -0
  82. data/src/core/ext/upb-generated/envoy/api/v2/endpoint/load_report.upb.c +111 -0
  83. data/src/core/ext/upb-generated/envoy/api/v2/endpoint/load_report.upb.h +324 -0
  84. data/src/core/ext/upb-generated/envoy/service/discovery/v2/ads.upb.c +23 -0
  85. data/src/core/ext/upb-generated/envoy/service/discovery/v2/ads.upb.h +50 -0
  86. data/src/core/ext/upb-generated/envoy/service/load_stats/v2/lrs.upb.c +52 -0
  87. data/src/core/ext/upb-generated/envoy/service/load_stats/v2/lrs.upb.h +130 -0
  88. data/src/core/ext/upb-generated/envoy/type/percent.upb.c +39 -0
  89. data/src/core/ext/upb-generated/envoy/type/percent.upb.h +87 -0
  90. data/src/core/ext/upb-generated/envoy/type/range.upb.c +39 -0
  91. data/src/core/ext/upb-generated/envoy/type/range.upb.h +85 -0
  92. data/src/core/ext/upb-generated/gogoproto/gogo.upb.c +17 -0
  93. data/src/core/ext/upb-generated/gogoproto/gogo.upb.h +30 -0
  94. data/src/core/ext/upb-generated/google/api/annotations.upb.c +18 -0
  95. data/src/core/ext/upb-generated/google/api/annotations.upb.h +30 -0
  96. data/src/core/ext/upb-generated/google/api/http.upb.c +66 -0
  97. data/src/core/ext/upb-generated/google/api/http.upb.h +190 -0
  98. data/src/core/ext/upb-generated/google/protobuf/any.upb.c +27 -0
  99. data/src/core/ext/upb-generated/google/protobuf/any.upb.h +58 -0
  100. data/src/core/ext/upb-generated/google/protobuf/descriptor.upb.c +485 -0
  101. data/src/core/ext/upb-generated/google/protobuf/descriptor.upb.h +1690 -0
  102. data/src/core/ext/upb-generated/google/protobuf/duration.upb.c +27 -0
  103. data/src/core/ext/upb-generated/google/protobuf/duration.upb.h +58 -0
  104. data/src/core/ext/upb-generated/google/protobuf/empty.upb.c +22 -0
  105. data/src/core/ext/upb-generated/google/protobuf/empty.upb.h +50 -0
  106. data/src/core/ext/upb-generated/google/protobuf/struct.upb.c +79 -0
  107. data/src/core/ext/upb-generated/google/protobuf/struct.upb.h +215 -0
  108. data/src/core/ext/upb-generated/google/protobuf/timestamp.upb.c +27 -0
  109. data/src/core/ext/upb-generated/google/protobuf/timestamp.upb.h +58 -0
  110. data/src/core/ext/upb-generated/google/protobuf/wrappers.upb.c +106 -0
  111. data/src/core/ext/upb-generated/google/protobuf/wrappers.upb.h +238 -0
  112. data/src/core/ext/upb-generated/google/rpc/status.upb.c +33 -0
  113. data/src/core/ext/upb-generated/google/rpc/status.upb.h +74 -0
  114. data/src/core/ext/upb-generated/src/proto/grpc/gcp/altscontext.upb.c +49 -0
  115. data/src/core/ext/upb-generated/src/proto/grpc/gcp/altscontext.upb.h +126 -0
  116. data/src/core/ext/upb-generated/src/proto/grpc/gcp/handshaker.upb.c +209 -0
  117. data/src/core/ext/upb-generated/src/proto/grpc/gcp/handshaker.upb.h +681 -0
  118. data/src/core/ext/upb-generated/src/proto/grpc/gcp/transport_security_common.upb.c +42 -0
  119. data/src/core/ext/upb-generated/src/proto/grpc/gcp/transport_security_common.upb.h +109 -0
  120. data/src/core/ext/upb-generated/src/proto/grpc/health/v1/health.upb.c +36 -0
  121. data/src/core/ext/upb-generated/src/proto/grpc/health/v1/health.upb.h +84 -0
  122. data/src/core/ext/upb-generated/src/proto/grpc/lb/v1/load_balancer.upb.c +133 -0
  123. data/src/core/ext/upb-generated/src/proto/grpc/lb/v1/load_balancer.upb.h +359 -0
  124. data/src/core/ext/upb-generated/udpa/data/orca/v1/orca_load_report.upb.c +58 -0
  125. data/src/core/ext/upb-generated/udpa/data/orca/v1/orca_load_report.upb.h +144 -0
  126. data/src/core/ext/upb-generated/validate/validate.upb.c +443 -0
  127. data/src/core/ext/upb-generated/validate/validate.upb.h +2037 -0
  128. data/src/core/lib/channel/channel_args.cc +21 -0
  129. data/src/core/lib/channel/channel_args.h +16 -2
  130. data/src/core/lib/channel/channel_stack.h +2 -1
  131. data/src/core/lib/channel/channelz.cc +54 -56
  132. data/src/core/lib/channel/channelz.h +29 -12
  133. data/src/core/lib/compression/compression.cc +2 -1
  134. data/src/core/lib/compression/compression_internal.h +8 -0
  135. data/src/core/lib/gpr/log_linux.cc +2 -2
  136. data/src/core/lib/gpr/log_posix.cc +2 -2
  137. data/src/core/lib/gpr/time_precise.cc +123 -36
  138. data/src/core/lib/gpr/time_precise.h +37 -0
  139. data/src/core/lib/gprpp/abstract.h +10 -0
  140. data/src/core/lib/gprpp/atomic.h +4 -0
  141. data/src/core/lib/gprpp/inlined_vector.h +20 -4
  142. data/src/core/lib/gprpp/map.h +109 -6
  143. data/src/core/lib/gprpp/memory.h +6 -0
  144. data/src/core/lib/gprpp/ref_counted_ptr.h +2 -0
  145. data/src/core/lib/iomgr/ev_epollex_linux.cc +29 -54
  146. data/src/core/lib/iomgr/exec_ctx.cc +27 -17
  147. data/src/core/lib/iomgr/exec_ctx.h +3 -0
  148. data/src/core/lib/iomgr/sockaddr_utils.cc +1 -3
  149. data/src/core/lib/iomgr/tcp_posix.cc +16 -25
  150. data/src/core/lib/iomgr/tcp_server_custom.cc +1 -1
  151. data/src/core/lib/iomgr/timer_manager.cc +8 -1
  152. data/src/core/lib/iomgr/timer_manager.h +2 -0
  153. data/src/core/lib/security/credentials/credentials.h +8 -2
  154. data/src/core/lib/security/credentials/tls/grpc_tls_credentials_options.cc +23 -0
  155. data/src/core/lib/security/credentials/tls/grpc_tls_credentials_options.h +3 -0
  156. data/src/core/lib/security/credentials/tls/spiffe_credentials.cc +3 -3
  157. data/src/core/lib/security/security_connector/ssl_utils.cc +1 -12
  158. data/src/core/lib/security/security_connector/ssl_utils.h +10 -6
  159. data/src/core/lib/security/security_connector/ssl_utils_config.cc +32 -0
  160. data/src/core/lib/security/security_connector/ssl_utils_config.h +30 -0
  161. data/src/core/lib/security/security_connector/tls/spiffe_security_connector.cc +161 -49
  162. data/src/core/lib/security/security_connector/tls/spiffe_security_connector.h +34 -1
  163. data/src/core/lib/slice/slice_intern.cc +17 -9
  164. data/src/core/lib/slice/slice_internal.h +34 -7
  165. data/src/core/lib/slice/slice_utils.h +7 -3
  166. data/src/core/lib/surface/call.cc +97 -57
  167. data/src/core/lib/surface/channel.cc +2 -2
  168. data/src/core/lib/surface/completion_queue.cc +10 -16
  169. data/src/core/lib/surface/init.cc +3 -0
  170. data/src/core/lib/surface/server.cc +11 -14
  171. data/src/core/lib/surface/validate_metadata.cc +4 -0
  172. data/src/core/lib/surface/version.cc +2 -2
  173. data/src/core/lib/transport/metadata.cc +4 -4
  174. data/src/core/lib/transport/metadata_batch.cc +72 -16
  175. data/src/core/lib/transport/metadata_batch.h +38 -0
  176. data/src/core/lib/transport/static_metadata.cc +814 -1023
  177. data/src/core/lib/transport/static_metadata.h +271 -213
  178. data/src/core/lib/transport/transport.h +12 -0
  179. data/src/core/plugin_registry/grpc_plugin_registry.cc +4 -0
  180. data/src/core/tsi/alts/handshaker/alts_handshaker_client.cc +104 -76
  181. data/src/core/tsi/alts/handshaker/alts_tsi_handshaker.cc +34 -16
  182. data/src/core/tsi/alts/handshaker/alts_tsi_handshaker.h +2 -2
  183. data/src/core/tsi/alts/handshaker/alts_tsi_utils.cc +10 -6
  184. data/src/core/tsi/alts/handshaker/alts_tsi_utils.h +4 -3
  185. data/src/core/tsi/alts/handshaker/transport_security_common_api.cc +74 -48
  186. data/src/core/tsi/alts/handshaker/transport_security_common_api.h +34 -26
  187. data/src/core/tsi/ssl_transport_security.cc +14 -6
  188. data/src/core/tsi/ssl_transport_security.h +4 -0
  189. data/src/ruby/ext/grpc/ext-export.clang +1 -0
  190. data/src/ruby/ext/grpc/ext-export.gcc +6 -0
  191. data/src/ruby/ext/grpc/extconf.rb +5 -0
  192. data/src/ruby/ext/grpc/rb_enable_cpp.cc +22 -0
  193. data/src/ruby/ext/grpc/rb_grpc.c +1 -42
  194. data/src/ruby/ext/grpc/rb_grpc_imports.generated.c +4 -0
  195. data/src/ruby/ext/grpc/rb_grpc_imports.generated.h +6 -0
  196. data/src/ruby/lib/grpc.rb +2 -0
  197. data/src/ruby/lib/grpc/core/status_codes.rb +135 -0
  198. data/src/ruby/lib/grpc/errors.rb +4 -7
  199. data/src/ruby/lib/grpc/google_rpc_status_utils.rb +9 -4
  200. data/src/ruby/lib/grpc/structs.rb +15 -0
  201. data/src/ruby/lib/grpc/version.rb +1 -1
  202. data/src/ruby/spec/errors_spec.rb +1 -0
  203. data/src/ruby/spec/pb/codegen/grpc/testing/package_options_import.proto +22 -0
  204. data/src/ruby/spec/pb/codegen/grpc/testing/package_options_ruby_style.proto +34 -0
  205. data/src/ruby/spec/pb/codegen/package_option_spec.rb +53 -29
  206. data/third_party/upb/upb/decode.c +604 -0
  207. data/third_party/upb/upb/decode.h +21 -0
  208. data/third_party/upb/upb/encode.c +378 -0
  209. data/third_party/upb/upb/encode.h +21 -0
  210. data/third_party/upb/upb/generated_util.h +105 -0
  211. data/third_party/upb/upb/msg.c +111 -0
  212. data/third_party/upb/upb/msg.h +69 -0
  213. data/third_party/upb/upb/port.c +27 -0
  214. data/third_party/upb/upb/port_def.inc +152 -0
  215. data/third_party/upb/upb/port_undef.inc +21 -0
  216. data/third_party/upb/upb/table.c +911 -0
  217. data/third_party/upb/upb/table.int.h +507 -0
  218. data/third_party/upb/upb/upb.c +261 -0
  219. data/third_party/upb/upb/upb.h +364 -0
  220. metadata +134 -55
  221. data/src/core/ext/filters/client_channel/health/health.pb.c +0 -23
  222. data/src/core/ext/filters/client_channel/health/health.pb.h +0 -73
  223. data/src/core/ext/filters/client_channel/lb_policy/grpclb/proto/grpc/lb/v1/google/protobuf/duration.pb.c +0 -19
  224. data/src/core/ext/filters/client_channel/lb_policy/grpclb/proto/grpc/lb/v1/google/protobuf/duration.pb.h +0 -54
  225. data/src/core/ext/filters/client_channel/lb_policy/grpclb/proto/grpc/lb/v1/google/protobuf/timestamp.pb.c +0 -19
  226. data/src/core/ext/filters/client_channel/lb_policy/grpclb/proto/grpc/lb/v1/google/protobuf/timestamp.pb.h +0 -54
  227. data/src/core/ext/filters/client_channel/lb_policy/grpclb/proto/grpc/lb/v1/load_balancer.pb.c +0 -89
  228. data/src/core/ext/filters/client_channel/lb_policy/grpclb/proto/grpc/lb/v1/load_balancer.pb.h +0 -164
  229. data/src/core/tsi/alts/handshaker/alts_handshaker_service_api.cc +0 -520
  230. data/src/core/tsi/alts/handshaker/alts_handshaker_service_api.h +0 -323
  231. data/src/core/tsi/alts/handshaker/alts_handshaker_service_api_util.cc +0 -145
  232. data/src/core/tsi/alts/handshaker/alts_handshaker_service_api_util.h +0 -149
  233. data/src/core/tsi/alts/handshaker/altscontext.pb.c +0 -47
  234. data/src/core/tsi/alts/handshaker/altscontext.pb.h +0 -63
  235. data/src/core/tsi/alts/handshaker/handshaker.pb.c +0 -122
  236. data/src/core/tsi/alts/handshaker/handshaker.pb.h +0 -254
  237. data/src/core/tsi/alts/handshaker/transport_security_common.pb.c +0 -49
  238. data/src/core/tsi/alts/handshaker/transport_security_common.pb.h +0 -78
  239. data/third_party/nanopb/pb.h +0 -579
  240. data/third_party/nanopb/pb_common.c +0 -97
  241. data/third_party/nanopb/pb_common.h +0 -42
  242. data/third_party/nanopb/pb_decode.c +0 -1347
  243. data/third_party/nanopb/pb_decode.h +0 -149
  244. data/third_party/nanopb/pb_encode.c +0 -696
  245. data/third_party/nanopb/pb_encode.h +0 -154
@@ -0,0 +1,17 @@
1
+ /* This file was generated by upbc (the upb compiler) from the input
2
+ * file:
3
+ *
4
+ * gogoproto/gogo.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 "gogoproto/gogo.upb.h"
12
+ #include "google/protobuf/descriptor.upb.h"
13
+
14
+ #include "upb/port_def.inc"
15
+
16
+ #include "upb/port_undef.inc"
17
+
@@ -0,0 +1,30 @@
1
+ /* This file was generated by upbc (the upb compiler) from the input
2
+ * file:
3
+ *
4
+ * gogoproto/gogo.proto
5
+ *
6
+ * Do not edit -- your changes will be discarded when the file is
7
+ * regenerated. */
8
+
9
+ #ifndef GOGOPROTO_GOGO_PROTO_UPB_H_
10
+ #define GOGOPROTO_GOGO_PROTO_UPB_H_
11
+
12
+ #include "upb/generated_util.h"
13
+ #include "upb/msg.h"
14
+ #include "upb/decode.h"
15
+ #include "upb/encode.h"
16
+
17
+ #include "upb/port_def.inc"
18
+
19
+ #ifdef __cplusplus
20
+ extern "C" {
21
+ #endif
22
+
23
+
24
+ #ifdef __cplusplus
25
+ } /* extern "C" */
26
+ #endif
27
+
28
+ #include "upb/port_undef.inc"
29
+
30
+ #endif /* GOGOPROTO_GOGO_PROTO_UPB_H_ */
@@ -0,0 +1,18 @@
1
+ /* This file was generated by upbc (the upb compiler) from the input
2
+ * file:
3
+ *
4
+ * google/api/annotations.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/annotations.upb.h"
12
+ #include "google/api/http.upb.h"
13
+ #include "google/protobuf/descriptor.upb.h"
14
+
15
+ #include "upb/port_def.inc"
16
+
17
+ #include "upb/port_undef.inc"
18
+
@@ -0,0 +1,30 @@
1
+ /* This file was generated by upbc (the upb compiler) from the input
2
+ * file:
3
+ *
4
+ * google/api/annotations.proto
5
+ *
6
+ * Do not edit -- your changes will be discarded when the file is
7
+ * regenerated. */
8
+
9
+ #ifndef GOOGLE_API_ANNOTATIONS_PROTO_UPB_H_
10
+ #define GOOGLE_API_ANNOTATIONS_PROTO_UPB_H_
11
+
12
+ #include "upb/generated_util.h"
13
+ #include "upb/msg.h"
14
+ #include "upb/decode.h"
15
+ #include "upb/encode.h"
16
+
17
+ #include "upb/port_def.inc"
18
+
19
+ #ifdef __cplusplus
20
+ extern "C" {
21
+ #endif
22
+
23
+
24
+ #ifdef __cplusplus
25
+ } /* extern "C" */
26
+ #endif
27
+
28
+ #include "upb/port_undef.inc"
29
+
30
+ #endif /* GOOGLE_API_ANNOTATIONS_PROTO_UPB_H_ */
@@ -0,0 +1,66 @@
1
+ /* This file was generated by upbc (the upb compiler) from the input
2
+ * file:
3
+ *
4
+ * google/api/http.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/http.upb.h"
12
+
13
+ #include "upb/port_def.inc"
14
+
15
+ static const upb_msglayout *const google_api_Http_submsgs[1] = {
16
+ &google_api_HttpRule_msginit,
17
+ };
18
+
19
+ static const upb_msglayout_field google_api_Http__fields[2] = {
20
+ {1, UPB_SIZE(4, 8), 0, 0, 11, 3},
21
+ {2, UPB_SIZE(0, 0), 0, 0, 8, 1},
22
+ };
23
+
24
+ const upb_msglayout google_api_Http_msginit = {
25
+ &google_api_Http_submsgs[0],
26
+ &google_api_Http__fields[0],
27
+ UPB_SIZE(8, 16), 2, false,
28
+ };
29
+
30
+ static const upb_msglayout *const google_api_HttpRule_submsgs[2] = {
31
+ &google_api_CustomHttpPattern_msginit,
32
+ &google_api_HttpRule_msginit,
33
+ };
34
+
35
+ static const upb_msglayout_field google_api_HttpRule__fields[10] = {
36
+ {1, UPB_SIZE(0, 0), 0, 0, 9, 1},
37
+ {2, UPB_SIZE(28, 56), UPB_SIZE(-37, -73), 0, 9, 1},
38
+ {3, UPB_SIZE(28, 56), UPB_SIZE(-37, -73), 0, 9, 1},
39
+ {4, UPB_SIZE(28, 56), UPB_SIZE(-37, -73), 0, 9, 1},
40
+ {5, UPB_SIZE(28, 56), UPB_SIZE(-37, -73), 0, 9, 1},
41
+ {6, UPB_SIZE(28, 56), UPB_SIZE(-37, -73), 0, 9, 1},
42
+ {7, UPB_SIZE(8, 16), 0, 0, 9, 1},
43
+ {8, UPB_SIZE(28, 56), UPB_SIZE(-37, -73), 0, 11, 1},
44
+ {11, UPB_SIZE(24, 48), 0, 1, 11, 3},
45
+ {12, UPB_SIZE(16, 32), 0, 0, 9, 1},
46
+ };
47
+
48
+ const upb_msglayout google_api_HttpRule_msginit = {
49
+ &google_api_HttpRule_submsgs[0],
50
+ &google_api_HttpRule__fields[0],
51
+ UPB_SIZE(40, 80), 10, false,
52
+ };
53
+
54
+ static const upb_msglayout_field google_api_CustomHttpPattern__fields[2] = {
55
+ {1, UPB_SIZE(0, 0), 0, 0, 9, 1},
56
+ {2, UPB_SIZE(8, 16), 0, 0, 9, 1},
57
+ };
58
+
59
+ const upb_msglayout google_api_CustomHttpPattern_msginit = {
60
+ NULL,
61
+ &google_api_CustomHttpPattern__fields[0],
62
+ UPB_SIZE(16, 32), 2, false,
63
+ };
64
+
65
+ #include "upb/port_undef.inc"
66
+
@@ -0,0 +1,190 @@
1
+ /* This file was generated by upbc (the upb compiler) from the input
2
+ * file:
3
+ *
4
+ * google/api/http.proto
5
+ *
6
+ * Do not edit -- your changes will be discarded when the file is
7
+ * regenerated. */
8
+
9
+ #ifndef GOOGLE_API_HTTP_PROTO_UPB_H_
10
+ #define GOOGLE_API_HTTP_PROTO_UPB_H_
11
+
12
+ #include "upb/generated_util.h"
13
+ #include "upb/msg.h"
14
+ #include "upb/decode.h"
15
+ #include "upb/encode.h"
16
+
17
+ #include "upb/port_def.inc"
18
+
19
+ #ifdef __cplusplus
20
+ extern "C" {
21
+ #endif
22
+
23
+ struct google_api_Http;
24
+ struct google_api_HttpRule;
25
+ struct google_api_CustomHttpPattern;
26
+ typedef struct google_api_Http google_api_Http;
27
+ typedef struct google_api_HttpRule google_api_HttpRule;
28
+ typedef struct google_api_CustomHttpPattern google_api_CustomHttpPattern;
29
+ extern const upb_msglayout google_api_Http_msginit;
30
+ extern const upb_msglayout google_api_HttpRule_msginit;
31
+ extern const upb_msglayout google_api_CustomHttpPattern_msginit;
32
+
33
+
34
+ /* google.api.Http */
35
+
36
+ UPB_INLINE google_api_Http *google_api_Http_new(upb_arena *arena) {
37
+ return (google_api_Http *)upb_msg_new(&google_api_Http_msginit, arena);
38
+ }
39
+ UPB_INLINE google_api_Http *google_api_Http_parse(const char *buf, size_t size,
40
+ upb_arena *arena) {
41
+ google_api_Http *ret = google_api_Http_new(arena);
42
+ return (ret && upb_decode(buf, size, ret, &google_api_Http_msginit, arena)) ? ret : NULL;
43
+ }
44
+ UPB_INLINE char *google_api_Http_serialize(const google_api_Http *msg, upb_arena *arena, size_t *len) {
45
+ return upb_encode(msg, &google_api_Http_msginit, arena, len);
46
+ }
47
+
48
+ UPB_INLINE const google_api_HttpRule* const* google_api_Http_rules(const google_api_Http *msg, size_t *len) { return (const google_api_HttpRule* const*)_upb_array_accessor(msg, UPB_SIZE(4, 8), len); }
49
+ UPB_INLINE bool google_api_Http_fully_decode_reserved_expansion(const google_api_Http *msg) { return UPB_FIELD_AT(msg, bool, UPB_SIZE(0, 0)); }
50
+
51
+ UPB_INLINE google_api_HttpRule** google_api_Http_mutable_rules(google_api_Http *msg, size_t *len) {
52
+ return (google_api_HttpRule**)_upb_array_mutable_accessor(msg, UPB_SIZE(4, 8), len);
53
+ }
54
+ UPB_INLINE google_api_HttpRule** google_api_Http_resize_rules(google_api_Http *msg, size_t len, upb_arena *arena) {
55
+ return (google_api_HttpRule**)_upb_array_resize_accessor(msg, UPB_SIZE(4, 8), len, UPB_SIZE(4, 8), UPB_TYPE_MESSAGE, arena);
56
+ }
57
+ UPB_INLINE struct google_api_HttpRule* google_api_Http_add_rules(google_api_Http *msg, upb_arena *arena) {
58
+ struct google_api_HttpRule* sub = (struct google_api_HttpRule*)upb_msg_new(&google_api_HttpRule_msginit, arena);
59
+ bool ok = _upb_array_append_accessor(
60
+ msg, UPB_SIZE(4, 8), UPB_SIZE(4, 8), UPB_TYPE_MESSAGE, &sub, arena);
61
+ if (!ok) return NULL;
62
+ return sub;
63
+ }
64
+ UPB_INLINE void google_api_Http_set_fully_decode_reserved_expansion(google_api_Http *msg, bool value) {
65
+ UPB_FIELD_AT(msg, bool, UPB_SIZE(0, 0)) = value;
66
+ }
67
+
68
+ /* google.api.HttpRule */
69
+
70
+ UPB_INLINE google_api_HttpRule *google_api_HttpRule_new(upb_arena *arena) {
71
+ return (google_api_HttpRule *)upb_msg_new(&google_api_HttpRule_msginit, arena);
72
+ }
73
+ UPB_INLINE google_api_HttpRule *google_api_HttpRule_parse(const char *buf, size_t size,
74
+ upb_arena *arena) {
75
+ google_api_HttpRule *ret = google_api_HttpRule_new(arena);
76
+ return (ret && upb_decode(buf, size, ret, &google_api_HttpRule_msginit, arena)) ? ret : NULL;
77
+ }
78
+ UPB_INLINE char *google_api_HttpRule_serialize(const google_api_HttpRule *msg, upb_arena *arena, size_t *len) {
79
+ return upb_encode(msg, &google_api_HttpRule_msginit, arena, len);
80
+ }
81
+
82
+ typedef enum {
83
+ google_api_HttpRule_pattern_get = 2,
84
+ google_api_HttpRule_pattern_put = 3,
85
+ google_api_HttpRule_pattern_post = 4,
86
+ google_api_HttpRule_pattern_delete = 5,
87
+ google_api_HttpRule_pattern_patch = 6,
88
+ google_api_HttpRule_pattern_custom = 8,
89
+ google_api_HttpRule_pattern_NOT_SET = 0
90
+ } google_api_HttpRule_pattern_oneofcases;
91
+ UPB_INLINE google_api_HttpRule_pattern_oneofcases google_api_HttpRule_pattern_case(const google_api_HttpRule* msg) { return (google_api_HttpRule_pattern_oneofcases)UPB_FIELD_AT(msg, int32_t, UPB_SIZE(36, 72)); }
92
+
93
+ UPB_INLINE upb_strview google_api_HttpRule_selector(const google_api_HttpRule *msg) { return UPB_FIELD_AT(msg, upb_strview, UPB_SIZE(0, 0)); }
94
+ UPB_INLINE bool google_api_HttpRule_has_get(const google_api_HttpRule *msg) { return _upb_has_oneof_field(msg, UPB_SIZE(36, 72), 2); }
95
+ UPB_INLINE upb_strview google_api_HttpRule_get(const google_api_HttpRule *msg) { return UPB_READ_ONEOF(msg, upb_strview, UPB_SIZE(28, 56), UPB_SIZE(36, 72), 2, upb_strview_make("", strlen(""))); }
96
+ UPB_INLINE bool google_api_HttpRule_has_put(const google_api_HttpRule *msg) { return _upb_has_oneof_field(msg, UPB_SIZE(36, 72), 3); }
97
+ UPB_INLINE upb_strview google_api_HttpRule_put(const google_api_HttpRule *msg) { return UPB_READ_ONEOF(msg, upb_strview, UPB_SIZE(28, 56), UPB_SIZE(36, 72), 3, upb_strview_make("", strlen(""))); }
98
+ UPB_INLINE bool google_api_HttpRule_has_post(const google_api_HttpRule *msg) { return _upb_has_oneof_field(msg, UPB_SIZE(36, 72), 4); }
99
+ UPB_INLINE upb_strview google_api_HttpRule_post(const google_api_HttpRule *msg) { return UPB_READ_ONEOF(msg, upb_strview, UPB_SIZE(28, 56), UPB_SIZE(36, 72), 4, upb_strview_make("", strlen(""))); }
100
+ UPB_INLINE bool google_api_HttpRule_has_delete(const google_api_HttpRule *msg) { return _upb_has_oneof_field(msg, UPB_SIZE(36, 72), 5); }
101
+ UPB_INLINE upb_strview google_api_HttpRule_delete(const google_api_HttpRule *msg) { return UPB_READ_ONEOF(msg, upb_strview, UPB_SIZE(28, 56), UPB_SIZE(36, 72), 5, upb_strview_make("", strlen(""))); }
102
+ UPB_INLINE bool google_api_HttpRule_has_patch(const google_api_HttpRule *msg) { return _upb_has_oneof_field(msg, UPB_SIZE(36, 72), 6); }
103
+ UPB_INLINE upb_strview google_api_HttpRule_patch(const google_api_HttpRule *msg) { return UPB_READ_ONEOF(msg, upb_strview, UPB_SIZE(28, 56), UPB_SIZE(36, 72), 6, upb_strview_make("", strlen(""))); }
104
+ UPB_INLINE upb_strview google_api_HttpRule_body(const google_api_HttpRule *msg) { return UPB_FIELD_AT(msg, upb_strview, UPB_SIZE(8, 16)); }
105
+ UPB_INLINE bool google_api_HttpRule_has_custom(const google_api_HttpRule *msg) { return _upb_has_oneof_field(msg, UPB_SIZE(36, 72), 8); }
106
+ UPB_INLINE const google_api_CustomHttpPattern* google_api_HttpRule_custom(const google_api_HttpRule *msg) { return UPB_READ_ONEOF(msg, const google_api_CustomHttpPattern*, UPB_SIZE(28, 56), UPB_SIZE(36, 72), 8, NULL); }
107
+ UPB_INLINE const google_api_HttpRule* const* google_api_HttpRule_additional_bindings(const google_api_HttpRule *msg, size_t *len) { return (const google_api_HttpRule* const*)_upb_array_accessor(msg, UPB_SIZE(24, 48), len); }
108
+ UPB_INLINE upb_strview google_api_HttpRule_response_body(const google_api_HttpRule *msg) { return UPB_FIELD_AT(msg, upb_strview, UPB_SIZE(16, 32)); }
109
+
110
+ UPB_INLINE void google_api_HttpRule_set_selector(google_api_HttpRule *msg, upb_strview value) {
111
+ UPB_FIELD_AT(msg, upb_strview, UPB_SIZE(0, 0)) = value;
112
+ }
113
+ UPB_INLINE void google_api_HttpRule_set_get(google_api_HttpRule *msg, upb_strview value) {
114
+ UPB_WRITE_ONEOF(msg, upb_strview, UPB_SIZE(28, 56), value, UPB_SIZE(36, 72), 2);
115
+ }
116
+ UPB_INLINE void google_api_HttpRule_set_put(google_api_HttpRule *msg, upb_strview value) {
117
+ UPB_WRITE_ONEOF(msg, upb_strview, UPB_SIZE(28, 56), value, UPB_SIZE(36, 72), 3);
118
+ }
119
+ UPB_INLINE void google_api_HttpRule_set_post(google_api_HttpRule *msg, upb_strview value) {
120
+ UPB_WRITE_ONEOF(msg, upb_strview, UPB_SIZE(28, 56), value, UPB_SIZE(36, 72), 4);
121
+ }
122
+ UPB_INLINE void google_api_HttpRule_set_delete(google_api_HttpRule *msg, upb_strview value) {
123
+ UPB_WRITE_ONEOF(msg, upb_strview, UPB_SIZE(28, 56), value, UPB_SIZE(36, 72), 5);
124
+ }
125
+ UPB_INLINE void google_api_HttpRule_set_patch(google_api_HttpRule *msg, upb_strview value) {
126
+ UPB_WRITE_ONEOF(msg, upb_strview, UPB_SIZE(28, 56), value, UPB_SIZE(36, 72), 6);
127
+ }
128
+ UPB_INLINE void google_api_HttpRule_set_body(google_api_HttpRule *msg, upb_strview value) {
129
+ UPB_FIELD_AT(msg, upb_strview, UPB_SIZE(8, 16)) = value;
130
+ }
131
+ UPB_INLINE void google_api_HttpRule_set_custom(google_api_HttpRule *msg, google_api_CustomHttpPattern* value) {
132
+ UPB_WRITE_ONEOF(msg, google_api_CustomHttpPattern*, UPB_SIZE(28, 56), value, UPB_SIZE(36, 72), 8);
133
+ }
134
+ UPB_INLINE struct google_api_CustomHttpPattern* google_api_HttpRule_mutable_custom(google_api_HttpRule *msg, upb_arena *arena) {
135
+ struct google_api_CustomHttpPattern* sub = (struct google_api_CustomHttpPattern*)google_api_HttpRule_custom(msg);
136
+ if (sub == NULL) {
137
+ sub = (struct google_api_CustomHttpPattern*)upb_msg_new(&google_api_CustomHttpPattern_msginit, arena);
138
+ if (!sub) return NULL;
139
+ google_api_HttpRule_set_custom(msg, sub);
140
+ }
141
+ return sub;
142
+ }
143
+ UPB_INLINE google_api_HttpRule** google_api_HttpRule_mutable_additional_bindings(google_api_HttpRule *msg, size_t *len) {
144
+ return (google_api_HttpRule**)_upb_array_mutable_accessor(msg, UPB_SIZE(24, 48), len);
145
+ }
146
+ UPB_INLINE google_api_HttpRule** google_api_HttpRule_resize_additional_bindings(google_api_HttpRule *msg, size_t len, upb_arena *arena) {
147
+ return (google_api_HttpRule**)_upb_array_resize_accessor(msg, UPB_SIZE(24, 48), len, UPB_SIZE(4, 8), UPB_TYPE_MESSAGE, arena);
148
+ }
149
+ UPB_INLINE struct google_api_HttpRule* google_api_HttpRule_add_additional_bindings(google_api_HttpRule *msg, upb_arena *arena) {
150
+ struct google_api_HttpRule* sub = (struct google_api_HttpRule*)upb_msg_new(&google_api_HttpRule_msginit, arena);
151
+ bool ok = _upb_array_append_accessor(
152
+ msg, UPB_SIZE(24, 48), UPB_SIZE(4, 8), UPB_TYPE_MESSAGE, &sub, arena);
153
+ if (!ok) return NULL;
154
+ return sub;
155
+ }
156
+ UPB_INLINE void google_api_HttpRule_set_response_body(google_api_HttpRule *msg, upb_strview value) {
157
+ UPB_FIELD_AT(msg, upb_strview, UPB_SIZE(16, 32)) = value;
158
+ }
159
+
160
+ /* google.api.CustomHttpPattern */
161
+
162
+ UPB_INLINE google_api_CustomHttpPattern *google_api_CustomHttpPattern_new(upb_arena *arena) {
163
+ return (google_api_CustomHttpPattern *)upb_msg_new(&google_api_CustomHttpPattern_msginit, arena);
164
+ }
165
+ UPB_INLINE google_api_CustomHttpPattern *google_api_CustomHttpPattern_parse(const char *buf, size_t size,
166
+ upb_arena *arena) {
167
+ google_api_CustomHttpPattern *ret = google_api_CustomHttpPattern_new(arena);
168
+ return (ret && upb_decode(buf, size, ret, &google_api_CustomHttpPattern_msginit, arena)) ? ret : NULL;
169
+ }
170
+ UPB_INLINE char *google_api_CustomHttpPattern_serialize(const google_api_CustomHttpPattern *msg, upb_arena *arena, size_t *len) {
171
+ return upb_encode(msg, &google_api_CustomHttpPattern_msginit, arena, len);
172
+ }
173
+
174
+ UPB_INLINE upb_strview google_api_CustomHttpPattern_kind(const google_api_CustomHttpPattern *msg) { return UPB_FIELD_AT(msg, upb_strview, UPB_SIZE(0, 0)); }
175
+ UPB_INLINE upb_strview google_api_CustomHttpPattern_path(const google_api_CustomHttpPattern *msg) { return UPB_FIELD_AT(msg, upb_strview, UPB_SIZE(8, 16)); }
176
+
177
+ UPB_INLINE void google_api_CustomHttpPattern_set_kind(google_api_CustomHttpPattern *msg, upb_strview value) {
178
+ UPB_FIELD_AT(msg, upb_strview, UPB_SIZE(0, 0)) = value;
179
+ }
180
+ UPB_INLINE void google_api_CustomHttpPattern_set_path(google_api_CustomHttpPattern *msg, upb_strview value) {
181
+ UPB_FIELD_AT(msg, upb_strview, UPB_SIZE(8, 16)) = value;
182
+ }
183
+
184
+ #ifdef __cplusplus
185
+ } /* extern "C" */
186
+ #endif
187
+
188
+ #include "upb/port_undef.inc"
189
+
190
+ #endif /* GOOGLE_API_HTTP_PROTO_UPB_H_ */
@@ -0,0 +1,27 @@
1
+ /* This file was generated by upbc (the upb compiler) from the input
2
+ * file:
3
+ *
4
+ * google/protobuf/any.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/protobuf/any.upb.h"
12
+
13
+ #include "upb/port_def.inc"
14
+
15
+ static const upb_msglayout_field google_protobuf_Any__fields[2] = {
16
+ {1, UPB_SIZE(0, 0), 0, 0, 9, 1},
17
+ {2, UPB_SIZE(8, 16), 0, 0, 12, 1},
18
+ };
19
+
20
+ const upb_msglayout google_protobuf_Any_msginit = {
21
+ NULL,
22
+ &google_protobuf_Any__fields[0],
23
+ UPB_SIZE(16, 32), 2, false,
24
+ };
25
+
26
+ #include "upb/port_undef.inc"
27
+
@@ -0,0 +1,58 @@
1
+ /* This file was generated by upbc (the upb compiler) from the input
2
+ * file:
3
+ *
4
+ * google/protobuf/any.proto
5
+ *
6
+ * Do not edit -- your changes will be discarded when the file is
7
+ * regenerated. */
8
+
9
+ #ifndef GOOGLE_PROTOBUF_ANY_PROTO_UPB_H_
10
+ #define GOOGLE_PROTOBUF_ANY_PROTO_UPB_H_
11
+
12
+ #include "upb/generated_util.h"
13
+ #include "upb/msg.h"
14
+ #include "upb/decode.h"
15
+ #include "upb/encode.h"
16
+
17
+ #include "upb/port_def.inc"
18
+
19
+ #ifdef __cplusplus
20
+ extern "C" {
21
+ #endif
22
+
23
+ struct google_protobuf_Any;
24
+ typedef struct google_protobuf_Any google_protobuf_Any;
25
+ extern const upb_msglayout google_protobuf_Any_msginit;
26
+
27
+
28
+ /* google.protobuf.Any */
29
+
30
+ UPB_INLINE google_protobuf_Any *google_protobuf_Any_new(upb_arena *arena) {
31
+ return (google_protobuf_Any *)upb_msg_new(&google_protobuf_Any_msginit, arena);
32
+ }
33
+ UPB_INLINE google_protobuf_Any *google_protobuf_Any_parse(const char *buf, size_t size,
34
+ upb_arena *arena) {
35
+ google_protobuf_Any *ret = google_protobuf_Any_new(arena);
36
+ return (ret && upb_decode(buf, size, ret, &google_protobuf_Any_msginit, arena)) ? ret : NULL;
37
+ }
38
+ UPB_INLINE char *google_protobuf_Any_serialize(const google_protobuf_Any *msg, upb_arena *arena, size_t *len) {
39
+ return upb_encode(msg, &google_protobuf_Any_msginit, arena, len);
40
+ }
41
+
42
+ UPB_INLINE upb_strview google_protobuf_Any_type_url(const google_protobuf_Any *msg) { return UPB_FIELD_AT(msg, upb_strview, UPB_SIZE(0, 0)); }
43
+ UPB_INLINE upb_strview google_protobuf_Any_value(const google_protobuf_Any *msg) { return UPB_FIELD_AT(msg, upb_strview, UPB_SIZE(8, 16)); }
44
+
45
+ UPB_INLINE void google_protobuf_Any_set_type_url(google_protobuf_Any *msg, upb_strview value) {
46
+ UPB_FIELD_AT(msg, upb_strview, UPB_SIZE(0, 0)) = value;
47
+ }
48
+ UPB_INLINE void google_protobuf_Any_set_value(google_protobuf_Any *msg, upb_strview value) {
49
+ UPB_FIELD_AT(msg, upb_strview, UPB_SIZE(8, 16)) = value;
50
+ }
51
+
52
+ #ifdef __cplusplus
53
+ } /* extern "C" */
54
+ #endif
55
+
56
+ #include "upb/port_undef.inc"
57
+
58
+ #endif /* GOOGLE_PROTOBUF_ANY_PROTO_UPB_H_ */
@@ -0,0 +1,485 @@
1
+ /* This file was generated by upbc (the upb compiler) from the input
2
+ * file:
3
+ *
4
+ * google/protobuf/descriptor.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/protobuf/descriptor.upb.h"
12
+
13
+ #include "upb/port_def.inc"
14
+
15
+ static const upb_msglayout *const google_protobuf_FileDescriptorSet_submsgs[1] = {
16
+ &google_protobuf_FileDescriptorProto_msginit,
17
+ };
18
+
19
+ static const upb_msglayout_field google_protobuf_FileDescriptorSet__fields[1] = {
20
+ {1, UPB_SIZE(0, 0), 0, 0, 11, 3},
21
+ };
22
+
23
+ const upb_msglayout google_protobuf_FileDescriptorSet_msginit = {
24
+ &google_protobuf_FileDescriptorSet_submsgs[0],
25
+ &google_protobuf_FileDescriptorSet__fields[0],
26
+ UPB_SIZE(4, 8), 1, false,
27
+ };
28
+
29
+ static const upb_msglayout *const google_protobuf_FileDescriptorProto_submsgs[6] = {
30
+ &google_protobuf_DescriptorProto_msginit,
31
+ &google_protobuf_EnumDescriptorProto_msginit,
32
+ &google_protobuf_FieldDescriptorProto_msginit,
33
+ &google_protobuf_FileOptions_msginit,
34
+ &google_protobuf_ServiceDescriptorProto_msginit,
35
+ &google_protobuf_SourceCodeInfo_msginit,
36
+ };
37
+
38
+ static const upb_msglayout_field google_protobuf_FileDescriptorProto__fields[12] = {
39
+ {1, UPB_SIZE(4, 8), 1, 0, 9, 1},
40
+ {2, UPB_SIZE(12, 24), 2, 0, 9, 1},
41
+ {3, UPB_SIZE(36, 72), 0, 0, 9, 3},
42
+ {4, UPB_SIZE(40, 80), 0, 0, 11, 3},
43
+ {5, UPB_SIZE(44, 88), 0, 1, 11, 3},
44
+ {6, UPB_SIZE(48, 96), 0, 4, 11, 3},
45
+ {7, UPB_SIZE(52, 104), 0, 2, 11, 3},
46
+ {8, UPB_SIZE(28, 56), 4, 3, 11, 1},
47
+ {9, UPB_SIZE(32, 64), 5, 5, 11, 1},
48
+ {10, UPB_SIZE(56, 112), 0, 0, 5, 3},
49
+ {11, UPB_SIZE(60, 120), 0, 0, 5, 3},
50
+ {12, UPB_SIZE(20, 40), 3, 0, 9, 1},
51
+ };
52
+
53
+ const upb_msglayout google_protobuf_FileDescriptorProto_msginit = {
54
+ &google_protobuf_FileDescriptorProto_submsgs[0],
55
+ &google_protobuf_FileDescriptorProto__fields[0],
56
+ UPB_SIZE(64, 128), 12, false,
57
+ };
58
+
59
+ static const upb_msglayout *const google_protobuf_DescriptorProto_submsgs[8] = {
60
+ &google_protobuf_DescriptorProto_msginit,
61
+ &google_protobuf_DescriptorProto_ExtensionRange_msginit,
62
+ &google_protobuf_DescriptorProto_ReservedRange_msginit,
63
+ &google_protobuf_EnumDescriptorProto_msginit,
64
+ &google_protobuf_FieldDescriptorProto_msginit,
65
+ &google_protobuf_MessageOptions_msginit,
66
+ &google_protobuf_OneofDescriptorProto_msginit,
67
+ };
68
+
69
+ static const upb_msglayout_field google_protobuf_DescriptorProto__fields[10] = {
70
+ {1, UPB_SIZE(4, 8), 1, 0, 9, 1},
71
+ {2, UPB_SIZE(16, 32), 0, 4, 11, 3},
72
+ {3, UPB_SIZE(20, 40), 0, 0, 11, 3},
73
+ {4, UPB_SIZE(24, 48), 0, 3, 11, 3},
74
+ {5, UPB_SIZE(28, 56), 0, 1, 11, 3},
75
+ {6, UPB_SIZE(32, 64), 0, 4, 11, 3},
76
+ {7, UPB_SIZE(12, 24), 2, 5, 11, 1},
77
+ {8, UPB_SIZE(36, 72), 0, 6, 11, 3},
78
+ {9, UPB_SIZE(40, 80), 0, 2, 11, 3},
79
+ {10, UPB_SIZE(44, 88), 0, 0, 9, 3},
80
+ };
81
+
82
+ const upb_msglayout google_protobuf_DescriptorProto_msginit = {
83
+ &google_protobuf_DescriptorProto_submsgs[0],
84
+ &google_protobuf_DescriptorProto__fields[0],
85
+ UPB_SIZE(48, 96), 10, false,
86
+ };
87
+
88
+ static const upb_msglayout *const google_protobuf_DescriptorProto_ExtensionRange_submsgs[1] = {
89
+ &google_protobuf_ExtensionRangeOptions_msginit,
90
+ };
91
+
92
+ static const upb_msglayout_field google_protobuf_DescriptorProto_ExtensionRange__fields[3] = {
93
+ {1, UPB_SIZE(4, 4), 1, 0, 5, 1},
94
+ {2, UPB_SIZE(8, 8), 2, 0, 5, 1},
95
+ {3, UPB_SIZE(12, 16), 3, 0, 11, 1},
96
+ };
97
+
98
+ const upb_msglayout google_protobuf_DescriptorProto_ExtensionRange_msginit = {
99
+ &google_protobuf_DescriptorProto_ExtensionRange_submsgs[0],
100
+ &google_protobuf_DescriptorProto_ExtensionRange__fields[0],
101
+ UPB_SIZE(16, 24), 3, false,
102
+ };
103
+
104
+ static const upb_msglayout_field google_protobuf_DescriptorProto_ReservedRange__fields[2] = {
105
+ {1, UPB_SIZE(4, 4), 1, 0, 5, 1},
106
+ {2, UPB_SIZE(8, 8), 2, 0, 5, 1},
107
+ };
108
+
109
+ const upb_msglayout google_protobuf_DescriptorProto_ReservedRange_msginit = {
110
+ NULL,
111
+ &google_protobuf_DescriptorProto_ReservedRange__fields[0],
112
+ UPB_SIZE(12, 12), 2, false,
113
+ };
114
+
115
+ static const upb_msglayout *const google_protobuf_ExtensionRangeOptions_submsgs[1] = {
116
+ &google_protobuf_UninterpretedOption_msginit,
117
+ };
118
+
119
+ static const upb_msglayout_field google_protobuf_ExtensionRangeOptions__fields[1] = {
120
+ {999, UPB_SIZE(0, 0), 0, 0, 11, 3},
121
+ };
122
+
123
+ const upb_msglayout google_protobuf_ExtensionRangeOptions_msginit = {
124
+ &google_protobuf_ExtensionRangeOptions_submsgs[0],
125
+ &google_protobuf_ExtensionRangeOptions__fields[0],
126
+ UPB_SIZE(4, 8), 1, false,
127
+ };
128
+
129
+ static const upb_msglayout *const google_protobuf_FieldDescriptorProto_submsgs[1] = {
130
+ &google_protobuf_FieldOptions_msginit,
131
+ };
132
+
133
+ static const upb_msglayout_field google_protobuf_FieldDescriptorProto__fields[10] = {
134
+ {1, UPB_SIZE(32, 32), 5, 0, 9, 1},
135
+ {2, UPB_SIZE(40, 48), 6, 0, 9, 1},
136
+ {3, UPB_SIZE(24, 24), 3, 0, 5, 1},
137
+ {4, UPB_SIZE(8, 8), 1, 0, 14, 1},
138
+ {5, UPB_SIZE(16, 16), 2, 0, 14, 1},
139
+ {6, UPB_SIZE(48, 64), 7, 0, 9, 1},
140
+ {7, UPB_SIZE(56, 80), 8, 0, 9, 1},
141
+ {8, UPB_SIZE(72, 112), 10, 0, 11, 1},
142
+ {9, UPB_SIZE(28, 28), 4, 0, 5, 1},
143
+ {10, UPB_SIZE(64, 96), 9, 0, 9, 1},
144
+ };
145
+
146
+ const upb_msglayout google_protobuf_FieldDescriptorProto_msginit = {
147
+ &google_protobuf_FieldDescriptorProto_submsgs[0],
148
+ &google_protobuf_FieldDescriptorProto__fields[0],
149
+ UPB_SIZE(80, 128), 10, false,
150
+ };
151
+
152
+ static const upb_msglayout *const google_protobuf_OneofDescriptorProto_submsgs[1] = {
153
+ &google_protobuf_OneofOptions_msginit,
154
+ };
155
+
156
+ static const upb_msglayout_field google_protobuf_OneofDescriptorProto__fields[2] = {
157
+ {1, UPB_SIZE(4, 8), 1, 0, 9, 1},
158
+ {2, UPB_SIZE(12, 24), 2, 0, 11, 1},
159
+ };
160
+
161
+ const upb_msglayout google_protobuf_OneofDescriptorProto_msginit = {
162
+ &google_protobuf_OneofDescriptorProto_submsgs[0],
163
+ &google_protobuf_OneofDescriptorProto__fields[0],
164
+ UPB_SIZE(16, 32), 2, false,
165
+ };
166
+
167
+ static const upb_msglayout *const google_protobuf_EnumDescriptorProto_submsgs[3] = {
168
+ &google_protobuf_EnumDescriptorProto_EnumReservedRange_msginit,
169
+ &google_protobuf_EnumOptions_msginit,
170
+ &google_protobuf_EnumValueDescriptorProto_msginit,
171
+ };
172
+
173
+ static const upb_msglayout_field google_protobuf_EnumDescriptorProto__fields[5] = {
174
+ {1, UPB_SIZE(4, 8), 1, 0, 9, 1},
175
+ {2, UPB_SIZE(16, 32), 0, 2, 11, 3},
176
+ {3, UPB_SIZE(12, 24), 2, 1, 11, 1},
177
+ {4, UPB_SIZE(20, 40), 0, 0, 11, 3},
178
+ {5, UPB_SIZE(24, 48), 0, 0, 9, 3},
179
+ };
180
+
181
+ const upb_msglayout google_protobuf_EnumDescriptorProto_msginit = {
182
+ &google_protobuf_EnumDescriptorProto_submsgs[0],
183
+ &google_protobuf_EnumDescriptorProto__fields[0],
184
+ UPB_SIZE(32, 64), 5, false,
185
+ };
186
+
187
+ static const upb_msglayout_field google_protobuf_EnumDescriptorProto_EnumReservedRange__fields[2] = {
188
+ {1, UPB_SIZE(4, 4), 1, 0, 5, 1},
189
+ {2, UPB_SIZE(8, 8), 2, 0, 5, 1},
190
+ };
191
+
192
+ const upb_msglayout google_protobuf_EnumDescriptorProto_EnumReservedRange_msginit = {
193
+ NULL,
194
+ &google_protobuf_EnumDescriptorProto_EnumReservedRange__fields[0],
195
+ UPB_SIZE(12, 12), 2, false,
196
+ };
197
+
198
+ static const upb_msglayout *const google_protobuf_EnumValueDescriptorProto_submsgs[1] = {
199
+ &google_protobuf_EnumValueOptions_msginit,
200
+ };
201
+
202
+ static const upb_msglayout_field google_protobuf_EnumValueDescriptorProto__fields[3] = {
203
+ {1, UPB_SIZE(8, 8), 2, 0, 9, 1},
204
+ {2, UPB_SIZE(4, 4), 1, 0, 5, 1},
205
+ {3, UPB_SIZE(16, 24), 3, 0, 11, 1},
206
+ };
207
+
208
+ const upb_msglayout google_protobuf_EnumValueDescriptorProto_msginit = {
209
+ &google_protobuf_EnumValueDescriptorProto_submsgs[0],
210
+ &google_protobuf_EnumValueDescriptorProto__fields[0],
211
+ UPB_SIZE(24, 32), 3, false,
212
+ };
213
+
214
+ static const upb_msglayout *const google_protobuf_ServiceDescriptorProto_submsgs[2] = {
215
+ &google_protobuf_MethodDescriptorProto_msginit,
216
+ &google_protobuf_ServiceOptions_msginit,
217
+ };
218
+
219
+ static const upb_msglayout_field google_protobuf_ServiceDescriptorProto__fields[3] = {
220
+ {1, UPB_SIZE(4, 8), 1, 0, 9, 1},
221
+ {2, UPB_SIZE(16, 32), 0, 0, 11, 3},
222
+ {3, UPB_SIZE(12, 24), 2, 1, 11, 1},
223
+ };
224
+
225
+ const upb_msglayout google_protobuf_ServiceDescriptorProto_msginit = {
226
+ &google_protobuf_ServiceDescriptorProto_submsgs[0],
227
+ &google_protobuf_ServiceDescriptorProto__fields[0],
228
+ UPB_SIZE(24, 48), 3, false,
229
+ };
230
+
231
+ static const upb_msglayout *const google_protobuf_MethodDescriptorProto_submsgs[1] = {
232
+ &google_protobuf_MethodOptions_msginit,
233
+ };
234
+
235
+ static const upb_msglayout_field google_protobuf_MethodDescriptorProto__fields[6] = {
236
+ {1, UPB_SIZE(4, 8), 3, 0, 9, 1},
237
+ {2, UPB_SIZE(12, 24), 4, 0, 9, 1},
238
+ {3, UPB_SIZE(20, 40), 5, 0, 9, 1},
239
+ {4, UPB_SIZE(28, 56), 6, 0, 11, 1},
240
+ {5, UPB_SIZE(1, 1), 1, 0, 8, 1},
241
+ {6, UPB_SIZE(2, 2), 2, 0, 8, 1},
242
+ };
243
+
244
+ const upb_msglayout google_protobuf_MethodDescriptorProto_msginit = {
245
+ &google_protobuf_MethodDescriptorProto_submsgs[0],
246
+ &google_protobuf_MethodDescriptorProto__fields[0],
247
+ UPB_SIZE(32, 64), 6, false,
248
+ };
249
+
250
+ static const upb_msglayout *const google_protobuf_FileOptions_submsgs[1] = {
251
+ &google_protobuf_UninterpretedOption_msginit,
252
+ };
253
+
254
+ static const upb_msglayout_field google_protobuf_FileOptions__fields[21] = {
255
+ {1, UPB_SIZE(28, 32), 11, 0, 9, 1},
256
+ {8, UPB_SIZE(36, 48), 12, 0, 9, 1},
257
+ {9, UPB_SIZE(8, 8), 1, 0, 14, 1},
258
+ {10, UPB_SIZE(16, 16), 2, 0, 8, 1},
259
+ {11, UPB_SIZE(44, 64), 13, 0, 9, 1},
260
+ {16, UPB_SIZE(17, 17), 3, 0, 8, 1},
261
+ {17, UPB_SIZE(18, 18), 4, 0, 8, 1},
262
+ {18, UPB_SIZE(19, 19), 5, 0, 8, 1},
263
+ {20, UPB_SIZE(20, 20), 6, 0, 8, 1},
264
+ {23, UPB_SIZE(21, 21), 7, 0, 8, 1},
265
+ {27, UPB_SIZE(22, 22), 8, 0, 8, 1},
266
+ {31, UPB_SIZE(23, 23), 9, 0, 8, 1},
267
+ {36, UPB_SIZE(52, 80), 14, 0, 9, 1},
268
+ {37, UPB_SIZE(60, 96), 15, 0, 9, 1},
269
+ {39, UPB_SIZE(68, 112), 16, 0, 9, 1},
270
+ {40, UPB_SIZE(76, 128), 17, 0, 9, 1},
271
+ {41, UPB_SIZE(84, 144), 18, 0, 9, 1},
272
+ {42, UPB_SIZE(24, 24), 10, 0, 8, 1},
273
+ {44, UPB_SIZE(92, 160), 19, 0, 9, 1},
274
+ {45, UPB_SIZE(100, 176), 20, 0, 9, 1},
275
+ {999, UPB_SIZE(108, 192), 0, 0, 11, 3},
276
+ };
277
+
278
+ const upb_msglayout google_protobuf_FileOptions_msginit = {
279
+ &google_protobuf_FileOptions_submsgs[0],
280
+ &google_protobuf_FileOptions__fields[0],
281
+ UPB_SIZE(112, 208), 21, false,
282
+ };
283
+
284
+ static const upb_msglayout *const google_protobuf_MessageOptions_submsgs[1] = {
285
+ &google_protobuf_UninterpretedOption_msginit,
286
+ };
287
+
288
+ static const upb_msglayout_field google_protobuf_MessageOptions__fields[5] = {
289
+ {1, UPB_SIZE(1, 1), 1, 0, 8, 1},
290
+ {2, UPB_SIZE(2, 2), 2, 0, 8, 1},
291
+ {3, UPB_SIZE(3, 3), 3, 0, 8, 1},
292
+ {7, UPB_SIZE(4, 4), 4, 0, 8, 1},
293
+ {999, UPB_SIZE(8, 8), 0, 0, 11, 3},
294
+ };
295
+
296
+ const upb_msglayout google_protobuf_MessageOptions_msginit = {
297
+ &google_protobuf_MessageOptions_submsgs[0],
298
+ &google_protobuf_MessageOptions__fields[0],
299
+ UPB_SIZE(12, 16), 5, false,
300
+ };
301
+
302
+ static const upb_msglayout *const google_protobuf_FieldOptions_submsgs[1] = {
303
+ &google_protobuf_UninterpretedOption_msginit,
304
+ };
305
+
306
+ static const upb_msglayout_field google_protobuf_FieldOptions__fields[7] = {
307
+ {1, UPB_SIZE(8, 8), 1, 0, 14, 1},
308
+ {2, UPB_SIZE(24, 24), 3, 0, 8, 1},
309
+ {3, UPB_SIZE(25, 25), 4, 0, 8, 1},
310
+ {5, UPB_SIZE(26, 26), 5, 0, 8, 1},
311
+ {6, UPB_SIZE(16, 16), 2, 0, 14, 1},
312
+ {10, UPB_SIZE(27, 27), 6, 0, 8, 1},
313
+ {999, UPB_SIZE(28, 32), 0, 0, 11, 3},
314
+ };
315
+
316
+ const upb_msglayout google_protobuf_FieldOptions_msginit = {
317
+ &google_protobuf_FieldOptions_submsgs[0],
318
+ &google_protobuf_FieldOptions__fields[0],
319
+ UPB_SIZE(32, 40), 7, false,
320
+ };
321
+
322
+ static const upb_msglayout *const google_protobuf_OneofOptions_submsgs[1] = {
323
+ &google_protobuf_UninterpretedOption_msginit,
324
+ };
325
+
326
+ static const upb_msglayout_field google_protobuf_OneofOptions__fields[1] = {
327
+ {999, UPB_SIZE(0, 0), 0, 0, 11, 3},
328
+ };
329
+
330
+ const upb_msglayout google_protobuf_OneofOptions_msginit = {
331
+ &google_protobuf_OneofOptions_submsgs[0],
332
+ &google_protobuf_OneofOptions__fields[0],
333
+ UPB_SIZE(4, 8), 1, false,
334
+ };
335
+
336
+ static const upb_msglayout *const google_protobuf_EnumOptions_submsgs[1] = {
337
+ &google_protobuf_UninterpretedOption_msginit,
338
+ };
339
+
340
+ static const upb_msglayout_field google_protobuf_EnumOptions__fields[3] = {
341
+ {2, UPB_SIZE(1, 1), 1, 0, 8, 1},
342
+ {3, UPB_SIZE(2, 2), 2, 0, 8, 1},
343
+ {999, UPB_SIZE(4, 8), 0, 0, 11, 3},
344
+ };
345
+
346
+ const upb_msglayout google_protobuf_EnumOptions_msginit = {
347
+ &google_protobuf_EnumOptions_submsgs[0],
348
+ &google_protobuf_EnumOptions__fields[0],
349
+ UPB_SIZE(8, 16), 3, false,
350
+ };
351
+
352
+ static const upb_msglayout *const google_protobuf_EnumValueOptions_submsgs[1] = {
353
+ &google_protobuf_UninterpretedOption_msginit,
354
+ };
355
+
356
+ static const upb_msglayout_field google_protobuf_EnumValueOptions__fields[2] = {
357
+ {1, UPB_SIZE(1, 1), 1, 0, 8, 1},
358
+ {999, UPB_SIZE(4, 8), 0, 0, 11, 3},
359
+ };
360
+
361
+ const upb_msglayout google_protobuf_EnumValueOptions_msginit = {
362
+ &google_protobuf_EnumValueOptions_submsgs[0],
363
+ &google_protobuf_EnumValueOptions__fields[0],
364
+ UPB_SIZE(8, 16), 2, false,
365
+ };
366
+
367
+ static const upb_msglayout *const google_protobuf_ServiceOptions_submsgs[1] = {
368
+ &google_protobuf_UninterpretedOption_msginit,
369
+ };
370
+
371
+ static const upb_msglayout_field google_protobuf_ServiceOptions__fields[2] = {
372
+ {33, UPB_SIZE(1, 1), 1, 0, 8, 1},
373
+ {999, UPB_SIZE(4, 8), 0, 0, 11, 3},
374
+ };
375
+
376
+ const upb_msglayout google_protobuf_ServiceOptions_msginit = {
377
+ &google_protobuf_ServiceOptions_submsgs[0],
378
+ &google_protobuf_ServiceOptions__fields[0],
379
+ UPB_SIZE(8, 16), 2, false,
380
+ };
381
+
382
+ static const upb_msglayout *const google_protobuf_MethodOptions_submsgs[1] = {
383
+ &google_protobuf_UninterpretedOption_msginit,
384
+ };
385
+
386
+ static const upb_msglayout_field google_protobuf_MethodOptions__fields[3] = {
387
+ {33, UPB_SIZE(16, 16), 2, 0, 8, 1},
388
+ {34, UPB_SIZE(8, 8), 1, 0, 14, 1},
389
+ {999, UPB_SIZE(20, 24), 0, 0, 11, 3},
390
+ };
391
+
392
+ const upb_msglayout google_protobuf_MethodOptions_msginit = {
393
+ &google_protobuf_MethodOptions_submsgs[0],
394
+ &google_protobuf_MethodOptions__fields[0],
395
+ UPB_SIZE(24, 32), 3, false,
396
+ };
397
+
398
+ static const upb_msglayout *const google_protobuf_UninterpretedOption_submsgs[1] = {
399
+ &google_protobuf_UninterpretedOption_NamePart_msginit,
400
+ };
401
+
402
+ static const upb_msglayout_field google_protobuf_UninterpretedOption__fields[7] = {
403
+ {2, UPB_SIZE(56, 80), 0, 0, 11, 3},
404
+ {3, UPB_SIZE(32, 32), 4, 0, 9, 1},
405
+ {4, UPB_SIZE(8, 8), 1, 0, 4, 1},
406
+ {5, UPB_SIZE(16, 16), 2, 0, 3, 1},
407
+ {6, UPB_SIZE(24, 24), 3, 0, 1, 1},
408
+ {7, UPB_SIZE(40, 48), 5, 0, 12, 1},
409
+ {8, UPB_SIZE(48, 64), 6, 0, 9, 1},
410
+ };
411
+
412
+ const upb_msglayout google_protobuf_UninterpretedOption_msginit = {
413
+ &google_protobuf_UninterpretedOption_submsgs[0],
414
+ &google_protobuf_UninterpretedOption__fields[0],
415
+ UPB_SIZE(64, 96), 7, false,
416
+ };
417
+
418
+ static const upb_msglayout_field google_protobuf_UninterpretedOption_NamePart__fields[2] = {
419
+ {1, UPB_SIZE(4, 8), 2, 0, 9, 2},
420
+ {2, UPB_SIZE(1, 1), 1, 0, 8, 2},
421
+ };
422
+
423
+ const upb_msglayout google_protobuf_UninterpretedOption_NamePart_msginit = {
424
+ NULL,
425
+ &google_protobuf_UninterpretedOption_NamePart__fields[0],
426
+ UPB_SIZE(16, 32), 2, false,
427
+ };
428
+
429
+ static const upb_msglayout *const google_protobuf_SourceCodeInfo_submsgs[1] = {
430
+ &google_protobuf_SourceCodeInfo_Location_msginit,
431
+ };
432
+
433
+ static const upb_msglayout_field google_protobuf_SourceCodeInfo__fields[1] = {
434
+ {1, UPB_SIZE(0, 0), 0, 0, 11, 3},
435
+ };
436
+
437
+ const upb_msglayout google_protobuf_SourceCodeInfo_msginit = {
438
+ &google_protobuf_SourceCodeInfo_submsgs[0],
439
+ &google_protobuf_SourceCodeInfo__fields[0],
440
+ UPB_SIZE(4, 8), 1, false,
441
+ };
442
+
443
+ static const upb_msglayout_field google_protobuf_SourceCodeInfo_Location__fields[5] = {
444
+ {1, UPB_SIZE(20, 40), 0, 0, 5, 3},
445
+ {2, UPB_SIZE(24, 48), 0, 0, 5, 3},
446
+ {3, UPB_SIZE(4, 8), 1, 0, 9, 1},
447
+ {4, UPB_SIZE(12, 24), 2, 0, 9, 1},
448
+ {6, UPB_SIZE(28, 56), 0, 0, 9, 3},
449
+ };
450
+
451
+ const upb_msglayout google_protobuf_SourceCodeInfo_Location_msginit = {
452
+ NULL,
453
+ &google_protobuf_SourceCodeInfo_Location__fields[0],
454
+ UPB_SIZE(32, 64), 5, false,
455
+ };
456
+
457
+ static const upb_msglayout *const google_protobuf_GeneratedCodeInfo_submsgs[1] = {
458
+ &google_protobuf_GeneratedCodeInfo_Annotation_msginit,
459
+ };
460
+
461
+ static const upb_msglayout_field google_protobuf_GeneratedCodeInfo__fields[1] = {
462
+ {1, UPB_SIZE(0, 0), 0, 0, 11, 3},
463
+ };
464
+
465
+ const upb_msglayout google_protobuf_GeneratedCodeInfo_msginit = {
466
+ &google_protobuf_GeneratedCodeInfo_submsgs[0],
467
+ &google_protobuf_GeneratedCodeInfo__fields[0],
468
+ UPB_SIZE(4, 8), 1, false,
469
+ };
470
+
471
+ static const upb_msglayout_field google_protobuf_GeneratedCodeInfo_Annotation__fields[4] = {
472
+ {1, UPB_SIZE(20, 32), 0, 0, 5, 3},
473
+ {2, UPB_SIZE(12, 16), 3, 0, 9, 1},
474
+ {3, UPB_SIZE(4, 4), 1, 0, 5, 1},
475
+ {4, UPB_SIZE(8, 8), 2, 0, 5, 1},
476
+ };
477
+
478
+ const upb_msglayout google_protobuf_GeneratedCodeInfo_Annotation_msginit = {
479
+ NULL,
480
+ &google_protobuf_GeneratedCodeInfo_Annotation__fields[0],
481
+ UPB_SIZE(24, 48), 4, false,
482
+ };
483
+
484
+ #include "upb/port_undef.inc"
485
+