• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /* This file was generated by upbc (the upb compiler) from the input
2  * file:
3  *
4  *     envoy/api/v2/core/base.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 "envoy/api/v2/core/base.upb.h"
12 #include "envoy/api/v2/core/address.upb.h"
13 #include "envoy/api/v2/core/backoff.upb.h"
14 #include "envoy/api/v2/core/http_uri.upb.h"
15 #include "envoy/type/percent.upb.h"
16 #include "envoy/type/semantic_version.upb.h"
17 #include "google/protobuf/any.upb.h"
18 #include "google/protobuf/duration.upb.h"
19 #include "google/protobuf/struct.upb.h"
20 #include "google/protobuf/wrappers.upb.h"
21 #include "udpa/annotations/migrate.upb.h"
22 #include "udpa/annotations/status.upb.h"
23 #include "validate/validate.upb.h"
24 #include "envoy/api/v2/core/socket_option.upb.h"
25 
26 #include "upb/port_def.inc"
27 
28 static const upb_msglayout_field envoy_api_v2_core_Locality__fields[3] = {
29   {1, UPB_SIZE(0, 0), 0, 0, 9, 1},
30   {2, UPB_SIZE(8, 16), 0, 0, 9, 1},
31   {3, UPB_SIZE(16, 32), 0, 0, 9, 1},
32 };
33 
34 const upb_msglayout envoy_api_v2_core_Locality_msginit = {
35   NULL,
36   &envoy_api_v2_core_Locality__fields[0],
37   UPB_SIZE(24, 48), 3, false,
38 };
39 
40 static const upb_msglayout *const envoy_api_v2_core_BuildVersion_submsgs[2] = {
41   &envoy_type_SemanticVersion_msginit,
42   &google_protobuf_Struct_msginit,
43 };
44 
45 static const upb_msglayout_field envoy_api_v2_core_BuildVersion__fields[2] = {
46   {1, UPB_SIZE(0, 0), 0, 0, 11, 1},
47   {2, UPB_SIZE(4, 8), 0, 1, 11, 1},
48 };
49 
50 const upb_msglayout envoy_api_v2_core_BuildVersion_msginit = {
51   &envoy_api_v2_core_BuildVersion_submsgs[0],
52   &envoy_api_v2_core_BuildVersion__fields[0],
53   UPB_SIZE(8, 16), 2, false,
54 };
55 
56 static const upb_msglayout *const envoy_api_v2_core_Extension_submsgs[1] = {
57   &envoy_api_v2_core_BuildVersion_msginit,
58 };
59 
60 static const upb_msglayout_field envoy_api_v2_core_Extension__fields[5] = {
61   {1, UPB_SIZE(4, 8), 0, 0, 9, 1},
62   {2, UPB_SIZE(12, 24), 0, 0, 9, 1},
63   {3, UPB_SIZE(20, 40), 0, 0, 9, 1},
64   {4, UPB_SIZE(28, 56), 0, 0, 11, 1},
65   {5, UPB_SIZE(0, 0), 0, 0, 8, 1},
66 };
67 
68 const upb_msglayout envoy_api_v2_core_Extension_msginit = {
69   &envoy_api_v2_core_Extension_submsgs[0],
70   &envoy_api_v2_core_Extension__fields[0],
71   UPB_SIZE(32, 64), 5, false,
72 };
73 
74 static const upb_msglayout *const envoy_api_v2_core_Node_submsgs[5] = {
75   &envoy_api_v2_core_Address_msginit,
76   &envoy_api_v2_core_BuildVersion_msginit,
77   &envoy_api_v2_core_Extension_msginit,
78   &envoy_api_v2_core_Locality_msginit,
79   &google_protobuf_Struct_msginit,
80 };
81 
82 static const upb_msglayout_field envoy_api_v2_core_Node__fields[11] = {
83   {1, UPB_SIZE(0, 0), 0, 0, 9, 1},
84   {2, UPB_SIZE(8, 16), 0, 0, 9, 1},
85   {3, UPB_SIZE(32, 64), 0, 4, 11, 1},
86   {4, UPB_SIZE(36, 72), 0, 3, 11, 1},
87   {5, UPB_SIZE(16, 32), 0, 0, 9, 1},
88   {6, UPB_SIZE(24, 48), 0, 0, 9, 1},
89   {7, UPB_SIZE(52, 104), UPB_SIZE(-61, -121), 0, 9, 1},
90   {8, UPB_SIZE(52, 104), UPB_SIZE(-61, -121), 1, 11, 1},
91   {9, UPB_SIZE(40, 80), 0, 2, 11, 3},
92   {10, UPB_SIZE(44, 88), 0, 0, 9, 3},
93   {11, UPB_SIZE(48, 96), 0, 0, 11, 3},
94 };
95 
96 const upb_msglayout envoy_api_v2_core_Node_msginit = {
97   &envoy_api_v2_core_Node_submsgs[0],
98   &envoy_api_v2_core_Node__fields[0],
99   UPB_SIZE(64, 128), 11, false,
100 };
101 
102 static const upb_msglayout *const envoy_api_v2_core_Metadata_submsgs[1] = {
103   &envoy_api_v2_core_Metadata_FilterMetadataEntry_msginit,
104 };
105 
106 static const upb_msglayout_field envoy_api_v2_core_Metadata__fields[1] = {
107   {1, UPB_SIZE(0, 0), 0, 0, 11, _UPB_LABEL_MAP},
108 };
109 
110 const upb_msglayout envoy_api_v2_core_Metadata_msginit = {
111   &envoy_api_v2_core_Metadata_submsgs[0],
112   &envoy_api_v2_core_Metadata__fields[0],
113   UPB_SIZE(4, 8), 1, false,
114 };
115 
116 static const upb_msglayout *const envoy_api_v2_core_Metadata_FilterMetadataEntry_submsgs[1] = {
117   &google_protobuf_Struct_msginit,
118 };
119 
120 static const upb_msglayout_field envoy_api_v2_core_Metadata_FilterMetadataEntry__fields[2] = {
121   {1, UPB_SIZE(0, 0), 0, 0, 9, 1},
122   {2, UPB_SIZE(8, 16), 0, 0, 11, 1},
123 };
124 
125 const upb_msglayout envoy_api_v2_core_Metadata_FilterMetadataEntry_msginit = {
126   &envoy_api_v2_core_Metadata_FilterMetadataEntry_submsgs[0],
127   &envoy_api_v2_core_Metadata_FilterMetadataEntry__fields[0],
128   UPB_SIZE(16, 32), 2, false,
129 };
130 
131 static const upb_msglayout_field envoy_api_v2_core_RuntimeUInt32__fields[2] = {
132   {2, UPB_SIZE(0, 0), 0, 0, 13, 1},
133   {3, UPB_SIZE(4, 8), 0, 0, 9, 1},
134 };
135 
136 const upb_msglayout envoy_api_v2_core_RuntimeUInt32_msginit = {
137   NULL,
138   &envoy_api_v2_core_RuntimeUInt32__fields[0],
139   UPB_SIZE(16, 32), 2, false,
140 };
141 
142 static const upb_msglayout_field envoy_api_v2_core_RuntimeDouble__fields[2] = {
143   {1, UPB_SIZE(0, 0), 0, 0, 1, 1},
144   {2, UPB_SIZE(8, 8), 0, 0, 9, 1},
145 };
146 
147 const upb_msglayout envoy_api_v2_core_RuntimeDouble_msginit = {
148   NULL,
149   &envoy_api_v2_core_RuntimeDouble__fields[0],
150   UPB_SIZE(16, 32), 2, false,
151 };
152 
153 static const upb_msglayout *const envoy_api_v2_core_RuntimeFeatureFlag_submsgs[1] = {
154   &google_protobuf_BoolValue_msginit,
155 };
156 
157 static const upb_msglayout_field envoy_api_v2_core_RuntimeFeatureFlag__fields[2] = {
158   {1, UPB_SIZE(8, 16), 0, 0, 11, 1},
159   {2, UPB_SIZE(0, 0), 0, 0, 9, 1},
160 };
161 
162 const upb_msglayout envoy_api_v2_core_RuntimeFeatureFlag_msginit = {
163   &envoy_api_v2_core_RuntimeFeatureFlag_submsgs[0],
164   &envoy_api_v2_core_RuntimeFeatureFlag__fields[0],
165   UPB_SIZE(16, 32), 2, false,
166 };
167 
168 static const upb_msglayout_field envoy_api_v2_core_HeaderValue__fields[2] = {
169   {1, UPB_SIZE(0, 0), 0, 0, 9, 1},
170   {2, UPB_SIZE(8, 16), 0, 0, 9, 1},
171 };
172 
173 const upb_msglayout envoy_api_v2_core_HeaderValue_msginit = {
174   NULL,
175   &envoy_api_v2_core_HeaderValue__fields[0],
176   UPB_SIZE(16, 32), 2, false,
177 };
178 
179 static const upb_msglayout *const envoy_api_v2_core_HeaderValueOption_submsgs[2] = {
180   &envoy_api_v2_core_HeaderValue_msginit,
181   &google_protobuf_BoolValue_msginit,
182 };
183 
184 static const upb_msglayout_field envoy_api_v2_core_HeaderValueOption__fields[2] = {
185   {1, UPB_SIZE(0, 0), 0, 0, 11, 1},
186   {2, UPB_SIZE(4, 8), 0, 1, 11, 1},
187 };
188 
189 const upb_msglayout envoy_api_v2_core_HeaderValueOption_msginit = {
190   &envoy_api_v2_core_HeaderValueOption_submsgs[0],
191   &envoy_api_v2_core_HeaderValueOption__fields[0],
192   UPB_SIZE(8, 16), 2, false,
193 };
194 
195 static const upb_msglayout *const envoy_api_v2_core_HeaderMap_submsgs[1] = {
196   &envoy_api_v2_core_HeaderValue_msginit,
197 };
198 
199 static const upb_msglayout_field envoy_api_v2_core_HeaderMap__fields[1] = {
200   {1, UPB_SIZE(0, 0), 0, 0, 11, 3},
201 };
202 
203 const upb_msglayout envoy_api_v2_core_HeaderMap_msginit = {
204   &envoy_api_v2_core_HeaderMap_submsgs[0],
205   &envoy_api_v2_core_HeaderMap__fields[0],
206   UPB_SIZE(4, 8), 1, false,
207 };
208 
209 static const upb_msglayout_field envoy_api_v2_core_DataSource__fields[3] = {
210   {1, UPB_SIZE(0, 0), UPB_SIZE(-9, -17), 0, 9, 1},
211   {2, UPB_SIZE(0, 0), UPB_SIZE(-9, -17), 0, 12, 1},
212   {3, UPB_SIZE(0, 0), UPB_SIZE(-9, -17), 0, 9, 1},
213 };
214 
215 const upb_msglayout envoy_api_v2_core_DataSource_msginit = {
216   NULL,
217   &envoy_api_v2_core_DataSource__fields[0],
218   UPB_SIZE(16, 32), 3, false,
219 };
220 
221 static const upb_msglayout *const envoy_api_v2_core_RetryPolicy_submsgs[2] = {
222   &envoy_api_v2_core_BackoffStrategy_msginit,
223   &google_protobuf_UInt32Value_msginit,
224 };
225 
226 static const upb_msglayout_field envoy_api_v2_core_RetryPolicy__fields[2] = {
227   {1, UPB_SIZE(0, 0), 0, 0, 11, 1},
228   {2, UPB_SIZE(4, 8), 0, 1, 11, 1},
229 };
230 
231 const upb_msglayout envoy_api_v2_core_RetryPolicy_msginit = {
232   &envoy_api_v2_core_RetryPolicy_submsgs[0],
233   &envoy_api_v2_core_RetryPolicy__fields[0],
234   UPB_SIZE(8, 16), 2, false,
235 };
236 
237 static const upb_msglayout *const envoy_api_v2_core_RemoteDataSource_submsgs[2] = {
238   &envoy_api_v2_core_HttpUri_msginit,
239   &envoy_api_v2_core_RetryPolicy_msginit,
240 };
241 
242 static const upb_msglayout_field envoy_api_v2_core_RemoteDataSource__fields[3] = {
243   {1, UPB_SIZE(8, 16), 0, 0, 11, 1},
244   {2, UPB_SIZE(0, 0), 0, 0, 9, 1},
245   {3, UPB_SIZE(12, 24), 0, 1, 11, 1},
246 };
247 
248 const upb_msglayout envoy_api_v2_core_RemoteDataSource_msginit = {
249   &envoy_api_v2_core_RemoteDataSource_submsgs[0],
250   &envoy_api_v2_core_RemoteDataSource__fields[0],
251   UPB_SIZE(16, 32), 3, false,
252 };
253 
254 static const upb_msglayout *const envoy_api_v2_core_AsyncDataSource_submsgs[2] = {
255   &envoy_api_v2_core_DataSource_msginit,
256   &envoy_api_v2_core_RemoteDataSource_msginit,
257 };
258 
259 static const upb_msglayout_field envoy_api_v2_core_AsyncDataSource__fields[2] = {
260   {1, UPB_SIZE(0, 0), UPB_SIZE(-5, -9), 0, 11, 1},
261   {2, UPB_SIZE(0, 0), UPB_SIZE(-5, -9), 1, 11, 1},
262 };
263 
264 const upb_msglayout envoy_api_v2_core_AsyncDataSource_msginit = {
265   &envoy_api_v2_core_AsyncDataSource_submsgs[0],
266   &envoy_api_v2_core_AsyncDataSource__fields[0],
267   UPB_SIZE(8, 16), 2, false,
268 };
269 
270 static const upb_msglayout *const envoy_api_v2_core_TransportSocket_submsgs[2] = {
271   &google_protobuf_Any_msginit,
272   &google_protobuf_Struct_msginit,
273 };
274 
275 static const upb_msglayout_field envoy_api_v2_core_TransportSocket__fields[3] = {
276   {1, UPB_SIZE(0, 0), 0, 0, 9, 1},
277   {2, UPB_SIZE(8, 16), UPB_SIZE(-13, -25), 1, 11, 1},
278   {3, UPB_SIZE(8, 16), UPB_SIZE(-13, -25), 0, 11, 1},
279 };
280 
281 const upb_msglayout envoy_api_v2_core_TransportSocket_msginit = {
282   &envoy_api_v2_core_TransportSocket_submsgs[0],
283   &envoy_api_v2_core_TransportSocket__fields[0],
284   UPB_SIZE(16, 32), 3, false,
285 };
286 
287 static const upb_msglayout *const envoy_api_v2_core_RuntimeFractionalPercent_submsgs[1] = {
288   &envoy_type_FractionalPercent_msginit,
289 };
290 
291 static const upb_msglayout_field envoy_api_v2_core_RuntimeFractionalPercent__fields[2] = {
292   {1, UPB_SIZE(8, 16), 0, 0, 11, 1},
293   {2, UPB_SIZE(0, 0), 0, 0, 9, 1},
294 };
295 
296 const upb_msglayout envoy_api_v2_core_RuntimeFractionalPercent_msginit = {
297   &envoy_api_v2_core_RuntimeFractionalPercent_submsgs[0],
298   &envoy_api_v2_core_RuntimeFractionalPercent__fields[0],
299   UPB_SIZE(16, 32), 2, false,
300 };
301 
302 static const upb_msglayout_field envoy_api_v2_core_ControlPlane__fields[1] = {
303   {1, UPB_SIZE(0, 0), 0, 0, 9, 1},
304 };
305 
306 const upb_msglayout envoy_api_v2_core_ControlPlane_msginit = {
307   NULL,
308   &envoy_api_v2_core_ControlPlane__fields[0],
309   UPB_SIZE(8, 16), 1, false,
310 };
311 
312 #include "upb/port_undef.inc"
313 
314