/* This file was generated by upbc (the upb compiler) from the input * file: * * envoy/config/cluster/v3/cluster.proto * * Do not edit -- your changes will be discarded when the file is * regenerated. */ #include #include "upb/msg.h" #include "envoy/config/cluster/v3/cluster.upb.h" #include "envoy/config/cluster/v3/circuit_breaker.upb.h" #include "envoy/config/cluster/v3/filter.upb.h" #include "envoy/config/cluster/v3/outlier_detection.upb.h" #include "envoy/config/core/v3/address.upb.h" #include "envoy/config/core/v3/base.upb.h" #include "envoy/config/core/v3/config_source.upb.h" #include "envoy/config/core/v3/extension.upb.h" #include "envoy/config/core/v3/health_check.upb.h" #include "envoy/config/core/v3/protocol.upb.h" #include "envoy/config/endpoint/v3/endpoint.upb.h" #include "envoy/type/v3/percent.upb.h" #include "google/protobuf/any.upb.h" #include "google/protobuf/duration.upb.h" #include "google/protobuf/struct.upb.h" #include "google/protobuf/wrappers.upb.h" #include "udpa/core/v1/collection_entry.upb.h" #include "udpa/core/v1/resource_locator.upb.h" #include "envoy/annotations/deprecation.upb.h" #include "udpa/annotations/migrate.upb.h" #include "udpa/annotations/security.upb.h" #include "udpa/annotations/status.upb.h" #include "udpa/annotations/versioning.upb.h" #include "validate/validate.upb.h" #include "upb/port_def.inc" static const upb_msglayout *const envoy_config_cluster_v3_ClusterCollection_submsgs[1] = { &udpa_core_v1_CollectionEntry_msginit, }; static const upb_msglayout_field envoy_config_cluster_v3_ClusterCollection__fields[1] = { {1, UPB_SIZE(0, 0), 0, 0, 11, 1}, }; const upb_msglayout envoy_config_cluster_v3_ClusterCollection_msginit = { &envoy_config_cluster_v3_ClusterCollection_submsgs[0], &envoy_config_cluster_v3_ClusterCollection__fields[0], UPB_SIZE(4, 8), 1, false, }; static const upb_msglayout *const envoy_config_cluster_v3_Cluster_submsgs[35] = { &envoy_config_cluster_v3_CircuitBreakers_msginit, &envoy_config_cluster_v3_Cluster_CommonLbConfig_msginit, &envoy_config_cluster_v3_Cluster_CustomClusterType_msginit, &envoy_config_cluster_v3_Cluster_EdsClusterConfig_msginit, &envoy_config_cluster_v3_Cluster_LbSubsetConfig_msginit, &envoy_config_cluster_v3_Cluster_LeastRequestLbConfig_msginit, &envoy_config_cluster_v3_Cluster_MaglevLbConfig_msginit, &envoy_config_cluster_v3_Cluster_OriginalDstLbConfig_msginit, &envoy_config_cluster_v3_Cluster_PrefetchPolicy_msginit, &envoy_config_cluster_v3_Cluster_RefreshRate_msginit, &envoy_config_cluster_v3_Cluster_RingHashLbConfig_msginit, &envoy_config_cluster_v3_Cluster_TransportSocketMatch_msginit, &envoy_config_cluster_v3_Cluster_TypedExtensionProtocolOptionsEntry_msginit, &envoy_config_cluster_v3_Filter_msginit, &envoy_config_cluster_v3_LoadBalancingPolicy_msginit, &envoy_config_cluster_v3_OutlierDetection_msginit, &envoy_config_cluster_v3_TrackClusterStats_msginit, &envoy_config_cluster_v3_UpstreamConnectionOptions_msginit, &envoy_config_core_v3_Address_msginit, &envoy_config_core_v3_BindConfig_msginit, &envoy_config_core_v3_ConfigSource_msginit, &envoy_config_core_v3_HealthCheck_msginit, &envoy_config_core_v3_Http1ProtocolOptions_msginit, &envoy_config_core_v3_Http2ProtocolOptions_msginit, &envoy_config_core_v3_HttpProtocolOptions_msginit, &envoy_config_core_v3_Metadata_msginit, &envoy_config_core_v3_TransportSocket_msginit, &envoy_config_core_v3_TypedExtensionConfig_msginit, &envoy_config_core_v3_UpstreamHttpProtocolOptions_msginit, &envoy_config_endpoint_v3_ClusterLoadAssignment_msginit, &google_protobuf_Duration_msginit, &google_protobuf_UInt32Value_msginit, }; static const upb_msglayout_field envoy_config_cluster_v3_Cluster__fields[47] = { {1, UPB_SIZE(32, 32), 0, 0, 9, 1}, {2, UPB_SIZE(168, 304), UPB_SIZE(-177, -313), 0, 14, 1}, {3, UPB_SIZE(48, 64), 0, 3, 11, 1}, {4, UPB_SIZE(52, 72), 0, 30, 11, 1}, {5, UPB_SIZE(56, 80), 0, 31, 11, 1}, {6, UPB_SIZE(0, 0), 0, 0, 14, 1}, {8, UPB_SIZE(148, 264), 0, 21, 11, 3}, {9, UPB_SIZE(60, 88), 0, 31, 11, 1}, {10, UPB_SIZE(64, 96), 0, 0, 11, 1}, {13, UPB_SIZE(68, 104), 0, 22, 11, 1}, {14, UPB_SIZE(72, 112), 0, 23, 11, 1}, {16, UPB_SIZE(76, 120), 0, 30, 11, 1}, {17, UPB_SIZE(8, 8), 0, 0, 14, 1}, {18, UPB_SIZE(152, 272), 0, 18, 11, 3}, {19, UPB_SIZE(80, 128), 0, 15, 11, 1}, {20, UPB_SIZE(84, 136), 0, 30, 11, 1}, {21, UPB_SIZE(88, 144), 0, 19, 11, 1}, {22, UPB_SIZE(92, 152), 0, 4, 11, 1}, {23, UPB_SIZE(180, 320), UPB_SIZE(-185, -329), 10, 11, 1}, {24, UPB_SIZE(96, 160), 0, 26, 11, 1}, {25, UPB_SIZE(100, 168), 0, 25, 11, 1}, {26, UPB_SIZE(16, 16), 0, 0, 14, 1}, {27, UPB_SIZE(104, 176), 0, 1, 11, 1}, {28, UPB_SIZE(40, 48), 0, 0, 9, 1}, {29, UPB_SIZE(108, 184), 0, 24, 11, 1}, {30, UPB_SIZE(112, 192), 0, 17, 11, 1}, {31, UPB_SIZE(24, 24), 0, 0, 8, 1}, {32, UPB_SIZE(25, 25), 0, 0, 8, 1}, {33, UPB_SIZE(116, 200), 0, 29, 11, 1}, {34, UPB_SIZE(180, 320), UPB_SIZE(-185, -329), 7, 11, 1}, {36, UPB_SIZE(156, 280), 0, 12, 11, _UPB_LABEL_MAP}, {37, UPB_SIZE(180, 320), UPB_SIZE(-185, -329), 5, 11, 1}, {38, UPB_SIZE(168, 304), UPB_SIZE(-177, -313), 2, 11, 1}, {39, UPB_SIZE(26, 26), 0, 0, 8, 1}, {40, UPB_SIZE(160, 288), 0, 13, 11, 3}, {41, UPB_SIZE(120, 208), 0, 14, 11, 1}, {42, UPB_SIZE(124, 216), 0, 20, 11, 1}, {43, UPB_SIZE(164, 296), 0, 11, 11, 3}, {44, UPB_SIZE(128, 224), 0, 9, 11, 1}, {45, UPB_SIZE(27, 27), 0, 0, 8, 1}, {46, UPB_SIZE(132, 232), 0, 28, 11, 1}, {47, UPB_SIZE(28, 28), 0, 0, 8, 1}, {48, UPB_SIZE(136, 240), 0, 27, 11, 1}, {49, UPB_SIZE(140, 248), 0, 16, 11, 1}, {50, UPB_SIZE(144, 256), 0, 8, 11, 1}, {51, UPB_SIZE(29, 29), 0, 0, 8, 1}, {52, UPB_SIZE(180, 320), UPB_SIZE(-185, -329), 6, 11, 1}, }; const upb_msglayout envoy_config_cluster_v3_Cluster_msginit = { &envoy_config_cluster_v3_Cluster_submsgs[0], &envoy_config_cluster_v3_Cluster__fields[0], UPB_SIZE(192, 336), 47, false, }; static const upb_msglayout *const envoy_config_cluster_v3_Cluster_TransportSocketMatch_submsgs[2] = { &envoy_config_core_v3_TransportSocket_msginit, &google_protobuf_Struct_msginit, }; static const upb_msglayout_field envoy_config_cluster_v3_Cluster_TransportSocketMatch__fields[3] = { {1, UPB_SIZE(0, 0), 0, 0, 9, 1}, {2, UPB_SIZE(8, 16), 0, 1, 11, 1}, {3, UPB_SIZE(12, 24), 0, 0, 11, 1}, }; const upb_msglayout envoy_config_cluster_v3_Cluster_TransportSocketMatch_msginit = { &envoy_config_cluster_v3_Cluster_TransportSocketMatch_submsgs[0], &envoy_config_cluster_v3_Cluster_TransportSocketMatch__fields[0], UPB_SIZE(16, 32), 3, false, }; static const upb_msglayout *const envoy_config_cluster_v3_Cluster_CustomClusterType_submsgs[1] = { &google_protobuf_Any_msginit, }; static const upb_msglayout_field envoy_config_cluster_v3_Cluster_CustomClusterType__fields[2] = { {1, UPB_SIZE(0, 0), 0, 0, 9, 1}, {2, UPB_SIZE(8, 16), 0, 0, 11, 1}, }; const upb_msglayout envoy_config_cluster_v3_Cluster_CustomClusterType_msginit = { &envoy_config_cluster_v3_Cluster_CustomClusterType_submsgs[0], &envoy_config_cluster_v3_Cluster_CustomClusterType__fields[0], UPB_SIZE(16, 32), 2, false, }; static const upb_msglayout *const envoy_config_cluster_v3_Cluster_EdsClusterConfig_submsgs[2] = { &envoy_config_core_v3_ConfigSource_msginit, &udpa_core_v1_ResourceLocator_msginit, }; static const upb_msglayout_field envoy_config_cluster_v3_Cluster_EdsClusterConfig__fields[3] = { {1, UPB_SIZE(8, 16), 0, 0, 11, 1}, {2, UPB_SIZE(0, 0), 0, 0, 9, 1}, {3, UPB_SIZE(12, 24), 0, 1, 11, 1}, }; const upb_msglayout envoy_config_cluster_v3_Cluster_EdsClusterConfig_msginit = { &envoy_config_cluster_v3_Cluster_EdsClusterConfig_submsgs[0], &envoy_config_cluster_v3_Cluster_EdsClusterConfig__fields[0], UPB_SIZE(16, 32), 3, false, }; static const upb_msglayout *const envoy_config_cluster_v3_Cluster_LbSubsetConfig_submsgs[2] = { &envoy_config_cluster_v3_Cluster_LbSubsetConfig_LbSubsetSelector_msginit, &google_protobuf_Struct_msginit, }; static const upb_msglayout_field envoy_config_cluster_v3_Cluster_LbSubsetConfig__fields[7] = { {1, UPB_SIZE(0, 0), 0, 0, 14, 1}, {2, UPB_SIZE(12, 16), 0, 1, 11, 1}, {3, UPB_SIZE(16, 24), 0, 0, 11, 3}, {4, UPB_SIZE(8, 8), 0, 0, 8, 1}, {5, UPB_SIZE(9, 9), 0, 0, 8, 1}, {6, UPB_SIZE(10, 10), 0, 0, 8, 1}, {7, UPB_SIZE(11, 11), 0, 0, 8, 1}, }; const upb_msglayout envoy_config_cluster_v3_Cluster_LbSubsetConfig_msginit = { &envoy_config_cluster_v3_Cluster_LbSubsetConfig_submsgs[0], &envoy_config_cluster_v3_Cluster_LbSubsetConfig__fields[0], UPB_SIZE(24, 32), 7, false, }; static const upb_msglayout_field envoy_config_cluster_v3_Cluster_LbSubsetConfig_LbSubsetSelector__fields[4] = { {1, UPB_SIZE(12, 16), 0, 0, 9, 3}, {2, UPB_SIZE(0, 0), 0, 0, 14, 1}, {3, UPB_SIZE(16, 24), 0, 0, 9, 3}, {4, UPB_SIZE(8, 8), 0, 0, 8, 1}, }; const upb_msglayout envoy_config_cluster_v3_Cluster_LbSubsetConfig_LbSubsetSelector_msginit = { NULL, &envoy_config_cluster_v3_Cluster_LbSubsetConfig_LbSubsetSelector__fields[0], UPB_SIZE(24, 32), 4, false, }; static const upb_msglayout *const envoy_config_cluster_v3_Cluster_LeastRequestLbConfig_submsgs[2] = { &envoy_config_core_v3_RuntimeDouble_msginit, &google_protobuf_UInt32Value_msginit, }; static const upb_msglayout_field envoy_config_cluster_v3_Cluster_LeastRequestLbConfig__fields[2] = { {1, UPB_SIZE(0, 0), 0, 1, 11, 1}, {2, UPB_SIZE(4, 8), 0, 0, 11, 1}, }; const upb_msglayout envoy_config_cluster_v3_Cluster_LeastRequestLbConfig_msginit = { &envoy_config_cluster_v3_Cluster_LeastRequestLbConfig_submsgs[0], &envoy_config_cluster_v3_Cluster_LeastRequestLbConfig__fields[0], UPB_SIZE(8, 16), 2, false, }; static const upb_msglayout *const envoy_config_cluster_v3_Cluster_RingHashLbConfig_submsgs[2] = { &google_protobuf_UInt64Value_msginit, }; static const upb_msglayout_field envoy_config_cluster_v3_Cluster_RingHashLbConfig__fields[3] = { {1, UPB_SIZE(8, 8), 0, 0, 11, 1}, {3, UPB_SIZE(0, 0), 0, 0, 14, 1}, {4, UPB_SIZE(12, 16), 0, 0, 11, 1}, }; const upb_msglayout envoy_config_cluster_v3_Cluster_RingHashLbConfig_msginit = { &envoy_config_cluster_v3_Cluster_RingHashLbConfig_submsgs[0], &envoy_config_cluster_v3_Cluster_RingHashLbConfig__fields[0], UPB_SIZE(16, 24), 3, false, }; static const upb_msglayout *const envoy_config_cluster_v3_Cluster_MaglevLbConfig_submsgs[1] = { &google_protobuf_UInt64Value_msginit, }; static const upb_msglayout_field envoy_config_cluster_v3_Cluster_MaglevLbConfig__fields[1] = { {1, UPB_SIZE(0, 0), 0, 0, 11, 1}, }; const upb_msglayout envoy_config_cluster_v3_Cluster_MaglevLbConfig_msginit = { &envoy_config_cluster_v3_Cluster_MaglevLbConfig_submsgs[0], &envoy_config_cluster_v3_Cluster_MaglevLbConfig__fields[0], UPB_SIZE(4, 8), 1, false, }; static const upb_msglayout_field envoy_config_cluster_v3_Cluster_OriginalDstLbConfig__fields[1] = { {1, UPB_SIZE(0, 0), 0, 0, 8, 1}, }; const upb_msglayout envoy_config_cluster_v3_Cluster_OriginalDstLbConfig_msginit = { NULL, &envoy_config_cluster_v3_Cluster_OriginalDstLbConfig__fields[0], UPB_SIZE(1, 1), 1, false, }; static const upb_msglayout *const envoy_config_cluster_v3_Cluster_CommonLbConfig_submsgs[5] = { &envoy_config_cluster_v3_Cluster_CommonLbConfig_ConsistentHashingLbConfig_msginit, &envoy_config_cluster_v3_Cluster_CommonLbConfig_LocalityWeightedLbConfig_msginit, &envoy_config_cluster_v3_Cluster_CommonLbConfig_ZoneAwareLbConfig_msginit, &envoy_type_v3_Percent_msginit, &google_protobuf_Duration_msginit, }; static const upb_msglayout_field envoy_config_cluster_v3_Cluster_CommonLbConfig__fields[7] = { {1, UPB_SIZE(4, 8), 0, 3, 11, 1}, {2, UPB_SIZE(16, 32), UPB_SIZE(-21, -41), 2, 11, 1}, {3, UPB_SIZE(16, 32), UPB_SIZE(-21, -41), 1, 11, 1}, {4, UPB_SIZE(8, 16), 0, 4, 11, 1}, {5, UPB_SIZE(0, 0), 0, 0, 8, 1}, {6, UPB_SIZE(1, 1), 0, 0, 8, 1}, {7, UPB_SIZE(12, 24), 0, 0, 11, 1}, }; const upb_msglayout envoy_config_cluster_v3_Cluster_CommonLbConfig_msginit = { &envoy_config_cluster_v3_Cluster_CommonLbConfig_submsgs[0], &envoy_config_cluster_v3_Cluster_CommonLbConfig__fields[0], UPB_SIZE(24, 48), 7, false, }; static const upb_msglayout *const envoy_config_cluster_v3_Cluster_CommonLbConfig_ZoneAwareLbConfig_submsgs[2] = { &envoy_type_v3_Percent_msginit, &google_protobuf_UInt64Value_msginit, }; static const upb_msglayout_field envoy_config_cluster_v3_Cluster_CommonLbConfig_ZoneAwareLbConfig__fields[3] = { {1, UPB_SIZE(4, 8), 0, 0, 11, 1}, {2, UPB_SIZE(8, 16), 0, 1, 11, 1}, {3, UPB_SIZE(0, 0), 0, 0, 8, 1}, }; const upb_msglayout envoy_config_cluster_v3_Cluster_CommonLbConfig_ZoneAwareLbConfig_msginit = { &envoy_config_cluster_v3_Cluster_CommonLbConfig_ZoneAwareLbConfig_submsgs[0], &envoy_config_cluster_v3_Cluster_CommonLbConfig_ZoneAwareLbConfig__fields[0], UPB_SIZE(12, 24), 3, false, }; const upb_msglayout envoy_config_cluster_v3_Cluster_CommonLbConfig_LocalityWeightedLbConfig_msginit = { NULL, NULL, UPB_SIZE(0, 0), 0, false, }; static const upb_msglayout *const envoy_config_cluster_v3_Cluster_CommonLbConfig_ConsistentHashingLbConfig_submsgs[1] = { &google_protobuf_UInt32Value_msginit, }; static const upb_msglayout_field envoy_config_cluster_v3_Cluster_CommonLbConfig_ConsistentHashingLbConfig__fields[2] = { {1, UPB_SIZE(0, 0), 0, 0, 8, 1}, {2, UPB_SIZE(4, 8), 0, 0, 11, 1}, }; const upb_msglayout envoy_config_cluster_v3_Cluster_CommonLbConfig_ConsistentHashingLbConfig_msginit = { &envoy_config_cluster_v3_Cluster_CommonLbConfig_ConsistentHashingLbConfig_submsgs[0], &envoy_config_cluster_v3_Cluster_CommonLbConfig_ConsistentHashingLbConfig__fields[0], UPB_SIZE(8, 16), 2, false, }; static const upb_msglayout *const envoy_config_cluster_v3_Cluster_RefreshRate_submsgs[2] = { &google_protobuf_Duration_msginit, }; static const upb_msglayout_field envoy_config_cluster_v3_Cluster_RefreshRate__fields[2] = { {1, UPB_SIZE(0, 0), 0, 0, 11, 1}, {2, UPB_SIZE(4, 8), 0, 0, 11, 1}, }; const upb_msglayout envoy_config_cluster_v3_Cluster_RefreshRate_msginit = { &envoy_config_cluster_v3_Cluster_RefreshRate_submsgs[0], &envoy_config_cluster_v3_Cluster_RefreshRate__fields[0], UPB_SIZE(8, 16), 2, false, }; static const upb_msglayout *const envoy_config_cluster_v3_Cluster_PrefetchPolicy_submsgs[2] = { &google_protobuf_DoubleValue_msginit, }; static const upb_msglayout_field envoy_config_cluster_v3_Cluster_PrefetchPolicy__fields[2] = { {1, UPB_SIZE(0, 0), 0, 0, 11, 1}, {2, UPB_SIZE(4, 8), 0, 0, 11, 1}, }; const upb_msglayout envoy_config_cluster_v3_Cluster_PrefetchPolicy_msginit = { &envoy_config_cluster_v3_Cluster_PrefetchPolicy_submsgs[0], &envoy_config_cluster_v3_Cluster_PrefetchPolicy__fields[0], UPB_SIZE(8, 16), 2, false, }; static const upb_msglayout *const envoy_config_cluster_v3_Cluster_TypedExtensionProtocolOptionsEntry_submsgs[1] = { &google_protobuf_Any_msginit, }; static const upb_msglayout_field envoy_config_cluster_v3_Cluster_TypedExtensionProtocolOptionsEntry__fields[2] = { {1, UPB_SIZE(0, 0), 0, 0, 9, 1}, {2, UPB_SIZE(8, 16), 0, 0, 11, 1}, }; const upb_msglayout envoy_config_cluster_v3_Cluster_TypedExtensionProtocolOptionsEntry_msginit = { &envoy_config_cluster_v3_Cluster_TypedExtensionProtocolOptionsEntry_submsgs[0], &envoy_config_cluster_v3_Cluster_TypedExtensionProtocolOptionsEntry__fields[0], UPB_SIZE(16, 32), 2, false, }; static const upb_msglayout *const envoy_config_cluster_v3_LoadBalancingPolicy_submsgs[1] = { &envoy_config_cluster_v3_LoadBalancingPolicy_Policy_msginit, }; static const upb_msglayout_field envoy_config_cluster_v3_LoadBalancingPolicy__fields[1] = { {1, UPB_SIZE(0, 0), 0, 0, 11, 3}, }; const upb_msglayout envoy_config_cluster_v3_LoadBalancingPolicy_msginit = { &envoy_config_cluster_v3_LoadBalancingPolicy_submsgs[0], &envoy_config_cluster_v3_LoadBalancingPolicy__fields[0], UPB_SIZE(4, 8), 1, false, }; static const upb_msglayout *const envoy_config_cluster_v3_LoadBalancingPolicy_Policy_submsgs[1] = { &google_protobuf_Any_msginit, }; static const upb_msglayout_field envoy_config_cluster_v3_LoadBalancingPolicy_Policy__fields[2] = { {1, UPB_SIZE(0, 0), 0, 0, 9, 1}, {3, UPB_SIZE(8, 16), 0, 0, 11, 1}, }; const upb_msglayout envoy_config_cluster_v3_LoadBalancingPolicy_Policy_msginit = { &envoy_config_cluster_v3_LoadBalancingPolicy_Policy_submsgs[0], &envoy_config_cluster_v3_LoadBalancingPolicy_Policy__fields[0], UPB_SIZE(16, 32), 2, false, }; static const upb_msglayout *const envoy_config_cluster_v3_UpstreamBindConfig_submsgs[1] = { &envoy_config_core_v3_Address_msginit, }; static const upb_msglayout_field envoy_config_cluster_v3_UpstreamBindConfig__fields[1] = { {1, UPB_SIZE(0, 0), 0, 0, 11, 1}, }; const upb_msglayout envoy_config_cluster_v3_UpstreamBindConfig_msginit = { &envoy_config_cluster_v3_UpstreamBindConfig_submsgs[0], &envoy_config_cluster_v3_UpstreamBindConfig__fields[0], UPB_SIZE(4, 8), 1, false, }; static const upb_msglayout *const envoy_config_cluster_v3_UpstreamConnectionOptions_submsgs[1] = { &envoy_config_core_v3_TcpKeepalive_msginit, }; static const upb_msglayout_field envoy_config_cluster_v3_UpstreamConnectionOptions__fields[1] = { {1, UPB_SIZE(0, 0), 0, 0, 11, 1}, }; const upb_msglayout envoy_config_cluster_v3_UpstreamConnectionOptions_msginit = { &envoy_config_cluster_v3_UpstreamConnectionOptions_submsgs[0], &envoy_config_cluster_v3_UpstreamConnectionOptions__fields[0], UPB_SIZE(4, 8), 1, false, }; static const upb_msglayout_field envoy_config_cluster_v3_TrackClusterStats__fields[2] = { {1, UPB_SIZE(0, 0), 0, 0, 8, 1}, {2, UPB_SIZE(1, 1), 0, 0, 8, 1}, }; const upb_msglayout envoy_config_cluster_v3_TrackClusterStats_msginit = { NULL, &envoy_config_cluster_v3_TrackClusterStats__fields[0], UPB_SIZE(2, 2), 2, false, }; #include "upb/port_undef.inc"