1 /* This file was generated by upb_generator from the input file: 2 * 3 * envoy/config/endpoint/v3/endpoint_components.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/endpoint_components.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 "envoy/config/core/v3/config_source.upb_minitable.h" 15 #include "envoy/config/core/v3/health_check.upb_minitable.h" 16 #include "google/protobuf/wrappers.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_Endpoint__submsgs[3] = { 26 {.UPB_PRIVATE(submsg) = &envoy__config__core__v3__Address_msg_init_ptr}, 27 {.UPB_PRIVATE(submsg) = &envoy__config__endpoint__v3__Endpoint__HealthCheckConfig_msg_init_ptr}, 28 {.UPB_PRIVATE(submsg) = &envoy__config__endpoint__v3__Endpoint__AdditionalAddress_msg_init_ptr}, 29 }; 30 31 static const upb_MiniTableField envoy_config_endpoint_v3_Endpoint__fields[4] = { 32 {1, UPB_SIZE(12, 16), 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, 33 {2, UPB_SIZE(16, 24), 65, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, 34 {3, UPB_SIZE(24, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, 35 {4, UPB_SIZE(20, 48), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, 36 }; 37 38 const upb_MiniTable envoy__config__endpoint__v3__Endpoint_msg_init = { 39 &envoy_config_endpoint_v3_Endpoint__submsgs[0], 40 &envoy_config_endpoint_v3_Endpoint__fields[0], 41 UPB_SIZE(32, 56), 4, kUpb_ExtMode_NonExtendable, 4, UPB_FASTTABLE_MASK(56), 0, 42 #ifdef UPB_TRACING_ENABLED 43 "envoy.config.endpoint.v3.Endpoint", 44 #endif 45 UPB_FASTTABLE_INIT({ 46 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 47 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 48 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 49 {0x002000003f00001a, &upb_pss_1bt}, 50 {0x003000003f020022, &upb_prm_1bt_max64b}, 51 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 52 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 53 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 54 }) 55 }; 56 57 const upb_MiniTable* envoy__config__endpoint__v3__Endpoint_msg_init_ptr = &envoy__config__endpoint__v3__Endpoint_msg_init; 58 static const upb_MiniTableSubInternal envoy_config_endpoint_v3_Endpoint_HealthCheckConfig__submsgs[1] = { 59 {.UPB_PRIVATE(submsg) = &envoy__config__core__v3__Address_msg_init_ptr}, 60 }; 61 62 static const upb_MiniTableField envoy_config_endpoint_v3_Endpoint_HealthCheckConfig__fields[4] = { 63 {1, 12, 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, 64 {2, 24, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, 65 {3, UPB_SIZE(16, 40), 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, 66 {4, UPB_SIZE(20, 16), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, 67 }; 68 69 const upb_MiniTable envoy__config__endpoint__v3__Endpoint__HealthCheckConfig_msg_init = { 70 &envoy_config_endpoint_v3_Endpoint_HealthCheckConfig__submsgs[0], 71 &envoy_config_endpoint_v3_Endpoint_HealthCheckConfig__fields[0], 72 UPB_SIZE(32, 48), 4, kUpb_ExtMode_NonExtendable, 4, UPB_FASTTABLE_MASK(56), 0, 73 #ifdef UPB_TRACING_ENABLED 74 "envoy.config.endpoint.v3.Endpoint.HealthCheckConfig", 75 #endif 76 UPB_FASTTABLE_INIT({ 77 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 78 {0x000c00003f000008, &upb_psv4_1bt}, 79 {0x001800003f000012, &upb_pss_1bt}, 80 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 81 {0x001000003f000020, &upb_psb1_1bt}, 82 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 83 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 84 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 85 }) 86 }; 87 88 const upb_MiniTable* envoy__config__endpoint__v3__Endpoint__HealthCheckConfig_msg_init_ptr = &envoy__config__endpoint__v3__Endpoint__HealthCheckConfig_msg_init; 89 static const upb_MiniTableSubInternal envoy_config_endpoint_v3_Endpoint_AdditionalAddress__submsgs[1] = { 90 {.UPB_PRIVATE(submsg) = &envoy__config__core__v3__Address_msg_init_ptr}, 91 }; 92 93 static const upb_MiniTableField envoy_config_endpoint_v3_Endpoint_AdditionalAddress__fields[1] = { 94 {1, UPB_SIZE(12, 16), 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, 95 }; 96 97 const upb_MiniTable envoy__config__endpoint__v3__Endpoint__AdditionalAddress_msg_init = { 98 &envoy_config_endpoint_v3_Endpoint_AdditionalAddress__submsgs[0], 99 &envoy_config_endpoint_v3_Endpoint_AdditionalAddress__fields[0], 100 UPB_SIZE(16, 24), 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(255), 0, 101 #ifdef UPB_TRACING_ENABLED 102 "envoy.config.endpoint.v3.Endpoint.AdditionalAddress", 103 #endif 104 }; 105 106 const upb_MiniTable* envoy__config__endpoint__v3__Endpoint__AdditionalAddress_msg_init_ptr = &envoy__config__endpoint__v3__Endpoint__AdditionalAddress_msg_init; 107 static const upb_MiniTableSubInternal envoy_config_endpoint_v3_LbEndpoint__submsgs[3] = { 108 {.UPB_PRIVATE(submsg) = &envoy__config__endpoint__v3__Endpoint_msg_init_ptr}, 109 {.UPB_PRIVATE(submsg) = &envoy__config__core__v3__Metadata_msg_init_ptr}, 110 {.UPB_PRIVATE(submsg) = &google__protobuf__UInt32Value_msg_init_ptr}, 111 }; 112 113 static const upb_MiniTableField envoy_config_endpoint_v3_LbEndpoint__fields[5] = { 114 {1, UPB_SIZE(28, 24), UPB_SIZE(-25, -17), 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, 115 {2, 12, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, 116 {3, UPB_SIZE(16, 40), 64, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, 117 {4, UPB_SIZE(20, 48), 65, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, 118 {5, UPB_SIZE(28, 24), UPB_SIZE(-25, -17), kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, 119 }; 120 121 const upb_MiniTable envoy__config__endpoint__v3__LbEndpoint_msg_init = { 122 &envoy_config_endpoint_v3_LbEndpoint__submsgs[0], 123 &envoy_config_endpoint_v3_LbEndpoint__fields[0], 124 UPB_SIZE(40, 56), 5, kUpb_ExtMode_NonExtendable, 5, UPB_FASTTABLE_MASK(56), 0, 125 #ifdef UPB_TRACING_ENABLED 126 "envoy.config.endpoint.v3.LbEndpoint", 127 #endif 128 UPB_FASTTABLE_INIT({ 129 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 130 {0x001800100100000a, &upb_pom_1bt_max64b}, 131 {0x000c00003f000010, &upb_psv4_1bt}, 132 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 133 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 134 {0x001800100500002a, &upb_pos_1bt}, 135 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 136 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 137 }) 138 }; 139 140 const upb_MiniTable* envoy__config__endpoint__v3__LbEndpoint_msg_init_ptr = &envoy__config__endpoint__v3__LbEndpoint_msg_init; 141 static const upb_MiniTableSubInternal envoy_config_endpoint_v3_LedsClusterLocalityConfig__submsgs[1] = { 142 {.UPB_PRIVATE(submsg) = &envoy__config__core__v3__ConfigSource_msg_init_ptr}, 143 }; 144 145 static const upb_MiniTableField envoy_config_endpoint_v3_LedsClusterLocalityConfig__fields[2] = { 146 {1, UPB_SIZE(12, 16), 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, 147 {2, UPB_SIZE(16, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, 148 }; 149 150 const upb_MiniTable envoy__config__endpoint__v3__LedsClusterLocalityConfig_msg_init = { 151 &envoy_config_endpoint_v3_LedsClusterLocalityConfig__submsgs[0], 152 &envoy_config_endpoint_v3_LedsClusterLocalityConfig__fields[0], 153 UPB_SIZE(24, 40), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, 154 #ifdef UPB_TRACING_ENABLED 155 "envoy.config.endpoint.v3.LedsClusterLocalityConfig", 156 #endif 157 UPB_FASTTABLE_INIT({ 158 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 159 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 160 {0x001800003f000012, &upb_pss_1bt}, 161 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 162 }) 163 }; 164 165 const upb_MiniTable* envoy__config__endpoint__v3__LedsClusterLocalityConfig_msg_init_ptr = &envoy__config__endpoint__v3__LedsClusterLocalityConfig_msg_init; 166 static const upb_MiniTableSubInternal envoy_config_endpoint_v3_LocalityLbEndpoints__submsgs[7] = { 167 {.UPB_PRIVATE(submsg) = &envoy__config__core__v3__Locality_msg_init_ptr}, 168 {.UPB_PRIVATE(submsg) = &envoy__config__endpoint__v3__LbEndpoint_msg_init_ptr}, 169 {.UPB_PRIVATE(submsg) = &google__protobuf__UInt32Value_msg_init_ptr}, 170 {.UPB_PRIVATE(submsg) = &google__protobuf__UInt32Value_msg_init_ptr}, 171 {.UPB_PRIVATE(submsg) = &envoy__config__endpoint__v3__LocalityLbEndpoints__LbEndpointList_msg_init_ptr}, 172 {.UPB_PRIVATE(submsg) = &envoy__config__endpoint__v3__LedsClusterLocalityConfig_msg_init_ptr}, 173 {.UPB_PRIVATE(submsg) = &envoy__config__core__v3__Metadata_msg_init_ptr}, 174 }; 175 176 static const upb_MiniTableField envoy_config_endpoint_v3_LocalityLbEndpoints__fields[8] = { 177 {1, UPB_SIZE(12, 24), 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, 178 {2, UPB_SIZE(16, 32), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, 179 {3, UPB_SIZE(20, 40), 65, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, 180 {5, UPB_SIZE(24, 12), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, 181 {6, UPB_SIZE(28, 48), 66, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, 182 {7, UPB_SIZE(40, 64), UPB_SIZE(-33, -17), 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, 183 {8, UPB_SIZE(40, 64), UPB_SIZE(-33, -17), 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, 184 {9, UPB_SIZE(36, 56), 67, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, 185 }; 186 187 const upb_MiniTable envoy__config__endpoint__v3__LocalityLbEndpoints_msg_init = { 188 &envoy_config_endpoint_v3_LocalityLbEndpoints__submsgs[0], 189 &envoy_config_endpoint_v3_LocalityLbEndpoints__fields[0], 190 UPB_SIZE(48, 72), 8, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(120), 0, 191 #ifdef UPB_TRACING_ENABLED 192 "envoy.config.endpoint.v3.LocalityLbEndpoints", 193 #endif 194 UPB_FASTTABLE_INIT({ 195 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 196 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 197 {0x002000003f010012, &upb_prm_1bt_max64b}, 198 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 199 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 200 {0x000c00003f000028, &upb_psv4_1bt}, 201 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 202 {0x004000100704003a, &upb_pom_1bt_max64b}, 203 {0x0040001008050042, &upb_pom_1bt_max64b}, 204 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 205 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 206 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 207 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 208 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 209 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 210 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 211 }) 212 }; 213 214 const upb_MiniTable* envoy__config__endpoint__v3__LocalityLbEndpoints_msg_init_ptr = &envoy__config__endpoint__v3__LocalityLbEndpoints_msg_init; 215 static const upb_MiniTableSubInternal envoy_config_endpoint_v3_LocalityLbEndpoints_LbEndpointList__submsgs[1] = { 216 {.UPB_PRIVATE(submsg) = &envoy__config__endpoint__v3__LbEndpoint_msg_init_ptr}, 217 }; 218 219 static const upb_MiniTableField envoy_config_endpoint_v3_LocalityLbEndpoints_LbEndpointList__fields[1] = { 220 {1, 8, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, 221 }; 222 223 const upb_MiniTable envoy__config__endpoint__v3__LocalityLbEndpoints__LbEndpointList_msg_init = { 224 &envoy_config_endpoint_v3_LocalityLbEndpoints_LbEndpointList__submsgs[0], 225 &envoy_config_endpoint_v3_LocalityLbEndpoints_LbEndpointList__fields[0], 226 16, 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, 227 #ifdef UPB_TRACING_ENABLED 228 "envoy.config.endpoint.v3.LocalityLbEndpoints.LbEndpointList", 229 #endif 230 UPB_FASTTABLE_INIT({ 231 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 232 {0x000800003f00000a, &upb_prm_1bt_max64b}, 233 }) 234 }; 235 236 const upb_MiniTable* envoy__config__endpoint__v3__LocalityLbEndpoints__LbEndpointList_msg_init_ptr = &envoy__config__endpoint__v3__LocalityLbEndpoints__LbEndpointList_msg_init; 237 static const upb_MiniTable *messages_layout[7] = { 238 &envoy__config__endpoint__v3__Endpoint_msg_init, 239 &envoy__config__endpoint__v3__Endpoint__HealthCheckConfig_msg_init, 240 &envoy__config__endpoint__v3__Endpoint__AdditionalAddress_msg_init, 241 &envoy__config__endpoint__v3__LbEndpoint_msg_init, 242 &envoy__config__endpoint__v3__LedsClusterLocalityConfig_msg_init, 243 &envoy__config__endpoint__v3__LocalityLbEndpoints_msg_init, 244 &envoy__config__endpoint__v3__LocalityLbEndpoints__LbEndpointList_msg_init, 245 }; 246 247 const upb_MiniTableFile envoy_config_endpoint_v3_endpoint_components_proto_upb_file_layout = { 248 messages_layout, 249 NULL, 250 NULL, 251 7, 252 0, 253 0, 254 }; 255 256 #include "upb/port/undef.inc" 257 258