• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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(12, 24), 0, 0, 11, _UPB_LABEL_MAP},
27   {3, UPB_SIZE(16, 32), 0, 1, 11, _UPB_LABEL_MAP},
28   {4, UPB_SIZE(4, 8), 1, 2, 11, 1},
29   {5, UPB_SIZE(8, 16), 2, 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(24, 40), 4, false, 255,
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, 255,
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, 255,
66 };
67 
68 static const upb_msglayout *const google_api_expr_v1alpha1_Type_submsgs[6] = {
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, 255,
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(4, 8), 1, 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(8, 16), 1, false, 255,
111 };
112 
113 static const upb_msglayout *const google_api_expr_v1alpha1_Type_MapType_submsgs[1] = {
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(4, 8), 1, 0, 11, 1},
119   {2, UPB_SIZE(8, 16), 2, 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(16, 24), 2, false, 255,
126 };
127 
128 static const upb_msglayout *const google_api_expr_v1alpha1_Type_FunctionType_submsgs[1] = {
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(4, 8), 1, 0, 11, 1},
134   {2, UPB_SIZE(8, 16), 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(16, 24), 2, false, 255,
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, 255,
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, 255,
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(12, 24), 1, 1, 11, 1},
182   {2, UPB_SIZE(16, 32), 2, 0, 11, 1},
183   {3, UPB_SIZE(4, 8), 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(24, 48), 3, false, 255,
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(8, 8), 1, false, 255,
204 };
205 
206 static const upb_msglayout *const google_api_expr_v1alpha1_Decl_FunctionDecl_Overload_submsgs[1] = {
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), 1, 0, 11, 1},
215   {5, UPB_SIZE(1, 1), 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, 255,
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(4, 8), 0, 0, 9, 1},
231   {3, UPB_SIZE(16, 32), 0, 0, 9, 3},
232   {4, UPB_SIZE(12, 24), 1, 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(24, 48), 3, false, 255,
239 };
240 
241 #include "upb/port_undef.inc"
242 
243