1 /* This file was generated by upb_generator from the input file: 2 * 3 * xds/type/matcher/v3/ip.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 "xds/type/matcher/v3/ip.upb_minitable.h" 11 #include "xds/annotations/v3/status.upb_minitable.h" 12 #include "xds/core/v3/cidr.upb_minitable.h" 13 #include "xds/type/matcher/v3/matcher.upb_minitable.h" 14 #include "validate/validate.upb_minitable.h" 15 16 // Must be last. 17 #include "upb/port/def.inc" 18 19 static const upb_MiniTableSub xds_type_matcher_v3_IPMatcher_submsgs[1] = { 20 {.UPB_PRIVATE(submsg) = &xds__type__matcher__v3__IPMatcher__IPRangeMatcher_msg_init}, 21 }; 22 23 static const upb_MiniTableField xds_type_matcher_v3_IPMatcher__fields[1] = { 24 {1, 8, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, 25 }; 26 27 const upb_MiniTable xds__type__matcher__v3__IPMatcher_msg_init = { 28 &xds_type_matcher_v3_IPMatcher_submsgs[0], 29 &xds_type_matcher_v3_IPMatcher__fields[0], 30 16, 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, 31 UPB_FASTTABLE_INIT({ 32 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 33 {0x000800003f00000a, &upb_prm_1bt_max64b}, 34 }) 35 }; 36 37 static const upb_MiniTableSub xds_type_matcher_v3_IPMatcher_IPRangeMatcher_submsgs[2] = { 38 {.UPB_PRIVATE(submsg) = &xds__core__v3__CidrRange_msg_init}, 39 {.UPB_PRIVATE(submsg) = &xds__type__matcher__v3__Matcher__OnMatch_msg_init}, 40 }; 41 42 static const upb_MiniTableField xds_type_matcher_v3_IPMatcher_IPRangeMatcher__fields[3] = { 43 {1, UPB_SIZE(12, 16), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, 44 {2, UPB_SIZE(16, 24), 64, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, 45 {3, UPB_SIZE(20, 9), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, 46 }; 47 48 const upb_MiniTable xds__type__matcher__v3__IPMatcher__IPRangeMatcher_msg_init = { 49 &xds_type_matcher_v3_IPMatcher_IPRangeMatcher_submsgs[0], 50 &xds_type_matcher_v3_IPMatcher_IPRangeMatcher__fields[0], 51 UPB_SIZE(24, 32), 3, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(24), 0, 52 UPB_FASTTABLE_INIT({ 53 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 54 {0x001000003f00000a, &upb_prm_1bt_maxmaxb}, 55 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 56 {0x000900003f000018, &upb_psb1_1bt}, 57 }) 58 }; 59 60 static const upb_MiniTable *messages_layout[2] = { 61 &xds__type__matcher__v3__IPMatcher_msg_init, 62 &xds__type__matcher__v3__IPMatcher__IPRangeMatcher_msg_init, 63 }; 64 65 const upb_MiniTableFile xds_type_matcher_v3_ip_proto_upb_file_layout = { 66 messages_layout, 67 NULL, 68 NULL, 69 2, 70 0, 71 0, 72 }; 73 74 #include "upb/port/undef.inc" 75 76