• 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/syntax.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/syntax.upb.h"
12 #include "google/protobuf/duration.upb.h"
13 #include "google/protobuf/struct.upb.h"
14 #include "google/protobuf/timestamp.upb.h"
15 
16 #include "upb/port_def.inc"
17 
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,
21 };
22 
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},
26 };
27 
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,
32 };
33 
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,
42 };
43 
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},
53 };
54 
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,
59 };
60 
61 static const upb_msglayout_field google_api_expr_v1alpha1_Expr_Ident__fields[1] = {
62   {1, UPB_SIZE(0, 0), 0, 0, 9, 1},
63 };
64 
65 const upb_msglayout google_api_expr_v1alpha1_Expr_Ident_msginit = {
66   NULL,
67   &google_api_expr_v1alpha1_Expr_Ident__fields[0],
68   UPB_SIZE(8, 16), 1, false, 255,
69 };
70 
71 static const upb_msglayout *const google_api_expr_v1alpha1_Expr_Select_submsgs[1] = {
72   &google_api_expr_v1alpha1_Expr_msginit,
73 };
74 
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},
79 };
80 
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,
85 };
86 
87 static const upb_msglayout *const google_api_expr_v1alpha1_Expr_Call_submsgs[1] = {
88   &google_api_expr_v1alpha1_Expr_msginit,
89 };
90 
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},
95 };
96 
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,
101 };
102 
103 static const upb_msglayout *const google_api_expr_v1alpha1_Expr_CreateList_submsgs[1] = {
104   &google_api_expr_v1alpha1_Expr_msginit,
105 };
106 
107 static const upb_msglayout_field google_api_expr_v1alpha1_Expr_CreateList__fields[1] = {
108   {1, UPB_SIZE(0, 0), 0, 0, 11, 3},
109 };
110 
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,
115 };
116 
117 static const upb_msglayout *const google_api_expr_v1alpha1_Expr_CreateStruct_submsgs[1] = {
118   &google_api_expr_v1alpha1_Expr_CreateStruct_Entry_msginit,
119 };
120 
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},
124 };
125 
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,
130 };
131 
132 static const upb_msglayout *const google_api_expr_v1alpha1_Expr_CreateStruct_Entry_submsgs[1] = {
133   &google_api_expr_v1alpha1_Expr_msginit,
134 };
135 
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},
141 };
142 
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,
147 };
148 
149 static const upb_msglayout *const google_api_expr_v1alpha1_Expr_Comprehension_submsgs[1] = {
150   &google_api_expr_v1alpha1_Expr_msginit,
151 };
152 
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},
161 };
162 
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,
167 };
168 
169 static const upb_msglayout *const google_api_expr_v1alpha1_Constant_submsgs[2] = {
170   &google_protobuf_Duration_msginit,
171   &google_protobuf_Timestamp_msginit,
172 };
173 
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},
184 };
185 
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,
190 };
191 
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,
195 };
196 
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},
203 };
204 
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,
209 };
210 
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},
214 };
215 
216 const upb_msglayout google_api_expr_v1alpha1_SourceInfo_PositionsEntry_msginit = {
217   NULL,
218   &google_api_expr_v1alpha1_SourceInfo_PositionsEntry__fields[0],
219   UPB_SIZE(16, 32), 2, false, 255,
220 };
221 
222 static const upb_msglayout *const google_api_expr_v1alpha1_SourceInfo_MacroCallsEntry_submsgs[1] = {
223   &google_api_expr_v1alpha1_Expr_msginit,
224 };
225 
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},
229 };
230 
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,
235 };
236 
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},
242 };
243 
244 const upb_msglayout google_api_expr_v1alpha1_SourcePosition_msginit = {
245   NULL,
246   &google_api_expr_v1alpha1_SourcePosition__fields[0],
247   UPB_SIZE(24, 32), 4, false, 255,
248 };
249 
250 #include "upb/port_undef.inc"
251 
252