1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // NO CHECKED-IN PROTOBUF GENCODE
3 // source: google/protobuf/descriptor.proto
4 // Protobuf C++ Version: 5.29.4
5
6 #include "google/protobuf/descriptor.pb.h"
7
8 #include <algorithm>
9 #include <type_traits>
10 #include "google/protobuf/io/coded_stream.h"
11 #include "google/protobuf/generated_message_tctable_impl.h"
12 #include "google/protobuf/extension_set.h"
13 #include "google/protobuf/generated_message_util.h"
14 #include "google/protobuf/wire_format_lite.h"
15 #include "google/protobuf/descriptor.h"
16 #include "google/protobuf/generated_message_reflection.h"
17 #include "google/protobuf/reflection_ops.h"
18 #include "google/protobuf/wire_format.h"
19 // @@protoc_insertion_point(includes)
20
21 // Must be included last.
22 #include "google/protobuf/port_def.inc"
23 PROTOBUF_PRAGMA_INIT_SEG
24 namespace _pb = ::google::protobuf;
25 namespace _pbi = ::google::protobuf::internal;
26 namespace _fl = ::google::protobuf::internal::field_layout;
27 namespace google {
28 namespace protobuf {
29
Impl_(::_pbi::ConstantInitialized)30 inline constexpr UninterpretedOption_NamePart::Impl_::Impl_(
31 ::_pbi::ConstantInitialized) noexcept
32 : _cached_size_{0},
33 name_part_(
34 &::google::protobuf::internal::fixed_address_empty_string,
35 ::_pbi::ConstantInitialized()),
36 is_extension_{false} {}
37
38 template <typename>
UninterpretedOption_NamePart(::_pbi::ConstantInitialized)39 PROTOBUF_CONSTEXPR UninterpretedOption_NamePart::UninterpretedOption_NamePart(::_pbi::ConstantInitialized)
40 #if defined(PROTOBUF_CUSTOM_VTABLE)
41 : ::google::protobuf::Message(_class_data_.base()),
42 #else // PROTOBUF_CUSTOM_VTABLE
43 : ::google::protobuf::Message(),
44 #endif // PROTOBUF_CUSTOM_VTABLE
45 _impl_(::_pbi::ConstantInitialized()) {
46 }
47 struct UninterpretedOption_NamePartDefaultTypeInternal {
48 #if defined(PROTOBUF_CONSTINIT_DEFAULT_INSTANCES)
UninterpretedOption_NamePartDefaultTypeInternalgoogle::protobuf::UninterpretedOption_NamePartDefaultTypeInternal49 constexpr UninterpretedOption_NamePartDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
50 #else // defined(PROTOBUF_CONSTINIT_DEFAULT_INSTANCES)
51 UninterpretedOption_NamePartDefaultTypeInternal() {}
52 void Init() { ::new (&_instance) UninterpretedOption_NamePart(); };
53 #endif // defined(PROTOBUF_CONSTINIT_DEFAULT_INSTANCES)
~UninterpretedOption_NamePartDefaultTypeInternalgoogle::protobuf::UninterpretedOption_NamePartDefaultTypeInternal54 ~UninterpretedOption_NamePartDefaultTypeInternal() {}
55 union {
56 UninterpretedOption_NamePart _instance;
57 };
58 };
59
60 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_EXPORT
61 PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 UninterpretedOption_NamePartDefaultTypeInternal _UninterpretedOption_NamePart_default_instance_;
62
Impl_(::_pbi::ConstantInitialized)63 inline constexpr SourceCodeInfo_Location::Impl_::Impl_(
64 ::_pbi::ConstantInitialized) noexcept
65 : _cached_size_{0},
66 path_{},
67 _path_cached_byte_size_{0},
68 span_{},
69 _span_cached_byte_size_{0},
70 leading_detached_comments_{},
71 leading_comments_(
72 &::google::protobuf::internal::fixed_address_empty_string,
73 ::_pbi::ConstantInitialized()),
74 trailing_comments_(
75 &::google::protobuf::internal::fixed_address_empty_string,
76 ::_pbi::ConstantInitialized()) {}
77
78 template <typename>
SourceCodeInfo_Location(::_pbi::ConstantInitialized)79 PROTOBUF_CONSTEXPR SourceCodeInfo_Location::SourceCodeInfo_Location(::_pbi::ConstantInitialized)
80 #if defined(PROTOBUF_CUSTOM_VTABLE)
81 : ::google::protobuf::Message(_class_data_.base()),
82 #else // PROTOBUF_CUSTOM_VTABLE
83 : ::google::protobuf::Message(),
84 #endif // PROTOBUF_CUSTOM_VTABLE
85 _impl_(::_pbi::ConstantInitialized()) {
86 }
87 struct SourceCodeInfo_LocationDefaultTypeInternal {
88 #if defined(PROTOBUF_CONSTINIT_DEFAULT_INSTANCES)
SourceCodeInfo_LocationDefaultTypeInternalgoogle::protobuf::SourceCodeInfo_LocationDefaultTypeInternal89 constexpr SourceCodeInfo_LocationDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
90 #else // defined(PROTOBUF_CONSTINIT_DEFAULT_INSTANCES)
91 SourceCodeInfo_LocationDefaultTypeInternal() {}
92 void Init() { ::new (&_instance) SourceCodeInfo_Location(); };
93 #endif // defined(PROTOBUF_CONSTINIT_DEFAULT_INSTANCES)
~SourceCodeInfo_LocationDefaultTypeInternalgoogle::protobuf::SourceCodeInfo_LocationDefaultTypeInternal94 ~SourceCodeInfo_LocationDefaultTypeInternal() {}
95 union {
96 SourceCodeInfo_Location _instance;
97 };
98 };
99
100 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_EXPORT
101 PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SourceCodeInfo_LocationDefaultTypeInternal _SourceCodeInfo_Location_default_instance_;
102
Impl_(::_pbi::ConstantInitialized)103 inline constexpr GeneratedCodeInfo_Annotation::Impl_::Impl_(
104 ::_pbi::ConstantInitialized) noexcept
105 : _cached_size_{0},
106 path_{},
107 _path_cached_byte_size_{0},
108 source_file_(
109 &::google::protobuf::internal::fixed_address_empty_string,
110 ::_pbi::ConstantInitialized()),
111 begin_{0},
112 end_{0},
113 semantic_{static_cast< ::google::protobuf::GeneratedCodeInfo_Annotation_Semantic >(0)} {}
114
115 template <typename>
GeneratedCodeInfo_Annotation(::_pbi::ConstantInitialized)116 PROTOBUF_CONSTEXPR GeneratedCodeInfo_Annotation::GeneratedCodeInfo_Annotation(::_pbi::ConstantInitialized)
117 #if defined(PROTOBUF_CUSTOM_VTABLE)
118 : ::google::protobuf::Message(_class_data_.base()),
119 #else // PROTOBUF_CUSTOM_VTABLE
120 : ::google::protobuf::Message(),
121 #endif // PROTOBUF_CUSTOM_VTABLE
122 _impl_(::_pbi::ConstantInitialized()) {
123 }
124 struct GeneratedCodeInfo_AnnotationDefaultTypeInternal {
125 #if defined(PROTOBUF_CONSTINIT_DEFAULT_INSTANCES)
GeneratedCodeInfo_AnnotationDefaultTypeInternalgoogle::protobuf::GeneratedCodeInfo_AnnotationDefaultTypeInternal126 constexpr GeneratedCodeInfo_AnnotationDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
127 #else // defined(PROTOBUF_CONSTINIT_DEFAULT_INSTANCES)
128 GeneratedCodeInfo_AnnotationDefaultTypeInternal() {}
129 void Init() { ::new (&_instance) GeneratedCodeInfo_Annotation(); };
130 #endif // defined(PROTOBUF_CONSTINIT_DEFAULT_INSTANCES)
~GeneratedCodeInfo_AnnotationDefaultTypeInternalgoogle::protobuf::GeneratedCodeInfo_AnnotationDefaultTypeInternal131 ~GeneratedCodeInfo_AnnotationDefaultTypeInternal() {}
132 union {
133 GeneratedCodeInfo_Annotation _instance;
134 };
135 };
136
137 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_EXPORT
138 PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 GeneratedCodeInfo_AnnotationDefaultTypeInternal _GeneratedCodeInfo_Annotation_default_instance_;
139
Impl_(::_pbi::ConstantInitialized)140 inline constexpr FieldOptions_FeatureSupport::Impl_::Impl_(
141 ::_pbi::ConstantInitialized) noexcept
142 : _cached_size_{0},
143 deprecation_warning_(
144 &::google::protobuf::internal::fixed_address_empty_string,
145 ::_pbi::ConstantInitialized()),
146 edition_introduced_{static_cast< ::google::protobuf::Edition >(0)},
147 edition_deprecated_{static_cast< ::google::protobuf::Edition >(0)},
148 edition_removed_{static_cast< ::google::protobuf::Edition >(0)} {}
149
150 template <typename>
FieldOptions_FeatureSupport(::_pbi::ConstantInitialized)151 PROTOBUF_CONSTEXPR FieldOptions_FeatureSupport::FieldOptions_FeatureSupport(::_pbi::ConstantInitialized)
152 #if defined(PROTOBUF_CUSTOM_VTABLE)
153 : ::google::protobuf::Message(_class_data_.base()),
154 #else // PROTOBUF_CUSTOM_VTABLE
155 : ::google::protobuf::Message(),
156 #endif // PROTOBUF_CUSTOM_VTABLE
157 _impl_(::_pbi::ConstantInitialized()) {
158 }
159 struct FieldOptions_FeatureSupportDefaultTypeInternal {
160 #if defined(PROTOBUF_CONSTINIT_DEFAULT_INSTANCES)
FieldOptions_FeatureSupportDefaultTypeInternalgoogle::protobuf::FieldOptions_FeatureSupportDefaultTypeInternal161 constexpr FieldOptions_FeatureSupportDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
162 #else // defined(PROTOBUF_CONSTINIT_DEFAULT_INSTANCES)
163 FieldOptions_FeatureSupportDefaultTypeInternal() {}
164 void Init() { ::new (&_instance) FieldOptions_FeatureSupport(); };
165 #endif // defined(PROTOBUF_CONSTINIT_DEFAULT_INSTANCES)
~FieldOptions_FeatureSupportDefaultTypeInternalgoogle::protobuf::FieldOptions_FeatureSupportDefaultTypeInternal166 ~FieldOptions_FeatureSupportDefaultTypeInternal() {}
167 union {
168 FieldOptions_FeatureSupport _instance;
169 };
170 };
171
172 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_EXPORT
173 PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 FieldOptions_FeatureSupportDefaultTypeInternal _FieldOptions_FeatureSupport_default_instance_;
174
Impl_(::_pbi::ConstantInitialized)175 inline constexpr FieldOptions_EditionDefault::Impl_::Impl_(
176 ::_pbi::ConstantInitialized) noexcept
177 : _cached_size_{0},
178 value_(
179 &::google::protobuf::internal::fixed_address_empty_string,
180 ::_pbi::ConstantInitialized()),
181 edition_{static_cast< ::google::protobuf::Edition >(0)} {}
182
183 template <typename>
FieldOptions_EditionDefault(::_pbi::ConstantInitialized)184 PROTOBUF_CONSTEXPR FieldOptions_EditionDefault::FieldOptions_EditionDefault(::_pbi::ConstantInitialized)
185 #if defined(PROTOBUF_CUSTOM_VTABLE)
186 : ::google::protobuf::Message(_class_data_.base()),
187 #else // PROTOBUF_CUSTOM_VTABLE
188 : ::google::protobuf::Message(),
189 #endif // PROTOBUF_CUSTOM_VTABLE
190 _impl_(::_pbi::ConstantInitialized()) {
191 }
192 struct FieldOptions_EditionDefaultDefaultTypeInternal {
193 #if defined(PROTOBUF_CONSTINIT_DEFAULT_INSTANCES)
FieldOptions_EditionDefaultDefaultTypeInternalgoogle::protobuf::FieldOptions_EditionDefaultDefaultTypeInternal194 constexpr FieldOptions_EditionDefaultDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
195 #else // defined(PROTOBUF_CONSTINIT_DEFAULT_INSTANCES)
196 FieldOptions_EditionDefaultDefaultTypeInternal() {}
197 void Init() { ::new (&_instance) FieldOptions_EditionDefault(); };
198 #endif // defined(PROTOBUF_CONSTINIT_DEFAULT_INSTANCES)
~FieldOptions_EditionDefaultDefaultTypeInternalgoogle::protobuf::FieldOptions_EditionDefaultDefaultTypeInternal199 ~FieldOptions_EditionDefaultDefaultTypeInternal() {}
200 union {
201 FieldOptions_EditionDefault _instance;
202 };
203 };
204
205 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_EXPORT
206 PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 FieldOptions_EditionDefaultDefaultTypeInternal _FieldOptions_EditionDefault_default_instance_;
207
Impl_(::_pbi::ConstantInitialized)208 inline constexpr FeatureSet::Impl_::Impl_(
209 ::_pbi::ConstantInitialized) noexcept
210 : _cached_size_{0},
211 field_presence_{static_cast< ::google::protobuf::FeatureSet_FieldPresence >(0)},
212 enum_type_{static_cast< ::google::protobuf::FeatureSet_EnumType >(0)},
213 repeated_field_encoding_{static_cast< ::google::protobuf::FeatureSet_RepeatedFieldEncoding >(0)},
214 utf8_validation_{static_cast< ::google::protobuf::FeatureSet_Utf8Validation >(0)},
215 message_encoding_{static_cast< ::google::protobuf::FeatureSet_MessageEncoding >(0)},
216 json_format_{static_cast< ::google::protobuf::FeatureSet_JsonFormat >(0)} {}
217
218 template <typename>
FeatureSet(::_pbi::ConstantInitialized)219 PROTOBUF_CONSTEXPR FeatureSet::FeatureSet(::_pbi::ConstantInitialized)
220 #if defined(PROTOBUF_CUSTOM_VTABLE)
221 : ::google::protobuf::Message(_class_data_.base()),
222 #else // PROTOBUF_CUSTOM_VTABLE
223 : ::google::protobuf::Message(),
224 #endif // PROTOBUF_CUSTOM_VTABLE
225 _impl_(::_pbi::ConstantInitialized()) {
226 }
227 struct FeatureSetDefaultTypeInternal {
228 #if defined(PROTOBUF_CONSTINIT_DEFAULT_INSTANCES)
FeatureSetDefaultTypeInternalgoogle::protobuf::FeatureSetDefaultTypeInternal229 constexpr FeatureSetDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
230 #else // defined(PROTOBUF_CONSTINIT_DEFAULT_INSTANCES)
231 FeatureSetDefaultTypeInternal() {}
232 void Init() { ::new (&_instance) FeatureSet(); };
233 #endif // defined(PROTOBUF_CONSTINIT_DEFAULT_INSTANCES)
~FeatureSetDefaultTypeInternalgoogle::protobuf::FeatureSetDefaultTypeInternal234 ~FeatureSetDefaultTypeInternal() {}
235 union {
236 FeatureSet _instance;
237 };
238 };
239
240 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_EXPORT
241 PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 FeatureSetDefaultTypeInternal _FeatureSet_default_instance_;
242
Impl_(::_pbi::ConstantInitialized)243 inline constexpr ExtensionRangeOptions_Declaration::Impl_::Impl_(
244 ::_pbi::ConstantInitialized) noexcept
245 : _cached_size_{0},
246 full_name_(
247 &::google::protobuf::internal::fixed_address_empty_string,
248 ::_pbi::ConstantInitialized()),
249 type_(
250 &::google::protobuf::internal::fixed_address_empty_string,
251 ::_pbi::ConstantInitialized()),
252 number_{0},
253 reserved_{false},
254 repeated_{false} {}
255
256 template <typename>
ExtensionRangeOptions_Declaration(::_pbi::ConstantInitialized)257 PROTOBUF_CONSTEXPR ExtensionRangeOptions_Declaration::ExtensionRangeOptions_Declaration(::_pbi::ConstantInitialized)
258 #if defined(PROTOBUF_CUSTOM_VTABLE)
259 : ::google::protobuf::Message(_class_data_.base()),
260 #else // PROTOBUF_CUSTOM_VTABLE
261 : ::google::protobuf::Message(),
262 #endif // PROTOBUF_CUSTOM_VTABLE
263 _impl_(::_pbi::ConstantInitialized()) {
264 }
265 struct ExtensionRangeOptions_DeclarationDefaultTypeInternal {
266 #if defined(PROTOBUF_CONSTINIT_DEFAULT_INSTANCES)
ExtensionRangeOptions_DeclarationDefaultTypeInternalgoogle::protobuf::ExtensionRangeOptions_DeclarationDefaultTypeInternal267 constexpr ExtensionRangeOptions_DeclarationDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
268 #else // defined(PROTOBUF_CONSTINIT_DEFAULT_INSTANCES)
269 ExtensionRangeOptions_DeclarationDefaultTypeInternal() {}
270 void Init() { ::new (&_instance) ExtensionRangeOptions_Declaration(); };
271 #endif // defined(PROTOBUF_CONSTINIT_DEFAULT_INSTANCES)
~ExtensionRangeOptions_DeclarationDefaultTypeInternalgoogle::protobuf::ExtensionRangeOptions_DeclarationDefaultTypeInternal272 ~ExtensionRangeOptions_DeclarationDefaultTypeInternal() {}
273 union {
274 ExtensionRangeOptions_Declaration _instance;
275 };
276 };
277
278 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_EXPORT
279 PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ExtensionRangeOptions_DeclarationDefaultTypeInternal _ExtensionRangeOptions_Declaration_default_instance_;
280
Impl_(::_pbi::ConstantInitialized)281 inline constexpr EnumDescriptorProto_EnumReservedRange::Impl_::Impl_(
282 ::_pbi::ConstantInitialized) noexcept
283 : _cached_size_{0},
284 start_{0},
285 end_{0} {}
286
287 template <typename>
EnumDescriptorProto_EnumReservedRange(::_pbi::ConstantInitialized)288 PROTOBUF_CONSTEXPR EnumDescriptorProto_EnumReservedRange::EnumDescriptorProto_EnumReservedRange(::_pbi::ConstantInitialized)
289 #if defined(PROTOBUF_CUSTOM_VTABLE)
290 : ::google::protobuf::Message(_class_data_.base()),
291 #else // PROTOBUF_CUSTOM_VTABLE
292 : ::google::protobuf::Message(),
293 #endif // PROTOBUF_CUSTOM_VTABLE
294 _impl_(::_pbi::ConstantInitialized()) {
295 }
296 struct EnumDescriptorProto_EnumReservedRangeDefaultTypeInternal {
297 #if defined(PROTOBUF_CONSTINIT_DEFAULT_INSTANCES)
EnumDescriptorProto_EnumReservedRangeDefaultTypeInternalgoogle::protobuf::EnumDescriptorProto_EnumReservedRangeDefaultTypeInternal298 constexpr EnumDescriptorProto_EnumReservedRangeDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
299 #else // defined(PROTOBUF_CONSTINIT_DEFAULT_INSTANCES)
300 EnumDescriptorProto_EnumReservedRangeDefaultTypeInternal() {}
301 void Init() { ::new (&_instance) EnumDescriptorProto_EnumReservedRange(); };
302 #endif // defined(PROTOBUF_CONSTINIT_DEFAULT_INSTANCES)
~EnumDescriptorProto_EnumReservedRangeDefaultTypeInternalgoogle::protobuf::EnumDescriptorProto_EnumReservedRangeDefaultTypeInternal303 ~EnumDescriptorProto_EnumReservedRangeDefaultTypeInternal() {}
304 union {
305 EnumDescriptorProto_EnumReservedRange _instance;
306 };
307 };
308
309 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_EXPORT
310 PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 EnumDescriptorProto_EnumReservedRangeDefaultTypeInternal _EnumDescriptorProto_EnumReservedRange_default_instance_;
311
Impl_(::_pbi::ConstantInitialized)312 inline constexpr DescriptorProto_ReservedRange::Impl_::Impl_(
313 ::_pbi::ConstantInitialized) noexcept
314 : _cached_size_{0},
315 start_{0},
316 end_{0} {}
317
318 template <typename>
DescriptorProto_ReservedRange(::_pbi::ConstantInitialized)319 PROTOBUF_CONSTEXPR DescriptorProto_ReservedRange::DescriptorProto_ReservedRange(::_pbi::ConstantInitialized)
320 #if defined(PROTOBUF_CUSTOM_VTABLE)
321 : ::google::protobuf::Message(_class_data_.base()),
322 #else // PROTOBUF_CUSTOM_VTABLE
323 : ::google::protobuf::Message(),
324 #endif // PROTOBUF_CUSTOM_VTABLE
325 _impl_(::_pbi::ConstantInitialized()) {
326 }
327 struct DescriptorProto_ReservedRangeDefaultTypeInternal {
328 #if defined(PROTOBUF_CONSTINIT_DEFAULT_INSTANCES)
DescriptorProto_ReservedRangeDefaultTypeInternalgoogle::protobuf::DescriptorProto_ReservedRangeDefaultTypeInternal329 constexpr DescriptorProto_ReservedRangeDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
330 #else // defined(PROTOBUF_CONSTINIT_DEFAULT_INSTANCES)
331 DescriptorProto_ReservedRangeDefaultTypeInternal() {}
332 void Init() { ::new (&_instance) DescriptorProto_ReservedRange(); };
333 #endif // defined(PROTOBUF_CONSTINIT_DEFAULT_INSTANCES)
~DescriptorProto_ReservedRangeDefaultTypeInternalgoogle::protobuf::DescriptorProto_ReservedRangeDefaultTypeInternal334 ~DescriptorProto_ReservedRangeDefaultTypeInternal() {}
335 union {
336 DescriptorProto_ReservedRange _instance;
337 };
338 };
339
340 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_EXPORT
341 PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 DescriptorProto_ReservedRangeDefaultTypeInternal _DescriptorProto_ReservedRange_default_instance_;
342
Impl_(::_pbi::ConstantInitialized)343 inline constexpr UninterpretedOption::Impl_::Impl_(
344 ::_pbi::ConstantInitialized) noexcept
345 : _cached_size_{0},
346 name_{},
347 identifier_value_(
348 &::google::protobuf::internal::fixed_address_empty_string,
349 ::_pbi::ConstantInitialized()),
350 string_value_(
351 &::google::protobuf::internal::fixed_address_empty_string,
352 ::_pbi::ConstantInitialized()),
353 aggregate_value_(
354 &::google::protobuf::internal::fixed_address_empty_string,
355 ::_pbi::ConstantInitialized()),
356 positive_int_value_{::uint64_t{0u}},
357 negative_int_value_{::int64_t{0}},
358 double_value_{0} {}
359
360 template <typename>
UninterpretedOption(::_pbi::ConstantInitialized)361 PROTOBUF_CONSTEXPR UninterpretedOption::UninterpretedOption(::_pbi::ConstantInitialized)
362 #if defined(PROTOBUF_CUSTOM_VTABLE)
363 : ::google::protobuf::Message(_class_data_.base()),
364 #else // PROTOBUF_CUSTOM_VTABLE
365 : ::google::protobuf::Message(),
366 #endif // PROTOBUF_CUSTOM_VTABLE
367 _impl_(::_pbi::ConstantInitialized()) {
368 }
369 struct UninterpretedOptionDefaultTypeInternal {
370 #if defined(PROTOBUF_CONSTINIT_DEFAULT_INSTANCES)
UninterpretedOptionDefaultTypeInternalgoogle::protobuf::UninterpretedOptionDefaultTypeInternal371 constexpr UninterpretedOptionDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
372 #else // defined(PROTOBUF_CONSTINIT_DEFAULT_INSTANCES)
373 UninterpretedOptionDefaultTypeInternal() {}
374 void Init() { ::new (&_instance) UninterpretedOption(); };
375 #endif // defined(PROTOBUF_CONSTINIT_DEFAULT_INSTANCES)
~UninterpretedOptionDefaultTypeInternalgoogle::protobuf::UninterpretedOptionDefaultTypeInternal376 ~UninterpretedOptionDefaultTypeInternal() {}
377 union {
378 UninterpretedOption _instance;
379 };
380 };
381
382 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_EXPORT
383 PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 UninterpretedOptionDefaultTypeInternal _UninterpretedOption_default_instance_;
384
Impl_(::_pbi::ConstantInitialized)385 inline constexpr SourceCodeInfo::Impl_::Impl_(
386 ::_pbi::ConstantInitialized) noexcept
387 : location_{},
388 _cached_size_{0} {}
389
390 template <typename>
SourceCodeInfo(::_pbi::ConstantInitialized)391 PROTOBUF_CONSTEXPR SourceCodeInfo::SourceCodeInfo(::_pbi::ConstantInitialized)
392 #if defined(PROTOBUF_CUSTOM_VTABLE)
393 : ::google::protobuf::Message(_class_data_.base()),
394 #else // PROTOBUF_CUSTOM_VTABLE
395 : ::google::protobuf::Message(),
396 #endif // PROTOBUF_CUSTOM_VTABLE
397 _impl_(::_pbi::ConstantInitialized()) {
398 }
399 struct SourceCodeInfoDefaultTypeInternal {
400 #if defined(PROTOBUF_CONSTINIT_DEFAULT_INSTANCES)
SourceCodeInfoDefaultTypeInternalgoogle::protobuf::SourceCodeInfoDefaultTypeInternal401 constexpr SourceCodeInfoDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
402 #else // defined(PROTOBUF_CONSTINIT_DEFAULT_INSTANCES)
403 SourceCodeInfoDefaultTypeInternal() {}
404 void Init() { ::new (&_instance) SourceCodeInfo(); };
405 #endif // defined(PROTOBUF_CONSTINIT_DEFAULT_INSTANCES)
~SourceCodeInfoDefaultTypeInternalgoogle::protobuf::SourceCodeInfoDefaultTypeInternal406 ~SourceCodeInfoDefaultTypeInternal() {}
407 union {
408 SourceCodeInfo _instance;
409 };
410 };
411
412 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_EXPORT
413 PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SourceCodeInfoDefaultTypeInternal _SourceCodeInfo_default_instance_;
414
Impl_(::_pbi::ConstantInitialized)415 inline constexpr GeneratedCodeInfo::Impl_::Impl_(
416 ::_pbi::ConstantInitialized) noexcept
417 : annotation_{},
418 _cached_size_{0} {}
419
420 template <typename>
GeneratedCodeInfo(::_pbi::ConstantInitialized)421 PROTOBUF_CONSTEXPR GeneratedCodeInfo::GeneratedCodeInfo(::_pbi::ConstantInitialized)
422 #if defined(PROTOBUF_CUSTOM_VTABLE)
423 : ::google::protobuf::Message(_class_data_.base()),
424 #else // PROTOBUF_CUSTOM_VTABLE
425 : ::google::protobuf::Message(),
426 #endif // PROTOBUF_CUSTOM_VTABLE
427 _impl_(::_pbi::ConstantInitialized()) {
428 }
429 struct GeneratedCodeInfoDefaultTypeInternal {
430 #if defined(PROTOBUF_CONSTINIT_DEFAULT_INSTANCES)
GeneratedCodeInfoDefaultTypeInternalgoogle::protobuf::GeneratedCodeInfoDefaultTypeInternal431 constexpr GeneratedCodeInfoDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
432 #else // defined(PROTOBUF_CONSTINIT_DEFAULT_INSTANCES)
433 GeneratedCodeInfoDefaultTypeInternal() {}
434 void Init() { ::new (&_instance) GeneratedCodeInfo(); };
435 #endif // defined(PROTOBUF_CONSTINIT_DEFAULT_INSTANCES)
~GeneratedCodeInfoDefaultTypeInternalgoogle::protobuf::GeneratedCodeInfoDefaultTypeInternal436 ~GeneratedCodeInfoDefaultTypeInternal() {}
437 union {
438 GeneratedCodeInfo _instance;
439 };
440 };
441
442 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_EXPORT
443 PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 GeneratedCodeInfoDefaultTypeInternal _GeneratedCodeInfo_default_instance_;
444
Impl_(::_pbi::ConstantInitialized)445 inline constexpr FeatureSetDefaults_FeatureSetEditionDefault::Impl_::Impl_(
446 ::_pbi::ConstantInitialized) noexcept
447 : _cached_size_{0},
448 overridable_features_{nullptr},
449 fixed_features_{nullptr},
450 edition_{static_cast< ::google::protobuf::Edition >(0)} {}
451
452 template <typename>
FeatureSetDefaults_FeatureSetEditionDefault(::_pbi::ConstantInitialized)453 PROTOBUF_CONSTEXPR FeatureSetDefaults_FeatureSetEditionDefault::FeatureSetDefaults_FeatureSetEditionDefault(::_pbi::ConstantInitialized)
454 #if defined(PROTOBUF_CUSTOM_VTABLE)
455 : ::google::protobuf::Message(_class_data_.base()),
456 #else // PROTOBUF_CUSTOM_VTABLE
457 : ::google::protobuf::Message(),
458 #endif // PROTOBUF_CUSTOM_VTABLE
459 _impl_(::_pbi::ConstantInitialized()) {
460 }
461 struct FeatureSetDefaults_FeatureSetEditionDefaultDefaultTypeInternal {
462 #if defined(PROTOBUF_CONSTINIT_DEFAULT_INSTANCES)
FeatureSetDefaults_FeatureSetEditionDefaultDefaultTypeInternalgoogle::protobuf::FeatureSetDefaults_FeatureSetEditionDefaultDefaultTypeInternal463 constexpr FeatureSetDefaults_FeatureSetEditionDefaultDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
464 #else // defined(PROTOBUF_CONSTINIT_DEFAULT_INSTANCES)
465 FeatureSetDefaults_FeatureSetEditionDefaultDefaultTypeInternal() {}
466 void Init() { ::new (&_instance) FeatureSetDefaults_FeatureSetEditionDefault(); };
467 #endif // defined(PROTOBUF_CONSTINIT_DEFAULT_INSTANCES)
~FeatureSetDefaults_FeatureSetEditionDefaultDefaultTypeInternalgoogle::protobuf::FeatureSetDefaults_FeatureSetEditionDefaultDefaultTypeInternal468 ~FeatureSetDefaults_FeatureSetEditionDefaultDefaultTypeInternal() {}
469 union {
470 FeatureSetDefaults_FeatureSetEditionDefault _instance;
471 };
472 };
473
474 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_EXPORT
475 PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 FeatureSetDefaults_FeatureSetEditionDefaultDefaultTypeInternal _FeatureSetDefaults_FeatureSetEditionDefault_default_instance_;
476
Impl_(::_pbi::ConstantInitialized)477 inline constexpr ServiceOptions::Impl_::Impl_(
478 ::_pbi::ConstantInitialized) noexcept
479 : _cached_size_{0},
480 uninterpreted_option_{},
481 features_{nullptr},
482 deprecated_{false} {}
483
484 template <typename>
ServiceOptions(::_pbi::ConstantInitialized)485 PROTOBUF_CONSTEXPR ServiceOptions::ServiceOptions(::_pbi::ConstantInitialized)
486 #if defined(PROTOBUF_CUSTOM_VTABLE)
487 : ::google::protobuf::Message(_class_data_.base()),
488 #else // PROTOBUF_CUSTOM_VTABLE
489 : ::google::protobuf::Message(),
490 #endif // PROTOBUF_CUSTOM_VTABLE
491 _impl_(::_pbi::ConstantInitialized()) {
492 }
493 struct ServiceOptionsDefaultTypeInternal {
494 #if defined(PROTOBUF_CONSTINIT_DEFAULT_INSTANCES)
ServiceOptionsDefaultTypeInternalgoogle::protobuf::ServiceOptionsDefaultTypeInternal495 constexpr ServiceOptionsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
496 #else // defined(PROTOBUF_CONSTINIT_DEFAULT_INSTANCES)
497 ServiceOptionsDefaultTypeInternal() {}
498 void Init() { ::new (&_instance) ServiceOptions(); };
499 #endif // defined(PROTOBUF_CONSTINIT_DEFAULT_INSTANCES)
~ServiceOptionsDefaultTypeInternalgoogle::protobuf::ServiceOptionsDefaultTypeInternal500 ~ServiceOptionsDefaultTypeInternal() {}
501 union {
502 ServiceOptions _instance;
503 };
504 };
505
506 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_EXPORT
507 PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ServiceOptionsDefaultTypeInternal _ServiceOptions_default_instance_;
508
Impl_(::_pbi::ConstantInitialized)509 inline constexpr OneofOptions::Impl_::Impl_(
510 ::_pbi::ConstantInitialized) noexcept
511 : _cached_size_{0},
512 uninterpreted_option_{},
513 features_{nullptr} {}
514
515 template <typename>
OneofOptions(::_pbi::ConstantInitialized)516 PROTOBUF_CONSTEXPR OneofOptions::OneofOptions(::_pbi::ConstantInitialized)
517 #if defined(PROTOBUF_CUSTOM_VTABLE)
518 : ::google::protobuf::Message(_class_data_.base()),
519 #else // PROTOBUF_CUSTOM_VTABLE
520 : ::google::protobuf::Message(),
521 #endif // PROTOBUF_CUSTOM_VTABLE
522 _impl_(::_pbi::ConstantInitialized()) {
523 }
524 struct OneofOptionsDefaultTypeInternal {
525 #if defined(PROTOBUF_CONSTINIT_DEFAULT_INSTANCES)
OneofOptionsDefaultTypeInternalgoogle::protobuf::OneofOptionsDefaultTypeInternal526 constexpr OneofOptionsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
527 #else // defined(PROTOBUF_CONSTINIT_DEFAULT_INSTANCES)
528 OneofOptionsDefaultTypeInternal() {}
529 void Init() { ::new (&_instance) OneofOptions(); };
530 #endif // defined(PROTOBUF_CONSTINIT_DEFAULT_INSTANCES)
~OneofOptionsDefaultTypeInternalgoogle::protobuf::OneofOptionsDefaultTypeInternal531 ~OneofOptionsDefaultTypeInternal() {}
532 union {
533 OneofOptions _instance;
534 };
535 };
536
537 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_EXPORT
538 PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 OneofOptionsDefaultTypeInternal _OneofOptions_default_instance_;
539
Impl_(::_pbi::ConstantInitialized)540 inline constexpr MethodOptions::Impl_::Impl_(
541 ::_pbi::ConstantInitialized) noexcept
542 : _cached_size_{0},
543 uninterpreted_option_{},
544 features_{nullptr},
545 deprecated_{false},
546 idempotency_level_{static_cast< ::google::protobuf::MethodOptions_IdempotencyLevel >(0)} {}
547
548 template <typename>
MethodOptions(::_pbi::ConstantInitialized)549 PROTOBUF_CONSTEXPR MethodOptions::MethodOptions(::_pbi::ConstantInitialized)
550 #if defined(PROTOBUF_CUSTOM_VTABLE)
551 : ::google::protobuf::Message(_class_data_.base()),
552 #else // PROTOBUF_CUSTOM_VTABLE
553 : ::google::protobuf::Message(),
554 #endif // PROTOBUF_CUSTOM_VTABLE
555 _impl_(::_pbi::ConstantInitialized()) {
556 }
557 struct MethodOptionsDefaultTypeInternal {
558 #if defined(PROTOBUF_CONSTINIT_DEFAULT_INSTANCES)
MethodOptionsDefaultTypeInternalgoogle::protobuf::MethodOptionsDefaultTypeInternal559 constexpr MethodOptionsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
560 #else // defined(PROTOBUF_CONSTINIT_DEFAULT_INSTANCES)
561 MethodOptionsDefaultTypeInternal() {}
562 void Init() { ::new (&_instance) MethodOptions(); };
563 #endif // defined(PROTOBUF_CONSTINIT_DEFAULT_INSTANCES)
~MethodOptionsDefaultTypeInternalgoogle::protobuf::MethodOptionsDefaultTypeInternal564 ~MethodOptionsDefaultTypeInternal() {}
565 union {
566 MethodOptions _instance;
567 };
568 };
569
570 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_EXPORT
571 PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 MethodOptionsDefaultTypeInternal _MethodOptions_default_instance_;
572
Impl_(::_pbi::ConstantInitialized)573 inline constexpr MessageOptions::Impl_::Impl_(
574 ::_pbi::ConstantInitialized) noexcept
575 : _cached_size_{0},
576 uninterpreted_option_{},
577 features_{nullptr},
578 message_set_wire_format_{false},
579 no_standard_descriptor_accessor_{false},
580 deprecated_{false},
581 map_entry_{false},
582 deprecated_legacy_json_field_conflicts_{false} {}
583
584 template <typename>
MessageOptions(::_pbi::ConstantInitialized)585 PROTOBUF_CONSTEXPR MessageOptions::MessageOptions(::_pbi::ConstantInitialized)
586 #if defined(PROTOBUF_CUSTOM_VTABLE)
587 : ::google::protobuf::Message(_class_data_.base()),
588 #else // PROTOBUF_CUSTOM_VTABLE
589 : ::google::protobuf::Message(),
590 #endif // PROTOBUF_CUSTOM_VTABLE
591 _impl_(::_pbi::ConstantInitialized()) {
592 }
593 struct MessageOptionsDefaultTypeInternal {
594 #if defined(PROTOBUF_CONSTINIT_DEFAULT_INSTANCES)
MessageOptionsDefaultTypeInternalgoogle::protobuf::MessageOptionsDefaultTypeInternal595 constexpr MessageOptionsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
596 #else // defined(PROTOBUF_CONSTINIT_DEFAULT_INSTANCES)
597 MessageOptionsDefaultTypeInternal() {}
598 void Init() { ::new (&_instance) MessageOptions(); };
599 #endif // defined(PROTOBUF_CONSTINIT_DEFAULT_INSTANCES)
~MessageOptionsDefaultTypeInternalgoogle::protobuf::MessageOptionsDefaultTypeInternal600 ~MessageOptionsDefaultTypeInternal() {}
601 union {
602 MessageOptions _instance;
603 };
604 };
605
606 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_EXPORT
607 PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 MessageOptionsDefaultTypeInternal _MessageOptions_default_instance_;
608
Impl_(::_pbi::ConstantInitialized)609 inline constexpr FileOptions::Impl_::Impl_(
610 ::_pbi::ConstantInitialized) noexcept
611 : _cached_size_{0},
612 uninterpreted_option_{},
613 java_package_(
614 &::google::protobuf::internal::fixed_address_empty_string,
615 ::_pbi::ConstantInitialized()),
616 java_outer_classname_(
617 &::google::protobuf::internal::fixed_address_empty_string,
618 ::_pbi::ConstantInitialized()),
619 go_package_(
620 &::google::protobuf::internal::fixed_address_empty_string,
621 ::_pbi::ConstantInitialized()),
622 objc_class_prefix_(
623 &::google::protobuf::internal::fixed_address_empty_string,
624 ::_pbi::ConstantInitialized()),
625 csharp_namespace_(
626 &::google::protobuf::internal::fixed_address_empty_string,
627 ::_pbi::ConstantInitialized()),
628 swift_prefix_(
629 &::google::protobuf::internal::fixed_address_empty_string,
630 ::_pbi::ConstantInitialized()),
631 php_class_prefix_(
632 &::google::protobuf::internal::fixed_address_empty_string,
633 ::_pbi::ConstantInitialized()),
634 php_namespace_(
635 &::google::protobuf::internal::fixed_address_empty_string,
636 ::_pbi::ConstantInitialized()),
637 php_metadata_namespace_(
638 &::google::protobuf::internal::fixed_address_empty_string,
639 ::_pbi::ConstantInitialized()),
640 ruby_package_(
641 &::google::protobuf::internal::fixed_address_empty_string,
642 ::_pbi::ConstantInitialized()),
643 features_{nullptr},
644 java_multiple_files_{false},
645 java_generate_equals_and_hash_{false},
646 java_string_check_utf8_{false},
647 cc_generic_services_{false},
648 java_generic_services_{false},
649 py_generic_services_{false},
650 deprecated_{false},
651 optimize_for_{static_cast< ::google::protobuf::FileOptions_OptimizeMode >(1)},
652 cc_enable_arenas_{true} {}
653
654 template <typename>
FileOptions(::_pbi::ConstantInitialized)655 PROTOBUF_CONSTEXPR FileOptions::FileOptions(::_pbi::ConstantInitialized)
656 #if defined(PROTOBUF_CUSTOM_VTABLE)
657 : ::google::protobuf::Message(_class_data_.base()),
658 #else // PROTOBUF_CUSTOM_VTABLE
659 : ::google::protobuf::Message(),
660 #endif // PROTOBUF_CUSTOM_VTABLE
661 _impl_(::_pbi::ConstantInitialized()) {
662 }
663 struct FileOptionsDefaultTypeInternal {
664 #if defined(PROTOBUF_CONSTINIT_DEFAULT_INSTANCES)
FileOptionsDefaultTypeInternalgoogle::protobuf::FileOptionsDefaultTypeInternal665 constexpr FileOptionsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
666 #else // defined(PROTOBUF_CONSTINIT_DEFAULT_INSTANCES)
667 FileOptionsDefaultTypeInternal() {}
668 void Init() { ::new (&_instance) FileOptions(); };
669 #endif // defined(PROTOBUF_CONSTINIT_DEFAULT_INSTANCES)
~FileOptionsDefaultTypeInternalgoogle::protobuf::FileOptionsDefaultTypeInternal670 ~FileOptionsDefaultTypeInternal() {}
671 union {
672 FileOptions _instance;
673 };
674 };
675
676 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_EXPORT
677 PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 FileOptionsDefaultTypeInternal _FileOptions_default_instance_;
678
Impl_(::_pbi::ConstantInitialized)679 inline constexpr FieldOptions::Impl_::Impl_(
680 ::_pbi::ConstantInitialized) noexcept
681 : _cached_size_{0},
682 targets_{},
683 edition_defaults_{},
684 uninterpreted_option_{},
685 features_{nullptr},
686 feature_support_{nullptr},
687 ctype_{static_cast< ::google::protobuf::FieldOptions_CType >(0)},
688 jstype_{static_cast< ::google::protobuf::FieldOptions_JSType >(0)},
689 packed_{false},
690 lazy_{false},
691 unverified_lazy_{false},
692 deprecated_{false},
693 weak_{false},
694 debug_redact_{false},
695 retention_{static_cast< ::google::protobuf::FieldOptions_OptionRetention >(0)} {}
696
697 template <typename>
FieldOptions(::_pbi::ConstantInitialized)698 PROTOBUF_CONSTEXPR FieldOptions::FieldOptions(::_pbi::ConstantInitialized)
699 #if defined(PROTOBUF_CUSTOM_VTABLE)
700 : ::google::protobuf::Message(_class_data_.base()),
701 #else // PROTOBUF_CUSTOM_VTABLE
702 : ::google::protobuf::Message(),
703 #endif // PROTOBUF_CUSTOM_VTABLE
704 _impl_(::_pbi::ConstantInitialized()) {
705 }
706 struct FieldOptionsDefaultTypeInternal {
707 #if defined(PROTOBUF_CONSTINIT_DEFAULT_INSTANCES)
FieldOptionsDefaultTypeInternalgoogle::protobuf::FieldOptionsDefaultTypeInternal708 constexpr FieldOptionsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
709 #else // defined(PROTOBUF_CONSTINIT_DEFAULT_INSTANCES)
710 FieldOptionsDefaultTypeInternal() {}
711 void Init() { ::new (&_instance) FieldOptions(); };
712 #endif // defined(PROTOBUF_CONSTINIT_DEFAULT_INSTANCES)
~FieldOptionsDefaultTypeInternalgoogle::protobuf::FieldOptionsDefaultTypeInternal713 ~FieldOptionsDefaultTypeInternal() {}
714 union {
715 FieldOptions _instance;
716 };
717 };
718
719 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_EXPORT
720 PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 FieldOptionsDefaultTypeInternal _FieldOptions_default_instance_;
721
Impl_(::_pbi::ConstantInitialized)722 inline constexpr FeatureSetDefaults::Impl_::Impl_(
723 ::_pbi::ConstantInitialized) noexcept
724 : _cached_size_{0},
725 defaults_{},
726 minimum_edition_{static_cast< ::google::protobuf::Edition >(0)},
727 maximum_edition_{static_cast< ::google::protobuf::Edition >(0)} {}
728
729 template <typename>
FeatureSetDefaults(::_pbi::ConstantInitialized)730 PROTOBUF_CONSTEXPR FeatureSetDefaults::FeatureSetDefaults(::_pbi::ConstantInitialized)
731 #if defined(PROTOBUF_CUSTOM_VTABLE)
732 : ::google::protobuf::Message(_class_data_.base()),
733 #else // PROTOBUF_CUSTOM_VTABLE
734 : ::google::protobuf::Message(),
735 #endif // PROTOBUF_CUSTOM_VTABLE
736 _impl_(::_pbi::ConstantInitialized()) {
737 }
738 struct FeatureSetDefaultsDefaultTypeInternal {
739 #if defined(PROTOBUF_CONSTINIT_DEFAULT_INSTANCES)
FeatureSetDefaultsDefaultTypeInternalgoogle::protobuf::FeatureSetDefaultsDefaultTypeInternal740 constexpr FeatureSetDefaultsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
741 #else // defined(PROTOBUF_CONSTINIT_DEFAULT_INSTANCES)
742 FeatureSetDefaultsDefaultTypeInternal() {}
743 void Init() { ::new (&_instance) FeatureSetDefaults(); };
744 #endif // defined(PROTOBUF_CONSTINIT_DEFAULT_INSTANCES)
~FeatureSetDefaultsDefaultTypeInternalgoogle::protobuf::FeatureSetDefaultsDefaultTypeInternal745 ~FeatureSetDefaultsDefaultTypeInternal() {}
746 union {
747 FeatureSetDefaults _instance;
748 };
749 };
750
751 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_EXPORT
752 PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 FeatureSetDefaultsDefaultTypeInternal _FeatureSetDefaults_default_instance_;
753
Impl_(::_pbi::ConstantInitialized)754 inline constexpr ExtensionRangeOptions::Impl_::Impl_(
755 ::_pbi::ConstantInitialized) noexcept
756 : _cached_size_{0},
757 declaration_{},
758 uninterpreted_option_{},
759 features_{nullptr},
760 verification_{static_cast< ::google::protobuf::ExtensionRangeOptions_VerificationState >(1)} {}
761
762 template <typename>
ExtensionRangeOptions(::_pbi::ConstantInitialized)763 PROTOBUF_CONSTEXPR ExtensionRangeOptions::ExtensionRangeOptions(::_pbi::ConstantInitialized)
764 #if defined(PROTOBUF_CUSTOM_VTABLE)
765 : ::google::protobuf::Message(_class_data_.base()),
766 #else // PROTOBUF_CUSTOM_VTABLE
767 : ::google::protobuf::Message(),
768 #endif // PROTOBUF_CUSTOM_VTABLE
769 _impl_(::_pbi::ConstantInitialized()) {
770 }
771 struct ExtensionRangeOptionsDefaultTypeInternal {
772 #if defined(PROTOBUF_CONSTINIT_DEFAULT_INSTANCES)
ExtensionRangeOptionsDefaultTypeInternalgoogle::protobuf::ExtensionRangeOptionsDefaultTypeInternal773 constexpr ExtensionRangeOptionsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
774 #else // defined(PROTOBUF_CONSTINIT_DEFAULT_INSTANCES)
775 ExtensionRangeOptionsDefaultTypeInternal() {}
776 void Init() { ::new (&_instance) ExtensionRangeOptions(); };
777 #endif // defined(PROTOBUF_CONSTINIT_DEFAULT_INSTANCES)
~ExtensionRangeOptionsDefaultTypeInternalgoogle::protobuf::ExtensionRangeOptionsDefaultTypeInternal778 ~ExtensionRangeOptionsDefaultTypeInternal() {}
779 union {
780 ExtensionRangeOptions _instance;
781 };
782 };
783
784 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_EXPORT
785 PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ExtensionRangeOptionsDefaultTypeInternal _ExtensionRangeOptions_default_instance_;
786
Impl_(::_pbi::ConstantInitialized)787 inline constexpr EnumValueOptions::Impl_::Impl_(
788 ::_pbi::ConstantInitialized) noexcept
789 : _cached_size_{0},
790 uninterpreted_option_{},
791 features_{nullptr},
792 feature_support_{nullptr},
793 deprecated_{false},
794 debug_redact_{false} {}
795
796 template <typename>
EnumValueOptions(::_pbi::ConstantInitialized)797 PROTOBUF_CONSTEXPR EnumValueOptions::EnumValueOptions(::_pbi::ConstantInitialized)
798 #if defined(PROTOBUF_CUSTOM_VTABLE)
799 : ::google::protobuf::Message(_class_data_.base()),
800 #else // PROTOBUF_CUSTOM_VTABLE
801 : ::google::protobuf::Message(),
802 #endif // PROTOBUF_CUSTOM_VTABLE
803 _impl_(::_pbi::ConstantInitialized()) {
804 }
805 struct EnumValueOptionsDefaultTypeInternal {
806 #if defined(PROTOBUF_CONSTINIT_DEFAULT_INSTANCES)
EnumValueOptionsDefaultTypeInternalgoogle::protobuf::EnumValueOptionsDefaultTypeInternal807 constexpr EnumValueOptionsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
808 #else // defined(PROTOBUF_CONSTINIT_DEFAULT_INSTANCES)
809 EnumValueOptionsDefaultTypeInternal() {}
810 void Init() { ::new (&_instance) EnumValueOptions(); };
811 #endif // defined(PROTOBUF_CONSTINIT_DEFAULT_INSTANCES)
~EnumValueOptionsDefaultTypeInternalgoogle::protobuf::EnumValueOptionsDefaultTypeInternal812 ~EnumValueOptionsDefaultTypeInternal() {}
813 union {
814 EnumValueOptions _instance;
815 };
816 };
817
818 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_EXPORT
819 PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 EnumValueOptionsDefaultTypeInternal _EnumValueOptions_default_instance_;
820
Impl_(::_pbi::ConstantInitialized)821 inline constexpr EnumOptions::Impl_::Impl_(
822 ::_pbi::ConstantInitialized) noexcept
823 : _cached_size_{0},
824 uninterpreted_option_{},
825 features_{nullptr},
826 allow_alias_{false},
827 deprecated_{false},
828 deprecated_legacy_json_field_conflicts_{false} {}
829
830 template <typename>
EnumOptions(::_pbi::ConstantInitialized)831 PROTOBUF_CONSTEXPR EnumOptions::EnumOptions(::_pbi::ConstantInitialized)
832 #if defined(PROTOBUF_CUSTOM_VTABLE)
833 : ::google::protobuf::Message(_class_data_.base()),
834 #else // PROTOBUF_CUSTOM_VTABLE
835 : ::google::protobuf::Message(),
836 #endif // PROTOBUF_CUSTOM_VTABLE
837 _impl_(::_pbi::ConstantInitialized()) {
838 }
839 struct EnumOptionsDefaultTypeInternal {
840 #if defined(PROTOBUF_CONSTINIT_DEFAULT_INSTANCES)
EnumOptionsDefaultTypeInternalgoogle::protobuf::EnumOptionsDefaultTypeInternal841 constexpr EnumOptionsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
842 #else // defined(PROTOBUF_CONSTINIT_DEFAULT_INSTANCES)
843 EnumOptionsDefaultTypeInternal() {}
844 void Init() { ::new (&_instance) EnumOptions(); };
845 #endif // defined(PROTOBUF_CONSTINIT_DEFAULT_INSTANCES)
~EnumOptionsDefaultTypeInternalgoogle::protobuf::EnumOptionsDefaultTypeInternal846 ~EnumOptionsDefaultTypeInternal() {}
847 union {
848 EnumOptions _instance;
849 };
850 };
851
852 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_EXPORT
853 PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 EnumOptionsDefaultTypeInternal _EnumOptions_default_instance_;
854
Impl_(::_pbi::ConstantInitialized)855 inline constexpr OneofDescriptorProto::Impl_::Impl_(
856 ::_pbi::ConstantInitialized) noexcept
857 : _cached_size_{0},
858 name_(
859 &::google::protobuf::internal::fixed_address_empty_string,
860 ::_pbi::ConstantInitialized()),
861 options_{nullptr} {}
862
863 template <typename>
OneofDescriptorProto(::_pbi::ConstantInitialized)864 PROTOBUF_CONSTEXPR OneofDescriptorProto::OneofDescriptorProto(::_pbi::ConstantInitialized)
865 #if defined(PROTOBUF_CUSTOM_VTABLE)
866 : ::google::protobuf::Message(_class_data_.base()),
867 #else // PROTOBUF_CUSTOM_VTABLE
868 : ::google::protobuf::Message(),
869 #endif // PROTOBUF_CUSTOM_VTABLE
870 _impl_(::_pbi::ConstantInitialized()) {
871 }
872 struct OneofDescriptorProtoDefaultTypeInternal {
873 #if defined(PROTOBUF_CONSTINIT_DEFAULT_INSTANCES)
OneofDescriptorProtoDefaultTypeInternalgoogle::protobuf::OneofDescriptorProtoDefaultTypeInternal874 constexpr OneofDescriptorProtoDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
875 #else // defined(PROTOBUF_CONSTINIT_DEFAULT_INSTANCES)
876 OneofDescriptorProtoDefaultTypeInternal() {}
877 void Init() { ::new (&_instance) OneofDescriptorProto(); };
878 #endif // defined(PROTOBUF_CONSTINIT_DEFAULT_INSTANCES)
~OneofDescriptorProtoDefaultTypeInternalgoogle::protobuf::OneofDescriptorProtoDefaultTypeInternal879 ~OneofDescriptorProtoDefaultTypeInternal() {}
880 union {
881 OneofDescriptorProto _instance;
882 };
883 };
884
885 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_EXPORT
886 PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 OneofDescriptorProtoDefaultTypeInternal _OneofDescriptorProto_default_instance_;
887
Impl_(::_pbi::ConstantInitialized)888 inline constexpr MethodDescriptorProto::Impl_::Impl_(
889 ::_pbi::ConstantInitialized) noexcept
890 : _cached_size_{0},
891 name_(
892 &::google::protobuf::internal::fixed_address_empty_string,
893 ::_pbi::ConstantInitialized()),
894 input_type_(
895 &::google::protobuf::internal::fixed_address_empty_string,
896 ::_pbi::ConstantInitialized()),
897 output_type_(
898 &::google::protobuf::internal::fixed_address_empty_string,
899 ::_pbi::ConstantInitialized()),
900 options_{nullptr},
901 client_streaming_{false},
902 server_streaming_{false} {}
903
904 template <typename>
MethodDescriptorProto(::_pbi::ConstantInitialized)905 PROTOBUF_CONSTEXPR MethodDescriptorProto::MethodDescriptorProto(::_pbi::ConstantInitialized)
906 #if defined(PROTOBUF_CUSTOM_VTABLE)
907 : ::google::protobuf::Message(_class_data_.base()),
908 #else // PROTOBUF_CUSTOM_VTABLE
909 : ::google::protobuf::Message(),
910 #endif // PROTOBUF_CUSTOM_VTABLE
911 _impl_(::_pbi::ConstantInitialized()) {
912 }
913 struct MethodDescriptorProtoDefaultTypeInternal {
914 #if defined(PROTOBUF_CONSTINIT_DEFAULT_INSTANCES)
MethodDescriptorProtoDefaultTypeInternalgoogle::protobuf::MethodDescriptorProtoDefaultTypeInternal915 constexpr MethodDescriptorProtoDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
916 #else // defined(PROTOBUF_CONSTINIT_DEFAULT_INSTANCES)
917 MethodDescriptorProtoDefaultTypeInternal() {}
918 void Init() { ::new (&_instance) MethodDescriptorProto(); };
919 #endif // defined(PROTOBUF_CONSTINIT_DEFAULT_INSTANCES)
~MethodDescriptorProtoDefaultTypeInternalgoogle::protobuf::MethodDescriptorProtoDefaultTypeInternal920 ~MethodDescriptorProtoDefaultTypeInternal() {}
921 union {
922 MethodDescriptorProto _instance;
923 };
924 };
925
926 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_EXPORT
927 PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 MethodDescriptorProtoDefaultTypeInternal _MethodDescriptorProto_default_instance_;
928
Impl_(::_pbi::ConstantInitialized)929 inline constexpr FieldDescriptorProto::Impl_::Impl_(
930 ::_pbi::ConstantInitialized) noexcept
931 : _cached_size_{0},
932 name_(
933 &::google::protobuf::internal::fixed_address_empty_string,
934 ::_pbi::ConstantInitialized()),
935 extendee_(
936 &::google::protobuf::internal::fixed_address_empty_string,
937 ::_pbi::ConstantInitialized()),
938 type_name_(
939 &::google::protobuf::internal::fixed_address_empty_string,
940 ::_pbi::ConstantInitialized()),
941 default_value_(
942 &::google::protobuf::internal::fixed_address_empty_string,
943 ::_pbi::ConstantInitialized()),
944 json_name_(
945 &::google::protobuf::internal::fixed_address_empty_string,
946 ::_pbi::ConstantInitialized()),
947 options_{nullptr},
948 number_{0},
949 oneof_index_{0},
950 proto3_optional_{false},
951 label_{static_cast< ::google::protobuf::FieldDescriptorProto_Label >(1)},
952 type_{static_cast< ::google::protobuf::FieldDescriptorProto_Type >(1)} {}
953
954 template <typename>
FieldDescriptorProto(::_pbi::ConstantInitialized)955 PROTOBUF_CONSTEXPR FieldDescriptorProto::FieldDescriptorProto(::_pbi::ConstantInitialized)
956 #if defined(PROTOBUF_CUSTOM_VTABLE)
957 : ::google::protobuf::Message(_class_data_.base()),
958 #else // PROTOBUF_CUSTOM_VTABLE
959 : ::google::protobuf::Message(),
960 #endif // PROTOBUF_CUSTOM_VTABLE
961 _impl_(::_pbi::ConstantInitialized()) {
962 }
963 struct FieldDescriptorProtoDefaultTypeInternal {
964 #if defined(PROTOBUF_CONSTINIT_DEFAULT_INSTANCES)
FieldDescriptorProtoDefaultTypeInternalgoogle::protobuf::FieldDescriptorProtoDefaultTypeInternal965 constexpr FieldDescriptorProtoDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
966 #else // defined(PROTOBUF_CONSTINIT_DEFAULT_INSTANCES)
967 FieldDescriptorProtoDefaultTypeInternal() {}
968 void Init() { ::new (&_instance) FieldDescriptorProto(); };
969 #endif // defined(PROTOBUF_CONSTINIT_DEFAULT_INSTANCES)
~FieldDescriptorProtoDefaultTypeInternalgoogle::protobuf::FieldDescriptorProtoDefaultTypeInternal970 ~FieldDescriptorProtoDefaultTypeInternal() {}
971 union {
972 FieldDescriptorProto _instance;
973 };
974 };
975
976 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_EXPORT
977 PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 FieldDescriptorProtoDefaultTypeInternal _FieldDescriptorProto_default_instance_;
978
Impl_(::_pbi::ConstantInitialized)979 inline constexpr EnumValueDescriptorProto::Impl_::Impl_(
980 ::_pbi::ConstantInitialized) noexcept
981 : _cached_size_{0},
982 name_(
983 &::google::protobuf::internal::fixed_address_empty_string,
984 ::_pbi::ConstantInitialized()),
985 options_{nullptr},
986 number_{0} {}
987
988 template <typename>
EnumValueDescriptorProto(::_pbi::ConstantInitialized)989 PROTOBUF_CONSTEXPR EnumValueDescriptorProto::EnumValueDescriptorProto(::_pbi::ConstantInitialized)
990 #if defined(PROTOBUF_CUSTOM_VTABLE)
991 : ::google::protobuf::Message(_class_data_.base()),
992 #else // PROTOBUF_CUSTOM_VTABLE
993 : ::google::protobuf::Message(),
994 #endif // PROTOBUF_CUSTOM_VTABLE
995 _impl_(::_pbi::ConstantInitialized()) {
996 }
997 struct EnumValueDescriptorProtoDefaultTypeInternal {
998 #if defined(PROTOBUF_CONSTINIT_DEFAULT_INSTANCES)
EnumValueDescriptorProtoDefaultTypeInternalgoogle::protobuf::EnumValueDescriptorProtoDefaultTypeInternal999 constexpr EnumValueDescriptorProtoDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
1000 #else // defined(PROTOBUF_CONSTINIT_DEFAULT_INSTANCES)
1001 EnumValueDescriptorProtoDefaultTypeInternal() {}
1002 void Init() { ::new (&_instance) EnumValueDescriptorProto(); };
1003 #endif // defined(PROTOBUF_CONSTINIT_DEFAULT_INSTANCES)
~EnumValueDescriptorProtoDefaultTypeInternalgoogle::protobuf::EnumValueDescriptorProtoDefaultTypeInternal1004 ~EnumValueDescriptorProtoDefaultTypeInternal() {}
1005 union {
1006 EnumValueDescriptorProto _instance;
1007 };
1008 };
1009
1010 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_EXPORT
1011 PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 EnumValueDescriptorProtoDefaultTypeInternal _EnumValueDescriptorProto_default_instance_;
1012
Impl_(::_pbi::ConstantInitialized)1013 inline constexpr DescriptorProto_ExtensionRange::Impl_::Impl_(
1014 ::_pbi::ConstantInitialized) noexcept
1015 : _cached_size_{0},
1016 options_{nullptr},
1017 start_{0},
1018 end_{0} {}
1019
1020 template <typename>
DescriptorProto_ExtensionRange(::_pbi::ConstantInitialized)1021 PROTOBUF_CONSTEXPR DescriptorProto_ExtensionRange::DescriptorProto_ExtensionRange(::_pbi::ConstantInitialized)
1022 #if defined(PROTOBUF_CUSTOM_VTABLE)
1023 : ::google::protobuf::Message(_class_data_.base()),
1024 #else // PROTOBUF_CUSTOM_VTABLE
1025 : ::google::protobuf::Message(),
1026 #endif // PROTOBUF_CUSTOM_VTABLE
1027 _impl_(::_pbi::ConstantInitialized()) {
1028 }
1029 struct DescriptorProto_ExtensionRangeDefaultTypeInternal {
1030 #if defined(PROTOBUF_CONSTINIT_DEFAULT_INSTANCES)
DescriptorProto_ExtensionRangeDefaultTypeInternalgoogle::protobuf::DescriptorProto_ExtensionRangeDefaultTypeInternal1031 constexpr DescriptorProto_ExtensionRangeDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
1032 #else // defined(PROTOBUF_CONSTINIT_DEFAULT_INSTANCES)
1033 DescriptorProto_ExtensionRangeDefaultTypeInternal() {}
1034 void Init() { ::new (&_instance) DescriptorProto_ExtensionRange(); };
1035 #endif // defined(PROTOBUF_CONSTINIT_DEFAULT_INSTANCES)
~DescriptorProto_ExtensionRangeDefaultTypeInternalgoogle::protobuf::DescriptorProto_ExtensionRangeDefaultTypeInternal1036 ~DescriptorProto_ExtensionRangeDefaultTypeInternal() {}
1037 union {
1038 DescriptorProto_ExtensionRange _instance;
1039 };
1040 };
1041
1042 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_EXPORT
1043 PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 DescriptorProto_ExtensionRangeDefaultTypeInternal _DescriptorProto_ExtensionRange_default_instance_;
1044
Impl_(::_pbi::ConstantInitialized)1045 inline constexpr ServiceDescriptorProto::Impl_::Impl_(
1046 ::_pbi::ConstantInitialized) noexcept
1047 : _cached_size_{0},
1048 method_{},
1049 name_(
1050 &::google::protobuf::internal::fixed_address_empty_string,
1051 ::_pbi::ConstantInitialized()),
1052 options_{nullptr} {}
1053
1054 template <typename>
ServiceDescriptorProto(::_pbi::ConstantInitialized)1055 PROTOBUF_CONSTEXPR ServiceDescriptorProto::ServiceDescriptorProto(::_pbi::ConstantInitialized)
1056 #if defined(PROTOBUF_CUSTOM_VTABLE)
1057 : ::google::protobuf::Message(_class_data_.base()),
1058 #else // PROTOBUF_CUSTOM_VTABLE
1059 : ::google::protobuf::Message(),
1060 #endif // PROTOBUF_CUSTOM_VTABLE
1061 _impl_(::_pbi::ConstantInitialized()) {
1062 }
1063 struct ServiceDescriptorProtoDefaultTypeInternal {
1064 #if defined(PROTOBUF_CONSTINIT_DEFAULT_INSTANCES)
ServiceDescriptorProtoDefaultTypeInternalgoogle::protobuf::ServiceDescriptorProtoDefaultTypeInternal1065 constexpr ServiceDescriptorProtoDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
1066 #else // defined(PROTOBUF_CONSTINIT_DEFAULT_INSTANCES)
1067 ServiceDescriptorProtoDefaultTypeInternal() {}
1068 void Init() { ::new (&_instance) ServiceDescriptorProto(); };
1069 #endif // defined(PROTOBUF_CONSTINIT_DEFAULT_INSTANCES)
~ServiceDescriptorProtoDefaultTypeInternalgoogle::protobuf::ServiceDescriptorProtoDefaultTypeInternal1070 ~ServiceDescriptorProtoDefaultTypeInternal() {}
1071 union {
1072 ServiceDescriptorProto _instance;
1073 };
1074 };
1075
1076 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_EXPORT
1077 PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ServiceDescriptorProtoDefaultTypeInternal _ServiceDescriptorProto_default_instance_;
1078
Impl_(::_pbi::ConstantInitialized)1079 inline constexpr EnumDescriptorProto::Impl_::Impl_(
1080 ::_pbi::ConstantInitialized) noexcept
1081 : _cached_size_{0},
1082 value_{},
1083 reserved_range_{},
1084 reserved_name_{},
1085 name_(
1086 &::google::protobuf::internal::fixed_address_empty_string,
1087 ::_pbi::ConstantInitialized()),
1088 options_{nullptr} {}
1089
1090 template <typename>
EnumDescriptorProto(::_pbi::ConstantInitialized)1091 PROTOBUF_CONSTEXPR EnumDescriptorProto::EnumDescriptorProto(::_pbi::ConstantInitialized)
1092 #if defined(PROTOBUF_CUSTOM_VTABLE)
1093 : ::google::protobuf::Message(_class_data_.base()),
1094 #else // PROTOBUF_CUSTOM_VTABLE
1095 : ::google::protobuf::Message(),
1096 #endif // PROTOBUF_CUSTOM_VTABLE
1097 _impl_(::_pbi::ConstantInitialized()) {
1098 }
1099 struct EnumDescriptorProtoDefaultTypeInternal {
1100 #if defined(PROTOBUF_CONSTINIT_DEFAULT_INSTANCES)
EnumDescriptorProtoDefaultTypeInternalgoogle::protobuf::EnumDescriptorProtoDefaultTypeInternal1101 constexpr EnumDescriptorProtoDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
1102 #else // defined(PROTOBUF_CONSTINIT_DEFAULT_INSTANCES)
1103 EnumDescriptorProtoDefaultTypeInternal() {}
1104 void Init() { ::new (&_instance) EnumDescriptorProto(); };
1105 #endif // defined(PROTOBUF_CONSTINIT_DEFAULT_INSTANCES)
~EnumDescriptorProtoDefaultTypeInternalgoogle::protobuf::EnumDescriptorProtoDefaultTypeInternal1106 ~EnumDescriptorProtoDefaultTypeInternal() {}
1107 union {
1108 EnumDescriptorProto _instance;
1109 };
1110 };
1111
1112 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_EXPORT
1113 PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 EnumDescriptorProtoDefaultTypeInternal _EnumDescriptorProto_default_instance_;
1114
Impl_(::_pbi::ConstantInitialized)1115 inline constexpr DescriptorProto::Impl_::Impl_(
1116 ::_pbi::ConstantInitialized) noexcept
1117 : _cached_size_{0},
1118 field_{},
1119 nested_type_{},
1120 enum_type_{},
1121 extension_range_{},
1122 extension_{},
1123 oneof_decl_{},
1124 reserved_range_{},
1125 reserved_name_{},
1126 name_(
1127 &::google::protobuf::internal::fixed_address_empty_string,
1128 ::_pbi::ConstantInitialized()),
1129 options_{nullptr} {}
1130
1131 template <typename>
DescriptorProto(::_pbi::ConstantInitialized)1132 PROTOBUF_CONSTEXPR DescriptorProto::DescriptorProto(::_pbi::ConstantInitialized)
1133 #if defined(PROTOBUF_CUSTOM_VTABLE)
1134 : ::google::protobuf::Message(_class_data_.base()),
1135 #else // PROTOBUF_CUSTOM_VTABLE
1136 : ::google::protobuf::Message(),
1137 #endif // PROTOBUF_CUSTOM_VTABLE
1138 _impl_(::_pbi::ConstantInitialized()) {
1139 }
1140 struct DescriptorProtoDefaultTypeInternal {
1141 #if defined(PROTOBUF_CONSTINIT_DEFAULT_INSTANCES)
DescriptorProtoDefaultTypeInternalgoogle::protobuf::DescriptorProtoDefaultTypeInternal1142 constexpr DescriptorProtoDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
1143 #else // defined(PROTOBUF_CONSTINIT_DEFAULT_INSTANCES)
1144 DescriptorProtoDefaultTypeInternal() {}
1145 void Init() { ::new (&_instance) DescriptorProto(); };
1146 #endif // defined(PROTOBUF_CONSTINIT_DEFAULT_INSTANCES)
~DescriptorProtoDefaultTypeInternalgoogle::protobuf::DescriptorProtoDefaultTypeInternal1147 ~DescriptorProtoDefaultTypeInternal() {}
1148 union {
1149 DescriptorProto _instance;
1150 };
1151 };
1152
1153 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_EXPORT
1154 PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 DescriptorProtoDefaultTypeInternal _DescriptorProto_default_instance_;
1155
Impl_(::_pbi::ConstantInitialized)1156 inline constexpr FileDescriptorProto::Impl_::Impl_(
1157 ::_pbi::ConstantInitialized) noexcept
1158 : _cached_size_{0},
1159 dependency_{},
1160 message_type_{},
1161 enum_type_{},
1162 service_{},
1163 extension_{},
1164 public_dependency_{},
1165 weak_dependency_{},
1166 name_(
1167 &::google::protobuf::internal::fixed_address_empty_string,
1168 ::_pbi::ConstantInitialized()),
1169 package_(
1170 &::google::protobuf::internal::fixed_address_empty_string,
1171 ::_pbi::ConstantInitialized()),
1172 syntax_(
1173 &::google::protobuf::internal::fixed_address_empty_string,
1174 ::_pbi::ConstantInitialized()),
1175 options_{nullptr},
1176 source_code_info_{nullptr},
1177 edition_{static_cast< ::google::protobuf::Edition >(0)} {}
1178
1179 template <typename>
FileDescriptorProto(::_pbi::ConstantInitialized)1180 PROTOBUF_CONSTEXPR FileDescriptorProto::FileDescriptorProto(::_pbi::ConstantInitialized)
1181 #if defined(PROTOBUF_CUSTOM_VTABLE)
1182 : ::google::protobuf::Message(_class_data_.base()),
1183 #else // PROTOBUF_CUSTOM_VTABLE
1184 : ::google::protobuf::Message(),
1185 #endif // PROTOBUF_CUSTOM_VTABLE
1186 _impl_(::_pbi::ConstantInitialized()) {
1187 }
1188 struct FileDescriptorProtoDefaultTypeInternal {
1189 #if defined(PROTOBUF_CONSTINIT_DEFAULT_INSTANCES)
FileDescriptorProtoDefaultTypeInternalgoogle::protobuf::FileDescriptorProtoDefaultTypeInternal1190 constexpr FileDescriptorProtoDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
1191 #else // defined(PROTOBUF_CONSTINIT_DEFAULT_INSTANCES)
1192 FileDescriptorProtoDefaultTypeInternal() {}
1193 void Init() { ::new (&_instance) FileDescriptorProto(); };
1194 #endif // defined(PROTOBUF_CONSTINIT_DEFAULT_INSTANCES)
~FileDescriptorProtoDefaultTypeInternalgoogle::protobuf::FileDescriptorProtoDefaultTypeInternal1195 ~FileDescriptorProtoDefaultTypeInternal() {}
1196 union {
1197 FileDescriptorProto _instance;
1198 };
1199 };
1200
1201 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_EXPORT
1202 PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 FileDescriptorProtoDefaultTypeInternal _FileDescriptorProto_default_instance_;
1203
Impl_(::_pbi::ConstantInitialized)1204 inline constexpr FileDescriptorSet::Impl_::Impl_(
1205 ::_pbi::ConstantInitialized) noexcept
1206 : file_{},
1207 _cached_size_{0} {}
1208
1209 template <typename>
FileDescriptorSet(::_pbi::ConstantInitialized)1210 PROTOBUF_CONSTEXPR FileDescriptorSet::FileDescriptorSet(::_pbi::ConstantInitialized)
1211 #if defined(PROTOBUF_CUSTOM_VTABLE)
1212 : ::google::protobuf::Message(_class_data_.base()),
1213 #else // PROTOBUF_CUSTOM_VTABLE
1214 : ::google::protobuf::Message(),
1215 #endif // PROTOBUF_CUSTOM_VTABLE
1216 _impl_(::_pbi::ConstantInitialized()) {
1217 }
1218 struct FileDescriptorSetDefaultTypeInternal {
1219 #if defined(PROTOBUF_CONSTINIT_DEFAULT_INSTANCES)
FileDescriptorSetDefaultTypeInternalgoogle::protobuf::FileDescriptorSetDefaultTypeInternal1220 constexpr FileDescriptorSetDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
1221 #else // defined(PROTOBUF_CONSTINIT_DEFAULT_INSTANCES)
1222 FileDescriptorSetDefaultTypeInternal() {}
1223 void Init() { ::new (&_instance) FileDescriptorSet(); };
1224 #endif // defined(PROTOBUF_CONSTINIT_DEFAULT_INSTANCES)
~FileDescriptorSetDefaultTypeInternalgoogle::protobuf::FileDescriptorSetDefaultTypeInternal1225 ~FileDescriptorSetDefaultTypeInternal() {}
1226 union {
1227 FileDescriptorSet _instance;
1228 };
1229 };
1230
1231 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_EXPORT
1232 PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 FileDescriptorSetDefaultTypeInternal _FileDescriptorSet_default_instance_;
1233 } // namespace protobuf
1234 } // namespace google
1235 static const ::_pb::EnumDescriptor* file_level_enum_descriptors_google_2fprotobuf_2fdescriptor_2eproto[17];
1236 static constexpr const ::_pb::ServiceDescriptor**
1237 file_level_service_descriptors_google_2fprotobuf_2fdescriptor_2eproto = nullptr;
1238 const ::uint32_t
1239 TableStruct_google_2fprotobuf_2fdescriptor_2eproto::offsets[] ABSL_ATTRIBUTE_SECTION_VARIABLE(
1240 protodesc_cold) = {
1241 ~0u, // no _has_bits_
1242 PROTOBUF_FIELD_OFFSET(::google::protobuf::FileDescriptorSet, _internal_metadata_),
1243 PROTOBUF_FIELD_OFFSET(::google::protobuf::FileDescriptorSet, _impl_._extensions_),
1244 ~0u, // no _oneof_case_
1245 ~0u, // no _weak_field_map_
1246 ~0u, // no _inlined_string_donated_
1247 ~0u, // no _split_
1248 ~0u, // no sizeof(Split)
1249 PROTOBUF_FIELD_OFFSET(::google::protobuf::FileDescriptorSet, _impl_.file_),
1250 PROTOBUF_FIELD_OFFSET(::google::protobuf::FileDescriptorProto, _impl_._has_bits_),
1251 PROTOBUF_FIELD_OFFSET(::google::protobuf::FileDescriptorProto, _internal_metadata_),
1252 ~0u, // no _extensions_
1253 ~0u, // no _oneof_case_
1254 ~0u, // no _weak_field_map_
1255 ~0u, // no _inlined_string_donated_
1256 ~0u, // no _split_
1257 ~0u, // no sizeof(Split)
1258 PROTOBUF_FIELD_OFFSET(::google::protobuf::FileDescriptorProto, _impl_.name_),
1259 PROTOBUF_FIELD_OFFSET(::google::protobuf::FileDescriptorProto, _impl_.package_),
1260 PROTOBUF_FIELD_OFFSET(::google::protobuf::FileDescriptorProto, _impl_.dependency_),
1261 PROTOBUF_FIELD_OFFSET(::google::protobuf::FileDescriptorProto, _impl_.public_dependency_),
1262 PROTOBUF_FIELD_OFFSET(::google::protobuf::FileDescriptorProto, _impl_.weak_dependency_),
1263 PROTOBUF_FIELD_OFFSET(::google::protobuf::FileDescriptorProto, _impl_.message_type_),
1264 PROTOBUF_FIELD_OFFSET(::google::protobuf::FileDescriptorProto, _impl_.enum_type_),
1265 PROTOBUF_FIELD_OFFSET(::google::protobuf::FileDescriptorProto, _impl_.service_),
1266 PROTOBUF_FIELD_OFFSET(::google::protobuf::FileDescriptorProto, _impl_.extension_),
1267 PROTOBUF_FIELD_OFFSET(::google::protobuf::FileDescriptorProto, _impl_.options_),
1268 PROTOBUF_FIELD_OFFSET(::google::protobuf::FileDescriptorProto, _impl_.source_code_info_),
1269 PROTOBUF_FIELD_OFFSET(::google::protobuf::FileDescriptorProto, _impl_.syntax_),
1270 PROTOBUF_FIELD_OFFSET(::google::protobuf::FileDescriptorProto, _impl_.edition_),
1271 0,
1272 1,
1273 ~0u,
1274 ~0u,
1275 ~0u,
1276 ~0u,
1277 ~0u,
1278 ~0u,
1279 ~0u,
1280 3,
1281 4,
1282 2,
1283 5,
1284 PROTOBUF_FIELD_OFFSET(::google::protobuf::DescriptorProto_ExtensionRange, _impl_._has_bits_),
1285 PROTOBUF_FIELD_OFFSET(::google::protobuf::DescriptorProto_ExtensionRange, _internal_metadata_),
1286 ~0u, // no _extensions_
1287 ~0u, // no _oneof_case_
1288 ~0u, // no _weak_field_map_
1289 ~0u, // no _inlined_string_donated_
1290 ~0u, // no _split_
1291 ~0u, // no sizeof(Split)
1292 PROTOBUF_FIELD_OFFSET(::google::protobuf::DescriptorProto_ExtensionRange, _impl_.start_),
1293 PROTOBUF_FIELD_OFFSET(::google::protobuf::DescriptorProto_ExtensionRange, _impl_.end_),
1294 PROTOBUF_FIELD_OFFSET(::google::protobuf::DescriptorProto_ExtensionRange, _impl_.options_),
1295 1,
1296 2,
1297 0,
1298 PROTOBUF_FIELD_OFFSET(::google::protobuf::DescriptorProto_ReservedRange, _impl_._has_bits_),
1299 PROTOBUF_FIELD_OFFSET(::google::protobuf::DescriptorProto_ReservedRange, _internal_metadata_),
1300 ~0u, // no _extensions_
1301 ~0u, // no _oneof_case_
1302 ~0u, // no _weak_field_map_
1303 ~0u, // no _inlined_string_donated_
1304 ~0u, // no _split_
1305 ~0u, // no sizeof(Split)
1306 PROTOBUF_FIELD_OFFSET(::google::protobuf::DescriptorProto_ReservedRange, _impl_.start_),
1307 PROTOBUF_FIELD_OFFSET(::google::protobuf::DescriptorProto_ReservedRange, _impl_.end_),
1308 0,
1309 1,
1310 PROTOBUF_FIELD_OFFSET(::google::protobuf::DescriptorProto, _impl_._has_bits_),
1311 PROTOBUF_FIELD_OFFSET(::google::protobuf::DescriptorProto, _internal_metadata_),
1312 ~0u, // no _extensions_
1313 ~0u, // no _oneof_case_
1314 ~0u, // no _weak_field_map_
1315 ~0u, // no _inlined_string_donated_
1316 ~0u, // no _split_
1317 ~0u, // no sizeof(Split)
1318 PROTOBUF_FIELD_OFFSET(::google::protobuf::DescriptorProto, _impl_.name_),
1319 PROTOBUF_FIELD_OFFSET(::google::protobuf::DescriptorProto, _impl_.field_),
1320 PROTOBUF_FIELD_OFFSET(::google::protobuf::DescriptorProto, _impl_.extension_),
1321 PROTOBUF_FIELD_OFFSET(::google::protobuf::DescriptorProto, _impl_.nested_type_),
1322 PROTOBUF_FIELD_OFFSET(::google::protobuf::DescriptorProto, _impl_.enum_type_),
1323 PROTOBUF_FIELD_OFFSET(::google::protobuf::DescriptorProto, _impl_.extension_range_),
1324 PROTOBUF_FIELD_OFFSET(::google::protobuf::DescriptorProto, _impl_.oneof_decl_),
1325 PROTOBUF_FIELD_OFFSET(::google::protobuf::DescriptorProto, _impl_.options_),
1326 PROTOBUF_FIELD_OFFSET(::google::protobuf::DescriptorProto, _impl_.reserved_range_),
1327 PROTOBUF_FIELD_OFFSET(::google::protobuf::DescriptorProto, _impl_.reserved_name_),
1328 0,
1329 ~0u,
1330 ~0u,
1331 ~0u,
1332 ~0u,
1333 ~0u,
1334 ~0u,
1335 1,
1336 ~0u,
1337 ~0u,
1338 PROTOBUF_FIELD_OFFSET(::google::protobuf::ExtensionRangeOptions_Declaration, _impl_._has_bits_),
1339 PROTOBUF_FIELD_OFFSET(::google::protobuf::ExtensionRangeOptions_Declaration, _internal_metadata_),
1340 ~0u, // no _extensions_
1341 ~0u, // no _oneof_case_
1342 ~0u, // no _weak_field_map_
1343 ~0u, // no _inlined_string_donated_
1344 ~0u, // no _split_
1345 ~0u, // no sizeof(Split)
1346 PROTOBUF_FIELD_OFFSET(::google::protobuf::ExtensionRangeOptions_Declaration, _impl_.number_),
1347 PROTOBUF_FIELD_OFFSET(::google::protobuf::ExtensionRangeOptions_Declaration, _impl_.full_name_),
1348 PROTOBUF_FIELD_OFFSET(::google::protobuf::ExtensionRangeOptions_Declaration, _impl_.type_),
1349 PROTOBUF_FIELD_OFFSET(::google::protobuf::ExtensionRangeOptions_Declaration, _impl_.reserved_),
1350 PROTOBUF_FIELD_OFFSET(::google::protobuf::ExtensionRangeOptions_Declaration, _impl_.repeated_),
1351 2,
1352 0,
1353 1,
1354 3,
1355 4,
1356 PROTOBUF_FIELD_OFFSET(::google::protobuf::ExtensionRangeOptions, _impl_._has_bits_),
1357 PROTOBUF_FIELD_OFFSET(::google::protobuf::ExtensionRangeOptions, _internal_metadata_),
1358 PROTOBUF_FIELD_OFFSET(::google::protobuf::ExtensionRangeOptions, _impl_._extensions_),
1359 ~0u, // no _oneof_case_
1360 ~0u, // no _weak_field_map_
1361 ~0u, // no _inlined_string_donated_
1362 ~0u, // no _split_
1363 ~0u, // no sizeof(Split)
1364 PROTOBUF_FIELD_OFFSET(::google::protobuf::ExtensionRangeOptions, _impl_.uninterpreted_option_),
1365 PROTOBUF_FIELD_OFFSET(::google::protobuf::ExtensionRangeOptions, _impl_.declaration_),
1366 PROTOBUF_FIELD_OFFSET(::google::protobuf::ExtensionRangeOptions, _impl_.features_),
1367 PROTOBUF_FIELD_OFFSET(::google::protobuf::ExtensionRangeOptions, _impl_.verification_),
1368 ~0u,
1369 ~0u,
1370 0,
1371 1,
1372 PROTOBUF_FIELD_OFFSET(::google::protobuf::FieldDescriptorProto, _impl_._has_bits_),
1373 PROTOBUF_FIELD_OFFSET(::google::protobuf::FieldDescriptorProto, _internal_metadata_),
1374 ~0u, // no _extensions_
1375 ~0u, // no _oneof_case_
1376 ~0u, // no _weak_field_map_
1377 ~0u, // no _inlined_string_donated_
1378 ~0u, // no _split_
1379 ~0u, // no sizeof(Split)
1380 PROTOBUF_FIELD_OFFSET(::google::protobuf::FieldDescriptorProto, _impl_.name_),
1381 PROTOBUF_FIELD_OFFSET(::google::protobuf::FieldDescriptorProto, _impl_.number_),
1382 PROTOBUF_FIELD_OFFSET(::google::protobuf::FieldDescriptorProto, _impl_.label_),
1383 PROTOBUF_FIELD_OFFSET(::google::protobuf::FieldDescriptorProto, _impl_.type_),
1384 PROTOBUF_FIELD_OFFSET(::google::protobuf::FieldDescriptorProto, _impl_.type_name_),
1385 PROTOBUF_FIELD_OFFSET(::google::protobuf::FieldDescriptorProto, _impl_.extendee_),
1386 PROTOBUF_FIELD_OFFSET(::google::protobuf::FieldDescriptorProto, _impl_.default_value_),
1387 PROTOBUF_FIELD_OFFSET(::google::protobuf::FieldDescriptorProto, _impl_.oneof_index_),
1388 PROTOBUF_FIELD_OFFSET(::google::protobuf::FieldDescriptorProto, _impl_.json_name_),
1389 PROTOBUF_FIELD_OFFSET(::google::protobuf::FieldDescriptorProto, _impl_.options_),
1390 PROTOBUF_FIELD_OFFSET(::google::protobuf::FieldDescriptorProto, _impl_.proto3_optional_),
1391 0,
1392 6,
1393 9,
1394 10,
1395 2,
1396 1,
1397 3,
1398 7,
1399 4,
1400 5,
1401 8,
1402 PROTOBUF_FIELD_OFFSET(::google::protobuf::OneofDescriptorProto, _impl_._has_bits_),
1403 PROTOBUF_FIELD_OFFSET(::google::protobuf::OneofDescriptorProto, _internal_metadata_),
1404 ~0u, // no _extensions_
1405 ~0u, // no _oneof_case_
1406 ~0u, // no _weak_field_map_
1407 ~0u, // no _inlined_string_donated_
1408 ~0u, // no _split_
1409 ~0u, // no sizeof(Split)
1410 PROTOBUF_FIELD_OFFSET(::google::protobuf::OneofDescriptorProto, _impl_.name_),
1411 PROTOBUF_FIELD_OFFSET(::google::protobuf::OneofDescriptorProto, _impl_.options_),
1412 0,
1413 1,
1414 PROTOBUF_FIELD_OFFSET(::google::protobuf::EnumDescriptorProto_EnumReservedRange, _impl_._has_bits_),
1415 PROTOBUF_FIELD_OFFSET(::google::protobuf::EnumDescriptorProto_EnumReservedRange, _internal_metadata_),
1416 ~0u, // no _extensions_
1417 ~0u, // no _oneof_case_
1418 ~0u, // no _weak_field_map_
1419 ~0u, // no _inlined_string_donated_
1420 ~0u, // no _split_
1421 ~0u, // no sizeof(Split)
1422 PROTOBUF_FIELD_OFFSET(::google::protobuf::EnumDescriptorProto_EnumReservedRange, _impl_.start_),
1423 PROTOBUF_FIELD_OFFSET(::google::protobuf::EnumDescriptorProto_EnumReservedRange, _impl_.end_),
1424 0,
1425 1,
1426 PROTOBUF_FIELD_OFFSET(::google::protobuf::EnumDescriptorProto, _impl_._has_bits_),
1427 PROTOBUF_FIELD_OFFSET(::google::protobuf::EnumDescriptorProto, _internal_metadata_),
1428 ~0u, // no _extensions_
1429 ~0u, // no _oneof_case_
1430 ~0u, // no _weak_field_map_
1431 ~0u, // no _inlined_string_donated_
1432 ~0u, // no _split_
1433 ~0u, // no sizeof(Split)
1434 PROTOBUF_FIELD_OFFSET(::google::protobuf::EnumDescriptorProto, _impl_.name_),
1435 PROTOBUF_FIELD_OFFSET(::google::protobuf::EnumDescriptorProto, _impl_.value_),
1436 PROTOBUF_FIELD_OFFSET(::google::protobuf::EnumDescriptorProto, _impl_.options_),
1437 PROTOBUF_FIELD_OFFSET(::google::protobuf::EnumDescriptorProto, _impl_.reserved_range_),
1438 PROTOBUF_FIELD_OFFSET(::google::protobuf::EnumDescriptorProto, _impl_.reserved_name_),
1439 0,
1440 ~0u,
1441 1,
1442 ~0u,
1443 ~0u,
1444 PROTOBUF_FIELD_OFFSET(::google::protobuf::EnumValueDescriptorProto, _impl_._has_bits_),
1445 PROTOBUF_FIELD_OFFSET(::google::protobuf::EnumValueDescriptorProto, _internal_metadata_),
1446 ~0u, // no _extensions_
1447 ~0u, // no _oneof_case_
1448 ~0u, // no _weak_field_map_
1449 ~0u, // no _inlined_string_donated_
1450 ~0u, // no _split_
1451 ~0u, // no sizeof(Split)
1452 PROTOBUF_FIELD_OFFSET(::google::protobuf::EnumValueDescriptorProto, _impl_.name_),
1453 PROTOBUF_FIELD_OFFSET(::google::protobuf::EnumValueDescriptorProto, _impl_.number_),
1454 PROTOBUF_FIELD_OFFSET(::google::protobuf::EnumValueDescriptorProto, _impl_.options_),
1455 0,
1456 2,
1457 1,
1458 PROTOBUF_FIELD_OFFSET(::google::protobuf::ServiceDescriptorProto, _impl_._has_bits_),
1459 PROTOBUF_FIELD_OFFSET(::google::protobuf::ServiceDescriptorProto, _internal_metadata_),
1460 ~0u, // no _extensions_
1461 ~0u, // no _oneof_case_
1462 ~0u, // no _weak_field_map_
1463 ~0u, // no _inlined_string_donated_
1464 ~0u, // no _split_
1465 ~0u, // no sizeof(Split)
1466 PROTOBUF_FIELD_OFFSET(::google::protobuf::ServiceDescriptorProto, _impl_.name_),
1467 PROTOBUF_FIELD_OFFSET(::google::protobuf::ServiceDescriptorProto, _impl_.method_),
1468 PROTOBUF_FIELD_OFFSET(::google::protobuf::ServiceDescriptorProto, _impl_.options_),
1469 0,
1470 ~0u,
1471 1,
1472 PROTOBUF_FIELD_OFFSET(::google::protobuf::MethodDescriptorProto, _impl_._has_bits_),
1473 PROTOBUF_FIELD_OFFSET(::google::protobuf::MethodDescriptorProto, _internal_metadata_),
1474 ~0u, // no _extensions_
1475 ~0u, // no _oneof_case_
1476 ~0u, // no _weak_field_map_
1477 ~0u, // no _inlined_string_donated_
1478 ~0u, // no _split_
1479 ~0u, // no sizeof(Split)
1480 PROTOBUF_FIELD_OFFSET(::google::protobuf::MethodDescriptorProto, _impl_.name_),
1481 PROTOBUF_FIELD_OFFSET(::google::protobuf::MethodDescriptorProto, _impl_.input_type_),
1482 PROTOBUF_FIELD_OFFSET(::google::protobuf::MethodDescriptorProto, _impl_.output_type_),
1483 PROTOBUF_FIELD_OFFSET(::google::protobuf::MethodDescriptorProto, _impl_.options_),
1484 PROTOBUF_FIELD_OFFSET(::google::protobuf::MethodDescriptorProto, _impl_.client_streaming_),
1485 PROTOBUF_FIELD_OFFSET(::google::protobuf::MethodDescriptorProto, _impl_.server_streaming_),
1486 0,
1487 1,
1488 2,
1489 3,
1490 4,
1491 5,
1492 PROTOBUF_FIELD_OFFSET(::google::protobuf::FileOptions, _impl_._has_bits_),
1493 PROTOBUF_FIELD_OFFSET(::google::protobuf::FileOptions, _internal_metadata_),
1494 PROTOBUF_FIELD_OFFSET(::google::protobuf::FileOptions, _impl_._extensions_),
1495 ~0u, // no _oneof_case_
1496 ~0u, // no _weak_field_map_
1497 ~0u, // no _inlined_string_donated_
1498 ~0u, // no _split_
1499 ~0u, // no sizeof(Split)
1500 PROTOBUF_FIELD_OFFSET(::google::protobuf::FileOptions, _impl_.java_package_),
1501 PROTOBUF_FIELD_OFFSET(::google::protobuf::FileOptions, _impl_.java_outer_classname_),
1502 PROTOBUF_FIELD_OFFSET(::google::protobuf::FileOptions, _impl_.java_multiple_files_),
1503 PROTOBUF_FIELD_OFFSET(::google::protobuf::FileOptions, _impl_.java_generate_equals_and_hash_),
1504 PROTOBUF_FIELD_OFFSET(::google::protobuf::FileOptions, _impl_.java_string_check_utf8_),
1505 PROTOBUF_FIELD_OFFSET(::google::protobuf::FileOptions, _impl_.optimize_for_),
1506 PROTOBUF_FIELD_OFFSET(::google::protobuf::FileOptions, _impl_.go_package_),
1507 PROTOBUF_FIELD_OFFSET(::google::protobuf::FileOptions, _impl_.cc_generic_services_),
1508 PROTOBUF_FIELD_OFFSET(::google::protobuf::FileOptions, _impl_.java_generic_services_),
1509 PROTOBUF_FIELD_OFFSET(::google::protobuf::FileOptions, _impl_.py_generic_services_),
1510 PROTOBUF_FIELD_OFFSET(::google::protobuf::FileOptions, _impl_.deprecated_),
1511 PROTOBUF_FIELD_OFFSET(::google::protobuf::FileOptions, _impl_.cc_enable_arenas_),
1512 PROTOBUF_FIELD_OFFSET(::google::protobuf::FileOptions, _impl_.objc_class_prefix_),
1513 PROTOBUF_FIELD_OFFSET(::google::protobuf::FileOptions, _impl_.csharp_namespace_),
1514 PROTOBUF_FIELD_OFFSET(::google::protobuf::FileOptions, _impl_.swift_prefix_),
1515 PROTOBUF_FIELD_OFFSET(::google::protobuf::FileOptions, _impl_.php_class_prefix_),
1516 PROTOBUF_FIELD_OFFSET(::google::protobuf::FileOptions, _impl_.php_namespace_),
1517 PROTOBUF_FIELD_OFFSET(::google::protobuf::FileOptions, _impl_.php_metadata_namespace_),
1518 PROTOBUF_FIELD_OFFSET(::google::protobuf::FileOptions, _impl_.ruby_package_),
1519 PROTOBUF_FIELD_OFFSET(::google::protobuf::FileOptions, _impl_.features_),
1520 PROTOBUF_FIELD_OFFSET(::google::protobuf::FileOptions, _impl_.uninterpreted_option_),
1521 0,
1522 1,
1523 11,
1524 12,
1525 13,
1526 18,
1527 2,
1528 14,
1529 15,
1530 16,
1531 17,
1532 19,
1533 3,
1534 4,
1535 5,
1536 6,
1537 7,
1538 8,
1539 9,
1540 10,
1541 ~0u,
1542 PROTOBUF_FIELD_OFFSET(::google::protobuf::MessageOptions, _impl_._has_bits_),
1543 PROTOBUF_FIELD_OFFSET(::google::protobuf::MessageOptions, _internal_metadata_),
1544 PROTOBUF_FIELD_OFFSET(::google::protobuf::MessageOptions, _impl_._extensions_),
1545 ~0u, // no _oneof_case_
1546 ~0u, // no _weak_field_map_
1547 ~0u, // no _inlined_string_donated_
1548 ~0u, // no _split_
1549 ~0u, // no sizeof(Split)
1550 PROTOBUF_FIELD_OFFSET(::google::protobuf::MessageOptions, _impl_.message_set_wire_format_),
1551 PROTOBUF_FIELD_OFFSET(::google::protobuf::MessageOptions, _impl_.no_standard_descriptor_accessor_),
1552 PROTOBUF_FIELD_OFFSET(::google::protobuf::MessageOptions, _impl_.deprecated_),
1553 PROTOBUF_FIELD_OFFSET(::google::protobuf::MessageOptions, _impl_.map_entry_),
1554 PROTOBUF_FIELD_OFFSET(::google::protobuf::MessageOptions, _impl_.deprecated_legacy_json_field_conflicts_),
1555 PROTOBUF_FIELD_OFFSET(::google::protobuf::MessageOptions, _impl_.features_),
1556 PROTOBUF_FIELD_OFFSET(::google::protobuf::MessageOptions, _impl_.uninterpreted_option_),
1557 1,
1558 2,
1559 3,
1560 4,
1561 5,
1562 0,
1563 ~0u,
1564 PROTOBUF_FIELD_OFFSET(::google::protobuf::FieldOptions_EditionDefault, _impl_._has_bits_),
1565 PROTOBUF_FIELD_OFFSET(::google::protobuf::FieldOptions_EditionDefault, _internal_metadata_),
1566 ~0u, // no _extensions_
1567 ~0u, // no _oneof_case_
1568 ~0u, // no _weak_field_map_
1569 ~0u, // no _inlined_string_donated_
1570 ~0u, // no _split_
1571 ~0u, // no sizeof(Split)
1572 PROTOBUF_FIELD_OFFSET(::google::protobuf::FieldOptions_EditionDefault, _impl_.edition_),
1573 PROTOBUF_FIELD_OFFSET(::google::protobuf::FieldOptions_EditionDefault, _impl_.value_),
1574 1,
1575 0,
1576 PROTOBUF_FIELD_OFFSET(::google::protobuf::FieldOptions_FeatureSupport, _impl_._has_bits_),
1577 PROTOBUF_FIELD_OFFSET(::google::protobuf::FieldOptions_FeatureSupport, _internal_metadata_),
1578 ~0u, // no _extensions_
1579 ~0u, // no _oneof_case_
1580 ~0u, // no _weak_field_map_
1581 ~0u, // no _inlined_string_donated_
1582 ~0u, // no _split_
1583 ~0u, // no sizeof(Split)
1584 PROTOBUF_FIELD_OFFSET(::google::protobuf::FieldOptions_FeatureSupport, _impl_.edition_introduced_),
1585 PROTOBUF_FIELD_OFFSET(::google::protobuf::FieldOptions_FeatureSupport, _impl_.edition_deprecated_),
1586 PROTOBUF_FIELD_OFFSET(::google::protobuf::FieldOptions_FeatureSupport, _impl_.deprecation_warning_),
1587 PROTOBUF_FIELD_OFFSET(::google::protobuf::FieldOptions_FeatureSupport, _impl_.edition_removed_),
1588 1,
1589 2,
1590 0,
1591 3,
1592 PROTOBUF_FIELD_OFFSET(::google::protobuf::FieldOptions, _impl_._has_bits_),
1593 PROTOBUF_FIELD_OFFSET(::google::protobuf::FieldOptions, _internal_metadata_),
1594 PROTOBUF_FIELD_OFFSET(::google::protobuf::FieldOptions, _impl_._extensions_),
1595 ~0u, // no _oneof_case_
1596 ~0u, // no _weak_field_map_
1597 ~0u, // no _inlined_string_donated_
1598 ~0u, // no _split_
1599 ~0u, // no sizeof(Split)
1600 PROTOBUF_FIELD_OFFSET(::google::protobuf::FieldOptions, _impl_.ctype_),
1601 PROTOBUF_FIELD_OFFSET(::google::protobuf::FieldOptions, _impl_.packed_),
1602 PROTOBUF_FIELD_OFFSET(::google::protobuf::FieldOptions, _impl_.jstype_),
1603 PROTOBUF_FIELD_OFFSET(::google::protobuf::FieldOptions, _impl_.lazy_),
1604 PROTOBUF_FIELD_OFFSET(::google::protobuf::FieldOptions, _impl_.unverified_lazy_),
1605 PROTOBUF_FIELD_OFFSET(::google::protobuf::FieldOptions, _impl_.deprecated_),
1606 PROTOBUF_FIELD_OFFSET(::google::protobuf::FieldOptions, _impl_.weak_),
1607 PROTOBUF_FIELD_OFFSET(::google::protobuf::FieldOptions, _impl_.debug_redact_),
1608 PROTOBUF_FIELD_OFFSET(::google::protobuf::FieldOptions, _impl_.retention_),
1609 PROTOBUF_FIELD_OFFSET(::google::protobuf::FieldOptions, _impl_.targets_),
1610 PROTOBUF_FIELD_OFFSET(::google::protobuf::FieldOptions, _impl_.edition_defaults_),
1611 PROTOBUF_FIELD_OFFSET(::google::protobuf::FieldOptions, _impl_.features_),
1612 PROTOBUF_FIELD_OFFSET(::google::protobuf::FieldOptions, _impl_.feature_support_),
1613 PROTOBUF_FIELD_OFFSET(::google::protobuf::FieldOptions, _impl_.uninterpreted_option_),
1614 2,
1615 4,
1616 3,
1617 5,
1618 6,
1619 7,
1620 8,
1621 9,
1622 10,
1623 ~0u,
1624 ~0u,
1625 0,
1626 1,
1627 ~0u,
1628 PROTOBUF_FIELD_OFFSET(::google::protobuf::OneofOptions, _impl_._has_bits_),
1629 PROTOBUF_FIELD_OFFSET(::google::protobuf::OneofOptions, _internal_metadata_),
1630 PROTOBUF_FIELD_OFFSET(::google::protobuf::OneofOptions, _impl_._extensions_),
1631 ~0u, // no _oneof_case_
1632 ~0u, // no _weak_field_map_
1633 ~0u, // no _inlined_string_donated_
1634 ~0u, // no _split_
1635 ~0u, // no sizeof(Split)
1636 PROTOBUF_FIELD_OFFSET(::google::protobuf::OneofOptions, _impl_.features_),
1637 PROTOBUF_FIELD_OFFSET(::google::protobuf::OneofOptions, _impl_.uninterpreted_option_),
1638 0,
1639 ~0u,
1640 PROTOBUF_FIELD_OFFSET(::google::protobuf::EnumOptions, _impl_._has_bits_),
1641 PROTOBUF_FIELD_OFFSET(::google::protobuf::EnumOptions, _internal_metadata_),
1642 PROTOBUF_FIELD_OFFSET(::google::protobuf::EnumOptions, _impl_._extensions_),
1643 ~0u, // no _oneof_case_
1644 ~0u, // no _weak_field_map_
1645 ~0u, // no _inlined_string_donated_
1646 ~0u, // no _split_
1647 ~0u, // no sizeof(Split)
1648 PROTOBUF_FIELD_OFFSET(::google::protobuf::EnumOptions, _impl_.allow_alias_),
1649 PROTOBUF_FIELD_OFFSET(::google::protobuf::EnumOptions, _impl_.deprecated_),
1650 PROTOBUF_FIELD_OFFSET(::google::protobuf::EnumOptions, _impl_.deprecated_legacy_json_field_conflicts_),
1651 PROTOBUF_FIELD_OFFSET(::google::protobuf::EnumOptions, _impl_.features_),
1652 PROTOBUF_FIELD_OFFSET(::google::protobuf::EnumOptions, _impl_.uninterpreted_option_),
1653 1,
1654 2,
1655 3,
1656 0,
1657 ~0u,
1658 PROTOBUF_FIELD_OFFSET(::google::protobuf::EnumValueOptions, _impl_._has_bits_),
1659 PROTOBUF_FIELD_OFFSET(::google::protobuf::EnumValueOptions, _internal_metadata_),
1660 PROTOBUF_FIELD_OFFSET(::google::protobuf::EnumValueOptions, _impl_._extensions_),
1661 ~0u, // no _oneof_case_
1662 ~0u, // no _weak_field_map_
1663 ~0u, // no _inlined_string_donated_
1664 ~0u, // no _split_
1665 ~0u, // no sizeof(Split)
1666 PROTOBUF_FIELD_OFFSET(::google::protobuf::EnumValueOptions, _impl_.deprecated_),
1667 PROTOBUF_FIELD_OFFSET(::google::protobuf::EnumValueOptions, _impl_.features_),
1668 PROTOBUF_FIELD_OFFSET(::google::protobuf::EnumValueOptions, _impl_.debug_redact_),
1669 PROTOBUF_FIELD_OFFSET(::google::protobuf::EnumValueOptions, _impl_.feature_support_),
1670 PROTOBUF_FIELD_OFFSET(::google::protobuf::EnumValueOptions, _impl_.uninterpreted_option_),
1671 2,
1672 0,
1673 3,
1674 1,
1675 ~0u,
1676 PROTOBUF_FIELD_OFFSET(::google::protobuf::ServiceOptions, _impl_._has_bits_),
1677 PROTOBUF_FIELD_OFFSET(::google::protobuf::ServiceOptions, _internal_metadata_),
1678 PROTOBUF_FIELD_OFFSET(::google::protobuf::ServiceOptions, _impl_._extensions_),
1679 ~0u, // no _oneof_case_
1680 ~0u, // no _weak_field_map_
1681 ~0u, // no _inlined_string_donated_
1682 ~0u, // no _split_
1683 ~0u, // no sizeof(Split)
1684 PROTOBUF_FIELD_OFFSET(::google::protobuf::ServiceOptions, _impl_.features_),
1685 PROTOBUF_FIELD_OFFSET(::google::protobuf::ServiceOptions, _impl_.deprecated_),
1686 PROTOBUF_FIELD_OFFSET(::google::protobuf::ServiceOptions, _impl_.uninterpreted_option_),
1687 0,
1688 1,
1689 ~0u,
1690 PROTOBUF_FIELD_OFFSET(::google::protobuf::MethodOptions, _impl_._has_bits_),
1691 PROTOBUF_FIELD_OFFSET(::google::protobuf::MethodOptions, _internal_metadata_),
1692 PROTOBUF_FIELD_OFFSET(::google::protobuf::MethodOptions, _impl_._extensions_),
1693 ~0u, // no _oneof_case_
1694 ~0u, // no _weak_field_map_
1695 ~0u, // no _inlined_string_donated_
1696 ~0u, // no _split_
1697 ~0u, // no sizeof(Split)
1698 PROTOBUF_FIELD_OFFSET(::google::protobuf::MethodOptions, _impl_.deprecated_),
1699 PROTOBUF_FIELD_OFFSET(::google::protobuf::MethodOptions, _impl_.idempotency_level_),
1700 PROTOBUF_FIELD_OFFSET(::google::protobuf::MethodOptions, _impl_.features_),
1701 PROTOBUF_FIELD_OFFSET(::google::protobuf::MethodOptions, _impl_.uninterpreted_option_),
1702 1,
1703 2,
1704 0,
1705 ~0u,
1706 PROTOBUF_FIELD_OFFSET(::google::protobuf::UninterpretedOption_NamePart, _impl_._has_bits_),
1707 PROTOBUF_FIELD_OFFSET(::google::protobuf::UninterpretedOption_NamePart, _internal_metadata_),
1708 ~0u, // no _extensions_
1709 ~0u, // no _oneof_case_
1710 ~0u, // no _weak_field_map_
1711 ~0u, // no _inlined_string_donated_
1712 ~0u, // no _split_
1713 ~0u, // no sizeof(Split)
1714 PROTOBUF_FIELD_OFFSET(::google::protobuf::UninterpretedOption_NamePart, _impl_.name_part_),
1715 PROTOBUF_FIELD_OFFSET(::google::protobuf::UninterpretedOption_NamePart, _impl_.is_extension_),
1716 0,
1717 1,
1718 PROTOBUF_FIELD_OFFSET(::google::protobuf::UninterpretedOption, _impl_._has_bits_),
1719 PROTOBUF_FIELD_OFFSET(::google::protobuf::UninterpretedOption, _internal_metadata_),
1720 ~0u, // no _extensions_
1721 ~0u, // no _oneof_case_
1722 ~0u, // no _weak_field_map_
1723 ~0u, // no _inlined_string_donated_
1724 ~0u, // no _split_
1725 ~0u, // no sizeof(Split)
1726 PROTOBUF_FIELD_OFFSET(::google::protobuf::UninterpretedOption, _impl_.name_),
1727 PROTOBUF_FIELD_OFFSET(::google::protobuf::UninterpretedOption, _impl_.identifier_value_),
1728 PROTOBUF_FIELD_OFFSET(::google::protobuf::UninterpretedOption, _impl_.positive_int_value_),
1729 PROTOBUF_FIELD_OFFSET(::google::protobuf::UninterpretedOption, _impl_.negative_int_value_),
1730 PROTOBUF_FIELD_OFFSET(::google::protobuf::UninterpretedOption, _impl_.double_value_),
1731 PROTOBUF_FIELD_OFFSET(::google::protobuf::UninterpretedOption, _impl_.string_value_),
1732 PROTOBUF_FIELD_OFFSET(::google::protobuf::UninterpretedOption, _impl_.aggregate_value_),
1733 ~0u,
1734 0,
1735 3,
1736 4,
1737 5,
1738 1,
1739 2,
1740 PROTOBUF_FIELD_OFFSET(::google::protobuf::FeatureSet, _impl_._has_bits_),
1741 PROTOBUF_FIELD_OFFSET(::google::protobuf::FeatureSet, _internal_metadata_),
1742 PROTOBUF_FIELD_OFFSET(::google::protobuf::FeatureSet, _impl_._extensions_),
1743 ~0u, // no _oneof_case_
1744 ~0u, // no _weak_field_map_
1745 ~0u, // no _inlined_string_donated_
1746 ~0u, // no _split_
1747 ~0u, // no sizeof(Split)
1748 PROTOBUF_FIELD_OFFSET(::google::protobuf::FeatureSet, _impl_.field_presence_),
1749 PROTOBUF_FIELD_OFFSET(::google::protobuf::FeatureSet, _impl_.enum_type_),
1750 PROTOBUF_FIELD_OFFSET(::google::protobuf::FeatureSet, _impl_.repeated_field_encoding_),
1751 PROTOBUF_FIELD_OFFSET(::google::protobuf::FeatureSet, _impl_.utf8_validation_),
1752 PROTOBUF_FIELD_OFFSET(::google::protobuf::FeatureSet, _impl_.message_encoding_),
1753 PROTOBUF_FIELD_OFFSET(::google::protobuf::FeatureSet, _impl_.json_format_),
1754 0,
1755 1,
1756 2,
1757 3,
1758 4,
1759 5,
1760 PROTOBUF_FIELD_OFFSET(::google::protobuf::FeatureSetDefaults_FeatureSetEditionDefault, _impl_._has_bits_),
1761 PROTOBUF_FIELD_OFFSET(::google::protobuf::FeatureSetDefaults_FeatureSetEditionDefault, _internal_metadata_),
1762 ~0u, // no _extensions_
1763 ~0u, // no _oneof_case_
1764 ~0u, // no _weak_field_map_
1765 ~0u, // no _inlined_string_donated_
1766 ~0u, // no _split_
1767 ~0u, // no sizeof(Split)
1768 PROTOBUF_FIELD_OFFSET(::google::protobuf::FeatureSetDefaults_FeatureSetEditionDefault, _impl_.edition_),
1769 PROTOBUF_FIELD_OFFSET(::google::protobuf::FeatureSetDefaults_FeatureSetEditionDefault, _impl_.overridable_features_),
1770 PROTOBUF_FIELD_OFFSET(::google::protobuf::FeatureSetDefaults_FeatureSetEditionDefault, _impl_.fixed_features_),
1771 2,
1772 0,
1773 1,
1774 PROTOBUF_FIELD_OFFSET(::google::protobuf::FeatureSetDefaults, _impl_._has_bits_),
1775 PROTOBUF_FIELD_OFFSET(::google::protobuf::FeatureSetDefaults, _internal_metadata_),
1776 ~0u, // no _extensions_
1777 ~0u, // no _oneof_case_
1778 ~0u, // no _weak_field_map_
1779 ~0u, // no _inlined_string_donated_
1780 ~0u, // no _split_
1781 ~0u, // no sizeof(Split)
1782 PROTOBUF_FIELD_OFFSET(::google::protobuf::FeatureSetDefaults, _impl_.defaults_),
1783 PROTOBUF_FIELD_OFFSET(::google::protobuf::FeatureSetDefaults, _impl_.minimum_edition_),
1784 PROTOBUF_FIELD_OFFSET(::google::protobuf::FeatureSetDefaults, _impl_.maximum_edition_),
1785 ~0u,
1786 0,
1787 1,
1788 PROTOBUF_FIELD_OFFSET(::google::protobuf::SourceCodeInfo_Location, _impl_._has_bits_),
1789 PROTOBUF_FIELD_OFFSET(::google::protobuf::SourceCodeInfo_Location, _internal_metadata_),
1790 ~0u, // no _extensions_
1791 ~0u, // no _oneof_case_
1792 ~0u, // no _weak_field_map_
1793 ~0u, // no _inlined_string_donated_
1794 ~0u, // no _split_
1795 ~0u, // no sizeof(Split)
1796 PROTOBUF_FIELD_OFFSET(::google::protobuf::SourceCodeInfo_Location, _impl_.path_),
1797 PROTOBUF_FIELD_OFFSET(::google::protobuf::SourceCodeInfo_Location, _impl_.span_),
1798 PROTOBUF_FIELD_OFFSET(::google::protobuf::SourceCodeInfo_Location, _impl_.leading_comments_),
1799 PROTOBUF_FIELD_OFFSET(::google::protobuf::SourceCodeInfo_Location, _impl_.trailing_comments_),
1800 PROTOBUF_FIELD_OFFSET(::google::protobuf::SourceCodeInfo_Location, _impl_.leading_detached_comments_),
1801 ~0u,
1802 ~0u,
1803 0,
1804 1,
1805 ~0u,
1806 ~0u, // no _has_bits_
1807 PROTOBUF_FIELD_OFFSET(::google::protobuf::SourceCodeInfo, _internal_metadata_),
1808 PROTOBUF_FIELD_OFFSET(::google::protobuf::SourceCodeInfo, _impl_._extensions_),
1809 ~0u, // no _oneof_case_
1810 ~0u, // no _weak_field_map_
1811 ~0u, // no _inlined_string_donated_
1812 ~0u, // no _split_
1813 ~0u, // no sizeof(Split)
1814 PROTOBUF_FIELD_OFFSET(::google::protobuf::SourceCodeInfo, _impl_.location_),
1815 PROTOBUF_FIELD_OFFSET(::google::protobuf::GeneratedCodeInfo_Annotation, _impl_._has_bits_),
1816 PROTOBUF_FIELD_OFFSET(::google::protobuf::GeneratedCodeInfo_Annotation, _internal_metadata_),
1817 ~0u, // no _extensions_
1818 ~0u, // no _oneof_case_
1819 ~0u, // no _weak_field_map_
1820 ~0u, // no _inlined_string_donated_
1821 ~0u, // no _split_
1822 ~0u, // no sizeof(Split)
1823 PROTOBUF_FIELD_OFFSET(::google::protobuf::GeneratedCodeInfo_Annotation, _impl_.path_),
1824 PROTOBUF_FIELD_OFFSET(::google::protobuf::GeneratedCodeInfo_Annotation, _impl_.source_file_),
1825 PROTOBUF_FIELD_OFFSET(::google::protobuf::GeneratedCodeInfo_Annotation, _impl_.begin_),
1826 PROTOBUF_FIELD_OFFSET(::google::protobuf::GeneratedCodeInfo_Annotation, _impl_.end_),
1827 PROTOBUF_FIELD_OFFSET(::google::protobuf::GeneratedCodeInfo_Annotation, _impl_.semantic_),
1828 ~0u,
1829 0,
1830 1,
1831 2,
1832 3,
1833 ~0u, // no _has_bits_
1834 PROTOBUF_FIELD_OFFSET(::google::protobuf::GeneratedCodeInfo, _internal_metadata_),
1835 ~0u, // no _extensions_
1836 ~0u, // no _oneof_case_
1837 ~0u, // no _weak_field_map_
1838 ~0u, // no _inlined_string_donated_
1839 ~0u, // no _split_
1840 ~0u, // no sizeof(Split)
1841 PROTOBUF_FIELD_OFFSET(::google::protobuf::GeneratedCodeInfo, _impl_.annotation_),
1842 };
1843
1844 static const ::_pbi::MigrationSchema
1845 schemas[] ABSL_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = {
1846 {0, -1, -1, sizeof(::google::protobuf::FileDescriptorSet)},
1847 {9, 30, -1, sizeof(::google::protobuf::FileDescriptorProto)},
1848 {43, 54, -1, sizeof(::google::protobuf::DescriptorProto_ExtensionRange)},
1849 {57, 67, -1, sizeof(::google::protobuf::DescriptorProto_ReservedRange)},
1850 {69, 87, -1, sizeof(::google::protobuf::DescriptorProto)},
1851 {97, 110, -1, sizeof(::google::protobuf::ExtensionRangeOptions_Declaration)},
1852 {115, 127, -1, sizeof(::google::protobuf::ExtensionRangeOptions)},
1853 {131, 150, -1, sizeof(::google::protobuf::FieldDescriptorProto)},
1854 {161, 171, -1, sizeof(::google::protobuf::OneofDescriptorProto)},
1855 {173, 183, -1, sizeof(::google::protobuf::EnumDescriptorProto_EnumReservedRange)},
1856 {185, 198, -1, sizeof(::google::protobuf::EnumDescriptorProto)},
1857 {203, 214, -1, sizeof(::google::protobuf::EnumValueDescriptorProto)},
1858 {217, 228, -1, sizeof(::google::protobuf::ServiceDescriptorProto)},
1859 {231, 245, -1, sizeof(::google::protobuf::MethodDescriptorProto)},
1860 {251, 280, -1, sizeof(::google::protobuf::FileOptions)},
1861 {301, 316, -1, sizeof(::google::protobuf::MessageOptions)},
1862 {323, 333, -1, sizeof(::google::protobuf::FieldOptions_EditionDefault)},
1863 {335, 347, -1, sizeof(::google::protobuf::FieldOptions_FeatureSupport)},
1864 {351, 373, -1, sizeof(::google::protobuf::FieldOptions)},
1865 {387, 397, -1, sizeof(::google::protobuf::OneofOptions)},
1866 {399, 412, -1, sizeof(::google::protobuf::EnumOptions)},
1867 {417, 430, -1, sizeof(::google::protobuf::EnumValueOptions)},
1868 {435, 446, -1, sizeof(::google::protobuf::ServiceOptions)},
1869 {449, 461, -1, sizeof(::google::protobuf::MethodOptions)},
1870 {465, 475, -1, sizeof(::google::protobuf::UninterpretedOption_NamePart)},
1871 {477, 492, -1, sizeof(::google::protobuf::UninterpretedOption)},
1872 {499, 513, -1, sizeof(::google::protobuf::FeatureSet)},
1873 {519, 530, -1, sizeof(::google::protobuf::FeatureSetDefaults_FeatureSetEditionDefault)},
1874 {533, 544, -1, sizeof(::google::protobuf::FeatureSetDefaults)},
1875 {547, 560, -1, sizeof(::google::protobuf::SourceCodeInfo_Location)},
1876 {565, -1, -1, sizeof(::google::protobuf::SourceCodeInfo)},
1877 {574, 587, -1, sizeof(::google::protobuf::GeneratedCodeInfo_Annotation)},
1878 {592, -1, -1, sizeof(::google::protobuf::GeneratedCodeInfo)},
1879 };
1880 static const ::_pb::Message* const file_default_instances[] = {
1881 &::google::protobuf::_FileDescriptorSet_default_instance_._instance,
1882 &::google::protobuf::_FileDescriptorProto_default_instance_._instance,
1883 &::google::protobuf::_DescriptorProto_ExtensionRange_default_instance_._instance,
1884 &::google::protobuf::_DescriptorProto_ReservedRange_default_instance_._instance,
1885 &::google::protobuf::_DescriptorProto_default_instance_._instance,
1886 &::google::protobuf::_ExtensionRangeOptions_Declaration_default_instance_._instance,
1887 &::google::protobuf::_ExtensionRangeOptions_default_instance_._instance,
1888 &::google::protobuf::_FieldDescriptorProto_default_instance_._instance,
1889 &::google::protobuf::_OneofDescriptorProto_default_instance_._instance,
1890 &::google::protobuf::_EnumDescriptorProto_EnumReservedRange_default_instance_._instance,
1891 &::google::protobuf::_EnumDescriptorProto_default_instance_._instance,
1892 &::google::protobuf::_EnumValueDescriptorProto_default_instance_._instance,
1893 &::google::protobuf::_ServiceDescriptorProto_default_instance_._instance,
1894 &::google::protobuf::_MethodDescriptorProto_default_instance_._instance,
1895 &::google::protobuf::_FileOptions_default_instance_._instance,
1896 &::google::protobuf::_MessageOptions_default_instance_._instance,
1897 &::google::protobuf::_FieldOptions_EditionDefault_default_instance_._instance,
1898 &::google::protobuf::_FieldOptions_FeatureSupport_default_instance_._instance,
1899 &::google::protobuf::_FieldOptions_default_instance_._instance,
1900 &::google::protobuf::_OneofOptions_default_instance_._instance,
1901 &::google::protobuf::_EnumOptions_default_instance_._instance,
1902 &::google::protobuf::_EnumValueOptions_default_instance_._instance,
1903 &::google::protobuf::_ServiceOptions_default_instance_._instance,
1904 &::google::protobuf::_MethodOptions_default_instance_._instance,
1905 &::google::protobuf::_UninterpretedOption_NamePart_default_instance_._instance,
1906 &::google::protobuf::_UninterpretedOption_default_instance_._instance,
1907 &::google::protobuf::_FeatureSet_default_instance_._instance,
1908 &::google::protobuf::_FeatureSetDefaults_FeatureSetEditionDefault_default_instance_._instance,
1909 &::google::protobuf::_FeatureSetDefaults_default_instance_._instance,
1910 &::google::protobuf::_SourceCodeInfo_Location_default_instance_._instance,
1911 &::google::protobuf::_SourceCodeInfo_default_instance_._instance,
1912 &::google::protobuf::_GeneratedCodeInfo_Annotation_default_instance_._instance,
1913 &::google::protobuf::_GeneratedCodeInfo_default_instance_._instance,
1914 };
1915 const char descriptor_table_protodef_google_2fprotobuf_2fdescriptor_2eproto[] ABSL_ATTRIBUTE_SECTION_VARIABLE(
1916 protodesc_cold) = {
1917 "\n google/protobuf/descriptor.proto\022\017goog"
1918 "le.protobuf\"U\n\021FileDescriptorSet\0222\n\004file"
1919 "\030\001 \003(\0132$.google.protobuf.FileDescriptorP"
1920 "roto*\014\010\200\354\312\377\001\020\201\354\312\377\001\"\206\004\n\023FileDescriptorPro"
1921 "to\022\014\n\004name\030\001 \001(\t\022\017\n\007package\030\002 \001(\t\022\022\n\ndep"
1922 "endency\030\003 \003(\t\022\031\n\021public_dependency\030\n \003(\005"
1923 "\022\027\n\017weak_dependency\030\013 \003(\005\0226\n\014message_typ"
1924 "e\030\004 \003(\0132 .google.protobuf.DescriptorProt"
1925 "o\0227\n\tenum_type\030\005 \003(\0132$.google.protobuf.E"
1926 "numDescriptorProto\0228\n\007service\030\006 \003(\0132\'.go"
1927 "ogle.protobuf.ServiceDescriptorProto\0228\n\t"
1928 "extension\030\007 \003(\0132%.google.protobuf.FieldD"
1929 "escriptorProto\022-\n\007options\030\010 \001(\0132\034.google"
1930 ".protobuf.FileOptions\0229\n\020source_code_inf"
1931 "o\030\t \001(\0132\037.google.protobuf.SourceCodeInfo"
1932 "\022\016\n\006syntax\030\014 \001(\t\022)\n\007edition\030\016 \001(\0162\030.goog"
1933 "le.protobuf.Edition\"\251\005\n\017DescriptorProto\022"
1934 "\014\n\004name\030\001 \001(\t\0224\n\005field\030\002 \003(\0132%.google.pr"
1935 "otobuf.FieldDescriptorProto\0228\n\textension"
1936 "\030\006 \003(\0132%.google.protobuf.FieldDescriptor"
1937 "Proto\0225\n\013nested_type\030\003 \003(\0132 .google.prot"
1938 "obuf.DescriptorProto\0227\n\tenum_type\030\004 \003(\0132"
1939 "$.google.protobuf.EnumDescriptorProto\022H\n"
1940 "\017extension_range\030\005 \003(\0132/.google.protobuf"
1941 ".DescriptorProto.ExtensionRange\0229\n\noneof"
1942 "_decl\030\010 \003(\0132%.google.protobuf.OneofDescr"
1943 "iptorProto\0220\n\007options\030\007 \001(\0132\037.google.pro"
1944 "tobuf.MessageOptions\022F\n\016reserved_range\030\t"
1945 " \003(\0132..google.protobuf.DescriptorProto.R"
1946 "eservedRange\022\025\n\rreserved_name\030\n \003(\t\032e\n\016E"
1947 "xtensionRange\022\r\n\005start\030\001 \001(\005\022\013\n\003end\030\002 \001("
1948 "\005\0227\n\007options\030\003 \001(\0132&.google.protobuf.Ext"
1949 "ensionRangeOptions\032+\n\rReservedRange\022\r\n\005s"
1950 "tart\030\001 \001(\005\022\013\n\003end\030\002 \001(\005\"\345\003\n\025ExtensionRan"
1951 "geOptions\022C\n\024uninterpreted_option\030\347\007 \003(\013"
1952 "2$.google.protobuf.UninterpretedOption\022L"
1953 "\n\013declaration\030\002 \003(\01322.google.protobuf.Ex"
1954 "tensionRangeOptions.DeclarationB\003\210\001\002\022-\n\010"
1955 "features\0302 \001(\0132\033.google.protobuf.Feature"
1956 "Set\022_\n\014verification\030\003 \001(\01628.google.proto"
1957 "buf.ExtensionRangeOptions.VerificationSt"
1958 "ate:\nUNVERIFIEDB\003\210\001\002\032h\n\013Declaration\022\016\n\006n"
1959 "umber\030\001 \001(\005\022\021\n\tfull_name\030\002 \001(\t\022\014\n\004type\030\003"
1960 " \001(\t\022\020\n\010reserved\030\005 \001(\010\022\020\n\010repeated\030\006 \001(\010"
1961 "J\004\010\004\020\005\"4\n\021VerificationState\022\017\n\013DECLARATI"
1962 "ON\020\000\022\016\n\nUNVERIFIED\020\001*\t\010\350\007\020\200\200\200\200\002\"\325\005\n\024Fiel"
1963 "dDescriptorProto\022\014\n\004name\030\001 \001(\t\022\016\n\006number"
1964 "\030\003 \001(\005\022:\n\005label\030\004 \001(\0162+.google.protobuf."
1965 "FieldDescriptorProto.Label\0228\n\004type\030\005 \001(\016"
1966 "2*.google.protobuf.FieldDescriptorProto."
1967 "Type\022\021\n\ttype_name\030\006 \001(\t\022\020\n\010extendee\030\002 \001("
1968 "\t\022\025\n\rdefault_value\030\007 \001(\t\022\023\n\013oneof_index\030"
1969 "\t \001(\005\022\021\n\tjson_name\030\n \001(\t\022.\n\007options\030\010 \001("
1970 "\0132\035.google.protobuf.FieldOptions\022\027\n\017prot"
1971 "o3_optional\030\021 \001(\010\"\266\002\n\004Type\022\017\n\013TYPE_DOUBL"
1972 "E\020\001\022\016\n\nTYPE_FLOAT\020\002\022\016\n\nTYPE_INT64\020\003\022\017\n\013T"
1973 "YPE_UINT64\020\004\022\016\n\nTYPE_INT32\020\005\022\020\n\014TYPE_FIX"
1974 "ED64\020\006\022\020\n\014TYPE_FIXED32\020\007\022\r\n\tTYPE_BOOL\020\010\022"
1975 "\017\n\013TYPE_STRING\020\t\022\016\n\nTYPE_GROUP\020\n\022\020\n\014TYPE"
1976 "_MESSAGE\020\013\022\016\n\nTYPE_BYTES\020\014\022\017\n\013TYPE_UINT3"
1977 "2\020\r\022\r\n\tTYPE_ENUM\020\016\022\021\n\rTYPE_SFIXED32\020\017\022\021\n"
1978 "\rTYPE_SFIXED64\020\020\022\017\n\013TYPE_SINT32\020\021\022\017\n\013TYP"
1979 "E_SINT64\020\022\"C\n\005Label\022\022\n\016LABEL_OPTIONAL\020\001\022"
1980 "\022\n\016LABEL_REPEATED\020\003\022\022\n\016LABEL_REQUIRED\020\002\""
1981 "T\n\024OneofDescriptorProto\022\014\n\004name\030\001 \001(\t\022.\n"
1982 "\007options\030\002 \001(\0132\035.google.protobuf.OneofOp"
1983 "tions\"\244\002\n\023EnumDescriptorProto\022\014\n\004name\030\001 "
1984 "\001(\t\0228\n\005value\030\002 \003(\0132).google.protobuf.Enu"
1985 "mValueDescriptorProto\022-\n\007options\030\003 \001(\0132\034"
1986 ".google.protobuf.EnumOptions\022N\n\016reserved"
1987 "_range\030\004 \003(\01326.google.protobuf.EnumDescr"
1988 "iptorProto.EnumReservedRange\022\025\n\rreserved"
1989 "_name\030\005 \003(\t\032/\n\021EnumReservedRange\022\r\n\005star"
1990 "t\030\001 \001(\005\022\013\n\003end\030\002 \001(\005\"l\n\030EnumValueDescrip"
1991 "torProto\022\014\n\004name\030\001 \001(\t\022\016\n\006number\030\002 \001(\005\0222"
1992 "\n\007options\030\003 \001(\0132!.google.protobuf.EnumVa"
1993 "lueOptions\"\220\001\n\026ServiceDescriptorProto\022\014\n"
1994 "\004name\030\001 \001(\t\0226\n\006method\030\002 \003(\0132&.google.pro"
1995 "tobuf.MethodDescriptorProto\0220\n\007options\030\003"
1996 " \001(\0132\037.google.protobuf.ServiceOptions\"\301\001"
1997 "\n\025MethodDescriptorProto\022\014\n\004name\030\001 \001(\t\022\022\n"
1998 "\ninput_type\030\002 \001(\t\022\023\n\013output_type\030\003 \001(\t\022/"
1999 "\n\007options\030\004 \001(\0132\036.google.protobuf.Method"
2000 "Options\022\037\n\020client_streaming\030\005 \001(\010:\005false"
2001 "\022\037\n\020server_streaming\030\006 \001(\010:\005false\"\313\006\n\013Fi"
2002 "leOptions\022\024\n\014java_package\030\001 \001(\t\022\034\n\024java_"
2003 "outer_classname\030\010 \001(\t\022\"\n\023java_multiple_f"
2004 "iles\030\n \001(\010:\005false\022)\n\035java_generate_equal"
2005 "s_and_hash\030\024 \001(\010B\002\030\001\022%\n\026java_string_chec"
2006 "k_utf8\030\033 \001(\010:\005false\022F\n\014optimize_for\030\t \001("
2007 "\0162).google.protobuf.FileOptions.Optimize"
2008 "Mode:\005SPEED\022\022\n\ngo_package\030\013 \001(\t\022\"\n\023cc_ge"
2009 "neric_services\030\020 \001(\010:\005false\022$\n\025java_gene"
2010 "ric_services\030\021 \001(\010:\005false\022\"\n\023py_generic_"
2011 "services\030\022 \001(\010:\005false\022\031\n\ndeprecated\030\027 \001("
2012 "\010:\005false\022\036\n\020cc_enable_arenas\030\037 \001(\010:\004true"
2013 "\022\031\n\021objc_class_prefix\030$ \001(\t\022\030\n\020csharp_na"
2014 "mespace\030% \001(\t\022\024\n\014swift_prefix\030\' \001(\t\022\030\n\020p"
2015 "hp_class_prefix\030( \001(\t\022\025\n\rphp_namespace\030)"
2016 " \001(\t\022\036\n\026php_metadata_namespace\030, \001(\t\022\024\n\014"
2017 "ruby_package\030- \001(\t\022-\n\010features\0302 \001(\0132\033.g"
2018 "oogle.protobuf.FeatureSet\022C\n\024uninterpret"
2019 "ed_option\030\347\007 \003(\0132$.google.protobuf.Unint"
2020 "erpretedOption\":\n\014OptimizeMode\022\t\n\005SPEED\020"
2021 "\001\022\r\n\tCODE_SIZE\020\002\022\020\n\014LITE_RUNTIME\020\003*\t\010\350\007\020"
2022 "\200\200\200\200\002J\004\010*\020+J\004\010&\020\'R\024php_generic_services\""
2023 "\347\002\n\016MessageOptions\022&\n\027message_set_wire_f"
2024 "ormat\030\001 \001(\010:\005false\022.\n\037no_standard_descri"
2025 "ptor_accessor\030\002 \001(\010:\005false\022\031\n\ndeprecated"
2026 "\030\003 \001(\010:\005false\022\021\n\tmap_entry\030\007 \001(\010\0222\n&depr"
2027 "ecated_legacy_json_field_conflicts\030\013 \001(\010"
2028 "B\002\030\001\022-\n\010features\030\014 \001(\0132\033.google.protobuf"
2029 ".FeatureSet\022C\n\024uninterpreted_option\030\347\007 \003"
2030 "(\0132$.google.protobuf.UninterpretedOption"
2031 "*\t\010\350\007\020\200\200\200\200\002J\004\010\004\020\005J\004\010\005\020\006J\004\010\006\020\007J\004\010\010\020\tJ\004\010\t\020"
2032 "\n\"\243\013\n\014FieldOptions\022:\n\005ctype\030\001 \001(\0162#.goog"
2033 "le.protobuf.FieldOptions.CType:\006STRING\022\016"
2034 "\n\006packed\030\002 \001(\010\022\?\n\006jstype\030\006 \001(\0162$.google."
2035 "protobuf.FieldOptions.JSType:\tJS_NORMAL\022"
2036 "\023\n\004lazy\030\005 \001(\010:\005false\022\036\n\017unverified_lazy\030"
2037 "\017 \001(\010:\005false\022\031\n\ndeprecated\030\003 \001(\010:\005false\022"
2038 "\023\n\004weak\030\n \001(\010:\005false\022\033\n\014debug_redact\030\020 \001"
2039 "(\010:\005false\022@\n\tretention\030\021 \001(\0162-.google.pr"
2040 "otobuf.FieldOptions.OptionRetention\022\?\n\007t"
2041 "argets\030\023 \003(\0162..google.protobuf.FieldOpti"
2042 "ons.OptionTargetType\022F\n\020edition_defaults"
2043 "\030\024 \003(\0132,.google.protobuf.FieldOptions.Ed"
2044 "itionDefault\022-\n\010features\030\025 \001(\0132\033.google."
2045 "protobuf.FeatureSet\022E\n\017feature_support\030\026"
2046 " \001(\0132,.google.protobuf.FieldOptions.Feat"
2047 "ureSupport\022C\n\024uninterpreted_option\030\347\007 \003("
2048 "\0132$.google.protobuf.UninterpretedOption\032"
2049 "J\n\016EditionDefault\022)\n\007edition\030\003 \001(\0162\030.goo"
2050 "gle.protobuf.Edition\022\r\n\005value\030\002 \001(\t\032\314\001\n\016"
2051 "FeatureSupport\0224\n\022edition_introduced\030\001 \001"
2052 "(\0162\030.google.protobuf.Edition\0224\n\022edition_"
2053 "deprecated\030\002 \001(\0162\030.google.protobuf.Editi"
2054 "on\022\033\n\023deprecation_warning\030\003 \001(\t\0221\n\017editi"
2055 "on_removed\030\004 \001(\0162\030.google.protobuf.Editi"
2056 "on\"/\n\005CType\022\n\n\006STRING\020\000\022\010\n\004CORD\020\001\022\020\n\014STR"
2057 "ING_PIECE\020\002\"5\n\006JSType\022\r\n\tJS_NORMAL\020\000\022\r\n\t"
2058 "JS_STRING\020\001\022\r\n\tJS_NUMBER\020\002\"U\n\017OptionRete"
2059 "ntion\022\025\n\021RETENTION_UNKNOWN\020\000\022\025\n\021RETENTIO"
2060 "N_RUNTIME\020\001\022\024\n\020RETENTION_SOURCE\020\002\"\214\002\n\020Op"
2061 "tionTargetType\022\027\n\023TARGET_TYPE_UNKNOWN\020\000\022"
2062 "\024\n\020TARGET_TYPE_FILE\020\001\022\037\n\033TARGET_TYPE_EXT"
2063 "ENSION_RANGE\020\002\022\027\n\023TARGET_TYPE_MESSAGE\020\003\022"
2064 "\025\n\021TARGET_TYPE_FIELD\020\004\022\025\n\021TARGET_TYPE_ON"
2065 "EOF\020\005\022\024\n\020TARGET_TYPE_ENUM\020\006\022\032\n\026TARGET_TY"
2066 "PE_ENUM_ENTRY\020\007\022\027\n\023TARGET_TYPE_SERVICE\020\010"
2067 "\022\026\n\022TARGET_TYPE_METHOD\020\t*\t\010\350\007\020\200\200\200\200\002J\004\010\004\020"
2068 "\005J\004\010\022\020\023\"\215\001\n\014OneofOptions\022-\n\010features\030\001 \001"
2069 "(\0132\033.google.protobuf.FeatureSet\022C\n\024unint"
2070 "erpreted_option\030\347\007 \003(\0132$.google.protobuf"
2071 ".UninterpretedOption*\t\010\350\007\020\200\200\200\200\002\"\366\001\n\013Enum"
2072 "Options\022\023\n\013allow_alias\030\002 \001(\010\022\031\n\ndeprecat"
2073 "ed\030\003 \001(\010:\005false\0222\n&deprecated_legacy_jso"
2074 "n_field_conflicts\030\006 \001(\010B\002\030\001\022-\n\010features\030"
2075 "\007 \001(\0132\033.google.protobuf.FeatureSet\022C\n\024un"
2076 "interpreted_option\030\347\007 \003(\0132$.google.proto"
2077 "buf.UninterpretedOption*\t\010\350\007\020\200\200\200\200\002J\004\010\005\020\006"
2078 "\"\220\002\n\020EnumValueOptions\022\031\n\ndeprecated\030\001 \001("
2079 "\010:\005false\022-\n\010features\030\002 \001(\0132\033.google.prot"
2080 "obuf.FeatureSet\022\033\n\014debug_redact\030\003 \001(\010:\005f"
2081 "alse\022E\n\017feature_support\030\004 \001(\0132,.google.p"
2082 "rotobuf.FieldOptions.FeatureSupport\022C\n\024u"
2083 "ninterpreted_option\030\347\007 \003(\0132$.google.prot"
2084 "obuf.UninterpretedOption*\t\010\350\007\020\200\200\200\200\002\"\252\001\n\016"
2085 "ServiceOptions\022-\n\010features\030\" \001(\0132\033.googl"
2086 "e.protobuf.FeatureSet\022\031\n\ndeprecated\030! \001("
2087 "\010:\005false\022C\n\024uninterpreted_option\030\347\007 \003(\0132"
2088 "$.google.protobuf.UninterpretedOption*\t\010"
2089 "\350\007\020\200\200\200\200\002\"\334\002\n\rMethodOptions\022\031\n\ndeprecated"
2090 "\030! \001(\010:\005false\022_\n\021idempotency_level\030\" \001(\016"
2091 "2/.google.protobuf.MethodOptions.Idempot"
2092 "encyLevel:\023IDEMPOTENCY_UNKNOWN\022-\n\010featur"
2093 "es\030# \001(\0132\033.google.protobuf.FeatureSet\022C\n"
2094 "\024uninterpreted_option\030\347\007 \003(\0132$.google.pr"
2095 "otobuf.UninterpretedOption\"P\n\020Idempotenc"
2096 "yLevel\022\027\n\023IDEMPOTENCY_UNKNOWN\020\000\022\023\n\017NO_SI"
2097 "DE_EFFECTS\020\001\022\016\n\nIDEMPOTENT\020\002*\t\010\350\007\020\200\200\200\200\002\""
2098 "\236\002\n\023UninterpretedOption\022;\n\004name\030\002 \003(\0132-."
2099 "google.protobuf.UninterpretedOption.Name"
2100 "Part\022\030\n\020identifier_value\030\003 \001(\t\022\032\n\022positi"
2101 "ve_int_value\030\004 \001(\004\022\032\n\022negative_int_value"
2102 "\030\005 \001(\003\022\024\n\014double_value\030\006 \001(\001\022\024\n\014string_v"
2103 "alue\030\007 \001(\014\022\027\n\017aggregate_value\030\010 \001(\t\0323\n\010N"
2104 "amePart\022\021\n\tname_part\030\001 \002(\t\022\024\n\014is_extensi"
2105 "on\030\002 \002(\010\"\311\t\n\nFeatureSet\022\202\001\n\016field_presen"
2106 "ce\030\001 \001(\0162).google.protobuf.FeatureSet.Fi"
2107 "eldPresenceB\?\210\001\001\230\001\004\230\001\001\242\001\r\022\010EXPLICIT\030\204\007\242\001"
2108 "\r\022\010IMPLICIT\030\347\007\242\001\r\022\010EXPLICIT\030\350\007\262\001\003\010\350\007\022b\n\t"
2109 "enum_type\030\002 \001(\0162$.google.protobuf.Featur"
2110 "eSet.EnumTypeB)\210\001\001\230\001\006\230\001\001\242\001\013\022\006CLOSED\030\204\007\242\001"
2111 "\t\022\004OPEN\030\347\007\262\001\003\010\350\007\022\201\001\n\027repeated_field_enco"
2112 "ding\030\003 \001(\01621.google.protobuf.FeatureSet."
2113 "RepeatedFieldEncodingB-\210\001\001\230\001\004\230\001\001\242\001\r\022\010EXP"
2114 "ANDED\030\204\007\242\001\013\022\006PACKED\030\347\007\262\001\003\010\350\007\022n\n\017utf8_val"
2115 "idation\030\004 \001(\0162*.google.protobuf.FeatureS"
2116 "et.Utf8ValidationB)\210\001\001\230\001\004\230\001\001\242\001\t\022\004NONE\030\204\007"
2117 "\242\001\013\022\006VERIFY\030\347\007\262\001\003\010\350\007\022m\n\020message_encoding"
2118 "\030\005 \001(\0162+.google.protobuf.FeatureSet.Mess"
2119 "ageEncodingB&\210\001\001\230\001\004\230\001\001\242\001\024\022\017LENGTH_PREFIX"
2120 "ED\030\204\007\262\001\003\010\350\007\022v\n\013json_format\030\006 \001(\0162&.googl"
2121 "e.protobuf.FeatureSet.JsonFormatB9\210\001\001\230\001\003"
2122 "\230\001\006\230\001\001\242\001\027\022\022LEGACY_BEST_EFFORT\030\204\007\242\001\n\022\005ALL"
2123 "OW\030\347\007\262\001\003\010\350\007\"\\\n\rFieldPresence\022\032\n\026FIELD_PR"
2124 "ESENCE_UNKNOWN\020\000\022\014\n\010EXPLICIT\020\001\022\014\n\010IMPLIC"
2125 "IT\020\002\022\023\n\017LEGACY_REQUIRED\020\003\"7\n\010EnumType\022\025\n"
2126 "\021ENUM_TYPE_UNKNOWN\020\000\022\010\n\004OPEN\020\001\022\n\n\006CLOSED"
2127 "\020\002\"V\n\025RepeatedFieldEncoding\022#\n\037REPEATED_"
2128 "FIELD_ENCODING_UNKNOWN\020\000\022\n\n\006PACKED\020\001\022\014\n\010"
2129 "EXPANDED\020\002\"I\n\016Utf8Validation\022\033\n\027UTF8_VAL"
2130 "IDATION_UNKNOWN\020\000\022\n\n\006VERIFY\020\002\022\010\n\004NONE\020\003\""
2131 "\004\010\001\020\001\"S\n\017MessageEncoding\022\034\n\030MESSAGE_ENCO"
2132 "DING_UNKNOWN\020\000\022\023\n\017LENGTH_PREFIXED\020\001\022\r\n\tD"
2133 "ELIMITED\020\002\"H\n\nJsonFormat\022\027\n\023JSON_FORMAT_"
2134 "UNKNOWN\020\000\022\t\n\005ALLOW\020\001\022\026\n\022LEGACY_BEST_EFFO"
2135 "RT\020\002*\006\010\350\007\020\213N*\006\010\213N\020\220N*\006\010\220N\020\221NJ\006\010\347\007\020\350\007\"\230\003\n"
2136 "\022FeatureSetDefaults\022N\n\010defaults\030\001 \003(\0132<."
2137 "google.protobuf.FeatureSetDefaults.Featu"
2138 "reSetEditionDefault\0221\n\017minimum_edition\030\004"
2139 " \001(\0162\030.google.protobuf.Edition\0221\n\017maximu"
2140 "m_edition\030\005 \001(\0162\030.google.protobuf.Editio"
2141 "n\032\313\001\n\030FeatureSetEditionDefault\022)\n\007editio"
2142 "n\030\003 \001(\0162\030.google.protobuf.Edition\0229\n\024ove"
2143 "rridable_features\030\004 \001(\0132\033.google.protobu"
2144 "f.FeatureSet\0223\n\016fixed_features\030\005 \001(\0132\033.g"
2145 "oogle.protobuf.FeatureSetJ\004\010\001\020\002J\004\010\002\020\003R\010f"
2146 "eatures\"\343\001\n\016SourceCodeInfo\022:\n\010location\030\001"
2147 " \003(\0132(.google.protobuf.SourceCodeInfo.Lo"
2148 "cation\032\206\001\n\010Location\022\020\n\004path\030\001 \003(\005B\002\020\001\022\020\n"
2149 "\004span\030\002 \003(\005B\002\020\001\022\030\n\020leading_comments\030\003 \001("
2150 "\t\022\031\n\021trailing_comments\030\004 \001(\t\022!\n\031leading_"
2151 "detached_comments\030\006 \003(\t*\014\010\200\354\312\377\001\020\201\354\312\377\001\"\234\002"
2152 "\n\021GeneratedCodeInfo\022A\n\nannotation\030\001 \003(\0132"
2153 "-.google.protobuf.GeneratedCodeInfo.Anno"
2154 "tation\032\303\001\n\nAnnotation\022\020\n\004path\030\001 \003(\005B\002\020\001\022"
2155 "\023\n\013source_file\030\002 \001(\t\022\r\n\005begin\030\003 \001(\005\022\013\n\003e"
2156 "nd\030\004 \001(\005\022H\n\010semantic\030\005 \001(\01626.google.prot"
2157 "obuf.GeneratedCodeInfo.Annotation.Semant"
2158 "ic\"(\n\010Semantic\022\010\n\004NONE\020\000\022\007\n\003SET\020\001\022\t\n\005ALI"
2159 "AS\020\002*\247\002\n\007Edition\022\023\n\017EDITION_UNKNOWN\020\000\022\023\n"
2160 "\016EDITION_LEGACY\020\204\007\022\023\n\016EDITION_PROTO2\020\346\007\022"
2161 "\023\n\016EDITION_PROTO3\020\347\007\022\021\n\014EDITION_2023\020\350\007\022"
2162 "\021\n\014EDITION_2024\020\351\007\022\027\n\023EDITION_1_TEST_ONL"
2163 "Y\020\001\022\027\n\023EDITION_2_TEST_ONLY\020\002\022\035\n\027EDITION_"
2164 "99997_TEST_ONLY\020\235\215\006\022\035\n\027EDITION_99998_TES"
2165 "T_ONLY\020\236\215\006\022\035\n\027EDITION_99999_TEST_ONLY\020\237\215"
2166 "\006\022\023\n\013EDITION_MAX\020\377\377\377\377\007B~\n\023com.google.pro"
2167 "tobufB\020DescriptorProtosH\001Z-google.golang"
2168 ".org/protobuf/types/descriptorpb\370\001\001\242\002\003GP"
2169 "B\252\002\032Google.Protobuf.Reflection"
2170 };
2171 static ::absl::once_flag descriptor_table_google_2fprotobuf_2fdescriptor_2eproto_once;
2172 PROTOBUF_CONSTINIT const ::_pbi::DescriptorTable descriptor_table_google_2fprotobuf_2fdescriptor_2eproto = {
2173 false,
2174 false,
2175 10110,
2176 descriptor_table_protodef_google_2fprotobuf_2fdescriptor_2eproto,
2177 "google/protobuf/descriptor.proto",
2178 &descriptor_table_google_2fprotobuf_2fdescriptor_2eproto_once,
2179 nullptr,
2180 0,
2181 33,
2182 schemas,
2183 file_default_instances,
2184 TableStruct_google_2fprotobuf_2fdescriptor_2eproto::offsets,
2185 file_level_enum_descriptors_google_2fprotobuf_2fdescriptor_2eproto,
2186 file_level_service_descriptors_google_2fprotobuf_2fdescriptor_2eproto,
2187 };
2188 namespace google {
2189 namespace protobuf {
2190 namespace internal {
2191 #if !defined(PROTOBUF_CONSTINIT_DEFAULT_INSTANCES)
InitializeFileDescriptorDefaultInstancesSlow()2192 PROTOBUF_EXPORT void InitializeFileDescriptorDefaultInstancesSlow() {
2193 _FileDescriptorSet_default_instance_.Init();
2194 _FileDescriptorProto_default_instance_.Init();
2195 _DescriptorProto_ExtensionRange_default_instance_.Init();
2196 _DescriptorProto_ReservedRange_default_instance_.Init();
2197 _DescriptorProto_default_instance_.Init();
2198 _ExtensionRangeOptions_Declaration_default_instance_.Init();
2199 _ExtensionRangeOptions_default_instance_.Init();
2200 _FieldDescriptorProto_default_instance_.Init();
2201 _OneofDescriptorProto_default_instance_.Init();
2202 _EnumDescriptorProto_EnumReservedRange_default_instance_.Init();
2203 _EnumDescriptorProto_default_instance_.Init();
2204 _EnumValueDescriptorProto_default_instance_.Init();
2205 _ServiceDescriptorProto_default_instance_.Init();
2206 _MethodDescriptorProto_default_instance_.Init();
2207 _FileOptions_default_instance_.Init();
2208 _MessageOptions_default_instance_.Init();
2209 _FieldOptions_EditionDefault_default_instance_.Init();
2210 _FieldOptions_FeatureSupport_default_instance_.Init();
2211 _FieldOptions_default_instance_.Init();
2212 _OneofOptions_default_instance_.Init();
2213 _EnumOptions_default_instance_.Init();
2214 _EnumValueOptions_default_instance_.Init();
2215 _ServiceOptions_default_instance_.Init();
2216 _MethodOptions_default_instance_.Init();
2217 _UninterpretedOption_NamePart_default_instance_.Init();
2218 _UninterpretedOption_default_instance_.Init();
2219 _FeatureSet_default_instance_.Init();
2220 _FeatureSetDefaults_FeatureSetEditionDefault_default_instance_.Init();
2221 _FeatureSetDefaults_default_instance_.Init();
2222 _SourceCodeInfo_Location_default_instance_.Init();
2223 _SourceCodeInfo_default_instance_.Init();
2224 _GeneratedCodeInfo_Annotation_default_instance_.Init();
2225 _GeneratedCodeInfo_default_instance_.Init();;
2226 }
2227 PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
2228 static std::true_type dynamic_init_dummy_google_2fprotobuf_2fdescriptor_2eproto{
2229 (InitializeFileDescriptorDefaultInstances(), std::true_type{})};
2230 #endif // !defined(PROTOBUF_CONSTINIT_DEFAULT_INSTANCES)
2231 } // namespace internal
2232 } // namespace protobuf
2233 } // namespace google
2234 namespace google {
2235 namespace protobuf {
ExtensionRangeOptions_VerificationState_descriptor()2236 const ::google::protobuf::EnumDescriptor* ExtensionRangeOptions_VerificationState_descriptor() {
2237 ::google::protobuf::internal::AssignDescriptors(&descriptor_table_google_2fprotobuf_2fdescriptor_2eproto);
2238 return file_level_enum_descriptors_google_2fprotobuf_2fdescriptor_2eproto[0];
2239 }
2240 PROTOBUF_CONSTINIT const uint32_t ExtensionRangeOptions_VerificationState_internal_data_[] = {
2241 131072u, 0u, };
ExtensionRangeOptions_VerificationState_IsValid(int value)2242 bool ExtensionRangeOptions_VerificationState_IsValid(int value) {
2243 return 0 <= value && value <= 1;
2244 }
2245 #if (__cplusplus < 201703) && \
2246 (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912))
2247
2248 constexpr ExtensionRangeOptions_VerificationState ExtensionRangeOptions::DECLARATION;
2249 constexpr ExtensionRangeOptions_VerificationState ExtensionRangeOptions::UNVERIFIED;
2250 constexpr ExtensionRangeOptions_VerificationState ExtensionRangeOptions::VerificationState_MIN;
2251 constexpr ExtensionRangeOptions_VerificationState ExtensionRangeOptions::VerificationState_MAX;
2252 constexpr int ExtensionRangeOptions::VerificationState_ARRAYSIZE;
2253
2254 #endif // (__cplusplus < 201703) &&
2255 // (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912))
FieldDescriptorProto_Type_descriptor()2256 const ::google::protobuf::EnumDescriptor* FieldDescriptorProto_Type_descriptor() {
2257 ::google::protobuf::internal::AssignDescriptors(&descriptor_table_google_2fprotobuf_2fdescriptor_2eproto);
2258 return file_level_enum_descriptors_google_2fprotobuf_2fdescriptor_2eproto[1];
2259 }
2260 PROTOBUF_CONSTINIT const uint32_t FieldDescriptorProto_Type_internal_data_[] = {
2261 1179649u, 0u, };
FieldDescriptorProto_Type_IsValid(int value)2262 bool FieldDescriptorProto_Type_IsValid(int value) {
2263 return 1 <= value && value <= 18;
2264 }
2265 #if (__cplusplus < 201703) && \
2266 (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912))
2267
2268 constexpr FieldDescriptorProto_Type FieldDescriptorProto::TYPE_DOUBLE;
2269 constexpr FieldDescriptorProto_Type FieldDescriptorProto::TYPE_FLOAT;
2270 constexpr FieldDescriptorProto_Type FieldDescriptorProto::TYPE_INT64;
2271 constexpr FieldDescriptorProto_Type FieldDescriptorProto::TYPE_UINT64;
2272 constexpr FieldDescriptorProto_Type FieldDescriptorProto::TYPE_INT32;
2273 constexpr FieldDescriptorProto_Type FieldDescriptorProto::TYPE_FIXED64;
2274 constexpr FieldDescriptorProto_Type FieldDescriptorProto::TYPE_FIXED32;
2275 constexpr FieldDescriptorProto_Type FieldDescriptorProto::TYPE_BOOL;
2276 constexpr FieldDescriptorProto_Type FieldDescriptorProto::TYPE_STRING;
2277 constexpr FieldDescriptorProto_Type FieldDescriptorProto::TYPE_GROUP;
2278 constexpr FieldDescriptorProto_Type FieldDescriptorProto::TYPE_MESSAGE;
2279 constexpr FieldDescriptorProto_Type FieldDescriptorProto::TYPE_BYTES;
2280 constexpr FieldDescriptorProto_Type FieldDescriptorProto::TYPE_UINT32;
2281 constexpr FieldDescriptorProto_Type FieldDescriptorProto::TYPE_ENUM;
2282 constexpr FieldDescriptorProto_Type FieldDescriptorProto::TYPE_SFIXED32;
2283 constexpr FieldDescriptorProto_Type FieldDescriptorProto::TYPE_SFIXED64;
2284 constexpr FieldDescriptorProto_Type FieldDescriptorProto::TYPE_SINT32;
2285 constexpr FieldDescriptorProto_Type FieldDescriptorProto::TYPE_SINT64;
2286 constexpr FieldDescriptorProto_Type FieldDescriptorProto::Type_MIN;
2287 constexpr FieldDescriptorProto_Type FieldDescriptorProto::Type_MAX;
2288 constexpr int FieldDescriptorProto::Type_ARRAYSIZE;
2289
2290 #endif // (__cplusplus < 201703) &&
2291 // (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912))
FieldDescriptorProto_Label_descriptor()2292 const ::google::protobuf::EnumDescriptor* FieldDescriptorProto_Label_descriptor() {
2293 ::google::protobuf::internal::AssignDescriptors(&descriptor_table_google_2fprotobuf_2fdescriptor_2eproto);
2294 return file_level_enum_descriptors_google_2fprotobuf_2fdescriptor_2eproto[2];
2295 }
2296 PROTOBUF_CONSTINIT const uint32_t FieldDescriptorProto_Label_internal_data_[] = {
2297 196609u, 0u, };
FieldDescriptorProto_Label_IsValid(int value)2298 bool FieldDescriptorProto_Label_IsValid(int value) {
2299 return 1 <= value && value <= 3;
2300 }
2301 #if (__cplusplus < 201703) && \
2302 (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912))
2303
2304 constexpr FieldDescriptorProto_Label FieldDescriptorProto::LABEL_OPTIONAL;
2305 constexpr FieldDescriptorProto_Label FieldDescriptorProto::LABEL_REPEATED;
2306 constexpr FieldDescriptorProto_Label FieldDescriptorProto::LABEL_REQUIRED;
2307 constexpr FieldDescriptorProto_Label FieldDescriptorProto::Label_MIN;
2308 constexpr FieldDescriptorProto_Label FieldDescriptorProto::Label_MAX;
2309 constexpr int FieldDescriptorProto::Label_ARRAYSIZE;
2310
2311 #endif // (__cplusplus < 201703) &&
2312 // (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912))
FileOptions_OptimizeMode_descriptor()2313 const ::google::protobuf::EnumDescriptor* FileOptions_OptimizeMode_descriptor() {
2314 ::google::protobuf::internal::AssignDescriptors(&descriptor_table_google_2fprotobuf_2fdescriptor_2eproto);
2315 return file_level_enum_descriptors_google_2fprotobuf_2fdescriptor_2eproto[3];
2316 }
2317 PROTOBUF_CONSTINIT const uint32_t FileOptions_OptimizeMode_internal_data_[] = {
2318 196609u, 0u, };
FileOptions_OptimizeMode_IsValid(int value)2319 bool FileOptions_OptimizeMode_IsValid(int value) {
2320 return 1 <= value && value <= 3;
2321 }
2322 #if (__cplusplus < 201703) && \
2323 (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912))
2324
2325 constexpr FileOptions_OptimizeMode FileOptions::SPEED;
2326 constexpr FileOptions_OptimizeMode FileOptions::CODE_SIZE;
2327 constexpr FileOptions_OptimizeMode FileOptions::LITE_RUNTIME;
2328 constexpr FileOptions_OptimizeMode FileOptions::OptimizeMode_MIN;
2329 constexpr FileOptions_OptimizeMode FileOptions::OptimizeMode_MAX;
2330 constexpr int FileOptions::OptimizeMode_ARRAYSIZE;
2331
2332 #endif // (__cplusplus < 201703) &&
2333 // (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912))
FieldOptions_CType_descriptor()2334 const ::google::protobuf::EnumDescriptor* FieldOptions_CType_descriptor() {
2335 ::google::protobuf::internal::AssignDescriptors(&descriptor_table_google_2fprotobuf_2fdescriptor_2eproto);
2336 return file_level_enum_descriptors_google_2fprotobuf_2fdescriptor_2eproto[4];
2337 }
2338 PROTOBUF_CONSTINIT const uint32_t FieldOptions_CType_internal_data_[] = {
2339 196608u, 0u, };
FieldOptions_CType_IsValid(int value)2340 bool FieldOptions_CType_IsValid(int value) {
2341 return 0 <= value && value <= 2;
2342 }
2343 #if (__cplusplus < 201703) && \
2344 (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912))
2345
2346 constexpr FieldOptions_CType FieldOptions::STRING;
2347 constexpr FieldOptions_CType FieldOptions::CORD;
2348 constexpr FieldOptions_CType FieldOptions::STRING_PIECE;
2349 constexpr FieldOptions_CType FieldOptions::CType_MIN;
2350 constexpr FieldOptions_CType FieldOptions::CType_MAX;
2351 constexpr int FieldOptions::CType_ARRAYSIZE;
2352
2353 #endif // (__cplusplus < 201703) &&
2354 // (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912))
FieldOptions_JSType_descriptor()2355 const ::google::protobuf::EnumDescriptor* FieldOptions_JSType_descriptor() {
2356 ::google::protobuf::internal::AssignDescriptors(&descriptor_table_google_2fprotobuf_2fdescriptor_2eproto);
2357 return file_level_enum_descriptors_google_2fprotobuf_2fdescriptor_2eproto[5];
2358 }
2359 PROTOBUF_CONSTINIT const uint32_t FieldOptions_JSType_internal_data_[] = {
2360 196608u, 0u, };
FieldOptions_JSType_IsValid(int value)2361 bool FieldOptions_JSType_IsValid(int value) {
2362 return 0 <= value && value <= 2;
2363 }
2364 #if (__cplusplus < 201703) && \
2365 (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912))
2366
2367 constexpr FieldOptions_JSType FieldOptions::JS_NORMAL;
2368 constexpr FieldOptions_JSType FieldOptions::JS_STRING;
2369 constexpr FieldOptions_JSType FieldOptions::JS_NUMBER;
2370 constexpr FieldOptions_JSType FieldOptions::JSType_MIN;
2371 constexpr FieldOptions_JSType FieldOptions::JSType_MAX;
2372 constexpr int FieldOptions::JSType_ARRAYSIZE;
2373
2374 #endif // (__cplusplus < 201703) &&
2375 // (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912))
FieldOptions_OptionRetention_descriptor()2376 const ::google::protobuf::EnumDescriptor* FieldOptions_OptionRetention_descriptor() {
2377 ::google::protobuf::internal::AssignDescriptors(&descriptor_table_google_2fprotobuf_2fdescriptor_2eproto);
2378 return file_level_enum_descriptors_google_2fprotobuf_2fdescriptor_2eproto[6];
2379 }
2380 PROTOBUF_CONSTINIT const uint32_t FieldOptions_OptionRetention_internal_data_[] = {
2381 196608u, 0u, };
FieldOptions_OptionRetention_IsValid(int value)2382 bool FieldOptions_OptionRetention_IsValid(int value) {
2383 return 0 <= value && value <= 2;
2384 }
2385 #if (__cplusplus < 201703) && \
2386 (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912))
2387
2388 constexpr FieldOptions_OptionRetention FieldOptions::RETENTION_UNKNOWN;
2389 constexpr FieldOptions_OptionRetention FieldOptions::RETENTION_RUNTIME;
2390 constexpr FieldOptions_OptionRetention FieldOptions::RETENTION_SOURCE;
2391 constexpr FieldOptions_OptionRetention FieldOptions::OptionRetention_MIN;
2392 constexpr FieldOptions_OptionRetention FieldOptions::OptionRetention_MAX;
2393 constexpr int FieldOptions::OptionRetention_ARRAYSIZE;
2394
2395 #endif // (__cplusplus < 201703) &&
2396 // (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912))
FieldOptions_OptionTargetType_descriptor()2397 const ::google::protobuf::EnumDescriptor* FieldOptions_OptionTargetType_descriptor() {
2398 ::google::protobuf::internal::AssignDescriptors(&descriptor_table_google_2fprotobuf_2fdescriptor_2eproto);
2399 return file_level_enum_descriptors_google_2fprotobuf_2fdescriptor_2eproto[7];
2400 }
2401 PROTOBUF_CONSTINIT const uint32_t FieldOptions_OptionTargetType_internal_data_[] = {
2402 655360u, 0u, };
FieldOptions_OptionTargetType_IsValid(int value)2403 bool FieldOptions_OptionTargetType_IsValid(int value) {
2404 return 0 <= value && value <= 9;
2405 }
2406 #if (__cplusplus < 201703) && \
2407 (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912))
2408
2409 constexpr FieldOptions_OptionTargetType FieldOptions::TARGET_TYPE_UNKNOWN;
2410 constexpr FieldOptions_OptionTargetType FieldOptions::TARGET_TYPE_FILE;
2411 constexpr FieldOptions_OptionTargetType FieldOptions::TARGET_TYPE_EXTENSION_RANGE;
2412 constexpr FieldOptions_OptionTargetType FieldOptions::TARGET_TYPE_MESSAGE;
2413 constexpr FieldOptions_OptionTargetType FieldOptions::TARGET_TYPE_FIELD;
2414 constexpr FieldOptions_OptionTargetType FieldOptions::TARGET_TYPE_ONEOF;
2415 constexpr FieldOptions_OptionTargetType FieldOptions::TARGET_TYPE_ENUM;
2416 constexpr FieldOptions_OptionTargetType FieldOptions::TARGET_TYPE_ENUM_ENTRY;
2417 constexpr FieldOptions_OptionTargetType FieldOptions::TARGET_TYPE_SERVICE;
2418 constexpr FieldOptions_OptionTargetType FieldOptions::TARGET_TYPE_METHOD;
2419 constexpr FieldOptions_OptionTargetType FieldOptions::OptionTargetType_MIN;
2420 constexpr FieldOptions_OptionTargetType FieldOptions::OptionTargetType_MAX;
2421 constexpr int FieldOptions::OptionTargetType_ARRAYSIZE;
2422
2423 #endif // (__cplusplus < 201703) &&
2424 // (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912))
MethodOptions_IdempotencyLevel_descriptor()2425 const ::google::protobuf::EnumDescriptor* MethodOptions_IdempotencyLevel_descriptor() {
2426 ::google::protobuf::internal::AssignDescriptors(&descriptor_table_google_2fprotobuf_2fdescriptor_2eproto);
2427 return file_level_enum_descriptors_google_2fprotobuf_2fdescriptor_2eproto[8];
2428 }
2429 PROTOBUF_CONSTINIT const uint32_t MethodOptions_IdempotencyLevel_internal_data_[] = {
2430 196608u, 0u, };
MethodOptions_IdempotencyLevel_IsValid(int value)2431 bool MethodOptions_IdempotencyLevel_IsValid(int value) {
2432 return 0 <= value && value <= 2;
2433 }
2434 #if (__cplusplus < 201703) && \
2435 (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912))
2436
2437 constexpr MethodOptions_IdempotencyLevel MethodOptions::IDEMPOTENCY_UNKNOWN;
2438 constexpr MethodOptions_IdempotencyLevel MethodOptions::NO_SIDE_EFFECTS;
2439 constexpr MethodOptions_IdempotencyLevel MethodOptions::IDEMPOTENT;
2440 constexpr MethodOptions_IdempotencyLevel MethodOptions::IdempotencyLevel_MIN;
2441 constexpr MethodOptions_IdempotencyLevel MethodOptions::IdempotencyLevel_MAX;
2442 constexpr int MethodOptions::IdempotencyLevel_ARRAYSIZE;
2443
2444 #endif // (__cplusplus < 201703) &&
2445 // (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912))
FeatureSet_FieldPresence_descriptor()2446 const ::google::protobuf::EnumDescriptor* FeatureSet_FieldPresence_descriptor() {
2447 ::google::protobuf::internal::AssignDescriptors(&descriptor_table_google_2fprotobuf_2fdescriptor_2eproto);
2448 return file_level_enum_descriptors_google_2fprotobuf_2fdescriptor_2eproto[9];
2449 }
2450 PROTOBUF_CONSTINIT const uint32_t FeatureSet_FieldPresence_internal_data_[] = {
2451 262144u, 0u, };
FeatureSet_FieldPresence_IsValid(int value)2452 bool FeatureSet_FieldPresence_IsValid(int value) {
2453 return 0 <= value && value <= 3;
2454 }
2455 #if (__cplusplus < 201703) && \
2456 (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912))
2457
2458 constexpr FeatureSet_FieldPresence FeatureSet::FIELD_PRESENCE_UNKNOWN;
2459 constexpr FeatureSet_FieldPresence FeatureSet::EXPLICIT;
2460 constexpr FeatureSet_FieldPresence FeatureSet::IMPLICIT;
2461 constexpr FeatureSet_FieldPresence FeatureSet::LEGACY_REQUIRED;
2462 constexpr FeatureSet_FieldPresence FeatureSet::FieldPresence_MIN;
2463 constexpr FeatureSet_FieldPresence FeatureSet::FieldPresence_MAX;
2464 constexpr int FeatureSet::FieldPresence_ARRAYSIZE;
2465
2466 #endif // (__cplusplus < 201703) &&
2467 // (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912))
FeatureSet_EnumType_descriptor()2468 const ::google::protobuf::EnumDescriptor* FeatureSet_EnumType_descriptor() {
2469 ::google::protobuf::internal::AssignDescriptors(&descriptor_table_google_2fprotobuf_2fdescriptor_2eproto);
2470 return file_level_enum_descriptors_google_2fprotobuf_2fdescriptor_2eproto[10];
2471 }
2472 PROTOBUF_CONSTINIT const uint32_t FeatureSet_EnumType_internal_data_[] = {
2473 196608u, 0u, };
FeatureSet_EnumType_IsValid(int value)2474 bool FeatureSet_EnumType_IsValid(int value) {
2475 return 0 <= value && value <= 2;
2476 }
2477 #if (__cplusplus < 201703) && \
2478 (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912))
2479
2480 constexpr FeatureSet_EnumType FeatureSet::ENUM_TYPE_UNKNOWN;
2481 constexpr FeatureSet_EnumType FeatureSet::OPEN;
2482 constexpr FeatureSet_EnumType FeatureSet::CLOSED;
2483 constexpr FeatureSet_EnumType FeatureSet::EnumType_MIN;
2484 constexpr FeatureSet_EnumType FeatureSet::EnumType_MAX;
2485 constexpr int FeatureSet::EnumType_ARRAYSIZE;
2486
2487 #endif // (__cplusplus < 201703) &&
2488 // (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912))
FeatureSet_RepeatedFieldEncoding_descriptor()2489 const ::google::protobuf::EnumDescriptor* FeatureSet_RepeatedFieldEncoding_descriptor() {
2490 ::google::protobuf::internal::AssignDescriptors(&descriptor_table_google_2fprotobuf_2fdescriptor_2eproto);
2491 return file_level_enum_descriptors_google_2fprotobuf_2fdescriptor_2eproto[11];
2492 }
2493 PROTOBUF_CONSTINIT const uint32_t FeatureSet_RepeatedFieldEncoding_internal_data_[] = {
2494 196608u, 0u, };
FeatureSet_RepeatedFieldEncoding_IsValid(int value)2495 bool FeatureSet_RepeatedFieldEncoding_IsValid(int value) {
2496 return 0 <= value && value <= 2;
2497 }
2498 #if (__cplusplus < 201703) && \
2499 (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912))
2500
2501 constexpr FeatureSet_RepeatedFieldEncoding FeatureSet::REPEATED_FIELD_ENCODING_UNKNOWN;
2502 constexpr FeatureSet_RepeatedFieldEncoding FeatureSet::PACKED;
2503 constexpr FeatureSet_RepeatedFieldEncoding FeatureSet::EXPANDED;
2504 constexpr FeatureSet_RepeatedFieldEncoding FeatureSet::RepeatedFieldEncoding_MIN;
2505 constexpr FeatureSet_RepeatedFieldEncoding FeatureSet::RepeatedFieldEncoding_MAX;
2506 constexpr int FeatureSet::RepeatedFieldEncoding_ARRAYSIZE;
2507
2508 #endif // (__cplusplus < 201703) &&
2509 // (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912))
FeatureSet_Utf8Validation_descriptor()2510 const ::google::protobuf::EnumDescriptor* FeatureSet_Utf8Validation_descriptor() {
2511 ::google::protobuf::internal::AssignDescriptors(&descriptor_table_google_2fprotobuf_2fdescriptor_2eproto);
2512 return file_level_enum_descriptors_google_2fprotobuf_2fdescriptor_2eproto[12];
2513 }
2514 PROTOBUF_CONSTINIT const uint32_t FeatureSet_Utf8Validation_internal_data_[] = {
2515 65536u, 32u, 6u, };
FeatureSet_Utf8Validation_IsValid(int value)2516 bool FeatureSet_Utf8Validation_IsValid(int value) {
2517 return 0 <= value && value <= 3 && ((13u >> value) & 1) != 0;
2518 }
2519 #if (__cplusplus < 201703) && \
2520 (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912))
2521
2522 constexpr FeatureSet_Utf8Validation FeatureSet::UTF8_VALIDATION_UNKNOWN;
2523 constexpr FeatureSet_Utf8Validation FeatureSet::VERIFY;
2524 constexpr FeatureSet_Utf8Validation FeatureSet::NONE;
2525 constexpr FeatureSet_Utf8Validation FeatureSet::Utf8Validation_MIN;
2526 constexpr FeatureSet_Utf8Validation FeatureSet::Utf8Validation_MAX;
2527 constexpr int FeatureSet::Utf8Validation_ARRAYSIZE;
2528
2529 #endif // (__cplusplus < 201703) &&
2530 // (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912))
FeatureSet_MessageEncoding_descriptor()2531 const ::google::protobuf::EnumDescriptor* FeatureSet_MessageEncoding_descriptor() {
2532 ::google::protobuf::internal::AssignDescriptors(&descriptor_table_google_2fprotobuf_2fdescriptor_2eproto);
2533 return file_level_enum_descriptors_google_2fprotobuf_2fdescriptor_2eproto[13];
2534 }
2535 PROTOBUF_CONSTINIT const uint32_t FeatureSet_MessageEncoding_internal_data_[] = {
2536 196608u, 0u, };
FeatureSet_MessageEncoding_IsValid(int value)2537 bool FeatureSet_MessageEncoding_IsValid(int value) {
2538 return 0 <= value && value <= 2;
2539 }
2540 #if (__cplusplus < 201703) && \
2541 (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912))
2542
2543 constexpr FeatureSet_MessageEncoding FeatureSet::MESSAGE_ENCODING_UNKNOWN;
2544 constexpr FeatureSet_MessageEncoding FeatureSet::LENGTH_PREFIXED;
2545 constexpr FeatureSet_MessageEncoding FeatureSet::DELIMITED;
2546 constexpr FeatureSet_MessageEncoding FeatureSet::MessageEncoding_MIN;
2547 constexpr FeatureSet_MessageEncoding FeatureSet::MessageEncoding_MAX;
2548 constexpr int FeatureSet::MessageEncoding_ARRAYSIZE;
2549
2550 #endif // (__cplusplus < 201703) &&
2551 // (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912))
FeatureSet_JsonFormat_descriptor()2552 const ::google::protobuf::EnumDescriptor* FeatureSet_JsonFormat_descriptor() {
2553 ::google::protobuf::internal::AssignDescriptors(&descriptor_table_google_2fprotobuf_2fdescriptor_2eproto);
2554 return file_level_enum_descriptors_google_2fprotobuf_2fdescriptor_2eproto[14];
2555 }
2556 PROTOBUF_CONSTINIT const uint32_t FeatureSet_JsonFormat_internal_data_[] = {
2557 196608u, 0u, };
FeatureSet_JsonFormat_IsValid(int value)2558 bool FeatureSet_JsonFormat_IsValid(int value) {
2559 return 0 <= value && value <= 2;
2560 }
2561 #if (__cplusplus < 201703) && \
2562 (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912))
2563
2564 constexpr FeatureSet_JsonFormat FeatureSet::JSON_FORMAT_UNKNOWN;
2565 constexpr FeatureSet_JsonFormat FeatureSet::ALLOW;
2566 constexpr FeatureSet_JsonFormat FeatureSet::LEGACY_BEST_EFFORT;
2567 constexpr FeatureSet_JsonFormat FeatureSet::JsonFormat_MIN;
2568 constexpr FeatureSet_JsonFormat FeatureSet::JsonFormat_MAX;
2569 constexpr int FeatureSet::JsonFormat_ARRAYSIZE;
2570
2571 #endif // (__cplusplus < 201703) &&
2572 // (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912))
GeneratedCodeInfo_Annotation_Semantic_descriptor()2573 const ::google::protobuf::EnumDescriptor* GeneratedCodeInfo_Annotation_Semantic_descriptor() {
2574 ::google::protobuf::internal::AssignDescriptors(&descriptor_table_google_2fprotobuf_2fdescriptor_2eproto);
2575 return file_level_enum_descriptors_google_2fprotobuf_2fdescriptor_2eproto[15];
2576 }
2577 PROTOBUF_CONSTINIT const uint32_t GeneratedCodeInfo_Annotation_Semantic_internal_data_[] = {
2578 196608u, 0u, };
GeneratedCodeInfo_Annotation_Semantic_IsValid(int value)2579 bool GeneratedCodeInfo_Annotation_Semantic_IsValid(int value) {
2580 return 0 <= value && value <= 2;
2581 }
2582 #if (__cplusplus < 201703) && \
2583 (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912))
2584
2585 constexpr GeneratedCodeInfo_Annotation_Semantic GeneratedCodeInfo_Annotation::NONE;
2586 constexpr GeneratedCodeInfo_Annotation_Semantic GeneratedCodeInfo_Annotation::SET;
2587 constexpr GeneratedCodeInfo_Annotation_Semantic GeneratedCodeInfo_Annotation::ALIAS;
2588 constexpr GeneratedCodeInfo_Annotation_Semantic GeneratedCodeInfo_Annotation::Semantic_MIN;
2589 constexpr GeneratedCodeInfo_Annotation_Semantic GeneratedCodeInfo_Annotation::Semantic_MAX;
2590 constexpr int GeneratedCodeInfo_Annotation::Semantic_ARRAYSIZE;
2591
2592 #endif // (__cplusplus < 201703) &&
2593 // (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912))
Edition_descriptor()2594 const ::google::protobuf::EnumDescriptor* Edition_descriptor() {
2595 ::google::protobuf::internal::AssignDescriptors(&descriptor_table_google_2fprotobuf_2fdescriptor_2eproto);
2596 return file_level_enum_descriptors_google_2fprotobuf_2fdescriptor_2eproto[16];
2597 }
2598 PROTOBUF_CONSTINIT const uint32_t Edition_internal_data_[] = {
2599 196608u, 589824u, 99997u, 1000u, 99999u, 998u, 1001u, 99998u, 2147483647u, 900u, 999u, };
Edition_IsValid(int value)2600 bool Edition_IsValid(int value) {
2601 return ::_pbi::ValidateEnum(value, Edition_internal_data_);
2602 }
2603 // ===================================================================
2604
2605 class FileDescriptorSet::_Internal {
2606 public:
2607 };
2608
FileDescriptorSet(::google::protobuf::Arena * arena)2609 FileDescriptorSet::FileDescriptorSet(::google::protobuf::Arena* arena)
2610 #if defined(PROTOBUF_CUSTOM_VTABLE)
2611 : ::google::protobuf::Message(arena, _class_data_.base()) {
2612 #else // PROTOBUF_CUSTOM_VTABLE
2613 : ::google::protobuf::Message(arena) {
2614 #endif // PROTOBUF_CUSTOM_VTABLE
2615 SharedCtor(arena);
2616 // @@protoc_insertion_point(arena_constructor:google.protobuf.FileDescriptorSet)
2617 }
2618 inline PROTOBUF_NDEBUG_INLINE FileDescriptorSet::Impl_::Impl_(
2619 ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena,
2620 const Impl_& from, const ::google::protobuf::FileDescriptorSet& from_msg)
2621 : _extensions_{visibility, arena},
2622 file_{visibility, arena, from.file_},
2623 _cached_size_{0} {}
2624
2625 FileDescriptorSet::FileDescriptorSet(
2626 ::google::protobuf::Arena* arena,
2627 const FileDescriptorSet& from)
2628 #if defined(PROTOBUF_CUSTOM_VTABLE)
2629 : ::google::protobuf::Message(arena, _class_data_.base()) {
2630 #else // PROTOBUF_CUSTOM_VTABLE
2631 : ::google::protobuf::Message(arena) {
2632 #endif // PROTOBUF_CUSTOM_VTABLE
2633 FileDescriptorSet* const _this = this;
2634 (void)_this;
2635 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
2636 from._internal_metadata_);
2637 new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
2638 _impl_._extensions_.MergeFrom(this, from._impl_._extensions_);
2639
2640 // @@protoc_insertion_point(copy_constructor:google.protobuf.FileDescriptorSet)
2641 }
2642 inline PROTOBUF_NDEBUG_INLINE FileDescriptorSet::Impl_::Impl_(
2643 ::google::protobuf::internal::InternalVisibility visibility,
2644 ::google::protobuf::Arena* arena)
2645 : _extensions_{visibility, arena},
2646 file_{visibility, arena},
2647 _cached_size_{0} {}
2648
2649 inline void FileDescriptorSet::SharedCtor(::_pb::Arena* arena) {
2650 new (&_impl_) Impl_(internal_visibility(), arena);
2651 }
2652 FileDescriptorSet::~FileDescriptorSet() {
2653 // @@protoc_insertion_point(destructor:google.protobuf.FileDescriptorSet)
2654 SharedDtor(*this);
2655 }
2656 inline void FileDescriptorSet::SharedDtor(MessageLite& self) {
2657 FileDescriptorSet& this_ = static_cast<FileDescriptorSet&>(self);
2658 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
2659 ABSL_DCHECK(this_.GetArena() == nullptr);
2660 this_._impl_.~Impl_();
2661 }
2662
2663 inline void* FileDescriptorSet::PlacementNew_(const void*, void* mem,
2664 ::google::protobuf::Arena* arena) {
2665 return ::new (mem) FileDescriptorSet(arena);
2666 }
2667 constexpr auto FileDescriptorSet::InternalNewImpl_() {
2668 constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({
2669 PROTOBUF_FIELD_OFFSET(FileDescriptorSet, _impl_._extensions_) +
2670 decltype(FileDescriptorSet::_impl_._extensions_)::InternalGetArenaOffset(
2671 ::google::protobuf::Message::internal_visibility()),
2672 PROTOBUF_FIELD_OFFSET(FileDescriptorSet, _impl_.file_) +
2673 decltype(FileDescriptorSet::_impl_.file_)::
2674 InternalGetArenaOffset(
2675 ::google::protobuf::Message::internal_visibility()),
2676 });
2677 if (arena_bits.has_value()) {
2678 return ::google::protobuf::internal::MessageCreator::ZeroInit(
2679 sizeof(FileDescriptorSet), alignof(FileDescriptorSet), *arena_bits);
2680 } else {
2681 return ::google::protobuf::internal::MessageCreator(&FileDescriptorSet::PlacementNew_,
2682 sizeof(FileDescriptorSet),
2683 alignof(FileDescriptorSet));
2684 }
2685 }
2686 PROTOBUF_CONSTINIT
2687 PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
2688 const ::google::protobuf::internal::ClassDataFull FileDescriptorSet::_class_data_ = {
2689 ::google::protobuf::internal::ClassData{
2690 &_FileDescriptorSet_default_instance_._instance,
2691 &_table_.header,
2692 nullptr, // OnDemandRegisterArenaDtor
2693 FileDescriptorSet::IsInitializedImpl,
2694 &FileDescriptorSet::MergeImpl,
2695 ::google::protobuf::Message::GetNewImpl<FileDescriptorSet>(),
2696 #if defined(PROTOBUF_CUSTOM_VTABLE)
2697 &FileDescriptorSet::SharedDtor,
2698 ::google::protobuf::Message::GetClearImpl<FileDescriptorSet>(), &FileDescriptorSet::ByteSizeLong,
2699 &FileDescriptorSet::_InternalSerialize,
2700 #endif // PROTOBUF_CUSTOM_VTABLE
2701 PROTOBUF_FIELD_OFFSET(FileDescriptorSet, _impl_._cached_size_),
2702 false,
2703 },
2704 &FileDescriptorSet::kDescriptorMethods,
2705 &descriptor_table_google_2fprotobuf_2fdescriptor_2eproto,
2706 nullptr, // tracker
2707 };
2708 const ::google::protobuf::internal::ClassData* FileDescriptorSet::GetClassData() const {
2709 ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_);
2710 ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table);
2711 return _class_data_.base();
2712 }
2713 constexpr ::_pbi::TcParseTable<0, 1, 1, 0, 2> FileDescriptorSet::_table_ = {
2714 {
2715 0, // no _has_bits_
2716 PROTOBUF_FIELD_OFFSET(FileDescriptorSet, _impl_._extensions_),
2717 1, 0, // max_field_number, fast_idx_mask
2718 offsetof(decltype(_table_), field_lookup_table),
2719 4294967294, // skipmap
2720 offsetof(decltype(_table_), field_entries),
2721 1, // num_field_entries
2722 1, // num_aux_entries
2723 offsetof(decltype(_table_), aux_entries),
2724 _class_data_.base(),
2725 nullptr, // post_loop_handler
2726 ::_pbi::TcParser::GenericFallback, // fallback
2727 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
2728 ::_pbi::TcParser::GetTable<::google::protobuf::FileDescriptorSet>(), // to_prefetch
2729 #endif // PROTOBUF_PREFETCH_PARSE_TABLE
2730 }, {{
2731 // repeated .google.protobuf.FileDescriptorProto file = 1;
2732 {::_pbi::TcParser::FastMtR1,
2733 {10, 63, 0, PROTOBUF_FIELD_OFFSET(FileDescriptorSet, _impl_.file_)}},
2734 }}, {{
2735 65535, 65535
2736 }}, {{
2737 // repeated .google.protobuf.FileDescriptorProto file = 1;
2738 {PROTOBUF_FIELD_OFFSET(FileDescriptorSet, _impl_.file_), 0, 0,
2739 (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
2740 }}, {{
2741 {::_pbi::TcParser::GetTable<::google::protobuf::FileDescriptorProto>()},
2742 }}, {{
2743 }},
2744 };
2745
2746 PROTOBUF_NOINLINE void FileDescriptorSet::Clear() {
2747 // @@protoc_insertion_point(message_clear_start:google.protobuf.FileDescriptorSet)
2748 ::google::protobuf::internal::TSanWrite(&_impl_);
2749 ::uint32_t cached_has_bits = 0;
2750 // Prevent compiler warnings about cached_has_bits being unused
2751 (void) cached_has_bits;
2752
2753 _impl_._extensions_.Clear();
2754 _impl_.file_.Clear();
2755 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
2756 }
2757
2758 #if defined(PROTOBUF_CUSTOM_VTABLE)
2759 ::uint8_t* FileDescriptorSet::_InternalSerialize(
2760 const MessageLite& base, ::uint8_t* target,
2761 ::google::protobuf::io::EpsCopyOutputStream* stream) {
2762 const FileDescriptorSet& this_ = static_cast<const FileDescriptorSet&>(base);
2763 #else // PROTOBUF_CUSTOM_VTABLE
2764 ::uint8_t* FileDescriptorSet::_InternalSerialize(
2765 ::uint8_t* target,
2766 ::google::protobuf::io::EpsCopyOutputStream* stream) const {
2767 const FileDescriptorSet& this_ = *this;
2768 #endif // PROTOBUF_CUSTOM_VTABLE
2769 // @@protoc_insertion_point(serialize_to_array_start:google.protobuf.FileDescriptorSet)
2770 ::uint32_t cached_has_bits = 0;
2771 (void)cached_has_bits;
2772
2773 // repeated .google.protobuf.FileDescriptorProto file = 1;
2774 for (unsigned i = 0, n = static_cast<unsigned>(
2775 this_._internal_file_size());
2776 i < n; i++) {
2777 const auto& repfield = this_._internal_file().Get(i);
2778 target =
2779 ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
2780 1, repfield, repfield.GetCachedSize(),
2781 target, stream);
2782 }
2783
2784 // Extension range [536000000, 536000001)
2785 target = this_._impl_._extensions_._InternalSerialize(
2786 internal_default_instance(), 536000000, 536000001, target, stream);
2787 if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
2788 target =
2789 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
2790 this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
2791 }
2792 // @@protoc_insertion_point(serialize_to_array_end:google.protobuf.FileDescriptorSet)
2793 return target;
2794 }
2795
2796 #if defined(PROTOBUF_CUSTOM_VTABLE)
2797 ::size_t FileDescriptorSet::ByteSizeLong(const MessageLite& base) {
2798 const FileDescriptorSet& this_ = static_cast<const FileDescriptorSet&>(base);
2799 #else // PROTOBUF_CUSTOM_VTABLE
2800 ::size_t FileDescriptorSet::ByteSizeLong() const {
2801 const FileDescriptorSet& this_ = *this;
2802 #endif // PROTOBUF_CUSTOM_VTABLE
2803 // @@protoc_insertion_point(message_byte_size_start:google.protobuf.FileDescriptorSet)
2804 ::size_t total_size = 0;
2805 total_size += this_._impl_._extensions_.ByteSize();
2806
2807 ::uint32_t cached_has_bits = 0;
2808 // Prevent compiler warnings about cached_has_bits being unused
2809 (void)cached_has_bits;
2810
2811 ::_pbi::Prefetch5LinesFrom7Lines(&this_);
2812 {
2813 // repeated .google.protobuf.FileDescriptorProto file = 1;
2814 {
2815 total_size += 1UL * this_._internal_file_size();
2816 for (const auto& msg : this_._internal_file()) {
2817 total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
2818 }
2819 }
2820 }
2821 return this_.MaybeComputeUnknownFieldsSize(total_size,
2822 &this_._impl_._cached_size_);
2823 }
2824
2825 void FileDescriptorSet::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
2826 auto* const _this = static_cast<FileDescriptorSet*>(&to_msg);
2827 auto& from = static_cast<const FileDescriptorSet&>(from_msg);
2828 // @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.FileDescriptorSet)
2829 ABSL_DCHECK_NE(&from, _this);
2830 ::uint32_t cached_has_bits = 0;
2831 (void) cached_has_bits;
2832
2833 _this->_internal_mutable_file()->MergeFrom(
2834 from._internal_file());
2835 _this->_impl_._extensions_.MergeFrom(internal_default_instance(), from._impl_._extensions_);
2836 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
2837 }
2838
2839 void FileDescriptorSet::CopyFrom(const FileDescriptorSet& from) {
2840 // @@protoc_insertion_point(class_specific_copy_from_start:google.protobuf.FileDescriptorSet)
2841 if (&from == this) return;
2842 Clear();
2843 MergeFrom(from);
2844 }
2845
2846 PROTOBUF_NOINLINE bool FileDescriptorSet::IsInitializedImpl(
2847 const MessageLite& msg) {
2848 auto& this_ = static_cast<const FileDescriptorSet&>(msg);
2849 if (!this_._impl_._extensions_.IsInitialized(
2850 internal_default_instance())) {
2851 return false;
2852 }
2853 if (!::google::protobuf::internal::AllAreInitialized(this_._internal_file()))
2854 return false;
2855 return true;
2856 }
2857
2858 void FileDescriptorSet::InternalSwap(FileDescriptorSet* PROTOBUF_RESTRICT other) {
2859 using std::swap;
2860 _impl_._extensions_.InternalSwap(&other->_impl_._extensions_);
2861 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
2862 _impl_.file_.InternalSwap(&other->_impl_.file_);
2863 }
2864
2865 ::google::protobuf::Metadata FileDescriptorSet::GetMetadata() const {
2866 return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
2867 }
2868 // ===================================================================
2869
2870 class FileDescriptorProto::_Internal {
2871 public:
2872 using HasBits =
2873 decltype(std::declval<FileDescriptorProto>()._impl_._has_bits_);
2874 static constexpr ::int32_t kHasBitsOffset =
2875 8 * PROTOBUF_FIELD_OFFSET(FileDescriptorProto, _impl_._has_bits_);
2876 };
2877
2878 FileDescriptorProto::FileDescriptorProto(::google::protobuf::Arena* arena)
2879 #if defined(PROTOBUF_CUSTOM_VTABLE)
2880 : ::google::protobuf::Message(arena, _class_data_.base()) {
2881 #else // PROTOBUF_CUSTOM_VTABLE
2882 : ::google::protobuf::Message(arena) {
2883 #endif // PROTOBUF_CUSTOM_VTABLE
2884 SharedCtor(arena);
2885 // @@protoc_insertion_point(arena_constructor:google.protobuf.FileDescriptorProto)
2886 }
2887 inline PROTOBUF_NDEBUG_INLINE FileDescriptorProto::Impl_::Impl_(
2888 ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena,
2889 const Impl_& from, const ::google::protobuf::FileDescriptorProto& from_msg)
2890 : _has_bits_{from._has_bits_},
2891 _cached_size_{0},
2892 dependency_{visibility, arena, from.dependency_},
2893 message_type_{visibility, arena, from.message_type_},
2894 enum_type_{visibility, arena, from.enum_type_},
2895 service_{visibility, arena, from.service_},
2896 extension_{visibility, arena, from.extension_},
2897 public_dependency_{visibility, arena, from.public_dependency_},
2898 weak_dependency_{visibility, arena, from.weak_dependency_},
2899 name_(arena, from.name_),
2900 package_(arena, from.package_),
2901 syntax_(arena, from.syntax_) {}
2902
2903 FileDescriptorProto::FileDescriptorProto(
2904 ::google::protobuf::Arena* arena,
2905 const FileDescriptorProto& from)
2906 #if defined(PROTOBUF_CUSTOM_VTABLE)
2907 : ::google::protobuf::Message(arena, _class_data_.base()) {
2908 #else // PROTOBUF_CUSTOM_VTABLE
2909 : ::google::protobuf::Message(arena) {
2910 #endif // PROTOBUF_CUSTOM_VTABLE
2911 FileDescriptorProto* const _this = this;
2912 (void)_this;
2913 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
2914 from._internal_metadata_);
2915 new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
2916 ::uint32_t cached_has_bits = _impl_._has_bits_[0];
2917 _impl_.options_ = (cached_has_bits & 0x00000008u) ? ::google::protobuf::Message::CopyConstruct<::google::protobuf::FileOptions>(
2918 arena, *from._impl_.options_)
2919 : nullptr;
2920 _impl_.source_code_info_ = (cached_has_bits & 0x00000010u) ? ::google::protobuf::Message::CopyConstruct<::google::protobuf::SourceCodeInfo>(
2921 arena, *from._impl_.source_code_info_)
2922 : nullptr;
2923 _impl_.edition_ = from._impl_.edition_;
2924
2925 // @@protoc_insertion_point(copy_constructor:google.protobuf.FileDescriptorProto)
2926 }
2927 inline PROTOBUF_NDEBUG_INLINE FileDescriptorProto::Impl_::Impl_(
2928 ::google::protobuf::internal::InternalVisibility visibility,
2929 ::google::protobuf::Arena* arena)
2930 : _cached_size_{0},
2931 dependency_{visibility, arena},
2932 message_type_{visibility, arena},
2933 enum_type_{visibility, arena},
2934 service_{visibility, arena},
2935 extension_{visibility, arena},
2936 public_dependency_{visibility, arena},
2937 weak_dependency_{visibility, arena},
2938 name_(arena),
2939 package_(arena),
2940 syntax_(arena) {}
2941
2942 inline void FileDescriptorProto::SharedCtor(::_pb::Arena* arena) {
2943 new (&_impl_) Impl_(internal_visibility(), arena);
2944 ::memset(reinterpret_cast<char *>(&_impl_) +
2945 offsetof(Impl_, options_),
2946 0,
2947 offsetof(Impl_, edition_) -
2948 offsetof(Impl_, options_) +
2949 sizeof(Impl_::edition_));
2950 }
2951 FileDescriptorProto::~FileDescriptorProto() {
2952 // @@protoc_insertion_point(destructor:google.protobuf.FileDescriptorProto)
2953 SharedDtor(*this);
2954 }
2955 inline void FileDescriptorProto::SharedDtor(MessageLite& self) {
2956 FileDescriptorProto& this_ = static_cast<FileDescriptorProto&>(self);
2957 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
2958 ABSL_DCHECK(this_.GetArena() == nullptr);
2959 this_._impl_.name_.Destroy();
2960 this_._impl_.package_.Destroy();
2961 this_._impl_.syntax_.Destroy();
2962 delete this_._impl_.options_;
2963 delete this_._impl_.source_code_info_;
2964 this_._impl_.~Impl_();
2965 }
2966
2967 inline void* FileDescriptorProto::PlacementNew_(const void*, void* mem,
2968 ::google::protobuf::Arena* arena) {
2969 return ::new (mem) FileDescriptorProto(arena);
2970 }
2971 constexpr auto FileDescriptorProto::InternalNewImpl_() {
2972 constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({
2973 PROTOBUF_FIELD_OFFSET(FileDescriptorProto, _impl_.dependency_) +
2974 decltype(FileDescriptorProto::_impl_.dependency_)::
2975 InternalGetArenaOffset(
2976 ::google::protobuf::Message::internal_visibility()),
2977 PROTOBUF_FIELD_OFFSET(FileDescriptorProto, _impl_.public_dependency_) +
2978 decltype(FileDescriptorProto::_impl_.public_dependency_)::
2979 InternalGetArenaOffset(
2980 ::google::protobuf::Message::internal_visibility()),
2981 PROTOBUF_FIELD_OFFSET(FileDescriptorProto, _impl_.weak_dependency_) +
2982 decltype(FileDescriptorProto::_impl_.weak_dependency_)::
2983 InternalGetArenaOffset(
2984 ::google::protobuf::Message::internal_visibility()),
2985 PROTOBUF_FIELD_OFFSET(FileDescriptorProto, _impl_.message_type_) +
2986 decltype(FileDescriptorProto::_impl_.message_type_)::
2987 InternalGetArenaOffset(
2988 ::google::protobuf::Message::internal_visibility()),
2989 PROTOBUF_FIELD_OFFSET(FileDescriptorProto, _impl_.enum_type_) +
2990 decltype(FileDescriptorProto::_impl_.enum_type_)::
2991 InternalGetArenaOffset(
2992 ::google::protobuf::Message::internal_visibility()),
2993 PROTOBUF_FIELD_OFFSET(FileDescriptorProto, _impl_.service_) +
2994 decltype(FileDescriptorProto::_impl_.service_)::
2995 InternalGetArenaOffset(
2996 ::google::protobuf::Message::internal_visibility()),
2997 PROTOBUF_FIELD_OFFSET(FileDescriptorProto, _impl_.extension_) +
2998 decltype(FileDescriptorProto::_impl_.extension_)::
2999 InternalGetArenaOffset(
3000 ::google::protobuf::Message::internal_visibility()),
3001 });
3002 if (arena_bits.has_value()) {
3003 return ::google::protobuf::internal::MessageCreator::CopyInit(
3004 sizeof(FileDescriptorProto), alignof(FileDescriptorProto), *arena_bits);
3005 } else {
3006 return ::google::protobuf::internal::MessageCreator(&FileDescriptorProto::PlacementNew_,
3007 sizeof(FileDescriptorProto),
3008 alignof(FileDescriptorProto));
3009 }
3010 }
3011 PROTOBUF_CONSTINIT
3012 PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
3013 const ::google::protobuf::internal::ClassDataFull FileDescriptorProto::_class_data_ = {
3014 ::google::protobuf::internal::ClassData{
3015 &_FileDescriptorProto_default_instance_._instance,
3016 &_table_.header,
3017 nullptr, // OnDemandRegisterArenaDtor
3018 FileDescriptorProto::IsInitializedImpl,
3019 &FileDescriptorProto::MergeImpl,
3020 ::google::protobuf::Message::GetNewImpl<FileDescriptorProto>(),
3021 #if defined(PROTOBUF_CUSTOM_VTABLE)
3022 &FileDescriptorProto::SharedDtor,
3023 ::google::protobuf::Message::GetClearImpl<FileDescriptorProto>(), &FileDescriptorProto::ByteSizeLong,
3024 &FileDescriptorProto::_InternalSerialize,
3025 #endif // PROTOBUF_CUSTOM_VTABLE
3026 PROTOBUF_FIELD_OFFSET(FileDescriptorProto, _impl_._cached_size_),
3027 false,
3028 },
3029 &FileDescriptorProto::kDescriptorMethods,
3030 &descriptor_table_google_2fprotobuf_2fdescriptor_2eproto,
3031 nullptr, // tracker
3032 };
3033 const ::google::protobuf::internal::ClassData* FileDescriptorProto::GetClassData() const {
3034 ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_);
3035 ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table);
3036 return _class_data_.base();
3037 }
3038 constexpr ::_pbi::TcParseTable<4, 13, 7, 79, 2> FileDescriptorProto::_table_ = {
3039 {
3040 PROTOBUF_FIELD_OFFSET(FileDescriptorProto, _impl_._has_bits_),
3041 0, // no _extensions_
3042 14, 120, // max_field_number, fast_idx_mask
3043 offsetof(decltype(_table_), field_lookup_table),
3044 4294955008, // skipmap
3045 offsetof(decltype(_table_), field_entries),
3046 13, // num_field_entries
3047 7, // num_aux_entries
3048 offsetof(decltype(_table_), aux_entries),
3049 _class_data_.base(),
3050 nullptr, // post_loop_handler
3051 ::_pbi::TcParser::GenericFallback, // fallback
3052 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
3053 ::_pbi::TcParser::GetTable<::google::protobuf::FileDescriptorProto>(), // to_prefetch
3054 #endif // PROTOBUF_PREFETCH_PARSE_TABLE
3055 }, {{
3056 {::_pbi::TcParser::MiniParse, {}},
3057 // optional string name = 1;
3058 {::_pbi::TcParser::FastSS1,
3059 {10, 0, 0, PROTOBUF_FIELD_OFFSET(FileDescriptorProto, _impl_.name_)}},
3060 // optional string package = 2;
3061 {::_pbi::TcParser::FastSS1,
3062 {18, 1, 0, PROTOBUF_FIELD_OFFSET(FileDescriptorProto, _impl_.package_)}},
3063 // repeated string dependency = 3;
3064 {::_pbi::TcParser::FastSR1,
3065 {26, 63, 0, PROTOBUF_FIELD_OFFSET(FileDescriptorProto, _impl_.dependency_)}},
3066 // repeated .google.protobuf.DescriptorProto message_type = 4;
3067 {::_pbi::TcParser::FastMtR1,
3068 {34, 63, 0, PROTOBUF_FIELD_OFFSET(FileDescriptorProto, _impl_.message_type_)}},
3069 // repeated .google.protobuf.EnumDescriptorProto enum_type = 5;
3070 {::_pbi::TcParser::FastMtR1,
3071 {42, 63, 1, PROTOBUF_FIELD_OFFSET(FileDescriptorProto, _impl_.enum_type_)}},
3072 // repeated .google.protobuf.ServiceDescriptorProto service = 6;
3073 {::_pbi::TcParser::FastMtR1,
3074 {50, 63, 2, PROTOBUF_FIELD_OFFSET(FileDescriptorProto, _impl_.service_)}},
3075 // repeated .google.protobuf.FieldDescriptorProto extension = 7;
3076 {::_pbi::TcParser::FastMtR1,
3077 {58, 63, 3, PROTOBUF_FIELD_OFFSET(FileDescriptorProto, _impl_.extension_)}},
3078 // optional .google.protobuf.FileOptions options = 8;
3079 {::_pbi::TcParser::FastMtS1,
3080 {66, 3, 4, PROTOBUF_FIELD_OFFSET(FileDescriptorProto, _impl_.options_)}},
3081 // optional .google.protobuf.SourceCodeInfo source_code_info = 9;
3082 {::_pbi::TcParser::FastMtS1,
3083 {74, 4, 5, PROTOBUF_FIELD_OFFSET(FileDescriptorProto, _impl_.source_code_info_)}},
3084 // repeated int32 public_dependency = 10;
3085 {::_pbi::TcParser::FastV32R1,
3086 {80, 63, 0, PROTOBUF_FIELD_OFFSET(FileDescriptorProto, _impl_.public_dependency_)}},
3087 // repeated int32 weak_dependency = 11;
3088 {::_pbi::TcParser::FastV32R1,
3089 {88, 63, 0, PROTOBUF_FIELD_OFFSET(FileDescriptorProto, _impl_.weak_dependency_)}},
3090 // optional string syntax = 12;
3091 {::_pbi::TcParser::FastSS1,
3092 {98, 2, 0, PROTOBUF_FIELD_OFFSET(FileDescriptorProto, _impl_.syntax_)}},
3093 {::_pbi::TcParser::MiniParse, {}},
3094 // optional .google.protobuf.Edition edition = 14;
3095 {::_pbi::TcParser::FastEvS1,
3096 {112, 5, 6, PROTOBUF_FIELD_OFFSET(FileDescriptorProto, _impl_.edition_)}},
3097 {::_pbi::TcParser::MiniParse, {}},
3098 }}, {{
3099 65535, 65535
3100 }}, {{
3101 // optional string name = 1;
3102 {PROTOBUF_FIELD_OFFSET(FileDescriptorProto, _impl_.name_), _Internal::kHasBitsOffset + 0, 0,
3103 (0 | ::_fl::kFcOptional | ::_fl::kRawString | ::_fl::kRepAString)},
3104 // optional string package = 2;
3105 {PROTOBUF_FIELD_OFFSET(FileDescriptorProto, _impl_.package_), _Internal::kHasBitsOffset + 1, 0,
3106 (0 | ::_fl::kFcOptional | ::_fl::kRawString | ::_fl::kRepAString)},
3107 // repeated string dependency = 3;
3108 {PROTOBUF_FIELD_OFFSET(FileDescriptorProto, _impl_.dependency_), -1, 0,
3109 (0 | ::_fl::kFcRepeated | ::_fl::kRawString | ::_fl::kRepSString)},
3110 // repeated .google.protobuf.DescriptorProto message_type = 4;
3111 {PROTOBUF_FIELD_OFFSET(FileDescriptorProto, _impl_.message_type_), -1, 0,
3112 (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
3113 // repeated .google.protobuf.EnumDescriptorProto enum_type = 5;
3114 {PROTOBUF_FIELD_OFFSET(FileDescriptorProto, _impl_.enum_type_), -1, 1,
3115 (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
3116 // repeated .google.protobuf.ServiceDescriptorProto service = 6;
3117 {PROTOBUF_FIELD_OFFSET(FileDescriptorProto, _impl_.service_), -1, 2,
3118 (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
3119 // repeated .google.protobuf.FieldDescriptorProto extension = 7;
3120 {PROTOBUF_FIELD_OFFSET(FileDescriptorProto, _impl_.extension_), -1, 3,
3121 (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
3122 // optional .google.protobuf.FileOptions options = 8;
3123 {PROTOBUF_FIELD_OFFSET(FileDescriptorProto, _impl_.options_), _Internal::kHasBitsOffset + 3, 4,
3124 (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
3125 // optional .google.protobuf.SourceCodeInfo source_code_info = 9;
3126 {PROTOBUF_FIELD_OFFSET(FileDescriptorProto, _impl_.source_code_info_), _Internal::kHasBitsOffset + 4, 5,
3127 (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
3128 // repeated int32 public_dependency = 10;
3129 {PROTOBUF_FIELD_OFFSET(FileDescriptorProto, _impl_.public_dependency_), -1, 0,
3130 (0 | ::_fl::kFcRepeated | ::_fl::kInt32)},
3131 // repeated int32 weak_dependency = 11;
3132 {PROTOBUF_FIELD_OFFSET(FileDescriptorProto, _impl_.weak_dependency_), -1, 0,
3133 (0 | ::_fl::kFcRepeated | ::_fl::kInt32)},
3134 // optional string syntax = 12;
3135 {PROTOBUF_FIELD_OFFSET(FileDescriptorProto, _impl_.syntax_), _Internal::kHasBitsOffset + 2, 0,
3136 (0 | ::_fl::kFcOptional | ::_fl::kRawString | ::_fl::kRepAString)},
3137 // optional .google.protobuf.Edition edition = 14;
3138 {PROTOBUF_FIELD_OFFSET(FileDescriptorProto, _impl_.edition_), _Internal::kHasBitsOffset + 5, 6,
3139 (0 | ::_fl::kFcOptional | ::_fl::kEnum)},
3140 }}, {{
3141 {::_pbi::TcParser::GetTable<::google::protobuf::DescriptorProto>()},
3142 {::_pbi::TcParser::GetTable<::google::protobuf::EnumDescriptorProto>()},
3143 {::_pbi::TcParser::GetTable<::google::protobuf::ServiceDescriptorProto>()},
3144 {::_pbi::TcParser::GetTable<::google::protobuf::FieldDescriptorProto>()},
3145 {::_pbi::TcParser::GetTable<::google::protobuf::FileOptions>()},
3146 {::_pbi::TcParser::GetTable<::google::protobuf::SourceCodeInfo>()},
3147 {::_pbi::FieldAuxEnumData{}, ::google::protobuf::Edition_internal_data_},
3148 }}, {{
3149 "\43\4\7\12\0\0\0\0\0\0\0\0\6\0\0\0"
3150 "google.protobuf.FileDescriptorProto"
3151 "name"
3152 "package"
3153 "dependency"
3154 "syntax"
3155 }},
3156 };
3157
3158 PROTOBUF_NOINLINE void FileDescriptorProto::Clear() {
3159 // @@protoc_insertion_point(message_clear_start:google.protobuf.FileDescriptorProto)
3160 ::google::protobuf::internal::TSanWrite(&_impl_);
3161 ::uint32_t cached_has_bits = 0;
3162 // Prevent compiler warnings about cached_has_bits being unused
3163 (void) cached_has_bits;
3164
3165 _impl_.dependency_.Clear();
3166 _impl_.message_type_.Clear();
3167 _impl_.enum_type_.Clear();
3168 _impl_.service_.Clear();
3169 _impl_.extension_.Clear();
3170 _impl_.public_dependency_.Clear();
3171 _impl_.weak_dependency_.Clear();
3172 cached_has_bits = _impl_._has_bits_[0];
3173 if (cached_has_bits & 0x0000001fu) {
3174 if (cached_has_bits & 0x00000001u) {
3175 _impl_.name_.ClearNonDefaultToEmpty();
3176 }
3177 if (cached_has_bits & 0x00000002u) {
3178 _impl_.package_.ClearNonDefaultToEmpty();
3179 }
3180 if (cached_has_bits & 0x00000004u) {
3181 _impl_.syntax_.ClearNonDefaultToEmpty();
3182 }
3183 if (cached_has_bits & 0x00000008u) {
3184 ABSL_DCHECK(_impl_.options_ != nullptr);
3185 _impl_.options_->Clear();
3186 }
3187 if (cached_has_bits & 0x00000010u) {
3188 ABSL_DCHECK(_impl_.source_code_info_ != nullptr);
3189 _impl_.source_code_info_->Clear();
3190 }
3191 }
3192 _impl_.edition_ = 0;
3193 _impl_._has_bits_.Clear();
3194 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
3195 }
3196
3197 #if defined(PROTOBUF_CUSTOM_VTABLE)
3198 ::uint8_t* FileDescriptorProto::_InternalSerialize(
3199 const MessageLite& base, ::uint8_t* target,
3200 ::google::protobuf::io::EpsCopyOutputStream* stream) {
3201 const FileDescriptorProto& this_ = static_cast<const FileDescriptorProto&>(base);
3202 #else // PROTOBUF_CUSTOM_VTABLE
3203 ::uint8_t* FileDescriptorProto::_InternalSerialize(
3204 ::uint8_t* target,
3205 ::google::protobuf::io::EpsCopyOutputStream* stream) const {
3206 const FileDescriptorProto& this_ = *this;
3207 #endif // PROTOBUF_CUSTOM_VTABLE
3208 // @@protoc_insertion_point(serialize_to_array_start:google.protobuf.FileDescriptorProto)
3209 ::uint32_t cached_has_bits = 0;
3210 (void)cached_has_bits;
3211
3212 cached_has_bits = this_._impl_._has_bits_[0];
3213 // optional string name = 1;
3214 if (cached_has_bits & 0x00000001u) {
3215 const std::string& _s = this_._internal_name();
3216 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(_s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormat::SERIALIZE,
3217 "google.protobuf.FileDescriptorProto.name");
3218 target = stream->WriteStringMaybeAliased(1, _s, target);
3219 }
3220
3221 // optional string package = 2;
3222 if (cached_has_bits & 0x00000002u) {
3223 const std::string& _s = this_._internal_package();
3224 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(_s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormat::SERIALIZE,
3225 "google.protobuf.FileDescriptorProto.package");
3226 target = stream->WriteStringMaybeAliased(2, _s, target);
3227 }
3228
3229 // repeated string dependency = 3;
3230 for (int i = 0, n = this_._internal_dependency_size(); i < n; ++i) {
3231 const auto& s = this_._internal_dependency().Get(i);
3232 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(s.data(), static_cast<int>(s.length()), ::google::protobuf::internal::WireFormat::SERIALIZE,
3233 "google.protobuf.FileDescriptorProto.dependency");
3234 target = stream->WriteString(3, s, target);
3235 }
3236
3237 // repeated .google.protobuf.DescriptorProto message_type = 4;
3238 for (unsigned i = 0, n = static_cast<unsigned>(
3239 this_._internal_message_type_size());
3240 i < n; i++) {
3241 const auto& repfield = this_._internal_message_type().Get(i);
3242 target =
3243 ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
3244 4, repfield, repfield.GetCachedSize(),
3245 target, stream);
3246 }
3247
3248 // repeated .google.protobuf.EnumDescriptorProto enum_type = 5;
3249 for (unsigned i = 0, n = static_cast<unsigned>(
3250 this_._internal_enum_type_size());
3251 i < n; i++) {
3252 const auto& repfield = this_._internal_enum_type().Get(i);
3253 target =
3254 ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
3255 5, repfield, repfield.GetCachedSize(),
3256 target, stream);
3257 }
3258
3259 // repeated .google.protobuf.ServiceDescriptorProto service = 6;
3260 for (unsigned i = 0, n = static_cast<unsigned>(
3261 this_._internal_service_size());
3262 i < n; i++) {
3263 const auto& repfield = this_._internal_service().Get(i);
3264 target =
3265 ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
3266 6, repfield, repfield.GetCachedSize(),
3267 target, stream);
3268 }
3269
3270 // repeated .google.protobuf.FieldDescriptorProto extension = 7;
3271 for (unsigned i = 0, n = static_cast<unsigned>(
3272 this_._internal_extension_size());
3273 i < n; i++) {
3274 const auto& repfield = this_._internal_extension().Get(i);
3275 target =
3276 ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
3277 7, repfield, repfield.GetCachedSize(),
3278 target, stream);
3279 }
3280
3281 // optional .google.protobuf.FileOptions options = 8;
3282 if (cached_has_bits & 0x00000008u) {
3283 target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
3284 8, *this_._impl_.options_, this_._impl_.options_->GetCachedSize(), target,
3285 stream);
3286 }
3287
3288 // optional .google.protobuf.SourceCodeInfo source_code_info = 9;
3289 if (cached_has_bits & 0x00000010u) {
3290 target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
3291 9, *this_._impl_.source_code_info_, this_._impl_.source_code_info_->GetCachedSize(), target,
3292 stream);
3293 }
3294
3295 // repeated int32 public_dependency = 10;
3296 for (int i = 0, n = this_._internal_public_dependency_size(); i < n; ++i) {
3297 target = stream->EnsureSpace(target);
3298 target = ::_pbi::WireFormatLite::WriteInt32ToArray(
3299 10, this_._internal_public_dependency().Get(i), target);
3300 }
3301
3302 // repeated int32 weak_dependency = 11;
3303 for (int i = 0, n = this_._internal_weak_dependency_size(); i < n; ++i) {
3304 target = stream->EnsureSpace(target);
3305 target = ::_pbi::WireFormatLite::WriteInt32ToArray(
3306 11, this_._internal_weak_dependency().Get(i), target);
3307 }
3308
3309 // optional string syntax = 12;
3310 if (cached_has_bits & 0x00000004u) {
3311 const std::string& _s = this_._internal_syntax();
3312 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(_s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormat::SERIALIZE,
3313 "google.protobuf.FileDescriptorProto.syntax");
3314 target = stream->WriteStringMaybeAliased(12, _s, target);
3315 }
3316
3317 // optional .google.protobuf.Edition edition = 14;
3318 if (cached_has_bits & 0x00000020u) {
3319 target = stream->EnsureSpace(target);
3320 target = ::_pbi::WireFormatLite::WriteEnumToArray(
3321 14, this_._internal_edition(), target);
3322 }
3323
3324 if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
3325 target =
3326 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
3327 this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
3328 }
3329 // @@protoc_insertion_point(serialize_to_array_end:google.protobuf.FileDescriptorProto)
3330 return target;
3331 }
3332
3333 #if defined(PROTOBUF_CUSTOM_VTABLE)
3334 ::size_t FileDescriptorProto::ByteSizeLong(const MessageLite& base) {
3335 const FileDescriptorProto& this_ = static_cast<const FileDescriptorProto&>(base);
3336 #else // PROTOBUF_CUSTOM_VTABLE
3337 ::size_t FileDescriptorProto::ByteSizeLong() const {
3338 const FileDescriptorProto& this_ = *this;
3339 #endif // PROTOBUF_CUSTOM_VTABLE
3340 // @@protoc_insertion_point(message_byte_size_start:google.protobuf.FileDescriptorProto)
3341 ::size_t total_size = 0;
3342
3343 ::uint32_t cached_has_bits = 0;
3344 // Prevent compiler warnings about cached_has_bits being unused
3345 (void)cached_has_bits;
3346
3347 ::_pbi::Prefetch5LinesFrom7Lines(&this_);
3348 {
3349 // repeated string dependency = 3;
3350 {
3351 total_size +=
3352 1 * ::google::protobuf::internal::FromIntSize(this_._internal_dependency().size());
3353 for (int i = 0, n = this_._internal_dependency().size(); i < n; ++i) {
3354 total_size += ::google::protobuf::internal::WireFormatLite::StringSize(
3355 this_._internal_dependency().Get(i));
3356 }
3357 }
3358 // repeated .google.protobuf.DescriptorProto message_type = 4;
3359 {
3360 total_size += 1UL * this_._internal_message_type_size();
3361 for (const auto& msg : this_._internal_message_type()) {
3362 total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
3363 }
3364 }
3365 // repeated .google.protobuf.EnumDescriptorProto enum_type = 5;
3366 {
3367 total_size += 1UL * this_._internal_enum_type_size();
3368 for (const auto& msg : this_._internal_enum_type()) {
3369 total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
3370 }
3371 }
3372 // repeated .google.protobuf.ServiceDescriptorProto service = 6;
3373 {
3374 total_size += 1UL * this_._internal_service_size();
3375 for (const auto& msg : this_._internal_service()) {
3376 total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
3377 }
3378 }
3379 // repeated .google.protobuf.FieldDescriptorProto extension = 7;
3380 {
3381 total_size += 1UL * this_._internal_extension_size();
3382 for (const auto& msg : this_._internal_extension()) {
3383 total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
3384 }
3385 }
3386 // repeated int32 public_dependency = 10;
3387 {
3388 std::size_t data_size = ::_pbi::WireFormatLite::Int32Size(
3389 this_._internal_public_dependency());
3390 std::size_t tag_size = std::size_t{1} *
3391 ::_pbi::FromIntSize(this_._internal_public_dependency_size());
3392 total_size += tag_size + data_size;
3393 }
3394 // repeated int32 weak_dependency = 11;
3395 {
3396 std::size_t data_size = ::_pbi::WireFormatLite::Int32Size(
3397 this_._internal_weak_dependency());
3398 std::size_t tag_size = std::size_t{1} *
3399 ::_pbi::FromIntSize(this_._internal_weak_dependency_size());
3400 total_size += tag_size + data_size;
3401 }
3402 }
3403 cached_has_bits = this_._impl_._has_bits_[0];
3404 if (cached_has_bits & 0x0000003fu) {
3405 // optional string name = 1;
3406 if (cached_has_bits & 0x00000001u) {
3407 total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
3408 this_._internal_name());
3409 }
3410 // optional string package = 2;
3411 if (cached_has_bits & 0x00000002u) {
3412 total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
3413 this_._internal_package());
3414 }
3415 // optional string syntax = 12;
3416 if (cached_has_bits & 0x00000004u) {
3417 total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
3418 this_._internal_syntax());
3419 }
3420 // optional .google.protobuf.FileOptions options = 8;
3421 if (cached_has_bits & 0x00000008u) {
3422 total_size += 1 +
3423 ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.options_);
3424 }
3425 // optional .google.protobuf.SourceCodeInfo source_code_info = 9;
3426 if (cached_has_bits & 0x00000010u) {
3427 total_size += 1 +
3428 ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.source_code_info_);
3429 }
3430 // optional .google.protobuf.Edition edition = 14;
3431 if (cached_has_bits & 0x00000020u) {
3432 total_size += 1 +
3433 ::_pbi::WireFormatLite::EnumSize(this_._internal_edition());
3434 }
3435 }
3436 return this_.MaybeComputeUnknownFieldsSize(total_size,
3437 &this_._impl_._cached_size_);
3438 }
3439
3440 void FileDescriptorProto::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
3441 auto* const _this = static_cast<FileDescriptorProto*>(&to_msg);
3442 auto& from = static_cast<const FileDescriptorProto&>(from_msg);
3443 ::google::protobuf::Arena* arena = _this->GetArena();
3444 // @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.FileDescriptorProto)
3445 ABSL_DCHECK_NE(&from, _this);
3446 ::uint32_t cached_has_bits = 0;
3447 (void) cached_has_bits;
3448
3449 _this->_internal_mutable_dependency()->MergeFrom(from._internal_dependency());
3450 _this->_internal_mutable_message_type()->MergeFrom(
3451 from._internal_message_type());
3452 _this->_internal_mutable_enum_type()->MergeFrom(
3453 from._internal_enum_type());
3454 _this->_internal_mutable_service()->MergeFrom(
3455 from._internal_service());
3456 _this->_internal_mutable_extension()->MergeFrom(
3457 from._internal_extension());
3458 _this->_internal_mutable_public_dependency()->MergeFrom(from._internal_public_dependency());
3459 _this->_internal_mutable_weak_dependency()->MergeFrom(from._internal_weak_dependency());
3460 cached_has_bits = from._impl_._has_bits_[0];
3461 if (cached_has_bits & 0x0000003fu) {
3462 if (cached_has_bits & 0x00000001u) {
3463 _this->_internal_set_name(from._internal_name());
3464 }
3465 if (cached_has_bits & 0x00000002u) {
3466 _this->_internal_set_package(from._internal_package());
3467 }
3468 if (cached_has_bits & 0x00000004u) {
3469 _this->_internal_set_syntax(from._internal_syntax());
3470 }
3471 if (cached_has_bits & 0x00000008u) {
3472 ABSL_DCHECK(from._impl_.options_ != nullptr);
3473 if (_this->_impl_.options_ == nullptr) {
3474 _this->_impl_.options_ =
3475 ::google::protobuf::Message::CopyConstruct<::google::protobuf::FileOptions>(arena, *from._impl_.options_);
3476 } else {
3477 _this->_impl_.options_->MergeFrom(*from._impl_.options_);
3478 }
3479 }
3480 if (cached_has_bits & 0x00000010u) {
3481 ABSL_DCHECK(from._impl_.source_code_info_ != nullptr);
3482 if (_this->_impl_.source_code_info_ == nullptr) {
3483 _this->_impl_.source_code_info_ =
3484 ::google::protobuf::Message::CopyConstruct<::google::protobuf::SourceCodeInfo>(arena, *from._impl_.source_code_info_);
3485 } else {
3486 _this->_impl_.source_code_info_->MergeFrom(*from._impl_.source_code_info_);
3487 }
3488 }
3489 if (cached_has_bits & 0x00000020u) {
3490 _this->_impl_.edition_ = from._impl_.edition_;
3491 }
3492 }
3493 _this->_impl_._has_bits_[0] |= cached_has_bits;
3494 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
3495 }
3496
3497 void FileDescriptorProto::CopyFrom(const FileDescriptorProto& from) {
3498 // @@protoc_insertion_point(class_specific_copy_from_start:google.protobuf.FileDescriptorProto)
3499 if (&from == this) return;
3500 Clear();
3501 MergeFrom(from);
3502 }
3503
3504 PROTOBUF_NOINLINE bool FileDescriptorProto::IsInitializedImpl(
3505 const MessageLite& msg) {
3506 auto& this_ = static_cast<const FileDescriptorProto&>(msg);
3507 if (!::google::protobuf::internal::AllAreInitialized(this_._internal_message_type()))
3508 return false;
3509 if (!::google::protobuf::internal::AllAreInitialized(this_._internal_enum_type()))
3510 return false;
3511 if (!::google::protobuf::internal::AllAreInitialized(this_._internal_service()))
3512 return false;
3513 if (!::google::protobuf::internal::AllAreInitialized(this_._internal_extension()))
3514 return false;
3515 if ((this_._impl_._has_bits_[0] & 0x00000008u) != 0) {
3516 if (!this_._impl_.options_->IsInitialized()) return false;
3517 }
3518 if ((this_._impl_._has_bits_[0] & 0x00000010u) != 0) {
3519 if (!this_._impl_.source_code_info_->IsInitialized()) return false;
3520 }
3521 return true;
3522 }
3523
3524 void FileDescriptorProto::InternalSwap(FileDescriptorProto* PROTOBUF_RESTRICT other) {
3525 using std::swap;
3526 auto* arena = GetArena();
3527 ABSL_DCHECK_EQ(arena, other->GetArena());
3528 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
3529 swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
3530 _impl_.dependency_.InternalSwap(&other->_impl_.dependency_);
3531 _impl_.message_type_.InternalSwap(&other->_impl_.message_type_);
3532 _impl_.enum_type_.InternalSwap(&other->_impl_.enum_type_);
3533 _impl_.service_.InternalSwap(&other->_impl_.service_);
3534 _impl_.extension_.InternalSwap(&other->_impl_.extension_);
3535 _impl_.public_dependency_.InternalSwap(&other->_impl_.public_dependency_);
3536 _impl_.weak_dependency_.InternalSwap(&other->_impl_.weak_dependency_);
3537 ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.name_, &other->_impl_.name_, arena);
3538 ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.package_, &other->_impl_.package_, arena);
3539 ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.syntax_, &other->_impl_.syntax_, arena);
3540 ::google::protobuf::internal::memswap<
3541 PROTOBUF_FIELD_OFFSET(FileDescriptorProto, _impl_.edition_)
3542 + sizeof(FileDescriptorProto::_impl_.edition_)
3543 - PROTOBUF_FIELD_OFFSET(FileDescriptorProto, _impl_.options_)>(
3544 reinterpret_cast<char*>(&_impl_.options_),
3545 reinterpret_cast<char*>(&other->_impl_.options_));
3546 }
3547
3548 ::google::protobuf::Metadata FileDescriptorProto::GetMetadata() const {
3549 return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
3550 }
3551 // ===================================================================
3552
3553 class DescriptorProto_ExtensionRange::_Internal {
3554 public:
3555 using HasBits =
3556 decltype(std::declval<DescriptorProto_ExtensionRange>()._impl_._has_bits_);
3557 static constexpr ::int32_t kHasBitsOffset =
3558 8 * PROTOBUF_FIELD_OFFSET(DescriptorProto_ExtensionRange, _impl_._has_bits_);
3559 };
3560
3561 DescriptorProto_ExtensionRange::DescriptorProto_ExtensionRange(::google::protobuf::Arena* arena)
3562 #if defined(PROTOBUF_CUSTOM_VTABLE)
3563 : ::google::protobuf::Message(arena, _class_data_.base()) {
3564 #else // PROTOBUF_CUSTOM_VTABLE
3565 : ::google::protobuf::Message(arena) {
3566 #endif // PROTOBUF_CUSTOM_VTABLE
3567 SharedCtor(arena);
3568 // @@protoc_insertion_point(arena_constructor:google.protobuf.DescriptorProto.ExtensionRange)
3569 }
3570 inline PROTOBUF_NDEBUG_INLINE DescriptorProto_ExtensionRange::Impl_::Impl_(
3571 ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena,
3572 const Impl_& from, const ::google::protobuf::DescriptorProto_ExtensionRange& from_msg)
3573 : _has_bits_{from._has_bits_},
3574 _cached_size_{0} {}
3575
3576 DescriptorProto_ExtensionRange::DescriptorProto_ExtensionRange(
3577 ::google::protobuf::Arena* arena,
3578 const DescriptorProto_ExtensionRange& from)
3579 #if defined(PROTOBUF_CUSTOM_VTABLE)
3580 : ::google::protobuf::Message(arena, _class_data_.base()) {
3581 #else // PROTOBUF_CUSTOM_VTABLE
3582 : ::google::protobuf::Message(arena) {
3583 #endif // PROTOBUF_CUSTOM_VTABLE
3584 DescriptorProto_ExtensionRange* const _this = this;
3585 (void)_this;
3586 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
3587 from._internal_metadata_);
3588 new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
3589 ::uint32_t cached_has_bits = _impl_._has_bits_[0];
3590 _impl_.options_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::google::protobuf::ExtensionRangeOptions>(
3591 arena, *from._impl_.options_)
3592 : nullptr;
3593 ::memcpy(reinterpret_cast<char *>(&_impl_) +
3594 offsetof(Impl_, start_),
3595 reinterpret_cast<const char *>(&from._impl_) +
3596 offsetof(Impl_, start_),
3597 offsetof(Impl_, end_) -
3598 offsetof(Impl_, start_) +
3599 sizeof(Impl_::end_));
3600
3601 // @@protoc_insertion_point(copy_constructor:google.protobuf.DescriptorProto.ExtensionRange)
3602 }
3603 inline PROTOBUF_NDEBUG_INLINE DescriptorProto_ExtensionRange::Impl_::Impl_(
3604 ::google::protobuf::internal::InternalVisibility visibility,
3605 ::google::protobuf::Arena* arena)
3606 : _cached_size_{0} {}
3607
3608 inline void DescriptorProto_ExtensionRange::SharedCtor(::_pb::Arena* arena) {
3609 new (&_impl_) Impl_(internal_visibility(), arena);
3610 ::memset(reinterpret_cast<char *>(&_impl_) +
3611 offsetof(Impl_, options_),
3612 0,
3613 offsetof(Impl_, end_) -
3614 offsetof(Impl_, options_) +
3615 sizeof(Impl_::end_));
3616 }
3617 DescriptorProto_ExtensionRange::~DescriptorProto_ExtensionRange() {
3618 // @@protoc_insertion_point(destructor:google.protobuf.DescriptorProto.ExtensionRange)
3619 SharedDtor(*this);
3620 }
3621 inline void DescriptorProto_ExtensionRange::SharedDtor(MessageLite& self) {
3622 DescriptorProto_ExtensionRange& this_ = static_cast<DescriptorProto_ExtensionRange&>(self);
3623 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
3624 ABSL_DCHECK(this_.GetArena() == nullptr);
3625 delete this_._impl_.options_;
3626 this_._impl_.~Impl_();
3627 }
3628
3629 inline void* DescriptorProto_ExtensionRange::PlacementNew_(const void*, void* mem,
3630 ::google::protobuf::Arena* arena) {
3631 return ::new (mem) DescriptorProto_ExtensionRange(arena);
3632 }
3633 constexpr auto DescriptorProto_ExtensionRange::InternalNewImpl_() {
3634 return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(DescriptorProto_ExtensionRange),
3635 alignof(DescriptorProto_ExtensionRange));
3636 }
3637 PROTOBUF_CONSTINIT
3638 PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
3639 const ::google::protobuf::internal::ClassDataFull DescriptorProto_ExtensionRange::_class_data_ = {
3640 ::google::protobuf::internal::ClassData{
3641 &_DescriptorProto_ExtensionRange_default_instance_._instance,
3642 &_table_.header,
3643 nullptr, // OnDemandRegisterArenaDtor
3644 DescriptorProto_ExtensionRange::IsInitializedImpl,
3645 &DescriptorProto_ExtensionRange::MergeImpl,
3646 ::google::protobuf::Message::GetNewImpl<DescriptorProto_ExtensionRange>(),
3647 #if defined(PROTOBUF_CUSTOM_VTABLE)
3648 &DescriptorProto_ExtensionRange::SharedDtor,
3649 ::google::protobuf::Message::GetClearImpl<DescriptorProto_ExtensionRange>(), &DescriptorProto_ExtensionRange::ByteSizeLong,
3650 &DescriptorProto_ExtensionRange::_InternalSerialize,
3651 #endif // PROTOBUF_CUSTOM_VTABLE
3652 PROTOBUF_FIELD_OFFSET(DescriptorProto_ExtensionRange, _impl_._cached_size_),
3653 false,
3654 },
3655 &DescriptorProto_ExtensionRange::kDescriptorMethods,
3656 &descriptor_table_google_2fprotobuf_2fdescriptor_2eproto,
3657 nullptr, // tracker
3658 };
3659 const ::google::protobuf::internal::ClassData* DescriptorProto_ExtensionRange::GetClassData() const {
3660 ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_);
3661 ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table);
3662 return _class_data_.base();
3663 }
3664 constexpr ::_pbi::TcParseTable<2, 3, 1, 0, 2> DescriptorProto_ExtensionRange::_table_ = {
3665 {
3666 PROTOBUF_FIELD_OFFSET(DescriptorProto_ExtensionRange, _impl_._has_bits_),
3667 0, // no _extensions_
3668 3, 24, // max_field_number, fast_idx_mask
3669 offsetof(decltype(_table_), field_lookup_table),
3670 4294967288, // skipmap
3671 offsetof(decltype(_table_), field_entries),
3672 3, // num_field_entries
3673 1, // num_aux_entries
3674 offsetof(decltype(_table_), aux_entries),
3675 _class_data_.base(),
3676 nullptr, // post_loop_handler
3677 ::_pbi::TcParser::GenericFallback, // fallback
3678 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
3679 ::_pbi::TcParser::GetTable<::google::protobuf::DescriptorProto_ExtensionRange>(), // to_prefetch
3680 #endif // PROTOBUF_PREFETCH_PARSE_TABLE
3681 }, {{
3682 {::_pbi::TcParser::MiniParse, {}},
3683 // optional int32 start = 1;
3684 {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(DescriptorProto_ExtensionRange, _impl_.start_), 1>(),
3685 {8, 1, 0, PROTOBUF_FIELD_OFFSET(DescriptorProto_ExtensionRange, _impl_.start_)}},
3686 // optional int32 end = 2;
3687 {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(DescriptorProto_ExtensionRange, _impl_.end_), 2>(),
3688 {16, 2, 0, PROTOBUF_FIELD_OFFSET(DescriptorProto_ExtensionRange, _impl_.end_)}},
3689 // optional .google.protobuf.ExtensionRangeOptions options = 3;
3690 {::_pbi::TcParser::FastMtS1,
3691 {26, 0, 0, PROTOBUF_FIELD_OFFSET(DescriptorProto_ExtensionRange, _impl_.options_)}},
3692 }}, {{
3693 65535, 65535
3694 }}, {{
3695 // optional int32 start = 1;
3696 {PROTOBUF_FIELD_OFFSET(DescriptorProto_ExtensionRange, _impl_.start_), _Internal::kHasBitsOffset + 1, 0,
3697 (0 | ::_fl::kFcOptional | ::_fl::kInt32)},
3698 // optional int32 end = 2;
3699 {PROTOBUF_FIELD_OFFSET(DescriptorProto_ExtensionRange, _impl_.end_), _Internal::kHasBitsOffset + 2, 0,
3700 (0 | ::_fl::kFcOptional | ::_fl::kInt32)},
3701 // optional .google.protobuf.ExtensionRangeOptions options = 3;
3702 {PROTOBUF_FIELD_OFFSET(DescriptorProto_ExtensionRange, _impl_.options_), _Internal::kHasBitsOffset + 0, 0,
3703 (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
3704 }}, {{
3705 {::_pbi::TcParser::GetTable<::google::protobuf::ExtensionRangeOptions>()},
3706 }}, {{
3707 }},
3708 };
3709
3710 PROTOBUF_NOINLINE void DescriptorProto_ExtensionRange::Clear() {
3711 // @@protoc_insertion_point(message_clear_start:google.protobuf.DescriptorProto.ExtensionRange)
3712 ::google::protobuf::internal::TSanWrite(&_impl_);
3713 ::uint32_t cached_has_bits = 0;
3714 // Prevent compiler warnings about cached_has_bits being unused
3715 (void) cached_has_bits;
3716
3717 cached_has_bits = _impl_._has_bits_[0];
3718 if (cached_has_bits & 0x00000001u) {
3719 ABSL_DCHECK(_impl_.options_ != nullptr);
3720 _impl_.options_->Clear();
3721 }
3722 if (cached_has_bits & 0x00000006u) {
3723 ::memset(&_impl_.start_, 0, static_cast<::size_t>(
3724 reinterpret_cast<char*>(&_impl_.end_) -
3725 reinterpret_cast<char*>(&_impl_.start_)) + sizeof(_impl_.end_));
3726 }
3727 _impl_._has_bits_.Clear();
3728 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
3729 }
3730
3731 #if defined(PROTOBUF_CUSTOM_VTABLE)
3732 ::uint8_t* DescriptorProto_ExtensionRange::_InternalSerialize(
3733 const MessageLite& base, ::uint8_t* target,
3734 ::google::protobuf::io::EpsCopyOutputStream* stream) {
3735 const DescriptorProto_ExtensionRange& this_ = static_cast<const DescriptorProto_ExtensionRange&>(base);
3736 #else // PROTOBUF_CUSTOM_VTABLE
3737 ::uint8_t* DescriptorProto_ExtensionRange::_InternalSerialize(
3738 ::uint8_t* target,
3739 ::google::protobuf::io::EpsCopyOutputStream* stream) const {
3740 const DescriptorProto_ExtensionRange& this_ = *this;
3741 #endif // PROTOBUF_CUSTOM_VTABLE
3742 // @@protoc_insertion_point(serialize_to_array_start:google.protobuf.DescriptorProto.ExtensionRange)
3743 ::uint32_t cached_has_bits = 0;
3744 (void)cached_has_bits;
3745
3746 cached_has_bits = this_._impl_._has_bits_[0];
3747 // optional int32 start = 1;
3748 if (cached_has_bits & 0x00000002u) {
3749 target = ::google::protobuf::internal::WireFormatLite::
3750 WriteInt32ToArrayWithField<1>(
3751 stream, this_._internal_start(), target);
3752 }
3753
3754 // optional int32 end = 2;
3755 if (cached_has_bits & 0x00000004u) {
3756 target = ::google::protobuf::internal::WireFormatLite::
3757 WriteInt32ToArrayWithField<2>(
3758 stream, this_._internal_end(), target);
3759 }
3760
3761 // optional .google.protobuf.ExtensionRangeOptions options = 3;
3762 if (cached_has_bits & 0x00000001u) {
3763 target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
3764 3, *this_._impl_.options_, this_._impl_.options_->GetCachedSize(), target,
3765 stream);
3766 }
3767
3768 if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
3769 target =
3770 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
3771 this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
3772 }
3773 // @@protoc_insertion_point(serialize_to_array_end:google.protobuf.DescriptorProto.ExtensionRange)
3774 return target;
3775 }
3776
3777 #if defined(PROTOBUF_CUSTOM_VTABLE)
3778 ::size_t DescriptorProto_ExtensionRange::ByteSizeLong(const MessageLite& base) {
3779 const DescriptorProto_ExtensionRange& this_ = static_cast<const DescriptorProto_ExtensionRange&>(base);
3780 #else // PROTOBUF_CUSTOM_VTABLE
3781 ::size_t DescriptorProto_ExtensionRange::ByteSizeLong() const {
3782 const DescriptorProto_ExtensionRange& this_ = *this;
3783 #endif // PROTOBUF_CUSTOM_VTABLE
3784 // @@protoc_insertion_point(message_byte_size_start:google.protobuf.DescriptorProto.ExtensionRange)
3785 ::size_t total_size = 0;
3786
3787 ::uint32_t cached_has_bits = 0;
3788 // Prevent compiler warnings about cached_has_bits being unused
3789 (void)cached_has_bits;
3790
3791 ::_pbi::Prefetch5LinesFrom7Lines(&this_);
3792 cached_has_bits = this_._impl_._has_bits_[0];
3793 if (cached_has_bits & 0x00000007u) {
3794 // optional .google.protobuf.ExtensionRangeOptions options = 3;
3795 if (cached_has_bits & 0x00000001u) {
3796 total_size += 1 +
3797 ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.options_);
3798 }
3799 // optional int32 start = 1;
3800 if (cached_has_bits & 0x00000002u) {
3801 total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
3802 this_._internal_start());
3803 }
3804 // optional int32 end = 2;
3805 if (cached_has_bits & 0x00000004u) {
3806 total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
3807 this_._internal_end());
3808 }
3809 }
3810 return this_.MaybeComputeUnknownFieldsSize(total_size,
3811 &this_._impl_._cached_size_);
3812 }
3813
3814 void DescriptorProto_ExtensionRange::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
3815 auto* const _this = static_cast<DescriptorProto_ExtensionRange*>(&to_msg);
3816 auto& from = static_cast<const DescriptorProto_ExtensionRange&>(from_msg);
3817 ::google::protobuf::Arena* arena = _this->GetArena();
3818 // @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.DescriptorProto.ExtensionRange)
3819 ABSL_DCHECK_NE(&from, _this);
3820 ::uint32_t cached_has_bits = 0;
3821 (void) cached_has_bits;
3822
3823 cached_has_bits = from._impl_._has_bits_[0];
3824 if (cached_has_bits & 0x00000007u) {
3825 if (cached_has_bits & 0x00000001u) {
3826 ABSL_DCHECK(from._impl_.options_ != nullptr);
3827 if (_this->_impl_.options_ == nullptr) {
3828 _this->_impl_.options_ =
3829 ::google::protobuf::Message::CopyConstruct<::google::protobuf::ExtensionRangeOptions>(arena, *from._impl_.options_);
3830 } else {
3831 _this->_impl_.options_->MergeFrom(*from._impl_.options_);
3832 }
3833 }
3834 if (cached_has_bits & 0x00000002u) {
3835 _this->_impl_.start_ = from._impl_.start_;
3836 }
3837 if (cached_has_bits & 0x00000004u) {
3838 _this->_impl_.end_ = from._impl_.end_;
3839 }
3840 }
3841 _this->_impl_._has_bits_[0] |= cached_has_bits;
3842 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
3843 }
3844
3845 void DescriptorProto_ExtensionRange::CopyFrom(const DescriptorProto_ExtensionRange& from) {
3846 // @@protoc_insertion_point(class_specific_copy_from_start:google.protobuf.DescriptorProto.ExtensionRange)
3847 if (&from == this) return;
3848 Clear();
3849 MergeFrom(from);
3850 }
3851
3852 PROTOBUF_NOINLINE bool DescriptorProto_ExtensionRange::IsInitializedImpl(
3853 const MessageLite& msg) {
3854 auto& this_ = static_cast<const DescriptorProto_ExtensionRange&>(msg);
3855 if ((this_._impl_._has_bits_[0] & 0x00000001u) != 0) {
3856 if (!this_._impl_.options_->IsInitialized()) return false;
3857 }
3858 return true;
3859 }
3860
3861 void DescriptorProto_ExtensionRange::InternalSwap(DescriptorProto_ExtensionRange* PROTOBUF_RESTRICT other) {
3862 using std::swap;
3863 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
3864 swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
3865 ::google::protobuf::internal::memswap<
3866 PROTOBUF_FIELD_OFFSET(DescriptorProto_ExtensionRange, _impl_.end_)
3867 + sizeof(DescriptorProto_ExtensionRange::_impl_.end_)
3868 - PROTOBUF_FIELD_OFFSET(DescriptorProto_ExtensionRange, _impl_.options_)>(
3869 reinterpret_cast<char*>(&_impl_.options_),
3870 reinterpret_cast<char*>(&other->_impl_.options_));
3871 }
3872
3873 ::google::protobuf::Metadata DescriptorProto_ExtensionRange::GetMetadata() const {
3874 return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
3875 }
3876 // ===================================================================
3877
3878 class DescriptorProto_ReservedRange::_Internal {
3879 public:
3880 using HasBits =
3881 decltype(std::declval<DescriptorProto_ReservedRange>()._impl_._has_bits_);
3882 static constexpr ::int32_t kHasBitsOffset =
3883 8 * PROTOBUF_FIELD_OFFSET(DescriptorProto_ReservedRange, _impl_._has_bits_);
3884 };
3885
3886 DescriptorProto_ReservedRange::DescriptorProto_ReservedRange(::google::protobuf::Arena* arena)
3887 #if defined(PROTOBUF_CUSTOM_VTABLE)
3888 : ::google::protobuf::Message(arena, _class_data_.base()) {
3889 #else // PROTOBUF_CUSTOM_VTABLE
3890 : ::google::protobuf::Message(arena) {
3891 #endif // PROTOBUF_CUSTOM_VTABLE
3892 SharedCtor(arena);
3893 // @@protoc_insertion_point(arena_constructor:google.protobuf.DescriptorProto.ReservedRange)
3894 }
3895 DescriptorProto_ReservedRange::DescriptorProto_ReservedRange(
3896 ::google::protobuf::Arena* arena, const DescriptorProto_ReservedRange& from)
3897 : DescriptorProto_ReservedRange(arena) {
3898 MergeFrom(from);
3899 }
3900 inline PROTOBUF_NDEBUG_INLINE DescriptorProto_ReservedRange::Impl_::Impl_(
3901 ::google::protobuf::internal::InternalVisibility visibility,
3902 ::google::protobuf::Arena* arena)
3903 : _cached_size_{0} {}
3904
3905 inline void DescriptorProto_ReservedRange::SharedCtor(::_pb::Arena* arena) {
3906 new (&_impl_) Impl_(internal_visibility(), arena);
3907 ::memset(reinterpret_cast<char *>(&_impl_) +
3908 offsetof(Impl_, start_),
3909 0,
3910 offsetof(Impl_, end_) -
3911 offsetof(Impl_, start_) +
3912 sizeof(Impl_::end_));
3913 }
3914 DescriptorProto_ReservedRange::~DescriptorProto_ReservedRange() {
3915 // @@protoc_insertion_point(destructor:google.protobuf.DescriptorProto.ReservedRange)
3916 SharedDtor(*this);
3917 }
3918 inline void DescriptorProto_ReservedRange::SharedDtor(MessageLite& self) {
3919 DescriptorProto_ReservedRange& this_ = static_cast<DescriptorProto_ReservedRange&>(self);
3920 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
3921 ABSL_DCHECK(this_.GetArena() == nullptr);
3922 this_._impl_.~Impl_();
3923 }
3924
3925 inline void* DescriptorProto_ReservedRange::PlacementNew_(const void*, void* mem,
3926 ::google::protobuf::Arena* arena) {
3927 return ::new (mem) DescriptorProto_ReservedRange(arena);
3928 }
3929 constexpr auto DescriptorProto_ReservedRange::InternalNewImpl_() {
3930 return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(DescriptorProto_ReservedRange),
3931 alignof(DescriptorProto_ReservedRange));
3932 }
3933 PROTOBUF_CONSTINIT
3934 PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
3935 const ::google::protobuf::internal::ClassDataFull DescriptorProto_ReservedRange::_class_data_ = {
3936 ::google::protobuf::internal::ClassData{
3937 &_DescriptorProto_ReservedRange_default_instance_._instance,
3938 &_table_.header,
3939 nullptr, // OnDemandRegisterArenaDtor
3940 nullptr, // IsInitialized
3941 &DescriptorProto_ReservedRange::MergeImpl,
3942 ::google::protobuf::Message::GetNewImpl<DescriptorProto_ReservedRange>(),
3943 #if defined(PROTOBUF_CUSTOM_VTABLE)
3944 &DescriptorProto_ReservedRange::SharedDtor,
3945 ::google::protobuf::Message::GetClearImpl<DescriptorProto_ReservedRange>(), &DescriptorProto_ReservedRange::ByteSizeLong,
3946 &DescriptorProto_ReservedRange::_InternalSerialize,
3947 #endif // PROTOBUF_CUSTOM_VTABLE
3948 PROTOBUF_FIELD_OFFSET(DescriptorProto_ReservedRange, _impl_._cached_size_),
3949 false,
3950 },
3951 &DescriptorProto_ReservedRange::kDescriptorMethods,
3952 &descriptor_table_google_2fprotobuf_2fdescriptor_2eproto,
3953 nullptr, // tracker
3954 };
3955 const ::google::protobuf::internal::ClassData* DescriptorProto_ReservedRange::GetClassData() const {
3956 ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_);
3957 ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table);
3958 return _class_data_.base();
3959 }
3960 constexpr ::_pbi::TcParseTable<1, 2, 0, 0, 2> DescriptorProto_ReservedRange::_table_ = {
3961 {
3962 PROTOBUF_FIELD_OFFSET(DescriptorProto_ReservedRange, _impl_._has_bits_),
3963 0, // no _extensions_
3964 2, 8, // max_field_number, fast_idx_mask
3965 offsetof(decltype(_table_), field_lookup_table),
3966 4294967292, // skipmap
3967 offsetof(decltype(_table_), field_entries),
3968 2, // num_field_entries
3969 0, // num_aux_entries
3970 offsetof(decltype(_table_), field_names), // no aux_entries
3971 _class_data_.base(),
3972 nullptr, // post_loop_handler
3973 ::_pbi::TcParser::GenericFallback, // fallback
3974 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
3975 ::_pbi::TcParser::GetTable<::google::protobuf::DescriptorProto_ReservedRange>(), // to_prefetch
3976 #endif // PROTOBUF_PREFETCH_PARSE_TABLE
3977 }, {{
3978 // optional int32 end = 2;
3979 {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(DescriptorProto_ReservedRange, _impl_.end_), 1>(),
3980 {16, 1, 0, PROTOBUF_FIELD_OFFSET(DescriptorProto_ReservedRange, _impl_.end_)}},
3981 // optional int32 start = 1;
3982 {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(DescriptorProto_ReservedRange, _impl_.start_), 0>(),
3983 {8, 0, 0, PROTOBUF_FIELD_OFFSET(DescriptorProto_ReservedRange, _impl_.start_)}},
3984 }}, {{
3985 65535, 65535
3986 }}, {{
3987 // optional int32 start = 1;
3988 {PROTOBUF_FIELD_OFFSET(DescriptorProto_ReservedRange, _impl_.start_), _Internal::kHasBitsOffset + 0, 0,
3989 (0 | ::_fl::kFcOptional | ::_fl::kInt32)},
3990 // optional int32 end = 2;
3991 {PROTOBUF_FIELD_OFFSET(DescriptorProto_ReservedRange, _impl_.end_), _Internal::kHasBitsOffset + 1, 0,
3992 (0 | ::_fl::kFcOptional | ::_fl::kInt32)},
3993 }},
3994 // no aux_entries
3995 {{
3996 }},
3997 };
3998
3999 PROTOBUF_NOINLINE void DescriptorProto_ReservedRange::Clear() {
4000 // @@protoc_insertion_point(message_clear_start:google.protobuf.DescriptorProto.ReservedRange)
4001 ::google::protobuf::internal::TSanWrite(&_impl_);
4002 ::uint32_t cached_has_bits = 0;
4003 // Prevent compiler warnings about cached_has_bits being unused
4004 (void) cached_has_bits;
4005
4006 cached_has_bits = _impl_._has_bits_[0];
4007 if (cached_has_bits & 0x00000003u) {
4008 ::memset(&_impl_.start_, 0, static_cast<::size_t>(
4009 reinterpret_cast<char*>(&_impl_.end_) -
4010 reinterpret_cast<char*>(&_impl_.start_)) + sizeof(_impl_.end_));
4011 }
4012 _impl_._has_bits_.Clear();
4013 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
4014 }
4015
4016 #if defined(PROTOBUF_CUSTOM_VTABLE)
4017 ::uint8_t* DescriptorProto_ReservedRange::_InternalSerialize(
4018 const MessageLite& base, ::uint8_t* target,
4019 ::google::protobuf::io::EpsCopyOutputStream* stream) {
4020 const DescriptorProto_ReservedRange& this_ = static_cast<const DescriptorProto_ReservedRange&>(base);
4021 #else // PROTOBUF_CUSTOM_VTABLE
4022 ::uint8_t* DescriptorProto_ReservedRange::_InternalSerialize(
4023 ::uint8_t* target,
4024 ::google::protobuf::io::EpsCopyOutputStream* stream) const {
4025 const DescriptorProto_ReservedRange& this_ = *this;
4026 #endif // PROTOBUF_CUSTOM_VTABLE
4027 // @@protoc_insertion_point(serialize_to_array_start:google.protobuf.DescriptorProto.ReservedRange)
4028 ::uint32_t cached_has_bits = 0;
4029 (void)cached_has_bits;
4030
4031 cached_has_bits = this_._impl_._has_bits_[0];
4032 // optional int32 start = 1;
4033 if (cached_has_bits & 0x00000001u) {
4034 target = ::google::protobuf::internal::WireFormatLite::
4035 WriteInt32ToArrayWithField<1>(
4036 stream, this_._internal_start(), target);
4037 }
4038
4039 // optional int32 end = 2;
4040 if (cached_has_bits & 0x00000002u) {
4041 target = ::google::protobuf::internal::WireFormatLite::
4042 WriteInt32ToArrayWithField<2>(
4043 stream, this_._internal_end(), target);
4044 }
4045
4046 if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
4047 target =
4048 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
4049 this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
4050 }
4051 // @@protoc_insertion_point(serialize_to_array_end:google.protobuf.DescriptorProto.ReservedRange)
4052 return target;
4053 }
4054
4055 #if defined(PROTOBUF_CUSTOM_VTABLE)
4056 ::size_t DescriptorProto_ReservedRange::ByteSizeLong(const MessageLite& base) {
4057 const DescriptorProto_ReservedRange& this_ = static_cast<const DescriptorProto_ReservedRange&>(base);
4058 #else // PROTOBUF_CUSTOM_VTABLE
4059 ::size_t DescriptorProto_ReservedRange::ByteSizeLong() const {
4060 const DescriptorProto_ReservedRange& this_ = *this;
4061 #endif // PROTOBUF_CUSTOM_VTABLE
4062 // @@protoc_insertion_point(message_byte_size_start:google.protobuf.DescriptorProto.ReservedRange)
4063 ::size_t total_size = 0;
4064
4065 ::uint32_t cached_has_bits = 0;
4066 // Prevent compiler warnings about cached_has_bits being unused
4067 (void)cached_has_bits;
4068
4069 ::_pbi::Prefetch5LinesFrom7Lines(&this_);
4070 cached_has_bits = this_._impl_._has_bits_[0];
4071 if (cached_has_bits & 0x00000003u) {
4072 // optional int32 start = 1;
4073 if (cached_has_bits & 0x00000001u) {
4074 total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
4075 this_._internal_start());
4076 }
4077 // optional int32 end = 2;
4078 if (cached_has_bits & 0x00000002u) {
4079 total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
4080 this_._internal_end());
4081 }
4082 }
4083 return this_.MaybeComputeUnknownFieldsSize(total_size,
4084 &this_._impl_._cached_size_);
4085 }
4086
4087 void DescriptorProto_ReservedRange::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
4088 auto* const _this = static_cast<DescriptorProto_ReservedRange*>(&to_msg);
4089 auto& from = static_cast<const DescriptorProto_ReservedRange&>(from_msg);
4090 // @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.DescriptorProto.ReservedRange)
4091 ABSL_DCHECK_NE(&from, _this);
4092 ::uint32_t cached_has_bits = 0;
4093 (void) cached_has_bits;
4094
4095 cached_has_bits = from._impl_._has_bits_[0];
4096 if (cached_has_bits & 0x00000003u) {
4097 if (cached_has_bits & 0x00000001u) {
4098 _this->_impl_.start_ = from._impl_.start_;
4099 }
4100 if (cached_has_bits & 0x00000002u) {
4101 _this->_impl_.end_ = from._impl_.end_;
4102 }
4103 }
4104 _this->_impl_._has_bits_[0] |= cached_has_bits;
4105 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
4106 }
4107
4108 void DescriptorProto_ReservedRange::CopyFrom(const DescriptorProto_ReservedRange& from) {
4109 // @@protoc_insertion_point(class_specific_copy_from_start:google.protobuf.DescriptorProto.ReservedRange)
4110 if (&from == this) return;
4111 Clear();
4112 MergeFrom(from);
4113 }
4114
4115
4116 void DescriptorProto_ReservedRange::InternalSwap(DescriptorProto_ReservedRange* PROTOBUF_RESTRICT other) {
4117 using std::swap;
4118 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
4119 swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
4120 ::google::protobuf::internal::memswap<
4121 PROTOBUF_FIELD_OFFSET(DescriptorProto_ReservedRange, _impl_.end_)
4122 + sizeof(DescriptorProto_ReservedRange::_impl_.end_)
4123 - PROTOBUF_FIELD_OFFSET(DescriptorProto_ReservedRange, _impl_.start_)>(
4124 reinterpret_cast<char*>(&_impl_.start_),
4125 reinterpret_cast<char*>(&other->_impl_.start_));
4126 }
4127
4128 ::google::protobuf::Metadata DescriptorProto_ReservedRange::GetMetadata() const {
4129 return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
4130 }
4131 // ===================================================================
4132
4133 class DescriptorProto::_Internal {
4134 public:
4135 using HasBits =
4136 decltype(std::declval<DescriptorProto>()._impl_._has_bits_);
4137 static constexpr ::int32_t kHasBitsOffset =
4138 8 * PROTOBUF_FIELD_OFFSET(DescriptorProto, _impl_._has_bits_);
4139 };
4140
4141 DescriptorProto::DescriptorProto(::google::protobuf::Arena* arena)
4142 #if defined(PROTOBUF_CUSTOM_VTABLE)
4143 : ::google::protobuf::Message(arena, _class_data_.base()) {
4144 #else // PROTOBUF_CUSTOM_VTABLE
4145 : ::google::protobuf::Message(arena) {
4146 #endif // PROTOBUF_CUSTOM_VTABLE
4147 SharedCtor(arena);
4148 // @@protoc_insertion_point(arena_constructor:google.protobuf.DescriptorProto)
4149 }
4150 inline PROTOBUF_NDEBUG_INLINE DescriptorProto::Impl_::Impl_(
4151 ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena,
4152 const Impl_& from, const ::google::protobuf::DescriptorProto& from_msg)
4153 : _has_bits_{from._has_bits_},
4154 _cached_size_{0},
4155 field_{visibility, arena, from.field_},
4156 nested_type_{visibility, arena, from.nested_type_},
4157 enum_type_{visibility, arena, from.enum_type_},
4158 extension_range_{visibility, arena, from.extension_range_},
4159 extension_{visibility, arena, from.extension_},
4160 oneof_decl_{visibility, arena, from.oneof_decl_},
4161 reserved_range_{visibility, arena, from.reserved_range_},
4162 reserved_name_{visibility, arena, from.reserved_name_},
4163 name_(arena, from.name_) {}
4164
4165 DescriptorProto::DescriptorProto(
4166 ::google::protobuf::Arena* arena,
4167 const DescriptorProto& from)
4168 #if defined(PROTOBUF_CUSTOM_VTABLE)
4169 : ::google::protobuf::Message(arena, _class_data_.base()) {
4170 #else // PROTOBUF_CUSTOM_VTABLE
4171 : ::google::protobuf::Message(arena) {
4172 #endif // PROTOBUF_CUSTOM_VTABLE
4173 DescriptorProto* const _this = this;
4174 (void)_this;
4175 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
4176 from._internal_metadata_);
4177 new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
4178 ::uint32_t cached_has_bits = _impl_._has_bits_[0];
4179 _impl_.options_ = (cached_has_bits & 0x00000002u) ? ::google::protobuf::Message::CopyConstruct<::google::protobuf::MessageOptions>(
4180 arena, *from._impl_.options_)
4181 : nullptr;
4182
4183 // @@protoc_insertion_point(copy_constructor:google.protobuf.DescriptorProto)
4184 }
4185 inline PROTOBUF_NDEBUG_INLINE DescriptorProto::Impl_::Impl_(
4186 ::google::protobuf::internal::InternalVisibility visibility,
4187 ::google::protobuf::Arena* arena)
4188 : _cached_size_{0},
4189 field_{visibility, arena},
4190 nested_type_{visibility, arena},
4191 enum_type_{visibility, arena},
4192 extension_range_{visibility, arena},
4193 extension_{visibility, arena},
4194 oneof_decl_{visibility, arena},
4195 reserved_range_{visibility, arena},
4196 reserved_name_{visibility, arena},
4197 name_(arena) {}
4198
4199 inline void DescriptorProto::SharedCtor(::_pb::Arena* arena) {
4200 new (&_impl_) Impl_(internal_visibility(), arena);
4201 _impl_.options_ = {};
4202 }
4203 DescriptorProto::~DescriptorProto() {
4204 // @@protoc_insertion_point(destructor:google.protobuf.DescriptorProto)
4205 SharedDtor(*this);
4206 }
4207 inline void DescriptorProto::SharedDtor(MessageLite& self) {
4208 DescriptorProto& this_ = static_cast<DescriptorProto&>(self);
4209 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
4210 ABSL_DCHECK(this_.GetArena() == nullptr);
4211 this_._impl_.name_.Destroy();
4212 delete this_._impl_.options_;
4213 this_._impl_.~Impl_();
4214 }
4215
4216 inline void* DescriptorProto::PlacementNew_(const void*, void* mem,
4217 ::google::protobuf::Arena* arena) {
4218 return ::new (mem) DescriptorProto(arena);
4219 }
4220 constexpr auto DescriptorProto::InternalNewImpl_() {
4221 constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({
4222 PROTOBUF_FIELD_OFFSET(DescriptorProto, _impl_.field_) +
4223 decltype(DescriptorProto::_impl_.field_)::
4224 InternalGetArenaOffset(
4225 ::google::protobuf::Message::internal_visibility()),
4226 PROTOBUF_FIELD_OFFSET(DescriptorProto, _impl_.extension_) +
4227 decltype(DescriptorProto::_impl_.extension_)::
4228 InternalGetArenaOffset(
4229 ::google::protobuf::Message::internal_visibility()),
4230 PROTOBUF_FIELD_OFFSET(DescriptorProto, _impl_.nested_type_) +
4231 decltype(DescriptorProto::_impl_.nested_type_)::
4232 InternalGetArenaOffset(
4233 ::google::protobuf::Message::internal_visibility()),
4234 PROTOBUF_FIELD_OFFSET(DescriptorProto, _impl_.enum_type_) +
4235 decltype(DescriptorProto::_impl_.enum_type_)::
4236 InternalGetArenaOffset(
4237 ::google::protobuf::Message::internal_visibility()),
4238 PROTOBUF_FIELD_OFFSET(DescriptorProto, _impl_.extension_range_) +
4239 decltype(DescriptorProto::_impl_.extension_range_)::
4240 InternalGetArenaOffset(
4241 ::google::protobuf::Message::internal_visibility()),
4242 PROTOBUF_FIELD_OFFSET(DescriptorProto, _impl_.oneof_decl_) +
4243 decltype(DescriptorProto::_impl_.oneof_decl_)::
4244 InternalGetArenaOffset(
4245 ::google::protobuf::Message::internal_visibility()),
4246 PROTOBUF_FIELD_OFFSET(DescriptorProto, _impl_.reserved_range_) +
4247 decltype(DescriptorProto::_impl_.reserved_range_)::
4248 InternalGetArenaOffset(
4249 ::google::protobuf::Message::internal_visibility()),
4250 PROTOBUF_FIELD_OFFSET(DescriptorProto, _impl_.reserved_name_) +
4251 decltype(DescriptorProto::_impl_.reserved_name_)::
4252 InternalGetArenaOffset(
4253 ::google::protobuf::Message::internal_visibility()),
4254 });
4255 if (arena_bits.has_value()) {
4256 return ::google::protobuf::internal::MessageCreator::CopyInit(
4257 sizeof(DescriptorProto), alignof(DescriptorProto), *arena_bits);
4258 } else {
4259 return ::google::protobuf::internal::MessageCreator(&DescriptorProto::PlacementNew_,
4260 sizeof(DescriptorProto),
4261 alignof(DescriptorProto));
4262 }
4263 }
4264 PROTOBUF_CONSTINIT
4265 PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
4266 const ::google::protobuf::internal::ClassDataFull DescriptorProto::_class_data_ = {
4267 ::google::protobuf::internal::ClassData{
4268 &_DescriptorProto_default_instance_._instance,
4269 &_table_.header,
4270 nullptr, // OnDemandRegisterArenaDtor
4271 DescriptorProto::IsInitializedImpl,
4272 &DescriptorProto::MergeImpl,
4273 ::google::protobuf::Message::GetNewImpl<DescriptorProto>(),
4274 #if defined(PROTOBUF_CUSTOM_VTABLE)
4275 &DescriptorProto::SharedDtor,
4276 ::google::protobuf::Message::GetClearImpl<DescriptorProto>(), &DescriptorProto::ByteSizeLong,
4277 &DescriptorProto::_InternalSerialize,
4278 #endif // PROTOBUF_CUSTOM_VTABLE
4279 PROTOBUF_FIELD_OFFSET(DescriptorProto, _impl_._cached_size_),
4280 false,
4281 },
4282 &DescriptorProto::kDescriptorMethods,
4283 &descriptor_table_google_2fprotobuf_2fdescriptor_2eproto,
4284 nullptr, // tracker
4285 };
4286 const ::google::protobuf::internal::ClassData* DescriptorProto::GetClassData() const {
4287 ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_);
4288 ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table);
4289 return _class_data_.base();
4290 }
4291 constexpr ::_pbi::TcParseTable<4, 10, 8, 65, 2> DescriptorProto::_table_ = {
4292 {
4293 PROTOBUF_FIELD_OFFSET(DescriptorProto, _impl_._has_bits_),
4294 0, // no _extensions_
4295 10, 120, // max_field_number, fast_idx_mask
4296 offsetof(decltype(_table_), field_lookup_table),
4297 4294966272, // skipmap
4298 offsetof(decltype(_table_), field_entries),
4299 10, // num_field_entries
4300 8, // num_aux_entries
4301 offsetof(decltype(_table_), aux_entries),
4302 _class_data_.base(),
4303 nullptr, // post_loop_handler
4304 ::_pbi::TcParser::GenericFallback, // fallback
4305 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
4306 ::_pbi::TcParser::GetTable<::google::protobuf::DescriptorProto>(), // to_prefetch
4307 #endif // PROTOBUF_PREFETCH_PARSE_TABLE
4308 }, {{
4309 {::_pbi::TcParser::MiniParse, {}},
4310 // optional string name = 1;
4311 {::_pbi::TcParser::FastSS1,
4312 {10, 0, 0, PROTOBUF_FIELD_OFFSET(DescriptorProto, _impl_.name_)}},
4313 // repeated .google.protobuf.FieldDescriptorProto field = 2;
4314 {::_pbi::TcParser::FastMtR1,
4315 {18, 63, 0, PROTOBUF_FIELD_OFFSET(DescriptorProto, _impl_.field_)}},
4316 // repeated .google.protobuf.DescriptorProto nested_type = 3;
4317 {::_pbi::TcParser::FastMtR1,
4318 {26, 63, 1, PROTOBUF_FIELD_OFFSET(DescriptorProto, _impl_.nested_type_)}},
4319 // repeated .google.protobuf.EnumDescriptorProto enum_type = 4;
4320 {::_pbi::TcParser::FastMtR1,
4321 {34, 63, 2, PROTOBUF_FIELD_OFFSET(DescriptorProto, _impl_.enum_type_)}},
4322 // repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5;
4323 {::_pbi::TcParser::FastMtR1,
4324 {42, 63, 3, PROTOBUF_FIELD_OFFSET(DescriptorProto, _impl_.extension_range_)}},
4325 // repeated .google.protobuf.FieldDescriptorProto extension = 6;
4326 {::_pbi::TcParser::FastMtR1,
4327 {50, 63, 4, PROTOBUF_FIELD_OFFSET(DescriptorProto, _impl_.extension_)}},
4328 // optional .google.protobuf.MessageOptions options = 7;
4329 {::_pbi::TcParser::FastMtS1,
4330 {58, 1, 5, PROTOBUF_FIELD_OFFSET(DescriptorProto, _impl_.options_)}},
4331 // repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8;
4332 {::_pbi::TcParser::FastMtR1,
4333 {66, 63, 6, PROTOBUF_FIELD_OFFSET(DescriptorProto, _impl_.oneof_decl_)}},
4334 // repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9;
4335 {::_pbi::TcParser::FastMtR1,
4336 {74, 63, 7, PROTOBUF_FIELD_OFFSET(DescriptorProto, _impl_.reserved_range_)}},
4337 // repeated string reserved_name = 10;
4338 {::_pbi::TcParser::FastSR1,
4339 {82, 63, 0, PROTOBUF_FIELD_OFFSET(DescriptorProto, _impl_.reserved_name_)}},
4340 {::_pbi::TcParser::MiniParse, {}},
4341 {::_pbi::TcParser::MiniParse, {}},
4342 {::_pbi::TcParser::MiniParse, {}},
4343 {::_pbi::TcParser::MiniParse, {}},
4344 {::_pbi::TcParser::MiniParse, {}},
4345 }}, {{
4346 65535, 65535
4347 }}, {{
4348 // optional string name = 1;
4349 {PROTOBUF_FIELD_OFFSET(DescriptorProto, _impl_.name_), _Internal::kHasBitsOffset + 0, 0,
4350 (0 | ::_fl::kFcOptional | ::_fl::kRawString | ::_fl::kRepAString)},
4351 // repeated .google.protobuf.FieldDescriptorProto field = 2;
4352 {PROTOBUF_FIELD_OFFSET(DescriptorProto, _impl_.field_), -1, 0,
4353 (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
4354 // repeated .google.protobuf.DescriptorProto nested_type = 3;
4355 {PROTOBUF_FIELD_OFFSET(DescriptorProto, _impl_.nested_type_), -1, 1,
4356 (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
4357 // repeated .google.protobuf.EnumDescriptorProto enum_type = 4;
4358 {PROTOBUF_FIELD_OFFSET(DescriptorProto, _impl_.enum_type_), -1, 2,
4359 (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
4360 // repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5;
4361 {PROTOBUF_FIELD_OFFSET(DescriptorProto, _impl_.extension_range_), -1, 3,
4362 (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
4363 // repeated .google.protobuf.FieldDescriptorProto extension = 6;
4364 {PROTOBUF_FIELD_OFFSET(DescriptorProto, _impl_.extension_), -1, 4,
4365 (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
4366 // optional .google.protobuf.MessageOptions options = 7;
4367 {PROTOBUF_FIELD_OFFSET(DescriptorProto, _impl_.options_), _Internal::kHasBitsOffset + 1, 5,
4368 (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
4369 // repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8;
4370 {PROTOBUF_FIELD_OFFSET(DescriptorProto, _impl_.oneof_decl_), -1, 6,
4371 (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
4372 // repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9;
4373 {PROTOBUF_FIELD_OFFSET(DescriptorProto, _impl_.reserved_range_), -1, 7,
4374 (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
4375 // repeated string reserved_name = 10;
4376 {PROTOBUF_FIELD_OFFSET(DescriptorProto, _impl_.reserved_name_), -1, 0,
4377 (0 | ::_fl::kFcRepeated | ::_fl::kRawString | ::_fl::kRepSString)},
4378 }}, {{
4379 {::_pbi::TcParser::GetTable<::google::protobuf::FieldDescriptorProto>()},
4380 {::_pbi::TcParser::GetTable<::google::protobuf::DescriptorProto>()},
4381 {::_pbi::TcParser::GetTable<::google::protobuf::EnumDescriptorProto>()},
4382 {::_pbi::TcParser::GetTable<::google::protobuf::DescriptorProto_ExtensionRange>()},
4383 {::_pbi::TcParser::GetTable<::google::protobuf::FieldDescriptorProto>()},
4384 {::_pbi::TcParser::GetTable<::google::protobuf::MessageOptions>()},
4385 {::_pbi::TcParser::GetTable<::google::protobuf::OneofDescriptorProto>()},
4386 {::_pbi::TcParser::GetTable<::google::protobuf::DescriptorProto_ReservedRange>()},
4387 }}, {{
4388 "\37\4\0\0\0\0\0\0\0\0\15\0\0\0\0\0"
4389 "google.protobuf.DescriptorProto"
4390 "name"
4391 "reserved_name"
4392 }},
4393 };
4394
4395 PROTOBUF_NOINLINE void DescriptorProto::Clear() {
4396 // @@protoc_insertion_point(message_clear_start:google.protobuf.DescriptorProto)
4397 ::google::protobuf::internal::TSanWrite(&_impl_);
4398 ::uint32_t cached_has_bits = 0;
4399 // Prevent compiler warnings about cached_has_bits being unused
4400 (void) cached_has_bits;
4401
4402 _impl_.field_.Clear();
4403 _impl_.nested_type_.Clear();
4404 _impl_.enum_type_.Clear();
4405 _impl_.extension_range_.Clear();
4406 _impl_.extension_.Clear();
4407 _impl_.oneof_decl_.Clear();
4408 _impl_.reserved_range_.Clear();
4409 _impl_.reserved_name_.Clear();
4410 cached_has_bits = _impl_._has_bits_[0];
4411 if (cached_has_bits & 0x00000003u) {
4412 if (cached_has_bits & 0x00000001u) {
4413 _impl_.name_.ClearNonDefaultToEmpty();
4414 }
4415 if (cached_has_bits & 0x00000002u) {
4416 ABSL_DCHECK(_impl_.options_ != nullptr);
4417 _impl_.options_->Clear();
4418 }
4419 }
4420 _impl_._has_bits_.Clear();
4421 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
4422 }
4423
4424 #if defined(PROTOBUF_CUSTOM_VTABLE)
4425 ::uint8_t* DescriptorProto::_InternalSerialize(
4426 const MessageLite& base, ::uint8_t* target,
4427 ::google::protobuf::io::EpsCopyOutputStream* stream) {
4428 const DescriptorProto& this_ = static_cast<const DescriptorProto&>(base);
4429 #else // PROTOBUF_CUSTOM_VTABLE
4430 ::uint8_t* DescriptorProto::_InternalSerialize(
4431 ::uint8_t* target,
4432 ::google::protobuf::io::EpsCopyOutputStream* stream) const {
4433 const DescriptorProto& this_ = *this;
4434 #endif // PROTOBUF_CUSTOM_VTABLE
4435 // @@protoc_insertion_point(serialize_to_array_start:google.protobuf.DescriptorProto)
4436 ::uint32_t cached_has_bits = 0;
4437 (void)cached_has_bits;
4438
4439 cached_has_bits = this_._impl_._has_bits_[0];
4440 // optional string name = 1;
4441 if (cached_has_bits & 0x00000001u) {
4442 const std::string& _s = this_._internal_name();
4443 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(_s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormat::SERIALIZE,
4444 "google.protobuf.DescriptorProto.name");
4445 target = stream->WriteStringMaybeAliased(1, _s, target);
4446 }
4447
4448 // repeated .google.protobuf.FieldDescriptorProto field = 2;
4449 for (unsigned i = 0, n = static_cast<unsigned>(
4450 this_._internal_field_size());
4451 i < n; i++) {
4452 const auto& repfield = this_._internal_field().Get(i);
4453 target =
4454 ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
4455 2, repfield, repfield.GetCachedSize(),
4456 target, stream);
4457 }
4458
4459 // repeated .google.protobuf.DescriptorProto nested_type = 3;
4460 for (unsigned i = 0, n = static_cast<unsigned>(
4461 this_._internal_nested_type_size());
4462 i < n; i++) {
4463 const auto& repfield = this_._internal_nested_type().Get(i);
4464 target =
4465 ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
4466 3, repfield, repfield.GetCachedSize(),
4467 target, stream);
4468 }
4469
4470 // repeated .google.protobuf.EnumDescriptorProto enum_type = 4;
4471 for (unsigned i = 0, n = static_cast<unsigned>(
4472 this_._internal_enum_type_size());
4473 i < n; i++) {
4474 const auto& repfield = this_._internal_enum_type().Get(i);
4475 target =
4476 ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
4477 4, repfield, repfield.GetCachedSize(),
4478 target, stream);
4479 }
4480
4481 // repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5;
4482 for (unsigned i = 0, n = static_cast<unsigned>(
4483 this_._internal_extension_range_size());
4484 i < n; i++) {
4485 const auto& repfield = this_._internal_extension_range().Get(i);
4486 target =
4487 ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
4488 5, repfield, repfield.GetCachedSize(),
4489 target, stream);
4490 }
4491
4492 // repeated .google.protobuf.FieldDescriptorProto extension = 6;
4493 for (unsigned i = 0, n = static_cast<unsigned>(
4494 this_._internal_extension_size());
4495 i < n; i++) {
4496 const auto& repfield = this_._internal_extension().Get(i);
4497 target =
4498 ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
4499 6, repfield, repfield.GetCachedSize(),
4500 target, stream);
4501 }
4502
4503 // optional .google.protobuf.MessageOptions options = 7;
4504 if (cached_has_bits & 0x00000002u) {
4505 target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
4506 7, *this_._impl_.options_, this_._impl_.options_->GetCachedSize(), target,
4507 stream);
4508 }
4509
4510 // repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8;
4511 for (unsigned i = 0, n = static_cast<unsigned>(
4512 this_._internal_oneof_decl_size());
4513 i < n; i++) {
4514 const auto& repfield = this_._internal_oneof_decl().Get(i);
4515 target =
4516 ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
4517 8, repfield, repfield.GetCachedSize(),
4518 target, stream);
4519 }
4520
4521 // repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9;
4522 for (unsigned i = 0, n = static_cast<unsigned>(
4523 this_._internal_reserved_range_size());
4524 i < n; i++) {
4525 const auto& repfield = this_._internal_reserved_range().Get(i);
4526 target =
4527 ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
4528 9, repfield, repfield.GetCachedSize(),
4529 target, stream);
4530 }
4531
4532 // repeated string reserved_name = 10;
4533 for (int i = 0, n = this_._internal_reserved_name_size(); i < n; ++i) {
4534 const auto& s = this_._internal_reserved_name().Get(i);
4535 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(s.data(), static_cast<int>(s.length()), ::google::protobuf::internal::WireFormat::SERIALIZE,
4536 "google.protobuf.DescriptorProto.reserved_name");
4537 target = stream->WriteString(10, s, target);
4538 }
4539
4540 if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
4541 target =
4542 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
4543 this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
4544 }
4545 // @@protoc_insertion_point(serialize_to_array_end:google.protobuf.DescriptorProto)
4546 return target;
4547 }
4548
4549 #if defined(PROTOBUF_CUSTOM_VTABLE)
4550 ::size_t DescriptorProto::ByteSizeLong(const MessageLite& base) {
4551 const DescriptorProto& this_ = static_cast<const DescriptorProto&>(base);
4552 #else // PROTOBUF_CUSTOM_VTABLE
4553 ::size_t DescriptorProto::ByteSizeLong() const {
4554 const DescriptorProto& this_ = *this;
4555 #endif // PROTOBUF_CUSTOM_VTABLE
4556 // @@protoc_insertion_point(message_byte_size_start:google.protobuf.DescriptorProto)
4557 ::size_t total_size = 0;
4558
4559 ::uint32_t cached_has_bits = 0;
4560 // Prevent compiler warnings about cached_has_bits being unused
4561 (void)cached_has_bits;
4562
4563 ::_pbi::Prefetch5LinesFrom7Lines(&this_);
4564 {
4565 // repeated .google.protobuf.FieldDescriptorProto field = 2;
4566 {
4567 total_size += 1UL * this_._internal_field_size();
4568 for (const auto& msg : this_._internal_field()) {
4569 total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
4570 }
4571 }
4572 // repeated .google.protobuf.DescriptorProto nested_type = 3;
4573 {
4574 total_size += 1UL * this_._internal_nested_type_size();
4575 for (const auto& msg : this_._internal_nested_type()) {
4576 total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
4577 }
4578 }
4579 // repeated .google.protobuf.EnumDescriptorProto enum_type = 4;
4580 {
4581 total_size += 1UL * this_._internal_enum_type_size();
4582 for (const auto& msg : this_._internal_enum_type()) {
4583 total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
4584 }
4585 }
4586 // repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5;
4587 {
4588 total_size += 1UL * this_._internal_extension_range_size();
4589 for (const auto& msg : this_._internal_extension_range()) {
4590 total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
4591 }
4592 }
4593 // repeated .google.protobuf.FieldDescriptorProto extension = 6;
4594 {
4595 total_size += 1UL * this_._internal_extension_size();
4596 for (const auto& msg : this_._internal_extension()) {
4597 total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
4598 }
4599 }
4600 // repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8;
4601 {
4602 total_size += 1UL * this_._internal_oneof_decl_size();
4603 for (const auto& msg : this_._internal_oneof_decl()) {
4604 total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
4605 }
4606 }
4607 // repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9;
4608 {
4609 total_size += 1UL * this_._internal_reserved_range_size();
4610 for (const auto& msg : this_._internal_reserved_range()) {
4611 total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
4612 }
4613 }
4614 // repeated string reserved_name = 10;
4615 {
4616 total_size +=
4617 1 * ::google::protobuf::internal::FromIntSize(this_._internal_reserved_name().size());
4618 for (int i = 0, n = this_._internal_reserved_name().size(); i < n; ++i) {
4619 total_size += ::google::protobuf::internal::WireFormatLite::StringSize(
4620 this_._internal_reserved_name().Get(i));
4621 }
4622 }
4623 }
4624 cached_has_bits = this_._impl_._has_bits_[0];
4625 if (cached_has_bits & 0x00000003u) {
4626 // optional string name = 1;
4627 if (cached_has_bits & 0x00000001u) {
4628 total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
4629 this_._internal_name());
4630 }
4631 // optional .google.protobuf.MessageOptions options = 7;
4632 if (cached_has_bits & 0x00000002u) {
4633 total_size += 1 +
4634 ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.options_);
4635 }
4636 }
4637 return this_.MaybeComputeUnknownFieldsSize(total_size,
4638 &this_._impl_._cached_size_);
4639 }
4640
4641 void DescriptorProto::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
4642 auto* const _this = static_cast<DescriptorProto*>(&to_msg);
4643 auto& from = static_cast<const DescriptorProto&>(from_msg);
4644 ::google::protobuf::Arena* arena = _this->GetArena();
4645 // @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.DescriptorProto)
4646 ABSL_DCHECK_NE(&from, _this);
4647 ::uint32_t cached_has_bits = 0;
4648 (void) cached_has_bits;
4649
4650 _this->_internal_mutable_field()->MergeFrom(
4651 from._internal_field());
4652 _this->_internal_mutable_nested_type()->MergeFrom(
4653 from._internal_nested_type());
4654 _this->_internal_mutable_enum_type()->MergeFrom(
4655 from._internal_enum_type());
4656 _this->_internal_mutable_extension_range()->MergeFrom(
4657 from._internal_extension_range());
4658 _this->_internal_mutable_extension()->MergeFrom(
4659 from._internal_extension());
4660 _this->_internal_mutable_oneof_decl()->MergeFrom(
4661 from._internal_oneof_decl());
4662 _this->_internal_mutable_reserved_range()->MergeFrom(
4663 from._internal_reserved_range());
4664 _this->_internal_mutable_reserved_name()->MergeFrom(from._internal_reserved_name());
4665 cached_has_bits = from._impl_._has_bits_[0];
4666 if (cached_has_bits & 0x00000003u) {
4667 if (cached_has_bits & 0x00000001u) {
4668 _this->_internal_set_name(from._internal_name());
4669 }
4670 if (cached_has_bits & 0x00000002u) {
4671 ABSL_DCHECK(from._impl_.options_ != nullptr);
4672 if (_this->_impl_.options_ == nullptr) {
4673 _this->_impl_.options_ =
4674 ::google::protobuf::Message::CopyConstruct<::google::protobuf::MessageOptions>(arena, *from._impl_.options_);
4675 } else {
4676 _this->_impl_.options_->MergeFrom(*from._impl_.options_);
4677 }
4678 }
4679 }
4680 _this->_impl_._has_bits_[0] |= cached_has_bits;
4681 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
4682 }
4683
4684 void DescriptorProto::CopyFrom(const DescriptorProto& from) {
4685 // @@protoc_insertion_point(class_specific_copy_from_start:google.protobuf.DescriptorProto)
4686 if (&from == this) return;
4687 Clear();
4688 MergeFrom(from);
4689 }
4690
4691 PROTOBUF_NOINLINE bool DescriptorProto::IsInitializedImpl(
4692 const MessageLite& msg) {
4693 auto& this_ = static_cast<const DescriptorProto&>(msg);
4694 if (!::google::protobuf::internal::AllAreInitialized(this_._internal_field()))
4695 return false;
4696 if (!::google::protobuf::internal::AllAreInitialized(this_._internal_nested_type()))
4697 return false;
4698 if (!::google::protobuf::internal::AllAreInitialized(this_._internal_enum_type()))
4699 return false;
4700 if (!::google::protobuf::internal::AllAreInitialized(this_._internal_extension_range()))
4701 return false;
4702 if (!::google::protobuf::internal::AllAreInitialized(this_._internal_extension()))
4703 return false;
4704 if (!::google::protobuf::internal::AllAreInitialized(this_._internal_oneof_decl()))
4705 return false;
4706 if ((this_._impl_._has_bits_[0] & 0x00000002u) != 0) {
4707 if (!this_._impl_.options_->IsInitialized()) return false;
4708 }
4709 return true;
4710 }
4711
4712 void DescriptorProto::InternalSwap(DescriptorProto* PROTOBUF_RESTRICT other) {
4713 using std::swap;
4714 auto* arena = GetArena();
4715 ABSL_DCHECK_EQ(arena, other->GetArena());
4716 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
4717 swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
4718 _impl_.field_.InternalSwap(&other->_impl_.field_);
4719 _impl_.nested_type_.InternalSwap(&other->_impl_.nested_type_);
4720 _impl_.enum_type_.InternalSwap(&other->_impl_.enum_type_);
4721 _impl_.extension_range_.InternalSwap(&other->_impl_.extension_range_);
4722 _impl_.extension_.InternalSwap(&other->_impl_.extension_);
4723 _impl_.oneof_decl_.InternalSwap(&other->_impl_.oneof_decl_);
4724 _impl_.reserved_range_.InternalSwap(&other->_impl_.reserved_range_);
4725 _impl_.reserved_name_.InternalSwap(&other->_impl_.reserved_name_);
4726 ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.name_, &other->_impl_.name_, arena);
4727 swap(_impl_.options_, other->_impl_.options_);
4728 }
4729
4730 ::google::protobuf::Metadata DescriptorProto::GetMetadata() const {
4731 return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
4732 }
4733 // ===================================================================
4734
4735 class ExtensionRangeOptions_Declaration::_Internal {
4736 public:
4737 using HasBits =
4738 decltype(std::declval<ExtensionRangeOptions_Declaration>()._impl_._has_bits_);
4739 static constexpr ::int32_t kHasBitsOffset =
4740 8 * PROTOBUF_FIELD_OFFSET(ExtensionRangeOptions_Declaration, _impl_._has_bits_);
4741 };
4742
4743 ExtensionRangeOptions_Declaration::ExtensionRangeOptions_Declaration(::google::protobuf::Arena* arena)
4744 #if defined(PROTOBUF_CUSTOM_VTABLE)
4745 : ::google::protobuf::Message(arena, _class_data_.base()) {
4746 #else // PROTOBUF_CUSTOM_VTABLE
4747 : ::google::protobuf::Message(arena) {
4748 #endif // PROTOBUF_CUSTOM_VTABLE
4749 SharedCtor(arena);
4750 // @@protoc_insertion_point(arena_constructor:google.protobuf.ExtensionRangeOptions.Declaration)
4751 }
4752 inline PROTOBUF_NDEBUG_INLINE ExtensionRangeOptions_Declaration::Impl_::Impl_(
4753 ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena,
4754 const Impl_& from, const ::google::protobuf::ExtensionRangeOptions_Declaration& from_msg)
4755 : _has_bits_{from._has_bits_},
4756 _cached_size_{0},
4757 full_name_(arena, from.full_name_),
4758 type_(arena, from.type_) {}
4759
4760 ExtensionRangeOptions_Declaration::ExtensionRangeOptions_Declaration(
4761 ::google::protobuf::Arena* arena,
4762 const ExtensionRangeOptions_Declaration& from)
4763 #if defined(PROTOBUF_CUSTOM_VTABLE)
4764 : ::google::protobuf::Message(arena, _class_data_.base()) {
4765 #else // PROTOBUF_CUSTOM_VTABLE
4766 : ::google::protobuf::Message(arena) {
4767 #endif // PROTOBUF_CUSTOM_VTABLE
4768 ExtensionRangeOptions_Declaration* const _this = this;
4769 (void)_this;
4770 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
4771 from._internal_metadata_);
4772 new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
4773 ::memcpy(reinterpret_cast<char *>(&_impl_) +
4774 offsetof(Impl_, number_),
4775 reinterpret_cast<const char *>(&from._impl_) +
4776 offsetof(Impl_, number_),
4777 offsetof(Impl_, repeated_) -
4778 offsetof(Impl_, number_) +
4779 sizeof(Impl_::repeated_));
4780
4781 // @@protoc_insertion_point(copy_constructor:google.protobuf.ExtensionRangeOptions.Declaration)
4782 }
4783 inline PROTOBUF_NDEBUG_INLINE ExtensionRangeOptions_Declaration::Impl_::Impl_(
4784 ::google::protobuf::internal::InternalVisibility visibility,
4785 ::google::protobuf::Arena* arena)
4786 : _cached_size_{0},
4787 full_name_(arena),
4788 type_(arena) {}
4789
4790 inline void ExtensionRangeOptions_Declaration::SharedCtor(::_pb::Arena* arena) {
4791 new (&_impl_) Impl_(internal_visibility(), arena);
4792 ::memset(reinterpret_cast<char *>(&_impl_) +
4793 offsetof(Impl_, number_),
4794 0,
4795 offsetof(Impl_, repeated_) -
4796 offsetof(Impl_, number_) +
4797 sizeof(Impl_::repeated_));
4798 }
4799 ExtensionRangeOptions_Declaration::~ExtensionRangeOptions_Declaration() {
4800 // @@protoc_insertion_point(destructor:google.protobuf.ExtensionRangeOptions.Declaration)
4801 SharedDtor(*this);
4802 }
4803 inline void ExtensionRangeOptions_Declaration::SharedDtor(MessageLite& self) {
4804 ExtensionRangeOptions_Declaration& this_ = static_cast<ExtensionRangeOptions_Declaration&>(self);
4805 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
4806 ABSL_DCHECK(this_.GetArena() == nullptr);
4807 this_._impl_.full_name_.Destroy();
4808 this_._impl_.type_.Destroy();
4809 this_._impl_.~Impl_();
4810 }
4811
4812 inline void* ExtensionRangeOptions_Declaration::PlacementNew_(const void*, void* mem,
4813 ::google::protobuf::Arena* arena) {
4814 return ::new (mem) ExtensionRangeOptions_Declaration(arena);
4815 }
4816 constexpr auto ExtensionRangeOptions_Declaration::InternalNewImpl_() {
4817 return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(ExtensionRangeOptions_Declaration),
4818 alignof(ExtensionRangeOptions_Declaration));
4819 }
4820 PROTOBUF_CONSTINIT
4821 PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
4822 const ::google::protobuf::internal::ClassDataFull ExtensionRangeOptions_Declaration::_class_data_ = {
4823 ::google::protobuf::internal::ClassData{
4824 &_ExtensionRangeOptions_Declaration_default_instance_._instance,
4825 &_table_.header,
4826 nullptr, // OnDemandRegisterArenaDtor
4827 nullptr, // IsInitialized
4828 &ExtensionRangeOptions_Declaration::MergeImpl,
4829 ::google::protobuf::Message::GetNewImpl<ExtensionRangeOptions_Declaration>(),
4830 #if defined(PROTOBUF_CUSTOM_VTABLE)
4831 &ExtensionRangeOptions_Declaration::SharedDtor,
4832 ::google::protobuf::Message::GetClearImpl<ExtensionRangeOptions_Declaration>(), &ExtensionRangeOptions_Declaration::ByteSizeLong,
4833 &ExtensionRangeOptions_Declaration::_InternalSerialize,
4834 #endif // PROTOBUF_CUSTOM_VTABLE
4835 PROTOBUF_FIELD_OFFSET(ExtensionRangeOptions_Declaration, _impl_._cached_size_),
4836 false,
4837 },
4838 &ExtensionRangeOptions_Declaration::kDescriptorMethods,
4839 &descriptor_table_google_2fprotobuf_2fdescriptor_2eproto,
4840 nullptr, // tracker
4841 };
4842 const ::google::protobuf::internal::ClassData* ExtensionRangeOptions_Declaration::GetClassData() const {
4843 ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_);
4844 ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table);
4845 return _class_data_.base();
4846 }
4847 constexpr ::_pbi::TcParseTable<3, 5, 0, 71, 2> ExtensionRangeOptions_Declaration::_table_ = {
4848 {
4849 PROTOBUF_FIELD_OFFSET(ExtensionRangeOptions_Declaration, _impl_._has_bits_),
4850 0, // no _extensions_
4851 6, 56, // max_field_number, fast_idx_mask
4852 offsetof(decltype(_table_), field_lookup_table),
4853 4294967240, // skipmap
4854 offsetof(decltype(_table_), field_entries),
4855 5, // num_field_entries
4856 0, // num_aux_entries
4857 offsetof(decltype(_table_), field_names), // no aux_entries
4858 _class_data_.base(),
4859 nullptr, // post_loop_handler
4860 ::_pbi::TcParser::GenericFallback, // fallback
4861 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
4862 ::_pbi::TcParser::GetTable<::google::protobuf::ExtensionRangeOptions_Declaration>(), // to_prefetch
4863 #endif // PROTOBUF_PREFETCH_PARSE_TABLE
4864 }, {{
4865 {::_pbi::TcParser::MiniParse, {}},
4866 // optional int32 number = 1;
4867 {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(ExtensionRangeOptions_Declaration, _impl_.number_), 2>(),
4868 {8, 2, 0, PROTOBUF_FIELD_OFFSET(ExtensionRangeOptions_Declaration, _impl_.number_)}},
4869 // optional string full_name = 2;
4870 {::_pbi::TcParser::FastSS1,
4871 {18, 0, 0, PROTOBUF_FIELD_OFFSET(ExtensionRangeOptions_Declaration, _impl_.full_name_)}},
4872 // optional string type = 3;
4873 {::_pbi::TcParser::FastSS1,
4874 {26, 1, 0, PROTOBUF_FIELD_OFFSET(ExtensionRangeOptions_Declaration, _impl_.type_)}},
4875 {::_pbi::TcParser::MiniParse, {}},
4876 // optional bool reserved = 5;
4877 {::_pbi::TcParser::SingularVarintNoZag1<bool, offsetof(ExtensionRangeOptions_Declaration, _impl_.reserved_), 3>(),
4878 {40, 3, 0, PROTOBUF_FIELD_OFFSET(ExtensionRangeOptions_Declaration, _impl_.reserved_)}},
4879 // optional bool repeated = 6;
4880 {::_pbi::TcParser::SingularVarintNoZag1<bool, offsetof(ExtensionRangeOptions_Declaration, _impl_.repeated_), 4>(),
4881 {48, 4, 0, PROTOBUF_FIELD_OFFSET(ExtensionRangeOptions_Declaration, _impl_.repeated_)}},
4882 {::_pbi::TcParser::MiniParse, {}},
4883 }}, {{
4884 65535, 65535
4885 }}, {{
4886 // optional int32 number = 1;
4887 {PROTOBUF_FIELD_OFFSET(ExtensionRangeOptions_Declaration, _impl_.number_), _Internal::kHasBitsOffset + 2, 0,
4888 (0 | ::_fl::kFcOptional | ::_fl::kInt32)},
4889 // optional string full_name = 2;
4890 {PROTOBUF_FIELD_OFFSET(ExtensionRangeOptions_Declaration, _impl_.full_name_), _Internal::kHasBitsOffset + 0, 0,
4891 (0 | ::_fl::kFcOptional | ::_fl::kRawString | ::_fl::kRepAString)},
4892 // optional string type = 3;
4893 {PROTOBUF_FIELD_OFFSET(ExtensionRangeOptions_Declaration, _impl_.type_), _Internal::kHasBitsOffset + 1, 0,
4894 (0 | ::_fl::kFcOptional | ::_fl::kRawString | ::_fl::kRepAString)},
4895 // optional bool reserved = 5;
4896 {PROTOBUF_FIELD_OFFSET(ExtensionRangeOptions_Declaration, _impl_.reserved_), _Internal::kHasBitsOffset + 3, 0,
4897 (0 | ::_fl::kFcOptional | ::_fl::kBool)},
4898 // optional bool repeated = 6;
4899 {PROTOBUF_FIELD_OFFSET(ExtensionRangeOptions_Declaration, _impl_.repeated_), _Internal::kHasBitsOffset + 4, 0,
4900 (0 | ::_fl::kFcOptional | ::_fl::kBool)},
4901 }},
4902 // no aux_entries
4903 {{
4904 "\61\0\11\4\0\0\0\0"
4905 "google.protobuf.ExtensionRangeOptions.Declaration"
4906 "full_name"
4907 "type"
4908 }},
4909 };
4910
4911 PROTOBUF_NOINLINE void ExtensionRangeOptions_Declaration::Clear() {
4912 // @@protoc_insertion_point(message_clear_start:google.protobuf.ExtensionRangeOptions.Declaration)
4913 ::google::protobuf::internal::TSanWrite(&_impl_);
4914 ::uint32_t cached_has_bits = 0;
4915 // Prevent compiler warnings about cached_has_bits being unused
4916 (void) cached_has_bits;
4917
4918 cached_has_bits = _impl_._has_bits_[0];
4919 if (cached_has_bits & 0x00000003u) {
4920 if (cached_has_bits & 0x00000001u) {
4921 _impl_.full_name_.ClearNonDefaultToEmpty();
4922 }
4923 if (cached_has_bits & 0x00000002u) {
4924 _impl_.type_.ClearNonDefaultToEmpty();
4925 }
4926 }
4927 if (cached_has_bits & 0x0000001cu) {
4928 ::memset(&_impl_.number_, 0, static_cast<::size_t>(
4929 reinterpret_cast<char*>(&_impl_.repeated_) -
4930 reinterpret_cast<char*>(&_impl_.number_)) + sizeof(_impl_.repeated_));
4931 }
4932 _impl_._has_bits_.Clear();
4933 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
4934 }
4935
4936 #if defined(PROTOBUF_CUSTOM_VTABLE)
4937 ::uint8_t* ExtensionRangeOptions_Declaration::_InternalSerialize(
4938 const MessageLite& base, ::uint8_t* target,
4939 ::google::protobuf::io::EpsCopyOutputStream* stream) {
4940 const ExtensionRangeOptions_Declaration& this_ = static_cast<const ExtensionRangeOptions_Declaration&>(base);
4941 #else // PROTOBUF_CUSTOM_VTABLE
4942 ::uint8_t* ExtensionRangeOptions_Declaration::_InternalSerialize(
4943 ::uint8_t* target,
4944 ::google::protobuf::io::EpsCopyOutputStream* stream) const {
4945 const ExtensionRangeOptions_Declaration& this_ = *this;
4946 #endif // PROTOBUF_CUSTOM_VTABLE
4947 // @@protoc_insertion_point(serialize_to_array_start:google.protobuf.ExtensionRangeOptions.Declaration)
4948 ::uint32_t cached_has_bits = 0;
4949 (void)cached_has_bits;
4950
4951 cached_has_bits = this_._impl_._has_bits_[0];
4952 // optional int32 number = 1;
4953 if (cached_has_bits & 0x00000004u) {
4954 target = ::google::protobuf::internal::WireFormatLite::
4955 WriteInt32ToArrayWithField<1>(
4956 stream, this_._internal_number(), target);
4957 }
4958
4959 // optional string full_name = 2;
4960 if (cached_has_bits & 0x00000001u) {
4961 const std::string& _s = this_._internal_full_name();
4962 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(_s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormat::SERIALIZE,
4963 "google.protobuf.ExtensionRangeOptions.Declaration.full_name");
4964 target = stream->WriteStringMaybeAliased(2, _s, target);
4965 }
4966
4967 // optional string type = 3;
4968 if (cached_has_bits & 0x00000002u) {
4969 const std::string& _s = this_._internal_type();
4970 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(_s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormat::SERIALIZE,
4971 "google.protobuf.ExtensionRangeOptions.Declaration.type");
4972 target = stream->WriteStringMaybeAliased(3, _s, target);
4973 }
4974
4975 // optional bool reserved = 5;
4976 if (cached_has_bits & 0x00000008u) {
4977 target = stream->EnsureSpace(target);
4978 target = ::_pbi::WireFormatLite::WriteBoolToArray(
4979 5, this_._internal_reserved(), target);
4980 }
4981
4982 // optional bool repeated = 6;
4983 if (cached_has_bits & 0x00000010u) {
4984 target = stream->EnsureSpace(target);
4985 target = ::_pbi::WireFormatLite::WriteBoolToArray(
4986 6, this_._internal_repeated(), target);
4987 }
4988
4989 if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
4990 target =
4991 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
4992 this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
4993 }
4994 // @@protoc_insertion_point(serialize_to_array_end:google.protobuf.ExtensionRangeOptions.Declaration)
4995 return target;
4996 }
4997
4998 #if defined(PROTOBUF_CUSTOM_VTABLE)
4999 ::size_t ExtensionRangeOptions_Declaration::ByteSizeLong(const MessageLite& base) {
5000 const ExtensionRangeOptions_Declaration& this_ = static_cast<const ExtensionRangeOptions_Declaration&>(base);
5001 #else // PROTOBUF_CUSTOM_VTABLE
5002 ::size_t ExtensionRangeOptions_Declaration::ByteSizeLong() const {
5003 const ExtensionRangeOptions_Declaration& this_ = *this;
5004 #endif // PROTOBUF_CUSTOM_VTABLE
5005 // @@protoc_insertion_point(message_byte_size_start:google.protobuf.ExtensionRangeOptions.Declaration)
5006 ::size_t total_size = 0;
5007
5008 ::uint32_t cached_has_bits = 0;
5009 // Prevent compiler warnings about cached_has_bits being unused
5010 (void)cached_has_bits;
5011
5012 ::_pbi::Prefetch5LinesFrom7Lines(&this_);
5013 cached_has_bits = this_._impl_._has_bits_[0];
5014 if (cached_has_bits & 0x0000001fu) {
5015 // optional string full_name = 2;
5016 if (cached_has_bits & 0x00000001u) {
5017 total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
5018 this_._internal_full_name());
5019 }
5020 // optional string type = 3;
5021 if (cached_has_bits & 0x00000002u) {
5022 total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
5023 this_._internal_type());
5024 }
5025 // optional int32 number = 1;
5026 if (cached_has_bits & 0x00000004u) {
5027 total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
5028 this_._internal_number());
5029 }
5030 // optional bool reserved = 5;
5031 if (cached_has_bits & 0x00000008u) {
5032 total_size += 2;
5033 }
5034 // optional bool repeated = 6;
5035 if (cached_has_bits & 0x00000010u) {
5036 total_size += 2;
5037 }
5038 }
5039 return this_.MaybeComputeUnknownFieldsSize(total_size,
5040 &this_._impl_._cached_size_);
5041 }
5042
5043 void ExtensionRangeOptions_Declaration::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
5044 auto* const _this = static_cast<ExtensionRangeOptions_Declaration*>(&to_msg);
5045 auto& from = static_cast<const ExtensionRangeOptions_Declaration&>(from_msg);
5046 // @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.ExtensionRangeOptions.Declaration)
5047 ABSL_DCHECK_NE(&from, _this);
5048 ::uint32_t cached_has_bits = 0;
5049 (void) cached_has_bits;
5050
5051 cached_has_bits = from._impl_._has_bits_[0];
5052 if (cached_has_bits & 0x0000001fu) {
5053 if (cached_has_bits & 0x00000001u) {
5054 _this->_internal_set_full_name(from._internal_full_name());
5055 }
5056 if (cached_has_bits & 0x00000002u) {
5057 _this->_internal_set_type(from._internal_type());
5058 }
5059 if (cached_has_bits & 0x00000004u) {
5060 _this->_impl_.number_ = from._impl_.number_;
5061 }
5062 if (cached_has_bits & 0x00000008u) {
5063 _this->_impl_.reserved_ = from._impl_.reserved_;
5064 }
5065 if (cached_has_bits & 0x00000010u) {
5066 _this->_impl_.repeated_ = from._impl_.repeated_;
5067 }
5068 }
5069 _this->_impl_._has_bits_[0] |= cached_has_bits;
5070 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
5071 }
5072
5073 void ExtensionRangeOptions_Declaration::CopyFrom(const ExtensionRangeOptions_Declaration& from) {
5074 // @@protoc_insertion_point(class_specific_copy_from_start:google.protobuf.ExtensionRangeOptions.Declaration)
5075 if (&from == this) return;
5076 Clear();
5077 MergeFrom(from);
5078 }
5079
5080
5081 void ExtensionRangeOptions_Declaration::InternalSwap(ExtensionRangeOptions_Declaration* PROTOBUF_RESTRICT other) {
5082 using std::swap;
5083 auto* arena = GetArena();
5084 ABSL_DCHECK_EQ(arena, other->GetArena());
5085 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
5086 swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
5087 ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.full_name_, &other->_impl_.full_name_, arena);
5088 ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.type_, &other->_impl_.type_, arena);
5089 ::google::protobuf::internal::memswap<
5090 PROTOBUF_FIELD_OFFSET(ExtensionRangeOptions_Declaration, _impl_.repeated_)
5091 + sizeof(ExtensionRangeOptions_Declaration::_impl_.repeated_)
5092 - PROTOBUF_FIELD_OFFSET(ExtensionRangeOptions_Declaration, _impl_.number_)>(
5093 reinterpret_cast<char*>(&_impl_.number_),
5094 reinterpret_cast<char*>(&other->_impl_.number_));
5095 }
5096
5097 ::google::protobuf::Metadata ExtensionRangeOptions_Declaration::GetMetadata() const {
5098 return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
5099 }
5100 // ===================================================================
5101
5102 class ExtensionRangeOptions::_Internal {
5103 public:
5104 using HasBits =
5105 decltype(std::declval<ExtensionRangeOptions>()._impl_._has_bits_);
5106 static constexpr ::int32_t kHasBitsOffset =
5107 8 * PROTOBUF_FIELD_OFFSET(ExtensionRangeOptions, _impl_._has_bits_);
5108 };
5109
5110 ExtensionRangeOptions::ExtensionRangeOptions(::google::protobuf::Arena* arena)
5111 #if defined(PROTOBUF_CUSTOM_VTABLE)
5112 : ::google::protobuf::Message(arena, _class_data_.base()) {
5113 #else // PROTOBUF_CUSTOM_VTABLE
5114 : ::google::protobuf::Message(arena) {
5115 #endif // PROTOBUF_CUSTOM_VTABLE
5116 SharedCtor(arena);
5117 // @@protoc_insertion_point(arena_constructor:google.protobuf.ExtensionRangeOptions)
5118 }
5119 inline PROTOBUF_NDEBUG_INLINE ExtensionRangeOptions::Impl_::Impl_(
5120 ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena,
5121 const Impl_& from, const ::google::protobuf::ExtensionRangeOptions& from_msg)
5122 : _extensions_{visibility, arena},
5123 _has_bits_{from._has_bits_},
5124 _cached_size_{0},
5125 declaration_{visibility, arena, from.declaration_},
5126 uninterpreted_option_{visibility, arena, from.uninterpreted_option_} {}
5127
5128 ExtensionRangeOptions::ExtensionRangeOptions(
5129 ::google::protobuf::Arena* arena,
5130 const ExtensionRangeOptions& from)
5131 #if defined(PROTOBUF_CUSTOM_VTABLE)
5132 : ::google::protobuf::Message(arena, _class_data_.base()) {
5133 #else // PROTOBUF_CUSTOM_VTABLE
5134 : ::google::protobuf::Message(arena) {
5135 #endif // PROTOBUF_CUSTOM_VTABLE
5136 ExtensionRangeOptions* const _this = this;
5137 (void)_this;
5138 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
5139 from._internal_metadata_);
5140 new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
5141 _impl_._extensions_.MergeFrom(this, from._impl_._extensions_);
5142 ::uint32_t cached_has_bits = _impl_._has_bits_[0];
5143 _impl_.features_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::google::protobuf::FeatureSet>(
5144 arena, *from._impl_.features_)
5145 : nullptr;
5146 _impl_.verification_ = from._impl_.verification_;
5147
5148 // @@protoc_insertion_point(copy_constructor:google.protobuf.ExtensionRangeOptions)
5149 }
5150 inline PROTOBUF_NDEBUG_INLINE ExtensionRangeOptions::Impl_::Impl_(
5151 ::google::protobuf::internal::InternalVisibility visibility,
5152 ::google::protobuf::Arena* arena)
5153 : _extensions_{visibility, arena},
5154 _cached_size_{0},
5155 declaration_{visibility, arena},
5156 uninterpreted_option_{visibility, arena},
5157 verification_{static_cast< ::google::protobuf::ExtensionRangeOptions_VerificationState >(1)} {}
5158
5159 inline void ExtensionRangeOptions::SharedCtor(::_pb::Arena* arena) {
5160 new (&_impl_) Impl_(internal_visibility(), arena);
5161 _impl_.features_ = {};
5162 }
5163 ExtensionRangeOptions::~ExtensionRangeOptions() {
5164 // @@protoc_insertion_point(destructor:google.protobuf.ExtensionRangeOptions)
5165 SharedDtor(*this);
5166 }
5167 inline void ExtensionRangeOptions::SharedDtor(MessageLite& self) {
5168 ExtensionRangeOptions& this_ = static_cast<ExtensionRangeOptions&>(self);
5169 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
5170 ABSL_DCHECK(this_.GetArena() == nullptr);
5171 delete this_._impl_.features_;
5172 this_._impl_.~Impl_();
5173 }
5174
5175 inline void* ExtensionRangeOptions::PlacementNew_(const void*, void* mem,
5176 ::google::protobuf::Arena* arena) {
5177 return ::new (mem) ExtensionRangeOptions(arena);
5178 }
5179 constexpr auto ExtensionRangeOptions::InternalNewImpl_() {
5180 constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({
5181 PROTOBUF_FIELD_OFFSET(ExtensionRangeOptions, _impl_._extensions_) +
5182 decltype(ExtensionRangeOptions::_impl_._extensions_)::InternalGetArenaOffset(
5183 ::google::protobuf::Message::internal_visibility()),
5184 PROTOBUF_FIELD_OFFSET(ExtensionRangeOptions, _impl_.uninterpreted_option_) +
5185 decltype(ExtensionRangeOptions::_impl_.uninterpreted_option_)::
5186 InternalGetArenaOffset(
5187 ::google::protobuf::Message::internal_visibility()),
5188 PROTOBUF_FIELD_OFFSET(ExtensionRangeOptions, _impl_.declaration_) +
5189 decltype(ExtensionRangeOptions::_impl_.declaration_)::
5190 InternalGetArenaOffset(
5191 ::google::protobuf::Message::internal_visibility()),
5192 });
5193 if (arena_bits.has_value()) {
5194 return ::google::protobuf::internal::MessageCreator::CopyInit(
5195 sizeof(ExtensionRangeOptions), alignof(ExtensionRangeOptions), *arena_bits);
5196 } else {
5197 return ::google::protobuf::internal::MessageCreator(&ExtensionRangeOptions::PlacementNew_,
5198 sizeof(ExtensionRangeOptions),
5199 alignof(ExtensionRangeOptions));
5200 }
5201 }
5202 PROTOBUF_CONSTINIT
5203 PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
5204 const ::google::protobuf::internal::ClassDataFull ExtensionRangeOptions::_class_data_ = {
5205 ::google::protobuf::internal::ClassData{
5206 &_ExtensionRangeOptions_default_instance_._instance,
5207 &_table_.header,
5208 nullptr, // OnDemandRegisterArenaDtor
5209 ExtensionRangeOptions::IsInitializedImpl,
5210 &ExtensionRangeOptions::MergeImpl,
5211 ::google::protobuf::Message::GetNewImpl<ExtensionRangeOptions>(),
5212 #if defined(PROTOBUF_CUSTOM_VTABLE)
5213 &ExtensionRangeOptions::SharedDtor,
5214 ::google::protobuf::Message::GetClearImpl<ExtensionRangeOptions>(), &ExtensionRangeOptions::ByteSizeLong,
5215 &ExtensionRangeOptions::_InternalSerialize,
5216 #endif // PROTOBUF_CUSTOM_VTABLE
5217 PROTOBUF_FIELD_OFFSET(ExtensionRangeOptions, _impl_._cached_size_),
5218 false,
5219 },
5220 &ExtensionRangeOptions::kDescriptorMethods,
5221 &descriptor_table_google_2fprotobuf_2fdescriptor_2eproto,
5222 nullptr, // tracker
5223 };
5224 const ::google::protobuf::internal::ClassData* ExtensionRangeOptions::GetClassData() const {
5225 ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_);
5226 ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table);
5227 return _class_data_.base();
5228 }
5229 constexpr ::_pbi::TcParseTable<3, 4, 4, 0, 12> ExtensionRangeOptions::_table_ = {
5230 {
5231 PROTOBUF_FIELD_OFFSET(ExtensionRangeOptions, _impl_._has_bits_),
5232 PROTOBUF_FIELD_OFFSET(ExtensionRangeOptions, _impl_._extensions_),
5233 999, 56, // max_field_number, fast_idx_mask
5234 offsetof(decltype(_table_), field_lookup_table),
5235 4294967289, // skipmap
5236 offsetof(decltype(_table_), field_entries),
5237 4, // num_field_entries
5238 4, // num_aux_entries
5239 offsetof(decltype(_table_), aux_entries),
5240 _class_data_.base(),
5241 nullptr, // post_loop_handler
5242 ::_pbi::TcParser::GenericFallback, // fallback
5243 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
5244 ::_pbi::TcParser::GetTable<::google::protobuf::ExtensionRangeOptions>(), // to_prefetch
5245 #endif // PROTOBUF_PREFETCH_PARSE_TABLE
5246 }, {{
5247 {::_pbi::TcParser::MiniParse, {}},
5248 {::_pbi::TcParser::MiniParse, {}},
5249 // repeated .google.protobuf.ExtensionRangeOptions.Declaration declaration = 2 [retention = RETENTION_SOURCE];
5250 {::_pbi::TcParser::FastMtR1,
5251 {18, 63, 0, PROTOBUF_FIELD_OFFSET(ExtensionRangeOptions, _impl_.declaration_)}},
5252 // optional .google.protobuf.ExtensionRangeOptions.VerificationState verification = 3 [default = UNVERIFIED, retention = RETENTION_SOURCE];
5253 {::_pbi::TcParser::FastEr0S1,
5254 {24, 1, 1, PROTOBUF_FIELD_OFFSET(ExtensionRangeOptions, _impl_.verification_)}},
5255 {::_pbi::TcParser::MiniParse, {}},
5256 {::_pbi::TcParser::MiniParse, {}},
5257 {::_pbi::TcParser::MiniParse, {}},
5258 // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
5259 {::_pbi::TcParser::FastMtR2,
5260 {16058, 63, 2, PROTOBUF_FIELD_OFFSET(ExtensionRangeOptions, _impl_.uninterpreted_option_)}},
5261 }}, {{
5262 50, 0, 1,
5263 65534, 2,999, 0, 1,
5264 65534, 3,
5265 65535, 65535
5266 }}, {{
5267 // repeated .google.protobuf.ExtensionRangeOptions.Declaration declaration = 2 [retention = RETENTION_SOURCE];
5268 {PROTOBUF_FIELD_OFFSET(ExtensionRangeOptions, _impl_.declaration_), -1, 0,
5269 (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
5270 // optional .google.protobuf.ExtensionRangeOptions.VerificationState verification = 3 [default = UNVERIFIED, retention = RETENTION_SOURCE];
5271 {PROTOBUF_FIELD_OFFSET(ExtensionRangeOptions, _impl_.verification_), _Internal::kHasBitsOffset + 1, 3,
5272 (0 | ::_fl::kFcOptional | ::_fl::kEnumRange)},
5273 // optional .google.protobuf.FeatureSet features = 50;
5274 {PROTOBUF_FIELD_OFFSET(ExtensionRangeOptions, _impl_.features_), _Internal::kHasBitsOffset + 0, 1,
5275 (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
5276 // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
5277 {PROTOBUF_FIELD_OFFSET(ExtensionRangeOptions, _impl_.uninterpreted_option_), -1, 2,
5278 (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
5279 }}, {{
5280 {::_pbi::TcParser::GetTable<::google::protobuf::ExtensionRangeOptions_Declaration>()},
5281 {::_pbi::TcParser::GetTable<::google::protobuf::FeatureSet>()},
5282 {::_pbi::TcParser::GetTable<::google::protobuf::UninterpretedOption>()},
5283 {0, 2},
5284 }}, {{
5285 }},
5286 };
5287
5288 PROTOBUF_NOINLINE void ExtensionRangeOptions::Clear() {
5289 // @@protoc_insertion_point(message_clear_start:google.protobuf.ExtensionRangeOptions)
5290 ::google::protobuf::internal::TSanWrite(&_impl_);
5291 ::uint32_t cached_has_bits = 0;
5292 // Prevent compiler warnings about cached_has_bits being unused
5293 (void) cached_has_bits;
5294
5295 _impl_._extensions_.Clear();
5296 _impl_.declaration_.Clear();
5297 _impl_.uninterpreted_option_.Clear();
5298 cached_has_bits = _impl_._has_bits_[0];
5299 if (cached_has_bits & 0x00000003u) {
5300 if (cached_has_bits & 0x00000001u) {
5301 ABSL_DCHECK(_impl_.features_ != nullptr);
5302 _impl_.features_->Clear();
5303 }
5304 _impl_.verification_ = 1;
5305 }
5306 _impl_._has_bits_.Clear();
5307 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
5308 }
5309
5310 #if defined(PROTOBUF_CUSTOM_VTABLE)
5311 ::uint8_t* ExtensionRangeOptions::_InternalSerialize(
5312 const MessageLite& base, ::uint8_t* target,
5313 ::google::protobuf::io::EpsCopyOutputStream* stream) {
5314 const ExtensionRangeOptions& this_ = static_cast<const ExtensionRangeOptions&>(base);
5315 #else // PROTOBUF_CUSTOM_VTABLE
5316 ::uint8_t* ExtensionRangeOptions::_InternalSerialize(
5317 ::uint8_t* target,
5318 ::google::protobuf::io::EpsCopyOutputStream* stream) const {
5319 const ExtensionRangeOptions& this_ = *this;
5320 #endif // PROTOBUF_CUSTOM_VTABLE
5321 // @@protoc_insertion_point(serialize_to_array_start:google.protobuf.ExtensionRangeOptions)
5322 ::uint32_t cached_has_bits = 0;
5323 (void)cached_has_bits;
5324
5325 // repeated .google.protobuf.ExtensionRangeOptions.Declaration declaration = 2 [retention = RETENTION_SOURCE];
5326 for (unsigned i = 0, n = static_cast<unsigned>(
5327 this_._internal_declaration_size());
5328 i < n; i++) {
5329 const auto& repfield = this_._internal_declaration().Get(i);
5330 target =
5331 ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
5332 2, repfield, repfield.GetCachedSize(),
5333 target, stream);
5334 }
5335
5336 cached_has_bits = this_._impl_._has_bits_[0];
5337 // optional .google.protobuf.ExtensionRangeOptions.VerificationState verification = 3 [default = UNVERIFIED, retention = RETENTION_SOURCE];
5338 if (cached_has_bits & 0x00000002u) {
5339 target = stream->EnsureSpace(target);
5340 target = ::_pbi::WireFormatLite::WriteEnumToArray(
5341 3, this_._internal_verification(), target);
5342 }
5343
5344 // optional .google.protobuf.FeatureSet features = 50;
5345 if (cached_has_bits & 0x00000001u) {
5346 target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
5347 50, *this_._impl_.features_, this_._impl_.features_->GetCachedSize(), target,
5348 stream);
5349 }
5350
5351 // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
5352 for (unsigned i = 0, n = static_cast<unsigned>(
5353 this_._internal_uninterpreted_option_size());
5354 i < n; i++) {
5355 const auto& repfield = this_._internal_uninterpreted_option().Get(i);
5356 target =
5357 ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
5358 999, repfield, repfield.GetCachedSize(),
5359 target, stream);
5360 }
5361
5362 // Extension range [1000, 536870912)
5363 target = this_._impl_._extensions_._InternalSerialize(
5364 internal_default_instance(), 1000, 536870912, target, stream);
5365 if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
5366 target =
5367 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
5368 this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
5369 }
5370 // @@protoc_insertion_point(serialize_to_array_end:google.protobuf.ExtensionRangeOptions)
5371 return target;
5372 }
5373
5374 #if defined(PROTOBUF_CUSTOM_VTABLE)
5375 ::size_t ExtensionRangeOptions::ByteSizeLong(const MessageLite& base) {
5376 const ExtensionRangeOptions& this_ = static_cast<const ExtensionRangeOptions&>(base);
5377 #else // PROTOBUF_CUSTOM_VTABLE
5378 ::size_t ExtensionRangeOptions::ByteSizeLong() const {
5379 const ExtensionRangeOptions& this_ = *this;
5380 #endif // PROTOBUF_CUSTOM_VTABLE
5381 // @@protoc_insertion_point(message_byte_size_start:google.protobuf.ExtensionRangeOptions)
5382 ::size_t total_size = 0;
5383 total_size += this_._impl_._extensions_.ByteSize();
5384
5385 ::uint32_t cached_has_bits = 0;
5386 // Prevent compiler warnings about cached_has_bits being unused
5387 (void)cached_has_bits;
5388
5389 ::_pbi::Prefetch5LinesFrom7Lines(&this_);
5390 {
5391 // repeated .google.protobuf.ExtensionRangeOptions.Declaration declaration = 2 [retention = RETENTION_SOURCE];
5392 {
5393 total_size += 1UL * this_._internal_declaration_size();
5394 for (const auto& msg : this_._internal_declaration()) {
5395 total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
5396 }
5397 }
5398 // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
5399 {
5400 total_size += 2UL * this_._internal_uninterpreted_option_size();
5401 for (const auto& msg : this_._internal_uninterpreted_option()) {
5402 total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
5403 }
5404 }
5405 }
5406 cached_has_bits = this_._impl_._has_bits_[0];
5407 if (cached_has_bits & 0x00000003u) {
5408 // optional .google.protobuf.FeatureSet features = 50;
5409 if (cached_has_bits & 0x00000001u) {
5410 total_size += 2 +
5411 ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.features_);
5412 }
5413 // optional .google.protobuf.ExtensionRangeOptions.VerificationState verification = 3 [default = UNVERIFIED, retention = RETENTION_SOURCE];
5414 if (cached_has_bits & 0x00000002u) {
5415 total_size += 1 +
5416 ::_pbi::WireFormatLite::EnumSize(this_._internal_verification());
5417 }
5418 }
5419 return this_.MaybeComputeUnknownFieldsSize(total_size,
5420 &this_._impl_._cached_size_);
5421 }
5422
5423 void ExtensionRangeOptions::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
5424 auto* const _this = static_cast<ExtensionRangeOptions*>(&to_msg);
5425 auto& from = static_cast<const ExtensionRangeOptions&>(from_msg);
5426 ::google::protobuf::Arena* arena = _this->GetArena();
5427 // @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.ExtensionRangeOptions)
5428 ABSL_DCHECK_NE(&from, _this);
5429 ::uint32_t cached_has_bits = 0;
5430 (void) cached_has_bits;
5431
5432 _this->_internal_mutable_declaration()->MergeFrom(
5433 from._internal_declaration());
5434 _this->_internal_mutable_uninterpreted_option()->MergeFrom(
5435 from._internal_uninterpreted_option());
5436 cached_has_bits = from._impl_._has_bits_[0];
5437 if (cached_has_bits & 0x00000003u) {
5438 if (cached_has_bits & 0x00000001u) {
5439 ABSL_DCHECK(from._impl_.features_ != nullptr);
5440 if (_this->_impl_.features_ == nullptr) {
5441 _this->_impl_.features_ =
5442 ::google::protobuf::Message::CopyConstruct<::google::protobuf::FeatureSet>(arena, *from._impl_.features_);
5443 } else {
5444 _this->_impl_.features_->MergeFrom(*from._impl_.features_);
5445 }
5446 }
5447 if (cached_has_bits & 0x00000002u) {
5448 _this->_impl_.verification_ = from._impl_.verification_;
5449 }
5450 }
5451 _this->_impl_._has_bits_[0] |= cached_has_bits;
5452 _this->_impl_._extensions_.MergeFrom(internal_default_instance(), from._impl_._extensions_);
5453 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
5454 }
5455
5456 void ExtensionRangeOptions::CopyFrom(const ExtensionRangeOptions& from) {
5457 // @@protoc_insertion_point(class_specific_copy_from_start:google.protobuf.ExtensionRangeOptions)
5458 if (&from == this) return;
5459 Clear();
5460 MergeFrom(from);
5461 }
5462
5463 PROTOBUF_NOINLINE bool ExtensionRangeOptions::IsInitializedImpl(
5464 const MessageLite& msg) {
5465 auto& this_ = static_cast<const ExtensionRangeOptions&>(msg);
5466 if (!this_._impl_._extensions_.IsInitialized(
5467 internal_default_instance())) {
5468 return false;
5469 }
5470 if (!::google::protobuf::internal::AllAreInitialized(this_._internal_uninterpreted_option()))
5471 return false;
5472 if ((this_._impl_._has_bits_[0] & 0x00000001u) != 0) {
5473 if (!this_._impl_.features_->IsInitialized()) return false;
5474 }
5475 return true;
5476 }
5477
5478 void ExtensionRangeOptions::InternalSwap(ExtensionRangeOptions* PROTOBUF_RESTRICT other) {
5479 using std::swap;
5480 _impl_._extensions_.InternalSwap(&other->_impl_._extensions_);
5481 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
5482 swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
5483 _impl_.declaration_.InternalSwap(&other->_impl_.declaration_);
5484 _impl_.uninterpreted_option_.InternalSwap(&other->_impl_.uninterpreted_option_);
5485 ::google::protobuf::internal::memswap<
5486 PROTOBUF_FIELD_OFFSET(ExtensionRangeOptions, _impl_.verification_)
5487 + sizeof(ExtensionRangeOptions::_impl_.verification_)
5488 - PROTOBUF_FIELD_OFFSET(ExtensionRangeOptions, _impl_.features_)>(
5489 reinterpret_cast<char*>(&_impl_.features_),
5490 reinterpret_cast<char*>(&other->_impl_.features_));
5491 }
5492
5493 ::google::protobuf::Metadata ExtensionRangeOptions::GetMetadata() const {
5494 return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
5495 }
5496 // ===================================================================
5497
5498 class FieldDescriptorProto::_Internal {
5499 public:
5500 using HasBits =
5501 decltype(std::declval<FieldDescriptorProto>()._impl_._has_bits_);
5502 static constexpr ::int32_t kHasBitsOffset =
5503 8 * PROTOBUF_FIELD_OFFSET(FieldDescriptorProto, _impl_._has_bits_);
5504 };
5505
5506 FieldDescriptorProto::FieldDescriptorProto(::google::protobuf::Arena* arena)
5507 #if defined(PROTOBUF_CUSTOM_VTABLE)
5508 : ::google::protobuf::Message(arena, _class_data_.base()) {
5509 #else // PROTOBUF_CUSTOM_VTABLE
5510 : ::google::protobuf::Message(arena) {
5511 #endif // PROTOBUF_CUSTOM_VTABLE
5512 SharedCtor(arena);
5513 // @@protoc_insertion_point(arena_constructor:google.protobuf.FieldDescriptorProto)
5514 }
5515 inline PROTOBUF_NDEBUG_INLINE FieldDescriptorProto::Impl_::Impl_(
5516 ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena,
5517 const Impl_& from, const ::google::protobuf::FieldDescriptorProto& from_msg)
5518 : _has_bits_{from._has_bits_},
5519 _cached_size_{0},
5520 name_(arena, from.name_),
5521 extendee_(arena, from.extendee_),
5522 type_name_(arena, from.type_name_),
5523 default_value_(arena, from.default_value_),
5524 json_name_(arena, from.json_name_) {}
5525
5526 FieldDescriptorProto::FieldDescriptorProto(
5527 ::google::protobuf::Arena* arena,
5528 const FieldDescriptorProto& from)
5529 #if defined(PROTOBUF_CUSTOM_VTABLE)
5530 : ::google::protobuf::Message(arena, _class_data_.base()) {
5531 #else // PROTOBUF_CUSTOM_VTABLE
5532 : ::google::protobuf::Message(arena) {
5533 #endif // PROTOBUF_CUSTOM_VTABLE
5534 FieldDescriptorProto* const _this = this;
5535 (void)_this;
5536 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
5537 from._internal_metadata_);
5538 new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
5539 ::uint32_t cached_has_bits = _impl_._has_bits_[0];
5540 _impl_.options_ = (cached_has_bits & 0x00000020u) ? ::google::protobuf::Message::CopyConstruct<::google::protobuf::FieldOptions>(
5541 arena, *from._impl_.options_)
5542 : nullptr;
5543 ::memcpy(reinterpret_cast<char *>(&_impl_) +
5544 offsetof(Impl_, number_),
5545 reinterpret_cast<const char *>(&from._impl_) +
5546 offsetof(Impl_, number_),
5547 offsetof(Impl_, type_) -
5548 offsetof(Impl_, number_) +
5549 sizeof(Impl_::type_));
5550
5551 // @@protoc_insertion_point(copy_constructor:google.protobuf.FieldDescriptorProto)
5552 }
5553 inline PROTOBUF_NDEBUG_INLINE FieldDescriptorProto::Impl_::Impl_(
5554 ::google::protobuf::internal::InternalVisibility visibility,
5555 ::google::protobuf::Arena* arena)
5556 : _cached_size_{0},
5557 name_(arena),
5558 extendee_(arena),
5559 type_name_(arena),
5560 default_value_(arena),
5561 json_name_(arena),
5562 label_{static_cast< ::google::protobuf::FieldDescriptorProto_Label >(1)},
5563 type_{static_cast< ::google::protobuf::FieldDescriptorProto_Type >(1)} {}
5564
5565 inline void FieldDescriptorProto::SharedCtor(::_pb::Arena* arena) {
5566 new (&_impl_) Impl_(internal_visibility(), arena);
5567 ::memset(reinterpret_cast<char *>(&_impl_) +
5568 offsetof(Impl_, options_),
5569 0,
5570 offsetof(Impl_, proto3_optional_) -
5571 offsetof(Impl_, options_) +
5572 sizeof(Impl_::proto3_optional_));
5573 }
5574 FieldDescriptorProto::~FieldDescriptorProto() {
5575 // @@protoc_insertion_point(destructor:google.protobuf.FieldDescriptorProto)
5576 SharedDtor(*this);
5577 }
5578 inline void FieldDescriptorProto::SharedDtor(MessageLite& self) {
5579 FieldDescriptorProto& this_ = static_cast<FieldDescriptorProto&>(self);
5580 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
5581 ABSL_DCHECK(this_.GetArena() == nullptr);
5582 this_._impl_.name_.Destroy();
5583 this_._impl_.extendee_.Destroy();
5584 this_._impl_.type_name_.Destroy();
5585 this_._impl_.default_value_.Destroy();
5586 this_._impl_.json_name_.Destroy();
5587 delete this_._impl_.options_;
5588 this_._impl_.~Impl_();
5589 }
5590
5591 inline void* FieldDescriptorProto::PlacementNew_(const void*, void* mem,
5592 ::google::protobuf::Arena* arena) {
5593 return ::new (mem) FieldDescriptorProto(arena);
5594 }
5595 constexpr auto FieldDescriptorProto::InternalNewImpl_() {
5596 return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(FieldDescriptorProto),
5597 alignof(FieldDescriptorProto));
5598 }
5599 PROTOBUF_CONSTINIT
5600 PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
5601 const ::google::protobuf::internal::ClassDataFull FieldDescriptorProto::_class_data_ = {
5602 ::google::protobuf::internal::ClassData{
5603 &_FieldDescriptorProto_default_instance_._instance,
5604 &_table_.header,
5605 nullptr, // OnDemandRegisterArenaDtor
5606 FieldDescriptorProto::IsInitializedImpl,
5607 &FieldDescriptorProto::MergeImpl,
5608 ::google::protobuf::Message::GetNewImpl<FieldDescriptorProto>(),
5609 #if defined(PROTOBUF_CUSTOM_VTABLE)
5610 &FieldDescriptorProto::SharedDtor,
5611 ::google::protobuf::Message::GetClearImpl<FieldDescriptorProto>(), &FieldDescriptorProto::ByteSizeLong,
5612 &FieldDescriptorProto::_InternalSerialize,
5613 #endif // PROTOBUF_CUSTOM_VTABLE
5614 PROTOBUF_FIELD_OFFSET(FieldDescriptorProto, _impl_._cached_size_),
5615 false,
5616 },
5617 &FieldDescriptorProto::kDescriptorMethods,
5618 &descriptor_table_google_2fprotobuf_2fdescriptor_2eproto,
5619 nullptr, // tracker
5620 };
5621 const ::google::protobuf::internal::ClassData* FieldDescriptorProto::GetClassData() const {
5622 ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_);
5623 ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table);
5624 return _class_data_.base();
5625 }
5626 constexpr ::_pbi::TcParseTable<4, 11, 3, 96, 2> FieldDescriptorProto::_table_ = {
5627 {
5628 PROTOBUF_FIELD_OFFSET(FieldDescriptorProto, _impl_._has_bits_),
5629 0, // no _extensions_
5630 17, 120, // max_field_number, fast_idx_mask
5631 offsetof(decltype(_table_), field_lookup_table),
5632 4294900736, // skipmap
5633 offsetof(decltype(_table_), field_entries),
5634 11, // num_field_entries
5635 3, // num_aux_entries
5636 offsetof(decltype(_table_), aux_entries),
5637 _class_data_.base(),
5638 nullptr, // post_loop_handler
5639 ::_pbi::TcParser::GenericFallback, // fallback
5640 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
5641 ::_pbi::TcParser::GetTable<::google::protobuf::FieldDescriptorProto>(), // to_prefetch
5642 #endif // PROTOBUF_PREFETCH_PARSE_TABLE
5643 }, {{
5644 {::_pbi::TcParser::MiniParse, {}},
5645 // optional string name = 1;
5646 {::_pbi::TcParser::FastSS1,
5647 {10, 0, 0, PROTOBUF_FIELD_OFFSET(FieldDescriptorProto, _impl_.name_)}},
5648 // optional string extendee = 2;
5649 {::_pbi::TcParser::FastSS1,
5650 {18, 1, 0, PROTOBUF_FIELD_OFFSET(FieldDescriptorProto, _impl_.extendee_)}},
5651 // optional int32 number = 3;
5652 {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(FieldDescriptorProto, _impl_.number_), 6>(),
5653 {24, 6, 0, PROTOBUF_FIELD_OFFSET(FieldDescriptorProto, _impl_.number_)}},
5654 // optional .google.protobuf.FieldDescriptorProto.Label label = 4;
5655 {::_pbi::TcParser::FastEr1S1,
5656 {32, 9, 3, PROTOBUF_FIELD_OFFSET(FieldDescriptorProto, _impl_.label_)}},
5657 // optional .google.protobuf.FieldDescriptorProto.Type type = 5;
5658 {::_pbi::TcParser::FastEr1S1,
5659 {40, 10, 18, PROTOBUF_FIELD_OFFSET(FieldDescriptorProto, _impl_.type_)}},
5660 // optional string type_name = 6;
5661 {::_pbi::TcParser::FastSS1,
5662 {50, 2, 0, PROTOBUF_FIELD_OFFSET(FieldDescriptorProto, _impl_.type_name_)}},
5663 // optional string default_value = 7;
5664 {::_pbi::TcParser::FastSS1,
5665 {58, 3, 0, PROTOBUF_FIELD_OFFSET(FieldDescriptorProto, _impl_.default_value_)}},
5666 // optional .google.protobuf.FieldOptions options = 8;
5667 {::_pbi::TcParser::FastMtS1,
5668 {66, 5, 0, PROTOBUF_FIELD_OFFSET(FieldDescriptorProto, _impl_.options_)}},
5669 // optional int32 oneof_index = 9;
5670 {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(FieldDescriptorProto, _impl_.oneof_index_), 7>(),
5671 {72, 7, 0, PROTOBUF_FIELD_OFFSET(FieldDescriptorProto, _impl_.oneof_index_)}},
5672 // optional string json_name = 10;
5673 {::_pbi::TcParser::FastSS1,
5674 {82, 4, 0, PROTOBUF_FIELD_OFFSET(FieldDescriptorProto, _impl_.json_name_)}},
5675 {::_pbi::TcParser::MiniParse, {}},
5676 {::_pbi::TcParser::MiniParse, {}},
5677 {::_pbi::TcParser::MiniParse, {}},
5678 {::_pbi::TcParser::MiniParse, {}},
5679 {::_pbi::TcParser::MiniParse, {}},
5680 }}, {{
5681 65535, 65535
5682 }}, {{
5683 // optional string name = 1;
5684 {PROTOBUF_FIELD_OFFSET(FieldDescriptorProto, _impl_.name_), _Internal::kHasBitsOffset + 0, 0,
5685 (0 | ::_fl::kFcOptional | ::_fl::kRawString | ::_fl::kRepAString)},
5686 // optional string extendee = 2;
5687 {PROTOBUF_FIELD_OFFSET(FieldDescriptorProto, _impl_.extendee_), _Internal::kHasBitsOffset + 1, 0,
5688 (0 | ::_fl::kFcOptional | ::_fl::kRawString | ::_fl::kRepAString)},
5689 // optional int32 number = 3;
5690 {PROTOBUF_FIELD_OFFSET(FieldDescriptorProto, _impl_.number_), _Internal::kHasBitsOffset + 6, 0,
5691 (0 | ::_fl::kFcOptional | ::_fl::kInt32)},
5692 // optional .google.protobuf.FieldDescriptorProto.Label label = 4;
5693 {PROTOBUF_FIELD_OFFSET(FieldDescriptorProto, _impl_.label_), _Internal::kHasBitsOffset + 9, 1,
5694 (0 | ::_fl::kFcOptional | ::_fl::kEnumRange)},
5695 // optional .google.protobuf.FieldDescriptorProto.Type type = 5;
5696 {PROTOBUF_FIELD_OFFSET(FieldDescriptorProto, _impl_.type_), _Internal::kHasBitsOffset + 10, 2,
5697 (0 | ::_fl::kFcOptional | ::_fl::kEnumRange)},
5698 // optional string type_name = 6;
5699 {PROTOBUF_FIELD_OFFSET(FieldDescriptorProto, _impl_.type_name_), _Internal::kHasBitsOffset + 2, 0,
5700 (0 | ::_fl::kFcOptional | ::_fl::kRawString | ::_fl::kRepAString)},
5701 // optional string default_value = 7;
5702 {PROTOBUF_FIELD_OFFSET(FieldDescriptorProto, _impl_.default_value_), _Internal::kHasBitsOffset + 3, 0,
5703 (0 | ::_fl::kFcOptional | ::_fl::kRawString | ::_fl::kRepAString)},
5704 // optional .google.protobuf.FieldOptions options = 8;
5705 {PROTOBUF_FIELD_OFFSET(FieldDescriptorProto, _impl_.options_), _Internal::kHasBitsOffset + 5, 0,
5706 (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
5707 // optional int32 oneof_index = 9;
5708 {PROTOBUF_FIELD_OFFSET(FieldDescriptorProto, _impl_.oneof_index_), _Internal::kHasBitsOffset + 7, 0,
5709 (0 | ::_fl::kFcOptional | ::_fl::kInt32)},
5710 // optional string json_name = 10;
5711 {PROTOBUF_FIELD_OFFSET(FieldDescriptorProto, _impl_.json_name_), _Internal::kHasBitsOffset + 4, 0,
5712 (0 | ::_fl::kFcOptional | ::_fl::kRawString | ::_fl::kRepAString)},
5713 // optional bool proto3_optional = 17;
5714 {PROTOBUF_FIELD_OFFSET(FieldDescriptorProto, _impl_.proto3_optional_), _Internal::kHasBitsOffset + 8, 0,
5715 (0 | ::_fl::kFcOptional | ::_fl::kBool)},
5716 }}, {{
5717 {::_pbi::TcParser::GetTable<::google::protobuf::FieldOptions>()},
5718 {1, 3},
5719 {1, 18},
5720 }}, {{
5721 "\44\4\10\0\0\0\11\15\0\0\11\0\0\0\0\0"
5722 "google.protobuf.FieldDescriptorProto"
5723 "name"
5724 "extendee"
5725 "type_name"
5726 "default_value"
5727 "json_name"
5728 }},
5729 };
5730
5731 PROTOBUF_NOINLINE void FieldDescriptorProto::Clear() {
5732 // @@protoc_insertion_point(message_clear_start:google.protobuf.FieldDescriptorProto)
5733 ::google::protobuf::internal::TSanWrite(&_impl_);
5734 ::uint32_t cached_has_bits = 0;
5735 // Prevent compiler warnings about cached_has_bits being unused
5736 (void) cached_has_bits;
5737
5738 cached_has_bits = _impl_._has_bits_[0];
5739 if (cached_has_bits & 0x0000003fu) {
5740 if (cached_has_bits & 0x00000001u) {
5741 _impl_.name_.ClearNonDefaultToEmpty();
5742 }
5743 if (cached_has_bits & 0x00000002u) {
5744 _impl_.extendee_.ClearNonDefaultToEmpty();
5745 }
5746 if (cached_has_bits & 0x00000004u) {
5747 _impl_.type_name_.ClearNonDefaultToEmpty();
5748 }
5749 if (cached_has_bits & 0x00000008u) {
5750 _impl_.default_value_.ClearNonDefaultToEmpty();
5751 }
5752 if (cached_has_bits & 0x00000010u) {
5753 _impl_.json_name_.ClearNonDefaultToEmpty();
5754 }
5755 if (cached_has_bits & 0x00000020u) {
5756 ABSL_DCHECK(_impl_.options_ != nullptr);
5757 _impl_.options_->Clear();
5758 }
5759 }
5760 if (cached_has_bits & 0x000000c0u) {
5761 ::memset(&_impl_.number_, 0, static_cast<::size_t>(
5762 reinterpret_cast<char*>(&_impl_.oneof_index_) -
5763 reinterpret_cast<char*>(&_impl_.number_)) + sizeof(_impl_.oneof_index_));
5764 }
5765 if (cached_has_bits & 0x00000700u) {
5766 _impl_.proto3_optional_ = false;
5767 _impl_.label_ = 1;
5768 _impl_.type_ = 1;
5769 }
5770 _impl_._has_bits_.Clear();
5771 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
5772 }
5773
5774 #if defined(PROTOBUF_CUSTOM_VTABLE)
5775 ::uint8_t* FieldDescriptorProto::_InternalSerialize(
5776 const MessageLite& base, ::uint8_t* target,
5777 ::google::protobuf::io::EpsCopyOutputStream* stream) {
5778 const FieldDescriptorProto& this_ = static_cast<const FieldDescriptorProto&>(base);
5779 #else // PROTOBUF_CUSTOM_VTABLE
5780 ::uint8_t* FieldDescriptorProto::_InternalSerialize(
5781 ::uint8_t* target,
5782 ::google::protobuf::io::EpsCopyOutputStream* stream) const {
5783 const FieldDescriptorProto& this_ = *this;
5784 #endif // PROTOBUF_CUSTOM_VTABLE
5785 // @@protoc_insertion_point(serialize_to_array_start:google.protobuf.FieldDescriptorProto)
5786 ::uint32_t cached_has_bits = 0;
5787 (void)cached_has_bits;
5788
5789 cached_has_bits = this_._impl_._has_bits_[0];
5790 // optional string name = 1;
5791 if (cached_has_bits & 0x00000001u) {
5792 const std::string& _s = this_._internal_name();
5793 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(_s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormat::SERIALIZE,
5794 "google.protobuf.FieldDescriptorProto.name");
5795 target = stream->WriteStringMaybeAliased(1, _s, target);
5796 }
5797
5798 // optional string extendee = 2;
5799 if (cached_has_bits & 0x00000002u) {
5800 const std::string& _s = this_._internal_extendee();
5801 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(_s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormat::SERIALIZE,
5802 "google.protobuf.FieldDescriptorProto.extendee");
5803 target = stream->WriteStringMaybeAliased(2, _s, target);
5804 }
5805
5806 // optional int32 number = 3;
5807 if (cached_has_bits & 0x00000040u) {
5808 target = ::google::protobuf::internal::WireFormatLite::
5809 WriteInt32ToArrayWithField<3>(
5810 stream, this_._internal_number(), target);
5811 }
5812
5813 // optional .google.protobuf.FieldDescriptorProto.Label label = 4;
5814 if (cached_has_bits & 0x00000200u) {
5815 target = stream->EnsureSpace(target);
5816 target = ::_pbi::WireFormatLite::WriteEnumToArray(
5817 4, this_._internal_label(), target);
5818 }
5819
5820 // optional .google.protobuf.FieldDescriptorProto.Type type = 5;
5821 if (cached_has_bits & 0x00000400u) {
5822 target = stream->EnsureSpace(target);
5823 target = ::_pbi::WireFormatLite::WriteEnumToArray(
5824 5, this_._internal_type(), target);
5825 }
5826
5827 // optional string type_name = 6;
5828 if (cached_has_bits & 0x00000004u) {
5829 const std::string& _s = this_._internal_type_name();
5830 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(_s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormat::SERIALIZE,
5831 "google.protobuf.FieldDescriptorProto.type_name");
5832 target = stream->WriteStringMaybeAliased(6, _s, target);
5833 }
5834
5835 // optional string default_value = 7;
5836 if (cached_has_bits & 0x00000008u) {
5837 const std::string& _s = this_._internal_default_value();
5838 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(_s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormat::SERIALIZE,
5839 "google.protobuf.FieldDescriptorProto.default_value");
5840 target = stream->WriteStringMaybeAliased(7, _s, target);
5841 }
5842
5843 // optional .google.protobuf.FieldOptions options = 8;
5844 if (cached_has_bits & 0x00000020u) {
5845 target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
5846 8, *this_._impl_.options_, this_._impl_.options_->GetCachedSize(), target,
5847 stream);
5848 }
5849
5850 // optional int32 oneof_index = 9;
5851 if (cached_has_bits & 0x00000080u) {
5852 target = ::google::protobuf::internal::WireFormatLite::
5853 WriteInt32ToArrayWithField<9>(
5854 stream, this_._internal_oneof_index(), target);
5855 }
5856
5857 // optional string json_name = 10;
5858 if (cached_has_bits & 0x00000010u) {
5859 const std::string& _s = this_._internal_json_name();
5860 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(_s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormat::SERIALIZE,
5861 "google.protobuf.FieldDescriptorProto.json_name");
5862 target = stream->WriteStringMaybeAliased(10, _s, target);
5863 }
5864
5865 // optional bool proto3_optional = 17;
5866 if (cached_has_bits & 0x00000100u) {
5867 target = stream->EnsureSpace(target);
5868 target = ::_pbi::WireFormatLite::WriteBoolToArray(
5869 17, this_._internal_proto3_optional(), target);
5870 }
5871
5872 if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
5873 target =
5874 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
5875 this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
5876 }
5877 // @@protoc_insertion_point(serialize_to_array_end:google.protobuf.FieldDescriptorProto)
5878 return target;
5879 }
5880
5881 #if defined(PROTOBUF_CUSTOM_VTABLE)
5882 ::size_t FieldDescriptorProto::ByteSizeLong(const MessageLite& base) {
5883 const FieldDescriptorProto& this_ = static_cast<const FieldDescriptorProto&>(base);
5884 #else // PROTOBUF_CUSTOM_VTABLE
5885 ::size_t FieldDescriptorProto::ByteSizeLong() const {
5886 const FieldDescriptorProto& this_ = *this;
5887 #endif // PROTOBUF_CUSTOM_VTABLE
5888 // @@protoc_insertion_point(message_byte_size_start:google.protobuf.FieldDescriptorProto)
5889 ::size_t total_size = 0;
5890
5891 ::uint32_t cached_has_bits = 0;
5892 // Prevent compiler warnings about cached_has_bits being unused
5893 (void)cached_has_bits;
5894
5895 ::_pbi::Prefetch5LinesFrom7Lines(&this_);
5896 cached_has_bits = this_._impl_._has_bits_[0];
5897 if (cached_has_bits & 0x000000ffu) {
5898 // optional string name = 1;
5899 if (cached_has_bits & 0x00000001u) {
5900 total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
5901 this_._internal_name());
5902 }
5903 // optional string extendee = 2;
5904 if (cached_has_bits & 0x00000002u) {
5905 total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
5906 this_._internal_extendee());
5907 }
5908 // optional string type_name = 6;
5909 if (cached_has_bits & 0x00000004u) {
5910 total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
5911 this_._internal_type_name());
5912 }
5913 // optional string default_value = 7;
5914 if (cached_has_bits & 0x00000008u) {
5915 total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
5916 this_._internal_default_value());
5917 }
5918 // optional string json_name = 10;
5919 if (cached_has_bits & 0x00000010u) {
5920 total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
5921 this_._internal_json_name());
5922 }
5923 // optional .google.protobuf.FieldOptions options = 8;
5924 if (cached_has_bits & 0x00000020u) {
5925 total_size += 1 +
5926 ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.options_);
5927 }
5928 // optional int32 number = 3;
5929 if (cached_has_bits & 0x00000040u) {
5930 total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
5931 this_._internal_number());
5932 }
5933 // optional int32 oneof_index = 9;
5934 if (cached_has_bits & 0x00000080u) {
5935 total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
5936 this_._internal_oneof_index());
5937 }
5938 }
5939 if (cached_has_bits & 0x00000700u) {
5940 // optional bool proto3_optional = 17;
5941 if (cached_has_bits & 0x00000100u) {
5942 total_size += 3;
5943 }
5944 // optional .google.protobuf.FieldDescriptorProto.Label label = 4;
5945 if (cached_has_bits & 0x00000200u) {
5946 total_size += 1 +
5947 ::_pbi::WireFormatLite::EnumSize(this_._internal_label());
5948 }
5949 // optional .google.protobuf.FieldDescriptorProto.Type type = 5;
5950 if (cached_has_bits & 0x00000400u) {
5951 total_size += 1 +
5952 ::_pbi::WireFormatLite::EnumSize(this_._internal_type());
5953 }
5954 }
5955 return this_.MaybeComputeUnknownFieldsSize(total_size,
5956 &this_._impl_._cached_size_);
5957 }
5958
5959 void FieldDescriptorProto::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
5960 auto* const _this = static_cast<FieldDescriptorProto*>(&to_msg);
5961 auto& from = static_cast<const FieldDescriptorProto&>(from_msg);
5962 ::google::protobuf::Arena* arena = _this->GetArena();
5963 // @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.FieldDescriptorProto)
5964 ABSL_DCHECK_NE(&from, _this);
5965 ::uint32_t cached_has_bits = 0;
5966 (void) cached_has_bits;
5967
5968 cached_has_bits = from._impl_._has_bits_[0];
5969 if (cached_has_bits & 0x000000ffu) {
5970 if (cached_has_bits & 0x00000001u) {
5971 _this->_internal_set_name(from._internal_name());
5972 }
5973 if (cached_has_bits & 0x00000002u) {
5974 _this->_internal_set_extendee(from._internal_extendee());
5975 }
5976 if (cached_has_bits & 0x00000004u) {
5977 _this->_internal_set_type_name(from._internal_type_name());
5978 }
5979 if (cached_has_bits & 0x00000008u) {
5980 _this->_internal_set_default_value(from._internal_default_value());
5981 }
5982 if (cached_has_bits & 0x00000010u) {
5983 _this->_internal_set_json_name(from._internal_json_name());
5984 }
5985 if (cached_has_bits & 0x00000020u) {
5986 ABSL_DCHECK(from._impl_.options_ != nullptr);
5987 if (_this->_impl_.options_ == nullptr) {
5988 _this->_impl_.options_ =
5989 ::google::protobuf::Message::CopyConstruct<::google::protobuf::FieldOptions>(arena, *from._impl_.options_);
5990 } else {
5991 _this->_impl_.options_->MergeFrom(*from._impl_.options_);
5992 }
5993 }
5994 if (cached_has_bits & 0x00000040u) {
5995 _this->_impl_.number_ = from._impl_.number_;
5996 }
5997 if (cached_has_bits & 0x00000080u) {
5998 _this->_impl_.oneof_index_ = from._impl_.oneof_index_;
5999 }
6000 }
6001 if (cached_has_bits & 0x00000700u) {
6002 if (cached_has_bits & 0x00000100u) {
6003 _this->_impl_.proto3_optional_ = from._impl_.proto3_optional_;
6004 }
6005 if (cached_has_bits & 0x00000200u) {
6006 _this->_impl_.label_ = from._impl_.label_;
6007 }
6008 if (cached_has_bits & 0x00000400u) {
6009 _this->_impl_.type_ = from._impl_.type_;
6010 }
6011 }
6012 _this->_impl_._has_bits_[0] |= cached_has_bits;
6013 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
6014 }
6015
6016 void FieldDescriptorProto::CopyFrom(const FieldDescriptorProto& from) {
6017 // @@protoc_insertion_point(class_specific_copy_from_start:google.protobuf.FieldDescriptorProto)
6018 if (&from == this) return;
6019 Clear();
6020 MergeFrom(from);
6021 }
6022
6023 PROTOBUF_NOINLINE bool FieldDescriptorProto::IsInitializedImpl(
6024 const MessageLite& msg) {
6025 auto& this_ = static_cast<const FieldDescriptorProto&>(msg);
6026 if ((this_._impl_._has_bits_[0] & 0x00000020u) != 0) {
6027 if (!this_._impl_.options_->IsInitialized()) return false;
6028 }
6029 return true;
6030 }
6031
6032 void FieldDescriptorProto::InternalSwap(FieldDescriptorProto* PROTOBUF_RESTRICT other) {
6033 using std::swap;
6034 auto* arena = GetArena();
6035 ABSL_DCHECK_EQ(arena, other->GetArena());
6036 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
6037 swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
6038 ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.name_, &other->_impl_.name_, arena);
6039 ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.extendee_, &other->_impl_.extendee_, arena);
6040 ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.type_name_, &other->_impl_.type_name_, arena);
6041 ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.default_value_, &other->_impl_.default_value_, arena);
6042 ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.json_name_, &other->_impl_.json_name_, arena);
6043 ::google::protobuf::internal::memswap<
6044 PROTOBUF_FIELD_OFFSET(FieldDescriptorProto, _impl_.type_)
6045 + sizeof(FieldDescriptorProto::_impl_.type_)
6046 - PROTOBUF_FIELD_OFFSET(FieldDescriptorProto, _impl_.options_)>(
6047 reinterpret_cast<char*>(&_impl_.options_),
6048 reinterpret_cast<char*>(&other->_impl_.options_));
6049 }
6050
6051 ::google::protobuf::Metadata FieldDescriptorProto::GetMetadata() const {
6052 return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
6053 }
6054 // ===================================================================
6055
6056 class OneofDescriptorProto::_Internal {
6057 public:
6058 using HasBits =
6059 decltype(std::declval<OneofDescriptorProto>()._impl_._has_bits_);
6060 static constexpr ::int32_t kHasBitsOffset =
6061 8 * PROTOBUF_FIELD_OFFSET(OneofDescriptorProto, _impl_._has_bits_);
6062 };
6063
6064 OneofDescriptorProto::OneofDescriptorProto(::google::protobuf::Arena* arena)
6065 #if defined(PROTOBUF_CUSTOM_VTABLE)
6066 : ::google::protobuf::Message(arena, _class_data_.base()) {
6067 #else // PROTOBUF_CUSTOM_VTABLE
6068 : ::google::protobuf::Message(arena) {
6069 #endif // PROTOBUF_CUSTOM_VTABLE
6070 SharedCtor(arena);
6071 // @@protoc_insertion_point(arena_constructor:google.protobuf.OneofDescriptorProto)
6072 }
6073 inline PROTOBUF_NDEBUG_INLINE OneofDescriptorProto::Impl_::Impl_(
6074 ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena,
6075 const Impl_& from, const ::google::protobuf::OneofDescriptorProto& from_msg)
6076 : _has_bits_{from._has_bits_},
6077 _cached_size_{0},
6078 name_(arena, from.name_) {}
6079
6080 OneofDescriptorProto::OneofDescriptorProto(
6081 ::google::protobuf::Arena* arena,
6082 const OneofDescriptorProto& from)
6083 #if defined(PROTOBUF_CUSTOM_VTABLE)
6084 : ::google::protobuf::Message(arena, _class_data_.base()) {
6085 #else // PROTOBUF_CUSTOM_VTABLE
6086 : ::google::protobuf::Message(arena) {
6087 #endif // PROTOBUF_CUSTOM_VTABLE
6088 OneofDescriptorProto* const _this = this;
6089 (void)_this;
6090 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
6091 from._internal_metadata_);
6092 new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
6093 ::uint32_t cached_has_bits = _impl_._has_bits_[0];
6094 _impl_.options_ = (cached_has_bits & 0x00000002u) ? ::google::protobuf::Message::CopyConstruct<::google::protobuf::OneofOptions>(
6095 arena, *from._impl_.options_)
6096 : nullptr;
6097
6098 // @@protoc_insertion_point(copy_constructor:google.protobuf.OneofDescriptorProto)
6099 }
6100 inline PROTOBUF_NDEBUG_INLINE OneofDescriptorProto::Impl_::Impl_(
6101 ::google::protobuf::internal::InternalVisibility visibility,
6102 ::google::protobuf::Arena* arena)
6103 : _cached_size_{0},
6104 name_(arena) {}
6105
6106 inline void OneofDescriptorProto::SharedCtor(::_pb::Arena* arena) {
6107 new (&_impl_) Impl_(internal_visibility(), arena);
6108 _impl_.options_ = {};
6109 }
6110 OneofDescriptorProto::~OneofDescriptorProto() {
6111 // @@protoc_insertion_point(destructor:google.protobuf.OneofDescriptorProto)
6112 SharedDtor(*this);
6113 }
6114 inline void OneofDescriptorProto::SharedDtor(MessageLite& self) {
6115 OneofDescriptorProto& this_ = static_cast<OneofDescriptorProto&>(self);
6116 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
6117 ABSL_DCHECK(this_.GetArena() == nullptr);
6118 this_._impl_.name_.Destroy();
6119 delete this_._impl_.options_;
6120 this_._impl_.~Impl_();
6121 }
6122
6123 inline void* OneofDescriptorProto::PlacementNew_(const void*, void* mem,
6124 ::google::protobuf::Arena* arena) {
6125 return ::new (mem) OneofDescriptorProto(arena);
6126 }
6127 constexpr auto OneofDescriptorProto::InternalNewImpl_() {
6128 return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(OneofDescriptorProto),
6129 alignof(OneofDescriptorProto));
6130 }
6131 PROTOBUF_CONSTINIT
6132 PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
6133 const ::google::protobuf::internal::ClassDataFull OneofDescriptorProto::_class_data_ = {
6134 ::google::protobuf::internal::ClassData{
6135 &_OneofDescriptorProto_default_instance_._instance,
6136 &_table_.header,
6137 nullptr, // OnDemandRegisterArenaDtor
6138 OneofDescriptorProto::IsInitializedImpl,
6139 &OneofDescriptorProto::MergeImpl,
6140 ::google::protobuf::Message::GetNewImpl<OneofDescriptorProto>(),
6141 #if defined(PROTOBUF_CUSTOM_VTABLE)
6142 &OneofDescriptorProto::SharedDtor,
6143 ::google::protobuf::Message::GetClearImpl<OneofDescriptorProto>(), &OneofDescriptorProto::ByteSizeLong,
6144 &OneofDescriptorProto::_InternalSerialize,
6145 #endif // PROTOBUF_CUSTOM_VTABLE
6146 PROTOBUF_FIELD_OFFSET(OneofDescriptorProto, _impl_._cached_size_),
6147 false,
6148 },
6149 &OneofDescriptorProto::kDescriptorMethods,
6150 &descriptor_table_google_2fprotobuf_2fdescriptor_2eproto,
6151 nullptr, // tracker
6152 };
6153 const ::google::protobuf::internal::ClassData* OneofDescriptorProto::GetClassData() const {
6154 ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_);
6155 ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table);
6156 return _class_data_.base();
6157 }
6158 constexpr ::_pbi::TcParseTable<1, 2, 1, 49, 2> OneofDescriptorProto::_table_ = {
6159 {
6160 PROTOBUF_FIELD_OFFSET(OneofDescriptorProto, _impl_._has_bits_),
6161 0, // no _extensions_
6162 2, 8, // max_field_number, fast_idx_mask
6163 offsetof(decltype(_table_), field_lookup_table),
6164 4294967292, // skipmap
6165 offsetof(decltype(_table_), field_entries),
6166 2, // num_field_entries
6167 1, // num_aux_entries
6168 offsetof(decltype(_table_), aux_entries),
6169 _class_data_.base(),
6170 nullptr, // post_loop_handler
6171 ::_pbi::TcParser::GenericFallback, // fallback
6172 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
6173 ::_pbi::TcParser::GetTable<::google::protobuf::OneofDescriptorProto>(), // to_prefetch
6174 #endif // PROTOBUF_PREFETCH_PARSE_TABLE
6175 }, {{
6176 // optional .google.protobuf.OneofOptions options = 2;
6177 {::_pbi::TcParser::FastMtS1,
6178 {18, 1, 0, PROTOBUF_FIELD_OFFSET(OneofDescriptorProto, _impl_.options_)}},
6179 // optional string name = 1;
6180 {::_pbi::TcParser::FastSS1,
6181 {10, 0, 0, PROTOBUF_FIELD_OFFSET(OneofDescriptorProto, _impl_.name_)}},
6182 }}, {{
6183 65535, 65535
6184 }}, {{
6185 // optional string name = 1;
6186 {PROTOBUF_FIELD_OFFSET(OneofDescriptorProto, _impl_.name_), _Internal::kHasBitsOffset + 0, 0,
6187 (0 | ::_fl::kFcOptional | ::_fl::kRawString | ::_fl::kRepAString)},
6188 // optional .google.protobuf.OneofOptions options = 2;
6189 {PROTOBUF_FIELD_OFFSET(OneofDescriptorProto, _impl_.options_), _Internal::kHasBitsOffset + 1, 0,
6190 (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
6191 }}, {{
6192 {::_pbi::TcParser::GetTable<::google::protobuf::OneofOptions>()},
6193 }}, {{
6194 "\44\4\0\0\0\0\0\0"
6195 "google.protobuf.OneofDescriptorProto"
6196 "name"
6197 }},
6198 };
6199
6200 PROTOBUF_NOINLINE void OneofDescriptorProto::Clear() {
6201 // @@protoc_insertion_point(message_clear_start:google.protobuf.OneofDescriptorProto)
6202 ::google::protobuf::internal::TSanWrite(&_impl_);
6203 ::uint32_t cached_has_bits = 0;
6204 // Prevent compiler warnings about cached_has_bits being unused
6205 (void) cached_has_bits;
6206
6207 cached_has_bits = _impl_._has_bits_[0];
6208 if (cached_has_bits & 0x00000003u) {
6209 if (cached_has_bits & 0x00000001u) {
6210 _impl_.name_.ClearNonDefaultToEmpty();
6211 }
6212 if (cached_has_bits & 0x00000002u) {
6213 ABSL_DCHECK(_impl_.options_ != nullptr);
6214 _impl_.options_->Clear();
6215 }
6216 }
6217 _impl_._has_bits_.Clear();
6218 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
6219 }
6220
6221 #if defined(PROTOBUF_CUSTOM_VTABLE)
6222 ::uint8_t* OneofDescriptorProto::_InternalSerialize(
6223 const MessageLite& base, ::uint8_t* target,
6224 ::google::protobuf::io::EpsCopyOutputStream* stream) {
6225 const OneofDescriptorProto& this_ = static_cast<const OneofDescriptorProto&>(base);
6226 #else // PROTOBUF_CUSTOM_VTABLE
6227 ::uint8_t* OneofDescriptorProto::_InternalSerialize(
6228 ::uint8_t* target,
6229 ::google::protobuf::io::EpsCopyOutputStream* stream) const {
6230 const OneofDescriptorProto& this_ = *this;
6231 #endif // PROTOBUF_CUSTOM_VTABLE
6232 // @@protoc_insertion_point(serialize_to_array_start:google.protobuf.OneofDescriptorProto)
6233 ::uint32_t cached_has_bits = 0;
6234 (void)cached_has_bits;
6235
6236 cached_has_bits = this_._impl_._has_bits_[0];
6237 // optional string name = 1;
6238 if (cached_has_bits & 0x00000001u) {
6239 const std::string& _s = this_._internal_name();
6240 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(_s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormat::SERIALIZE,
6241 "google.protobuf.OneofDescriptorProto.name");
6242 target = stream->WriteStringMaybeAliased(1, _s, target);
6243 }
6244
6245 // optional .google.protobuf.OneofOptions options = 2;
6246 if (cached_has_bits & 0x00000002u) {
6247 target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
6248 2, *this_._impl_.options_, this_._impl_.options_->GetCachedSize(), target,
6249 stream);
6250 }
6251
6252 if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
6253 target =
6254 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
6255 this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
6256 }
6257 // @@protoc_insertion_point(serialize_to_array_end:google.protobuf.OneofDescriptorProto)
6258 return target;
6259 }
6260
6261 #if defined(PROTOBUF_CUSTOM_VTABLE)
6262 ::size_t OneofDescriptorProto::ByteSizeLong(const MessageLite& base) {
6263 const OneofDescriptorProto& this_ = static_cast<const OneofDescriptorProto&>(base);
6264 #else // PROTOBUF_CUSTOM_VTABLE
6265 ::size_t OneofDescriptorProto::ByteSizeLong() const {
6266 const OneofDescriptorProto& this_ = *this;
6267 #endif // PROTOBUF_CUSTOM_VTABLE
6268 // @@protoc_insertion_point(message_byte_size_start:google.protobuf.OneofDescriptorProto)
6269 ::size_t total_size = 0;
6270
6271 ::uint32_t cached_has_bits = 0;
6272 // Prevent compiler warnings about cached_has_bits being unused
6273 (void)cached_has_bits;
6274
6275 ::_pbi::Prefetch5LinesFrom7Lines(&this_);
6276 cached_has_bits = this_._impl_._has_bits_[0];
6277 if (cached_has_bits & 0x00000003u) {
6278 // optional string name = 1;
6279 if (cached_has_bits & 0x00000001u) {
6280 total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
6281 this_._internal_name());
6282 }
6283 // optional .google.protobuf.OneofOptions options = 2;
6284 if (cached_has_bits & 0x00000002u) {
6285 total_size += 1 +
6286 ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.options_);
6287 }
6288 }
6289 return this_.MaybeComputeUnknownFieldsSize(total_size,
6290 &this_._impl_._cached_size_);
6291 }
6292
6293 void OneofDescriptorProto::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
6294 auto* const _this = static_cast<OneofDescriptorProto*>(&to_msg);
6295 auto& from = static_cast<const OneofDescriptorProto&>(from_msg);
6296 ::google::protobuf::Arena* arena = _this->GetArena();
6297 // @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.OneofDescriptorProto)
6298 ABSL_DCHECK_NE(&from, _this);
6299 ::uint32_t cached_has_bits = 0;
6300 (void) cached_has_bits;
6301
6302 cached_has_bits = from._impl_._has_bits_[0];
6303 if (cached_has_bits & 0x00000003u) {
6304 if (cached_has_bits & 0x00000001u) {
6305 _this->_internal_set_name(from._internal_name());
6306 }
6307 if (cached_has_bits & 0x00000002u) {
6308 ABSL_DCHECK(from._impl_.options_ != nullptr);
6309 if (_this->_impl_.options_ == nullptr) {
6310 _this->_impl_.options_ =
6311 ::google::protobuf::Message::CopyConstruct<::google::protobuf::OneofOptions>(arena, *from._impl_.options_);
6312 } else {
6313 _this->_impl_.options_->MergeFrom(*from._impl_.options_);
6314 }
6315 }
6316 }
6317 _this->_impl_._has_bits_[0] |= cached_has_bits;
6318 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
6319 }
6320
6321 void OneofDescriptorProto::CopyFrom(const OneofDescriptorProto& from) {
6322 // @@protoc_insertion_point(class_specific_copy_from_start:google.protobuf.OneofDescriptorProto)
6323 if (&from == this) return;
6324 Clear();
6325 MergeFrom(from);
6326 }
6327
6328 PROTOBUF_NOINLINE bool OneofDescriptorProto::IsInitializedImpl(
6329 const MessageLite& msg) {
6330 auto& this_ = static_cast<const OneofDescriptorProto&>(msg);
6331 if ((this_._impl_._has_bits_[0] & 0x00000002u) != 0) {
6332 if (!this_._impl_.options_->IsInitialized()) return false;
6333 }
6334 return true;
6335 }
6336
6337 void OneofDescriptorProto::InternalSwap(OneofDescriptorProto* PROTOBUF_RESTRICT other) {
6338 using std::swap;
6339 auto* arena = GetArena();
6340 ABSL_DCHECK_EQ(arena, other->GetArena());
6341 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
6342 swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
6343 ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.name_, &other->_impl_.name_, arena);
6344 swap(_impl_.options_, other->_impl_.options_);
6345 }
6346
6347 ::google::protobuf::Metadata OneofDescriptorProto::GetMetadata() const {
6348 return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
6349 }
6350 // ===================================================================
6351
6352 class EnumDescriptorProto_EnumReservedRange::_Internal {
6353 public:
6354 using HasBits =
6355 decltype(std::declval<EnumDescriptorProto_EnumReservedRange>()._impl_._has_bits_);
6356 static constexpr ::int32_t kHasBitsOffset =
6357 8 * PROTOBUF_FIELD_OFFSET(EnumDescriptorProto_EnumReservedRange, _impl_._has_bits_);
6358 };
6359
6360 EnumDescriptorProto_EnumReservedRange::EnumDescriptorProto_EnumReservedRange(::google::protobuf::Arena* arena)
6361 #if defined(PROTOBUF_CUSTOM_VTABLE)
6362 : ::google::protobuf::Message(arena, _class_data_.base()) {
6363 #else // PROTOBUF_CUSTOM_VTABLE
6364 : ::google::protobuf::Message(arena) {
6365 #endif // PROTOBUF_CUSTOM_VTABLE
6366 SharedCtor(arena);
6367 // @@protoc_insertion_point(arena_constructor:google.protobuf.EnumDescriptorProto.EnumReservedRange)
6368 }
6369 EnumDescriptorProto_EnumReservedRange::EnumDescriptorProto_EnumReservedRange(
6370 ::google::protobuf::Arena* arena, const EnumDescriptorProto_EnumReservedRange& from)
6371 : EnumDescriptorProto_EnumReservedRange(arena) {
6372 MergeFrom(from);
6373 }
6374 inline PROTOBUF_NDEBUG_INLINE EnumDescriptorProto_EnumReservedRange::Impl_::Impl_(
6375 ::google::protobuf::internal::InternalVisibility visibility,
6376 ::google::protobuf::Arena* arena)
6377 : _cached_size_{0} {}
6378
6379 inline void EnumDescriptorProto_EnumReservedRange::SharedCtor(::_pb::Arena* arena) {
6380 new (&_impl_) Impl_(internal_visibility(), arena);
6381 ::memset(reinterpret_cast<char *>(&_impl_) +
6382 offsetof(Impl_, start_),
6383 0,
6384 offsetof(Impl_, end_) -
6385 offsetof(Impl_, start_) +
6386 sizeof(Impl_::end_));
6387 }
6388 EnumDescriptorProto_EnumReservedRange::~EnumDescriptorProto_EnumReservedRange() {
6389 // @@protoc_insertion_point(destructor:google.protobuf.EnumDescriptorProto.EnumReservedRange)
6390 SharedDtor(*this);
6391 }
6392 inline void EnumDescriptorProto_EnumReservedRange::SharedDtor(MessageLite& self) {
6393 EnumDescriptorProto_EnumReservedRange& this_ = static_cast<EnumDescriptorProto_EnumReservedRange&>(self);
6394 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
6395 ABSL_DCHECK(this_.GetArena() == nullptr);
6396 this_._impl_.~Impl_();
6397 }
6398
6399 inline void* EnumDescriptorProto_EnumReservedRange::PlacementNew_(const void*, void* mem,
6400 ::google::protobuf::Arena* arena) {
6401 return ::new (mem) EnumDescriptorProto_EnumReservedRange(arena);
6402 }
6403 constexpr auto EnumDescriptorProto_EnumReservedRange::InternalNewImpl_() {
6404 return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(EnumDescriptorProto_EnumReservedRange),
6405 alignof(EnumDescriptorProto_EnumReservedRange));
6406 }
6407 PROTOBUF_CONSTINIT
6408 PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
6409 const ::google::protobuf::internal::ClassDataFull EnumDescriptorProto_EnumReservedRange::_class_data_ = {
6410 ::google::protobuf::internal::ClassData{
6411 &_EnumDescriptorProto_EnumReservedRange_default_instance_._instance,
6412 &_table_.header,
6413 nullptr, // OnDemandRegisterArenaDtor
6414 nullptr, // IsInitialized
6415 &EnumDescriptorProto_EnumReservedRange::MergeImpl,
6416 ::google::protobuf::Message::GetNewImpl<EnumDescriptorProto_EnumReservedRange>(),
6417 #if defined(PROTOBUF_CUSTOM_VTABLE)
6418 &EnumDescriptorProto_EnumReservedRange::SharedDtor,
6419 ::google::protobuf::Message::GetClearImpl<EnumDescriptorProto_EnumReservedRange>(), &EnumDescriptorProto_EnumReservedRange::ByteSizeLong,
6420 &EnumDescriptorProto_EnumReservedRange::_InternalSerialize,
6421 #endif // PROTOBUF_CUSTOM_VTABLE
6422 PROTOBUF_FIELD_OFFSET(EnumDescriptorProto_EnumReservedRange, _impl_._cached_size_),
6423 false,
6424 },
6425 &EnumDescriptorProto_EnumReservedRange::kDescriptorMethods,
6426 &descriptor_table_google_2fprotobuf_2fdescriptor_2eproto,
6427 nullptr, // tracker
6428 };
6429 const ::google::protobuf::internal::ClassData* EnumDescriptorProto_EnumReservedRange::GetClassData() const {
6430 ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_);
6431 ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table);
6432 return _class_data_.base();
6433 }
6434 constexpr ::_pbi::TcParseTable<1, 2, 0, 0, 2> EnumDescriptorProto_EnumReservedRange::_table_ = {
6435 {
6436 PROTOBUF_FIELD_OFFSET(EnumDescriptorProto_EnumReservedRange, _impl_._has_bits_),
6437 0, // no _extensions_
6438 2, 8, // max_field_number, fast_idx_mask
6439 offsetof(decltype(_table_), field_lookup_table),
6440 4294967292, // skipmap
6441 offsetof(decltype(_table_), field_entries),
6442 2, // num_field_entries
6443 0, // num_aux_entries
6444 offsetof(decltype(_table_), field_names), // no aux_entries
6445 _class_data_.base(),
6446 nullptr, // post_loop_handler
6447 ::_pbi::TcParser::GenericFallback, // fallback
6448 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
6449 ::_pbi::TcParser::GetTable<::google::protobuf::EnumDescriptorProto_EnumReservedRange>(), // to_prefetch
6450 #endif // PROTOBUF_PREFETCH_PARSE_TABLE
6451 }, {{
6452 // optional int32 end = 2;
6453 {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(EnumDescriptorProto_EnumReservedRange, _impl_.end_), 1>(),
6454 {16, 1, 0, PROTOBUF_FIELD_OFFSET(EnumDescriptorProto_EnumReservedRange, _impl_.end_)}},
6455 // optional int32 start = 1;
6456 {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(EnumDescriptorProto_EnumReservedRange, _impl_.start_), 0>(),
6457 {8, 0, 0, PROTOBUF_FIELD_OFFSET(EnumDescriptorProto_EnumReservedRange, _impl_.start_)}},
6458 }}, {{
6459 65535, 65535
6460 }}, {{
6461 // optional int32 start = 1;
6462 {PROTOBUF_FIELD_OFFSET(EnumDescriptorProto_EnumReservedRange, _impl_.start_), _Internal::kHasBitsOffset + 0, 0,
6463 (0 | ::_fl::kFcOptional | ::_fl::kInt32)},
6464 // optional int32 end = 2;
6465 {PROTOBUF_FIELD_OFFSET(EnumDescriptorProto_EnumReservedRange, _impl_.end_), _Internal::kHasBitsOffset + 1, 0,
6466 (0 | ::_fl::kFcOptional | ::_fl::kInt32)},
6467 }},
6468 // no aux_entries
6469 {{
6470 }},
6471 };
6472
6473 PROTOBUF_NOINLINE void EnumDescriptorProto_EnumReservedRange::Clear() {
6474 // @@protoc_insertion_point(message_clear_start:google.protobuf.EnumDescriptorProto.EnumReservedRange)
6475 ::google::protobuf::internal::TSanWrite(&_impl_);
6476 ::uint32_t cached_has_bits = 0;
6477 // Prevent compiler warnings about cached_has_bits being unused
6478 (void) cached_has_bits;
6479
6480 cached_has_bits = _impl_._has_bits_[0];
6481 if (cached_has_bits & 0x00000003u) {
6482 ::memset(&_impl_.start_, 0, static_cast<::size_t>(
6483 reinterpret_cast<char*>(&_impl_.end_) -
6484 reinterpret_cast<char*>(&_impl_.start_)) + sizeof(_impl_.end_));
6485 }
6486 _impl_._has_bits_.Clear();
6487 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
6488 }
6489
6490 #if defined(PROTOBUF_CUSTOM_VTABLE)
6491 ::uint8_t* EnumDescriptorProto_EnumReservedRange::_InternalSerialize(
6492 const MessageLite& base, ::uint8_t* target,
6493 ::google::protobuf::io::EpsCopyOutputStream* stream) {
6494 const EnumDescriptorProto_EnumReservedRange& this_ = static_cast<const EnumDescriptorProto_EnumReservedRange&>(base);
6495 #else // PROTOBUF_CUSTOM_VTABLE
6496 ::uint8_t* EnumDescriptorProto_EnumReservedRange::_InternalSerialize(
6497 ::uint8_t* target,
6498 ::google::protobuf::io::EpsCopyOutputStream* stream) const {
6499 const EnumDescriptorProto_EnumReservedRange& this_ = *this;
6500 #endif // PROTOBUF_CUSTOM_VTABLE
6501 // @@protoc_insertion_point(serialize_to_array_start:google.protobuf.EnumDescriptorProto.EnumReservedRange)
6502 ::uint32_t cached_has_bits = 0;
6503 (void)cached_has_bits;
6504
6505 cached_has_bits = this_._impl_._has_bits_[0];
6506 // optional int32 start = 1;
6507 if (cached_has_bits & 0x00000001u) {
6508 target = ::google::protobuf::internal::WireFormatLite::
6509 WriteInt32ToArrayWithField<1>(
6510 stream, this_._internal_start(), target);
6511 }
6512
6513 // optional int32 end = 2;
6514 if (cached_has_bits & 0x00000002u) {
6515 target = ::google::protobuf::internal::WireFormatLite::
6516 WriteInt32ToArrayWithField<2>(
6517 stream, this_._internal_end(), target);
6518 }
6519
6520 if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
6521 target =
6522 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
6523 this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
6524 }
6525 // @@protoc_insertion_point(serialize_to_array_end:google.protobuf.EnumDescriptorProto.EnumReservedRange)
6526 return target;
6527 }
6528
6529 #if defined(PROTOBUF_CUSTOM_VTABLE)
6530 ::size_t EnumDescriptorProto_EnumReservedRange::ByteSizeLong(const MessageLite& base) {
6531 const EnumDescriptorProto_EnumReservedRange& this_ = static_cast<const EnumDescriptorProto_EnumReservedRange&>(base);
6532 #else // PROTOBUF_CUSTOM_VTABLE
6533 ::size_t EnumDescriptorProto_EnumReservedRange::ByteSizeLong() const {
6534 const EnumDescriptorProto_EnumReservedRange& this_ = *this;
6535 #endif // PROTOBUF_CUSTOM_VTABLE
6536 // @@protoc_insertion_point(message_byte_size_start:google.protobuf.EnumDescriptorProto.EnumReservedRange)
6537 ::size_t total_size = 0;
6538
6539 ::uint32_t cached_has_bits = 0;
6540 // Prevent compiler warnings about cached_has_bits being unused
6541 (void)cached_has_bits;
6542
6543 ::_pbi::Prefetch5LinesFrom7Lines(&this_);
6544 cached_has_bits = this_._impl_._has_bits_[0];
6545 if (cached_has_bits & 0x00000003u) {
6546 // optional int32 start = 1;
6547 if (cached_has_bits & 0x00000001u) {
6548 total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
6549 this_._internal_start());
6550 }
6551 // optional int32 end = 2;
6552 if (cached_has_bits & 0x00000002u) {
6553 total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
6554 this_._internal_end());
6555 }
6556 }
6557 return this_.MaybeComputeUnknownFieldsSize(total_size,
6558 &this_._impl_._cached_size_);
6559 }
6560
6561 void EnumDescriptorProto_EnumReservedRange::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
6562 auto* const _this = static_cast<EnumDescriptorProto_EnumReservedRange*>(&to_msg);
6563 auto& from = static_cast<const EnumDescriptorProto_EnumReservedRange&>(from_msg);
6564 // @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.EnumDescriptorProto.EnumReservedRange)
6565 ABSL_DCHECK_NE(&from, _this);
6566 ::uint32_t cached_has_bits = 0;
6567 (void) cached_has_bits;
6568
6569 cached_has_bits = from._impl_._has_bits_[0];
6570 if (cached_has_bits & 0x00000003u) {
6571 if (cached_has_bits & 0x00000001u) {
6572 _this->_impl_.start_ = from._impl_.start_;
6573 }
6574 if (cached_has_bits & 0x00000002u) {
6575 _this->_impl_.end_ = from._impl_.end_;
6576 }
6577 }
6578 _this->_impl_._has_bits_[0] |= cached_has_bits;
6579 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
6580 }
6581
6582 void EnumDescriptorProto_EnumReservedRange::CopyFrom(const EnumDescriptorProto_EnumReservedRange& from) {
6583 // @@protoc_insertion_point(class_specific_copy_from_start:google.protobuf.EnumDescriptorProto.EnumReservedRange)
6584 if (&from == this) return;
6585 Clear();
6586 MergeFrom(from);
6587 }
6588
6589
6590 void EnumDescriptorProto_EnumReservedRange::InternalSwap(EnumDescriptorProto_EnumReservedRange* PROTOBUF_RESTRICT other) {
6591 using std::swap;
6592 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
6593 swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
6594 ::google::protobuf::internal::memswap<
6595 PROTOBUF_FIELD_OFFSET(EnumDescriptorProto_EnumReservedRange, _impl_.end_)
6596 + sizeof(EnumDescriptorProto_EnumReservedRange::_impl_.end_)
6597 - PROTOBUF_FIELD_OFFSET(EnumDescriptorProto_EnumReservedRange, _impl_.start_)>(
6598 reinterpret_cast<char*>(&_impl_.start_),
6599 reinterpret_cast<char*>(&other->_impl_.start_));
6600 }
6601
6602 ::google::protobuf::Metadata EnumDescriptorProto_EnumReservedRange::GetMetadata() const {
6603 return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
6604 }
6605 // ===================================================================
6606
6607 class EnumDescriptorProto::_Internal {
6608 public:
6609 using HasBits =
6610 decltype(std::declval<EnumDescriptorProto>()._impl_._has_bits_);
6611 static constexpr ::int32_t kHasBitsOffset =
6612 8 * PROTOBUF_FIELD_OFFSET(EnumDescriptorProto, _impl_._has_bits_);
6613 };
6614
6615 EnumDescriptorProto::EnumDescriptorProto(::google::protobuf::Arena* arena)
6616 #if defined(PROTOBUF_CUSTOM_VTABLE)
6617 : ::google::protobuf::Message(arena, _class_data_.base()) {
6618 #else // PROTOBUF_CUSTOM_VTABLE
6619 : ::google::protobuf::Message(arena) {
6620 #endif // PROTOBUF_CUSTOM_VTABLE
6621 SharedCtor(arena);
6622 // @@protoc_insertion_point(arena_constructor:google.protobuf.EnumDescriptorProto)
6623 }
6624 inline PROTOBUF_NDEBUG_INLINE EnumDescriptorProto::Impl_::Impl_(
6625 ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena,
6626 const Impl_& from, const ::google::protobuf::EnumDescriptorProto& from_msg)
6627 : _has_bits_{from._has_bits_},
6628 _cached_size_{0},
6629 value_{visibility, arena, from.value_},
6630 reserved_range_{visibility, arena, from.reserved_range_},
6631 reserved_name_{visibility, arena, from.reserved_name_},
6632 name_(arena, from.name_) {}
6633
6634 EnumDescriptorProto::EnumDescriptorProto(
6635 ::google::protobuf::Arena* arena,
6636 const EnumDescriptorProto& from)
6637 #if defined(PROTOBUF_CUSTOM_VTABLE)
6638 : ::google::protobuf::Message(arena, _class_data_.base()) {
6639 #else // PROTOBUF_CUSTOM_VTABLE
6640 : ::google::protobuf::Message(arena) {
6641 #endif // PROTOBUF_CUSTOM_VTABLE
6642 EnumDescriptorProto* const _this = this;
6643 (void)_this;
6644 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
6645 from._internal_metadata_);
6646 new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
6647 ::uint32_t cached_has_bits = _impl_._has_bits_[0];
6648 _impl_.options_ = (cached_has_bits & 0x00000002u) ? ::google::protobuf::Message::CopyConstruct<::google::protobuf::EnumOptions>(
6649 arena, *from._impl_.options_)
6650 : nullptr;
6651
6652 // @@protoc_insertion_point(copy_constructor:google.protobuf.EnumDescriptorProto)
6653 }
6654 inline PROTOBUF_NDEBUG_INLINE EnumDescriptorProto::Impl_::Impl_(
6655 ::google::protobuf::internal::InternalVisibility visibility,
6656 ::google::protobuf::Arena* arena)
6657 : _cached_size_{0},
6658 value_{visibility, arena},
6659 reserved_range_{visibility, arena},
6660 reserved_name_{visibility, arena},
6661 name_(arena) {}
6662
6663 inline void EnumDescriptorProto::SharedCtor(::_pb::Arena* arena) {
6664 new (&_impl_) Impl_(internal_visibility(), arena);
6665 _impl_.options_ = {};
6666 }
6667 EnumDescriptorProto::~EnumDescriptorProto() {
6668 // @@protoc_insertion_point(destructor:google.protobuf.EnumDescriptorProto)
6669 SharedDtor(*this);
6670 }
6671 inline void EnumDescriptorProto::SharedDtor(MessageLite& self) {
6672 EnumDescriptorProto& this_ = static_cast<EnumDescriptorProto&>(self);
6673 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
6674 ABSL_DCHECK(this_.GetArena() == nullptr);
6675 this_._impl_.name_.Destroy();
6676 delete this_._impl_.options_;
6677 this_._impl_.~Impl_();
6678 }
6679
6680 inline void* EnumDescriptorProto::PlacementNew_(const void*, void* mem,
6681 ::google::protobuf::Arena* arena) {
6682 return ::new (mem) EnumDescriptorProto(arena);
6683 }
6684 constexpr auto EnumDescriptorProto::InternalNewImpl_() {
6685 constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({
6686 PROTOBUF_FIELD_OFFSET(EnumDescriptorProto, _impl_.value_) +
6687 decltype(EnumDescriptorProto::_impl_.value_)::
6688 InternalGetArenaOffset(
6689 ::google::protobuf::Message::internal_visibility()),
6690 PROTOBUF_FIELD_OFFSET(EnumDescriptorProto, _impl_.reserved_range_) +
6691 decltype(EnumDescriptorProto::_impl_.reserved_range_)::
6692 InternalGetArenaOffset(
6693 ::google::protobuf::Message::internal_visibility()),
6694 PROTOBUF_FIELD_OFFSET(EnumDescriptorProto, _impl_.reserved_name_) +
6695 decltype(EnumDescriptorProto::_impl_.reserved_name_)::
6696 InternalGetArenaOffset(
6697 ::google::protobuf::Message::internal_visibility()),
6698 });
6699 if (arena_bits.has_value()) {
6700 return ::google::protobuf::internal::MessageCreator::CopyInit(
6701 sizeof(EnumDescriptorProto), alignof(EnumDescriptorProto), *arena_bits);
6702 } else {
6703 return ::google::protobuf::internal::MessageCreator(&EnumDescriptorProto::PlacementNew_,
6704 sizeof(EnumDescriptorProto),
6705 alignof(EnumDescriptorProto));
6706 }
6707 }
6708 PROTOBUF_CONSTINIT
6709 PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
6710 const ::google::protobuf::internal::ClassDataFull EnumDescriptorProto::_class_data_ = {
6711 ::google::protobuf::internal::ClassData{
6712 &_EnumDescriptorProto_default_instance_._instance,
6713 &_table_.header,
6714 nullptr, // OnDemandRegisterArenaDtor
6715 EnumDescriptorProto::IsInitializedImpl,
6716 &EnumDescriptorProto::MergeImpl,
6717 ::google::protobuf::Message::GetNewImpl<EnumDescriptorProto>(),
6718 #if defined(PROTOBUF_CUSTOM_VTABLE)
6719 &EnumDescriptorProto::SharedDtor,
6720 ::google::protobuf::Message::GetClearImpl<EnumDescriptorProto>(), &EnumDescriptorProto::ByteSizeLong,
6721 &EnumDescriptorProto::_InternalSerialize,
6722 #endif // PROTOBUF_CUSTOM_VTABLE
6723 PROTOBUF_FIELD_OFFSET(EnumDescriptorProto, _impl_._cached_size_),
6724 false,
6725 },
6726 &EnumDescriptorProto::kDescriptorMethods,
6727 &descriptor_table_google_2fprotobuf_2fdescriptor_2eproto,
6728 nullptr, // tracker
6729 };
6730 const ::google::protobuf::internal::ClassData* EnumDescriptorProto::GetClassData() const {
6731 ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_);
6732 ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table);
6733 return _class_data_.base();
6734 }
6735 constexpr ::_pbi::TcParseTable<3, 5, 3, 61, 2> EnumDescriptorProto::_table_ = {
6736 {
6737 PROTOBUF_FIELD_OFFSET(EnumDescriptorProto, _impl_._has_bits_),
6738 0, // no _extensions_
6739 5, 56, // max_field_number, fast_idx_mask
6740 offsetof(decltype(_table_), field_lookup_table),
6741 4294967264, // skipmap
6742 offsetof(decltype(_table_), field_entries),
6743 5, // num_field_entries
6744 3, // num_aux_entries
6745 offsetof(decltype(_table_), aux_entries),
6746 _class_data_.base(),
6747 nullptr, // post_loop_handler
6748 ::_pbi::TcParser::GenericFallback, // fallback
6749 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
6750 ::_pbi::TcParser::GetTable<::google::protobuf::EnumDescriptorProto>(), // to_prefetch
6751 #endif // PROTOBUF_PREFETCH_PARSE_TABLE
6752 }, {{
6753 {::_pbi::TcParser::MiniParse, {}},
6754 // optional string name = 1;
6755 {::_pbi::TcParser::FastSS1,
6756 {10, 0, 0, PROTOBUF_FIELD_OFFSET(EnumDescriptorProto, _impl_.name_)}},
6757 // repeated .google.protobuf.EnumValueDescriptorProto value = 2;
6758 {::_pbi::TcParser::FastMtR1,
6759 {18, 63, 0, PROTOBUF_FIELD_OFFSET(EnumDescriptorProto, _impl_.value_)}},
6760 // optional .google.protobuf.EnumOptions options = 3;
6761 {::_pbi::TcParser::FastMtS1,
6762 {26, 1, 1, PROTOBUF_FIELD_OFFSET(EnumDescriptorProto, _impl_.options_)}},
6763 // repeated .google.protobuf.EnumDescriptorProto.EnumReservedRange reserved_range = 4;
6764 {::_pbi::TcParser::FastMtR1,
6765 {34, 63, 2, PROTOBUF_FIELD_OFFSET(EnumDescriptorProto, _impl_.reserved_range_)}},
6766 // repeated string reserved_name = 5;
6767 {::_pbi::TcParser::FastSR1,
6768 {42, 63, 0, PROTOBUF_FIELD_OFFSET(EnumDescriptorProto, _impl_.reserved_name_)}},
6769 {::_pbi::TcParser::MiniParse, {}},
6770 {::_pbi::TcParser::MiniParse, {}},
6771 }}, {{
6772 65535, 65535
6773 }}, {{
6774 // optional string name = 1;
6775 {PROTOBUF_FIELD_OFFSET(EnumDescriptorProto, _impl_.name_), _Internal::kHasBitsOffset + 0, 0,
6776 (0 | ::_fl::kFcOptional | ::_fl::kRawString | ::_fl::kRepAString)},
6777 // repeated .google.protobuf.EnumValueDescriptorProto value = 2;
6778 {PROTOBUF_FIELD_OFFSET(EnumDescriptorProto, _impl_.value_), -1, 0,
6779 (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
6780 // optional .google.protobuf.EnumOptions options = 3;
6781 {PROTOBUF_FIELD_OFFSET(EnumDescriptorProto, _impl_.options_), _Internal::kHasBitsOffset + 1, 1,
6782 (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
6783 // repeated .google.protobuf.EnumDescriptorProto.EnumReservedRange reserved_range = 4;
6784 {PROTOBUF_FIELD_OFFSET(EnumDescriptorProto, _impl_.reserved_range_), -1, 2,
6785 (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
6786 // repeated string reserved_name = 5;
6787 {PROTOBUF_FIELD_OFFSET(EnumDescriptorProto, _impl_.reserved_name_), -1, 0,
6788 (0 | ::_fl::kFcRepeated | ::_fl::kRawString | ::_fl::kRepSString)},
6789 }}, {{
6790 {::_pbi::TcParser::GetTable<::google::protobuf::EnumValueDescriptorProto>()},
6791 {::_pbi::TcParser::GetTable<::google::protobuf::EnumOptions>()},
6792 {::_pbi::TcParser::GetTable<::google::protobuf::EnumDescriptorProto_EnumReservedRange>()},
6793 }}, {{
6794 "\43\4\0\0\0\15\0\0"
6795 "google.protobuf.EnumDescriptorProto"
6796 "name"
6797 "reserved_name"
6798 }},
6799 };
6800
6801 PROTOBUF_NOINLINE void EnumDescriptorProto::Clear() {
6802 // @@protoc_insertion_point(message_clear_start:google.protobuf.EnumDescriptorProto)
6803 ::google::protobuf::internal::TSanWrite(&_impl_);
6804 ::uint32_t cached_has_bits = 0;
6805 // Prevent compiler warnings about cached_has_bits being unused
6806 (void) cached_has_bits;
6807
6808 _impl_.value_.Clear();
6809 _impl_.reserved_range_.Clear();
6810 _impl_.reserved_name_.Clear();
6811 cached_has_bits = _impl_._has_bits_[0];
6812 if (cached_has_bits & 0x00000003u) {
6813 if (cached_has_bits & 0x00000001u) {
6814 _impl_.name_.ClearNonDefaultToEmpty();
6815 }
6816 if (cached_has_bits & 0x00000002u) {
6817 ABSL_DCHECK(_impl_.options_ != nullptr);
6818 _impl_.options_->Clear();
6819 }
6820 }
6821 _impl_._has_bits_.Clear();
6822 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
6823 }
6824
6825 #if defined(PROTOBUF_CUSTOM_VTABLE)
6826 ::uint8_t* EnumDescriptorProto::_InternalSerialize(
6827 const MessageLite& base, ::uint8_t* target,
6828 ::google::protobuf::io::EpsCopyOutputStream* stream) {
6829 const EnumDescriptorProto& this_ = static_cast<const EnumDescriptorProto&>(base);
6830 #else // PROTOBUF_CUSTOM_VTABLE
6831 ::uint8_t* EnumDescriptorProto::_InternalSerialize(
6832 ::uint8_t* target,
6833 ::google::protobuf::io::EpsCopyOutputStream* stream) const {
6834 const EnumDescriptorProto& this_ = *this;
6835 #endif // PROTOBUF_CUSTOM_VTABLE
6836 // @@protoc_insertion_point(serialize_to_array_start:google.protobuf.EnumDescriptorProto)
6837 ::uint32_t cached_has_bits = 0;
6838 (void)cached_has_bits;
6839
6840 cached_has_bits = this_._impl_._has_bits_[0];
6841 // optional string name = 1;
6842 if (cached_has_bits & 0x00000001u) {
6843 const std::string& _s = this_._internal_name();
6844 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(_s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormat::SERIALIZE,
6845 "google.protobuf.EnumDescriptorProto.name");
6846 target = stream->WriteStringMaybeAliased(1, _s, target);
6847 }
6848
6849 // repeated .google.protobuf.EnumValueDescriptorProto value = 2;
6850 for (unsigned i = 0, n = static_cast<unsigned>(
6851 this_._internal_value_size());
6852 i < n; i++) {
6853 const auto& repfield = this_._internal_value().Get(i);
6854 target =
6855 ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
6856 2, repfield, repfield.GetCachedSize(),
6857 target, stream);
6858 }
6859
6860 // optional .google.protobuf.EnumOptions options = 3;
6861 if (cached_has_bits & 0x00000002u) {
6862 target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
6863 3, *this_._impl_.options_, this_._impl_.options_->GetCachedSize(), target,
6864 stream);
6865 }
6866
6867 // repeated .google.protobuf.EnumDescriptorProto.EnumReservedRange reserved_range = 4;
6868 for (unsigned i = 0, n = static_cast<unsigned>(
6869 this_._internal_reserved_range_size());
6870 i < n; i++) {
6871 const auto& repfield = this_._internal_reserved_range().Get(i);
6872 target =
6873 ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
6874 4, repfield, repfield.GetCachedSize(),
6875 target, stream);
6876 }
6877
6878 // repeated string reserved_name = 5;
6879 for (int i = 0, n = this_._internal_reserved_name_size(); i < n; ++i) {
6880 const auto& s = this_._internal_reserved_name().Get(i);
6881 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(s.data(), static_cast<int>(s.length()), ::google::protobuf::internal::WireFormat::SERIALIZE,
6882 "google.protobuf.EnumDescriptorProto.reserved_name");
6883 target = stream->WriteString(5, s, target);
6884 }
6885
6886 if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
6887 target =
6888 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
6889 this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
6890 }
6891 // @@protoc_insertion_point(serialize_to_array_end:google.protobuf.EnumDescriptorProto)
6892 return target;
6893 }
6894
6895 #if defined(PROTOBUF_CUSTOM_VTABLE)
6896 ::size_t EnumDescriptorProto::ByteSizeLong(const MessageLite& base) {
6897 const EnumDescriptorProto& this_ = static_cast<const EnumDescriptorProto&>(base);
6898 #else // PROTOBUF_CUSTOM_VTABLE
6899 ::size_t EnumDescriptorProto::ByteSizeLong() const {
6900 const EnumDescriptorProto& this_ = *this;
6901 #endif // PROTOBUF_CUSTOM_VTABLE
6902 // @@protoc_insertion_point(message_byte_size_start:google.protobuf.EnumDescriptorProto)
6903 ::size_t total_size = 0;
6904
6905 ::uint32_t cached_has_bits = 0;
6906 // Prevent compiler warnings about cached_has_bits being unused
6907 (void)cached_has_bits;
6908
6909 ::_pbi::Prefetch5LinesFrom7Lines(&this_);
6910 {
6911 // repeated .google.protobuf.EnumValueDescriptorProto value = 2;
6912 {
6913 total_size += 1UL * this_._internal_value_size();
6914 for (const auto& msg : this_._internal_value()) {
6915 total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
6916 }
6917 }
6918 // repeated .google.protobuf.EnumDescriptorProto.EnumReservedRange reserved_range = 4;
6919 {
6920 total_size += 1UL * this_._internal_reserved_range_size();
6921 for (const auto& msg : this_._internal_reserved_range()) {
6922 total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
6923 }
6924 }
6925 // repeated string reserved_name = 5;
6926 {
6927 total_size +=
6928 1 * ::google::protobuf::internal::FromIntSize(this_._internal_reserved_name().size());
6929 for (int i = 0, n = this_._internal_reserved_name().size(); i < n; ++i) {
6930 total_size += ::google::protobuf::internal::WireFormatLite::StringSize(
6931 this_._internal_reserved_name().Get(i));
6932 }
6933 }
6934 }
6935 cached_has_bits = this_._impl_._has_bits_[0];
6936 if (cached_has_bits & 0x00000003u) {
6937 // optional string name = 1;
6938 if (cached_has_bits & 0x00000001u) {
6939 total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
6940 this_._internal_name());
6941 }
6942 // optional .google.protobuf.EnumOptions options = 3;
6943 if (cached_has_bits & 0x00000002u) {
6944 total_size += 1 +
6945 ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.options_);
6946 }
6947 }
6948 return this_.MaybeComputeUnknownFieldsSize(total_size,
6949 &this_._impl_._cached_size_);
6950 }
6951
6952 void EnumDescriptorProto::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
6953 auto* const _this = static_cast<EnumDescriptorProto*>(&to_msg);
6954 auto& from = static_cast<const EnumDescriptorProto&>(from_msg);
6955 ::google::protobuf::Arena* arena = _this->GetArena();
6956 // @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.EnumDescriptorProto)
6957 ABSL_DCHECK_NE(&from, _this);
6958 ::uint32_t cached_has_bits = 0;
6959 (void) cached_has_bits;
6960
6961 _this->_internal_mutable_value()->MergeFrom(
6962 from._internal_value());
6963 _this->_internal_mutable_reserved_range()->MergeFrom(
6964 from._internal_reserved_range());
6965 _this->_internal_mutable_reserved_name()->MergeFrom(from._internal_reserved_name());
6966 cached_has_bits = from._impl_._has_bits_[0];
6967 if (cached_has_bits & 0x00000003u) {
6968 if (cached_has_bits & 0x00000001u) {
6969 _this->_internal_set_name(from._internal_name());
6970 }
6971 if (cached_has_bits & 0x00000002u) {
6972 ABSL_DCHECK(from._impl_.options_ != nullptr);
6973 if (_this->_impl_.options_ == nullptr) {
6974 _this->_impl_.options_ =
6975 ::google::protobuf::Message::CopyConstruct<::google::protobuf::EnumOptions>(arena, *from._impl_.options_);
6976 } else {
6977 _this->_impl_.options_->MergeFrom(*from._impl_.options_);
6978 }
6979 }
6980 }
6981 _this->_impl_._has_bits_[0] |= cached_has_bits;
6982 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
6983 }
6984
6985 void EnumDescriptorProto::CopyFrom(const EnumDescriptorProto& from) {
6986 // @@protoc_insertion_point(class_specific_copy_from_start:google.protobuf.EnumDescriptorProto)
6987 if (&from == this) return;
6988 Clear();
6989 MergeFrom(from);
6990 }
6991
6992 PROTOBUF_NOINLINE bool EnumDescriptorProto::IsInitializedImpl(
6993 const MessageLite& msg) {
6994 auto& this_ = static_cast<const EnumDescriptorProto&>(msg);
6995 if (!::google::protobuf::internal::AllAreInitialized(this_._internal_value()))
6996 return false;
6997 if ((this_._impl_._has_bits_[0] & 0x00000002u) != 0) {
6998 if (!this_._impl_.options_->IsInitialized()) return false;
6999 }
7000 return true;
7001 }
7002
7003 void EnumDescriptorProto::InternalSwap(EnumDescriptorProto* PROTOBUF_RESTRICT other) {
7004 using std::swap;
7005 auto* arena = GetArena();
7006 ABSL_DCHECK_EQ(arena, other->GetArena());
7007 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
7008 swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
7009 _impl_.value_.InternalSwap(&other->_impl_.value_);
7010 _impl_.reserved_range_.InternalSwap(&other->_impl_.reserved_range_);
7011 _impl_.reserved_name_.InternalSwap(&other->_impl_.reserved_name_);
7012 ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.name_, &other->_impl_.name_, arena);
7013 swap(_impl_.options_, other->_impl_.options_);
7014 }
7015
7016 ::google::protobuf::Metadata EnumDescriptorProto::GetMetadata() const {
7017 return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
7018 }
7019 // ===================================================================
7020
7021 class EnumValueDescriptorProto::_Internal {
7022 public:
7023 using HasBits =
7024 decltype(std::declval<EnumValueDescriptorProto>()._impl_._has_bits_);
7025 static constexpr ::int32_t kHasBitsOffset =
7026 8 * PROTOBUF_FIELD_OFFSET(EnumValueDescriptorProto, _impl_._has_bits_);
7027 };
7028
7029 EnumValueDescriptorProto::EnumValueDescriptorProto(::google::protobuf::Arena* arena)
7030 #if defined(PROTOBUF_CUSTOM_VTABLE)
7031 : ::google::protobuf::Message(arena, _class_data_.base()) {
7032 #else // PROTOBUF_CUSTOM_VTABLE
7033 : ::google::protobuf::Message(arena) {
7034 #endif // PROTOBUF_CUSTOM_VTABLE
7035 SharedCtor(arena);
7036 // @@protoc_insertion_point(arena_constructor:google.protobuf.EnumValueDescriptorProto)
7037 }
7038 inline PROTOBUF_NDEBUG_INLINE EnumValueDescriptorProto::Impl_::Impl_(
7039 ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena,
7040 const Impl_& from, const ::google::protobuf::EnumValueDescriptorProto& from_msg)
7041 : _has_bits_{from._has_bits_},
7042 _cached_size_{0},
7043 name_(arena, from.name_) {}
7044
7045 EnumValueDescriptorProto::EnumValueDescriptorProto(
7046 ::google::protobuf::Arena* arena,
7047 const EnumValueDescriptorProto& from)
7048 #if defined(PROTOBUF_CUSTOM_VTABLE)
7049 : ::google::protobuf::Message(arena, _class_data_.base()) {
7050 #else // PROTOBUF_CUSTOM_VTABLE
7051 : ::google::protobuf::Message(arena) {
7052 #endif // PROTOBUF_CUSTOM_VTABLE
7053 EnumValueDescriptorProto* const _this = this;
7054 (void)_this;
7055 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
7056 from._internal_metadata_);
7057 new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
7058 ::uint32_t cached_has_bits = _impl_._has_bits_[0];
7059 _impl_.options_ = (cached_has_bits & 0x00000002u) ? ::google::protobuf::Message::CopyConstruct<::google::protobuf::EnumValueOptions>(
7060 arena, *from._impl_.options_)
7061 : nullptr;
7062 _impl_.number_ = from._impl_.number_;
7063
7064 // @@protoc_insertion_point(copy_constructor:google.protobuf.EnumValueDescriptorProto)
7065 }
7066 inline PROTOBUF_NDEBUG_INLINE EnumValueDescriptorProto::Impl_::Impl_(
7067 ::google::protobuf::internal::InternalVisibility visibility,
7068 ::google::protobuf::Arena* arena)
7069 : _cached_size_{0},
7070 name_(arena) {}
7071
7072 inline void EnumValueDescriptorProto::SharedCtor(::_pb::Arena* arena) {
7073 new (&_impl_) Impl_(internal_visibility(), arena);
7074 ::memset(reinterpret_cast<char *>(&_impl_) +
7075 offsetof(Impl_, options_),
7076 0,
7077 offsetof(Impl_, number_) -
7078 offsetof(Impl_, options_) +
7079 sizeof(Impl_::number_));
7080 }
7081 EnumValueDescriptorProto::~EnumValueDescriptorProto() {
7082 // @@protoc_insertion_point(destructor:google.protobuf.EnumValueDescriptorProto)
7083 SharedDtor(*this);
7084 }
7085 inline void EnumValueDescriptorProto::SharedDtor(MessageLite& self) {
7086 EnumValueDescriptorProto& this_ = static_cast<EnumValueDescriptorProto&>(self);
7087 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
7088 ABSL_DCHECK(this_.GetArena() == nullptr);
7089 this_._impl_.name_.Destroy();
7090 delete this_._impl_.options_;
7091 this_._impl_.~Impl_();
7092 }
7093
7094 inline void* EnumValueDescriptorProto::PlacementNew_(const void*, void* mem,
7095 ::google::protobuf::Arena* arena) {
7096 return ::new (mem) EnumValueDescriptorProto(arena);
7097 }
7098 constexpr auto EnumValueDescriptorProto::InternalNewImpl_() {
7099 return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(EnumValueDescriptorProto),
7100 alignof(EnumValueDescriptorProto));
7101 }
7102 PROTOBUF_CONSTINIT
7103 PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
7104 const ::google::protobuf::internal::ClassDataFull EnumValueDescriptorProto::_class_data_ = {
7105 ::google::protobuf::internal::ClassData{
7106 &_EnumValueDescriptorProto_default_instance_._instance,
7107 &_table_.header,
7108 nullptr, // OnDemandRegisterArenaDtor
7109 EnumValueDescriptorProto::IsInitializedImpl,
7110 &EnumValueDescriptorProto::MergeImpl,
7111 ::google::protobuf::Message::GetNewImpl<EnumValueDescriptorProto>(),
7112 #if defined(PROTOBUF_CUSTOM_VTABLE)
7113 &EnumValueDescriptorProto::SharedDtor,
7114 ::google::protobuf::Message::GetClearImpl<EnumValueDescriptorProto>(), &EnumValueDescriptorProto::ByteSizeLong,
7115 &EnumValueDescriptorProto::_InternalSerialize,
7116 #endif // PROTOBUF_CUSTOM_VTABLE
7117 PROTOBUF_FIELD_OFFSET(EnumValueDescriptorProto, _impl_._cached_size_),
7118 false,
7119 },
7120 &EnumValueDescriptorProto::kDescriptorMethods,
7121 &descriptor_table_google_2fprotobuf_2fdescriptor_2eproto,
7122 nullptr, // tracker
7123 };
7124 const ::google::protobuf::internal::ClassData* EnumValueDescriptorProto::GetClassData() const {
7125 ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_);
7126 ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table);
7127 return _class_data_.base();
7128 }
7129 constexpr ::_pbi::TcParseTable<2, 3, 1, 53, 2> EnumValueDescriptorProto::_table_ = {
7130 {
7131 PROTOBUF_FIELD_OFFSET(EnumValueDescriptorProto, _impl_._has_bits_),
7132 0, // no _extensions_
7133 3, 24, // max_field_number, fast_idx_mask
7134 offsetof(decltype(_table_), field_lookup_table),
7135 4294967288, // skipmap
7136 offsetof(decltype(_table_), field_entries),
7137 3, // num_field_entries
7138 1, // num_aux_entries
7139 offsetof(decltype(_table_), aux_entries),
7140 _class_data_.base(),
7141 nullptr, // post_loop_handler
7142 ::_pbi::TcParser::GenericFallback, // fallback
7143 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
7144 ::_pbi::TcParser::GetTable<::google::protobuf::EnumValueDescriptorProto>(), // to_prefetch
7145 #endif // PROTOBUF_PREFETCH_PARSE_TABLE
7146 }, {{
7147 {::_pbi::TcParser::MiniParse, {}},
7148 // optional string name = 1;
7149 {::_pbi::TcParser::FastSS1,
7150 {10, 0, 0, PROTOBUF_FIELD_OFFSET(EnumValueDescriptorProto, _impl_.name_)}},
7151 // optional int32 number = 2;
7152 {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(EnumValueDescriptorProto, _impl_.number_), 2>(),
7153 {16, 2, 0, PROTOBUF_FIELD_OFFSET(EnumValueDescriptorProto, _impl_.number_)}},
7154 // optional .google.protobuf.EnumValueOptions options = 3;
7155 {::_pbi::TcParser::FastMtS1,
7156 {26, 1, 0, PROTOBUF_FIELD_OFFSET(EnumValueDescriptorProto, _impl_.options_)}},
7157 }}, {{
7158 65535, 65535
7159 }}, {{
7160 // optional string name = 1;
7161 {PROTOBUF_FIELD_OFFSET(EnumValueDescriptorProto, _impl_.name_), _Internal::kHasBitsOffset + 0, 0,
7162 (0 | ::_fl::kFcOptional | ::_fl::kRawString | ::_fl::kRepAString)},
7163 // optional int32 number = 2;
7164 {PROTOBUF_FIELD_OFFSET(EnumValueDescriptorProto, _impl_.number_), _Internal::kHasBitsOffset + 2, 0,
7165 (0 | ::_fl::kFcOptional | ::_fl::kInt32)},
7166 // optional .google.protobuf.EnumValueOptions options = 3;
7167 {PROTOBUF_FIELD_OFFSET(EnumValueDescriptorProto, _impl_.options_), _Internal::kHasBitsOffset + 1, 0,
7168 (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
7169 }}, {{
7170 {::_pbi::TcParser::GetTable<::google::protobuf::EnumValueOptions>()},
7171 }}, {{
7172 "\50\4\0\0\0\0\0\0"
7173 "google.protobuf.EnumValueDescriptorProto"
7174 "name"
7175 }},
7176 };
7177
7178 PROTOBUF_NOINLINE void EnumValueDescriptorProto::Clear() {
7179 // @@protoc_insertion_point(message_clear_start:google.protobuf.EnumValueDescriptorProto)
7180 ::google::protobuf::internal::TSanWrite(&_impl_);
7181 ::uint32_t cached_has_bits = 0;
7182 // Prevent compiler warnings about cached_has_bits being unused
7183 (void) cached_has_bits;
7184
7185 cached_has_bits = _impl_._has_bits_[0];
7186 if (cached_has_bits & 0x00000003u) {
7187 if (cached_has_bits & 0x00000001u) {
7188 _impl_.name_.ClearNonDefaultToEmpty();
7189 }
7190 if (cached_has_bits & 0x00000002u) {
7191 ABSL_DCHECK(_impl_.options_ != nullptr);
7192 _impl_.options_->Clear();
7193 }
7194 }
7195 _impl_.number_ = 0;
7196 _impl_._has_bits_.Clear();
7197 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
7198 }
7199
7200 #if defined(PROTOBUF_CUSTOM_VTABLE)
7201 ::uint8_t* EnumValueDescriptorProto::_InternalSerialize(
7202 const MessageLite& base, ::uint8_t* target,
7203 ::google::protobuf::io::EpsCopyOutputStream* stream) {
7204 const EnumValueDescriptorProto& this_ = static_cast<const EnumValueDescriptorProto&>(base);
7205 #else // PROTOBUF_CUSTOM_VTABLE
7206 ::uint8_t* EnumValueDescriptorProto::_InternalSerialize(
7207 ::uint8_t* target,
7208 ::google::protobuf::io::EpsCopyOutputStream* stream) const {
7209 const EnumValueDescriptorProto& this_ = *this;
7210 #endif // PROTOBUF_CUSTOM_VTABLE
7211 // @@protoc_insertion_point(serialize_to_array_start:google.protobuf.EnumValueDescriptorProto)
7212 ::uint32_t cached_has_bits = 0;
7213 (void)cached_has_bits;
7214
7215 cached_has_bits = this_._impl_._has_bits_[0];
7216 // optional string name = 1;
7217 if (cached_has_bits & 0x00000001u) {
7218 const std::string& _s = this_._internal_name();
7219 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(_s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormat::SERIALIZE,
7220 "google.protobuf.EnumValueDescriptorProto.name");
7221 target = stream->WriteStringMaybeAliased(1, _s, target);
7222 }
7223
7224 // optional int32 number = 2;
7225 if (cached_has_bits & 0x00000004u) {
7226 target = ::google::protobuf::internal::WireFormatLite::
7227 WriteInt32ToArrayWithField<2>(
7228 stream, this_._internal_number(), target);
7229 }
7230
7231 // optional .google.protobuf.EnumValueOptions options = 3;
7232 if (cached_has_bits & 0x00000002u) {
7233 target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
7234 3, *this_._impl_.options_, this_._impl_.options_->GetCachedSize(), target,
7235 stream);
7236 }
7237
7238 if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
7239 target =
7240 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
7241 this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
7242 }
7243 // @@protoc_insertion_point(serialize_to_array_end:google.protobuf.EnumValueDescriptorProto)
7244 return target;
7245 }
7246
7247 #if defined(PROTOBUF_CUSTOM_VTABLE)
7248 ::size_t EnumValueDescriptorProto::ByteSizeLong(const MessageLite& base) {
7249 const EnumValueDescriptorProto& this_ = static_cast<const EnumValueDescriptorProto&>(base);
7250 #else // PROTOBUF_CUSTOM_VTABLE
7251 ::size_t EnumValueDescriptorProto::ByteSizeLong() const {
7252 const EnumValueDescriptorProto& this_ = *this;
7253 #endif // PROTOBUF_CUSTOM_VTABLE
7254 // @@protoc_insertion_point(message_byte_size_start:google.protobuf.EnumValueDescriptorProto)
7255 ::size_t total_size = 0;
7256
7257 ::uint32_t cached_has_bits = 0;
7258 // Prevent compiler warnings about cached_has_bits being unused
7259 (void)cached_has_bits;
7260
7261 ::_pbi::Prefetch5LinesFrom7Lines(&this_);
7262 cached_has_bits = this_._impl_._has_bits_[0];
7263 if (cached_has_bits & 0x00000007u) {
7264 // optional string name = 1;
7265 if (cached_has_bits & 0x00000001u) {
7266 total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
7267 this_._internal_name());
7268 }
7269 // optional .google.protobuf.EnumValueOptions options = 3;
7270 if (cached_has_bits & 0x00000002u) {
7271 total_size += 1 +
7272 ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.options_);
7273 }
7274 // optional int32 number = 2;
7275 if (cached_has_bits & 0x00000004u) {
7276 total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
7277 this_._internal_number());
7278 }
7279 }
7280 return this_.MaybeComputeUnknownFieldsSize(total_size,
7281 &this_._impl_._cached_size_);
7282 }
7283
7284 void EnumValueDescriptorProto::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
7285 auto* const _this = static_cast<EnumValueDescriptorProto*>(&to_msg);
7286 auto& from = static_cast<const EnumValueDescriptorProto&>(from_msg);
7287 ::google::protobuf::Arena* arena = _this->GetArena();
7288 // @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.EnumValueDescriptorProto)
7289 ABSL_DCHECK_NE(&from, _this);
7290 ::uint32_t cached_has_bits = 0;
7291 (void) cached_has_bits;
7292
7293 cached_has_bits = from._impl_._has_bits_[0];
7294 if (cached_has_bits & 0x00000007u) {
7295 if (cached_has_bits & 0x00000001u) {
7296 _this->_internal_set_name(from._internal_name());
7297 }
7298 if (cached_has_bits & 0x00000002u) {
7299 ABSL_DCHECK(from._impl_.options_ != nullptr);
7300 if (_this->_impl_.options_ == nullptr) {
7301 _this->_impl_.options_ =
7302 ::google::protobuf::Message::CopyConstruct<::google::protobuf::EnumValueOptions>(arena, *from._impl_.options_);
7303 } else {
7304 _this->_impl_.options_->MergeFrom(*from._impl_.options_);
7305 }
7306 }
7307 if (cached_has_bits & 0x00000004u) {
7308 _this->_impl_.number_ = from._impl_.number_;
7309 }
7310 }
7311 _this->_impl_._has_bits_[0] |= cached_has_bits;
7312 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
7313 }
7314
7315 void EnumValueDescriptorProto::CopyFrom(const EnumValueDescriptorProto& from) {
7316 // @@protoc_insertion_point(class_specific_copy_from_start:google.protobuf.EnumValueDescriptorProto)
7317 if (&from == this) return;
7318 Clear();
7319 MergeFrom(from);
7320 }
7321
7322 PROTOBUF_NOINLINE bool EnumValueDescriptorProto::IsInitializedImpl(
7323 const MessageLite& msg) {
7324 auto& this_ = static_cast<const EnumValueDescriptorProto&>(msg);
7325 if ((this_._impl_._has_bits_[0] & 0x00000002u) != 0) {
7326 if (!this_._impl_.options_->IsInitialized()) return false;
7327 }
7328 return true;
7329 }
7330
7331 void EnumValueDescriptorProto::InternalSwap(EnumValueDescriptorProto* PROTOBUF_RESTRICT other) {
7332 using std::swap;
7333 auto* arena = GetArena();
7334 ABSL_DCHECK_EQ(arena, other->GetArena());
7335 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
7336 swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
7337 ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.name_, &other->_impl_.name_, arena);
7338 ::google::protobuf::internal::memswap<
7339 PROTOBUF_FIELD_OFFSET(EnumValueDescriptorProto, _impl_.number_)
7340 + sizeof(EnumValueDescriptorProto::_impl_.number_)
7341 - PROTOBUF_FIELD_OFFSET(EnumValueDescriptorProto, _impl_.options_)>(
7342 reinterpret_cast<char*>(&_impl_.options_),
7343 reinterpret_cast<char*>(&other->_impl_.options_));
7344 }
7345
7346 ::google::protobuf::Metadata EnumValueDescriptorProto::GetMetadata() const {
7347 return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
7348 }
7349 // ===================================================================
7350
7351 class ServiceDescriptorProto::_Internal {
7352 public:
7353 using HasBits =
7354 decltype(std::declval<ServiceDescriptorProto>()._impl_._has_bits_);
7355 static constexpr ::int32_t kHasBitsOffset =
7356 8 * PROTOBUF_FIELD_OFFSET(ServiceDescriptorProto, _impl_._has_bits_);
7357 };
7358
7359 ServiceDescriptorProto::ServiceDescriptorProto(::google::protobuf::Arena* arena)
7360 #if defined(PROTOBUF_CUSTOM_VTABLE)
7361 : ::google::protobuf::Message(arena, _class_data_.base()) {
7362 #else // PROTOBUF_CUSTOM_VTABLE
7363 : ::google::protobuf::Message(arena) {
7364 #endif // PROTOBUF_CUSTOM_VTABLE
7365 SharedCtor(arena);
7366 // @@protoc_insertion_point(arena_constructor:google.protobuf.ServiceDescriptorProto)
7367 }
7368 inline PROTOBUF_NDEBUG_INLINE ServiceDescriptorProto::Impl_::Impl_(
7369 ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena,
7370 const Impl_& from, const ::google::protobuf::ServiceDescriptorProto& from_msg)
7371 : _has_bits_{from._has_bits_},
7372 _cached_size_{0},
7373 method_{visibility, arena, from.method_},
7374 name_(arena, from.name_) {}
7375
7376 ServiceDescriptorProto::ServiceDescriptorProto(
7377 ::google::protobuf::Arena* arena,
7378 const ServiceDescriptorProto& from)
7379 #if defined(PROTOBUF_CUSTOM_VTABLE)
7380 : ::google::protobuf::Message(arena, _class_data_.base()) {
7381 #else // PROTOBUF_CUSTOM_VTABLE
7382 : ::google::protobuf::Message(arena) {
7383 #endif // PROTOBUF_CUSTOM_VTABLE
7384 ServiceDescriptorProto* const _this = this;
7385 (void)_this;
7386 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
7387 from._internal_metadata_);
7388 new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
7389 ::uint32_t cached_has_bits = _impl_._has_bits_[0];
7390 _impl_.options_ = (cached_has_bits & 0x00000002u) ? ::google::protobuf::Message::CopyConstruct<::google::protobuf::ServiceOptions>(
7391 arena, *from._impl_.options_)
7392 : nullptr;
7393
7394 // @@protoc_insertion_point(copy_constructor:google.protobuf.ServiceDescriptorProto)
7395 }
7396 inline PROTOBUF_NDEBUG_INLINE ServiceDescriptorProto::Impl_::Impl_(
7397 ::google::protobuf::internal::InternalVisibility visibility,
7398 ::google::protobuf::Arena* arena)
7399 : _cached_size_{0},
7400 method_{visibility, arena},
7401 name_(arena) {}
7402
7403 inline void ServiceDescriptorProto::SharedCtor(::_pb::Arena* arena) {
7404 new (&_impl_) Impl_(internal_visibility(), arena);
7405 _impl_.options_ = {};
7406 }
7407 ServiceDescriptorProto::~ServiceDescriptorProto() {
7408 // @@protoc_insertion_point(destructor:google.protobuf.ServiceDescriptorProto)
7409 SharedDtor(*this);
7410 }
7411 inline void ServiceDescriptorProto::SharedDtor(MessageLite& self) {
7412 ServiceDescriptorProto& this_ = static_cast<ServiceDescriptorProto&>(self);
7413 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
7414 ABSL_DCHECK(this_.GetArena() == nullptr);
7415 this_._impl_.name_.Destroy();
7416 delete this_._impl_.options_;
7417 this_._impl_.~Impl_();
7418 }
7419
7420 inline void* ServiceDescriptorProto::PlacementNew_(const void*, void* mem,
7421 ::google::protobuf::Arena* arena) {
7422 return ::new (mem) ServiceDescriptorProto(arena);
7423 }
7424 constexpr auto ServiceDescriptorProto::InternalNewImpl_() {
7425 constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({
7426 PROTOBUF_FIELD_OFFSET(ServiceDescriptorProto, _impl_.method_) +
7427 decltype(ServiceDescriptorProto::_impl_.method_)::
7428 InternalGetArenaOffset(
7429 ::google::protobuf::Message::internal_visibility()),
7430 });
7431 if (arena_bits.has_value()) {
7432 return ::google::protobuf::internal::MessageCreator::CopyInit(
7433 sizeof(ServiceDescriptorProto), alignof(ServiceDescriptorProto), *arena_bits);
7434 } else {
7435 return ::google::protobuf::internal::MessageCreator(&ServiceDescriptorProto::PlacementNew_,
7436 sizeof(ServiceDescriptorProto),
7437 alignof(ServiceDescriptorProto));
7438 }
7439 }
7440 PROTOBUF_CONSTINIT
7441 PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
7442 const ::google::protobuf::internal::ClassDataFull ServiceDescriptorProto::_class_data_ = {
7443 ::google::protobuf::internal::ClassData{
7444 &_ServiceDescriptorProto_default_instance_._instance,
7445 &_table_.header,
7446 nullptr, // OnDemandRegisterArenaDtor
7447 ServiceDescriptorProto::IsInitializedImpl,
7448 &ServiceDescriptorProto::MergeImpl,
7449 ::google::protobuf::Message::GetNewImpl<ServiceDescriptorProto>(),
7450 #if defined(PROTOBUF_CUSTOM_VTABLE)
7451 &ServiceDescriptorProto::SharedDtor,
7452 ::google::protobuf::Message::GetClearImpl<ServiceDescriptorProto>(), &ServiceDescriptorProto::ByteSizeLong,
7453 &ServiceDescriptorProto::_InternalSerialize,
7454 #endif // PROTOBUF_CUSTOM_VTABLE
7455 PROTOBUF_FIELD_OFFSET(ServiceDescriptorProto, _impl_._cached_size_),
7456 false,
7457 },
7458 &ServiceDescriptorProto::kDescriptorMethods,
7459 &descriptor_table_google_2fprotobuf_2fdescriptor_2eproto,
7460 nullptr, // tracker
7461 };
7462 const ::google::protobuf::internal::ClassData* ServiceDescriptorProto::GetClassData() const {
7463 ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_);
7464 ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table);
7465 return _class_data_.base();
7466 }
7467 constexpr ::_pbi::TcParseTable<2, 3, 2, 51, 2> ServiceDescriptorProto::_table_ = {
7468 {
7469 PROTOBUF_FIELD_OFFSET(ServiceDescriptorProto, _impl_._has_bits_),
7470 0, // no _extensions_
7471 3, 24, // max_field_number, fast_idx_mask
7472 offsetof(decltype(_table_), field_lookup_table),
7473 4294967288, // skipmap
7474 offsetof(decltype(_table_), field_entries),
7475 3, // num_field_entries
7476 2, // num_aux_entries
7477 offsetof(decltype(_table_), aux_entries),
7478 _class_data_.base(),
7479 nullptr, // post_loop_handler
7480 ::_pbi::TcParser::GenericFallback, // fallback
7481 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
7482 ::_pbi::TcParser::GetTable<::google::protobuf::ServiceDescriptorProto>(), // to_prefetch
7483 #endif // PROTOBUF_PREFETCH_PARSE_TABLE
7484 }, {{
7485 {::_pbi::TcParser::MiniParse, {}},
7486 // optional string name = 1;
7487 {::_pbi::TcParser::FastSS1,
7488 {10, 0, 0, PROTOBUF_FIELD_OFFSET(ServiceDescriptorProto, _impl_.name_)}},
7489 // repeated .google.protobuf.MethodDescriptorProto method = 2;
7490 {::_pbi::TcParser::FastMtR1,
7491 {18, 63, 0, PROTOBUF_FIELD_OFFSET(ServiceDescriptorProto, _impl_.method_)}},
7492 // optional .google.protobuf.ServiceOptions options = 3;
7493 {::_pbi::TcParser::FastMtS1,
7494 {26, 1, 1, PROTOBUF_FIELD_OFFSET(ServiceDescriptorProto, _impl_.options_)}},
7495 }}, {{
7496 65535, 65535
7497 }}, {{
7498 // optional string name = 1;
7499 {PROTOBUF_FIELD_OFFSET(ServiceDescriptorProto, _impl_.name_), _Internal::kHasBitsOffset + 0, 0,
7500 (0 | ::_fl::kFcOptional | ::_fl::kRawString | ::_fl::kRepAString)},
7501 // repeated .google.protobuf.MethodDescriptorProto method = 2;
7502 {PROTOBUF_FIELD_OFFSET(ServiceDescriptorProto, _impl_.method_), -1, 0,
7503 (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
7504 // optional .google.protobuf.ServiceOptions options = 3;
7505 {PROTOBUF_FIELD_OFFSET(ServiceDescriptorProto, _impl_.options_), _Internal::kHasBitsOffset + 1, 1,
7506 (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
7507 }}, {{
7508 {::_pbi::TcParser::GetTable<::google::protobuf::MethodDescriptorProto>()},
7509 {::_pbi::TcParser::GetTable<::google::protobuf::ServiceOptions>()},
7510 }}, {{
7511 "\46\4\0\0\0\0\0\0"
7512 "google.protobuf.ServiceDescriptorProto"
7513 "name"
7514 }},
7515 };
7516
7517 PROTOBUF_NOINLINE void ServiceDescriptorProto::Clear() {
7518 // @@protoc_insertion_point(message_clear_start:google.protobuf.ServiceDescriptorProto)
7519 ::google::protobuf::internal::TSanWrite(&_impl_);
7520 ::uint32_t cached_has_bits = 0;
7521 // Prevent compiler warnings about cached_has_bits being unused
7522 (void) cached_has_bits;
7523
7524 _impl_.method_.Clear();
7525 cached_has_bits = _impl_._has_bits_[0];
7526 if (cached_has_bits & 0x00000003u) {
7527 if (cached_has_bits & 0x00000001u) {
7528 _impl_.name_.ClearNonDefaultToEmpty();
7529 }
7530 if (cached_has_bits & 0x00000002u) {
7531 ABSL_DCHECK(_impl_.options_ != nullptr);
7532 _impl_.options_->Clear();
7533 }
7534 }
7535 _impl_._has_bits_.Clear();
7536 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
7537 }
7538
7539 #if defined(PROTOBUF_CUSTOM_VTABLE)
7540 ::uint8_t* ServiceDescriptorProto::_InternalSerialize(
7541 const MessageLite& base, ::uint8_t* target,
7542 ::google::protobuf::io::EpsCopyOutputStream* stream) {
7543 const ServiceDescriptorProto& this_ = static_cast<const ServiceDescriptorProto&>(base);
7544 #else // PROTOBUF_CUSTOM_VTABLE
7545 ::uint8_t* ServiceDescriptorProto::_InternalSerialize(
7546 ::uint8_t* target,
7547 ::google::protobuf::io::EpsCopyOutputStream* stream) const {
7548 const ServiceDescriptorProto& this_ = *this;
7549 #endif // PROTOBUF_CUSTOM_VTABLE
7550 // @@protoc_insertion_point(serialize_to_array_start:google.protobuf.ServiceDescriptorProto)
7551 ::uint32_t cached_has_bits = 0;
7552 (void)cached_has_bits;
7553
7554 cached_has_bits = this_._impl_._has_bits_[0];
7555 // optional string name = 1;
7556 if (cached_has_bits & 0x00000001u) {
7557 const std::string& _s = this_._internal_name();
7558 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(_s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormat::SERIALIZE,
7559 "google.protobuf.ServiceDescriptorProto.name");
7560 target = stream->WriteStringMaybeAliased(1, _s, target);
7561 }
7562
7563 // repeated .google.protobuf.MethodDescriptorProto method = 2;
7564 for (unsigned i = 0, n = static_cast<unsigned>(
7565 this_._internal_method_size());
7566 i < n; i++) {
7567 const auto& repfield = this_._internal_method().Get(i);
7568 target =
7569 ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
7570 2, repfield, repfield.GetCachedSize(),
7571 target, stream);
7572 }
7573
7574 // optional .google.protobuf.ServiceOptions options = 3;
7575 if (cached_has_bits & 0x00000002u) {
7576 target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
7577 3, *this_._impl_.options_, this_._impl_.options_->GetCachedSize(), target,
7578 stream);
7579 }
7580
7581 if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
7582 target =
7583 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
7584 this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
7585 }
7586 // @@protoc_insertion_point(serialize_to_array_end:google.protobuf.ServiceDescriptorProto)
7587 return target;
7588 }
7589
7590 #if defined(PROTOBUF_CUSTOM_VTABLE)
7591 ::size_t ServiceDescriptorProto::ByteSizeLong(const MessageLite& base) {
7592 const ServiceDescriptorProto& this_ = static_cast<const ServiceDescriptorProto&>(base);
7593 #else // PROTOBUF_CUSTOM_VTABLE
7594 ::size_t ServiceDescriptorProto::ByteSizeLong() const {
7595 const ServiceDescriptorProto& this_ = *this;
7596 #endif // PROTOBUF_CUSTOM_VTABLE
7597 // @@protoc_insertion_point(message_byte_size_start:google.protobuf.ServiceDescriptorProto)
7598 ::size_t total_size = 0;
7599
7600 ::uint32_t cached_has_bits = 0;
7601 // Prevent compiler warnings about cached_has_bits being unused
7602 (void)cached_has_bits;
7603
7604 ::_pbi::Prefetch5LinesFrom7Lines(&this_);
7605 {
7606 // repeated .google.protobuf.MethodDescriptorProto method = 2;
7607 {
7608 total_size += 1UL * this_._internal_method_size();
7609 for (const auto& msg : this_._internal_method()) {
7610 total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
7611 }
7612 }
7613 }
7614 cached_has_bits = this_._impl_._has_bits_[0];
7615 if (cached_has_bits & 0x00000003u) {
7616 // optional string name = 1;
7617 if (cached_has_bits & 0x00000001u) {
7618 total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
7619 this_._internal_name());
7620 }
7621 // optional .google.protobuf.ServiceOptions options = 3;
7622 if (cached_has_bits & 0x00000002u) {
7623 total_size += 1 +
7624 ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.options_);
7625 }
7626 }
7627 return this_.MaybeComputeUnknownFieldsSize(total_size,
7628 &this_._impl_._cached_size_);
7629 }
7630
7631 void ServiceDescriptorProto::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
7632 auto* const _this = static_cast<ServiceDescriptorProto*>(&to_msg);
7633 auto& from = static_cast<const ServiceDescriptorProto&>(from_msg);
7634 ::google::protobuf::Arena* arena = _this->GetArena();
7635 // @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.ServiceDescriptorProto)
7636 ABSL_DCHECK_NE(&from, _this);
7637 ::uint32_t cached_has_bits = 0;
7638 (void) cached_has_bits;
7639
7640 _this->_internal_mutable_method()->MergeFrom(
7641 from._internal_method());
7642 cached_has_bits = from._impl_._has_bits_[0];
7643 if (cached_has_bits & 0x00000003u) {
7644 if (cached_has_bits & 0x00000001u) {
7645 _this->_internal_set_name(from._internal_name());
7646 }
7647 if (cached_has_bits & 0x00000002u) {
7648 ABSL_DCHECK(from._impl_.options_ != nullptr);
7649 if (_this->_impl_.options_ == nullptr) {
7650 _this->_impl_.options_ =
7651 ::google::protobuf::Message::CopyConstruct<::google::protobuf::ServiceOptions>(arena, *from._impl_.options_);
7652 } else {
7653 _this->_impl_.options_->MergeFrom(*from._impl_.options_);
7654 }
7655 }
7656 }
7657 _this->_impl_._has_bits_[0] |= cached_has_bits;
7658 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
7659 }
7660
7661 void ServiceDescriptorProto::CopyFrom(const ServiceDescriptorProto& from) {
7662 // @@protoc_insertion_point(class_specific_copy_from_start:google.protobuf.ServiceDescriptorProto)
7663 if (&from == this) return;
7664 Clear();
7665 MergeFrom(from);
7666 }
7667
7668 PROTOBUF_NOINLINE bool ServiceDescriptorProto::IsInitializedImpl(
7669 const MessageLite& msg) {
7670 auto& this_ = static_cast<const ServiceDescriptorProto&>(msg);
7671 if (!::google::protobuf::internal::AllAreInitialized(this_._internal_method()))
7672 return false;
7673 if ((this_._impl_._has_bits_[0] & 0x00000002u) != 0) {
7674 if (!this_._impl_.options_->IsInitialized()) return false;
7675 }
7676 return true;
7677 }
7678
7679 void ServiceDescriptorProto::InternalSwap(ServiceDescriptorProto* PROTOBUF_RESTRICT other) {
7680 using std::swap;
7681 auto* arena = GetArena();
7682 ABSL_DCHECK_EQ(arena, other->GetArena());
7683 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
7684 swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
7685 _impl_.method_.InternalSwap(&other->_impl_.method_);
7686 ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.name_, &other->_impl_.name_, arena);
7687 swap(_impl_.options_, other->_impl_.options_);
7688 }
7689
7690 ::google::protobuf::Metadata ServiceDescriptorProto::GetMetadata() const {
7691 return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
7692 }
7693 // ===================================================================
7694
7695 class MethodDescriptorProto::_Internal {
7696 public:
7697 using HasBits =
7698 decltype(std::declval<MethodDescriptorProto>()._impl_._has_bits_);
7699 static constexpr ::int32_t kHasBitsOffset =
7700 8 * PROTOBUF_FIELD_OFFSET(MethodDescriptorProto, _impl_._has_bits_);
7701 };
7702
7703 MethodDescriptorProto::MethodDescriptorProto(::google::protobuf::Arena* arena)
7704 #if defined(PROTOBUF_CUSTOM_VTABLE)
7705 : ::google::protobuf::Message(arena, _class_data_.base()) {
7706 #else // PROTOBUF_CUSTOM_VTABLE
7707 : ::google::protobuf::Message(arena) {
7708 #endif // PROTOBUF_CUSTOM_VTABLE
7709 SharedCtor(arena);
7710 // @@protoc_insertion_point(arena_constructor:google.protobuf.MethodDescriptorProto)
7711 }
7712 inline PROTOBUF_NDEBUG_INLINE MethodDescriptorProto::Impl_::Impl_(
7713 ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena,
7714 const Impl_& from, const ::google::protobuf::MethodDescriptorProto& from_msg)
7715 : _has_bits_{from._has_bits_},
7716 _cached_size_{0},
7717 name_(arena, from.name_),
7718 input_type_(arena, from.input_type_),
7719 output_type_(arena, from.output_type_) {}
7720
7721 MethodDescriptorProto::MethodDescriptorProto(
7722 ::google::protobuf::Arena* arena,
7723 const MethodDescriptorProto& from)
7724 #if defined(PROTOBUF_CUSTOM_VTABLE)
7725 : ::google::protobuf::Message(arena, _class_data_.base()) {
7726 #else // PROTOBUF_CUSTOM_VTABLE
7727 : ::google::protobuf::Message(arena) {
7728 #endif // PROTOBUF_CUSTOM_VTABLE
7729 MethodDescriptorProto* const _this = this;
7730 (void)_this;
7731 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
7732 from._internal_metadata_);
7733 new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
7734 ::uint32_t cached_has_bits = _impl_._has_bits_[0];
7735 _impl_.options_ = (cached_has_bits & 0x00000008u) ? ::google::protobuf::Message::CopyConstruct<::google::protobuf::MethodOptions>(
7736 arena, *from._impl_.options_)
7737 : nullptr;
7738 ::memcpy(reinterpret_cast<char *>(&_impl_) +
7739 offsetof(Impl_, client_streaming_),
7740 reinterpret_cast<const char *>(&from._impl_) +
7741 offsetof(Impl_, client_streaming_),
7742 offsetof(Impl_, server_streaming_) -
7743 offsetof(Impl_, client_streaming_) +
7744 sizeof(Impl_::server_streaming_));
7745
7746 // @@protoc_insertion_point(copy_constructor:google.protobuf.MethodDescriptorProto)
7747 }
7748 inline PROTOBUF_NDEBUG_INLINE MethodDescriptorProto::Impl_::Impl_(
7749 ::google::protobuf::internal::InternalVisibility visibility,
7750 ::google::protobuf::Arena* arena)
7751 : _cached_size_{0},
7752 name_(arena),
7753 input_type_(arena),
7754 output_type_(arena) {}
7755
7756 inline void MethodDescriptorProto::SharedCtor(::_pb::Arena* arena) {
7757 new (&_impl_) Impl_(internal_visibility(), arena);
7758 ::memset(reinterpret_cast<char *>(&_impl_) +
7759 offsetof(Impl_, options_),
7760 0,
7761 offsetof(Impl_, server_streaming_) -
7762 offsetof(Impl_, options_) +
7763 sizeof(Impl_::server_streaming_));
7764 }
7765 MethodDescriptorProto::~MethodDescriptorProto() {
7766 // @@protoc_insertion_point(destructor:google.protobuf.MethodDescriptorProto)
7767 SharedDtor(*this);
7768 }
7769 inline void MethodDescriptorProto::SharedDtor(MessageLite& self) {
7770 MethodDescriptorProto& this_ = static_cast<MethodDescriptorProto&>(self);
7771 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
7772 ABSL_DCHECK(this_.GetArena() == nullptr);
7773 this_._impl_.name_.Destroy();
7774 this_._impl_.input_type_.Destroy();
7775 this_._impl_.output_type_.Destroy();
7776 delete this_._impl_.options_;
7777 this_._impl_.~Impl_();
7778 }
7779
7780 inline void* MethodDescriptorProto::PlacementNew_(const void*, void* mem,
7781 ::google::protobuf::Arena* arena) {
7782 return ::new (mem) MethodDescriptorProto(arena);
7783 }
7784 constexpr auto MethodDescriptorProto::InternalNewImpl_() {
7785 return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(MethodDescriptorProto),
7786 alignof(MethodDescriptorProto));
7787 }
7788 PROTOBUF_CONSTINIT
7789 PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
7790 const ::google::protobuf::internal::ClassDataFull MethodDescriptorProto::_class_data_ = {
7791 ::google::protobuf::internal::ClassData{
7792 &_MethodDescriptorProto_default_instance_._instance,
7793 &_table_.header,
7794 nullptr, // OnDemandRegisterArenaDtor
7795 MethodDescriptorProto::IsInitializedImpl,
7796 &MethodDescriptorProto::MergeImpl,
7797 ::google::protobuf::Message::GetNewImpl<MethodDescriptorProto>(),
7798 #if defined(PROTOBUF_CUSTOM_VTABLE)
7799 &MethodDescriptorProto::SharedDtor,
7800 ::google::protobuf::Message::GetClearImpl<MethodDescriptorProto>(), &MethodDescriptorProto::ByteSizeLong,
7801 &MethodDescriptorProto::_InternalSerialize,
7802 #endif // PROTOBUF_CUSTOM_VTABLE
7803 PROTOBUF_FIELD_OFFSET(MethodDescriptorProto, _impl_._cached_size_),
7804 false,
7805 },
7806 &MethodDescriptorProto::kDescriptorMethods,
7807 &descriptor_table_google_2fprotobuf_2fdescriptor_2eproto,
7808 nullptr, // tracker
7809 };
7810 const ::google::protobuf::internal::ClassData* MethodDescriptorProto::GetClassData() const {
7811 ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_);
7812 ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table);
7813 return _class_data_.base();
7814 }
7815 constexpr ::_pbi::TcParseTable<3, 6, 1, 71, 2> MethodDescriptorProto::_table_ = {
7816 {
7817 PROTOBUF_FIELD_OFFSET(MethodDescriptorProto, _impl_._has_bits_),
7818 0, // no _extensions_
7819 6, 56, // max_field_number, fast_idx_mask
7820 offsetof(decltype(_table_), field_lookup_table),
7821 4294967232, // skipmap
7822 offsetof(decltype(_table_), field_entries),
7823 6, // num_field_entries
7824 1, // num_aux_entries
7825 offsetof(decltype(_table_), aux_entries),
7826 _class_data_.base(),
7827 nullptr, // post_loop_handler
7828 ::_pbi::TcParser::GenericFallback, // fallback
7829 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
7830 ::_pbi::TcParser::GetTable<::google::protobuf::MethodDescriptorProto>(), // to_prefetch
7831 #endif // PROTOBUF_PREFETCH_PARSE_TABLE
7832 }, {{
7833 {::_pbi::TcParser::MiniParse, {}},
7834 // optional string name = 1;
7835 {::_pbi::TcParser::FastSS1,
7836 {10, 0, 0, PROTOBUF_FIELD_OFFSET(MethodDescriptorProto, _impl_.name_)}},
7837 // optional string input_type = 2;
7838 {::_pbi::TcParser::FastSS1,
7839 {18, 1, 0, PROTOBUF_FIELD_OFFSET(MethodDescriptorProto, _impl_.input_type_)}},
7840 // optional string output_type = 3;
7841 {::_pbi::TcParser::FastSS1,
7842 {26, 2, 0, PROTOBUF_FIELD_OFFSET(MethodDescriptorProto, _impl_.output_type_)}},
7843 // optional .google.protobuf.MethodOptions options = 4;
7844 {::_pbi::TcParser::FastMtS1,
7845 {34, 3, 0, PROTOBUF_FIELD_OFFSET(MethodDescriptorProto, _impl_.options_)}},
7846 // optional bool client_streaming = 5 [default = false];
7847 {::_pbi::TcParser::SingularVarintNoZag1<bool, offsetof(MethodDescriptorProto, _impl_.client_streaming_), 4>(),
7848 {40, 4, 0, PROTOBUF_FIELD_OFFSET(MethodDescriptorProto, _impl_.client_streaming_)}},
7849 // optional bool server_streaming = 6 [default = false];
7850 {::_pbi::TcParser::SingularVarintNoZag1<bool, offsetof(MethodDescriptorProto, _impl_.server_streaming_), 5>(),
7851 {48, 5, 0, PROTOBUF_FIELD_OFFSET(MethodDescriptorProto, _impl_.server_streaming_)}},
7852 {::_pbi::TcParser::MiniParse, {}},
7853 }}, {{
7854 65535, 65535
7855 }}, {{
7856 // optional string name = 1;
7857 {PROTOBUF_FIELD_OFFSET(MethodDescriptorProto, _impl_.name_), _Internal::kHasBitsOffset + 0, 0,
7858 (0 | ::_fl::kFcOptional | ::_fl::kRawString | ::_fl::kRepAString)},
7859 // optional string input_type = 2;
7860 {PROTOBUF_FIELD_OFFSET(MethodDescriptorProto, _impl_.input_type_), _Internal::kHasBitsOffset + 1, 0,
7861 (0 | ::_fl::kFcOptional | ::_fl::kRawString | ::_fl::kRepAString)},
7862 // optional string output_type = 3;
7863 {PROTOBUF_FIELD_OFFSET(MethodDescriptorProto, _impl_.output_type_), _Internal::kHasBitsOffset + 2, 0,
7864 (0 | ::_fl::kFcOptional | ::_fl::kRawString | ::_fl::kRepAString)},
7865 // optional .google.protobuf.MethodOptions options = 4;
7866 {PROTOBUF_FIELD_OFFSET(MethodDescriptorProto, _impl_.options_), _Internal::kHasBitsOffset + 3, 0,
7867 (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
7868 // optional bool client_streaming = 5 [default = false];
7869 {PROTOBUF_FIELD_OFFSET(MethodDescriptorProto, _impl_.client_streaming_), _Internal::kHasBitsOffset + 4, 0,
7870 (0 | ::_fl::kFcOptional | ::_fl::kBool)},
7871 // optional bool server_streaming = 6 [default = false];
7872 {PROTOBUF_FIELD_OFFSET(MethodDescriptorProto, _impl_.server_streaming_), _Internal::kHasBitsOffset + 5, 0,
7873 (0 | ::_fl::kFcOptional | ::_fl::kBool)},
7874 }}, {{
7875 {::_pbi::TcParser::GetTable<::google::protobuf::MethodOptions>()},
7876 }}, {{
7877 "\45\4\12\13\0\0\0\0"
7878 "google.protobuf.MethodDescriptorProto"
7879 "name"
7880 "input_type"
7881 "output_type"
7882 }},
7883 };
7884
7885 PROTOBUF_NOINLINE void MethodDescriptorProto::Clear() {
7886 // @@protoc_insertion_point(message_clear_start:google.protobuf.MethodDescriptorProto)
7887 ::google::protobuf::internal::TSanWrite(&_impl_);
7888 ::uint32_t cached_has_bits = 0;
7889 // Prevent compiler warnings about cached_has_bits being unused
7890 (void) cached_has_bits;
7891
7892 cached_has_bits = _impl_._has_bits_[0];
7893 if (cached_has_bits & 0x0000000fu) {
7894 if (cached_has_bits & 0x00000001u) {
7895 _impl_.name_.ClearNonDefaultToEmpty();
7896 }
7897 if (cached_has_bits & 0x00000002u) {
7898 _impl_.input_type_.ClearNonDefaultToEmpty();
7899 }
7900 if (cached_has_bits & 0x00000004u) {
7901 _impl_.output_type_.ClearNonDefaultToEmpty();
7902 }
7903 if (cached_has_bits & 0x00000008u) {
7904 ABSL_DCHECK(_impl_.options_ != nullptr);
7905 _impl_.options_->Clear();
7906 }
7907 }
7908 ::memset(&_impl_.client_streaming_, 0, static_cast<::size_t>(
7909 reinterpret_cast<char*>(&_impl_.server_streaming_) -
7910 reinterpret_cast<char*>(&_impl_.client_streaming_)) + sizeof(_impl_.server_streaming_));
7911 _impl_._has_bits_.Clear();
7912 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
7913 }
7914
7915 #if defined(PROTOBUF_CUSTOM_VTABLE)
7916 ::uint8_t* MethodDescriptorProto::_InternalSerialize(
7917 const MessageLite& base, ::uint8_t* target,
7918 ::google::protobuf::io::EpsCopyOutputStream* stream) {
7919 const MethodDescriptorProto& this_ = static_cast<const MethodDescriptorProto&>(base);
7920 #else // PROTOBUF_CUSTOM_VTABLE
7921 ::uint8_t* MethodDescriptorProto::_InternalSerialize(
7922 ::uint8_t* target,
7923 ::google::protobuf::io::EpsCopyOutputStream* stream) const {
7924 const MethodDescriptorProto& this_ = *this;
7925 #endif // PROTOBUF_CUSTOM_VTABLE
7926 // @@protoc_insertion_point(serialize_to_array_start:google.protobuf.MethodDescriptorProto)
7927 ::uint32_t cached_has_bits = 0;
7928 (void)cached_has_bits;
7929
7930 cached_has_bits = this_._impl_._has_bits_[0];
7931 // optional string name = 1;
7932 if (cached_has_bits & 0x00000001u) {
7933 const std::string& _s = this_._internal_name();
7934 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(_s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormat::SERIALIZE,
7935 "google.protobuf.MethodDescriptorProto.name");
7936 target = stream->WriteStringMaybeAliased(1, _s, target);
7937 }
7938
7939 // optional string input_type = 2;
7940 if (cached_has_bits & 0x00000002u) {
7941 const std::string& _s = this_._internal_input_type();
7942 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(_s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormat::SERIALIZE,
7943 "google.protobuf.MethodDescriptorProto.input_type");
7944 target = stream->WriteStringMaybeAliased(2, _s, target);
7945 }
7946
7947 // optional string output_type = 3;
7948 if (cached_has_bits & 0x00000004u) {
7949 const std::string& _s = this_._internal_output_type();
7950 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(_s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormat::SERIALIZE,
7951 "google.protobuf.MethodDescriptorProto.output_type");
7952 target = stream->WriteStringMaybeAliased(3, _s, target);
7953 }
7954
7955 // optional .google.protobuf.MethodOptions options = 4;
7956 if (cached_has_bits & 0x00000008u) {
7957 target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
7958 4, *this_._impl_.options_, this_._impl_.options_->GetCachedSize(), target,
7959 stream);
7960 }
7961
7962 // optional bool client_streaming = 5 [default = false];
7963 if (cached_has_bits & 0x00000010u) {
7964 target = stream->EnsureSpace(target);
7965 target = ::_pbi::WireFormatLite::WriteBoolToArray(
7966 5, this_._internal_client_streaming(), target);
7967 }
7968
7969 // optional bool server_streaming = 6 [default = false];
7970 if (cached_has_bits & 0x00000020u) {
7971 target = stream->EnsureSpace(target);
7972 target = ::_pbi::WireFormatLite::WriteBoolToArray(
7973 6, this_._internal_server_streaming(), target);
7974 }
7975
7976 if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
7977 target =
7978 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
7979 this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
7980 }
7981 // @@protoc_insertion_point(serialize_to_array_end:google.protobuf.MethodDescriptorProto)
7982 return target;
7983 }
7984
7985 #if defined(PROTOBUF_CUSTOM_VTABLE)
7986 ::size_t MethodDescriptorProto::ByteSizeLong(const MessageLite& base) {
7987 const MethodDescriptorProto& this_ = static_cast<const MethodDescriptorProto&>(base);
7988 #else // PROTOBUF_CUSTOM_VTABLE
7989 ::size_t MethodDescriptorProto::ByteSizeLong() const {
7990 const MethodDescriptorProto& this_ = *this;
7991 #endif // PROTOBUF_CUSTOM_VTABLE
7992 // @@protoc_insertion_point(message_byte_size_start:google.protobuf.MethodDescriptorProto)
7993 ::size_t total_size = 0;
7994
7995 ::uint32_t cached_has_bits = 0;
7996 // Prevent compiler warnings about cached_has_bits being unused
7997 (void)cached_has_bits;
7998
7999 ::_pbi::Prefetch5LinesFrom7Lines(&this_);
8000 cached_has_bits = this_._impl_._has_bits_[0];
8001 if (cached_has_bits & 0x0000003fu) {
8002 // optional string name = 1;
8003 if (cached_has_bits & 0x00000001u) {
8004 total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
8005 this_._internal_name());
8006 }
8007 // optional string input_type = 2;
8008 if (cached_has_bits & 0x00000002u) {
8009 total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
8010 this_._internal_input_type());
8011 }
8012 // optional string output_type = 3;
8013 if (cached_has_bits & 0x00000004u) {
8014 total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
8015 this_._internal_output_type());
8016 }
8017 // optional .google.protobuf.MethodOptions options = 4;
8018 if (cached_has_bits & 0x00000008u) {
8019 total_size += 1 +
8020 ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.options_);
8021 }
8022 // optional bool client_streaming = 5 [default = false];
8023 if (cached_has_bits & 0x00000010u) {
8024 total_size += 2;
8025 }
8026 // optional bool server_streaming = 6 [default = false];
8027 if (cached_has_bits & 0x00000020u) {
8028 total_size += 2;
8029 }
8030 }
8031 return this_.MaybeComputeUnknownFieldsSize(total_size,
8032 &this_._impl_._cached_size_);
8033 }
8034
8035 void MethodDescriptorProto::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
8036 auto* const _this = static_cast<MethodDescriptorProto*>(&to_msg);
8037 auto& from = static_cast<const MethodDescriptorProto&>(from_msg);
8038 ::google::protobuf::Arena* arena = _this->GetArena();
8039 // @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.MethodDescriptorProto)
8040 ABSL_DCHECK_NE(&from, _this);
8041 ::uint32_t cached_has_bits = 0;
8042 (void) cached_has_bits;
8043
8044 cached_has_bits = from._impl_._has_bits_[0];
8045 if (cached_has_bits & 0x0000003fu) {
8046 if (cached_has_bits & 0x00000001u) {
8047 _this->_internal_set_name(from._internal_name());
8048 }
8049 if (cached_has_bits & 0x00000002u) {
8050 _this->_internal_set_input_type(from._internal_input_type());
8051 }
8052 if (cached_has_bits & 0x00000004u) {
8053 _this->_internal_set_output_type(from._internal_output_type());
8054 }
8055 if (cached_has_bits & 0x00000008u) {
8056 ABSL_DCHECK(from._impl_.options_ != nullptr);
8057 if (_this->_impl_.options_ == nullptr) {
8058 _this->_impl_.options_ =
8059 ::google::protobuf::Message::CopyConstruct<::google::protobuf::MethodOptions>(arena, *from._impl_.options_);
8060 } else {
8061 _this->_impl_.options_->MergeFrom(*from._impl_.options_);
8062 }
8063 }
8064 if (cached_has_bits & 0x00000010u) {
8065 _this->_impl_.client_streaming_ = from._impl_.client_streaming_;
8066 }
8067 if (cached_has_bits & 0x00000020u) {
8068 _this->_impl_.server_streaming_ = from._impl_.server_streaming_;
8069 }
8070 }
8071 _this->_impl_._has_bits_[0] |= cached_has_bits;
8072 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
8073 }
8074
8075 void MethodDescriptorProto::CopyFrom(const MethodDescriptorProto& from) {
8076 // @@protoc_insertion_point(class_specific_copy_from_start:google.protobuf.MethodDescriptorProto)
8077 if (&from == this) return;
8078 Clear();
8079 MergeFrom(from);
8080 }
8081
8082 PROTOBUF_NOINLINE bool MethodDescriptorProto::IsInitializedImpl(
8083 const MessageLite& msg) {
8084 auto& this_ = static_cast<const MethodDescriptorProto&>(msg);
8085 if ((this_._impl_._has_bits_[0] & 0x00000008u) != 0) {
8086 if (!this_._impl_.options_->IsInitialized()) return false;
8087 }
8088 return true;
8089 }
8090
8091 void MethodDescriptorProto::InternalSwap(MethodDescriptorProto* PROTOBUF_RESTRICT other) {
8092 using std::swap;
8093 auto* arena = GetArena();
8094 ABSL_DCHECK_EQ(arena, other->GetArena());
8095 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
8096 swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
8097 ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.name_, &other->_impl_.name_, arena);
8098 ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.input_type_, &other->_impl_.input_type_, arena);
8099 ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.output_type_, &other->_impl_.output_type_, arena);
8100 ::google::protobuf::internal::memswap<
8101 PROTOBUF_FIELD_OFFSET(MethodDescriptorProto, _impl_.server_streaming_)
8102 + sizeof(MethodDescriptorProto::_impl_.server_streaming_)
8103 - PROTOBUF_FIELD_OFFSET(MethodDescriptorProto, _impl_.options_)>(
8104 reinterpret_cast<char*>(&_impl_.options_),
8105 reinterpret_cast<char*>(&other->_impl_.options_));
8106 }
8107
8108 ::google::protobuf::Metadata MethodDescriptorProto::GetMetadata() const {
8109 return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
8110 }
8111 // ===================================================================
8112
8113 class FileOptions::_Internal {
8114 public:
8115 using HasBits =
8116 decltype(std::declval<FileOptions>()._impl_._has_bits_);
8117 static constexpr ::int32_t kHasBitsOffset =
8118 8 * PROTOBUF_FIELD_OFFSET(FileOptions, _impl_._has_bits_);
8119 };
8120
8121 FileOptions::FileOptions(::google::protobuf::Arena* arena)
8122 #if defined(PROTOBUF_CUSTOM_VTABLE)
8123 : ::google::protobuf::Message(arena, _class_data_.base()) {
8124 #else // PROTOBUF_CUSTOM_VTABLE
8125 : ::google::protobuf::Message(arena) {
8126 #endif // PROTOBUF_CUSTOM_VTABLE
8127 SharedCtor(arena);
8128 // @@protoc_insertion_point(arena_constructor:google.protobuf.FileOptions)
8129 }
8130 inline PROTOBUF_NDEBUG_INLINE FileOptions::Impl_::Impl_(
8131 ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena,
8132 const Impl_& from, const ::google::protobuf::FileOptions& from_msg)
8133 : _extensions_{visibility, arena},
8134 _has_bits_{from._has_bits_},
8135 _cached_size_{0},
8136 uninterpreted_option_{visibility, arena, from.uninterpreted_option_},
8137 java_package_(arena, from.java_package_),
8138 java_outer_classname_(arena, from.java_outer_classname_),
8139 go_package_(arena, from.go_package_),
8140 objc_class_prefix_(arena, from.objc_class_prefix_),
8141 csharp_namespace_(arena, from.csharp_namespace_),
8142 swift_prefix_(arena, from.swift_prefix_),
8143 php_class_prefix_(arena, from.php_class_prefix_),
8144 php_namespace_(arena, from.php_namespace_),
8145 php_metadata_namespace_(arena, from.php_metadata_namespace_),
8146 ruby_package_(arena, from.ruby_package_) {}
8147
8148 FileOptions::FileOptions(
8149 ::google::protobuf::Arena* arena,
8150 const FileOptions& from)
8151 #if defined(PROTOBUF_CUSTOM_VTABLE)
8152 : ::google::protobuf::Message(arena, _class_data_.base()) {
8153 #else // PROTOBUF_CUSTOM_VTABLE
8154 : ::google::protobuf::Message(arena) {
8155 #endif // PROTOBUF_CUSTOM_VTABLE
8156 FileOptions* const _this = this;
8157 (void)_this;
8158 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
8159 from._internal_metadata_);
8160 new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
8161 _impl_._extensions_.MergeFrom(this, from._impl_._extensions_);
8162 ::uint32_t cached_has_bits = _impl_._has_bits_[0];
8163 _impl_.features_ = (cached_has_bits & 0x00000400u) ? ::google::protobuf::Message::CopyConstruct<::google::protobuf::FeatureSet>(
8164 arena, *from._impl_.features_)
8165 : nullptr;
8166 ::memcpy(reinterpret_cast<char *>(&_impl_) +
8167 offsetof(Impl_, java_multiple_files_),
8168 reinterpret_cast<const char *>(&from._impl_) +
8169 offsetof(Impl_, java_multiple_files_),
8170 offsetof(Impl_, cc_enable_arenas_) -
8171 offsetof(Impl_, java_multiple_files_) +
8172 sizeof(Impl_::cc_enable_arenas_));
8173
8174 // @@protoc_insertion_point(copy_constructor:google.protobuf.FileOptions)
8175 }
8176 inline PROTOBUF_NDEBUG_INLINE FileOptions::Impl_::Impl_(
8177 ::google::protobuf::internal::InternalVisibility visibility,
8178 ::google::protobuf::Arena* arena)
8179 : _extensions_{visibility, arena},
8180 _cached_size_{0},
8181 uninterpreted_option_{visibility, arena},
8182 java_package_(arena),
8183 java_outer_classname_(arena),
8184 go_package_(arena),
8185 objc_class_prefix_(arena),
8186 csharp_namespace_(arena),
8187 swift_prefix_(arena),
8188 php_class_prefix_(arena),
8189 php_namespace_(arena),
8190 php_metadata_namespace_(arena),
8191 ruby_package_(arena),
8192 optimize_for_{static_cast< ::google::protobuf::FileOptions_OptimizeMode >(1)},
8193 cc_enable_arenas_{true} {}
8194
8195 inline void FileOptions::SharedCtor(::_pb::Arena* arena) {
8196 new (&_impl_) Impl_(internal_visibility(), arena);
8197 ::memset(reinterpret_cast<char *>(&_impl_) +
8198 offsetof(Impl_, features_),
8199 0,
8200 offsetof(Impl_, deprecated_) -
8201 offsetof(Impl_, features_) +
8202 sizeof(Impl_::deprecated_));
8203 }
8204 FileOptions::~FileOptions() {
8205 // @@protoc_insertion_point(destructor:google.protobuf.FileOptions)
8206 SharedDtor(*this);
8207 }
8208 inline void FileOptions::SharedDtor(MessageLite& self) {
8209 FileOptions& this_ = static_cast<FileOptions&>(self);
8210 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
8211 ABSL_DCHECK(this_.GetArena() == nullptr);
8212 this_._impl_.java_package_.Destroy();
8213 this_._impl_.java_outer_classname_.Destroy();
8214 this_._impl_.go_package_.Destroy();
8215 this_._impl_.objc_class_prefix_.Destroy();
8216 this_._impl_.csharp_namespace_.Destroy();
8217 this_._impl_.swift_prefix_.Destroy();
8218 this_._impl_.php_class_prefix_.Destroy();
8219 this_._impl_.php_namespace_.Destroy();
8220 this_._impl_.php_metadata_namespace_.Destroy();
8221 this_._impl_.ruby_package_.Destroy();
8222 delete this_._impl_.features_;
8223 this_._impl_.~Impl_();
8224 }
8225
8226 inline void* FileOptions::PlacementNew_(const void*, void* mem,
8227 ::google::protobuf::Arena* arena) {
8228 return ::new (mem) FileOptions(arena);
8229 }
8230 constexpr auto FileOptions::InternalNewImpl_() {
8231 constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({
8232 PROTOBUF_FIELD_OFFSET(FileOptions, _impl_._extensions_) +
8233 decltype(FileOptions::_impl_._extensions_)::InternalGetArenaOffset(
8234 ::google::protobuf::Message::internal_visibility()),
8235 PROTOBUF_FIELD_OFFSET(FileOptions, _impl_.uninterpreted_option_) +
8236 decltype(FileOptions::_impl_.uninterpreted_option_)::
8237 InternalGetArenaOffset(
8238 ::google::protobuf::Message::internal_visibility()),
8239 });
8240 if (arena_bits.has_value()) {
8241 return ::google::protobuf::internal::MessageCreator::CopyInit(
8242 sizeof(FileOptions), alignof(FileOptions), *arena_bits);
8243 } else {
8244 return ::google::protobuf::internal::MessageCreator(&FileOptions::PlacementNew_,
8245 sizeof(FileOptions),
8246 alignof(FileOptions));
8247 }
8248 }
8249 PROTOBUF_CONSTINIT
8250 PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
8251 const ::google::protobuf::internal::ClassDataFull FileOptions::_class_data_ = {
8252 ::google::protobuf::internal::ClassData{
8253 &_FileOptions_default_instance_._instance,
8254 &_table_.header,
8255 nullptr, // OnDemandRegisterArenaDtor
8256 FileOptions::IsInitializedImpl,
8257 &FileOptions::MergeImpl,
8258 ::google::protobuf::Message::GetNewImpl<FileOptions>(),
8259 #if defined(PROTOBUF_CUSTOM_VTABLE)
8260 &FileOptions::SharedDtor,
8261 ::google::protobuf::Message::GetClearImpl<FileOptions>(), &FileOptions::ByteSizeLong,
8262 &FileOptions::_InternalSerialize,
8263 #endif // PROTOBUF_CUSTOM_VTABLE
8264 PROTOBUF_FIELD_OFFSET(FileOptions, _impl_._cached_size_),
8265 false,
8266 },
8267 &FileOptions::kDescriptorMethods,
8268 &descriptor_table_google_2fprotobuf_2fdescriptor_2eproto,
8269 nullptr, // tracker
8270 };
8271 const ::google::protobuf::internal::ClassData* FileOptions::GetClassData() const {
8272 ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_);
8273 ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table);
8274 return _class_data_.base();
8275 }
8276 constexpr ::_pbi::TcParseTable<5, 21, 3, 202, 12> FileOptions::_table_ = {
8277 {
8278 PROTOBUF_FIELD_OFFSET(FileOptions, _impl_._has_bits_),
8279 PROTOBUF_FIELD_OFFSET(FileOptions, _impl_._extensions_),
8280 999, 248, // max_field_number, fast_idx_mask
8281 offsetof(decltype(_table_), field_lookup_table),
8282 3149166718, // skipmap
8283 offsetof(decltype(_table_), field_entries),
8284 21, // num_field_entries
8285 3, // num_aux_entries
8286 offsetof(decltype(_table_), aux_entries),
8287 _class_data_.base(),
8288 nullptr, // post_loop_handler
8289 ::_pbi::TcParser::GenericFallback, // fallback
8290 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
8291 ::_pbi::TcParser::GetTable<::google::protobuf::FileOptions>(), // to_prefetch
8292 #endif // PROTOBUF_PREFETCH_PARSE_TABLE
8293 }, {{
8294 {::_pbi::TcParser::MiniParse, {}},
8295 // optional string java_package = 1;
8296 {::_pbi::TcParser::FastSS1,
8297 {10, 0, 0, PROTOBUF_FIELD_OFFSET(FileOptions, _impl_.java_package_)}},
8298 {::_pbi::TcParser::MiniParse, {}},
8299 {::_pbi::TcParser::MiniParse, {}},
8300 {::_pbi::TcParser::MiniParse, {}},
8301 {::_pbi::TcParser::MiniParse, {}},
8302 {::_pbi::TcParser::MiniParse, {}},
8303 {::_pbi::TcParser::MiniParse, {}},
8304 // optional string java_outer_classname = 8;
8305 {::_pbi::TcParser::FastSS1,
8306 {66, 1, 0, PROTOBUF_FIELD_OFFSET(FileOptions, _impl_.java_outer_classname_)}},
8307 // optional .google.protobuf.FileOptions.OptimizeMode optimize_for = 9 [default = SPEED];
8308 {::_pbi::TcParser::FastEr1S1,
8309 {72, 18, 3, PROTOBUF_FIELD_OFFSET(FileOptions, _impl_.optimize_for_)}},
8310 // optional bool java_multiple_files = 10 [default = false];
8311 {::_pbi::TcParser::SingularVarintNoZag1<bool, offsetof(FileOptions, _impl_.java_multiple_files_), 11>(),
8312 {80, 11, 0, PROTOBUF_FIELD_OFFSET(FileOptions, _impl_.java_multiple_files_)}},
8313 // optional string go_package = 11;
8314 {::_pbi::TcParser::FastSS1,
8315 {90, 2, 0, PROTOBUF_FIELD_OFFSET(FileOptions, _impl_.go_package_)}},
8316 {::_pbi::TcParser::MiniParse, {}},
8317 {::_pbi::TcParser::MiniParse, {}},
8318 {::_pbi::TcParser::MiniParse, {}},
8319 {::_pbi::TcParser::MiniParse, {}},
8320 // optional bool cc_generic_services = 16 [default = false];
8321 {::_pbi::TcParser::FastV8S2,
8322 {384, 14, 0, PROTOBUF_FIELD_OFFSET(FileOptions, _impl_.cc_generic_services_)}},
8323 // optional bool java_generic_services = 17 [default = false];
8324 {::_pbi::TcParser::FastV8S2,
8325 {392, 15, 0, PROTOBUF_FIELD_OFFSET(FileOptions, _impl_.java_generic_services_)}},
8326 // optional bool py_generic_services = 18 [default = false];
8327 {::_pbi::TcParser::FastV8S2,
8328 {400, 16, 0, PROTOBUF_FIELD_OFFSET(FileOptions, _impl_.py_generic_services_)}},
8329 {::_pbi::TcParser::MiniParse, {}},
8330 // optional bool java_generate_equals_and_hash = 20 [deprecated = true];
8331 {::_pbi::TcParser::FastV8S2,
8332 {416, 12, 0, PROTOBUF_FIELD_OFFSET(FileOptions, _impl_.java_generate_equals_and_hash_)}},
8333 // optional string csharp_namespace = 37;
8334 {::_pbi::TcParser::FastSS2,
8335 {682, 4, 0, PROTOBUF_FIELD_OFFSET(FileOptions, _impl_.csharp_namespace_)}},
8336 {::_pbi::TcParser::MiniParse, {}},
8337 // optional bool deprecated = 23 [default = false];
8338 {::_pbi::TcParser::FastV8S2,
8339 {440, 17, 0, PROTOBUF_FIELD_OFFSET(FileOptions, _impl_.deprecated_)}},
8340 // optional string php_class_prefix = 40;
8341 {::_pbi::TcParser::FastSS2,
8342 {706, 6, 0, PROTOBUF_FIELD_OFFSET(FileOptions, _impl_.php_class_prefix_)}},
8343 // optional string php_namespace = 41;
8344 {::_pbi::TcParser::FastSS2,
8345 {714, 7, 0, PROTOBUF_FIELD_OFFSET(FileOptions, _impl_.php_namespace_)}},
8346 {::_pbi::TcParser::MiniParse, {}},
8347 // optional bool java_string_check_utf8 = 27 [default = false];
8348 {::_pbi::TcParser::FastV8S2,
8349 {472, 13, 0, PROTOBUF_FIELD_OFFSET(FileOptions, _impl_.java_string_check_utf8_)}},
8350 // optional string php_metadata_namespace = 44;
8351 {::_pbi::TcParser::FastSS2,
8352 {738, 8, 0, PROTOBUF_FIELD_OFFSET(FileOptions, _impl_.php_metadata_namespace_)}},
8353 // optional string ruby_package = 45;
8354 {::_pbi::TcParser::FastSS2,
8355 {746, 9, 0, PROTOBUF_FIELD_OFFSET(FileOptions, _impl_.ruby_package_)}},
8356 {::_pbi::TcParser::MiniParse, {}},
8357 // optional bool cc_enable_arenas = 31 [default = true];
8358 {::_pbi::TcParser::FastV8S2,
8359 {504, 19, 0, PROTOBUF_FIELD_OFFSET(FileOptions, _impl_.cc_enable_arenas_)}},
8360 }}, {{
8361 36, 0, 1,
8362 48324, 12,999, 0, 1,
8363 65534, 20,
8364 65535, 65535
8365 }}, {{
8366 // optional string java_package = 1;
8367 {PROTOBUF_FIELD_OFFSET(FileOptions, _impl_.java_package_), _Internal::kHasBitsOffset + 0, 0,
8368 (0 | ::_fl::kFcOptional | ::_fl::kRawString | ::_fl::kRepAString)},
8369 // optional string java_outer_classname = 8;
8370 {PROTOBUF_FIELD_OFFSET(FileOptions, _impl_.java_outer_classname_), _Internal::kHasBitsOffset + 1, 0,
8371 (0 | ::_fl::kFcOptional | ::_fl::kRawString | ::_fl::kRepAString)},
8372 // optional .google.protobuf.FileOptions.OptimizeMode optimize_for = 9 [default = SPEED];
8373 {PROTOBUF_FIELD_OFFSET(FileOptions, _impl_.optimize_for_), _Internal::kHasBitsOffset + 18, 2,
8374 (0 | ::_fl::kFcOptional | ::_fl::kEnumRange)},
8375 // optional bool java_multiple_files = 10 [default = false];
8376 {PROTOBUF_FIELD_OFFSET(FileOptions, _impl_.java_multiple_files_), _Internal::kHasBitsOffset + 11, 0,
8377 (0 | ::_fl::kFcOptional | ::_fl::kBool)},
8378 // optional string go_package = 11;
8379 {PROTOBUF_FIELD_OFFSET(FileOptions, _impl_.go_package_), _Internal::kHasBitsOffset + 2, 0,
8380 (0 | ::_fl::kFcOptional | ::_fl::kRawString | ::_fl::kRepAString)},
8381 // optional bool cc_generic_services = 16 [default = false];
8382 {PROTOBUF_FIELD_OFFSET(FileOptions, _impl_.cc_generic_services_), _Internal::kHasBitsOffset + 14, 0,
8383 (0 | ::_fl::kFcOptional | ::_fl::kBool)},
8384 // optional bool java_generic_services = 17 [default = false];
8385 {PROTOBUF_FIELD_OFFSET(FileOptions, _impl_.java_generic_services_), _Internal::kHasBitsOffset + 15, 0,
8386 (0 | ::_fl::kFcOptional | ::_fl::kBool)},
8387 // optional bool py_generic_services = 18 [default = false];
8388 {PROTOBUF_FIELD_OFFSET(FileOptions, _impl_.py_generic_services_), _Internal::kHasBitsOffset + 16, 0,
8389 (0 | ::_fl::kFcOptional | ::_fl::kBool)},
8390 // optional bool java_generate_equals_and_hash = 20 [deprecated = true];
8391 {PROTOBUF_FIELD_OFFSET(FileOptions, _impl_.java_generate_equals_and_hash_), _Internal::kHasBitsOffset + 12, 0,
8392 (0 | ::_fl::kFcOptional | ::_fl::kBool)},
8393 // optional bool deprecated = 23 [default = false];
8394 {PROTOBUF_FIELD_OFFSET(FileOptions, _impl_.deprecated_), _Internal::kHasBitsOffset + 17, 0,
8395 (0 | ::_fl::kFcOptional | ::_fl::kBool)},
8396 // optional bool java_string_check_utf8 = 27 [default = false];
8397 {PROTOBUF_FIELD_OFFSET(FileOptions, _impl_.java_string_check_utf8_), _Internal::kHasBitsOffset + 13, 0,
8398 (0 | ::_fl::kFcOptional | ::_fl::kBool)},
8399 // optional bool cc_enable_arenas = 31 [default = true];
8400 {PROTOBUF_FIELD_OFFSET(FileOptions, _impl_.cc_enable_arenas_), _Internal::kHasBitsOffset + 19, 0,
8401 (0 | ::_fl::kFcOptional | ::_fl::kBool)},
8402 // optional string objc_class_prefix = 36;
8403 {PROTOBUF_FIELD_OFFSET(FileOptions, _impl_.objc_class_prefix_), _Internal::kHasBitsOffset + 3, 0,
8404 (0 | ::_fl::kFcOptional | ::_fl::kRawString | ::_fl::kRepAString)},
8405 // optional string csharp_namespace = 37;
8406 {PROTOBUF_FIELD_OFFSET(FileOptions, _impl_.csharp_namespace_), _Internal::kHasBitsOffset + 4, 0,
8407 (0 | ::_fl::kFcOptional | ::_fl::kRawString | ::_fl::kRepAString)},
8408 // optional string swift_prefix = 39;
8409 {PROTOBUF_FIELD_OFFSET(FileOptions, _impl_.swift_prefix_), _Internal::kHasBitsOffset + 5, 0,
8410 (0 | ::_fl::kFcOptional | ::_fl::kRawString | ::_fl::kRepAString)},
8411 // optional string php_class_prefix = 40;
8412 {PROTOBUF_FIELD_OFFSET(FileOptions, _impl_.php_class_prefix_), _Internal::kHasBitsOffset + 6, 0,
8413 (0 | ::_fl::kFcOptional | ::_fl::kRawString | ::_fl::kRepAString)},
8414 // optional string php_namespace = 41;
8415 {PROTOBUF_FIELD_OFFSET(FileOptions, _impl_.php_namespace_), _Internal::kHasBitsOffset + 7, 0,
8416 (0 | ::_fl::kFcOptional | ::_fl::kRawString | ::_fl::kRepAString)},
8417 // optional string php_metadata_namespace = 44;
8418 {PROTOBUF_FIELD_OFFSET(FileOptions, _impl_.php_metadata_namespace_), _Internal::kHasBitsOffset + 8, 0,
8419 (0 | ::_fl::kFcOptional | ::_fl::kRawString | ::_fl::kRepAString)},
8420 // optional string ruby_package = 45;
8421 {PROTOBUF_FIELD_OFFSET(FileOptions, _impl_.ruby_package_), _Internal::kHasBitsOffset + 9, 0,
8422 (0 | ::_fl::kFcOptional | ::_fl::kRawString | ::_fl::kRepAString)},
8423 // optional .google.protobuf.FeatureSet features = 50;
8424 {PROTOBUF_FIELD_OFFSET(FileOptions, _impl_.features_), _Internal::kHasBitsOffset + 10, 0,
8425 (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
8426 // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
8427 {PROTOBUF_FIELD_OFFSET(FileOptions, _impl_.uninterpreted_option_), -1, 1,
8428 (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
8429 }}, {{
8430 {::_pbi::TcParser::GetTable<::google::protobuf::FeatureSet>()},
8431 {::_pbi::TcParser::GetTable<::google::protobuf::UninterpretedOption>()},
8432 {1, 3},
8433 }}, {{
8434 "\33\14\24\0\0\12\0\0\0\0\0\0\0\21\20\14\20\15\26\14\0\0\0\0"
8435 "google.protobuf.FileOptions"
8436 "java_package"
8437 "java_outer_classname"
8438 "go_package"
8439 "objc_class_prefix"
8440 "csharp_namespace"
8441 "swift_prefix"
8442 "php_class_prefix"
8443 "php_namespace"
8444 "php_metadata_namespace"
8445 "ruby_package"
8446 }},
8447 };
8448
8449 PROTOBUF_NOINLINE void FileOptions::Clear() {
8450 // @@protoc_insertion_point(message_clear_start:google.protobuf.FileOptions)
8451 ::google::protobuf::internal::TSanWrite(&_impl_);
8452 ::uint32_t cached_has_bits = 0;
8453 // Prevent compiler warnings about cached_has_bits being unused
8454 (void) cached_has_bits;
8455
8456 _impl_._extensions_.Clear();
8457 _impl_.uninterpreted_option_.Clear();
8458 cached_has_bits = _impl_._has_bits_[0];
8459 if (cached_has_bits & 0x000000ffu) {
8460 if (cached_has_bits & 0x00000001u) {
8461 _impl_.java_package_.ClearNonDefaultToEmpty();
8462 }
8463 if (cached_has_bits & 0x00000002u) {
8464 _impl_.java_outer_classname_.ClearNonDefaultToEmpty();
8465 }
8466 if (cached_has_bits & 0x00000004u) {
8467 _impl_.go_package_.ClearNonDefaultToEmpty();
8468 }
8469 if (cached_has_bits & 0x00000008u) {
8470 _impl_.objc_class_prefix_.ClearNonDefaultToEmpty();
8471 }
8472 if (cached_has_bits & 0x00000010u) {
8473 _impl_.csharp_namespace_.ClearNonDefaultToEmpty();
8474 }
8475 if (cached_has_bits & 0x00000020u) {
8476 _impl_.swift_prefix_.ClearNonDefaultToEmpty();
8477 }
8478 if (cached_has_bits & 0x00000040u) {
8479 _impl_.php_class_prefix_.ClearNonDefaultToEmpty();
8480 }
8481 if (cached_has_bits & 0x00000080u) {
8482 _impl_.php_namespace_.ClearNonDefaultToEmpty();
8483 }
8484 }
8485 if (cached_has_bits & 0x00000700u) {
8486 if (cached_has_bits & 0x00000100u) {
8487 _impl_.php_metadata_namespace_.ClearNonDefaultToEmpty();
8488 }
8489 if (cached_has_bits & 0x00000200u) {
8490 _impl_.ruby_package_.ClearNonDefaultToEmpty();
8491 }
8492 if (cached_has_bits & 0x00000400u) {
8493 ABSL_DCHECK(_impl_.features_ != nullptr);
8494 _impl_.features_->Clear();
8495 }
8496 }
8497 if (cached_has_bits & 0x0000f800u) {
8498 ::memset(&_impl_.java_multiple_files_, 0, static_cast<::size_t>(
8499 reinterpret_cast<char*>(&_impl_.java_generic_services_) -
8500 reinterpret_cast<char*>(&_impl_.java_multiple_files_)) + sizeof(_impl_.java_generic_services_));
8501 }
8502 if (cached_has_bits & 0x000f0000u) {
8503 ::memset(&_impl_.py_generic_services_, 0, static_cast<::size_t>(
8504 reinterpret_cast<char*>(&_impl_.deprecated_) -
8505 reinterpret_cast<char*>(&_impl_.py_generic_services_)) + sizeof(_impl_.deprecated_));
8506 _impl_.optimize_for_ = 1;
8507 _impl_.cc_enable_arenas_ = true;
8508 }
8509 _impl_._has_bits_.Clear();
8510 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
8511 }
8512
8513 #if defined(PROTOBUF_CUSTOM_VTABLE)
8514 ::uint8_t* FileOptions::_InternalSerialize(
8515 const MessageLite& base, ::uint8_t* target,
8516 ::google::protobuf::io::EpsCopyOutputStream* stream) {
8517 const FileOptions& this_ = static_cast<const FileOptions&>(base);
8518 #else // PROTOBUF_CUSTOM_VTABLE
8519 ::uint8_t* FileOptions::_InternalSerialize(
8520 ::uint8_t* target,
8521 ::google::protobuf::io::EpsCopyOutputStream* stream) const {
8522 const FileOptions& this_ = *this;
8523 #endif // PROTOBUF_CUSTOM_VTABLE
8524 // @@protoc_insertion_point(serialize_to_array_start:google.protobuf.FileOptions)
8525 ::uint32_t cached_has_bits = 0;
8526 (void)cached_has_bits;
8527
8528 cached_has_bits = this_._impl_._has_bits_[0];
8529 // optional string java_package = 1;
8530 if (cached_has_bits & 0x00000001u) {
8531 const std::string& _s = this_._internal_java_package();
8532 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(_s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormat::SERIALIZE,
8533 "google.protobuf.FileOptions.java_package");
8534 target = stream->WriteStringMaybeAliased(1, _s, target);
8535 }
8536
8537 // optional string java_outer_classname = 8;
8538 if (cached_has_bits & 0x00000002u) {
8539 const std::string& _s = this_._internal_java_outer_classname();
8540 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(_s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormat::SERIALIZE,
8541 "google.protobuf.FileOptions.java_outer_classname");
8542 target = stream->WriteStringMaybeAliased(8, _s, target);
8543 }
8544
8545 // optional .google.protobuf.FileOptions.OptimizeMode optimize_for = 9 [default = SPEED];
8546 if (cached_has_bits & 0x00040000u) {
8547 target = stream->EnsureSpace(target);
8548 target = ::_pbi::WireFormatLite::WriteEnumToArray(
8549 9, this_._internal_optimize_for(), target);
8550 }
8551
8552 // optional bool java_multiple_files = 10 [default = false];
8553 if (cached_has_bits & 0x00000800u) {
8554 target = stream->EnsureSpace(target);
8555 target = ::_pbi::WireFormatLite::WriteBoolToArray(
8556 10, this_._internal_java_multiple_files(), target);
8557 }
8558
8559 // optional string go_package = 11;
8560 if (cached_has_bits & 0x00000004u) {
8561 const std::string& _s = this_._internal_go_package();
8562 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(_s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormat::SERIALIZE,
8563 "google.protobuf.FileOptions.go_package");
8564 target = stream->WriteStringMaybeAliased(11, _s, target);
8565 }
8566
8567 // optional bool cc_generic_services = 16 [default = false];
8568 if (cached_has_bits & 0x00004000u) {
8569 target = stream->EnsureSpace(target);
8570 target = ::_pbi::WireFormatLite::WriteBoolToArray(
8571 16, this_._internal_cc_generic_services(), target);
8572 }
8573
8574 // optional bool java_generic_services = 17 [default = false];
8575 if (cached_has_bits & 0x00008000u) {
8576 target = stream->EnsureSpace(target);
8577 target = ::_pbi::WireFormatLite::WriteBoolToArray(
8578 17, this_._internal_java_generic_services(), target);
8579 }
8580
8581 // optional bool py_generic_services = 18 [default = false];
8582 if (cached_has_bits & 0x00010000u) {
8583 target = stream->EnsureSpace(target);
8584 target = ::_pbi::WireFormatLite::WriteBoolToArray(
8585 18, this_._internal_py_generic_services(), target);
8586 }
8587
8588 // optional bool java_generate_equals_and_hash = 20 [deprecated = true];
8589 if (cached_has_bits & 0x00001000u) {
8590 target = stream->EnsureSpace(target);
8591 target = ::_pbi::WireFormatLite::WriteBoolToArray(
8592 20, this_._internal_java_generate_equals_and_hash(), target);
8593 }
8594
8595 // optional bool deprecated = 23 [default = false];
8596 if (cached_has_bits & 0x00020000u) {
8597 target = stream->EnsureSpace(target);
8598 target = ::_pbi::WireFormatLite::WriteBoolToArray(
8599 23, this_._internal_deprecated(), target);
8600 }
8601
8602 // optional bool java_string_check_utf8 = 27 [default = false];
8603 if (cached_has_bits & 0x00002000u) {
8604 target = stream->EnsureSpace(target);
8605 target = ::_pbi::WireFormatLite::WriteBoolToArray(
8606 27, this_._internal_java_string_check_utf8(), target);
8607 }
8608
8609 // optional bool cc_enable_arenas = 31 [default = true];
8610 if (cached_has_bits & 0x00080000u) {
8611 target = stream->EnsureSpace(target);
8612 target = ::_pbi::WireFormatLite::WriteBoolToArray(
8613 31, this_._internal_cc_enable_arenas(), target);
8614 }
8615
8616 // optional string objc_class_prefix = 36;
8617 if (cached_has_bits & 0x00000008u) {
8618 const std::string& _s = this_._internal_objc_class_prefix();
8619 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(_s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormat::SERIALIZE,
8620 "google.protobuf.FileOptions.objc_class_prefix");
8621 target = stream->WriteStringMaybeAliased(36, _s, target);
8622 }
8623
8624 // optional string csharp_namespace = 37;
8625 if (cached_has_bits & 0x00000010u) {
8626 const std::string& _s = this_._internal_csharp_namespace();
8627 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(_s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormat::SERIALIZE,
8628 "google.protobuf.FileOptions.csharp_namespace");
8629 target = stream->WriteStringMaybeAliased(37, _s, target);
8630 }
8631
8632 // optional string swift_prefix = 39;
8633 if (cached_has_bits & 0x00000020u) {
8634 const std::string& _s = this_._internal_swift_prefix();
8635 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(_s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormat::SERIALIZE,
8636 "google.protobuf.FileOptions.swift_prefix");
8637 target = stream->WriteStringMaybeAliased(39, _s, target);
8638 }
8639
8640 // optional string php_class_prefix = 40;
8641 if (cached_has_bits & 0x00000040u) {
8642 const std::string& _s = this_._internal_php_class_prefix();
8643 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(_s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormat::SERIALIZE,
8644 "google.protobuf.FileOptions.php_class_prefix");
8645 target = stream->WriteStringMaybeAliased(40, _s, target);
8646 }
8647
8648 // optional string php_namespace = 41;
8649 if (cached_has_bits & 0x00000080u) {
8650 const std::string& _s = this_._internal_php_namespace();
8651 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(_s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormat::SERIALIZE,
8652 "google.protobuf.FileOptions.php_namespace");
8653 target = stream->WriteStringMaybeAliased(41, _s, target);
8654 }
8655
8656 // optional string php_metadata_namespace = 44;
8657 if (cached_has_bits & 0x00000100u) {
8658 const std::string& _s = this_._internal_php_metadata_namespace();
8659 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(_s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormat::SERIALIZE,
8660 "google.protobuf.FileOptions.php_metadata_namespace");
8661 target = stream->WriteStringMaybeAliased(44, _s, target);
8662 }
8663
8664 // optional string ruby_package = 45;
8665 if (cached_has_bits & 0x00000200u) {
8666 const std::string& _s = this_._internal_ruby_package();
8667 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(_s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormat::SERIALIZE,
8668 "google.protobuf.FileOptions.ruby_package");
8669 target = stream->WriteStringMaybeAliased(45, _s, target);
8670 }
8671
8672 // optional .google.protobuf.FeatureSet features = 50;
8673 if (cached_has_bits & 0x00000400u) {
8674 target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
8675 50, *this_._impl_.features_, this_._impl_.features_->GetCachedSize(), target,
8676 stream);
8677 }
8678
8679 // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
8680 for (unsigned i = 0, n = static_cast<unsigned>(
8681 this_._internal_uninterpreted_option_size());
8682 i < n; i++) {
8683 const auto& repfield = this_._internal_uninterpreted_option().Get(i);
8684 target =
8685 ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
8686 999, repfield, repfield.GetCachedSize(),
8687 target, stream);
8688 }
8689
8690 // Extension range [1000, 536870912)
8691 target = this_._impl_._extensions_._InternalSerialize(
8692 internal_default_instance(), 1000, 536870912, target, stream);
8693 if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
8694 target =
8695 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
8696 this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
8697 }
8698 // @@protoc_insertion_point(serialize_to_array_end:google.protobuf.FileOptions)
8699 return target;
8700 }
8701
8702 #if defined(PROTOBUF_CUSTOM_VTABLE)
8703 ::size_t FileOptions::ByteSizeLong(const MessageLite& base) {
8704 const FileOptions& this_ = static_cast<const FileOptions&>(base);
8705 #else // PROTOBUF_CUSTOM_VTABLE
8706 ::size_t FileOptions::ByteSizeLong() const {
8707 const FileOptions& this_ = *this;
8708 #endif // PROTOBUF_CUSTOM_VTABLE
8709 // @@protoc_insertion_point(message_byte_size_start:google.protobuf.FileOptions)
8710 ::size_t total_size = 0;
8711 total_size += this_._impl_._extensions_.ByteSize();
8712
8713 ::uint32_t cached_has_bits = 0;
8714 // Prevent compiler warnings about cached_has_bits being unused
8715 (void)cached_has_bits;
8716
8717 ::_pbi::Prefetch5LinesFrom7Lines(&this_);
8718 {
8719 // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
8720 {
8721 total_size += 2UL * this_._internal_uninterpreted_option_size();
8722 for (const auto& msg : this_._internal_uninterpreted_option()) {
8723 total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
8724 }
8725 }
8726 }
8727 cached_has_bits = this_._impl_._has_bits_[0];
8728 if (cached_has_bits & 0x000000ffu) {
8729 // optional string java_package = 1;
8730 if (cached_has_bits & 0x00000001u) {
8731 total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
8732 this_._internal_java_package());
8733 }
8734 // optional string java_outer_classname = 8;
8735 if (cached_has_bits & 0x00000002u) {
8736 total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
8737 this_._internal_java_outer_classname());
8738 }
8739 // optional string go_package = 11;
8740 if (cached_has_bits & 0x00000004u) {
8741 total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
8742 this_._internal_go_package());
8743 }
8744 // optional string objc_class_prefix = 36;
8745 if (cached_has_bits & 0x00000008u) {
8746 total_size += 2 + ::google::protobuf::internal::WireFormatLite::StringSize(
8747 this_._internal_objc_class_prefix());
8748 }
8749 // optional string csharp_namespace = 37;
8750 if (cached_has_bits & 0x00000010u) {
8751 total_size += 2 + ::google::protobuf::internal::WireFormatLite::StringSize(
8752 this_._internal_csharp_namespace());
8753 }
8754 // optional string swift_prefix = 39;
8755 if (cached_has_bits & 0x00000020u) {
8756 total_size += 2 + ::google::protobuf::internal::WireFormatLite::StringSize(
8757 this_._internal_swift_prefix());
8758 }
8759 // optional string php_class_prefix = 40;
8760 if (cached_has_bits & 0x00000040u) {
8761 total_size += 2 + ::google::protobuf::internal::WireFormatLite::StringSize(
8762 this_._internal_php_class_prefix());
8763 }
8764 // optional string php_namespace = 41;
8765 if (cached_has_bits & 0x00000080u) {
8766 total_size += 2 + ::google::protobuf::internal::WireFormatLite::StringSize(
8767 this_._internal_php_namespace());
8768 }
8769 }
8770 if (cached_has_bits & 0x0000ff00u) {
8771 // optional string php_metadata_namespace = 44;
8772 if (cached_has_bits & 0x00000100u) {
8773 total_size += 2 + ::google::protobuf::internal::WireFormatLite::StringSize(
8774 this_._internal_php_metadata_namespace());
8775 }
8776 // optional string ruby_package = 45;
8777 if (cached_has_bits & 0x00000200u) {
8778 total_size += 2 + ::google::protobuf::internal::WireFormatLite::StringSize(
8779 this_._internal_ruby_package());
8780 }
8781 // optional .google.protobuf.FeatureSet features = 50;
8782 if (cached_has_bits & 0x00000400u) {
8783 total_size += 2 +
8784 ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.features_);
8785 }
8786 // optional bool java_multiple_files = 10 [default = false];
8787 if (cached_has_bits & 0x00000800u) {
8788 total_size += 2;
8789 }
8790 // optional bool java_generate_equals_and_hash = 20 [deprecated = true];
8791 if (cached_has_bits & 0x00001000u) {
8792 total_size += 3;
8793 }
8794 // optional bool java_string_check_utf8 = 27 [default = false];
8795 if (cached_has_bits & 0x00002000u) {
8796 total_size += 3;
8797 }
8798 // optional bool cc_generic_services = 16 [default = false];
8799 if (cached_has_bits & 0x00004000u) {
8800 total_size += 3;
8801 }
8802 // optional bool java_generic_services = 17 [default = false];
8803 if (cached_has_bits & 0x00008000u) {
8804 total_size += 3;
8805 }
8806 }
8807 if (cached_has_bits & 0x000f0000u) {
8808 // optional bool py_generic_services = 18 [default = false];
8809 if (cached_has_bits & 0x00010000u) {
8810 total_size += 3;
8811 }
8812 // optional bool deprecated = 23 [default = false];
8813 if (cached_has_bits & 0x00020000u) {
8814 total_size += 3;
8815 }
8816 // optional .google.protobuf.FileOptions.OptimizeMode optimize_for = 9 [default = SPEED];
8817 if (cached_has_bits & 0x00040000u) {
8818 total_size += 1 +
8819 ::_pbi::WireFormatLite::EnumSize(this_._internal_optimize_for());
8820 }
8821 // optional bool cc_enable_arenas = 31 [default = true];
8822 if (cached_has_bits & 0x00080000u) {
8823 total_size += 3;
8824 }
8825 }
8826 return this_.MaybeComputeUnknownFieldsSize(total_size,
8827 &this_._impl_._cached_size_);
8828 }
8829
8830 void FileOptions::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
8831 auto* const _this = static_cast<FileOptions*>(&to_msg);
8832 auto& from = static_cast<const FileOptions&>(from_msg);
8833 ::google::protobuf::Arena* arena = _this->GetArena();
8834 // @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.FileOptions)
8835 ABSL_DCHECK_NE(&from, _this);
8836 ::uint32_t cached_has_bits = 0;
8837 (void) cached_has_bits;
8838
8839 _this->_internal_mutable_uninterpreted_option()->MergeFrom(
8840 from._internal_uninterpreted_option());
8841 cached_has_bits = from._impl_._has_bits_[0];
8842 if (cached_has_bits & 0x000000ffu) {
8843 if (cached_has_bits & 0x00000001u) {
8844 _this->_internal_set_java_package(from._internal_java_package());
8845 }
8846 if (cached_has_bits & 0x00000002u) {
8847 _this->_internal_set_java_outer_classname(from._internal_java_outer_classname());
8848 }
8849 if (cached_has_bits & 0x00000004u) {
8850 _this->_internal_set_go_package(from._internal_go_package());
8851 }
8852 if (cached_has_bits & 0x00000008u) {
8853 _this->_internal_set_objc_class_prefix(from._internal_objc_class_prefix());
8854 }
8855 if (cached_has_bits & 0x00000010u) {
8856 _this->_internal_set_csharp_namespace(from._internal_csharp_namespace());
8857 }
8858 if (cached_has_bits & 0x00000020u) {
8859 _this->_internal_set_swift_prefix(from._internal_swift_prefix());
8860 }
8861 if (cached_has_bits & 0x00000040u) {
8862 _this->_internal_set_php_class_prefix(from._internal_php_class_prefix());
8863 }
8864 if (cached_has_bits & 0x00000080u) {
8865 _this->_internal_set_php_namespace(from._internal_php_namespace());
8866 }
8867 }
8868 if (cached_has_bits & 0x0000ff00u) {
8869 if (cached_has_bits & 0x00000100u) {
8870 _this->_internal_set_php_metadata_namespace(from._internal_php_metadata_namespace());
8871 }
8872 if (cached_has_bits & 0x00000200u) {
8873 _this->_internal_set_ruby_package(from._internal_ruby_package());
8874 }
8875 if (cached_has_bits & 0x00000400u) {
8876 ABSL_DCHECK(from._impl_.features_ != nullptr);
8877 if (_this->_impl_.features_ == nullptr) {
8878 _this->_impl_.features_ =
8879 ::google::protobuf::Message::CopyConstruct<::google::protobuf::FeatureSet>(arena, *from._impl_.features_);
8880 } else {
8881 _this->_impl_.features_->MergeFrom(*from._impl_.features_);
8882 }
8883 }
8884 if (cached_has_bits & 0x00000800u) {
8885 _this->_impl_.java_multiple_files_ = from._impl_.java_multiple_files_;
8886 }
8887 if (cached_has_bits & 0x00001000u) {
8888 _this->_impl_.java_generate_equals_and_hash_ = from._impl_.java_generate_equals_and_hash_;
8889 }
8890 if (cached_has_bits & 0x00002000u) {
8891 _this->_impl_.java_string_check_utf8_ = from._impl_.java_string_check_utf8_;
8892 }
8893 if (cached_has_bits & 0x00004000u) {
8894 _this->_impl_.cc_generic_services_ = from._impl_.cc_generic_services_;
8895 }
8896 if (cached_has_bits & 0x00008000u) {
8897 _this->_impl_.java_generic_services_ = from._impl_.java_generic_services_;
8898 }
8899 }
8900 if (cached_has_bits & 0x000f0000u) {
8901 if (cached_has_bits & 0x00010000u) {
8902 _this->_impl_.py_generic_services_ = from._impl_.py_generic_services_;
8903 }
8904 if (cached_has_bits & 0x00020000u) {
8905 _this->_impl_.deprecated_ = from._impl_.deprecated_;
8906 }
8907 if (cached_has_bits & 0x00040000u) {
8908 _this->_impl_.optimize_for_ = from._impl_.optimize_for_;
8909 }
8910 if (cached_has_bits & 0x00080000u) {
8911 _this->_impl_.cc_enable_arenas_ = from._impl_.cc_enable_arenas_;
8912 }
8913 }
8914 _this->_impl_._has_bits_[0] |= cached_has_bits;
8915 _this->_impl_._extensions_.MergeFrom(internal_default_instance(), from._impl_._extensions_);
8916 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
8917 }
8918
8919 void FileOptions::CopyFrom(const FileOptions& from) {
8920 // @@protoc_insertion_point(class_specific_copy_from_start:google.protobuf.FileOptions)
8921 if (&from == this) return;
8922 Clear();
8923 MergeFrom(from);
8924 }
8925
8926 PROTOBUF_NOINLINE bool FileOptions::IsInitializedImpl(
8927 const MessageLite& msg) {
8928 auto& this_ = static_cast<const FileOptions&>(msg);
8929 if (!this_._impl_._extensions_.IsInitialized(
8930 internal_default_instance())) {
8931 return false;
8932 }
8933 if (!::google::protobuf::internal::AllAreInitialized(this_._internal_uninterpreted_option()))
8934 return false;
8935 if ((this_._impl_._has_bits_[0] & 0x00000400u) != 0) {
8936 if (!this_._impl_.features_->IsInitialized()) return false;
8937 }
8938 return true;
8939 }
8940
8941 void FileOptions::InternalSwap(FileOptions* PROTOBUF_RESTRICT other) {
8942 using std::swap;
8943 _impl_._extensions_.InternalSwap(&other->_impl_._extensions_);
8944 auto* arena = GetArena();
8945 ABSL_DCHECK_EQ(arena, other->GetArena());
8946 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
8947 swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
8948 _impl_.uninterpreted_option_.InternalSwap(&other->_impl_.uninterpreted_option_);
8949 ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.java_package_, &other->_impl_.java_package_, arena);
8950 ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.java_outer_classname_, &other->_impl_.java_outer_classname_, arena);
8951 ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.go_package_, &other->_impl_.go_package_, arena);
8952 ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.objc_class_prefix_, &other->_impl_.objc_class_prefix_, arena);
8953 ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.csharp_namespace_, &other->_impl_.csharp_namespace_, arena);
8954 ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.swift_prefix_, &other->_impl_.swift_prefix_, arena);
8955 ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.php_class_prefix_, &other->_impl_.php_class_prefix_, arena);
8956 ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.php_namespace_, &other->_impl_.php_namespace_, arena);
8957 ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.php_metadata_namespace_, &other->_impl_.php_metadata_namespace_, arena);
8958 ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.ruby_package_, &other->_impl_.ruby_package_, arena);
8959 ::google::protobuf::internal::memswap<
8960 PROTOBUF_FIELD_OFFSET(FileOptions, _impl_.cc_enable_arenas_)
8961 + sizeof(FileOptions::_impl_.cc_enable_arenas_)
8962 - PROTOBUF_FIELD_OFFSET(FileOptions, _impl_.features_)>(
8963 reinterpret_cast<char*>(&_impl_.features_),
8964 reinterpret_cast<char*>(&other->_impl_.features_));
8965 }
8966
8967 ::google::protobuf::Metadata FileOptions::GetMetadata() const {
8968 return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
8969 }
8970 // ===================================================================
8971
8972 class MessageOptions::_Internal {
8973 public:
8974 using HasBits =
8975 decltype(std::declval<MessageOptions>()._impl_._has_bits_);
8976 static constexpr ::int32_t kHasBitsOffset =
8977 8 * PROTOBUF_FIELD_OFFSET(MessageOptions, _impl_._has_bits_);
8978 };
8979
8980 MessageOptions::MessageOptions(::google::protobuf::Arena* arena)
8981 #if defined(PROTOBUF_CUSTOM_VTABLE)
8982 : ::google::protobuf::Message(arena, _class_data_.base()) {
8983 #else // PROTOBUF_CUSTOM_VTABLE
8984 : ::google::protobuf::Message(arena) {
8985 #endif // PROTOBUF_CUSTOM_VTABLE
8986 SharedCtor(arena);
8987 // @@protoc_insertion_point(arena_constructor:google.protobuf.MessageOptions)
8988 }
8989 inline PROTOBUF_NDEBUG_INLINE MessageOptions::Impl_::Impl_(
8990 ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena,
8991 const Impl_& from, const ::google::protobuf::MessageOptions& from_msg)
8992 : _extensions_{visibility, arena},
8993 _has_bits_{from._has_bits_},
8994 _cached_size_{0},
8995 uninterpreted_option_{visibility, arena, from.uninterpreted_option_} {}
8996
8997 MessageOptions::MessageOptions(
8998 ::google::protobuf::Arena* arena,
8999 const MessageOptions& from)
9000 #if defined(PROTOBUF_CUSTOM_VTABLE)
9001 : ::google::protobuf::Message(arena, _class_data_.base()) {
9002 #else // PROTOBUF_CUSTOM_VTABLE
9003 : ::google::protobuf::Message(arena) {
9004 #endif // PROTOBUF_CUSTOM_VTABLE
9005 MessageOptions* const _this = this;
9006 (void)_this;
9007 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
9008 from._internal_metadata_);
9009 new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
9010 _impl_._extensions_.MergeFrom(this, from._impl_._extensions_);
9011 ::uint32_t cached_has_bits = _impl_._has_bits_[0];
9012 _impl_.features_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::google::protobuf::FeatureSet>(
9013 arena, *from._impl_.features_)
9014 : nullptr;
9015 ::memcpy(reinterpret_cast<char *>(&_impl_) +
9016 offsetof(Impl_, message_set_wire_format_),
9017 reinterpret_cast<const char *>(&from._impl_) +
9018 offsetof(Impl_, message_set_wire_format_),
9019 offsetof(Impl_, deprecated_legacy_json_field_conflicts_) -
9020 offsetof(Impl_, message_set_wire_format_) +
9021 sizeof(Impl_::deprecated_legacy_json_field_conflicts_));
9022
9023 // @@protoc_insertion_point(copy_constructor:google.protobuf.MessageOptions)
9024 }
9025 inline PROTOBUF_NDEBUG_INLINE MessageOptions::Impl_::Impl_(
9026 ::google::protobuf::internal::InternalVisibility visibility,
9027 ::google::protobuf::Arena* arena)
9028 : _extensions_{visibility, arena},
9029 _cached_size_{0},
9030 uninterpreted_option_{visibility, arena} {}
9031
9032 inline void MessageOptions::SharedCtor(::_pb::Arena* arena) {
9033 new (&_impl_) Impl_(internal_visibility(), arena);
9034 ::memset(reinterpret_cast<char *>(&_impl_) +
9035 offsetof(Impl_, features_),
9036 0,
9037 offsetof(Impl_, deprecated_legacy_json_field_conflicts_) -
9038 offsetof(Impl_, features_) +
9039 sizeof(Impl_::deprecated_legacy_json_field_conflicts_));
9040 }
9041 MessageOptions::~MessageOptions() {
9042 // @@protoc_insertion_point(destructor:google.protobuf.MessageOptions)
9043 SharedDtor(*this);
9044 }
9045 inline void MessageOptions::SharedDtor(MessageLite& self) {
9046 MessageOptions& this_ = static_cast<MessageOptions&>(self);
9047 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
9048 ABSL_DCHECK(this_.GetArena() == nullptr);
9049 delete this_._impl_.features_;
9050 this_._impl_.~Impl_();
9051 }
9052
9053 inline void* MessageOptions::PlacementNew_(const void*, void* mem,
9054 ::google::protobuf::Arena* arena) {
9055 return ::new (mem) MessageOptions(arena);
9056 }
9057 constexpr auto MessageOptions::InternalNewImpl_() {
9058 constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({
9059 PROTOBUF_FIELD_OFFSET(MessageOptions, _impl_._extensions_) +
9060 decltype(MessageOptions::_impl_._extensions_)::InternalGetArenaOffset(
9061 ::google::protobuf::Message::internal_visibility()),
9062 PROTOBUF_FIELD_OFFSET(MessageOptions, _impl_.uninterpreted_option_) +
9063 decltype(MessageOptions::_impl_.uninterpreted_option_)::
9064 InternalGetArenaOffset(
9065 ::google::protobuf::Message::internal_visibility()),
9066 });
9067 if (arena_bits.has_value()) {
9068 return ::google::protobuf::internal::MessageCreator::ZeroInit(
9069 sizeof(MessageOptions), alignof(MessageOptions), *arena_bits);
9070 } else {
9071 return ::google::protobuf::internal::MessageCreator(&MessageOptions::PlacementNew_,
9072 sizeof(MessageOptions),
9073 alignof(MessageOptions));
9074 }
9075 }
9076 PROTOBUF_CONSTINIT
9077 PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
9078 const ::google::protobuf::internal::ClassDataFull MessageOptions::_class_data_ = {
9079 ::google::protobuf::internal::ClassData{
9080 &_MessageOptions_default_instance_._instance,
9081 &_table_.header,
9082 nullptr, // OnDemandRegisterArenaDtor
9083 MessageOptions::IsInitializedImpl,
9084 &MessageOptions::MergeImpl,
9085 ::google::protobuf::Message::GetNewImpl<MessageOptions>(),
9086 #if defined(PROTOBUF_CUSTOM_VTABLE)
9087 &MessageOptions::SharedDtor,
9088 ::google::protobuf::Message::GetClearImpl<MessageOptions>(), &MessageOptions::ByteSizeLong,
9089 &MessageOptions::_InternalSerialize,
9090 #endif // PROTOBUF_CUSTOM_VTABLE
9091 PROTOBUF_FIELD_OFFSET(MessageOptions, _impl_._cached_size_),
9092 false,
9093 },
9094 &MessageOptions::kDescriptorMethods,
9095 &descriptor_table_google_2fprotobuf_2fdescriptor_2eproto,
9096 nullptr, // tracker
9097 };
9098 const ::google::protobuf::internal::ClassData* MessageOptions::GetClassData() const {
9099 ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_);
9100 ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table);
9101 return _class_data_.base();
9102 }
9103 constexpr ::_pbi::TcParseTable<3, 7, 2, 0, 7> MessageOptions::_table_ = {
9104 {
9105 PROTOBUF_FIELD_OFFSET(MessageOptions, _impl_._has_bits_),
9106 PROTOBUF_FIELD_OFFSET(MessageOptions, _impl_._extensions_),
9107 999, 56, // max_field_number, fast_idx_mask
9108 offsetof(decltype(_table_), field_lookup_table),
9109 4294964152, // skipmap
9110 offsetof(decltype(_table_), field_entries),
9111 7, // num_field_entries
9112 2, // num_aux_entries
9113 offsetof(decltype(_table_), aux_entries),
9114 _class_data_.base(),
9115 nullptr, // post_loop_handler
9116 ::_pbi::TcParser::GenericFallback, // fallback
9117 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
9118 ::_pbi::TcParser::GetTable<::google::protobuf::MessageOptions>(), // to_prefetch
9119 #endif // PROTOBUF_PREFETCH_PARSE_TABLE
9120 }, {{
9121 {::_pbi::TcParser::MiniParse, {}},
9122 // optional bool message_set_wire_format = 1 [default = false];
9123 {::_pbi::TcParser::SingularVarintNoZag1<bool, offsetof(MessageOptions, _impl_.message_set_wire_format_), 1>(),
9124 {8, 1, 0, PROTOBUF_FIELD_OFFSET(MessageOptions, _impl_.message_set_wire_format_)}},
9125 // optional bool no_standard_descriptor_accessor = 2 [default = false];
9126 {::_pbi::TcParser::SingularVarintNoZag1<bool, offsetof(MessageOptions, _impl_.no_standard_descriptor_accessor_), 2>(),
9127 {16, 2, 0, PROTOBUF_FIELD_OFFSET(MessageOptions, _impl_.no_standard_descriptor_accessor_)}},
9128 // optional bool deprecated = 3 [default = false];
9129 {::_pbi::TcParser::SingularVarintNoZag1<bool, offsetof(MessageOptions, _impl_.deprecated_), 3>(),
9130 {24, 3, 0, PROTOBUF_FIELD_OFFSET(MessageOptions, _impl_.deprecated_)}},
9131 // optional .google.protobuf.FeatureSet features = 12;
9132 {::_pbi::TcParser::FastMtS1,
9133 {98, 0, 0, PROTOBUF_FIELD_OFFSET(MessageOptions, _impl_.features_)}},
9134 {::_pbi::TcParser::MiniParse, {}},
9135 {::_pbi::TcParser::MiniParse, {}},
9136 // optional bool map_entry = 7;
9137 {::_pbi::TcParser::SingularVarintNoZag1<bool, offsetof(MessageOptions, _impl_.map_entry_), 4>(),
9138 {56, 4, 0, PROTOBUF_FIELD_OFFSET(MessageOptions, _impl_.map_entry_)}},
9139 }}, {{
9140 999, 0, 1,
9141 65534, 6,
9142 65535, 65535
9143 }}, {{
9144 // optional bool message_set_wire_format = 1 [default = false];
9145 {PROTOBUF_FIELD_OFFSET(MessageOptions, _impl_.message_set_wire_format_), _Internal::kHasBitsOffset + 1, 0,
9146 (0 | ::_fl::kFcOptional | ::_fl::kBool)},
9147 // optional bool no_standard_descriptor_accessor = 2 [default = false];
9148 {PROTOBUF_FIELD_OFFSET(MessageOptions, _impl_.no_standard_descriptor_accessor_), _Internal::kHasBitsOffset + 2, 0,
9149 (0 | ::_fl::kFcOptional | ::_fl::kBool)},
9150 // optional bool deprecated = 3 [default = false];
9151 {PROTOBUF_FIELD_OFFSET(MessageOptions, _impl_.deprecated_), _Internal::kHasBitsOffset + 3, 0,
9152 (0 | ::_fl::kFcOptional | ::_fl::kBool)},
9153 // optional bool map_entry = 7;
9154 {PROTOBUF_FIELD_OFFSET(MessageOptions, _impl_.map_entry_), _Internal::kHasBitsOffset + 4, 0,
9155 (0 | ::_fl::kFcOptional | ::_fl::kBool)},
9156 // optional bool deprecated_legacy_json_field_conflicts = 11 [deprecated = true];
9157 {PROTOBUF_FIELD_OFFSET(MessageOptions, _impl_.deprecated_legacy_json_field_conflicts_), _Internal::kHasBitsOffset + 5, 0,
9158 (0 | ::_fl::kFcOptional | ::_fl::kBool)},
9159 // optional .google.protobuf.FeatureSet features = 12;
9160 {PROTOBUF_FIELD_OFFSET(MessageOptions, _impl_.features_), _Internal::kHasBitsOffset + 0, 0,
9161 (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
9162 // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
9163 {PROTOBUF_FIELD_OFFSET(MessageOptions, _impl_.uninterpreted_option_), -1, 1,
9164 (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
9165 }}, {{
9166 {::_pbi::TcParser::GetTable<::google::protobuf::FeatureSet>()},
9167 {::_pbi::TcParser::GetTable<::google::protobuf::UninterpretedOption>()},
9168 }}, {{
9169 }},
9170 };
9171
9172 PROTOBUF_NOINLINE void MessageOptions::Clear() {
9173 // @@protoc_insertion_point(message_clear_start:google.protobuf.MessageOptions)
9174 ::google::protobuf::internal::TSanWrite(&_impl_);
9175 ::uint32_t cached_has_bits = 0;
9176 // Prevent compiler warnings about cached_has_bits being unused
9177 (void) cached_has_bits;
9178
9179 _impl_._extensions_.Clear();
9180 _impl_.uninterpreted_option_.Clear();
9181 cached_has_bits = _impl_._has_bits_[0];
9182 if (cached_has_bits & 0x00000001u) {
9183 ABSL_DCHECK(_impl_.features_ != nullptr);
9184 _impl_.features_->Clear();
9185 }
9186 if (cached_has_bits & 0x0000003eu) {
9187 ::memset(&_impl_.message_set_wire_format_, 0, static_cast<::size_t>(
9188 reinterpret_cast<char*>(&_impl_.deprecated_legacy_json_field_conflicts_) -
9189 reinterpret_cast<char*>(&_impl_.message_set_wire_format_)) + sizeof(_impl_.deprecated_legacy_json_field_conflicts_));
9190 }
9191 _impl_._has_bits_.Clear();
9192 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
9193 }
9194
9195 #if defined(PROTOBUF_CUSTOM_VTABLE)
9196 ::uint8_t* MessageOptions::_InternalSerialize(
9197 const MessageLite& base, ::uint8_t* target,
9198 ::google::protobuf::io::EpsCopyOutputStream* stream) {
9199 const MessageOptions& this_ = static_cast<const MessageOptions&>(base);
9200 #else // PROTOBUF_CUSTOM_VTABLE
9201 ::uint8_t* MessageOptions::_InternalSerialize(
9202 ::uint8_t* target,
9203 ::google::protobuf::io::EpsCopyOutputStream* stream) const {
9204 const MessageOptions& this_ = *this;
9205 #endif // PROTOBUF_CUSTOM_VTABLE
9206 // @@protoc_insertion_point(serialize_to_array_start:google.protobuf.MessageOptions)
9207 ::uint32_t cached_has_bits = 0;
9208 (void)cached_has_bits;
9209
9210 cached_has_bits = this_._impl_._has_bits_[0];
9211 // optional bool message_set_wire_format = 1 [default = false];
9212 if (cached_has_bits & 0x00000002u) {
9213 target = stream->EnsureSpace(target);
9214 target = ::_pbi::WireFormatLite::WriteBoolToArray(
9215 1, this_._internal_message_set_wire_format(), target);
9216 }
9217
9218 // optional bool no_standard_descriptor_accessor = 2 [default = false];
9219 if (cached_has_bits & 0x00000004u) {
9220 target = stream->EnsureSpace(target);
9221 target = ::_pbi::WireFormatLite::WriteBoolToArray(
9222 2, this_._internal_no_standard_descriptor_accessor(), target);
9223 }
9224
9225 // optional bool deprecated = 3 [default = false];
9226 if (cached_has_bits & 0x00000008u) {
9227 target = stream->EnsureSpace(target);
9228 target = ::_pbi::WireFormatLite::WriteBoolToArray(
9229 3, this_._internal_deprecated(), target);
9230 }
9231
9232 // optional bool map_entry = 7;
9233 if (cached_has_bits & 0x00000010u) {
9234 target = stream->EnsureSpace(target);
9235 target = ::_pbi::WireFormatLite::WriteBoolToArray(
9236 7, this_._internal_map_entry(), target);
9237 }
9238
9239 // optional bool deprecated_legacy_json_field_conflicts = 11 [deprecated = true];
9240 if (cached_has_bits & 0x00000020u) {
9241 target = stream->EnsureSpace(target);
9242 target = ::_pbi::WireFormatLite::WriteBoolToArray(
9243 11, this_._internal_deprecated_legacy_json_field_conflicts(), target);
9244 }
9245
9246 // optional .google.protobuf.FeatureSet features = 12;
9247 if (cached_has_bits & 0x00000001u) {
9248 target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
9249 12, *this_._impl_.features_, this_._impl_.features_->GetCachedSize(), target,
9250 stream);
9251 }
9252
9253 // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
9254 for (unsigned i = 0, n = static_cast<unsigned>(
9255 this_._internal_uninterpreted_option_size());
9256 i < n; i++) {
9257 const auto& repfield = this_._internal_uninterpreted_option().Get(i);
9258 target =
9259 ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
9260 999, repfield, repfield.GetCachedSize(),
9261 target, stream);
9262 }
9263
9264 // Extension range [1000, 536870912)
9265 target = this_._impl_._extensions_._InternalSerialize(
9266 internal_default_instance(), 1000, 536870912, target, stream);
9267 if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
9268 target =
9269 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
9270 this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
9271 }
9272 // @@protoc_insertion_point(serialize_to_array_end:google.protobuf.MessageOptions)
9273 return target;
9274 }
9275
9276 #if defined(PROTOBUF_CUSTOM_VTABLE)
9277 ::size_t MessageOptions::ByteSizeLong(const MessageLite& base) {
9278 const MessageOptions& this_ = static_cast<const MessageOptions&>(base);
9279 #else // PROTOBUF_CUSTOM_VTABLE
9280 ::size_t MessageOptions::ByteSizeLong() const {
9281 const MessageOptions& this_ = *this;
9282 #endif // PROTOBUF_CUSTOM_VTABLE
9283 // @@protoc_insertion_point(message_byte_size_start:google.protobuf.MessageOptions)
9284 ::size_t total_size = 0;
9285 total_size += this_._impl_._extensions_.ByteSize();
9286
9287 ::uint32_t cached_has_bits = 0;
9288 // Prevent compiler warnings about cached_has_bits being unused
9289 (void)cached_has_bits;
9290
9291 ::_pbi::Prefetch5LinesFrom7Lines(&this_);
9292 {
9293 // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
9294 {
9295 total_size += 2UL * this_._internal_uninterpreted_option_size();
9296 for (const auto& msg : this_._internal_uninterpreted_option()) {
9297 total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
9298 }
9299 }
9300 }
9301 cached_has_bits = this_._impl_._has_bits_[0];
9302 if (cached_has_bits & 0x0000003fu) {
9303 // optional .google.protobuf.FeatureSet features = 12;
9304 if (cached_has_bits & 0x00000001u) {
9305 total_size += 1 +
9306 ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.features_);
9307 }
9308 // optional bool message_set_wire_format = 1 [default = false];
9309 if (cached_has_bits & 0x00000002u) {
9310 total_size += 2;
9311 }
9312 // optional bool no_standard_descriptor_accessor = 2 [default = false];
9313 if (cached_has_bits & 0x00000004u) {
9314 total_size += 2;
9315 }
9316 // optional bool deprecated = 3 [default = false];
9317 if (cached_has_bits & 0x00000008u) {
9318 total_size += 2;
9319 }
9320 // optional bool map_entry = 7;
9321 if (cached_has_bits & 0x00000010u) {
9322 total_size += 2;
9323 }
9324 // optional bool deprecated_legacy_json_field_conflicts = 11 [deprecated = true];
9325 if (cached_has_bits & 0x00000020u) {
9326 total_size += 2;
9327 }
9328 }
9329 return this_.MaybeComputeUnknownFieldsSize(total_size,
9330 &this_._impl_._cached_size_);
9331 }
9332
9333 void MessageOptions::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
9334 auto* const _this = static_cast<MessageOptions*>(&to_msg);
9335 auto& from = static_cast<const MessageOptions&>(from_msg);
9336 ::google::protobuf::Arena* arena = _this->GetArena();
9337 // @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.MessageOptions)
9338 ABSL_DCHECK_NE(&from, _this);
9339 ::uint32_t cached_has_bits = 0;
9340 (void) cached_has_bits;
9341
9342 _this->_internal_mutable_uninterpreted_option()->MergeFrom(
9343 from._internal_uninterpreted_option());
9344 cached_has_bits = from._impl_._has_bits_[0];
9345 if (cached_has_bits & 0x0000003fu) {
9346 if (cached_has_bits & 0x00000001u) {
9347 ABSL_DCHECK(from._impl_.features_ != nullptr);
9348 if (_this->_impl_.features_ == nullptr) {
9349 _this->_impl_.features_ =
9350 ::google::protobuf::Message::CopyConstruct<::google::protobuf::FeatureSet>(arena, *from._impl_.features_);
9351 } else {
9352 _this->_impl_.features_->MergeFrom(*from._impl_.features_);
9353 }
9354 }
9355 if (cached_has_bits & 0x00000002u) {
9356 _this->_impl_.message_set_wire_format_ = from._impl_.message_set_wire_format_;
9357 }
9358 if (cached_has_bits & 0x00000004u) {
9359 _this->_impl_.no_standard_descriptor_accessor_ = from._impl_.no_standard_descriptor_accessor_;
9360 }
9361 if (cached_has_bits & 0x00000008u) {
9362 _this->_impl_.deprecated_ = from._impl_.deprecated_;
9363 }
9364 if (cached_has_bits & 0x00000010u) {
9365 _this->_impl_.map_entry_ = from._impl_.map_entry_;
9366 }
9367 if (cached_has_bits & 0x00000020u) {
9368 _this->_impl_.deprecated_legacy_json_field_conflicts_ = from._impl_.deprecated_legacy_json_field_conflicts_;
9369 }
9370 }
9371 _this->_impl_._has_bits_[0] |= cached_has_bits;
9372 _this->_impl_._extensions_.MergeFrom(internal_default_instance(), from._impl_._extensions_);
9373 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
9374 }
9375
9376 void MessageOptions::CopyFrom(const MessageOptions& from) {
9377 // @@protoc_insertion_point(class_specific_copy_from_start:google.protobuf.MessageOptions)
9378 if (&from == this) return;
9379 Clear();
9380 MergeFrom(from);
9381 }
9382
9383 PROTOBUF_NOINLINE bool MessageOptions::IsInitializedImpl(
9384 const MessageLite& msg) {
9385 auto& this_ = static_cast<const MessageOptions&>(msg);
9386 if (!this_._impl_._extensions_.IsInitialized(
9387 internal_default_instance())) {
9388 return false;
9389 }
9390 if (!::google::protobuf::internal::AllAreInitialized(this_._internal_uninterpreted_option()))
9391 return false;
9392 if ((this_._impl_._has_bits_[0] & 0x00000001u) != 0) {
9393 if (!this_._impl_.features_->IsInitialized()) return false;
9394 }
9395 return true;
9396 }
9397
9398 void MessageOptions::InternalSwap(MessageOptions* PROTOBUF_RESTRICT other) {
9399 using std::swap;
9400 _impl_._extensions_.InternalSwap(&other->_impl_._extensions_);
9401 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
9402 swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
9403 _impl_.uninterpreted_option_.InternalSwap(&other->_impl_.uninterpreted_option_);
9404 ::google::protobuf::internal::memswap<
9405 PROTOBUF_FIELD_OFFSET(MessageOptions, _impl_.deprecated_legacy_json_field_conflicts_)
9406 + sizeof(MessageOptions::_impl_.deprecated_legacy_json_field_conflicts_)
9407 - PROTOBUF_FIELD_OFFSET(MessageOptions, _impl_.features_)>(
9408 reinterpret_cast<char*>(&_impl_.features_),
9409 reinterpret_cast<char*>(&other->_impl_.features_));
9410 }
9411
9412 ::google::protobuf::Metadata MessageOptions::GetMetadata() const {
9413 return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
9414 }
9415 // ===================================================================
9416
9417 class FieldOptions_EditionDefault::_Internal {
9418 public:
9419 using HasBits =
9420 decltype(std::declval<FieldOptions_EditionDefault>()._impl_._has_bits_);
9421 static constexpr ::int32_t kHasBitsOffset =
9422 8 * PROTOBUF_FIELD_OFFSET(FieldOptions_EditionDefault, _impl_._has_bits_);
9423 };
9424
9425 FieldOptions_EditionDefault::FieldOptions_EditionDefault(::google::protobuf::Arena* arena)
9426 #if defined(PROTOBUF_CUSTOM_VTABLE)
9427 : ::google::protobuf::Message(arena, _class_data_.base()) {
9428 #else // PROTOBUF_CUSTOM_VTABLE
9429 : ::google::protobuf::Message(arena) {
9430 #endif // PROTOBUF_CUSTOM_VTABLE
9431 SharedCtor(arena);
9432 // @@protoc_insertion_point(arena_constructor:google.protobuf.FieldOptions.EditionDefault)
9433 }
9434 inline PROTOBUF_NDEBUG_INLINE FieldOptions_EditionDefault::Impl_::Impl_(
9435 ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena,
9436 const Impl_& from, const ::google::protobuf::FieldOptions_EditionDefault& from_msg)
9437 : _has_bits_{from._has_bits_},
9438 _cached_size_{0},
9439 value_(arena, from.value_) {}
9440
9441 FieldOptions_EditionDefault::FieldOptions_EditionDefault(
9442 ::google::protobuf::Arena* arena,
9443 const FieldOptions_EditionDefault& from)
9444 #if defined(PROTOBUF_CUSTOM_VTABLE)
9445 : ::google::protobuf::Message(arena, _class_data_.base()) {
9446 #else // PROTOBUF_CUSTOM_VTABLE
9447 : ::google::protobuf::Message(arena) {
9448 #endif // PROTOBUF_CUSTOM_VTABLE
9449 FieldOptions_EditionDefault* const _this = this;
9450 (void)_this;
9451 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
9452 from._internal_metadata_);
9453 new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
9454 _impl_.edition_ = from._impl_.edition_;
9455
9456 // @@protoc_insertion_point(copy_constructor:google.protobuf.FieldOptions.EditionDefault)
9457 }
9458 inline PROTOBUF_NDEBUG_INLINE FieldOptions_EditionDefault::Impl_::Impl_(
9459 ::google::protobuf::internal::InternalVisibility visibility,
9460 ::google::protobuf::Arena* arena)
9461 : _cached_size_{0},
9462 value_(arena) {}
9463
9464 inline void FieldOptions_EditionDefault::SharedCtor(::_pb::Arena* arena) {
9465 new (&_impl_) Impl_(internal_visibility(), arena);
9466 _impl_.edition_ = {};
9467 }
9468 FieldOptions_EditionDefault::~FieldOptions_EditionDefault() {
9469 // @@protoc_insertion_point(destructor:google.protobuf.FieldOptions.EditionDefault)
9470 SharedDtor(*this);
9471 }
9472 inline void FieldOptions_EditionDefault::SharedDtor(MessageLite& self) {
9473 FieldOptions_EditionDefault& this_ = static_cast<FieldOptions_EditionDefault&>(self);
9474 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
9475 ABSL_DCHECK(this_.GetArena() == nullptr);
9476 this_._impl_.value_.Destroy();
9477 this_._impl_.~Impl_();
9478 }
9479
9480 inline void* FieldOptions_EditionDefault::PlacementNew_(const void*, void* mem,
9481 ::google::protobuf::Arena* arena) {
9482 return ::new (mem) FieldOptions_EditionDefault(arena);
9483 }
9484 constexpr auto FieldOptions_EditionDefault::InternalNewImpl_() {
9485 return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(FieldOptions_EditionDefault),
9486 alignof(FieldOptions_EditionDefault));
9487 }
9488 PROTOBUF_CONSTINIT
9489 PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
9490 const ::google::protobuf::internal::ClassDataFull FieldOptions_EditionDefault::_class_data_ = {
9491 ::google::protobuf::internal::ClassData{
9492 &_FieldOptions_EditionDefault_default_instance_._instance,
9493 &_table_.header,
9494 nullptr, // OnDemandRegisterArenaDtor
9495 nullptr, // IsInitialized
9496 &FieldOptions_EditionDefault::MergeImpl,
9497 ::google::protobuf::Message::GetNewImpl<FieldOptions_EditionDefault>(),
9498 #if defined(PROTOBUF_CUSTOM_VTABLE)
9499 &FieldOptions_EditionDefault::SharedDtor,
9500 ::google::protobuf::Message::GetClearImpl<FieldOptions_EditionDefault>(), &FieldOptions_EditionDefault::ByteSizeLong,
9501 &FieldOptions_EditionDefault::_InternalSerialize,
9502 #endif // PROTOBUF_CUSTOM_VTABLE
9503 PROTOBUF_FIELD_OFFSET(FieldOptions_EditionDefault, _impl_._cached_size_),
9504 false,
9505 },
9506 &FieldOptions_EditionDefault::kDescriptorMethods,
9507 &descriptor_table_google_2fprotobuf_2fdescriptor_2eproto,
9508 nullptr, // tracker
9509 };
9510 const ::google::protobuf::internal::ClassData* FieldOptions_EditionDefault::GetClassData() const {
9511 ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_);
9512 ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table);
9513 return _class_data_.base();
9514 }
9515 constexpr ::_pbi::TcParseTable<1, 2, 1, 57, 2> FieldOptions_EditionDefault::_table_ = {
9516 {
9517 PROTOBUF_FIELD_OFFSET(FieldOptions_EditionDefault, _impl_._has_bits_),
9518 0, // no _extensions_
9519 3, 8, // max_field_number, fast_idx_mask
9520 offsetof(decltype(_table_), field_lookup_table),
9521 4294967289, // skipmap
9522 offsetof(decltype(_table_), field_entries),
9523 2, // num_field_entries
9524 1, // num_aux_entries
9525 offsetof(decltype(_table_), aux_entries),
9526 _class_data_.base(),
9527 nullptr, // post_loop_handler
9528 ::_pbi::TcParser::GenericFallback, // fallback
9529 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
9530 ::_pbi::TcParser::GetTable<::google::protobuf::FieldOptions_EditionDefault>(), // to_prefetch
9531 #endif // PROTOBUF_PREFETCH_PARSE_TABLE
9532 }, {{
9533 // optional string value = 2;
9534 {::_pbi::TcParser::FastSS1,
9535 {18, 0, 0, PROTOBUF_FIELD_OFFSET(FieldOptions_EditionDefault, _impl_.value_)}},
9536 // optional .google.protobuf.Edition edition = 3;
9537 {::_pbi::TcParser::FastEvS1,
9538 {24, 1, 0, PROTOBUF_FIELD_OFFSET(FieldOptions_EditionDefault, _impl_.edition_)}},
9539 }}, {{
9540 65535, 65535
9541 }}, {{
9542 // optional string value = 2;
9543 {PROTOBUF_FIELD_OFFSET(FieldOptions_EditionDefault, _impl_.value_), _Internal::kHasBitsOffset + 0, 0,
9544 (0 | ::_fl::kFcOptional | ::_fl::kRawString | ::_fl::kRepAString)},
9545 // optional .google.protobuf.Edition edition = 3;
9546 {PROTOBUF_FIELD_OFFSET(FieldOptions_EditionDefault, _impl_.edition_), _Internal::kHasBitsOffset + 1, 0,
9547 (0 | ::_fl::kFcOptional | ::_fl::kEnum)},
9548 }}, {{
9549 {::_pbi::FieldAuxEnumData{}, ::google::protobuf::Edition_internal_data_},
9550 }}, {{
9551 "\53\5\0\0\0\0\0\0"
9552 "google.protobuf.FieldOptions.EditionDefault"
9553 "value"
9554 }},
9555 };
9556
9557 PROTOBUF_NOINLINE void FieldOptions_EditionDefault::Clear() {
9558 // @@protoc_insertion_point(message_clear_start:google.protobuf.FieldOptions.EditionDefault)
9559 ::google::protobuf::internal::TSanWrite(&_impl_);
9560 ::uint32_t cached_has_bits = 0;
9561 // Prevent compiler warnings about cached_has_bits being unused
9562 (void) cached_has_bits;
9563
9564 cached_has_bits = _impl_._has_bits_[0];
9565 if (cached_has_bits & 0x00000001u) {
9566 _impl_.value_.ClearNonDefaultToEmpty();
9567 }
9568 _impl_.edition_ = 0;
9569 _impl_._has_bits_.Clear();
9570 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
9571 }
9572
9573 #if defined(PROTOBUF_CUSTOM_VTABLE)
9574 ::uint8_t* FieldOptions_EditionDefault::_InternalSerialize(
9575 const MessageLite& base, ::uint8_t* target,
9576 ::google::protobuf::io::EpsCopyOutputStream* stream) {
9577 const FieldOptions_EditionDefault& this_ = static_cast<const FieldOptions_EditionDefault&>(base);
9578 #else // PROTOBUF_CUSTOM_VTABLE
9579 ::uint8_t* FieldOptions_EditionDefault::_InternalSerialize(
9580 ::uint8_t* target,
9581 ::google::protobuf::io::EpsCopyOutputStream* stream) const {
9582 const FieldOptions_EditionDefault& this_ = *this;
9583 #endif // PROTOBUF_CUSTOM_VTABLE
9584 // @@protoc_insertion_point(serialize_to_array_start:google.protobuf.FieldOptions.EditionDefault)
9585 ::uint32_t cached_has_bits = 0;
9586 (void)cached_has_bits;
9587
9588 cached_has_bits = this_._impl_._has_bits_[0];
9589 // optional string value = 2;
9590 if (cached_has_bits & 0x00000001u) {
9591 const std::string& _s = this_._internal_value();
9592 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(_s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormat::SERIALIZE,
9593 "google.protobuf.FieldOptions.EditionDefault.value");
9594 target = stream->WriteStringMaybeAliased(2, _s, target);
9595 }
9596
9597 // optional .google.protobuf.Edition edition = 3;
9598 if (cached_has_bits & 0x00000002u) {
9599 target = stream->EnsureSpace(target);
9600 target = ::_pbi::WireFormatLite::WriteEnumToArray(
9601 3, this_._internal_edition(), target);
9602 }
9603
9604 if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
9605 target =
9606 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
9607 this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
9608 }
9609 // @@protoc_insertion_point(serialize_to_array_end:google.protobuf.FieldOptions.EditionDefault)
9610 return target;
9611 }
9612
9613 #if defined(PROTOBUF_CUSTOM_VTABLE)
9614 ::size_t FieldOptions_EditionDefault::ByteSizeLong(const MessageLite& base) {
9615 const FieldOptions_EditionDefault& this_ = static_cast<const FieldOptions_EditionDefault&>(base);
9616 #else // PROTOBUF_CUSTOM_VTABLE
9617 ::size_t FieldOptions_EditionDefault::ByteSizeLong() const {
9618 const FieldOptions_EditionDefault& this_ = *this;
9619 #endif // PROTOBUF_CUSTOM_VTABLE
9620 // @@protoc_insertion_point(message_byte_size_start:google.protobuf.FieldOptions.EditionDefault)
9621 ::size_t total_size = 0;
9622
9623 ::uint32_t cached_has_bits = 0;
9624 // Prevent compiler warnings about cached_has_bits being unused
9625 (void)cached_has_bits;
9626
9627 ::_pbi::Prefetch5LinesFrom7Lines(&this_);
9628 cached_has_bits = this_._impl_._has_bits_[0];
9629 if (cached_has_bits & 0x00000003u) {
9630 // optional string value = 2;
9631 if (cached_has_bits & 0x00000001u) {
9632 total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
9633 this_._internal_value());
9634 }
9635 // optional .google.protobuf.Edition edition = 3;
9636 if (cached_has_bits & 0x00000002u) {
9637 total_size += 1 +
9638 ::_pbi::WireFormatLite::EnumSize(this_._internal_edition());
9639 }
9640 }
9641 return this_.MaybeComputeUnknownFieldsSize(total_size,
9642 &this_._impl_._cached_size_);
9643 }
9644
9645 void FieldOptions_EditionDefault::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
9646 auto* const _this = static_cast<FieldOptions_EditionDefault*>(&to_msg);
9647 auto& from = static_cast<const FieldOptions_EditionDefault&>(from_msg);
9648 // @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.FieldOptions.EditionDefault)
9649 ABSL_DCHECK_NE(&from, _this);
9650 ::uint32_t cached_has_bits = 0;
9651 (void) cached_has_bits;
9652
9653 cached_has_bits = from._impl_._has_bits_[0];
9654 if (cached_has_bits & 0x00000003u) {
9655 if (cached_has_bits & 0x00000001u) {
9656 _this->_internal_set_value(from._internal_value());
9657 }
9658 if (cached_has_bits & 0x00000002u) {
9659 _this->_impl_.edition_ = from._impl_.edition_;
9660 }
9661 }
9662 _this->_impl_._has_bits_[0] |= cached_has_bits;
9663 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
9664 }
9665
9666 void FieldOptions_EditionDefault::CopyFrom(const FieldOptions_EditionDefault& from) {
9667 // @@protoc_insertion_point(class_specific_copy_from_start:google.protobuf.FieldOptions.EditionDefault)
9668 if (&from == this) return;
9669 Clear();
9670 MergeFrom(from);
9671 }
9672
9673
9674 void FieldOptions_EditionDefault::InternalSwap(FieldOptions_EditionDefault* PROTOBUF_RESTRICT other) {
9675 using std::swap;
9676 auto* arena = GetArena();
9677 ABSL_DCHECK_EQ(arena, other->GetArena());
9678 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
9679 swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
9680 ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.value_, &other->_impl_.value_, arena);
9681 swap(_impl_.edition_, other->_impl_.edition_);
9682 }
9683
9684 ::google::protobuf::Metadata FieldOptions_EditionDefault::GetMetadata() const {
9685 return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
9686 }
9687 // ===================================================================
9688
9689 class FieldOptions_FeatureSupport::_Internal {
9690 public:
9691 using HasBits =
9692 decltype(std::declval<FieldOptions_FeatureSupport>()._impl_._has_bits_);
9693 static constexpr ::int32_t kHasBitsOffset =
9694 8 * PROTOBUF_FIELD_OFFSET(FieldOptions_FeatureSupport, _impl_._has_bits_);
9695 };
9696
9697 FieldOptions_FeatureSupport::FieldOptions_FeatureSupport(::google::protobuf::Arena* arena)
9698 #if defined(PROTOBUF_CUSTOM_VTABLE)
9699 : ::google::protobuf::Message(arena, _class_data_.base()) {
9700 #else // PROTOBUF_CUSTOM_VTABLE
9701 : ::google::protobuf::Message(arena) {
9702 #endif // PROTOBUF_CUSTOM_VTABLE
9703 SharedCtor(arena);
9704 // @@protoc_insertion_point(arena_constructor:google.protobuf.FieldOptions.FeatureSupport)
9705 }
9706 inline PROTOBUF_NDEBUG_INLINE FieldOptions_FeatureSupport::Impl_::Impl_(
9707 ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena,
9708 const Impl_& from, const ::google::protobuf::FieldOptions_FeatureSupport& from_msg)
9709 : _has_bits_{from._has_bits_},
9710 _cached_size_{0},
9711 deprecation_warning_(arena, from.deprecation_warning_) {}
9712
9713 FieldOptions_FeatureSupport::FieldOptions_FeatureSupport(
9714 ::google::protobuf::Arena* arena,
9715 const FieldOptions_FeatureSupport& from)
9716 #if defined(PROTOBUF_CUSTOM_VTABLE)
9717 : ::google::protobuf::Message(arena, _class_data_.base()) {
9718 #else // PROTOBUF_CUSTOM_VTABLE
9719 : ::google::protobuf::Message(arena) {
9720 #endif // PROTOBUF_CUSTOM_VTABLE
9721 FieldOptions_FeatureSupport* const _this = this;
9722 (void)_this;
9723 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
9724 from._internal_metadata_);
9725 new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
9726 ::memcpy(reinterpret_cast<char *>(&_impl_) +
9727 offsetof(Impl_, edition_introduced_),
9728 reinterpret_cast<const char *>(&from._impl_) +
9729 offsetof(Impl_, edition_introduced_),
9730 offsetof(Impl_, edition_removed_) -
9731 offsetof(Impl_, edition_introduced_) +
9732 sizeof(Impl_::edition_removed_));
9733
9734 // @@protoc_insertion_point(copy_constructor:google.protobuf.FieldOptions.FeatureSupport)
9735 }
9736 inline PROTOBUF_NDEBUG_INLINE FieldOptions_FeatureSupport::Impl_::Impl_(
9737 ::google::protobuf::internal::InternalVisibility visibility,
9738 ::google::protobuf::Arena* arena)
9739 : _cached_size_{0},
9740 deprecation_warning_(arena) {}
9741
9742 inline void FieldOptions_FeatureSupport::SharedCtor(::_pb::Arena* arena) {
9743 new (&_impl_) Impl_(internal_visibility(), arena);
9744 ::memset(reinterpret_cast<char *>(&_impl_) +
9745 offsetof(Impl_, edition_introduced_),
9746 0,
9747 offsetof(Impl_, edition_removed_) -
9748 offsetof(Impl_, edition_introduced_) +
9749 sizeof(Impl_::edition_removed_));
9750 }
9751 FieldOptions_FeatureSupport::~FieldOptions_FeatureSupport() {
9752 // @@protoc_insertion_point(destructor:google.protobuf.FieldOptions.FeatureSupport)
9753 SharedDtor(*this);
9754 }
9755 inline void FieldOptions_FeatureSupport::SharedDtor(MessageLite& self) {
9756 FieldOptions_FeatureSupport& this_ = static_cast<FieldOptions_FeatureSupport&>(self);
9757 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
9758 ABSL_DCHECK(this_.GetArena() == nullptr);
9759 this_._impl_.deprecation_warning_.Destroy();
9760 this_._impl_.~Impl_();
9761 }
9762
9763 inline void* FieldOptions_FeatureSupport::PlacementNew_(const void*, void* mem,
9764 ::google::protobuf::Arena* arena) {
9765 return ::new (mem) FieldOptions_FeatureSupport(arena);
9766 }
9767 constexpr auto FieldOptions_FeatureSupport::InternalNewImpl_() {
9768 return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(FieldOptions_FeatureSupport),
9769 alignof(FieldOptions_FeatureSupport));
9770 }
9771 PROTOBUF_CONSTINIT
9772 PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
9773 const ::google::protobuf::internal::ClassDataFull FieldOptions_FeatureSupport::_class_data_ = {
9774 ::google::protobuf::internal::ClassData{
9775 &_FieldOptions_FeatureSupport_default_instance_._instance,
9776 &_table_.header,
9777 nullptr, // OnDemandRegisterArenaDtor
9778 nullptr, // IsInitialized
9779 &FieldOptions_FeatureSupport::MergeImpl,
9780 ::google::protobuf::Message::GetNewImpl<FieldOptions_FeatureSupport>(),
9781 #if defined(PROTOBUF_CUSTOM_VTABLE)
9782 &FieldOptions_FeatureSupport::SharedDtor,
9783 ::google::protobuf::Message::GetClearImpl<FieldOptions_FeatureSupport>(), &FieldOptions_FeatureSupport::ByteSizeLong,
9784 &FieldOptions_FeatureSupport::_InternalSerialize,
9785 #endif // PROTOBUF_CUSTOM_VTABLE
9786 PROTOBUF_FIELD_OFFSET(FieldOptions_FeatureSupport, _impl_._cached_size_),
9787 false,
9788 },
9789 &FieldOptions_FeatureSupport::kDescriptorMethods,
9790 &descriptor_table_google_2fprotobuf_2fdescriptor_2eproto,
9791 nullptr, // tracker
9792 };
9793 const ::google::protobuf::internal::ClassData* FieldOptions_FeatureSupport::GetClassData() const {
9794 ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_);
9795 ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table);
9796 return _class_data_.base();
9797 }
9798 constexpr ::_pbi::TcParseTable<2, 4, 3, 71, 2> FieldOptions_FeatureSupport::_table_ = {
9799 {
9800 PROTOBUF_FIELD_OFFSET(FieldOptions_FeatureSupport, _impl_._has_bits_),
9801 0, // no _extensions_
9802 4, 24, // max_field_number, fast_idx_mask
9803 offsetof(decltype(_table_), field_lookup_table),
9804 4294967280, // skipmap
9805 offsetof(decltype(_table_), field_entries),
9806 4, // num_field_entries
9807 3, // num_aux_entries
9808 offsetof(decltype(_table_), aux_entries),
9809 _class_data_.base(),
9810 nullptr, // post_loop_handler
9811 ::_pbi::TcParser::GenericFallback, // fallback
9812 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
9813 ::_pbi::TcParser::GetTable<::google::protobuf::FieldOptions_FeatureSupport>(), // to_prefetch
9814 #endif // PROTOBUF_PREFETCH_PARSE_TABLE
9815 }, {{
9816 // optional .google.protobuf.Edition edition_removed = 4;
9817 {::_pbi::TcParser::FastEvS1,
9818 {32, 3, 2, PROTOBUF_FIELD_OFFSET(FieldOptions_FeatureSupport, _impl_.edition_removed_)}},
9819 // optional .google.protobuf.Edition edition_introduced = 1;
9820 {::_pbi::TcParser::FastEvS1,
9821 {8, 1, 0, PROTOBUF_FIELD_OFFSET(FieldOptions_FeatureSupport, _impl_.edition_introduced_)}},
9822 // optional .google.protobuf.Edition edition_deprecated = 2;
9823 {::_pbi::TcParser::FastEvS1,
9824 {16, 2, 1, PROTOBUF_FIELD_OFFSET(FieldOptions_FeatureSupport, _impl_.edition_deprecated_)}},
9825 // optional string deprecation_warning = 3;
9826 {::_pbi::TcParser::FastSS1,
9827 {26, 0, 0, PROTOBUF_FIELD_OFFSET(FieldOptions_FeatureSupport, _impl_.deprecation_warning_)}},
9828 }}, {{
9829 65535, 65535
9830 }}, {{
9831 // optional .google.protobuf.Edition edition_introduced = 1;
9832 {PROTOBUF_FIELD_OFFSET(FieldOptions_FeatureSupport, _impl_.edition_introduced_), _Internal::kHasBitsOffset + 1, 0,
9833 (0 | ::_fl::kFcOptional | ::_fl::kEnum)},
9834 // optional .google.protobuf.Edition edition_deprecated = 2;
9835 {PROTOBUF_FIELD_OFFSET(FieldOptions_FeatureSupport, _impl_.edition_deprecated_), _Internal::kHasBitsOffset + 2, 1,
9836 (0 | ::_fl::kFcOptional | ::_fl::kEnum)},
9837 // optional string deprecation_warning = 3;
9838 {PROTOBUF_FIELD_OFFSET(FieldOptions_FeatureSupport, _impl_.deprecation_warning_), _Internal::kHasBitsOffset + 0, 0,
9839 (0 | ::_fl::kFcOptional | ::_fl::kRawString | ::_fl::kRepAString)},
9840 // optional .google.protobuf.Edition edition_removed = 4;
9841 {PROTOBUF_FIELD_OFFSET(FieldOptions_FeatureSupport, _impl_.edition_removed_), _Internal::kHasBitsOffset + 3, 2,
9842 (0 | ::_fl::kFcOptional | ::_fl::kEnum)},
9843 }}, {{
9844 {::_pbi::FieldAuxEnumData{}, ::google::protobuf::Edition_internal_data_},
9845 {::_pbi::FieldAuxEnumData{}, ::google::protobuf::Edition_internal_data_},
9846 {::_pbi::FieldAuxEnumData{}, ::google::protobuf::Edition_internal_data_},
9847 }}, {{
9848 "\53\0\0\23\0\0\0\0"
9849 "google.protobuf.FieldOptions.FeatureSupport"
9850 "deprecation_warning"
9851 }},
9852 };
9853
9854 PROTOBUF_NOINLINE void FieldOptions_FeatureSupport::Clear() {
9855 // @@protoc_insertion_point(message_clear_start:google.protobuf.FieldOptions.FeatureSupport)
9856 ::google::protobuf::internal::TSanWrite(&_impl_);
9857 ::uint32_t cached_has_bits = 0;
9858 // Prevent compiler warnings about cached_has_bits being unused
9859 (void) cached_has_bits;
9860
9861 cached_has_bits = _impl_._has_bits_[0];
9862 if (cached_has_bits & 0x00000001u) {
9863 _impl_.deprecation_warning_.ClearNonDefaultToEmpty();
9864 }
9865 if (cached_has_bits & 0x0000000eu) {
9866 ::memset(&_impl_.edition_introduced_, 0, static_cast<::size_t>(
9867 reinterpret_cast<char*>(&_impl_.edition_removed_) -
9868 reinterpret_cast<char*>(&_impl_.edition_introduced_)) + sizeof(_impl_.edition_removed_));
9869 }
9870 _impl_._has_bits_.Clear();
9871 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
9872 }
9873
9874 #if defined(PROTOBUF_CUSTOM_VTABLE)
9875 ::uint8_t* FieldOptions_FeatureSupport::_InternalSerialize(
9876 const MessageLite& base, ::uint8_t* target,
9877 ::google::protobuf::io::EpsCopyOutputStream* stream) {
9878 const FieldOptions_FeatureSupport& this_ = static_cast<const FieldOptions_FeatureSupport&>(base);
9879 #else // PROTOBUF_CUSTOM_VTABLE
9880 ::uint8_t* FieldOptions_FeatureSupport::_InternalSerialize(
9881 ::uint8_t* target,
9882 ::google::protobuf::io::EpsCopyOutputStream* stream) const {
9883 const FieldOptions_FeatureSupport& this_ = *this;
9884 #endif // PROTOBUF_CUSTOM_VTABLE
9885 // @@protoc_insertion_point(serialize_to_array_start:google.protobuf.FieldOptions.FeatureSupport)
9886 ::uint32_t cached_has_bits = 0;
9887 (void)cached_has_bits;
9888
9889 cached_has_bits = this_._impl_._has_bits_[0];
9890 // optional .google.protobuf.Edition edition_introduced = 1;
9891 if (cached_has_bits & 0x00000002u) {
9892 target = stream->EnsureSpace(target);
9893 target = ::_pbi::WireFormatLite::WriteEnumToArray(
9894 1, this_._internal_edition_introduced(), target);
9895 }
9896
9897 // optional .google.protobuf.Edition edition_deprecated = 2;
9898 if (cached_has_bits & 0x00000004u) {
9899 target = stream->EnsureSpace(target);
9900 target = ::_pbi::WireFormatLite::WriteEnumToArray(
9901 2, this_._internal_edition_deprecated(), target);
9902 }
9903
9904 // optional string deprecation_warning = 3;
9905 if (cached_has_bits & 0x00000001u) {
9906 const std::string& _s = this_._internal_deprecation_warning();
9907 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(_s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormat::SERIALIZE,
9908 "google.protobuf.FieldOptions.FeatureSupport.deprecation_warning");
9909 target = stream->WriteStringMaybeAliased(3, _s, target);
9910 }
9911
9912 // optional .google.protobuf.Edition edition_removed = 4;
9913 if (cached_has_bits & 0x00000008u) {
9914 target = stream->EnsureSpace(target);
9915 target = ::_pbi::WireFormatLite::WriteEnumToArray(
9916 4, this_._internal_edition_removed(), target);
9917 }
9918
9919 if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
9920 target =
9921 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
9922 this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
9923 }
9924 // @@protoc_insertion_point(serialize_to_array_end:google.protobuf.FieldOptions.FeatureSupport)
9925 return target;
9926 }
9927
9928 #if defined(PROTOBUF_CUSTOM_VTABLE)
9929 ::size_t FieldOptions_FeatureSupport::ByteSizeLong(const MessageLite& base) {
9930 const FieldOptions_FeatureSupport& this_ = static_cast<const FieldOptions_FeatureSupport&>(base);
9931 #else // PROTOBUF_CUSTOM_VTABLE
9932 ::size_t FieldOptions_FeatureSupport::ByteSizeLong() const {
9933 const FieldOptions_FeatureSupport& this_ = *this;
9934 #endif // PROTOBUF_CUSTOM_VTABLE
9935 // @@protoc_insertion_point(message_byte_size_start:google.protobuf.FieldOptions.FeatureSupport)
9936 ::size_t total_size = 0;
9937
9938 ::uint32_t cached_has_bits = 0;
9939 // Prevent compiler warnings about cached_has_bits being unused
9940 (void)cached_has_bits;
9941
9942 ::_pbi::Prefetch5LinesFrom7Lines(&this_);
9943 cached_has_bits = this_._impl_._has_bits_[0];
9944 if (cached_has_bits & 0x0000000fu) {
9945 // optional string deprecation_warning = 3;
9946 if (cached_has_bits & 0x00000001u) {
9947 total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
9948 this_._internal_deprecation_warning());
9949 }
9950 // optional .google.protobuf.Edition edition_introduced = 1;
9951 if (cached_has_bits & 0x00000002u) {
9952 total_size += 1 +
9953 ::_pbi::WireFormatLite::EnumSize(this_._internal_edition_introduced());
9954 }
9955 // optional .google.protobuf.Edition edition_deprecated = 2;
9956 if (cached_has_bits & 0x00000004u) {
9957 total_size += 1 +
9958 ::_pbi::WireFormatLite::EnumSize(this_._internal_edition_deprecated());
9959 }
9960 // optional .google.protobuf.Edition edition_removed = 4;
9961 if (cached_has_bits & 0x00000008u) {
9962 total_size += 1 +
9963 ::_pbi::WireFormatLite::EnumSize(this_._internal_edition_removed());
9964 }
9965 }
9966 return this_.MaybeComputeUnknownFieldsSize(total_size,
9967 &this_._impl_._cached_size_);
9968 }
9969
9970 void FieldOptions_FeatureSupport::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
9971 auto* const _this = static_cast<FieldOptions_FeatureSupport*>(&to_msg);
9972 auto& from = static_cast<const FieldOptions_FeatureSupport&>(from_msg);
9973 // @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.FieldOptions.FeatureSupport)
9974 ABSL_DCHECK_NE(&from, _this);
9975 ::uint32_t cached_has_bits = 0;
9976 (void) cached_has_bits;
9977
9978 cached_has_bits = from._impl_._has_bits_[0];
9979 if (cached_has_bits & 0x0000000fu) {
9980 if (cached_has_bits & 0x00000001u) {
9981 _this->_internal_set_deprecation_warning(from._internal_deprecation_warning());
9982 }
9983 if (cached_has_bits & 0x00000002u) {
9984 _this->_impl_.edition_introduced_ = from._impl_.edition_introduced_;
9985 }
9986 if (cached_has_bits & 0x00000004u) {
9987 _this->_impl_.edition_deprecated_ = from._impl_.edition_deprecated_;
9988 }
9989 if (cached_has_bits & 0x00000008u) {
9990 _this->_impl_.edition_removed_ = from._impl_.edition_removed_;
9991 }
9992 }
9993 _this->_impl_._has_bits_[0] |= cached_has_bits;
9994 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
9995 }
9996
9997 void FieldOptions_FeatureSupport::CopyFrom(const FieldOptions_FeatureSupport& from) {
9998 // @@protoc_insertion_point(class_specific_copy_from_start:google.protobuf.FieldOptions.FeatureSupport)
9999 if (&from == this) return;
10000 Clear();
10001 MergeFrom(from);
10002 }
10003
10004
10005 void FieldOptions_FeatureSupport::InternalSwap(FieldOptions_FeatureSupport* PROTOBUF_RESTRICT other) {
10006 using std::swap;
10007 auto* arena = GetArena();
10008 ABSL_DCHECK_EQ(arena, other->GetArena());
10009 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
10010 swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
10011 ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.deprecation_warning_, &other->_impl_.deprecation_warning_, arena);
10012 ::google::protobuf::internal::memswap<
10013 PROTOBUF_FIELD_OFFSET(FieldOptions_FeatureSupport, _impl_.edition_removed_)
10014 + sizeof(FieldOptions_FeatureSupport::_impl_.edition_removed_)
10015 - PROTOBUF_FIELD_OFFSET(FieldOptions_FeatureSupport, _impl_.edition_introduced_)>(
10016 reinterpret_cast<char*>(&_impl_.edition_introduced_),
10017 reinterpret_cast<char*>(&other->_impl_.edition_introduced_));
10018 }
10019
10020 ::google::protobuf::Metadata FieldOptions_FeatureSupport::GetMetadata() const {
10021 return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
10022 }
10023 // ===================================================================
10024
10025 class FieldOptions::_Internal {
10026 public:
10027 using HasBits =
10028 decltype(std::declval<FieldOptions>()._impl_._has_bits_);
10029 static constexpr ::int32_t kHasBitsOffset =
10030 8 * PROTOBUF_FIELD_OFFSET(FieldOptions, _impl_._has_bits_);
10031 };
10032
10033 FieldOptions::FieldOptions(::google::protobuf::Arena* arena)
10034 #if defined(PROTOBUF_CUSTOM_VTABLE)
10035 : ::google::protobuf::Message(arena, _class_data_.base()) {
10036 #else // PROTOBUF_CUSTOM_VTABLE
10037 : ::google::protobuf::Message(arena) {
10038 #endif // PROTOBUF_CUSTOM_VTABLE
10039 SharedCtor(arena);
10040 // @@protoc_insertion_point(arena_constructor:google.protobuf.FieldOptions)
10041 }
10042 inline PROTOBUF_NDEBUG_INLINE FieldOptions::Impl_::Impl_(
10043 ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena,
10044 const Impl_& from, const ::google::protobuf::FieldOptions& from_msg)
10045 : _extensions_{visibility, arena},
10046 _has_bits_{from._has_bits_},
10047 _cached_size_{0},
10048 targets_{visibility, arena, from.targets_},
10049 edition_defaults_{visibility, arena, from.edition_defaults_},
10050 uninterpreted_option_{visibility, arena, from.uninterpreted_option_} {}
10051
10052 FieldOptions::FieldOptions(
10053 ::google::protobuf::Arena* arena,
10054 const FieldOptions& from)
10055 #if defined(PROTOBUF_CUSTOM_VTABLE)
10056 : ::google::protobuf::Message(arena, _class_data_.base()) {
10057 #else // PROTOBUF_CUSTOM_VTABLE
10058 : ::google::protobuf::Message(arena) {
10059 #endif // PROTOBUF_CUSTOM_VTABLE
10060 FieldOptions* const _this = this;
10061 (void)_this;
10062 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
10063 from._internal_metadata_);
10064 new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
10065 _impl_._extensions_.MergeFrom(this, from._impl_._extensions_);
10066 ::uint32_t cached_has_bits = _impl_._has_bits_[0];
10067 _impl_.features_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::google::protobuf::FeatureSet>(
10068 arena, *from._impl_.features_)
10069 : nullptr;
10070 _impl_.feature_support_ = (cached_has_bits & 0x00000002u) ? ::google::protobuf::Message::CopyConstruct<::google::protobuf::FieldOptions_FeatureSupport>(
10071 arena, *from._impl_.feature_support_)
10072 : nullptr;
10073 ::memcpy(reinterpret_cast<char *>(&_impl_) +
10074 offsetof(Impl_, ctype_),
10075 reinterpret_cast<const char *>(&from._impl_) +
10076 offsetof(Impl_, ctype_),
10077 offsetof(Impl_, retention_) -
10078 offsetof(Impl_, ctype_) +
10079 sizeof(Impl_::retention_));
10080
10081 // @@protoc_insertion_point(copy_constructor:google.protobuf.FieldOptions)
10082 }
10083 inline PROTOBUF_NDEBUG_INLINE FieldOptions::Impl_::Impl_(
10084 ::google::protobuf::internal::InternalVisibility visibility,
10085 ::google::protobuf::Arena* arena)
10086 : _extensions_{visibility, arena},
10087 _cached_size_{0},
10088 targets_{visibility, arena},
10089 edition_defaults_{visibility, arena},
10090 uninterpreted_option_{visibility, arena} {}
10091
10092 inline void FieldOptions::SharedCtor(::_pb::Arena* arena) {
10093 new (&_impl_) Impl_(internal_visibility(), arena);
10094 ::memset(reinterpret_cast<char *>(&_impl_) +
10095 offsetof(Impl_, features_),
10096 0,
10097 offsetof(Impl_, retention_) -
10098 offsetof(Impl_, features_) +
10099 sizeof(Impl_::retention_));
10100 }
10101 FieldOptions::~FieldOptions() {
10102 // @@protoc_insertion_point(destructor:google.protobuf.FieldOptions)
10103 SharedDtor(*this);
10104 }
10105 inline void FieldOptions::SharedDtor(MessageLite& self) {
10106 FieldOptions& this_ = static_cast<FieldOptions&>(self);
10107 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
10108 ABSL_DCHECK(this_.GetArena() == nullptr);
10109 delete this_._impl_.features_;
10110 delete this_._impl_.feature_support_;
10111 this_._impl_.~Impl_();
10112 }
10113
10114 inline void* FieldOptions::PlacementNew_(const void*, void* mem,
10115 ::google::protobuf::Arena* arena) {
10116 return ::new (mem) FieldOptions(arena);
10117 }
10118 constexpr auto FieldOptions::InternalNewImpl_() {
10119 constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({
10120 PROTOBUF_FIELD_OFFSET(FieldOptions, _impl_._extensions_) +
10121 decltype(FieldOptions::_impl_._extensions_)::InternalGetArenaOffset(
10122 ::google::protobuf::Message::internal_visibility()),
10123 PROTOBUF_FIELD_OFFSET(FieldOptions, _impl_.targets_) +
10124 decltype(FieldOptions::_impl_.targets_)::
10125 InternalGetArenaOffset(
10126 ::google::protobuf::Message::internal_visibility()),
10127 PROTOBUF_FIELD_OFFSET(FieldOptions, _impl_.edition_defaults_) +
10128 decltype(FieldOptions::_impl_.edition_defaults_)::
10129 InternalGetArenaOffset(
10130 ::google::protobuf::Message::internal_visibility()),
10131 PROTOBUF_FIELD_OFFSET(FieldOptions, _impl_.uninterpreted_option_) +
10132 decltype(FieldOptions::_impl_.uninterpreted_option_)::
10133 InternalGetArenaOffset(
10134 ::google::protobuf::Message::internal_visibility()),
10135 });
10136 if (arena_bits.has_value()) {
10137 return ::google::protobuf::internal::MessageCreator::ZeroInit(
10138 sizeof(FieldOptions), alignof(FieldOptions), *arena_bits);
10139 } else {
10140 return ::google::protobuf::internal::MessageCreator(&FieldOptions::PlacementNew_,
10141 sizeof(FieldOptions),
10142 alignof(FieldOptions));
10143 }
10144 }
10145 PROTOBUF_CONSTINIT
10146 PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
10147 const ::google::protobuf::internal::ClassDataFull FieldOptions::_class_data_ = {
10148 ::google::protobuf::internal::ClassData{
10149 &_FieldOptions_default_instance_._instance,
10150 &_table_.header,
10151 nullptr, // OnDemandRegisterArenaDtor
10152 FieldOptions::IsInitializedImpl,
10153 &FieldOptions::MergeImpl,
10154 ::google::protobuf::Message::GetNewImpl<FieldOptions>(),
10155 #if defined(PROTOBUF_CUSTOM_VTABLE)
10156 &FieldOptions::SharedDtor,
10157 ::google::protobuf::Message::GetClearImpl<FieldOptions>(), &FieldOptions::ByteSizeLong,
10158 &FieldOptions::_InternalSerialize,
10159 #endif // PROTOBUF_CUSTOM_VTABLE
10160 PROTOBUF_FIELD_OFFSET(FieldOptions, _impl_._cached_size_),
10161 false,
10162 },
10163 &FieldOptions::kDescriptorMethods,
10164 &descriptor_table_google_2fprotobuf_2fdescriptor_2eproto,
10165 nullptr, // tracker
10166 };
10167 const ::google::protobuf::internal::ClassData* FieldOptions::GetClassData() const {
10168 ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_);
10169 ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table);
10170 return _class_data_.base();
10171 }
10172 constexpr ::_pbi::TcParseTable<4, 14, 8, 0, 7> FieldOptions::_table_ = {
10173 {
10174 PROTOBUF_FIELD_OFFSET(FieldOptions, _impl_._has_bits_),
10175 PROTOBUF_FIELD_OFFSET(FieldOptions, _impl_._extensions_),
10176 999, 120, // max_field_number, fast_idx_mask
10177 offsetof(decltype(_table_), field_lookup_table),
10178 4290919880, // skipmap
10179 offsetof(decltype(_table_), field_entries),
10180 14, // num_field_entries
10181 8, // num_aux_entries
10182 offsetof(decltype(_table_), aux_entries),
10183 _class_data_.base(),
10184 nullptr, // post_loop_handler
10185 ::_pbi::TcParser::GenericFallback, // fallback
10186 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
10187 ::_pbi::TcParser::GetTable<::google::protobuf::FieldOptions>(), // to_prefetch
10188 #endif // PROTOBUF_PREFETCH_PARSE_TABLE
10189 }, {{
10190 // optional bool debug_redact = 16 [default = false];
10191 {::_pbi::TcParser::FastV8S2,
10192 {384, 9, 0, PROTOBUF_FIELD_OFFSET(FieldOptions, _impl_.debug_redact_)}},
10193 // optional .google.protobuf.FieldOptions.CType ctype = 1 [default = STRING];
10194 {::_pbi::TcParser::FastEr0S1,
10195 {8, 2, 2, PROTOBUF_FIELD_OFFSET(FieldOptions, _impl_.ctype_)}},
10196 // optional bool packed = 2;
10197 {::_pbi::TcParser::SingularVarintNoZag1<bool, offsetof(FieldOptions, _impl_.packed_), 4>(),
10198 {16, 4, 0, PROTOBUF_FIELD_OFFSET(FieldOptions, _impl_.packed_)}},
10199 // optional bool deprecated = 3 [default = false];
10200 {::_pbi::TcParser::SingularVarintNoZag1<bool, offsetof(FieldOptions, _impl_.deprecated_), 7>(),
10201 {24, 7, 0, PROTOBUF_FIELD_OFFSET(FieldOptions, _impl_.deprecated_)}},
10202 // repeated .google.protobuf.FieldOptions.EditionDefault edition_defaults = 20;
10203 {::_pbi::TcParser::FastMtR2,
10204 {418, 63, 0, PROTOBUF_FIELD_OFFSET(FieldOptions, _impl_.edition_defaults_)}},
10205 // optional bool lazy = 5 [default = false];
10206 {::_pbi::TcParser::SingularVarintNoZag1<bool, offsetof(FieldOptions, _impl_.lazy_), 5>(),
10207 {40, 5, 0, PROTOBUF_FIELD_OFFSET(FieldOptions, _impl_.lazy_)}},
10208 // optional .google.protobuf.FieldOptions.JSType jstype = 6 [default = JS_NORMAL];
10209 {::_pbi::TcParser::FastEr0S1,
10210 {48, 3, 2, PROTOBUF_FIELD_OFFSET(FieldOptions, _impl_.jstype_)}},
10211 // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
10212 {::_pbi::TcParser::FastMtR2,
10213 {16058, 63, 3, PROTOBUF_FIELD_OFFSET(FieldOptions, _impl_.uninterpreted_option_)}},
10214 {::_pbi::TcParser::MiniParse, {}},
10215 {::_pbi::TcParser::MiniParse, {}},
10216 // optional bool weak = 10 [default = false];
10217 {::_pbi::TcParser::SingularVarintNoZag1<bool, offsetof(FieldOptions, _impl_.weak_), 8>(),
10218 {80, 8, 0, PROTOBUF_FIELD_OFFSET(FieldOptions, _impl_.weak_)}},
10219 {::_pbi::TcParser::MiniParse, {}},
10220 {::_pbi::TcParser::MiniParse, {}},
10221 {::_pbi::TcParser::MiniParse, {}},
10222 {::_pbi::TcParser::MiniParse, {}},
10223 // optional bool unverified_lazy = 15 [default = false];
10224 {::_pbi::TcParser::SingularVarintNoZag1<bool, offsetof(FieldOptions, _impl_.unverified_lazy_), 6>(),
10225 {120, 6, 0, PROTOBUF_FIELD_OFFSET(FieldOptions, _impl_.unverified_lazy_)}},
10226 }}, {{
10227 999, 0, 1,
10228 65534, 13,
10229 65535, 65535
10230 }}, {{
10231 // optional .google.protobuf.FieldOptions.CType ctype = 1 [default = STRING];
10232 {PROTOBUF_FIELD_OFFSET(FieldOptions, _impl_.ctype_), _Internal::kHasBitsOffset + 2, 4,
10233 (0 | ::_fl::kFcOptional | ::_fl::kEnumRange)},
10234 // optional bool packed = 2;
10235 {PROTOBUF_FIELD_OFFSET(FieldOptions, _impl_.packed_), _Internal::kHasBitsOffset + 4, 0,
10236 (0 | ::_fl::kFcOptional | ::_fl::kBool)},
10237 // optional bool deprecated = 3 [default = false];
10238 {PROTOBUF_FIELD_OFFSET(FieldOptions, _impl_.deprecated_), _Internal::kHasBitsOffset + 7, 0,
10239 (0 | ::_fl::kFcOptional | ::_fl::kBool)},
10240 // optional bool lazy = 5 [default = false];
10241 {PROTOBUF_FIELD_OFFSET(FieldOptions, _impl_.lazy_), _Internal::kHasBitsOffset + 5, 0,
10242 (0 | ::_fl::kFcOptional | ::_fl::kBool)},
10243 // optional .google.protobuf.FieldOptions.JSType jstype = 6 [default = JS_NORMAL];
10244 {PROTOBUF_FIELD_OFFSET(FieldOptions, _impl_.jstype_), _Internal::kHasBitsOffset + 3, 5,
10245 (0 | ::_fl::kFcOptional | ::_fl::kEnumRange)},
10246 // optional bool weak = 10 [default = false];
10247 {PROTOBUF_FIELD_OFFSET(FieldOptions, _impl_.weak_), _Internal::kHasBitsOffset + 8, 0,
10248 (0 | ::_fl::kFcOptional | ::_fl::kBool)},
10249 // optional bool unverified_lazy = 15 [default = false];
10250 {PROTOBUF_FIELD_OFFSET(FieldOptions, _impl_.unverified_lazy_), _Internal::kHasBitsOffset + 6, 0,
10251 (0 | ::_fl::kFcOptional | ::_fl::kBool)},
10252 // optional bool debug_redact = 16 [default = false];
10253 {PROTOBUF_FIELD_OFFSET(FieldOptions, _impl_.debug_redact_), _Internal::kHasBitsOffset + 9, 0,
10254 (0 | ::_fl::kFcOptional | ::_fl::kBool)},
10255 // optional .google.protobuf.FieldOptions.OptionRetention retention = 17;
10256 {PROTOBUF_FIELD_OFFSET(FieldOptions, _impl_.retention_), _Internal::kHasBitsOffset + 10, 6,
10257 (0 | ::_fl::kFcOptional | ::_fl::kEnumRange)},
10258 // repeated .google.protobuf.FieldOptions.OptionTargetType targets = 19;
10259 {PROTOBUF_FIELD_OFFSET(FieldOptions, _impl_.targets_), -1, 7,
10260 (0 | ::_fl::kFcRepeated | ::_fl::kEnumRange)},
10261 // repeated .google.protobuf.FieldOptions.EditionDefault edition_defaults = 20;
10262 {PROTOBUF_FIELD_OFFSET(FieldOptions, _impl_.edition_defaults_), -1, 0,
10263 (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
10264 // optional .google.protobuf.FeatureSet features = 21;
10265 {PROTOBUF_FIELD_OFFSET(FieldOptions, _impl_.features_), _Internal::kHasBitsOffset + 0, 1,
10266 (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
10267 // optional .google.protobuf.FieldOptions.FeatureSupport feature_support = 22;
10268 {PROTOBUF_FIELD_OFFSET(FieldOptions, _impl_.feature_support_), _Internal::kHasBitsOffset + 1, 2,
10269 (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
10270 // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
10271 {PROTOBUF_FIELD_OFFSET(FieldOptions, _impl_.uninterpreted_option_), -1, 3,
10272 (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
10273 }}, {{
10274 {::_pbi::TcParser::GetTable<::google::protobuf::FieldOptions_EditionDefault>()},
10275 {::_pbi::TcParser::GetTable<::google::protobuf::FeatureSet>()},
10276 {::_pbi::TcParser::GetTable<::google::protobuf::FieldOptions_FeatureSupport>()},
10277 {::_pbi::TcParser::GetTable<::google::protobuf::UninterpretedOption>()},
10278 {0, 3},
10279 {0, 3},
10280 {0, 3},
10281 {0, 10},
10282 }}, {{
10283 }},
10284 };
10285
10286 PROTOBUF_NOINLINE void FieldOptions::Clear() {
10287 // @@protoc_insertion_point(message_clear_start:google.protobuf.FieldOptions)
10288 ::google::protobuf::internal::TSanWrite(&_impl_);
10289 ::uint32_t cached_has_bits = 0;
10290 // Prevent compiler warnings about cached_has_bits being unused
10291 (void) cached_has_bits;
10292
10293 _impl_._extensions_.Clear();
10294 _impl_.targets_.Clear();
10295 _impl_.edition_defaults_.Clear();
10296 _impl_.uninterpreted_option_.Clear();
10297 cached_has_bits = _impl_._has_bits_[0];
10298 if (cached_has_bits & 0x00000003u) {
10299 if (cached_has_bits & 0x00000001u) {
10300 ABSL_DCHECK(_impl_.features_ != nullptr);
10301 _impl_.features_->Clear();
10302 }
10303 if (cached_has_bits & 0x00000002u) {
10304 ABSL_DCHECK(_impl_.feature_support_ != nullptr);
10305 _impl_.feature_support_->Clear();
10306 }
10307 }
10308 if (cached_has_bits & 0x000000fcu) {
10309 ::memset(&_impl_.ctype_, 0, static_cast<::size_t>(
10310 reinterpret_cast<char*>(&_impl_.deprecated_) -
10311 reinterpret_cast<char*>(&_impl_.ctype_)) + sizeof(_impl_.deprecated_));
10312 }
10313 if (cached_has_bits & 0x00000700u) {
10314 ::memset(&_impl_.weak_, 0, static_cast<::size_t>(
10315 reinterpret_cast<char*>(&_impl_.retention_) -
10316 reinterpret_cast<char*>(&_impl_.weak_)) + sizeof(_impl_.retention_));
10317 }
10318 _impl_._has_bits_.Clear();
10319 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
10320 }
10321
10322 #if defined(PROTOBUF_CUSTOM_VTABLE)
10323 ::uint8_t* FieldOptions::_InternalSerialize(
10324 const MessageLite& base, ::uint8_t* target,
10325 ::google::protobuf::io::EpsCopyOutputStream* stream) {
10326 const FieldOptions& this_ = static_cast<const FieldOptions&>(base);
10327 #else // PROTOBUF_CUSTOM_VTABLE
10328 ::uint8_t* FieldOptions::_InternalSerialize(
10329 ::uint8_t* target,
10330 ::google::protobuf::io::EpsCopyOutputStream* stream) const {
10331 const FieldOptions& this_ = *this;
10332 #endif // PROTOBUF_CUSTOM_VTABLE
10333 // @@protoc_insertion_point(serialize_to_array_start:google.protobuf.FieldOptions)
10334 ::uint32_t cached_has_bits = 0;
10335 (void)cached_has_bits;
10336
10337 cached_has_bits = this_._impl_._has_bits_[0];
10338 // optional .google.protobuf.FieldOptions.CType ctype = 1 [default = STRING];
10339 if (cached_has_bits & 0x00000004u) {
10340 target = stream->EnsureSpace(target);
10341 target = ::_pbi::WireFormatLite::WriteEnumToArray(
10342 1, this_._internal_ctype(), target);
10343 }
10344
10345 // optional bool packed = 2;
10346 if (cached_has_bits & 0x00000010u) {
10347 target = stream->EnsureSpace(target);
10348 target = ::_pbi::WireFormatLite::WriteBoolToArray(
10349 2, this_._internal_packed(), target);
10350 }
10351
10352 // optional bool deprecated = 3 [default = false];
10353 if (cached_has_bits & 0x00000080u) {
10354 target = stream->EnsureSpace(target);
10355 target = ::_pbi::WireFormatLite::WriteBoolToArray(
10356 3, this_._internal_deprecated(), target);
10357 }
10358
10359 // optional bool lazy = 5 [default = false];
10360 if (cached_has_bits & 0x00000020u) {
10361 target = stream->EnsureSpace(target);
10362 target = ::_pbi::WireFormatLite::WriteBoolToArray(
10363 5, this_._internal_lazy(), target);
10364 }
10365
10366 // optional .google.protobuf.FieldOptions.JSType jstype = 6 [default = JS_NORMAL];
10367 if (cached_has_bits & 0x00000008u) {
10368 target = stream->EnsureSpace(target);
10369 target = ::_pbi::WireFormatLite::WriteEnumToArray(
10370 6, this_._internal_jstype(), target);
10371 }
10372
10373 // optional bool weak = 10 [default = false];
10374 if (cached_has_bits & 0x00000100u) {
10375 target = stream->EnsureSpace(target);
10376 target = ::_pbi::WireFormatLite::WriteBoolToArray(
10377 10, this_._internal_weak(), target);
10378 }
10379
10380 // optional bool unverified_lazy = 15 [default = false];
10381 if (cached_has_bits & 0x00000040u) {
10382 target = stream->EnsureSpace(target);
10383 target = ::_pbi::WireFormatLite::WriteBoolToArray(
10384 15, this_._internal_unverified_lazy(), target);
10385 }
10386
10387 // optional bool debug_redact = 16 [default = false];
10388 if (cached_has_bits & 0x00000200u) {
10389 target = stream->EnsureSpace(target);
10390 target = ::_pbi::WireFormatLite::WriteBoolToArray(
10391 16, this_._internal_debug_redact(), target);
10392 }
10393
10394 // optional .google.protobuf.FieldOptions.OptionRetention retention = 17;
10395 if (cached_has_bits & 0x00000400u) {
10396 target = stream->EnsureSpace(target);
10397 target = ::_pbi::WireFormatLite::WriteEnumToArray(
10398 17, this_._internal_retention(), target);
10399 }
10400
10401 // repeated .google.protobuf.FieldOptions.OptionTargetType targets = 19;
10402 for (int i = 0, n = this_._internal_targets_size(); i < n; ++i) {
10403 target = stream->EnsureSpace(target);
10404 target = ::_pbi::WireFormatLite::WriteEnumToArray(
10405 19, static_cast<::google::protobuf::FieldOptions_OptionTargetType>(this_._internal_targets().Get(i)),
10406 target);
10407 }
10408
10409 // repeated .google.protobuf.FieldOptions.EditionDefault edition_defaults = 20;
10410 for (unsigned i = 0, n = static_cast<unsigned>(
10411 this_._internal_edition_defaults_size());
10412 i < n; i++) {
10413 const auto& repfield = this_._internal_edition_defaults().Get(i);
10414 target =
10415 ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
10416 20, repfield, repfield.GetCachedSize(),
10417 target, stream);
10418 }
10419
10420 // optional .google.protobuf.FeatureSet features = 21;
10421 if (cached_has_bits & 0x00000001u) {
10422 target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
10423 21, *this_._impl_.features_, this_._impl_.features_->GetCachedSize(), target,
10424 stream);
10425 }
10426
10427 // optional .google.protobuf.FieldOptions.FeatureSupport feature_support = 22;
10428 if (cached_has_bits & 0x00000002u) {
10429 target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
10430 22, *this_._impl_.feature_support_, this_._impl_.feature_support_->GetCachedSize(), target,
10431 stream);
10432 }
10433
10434 // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
10435 for (unsigned i = 0, n = static_cast<unsigned>(
10436 this_._internal_uninterpreted_option_size());
10437 i < n; i++) {
10438 const auto& repfield = this_._internal_uninterpreted_option().Get(i);
10439 target =
10440 ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
10441 999, repfield, repfield.GetCachedSize(),
10442 target, stream);
10443 }
10444
10445 // Extension range [1000, 536870912)
10446 target = this_._impl_._extensions_._InternalSerialize(
10447 internal_default_instance(), 1000, 536870912, target, stream);
10448 if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
10449 target =
10450 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
10451 this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
10452 }
10453 // @@protoc_insertion_point(serialize_to_array_end:google.protobuf.FieldOptions)
10454 return target;
10455 }
10456
10457 #if defined(PROTOBUF_CUSTOM_VTABLE)
10458 ::size_t FieldOptions::ByteSizeLong(const MessageLite& base) {
10459 const FieldOptions& this_ = static_cast<const FieldOptions&>(base);
10460 #else // PROTOBUF_CUSTOM_VTABLE
10461 ::size_t FieldOptions::ByteSizeLong() const {
10462 const FieldOptions& this_ = *this;
10463 #endif // PROTOBUF_CUSTOM_VTABLE
10464 // @@protoc_insertion_point(message_byte_size_start:google.protobuf.FieldOptions)
10465 ::size_t total_size = 0;
10466 total_size += this_._impl_._extensions_.ByteSize();
10467
10468 ::uint32_t cached_has_bits = 0;
10469 // Prevent compiler warnings about cached_has_bits being unused
10470 (void)cached_has_bits;
10471
10472 ::_pbi::Prefetch5LinesFrom7Lines(&this_);
10473 {
10474 // repeated .google.protobuf.FieldOptions.OptionTargetType targets = 19;
10475 {
10476 std::size_t data_size =
10477 ::_pbi::WireFormatLite::EnumSize(this_._internal_targets());
10478 std::size_t tag_size = std::size_t{2} *
10479 ::_pbi::FromIntSize(this_._internal_targets_size());
10480 total_size += data_size + tag_size;
10481 }
10482 // repeated .google.protobuf.FieldOptions.EditionDefault edition_defaults = 20;
10483 {
10484 total_size += 2UL * this_._internal_edition_defaults_size();
10485 for (const auto& msg : this_._internal_edition_defaults()) {
10486 total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
10487 }
10488 }
10489 // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
10490 {
10491 total_size += 2UL * this_._internal_uninterpreted_option_size();
10492 for (const auto& msg : this_._internal_uninterpreted_option()) {
10493 total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
10494 }
10495 }
10496 }
10497 cached_has_bits = this_._impl_._has_bits_[0];
10498 if (cached_has_bits & 0x000000ffu) {
10499 // optional .google.protobuf.FeatureSet features = 21;
10500 if (cached_has_bits & 0x00000001u) {
10501 total_size += 2 +
10502 ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.features_);
10503 }
10504 // optional .google.protobuf.FieldOptions.FeatureSupport feature_support = 22;
10505 if (cached_has_bits & 0x00000002u) {
10506 total_size += 2 +
10507 ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.feature_support_);
10508 }
10509 // optional .google.protobuf.FieldOptions.CType ctype = 1 [default = STRING];
10510 if (cached_has_bits & 0x00000004u) {
10511 total_size += 1 +
10512 ::_pbi::WireFormatLite::EnumSize(this_._internal_ctype());
10513 }
10514 // optional .google.protobuf.FieldOptions.JSType jstype = 6 [default = JS_NORMAL];
10515 if (cached_has_bits & 0x00000008u) {
10516 total_size += 1 +
10517 ::_pbi::WireFormatLite::EnumSize(this_._internal_jstype());
10518 }
10519 // optional bool packed = 2;
10520 if (cached_has_bits & 0x00000010u) {
10521 total_size += 2;
10522 }
10523 // optional bool lazy = 5 [default = false];
10524 if (cached_has_bits & 0x00000020u) {
10525 total_size += 2;
10526 }
10527 // optional bool unverified_lazy = 15 [default = false];
10528 if (cached_has_bits & 0x00000040u) {
10529 total_size += 2;
10530 }
10531 // optional bool deprecated = 3 [default = false];
10532 if (cached_has_bits & 0x00000080u) {
10533 total_size += 2;
10534 }
10535 }
10536 if (cached_has_bits & 0x00000700u) {
10537 // optional bool weak = 10 [default = false];
10538 if (cached_has_bits & 0x00000100u) {
10539 total_size += 2;
10540 }
10541 // optional bool debug_redact = 16 [default = false];
10542 if (cached_has_bits & 0x00000200u) {
10543 total_size += 3;
10544 }
10545 // optional .google.protobuf.FieldOptions.OptionRetention retention = 17;
10546 if (cached_has_bits & 0x00000400u) {
10547 total_size += 2 +
10548 ::_pbi::WireFormatLite::EnumSize(this_._internal_retention());
10549 }
10550 }
10551 return this_.MaybeComputeUnknownFieldsSize(total_size,
10552 &this_._impl_._cached_size_);
10553 }
10554
10555 void FieldOptions::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
10556 auto* const _this = static_cast<FieldOptions*>(&to_msg);
10557 auto& from = static_cast<const FieldOptions&>(from_msg);
10558 ::google::protobuf::Arena* arena = _this->GetArena();
10559 // @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.FieldOptions)
10560 ABSL_DCHECK_NE(&from, _this);
10561 ::uint32_t cached_has_bits = 0;
10562 (void) cached_has_bits;
10563
10564 _this->_internal_mutable_targets()->MergeFrom(from._internal_targets());
10565 _this->_internal_mutable_edition_defaults()->MergeFrom(
10566 from._internal_edition_defaults());
10567 _this->_internal_mutable_uninterpreted_option()->MergeFrom(
10568 from._internal_uninterpreted_option());
10569 cached_has_bits = from._impl_._has_bits_[0];
10570 if (cached_has_bits & 0x000000ffu) {
10571 if (cached_has_bits & 0x00000001u) {
10572 ABSL_DCHECK(from._impl_.features_ != nullptr);
10573 if (_this->_impl_.features_ == nullptr) {
10574 _this->_impl_.features_ =
10575 ::google::protobuf::Message::CopyConstruct<::google::protobuf::FeatureSet>(arena, *from._impl_.features_);
10576 } else {
10577 _this->_impl_.features_->MergeFrom(*from._impl_.features_);
10578 }
10579 }
10580 if (cached_has_bits & 0x00000002u) {
10581 ABSL_DCHECK(from._impl_.feature_support_ != nullptr);
10582 if (_this->_impl_.feature_support_ == nullptr) {
10583 _this->_impl_.feature_support_ =
10584 ::google::protobuf::Message::CopyConstruct<::google::protobuf::FieldOptions_FeatureSupport>(arena, *from._impl_.feature_support_);
10585 } else {
10586 _this->_impl_.feature_support_->MergeFrom(*from._impl_.feature_support_);
10587 }
10588 }
10589 if (cached_has_bits & 0x00000004u) {
10590 _this->_impl_.ctype_ = from._impl_.ctype_;
10591 }
10592 if (cached_has_bits & 0x00000008u) {
10593 _this->_impl_.jstype_ = from._impl_.jstype_;
10594 }
10595 if (cached_has_bits & 0x00000010u) {
10596 _this->_impl_.packed_ = from._impl_.packed_;
10597 }
10598 if (cached_has_bits & 0x00000020u) {
10599 _this->_impl_.lazy_ = from._impl_.lazy_;
10600 }
10601 if (cached_has_bits & 0x00000040u) {
10602 _this->_impl_.unverified_lazy_ = from._impl_.unverified_lazy_;
10603 }
10604 if (cached_has_bits & 0x00000080u) {
10605 _this->_impl_.deprecated_ = from._impl_.deprecated_;
10606 }
10607 }
10608 if (cached_has_bits & 0x00000700u) {
10609 if (cached_has_bits & 0x00000100u) {
10610 _this->_impl_.weak_ = from._impl_.weak_;
10611 }
10612 if (cached_has_bits & 0x00000200u) {
10613 _this->_impl_.debug_redact_ = from._impl_.debug_redact_;
10614 }
10615 if (cached_has_bits & 0x00000400u) {
10616 _this->_impl_.retention_ = from._impl_.retention_;
10617 }
10618 }
10619 _this->_impl_._has_bits_[0] |= cached_has_bits;
10620 _this->_impl_._extensions_.MergeFrom(internal_default_instance(), from._impl_._extensions_);
10621 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
10622 }
10623
10624 void FieldOptions::CopyFrom(const FieldOptions& from) {
10625 // @@protoc_insertion_point(class_specific_copy_from_start:google.protobuf.FieldOptions)
10626 if (&from == this) return;
10627 Clear();
10628 MergeFrom(from);
10629 }
10630
10631 PROTOBUF_NOINLINE bool FieldOptions::IsInitializedImpl(
10632 const MessageLite& msg) {
10633 auto& this_ = static_cast<const FieldOptions&>(msg);
10634 if (!this_._impl_._extensions_.IsInitialized(
10635 internal_default_instance())) {
10636 return false;
10637 }
10638 if (!::google::protobuf::internal::AllAreInitialized(this_._internal_uninterpreted_option()))
10639 return false;
10640 if ((this_._impl_._has_bits_[0] & 0x00000001u) != 0) {
10641 if (!this_._impl_.features_->IsInitialized()) return false;
10642 }
10643 return true;
10644 }
10645
10646 void FieldOptions::InternalSwap(FieldOptions* PROTOBUF_RESTRICT other) {
10647 using std::swap;
10648 _impl_._extensions_.InternalSwap(&other->_impl_._extensions_);
10649 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
10650 swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
10651 _impl_.targets_.InternalSwap(&other->_impl_.targets_);
10652 _impl_.edition_defaults_.InternalSwap(&other->_impl_.edition_defaults_);
10653 _impl_.uninterpreted_option_.InternalSwap(&other->_impl_.uninterpreted_option_);
10654 ::google::protobuf::internal::memswap<
10655 PROTOBUF_FIELD_OFFSET(FieldOptions, _impl_.retention_)
10656 + sizeof(FieldOptions::_impl_.retention_)
10657 - PROTOBUF_FIELD_OFFSET(FieldOptions, _impl_.features_)>(
10658 reinterpret_cast<char*>(&_impl_.features_),
10659 reinterpret_cast<char*>(&other->_impl_.features_));
10660 }
10661
10662 ::google::protobuf::Metadata FieldOptions::GetMetadata() const {
10663 return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
10664 }
10665 // ===================================================================
10666
10667 class OneofOptions::_Internal {
10668 public:
10669 using HasBits =
10670 decltype(std::declval<OneofOptions>()._impl_._has_bits_);
10671 static constexpr ::int32_t kHasBitsOffset =
10672 8 * PROTOBUF_FIELD_OFFSET(OneofOptions, _impl_._has_bits_);
10673 };
10674
10675 OneofOptions::OneofOptions(::google::protobuf::Arena* arena)
10676 #if defined(PROTOBUF_CUSTOM_VTABLE)
10677 : ::google::protobuf::Message(arena, _class_data_.base()) {
10678 #else // PROTOBUF_CUSTOM_VTABLE
10679 : ::google::protobuf::Message(arena) {
10680 #endif // PROTOBUF_CUSTOM_VTABLE
10681 SharedCtor(arena);
10682 // @@protoc_insertion_point(arena_constructor:google.protobuf.OneofOptions)
10683 }
10684 inline PROTOBUF_NDEBUG_INLINE OneofOptions::Impl_::Impl_(
10685 ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena,
10686 const Impl_& from, const ::google::protobuf::OneofOptions& from_msg)
10687 : _extensions_{visibility, arena},
10688 _has_bits_{from._has_bits_},
10689 _cached_size_{0},
10690 uninterpreted_option_{visibility, arena, from.uninterpreted_option_} {}
10691
10692 OneofOptions::OneofOptions(
10693 ::google::protobuf::Arena* arena,
10694 const OneofOptions& from)
10695 #if defined(PROTOBUF_CUSTOM_VTABLE)
10696 : ::google::protobuf::Message(arena, _class_data_.base()) {
10697 #else // PROTOBUF_CUSTOM_VTABLE
10698 : ::google::protobuf::Message(arena) {
10699 #endif // PROTOBUF_CUSTOM_VTABLE
10700 OneofOptions* const _this = this;
10701 (void)_this;
10702 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
10703 from._internal_metadata_);
10704 new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
10705 _impl_._extensions_.MergeFrom(this, from._impl_._extensions_);
10706 ::uint32_t cached_has_bits = _impl_._has_bits_[0];
10707 _impl_.features_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::google::protobuf::FeatureSet>(
10708 arena, *from._impl_.features_)
10709 : nullptr;
10710
10711 // @@protoc_insertion_point(copy_constructor:google.protobuf.OneofOptions)
10712 }
10713 inline PROTOBUF_NDEBUG_INLINE OneofOptions::Impl_::Impl_(
10714 ::google::protobuf::internal::InternalVisibility visibility,
10715 ::google::protobuf::Arena* arena)
10716 : _extensions_{visibility, arena},
10717 _cached_size_{0},
10718 uninterpreted_option_{visibility, arena} {}
10719
10720 inline void OneofOptions::SharedCtor(::_pb::Arena* arena) {
10721 new (&_impl_) Impl_(internal_visibility(), arena);
10722 _impl_.features_ = {};
10723 }
10724 OneofOptions::~OneofOptions() {
10725 // @@protoc_insertion_point(destructor:google.protobuf.OneofOptions)
10726 SharedDtor(*this);
10727 }
10728 inline void OneofOptions::SharedDtor(MessageLite& self) {
10729 OneofOptions& this_ = static_cast<OneofOptions&>(self);
10730 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
10731 ABSL_DCHECK(this_.GetArena() == nullptr);
10732 delete this_._impl_.features_;
10733 this_._impl_.~Impl_();
10734 }
10735
10736 inline void* OneofOptions::PlacementNew_(const void*, void* mem,
10737 ::google::protobuf::Arena* arena) {
10738 return ::new (mem) OneofOptions(arena);
10739 }
10740 constexpr auto OneofOptions::InternalNewImpl_() {
10741 constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({
10742 PROTOBUF_FIELD_OFFSET(OneofOptions, _impl_._extensions_) +
10743 decltype(OneofOptions::_impl_._extensions_)::InternalGetArenaOffset(
10744 ::google::protobuf::Message::internal_visibility()),
10745 PROTOBUF_FIELD_OFFSET(OneofOptions, _impl_.uninterpreted_option_) +
10746 decltype(OneofOptions::_impl_.uninterpreted_option_)::
10747 InternalGetArenaOffset(
10748 ::google::protobuf::Message::internal_visibility()),
10749 });
10750 if (arena_bits.has_value()) {
10751 return ::google::protobuf::internal::MessageCreator::ZeroInit(
10752 sizeof(OneofOptions), alignof(OneofOptions), *arena_bits);
10753 } else {
10754 return ::google::protobuf::internal::MessageCreator(&OneofOptions::PlacementNew_,
10755 sizeof(OneofOptions),
10756 alignof(OneofOptions));
10757 }
10758 }
10759 PROTOBUF_CONSTINIT
10760 PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
10761 const ::google::protobuf::internal::ClassDataFull OneofOptions::_class_data_ = {
10762 ::google::protobuf::internal::ClassData{
10763 &_OneofOptions_default_instance_._instance,
10764 &_table_.header,
10765 nullptr, // OnDemandRegisterArenaDtor
10766 OneofOptions::IsInitializedImpl,
10767 &OneofOptions::MergeImpl,
10768 ::google::protobuf::Message::GetNewImpl<OneofOptions>(),
10769 #if defined(PROTOBUF_CUSTOM_VTABLE)
10770 &OneofOptions::SharedDtor,
10771 ::google::protobuf::Message::GetClearImpl<OneofOptions>(), &OneofOptions::ByteSizeLong,
10772 &OneofOptions::_InternalSerialize,
10773 #endif // PROTOBUF_CUSTOM_VTABLE
10774 PROTOBUF_FIELD_OFFSET(OneofOptions, _impl_._cached_size_),
10775 false,
10776 },
10777 &OneofOptions::kDescriptorMethods,
10778 &descriptor_table_google_2fprotobuf_2fdescriptor_2eproto,
10779 nullptr, // tracker
10780 };
10781 const ::google::protobuf::internal::ClassData* OneofOptions::GetClassData() const {
10782 ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_);
10783 ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table);
10784 return _class_data_.base();
10785 }
10786 constexpr ::_pbi::TcParseTable<2, 2, 2, 0, 7> OneofOptions::_table_ = {
10787 {
10788 PROTOBUF_FIELD_OFFSET(OneofOptions, _impl_._has_bits_),
10789 PROTOBUF_FIELD_OFFSET(OneofOptions, _impl_._extensions_),
10790 999, 24, // max_field_number, fast_idx_mask
10791 offsetof(decltype(_table_), field_lookup_table),
10792 4294967294, // skipmap
10793 offsetof(decltype(_table_), field_entries),
10794 2, // num_field_entries
10795 2, // num_aux_entries
10796 offsetof(decltype(_table_), aux_entries),
10797 _class_data_.base(),
10798 nullptr, // post_loop_handler
10799 ::_pbi::TcParser::GenericFallback, // fallback
10800 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
10801 ::_pbi::TcParser::GetTable<::google::protobuf::OneofOptions>(), // to_prefetch
10802 #endif // PROTOBUF_PREFETCH_PARSE_TABLE
10803 }, {{
10804 {::_pbi::TcParser::MiniParse, {}},
10805 // optional .google.protobuf.FeatureSet features = 1;
10806 {::_pbi::TcParser::FastMtS1,
10807 {10, 0, 0, PROTOBUF_FIELD_OFFSET(OneofOptions, _impl_.features_)}},
10808 {::_pbi::TcParser::MiniParse, {}},
10809 // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
10810 {::_pbi::TcParser::FastMtR2,
10811 {16058, 63, 1, PROTOBUF_FIELD_OFFSET(OneofOptions, _impl_.uninterpreted_option_)}},
10812 }}, {{
10813 999, 0, 1,
10814 65534, 1,
10815 65535, 65535
10816 }}, {{
10817 // optional .google.protobuf.FeatureSet features = 1;
10818 {PROTOBUF_FIELD_OFFSET(OneofOptions, _impl_.features_), _Internal::kHasBitsOffset + 0, 0,
10819 (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
10820 // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
10821 {PROTOBUF_FIELD_OFFSET(OneofOptions, _impl_.uninterpreted_option_), -1, 1,
10822 (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
10823 }}, {{
10824 {::_pbi::TcParser::GetTable<::google::protobuf::FeatureSet>()},
10825 {::_pbi::TcParser::GetTable<::google::protobuf::UninterpretedOption>()},
10826 }}, {{
10827 }},
10828 };
10829
10830 PROTOBUF_NOINLINE void OneofOptions::Clear() {
10831 // @@protoc_insertion_point(message_clear_start:google.protobuf.OneofOptions)
10832 ::google::protobuf::internal::TSanWrite(&_impl_);
10833 ::uint32_t cached_has_bits = 0;
10834 // Prevent compiler warnings about cached_has_bits being unused
10835 (void) cached_has_bits;
10836
10837 _impl_._extensions_.Clear();
10838 _impl_.uninterpreted_option_.Clear();
10839 cached_has_bits = _impl_._has_bits_[0];
10840 if (cached_has_bits & 0x00000001u) {
10841 ABSL_DCHECK(_impl_.features_ != nullptr);
10842 _impl_.features_->Clear();
10843 }
10844 _impl_._has_bits_.Clear();
10845 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
10846 }
10847
10848 #if defined(PROTOBUF_CUSTOM_VTABLE)
10849 ::uint8_t* OneofOptions::_InternalSerialize(
10850 const MessageLite& base, ::uint8_t* target,
10851 ::google::protobuf::io::EpsCopyOutputStream* stream) {
10852 const OneofOptions& this_ = static_cast<const OneofOptions&>(base);
10853 #else // PROTOBUF_CUSTOM_VTABLE
10854 ::uint8_t* OneofOptions::_InternalSerialize(
10855 ::uint8_t* target,
10856 ::google::protobuf::io::EpsCopyOutputStream* stream) const {
10857 const OneofOptions& this_ = *this;
10858 #endif // PROTOBUF_CUSTOM_VTABLE
10859 // @@protoc_insertion_point(serialize_to_array_start:google.protobuf.OneofOptions)
10860 ::uint32_t cached_has_bits = 0;
10861 (void)cached_has_bits;
10862
10863 cached_has_bits = this_._impl_._has_bits_[0];
10864 // optional .google.protobuf.FeatureSet features = 1;
10865 if (cached_has_bits & 0x00000001u) {
10866 target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
10867 1, *this_._impl_.features_, this_._impl_.features_->GetCachedSize(), target,
10868 stream);
10869 }
10870
10871 // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
10872 for (unsigned i = 0, n = static_cast<unsigned>(
10873 this_._internal_uninterpreted_option_size());
10874 i < n; i++) {
10875 const auto& repfield = this_._internal_uninterpreted_option().Get(i);
10876 target =
10877 ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
10878 999, repfield, repfield.GetCachedSize(),
10879 target, stream);
10880 }
10881
10882 // Extension range [1000, 536870912)
10883 target = this_._impl_._extensions_._InternalSerialize(
10884 internal_default_instance(), 1000, 536870912, target, stream);
10885 if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
10886 target =
10887 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
10888 this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
10889 }
10890 // @@protoc_insertion_point(serialize_to_array_end:google.protobuf.OneofOptions)
10891 return target;
10892 }
10893
10894 #if defined(PROTOBUF_CUSTOM_VTABLE)
10895 ::size_t OneofOptions::ByteSizeLong(const MessageLite& base) {
10896 const OneofOptions& this_ = static_cast<const OneofOptions&>(base);
10897 #else // PROTOBUF_CUSTOM_VTABLE
10898 ::size_t OneofOptions::ByteSizeLong() const {
10899 const OneofOptions& this_ = *this;
10900 #endif // PROTOBUF_CUSTOM_VTABLE
10901 // @@protoc_insertion_point(message_byte_size_start:google.protobuf.OneofOptions)
10902 ::size_t total_size = 0;
10903 total_size += this_._impl_._extensions_.ByteSize();
10904
10905 ::uint32_t cached_has_bits = 0;
10906 // Prevent compiler warnings about cached_has_bits being unused
10907 (void)cached_has_bits;
10908
10909 ::_pbi::Prefetch5LinesFrom7Lines(&this_);
10910 {
10911 // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
10912 {
10913 total_size += 2UL * this_._internal_uninterpreted_option_size();
10914 for (const auto& msg : this_._internal_uninterpreted_option()) {
10915 total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
10916 }
10917 }
10918 }
10919 {
10920 // optional .google.protobuf.FeatureSet features = 1;
10921 cached_has_bits = this_._impl_._has_bits_[0];
10922 if (cached_has_bits & 0x00000001u) {
10923 total_size += 1 +
10924 ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.features_);
10925 }
10926 }
10927 return this_.MaybeComputeUnknownFieldsSize(total_size,
10928 &this_._impl_._cached_size_);
10929 }
10930
10931 void OneofOptions::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
10932 auto* const _this = static_cast<OneofOptions*>(&to_msg);
10933 auto& from = static_cast<const OneofOptions&>(from_msg);
10934 ::google::protobuf::Arena* arena = _this->GetArena();
10935 // @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.OneofOptions)
10936 ABSL_DCHECK_NE(&from, _this);
10937 ::uint32_t cached_has_bits = 0;
10938 (void) cached_has_bits;
10939
10940 _this->_internal_mutable_uninterpreted_option()->MergeFrom(
10941 from._internal_uninterpreted_option());
10942 cached_has_bits = from._impl_._has_bits_[0];
10943 if (cached_has_bits & 0x00000001u) {
10944 ABSL_DCHECK(from._impl_.features_ != nullptr);
10945 if (_this->_impl_.features_ == nullptr) {
10946 _this->_impl_.features_ =
10947 ::google::protobuf::Message::CopyConstruct<::google::protobuf::FeatureSet>(arena, *from._impl_.features_);
10948 } else {
10949 _this->_impl_.features_->MergeFrom(*from._impl_.features_);
10950 }
10951 }
10952 _this->_impl_._has_bits_[0] |= cached_has_bits;
10953 _this->_impl_._extensions_.MergeFrom(internal_default_instance(), from._impl_._extensions_);
10954 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
10955 }
10956
10957 void OneofOptions::CopyFrom(const OneofOptions& from) {
10958 // @@protoc_insertion_point(class_specific_copy_from_start:google.protobuf.OneofOptions)
10959 if (&from == this) return;
10960 Clear();
10961 MergeFrom(from);
10962 }
10963
10964 PROTOBUF_NOINLINE bool OneofOptions::IsInitializedImpl(
10965 const MessageLite& msg) {
10966 auto& this_ = static_cast<const OneofOptions&>(msg);
10967 if (!this_._impl_._extensions_.IsInitialized(
10968 internal_default_instance())) {
10969 return false;
10970 }
10971 if (!::google::protobuf::internal::AllAreInitialized(this_._internal_uninterpreted_option()))
10972 return false;
10973 if ((this_._impl_._has_bits_[0] & 0x00000001u) != 0) {
10974 if (!this_._impl_.features_->IsInitialized()) return false;
10975 }
10976 return true;
10977 }
10978
10979 void OneofOptions::InternalSwap(OneofOptions* PROTOBUF_RESTRICT other) {
10980 using std::swap;
10981 _impl_._extensions_.InternalSwap(&other->_impl_._extensions_);
10982 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
10983 swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
10984 _impl_.uninterpreted_option_.InternalSwap(&other->_impl_.uninterpreted_option_);
10985 swap(_impl_.features_, other->_impl_.features_);
10986 }
10987
10988 ::google::protobuf::Metadata OneofOptions::GetMetadata() const {
10989 return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
10990 }
10991 // ===================================================================
10992
10993 class EnumOptions::_Internal {
10994 public:
10995 using HasBits =
10996 decltype(std::declval<EnumOptions>()._impl_._has_bits_);
10997 static constexpr ::int32_t kHasBitsOffset =
10998 8 * PROTOBUF_FIELD_OFFSET(EnumOptions, _impl_._has_bits_);
10999 };
11000
11001 EnumOptions::EnumOptions(::google::protobuf::Arena* arena)
11002 #if defined(PROTOBUF_CUSTOM_VTABLE)
11003 : ::google::protobuf::Message(arena, _class_data_.base()) {
11004 #else // PROTOBUF_CUSTOM_VTABLE
11005 : ::google::protobuf::Message(arena) {
11006 #endif // PROTOBUF_CUSTOM_VTABLE
11007 SharedCtor(arena);
11008 // @@protoc_insertion_point(arena_constructor:google.protobuf.EnumOptions)
11009 }
11010 inline PROTOBUF_NDEBUG_INLINE EnumOptions::Impl_::Impl_(
11011 ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena,
11012 const Impl_& from, const ::google::protobuf::EnumOptions& from_msg)
11013 : _extensions_{visibility, arena},
11014 _has_bits_{from._has_bits_},
11015 _cached_size_{0},
11016 uninterpreted_option_{visibility, arena, from.uninterpreted_option_} {}
11017
11018 EnumOptions::EnumOptions(
11019 ::google::protobuf::Arena* arena,
11020 const EnumOptions& from)
11021 #if defined(PROTOBUF_CUSTOM_VTABLE)
11022 : ::google::protobuf::Message(arena, _class_data_.base()) {
11023 #else // PROTOBUF_CUSTOM_VTABLE
11024 : ::google::protobuf::Message(arena) {
11025 #endif // PROTOBUF_CUSTOM_VTABLE
11026 EnumOptions* const _this = this;
11027 (void)_this;
11028 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
11029 from._internal_metadata_);
11030 new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
11031 _impl_._extensions_.MergeFrom(this, from._impl_._extensions_);
11032 ::uint32_t cached_has_bits = _impl_._has_bits_[0];
11033 _impl_.features_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::google::protobuf::FeatureSet>(
11034 arena, *from._impl_.features_)
11035 : nullptr;
11036 ::memcpy(reinterpret_cast<char *>(&_impl_) +
11037 offsetof(Impl_, allow_alias_),
11038 reinterpret_cast<const char *>(&from._impl_) +
11039 offsetof(Impl_, allow_alias_),
11040 offsetof(Impl_, deprecated_legacy_json_field_conflicts_) -
11041 offsetof(Impl_, allow_alias_) +
11042 sizeof(Impl_::deprecated_legacy_json_field_conflicts_));
11043
11044 // @@protoc_insertion_point(copy_constructor:google.protobuf.EnumOptions)
11045 }
11046 inline PROTOBUF_NDEBUG_INLINE EnumOptions::Impl_::Impl_(
11047 ::google::protobuf::internal::InternalVisibility visibility,
11048 ::google::protobuf::Arena* arena)
11049 : _extensions_{visibility, arena},
11050 _cached_size_{0},
11051 uninterpreted_option_{visibility, arena} {}
11052
11053 inline void EnumOptions::SharedCtor(::_pb::Arena* arena) {
11054 new (&_impl_) Impl_(internal_visibility(), arena);
11055 ::memset(reinterpret_cast<char *>(&_impl_) +
11056 offsetof(Impl_, features_),
11057 0,
11058 offsetof(Impl_, deprecated_legacy_json_field_conflicts_) -
11059 offsetof(Impl_, features_) +
11060 sizeof(Impl_::deprecated_legacy_json_field_conflicts_));
11061 }
11062 EnumOptions::~EnumOptions() {
11063 // @@protoc_insertion_point(destructor:google.protobuf.EnumOptions)
11064 SharedDtor(*this);
11065 }
11066 inline void EnumOptions::SharedDtor(MessageLite& self) {
11067 EnumOptions& this_ = static_cast<EnumOptions&>(self);
11068 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
11069 ABSL_DCHECK(this_.GetArena() == nullptr);
11070 delete this_._impl_.features_;
11071 this_._impl_.~Impl_();
11072 }
11073
11074 inline void* EnumOptions::PlacementNew_(const void*, void* mem,
11075 ::google::protobuf::Arena* arena) {
11076 return ::new (mem) EnumOptions(arena);
11077 }
11078 constexpr auto EnumOptions::InternalNewImpl_() {
11079 constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({
11080 PROTOBUF_FIELD_OFFSET(EnumOptions, _impl_._extensions_) +
11081 decltype(EnumOptions::_impl_._extensions_)::InternalGetArenaOffset(
11082 ::google::protobuf::Message::internal_visibility()),
11083 PROTOBUF_FIELD_OFFSET(EnumOptions, _impl_.uninterpreted_option_) +
11084 decltype(EnumOptions::_impl_.uninterpreted_option_)::
11085 InternalGetArenaOffset(
11086 ::google::protobuf::Message::internal_visibility()),
11087 });
11088 if (arena_bits.has_value()) {
11089 return ::google::protobuf::internal::MessageCreator::ZeroInit(
11090 sizeof(EnumOptions), alignof(EnumOptions), *arena_bits);
11091 } else {
11092 return ::google::protobuf::internal::MessageCreator(&EnumOptions::PlacementNew_,
11093 sizeof(EnumOptions),
11094 alignof(EnumOptions));
11095 }
11096 }
11097 PROTOBUF_CONSTINIT
11098 PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
11099 const ::google::protobuf::internal::ClassDataFull EnumOptions::_class_data_ = {
11100 ::google::protobuf::internal::ClassData{
11101 &_EnumOptions_default_instance_._instance,
11102 &_table_.header,
11103 nullptr, // OnDemandRegisterArenaDtor
11104 EnumOptions::IsInitializedImpl,
11105 &EnumOptions::MergeImpl,
11106 ::google::protobuf::Message::GetNewImpl<EnumOptions>(),
11107 #if defined(PROTOBUF_CUSTOM_VTABLE)
11108 &EnumOptions::SharedDtor,
11109 ::google::protobuf::Message::GetClearImpl<EnumOptions>(), &EnumOptions::ByteSizeLong,
11110 &EnumOptions::_InternalSerialize,
11111 #endif // PROTOBUF_CUSTOM_VTABLE
11112 PROTOBUF_FIELD_OFFSET(EnumOptions, _impl_._cached_size_),
11113 false,
11114 },
11115 &EnumOptions::kDescriptorMethods,
11116 &descriptor_table_google_2fprotobuf_2fdescriptor_2eproto,
11117 nullptr, // tracker
11118 };
11119 const ::google::protobuf::internal::ClassData* EnumOptions::GetClassData() const {
11120 ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_);
11121 ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table);
11122 return _class_data_.base();
11123 }
11124 constexpr ::_pbi::TcParseTable<3, 5, 2, 0, 7> EnumOptions::_table_ = {
11125 {
11126 PROTOBUF_FIELD_OFFSET(EnumOptions, _impl_._has_bits_),
11127 PROTOBUF_FIELD_OFFSET(EnumOptions, _impl_._extensions_),
11128 999, 56, // max_field_number, fast_idx_mask
11129 offsetof(decltype(_table_), field_lookup_table),
11130 4294967193, // skipmap
11131 offsetof(decltype(_table_), field_entries),
11132 5, // num_field_entries
11133 2, // num_aux_entries
11134 offsetof(decltype(_table_), aux_entries),
11135 _class_data_.base(),
11136 nullptr, // post_loop_handler
11137 ::_pbi::TcParser::GenericFallback, // fallback
11138 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
11139 ::_pbi::TcParser::GetTable<::google::protobuf::EnumOptions>(), // to_prefetch
11140 #endif // PROTOBUF_PREFETCH_PARSE_TABLE
11141 }, {{
11142 {::_pbi::TcParser::MiniParse, {}},
11143 {::_pbi::TcParser::MiniParse, {}},
11144 // optional bool allow_alias = 2;
11145 {::_pbi::TcParser::SingularVarintNoZag1<bool, offsetof(EnumOptions, _impl_.allow_alias_), 1>(),
11146 {16, 1, 0, PROTOBUF_FIELD_OFFSET(EnumOptions, _impl_.allow_alias_)}},
11147 // optional bool deprecated = 3 [default = false];
11148 {::_pbi::TcParser::SingularVarintNoZag1<bool, offsetof(EnumOptions, _impl_.deprecated_), 2>(),
11149 {24, 2, 0, PROTOBUF_FIELD_OFFSET(EnumOptions, _impl_.deprecated_)}},
11150 {::_pbi::TcParser::MiniParse, {}},
11151 {::_pbi::TcParser::MiniParse, {}},
11152 // optional bool deprecated_legacy_json_field_conflicts = 6 [deprecated = true];
11153 {::_pbi::TcParser::SingularVarintNoZag1<bool, offsetof(EnumOptions, _impl_.deprecated_legacy_json_field_conflicts_), 3>(),
11154 {48, 3, 0, PROTOBUF_FIELD_OFFSET(EnumOptions, _impl_.deprecated_legacy_json_field_conflicts_)}},
11155 // optional .google.protobuf.FeatureSet features = 7;
11156 {::_pbi::TcParser::FastMtS1,
11157 {58, 0, 0, PROTOBUF_FIELD_OFFSET(EnumOptions, _impl_.features_)}},
11158 }}, {{
11159 999, 0, 1,
11160 65534, 4,
11161 65535, 65535
11162 }}, {{
11163 // optional bool allow_alias = 2;
11164 {PROTOBUF_FIELD_OFFSET(EnumOptions, _impl_.allow_alias_), _Internal::kHasBitsOffset + 1, 0,
11165 (0 | ::_fl::kFcOptional | ::_fl::kBool)},
11166 // optional bool deprecated = 3 [default = false];
11167 {PROTOBUF_FIELD_OFFSET(EnumOptions, _impl_.deprecated_), _Internal::kHasBitsOffset + 2, 0,
11168 (0 | ::_fl::kFcOptional | ::_fl::kBool)},
11169 // optional bool deprecated_legacy_json_field_conflicts = 6 [deprecated = true];
11170 {PROTOBUF_FIELD_OFFSET(EnumOptions, _impl_.deprecated_legacy_json_field_conflicts_), _Internal::kHasBitsOffset + 3, 0,
11171 (0 | ::_fl::kFcOptional | ::_fl::kBool)},
11172 // optional .google.protobuf.FeatureSet features = 7;
11173 {PROTOBUF_FIELD_OFFSET(EnumOptions, _impl_.features_), _Internal::kHasBitsOffset + 0, 0,
11174 (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
11175 // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
11176 {PROTOBUF_FIELD_OFFSET(EnumOptions, _impl_.uninterpreted_option_), -1, 1,
11177 (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
11178 }}, {{
11179 {::_pbi::TcParser::GetTable<::google::protobuf::FeatureSet>()},
11180 {::_pbi::TcParser::GetTable<::google::protobuf::UninterpretedOption>()},
11181 }}, {{
11182 }},
11183 };
11184
11185 PROTOBUF_NOINLINE void EnumOptions::Clear() {
11186 // @@protoc_insertion_point(message_clear_start:google.protobuf.EnumOptions)
11187 ::google::protobuf::internal::TSanWrite(&_impl_);
11188 ::uint32_t cached_has_bits = 0;
11189 // Prevent compiler warnings about cached_has_bits being unused
11190 (void) cached_has_bits;
11191
11192 _impl_._extensions_.Clear();
11193 _impl_.uninterpreted_option_.Clear();
11194 cached_has_bits = _impl_._has_bits_[0];
11195 if (cached_has_bits & 0x00000001u) {
11196 ABSL_DCHECK(_impl_.features_ != nullptr);
11197 _impl_.features_->Clear();
11198 }
11199 ::memset(&_impl_.allow_alias_, 0, static_cast<::size_t>(
11200 reinterpret_cast<char*>(&_impl_.deprecated_legacy_json_field_conflicts_) -
11201 reinterpret_cast<char*>(&_impl_.allow_alias_)) + sizeof(_impl_.deprecated_legacy_json_field_conflicts_));
11202 _impl_._has_bits_.Clear();
11203 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
11204 }
11205
11206 #if defined(PROTOBUF_CUSTOM_VTABLE)
11207 ::uint8_t* EnumOptions::_InternalSerialize(
11208 const MessageLite& base, ::uint8_t* target,
11209 ::google::protobuf::io::EpsCopyOutputStream* stream) {
11210 const EnumOptions& this_ = static_cast<const EnumOptions&>(base);
11211 #else // PROTOBUF_CUSTOM_VTABLE
11212 ::uint8_t* EnumOptions::_InternalSerialize(
11213 ::uint8_t* target,
11214 ::google::protobuf::io::EpsCopyOutputStream* stream) const {
11215 const EnumOptions& this_ = *this;
11216 #endif // PROTOBUF_CUSTOM_VTABLE
11217 // @@protoc_insertion_point(serialize_to_array_start:google.protobuf.EnumOptions)
11218 ::uint32_t cached_has_bits = 0;
11219 (void)cached_has_bits;
11220
11221 cached_has_bits = this_._impl_._has_bits_[0];
11222 // optional bool allow_alias = 2;
11223 if (cached_has_bits & 0x00000002u) {
11224 target = stream->EnsureSpace(target);
11225 target = ::_pbi::WireFormatLite::WriteBoolToArray(
11226 2, this_._internal_allow_alias(), target);
11227 }
11228
11229 // optional bool deprecated = 3 [default = false];
11230 if (cached_has_bits & 0x00000004u) {
11231 target = stream->EnsureSpace(target);
11232 target = ::_pbi::WireFormatLite::WriteBoolToArray(
11233 3, this_._internal_deprecated(), target);
11234 }
11235
11236 // optional bool deprecated_legacy_json_field_conflicts = 6 [deprecated = true];
11237 if (cached_has_bits & 0x00000008u) {
11238 target = stream->EnsureSpace(target);
11239 target = ::_pbi::WireFormatLite::WriteBoolToArray(
11240 6, this_._internal_deprecated_legacy_json_field_conflicts(), target);
11241 }
11242
11243 // optional .google.protobuf.FeatureSet features = 7;
11244 if (cached_has_bits & 0x00000001u) {
11245 target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
11246 7, *this_._impl_.features_, this_._impl_.features_->GetCachedSize(), target,
11247 stream);
11248 }
11249
11250 // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
11251 for (unsigned i = 0, n = static_cast<unsigned>(
11252 this_._internal_uninterpreted_option_size());
11253 i < n; i++) {
11254 const auto& repfield = this_._internal_uninterpreted_option().Get(i);
11255 target =
11256 ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
11257 999, repfield, repfield.GetCachedSize(),
11258 target, stream);
11259 }
11260
11261 // Extension range [1000, 536870912)
11262 target = this_._impl_._extensions_._InternalSerialize(
11263 internal_default_instance(), 1000, 536870912, target, stream);
11264 if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
11265 target =
11266 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
11267 this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
11268 }
11269 // @@protoc_insertion_point(serialize_to_array_end:google.protobuf.EnumOptions)
11270 return target;
11271 }
11272
11273 #if defined(PROTOBUF_CUSTOM_VTABLE)
11274 ::size_t EnumOptions::ByteSizeLong(const MessageLite& base) {
11275 const EnumOptions& this_ = static_cast<const EnumOptions&>(base);
11276 #else // PROTOBUF_CUSTOM_VTABLE
11277 ::size_t EnumOptions::ByteSizeLong() const {
11278 const EnumOptions& this_ = *this;
11279 #endif // PROTOBUF_CUSTOM_VTABLE
11280 // @@protoc_insertion_point(message_byte_size_start:google.protobuf.EnumOptions)
11281 ::size_t total_size = 0;
11282 total_size += this_._impl_._extensions_.ByteSize();
11283
11284 ::uint32_t cached_has_bits = 0;
11285 // Prevent compiler warnings about cached_has_bits being unused
11286 (void)cached_has_bits;
11287
11288 ::_pbi::Prefetch5LinesFrom7Lines(&this_);
11289 {
11290 // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
11291 {
11292 total_size += 2UL * this_._internal_uninterpreted_option_size();
11293 for (const auto& msg : this_._internal_uninterpreted_option()) {
11294 total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
11295 }
11296 }
11297 }
11298 cached_has_bits = this_._impl_._has_bits_[0];
11299 if (cached_has_bits & 0x0000000fu) {
11300 // optional .google.protobuf.FeatureSet features = 7;
11301 if (cached_has_bits & 0x00000001u) {
11302 total_size += 1 +
11303 ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.features_);
11304 }
11305 // optional bool allow_alias = 2;
11306 if (cached_has_bits & 0x00000002u) {
11307 total_size += 2;
11308 }
11309 // optional bool deprecated = 3 [default = false];
11310 if (cached_has_bits & 0x00000004u) {
11311 total_size += 2;
11312 }
11313 // optional bool deprecated_legacy_json_field_conflicts = 6 [deprecated = true];
11314 if (cached_has_bits & 0x00000008u) {
11315 total_size += 2;
11316 }
11317 }
11318 return this_.MaybeComputeUnknownFieldsSize(total_size,
11319 &this_._impl_._cached_size_);
11320 }
11321
11322 void EnumOptions::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
11323 auto* const _this = static_cast<EnumOptions*>(&to_msg);
11324 auto& from = static_cast<const EnumOptions&>(from_msg);
11325 ::google::protobuf::Arena* arena = _this->GetArena();
11326 // @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.EnumOptions)
11327 ABSL_DCHECK_NE(&from, _this);
11328 ::uint32_t cached_has_bits = 0;
11329 (void) cached_has_bits;
11330
11331 _this->_internal_mutable_uninterpreted_option()->MergeFrom(
11332 from._internal_uninterpreted_option());
11333 cached_has_bits = from._impl_._has_bits_[0];
11334 if (cached_has_bits & 0x0000000fu) {
11335 if (cached_has_bits & 0x00000001u) {
11336 ABSL_DCHECK(from._impl_.features_ != nullptr);
11337 if (_this->_impl_.features_ == nullptr) {
11338 _this->_impl_.features_ =
11339 ::google::protobuf::Message::CopyConstruct<::google::protobuf::FeatureSet>(arena, *from._impl_.features_);
11340 } else {
11341 _this->_impl_.features_->MergeFrom(*from._impl_.features_);
11342 }
11343 }
11344 if (cached_has_bits & 0x00000002u) {
11345 _this->_impl_.allow_alias_ = from._impl_.allow_alias_;
11346 }
11347 if (cached_has_bits & 0x00000004u) {
11348 _this->_impl_.deprecated_ = from._impl_.deprecated_;
11349 }
11350 if (cached_has_bits & 0x00000008u) {
11351 _this->_impl_.deprecated_legacy_json_field_conflicts_ = from._impl_.deprecated_legacy_json_field_conflicts_;
11352 }
11353 }
11354 _this->_impl_._has_bits_[0] |= cached_has_bits;
11355 _this->_impl_._extensions_.MergeFrom(internal_default_instance(), from._impl_._extensions_);
11356 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
11357 }
11358
11359 void EnumOptions::CopyFrom(const EnumOptions& from) {
11360 // @@protoc_insertion_point(class_specific_copy_from_start:google.protobuf.EnumOptions)
11361 if (&from == this) return;
11362 Clear();
11363 MergeFrom(from);
11364 }
11365
11366 PROTOBUF_NOINLINE bool EnumOptions::IsInitializedImpl(
11367 const MessageLite& msg) {
11368 auto& this_ = static_cast<const EnumOptions&>(msg);
11369 if (!this_._impl_._extensions_.IsInitialized(
11370 internal_default_instance())) {
11371 return false;
11372 }
11373 if (!::google::protobuf::internal::AllAreInitialized(this_._internal_uninterpreted_option()))
11374 return false;
11375 if ((this_._impl_._has_bits_[0] & 0x00000001u) != 0) {
11376 if (!this_._impl_.features_->IsInitialized()) return false;
11377 }
11378 return true;
11379 }
11380
11381 void EnumOptions::InternalSwap(EnumOptions* PROTOBUF_RESTRICT other) {
11382 using std::swap;
11383 _impl_._extensions_.InternalSwap(&other->_impl_._extensions_);
11384 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
11385 swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
11386 _impl_.uninterpreted_option_.InternalSwap(&other->_impl_.uninterpreted_option_);
11387 ::google::protobuf::internal::memswap<
11388 PROTOBUF_FIELD_OFFSET(EnumOptions, _impl_.deprecated_legacy_json_field_conflicts_)
11389 + sizeof(EnumOptions::_impl_.deprecated_legacy_json_field_conflicts_)
11390 - PROTOBUF_FIELD_OFFSET(EnumOptions, _impl_.features_)>(
11391 reinterpret_cast<char*>(&_impl_.features_),
11392 reinterpret_cast<char*>(&other->_impl_.features_));
11393 }
11394
11395 ::google::protobuf::Metadata EnumOptions::GetMetadata() const {
11396 return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
11397 }
11398 // ===================================================================
11399
11400 class EnumValueOptions::_Internal {
11401 public:
11402 using HasBits =
11403 decltype(std::declval<EnumValueOptions>()._impl_._has_bits_);
11404 static constexpr ::int32_t kHasBitsOffset =
11405 8 * PROTOBUF_FIELD_OFFSET(EnumValueOptions, _impl_._has_bits_);
11406 };
11407
11408 EnumValueOptions::EnumValueOptions(::google::protobuf::Arena* arena)
11409 #if defined(PROTOBUF_CUSTOM_VTABLE)
11410 : ::google::protobuf::Message(arena, _class_data_.base()) {
11411 #else // PROTOBUF_CUSTOM_VTABLE
11412 : ::google::protobuf::Message(arena) {
11413 #endif // PROTOBUF_CUSTOM_VTABLE
11414 SharedCtor(arena);
11415 // @@protoc_insertion_point(arena_constructor:google.protobuf.EnumValueOptions)
11416 }
11417 inline PROTOBUF_NDEBUG_INLINE EnumValueOptions::Impl_::Impl_(
11418 ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena,
11419 const Impl_& from, const ::google::protobuf::EnumValueOptions& from_msg)
11420 : _extensions_{visibility, arena},
11421 _has_bits_{from._has_bits_},
11422 _cached_size_{0},
11423 uninterpreted_option_{visibility, arena, from.uninterpreted_option_} {}
11424
11425 EnumValueOptions::EnumValueOptions(
11426 ::google::protobuf::Arena* arena,
11427 const EnumValueOptions& from)
11428 #if defined(PROTOBUF_CUSTOM_VTABLE)
11429 : ::google::protobuf::Message(arena, _class_data_.base()) {
11430 #else // PROTOBUF_CUSTOM_VTABLE
11431 : ::google::protobuf::Message(arena) {
11432 #endif // PROTOBUF_CUSTOM_VTABLE
11433 EnumValueOptions* const _this = this;
11434 (void)_this;
11435 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
11436 from._internal_metadata_);
11437 new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
11438 _impl_._extensions_.MergeFrom(this, from._impl_._extensions_);
11439 ::uint32_t cached_has_bits = _impl_._has_bits_[0];
11440 _impl_.features_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::google::protobuf::FeatureSet>(
11441 arena, *from._impl_.features_)
11442 : nullptr;
11443 _impl_.feature_support_ = (cached_has_bits & 0x00000002u) ? ::google::protobuf::Message::CopyConstruct<::google::protobuf::FieldOptions_FeatureSupport>(
11444 arena, *from._impl_.feature_support_)
11445 : nullptr;
11446 ::memcpy(reinterpret_cast<char *>(&_impl_) +
11447 offsetof(Impl_, deprecated_),
11448 reinterpret_cast<const char *>(&from._impl_) +
11449 offsetof(Impl_, deprecated_),
11450 offsetof(Impl_, debug_redact_) -
11451 offsetof(Impl_, deprecated_) +
11452 sizeof(Impl_::debug_redact_));
11453
11454 // @@protoc_insertion_point(copy_constructor:google.protobuf.EnumValueOptions)
11455 }
11456 inline PROTOBUF_NDEBUG_INLINE EnumValueOptions::Impl_::Impl_(
11457 ::google::protobuf::internal::InternalVisibility visibility,
11458 ::google::protobuf::Arena* arena)
11459 : _extensions_{visibility, arena},
11460 _cached_size_{0},
11461 uninterpreted_option_{visibility, arena} {}
11462
11463 inline void EnumValueOptions::SharedCtor(::_pb::Arena* arena) {
11464 new (&_impl_) Impl_(internal_visibility(), arena);
11465 ::memset(reinterpret_cast<char *>(&_impl_) +
11466 offsetof(Impl_, features_),
11467 0,
11468 offsetof(Impl_, debug_redact_) -
11469 offsetof(Impl_, features_) +
11470 sizeof(Impl_::debug_redact_));
11471 }
11472 EnumValueOptions::~EnumValueOptions() {
11473 // @@protoc_insertion_point(destructor:google.protobuf.EnumValueOptions)
11474 SharedDtor(*this);
11475 }
11476 inline void EnumValueOptions::SharedDtor(MessageLite& self) {
11477 EnumValueOptions& this_ = static_cast<EnumValueOptions&>(self);
11478 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
11479 ABSL_DCHECK(this_.GetArena() == nullptr);
11480 delete this_._impl_.features_;
11481 delete this_._impl_.feature_support_;
11482 this_._impl_.~Impl_();
11483 }
11484
11485 inline void* EnumValueOptions::PlacementNew_(const void*, void* mem,
11486 ::google::protobuf::Arena* arena) {
11487 return ::new (mem) EnumValueOptions(arena);
11488 }
11489 constexpr auto EnumValueOptions::InternalNewImpl_() {
11490 constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({
11491 PROTOBUF_FIELD_OFFSET(EnumValueOptions, _impl_._extensions_) +
11492 decltype(EnumValueOptions::_impl_._extensions_)::InternalGetArenaOffset(
11493 ::google::protobuf::Message::internal_visibility()),
11494 PROTOBUF_FIELD_OFFSET(EnumValueOptions, _impl_.uninterpreted_option_) +
11495 decltype(EnumValueOptions::_impl_.uninterpreted_option_)::
11496 InternalGetArenaOffset(
11497 ::google::protobuf::Message::internal_visibility()),
11498 });
11499 if (arena_bits.has_value()) {
11500 return ::google::protobuf::internal::MessageCreator::ZeroInit(
11501 sizeof(EnumValueOptions), alignof(EnumValueOptions), *arena_bits);
11502 } else {
11503 return ::google::protobuf::internal::MessageCreator(&EnumValueOptions::PlacementNew_,
11504 sizeof(EnumValueOptions),
11505 alignof(EnumValueOptions));
11506 }
11507 }
11508 PROTOBUF_CONSTINIT
11509 PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
11510 const ::google::protobuf::internal::ClassDataFull EnumValueOptions::_class_data_ = {
11511 ::google::protobuf::internal::ClassData{
11512 &_EnumValueOptions_default_instance_._instance,
11513 &_table_.header,
11514 nullptr, // OnDemandRegisterArenaDtor
11515 EnumValueOptions::IsInitializedImpl,
11516 &EnumValueOptions::MergeImpl,
11517 ::google::protobuf::Message::GetNewImpl<EnumValueOptions>(),
11518 #if defined(PROTOBUF_CUSTOM_VTABLE)
11519 &EnumValueOptions::SharedDtor,
11520 ::google::protobuf::Message::GetClearImpl<EnumValueOptions>(), &EnumValueOptions::ByteSizeLong,
11521 &EnumValueOptions::_InternalSerialize,
11522 #endif // PROTOBUF_CUSTOM_VTABLE
11523 PROTOBUF_FIELD_OFFSET(EnumValueOptions, _impl_._cached_size_),
11524 false,
11525 },
11526 &EnumValueOptions::kDescriptorMethods,
11527 &descriptor_table_google_2fprotobuf_2fdescriptor_2eproto,
11528 nullptr, // tracker
11529 };
11530 const ::google::protobuf::internal::ClassData* EnumValueOptions::GetClassData() const {
11531 ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_);
11532 ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table);
11533 return _class_data_.base();
11534 }
11535 constexpr ::_pbi::TcParseTable<3, 5, 3, 0, 7> EnumValueOptions::_table_ = {
11536 {
11537 PROTOBUF_FIELD_OFFSET(EnumValueOptions, _impl_._has_bits_),
11538 PROTOBUF_FIELD_OFFSET(EnumValueOptions, _impl_._extensions_),
11539 999, 56, // max_field_number, fast_idx_mask
11540 offsetof(decltype(_table_), field_lookup_table),
11541 4294967280, // skipmap
11542 offsetof(decltype(_table_), field_entries),
11543 5, // num_field_entries
11544 3, // num_aux_entries
11545 offsetof(decltype(_table_), aux_entries),
11546 _class_data_.base(),
11547 nullptr, // post_loop_handler
11548 ::_pbi::TcParser::GenericFallback, // fallback
11549 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
11550 ::_pbi::TcParser::GetTable<::google::protobuf::EnumValueOptions>(), // to_prefetch
11551 #endif // PROTOBUF_PREFETCH_PARSE_TABLE
11552 }, {{
11553 {::_pbi::TcParser::MiniParse, {}},
11554 // optional bool deprecated = 1 [default = false];
11555 {::_pbi::TcParser::SingularVarintNoZag1<bool, offsetof(EnumValueOptions, _impl_.deprecated_), 2>(),
11556 {8, 2, 0, PROTOBUF_FIELD_OFFSET(EnumValueOptions, _impl_.deprecated_)}},
11557 // optional .google.protobuf.FeatureSet features = 2;
11558 {::_pbi::TcParser::FastMtS1,
11559 {18, 0, 0, PROTOBUF_FIELD_OFFSET(EnumValueOptions, _impl_.features_)}},
11560 // optional bool debug_redact = 3 [default = false];
11561 {::_pbi::TcParser::SingularVarintNoZag1<bool, offsetof(EnumValueOptions, _impl_.debug_redact_), 3>(),
11562 {24, 3, 0, PROTOBUF_FIELD_OFFSET(EnumValueOptions, _impl_.debug_redact_)}},
11563 // optional .google.protobuf.FieldOptions.FeatureSupport feature_support = 4;
11564 {::_pbi::TcParser::FastMtS1,
11565 {34, 1, 1, PROTOBUF_FIELD_OFFSET(EnumValueOptions, _impl_.feature_support_)}},
11566 {::_pbi::TcParser::MiniParse, {}},
11567 {::_pbi::TcParser::MiniParse, {}},
11568 // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
11569 {::_pbi::TcParser::FastMtR2,
11570 {16058, 63, 2, PROTOBUF_FIELD_OFFSET(EnumValueOptions, _impl_.uninterpreted_option_)}},
11571 }}, {{
11572 999, 0, 1,
11573 65534, 4,
11574 65535, 65535
11575 }}, {{
11576 // optional bool deprecated = 1 [default = false];
11577 {PROTOBUF_FIELD_OFFSET(EnumValueOptions, _impl_.deprecated_), _Internal::kHasBitsOffset + 2, 0,
11578 (0 | ::_fl::kFcOptional | ::_fl::kBool)},
11579 // optional .google.protobuf.FeatureSet features = 2;
11580 {PROTOBUF_FIELD_OFFSET(EnumValueOptions, _impl_.features_), _Internal::kHasBitsOffset + 0, 0,
11581 (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
11582 // optional bool debug_redact = 3 [default = false];
11583 {PROTOBUF_FIELD_OFFSET(EnumValueOptions, _impl_.debug_redact_), _Internal::kHasBitsOffset + 3, 0,
11584 (0 | ::_fl::kFcOptional | ::_fl::kBool)},
11585 // optional .google.protobuf.FieldOptions.FeatureSupport feature_support = 4;
11586 {PROTOBUF_FIELD_OFFSET(EnumValueOptions, _impl_.feature_support_), _Internal::kHasBitsOffset + 1, 1,
11587 (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
11588 // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
11589 {PROTOBUF_FIELD_OFFSET(EnumValueOptions, _impl_.uninterpreted_option_), -1, 2,
11590 (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
11591 }}, {{
11592 {::_pbi::TcParser::GetTable<::google::protobuf::FeatureSet>()},
11593 {::_pbi::TcParser::GetTable<::google::protobuf::FieldOptions_FeatureSupport>()},
11594 {::_pbi::TcParser::GetTable<::google::protobuf::UninterpretedOption>()},
11595 }}, {{
11596 }},
11597 };
11598
11599 PROTOBUF_NOINLINE void EnumValueOptions::Clear() {
11600 // @@protoc_insertion_point(message_clear_start:google.protobuf.EnumValueOptions)
11601 ::google::protobuf::internal::TSanWrite(&_impl_);
11602 ::uint32_t cached_has_bits = 0;
11603 // Prevent compiler warnings about cached_has_bits being unused
11604 (void) cached_has_bits;
11605
11606 _impl_._extensions_.Clear();
11607 _impl_.uninterpreted_option_.Clear();
11608 cached_has_bits = _impl_._has_bits_[0];
11609 if (cached_has_bits & 0x00000003u) {
11610 if (cached_has_bits & 0x00000001u) {
11611 ABSL_DCHECK(_impl_.features_ != nullptr);
11612 _impl_.features_->Clear();
11613 }
11614 if (cached_has_bits & 0x00000002u) {
11615 ABSL_DCHECK(_impl_.feature_support_ != nullptr);
11616 _impl_.feature_support_->Clear();
11617 }
11618 }
11619 ::memset(&_impl_.deprecated_, 0, static_cast<::size_t>(
11620 reinterpret_cast<char*>(&_impl_.debug_redact_) -
11621 reinterpret_cast<char*>(&_impl_.deprecated_)) + sizeof(_impl_.debug_redact_));
11622 _impl_._has_bits_.Clear();
11623 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
11624 }
11625
11626 #if defined(PROTOBUF_CUSTOM_VTABLE)
11627 ::uint8_t* EnumValueOptions::_InternalSerialize(
11628 const MessageLite& base, ::uint8_t* target,
11629 ::google::protobuf::io::EpsCopyOutputStream* stream) {
11630 const EnumValueOptions& this_ = static_cast<const EnumValueOptions&>(base);
11631 #else // PROTOBUF_CUSTOM_VTABLE
11632 ::uint8_t* EnumValueOptions::_InternalSerialize(
11633 ::uint8_t* target,
11634 ::google::protobuf::io::EpsCopyOutputStream* stream) const {
11635 const EnumValueOptions& this_ = *this;
11636 #endif // PROTOBUF_CUSTOM_VTABLE
11637 // @@protoc_insertion_point(serialize_to_array_start:google.protobuf.EnumValueOptions)
11638 ::uint32_t cached_has_bits = 0;
11639 (void)cached_has_bits;
11640
11641 cached_has_bits = this_._impl_._has_bits_[0];
11642 // optional bool deprecated = 1 [default = false];
11643 if (cached_has_bits & 0x00000004u) {
11644 target = stream->EnsureSpace(target);
11645 target = ::_pbi::WireFormatLite::WriteBoolToArray(
11646 1, this_._internal_deprecated(), target);
11647 }
11648
11649 // optional .google.protobuf.FeatureSet features = 2;
11650 if (cached_has_bits & 0x00000001u) {
11651 target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
11652 2, *this_._impl_.features_, this_._impl_.features_->GetCachedSize(), target,
11653 stream);
11654 }
11655
11656 // optional bool debug_redact = 3 [default = false];
11657 if (cached_has_bits & 0x00000008u) {
11658 target = stream->EnsureSpace(target);
11659 target = ::_pbi::WireFormatLite::WriteBoolToArray(
11660 3, this_._internal_debug_redact(), target);
11661 }
11662
11663 // optional .google.protobuf.FieldOptions.FeatureSupport feature_support = 4;
11664 if (cached_has_bits & 0x00000002u) {
11665 target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
11666 4, *this_._impl_.feature_support_, this_._impl_.feature_support_->GetCachedSize(), target,
11667 stream);
11668 }
11669
11670 // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
11671 for (unsigned i = 0, n = static_cast<unsigned>(
11672 this_._internal_uninterpreted_option_size());
11673 i < n; i++) {
11674 const auto& repfield = this_._internal_uninterpreted_option().Get(i);
11675 target =
11676 ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
11677 999, repfield, repfield.GetCachedSize(),
11678 target, stream);
11679 }
11680
11681 // Extension range [1000, 536870912)
11682 target = this_._impl_._extensions_._InternalSerialize(
11683 internal_default_instance(), 1000, 536870912, target, stream);
11684 if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
11685 target =
11686 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
11687 this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
11688 }
11689 // @@protoc_insertion_point(serialize_to_array_end:google.protobuf.EnumValueOptions)
11690 return target;
11691 }
11692
11693 #if defined(PROTOBUF_CUSTOM_VTABLE)
11694 ::size_t EnumValueOptions::ByteSizeLong(const MessageLite& base) {
11695 const EnumValueOptions& this_ = static_cast<const EnumValueOptions&>(base);
11696 #else // PROTOBUF_CUSTOM_VTABLE
11697 ::size_t EnumValueOptions::ByteSizeLong() const {
11698 const EnumValueOptions& this_ = *this;
11699 #endif // PROTOBUF_CUSTOM_VTABLE
11700 // @@protoc_insertion_point(message_byte_size_start:google.protobuf.EnumValueOptions)
11701 ::size_t total_size = 0;
11702 total_size += this_._impl_._extensions_.ByteSize();
11703
11704 ::uint32_t cached_has_bits = 0;
11705 // Prevent compiler warnings about cached_has_bits being unused
11706 (void)cached_has_bits;
11707
11708 ::_pbi::Prefetch5LinesFrom7Lines(&this_);
11709 {
11710 // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
11711 {
11712 total_size += 2UL * this_._internal_uninterpreted_option_size();
11713 for (const auto& msg : this_._internal_uninterpreted_option()) {
11714 total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
11715 }
11716 }
11717 }
11718 cached_has_bits = this_._impl_._has_bits_[0];
11719 if (cached_has_bits & 0x0000000fu) {
11720 // optional .google.protobuf.FeatureSet features = 2;
11721 if (cached_has_bits & 0x00000001u) {
11722 total_size += 1 +
11723 ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.features_);
11724 }
11725 // optional .google.protobuf.FieldOptions.FeatureSupport feature_support = 4;
11726 if (cached_has_bits & 0x00000002u) {
11727 total_size += 1 +
11728 ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.feature_support_);
11729 }
11730 // optional bool deprecated = 1 [default = false];
11731 if (cached_has_bits & 0x00000004u) {
11732 total_size += 2;
11733 }
11734 // optional bool debug_redact = 3 [default = false];
11735 if (cached_has_bits & 0x00000008u) {
11736 total_size += 2;
11737 }
11738 }
11739 return this_.MaybeComputeUnknownFieldsSize(total_size,
11740 &this_._impl_._cached_size_);
11741 }
11742
11743 void EnumValueOptions::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
11744 auto* const _this = static_cast<EnumValueOptions*>(&to_msg);
11745 auto& from = static_cast<const EnumValueOptions&>(from_msg);
11746 ::google::protobuf::Arena* arena = _this->GetArena();
11747 // @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.EnumValueOptions)
11748 ABSL_DCHECK_NE(&from, _this);
11749 ::uint32_t cached_has_bits = 0;
11750 (void) cached_has_bits;
11751
11752 _this->_internal_mutable_uninterpreted_option()->MergeFrom(
11753 from._internal_uninterpreted_option());
11754 cached_has_bits = from._impl_._has_bits_[0];
11755 if (cached_has_bits & 0x0000000fu) {
11756 if (cached_has_bits & 0x00000001u) {
11757 ABSL_DCHECK(from._impl_.features_ != nullptr);
11758 if (_this->_impl_.features_ == nullptr) {
11759 _this->_impl_.features_ =
11760 ::google::protobuf::Message::CopyConstruct<::google::protobuf::FeatureSet>(arena, *from._impl_.features_);
11761 } else {
11762 _this->_impl_.features_->MergeFrom(*from._impl_.features_);
11763 }
11764 }
11765 if (cached_has_bits & 0x00000002u) {
11766 ABSL_DCHECK(from._impl_.feature_support_ != nullptr);
11767 if (_this->_impl_.feature_support_ == nullptr) {
11768 _this->_impl_.feature_support_ =
11769 ::google::protobuf::Message::CopyConstruct<::google::protobuf::FieldOptions_FeatureSupport>(arena, *from._impl_.feature_support_);
11770 } else {
11771 _this->_impl_.feature_support_->MergeFrom(*from._impl_.feature_support_);
11772 }
11773 }
11774 if (cached_has_bits & 0x00000004u) {
11775 _this->_impl_.deprecated_ = from._impl_.deprecated_;
11776 }
11777 if (cached_has_bits & 0x00000008u) {
11778 _this->_impl_.debug_redact_ = from._impl_.debug_redact_;
11779 }
11780 }
11781 _this->_impl_._has_bits_[0] |= cached_has_bits;
11782 _this->_impl_._extensions_.MergeFrom(internal_default_instance(), from._impl_._extensions_);
11783 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
11784 }
11785
11786 void EnumValueOptions::CopyFrom(const EnumValueOptions& from) {
11787 // @@protoc_insertion_point(class_specific_copy_from_start:google.protobuf.EnumValueOptions)
11788 if (&from == this) return;
11789 Clear();
11790 MergeFrom(from);
11791 }
11792
11793 PROTOBUF_NOINLINE bool EnumValueOptions::IsInitializedImpl(
11794 const MessageLite& msg) {
11795 auto& this_ = static_cast<const EnumValueOptions&>(msg);
11796 if (!this_._impl_._extensions_.IsInitialized(
11797 internal_default_instance())) {
11798 return false;
11799 }
11800 if (!::google::protobuf::internal::AllAreInitialized(this_._internal_uninterpreted_option()))
11801 return false;
11802 if ((this_._impl_._has_bits_[0] & 0x00000001u) != 0) {
11803 if (!this_._impl_.features_->IsInitialized()) return false;
11804 }
11805 return true;
11806 }
11807
11808 void EnumValueOptions::InternalSwap(EnumValueOptions* PROTOBUF_RESTRICT other) {
11809 using std::swap;
11810 _impl_._extensions_.InternalSwap(&other->_impl_._extensions_);
11811 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
11812 swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
11813 _impl_.uninterpreted_option_.InternalSwap(&other->_impl_.uninterpreted_option_);
11814 ::google::protobuf::internal::memswap<
11815 PROTOBUF_FIELD_OFFSET(EnumValueOptions, _impl_.debug_redact_)
11816 + sizeof(EnumValueOptions::_impl_.debug_redact_)
11817 - PROTOBUF_FIELD_OFFSET(EnumValueOptions, _impl_.features_)>(
11818 reinterpret_cast<char*>(&_impl_.features_),
11819 reinterpret_cast<char*>(&other->_impl_.features_));
11820 }
11821
11822 ::google::protobuf::Metadata EnumValueOptions::GetMetadata() const {
11823 return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
11824 }
11825 // ===================================================================
11826
11827 class ServiceOptions::_Internal {
11828 public:
11829 using HasBits =
11830 decltype(std::declval<ServiceOptions>()._impl_._has_bits_);
11831 static constexpr ::int32_t kHasBitsOffset =
11832 8 * PROTOBUF_FIELD_OFFSET(ServiceOptions, _impl_._has_bits_);
11833 };
11834
11835 ServiceOptions::ServiceOptions(::google::protobuf::Arena* arena)
11836 #if defined(PROTOBUF_CUSTOM_VTABLE)
11837 : ::google::protobuf::Message(arena, _class_data_.base()) {
11838 #else // PROTOBUF_CUSTOM_VTABLE
11839 : ::google::protobuf::Message(arena) {
11840 #endif // PROTOBUF_CUSTOM_VTABLE
11841 SharedCtor(arena);
11842 // @@protoc_insertion_point(arena_constructor:google.protobuf.ServiceOptions)
11843 }
11844 inline PROTOBUF_NDEBUG_INLINE ServiceOptions::Impl_::Impl_(
11845 ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena,
11846 const Impl_& from, const ::google::protobuf::ServiceOptions& from_msg)
11847 : _extensions_{visibility, arena},
11848 _has_bits_{from._has_bits_},
11849 _cached_size_{0},
11850 uninterpreted_option_{visibility, arena, from.uninterpreted_option_} {}
11851
11852 ServiceOptions::ServiceOptions(
11853 ::google::protobuf::Arena* arena,
11854 const ServiceOptions& from)
11855 #if defined(PROTOBUF_CUSTOM_VTABLE)
11856 : ::google::protobuf::Message(arena, _class_data_.base()) {
11857 #else // PROTOBUF_CUSTOM_VTABLE
11858 : ::google::protobuf::Message(arena) {
11859 #endif // PROTOBUF_CUSTOM_VTABLE
11860 ServiceOptions* const _this = this;
11861 (void)_this;
11862 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
11863 from._internal_metadata_);
11864 new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
11865 _impl_._extensions_.MergeFrom(this, from._impl_._extensions_);
11866 ::uint32_t cached_has_bits = _impl_._has_bits_[0];
11867 _impl_.features_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::google::protobuf::FeatureSet>(
11868 arena, *from._impl_.features_)
11869 : nullptr;
11870 _impl_.deprecated_ = from._impl_.deprecated_;
11871
11872 // @@protoc_insertion_point(copy_constructor:google.protobuf.ServiceOptions)
11873 }
11874 inline PROTOBUF_NDEBUG_INLINE ServiceOptions::Impl_::Impl_(
11875 ::google::protobuf::internal::InternalVisibility visibility,
11876 ::google::protobuf::Arena* arena)
11877 : _extensions_{visibility, arena},
11878 _cached_size_{0},
11879 uninterpreted_option_{visibility, arena} {}
11880
11881 inline void ServiceOptions::SharedCtor(::_pb::Arena* arena) {
11882 new (&_impl_) Impl_(internal_visibility(), arena);
11883 ::memset(reinterpret_cast<char *>(&_impl_) +
11884 offsetof(Impl_, features_),
11885 0,
11886 offsetof(Impl_, deprecated_) -
11887 offsetof(Impl_, features_) +
11888 sizeof(Impl_::deprecated_));
11889 }
11890 ServiceOptions::~ServiceOptions() {
11891 // @@protoc_insertion_point(destructor:google.protobuf.ServiceOptions)
11892 SharedDtor(*this);
11893 }
11894 inline void ServiceOptions::SharedDtor(MessageLite& self) {
11895 ServiceOptions& this_ = static_cast<ServiceOptions&>(self);
11896 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
11897 ABSL_DCHECK(this_.GetArena() == nullptr);
11898 delete this_._impl_.features_;
11899 this_._impl_.~Impl_();
11900 }
11901
11902 inline void* ServiceOptions::PlacementNew_(const void*, void* mem,
11903 ::google::protobuf::Arena* arena) {
11904 return ::new (mem) ServiceOptions(arena);
11905 }
11906 constexpr auto ServiceOptions::InternalNewImpl_() {
11907 constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({
11908 PROTOBUF_FIELD_OFFSET(ServiceOptions, _impl_._extensions_) +
11909 decltype(ServiceOptions::_impl_._extensions_)::InternalGetArenaOffset(
11910 ::google::protobuf::Message::internal_visibility()),
11911 PROTOBUF_FIELD_OFFSET(ServiceOptions, _impl_.uninterpreted_option_) +
11912 decltype(ServiceOptions::_impl_.uninterpreted_option_)::
11913 InternalGetArenaOffset(
11914 ::google::protobuf::Message::internal_visibility()),
11915 });
11916 if (arena_bits.has_value()) {
11917 return ::google::protobuf::internal::MessageCreator::ZeroInit(
11918 sizeof(ServiceOptions), alignof(ServiceOptions), *arena_bits);
11919 } else {
11920 return ::google::protobuf::internal::MessageCreator(&ServiceOptions::PlacementNew_,
11921 sizeof(ServiceOptions),
11922 alignof(ServiceOptions));
11923 }
11924 }
11925 PROTOBUF_CONSTINIT
11926 PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
11927 const ::google::protobuf::internal::ClassDataFull ServiceOptions::_class_data_ = {
11928 ::google::protobuf::internal::ClassData{
11929 &_ServiceOptions_default_instance_._instance,
11930 &_table_.header,
11931 nullptr, // OnDemandRegisterArenaDtor
11932 ServiceOptions::IsInitializedImpl,
11933 &ServiceOptions::MergeImpl,
11934 ::google::protobuf::Message::GetNewImpl<ServiceOptions>(),
11935 #if defined(PROTOBUF_CUSTOM_VTABLE)
11936 &ServiceOptions::SharedDtor,
11937 ::google::protobuf::Message::GetClearImpl<ServiceOptions>(), &ServiceOptions::ByteSizeLong,
11938 &ServiceOptions::_InternalSerialize,
11939 #endif // PROTOBUF_CUSTOM_VTABLE
11940 PROTOBUF_FIELD_OFFSET(ServiceOptions, _impl_._cached_size_),
11941 false,
11942 },
11943 &ServiceOptions::kDescriptorMethods,
11944 &descriptor_table_google_2fprotobuf_2fdescriptor_2eproto,
11945 nullptr, // tracker
11946 };
11947 const ::google::protobuf::internal::ClassData* ServiceOptions::GetClassData() const {
11948 ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_);
11949 ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table);
11950 return _class_data_.base();
11951 }
11952 constexpr ::_pbi::TcParseTable<2, 3, 2, 0, 12> ServiceOptions::_table_ = {
11953 {
11954 PROTOBUF_FIELD_OFFSET(ServiceOptions, _impl_._has_bits_),
11955 PROTOBUF_FIELD_OFFSET(ServiceOptions, _impl_._extensions_),
11956 999, 24, // max_field_number, fast_idx_mask
11957 offsetof(decltype(_table_), field_lookup_table),
11958 4294967295, // skipmap
11959 offsetof(decltype(_table_), field_entries),
11960 3, // num_field_entries
11961 2, // num_aux_entries
11962 offsetof(decltype(_table_), aux_entries),
11963 _class_data_.base(),
11964 nullptr, // post_loop_handler
11965 ::_pbi::TcParser::GenericFallback, // fallback
11966 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
11967 ::_pbi::TcParser::GetTable<::google::protobuf::ServiceOptions>(), // to_prefetch
11968 #endif // PROTOBUF_PREFETCH_PARSE_TABLE
11969 }, {{
11970 {::_pbi::TcParser::MiniParse, {}},
11971 // optional bool deprecated = 33 [default = false];
11972 {::_pbi::TcParser::FastV8S2,
11973 {648, 1, 0, PROTOBUF_FIELD_OFFSET(ServiceOptions, _impl_.deprecated_)}},
11974 // optional .google.protobuf.FeatureSet features = 34;
11975 {::_pbi::TcParser::FastMtS2,
11976 {658, 0, 0, PROTOBUF_FIELD_OFFSET(ServiceOptions, _impl_.features_)}},
11977 // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
11978 {::_pbi::TcParser::FastMtR2,
11979 {16058, 63, 1, PROTOBUF_FIELD_OFFSET(ServiceOptions, _impl_.uninterpreted_option_)}},
11980 }}, {{
11981 33, 0, 1,
11982 65532, 0,999, 0, 1,
11983 65534, 2,
11984 65535, 65535
11985 }}, {{
11986 // optional bool deprecated = 33 [default = false];
11987 {PROTOBUF_FIELD_OFFSET(ServiceOptions, _impl_.deprecated_), _Internal::kHasBitsOffset + 1, 0,
11988 (0 | ::_fl::kFcOptional | ::_fl::kBool)},
11989 // optional .google.protobuf.FeatureSet features = 34;
11990 {PROTOBUF_FIELD_OFFSET(ServiceOptions, _impl_.features_), _Internal::kHasBitsOffset + 0, 0,
11991 (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
11992 // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
11993 {PROTOBUF_FIELD_OFFSET(ServiceOptions, _impl_.uninterpreted_option_), -1, 1,
11994 (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
11995 }}, {{
11996 {::_pbi::TcParser::GetTable<::google::protobuf::FeatureSet>()},
11997 {::_pbi::TcParser::GetTable<::google::protobuf::UninterpretedOption>()},
11998 }}, {{
11999 }},
12000 };
12001
12002 PROTOBUF_NOINLINE void ServiceOptions::Clear() {
12003 // @@protoc_insertion_point(message_clear_start:google.protobuf.ServiceOptions)
12004 ::google::protobuf::internal::TSanWrite(&_impl_);
12005 ::uint32_t cached_has_bits = 0;
12006 // Prevent compiler warnings about cached_has_bits being unused
12007 (void) cached_has_bits;
12008
12009 _impl_._extensions_.Clear();
12010 _impl_.uninterpreted_option_.Clear();
12011 cached_has_bits = _impl_._has_bits_[0];
12012 if (cached_has_bits & 0x00000001u) {
12013 ABSL_DCHECK(_impl_.features_ != nullptr);
12014 _impl_.features_->Clear();
12015 }
12016 _impl_.deprecated_ = false;
12017 _impl_._has_bits_.Clear();
12018 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
12019 }
12020
12021 #if defined(PROTOBUF_CUSTOM_VTABLE)
12022 ::uint8_t* ServiceOptions::_InternalSerialize(
12023 const MessageLite& base, ::uint8_t* target,
12024 ::google::protobuf::io::EpsCopyOutputStream* stream) {
12025 const ServiceOptions& this_ = static_cast<const ServiceOptions&>(base);
12026 #else // PROTOBUF_CUSTOM_VTABLE
12027 ::uint8_t* ServiceOptions::_InternalSerialize(
12028 ::uint8_t* target,
12029 ::google::protobuf::io::EpsCopyOutputStream* stream) const {
12030 const ServiceOptions& this_ = *this;
12031 #endif // PROTOBUF_CUSTOM_VTABLE
12032 // @@protoc_insertion_point(serialize_to_array_start:google.protobuf.ServiceOptions)
12033 ::uint32_t cached_has_bits = 0;
12034 (void)cached_has_bits;
12035
12036 cached_has_bits = this_._impl_._has_bits_[0];
12037 // optional bool deprecated = 33 [default = false];
12038 if (cached_has_bits & 0x00000002u) {
12039 target = stream->EnsureSpace(target);
12040 target = ::_pbi::WireFormatLite::WriteBoolToArray(
12041 33, this_._internal_deprecated(), target);
12042 }
12043
12044 // optional .google.protobuf.FeatureSet features = 34;
12045 if (cached_has_bits & 0x00000001u) {
12046 target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
12047 34, *this_._impl_.features_, this_._impl_.features_->GetCachedSize(), target,
12048 stream);
12049 }
12050
12051 // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
12052 for (unsigned i = 0, n = static_cast<unsigned>(
12053 this_._internal_uninterpreted_option_size());
12054 i < n; i++) {
12055 const auto& repfield = this_._internal_uninterpreted_option().Get(i);
12056 target =
12057 ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
12058 999, repfield, repfield.GetCachedSize(),
12059 target, stream);
12060 }
12061
12062 // Extension range [1000, 536870912)
12063 target = this_._impl_._extensions_._InternalSerialize(
12064 internal_default_instance(), 1000, 536870912, target, stream);
12065 if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
12066 target =
12067 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
12068 this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
12069 }
12070 // @@protoc_insertion_point(serialize_to_array_end:google.protobuf.ServiceOptions)
12071 return target;
12072 }
12073
12074 #if defined(PROTOBUF_CUSTOM_VTABLE)
12075 ::size_t ServiceOptions::ByteSizeLong(const MessageLite& base) {
12076 const ServiceOptions& this_ = static_cast<const ServiceOptions&>(base);
12077 #else // PROTOBUF_CUSTOM_VTABLE
12078 ::size_t ServiceOptions::ByteSizeLong() const {
12079 const ServiceOptions& this_ = *this;
12080 #endif // PROTOBUF_CUSTOM_VTABLE
12081 // @@protoc_insertion_point(message_byte_size_start:google.protobuf.ServiceOptions)
12082 ::size_t total_size = 0;
12083 total_size += this_._impl_._extensions_.ByteSize();
12084
12085 ::uint32_t cached_has_bits = 0;
12086 // Prevent compiler warnings about cached_has_bits being unused
12087 (void)cached_has_bits;
12088
12089 ::_pbi::Prefetch5LinesFrom7Lines(&this_);
12090 {
12091 // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
12092 {
12093 total_size += 2UL * this_._internal_uninterpreted_option_size();
12094 for (const auto& msg : this_._internal_uninterpreted_option()) {
12095 total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
12096 }
12097 }
12098 }
12099 cached_has_bits = this_._impl_._has_bits_[0];
12100 if (cached_has_bits & 0x00000003u) {
12101 // optional .google.protobuf.FeatureSet features = 34;
12102 if (cached_has_bits & 0x00000001u) {
12103 total_size += 2 +
12104 ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.features_);
12105 }
12106 // optional bool deprecated = 33 [default = false];
12107 if (cached_has_bits & 0x00000002u) {
12108 total_size += 3;
12109 }
12110 }
12111 return this_.MaybeComputeUnknownFieldsSize(total_size,
12112 &this_._impl_._cached_size_);
12113 }
12114
12115 void ServiceOptions::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
12116 auto* const _this = static_cast<ServiceOptions*>(&to_msg);
12117 auto& from = static_cast<const ServiceOptions&>(from_msg);
12118 ::google::protobuf::Arena* arena = _this->GetArena();
12119 // @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.ServiceOptions)
12120 ABSL_DCHECK_NE(&from, _this);
12121 ::uint32_t cached_has_bits = 0;
12122 (void) cached_has_bits;
12123
12124 _this->_internal_mutable_uninterpreted_option()->MergeFrom(
12125 from._internal_uninterpreted_option());
12126 cached_has_bits = from._impl_._has_bits_[0];
12127 if (cached_has_bits & 0x00000003u) {
12128 if (cached_has_bits & 0x00000001u) {
12129 ABSL_DCHECK(from._impl_.features_ != nullptr);
12130 if (_this->_impl_.features_ == nullptr) {
12131 _this->_impl_.features_ =
12132 ::google::protobuf::Message::CopyConstruct<::google::protobuf::FeatureSet>(arena, *from._impl_.features_);
12133 } else {
12134 _this->_impl_.features_->MergeFrom(*from._impl_.features_);
12135 }
12136 }
12137 if (cached_has_bits & 0x00000002u) {
12138 _this->_impl_.deprecated_ = from._impl_.deprecated_;
12139 }
12140 }
12141 _this->_impl_._has_bits_[0] |= cached_has_bits;
12142 _this->_impl_._extensions_.MergeFrom(internal_default_instance(), from._impl_._extensions_);
12143 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
12144 }
12145
12146 void ServiceOptions::CopyFrom(const ServiceOptions& from) {
12147 // @@protoc_insertion_point(class_specific_copy_from_start:google.protobuf.ServiceOptions)
12148 if (&from == this) return;
12149 Clear();
12150 MergeFrom(from);
12151 }
12152
12153 PROTOBUF_NOINLINE bool ServiceOptions::IsInitializedImpl(
12154 const MessageLite& msg) {
12155 auto& this_ = static_cast<const ServiceOptions&>(msg);
12156 if (!this_._impl_._extensions_.IsInitialized(
12157 internal_default_instance())) {
12158 return false;
12159 }
12160 if (!::google::protobuf::internal::AllAreInitialized(this_._internal_uninterpreted_option()))
12161 return false;
12162 if ((this_._impl_._has_bits_[0] & 0x00000001u) != 0) {
12163 if (!this_._impl_.features_->IsInitialized()) return false;
12164 }
12165 return true;
12166 }
12167
12168 void ServiceOptions::InternalSwap(ServiceOptions* PROTOBUF_RESTRICT other) {
12169 using std::swap;
12170 _impl_._extensions_.InternalSwap(&other->_impl_._extensions_);
12171 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
12172 swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
12173 _impl_.uninterpreted_option_.InternalSwap(&other->_impl_.uninterpreted_option_);
12174 ::google::protobuf::internal::memswap<
12175 PROTOBUF_FIELD_OFFSET(ServiceOptions, _impl_.deprecated_)
12176 + sizeof(ServiceOptions::_impl_.deprecated_)
12177 - PROTOBUF_FIELD_OFFSET(ServiceOptions, _impl_.features_)>(
12178 reinterpret_cast<char*>(&_impl_.features_),
12179 reinterpret_cast<char*>(&other->_impl_.features_));
12180 }
12181
12182 ::google::protobuf::Metadata ServiceOptions::GetMetadata() const {
12183 return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
12184 }
12185 // ===================================================================
12186
12187 class MethodOptions::_Internal {
12188 public:
12189 using HasBits =
12190 decltype(std::declval<MethodOptions>()._impl_._has_bits_);
12191 static constexpr ::int32_t kHasBitsOffset =
12192 8 * PROTOBUF_FIELD_OFFSET(MethodOptions, _impl_._has_bits_);
12193 };
12194
12195 MethodOptions::MethodOptions(::google::protobuf::Arena* arena)
12196 #if defined(PROTOBUF_CUSTOM_VTABLE)
12197 : ::google::protobuf::Message(arena, _class_data_.base()) {
12198 #else // PROTOBUF_CUSTOM_VTABLE
12199 : ::google::protobuf::Message(arena) {
12200 #endif // PROTOBUF_CUSTOM_VTABLE
12201 SharedCtor(arena);
12202 // @@protoc_insertion_point(arena_constructor:google.protobuf.MethodOptions)
12203 }
12204 inline PROTOBUF_NDEBUG_INLINE MethodOptions::Impl_::Impl_(
12205 ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena,
12206 const Impl_& from, const ::google::protobuf::MethodOptions& from_msg)
12207 : _extensions_{visibility, arena},
12208 _has_bits_{from._has_bits_},
12209 _cached_size_{0},
12210 uninterpreted_option_{visibility, arena, from.uninterpreted_option_} {}
12211
12212 MethodOptions::MethodOptions(
12213 ::google::protobuf::Arena* arena,
12214 const MethodOptions& from)
12215 #if defined(PROTOBUF_CUSTOM_VTABLE)
12216 : ::google::protobuf::Message(arena, _class_data_.base()) {
12217 #else // PROTOBUF_CUSTOM_VTABLE
12218 : ::google::protobuf::Message(arena) {
12219 #endif // PROTOBUF_CUSTOM_VTABLE
12220 MethodOptions* const _this = this;
12221 (void)_this;
12222 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
12223 from._internal_metadata_);
12224 new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
12225 _impl_._extensions_.MergeFrom(this, from._impl_._extensions_);
12226 ::uint32_t cached_has_bits = _impl_._has_bits_[0];
12227 _impl_.features_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::google::protobuf::FeatureSet>(
12228 arena, *from._impl_.features_)
12229 : nullptr;
12230 ::memcpy(reinterpret_cast<char *>(&_impl_) +
12231 offsetof(Impl_, deprecated_),
12232 reinterpret_cast<const char *>(&from._impl_) +
12233 offsetof(Impl_, deprecated_),
12234 offsetof(Impl_, idempotency_level_) -
12235 offsetof(Impl_, deprecated_) +
12236 sizeof(Impl_::idempotency_level_));
12237
12238 // @@protoc_insertion_point(copy_constructor:google.protobuf.MethodOptions)
12239 }
12240 inline PROTOBUF_NDEBUG_INLINE MethodOptions::Impl_::Impl_(
12241 ::google::protobuf::internal::InternalVisibility visibility,
12242 ::google::protobuf::Arena* arena)
12243 : _extensions_{visibility, arena},
12244 _cached_size_{0},
12245 uninterpreted_option_{visibility, arena} {}
12246
12247 inline void MethodOptions::SharedCtor(::_pb::Arena* arena) {
12248 new (&_impl_) Impl_(internal_visibility(), arena);
12249 ::memset(reinterpret_cast<char *>(&_impl_) +
12250 offsetof(Impl_, features_),
12251 0,
12252 offsetof(Impl_, idempotency_level_) -
12253 offsetof(Impl_, features_) +
12254 sizeof(Impl_::idempotency_level_));
12255 }
12256 MethodOptions::~MethodOptions() {
12257 // @@protoc_insertion_point(destructor:google.protobuf.MethodOptions)
12258 SharedDtor(*this);
12259 }
12260 inline void MethodOptions::SharedDtor(MessageLite& self) {
12261 MethodOptions& this_ = static_cast<MethodOptions&>(self);
12262 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
12263 ABSL_DCHECK(this_.GetArena() == nullptr);
12264 delete this_._impl_.features_;
12265 this_._impl_.~Impl_();
12266 }
12267
12268 inline void* MethodOptions::PlacementNew_(const void*, void* mem,
12269 ::google::protobuf::Arena* arena) {
12270 return ::new (mem) MethodOptions(arena);
12271 }
12272 constexpr auto MethodOptions::InternalNewImpl_() {
12273 constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({
12274 PROTOBUF_FIELD_OFFSET(MethodOptions, _impl_._extensions_) +
12275 decltype(MethodOptions::_impl_._extensions_)::InternalGetArenaOffset(
12276 ::google::protobuf::Message::internal_visibility()),
12277 PROTOBUF_FIELD_OFFSET(MethodOptions, _impl_.uninterpreted_option_) +
12278 decltype(MethodOptions::_impl_.uninterpreted_option_)::
12279 InternalGetArenaOffset(
12280 ::google::protobuf::Message::internal_visibility()),
12281 });
12282 if (arena_bits.has_value()) {
12283 return ::google::protobuf::internal::MessageCreator::ZeroInit(
12284 sizeof(MethodOptions), alignof(MethodOptions), *arena_bits);
12285 } else {
12286 return ::google::protobuf::internal::MessageCreator(&MethodOptions::PlacementNew_,
12287 sizeof(MethodOptions),
12288 alignof(MethodOptions));
12289 }
12290 }
12291 PROTOBUF_CONSTINIT
12292 PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
12293 const ::google::protobuf::internal::ClassDataFull MethodOptions::_class_data_ = {
12294 ::google::protobuf::internal::ClassData{
12295 &_MethodOptions_default_instance_._instance,
12296 &_table_.header,
12297 nullptr, // OnDemandRegisterArenaDtor
12298 MethodOptions::IsInitializedImpl,
12299 &MethodOptions::MergeImpl,
12300 ::google::protobuf::Message::GetNewImpl<MethodOptions>(),
12301 #if defined(PROTOBUF_CUSTOM_VTABLE)
12302 &MethodOptions::SharedDtor,
12303 ::google::protobuf::Message::GetClearImpl<MethodOptions>(), &MethodOptions::ByteSizeLong,
12304 &MethodOptions::_InternalSerialize,
12305 #endif // PROTOBUF_CUSTOM_VTABLE
12306 PROTOBUF_FIELD_OFFSET(MethodOptions, _impl_._cached_size_),
12307 false,
12308 },
12309 &MethodOptions::kDescriptorMethods,
12310 &descriptor_table_google_2fprotobuf_2fdescriptor_2eproto,
12311 nullptr, // tracker
12312 };
12313 const ::google::protobuf::internal::ClassData* MethodOptions::GetClassData() const {
12314 ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_);
12315 ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table);
12316 return _class_data_.base();
12317 }
12318 constexpr ::_pbi::TcParseTable<3, 4, 3, 0, 12> MethodOptions::_table_ = {
12319 {
12320 PROTOBUF_FIELD_OFFSET(MethodOptions, _impl_._has_bits_),
12321 PROTOBUF_FIELD_OFFSET(MethodOptions, _impl_._extensions_),
12322 999, 56, // max_field_number, fast_idx_mask
12323 offsetof(decltype(_table_), field_lookup_table),
12324 4294967295, // skipmap
12325 offsetof(decltype(_table_), field_entries),
12326 4, // num_field_entries
12327 3, // num_aux_entries
12328 offsetof(decltype(_table_), aux_entries),
12329 _class_data_.base(),
12330 nullptr, // post_loop_handler
12331 ::_pbi::TcParser::GenericFallback, // fallback
12332 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
12333 ::_pbi::TcParser::GetTable<::google::protobuf::MethodOptions>(), // to_prefetch
12334 #endif // PROTOBUF_PREFETCH_PARSE_TABLE
12335 }, {{
12336 {::_pbi::TcParser::MiniParse, {}},
12337 // optional bool deprecated = 33 [default = false];
12338 {::_pbi::TcParser::FastV8S2,
12339 {648, 1, 0, PROTOBUF_FIELD_OFFSET(MethodOptions, _impl_.deprecated_)}},
12340 // optional .google.protobuf.MethodOptions.IdempotencyLevel idempotency_level = 34 [default = IDEMPOTENCY_UNKNOWN];
12341 {::_pbi::TcParser::FastEr0S2,
12342 {656, 2, 2, PROTOBUF_FIELD_OFFSET(MethodOptions, _impl_.idempotency_level_)}},
12343 // optional .google.protobuf.FeatureSet features = 35;
12344 {::_pbi::TcParser::FastMtS2,
12345 {666, 0, 0, PROTOBUF_FIELD_OFFSET(MethodOptions, _impl_.features_)}},
12346 {::_pbi::TcParser::MiniParse, {}},
12347 {::_pbi::TcParser::MiniParse, {}},
12348 {::_pbi::TcParser::MiniParse, {}},
12349 // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
12350 {::_pbi::TcParser::FastMtR2,
12351 {16058, 63, 1, PROTOBUF_FIELD_OFFSET(MethodOptions, _impl_.uninterpreted_option_)}},
12352 }}, {{
12353 33, 0, 1,
12354 65528, 0,999, 0, 1,
12355 65534, 3,
12356 65535, 65535
12357 }}, {{
12358 // optional bool deprecated = 33 [default = false];
12359 {PROTOBUF_FIELD_OFFSET(MethodOptions, _impl_.deprecated_), _Internal::kHasBitsOffset + 1, 0,
12360 (0 | ::_fl::kFcOptional | ::_fl::kBool)},
12361 // optional .google.protobuf.MethodOptions.IdempotencyLevel idempotency_level = 34 [default = IDEMPOTENCY_UNKNOWN];
12362 {PROTOBUF_FIELD_OFFSET(MethodOptions, _impl_.idempotency_level_), _Internal::kHasBitsOffset + 2, 2,
12363 (0 | ::_fl::kFcOptional | ::_fl::kEnumRange)},
12364 // optional .google.protobuf.FeatureSet features = 35;
12365 {PROTOBUF_FIELD_OFFSET(MethodOptions, _impl_.features_), _Internal::kHasBitsOffset + 0, 0,
12366 (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
12367 // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
12368 {PROTOBUF_FIELD_OFFSET(MethodOptions, _impl_.uninterpreted_option_), -1, 1,
12369 (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
12370 }}, {{
12371 {::_pbi::TcParser::GetTable<::google::protobuf::FeatureSet>()},
12372 {::_pbi::TcParser::GetTable<::google::protobuf::UninterpretedOption>()},
12373 {0, 3},
12374 }}, {{
12375 }},
12376 };
12377
12378 PROTOBUF_NOINLINE void MethodOptions::Clear() {
12379 // @@protoc_insertion_point(message_clear_start:google.protobuf.MethodOptions)
12380 ::google::protobuf::internal::TSanWrite(&_impl_);
12381 ::uint32_t cached_has_bits = 0;
12382 // Prevent compiler warnings about cached_has_bits being unused
12383 (void) cached_has_bits;
12384
12385 _impl_._extensions_.Clear();
12386 _impl_.uninterpreted_option_.Clear();
12387 cached_has_bits = _impl_._has_bits_[0];
12388 if (cached_has_bits & 0x00000001u) {
12389 ABSL_DCHECK(_impl_.features_ != nullptr);
12390 _impl_.features_->Clear();
12391 }
12392 if (cached_has_bits & 0x00000006u) {
12393 ::memset(&_impl_.deprecated_, 0, static_cast<::size_t>(
12394 reinterpret_cast<char*>(&_impl_.idempotency_level_) -
12395 reinterpret_cast<char*>(&_impl_.deprecated_)) + sizeof(_impl_.idempotency_level_));
12396 }
12397 _impl_._has_bits_.Clear();
12398 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
12399 }
12400
12401 #if defined(PROTOBUF_CUSTOM_VTABLE)
12402 ::uint8_t* MethodOptions::_InternalSerialize(
12403 const MessageLite& base, ::uint8_t* target,
12404 ::google::protobuf::io::EpsCopyOutputStream* stream) {
12405 const MethodOptions& this_ = static_cast<const MethodOptions&>(base);
12406 #else // PROTOBUF_CUSTOM_VTABLE
12407 ::uint8_t* MethodOptions::_InternalSerialize(
12408 ::uint8_t* target,
12409 ::google::protobuf::io::EpsCopyOutputStream* stream) const {
12410 const MethodOptions& this_ = *this;
12411 #endif // PROTOBUF_CUSTOM_VTABLE
12412 // @@protoc_insertion_point(serialize_to_array_start:google.protobuf.MethodOptions)
12413 ::uint32_t cached_has_bits = 0;
12414 (void)cached_has_bits;
12415
12416 cached_has_bits = this_._impl_._has_bits_[0];
12417 // optional bool deprecated = 33 [default = false];
12418 if (cached_has_bits & 0x00000002u) {
12419 target = stream->EnsureSpace(target);
12420 target = ::_pbi::WireFormatLite::WriteBoolToArray(
12421 33, this_._internal_deprecated(), target);
12422 }
12423
12424 // optional .google.protobuf.MethodOptions.IdempotencyLevel idempotency_level = 34 [default = IDEMPOTENCY_UNKNOWN];
12425 if (cached_has_bits & 0x00000004u) {
12426 target = stream->EnsureSpace(target);
12427 target = ::_pbi::WireFormatLite::WriteEnumToArray(
12428 34, this_._internal_idempotency_level(), target);
12429 }
12430
12431 // optional .google.protobuf.FeatureSet features = 35;
12432 if (cached_has_bits & 0x00000001u) {
12433 target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
12434 35, *this_._impl_.features_, this_._impl_.features_->GetCachedSize(), target,
12435 stream);
12436 }
12437
12438 // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
12439 for (unsigned i = 0, n = static_cast<unsigned>(
12440 this_._internal_uninterpreted_option_size());
12441 i < n; i++) {
12442 const auto& repfield = this_._internal_uninterpreted_option().Get(i);
12443 target =
12444 ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
12445 999, repfield, repfield.GetCachedSize(),
12446 target, stream);
12447 }
12448
12449 // Extension range [1000, 536870912)
12450 target = this_._impl_._extensions_._InternalSerialize(
12451 internal_default_instance(), 1000, 536870912, target, stream);
12452 if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
12453 target =
12454 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
12455 this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
12456 }
12457 // @@protoc_insertion_point(serialize_to_array_end:google.protobuf.MethodOptions)
12458 return target;
12459 }
12460
12461 #if defined(PROTOBUF_CUSTOM_VTABLE)
12462 ::size_t MethodOptions::ByteSizeLong(const MessageLite& base) {
12463 const MethodOptions& this_ = static_cast<const MethodOptions&>(base);
12464 #else // PROTOBUF_CUSTOM_VTABLE
12465 ::size_t MethodOptions::ByteSizeLong() const {
12466 const MethodOptions& this_ = *this;
12467 #endif // PROTOBUF_CUSTOM_VTABLE
12468 // @@protoc_insertion_point(message_byte_size_start:google.protobuf.MethodOptions)
12469 ::size_t total_size = 0;
12470 total_size += this_._impl_._extensions_.ByteSize();
12471
12472 ::uint32_t cached_has_bits = 0;
12473 // Prevent compiler warnings about cached_has_bits being unused
12474 (void)cached_has_bits;
12475
12476 ::_pbi::Prefetch5LinesFrom7Lines(&this_);
12477 {
12478 // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
12479 {
12480 total_size += 2UL * this_._internal_uninterpreted_option_size();
12481 for (const auto& msg : this_._internal_uninterpreted_option()) {
12482 total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
12483 }
12484 }
12485 }
12486 cached_has_bits = this_._impl_._has_bits_[0];
12487 if (cached_has_bits & 0x00000007u) {
12488 // optional .google.protobuf.FeatureSet features = 35;
12489 if (cached_has_bits & 0x00000001u) {
12490 total_size += 2 +
12491 ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.features_);
12492 }
12493 // optional bool deprecated = 33 [default = false];
12494 if (cached_has_bits & 0x00000002u) {
12495 total_size += 3;
12496 }
12497 // optional .google.protobuf.MethodOptions.IdempotencyLevel idempotency_level = 34 [default = IDEMPOTENCY_UNKNOWN];
12498 if (cached_has_bits & 0x00000004u) {
12499 total_size += 2 +
12500 ::_pbi::WireFormatLite::EnumSize(this_._internal_idempotency_level());
12501 }
12502 }
12503 return this_.MaybeComputeUnknownFieldsSize(total_size,
12504 &this_._impl_._cached_size_);
12505 }
12506
12507 void MethodOptions::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
12508 auto* const _this = static_cast<MethodOptions*>(&to_msg);
12509 auto& from = static_cast<const MethodOptions&>(from_msg);
12510 ::google::protobuf::Arena* arena = _this->GetArena();
12511 // @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.MethodOptions)
12512 ABSL_DCHECK_NE(&from, _this);
12513 ::uint32_t cached_has_bits = 0;
12514 (void) cached_has_bits;
12515
12516 _this->_internal_mutable_uninterpreted_option()->MergeFrom(
12517 from._internal_uninterpreted_option());
12518 cached_has_bits = from._impl_._has_bits_[0];
12519 if (cached_has_bits & 0x00000007u) {
12520 if (cached_has_bits & 0x00000001u) {
12521 ABSL_DCHECK(from._impl_.features_ != nullptr);
12522 if (_this->_impl_.features_ == nullptr) {
12523 _this->_impl_.features_ =
12524 ::google::protobuf::Message::CopyConstruct<::google::protobuf::FeatureSet>(arena, *from._impl_.features_);
12525 } else {
12526 _this->_impl_.features_->MergeFrom(*from._impl_.features_);
12527 }
12528 }
12529 if (cached_has_bits & 0x00000002u) {
12530 _this->_impl_.deprecated_ = from._impl_.deprecated_;
12531 }
12532 if (cached_has_bits & 0x00000004u) {
12533 _this->_impl_.idempotency_level_ = from._impl_.idempotency_level_;
12534 }
12535 }
12536 _this->_impl_._has_bits_[0] |= cached_has_bits;
12537 _this->_impl_._extensions_.MergeFrom(internal_default_instance(), from._impl_._extensions_);
12538 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
12539 }
12540
12541 void MethodOptions::CopyFrom(const MethodOptions& from) {
12542 // @@protoc_insertion_point(class_specific_copy_from_start:google.protobuf.MethodOptions)
12543 if (&from == this) return;
12544 Clear();
12545 MergeFrom(from);
12546 }
12547
12548 PROTOBUF_NOINLINE bool MethodOptions::IsInitializedImpl(
12549 const MessageLite& msg) {
12550 auto& this_ = static_cast<const MethodOptions&>(msg);
12551 if (!this_._impl_._extensions_.IsInitialized(
12552 internal_default_instance())) {
12553 return false;
12554 }
12555 if (!::google::protobuf::internal::AllAreInitialized(this_._internal_uninterpreted_option()))
12556 return false;
12557 if ((this_._impl_._has_bits_[0] & 0x00000001u) != 0) {
12558 if (!this_._impl_.features_->IsInitialized()) return false;
12559 }
12560 return true;
12561 }
12562
12563 void MethodOptions::InternalSwap(MethodOptions* PROTOBUF_RESTRICT other) {
12564 using std::swap;
12565 _impl_._extensions_.InternalSwap(&other->_impl_._extensions_);
12566 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
12567 swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
12568 _impl_.uninterpreted_option_.InternalSwap(&other->_impl_.uninterpreted_option_);
12569 ::google::protobuf::internal::memswap<
12570 PROTOBUF_FIELD_OFFSET(MethodOptions, _impl_.idempotency_level_)
12571 + sizeof(MethodOptions::_impl_.idempotency_level_)
12572 - PROTOBUF_FIELD_OFFSET(MethodOptions, _impl_.features_)>(
12573 reinterpret_cast<char*>(&_impl_.features_),
12574 reinterpret_cast<char*>(&other->_impl_.features_));
12575 }
12576
12577 ::google::protobuf::Metadata MethodOptions::GetMetadata() const {
12578 return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
12579 }
12580 // ===================================================================
12581
12582 class UninterpretedOption_NamePart::_Internal {
12583 public:
12584 using HasBits =
12585 decltype(std::declval<UninterpretedOption_NamePart>()._impl_._has_bits_);
12586 static constexpr ::int32_t kHasBitsOffset =
12587 8 * PROTOBUF_FIELD_OFFSET(UninterpretedOption_NamePart, _impl_._has_bits_);
12588 static bool MissingRequiredFields(const HasBits& has_bits) {
12589 return ((has_bits[0] & 0x00000003) ^ 0x00000003) != 0;
12590 }
12591 };
12592
12593 UninterpretedOption_NamePart::UninterpretedOption_NamePart(::google::protobuf::Arena* arena)
12594 #if defined(PROTOBUF_CUSTOM_VTABLE)
12595 : ::google::protobuf::Message(arena, _class_data_.base()) {
12596 #else // PROTOBUF_CUSTOM_VTABLE
12597 : ::google::protobuf::Message(arena) {
12598 #endif // PROTOBUF_CUSTOM_VTABLE
12599 SharedCtor(arena);
12600 // @@protoc_insertion_point(arena_constructor:google.protobuf.UninterpretedOption.NamePart)
12601 }
12602 inline PROTOBUF_NDEBUG_INLINE UninterpretedOption_NamePart::Impl_::Impl_(
12603 ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena,
12604 const Impl_& from, const ::google::protobuf::UninterpretedOption_NamePart& from_msg)
12605 : _has_bits_{from._has_bits_},
12606 _cached_size_{0},
12607 name_part_(arena, from.name_part_) {}
12608
12609 UninterpretedOption_NamePart::UninterpretedOption_NamePart(
12610 ::google::protobuf::Arena* arena,
12611 const UninterpretedOption_NamePart& from)
12612 #if defined(PROTOBUF_CUSTOM_VTABLE)
12613 : ::google::protobuf::Message(arena, _class_data_.base()) {
12614 #else // PROTOBUF_CUSTOM_VTABLE
12615 : ::google::protobuf::Message(arena) {
12616 #endif // PROTOBUF_CUSTOM_VTABLE
12617 UninterpretedOption_NamePart* const _this = this;
12618 (void)_this;
12619 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
12620 from._internal_metadata_);
12621 new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
12622 _impl_.is_extension_ = from._impl_.is_extension_;
12623
12624 // @@protoc_insertion_point(copy_constructor:google.protobuf.UninterpretedOption.NamePart)
12625 }
12626 inline PROTOBUF_NDEBUG_INLINE UninterpretedOption_NamePart::Impl_::Impl_(
12627 ::google::protobuf::internal::InternalVisibility visibility,
12628 ::google::protobuf::Arena* arena)
12629 : _cached_size_{0},
12630 name_part_(arena) {}
12631
12632 inline void UninterpretedOption_NamePart::SharedCtor(::_pb::Arena* arena) {
12633 new (&_impl_) Impl_(internal_visibility(), arena);
12634 _impl_.is_extension_ = {};
12635 }
12636 UninterpretedOption_NamePart::~UninterpretedOption_NamePart() {
12637 // @@protoc_insertion_point(destructor:google.protobuf.UninterpretedOption.NamePart)
12638 SharedDtor(*this);
12639 }
12640 inline void UninterpretedOption_NamePart::SharedDtor(MessageLite& self) {
12641 UninterpretedOption_NamePart& this_ = static_cast<UninterpretedOption_NamePart&>(self);
12642 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
12643 ABSL_DCHECK(this_.GetArena() == nullptr);
12644 this_._impl_.name_part_.Destroy();
12645 this_._impl_.~Impl_();
12646 }
12647
12648 inline void* UninterpretedOption_NamePart::PlacementNew_(const void*, void* mem,
12649 ::google::protobuf::Arena* arena) {
12650 return ::new (mem) UninterpretedOption_NamePart(arena);
12651 }
12652 constexpr auto UninterpretedOption_NamePart::InternalNewImpl_() {
12653 return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(UninterpretedOption_NamePart),
12654 alignof(UninterpretedOption_NamePart));
12655 }
12656 PROTOBUF_CONSTINIT
12657 PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
12658 const ::google::protobuf::internal::ClassDataFull UninterpretedOption_NamePart::_class_data_ = {
12659 ::google::protobuf::internal::ClassData{
12660 &_UninterpretedOption_NamePart_default_instance_._instance,
12661 &_table_.header,
12662 nullptr, // OnDemandRegisterArenaDtor
12663 UninterpretedOption_NamePart::IsInitializedImpl,
12664 &UninterpretedOption_NamePart::MergeImpl,
12665 ::google::protobuf::Message::GetNewImpl<UninterpretedOption_NamePart>(),
12666 #if defined(PROTOBUF_CUSTOM_VTABLE)
12667 &UninterpretedOption_NamePart::SharedDtor,
12668 ::google::protobuf::Message::GetClearImpl<UninterpretedOption_NamePart>(), &UninterpretedOption_NamePart::ByteSizeLong,
12669 &UninterpretedOption_NamePart::_InternalSerialize,
12670 #endif // PROTOBUF_CUSTOM_VTABLE
12671 PROTOBUF_FIELD_OFFSET(UninterpretedOption_NamePart, _impl_._cached_size_),
12672 false,
12673 },
12674 &UninterpretedOption_NamePart::kDescriptorMethods,
12675 &descriptor_table_google_2fprotobuf_2fdescriptor_2eproto,
12676 nullptr, // tracker
12677 };
12678 const ::google::protobuf::internal::ClassData* UninterpretedOption_NamePart::GetClassData() const {
12679 ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_);
12680 ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table);
12681 return _class_data_.base();
12682 }
12683 constexpr ::_pbi::TcParseTable<1, 2, 0, 62, 2> UninterpretedOption_NamePart::_table_ = {
12684 {
12685 PROTOBUF_FIELD_OFFSET(UninterpretedOption_NamePart, _impl_._has_bits_),
12686 0, // no _extensions_
12687 2, 8, // max_field_number, fast_idx_mask
12688 offsetof(decltype(_table_), field_lookup_table),
12689 4294967292, // skipmap
12690 offsetof(decltype(_table_), field_entries),
12691 2, // num_field_entries
12692 0, // num_aux_entries
12693 offsetof(decltype(_table_), field_names), // no aux_entries
12694 _class_data_.base(),
12695 nullptr, // post_loop_handler
12696 ::_pbi::TcParser::GenericFallback, // fallback
12697 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
12698 ::_pbi::TcParser::GetTable<::google::protobuf::UninterpretedOption_NamePart>(), // to_prefetch
12699 #endif // PROTOBUF_PREFETCH_PARSE_TABLE
12700 }, {{
12701 // required bool is_extension = 2;
12702 {::_pbi::TcParser::SingularVarintNoZag1<bool, offsetof(UninterpretedOption_NamePart, _impl_.is_extension_), 1>(),
12703 {16, 1, 0, PROTOBUF_FIELD_OFFSET(UninterpretedOption_NamePart, _impl_.is_extension_)}},
12704 // required string name_part = 1;
12705 {::_pbi::TcParser::FastSS1,
12706 {10, 0, 0, PROTOBUF_FIELD_OFFSET(UninterpretedOption_NamePart, _impl_.name_part_)}},
12707 }}, {{
12708 65535, 65535
12709 }}, {{
12710 // required string name_part = 1;
12711 {PROTOBUF_FIELD_OFFSET(UninterpretedOption_NamePart, _impl_.name_part_), _Internal::kHasBitsOffset + 0, 0,
12712 (0 | ::_fl::kFcOptional | ::_fl::kRawString | ::_fl::kRepAString)},
12713 // required bool is_extension = 2;
12714 {PROTOBUF_FIELD_OFFSET(UninterpretedOption_NamePart, _impl_.is_extension_), _Internal::kHasBitsOffset + 1, 0,
12715 (0 | ::_fl::kFcOptional | ::_fl::kBool)},
12716 }},
12717 // no aux_entries
12718 {{
12719 "\54\11\0\0\0\0\0\0"
12720 "google.protobuf.UninterpretedOption.NamePart"
12721 "name_part"
12722 }},
12723 };
12724
12725 PROTOBUF_NOINLINE void UninterpretedOption_NamePart::Clear() {
12726 // @@protoc_insertion_point(message_clear_start:google.protobuf.UninterpretedOption.NamePart)
12727 ::google::protobuf::internal::TSanWrite(&_impl_);
12728 ::uint32_t cached_has_bits = 0;
12729 // Prevent compiler warnings about cached_has_bits being unused
12730 (void) cached_has_bits;
12731
12732 cached_has_bits = _impl_._has_bits_[0];
12733 if (cached_has_bits & 0x00000001u) {
12734 _impl_.name_part_.ClearNonDefaultToEmpty();
12735 }
12736 _impl_.is_extension_ = false;
12737 _impl_._has_bits_.Clear();
12738 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
12739 }
12740
12741 #if defined(PROTOBUF_CUSTOM_VTABLE)
12742 ::uint8_t* UninterpretedOption_NamePart::_InternalSerialize(
12743 const MessageLite& base, ::uint8_t* target,
12744 ::google::protobuf::io::EpsCopyOutputStream* stream) {
12745 const UninterpretedOption_NamePart& this_ = static_cast<const UninterpretedOption_NamePart&>(base);
12746 #else // PROTOBUF_CUSTOM_VTABLE
12747 ::uint8_t* UninterpretedOption_NamePart::_InternalSerialize(
12748 ::uint8_t* target,
12749 ::google::protobuf::io::EpsCopyOutputStream* stream) const {
12750 const UninterpretedOption_NamePart& this_ = *this;
12751 #endif // PROTOBUF_CUSTOM_VTABLE
12752 // @@protoc_insertion_point(serialize_to_array_start:google.protobuf.UninterpretedOption.NamePart)
12753 ::uint32_t cached_has_bits = 0;
12754 (void)cached_has_bits;
12755
12756 cached_has_bits = this_._impl_._has_bits_[0];
12757 // required string name_part = 1;
12758 if (cached_has_bits & 0x00000001u) {
12759 const std::string& _s = this_._internal_name_part();
12760 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(_s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormat::SERIALIZE,
12761 "google.protobuf.UninterpretedOption.NamePart.name_part");
12762 target = stream->WriteStringMaybeAliased(1, _s, target);
12763 }
12764
12765 // required bool is_extension = 2;
12766 if (cached_has_bits & 0x00000002u) {
12767 target = stream->EnsureSpace(target);
12768 target = ::_pbi::WireFormatLite::WriteBoolToArray(
12769 2, this_._internal_is_extension(), target);
12770 }
12771
12772 if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
12773 target =
12774 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
12775 this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
12776 }
12777 // @@protoc_insertion_point(serialize_to_array_end:google.protobuf.UninterpretedOption.NamePart)
12778 return target;
12779 }
12780
12781 #if defined(PROTOBUF_CUSTOM_VTABLE)
12782 ::size_t UninterpretedOption_NamePart::ByteSizeLong(const MessageLite& base) {
12783 const UninterpretedOption_NamePart& this_ = static_cast<const UninterpretedOption_NamePart&>(base);
12784 #else // PROTOBUF_CUSTOM_VTABLE
12785 ::size_t UninterpretedOption_NamePart::ByteSizeLong() const {
12786 const UninterpretedOption_NamePart& this_ = *this;
12787 #endif // PROTOBUF_CUSTOM_VTABLE
12788 // @@protoc_insertion_point(message_byte_size_start:google.protobuf.UninterpretedOption.NamePart)
12789 ::size_t total_size = 0;
12790
12791 ::uint32_t cached_has_bits = 0;
12792 // Prevent compiler warnings about cached_has_bits being unused
12793 (void)cached_has_bits;
12794
12795 ::_pbi::Prefetch5LinesFrom7Lines(&this_);
12796 cached_has_bits = this_._impl_._has_bits_[0];
12797 if (cached_has_bits & 0x00000003u) {
12798 // required string name_part = 1;
12799 if (cached_has_bits & 0x00000001u) {
12800 total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
12801 this_._internal_name_part());
12802 }
12803 // required bool is_extension = 2;
12804 if (cached_has_bits & 0x00000002u) {
12805 total_size += 2;
12806 }
12807 }
12808 return this_.MaybeComputeUnknownFieldsSize(total_size,
12809 &this_._impl_._cached_size_);
12810 }
12811
12812 void UninterpretedOption_NamePart::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
12813 auto* const _this = static_cast<UninterpretedOption_NamePart*>(&to_msg);
12814 auto& from = static_cast<const UninterpretedOption_NamePart&>(from_msg);
12815 // @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.UninterpretedOption.NamePart)
12816 ABSL_DCHECK_NE(&from, _this);
12817 ::uint32_t cached_has_bits = 0;
12818 (void) cached_has_bits;
12819
12820 cached_has_bits = from._impl_._has_bits_[0];
12821 if (cached_has_bits & 0x00000003u) {
12822 if (cached_has_bits & 0x00000001u) {
12823 _this->_internal_set_name_part(from._internal_name_part());
12824 }
12825 if (cached_has_bits & 0x00000002u) {
12826 _this->_impl_.is_extension_ = from._impl_.is_extension_;
12827 }
12828 }
12829 _this->_impl_._has_bits_[0] |= cached_has_bits;
12830 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
12831 }
12832
12833 void UninterpretedOption_NamePart::CopyFrom(const UninterpretedOption_NamePart& from) {
12834 // @@protoc_insertion_point(class_specific_copy_from_start:google.protobuf.UninterpretedOption.NamePart)
12835 if (&from == this) return;
12836 Clear();
12837 MergeFrom(from);
12838 }
12839
12840 PROTOBUF_NOINLINE bool UninterpretedOption_NamePart::IsInitializedImpl(
12841 const MessageLite& msg) {
12842 auto& this_ = static_cast<const UninterpretedOption_NamePart&>(msg);
12843 if (_Internal::MissingRequiredFields(this_._impl_._has_bits_)) {
12844 return false;
12845 }
12846 return true;
12847 }
12848
12849 void UninterpretedOption_NamePart::InternalSwap(UninterpretedOption_NamePart* PROTOBUF_RESTRICT other) {
12850 using std::swap;
12851 auto* arena = GetArena();
12852 ABSL_DCHECK_EQ(arena, other->GetArena());
12853 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
12854 swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
12855 ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.name_part_, &other->_impl_.name_part_, arena);
12856 swap(_impl_.is_extension_, other->_impl_.is_extension_);
12857 }
12858
12859 ::google::protobuf::Metadata UninterpretedOption_NamePart::GetMetadata() const {
12860 return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
12861 }
12862 // ===================================================================
12863
12864 class UninterpretedOption::_Internal {
12865 public:
12866 using HasBits =
12867 decltype(std::declval<UninterpretedOption>()._impl_._has_bits_);
12868 static constexpr ::int32_t kHasBitsOffset =
12869 8 * PROTOBUF_FIELD_OFFSET(UninterpretedOption, _impl_._has_bits_);
12870 };
12871
12872 UninterpretedOption::UninterpretedOption(::google::protobuf::Arena* arena)
12873 #if defined(PROTOBUF_CUSTOM_VTABLE)
12874 : ::google::protobuf::Message(arena, _class_data_.base()) {
12875 #else // PROTOBUF_CUSTOM_VTABLE
12876 : ::google::protobuf::Message(arena) {
12877 #endif // PROTOBUF_CUSTOM_VTABLE
12878 SharedCtor(arena);
12879 // @@protoc_insertion_point(arena_constructor:google.protobuf.UninterpretedOption)
12880 }
12881 inline PROTOBUF_NDEBUG_INLINE UninterpretedOption::Impl_::Impl_(
12882 ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena,
12883 const Impl_& from, const ::google::protobuf::UninterpretedOption& from_msg)
12884 : _has_bits_{from._has_bits_},
12885 _cached_size_{0},
12886 name_{visibility, arena, from.name_},
12887 identifier_value_(arena, from.identifier_value_),
12888 string_value_(arena, from.string_value_),
12889 aggregate_value_(arena, from.aggregate_value_) {}
12890
12891 UninterpretedOption::UninterpretedOption(
12892 ::google::protobuf::Arena* arena,
12893 const UninterpretedOption& from)
12894 #if defined(PROTOBUF_CUSTOM_VTABLE)
12895 : ::google::protobuf::Message(arena, _class_data_.base()) {
12896 #else // PROTOBUF_CUSTOM_VTABLE
12897 : ::google::protobuf::Message(arena) {
12898 #endif // PROTOBUF_CUSTOM_VTABLE
12899 UninterpretedOption* const _this = this;
12900 (void)_this;
12901 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
12902 from._internal_metadata_);
12903 new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
12904 ::memcpy(reinterpret_cast<char *>(&_impl_) +
12905 offsetof(Impl_, positive_int_value_),
12906 reinterpret_cast<const char *>(&from._impl_) +
12907 offsetof(Impl_, positive_int_value_),
12908 offsetof(Impl_, double_value_) -
12909 offsetof(Impl_, positive_int_value_) +
12910 sizeof(Impl_::double_value_));
12911
12912 // @@protoc_insertion_point(copy_constructor:google.protobuf.UninterpretedOption)
12913 }
12914 inline PROTOBUF_NDEBUG_INLINE UninterpretedOption::Impl_::Impl_(
12915 ::google::protobuf::internal::InternalVisibility visibility,
12916 ::google::protobuf::Arena* arena)
12917 : _cached_size_{0},
12918 name_{visibility, arena},
12919 identifier_value_(arena),
12920 string_value_(arena),
12921 aggregate_value_(arena) {}
12922
12923 inline void UninterpretedOption::SharedCtor(::_pb::Arena* arena) {
12924 new (&_impl_) Impl_(internal_visibility(), arena);
12925 ::memset(reinterpret_cast<char *>(&_impl_) +
12926 offsetof(Impl_, positive_int_value_),
12927 0,
12928 offsetof(Impl_, double_value_) -
12929 offsetof(Impl_, positive_int_value_) +
12930 sizeof(Impl_::double_value_));
12931 }
12932 UninterpretedOption::~UninterpretedOption() {
12933 // @@protoc_insertion_point(destructor:google.protobuf.UninterpretedOption)
12934 SharedDtor(*this);
12935 }
12936 inline void UninterpretedOption::SharedDtor(MessageLite& self) {
12937 UninterpretedOption& this_ = static_cast<UninterpretedOption&>(self);
12938 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
12939 ABSL_DCHECK(this_.GetArena() == nullptr);
12940 this_._impl_.identifier_value_.Destroy();
12941 this_._impl_.string_value_.Destroy();
12942 this_._impl_.aggregate_value_.Destroy();
12943 this_._impl_.~Impl_();
12944 }
12945
12946 inline void* UninterpretedOption::PlacementNew_(const void*, void* mem,
12947 ::google::protobuf::Arena* arena) {
12948 return ::new (mem) UninterpretedOption(arena);
12949 }
12950 constexpr auto UninterpretedOption::InternalNewImpl_() {
12951 constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({
12952 PROTOBUF_FIELD_OFFSET(UninterpretedOption, _impl_.name_) +
12953 decltype(UninterpretedOption::_impl_.name_)::
12954 InternalGetArenaOffset(
12955 ::google::protobuf::Message::internal_visibility()),
12956 });
12957 if (arena_bits.has_value()) {
12958 return ::google::protobuf::internal::MessageCreator::CopyInit(
12959 sizeof(UninterpretedOption), alignof(UninterpretedOption), *arena_bits);
12960 } else {
12961 return ::google::protobuf::internal::MessageCreator(&UninterpretedOption::PlacementNew_,
12962 sizeof(UninterpretedOption),
12963 alignof(UninterpretedOption));
12964 }
12965 }
12966 PROTOBUF_CONSTINIT
12967 PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
12968 const ::google::protobuf::internal::ClassDataFull UninterpretedOption::_class_data_ = {
12969 ::google::protobuf::internal::ClassData{
12970 &_UninterpretedOption_default_instance_._instance,
12971 &_table_.header,
12972 nullptr, // OnDemandRegisterArenaDtor
12973 UninterpretedOption::IsInitializedImpl,
12974 &UninterpretedOption::MergeImpl,
12975 ::google::protobuf::Message::GetNewImpl<UninterpretedOption>(),
12976 #if defined(PROTOBUF_CUSTOM_VTABLE)
12977 &UninterpretedOption::SharedDtor,
12978 ::google::protobuf::Message::GetClearImpl<UninterpretedOption>(), &UninterpretedOption::ByteSizeLong,
12979 &UninterpretedOption::_InternalSerialize,
12980 #endif // PROTOBUF_CUSTOM_VTABLE
12981 PROTOBUF_FIELD_OFFSET(UninterpretedOption, _impl_._cached_size_),
12982 false,
12983 },
12984 &UninterpretedOption::kDescriptorMethods,
12985 &descriptor_table_google_2fprotobuf_2fdescriptor_2eproto,
12986 nullptr, // tracker
12987 };
12988 const ::google::protobuf::internal::ClassData* UninterpretedOption::GetClassData() const {
12989 ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_);
12990 ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table);
12991 return _class_data_.base();
12992 }
12993 constexpr ::_pbi::TcParseTable<3, 7, 1, 75, 2> UninterpretedOption::_table_ = {
12994 {
12995 PROTOBUF_FIELD_OFFSET(UninterpretedOption, _impl_._has_bits_),
12996 0, // no _extensions_
12997 8, 56, // max_field_number, fast_idx_mask
12998 offsetof(decltype(_table_), field_lookup_table),
12999 4294967041, // skipmap
13000 offsetof(decltype(_table_), field_entries),
13001 7, // num_field_entries
13002 1, // num_aux_entries
13003 offsetof(decltype(_table_), aux_entries),
13004 _class_data_.base(),
13005 nullptr, // post_loop_handler
13006 ::_pbi::TcParser::GenericFallback, // fallback
13007 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
13008 ::_pbi::TcParser::GetTable<::google::protobuf::UninterpretedOption>(), // to_prefetch
13009 #endif // PROTOBUF_PREFETCH_PARSE_TABLE
13010 }, {{
13011 // optional string aggregate_value = 8;
13012 {::_pbi::TcParser::FastSS1,
13013 {66, 2, 0, PROTOBUF_FIELD_OFFSET(UninterpretedOption, _impl_.aggregate_value_)}},
13014 {::_pbi::TcParser::MiniParse, {}},
13015 // repeated .google.protobuf.UninterpretedOption.NamePart name = 2;
13016 {::_pbi::TcParser::FastMtR1,
13017 {18, 63, 0, PROTOBUF_FIELD_OFFSET(UninterpretedOption, _impl_.name_)}},
13018 // optional string identifier_value = 3;
13019 {::_pbi::TcParser::FastSS1,
13020 {26, 0, 0, PROTOBUF_FIELD_OFFSET(UninterpretedOption, _impl_.identifier_value_)}},
13021 // optional uint64 positive_int_value = 4;
13022 {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(UninterpretedOption, _impl_.positive_int_value_), 3>(),
13023 {32, 3, 0, PROTOBUF_FIELD_OFFSET(UninterpretedOption, _impl_.positive_int_value_)}},
13024 // optional int64 negative_int_value = 5;
13025 {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(UninterpretedOption, _impl_.negative_int_value_), 4>(),
13026 {40, 4, 0, PROTOBUF_FIELD_OFFSET(UninterpretedOption, _impl_.negative_int_value_)}},
13027 // optional double double_value = 6;
13028 {::_pbi::TcParser::FastF64S1,
13029 {49, 5, 0, PROTOBUF_FIELD_OFFSET(UninterpretedOption, _impl_.double_value_)}},
13030 // optional bytes string_value = 7;
13031 {::_pbi::TcParser::FastBS1,
13032 {58, 1, 0, PROTOBUF_FIELD_OFFSET(UninterpretedOption, _impl_.string_value_)}},
13033 }}, {{
13034 65535, 65535
13035 }}, {{
13036 // repeated .google.protobuf.UninterpretedOption.NamePart name = 2;
13037 {PROTOBUF_FIELD_OFFSET(UninterpretedOption, _impl_.name_), -1, 0,
13038 (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
13039 // optional string identifier_value = 3;
13040 {PROTOBUF_FIELD_OFFSET(UninterpretedOption, _impl_.identifier_value_), _Internal::kHasBitsOffset + 0, 0,
13041 (0 | ::_fl::kFcOptional | ::_fl::kRawString | ::_fl::kRepAString)},
13042 // optional uint64 positive_int_value = 4;
13043 {PROTOBUF_FIELD_OFFSET(UninterpretedOption, _impl_.positive_int_value_), _Internal::kHasBitsOffset + 3, 0,
13044 (0 | ::_fl::kFcOptional | ::_fl::kUInt64)},
13045 // optional int64 negative_int_value = 5;
13046 {PROTOBUF_FIELD_OFFSET(UninterpretedOption, _impl_.negative_int_value_), _Internal::kHasBitsOffset + 4, 0,
13047 (0 | ::_fl::kFcOptional | ::_fl::kInt64)},
13048 // optional double double_value = 6;
13049 {PROTOBUF_FIELD_OFFSET(UninterpretedOption, _impl_.double_value_), _Internal::kHasBitsOffset + 5, 0,
13050 (0 | ::_fl::kFcOptional | ::_fl::kDouble)},
13051 // optional bytes string_value = 7;
13052 {PROTOBUF_FIELD_OFFSET(UninterpretedOption, _impl_.string_value_), _Internal::kHasBitsOffset + 1, 0,
13053 (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
13054 // optional string aggregate_value = 8;
13055 {PROTOBUF_FIELD_OFFSET(UninterpretedOption, _impl_.aggregate_value_), _Internal::kHasBitsOffset + 2, 0,
13056 (0 | ::_fl::kFcOptional | ::_fl::kRawString | ::_fl::kRepAString)},
13057 }}, {{
13058 {::_pbi::TcParser::GetTable<::google::protobuf::UninterpretedOption_NamePart>()},
13059 }}, {{
13060 "\43\0\20\0\0\0\0\17"
13061 "google.protobuf.UninterpretedOption"
13062 "identifier_value"
13063 "aggregate_value"
13064 }},
13065 };
13066
13067 PROTOBUF_NOINLINE void UninterpretedOption::Clear() {
13068 // @@protoc_insertion_point(message_clear_start:google.protobuf.UninterpretedOption)
13069 ::google::protobuf::internal::TSanWrite(&_impl_);
13070 ::uint32_t cached_has_bits = 0;
13071 // Prevent compiler warnings about cached_has_bits being unused
13072 (void) cached_has_bits;
13073
13074 _impl_.name_.Clear();
13075 cached_has_bits = _impl_._has_bits_[0];
13076 if (cached_has_bits & 0x00000007u) {
13077 if (cached_has_bits & 0x00000001u) {
13078 _impl_.identifier_value_.ClearNonDefaultToEmpty();
13079 }
13080 if (cached_has_bits & 0x00000002u) {
13081 _impl_.string_value_.ClearNonDefaultToEmpty();
13082 }
13083 if (cached_has_bits & 0x00000004u) {
13084 _impl_.aggregate_value_.ClearNonDefaultToEmpty();
13085 }
13086 }
13087 if (cached_has_bits & 0x00000038u) {
13088 ::memset(&_impl_.positive_int_value_, 0, static_cast<::size_t>(
13089 reinterpret_cast<char*>(&_impl_.double_value_) -
13090 reinterpret_cast<char*>(&_impl_.positive_int_value_)) + sizeof(_impl_.double_value_));
13091 }
13092 _impl_._has_bits_.Clear();
13093 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
13094 }
13095
13096 #if defined(PROTOBUF_CUSTOM_VTABLE)
13097 ::uint8_t* UninterpretedOption::_InternalSerialize(
13098 const MessageLite& base, ::uint8_t* target,
13099 ::google::protobuf::io::EpsCopyOutputStream* stream) {
13100 const UninterpretedOption& this_ = static_cast<const UninterpretedOption&>(base);
13101 #else // PROTOBUF_CUSTOM_VTABLE
13102 ::uint8_t* UninterpretedOption::_InternalSerialize(
13103 ::uint8_t* target,
13104 ::google::protobuf::io::EpsCopyOutputStream* stream) const {
13105 const UninterpretedOption& this_ = *this;
13106 #endif // PROTOBUF_CUSTOM_VTABLE
13107 // @@protoc_insertion_point(serialize_to_array_start:google.protobuf.UninterpretedOption)
13108 ::uint32_t cached_has_bits = 0;
13109 (void)cached_has_bits;
13110
13111 // repeated .google.protobuf.UninterpretedOption.NamePart name = 2;
13112 for (unsigned i = 0, n = static_cast<unsigned>(
13113 this_._internal_name_size());
13114 i < n; i++) {
13115 const auto& repfield = this_._internal_name().Get(i);
13116 target =
13117 ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
13118 2, repfield, repfield.GetCachedSize(),
13119 target, stream);
13120 }
13121
13122 cached_has_bits = this_._impl_._has_bits_[0];
13123 // optional string identifier_value = 3;
13124 if (cached_has_bits & 0x00000001u) {
13125 const std::string& _s = this_._internal_identifier_value();
13126 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(_s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormat::SERIALIZE,
13127 "google.protobuf.UninterpretedOption.identifier_value");
13128 target = stream->WriteStringMaybeAliased(3, _s, target);
13129 }
13130
13131 // optional uint64 positive_int_value = 4;
13132 if (cached_has_bits & 0x00000008u) {
13133 target = stream->EnsureSpace(target);
13134 target = ::_pbi::WireFormatLite::WriteUInt64ToArray(
13135 4, this_._internal_positive_int_value(), target);
13136 }
13137
13138 // optional int64 negative_int_value = 5;
13139 if (cached_has_bits & 0x00000010u) {
13140 target = ::google::protobuf::internal::WireFormatLite::
13141 WriteInt64ToArrayWithField<5>(
13142 stream, this_._internal_negative_int_value(), target);
13143 }
13144
13145 // optional double double_value = 6;
13146 if (cached_has_bits & 0x00000020u) {
13147 target = stream->EnsureSpace(target);
13148 target = ::_pbi::WireFormatLite::WriteDoubleToArray(
13149 6, this_._internal_double_value(), target);
13150 }
13151
13152 // optional bytes string_value = 7;
13153 if (cached_has_bits & 0x00000002u) {
13154 const std::string& _s = this_._internal_string_value();
13155 target = stream->WriteBytesMaybeAliased(7, _s, target);
13156 }
13157
13158 // optional string aggregate_value = 8;
13159 if (cached_has_bits & 0x00000004u) {
13160 const std::string& _s = this_._internal_aggregate_value();
13161 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(_s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormat::SERIALIZE,
13162 "google.protobuf.UninterpretedOption.aggregate_value");
13163 target = stream->WriteStringMaybeAliased(8, _s, target);
13164 }
13165
13166 if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
13167 target =
13168 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
13169 this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
13170 }
13171 // @@protoc_insertion_point(serialize_to_array_end:google.protobuf.UninterpretedOption)
13172 return target;
13173 }
13174
13175 #if defined(PROTOBUF_CUSTOM_VTABLE)
13176 ::size_t UninterpretedOption::ByteSizeLong(const MessageLite& base) {
13177 const UninterpretedOption& this_ = static_cast<const UninterpretedOption&>(base);
13178 #else // PROTOBUF_CUSTOM_VTABLE
13179 ::size_t UninterpretedOption::ByteSizeLong() const {
13180 const UninterpretedOption& this_ = *this;
13181 #endif // PROTOBUF_CUSTOM_VTABLE
13182 // @@protoc_insertion_point(message_byte_size_start:google.protobuf.UninterpretedOption)
13183 ::size_t total_size = 0;
13184
13185 ::uint32_t cached_has_bits = 0;
13186 // Prevent compiler warnings about cached_has_bits being unused
13187 (void)cached_has_bits;
13188
13189 ::_pbi::Prefetch5LinesFrom7Lines(&this_);
13190 {
13191 // repeated .google.protobuf.UninterpretedOption.NamePart name = 2;
13192 {
13193 total_size += 1UL * this_._internal_name_size();
13194 for (const auto& msg : this_._internal_name()) {
13195 total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
13196 }
13197 }
13198 }
13199 cached_has_bits = this_._impl_._has_bits_[0];
13200 if (cached_has_bits & 0x0000003fu) {
13201 // optional string identifier_value = 3;
13202 if (cached_has_bits & 0x00000001u) {
13203 total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
13204 this_._internal_identifier_value());
13205 }
13206 // optional bytes string_value = 7;
13207 if (cached_has_bits & 0x00000002u) {
13208 total_size += 1 + ::google::protobuf::internal::WireFormatLite::BytesSize(
13209 this_._internal_string_value());
13210 }
13211 // optional string aggregate_value = 8;
13212 if (cached_has_bits & 0x00000004u) {
13213 total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
13214 this_._internal_aggregate_value());
13215 }
13216 // optional uint64 positive_int_value = 4;
13217 if (cached_has_bits & 0x00000008u) {
13218 total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(
13219 this_._internal_positive_int_value());
13220 }
13221 // optional int64 negative_int_value = 5;
13222 if (cached_has_bits & 0x00000010u) {
13223 total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
13224 this_._internal_negative_int_value());
13225 }
13226 // optional double double_value = 6;
13227 if (cached_has_bits & 0x00000020u) {
13228 total_size += 9;
13229 }
13230 }
13231 return this_.MaybeComputeUnknownFieldsSize(total_size,
13232 &this_._impl_._cached_size_);
13233 }
13234
13235 void UninterpretedOption::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
13236 auto* const _this = static_cast<UninterpretedOption*>(&to_msg);
13237 auto& from = static_cast<const UninterpretedOption&>(from_msg);
13238 // @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.UninterpretedOption)
13239 ABSL_DCHECK_NE(&from, _this);
13240 ::uint32_t cached_has_bits = 0;
13241 (void) cached_has_bits;
13242
13243 _this->_internal_mutable_name()->MergeFrom(
13244 from._internal_name());
13245 cached_has_bits = from._impl_._has_bits_[0];
13246 if (cached_has_bits & 0x0000003fu) {
13247 if (cached_has_bits & 0x00000001u) {
13248 _this->_internal_set_identifier_value(from._internal_identifier_value());
13249 }
13250 if (cached_has_bits & 0x00000002u) {
13251 _this->_internal_set_string_value(from._internal_string_value());
13252 }
13253 if (cached_has_bits & 0x00000004u) {
13254 _this->_internal_set_aggregate_value(from._internal_aggregate_value());
13255 }
13256 if (cached_has_bits & 0x00000008u) {
13257 _this->_impl_.positive_int_value_ = from._impl_.positive_int_value_;
13258 }
13259 if (cached_has_bits & 0x00000010u) {
13260 _this->_impl_.negative_int_value_ = from._impl_.negative_int_value_;
13261 }
13262 if (cached_has_bits & 0x00000020u) {
13263 _this->_impl_.double_value_ = from._impl_.double_value_;
13264 }
13265 }
13266 _this->_impl_._has_bits_[0] |= cached_has_bits;
13267 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
13268 }
13269
13270 void UninterpretedOption::CopyFrom(const UninterpretedOption& from) {
13271 // @@protoc_insertion_point(class_specific_copy_from_start:google.protobuf.UninterpretedOption)
13272 if (&from == this) return;
13273 Clear();
13274 MergeFrom(from);
13275 }
13276
13277 PROTOBUF_NOINLINE bool UninterpretedOption::IsInitializedImpl(
13278 const MessageLite& msg) {
13279 auto& this_ = static_cast<const UninterpretedOption&>(msg);
13280 if (!::google::protobuf::internal::AllAreInitialized(this_._internal_name()))
13281 return false;
13282 return true;
13283 }
13284
13285 void UninterpretedOption::InternalSwap(UninterpretedOption* PROTOBUF_RESTRICT other) {
13286 using std::swap;
13287 auto* arena = GetArena();
13288 ABSL_DCHECK_EQ(arena, other->GetArena());
13289 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
13290 swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
13291 _impl_.name_.InternalSwap(&other->_impl_.name_);
13292 ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.identifier_value_, &other->_impl_.identifier_value_, arena);
13293 ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.string_value_, &other->_impl_.string_value_, arena);
13294 ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.aggregate_value_, &other->_impl_.aggregate_value_, arena);
13295 ::google::protobuf::internal::memswap<
13296 PROTOBUF_FIELD_OFFSET(UninterpretedOption, _impl_.double_value_)
13297 + sizeof(UninterpretedOption::_impl_.double_value_)
13298 - PROTOBUF_FIELD_OFFSET(UninterpretedOption, _impl_.positive_int_value_)>(
13299 reinterpret_cast<char*>(&_impl_.positive_int_value_),
13300 reinterpret_cast<char*>(&other->_impl_.positive_int_value_));
13301 }
13302
13303 ::google::protobuf::Metadata UninterpretedOption::GetMetadata() const {
13304 return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
13305 }
13306 // ===================================================================
13307
13308 class FeatureSet::_Internal {
13309 public:
13310 using HasBits =
13311 decltype(std::declval<FeatureSet>()._impl_._has_bits_);
13312 static constexpr ::int32_t kHasBitsOffset =
13313 8 * PROTOBUF_FIELD_OFFSET(FeatureSet, _impl_._has_bits_);
13314 };
13315
13316 FeatureSet::FeatureSet(::google::protobuf::Arena* arena)
13317 #if defined(PROTOBUF_CUSTOM_VTABLE)
13318 : ::google::protobuf::Message(arena, _class_data_.base()) {
13319 #else // PROTOBUF_CUSTOM_VTABLE
13320 : ::google::protobuf::Message(arena) {
13321 #endif // PROTOBUF_CUSTOM_VTABLE
13322 SharedCtor(arena);
13323 // @@protoc_insertion_point(arena_constructor:google.protobuf.FeatureSet)
13324 }
13325 inline PROTOBUF_NDEBUG_INLINE FeatureSet::Impl_::Impl_(
13326 ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena,
13327 const Impl_& from, const ::google::protobuf::FeatureSet& from_msg)
13328 : _extensions_{visibility, arena},
13329 _has_bits_{from._has_bits_},
13330 _cached_size_{0} {}
13331
13332 FeatureSet::FeatureSet(
13333 ::google::protobuf::Arena* arena,
13334 const FeatureSet& from)
13335 #if defined(PROTOBUF_CUSTOM_VTABLE)
13336 : ::google::protobuf::Message(arena, _class_data_.base()) {
13337 #else // PROTOBUF_CUSTOM_VTABLE
13338 : ::google::protobuf::Message(arena) {
13339 #endif // PROTOBUF_CUSTOM_VTABLE
13340 FeatureSet* const _this = this;
13341 (void)_this;
13342 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
13343 from._internal_metadata_);
13344 new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
13345 _impl_._extensions_.MergeFrom(this, from._impl_._extensions_);
13346 ::memcpy(reinterpret_cast<char *>(&_impl_) +
13347 offsetof(Impl_, field_presence_),
13348 reinterpret_cast<const char *>(&from._impl_) +
13349 offsetof(Impl_, field_presence_),
13350 offsetof(Impl_, json_format_) -
13351 offsetof(Impl_, field_presence_) +
13352 sizeof(Impl_::json_format_));
13353
13354 // @@protoc_insertion_point(copy_constructor:google.protobuf.FeatureSet)
13355 }
13356 inline PROTOBUF_NDEBUG_INLINE FeatureSet::Impl_::Impl_(
13357 ::google::protobuf::internal::InternalVisibility visibility,
13358 ::google::protobuf::Arena* arena)
13359 : _extensions_{visibility, arena},
13360 _cached_size_{0} {}
13361
13362 inline void FeatureSet::SharedCtor(::_pb::Arena* arena) {
13363 new (&_impl_) Impl_(internal_visibility(), arena);
13364 ::memset(reinterpret_cast<char *>(&_impl_) +
13365 offsetof(Impl_, field_presence_),
13366 0,
13367 offsetof(Impl_, json_format_) -
13368 offsetof(Impl_, field_presence_) +
13369 sizeof(Impl_::json_format_));
13370 }
13371 FeatureSet::~FeatureSet() {
13372 // @@protoc_insertion_point(destructor:google.protobuf.FeatureSet)
13373 SharedDtor(*this);
13374 }
13375 inline void FeatureSet::SharedDtor(MessageLite& self) {
13376 FeatureSet& this_ = static_cast<FeatureSet&>(self);
13377 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
13378 ABSL_DCHECK(this_.GetArena() == nullptr);
13379 this_._impl_.~Impl_();
13380 }
13381
13382 inline void* FeatureSet::PlacementNew_(const void*, void* mem,
13383 ::google::protobuf::Arena* arena) {
13384 return ::new (mem) FeatureSet(arena);
13385 }
13386 constexpr auto FeatureSet::InternalNewImpl_() {
13387 constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({
13388 PROTOBUF_FIELD_OFFSET(FeatureSet, _impl_._extensions_) +
13389 decltype(FeatureSet::_impl_._extensions_)::InternalGetArenaOffset(
13390 ::google::protobuf::Message::internal_visibility()),
13391 });
13392 if (arena_bits.has_value()) {
13393 return ::google::protobuf::internal::MessageCreator::ZeroInit(
13394 sizeof(FeatureSet), alignof(FeatureSet), *arena_bits);
13395 } else {
13396 return ::google::protobuf::internal::MessageCreator(&FeatureSet::PlacementNew_,
13397 sizeof(FeatureSet),
13398 alignof(FeatureSet));
13399 }
13400 }
13401 PROTOBUF_CONSTINIT
13402 PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
13403 const ::google::protobuf::internal::ClassDataFull FeatureSet::_class_data_ = {
13404 ::google::protobuf::internal::ClassData{
13405 &_FeatureSet_default_instance_._instance,
13406 &_table_.header,
13407 nullptr, // OnDemandRegisterArenaDtor
13408 FeatureSet::IsInitializedImpl,
13409 &FeatureSet::MergeImpl,
13410 ::google::protobuf::Message::GetNewImpl<FeatureSet>(),
13411 #if defined(PROTOBUF_CUSTOM_VTABLE)
13412 &FeatureSet::SharedDtor,
13413 ::google::protobuf::Message::GetClearImpl<FeatureSet>(), &FeatureSet::ByteSizeLong,
13414 &FeatureSet::_InternalSerialize,
13415 #endif // PROTOBUF_CUSTOM_VTABLE
13416 PROTOBUF_FIELD_OFFSET(FeatureSet, _impl_._cached_size_),
13417 false,
13418 },
13419 &FeatureSet::kDescriptorMethods,
13420 &descriptor_table_google_2fprotobuf_2fdescriptor_2eproto,
13421 nullptr, // tracker
13422 };
13423 const ::google::protobuf::internal::ClassData* FeatureSet::GetClassData() const {
13424 ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_);
13425 ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table);
13426 return _class_data_.base();
13427 }
13428 constexpr ::_pbi::TcParseTable<3, 6, 6, 0, 2> FeatureSet::_table_ = {
13429 {
13430 PROTOBUF_FIELD_OFFSET(FeatureSet, _impl_._has_bits_),
13431 PROTOBUF_FIELD_OFFSET(FeatureSet, _impl_._extensions_),
13432 6, 56, // max_field_number, fast_idx_mask
13433 offsetof(decltype(_table_), field_lookup_table),
13434 4294967232, // skipmap
13435 offsetof(decltype(_table_), field_entries),
13436 6, // num_field_entries
13437 6, // num_aux_entries
13438 offsetof(decltype(_table_), aux_entries),
13439 _class_data_.base(),
13440 nullptr, // post_loop_handler
13441 ::_pbi::TcParser::GenericFallback, // fallback
13442 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
13443 ::_pbi::TcParser::GetTable<::google::protobuf::FeatureSet>(), // to_prefetch
13444 #endif // PROTOBUF_PREFETCH_PARSE_TABLE
13445 }, {{
13446 {::_pbi::TcParser::MiniParse, {}},
13447 // optional .google.protobuf.FeatureSet.FieldPresence field_presence = 1 [retention = RETENTION_RUNTIME, targets = TARGET_TYPE_FIELD, targets = TARGET_TYPE_FILE, edition_defaults = {
13448 {::_pbi::TcParser::FastEr0S1,
13449 {8, 0, 3, PROTOBUF_FIELD_OFFSET(FeatureSet, _impl_.field_presence_)}},
13450 // optional .google.protobuf.FeatureSet.EnumType enum_type = 2 [retention = RETENTION_RUNTIME, targets = TARGET_TYPE_ENUM, targets = TARGET_TYPE_FILE, edition_defaults = {
13451 {::_pbi::TcParser::FastEr0S1,
13452 {16, 1, 2, PROTOBUF_FIELD_OFFSET(FeatureSet, _impl_.enum_type_)}},
13453 // optional .google.protobuf.FeatureSet.RepeatedFieldEncoding repeated_field_encoding = 3 [retention = RETENTION_RUNTIME, targets = TARGET_TYPE_FIELD, targets = TARGET_TYPE_FILE, edition_defaults = {
13454 {::_pbi::TcParser::FastEr0S1,
13455 {24, 2, 2, PROTOBUF_FIELD_OFFSET(FeatureSet, _impl_.repeated_field_encoding_)}},
13456 // optional .google.protobuf.FeatureSet.Utf8Validation utf8_validation = 4 [retention = RETENTION_RUNTIME, targets = TARGET_TYPE_FIELD, targets = TARGET_TYPE_FILE, edition_defaults = {
13457 {::_pbi::TcParser::FastEvS1,
13458 {32, 3, 3, PROTOBUF_FIELD_OFFSET(FeatureSet, _impl_.utf8_validation_)}},
13459 // optional .google.protobuf.FeatureSet.MessageEncoding message_encoding = 5 [retention = RETENTION_RUNTIME, targets = TARGET_TYPE_FIELD, targets = TARGET_TYPE_FILE, edition_defaults = {
13460 {::_pbi::TcParser::FastEr0S1,
13461 {40, 4, 2, PROTOBUF_FIELD_OFFSET(FeatureSet, _impl_.message_encoding_)}},
13462 // optional .google.protobuf.FeatureSet.JsonFormat json_format = 6 [retention = RETENTION_RUNTIME, targets = TARGET_TYPE_MESSAGE, targets = TARGET_TYPE_ENUM, targets = TARGET_TYPE_FILE, edition_defaults = {
13463 {::_pbi::TcParser::FastEr0S1,
13464 {48, 5, 2, PROTOBUF_FIELD_OFFSET(FeatureSet, _impl_.json_format_)}},
13465 {::_pbi::TcParser::MiniParse, {}},
13466 }}, {{
13467 65535, 65535
13468 }}, {{
13469 // optional .google.protobuf.FeatureSet.FieldPresence field_presence = 1 [retention = RETENTION_RUNTIME, targets = TARGET_TYPE_FIELD, targets = TARGET_TYPE_FILE, edition_defaults = {
13470 {PROTOBUF_FIELD_OFFSET(FeatureSet, _impl_.field_presence_), _Internal::kHasBitsOffset + 0, 0,
13471 (0 | ::_fl::kFcOptional | ::_fl::kEnumRange)},
13472 // optional .google.protobuf.FeatureSet.EnumType enum_type = 2 [retention = RETENTION_RUNTIME, targets = TARGET_TYPE_ENUM, targets = TARGET_TYPE_FILE, edition_defaults = {
13473 {PROTOBUF_FIELD_OFFSET(FeatureSet, _impl_.enum_type_), _Internal::kHasBitsOffset + 1, 1,
13474 (0 | ::_fl::kFcOptional | ::_fl::kEnumRange)},
13475 // optional .google.protobuf.FeatureSet.RepeatedFieldEncoding repeated_field_encoding = 3 [retention = RETENTION_RUNTIME, targets = TARGET_TYPE_FIELD, targets = TARGET_TYPE_FILE, edition_defaults = {
13476 {PROTOBUF_FIELD_OFFSET(FeatureSet, _impl_.repeated_field_encoding_), _Internal::kHasBitsOffset + 2, 2,
13477 (0 | ::_fl::kFcOptional | ::_fl::kEnumRange)},
13478 // optional .google.protobuf.FeatureSet.Utf8Validation utf8_validation = 4 [retention = RETENTION_RUNTIME, targets = TARGET_TYPE_FIELD, targets = TARGET_TYPE_FILE, edition_defaults = {
13479 {PROTOBUF_FIELD_OFFSET(FeatureSet, _impl_.utf8_validation_), _Internal::kHasBitsOffset + 3, 3,
13480 (0 | ::_fl::kFcOptional | ::_fl::kEnum)},
13481 // optional .google.protobuf.FeatureSet.MessageEncoding message_encoding = 5 [retention = RETENTION_RUNTIME, targets = TARGET_TYPE_FIELD, targets = TARGET_TYPE_FILE, edition_defaults = {
13482 {PROTOBUF_FIELD_OFFSET(FeatureSet, _impl_.message_encoding_), _Internal::kHasBitsOffset + 4, 4,
13483 (0 | ::_fl::kFcOptional | ::_fl::kEnumRange)},
13484 // optional .google.protobuf.FeatureSet.JsonFormat json_format = 6 [retention = RETENTION_RUNTIME, targets = TARGET_TYPE_MESSAGE, targets = TARGET_TYPE_ENUM, targets = TARGET_TYPE_FILE, edition_defaults = {
13485 {PROTOBUF_FIELD_OFFSET(FeatureSet, _impl_.json_format_), _Internal::kHasBitsOffset + 5, 5,
13486 (0 | ::_fl::kFcOptional | ::_fl::kEnumRange)},
13487 }}, {{
13488 {0, 4},
13489 {0, 3},
13490 {0, 3},
13491 {::_pbi::FieldAuxEnumData{}, ::google::protobuf::FeatureSet_Utf8Validation_internal_data_},
13492 {0, 3},
13493 {0, 3},
13494 }}, {{
13495 }},
13496 };
13497
13498 PROTOBUF_NOINLINE void FeatureSet::Clear() {
13499 // @@protoc_insertion_point(message_clear_start:google.protobuf.FeatureSet)
13500 ::google::protobuf::internal::TSanWrite(&_impl_);
13501 ::uint32_t cached_has_bits = 0;
13502 // Prevent compiler warnings about cached_has_bits being unused
13503 (void) cached_has_bits;
13504
13505 _impl_._extensions_.Clear();
13506 cached_has_bits = _impl_._has_bits_[0];
13507 if (cached_has_bits & 0x0000003fu) {
13508 ::memset(&_impl_.field_presence_, 0, static_cast<::size_t>(
13509 reinterpret_cast<char*>(&_impl_.json_format_) -
13510 reinterpret_cast<char*>(&_impl_.field_presence_)) + sizeof(_impl_.json_format_));
13511 }
13512 _impl_._has_bits_.Clear();
13513 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
13514 }
13515
13516 #if defined(PROTOBUF_CUSTOM_VTABLE)
13517 ::uint8_t* FeatureSet::_InternalSerialize(
13518 const MessageLite& base, ::uint8_t* target,
13519 ::google::protobuf::io::EpsCopyOutputStream* stream) {
13520 const FeatureSet& this_ = static_cast<const FeatureSet&>(base);
13521 #else // PROTOBUF_CUSTOM_VTABLE
13522 ::uint8_t* FeatureSet::_InternalSerialize(
13523 ::uint8_t* target,
13524 ::google::protobuf::io::EpsCopyOutputStream* stream) const {
13525 const FeatureSet& this_ = *this;
13526 #endif // PROTOBUF_CUSTOM_VTABLE
13527 // @@protoc_insertion_point(serialize_to_array_start:google.protobuf.FeatureSet)
13528 ::uint32_t cached_has_bits = 0;
13529 (void)cached_has_bits;
13530
13531 cached_has_bits = this_._impl_._has_bits_[0];
13532 // optional .google.protobuf.FeatureSet.FieldPresence field_presence = 1 [retention = RETENTION_RUNTIME, targets = TARGET_TYPE_FIELD, targets = TARGET_TYPE_FILE, edition_defaults = {
13533 if (cached_has_bits & 0x00000001u) {
13534 target = stream->EnsureSpace(target);
13535 target = ::_pbi::WireFormatLite::WriteEnumToArray(
13536 1, this_._internal_field_presence(), target);
13537 }
13538
13539 // optional .google.protobuf.FeatureSet.EnumType enum_type = 2 [retention = RETENTION_RUNTIME, targets = TARGET_TYPE_ENUM, targets = TARGET_TYPE_FILE, edition_defaults = {
13540 if (cached_has_bits & 0x00000002u) {
13541 target = stream->EnsureSpace(target);
13542 target = ::_pbi::WireFormatLite::WriteEnumToArray(
13543 2, this_._internal_enum_type(), target);
13544 }
13545
13546 // optional .google.protobuf.FeatureSet.RepeatedFieldEncoding repeated_field_encoding = 3 [retention = RETENTION_RUNTIME, targets = TARGET_TYPE_FIELD, targets = TARGET_TYPE_FILE, edition_defaults = {
13547 if (cached_has_bits & 0x00000004u) {
13548 target = stream->EnsureSpace(target);
13549 target = ::_pbi::WireFormatLite::WriteEnumToArray(
13550 3, this_._internal_repeated_field_encoding(), target);
13551 }
13552
13553 // optional .google.protobuf.FeatureSet.Utf8Validation utf8_validation = 4 [retention = RETENTION_RUNTIME, targets = TARGET_TYPE_FIELD, targets = TARGET_TYPE_FILE, edition_defaults = {
13554 if (cached_has_bits & 0x00000008u) {
13555 target = stream->EnsureSpace(target);
13556 target = ::_pbi::WireFormatLite::WriteEnumToArray(
13557 4, this_._internal_utf8_validation(), target);
13558 }
13559
13560 // optional .google.protobuf.FeatureSet.MessageEncoding message_encoding = 5 [retention = RETENTION_RUNTIME, targets = TARGET_TYPE_FIELD, targets = TARGET_TYPE_FILE, edition_defaults = {
13561 if (cached_has_bits & 0x00000010u) {
13562 target = stream->EnsureSpace(target);
13563 target = ::_pbi::WireFormatLite::WriteEnumToArray(
13564 5, this_._internal_message_encoding(), target);
13565 }
13566
13567 // optional .google.protobuf.FeatureSet.JsonFormat json_format = 6 [retention = RETENTION_RUNTIME, targets = TARGET_TYPE_MESSAGE, targets = TARGET_TYPE_ENUM, targets = TARGET_TYPE_FILE, edition_defaults = {
13568 if (cached_has_bits & 0x00000020u) {
13569 target = stream->EnsureSpace(target);
13570 target = ::_pbi::WireFormatLite::WriteEnumToArray(
13571 6, this_._internal_json_format(), target);
13572 }
13573
13574 // Extension range [1000, 10001)
13575 target = this_._impl_._extensions_._InternalSerialize(
13576 internal_default_instance(), 1000, 10001, target, stream);
13577 if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
13578 target =
13579 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
13580 this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
13581 }
13582 // @@protoc_insertion_point(serialize_to_array_end:google.protobuf.FeatureSet)
13583 return target;
13584 }
13585
13586 #if defined(PROTOBUF_CUSTOM_VTABLE)
13587 ::size_t FeatureSet::ByteSizeLong(const MessageLite& base) {
13588 const FeatureSet& this_ = static_cast<const FeatureSet&>(base);
13589 #else // PROTOBUF_CUSTOM_VTABLE
13590 ::size_t FeatureSet::ByteSizeLong() const {
13591 const FeatureSet& this_ = *this;
13592 #endif // PROTOBUF_CUSTOM_VTABLE
13593 // @@protoc_insertion_point(message_byte_size_start:google.protobuf.FeatureSet)
13594 ::size_t total_size = 0;
13595 total_size += this_._impl_._extensions_.ByteSize();
13596
13597 ::uint32_t cached_has_bits = 0;
13598 // Prevent compiler warnings about cached_has_bits being unused
13599 (void)cached_has_bits;
13600
13601 ::_pbi::Prefetch5LinesFrom7Lines(&this_);
13602 cached_has_bits = this_._impl_._has_bits_[0];
13603 if (cached_has_bits & 0x0000003fu) {
13604 // optional .google.protobuf.FeatureSet.FieldPresence field_presence = 1 [retention = RETENTION_RUNTIME, targets = TARGET_TYPE_FIELD, targets = TARGET_TYPE_FILE, edition_defaults = {
13605 if (cached_has_bits & 0x00000001u) {
13606 total_size += 1 +
13607 ::_pbi::WireFormatLite::EnumSize(this_._internal_field_presence());
13608 }
13609 // optional .google.protobuf.FeatureSet.EnumType enum_type = 2 [retention = RETENTION_RUNTIME, targets = TARGET_TYPE_ENUM, targets = TARGET_TYPE_FILE, edition_defaults = {
13610 if (cached_has_bits & 0x00000002u) {
13611 total_size += 1 +
13612 ::_pbi::WireFormatLite::EnumSize(this_._internal_enum_type());
13613 }
13614 // optional .google.protobuf.FeatureSet.RepeatedFieldEncoding repeated_field_encoding = 3 [retention = RETENTION_RUNTIME, targets = TARGET_TYPE_FIELD, targets = TARGET_TYPE_FILE, edition_defaults = {
13615 if (cached_has_bits & 0x00000004u) {
13616 total_size += 1 +
13617 ::_pbi::WireFormatLite::EnumSize(this_._internal_repeated_field_encoding());
13618 }
13619 // optional .google.protobuf.FeatureSet.Utf8Validation utf8_validation = 4 [retention = RETENTION_RUNTIME, targets = TARGET_TYPE_FIELD, targets = TARGET_TYPE_FILE, edition_defaults = {
13620 if (cached_has_bits & 0x00000008u) {
13621 total_size += 1 +
13622 ::_pbi::WireFormatLite::EnumSize(this_._internal_utf8_validation());
13623 }
13624 // optional .google.protobuf.FeatureSet.MessageEncoding message_encoding = 5 [retention = RETENTION_RUNTIME, targets = TARGET_TYPE_FIELD, targets = TARGET_TYPE_FILE, edition_defaults = {
13625 if (cached_has_bits & 0x00000010u) {
13626 total_size += 1 +
13627 ::_pbi::WireFormatLite::EnumSize(this_._internal_message_encoding());
13628 }
13629 // optional .google.protobuf.FeatureSet.JsonFormat json_format = 6 [retention = RETENTION_RUNTIME, targets = TARGET_TYPE_MESSAGE, targets = TARGET_TYPE_ENUM, targets = TARGET_TYPE_FILE, edition_defaults = {
13630 if (cached_has_bits & 0x00000020u) {
13631 total_size += 1 +
13632 ::_pbi::WireFormatLite::EnumSize(this_._internal_json_format());
13633 }
13634 }
13635 return this_.MaybeComputeUnknownFieldsSize(total_size,
13636 &this_._impl_._cached_size_);
13637 }
13638
13639 void FeatureSet::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
13640 auto* const _this = static_cast<FeatureSet*>(&to_msg);
13641 auto& from = static_cast<const FeatureSet&>(from_msg);
13642 // @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.FeatureSet)
13643 ABSL_DCHECK_NE(&from, _this);
13644 ::uint32_t cached_has_bits = 0;
13645 (void) cached_has_bits;
13646
13647 cached_has_bits = from._impl_._has_bits_[0];
13648 if (cached_has_bits & 0x0000003fu) {
13649 if (cached_has_bits & 0x00000001u) {
13650 _this->_impl_.field_presence_ = from._impl_.field_presence_;
13651 }
13652 if (cached_has_bits & 0x00000002u) {
13653 _this->_impl_.enum_type_ = from._impl_.enum_type_;
13654 }
13655 if (cached_has_bits & 0x00000004u) {
13656 _this->_impl_.repeated_field_encoding_ = from._impl_.repeated_field_encoding_;
13657 }
13658 if (cached_has_bits & 0x00000008u) {
13659 _this->_impl_.utf8_validation_ = from._impl_.utf8_validation_;
13660 }
13661 if (cached_has_bits & 0x00000010u) {
13662 _this->_impl_.message_encoding_ = from._impl_.message_encoding_;
13663 }
13664 if (cached_has_bits & 0x00000020u) {
13665 _this->_impl_.json_format_ = from._impl_.json_format_;
13666 }
13667 }
13668 _this->_impl_._has_bits_[0] |= cached_has_bits;
13669 _this->_impl_._extensions_.MergeFrom(internal_default_instance(), from._impl_._extensions_);
13670 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
13671 }
13672
13673 void FeatureSet::CopyFrom(const FeatureSet& from) {
13674 // @@protoc_insertion_point(class_specific_copy_from_start:google.protobuf.FeatureSet)
13675 if (&from == this) return;
13676 Clear();
13677 MergeFrom(from);
13678 }
13679
13680 PROTOBUF_NOINLINE bool FeatureSet::IsInitializedImpl(
13681 const MessageLite& msg) {
13682 auto& this_ = static_cast<const FeatureSet&>(msg);
13683 if (!this_._impl_._extensions_.IsInitialized(
13684 internal_default_instance())) {
13685 return false;
13686 }
13687 return true;
13688 }
13689
13690 void FeatureSet::InternalSwap(FeatureSet* PROTOBUF_RESTRICT other) {
13691 using std::swap;
13692 _impl_._extensions_.InternalSwap(&other->_impl_._extensions_);
13693 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
13694 swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
13695 ::google::protobuf::internal::memswap<
13696 PROTOBUF_FIELD_OFFSET(FeatureSet, _impl_.json_format_)
13697 + sizeof(FeatureSet::_impl_.json_format_)
13698 - PROTOBUF_FIELD_OFFSET(FeatureSet, _impl_.field_presence_)>(
13699 reinterpret_cast<char*>(&_impl_.field_presence_),
13700 reinterpret_cast<char*>(&other->_impl_.field_presence_));
13701 }
13702
13703 ::google::protobuf::Metadata FeatureSet::GetMetadata() const {
13704 return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
13705 }
13706 // ===================================================================
13707
13708 class FeatureSetDefaults_FeatureSetEditionDefault::_Internal {
13709 public:
13710 using HasBits =
13711 decltype(std::declval<FeatureSetDefaults_FeatureSetEditionDefault>()._impl_._has_bits_);
13712 static constexpr ::int32_t kHasBitsOffset =
13713 8 * PROTOBUF_FIELD_OFFSET(FeatureSetDefaults_FeatureSetEditionDefault, _impl_._has_bits_);
13714 };
13715
13716 FeatureSetDefaults_FeatureSetEditionDefault::FeatureSetDefaults_FeatureSetEditionDefault(::google::protobuf::Arena* arena)
13717 #if defined(PROTOBUF_CUSTOM_VTABLE)
13718 : ::google::protobuf::Message(arena, _class_data_.base()) {
13719 #else // PROTOBUF_CUSTOM_VTABLE
13720 : ::google::protobuf::Message(arena) {
13721 #endif // PROTOBUF_CUSTOM_VTABLE
13722 SharedCtor(arena);
13723 // @@protoc_insertion_point(arena_constructor:google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault)
13724 }
13725 inline PROTOBUF_NDEBUG_INLINE FeatureSetDefaults_FeatureSetEditionDefault::Impl_::Impl_(
13726 ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena,
13727 const Impl_& from, const ::google::protobuf::FeatureSetDefaults_FeatureSetEditionDefault& from_msg)
13728 : _has_bits_{from._has_bits_},
13729 _cached_size_{0} {}
13730
13731 FeatureSetDefaults_FeatureSetEditionDefault::FeatureSetDefaults_FeatureSetEditionDefault(
13732 ::google::protobuf::Arena* arena,
13733 const FeatureSetDefaults_FeatureSetEditionDefault& from)
13734 #if defined(PROTOBUF_CUSTOM_VTABLE)
13735 : ::google::protobuf::Message(arena, _class_data_.base()) {
13736 #else // PROTOBUF_CUSTOM_VTABLE
13737 : ::google::protobuf::Message(arena) {
13738 #endif // PROTOBUF_CUSTOM_VTABLE
13739 FeatureSetDefaults_FeatureSetEditionDefault* const _this = this;
13740 (void)_this;
13741 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
13742 from._internal_metadata_);
13743 new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
13744 ::uint32_t cached_has_bits = _impl_._has_bits_[0];
13745 _impl_.overridable_features_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::google::protobuf::FeatureSet>(
13746 arena, *from._impl_.overridable_features_)
13747 : nullptr;
13748 _impl_.fixed_features_ = (cached_has_bits & 0x00000002u) ? ::google::protobuf::Message::CopyConstruct<::google::protobuf::FeatureSet>(
13749 arena, *from._impl_.fixed_features_)
13750 : nullptr;
13751 _impl_.edition_ = from._impl_.edition_;
13752
13753 // @@protoc_insertion_point(copy_constructor:google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault)
13754 }
13755 inline PROTOBUF_NDEBUG_INLINE FeatureSetDefaults_FeatureSetEditionDefault::Impl_::Impl_(
13756 ::google::protobuf::internal::InternalVisibility visibility,
13757 ::google::protobuf::Arena* arena)
13758 : _cached_size_{0} {}
13759
13760 inline void FeatureSetDefaults_FeatureSetEditionDefault::SharedCtor(::_pb::Arena* arena) {
13761 new (&_impl_) Impl_(internal_visibility(), arena);
13762 ::memset(reinterpret_cast<char *>(&_impl_) +
13763 offsetof(Impl_, overridable_features_),
13764 0,
13765 offsetof(Impl_, edition_) -
13766 offsetof(Impl_, overridable_features_) +
13767 sizeof(Impl_::edition_));
13768 }
13769 FeatureSetDefaults_FeatureSetEditionDefault::~FeatureSetDefaults_FeatureSetEditionDefault() {
13770 // @@protoc_insertion_point(destructor:google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault)
13771 SharedDtor(*this);
13772 }
13773 inline void FeatureSetDefaults_FeatureSetEditionDefault::SharedDtor(MessageLite& self) {
13774 FeatureSetDefaults_FeatureSetEditionDefault& this_ = static_cast<FeatureSetDefaults_FeatureSetEditionDefault&>(self);
13775 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
13776 ABSL_DCHECK(this_.GetArena() == nullptr);
13777 delete this_._impl_.overridable_features_;
13778 delete this_._impl_.fixed_features_;
13779 this_._impl_.~Impl_();
13780 }
13781
13782 inline void* FeatureSetDefaults_FeatureSetEditionDefault::PlacementNew_(const void*, void* mem,
13783 ::google::protobuf::Arena* arena) {
13784 return ::new (mem) FeatureSetDefaults_FeatureSetEditionDefault(arena);
13785 }
13786 constexpr auto FeatureSetDefaults_FeatureSetEditionDefault::InternalNewImpl_() {
13787 return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(FeatureSetDefaults_FeatureSetEditionDefault),
13788 alignof(FeatureSetDefaults_FeatureSetEditionDefault));
13789 }
13790 PROTOBUF_CONSTINIT
13791 PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
13792 const ::google::protobuf::internal::ClassDataFull FeatureSetDefaults_FeatureSetEditionDefault::_class_data_ = {
13793 ::google::protobuf::internal::ClassData{
13794 &_FeatureSetDefaults_FeatureSetEditionDefault_default_instance_._instance,
13795 &_table_.header,
13796 nullptr, // OnDemandRegisterArenaDtor
13797 FeatureSetDefaults_FeatureSetEditionDefault::IsInitializedImpl,
13798 &FeatureSetDefaults_FeatureSetEditionDefault::MergeImpl,
13799 ::google::protobuf::Message::GetNewImpl<FeatureSetDefaults_FeatureSetEditionDefault>(),
13800 #if defined(PROTOBUF_CUSTOM_VTABLE)
13801 &FeatureSetDefaults_FeatureSetEditionDefault::SharedDtor,
13802 ::google::protobuf::Message::GetClearImpl<FeatureSetDefaults_FeatureSetEditionDefault>(), &FeatureSetDefaults_FeatureSetEditionDefault::ByteSizeLong,
13803 &FeatureSetDefaults_FeatureSetEditionDefault::_InternalSerialize,
13804 #endif // PROTOBUF_CUSTOM_VTABLE
13805 PROTOBUF_FIELD_OFFSET(FeatureSetDefaults_FeatureSetEditionDefault, _impl_._cached_size_),
13806 false,
13807 },
13808 &FeatureSetDefaults_FeatureSetEditionDefault::kDescriptorMethods,
13809 &descriptor_table_google_2fprotobuf_2fdescriptor_2eproto,
13810 nullptr, // tracker
13811 };
13812 const ::google::protobuf::internal::ClassData* FeatureSetDefaults_FeatureSetEditionDefault::GetClassData() const {
13813 ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_);
13814 ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table);
13815 return _class_data_.base();
13816 }
13817 constexpr ::_pbi::TcParseTable<2, 3, 3, 0, 2> FeatureSetDefaults_FeatureSetEditionDefault::_table_ = {
13818 {
13819 PROTOBUF_FIELD_OFFSET(FeatureSetDefaults_FeatureSetEditionDefault, _impl_._has_bits_),
13820 0, // no _extensions_
13821 5, 24, // max_field_number, fast_idx_mask
13822 offsetof(decltype(_table_), field_lookup_table),
13823 4294967267, // skipmap
13824 offsetof(decltype(_table_), field_entries),
13825 3, // num_field_entries
13826 3, // num_aux_entries
13827 offsetof(decltype(_table_), aux_entries),
13828 _class_data_.base(),
13829 nullptr, // post_loop_handler
13830 ::_pbi::TcParser::GenericFallback, // fallback
13831 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
13832 ::_pbi::TcParser::GetTable<::google::protobuf::FeatureSetDefaults_FeatureSetEditionDefault>(), // to_prefetch
13833 #endif // PROTOBUF_PREFETCH_PARSE_TABLE
13834 }, {{
13835 // optional .google.protobuf.FeatureSet overridable_features = 4;
13836 {::_pbi::TcParser::FastMtS1,
13837 {34, 0, 0, PROTOBUF_FIELD_OFFSET(FeatureSetDefaults_FeatureSetEditionDefault, _impl_.overridable_features_)}},
13838 // optional .google.protobuf.FeatureSet fixed_features = 5;
13839 {::_pbi::TcParser::FastMtS1,
13840 {42, 1, 1, PROTOBUF_FIELD_OFFSET(FeatureSetDefaults_FeatureSetEditionDefault, _impl_.fixed_features_)}},
13841 {::_pbi::TcParser::MiniParse, {}},
13842 // optional .google.protobuf.Edition edition = 3;
13843 {::_pbi::TcParser::FastEvS1,
13844 {24, 2, 2, PROTOBUF_FIELD_OFFSET(FeatureSetDefaults_FeatureSetEditionDefault, _impl_.edition_)}},
13845 }}, {{
13846 65535, 65535
13847 }}, {{
13848 // optional .google.protobuf.Edition edition = 3;
13849 {PROTOBUF_FIELD_OFFSET(FeatureSetDefaults_FeatureSetEditionDefault, _impl_.edition_), _Internal::kHasBitsOffset + 2, 2,
13850 (0 | ::_fl::kFcOptional | ::_fl::kEnum)},
13851 // optional .google.protobuf.FeatureSet overridable_features = 4;
13852 {PROTOBUF_FIELD_OFFSET(FeatureSetDefaults_FeatureSetEditionDefault, _impl_.overridable_features_), _Internal::kHasBitsOffset + 0, 0,
13853 (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
13854 // optional .google.protobuf.FeatureSet fixed_features = 5;
13855 {PROTOBUF_FIELD_OFFSET(FeatureSetDefaults_FeatureSetEditionDefault, _impl_.fixed_features_), _Internal::kHasBitsOffset + 1, 1,
13856 (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
13857 }}, {{
13858 {::_pbi::TcParser::GetTable<::google::protobuf::FeatureSet>()},
13859 {::_pbi::TcParser::GetTable<::google::protobuf::FeatureSet>()},
13860 {::_pbi::FieldAuxEnumData{}, ::google::protobuf::Edition_internal_data_},
13861 }}, {{
13862 }},
13863 };
13864
13865 PROTOBUF_NOINLINE void FeatureSetDefaults_FeatureSetEditionDefault::Clear() {
13866 // @@protoc_insertion_point(message_clear_start:google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault)
13867 ::google::protobuf::internal::TSanWrite(&_impl_);
13868 ::uint32_t cached_has_bits = 0;
13869 // Prevent compiler warnings about cached_has_bits being unused
13870 (void) cached_has_bits;
13871
13872 cached_has_bits = _impl_._has_bits_[0];
13873 if (cached_has_bits & 0x00000003u) {
13874 if (cached_has_bits & 0x00000001u) {
13875 ABSL_DCHECK(_impl_.overridable_features_ != nullptr);
13876 _impl_.overridable_features_->Clear();
13877 }
13878 if (cached_has_bits & 0x00000002u) {
13879 ABSL_DCHECK(_impl_.fixed_features_ != nullptr);
13880 _impl_.fixed_features_->Clear();
13881 }
13882 }
13883 _impl_.edition_ = 0;
13884 _impl_._has_bits_.Clear();
13885 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
13886 }
13887
13888 #if defined(PROTOBUF_CUSTOM_VTABLE)
13889 ::uint8_t* FeatureSetDefaults_FeatureSetEditionDefault::_InternalSerialize(
13890 const MessageLite& base, ::uint8_t* target,
13891 ::google::protobuf::io::EpsCopyOutputStream* stream) {
13892 const FeatureSetDefaults_FeatureSetEditionDefault& this_ = static_cast<const FeatureSetDefaults_FeatureSetEditionDefault&>(base);
13893 #else // PROTOBUF_CUSTOM_VTABLE
13894 ::uint8_t* FeatureSetDefaults_FeatureSetEditionDefault::_InternalSerialize(
13895 ::uint8_t* target,
13896 ::google::protobuf::io::EpsCopyOutputStream* stream) const {
13897 const FeatureSetDefaults_FeatureSetEditionDefault& this_ = *this;
13898 #endif // PROTOBUF_CUSTOM_VTABLE
13899 // @@protoc_insertion_point(serialize_to_array_start:google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault)
13900 ::uint32_t cached_has_bits = 0;
13901 (void)cached_has_bits;
13902
13903 cached_has_bits = this_._impl_._has_bits_[0];
13904 // optional .google.protobuf.Edition edition = 3;
13905 if (cached_has_bits & 0x00000004u) {
13906 target = stream->EnsureSpace(target);
13907 target = ::_pbi::WireFormatLite::WriteEnumToArray(
13908 3, this_._internal_edition(), target);
13909 }
13910
13911 // optional .google.protobuf.FeatureSet overridable_features = 4;
13912 if (cached_has_bits & 0x00000001u) {
13913 target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
13914 4, *this_._impl_.overridable_features_, this_._impl_.overridable_features_->GetCachedSize(), target,
13915 stream);
13916 }
13917
13918 // optional .google.protobuf.FeatureSet fixed_features = 5;
13919 if (cached_has_bits & 0x00000002u) {
13920 target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
13921 5, *this_._impl_.fixed_features_, this_._impl_.fixed_features_->GetCachedSize(), target,
13922 stream);
13923 }
13924
13925 if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
13926 target =
13927 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
13928 this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
13929 }
13930 // @@protoc_insertion_point(serialize_to_array_end:google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault)
13931 return target;
13932 }
13933
13934 #if defined(PROTOBUF_CUSTOM_VTABLE)
13935 ::size_t FeatureSetDefaults_FeatureSetEditionDefault::ByteSizeLong(const MessageLite& base) {
13936 const FeatureSetDefaults_FeatureSetEditionDefault& this_ = static_cast<const FeatureSetDefaults_FeatureSetEditionDefault&>(base);
13937 #else // PROTOBUF_CUSTOM_VTABLE
13938 ::size_t FeatureSetDefaults_FeatureSetEditionDefault::ByteSizeLong() const {
13939 const FeatureSetDefaults_FeatureSetEditionDefault& this_ = *this;
13940 #endif // PROTOBUF_CUSTOM_VTABLE
13941 // @@protoc_insertion_point(message_byte_size_start:google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault)
13942 ::size_t total_size = 0;
13943
13944 ::uint32_t cached_has_bits = 0;
13945 // Prevent compiler warnings about cached_has_bits being unused
13946 (void)cached_has_bits;
13947
13948 ::_pbi::Prefetch5LinesFrom7Lines(&this_);
13949 cached_has_bits = this_._impl_._has_bits_[0];
13950 if (cached_has_bits & 0x00000007u) {
13951 // optional .google.protobuf.FeatureSet overridable_features = 4;
13952 if (cached_has_bits & 0x00000001u) {
13953 total_size += 1 +
13954 ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.overridable_features_);
13955 }
13956 // optional .google.protobuf.FeatureSet fixed_features = 5;
13957 if (cached_has_bits & 0x00000002u) {
13958 total_size += 1 +
13959 ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.fixed_features_);
13960 }
13961 // optional .google.protobuf.Edition edition = 3;
13962 if (cached_has_bits & 0x00000004u) {
13963 total_size += 1 +
13964 ::_pbi::WireFormatLite::EnumSize(this_._internal_edition());
13965 }
13966 }
13967 return this_.MaybeComputeUnknownFieldsSize(total_size,
13968 &this_._impl_._cached_size_);
13969 }
13970
13971 void FeatureSetDefaults_FeatureSetEditionDefault::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
13972 auto* const _this = static_cast<FeatureSetDefaults_FeatureSetEditionDefault*>(&to_msg);
13973 auto& from = static_cast<const FeatureSetDefaults_FeatureSetEditionDefault&>(from_msg);
13974 ::google::protobuf::Arena* arena = _this->GetArena();
13975 // @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault)
13976 ABSL_DCHECK_NE(&from, _this);
13977 ::uint32_t cached_has_bits = 0;
13978 (void) cached_has_bits;
13979
13980 cached_has_bits = from._impl_._has_bits_[0];
13981 if (cached_has_bits & 0x00000007u) {
13982 if (cached_has_bits & 0x00000001u) {
13983 ABSL_DCHECK(from._impl_.overridable_features_ != nullptr);
13984 if (_this->_impl_.overridable_features_ == nullptr) {
13985 _this->_impl_.overridable_features_ =
13986 ::google::protobuf::Message::CopyConstruct<::google::protobuf::FeatureSet>(arena, *from._impl_.overridable_features_);
13987 } else {
13988 _this->_impl_.overridable_features_->MergeFrom(*from._impl_.overridable_features_);
13989 }
13990 }
13991 if (cached_has_bits & 0x00000002u) {
13992 ABSL_DCHECK(from._impl_.fixed_features_ != nullptr);
13993 if (_this->_impl_.fixed_features_ == nullptr) {
13994 _this->_impl_.fixed_features_ =
13995 ::google::protobuf::Message::CopyConstruct<::google::protobuf::FeatureSet>(arena, *from._impl_.fixed_features_);
13996 } else {
13997 _this->_impl_.fixed_features_->MergeFrom(*from._impl_.fixed_features_);
13998 }
13999 }
14000 if (cached_has_bits & 0x00000004u) {
14001 _this->_impl_.edition_ = from._impl_.edition_;
14002 }
14003 }
14004 _this->_impl_._has_bits_[0] |= cached_has_bits;
14005 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
14006 }
14007
14008 void FeatureSetDefaults_FeatureSetEditionDefault::CopyFrom(const FeatureSetDefaults_FeatureSetEditionDefault& from) {
14009 // @@protoc_insertion_point(class_specific_copy_from_start:google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault)
14010 if (&from == this) return;
14011 Clear();
14012 MergeFrom(from);
14013 }
14014
14015 PROTOBUF_NOINLINE bool FeatureSetDefaults_FeatureSetEditionDefault::IsInitializedImpl(
14016 const MessageLite& msg) {
14017 auto& this_ = static_cast<const FeatureSetDefaults_FeatureSetEditionDefault&>(msg);
14018 if ((this_._impl_._has_bits_[0] & 0x00000001u) != 0) {
14019 if (!this_._impl_.overridable_features_->IsInitialized()) return false;
14020 }
14021 if ((this_._impl_._has_bits_[0] & 0x00000002u) != 0) {
14022 if (!this_._impl_.fixed_features_->IsInitialized()) return false;
14023 }
14024 return true;
14025 }
14026
14027 void FeatureSetDefaults_FeatureSetEditionDefault::InternalSwap(FeatureSetDefaults_FeatureSetEditionDefault* PROTOBUF_RESTRICT other) {
14028 using std::swap;
14029 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
14030 swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
14031 ::google::protobuf::internal::memswap<
14032 PROTOBUF_FIELD_OFFSET(FeatureSetDefaults_FeatureSetEditionDefault, _impl_.edition_)
14033 + sizeof(FeatureSetDefaults_FeatureSetEditionDefault::_impl_.edition_)
14034 - PROTOBUF_FIELD_OFFSET(FeatureSetDefaults_FeatureSetEditionDefault, _impl_.overridable_features_)>(
14035 reinterpret_cast<char*>(&_impl_.overridable_features_),
14036 reinterpret_cast<char*>(&other->_impl_.overridable_features_));
14037 }
14038
14039 ::google::protobuf::Metadata FeatureSetDefaults_FeatureSetEditionDefault::GetMetadata() const {
14040 return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
14041 }
14042 // ===================================================================
14043
14044 class FeatureSetDefaults::_Internal {
14045 public:
14046 using HasBits =
14047 decltype(std::declval<FeatureSetDefaults>()._impl_._has_bits_);
14048 static constexpr ::int32_t kHasBitsOffset =
14049 8 * PROTOBUF_FIELD_OFFSET(FeatureSetDefaults, _impl_._has_bits_);
14050 };
14051
14052 FeatureSetDefaults::FeatureSetDefaults(::google::protobuf::Arena* arena)
14053 #if defined(PROTOBUF_CUSTOM_VTABLE)
14054 : ::google::protobuf::Message(arena, _class_data_.base()) {
14055 #else // PROTOBUF_CUSTOM_VTABLE
14056 : ::google::protobuf::Message(arena) {
14057 #endif // PROTOBUF_CUSTOM_VTABLE
14058 SharedCtor(arena);
14059 // @@protoc_insertion_point(arena_constructor:google.protobuf.FeatureSetDefaults)
14060 }
14061 inline PROTOBUF_NDEBUG_INLINE FeatureSetDefaults::Impl_::Impl_(
14062 ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena,
14063 const Impl_& from, const ::google::protobuf::FeatureSetDefaults& from_msg)
14064 : _has_bits_{from._has_bits_},
14065 _cached_size_{0},
14066 defaults_{visibility, arena, from.defaults_} {}
14067
14068 FeatureSetDefaults::FeatureSetDefaults(
14069 ::google::protobuf::Arena* arena,
14070 const FeatureSetDefaults& from)
14071 #if defined(PROTOBUF_CUSTOM_VTABLE)
14072 : ::google::protobuf::Message(arena, _class_data_.base()) {
14073 #else // PROTOBUF_CUSTOM_VTABLE
14074 : ::google::protobuf::Message(arena) {
14075 #endif // PROTOBUF_CUSTOM_VTABLE
14076 FeatureSetDefaults* const _this = this;
14077 (void)_this;
14078 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
14079 from._internal_metadata_);
14080 new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
14081 ::memcpy(reinterpret_cast<char *>(&_impl_) +
14082 offsetof(Impl_, minimum_edition_),
14083 reinterpret_cast<const char *>(&from._impl_) +
14084 offsetof(Impl_, minimum_edition_),
14085 offsetof(Impl_, maximum_edition_) -
14086 offsetof(Impl_, minimum_edition_) +
14087 sizeof(Impl_::maximum_edition_));
14088
14089 // @@protoc_insertion_point(copy_constructor:google.protobuf.FeatureSetDefaults)
14090 }
14091 inline PROTOBUF_NDEBUG_INLINE FeatureSetDefaults::Impl_::Impl_(
14092 ::google::protobuf::internal::InternalVisibility visibility,
14093 ::google::protobuf::Arena* arena)
14094 : _cached_size_{0},
14095 defaults_{visibility, arena} {}
14096
14097 inline void FeatureSetDefaults::SharedCtor(::_pb::Arena* arena) {
14098 new (&_impl_) Impl_(internal_visibility(), arena);
14099 ::memset(reinterpret_cast<char *>(&_impl_) +
14100 offsetof(Impl_, minimum_edition_),
14101 0,
14102 offsetof(Impl_, maximum_edition_) -
14103 offsetof(Impl_, minimum_edition_) +
14104 sizeof(Impl_::maximum_edition_));
14105 }
14106 FeatureSetDefaults::~FeatureSetDefaults() {
14107 // @@protoc_insertion_point(destructor:google.protobuf.FeatureSetDefaults)
14108 SharedDtor(*this);
14109 }
14110 inline void FeatureSetDefaults::SharedDtor(MessageLite& self) {
14111 FeatureSetDefaults& this_ = static_cast<FeatureSetDefaults&>(self);
14112 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
14113 ABSL_DCHECK(this_.GetArena() == nullptr);
14114 this_._impl_.~Impl_();
14115 }
14116
14117 inline void* FeatureSetDefaults::PlacementNew_(const void*, void* mem,
14118 ::google::protobuf::Arena* arena) {
14119 return ::new (mem) FeatureSetDefaults(arena);
14120 }
14121 constexpr auto FeatureSetDefaults::InternalNewImpl_() {
14122 constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({
14123 PROTOBUF_FIELD_OFFSET(FeatureSetDefaults, _impl_.defaults_) +
14124 decltype(FeatureSetDefaults::_impl_.defaults_)::
14125 InternalGetArenaOffset(
14126 ::google::protobuf::Message::internal_visibility()),
14127 });
14128 if (arena_bits.has_value()) {
14129 return ::google::protobuf::internal::MessageCreator::ZeroInit(
14130 sizeof(FeatureSetDefaults), alignof(FeatureSetDefaults), *arena_bits);
14131 } else {
14132 return ::google::protobuf::internal::MessageCreator(&FeatureSetDefaults::PlacementNew_,
14133 sizeof(FeatureSetDefaults),
14134 alignof(FeatureSetDefaults));
14135 }
14136 }
14137 PROTOBUF_CONSTINIT
14138 PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
14139 const ::google::protobuf::internal::ClassDataFull FeatureSetDefaults::_class_data_ = {
14140 ::google::protobuf::internal::ClassData{
14141 &_FeatureSetDefaults_default_instance_._instance,
14142 &_table_.header,
14143 nullptr, // OnDemandRegisterArenaDtor
14144 FeatureSetDefaults::IsInitializedImpl,
14145 &FeatureSetDefaults::MergeImpl,
14146 ::google::protobuf::Message::GetNewImpl<FeatureSetDefaults>(),
14147 #if defined(PROTOBUF_CUSTOM_VTABLE)
14148 &FeatureSetDefaults::SharedDtor,
14149 ::google::protobuf::Message::GetClearImpl<FeatureSetDefaults>(), &FeatureSetDefaults::ByteSizeLong,
14150 &FeatureSetDefaults::_InternalSerialize,
14151 #endif // PROTOBUF_CUSTOM_VTABLE
14152 PROTOBUF_FIELD_OFFSET(FeatureSetDefaults, _impl_._cached_size_),
14153 false,
14154 },
14155 &FeatureSetDefaults::kDescriptorMethods,
14156 &descriptor_table_google_2fprotobuf_2fdescriptor_2eproto,
14157 nullptr, // tracker
14158 };
14159 const ::google::protobuf::internal::ClassData* FeatureSetDefaults::GetClassData() const {
14160 ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_);
14161 ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table);
14162 return _class_data_.base();
14163 }
14164 constexpr ::_pbi::TcParseTable<1, 3, 3, 0, 2> FeatureSetDefaults::_table_ = {
14165 {
14166 PROTOBUF_FIELD_OFFSET(FeatureSetDefaults, _impl_._has_bits_),
14167 0, // no _extensions_
14168 5, 8, // max_field_number, fast_idx_mask
14169 offsetof(decltype(_table_), field_lookup_table),
14170 4294967270, // skipmap
14171 offsetof(decltype(_table_), field_entries),
14172 3, // num_field_entries
14173 3, // num_aux_entries
14174 offsetof(decltype(_table_), aux_entries),
14175 _class_data_.base(),
14176 nullptr, // post_loop_handler
14177 ::_pbi::TcParser::GenericFallback, // fallback
14178 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
14179 ::_pbi::TcParser::GetTable<::google::protobuf::FeatureSetDefaults>(), // to_prefetch
14180 #endif // PROTOBUF_PREFETCH_PARSE_TABLE
14181 }, {{
14182 // optional .google.protobuf.Edition minimum_edition = 4;
14183 {::_pbi::TcParser::FastEvS1,
14184 {32, 0, 1, PROTOBUF_FIELD_OFFSET(FeatureSetDefaults, _impl_.minimum_edition_)}},
14185 // repeated .google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault defaults = 1;
14186 {::_pbi::TcParser::FastMtR1,
14187 {10, 63, 0, PROTOBUF_FIELD_OFFSET(FeatureSetDefaults, _impl_.defaults_)}},
14188 }}, {{
14189 65535, 65535
14190 }}, {{
14191 // repeated .google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault defaults = 1;
14192 {PROTOBUF_FIELD_OFFSET(FeatureSetDefaults, _impl_.defaults_), -1, 0,
14193 (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
14194 // optional .google.protobuf.Edition minimum_edition = 4;
14195 {PROTOBUF_FIELD_OFFSET(FeatureSetDefaults, _impl_.minimum_edition_), _Internal::kHasBitsOffset + 0, 1,
14196 (0 | ::_fl::kFcOptional | ::_fl::kEnum)},
14197 // optional .google.protobuf.Edition maximum_edition = 5;
14198 {PROTOBUF_FIELD_OFFSET(FeatureSetDefaults, _impl_.maximum_edition_), _Internal::kHasBitsOffset + 1, 2,
14199 (0 | ::_fl::kFcOptional | ::_fl::kEnum)},
14200 }}, {{
14201 {::_pbi::TcParser::GetTable<::google::protobuf::FeatureSetDefaults_FeatureSetEditionDefault>()},
14202 {::_pbi::FieldAuxEnumData{}, ::google::protobuf::Edition_internal_data_},
14203 {::_pbi::FieldAuxEnumData{}, ::google::protobuf::Edition_internal_data_},
14204 }}, {{
14205 }},
14206 };
14207
14208 PROTOBUF_NOINLINE void FeatureSetDefaults::Clear() {
14209 // @@protoc_insertion_point(message_clear_start:google.protobuf.FeatureSetDefaults)
14210 ::google::protobuf::internal::TSanWrite(&_impl_);
14211 ::uint32_t cached_has_bits = 0;
14212 // Prevent compiler warnings about cached_has_bits being unused
14213 (void) cached_has_bits;
14214
14215 _impl_.defaults_.Clear();
14216 cached_has_bits = _impl_._has_bits_[0];
14217 if (cached_has_bits & 0x00000003u) {
14218 ::memset(&_impl_.minimum_edition_, 0, static_cast<::size_t>(
14219 reinterpret_cast<char*>(&_impl_.maximum_edition_) -
14220 reinterpret_cast<char*>(&_impl_.minimum_edition_)) + sizeof(_impl_.maximum_edition_));
14221 }
14222 _impl_._has_bits_.Clear();
14223 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
14224 }
14225
14226 #if defined(PROTOBUF_CUSTOM_VTABLE)
14227 ::uint8_t* FeatureSetDefaults::_InternalSerialize(
14228 const MessageLite& base, ::uint8_t* target,
14229 ::google::protobuf::io::EpsCopyOutputStream* stream) {
14230 const FeatureSetDefaults& this_ = static_cast<const FeatureSetDefaults&>(base);
14231 #else // PROTOBUF_CUSTOM_VTABLE
14232 ::uint8_t* FeatureSetDefaults::_InternalSerialize(
14233 ::uint8_t* target,
14234 ::google::protobuf::io::EpsCopyOutputStream* stream) const {
14235 const FeatureSetDefaults& this_ = *this;
14236 #endif // PROTOBUF_CUSTOM_VTABLE
14237 // @@protoc_insertion_point(serialize_to_array_start:google.protobuf.FeatureSetDefaults)
14238 ::uint32_t cached_has_bits = 0;
14239 (void)cached_has_bits;
14240
14241 // repeated .google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault defaults = 1;
14242 for (unsigned i = 0, n = static_cast<unsigned>(
14243 this_._internal_defaults_size());
14244 i < n; i++) {
14245 const auto& repfield = this_._internal_defaults().Get(i);
14246 target =
14247 ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
14248 1, repfield, repfield.GetCachedSize(),
14249 target, stream);
14250 }
14251
14252 cached_has_bits = this_._impl_._has_bits_[0];
14253 // optional .google.protobuf.Edition minimum_edition = 4;
14254 if (cached_has_bits & 0x00000001u) {
14255 target = stream->EnsureSpace(target);
14256 target = ::_pbi::WireFormatLite::WriteEnumToArray(
14257 4, this_._internal_minimum_edition(), target);
14258 }
14259
14260 // optional .google.protobuf.Edition maximum_edition = 5;
14261 if (cached_has_bits & 0x00000002u) {
14262 target = stream->EnsureSpace(target);
14263 target = ::_pbi::WireFormatLite::WriteEnumToArray(
14264 5, this_._internal_maximum_edition(), target);
14265 }
14266
14267 if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
14268 target =
14269 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
14270 this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
14271 }
14272 // @@protoc_insertion_point(serialize_to_array_end:google.protobuf.FeatureSetDefaults)
14273 return target;
14274 }
14275
14276 #if defined(PROTOBUF_CUSTOM_VTABLE)
14277 ::size_t FeatureSetDefaults::ByteSizeLong(const MessageLite& base) {
14278 const FeatureSetDefaults& this_ = static_cast<const FeatureSetDefaults&>(base);
14279 #else // PROTOBUF_CUSTOM_VTABLE
14280 ::size_t FeatureSetDefaults::ByteSizeLong() const {
14281 const FeatureSetDefaults& this_ = *this;
14282 #endif // PROTOBUF_CUSTOM_VTABLE
14283 // @@protoc_insertion_point(message_byte_size_start:google.protobuf.FeatureSetDefaults)
14284 ::size_t total_size = 0;
14285
14286 ::uint32_t cached_has_bits = 0;
14287 // Prevent compiler warnings about cached_has_bits being unused
14288 (void)cached_has_bits;
14289
14290 ::_pbi::Prefetch5LinesFrom7Lines(&this_);
14291 {
14292 // repeated .google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault defaults = 1;
14293 {
14294 total_size += 1UL * this_._internal_defaults_size();
14295 for (const auto& msg : this_._internal_defaults()) {
14296 total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
14297 }
14298 }
14299 }
14300 cached_has_bits = this_._impl_._has_bits_[0];
14301 if (cached_has_bits & 0x00000003u) {
14302 // optional .google.protobuf.Edition minimum_edition = 4;
14303 if (cached_has_bits & 0x00000001u) {
14304 total_size += 1 +
14305 ::_pbi::WireFormatLite::EnumSize(this_._internal_minimum_edition());
14306 }
14307 // optional .google.protobuf.Edition maximum_edition = 5;
14308 if (cached_has_bits & 0x00000002u) {
14309 total_size += 1 +
14310 ::_pbi::WireFormatLite::EnumSize(this_._internal_maximum_edition());
14311 }
14312 }
14313 return this_.MaybeComputeUnknownFieldsSize(total_size,
14314 &this_._impl_._cached_size_);
14315 }
14316
14317 void FeatureSetDefaults::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
14318 auto* const _this = static_cast<FeatureSetDefaults*>(&to_msg);
14319 auto& from = static_cast<const FeatureSetDefaults&>(from_msg);
14320 // @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.FeatureSetDefaults)
14321 ABSL_DCHECK_NE(&from, _this);
14322 ::uint32_t cached_has_bits = 0;
14323 (void) cached_has_bits;
14324
14325 _this->_internal_mutable_defaults()->MergeFrom(
14326 from._internal_defaults());
14327 cached_has_bits = from._impl_._has_bits_[0];
14328 if (cached_has_bits & 0x00000003u) {
14329 if (cached_has_bits & 0x00000001u) {
14330 _this->_impl_.minimum_edition_ = from._impl_.minimum_edition_;
14331 }
14332 if (cached_has_bits & 0x00000002u) {
14333 _this->_impl_.maximum_edition_ = from._impl_.maximum_edition_;
14334 }
14335 }
14336 _this->_impl_._has_bits_[0] |= cached_has_bits;
14337 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
14338 }
14339
14340 void FeatureSetDefaults::CopyFrom(const FeatureSetDefaults& from) {
14341 // @@protoc_insertion_point(class_specific_copy_from_start:google.protobuf.FeatureSetDefaults)
14342 if (&from == this) return;
14343 Clear();
14344 MergeFrom(from);
14345 }
14346
14347 PROTOBUF_NOINLINE bool FeatureSetDefaults::IsInitializedImpl(
14348 const MessageLite& msg) {
14349 auto& this_ = static_cast<const FeatureSetDefaults&>(msg);
14350 if (!::google::protobuf::internal::AllAreInitialized(this_._internal_defaults()))
14351 return false;
14352 return true;
14353 }
14354
14355 void FeatureSetDefaults::InternalSwap(FeatureSetDefaults* PROTOBUF_RESTRICT other) {
14356 using std::swap;
14357 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
14358 swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
14359 _impl_.defaults_.InternalSwap(&other->_impl_.defaults_);
14360 ::google::protobuf::internal::memswap<
14361 PROTOBUF_FIELD_OFFSET(FeatureSetDefaults, _impl_.maximum_edition_)
14362 + sizeof(FeatureSetDefaults::_impl_.maximum_edition_)
14363 - PROTOBUF_FIELD_OFFSET(FeatureSetDefaults, _impl_.minimum_edition_)>(
14364 reinterpret_cast<char*>(&_impl_.minimum_edition_),
14365 reinterpret_cast<char*>(&other->_impl_.minimum_edition_));
14366 }
14367
14368 ::google::protobuf::Metadata FeatureSetDefaults::GetMetadata() const {
14369 return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
14370 }
14371 // ===================================================================
14372
14373 class SourceCodeInfo_Location::_Internal {
14374 public:
14375 using HasBits =
14376 decltype(std::declval<SourceCodeInfo_Location>()._impl_._has_bits_);
14377 static constexpr ::int32_t kHasBitsOffset =
14378 8 * PROTOBUF_FIELD_OFFSET(SourceCodeInfo_Location, _impl_._has_bits_);
14379 };
14380
14381 SourceCodeInfo_Location::SourceCodeInfo_Location(::google::protobuf::Arena* arena)
14382 #if defined(PROTOBUF_CUSTOM_VTABLE)
14383 : ::google::protobuf::Message(arena, _class_data_.base()) {
14384 #else // PROTOBUF_CUSTOM_VTABLE
14385 : ::google::protobuf::Message(arena) {
14386 #endif // PROTOBUF_CUSTOM_VTABLE
14387 SharedCtor(arena);
14388 // @@protoc_insertion_point(arena_constructor:google.protobuf.SourceCodeInfo.Location)
14389 }
14390 inline PROTOBUF_NDEBUG_INLINE SourceCodeInfo_Location::Impl_::Impl_(
14391 ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena,
14392 const Impl_& from, const ::google::protobuf::SourceCodeInfo_Location& from_msg)
14393 : _has_bits_{from._has_bits_},
14394 _cached_size_{0},
14395 path_{visibility, arena, from.path_},
14396 _path_cached_byte_size_{0},
14397 span_{visibility, arena, from.span_},
14398 _span_cached_byte_size_{0},
14399 leading_detached_comments_{visibility, arena, from.leading_detached_comments_},
14400 leading_comments_(arena, from.leading_comments_),
14401 trailing_comments_(arena, from.trailing_comments_) {}
14402
14403 SourceCodeInfo_Location::SourceCodeInfo_Location(
14404 ::google::protobuf::Arena* arena,
14405 const SourceCodeInfo_Location& from)
14406 #if defined(PROTOBUF_CUSTOM_VTABLE)
14407 : ::google::protobuf::Message(arena, _class_data_.base()) {
14408 #else // PROTOBUF_CUSTOM_VTABLE
14409 : ::google::protobuf::Message(arena) {
14410 #endif // PROTOBUF_CUSTOM_VTABLE
14411 SourceCodeInfo_Location* const _this = this;
14412 (void)_this;
14413 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
14414 from._internal_metadata_);
14415 new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
14416
14417 // @@protoc_insertion_point(copy_constructor:google.protobuf.SourceCodeInfo.Location)
14418 }
14419 inline PROTOBUF_NDEBUG_INLINE SourceCodeInfo_Location::Impl_::Impl_(
14420 ::google::protobuf::internal::InternalVisibility visibility,
14421 ::google::protobuf::Arena* arena)
14422 : _cached_size_{0},
14423 path_{visibility, arena},
14424 _path_cached_byte_size_{0},
14425 span_{visibility, arena},
14426 _span_cached_byte_size_{0},
14427 leading_detached_comments_{visibility, arena},
14428 leading_comments_(arena),
14429 trailing_comments_(arena) {}
14430
14431 inline void SourceCodeInfo_Location::SharedCtor(::_pb::Arena* arena) {
14432 new (&_impl_) Impl_(internal_visibility(), arena);
14433 }
14434 SourceCodeInfo_Location::~SourceCodeInfo_Location() {
14435 // @@protoc_insertion_point(destructor:google.protobuf.SourceCodeInfo.Location)
14436 SharedDtor(*this);
14437 }
14438 inline void SourceCodeInfo_Location::SharedDtor(MessageLite& self) {
14439 SourceCodeInfo_Location& this_ = static_cast<SourceCodeInfo_Location&>(self);
14440 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
14441 ABSL_DCHECK(this_.GetArena() == nullptr);
14442 this_._impl_.leading_comments_.Destroy();
14443 this_._impl_.trailing_comments_.Destroy();
14444 this_._impl_.~Impl_();
14445 }
14446
14447 inline void* SourceCodeInfo_Location::PlacementNew_(const void*, void* mem,
14448 ::google::protobuf::Arena* arena) {
14449 return ::new (mem) SourceCodeInfo_Location(arena);
14450 }
14451 constexpr auto SourceCodeInfo_Location::InternalNewImpl_() {
14452 constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({
14453 PROTOBUF_FIELD_OFFSET(SourceCodeInfo_Location, _impl_.path_) +
14454 decltype(SourceCodeInfo_Location::_impl_.path_)::
14455 InternalGetArenaOffset(
14456 ::google::protobuf::Message::internal_visibility()),
14457 PROTOBUF_FIELD_OFFSET(SourceCodeInfo_Location, _impl_.span_) +
14458 decltype(SourceCodeInfo_Location::_impl_.span_)::
14459 InternalGetArenaOffset(
14460 ::google::protobuf::Message::internal_visibility()),
14461 PROTOBUF_FIELD_OFFSET(SourceCodeInfo_Location, _impl_.leading_detached_comments_) +
14462 decltype(SourceCodeInfo_Location::_impl_.leading_detached_comments_)::
14463 InternalGetArenaOffset(
14464 ::google::protobuf::Message::internal_visibility()),
14465 });
14466 if (arena_bits.has_value()) {
14467 return ::google::protobuf::internal::MessageCreator::CopyInit(
14468 sizeof(SourceCodeInfo_Location), alignof(SourceCodeInfo_Location), *arena_bits);
14469 } else {
14470 return ::google::protobuf::internal::MessageCreator(&SourceCodeInfo_Location::PlacementNew_,
14471 sizeof(SourceCodeInfo_Location),
14472 alignof(SourceCodeInfo_Location));
14473 }
14474 }
14475 PROTOBUF_CONSTINIT
14476 PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
14477 const ::google::protobuf::internal::ClassDataFull SourceCodeInfo_Location::_class_data_ = {
14478 ::google::protobuf::internal::ClassData{
14479 &_SourceCodeInfo_Location_default_instance_._instance,
14480 &_table_.header,
14481 nullptr, // OnDemandRegisterArenaDtor
14482 nullptr, // IsInitialized
14483 &SourceCodeInfo_Location::MergeImpl,
14484 ::google::protobuf::Message::GetNewImpl<SourceCodeInfo_Location>(),
14485 #if defined(PROTOBUF_CUSTOM_VTABLE)
14486 &SourceCodeInfo_Location::SharedDtor,
14487 ::google::protobuf::Message::GetClearImpl<SourceCodeInfo_Location>(), &SourceCodeInfo_Location::ByteSizeLong,
14488 &SourceCodeInfo_Location::_InternalSerialize,
14489 #endif // PROTOBUF_CUSTOM_VTABLE
14490 PROTOBUF_FIELD_OFFSET(SourceCodeInfo_Location, _impl_._cached_size_),
14491 false,
14492 },
14493 &SourceCodeInfo_Location::kDescriptorMethods,
14494 &descriptor_table_google_2fprotobuf_2fdescriptor_2eproto,
14495 nullptr, // tracker
14496 };
14497 const ::google::protobuf::internal::ClassData* SourceCodeInfo_Location::GetClassData() const {
14498 ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_);
14499 ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table);
14500 return _class_data_.base();
14501 }
14502 constexpr ::_pbi::TcParseTable<3, 5, 0, 106, 2> SourceCodeInfo_Location::_table_ = {
14503 {
14504 PROTOBUF_FIELD_OFFSET(SourceCodeInfo_Location, _impl_._has_bits_),
14505 0, // no _extensions_
14506 6, 56, // max_field_number, fast_idx_mask
14507 offsetof(decltype(_table_), field_lookup_table),
14508 4294967248, // skipmap
14509 offsetof(decltype(_table_), field_entries),
14510 5, // num_field_entries
14511 0, // num_aux_entries
14512 offsetof(decltype(_table_), field_names), // no aux_entries
14513 _class_data_.base(),
14514 nullptr, // post_loop_handler
14515 ::_pbi::TcParser::GenericFallback, // fallback
14516 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
14517 ::_pbi::TcParser::GetTable<::google::protobuf::SourceCodeInfo_Location>(), // to_prefetch
14518 #endif // PROTOBUF_PREFETCH_PARSE_TABLE
14519 }, {{
14520 {::_pbi::TcParser::MiniParse, {}},
14521 // repeated int32 path = 1 [packed = true];
14522 {::_pbi::TcParser::FastV32P1,
14523 {10, 63, 0, PROTOBUF_FIELD_OFFSET(SourceCodeInfo_Location, _impl_.path_)}},
14524 // repeated int32 span = 2 [packed = true];
14525 {::_pbi::TcParser::FastV32P1,
14526 {18, 63, 0, PROTOBUF_FIELD_OFFSET(SourceCodeInfo_Location, _impl_.span_)}},
14527 // optional string leading_comments = 3;
14528 {::_pbi::TcParser::FastSS1,
14529 {26, 0, 0, PROTOBUF_FIELD_OFFSET(SourceCodeInfo_Location, _impl_.leading_comments_)}},
14530 // optional string trailing_comments = 4;
14531 {::_pbi::TcParser::FastSS1,
14532 {34, 1, 0, PROTOBUF_FIELD_OFFSET(SourceCodeInfo_Location, _impl_.trailing_comments_)}},
14533 {::_pbi::TcParser::MiniParse, {}},
14534 // repeated string leading_detached_comments = 6;
14535 {::_pbi::TcParser::FastSR1,
14536 {50, 63, 0, PROTOBUF_FIELD_OFFSET(SourceCodeInfo_Location, _impl_.leading_detached_comments_)}},
14537 {::_pbi::TcParser::MiniParse, {}},
14538 }}, {{
14539 65535, 65535
14540 }}, {{
14541 // repeated int32 path = 1 [packed = true];
14542 {PROTOBUF_FIELD_OFFSET(SourceCodeInfo_Location, _impl_.path_), -1, 0,
14543 (0 | ::_fl::kFcRepeated | ::_fl::kPackedInt32)},
14544 // repeated int32 span = 2 [packed = true];
14545 {PROTOBUF_FIELD_OFFSET(SourceCodeInfo_Location, _impl_.span_), -1, 0,
14546 (0 | ::_fl::kFcRepeated | ::_fl::kPackedInt32)},
14547 // optional string leading_comments = 3;
14548 {PROTOBUF_FIELD_OFFSET(SourceCodeInfo_Location, _impl_.leading_comments_), _Internal::kHasBitsOffset + 0, 0,
14549 (0 | ::_fl::kFcOptional | ::_fl::kRawString | ::_fl::kRepAString)},
14550 // optional string trailing_comments = 4;
14551 {PROTOBUF_FIELD_OFFSET(SourceCodeInfo_Location, _impl_.trailing_comments_), _Internal::kHasBitsOffset + 1, 0,
14552 (0 | ::_fl::kFcOptional | ::_fl::kRawString | ::_fl::kRepAString)},
14553 // repeated string leading_detached_comments = 6;
14554 {PROTOBUF_FIELD_OFFSET(SourceCodeInfo_Location, _impl_.leading_detached_comments_), -1, 0,
14555 (0 | ::_fl::kFcRepeated | ::_fl::kRawString | ::_fl::kRepSString)},
14556 }},
14557 // no aux_entries
14558 {{
14559 "\47\0\0\20\21\31\0\0"
14560 "google.protobuf.SourceCodeInfo.Location"
14561 "leading_comments"
14562 "trailing_comments"
14563 "leading_detached_comments"
14564 }},
14565 };
14566
14567 PROTOBUF_NOINLINE void SourceCodeInfo_Location::Clear() {
14568 // @@protoc_insertion_point(message_clear_start:google.protobuf.SourceCodeInfo.Location)
14569 ::google::protobuf::internal::TSanWrite(&_impl_);
14570 ::uint32_t cached_has_bits = 0;
14571 // Prevent compiler warnings about cached_has_bits being unused
14572 (void) cached_has_bits;
14573
14574 _impl_.path_.Clear();
14575 _impl_.span_.Clear();
14576 _impl_.leading_detached_comments_.Clear();
14577 cached_has_bits = _impl_._has_bits_[0];
14578 if (cached_has_bits & 0x00000003u) {
14579 if (cached_has_bits & 0x00000001u) {
14580 _impl_.leading_comments_.ClearNonDefaultToEmpty();
14581 }
14582 if (cached_has_bits & 0x00000002u) {
14583 _impl_.trailing_comments_.ClearNonDefaultToEmpty();
14584 }
14585 }
14586 _impl_._has_bits_.Clear();
14587 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
14588 }
14589
14590 #if defined(PROTOBUF_CUSTOM_VTABLE)
14591 ::uint8_t* SourceCodeInfo_Location::_InternalSerialize(
14592 const MessageLite& base, ::uint8_t* target,
14593 ::google::protobuf::io::EpsCopyOutputStream* stream) {
14594 const SourceCodeInfo_Location& this_ = static_cast<const SourceCodeInfo_Location&>(base);
14595 #else // PROTOBUF_CUSTOM_VTABLE
14596 ::uint8_t* SourceCodeInfo_Location::_InternalSerialize(
14597 ::uint8_t* target,
14598 ::google::protobuf::io::EpsCopyOutputStream* stream) const {
14599 const SourceCodeInfo_Location& this_ = *this;
14600 #endif // PROTOBUF_CUSTOM_VTABLE
14601 // @@protoc_insertion_point(serialize_to_array_start:google.protobuf.SourceCodeInfo.Location)
14602 ::uint32_t cached_has_bits = 0;
14603 (void)cached_has_bits;
14604
14605 // repeated int32 path = 1 [packed = true];
14606 {
14607 int byte_size = this_._impl_._path_cached_byte_size_.Get();
14608 if (byte_size > 0) {
14609 target = stream->WriteInt32Packed(
14610 1, this_._internal_path(), byte_size, target);
14611 }
14612 }
14613
14614 // repeated int32 span = 2 [packed = true];
14615 {
14616 int byte_size = this_._impl_._span_cached_byte_size_.Get();
14617 if (byte_size > 0) {
14618 target = stream->WriteInt32Packed(
14619 2, this_._internal_span(), byte_size, target);
14620 }
14621 }
14622
14623 cached_has_bits = this_._impl_._has_bits_[0];
14624 // optional string leading_comments = 3;
14625 if (cached_has_bits & 0x00000001u) {
14626 const std::string& _s = this_._internal_leading_comments();
14627 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(_s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormat::SERIALIZE,
14628 "google.protobuf.SourceCodeInfo.Location.leading_comments");
14629 target = stream->WriteStringMaybeAliased(3, _s, target);
14630 }
14631
14632 // optional string trailing_comments = 4;
14633 if (cached_has_bits & 0x00000002u) {
14634 const std::string& _s = this_._internal_trailing_comments();
14635 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(_s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormat::SERIALIZE,
14636 "google.protobuf.SourceCodeInfo.Location.trailing_comments");
14637 target = stream->WriteStringMaybeAliased(4, _s, target);
14638 }
14639
14640 // repeated string leading_detached_comments = 6;
14641 for (int i = 0, n = this_._internal_leading_detached_comments_size(); i < n; ++i) {
14642 const auto& s = this_._internal_leading_detached_comments().Get(i);
14643 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(s.data(), static_cast<int>(s.length()), ::google::protobuf::internal::WireFormat::SERIALIZE,
14644 "google.protobuf.SourceCodeInfo.Location.leading_detached_comments");
14645 target = stream->WriteString(6, s, target);
14646 }
14647
14648 if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
14649 target =
14650 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
14651 this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
14652 }
14653 // @@protoc_insertion_point(serialize_to_array_end:google.protobuf.SourceCodeInfo.Location)
14654 return target;
14655 }
14656
14657 #if defined(PROTOBUF_CUSTOM_VTABLE)
14658 ::size_t SourceCodeInfo_Location::ByteSizeLong(const MessageLite& base) {
14659 const SourceCodeInfo_Location& this_ = static_cast<const SourceCodeInfo_Location&>(base);
14660 #else // PROTOBUF_CUSTOM_VTABLE
14661 ::size_t SourceCodeInfo_Location::ByteSizeLong() const {
14662 const SourceCodeInfo_Location& this_ = *this;
14663 #endif // PROTOBUF_CUSTOM_VTABLE
14664 // @@protoc_insertion_point(message_byte_size_start:google.protobuf.SourceCodeInfo.Location)
14665 ::size_t total_size = 0;
14666
14667 ::uint32_t cached_has_bits = 0;
14668 // Prevent compiler warnings about cached_has_bits being unused
14669 (void)cached_has_bits;
14670
14671 ::_pbi::Prefetch5LinesFrom7Lines(&this_);
14672 {
14673 // repeated int32 path = 1 [packed = true];
14674 {
14675 total_size +=
14676 ::_pbi::WireFormatLite::Int32SizeWithPackedTagSize(
14677 this_._internal_path(), 1,
14678 this_._impl_._path_cached_byte_size_);
14679 }
14680 // repeated int32 span = 2 [packed = true];
14681 {
14682 total_size +=
14683 ::_pbi::WireFormatLite::Int32SizeWithPackedTagSize(
14684 this_._internal_span(), 1,
14685 this_._impl_._span_cached_byte_size_);
14686 }
14687 // repeated string leading_detached_comments = 6;
14688 {
14689 total_size +=
14690 1 * ::google::protobuf::internal::FromIntSize(this_._internal_leading_detached_comments().size());
14691 for (int i = 0, n = this_._internal_leading_detached_comments().size(); i < n; ++i) {
14692 total_size += ::google::protobuf::internal::WireFormatLite::StringSize(
14693 this_._internal_leading_detached_comments().Get(i));
14694 }
14695 }
14696 }
14697 cached_has_bits = this_._impl_._has_bits_[0];
14698 if (cached_has_bits & 0x00000003u) {
14699 // optional string leading_comments = 3;
14700 if (cached_has_bits & 0x00000001u) {
14701 total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
14702 this_._internal_leading_comments());
14703 }
14704 // optional string trailing_comments = 4;
14705 if (cached_has_bits & 0x00000002u) {
14706 total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
14707 this_._internal_trailing_comments());
14708 }
14709 }
14710 return this_.MaybeComputeUnknownFieldsSize(total_size,
14711 &this_._impl_._cached_size_);
14712 }
14713
14714 void SourceCodeInfo_Location::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
14715 auto* const _this = static_cast<SourceCodeInfo_Location*>(&to_msg);
14716 auto& from = static_cast<const SourceCodeInfo_Location&>(from_msg);
14717 // @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.SourceCodeInfo.Location)
14718 ABSL_DCHECK_NE(&from, _this);
14719 ::uint32_t cached_has_bits = 0;
14720 (void) cached_has_bits;
14721
14722 _this->_internal_mutable_path()->MergeFrom(from._internal_path());
14723 _this->_internal_mutable_span()->MergeFrom(from._internal_span());
14724 _this->_internal_mutable_leading_detached_comments()->MergeFrom(from._internal_leading_detached_comments());
14725 cached_has_bits = from._impl_._has_bits_[0];
14726 if (cached_has_bits & 0x00000003u) {
14727 if (cached_has_bits & 0x00000001u) {
14728 _this->_internal_set_leading_comments(from._internal_leading_comments());
14729 }
14730 if (cached_has_bits & 0x00000002u) {
14731 _this->_internal_set_trailing_comments(from._internal_trailing_comments());
14732 }
14733 }
14734 _this->_impl_._has_bits_[0] |= cached_has_bits;
14735 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
14736 }
14737
14738 void SourceCodeInfo_Location::CopyFrom(const SourceCodeInfo_Location& from) {
14739 // @@protoc_insertion_point(class_specific_copy_from_start:google.protobuf.SourceCodeInfo.Location)
14740 if (&from == this) return;
14741 Clear();
14742 MergeFrom(from);
14743 }
14744
14745
14746 void SourceCodeInfo_Location::InternalSwap(SourceCodeInfo_Location* PROTOBUF_RESTRICT other) {
14747 using std::swap;
14748 auto* arena = GetArena();
14749 ABSL_DCHECK_EQ(arena, other->GetArena());
14750 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
14751 swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
14752 _impl_.path_.InternalSwap(&other->_impl_.path_);
14753 _impl_.span_.InternalSwap(&other->_impl_.span_);
14754 _impl_.leading_detached_comments_.InternalSwap(&other->_impl_.leading_detached_comments_);
14755 ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.leading_comments_, &other->_impl_.leading_comments_, arena);
14756 ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.trailing_comments_, &other->_impl_.trailing_comments_, arena);
14757 }
14758
14759 ::google::protobuf::Metadata SourceCodeInfo_Location::GetMetadata() const {
14760 return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
14761 }
14762 // ===================================================================
14763
14764 class SourceCodeInfo::_Internal {
14765 public:
14766 };
14767
14768 SourceCodeInfo::SourceCodeInfo(::google::protobuf::Arena* arena)
14769 #if defined(PROTOBUF_CUSTOM_VTABLE)
14770 : ::google::protobuf::Message(arena, _class_data_.base()) {
14771 #else // PROTOBUF_CUSTOM_VTABLE
14772 : ::google::protobuf::Message(arena) {
14773 #endif // PROTOBUF_CUSTOM_VTABLE
14774 SharedCtor(arena);
14775 // @@protoc_insertion_point(arena_constructor:google.protobuf.SourceCodeInfo)
14776 }
14777 inline PROTOBUF_NDEBUG_INLINE SourceCodeInfo::Impl_::Impl_(
14778 ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena,
14779 const Impl_& from, const ::google::protobuf::SourceCodeInfo& from_msg)
14780 : _extensions_{visibility, arena},
14781 location_{visibility, arena, from.location_},
14782 _cached_size_{0} {}
14783
14784 SourceCodeInfo::SourceCodeInfo(
14785 ::google::protobuf::Arena* arena,
14786 const SourceCodeInfo& from)
14787 #if defined(PROTOBUF_CUSTOM_VTABLE)
14788 : ::google::protobuf::Message(arena, _class_data_.base()) {
14789 #else // PROTOBUF_CUSTOM_VTABLE
14790 : ::google::protobuf::Message(arena) {
14791 #endif // PROTOBUF_CUSTOM_VTABLE
14792 SourceCodeInfo* const _this = this;
14793 (void)_this;
14794 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
14795 from._internal_metadata_);
14796 new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
14797 _impl_._extensions_.MergeFrom(this, from._impl_._extensions_);
14798
14799 // @@protoc_insertion_point(copy_constructor:google.protobuf.SourceCodeInfo)
14800 }
14801 inline PROTOBUF_NDEBUG_INLINE SourceCodeInfo::Impl_::Impl_(
14802 ::google::protobuf::internal::InternalVisibility visibility,
14803 ::google::protobuf::Arena* arena)
14804 : _extensions_{visibility, arena},
14805 location_{visibility, arena},
14806 _cached_size_{0} {}
14807
14808 inline void SourceCodeInfo::SharedCtor(::_pb::Arena* arena) {
14809 new (&_impl_) Impl_(internal_visibility(), arena);
14810 }
14811 SourceCodeInfo::~SourceCodeInfo() {
14812 // @@protoc_insertion_point(destructor:google.protobuf.SourceCodeInfo)
14813 SharedDtor(*this);
14814 }
14815 inline void SourceCodeInfo::SharedDtor(MessageLite& self) {
14816 SourceCodeInfo& this_ = static_cast<SourceCodeInfo&>(self);
14817 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
14818 ABSL_DCHECK(this_.GetArena() == nullptr);
14819 this_._impl_.~Impl_();
14820 }
14821
14822 inline void* SourceCodeInfo::PlacementNew_(const void*, void* mem,
14823 ::google::protobuf::Arena* arena) {
14824 return ::new (mem) SourceCodeInfo(arena);
14825 }
14826 constexpr auto SourceCodeInfo::InternalNewImpl_() {
14827 constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({
14828 PROTOBUF_FIELD_OFFSET(SourceCodeInfo, _impl_._extensions_) +
14829 decltype(SourceCodeInfo::_impl_._extensions_)::InternalGetArenaOffset(
14830 ::google::protobuf::Message::internal_visibility()),
14831 PROTOBUF_FIELD_OFFSET(SourceCodeInfo, _impl_.location_) +
14832 decltype(SourceCodeInfo::_impl_.location_)::
14833 InternalGetArenaOffset(
14834 ::google::protobuf::Message::internal_visibility()),
14835 });
14836 if (arena_bits.has_value()) {
14837 return ::google::protobuf::internal::MessageCreator::ZeroInit(
14838 sizeof(SourceCodeInfo), alignof(SourceCodeInfo), *arena_bits);
14839 } else {
14840 return ::google::protobuf::internal::MessageCreator(&SourceCodeInfo::PlacementNew_,
14841 sizeof(SourceCodeInfo),
14842 alignof(SourceCodeInfo));
14843 }
14844 }
14845 PROTOBUF_CONSTINIT
14846 PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
14847 const ::google::protobuf::internal::ClassDataFull SourceCodeInfo::_class_data_ = {
14848 ::google::protobuf::internal::ClassData{
14849 &_SourceCodeInfo_default_instance_._instance,
14850 &_table_.header,
14851 nullptr, // OnDemandRegisterArenaDtor
14852 SourceCodeInfo::IsInitializedImpl,
14853 &SourceCodeInfo::MergeImpl,
14854 ::google::protobuf::Message::GetNewImpl<SourceCodeInfo>(),
14855 #if defined(PROTOBUF_CUSTOM_VTABLE)
14856 &SourceCodeInfo::SharedDtor,
14857 ::google::protobuf::Message::GetClearImpl<SourceCodeInfo>(), &SourceCodeInfo::ByteSizeLong,
14858 &SourceCodeInfo::_InternalSerialize,
14859 #endif // PROTOBUF_CUSTOM_VTABLE
14860 PROTOBUF_FIELD_OFFSET(SourceCodeInfo, _impl_._cached_size_),
14861 false,
14862 },
14863 &SourceCodeInfo::kDescriptorMethods,
14864 &descriptor_table_google_2fprotobuf_2fdescriptor_2eproto,
14865 nullptr, // tracker
14866 };
14867 const ::google::protobuf::internal::ClassData* SourceCodeInfo::GetClassData() const {
14868 ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_);
14869 ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table);
14870 return _class_data_.base();
14871 }
14872 constexpr ::_pbi::TcParseTable<0, 1, 1, 0, 2> SourceCodeInfo::_table_ = {
14873 {
14874 0, // no _has_bits_
14875 PROTOBUF_FIELD_OFFSET(SourceCodeInfo, _impl_._extensions_),
14876 1, 0, // max_field_number, fast_idx_mask
14877 offsetof(decltype(_table_), field_lookup_table),
14878 4294967294, // skipmap
14879 offsetof(decltype(_table_), field_entries),
14880 1, // num_field_entries
14881 1, // num_aux_entries
14882 offsetof(decltype(_table_), aux_entries),
14883 _class_data_.base(),
14884 nullptr, // post_loop_handler
14885 ::_pbi::TcParser::GenericFallback, // fallback
14886 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
14887 ::_pbi::TcParser::GetTable<::google::protobuf::SourceCodeInfo>(), // to_prefetch
14888 #endif // PROTOBUF_PREFETCH_PARSE_TABLE
14889 }, {{
14890 // repeated .google.protobuf.SourceCodeInfo.Location location = 1;
14891 {::_pbi::TcParser::FastMtR1,
14892 {10, 63, 0, PROTOBUF_FIELD_OFFSET(SourceCodeInfo, _impl_.location_)}},
14893 }}, {{
14894 65535, 65535
14895 }}, {{
14896 // repeated .google.protobuf.SourceCodeInfo.Location location = 1;
14897 {PROTOBUF_FIELD_OFFSET(SourceCodeInfo, _impl_.location_), 0, 0,
14898 (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
14899 }}, {{
14900 {::_pbi::TcParser::GetTable<::google::protobuf::SourceCodeInfo_Location>()},
14901 }}, {{
14902 }},
14903 };
14904
14905 PROTOBUF_NOINLINE void SourceCodeInfo::Clear() {
14906 // @@protoc_insertion_point(message_clear_start:google.protobuf.SourceCodeInfo)
14907 ::google::protobuf::internal::TSanWrite(&_impl_);
14908 ::uint32_t cached_has_bits = 0;
14909 // Prevent compiler warnings about cached_has_bits being unused
14910 (void) cached_has_bits;
14911
14912 _impl_._extensions_.Clear();
14913 _impl_.location_.Clear();
14914 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
14915 }
14916
14917 #if defined(PROTOBUF_CUSTOM_VTABLE)
14918 ::uint8_t* SourceCodeInfo::_InternalSerialize(
14919 const MessageLite& base, ::uint8_t* target,
14920 ::google::protobuf::io::EpsCopyOutputStream* stream) {
14921 const SourceCodeInfo& this_ = static_cast<const SourceCodeInfo&>(base);
14922 #else // PROTOBUF_CUSTOM_VTABLE
14923 ::uint8_t* SourceCodeInfo::_InternalSerialize(
14924 ::uint8_t* target,
14925 ::google::protobuf::io::EpsCopyOutputStream* stream) const {
14926 const SourceCodeInfo& this_ = *this;
14927 #endif // PROTOBUF_CUSTOM_VTABLE
14928 // @@protoc_insertion_point(serialize_to_array_start:google.protobuf.SourceCodeInfo)
14929 ::uint32_t cached_has_bits = 0;
14930 (void)cached_has_bits;
14931
14932 // repeated .google.protobuf.SourceCodeInfo.Location location = 1;
14933 for (unsigned i = 0, n = static_cast<unsigned>(
14934 this_._internal_location_size());
14935 i < n; i++) {
14936 const auto& repfield = this_._internal_location().Get(i);
14937 target =
14938 ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
14939 1, repfield, repfield.GetCachedSize(),
14940 target, stream);
14941 }
14942
14943 // Extension range [536000000, 536000001)
14944 target = this_._impl_._extensions_._InternalSerialize(
14945 internal_default_instance(), 536000000, 536000001, target, stream);
14946 if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
14947 target =
14948 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
14949 this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
14950 }
14951 // @@protoc_insertion_point(serialize_to_array_end:google.protobuf.SourceCodeInfo)
14952 return target;
14953 }
14954
14955 #if defined(PROTOBUF_CUSTOM_VTABLE)
14956 ::size_t SourceCodeInfo::ByteSizeLong(const MessageLite& base) {
14957 const SourceCodeInfo& this_ = static_cast<const SourceCodeInfo&>(base);
14958 #else // PROTOBUF_CUSTOM_VTABLE
14959 ::size_t SourceCodeInfo::ByteSizeLong() const {
14960 const SourceCodeInfo& this_ = *this;
14961 #endif // PROTOBUF_CUSTOM_VTABLE
14962 // @@protoc_insertion_point(message_byte_size_start:google.protobuf.SourceCodeInfo)
14963 ::size_t total_size = 0;
14964 total_size += this_._impl_._extensions_.ByteSize();
14965
14966 ::uint32_t cached_has_bits = 0;
14967 // Prevent compiler warnings about cached_has_bits being unused
14968 (void)cached_has_bits;
14969
14970 ::_pbi::Prefetch5LinesFrom7Lines(&this_);
14971 {
14972 // repeated .google.protobuf.SourceCodeInfo.Location location = 1;
14973 {
14974 total_size += 1UL * this_._internal_location_size();
14975 for (const auto& msg : this_._internal_location()) {
14976 total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
14977 }
14978 }
14979 }
14980 return this_.MaybeComputeUnknownFieldsSize(total_size,
14981 &this_._impl_._cached_size_);
14982 }
14983
14984 void SourceCodeInfo::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
14985 auto* const _this = static_cast<SourceCodeInfo*>(&to_msg);
14986 auto& from = static_cast<const SourceCodeInfo&>(from_msg);
14987 // @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.SourceCodeInfo)
14988 ABSL_DCHECK_NE(&from, _this);
14989 ::uint32_t cached_has_bits = 0;
14990 (void) cached_has_bits;
14991
14992 _this->_internal_mutable_location()->MergeFrom(
14993 from._internal_location());
14994 _this->_impl_._extensions_.MergeFrom(internal_default_instance(), from._impl_._extensions_);
14995 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
14996 }
14997
14998 void SourceCodeInfo::CopyFrom(const SourceCodeInfo& from) {
14999 // @@protoc_insertion_point(class_specific_copy_from_start:google.protobuf.SourceCodeInfo)
15000 if (&from == this) return;
15001 Clear();
15002 MergeFrom(from);
15003 }
15004
15005 PROTOBUF_NOINLINE bool SourceCodeInfo::IsInitializedImpl(
15006 const MessageLite& msg) {
15007 auto& this_ = static_cast<const SourceCodeInfo&>(msg);
15008 if (!this_._impl_._extensions_.IsInitialized(
15009 internal_default_instance())) {
15010 return false;
15011 }
15012 return true;
15013 }
15014
15015 void SourceCodeInfo::InternalSwap(SourceCodeInfo* PROTOBUF_RESTRICT other) {
15016 using std::swap;
15017 _impl_._extensions_.InternalSwap(&other->_impl_._extensions_);
15018 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
15019 _impl_.location_.InternalSwap(&other->_impl_.location_);
15020 }
15021
15022 ::google::protobuf::Metadata SourceCodeInfo::GetMetadata() const {
15023 return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
15024 }
15025 // ===================================================================
15026
15027 class GeneratedCodeInfo_Annotation::_Internal {
15028 public:
15029 using HasBits =
15030 decltype(std::declval<GeneratedCodeInfo_Annotation>()._impl_._has_bits_);
15031 static constexpr ::int32_t kHasBitsOffset =
15032 8 * PROTOBUF_FIELD_OFFSET(GeneratedCodeInfo_Annotation, _impl_._has_bits_);
15033 };
15034
15035 GeneratedCodeInfo_Annotation::GeneratedCodeInfo_Annotation(::google::protobuf::Arena* arena)
15036 #if defined(PROTOBUF_CUSTOM_VTABLE)
15037 : ::google::protobuf::Message(arena, _class_data_.base()) {
15038 #else // PROTOBUF_CUSTOM_VTABLE
15039 : ::google::protobuf::Message(arena) {
15040 #endif // PROTOBUF_CUSTOM_VTABLE
15041 SharedCtor(arena);
15042 // @@protoc_insertion_point(arena_constructor:google.protobuf.GeneratedCodeInfo.Annotation)
15043 }
15044 inline PROTOBUF_NDEBUG_INLINE GeneratedCodeInfo_Annotation::Impl_::Impl_(
15045 ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena,
15046 const Impl_& from, const ::google::protobuf::GeneratedCodeInfo_Annotation& from_msg)
15047 : _has_bits_{from._has_bits_},
15048 _cached_size_{0},
15049 path_{visibility, arena, from.path_},
15050 _path_cached_byte_size_{0},
15051 source_file_(arena, from.source_file_) {}
15052
15053 GeneratedCodeInfo_Annotation::GeneratedCodeInfo_Annotation(
15054 ::google::protobuf::Arena* arena,
15055 const GeneratedCodeInfo_Annotation& from)
15056 #if defined(PROTOBUF_CUSTOM_VTABLE)
15057 : ::google::protobuf::Message(arena, _class_data_.base()) {
15058 #else // PROTOBUF_CUSTOM_VTABLE
15059 : ::google::protobuf::Message(arena) {
15060 #endif // PROTOBUF_CUSTOM_VTABLE
15061 GeneratedCodeInfo_Annotation* const _this = this;
15062 (void)_this;
15063 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
15064 from._internal_metadata_);
15065 new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
15066 ::memcpy(reinterpret_cast<char *>(&_impl_) +
15067 offsetof(Impl_, begin_),
15068 reinterpret_cast<const char *>(&from._impl_) +
15069 offsetof(Impl_, begin_),
15070 offsetof(Impl_, semantic_) -
15071 offsetof(Impl_, begin_) +
15072 sizeof(Impl_::semantic_));
15073
15074 // @@protoc_insertion_point(copy_constructor:google.protobuf.GeneratedCodeInfo.Annotation)
15075 }
15076 inline PROTOBUF_NDEBUG_INLINE GeneratedCodeInfo_Annotation::Impl_::Impl_(
15077 ::google::protobuf::internal::InternalVisibility visibility,
15078 ::google::protobuf::Arena* arena)
15079 : _cached_size_{0},
15080 path_{visibility, arena},
15081 _path_cached_byte_size_{0},
15082 source_file_(arena) {}
15083
15084 inline void GeneratedCodeInfo_Annotation::SharedCtor(::_pb::Arena* arena) {
15085 new (&_impl_) Impl_(internal_visibility(), arena);
15086 ::memset(reinterpret_cast<char *>(&_impl_) +
15087 offsetof(Impl_, begin_),
15088 0,
15089 offsetof(Impl_, semantic_) -
15090 offsetof(Impl_, begin_) +
15091 sizeof(Impl_::semantic_));
15092 }
15093 GeneratedCodeInfo_Annotation::~GeneratedCodeInfo_Annotation() {
15094 // @@protoc_insertion_point(destructor:google.protobuf.GeneratedCodeInfo.Annotation)
15095 SharedDtor(*this);
15096 }
15097 inline void GeneratedCodeInfo_Annotation::SharedDtor(MessageLite& self) {
15098 GeneratedCodeInfo_Annotation& this_ = static_cast<GeneratedCodeInfo_Annotation&>(self);
15099 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
15100 ABSL_DCHECK(this_.GetArena() == nullptr);
15101 this_._impl_.source_file_.Destroy();
15102 this_._impl_.~Impl_();
15103 }
15104
15105 inline void* GeneratedCodeInfo_Annotation::PlacementNew_(const void*, void* mem,
15106 ::google::protobuf::Arena* arena) {
15107 return ::new (mem) GeneratedCodeInfo_Annotation(arena);
15108 }
15109 constexpr auto GeneratedCodeInfo_Annotation::InternalNewImpl_() {
15110 constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({
15111 PROTOBUF_FIELD_OFFSET(GeneratedCodeInfo_Annotation, _impl_.path_) +
15112 decltype(GeneratedCodeInfo_Annotation::_impl_.path_)::
15113 InternalGetArenaOffset(
15114 ::google::protobuf::Message::internal_visibility()),
15115 });
15116 if (arena_bits.has_value()) {
15117 return ::google::protobuf::internal::MessageCreator::CopyInit(
15118 sizeof(GeneratedCodeInfo_Annotation), alignof(GeneratedCodeInfo_Annotation), *arena_bits);
15119 } else {
15120 return ::google::protobuf::internal::MessageCreator(&GeneratedCodeInfo_Annotation::PlacementNew_,
15121 sizeof(GeneratedCodeInfo_Annotation),
15122 alignof(GeneratedCodeInfo_Annotation));
15123 }
15124 }
15125 PROTOBUF_CONSTINIT
15126 PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
15127 const ::google::protobuf::internal::ClassDataFull GeneratedCodeInfo_Annotation::_class_data_ = {
15128 ::google::protobuf::internal::ClassData{
15129 &_GeneratedCodeInfo_Annotation_default_instance_._instance,
15130 &_table_.header,
15131 nullptr, // OnDemandRegisterArenaDtor
15132 nullptr, // IsInitialized
15133 &GeneratedCodeInfo_Annotation::MergeImpl,
15134 ::google::protobuf::Message::GetNewImpl<GeneratedCodeInfo_Annotation>(),
15135 #if defined(PROTOBUF_CUSTOM_VTABLE)
15136 &GeneratedCodeInfo_Annotation::SharedDtor,
15137 ::google::protobuf::Message::GetClearImpl<GeneratedCodeInfo_Annotation>(), &GeneratedCodeInfo_Annotation::ByteSizeLong,
15138 &GeneratedCodeInfo_Annotation::_InternalSerialize,
15139 #endif // PROTOBUF_CUSTOM_VTABLE
15140 PROTOBUF_FIELD_OFFSET(GeneratedCodeInfo_Annotation, _impl_._cached_size_),
15141 false,
15142 },
15143 &GeneratedCodeInfo_Annotation::kDescriptorMethods,
15144 &descriptor_table_google_2fprotobuf_2fdescriptor_2eproto,
15145 nullptr, // tracker
15146 };
15147 const ::google::protobuf::internal::ClassData* GeneratedCodeInfo_Annotation::GetClassData() const {
15148 ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_);
15149 ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table);
15150 return _class_data_.base();
15151 }
15152 constexpr ::_pbi::TcParseTable<3, 5, 1, 64, 2> GeneratedCodeInfo_Annotation::_table_ = {
15153 {
15154 PROTOBUF_FIELD_OFFSET(GeneratedCodeInfo_Annotation, _impl_._has_bits_),
15155 0, // no _extensions_
15156 5, 56, // max_field_number, fast_idx_mask
15157 offsetof(decltype(_table_), field_lookup_table),
15158 4294967264, // skipmap
15159 offsetof(decltype(_table_), field_entries),
15160 5, // num_field_entries
15161 1, // num_aux_entries
15162 offsetof(decltype(_table_), aux_entries),
15163 _class_data_.base(),
15164 nullptr, // post_loop_handler
15165 ::_pbi::TcParser::GenericFallback, // fallback
15166 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
15167 ::_pbi::TcParser::GetTable<::google::protobuf::GeneratedCodeInfo_Annotation>(), // to_prefetch
15168 #endif // PROTOBUF_PREFETCH_PARSE_TABLE
15169 }, {{
15170 {::_pbi::TcParser::MiniParse, {}},
15171 // repeated int32 path = 1 [packed = true];
15172 {::_pbi::TcParser::FastV32P1,
15173 {10, 63, 0, PROTOBUF_FIELD_OFFSET(GeneratedCodeInfo_Annotation, _impl_.path_)}},
15174 // optional string source_file = 2;
15175 {::_pbi::TcParser::FastSS1,
15176 {18, 0, 0, PROTOBUF_FIELD_OFFSET(GeneratedCodeInfo_Annotation, _impl_.source_file_)}},
15177 // optional int32 begin = 3;
15178 {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(GeneratedCodeInfo_Annotation, _impl_.begin_), 1>(),
15179 {24, 1, 0, PROTOBUF_FIELD_OFFSET(GeneratedCodeInfo_Annotation, _impl_.begin_)}},
15180 // optional int32 end = 4;
15181 {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(GeneratedCodeInfo_Annotation, _impl_.end_), 2>(),
15182 {32, 2, 0, PROTOBUF_FIELD_OFFSET(GeneratedCodeInfo_Annotation, _impl_.end_)}},
15183 // optional .google.protobuf.GeneratedCodeInfo.Annotation.Semantic semantic = 5;
15184 {::_pbi::TcParser::FastEr0S1,
15185 {40, 3, 2, PROTOBUF_FIELD_OFFSET(GeneratedCodeInfo_Annotation, _impl_.semantic_)}},
15186 {::_pbi::TcParser::MiniParse, {}},
15187 {::_pbi::TcParser::MiniParse, {}},
15188 }}, {{
15189 65535, 65535
15190 }}, {{
15191 // repeated int32 path = 1 [packed = true];
15192 {PROTOBUF_FIELD_OFFSET(GeneratedCodeInfo_Annotation, _impl_.path_), -1, 0,
15193 (0 | ::_fl::kFcRepeated | ::_fl::kPackedInt32)},
15194 // optional string source_file = 2;
15195 {PROTOBUF_FIELD_OFFSET(GeneratedCodeInfo_Annotation, _impl_.source_file_), _Internal::kHasBitsOffset + 0, 0,
15196 (0 | ::_fl::kFcOptional | ::_fl::kRawString | ::_fl::kRepAString)},
15197 // optional int32 begin = 3;
15198 {PROTOBUF_FIELD_OFFSET(GeneratedCodeInfo_Annotation, _impl_.begin_), _Internal::kHasBitsOffset + 1, 0,
15199 (0 | ::_fl::kFcOptional | ::_fl::kInt32)},
15200 // optional int32 end = 4;
15201 {PROTOBUF_FIELD_OFFSET(GeneratedCodeInfo_Annotation, _impl_.end_), _Internal::kHasBitsOffset + 2, 0,
15202 (0 | ::_fl::kFcOptional | ::_fl::kInt32)},
15203 // optional .google.protobuf.GeneratedCodeInfo.Annotation.Semantic semantic = 5;
15204 {PROTOBUF_FIELD_OFFSET(GeneratedCodeInfo_Annotation, _impl_.semantic_), _Internal::kHasBitsOffset + 3, 0,
15205 (0 | ::_fl::kFcOptional | ::_fl::kEnumRange)},
15206 }}, {{
15207 {0, 3},
15208 }}, {{
15209 "\54\0\13\0\0\0\0\0"
15210 "google.protobuf.GeneratedCodeInfo.Annotation"
15211 "source_file"
15212 }},
15213 };
15214
15215 PROTOBUF_NOINLINE void GeneratedCodeInfo_Annotation::Clear() {
15216 // @@protoc_insertion_point(message_clear_start:google.protobuf.GeneratedCodeInfo.Annotation)
15217 ::google::protobuf::internal::TSanWrite(&_impl_);
15218 ::uint32_t cached_has_bits = 0;
15219 // Prevent compiler warnings about cached_has_bits being unused
15220 (void) cached_has_bits;
15221
15222 _impl_.path_.Clear();
15223 cached_has_bits = _impl_._has_bits_[0];
15224 if (cached_has_bits & 0x00000001u) {
15225 _impl_.source_file_.ClearNonDefaultToEmpty();
15226 }
15227 if (cached_has_bits & 0x0000000eu) {
15228 ::memset(&_impl_.begin_, 0, static_cast<::size_t>(
15229 reinterpret_cast<char*>(&_impl_.semantic_) -
15230 reinterpret_cast<char*>(&_impl_.begin_)) + sizeof(_impl_.semantic_));
15231 }
15232 _impl_._has_bits_.Clear();
15233 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
15234 }
15235
15236 #if defined(PROTOBUF_CUSTOM_VTABLE)
15237 ::uint8_t* GeneratedCodeInfo_Annotation::_InternalSerialize(
15238 const MessageLite& base, ::uint8_t* target,
15239 ::google::protobuf::io::EpsCopyOutputStream* stream) {
15240 const GeneratedCodeInfo_Annotation& this_ = static_cast<const GeneratedCodeInfo_Annotation&>(base);
15241 #else // PROTOBUF_CUSTOM_VTABLE
15242 ::uint8_t* GeneratedCodeInfo_Annotation::_InternalSerialize(
15243 ::uint8_t* target,
15244 ::google::protobuf::io::EpsCopyOutputStream* stream) const {
15245 const GeneratedCodeInfo_Annotation& this_ = *this;
15246 #endif // PROTOBUF_CUSTOM_VTABLE
15247 // @@protoc_insertion_point(serialize_to_array_start:google.protobuf.GeneratedCodeInfo.Annotation)
15248 ::uint32_t cached_has_bits = 0;
15249 (void)cached_has_bits;
15250
15251 // repeated int32 path = 1 [packed = true];
15252 {
15253 int byte_size = this_._impl_._path_cached_byte_size_.Get();
15254 if (byte_size > 0) {
15255 target = stream->WriteInt32Packed(
15256 1, this_._internal_path(), byte_size, target);
15257 }
15258 }
15259
15260 cached_has_bits = this_._impl_._has_bits_[0];
15261 // optional string source_file = 2;
15262 if (cached_has_bits & 0x00000001u) {
15263 const std::string& _s = this_._internal_source_file();
15264 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(_s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormat::SERIALIZE,
15265 "google.protobuf.GeneratedCodeInfo.Annotation.source_file");
15266 target = stream->WriteStringMaybeAliased(2, _s, target);
15267 }
15268
15269 // optional int32 begin = 3;
15270 if (cached_has_bits & 0x00000002u) {
15271 target = ::google::protobuf::internal::WireFormatLite::
15272 WriteInt32ToArrayWithField<3>(
15273 stream, this_._internal_begin(), target);
15274 }
15275
15276 // optional int32 end = 4;
15277 if (cached_has_bits & 0x00000004u) {
15278 target = ::google::protobuf::internal::WireFormatLite::
15279 WriteInt32ToArrayWithField<4>(
15280 stream, this_._internal_end(), target);
15281 }
15282
15283 // optional .google.protobuf.GeneratedCodeInfo.Annotation.Semantic semantic = 5;
15284 if (cached_has_bits & 0x00000008u) {
15285 target = stream->EnsureSpace(target);
15286 target = ::_pbi::WireFormatLite::WriteEnumToArray(
15287 5, this_._internal_semantic(), target);
15288 }
15289
15290 if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
15291 target =
15292 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
15293 this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
15294 }
15295 // @@protoc_insertion_point(serialize_to_array_end:google.protobuf.GeneratedCodeInfo.Annotation)
15296 return target;
15297 }
15298
15299 #if defined(PROTOBUF_CUSTOM_VTABLE)
15300 ::size_t GeneratedCodeInfo_Annotation::ByteSizeLong(const MessageLite& base) {
15301 const GeneratedCodeInfo_Annotation& this_ = static_cast<const GeneratedCodeInfo_Annotation&>(base);
15302 #else // PROTOBUF_CUSTOM_VTABLE
15303 ::size_t GeneratedCodeInfo_Annotation::ByteSizeLong() const {
15304 const GeneratedCodeInfo_Annotation& this_ = *this;
15305 #endif // PROTOBUF_CUSTOM_VTABLE
15306 // @@protoc_insertion_point(message_byte_size_start:google.protobuf.GeneratedCodeInfo.Annotation)
15307 ::size_t total_size = 0;
15308
15309 ::uint32_t cached_has_bits = 0;
15310 // Prevent compiler warnings about cached_has_bits being unused
15311 (void)cached_has_bits;
15312
15313 ::_pbi::Prefetch5LinesFrom7Lines(&this_);
15314 {
15315 // repeated int32 path = 1 [packed = true];
15316 {
15317 total_size +=
15318 ::_pbi::WireFormatLite::Int32SizeWithPackedTagSize(
15319 this_._internal_path(), 1,
15320 this_._impl_._path_cached_byte_size_);
15321 }
15322 }
15323 cached_has_bits = this_._impl_._has_bits_[0];
15324 if (cached_has_bits & 0x0000000fu) {
15325 // optional string source_file = 2;
15326 if (cached_has_bits & 0x00000001u) {
15327 total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
15328 this_._internal_source_file());
15329 }
15330 // optional int32 begin = 3;
15331 if (cached_has_bits & 0x00000002u) {
15332 total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
15333 this_._internal_begin());
15334 }
15335 // optional int32 end = 4;
15336 if (cached_has_bits & 0x00000004u) {
15337 total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
15338 this_._internal_end());
15339 }
15340 // optional .google.protobuf.GeneratedCodeInfo.Annotation.Semantic semantic = 5;
15341 if (cached_has_bits & 0x00000008u) {
15342 total_size += 1 +
15343 ::_pbi::WireFormatLite::EnumSize(this_._internal_semantic());
15344 }
15345 }
15346 return this_.MaybeComputeUnknownFieldsSize(total_size,
15347 &this_._impl_._cached_size_);
15348 }
15349
15350 void GeneratedCodeInfo_Annotation::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
15351 auto* const _this = static_cast<GeneratedCodeInfo_Annotation*>(&to_msg);
15352 auto& from = static_cast<const GeneratedCodeInfo_Annotation&>(from_msg);
15353 // @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.GeneratedCodeInfo.Annotation)
15354 ABSL_DCHECK_NE(&from, _this);
15355 ::uint32_t cached_has_bits = 0;
15356 (void) cached_has_bits;
15357
15358 _this->_internal_mutable_path()->MergeFrom(from._internal_path());
15359 cached_has_bits = from._impl_._has_bits_[0];
15360 if (cached_has_bits & 0x0000000fu) {
15361 if (cached_has_bits & 0x00000001u) {
15362 _this->_internal_set_source_file(from._internal_source_file());
15363 }
15364 if (cached_has_bits & 0x00000002u) {
15365 _this->_impl_.begin_ = from._impl_.begin_;
15366 }
15367 if (cached_has_bits & 0x00000004u) {
15368 _this->_impl_.end_ = from._impl_.end_;
15369 }
15370 if (cached_has_bits & 0x00000008u) {
15371 _this->_impl_.semantic_ = from._impl_.semantic_;
15372 }
15373 }
15374 _this->_impl_._has_bits_[0] |= cached_has_bits;
15375 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
15376 }
15377
15378 void GeneratedCodeInfo_Annotation::CopyFrom(const GeneratedCodeInfo_Annotation& from) {
15379 // @@protoc_insertion_point(class_specific_copy_from_start:google.protobuf.GeneratedCodeInfo.Annotation)
15380 if (&from == this) return;
15381 Clear();
15382 MergeFrom(from);
15383 }
15384
15385
15386 void GeneratedCodeInfo_Annotation::InternalSwap(GeneratedCodeInfo_Annotation* PROTOBUF_RESTRICT other) {
15387 using std::swap;
15388 auto* arena = GetArena();
15389 ABSL_DCHECK_EQ(arena, other->GetArena());
15390 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
15391 swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
15392 _impl_.path_.InternalSwap(&other->_impl_.path_);
15393 ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.source_file_, &other->_impl_.source_file_, arena);
15394 ::google::protobuf::internal::memswap<
15395 PROTOBUF_FIELD_OFFSET(GeneratedCodeInfo_Annotation, _impl_.semantic_)
15396 + sizeof(GeneratedCodeInfo_Annotation::_impl_.semantic_)
15397 - PROTOBUF_FIELD_OFFSET(GeneratedCodeInfo_Annotation, _impl_.begin_)>(
15398 reinterpret_cast<char*>(&_impl_.begin_),
15399 reinterpret_cast<char*>(&other->_impl_.begin_));
15400 }
15401
15402 ::google::protobuf::Metadata GeneratedCodeInfo_Annotation::GetMetadata() const {
15403 return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
15404 }
15405 // ===================================================================
15406
15407 class GeneratedCodeInfo::_Internal {
15408 public:
15409 };
15410
15411 GeneratedCodeInfo::GeneratedCodeInfo(::google::protobuf::Arena* arena)
15412 #if defined(PROTOBUF_CUSTOM_VTABLE)
15413 : ::google::protobuf::Message(arena, _class_data_.base()) {
15414 #else // PROTOBUF_CUSTOM_VTABLE
15415 : ::google::protobuf::Message(arena) {
15416 #endif // PROTOBUF_CUSTOM_VTABLE
15417 SharedCtor(arena);
15418 // @@protoc_insertion_point(arena_constructor:google.protobuf.GeneratedCodeInfo)
15419 }
15420 inline PROTOBUF_NDEBUG_INLINE GeneratedCodeInfo::Impl_::Impl_(
15421 ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena,
15422 const Impl_& from, const ::google::protobuf::GeneratedCodeInfo& from_msg)
15423 : annotation_{visibility, arena, from.annotation_},
15424 _cached_size_{0} {}
15425
15426 GeneratedCodeInfo::GeneratedCodeInfo(
15427 ::google::protobuf::Arena* arena,
15428 const GeneratedCodeInfo& from)
15429 #if defined(PROTOBUF_CUSTOM_VTABLE)
15430 : ::google::protobuf::Message(arena, _class_data_.base()) {
15431 #else // PROTOBUF_CUSTOM_VTABLE
15432 : ::google::protobuf::Message(arena) {
15433 #endif // PROTOBUF_CUSTOM_VTABLE
15434 GeneratedCodeInfo* const _this = this;
15435 (void)_this;
15436 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
15437 from._internal_metadata_);
15438 new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
15439
15440 // @@protoc_insertion_point(copy_constructor:google.protobuf.GeneratedCodeInfo)
15441 }
15442 inline PROTOBUF_NDEBUG_INLINE GeneratedCodeInfo::Impl_::Impl_(
15443 ::google::protobuf::internal::InternalVisibility visibility,
15444 ::google::protobuf::Arena* arena)
15445 : annotation_{visibility, arena},
15446 _cached_size_{0} {}
15447
15448 inline void GeneratedCodeInfo::SharedCtor(::_pb::Arena* arena) {
15449 new (&_impl_) Impl_(internal_visibility(), arena);
15450 }
15451 GeneratedCodeInfo::~GeneratedCodeInfo() {
15452 // @@protoc_insertion_point(destructor:google.protobuf.GeneratedCodeInfo)
15453 SharedDtor(*this);
15454 }
15455 inline void GeneratedCodeInfo::SharedDtor(MessageLite& self) {
15456 GeneratedCodeInfo& this_ = static_cast<GeneratedCodeInfo&>(self);
15457 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
15458 ABSL_DCHECK(this_.GetArena() == nullptr);
15459 this_._impl_.~Impl_();
15460 }
15461
15462 inline void* GeneratedCodeInfo::PlacementNew_(const void*, void* mem,
15463 ::google::protobuf::Arena* arena) {
15464 return ::new (mem) GeneratedCodeInfo(arena);
15465 }
15466 constexpr auto GeneratedCodeInfo::InternalNewImpl_() {
15467 constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({
15468 PROTOBUF_FIELD_OFFSET(GeneratedCodeInfo, _impl_.annotation_) +
15469 decltype(GeneratedCodeInfo::_impl_.annotation_)::
15470 InternalGetArenaOffset(
15471 ::google::protobuf::Message::internal_visibility()),
15472 });
15473 if (arena_bits.has_value()) {
15474 return ::google::protobuf::internal::MessageCreator::ZeroInit(
15475 sizeof(GeneratedCodeInfo), alignof(GeneratedCodeInfo), *arena_bits);
15476 } else {
15477 return ::google::protobuf::internal::MessageCreator(&GeneratedCodeInfo::PlacementNew_,
15478 sizeof(GeneratedCodeInfo),
15479 alignof(GeneratedCodeInfo));
15480 }
15481 }
15482 PROTOBUF_CONSTINIT
15483 PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
15484 const ::google::protobuf::internal::ClassDataFull GeneratedCodeInfo::_class_data_ = {
15485 ::google::protobuf::internal::ClassData{
15486 &_GeneratedCodeInfo_default_instance_._instance,
15487 &_table_.header,
15488 nullptr, // OnDemandRegisterArenaDtor
15489 nullptr, // IsInitialized
15490 &GeneratedCodeInfo::MergeImpl,
15491 ::google::protobuf::Message::GetNewImpl<GeneratedCodeInfo>(),
15492 #if defined(PROTOBUF_CUSTOM_VTABLE)
15493 &GeneratedCodeInfo::SharedDtor,
15494 ::google::protobuf::Message::GetClearImpl<GeneratedCodeInfo>(), &GeneratedCodeInfo::ByteSizeLong,
15495 &GeneratedCodeInfo::_InternalSerialize,
15496 #endif // PROTOBUF_CUSTOM_VTABLE
15497 PROTOBUF_FIELD_OFFSET(GeneratedCodeInfo, _impl_._cached_size_),
15498 false,
15499 },
15500 &GeneratedCodeInfo::kDescriptorMethods,
15501 &descriptor_table_google_2fprotobuf_2fdescriptor_2eproto,
15502 nullptr, // tracker
15503 };
15504 const ::google::protobuf::internal::ClassData* GeneratedCodeInfo::GetClassData() const {
15505 ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_);
15506 ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table);
15507 return _class_data_.base();
15508 }
15509 constexpr ::_pbi::TcParseTable<0, 1, 1, 0, 2> GeneratedCodeInfo::_table_ = {
15510 {
15511 0, // no _has_bits_
15512 0, // no _extensions_
15513 1, 0, // max_field_number, fast_idx_mask
15514 offsetof(decltype(_table_), field_lookup_table),
15515 4294967294, // skipmap
15516 offsetof(decltype(_table_), field_entries),
15517 1, // num_field_entries
15518 1, // num_aux_entries
15519 offsetof(decltype(_table_), aux_entries),
15520 _class_data_.base(),
15521 nullptr, // post_loop_handler
15522 ::_pbi::TcParser::GenericFallback, // fallback
15523 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
15524 ::_pbi::TcParser::GetTable<::google::protobuf::GeneratedCodeInfo>(), // to_prefetch
15525 #endif // PROTOBUF_PREFETCH_PARSE_TABLE
15526 }, {{
15527 // repeated .google.protobuf.GeneratedCodeInfo.Annotation annotation = 1;
15528 {::_pbi::TcParser::FastMtR1,
15529 {10, 63, 0, PROTOBUF_FIELD_OFFSET(GeneratedCodeInfo, _impl_.annotation_)}},
15530 }}, {{
15531 65535, 65535
15532 }}, {{
15533 // repeated .google.protobuf.GeneratedCodeInfo.Annotation annotation = 1;
15534 {PROTOBUF_FIELD_OFFSET(GeneratedCodeInfo, _impl_.annotation_), 0, 0,
15535 (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
15536 }}, {{
15537 {::_pbi::TcParser::GetTable<::google::protobuf::GeneratedCodeInfo_Annotation>()},
15538 }}, {{
15539 }},
15540 };
15541
15542 PROTOBUF_NOINLINE void GeneratedCodeInfo::Clear() {
15543 // @@protoc_insertion_point(message_clear_start:google.protobuf.GeneratedCodeInfo)
15544 ::google::protobuf::internal::TSanWrite(&_impl_);
15545 ::uint32_t cached_has_bits = 0;
15546 // Prevent compiler warnings about cached_has_bits being unused
15547 (void) cached_has_bits;
15548
15549 _impl_.annotation_.Clear();
15550 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
15551 }
15552
15553 #if defined(PROTOBUF_CUSTOM_VTABLE)
15554 ::uint8_t* GeneratedCodeInfo::_InternalSerialize(
15555 const MessageLite& base, ::uint8_t* target,
15556 ::google::protobuf::io::EpsCopyOutputStream* stream) {
15557 const GeneratedCodeInfo& this_ = static_cast<const GeneratedCodeInfo&>(base);
15558 #else // PROTOBUF_CUSTOM_VTABLE
15559 ::uint8_t* GeneratedCodeInfo::_InternalSerialize(
15560 ::uint8_t* target,
15561 ::google::protobuf::io::EpsCopyOutputStream* stream) const {
15562 const GeneratedCodeInfo& this_ = *this;
15563 #endif // PROTOBUF_CUSTOM_VTABLE
15564 // @@protoc_insertion_point(serialize_to_array_start:google.protobuf.GeneratedCodeInfo)
15565 ::uint32_t cached_has_bits = 0;
15566 (void)cached_has_bits;
15567
15568 // repeated .google.protobuf.GeneratedCodeInfo.Annotation annotation = 1;
15569 for (unsigned i = 0, n = static_cast<unsigned>(
15570 this_._internal_annotation_size());
15571 i < n; i++) {
15572 const auto& repfield = this_._internal_annotation().Get(i);
15573 target =
15574 ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
15575 1, repfield, repfield.GetCachedSize(),
15576 target, stream);
15577 }
15578
15579 if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
15580 target =
15581 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
15582 this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
15583 }
15584 // @@protoc_insertion_point(serialize_to_array_end:google.protobuf.GeneratedCodeInfo)
15585 return target;
15586 }
15587
15588 #if defined(PROTOBUF_CUSTOM_VTABLE)
15589 ::size_t GeneratedCodeInfo::ByteSizeLong(const MessageLite& base) {
15590 const GeneratedCodeInfo& this_ = static_cast<const GeneratedCodeInfo&>(base);
15591 #else // PROTOBUF_CUSTOM_VTABLE
15592 ::size_t GeneratedCodeInfo::ByteSizeLong() const {
15593 const GeneratedCodeInfo& this_ = *this;
15594 #endif // PROTOBUF_CUSTOM_VTABLE
15595 // @@protoc_insertion_point(message_byte_size_start:google.protobuf.GeneratedCodeInfo)
15596 ::size_t total_size = 0;
15597
15598 ::uint32_t cached_has_bits = 0;
15599 // Prevent compiler warnings about cached_has_bits being unused
15600 (void)cached_has_bits;
15601
15602 ::_pbi::Prefetch5LinesFrom7Lines(&this_);
15603 {
15604 // repeated .google.protobuf.GeneratedCodeInfo.Annotation annotation = 1;
15605 {
15606 total_size += 1UL * this_._internal_annotation_size();
15607 for (const auto& msg : this_._internal_annotation()) {
15608 total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
15609 }
15610 }
15611 }
15612 return this_.MaybeComputeUnknownFieldsSize(total_size,
15613 &this_._impl_._cached_size_);
15614 }
15615
15616 void GeneratedCodeInfo::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
15617 auto* const _this = static_cast<GeneratedCodeInfo*>(&to_msg);
15618 auto& from = static_cast<const GeneratedCodeInfo&>(from_msg);
15619 // @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.GeneratedCodeInfo)
15620 ABSL_DCHECK_NE(&from, _this);
15621 ::uint32_t cached_has_bits = 0;
15622 (void) cached_has_bits;
15623
15624 _this->_internal_mutable_annotation()->MergeFrom(
15625 from._internal_annotation());
15626 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
15627 }
15628
15629 void GeneratedCodeInfo::CopyFrom(const GeneratedCodeInfo& from) {
15630 // @@protoc_insertion_point(class_specific_copy_from_start:google.protobuf.GeneratedCodeInfo)
15631 if (&from == this) return;
15632 Clear();
15633 MergeFrom(from);
15634 }
15635
15636
15637 void GeneratedCodeInfo::InternalSwap(GeneratedCodeInfo* PROTOBUF_RESTRICT other) {
15638 using std::swap;
15639 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
15640 _impl_.annotation_.InternalSwap(&other->_impl_.annotation_);
15641 }
15642
15643 ::google::protobuf::Metadata GeneratedCodeInfo::GetMetadata() const {
15644 return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
15645 }
15646 // @@protoc_insertion_point(namespace_scope)
15647 } // namespace protobuf
15648 } // namespace google
15649 namespace google {
15650 namespace protobuf {
15651 } // namespace protobuf
15652 } // namespace google
15653 // @@protoc_insertion_point(global_scope)
15654 #include "google/protobuf/port_undef.inc"
15655