Line data Source code
1 : // Generated by the protocol buffer compiler. DO NOT EDIT!
2 : // NO CHECKED-IN PROTOBUF GENCODE
3 : // source: attrlistfile.proto
4 : // Protobuf C++ Version: 6.33.4
5 :
6 : #include "attrlistfile.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 Odb {
28 : namespace Lib {
29 : namespace Protobuf {
30 : template <typename>
31 : PROTOBUF_CONSTEXPR AttrListFile_AttributesByNameEntry_DoNotUse::AttrListFile_AttributesByNameEntry_DoNotUse(::_pbi::ConstantInitialized)
32 : #if defined(PROTOBUF_CUSTOM_VTABLE)
33 : : AttrListFile_AttributesByNameEntry_DoNotUse::MapEntry(AttrListFile_AttributesByNameEntry_DoNotUse_class_data_.base()){}
34 : #else // PROTOBUF_CUSTOM_VTABLE
35 : : AttrListFile_AttributesByNameEntry_DoNotUse::MapEntry() {
36 : }
37 : #endif // PROTOBUF_CUSTOM_VTABLE
38 : struct AttrListFile_AttributesByNameEntry_DoNotUseDefaultTypeInternal {
39 : PROTOBUF_CONSTEXPR AttrListFile_AttributesByNameEntry_DoNotUseDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
40 319 : ~AttrListFile_AttributesByNameEntry_DoNotUseDefaultTypeInternal() {}
41 : union {
42 : AttrListFile_AttributesByNameEntry_DoNotUse _instance;
43 : };
44 : };
45 :
46 : PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT ODBDESIGN_EXPORT
47 : PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 AttrListFile_AttributesByNameEntry_DoNotUseDefaultTypeInternal _AttrListFile_AttributesByNameEntry_DoNotUse_default_instance_;
48 :
49 : inline constexpr AttrListFile::Impl_::Impl_(
50 : ::_pbi::ConstantInitialized) noexcept
51 : : _cached_size_{0},
52 : directory_(
53 : &::google::protobuf::internal::fixed_address_empty_string,
54 : ::_pbi::ConstantInitialized()),
55 : path_(
56 : &::google::protobuf::internal::fixed_address_empty_string,
57 : ::_pbi::ConstantInitialized()),
58 : units_(
59 : &::google::protobuf::internal::fixed_address_empty_string,
60 : ::_pbi::ConstantInitialized()),
61 : attributesbyname_{} {}
62 :
63 : template <typename>
64 : PROTOBUF_CONSTEXPR AttrListFile::AttrListFile(::_pbi::ConstantInitialized)
65 : #if defined(PROTOBUF_CUSTOM_VTABLE)
66 : : ::google::protobuf::Message(AttrListFile_class_data_.base()),
67 : #else // PROTOBUF_CUSTOM_VTABLE
68 : : ::google::protobuf::Message(),
69 : #endif // PROTOBUF_CUSTOM_VTABLE
70 : _impl_(::_pbi::ConstantInitialized()) {
71 : }
72 : struct AttrListFileDefaultTypeInternal {
73 : PROTOBUF_CONSTEXPR AttrListFileDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
74 319 : ~AttrListFileDefaultTypeInternal() {}
75 : union {
76 : AttrListFile _instance;
77 : };
78 : };
79 :
80 : PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT ODBDESIGN_EXPORT
81 : PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 AttrListFileDefaultTypeInternal _AttrListFile_default_instance_;
82 : } // namespace Protobuf
83 : } // namespace Lib
84 : } // namespace Odb
85 : static constexpr const ::_pb::EnumDescriptor* PROTOBUF_NONNULL* PROTOBUF_NULLABLE
86 : file_level_enum_descriptors_attrlistfile_2eproto = nullptr;
87 : static constexpr const ::_pb::ServiceDescriptor* PROTOBUF_NONNULL* PROTOBUF_NULLABLE
88 : file_level_service_descriptors_attrlistfile_2eproto = nullptr;
89 : const ::uint32_t
90 : TableStruct_attrlistfile_2eproto::offsets[] ABSL_ATTRIBUTE_SECTION_VARIABLE(
91 : protodesc_cold) = {
92 : 0x081, // bitmap
93 : PROTOBUF_FIELD_OFFSET(::Odb::Lib::Protobuf::AttrListFile_AttributesByNameEntry_DoNotUse, _impl_._has_bits_),
94 : 5, // hasbit index offset
95 : PROTOBUF_FIELD_OFFSET(::Odb::Lib::Protobuf::AttrListFile_AttributesByNameEntry_DoNotUse, _impl_.key_),
96 : PROTOBUF_FIELD_OFFSET(::Odb::Lib::Protobuf::AttrListFile_AttributesByNameEntry_DoNotUse, _impl_.value_),
97 : 0,
98 : 1,
99 : 0x081, // bitmap
100 : PROTOBUF_FIELD_OFFSET(::Odb::Lib::Protobuf::AttrListFile, _impl_._has_bits_),
101 : 7, // hasbit index offset
102 : PROTOBUF_FIELD_OFFSET(::Odb::Lib::Protobuf::AttrListFile, _impl_.directory_),
103 : PROTOBUF_FIELD_OFFSET(::Odb::Lib::Protobuf::AttrListFile, _impl_.path_),
104 : PROTOBUF_FIELD_OFFSET(::Odb::Lib::Protobuf::AttrListFile, _impl_.units_),
105 : PROTOBUF_FIELD_OFFSET(::Odb::Lib::Protobuf::AttrListFile, _impl_.attributesbyname_),
106 : 0,
107 : 1,
108 : 2,
109 : 3,
110 : };
111 :
112 : static const ::_pbi::MigrationSchema
113 : schemas[] ABSL_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = {
114 : {0, sizeof(::Odb::Lib::Protobuf::AttrListFile_AttributesByNameEntry_DoNotUse)},
115 : {7, sizeof(::Odb::Lib::Protobuf::AttrListFile)},
116 : };
117 : static const ::_pb::Message* PROTOBUF_NONNULL const file_default_instances[] = {
118 : &::Odb::Lib::Protobuf::_AttrListFile_AttributesByNameEntry_DoNotUse_default_instance_._instance,
119 : &::Odb::Lib::Protobuf::_AttrListFile_default_instance_._instance,
120 : };
121 : const char descriptor_table_protodef_attrlistfile_2eproto[] ABSL_ATTRIBUTE_SECTION_VARIABLE(
122 : protodesc_cold) = {
123 : "\n\022attrlistfile.proto\022\020Odb.Lib.Protobuf\"\367"
124 : "\001\n\014AttrListFile\022\026\n\tdirectory\030\001 \001(\tH\000\210\001\001\022"
125 : "\021\n\004path\030\002 \001(\tH\001\210\001\001\022\022\n\005units\030\003 \001(\tH\002\210\001\001\022N"
126 : "\n\020attributesByName\030\004 \003(\01324.Odb.Lib.Proto"
127 : "buf.AttrListFile.AttributesByNameEntry\0327"
128 : "\n\025AttributesByNameEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005"
129 : "value\030\002 \001(\t:\0028\001B\014\n\n_directoryB\007\n\005_pathB\010"
130 : "\n\006_unitsB\003\370\001\001b\006proto3"
131 : };
132 : static ::absl::once_flag descriptor_table_attrlistfile_2eproto_once;
133 : PROTOBUF_CONSTINIT const ::_pbi::DescriptorTable descriptor_table_attrlistfile_2eproto = {
134 : false,
135 : false,
136 : 301,
137 : descriptor_table_protodef_attrlistfile_2eproto,
138 : "attrlistfile.proto",
139 : &descriptor_table_attrlistfile_2eproto_once,
140 : nullptr,
141 : 0,
142 : 2,
143 : schemas,
144 : file_default_instances,
145 : TableStruct_attrlistfile_2eproto::offsets,
146 : file_level_enum_descriptors_attrlistfile_2eproto,
147 : file_level_service_descriptors_attrlistfile_2eproto,
148 : };
149 : namespace Odb {
150 : namespace Lib {
151 : namespace Protobuf {
152 : // ===================================================================
153 :
154 : #if defined(PROTOBUF_CUSTOM_VTABLE)
155 : AttrListFile_AttributesByNameEntry_DoNotUse::AttrListFile_AttributesByNameEntry_DoNotUse()
156 : : SuperType(AttrListFile_AttributesByNameEntry_DoNotUse_class_data_.base()) {}
157 : AttrListFile_AttributesByNameEntry_DoNotUse::AttrListFile_AttributesByNameEntry_DoNotUse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
158 : : SuperType(arena, AttrListFile_AttributesByNameEntry_DoNotUse_class_data_.base()) {}
159 : #else // PROTOBUF_CUSTOM_VTABLE
160 0 : AttrListFile_AttributesByNameEntry_DoNotUse::AttrListFile_AttributesByNameEntry_DoNotUse() : SuperType() {}
161 357199 : AttrListFile_AttributesByNameEntry_DoNotUse::AttrListFile_AttributesByNameEntry_DoNotUse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) : SuperType(arena) {}
162 : #endif // PROTOBUF_CUSTOM_VTABLE
163 357199 : inline void* PROTOBUF_NONNULL AttrListFile_AttributesByNameEntry_DoNotUse::PlacementNew_(
164 : const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
165 : ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
166 357199 : return ::new (mem) AttrListFile_AttributesByNameEntry_DoNotUse(arena);
167 : }
168 : constexpr auto AttrListFile_AttributesByNameEntry_DoNotUse::InternalNewImpl_() {
169 : return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(AttrListFile_AttributesByNameEntry_DoNotUse),
170 : alignof(AttrListFile_AttributesByNameEntry_DoNotUse));
171 : }
172 : constexpr auto AttrListFile_AttributesByNameEntry_DoNotUse::InternalGenerateClassData_() {
173 : return ::google::protobuf::internal::ClassDataFull{
174 : ::google::protobuf::internal::ClassData{
175 : &_AttrListFile_AttributesByNameEntry_DoNotUse_default_instance_._instance,
176 : &_table_.header,
177 : nullptr, // OnDemandRegisterArenaDtor
178 : nullptr, // IsInitialized
179 : &AttrListFile_AttributesByNameEntry_DoNotUse::MergeImpl,
180 : ::google::protobuf::Message::GetNewImpl<AttrListFile_AttributesByNameEntry_DoNotUse>(),
181 : #if defined(PROTOBUF_CUSTOM_VTABLE)
182 : &AttrListFile_AttributesByNameEntry_DoNotUse::SharedDtor,
183 : static_cast<void (::google::protobuf::MessageLite::*)()>(&AttrListFile_AttributesByNameEntry_DoNotUse::ClearImpl),
184 : ::google::protobuf::Message::ByteSizeLongImpl, ::google::protobuf::Message::_InternalSerializeImpl
185 : ,
186 : #endif // PROTOBUF_CUSTOM_VTABLE
187 : PROTOBUF_FIELD_OFFSET(AttrListFile_AttributesByNameEntry_DoNotUse, _impl_._cached_size_),
188 : false,
189 : },
190 : &AttrListFile_AttributesByNameEntry_DoNotUse::kDescriptorMethods,
191 : &descriptor_table_attrlistfile_2eproto,
192 : nullptr, // tracker
193 : };
194 : }
195 :
196 : PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
197 : ::google::protobuf::internal::ClassDataFull AttrListFile_AttributesByNameEntry_DoNotUse_class_data_ =
198 : AttrListFile_AttributesByNameEntry_DoNotUse::InternalGenerateClassData_();
199 :
200 : PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
201 2518759 : AttrListFile_AttributesByNameEntry_DoNotUse::GetClassData() const {
202 2518759 : ::google::protobuf::internal::PrefetchToLocalCache(&AttrListFile_AttributesByNameEntry_DoNotUse_class_data_);
203 2518759 : ::google::protobuf::internal::PrefetchToLocalCache(AttrListFile_AttributesByNameEntry_DoNotUse_class_data_.tc_table);
204 2518759 : return AttrListFile_AttributesByNameEntry_DoNotUse_class_data_.base();
205 : }
206 : PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
207 : const ::_pbi::TcParseTable<1, 2, 0, 68, 2>
208 : AttrListFile_AttributesByNameEntry_DoNotUse::_table_ = {
209 : {
210 : PROTOBUF_FIELD_OFFSET(AttrListFile_AttributesByNameEntry_DoNotUse, _impl_._has_bits_),
211 : 0, // no _extensions_
212 : 2, 8, // max_field_number, fast_idx_mask
213 : offsetof(decltype(_table_), field_lookup_table),
214 : 4294967292, // skipmap
215 : offsetof(decltype(_table_), field_entries),
216 : 2, // num_field_entries
217 : 0, // num_aux_entries
218 : offsetof(decltype(_table_), field_names), // no aux_entries
219 : AttrListFile_AttributesByNameEntry_DoNotUse_class_data_.base(),
220 : nullptr, // post_loop_handler
221 : ::_pbi::TcParser::DiscardEverythingFallback, // fallback
222 : #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
223 : ::_pbi::TcParser::GetTable<::Odb::Lib::Protobuf::AttrListFile_AttributesByNameEntry_DoNotUse>(), // to_prefetch
224 : #endif // PROTOBUF_PREFETCH_PARSE_TABLE
225 : }, {{
226 : // string value = 2;
227 : {::_pbi::TcParser::FastUS1,
228 : {18, 1, 0,
229 : PROTOBUF_FIELD_OFFSET(AttrListFile_AttributesByNameEntry_DoNotUse, _impl_.value_)}},
230 : // string key = 1;
231 : {::_pbi::TcParser::FastUS1,
232 : {10, 0, 0,
233 : PROTOBUF_FIELD_OFFSET(AttrListFile_AttributesByNameEntry_DoNotUse, _impl_.key_)}},
234 : }}, {{
235 : 65535, 65535
236 : }}, {{
237 : // string key = 1;
238 : {PROTOBUF_FIELD_OFFSET(AttrListFile_AttributesByNameEntry_DoNotUse, _impl_.key_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)},
239 : // string value = 2;
240 : {PROTOBUF_FIELD_OFFSET(AttrListFile_AttributesByNameEntry_DoNotUse, _impl_.value_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)},
241 : }},
242 : // no aux_entries
243 : {{
244 : "\63\3\5\0\0\0\0\0"
245 : "Odb.Lib.Protobuf.AttrListFile.AttributesByNameEntry"
246 : "key"
247 : "value"
248 : }},
249 : };
250 : // ===================================================================
251 :
252 : class AttrListFile::_Internal {
253 : public:
254 : using HasBits =
255 : decltype(::std::declval<AttrListFile>()._impl_._has_bits_);
256 : static constexpr ::int32_t kHasBitsOffset =
257 : 8 * PROTOBUF_FIELD_OFFSET(AttrListFile, _impl_._has_bits_);
258 : };
259 :
260 17316 : AttrListFile::AttrListFile(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
261 : #if defined(PROTOBUF_CUSTOM_VTABLE)
262 : : ::google::protobuf::Message(arena, AttrListFile_class_data_.base()) {
263 : #else // PROTOBUF_CUSTOM_VTABLE
264 17316 : : ::google::protobuf::Message(arena) {
265 : #endif // PROTOBUF_CUSTOM_VTABLE
266 17316 : SharedCtor(arena);
267 : // @@protoc_insertion_point(arena_constructor:Odb.Lib.Protobuf.AttrListFile)
268 17316 : }
269 36492 : PROTOBUF_NDEBUG_INLINE AttrListFile::Impl_::Impl_(
270 : [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
271 : [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
272 36492 : [[maybe_unused]] const ::Odb::Lib::Protobuf::AttrListFile& from_msg)
273 36492 : : _has_bits_{from._has_bits_},
274 36492 : _cached_size_{0},
275 36492 : directory_(arena, from.directory_),
276 36492 : path_(arena, from.path_),
277 36492 : units_(arena, from.units_),
278 36492 : attributesbyname_{visibility, arena, from.attributesbyname_} {}
279 :
280 36492 : AttrListFile::AttrListFile(
281 : ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
282 36492 : const AttrListFile& from)
283 : #if defined(PROTOBUF_CUSTOM_VTABLE)
284 : : ::google::protobuf::Message(arena, AttrListFile_class_data_.base()) {
285 : #else // PROTOBUF_CUSTOM_VTABLE
286 36492 : : ::google::protobuf::Message(arena) {
287 : #endif // PROTOBUF_CUSTOM_VTABLE
288 36492 : AttrListFile* const _this = this;
289 : (void)_this;
290 36492 : _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
291 36492 : from._internal_metadata_);
292 36492 : new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
293 :
294 : // @@protoc_insertion_point(copy_constructor:Odb.Lib.Protobuf.AttrListFile)
295 36492 : }
296 17316 : PROTOBUF_NDEBUG_INLINE AttrListFile::Impl_::Impl_(
297 : [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
298 17316 : [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
299 17316 : : _cached_size_{0},
300 17316 : directory_(arena),
301 17316 : path_(arena),
302 17316 : units_(arena),
303 34632 : attributesbyname_{visibility, arena} {}
304 :
305 17316 : inline void AttrListFile::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
306 17316 : new (&_impl_) Impl_(internal_visibility(), arena);
307 17316 : }
308 107616 : AttrListFile::~AttrListFile() {
309 : // @@protoc_insertion_point(destructor:Odb.Lib.Protobuf.AttrListFile)
310 53808 : SharedDtor(*this);
311 107616 : }
312 53808 : inline void AttrListFile::SharedDtor(MessageLite& self) {
313 53808 : AttrListFile& this_ = static_cast<AttrListFile&>(self);
314 : if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
315 53808 : this_.CheckHasBitConsistency();
316 : }
317 53808 : this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
318 53808 : ABSL_DCHECK(this_.GetArena() == nullptr);
319 53808 : this_._impl_.directory_.Destroy();
320 53808 : this_._impl_.path_.Destroy();
321 53808 : this_._impl_.units_.Destroy();
322 53808 : this_._impl_.~Impl_();
323 53808 : }
324 :
325 1596 : inline void* PROTOBUF_NONNULL AttrListFile::PlacementNew_(
326 : const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
327 : ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
328 1596 : return ::new (mem) AttrListFile(arena);
329 : }
330 : constexpr auto AttrListFile::InternalNewImpl_() {
331 : constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({
332 : PROTOBUF_FIELD_OFFSET(AttrListFile, _impl_.attributesbyname_) +
333 : decltype(AttrListFile::_impl_.attributesbyname_)::
334 : InternalGetArenaOffset(
335 : ::google::protobuf::Message::internal_visibility()),
336 : });
337 : if (arena_bits.has_value()) {
338 : return ::google::protobuf::internal::MessageCreator::CopyInit(
339 : sizeof(AttrListFile), alignof(AttrListFile), *arena_bits);
340 : } else {
341 : return ::google::protobuf::internal::MessageCreator(&AttrListFile::PlacementNew_,
342 : sizeof(AttrListFile),
343 : alignof(AttrListFile));
344 : }
345 : }
346 : constexpr auto AttrListFile::InternalGenerateClassData_() {
347 : return ::google::protobuf::internal::ClassDataFull{
348 : ::google::protobuf::internal::ClassData{
349 : &_AttrListFile_default_instance_._instance,
350 : &_table_.header,
351 : nullptr, // OnDemandRegisterArenaDtor
352 : nullptr, // IsInitialized
353 : &AttrListFile::MergeImpl,
354 : ::google::protobuf::Message::GetNewImpl<AttrListFile>(),
355 : #if defined(PROTOBUF_CUSTOM_VTABLE)
356 : &AttrListFile::SharedDtor,
357 : ::google::protobuf::Message::GetClearImpl<AttrListFile>(), &AttrListFile::ByteSizeLong,
358 : &AttrListFile::_InternalSerialize,
359 : #endif // PROTOBUF_CUSTOM_VTABLE
360 : PROTOBUF_FIELD_OFFSET(AttrListFile, _impl_._cached_size_),
361 : false,
362 : },
363 : &AttrListFile::kDescriptorMethods,
364 : &descriptor_table_attrlistfile_2eproto,
365 : nullptr, // tracker
366 : };
367 : }
368 :
369 : PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
370 : ::google::protobuf::internal::ClassDataFull AttrListFile_class_data_ =
371 : AttrListFile::InternalGenerateClassData_();
372 :
373 : PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
374 548662 : AttrListFile::GetClassData() const {
375 548662 : ::google::protobuf::internal::PrefetchToLocalCache(&AttrListFile_class_data_);
376 548662 : ::google::protobuf::internal::PrefetchToLocalCache(AttrListFile_class_data_.tc_table);
377 548662 : return AttrListFile_class_data_.base();
378 : }
379 : PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
380 : const ::_pbi::TcParseTable<2, 4, 1, 72, 2>
381 : AttrListFile::_table_ = {
382 : {
383 : PROTOBUF_FIELD_OFFSET(AttrListFile, _impl_._has_bits_),
384 : 0, // no _extensions_
385 : 4, 24, // max_field_number, fast_idx_mask
386 : offsetof(decltype(_table_), field_lookup_table),
387 : 4294967280, // skipmap
388 : offsetof(decltype(_table_), field_entries),
389 : 4, // num_field_entries
390 : 1, // num_aux_entries
391 : offsetof(decltype(_table_), aux_entries),
392 : AttrListFile_class_data_.base(),
393 : nullptr, // post_loop_handler
394 : ::_pbi::TcParser::GenericFallback, // fallback
395 : #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
396 : ::_pbi::TcParser::GetTable<::Odb::Lib::Protobuf::AttrListFile>(), // to_prefetch
397 : #endif // PROTOBUF_PREFETCH_PARSE_TABLE
398 : }, {{
399 : {::_pbi::TcParser::MiniParse, {}},
400 : // optional string directory = 1;
401 : {::_pbi::TcParser::FastUS1,
402 : {10, 0, 0,
403 : PROTOBUF_FIELD_OFFSET(AttrListFile, _impl_.directory_)}},
404 : // optional string path = 2;
405 : {::_pbi::TcParser::FastUS1,
406 : {18, 1, 0,
407 : PROTOBUF_FIELD_OFFSET(AttrListFile, _impl_.path_)}},
408 : // optional string units = 3;
409 : {::_pbi::TcParser::FastUS1,
410 : {26, 2, 0,
411 : PROTOBUF_FIELD_OFFSET(AttrListFile, _impl_.units_)}},
412 : }}, {{
413 : 65535, 65535
414 : }}, {{
415 : // optional string directory = 1;
416 : {PROTOBUF_FIELD_OFFSET(AttrListFile, _impl_.directory_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)},
417 : // optional string path = 2;
418 : {PROTOBUF_FIELD_OFFSET(AttrListFile, _impl_.path_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)},
419 : // optional string units = 3;
420 : {PROTOBUF_FIELD_OFFSET(AttrListFile, _impl_.units_), _Internal::kHasBitsOffset + 2, 0, (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)},
421 : // map<string, string> attributesByName = 4;
422 : {PROTOBUF_FIELD_OFFSET(AttrListFile, _impl_.attributesbyname_), _Internal::kHasBitsOffset + 3, 0, (0 | ::_fl::kFcRepeated | ::_fl::kMap)},
423 : }},
424 : {{
425 : {::_pbi::TcParser::GetMapAuxInfo(
426 : 1, 0, 9, 9, 0)},
427 : }},
428 : {{
429 : "\35\11\4\5\20\0\0\0"
430 : "Odb.Lib.Protobuf.AttrListFile"
431 : "directory"
432 : "path"
433 : "units"
434 : "attributesByName"
435 : }},
436 : };
437 7864 : PROTOBUF_NOINLINE void AttrListFile::Clear() {
438 : // @@protoc_insertion_point(message_clear_start:Odb.Lib.Protobuf.AttrListFile)
439 7864 : ::google::protobuf::internal::TSanWrite(&_impl_);
440 7864 : ::uint32_t cached_has_bits = 0;
441 : // Prevent compiler warnings about cached_has_bits being unused
442 : (void) cached_has_bits;
443 :
444 7864 : cached_has_bits = _impl_._has_bits_[0];
445 7864 : if (BatchCheckHasBit(cached_has_bits, 0x0000000fU)) {
446 4 : if (CheckHasBit(cached_has_bits, 0x00000001U)) {
447 4 : _impl_.directory_.ClearNonDefaultToEmpty();
448 : }
449 4 : if (CheckHasBit(cached_has_bits, 0x00000002U)) {
450 4 : _impl_.path_.ClearNonDefaultToEmpty();
451 : }
452 4 : if (CheckHasBit(cached_has_bits, 0x00000004U)) {
453 4 : _impl_.units_.ClearNonDefaultToEmpty();
454 : }
455 4 : if (CheckHasBitForRepeated(cached_has_bits, 0x00000008U)) {
456 0 : _impl_.attributesbyname_.Clear();
457 : }
458 : }
459 7864 : _impl_._has_bits_.Clear();
460 7864 : _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
461 7864 : }
462 :
463 : #if defined(PROTOBUF_CUSTOM_VTABLE)
464 : ::uint8_t* PROTOBUF_NONNULL AttrListFile::_InternalSerialize(
465 : const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
466 : ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
467 : const AttrListFile& this_ = static_cast<const AttrListFile&>(base);
468 : #else // PROTOBUF_CUSTOM_VTABLE
469 7815 : ::uint8_t* PROTOBUF_NONNULL AttrListFile::_InternalSerialize(
470 : ::uint8_t* PROTOBUF_NONNULL target,
471 : ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
472 7815 : const AttrListFile& this_ = *this;
473 : #endif // PROTOBUF_CUSTOM_VTABLE
474 : if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
475 7815 : this_.CheckHasBitConsistency();
476 : }
477 : // @@protoc_insertion_point(serialize_to_array_start:Odb.Lib.Protobuf.AttrListFile)
478 7815 : ::uint32_t cached_has_bits = 0;
479 : (void)cached_has_bits;
480 :
481 7815 : cached_has_bits = this_._impl_._has_bits_[0];
482 : // optional string directory = 1;
483 7815 : if (CheckHasBit(cached_has_bits, 0x00000001U)) {
484 7815 : const ::std::string& _s = this_._internal_directory();
485 15630 : ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
486 7815 : _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "Odb.Lib.Protobuf.AttrListFile.directory");
487 7815 : target = stream->WriteStringMaybeAliased(1, _s, target);
488 : }
489 :
490 : // optional string path = 2;
491 7815 : if (CheckHasBit(cached_has_bits, 0x00000002U)) {
492 7815 : const ::std::string& _s = this_._internal_path();
493 15630 : ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
494 7815 : _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "Odb.Lib.Protobuf.AttrListFile.path");
495 7815 : target = stream->WriteStringMaybeAliased(2, _s, target);
496 : }
497 :
498 : // optional string units = 3;
499 7815 : if (CheckHasBit(cached_has_bits, 0x00000004U)) {
500 7815 : const ::std::string& _s = this_._internal_units();
501 15630 : ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
502 7815 : _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "Odb.Lib.Protobuf.AttrListFile.units");
503 7815 : target = stream->WriteStringMaybeAliased(3, _s, target);
504 : }
505 :
506 : // map<string, string> attributesByName = 4;
507 7815 : if (CheckHasBitForRepeated(cached_has_bits, 0x00000008U)) {
508 6053 : if (!this_._internal_attributesbyname().empty()) {
509 : using MapType = ::google::protobuf::Map<::std::string, ::std::string>;
510 : using WireHelper = _pbi::MapEntryFuncs<::std::string, ::std::string,
511 : _pbi::WireFormatLite::TYPE_STRING,
512 : _pbi::WireFormatLite::TYPE_STRING>;
513 6053 : const auto& field = this_._internal_attributesbyname();
514 :
515 6053 : if (stream->IsSerializationDeterministic() && field.size() > 1) {
516 65340 : for (const auto& entry : ::google::protobuf::internal::MapSorterPtr<MapType>(field)) {
517 127776 : target = WireHelper::InternalSerialize(
518 63888 : 4, entry.first, entry.second, target, stream);
519 127776 : ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
520 63888 : entry.first.data(), static_cast<int>(entry.first.length()),
521 : ::google::protobuf::internal::WireFormatLite::SERIALIZE, "Odb.Lib.Protobuf.AttrListFile.attributesByName");
522 127776 : ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
523 63888 : entry.second.data(), static_cast<int>(entry.second.length()),
524 : ::google::protobuf::internal::WireFormatLite::SERIALIZE, "Odb.Lib.Protobuf.AttrListFile.attributesByName");
525 1452 : }
526 : } else {
527 187953 : for (const auto& entry : field) {
528 366704 : target = WireHelper::InternalSerialize(
529 183352 : 4, entry.first, entry.second, target, stream);
530 366704 : ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
531 183352 : entry.first.data(), static_cast<int>(entry.first.length()),
532 : ::google::protobuf::internal::WireFormatLite::SERIALIZE, "Odb.Lib.Protobuf.AttrListFile.attributesByName");
533 366704 : ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
534 183352 : entry.second.data(), static_cast<int>(entry.second.length()),
535 : ::google::protobuf::internal::WireFormatLite::SERIALIZE, "Odb.Lib.Protobuf.AttrListFile.attributesByName");
536 : }
537 : }
538 : }
539 : }
540 :
541 7815 : if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
542 : target =
543 0 : ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
544 : this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
545 : }
546 : // @@protoc_insertion_point(serialize_to_array_end:Odb.Lib.Protobuf.AttrListFile)
547 7815 : return target;
548 : }
549 :
550 : #if defined(PROTOBUF_CUSTOM_VTABLE)
551 : ::size_t AttrListFile::ByteSizeLong(const MessageLite& base) {
552 : const AttrListFile& this_ = static_cast<const AttrListFile&>(base);
553 : #else // PROTOBUF_CUSTOM_VTABLE
554 10139 : ::size_t AttrListFile::ByteSizeLong() const {
555 10139 : const AttrListFile& this_ = *this;
556 : #endif // PROTOBUF_CUSTOM_VTABLE
557 : // @@protoc_insertion_point(message_byte_size_start:Odb.Lib.Protobuf.AttrListFile)
558 10139 : ::size_t total_size = 0;
559 :
560 10139 : ::uint32_t cached_has_bits = 0;
561 : // Prevent compiler warnings about cached_has_bits being unused
562 : (void)cached_has_bits;
563 :
564 : ::_pbi::Prefetch5LinesFrom7Lines(&this_);
565 10139 : cached_has_bits = this_._impl_._has_bits_[0];
566 10139 : if (BatchCheckHasBit(cached_has_bits, 0x0000000fU)) {
567 : // optional string directory = 1;
568 10139 : if (CheckHasBit(cached_has_bits, 0x00000001U)) {
569 10139 : total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
570 : this_._internal_directory());
571 : }
572 : // optional string path = 2;
573 10139 : if (CheckHasBit(cached_has_bits, 0x00000002U)) {
574 10139 : total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
575 : this_._internal_path());
576 : }
577 : // optional string units = 3;
578 10139 : if (CheckHasBit(cached_has_bits, 0x00000004U)) {
579 10139 : total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
580 : this_._internal_units());
581 : }
582 : // map<string, string> attributesByName = 4;
583 10139 : if (CheckHasBitForRepeated(cached_has_bits, 0x00000008U)) {
584 8119 : total_size +=
585 8119 : 1 * ::google::protobuf::internal::FromIntSize(this_._internal_attributesbyname_size());
586 343641 : for (const auto& entry : this_._internal_attributesbyname()) {
587 335522 : total_size += _pbi::MapEntryFuncs<::std::string, ::std::string,
588 : _pbi::WireFormatLite::TYPE_STRING,
589 335522 : _pbi::WireFormatLite::TYPE_STRING>::ByteSizeLong(entry.first, entry.second);
590 : }
591 : }
592 : }
593 10139 : return this_.MaybeComputeUnknownFieldsSize(total_size,
594 10139 : &this_._impl_._cached_size_);
595 : }
596 :
597 7864 : void AttrListFile::MergeImpl(::google::protobuf::MessageLite& to_msg,
598 : const ::google::protobuf::MessageLite& from_msg) {
599 7864 : auto* const _this =
600 : static_cast<AttrListFile*>(&to_msg);
601 7864 : auto& from = static_cast<const AttrListFile&>(from_msg);
602 : if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
603 7864 : from.CheckHasBitConsistency();
604 : }
605 : // @@protoc_insertion_point(class_specific_merge_from_start:Odb.Lib.Protobuf.AttrListFile)
606 7864 : ABSL_DCHECK_NE(&from, _this);
607 7864 : ::uint32_t cached_has_bits = 0;
608 : (void)cached_has_bits;
609 :
610 7864 : cached_has_bits = from._impl_._has_bits_[0];
611 7864 : if (BatchCheckHasBit(cached_has_bits, 0x0000000fU)) {
612 7864 : if (CheckHasBit(cached_has_bits, 0x00000001U)) {
613 7864 : _this->_internal_set_directory(from._internal_directory());
614 : }
615 7864 : if (CheckHasBit(cached_has_bits, 0x00000002U)) {
616 7864 : _this->_internal_set_path(from._internal_path());
617 : }
618 7864 : if (CheckHasBit(cached_has_bits, 0x00000004U)) {
619 7864 : _this->_internal_set_units(from._internal_units());
620 : }
621 7864 : if (CheckHasBitForRepeated(cached_has_bits, 0x00000008U)) {
622 5592 : _this->_impl_.attributesbyname_.MergeFrom(from._impl_.attributesbyname_);
623 : }
624 : }
625 7864 : _this->_impl_._has_bits_[0] |= cached_has_bits;
626 7864 : _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
627 7864 : from._internal_metadata_);
628 7864 : }
629 :
630 7860 : void AttrListFile::CopyFrom(const AttrListFile& from) {
631 : // @@protoc_insertion_point(class_specific_copy_from_start:Odb.Lib.Protobuf.AttrListFile)
632 7860 : if (&from == this) return;
633 7860 : Clear();
634 7860 : MergeFrom(from);
635 : }
636 :
637 :
638 0 : void AttrListFile::InternalSwap(AttrListFile* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
639 : using ::std::swap;
640 0 : auto* arena = GetArena();
641 0 : ABSL_DCHECK_EQ(arena, other->GetArena());
642 0 : _internal_metadata_.InternalSwap(&other->_internal_metadata_);
643 0 : swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
644 0 : ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.directory_, &other->_impl_.directory_, arena);
645 0 : ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.path_, &other->_impl_.path_, arena);
646 0 : ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.units_, &other->_impl_.units_, arena);
647 0 : _impl_.attributesbyname_.InternalSwap(&other->_impl_.attributesbyname_);
648 0 : }
649 :
650 0 : ::google::protobuf::Metadata AttrListFile::GetMetadata() const {
651 0 : return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
652 : }
653 : // @@protoc_insertion_point(namespace_scope)
654 : } // namespace Protobuf
655 : } // namespace Lib
656 : } // namespace Odb
657 : namespace google {
658 : namespace protobuf {
659 : } // namespace protobuf
660 : } // namespace google
661 : // @@protoc_insertion_point(global_scope)
662 : PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 static ::std::false_type
663 : _static_init2_ [[maybe_unused]] =
664 : (::_pbi::AddDescriptors(&descriptor_table_attrlistfile_2eproto),
665 : ::std::false_type{});
666 : #include "google/protobuf/port_undef.inc"
|