1 /* This file was generated by upb_generator from the input file: 2 * 3 * envoy/config/endpoint/v3/load_report.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/config/endpoint/v3/load_report.upb_minitable.h" 11 #include "envoy/config/core/v3/address.upb_minitable.h" 12 #include "envoy/config/core/v3/base.upb_minitable.h" 13 #include "google/protobuf/duration.upb_minitable.h" 14 #include "google/protobuf/struct.upb_minitable.h" 15 #include "udpa/annotations/status.upb_minitable.h" 16 #include "udpa/annotations/versioning.upb_minitable.h" 17 #include "validate/validate.upb_minitable.h" 18 19 // Must be last. 20 #include "upb/port/def.inc" 21 22 static const upb_MiniTableSub envoy_config_endpoint_v3_UpstreamLocalityStats_submsgs[3] = { 23 {.UPB_PRIVATE(submsg) = &envoy__config__core__v3__Locality_msg_init}, 24 {.UPB_PRIVATE(submsg) = &envoy__config__endpoint__v3__EndpointLoadMetricStats_msg_init}, 25 {.UPB_PRIVATE(submsg) = &envoy__config__endpoint__v3__UpstreamEndpointStats_msg_init}, 26 }; 27 28 static const upb_MiniTableField envoy_config_endpoint_v3_UpstreamLocalityStats__fields[8] = { 29 {1, UPB_SIZE(12, 16), 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, 30 {2, UPB_SIZE(32, 24), 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, 31 {3, UPB_SIZE(40, 32), 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, 32 {4, UPB_SIZE(48, 40), 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, 33 {5, UPB_SIZE(16, 48), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, 34 {6, UPB_SIZE(20, 12), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, 35 {7, UPB_SIZE(24, 56), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, 36 {8, UPB_SIZE(56, 64), 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, 37 }; 38 39 const upb_MiniTable envoy__config__endpoint__v3__UpstreamLocalityStats_msg_init = { 40 &envoy_config_endpoint_v3_UpstreamLocalityStats_submsgs[0], 41 &envoy_config_endpoint_v3_UpstreamLocalityStats__fields[0], 42 UPB_SIZE(64, 72), 8, kUpb_ExtMode_NonExtendable, 8, UPB_FASTTABLE_MASK(120), 0, 43 UPB_FASTTABLE_INIT({ 44 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 45 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 46 {0x001800003f000010, &upb_psv8_1bt}, 47 {0x002000003f000018, &upb_psv8_1bt}, 48 {0x002800003f000020, &upb_psv8_1bt}, 49 {0x003000003f01002a, &upb_prm_1bt_max64b}, 50 {0x000c00003f000030, &upb_psv4_1bt}, 51 {0x003800003f02003a, &upb_prm_1bt_max128b}, 52 {0x004000003f000040, &upb_psv8_1bt}, 53 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 54 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 55 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 56 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 57 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 58 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 59 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 60 }) 61 }; 62 63 static const upb_MiniTableSub envoy_config_endpoint_v3_UpstreamEndpointStats_submsgs[3] = { 64 {.UPB_PRIVATE(submsg) = &envoy__config__core__v3__Address_msg_init}, 65 {.UPB_PRIVATE(submsg) = &envoy__config__endpoint__v3__EndpointLoadMetricStats_msg_init}, 66 {.UPB_PRIVATE(submsg) = &google__protobuf__Struct_msg_init}, 67 }; 68 69 static const upb_MiniTableField envoy_config_endpoint_v3_UpstreamEndpointStats__fields[7] = { 70 {1, UPB_SIZE(12, 16), 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, 71 {2, 24, 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, 72 {3, 32, 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, 73 {4, 40, 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, 74 {5, UPB_SIZE(16, 48), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, 75 {6, UPB_SIZE(20, 56), 65, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, 76 {7, UPB_SIZE(48, 64), 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, 77 }; 78 79 const upb_MiniTable envoy__config__endpoint__v3__UpstreamEndpointStats_msg_init = { 80 &envoy_config_endpoint_v3_UpstreamEndpointStats_submsgs[0], 81 &envoy_config_endpoint_v3_UpstreamEndpointStats__fields[0], 82 UPB_SIZE(56, 72), 7, kUpb_ExtMode_NonExtendable, 7, UPB_FASTTABLE_MASK(56), 0, 83 UPB_FASTTABLE_INIT({ 84 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 85 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 86 {0x001800003f000010, &upb_psv8_1bt}, 87 {0x002000003f000018, &upb_psv8_1bt}, 88 {0x002800003f000020, &upb_psv8_1bt}, 89 {0x003000003f01002a, &upb_prm_1bt_max64b}, 90 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 91 {0x004000003f000038, &upb_psv8_1bt}, 92 }) 93 }; 94 95 static const upb_MiniTableField envoy_config_endpoint_v3_EndpointLoadMetricStats__fields[3] = { 96 {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, 97 {2, UPB_SIZE(16, 24), 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, 98 {3, UPB_SIZE(24, 32), 0, kUpb_NoSub, 1, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, 99 }; 100 101 const upb_MiniTable envoy__config__endpoint__v3__EndpointLoadMetricStats_msg_init = { 102 NULL, 103 &envoy_config_endpoint_v3_EndpointLoadMetricStats__fields[0], 104 UPB_SIZE(32, 40), 3, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(24), 0, 105 UPB_FASTTABLE_INIT({ 106 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 107 {0x000800003f00000a, &upb_pss_1bt}, 108 {0x001800003f000010, &upb_psv8_1bt}, 109 {0x002000003f000019, &upb_psf8_1bt}, 110 }) 111 }; 112 113 static const upb_MiniTableSub envoy_config_endpoint_v3_ClusterStats_submsgs[3] = { 114 {.UPB_PRIVATE(submsg) = &envoy__config__endpoint__v3__UpstreamLocalityStats_msg_init}, 115 {.UPB_PRIVATE(submsg) = &google__protobuf__Duration_msg_init}, 116 {.UPB_PRIVATE(submsg) = &envoy__config__endpoint__v3__ClusterStats__DroppedRequests_msg_init}, 117 }; 118 119 static const upb_MiniTableField envoy_config_endpoint_v3_ClusterStats__fields[6] = { 120 {1, UPB_SIZE(24, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, 121 {2, UPB_SIZE(12, 32), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, 122 {3, UPB_SIZE(32, 40), 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, 123 {4, UPB_SIZE(16, 48), 64, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, 124 {5, UPB_SIZE(20, 56), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, 125 {6, UPB_SIZE(40, 64), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, 126 }; 127 128 const upb_MiniTable envoy__config__endpoint__v3__ClusterStats_msg_init = { 129 &envoy_config_endpoint_v3_ClusterStats_submsgs[0], 130 &envoy_config_endpoint_v3_ClusterStats__fields[0], 131 UPB_SIZE(48, 80), 6, kUpb_ExtMode_NonExtendable, 6, UPB_FASTTABLE_MASK(56), 0, 132 UPB_FASTTABLE_INIT({ 133 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 134 {0x001000003f00000a, &upb_pss_1bt}, 135 {0x002000003f000012, &upb_prm_1bt_max128b}, 136 {0x002800003f000018, &upb_psv8_1bt}, 137 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 138 {0x003800003f02002a, &upb_prm_1bt_max64b}, 139 {0x004000003f000032, &upb_pss_1bt}, 140 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 141 }) 142 }; 143 144 static const upb_MiniTableField envoy_config_endpoint_v3_ClusterStats_DroppedRequests__fields[2] = { 145 {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, 146 {2, UPB_SIZE(16, 24), 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, 147 }; 148 149 const upb_MiniTable envoy__config__endpoint__v3__ClusterStats__DroppedRequests_msg_init = { 150 NULL, 151 &envoy_config_endpoint_v3_ClusterStats_DroppedRequests__fields[0], 152 UPB_SIZE(24, 32), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, 153 UPB_FASTTABLE_INIT({ 154 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 155 {0x000800003f00000a, &upb_pss_1bt}, 156 {0x001800003f000010, &upb_psv8_1bt}, 157 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 158 }) 159 }; 160 161 static const upb_MiniTable *messages_layout[5] = { 162 &envoy__config__endpoint__v3__UpstreamLocalityStats_msg_init, 163 &envoy__config__endpoint__v3__UpstreamEndpointStats_msg_init, 164 &envoy__config__endpoint__v3__EndpointLoadMetricStats_msg_init, 165 &envoy__config__endpoint__v3__ClusterStats_msg_init, 166 &envoy__config__endpoint__v3__ClusterStats__DroppedRequests_msg_init, 167 }; 168 169 const upb_MiniTableFile envoy_config_endpoint_v3_load_report_proto_upb_file_layout = { 170 messages_layout, 171 NULL, 172 NULL, 173 5, 174 0, 175 0, 176 }; 177 178 #include "upb/port/undef.inc" 179 180