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 * NO CHECKED-IN PROTOBUF GENCODE */ 8 9 #include <stddef.h> 10 #include "upb/generated_code_support.h" 11 #include "envoy/config/endpoint/v3/load_report.upb_minitable.h" 12 #include "envoy/config/core/v3/address.upb_minitable.h" 13 #include "envoy/config/core/v3/base.upb_minitable.h" 14 #include "google/protobuf/duration.upb_minitable.h" 15 #include "google/protobuf/struct.upb_minitable.h" 16 #include "xds/annotations/v3/status.upb_minitable.h" 17 #include "udpa/annotations/status.upb_minitable.h" 18 #include "udpa/annotations/versioning.upb_minitable.h" 19 #include "validate/validate.upb_minitable.h" 20 21 // Must be last. 22 #include "upb/port/def.inc" 23 24 extern const struct upb_MiniTable UPB_PRIVATE(_kUpb_MiniTable_StaticallyTreeShaken); 25 static const upb_MiniTableSubInternal envoy_config_endpoint_v3_UpstreamLocalityStats__submsgs[6] = { 26 {.UPB_PRIVATE(submsg) = &envoy__config__core__v3__Locality_msg_init_ptr}, 27 {.UPB_PRIVATE(submsg) = &envoy__config__endpoint__v3__EndpointLoadMetricStats_msg_init_ptr}, 28 {.UPB_PRIVATE(submsg) = &envoy__config__endpoint__v3__UpstreamEndpointStats_msg_init_ptr}, 29 {.UPB_PRIVATE(submsg) = &envoy__config__endpoint__v3__UnnamedEndpointLoadMetricStats_msg_init_ptr}, 30 {.UPB_PRIVATE(submsg) = &envoy__config__endpoint__v3__UnnamedEndpointLoadMetricStats_msg_init_ptr}, 31 {.UPB_PRIVATE(submsg) = &envoy__config__endpoint__v3__UnnamedEndpointLoadMetricStats_msg_init_ptr}, 32 }; 33 34 static const upb_MiniTableField envoy_config_endpoint_v3_UpstreamLocalityStats__fields[14] = { 35 {1, UPB_SIZE(12, 16), 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, 36 {2, UPB_SIZE(40, 24), 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, 37 {3, UPB_SIZE(48, 32), 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, 38 {4, UPB_SIZE(56, 40), 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, 39 {5, UPB_SIZE(16, 48), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, 40 {6, UPB_SIZE(20, 12), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, 41 {7, UPB_SIZE(24, 56), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, 42 {8, 64, 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, 43 {9, 72, 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, 44 {10, 80, 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, 45 {11, 88, 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, 46 {12, UPB_SIZE(28, 96), 65, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, 47 {13, UPB_SIZE(32, 104), 66, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, 48 {14, UPB_SIZE(36, 112), 67, 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, 49 }; 50 51 const upb_MiniTable envoy__config__endpoint__v3__UpstreamLocalityStats_msg_init = { 52 &envoy_config_endpoint_v3_UpstreamLocalityStats__submsgs[0], 53 &envoy_config_endpoint_v3_UpstreamLocalityStats__fields[0], 54 UPB_SIZE(96, 120), 14, kUpb_ExtMode_NonExtendable, 14, UPB_FASTTABLE_MASK(120), 0, 55 #ifdef UPB_TRACING_ENABLED 56 "envoy.config.endpoint.v3.UpstreamLocalityStats", 57 #endif 58 UPB_FASTTABLE_INIT({ 59 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 60 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 61 {0x001800003f000010, &upb_psv8_1bt}, 62 {0x002000003f000018, &upb_psv8_1bt}, 63 {0x002800003f000020, &upb_psv8_1bt}, 64 {0x003000003f01002a, &upb_prm_1bt_max64b}, 65 {0x000c00003f000030, &upb_psv4_1bt}, 66 {0x003800003f02003a, &upb_prm_1bt_max128b}, 67 {0x004000003f000040, &upb_psv8_1bt}, 68 {0x004800003f000048, &upb_psv8_1bt}, 69 {0x005000003f000050, &upb_psv8_1bt}, 70 {0x005800003f000058, &upb_psv8_1bt}, 71 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 72 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 73 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 74 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 75 }) 76 }; 77 78 const upb_MiniTable* envoy__config__endpoint__v3__UpstreamLocalityStats_msg_init_ptr = &envoy__config__endpoint__v3__UpstreamLocalityStats_msg_init; 79 static const upb_MiniTableSubInternal envoy_config_endpoint_v3_UpstreamEndpointStats__submsgs[3] = { 80 {.UPB_PRIVATE(submsg) = &envoy__config__core__v3__Address_msg_init_ptr}, 81 {.UPB_PRIVATE(submsg) = &envoy__config__endpoint__v3__EndpointLoadMetricStats_msg_init_ptr}, 82 {.UPB_PRIVATE(submsg) = &google__protobuf__Struct_msg_init_ptr}, 83 }; 84 85 static const upb_MiniTableField envoy_config_endpoint_v3_UpstreamEndpointStats__fields[7] = { 86 {1, UPB_SIZE(12, 16), 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, 87 {2, 24, 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, 88 {3, 32, 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, 89 {4, 40, 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, 90 {5, UPB_SIZE(16, 48), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, 91 {6, UPB_SIZE(20, 56), 65, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, 92 {7, UPB_SIZE(48, 64), 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, 93 }; 94 95 const upb_MiniTable envoy__config__endpoint__v3__UpstreamEndpointStats_msg_init = { 96 &envoy_config_endpoint_v3_UpstreamEndpointStats__submsgs[0], 97 &envoy_config_endpoint_v3_UpstreamEndpointStats__fields[0], 98 UPB_SIZE(56, 72), 7, kUpb_ExtMode_NonExtendable, 7, UPB_FASTTABLE_MASK(56), 0, 99 #ifdef UPB_TRACING_ENABLED 100 "envoy.config.endpoint.v3.UpstreamEndpointStats", 101 #endif 102 UPB_FASTTABLE_INIT({ 103 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 104 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 105 {0x001800003f000010, &upb_psv8_1bt}, 106 {0x002000003f000018, &upb_psv8_1bt}, 107 {0x002800003f000020, &upb_psv8_1bt}, 108 {0x003000003f01002a, &upb_prm_1bt_max64b}, 109 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 110 {0x004000003f000038, &upb_psv8_1bt}, 111 }) 112 }; 113 114 const upb_MiniTable* envoy__config__endpoint__v3__UpstreamEndpointStats_msg_init_ptr = &envoy__config__endpoint__v3__UpstreamEndpointStats_msg_init; 115 static const upb_MiniTableField envoy_config_endpoint_v3_EndpointLoadMetricStats__fields[3] = { 116 {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, 117 {2, UPB_SIZE(16, 24), 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, 118 {3, UPB_SIZE(24, 32), 0, kUpb_NoSub, 1, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, 119 }; 120 121 const upb_MiniTable envoy__config__endpoint__v3__EndpointLoadMetricStats_msg_init = { 122 NULL, 123 &envoy_config_endpoint_v3_EndpointLoadMetricStats__fields[0], 124 UPB_SIZE(32, 40), 3, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(24), 0, 125 #ifdef UPB_TRACING_ENABLED 126 "envoy.config.endpoint.v3.EndpointLoadMetricStats", 127 #endif 128 UPB_FASTTABLE_INIT({ 129 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 130 {0x000800003f00000a, &upb_pss_1bt}, 131 {0x001800003f000010, &upb_psv8_1bt}, 132 {0x002000003f000019, &upb_psf8_1bt}, 133 }) 134 }; 135 136 const upb_MiniTable* envoy__config__endpoint__v3__EndpointLoadMetricStats_msg_init_ptr = &envoy__config__endpoint__v3__EndpointLoadMetricStats_msg_init; 137 static const upb_MiniTableField envoy_config_endpoint_v3_UnnamedEndpointLoadMetricStats__fields[2] = { 138 {1, 8, 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, 139 {2, 16, 0, kUpb_NoSub, 1, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, 140 }; 141 142 const upb_MiniTable envoy__config__endpoint__v3__UnnamedEndpointLoadMetricStats_msg_init = { 143 NULL, 144 &envoy_config_endpoint_v3_UnnamedEndpointLoadMetricStats__fields[0], 145 24, 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, 146 #ifdef UPB_TRACING_ENABLED 147 "envoy.config.endpoint.v3.UnnamedEndpointLoadMetricStats", 148 #endif 149 UPB_FASTTABLE_INIT({ 150 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 151 {0x000800003f000008, &upb_psv8_1bt}, 152 {0x001000003f000011, &upb_psf8_1bt}, 153 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 154 }) 155 }; 156 157 const upb_MiniTable* envoy__config__endpoint__v3__UnnamedEndpointLoadMetricStats_msg_init_ptr = &envoy__config__endpoint__v3__UnnamedEndpointLoadMetricStats_msg_init; 158 static const upb_MiniTableSubInternal envoy_config_endpoint_v3_ClusterStats__submsgs[3] = { 159 {.UPB_PRIVATE(submsg) = &envoy__config__endpoint__v3__UpstreamLocalityStats_msg_init_ptr}, 160 {.UPB_PRIVATE(submsg) = &google__protobuf__Duration_msg_init_ptr}, 161 {.UPB_PRIVATE(submsg) = &envoy__config__endpoint__v3__ClusterStats__DroppedRequests_msg_init_ptr}, 162 }; 163 164 static const upb_MiniTableField envoy_config_endpoint_v3_ClusterStats__fields[6] = { 165 {1, UPB_SIZE(24, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, 166 {2, UPB_SIZE(12, 32), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, 167 {3, UPB_SIZE(32, 40), 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, 168 {4, UPB_SIZE(16, 48), 64, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, 169 {5, UPB_SIZE(20, 56), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, 170 {6, UPB_SIZE(40, 64), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, 171 }; 172 173 const upb_MiniTable envoy__config__endpoint__v3__ClusterStats_msg_init = { 174 &envoy_config_endpoint_v3_ClusterStats__submsgs[0], 175 &envoy_config_endpoint_v3_ClusterStats__fields[0], 176 UPB_SIZE(48, 80), 6, kUpb_ExtMode_NonExtendable, 6, UPB_FASTTABLE_MASK(56), 0, 177 #ifdef UPB_TRACING_ENABLED 178 "envoy.config.endpoint.v3.ClusterStats", 179 #endif 180 UPB_FASTTABLE_INIT({ 181 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 182 {0x001000003f00000a, &upb_pss_1bt}, 183 {0x002000003f000012, &upb_prm_1bt_max128b}, 184 {0x002800003f000018, &upb_psv8_1bt}, 185 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 186 {0x003800003f02002a, &upb_prm_1bt_max64b}, 187 {0x004000003f000032, &upb_pss_1bt}, 188 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 189 }) 190 }; 191 192 const upb_MiniTable* envoy__config__endpoint__v3__ClusterStats_msg_init_ptr = &envoy__config__endpoint__v3__ClusterStats_msg_init; 193 static const upb_MiniTableField envoy_config_endpoint_v3_ClusterStats_DroppedRequests__fields[2] = { 194 {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, 195 {2, UPB_SIZE(16, 24), 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, 196 }; 197 198 const upb_MiniTable envoy__config__endpoint__v3__ClusterStats__DroppedRequests_msg_init = { 199 NULL, 200 &envoy_config_endpoint_v3_ClusterStats_DroppedRequests__fields[0], 201 UPB_SIZE(24, 32), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, 202 #ifdef UPB_TRACING_ENABLED 203 "envoy.config.endpoint.v3.ClusterStats.DroppedRequests", 204 #endif 205 UPB_FASTTABLE_INIT({ 206 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 207 {0x000800003f00000a, &upb_pss_1bt}, 208 {0x001800003f000010, &upb_psv8_1bt}, 209 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 210 }) 211 }; 212 213 const upb_MiniTable* envoy__config__endpoint__v3__ClusterStats__DroppedRequests_msg_init_ptr = &envoy__config__endpoint__v3__ClusterStats__DroppedRequests_msg_init; 214 static const upb_MiniTable *messages_layout[6] = { 215 &envoy__config__endpoint__v3__UpstreamLocalityStats_msg_init, 216 &envoy__config__endpoint__v3__UpstreamEndpointStats_msg_init, 217 &envoy__config__endpoint__v3__EndpointLoadMetricStats_msg_init, 218 &envoy__config__endpoint__v3__UnnamedEndpointLoadMetricStats_msg_init, 219 &envoy__config__endpoint__v3__ClusterStats_msg_init, 220 &envoy__config__endpoint__v3__ClusterStats__DroppedRequests_msg_init, 221 }; 222 223 const upb_MiniTableFile envoy_config_endpoint_v3_load_report_proto_upb_file_layout = { 224 messages_layout, 225 NULL, 226 NULL, 227 6, 228 0, 229 0, 230 }; 231 232 #include "upb/port/undef.inc" 233 234