1 /* This file was generated by upb_generator from the input file: 2 * 3 * envoy/config/core/v3/config_source.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/core/v3/config_source.upb_minitable.h" 11 #include "envoy/config/core/v3/base.upb_minitable.h" 12 #include "envoy/config/core/v3/extension.upb_minitable.h" 13 #include "envoy/config/core/v3/grpc_service.upb_minitable.h" 14 #include "google/protobuf/any.upb_minitable.h" 15 #include "google/protobuf/duration.upb_minitable.h" 16 #include "google/protobuf/wrappers.upb_minitable.h" 17 #include "xds/core/v3/authority.upb_minitable.h" 18 #include "envoy/annotations/deprecation.upb_minitable.h" 19 #include "udpa/annotations/status.upb_minitable.h" 20 #include "udpa/annotations/versioning.upb_minitable.h" 21 #include "validate/validate.upb_minitable.h" 22 23 // Must be last. 24 #include "upb/port/def.inc" 25 26 static const upb_MiniTableSub envoy_config_core_v3_ApiConfigSource_submsgs[5] = { 27 {.UPB_PRIVATE(submsg) = &google__protobuf__Duration_msg_init}, 28 {.UPB_PRIVATE(submsg) = &envoy__config__core__v3__GrpcService_msg_init}, 29 {.UPB_PRIVATE(submsg) = &google__protobuf__Duration_msg_init}, 30 {.UPB_PRIVATE(submsg) = &envoy__config__core__v3__RateLimitSettings_msg_init}, 31 {.UPB_PRIVATE(submsg) = &envoy__config__core__v3__TypedExtensionConfig_msg_init}, 32 }; 33 34 static const upb_MiniTableField envoy_config_core_v3_ApiConfigSource__fields[9] = { 35 {1, 12, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, 36 {2, UPB_SIZE(16, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, 37 {3, UPB_SIZE(20, 32), 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, 38 {4, UPB_SIZE(24, 40), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, 39 {5, UPB_SIZE(28, 48), 65, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, 40 {6, UPB_SIZE(32, 56), 66, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, 41 {7, UPB_SIZE(36, 16), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, 42 {8, UPB_SIZE(40, 20), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, 43 {9, UPB_SIZE(44, 64), 0, 4, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, 44 }; 45 46 const upb_MiniTable envoy__config__core__v3__ApiConfigSource_msg_init = { 47 &envoy_config_core_v3_ApiConfigSource_submsgs[0], 48 &envoy_config_core_v3_ApiConfigSource__fields[0], 49 UPB_SIZE(48, 72), 9, kUpb_ExtMode_NonExtendable, 9, UPB_FASTTABLE_MASK(120), 0, 50 UPB_FASTTABLE_INIT({ 51 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 52 {0x000c00003f000008, &upb_psv4_1bt}, 53 {0x001800003f000012, &upb_prs_1bt}, 54 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 55 {0x002800003f010022, &upb_prm_1bt_maxmaxb}, 56 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 57 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 58 {0x001000003f000038, &upb_psb1_1bt}, 59 {0x001400003f000040, &upb_psv4_1bt}, 60 {0x004000003f04004a, &upb_prm_1bt_maxmaxb}, 61 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 62 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 63 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 64 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 65 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 66 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 67 }) 68 }; 69 70 const upb_MiniTable envoy__config__core__v3__AggregatedConfigSource_msg_init = { 71 NULL, 72 NULL, 73 8, 0, kUpb_ExtMode_NonExtendable, 0, UPB_FASTTABLE_MASK(255), 0, 74 }; 75 76 static const upb_MiniTableField envoy_config_core_v3_SelfConfigSource__fields[1] = { 77 {1, 8, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, 78 }; 79 80 const upb_MiniTable envoy__config__core__v3__SelfConfigSource_msg_init = { 81 NULL, 82 &envoy_config_core_v3_SelfConfigSource__fields[0], 83 16, 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, 84 UPB_FASTTABLE_INIT({ 85 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 86 {0x000800003f000008, &upb_psv4_1bt}, 87 }) 88 }; 89 90 static const upb_MiniTableSub envoy_config_core_v3_RateLimitSettings_submsgs[2] = { 91 {.UPB_PRIVATE(submsg) = &google__protobuf__UInt32Value_msg_init}, 92 {.UPB_PRIVATE(submsg) = &google__protobuf__DoubleValue_msg_init}, 93 }; 94 95 static const upb_MiniTableField envoy_config_core_v3_RateLimitSettings__fields[2] = { 96 {1, UPB_SIZE(12, 16), 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, 97 {2, UPB_SIZE(16, 24), 65, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, 98 }; 99 100 const upb_MiniTable envoy__config__core__v3__RateLimitSettings_msg_init = { 101 &envoy_config_core_v3_RateLimitSettings_submsgs[0], 102 &envoy_config_core_v3_RateLimitSettings__fields[0], 103 UPB_SIZE(24, 32), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(255), 0, 104 }; 105 106 static const upb_MiniTableSub envoy_config_core_v3_PathConfigSource_submsgs[1] = { 107 {.UPB_PRIVATE(submsg) = &envoy__config__core__v3__WatchedDirectory_msg_init}, 108 }; 109 110 static const upb_MiniTableField envoy_config_core_v3_PathConfigSource__fields[2] = { 111 {1, 16, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, 112 {2, UPB_SIZE(12, 32), 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, 113 }; 114 115 const upb_MiniTable envoy__config__core__v3__PathConfigSource_msg_init = { 116 &envoy_config_core_v3_PathConfigSource_submsgs[0], 117 &envoy_config_core_v3_PathConfigSource__fields[0], 118 UPB_SIZE(24, 40), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(8), 0, 119 UPB_FASTTABLE_INIT({ 120 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 121 {0x001000003f00000a, &upb_pss_1bt}, 122 }) 123 }; 124 125 static const upb_MiniTableSub envoy_config_core_v3_ConfigSource_submsgs[6] = { 126 {.UPB_PRIVATE(submsg) = &envoy__config__core__v3__ApiConfigSource_msg_init}, 127 {.UPB_PRIVATE(submsg) = &envoy__config__core__v3__AggregatedConfigSource_msg_init}, 128 {.UPB_PRIVATE(submsg) = &google__protobuf__Duration_msg_init}, 129 {.UPB_PRIVATE(submsg) = &envoy__config__core__v3__SelfConfigSource_msg_init}, 130 {.UPB_PRIVATE(submsg) = &xds__core__v3__Authority_msg_init}, 131 {.UPB_PRIVATE(submsg) = &envoy__config__core__v3__PathConfigSource_msg_init}, 132 }; 133 134 static const upb_MiniTableField envoy_config_core_v3_ConfigSource__fields[8] = { 135 {1, UPB_SIZE(28, 24), UPB_SIZE(-17, -13), kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, 136 {2, UPB_SIZE(28, 24), UPB_SIZE(-17, -13), 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, 137 {3, UPB_SIZE(28, 24), UPB_SIZE(-17, -13), 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, 138 {4, UPB_SIZE(12, 40), 64, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, 139 {5, UPB_SIZE(28, 24), UPB_SIZE(-17, -13), 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, 140 {6, UPB_SIZE(20, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, 141 {7, UPB_SIZE(24, 48), 0, 4, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, 142 {8, UPB_SIZE(28, 24), UPB_SIZE(-17, -13), 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, 143 }; 144 145 const upb_MiniTable envoy__config__core__v3__ConfigSource_msg_init = { 146 &envoy_config_core_v3_ConfigSource_submsgs[0], 147 &envoy_config_core_v3_ConfigSource__fields[0], 148 UPB_SIZE(40, 56), 8, kUpb_ExtMode_NonExtendable, 8, UPB_FASTTABLE_MASK(120), 0, 149 UPB_FASTTABLE_INIT({ 150 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 151 {0x0018000c0100000a, &upb_pos_1bt}, 152 {0x0018000c02000012, &upb_pom_1bt_max128b}, 153 {0x0018000c0301001a, &upb_pom_1bt_max64b}, 154 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 155 {0x0018000c0503002a, &upb_pom_1bt_max64b}, 156 {0x001000003f000030, &upb_psv4_1bt}, 157 {0x003000003f04003a, &upb_prm_1bt_maxmaxb}, 158 {0x0018000c08050042, &upb_pom_1bt_max64b}, 159 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 160 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 161 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 162 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 163 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 164 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 165 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 166 }) 167 }; 168 169 static const upb_MiniTableSub envoy_config_core_v3_ExtensionConfigSource_submsgs[2] = { 170 {.UPB_PRIVATE(submsg) = &envoy__config__core__v3__ConfigSource_msg_init}, 171 {.UPB_PRIVATE(submsg) = &google__protobuf__Any_msg_init}, 172 }; 173 174 static const upb_MiniTableField envoy_config_core_v3_ExtensionConfigSource__fields[4] = { 175 {1, UPB_SIZE(12, 16), 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, 176 {2, UPB_SIZE(16, 24), 65, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, 177 {3, UPB_SIZE(20, 9), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, 178 {4, UPB_SIZE(24, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, 179 }; 180 181 const upb_MiniTable envoy__config__core__v3__ExtensionConfigSource_msg_init = { 182 &envoy_config_core_v3_ExtensionConfigSource_submsgs[0], 183 &envoy_config_core_v3_ExtensionConfigSource__fields[0], 184 UPB_SIZE(32, 40), 4, kUpb_ExtMode_NonExtendable, 4, UPB_FASTTABLE_MASK(56), 0, 185 UPB_FASTTABLE_INIT({ 186 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 187 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 188 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 189 {0x000900003f000018, &upb_psb1_1bt}, 190 {0x002000003f000022, &upb_prs_1bt}, 191 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 192 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 193 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 194 }) 195 }; 196 197 static const upb_MiniTable *messages_layout[7] = { 198 &envoy__config__core__v3__ApiConfigSource_msg_init, 199 &envoy__config__core__v3__AggregatedConfigSource_msg_init, 200 &envoy__config__core__v3__SelfConfigSource_msg_init, 201 &envoy__config__core__v3__RateLimitSettings_msg_init, 202 &envoy__config__core__v3__PathConfigSource_msg_init, 203 &envoy__config__core__v3__ConfigSource_msg_init, 204 &envoy__config__core__v3__ExtensionConfigSource_msg_init, 205 }; 206 207 const upb_MiniTableFile envoy_config_core_v3_config_source_proto_upb_file_layout = { 208 messages_layout, 209 NULL, 210 NULL, 211 7, 212 0, 213 0, 214 }; 215 216 #include "upb/port/undef.inc" 217 218