diff options
Diffstat (limited to 'src/core/ext/upb-gen/xds/type/matcher/v3/matcher.upb_minitable.c')
-rw-r--r-- | src/core/ext/upb-gen/xds/type/matcher/v3/matcher.upb_minitable.c | 265 |
1 files changed, 265 insertions, 0 deletions
diff --git a/src/core/ext/upb-gen/xds/type/matcher/v3/matcher.upb_minitable.c b/src/core/ext/upb-gen/xds/type/matcher/v3/matcher.upb_minitable.c new file mode 100644 index 0000000000..aec7f44376 --- /dev/null +++ b/src/core/ext/upb-gen/xds/type/matcher/v3/matcher.upb_minitable.c @@ -0,0 +1,265 @@ +/* This file was generated by upb_generator from the input file: + * + * xds/type/matcher/v3/matcher.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#include <stddef.h> +#include "upb/generated_code_support.h" +#include "xds/type/matcher/v3/matcher.upb_minitable.h" +#include "xds/annotations/v3/status.upb_minitable.h" +#include "xds/core/v3/extension.upb_minitable.h" +#include "xds/type/matcher/v3/string.upb_minitable.h" +#include "validate/validate.upb_minitable.h" + +// Must be last. +#include "upb/port/def.inc" + +static const upb_MiniTableSub xds_type_matcher_v3_Matcher_submsgs[3] = { + {.submsg = &xds__type__matcher__v3__Matcher__MatcherList_msg_init}, + {.submsg = &xds__type__matcher__v3__Matcher__MatcherTree_msg_init}, + {.submsg = &xds__type__matcher__v3__Matcher__OnMatch_msg_init}, +}; + +static const upb_MiniTableField xds_type_matcher_v3_Matcher__fields[3] = { + {1, UPB_SIZE(12, 16), -5, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(12, 16), -5, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, 8, 1, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable xds__type__matcher__v3__Matcher_msg_init = { + &xds_type_matcher_v3_Matcher_submsgs[0], + &xds_type_matcher_v3_Matcher__fields[0], + UPB_SIZE(16, 24), 3, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x001000040100000a, &upb_pom_1bt_max64b}, + {0x0010000402010012, &upb_pom_1bt_max64b}, + {0x000800000102001a, &upb_psm_1bt_max64b}, + }) +}; + +static const upb_MiniTableSub xds_type_matcher_v3_Matcher_OnMatch_submsgs[2] = { + {.submsg = &xds__type__matcher__v3__Matcher_msg_init}, + {.submsg = &xds__core__v3__TypedExtensionConfig_msg_init}, +}; + +static const upb_MiniTableField xds_type_matcher_v3_Matcher_OnMatch__fields[2] = { + {1, UPB_SIZE(4, 8), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(4, 8), -1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable xds__type__matcher__v3__Matcher__OnMatch_msg_init = { + &xds_type_matcher_v3_Matcher_OnMatch_submsgs[0], + &xds_type_matcher_v3_Matcher_OnMatch__fields[0], + UPB_SIZE(8, 16), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800000100000a, &upb_pom_1bt_max64b}, + {0x0008000002010012, &upb_pom_1bt_maxmaxb}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableSub xds_type_matcher_v3_Matcher_MatcherList_submsgs[1] = { + {.submsg = &xds__type__matcher__v3__Matcher__MatcherList__FieldMatcher_msg_init}, +}; + +static const upb_MiniTableField xds_type_matcher_v3_Matcher_MatcherList__fields[1] = { + {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable xds__type__matcher__v3__Matcher__MatcherList_msg_init = { + &xds_type_matcher_v3_Matcher_MatcherList_submsgs[0], + &xds_type_matcher_v3_Matcher_MatcherList__fields[0], + 8, 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000000003f00000a, &upb_prm_1bt_max64b}, + }) +}; + +static const upb_MiniTableSub xds_type_matcher_v3_Matcher_MatcherList_Predicate_submsgs[4] = { + {.submsg = &xds__type__matcher__v3__Matcher__MatcherList__Predicate__SinglePredicate_msg_init}, + {.submsg = &xds__type__matcher__v3__Matcher__MatcherList__Predicate__PredicateList_msg_init}, + {.submsg = &xds__type__matcher__v3__Matcher__MatcherList__Predicate__PredicateList_msg_init}, + {.submsg = &xds__type__matcher__v3__Matcher__MatcherList__Predicate_msg_init}, +}; + +static const upb_MiniTableField xds_type_matcher_v3_Matcher_MatcherList_Predicate__fields[4] = { + {1, UPB_SIZE(4, 8), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(4, 8), -1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(4, 8), -1, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(4, 8), -1, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable xds__type__matcher__v3__Matcher__MatcherList__Predicate_msg_init = { + &xds_type_matcher_v3_Matcher_MatcherList_Predicate_submsgs[0], + &xds_type_matcher_v3_Matcher_MatcherList_Predicate__fields[0], + UPB_SIZE(8, 16), 4, kUpb_ExtMode_NonExtendable, 4, UPB_FASTTABLE_MASK(56), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800000100000a, &upb_pom_1bt_max64b}, + {0x0008000002010012, &upb_pom_1bt_max64b}, + {0x000800000302001a, &upb_pom_1bt_max64b}, + {0x0008000004030022, &upb_pom_1bt_max64b}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableSub xds_type_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate_submsgs[3] = { + {.submsg = &xds__core__v3__TypedExtensionConfig_msg_init}, + {.submsg = &xds__type__matcher__v3__StringMatcher_msg_init}, + {.submsg = &xds__core__v3__TypedExtensionConfig_msg_init}, +}; + +static const upb_MiniTableField xds_type_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate__fields[3] = { + {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(12, 16), UPB_SIZE(-9, -5), 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(12, 16), UPB_SIZE(-9, -5), 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable xds__type__matcher__v3__Matcher__MatcherList__Predicate__SinglePredicate_msg_init = { + &xds_type_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate_submsgs[0], + &xds_type_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate__fields[0], + UPB_SIZE(16, 24), 3, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800000100000a, &upb_psm_1bt_maxmaxb}, + {0x0010000402010012, &upb_pom_1bt_maxmaxb}, + {0x001000040302001a, &upb_pom_1bt_maxmaxb}, + }) +}; + +static const upb_MiniTableSub xds_type_matcher_v3_Matcher_MatcherList_Predicate_PredicateList_submsgs[1] = { + {.submsg = &xds__type__matcher__v3__Matcher__MatcherList__Predicate_msg_init}, +}; + +static const upb_MiniTableField xds_type_matcher_v3_Matcher_MatcherList_Predicate_PredicateList__fields[1] = { + {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable xds__type__matcher__v3__Matcher__MatcherList__Predicate__PredicateList_msg_init = { + &xds_type_matcher_v3_Matcher_MatcherList_Predicate_PredicateList_submsgs[0], + &xds_type_matcher_v3_Matcher_MatcherList_Predicate_PredicateList__fields[0], + 8, 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000000003f00000a, &upb_prm_1bt_max64b}, + }) +}; + +static const upb_MiniTableSub xds_type_matcher_v3_Matcher_MatcherList_FieldMatcher_submsgs[2] = { + {.submsg = &xds__type__matcher__v3__Matcher__MatcherList__Predicate_msg_init}, + {.submsg = &xds__type__matcher__v3__Matcher__OnMatch_msg_init}, +}; + +static const upb_MiniTableField xds_type_matcher_v3_Matcher_MatcherList_FieldMatcher__fields[2] = { + {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable xds__type__matcher__v3__Matcher__MatcherList__FieldMatcher_msg_init = { + &xds_type_matcher_v3_Matcher_MatcherList_FieldMatcher_submsgs[0], + &xds_type_matcher_v3_Matcher_MatcherList_FieldMatcher__fields[0], + UPB_SIZE(16, 24), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800000100000a, &upb_psm_1bt_max64b}, + {0x0010000002010012, &upb_psm_1bt_max64b}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableSub xds_type_matcher_v3_Matcher_MatcherTree_submsgs[4] = { + {.submsg = &xds__core__v3__TypedExtensionConfig_msg_init}, + {.submsg = &xds__type__matcher__v3__Matcher__MatcherTree__MatchMap_msg_init}, + {.submsg = &xds__type__matcher__v3__Matcher__MatcherTree__MatchMap_msg_init}, + {.submsg = &xds__core__v3__TypedExtensionConfig_msg_init}, +}; + +static const upb_MiniTableField xds_type_matcher_v3_Matcher_MatcherTree__fields[4] = { + {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(12, 16), UPB_SIZE(-9, -5), 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(12, 16), UPB_SIZE(-9, -5), 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(12, 16), UPB_SIZE(-9, -5), 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable xds__type__matcher__v3__Matcher__MatcherTree_msg_init = { + &xds_type_matcher_v3_Matcher_MatcherTree_submsgs[0], + &xds_type_matcher_v3_Matcher_MatcherTree__fields[0], + UPB_SIZE(16, 24), 4, kUpb_ExtMode_NonExtendable, 4, UPB_FASTTABLE_MASK(56), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800000100000a, &upb_psm_1bt_maxmaxb}, + {0x0010000402010012, &upb_pom_1bt_max64b}, + {0x001000040302001a, &upb_pom_1bt_max64b}, + {0x0010000404030022, &upb_pom_1bt_maxmaxb}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableSub xds_type_matcher_v3_Matcher_MatcherTree_MatchMap_submsgs[1] = { + {.submsg = &xds__type__matcher__v3__Matcher__MatcherTree__MatchMap__MapEntry_msg_init}, +}; + +static const upb_MiniTableField xds_type_matcher_v3_Matcher_MatcherTree_MatchMap__fields[1] = { + {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable xds__type__matcher__v3__Matcher__MatcherTree__MatchMap_msg_init = { + &xds_type_matcher_v3_Matcher_MatcherTree_MatchMap_submsgs[0], + &xds_type_matcher_v3_Matcher_MatcherTree_MatchMap__fields[0], + 8, 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(255), 0, +}; + +static const upb_MiniTableSub xds_type_matcher_v3_Matcher_MatcherTree_MatchMap_MapEntry_submsgs[1] = { + {.submsg = &xds__type__matcher__v3__Matcher__OnMatch_msg_init}, +}; + +static const upb_MiniTableField xds_type_matcher_v3_Matcher_MatcherTree_MatchMap_MapEntry__fields[2] = { + {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(16, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable xds__type__matcher__v3__Matcher__MatcherTree__MatchMap__MapEntry_msg_init = { + &xds_type_matcher_v3_Matcher_MatcherTree_MatchMap_MapEntry_submsgs[0], + &xds_type_matcher_v3_Matcher_MatcherTree_MatchMap_MapEntry__fields[0], + UPB_SIZE(24, 40), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800003f00000a, &upb_pss_1bt}, + {0x0018000001000012, &upb_psm_1bt_max64b}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTable *messages_layout[10] = { + &xds__type__matcher__v3__Matcher_msg_init, + &xds__type__matcher__v3__Matcher__OnMatch_msg_init, + &xds__type__matcher__v3__Matcher__MatcherList_msg_init, + &xds__type__matcher__v3__Matcher__MatcherList__Predicate_msg_init, + &xds__type__matcher__v3__Matcher__MatcherList__Predicate__SinglePredicate_msg_init, + &xds__type__matcher__v3__Matcher__MatcherList__Predicate__PredicateList_msg_init, + &xds__type__matcher__v3__Matcher__MatcherList__FieldMatcher_msg_init, + &xds__type__matcher__v3__Matcher__MatcherTree_msg_init, + &xds__type__matcher__v3__Matcher__MatcherTree__MatchMap_msg_init, + &xds__type__matcher__v3__Matcher__MatcherTree__MatchMap__MapEntry_msg_init, +}; + +const upb_MiniTableFile xds_type_matcher_v3_matcher_proto_upb_file_layout = { + messages_layout, + NULL, + NULL, + 10, + 0, + 0, +}; + +#include "upb/port/undef.inc" + |