blob: 8488174497ac05fffa2ad5b53ad28a137a5f61b0 [file] [log] [blame]
/* This file was generated by upbc (the upb compiler) 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/collections/array_internal.h"
#include "upb/message/internal.h"
#include "upb/mini_table/enum_internal.h"
#include "xds/type/matcher/v3/ip.upb.h"
#include "xds/annotations/v3/status.upb.h"
#include "xds/core/v3/cidr.upb.h"
#include "xds/type/matcher/v3/matcher.upb.h"
#include "validate/validate.upb.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, kUpb_FieldMode_Array | (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, kUpb_FieldMode_Array | (UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)},
{2, UPB_SIZE(8, 16), 1, 1, 11, kUpb_FieldMode_Scalar | (UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)},
{3, UPB_SIZE(12, 1), 0, kUpb_NoSub, 8, kUpb_FieldMode_Scalar | (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"