diff options
Diffstat (limited to 'src/core/ext/upb-gen/xds/type/matcher/v3/ip.upb_minitable.c')
-rw-r--r-- | src/core/ext/upb-gen/xds/type/matcher/v3/ip.upb_minitable.c | 75 |
1 files changed, 75 insertions, 0 deletions
diff --git a/src/core/ext/upb-gen/xds/type/matcher/v3/ip.upb_minitable.c b/src/core/ext/upb-gen/xds/type/matcher/v3/ip.upb_minitable.c new file mode 100644 index 0000000000..04716e4389 --- /dev/null +++ b/src/core/ext/upb-gen/xds/type/matcher/v3/ip.upb_minitable.c @@ -0,0 +1,75 @@ +/* This file was generated by upb_generator from the input file: + * + * xds/type/matcher/v3/ip.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/ip.upb_minitable.h" +#include "xds/annotations/v3/status.upb_minitable.h" +#include "xds/core/v3/cidr.upb_minitable.h" +#include "xds/type/matcher/v3/matcher.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_IPMatcher_submsgs[1] = { + {.submsg = &xds__type__matcher__v3__IPMatcher__IPRangeMatcher_msg_init}, +}; + +static const upb_MiniTableField xds_type_matcher_v3_IPMatcher__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__IPMatcher_msg_init = { + &xds_type_matcher_v3_IPMatcher_submsgs[0], + &xds_type_matcher_v3_IPMatcher__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_IPMatcher_IPRangeMatcher_submsgs[2] = { + {.submsg = &xds__core__v3__CidrRange_msg_init}, + {.submsg = &xds__type__matcher__v3__Matcher__OnMatch_msg_init}, +}; + +static const upb_MiniTableField xds_type_matcher_v3_IPMatcher_IPRangeMatcher__fields[3] = { + {1, UPB_SIZE(4, 8), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(8, 16), 1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(12, 1), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable xds__type__matcher__v3__IPMatcher__IPRangeMatcher_msg_init = { + &xds_type_matcher_v3_IPMatcher_IPRangeMatcher_submsgs[0], + &xds_type_matcher_v3_IPMatcher_IPRangeMatcher__fields[0], + UPB_SIZE(16, 24), 3, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800003f00000a, &upb_prm_1bt_maxmaxb}, + {0x0010000001010012, &upb_psm_1bt_maxmaxb}, + {0x000100003f000018, &upb_psb1_1bt}, + }) +}; + +static const upb_MiniTable *messages_layout[2] = { + &xds__type__matcher__v3__IPMatcher_msg_init, + &xds__type__matcher__v3__IPMatcher__IPRangeMatcher_msg_init, +}; + +const upb_MiniTableFile xds_type_matcher_v3_ip_proto_upb_file_layout = { + messages_layout, + NULL, + NULL, + 2, + 0, + 0, +}; + +#include "upb/port/undef.inc" + |