• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /* This file was generated by upbc (the upb compiler) from the input
2  * file:
3  *
4  *     envoy/config/core/v3/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/config/core/v3/base.upb.h"
12 #include "envoy/config/core/v3/address.upb.h"
13 #include "envoy/config/core/v3/backoff.upb.h"
14 #include "envoy/config/core/v3/http_uri.upb.h"
15 #include "envoy/type/v3/percent.upb.h"
16 #include "envoy/type/v3/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 "udpa/annotations/versioning.upb.h"
24 #include "validate/validate.upb.h"
25 
26 #include "upb/port_def.inc"
27 
28 static const upb_msglayout_field envoy_config_core_v3_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_config_core_v3_Locality_msginit = {
35   NULL,
36   &envoy_config_core_v3_Locality__fields[0],
37   UPB_SIZE(24, 48), 3, false, 255,
38 };
39 
40 static const upb_msglayout *const envoy_config_core_v3_BuildVersion_submsgs[2] = {
41   &envoy_type_v3_SemanticVersion_msginit,
42   &google_protobuf_Struct_msginit,
43 };
44 
45 static const upb_msglayout_field envoy_config_core_v3_BuildVersion__fields[2] = {
46   {1, UPB_SIZE(4, 8), 1, 0, 11, 1},
47   {2, UPB_SIZE(8, 16), 2, 1, 11, 1},
48 };
49 
50 const upb_msglayout envoy_config_core_v3_BuildVersion_msginit = {
51   &envoy_config_core_v3_BuildVersion_submsgs[0],
52   &envoy_config_core_v3_BuildVersion__fields[0],
53   UPB_SIZE(16, 24), 2, false, 255,
54 };
55 
56 static const upb_msglayout *const envoy_config_core_v3_Extension_submsgs[1] = {
57   &envoy_config_core_v3_BuildVersion_msginit,
58 };
59 
60 static const upb_msglayout_field envoy_config_core_v3_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), 1, 0, 11, 1},
65   {5, UPB_SIZE(1, 1), 0, 0, 8, 1},
66 };
67 
68 const upb_msglayout envoy_config_core_v3_Extension_msginit = {
69   &envoy_config_core_v3_Extension_submsgs[0],
70   &envoy_config_core_v3_Extension__fields[0],
71   UPB_SIZE(32, 64), 5, false, 255,
72 };
73 
74 static const upb_msglayout *const envoy_config_core_v3_Node_submsgs[5] = {
75   &envoy_config_core_v3_Address_msginit,
76   &envoy_config_core_v3_BuildVersion_msginit,
77   &envoy_config_core_v3_Extension_msginit,
78   &envoy_config_core_v3_Locality_msginit,
79   &google_protobuf_Struct_msginit,
80 };
81 
82 static const upb_msglayout_field envoy_config_core_v3_Node__fields[10] = {
83   {1, UPB_SIZE(4, 8), 0, 0, 9, 1},
84   {2, UPB_SIZE(12, 24), 0, 0, 9, 1},
85   {3, UPB_SIZE(28, 56), 1, 4, 11, 1},
86   {4, UPB_SIZE(32, 64), 2, 3, 11, 1},
87   {6, UPB_SIZE(20, 40), 0, 0, 9, 1},
88   {7, UPB_SIZE(48, 96), UPB_SIZE(-57, -113), 0, 9, 1},
89   {8, UPB_SIZE(48, 96), UPB_SIZE(-57, -113), 1, 11, 1},
90   {9, UPB_SIZE(36, 72), 0, 2, 11, 3},
91   {10, UPB_SIZE(40, 80), 0, 0, 9, 3},
92   {11, UPB_SIZE(44, 88), 0, 0, 11, 3},
93 };
94 
95 const upb_msglayout envoy_config_core_v3_Node_msginit = {
96   &envoy_config_core_v3_Node_submsgs[0],
97   &envoy_config_core_v3_Node__fields[0],
98   UPB_SIZE(64, 128), 10, false, 255,
99 };
100 
101 static const upb_msglayout *const envoy_config_core_v3_Metadata_submsgs[1] = {
102   &envoy_config_core_v3_Metadata_FilterMetadataEntry_msginit,
103 };
104 
105 static const upb_msglayout_field envoy_config_core_v3_Metadata__fields[1] = {
106   {1, UPB_SIZE(0, 0), 0, 0, 11, _UPB_LABEL_MAP},
107 };
108 
109 const upb_msglayout envoy_config_core_v3_Metadata_msginit = {
110   &envoy_config_core_v3_Metadata_submsgs[0],
111   &envoy_config_core_v3_Metadata__fields[0],
112   UPB_SIZE(8, 8), 1, false, 255,
113 };
114 
115 static const upb_msglayout *const envoy_config_core_v3_Metadata_FilterMetadataEntry_submsgs[1] = {
116   &google_protobuf_Struct_msginit,
117 };
118 
119 static const upb_msglayout_field envoy_config_core_v3_Metadata_FilterMetadataEntry__fields[2] = {
120   {1, UPB_SIZE(0, 0), 0, 0, 9, 1},
121   {2, UPB_SIZE(8, 16), 0, 0, 11, 1},
122 };
123 
124 const upb_msglayout envoy_config_core_v3_Metadata_FilterMetadataEntry_msginit = {
125   &envoy_config_core_v3_Metadata_FilterMetadataEntry_submsgs[0],
126   &envoy_config_core_v3_Metadata_FilterMetadataEntry__fields[0],
127   UPB_SIZE(16, 32), 2, false, 255,
128 };
129 
130 static const upb_msglayout_field envoy_config_core_v3_RuntimeUInt32__fields[2] = {
131   {2, UPB_SIZE(0, 0), 0, 0, 13, 1},
132   {3, UPB_SIZE(4, 8), 0, 0, 9, 1},
133 };
134 
135 const upb_msglayout envoy_config_core_v3_RuntimeUInt32_msginit = {
136   NULL,
137   &envoy_config_core_v3_RuntimeUInt32__fields[0],
138   UPB_SIZE(16, 32), 2, false, 255,
139 };
140 
141 static const upb_msglayout_field envoy_config_core_v3_RuntimeDouble__fields[2] = {
142   {1, UPB_SIZE(0, 0), 0, 0, 1, 1},
143   {2, UPB_SIZE(8, 8), 0, 0, 9, 1},
144 };
145 
146 const upb_msglayout envoy_config_core_v3_RuntimeDouble_msginit = {
147   NULL,
148   &envoy_config_core_v3_RuntimeDouble__fields[0],
149   UPB_SIZE(16, 32), 2, false, 255,
150 };
151 
152 static const upb_msglayout *const envoy_config_core_v3_RuntimeFeatureFlag_submsgs[1] = {
153   &google_protobuf_BoolValue_msginit,
154 };
155 
156 static const upb_msglayout_field envoy_config_core_v3_RuntimeFeatureFlag__fields[2] = {
157   {1, UPB_SIZE(12, 24), 1, 0, 11, 1},
158   {2, UPB_SIZE(4, 8), 0, 0, 9, 1},
159 };
160 
161 const upb_msglayout envoy_config_core_v3_RuntimeFeatureFlag_msginit = {
162   &envoy_config_core_v3_RuntimeFeatureFlag_submsgs[0],
163   &envoy_config_core_v3_RuntimeFeatureFlag__fields[0],
164   UPB_SIZE(16, 32), 2, false, 255,
165 };
166 
167 static const upb_msglayout_field envoy_config_core_v3_HeaderValue__fields[2] = {
168   {1, UPB_SIZE(0, 0), 0, 0, 9, 1},
169   {2, UPB_SIZE(8, 16), 0, 0, 9, 1},
170 };
171 
172 const upb_msglayout envoy_config_core_v3_HeaderValue_msginit = {
173   NULL,
174   &envoy_config_core_v3_HeaderValue__fields[0],
175   UPB_SIZE(16, 32), 2, false, 255,
176 };
177 
178 static const upb_msglayout *const envoy_config_core_v3_HeaderValueOption_submsgs[2] = {
179   &envoy_config_core_v3_HeaderValue_msginit,
180   &google_protobuf_BoolValue_msginit,
181 };
182 
183 static const upb_msglayout_field envoy_config_core_v3_HeaderValueOption__fields[2] = {
184   {1, UPB_SIZE(4, 8), 1, 0, 11, 1},
185   {2, UPB_SIZE(8, 16), 2, 1, 11, 1},
186 };
187 
188 const upb_msglayout envoy_config_core_v3_HeaderValueOption_msginit = {
189   &envoy_config_core_v3_HeaderValueOption_submsgs[0],
190   &envoy_config_core_v3_HeaderValueOption__fields[0],
191   UPB_SIZE(16, 24), 2, false, 255,
192 };
193 
194 static const upb_msglayout *const envoy_config_core_v3_HeaderMap_submsgs[1] = {
195   &envoy_config_core_v3_HeaderValue_msginit,
196 };
197 
198 static const upb_msglayout_field envoy_config_core_v3_HeaderMap__fields[1] = {
199   {1, UPB_SIZE(0, 0), 0, 0, 11, 3},
200 };
201 
202 const upb_msglayout envoy_config_core_v3_HeaderMap_msginit = {
203   &envoy_config_core_v3_HeaderMap_submsgs[0],
204   &envoy_config_core_v3_HeaderMap__fields[0],
205   UPB_SIZE(8, 8), 1, false, 255,
206 };
207 
208 static const upb_msglayout_field envoy_config_core_v3_DataSource__fields[3] = {
209   {1, UPB_SIZE(0, 0), UPB_SIZE(-9, -17), 0, 9, 1},
210   {2, UPB_SIZE(0, 0), UPB_SIZE(-9, -17), 0, 12, 1},
211   {3, UPB_SIZE(0, 0), UPB_SIZE(-9, -17), 0, 9, 1},
212 };
213 
214 const upb_msglayout envoy_config_core_v3_DataSource_msginit = {
215   NULL,
216   &envoy_config_core_v3_DataSource__fields[0],
217   UPB_SIZE(16, 32), 3, false, 255,
218 };
219 
220 static const upb_msglayout *const envoy_config_core_v3_RetryPolicy_submsgs[2] = {
221   &envoy_config_core_v3_BackoffStrategy_msginit,
222   &google_protobuf_UInt32Value_msginit,
223 };
224 
225 static const upb_msglayout_field envoy_config_core_v3_RetryPolicy__fields[2] = {
226   {1, UPB_SIZE(4, 8), 1, 0, 11, 1},
227   {2, UPB_SIZE(8, 16), 2, 1, 11, 1},
228 };
229 
230 const upb_msglayout envoy_config_core_v3_RetryPolicy_msginit = {
231   &envoy_config_core_v3_RetryPolicy_submsgs[0],
232   &envoy_config_core_v3_RetryPolicy__fields[0],
233   UPB_SIZE(16, 24), 2, false, 255,
234 };
235 
236 static const upb_msglayout *const envoy_config_core_v3_RemoteDataSource_submsgs[2] = {
237   &envoy_config_core_v3_HttpUri_msginit,
238   &envoy_config_core_v3_RetryPolicy_msginit,
239 };
240 
241 static const upb_msglayout_field envoy_config_core_v3_RemoteDataSource__fields[3] = {
242   {1, UPB_SIZE(12, 24), 1, 0, 11, 1},
243   {2, UPB_SIZE(4, 8), 0, 0, 9, 1},
244   {3, UPB_SIZE(16, 32), 2, 1, 11, 1},
245 };
246 
247 const upb_msglayout envoy_config_core_v3_RemoteDataSource_msginit = {
248   &envoy_config_core_v3_RemoteDataSource_submsgs[0],
249   &envoy_config_core_v3_RemoteDataSource__fields[0],
250   UPB_SIZE(24, 48), 3, false, 255,
251 };
252 
253 static const upb_msglayout *const envoy_config_core_v3_AsyncDataSource_submsgs[2] = {
254   &envoy_config_core_v3_DataSource_msginit,
255   &envoy_config_core_v3_RemoteDataSource_msginit,
256 };
257 
258 static const upb_msglayout_field envoy_config_core_v3_AsyncDataSource__fields[2] = {
259   {1, UPB_SIZE(0, 0), UPB_SIZE(-5, -9), 0, 11, 1},
260   {2, UPB_SIZE(0, 0), UPB_SIZE(-5, -9), 1, 11, 1},
261 };
262 
263 const upb_msglayout envoy_config_core_v3_AsyncDataSource_msginit = {
264   &envoy_config_core_v3_AsyncDataSource_submsgs[0],
265   &envoy_config_core_v3_AsyncDataSource__fields[0],
266   UPB_SIZE(8, 16), 2, false, 255,
267 };
268 
269 static const upb_msglayout *const envoy_config_core_v3_TransportSocket_submsgs[1] = {
270   &google_protobuf_Any_msginit,
271 };
272 
273 static const upb_msglayout_field envoy_config_core_v3_TransportSocket__fields[2] = {
274   {1, UPB_SIZE(0, 0), 0, 0, 9, 1},
275   {3, UPB_SIZE(8, 16), UPB_SIZE(-13, -25), 0, 11, 1},
276 };
277 
278 const upb_msglayout envoy_config_core_v3_TransportSocket_msginit = {
279   &envoy_config_core_v3_TransportSocket_submsgs[0],
280   &envoy_config_core_v3_TransportSocket__fields[0],
281   UPB_SIZE(16, 32), 2, false, 255,
282 };
283 
284 static const upb_msglayout *const envoy_config_core_v3_RuntimeFractionalPercent_submsgs[1] = {
285   &envoy_type_v3_FractionalPercent_msginit,
286 };
287 
288 static const upb_msglayout_field envoy_config_core_v3_RuntimeFractionalPercent__fields[2] = {
289   {1, UPB_SIZE(12, 24), 1, 0, 11, 1},
290   {2, UPB_SIZE(4, 8), 0, 0, 9, 1},
291 };
292 
293 const upb_msglayout envoy_config_core_v3_RuntimeFractionalPercent_msginit = {
294   &envoy_config_core_v3_RuntimeFractionalPercent_submsgs[0],
295   &envoy_config_core_v3_RuntimeFractionalPercent__fields[0],
296   UPB_SIZE(16, 32), 2, false, 255,
297 };
298 
299 static const upb_msglayout_field envoy_config_core_v3_ControlPlane__fields[1] = {
300   {1, UPB_SIZE(0, 0), 0, 0, 9, 1},
301 };
302 
303 const upb_msglayout envoy_config_core_v3_ControlPlane_msginit = {
304   NULL,
305   &envoy_config_core_v3_ControlPlane__fields[0],
306   UPB_SIZE(8, 16), 1, false, 255,
307 };
308 
309 #include "upb/port_undef.inc"
310 
311