Line data Source code
1 : // Generated by the protocol buffer compiler. DO NOT EDIT!
2 : // NO CHECKED-IN PROTOBUF GENCODE
3 : // source: symbolsdirectory.proto
4 : // Protobuf C++ Version: 6.33.4
5 :
6 : #include "symbolsdirectory.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 :
31 : inline constexpr SymbolsDirectory::Impl_::Impl_(
32 : ::_pbi::ConstantInitialized) noexcept
33 : : _cached_size_{0},
34 : name_(
35 : &::google::protobuf::internal::fixed_address_empty_string,
36 : ::_pbi::ConstantInitialized()),
37 : path_(
38 : &::google::protobuf::internal::fixed_address_empty_string,
39 : ::_pbi::ConstantInitialized()),
40 : attrlistfile_{nullptr},
41 : featurefile_{nullptr} {}
42 :
43 : template <typename>
44 : PROTOBUF_CONSTEXPR SymbolsDirectory::SymbolsDirectory(::_pbi::ConstantInitialized)
45 : #if defined(PROTOBUF_CUSTOM_VTABLE)
46 : : ::google::protobuf::Message(SymbolsDirectory_class_data_.base()),
47 : #else // PROTOBUF_CUSTOM_VTABLE
48 : : ::google::protobuf::Message(),
49 : #endif // PROTOBUF_CUSTOM_VTABLE
50 : _impl_(::_pbi::ConstantInitialized()) {
51 : }
52 : struct SymbolsDirectoryDefaultTypeInternal {
53 : PROTOBUF_CONSTEXPR SymbolsDirectoryDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
54 319 : ~SymbolsDirectoryDefaultTypeInternal() {}
55 : union {
56 : SymbolsDirectory _instance;
57 : };
58 : };
59 :
60 : PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT ODBDESIGN_EXPORT
61 : PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SymbolsDirectoryDefaultTypeInternal _SymbolsDirectory_default_instance_;
62 : } // namespace Protobuf
63 : } // namespace Lib
64 : } // namespace Odb
65 : static constexpr const ::_pb::EnumDescriptor* PROTOBUF_NONNULL* PROTOBUF_NULLABLE
66 : file_level_enum_descriptors_symbolsdirectory_2eproto = nullptr;
67 : static constexpr const ::_pb::ServiceDescriptor* PROTOBUF_NONNULL* PROTOBUF_NULLABLE
68 : file_level_service_descriptors_symbolsdirectory_2eproto = nullptr;
69 : const ::uint32_t
70 : TableStruct_symbolsdirectory_2eproto::offsets[] ABSL_ATTRIBUTE_SECTION_VARIABLE(
71 : protodesc_cold) = {
72 : 0x081, // bitmap
73 : PROTOBUF_FIELD_OFFSET(::Odb::Lib::Protobuf::SymbolsDirectory, _impl_._has_bits_),
74 : 7, // hasbit index offset
75 : PROTOBUF_FIELD_OFFSET(::Odb::Lib::Protobuf::SymbolsDirectory, _impl_.name_),
76 : PROTOBUF_FIELD_OFFSET(::Odb::Lib::Protobuf::SymbolsDirectory, _impl_.path_),
77 : PROTOBUF_FIELD_OFFSET(::Odb::Lib::Protobuf::SymbolsDirectory, _impl_.attrlistfile_),
78 : PROTOBUF_FIELD_OFFSET(::Odb::Lib::Protobuf::SymbolsDirectory, _impl_.featurefile_),
79 : 0,
80 : 1,
81 : 2,
82 : 3,
83 : };
84 :
85 : static const ::_pbi::MigrationSchema
86 : schemas[] ABSL_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = {
87 : {0, sizeof(::Odb::Lib::Protobuf::SymbolsDirectory)},
88 : };
89 : static const ::_pb::Message* PROTOBUF_NONNULL const file_default_instances[] = {
90 : &::Odb::Lib::Protobuf::_SymbolsDirectory_default_instance_._instance,
91 : };
92 : const char descriptor_table_protodef_symbolsdirectory_2eproto[] ABSL_ATTRIBUTE_SECTION_VARIABLE(
93 : protodesc_cold) = {
94 : "\n\026symbolsdirectory.proto\022\020Odb.Lib.Protob"
95 : "uf\032\022attrlistfile.proto\032\022featuresfile.pro"
96 : "to\"\340\001\n\020SymbolsDirectory\022\021\n\004name\030\001 \001(\tH\000\210"
97 : "\001\001\022\021\n\004path\030\002 \001(\tH\001\210\001\001\0229\n\014attrlistFile\030\003 "
98 : "\001(\0132\036.Odb.Lib.Protobuf.AttrListFileH\002\210\001\001"
99 : "\0228\n\013featureFile\030\004 \001(\0132\036.Odb.Lib.Protobuf"
100 : ".FeaturesFileH\003\210\001\001B\007\n\005_nameB\007\n\005_pathB\017\n\r"
101 : "_attrlistFileB\016\n\014_featureFileB\003\370\001\001b\006prot"
102 : "o3"
103 : };
104 : static const ::_pbi::DescriptorTable* PROTOBUF_NONNULL const
105 : descriptor_table_symbolsdirectory_2eproto_deps[2] = {
106 : &::descriptor_table_attrlistfile_2eproto,
107 : &::descriptor_table_featuresfile_2eproto,
108 : };
109 : static ::absl::once_flag descriptor_table_symbolsdirectory_2eproto_once;
110 : PROTOBUF_CONSTINIT const ::_pbi::DescriptorTable descriptor_table_symbolsdirectory_2eproto = {
111 : false,
112 : false,
113 : 322,
114 : descriptor_table_protodef_symbolsdirectory_2eproto,
115 : "symbolsdirectory.proto",
116 : &descriptor_table_symbolsdirectory_2eproto_once,
117 : descriptor_table_symbolsdirectory_2eproto_deps,
118 : 2,
119 : 1,
120 : schemas,
121 : file_default_instances,
122 : TableStruct_symbolsdirectory_2eproto::offsets,
123 : file_level_enum_descriptors_symbolsdirectory_2eproto,
124 : file_level_service_descriptors_symbolsdirectory_2eproto,
125 : };
126 : namespace Odb {
127 : namespace Lib {
128 : namespace Protobuf {
129 : // ===================================================================
130 :
131 : class SymbolsDirectory::_Internal {
132 : public:
133 : using HasBits =
134 : decltype(::std::declval<SymbolsDirectory>()._impl_._has_bits_);
135 : static constexpr ::int32_t kHasBitsOffset =
136 : 8 * PROTOBUF_FIELD_OFFSET(SymbolsDirectory, _impl_._has_bits_);
137 : };
138 :
139 0 : void SymbolsDirectory::clear_attrlistfile() {
140 0 : ::google::protobuf::internal::TSanWrite(&_impl_);
141 0 : if (_impl_.attrlistfile_ != nullptr) _impl_.attrlistfile_->Clear();
142 0 : ClearHasBit(_impl_._has_bits_[0],
143 : 0x00000004U);
144 0 : }
145 0 : void SymbolsDirectory::clear_featurefile() {
146 0 : ::google::protobuf::internal::TSanWrite(&_impl_);
147 0 : if (_impl_.featurefile_ != nullptr) _impl_.featurefile_->Clear();
148 0 : ClearHasBit(_impl_._has_bits_[0],
149 : 0x00000008U);
150 0 : }
151 24542 : SymbolsDirectory::SymbolsDirectory(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
152 : #if defined(PROTOBUF_CUSTOM_VTABLE)
153 : : ::google::protobuf::Message(arena, SymbolsDirectory_class_data_.base()) {
154 : #else // PROTOBUF_CUSTOM_VTABLE
155 24542 : : ::google::protobuf::Message(arena) {
156 : #endif // PROTOBUF_CUSTOM_VTABLE
157 24542 : SharedCtor(arena);
158 : // @@protoc_insertion_point(arena_constructor:Odb.Lib.Protobuf.SymbolsDirectory)
159 24542 : }
160 456 : PROTOBUF_NDEBUG_INLINE SymbolsDirectory::Impl_::Impl_(
161 : [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
162 : [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
163 456 : [[maybe_unused]] const ::Odb::Lib::Protobuf::SymbolsDirectory& from_msg)
164 456 : : _has_bits_{from._has_bits_},
165 456 : _cached_size_{0},
166 456 : name_(arena, from.name_),
167 456 : path_(arena, from.path_) {}
168 :
169 456 : SymbolsDirectory::SymbolsDirectory(
170 : ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
171 456 : const SymbolsDirectory& from)
172 : #if defined(PROTOBUF_CUSTOM_VTABLE)
173 : : ::google::protobuf::Message(arena, SymbolsDirectory_class_data_.base()) {
174 : #else // PROTOBUF_CUSTOM_VTABLE
175 456 : : ::google::protobuf::Message(arena) {
176 : #endif // PROTOBUF_CUSTOM_VTABLE
177 456 : SymbolsDirectory* const _this = this;
178 : (void)_this;
179 456 : _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
180 456 : from._internal_metadata_);
181 456 : new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
182 456 : ::uint32_t cached_has_bits = _impl_._has_bits_[0];
183 456 : _impl_.attrlistfile_ = (CheckHasBit(cached_has_bits, 0x00000004U))
184 912 : ? ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.attrlistfile_)
185 : : nullptr;
186 912 : _impl_.featurefile_ = (CheckHasBit(cached_has_bits, 0x00000008U))
187 912 : ? ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.featurefile_)
188 : : nullptr;
189 :
190 : // @@protoc_insertion_point(copy_constructor:Odb.Lib.Protobuf.SymbolsDirectory)
191 456 : }
192 24542 : PROTOBUF_NDEBUG_INLINE SymbolsDirectory::Impl_::Impl_(
193 : [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
194 24542 : [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
195 24542 : : _cached_size_{0},
196 24542 : name_(arena),
197 49084 : path_(arena) {}
198 :
199 24542 : inline void SymbolsDirectory::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
200 24542 : new (&_impl_) Impl_(internal_visibility(), arena);
201 24542 : ::memset(reinterpret_cast<char*>(&_impl_) +
202 : offsetof(Impl_, attrlistfile_),
203 : 0,
204 : offsetof(Impl_, featurefile_) -
205 : offsetof(Impl_, attrlistfile_) +
206 : sizeof(Impl_::featurefile_));
207 24542 : }
208 38699 : SymbolsDirectory::~SymbolsDirectory() {
209 : // @@protoc_insertion_point(destructor:Odb.Lib.Protobuf.SymbolsDirectory)
210 24998 : SharedDtor(*this);
211 38699 : }
212 24998 : inline void SymbolsDirectory::SharedDtor(MessageLite& self) {
213 24998 : SymbolsDirectory& this_ = static_cast<SymbolsDirectory&>(self);
214 : if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
215 24998 : this_.CheckHasBitConsistency();
216 : }
217 24998 : this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
218 24998 : ABSL_DCHECK(this_.GetArena() == nullptr);
219 24998 : this_._impl_.name_.Destroy();
220 24998 : this_._impl_.path_.Destroy();
221 24998 : delete this_._impl_.attrlistfile_;
222 24998 : delete this_._impl_.featurefile_;
223 24998 : this_._impl_.~Impl_();
224 24998 : }
225 :
226 9663 : inline void* PROTOBUF_NONNULL SymbolsDirectory::PlacementNew_(
227 : const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
228 : ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
229 9663 : return ::new (mem) SymbolsDirectory(arena);
230 : }
231 : constexpr auto SymbolsDirectory::InternalNewImpl_() {
232 : return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(SymbolsDirectory),
233 : alignof(SymbolsDirectory));
234 : }
235 : constexpr auto SymbolsDirectory::InternalGenerateClassData_() {
236 : return ::google::protobuf::internal::ClassDataFull{
237 : ::google::protobuf::internal::ClassData{
238 : &_SymbolsDirectory_default_instance_._instance,
239 : &_table_.header,
240 : nullptr, // OnDemandRegisterArenaDtor
241 : nullptr, // IsInitialized
242 : &SymbolsDirectory::MergeImpl,
243 : ::google::protobuf::Message::GetNewImpl<SymbolsDirectory>(),
244 : #if defined(PROTOBUF_CUSTOM_VTABLE)
245 : &SymbolsDirectory::SharedDtor,
246 : ::google::protobuf::Message::GetClearImpl<SymbolsDirectory>(), &SymbolsDirectory::ByteSizeLong,
247 : &SymbolsDirectory::_InternalSerialize,
248 : #endif // PROTOBUF_CUSTOM_VTABLE
249 : PROTOBUF_FIELD_OFFSET(SymbolsDirectory, _impl_._cached_size_),
250 : false,
251 : },
252 : &SymbolsDirectory::kDescriptorMethods,
253 : &descriptor_table_symbolsdirectory_2eproto,
254 : nullptr, // tracker
255 : };
256 : }
257 :
258 : PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
259 : ::google::protobuf::internal::ClassDataFull SymbolsDirectory_class_data_ =
260 : SymbolsDirectory::InternalGenerateClassData_();
261 :
262 : PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
263 170502 : SymbolsDirectory::GetClassData() const {
264 170502 : ::google::protobuf::internal::PrefetchToLocalCache(&SymbolsDirectory_class_data_);
265 170502 : ::google::protobuf::internal::PrefetchToLocalCache(SymbolsDirectory_class_data_.tc_table);
266 170502 : return SymbolsDirectory_class_data_.base();
267 : }
268 : PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
269 : const ::_pbi::TcParseTable<2, 4, 2, 50, 2>
270 : SymbolsDirectory::_table_ = {
271 : {
272 : PROTOBUF_FIELD_OFFSET(SymbolsDirectory, _impl_._has_bits_),
273 : 0, // no _extensions_
274 : 4, 24, // max_field_number, fast_idx_mask
275 : offsetof(decltype(_table_), field_lookup_table),
276 : 4294967280, // skipmap
277 : offsetof(decltype(_table_), field_entries),
278 : 4, // num_field_entries
279 : 2, // num_aux_entries
280 : offsetof(decltype(_table_), aux_entries),
281 : SymbolsDirectory_class_data_.base(),
282 : nullptr, // post_loop_handler
283 : ::_pbi::TcParser::GenericFallback, // fallback
284 : #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
285 : ::_pbi::TcParser::GetTable<::Odb::Lib::Protobuf::SymbolsDirectory>(), // to_prefetch
286 : #endif // PROTOBUF_PREFETCH_PARSE_TABLE
287 : }, {{
288 : // optional .Odb.Lib.Protobuf.FeaturesFile featureFile = 4;
289 : {::_pbi::TcParser::FastMtS1,
290 : {34, 3, 1,
291 : PROTOBUF_FIELD_OFFSET(SymbolsDirectory, _impl_.featurefile_)}},
292 : // optional string name = 1;
293 : {::_pbi::TcParser::FastUS1,
294 : {10, 0, 0,
295 : PROTOBUF_FIELD_OFFSET(SymbolsDirectory, _impl_.name_)}},
296 : // optional string path = 2;
297 : {::_pbi::TcParser::FastUS1,
298 : {18, 1, 0,
299 : PROTOBUF_FIELD_OFFSET(SymbolsDirectory, _impl_.path_)}},
300 : // optional .Odb.Lib.Protobuf.AttrListFile attrlistFile = 3;
301 : {::_pbi::TcParser::FastMtS1,
302 : {26, 2, 0,
303 : PROTOBUF_FIELD_OFFSET(SymbolsDirectory, _impl_.attrlistfile_)}},
304 : }}, {{
305 : 65535, 65535
306 : }}, {{
307 : // optional string name = 1;
308 : {PROTOBUF_FIELD_OFFSET(SymbolsDirectory, _impl_.name_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)},
309 : // optional string path = 2;
310 : {PROTOBUF_FIELD_OFFSET(SymbolsDirectory, _impl_.path_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)},
311 : // optional .Odb.Lib.Protobuf.AttrListFile attrlistFile = 3;
312 : {PROTOBUF_FIELD_OFFSET(SymbolsDirectory, _impl_.attrlistfile_), _Internal::kHasBitsOffset + 2, 0, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
313 : // optional .Odb.Lib.Protobuf.FeaturesFile featureFile = 4;
314 : {PROTOBUF_FIELD_OFFSET(SymbolsDirectory, _impl_.featurefile_), _Internal::kHasBitsOffset + 3, 1, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
315 : }},
316 : {{
317 : {::_pbi::TcParser::GetTable<::Odb::Lib::Protobuf::AttrListFile>()},
318 : {::_pbi::TcParser::GetTable<::Odb::Lib::Protobuf::FeaturesFile>()},
319 : }},
320 : {{
321 : "\41\4\4\0\0\0\0\0"
322 : "Odb.Lib.Protobuf.SymbolsDirectory"
323 : "name"
324 : "path"
325 : }},
326 : };
327 18604 : PROTOBUF_NOINLINE void SymbolsDirectory::Clear() {
328 : // @@protoc_insertion_point(message_clear_start:Odb.Lib.Protobuf.SymbolsDirectory)
329 18604 : ::google::protobuf::internal::TSanWrite(&_impl_);
330 18604 : ::uint32_t cached_has_bits = 0;
331 : // Prevent compiler warnings about cached_has_bits being unused
332 : (void) cached_has_bits;
333 :
334 18604 : cached_has_bits = _impl_._has_bits_[0];
335 18604 : if (BatchCheckHasBit(cached_has_bits, 0x0000000fU)) {
336 0 : if (CheckHasBit(cached_has_bits, 0x00000001U)) {
337 0 : _impl_.name_.ClearNonDefaultToEmpty();
338 : }
339 0 : if (CheckHasBit(cached_has_bits, 0x00000002U)) {
340 0 : _impl_.path_.ClearNonDefaultToEmpty();
341 : }
342 0 : if (CheckHasBit(cached_has_bits, 0x00000004U)) {
343 0 : ABSL_DCHECK(_impl_.attrlistfile_ != nullptr);
344 0 : _impl_.attrlistfile_->Clear();
345 : }
346 0 : if (CheckHasBit(cached_has_bits, 0x00000008U)) {
347 0 : ABSL_DCHECK(_impl_.featurefile_ != nullptr);
348 0 : _impl_.featurefile_->Clear();
349 : }
350 : }
351 18604 : _impl_._has_bits_.Clear();
352 18604 : _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
353 18604 : }
354 :
355 : #if defined(PROTOBUF_CUSTOM_VTABLE)
356 : ::uint8_t* PROTOBUF_NONNULL SymbolsDirectory::_InternalSerialize(
357 : const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
358 : ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
359 : const SymbolsDirectory& this_ = static_cast<const SymbolsDirectory&>(base);
360 : #else // PROTOBUF_CUSTOM_VTABLE
361 4876 : ::uint8_t* PROTOBUF_NONNULL SymbolsDirectory::_InternalSerialize(
362 : ::uint8_t* PROTOBUF_NONNULL target,
363 : ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
364 4876 : const SymbolsDirectory& this_ = *this;
365 : #endif // PROTOBUF_CUSTOM_VTABLE
366 : if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
367 4876 : this_.CheckHasBitConsistency();
368 : }
369 : // @@protoc_insertion_point(serialize_to_array_start:Odb.Lib.Protobuf.SymbolsDirectory)
370 4876 : ::uint32_t cached_has_bits = 0;
371 : (void)cached_has_bits;
372 :
373 4876 : cached_has_bits = this_._impl_._has_bits_[0];
374 : // optional string name = 1;
375 4876 : if (CheckHasBit(cached_has_bits, 0x00000001U)) {
376 4876 : const ::std::string& _s = this_._internal_name();
377 9752 : ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
378 4876 : _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "Odb.Lib.Protobuf.SymbolsDirectory.name");
379 4876 : target = stream->WriteStringMaybeAliased(1, _s, target);
380 : }
381 :
382 : // optional string path = 2;
383 4876 : if (CheckHasBit(cached_has_bits, 0x00000002U)) {
384 4876 : const ::std::string& _s = this_._internal_path();
385 9752 : ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
386 4876 : _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "Odb.Lib.Protobuf.SymbolsDirectory.path");
387 4876 : target = stream->WriteStringMaybeAliased(2, _s, target);
388 : }
389 :
390 : // optional .Odb.Lib.Protobuf.AttrListFile attrlistFile = 3;
391 4876 : if (CheckHasBit(cached_has_bits, 0x00000004U)) {
392 4876 : target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
393 4876 : 3, *this_._impl_.attrlistfile_, this_._impl_.attrlistfile_->GetCachedSize(), target,
394 : stream);
395 : }
396 :
397 : // optional .Odb.Lib.Protobuf.FeaturesFile featureFile = 4;
398 4876 : if (CheckHasBit(cached_has_bits, 0x00000008U)) {
399 4876 : target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
400 4876 : 4, *this_._impl_.featurefile_, this_._impl_.featurefile_->GetCachedSize(), target,
401 : stream);
402 : }
403 :
404 4876 : if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
405 : target =
406 0 : ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
407 : this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
408 : }
409 : // @@protoc_insertion_point(serialize_to_array_end:Odb.Lib.Protobuf.SymbolsDirectory)
410 4876 : return target;
411 : }
412 :
413 : #if defined(PROTOBUF_CUSTOM_VTABLE)
414 : ::size_t SymbolsDirectory::ByteSizeLong(const MessageLite& base) {
415 : const SymbolsDirectory& this_ = static_cast<const SymbolsDirectory&>(base);
416 : #else // PROTOBUF_CUSTOM_VTABLE
417 6262 : ::size_t SymbolsDirectory::ByteSizeLong() const {
418 6262 : const SymbolsDirectory& this_ = *this;
419 : #endif // PROTOBUF_CUSTOM_VTABLE
420 : // @@protoc_insertion_point(message_byte_size_start:Odb.Lib.Protobuf.SymbolsDirectory)
421 6262 : ::size_t total_size = 0;
422 :
423 6262 : ::uint32_t cached_has_bits = 0;
424 : // Prevent compiler warnings about cached_has_bits being unused
425 : (void)cached_has_bits;
426 :
427 : ::_pbi::Prefetch5LinesFrom7Lines(&this_);
428 6262 : cached_has_bits = this_._impl_._has_bits_[0];
429 6262 : if (BatchCheckHasBit(cached_has_bits, 0x0000000fU)) {
430 : // optional string name = 1;
431 6262 : if (CheckHasBit(cached_has_bits, 0x00000001U)) {
432 6262 : total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
433 : this_._internal_name());
434 : }
435 : // optional string path = 2;
436 6262 : if (CheckHasBit(cached_has_bits, 0x00000002U)) {
437 6262 : total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
438 : this_._internal_path());
439 : }
440 : // optional .Odb.Lib.Protobuf.AttrListFile attrlistFile = 3;
441 6262 : if (CheckHasBit(cached_has_bits, 0x00000004U)) {
442 6262 : total_size += 1 +
443 6262 : ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.attrlistfile_);
444 : }
445 : // optional .Odb.Lib.Protobuf.FeaturesFile featureFile = 4;
446 6262 : if (CheckHasBit(cached_has_bits, 0x00000008U)) {
447 6262 : total_size += 1 +
448 6262 : ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.featurefile_);
449 : }
450 : }
451 6262 : return this_.MaybeComputeUnknownFieldsSize(total_size,
452 6262 : &this_._impl_._cached_size_);
453 : }
454 :
455 18604 : void SymbolsDirectory::MergeImpl(::google::protobuf::MessageLite& to_msg,
456 : const ::google::protobuf::MessageLite& from_msg) {
457 18604 : auto* const _this =
458 : static_cast<SymbolsDirectory*>(&to_msg);
459 18604 : auto& from = static_cast<const SymbolsDirectory&>(from_msg);
460 : if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
461 18604 : from.CheckHasBitConsistency();
462 : }
463 18604 : ::google::protobuf::Arena* arena = _this->GetArena();
464 : // @@protoc_insertion_point(class_specific_merge_from_start:Odb.Lib.Protobuf.SymbolsDirectory)
465 18604 : ABSL_DCHECK_NE(&from, _this);
466 18604 : ::uint32_t cached_has_bits = 0;
467 : (void)cached_has_bits;
468 :
469 18604 : cached_has_bits = from._impl_._has_bits_[0];
470 18604 : if (BatchCheckHasBit(cached_has_bits, 0x0000000fU)) {
471 18604 : if (CheckHasBit(cached_has_bits, 0x00000001U)) {
472 18604 : _this->_internal_set_name(from._internal_name());
473 : }
474 18604 : if (CheckHasBit(cached_has_bits, 0x00000002U)) {
475 18604 : _this->_internal_set_path(from._internal_path());
476 : }
477 18604 : if (CheckHasBit(cached_has_bits, 0x00000004U)) {
478 18604 : ABSL_DCHECK(from._impl_.attrlistfile_ != nullptr);
479 18604 : if (_this->_impl_.attrlistfile_ == nullptr) {
480 37208 : _this->_impl_.attrlistfile_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.attrlistfile_);
481 : } else {
482 0 : _this->_impl_.attrlistfile_->MergeFrom(*from._impl_.attrlistfile_);
483 : }
484 : }
485 18604 : if (CheckHasBit(cached_has_bits, 0x00000008U)) {
486 18604 : ABSL_DCHECK(from._impl_.featurefile_ != nullptr);
487 18604 : if (_this->_impl_.featurefile_ == nullptr) {
488 37208 : _this->_impl_.featurefile_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.featurefile_);
489 : } else {
490 0 : _this->_impl_.featurefile_->MergeFrom(*from._impl_.featurefile_);
491 : }
492 : }
493 : }
494 18604 : _this->_impl_._has_bits_[0] |= cached_has_bits;
495 18604 : _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
496 18604 : from._internal_metadata_);
497 18604 : }
498 :
499 9891 : void SymbolsDirectory::CopyFrom(const SymbolsDirectory& from) {
500 : // @@protoc_insertion_point(class_specific_copy_from_start:Odb.Lib.Protobuf.SymbolsDirectory)
501 9891 : if (&from == this) return;
502 9891 : Clear();
503 9891 : MergeFrom(from);
504 : }
505 :
506 :
507 0 : void SymbolsDirectory::InternalSwap(SymbolsDirectory* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
508 : using ::std::swap;
509 0 : auto* arena = GetArena();
510 0 : ABSL_DCHECK_EQ(arena, other->GetArena());
511 0 : _internal_metadata_.InternalSwap(&other->_internal_metadata_);
512 0 : swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
513 0 : ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.name_, &other->_impl_.name_, arena);
514 0 : ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.path_, &other->_impl_.path_, arena);
515 : ::google::protobuf::internal::memswap<
516 : PROTOBUF_FIELD_OFFSET(SymbolsDirectory, _impl_.featurefile_)
517 : + sizeof(SymbolsDirectory::_impl_.featurefile_)
518 0 : - PROTOBUF_FIELD_OFFSET(SymbolsDirectory, _impl_.attrlistfile_)>(
519 0 : reinterpret_cast<char*>(&_impl_.attrlistfile_),
520 0 : reinterpret_cast<char*>(&other->_impl_.attrlistfile_));
521 0 : }
522 :
523 0 : ::google::protobuf::Metadata SymbolsDirectory::GetMetadata() const {
524 0 : return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
525 : }
526 : // @@protoc_insertion_point(namespace_scope)
527 : } // namespace Protobuf
528 : } // namespace Lib
529 : } // namespace Odb
530 : namespace google {
531 : namespace protobuf {
532 : } // namespace protobuf
533 : } // namespace google
534 : // @@protoc_insertion_point(global_scope)
535 : PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 static ::std::false_type
536 : _static_init2_ [[maybe_unused]] =
537 : (::_pbi::AddDescriptors(&descriptor_table_symbolsdirectory_2eproto),
538 : ::std::false_type{});
539 : #include "google/protobuf/port_undef.inc"
|