Line data Source code
1 : // Generated by the protocol buffer compiler. DO NOT EDIT!
2 : // NO CHECKED-IN PROTOBUF GENCODE
3 : // source: layerdirectory.proto
4 : // Protobuf C++ Version: 6.33.4
5 :
6 : #ifndef layerdirectory_2eproto_2epb_2eh
7 : #define layerdirectory_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 "componentsfile.pb.h"
33 : #include "attrlistfile.pb.h"
34 : #include "featuresfile.pb.h"
35 : #include "toolsfile.pb.h"
36 : // @@protoc_insertion_point(includes)
37 :
38 : // Must be included last.
39 : #include "google/protobuf/port_def.inc"
40 :
41 : #define PROTOBUF_INTERNAL_EXPORT_layerdirectory_2eproto ODBDESIGN_EXPORT
42 :
43 : namespace google {
44 : namespace protobuf {
45 : namespace internal {
46 : template <typename T>
47 : ::absl::string_view GetAnyMessageName();
48 : } // namespace internal
49 : } // namespace protobuf
50 : } // namespace google
51 :
52 : // Internal implementation detail -- do not use these members.
53 : struct ODBDESIGN_EXPORT TableStruct_layerdirectory_2eproto {
54 : static const ::uint32_t offsets[];
55 : };
56 : extern "C" {
57 : ODBDESIGN_EXPORT extern const ::google::protobuf::internal::DescriptorTable descriptor_table_layerdirectory_2eproto;
58 : } // extern "C"
59 : namespace Odb {
60 : namespace Lib {
61 : namespace Protobuf {
62 : class LayerDirectory;
63 : struct LayerDirectoryDefaultTypeInternal;
64 : ODBDESIGN_EXPORT extern LayerDirectoryDefaultTypeInternal _LayerDirectory_default_instance_;
65 : ODBDESIGN_EXPORT extern const ::google::protobuf::internal::ClassDataFull LayerDirectory_class_data_;
66 : } // namespace Protobuf
67 : } // namespace Lib
68 : } // namespace Odb
69 : namespace google {
70 : namespace protobuf {
71 : } // namespace protobuf
72 : } // namespace google
73 :
74 : namespace Odb {
75 : namespace Lib {
76 : namespace Protobuf {
77 :
78 : // ===================================================================
79 :
80 :
81 : // -------------------------------------------------------------------
82 :
83 : class ODBDESIGN_EXPORT LayerDirectory final : public ::google::protobuf::Message
84 : /* @@protoc_insertion_point(class_definition:Odb.Lib.Protobuf.LayerDirectory) */ {
85 : public:
86 14832 : inline LayerDirectory() : LayerDirectory(nullptr) {}
87 : ~LayerDirectory() PROTOBUF_FINAL;
88 :
89 : #if defined(PROTOBUF_CUSTOM_VTABLE)
90 : void operator delete(LayerDirectory* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
91 : SharedDtor(*msg);
92 : ::google::protobuf::internal::SizedDelete(msg, sizeof(LayerDirectory));
93 : }
94 : #endif
95 :
96 : template <typename = void>
97 : explicit PROTOBUF_CONSTEXPR LayerDirectory(::google::protobuf::internal::ConstantInitialized);
98 :
99 312 : inline LayerDirectory(const LayerDirectory& from) : LayerDirectory(nullptr, from) {}
100 : inline LayerDirectory(LayerDirectory&& from) noexcept
101 : : LayerDirectory(nullptr, ::std::move(from)) {}
102 12150 : inline LayerDirectory& operator=(const LayerDirectory& from) {
103 12150 : CopyFrom(from);
104 12150 : return *this;
105 : }
106 : inline LayerDirectory& operator=(LayerDirectory&& from) noexcept {
107 : if (this == &from) return *this;
108 : if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
109 : InternalSwap(&from);
110 : } else {
111 : CopyFrom(from);
112 : }
113 : return *this;
114 : }
115 :
116 : inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
117 : ABSL_ATTRIBUTE_LIFETIME_BOUND {
118 : return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
119 : }
120 : inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
121 : ABSL_ATTRIBUTE_LIFETIME_BOUND {
122 : return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
123 : }
124 :
125 : static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
126 : return GetDescriptor();
127 : }
128 : static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
129 : return default_instance().GetMetadata().descriptor;
130 : }
131 : static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
132 : return default_instance().GetMetadata().reflection;
133 : }
134 : static const LayerDirectory& default_instance() {
135 : return *reinterpret_cast<const LayerDirectory*>(
136 : &_LayerDirectory_default_instance_);
137 : }
138 : static constexpr int kIndexInFileMessages = 0;
139 : friend void swap(LayerDirectory& a, LayerDirectory& b) { a.Swap(&b); }
140 : inline void Swap(LayerDirectory* PROTOBUF_NONNULL other) {
141 : if (other == this) return;
142 : if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
143 : InternalSwap(other);
144 : } else {
145 : ::google::protobuf::internal::GenericSwap(this, other);
146 : }
147 : }
148 : void UnsafeArenaSwap(LayerDirectory* PROTOBUF_NONNULL other) {
149 : if (other == this) return;
150 : ABSL_DCHECK(GetArena() == other->GetArena());
151 : InternalSwap(other);
152 : }
153 :
154 : // implements Message ----------------------------------------------
155 :
156 : LayerDirectory* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
157 : return ::google::protobuf::Message::DefaultConstruct<LayerDirectory>(arena);
158 : }
159 : using ::google::protobuf::Message::CopyFrom;
160 : void CopyFrom(const LayerDirectory& from);
161 : using ::google::protobuf::Message::MergeFrom;
162 12150 : void MergeFrom(const LayerDirectory& from) { LayerDirectory::MergeImpl(*this, from); }
163 :
164 : private:
165 : static void MergeImpl(::google::protobuf::MessageLite& to_msg,
166 : const ::google::protobuf::MessageLite& from_msg);
167 :
168 : public:
169 : bool IsInitialized() const {
170 : return true;
171 : }
172 : ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
173 : #if defined(PROTOBUF_CUSTOM_VTABLE)
174 : private:
175 : static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
176 : static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
177 : const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
178 : ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
179 :
180 : public:
181 : ::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
182 : ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
183 : ::uint8_t* PROTOBUF_NONNULL target,
184 : ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
185 : return _InternalSerialize(*this, target, stream);
186 : }
187 : #else // PROTOBUF_CUSTOM_VTABLE
188 : ::size_t ByteSizeLong() const final;
189 : ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
190 : ::uint8_t* PROTOBUF_NONNULL target,
191 : ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
192 : #endif // PROTOBUF_CUSTOM_VTABLE
193 5476 : int GetCachedSize() const { return _impl_._cached_size_.Get(); }
194 :
195 : private:
196 : void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
197 : static void SharedDtor(MessageLite& self);
198 : void InternalSwap(LayerDirectory* PROTOBUF_NONNULL other);
199 : private:
200 : template <typename T>
201 : friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
202 : static ::absl::string_view FullMessageName() { return "Odb.Lib.Protobuf.LayerDirectory"; }
203 :
204 : explicit LayerDirectory(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
205 : LayerDirectory(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const LayerDirectory& from);
206 : LayerDirectory(
207 : ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, LayerDirectory&& from) noexcept
208 : : LayerDirectory(arena) {
209 : *this = ::std::move(from);
210 : }
211 : const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
212 : static void* PROTOBUF_NONNULL PlacementNew_(
213 : const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
214 : ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
215 : static constexpr auto InternalNewImpl_();
216 :
217 : public:
218 : static constexpr auto InternalGenerateClassData_();
219 :
220 : ::google::protobuf::Metadata GetMetadata() const;
221 : // nested types ----------------------------------------------------
222 :
223 : // accessors -------------------------------------------------------
224 : enum : int {
225 : kNameFieldNumber = 1,
226 : kPathFieldNumber = 2,
227 : kComponentsFieldNumber = 3,
228 : kAttrlistFileFieldNumber = 4,
229 : kFeatureFileFieldNumber = 5,
230 : kToolsFieldNumber = 7,
231 : };
232 : // optional string name = 1;
233 : bool has_name() const;
234 : void clear_name() ;
235 : const ::std::string& name() const;
236 : template <typename Arg_ = const ::std::string&, typename... Args_>
237 : void set_name(Arg_&& arg, Args_... args);
238 : ::std::string* PROTOBUF_NONNULL mutable_name();
239 : [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_name();
240 : void set_allocated_name(::std::string* PROTOBUF_NULLABLE value);
241 :
242 : private:
243 : const ::std::string& _internal_name() const;
244 : PROTOBUF_ALWAYS_INLINE void _internal_set_name(const ::std::string& value);
245 : ::std::string* PROTOBUF_NONNULL _internal_mutable_name();
246 :
247 : public:
248 : // optional string path = 2;
249 : bool has_path() const;
250 : void clear_path() ;
251 : const ::std::string& path() const;
252 : template <typename Arg_ = const ::std::string&, typename... Args_>
253 : void set_path(Arg_&& arg, Args_... args);
254 : ::std::string* PROTOBUF_NONNULL mutable_path();
255 : [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_path();
256 : void set_allocated_path(::std::string* PROTOBUF_NULLABLE value);
257 :
258 : private:
259 : const ::std::string& _internal_path() const;
260 : PROTOBUF_ALWAYS_INLINE void _internal_set_path(const ::std::string& value);
261 : ::std::string* PROTOBUF_NONNULL _internal_mutable_path();
262 :
263 : public:
264 : // optional .Odb.Lib.Protobuf.ComponentsFile components = 3;
265 : bool has_components() const;
266 : void clear_components() ;
267 : const ::Odb::Lib::Protobuf::ComponentsFile& components() const;
268 : [[nodiscard]] ::Odb::Lib::Protobuf::ComponentsFile* PROTOBUF_NULLABLE release_components();
269 : ::Odb::Lib::Protobuf::ComponentsFile* PROTOBUF_NONNULL mutable_components();
270 : void set_allocated_components(::Odb::Lib::Protobuf::ComponentsFile* PROTOBUF_NULLABLE value);
271 : void unsafe_arena_set_allocated_components(::Odb::Lib::Protobuf::ComponentsFile* PROTOBUF_NULLABLE value);
272 : ::Odb::Lib::Protobuf::ComponentsFile* PROTOBUF_NULLABLE unsafe_arena_release_components();
273 :
274 : private:
275 : const ::Odb::Lib::Protobuf::ComponentsFile& _internal_components() const;
276 : ::Odb::Lib::Protobuf::ComponentsFile* PROTOBUF_NONNULL _internal_mutable_components();
277 :
278 : public:
279 : // optional .Odb.Lib.Protobuf.AttrListFile attrlistFile = 4;
280 : bool has_attrlistfile() const;
281 : void clear_attrlistfile() ;
282 : const ::Odb::Lib::Protobuf::AttrListFile& attrlistfile() const;
283 : [[nodiscard]] ::Odb::Lib::Protobuf::AttrListFile* PROTOBUF_NULLABLE release_attrlistfile();
284 : ::Odb::Lib::Protobuf::AttrListFile* PROTOBUF_NONNULL mutable_attrlistfile();
285 : void set_allocated_attrlistfile(::Odb::Lib::Protobuf::AttrListFile* PROTOBUF_NULLABLE value);
286 : void unsafe_arena_set_allocated_attrlistfile(::Odb::Lib::Protobuf::AttrListFile* PROTOBUF_NULLABLE value);
287 : ::Odb::Lib::Protobuf::AttrListFile* PROTOBUF_NULLABLE unsafe_arena_release_attrlistfile();
288 :
289 : private:
290 : const ::Odb::Lib::Protobuf::AttrListFile& _internal_attrlistfile() const;
291 : ::Odb::Lib::Protobuf::AttrListFile* PROTOBUF_NONNULL _internal_mutable_attrlistfile();
292 :
293 : public:
294 : // optional .Odb.Lib.Protobuf.FeaturesFile featureFile = 5;
295 : bool has_featurefile() const;
296 : void clear_featurefile() ;
297 : const ::Odb::Lib::Protobuf::FeaturesFile& featurefile() const;
298 : [[nodiscard]] ::Odb::Lib::Protobuf::FeaturesFile* PROTOBUF_NULLABLE release_featurefile();
299 : ::Odb::Lib::Protobuf::FeaturesFile* PROTOBUF_NONNULL mutable_featurefile();
300 : void set_allocated_featurefile(::Odb::Lib::Protobuf::FeaturesFile* PROTOBUF_NULLABLE value);
301 : void unsafe_arena_set_allocated_featurefile(::Odb::Lib::Protobuf::FeaturesFile* PROTOBUF_NULLABLE value);
302 : ::Odb::Lib::Protobuf::FeaturesFile* PROTOBUF_NULLABLE unsafe_arena_release_featurefile();
303 :
304 : private:
305 : const ::Odb::Lib::Protobuf::FeaturesFile& _internal_featurefile() const;
306 : ::Odb::Lib::Protobuf::FeaturesFile* PROTOBUF_NONNULL _internal_mutable_featurefile();
307 :
308 : public:
309 : // optional .Odb.Lib.Protobuf.ToolsFile tools = 7;
310 : bool has_tools() const;
311 : void clear_tools() ;
312 : const ::Odb::Lib::Protobuf::ToolsFile& tools() const;
313 : [[nodiscard]] ::Odb::Lib::Protobuf::ToolsFile* PROTOBUF_NULLABLE release_tools();
314 : ::Odb::Lib::Protobuf::ToolsFile* PROTOBUF_NONNULL mutable_tools();
315 : void set_allocated_tools(::Odb::Lib::Protobuf::ToolsFile* PROTOBUF_NULLABLE value);
316 : void unsafe_arena_set_allocated_tools(::Odb::Lib::Protobuf::ToolsFile* PROTOBUF_NULLABLE value);
317 : ::Odb::Lib::Protobuf::ToolsFile* PROTOBUF_NULLABLE unsafe_arena_release_tools();
318 :
319 : private:
320 : const ::Odb::Lib::Protobuf::ToolsFile& _internal_tools() const;
321 : ::Odb::Lib::Protobuf::ToolsFile* PROTOBUF_NONNULL _internal_mutable_tools();
322 :
323 : public:
324 : // @@protoc_insertion_point(class_scope:Odb.Lib.Protobuf.LayerDirectory)
325 : private:
326 : class _Internal;
327 : friend class ::google::protobuf::internal::TcParser;
328 : static const ::google::protobuf::internal::TcParseTable<3, 6,
329 : 4, 48,
330 : 2>
331 : _table_;
332 :
333 : friend class ::google::protobuf::MessageLite;
334 : friend class ::google::protobuf::Arena;
335 : template <typename T>
336 : friend class ::google::protobuf::Arena::InternalHelper;
337 : using InternalArenaConstructable_ = void;
338 : using DestructorSkippable_ = void;
339 : struct Impl_ {
340 : inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
341 : inline explicit Impl_(
342 : ::google::protobuf::internal::InternalVisibility visibility,
343 : ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
344 : inline explicit Impl_(
345 : ::google::protobuf::internal::InternalVisibility visibility,
346 : ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
347 : const LayerDirectory& from_msg);
348 : ::google::protobuf::internal::HasBits<1> _has_bits_;
349 : ::google::protobuf::internal::CachedSize _cached_size_;
350 : ::google::protobuf::internal::ArenaStringPtr name_;
351 : ::google::protobuf::internal::ArenaStringPtr path_;
352 : ::Odb::Lib::Protobuf::ComponentsFile* PROTOBUF_NULLABLE components_;
353 : ::Odb::Lib::Protobuf::AttrListFile* PROTOBUF_NULLABLE attrlistfile_;
354 : ::Odb::Lib::Protobuf::FeaturesFile* PROTOBUF_NULLABLE featurefile_;
355 : ::Odb::Lib::Protobuf::ToolsFile* PROTOBUF_NULLABLE tools_;
356 : PROTOBUF_TSAN_DECLARE_MEMBER
357 : };
358 : union { Impl_ _impl_; };
359 : friend struct ::TableStruct_layerdirectory_2eproto;
360 : };
361 :
362 : ODBDESIGN_EXPORT extern const ::google::protobuf::internal::ClassDataFull LayerDirectory_class_data_;
363 :
364 : // ===================================================================
365 :
366 :
367 :
368 :
369 : // ===================================================================
370 :
371 :
372 : #ifdef __GNUC__
373 : #pragma GCC diagnostic push
374 : #pragma GCC diagnostic ignored "-Wstrict-aliasing"
375 : #endif // __GNUC__
376 : // -------------------------------------------------------------------
377 :
378 : // LayerDirectory
379 :
380 : // optional string name = 1;
381 : inline bool LayerDirectory::has_name() const {
382 : bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000001U);
383 : return value;
384 : }
385 : inline void LayerDirectory::clear_name() {
386 : ::google::protobuf::internal::TSanWrite(&_impl_);
387 : _impl_.name_.ClearToEmpty();
388 : ClearHasBit(_impl_._has_bits_[0],
389 : 0x00000001U);
390 : }
391 168 : inline const ::std::string& LayerDirectory::name() const
392 : ABSL_ATTRIBUTE_LIFETIME_BOUND {
393 : // @@protoc_insertion_point(field_get:Odb.Lib.Protobuf.LayerDirectory.name)
394 168 : return _internal_name();
395 : }
396 : template <typename Arg_, typename... Args_>
397 : PROTOBUF_ALWAYS_INLINE void LayerDirectory::set_name(Arg_&& arg, Args_... args) {
398 2680 : ::google::protobuf::internal::TSanWrite(&_impl_);
399 2680 : SetHasBit(_impl_._has_bits_[0], 0x00000001U);
400 2680 : _impl_.name_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
401 : // @@protoc_insertion_point(field_set:Odb.Lib.Protobuf.LayerDirectory.name)
402 2680 : }
403 : inline ::std::string* PROTOBUF_NONNULL LayerDirectory::mutable_name()
404 : ABSL_ATTRIBUTE_LIFETIME_BOUND {
405 : SetHasBit(_impl_._has_bits_[0], 0x00000001U);
406 : ::std::string* _s = _internal_mutable_name();
407 : // @@protoc_insertion_point(field_mutable:Odb.Lib.Protobuf.LayerDirectory.name)
408 : return _s;
409 : }
410 23188 : inline const ::std::string& LayerDirectory::_internal_name() const {
411 23188 : ::google::protobuf::internal::TSanRead(&_impl_);
412 23188 : return _impl_.name_.Get();
413 : }
414 : inline void LayerDirectory::_internal_set_name(const ::std::string& value) {
415 16675 : ::google::protobuf::internal::TSanWrite(&_impl_);
416 16675 : _impl_.name_.Set(value, GetArena());
417 16675 : }
418 : inline ::std::string* PROTOBUF_NONNULL LayerDirectory::_internal_mutable_name() {
419 : ::google::protobuf::internal::TSanWrite(&_impl_);
420 : return _impl_.name_.Mutable( GetArena());
421 : }
422 : inline ::std::string* PROTOBUF_NULLABLE LayerDirectory::release_name() {
423 : ::google::protobuf::internal::TSanWrite(&_impl_);
424 : // @@protoc_insertion_point(field_release:Odb.Lib.Protobuf.LayerDirectory.name)
425 : if (!CheckHasBit(_impl_._has_bits_[0], 0x00000001U)) {
426 : return nullptr;
427 : }
428 : ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
429 : auto* released = _impl_.name_.Release();
430 : if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
431 : _impl_.name_.Set("", GetArena());
432 : }
433 : return released;
434 : }
435 : inline void LayerDirectory::set_allocated_name(::std::string* PROTOBUF_NULLABLE value) {
436 : ::google::protobuf::internal::TSanWrite(&_impl_);
437 : if (value != nullptr) {
438 : SetHasBit(_impl_._has_bits_[0], 0x00000001U);
439 : } else {
440 : ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
441 : }
442 : _impl_.name_.SetAllocated(value, GetArena());
443 : if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.name_.IsDefault()) {
444 : _impl_.name_.Set("", GetArena());
445 : }
446 : // @@protoc_insertion_point(field_set_allocated:Odb.Lib.Protobuf.LayerDirectory.name)
447 : }
448 :
449 : // optional string path = 2;
450 : inline bool LayerDirectory::has_path() const {
451 : bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000002U);
452 : return value;
453 : }
454 : inline void LayerDirectory::clear_path() {
455 : ::google::protobuf::internal::TSanWrite(&_impl_);
456 : _impl_.path_.ClearToEmpty();
457 : ClearHasBit(_impl_._has_bits_[0],
458 : 0x00000002U);
459 : }
460 336 : inline const ::std::string& LayerDirectory::path() const
461 : ABSL_ATTRIBUTE_LIFETIME_BOUND {
462 : // @@protoc_insertion_point(field_get:Odb.Lib.Protobuf.LayerDirectory.path)
463 336 : return _internal_path();
464 : }
465 : template <typename Arg_, typename... Args_>
466 : PROTOBUF_ALWAYS_INLINE void LayerDirectory::set_path(Arg_&& arg, Args_... args) {
467 2680 : ::google::protobuf::internal::TSanWrite(&_impl_);
468 2680 : SetHasBit(_impl_._has_bits_[0], 0x00000002U);
469 2680 : _impl_.path_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
470 : // @@protoc_insertion_point(field_set:Odb.Lib.Protobuf.LayerDirectory.path)
471 2680 : }
472 : inline ::std::string* PROTOBUF_NONNULL LayerDirectory::mutable_path()
473 : ABSL_ATTRIBUTE_LIFETIME_BOUND {
474 : SetHasBit(_impl_._has_bits_[0], 0x00000002U);
475 : ::std::string* _s = _internal_mutable_path();
476 : // @@protoc_insertion_point(field_mutable:Odb.Lib.Protobuf.LayerDirectory.path)
477 : return _s;
478 : }
479 23356 : inline const ::std::string& LayerDirectory::_internal_path() const {
480 23356 : ::google::protobuf::internal::TSanRead(&_impl_);
481 23356 : return _impl_.path_.Get();
482 : }
483 : inline void LayerDirectory::_internal_set_path(const ::std::string& value) {
484 16675 : ::google::protobuf::internal::TSanWrite(&_impl_);
485 16675 : _impl_.path_.Set(value, GetArena());
486 16675 : }
487 : inline ::std::string* PROTOBUF_NONNULL LayerDirectory::_internal_mutable_path() {
488 : ::google::protobuf::internal::TSanWrite(&_impl_);
489 : return _impl_.path_.Mutable( GetArena());
490 : }
491 : inline ::std::string* PROTOBUF_NULLABLE LayerDirectory::release_path() {
492 : ::google::protobuf::internal::TSanWrite(&_impl_);
493 : // @@protoc_insertion_point(field_release:Odb.Lib.Protobuf.LayerDirectory.path)
494 : if (!CheckHasBit(_impl_._has_bits_[0], 0x00000002U)) {
495 : return nullptr;
496 : }
497 : ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
498 : auto* released = _impl_.path_.Release();
499 : if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
500 : _impl_.path_.Set("", GetArena());
501 : }
502 : return released;
503 : }
504 : inline void LayerDirectory::set_allocated_path(::std::string* PROTOBUF_NULLABLE value) {
505 : ::google::protobuf::internal::TSanWrite(&_impl_);
506 : if (value != nullptr) {
507 : SetHasBit(_impl_._has_bits_[0], 0x00000002U);
508 : } else {
509 : ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
510 : }
511 : _impl_.path_.SetAllocated(value, GetArena());
512 : if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.path_.IsDefault()) {
513 : _impl_.path_.Set("", GetArena());
514 : }
515 : // @@protoc_insertion_point(field_set_allocated:Odb.Lib.Protobuf.LayerDirectory.path)
516 : }
517 :
518 : // optional .Odb.Lib.Protobuf.ComponentsFile components = 3;
519 312 : inline bool LayerDirectory::has_components() const {
520 312 : bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000004U);
521 312 : PROTOBUF_ASSUME(!value || _impl_.components_ != nullptr);
522 312 : return value;
523 : }
524 480 : inline const ::Odb::Lib::Protobuf::ComponentsFile& LayerDirectory::_internal_components() const {
525 480 : ::google::protobuf::internal::TSanRead(&_impl_);
526 480 : const ::Odb::Lib::Protobuf::ComponentsFile* p = _impl_.components_;
527 480 : return p != nullptr ? *p : reinterpret_cast<const ::Odb::Lib::Protobuf::ComponentsFile&>(::Odb::Lib::Protobuf::_ComponentsFile_default_instance_);
528 : }
529 480 : inline const ::Odb::Lib::Protobuf::ComponentsFile& LayerDirectory::components() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
530 : // @@protoc_insertion_point(field_get:Odb.Lib.Protobuf.LayerDirectory.components)
531 480 : return _internal_components();
532 : }
533 : inline void LayerDirectory::unsafe_arena_set_allocated_components(
534 : ::Odb::Lib::Protobuf::ComponentsFile* PROTOBUF_NULLABLE value) {
535 : ::google::protobuf::internal::TSanWrite(&_impl_);
536 : if (GetArena() == nullptr) {
537 : delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.components_);
538 : }
539 : _impl_.components_ = reinterpret_cast<::Odb::Lib::Protobuf::ComponentsFile*>(value);
540 : if (value != nullptr) {
541 : SetHasBit(_impl_._has_bits_[0], 0x00000004U);
542 : } else {
543 : ClearHasBit(_impl_._has_bits_[0], 0x00000004U);
544 : }
545 : // @@protoc_insertion_point(field_unsafe_arena_set_allocated:Odb.Lib.Protobuf.LayerDirectory.components)
546 : }
547 : inline ::Odb::Lib::Protobuf::ComponentsFile* PROTOBUF_NULLABLE LayerDirectory::release_components() {
548 : ::google::protobuf::internal::TSanWrite(&_impl_);
549 :
550 : ClearHasBit(_impl_._has_bits_[0], 0x00000004U);
551 : ::Odb::Lib::Protobuf::ComponentsFile* released = _impl_.components_;
552 : _impl_.components_ = nullptr;
553 : if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
554 : auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
555 : released = ::google::protobuf::internal::DuplicateIfNonNull(released);
556 : if (GetArena() == nullptr) {
557 : delete old;
558 : }
559 : } else {
560 : if (GetArena() != nullptr) {
561 : released = ::google::protobuf::internal::DuplicateIfNonNull(released);
562 : }
563 : }
564 : return released;
565 : }
566 : inline ::Odb::Lib::Protobuf::ComponentsFile* PROTOBUF_NULLABLE LayerDirectory::unsafe_arena_release_components() {
567 : ::google::protobuf::internal::TSanWrite(&_impl_);
568 : // @@protoc_insertion_point(field_release:Odb.Lib.Protobuf.LayerDirectory.components)
569 :
570 : ClearHasBit(_impl_._has_bits_[0], 0x00000004U);
571 : ::Odb::Lib::Protobuf::ComponentsFile* temp = _impl_.components_;
572 : _impl_.components_ = nullptr;
573 : return temp;
574 : }
575 2680 : inline ::Odb::Lib::Protobuf::ComponentsFile* PROTOBUF_NONNULL LayerDirectory::_internal_mutable_components() {
576 2680 : ::google::protobuf::internal::TSanWrite(&_impl_);
577 2680 : if (_impl_.components_ == nullptr) {
578 2680 : auto* p = ::google::protobuf::Message::DefaultConstruct<::Odb::Lib::Protobuf::ComponentsFile>(GetArena());
579 2680 : _impl_.components_ = reinterpret_cast<::Odb::Lib::Protobuf::ComponentsFile*>(p);
580 : }
581 2680 : return _impl_.components_;
582 : }
583 2680 : inline ::Odb::Lib::Protobuf::ComponentsFile* PROTOBUF_NONNULL LayerDirectory::mutable_components()
584 : ABSL_ATTRIBUTE_LIFETIME_BOUND {
585 2680 : SetHasBit(_impl_._has_bits_[0], 0x00000004U);
586 2680 : ::Odb::Lib::Protobuf::ComponentsFile* _msg = _internal_mutable_components();
587 : // @@protoc_insertion_point(field_mutable:Odb.Lib.Protobuf.LayerDirectory.components)
588 2680 : return _msg;
589 : }
590 : inline void LayerDirectory::set_allocated_components(::Odb::Lib::Protobuf::ComponentsFile* PROTOBUF_NULLABLE value) {
591 : ::google::protobuf::Arena* message_arena = GetArena();
592 : ::google::protobuf::internal::TSanWrite(&_impl_);
593 : if (message_arena == nullptr) {
594 : delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.components_);
595 : }
596 :
597 : if (value != nullptr) {
598 : ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::Message*>(value)->GetArena();
599 : if (message_arena != submessage_arena) {
600 : value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
601 : }
602 : SetHasBit(_impl_._has_bits_[0], 0x00000004U);
603 : } else {
604 : ClearHasBit(_impl_._has_bits_[0], 0x00000004U);
605 : }
606 :
607 : _impl_.components_ = reinterpret_cast<::Odb::Lib::Protobuf::ComponentsFile*>(value);
608 : // @@protoc_insertion_point(field_set_allocated:Odb.Lib.Protobuf.LayerDirectory.components)
609 : }
610 :
611 : // optional .Odb.Lib.Protobuf.AttrListFile attrlistFile = 4;
612 : inline bool LayerDirectory::has_attrlistfile() const {
613 : bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000008U);
614 : PROTOBUF_ASSUME(!value || _impl_.attrlistfile_ != nullptr);
615 : return value;
616 : }
617 168 : inline const ::Odb::Lib::Protobuf::AttrListFile& LayerDirectory::_internal_attrlistfile() const {
618 168 : ::google::protobuf::internal::TSanRead(&_impl_);
619 168 : const ::Odb::Lib::Protobuf::AttrListFile* p = _impl_.attrlistfile_;
620 168 : return p != nullptr ? *p : reinterpret_cast<const ::Odb::Lib::Protobuf::AttrListFile&>(::Odb::Lib::Protobuf::_AttrListFile_default_instance_);
621 : }
622 168 : inline const ::Odb::Lib::Protobuf::AttrListFile& LayerDirectory::attrlistfile() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
623 : // @@protoc_insertion_point(field_get:Odb.Lib.Protobuf.LayerDirectory.attrlistFile)
624 168 : return _internal_attrlistfile();
625 : }
626 : inline void LayerDirectory::unsafe_arena_set_allocated_attrlistfile(
627 : ::Odb::Lib::Protobuf::AttrListFile* PROTOBUF_NULLABLE value) {
628 : ::google::protobuf::internal::TSanWrite(&_impl_);
629 : if (GetArena() == nullptr) {
630 : delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.attrlistfile_);
631 : }
632 : _impl_.attrlistfile_ = reinterpret_cast<::Odb::Lib::Protobuf::AttrListFile*>(value);
633 : if (value != nullptr) {
634 : SetHasBit(_impl_._has_bits_[0], 0x00000008U);
635 : } else {
636 : ClearHasBit(_impl_._has_bits_[0], 0x00000008U);
637 : }
638 : // @@protoc_insertion_point(field_unsafe_arena_set_allocated:Odb.Lib.Protobuf.LayerDirectory.attrlistFile)
639 : }
640 : inline ::Odb::Lib::Protobuf::AttrListFile* PROTOBUF_NULLABLE LayerDirectory::release_attrlistfile() {
641 : ::google::protobuf::internal::TSanWrite(&_impl_);
642 :
643 : ClearHasBit(_impl_._has_bits_[0], 0x00000008U);
644 : ::Odb::Lib::Protobuf::AttrListFile* released = _impl_.attrlistfile_;
645 : _impl_.attrlistfile_ = nullptr;
646 : if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
647 : auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
648 : released = ::google::protobuf::internal::DuplicateIfNonNull(released);
649 : if (GetArena() == nullptr) {
650 : delete old;
651 : }
652 : } else {
653 : if (GetArena() != nullptr) {
654 : released = ::google::protobuf::internal::DuplicateIfNonNull(released);
655 : }
656 : }
657 : return released;
658 : }
659 : inline ::Odb::Lib::Protobuf::AttrListFile* PROTOBUF_NULLABLE LayerDirectory::unsafe_arena_release_attrlistfile() {
660 : ::google::protobuf::internal::TSanWrite(&_impl_);
661 : // @@protoc_insertion_point(field_release:Odb.Lib.Protobuf.LayerDirectory.attrlistFile)
662 :
663 : ClearHasBit(_impl_._has_bits_[0], 0x00000008U);
664 : ::Odb::Lib::Protobuf::AttrListFile* temp = _impl_.attrlistfile_;
665 : _impl_.attrlistfile_ = nullptr;
666 : return temp;
667 : }
668 2680 : inline ::Odb::Lib::Protobuf::AttrListFile* PROTOBUF_NONNULL LayerDirectory::_internal_mutable_attrlistfile() {
669 2680 : ::google::protobuf::internal::TSanWrite(&_impl_);
670 2680 : if (_impl_.attrlistfile_ == nullptr) {
671 2680 : auto* p = ::google::protobuf::Message::DefaultConstruct<::Odb::Lib::Protobuf::AttrListFile>(GetArena());
672 2680 : _impl_.attrlistfile_ = reinterpret_cast<::Odb::Lib::Protobuf::AttrListFile*>(p);
673 : }
674 2680 : return _impl_.attrlistfile_;
675 : }
676 2680 : inline ::Odb::Lib::Protobuf::AttrListFile* PROTOBUF_NONNULL LayerDirectory::mutable_attrlistfile()
677 : ABSL_ATTRIBUTE_LIFETIME_BOUND {
678 2680 : SetHasBit(_impl_._has_bits_[0], 0x00000008U);
679 2680 : ::Odb::Lib::Protobuf::AttrListFile* _msg = _internal_mutable_attrlistfile();
680 : // @@protoc_insertion_point(field_mutable:Odb.Lib.Protobuf.LayerDirectory.attrlistFile)
681 2680 : return _msg;
682 : }
683 : inline void LayerDirectory::set_allocated_attrlistfile(::Odb::Lib::Protobuf::AttrListFile* PROTOBUF_NULLABLE value) {
684 : ::google::protobuf::Arena* message_arena = GetArena();
685 : ::google::protobuf::internal::TSanWrite(&_impl_);
686 : if (message_arena == nullptr) {
687 : delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.attrlistfile_);
688 : }
689 :
690 : if (value != nullptr) {
691 : ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::Message*>(value)->GetArena();
692 : if (message_arena != submessage_arena) {
693 : value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
694 : }
695 : SetHasBit(_impl_._has_bits_[0], 0x00000008U);
696 : } else {
697 : ClearHasBit(_impl_._has_bits_[0], 0x00000008U);
698 : }
699 :
700 : _impl_.attrlistfile_ = reinterpret_cast<::Odb::Lib::Protobuf::AttrListFile*>(value);
701 : // @@protoc_insertion_point(field_set_allocated:Odb.Lib.Protobuf.LayerDirectory.attrlistFile)
702 : }
703 :
704 : // optional .Odb.Lib.Protobuf.FeaturesFile featureFile = 5;
705 0 : inline bool LayerDirectory::has_featurefile() const {
706 0 : bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000010U);
707 0 : PROTOBUF_ASSUME(!value || _impl_.featurefile_ != nullptr);
708 0 : return value;
709 : }
710 169 : inline const ::Odb::Lib::Protobuf::FeaturesFile& LayerDirectory::_internal_featurefile() const {
711 169 : ::google::protobuf::internal::TSanRead(&_impl_);
712 169 : const ::Odb::Lib::Protobuf::FeaturesFile* p = _impl_.featurefile_;
713 169 : return p != nullptr ? *p : reinterpret_cast<const ::Odb::Lib::Protobuf::FeaturesFile&>(::Odb::Lib::Protobuf::_FeaturesFile_default_instance_);
714 : }
715 169 : inline const ::Odb::Lib::Protobuf::FeaturesFile& LayerDirectory::featurefile() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
716 : // @@protoc_insertion_point(field_get:Odb.Lib.Protobuf.LayerDirectory.featureFile)
717 169 : return _internal_featurefile();
718 : }
719 : inline void LayerDirectory::unsafe_arena_set_allocated_featurefile(
720 : ::Odb::Lib::Protobuf::FeaturesFile* PROTOBUF_NULLABLE value) {
721 : ::google::protobuf::internal::TSanWrite(&_impl_);
722 : if (GetArena() == nullptr) {
723 : delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.featurefile_);
724 : }
725 : _impl_.featurefile_ = reinterpret_cast<::Odb::Lib::Protobuf::FeaturesFile*>(value);
726 : if (value != nullptr) {
727 : SetHasBit(_impl_._has_bits_[0], 0x00000010U);
728 : } else {
729 : ClearHasBit(_impl_._has_bits_[0], 0x00000010U);
730 : }
731 : // @@protoc_insertion_point(field_unsafe_arena_set_allocated:Odb.Lib.Protobuf.LayerDirectory.featureFile)
732 : }
733 : inline ::Odb::Lib::Protobuf::FeaturesFile* PROTOBUF_NULLABLE LayerDirectory::release_featurefile() {
734 : ::google::protobuf::internal::TSanWrite(&_impl_);
735 :
736 : ClearHasBit(_impl_._has_bits_[0], 0x00000010U);
737 : ::Odb::Lib::Protobuf::FeaturesFile* released = _impl_.featurefile_;
738 : _impl_.featurefile_ = nullptr;
739 : if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
740 : auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
741 : released = ::google::protobuf::internal::DuplicateIfNonNull(released);
742 : if (GetArena() == nullptr) {
743 : delete old;
744 : }
745 : } else {
746 : if (GetArena() != nullptr) {
747 : released = ::google::protobuf::internal::DuplicateIfNonNull(released);
748 : }
749 : }
750 : return released;
751 : }
752 : inline ::Odb::Lib::Protobuf::FeaturesFile* PROTOBUF_NULLABLE LayerDirectory::unsafe_arena_release_featurefile() {
753 : ::google::protobuf::internal::TSanWrite(&_impl_);
754 : // @@protoc_insertion_point(field_release:Odb.Lib.Protobuf.LayerDirectory.featureFile)
755 :
756 : ClearHasBit(_impl_._has_bits_[0], 0x00000010U);
757 : ::Odb::Lib::Protobuf::FeaturesFile* temp = _impl_.featurefile_;
758 : _impl_.featurefile_ = nullptr;
759 : return temp;
760 : }
761 14609 : inline ::Odb::Lib::Protobuf::FeaturesFile* PROTOBUF_NONNULL LayerDirectory::_internal_mutable_featurefile() {
762 14609 : ::google::protobuf::internal::TSanWrite(&_impl_);
763 14609 : if (_impl_.featurefile_ == nullptr) {
764 2684 : auto* p = ::google::protobuf::Message::DefaultConstruct<::Odb::Lib::Protobuf::FeaturesFile>(GetArena());
765 2684 : _impl_.featurefile_ = reinterpret_cast<::Odb::Lib::Protobuf::FeaturesFile*>(p);
766 : }
767 14609 : return _impl_.featurefile_;
768 : }
769 14609 : inline ::Odb::Lib::Protobuf::FeaturesFile* PROTOBUF_NONNULL LayerDirectory::mutable_featurefile()
770 : ABSL_ATTRIBUTE_LIFETIME_BOUND {
771 14609 : SetHasBit(_impl_._has_bits_[0], 0x00000010U);
772 14609 : ::Odb::Lib::Protobuf::FeaturesFile* _msg = _internal_mutable_featurefile();
773 : // @@protoc_insertion_point(field_mutable:Odb.Lib.Protobuf.LayerDirectory.featureFile)
774 14609 : return _msg;
775 : }
776 : inline void LayerDirectory::set_allocated_featurefile(::Odb::Lib::Protobuf::FeaturesFile* PROTOBUF_NULLABLE value) {
777 : ::google::protobuf::Arena* message_arena = GetArena();
778 : ::google::protobuf::internal::TSanWrite(&_impl_);
779 : if (message_arena == nullptr) {
780 : delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.featurefile_);
781 : }
782 :
783 : if (value != nullptr) {
784 : ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::Message*>(value)->GetArena();
785 : if (message_arena != submessage_arena) {
786 : value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
787 : }
788 : SetHasBit(_impl_._has_bits_[0], 0x00000010U);
789 : } else {
790 : ClearHasBit(_impl_._has_bits_[0], 0x00000010U);
791 : }
792 :
793 : _impl_.featurefile_ = reinterpret_cast<::Odb::Lib::Protobuf::FeaturesFile*>(value);
794 : // @@protoc_insertion_point(field_set_allocated:Odb.Lib.Protobuf.LayerDirectory.featureFile)
795 : }
796 :
797 : // optional .Odb.Lib.Protobuf.ToolsFile tools = 7;
798 : inline bool LayerDirectory::has_tools() const {
799 : bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000020U);
800 : PROTOBUF_ASSUME(!value || _impl_.tools_ != nullptr);
801 : return value;
802 : }
803 168 : inline const ::Odb::Lib::Protobuf::ToolsFile& LayerDirectory::_internal_tools() const {
804 168 : ::google::protobuf::internal::TSanRead(&_impl_);
805 168 : const ::Odb::Lib::Protobuf::ToolsFile* p = _impl_.tools_;
806 168 : return p != nullptr ? *p : reinterpret_cast<const ::Odb::Lib::Protobuf::ToolsFile&>(::Odb::Lib::Protobuf::_ToolsFile_default_instance_);
807 : }
808 168 : inline const ::Odb::Lib::Protobuf::ToolsFile& LayerDirectory::tools() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
809 : // @@protoc_insertion_point(field_get:Odb.Lib.Protobuf.LayerDirectory.tools)
810 168 : return _internal_tools();
811 : }
812 : inline void LayerDirectory::unsafe_arena_set_allocated_tools(
813 : ::Odb::Lib::Protobuf::ToolsFile* PROTOBUF_NULLABLE value) {
814 : ::google::protobuf::internal::TSanWrite(&_impl_);
815 : if (GetArena() == nullptr) {
816 : delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.tools_);
817 : }
818 : _impl_.tools_ = reinterpret_cast<::Odb::Lib::Protobuf::ToolsFile*>(value);
819 : if (value != nullptr) {
820 : SetHasBit(_impl_._has_bits_[0], 0x00000020U);
821 : } else {
822 : ClearHasBit(_impl_._has_bits_[0], 0x00000020U);
823 : }
824 : // @@protoc_insertion_point(field_unsafe_arena_set_allocated:Odb.Lib.Protobuf.LayerDirectory.tools)
825 : }
826 : inline ::Odb::Lib::Protobuf::ToolsFile* PROTOBUF_NULLABLE LayerDirectory::release_tools() {
827 : ::google::protobuf::internal::TSanWrite(&_impl_);
828 :
829 : ClearHasBit(_impl_._has_bits_[0], 0x00000020U);
830 : ::Odb::Lib::Protobuf::ToolsFile* released = _impl_.tools_;
831 : _impl_.tools_ = nullptr;
832 : if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
833 : auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
834 : released = ::google::protobuf::internal::DuplicateIfNonNull(released);
835 : if (GetArena() == nullptr) {
836 : delete old;
837 : }
838 : } else {
839 : if (GetArena() != nullptr) {
840 : released = ::google::protobuf::internal::DuplicateIfNonNull(released);
841 : }
842 : }
843 : return released;
844 : }
845 : inline ::Odb::Lib::Protobuf::ToolsFile* PROTOBUF_NULLABLE LayerDirectory::unsafe_arena_release_tools() {
846 : ::google::protobuf::internal::TSanWrite(&_impl_);
847 : // @@protoc_insertion_point(field_release:Odb.Lib.Protobuf.LayerDirectory.tools)
848 :
849 : ClearHasBit(_impl_._has_bits_[0], 0x00000020U);
850 : ::Odb::Lib::Protobuf::ToolsFile* temp = _impl_.tools_;
851 : _impl_.tools_ = nullptr;
852 : return temp;
853 : }
854 2680 : inline ::Odb::Lib::Protobuf::ToolsFile* PROTOBUF_NONNULL LayerDirectory::_internal_mutable_tools() {
855 2680 : ::google::protobuf::internal::TSanWrite(&_impl_);
856 2680 : if (_impl_.tools_ == nullptr) {
857 2680 : auto* p = ::google::protobuf::Message::DefaultConstruct<::Odb::Lib::Protobuf::ToolsFile>(GetArena());
858 2680 : _impl_.tools_ = reinterpret_cast<::Odb::Lib::Protobuf::ToolsFile*>(p);
859 : }
860 2680 : return _impl_.tools_;
861 : }
862 2680 : inline ::Odb::Lib::Protobuf::ToolsFile* PROTOBUF_NONNULL LayerDirectory::mutable_tools()
863 : ABSL_ATTRIBUTE_LIFETIME_BOUND {
864 2680 : SetHasBit(_impl_._has_bits_[0], 0x00000020U);
865 2680 : ::Odb::Lib::Protobuf::ToolsFile* _msg = _internal_mutable_tools();
866 : // @@protoc_insertion_point(field_mutable:Odb.Lib.Protobuf.LayerDirectory.tools)
867 2680 : return _msg;
868 : }
869 : inline void LayerDirectory::set_allocated_tools(::Odb::Lib::Protobuf::ToolsFile* PROTOBUF_NULLABLE value) {
870 : ::google::protobuf::Arena* message_arena = GetArena();
871 : ::google::protobuf::internal::TSanWrite(&_impl_);
872 : if (message_arena == nullptr) {
873 : delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.tools_);
874 : }
875 :
876 : if (value != nullptr) {
877 : ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::Message*>(value)->GetArena();
878 : if (message_arena != submessage_arena) {
879 : value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
880 : }
881 : SetHasBit(_impl_._has_bits_[0], 0x00000020U);
882 : } else {
883 : ClearHasBit(_impl_._has_bits_[0], 0x00000020U);
884 : }
885 :
886 : _impl_.tools_ = reinterpret_cast<::Odb::Lib::Protobuf::ToolsFile*>(value);
887 : // @@protoc_insertion_point(field_set_allocated:Odb.Lib.Protobuf.LayerDirectory.tools)
888 : }
889 :
890 : #ifdef __GNUC__
891 : #pragma GCC diagnostic pop
892 : #endif // __GNUC__
893 :
894 : // @@protoc_insertion_point(namespace_scope)
895 : } // namespace Protobuf
896 : } // namespace Lib
897 : } // namespace Odb
898 :
899 :
900 : // @@protoc_insertion_point(global_scope)
901 :
902 : #include "google/protobuf/port_undef.inc"
903 :
904 : #endif // layerdirectory_2eproto_2epb_2eh
|