1 /* This file was generated by upbc (the upb compiler) from the input
4 * google/api/expr/v1alpha1/syntax.proto
6 * Do not edit -- your changes will be discarded when the file is
11 #include "google/api/expr/v1alpha1/syntax.upb.h"
12 #include "google/protobuf/duration.upb.h"
13 #include "google/protobuf/struct.upb.h"
14 #include "google/protobuf/timestamp.upb.h"
16 #include "upb/port_def.inc"
18 static const upb_msglayout *const google_api_expr_v1alpha1_ParsedExpr_submsgs[2] = {
19 &google_api_expr_v1alpha1_Expr_msginit,
20 &google_api_expr_v1alpha1_SourceInfo_msginit,
23 static const upb_msglayout_field google_api_expr_v1alpha1_ParsedExpr__fields[2] = {
24 {2, UPB_SIZE(4, 8), 1, 0, 11, 1},
25 {3, UPB_SIZE(8, 16), 2, 1, 11, 1},
28 const upb_msglayout google_api_expr_v1alpha1_ParsedExpr_msginit = {
29 &google_api_expr_v1alpha1_ParsedExpr_submsgs[0],
30 &google_api_expr_v1alpha1_ParsedExpr__fields[0],
31 UPB_SIZE(16, 24), 2, false, 255,
34 static const upb_msglayout *const google_api_expr_v1alpha1_Expr_submsgs[7] = {
35 &google_api_expr_v1alpha1_Constant_msginit,
36 &google_api_expr_v1alpha1_Expr_Call_msginit,
37 &google_api_expr_v1alpha1_Expr_Comprehension_msginit,
38 &google_api_expr_v1alpha1_Expr_CreateList_msginit,
39 &google_api_expr_v1alpha1_Expr_CreateStruct_msginit,
40 &google_api_expr_v1alpha1_Expr_Ident_msginit,
41 &google_api_expr_v1alpha1_Expr_Select_msginit,
44 static const upb_msglayout_field google_api_expr_v1alpha1_Expr__fields[8] = {
45 {2, UPB_SIZE(0, 0), 0, 0, 3, 1},
46 {3, UPB_SIZE(8, 8), UPB_SIZE(-13, -17), 0, 11, 1},
47 {4, UPB_SIZE(8, 8), UPB_SIZE(-13, -17), 5, 11, 1},
48 {5, UPB_SIZE(8, 8), UPB_SIZE(-13, -17), 6, 11, 1},
49 {6, UPB_SIZE(8, 8), UPB_SIZE(-13, -17), 1, 11, 1},
50 {7, UPB_SIZE(8, 8), UPB_SIZE(-13, -17), 3, 11, 1},
51 {8, UPB_SIZE(8, 8), UPB_SIZE(-13, -17), 4, 11, 1},
52 {9, UPB_SIZE(8, 8), UPB_SIZE(-13, -17), 2, 11, 1},
55 const upb_msglayout google_api_expr_v1alpha1_Expr_msginit = {
56 &google_api_expr_v1alpha1_Expr_submsgs[0],
57 &google_api_expr_v1alpha1_Expr__fields[0],
58 UPB_SIZE(16, 24), 8, false, 255,
61 static const upb_msglayout_field google_api_expr_v1alpha1_Expr_Ident__fields[1] = {
62 {1, UPB_SIZE(0, 0), 0, 0, 9, 1},
65 const upb_msglayout google_api_expr_v1alpha1_Expr_Ident_msginit = {
67 &google_api_expr_v1alpha1_Expr_Ident__fields[0],
68 UPB_SIZE(8, 16), 1, false, 255,
71 static const upb_msglayout *const google_api_expr_v1alpha1_Expr_Select_submsgs[1] = {
72 &google_api_expr_v1alpha1_Expr_msginit,
75 static const upb_msglayout_field google_api_expr_v1alpha1_Expr_Select__fields[3] = {
76 {1, UPB_SIZE(12, 24), 1, 0, 11, 1},
77 {2, UPB_SIZE(4, 8), 0, 0, 9, 1},
78 {3, UPB_SIZE(1, 1), 0, 0, 8, 1},
81 const upb_msglayout google_api_expr_v1alpha1_Expr_Select_msginit = {
82 &google_api_expr_v1alpha1_Expr_Select_submsgs[0],
83 &google_api_expr_v1alpha1_Expr_Select__fields[0],
84 UPB_SIZE(16, 32), 3, false, 255,
87 static const upb_msglayout *const google_api_expr_v1alpha1_Expr_Call_submsgs[1] = {
88 &google_api_expr_v1alpha1_Expr_msginit,
91 static const upb_msglayout_field google_api_expr_v1alpha1_Expr_Call__fields[3] = {
92 {1, UPB_SIZE(12, 24), 1, 0, 11, 1},
93 {2, UPB_SIZE(4, 8), 0, 0, 9, 1},
94 {3, UPB_SIZE(16, 32), 0, 0, 11, 3},
97 const upb_msglayout google_api_expr_v1alpha1_Expr_Call_msginit = {
98 &google_api_expr_v1alpha1_Expr_Call_submsgs[0],
99 &google_api_expr_v1alpha1_Expr_Call__fields[0],
100 UPB_SIZE(24, 48), 3, false, 255,
103 static const upb_msglayout *const google_api_expr_v1alpha1_Expr_CreateList_submsgs[1] = {
104 &google_api_expr_v1alpha1_Expr_msginit,
107 static const upb_msglayout_field google_api_expr_v1alpha1_Expr_CreateList__fields[1] = {
108 {1, UPB_SIZE(0, 0), 0, 0, 11, 3},
111 const upb_msglayout google_api_expr_v1alpha1_Expr_CreateList_msginit = {
112 &google_api_expr_v1alpha1_Expr_CreateList_submsgs[0],
113 &google_api_expr_v1alpha1_Expr_CreateList__fields[0],
114 UPB_SIZE(8, 8), 1, false, 255,
117 static const upb_msglayout *const google_api_expr_v1alpha1_Expr_CreateStruct_submsgs[1] = {
118 &google_api_expr_v1alpha1_Expr_CreateStruct_Entry_msginit,
121 static const upb_msglayout_field google_api_expr_v1alpha1_Expr_CreateStruct__fields[2] = {
122 {1, UPB_SIZE(0, 0), 0, 0, 9, 1},
123 {2, UPB_SIZE(8, 16), 0, 0, 11, 3},
126 const upb_msglayout google_api_expr_v1alpha1_Expr_CreateStruct_msginit = {
127 &google_api_expr_v1alpha1_Expr_CreateStruct_submsgs[0],
128 &google_api_expr_v1alpha1_Expr_CreateStruct__fields[0],
129 UPB_SIZE(16, 32), 2, false, 255,
132 static const upb_msglayout *const google_api_expr_v1alpha1_Expr_CreateStruct_Entry_submsgs[1] = {
133 &google_api_expr_v1alpha1_Expr_msginit,
136 static const upb_msglayout_field google_api_expr_v1alpha1_Expr_CreateStruct_Entry__fields[4] = {
137 {1, UPB_SIZE(8, 8), 0, 0, 3, 1},
138 {2, UPB_SIZE(20, 24), UPB_SIZE(-29, -41), 0, 9, 1},
139 {3, UPB_SIZE(20, 24), UPB_SIZE(-29, -41), 0, 11, 1},
140 {4, UPB_SIZE(16, 16), 1, 0, 11, 1},
143 const upb_msglayout google_api_expr_v1alpha1_Expr_CreateStruct_Entry_msginit = {
144 &google_api_expr_v1alpha1_Expr_CreateStruct_Entry_submsgs[0],
145 &google_api_expr_v1alpha1_Expr_CreateStruct_Entry__fields[0],
146 UPB_SIZE(32, 48), 4, false, 255,
149 static const upb_msglayout *const google_api_expr_v1alpha1_Expr_Comprehension_submsgs[1] = {
150 &google_api_expr_v1alpha1_Expr_msginit,
153 static const upb_msglayout_field google_api_expr_v1alpha1_Expr_Comprehension__fields[7] = {
154 {1, UPB_SIZE(4, 8), 0, 0, 9, 1},
155 {2, UPB_SIZE(20, 40), 1, 0, 11, 1},
156 {3, UPB_SIZE(12, 24), 0, 0, 9, 1},
157 {4, UPB_SIZE(24, 48), 2, 0, 11, 1},
158 {5, UPB_SIZE(28, 56), 3, 0, 11, 1},
159 {6, UPB_SIZE(32, 64), 4, 0, 11, 1},
160 {7, UPB_SIZE(36, 72), 5, 0, 11, 1},
163 const upb_msglayout google_api_expr_v1alpha1_Expr_Comprehension_msginit = {
164 &google_api_expr_v1alpha1_Expr_Comprehension_submsgs[0],
165 &google_api_expr_v1alpha1_Expr_Comprehension__fields[0],
166 UPB_SIZE(40, 80), 7, false, 255,
169 static const upb_msglayout *const google_api_expr_v1alpha1_Constant_submsgs[2] = {
170 &google_protobuf_Duration_msginit,
171 &google_protobuf_Timestamp_msginit,
174 static const upb_msglayout_field google_api_expr_v1alpha1_Constant__fields[9] = {
175 {1, UPB_SIZE(0, 0), UPB_SIZE(-9, -17), 0, 14, 1},
176 {2, UPB_SIZE(0, 0), UPB_SIZE(-9, -17), 0, 8, 1},
177 {3, UPB_SIZE(0, 0), UPB_SIZE(-9, -17), 0, 3, 1},
178 {4, UPB_SIZE(0, 0), UPB_SIZE(-9, -17), 0, 4, 1},
179 {5, UPB_SIZE(0, 0), UPB_SIZE(-9, -17), 0, 1, 1},
180 {6, UPB_SIZE(0, 0), UPB_SIZE(-9, -17), 0, 9, 1},
181 {7, UPB_SIZE(0, 0), UPB_SIZE(-9, -17), 0, 12, 1},
182 {8, UPB_SIZE(0, 0), UPB_SIZE(-9, -17), 0, 11, 1},
183 {9, UPB_SIZE(0, 0), UPB_SIZE(-9, -17), 1, 11, 1},
186 const upb_msglayout google_api_expr_v1alpha1_Constant_msginit = {
187 &google_api_expr_v1alpha1_Constant_submsgs[0],
188 &google_api_expr_v1alpha1_Constant__fields[0],
189 UPB_SIZE(16, 32), 9, false, 255,
192 static const upb_msglayout *const google_api_expr_v1alpha1_SourceInfo_submsgs[2] = {
193 &google_api_expr_v1alpha1_SourceInfo_MacroCallsEntry_msginit,
194 &google_api_expr_v1alpha1_SourceInfo_PositionsEntry_msginit,
197 static const upb_msglayout_field google_api_expr_v1alpha1_SourceInfo__fields[5] = {
198 {1, UPB_SIZE(0, 0), 0, 0, 9, 1},
199 {2, UPB_SIZE(8, 16), 0, 0, 9, 1},
200 {3, UPB_SIZE(16, 32), 0, 0, 5, _UPB_LABEL_PACKED},
201 {4, UPB_SIZE(20, 40), 0, 1, 11, _UPB_LABEL_MAP},
202 {5, UPB_SIZE(24, 48), 0, 0, 11, _UPB_LABEL_MAP},
205 const upb_msglayout google_api_expr_v1alpha1_SourceInfo_msginit = {
206 &google_api_expr_v1alpha1_SourceInfo_submsgs[0],
207 &google_api_expr_v1alpha1_SourceInfo__fields[0],
208 UPB_SIZE(32, 64), 5, false, 255,
211 static const upb_msglayout_field google_api_expr_v1alpha1_SourceInfo_PositionsEntry__fields[2] = {
212 {1, UPB_SIZE(0, 0), 0, 0, 3, 1},
213 {2, UPB_SIZE(8, 16), 0, 0, 5, 1},
216 const upb_msglayout google_api_expr_v1alpha1_SourceInfo_PositionsEntry_msginit = {
218 &google_api_expr_v1alpha1_SourceInfo_PositionsEntry__fields[0],
219 UPB_SIZE(16, 32), 2, false, 255,
222 static const upb_msglayout *const google_api_expr_v1alpha1_SourceInfo_MacroCallsEntry_submsgs[1] = {
223 &google_api_expr_v1alpha1_Expr_msginit,
226 static const upb_msglayout_field google_api_expr_v1alpha1_SourceInfo_MacroCallsEntry__fields[2] = {
227 {1, UPB_SIZE(0, 0), 0, 0, 3, 1},
228 {2, UPB_SIZE(8, 16), 0, 0, 11, 1},
231 const upb_msglayout google_api_expr_v1alpha1_SourceInfo_MacroCallsEntry_msginit = {
232 &google_api_expr_v1alpha1_SourceInfo_MacroCallsEntry_submsgs[0],
233 &google_api_expr_v1alpha1_SourceInfo_MacroCallsEntry__fields[0],
234 UPB_SIZE(16, 32), 2, false, 255,
237 static const upb_msglayout_field google_api_expr_v1alpha1_SourcePosition__fields[4] = {
238 {1, UPB_SIZE(12, 16), 0, 0, 9, 1},
239 {2, UPB_SIZE(0, 0), 0, 0, 5, 1},
240 {3, UPB_SIZE(4, 4), 0, 0, 5, 1},
241 {4, UPB_SIZE(8, 8), 0, 0, 5, 1},
244 const upb_msglayout google_api_expr_v1alpha1_SourcePosition_msginit = {
246 &google_api_expr_v1alpha1_SourcePosition__fields[0],
247 UPB_SIZE(24, 32), 4, false, 255,
250 #include "upb/port_undef.inc"