Line data Source code
1 : // Generated by the protocol buffer compiler. DO NOT EDIT!
2 : // NO CHECKED-IN PROTOBUF GENCODE
3 : // source: attrlistfile.proto
4 : // Protobuf C++ Version: 6.33.4
5 :
6 : #ifndef attrlistfile_2eproto_2epb_2eh
7 : #define attrlistfile_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/map.h" // IWYU pragma: export
32 : #include "google/protobuf/map_type_handler.h" // IWYU pragma: export
33 : #include "google/protobuf/map_entry.h"
34 : #include "google/protobuf/map_field.h"
35 : #include "google/protobuf/unknown_field_set.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_attrlistfile_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_attrlistfile_2eproto {
54 : static const ::uint32_t offsets[];
55 : };
56 : extern "C" {
57 : ODBDESIGN_EXPORT extern const ::google::protobuf::internal::DescriptorTable descriptor_table_attrlistfile_2eproto;
58 : } // extern "C"
59 : namespace Odb {
60 : namespace Lib {
61 : namespace Protobuf {
62 : class AttrListFile;
63 : struct AttrListFileDefaultTypeInternal;
64 : ODBDESIGN_EXPORT extern AttrListFileDefaultTypeInternal _AttrListFile_default_instance_;
65 : ODBDESIGN_EXPORT extern const ::google::protobuf::internal::ClassDataFull AttrListFile_class_data_;
66 : class AttrListFile_AttributesByNameEntry_DoNotUse;
67 : struct AttrListFile_AttributesByNameEntry_DoNotUseDefaultTypeInternal;
68 : ODBDESIGN_EXPORT extern AttrListFile_AttributesByNameEntry_DoNotUseDefaultTypeInternal _AttrListFile_AttributesByNameEntry_DoNotUse_default_instance_;
69 : ODBDESIGN_EXPORT extern const ::google::protobuf::internal::ClassDataFull AttrListFile_AttributesByNameEntry_DoNotUse_class_data_;
70 : } // namespace Protobuf
71 : } // namespace Lib
72 : } // namespace Odb
73 : namespace google {
74 : namespace protobuf {
75 : } // namespace protobuf
76 : } // namespace google
77 :
78 : namespace Odb {
79 : namespace Lib {
80 : namespace Protobuf {
81 :
82 : // ===================================================================
83 :
84 :
85 : // -------------------------------------------------------------------
86 :
87 : class AttrListFile_AttributesByNameEntry_DoNotUse final
88 : : public ::google::protobuf::internal::MapEntry<::std::string, ::std::string,
89 : ::google::protobuf::internal::WireFormatLite::TYPE_STRING,
90 : ::google::protobuf::internal::WireFormatLite::TYPE_STRING> {
91 : public:
92 : using SuperType =
93 : ::google::protobuf::internal::MapEntry<::std::string, ::std::string,
94 : ::google::protobuf::internal::WireFormatLite::TYPE_STRING,
95 : ::google::protobuf::internal::WireFormatLite::TYPE_STRING>;
96 : AttrListFile_AttributesByNameEntry_DoNotUse();
97 : template <typename = void>
98 : explicit PROTOBUF_CONSTEXPR AttrListFile_AttributesByNameEntry_DoNotUse(::google::protobuf::internal::ConstantInitialized);
99 : explicit AttrListFile_AttributesByNameEntry_DoNotUse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
100 53808 : static constexpr const void* PROTOBUF_NONNULL internal_default_instance() {
101 53808 : return &_AttrListFile_AttributesByNameEntry_DoNotUse_default_instance_;
102 : }
103 :
104 :
105 : static constexpr auto InternalGenerateClassData_();
106 :
107 : private:
108 : friend class ::google::protobuf::MessageLite;
109 : friend struct ::TableStruct_attrlistfile_2eproto;
110 :
111 : friend class ::google::protobuf::internal::TcParser;
112 : static const ::google::protobuf::internal::TcParseTable<1, 2,
113 : 0, 68,
114 : 2>
115 : _table_;
116 :
117 : const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
118 : static void* PROTOBUF_NONNULL PlacementNew_(
119 : const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
120 : ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
121 : static constexpr auto InternalNewImpl_();
122 : };
123 : ODBDESIGN_EXPORT extern const ::google::protobuf::internal::ClassDataFull AttrListFile_AttributesByNameEntry_DoNotUse_class_data_;
124 : // -------------------------------------------------------------------
125 :
126 : class ODBDESIGN_EXPORT AttrListFile final : public ::google::protobuf::Message
127 : /* @@protoc_insertion_point(class_definition:Odb.Lib.Protobuf.AttrListFile) */ {
128 : public:
129 7860 : inline AttrListFile() : AttrListFile(nullptr) {}
130 : ~AttrListFile() PROTOBUF_FINAL;
131 :
132 : #if defined(PROTOBUF_CUSTOM_VTABLE)
133 : void operator delete(AttrListFile* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
134 : SharedDtor(*msg);
135 : ::google::protobuf::internal::SizedDelete(msg, sizeof(AttrListFile));
136 : }
137 : #endif
138 :
139 : template <typename = void>
140 : explicit PROTOBUF_CONSTEXPR AttrListFile(::google::protobuf::internal::ConstantInitialized);
141 :
142 : inline AttrListFile(const AttrListFile& from) : AttrListFile(nullptr, from) {}
143 : inline AttrListFile(AttrListFile&& from) noexcept
144 : : AttrListFile(nullptr, ::std::move(from)) {}
145 : inline AttrListFile& operator=(const AttrListFile& from) {
146 : CopyFrom(from);
147 : return *this;
148 : }
149 : inline AttrListFile& operator=(AttrListFile&& from) noexcept {
150 : if (this == &from) return *this;
151 : if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
152 : InternalSwap(&from);
153 : } else {
154 : CopyFrom(from);
155 : }
156 : return *this;
157 : }
158 :
159 : inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
160 : ABSL_ATTRIBUTE_LIFETIME_BOUND {
161 : return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
162 : }
163 : inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
164 : ABSL_ATTRIBUTE_LIFETIME_BOUND {
165 : return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
166 : }
167 :
168 : static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
169 : return GetDescriptor();
170 : }
171 : static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
172 : return default_instance().GetMetadata().descriptor;
173 : }
174 : static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
175 : return default_instance().GetMetadata().reflection;
176 : }
177 : static const AttrListFile& default_instance() {
178 : return *reinterpret_cast<const AttrListFile*>(
179 : &_AttrListFile_default_instance_);
180 : }
181 : static constexpr int kIndexInFileMessages = 1;
182 : friend void swap(AttrListFile& a, AttrListFile& b) { a.Swap(&b); }
183 : inline void Swap(AttrListFile* PROTOBUF_NONNULL other) {
184 : if (other == this) return;
185 : if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
186 : InternalSwap(other);
187 : } else {
188 : ::google::protobuf::internal::GenericSwap(this, other);
189 : }
190 : }
191 : void UnsafeArenaSwap(AttrListFile* PROTOBUF_NONNULL other) {
192 : if (other == this) return;
193 : ABSL_DCHECK(GetArena() == other->GetArena());
194 : InternalSwap(other);
195 : }
196 :
197 : // implements Message ----------------------------------------------
198 :
199 : AttrListFile* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
200 : return ::google::protobuf::Message::DefaultConstruct<AttrListFile>(arena);
201 : }
202 : using ::google::protobuf::Message::CopyFrom;
203 : void CopyFrom(const AttrListFile& from);
204 : using ::google::protobuf::Message::MergeFrom;
205 7864 : void MergeFrom(const AttrListFile& from) { AttrListFile::MergeImpl(*this, from); }
206 :
207 : private:
208 : static void MergeImpl(::google::protobuf::MessageLite& to_msg,
209 : const ::google::protobuf::MessageLite& from_msg);
210 :
211 : public:
212 : bool IsInitialized() const {
213 : return true;
214 : }
215 : ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
216 : #if defined(PROTOBUF_CUSTOM_VTABLE)
217 : private:
218 : static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
219 : static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
220 : const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
221 : ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
222 :
223 : public:
224 : ::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
225 : ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
226 : ::uint8_t* PROTOBUF_NONNULL target,
227 : ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
228 : return _InternalSerialize(*this, target, stream);
229 : }
230 : #else // PROTOBUF_CUSTOM_VTABLE
231 : ::size_t ByteSizeLong() const final;
232 : ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
233 : ::uint8_t* PROTOBUF_NONNULL target,
234 : ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
235 : #endif // PROTOBUF_CUSTOM_VTABLE
236 7815 : int GetCachedSize() const { return _impl_._cached_size_.Get(); }
237 :
238 : private:
239 : void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
240 : static void SharedDtor(MessageLite& self);
241 : void InternalSwap(AttrListFile* PROTOBUF_NONNULL other);
242 : private:
243 : template <typename T>
244 : friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
245 : static ::absl::string_view FullMessageName() { return "Odb.Lib.Protobuf.AttrListFile"; }
246 :
247 : explicit AttrListFile(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
248 : AttrListFile(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const AttrListFile& from);
249 : AttrListFile(
250 : ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, AttrListFile&& from) noexcept
251 : : AttrListFile(arena) {
252 : *this = ::std::move(from);
253 : }
254 : const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
255 : static void* PROTOBUF_NONNULL PlacementNew_(
256 : const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
257 : ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
258 : static constexpr auto InternalNewImpl_();
259 :
260 : public:
261 : static constexpr auto InternalGenerateClassData_();
262 :
263 : ::google::protobuf::Metadata GetMetadata() const;
264 : // nested types ----------------------------------------------------
265 :
266 : // accessors -------------------------------------------------------
267 : enum : int {
268 : kDirectoryFieldNumber = 1,
269 : kPathFieldNumber = 2,
270 : kUnitsFieldNumber = 3,
271 : kAttributesByNameFieldNumber = 4,
272 : };
273 : // optional string directory = 1;
274 : bool has_directory() const;
275 : void clear_directory() ;
276 : const ::std::string& directory() const;
277 : template <typename Arg_ = const ::std::string&, typename... Args_>
278 : void set_directory(Arg_&& arg, Args_... args);
279 : ::std::string* PROTOBUF_NONNULL mutable_directory();
280 : [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_directory();
281 : void set_allocated_directory(::std::string* PROTOBUF_NULLABLE value);
282 :
283 : private:
284 : const ::std::string& _internal_directory() const;
285 : PROTOBUF_ALWAYS_INLINE void _internal_set_directory(const ::std::string& value);
286 : ::std::string* PROTOBUF_NONNULL _internal_mutable_directory();
287 :
288 : public:
289 : // optional string path = 2;
290 : bool has_path() const;
291 : void clear_path() ;
292 : const ::std::string& path() const;
293 : template <typename Arg_ = const ::std::string&, typename... Args_>
294 : void set_path(Arg_&& arg, Args_... args);
295 : ::std::string* PROTOBUF_NONNULL mutable_path();
296 : [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_path();
297 : void set_allocated_path(::std::string* PROTOBUF_NULLABLE value);
298 :
299 : private:
300 : const ::std::string& _internal_path() const;
301 : PROTOBUF_ALWAYS_INLINE void _internal_set_path(const ::std::string& value);
302 : ::std::string* PROTOBUF_NONNULL _internal_mutable_path();
303 :
304 : public:
305 : // optional string units = 3;
306 : bool has_units() const;
307 : void clear_units() ;
308 : const ::std::string& units() const;
309 : template <typename Arg_ = const ::std::string&, typename... Args_>
310 : void set_units(Arg_&& arg, Args_... args);
311 : ::std::string* PROTOBUF_NONNULL mutable_units();
312 : [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_units();
313 : void set_allocated_units(::std::string* PROTOBUF_NULLABLE value);
314 :
315 : private:
316 : const ::std::string& _internal_units() const;
317 : PROTOBUF_ALWAYS_INLINE void _internal_set_units(const ::std::string& value);
318 : ::std::string* PROTOBUF_NONNULL _internal_mutable_units();
319 :
320 : public:
321 : // map<string, string> attributesByName = 4;
322 : int attributesbyname_size() const;
323 : private:
324 : int _internal_attributesbyname_size() const;
325 :
326 : public:
327 : void clear_attributesbyname() ;
328 : const ::google::protobuf::Map<::std::string, ::std::string>& attributesbyname() const;
329 : ::google::protobuf::Map<::std::string, ::std::string>* PROTOBUF_NONNULL mutable_attributesbyname();
330 :
331 : private:
332 : const ::google::protobuf::Map<::std::string, ::std::string>& _internal_attributesbyname() const;
333 : ::google::protobuf::Map<::std::string, ::std::string>* PROTOBUF_NONNULL _internal_mutable_attributesbyname();
334 :
335 : public:
336 : // @@protoc_insertion_point(class_scope:Odb.Lib.Protobuf.AttrListFile)
337 : private:
338 : class _Internal;
339 : friend class ::google::protobuf::internal::TcParser;
340 : static const ::google::protobuf::internal::TcParseTable<2, 4,
341 : 1, 72,
342 : 2>
343 : _table_;
344 :
345 : friend class ::google::protobuf::MessageLite;
346 : friend class ::google::protobuf::Arena;
347 : template <typename T>
348 : friend class ::google::protobuf::Arena::InternalHelper;
349 : using InternalArenaConstructable_ = void;
350 : using DestructorSkippable_ = void;
351 : struct Impl_ {
352 : inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
353 : inline explicit Impl_(
354 : ::google::protobuf::internal::InternalVisibility visibility,
355 : ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
356 : inline explicit Impl_(
357 : ::google::protobuf::internal::InternalVisibility visibility,
358 : ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
359 : const AttrListFile& from_msg);
360 : ::google::protobuf::internal::HasBits<1> _has_bits_;
361 : ::google::protobuf::internal::CachedSize _cached_size_;
362 : ::google::protobuf::internal::ArenaStringPtr directory_;
363 : ::google::protobuf::internal::ArenaStringPtr path_;
364 : ::google::protobuf::internal::ArenaStringPtr units_;
365 : ::google::protobuf::internal::MapField<AttrListFile_AttributesByNameEntry_DoNotUse, ::std::string, ::std::string,
366 : ::google::protobuf::internal::WireFormatLite::TYPE_STRING,
367 : ::google::protobuf::internal::WireFormatLite::TYPE_STRING>
368 : attributesbyname_;
369 : PROTOBUF_TSAN_DECLARE_MEMBER
370 : };
371 : union { Impl_ _impl_; };
372 : friend struct ::TableStruct_attrlistfile_2eproto;
373 : };
374 :
375 : ODBDESIGN_EXPORT extern const ::google::protobuf::internal::ClassDataFull AttrListFile_class_data_;
376 :
377 : // ===================================================================
378 :
379 :
380 :
381 :
382 : // ===================================================================
383 :
384 :
385 : #ifdef __GNUC__
386 : #pragma GCC diagnostic push
387 : #pragma GCC diagnostic ignored "-Wstrict-aliasing"
388 : #endif // __GNUC__
389 : // -------------------------------------------------------------------
390 :
391 : // -------------------------------------------------------------------
392 :
393 : // AttrListFile
394 :
395 : // optional string directory = 1;
396 : inline bool AttrListFile::has_directory() const {
397 : bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000001U);
398 : return value;
399 : }
400 : inline void AttrListFile::clear_directory() {
401 : ::google::protobuf::internal::TSanWrite(&_impl_);
402 : _impl_.directory_.ClearToEmpty();
403 : ClearHasBit(_impl_._has_bits_[0],
404 : 0x00000001U);
405 : }
406 543 : inline const ::std::string& AttrListFile::directory() const
407 : ABSL_ATTRIBUTE_LIFETIME_BOUND {
408 : // @@protoc_insertion_point(field_get:Odb.Lib.Protobuf.AttrListFile.directory)
409 543 : return _internal_directory();
410 : }
411 : template <typename Arg_, typename... Args_>
412 : PROTOBUF_ALWAYS_INLINE void AttrListFile::set_directory(Arg_&& arg, Args_... args) {
413 7860 : ::google::protobuf::internal::TSanWrite(&_impl_);
414 7860 : SetHasBit(_impl_._has_bits_[0], 0x00000001U);
415 7860 : _impl_.directory_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
416 : // @@protoc_insertion_point(field_set:Odb.Lib.Protobuf.AttrListFile.directory)
417 7860 : }
418 : inline ::std::string* PROTOBUF_NONNULL AttrListFile::mutable_directory()
419 : ABSL_ATTRIBUTE_LIFETIME_BOUND {
420 : SetHasBit(_impl_._has_bits_[0], 0x00000001U);
421 : ::std::string* _s = _internal_mutable_directory();
422 : // @@protoc_insertion_point(field_mutable:Odb.Lib.Protobuf.AttrListFile.directory)
423 : return _s;
424 : }
425 26361 : inline const ::std::string& AttrListFile::_internal_directory() const {
426 26361 : ::google::protobuf::internal::TSanRead(&_impl_);
427 26361 : return _impl_.directory_.Get();
428 : }
429 : inline void AttrListFile::_internal_set_directory(const ::std::string& value) {
430 7864 : ::google::protobuf::internal::TSanWrite(&_impl_);
431 7864 : _impl_.directory_.Set(value, GetArena());
432 7864 : }
433 : inline ::std::string* PROTOBUF_NONNULL AttrListFile::_internal_mutable_directory() {
434 : ::google::protobuf::internal::TSanWrite(&_impl_);
435 : return _impl_.directory_.Mutable( GetArena());
436 : }
437 : inline ::std::string* PROTOBUF_NULLABLE AttrListFile::release_directory() {
438 : ::google::protobuf::internal::TSanWrite(&_impl_);
439 : // @@protoc_insertion_point(field_release:Odb.Lib.Protobuf.AttrListFile.directory)
440 : if (!CheckHasBit(_impl_._has_bits_[0], 0x00000001U)) {
441 : return nullptr;
442 : }
443 : ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
444 : auto* released = _impl_.directory_.Release();
445 : if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
446 : _impl_.directory_.Set("", GetArena());
447 : }
448 : return released;
449 : }
450 : inline void AttrListFile::set_allocated_directory(::std::string* PROTOBUF_NULLABLE value) {
451 : ::google::protobuf::internal::TSanWrite(&_impl_);
452 : if (value != nullptr) {
453 : SetHasBit(_impl_._has_bits_[0], 0x00000001U);
454 : } else {
455 : ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
456 : }
457 : _impl_.directory_.SetAllocated(value, GetArena());
458 : if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.directory_.IsDefault()) {
459 : _impl_.directory_.Set("", GetArena());
460 : }
461 : // @@protoc_insertion_point(field_set_allocated:Odb.Lib.Protobuf.AttrListFile.directory)
462 : }
463 :
464 : // optional string path = 2;
465 : inline bool AttrListFile::has_path() const {
466 : bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000002U);
467 : return value;
468 : }
469 : inline void AttrListFile::clear_path() {
470 : ::google::protobuf::internal::TSanWrite(&_impl_);
471 : _impl_.path_.ClearToEmpty();
472 : ClearHasBit(_impl_._has_bits_[0],
473 : 0x00000002U);
474 : }
475 543 : inline const ::std::string& AttrListFile::path() const
476 : ABSL_ATTRIBUTE_LIFETIME_BOUND {
477 : // @@protoc_insertion_point(field_get:Odb.Lib.Protobuf.AttrListFile.path)
478 543 : return _internal_path();
479 : }
480 : template <typename Arg_, typename... Args_>
481 : PROTOBUF_ALWAYS_INLINE void AttrListFile::set_path(Arg_&& arg, Args_... args) {
482 7860 : ::google::protobuf::internal::TSanWrite(&_impl_);
483 7860 : SetHasBit(_impl_._has_bits_[0], 0x00000002U);
484 7860 : _impl_.path_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
485 : // @@protoc_insertion_point(field_set:Odb.Lib.Protobuf.AttrListFile.path)
486 7860 : }
487 : inline ::std::string* PROTOBUF_NONNULL AttrListFile::mutable_path()
488 : ABSL_ATTRIBUTE_LIFETIME_BOUND {
489 : SetHasBit(_impl_._has_bits_[0], 0x00000002U);
490 : ::std::string* _s = _internal_mutable_path();
491 : // @@protoc_insertion_point(field_mutable:Odb.Lib.Protobuf.AttrListFile.path)
492 : return _s;
493 : }
494 26361 : inline const ::std::string& AttrListFile::_internal_path() const {
495 26361 : ::google::protobuf::internal::TSanRead(&_impl_);
496 26361 : return _impl_.path_.Get();
497 : }
498 : inline void AttrListFile::_internal_set_path(const ::std::string& value) {
499 7864 : ::google::protobuf::internal::TSanWrite(&_impl_);
500 7864 : _impl_.path_.Set(value, GetArena());
501 7864 : }
502 : inline ::std::string* PROTOBUF_NONNULL AttrListFile::_internal_mutable_path() {
503 : ::google::protobuf::internal::TSanWrite(&_impl_);
504 : return _impl_.path_.Mutable( GetArena());
505 : }
506 : inline ::std::string* PROTOBUF_NULLABLE AttrListFile::release_path() {
507 : ::google::protobuf::internal::TSanWrite(&_impl_);
508 : // @@protoc_insertion_point(field_release:Odb.Lib.Protobuf.AttrListFile.path)
509 : if (!CheckHasBit(_impl_._has_bits_[0], 0x00000002U)) {
510 : return nullptr;
511 : }
512 : ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
513 : auto* released = _impl_.path_.Release();
514 : if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
515 : _impl_.path_.Set("", GetArena());
516 : }
517 : return released;
518 : }
519 : inline void AttrListFile::set_allocated_path(::std::string* PROTOBUF_NULLABLE value) {
520 : ::google::protobuf::internal::TSanWrite(&_impl_);
521 : if (value != nullptr) {
522 : SetHasBit(_impl_._has_bits_[0], 0x00000002U);
523 : } else {
524 : ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
525 : }
526 : _impl_.path_.SetAllocated(value, GetArena());
527 : if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.path_.IsDefault()) {
528 : _impl_.path_.Set("", GetArena());
529 : }
530 : // @@protoc_insertion_point(field_set_allocated:Odb.Lib.Protobuf.AttrListFile.path)
531 : }
532 :
533 : // optional string units = 3;
534 : inline bool AttrListFile::has_units() const {
535 : bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000004U);
536 : return value;
537 : }
538 : inline void AttrListFile::clear_units() {
539 : ::google::protobuf::internal::TSanWrite(&_impl_);
540 : _impl_.units_.ClearToEmpty();
541 : ClearHasBit(_impl_._has_bits_[0],
542 : 0x00000004U);
543 : }
544 543 : inline const ::std::string& AttrListFile::units() const
545 : ABSL_ATTRIBUTE_LIFETIME_BOUND {
546 : // @@protoc_insertion_point(field_get:Odb.Lib.Protobuf.AttrListFile.units)
547 543 : return _internal_units();
548 : }
549 : template <typename Arg_, typename... Args_>
550 : PROTOBUF_ALWAYS_INLINE void AttrListFile::set_units(Arg_&& arg, Args_... args) {
551 7860 : ::google::protobuf::internal::TSanWrite(&_impl_);
552 7860 : SetHasBit(_impl_._has_bits_[0], 0x00000004U);
553 7860 : _impl_.units_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
554 : // @@protoc_insertion_point(field_set:Odb.Lib.Protobuf.AttrListFile.units)
555 7860 : }
556 : inline ::std::string* PROTOBUF_NONNULL AttrListFile::mutable_units()
557 : ABSL_ATTRIBUTE_LIFETIME_BOUND {
558 : SetHasBit(_impl_._has_bits_[0], 0x00000004U);
559 : ::std::string* _s = _internal_mutable_units();
560 : // @@protoc_insertion_point(field_mutable:Odb.Lib.Protobuf.AttrListFile.units)
561 : return _s;
562 : }
563 26361 : inline const ::std::string& AttrListFile::_internal_units() const {
564 26361 : ::google::protobuf::internal::TSanRead(&_impl_);
565 26361 : return _impl_.units_.Get();
566 : }
567 : inline void AttrListFile::_internal_set_units(const ::std::string& value) {
568 7864 : ::google::protobuf::internal::TSanWrite(&_impl_);
569 7864 : _impl_.units_.Set(value, GetArena());
570 7864 : }
571 : inline ::std::string* PROTOBUF_NONNULL AttrListFile::_internal_mutable_units() {
572 : ::google::protobuf::internal::TSanWrite(&_impl_);
573 : return _impl_.units_.Mutable( GetArena());
574 : }
575 : inline ::std::string* PROTOBUF_NULLABLE AttrListFile::release_units() {
576 : ::google::protobuf::internal::TSanWrite(&_impl_);
577 : // @@protoc_insertion_point(field_release:Odb.Lib.Protobuf.AttrListFile.units)
578 : if (!CheckHasBit(_impl_._has_bits_[0], 0x00000004U)) {
579 : return nullptr;
580 : }
581 : ClearHasBit(_impl_._has_bits_[0], 0x00000004U);
582 : auto* released = _impl_.units_.Release();
583 : if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
584 : _impl_.units_.Set("", GetArena());
585 : }
586 : return released;
587 : }
588 : inline void AttrListFile::set_allocated_units(::std::string* PROTOBUF_NULLABLE value) {
589 : ::google::protobuf::internal::TSanWrite(&_impl_);
590 : if (value != nullptr) {
591 : SetHasBit(_impl_._has_bits_[0], 0x00000004U);
592 : } else {
593 : ClearHasBit(_impl_._has_bits_[0], 0x00000004U);
594 : }
595 : _impl_.units_.SetAllocated(value, GetArena());
596 : if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.units_.IsDefault()) {
597 : _impl_.units_.Set("", GetArena());
598 : }
599 : // @@protoc_insertion_point(field_set_allocated:Odb.Lib.Protobuf.AttrListFile.units)
600 : }
601 :
602 : // map<string, string> attributesByName = 4;
603 8119 : inline int AttrListFile::_internal_attributesbyname_size() const {
604 8119 : return _internal_attributesbyname().size();
605 : }
606 : inline int AttrListFile::attributesbyname_size() const {
607 : return _internal_attributesbyname_size();
608 : }
609 : inline void AttrListFile::clear_attributesbyname() {
610 : ::google::protobuf::internal::TSanWrite(&_impl_);
611 : _impl_.attributesbyname_.Clear();
612 : ClearHasBitForRepeated(_impl_._has_bits_[0],
613 : 0x00000008U);
614 : }
615 28887 : inline const ::google::protobuf::Map<::std::string, ::std::string>& AttrListFile::_internal_attributesbyname() const {
616 28887 : ::google::protobuf::internal::TSanRead(&_impl_);
617 28887 : return _impl_.attributesbyname_.GetMap();
618 : }
619 543 : inline const ::google::protobuf::Map<::std::string, ::std::string>& AttrListFile::attributesbyname() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
620 : // @@protoc_insertion_point(field_map:Odb.Lib.Protobuf.AttrListFile.attributesByName)
621 543 : return _internal_attributesbyname();
622 : }
623 222450 : inline ::google::protobuf::Map<::std::string, ::std::string>* PROTOBUF_NONNULL AttrListFile::_internal_mutable_attributesbyname() {
624 222450 : ::google::protobuf::internal::TSanWrite(&_impl_);
625 222450 : return _impl_.attributesbyname_.MutableMap();
626 : }
627 222450 : inline ::google::protobuf::Map<::std::string, ::std::string>* PROTOBUF_NONNULL AttrListFile::mutable_attributesbyname()
628 : ABSL_ATTRIBUTE_LIFETIME_BOUND {
629 222450 : SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000008U);
630 : // @@protoc_insertion_point(field_mutable_map:Odb.Lib.Protobuf.AttrListFile.attributesByName)
631 222450 : return _internal_mutable_attributesbyname();
632 : }
633 :
634 : #ifdef __GNUC__
635 : #pragma GCC diagnostic pop
636 : #endif // __GNUC__
637 :
638 : // @@protoc_insertion_point(namespace_scope)
639 : } // namespace Protobuf
640 : } // namespace Lib
641 : } // namespace Odb
642 :
643 :
644 : // @@protoc_insertion_point(global_scope)
645 :
646 : #include "google/protobuf/port_undef.inc"
647 :
648 : #endif // attrlistfile_2eproto_2epb_2eh
|