Debian Codegraph @

src/core/ext/upb-generated/google/api/expr/v1alpha1/checked.upb.c

raw
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_internal.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_MiniTable_Sub google_api_expr_v1alpha1_CheckedExpr_submsgs[4] = {
19 {.submsg = &google_api_expr_v1alpha1_CheckedExpr_ReferenceMapEntry_msginit},
20 {.submsg = &google_api_expr_v1alpha1_CheckedExpr_TypeMapEntry_msginit},
21 {.submsg = &google_api_expr_v1alpha1_Expr_msginit},
22 {.submsg = &google_api_expr_v1alpha1_SourceInfo_msginit},
23 };
24
25 static const upb_MiniTable_Field google_api_expr_v1alpha1_CheckedExpr__fields[4] = {
26 {2, UPB_SIZE(4, 8), UPB_SIZE(0, 0), 0, 11, kUpb_FieldMode_Map | (kUpb_FieldRep_Pointer << kUpb_FieldRep_Shift)},
27 {3, UPB_SIZE(8, 16), UPB_SIZE(0, 0), 1, 11, kUpb_FieldMode_Map | (kUpb_FieldRep_Pointer << kUpb_FieldRep_Shift)},
28 {4, UPB_SIZE(12, 24), UPB_SIZE(1, 1), 2, 11, kUpb_FieldMode_Scalar | (kUpb_FieldRep_Pointer << kUpb_FieldRep_Shift)},
29 {5, UPB_SIZE(16, 32), UPB_SIZE(2, 2), 3, 11, kUpb_FieldMode_Scalar | (kUpb_FieldRep_Pointer << kUpb_FieldRep_Shift)},
30 };
31
32 const upb_MiniTable 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, kUpb_ExtMode_NonExtendable, 0, 255, 0,
36 };
37
38 static const upb_MiniTable_Sub google_api_expr_v1alpha1_CheckedExpr_ReferenceMapEntry_submsgs[1] = {
39 {.submsg = &google_api_expr_v1alpha1_Reference_msginit},
40 };
41
42 static const upb_MiniTable_Field google_api_expr_v1alpha1_CheckedExpr_ReferenceMapEntry__fields[2] = {
43 {1, UPB_SIZE(0, 0), UPB_SIZE(0, 0), kUpb_NoSub, 3, kUpb_FieldMode_Scalar | (kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)},
44 {2, UPB_SIZE(8, 16), UPB_SIZE(0, 0), 0, 11, kUpb_FieldMode_Scalar | (kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)},
45 };
46
47 const upb_MiniTable 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, kUpb_ExtMode_NonExtendable, 2, 255, 0,
51 };
52
53 static const upb_MiniTable_Sub google_api_expr_v1alpha1_CheckedExpr_TypeMapEntry_submsgs[1] = {
54 {.submsg = &google_api_expr_v1alpha1_Type_msginit},
55 };
56
57 static const upb_MiniTable_Field google_api_expr_v1alpha1_CheckedExpr_TypeMapEntry__fields[2] = {
58 {1, UPB_SIZE(0, 0), UPB_SIZE(0, 0), kUpb_NoSub, 3, kUpb_FieldMode_Scalar | (kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)},
59 {2, UPB_SIZE(8, 16), UPB_SIZE(0, 0), 0, 11, kUpb_FieldMode_Scalar | (kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)},
60 };
61
62 const upb_MiniTable 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, kUpb_ExtMode_NonExtendable, 2, 255, 0,
66 };
67
68 static const upb_MiniTable_Sub google_api_expr_v1alpha1_Type_submsgs[7] = {
69 {.submsg = &google_protobuf_Empty_msginit},
70 {.submsg = &google_api_expr_v1alpha1_Type_ListType_msginit},
71 {.submsg = &google_api_expr_v1alpha1_Type_MapType_msginit},
72 {.submsg = &google_api_expr_v1alpha1_Type_FunctionType_msginit},
73 {.submsg = &google_api_expr_v1alpha1_Type_msginit},
74 {.submsg = &google_protobuf_Empty_msginit},
75 {.submsg = &google_api_expr_v1alpha1_Type_AbstractType_msginit},
76 };
77
78 static const upb_MiniTable_Field google_api_expr_v1alpha1_Type__fields[13] = {
79 {1, UPB_SIZE(4, 8), UPB_SIZE(-1, -1), 0, 11, kUpb_FieldMode_Scalar | (kUpb_FieldRep_Pointer << kUpb_FieldRep_Shift)},
80 {2, UPB_SIZE(4, 8), UPB_SIZE(-1, -1), kUpb_NoSub, 5, kUpb_FieldMode_Scalar | (kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)},
81 {3, UPB_SIZE(4, 8), UPB_SIZE(-1, -1), kUpb_NoSub, 5, kUpb_FieldMode_Scalar | (kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)},
82 {4, UPB_SIZE(4, 8), UPB_SIZE(-1, -1), kUpb_NoSub, 5, kUpb_FieldMode_Scalar | (kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)},
83 {5, UPB_SIZE(4, 8), UPB_SIZE(-1, -1), kUpb_NoSub, 5, kUpb_FieldMode_Scalar | (kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)},
84 {6, UPB_SIZE(4, 8), UPB_SIZE(-1, -1), 1, 11, kUpb_FieldMode_Scalar | (kUpb_FieldRep_Pointer << kUpb_FieldRep_Shift)},
85 {7, UPB_SIZE(4, 8), UPB_SIZE(-1, -1), 2, 11, kUpb_FieldMode_Scalar | (kUpb_FieldRep_Pointer << kUpb_FieldRep_Shift)},
86 {8, UPB_SIZE(4, 8), UPB_SIZE(-1, -1), 3, 11, kUpb_FieldMode_Scalar | (kUpb_FieldRep_Pointer << kUpb_FieldRep_Shift)},
87 {9, UPB_SIZE(4, 8), UPB_SIZE(-1, -1), kUpb_NoSub, 9, kUpb_FieldMode_Scalar | (kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)},
88 {10, UPB_SIZE(4, 8), UPB_SIZE(-1, -1), kUpb_NoSub, 9, kUpb_FieldMode_Scalar | (kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)},
89 {11, UPB_SIZE(4, 8), UPB_SIZE(-1, -1), 4, 11, kUpb_FieldMode_Scalar | (kUpb_FieldRep_Pointer << kUpb_FieldRep_Shift)},
90 {12, UPB_SIZE(4, 8), UPB_SIZE(-1, -1), 5, 11, kUpb_FieldMode_Scalar | (kUpb_FieldRep_Pointer << kUpb_FieldRep_Shift)},
91 {14, UPB_SIZE(4, 8), UPB_SIZE(-1, -1), 6, 11, kUpb_FieldMode_Scalar | (kUpb_FieldRep_Pointer << kUpb_FieldRep_Shift)},
92 };
93
94 const upb_MiniTable google_api_expr_v1alpha1_Type_msginit = {
95 &google_api_expr_v1alpha1_Type_submsgs[0],
96 &google_api_expr_v1alpha1_Type__fields[0],
97 UPB_SIZE(16, 24), 13, kUpb_ExtMode_NonExtendable, 12, 255, 0,
98 };
99
100 static const upb_MiniTable_Sub google_api_expr_v1alpha1_Type_ListType_submsgs[1] = {
101 {.submsg = &google_api_expr_v1alpha1_Type_msginit},
102 };
103
104 static const upb_MiniTable_Field google_api_expr_v1alpha1_Type_ListType__fields[1] = {
105 {1, UPB_SIZE(4, 8), UPB_SIZE(1, 1), 0, 11, kUpb_FieldMode_Scalar | (kUpb_FieldRep_Pointer << kUpb_FieldRep_Shift)},
106 };
107
108 const upb_MiniTable google_api_expr_v1alpha1_Type_ListType_msginit = {
109 &google_api_expr_v1alpha1_Type_ListType_submsgs[0],
110 &google_api_expr_v1alpha1_Type_ListType__fields[0],
111 UPB_SIZE(8, 16), 1, kUpb_ExtMode_NonExtendable, 1, 255, 0,
112 };
113
114 static const upb_MiniTable_Sub google_api_expr_v1alpha1_Type_MapType_submsgs[2] = {
115 {.submsg = &google_api_expr_v1alpha1_Type_msginit},
116 {.submsg = &google_api_expr_v1alpha1_Type_msginit},
117 };
118
119 static const upb_MiniTable_Field google_api_expr_v1alpha1_Type_MapType__fields[2] = {
120 {1, UPB_SIZE(4, 8), UPB_SIZE(1, 1), 0, 11, kUpb_FieldMode_Scalar | (kUpb_FieldRep_Pointer << kUpb_FieldRep_Shift)},
121 {2, UPB_SIZE(8, 16), UPB_SIZE(2, 2), 1, 11, kUpb_FieldMode_Scalar | (kUpb_FieldRep_Pointer << kUpb_FieldRep_Shift)},
122 };
123
124 const upb_MiniTable google_api_expr_v1alpha1_Type_MapType_msginit = {
125 &google_api_expr_v1alpha1_Type_MapType_submsgs[0],
126 &google_api_expr_v1alpha1_Type_MapType__fields[0],
127 UPB_SIZE(16, 24), 2, kUpb_ExtMode_NonExtendable, 2, 255, 0,
128 };
129
130 static const upb_MiniTable_Sub google_api_expr_v1alpha1_Type_FunctionType_submsgs[2] = {
131 {.submsg = &google_api_expr_v1alpha1_Type_msginit},
132 {.submsg = &google_api_expr_v1alpha1_Type_msginit},
133 };
134
135 static const upb_MiniTable_Field google_api_expr_v1alpha1_Type_FunctionType__fields[2] = {
136 {1, UPB_SIZE(4, 8), UPB_SIZE(1, 1), 0, 11, kUpb_FieldMode_Scalar | (kUpb_FieldRep_Pointer << kUpb_FieldRep_Shift)},
137 {2, UPB_SIZE(8, 16), UPB_SIZE(0, 0), 1, 11, kUpb_FieldMode_Array | (kUpb_FieldRep_Pointer << kUpb_FieldRep_Shift)},
138 };
139
140 const upb_MiniTable google_api_expr_v1alpha1_Type_FunctionType_msginit = {
141 &google_api_expr_v1alpha1_Type_FunctionType_submsgs[0],
142 &google_api_expr_v1alpha1_Type_FunctionType__fields[0],
143 UPB_SIZE(16, 24), 2, kUpb_ExtMode_NonExtendable, 2, 255, 0,
144 };
145
146 static const upb_MiniTable_Sub google_api_expr_v1alpha1_Type_AbstractType_submsgs[1] = {
147 {.submsg = &google_api_expr_v1alpha1_Type_msginit},
148 };
149
150 static const upb_MiniTable_Field google_api_expr_v1alpha1_Type_AbstractType__fields[2] = {
151 {1, UPB_SIZE(0, 0), UPB_SIZE(0, 0), kUpb_NoSub, 9, kUpb_FieldMode_Scalar | (kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)},
152 {2, UPB_SIZE(8, 16), UPB_SIZE(0, 0), 0, 11, kUpb_FieldMode_Array | (kUpb_FieldRep_Pointer << kUpb_FieldRep_Shift)},
153 };
154
155 const upb_MiniTable google_api_expr_v1alpha1_Type_AbstractType_msginit = {
156 &google_api_expr_v1alpha1_Type_AbstractType_submsgs[0],
157 &google_api_expr_v1alpha1_Type_AbstractType__fields[0],
158 UPB_SIZE(16, 24), 2, kUpb_ExtMode_NonExtendable, 2, 255, 0,
159 };
160
161 static const upb_MiniTable_Sub google_api_expr_v1alpha1_Decl_submsgs[2] = {
162 {.submsg = &google_api_expr_v1alpha1_Decl_IdentDecl_msginit},
163 {.submsg = &google_api_expr_v1alpha1_Decl_FunctionDecl_msginit},
164 };
165
166 static const upb_MiniTable_Field google_api_expr_v1alpha1_Decl__fields[3] = {
167 {1, UPB_SIZE(4, 8), UPB_SIZE(0, 0), kUpb_NoSub, 9, kUpb_FieldMode_Scalar | (kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)},
168 {2, UPB_SIZE(12, 24), UPB_SIZE(-1, -1), 0, 11, kUpb_FieldMode_Scalar | (kUpb_FieldRep_Pointer << kUpb_FieldRep_Shift)},
169 {3, UPB_SIZE(12, 24), UPB_SIZE(-1, -1), 1, 11, kUpb_FieldMode_Scalar | (kUpb_FieldRep_Pointer << kUpb_FieldRep_Shift)},
170 };
171
172 const upb_MiniTable google_api_expr_v1alpha1_Decl_msginit = {
173 &google_api_expr_v1alpha1_Decl_submsgs[0],
174 &google_api_expr_v1alpha1_Decl__fields[0],
175 UPB_SIZE(16, 32), 3, kUpb_ExtMode_NonExtendable, 3, 255, 0,
176 };
177
178 static const upb_MiniTable_Sub google_api_expr_v1alpha1_Decl_IdentDecl_submsgs[2] = {
179 {.submsg = &google_api_expr_v1alpha1_Type_msginit},
180 {.submsg = &google_api_expr_v1alpha1_Constant_msginit},
181 };
182
183 static const upb_MiniTable_Field google_api_expr_v1alpha1_Decl_IdentDecl__fields[3] = {
184 {1, UPB_SIZE(4, 8), UPB_SIZE(1, 1), 0, 11, kUpb_FieldMode_Scalar | (kUpb_FieldRep_Pointer << kUpb_FieldRep_Shift)},
185 {2, UPB_SIZE(8, 16), UPB_SIZE(2, 2), 1, 11, kUpb_FieldMode_Scalar | (kUpb_FieldRep_Pointer << kUpb_FieldRep_Shift)},
186 {3, UPB_SIZE(12, 24), UPB_SIZE(0, 0), kUpb_NoSub, 9, kUpb_FieldMode_Scalar | (kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)},
187 };
188
189 const upb_MiniTable google_api_expr_v1alpha1_Decl_IdentDecl_msginit = {
190 &google_api_expr_v1alpha1_Decl_IdentDecl_submsgs[0],
191 &google_api_expr_v1alpha1_Decl_IdentDecl__fields[0],
192 UPB_SIZE(24, 40), 3, kUpb_ExtMode_NonExtendable, 3, 255, 0,
193 };
194
195 static const upb_MiniTable_Sub google_api_expr_v1alpha1_Decl_FunctionDecl_submsgs[1] = {
196 {.submsg = &google_api_expr_v1alpha1_Decl_FunctionDecl_Overload_msginit},
197 };
198
199 static const upb_MiniTable_Field google_api_expr_v1alpha1_Decl_FunctionDecl__fields[1] = {
200 {1, UPB_SIZE(0, 0), UPB_SIZE(0, 0), 0, 11, kUpb_FieldMode_Array | (kUpb_FieldRep_Pointer << kUpb_FieldRep_Shift)},
201 };
202
203 const upb_MiniTable google_api_expr_v1alpha1_Decl_FunctionDecl_msginit = {
204 &google_api_expr_v1alpha1_Decl_FunctionDecl_submsgs[0],
205 &google_api_expr_v1alpha1_Decl_FunctionDecl__fields[0],
206 UPB_SIZE(8, 8), 1, kUpb_ExtMode_NonExtendable, 1, 255, 0,
207 };
208
209 static const upb_MiniTable_Sub google_api_expr_v1alpha1_Decl_FunctionDecl_Overload_submsgs[2] = {
210 {.submsg = &google_api_expr_v1alpha1_Type_msginit},
211 {.submsg = &google_api_expr_v1alpha1_Type_msginit},
212 };
213
214 static const upb_MiniTable_Field google_api_expr_v1alpha1_Decl_FunctionDecl_Overload__fields[6] = {
215 {1, UPB_SIZE(4, 8), UPB_SIZE(0, 0), kUpb_NoSub, 9, kUpb_FieldMode_Scalar | (kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)},
216 {2, UPB_SIZE(12, 24), UPB_SIZE(0, 0), 0, 11, kUpb_FieldMode_Array | (kUpb_FieldRep_Pointer << kUpb_FieldRep_Shift)},
217 {3, UPB_SIZE(16, 32), UPB_SIZE(0, 0), kUpb_NoSub, 9, kUpb_FieldMode_Array | (kUpb_FieldRep_Pointer << kUpb_FieldRep_Shift)},
218 {4, UPB_SIZE(20, 40), UPB_SIZE(1, 1), 1, 11, kUpb_FieldMode_Scalar | (kUpb_FieldRep_Pointer << kUpb_FieldRep_Shift)},
219 {5, UPB_SIZE(1, 1), UPB_SIZE(0, 0), kUpb_NoSub, 8, kUpb_FieldMode_Scalar | (kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)},
220 {6, UPB_SIZE(24, 48), UPB_SIZE(0, 0), kUpb_NoSub, 9, kUpb_FieldMode_Scalar | (kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)},
221 };
222
223 const upb_MiniTable google_api_expr_v1alpha1_Decl_FunctionDecl_Overload_msginit = {
224 &google_api_expr_v1alpha1_Decl_FunctionDecl_Overload_submsgs[0],
225 &google_api_expr_v1alpha1_Decl_FunctionDecl_Overload__fields[0],
226 UPB_SIZE(32, 64), 6, kUpb_ExtMode_NonExtendable, 6, 255, 0,
227 };
228
229 static const upb_MiniTable_Sub google_api_expr_v1alpha1_Reference_submsgs[1] = {
230 {.submsg = &google_api_expr_v1alpha1_Constant_msginit},
231 };
232
233 static const upb_MiniTable_Field google_api_expr_v1alpha1_Reference__fields[3] = {
234 {1, UPB_SIZE(4, 8), UPB_SIZE(0, 0), kUpb_NoSub, 9, kUpb_FieldMode_Scalar | (kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)},
235 {3, UPB_SIZE(12, 24), UPB_SIZE(0, 0), kUpb_NoSub, 9, kUpb_FieldMode_Array | (kUpb_FieldRep_Pointer << kUpb_FieldRep_Shift)},
236 {4, UPB_SIZE(16, 32), UPB_SIZE(1, 1), 0, 11, kUpb_FieldMode_Scalar | (kUpb_FieldRep_Pointer << kUpb_FieldRep_Shift)},
237 };
238
239 const upb_MiniTable google_api_expr_v1alpha1_Reference_msginit = {
240 &google_api_expr_v1alpha1_Reference_submsgs[0],
241 &google_api_expr_v1alpha1_Reference__fields[0],
242 UPB_SIZE(24, 40), 3, kUpb_ExtMode_NonExtendable, 1, 255, 0,
243 };
244
245 static const upb_MiniTable *messages_layout[13] = {
246 &google_api_expr_v1alpha1_CheckedExpr_msginit,
247 &google_api_expr_v1alpha1_CheckedExpr_ReferenceMapEntry_msginit,
248 &google_api_expr_v1alpha1_CheckedExpr_TypeMapEntry_msginit,
249 &google_api_expr_v1alpha1_Type_msginit,
250 &google_api_expr_v1alpha1_Type_ListType_msginit,
251 &google_api_expr_v1alpha1_Type_MapType_msginit,
252 &google_api_expr_v1alpha1_Type_FunctionType_msginit,
253 &google_api_expr_v1alpha1_Type_AbstractType_msginit,
254 &google_api_expr_v1alpha1_Decl_msginit,
255 &google_api_expr_v1alpha1_Decl_IdentDecl_msginit,
256 &google_api_expr_v1alpha1_Decl_FunctionDecl_msginit,
257 &google_api_expr_v1alpha1_Decl_FunctionDecl_Overload_msginit,
258 &google_api_expr_v1alpha1_Reference_msginit,
259 };
260
261 const upb_MiniTable_File google_api_expr_v1alpha1_checked_proto_upb_file_layout = {
262 messages_layout,
263 NULL,
264 NULL,
265 13,
266 0,
267 0,
268 };
269
270 #include "upb/port_undef.inc"
271