1 /* This file was generated by upbc (the upb compiler) from the input
2  * file:
3  *
4  *     envoy/type/matcher/v3/value.proto
5  *
6  * Do not edit -- your changes will be discarded when the file is
7  * regenerated. */
8 
9 #include <stddef.h>
10 #include "upb/collections/array_internal.h"
11 #include "upb/message/internal.h"
12 #include "upb/mini_table/enum_internal.h"
13 #include "envoy/type/matcher/v3/value.upb.h"
14 #include "envoy/type/matcher/v3/number.upb.h"
15 #include "envoy/type/matcher/v3/string.upb.h"
16 #include "udpa/annotations/status.upb.h"
17 #include "udpa/annotations/versioning.upb.h"
18 #include "validate/validate.upb.h"
19 
20 // Must be last.
21 #include "upb/port/def.inc"
22 
23 static const upb_MiniTableSub envoy_type_matcher_v3_ValueMatcher_submsgs[4] = {
24   {.submsg = &envoy_type_matcher_v3_ValueMatcher_NullMatch_msg_init},
25   {.submsg = &envoy_type_matcher_v3_DoubleMatcher_msg_init},
26   {.submsg = &envoy_type_matcher_v3_StringMatcher_msg_init},
27   {.submsg = &envoy_type_matcher_v3_ListMatcher_msg_init},
28 };
29 
30 static const upb_MiniTableField envoy_type_matcher_v3_ValueMatcher__fields[6] = {
31   {1, UPB_SIZE(4, 8), -1, 0, 11, kUpb_FieldMode_Scalar | (UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)},
32   {2, UPB_SIZE(4, 8), -1, 1, 11, kUpb_FieldMode_Scalar | (UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)},
33   {3, UPB_SIZE(4, 8), -1, 2, 11, kUpb_FieldMode_Scalar | (UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)},
34   {4, UPB_SIZE(4, 8), -1, kUpb_NoSub, 8, kUpb_FieldMode_Scalar | (kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)},
35   {5, UPB_SIZE(4, 8), -1, kUpb_NoSub, 8, kUpb_FieldMode_Scalar | (kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)},
36   {6, UPB_SIZE(4, 8), -1, 3, 11, kUpb_FieldMode_Scalar | (UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)},
37 };
38 
39 const upb_MiniTable envoy_type_matcher_v3_ValueMatcher_msg_init = {
40   &envoy_type_matcher_v3_ValueMatcher_submsgs[0],
41   &envoy_type_matcher_v3_ValueMatcher__fields[0],
42   UPB_SIZE(8, 16), 6, kUpb_ExtMode_NonExtendable, 6, UPB_FASTTABLE_MASK(56), 0,
43   UPB_FASTTABLE_INIT({
44     {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
45     {0x000800000100000a, &upb_pom_1bt_max64b},
46     {0x0008000002010012, &upb_pom_1bt_maxmaxb},
47     {0x000800000302001a, &upb_pom_1bt_maxmaxb},
48     {0x0008000004000020, &upb_pob1_1bt},
49     {0x0008000005000028, &upb_pob1_1bt},
50     {0x0008000006030032, &upb_pom_1bt_max64b},
51     {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
52   })
53 };
54 
55 const upb_MiniTable envoy_type_matcher_v3_ValueMatcher_NullMatch_msg_init = {
56   NULL,
57   NULL,
58   0, 0, kUpb_ExtMode_NonExtendable, 0, UPB_FASTTABLE_MASK(255), 0,
59 };
60 
61 static const upb_MiniTableSub envoy_type_matcher_v3_ListMatcher_submsgs[1] = {
62   {.submsg = &envoy_type_matcher_v3_ValueMatcher_msg_init},
63 };
64 
65 static const upb_MiniTableField envoy_type_matcher_v3_ListMatcher__fields[1] = {
66   {1, UPB_SIZE(4, 8), -1, 0, 11, kUpb_FieldMode_Scalar | (UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)},
67 };
68 
69 const upb_MiniTable envoy_type_matcher_v3_ListMatcher_msg_init = {
70   &envoy_type_matcher_v3_ListMatcher_submsgs[0],
71   &envoy_type_matcher_v3_ListMatcher__fields[0],
72   UPB_SIZE(8, 16), 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0,
73   UPB_FASTTABLE_INIT({
74     {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
75     {0x000800000100000a, &upb_pom_1bt_max64b},
76   })
77 };
78 
79 static const upb_MiniTable *messages_layout[3] = {
80   &envoy_type_matcher_v3_ValueMatcher_msg_init,
81   &envoy_type_matcher_v3_ValueMatcher_NullMatch_msg_init,
82   &envoy_type_matcher_v3_ListMatcher_msg_init,
83 };
84 
85 const upb_MiniTableFile envoy_type_matcher_v3_value_proto_upb_file_layout = {
86   messages_layout,
87   NULL,
88   NULL,
89   3,
90   0,
91   0,
92 };
93 
94 #include "upb/port/undef.inc"
95 
96