• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /* This file was generated by upb_generator from the input file:
2  *
3  *     envoy/type/matcher/v3/value.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 "envoy/type/matcher/v3/value.upb_minitable.h"
12 #include "envoy/type/matcher/v3/number.upb_minitable.h"
13 #include "envoy/type/matcher/v3/string.upb_minitable.h"
14 #include "udpa/annotations/status.upb_minitable.h"
15 #include "udpa/annotations/versioning.upb_minitable.h"
16 #include "validate/validate.upb_minitable.h"
17 
18 // Must be last.
19 #include "upb/port/def.inc"
20 
21 extern const struct upb_MiniTable UPB_PRIVATE(_kUpb_MiniTable_StaticallyTreeShaken);
22 static const upb_MiniTableSubInternal envoy_type_matcher_v3_ValueMatcher__submsgs[5] = {
23   {.UPB_PRIVATE(submsg) = &envoy__type__matcher__v3__ValueMatcher__NullMatch_msg_init_ptr},
24   {.UPB_PRIVATE(submsg) = &envoy__type__matcher__v3__DoubleMatcher_msg_init_ptr},
25   {.UPB_PRIVATE(submsg) = &envoy__type__matcher__v3__StringMatcher_msg_init_ptr},
26   {.UPB_PRIVATE(submsg) = &envoy__type__matcher__v3__ListMatcher_msg_init_ptr},
27   {.UPB_PRIVATE(submsg) = &envoy__type__matcher__v3__OrMatcher_msg_init_ptr},
28 };
29 
30 static const upb_MiniTableField envoy_type_matcher_v3_ValueMatcher__fields[7] = {
31   {1, UPB_SIZE(12, 16), -9, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)},
32   {2, UPB_SIZE(12, 16), -9, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)},
33   {3, UPB_SIZE(12, 16), -9, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)},
34   {4, UPB_SIZE(12, 16), -9, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)},
35   {5, UPB_SIZE(12, 16), -9, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)},
36   {6, UPB_SIZE(12, 16), -9, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)},
37   {7, UPB_SIZE(12, 16), -9, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)},
38 };
39 
40 const upb_MiniTable envoy__type__matcher__v3__ValueMatcher_msg_init = {
41   &envoy_type_matcher_v3_ValueMatcher__submsgs[0],
42   &envoy_type_matcher_v3_ValueMatcher__fields[0],
43   UPB_SIZE(16, 24), 7, kUpb_ExtMode_NonExtendable, 7, UPB_FASTTABLE_MASK(56), 0,
44 #ifdef UPB_TRACING_ENABLED
45   "envoy.type.matcher.v3.ValueMatcher",
46 #endif
47   UPB_FASTTABLE_INIT({
48     {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
49     {0x001000080100000a, &upb_pom_1bt_max64b},
50     {0x0010000802010012, &upb_pom_1bt_maxmaxb},
51     {0x001000080302001a, &upb_pom_1bt_maxmaxb},
52     {0x0010000804000020, &upb_pob1_1bt},
53     {0x0010000805000028, &upb_pob1_1bt},
54     {0x0010000806030032, &upb_pom_1bt_max64b},
55     {0x001000080704003a, &upb_pom_1bt_max64b},
56   })
57 };
58 
59 const upb_MiniTable* envoy__type__matcher__v3__ValueMatcher_msg_init_ptr = &envoy__type__matcher__v3__ValueMatcher_msg_init;
60 const upb_MiniTable envoy__type__matcher__v3__ValueMatcher__NullMatch_msg_init = {
61   NULL,
62   NULL,
63   8, 0, kUpb_ExtMode_NonExtendable, 0, UPB_FASTTABLE_MASK(255), 0,
64 #ifdef UPB_TRACING_ENABLED
65   "envoy.type.matcher.v3.ValueMatcher.NullMatch",
66 #endif
67 };
68 
69 const upb_MiniTable* envoy__type__matcher__v3__ValueMatcher__NullMatch_msg_init_ptr = &envoy__type__matcher__v3__ValueMatcher__NullMatch_msg_init;
70 static const upb_MiniTableSubInternal envoy_type_matcher_v3_ListMatcher__submsgs[1] = {
71   {.UPB_PRIVATE(submsg) = &envoy__type__matcher__v3__ValueMatcher_msg_init_ptr},
72 };
73 
74 static const upb_MiniTableField envoy_type_matcher_v3_ListMatcher__fields[1] = {
75   {1, UPB_SIZE(12, 16), -9, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)},
76 };
77 
78 const upb_MiniTable envoy__type__matcher__v3__ListMatcher_msg_init = {
79   &envoy_type_matcher_v3_ListMatcher__submsgs[0],
80   &envoy_type_matcher_v3_ListMatcher__fields[0],
81   UPB_SIZE(16, 24), 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0,
82 #ifdef UPB_TRACING_ENABLED
83   "envoy.type.matcher.v3.ListMatcher",
84 #endif
85   UPB_FASTTABLE_INIT({
86     {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
87     {0x001000080100000a, &upb_pom_1bt_max64b},
88   })
89 };
90 
91 const upb_MiniTable* envoy__type__matcher__v3__ListMatcher_msg_init_ptr = &envoy__type__matcher__v3__ListMatcher_msg_init;
92 static const upb_MiniTableSubInternal envoy_type_matcher_v3_OrMatcher__submsgs[1] = {
93   {.UPB_PRIVATE(submsg) = &envoy__type__matcher__v3__ValueMatcher_msg_init_ptr},
94 };
95 
96 static const upb_MiniTableField envoy_type_matcher_v3_OrMatcher__fields[1] = {
97   {1, 8, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)},
98 };
99 
100 const upb_MiniTable envoy__type__matcher__v3__OrMatcher_msg_init = {
101   &envoy_type_matcher_v3_OrMatcher__submsgs[0],
102   &envoy_type_matcher_v3_OrMatcher__fields[0],
103   16, 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0,
104 #ifdef UPB_TRACING_ENABLED
105   "envoy.type.matcher.v3.OrMatcher",
106 #endif
107   UPB_FASTTABLE_INIT({
108     {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
109     {0x000800003f00000a, &upb_prm_1bt_max64b},
110   })
111 };
112 
113 const upb_MiniTable* envoy__type__matcher__v3__OrMatcher_msg_init_ptr = &envoy__type__matcher__v3__OrMatcher_msg_init;
114 static const upb_MiniTable *messages_layout[4] = {
115   &envoy__type__matcher__v3__ValueMatcher_msg_init,
116   &envoy__type__matcher__v3__ValueMatcher__NullMatch_msg_init,
117   &envoy__type__matcher__v3__ListMatcher_msg_init,
118   &envoy__type__matcher__v3__OrMatcher_msg_init,
119 };
120 
121 const upb_MiniTableFile envoy_type_matcher_v3_value_proto_upb_file_layout = {
122   messages_layout,
123   NULL,
124   NULL,
125   4,
126   0,
127   0,
128 };
129 
130 #include "upb/port/undef.inc"
131 
132