Built motion from commit 6a09e18b.|2.6.11
[motion2.git] / legacy-libs / grpc / deps / grpc / src / core / ext / upb-generated / envoy / api / v2 / cds.upb.c
1 /* This file was generated by upbc (the upb compiler) from the input
2  * file:
3  *
4  *     envoy/api/v2/cds.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/cds.upb.h"
12 #include "envoy/api/v2/core/address.upb.h"
13 #include "envoy/api/v2/auth/cert.upb.h"
14 #include "envoy/api/v2/core/base.upb.h"
15 #include "envoy/api/v2/core/config_source.upb.h"
16 #include "envoy/api/v2/discovery.upb.h"
17 #include "envoy/api/v2/core/health_check.upb.h"
18 #include "envoy/api/v2/core/protocol.upb.h"
19 #include "envoy/api/v2/cluster/circuit_breaker.upb.h"
20 #include "envoy/api/v2/cluster/filter.upb.h"
21 #include "envoy/api/v2/cluster/outlier_detection.upb.h"
22 #include "envoy/api/v2/eds.upb.h"
23 #include "envoy/type/percent.upb.h"
24 #include "google/api/annotations.upb.h"
25 #include "google/protobuf/any.upb.h"
26 #include "google/protobuf/duration.upb.h"
27 #include "google/protobuf/struct.upb.h"
28 #include "google/protobuf/wrappers.upb.h"
29 #include "validate/validate.upb.h"
30 #include "gogoproto/gogo.upb.h"
31
32 #include "upb/port_def.inc"
33
34 static const upb_msglayout *const envoy_api_v2_Cluster_submsgs[29] = {
35   &envoy_api_v2_Cluster_CommonLbConfig_msginit,
36   &envoy_api_v2_Cluster_CustomClusterType_msginit,
37   &envoy_api_v2_Cluster_EdsClusterConfig_msginit,
38   &envoy_api_v2_Cluster_ExtensionProtocolOptionsEntry_msginit,
39   &envoy_api_v2_Cluster_LbSubsetConfig_msginit,
40   &envoy_api_v2_Cluster_LeastRequestLbConfig_msginit,
41   &envoy_api_v2_Cluster_OriginalDstLbConfig_msginit,
42   &envoy_api_v2_Cluster_RingHashLbConfig_msginit,
43   &envoy_api_v2_Cluster_TypedExtensionProtocolOptionsEntry_msginit,
44   &envoy_api_v2_ClusterLoadAssignment_msginit,
45   &envoy_api_v2_UpstreamConnectionOptions_msginit,
46   &envoy_api_v2_auth_UpstreamTlsContext_msginit,
47   &envoy_api_v2_cluster_CircuitBreakers_msginit,
48   &envoy_api_v2_cluster_Filter_msginit,
49   &envoy_api_v2_cluster_OutlierDetection_msginit,
50   &envoy_api_v2_core_Address_msginit,
51   &envoy_api_v2_core_BindConfig_msginit,
52   &envoy_api_v2_core_HealthCheck_msginit,
53   &envoy_api_v2_core_Http1ProtocolOptions_msginit,
54   &envoy_api_v2_core_Http2ProtocolOptions_msginit,
55   &envoy_api_v2_core_HttpProtocolOptions_msginit,
56   &envoy_api_v2_core_Metadata_msginit,
57   &envoy_api_v2_core_TransportSocket_msginit,
58   &google_protobuf_Duration_msginit,
59   &google_protobuf_UInt32Value_msginit,
60 };
61
62 static const upb_msglayout_field envoy_api_v2_Cluster__fields[38] = {
63   {1, UPB_SIZE(28, 32), 0, 0, 9, 1},
64   {2, UPB_SIZE(144, 264), UPB_SIZE(-153, -273), 0, 14, 1},
65   {3, UPB_SIZE(44, 64), 0, 2, 11, 1},
66   {4, UPB_SIZE(48, 72), 0, 23, 11, 1},
67   {5, UPB_SIZE(52, 80), 0, 24, 11, 1},
68   {6, UPB_SIZE(0, 0), 0, 0, 14, 1},
69   {7, UPB_SIZE(120, 216), 0, 15, 11, 3},
70   {8, UPB_SIZE(124, 224), 0, 17, 11, 3},
71   {9, UPB_SIZE(56, 88), 0, 24, 11, 1},
72   {10, UPB_SIZE(60, 96), 0, 12, 11, 1},
73   {11, UPB_SIZE(64, 104), 0, 11, 11, 1},
74   {13, UPB_SIZE(68, 112), 0, 18, 11, 1},
75   {14, UPB_SIZE(72, 120), 0, 19, 11, 1},
76   {16, UPB_SIZE(76, 128), 0, 23, 11, 1},
77   {17, UPB_SIZE(8, 8), 0, 0, 14, 1},
78   {18, UPB_SIZE(128, 232), 0, 15, 11, 3},
79   {19, UPB_SIZE(80, 136), 0, 14, 11, 1},
80   {20, UPB_SIZE(84, 144), 0, 23, 11, 1},
81   {21, UPB_SIZE(88, 152), 0, 16, 11, 1},
82   {22, UPB_SIZE(92, 160), 0, 4, 11, 1},
83   {23, UPB_SIZE(156, 280), UPB_SIZE(-161, -289), 7, 11, 1},
84   {24, UPB_SIZE(96, 168), 0, 22, 11, 1},
85   {25, UPB_SIZE(100, 176), 0, 21, 11, 1},
86   {26, UPB_SIZE(16, 16), 0, 0, 14, 1},
87   {27, UPB_SIZE(104, 184), 0, 0, 11, 1},
88   {28, UPB_SIZE(36, 48), 0, 0, 9, 1},
89   {29, UPB_SIZE(108, 192), 0, 20, 11, 1},
90   {30, UPB_SIZE(112, 200), 0, 10, 11, 1},
91   {31, UPB_SIZE(24, 24), 0, 0, 8, 1},
92   {32, UPB_SIZE(25, 25), 0, 0, 8, 1},
93   {33, UPB_SIZE(116, 208), 0, 9, 11, 1},
94   {34, UPB_SIZE(156, 280), UPB_SIZE(-161, -289), 6, 11, 1},
95   {35, UPB_SIZE(132, 240), 0, 3, 11, 3},
96   {36, UPB_SIZE(136, 248), 0, 8, 11, 3},
97   {37, UPB_SIZE(156, 280), UPB_SIZE(-161, -289), 5, 11, 1},
98   {38, UPB_SIZE(144, 264), UPB_SIZE(-153, -273), 1, 11, 1},
99   {39, UPB_SIZE(26, 26), 0, 0, 8, 1},
100   {40, UPB_SIZE(140, 256), 0, 13, 11, 3},
101 };
102
103 const upb_msglayout envoy_api_v2_Cluster_msginit = {
104   &envoy_api_v2_Cluster_submsgs[0],
105   &envoy_api_v2_Cluster__fields[0],
106   UPB_SIZE(168, 304), 38, false,
107 };
108
109 static const upb_msglayout *const envoy_api_v2_Cluster_CustomClusterType_submsgs[1] = {
110   &google_protobuf_Any_msginit,
111 };
112
113 static const upb_msglayout_field envoy_api_v2_Cluster_CustomClusterType__fields[2] = {
114   {1, UPB_SIZE(0, 0), 0, 0, 9, 1},
115   {2, UPB_SIZE(8, 16), 0, 0, 11, 1},
116 };
117
118 const upb_msglayout envoy_api_v2_Cluster_CustomClusterType_msginit = {
119   &envoy_api_v2_Cluster_CustomClusterType_submsgs[0],
120   &envoy_api_v2_Cluster_CustomClusterType__fields[0],
121   UPB_SIZE(16, 32), 2, false,
122 };
123
124 static const upb_msglayout *const envoy_api_v2_Cluster_EdsClusterConfig_submsgs[1] = {
125   &envoy_api_v2_core_ConfigSource_msginit,
126 };
127
128 static const upb_msglayout_field envoy_api_v2_Cluster_EdsClusterConfig__fields[2] = {
129   {1, UPB_SIZE(8, 16), 0, 0, 11, 1},
130   {2, UPB_SIZE(0, 0), 0, 0, 9, 1},
131 };
132
133 const upb_msglayout envoy_api_v2_Cluster_EdsClusterConfig_msginit = {
134   &envoy_api_v2_Cluster_EdsClusterConfig_submsgs[0],
135   &envoy_api_v2_Cluster_EdsClusterConfig__fields[0],
136   UPB_SIZE(16, 32), 2, false,
137 };
138
139 static const upb_msglayout *const envoy_api_v2_Cluster_ExtensionProtocolOptionsEntry_submsgs[1] = {
140   &google_protobuf_Struct_msginit,
141 };
142
143 static const upb_msglayout_field envoy_api_v2_Cluster_ExtensionProtocolOptionsEntry__fields[2] = {
144   {1, UPB_SIZE(0, 0), 0, 0, 9, 1},
145   {2, UPB_SIZE(8, 16), 0, 0, 11, 1},
146 };
147
148 const upb_msglayout envoy_api_v2_Cluster_ExtensionProtocolOptionsEntry_msginit = {
149   &envoy_api_v2_Cluster_ExtensionProtocolOptionsEntry_submsgs[0],
150   &envoy_api_v2_Cluster_ExtensionProtocolOptionsEntry__fields[0],
151   UPB_SIZE(16, 32), 2, false,
152 };
153
154 static const upb_msglayout *const envoy_api_v2_Cluster_TypedExtensionProtocolOptionsEntry_submsgs[1] = {
155   &google_protobuf_Any_msginit,
156 };
157
158 static const upb_msglayout_field envoy_api_v2_Cluster_TypedExtensionProtocolOptionsEntry__fields[2] = {
159   {1, UPB_SIZE(0, 0), 0, 0, 9, 1},
160   {2, UPB_SIZE(8, 16), 0, 0, 11, 1},
161 };
162
163 const upb_msglayout envoy_api_v2_Cluster_TypedExtensionProtocolOptionsEntry_msginit = {
164   &envoy_api_v2_Cluster_TypedExtensionProtocolOptionsEntry_submsgs[0],
165   &envoy_api_v2_Cluster_TypedExtensionProtocolOptionsEntry__fields[0],
166   UPB_SIZE(16, 32), 2, false,
167 };
168
169 static const upb_msglayout *const envoy_api_v2_Cluster_LbSubsetConfig_submsgs[2] = {
170   &envoy_api_v2_Cluster_LbSubsetConfig_LbSubsetSelector_msginit,
171   &google_protobuf_Struct_msginit,
172 };
173
174 static const upb_msglayout_field envoy_api_v2_Cluster_LbSubsetConfig__fields[7] = {
175   {1, UPB_SIZE(0, 0), 0, 0, 14, 1},
176   {2, UPB_SIZE(12, 16), 0, 1, 11, 1},
177   {3, UPB_SIZE(16, 24), 0, 0, 11, 3},
178   {4, UPB_SIZE(8, 8), 0, 0, 8, 1},
179   {5, UPB_SIZE(9, 9), 0, 0, 8, 1},
180   {6, UPB_SIZE(10, 10), 0, 0, 8, 1},
181   {7, UPB_SIZE(11, 11), 0, 0, 8, 1},
182 };
183
184 const upb_msglayout envoy_api_v2_Cluster_LbSubsetConfig_msginit = {
185   &envoy_api_v2_Cluster_LbSubsetConfig_submsgs[0],
186   &envoy_api_v2_Cluster_LbSubsetConfig__fields[0],
187   UPB_SIZE(24, 32), 7, false,
188 };
189
190 static const upb_msglayout_field envoy_api_v2_Cluster_LbSubsetConfig_LbSubsetSelector__fields[2] = {
191   {1, UPB_SIZE(8, 8), 0, 0, 9, 3},
192   {2, UPB_SIZE(0, 0), 0, 0, 14, 1},
193 };
194
195 const upb_msglayout envoy_api_v2_Cluster_LbSubsetConfig_LbSubsetSelector_msginit = {
196   NULL,
197   &envoy_api_v2_Cluster_LbSubsetConfig_LbSubsetSelector__fields[0],
198   UPB_SIZE(16, 16), 2, false,
199 };
200
201 static const upb_msglayout *const envoy_api_v2_Cluster_LeastRequestLbConfig_submsgs[1] = {
202   &google_protobuf_UInt32Value_msginit,
203 };
204
205 static const upb_msglayout_field envoy_api_v2_Cluster_LeastRequestLbConfig__fields[1] = {
206   {1, UPB_SIZE(0, 0), 0, 0, 11, 1},
207 };
208
209 const upb_msglayout envoy_api_v2_Cluster_LeastRequestLbConfig_msginit = {
210   &envoy_api_v2_Cluster_LeastRequestLbConfig_submsgs[0],
211   &envoy_api_v2_Cluster_LeastRequestLbConfig__fields[0],
212   UPB_SIZE(4, 8), 1, false,
213 };
214
215 static const upb_msglayout *const envoy_api_v2_Cluster_RingHashLbConfig_submsgs[2] = {
216   &google_protobuf_UInt64Value_msginit,
217 };
218
219 static const upb_msglayout_field envoy_api_v2_Cluster_RingHashLbConfig__fields[3] = {
220   {1, UPB_SIZE(8, 8), 0, 0, 11, 1},
221   {3, UPB_SIZE(0, 0), 0, 0, 14, 1},
222   {4, UPB_SIZE(12, 16), 0, 0, 11, 1},
223 };
224
225 const upb_msglayout envoy_api_v2_Cluster_RingHashLbConfig_msginit = {
226   &envoy_api_v2_Cluster_RingHashLbConfig_submsgs[0],
227   &envoy_api_v2_Cluster_RingHashLbConfig__fields[0],
228   UPB_SIZE(16, 24), 3, false,
229 };
230
231 static const upb_msglayout_field envoy_api_v2_Cluster_OriginalDstLbConfig__fields[1] = {
232   {1, UPB_SIZE(0, 0), 0, 0, 8, 1},
233 };
234
235 const upb_msglayout envoy_api_v2_Cluster_OriginalDstLbConfig_msginit = {
236   NULL,
237   &envoy_api_v2_Cluster_OriginalDstLbConfig__fields[0],
238   UPB_SIZE(1, 1), 1, false,
239 };
240
241 static const upb_msglayout *const envoy_api_v2_Cluster_CommonLbConfig_submsgs[4] = {
242   &envoy_api_v2_Cluster_CommonLbConfig_LocalityWeightedLbConfig_msginit,
243   &envoy_api_v2_Cluster_CommonLbConfig_ZoneAwareLbConfig_msginit,
244   &envoy_type_Percent_msginit,
245   &google_protobuf_Duration_msginit,
246 };
247
248 static const upb_msglayout_field envoy_api_v2_Cluster_CommonLbConfig__fields[6] = {
249   {1, UPB_SIZE(4, 8), 0, 2, 11, 1},
250   {2, UPB_SIZE(12, 24), UPB_SIZE(-17, -33), 1, 11, 1},
251   {3, UPB_SIZE(12, 24), UPB_SIZE(-17, -33), 0, 11, 1},
252   {4, UPB_SIZE(8, 16), 0, 3, 11, 1},
253   {5, UPB_SIZE(0, 0), 0, 0, 8, 1},
254   {6, UPB_SIZE(1, 1), 0, 0, 8, 1},
255 };
256
257 const upb_msglayout envoy_api_v2_Cluster_CommonLbConfig_msginit = {
258   &envoy_api_v2_Cluster_CommonLbConfig_submsgs[0],
259   &envoy_api_v2_Cluster_CommonLbConfig__fields[0],
260   UPB_SIZE(20, 40), 6, false,
261 };
262
263 static const upb_msglayout *const envoy_api_v2_Cluster_CommonLbConfig_ZoneAwareLbConfig_submsgs[2] = {
264   &envoy_type_Percent_msginit,
265   &google_protobuf_UInt64Value_msginit,
266 };
267
268 static const upb_msglayout_field envoy_api_v2_Cluster_CommonLbConfig_ZoneAwareLbConfig__fields[2] = {
269   {1, UPB_SIZE(0, 0), 0, 0, 11, 1},
270   {2, UPB_SIZE(4, 8), 0, 1, 11, 1},
271 };
272
273 const upb_msglayout envoy_api_v2_Cluster_CommonLbConfig_ZoneAwareLbConfig_msginit = {
274   &envoy_api_v2_Cluster_CommonLbConfig_ZoneAwareLbConfig_submsgs[0],
275   &envoy_api_v2_Cluster_CommonLbConfig_ZoneAwareLbConfig__fields[0],
276   UPB_SIZE(8, 16), 2, false,
277 };
278
279 const upb_msglayout envoy_api_v2_Cluster_CommonLbConfig_LocalityWeightedLbConfig_msginit = {
280   NULL,
281   NULL,
282   UPB_SIZE(0, 0), 0, false,
283 };
284
285 static const upb_msglayout *const envoy_api_v2_UpstreamBindConfig_submsgs[1] = {
286   &envoy_api_v2_core_Address_msginit,
287 };
288
289 static const upb_msglayout_field envoy_api_v2_UpstreamBindConfig__fields[1] = {
290   {1, UPB_SIZE(0, 0), 0, 0, 11, 1},
291 };
292
293 const upb_msglayout envoy_api_v2_UpstreamBindConfig_msginit = {
294   &envoy_api_v2_UpstreamBindConfig_submsgs[0],
295   &envoy_api_v2_UpstreamBindConfig__fields[0],
296   UPB_SIZE(4, 8), 1, false,
297 };
298
299 static const upb_msglayout *const envoy_api_v2_UpstreamConnectionOptions_submsgs[1] = {
300   &envoy_api_v2_core_TcpKeepalive_msginit,
301 };
302
303 static const upb_msglayout_field envoy_api_v2_UpstreamConnectionOptions__fields[1] = {
304   {1, UPB_SIZE(0, 0), 0, 0, 11, 1},
305 };
306
307 const upb_msglayout envoy_api_v2_UpstreamConnectionOptions_msginit = {
308   &envoy_api_v2_UpstreamConnectionOptions_submsgs[0],
309   &envoy_api_v2_UpstreamConnectionOptions__fields[0],
310   UPB_SIZE(4, 8), 1, false,
311 };
312
313 #include "upb/port_undef.inc"
314