Line data Source code
1 : // Generated by the protocol buffer compiler. DO NOT EDIT!
2 : // NO CHECKED-IN PROTOBUF GENCODE
3 : // source: matrixfile.proto
4 : // Protobuf C++ Version: 6.33.4
5 :
6 : #ifndef matrixfile_2eproto_2epb_2eh
7 : #define matrixfile_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 : #include "enums.pb.h"
34 : // @@protoc_insertion_point(includes)
35 :
36 : // Must be included last.
37 : #include "google/protobuf/port_def.inc"
38 :
39 : #define PROTOBUF_INTERNAL_EXPORT_matrixfile_2eproto ODBDESIGN_EXPORT
40 :
41 : namespace google {
42 : namespace protobuf {
43 : namespace internal {
44 : template <typename T>
45 : ::absl::string_view GetAnyMessageName();
46 : } // namespace internal
47 : } // namespace protobuf
48 : } // namespace google
49 :
50 : // Internal implementation detail -- do not use these members.
51 : struct ODBDESIGN_EXPORT TableStruct_matrixfile_2eproto {
52 : static const ::uint32_t offsets[];
53 : };
54 : extern "C" {
55 : ODBDESIGN_EXPORT extern const ::google::protobuf::internal::DescriptorTable descriptor_table_matrixfile_2eproto;
56 : } // extern "C"
57 : namespace Odb {
58 : namespace Lib {
59 : namespace Protobuf {
60 : enum MatrixFile_LayerRecord_Context : int;
61 : ODBDESIGN_EXPORT extern const uint32_t MatrixFile_LayerRecord_Context_internal_data_[];
62 : enum MatrixFile_LayerRecord_DielectricType : int;
63 : ODBDESIGN_EXPORT extern const uint32_t MatrixFile_LayerRecord_DielectricType_internal_data_[];
64 : enum MatrixFile_LayerRecord_Form : int;
65 : ODBDESIGN_EXPORT extern const uint32_t MatrixFile_LayerRecord_Form_internal_data_[];
66 : enum MatrixFile_LayerRecord_Type : int;
67 : ODBDESIGN_EXPORT extern const uint32_t MatrixFile_LayerRecord_Type_internal_data_[];
68 : class MatrixFile;
69 : struct MatrixFileDefaultTypeInternal;
70 : ODBDESIGN_EXPORT extern MatrixFileDefaultTypeInternal _MatrixFile_default_instance_;
71 : ODBDESIGN_EXPORT extern const ::google::protobuf::internal::ClassDataFull MatrixFile_class_data_;
72 : class MatrixFile_LayerRecord;
73 : struct MatrixFile_LayerRecordDefaultTypeInternal;
74 : ODBDESIGN_EXPORT extern MatrixFile_LayerRecordDefaultTypeInternal _MatrixFile_LayerRecord_default_instance_;
75 : ODBDESIGN_EXPORT extern const ::google::protobuf::internal::ClassDataFull MatrixFile_LayerRecord_class_data_;
76 : class MatrixFile_StepRecord;
77 : struct MatrixFile_StepRecordDefaultTypeInternal;
78 : ODBDESIGN_EXPORT extern MatrixFile_StepRecordDefaultTypeInternal _MatrixFile_StepRecord_default_instance_;
79 : ODBDESIGN_EXPORT extern const ::google::protobuf::internal::ClassDataFull MatrixFile_StepRecord_class_data_;
80 : class RgbColor;
81 : struct RgbColorDefaultTypeInternal;
82 : ODBDESIGN_EXPORT extern RgbColorDefaultTypeInternal _RgbColor_default_instance_;
83 : ODBDESIGN_EXPORT extern const ::google::protobuf::internal::ClassDataFull RgbColor_class_data_;
84 : } // namespace Protobuf
85 : } // namespace Lib
86 : } // namespace Odb
87 : namespace google {
88 : namespace protobuf {
89 : template <>
90 : internal::EnumTraitsT<::Odb::Lib::Protobuf::MatrixFile_LayerRecord_Context_internal_data_>
91 : internal::EnumTraitsImpl::value<::Odb::Lib::Protobuf::MatrixFile_LayerRecord_Context>;
92 : template <>
93 : internal::EnumTraitsT<::Odb::Lib::Protobuf::MatrixFile_LayerRecord_DielectricType_internal_data_>
94 : internal::EnumTraitsImpl::value<::Odb::Lib::Protobuf::MatrixFile_LayerRecord_DielectricType>;
95 : template <>
96 : internal::EnumTraitsT<::Odb::Lib::Protobuf::MatrixFile_LayerRecord_Form_internal_data_>
97 : internal::EnumTraitsImpl::value<::Odb::Lib::Protobuf::MatrixFile_LayerRecord_Form>;
98 : template <>
99 : internal::EnumTraitsT<::Odb::Lib::Protobuf::MatrixFile_LayerRecord_Type_internal_data_>
100 : internal::EnumTraitsImpl::value<::Odb::Lib::Protobuf::MatrixFile_LayerRecord_Type>;
101 : } // namespace protobuf
102 : } // namespace google
103 :
104 : namespace Odb {
105 : namespace Lib {
106 : namespace Protobuf {
107 : enum MatrixFile_LayerRecord_Type : int {
108 : MatrixFile_LayerRecord_Type_Signal = 0,
109 : MatrixFile_LayerRecord_Type_PowerGround = 1,
110 : MatrixFile_LayerRecord_Type_Dielectric = 2,
111 : MatrixFile_LayerRecord_Type_Mixed = 3,
112 : MatrixFile_LayerRecord_Type_SolderMask = 4,
113 : MatrixFile_LayerRecord_Type_SolderPaste = 5,
114 : MatrixFile_LayerRecord_Type_SilkScreen = 6,
115 : MatrixFile_LayerRecord_Type_Drill = 7,
116 : MatrixFile_LayerRecord_Type_Rout = 8,
117 : MatrixFile_LayerRecord_Type_Document = 9,
118 : MatrixFile_LayerRecord_Type_Component = 10,
119 : MatrixFile_LayerRecord_Type_Mask = 11,
120 : MatrixFile_LayerRecord_Type_ConductivePaste = 12,
121 : MatrixFile_LayerRecord_Type_MatrixFile_LayerRecord_Type_INT_MIN_SENTINEL_DO_NOT_USE_ =
122 : ::std::numeric_limits<::int32_t>::min(),
123 : MatrixFile_LayerRecord_Type_MatrixFile_LayerRecord_Type_INT_MAX_SENTINEL_DO_NOT_USE_ =
124 : ::std::numeric_limits<::int32_t>::max(),
125 : };
126 :
127 : ODBDESIGN_EXPORT extern const uint32_t MatrixFile_LayerRecord_Type_internal_data_[];
128 : inline constexpr MatrixFile_LayerRecord_Type MatrixFile_LayerRecord_Type_Type_MIN =
129 : static_cast<MatrixFile_LayerRecord_Type>(0);
130 : inline constexpr MatrixFile_LayerRecord_Type MatrixFile_LayerRecord_Type_Type_MAX =
131 : static_cast<MatrixFile_LayerRecord_Type>(12);
132 : inline bool MatrixFile_LayerRecord_Type_IsValid(int value) {
133 : return 0 <= value && value <= 12;
134 : }
135 : inline constexpr int MatrixFile_LayerRecord_Type_Type_ARRAYSIZE = 12 + 1;
136 : ODBDESIGN_EXPORT const ::google::protobuf::EnumDescriptor* PROTOBUF_NONNULL MatrixFile_LayerRecord_Type_descriptor();
137 : template <typename T>
138 : const ::std::string& MatrixFile_LayerRecord_Type_Name(T value) {
139 : static_assert(::std::is_same<T, MatrixFile_LayerRecord_Type>::value ||
140 : ::std::is_integral<T>::value,
141 : "Incorrect type passed to Type_Name().");
142 : return MatrixFile_LayerRecord_Type_Name(static_cast<MatrixFile_LayerRecord_Type>(value));
143 : }
144 : template <>
145 : inline const ::std::string& MatrixFile_LayerRecord_Type_Name(MatrixFile_LayerRecord_Type value) {
146 : return ::google::protobuf::internal::NameOfDenseEnum<MatrixFile_LayerRecord_Type_descriptor, 0, 12>(
147 : static_cast<int>(value));
148 : }
149 : inline bool MatrixFile_LayerRecord_Type_Parse(
150 : ::absl::string_view name, MatrixFile_LayerRecord_Type* PROTOBUF_NONNULL value) {
151 : return ::google::protobuf::internal::ParseNamedEnum<MatrixFile_LayerRecord_Type>(MatrixFile_LayerRecord_Type_descriptor(), name,
152 : value);
153 : }
154 : enum MatrixFile_LayerRecord_Context : int {
155 : MatrixFile_LayerRecord_Context_Board = 0,
156 : MatrixFile_LayerRecord_Context_Misc = 1,
157 : MatrixFile_LayerRecord_Context_MatrixFile_LayerRecord_Context_INT_MIN_SENTINEL_DO_NOT_USE_ =
158 : ::std::numeric_limits<::int32_t>::min(),
159 : MatrixFile_LayerRecord_Context_MatrixFile_LayerRecord_Context_INT_MAX_SENTINEL_DO_NOT_USE_ =
160 : ::std::numeric_limits<::int32_t>::max(),
161 : };
162 :
163 : ODBDESIGN_EXPORT extern const uint32_t MatrixFile_LayerRecord_Context_internal_data_[];
164 : inline constexpr MatrixFile_LayerRecord_Context MatrixFile_LayerRecord_Context_Context_MIN =
165 : static_cast<MatrixFile_LayerRecord_Context>(0);
166 : inline constexpr MatrixFile_LayerRecord_Context MatrixFile_LayerRecord_Context_Context_MAX =
167 : static_cast<MatrixFile_LayerRecord_Context>(1);
168 : inline bool MatrixFile_LayerRecord_Context_IsValid(int value) {
169 : return 0 <= value && value <= 1;
170 : }
171 : inline constexpr int MatrixFile_LayerRecord_Context_Context_ARRAYSIZE = 1 + 1;
172 : ODBDESIGN_EXPORT const ::google::protobuf::EnumDescriptor* PROTOBUF_NONNULL MatrixFile_LayerRecord_Context_descriptor();
173 : template <typename T>
174 : const ::std::string& MatrixFile_LayerRecord_Context_Name(T value) {
175 : static_assert(::std::is_same<T, MatrixFile_LayerRecord_Context>::value ||
176 : ::std::is_integral<T>::value,
177 : "Incorrect type passed to Context_Name().");
178 : return MatrixFile_LayerRecord_Context_Name(static_cast<MatrixFile_LayerRecord_Context>(value));
179 : }
180 : template <>
181 : inline const ::std::string& MatrixFile_LayerRecord_Context_Name(MatrixFile_LayerRecord_Context value) {
182 : return ::google::protobuf::internal::NameOfDenseEnum<MatrixFile_LayerRecord_Context_descriptor, 0, 1>(
183 : static_cast<int>(value));
184 : }
185 : inline bool MatrixFile_LayerRecord_Context_Parse(
186 : ::absl::string_view name, MatrixFile_LayerRecord_Context* PROTOBUF_NONNULL value) {
187 : return ::google::protobuf::internal::ParseNamedEnum<MatrixFile_LayerRecord_Context>(MatrixFile_LayerRecord_Context_descriptor(), name,
188 : value);
189 : }
190 : enum MatrixFile_LayerRecord_DielectricType : int {
191 : MatrixFile_LayerRecord_DielectricType_None = 0,
192 : MatrixFile_LayerRecord_DielectricType_Prepreg = 1,
193 : MatrixFile_LayerRecord_DielectricType_Core = 2,
194 : MatrixFile_LayerRecord_DielectricType_MatrixFile_LayerRecord_DielectricType_INT_MIN_SENTINEL_DO_NOT_USE_ =
195 : ::std::numeric_limits<::int32_t>::min(),
196 : MatrixFile_LayerRecord_DielectricType_MatrixFile_LayerRecord_DielectricType_INT_MAX_SENTINEL_DO_NOT_USE_ =
197 : ::std::numeric_limits<::int32_t>::max(),
198 : };
199 :
200 : ODBDESIGN_EXPORT extern const uint32_t MatrixFile_LayerRecord_DielectricType_internal_data_[];
201 : inline constexpr MatrixFile_LayerRecord_DielectricType MatrixFile_LayerRecord_DielectricType_DielectricType_MIN =
202 : static_cast<MatrixFile_LayerRecord_DielectricType>(0);
203 : inline constexpr MatrixFile_LayerRecord_DielectricType MatrixFile_LayerRecord_DielectricType_DielectricType_MAX =
204 : static_cast<MatrixFile_LayerRecord_DielectricType>(2);
205 : inline bool MatrixFile_LayerRecord_DielectricType_IsValid(int value) {
206 : return 0 <= value && value <= 2;
207 : }
208 : inline constexpr int MatrixFile_LayerRecord_DielectricType_DielectricType_ARRAYSIZE = 2 + 1;
209 : ODBDESIGN_EXPORT const ::google::protobuf::EnumDescriptor* PROTOBUF_NONNULL MatrixFile_LayerRecord_DielectricType_descriptor();
210 : template <typename T>
211 : const ::std::string& MatrixFile_LayerRecord_DielectricType_Name(T value) {
212 : static_assert(::std::is_same<T, MatrixFile_LayerRecord_DielectricType>::value ||
213 : ::std::is_integral<T>::value,
214 : "Incorrect type passed to DielectricType_Name().");
215 : return MatrixFile_LayerRecord_DielectricType_Name(static_cast<MatrixFile_LayerRecord_DielectricType>(value));
216 : }
217 : template <>
218 : inline const ::std::string& MatrixFile_LayerRecord_DielectricType_Name(MatrixFile_LayerRecord_DielectricType value) {
219 : return ::google::protobuf::internal::NameOfDenseEnum<MatrixFile_LayerRecord_DielectricType_descriptor, 0, 2>(
220 : static_cast<int>(value));
221 : }
222 : inline bool MatrixFile_LayerRecord_DielectricType_Parse(
223 : ::absl::string_view name, MatrixFile_LayerRecord_DielectricType* PROTOBUF_NONNULL value) {
224 : return ::google::protobuf::internal::ParseNamedEnum<MatrixFile_LayerRecord_DielectricType>(MatrixFile_LayerRecord_DielectricType_descriptor(), name,
225 : value);
226 : }
227 : enum MatrixFile_LayerRecord_Form : int {
228 : MatrixFile_LayerRecord_Form_Rigid = 0,
229 : MatrixFile_LayerRecord_Form_Flex = 1,
230 : MatrixFile_LayerRecord_Form_MatrixFile_LayerRecord_Form_INT_MIN_SENTINEL_DO_NOT_USE_ =
231 : ::std::numeric_limits<::int32_t>::min(),
232 : MatrixFile_LayerRecord_Form_MatrixFile_LayerRecord_Form_INT_MAX_SENTINEL_DO_NOT_USE_ =
233 : ::std::numeric_limits<::int32_t>::max(),
234 : };
235 :
236 : ODBDESIGN_EXPORT extern const uint32_t MatrixFile_LayerRecord_Form_internal_data_[];
237 : inline constexpr MatrixFile_LayerRecord_Form MatrixFile_LayerRecord_Form_Form_MIN =
238 : static_cast<MatrixFile_LayerRecord_Form>(0);
239 : inline constexpr MatrixFile_LayerRecord_Form MatrixFile_LayerRecord_Form_Form_MAX =
240 : static_cast<MatrixFile_LayerRecord_Form>(1);
241 : inline bool MatrixFile_LayerRecord_Form_IsValid(int value) {
242 : return 0 <= value && value <= 1;
243 : }
244 : inline constexpr int MatrixFile_LayerRecord_Form_Form_ARRAYSIZE = 1 + 1;
245 : ODBDESIGN_EXPORT const ::google::protobuf::EnumDescriptor* PROTOBUF_NONNULL MatrixFile_LayerRecord_Form_descriptor();
246 : template <typename T>
247 : const ::std::string& MatrixFile_LayerRecord_Form_Name(T value) {
248 : static_assert(::std::is_same<T, MatrixFile_LayerRecord_Form>::value ||
249 : ::std::is_integral<T>::value,
250 : "Incorrect type passed to Form_Name().");
251 : return MatrixFile_LayerRecord_Form_Name(static_cast<MatrixFile_LayerRecord_Form>(value));
252 : }
253 : template <>
254 : inline const ::std::string& MatrixFile_LayerRecord_Form_Name(MatrixFile_LayerRecord_Form value) {
255 : return ::google::protobuf::internal::NameOfDenseEnum<MatrixFile_LayerRecord_Form_descriptor, 0, 1>(
256 : static_cast<int>(value));
257 : }
258 : inline bool MatrixFile_LayerRecord_Form_Parse(
259 : ::absl::string_view name, MatrixFile_LayerRecord_Form* PROTOBUF_NONNULL value) {
260 : return ::google::protobuf::internal::ParseNamedEnum<MatrixFile_LayerRecord_Form>(MatrixFile_LayerRecord_Form_descriptor(), name,
261 : value);
262 : }
263 :
264 : // ===================================================================
265 :
266 :
267 : // -------------------------------------------------------------------
268 :
269 : class ODBDESIGN_EXPORT RgbColor final : public ::google::protobuf::Message
270 : /* @@protoc_insertion_point(class_definition:Odb.Lib.Protobuf.RgbColor) */ {
271 : public:
272 : inline RgbColor() : RgbColor(nullptr) {}
273 : ~RgbColor() PROTOBUF_FINAL;
274 :
275 : #if defined(PROTOBUF_CUSTOM_VTABLE)
276 : void operator delete(RgbColor* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
277 : SharedDtor(*msg);
278 : ::google::protobuf::internal::SizedDelete(msg, sizeof(RgbColor));
279 : }
280 : #endif
281 :
282 : template <typename = void>
283 : explicit PROTOBUF_CONSTEXPR RgbColor(::google::protobuf::internal::ConstantInitialized);
284 :
285 : inline RgbColor(const RgbColor& from) : RgbColor(nullptr, from) {}
286 : inline RgbColor(RgbColor&& from) noexcept
287 : : RgbColor(nullptr, ::std::move(from)) {}
288 : inline RgbColor& operator=(const RgbColor& from) {
289 : CopyFrom(from);
290 : return *this;
291 : }
292 : inline RgbColor& operator=(RgbColor&& from) noexcept {
293 : if (this == &from) return *this;
294 : if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
295 : InternalSwap(&from);
296 : } else {
297 : CopyFrom(from);
298 : }
299 : return *this;
300 : }
301 :
302 : inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
303 : ABSL_ATTRIBUTE_LIFETIME_BOUND {
304 : return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
305 : }
306 : inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
307 : ABSL_ATTRIBUTE_LIFETIME_BOUND {
308 : return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
309 : }
310 :
311 : static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
312 : return GetDescriptor();
313 : }
314 : static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
315 : return default_instance().GetMetadata().descriptor;
316 : }
317 : static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
318 : return default_instance().GetMetadata().reflection;
319 : }
320 : static const RgbColor& default_instance() {
321 : return *reinterpret_cast<const RgbColor*>(
322 : &_RgbColor_default_instance_);
323 : }
324 : static constexpr int kIndexInFileMessages = 0;
325 : friend void swap(RgbColor& a, RgbColor& b) { a.Swap(&b); }
326 : inline void Swap(RgbColor* PROTOBUF_NONNULL other) {
327 : if (other == this) return;
328 : if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
329 : InternalSwap(other);
330 : } else {
331 : ::google::protobuf::internal::GenericSwap(this, other);
332 : }
333 : }
334 : void UnsafeArenaSwap(RgbColor* PROTOBUF_NONNULL other) {
335 : if (other == this) return;
336 : ABSL_DCHECK(GetArena() == other->GetArena());
337 : InternalSwap(other);
338 : }
339 :
340 : // implements Message ----------------------------------------------
341 :
342 : RgbColor* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
343 : return ::google::protobuf::Message::DefaultConstruct<RgbColor>(arena);
344 : }
345 : using ::google::protobuf::Message::CopyFrom;
346 : void CopyFrom(const RgbColor& from);
347 : using ::google::protobuf::Message::MergeFrom;
348 0 : void MergeFrom(const RgbColor& from) { RgbColor::MergeImpl(*this, from); }
349 :
350 : private:
351 : static void MergeImpl(::google::protobuf::MessageLite& to_msg,
352 : const ::google::protobuf::MessageLite& from_msg);
353 :
354 : public:
355 : bool IsInitialized() const {
356 : return true;
357 : }
358 : ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
359 : #if defined(PROTOBUF_CUSTOM_VTABLE)
360 : private:
361 : static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
362 : static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
363 : const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
364 : ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
365 :
366 : public:
367 : ::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
368 : ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
369 : ::uint8_t* PROTOBUF_NONNULL target,
370 : ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
371 : return _InternalSerialize(*this, target, stream);
372 : }
373 : #else // PROTOBUF_CUSTOM_VTABLE
374 : ::size_t ByteSizeLong() const final;
375 : ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
376 : ::uint8_t* PROTOBUF_NONNULL target,
377 : ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
378 : #endif // PROTOBUF_CUSTOM_VTABLE
379 2760 : int GetCachedSize() const { return _impl_._cached_size_.Get(); }
380 :
381 : private:
382 : void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
383 : static void SharedDtor(MessageLite& self);
384 : void InternalSwap(RgbColor* PROTOBUF_NONNULL other);
385 : private:
386 : template <typename T>
387 : friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
388 : static ::absl::string_view FullMessageName() { return "Odb.Lib.Protobuf.RgbColor"; }
389 :
390 : explicit RgbColor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
391 : RgbColor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const RgbColor& from);
392 : RgbColor(
393 : ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, RgbColor&& from) noexcept
394 : : RgbColor(arena) {
395 : *this = ::std::move(from);
396 : }
397 : const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
398 : static void* PROTOBUF_NONNULL PlacementNew_(
399 : const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
400 : ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
401 : static constexpr auto InternalNewImpl_();
402 :
403 : public:
404 : static constexpr auto InternalGenerateClassData_();
405 :
406 : ::google::protobuf::Metadata GetMetadata() const;
407 : // nested types ----------------------------------------------------
408 :
409 : // accessors -------------------------------------------------------
410 : enum : int {
411 : kRedFieldNumber = 1,
412 : kGreenFieldNumber = 2,
413 : kBlueFieldNumber = 3,
414 : kNoPreferenceFieldNumber = 4,
415 : };
416 : // optional uint32 red = 1;
417 : bool has_red() const;
418 : void clear_red() ;
419 : ::uint32_t red() const;
420 : void set_red(::uint32_t value);
421 :
422 : private:
423 : ::uint32_t _internal_red() const;
424 : void _internal_set_red(::uint32_t value);
425 :
426 : public:
427 : // optional uint32 green = 2;
428 : bool has_green() const;
429 : void clear_green() ;
430 : ::uint32_t green() const;
431 : void set_green(::uint32_t value);
432 :
433 : private:
434 : ::uint32_t _internal_green() const;
435 : void _internal_set_green(::uint32_t value);
436 :
437 : public:
438 : // optional uint32 blue = 3;
439 : bool has_blue() const;
440 : void clear_blue() ;
441 : ::uint32_t blue() const;
442 : void set_blue(::uint32_t value);
443 :
444 : private:
445 : ::uint32_t _internal_blue() const;
446 : void _internal_set_blue(::uint32_t value);
447 :
448 : public:
449 : // optional bool noPreference = 4;
450 : bool has_nopreference() const;
451 : void clear_nopreference() ;
452 : bool nopreference() const;
453 : void set_nopreference(bool value);
454 :
455 : private:
456 : bool _internal_nopreference() const;
457 : void _internal_set_nopreference(bool value);
458 :
459 : public:
460 : // @@protoc_insertion_point(class_scope:Odb.Lib.Protobuf.RgbColor)
461 : private:
462 : class _Internal;
463 : friend class ::google::protobuf::internal::TcParser;
464 : static const ::google::protobuf::internal::TcParseTable<2, 4,
465 : 0, 0,
466 : 2>
467 : _table_;
468 :
469 : friend class ::google::protobuf::MessageLite;
470 : friend class ::google::protobuf::Arena;
471 : template <typename T>
472 : friend class ::google::protobuf::Arena::InternalHelper;
473 : using InternalArenaConstructable_ = void;
474 : using DestructorSkippable_ = void;
475 : struct Impl_ {
476 : inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
477 : inline explicit Impl_(
478 : ::google::protobuf::internal::InternalVisibility visibility,
479 : ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
480 : inline explicit Impl_(
481 : ::google::protobuf::internal::InternalVisibility visibility,
482 : ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
483 : const RgbColor& from_msg);
484 : ::google::protobuf::internal::HasBits<1> _has_bits_;
485 : ::google::protobuf::internal::CachedSize _cached_size_;
486 : ::uint32_t red_;
487 : ::uint32_t green_;
488 : ::uint32_t blue_;
489 : bool nopreference_;
490 : PROTOBUF_TSAN_DECLARE_MEMBER
491 : };
492 : union { Impl_ _impl_; };
493 : friend struct ::TableStruct_matrixfile_2eproto;
494 : };
495 :
496 : ODBDESIGN_EXPORT extern const ::google::protobuf::internal::ClassDataFull RgbColor_class_data_;
497 : // -------------------------------------------------------------------
498 :
499 : class ODBDESIGN_EXPORT MatrixFile_StepRecord final : public ::google::protobuf::Message
500 : /* @@protoc_insertion_point(class_definition:Odb.Lib.Protobuf.MatrixFile.StepRecord) */ {
501 : public:
502 92 : inline MatrixFile_StepRecord() : MatrixFile_StepRecord(nullptr) {}
503 : ~MatrixFile_StepRecord() PROTOBUF_FINAL;
504 :
505 : #if defined(PROTOBUF_CUSTOM_VTABLE)
506 : void operator delete(MatrixFile_StepRecord* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
507 : SharedDtor(*msg);
508 : ::google::protobuf::internal::SizedDelete(msg, sizeof(MatrixFile_StepRecord));
509 : }
510 : #endif
511 :
512 : template <typename = void>
513 : explicit PROTOBUF_CONSTEXPR MatrixFile_StepRecord(::google::protobuf::internal::ConstantInitialized);
514 :
515 : inline MatrixFile_StepRecord(const MatrixFile_StepRecord& from) : MatrixFile_StepRecord(nullptr, from) {}
516 : inline MatrixFile_StepRecord(MatrixFile_StepRecord&& from) noexcept
517 : : MatrixFile_StepRecord(nullptr, ::std::move(from)) {}
518 : inline MatrixFile_StepRecord& operator=(const MatrixFile_StepRecord& from) {
519 : CopyFrom(from);
520 : return *this;
521 : }
522 : inline MatrixFile_StepRecord& operator=(MatrixFile_StepRecord&& from) noexcept {
523 : if (this == &from) return *this;
524 : if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
525 : InternalSwap(&from);
526 : } else {
527 : CopyFrom(from);
528 : }
529 : return *this;
530 : }
531 :
532 : inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
533 : ABSL_ATTRIBUTE_LIFETIME_BOUND {
534 : return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
535 : }
536 : inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
537 : ABSL_ATTRIBUTE_LIFETIME_BOUND {
538 : return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
539 : }
540 :
541 : static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
542 : return GetDescriptor();
543 : }
544 : static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
545 : return default_instance().GetMetadata().descriptor;
546 : }
547 : static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
548 : return default_instance().GetMetadata().reflection;
549 : }
550 : static const MatrixFile_StepRecord& default_instance() {
551 : return *reinterpret_cast<const MatrixFile_StepRecord*>(
552 : &_MatrixFile_StepRecord_default_instance_);
553 : }
554 : static constexpr int kIndexInFileMessages = 1;
555 : friend void swap(MatrixFile_StepRecord& a, MatrixFile_StepRecord& b) { a.Swap(&b); }
556 : inline void Swap(MatrixFile_StepRecord* PROTOBUF_NONNULL other) {
557 : if (other == this) return;
558 : if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
559 : InternalSwap(other);
560 : } else {
561 : ::google::protobuf::internal::GenericSwap(this, other);
562 : }
563 : }
564 : void UnsafeArenaSwap(MatrixFile_StepRecord* PROTOBUF_NONNULL other) {
565 : if (other == this) return;
566 : ABSL_DCHECK(GetArena() == other->GetArena());
567 : InternalSwap(other);
568 : }
569 :
570 : // implements Message ----------------------------------------------
571 :
572 : MatrixFile_StepRecord* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
573 : return ::google::protobuf::Message::DefaultConstruct<MatrixFile_StepRecord>(arena);
574 : }
575 : using ::google::protobuf::Message::CopyFrom;
576 : void CopyFrom(const MatrixFile_StepRecord& from);
577 : using ::google::protobuf::Message::MergeFrom;
578 92 : void MergeFrom(const MatrixFile_StepRecord& from) { MatrixFile_StepRecord::MergeImpl(*this, from); }
579 :
580 : private:
581 : static void MergeImpl(::google::protobuf::MessageLite& to_msg,
582 : const ::google::protobuf::MessageLite& from_msg);
583 :
584 : public:
585 : bool IsInitialized() const {
586 : return true;
587 : }
588 : ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
589 : #if defined(PROTOBUF_CUSTOM_VTABLE)
590 : private:
591 : static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
592 : static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
593 : const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
594 : ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
595 :
596 : public:
597 : ::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
598 : ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
599 : ::uint8_t* PROTOBUF_NONNULL target,
600 : ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
601 : return _InternalSerialize(*this, target, stream);
602 : }
603 : #else // PROTOBUF_CUSTOM_VTABLE
604 : ::size_t ByteSizeLong() const final;
605 : ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
606 : ::uint8_t* PROTOBUF_NONNULL target,
607 : ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
608 : #endif // PROTOBUF_CUSTOM_VTABLE
609 97 : int GetCachedSize() const { return _impl_._cached_size_.Get(); }
610 :
611 : private:
612 : void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
613 : static void SharedDtor(MessageLite& self);
614 : void InternalSwap(MatrixFile_StepRecord* PROTOBUF_NONNULL other);
615 : private:
616 : template <typename T>
617 : friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
618 : static ::absl::string_view FullMessageName() { return "Odb.Lib.Protobuf.MatrixFile.StepRecord"; }
619 :
620 : explicit MatrixFile_StepRecord(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
621 : MatrixFile_StepRecord(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const MatrixFile_StepRecord& from);
622 : MatrixFile_StepRecord(
623 : ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, MatrixFile_StepRecord&& from) noexcept
624 : : MatrixFile_StepRecord(arena) {
625 : *this = ::std::move(from);
626 : }
627 : const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
628 : static void* PROTOBUF_NONNULL PlacementNew_(
629 : const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
630 : ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
631 : static constexpr auto InternalNewImpl_();
632 :
633 : public:
634 : static constexpr auto InternalGenerateClassData_();
635 :
636 : ::google::protobuf::Metadata GetMetadata() const;
637 : // nested types ----------------------------------------------------
638 :
639 : // accessors -------------------------------------------------------
640 : enum : int {
641 : kNameFieldNumber = 3,
642 : kColumnFieldNumber = 1,
643 : kIdFieldNumber = 2,
644 : };
645 : // string name = 3;
646 : void clear_name() ;
647 : const ::std::string& name() const;
648 : template <typename Arg_ = const ::std::string&, typename... Args_>
649 : void set_name(Arg_&& arg, Args_... args);
650 : ::std::string* PROTOBUF_NONNULL mutable_name();
651 : [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_name();
652 : void set_allocated_name(::std::string* PROTOBUF_NULLABLE value);
653 :
654 : private:
655 : const ::std::string& _internal_name() const;
656 : PROTOBUF_ALWAYS_INLINE void _internal_set_name(const ::std::string& value);
657 : ::std::string* PROTOBUF_NONNULL _internal_mutable_name();
658 :
659 : public:
660 : // uint32 column = 1;
661 : void clear_column() ;
662 : ::uint32_t column() const;
663 : void set_column(::uint32_t value);
664 :
665 : private:
666 : ::uint32_t _internal_column() const;
667 : void _internal_set_column(::uint32_t value);
668 :
669 : public:
670 : // uint32 id = 2;
671 : void clear_id() ;
672 : ::uint32_t id() const;
673 : void set_id(::uint32_t value);
674 :
675 : private:
676 : ::uint32_t _internal_id() const;
677 : void _internal_set_id(::uint32_t value);
678 :
679 : public:
680 : // @@protoc_insertion_point(class_scope:Odb.Lib.Protobuf.MatrixFile.StepRecord)
681 : private:
682 : class _Internal;
683 : friend class ::google::protobuf::internal::TcParser;
684 : static const ::google::protobuf::internal::TcParseTable<2, 3,
685 : 0, 51,
686 : 2>
687 : _table_;
688 :
689 : friend class ::google::protobuf::MessageLite;
690 : friend class ::google::protobuf::Arena;
691 : template <typename T>
692 : friend class ::google::protobuf::Arena::InternalHelper;
693 : using InternalArenaConstructable_ = void;
694 : using DestructorSkippable_ = void;
695 : struct Impl_ {
696 : inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
697 : inline explicit Impl_(
698 : ::google::protobuf::internal::InternalVisibility visibility,
699 : ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
700 : inline explicit Impl_(
701 : ::google::protobuf::internal::InternalVisibility visibility,
702 : ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
703 : const MatrixFile_StepRecord& from_msg);
704 : ::google::protobuf::internal::HasBits<1> _has_bits_;
705 : ::google::protobuf::internal::CachedSize _cached_size_;
706 : ::google::protobuf::internal::ArenaStringPtr name_;
707 : ::uint32_t column_;
708 : ::uint32_t id_;
709 : PROTOBUF_TSAN_DECLARE_MEMBER
710 : };
711 : union { Impl_ _impl_; };
712 : friend struct ::TableStruct_matrixfile_2eproto;
713 : };
714 :
715 : ODBDESIGN_EXPORT extern const ::google::protobuf::internal::ClassDataFull MatrixFile_StepRecord_class_data_;
716 : // -------------------------------------------------------------------
717 :
718 : class ODBDESIGN_EXPORT MatrixFile_LayerRecord final : public ::google::protobuf::Message
719 : /* @@protoc_insertion_point(class_definition:Odb.Lib.Protobuf.MatrixFile.LayerRecord) */ {
720 : public:
721 2742 : inline MatrixFile_LayerRecord() : MatrixFile_LayerRecord(nullptr) {}
722 : ~MatrixFile_LayerRecord() PROTOBUF_FINAL;
723 :
724 : #if defined(PROTOBUF_CUSTOM_VTABLE)
725 : void operator delete(MatrixFile_LayerRecord* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
726 : SharedDtor(*msg);
727 : ::google::protobuf::internal::SizedDelete(msg, sizeof(MatrixFile_LayerRecord));
728 : }
729 : #endif
730 :
731 : template <typename = void>
732 : explicit PROTOBUF_CONSTEXPR MatrixFile_LayerRecord(::google::protobuf::internal::ConstantInitialized);
733 :
734 : inline MatrixFile_LayerRecord(const MatrixFile_LayerRecord& from) : MatrixFile_LayerRecord(nullptr, from) {}
735 : inline MatrixFile_LayerRecord(MatrixFile_LayerRecord&& from) noexcept
736 : : MatrixFile_LayerRecord(nullptr, ::std::move(from)) {}
737 : inline MatrixFile_LayerRecord& operator=(const MatrixFile_LayerRecord& from) {
738 : CopyFrom(from);
739 : return *this;
740 : }
741 : inline MatrixFile_LayerRecord& operator=(MatrixFile_LayerRecord&& from) noexcept {
742 : if (this == &from) return *this;
743 : if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
744 : InternalSwap(&from);
745 : } else {
746 : CopyFrom(from);
747 : }
748 : return *this;
749 : }
750 :
751 : inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
752 : ABSL_ATTRIBUTE_LIFETIME_BOUND {
753 : return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
754 : }
755 : inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
756 : ABSL_ATTRIBUTE_LIFETIME_BOUND {
757 : return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
758 : }
759 :
760 : static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
761 : return GetDescriptor();
762 : }
763 : static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
764 : return default_instance().GetMetadata().descriptor;
765 : }
766 : static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
767 : return default_instance().GetMetadata().reflection;
768 : }
769 : static const MatrixFile_LayerRecord& default_instance() {
770 : return *reinterpret_cast<const MatrixFile_LayerRecord*>(
771 : &_MatrixFile_LayerRecord_default_instance_);
772 : }
773 : static constexpr int kIndexInFileMessages = 2;
774 : friend void swap(MatrixFile_LayerRecord& a, MatrixFile_LayerRecord& b) { a.Swap(&b); }
775 : inline void Swap(MatrixFile_LayerRecord* PROTOBUF_NONNULL other) {
776 : if (other == this) return;
777 : if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
778 : InternalSwap(other);
779 : } else {
780 : ::google::protobuf::internal::GenericSwap(this, other);
781 : }
782 : }
783 : void UnsafeArenaSwap(MatrixFile_LayerRecord* PROTOBUF_NONNULL other) {
784 : if (other == this) return;
785 : ABSL_DCHECK(GetArena() == other->GetArena());
786 : InternalSwap(other);
787 : }
788 :
789 : // implements Message ----------------------------------------------
790 :
791 : MatrixFile_LayerRecord* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
792 : return ::google::protobuf::Message::DefaultConstruct<MatrixFile_LayerRecord>(arena);
793 : }
794 : using ::google::protobuf::Message::CopyFrom;
795 : void CopyFrom(const MatrixFile_LayerRecord& from);
796 : using ::google::protobuf::Message::MergeFrom;
797 2715 : void MergeFrom(const MatrixFile_LayerRecord& from) { MatrixFile_LayerRecord::MergeImpl(*this, from); }
798 :
799 : private:
800 : static void MergeImpl(::google::protobuf::MessageLite& to_msg,
801 : const ::google::protobuf::MessageLite& from_msg);
802 :
803 : public:
804 : bool IsInitialized() const {
805 : return true;
806 : }
807 : ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
808 : #if defined(PROTOBUF_CUSTOM_VTABLE)
809 : private:
810 : static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
811 : static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
812 : const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
813 : ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
814 :
815 : public:
816 : ::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
817 : ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
818 : ::uint8_t* PROTOBUF_NONNULL target,
819 : ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
820 : return _InternalSerialize(*this, target, stream);
821 : }
822 : #else // PROTOBUF_CUSTOM_VTABLE
823 : ::size_t ByteSizeLong() const final;
824 : ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
825 : ::uint8_t* PROTOBUF_NONNULL target,
826 : ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
827 : #endif // PROTOBUF_CUSTOM_VTABLE
828 2760 : int GetCachedSize() const { return _impl_._cached_size_.Get(); }
829 :
830 : private:
831 : void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
832 : static void SharedDtor(MessageLite& self);
833 : void InternalSwap(MatrixFile_LayerRecord* PROTOBUF_NONNULL other);
834 : private:
835 : template <typename T>
836 : friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
837 : static ::absl::string_view FullMessageName() { return "Odb.Lib.Protobuf.MatrixFile.LayerRecord"; }
838 :
839 : explicit MatrixFile_LayerRecord(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
840 : MatrixFile_LayerRecord(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const MatrixFile_LayerRecord& from);
841 : MatrixFile_LayerRecord(
842 : ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, MatrixFile_LayerRecord&& from) noexcept
843 : : MatrixFile_LayerRecord(arena) {
844 : *this = ::std::move(from);
845 : }
846 : const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
847 : static void* PROTOBUF_NONNULL PlacementNew_(
848 : const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
849 : ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
850 : static constexpr auto InternalNewImpl_();
851 :
852 : public:
853 : static constexpr auto InternalGenerateClassData_();
854 :
855 : ::google::protobuf::Metadata GetMetadata() const;
856 : // nested types ----------------------------------------------------
857 : using Type = MatrixFile_LayerRecord_Type;
858 : static constexpr Type Signal = MatrixFile_LayerRecord_Type_Signal;
859 : static constexpr Type PowerGround = MatrixFile_LayerRecord_Type_PowerGround;
860 : static constexpr Type Dielectric = MatrixFile_LayerRecord_Type_Dielectric;
861 : static constexpr Type Mixed = MatrixFile_LayerRecord_Type_Mixed;
862 : static constexpr Type SolderMask = MatrixFile_LayerRecord_Type_SolderMask;
863 : static constexpr Type SolderPaste = MatrixFile_LayerRecord_Type_SolderPaste;
864 : static constexpr Type SilkScreen = MatrixFile_LayerRecord_Type_SilkScreen;
865 : static constexpr Type Drill = MatrixFile_LayerRecord_Type_Drill;
866 : static constexpr Type Rout = MatrixFile_LayerRecord_Type_Rout;
867 : static constexpr Type Document = MatrixFile_LayerRecord_Type_Document;
868 : static constexpr Type Component = MatrixFile_LayerRecord_Type_Component;
869 : static constexpr Type Mask = MatrixFile_LayerRecord_Type_Mask;
870 : static constexpr Type ConductivePaste = MatrixFile_LayerRecord_Type_ConductivePaste;
871 : static inline bool Type_IsValid(int value) {
872 : return MatrixFile_LayerRecord_Type_IsValid(value);
873 : }
874 : static constexpr Type Type_MIN = MatrixFile_LayerRecord_Type_Type_MIN;
875 : static constexpr Type Type_MAX = MatrixFile_LayerRecord_Type_Type_MAX;
876 : static constexpr int Type_ARRAYSIZE = MatrixFile_LayerRecord_Type_Type_ARRAYSIZE;
877 : static inline const ::google::protobuf::EnumDescriptor* PROTOBUF_NONNULL Type_descriptor() {
878 : return MatrixFile_LayerRecord_Type_descriptor();
879 : }
880 : template <typename T>
881 : static inline const ::std::string& Type_Name(T value) {
882 : return MatrixFile_LayerRecord_Type_Name(value);
883 : }
884 : static inline bool Type_Parse(
885 : ::absl::string_view name, Type* PROTOBUF_NONNULL value) {
886 : return MatrixFile_LayerRecord_Type_Parse(name, value);
887 : }
888 : using Context = MatrixFile_LayerRecord_Context;
889 : static constexpr Context Board = MatrixFile_LayerRecord_Context_Board;
890 : static constexpr Context Misc = MatrixFile_LayerRecord_Context_Misc;
891 : static inline bool Context_IsValid(int value) {
892 : return MatrixFile_LayerRecord_Context_IsValid(value);
893 : }
894 : static constexpr Context Context_MIN = MatrixFile_LayerRecord_Context_Context_MIN;
895 : static constexpr Context Context_MAX = MatrixFile_LayerRecord_Context_Context_MAX;
896 : static constexpr int Context_ARRAYSIZE = MatrixFile_LayerRecord_Context_Context_ARRAYSIZE;
897 : static inline const ::google::protobuf::EnumDescriptor* PROTOBUF_NONNULL Context_descriptor() {
898 : return MatrixFile_LayerRecord_Context_descriptor();
899 : }
900 : template <typename T>
901 : static inline const ::std::string& Context_Name(T value) {
902 : return MatrixFile_LayerRecord_Context_Name(value);
903 : }
904 : static inline bool Context_Parse(
905 : ::absl::string_view name, Context* PROTOBUF_NONNULL value) {
906 : return MatrixFile_LayerRecord_Context_Parse(name, value);
907 : }
908 : using DielectricType = MatrixFile_LayerRecord_DielectricType;
909 : static constexpr DielectricType None = MatrixFile_LayerRecord_DielectricType_None;
910 : static constexpr DielectricType Prepreg = MatrixFile_LayerRecord_DielectricType_Prepreg;
911 : static constexpr DielectricType Core = MatrixFile_LayerRecord_DielectricType_Core;
912 : static inline bool DielectricType_IsValid(int value) {
913 : return MatrixFile_LayerRecord_DielectricType_IsValid(value);
914 : }
915 : static constexpr DielectricType DielectricType_MIN = MatrixFile_LayerRecord_DielectricType_DielectricType_MIN;
916 : static constexpr DielectricType DielectricType_MAX = MatrixFile_LayerRecord_DielectricType_DielectricType_MAX;
917 : static constexpr int DielectricType_ARRAYSIZE = MatrixFile_LayerRecord_DielectricType_DielectricType_ARRAYSIZE;
918 : static inline const ::google::protobuf::EnumDescriptor* PROTOBUF_NONNULL DielectricType_descriptor() {
919 : return MatrixFile_LayerRecord_DielectricType_descriptor();
920 : }
921 : template <typename T>
922 : static inline const ::std::string& DielectricType_Name(T value) {
923 : return MatrixFile_LayerRecord_DielectricType_Name(value);
924 : }
925 : static inline bool DielectricType_Parse(
926 : ::absl::string_view name, DielectricType* PROTOBUF_NONNULL value) {
927 : return MatrixFile_LayerRecord_DielectricType_Parse(name, value);
928 : }
929 : using Form = MatrixFile_LayerRecord_Form;
930 : static constexpr Form Rigid = MatrixFile_LayerRecord_Form_Rigid;
931 : static constexpr Form Flex = MatrixFile_LayerRecord_Form_Flex;
932 : static inline bool Form_IsValid(int value) {
933 : return MatrixFile_LayerRecord_Form_IsValid(value);
934 : }
935 : static constexpr Form Form_MIN = MatrixFile_LayerRecord_Form_Form_MIN;
936 : static constexpr Form Form_MAX = MatrixFile_LayerRecord_Form_Form_MAX;
937 : static constexpr int Form_ARRAYSIZE = MatrixFile_LayerRecord_Form_Form_ARRAYSIZE;
938 : static inline const ::google::protobuf::EnumDescriptor* PROTOBUF_NONNULL Form_descriptor() {
939 : return MatrixFile_LayerRecord_Form_descriptor();
940 : }
941 : template <typename T>
942 : static inline const ::std::string& Form_Name(T value) {
943 : return MatrixFile_LayerRecord_Form_Name(value);
944 : }
945 : static inline bool Form_Parse(
946 : ::absl::string_view name, Form* PROTOBUF_NONNULL value) {
947 : return MatrixFile_LayerRecord_Form_Parse(name, value);
948 : }
949 :
950 : // accessors -------------------------------------------------------
951 : enum : int {
952 : kNameFieldNumber = 4,
953 : kDielectricNameFieldNumber = 7,
954 : kStartNameFieldNumber = 12,
955 : kEndNameFieldNumber = 13,
956 : kOldNameFieldNumber = 14,
957 : kAddTypeFieldNumber = 15,
958 : kColorFieldNumber = 18,
959 : kRowFieldNumber = 1,
960 : kContextFieldNumber = 2,
961 : kTypeFieldNumber = 3,
962 : kPolarityFieldNumber = 5,
963 : kDielectricTypeFieldNumber = 6,
964 : kFormFieldNumber = 8,
965 : kCuTopFieldNumber = 9,
966 : kCuBottomFieldNumber = 10,
967 : kRefFieldNumber = 11,
968 : kIdFieldNumber = 17,
969 : };
970 : // string name = 4;
971 : void clear_name() ;
972 : const ::std::string& name() const;
973 : template <typename Arg_ = const ::std::string&, typename... Args_>
974 : void set_name(Arg_&& arg, Args_... args);
975 : ::std::string* PROTOBUF_NONNULL mutable_name();
976 : [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_name();
977 : void set_allocated_name(::std::string* PROTOBUF_NULLABLE value);
978 :
979 : private:
980 : const ::std::string& _internal_name() const;
981 : PROTOBUF_ALWAYS_INLINE void _internal_set_name(const ::std::string& value);
982 : ::std::string* PROTOBUF_NONNULL _internal_mutable_name();
983 :
984 : public:
985 : // string dielectricName = 7;
986 : void clear_dielectricname() ;
987 : const ::std::string& dielectricname() const;
988 : template <typename Arg_ = const ::std::string&, typename... Args_>
989 : void set_dielectricname(Arg_&& arg, Args_... args);
990 : ::std::string* PROTOBUF_NONNULL mutable_dielectricname();
991 : [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_dielectricname();
992 : void set_allocated_dielectricname(::std::string* PROTOBUF_NULLABLE value);
993 :
994 : private:
995 : const ::std::string& _internal_dielectricname() const;
996 : PROTOBUF_ALWAYS_INLINE void _internal_set_dielectricname(const ::std::string& value);
997 : ::std::string* PROTOBUF_NONNULL _internal_mutable_dielectricname();
998 :
999 : public:
1000 : // string startName = 12;
1001 : void clear_startname() ;
1002 : const ::std::string& startname() const;
1003 : template <typename Arg_ = const ::std::string&, typename... Args_>
1004 : void set_startname(Arg_&& arg, Args_... args);
1005 : ::std::string* PROTOBUF_NONNULL mutable_startname();
1006 : [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_startname();
1007 : void set_allocated_startname(::std::string* PROTOBUF_NULLABLE value);
1008 :
1009 : private:
1010 : const ::std::string& _internal_startname() const;
1011 : PROTOBUF_ALWAYS_INLINE void _internal_set_startname(const ::std::string& value);
1012 : ::std::string* PROTOBUF_NONNULL _internal_mutable_startname();
1013 :
1014 : public:
1015 : // string endName = 13;
1016 : void clear_endname() ;
1017 : const ::std::string& endname() const;
1018 : template <typename Arg_ = const ::std::string&, typename... Args_>
1019 : void set_endname(Arg_&& arg, Args_... args);
1020 : ::std::string* PROTOBUF_NONNULL mutable_endname();
1021 : [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_endname();
1022 : void set_allocated_endname(::std::string* PROTOBUF_NULLABLE value);
1023 :
1024 : private:
1025 : const ::std::string& _internal_endname() const;
1026 : PROTOBUF_ALWAYS_INLINE void _internal_set_endname(const ::std::string& value);
1027 : ::std::string* PROTOBUF_NONNULL _internal_mutable_endname();
1028 :
1029 : public:
1030 : // string oldName = 14;
1031 : void clear_oldname() ;
1032 : const ::std::string& oldname() const;
1033 : template <typename Arg_ = const ::std::string&, typename... Args_>
1034 : void set_oldname(Arg_&& arg, Args_... args);
1035 : ::std::string* PROTOBUF_NONNULL mutable_oldname();
1036 : [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_oldname();
1037 : void set_allocated_oldname(::std::string* PROTOBUF_NULLABLE value);
1038 :
1039 : private:
1040 : const ::std::string& _internal_oldname() const;
1041 : PROTOBUF_ALWAYS_INLINE void _internal_set_oldname(const ::std::string& value);
1042 : ::std::string* PROTOBUF_NONNULL _internal_mutable_oldname();
1043 :
1044 : public:
1045 : // string addType = 15;
1046 : void clear_addtype() ;
1047 : const ::std::string& addtype() const;
1048 : template <typename Arg_ = const ::std::string&, typename... Args_>
1049 : void set_addtype(Arg_&& arg, Args_... args);
1050 : ::std::string* PROTOBUF_NONNULL mutable_addtype();
1051 : [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_addtype();
1052 : void set_allocated_addtype(::std::string* PROTOBUF_NULLABLE value);
1053 :
1054 : private:
1055 : const ::std::string& _internal_addtype() const;
1056 : PROTOBUF_ALWAYS_INLINE void _internal_set_addtype(const ::std::string& value);
1057 : ::std::string* PROTOBUF_NONNULL _internal_mutable_addtype();
1058 :
1059 : public:
1060 : // .Odb.Lib.Protobuf.RgbColor color = 18;
1061 : bool has_color() const;
1062 : void clear_color() ;
1063 : const ::Odb::Lib::Protobuf::RgbColor& color() const;
1064 : [[nodiscard]] ::Odb::Lib::Protobuf::RgbColor* PROTOBUF_NULLABLE release_color();
1065 : ::Odb::Lib::Protobuf::RgbColor* PROTOBUF_NONNULL mutable_color();
1066 : void set_allocated_color(::Odb::Lib::Protobuf::RgbColor* PROTOBUF_NULLABLE value);
1067 : void unsafe_arena_set_allocated_color(::Odb::Lib::Protobuf::RgbColor* PROTOBUF_NULLABLE value);
1068 : ::Odb::Lib::Protobuf::RgbColor* PROTOBUF_NULLABLE unsafe_arena_release_color();
1069 :
1070 : private:
1071 : const ::Odb::Lib::Protobuf::RgbColor& _internal_color() const;
1072 : ::Odb::Lib::Protobuf::RgbColor* PROTOBUF_NONNULL _internal_mutable_color();
1073 :
1074 : public:
1075 : // uint32 row = 1;
1076 : void clear_row() ;
1077 : ::uint32_t row() const;
1078 : void set_row(::uint32_t value);
1079 :
1080 : private:
1081 : ::uint32_t _internal_row() const;
1082 : void _internal_set_row(::uint32_t value);
1083 :
1084 : public:
1085 : // .Odb.Lib.Protobuf.MatrixFile.LayerRecord.Context context = 2;
1086 : void clear_context() ;
1087 : ::Odb::Lib::Protobuf::MatrixFile_LayerRecord_Context context() const;
1088 : void set_context(::Odb::Lib::Protobuf::MatrixFile_LayerRecord_Context value);
1089 :
1090 : private:
1091 : ::Odb::Lib::Protobuf::MatrixFile_LayerRecord_Context _internal_context() const;
1092 : void _internal_set_context(::Odb::Lib::Protobuf::MatrixFile_LayerRecord_Context value);
1093 :
1094 : public:
1095 : // .Odb.Lib.Protobuf.MatrixFile.LayerRecord.Type type = 3;
1096 : void clear_type() ;
1097 : ::Odb::Lib::Protobuf::MatrixFile_LayerRecord_Type type() const;
1098 : void set_type(::Odb::Lib::Protobuf::MatrixFile_LayerRecord_Type value);
1099 :
1100 : private:
1101 : ::Odb::Lib::Protobuf::MatrixFile_LayerRecord_Type _internal_type() const;
1102 : void _internal_set_type(::Odb::Lib::Protobuf::MatrixFile_LayerRecord_Type value);
1103 :
1104 : public:
1105 : // .Odb.Lib.Protobuf.Polarity polarity = 5;
1106 : void clear_polarity() ;
1107 : ::Odb::Lib::Protobuf::Polarity polarity() const;
1108 : void set_polarity(::Odb::Lib::Protobuf::Polarity value);
1109 :
1110 : private:
1111 : ::Odb::Lib::Protobuf::Polarity _internal_polarity() const;
1112 : void _internal_set_polarity(::Odb::Lib::Protobuf::Polarity value);
1113 :
1114 : public:
1115 : // .Odb.Lib.Protobuf.MatrixFile.LayerRecord.DielectricType dielectricType = 6;
1116 : void clear_dielectrictype() ;
1117 : ::Odb::Lib::Protobuf::MatrixFile_LayerRecord_DielectricType dielectrictype() const;
1118 : void set_dielectrictype(::Odb::Lib::Protobuf::MatrixFile_LayerRecord_DielectricType value);
1119 :
1120 : private:
1121 : ::Odb::Lib::Protobuf::MatrixFile_LayerRecord_DielectricType _internal_dielectrictype() const;
1122 : void _internal_set_dielectrictype(::Odb::Lib::Protobuf::MatrixFile_LayerRecord_DielectricType value);
1123 :
1124 : public:
1125 : // .Odb.Lib.Protobuf.MatrixFile.LayerRecord.Form form = 8;
1126 : void clear_form() ;
1127 : ::Odb::Lib::Protobuf::MatrixFile_LayerRecord_Form form() const;
1128 : void set_form(::Odb::Lib::Protobuf::MatrixFile_LayerRecord_Form value);
1129 :
1130 : private:
1131 : ::Odb::Lib::Protobuf::MatrixFile_LayerRecord_Form _internal_form() const;
1132 : void _internal_set_form(::Odb::Lib::Protobuf::MatrixFile_LayerRecord_Form value);
1133 :
1134 : public:
1135 : // uint32 cuTop = 9;
1136 : void clear_cutop() ;
1137 : ::uint32_t cutop() const;
1138 : void set_cutop(::uint32_t value);
1139 :
1140 : private:
1141 : ::uint32_t _internal_cutop() const;
1142 : void _internal_set_cutop(::uint32_t value);
1143 :
1144 : public:
1145 : // uint32 cuBottom = 10;
1146 : void clear_cubottom() ;
1147 : ::uint32_t cubottom() const;
1148 : void set_cubottom(::uint32_t value);
1149 :
1150 : private:
1151 : ::uint32_t _internal_cubottom() const;
1152 : void _internal_set_cubottom(::uint32_t value);
1153 :
1154 : public:
1155 : // uint32 ref = 11;
1156 : void clear_ref() ;
1157 : ::uint32_t ref() const;
1158 : void set_ref(::uint32_t value);
1159 :
1160 : private:
1161 : ::uint32_t _internal_ref() const;
1162 : void _internal_set_ref(::uint32_t value);
1163 :
1164 : public:
1165 : // uint32 id = 17;
1166 : void clear_id() ;
1167 : ::uint32_t id() const;
1168 : void set_id(::uint32_t value);
1169 :
1170 : private:
1171 : ::uint32_t _internal_id() const;
1172 : void _internal_set_id(::uint32_t value);
1173 :
1174 : public:
1175 : // @@protoc_insertion_point(class_scope:Odb.Lib.Protobuf.MatrixFile.LayerRecord)
1176 : private:
1177 : class _Internal;
1178 : friend class ::google::protobuf::internal::TcParser;
1179 : static const ::google::protobuf::internal::TcParseTable<5, 17,
1180 : 1, 112,
1181 : 2>
1182 : _table_;
1183 :
1184 : friend class ::google::protobuf::MessageLite;
1185 : friend class ::google::protobuf::Arena;
1186 : template <typename T>
1187 : friend class ::google::protobuf::Arena::InternalHelper;
1188 : using InternalArenaConstructable_ = void;
1189 : using DestructorSkippable_ = void;
1190 : struct Impl_ {
1191 : inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
1192 : inline explicit Impl_(
1193 : ::google::protobuf::internal::InternalVisibility visibility,
1194 : ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1195 : inline explicit Impl_(
1196 : ::google::protobuf::internal::InternalVisibility visibility,
1197 : ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
1198 : const MatrixFile_LayerRecord& from_msg);
1199 : ::google::protobuf::internal::HasBits<1> _has_bits_;
1200 : ::google::protobuf::internal::CachedSize _cached_size_;
1201 : ::google::protobuf::internal::ArenaStringPtr name_;
1202 : ::google::protobuf::internal::ArenaStringPtr dielectricname_;
1203 : ::google::protobuf::internal::ArenaStringPtr startname_;
1204 : ::google::protobuf::internal::ArenaStringPtr endname_;
1205 : ::google::protobuf::internal::ArenaStringPtr oldname_;
1206 : ::google::protobuf::internal::ArenaStringPtr addtype_;
1207 : ::Odb::Lib::Protobuf::RgbColor* PROTOBUF_NULLABLE color_;
1208 : ::uint32_t row_;
1209 : int context_;
1210 : int type_;
1211 : int polarity_;
1212 : int dielectrictype_;
1213 : int form_;
1214 : ::uint32_t cutop_;
1215 : ::uint32_t cubottom_;
1216 : ::uint32_t ref_;
1217 : ::uint32_t id_;
1218 : PROTOBUF_TSAN_DECLARE_MEMBER
1219 : };
1220 : union { Impl_ _impl_; };
1221 : friend struct ::TableStruct_matrixfile_2eproto;
1222 : };
1223 :
1224 : ODBDESIGN_EXPORT extern const ::google::protobuf::internal::ClassDataFull MatrixFile_LayerRecord_class_data_;
1225 : // -------------------------------------------------------------------
1226 :
1227 : class ODBDESIGN_EXPORT MatrixFile final : public ::google::protobuf::Message
1228 : /* @@protoc_insertion_point(class_definition:Odb.Lib.Protobuf.MatrixFile) */ {
1229 : public:
1230 96 : inline MatrixFile() : MatrixFile(nullptr) {}
1231 : ~MatrixFile() PROTOBUF_FINAL;
1232 :
1233 : #if defined(PROTOBUF_CUSTOM_VTABLE)
1234 : void operator delete(MatrixFile* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
1235 : SharedDtor(*msg);
1236 : ::google::protobuf::internal::SizedDelete(msg, sizeof(MatrixFile));
1237 : }
1238 : #endif
1239 :
1240 : template <typename = void>
1241 : explicit PROTOBUF_CONSTEXPR MatrixFile(::google::protobuf::internal::ConstantInitialized);
1242 :
1243 : inline MatrixFile(const MatrixFile& from) : MatrixFile(nullptr, from) {}
1244 : inline MatrixFile(MatrixFile&& from) noexcept
1245 : : MatrixFile(nullptr, ::std::move(from)) {}
1246 : inline MatrixFile& operator=(const MatrixFile& from) {
1247 : CopyFrom(from);
1248 : return *this;
1249 : }
1250 : inline MatrixFile& operator=(MatrixFile&& from) noexcept {
1251 : if (this == &from) return *this;
1252 : if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
1253 : InternalSwap(&from);
1254 : } else {
1255 : CopyFrom(from);
1256 : }
1257 : return *this;
1258 : }
1259 :
1260 : inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
1261 : ABSL_ATTRIBUTE_LIFETIME_BOUND {
1262 : return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
1263 : }
1264 : inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
1265 : ABSL_ATTRIBUTE_LIFETIME_BOUND {
1266 : return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
1267 : }
1268 :
1269 : static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
1270 : return GetDescriptor();
1271 : }
1272 : static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
1273 : return default_instance().GetMetadata().descriptor;
1274 : }
1275 : static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
1276 : return default_instance().GetMetadata().reflection;
1277 : }
1278 : static const MatrixFile& default_instance() {
1279 : return *reinterpret_cast<const MatrixFile*>(
1280 : &_MatrixFile_default_instance_);
1281 : }
1282 : static constexpr int kIndexInFileMessages = 3;
1283 : friend void swap(MatrixFile& a, MatrixFile& b) { a.Swap(&b); }
1284 : inline void Swap(MatrixFile* PROTOBUF_NONNULL other) {
1285 : if (other == this) return;
1286 : if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
1287 : InternalSwap(other);
1288 : } else {
1289 : ::google::protobuf::internal::GenericSwap(this, other);
1290 : }
1291 : }
1292 : void UnsafeArenaSwap(MatrixFile* PROTOBUF_NONNULL other) {
1293 : if (other == this) return;
1294 : ABSL_DCHECK(GetArena() == other->GetArena());
1295 : InternalSwap(other);
1296 : }
1297 :
1298 : // implements Message ----------------------------------------------
1299 :
1300 : MatrixFile* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
1301 : return ::google::protobuf::Message::DefaultConstruct<MatrixFile>(arena);
1302 : }
1303 : using ::google::protobuf::Message::CopyFrom;
1304 : void CopyFrom(const MatrixFile& from);
1305 : using ::google::protobuf::Message::MergeFrom;
1306 95 : void MergeFrom(const MatrixFile& from) { MatrixFile::MergeImpl(*this, from); }
1307 :
1308 : private:
1309 : static void MergeImpl(::google::protobuf::MessageLite& to_msg,
1310 : const ::google::protobuf::MessageLite& from_msg);
1311 :
1312 : public:
1313 : bool IsInitialized() const {
1314 : return true;
1315 : }
1316 : ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
1317 : #if defined(PROTOBUF_CUSTOM_VTABLE)
1318 : private:
1319 : static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
1320 : static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1321 : const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
1322 : ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
1323 :
1324 : public:
1325 : ::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
1326 : ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1327 : ::uint8_t* PROTOBUF_NONNULL target,
1328 : ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
1329 : return _InternalSerialize(*this, target, stream);
1330 : }
1331 : #else // PROTOBUF_CUSTOM_VTABLE
1332 : ::size_t ByteSizeLong() const final;
1333 : ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1334 : ::uint8_t* PROTOBUF_NONNULL target,
1335 : ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
1336 : #endif // PROTOBUF_CUSTOM_VTABLE
1337 101 : int GetCachedSize() const { return _impl_._cached_size_.Get(); }
1338 :
1339 : private:
1340 : void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1341 : static void SharedDtor(MessageLite& self);
1342 : void InternalSwap(MatrixFile* PROTOBUF_NONNULL other);
1343 : private:
1344 : template <typename T>
1345 : friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
1346 : static ::absl::string_view FullMessageName() { return "Odb.Lib.Protobuf.MatrixFile"; }
1347 :
1348 : explicit MatrixFile(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1349 : MatrixFile(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const MatrixFile& from);
1350 : MatrixFile(
1351 : ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, MatrixFile&& from) noexcept
1352 : : MatrixFile(arena) {
1353 : *this = ::std::move(from);
1354 : }
1355 : const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
1356 : static void* PROTOBUF_NONNULL PlacementNew_(
1357 : const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
1358 : ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1359 : static constexpr auto InternalNewImpl_();
1360 :
1361 : public:
1362 : static constexpr auto InternalGenerateClassData_();
1363 :
1364 : ::google::protobuf::Metadata GetMetadata() const;
1365 : // nested types ----------------------------------------------------
1366 : using StepRecord = MatrixFile_StepRecord;
1367 : using LayerRecord = MatrixFile_LayerRecord;
1368 :
1369 : // accessors -------------------------------------------------------
1370 : enum : int {
1371 : kStepsFieldNumber = 1,
1372 : kLayersFieldNumber = 2,
1373 : };
1374 : // repeated .Odb.Lib.Protobuf.MatrixFile.StepRecord steps = 1;
1375 : int steps_size() const;
1376 : private:
1377 : int _internal_steps_size() const;
1378 :
1379 : public:
1380 : void clear_steps() ;
1381 : ::Odb::Lib::Protobuf::MatrixFile_StepRecord* PROTOBUF_NONNULL mutable_steps(int index);
1382 : ::google::protobuf::RepeatedPtrField<::Odb::Lib::Protobuf::MatrixFile_StepRecord>* PROTOBUF_NONNULL mutable_steps();
1383 :
1384 : private:
1385 : const ::google::protobuf::RepeatedPtrField<::Odb::Lib::Protobuf::MatrixFile_StepRecord>& _internal_steps() const;
1386 : ::google::protobuf::RepeatedPtrField<::Odb::Lib::Protobuf::MatrixFile_StepRecord>* PROTOBUF_NONNULL _internal_mutable_steps();
1387 : public:
1388 : const ::Odb::Lib::Protobuf::MatrixFile_StepRecord& steps(int index) const;
1389 : ::Odb::Lib::Protobuf::MatrixFile_StepRecord* PROTOBUF_NONNULL add_steps();
1390 : const ::google::protobuf::RepeatedPtrField<::Odb::Lib::Protobuf::MatrixFile_StepRecord>& steps() const;
1391 : // repeated .Odb.Lib.Protobuf.MatrixFile.LayerRecord layers = 2;
1392 : int layers_size() const;
1393 : private:
1394 : int _internal_layers_size() const;
1395 :
1396 : public:
1397 : void clear_layers() ;
1398 : ::Odb::Lib::Protobuf::MatrixFile_LayerRecord* PROTOBUF_NONNULL mutable_layers(int index);
1399 : ::google::protobuf::RepeatedPtrField<::Odb::Lib::Protobuf::MatrixFile_LayerRecord>* PROTOBUF_NONNULL mutable_layers();
1400 :
1401 : private:
1402 : const ::google::protobuf::RepeatedPtrField<::Odb::Lib::Protobuf::MatrixFile_LayerRecord>& _internal_layers() const;
1403 : ::google::protobuf::RepeatedPtrField<::Odb::Lib::Protobuf::MatrixFile_LayerRecord>* PROTOBUF_NONNULL _internal_mutable_layers();
1404 : public:
1405 : const ::Odb::Lib::Protobuf::MatrixFile_LayerRecord& layers(int index) const;
1406 : ::Odb::Lib::Protobuf::MatrixFile_LayerRecord* PROTOBUF_NONNULL add_layers();
1407 : const ::google::protobuf::RepeatedPtrField<::Odb::Lib::Protobuf::MatrixFile_LayerRecord>& layers() const;
1408 : // @@protoc_insertion_point(class_scope:Odb.Lib.Protobuf.MatrixFile)
1409 : private:
1410 : class _Internal;
1411 : friend class ::google::protobuf::internal::TcParser;
1412 : static const ::google::protobuf::internal::TcParseTable<1, 2,
1413 : 2, 0,
1414 : 2>
1415 : _table_;
1416 :
1417 : friend class ::google::protobuf::MessageLite;
1418 : friend class ::google::protobuf::Arena;
1419 : template <typename T>
1420 : friend class ::google::protobuf::Arena::InternalHelper;
1421 : using InternalArenaConstructable_ = void;
1422 : using DestructorSkippable_ = void;
1423 : struct Impl_ {
1424 : inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
1425 : inline explicit Impl_(
1426 : ::google::protobuf::internal::InternalVisibility visibility,
1427 : ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1428 : inline explicit Impl_(
1429 : ::google::protobuf::internal::InternalVisibility visibility,
1430 : ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
1431 : const MatrixFile& from_msg);
1432 : ::google::protobuf::internal::HasBits<1> _has_bits_;
1433 : ::google::protobuf::internal::CachedSize _cached_size_;
1434 : ::google::protobuf::RepeatedPtrField< ::Odb::Lib::Protobuf::MatrixFile_StepRecord > steps_;
1435 : ::google::protobuf::RepeatedPtrField< ::Odb::Lib::Protobuf::MatrixFile_LayerRecord > layers_;
1436 : PROTOBUF_TSAN_DECLARE_MEMBER
1437 : };
1438 : union { Impl_ _impl_; };
1439 : friend struct ::TableStruct_matrixfile_2eproto;
1440 : };
1441 :
1442 : ODBDESIGN_EXPORT extern const ::google::protobuf::internal::ClassDataFull MatrixFile_class_data_;
1443 :
1444 : // ===================================================================
1445 :
1446 :
1447 :
1448 :
1449 : // ===================================================================
1450 :
1451 :
1452 : #ifdef __GNUC__
1453 : #pragma GCC diagnostic push
1454 : #pragma GCC diagnostic ignored "-Wstrict-aliasing"
1455 : #endif // __GNUC__
1456 : // -------------------------------------------------------------------
1457 :
1458 : // RgbColor
1459 :
1460 : // optional uint32 red = 1;
1461 : inline bool RgbColor::has_red() const {
1462 : bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000001U);
1463 : return value;
1464 : }
1465 : inline void RgbColor::clear_red() {
1466 : ::google::protobuf::internal::TSanWrite(&_impl_);
1467 : _impl_.red_ = 0u;
1468 : ClearHasBit(_impl_._has_bits_[0],
1469 : 0x00000001U);
1470 : }
1471 235 : inline ::uint32_t RgbColor::red() const {
1472 : // @@protoc_insertion_point(field_get:Odb.Lib.Protobuf.RgbColor.red)
1473 235 : return _internal_red();
1474 : }
1475 2742 : inline void RgbColor::set_red(::uint32_t value) {
1476 2742 : _internal_set_red(value);
1477 2742 : SetHasBit(_impl_._has_bits_[0], 0x00000001U);
1478 : // @@protoc_insertion_point(field_set:Odb.Lib.Protobuf.RgbColor.red)
1479 2742 : }
1480 6621 : inline ::uint32_t RgbColor::_internal_red() const {
1481 6621 : ::google::protobuf::internal::TSanRead(&_impl_);
1482 6621 : return _impl_.red_;
1483 : }
1484 2742 : inline void RgbColor::_internal_set_red(::uint32_t value) {
1485 2742 : ::google::protobuf::internal::TSanWrite(&_impl_);
1486 2742 : _impl_.red_ = value;
1487 2742 : }
1488 :
1489 : // optional uint32 green = 2;
1490 : inline bool RgbColor::has_green() const {
1491 : bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000002U);
1492 : return value;
1493 : }
1494 : inline void RgbColor::clear_green() {
1495 : ::google::protobuf::internal::TSanWrite(&_impl_);
1496 : _impl_.green_ = 0u;
1497 : ClearHasBit(_impl_._has_bits_[0],
1498 : 0x00000002U);
1499 : }
1500 235 : inline ::uint32_t RgbColor::green() const {
1501 : // @@protoc_insertion_point(field_get:Odb.Lib.Protobuf.RgbColor.green)
1502 235 : return _internal_green();
1503 : }
1504 2742 : inline void RgbColor::set_green(::uint32_t value) {
1505 2742 : _internal_set_green(value);
1506 2742 : SetHasBit(_impl_._has_bits_[0], 0x00000002U);
1507 : // @@protoc_insertion_point(field_set:Odb.Lib.Protobuf.RgbColor.green)
1508 2742 : }
1509 6621 : inline ::uint32_t RgbColor::_internal_green() const {
1510 6621 : ::google::protobuf::internal::TSanRead(&_impl_);
1511 6621 : return _impl_.green_;
1512 : }
1513 2742 : inline void RgbColor::_internal_set_green(::uint32_t value) {
1514 2742 : ::google::protobuf::internal::TSanWrite(&_impl_);
1515 2742 : _impl_.green_ = value;
1516 2742 : }
1517 :
1518 : // optional uint32 blue = 3;
1519 : inline bool RgbColor::has_blue() const {
1520 : bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000004U);
1521 : return value;
1522 : }
1523 : inline void RgbColor::clear_blue() {
1524 : ::google::protobuf::internal::TSanWrite(&_impl_);
1525 : _impl_.blue_ = 0u;
1526 : ClearHasBit(_impl_._has_bits_[0],
1527 : 0x00000004U);
1528 : }
1529 235 : inline ::uint32_t RgbColor::blue() const {
1530 : // @@protoc_insertion_point(field_get:Odb.Lib.Protobuf.RgbColor.blue)
1531 235 : return _internal_blue();
1532 : }
1533 2742 : inline void RgbColor::set_blue(::uint32_t value) {
1534 2742 : _internal_set_blue(value);
1535 2742 : SetHasBit(_impl_._has_bits_[0], 0x00000004U);
1536 : // @@protoc_insertion_point(field_set:Odb.Lib.Protobuf.RgbColor.blue)
1537 2742 : }
1538 6621 : inline ::uint32_t RgbColor::_internal_blue() const {
1539 6621 : ::google::protobuf::internal::TSanRead(&_impl_);
1540 6621 : return _impl_.blue_;
1541 : }
1542 2742 : inline void RgbColor::_internal_set_blue(::uint32_t value) {
1543 2742 : ::google::protobuf::internal::TSanWrite(&_impl_);
1544 2742 : _impl_.blue_ = value;
1545 2742 : }
1546 :
1547 : // optional bool noPreference = 4;
1548 : inline bool RgbColor::has_nopreference() const {
1549 : bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000008U);
1550 : return value;
1551 : }
1552 : inline void RgbColor::clear_nopreference() {
1553 : ::google::protobuf::internal::TSanWrite(&_impl_);
1554 : _impl_.nopreference_ = false;
1555 : ClearHasBit(_impl_._has_bits_[0],
1556 : 0x00000008U);
1557 : }
1558 234 : inline bool RgbColor::nopreference() const {
1559 : // @@protoc_insertion_point(field_get:Odb.Lib.Protobuf.RgbColor.noPreference)
1560 234 : return _internal_nopreference();
1561 : }
1562 2742 : inline void RgbColor::set_nopreference(bool value) {
1563 2742 : _internal_set_nopreference(value);
1564 2742 : SetHasBit(_impl_._has_bits_[0], 0x00000008U);
1565 : // @@protoc_insertion_point(field_set:Odb.Lib.Protobuf.RgbColor.noPreference)
1566 2742 : }
1567 2994 : inline bool RgbColor::_internal_nopreference() const {
1568 2994 : ::google::protobuf::internal::TSanRead(&_impl_);
1569 2994 : return _impl_.nopreference_;
1570 : }
1571 2742 : inline void RgbColor::_internal_set_nopreference(bool value) {
1572 2742 : ::google::protobuf::internal::TSanWrite(&_impl_);
1573 2742 : _impl_.nopreference_ = value;
1574 2742 : }
1575 :
1576 : // -------------------------------------------------------------------
1577 :
1578 : // MatrixFile_StepRecord
1579 :
1580 : // uint32 column = 1;
1581 : inline void MatrixFile_StepRecord::clear_column() {
1582 : ::google::protobuf::internal::TSanWrite(&_impl_);
1583 : _impl_.column_ = 0u;
1584 : ClearHasBit(_impl_._has_bits_[0],
1585 : 0x00000002U);
1586 : }
1587 6 : inline ::uint32_t MatrixFile_StepRecord::column() const {
1588 : // @@protoc_insertion_point(field_get:Odb.Lib.Protobuf.MatrixFile.StepRecord.column)
1589 6 : return _internal_column();
1590 : }
1591 92 : inline void MatrixFile_StepRecord::set_column(::uint32_t value) {
1592 92 : _internal_set_column(value);
1593 92 : SetHasBit(_impl_._has_bits_[0], 0x00000002U);
1594 : // @@protoc_insertion_point(field_set:Odb.Lib.Protobuf.MatrixFile.StepRecord.column)
1595 92 : }
1596 550 : inline ::uint32_t MatrixFile_StepRecord::_internal_column() const {
1597 550 : ::google::protobuf::internal::TSanRead(&_impl_);
1598 550 : return _impl_.column_;
1599 : }
1600 92 : inline void MatrixFile_StepRecord::_internal_set_column(::uint32_t value) {
1601 92 : ::google::protobuf::internal::TSanWrite(&_impl_);
1602 92 : _impl_.column_ = value;
1603 92 : }
1604 :
1605 : // uint32 id = 2;
1606 : inline void MatrixFile_StepRecord::clear_id() {
1607 : ::google::protobuf::internal::TSanWrite(&_impl_);
1608 : _impl_.id_ = 0u;
1609 : ClearHasBit(_impl_._has_bits_[0],
1610 : 0x00000004U);
1611 : }
1612 6 : inline ::uint32_t MatrixFile_StepRecord::id() const {
1613 : // @@protoc_insertion_point(field_get:Odb.Lib.Protobuf.MatrixFile.StepRecord.id)
1614 6 : return _internal_id();
1615 : }
1616 92 : inline void MatrixFile_StepRecord::set_id(::uint32_t value) {
1617 92 : _internal_set_id(value);
1618 92 : SetHasBit(_impl_._has_bits_[0], 0x00000004U);
1619 : // @@protoc_insertion_point(field_set:Odb.Lib.Protobuf.MatrixFile.StepRecord.id)
1620 92 : }
1621 550 : inline ::uint32_t MatrixFile_StepRecord::_internal_id() const {
1622 550 : ::google::protobuf::internal::TSanRead(&_impl_);
1623 550 : return _impl_.id_;
1624 : }
1625 92 : inline void MatrixFile_StepRecord::_internal_set_id(::uint32_t value) {
1626 92 : ::google::protobuf::internal::TSanWrite(&_impl_);
1627 92 : _impl_.id_ = value;
1628 92 : }
1629 :
1630 : // string name = 3;
1631 : inline void MatrixFile_StepRecord::clear_name() {
1632 : ::google::protobuf::internal::TSanWrite(&_impl_);
1633 : _impl_.name_.ClearToEmpty();
1634 : ClearHasBit(_impl_._has_bits_[0],
1635 : 0x00000001U);
1636 : }
1637 6 : inline const ::std::string& MatrixFile_StepRecord::name() const
1638 : ABSL_ATTRIBUTE_LIFETIME_BOUND {
1639 : // @@protoc_insertion_point(field_get:Odb.Lib.Protobuf.MatrixFile.StepRecord.name)
1640 6 : return _internal_name();
1641 : }
1642 : template <typename Arg_, typename... Args_>
1643 : PROTOBUF_ALWAYS_INLINE void MatrixFile_StepRecord::set_name(Arg_&& arg, Args_... args) {
1644 92 : ::google::protobuf::internal::TSanWrite(&_impl_);
1645 92 : SetHasBit(_impl_._has_bits_[0], 0x00000001U);
1646 92 : _impl_.name_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
1647 : // @@protoc_insertion_point(field_set:Odb.Lib.Protobuf.MatrixFile.StepRecord.name)
1648 92 : }
1649 : inline ::std::string* PROTOBUF_NONNULL MatrixFile_StepRecord::mutable_name()
1650 : ABSL_ATTRIBUTE_LIFETIME_BOUND {
1651 : SetHasBit(_impl_._has_bits_[0], 0x00000001U);
1652 : ::std::string* _s = _internal_mutable_name();
1653 : // @@protoc_insertion_point(field_mutable:Odb.Lib.Protobuf.MatrixFile.StepRecord.name)
1654 : return _s;
1655 : }
1656 642 : inline const ::std::string& MatrixFile_StepRecord::_internal_name() const {
1657 642 : ::google::protobuf::internal::TSanRead(&_impl_);
1658 642 : return _impl_.name_.Get();
1659 : }
1660 : inline void MatrixFile_StepRecord::_internal_set_name(const ::std::string& value) {
1661 0 : ::google::protobuf::internal::TSanWrite(&_impl_);
1662 92 : _impl_.name_.Set(value, GetArena());
1663 0 : }
1664 : inline ::std::string* PROTOBUF_NONNULL MatrixFile_StepRecord::_internal_mutable_name() {
1665 : ::google::protobuf::internal::TSanWrite(&_impl_);
1666 : return _impl_.name_.Mutable( GetArena());
1667 : }
1668 : inline ::std::string* PROTOBUF_NULLABLE MatrixFile_StepRecord::release_name() {
1669 : ::google::protobuf::internal::TSanWrite(&_impl_);
1670 : // @@protoc_insertion_point(field_release:Odb.Lib.Protobuf.MatrixFile.StepRecord.name)
1671 : if (!CheckHasBit(_impl_._has_bits_[0], 0x00000001U)) {
1672 : return nullptr;
1673 : }
1674 : ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
1675 : auto* released = _impl_.name_.Release();
1676 : if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
1677 : _impl_.name_.Set("", GetArena());
1678 : }
1679 : return released;
1680 : }
1681 : inline void MatrixFile_StepRecord::set_allocated_name(::std::string* PROTOBUF_NULLABLE value) {
1682 : ::google::protobuf::internal::TSanWrite(&_impl_);
1683 : if (value != nullptr) {
1684 : SetHasBit(_impl_._has_bits_[0], 0x00000001U);
1685 : } else {
1686 : ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
1687 : }
1688 : _impl_.name_.SetAllocated(value, GetArena());
1689 : if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.name_.IsDefault()) {
1690 : _impl_.name_.Set("", GetArena());
1691 : }
1692 : // @@protoc_insertion_point(field_set_allocated:Odb.Lib.Protobuf.MatrixFile.StepRecord.name)
1693 : }
1694 :
1695 : // -------------------------------------------------------------------
1696 :
1697 : // MatrixFile_LayerRecord
1698 :
1699 : // uint32 row = 1;
1700 : inline void MatrixFile_LayerRecord::clear_row() {
1701 : ::google::protobuf::internal::TSanWrite(&_impl_);
1702 : _impl_.row_ = 0u;
1703 : ClearHasBit(_impl_._has_bits_[0],
1704 : 0x00000080U);
1705 : }
1706 234 : inline ::uint32_t MatrixFile_LayerRecord::row() const {
1707 : // @@protoc_insertion_point(field_get:Odb.Lib.Protobuf.MatrixFile.LayerRecord.row)
1708 234 : return _internal_row();
1709 : }
1710 2742 : inline void MatrixFile_LayerRecord::set_row(::uint32_t value) {
1711 2742 : _internal_set_row(value);
1712 2742 : SetHasBit(_impl_._has_bits_[0], 0x00000080U);
1713 : // @@protoc_insertion_point(field_set:Odb.Lib.Protobuf.MatrixFile.LayerRecord.row)
1714 2742 : }
1715 15721 : inline ::uint32_t MatrixFile_LayerRecord::_internal_row() const {
1716 15721 : ::google::protobuf::internal::TSanRead(&_impl_);
1717 15721 : return _impl_.row_;
1718 : }
1719 2742 : inline void MatrixFile_LayerRecord::_internal_set_row(::uint32_t value) {
1720 2742 : ::google::protobuf::internal::TSanWrite(&_impl_);
1721 2742 : _impl_.row_ = value;
1722 2742 : }
1723 :
1724 : // .Odb.Lib.Protobuf.MatrixFile.LayerRecord.Context context = 2;
1725 : inline void MatrixFile_LayerRecord::clear_context() {
1726 : ::google::protobuf::internal::TSanWrite(&_impl_);
1727 : _impl_.context_ = 0;
1728 : ClearHasBit(_impl_._has_bits_[0],
1729 : 0x00000100U);
1730 : }
1731 234 : inline ::Odb::Lib::Protobuf::MatrixFile_LayerRecord_Context MatrixFile_LayerRecord::context() const {
1732 : // @@protoc_insertion_point(field_get:Odb.Lib.Protobuf.MatrixFile.LayerRecord.context)
1733 234 : return _internal_context();
1734 : }
1735 2742 : inline void MatrixFile_LayerRecord::set_context(::Odb::Lib::Protobuf::MatrixFile_LayerRecord_Context value) {
1736 2742 : _internal_set_context(value);
1737 2742 : SetHasBit(_impl_._has_bits_[0], 0x00000100U);
1738 : // @@protoc_insertion_point(field_set:Odb.Lib.Protobuf.MatrixFile.LayerRecord.context)
1739 2742 : }
1740 8626 : inline ::Odb::Lib::Protobuf::MatrixFile_LayerRecord_Context MatrixFile_LayerRecord::_internal_context() const {
1741 8626 : ::google::protobuf::internal::TSanRead(&_impl_);
1742 8626 : return static_cast<::Odb::Lib::Protobuf::MatrixFile_LayerRecord_Context>(_impl_.context_);
1743 : }
1744 2742 : inline void MatrixFile_LayerRecord::_internal_set_context(::Odb::Lib::Protobuf::MatrixFile_LayerRecord_Context value) {
1745 2742 : ::google::protobuf::internal::TSanWrite(&_impl_);
1746 2742 : _impl_.context_ = value;
1747 2742 : }
1748 :
1749 : // .Odb.Lib.Protobuf.MatrixFile.LayerRecord.Type type = 3;
1750 : inline void MatrixFile_LayerRecord::clear_type() {
1751 : ::google::protobuf::internal::TSanWrite(&_impl_);
1752 : _impl_.type_ = 0;
1753 : ClearHasBit(_impl_._has_bits_[0],
1754 : 0x00000200U);
1755 : }
1756 234 : inline ::Odb::Lib::Protobuf::MatrixFile_LayerRecord_Type MatrixFile_LayerRecord::type() const {
1757 : // @@protoc_insertion_point(field_get:Odb.Lib.Protobuf.MatrixFile.LayerRecord.type)
1758 234 : return _internal_type();
1759 : }
1760 2742 : inline void MatrixFile_LayerRecord::set_type(::Odb::Lib::Protobuf::MatrixFile_LayerRecord_Type value) {
1761 2742 : _internal_set_type(value);
1762 2742 : SetHasBit(_impl_._has_bits_[0], 0x00000200U);
1763 : // @@protoc_insertion_point(field_set:Odb.Lib.Protobuf.MatrixFile.LayerRecord.type)
1764 2742 : }
1765 15037 : inline ::Odb::Lib::Protobuf::MatrixFile_LayerRecord_Type MatrixFile_LayerRecord::_internal_type() const {
1766 15037 : ::google::protobuf::internal::TSanRead(&_impl_);
1767 15037 : return static_cast<::Odb::Lib::Protobuf::MatrixFile_LayerRecord_Type>(_impl_.type_);
1768 : }
1769 2742 : inline void MatrixFile_LayerRecord::_internal_set_type(::Odb::Lib::Protobuf::MatrixFile_LayerRecord_Type value) {
1770 2742 : ::google::protobuf::internal::TSanWrite(&_impl_);
1771 2742 : _impl_.type_ = value;
1772 2742 : }
1773 :
1774 : // string name = 4;
1775 : inline void MatrixFile_LayerRecord::clear_name() {
1776 : ::google::protobuf::internal::TSanWrite(&_impl_);
1777 : _impl_.name_.ClearToEmpty();
1778 : ClearHasBit(_impl_._has_bits_[0],
1779 : 0x00000001U);
1780 : }
1781 234 : inline const ::std::string& MatrixFile_LayerRecord::name() const
1782 : ABSL_ATTRIBUTE_LIFETIME_BOUND {
1783 : // @@protoc_insertion_point(field_get:Odb.Lib.Protobuf.MatrixFile.LayerRecord.name)
1784 234 : return _internal_name();
1785 : }
1786 : template <typename Arg_, typename... Args_>
1787 : PROTOBUF_ALWAYS_INLINE void MatrixFile_LayerRecord::set_name(Arg_&& arg, Args_... args) {
1788 2742 : ::google::protobuf::internal::TSanWrite(&_impl_);
1789 2742 : SetHasBit(_impl_._has_bits_[0], 0x00000001U);
1790 2742 : _impl_.name_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
1791 : // @@protoc_insertion_point(field_set:Odb.Lib.Protobuf.MatrixFile.LayerRecord.name)
1792 2742 : }
1793 : inline ::std::string* PROTOBUF_NONNULL MatrixFile_LayerRecord::mutable_name()
1794 : ABSL_ATTRIBUTE_LIFETIME_BOUND {
1795 : SetHasBit(_impl_._has_bits_[0], 0x00000001U);
1796 : ::std::string* _s = _internal_mutable_name();
1797 : // @@protoc_insertion_point(field_mutable:Odb.Lib.Protobuf.MatrixFile.LayerRecord.name)
1798 : return _s;
1799 : }
1800 18436 : inline const ::std::string& MatrixFile_LayerRecord::_internal_name() const {
1801 18436 : ::google::protobuf::internal::TSanRead(&_impl_);
1802 18436 : return _impl_.name_.Get();
1803 : }
1804 : inline void MatrixFile_LayerRecord::_internal_set_name(const ::std::string& value) {
1805 0 : ::google::protobuf::internal::TSanWrite(&_impl_);
1806 2715 : _impl_.name_.Set(value, GetArena());
1807 0 : }
1808 : inline ::std::string* PROTOBUF_NONNULL MatrixFile_LayerRecord::_internal_mutable_name() {
1809 : ::google::protobuf::internal::TSanWrite(&_impl_);
1810 : return _impl_.name_.Mutable( GetArena());
1811 : }
1812 : inline ::std::string* PROTOBUF_NULLABLE MatrixFile_LayerRecord::release_name() {
1813 : ::google::protobuf::internal::TSanWrite(&_impl_);
1814 : // @@protoc_insertion_point(field_release:Odb.Lib.Protobuf.MatrixFile.LayerRecord.name)
1815 : if (!CheckHasBit(_impl_._has_bits_[0], 0x00000001U)) {
1816 : return nullptr;
1817 : }
1818 : ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
1819 : auto* released = _impl_.name_.Release();
1820 : if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
1821 : _impl_.name_.Set("", GetArena());
1822 : }
1823 : return released;
1824 : }
1825 : inline void MatrixFile_LayerRecord::set_allocated_name(::std::string* PROTOBUF_NULLABLE value) {
1826 : ::google::protobuf::internal::TSanWrite(&_impl_);
1827 : if (value != nullptr) {
1828 : SetHasBit(_impl_._has_bits_[0], 0x00000001U);
1829 : } else {
1830 : ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
1831 : }
1832 : _impl_.name_.SetAllocated(value, GetArena());
1833 : if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.name_.IsDefault()) {
1834 : _impl_.name_.Set("", GetArena());
1835 : }
1836 : // @@protoc_insertion_point(field_set_allocated:Odb.Lib.Protobuf.MatrixFile.LayerRecord.name)
1837 : }
1838 :
1839 : // .Odb.Lib.Protobuf.Polarity polarity = 5;
1840 : inline void MatrixFile_LayerRecord::clear_polarity() {
1841 : ::google::protobuf::internal::TSanWrite(&_impl_);
1842 : _impl_.polarity_ = 0;
1843 : ClearHasBit(_impl_._has_bits_[0],
1844 : 0x00000400U);
1845 : }
1846 234 : inline ::Odb::Lib::Protobuf::Polarity MatrixFile_LayerRecord::polarity() const {
1847 : // @@protoc_insertion_point(field_get:Odb.Lib.Protobuf.MatrixFile.LayerRecord.polarity)
1848 234 : return _internal_polarity();
1849 : }
1850 2742 : inline void MatrixFile_LayerRecord::set_polarity(::Odb::Lib::Protobuf::Polarity value) {
1851 2742 : _internal_set_polarity(value);
1852 2742 : SetHasBit(_impl_._has_bits_[0], 0x00000400U);
1853 : // @@protoc_insertion_point(field_set:Odb.Lib.Protobuf.MatrixFile.LayerRecord.polarity)
1854 2742 : }
1855 8269 : inline ::Odb::Lib::Protobuf::Polarity MatrixFile_LayerRecord::_internal_polarity() const {
1856 8269 : ::google::protobuf::internal::TSanRead(&_impl_);
1857 8269 : return static_cast<::Odb::Lib::Protobuf::Polarity>(_impl_.polarity_);
1858 : }
1859 2742 : inline void MatrixFile_LayerRecord::_internal_set_polarity(::Odb::Lib::Protobuf::Polarity value) {
1860 2742 : ::google::protobuf::internal::TSanWrite(&_impl_);
1861 2742 : _impl_.polarity_ = value;
1862 2742 : }
1863 :
1864 : // .Odb.Lib.Protobuf.MatrixFile.LayerRecord.DielectricType dielectricType = 6;
1865 : inline void MatrixFile_LayerRecord::clear_dielectrictype() {
1866 : ::google::protobuf::internal::TSanWrite(&_impl_);
1867 : _impl_.dielectrictype_ = 0;
1868 : ClearHasBit(_impl_._has_bits_[0],
1869 : 0x00000800U);
1870 : }
1871 234 : inline ::Odb::Lib::Protobuf::MatrixFile_LayerRecord_DielectricType MatrixFile_LayerRecord::dielectrictype() const {
1872 : // @@protoc_insertion_point(field_get:Odb.Lib.Protobuf.MatrixFile.LayerRecord.dielectricType)
1873 234 : return _internal_dielectrictype();
1874 : }
1875 2742 : inline void MatrixFile_LayerRecord::set_dielectrictype(::Odb::Lib::Protobuf::MatrixFile_LayerRecord_DielectricType value) {
1876 2742 : _internal_set_dielectrictype(value);
1877 2742 : SetHasBit(_impl_._has_bits_[0], 0x00000800U);
1878 : // @@protoc_insertion_point(field_set:Odb.Lib.Protobuf.MatrixFile.LayerRecord.dielectricType)
1879 2742 : }
1880 9928 : inline ::Odb::Lib::Protobuf::MatrixFile_LayerRecord_DielectricType MatrixFile_LayerRecord::_internal_dielectrictype() const {
1881 9928 : ::google::protobuf::internal::TSanRead(&_impl_);
1882 9928 : return static_cast<::Odb::Lib::Protobuf::MatrixFile_LayerRecord_DielectricType>(_impl_.dielectrictype_);
1883 : }
1884 2742 : inline void MatrixFile_LayerRecord::_internal_set_dielectrictype(::Odb::Lib::Protobuf::MatrixFile_LayerRecord_DielectricType value) {
1885 2742 : ::google::protobuf::internal::TSanWrite(&_impl_);
1886 2742 : _impl_.dielectrictype_ = value;
1887 2742 : }
1888 :
1889 : // string dielectricName = 7;
1890 : inline void MatrixFile_LayerRecord::clear_dielectricname() {
1891 : ::google::protobuf::internal::TSanWrite(&_impl_);
1892 : _impl_.dielectricname_.ClearToEmpty();
1893 : ClearHasBit(_impl_._has_bits_[0],
1894 : 0x00000002U);
1895 : }
1896 234 : inline const ::std::string& MatrixFile_LayerRecord::dielectricname() const
1897 : ABSL_ATTRIBUTE_LIFETIME_BOUND {
1898 : // @@protoc_insertion_point(field_get:Odb.Lib.Protobuf.MatrixFile.LayerRecord.dielectricName)
1899 234 : return _internal_dielectricname();
1900 : }
1901 : template <typename Arg_, typename... Args_>
1902 : PROTOBUF_ALWAYS_INLINE void MatrixFile_LayerRecord::set_dielectricname(Arg_&& arg, Args_... args) {
1903 2742 : ::google::protobuf::internal::TSanWrite(&_impl_);
1904 2742 : SetHasBit(_impl_._has_bits_[0], 0x00000002U);
1905 2742 : _impl_.dielectricname_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
1906 : // @@protoc_insertion_point(field_set:Odb.Lib.Protobuf.MatrixFile.LayerRecord.dielectricName)
1907 2742 : }
1908 : inline ::std::string* PROTOBUF_NONNULL MatrixFile_LayerRecord::mutable_dielectricname()
1909 : ABSL_ATTRIBUTE_LIFETIME_BOUND {
1910 : SetHasBit(_impl_._has_bits_[0], 0x00000002U);
1911 : ::std::string* _s = _internal_mutable_dielectricname();
1912 : // @@protoc_insertion_point(field_mutable:Odb.Lib.Protobuf.MatrixFile.LayerRecord.dielectricName)
1913 : return _s;
1914 : }
1915 8269 : inline const ::std::string& MatrixFile_LayerRecord::_internal_dielectricname() const {
1916 8269 : ::google::protobuf::internal::TSanRead(&_impl_);
1917 8269 : return _impl_.dielectricname_.Get();
1918 : }
1919 : inline void MatrixFile_LayerRecord::_internal_set_dielectricname(const ::std::string& value) {
1920 0 : ::google::protobuf::internal::TSanWrite(&_impl_);
1921 2715 : _impl_.dielectricname_.Set(value, GetArena());
1922 0 : }
1923 : inline ::std::string* PROTOBUF_NONNULL MatrixFile_LayerRecord::_internal_mutable_dielectricname() {
1924 : ::google::protobuf::internal::TSanWrite(&_impl_);
1925 : return _impl_.dielectricname_.Mutable( GetArena());
1926 : }
1927 : inline ::std::string* PROTOBUF_NULLABLE MatrixFile_LayerRecord::release_dielectricname() {
1928 : ::google::protobuf::internal::TSanWrite(&_impl_);
1929 : // @@protoc_insertion_point(field_release:Odb.Lib.Protobuf.MatrixFile.LayerRecord.dielectricName)
1930 : if (!CheckHasBit(_impl_._has_bits_[0], 0x00000002U)) {
1931 : return nullptr;
1932 : }
1933 : ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
1934 : auto* released = _impl_.dielectricname_.Release();
1935 : if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
1936 : _impl_.dielectricname_.Set("", GetArena());
1937 : }
1938 : return released;
1939 : }
1940 : inline void MatrixFile_LayerRecord::set_allocated_dielectricname(::std::string* PROTOBUF_NULLABLE value) {
1941 : ::google::protobuf::internal::TSanWrite(&_impl_);
1942 : if (value != nullptr) {
1943 : SetHasBit(_impl_._has_bits_[0], 0x00000002U);
1944 : } else {
1945 : ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
1946 : }
1947 : _impl_.dielectricname_.SetAllocated(value, GetArena());
1948 : if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.dielectricname_.IsDefault()) {
1949 : _impl_.dielectricname_.Set("", GetArena());
1950 : }
1951 : // @@protoc_insertion_point(field_set_allocated:Odb.Lib.Protobuf.MatrixFile.LayerRecord.dielectricName)
1952 : }
1953 :
1954 : // .Odb.Lib.Protobuf.MatrixFile.LayerRecord.Form form = 8;
1955 : inline void MatrixFile_LayerRecord::clear_form() {
1956 : ::google::protobuf::internal::TSanWrite(&_impl_);
1957 : _impl_.form_ = 0;
1958 : ClearHasBit(_impl_._has_bits_[0],
1959 : 0x00001000U);
1960 : }
1961 234 : inline ::Odb::Lib::Protobuf::MatrixFile_LayerRecord_Form MatrixFile_LayerRecord::form() const {
1962 : // @@protoc_insertion_point(field_get:Odb.Lib.Protobuf.MatrixFile.LayerRecord.form)
1963 234 : return _internal_form();
1964 : }
1965 2742 : inline void MatrixFile_LayerRecord::set_form(::Odb::Lib::Protobuf::MatrixFile_LayerRecord_Form value) {
1966 2742 : _internal_set_form(value);
1967 2742 : SetHasBit(_impl_._has_bits_[0], 0x00001000U);
1968 : // @@protoc_insertion_point(field_set:Odb.Lib.Protobuf.MatrixFile.LayerRecord.form)
1969 2742 : }
1970 8269 : inline ::Odb::Lib::Protobuf::MatrixFile_LayerRecord_Form MatrixFile_LayerRecord::_internal_form() const {
1971 8269 : ::google::protobuf::internal::TSanRead(&_impl_);
1972 8269 : return static_cast<::Odb::Lib::Protobuf::MatrixFile_LayerRecord_Form>(_impl_.form_);
1973 : }
1974 2742 : inline void MatrixFile_LayerRecord::_internal_set_form(::Odb::Lib::Protobuf::MatrixFile_LayerRecord_Form value) {
1975 2742 : ::google::protobuf::internal::TSanWrite(&_impl_);
1976 2742 : _impl_.form_ = value;
1977 2742 : }
1978 :
1979 : // uint32 cuTop = 9;
1980 : inline void MatrixFile_LayerRecord::clear_cutop() {
1981 : ::google::protobuf::internal::TSanWrite(&_impl_);
1982 : _impl_.cutop_ = 0u;
1983 : ClearHasBit(_impl_._has_bits_[0],
1984 : 0x00002000U);
1985 : }
1986 234 : inline ::uint32_t MatrixFile_LayerRecord::cutop() const {
1987 : // @@protoc_insertion_point(field_get:Odb.Lib.Protobuf.MatrixFile.LayerRecord.cuTop)
1988 234 : return _internal_cutop();
1989 : }
1990 2742 : inline void MatrixFile_LayerRecord::set_cutop(::uint32_t value) {
1991 2742 : _internal_set_cutop(value);
1992 2742 : SetHasBit(_impl_._has_bits_[0], 0x00002000U);
1993 : // @@protoc_insertion_point(field_set:Odb.Lib.Protobuf.MatrixFile.LayerRecord.cuTop)
1994 2742 : }
1995 15721 : inline ::uint32_t MatrixFile_LayerRecord::_internal_cutop() const {
1996 15721 : ::google::protobuf::internal::TSanRead(&_impl_);
1997 15721 : return _impl_.cutop_;
1998 : }
1999 2742 : inline void MatrixFile_LayerRecord::_internal_set_cutop(::uint32_t value) {
2000 2742 : ::google::protobuf::internal::TSanWrite(&_impl_);
2001 2742 : _impl_.cutop_ = value;
2002 2742 : }
2003 :
2004 : // uint32 cuBottom = 10;
2005 : inline void MatrixFile_LayerRecord::clear_cubottom() {
2006 : ::google::protobuf::internal::TSanWrite(&_impl_);
2007 : _impl_.cubottom_ = 0u;
2008 : ClearHasBit(_impl_._has_bits_[0],
2009 : 0x00004000U);
2010 : }
2011 234 : inline ::uint32_t MatrixFile_LayerRecord::cubottom() const {
2012 : // @@protoc_insertion_point(field_get:Odb.Lib.Protobuf.MatrixFile.LayerRecord.cuBottom)
2013 234 : return _internal_cubottom();
2014 : }
2015 2742 : inline void MatrixFile_LayerRecord::set_cubottom(::uint32_t value) {
2016 2742 : _internal_set_cubottom(value);
2017 2742 : SetHasBit(_impl_._has_bits_[0], 0x00004000U);
2018 : // @@protoc_insertion_point(field_set:Odb.Lib.Protobuf.MatrixFile.LayerRecord.cuBottom)
2019 2742 : }
2020 15721 : inline ::uint32_t MatrixFile_LayerRecord::_internal_cubottom() const {
2021 15721 : ::google::protobuf::internal::TSanRead(&_impl_);
2022 15721 : return _impl_.cubottom_;
2023 : }
2024 2742 : inline void MatrixFile_LayerRecord::_internal_set_cubottom(::uint32_t value) {
2025 2742 : ::google::protobuf::internal::TSanWrite(&_impl_);
2026 2742 : _impl_.cubottom_ = value;
2027 2742 : }
2028 :
2029 : // uint32 ref = 11;
2030 : inline void MatrixFile_LayerRecord::clear_ref() {
2031 : ::google::protobuf::internal::TSanWrite(&_impl_);
2032 : _impl_.ref_ = 0u;
2033 : ClearHasBit(_impl_._has_bits_[0],
2034 : 0x00008000U);
2035 : }
2036 234 : inline ::uint32_t MatrixFile_LayerRecord::ref() const {
2037 : // @@protoc_insertion_point(field_get:Odb.Lib.Protobuf.MatrixFile.LayerRecord.ref)
2038 234 : return _internal_ref();
2039 : }
2040 2742 : inline void MatrixFile_LayerRecord::set_ref(::uint32_t value) {
2041 2742 : _internal_set_ref(value);
2042 2742 : SetHasBit(_impl_._has_bits_[0], 0x00008000U);
2043 : // @@protoc_insertion_point(field_set:Odb.Lib.Protobuf.MatrixFile.LayerRecord.ref)
2044 2742 : }
2045 15721 : inline ::uint32_t MatrixFile_LayerRecord::_internal_ref() const {
2046 15721 : ::google::protobuf::internal::TSanRead(&_impl_);
2047 15721 : return _impl_.ref_;
2048 : }
2049 2742 : inline void MatrixFile_LayerRecord::_internal_set_ref(::uint32_t value) {
2050 2742 : ::google::protobuf::internal::TSanWrite(&_impl_);
2051 2742 : _impl_.ref_ = value;
2052 2742 : }
2053 :
2054 : // string startName = 12;
2055 : inline void MatrixFile_LayerRecord::clear_startname() {
2056 : ::google::protobuf::internal::TSanWrite(&_impl_);
2057 : _impl_.startname_.ClearToEmpty();
2058 : ClearHasBit(_impl_._has_bits_[0],
2059 : 0x00000004U);
2060 : }
2061 234 : inline const ::std::string& MatrixFile_LayerRecord::startname() const
2062 : ABSL_ATTRIBUTE_LIFETIME_BOUND {
2063 : // @@protoc_insertion_point(field_get:Odb.Lib.Protobuf.MatrixFile.LayerRecord.startName)
2064 234 : return _internal_startname();
2065 : }
2066 : template <typename Arg_, typename... Args_>
2067 : PROTOBUF_ALWAYS_INLINE void MatrixFile_LayerRecord::set_startname(Arg_&& arg, Args_... args) {
2068 2742 : ::google::protobuf::internal::TSanWrite(&_impl_);
2069 2742 : SetHasBit(_impl_._has_bits_[0], 0x00000004U);
2070 2742 : _impl_.startname_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
2071 : // @@protoc_insertion_point(field_set:Odb.Lib.Protobuf.MatrixFile.LayerRecord.startName)
2072 2742 : }
2073 : inline ::std::string* PROTOBUF_NONNULL MatrixFile_LayerRecord::mutable_startname()
2074 : ABSL_ATTRIBUTE_LIFETIME_BOUND {
2075 : SetHasBit(_impl_._has_bits_[0], 0x00000004U);
2076 : ::std::string* _s = _internal_mutable_startname();
2077 : // @@protoc_insertion_point(field_mutable:Odb.Lib.Protobuf.MatrixFile.LayerRecord.startName)
2078 : return _s;
2079 : }
2080 8922 : inline const ::std::string& MatrixFile_LayerRecord::_internal_startname() const {
2081 8922 : ::google::protobuf::internal::TSanRead(&_impl_);
2082 8922 : return _impl_.startname_.Get();
2083 : }
2084 : inline void MatrixFile_LayerRecord::_internal_set_startname(const ::std::string& value) {
2085 2715 : ::google::protobuf::internal::TSanWrite(&_impl_);
2086 2715 : _impl_.startname_.Set(value, GetArena());
2087 2715 : }
2088 : inline ::std::string* PROTOBUF_NONNULL MatrixFile_LayerRecord::_internal_mutable_startname() {
2089 : ::google::protobuf::internal::TSanWrite(&_impl_);
2090 : return _impl_.startname_.Mutable( GetArena());
2091 : }
2092 : inline ::std::string* PROTOBUF_NULLABLE MatrixFile_LayerRecord::release_startname() {
2093 : ::google::protobuf::internal::TSanWrite(&_impl_);
2094 : // @@protoc_insertion_point(field_release:Odb.Lib.Protobuf.MatrixFile.LayerRecord.startName)
2095 : if (!CheckHasBit(_impl_._has_bits_[0], 0x00000004U)) {
2096 : return nullptr;
2097 : }
2098 : ClearHasBit(_impl_._has_bits_[0], 0x00000004U);
2099 : auto* released = _impl_.startname_.Release();
2100 : if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
2101 : _impl_.startname_.Set("", GetArena());
2102 : }
2103 : return released;
2104 : }
2105 : inline void MatrixFile_LayerRecord::set_allocated_startname(::std::string* PROTOBUF_NULLABLE value) {
2106 : ::google::protobuf::internal::TSanWrite(&_impl_);
2107 : if (value != nullptr) {
2108 : SetHasBit(_impl_._has_bits_[0], 0x00000004U);
2109 : } else {
2110 : ClearHasBit(_impl_._has_bits_[0], 0x00000004U);
2111 : }
2112 : _impl_.startname_.SetAllocated(value, GetArena());
2113 : if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.startname_.IsDefault()) {
2114 : _impl_.startname_.Set("", GetArena());
2115 : }
2116 : // @@protoc_insertion_point(field_set_allocated:Odb.Lib.Protobuf.MatrixFile.LayerRecord.startName)
2117 : }
2118 :
2119 : // string endName = 13;
2120 : inline void MatrixFile_LayerRecord::clear_endname() {
2121 : ::google::protobuf::internal::TSanWrite(&_impl_);
2122 : _impl_.endname_.ClearToEmpty();
2123 : ClearHasBit(_impl_._has_bits_[0],
2124 : 0x00000008U);
2125 : }
2126 234 : inline const ::std::string& MatrixFile_LayerRecord::endname() const
2127 : ABSL_ATTRIBUTE_LIFETIME_BOUND {
2128 : // @@protoc_insertion_point(field_get:Odb.Lib.Protobuf.MatrixFile.LayerRecord.endName)
2129 234 : return _internal_endname();
2130 : }
2131 : template <typename Arg_, typename... Args_>
2132 : PROTOBUF_ALWAYS_INLINE void MatrixFile_LayerRecord::set_endname(Arg_&& arg, Args_... args) {
2133 2742 : ::google::protobuf::internal::TSanWrite(&_impl_);
2134 2742 : SetHasBit(_impl_._has_bits_[0], 0x00000008U);
2135 2742 : _impl_.endname_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
2136 : // @@protoc_insertion_point(field_set:Odb.Lib.Protobuf.MatrixFile.LayerRecord.endName)
2137 2742 : }
2138 : inline ::std::string* PROTOBUF_NONNULL MatrixFile_LayerRecord::mutable_endname()
2139 : ABSL_ATTRIBUTE_LIFETIME_BOUND {
2140 : SetHasBit(_impl_._has_bits_[0], 0x00000008U);
2141 : ::std::string* _s = _internal_mutable_endname();
2142 : // @@protoc_insertion_point(field_mutable:Odb.Lib.Protobuf.MatrixFile.LayerRecord.endName)
2143 : return _s;
2144 : }
2145 8922 : inline const ::std::string& MatrixFile_LayerRecord::_internal_endname() const {
2146 8922 : ::google::protobuf::internal::TSanRead(&_impl_);
2147 8922 : return _impl_.endname_.Get();
2148 : }
2149 : inline void MatrixFile_LayerRecord::_internal_set_endname(const ::std::string& value) {
2150 2715 : ::google::protobuf::internal::TSanWrite(&_impl_);
2151 2715 : _impl_.endname_.Set(value, GetArena());
2152 2715 : }
2153 : inline ::std::string* PROTOBUF_NONNULL MatrixFile_LayerRecord::_internal_mutable_endname() {
2154 : ::google::protobuf::internal::TSanWrite(&_impl_);
2155 : return _impl_.endname_.Mutable( GetArena());
2156 : }
2157 : inline ::std::string* PROTOBUF_NULLABLE MatrixFile_LayerRecord::release_endname() {
2158 : ::google::protobuf::internal::TSanWrite(&_impl_);
2159 : // @@protoc_insertion_point(field_release:Odb.Lib.Protobuf.MatrixFile.LayerRecord.endName)
2160 : if (!CheckHasBit(_impl_._has_bits_[0], 0x00000008U)) {
2161 : return nullptr;
2162 : }
2163 : ClearHasBit(_impl_._has_bits_[0], 0x00000008U);
2164 : auto* released = _impl_.endname_.Release();
2165 : if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
2166 : _impl_.endname_.Set("", GetArena());
2167 : }
2168 : return released;
2169 : }
2170 : inline void MatrixFile_LayerRecord::set_allocated_endname(::std::string* PROTOBUF_NULLABLE value) {
2171 : ::google::protobuf::internal::TSanWrite(&_impl_);
2172 : if (value != nullptr) {
2173 : SetHasBit(_impl_._has_bits_[0], 0x00000008U);
2174 : } else {
2175 : ClearHasBit(_impl_._has_bits_[0], 0x00000008U);
2176 : }
2177 : _impl_.endname_.SetAllocated(value, GetArena());
2178 : if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.endname_.IsDefault()) {
2179 : _impl_.endname_.Set("", GetArena());
2180 : }
2181 : // @@protoc_insertion_point(field_set_allocated:Odb.Lib.Protobuf.MatrixFile.LayerRecord.endName)
2182 : }
2183 :
2184 : // string oldName = 14;
2185 : inline void MatrixFile_LayerRecord::clear_oldname() {
2186 : ::google::protobuf::internal::TSanWrite(&_impl_);
2187 : _impl_.oldname_.ClearToEmpty();
2188 : ClearHasBit(_impl_._has_bits_[0],
2189 : 0x00000010U);
2190 : }
2191 234 : inline const ::std::string& MatrixFile_LayerRecord::oldname() const
2192 : ABSL_ATTRIBUTE_LIFETIME_BOUND {
2193 : // @@protoc_insertion_point(field_get:Odb.Lib.Protobuf.MatrixFile.LayerRecord.oldName)
2194 234 : return _internal_oldname();
2195 : }
2196 : template <typename Arg_, typename... Args_>
2197 : PROTOBUF_ALWAYS_INLINE void MatrixFile_LayerRecord::set_oldname(Arg_&& arg, Args_... args) {
2198 2742 : ::google::protobuf::internal::TSanWrite(&_impl_);
2199 2742 : SetHasBit(_impl_._has_bits_[0], 0x00000010U);
2200 2742 : _impl_.oldname_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
2201 : // @@protoc_insertion_point(field_set:Odb.Lib.Protobuf.MatrixFile.LayerRecord.oldName)
2202 2742 : }
2203 : inline ::std::string* PROTOBUF_NONNULL MatrixFile_LayerRecord::mutable_oldname()
2204 : ABSL_ATTRIBUTE_LIFETIME_BOUND {
2205 : SetHasBit(_impl_._has_bits_[0], 0x00000010U);
2206 : ::std::string* _s = _internal_mutable_oldname();
2207 : // @@protoc_insertion_point(field_mutable:Odb.Lib.Protobuf.MatrixFile.LayerRecord.oldName)
2208 : return _s;
2209 : }
2210 8269 : inline const ::std::string& MatrixFile_LayerRecord::_internal_oldname() const {
2211 8269 : ::google::protobuf::internal::TSanRead(&_impl_);
2212 8269 : return _impl_.oldname_.Get();
2213 : }
2214 : inline void MatrixFile_LayerRecord::_internal_set_oldname(const ::std::string& value) {
2215 0 : ::google::protobuf::internal::TSanWrite(&_impl_);
2216 2715 : _impl_.oldname_.Set(value, GetArena());
2217 0 : }
2218 : inline ::std::string* PROTOBUF_NONNULL MatrixFile_LayerRecord::_internal_mutable_oldname() {
2219 : ::google::protobuf::internal::TSanWrite(&_impl_);
2220 : return _impl_.oldname_.Mutable( GetArena());
2221 : }
2222 : inline ::std::string* PROTOBUF_NULLABLE MatrixFile_LayerRecord::release_oldname() {
2223 : ::google::protobuf::internal::TSanWrite(&_impl_);
2224 : // @@protoc_insertion_point(field_release:Odb.Lib.Protobuf.MatrixFile.LayerRecord.oldName)
2225 : if (!CheckHasBit(_impl_._has_bits_[0], 0x00000010U)) {
2226 : return nullptr;
2227 : }
2228 : ClearHasBit(_impl_._has_bits_[0], 0x00000010U);
2229 : auto* released = _impl_.oldname_.Release();
2230 : if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
2231 : _impl_.oldname_.Set("", GetArena());
2232 : }
2233 : return released;
2234 : }
2235 : inline void MatrixFile_LayerRecord::set_allocated_oldname(::std::string* PROTOBUF_NULLABLE value) {
2236 : ::google::protobuf::internal::TSanWrite(&_impl_);
2237 : if (value != nullptr) {
2238 : SetHasBit(_impl_._has_bits_[0], 0x00000010U);
2239 : } else {
2240 : ClearHasBit(_impl_._has_bits_[0], 0x00000010U);
2241 : }
2242 : _impl_.oldname_.SetAllocated(value, GetArena());
2243 : if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.oldname_.IsDefault()) {
2244 : _impl_.oldname_.Set("", GetArena());
2245 : }
2246 : // @@protoc_insertion_point(field_set_allocated:Odb.Lib.Protobuf.MatrixFile.LayerRecord.oldName)
2247 : }
2248 :
2249 : // string addType = 15;
2250 : inline void MatrixFile_LayerRecord::clear_addtype() {
2251 : ::google::protobuf::internal::TSanWrite(&_impl_);
2252 : _impl_.addtype_.ClearToEmpty();
2253 : ClearHasBit(_impl_._has_bits_[0],
2254 : 0x00000020U);
2255 : }
2256 234 : inline const ::std::string& MatrixFile_LayerRecord::addtype() const
2257 : ABSL_ATTRIBUTE_LIFETIME_BOUND {
2258 : // @@protoc_insertion_point(field_get:Odb.Lib.Protobuf.MatrixFile.LayerRecord.addType)
2259 234 : return _internal_addtype();
2260 : }
2261 : template <typename Arg_, typename... Args_>
2262 : PROTOBUF_ALWAYS_INLINE void MatrixFile_LayerRecord::set_addtype(Arg_&& arg, Args_... args) {
2263 2742 : ::google::protobuf::internal::TSanWrite(&_impl_);
2264 2742 : SetHasBit(_impl_._has_bits_[0], 0x00000020U);
2265 2742 : _impl_.addtype_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
2266 : // @@protoc_insertion_point(field_set:Odb.Lib.Protobuf.MatrixFile.LayerRecord.addType)
2267 2742 : }
2268 : inline ::std::string* PROTOBUF_NONNULL MatrixFile_LayerRecord::mutable_addtype()
2269 : ABSL_ATTRIBUTE_LIFETIME_BOUND {
2270 : SetHasBit(_impl_._has_bits_[0], 0x00000020U);
2271 : ::std::string* _s = _internal_mutable_addtype();
2272 : // @@protoc_insertion_point(field_mutable:Odb.Lib.Protobuf.MatrixFile.LayerRecord.addType)
2273 : return _s;
2274 : }
2275 8661 : inline const ::std::string& MatrixFile_LayerRecord::_internal_addtype() const {
2276 8661 : ::google::protobuf::internal::TSanRead(&_impl_);
2277 8661 : return _impl_.addtype_.Get();
2278 : }
2279 : inline void MatrixFile_LayerRecord::_internal_set_addtype(const ::std::string& value) {
2280 2715 : ::google::protobuf::internal::TSanWrite(&_impl_);
2281 2715 : _impl_.addtype_.Set(value, GetArena());
2282 2715 : }
2283 : inline ::std::string* PROTOBUF_NONNULL MatrixFile_LayerRecord::_internal_mutable_addtype() {
2284 : ::google::protobuf::internal::TSanWrite(&_impl_);
2285 : return _impl_.addtype_.Mutable( GetArena());
2286 : }
2287 : inline ::std::string* PROTOBUF_NULLABLE MatrixFile_LayerRecord::release_addtype() {
2288 : ::google::protobuf::internal::TSanWrite(&_impl_);
2289 : // @@protoc_insertion_point(field_release:Odb.Lib.Protobuf.MatrixFile.LayerRecord.addType)
2290 : if (!CheckHasBit(_impl_._has_bits_[0], 0x00000020U)) {
2291 : return nullptr;
2292 : }
2293 : ClearHasBit(_impl_._has_bits_[0], 0x00000020U);
2294 : auto* released = _impl_.addtype_.Release();
2295 : if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
2296 : _impl_.addtype_.Set("", GetArena());
2297 : }
2298 : return released;
2299 : }
2300 : inline void MatrixFile_LayerRecord::set_allocated_addtype(::std::string* PROTOBUF_NULLABLE value) {
2301 : ::google::protobuf::internal::TSanWrite(&_impl_);
2302 : if (value != nullptr) {
2303 : SetHasBit(_impl_._has_bits_[0], 0x00000020U);
2304 : } else {
2305 : ClearHasBit(_impl_._has_bits_[0], 0x00000020U);
2306 : }
2307 : _impl_.addtype_.SetAllocated(value, GetArena());
2308 : if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.addtype_.IsDefault()) {
2309 : _impl_.addtype_.Set("", GetArena());
2310 : }
2311 : // @@protoc_insertion_point(field_set_allocated:Odb.Lib.Protobuf.MatrixFile.LayerRecord.addType)
2312 : }
2313 :
2314 : // uint32 id = 17;
2315 : inline void MatrixFile_LayerRecord::clear_id() {
2316 : ::google::protobuf::internal::TSanWrite(&_impl_);
2317 : _impl_.id_ = 0u;
2318 : ClearHasBit(_impl_._has_bits_[0],
2319 : 0x00010000U);
2320 : }
2321 234 : inline ::uint32_t MatrixFile_LayerRecord::id() const {
2322 : // @@protoc_insertion_point(field_get:Odb.Lib.Protobuf.MatrixFile.LayerRecord.id)
2323 234 : return _internal_id();
2324 : }
2325 2742 : inline void MatrixFile_LayerRecord::set_id(::uint32_t value) {
2326 2742 : _internal_set_id(value);
2327 2742 : SetHasBit(_impl_._has_bits_[0], 0x00010000U);
2328 : // @@protoc_insertion_point(field_set:Odb.Lib.Protobuf.MatrixFile.LayerRecord.id)
2329 2742 : }
2330 15721 : inline ::uint32_t MatrixFile_LayerRecord::_internal_id() const {
2331 15721 : ::google::protobuf::internal::TSanRead(&_impl_);
2332 15721 : return _impl_.id_;
2333 : }
2334 2742 : inline void MatrixFile_LayerRecord::_internal_set_id(::uint32_t value) {
2335 2742 : ::google::protobuf::internal::TSanWrite(&_impl_);
2336 2742 : _impl_.id_ = value;
2337 2742 : }
2338 :
2339 : // .Odb.Lib.Protobuf.RgbColor color = 18;
2340 234 : inline bool MatrixFile_LayerRecord::has_color() const {
2341 234 : bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000040U);
2342 234 : PROTOBUF_ASSUME(!value || _impl_.color_ != nullptr);
2343 234 : return value;
2344 : }
2345 : inline void MatrixFile_LayerRecord::clear_color() {
2346 : ::google::protobuf::internal::TSanWrite(&_impl_);
2347 : if (_impl_.color_ != nullptr) _impl_.color_->Clear();
2348 : ClearHasBit(_impl_._has_bits_[0],
2349 : 0x00000040U);
2350 : }
2351 939 : inline const ::Odb::Lib::Protobuf::RgbColor& MatrixFile_LayerRecord::_internal_color() const {
2352 939 : ::google::protobuf::internal::TSanRead(&_impl_);
2353 939 : const ::Odb::Lib::Protobuf::RgbColor* p = _impl_.color_;
2354 939 : return p != nullptr ? *p : reinterpret_cast<const ::Odb::Lib::Protobuf::RgbColor&>(::Odb::Lib::Protobuf::_RgbColor_default_instance_);
2355 : }
2356 939 : inline const ::Odb::Lib::Protobuf::RgbColor& MatrixFile_LayerRecord::color() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
2357 : // @@protoc_insertion_point(field_get:Odb.Lib.Protobuf.MatrixFile.LayerRecord.color)
2358 939 : return _internal_color();
2359 : }
2360 : inline void MatrixFile_LayerRecord::unsafe_arena_set_allocated_color(
2361 : ::Odb::Lib::Protobuf::RgbColor* PROTOBUF_NULLABLE value) {
2362 : ::google::protobuf::internal::TSanWrite(&_impl_);
2363 : if (GetArena() == nullptr) {
2364 : delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.color_);
2365 : }
2366 : _impl_.color_ = reinterpret_cast<::Odb::Lib::Protobuf::RgbColor*>(value);
2367 : if (value != nullptr) {
2368 : SetHasBit(_impl_._has_bits_[0], 0x00000040U);
2369 : } else {
2370 : ClearHasBit(_impl_._has_bits_[0], 0x00000040U);
2371 : }
2372 : // @@protoc_insertion_point(field_unsafe_arena_set_allocated:Odb.Lib.Protobuf.MatrixFile.LayerRecord.color)
2373 : }
2374 : inline ::Odb::Lib::Protobuf::RgbColor* PROTOBUF_NULLABLE MatrixFile_LayerRecord::release_color() {
2375 : ::google::protobuf::internal::TSanWrite(&_impl_);
2376 :
2377 : ClearHasBit(_impl_._has_bits_[0], 0x00000040U);
2378 : ::Odb::Lib::Protobuf::RgbColor* released = _impl_.color_;
2379 : _impl_.color_ = nullptr;
2380 : if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
2381 : auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
2382 : released = ::google::protobuf::internal::DuplicateIfNonNull(released);
2383 : if (GetArena() == nullptr) {
2384 : delete old;
2385 : }
2386 : } else {
2387 : if (GetArena() != nullptr) {
2388 : released = ::google::protobuf::internal::DuplicateIfNonNull(released);
2389 : }
2390 : }
2391 : return released;
2392 : }
2393 : inline ::Odb::Lib::Protobuf::RgbColor* PROTOBUF_NULLABLE MatrixFile_LayerRecord::unsafe_arena_release_color() {
2394 : ::google::protobuf::internal::TSanWrite(&_impl_);
2395 : // @@protoc_insertion_point(field_release:Odb.Lib.Protobuf.MatrixFile.LayerRecord.color)
2396 :
2397 : ClearHasBit(_impl_._has_bits_[0], 0x00000040U);
2398 : ::Odb::Lib::Protobuf::RgbColor* temp = _impl_.color_;
2399 : _impl_.color_ = nullptr;
2400 : return temp;
2401 : }
2402 10968 : inline ::Odb::Lib::Protobuf::RgbColor* PROTOBUF_NONNULL MatrixFile_LayerRecord::_internal_mutable_color() {
2403 10968 : ::google::protobuf::internal::TSanWrite(&_impl_);
2404 10968 : if (_impl_.color_ == nullptr) {
2405 2742 : auto* p = ::google::protobuf::Message::DefaultConstruct<::Odb::Lib::Protobuf::RgbColor>(GetArena());
2406 2742 : _impl_.color_ = reinterpret_cast<::Odb::Lib::Protobuf::RgbColor*>(p);
2407 : }
2408 10968 : return _impl_.color_;
2409 : }
2410 10968 : inline ::Odb::Lib::Protobuf::RgbColor* PROTOBUF_NONNULL MatrixFile_LayerRecord::mutable_color()
2411 : ABSL_ATTRIBUTE_LIFETIME_BOUND {
2412 10968 : SetHasBit(_impl_._has_bits_[0], 0x00000040U);
2413 10968 : ::Odb::Lib::Protobuf::RgbColor* _msg = _internal_mutable_color();
2414 : // @@protoc_insertion_point(field_mutable:Odb.Lib.Protobuf.MatrixFile.LayerRecord.color)
2415 10968 : return _msg;
2416 : }
2417 : inline void MatrixFile_LayerRecord::set_allocated_color(::Odb::Lib::Protobuf::RgbColor* PROTOBUF_NULLABLE value) {
2418 : ::google::protobuf::Arena* message_arena = GetArena();
2419 : ::google::protobuf::internal::TSanWrite(&_impl_);
2420 : if (message_arena == nullptr) {
2421 : delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.color_);
2422 : }
2423 :
2424 : if (value != nullptr) {
2425 : ::google::protobuf::Arena* submessage_arena = value->GetArena();
2426 : if (message_arena != submessage_arena) {
2427 : value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
2428 : }
2429 : SetHasBit(_impl_._has_bits_[0], 0x00000040U);
2430 : } else {
2431 : ClearHasBit(_impl_._has_bits_[0], 0x00000040U);
2432 : }
2433 :
2434 : _impl_.color_ = reinterpret_cast<::Odb::Lib::Protobuf::RgbColor*>(value);
2435 : // @@protoc_insertion_point(field_set_allocated:Odb.Lib.Protobuf.MatrixFile.LayerRecord.color)
2436 : }
2437 :
2438 : // -------------------------------------------------------------------
2439 :
2440 : // MatrixFile
2441 :
2442 : // repeated .Odb.Lib.Protobuf.MatrixFile.StepRecord steps = 1;
2443 226 : inline int MatrixFile::_internal_steps_size() const {
2444 226 : return _internal_steps().size();
2445 : }
2446 : inline int MatrixFile::steps_size() const {
2447 : return _internal_steps_size();
2448 : }
2449 : inline void MatrixFile::clear_steps() {
2450 : ::google::protobuf::internal::TSanWrite(&_impl_);
2451 : _impl_.steps_.Clear();
2452 : ClearHasBitForRepeated(_impl_._has_bits_[0],
2453 : 0x00000001U);
2454 : }
2455 : inline ::Odb::Lib::Protobuf::MatrixFile_StepRecord* PROTOBUF_NONNULL MatrixFile::mutable_steps(int index)
2456 : ABSL_ATTRIBUTE_LIFETIME_BOUND {
2457 : // @@protoc_insertion_point(field_mutable:Odb.Lib.Protobuf.MatrixFile.steps)
2458 : return _internal_mutable_steps()->Mutable(index);
2459 : }
2460 : inline ::google::protobuf::RepeatedPtrField<::Odb::Lib::Protobuf::MatrixFile_StepRecord>* PROTOBUF_NONNULL MatrixFile::mutable_steps()
2461 : ABSL_ATTRIBUTE_LIFETIME_BOUND {
2462 : SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000001U);
2463 : // @@protoc_insertion_point(field_mutable_list:Odb.Lib.Protobuf.MatrixFile.steps)
2464 : ::google::protobuf::internal::TSanWrite(&_impl_);
2465 : return _internal_mutable_steps();
2466 : }
2467 : inline const ::Odb::Lib::Protobuf::MatrixFile_StepRecord& MatrixFile::steps(int index) const
2468 : ABSL_ATTRIBUTE_LIFETIME_BOUND {
2469 : // @@protoc_insertion_point(field_get:Odb.Lib.Protobuf.MatrixFile.steps)
2470 : return _internal_steps().Get(index);
2471 : }
2472 92 : inline ::Odb::Lib::Protobuf::MatrixFile_StepRecord* PROTOBUF_NONNULL MatrixFile::add_steps()
2473 : ABSL_ATTRIBUTE_LIFETIME_BOUND {
2474 92 : ::google::protobuf::internal::TSanWrite(&_impl_);
2475 : ::Odb::Lib::Protobuf::MatrixFile_StepRecord* _add =
2476 184 : _internal_mutable_steps()->InternalAddWithArena(
2477 92 : ::google::protobuf::MessageLite::internal_visibility(), GetArena());
2478 92 : SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000001U);
2479 : // @@protoc_insertion_point(field_add:Odb.Lib.Protobuf.MatrixFile.steps)
2480 92 : return _add;
2481 : }
2482 8 : inline const ::google::protobuf::RepeatedPtrField<::Odb::Lib::Protobuf::MatrixFile_StepRecord>& MatrixFile::steps() const
2483 : ABSL_ATTRIBUTE_LIFETIME_BOUND {
2484 : // @@protoc_insertion_point(field_list:Odb.Lib.Protobuf.MatrixFile.steps)
2485 8 : return _internal_steps();
2486 : }
2487 : inline const ::google::protobuf::RepeatedPtrField<::Odb::Lib::Protobuf::MatrixFile_StepRecord>&
2488 551 : MatrixFile::_internal_steps() const {
2489 551 : ::google::protobuf::internal::TSanRead(&_impl_);
2490 551 : return _impl_.steps_;
2491 : }
2492 : inline ::google::protobuf::RepeatedPtrField<::Odb::Lib::Protobuf::MatrixFile_StepRecord>* PROTOBUF_NONNULL
2493 183 : MatrixFile::_internal_mutable_steps() {
2494 183 : ::google::protobuf::internal::TSanRead(&_impl_);
2495 183 : return &_impl_.steps_;
2496 : }
2497 :
2498 : // repeated .Odb.Lib.Protobuf.MatrixFile.LayerRecord layers = 2;
2499 226 : inline int MatrixFile::_internal_layers_size() const {
2500 226 : return _internal_layers().size();
2501 : }
2502 : inline int MatrixFile::layers_size() const {
2503 : return _internal_layers_size();
2504 : }
2505 : inline void MatrixFile::clear_layers() {
2506 : ::google::protobuf::internal::TSanWrite(&_impl_);
2507 : _impl_.layers_.Clear();
2508 : ClearHasBitForRepeated(_impl_._has_bits_[0],
2509 : 0x00000002U);
2510 : }
2511 : inline ::Odb::Lib::Protobuf::MatrixFile_LayerRecord* PROTOBUF_NONNULL MatrixFile::mutable_layers(int index)
2512 : ABSL_ATTRIBUTE_LIFETIME_BOUND {
2513 : // @@protoc_insertion_point(field_mutable:Odb.Lib.Protobuf.MatrixFile.layers)
2514 : return _internal_mutable_layers()->Mutable(index);
2515 : }
2516 : inline ::google::protobuf::RepeatedPtrField<::Odb::Lib::Protobuf::MatrixFile_LayerRecord>* PROTOBUF_NONNULL MatrixFile::mutable_layers()
2517 : ABSL_ATTRIBUTE_LIFETIME_BOUND {
2518 : SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000002U);
2519 : // @@protoc_insertion_point(field_mutable_list:Odb.Lib.Protobuf.MatrixFile.layers)
2520 : ::google::protobuf::internal::TSanWrite(&_impl_);
2521 : return _internal_mutable_layers();
2522 : }
2523 : inline const ::Odb::Lib::Protobuf::MatrixFile_LayerRecord& MatrixFile::layers(int index) const
2524 : ABSL_ATTRIBUTE_LIFETIME_BOUND {
2525 : // @@protoc_insertion_point(field_get:Odb.Lib.Protobuf.MatrixFile.layers)
2526 : return _internal_layers().Get(index);
2527 : }
2528 2715 : inline ::Odb::Lib::Protobuf::MatrixFile_LayerRecord* PROTOBUF_NONNULL MatrixFile::add_layers()
2529 : ABSL_ATTRIBUTE_LIFETIME_BOUND {
2530 2715 : ::google::protobuf::internal::TSanWrite(&_impl_);
2531 : ::Odb::Lib::Protobuf::MatrixFile_LayerRecord* _add =
2532 5430 : _internal_mutable_layers()->InternalAddWithArena(
2533 2715 : ::google::protobuf::MessageLite::internal_visibility(), GetArena());
2534 2715 : SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000002U);
2535 : // @@protoc_insertion_point(field_add:Odb.Lib.Protobuf.MatrixFile.layers)
2536 2715 : return _add;
2537 : }
2538 8 : inline const ::google::protobuf::RepeatedPtrField<::Odb::Lib::Protobuf::MatrixFile_LayerRecord>& MatrixFile::layers() const
2539 : ABSL_ATTRIBUTE_LIFETIME_BOUND {
2540 : // @@protoc_insertion_point(field_list:Odb.Lib.Protobuf.MatrixFile.layers)
2541 8 : return _internal_layers();
2542 : }
2543 : inline const ::google::protobuf::RepeatedPtrField<::Odb::Lib::Protobuf::MatrixFile_LayerRecord>&
2544 3214 : MatrixFile::_internal_layers() const {
2545 3214 : ::google::protobuf::internal::TSanRead(&_impl_);
2546 3214 : return _impl_.layers_;
2547 : }
2548 : inline ::google::protobuf::RepeatedPtrField<::Odb::Lib::Protobuf::MatrixFile_LayerRecord>* PROTOBUF_NONNULL
2549 2806 : MatrixFile::_internal_mutable_layers() {
2550 2806 : ::google::protobuf::internal::TSanRead(&_impl_);
2551 2806 : return &_impl_.layers_;
2552 : }
2553 :
2554 : #ifdef __GNUC__
2555 : #pragma GCC diagnostic pop
2556 : #endif // __GNUC__
2557 :
2558 : // @@protoc_insertion_point(namespace_scope)
2559 : } // namespace Protobuf
2560 : } // namespace Lib
2561 : } // namespace Odb
2562 :
2563 :
2564 : namespace google {
2565 : namespace protobuf {
2566 :
2567 : template <>
2568 : struct is_proto_enum<::Odb::Lib::Protobuf::MatrixFile_LayerRecord_Type> : std::true_type {};
2569 : template <>
2570 : inline const EnumDescriptor* PROTOBUF_NONNULL GetEnumDescriptor<::Odb::Lib::Protobuf::MatrixFile_LayerRecord_Type>() {
2571 : return ::Odb::Lib::Protobuf::MatrixFile_LayerRecord_Type_descriptor();
2572 : }
2573 : template <>
2574 : struct is_proto_enum<::Odb::Lib::Protobuf::MatrixFile_LayerRecord_Context> : std::true_type {};
2575 : template <>
2576 : inline const EnumDescriptor* PROTOBUF_NONNULL GetEnumDescriptor<::Odb::Lib::Protobuf::MatrixFile_LayerRecord_Context>() {
2577 : return ::Odb::Lib::Protobuf::MatrixFile_LayerRecord_Context_descriptor();
2578 : }
2579 : template <>
2580 : struct is_proto_enum<::Odb::Lib::Protobuf::MatrixFile_LayerRecord_DielectricType> : std::true_type {};
2581 : template <>
2582 : inline const EnumDescriptor* PROTOBUF_NONNULL GetEnumDescriptor<::Odb::Lib::Protobuf::MatrixFile_LayerRecord_DielectricType>() {
2583 : return ::Odb::Lib::Protobuf::MatrixFile_LayerRecord_DielectricType_descriptor();
2584 : }
2585 : template <>
2586 : struct is_proto_enum<::Odb::Lib::Protobuf::MatrixFile_LayerRecord_Form> : std::true_type {};
2587 : template <>
2588 : inline const EnumDescriptor* PROTOBUF_NONNULL GetEnumDescriptor<::Odb::Lib::Protobuf::MatrixFile_LayerRecord_Form>() {
2589 : return ::Odb::Lib::Protobuf::MatrixFile_LayerRecord_Form_descriptor();
2590 : }
2591 :
2592 : } // namespace protobuf
2593 : } // namespace google
2594 :
2595 : // @@protoc_insertion_point(global_scope)
2596 :
2597 : #include "google/protobuf/port_undef.inc"
2598 :
2599 : #endif // matrixfile_2eproto_2epb_2eh
|