Line data Source code
1 : // Generated by the protocol buffer compiler. DO NOT EDIT!
2 : // NO CHECKED-IN PROTOBUF GENCODE
3 : // source: toolsfile.proto
4 : // Protobuf C++ Version: 6.33.4
5 :
6 : #ifndef toolsfile_2eproto_2epb_2eh
7 : #define toolsfile_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/generated_enum_reflection.h"
32 : #include "google/protobuf/unknown_field_set.h"
33 : // @@protoc_insertion_point(includes)
34 :
35 : // Must be included last.
36 : #include "google/protobuf/port_def.inc"
37 :
38 : #define PROTOBUF_INTERNAL_EXPORT_toolsfile_2eproto ODBDESIGN_EXPORT
39 :
40 : namespace google {
41 : namespace protobuf {
42 : namespace internal {
43 : template <typename T>
44 : ::absl::string_view GetAnyMessageName();
45 : } // namespace internal
46 : } // namespace protobuf
47 : } // namespace google
48 :
49 : // Internal implementation detail -- do not use these members.
50 : struct ODBDESIGN_EXPORT TableStruct_toolsfile_2eproto {
51 : static const ::uint32_t offsets[];
52 : };
53 : extern "C" {
54 : ODBDESIGN_EXPORT extern const ::google::protobuf::internal::DescriptorTable descriptor_table_toolsfile_2eproto;
55 : } // extern "C"
56 : namespace Odb {
57 : namespace Lib {
58 : namespace Protobuf {
59 : enum ToolsFile_ToolSubType : int;
60 : ODBDESIGN_EXPORT extern const uint32_t ToolsFile_ToolSubType_internal_data_[];
61 : enum ToolsFile_ToolType : int;
62 : ODBDESIGN_EXPORT extern const uint32_t ToolsFile_ToolType_internal_data_[];
63 : class ToolsFile;
64 : struct ToolsFileDefaultTypeInternal;
65 : ODBDESIGN_EXPORT extern ToolsFileDefaultTypeInternal _ToolsFile_default_instance_;
66 : ODBDESIGN_EXPORT extern const ::google::protobuf::internal::ClassDataFull ToolsFile_class_data_;
67 : class ToolsFile_Tool;
68 : struct ToolsFile_ToolDefaultTypeInternal;
69 : ODBDESIGN_EXPORT extern ToolsFile_ToolDefaultTypeInternal _ToolsFile_Tool_default_instance_;
70 : ODBDESIGN_EXPORT extern const ::google::protobuf::internal::ClassDataFull ToolsFile_Tool_class_data_;
71 : } // namespace Protobuf
72 : } // namespace Lib
73 : } // namespace Odb
74 : namespace google {
75 : namespace protobuf {
76 : template <>
77 : internal::EnumTraitsT<::Odb::Lib::Protobuf::ToolsFile_ToolSubType_internal_data_>
78 : internal::EnumTraitsImpl::value<::Odb::Lib::Protobuf::ToolsFile_ToolSubType>;
79 : template <>
80 : internal::EnumTraitsT<::Odb::Lib::Protobuf::ToolsFile_ToolType_internal_data_>
81 : internal::EnumTraitsImpl::value<::Odb::Lib::Protobuf::ToolsFile_ToolType>;
82 : } // namespace protobuf
83 : } // namespace google
84 :
85 : namespace Odb {
86 : namespace Lib {
87 : namespace Protobuf {
88 : enum ToolsFile_ToolType : int {
89 : ToolsFile_ToolType_UNKNOWN_TYPE = 0,
90 : ToolsFile_ToolType_PLATED = 1,
91 : ToolsFile_ToolType_NON_PLATED = 2,
92 : ToolsFile_ToolType_VIA = 3,
93 : ToolsFile_ToolType_ToolsFile_ToolType_INT_MIN_SENTINEL_DO_NOT_USE_ =
94 : ::std::numeric_limits<::int32_t>::min(),
95 : ToolsFile_ToolType_ToolsFile_ToolType_INT_MAX_SENTINEL_DO_NOT_USE_ =
96 : ::std::numeric_limits<::int32_t>::max(),
97 : };
98 :
99 : ODBDESIGN_EXPORT extern const uint32_t ToolsFile_ToolType_internal_data_[];
100 : inline constexpr ToolsFile_ToolType ToolsFile_ToolType_ToolType_MIN =
101 : static_cast<ToolsFile_ToolType>(0);
102 : inline constexpr ToolsFile_ToolType ToolsFile_ToolType_ToolType_MAX =
103 : static_cast<ToolsFile_ToolType>(3);
104 80 : inline bool ToolsFile_ToolType_IsValid(int value) {
105 80 : return 0 <= value && value <= 3;
106 : }
107 : inline constexpr int ToolsFile_ToolType_ToolType_ARRAYSIZE = 3 + 1;
108 : ODBDESIGN_EXPORT const ::google::protobuf::EnumDescriptor* PROTOBUF_NONNULL ToolsFile_ToolType_descriptor();
109 : template <typename T>
110 : const ::std::string& ToolsFile_ToolType_Name(T value) {
111 : static_assert(::std::is_same<T, ToolsFile_ToolType>::value ||
112 : ::std::is_integral<T>::value,
113 : "Incorrect type passed to ToolType_Name().");
114 : return ToolsFile_ToolType_Name(static_cast<ToolsFile_ToolType>(value));
115 : }
116 : template <>
117 : inline const ::std::string& ToolsFile_ToolType_Name(ToolsFile_ToolType value) {
118 : return ::google::protobuf::internal::NameOfDenseEnum<ToolsFile_ToolType_descriptor, 0, 3>(
119 : static_cast<int>(value));
120 : }
121 : inline bool ToolsFile_ToolType_Parse(
122 : ::absl::string_view name, ToolsFile_ToolType* PROTOBUF_NONNULL value) {
123 : return ::google::protobuf::internal::ParseNamedEnum<ToolsFile_ToolType>(ToolsFile_ToolType_descriptor(), name,
124 : value);
125 : }
126 : enum ToolsFile_ToolSubType : int {
127 : ToolsFile_ToolSubType_UNKNOWN_SUB_TYPE = 0,
128 : ToolsFile_ToolSubType_STANDARD = 1,
129 : ToolsFile_ToolSubType_PRESS_FIT = 2,
130 : ToolsFile_ToolSubType_PHOTO = 3,
131 : ToolsFile_ToolSubType_LASER = 4,
132 : ToolsFile_ToolSubType_ToolsFile_ToolSubType_INT_MIN_SENTINEL_DO_NOT_USE_ =
133 : ::std::numeric_limits<::int32_t>::min(),
134 : ToolsFile_ToolSubType_ToolsFile_ToolSubType_INT_MAX_SENTINEL_DO_NOT_USE_ =
135 : ::std::numeric_limits<::int32_t>::max(),
136 : };
137 :
138 : ODBDESIGN_EXPORT extern const uint32_t ToolsFile_ToolSubType_internal_data_[];
139 : inline constexpr ToolsFile_ToolSubType ToolsFile_ToolSubType_ToolSubType_MIN =
140 : static_cast<ToolsFile_ToolSubType>(0);
141 : inline constexpr ToolsFile_ToolSubType ToolsFile_ToolSubType_ToolSubType_MAX =
142 : static_cast<ToolsFile_ToolSubType>(4);
143 75 : inline bool ToolsFile_ToolSubType_IsValid(int value) {
144 75 : return 0 <= value && value <= 4;
145 : }
146 : inline constexpr int ToolsFile_ToolSubType_ToolSubType_ARRAYSIZE = 4 + 1;
147 : ODBDESIGN_EXPORT const ::google::protobuf::EnumDescriptor* PROTOBUF_NONNULL ToolsFile_ToolSubType_descriptor();
148 : template <typename T>
149 : const ::std::string& ToolsFile_ToolSubType_Name(T value) {
150 : static_assert(::std::is_same<T, ToolsFile_ToolSubType>::value ||
151 : ::std::is_integral<T>::value,
152 : "Incorrect type passed to ToolSubType_Name().");
153 : return ToolsFile_ToolSubType_Name(static_cast<ToolsFile_ToolSubType>(value));
154 : }
155 : template <>
156 : inline const ::std::string& ToolsFile_ToolSubType_Name(ToolsFile_ToolSubType value) {
157 : return ::google::protobuf::internal::NameOfDenseEnum<ToolsFile_ToolSubType_descriptor, 0, 4>(
158 : static_cast<int>(value));
159 : }
160 : inline bool ToolsFile_ToolSubType_Parse(
161 : ::absl::string_view name, ToolsFile_ToolSubType* PROTOBUF_NONNULL value) {
162 : return ::google::protobuf::internal::ParseNamedEnum<ToolsFile_ToolSubType>(ToolsFile_ToolSubType_descriptor(), name,
163 : value);
164 : }
165 :
166 : // ===================================================================
167 :
168 :
169 : // -------------------------------------------------------------------
170 :
171 : class ODBDESIGN_EXPORT ToolsFile_Tool final : public ::google::protobuf::Message
172 : /* @@protoc_insertion_point(class_definition:Odb.Lib.Protobuf.ToolsFile.Tool) */ {
173 : public:
174 1442 : inline ToolsFile_Tool() : ToolsFile_Tool(nullptr) {}
175 : ~ToolsFile_Tool() PROTOBUF_FINAL;
176 :
177 : #if defined(PROTOBUF_CUSTOM_VTABLE)
178 : void operator delete(ToolsFile_Tool* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
179 : SharedDtor(*msg);
180 : ::google::protobuf::internal::SizedDelete(msg, sizeof(ToolsFile_Tool));
181 : }
182 : #endif
183 :
184 : template <typename = void>
185 : explicit PROTOBUF_CONSTEXPR ToolsFile_Tool(::google::protobuf::internal::ConstantInitialized);
186 :
187 : inline ToolsFile_Tool(const ToolsFile_Tool& from) : ToolsFile_Tool(nullptr, from) {}
188 : inline ToolsFile_Tool(ToolsFile_Tool&& from) noexcept
189 : : ToolsFile_Tool(nullptr, ::std::move(from)) {}
190 : inline ToolsFile_Tool& operator=(const ToolsFile_Tool& from) {
191 : CopyFrom(from);
192 : return *this;
193 : }
194 : inline ToolsFile_Tool& operator=(ToolsFile_Tool&& from) noexcept {
195 : if (this == &from) return *this;
196 : if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
197 : InternalSwap(&from);
198 : } else {
199 : CopyFrom(from);
200 : }
201 : return *this;
202 : }
203 :
204 : inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
205 : ABSL_ATTRIBUTE_LIFETIME_BOUND {
206 : return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
207 : }
208 : inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
209 : ABSL_ATTRIBUTE_LIFETIME_BOUND {
210 : return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
211 : }
212 :
213 : static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
214 : return GetDescriptor();
215 : }
216 : static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
217 : return default_instance().GetMetadata().descriptor;
218 : }
219 : static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
220 : return default_instance().GetMetadata().reflection;
221 : }
222 : static const ToolsFile_Tool& default_instance() {
223 : return *reinterpret_cast<const ToolsFile_Tool*>(
224 : &_ToolsFile_Tool_default_instance_);
225 : }
226 : static constexpr int kIndexInFileMessages = 0;
227 : friend void swap(ToolsFile_Tool& a, ToolsFile_Tool& b) { a.Swap(&b); }
228 : inline void Swap(ToolsFile_Tool* PROTOBUF_NONNULL other) {
229 : if (other == this) return;
230 : if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
231 : InternalSwap(other);
232 : } else {
233 : ::google::protobuf::internal::GenericSwap(this, other);
234 : }
235 : }
236 : void UnsafeArenaSwap(ToolsFile_Tool* PROTOBUF_NONNULL other) {
237 : if (other == this) return;
238 : ABSL_DCHECK(GetArena() == other->GetArena());
239 : InternalSwap(other);
240 : }
241 :
242 : // implements Message ----------------------------------------------
243 :
244 : ToolsFile_Tool* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
245 : return ::google::protobuf::Message::DefaultConstruct<ToolsFile_Tool>(arena);
246 : }
247 : using ::google::protobuf::Message::CopyFrom;
248 : void CopyFrom(const ToolsFile_Tool& from);
249 : using ::google::protobuf::Message::MergeFrom;
250 1441 : void MergeFrom(const ToolsFile_Tool& from) { ToolsFile_Tool::MergeImpl(*this, from); }
251 :
252 : private:
253 : static void MergeImpl(::google::protobuf::MessageLite& to_msg,
254 : const ::google::protobuf::MessageLite& from_msg);
255 :
256 : public:
257 : bool IsInitialized() const {
258 : return true;
259 : }
260 : ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
261 : #if defined(PROTOBUF_CUSTOM_VTABLE)
262 : private:
263 : static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
264 : static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
265 : const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
266 : ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
267 :
268 : public:
269 : ::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
270 : ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
271 : ::uint8_t* PROTOBUF_NONNULL target,
272 : ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
273 : return _InternalSerialize(*this, target, stream);
274 : }
275 : #else // PROTOBUF_CUSTOM_VTABLE
276 : ::size_t ByteSizeLong() const final;
277 : ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
278 : ::uint8_t* PROTOBUF_NONNULL target,
279 : ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
280 : #endif // PROTOBUF_CUSTOM_VTABLE
281 1550 : int GetCachedSize() const { return _impl_._cached_size_.Get(); }
282 :
283 : private:
284 : void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
285 : static void SharedDtor(MessageLite& self);
286 : void InternalSwap(ToolsFile_Tool* PROTOBUF_NONNULL other);
287 : private:
288 : template <typename T>
289 : friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
290 : static ::absl::string_view FullMessageName() { return "Odb.Lib.Protobuf.ToolsFile.Tool"; }
291 :
292 : explicit ToolsFile_Tool(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
293 : ToolsFile_Tool(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const ToolsFile_Tool& from);
294 : ToolsFile_Tool(
295 : ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, ToolsFile_Tool&& from) noexcept
296 : : ToolsFile_Tool(arena) {
297 : *this = ::std::move(from);
298 : }
299 : const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
300 : static void* PROTOBUF_NONNULL PlacementNew_(
301 : const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
302 : ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
303 : static constexpr auto InternalNewImpl_();
304 :
305 : public:
306 : static constexpr auto InternalGenerateClassData_();
307 :
308 : ::google::protobuf::Metadata GetMetadata() const;
309 : // nested types ----------------------------------------------------
310 :
311 : // accessors -------------------------------------------------------
312 : enum : int {
313 : kBitFieldNumber = 6,
314 : kNumFieldNumber = 1,
315 : kTypeFieldNumber = 2,
316 : kMinTolFieldNumber = 4,
317 : kMaxTolFieldNumber = 5,
318 : kFinishSizeFieldNumber = 7,
319 : kDrillSizeFieldNumber = 8,
320 : kSubTypeFieldNumber = 3,
321 : };
322 : // optional string bit = 6;
323 : bool has_bit() const;
324 : void clear_bit() ;
325 : const ::std::string& bit() const;
326 : template <typename Arg_ = const ::std::string&, typename... Args_>
327 : void set_bit(Arg_&& arg, Args_... args);
328 : ::std::string* PROTOBUF_NONNULL mutable_bit();
329 : [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_bit();
330 : void set_allocated_bit(::std::string* PROTOBUF_NULLABLE value);
331 :
332 : private:
333 : const ::std::string& _internal_bit() const;
334 : PROTOBUF_ALWAYS_INLINE void _internal_set_bit(const ::std::string& value);
335 : ::std::string* PROTOBUF_NONNULL _internal_mutable_bit();
336 :
337 : public:
338 : // optional uint32 num = 1;
339 : bool has_num() const;
340 : void clear_num() ;
341 : ::uint32_t num() const;
342 : void set_num(::uint32_t value);
343 :
344 : private:
345 : ::uint32_t _internal_num() const;
346 : void _internal_set_num(::uint32_t value);
347 :
348 : public:
349 : // optional .Odb.Lib.Protobuf.ToolsFile.ToolType type = 2;
350 : bool has_type() const;
351 : void clear_type() ;
352 : ::Odb::Lib::Protobuf::ToolsFile_ToolType type() const;
353 : void set_type(::Odb::Lib::Protobuf::ToolsFile_ToolType value);
354 :
355 : private:
356 : ::Odb::Lib::Protobuf::ToolsFile_ToolType _internal_type() const;
357 : void _internal_set_type(::Odb::Lib::Protobuf::ToolsFile_ToolType value);
358 :
359 : public:
360 : // optional double minTol = 4;
361 : bool has_mintol() const;
362 : void clear_mintol() ;
363 : double mintol() const;
364 : void set_mintol(double value);
365 :
366 : private:
367 : double _internal_mintol() const;
368 : void _internal_set_mintol(double value);
369 :
370 : public:
371 : // optional double maxTol = 5;
372 : bool has_maxtol() const;
373 : void clear_maxtol() ;
374 : double maxtol() const;
375 : void set_maxtol(double value);
376 :
377 : private:
378 : double _internal_maxtol() const;
379 : void _internal_set_maxtol(double value);
380 :
381 : public:
382 : // optional double finishSize = 7;
383 : bool has_finishsize() const;
384 : void clear_finishsize() ;
385 : double finishsize() const;
386 : void set_finishsize(double value);
387 :
388 : private:
389 : double _internal_finishsize() const;
390 : void _internal_set_finishsize(double value);
391 :
392 : public:
393 : // optional double drillSize = 8;
394 : bool has_drillsize() const;
395 : void clear_drillsize() ;
396 : double drillsize() const;
397 : void set_drillsize(double value);
398 :
399 : private:
400 : double _internal_drillsize() const;
401 : void _internal_set_drillsize(double value);
402 :
403 : public:
404 : // optional .Odb.Lib.Protobuf.ToolsFile.ToolSubType subType = 3;
405 : bool has_subtype() const;
406 : void clear_subtype() ;
407 : ::Odb::Lib::Protobuf::ToolsFile_ToolSubType subtype() const;
408 : void set_subtype(::Odb::Lib::Protobuf::ToolsFile_ToolSubType value);
409 :
410 : private:
411 : ::Odb::Lib::Protobuf::ToolsFile_ToolSubType _internal_subtype() const;
412 : void _internal_set_subtype(::Odb::Lib::Protobuf::ToolsFile_ToolSubType value);
413 :
414 : public:
415 : // @@protoc_insertion_point(class_scope:Odb.Lib.Protobuf.ToolsFile.Tool)
416 : private:
417 : class _Internal;
418 : friend class ::google::protobuf::internal::TcParser;
419 : static const ::google::protobuf::internal::TcParseTable<3, 8,
420 : 0, 51,
421 : 2>
422 : _table_;
423 :
424 : friend class ::google::protobuf::MessageLite;
425 : friend class ::google::protobuf::Arena;
426 : template <typename T>
427 : friend class ::google::protobuf::Arena::InternalHelper;
428 : using InternalArenaConstructable_ = void;
429 : using DestructorSkippable_ = void;
430 : struct Impl_ {
431 : inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
432 : inline explicit Impl_(
433 : ::google::protobuf::internal::InternalVisibility visibility,
434 : ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
435 : inline explicit Impl_(
436 : ::google::protobuf::internal::InternalVisibility visibility,
437 : ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
438 : const ToolsFile_Tool& from_msg);
439 : ::google::protobuf::internal::HasBits<1> _has_bits_;
440 : ::google::protobuf::internal::CachedSize _cached_size_;
441 : ::google::protobuf::internal::ArenaStringPtr bit_;
442 : ::uint32_t num_;
443 : int type_;
444 : double mintol_;
445 : double maxtol_;
446 : double finishsize_;
447 : double drillsize_;
448 : int subtype_;
449 : PROTOBUF_TSAN_DECLARE_MEMBER
450 : };
451 : union { Impl_ _impl_; };
452 : friend struct ::TableStruct_toolsfile_2eproto;
453 : };
454 :
455 : ODBDESIGN_EXPORT extern const ::google::protobuf::internal::ClassDataFull ToolsFile_Tool_class_data_;
456 : // -------------------------------------------------------------------
457 :
458 : class ODBDESIGN_EXPORT ToolsFile final : public ::google::protobuf::Message
459 : /* @@protoc_insertion_point(class_definition:Odb.Lib.Protobuf.ToolsFile) */ {
460 : public:
461 2687 : inline ToolsFile() : ToolsFile(nullptr) {}
462 : ~ToolsFile() PROTOBUF_FINAL;
463 :
464 : #if defined(PROTOBUF_CUSTOM_VTABLE)
465 : void operator delete(ToolsFile* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
466 : SharedDtor(*msg);
467 : ::google::protobuf::internal::SizedDelete(msg, sizeof(ToolsFile));
468 : }
469 : #endif
470 :
471 : template <typename = void>
472 : explicit PROTOBUF_CONSTEXPR ToolsFile(::google::protobuf::internal::ConstantInitialized);
473 :
474 1 : inline ToolsFile(const ToolsFile& from) : ToolsFile(nullptr, from) {}
475 : inline ToolsFile(ToolsFile&& from) noexcept
476 : : ToolsFile(nullptr, ::std::move(from)) {}
477 : inline ToolsFile& operator=(const ToolsFile& from) {
478 : CopyFrom(from);
479 : return *this;
480 : }
481 : inline ToolsFile& operator=(ToolsFile&& from) noexcept {
482 : if (this == &from) return *this;
483 : if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
484 : InternalSwap(&from);
485 : } else {
486 : CopyFrom(from);
487 : }
488 : return *this;
489 : }
490 :
491 : inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
492 : ABSL_ATTRIBUTE_LIFETIME_BOUND {
493 : return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
494 : }
495 : inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
496 : ABSL_ATTRIBUTE_LIFETIME_BOUND {
497 : return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
498 : }
499 :
500 : static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
501 : return GetDescriptor();
502 : }
503 : static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
504 : return default_instance().GetMetadata().descriptor;
505 : }
506 : static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
507 : return default_instance().GetMetadata().reflection;
508 : }
509 : static const ToolsFile& default_instance() {
510 : return *reinterpret_cast<const ToolsFile*>(
511 : &_ToolsFile_default_instance_);
512 : }
513 : static constexpr int kIndexInFileMessages = 1;
514 : friend void swap(ToolsFile& a, ToolsFile& b) { a.Swap(&b); }
515 : inline void Swap(ToolsFile* PROTOBUF_NONNULL other) {
516 : if (other == this) return;
517 : if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
518 : InternalSwap(other);
519 : } else {
520 : ::google::protobuf::internal::GenericSwap(this, other);
521 : }
522 : }
523 : void UnsafeArenaSwap(ToolsFile* PROTOBUF_NONNULL other) {
524 : if (other == this) return;
525 : ABSL_DCHECK(GetArena() == other->GetArena());
526 : InternalSwap(other);
527 : }
528 :
529 : // implements Message ----------------------------------------------
530 :
531 : ToolsFile* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
532 : return ::google::protobuf::Message::DefaultConstruct<ToolsFile>(arena);
533 : }
534 : using ::google::protobuf::Message::CopyFrom;
535 : void CopyFrom(const ToolsFile& from);
536 : using ::google::protobuf::Message::MergeFrom;
537 2682 : void MergeFrom(const ToolsFile& from) { ToolsFile::MergeImpl(*this, from); }
538 :
539 : private:
540 : static void MergeImpl(::google::protobuf::MessageLite& to_msg,
541 : const ::google::protobuf::MessageLite& from_msg);
542 :
543 : public:
544 : bool IsInitialized() const {
545 : return true;
546 : }
547 : ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
548 : #if defined(PROTOBUF_CUSTOM_VTABLE)
549 : private:
550 : static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
551 : static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
552 : const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
553 : ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
554 :
555 : public:
556 : ::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
557 : ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
558 : ::uint8_t* PROTOBUF_NONNULL target,
559 : ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
560 : return _InternalSerialize(*this, target, stream);
561 : }
562 : #else // PROTOBUF_CUSTOM_VTABLE
563 : ::size_t ByteSizeLong() const final;
564 : ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
565 : ::uint8_t* PROTOBUF_NONNULL target,
566 : ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
567 : #endif // PROTOBUF_CUSTOM_VTABLE
568 2738 : int GetCachedSize() const { return _impl_._cached_size_.Get(); }
569 :
570 : private:
571 : void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
572 : static void SharedDtor(MessageLite& self);
573 : void InternalSwap(ToolsFile* PROTOBUF_NONNULL other);
574 : private:
575 : template <typename T>
576 : friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
577 : static ::absl::string_view FullMessageName() { return "Odb.Lib.Protobuf.ToolsFile"; }
578 :
579 : explicit ToolsFile(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
580 : ToolsFile(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const ToolsFile& from);
581 : ToolsFile(
582 : ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, ToolsFile&& from) noexcept
583 : : ToolsFile(arena) {
584 : *this = ::std::move(from);
585 : }
586 : const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
587 : static void* PROTOBUF_NONNULL PlacementNew_(
588 : const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
589 : ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
590 : static constexpr auto InternalNewImpl_();
591 :
592 : public:
593 : static constexpr auto InternalGenerateClassData_();
594 :
595 : ::google::protobuf::Metadata GetMetadata() const;
596 : // nested types ----------------------------------------------------
597 : using Tool = ToolsFile_Tool;
598 : using ToolType = ToolsFile_ToolType;
599 : static constexpr ToolType UNKNOWN_TYPE = ToolsFile_ToolType_UNKNOWN_TYPE;
600 : static constexpr ToolType PLATED = ToolsFile_ToolType_PLATED;
601 : static constexpr ToolType NON_PLATED = ToolsFile_ToolType_NON_PLATED;
602 : static constexpr ToolType VIA = ToolsFile_ToolType_VIA;
603 80 : static inline bool ToolType_IsValid(int value) {
604 80 : return ToolsFile_ToolType_IsValid(value);
605 : }
606 : static constexpr ToolType ToolType_MIN = ToolsFile_ToolType_ToolType_MIN;
607 : static constexpr ToolType ToolType_MAX = ToolsFile_ToolType_ToolType_MAX;
608 : static constexpr int ToolType_ARRAYSIZE = ToolsFile_ToolType_ToolType_ARRAYSIZE;
609 : static inline const ::google::protobuf::EnumDescriptor* PROTOBUF_NONNULL ToolType_descriptor() {
610 : return ToolsFile_ToolType_descriptor();
611 : }
612 : template <typename T>
613 : static inline const ::std::string& ToolType_Name(T value) {
614 : return ToolsFile_ToolType_Name(value);
615 : }
616 : static inline bool ToolType_Parse(
617 : ::absl::string_view name, ToolType* PROTOBUF_NONNULL value) {
618 : return ToolsFile_ToolType_Parse(name, value);
619 : }
620 : using ToolSubType = ToolsFile_ToolSubType;
621 : static constexpr ToolSubType UNKNOWN_SUB_TYPE = ToolsFile_ToolSubType_UNKNOWN_SUB_TYPE;
622 : static constexpr ToolSubType STANDARD = ToolsFile_ToolSubType_STANDARD;
623 : static constexpr ToolSubType PRESS_FIT = ToolsFile_ToolSubType_PRESS_FIT;
624 : static constexpr ToolSubType PHOTO = ToolsFile_ToolSubType_PHOTO;
625 : static constexpr ToolSubType LASER = ToolsFile_ToolSubType_LASER;
626 75 : static inline bool ToolSubType_IsValid(int value) {
627 75 : return ToolsFile_ToolSubType_IsValid(value);
628 : }
629 : static constexpr ToolSubType ToolSubType_MIN = ToolsFile_ToolSubType_ToolSubType_MIN;
630 : static constexpr ToolSubType ToolSubType_MAX = ToolsFile_ToolSubType_ToolSubType_MAX;
631 : static constexpr int ToolSubType_ARRAYSIZE = ToolsFile_ToolSubType_ToolSubType_ARRAYSIZE;
632 : static inline const ::google::protobuf::EnumDescriptor* PROTOBUF_NONNULL ToolSubType_descriptor() {
633 : return ToolsFile_ToolSubType_descriptor();
634 : }
635 : template <typename T>
636 : static inline const ::std::string& ToolSubType_Name(T value) {
637 : return ToolsFile_ToolSubType_Name(value);
638 : }
639 : static inline bool ToolSubType_Parse(
640 : ::absl::string_view name, ToolSubType* PROTOBUF_NONNULL value) {
641 : return ToolsFile_ToolSubType_Parse(name, value);
642 : }
643 :
644 : // accessors -------------------------------------------------------
645 : enum : int {
646 : kUserParamsFieldNumber = 3,
647 : kToolsFieldNumber = 4,
648 : kUnitsFieldNumber = 1,
649 : kDirectoryFieldNumber = 5,
650 : kPathFieldNumber = 6,
651 : kThicknessFieldNumber = 2,
652 : };
653 : // repeated string userParams = 3;
654 : int userparams_size() const;
655 : private:
656 : int _internal_userparams_size() const;
657 :
658 : public:
659 : void clear_userparams() ;
660 : const ::std::string& userparams(int index) const;
661 : ::std::string* PROTOBUF_NONNULL mutable_userparams(int index);
662 : template <typename Arg_ = const ::std::string&, typename... Args_>
663 : void set_userparams(int index, Arg_&& value, Args_... args);
664 : ::std::string* PROTOBUF_NONNULL add_userparams();
665 : template <typename Arg_ = const ::std::string&, typename... Args_>
666 : void add_userparams(Arg_&& value, Args_... args);
667 : const ::google::protobuf::RepeatedPtrField<::std::string>& userparams() const;
668 : ::google::protobuf::RepeatedPtrField<::std::string>* PROTOBUF_NONNULL mutable_userparams();
669 :
670 : private:
671 : const ::google::protobuf::RepeatedPtrField<::std::string>& _internal_userparams() const;
672 : ::google::protobuf::RepeatedPtrField<::std::string>* PROTOBUF_NONNULL _internal_mutable_userparams();
673 :
674 : public:
675 : // repeated .Odb.Lib.Protobuf.ToolsFile.Tool tools = 4;
676 : int tools_size() const;
677 : private:
678 : int _internal_tools_size() const;
679 :
680 : public:
681 : void clear_tools() ;
682 : ::Odb::Lib::Protobuf::ToolsFile_Tool* PROTOBUF_NONNULL mutable_tools(int index);
683 : ::google::protobuf::RepeatedPtrField<::Odb::Lib::Protobuf::ToolsFile_Tool>* PROTOBUF_NONNULL mutable_tools();
684 :
685 : private:
686 : const ::google::protobuf::RepeatedPtrField<::Odb::Lib::Protobuf::ToolsFile_Tool>& _internal_tools() const;
687 : ::google::protobuf::RepeatedPtrField<::Odb::Lib::Protobuf::ToolsFile_Tool>* PROTOBUF_NONNULL _internal_mutable_tools();
688 : public:
689 : const ::Odb::Lib::Protobuf::ToolsFile_Tool& tools(int index) const;
690 : ::Odb::Lib::Protobuf::ToolsFile_Tool* PROTOBUF_NONNULL add_tools();
691 : const ::google::protobuf::RepeatedPtrField<::Odb::Lib::Protobuf::ToolsFile_Tool>& tools() const;
692 : // optional string units = 1;
693 : bool has_units() const;
694 : void clear_units() ;
695 : const ::std::string& units() const;
696 : template <typename Arg_ = const ::std::string&, typename... Args_>
697 : void set_units(Arg_&& arg, Args_... args);
698 : ::std::string* PROTOBUF_NONNULL mutable_units();
699 : [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_units();
700 : void set_allocated_units(::std::string* PROTOBUF_NULLABLE value);
701 :
702 : private:
703 : const ::std::string& _internal_units() const;
704 : PROTOBUF_ALWAYS_INLINE void _internal_set_units(const ::std::string& value);
705 : ::std::string* PROTOBUF_NONNULL _internal_mutable_units();
706 :
707 : public:
708 : // optional string directory = 5;
709 : bool has_directory() const;
710 : void clear_directory() ;
711 : const ::std::string& directory() const;
712 : template <typename Arg_ = const ::std::string&, typename... Args_>
713 : void set_directory(Arg_&& arg, Args_... args);
714 : ::std::string* PROTOBUF_NONNULL mutable_directory();
715 : [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_directory();
716 : void set_allocated_directory(::std::string* PROTOBUF_NULLABLE value);
717 :
718 : private:
719 : const ::std::string& _internal_directory() const;
720 : PROTOBUF_ALWAYS_INLINE void _internal_set_directory(const ::std::string& value);
721 : ::std::string* PROTOBUF_NONNULL _internal_mutable_directory();
722 :
723 : public:
724 : // optional string path = 6;
725 : bool has_path() const;
726 : void clear_path() ;
727 : const ::std::string& path() const;
728 : template <typename Arg_ = const ::std::string&, typename... Args_>
729 : void set_path(Arg_&& arg, Args_... args);
730 : ::std::string* PROTOBUF_NONNULL mutable_path();
731 : [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_path();
732 : void set_allocated_path(::std::string* PROTOBUF_NULLABLE value);
733 :
734 : private:
735 : const ::std::string& _internal_path() const;
736 : PROTOBUF_ALWAYS_INLINE void _internal_set_path(const ::std::string& value);
737 : ::std::string* PROTOBUF_NONNULL _internal_mutable_path();
738 :
739 : public:
740 : // optional double thickness = 2;
741 : bool has_thickness() const;
742 : void clear_thickness() ;
743 : double thickness() const;
744 : void set_thickness(double value);
745 :
746 : private:
747 : double _internal_thickness() const;
748 : void _internal_set_thickness(double value);
749 :
750 : public:
751 : // @@protoc_insertion_point(class_scope:Odb.Lib.Protobuf.ToolsFile)
752 : private:
753 : class _Internal;
754 : friend class ::google::protobuf::internal::TcParser;
755 : static const ::google::protobuf::internal::TcParseTable<3, 6,
756 : 1, 63,
757 : 2>
758 : _table_;
759 :
760 : friend class ::google::protobuf::MessageLite;
761 : friend class ::google::protobuf::Arena;
762 : template <typename T>
763 : friend class ::google::protobuf::Arena::InternalHelper;
764 : using InternalArenaConstructable_ = void;
765 : using DestructorSkippable_ = void;
766 : struct Impl_ {
767 : inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
768 : inline explicit Impl_(
769 : ::google::protobuf::internal::InternalVisibility visibility,
770 : ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
771 : inline explicit Impl_(
772 : ::google::protobuf::internal::InternalVisibility visibility,
773 : ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
774 : const ToolsFile& from_msg);
775 : ::google::protobuf::internal::HasBits<1> _has_bits_;
776 : ::google::protobuf::internal::CachedSize _cached_size_;
777 : ::google::protobuf::RepeatedPtrField<::std::string> userparams_;
778 : ::google::protobuf::RepeatedPtrField< ::Odb::Lib::Protobuf::ToolsFile_Tool > tools_;
779 : ::google::protobuf::internal::ArenaStringPtr units_;
780 : ::google::protobuf::internal::ArenaStringPtr directory_;
781 : ::google::protobuf::internal::ArenaStringPtr path_;
782 : double thickness_;
783 : PROTOBUF_TSAN_DECLARE_MEMBER
784 : };
785 : union { Impl_ _impl_; };
786 : friend struct ::TableStruct_toolsfile_2eproto;
787 : };
788 :
789 : ODBDESIGN_EXPORT extern const ::google::protobuf::internal::ClassDataFull ToolsFile_class_data_;
790 :
791 : // ===================================================================
792 :
793 :
794 :
795 :
796 : // ===================================================================
797 :
798 :
799 : #ifdef __GNUC__
800 : #pragma GCC diagnostic push
801 : #pragma GCC diagnostic ignored "-Wstrict-aliasing"
802 : #endif // __GNUC__
803 : // -------------------------------------------------------------------
804 :
805 : // ToolsFile_Tool
806 :
807 : // optional uint32 num = 1;
808 80 : inline bool ToolsFile_Tool::has_num() const {
809 80 : bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000002U);
810 80 : return value;
811 : }
812 : inline void ToolsFile_Tool::clear_num() {
813 : ::google::protobuf::internal::TSanWrite(&_impl_);
814 : _impl_.num_ = 0u;
815 : ClearHasBit(_impl_._has_bits_[0],
816 : 0x00000002U);
817 : }
818 80 : inline ::uint32_t ToolsFile_Tool::num() const {
819 : // @@protoc_insertion_point(field_get:Odb.Lib.Protobuf.ToolsFile.Tool.num)
820 80 : return _internal_num();
821 : }
822 1446 : inline void ToolsFile_Tool::set_num(::uint32_t value) {
823 1446 : _internal_set_num(value);
824 1446 : SetHasBit(_impl_._has_bits_[0], 0x00000002U);
825 : // @@protoc_insertion_point(field_set:Odb.Lib.Protobuf.ToolsFile.Tool.num)
826 1446 : }
827 3712 : inline ::uint32_t ToolsFile_Tool::_internal_num() const {
828 3712 : ::google::protobuf::internal::TSanRead(&_impl_);
829 3712 : return _impl_.num_;
830 : }
831 1446 : inline void ToolsFile_Tool::_internal_set_num(::uint32_t value) {
832 1446 : ::google::protobuf::internal::TSanWrite(&_impl_);
833 1446 : _impl_.num_ = value;
834 1446 : }
835 :
836 : // optional .Odb.Lib.Protobuf.ToolsFile.ToolType type = 2;
837 : inline bool ToolsFile_Tool::has_type() const {
838 : bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000004U);
839 : return value;
840 : }
841 : inline void ToolsFile_Tool::clear_type() {
842 : ::google::protobuf::internal::TSanWrite(&_impl_);
843 : _impl_.type_ = 0;
844 : ClearHasBit(_impl_._has_bits_[0],
845 : 0x00000004U);
846 : }
847 80 : inline ::Odb::Lib::Protobuf::ToolsFile_ToolType ToolsFile_Tool::type() const {
848 : // @@protoc_insertion_point(field_get:Odb.Lib.Protobuf.ToolsFile.Tool.type)
849 80 : return _internal_type();
850 : }
851 1445 : inline void ToolsFile_Tool::set_type(::Odb::Lib::Protobuf::ToolsFile_ToolType value) {
852 1445 : _internal_set_type(value);
853 1445 : SetHasBit(_impl_._has_bits_[0], 0x00000004U);
854 : // @@protoc_insertion_point(field_set:Odb.Lib.Protobuf.ToolsFile.Tool.type)
855 1445 : }
856 3712 : inline ::Odb::Lib::Protobuf::ToolsFile_ToolType ToolsFile_Tool::_internal_type() const {
857 3712 : ::google::protobuf::internal::TSanRead(&_impl_);
858 3712 : return static_cast<::Odb::Lib::Protobuf::ToolsFile_ToolType>(_impl_.type_);
859 : }
860 1445 : inline void ToolsFile_Tool::_internal_set_type(::Odb::Lib::Protobuf::ToolsFile_ToolType value) {
861 1445 : ::google::protobuf::internal::TSanWrite(&_impl_);
862 1445 : _impl_.type_ = value;
863 1445 : }
864 :
865 : // optional .Odb.Lib.Protobuf.ToolsFile.ToolSubType subType = 3;
866 80 : inline bool ToolsFile_Tool::has_subtype() const {
867 80 : bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000080U);
868 80 : return value;
869 : }
870 : inline void ToolsFile_Tool::clear_subtype() {
871 : ::google::protobuf::internal::TSanWrite(&_impl_);
872 : _impl_.subtype_ = 0;
873 : ClearHasBit(_impl_._has_bits_[0],
874 : 0x00000080U);
875 : }
876 75 : inline ::Odb::Lib::Protobuf::ToolsFile_ToolSubType ToolsFile_Tool::subtype() const {
877 : // @@protoc_insertion_point(field_get:Odb.Lib.Protobuf.ToolsFile.Tool.subType)
878 75 : return _internal_subtype();
879 : }
880 1443 : inline void ToolsFile_Tool::set_subtype(::Odb::Lib::Protobuf::ToolsFile_ToolSubType value) {
881 1443 : _internal_set_subtype(value);
882 1443 : SetHasBit(_impl_._has_bits_[0], 0x00000080U);
883 : // @@protoc_insertion_point(field_set:Odb.Lib.Protobuf.ToolsFile.Tool.subType)
884 1443 : }
885 3707 : inline ::Odb::Lib::Protobuf::ToolsFile_ToolSubType ToolsFile_Tool::_internal_subtype() const {
886 3707 : ::google::protobuf::internal::TSanRead(&_impl_);
887 3707 : return static_cast<::Odb::Lib::Protobuf::ToolsFile_ToolSubType>(_impl_.subtype_);
888 : }
889 1443 : inline void ToolsFile_Tool::_internal_set_subtype(::Odb::Lib::Protobuf::ToolsFile_ToolSubType value) {
890 1443 : ::google::protobuf::internal::TSanWrite(&_impl_);
891 1443 : _impl_.subtype_ = value;
892 1443 : }
893 :
894 : // optional double minTol = 4;
895 : inline bool ToolsFile_Tool::has_mintol() const {
896 : bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000008U);
897 : return value;
898 : }
899 : inline void ToolsFile_Tool::clear_mintol() {
900 : ::google::protobuf::internal::TSanWrite(&_impl_);
901 : _impl_.mintol_ = 0;
902 : ClearHasBit(_impl_._has_bits_[0],
903 : 0x00000008U);
904 : }
905 80 : inline double ToolsFile_Tool::mintol() const {
906 : // @@protoc_insertion_point(field_get:Odb.Lib.Protobuf.ToolsFile.Tool.minTol)
907 80 : return _internal_mintol();
908 : }
909 1441 : inline void ToolsFile_Tool::set_mintol(double value) {
910 1441 : _internal_set_mintol(value);
911 1441 : SetHasBit(_impl_._has_bits_[0], 0x00000008U);
912 : // @@protoc_insertion_point(field_set:Odb.Lib.Protobuf.ToolsFile.Tool.minTol)
913 1441 : }
914 1630 : inline double ToolsFile_Tool::_internal_mintol() const {
915 1630 : ::google::protobuf::internal::TSanRead(&_impl_);
916 1630 : return _impl_.mintol_;
917 : }
918 1441 : inline void ToolsFile_Tool::_internal_set_mintol(double value) {
919 1441 : ::google::protobuf::internal::TSanWrite(&_impl_);
920 1441 : _impl_.mintol_ = value;
921 1441 : }
922 :
923 : // optional double maxTol = 5;
924 : inline bool ToolsFile_Tool::has_maxtol() const {
925 : bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000010U);
926 : return value;
927 : }
928 : inline void ToolsFile_Tool::clear_maxtol() {
929 : ::google::protobuf::internal::TSanWrite(&_impl_);
930 : _impl_.maxtol_ = 0;
931 : ClearHasBit(_impl_._has_bits_[0],
932 : 0x00000010U);
933 : }
934 80 : inline double ToolsFile_Tool::maxtol() const {
935 : // @@protoc_insertion_point(field_get:Odb.Lib.Protobuf.ToolsFile.Tool.maxTol)
936 80 : return _internal_maxtol();
937 : }
938 1441 : inline void ToolsFile_Tool::set_maxtol(double value) {
939 1441 : _internal_set_maxtol(value);
940 1441 : SetHasBit(_impl_._has_bits_[0], 0x00000010U);
941 : // @@protoc_insertion_point(field_set:Odb.Lib.Protobuf.ToolsFile.Tool.maxTol)
942 1441 : }
943 1630 : inline double ToolsFile_Tool::_internal_maxtol() const {
944 1630 : ::google::protobuf::internal::TSanRead(&_impl_);
945 1630 : return _impl_.maxtol_;
946 : }
947 1441 : inline void ToolsFile_Tool::_internal_set_maxtol(double value) {
948 1441 : ::google::protobuf::internal::TSanWrite(&_impl_);
949 1441 : _impl_.maxtol_ = value;
950 1441 : }
951 :
952 : // optional string bit = 6;
953 : inline bool ToolsFile_Tool::has_bit() const {
954 : bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000001U);
955 : return value;
956 : }
957 : inline void ToolsFile_Tool::clear_bit() {
958 : ::google::protobuf::internal::TSanWrite(&_impl_);
959 : _impl_.bit_.ClearToEmpty();
960 : ClearHasBit(_impl_._has_bits_[0],
961 : 0x00000001U);
962 : }
963 80 : inline const ::std::string& ToolsFile_Tool::bit() const
964 : ABSL_ATTRIBUTE_LIFETIME_BOUND {
965 : // @@protoc_insertion_point(field_get:Odb.Lib.Protobuf.ToolsFile.Tool.bit)
966 80 : return _internal_bit();
967 : }
968 : template <typename Arg_, typename... Args_>
969 : PROTOBUF_ALWAYS_INLINE void ToolsFile_Tool::set_bit(Arg_&& arg, Args_... args) {
970 1441 : ::google::protobuf::internal::TSanWrite(&_impl_);
971 1441 : SetHasBit(_impl_._has_bits_[0], 0x00000001U);
972 1441 : _impl_.bit_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
973 : // @@protoc_insertion_point(field_set:Odb.Lib.Protobuf.ToolsFile.Tool.bit)
974 1441 : }
975 : inline ::std::string* PROTOBUF_NONNULL ToolsFile_Tool::mutable_bit()
976 : ABSL_ATTRIBUTE_LIFETIME_BOUND {
977 : SetHasBit(_impl_._has_bits_[0], 0x00000001U);
978 : ::std::string* _s = _internal_mutable_bit();
979 : // @@protoc_insertion_point(field_mutable:Odb.Lib.Protobuf.ToolsFile.Tool.bit)
980 : return _s;
981 : }
982 5153 : inline const ::std::string& ToolsFile_Tool::_internal_bit() const {
983 5153 : ::google::protobuf::internal::TSanRead(&_impl_);
984 5153 : return _impl_.bit_.Get();
985 : }
986 : inline void ToolsFile_Tool::_internal_set_bit(const ::std::string& value) {
987 1441 : ::google::protobuf::internal::TSanWrite(&_impl_);
988 1441 : _impl_.bit_.Set(value, GetArena());
989 1441 : }
990 : inline ::std::string* PROTOBUF_NONNULL ToolsFile_Tool::_internal_mutable_bit() {
991 : ::google::protobuf::internal::TSanWrite(&_impl_);
992 : return _impl_.bit_.Mutable( GetArena());
993 : }
994 : inline ::std::string* PROTOBUF_NULLABLE ToolsFile_Tool::release_bit() {
995 : ::google::protobuf::internal::TSanWrite(&_impl_);
996 : // @@protoc_insertion_point(field_release:Odb.Lib.Protobuf.ToolsFile.Tool.bit)
997 : if (!CheckHasBit(_impl_._has_bits_[0], 0x00000001U)) {
998 : return nullptr;
999 : }
1000 : ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
1001 : auto* released = _impl_.bit_.Release();
1002 : if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
1003 : _impl_.bit_.Set("", GetArena());
1004 : }
1005 : return released;
1006 : }
1007 : inline void ToolsFile_Tool::set_allocated_bit(::std::string* PROTOBUF_NULLABLE value) {
1008 : ::google::protobuf::internal::TSanWrite(&_impl_);
1009 : if (value != nullptr) {
1010 : SetHasBit(_impl_._has_bits_[0], 0x00000001U);
1011 : } else {
1012 : ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
1013 : }
1014 : _impl_.bit_.SetAllocated(value, GetArena());
1015 : if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.bit_.IsDefault()) {
1016 : _impl_.bit_.Set("", GetArena());
1017 : }
1018 : // @@protoc_insertion_point(field_set_allocated:Odb.Lib.Protobuf.ToolsFile.Tool.bit)
1019 : }
1020 :
1021 : // optional double finishSize = 7;
1022 80 : inline bool ToolsFile_Tool::has_finishsize() const {
1023 80 : bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000020U);
1024 80 : return value;
1025 : }
1026 : inline void ToolsFile_Tool::clear_finishsize() {
1027 : ::google::protobuf::internal::TSanWrite(&_impl_);
1028 : _impl_.finishsize_ = 0;
1029 : ClearHasBit(_impl_._has_bits_[0],
1030 : 0x00000020U);
1031 : }
1032 74 : inline double ToolsFile_Tool::finishsize() const {
1033 : // @@protoc_insertion_point(field_get:Odb.Lib.Protobuf.ToolsFile.Tool.finishSize)
1034 74 : return _internal_finishsize();
1035 : }
1036 1442 : inline void ToolsFile_Tool::set_finishsize(double value) {
1037 1442 : _internal_set_finishsize(value);
1038 1442 : SetHasBit(_impl_._has_bits_[0], 0x00000020U);
1039 : // @@protoc_insertion_point(field_set:Odb.Lib.Protobuf.ToolsFile.Tool.finishSize)
1040 1442 : }
1041 1624 : inline double ToolsFile_Tool::_internal_finishsize() const {
1042 1624 : ::google::protobuf::internal::TSanRead(&_impl_);
1043 1624 : return _impl_.finishsize_;
1044 : }
1045 1442 : inline void ToolsFile_Tool::_internal_set_finishsize(double value) {
1046 1442 : ::google::protobuf::internal::TSanWrite(&_impl_);
1047 1442 : _impl_.finishsize_ = value;
1048 1442 : }
1049 :
1050 : // optional double drillSize = 8;
1051 80 : inline bool ToolsFile_Tool::has_drillsize() const {
1052 80 : bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000040U);
1053 80 : return value;
1054 : }
1055 : inline void ToolsFile_Tool::clear_drillsize() {
1056 : ::google::protobuf::internal::TSanWrite(&_impl_);
1057 : _impl_.drillsize_ = 0;
1058 : ClearHasBit(_impl_._has_bits_[0],
1059 : 0x00000040U);
1060 : }
1061 73 : inline double ToolsFile_Tool::drillsize() const {
1062 : // @@protoc_insertion_point(field_get:Odb.Lib.Protobuf.ToolsFile.Tool.drillSize)
1063 73 : return _internal_drillsize();
1064 : }
1065 1441 : inline void ToolsFile_Tool::set_drillsize(double value) {
1066 1441 : _internal_set_drillsize(value);
1067 1441 : SetHasBit(_impl_._has_bits_[0], 0x00000040U);
1068 : // @@protoc_insertion_point(field_set:Odb.Lib.Protobuf.ToolsFile.Tool.drillSize)
1069 1441 : }
1070 1623 : inline double ToolsFile_Tool::_internal_drillsize() const {
1071 1623 : ::google::protobuf::internal::TSanRead(&_impl_);
1072 1623 : return _impl_.drillsize_;
1073 : }
1074 1441 : inline void ToolsFile_Tool::_internal_set_drillsize(double value) {
1075 1441 : ::google::protobuf::internal::TSanWrite(&_impl_);
1076 1441 : _impl_.drillsize_ = value;
1077 1441 : }
1078 :
1079 : // -------------------------------------------------------------------
1080 :
1081 : // ToolsFile
1082 :
1083 : // optional string units = 1;
1084 : inline bool ToolsFile::has_units() const {
1085 : bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000004U);
1086 : return value;
1087 : }
1088 : inline void ToolsFile::clear_units() {
1089 : ::google::protobuf::internal::TSanWrite(&_impl_);
1090 : _impl_.units_.ClearToEmpty();
1091 : ClearHasBit(_impl_._has_bits_[0],
1092 : 0x00000004U);
1093 : }
1094 173 : inline const ::std::string& ToolsFile::units() const
1095 : ABSL_ATTRIBUTE_LIFETIME_BOUND {
1096 : // @@protoc_insertion_point(field_get:Odb.Lib.Protobuf.ToolsFile.units)
1097 173 : return _internal_units();
1098 : }
1099 : template <typename Arg_, typename... Args_>
1100 : PROTOBUF_ALWAYS_INLINE void ToolsFile::set_units(Arg_&& arg, Args_... args) {
1101 2682 : ::google::protobuf::internal::TSanWrite(&_impl_);
1102 2682 : SetHasBit(_impl_._has_bits_[0], 0x00000004U);
1103 2682 : _impl_.units_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
1104 : // @@protoc_insertion_point(field_set:Odb.Lib.Protobuf.ToolsFile.units)
1105 2682 : }
1106 : inline ::std::string* PROTOBUF_NONNULL ToolsFile::mutable_units()
1107 : ABSL_ATTRIBUTE_LIFETIME_BOUND {
1108 : SetHasBit(_impl_._has_bits_[0], 0x00000004U);
1109 : ::std::string* _s = _internal_mutable_units();
1110 : // @@protoc_insertion_point(field_mutable:Odb.Lib.Protobuf.ToolsFile.units)
1111 : return _s;
1112 : }
1113 9204 : inline const ::std::string& ToolsFile::_internal_units() const {
1114 9204 : ::google::protobuf::internal::TSanRead(&_impl_);
1115 9204 : return _impl_.units_.Get();
1116 : }
1117 : inline void ToolsFile::_internal_set_units(const ::std::string& value) {
1118 2682 : ::google::protobuf::internal::TSanWrite(&_impl_);
1119 2682 : _impl_.units_.Set(value, GetArena());
1120 2682 : }
1121 : inline ::std::string* PROTOBUF_NONNULL ToolsFile::_internal_mutable_units() {
1122 : ::google::protobuf::internal::TSanWrite(&_impl_);
1123 : return _impl_.units_.Mutable( GetArena());
1124 : }
1125 : inline ::std::string* PROTOBUF_NULLABLE ToolsFile::release_units() {
1126 : ::google::protobuf::internal::TSanWrite(&_impl_);
1127 : // @@protoc_insertion_point(field_release:Odb.Lib.Protobuf.ToolsFile.units)
1128 : if (!CheckHasBit(_impl_._has_bits_[0], 0x00000004U)) {
1129 : return nullptr;
1130 : }
1131 : ClearHasBit(_impl_._has_bits_[0], 0x00000004U);
1132 : auto* released = _impl_.units_.Release();
1133 : if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
1134 : _impl_.units_.Set("", GetArena());
1135 : }
1136 : return released;
1137 : }
1138 : inline void ToolsFile::set_allocated_units(::std::string* PROTOBUF_NULLABLE value) {
1139 : ::google::protobuf::internal::TSanWrite(&_impl_);
1140 : if (value != nullptr) {
1141 : SetHasBit(_impl_._has_bits_[0], 0x00000004U);
1142 : } else {
1143 : ClearHasBit(_impl_._has_bits_[0], 0x00000004U);
1144 : }
1145 : _impl_.units_.SetAllocated(value, GetArena());
1146 : if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.units_.IsDefault()) {
1147 : _impl_.units_.Set("", GetArena());
1148 : }
1149 : // @@protoc_insertion_point(field_set_allocated:Odb.Lib.Protobuf.ToolsFile.units)
1150 : }
1151 :
1152 : // optional double thickness = 2;
1153 : inline bool ToolsFile::has_thickness() const {
1154 : bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000020U);
1155 : return value;
1156 : }
1157 : inline void ToolsFile::clear_thickness() {
1158 : ::google::protobuf::internal::TSanWrite(&_impl_);
1159 : _impl_.thickness_ = 0;
1160 : ClearHasBit(_impl_._has_bits_[0],
1161 : 0x00000020U);
1162 : }
1163 173 : inline double ToolsFile::thickness() const {
1164 : // @@protoc_insertion_point(field_get:Odb.Lib.Protobuf.ToolsFile.thickness)
1165 173 : return _internal_thickness();
1166 : }
1167 2682 : inline void ToolsFile::set_thickness(double value) {
1168 2682 : _internal_set_thickness(value);
1169 2682 : SetHasBit(_impl_._has_bits_[0], 0x00000020U);
1170 : // @@protoc_insertion_point(field_set:Odb.Lib.Protobuf.ToolsFile.thickness)
1171 2682 : }
1172 2913 : inline double ToolsFile::_internal_thickness() const {
1173 2913 : ::google::protobuf::internal::TSanRead(&_impl_);
1174 2913 : return _impl_.thickness_;
1175 : }
1176 2682 : inline void ToolsFile::_internal_set_thickness(double value) {
1177 2682 : ::google::protobuf::internal::TSanWrite(&_impl_);
1178 2682 : _impl_.thickness_ = value;
1179 2682 : }
1180 :
1181 : // repeated string userParams = 3;
1182 0 : inline int ToolsFile::_internal_userparams_size() const {
1183 0 : return _internal_userparams().size();
1184 : }
1185 : inline int ToolsFile::userparams_size() const {
1186 : return _internal_userparams_size();
1187 : }
1188 : inline void ToolsFile::clear_userparams() {
1189 : ::google::protobuf::internal::TSanWrite(&_impl_);
1190 : _impl_.userparams_.Clear();
1191 : ClearHasBitForRepeated(_impl_._has_bits_[0],
1192 : 0x00000001U);
1193 : }
1194 : inline ::std::string* PROTOBUF_NONNULL ToolsFile::add_userparams()
1195 : ABSL_ATTRIBUTE_LIFETIME_BOUND {
1196 : ::google::protobuf::internal::TSanWrite(&_impl_);
1197 : ::std::string* _s =
1198 : _internal_mutable_userparams()->InternalAddWithArena(
1199 : ::google::protobuf::MessageLite::internal_visibility(), GetArena());
1200 : SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000001U);
1201 : // @@protoc_insertion_point(field_add_mutable:Odb.Lib.Protobuf.ToolsFile.userParams)
1202 : return _s;
1203 : }
1204 : inline const ::std::string& ToolsFile::userparams(int index) const
1205 : ABSL_ATTRIBUTE_LIFETIME_BOUND {
1206 : // @@protoc_insertion_point(field_get:Odb.Lib.Protobuf.ToolsFile.userParams)
1207 : return _internal_userparams().Get(index);
1208 : }
1209 : inline ::std::string* PROTOBUF_NONNULL ToolsFile::mutable_userparams(int index)
1210 : ABSL_ATTRIBUTE_LIFETIME_BOUND {
1211 : // @@protoc_insertion_point(field_mutable:Odb.Lib.Protobuf.ToolsFile.userParams)
1212 : return _internal_mutable_userparams()->Mutable(index);
1213 : }
1214 : template <typename Arg_, typename... Args_>
1215 : inline void ToolsFile::set_userparams(int index, Arg_&& value, Args_... args) {
1216 : ::google::protobuf::internal::AssignToString(*_internal_mutable_userparams()->Mutable(index), ::std::forward<Arg_>(value),
1217 : args... );
1218 : // @@protoc_insertion_point(field_set:Odb.Lib.Protobuf.ToolsFile.userParams)
1219 : }
1220 : template <typename Arg_, typename... Args_>
1221 0 : inline void ToolsFile::add_userparams(Arg_&& value, Args_... args) {
1222 0 : ::google::protobuf::internal::TSanWrite(&_impl_);
1223 0 : ::google::protobuf::internal::AddToRepeatedPtrField(
1224 0 : ::google::protobuf::MessageLite::internal_visibility(), GetArena(),
1225 0 : *_internal_mutable_userparams(), ::std::forward<Arg_>(value),
1226 : args... );
1227 0 : SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000001U);
1228 : // @@protoc_insertion_point(field_add:Odb.Lib.Protobuf.ToolsFile.userParams)
1229 0 : }
1230 173 : inline const ::google::protobuf::RepeatedPtrField<::std::string>& ToolsFile::userparams()
1231 : const ABSL_ATTRIBUTE_LIFETIME_BOUND {
1232 : // @@protoc_insertion_point(field_list:Odb.Lib.Protobuf.ToolsFile.userParams)
1233 173 : return _internal_userparams();
1234 : }
1235 : inline ::google::protobuf::RepeatedPtrField<::std::string>* PROTOBUF_NONNULL
1236 : ToolsFile::mutable_userparams() ABSL_ATTRIBUTE_LIFETIME_BOUND {
1237 : SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000001U);
1238 : // @@protoc_insertion_point(field_mutable_list:Odb.Lib.Protobuf.ToolsFile.userParams)
1239 : ::google::protobuf::internal::TSanWrite(&_impl_);
1240 : return _internal_mutable_userparams();
1241 : }
1242 : inline const ::google::protobuf::RepeatedPtrField<::std::string>&
1243 173 : ToolsFile::_internal_userparams() const {
1244 173 : ::google::protobuf::internal::TSanRead(&_impl_);
1245 173 : return _impl_.userparams_;
1246 : }
1247 : inline ::google::protobuf::RepeatedPtrField<::std::string>* PROTOBUF_NONNULL
1248 0 : ToolsFile::_internal_mutable_userparams() {
1249 0 : ::google::protobuf::internal::TSanRead(&_impl_);
1250 0 : return &_impl_.userparams_;
1251 : }
1252 :
1253 : // repeated .Odb.Lib.Protobuf.ToolsFile.Tool tools = 4;
1254 632 : inline int ToolsFile::_internal_tools_size() const {
1255 632 : return _internal_tools().size();
1256 : }
1257 : inline int ToolsFile::tools_size() const {
1258 : return _internal_tools_size();
1259 : }
1260 : inline void ToolsFile::clear_tools() {
1261 : ::google::protobuf::internal::TSanWrite(&_impl_);
1262 : _impl_.tools_.Clear();
1263 : ClearHasBitForRepeated(_impl_._has_bits_[0],
1264 : 0x00000002U);
1265 : }
1266 : inline ::Odb::Lib::Protobuf::ToolsFile_Tool* PROTOBUF_NONNULL ToolsFile::mutable_tools(int index)
1267 : ABSL_ATTRIBUTE_LIFETIME_BOUND {
1268 : // @@protoc_insertion_point(field_mutable:Odb.Lib.Protobuf.ToolsFile.tools)
1269 : return _internal_mutable_tools()->Mutable(index);
1270 : }
1271 : inline ::google::protobuf::RepeatedPtrField<::Odb::Lib::Protobuf::ToolsFile_Tool>* PROTOBUF_NONNULL ToolsFile::mutable_tools()
1272 : ABSL_ATTRIBUTE_LIFETIME_BOUND {
1273 : SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000002U);
1274 : // @@protoc_insertion_point(field_mutable_list:Odb.Lib.Protobuf.ToolsFile.tools)
1275 : ::google::protobuf::internal::TSanWrite(&_impl_);
1276 : return _internal_mutable_tools();
1277 : }
1278 : inline const ::Odb::Lib::Protobuf::ToolsFile_Tool& ToolsFile::tools(int index) const
1279 : ABSL_ATTRIBUTE_LIFETIME_BOUND {
1280 : // @@protoc_insertion_point(field_get:Odb.Lib.Protobuf.ToolsFile.tools)
1281 : return _internal_tools().Get(index);
1282 : }
1283 1447 : inline ::Odb::Lib::Protobuf::ToolsFile_Tool* PROTOBUF_NONNULL ToolsFile::add_tools()
1284 : ABSL_ATTRIBUTE_LIFETIME_BOUND {
1285 1447 : ::google::protobuf::internal::TSanWrite(&_impl_);
1286 : ::Odb::Lib::Protobuf::ToolsFile_Tool* _add =
1287 2894 : _internal_mutable_tools()->InternalAddWithArena(
1288 1447 : ::google::protobuf::MessageLite::internal_visibility(), GetArena());
1289 1447 : SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000002U);
1290 : // @@protoc_insertion_point(field_add:Odb.Lib.Protobuf.ToolsFile.tools)
1291 1447 : return _add;
1292 : }
1293 173 : inline const ::google::protobuf::RepeatedPtrField<::Odb::Lib::Protobuf::ToolsFile_Tool>& ToolsFile::tools() const
1294 : ABSL_ATTRIBUTE_LIFETIME_BOUND {
1295 : // @@protoc_insertion_point(field_list:Odb.Lib.Protobuf.ToolsFile.tools)
1296 173 : return _internal_tools();
1297 : }
1298 : inline const ::google::protobuf::RepeatedPtrField<::Odb::Lib::Protobuf::ToolsFile_Tool>&
1299 2999 : ToolsFile::_internal_tools() const {
1300 2999 : ::google::protobuf::internal::TSanRead(&_impl_);
1301 2999 : return _impl_.tools_;
1302 : }
1303 : inline ::google::protobuf::RepeatedPtrField<::Odb::Lib::Protobuf::ToolsFile_Tool>* PROTOBUF_NONNULL
1304 1737 : ToolsFile::_internal_mutable_tools() {
1305 1737 : ::google::protobuf::internal::TSanRead(&_impl_);
1306 1737 : return &_impl_.tools_;
1307 : }
1308 :
1309 : // optional string directory = 5;
1310 : inline bool ToolsFile::has_directory() const {
1311 : bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000008U);
1312 : return value;
1313 : }
1314 2 : inline void ToolsFile::clear_directory() {
1315 2 : ::google::protobuf::internal::TSanWrite(&_impl_);
1316 2 : _impl_.directory_.ClearToEmpty();
1317 2 : ClearHasBit(_impl_._has_bits_[0],
1318 : 0x00000008U);
1319 2 : }
1320 173 : inline const ::std::string& ToolsFile::directory() const
1321 : ABSL_ATTRIBUTE_LIFETIME_BOUND {
1322 : // @@protoc_insertion_point(field_get:Odb.Lib.Protobuf.ToolsFile.directory)
1323 173 : return _internal_directory();
1324 : }
1325 : template <typename Arg_, typename... Args_>
1326 : PROTOBUF_ALWAYS_INLINE void ToolsFile::set_directory(Arg_&& arg, Args_... args) {
1327 2682 : ::google::protobuf::internal::TSanWrite(&_impl_);
1328 2682 : SetHasBit(_impl_._has_bits_[0], 0x00000008U);
1329 2682 : _impl_.directory_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
1330 : // @@protoc_insertion_point(field_set:Odb.Lib.Protobuf.ToolsFile.directory)
1331 2682 : }
1332 : inline ::std::string* PROTOBUF_NONNULL ToolsFile::mutable_directory()
1333 : ABSL_ATTRIBUTE_LIFETIME_BOUND {
1334 : SetHasBit(_impl_._has_bits_[0], 0x00000008U);
1335 : ::std::string* _s = _internal_mutable_directory();
1336 : // @@protoc_insertion_point(field_mutable:Odb.Lib.Protobuf.ToolsFile.directory)
1337 : return _s;
1338 : }
1339 9200 : inline const ::std::string& ToolsFile::_internal_directory() const {
1340 9200 : ::google::protobuf::internal::TSanRead(&_impl_);
1341 9200 : return _impl_.directory_.Get();
1342 : }
1343 : inline void ToolsFile::_internal_set_directory(const ::std::string& value) {
1344 2682 : ::google::protobuf::internal::TSanWrite(&_impl_);
1345 2682 : _impl_.directory_.Set(value, GetArena());
1346 2682 : }
1347 : inline ::std::string* PROTOBUF_NONNULL ToolsFile::_internal_mutable_directory() {
1348 : ::google::protobuf::internal::TSanWrite(&_impl_);
1349 : return _impl_.directory_.Mutable( GetArena());
1350 : }
1351 : inline ::std::string* PROTOBUF_NULLABLE ToolsFile::release_directory() {
1352 : ::google::protobuf::internal::TSanWrite(&_impl_);
1353 : // @@protoc_insertion_point(field_release:Odb.Lib.Protobuf.ToolsFile.directory)
1354 : if (!CheckHasBit(_impl_._has_bits_[0], 0x00000008U)) {
1355 : return nullptr;
1356 : }
1357 : ClearHasBit(_impl_._has_bits_[0], 0x00000008U);
1358 : auto* released = _impl_.directory_.Release();
1359 : if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
1360 : _impl_.directory_.Set("", GetArena());
1361 : }
1362 : return released;
1363 : }
1364 : inline void ToolsFile::set_allocated_directory(::std::string* PROTOBUF_NULLABLE value) {
1365 : ::google::protobuf::internal::TSanWrite(&_impl_);
1366 : if (value != nullptr) {
1367 : SetHasBit(_impl_._has_bits_[0], 0x00000008U);
1368 : } else {
1369 : ClearHasBit(_impl_._has_bits_[0], 0x00000008U);
1370 : }
1371 : _impl_.directory_.SetAllocated(value, GetArena());
1372 : if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.directory_.IsDefault()) {
1373 : _impl_.directory_.Set("", GetArena());
1374 : }
1375 : // @@protoc_insertion_point(field_set_allocated:Odb.Lib.Protobuf.ToolsFile.directory)
1376 : }
1377 :
1378 : // optional string path = 6;
1379 : inline bool ToolsFile::has_path() const {
1380 : bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000010U);
1381 : return value;
1382 : }
1383 2 : inline void ToolsFile::clear_path() {
1384 2 : ::google::protobuf::internal::TSanWrite(&_impl_);
1385 2 : _impl_.path_.ClearToEmpty();
1386 2 : ClearHasBit(_impl_._has_bits_[0],
1387 : 0x00000010U);
1388 2 : }
1389 173 : inline const ::std::string& ToolsFile::path() const
1390 : ABSL_ATTRIBUTE_LIFETIME_BOUND {
1391 : // @@protoc_insertion_point(field_get:Odb.Lib.Protobuf.ToolsFile.path)
1392 173 : return _internal_path();
1393 : }
1394 : template <typename Arg_, typename... Args_>
1395 : PROTOBUF_ALWAYS_INLINE void ToolsFile::set_path(Arg_&& arg, Args_... args) {
1396 2682 : ::google::protobuf::internal::TSanWrite(&_impl_);
1397 2682 : SetHasBit(_impl_._has_bits_[0], 0x00000010U);
1398 2682 : _impl_.path_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
1399 : // @@protoc_insertion_point(field_set:Odb.Lib.Protobuf.ToolsFile.path)
1400 2682 : }
1401 : inline ::std::string* PROTOBUF_NONNULL ToolsFile::mutable_path()
1402 : ABSL_ATTRIBUTE_LIFETIME_BOUND {
1403 : SetHasBit(_impl_._has_bits_[0], 0x00000010U);
1404 : ::std::string* _s = _internal_mutable_path();
1405 : // @@protoc_insertion_point(field_mutable:Odb.Lib.Protobuf.ToolsFile.path)
1406 : return _s;
1407 : }
1408 9200 : inline const ::std::string& ToolsFile::_internal_path() const {
1409 9200 : ::google::protobuf::internal::TSanRead(&_impl_);
1410 9200 : return _impl_.path_.Get();
1411 : }
1412 : inline void ToolsFile::_internal_set_path(const ::std::string& value) {
1413 2682 : ::google::protobuf::internal::TSanWrite(&_impl_);
1414 2682 : _impl_.path_.Set(value, GetArena());
1415 2682 : }
1416 : inline ::std::string* PROTOBUF_NONNULL ToolsFile::_internal_mutable_path() {
1417 : ::google::protobuf::internal::TSanWrite(&_impl_);
1418 : return _impl_.path_.Mutable( GetArena());
1419 : }
1420 : inline ::std::string* PROTOBUF_NULLABLE ToolsFile::release_path() {
1421 : ::google::protobuf::internal::TSanWrite(&_impl_);
1422 : // @@protoc_insertion_point(field_release:Odb.Lib.Protobuf.ToolsFile.path)
1423 : if (!CheckHasBit(_impl_._has_bits_[0], 0x00000010U)) {
1424 : return nullptr;
1425 : }
1426 : ClearHasBit(_impl_._has_bits_[0], 0x00000010U);
1427 : auto* released = _impl_.path_.Release();
1428 : if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
1429 : _impl_.path_.Set("", GetArena());
1430 : }
1431 : return released;
1432 : }
1433 : inline void ToolsFile::set_allocated_path(::std::string* PROTOBUF_NULLABLE value) {
1434 : ::google::protobuf::internal::TSanWrite(&_impl_);
1435 : if (value != nullptr) {
1436 : SetHasBit(_impl_._has_bits_[0], 0x00000010U);
1437 : } else {
1438 : ClearHasBit(_impl_._has_bits_[0], 0x00000010U);
1439 : }
1440 : _impl_.path_.SetAllocated(value, GetArena());
1441 : if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.path_.IsDefault()) {
1442 : _impl_.path_.Set("", GetArena());
1443 : }
1444 : // @@protoc_insertion_point(field_set_allocated:Odb.Lib.Protobuf.ToolsFile.path)
1445 : }
1446 :
1447 : #ifdef __GNUC__
1448 : #pragma GCC diagnostic pop
1449 : #endif // __GNUC__
1450 :
1451 : // @@protoc_insertion_point(namespace_scope)
1452 : } // namespace Protobuf
1453 : } // namespace Lib
1454 : } // namespace Odb
1455 :
1456 :
1457 : namespace google {
1458 : namespace protobuf {
1459 :
1460 : template <>
1461 : struct is_proto_enum<::Odb::Lib::Protobuf::ToolsFile_ToolType> : std::true_type {};
1462 : template <>
1463 : inline const EnumDescriptor* PROTOBUF_NONNULL GetEnumDescriptor<::Odb::Lib::Protobuf::ToolsFile_ToolType>() {
1464 : return ::Odb::Lib::Protobuf::ToolsFile_ToolType_descriptor();
1465 : }
1466 : template <>
1467 : struct is_proto_enum<::Odb::Lib::Protobuf::ToolsFile_ToolSubType> : std::true_type {};
1468 : template <>
1469 : inline const EnumDescriptor* PROTOBUF_NONNULL GetEnumDescriptor<::Odb::Lib::Protobuf::ToolsFile_ToolSubType>() {
1470 : return ::Odb::Lib::Protobuf::ToolsFile_ToolSubType_descriptor();
1471 : }
1472 :
1473 : } // namespace protobuf
1474 : } // namespace google
1475 :
1476 : // @@protoc_insertion_point(global_scope)
1477 :
1478 : #include "google/protobuf/port_undef.inc"
1479 :
1480 : #endif // toolsfile_2eproto_2epb_2eh
|