• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /* This file was generated by upbc (the upb compiler) from the input
2  * file:
3  *
4  *     google/protobuf/struct.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/struct.upb.h"
12 
13 #include "upb/port_def.inc"
14 
15 static const upb_msglayout *const google_protobuf_Struct_submsgs[1] = {
16   &google_protobuf_Struct_FieldsEntry_msginit,
17 };
18 
19 static const upb_msglayout_field google_protobuf_Struct__fields[1] = {
20   {1, UPB_SIZE(0, 0), 0, 0, 11, _UPB_LABEL_MAP},
21 };
22 
23 const upb_msglayout google_protobuf_Struct_msginit = {
24   &google_protobuf_Struct_submsgs[0],
25   &google_protobuf_Struct__fields[0],
26   UPB_SIZE(8, 8), 1, false, 255,
27 };
28 
29 static const upb_msglayout *const google_protobuf_Struct_FieldsEntry_submsgs[1] = {
30   &google_protobuf_Value_msginit,
31 };
32 
33 static const upb_msglayout_field google_protobuf_Struct_FieldsEntry__fields[2] = {
34   {1, UPB_SIZE(0, 0), 0, 0, 9, 1},
35   {2, UPB_SIZE(8, 16), 0, 0, 11, 1},
36 };
37 
38 const upb_msglayout google_protobuf_Struct_FieldsEntry_msginit = {
39   &google_protobuf_Struct_FieldsEntry_submsgs[0],
40   &google_protobuf_Struct_FieldsEntry__fields[0],
41   UPB_SIZE(16, 32), 2, false, 255,
42 };
43 
44 static const upb_msglayout *const google_protobuf_Value_submsgs[2] = {
45   &google_protobuf_ListValue_msginit,
46   &google_protobuf_Struct_msginit,
47 };
48 
49 static const upb_msglayout_field google_protobuf_Value__fields[6] = {
50   {1, UPB_SIZE(0, 0), UPB_SIZE(-9, -17), 0, 14, 1},
51   {2, UPB_SIZE(0, 0), UPB_SIZE(-9, -17), 0, 1, 1},
52   {3, UPB_SIZE(0, 0), UPB_SIZE(-9, -17), 0, 9, 1},
53   {4, UPB_SIZE(0, 0), UPB_SIZE(-9, -17), 0, 8, 1},
54   {5, UPB_SIZE(0, 0), UPB_SIZE(-9, -17), 1, 11, 1},
55   {6, UPB_SIZE(0, 0), UPB_SIZE(-9, -17), 0, 11, 1},
56 };
57 
58 const upb_msglayout google_protobuf_Value_msginit = {
59   &google_protobuf_Value_submsgs[0],
60   &google_protobuf_Value__fields[0],
61   UPB_SIZE(16, 32), 6, false, 255,
62 };
63 
64 static const upb_msglayout *const google_protobuf_ListValue_submsgs[1] = {
65   &google_protobuf_Value_msginit,
66 };
67 
68 static const upb_msglayout_field google_protobuf_ListValue__fields[1] = {
69   {1, UPB_SIZE(0, 0), 0, 0, 11, 3},
70 };
71 
72 const upb_msglayout google_protobuf_ListValue_msginit = {
73   &google_protobuf_ListValue_submsgs[0],
74   &google_protobuf_ListValue__fields[0],
75   UPB_SIZE(8, 8), 1, false, 255,
76 };
77 
78 #include "upb/port_undef.inc"
79 
80