1 /* This file was generated by upbc (the upb compiler) from the input 2 * file: 3 * 4 * envoy/config/cluster/v3/cluster.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_internal.h" 11 #include "envoy/config/cluster/v3/cluster.upb.h" 12 #include "envoy/config/cluster/v3/circuit_breaker.upb.h" 13 #include "envoy/config/cluster/v3/filter.upb.h" 14 #include "envoy/config/cluster/v3/outlier_detection.upb.h" 15 #include "envoy/config/core/v3/address.upb.h" 16 #include "envoy/config/core/v3/base.upb.h" 17 #include "envoy/config/core/v3/config_source.upb.h" 18 #include "envoy/config/core/v3/extension.upb.h" 19 #include "envoy/config/core/v3/health_check.upb.h" 20 #include "envoy/config/core/v3/protocol.upb.h" 21 #include "envoy/config/core/v3/resolver.upb.h" 22 #include "envoy/config/endpoint/v3/endpoint.upb.h" 23 #include "envoy/type/v3/percent.upb.h" 24 #include "google/protobuf/any.upb.h" 25 #include "google/protobuf/duration.upb.h" 26 #include "google/protobuf/struct.upb.h" 27 #include "google/protobuf/wrappers.upb.h" 28 #include "xds/core/v3/collection_entry.upb.h" 29 #include "envoy/annotations/deprecation.upb.h" 30 #include "udpa/annotations/migrate.upb.h" 31 #include "udpa/annotations/security.upb.h" 32 #include "udpa/annotations/status.upb.h" 33 #include "udpa/annotations/versioning.upb.h" 34 #include "validate/validate.upb.h" 35 36 #include "upb/port_def.inc" 37 38 static const upb_msglayout *const envoy_config_cluster_v3_ClusterCollection_submsgs[1] = { 39 &xds_core_v3_CollectionEntry_msginit, 40 }; 41 42 static const upb_msglayout_field envoy_config_cluster_v3_ClusterCollection__fields[1] = { 43 {1, UPB_SIZE(4, 8), 1, 0, 11, _UPB_MODE_SCALAR}, 44 }; 45 46 const upb_msglayout envoy_config_cluster_v3_ClusterCollection_msginit = { 47 &envoy_config_cluster_v3_ClusterCollection_submsgs[0], 48 &envoy_config_cluster_v3_ClusterCollection__fields[0], 49 UPB_SIZE(8, 16), 1, false, 1, 255, 50 }; 51 52 static const upb_msglayout *const envoy_config_cluster_v3_Cluster_submsgs[35] = { 53 &envoy_config_cluster_v3_CircuitBreakers_msginit, 54 &envoy_config_cluster_v3_Cluster_CommonLbConfig_msginit, 55 &envoy_config_cluster_v3_Cluster_CustomClusterType_msginit, 56 &envoy_config_cluster_v3_Cluster_EdsClusterConfig_msginit, 57 &envoy_config_cluster_v3_Cluster_LbSubsetConfig_msginit, 58 &envoy_config_cluster_v3_Cluster_LeastRequestLbConfig_msginit, 59 &envoy_config_cluster_v3_Cluster_MaglevLbConfig_msginit, 60 &envoy_config_cluster_v3_Cluster_OriginalDstLbConfig_msginit, 61 &envoy_config_cluster_v3_Cluster_PreconnectPolicy_msginit, 62 &envoy_config_cluster_v3_Cluster_RefreshRate_msginit, 63 &envoy_config_cluster_v3_Cluster_RingHashLbConfig_msginit, 64 &envoy_config_cluster_v3_Cluster_RoundRobinLbConfig_msginit, 65 &envoy_config_cluster_v3_Cluster_TransportSocketMatch_msginit, 66 &envoy_config_cluster_v3_Cluster_TypedExtensionProtocolOptionsEntry_msginit, 67 &envoy_config_cluster_v3_Filter_msginit, 68 &envoy_config_cluster_v3_LoadBalancingPolicy_msginit, 69 &envoy_config_cluster_v3_OutlierDetection_msginit, 70 &envoy_config_cluster_v3_TrackClusterStats_msginit, 71 &envoy_config_cluster_v3_UpstreamConnectionOptions_msginit, 72 &envoy_config_core_v3_Address_msginit, 73 &envoy_config_core_v3_BindConfig_msginit, 74 &envoy_config_core_v3_ConfigSource_msginit, 75 &envoy_config_core_v3_DnsResolutionConfig_msginit, 76 &envoy_config_core_v3_HealthCheck_msginit, 77 &envoy_config_core_v3_Http1ProtocolOptions_msginit, 78 &envoy_config_core_v3_Http2ProtocolOptions_msginit, 79 &envoy_config_core_v3_HttpProtocolOptions_msginit, 80 &envoy_config_core_v3_Metadata_msginit, 81 &envoy_config_core_v3_TransportSocket_msginit, 82 &envoy_config_core_v3_TypedExtensionConfig_msginit, 83 &envoy_config_core_v3_UpstreamHttpProtocolOptions_msginit, 84 &envoy_config_endpoint_v3_ClusterLoadAssignment_msginit, 85 &google_protobuf_BoolValue_msginit, 86 &google_protobuf_Duration_msginit, 87 &google_protobuf_UInt32Value_msginit, 88 }; 89 90 static const upb_msglayout_field envoy_config_cluster_v3_Cluster__fields[51] = { 91 {1, UPB_SIZE(24, 24), 0, 0, 9, _UPB_MODE_SCALAR}, 92 {2, UPB_SIZE(172, 320), UPB_SIZE(-177, -329), 0, 14, _UPB_MODE_SCALAR}, 93 {3, UPB_SIZE(40, 56), 1, 3, 11, _UPB_MODE_SCALAR}, 94 {4, UPB_SIZE(44, 64), 2, 33, 11, _UPB_MODE_SCALAR}, 95 {5, UPB_SIZE(48, 72), 3, 34, 11, _UPB_MODE_SCALAR}, 96 {6, UPB_SIZE(4, 4), 0, 0, 14, _UPB_MODE_SCALAR}, 97 {8, UPB_SIZE(152, 280), 0, 23, 11, _UPB_MODE_ARRAY}, 98 {9, UPB_SIZE(52, 80), 4, 34, 11, _UPB_MODE_SCALAR}, 99 {10, UPB_SIZE(56, 88), 5, 0, 11, _UPB_MODE_SCALAR}, 100 {13, UPB_SIZE(60, 96), 6, 24, 11, _UPB_MODE_SCALAR}, 101 {14, UPB_SIZE(64, 104), 7, 25, 11, _UPB_MODE_SCALAR}, 102 {16, UPB_SIZE(68, 112), 8, 33, 11, _UPB_MODE_SCALAR}, 103 {17, UPB_SIZE(8, 8), 0, 0, 14, _UPB_MODE_SCALAR}, 104 {18, UPB_SIZE(156, 288), 0, 19, 11, _UPB_MODE_ARRAY}, 105 {19, UPB_SIZE(72, 120), 9, 16, 11, _UPB_MODE_SCALAR}, 106 {20, UPB_SIZE(76, 128), 10, 33, 11, _UPB_MODE_SCALAR}, 107 {21, UPB_SIZE(80, 136), 11, 20, 11, _UPB_MODE_SCALAR}, 108 {22, UPB_SIZE(84, 144), 12, 4, 11, _UPB_MODE_SCALAR}, 109 {23, UPB_SIZE(180, 336), UPB_SIZE(-185, -345), 10, 11, _UPB_MODE_SCALAR}, 110 {24, UPB_SIZE(88, 152), 13, 28, 11, _UPB_MODE_SCALAR}, 111 {25, UPB_SIZE(92, 160), 14, 27, 11, _UPB_MODE_SCALAR}, 112 {26, UPB_SIZE(12, 12), 0, 0, 14, _UPB_MODE_SCALAR}, 113 {27, UPB_SIZE(96, 168), 15, 1, 11, _UPB_MODE_SCALAR}, 114 {28, UPB_SIZE(32, 40), 0, 0, 9, _UPB_MODE_SCALAR}, 115 {29, UPB_SIZE(100, 176), 16, 26, 11, _UPB_MODE_SCALAR}, 116 {30, UPB_SIZE(104, 184), 17, 18, 11, _UPB_MODE_SCALAR}, 117 {31, UPB_SIZE(16, 16), 0, 0, 8, _UPB_MODE_SCALAR}, 118 {32, UPB_SIZE(17, 17), 0, 0, 8, _UPB_MODE_SCALAR}, 119 {33, UPB_SIZE(108, 192), 18, 31, 11, _UPB_MODE_SCALAR}, 120 {34, UPB_SIZE(180, 336), UPB_SIZE(-185, -345), 7, 11, _UPB_MODE_SCALAR}, 121 {36, UPB_SIZE(160, 296), 0, 13, 11, _UPB_MODE_MAP}, 122 {37, UPB_SIZE(180, 336), UPB_SIZE(-185, -345), 5, 11, _UPB_MODE_SCALAR}, 123 {38, UPB_SIZE(172, 320), UPB_SIZE(-177, -329), 2, 11, _UPB_MODE_SCALAR}, 124 {39, UPB_SIZE(18, 18), 0, 0, 8, _UPB_MODE_SCALAR}, 125 {40, UPB_SIZE(164, 304), 0, 14, 11, _UPB_MODE_ARRAY}, 126 {41, UPB_SIZE(112, 200), 19, 15, 11, _UPB_MODE_SCALAR}, 127 {42, UPB_SIZE(116, 208), 20, 21, 11, _UPB_MODE_SCALAR}, 128 {43, UPB_SIZE(168, 312), 0, 12, 11, _UPB_MODE_ARRAY}, 129 {44, UPB_SIZE(120, 216), 21, 9, 11, _UPB_MODE_SCALAR}, 130 {45, UPB_SIZE(19, 19), 0, 0, 8, _UPB_MODE_SCALAR}, 131 {46, UPB_SIZE(124, 224), 22, 30, 11, _UPB_MODE_SCALAR}, 132 {47, UPB_SIZE(20, 20), 0, 0, 8, _UPB_MODE_SCALAR}, 133 {48, UPB_SIZE(128, 232), 23, 29, 11, _UPB_MODE_SCALAR}, 134 {49, UPB_SIZE(132, 240), 24, 17, 11, _UPB_MODE_SCALAR}, 135 {50, UPB_SIZE(136, 248), 25, 8, 11, _UPB_MODE_SCALAR}, 136 {51, UPB_SIZE(21, 21), 0, 0, 8, _UPB_MODE_SCALAR}, 137 {52, UPB_SIZE(180, 336), UPB_SIZE(-185, -345), 6, 11, _UPB_MODE_SCALAR}, 138 {53, UPB_SIZE(140, 256), 26, 22, 11, _UPB_MODE_SCALAR}, 139 {54, UPB_SIZE(144, 264), 27, 32, 11, _UPB_MODE_SCALAR}, 140 {55, UPB_SIZE(148, 272), 28, 29, 11, _UPB_MODE_SCALAR}, 141 {56, UPB_SIZE(180, 336), UPB_SIZE(-185, -345), 11, 11, _UPB_MODE_SCALAR}, 142 }; 143 144 const upb_msglayout envoy_config_cluster_v3_Cluster_msginit = { 145 &envoy_config_cluster_v3_Cluster_submsgs[0], 146 &envoy_config_cluster_v3_Cluster__fields[0], 147 UPB_SIZE(192, 352), 51, false, 6, 255, 148 }; 149 150 static const upb_msglayout *const envoy_config_cluster_v3_Cluster_TransportSocketMatch_submsgs[2] = { 151 &envoy_config_core_v3_TransportSocket_msginit, 152 &google_protobuf_Struct_msginit, 153 }; 154 155 static const upb_msglayout_field envoy_config_cluster_v3_Cluster_TransportSocketMatch__fields[3] = { 156 {1, UPB_SIZE(4, 8), 0, 0, 9, _UPB_MODE_SCALAR}, 157 {2, UPB_SIZE(12, 24), 1, 1, 11, _UPB_MODE_SCALAR}, 158 {3, UPB_SIZE(16, 32), 2, 0, 11, _UPB_MODE_SCALAR}, 159 }; 160 161 const upb_msglayout envoy_config_cluster_v3_Cluster_TransportSocketMatch_msginit = { 162 &envoy_config_cluster_v3_Cluster_TransportSocketMatch_submsgs[0], 163 &envoy_config_cluster_v3_Cluster_TransportSocketMatch__fields[0], 164 UPB_SIZE(24, 48), 3, false, 3, 255, 165 }; 166 167 static const upb_msglayout *const envoy_config_cluster_v3_Cluster_CustomClusterType_submsgs[1] = { 168 &google_protobuf_Any_msginit, 169 }; 170 171 static const upb_msglayout_field envoy_config_cluster_v3_Cluster_CustomClusterType__fields[2] = { 172 {1, UPB_SIZE(4, 8), 0, 0, 9, _UPB_MODE_SCALAR}, 173 {2, UPB_SIZE(12, 24), 1, 0, 11, _UPB_MODE_SCALAR}, 174 }; 175 176 const upb_msglayout envoy_config_cluster_v3_Cluster_CustomClusterType_msginit = { 177 &envoy_config_cluster_v3_Cluster_CustomClusterType_submsgs[0], 178 &envoy_config_cluster_v3_Cluster_CustomClusterType__fields[0], 179 UPB_SIZE(16, 32), 2, false, 2, 255, 180 }; 181 182 static const upb_msglayout *const envoy_config_cluster_v3_Cluster_EdsClusterConfig_submsgs[1] = { 183 &envoy_config_core_v3_ConfigSource_msginit, 184 }; 185 186 static const upb_msglayout_field envoy_config_cluster_v3_Cluster_EdsClusterConfig__fields[2] = { 187 {1, UPB_SIZE(12, 24), 1, 0, 11, _UPB_MODE_SCALAR}, 188 {2, UPB_SIZE(4, 8), 0, 0, 9, _UPB_MODE_SCALAR}, 189 }; 190 191 const upb_msglayout envoy_config_cluster_v3_Cluster_EdsClusterConfig_msginit = { 192 &envoy_config_cluster_v3_Cluster_EdsClusterConfig_submsgs[0], 193 &envoy_config_cluster_v3_Cluster_EdsClusterConfig__fields[0], 194 UPB_SIZE(16, 32), 2, false, 2, 255, 195 }; 196 197 static const upb_msglayout *const envoy_config_cluster_v3_Cluster_LbSubsetConfig_submsgs[2] = { 198 &envoy_config_cluster_v3_Cluster_LbSubsetConfig_LbSubsetSelector_msginit, 199 &google_protobuf_Struct_msginit, 200 }; 201 202 static const upb_msglayout_field envoy_config_cluster_v3_Cluster_LbSubsetConfig__fields[7] = { 203 {1, UPB_SIZE(4, 4), 0, 0, 14, _UPB_MODE_SCALAR}, 204 {2, UPB_SIZE(12, 16), 1, 1, 11, _UPB_MODE_SCALAR}, 205 {3, UPB_SIZE(16, 24), 0, 0, 11, _UPB_MODE_ARRAY}, 206 {4, UPB_SIZE(8, 8), 0, 0, 8, _UPB_MODE_SCALAR}, 207 {5, UPB_SIZE(9, 9), 0, 0, 8, _UPB_MODE_SCALAR}, 208 {6, UPB_SIZE(10, 10), 0, 0, 8, _UPB_MODE_SCALAR}, 209 {7, UPB_SIZE(11, 11), 0, 0, 8, _UPB_MODE_SCALAR}, 210 }; 211 212 const upb_msglayout envoy_config_cluster_v3_Cluster_LbSubsetConfig_msginit = { 213 &envoy_config_cluster_v3_Cluster_LbSubsetConfig_submsgs[0], 214 &envoy_config_cluster_v3_Cluster_LbSubsetConfig__fields[0], 215 UPB_SIZE(24, 32), 7, false, 7, 255, 216 }; 217 218 static const upb_msglayout_field envoy_config_cluster_v3_Cluster_LbSubsetConfig_LbSubsetSelector__fields[4] = { 219 {1, UPB_SIZE(8, 8), 0, 0, 9, _UPB_MODE_ARRAY}, 220 {2, UPB_SIZE(0, 0), 0, 0, 14, _UPB_MODE_SCALAR}, 221 {3, UPB_SIZE(12, 16), 0, 0, 9, _UPB_MODE_ARRAY}, 222 {4, UPB_SIZE(4, 4), 0, 0, 8, _UPB_MODE_SCALAR}, 223 }; 224 225 const upb_msglayout envoy_config_cluster_v3_Cluster_LbSubsetConfig_LbSubsetSelector_msginit = { 226 NULL, 227 &envoy_config_cluster_v3_Cluster_LbSubsetConfig_LbSubsetSelector__fields[0], 228 UPB_SIZE(16, 24), 4, false, 4, 255, 229 }; 230 231 static const upb_msglayout *const envoy_config_cluster_v3_Cluster_SlowStartConfig_submsgs[2] = { 232 &envoy_config_core_v3_RuntimeDouble_msginit, 233 &google_protobuf_Duration_msginit, 234 }; 235 236 static const upb_msglayout_field envoy_config_cluster_v3_Cluster_SlowStartConfig__fields[2] = { 237 {1, UPB_SIZE(4, 8), 1, 1, 11, _UPB_MODE_SCALAR}, 238 {2, UPB_SIZE(8, 16), 2, 0, 11, _UPB_MODE_SCALAR}, 239 }; 240 241 const upb_msglayout envoy_config_cluster_v3_Cluster_SlowStartConfig_msginit = { 242 &envoy_config_cluster_v3_Cluster_SlowStartConfig_submsgs[0], 243 &envoy_config_cluster_v3_Cluster_SlowStartConfig__fields[0], 244 UPB_SIZE(16, 24), 2, false, 2, 255, 245 }; 246 247 static const upb_msglayout *const envoy_config_cluster_v3_Cluster_RoundRobinLbConfig_submsgs[1] = { 248 &envoy_config_cluster_v3_Cluster_SlowStartConfig_msginit, 249 }; 250 251 static const upb_msglayout_field envoy_config_cluster_v3_Cluster_RoundRobinLbConfig__fields[1] = { 252 {1, UPB_SIZE(4, 8), 1, 0, 11, _UPB_MODE_SCALAR}, 253 }; 254 255 const upb_msglayout envoy_config_cluster_v3_Cluster_RoundRobinLbConfig_msginit = { 256 &envoy_config_cluster_v3_Cluster_RoundRobinLbConfig_submsgs[0], 257 &envoy_config_cluster_v3_Cluster_RoundRobinLbConfig__fields[0], 258 UPB_SIZE(8, 16), 1, false, 1, 255, 259 }; 260 261 static const upb_msglayout *const envoy_config_cluster_v3_Cluster_LeastRequestLbConfig_submsgs[3] = { 262 &envoy_config_cluster_v3_Cluster_SlowStartConfig_msginit, 263 &envoy_config_core_v3_RuntimeDouble_msginit, 264 &google_protobuf_UInt32Value_msginit, 265 }; 266 267 static const upb_msglayout_field envoy_config_cluster_v3_Cluster_LeastRequestLbConfig__fields[3] = { 268 {1, UPB_SIZE(4, 8), 1, 2, 11, _UPB_MODE_SCALAR}, 269 {2, UPB_SIZE(8, 16), 2, 1, 11, _UPB_MODE_SCALAR}, 270 {3, UPB_SIZE(12, 24), 3, 0, 11, _UPB_MODE_SCALAR}, 271 }; 272 273 const upb_msglayout envoy_config_cluster_v3_Cluster_LeastRequestLbConfig_msginit = { 274 &envoy_config_cluster_v3_Cluster_LeastRequestLbConfig_submsgs[0], 275 &envoy_config_cluster_v3_Cluster_LeastRequestLbConfig__fields[0], 276 UPB_SIZE(16, 32), 3, false, 3, 255, 277 }; 278 279 static const upb_msglayout *const envoy_config_cluster_v3_Cluster_RingHashLbConfig_submsgs[1] = { 280 &google_protobuf_UInt64Value_msginit, 281 }; 282 283 static const upb_msglayout_field envoy_config_cluster_v3_Cluster_RingHashLbConfig__fields[3] = { 284 {1, UPB_SIZE(8, 8), 1, 0, 11, _UPB_MODE_SCALAR}, 285 {3, UPB_SIZE(4, 4), 0, 0, 14, _UPB_MODE_SCALAR}, 286 {4, UPB_SIZE(12, 16), 2, 0, 11, _UPB_MODE_SCALAR}, 287 }; 288 289 const upb_msglayout envoy_config_cluster_v3_Cluster_RingHashLbConfig_msginit = { 290 &envoy_config_cluster_v3_Cluster_RingHashLbConfig_submsgs[0], 291 &envoy_config_cluster_v3_Cluster_RingHashLbConfig__fields[0], 292 UPB_SIZE(16, 24), 3, false, 1, 255, 293 }; 294 295 static const upb_msglayout *const envoy_config_cluster_v3_Cluster_MaglevLbConfig_submsgs[1] = { 296 &google_protobuf_UInt64Value_msginit, 297 }; 298 299 static const upb_msglayout_field envoy_config_cluster_v3_Cluster_MaglevLbConfig__fields[1] = { 300 {1, UPB_SIZE(4, 8), 1, 0, 11, _UPB_MODE_SCALAR}, 301 }; 302 303 const upb_msglayout envoy_config_cluster_v3_Cluster_MaglevLbConfig_msginit = { 304 &envoy_config_cluster_v3_Cluster_MaglevLbConfig_submsgs[0], 305 &envoy_config_cluster_v3_Cluster_MaglevLbConfig__fields[0], 306 UPB_SIZE(8, 16), 1, false, 1, 255, 307 }; 308 309 static const upb_msglayout_field envoy_config_cluster_v3_Cluster_OriginalDstLbConfig__fields[1] = { 310 {1, UPB_SIZE(0, 0), 0, 0, 8, _UPB_MODE_SCALAR}, 311 }; 312 313 const upb_msglayout envoy_config_cluster_v3_Cluster_OriginalDstLbConfig_msginit = { 314 NULL, 315 &envoy_config_cluster_v3_Cluster_OriginalDstLbConfig__fields[0], 316 UPB_SIZE(8, 8), 1, false, 1, 255, 317 }; 318 319 static const upb_msglayout *const envoy_config_cluster_v3_Cluster_CommonLbConfig_submsgs[5] = { 320 &envoy_config_cluster_v3_Cluster_CommonLbConfig_ConsistentHashingLbConfig_msginit, 321 &envoy_config_cluster_v3_Cluster_CommonLbConfig_LocalityWeightedLbConfig_msginit, 322 &envoy_config_cluster_v3_Cluster_CommonLbConfig_ZoneAwareLbConfig_msginit, 323 &envoy_type_v3_Percent_msginit, 324 &google_protobuf_Duration_msginit, 325 }; 326 327 static const upb_msglayout_field envoy_config_cluster_v3_Cluster_CommonLbConfig__fields[7] = { 328 {1, UPB_SIZE(4, 8), 1, 3, 11, _UPB_MODE_SCALAR}, 329 {2, UPB_SIZE(16, 32), UPB_SIZE(-21, -41), 2, 11, _UPB_MODE_SCALAR}, 330 {3, UPB_SIZE(16, 32), UPB_SIZE(-21, -41), 1, 11, _UPB_MODE_SCALAR}, 331 {4, UPB_SIZE(8, 16), 2, 4, 11, _UPB_MODE_SCALAR}, 332 {5, UPB_SIZE(1, 1), 0, 0, 8, _UPB_MODE_SCALAR}, 333 {6, UPB_SIZE(2, 2), 0, 0, 8, _UPB_MODE_SCALAR}, 334 {7, UPB_SIZE(12, 24), 3, 0, 11, _UPB_MODE_SCALAR}, 335 }; 336 337 const upb_msglayout envoy_config_cluster_v3_Cluster_CommonLbConfig_msginit = { 338 &envoy_config_cluster_v3_Cluster_CommonLbConfig_submsgs[0], 339 &envoy_config_cluster_v3_Cluster_CommonLbConfig__fields[0], 340 UPB_SIZE(24, 48), 7, false, 7, 255, 341 }; 342 343 static const upb_msglayout *const envoy_config_cluster_v3_Cluster_CommonLbConfig_ZoneAwareLbConfig_submsgs[2] = { 344 &envoy_type_v3_Percent_msginit, 345 &google_protobuf_UInt64Value_msginit, 346 }; 347 348 static const upb_msglayout_field envoy_config_cluster_v3_Cluster_CommonLbConfig_ZoneAwareLbConfig__fields[3] = { 349 {1, UPB_SIZE(4, 8), 1, 0, 11, _UPB_MODE_SCALAR}, 350 {2, UPB_SIZE(8, 16), 2, 1, 11, _UPB_MODE_SCALAR}, 351 {3, UPB_SIZE(1, 1), 0, 0, 8, _UPB_MODE_SCALAR}, 352 }; 353 354 const upb_msglayout envoy_config_cluster_v3_Cluster_CommonLbConfig_ZoneAwareLbConfig_msginit = { 355 &envoy_config_cluster_v3_Cluster_CommonLbConfig_ZoneAwareLbConfig_submsgs[0], 356 &envoy_config_cluster_v3_Cluster_CommonLbConfig_ZoneAwareLbConfig__fields[0], 357 UPB_SIZE(16, 24), 3, false, 3, 255, 358 }; 359 360 const upb_msglayout envoy_config_cluster_v3_Cluster_CommonLbConfig_LocalityWeightedLbConfig_msginit = { 361 NULL, 362 NULL, 363 UPB_SIZE(0, 0), 0, false, 0, 255, 364 }; 365 366 static const upb_msglayout *const envoy_config_cluster_v3_Cluster_CommonLbConfig_ConsistentHashingLbConfig_submsgs[1] = { 367 &google_protobuf_UInt32Value_msginit, 368 }; 369 370 static const upb_msglayout_field envoy_config_cluster_v3_Cluster_CommonLbConfig_ConsistentHashingLbConfig__fields[2] = { 371 {1, UPB_SIZE(1, 1), 0, 0, 8, _UPB_MODE_SCALAR}, 372 {2, UPB_SIZE(4, 8), 1, 0, 11, _UPB_MODE_SCALAR}, 373 }; 374 375 const upb_msglayout envoy_config_cluster_v3_Cluster_CommonLbConfig_ConsistentHashingLbConfig_msginit = { 376 &envoy_config_cluster_v3_Cluster_CommonLbConfig_ConsistentHashingLbConfig_submsgs[0], 377 &envoy_config_cluster_v3_Cluster_CommonLbConfig_ConsistentHashingLbConfig__fields[0], 378 UPB_SIZE(8, 16), 2, false, 2, 255, 379 }; 380 381 static const upb_msglayout *const envoy_config_cluster_v3_Cluster_RefreshRate_submsgs[1] = { 382 &google_protobuf_Duration_msginit, 383 }; 384 385 static const upb_msglayout_field envoy_config_cluster_v3_Cluster_RefreshRate__fields[2] = { 386 {1, UPB_SIZE(4, 8), 1, 0, 11, _UPB_MODE_SCALAR}, 387 {2, UPB_SIZE(8, 16), 2, 0, 11, _UPB_MODE_SCALAR}, 388 }; 389 390 const upb_msglayout envoy_config_cluster_v3_Cluster_RefreshRate_msginit = { 391 &envoy_config_cluster_v3_Cluster_RefreshRate_submsgs[0], 392 &envoy_config_cluster_v3_Cluster_RefreshRate__fields[0], 393 UPB_SIZE(16, 24), 2, false, 2, 255, 394 }; 395 396 static const upb_msglayout *const envoy_config_cluster_v3_Cluster_PreconnectPolicy_submsgs[1] = { 397 &google_protobuf_DoubleValue_msginit, 398 }; 399 400 static const upb_msglayout_field envoy_config_cluster_v3_Cluster_PreconnectPolicy__fields[2] = { 401 {1, UPB_SIZE(4, 8), 1, 0, 11, _UPB_MODE_SCALAR}, 402 {2, UPB_SIZE(8, 16), 2, 0, 11, _UPB_MODE_SCALAR}, 403 }; 404 405 const upb_msglayout envoy_config_cluster_v3_Cluster_PreconnectPolicy_msginit = { 406 &envoy_config_cluster_v3_Cluster_PreconnectPolicy_submsgs[0], 407 &envoy_config_cluster_v3_Cluster_PreconnectPolicy__fields[0], 408 UPB_SIZE(16, 24), 2, false, 2, 255, 409 }; 410 411 static const upb_msglayout *const envoy_config_cluster_v3_Cluster_TypedExtensionProtocolOptionsEntry_submsgs[1] = { 412 &google_protobuf_Any_msginit, 413 }; 414 415 static const upb_msglayout_field envoy_config_cluster_v3_Cluster_TypedExtensionProtocolOptionsEntry__fields[2] = { 416 {1, UPB_SIZE(0, 0), 0, 0, 9, _UPB_MODE_SCALAR}, 417 {2, UPB_SIZE(8, 16), 0, 0, 11, _UPB_MODE_SCALAR}, 418 }; 419 420 const upb_msglayout envoy_config_cluster_v3_Cluster_TypedExtensionProtocolOptionsEntry_msginit = { 421 &envoy_config_cluster_v3_Cluster_TypedExtensionProtocolOptionsEntry_submsgs[0], 422 &envoy_config_cluster_v3_Cluster_TypedExtensionProtocolOptionsEntry__fields[0], 423 UPB_SIZE(16, 32), 2, false, 2, 255, 424 }; 425 426 static const upb_msglayout *const envoy_config_cluster_v3_LoadBalancingPolicy_submsgs[1] = { 427 &envoy_config_cluster_v3_LoadBalancingPolicy_Policy_msginit, 428 }; 429 430 static const upb_msglayout_field envoy_config_cluster_v3_LoadBalancingPolicy__fields[1] = { 431 {1, UPB_SIZE(0, 0), 0, 0, 11, _UPB_MODE_ARRAY}, 432 }; 433 434 const upb_msglayout envoy_config_cluster_v3_LoadBalancingPolicy_msginit = { 435 &envoy_config_cluster_v3_LoadBalancingPolicy_submsgs[0], 436 &envoy_config_cluster_v3_LoadBalancingPolicy__fields[0], 437 UPB_SIZE(8, 8), 1, false, 1, 255, 438 }; 439 440 static const upb_msglayout *const envoy_config_cluster_v3_LoadBalancingPolicy_Policy_submsgs[1] = { 441 &envoy_config_core_v3_TypedExtensionConfig_msginit, 442 }; 443 444 static const upb_msglayout_field envoy_config_cluster_v3_LoadBalancingPolicy_Policy__fields[1] = { 445 {4, UPB_SIZE(4, 8), 1, 0, 11, _UPB_MODE_SCALAR}, 446 }; 447 448 const upb_msglayout envoy_config_cluster_v3_LoadBalancingPolicy_Policy_msginit = { 449 &envoy_config_cluster_v3_LoadBalancingPolicy_Policy_submsgs[0], 450 &envoy_config_cluster_v3_LoadBalancingPolicy_Policy__fields[0], 451 UPB_SIZE(8, 16), 1, false, 0, 255, 452 }; 453 454 static const upb_msglayout *const envoy_config_cluster_v3_UpstreamBindConfig_submsgs[1] = { 455 &envoy_config_core_v3_Address_msginit, 456 }; 457 458 static const upb_msglayout_field envoy_config_cluster_v3_UpstreamBindConfig__fields[1] = { 459 {1, UPB_SIZE(4, 8), 1, 0, 11, _UPB_MODE_SCALAR}, 460 }; 461 462 const upb_msglayout envoy_config_cluster_v3_UpstreamBindConfig_msginit = { 463 &envoy_config_cluster_v3_UpstreamBindConfig_submsgs[0], 464 &envoy_config_cluster_v3_UpstreamBindConfig__fields[0], 465 UPB_SIZE(8, 16), 1, false, 1, 255, 466 }; 467 468 static const upb_msglayout *const envoy_config_cluster_v3_UpstreamConnectionOptions_submsgs[1] = { 469 &envoy_config_core_v3_TcpKeepalive_msginit, 470 }; 471 472 static const upb_msglayout_field envoy_config_cluster_v3_UpstreamConnectionOptions__fields[1] = { 473 {1, UPB_SIZE(4, 8), 1, 0, 11, _UPB_MODE_SCALAR}, 474 }; 475 476 const upb_msglayout envoy_config_cluster_v3_UpstreamConnectionOptions_msginit = { 477 &envoy_config_cluster_v3_UpstreamConnectionOptions_submsgs[0], 478 &envoy_config_cluster_v3_UpstreamConnectionOptions__fields[0], 479 UPB_SIZE(8, 16), 1, false, 1, 255, 480 }; 481 482 static const upb_msglayout_field envoy_config_cluster_v3_TrackClusterStats__fields[2] = { 483 {1, UPB_SIZE(0, 0), 0, 0, 8, _UPB_MODE_SCALAR}, 484 {2, UPB_SIZE(1, 1), 0, 0, 8, _UPB_MODE_SCALAR}, 485 }; 486 487 const upb_msglayout envoy_config_cluster_v3_TrackClusterStats_msginit = { 488 NULL, 489 &envoy_config_cluster_v3_TrackClusterStats__fields[0], 490 UPB_SIZE(8, 8), 2, false, 2, 255, 491 }; 492 493 #include "upb/port_undef.inc" 494 495