xref: /aosp_15_r20/external/grpc-grpc/src/core/ext/upb-gen/envoy/type/matcher/v3/value.upb_minitable.c (revision cc02d7e222339f7a4f6ba5f422e6413f4bd931f2)
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 
8 #include <stddef.h>
9 #include "upb/generated_code_support.h"
10 #include "envoy/type/matcher/v3/value.upb_minitable.h"
11 #include "envoy/type/matcher/v3/number.upb_minitable.h"
12 #include "envoy/type/matcher/v3/string.upb_minitable.h"
13 #include "udpa/annotations/status.upb_minitable.h"
14 #include "udpa/annotations/versioning.upb_minitable.h"
15 #include "validate/validate.upb_minitable.h"
16 
17 // Must be last.
18 #include "upb/port/def.inc"
19 
20 static const upb_MiniTableSub envoy_type_matcher_v3_ValueMatcher_submsgs[5] = {
21   {.UPB_PRIVATE(submsg) = &envoy__type__matcher__v3__ValueMatcher__NullMatch_msg_init},
22   {.UPB_PRIVATE(submsg) = &envoy__type__matcher__v3__DoubleMatcher_msg_init},
23   {.UPB_PRIVATE(submsg) = &envoy__type__matcher__v3__StringMatcher_msg_init},
24   {.UPB_PRIVATE(submsg) = &envoy__type__matcher__v3__ListMatcher_msg_init},
25   {.UPB_PRIVATE(submsg) = &envoy__type__matcher__v3__OrMatcher_msg_init},
26 };
27 
28 static const upb_MiniTableField envoy_type_matcher_v3_ValueMatcher__fields[7] = {
29   {1, UPB_SIZE(12, 16), -9, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)},
30   {2, UPB_SIZE(12, 16), -9, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)},
31   {3, UPB_SIZE(12, 16), -9, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)},
32   {4, UPB_SIZE(12, 16), -9, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)},
33   {5, UPB_SIZE(12, 16), -9, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)},
34   {6, UPB_SIZE(12, 16), -9, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)},
35   {7, UPB_SIZE(12, 16), -9, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)},
36 };
37 
38 const upb_MiniTable envoy__type__matcher__v3__ValueMatcher_msg_init = {
39   &envoy_type_matcher_v3_ValueMatcher_submsgs[0],
40   &envoy_type_matcher_v3_ValueMatcher__fields[0],
41   UPB_SIZE(16, 24), 7, kUpb_ExtMode_NonExtendable, 7, UPB_FASTTABLE_MASK(56), 0,
42   UPB_FASTTABLE_INIT({
43     {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
44     {0x001000080100000a, &upb_pom_1bt_max64b},
45     {0x0010000802010012, &upb_pom_1bt_maxmaxb},
46     {0x001000080302001a, &upb_pom_1bt_maxmaxb},
47     {0x0010000804000020, &upb_pob1_1bt},
48     {0x0010000805000028, &upb_pob1_1bt},
49     {0x0010000806030032, &upb_pom_1bt_max64b},
50     {0x001000080704003a, &upb_pom_1bt_max64b},
51   })
52 };
53 
54 const upb_MiniTable envoy__type__matcher__v3__ValueMatcher__NullMatch_msg_init = {
55   NULL,
56   NULL,
57   8, 0, kUpb_ExtMode_NonExtendable, 0, UPB_FASTTABLE_MASK(255), 0,
58 };
59 
60 static const upb_MiniTableSub envoy_type_matcher_v3_ListMatcher_submsgs[1] = {
61   {.UPB_PRIVATE(submsg) = &envoy__type__matcher__v3__ValueMatcher_msg_init},
62 };
63 
64 static const upb_MiniTableField envoy_type_matcher_v3_ListMatcher__fields[1] = {
65   {1, UPB_SIZE(12, 16), -9, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)},
66 };
67 
68 const upb_MiniTable envoy__type__matcher__v3__ListMatcher_msg_init = {
69   &envoy_type_matcher_v3_ListMatcher_submsgs[0],
70   &envoy_type_matcher_v3_ListMatcher__fields[0],
71   UPB_SIZE(16, 24), 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0,
72   UPB_FASTTABLE_INIT({
73     {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
74     {0x001000080100000a, &upb_pom_1bt_max64b},
75   })
76 };
77 
78 static const upb_MiniTableSub envoy_type_matcher_v3_OrMatcher_submsgs[1] = {
79   {.UPB_PRIVATE(submsg) = &envoy__type__matcher__v3__ValueMatcher_msg_init},
80 };
81 
82 static const upb_MiniTableField envoy_type_matcher_v3_OrMatcher__fields[1] = {
83   {1, 8, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)},
84 };
85 
86 const upb_MiniTable envoy__type__matcher__v3__OrMatcher_msg_init = {
87   &envoy_type_matcher_v3_OrMatcher_submsgs[0],
88   &envoy_type_matcher_v3_OrMatcher__fields[0],
89   16, 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0,
90   UPB_FASTTABLE_INIT({
91     {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
92     {0x000800003f00000a, &upb_prm_1bt_max64b},
93   })
94 };
95 
96 static const upb_MiniTable *messages_layout[4] = {
97   &envoy__type__matcher__v3__ValueMatcher_msg_init,
98   &envoy__type__matcher__v3__ValueMatcher__NullMatch_msg_init,
99   &envoy__type__matcher__v3__ListMatcher_msg_init,
100   &envoy__type__matcher__v3__OrMatcher_msg_init,
101 };
102 
103 const upb_MiniTableFile envoy_type_matcher_v3_value_proto_upb_file_layout = {
104   messages_layout,
105   NULL,
106   NULL,
107   4,
108   0,
109   0,
110 };
111 
112 #include "upb/port/undef.inc"
113 
114