• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /* This file was generated by upb_generator from the input file:
2  *
3  *     envoy/config/core/v3/config_source.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/config/core/v3/config_source.upb_minitable.h"
12 #include "envoy/config/core/v3/base.upb_minitable.h"
13 #include "envoy/config/core/v3/extension.upb_minitable.h"
14 #include "envoy/config/core/v3/grpc_service.upb_minitable.h"
15 #include "google/protobuf/any.upb_minitable.h"
16 #include "google/protobuf/duration.upb_minitable.h"
17 #include "google/protobuf/wrappers.upb_minitable.h"
18 #include "xds/core/v3/authority.upb_minitable.h"
19 #include "envoy/annotations/deprecation.upb_minitable.h"
20 #include "udpa/annotations/status.upb_minitable.h"
21 #include "udpa/annotations/versioning.upb_minitable.h"
22 #include "validate/validate.upb_minitable.h"
23 
24 // Must be last.
25 #include "upb/port/def.inc"
26 
27 extern const struct upb_MiniTable UPB_PRIVATE(_kUpb_MiniTable_StaticallyTreeShaken);
28 static const upb_MiniTableSubInternal envoy_config_core_v3_ApiConfigSource__submsgs[5] = {
29   {.UPB_PRIVATE(submsg) = &google__protobuf__Duration_msg_init_ptr},
30   {.UPB_PRIVATE(submsg) = &envoy__config__core__v3__GrpcService_msg_init_ptr},
31   {.UPB_PRIVATE(submsg) = &google__protobuf__Duration_msg_init_ptr},
32   {.UPB_PRIVATE(submsg) = &envoy__config__core__v3__RateLimitSettings_msg_init_ptr},
33   {.UPB_PRIVATE(submsg) = &envoy__config__core__v3__TypedExtensionConfig_msg_init_ptr},
34 };
35 
36 static const upb_MiniTableField envoy_config_core_v3_ApiConfigSource__fields[9] = {
37   {1, 12, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)},
38   {2, UPB_SIZE(16, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)},
39   {3, UPB_SIZE(20, 32), 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)},
40   {4, UPB_SIZE(24, 40), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)},
41   {5, UPB_SIZE(28, 48), 65, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)},
42   {6, UPB_SIZE(32, 56), 66, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)},
43   {7, UPB_SIZE(36, 16), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)},
44   {8, UPB_SIZE(40, 20), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)},
45   {9, UPB_SIZE(44, 64), 0, 4, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)},
46 };
47 
48 const upb_MiniTable envoy__config__core__v3__ApiConfigSource_msg_init = {
49   &envoy_config_core_v3_ApiConfigSource__submsgs[0],
50   &envoy_config_core_v3_ApiConfigSource__fields[0],
51   UPB_SIZE(48, 72), 9, kUpb_ExtMode_NonExtendable, 9, UPB_FASTTABLE_MASK(120), 0,
52 #ifdef UPB_TRACING_ENABLED
53   "envoy.config.core.v3.ApiConfigSource",
54 #endif
55   UPB_FASTTABLE_INIT({
56     {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
57     {0x000c00003f000008, &upb_psv4_1bt},
58     {0x001800003f000012, &upb_prs_1bt},
59     {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
60     {0x002800003f010022, &upb_prm_1bt_maxmaxb},
61     {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
62     {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
63     {0x001000003f000038, &upb_psb1_1bt},
64     {0x001400003f000040, &upb_psv4_1bt},
65     {0x004000003f04004a, &upb_prm_1bt_maxmaxb},
66     {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
67     {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
68     {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
69     {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
70     {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
71     {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
72   })
73 };
74 
75 const upb_MiniTable* envoy__config__core__v3__ApiConfigSource_msg_init_ptr = &envoy__config__core__v3__ApiConfigSource_msg_init;
76 const upb_MiniTable envoy__config__core__v3__AggregatedConfigSource_msg_init = {
77   NULL,
78   NULL,
79   8, 0, kUpb_ExtMode_NonExtendable, 0, UPB_FASTTABLE_MASK(255), 0,
80 #ifdef UPB_TRACING_ENABLED
81   "envoy.config.core.v3.AggregatedConfigSource",
82 #endif
83 };
84 
85 const upb_MiniTable* envoy__config__core__v3__AggregatedConfigSource_msg_init_ptr = &envoy__config__core__v3__AggregatedConfigSource_msg_init;
86 static const upb_MiniTableField envoy_config_core_v3_SelfConfigSource__fields[1] = {
87   {1, 8, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)},
88 };
89 
90 const upb_MiniTable envoy__config__core__v3__SelfConfigSource_msg_init = {
91   NULL,
92   &envoy_config_core_v3_SelfConfigSource__fields[0],
93   16, 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0,
94 #ifdef UPB_TRACING_ENABLED
95   "envoy.config.core.v3.SelfConfigSource",
96 #endif
97   UPB_FASTTABLE_INIT({
98     {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
99     {0x000800003f000008, &upb_psv4_1bt},
100   })
101 };
102 
103 const upb_MiniTable* envoy__config__core__v3__SelfConfigSource_msg_init_ptr = &envoy__config__core__v3__SelfConfigSource_msg_init;
104 static const upb_MiniTableSubInternal envoy_config_core_v3_RateLimitSettings__submsgs[2] = {
105   {.UPB_PRIVATE(submsg) = &google__protobuf__UInt32Value_msg_init_ptr},
106   {.UPB_PRIVATE(submsg) = &google__protobuf__DoubleValue_msg_init_ptr},
107 };
108 
109 static const upb_MiniTableField envoy_config_core_v3_RateLimitSettings__fields[2] = {
110   {1, UPB_SIZE(12, 16), 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)},
111   {2, UPB_SIZE(16, 24), 65, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)},
112 };
113 
114 const upb_MiniTable envoy__config__core__v3__RateLimitSettings_msg_init = {
115   &envoy_config_core_v3_RateLimitSettings__submsgs[0],
116   &envoy_config_core_v3_RateLimitSettings__fields[0],
117   UPB_SIZE(24, 32), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(255), 0,
118 #ifdef UPB_TRACING_ENABLED
119   "envoy.config.core.v3.RateLimitSettings",
120 #endif
121 };
122 
123 const upb_MiniTable* envoy__config__core__v3__RateLimitSettings_msg_init_ptr = &envoy__config__core__v3__RateLimitSettings_msg_init;
124 static const upb_MiniTableSubInternal envoy_config_core_v3_PathConfigSource__submsgs[1] = {
125   {.UPB_PRIVATE(submsg) = &envoy__config__core__v3__WatchedDirectory_msg_init_ptr},
126 };
127 
128 static const upb_MiniTableField envoy_config_core_v3_PathConfigSource__fields[2] = {
129   {1, 16, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)},
130   {2, UPB_SIZE(12, 32), 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)},
131 };
132 
133 const upb_MiniTable envoy__config__core__v3__PathConfigSource_msg_init = {
134   &envoy_config_core_v3_PathConfigSource__submsgs[0],
135   &envoy_config_core_v3_PathConfigSource__fields[0],
136   UPB_SIZE(24, 40), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(8), 0,
137 #ifdef UPB_TRACING_ENABLED
138   "envoy.config.core.v3.PathConfigSource",
139 #endif
140   UPB_FASTTABLE_INIT({
141     {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
142     {0x001000003f00000a, &upb_pss_1bt},
143   })
144 };
145 
146 const upb_MiniTable* envoy__config__core__v3__PathConfigSource_msg_init_ptr = &envoy__config__core__v3__PathConfigSource_msg_init;
147 static const upb_MiniTableSubInternal envoy_config_core_v3_ConfigSource__submsgs[6] = {
148   {.UPB_PRIVATE(submsg) = &envoy__config__core__v3__ApiConfigSource_msg_init_ptr},
149   {.UPB_PRIVATE(submsg) = &envoy__config__core__v3__AggregatedConfigSource_msg_init_ptr},
150   {.UPB_PRIVATE(submsg) = &google__protobuf__Duration_msg_init_ptr},
151   {.UPB_PRIVATE(submsg) = &envoy__config__core__v3__SelfConfigSource_msg_init_ptr},
152   {.UPB_PRIVATE(submsg) = &xds__core__v3__Authority_msg_init_ptr},
153   {.UPB_PRIVATE(submsg) = &envoy__config__core__v3__PathConfigSource_msg_init_ptr},
154 };
155 
156 static const upb_MiniTableField envoy_config_core_v3_ConfigSource__fields[8] = {
157   {1, UPB_SIZE(28, 24), UPB_SIZE(-17, -13), kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)},
158   {2, UPB_SIZE(28, 24), UPB_SIZE(-17, -13), 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)},
159   {3, UPB_SIZE(28, 24), UPB_SIZE(-17, -13), 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)},
160   {4, UPB_SIZE(12, 40), 64, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)},
161   {5, UPB_SIZE(28, 24), UPB_SIZE(-17, -13), 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)},
162   {6, UPB_SIZE(20, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)},
163   {7, UPB_SIZE(24, 48), 0, 4, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)},
164   {8, UPB_SIZE(28, 24), UPB_SIZE(-17, -13), 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)},
165 };
166 
167 const upb_MiniTable envoy__config__core__v3__ConfigSource_msg_init = {
168   &envoy_config_core_v3_ConfigSource__submsgs[0],
169   &envoy_config_core_v3_ConfigSource__fields[0],
170   UPB_SIZE(40, 56), 8, kUpb_ExtMode_NonExtendable, 8, UPB_FASTTABLE_MASK(120), 0,
171 #ifdef UPB_TRACING_ENABLED
172   "envoy.config.core.v3.ConfigSource",
173 #endif
174   UPB_FASTTABLE_INIT({
175     {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
176     {0x0018000c0100000a, &upb_pos_1bt},
177     {0x0018000c02000012, &upb_pom_1bt_max128b},
178     {0x0018000c0301001a, &upb_pom_1bt_max64b},
179     {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
180     {0x0018000c0503002a, &upb_pom_1bt_max64b},
181     {0x001000003f000030, &upb_psv4_1bt},
182     {0x003000003f04003a, &upb_prm_1bt_maxmaxb},
183     {0x0018000c08050042, &upb_pom_1bt_max64b},
184     {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
185     {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
186     {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
187     {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
188     {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
189     {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
190     {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
191   })
192 };
193 
194 const upb_MiniTable* envoy__config__core__v3__ConfigSource_msg_init_ptr = &envoy__config__core__v3__ConfigSource_msg_init;
195 static const upb_MiniTableSubInternal envoy_config_core_v3_ExtensionConfigSource__submsgs[2] = {
196   {.UPB_PRIVATE(submsg) = &envoy__config__core__v3__ConfigSource_msg_init_ptr},
197   {.UPB_PRIVATE(submsg) = &google__protobuf__Any_msg_init_ptr},
198 };
199 
200 static const upb_MiniTableField envoy_config_core_v3_ExtensionConfigSource__fields[4] = {
201   {1, UPB_SIZE(12, 16), 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)},
202   {2, UPB_SIZE(16, 24), 65, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)},
203   {3, UPB_SIZE(20, 9), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)},
204   {4, UPB_SIZE(24, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)},
205 };
206 
207 const upb_MiniTable envoy__config__core__v3__ExtensionConfigSource_msg_init = {
208   &envoy_config_core_v3_ExtensionConfigSource__submsgs[0],
209   &envoy_config_core_v3_ExtensionConfigSource__fields[0],
210   UPB_SIZE(32, 40), 4, kUpb_ExtMode_NonExtendable, 4, UPB_FASTTABLE_MASK(56), 0,
211 #ifdef UPB_TRACING_ENABLED
212   "envoy.config.core.v3.ExtensionConfigSource",
213 #endif
214   UPB_FASTTABLE_INIT({
215     {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
216     {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
217     {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
218     {0x000900003f000018, &upb_psb1_1bt},
219     {0x002000003f000022, &upb_prs_1bt},
220     {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
221     {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
222     {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
223   })
224 };
225 
226 const upb_MiniTable* envoy__config__core__v3__ExtensionConfigSource_msg_init_ptr = &envoy__config__core__v3__ExtensionConfigSource_msg_init;
227 static const upb_MiniTable *messages_layout[7] = {
228   &envoy__config__core__v3__ApiConfigSource_msg_init,
229   &envoy__config__core__v3__AggregatedConfigSource_msg_init,
230   &envoy__config__core__v3__SelfConfigSource_msg_init,
231   &envoy__config__core__v3__RateLimitSettings_msg_init,
232   &envoy__config__core__v3__PathConfigSource_msg_init,
233   &envoy__config__core__v3__ConfigSource_msg_init,
234   &envoy__config__core__v3__ExtensionConfigSource_msg_init,
235 };
236 
237 const upb_MiniTableFile envoy_config_core_v3_config_source_proto_upb_file_layout = {
238   messages_layout,
239   NULL,
240   NULL,
241   7,
242   0,
243   0,
244 };
245 
246 #include "upb/port/undef.inc"
247 
248