1 /* This file was generated by upbc (the upb compiler) from the input
4 * google/api/expr/v1alpha1/checked.proto
6 * Do not edit -- your changes will be discarded when the file is
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"
16 #include "upb/port_def.inc"
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,
25 static const upb_msglayout_field google_api_expr_v1alpha1_CheckedExpr__fields[4] = {
26 {2, UPB_SIZE(12, 24), 0, 0, 11, _UPB_MODE_MAP},
27 {3, UPB_SIZE(16, 32), 0, 1, 11, _UPB_MODE_MAP},
28 {4, UPB_SIZE(4, 8), 1, 2, 11, _UPB_MODE_SCALAR},
29 {5, UPB_SIZE(8, 16), 2, 3, 11, _UPB_MODE_SCALAR},
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, 0, 255,
38 static const upb_msglayout *const google_api_expr_v1alpha1_CheckedExpr_ReferenceMapEntry_submsgs[1] = {
39 &google_api_expr_v1alpha1_Reference_msginit,
42 static const upb_msglayout_field google_api_expr_v1alpha1_CheckedExpr_ReferenceMapEntry__fields[2] = {
43 {1, UPB_SIZE(0, 0), 0, 0, 3, _UPB_MODE_SCALAR},
44 {2, UPB_SIZE(8, 16), 0, 0, 11, _UPB_MODE_SCALAR},
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, 2, 255,
53 static const upb_msglayout *const google_api_expr_v1alpha1_CheckedExpr_TypeMapEntry_submsgs[1] = {
54 &google_api_expr_v1alpha1_Type_msginit,
57 static const upb_msglayout_field google_api_expr_v1alpha1_CheckedExpr_TypeMapEntry__fields[2] = {
58 {1, UPB_SIZE(0, 0), 0, 0, 3, _UPB_MODE_SCALAR},
59 {2, UPB_SIZE(8, 16), 0, 0, 11, _UPB_MODE_SCALAR},
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, 2, 255,
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,
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, _UPB_MODE_SCALAR},
79 {2, UPB_SIZE(0, 0), UPB_SIZE(-9, -17), 0, 14, _UPB_MODE_SCALAR},
80 {3, UPB_SIZE(0, 0), UPB_SIZE(-9, -17), 0, 14, _UPB_MODE_SCALAR},
81 {4, UPB_SIZE(0, 0), UPB_SIZE(-9, -17), 0, 14, _UPB_MODE_SCALAR},
82 {5, UPB_SIZE(0, 0), UPB_SIZE(-9, -17), 0, 14, _UPB_MODE_SCALAR},
83 {6, UPB_SIZE(0, 0), UPB_SIZE(-9, -17), 3, 11, _UPB_MODE_SCALAR},
84 {7, UPB_SIZE(0, 0), UPB_SIZE(-9, -17), 4, 11, _UPB_MODE_SCALAR},
85 {8, UPB_SIZE(0, 0), UPB_SIZE(-9, -17), 2, 11, _UPB_MODE_SCALAR},
86 {9, UPB_SIZE(0, 0), UPB_SIZE(-9, -17), 0, 9, _UPB_MODE_SCALAR},
87 {10, UPB_SIZE(0, 0), UPB_SIZE(-9, -17), 0, 9, _UPB_MODE_SCALAR},
88 {11, UPB_SIZE(0, 0), UPB_SIZE(-9, -17), 0, 11, _UPB_MODE_SCALAR},
89 {12, UPB_SIZE(0, 0), UPB_SIZE(-9, -17), 5, 11, _UPB_MODE_SCALAR},
90 {14, UPB_SIZE(0, 0), UPB_SIZE(-9, -17), 1, 11, _UPB_MODE_SCALAR},
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, 12, 255,
99 static const upb_msglayout *const google_api_expr_v1alpha1_Type_ListType_submsgs[1] = {
100 &google_api_expr_v1alpha1_Type_msginit,
103 static const upb_msglayout_field google_api_expr_v1alpha1_Type_ListType__fields[1] = {
104 {1, UPB_SIZE(4, 8), 1, 0, 11, _UPB_MODE_SCALAR},
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, 1, 255,
113 static const upb_msglayout *const google_api_expr_v1alpha1_Type_MapType_submsgs[1] = {
114 &google_api_expr_v1alpha1_Type_msginit,
117 static const upb_msglayout_field google_api_expr_v1alpha1_Type_MapType__fields[2] = {
118 {1, UPB_SIZE(4, 8), 1, 0, 11, _UPB_MODE_SCALAR},
119 {2, UPB_SIZE(8, 16), 2, 0, 11, _UPB_MODE_SCALAR},
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, 2, 255,
128 static const upb_msglayout *const google_api_expr_v1alpha1_Type_FunctionType_submsgs[1] = {
129 &google_api_expr_v1alpha1_Type_msginit,
132 static const upb_msglayout_field google_api_expr_v1alpha1_Type_FunctionType__fields[2] = {
133 {1, UPB_SIZE(4, 8), 1, 0, 11, _UPB_MODE_SCALAR},
134 {2, UPB_SIZE(8, 16), 0, 0, 11, _UPB_MODE_ARRAY},
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, 2, 255,
143 static const upb_msglayout *const google_api_expr_v1alpha1_Type_AbstractType_submsgs[1] = {
144 &google_api_expr_v1alpha1_Type_msginit,
147 static const upb_msglayout_field google_api_expr_v1alpha1_Type_AbstractType__fields[2] = {
148 {1, UPB_SIZE(0, 0), 0, 0, 9, _UPB_MODE_SCALAR},
149 {2, UPB_SIZE(8, 16), 0, 0, 11, _UPB_MODE_ARRAY},
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, 2, 255,
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,
163 static const upb_msglayout_field google_api_expr_v1alpha1_Decl__fields[3] = {
164 {1, UPB_SIZE(0, 0), 0, 0, 9, _UPB_MODE_SCALAR},
165 {2, UPB_SIZE(8, 16), UPB_SIZE(-13, -25), 1, 11, _UPB_MODE_SCALAR},
166 {3, UPB_SIZE(8, 16), UPB_SIZE(-13, -25), 0, 11, _UPB_MODE_SCALAR},
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, 3, 255,
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,
180 static const upb_msglayout_field google_api_expr_v1alpha1_Decl_IdentDecl__fields[3] = {
181 {1, UPB_SIZE(12, 24), 1, 1, 11, _UPB_MODE_SCALAR},
182 {2, UPB_SIZE(16, 32), 2, 0, 11, _UPB_MODE_SCALAR},
183 {3, UPB_SIZE(4, 8), 0, 0, 9, _UPB_MODE_SCALAR},
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, 3, 255,
192 static const upb_msglayout *const google_api_expr_v1alpha1_Decl_FunctionDecl_submsgs[1] = {
193 &google_api_expr_v1alpha1_Decl_FunctionDecl_Overload_msginit,
196 static const upb_msglayout_field google_api_expr_v1alpha1_Decl_FunctionDecl__fields[1] = {
197 {1, UPB_SIZE(0, 0), 0, 0, 11, _UPB_MODE_ARRAY},
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, 1, 255,
206 static const upb_msglayout *const google_api_expr_v1alpha1_Decl_FunctionDecl_Overload_submsgs[1] = {
207 &google_api_expr_v1alpha1_Type_msginit,
210 static const upb_msglayout_field google_api_expr_v1alpha1_Decl_FunctionDecl_Overload__fields[6] = {
211 {1, UPB_SIZE(4, 8), 0, 0, 9, _UPB_MODE_SCALAR},
212 {2, UPB_SIZE(24, 48), 0, 0, 11, _UPB_MODE_ARRAY},
213 {3, UPB_SIZE(28, 56), 0, 0, 9, _UPB_MODE_ARRAY},
214 {4, UPB_SIZE(20, 40), 1, 0, 11, _UPB_MODE_SCALAR},
215 {5, UPB_SIZE(1, 1), 0, 0, 8, _UPB_MODE_SCALAR},
216 {6, UPB_SIZE(12, 24), 0, 0, 9, _UPB_MODE_SCALAR},
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, 6, 255,
225 static const upb_msglayout *const google_api_expr_v1alpha1_Reference_submsgs[1] = {
226 &google_api_expr_v1alpha1_Constant_msginit,
229 static const upb_msglayout_field google_api_expr_v1alpha1_Reference__fields[3] = {
230 {1, UPB_SIZE(4, 8), 0, 0, 9, _UPB_MODE_SCALAR},
231 {3, UPB_SIZE(16, 32), 0, 0, 9, _UPB_MODE_ARRAY},
232 {4, UPB_SIZE(12, 24), 1, 0, 11, _UPB_MODE_SCALAR},
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, 1, 255,
241 #include "upb/port_undef.inc"