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 : #ifndef symbolsdirectory_2eproto_2epb_2eh
7 : #define symbolsdirectory_2eproto_2epb_2eh
8 :
9 : #include <limits>
10 : #include <string>
11 : #include <type_traits>
12 : #include <utility>
13 :
14 : #include "google/protobuf/runtime_version.h"
15 : #if PROTOBUF_VERSION != 6033004
16 : #error "Protobuf C++ gencode is built with an incompatible version of"
17 : #error "Protobuf C++ headers/runtime. See"
18 : #error "https://protobuf.dev/support/cross-version-runtime-guarantee/#cpp"
19 : #endif
20 : #include "google/protobuf/io/coded_stream.h"
21 : #include "google/protobuf/arena.h"
22 : #include "google/protobuf/arenastring.h"
23 : #include "google/protobuf/generated_message_tctable_decl.h"
24 : #include "google/protobuf/generated_message_util.h"
25 : #include "google/protobuf/metadata_lite.h"
26 : #include "google/protobuf/generated_message_reflection.h"
27 : #include "google/protobuf/message.h"
28 : #include "google/protobuf/message_lite.h"
29 : #include "google/protobuf/repeated_field.h" // IWYU pragma: export
30 : #include "google/protobuf/extension_set.h" // IWYU pragma: export
31 : #include "google/protobuf/unknown_field_set.h"
32 : #include "attrlistfile.pb.h"
33 : #include "featuresfile.pb.h"
34 : // @@protoc_insertion_point(includes)
35 :
36 : // Must be included last.
37 : #include "google/protobuf/port_def.inc"
38 :
39 : #define PROTOBUF_INTERNAL_EXPORT_symbolsdirectory_2eproto ODBDESIGN_EXPORT
40 :
41 : namespace google {
42 : namespace protobuf {
43 : namespace internal {
44 : template <typename T>
45 : ::absl::string_view GetAnyMessageName();
46 : } // namespace internal
47 : } // namespace protobuf
48 : } // namespace google
49 :
50 : // Internal implementation detail -- do not use these members.
51 : struct ODBDESIGN_EXPORT TableStruct_symbolsdirectory_2eproto {
52 : static const ::uint32_t offsets[];
53 : };
54 : extern "C" {
55 : ODBDESIGN_EXPORT extern const ::google::protobuf::internal::DescriptorTable descriptor_table_symbolsdirectory_2eproto;
56 : } // extern "C"
57 : namespace Odb {
58 : namespace Lib {
59 : namespace Protobuf {
60 : class SymbolsDirectory;
61 : struct SymbolsDirectoryDefaultTypeInternal;
62 : ODBDESIGN_EXPORT extern SymbolsDirectoryDefaultTypeInternal _SymbolsDirectory_default_instance_;
63 : ODBDESIGN_EXPORT extern const ::google::protobuf::internal::ClassDataFull SymbolsDirectory_class_data_;
64 : } // namespace Protobuf
65 : } // namespace Lib
66 : } // namespace Odb
67 : namespace google {
68 : namespace protobuf {
69 : } // namespace protobuf
70 : } // namespace google
71 :
72 : namespace Odb {
73 : namespace Lib {
74 : namespace Protobuf {
75 :
76 : // ===================================================================
77 :
78 :
79 : // -------------------------------------------------------------------
80 :
81 : class ODBDESIGN_EXPORT SymbolsDirectory final : public ::google::protobuf::Message
82 : /* @@protoc_insertion_point(class_definition:Odb.Lib.Protobuf.SymbolsDirectory) */ {
83 : public:
84 14879 : inline SymbolsDirectory() : SymbolsDirectory(nullptr) {}
85 : ~SymbolsDirectory() PROTOBUF_FINAL;
86 :
87 : #if defined(PROTOBUF_CUSTOM_VTABLE)
88 : void operator delete(SymbolsDirectory* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
89 : SharedDtor(*msg);
90 : ::google::protobuf::internal::SizedDelete(msg, sizeof(SymbolsDirectory));
91 : }
92 : #endif
93 :
94 : template <typename = void>
95 : explicit PROTOBUF_CONSTEXPR SymbolsDirectory(::google::protobuf::internal::ConstantInitialized);
96 :
97 456 : inline SymbolsDirectory(const SymbolsDirectory& from) : SymbolsDirectory(nullptr, from) {}
98 : inline SymbolsDirectory(SymbolsDirectory&& from) noexcept
99 : : SymbolsDirectory(nullptr, ::std::move(from)) {}
100 9891 : inline SymbolsDirectory& operator=(const SymbolsDirectory& from) {
101 9891 : CopyFrom(from);
102 9891 : return *this;
103 : }
104 : inline SymbolsDirectory& operator=(SymbolsDirectory&& from) noexcept {
105 : if (this == &from) return *this;
106 : if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
107 : InternalSwap(&from);
108 : } else {
109 : CopyFrom(from);
110 : }
111 : return *this;
112 : }
113 :
114 : inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
115 : ABSL_ATTRIBUTE_LIFETIME_BOUND {
116 : return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
117 : }
118 : inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
119 : ABSL_ATTRIBUTE_LIFETIME_BOUND {
120 : return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
121 : }
122 :
123 : static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
124 : return GetDescriptor();
125 : }
126 : static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
127 : return default_instance().GetMetadata().descriptor;
128 : }
129 : static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
130 : return default_instance().GetMetadata().reflection;
131 : }
132 : static const SymbolsDirectory& default_instance() {
133 : return *reinterpret_cast<const SymbolsDirectory*>(
134 : &_SymbolsDirectory_default_instance_);
135 : }
136 : static constexpr int kIndexInFileMessages = 0;
137 : friend void swap(SymbolsDirectory& a, SymbolsDirectory& b) { a.Swap(&b); }
138 : inline void Swap(SymbolsDirectory* PROTOBUF_NONNULL other) {
139 : if (other == this) return;
140 : if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
141 : InternalSwap(other);
142 : } else {
143 : ::google::protobuf::internal::GenericSwap(this, other);
144 : }
145 : }
146 : void UnsafeArenaSwap(SymbolsDirectory* PROTOBUF_NONNULL other) {
147 : if (other == this) return;
148 : ABSL_DCHECK(GetArena() == other->GetArena());
149 : InternalSwap(other);
150 : }
151 :
152 : // implements Message ----------------------------------------------
153 :
154 : SymbolsDirectory* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
155 : return ::google::protobuf::Message::DefaultConstruct<SymbolsDirectory>(arena);
156 : }
157 : using ::google::protobuf::Message::CopyFrom;
158 : void CopyFrom(const SymbolsDirectory& from);
159 : using ::google::protobuf::Message::MergeFrom;
160 9891 : void MergeFrom(const SymbolsDirectory& from) { SymbolsDirectory::MergeImpl(*this, from); }
161 :
162 : private:
163 : static void MergeImpl(::google::protobuf::MessageLite& to_msg,
164 : const ::google::protobuf::MessageLite& from_msg);
165 :
166 : public:
167 : bool IsInitialized() const {
168 : return true;
169 : }
170 : ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
171 : #if defined(PROTOBUF_CUSTOM_VTABLE)
172 : private:
173 : static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
174 : static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
175 : const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
176 : ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
177 :
178 : public:
179 : ::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
180 : ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
181 : ::uint8_t* PROTOBUF_NONNULL target,
182 : ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
183 : return _InternalSerialize(*this, target, stream);
184 : }
185 : #else // PROTOBUF_CUSTOM_VTABLE
186 : ::size_t ByteSizeLong() const final;
187 : ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
188 : ::uint8_t* PROTOBUF_NONNULL target,
189 : ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
190 : #endif // PROTOBUF_CUSTOM_VTABLE
191 9752 : int GetCachedSize() const { return _impl_._cached_size_.Get(); }
192 :
193 : private:
194 : void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
195 : static void SharedDtor(MessageLite& self);
196 : void InternalSwap(SymbolsDirectory* PROTOBUF_NONNULL other);
197 : private:
198 : template <typename T>
199 : friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
200 : static ::absl::string_view FullMessageName() { return "Odb.Lib.Protobuf.SymbolsDirectory"; }
201 :
202 : explicit SymbolsDirectory(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
203 : SymbolsDirectory(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const SymbolsDirectory& from);
204 : SymbolsDirectory(
205 : ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, SymbolsDirectory&& from) noexcept
206 : : SymbolsDirectory(arena) {
207 : *this = ::std::move(from);
208 : }
209 : const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
210 : static void* PROTOBUF_NONNULL PlacementNew_(
211 : const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
212 : ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
213 : static constexpr auto InternalNewImpl_();
214 :
215 : public:
216 : static constexpr auto InternalGenerateClassData_();
217 :
218 : ::google::protobuf::Metadata GetMetadata() const;
219 : // nested types ----------------------------------------------------
220 :
221 : // accessors -------------------------------------------------------
222 : enum : int {
223 : kNameFieldNumber = 1,
224 : kPathFieldNumber = 2,
225 : kAttrlistFileFieldNumber = 3,
226 : kFeatureFileFieldNumber = 4,
227 : };
228 : // optional string name = 1;
229 : bool has_name() const;
230 : void clear_name() ;
231 : const ::std::string& name() const;
232 : template <typename Arg_ = const ::std::string&, typename... Args_>
233 : void set_name(Arg_&& arg, Args_... args);
234 : ::std::string* PROTOBUF_NONNULL mutable_name();
235 : [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_name();
236 : void set_allocated_name(::std::string* PROTOBUF_NULLABLE value);
237 :
238 : private:
239 : const ::std::string& _internal_name() const;
240 : PROTOBUF_ALWAYS_INLINE void _internal_set_name(const ::std::string& value);
241 : ::std::string* PROTOBUF_NONNULL _internal_mutable_name();
242 :
243 : public:
244 : // optional string path = 2;
245 : bool has_path() const;
246 : void clear_path() ;
247 : const ::std::string& path() const;
248 : template <typename Arg_ = const ::std::string&, typename... Args_>
249 : void set_path(Arg_&& arg, Args_... args);
250 : ::std::string* PROTOBUF_NONNULL mutable_path();
251 : [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_path();
252 : void set_allocated_path(::std::string* PROTOBUF_NULLABLE value);
253 :
254 : private:
255 : const ::std::string& _internal_path() const;
256 : PROTOBUF_ALWAYS_INLINE void _internal_set_path(const ::std::string& value);
257 : ::std::string* PROTOBUF_NONNULL _internal_mutable_path();
258 :
259 : public:
260 : // optional .Odb.Lib.Protobuf.AttrListFile attrlistFile = 3;
261 : bool has_attrlistfile() const;
262 : void clear_attrlistfile() ;
263 : const ::Odb::Lib::Protobuf::AttrListFile& attrlistfile() const;
264 : [[nodiscard]] ::Odb::Lib::Protobuf::AttrListFile* PROTOBUF_NULLABLE release_attrlistfile();
265 : ::Odb::Lib::Protobuf::AttrListFile* PROTOBUF_NONNULL mutable_attrlistfile();
266 : void set_allocated_attrlistfile(::Odb::Lib::Protobuf::AttrListFile* PROTOBUF_NULLABLE value);
267 : void unsafe_arena_set_allocated_attrlistfile(::Odb::Lib::Protobuf::AttrListFile* PROTOBUF_NULLABLE value);
268 : ::Odb::Lib::Protobuf::AttrListFile* PROTOBUF_NULLABLE unsafe_arena_release_attrlistfile();
269 :
270 : private:
271 : const ::Odb::Lib::Protobuf::AttrListFile& _internal_attrlistfile() const;
272 : ::Odb::Lib::Protobuf::AttrListFile* PROTOBUF_NONNULL _internal_mutable_attrlistfile();
273 :
274 : public:
275 : // optional .Odb.Lib.Protobuf.FeaturesFile featureFile = 4;
276 : bool has_featurefile() const;
277 : void clear_featurefile() ;
278 : const ::Odb::Lib::Protobuf::FeaturesFile& featurefile() const;
279 : [[nodiscard]] ::Odb::Lib::Protobuf::FeaturesFile* PROTOBUF_NULLABLE release_featurefile();
280 : ::Odb::Lib::Protobuf::FeaturesFile* PROTOBUF_NONNULL mutable_featurefile();
281 : void set_allocated_featurefile(::Odb::Lib::Protobuf::FeaturesFile* PROTOBUF_NULLABLE value);
282 : void unsafe_arena_set_allocated_featurefile(::Odb::Lib::Protobuf::FeaturesFile* PROTOBUF_NULLABLE value);
283 : ::Odb::Lib::Protobuf::FeaturesFile* PROTOBUF_NULLABLE unsafe_arena_release_featurefile();
284 :
285 : private:
286 : const ::Odb::Lib::Protobuf::FeaturesFile& _internal_featurefile() const;
287 : ::Odb::Lib::Protobuf::FeaturesFile* PROTOBUF_NONNULL _internal_mutable_featurefile();
288 :
289 : public:
290 : // @@protoc_insertion_point(class_scope:Odb.Lib.Protobuf.SymbolsDirectory)
291 : private:
292 : class _Internal;
293 : friend class ::google::protobuf::internal::TcParser;
294 : static const ::google::protobuf::internal::TcParseTable<2, 4,
295 : 2, 50,
296 : 2>
297 : _table_;
298 :
299 : friend class ::google::protobuf::MessageLite;
300 : friend class ::google::protobuf::Arena;
301 : template <typename T>
302 : friend class ::google::protobuf::Arena::InternalHelper;
303 : using InternalArenaConstructable_ = void;
304 : using DestructorSkippable_ = void;
305 : struct Impl_ {
306 : inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
307 : inline explicit Impl_(
308 : ::google::protobuf::internal::InternalVisibility visibility,
309 : ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
310 : inline explicit Impl_(
311 : ::google::protobuf::internal::InternalVisibility visibility,
312 : ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
313 : const SymbolsDirectory& from_msg);
314 : ::google::protobuf::internal::HasBits<1> _has_bits_;
315 : ::google::protobuf::internal::CachedSize _cached_size_;
316 : ::google::protobuf::internal::ArenaStringPtr name_;
317 : ::google::protobuf::internal::ArenaStringPtr path_;
318 : ::Odb::Lib::Protobuf::AttrListFile* PROTOBUF_NULLABLE attrlistfile_;
319 : ::Odb::Lib::Protobuf::FeaturesFile* PROTOBUF_NULLABLE featurefile_;
320 : PROTOBUF_TSAN_DECLARE_MEMBER
321 : };
322 : union { Impl_ _impl_; };
323 : friend struct ::TableStruct_symbolsdirectory_2eproto;
324 : };
325 :
326 : ODBDESIGN_EXPORT extern const ::google::protobuf::internal::ClassDataFull SymbolsDirectory_class_data_;
327 :
328 : // ===================================================================
329 :
330 :
331 :
332 :
333 : // ===================================================================
334 :
335 :
336 : #ifdef __GNUC__
337 : #pragma GCC diagnostic push
338 : #pragma GCC diagnostic ignored "-Wstrict-aliasing"
339 : #endif // __GNUC__
340 : // -------------------------------------------------------------------
341 :
342 : // SymbolsDirectory
343 :
344 : // optional string name = 1;
345 : inline bool SymbolsDirectory::has_name() const {
346 : bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000001U);
347 : return value;
348 : }
349 : inline void SymbolsDirectory::clear_name() {
350 : ::google::protobuf::internal::TSanWrite(&_impl_);
351 : _impl_.name_.ClearToEmpty();
352 : ClearHasBit(_impl_._has_bits_[0],
353 : 0x00000001U);
354 : }
355 360 : inline const ::std::string& SymbolsDirectory::name() const
356 : ABSL_ATTRIBUTE_LIFETIME_BOUND {
357 : // @@protoc_insertion_point(field_get:Odb.Lib.Protobuf.SymbolsDirectory.name)
358 360 : return _internal_name();
359 : }
360 : template <typename Arg_, typename... Args_>
361 : PROTOBUF_ALWAYS_INLINE void SymbolsDirectory::set_name(Arg_&& arg, Args_... args) {
362 4988 : ::google::protobuf::internal::TSanWrite(&_impl_);
363 4988 : SetHasBit(_impl_._has_bits_[0], 0x00000001U);
364 4988 : _impl_.name_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
365 : // @@protoc_insertion_point(field_set:Odb.Lib.Protobuf.SymbolsDirectory.name)
366 4988 : }
367 : inline ::std::string* PROTOBUF_NONNULL SymbolsDirectory::mutable_name()
368 : ABSL_ATTRIBUTE_LIFETIME_BOUND {
369 : SetHasBit(_impl_._has_bits_[0], 0x00000001U);
370 : ::std::string* _s = _internal_mutable_name();
371 : // @@protoc_insertion_point(field_mutable:Odb.Lib.Protobuf.SymbolsDirectory.name)
372 : return _s;
373 : }
374 30102 : inline const ::std::string& SymbolsDirectory::_internal_name() const {
375 30102 : ::google::protobuf::internal::TSanRead(&_impl_);
376 30102 : return _impl_.name_.Get();
377 : }
378 : inline void SymbolsDirectory::_internal_set_name(const ::std::string& value) {
379 18604 : ::google::protobuf::internal::TSanWrite(&_impl_);
380 18604 : _impl_.name_.Set(value, GetArena());
381 18604 : }
382 : inline ::std::string* PROTOBUF_NONNULL SymbolsDirectory::_internal_mutable_name() {
383 : ::google::protobuf::internal::TSanWrite(&_impl_);
384 : return _impl_.name_.Mutable( GetArena());
385 : }
386 : inline ::std::string* PROTOBUF_NULLABLE SymbolsDirectory::release_name() {
387 : ::google::protobuf::internal::TSanWrite(&_impl_);
388 : // @@protoc_insertion_point(field_release:Odb.Lib.Protobuf.SymbolsDirectory.name)
389 : if (!CheckHasBit(_impl_._has_bits_[0], 0x00000001U)) {
390 : return nullptr;
391 : }
392 : ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
393 : auto* released = _impl_.name_.Release();
394 : if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
395 : _impl_.name_.Set("", GetArena());
396 : }
397 : return released;
398 : }
399 : inline void SymbolsDirectory::set_allocated_name(::std::string* PROTOBUF_NULLABLE value) {
400 : ::google::protobuf::internal::TSanWrite(&_impl_);
401 : if (value != nullptr) {
402 : SetHasBit(_impl_._has_bits_[0], 0x00000001U);
403 : } else {
404 : ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
405 : }
406 : _impl_.name_.SetAllocated(value, GetArena());
407 : if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.name_.IsDefault()) {
408 : _impl_.name_.Set("", GetArena());
409 : }
410 : // @@protoc_insertion_point(field_set_allocated:Odb.Lib.Protobuf.SymbolsDirectory.name)
411 : }
412 :
413 : // optional string path = 2;
414 : inline bool SymbolsDirectory::has_path() const {
415 : bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000002U);
416 : return value;
417 : }
418 : inline void SymbolsDirectory::clear_path() {
419 : ::google::protobuf::internal::TSanWrite(&_impl_);
420 : _impl_.path_.ClearToEmpty();
421 : ClearHasBit(_impl_._has_bits_[0],
422 : 0x00000002U);
423 : }
424 360 : inline const ::std::string& SymbolsDirectory::path() const
425 : ABSL_ATTRIBUTE_LIFETIME_BOUND {
426 : // @@protoc_insertion_point(field_get:Odb.Lib.Protobuf.SymbolsDirectory.path)
427 360 : return _internal_path();
428 : }
429 : template <typename Arg_, typename... Args_>
430 : PROTOBUF_ALWAYS_INLINE void SymbolsDirectory::set_path(Arg_&& arg, Args_... args) {
431 4988 : ::google::protobuf::internal::TSanWrite(&_impl_);
432 4988 : SetHasBit(_impl_._has_bits_[0], 0x00000002U);
433 4988 : _impl_.path_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
434 : // @@protoc_insertion_point(field_set:Odb.Lib.Protobuf.SymbolsDirectory.path)
435 4988 : }
436 : inline ::std::string* PROTOBUF_NONNULL SymbolsDirectory::mutable_path()
437 : ABSL_ATTRIBUTE_LIFETIME_BOUND {
438 : SetHasBit(_impl_._has_bits_[0], 0x00000002U);
439 : ::std::string* _s = _internal_mutable_path();
440 : // @@protoc_insertion_point(field_mutable:Odb.Lib.Protobuf.SymbolsDirectory.path)
441 : return _s;
442 : }
443 30102 : inline const ::std::string& SymbolsDirectory::_internal_path() const {
444 30102 : ::google::protobuf::internal::TSanRead(&_impl_);
445 30102 : return _impl_.path_.Get();
446 : }
447 : inline void SymbolsDirectory::_internal_set_path(const ::std::string& value) {
448 18604 : ::google::protobuf::internal::TSanWrite(&_impl_);
449 18604 : _impl_.path_.Set(value, GetArena());
450 18604 : }
451 : inline ::std::string* PROTOBUF_NONNULL SymbolsDirectory::_internal_mutable_path() {
452 : ::google::protobuf::internal::TSanWrite(&_impl_);
453 : return _impl_.path_.Mutable( GetArena());
454 : }
455 : inline ::std::string* PROTOBUF_NULLABLE SymbolsDirectory::release_path() {
456 : ::google::protobuf::internal::TSanWrite(&_impl_);
457 : // @@protoc_insertion_point(field_release:Odb.Lib.Protobuf.SymbolsDirectory.path)
458 : if (!CheckHasBit(_impl_._has_bits_[0], 0x00000002U)) {
459 : return nullptr;
460 : }
461 : ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
462 : auto* released = _impl_.path_.Release();
463 : if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
464 : _impl_.path_.Set("", GetArena());
465 : }
466 : return released;
467 : }
468 : inline void SymbolsDirectory::set_allocated_path(::std::string* PROTOBUF_NULLABLE value) {
469 : ::google::protobuf::internal::TSanWrite(&_impl_);
470 : if (value != nullptr) {
471 : SetHasBit(_impl_._has_bits_[0], 0x00000002U);
472 : } else {
473 : ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
474 : }
475 : _impl_.path_.SetAllocated(value, GetArena());
476 : if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.path_.IsDefault()) {
477 : _impl_.path_.Set("", GetArena());
478 : }
479 : // @@protoc_insertion_point(field_set_allocated:Odb.Lib.Protobuf.SymbolsDirectory.path)
480 : }
481 :
482 : // optional .Odb.Lib.Protobuf.AttrListFile attrlistFile = 3;
483 : inline bool SymbolsDirectory::has_attrlistfile() const {
484 : bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000004U);
485 : PROTOBUF_ASSUME(!value || _impl_.attrlistfile_ != nullptr);
486 : return value;
487 : }
488 360 : inline const ::Odb::Lib::Protobuf::AttrListFile& SymbolsDirectory::_internal_attrlistfile() const {
489 360 : ::google::protobuf::internal::TSanRead(&_impl_);
490 360 : const ::Odb::Lib::Protobuf::AttrListFile* p = _impl_.attrlistfile_;
491 360 : return p != nullptr ? *p : reinterpret_cast<const ::Odb::Lib::Protobuf::AttrListFile&>(::Odb::Lib::Protobuf::_AttrListFile_default_instance_);
492 : }
493 360 : inline const ::Odb::Lib::Protobuf::AttrListFile& SymbolsDirectory::attrlistfile() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
494 : // @@protoc_insertion_point(field_get:Odb.Lib.Protobuf.SymbolsDirectory.attrlistFile)
495 360 : return _internal_attrlistfile();
496 : }
497 : inline void SymbolsDirectory::unsafe_arena_set_allocated_attrlistfile(
498 : ::Odb::Lib::Protobuf::AttrListFile* PROTOBUF_NULLABLE value) {
499 : ::google::protobuf::internal::TSanWrite(&_impl_);
500 : if (GetArena() == nullptr) {
501 : delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.attrlistfile_);
502 : }
503 : _impl_.attrlistfile_ = reinterpret_cast<::Odb::Lib::Protobuf::AttrListFile*>(value);
504 : if (value != nullptr) {
505 : SetHasBit(_impl_._has_bits_[0], 0x00000004U);
506 : } else {
507 : ClearHasBit(_impl_._has_bits_[0], 0x00000004U);
508 : }
509 : // @@protoc_insertion_point(field_unsafe_arena_set_allocated:Odb.Lib.Protobuf.SymbolsDirectory.attrlistFile)
510 : }
511 : inline ::Odb::Lib::Protobuf::AttrListFile* PROTOBUF_NULLABLE SymbolsDirectory::release_attrlistfile() {
512 : ::google::protobuf::internal::TSanWrite(&_impl_);
513 :
514 : ClearHasBit(_impl_._has_bits_[0], 0x00000004U);
515 : ::Odb::Lib::Protobuf::AttrListFile* released = _impl_.attrlistfile_;
516 : _impl_.attrlistfile_ = nullptr;
517 : if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
518 : auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
519 : released = ::google::protobuf::internal::DuplicateIfNonNull(released);
520 : if (GetArena() == nullptr) {
521 : delete old;
522 : }
523 : } else {
524 : if (GetArena() != nullptr) {
525 : released = ::google::protobuf::internal::DuplicateIfNonNull(released);
526 : }
527 : }
528 : return released;
529 : }
530 : inline ::Odb::Lib::Protobuf::AttrListFile* PROTOBUF_NULLABLE SymbolsDirectory::unsafe_arena_release_attrlistfile() {
531 : ::google::protobuf::internal::TSanWrite(&_impl_);
532 : // @@protoc_insertion_point(field_release:Odb.Lib.Protobuf.SymbolsDirectory.attrlistFile)
533 :
534 : ClearHasBit(_impl_._has_bits_[0], 0x00000004U);
535 : ::Odb::Lib::Protobuf::AttrListFile* temp = _impl_.attrlistfile_;
536 : _impl_.attrlistfile_ = nullptr;
537 : return temp;
538 : }
539 4988 : inline ::Odb::Lib::Protobuf::AttrListFile* PROTOBUF_NONNULL SymbolsDirectory::_internal_mutable_attrlistfile() {
540 4988 : ::google::protobuf::internal::TSanWrite(&_impl_);
541 4988 : if (_impl_.attrlistfile_ == nullptr) {
542 4988 : auto* p = ::google::protobuf::Message::DefaultConstruct<::Odb::Lib::Protobuf::AttrListFile>(GetArena());
543 4988 : _impl_.attrlistfile_ = reinterpret_cast<::Odb::Lib::Protobuf::AttrListFile*>(p);
544 : }
545 4988 : return _impl_.attrlistfile_;
546 : }
547 4988 : inline ::Odb::Lib::Protobuf::AttrListFile* PROTOBUF_NONNULL SymbolsDirectory::mutable_attrlistfile()
548 : ABSL_ATTRIBUTE_LIFETIME_BOUND {
549 4988 : SetHasBit(_impl_._has_bits_[0], 0x00000004U);
550 4988 : ::Odb::Lib::Protobuf::AttrListFile* _msg = _internal_mutable_attrlistfile();
551 : // @@protoc_insertion_point(field_mutable:Odb.Lib.Protobuf.SymbolsDirectory.attrlistFile)
552 4988 : return _msg;
553 : }
554 : inline void SymbolsDirectory::set_allocated_attrlistfile(::Odb::Lib::Protobuf::AttrListFile* PROTOBUF_NULLABLE value) {
555 : ::google::protobuf::Arena* message_arena = GetArena();
556 : ::google::protobuf::internal::TSanWrite(&_impl_);
557 : if (message_arena == nullptr) {
558 : delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.attrlistfile_);
559 : }
560 :
561 : if (value != nullptr) {
562 : ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::Message*>(value)->GetArena();
563 : if (message_arena != submessage_arena) {
564 : value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
565 : }
566 : SetHasBit(_impl_._has_bits_[0], 0x00000004U);
567 : } else {
568 : ClearHasBit(_impl_._has_bits_[0], 0x00000004U);
569 : }
570 :
571 : _impl_.attrlistfile_ = reinterpret_cast<::Odb::Lib::Protobuf::AttrListFile*>(value);
572 : // @@protoc_insertion_point(field_set_allocated:Odb.Lib.Protobuf.SymbolsDirectory.attrlistFile)
573 : }
574 :
575 : // optional .Odb.Lib.Protobuf.FeaturesFile featureFile = 4;
576 : inline bool SymbolsDirectory::has_featurefile() const {
577 : bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000008U);
578 : PROTOBUF_ASSUME(!value || _impl_.featurefile_ != nullptr);
579 : return value;
580 : }
581 360 : inline const ::Odb::Lib::Protobuf::FeaturesFile& SymbolsDirectory::_internal_featurefile() const {
582 360 : ::google::protobuf::internal::TSanRead(&_impl_);
583 360 : const ::Odb::Lib::Protobuf::FeaturesFile* p = _impl_.featurefile_;
584 360 : return p != nullptr ? *p : reinterpret_cast<const ::Odb::Lib::Protobuf::FeaturesFile&>(::Odb::Lib::Protobuf::_FeaturesFile_default_instance_);
585 : }
586 360 : inline const ::Odb::Lib::Protobuf::FeaturesFile& SymbolsDirectory::featurefile() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
587 : // @@protoc_insertion_point(field_get:Odb.Lib.Protobuf.SymbolsDirectory.featureFile)
588 360 : return _internal_featurefile();
589 : }
590 : inline void SymbolsDirectory::unsafe_arena_set_allocated_featurefile(
591 : ::Odb::Lib::Protobuf::FeaturesFile* PROTOBUF_NULLABLE value) {
592 : ::google::protobuf::internal::TSanWrite(&_impl_);
593 : if (GetArena() == nullptr) {
594 : delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.featurefile_);
595 : }
596 : _impl_.featurefile_ = reinterpret_cast<::Odb::Lib::Protobuf::FeaturesFile*>(value);
597 : if (value != nullptr) {
598 : SetHasBit(_impl_._has_bits_[0], 0x00000008U);
599 : } else {
600 : ClearHasBit(_impl_._has_bits_[0], 0x00000008U);
601 : }
602 : // @@protoc_insertion_point(field_unsafe_arena_set_allocated:Odb.Lib.Protobuf.SymbolsDirectory.featureFile)
603 : }
604 : inline ::Odb::Lib::Protobuf::FeaturesFile* PROTOBUF_NULLABLE SymbolsDirectory::release_featurefile() {
605 : ::google::protobuf::internal::TSanWrite(&_impl_);
606 :
607 : ClearHasBit(_impl_._has_bits_[0], 0x00000008U);
608 : ::Odb::Lib::Protobuf::FeaturesFile* released = _impl_.featurefile_;
609 : _impl_.featurefile_ = nullptr;
610 : if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
611 : auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
612 : released = ::google::protobuf::internal::DuplicateIfNonNull(released);
613 : if (GetArena() == nullptr) {
614 : delete old;
615 : }
616 : } else {
617 : if (GetArena() != nullptr) {
618 : released = ::google::protobuf::internal::DuplicateIfNonNull(released);
619 : }
620 : }
621 : return released;
622 : }
623 : inline ::Odb::Lib::Protobuf::FeaturesFile* PROTOBUF_NULLABLE SymbolsDirectory::unsafe_arena_release_featurefile() {
624 : ::google::protobuf::internal::TSanWrite(&_impl_);
625 : // @@protoc_insertion_point(field_release:Odb.Lib.Protobuf.SymbolsDirectory.featureFile)
626 :
627 : ClearHasBit(_impl_._has_bits_[0], 0x00000008U);
628 : ::Odb::Lib::Protobuf::FeaturesFile* temp = _impl_.featurefile_;
629 : _impl_.featurefile_ = nullptr;
630 : return temp;
631 : }
632 4988 : inline ::Odb::Lib::Protobuf::FeaturesFile* PROTOBUF_NONNULL SymbolsDirectory::_internal_mutable_featurefile() {
633 4988 : ::google::protobuf::internal::TSanWrite(&_impl_);
634 4988 : if (_impl_.featurefile_ == nullptr) {
635 4988 : auto* p = ::google::protobuf::Message::DefaultConstruct<::Odb::Lib::Protobuf::FeaturesFile>(GetArena());
636 4988 : _impl_.featurefile_ = reinterpret_cast<::Odb::Lib::Protobuf::FeaturesFile*>(p);
637 : }
638 4988 : return _impl_.featurefile_;
639 : }
640 4988 : inline ::Odb::Lib::Protobuf::FeaturesFile* PROTOBUF_NONNULL SymbolsDirectory::mutable_featurefile()
641 : ABSL_ATTRIBUTE_LIFETIME_BOUND {
642 4988 : SetHasBit(_impl_._has_bits_[0], 0x00000008U);
643 4988 : ::Odb::Lib::Protobuf::FeaturesFile* _msg = _internal_mutable_featurefile();
644 : // @@protoc_insertion_point(field_mutable:Odb.Lib.Protobuf.SymbolsDirectory.featureFile)
645 4988 : return _msg;
646 : }
647 : inline void SymbolsDirectory::set_allocated_featurefile(::Odb::Lib::Protobuf::FeaturesFile* PROTOBUF_NULLABLE value) {
648 : ::google::protobuf::Arena* message_arena = GetArena();
649 : ::google::protobuf::internal::TSanWrite(&_impl_);
650 : if (message_arena == nullptr) {
651 : delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.featurefile_);
652 : }
653 :
654 : if (value != nullptr) {
655 : ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::Message*>(value)->GetArena();
656 : if (message_arena != submessage_arena) {
657 : value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
658 : }
659 : SetHasBit(_impl_._has_bits_[0], 0x00000008U);
660 : } else {
661 : ClearHasBit(_impl_._has_bits_[0], 0x00000008U);
662 : }
663 :
664 : _impl_.featurefile_ = reinterpret_cast<::Odb::Lib::Protobuf::FeaturesFile*>(value);
665 : // @@protoc_insertion_point(field_set_allocated:Odb.Lib.Protobuf.SymbolsDirectory.featureFile)
666 : }
667 :
668 : #ifdef __GNUC__
669 : #pragma GCC diagnostic pop
670 : #endif // __GNUC__
671 :
672 : // @@protoc_insertion_point(namespace_scope)
673 : } // namespace Protobuf
674 : } // namespace Lib
675 : } // namespace Odb
676 :
677 :
678 : // @@protoc_insertion_point(global_scope)
679 :
680 : #include "google/protobuf/port_undef.inc"
681 :
682 : #endif // symbolsdirectory_2eproto_2epb_2eh
|