1 /* This file was generated by upbc (the upb compiler) from the input 2 * file: 3 * 4 * envoy/api/v2/route/route_components.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/route/route_components.upb.h" 12 #include "envoy/api/v2/core/base.upb.h" 13 #include "envoy/type/matcher/regex.upb.h" 14 #include "envoy/type/matcher/string.upb.h" 15 #include "envoy/type/percent.upb.h" 16 #include "envoy/type/range.upb.h" 17 #include "envoy/type/tracing/v2/custom_tag.upb.h" 18 #include "google/protobuf/any.upb.h" 19 #include "google/protobuf/duration.upb.h" 20 #include "google/protobuf/struct.upb.h" 21 #include "google/protobuf/wrappers.upb.h" 22 #include "envoy/annotations/deprecation.upb.h" 23 #include "udpa/annotations/migrate.upb.h" 24 #include "udpa/annotations/status.upb.h" 25 #include "validate/validate.upb.h" 26 27 #include "upb/port_def.inc" 28 29 static const upb_msglayout *const envoy_api_v2_route_VirtualHost_submsgs[12] = { 30 &envoy_api_v2_core_HeaderValueOption_msginit, 31 &envoy_api_v2_route_CorsPolicy_msginit, 32 &envoy_api_v2_route_HedgePolicy_msginit, 33 &envoy_api_v2_route_RateLimit_msginit, 34 &envoy_api_v2_route_RetryPolicy_msginit, 35 &envoy_api_v2_route_Route_msginit, 36 &envoy_api_v2_route_VirtualCluster_msginit, 37 &envoy_api_v2_route_VirtualHost_PerFilterConfigEntry_msginit, 38 &envoy_api_v2_route_VirtualHost_TypedPerFilterConfigEntry_msginit, 39 &google_protobuf_Any_msginit, 40 &google_protobuf_UInt32Value_msginit, 41 }; 42 43 static const upb_msglayout_field envoy_api_v2_route_VirtualHost__fields[19] = { 44 {1, UPB_SIZE(12, 16), 0, 0, 9, 1}, 45 {2, UPB_SIZE(40, 72), 0, 0, 9, 3}, 46 {3, UPB_SIZE(44, 80), 0, 5, 11, 3}, 47 {4, UPB_SIZE(0, 0), 0, 0, 14, 1}, 48 {5, UPB_SIZE(48, 88), 0, 6, 11, 3}, 49 {6, UPB_SIZE(52, 96), 0, 3, 11, 3}, 50 {7, UPB_SIZE(56, 104), 0, 0, 11, 3}, 51 {8, UPB_SIZE(20, 32), 0, 1, 11, 1}, 52 {10, UPB_SIZE(60, 112), 0, 0, 11, 3}, 53 {11, UPB_SIZE(64, 120), 0, 0, 9, 3}, 54 {12, UPB_SIZE(68, 128), 0, 7, 11, _UPB_LABEL_MAP}, 55 {13, UPB_SIZE(72, 136), 0, 0, 9, 3}, 56 {14, UPB_SIZE(8, 8), 0, 0, 8, 1}, 57 {15, UPB_SIZE(76, 144), 0, 8, 11, _UPB_LABEL_MAP}, 58 {16, UPB_SIZE(24, 40), 0, 4, 11, 1}, 59 {17, UPB_SIZE(28, 48), 0, 2, 11, 1}, 60 {18, UPB_SIZE(32, 56), 0, 10, 11, 1}, 61 {19, UPB_SIZE(9, 9), 0, 0, 8, 1}, 62 {20, UPB_SIZE(36, 64), 0, 9, 11, 1}, 63 }; 64 65 const upb_msglayout envoy_api_v2_route_VirtualHost_msginit = { 66 &envoy_api_v2_route_VirtualHost_submsgs[0], 67 &envoy_api_v2_route_VirtualHost__fields[0], 68 UPB_SIZE(80, 160), 19, false, 69 }; 70 71 static const upb_msglayout *const envoy_api_v2_route_VirtualHost_PerFilterConfigEntry_submsgs[1] = { 72 &google_protobuf_Struct_msginit, 73 }; 74 75 static const upb_msglayout_field envoy_api_v2_route_VirtualHost_PerFilterConfigEntry__fields[2] = { 76 {1, UPB_SIZE(0, 0), 0, 0, 9, 1}, 77 {2, UPB_SIZE(8, 16), 0, 0, 11, 1}, 78 }; 79 80 const upb_msglayout envoy_api_v2_route_VirtualHost_PerFilterConfigEntry_msginit = { 81 &envoy_api_v2_route_VirtualHost_PerFilterConfigEntry_submsgs[0], 82 &envoy_api_v2_route_VirtualHost_PerFilterConfigEntry__fields[0], 83 UPB_SIZE(16, 32), 2, false, 84 }; 85 86 static const upb_msglayout *const envoy_api_v2_route_VirtualHost_TypedPerFilterConfigEntry_submsgs[1] = { 87 &google_protobuf_Any_msginit, 88 }; 89 90 static const upb_msglayout_field envoy_api_v2_route_VirtualHost_TypedPerFilterConfigEntry__fields[2] = { 91 {1, UPB_SIZE(0, 0), 0, 0, 9, 1}, 92 {2, UPB_SIZE(8, 16), 0, 0, 11, 1}, 93 }; 94 95 const upb_msglayout envoy_api_v2_route_VirtualHost_TypedPerFilterConfigEntry_msginit = { 96 &envoy_api_v2_route_VirtualHost_TypedPerFilterConfigEntry_submsgs[0], 97 &envoy_api_v2_route_VirtualHost_TypedPerFilterConfigEntry__fields[0], 98 UPB_SIZE(16, 32), 2, false, 99 }; 100 101 static const upb_msglayout *const envoy_api_v2_route_FilterAction_submsgs[1] = { 102 &google_protobuf_Any_msginit, 103 }; 104 105 static const upb_msglayout_field envoy_api_v2_route_FilterAction__fields[1] = { 106 {1, UPB_SIZE(0, 0), 0, 0, 11, 1}, 107 }; 108 109 const upb_msglayout envoy_api_v2_route_FilterAction_msginit = { 110 &envoy_api_v2_route_FilterAction_submsgs[0], 111 &envoy_api_v2_route_FilterAction__fields[0], 112 UPB_SIZE(4, 8), 1, false, 113 }; 114 115 static const upb_msglayout *const envoy_api_v2_route_Route_submsgs[13] = { 116 &envoy_api_v2_core_HeaderValueOption_msginit, 117 &envoy_api_v2_core_Metadata_msginit, 118 &envoy_api_v2_route_Decorator_msginit, 119 &envoy_api_v2_route_DirectResponseAction_msginit, 120 &envoy_api_v2_route_FilterAction_msginit, 121 &envoy_api_v2_route_RedirectAction_msginit, 122 &envoy_api_v2_route_Route_PerFilterConfigEntry_msginit, 123 &envoy_api_v2_route_Route_TypedPerFilterConfigEntry_msginit, 124 &envoy_api_v2_route_RouteAction_msginit, 125 &envoy_api_v2_route_RouteMatch_msginit, 126 &envoy_api_v2_route_Tracing_msginit, 127 &google_protobuf_UInt32Value_msginit, 128 }; 129 130 static const upb_msglayout_field envoy_api_v2_route_Route__fields[16] = { 131 {1, UPB_SIZE(8, 16), 0, 9, 11, 1}, 132 {2, UPB_SIZE(52, 104), UPB_SIZE(-57, -113), 8, 11, 1}, 133 {3, UPB_SIZE(52, 104), UPB_SIZE(-57, -113), 5, 11, 1}, 134 {4, UPB_SIZE(12, 24), 0, 1, 11, 1}, 135 {5, UPB_SIZE(16, 32), 0, 2, 11, 1}, 136 {7, UPB_SIZE(52, 104), UPB_SIZE(-57, -113), 3, 11, 1}, 137 {8, UPB_SIZE(28, 56), 0, 6, 11, _UPB_LABEL_MAP}, 138 {9, UPB_SIZE(32, 64), 0, 0, 11, 3}, 139 {10, UPB_SIZE(36, 72), 0, 0, 11, 3}, 140 {11, UPB_SIZE(40, 80), 0, 0, 9, 3}, 141 {12, UPB_SIZE(44, 88), 0, 0, 9, 3}, 142 {13, UPB_SIZE(48, 96), 0, 7, 11, _UPB_LABEL_MAP}, 143 {14, UPB_SIZE(0, 0), 0, 0, 9, 1}, 144 {15, UPB_SIZE(20, 40), 0, 10, 11, 1}, 145 {16, UPB_SIZE(24, 48), 0, 11, 11, 1}, 146 {17, UPB_SIZE(52, 104), UPB_SIZE(-57, -113), 4, 11, 1}, 147 }; 148 149 const upb_msglayout envoy_api_v2_route_Route_msginit = { 150 &envoy_api_v2_route_Route_submsgs[0], 151 &envoy_api_v2_route_Route__fields[0], 152 UPB_SIZE(64, 128), 16, false, 153 }; 154 155 static const upb_msglayout *const envoy_api_v2_route_Route_PerFilterConfigEntry_submsgs[1] = { 156 &google_protobuf_Struct_msginit, 157 }; 158 159 static const upb_msglayout_field envoy_api_v2_route_Route_PerFilterConfigEntry__fields[2] = { 160 {1, UPB_SIZE(0, 0), 0, 0, 9, 1}, 161 {2, UPB_SIZE(8, 16), 0, 0, 11, 1}, 162 }; 163 164 const upb_msglayout envoy_api_v2_route_Route_PerFilterConfigEntry_msginit = { 165 &envoy_api_v2_route_Route_PerFilterConfigEntry_submsgs[0], 166 &envoy_api_v2_route_Route_PerFilterConfigEntry__fields[0], 167 UPB_SIZE(16, 32), 2, false, 168 }; 169 170 static const upb_msglayout *const envoy_api_v2_route_Route_TypedPerFilterConfigEntry_submsgs[1] = { 171 &google_protobuf_Any_msginit, 172 }; 173 174 static const upb_msglayout_field envoy_api_v2_route_Route_TypedPerFilterConfigEntry__fields[2] = { 175 {1, UPB_SIZE(0, 0), 0, 0, 9, 1}, 176 {2, UPB_SIZE(8, 16), 0, 0, 11, 1}, 177 }; 178 179 const upb_msglayout envoy_api_v2_route_Route_TypedPerFilterConfigEntry_msginit = { 180 &envoy_api_v2_route_Route_TypedPerFilterConfigEntry_submsgs[0], 181 &envoy_api_v2_route_Route_TypedPerFilterConfigEntry__fields[0], 182 UPB_SIZE(16, 32), 2, false, 183 }; 184 185 static const upb_msglayout *const envoy_api_v2_route_WeightedCluster_submsgs[2] = { 186 &envoy_api_v2_route_WeightedCluster_ClusterWeight_msginit, 187 &google_protobuf_UInt32Value_msginit, 188 }; 189 190 static const upb_msglayout_field envoy_api_v2_route_WeightedCluster__fields[3] = { 191 {1, UPB_SIZE(12, 24), 0, 0, 11, 3}, 192 {2, UPB_SIZE(0, 0), 0, 0, 9, 1}, 193 {3, UPB_SIZE(8, 16), 0, 1, 11, 1}, 194 }; 195 196 const upb_msglayout envoy_api_v2_route_WeightedCluster_msginit = { 197 &envoy_api_v2_route_WeightedCluster_submsgs[0], 198 &envoy_api_v2_route_WeightedCluster__fields[0], 199 UPB_SIZE(16, 32), 3, false, 200 }; 201 202 static const upb_msglayout *const envoy_api_v2_route_WeightedCluster_ClusterWeight_submsgs[6] = { 203 &envoy_api_v2_core_HeaderValueOption_msginit, 204 &envoy_api_v2_core_Metadata_msginit, 205 &envoy_api_v2_route_WeightedCluster_ClusterWeight_PerFilterConfigEntry_msginit, 206 &envoy_api_v2_route_WeightedCluster_ClusterWeight_TypedPerFilterConfigEntry_msginit, 207 &google_protobuf_UInt32Value_msginit, 208 }; 209 210 static const upb_msglayout_field envoy_api_v2_route_WeightedCluster_ClusterWeight__fields[9] = { 211 {1, UPB_SIZE(0, 0), 0, 0, 9, 1}, 212 {2, UPB_SIZE(8, 16), 0, 4, 11, 1}, 213 {3, UPB_SIZE(12, 24), 0, 1, 11, 1}, 214 {4, UPB_SIZE(16, 32), 0, 0, 11, 3}, 215 {5, UPB_SIZE(20, 40), 0, 0, 11, 3}, 216 {6, UPB_SIZE(24, 48), 0, 0, 9, 3}, 217 {8, UPB_SIZE(28, 56), 0, 2, 11, _UPB_LABEL_MAP}, 218 {9, UPB_SIZE(32, 64), 0, 0, 9, 3}, 219 {10, UPB_SIZE(36, 72), 0, 3, 11, _UPB_LABEL_MAP}, 220 }; 221 222 const upb_msglayout envoy_api_v2_route_WeightedCluster_ClusterWeight_msginit = { 223 &envoy_api_v2_route_WeightedCluster_ClusterWeight_submsgs[0], 224 &envoy_api_v2_route_WeightedCluster_ClusterWeight__fields[0], 225 UPB_SIZE(40, 80), 9, false, 226 }; 227 228 static const upb_msglayout *const envoy_api_v2_route_WeightedCluster_ClusterWeight_PerFilterConfigEntry_submsgs[1] = { 229 &google_protobuf_Struct_msginit, 230 }; 231 232 static const upb_msglayout_field envoy_api_v2_route_WeightedCluster_ClusterWeight_PerFilterConfigEntry__fields[2] = { 233 {1, UPB_SIZE(0, 0), 0, 0, 9, 1}, 234 {2, UPB_SIZE(8, 16), 0, 0, 11, 1}, 235 }; 236 237 const upb_msglayout envoy_api_v2_route_WeightedCluster_ClusterWeight_PerFilterConfigEntry_msginit = { 238 &envoy_api_v2_route_WeightedCluster_ClusterWeight_PerFilterConfigEntry_submsgs[0], 239 &envoy_api_v2_route_WeightedCluster_ClusterWeight_PerFilterConfigEntry__fields[0], 240 UPB_SIZE(16, 32), 2, false, 241 }; 242 243 static const upb_msglayout *const envoy_api_v2_route_WeightedCluster_ClusterWeight_TypedPerFilterConfigEntry_submsgs[1] = { 244 &google_protobuf_Any_msginit, 245 }; 246 247 static const upb_msglayout_field envoy_api_v2_route_WeightedCluster_ClusterWeight_TypedPerFilterConfigEntry__fields[2] = { 248 {1, UPB_SIZE(0, 0), 0, 0, 9, 1}, 249 {2, UPB_SIZE(8, 16), 0, 0, 11, 1}, 250 }; 251 252 const upb_msglayout envoy_api_v2_route_WeightedCluster_ClusterWeight_TypedPerFilterConfigEntry_msginit = { 253 &envoy_api_v2_route_WeightedCluster_ClusterWeight_TypedPerFilterConfigEntry_submsgs[0], 254 &envoy_api_v2_route_WeightedCluster_ClusterWeight_TypedPerFilterConfigEntry__fields[0], 255 UPB_SIZE(16, 32), 2, false, 256 }; 257 258 static const upb_msglayout *const envoy_api_v2_route_RouteMatch_submsgs[7] = { 259 &envoy_api_v2_core_RuntimeFractionalPercent_msginit, 260 &envoy_api_v2_route_HeaderMatcher_msginit, 261 &envoy_api_v2_route_QueryParameterMatcher_msginit, 262 &envoy_api_v2_route_RouteMatch_GrpcRouteMatchOptions_msginit, 263 &envoy_api_v2_route_RouteMatch_TlsContextMatchOptions_msginit, 264 &envoy_type_matcher_RegexMatcher_msginit, 265 &google_protobuf_BoolValue_msginit, 266 }; 267 268 static const upb_msglayout_field envoy_api_v2_route_RouteMatch__fields[10] = { 269 {1, UPB_SIZE(24, 48), UPB_SIZE(-33, -65), 0, 9, 1}, 270 {2, UPB_SIZE(24, 48), UPB_SIZE(-33, -65), 0, 9, 1}, 271 {3, UPB_SIZE(24, 48), UPB_SIZE(-33, -65), 0, 9, 1}, 272 {4, UPB_SIZE(0, 0), 0, 6, 11, 1}, 273 {6, UPB_SIZE(16, 32), 0, 1, 11, 3}, 274 {7, UPB_SIZE(20, 40), 0, 2, 11, 3}, 275 {8, UPB_SIZE(4, 8), 0, 3, 11, 1}, 276 {9, UPB_SIZE(8, 16), 0, 0, 11, 1}, 277 {10, UPB_SIZE(24, 48), UPB_SIZE(-33, -65), 5, 11, 1}, 278 {11, UPB_SIZE(12, 24), 0, 4, 11, 1}, 279 }; 280 281 const upb_msglayout envoy_api_v2_route_RouteMatch_msginit = { 282 &envoy_api_v2_route_RouteMatch_submsgs[0], 283 &envoy_api_v2_route_RouteMatch__fields[0], 284 UPB_SIZE(40, 80), 10, false, 285 }; 286 287 const upb_msglayout envoy_api_v2_route_RouteMatch_GrpcRouteMatchOptions_msginit = { 288 NULL, 289 NULL, 290 UPB_SIZE(0, 0), 0, false, 291 }; 292 293 static const upb_msglayout *const envoy_api_v2_route_RouteMatch_TlsContextMatchOptions_submsgs[2] = { 294 &google_protobuf_BoolValue_msginit, 295 }; 296 297 static const upb_msglayout_field envoy_api_v2_route_RouteMatch_TlsContextMatchOptions__fields[2] = { 298 {1, UPB_SIZE(0, 0), 0, 0, 11, 1}, 299 {2, UPB_SIZE(4, 8), 0, 0, 11, 1}, 300 }; 301 302 const upb_msglayout envoy_api_v2_route_RouteMatch_TlsContextMatchOptions_msginit = { 303 &envoy_api_v2_route_RouteMatch_TlsContextMatchOptions_submsgs[0], 304 &envoy_api_v2_route_RouteMatch_TlsContextMatchOptions__fields[0], 305 UPB_SIZE(8, 16), 2, false, 306 }; 307 308 static const upb_msglayout *const envoy_api_v2_route_CorsPolicy_submsgs[5] = { 309 &envoy_api_v2_core_RuntimeFractionalPercent_msginit, 310 &envoy_type_matcher_StringMatcher_msginit, 311 &google_protobuf_BoolValue_msginit, 312 }; 313 314 static const upb_msglayout_field envoy_api_v2_route_CorsPolicy__fields[11] = { 315 {1, UPB_SIZE(40, 80), 0, 0, 9, 3}, 316 {2, UPB_SIZE(0, 0), 0, 0, 9, 1}, 317 {3, UPB_SIZE(8, 16), 0, 0, 9, 1}, 318 {4, UPB_SIZE(16, 32), 0, 0, 9, 1}, 319 {5, UPB_SIZE(24, 48), 0, 0, 9, 1}, 320 {6, UPB_SIZE(32, 64), 0, 2, 11, 1}, 321 {7, UPB_SIZE(52, 104), UPB_SIZE(-57, -113), 2, 11, 1}, 322 {8, UPB_SIZE(44, 88), 0, 0, 9, 3}, 323 {9, UPB_SIZE(52, 104), UPB_SIZE(-57, -113), 0, 11, 1}, 324 {10, UPB_SIZE(36, 72), 0, 0, 11, 1}, 325 {11, UPB_SIZE(48, 96), 0, 1, 11, 3}, 326 }; 327 328 const upb_msglayout envoy_api_v2_route_CorsPolicy_msginit = { 329 &envoy_api_v2_route_CorsPolicy_submsgs[0], 330 &envoy_api_v2_route_CorsPolicy__fields[0], 331 UPB_SIZE(64, 128), 11, false, 332 }; 333 334 static const upb_msglayout *const envoy_api_v2_route_RouteAction_submsgs[19] = { 335 &envoy_api_v2_core_Metadata_msginit, 336 &envoy_api_v2_route_CorsPolicy_msginit, 337 &envoy_api_v2_route_HedgePolicy_msginit, 338 &envoy_api_v2_route_RateLimit_msginit, 339 &envoy_api_v2_route_RetryPolicy_msginit, 340 &envoy_api_v2_route_RouteAction_HashPolicy_msginit, 341 &envoy_api_v2_route_RouteAction_RequestMirrorPolicy_msginit, 342 &envoy_api_v2_route_RouteAction_UpgradeConfig_msginit, 343 &envoy_api_v2_route_WeightedCluster_msginit, 344 &envoy_type_matcher_RegexMatchAndSubstitute_msginit, 345 &google_protobuf_Any_msginit, 346 &google_protobuf_BoolValue_msginit, 347 &google_protobuf_Duration_msginit, 348 &google_protobuf_UInt32Value_msginit, 349 }; 350 351 static const upb_msglayout_field envoy_api_v2_route_RouteAction__fields[27] = { 352 {1, UPB_SIZE(100, 176), UPB_SIZE(-109, -193), 0, 9, 1}, 353 {2, UPB_SIZE(100, 176), UPB_SIZE(-109, -193), 0, 9, 1}, 354 {3, UPB_SIZE(100, 176), UPB_SIZE(-109, -193), 8, 11, 1}, 355 {4, UPB_SIZE(32, 40), 0, 0, 11, 1}, 356 {5, UPB_SIZE(24, 24), 0, 0, 9, 1}, 357 {6, UPB_SIZE(112, 200), UPB_SIZE(-121, -217), 0, 9, 1}, 358 {7, UPB_SIZE(112, 200), UPB_SIZE(-121, -217), 11, 11, 1}, 359 {8, UPB_SIZE(36, 48), 0, 12, 11, 1}, 360 {9, UPB_SIZE(40, 56), 0, 4, 11, 1}, 361 {10, UPB_SIZE(44, 64), 0, 6, 11, 1}, 362 {11, UPB_SIZE(0, 0), 0, 0, 14, 1}, 363 {13, UPB_SIZE(84, 144), 0, 3, 11, 3}, 364 {14, UPB_SIZE(48, 72), 0, 11, 11, 1}, 365 {15, UPB_SIZE(88, 152), 0, 5, 11, 3}, 366 {17, UPB_SIZE(52, 80), 0, 1, 11, 1}, 367 {20, UPB_SIZE(8, 8), 0, 0, 14, 1}, 368 {23, UPB_SIZE(56, 88), 0, 12, 11, 1}, 369 {24, UPB_SIZE(60, 96), 0, 12, 11, 1}, 370 {25, UPB_SIZE(92, 160), 0, 7, 11, 3}, 371 {26, UPB_SIZE(16, 16), 0, 0, 14, 1}, 372 {27, UPB_SIZE(64, 104), 0, 2, 11, 1}, 373 {28, UPB_SIZE(68, 112), 0, 12, 11, 1}, 374 {29, UPB_SIZE(112, 200), UPB_SIZE(-121, -217), 0, 9, 1}, 375 {30, UPB_SIZE(96, 168), 0, 6, 11, 3}, 376 {31, UPB_SIZE(72, 120), 0, 13, 11, 1}, 377 {32, UPB_SIZE(76, 128), 0, 9, 11, 1}, 378 {33, UPB_SIZE(80, 136), 0, 10, 11, 1}, 379 }; 380 381 const upb_msglayout envoy_api_v2_route_RouteAction_msginit = { 382 &envoy_api_v2_route_RouteAction_submsgs[0], 383 &envoy_api_v2_route_RouteAction__fields[0], 384 UPB_SIZE(128, 224), 27, false, 385 }; 386 387 static const upb_msglayout *const envoy_api_v2_route_RouteAction_RequestMirrorPolicy_submsgs[2] = { 388 &envoy_api_v2_core_RuntimeFractionalPercent_msginit, 389 &google_protobuf_BoolValue_msginit, 390 }; 391 392 static const upb_msglayout_field envoy_api_v2_route_RouteAction_RequestMirrorPolicy__fields[4] = { 393 {1, UPB_SIZE(0, 0), 0, 0, 9, 1}, 394 {2, UPB_SIZE(8, 16), 0, 0, 9, 1}, 395 {3, UPB_SIZE(16, 32), 0, 0, 11, 1}, 396 {4, UPB_SIZE(20, 40), 0, 1, 11, 1}, 397 }; 398 399 const upb_msglayout envoy_api_v2_route_RouteAction_RequestMirrorPolicy_msginit = { 400 &envoy_api_v2_route_RouteAction_RequestMirrorPolicy_submsgs[0], 401 &envoy_api_v2_route_RouteAction_RequestMirrorPolicy__fields[0], 402 UPB_SIZE(24, 48), 4, false, 403 }; 404 405 static const upb_msglayout *const envoy_api_v2_route_RouteAction_HashPolicy_submsgs[5] = { 406 &envoy_api_v2_route_RouteAction_HashPolicy_ConnectionProperties_msginit, 407 &envoy_api_v2_route_RouteAction_HashPolicy_Cookie_msginit, 408 &envoy_api_v2_route_RouteAction_HashPolicy_FilterState_msginit, 409 &envoy_api_v2_route_RouteAction_HashPolicy_Header_msginit, 410 &envoy_api_v2_route_RouteAction_HashPolicy_QueryParameter_msginit, 411 }; 412 413 static const upb_msglayout_field envoy_api_v2_route_RouteAction_HashPolicy__fields[6] = { 414 {1, UPB_SIZE(4, 8), UPB_SIZE(-9, -17), 3, 11, 1}, 415 {2, UPB_SIZE(4, 8), UPB_SIZE(-9, -17), 1, 11, 1}, 416 {3, UPB_SIZE(4, 8), UPB_SIZE(-9, -17), 0, 11, 1}, 417 {4, UPB_SIZE(0, 0), 0, 0, 8, 1}, 418 {5, UPB_SIZE(4, 8), UPB_SIZE(-9, -17), 4, 11, 1}, 419 {6, UPB_SIZE(4, 8), UPB_SIZE(-9, -17), 2, 11, 1}, 420 }; 421 422 const upb_msglayout envoy_api_v2_route_RouteAction_HashPolicy_msginit = { 423 &envoy_api_v2_route_RouteAction_HashPolicy_submsgs[0], 424 &envoy_api_v2_route_RouteAction_HashPolicy__fields[0], 425 UPB_SIZE(12, 24), 6, false, 426 }; 427 428 static const upb_msglayout_field envoy_api_v2_route_RouteAction_HashPolicy_Header__fields[1] = { 429 {1, UPB_SIZE(0, 0), 0, 0, 9, 1}, 430 }; 431 432 const upb_msglayout envoy_api_v2_route_RouteAction_HashPolicy_Header_msginit = { 433 NULL, 434 &envoy_api_v2_route_RouteAction_HashPolicy_Header__fields[0], 435 UPB_SIZE(8, 16), 1, false, 436 }; 437 438 static const upb_msglayout *const envoy_api_v2_route_RouteAction_HashPolicy_Cookie_submsgs[1] = { 439 &google_protobuf_Duration_msginit, 440 }; 441 442 static const upb_msglayout_field envoy_api_v2_route_RouteAction_HashPolicy_Cookie__fields[3] = { 443 {1, UPB_SIZE(0, 0), 0, 0, 9, 1}, 444 {2, UPB_SIZE(16, 32), 0, 0, 11, 1}, 445 {3, UPB_SIZE(8, 16), 0, 0, 9, 1}, 446 }; 447 448 const upb_msglayout envoy_api_v2_route_RouteAction_HashPolicy_Cookie_msginit = { 449 &envoy_api_v2_route_RouteAction_HashPolicy_Cookie_submsgs[0], 450 &envoy_api_v2_route_RouteAction_HashPolicy_Cookie__fields[0], 451 UPB_SIZE(24, 48), 3, false, 452 }; 453 454 static const upb_msglayout_field envoy_api_v2_route_RouteAction_HashPolicy_ConnectionProperties__fields[1] = { 455 {1, UPB_SIZE(0, 0), 0, 0, 8, 1}, 456 }; 457 458 const upb_msglayout envoy_api_v2_route_RouteAction_HashPolicy_ConnectionProperties_msginit = { 459 NULL, 460 &envoy_api_v2_route_RouteAction_HashPolicy_ConnectionProperties__fields[0], 461 UPB_SIZE(1, 1), 1, false, 462 }; 463 464 static const upb_msglayout_field envoy_api_v2_route_RouteAction_HashPolicy_QueryParameter__fields[1] = { 465 {1, UPB_SIZE(0, 0), 0, 0, 9, 1}, 466 }; 467 468 const upb_msglayout envoy_api_v2_route_RouteAction_HashPolicy_QueryParameter_msginit = { 469 NULL, 470 &envoy_api_v2_route_RouteAction_HashPolicy_QueryParameter__fields[0], 471 UPB_SIZE(8, 16), 1, false, 472 }; 473 474 static const upb_msglayout_field envoy_api_v2_route_RouteAction_HashPolicy_FilterState__fields[1] = { 475 {1, UPB_SIZE(0, 0), 0, 0, 9, 1}, 476 }; 477 478 const upb_msglayout envoy_api_v2_route_RouteAction_HashPolicy_FilterState_msginit = { 479 NULL, 480 &envoy_api_v2_route_RouteAction_HashPolicy_FilterState__fields[0], 481 UPB_SIZE(8, 16), 1, false, 482 }; 483 484 static const upb_msglayout *const envoy_api_v2_route_RouteAction_UpgradeConfig_submsgs[1] = { 485 &google_protobuf_BoolValue_msginit, 486 }; 487 488 static const upb_msglayout_field envoy_api_v2_route_RouteAction_UpgradeConfig__fields[2] = { 489 {1, UPB_SIZE(0, 0), 0, 0, 9, 1}, 490 {2, UPB_SIZE(8, 16), 0, 0, 11, 1}, 491 }; 492 493 const upb_msglayout envoy_api_v2_route_RouteAction_UpgradeConfig_msginit = { 494 &envoy_api_v2_route_RouteAction_UpgradeConfig_submsgs[0], 495 &envoy_api_v2_route_RouteAction_UpgradeConfig__fields[0], 496 UPB_SIZE(16, 32), 2, false, 497 }; 498 499 static const upb_msglayout *const envoy_api_v2_route_RetryPolicy_submsgs[7] = { 500 &envoy_api_v2_route_HeaderMatcher_msginit, 501 &envoy_api_v2_route_RetryPolicy_RetryBackOff_msginit, 502 &envoy_api_v2_route_RetryPolicy_RetryHostPredicate_msginit, 503 &envoy_api_v2_route_RetryPolicy_RetryPriority_msginit, 504 &google_protobuf_Duration_msginit, 505 &google_protobuf_UInt32Value_msginit, 506 }; 507 508 static const upb_msglayout_field envoy_api_v2_route_RetryPolicy__fields[10] = { 509 {1, UPB_SIZE(8, 8), 0, 0, 9, 1}, 510 {2, UPB_SIZE(16, 24), 0, 5, 11, 1}, 511 {3, UPB_SIZE(20, 32), 0, 4, 11, 1}, 512 {4, UPB_SIZE(24, 40), 0, 3, 11, 1}, 513 {5, UPB_SIZE(32, 56), 0, 2, 11, 3}, 514 {6, UPB_SIZE(0, 0), 0, 0, 3, 1}, 515 {7, UPB_SIZE(36, 64), 0, 0, 13, _UPB_LABEL_PACKED}, 516 {8, UPB_SIZE(28, 48), 0, 1, 11, 1}, 517 {9, UPB_SIZE(40, 72), 0, 0, 11, 3}, 518 {10, UPB_SIZE(44, 80), 0, 0, 11, 3}, 519 }; 520 521 const upb_msglayout envoy_api_v2_route_RetryPolicy_msginit = { 522 &envoy_api_v2_route_RetryPolicy_submsgs[0], 523 &envoy_api_v2_route_RetryPolicy__fields[0], 524 UPB_SIZE(48, 96), 10, false, 525 }; 526 527 static const upb_msglayout *const envoy_api_v2_route_RetryPolicy_RetryPriority_submsgs[2] = { 528 &google_protobuf_Any_msginit, 529 &google_protobuf_Struct_msginit, 530 }; 531 532 static const upb_msglayout_field envoy_api_v2_route_RetryPolicy_RetryPriority__fields[3] = { 533 {1, UPB_SIZE(0, 0), 0, 0, 9, 1}, 534 {2, UPB_SIZE(8, 16), UPB_SIZE(-13, -25), 1, 11, 1}, 535 {3, UPB_SIZE(8, 16), UPB_SIZE(-13, -25), 0, 11, 1}, 536 }; 537 538 const upb_msglayout envoy_api_v2_route_RetryPolicy_RetryPriority_msginit = { 539 &envoy_api_v2_route_RetryPolicy_RetryPriority_submsgs[0], 540 &envoy_api_v2_route_RetryPolicy_RetryPriority__fields[0], 541 UPB_SIZE(16, 32), 3, false, 542 }; 543 544 static const upb_msglayout *const envoy_api_v2_route_RetryPolicy_RetryHostPredicate_submsgs[2] = { 545 &google_protobuf_Any_msginit, 546 &google_protobuf_Struct_msginit, 547 }; 548 549 static const upb_msglayout_field envoy_api_v2_route_RetryPolicy_RetryHostPredicate__fields[3] = { 550 {1, UPB_SIZE(0, 0), 0, 0, 9, 1}, 551 {2, UPB_SIZE(8, 16), UPB_SIZE(-13, -25), 1, 11, 1}, 552 {3, UPB_SIZE(8, 16), UPB_SIZE(-13, -25), 0, 11, 1}, 553 }; 554 555 const upb_msglayout envoy_api_v2_route_RetryPolicy_RetryHostPredicate_msginit = { 556 &envoy_api_v2_route_RetryPolicy_RetryHostPredicate_submsgs[0], 557 &envoy_api_v2_route_RetryPolicy_RetryHostPredicate__fields[0], 558 UPB_SIZE(16, 32), 3, false, 559 }; 560 561 static const upb_msglayout *const envoy_api_v2_route_RetryPolicy_RetryBackOff_submsgs[2] = { 562 &google_protobuf_Duration_msginit, 563 }; 564 565 static const upb_msglayout_field envoy_api_v2_route_RetryPolicy_RetryBackOff__fields[2] = { 566 {1, UPB_SIZE(0, 0), 0, 0, 11, 1}, 567 {2, UPB_SIZE(4, 8), 0, 0, 11, 1}, 568 }; 569 570 const upb_msglayout envoy_api_v2_route_RetryPolicy_RetryBackOff_msginit = { 571 &envoy_api_v2_route_RetryPolicy_RetryBackOff_submsgs[0], 572 &envoy_api_v2_route_RetryPolicy_RetryBackOff__fields[0], 573 UPB_SIZE(8, 16), 2, false, 574 }; 575 576 static const upb_msglayout *const envoy_api_v2_route_HedgePolicy_submsgs[2] = { 577 &envoy_type_FractionalPercent_msginit, 578 &google_protobuf_UInt32Value_msginit, 579 }; 580 581 static const upb_msglayout_field envoy_api_v2_route_HedgePolicy__fields[3] = { 582 {1, UPB_SIZE(4, 8), 0, 1, 11, 1}, 583 {2, UPB_SIZE(8, 16), 0, 0, 11, 1}, 584 {3, UPB_SIZE(0, 0), 0, 0, 8, 1}, 585 }; 586 587 const upb_msglayout envoy_api_v2_route_HedgePolicy_msginit = { 588 &envoy_api_v2_route_HedgePolicy_submsgs[0], 589 &envoy_api_v2_route_HedgePolicy__fields[0], 590 UPB_SIZE(12, 24), 3, false, 591 }; 592 593 static const upb_msglayout_field envoy_api_v2_route_RedirectAction__fields[8] = { 594 {1, UPB_SIZE(16, 16), 0, 0, 9, 1}, 595 {2, UPB_SIZE(24, 32), UPB_SIZE(-33, -49), 0, 9, 1}, 596 {3, UPB_SIZE(0, 0), 0, 0, 14, 1}, 597 {4, UPB_SIZE(36, 56), UPB_SIZE(-45, -73), 0, 8, 1}, 598 {5, UPB_SIZE(24, 32), UPB_SIZE(-33, -49), 0, 9, 1}, 599 {6, UPB_SIZE(12, 12), 0, 0, 8, 1}, 600 {7, UPB_SIZE(36, 56), UPB_SIZE(-45, -73), 0, 9, 1}, 601 {8, UPB_SIZE(8, 8), 0, 0, 13, 1}, 602 }; 603 604 const upb_msglayout envoy_api_v2_route_RedirectAction_msginit = { 605 NULL, 606 &envoy_api_v2_route_RedirectAction__fields[0], 607 UPB_SIZE(48, 80), 8, false, 608 }; 609 610 static const upb_msglayout *const envoy_api_v2_route_DirectResponseAction_submsgs[1] = { 611 &envoy_api_v2_core_DataSource_msginit, 612 }; 613 614 static const upb_msglayout_field envoy_api_v2_route_DirectResponseAction__fields[2] = { 615 {1, UPB_SIZE(0, 0), 0, 0, 13, 1}, 616 {2, UPB_SIZE(4, 8), 0, 0, 11, 1}, 617 }; 618 619 const upb_msglayout envoy_api_v2_route_DirectResponseAction_msginit = { 620 &envoy_api_v2_route_DirectResponseAction_submsgs[0], 621 &envoy_api_v2_route_DirectResponseAction__fields[0], 622 UPB_SIZE(8, 16), 2, false, 623 }; 624 625 static const upb_msglayout *const envoy_api_v2_route_Decorator_submsgs[1] = { 626 &google_protobuf_BoolValue_msginit, 627 }; 628 629 static const upb_msglayout_field envoy_api_v2_route_Decorator__fields[2] = { 630 {1, UPB_SIZE(0, 0), 0, 0, 9, 1}, 631 {2, UPB_SIZE(8, 16), 0, 0, 11, 1}, 632 }; 633 634 const upb_msglayout envoy_api_v2_route_Decorator_msginit = { 635 &envoy_api_v2_route_Decorator_submsgs[0], 636 &envoy_api_v2_route_Decorator__fields[0], 637 UPB_SIZE(16, 32), 2, false, 638 }; 639 640 static const upb_msglayout *const envoy_api_v2_route_Tracing_submsgs[4] = { 641 &envoy_type_FractionalPercent_msginit, 642 &envoy_type_tracing_v2_CustomTag_msginit, 643 }; 644 645 static const upb_msglayout_field envoy_api_v2_route_Tracing__fields[4] = { 646 {1, UPB_SIZE(0, 0), 0, 0, 11, 1}, 647 {2, UPB_SIZE(4, 8), 0, 0, 11, 1}, 648 {3, UPB_SIZE(8, 16), 0, 0, 11, 1}, 649 {4, UPB_SIZE(12, 24), 0, 1, 11, 3}, 650 }; 651 652 const upb_msglayout envoy_api_v2_route_Tracing_msginit = { 653 &envoy_api_v2_route_Tracing_submsgs[0], 654 &envoy_api_v2_route_Tracing__fields[0], 655 UPB_SIZE(16, 32), 4, false, 656 }; 657 658 static const upb_msglayout *const envoy_api_v2_route_VirtualCluster_submsgs[1] = { 659 &envoy_api_v2_route_HeaderMatcher_msginit, 660 }; 661 662 static const upb_msglayout_field envoy_api_v2_route_VirtualCluster__fields[4] = { 663 {1, UPB_SIZE(8, 8), 0, 0, 9, 1}, 664 {2, UPB_SIZE(16, 24), 0, 0, 9, 1}, 665 {3, UPB_SIZE(0, 0), 0, 0, 14, 1}, 666 {4, UPB_SIZE(24, 40), 0, 0, 11, 3}, 667 }; 668 669 const upb_msglayout envoy_api_v2_route_VirtualCluster_msginit = { 670 &envoy_api_v2_route_VirtualCluster_submsgs[0], 671 &envoy_api_v2_route_VirtualCluster__fields[0], 672 UPB_SIZE(32, 48), 4, false, 673 }; 674 675 static const upb_msglayout *const envoy_api_v2_route_RateLimit_submsgs[2] = { 676 &envoy_api_v2_route_RateLimit_Action_msginit, 677 &google_protobuf_UInt32Value_msginit, 678 }; 679 680 static const upb_msglayout_field envoy_api_v2_route_RateLimit__fields[3] = { 681 {1, UPB_SIZE(8, 16), 0, 1, 11, 1}, 682 {2, UPB_SIZE(0, 0), 0, 0, 9, 1}, 683 {3, UPB_SIZE(12, 24), 0, 0, 11, 3}, 684 }; 685 686 const upb_msglayout envoy_api_v2_route_RateLimit_msginit = { 687 &envoy_api_v2_route_RateLimit_submsgs[0], 688 &envoy_api_v2_route_RateLimit__fields[0], 689 UPB_SIZE(16, 32), 3, false, 690 }; 691 692 static const upb_msglayout *const envoy_api_v2_route_RateLimit_Action_submsgs[6] = { 693 &envoy_api_v2_route_RateLimit_Action_DestinationCluster_msginit, 694 &envoy_api_v2_route_RateLimit_Action_GenericKey_msginit, 695 &envoy_api_v2_route_RateLimit_Action_HeaderValueMatch_msginit, 696 &envoy_api_v2_route_RateLimit_Action_RemoteAddress_msginit, 697 &envoy_api_v2_route_RateLimit_Action_RequestHeaders_msginit, 698 &envoy_api_v2_route_RateLimit_Action_SourceCluster_msginit, 699 }; 700 701 static const upb_msglayout_field envoy_api_v2_route_RateLimit_Action__fields[6] = { 702 {1, UPB_SIZE(0, 0), UPB_SIZE(-5, -9), 5, 11, 1}, 703 {2, UPB_SIZE(0, 0), UPB_SIZE(-5, -9), 0, 11, 1}, 704 {3, UPB_SIZE(0, 0), UPB_SIZE(-5, -9), 4, 11, 1}, 705 {4, UPB_SIZE(0, 0), UPB_SIZE(-5, -9), 3, 11, 1}, 706 {5, UPB_SIZE(0, 0), UPB_SIZE(-5, -9), 1, 11, 1}, 707 {6, UPB_SIZE(0, 0), UPB_SIZE(-5, -9), 2, 11, 1}, 708 }; 709 710 const upb_msglayout envoy_api_v2_route_RateLimit_Action_msginit = { 711 &envoy_api_v2_route_RateLimit_Action_submsgs[0], 712 &envoy_api_v2_route_RateLimit_Action__fields[0], 713 UPB_SIZE(8, 16), 6, false, 714 }; 715 716 const upb_msglayout envoy_api_v2_route_RateLimit_Action_SourceCluster_msginit = { 717 NULL, 718 NULL, 719 UPB_SIZE(0, 0), 0, false, 720 }; 721 722 const upb_msglayout envoy_api_v2_route_RateLimit_Action_DestinationCluster_msginit = { 723 NULL, 724 NULL, 725 UPB_SIZE(0, 0), 0, false, 726 }; 727 728 static const upb_msglayout_field envoy_api_v2_route_RateLimit_Action_RequestHeaders__fields[2] = { 729 {1, UPB_SIZE(0, 0), 0, 0, 9, 1}, 730 {2, UPB_SIZE(8, 16), 0, 0, 9, 1}, 731 }; 732 733 const upb_msglayout envoy_api_v2_route_RateLimit_Action_RequestHeaders_msginit = { 734 NULL, 735 &envoy_api_v2_route_RateLimit_Action_RequestHeaders__fields[0], 736 UPB_SIZE(16, 32), 2, false, 737 }; 738 739 const upb_msglayout envoy_api_v2_route_RateLimit_Action_RemoteAddress_msginit = { 740 NULL, 741 NULL, 742 UPB_SIZE(0, 0), 0, false, 743 }; 744 745 static const upb_msglayout_field envoy_api_v2_route_RateLimit_Action_GenericKey__fields[1] = { 746 {1, UPB_SIZE(0, 0), 0, 0, 9, 1}, 747 }; 748 749 const upb_msglayout envoy_api_v2_route_RateLimit_Action_GenericKey_msginit = { 750 NULL, 751 &envoy_api_v2_route_RateLimit_Action_GenericKey__fields[0], 752 UPB_SIZE(8, 16), 1, false, 753 }; 754 755 static const upb_msglayout *const envoy_api_v2_route_RateLimit_Action_HeaderValueMatch_submsgs[2] = { 756 &envoy_api_v2_route_HeaderMatcher_msginit, 757 &google_protobuf_BoolValue_msginit, 758 }; 759 760 static const upb_msglayout_field envoy_api_v2_route_RateLimit_Action_HeaderValueMatch__fields[3] = { 761 {1, UPB_SIZE(0, 0), 0, 0, 9, 1}, 762 {2, UPB_SIZE(8, 16), 0, 1, 11, 1}, 763 {3, UPB_SIZE(12, 24), 0, 0, 11, 3}, 764 }; 765 766 const upb_msglayout envoy_api_v2_route_RateLimit_Action_HeaderValueMatch_msginit = { 767 &envoy_api_v2_route_RateLimit_Action_HeaderValueMatch_submsgs[0], 768 &envoy_api_v2_route_RateLimit_Action_HeaderValueMatch__fields[0], 769 UPB_SIZE(16, 32), 3, false, 770 }; 771 772 static const upb_msglayout *const envoy_api_v2_route_HeaderMatcher_submsgs[2] = { 773 &envoy_type_Int64Range_msginit, 774 &envoy_type_matcher_RegexMatcher_msginit, 775 }; 776 777 static const upb_msglayout_field envoy_api_v2_route_HeaderMatcher__fields[9] = { 778 {1, UPB_SIZE(4, 8), 0, 0, 9, 1}, 779 {4, UPB_SIZE(12, 24), UPB_SIZE(-21, -41), 0, 9, 1}, 780 {5, UPB_SIZE(12, 24), UPB_SIZE(-21, -41), 0, 9, 1}, 781 {6, UPB_SIZE(12, 24), UPB_SIZE(-21, -41), 0, 11, 1}, 782 {7, UPB_SIZE(12, 24), UPB_SIZE(-21, -41), 0, 8, 1}, 783 {8, UPB_SIZE(0, 0), 0, 0, 8, 1}, 784 {9, UPB_SIZE(12, 24), UPB_SIZE(-21, -41), 0, 9, 1}, 785 {10, UPB_SIZE(12, 24), UPB_SIZE(-21, -41), 0, 9, 1}, 786 {11, UPB_SIZE(12, 24), UPB_SIZE(-21, -41), 1, 11, 1}, 787 }; 788 789 const upb_msglayout envoy_api_v2_route_HeaderMatcher_msginit = { 790 &envoy_api_v2_route_HeaderMatcher_submsgs[0], 791 &envoy_api_v2_route_HeaderMatcher__fields[0], 792 UPB_SIZE(24, 48), 9, false, 793 }; 794 795 static const upb_msglayout *const envoy_api_v2_route_QueryParameterMatcher_submsgs[2] = { 796 &envoy_type_matcher_StringMatcher_msginit, 797 &google_protobuf_BoolValue_msginit, 798 }; 799 800 static const upb_msglayout_field envoy_api_v2_route_QueryParameterMatcher__fields[5] = { 801 {1, UPB_SIZE(0, 0), 0, 0, 9, 1}, 802 {3, UPB_SIZE(8, 16), 0, 0, 9, 1}, 803 {4, UPB_SIZE(16, 32), 0, 1, 11, 1}, 804 {5, UPB_SIZE(20, 40), UPB_SIZE(-25, -49), 0, 11, 1}, 805 {6, UPB_SIZE(20, 40), UPB_SIZE(-25, -49), 0, 8, 1}, 806 }; 807 808 const upb_msglayout envoy_api_v2_route_QueryParameterMatcher_msginit = { 809 &envoy_api_v2_route_QueryParameterMatcher_submsgs[0], 810 &envoy_api_v2_route_QueryParameterMatcher__fields[0], 811 UPB_SIZE(32, 64), 5, false, 812 }; 813 814 #include "upb/port_undef.inc" 815 816