• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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  * NO CHECKED-IN PROTOBUF GENCODE */
8 
9 #include <stddef.h>
10 #include "upb/generated_code_support.h"
11 #include "xds/type/matcher/v3/ip.upb_minitable.h"
12 #include "xds/annotations/v3/status.upb_minitable.h"
13 #include "xds/core/v3/cidr.upb_minitable.h"
14 #include "xds/type/matcher/v3/matcher.upb_minitable.h"
15 #include "validate/validate.upb_minitable.h"
16 
17 // Must be last.
18 #include "upb/port/def.inc"
19 
20 extern const struct upb_MiniTable UPB_PRIVATE(_kUpb_MiniTable_StaticallyTreeShaken);
21 static const upb_MiniTableSubInternal xds_type_matcher_v3_IPMatcher__submsgs[1] = {
22   {.UPB_PRIVATE(submsg) = &xds__type__matcher__v3__IPMatcher__IPRangeMatcher_msg_init_ptr},
23 };
24 
25 static const upb_MiniTableField xds_type_matcher_v3_IPMatcher__fields[1] = {
26   {1, 8, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)},
27 };
28 
29 const upb_MiniTable xds__type__matcher__v3__IPMatcher_msg_init = {
30   &xds_type_matcher_v3_IPMatcher__submsgs[0],
31   &xds_type_matcher_v3_IPMatcher__fields[0],
32   16, 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0,
33 #ifdef UPB_TRACING_ENABLED
34   "xds.type.matcher.v3.IPMatcher",
35 #endif
36   UPB_FASTTABLE_INIT({
37     {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
38     {0x000800003f00000a, &upb_prm_1bt_max64b},
39   })
40 };
41 
42 const upb_MiniTable* xds__type__matcher__v3__IPMatcher_msg_init_ptr = &xds__type__matcher__v3__IPMatcher_msg_init;
43 static const upb_MiniTableSubInternal xds_type_matcher_v3_IPMatcher_IPRangeMatcher__submsgs[2] = {
44   {.UPB_PRIVATE(submsg) = &xds__core__v3__CidrRange_msg_init_ptr},
45   {.UPB_PRIVATE(submsg) = &xds__type__matcher__v3__Matcher__OnMatch_msg_init_ptr},
46 };
47 
48 static const upb_MiniTableField xds_type_matcher_v3_IPMatcher_IPRangeMatcher__fields[3] = {
49   {1, UPB_SIZE(12, 16), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)},
50   {2, UPB_SIZE(16, 24), 64, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)},
51   {3, UPB_SIZE(20, 9), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)},
52 };
53 
54 const upb_MiniTable xds__type__matcher__v3__IPMatcher__IPRangeMatcher_msg_init = {
55   &xds_type_matcher_v3_IPMatcher_IPRangeMatcher__submsgs[0],
56   &xds_type_matcher_v3_IPMatcher_IPRangeMatcher__fields[0],
57   UPB_SIZE(24, 32), 3, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(24), 0,
58 #ifdef UPB_TRACING_ENABLED
59   "xds.type.matcher.v3.IPMatcher.IPRangeMatcher",
60 #endif
61   UPB_FASTTABLE_INIT({
62     {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
63     {0x001000003f00000a, &upb_prm_1bt_maxmaxb},
64     {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
65     {0x000900003f000018, &upb_psb1_1bt},
66   })
67 };
68 
69 const upb_MiniTable* xds__type__matcher__v3__IPMatcher__IPRangeMatcher_msg_init_ptr = &xds__type__matcher__v3__IPMatcher__IPRangeMatcher_msg_init;
70 static const upb_MiniTable *messages_layout[2] = {
71   &xds__type__matcher__v3__IPMatcher_msg_init,
72   &xds__type__matcher__v3__IPMatcher__IPRangeMatcher_msg_init,
73 };
74 
75 const upb_MiniTableFile xds_type_matcher_v3_ip_proto_upb_file_layout = {
76   messages_layout,
77   NULL,
78   NULL,
79   2,
80   0,
81   0,
82 };
83 
84 #include "upb/port/undef.inc"
85 
86