1 /* This file was generated by upb_generator from the input file: 2 * 3 * envoy/admin/v3/clusters.proto 4 * 5 * Do not edit -- your changes will be discarded when the file is 6 * regenerated. */ 7 8 #include <stddef.h> 9 #include "upb/generated_code_support.h" 10 #include "envoy/admin/v3/clusters.upb_minitable.h" 11 #include "envoy/admin/v3/metrics.upb_minitable.h" 12 #include "envoy/config/cluster/v3/circuit_breaker.upb_minitable.h" 13 #include "envoy/config/core/v3/address.upb_minitable.h" 14 #include "envoy/config/core/v3/base.upb_minitable.h" 15 #include "envoy/config/core/v3/health_check.upb_minitable.h" 16 #include "envoy/type/v3/percent.upb_minitable.h" 17 #include "udpa/annotations/status.upb_minitable.h" 18 #include "udpa/annotations/versioning.upb_minitable.h" 19 20 // Must be last. 21 #include "upb/port/def.inc" 22 23 static const upb_MiniTableSub envoy_admin_v3_Clusters_submsgs[1] = { 24 {.UPB_PRIVATE(submsg) = &envoy__admin__v3__ClusterStatus_msg_init}, 25 }; 26 27 static const upb_MiniTableField envoy_admin_v3_Clusters__fields[1] = { 28 {1, 8, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, 29 }; 30 31 const upb_MiniTable envoy__admin__v3__Clusters_msg_init = { 32 &envoy_admin_v3_Clusters_submsgs[0], 33 &envoy_admin_v3_Clusters__fields[0], 34 16, 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, 35 UPB_FASTTABLE_INIT({ 36 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 37 {0x000800003f00000a, &upb_prm_1bt_max128b}, 38 }) 39 }; 40 41 static const upb_MiniTableSub envoy_admin_v3_ClusterStatus_submsgs[4] = { 42 {.UPB_PRIVATE(submsg) = &envoy__type__v3__Percent_msg_init}, 43 {.UPB_PRIVATE(submsg) = &envoy__admin__v3__HostStatus_msg_init}, 44 {.UPB_PRIVATE(submsg) = &envoy__type__v3__Percent_msg_init}, 45 {.UPB_PRIVATE(submsg) = &envoy__config__cluster__v3__CircuitBreakers_msg_init}, 46 }; 47 48 static const upb_MiniTableField envoy_admin_v3_ClusterStatus__fields[8] = { 49 {1, UPB_SIZE(28, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, 50 {2, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, 51 {3, UPB_SIZE(12, 32), 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, 52 {4, UPB_SIZE(16, 40), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, 53 {5, UPB_SIZE(20, 48), 65, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, 54 {6, UPB_SIZE(24, 56), 66, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, 55 {7, UPB_SIZE(36, 64), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, 56 {8, UPB_SIZE(44, 80), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, 57 }; 58 59 const upb_MiniTable envoy__admin__v3__ClusterStatus_msg_init = { 60 &envoy_admin_v3_ClusterStatus_submsgs[0], 61 &envoy_admin_v3_ClusterStatus__fields[0], 62 UPB_SIZE(56, 96), 8, kUpb_ExtMode_NonExtendable, 8, UPB_FASTTABLE_MASK(120), 0, 63 UPB_FASTTABLE_INIT({ 64 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 65 {0x001000003f00000a, &upb_pss_1bt}, 66 {0x000900003f000010, &upb_psb1_1bt}, 67 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 68 {0x002800003f010022, &upb_prm_1bt_max128b}, 69 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 70 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 71 {0x004000003f00003a, &upb_pss_1bt}, 72 {0x005000003f000042, &upb_pss_1bt}, 73 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 74 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 75 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 76 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 77 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 78 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 79 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 80 }) 81 }; 82 83 static const upb_MiniTableSub envoy_admin_v3_HostStatus_submsgs[6] = { 84 {.UPB_PRIVATE(submsg) = &envoy__config__core__v3__Address_msg_init}, 85 {.UPB_PRIVATE(submsg) = &envoy__admin__v3__SimpleMetric_msg_init}, 86 {.UPB_PRIVATE(submsg) = &envoy__admin__v3__HostHealthStatus_msg_init}, 87 {.UPB_PRIVATE(submsg) = &envoy__type__v3__Percent_msg_init}, 88 {.UPB_PRIVATE(submsg) = &envoy__type__v3__Percent_msg_init}, 89 {.UPB_PRIVATE(submsg) = &envoy__config__core__v3__Locality_msg_init}, 90 }; 91 92 static const upb_MiniTableField envoy_admin_v3_HostStatus__fields[9] = { 93 {1, UPB_SIZE(12, 24), 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, 94 {2, UPB_SIZE(16, 32), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, 95 {3, UPB_SIZE(20, 40), 65, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, 96 {4, UPB_SIZE(24, 48), 66, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, 97 {5, UPB_SIZE(28, 12), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, 98 {6, UPB_SIZE(44, 56), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, 99 {7, UPB_SIZE(32, 16), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, 100 {8, UPB_SIZE(36, 72), 67, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, 101 {9, UPB_SIZE(40, 80), 68, 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, 102 }; 103 104 const upb_MiniTable envoy__admin__v3__HostStatus_msg_init = { 105 &envoy_admin_v3_HostStatus_submsgs[0], 106 &envoy_admin_v3_HostStatus__fields[0], 107 UPB_SIZE(56, 88), 9, kUpb_ExtMode_NonExtendable, 9, UPB_FASTTABLE_MASK(56), 0, 108 UPB_FASTTABLE_INIT({ 109 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 110 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 111 {0x002000003f010012, &upb_prm_1bt_maxmaxb}, 112 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 113 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 114 {0x000c00003f000028, &upb_psv4_1bt}, 115 {0x003800003f000032, &upb_pss_1bt}, 116 {0x001000003f000038, &upb_psv4_1bt}, 117 }) 118 }; 119 120 static const upb_MiniTableField envoy_admin_v3_HostHealthStatus__fields[8] = { 121 {1, 8, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, 122 {2, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, 123 {3, 12, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, 124 {4, 16, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, 125 {5, 17, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, 126 {6, 18, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, 127 {7, 19, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, 128 {8, 20, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, 129 }; 130 131 const upb_MiniTable envoy__admin__v3__HostHealthStatus_msg_init = { 132 NULL, 133 &envoy_admin_v3_HostHealthStatus__fields[0], 134 24, 8, kUpb_ExtMode_NonExtendable, 8, UPB_FASTTABLE_MASK(120), 0, 135 UPB_FASTTABLE_INIT({ 136 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 137 {0x000800003f000008, &upb_psb1_1bt}, 138 {0x000900003f000010, &upb_psb1_1bt}, 139 {0x000c00003f000018, &upb_psv4_1bt}, 140 {0x001000003f000020, &upb_psb1_1bt}, 141 {0x001100003f000028, &upb_psb1_1bt}, 142 {0x001200003f000030, &upb_psb1_1bt}, 143 {0x001300003f000038, &upb_psb1_1bt}, 144 {0x001400003f000040, &upb_psb1_1bt}, 145 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 146 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 147 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 148 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 149 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 150 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 151 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 152 }) 153 }; 154 155 static const upb_MiniTable *messages_layout[4] = { 156 &envoy__admin__v3__Clusters_msg_init, 157 &envoy__admin__v3__ClusterStatus_msg_init, 158 &envoy__admin__v3__HostStatus_msg_init, 159 &envoy__admin__v3__HostHealthStatus_msg_init, 160 }; 161 162 const upb_MiniTableFile envoy_admin_v3_clusters_proto_upb_file_layout = { 163 messages_layout, 164 NULL, 165 NULL, 166 4, 167 0, 168 0, 169 }; 170 171 #include "upb/port/undef.inc" 172 173