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 : #include "matrixfile.pb.h"
7 :
8 : #include <algorithm>
9 : #include <type_traits>
10 : #include "google/protobuf/io/coded_stream.h"
11 : #include "google/protobuf/generated_message_tctable_impl.h"
12 : #include "google/protobuf/extension_set.h"
13 : #include "google/protobuf/generated_message_util.h"
14 : #include "google/protobuf/wire_format_lite.h"
15 : #include "google/protobuf/descriptor.h"
16 : #include "google/protobuf/generated_message_reflection.h"
17 : #include "google/protobuf/reflection_ops.h"
18 : #include "google/protobuf/wire_format.h"
19 : // @@protoc_insertion_point(includes)
20 :
21 : // Must be included last.
22 : #include "google/protobuf/port_def.inc"
23 : PROTOBUF_PRAGMA_INIT_SEG
24 : namespace _pb = ::google::protobuf;
25 : namespace _pbi = ::google::protobuf::internal;
26 : namespace _fl = ::google::protobuf::internal::field_layout;
27 : namespace Odb {
28 : namespace Lib {
29 : namespace Protobuf {
30 :
31 : inline constexpr RgbColor::Impl_::Impl_(
32 : ::_pbi::ConstantInitialized) noexcept
33 : : _cached_size_{0},
34 : red_{0u},
35 : green_{0u},
36 : blue_{0u},
37 : nopreference_{false} {}
38 :
39 : template <typename>
40 : PROTOBUF_CONSTEXPR RgbColor::RgbColor(::_pbi::ConstantInitialized)
41 : #if defined(PROTOBUF_CUSTOM_VTABLE)
42 : : ::google::protobuf::Message(RgbColor_class_data_.base()),
43 : #else // PROTOBUF_CUSTOM_VTABLE
44 : : ::google::protobuf::Message(),
45 : #endif // PROTOBUF_CUSTOM_VTABLE
46 : _impl_(::_pbi::ConstantInitialized()) {
47 : }
48 : struct RgbColorDefaultTypeInternal {
49 : PROTOBUF_CONSTEXPR RgbColorDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
50 319 : ~RgbColorDefaultTypeInternal() {}
51 : union {
52 : RgbColor _instance;
53 : };
54 : };
55 :
56 : PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT ODBDESIGN_EXPORT
57 : PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 RgbColorDefaultTypeInternal _RgbColor_default_instance_;
58 :
59 : inline constexpr MatrixFile_StepRecord::Impl_::Impl_(
60 : ::_pbi::ConstantInitialized) noexcept
61 : : _cached_size_{0},
62 : name_(
63 : &::google::protobuf::internal::fixed_address_empty_string,
64 : ::_pbi::ConstantInitialized()),
65 : column_{0u},
66 : id_{0u} {}
67 :
68 : template <typename>
69 : PROTOBUF_CONSTEXPR MatrixFile_StepRecord::MatrixFile_StepRecord(::_pbi::ConstantInitialized)
70 : #if defined(PROTOBUF_CUSTOM_VTABLE)
71 : : ::google::protobuf::Message(MatrixFile_StepRecord_class_data_.base()),
72 : #else // PROTOBUF_CUSTOM_VTABLE
73 : : ::google::protobuf::Message(),
74 : #endif // PROTOBUF_CUSTOM_VTABLE
75 : _impl_(::_pbi::ConstantInitialized()) {
76 : }
77 : struct MatrixFile_StepRecordDefaultTypeInternal {
78 : PROTOBUF_CONSTEXPR MatrixFile_StepRecordDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
79 319 : ~MatrixFile_StepRecordDefaultTypeInternal() {}
80 : union {
81 : MatrixFile_StepRecord _instance;
82 : };
83 : };
84 :
85 : PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT ODBDESIGN_EXPORT
86 : PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 MatrixFile_StepRecordDefaultTypeInternal _MatrixFile_StepRecord_default_instance_;
87 :
88 : inline constexpr MatrixFile_LayerRecord::Impl_::Impl_(
89 : ::_pbi::ConstantInitialized) noexcept
90 : : _cached_size_{0},
91 : name_(
92 : &::google::protobuf::internal::fixed_address_empty_string,
93 : ::_pbi::ConstantInitialized()),
94 : dielectricname_(
95 : &::google::protobuf::internal::fixed_address_empty_string,
96 : ::_pbi::ConstantInitialized()),
97 : startname_(
98 : &::google::protobuf::internal::fixed_address_empty_string,
99 : ::_pbi::ConstantInitialized()),
100 : endname_(
101 : &::google::protobuf::internal::fixed_address_empty_string,
102 : ::_pbi::ConstantInitialized()),
103 : oldname_(
104 : &::google::protobuf::internal::fixed_address_empty_string,
105 : ::_pbi::ConstantInitialized()),
106 : addtype_(
107 : &::google::protobuf::internal::fixed_address_empty_string,
108 : ::_pbi::ConstantInitialized()),
109 : color_{nullptr},
110 : row_{0u},
111 : context_{static_cast< ::Odb::Lib::Protobuf::MatrixFile_LayerRecord_Context >(0)},
112 : type_{static_cast< ::Odb::Lib::Protobuf::MatrixFile_LayerRecord_Type >(0)},
113 : polarity_{static_cast< ::Odb::Lib::Protobuf::Polarity >(0)},
114 : dielectrictype_{static_cast< ::Odb::Lib::Protobuf::MatrixFile_LayerRecord_DielectricType >(0)},
115 : form_{static_cast< ::Odb::Lib::Protobuf::MatrixFile_LayerRecord_Form >(0)},
116 : cutop_{0u},
117 : cubottom_{0u},
118 : ref_{0u},
119 : id_{0u} {}
120 :
121 : template <typename>
122 : PROTOBUF_CONSTEXPR MatrixFile_LayerRecord::MatrixFile_LayerRecord(::_pbi::ConstantInitialized)
123 : #if defined(PROTOBUF_CUSTOM_VTABLE)
124 : : ::google::protobuf::Message(MatrixFile_LayerRecord_class_data_.base()),
125 : #else // PROTOBUF_CUSTOM_VTABLE
126 : : ::google::protobuf::Message(),
127 : #endif // PROTOBUF_CUSTOM_VTABLE
128 : _impl_(::_pbi::ConstantInitialized()) {
129 : }
130 : struct MatrixFile_LayerRecordDefaultTypeInternal {
131 : PROTOBUF_CONSTEXPR MatrixFile_LayerRecordDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
132 319 : ~MatrixFile_LayerRecordDefaultTypeInternal() {}
133 : union {
134 : MatrixFile_LayerRecord _instance;
135 : };
136 : };
137 :
138 : PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT ODBDESIGN_EXPORT
139 : PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 MatrixFile_LayerRecordDefaultTypeInternal _MatrixFile_LayerRecord_default_instance_;
140 :
141 : inline constexpr MatrixFile::Impl_::Impl_(
142 : ::_pbi::ConstantInitialized) noexcept
143 : : _cached_size_{0},
144 : steps_{},
145 : layers_{} {}
146 :
147 : template <typename>
148 : PROTOBUF_CONSTEXPR MatrixFile::MatrixFile(::_pbi::ConstantInitialized)
149 : #if defined(PROTOBUF_CUSTOM_VTABLE)
150 : : ::google::protobuf::Message(MatrixFile_class_data_.base()),
151 : #else // PROTOBUF_CUSTOM_VTABLE
152 : : ::google::protobuf::Message(),
153 : #endif // PROTOBUF_CUSTOM_VTABLE
154 : _impl_(::_pbi::ConstantInitialized()) {
155 : }
156 : struct MatrixFileDefaultTypeInternal {
157 : PROTOBUF_CONSTEXPR MatrixFileDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
158 319 : ~MatrixFileDefaultTypeInternal() {}
159 : union {
160 : MatrixFile _instance;
161 : };
162 : };
163 :
164 : PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT ODBDESIGN_EXPORT
165 : PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 MatrixFileDefaultTypeInternal _MatrixFile_default_instance_;
166 : } // namespace Protobuf
167 : } // namespace Lib
168 : } // namespace Odb
169 : static const ::_pb::EnumDescriptor* PROTOBUF_NONNULL
170 : file_level_enum_descriptors_matrixfile_2eproto[4];
171 : static constexpr const ::_pb::ServiceDescriptor* PROTOBUF_NONNULL* PROTOBUF_NULLABLE
172 : file_level_service_descriptors_matrixfile_2eproto = nullptr;
173 : const ::uint32_t
174 : TableStruct_matrixfile_2eproto::offsets[] ABSL_ATTRIBUTE_SECTION_VARIABLE(
175 : protodesc_cold) = {
176 : 0x081, // bitmap
177 : PROTOBUF_FIELD_OFFSET(::Odb::Lib::Protobuf::RgbColor, _impl_._has_bits_),
178 : 7, // hasbit index offset
179 : PROTOBUF_FIELD_OFFSET(::Odb::Lib::Protobuf::RgbColor, _impl_.red_),
180 : PROTOBUF_FIELD_OFFSET(::Odb::Lib::Protobuf::RgbColor, _impl_.green_),
181 : PROTOBUF_FIELD_OFFSET(::Odb::Lib::Protobuf::RgbColor, _impl_.blue_),
182 : PROTOBUF_FIELD_OFFSET(::Odb::Lib::Protobuf::RgbColor, _impl_.nopreference_),
183 : 0,
184 : 1,
185 : 2,
186 : 3,
187 : 0x081, // bitmap
188 : PROTOBUF_FIELD_OFFSET(::Odb::Lib::Protobuf::MatrixFile_StepRecord, _impl_._has_bits_),
189 : 6, // hasbit index offset
190 : PROTOBUF_FIELD_OFFSET(::Odb::Lib::Protobuf::MatrixFile_StepRecord, _impl_.column_),
191 : PROTOBUF_FIELD_OFFSET(::Odb::Lib::Protobuf::MatrixFile_StepRecord, _impl_.id_),
192 : PROTOBUF_FIELD_OFFSET(::Odb::Lib::Protobuf::MatrixFile_StepRecord, _impl_.name_),
193 : 1,
194 : 2,
195 : 0,
196 : 0x081, // bitmap
197 : PROTOBUF_FIELD_OFFSET(::Odb::Lib::Protobuf::MatrixFile_LayerRecord, _impl_._has_bits_),
198 : 20, // hasbit index offset
199 : PROTOBUF_FIELD_OFFSET(::Odb::Lib::Protobuf::MatrixFile_LayerRecord, _impl_.row_),
200 : PROTOBUF_FIELD_OFFSET(::Odb::Lib::Protobuf::MatrixFile_LayerRecord, _impl_.context_),
201 : PROTOBUF_FIELD_OFFSET(::Odb::Lib::Protobuf::MatrixFile_LayerRecord, _impl_.type_),
202 : PROTOBUF_FIELD_OFFSET(::Odb::Lib::Protobuf::MatrixFile_LayerRecord, _impl_.name_),
203 : PROTOBUF_FIELD_OFFSET(::Odb::Lib::Protobuf::MatrixFile_LayerRecord, _impl_.polarity_),
204 : PROTOBUF_FIELD_OFFSET(::Odb::Lib::Protobuf::MatrixFile_LayerRecord, _impl_.dielectrictype_),
205 : PROTOBUF_FIELD_OFFSET(::Odb::Lib::Protobuf::MatrixFile_LayerRecord, _impl_.dielectricname_),
206 : PROTOBUF_FIELD_OFFSET(::Odb::Lib::Protobuf::MatrixFile_LayerRecord, _impl_.form_),
207 : PROTOBUF_FIELD_OFFSET(::Odb::Lib::Protobuf::MatrixFile_LayerRecord, _impl_.cutop_),
208 : PROTOBUF_FIELD_OFFSET(::Odb::Lib::Protobuf::MatrixFile_LayerRecord, _impl_.cubottom_),
209 : PROTOBUF_FIELD_OFFSET(::Odb::Lib::Protobuf::MatrixFile_LayerRecord, _impl_.ref_),
210 : PROTOBUF_FIELD_OFFSET(::Odb::Lib::Protobuf::MatrixFile_LayerRecord, _impl_.startname_),
211 : PROTOBUF_FIELD_OFFSET(::Odb::Lib::Protobuf::MatrixFile_LayerRecord, _impl_.endname_),
212 : PROTOBUF_FIELD_OFFSET(::Odb::Lib::Protobuf::MatrixFile_LayerRecord, _impl_.oldname_),
213 : PROTOBUF_FIELD_OFFSET(::Odb::Lib::Protobuf::MatrixFile_LayerRecord, _impl_.addtype_),
214 : PROTOBUF_FIELD_OFFSET(::Odb::Lib::Protobuf::MatrixFile_LayerRecord, _impl_.id_),
215 : PROTOBUF_FIELD_OFFSET(::Odb::Lib::Protobuf::MatrixFile_LayerRecord, _impl_.color_),
216 : 7,
217 : 8,
218 : 9,
219 : 0,
220 : 10,
221 : 11,
222 : 1,
223 : 12,
224 : 13,
225 : 14,
226 : 15,
227 : 2,
228 : 3,
229 : 4,
230 : 5,
231 : 16,
232 : 6,
233 : 0x081, // bitmap
234 : PROTOBUF_FIELD_OFFSET(::Odb::Lib::Protobuf::MatrixFile, _impl_._has_bits_),
235 : 5, // hasbit index offset
236 : PROTOBUF_FIELD_OFFSET(::Odb::Lib::Protobuf::MatrixFile, _impl_.steps_),
237 : PROTOBUF_FIELD_OFFSET(::Odb::Lib::Protobuf::MatrixFile, _impl_.layers_),
238 : 0,
239 : 1,
240 : };
241 :
242 : static const ::_pbi::MigrationSchema
243 : schemas[] ABSL_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = {
244 : {0, sizeof(::Odb::Lib::Protobuf::RgbColor)},
245 : {11, sizeof(::Odb::Lib::Protobuf::MatrixFile_StepRecord)},
246 : {20, sizeof(::Odb::Lib::Protobuf::MatrixFile_LayerRecord)},
247 : {57, sizeof(::Odb::Lib::Protobuf::MatrixFile)},
248 : };
249 : static const ::_pb::Message* PROTOBUF_NONNULL const file_default_instances[] = {
250 : &::Odb::Lib::Protobuf::_RgbColor_default_instance_._instance,
251 : &::Odb::Lib::Protobuf::_MatrixFile_StepRecord_default_instance_._instance,
252 : &::Odb::Lib::Protobuf::_MatrixFile_LayerRecord_default_instance_._instance,
253 : &::Odb::Lib::Protobuf::_MatrixFile_default_instance_._instance,
254 : };
255 : const char descriptor_table_protodef_matrixfile_2eproto[] ABSL_ATTRIBUTE_SECTION_VARIABLE(
256 : protodesc_cold) = {
257 : "\n\020matrixfile.proto\022\020Odb.Lib.Protobuf\032\013en"
258 : "ums.proto\"\212\001\n\010RgbColor\022\020\n\003red\030\001 \001(\rH\000\210\001\001"
259 : "\022\022\n\005green\030\002 \001(\rH\001\210\001\001\022\021\n\004blue\030\003 \001(\rH\002\210\001\001\022"
260 : "\031\n\014noPreference\030\004 \001(\010H\003\210\001\001B\006\n\004_redB\010\n\006_g"
261 : "reenB\007\n\005_blueB\017\n\r_noPreference\"\231\010\n\nMatri"
262 : "xFile\0226\n\005steps\030\001 \003(\0132\'.Odb.Lib.Protobuf."
263 : "MatrixFile.StepRecord\0228\n\006layers\030\002 \003(\0132(."
264 : "Odb.Lib.Protobuf.MatrixFile.LayerRecord\032"
265 : "6\n\nStepRecord\022\016\n\006column\030\001 \001(\r\022\n\n\002id\030\002 \001("
266 : "\r\022\014\n\004name\030\003 \001(\t\032\340\006\n\013LayerRecord\022\013\n\003row\030\001"
267 : " \001(\r\022A\n\007context\030\002 \001(\01620.Odb.Lib.Protobuf"
268 : ".MatrixFile.LayerRecord.Context\022;\n\004type\030"
269 : "\003 \001(\0162-.Odb.Lib.Protobuf.MatrixFile.Laye"
270 : "rRecord.Type\022\014\n\004name\030\004 \001(\t\022,\n\010polarity\030\005"
271 : " \001(\0162\032.Odb.Lib.Protobuf.Polarity\022O\n\016diel"
272 : "ectricType\030\006 \001(\01627.Odb.Lib.Protobuf.Matr"
273 : "ixFile.LayerRecord.DielectricType\022\026\n\016die"
274 : "lectricName\030\007 \001(\t\022;\n\004form\030\010 \001(\0162-.Odb.Li"
275 : "b.Protobuf.MatrixFile.LayerRecord.Form\022\r"
276 : "\n\005cuTop\030\t \001(\r\022\020\n\010cuBottom\030\n \001(\r\022\013\n\003ref\030\013"
277 : " \001(\r\022\021\n\tstartName\030\014 \001(\t\022\017\n\007endName\030\r \001(\t"
278 : "\022\017\n\007oldName\030\016 \001(\t\022\017\n\007addType\030\017 \001(\t\022\n\n\002id"
279 : "\030\021 \001(\r\022)\n\005color\030\022 \001(\0132\032.Odb.Lib.Protobuf"
280 : ".RgbColor\"\300\001\n\004Type\022\n\n\006Signal\020\000\022\017\n\013PowerG"
281 : "round\020\001\022\016\n\nDielectric\020\002\022\t\n\005Mixed\020\003\022\016\n\nSo"
282 : "lderMask\020\004\022\017\n\013SolderPaste\020\005\022\016\n\nSilkScree"
283 : "n\020\006\022\t\n\005Drill\020\007\022\010\n\004Rout\020\010\022\014\n\010Document\020\t\022\r"
284 : "\n\tComponent\020\n\022\010\n\004Mask\020\013\022\023\n\017ConductivePas"
285 : "te\020\014\"\036\n\007Context\022\t\n\005Board\020\000\022\010\n\004Misc\020\001\"1\n\016"
286 : "DielectricType\022\010\n\004None\020\000\022\013\n\007Prepreg\020\001\022\010\n"
287 : "\004Core\020\002\"\033\n\004Form\022\t\n\005Rigid\020\000\022\010\n\004Flex\020\001J\004\010\020"
288 : "\020\021B\003\370\001\001b\006proto3"
289 : };
290 : static const ::_pbi::DescriptorTable* PROTOBUF_NONNULL const
291 : descriptor_table_matrixfile_2eproto_deps[1] = {
292 : &::descriptor_table_enums_2eproto,
293 : };
294 : static ::absl::once_flag descriptor_table_matrixfile_2eproto_once;
295 : PROTOBUF_CONSTINIT const ::_pbi::DescriptorTable descriptor_table_matrixfile_2eproto = {
296 : false,
297 : false,
298 : 1255,
299 : descriptor_table_protodef_matrixfile_2eproto,
300 : "matrixfile.proto",
301 : &descriptor_table_matrixfile_2eproto_once,
302 : descriptor_table_matrixfile_2eproto_deps,
303 : 1,
304 : 4,
305 : schemas,
306 : file_default_instances,
307 : TableStruct_matrixfile_2eproto::offsets,
308 : file_level_enum_descriptors_matrixfile_2eproto,
309 : file_level_service_descriptors_matrixfile_2eproto,
310 : };
311 : namespace Odb {
312 : namespace Lib {
313 : namespace Protobuf {
314 0 : const ::google::protobuf::EnumDescriptor* PROTOBUF_NONNULL MatrixFile_LayerRecord_Type_descriptor() {
315 0 : ::google::protobuf::internal::AssignDescriptors(&descriptor_table_matrixfile_2eproto);
316 0 : return file_level_enum_descriptors_matrixfile_2eproto[0];
317 : }
318 : PROTOBUF_CONSTINIT const uint32_t MatrixFile_LayerRecord_Type_internal_data_[] = {
319 : 851968u, 0u, };
320 0 : const ::google::protobuf::EnumDescriptor* PROTOBUF_NONNULL MatrixFile_LayerRecord_Context_descriptor() {
321 0 : ::google::protobuf::internal::AssignDescriptors(&descriptor_table_matrixfile_2eproto);
322 0 : return file_level_enum_descriptors_matrixfile_2eproto[1];
323 : }
324 : PROTOBUF_CONSTINIT const uint32_t MatrixFile_LayerRecord_Context_internal_data_[] = {
325 : 131072u, 0u, };
326 0 : const ::google::protobuf::EnumDescriptor* PROTOBUF_NONNULL MatrixFile_LayerRecord_DielectricType_descriptor() {
327 0 : ::google::protobuf::internal::AssignDescriptors(&descriptor_table_matrixfile_2eproto);
328 0 : return file_level_enum_descriptors_matrixfile_2eproto[2];
329 : }
330 : PROTOBUF_CONSTINIT const uint32_t MatrixFile_LayerRecord_DielectricType_internal_data_[] = {
331 : 196608u, 0u, };
332 0 : const ::google::protobuf::EnumDescriptor* PROTOBUF_NONNULL MatrixFile_LayerRecord_Form_descriptor() {
333 0 : ::google::protobuf::internal::AssignDescriptors(&descriptor_table_matrixfile_2eproto);
334 0 : return file_level_enum_descriptors_matrixfile_2eproto[3];
335 : }
336 : PROTOBUF_CONSTINIT const uint32_t MatrixFile_LayerRecord_Form_internal_data_[] = {
337 : 131072u, 0u, };
338 : // ===================================================================
339 :
340 : class RgbColor::_Internal {
341 : public:
342 : using HasBits =
343 : decltype(::std::declval<RgbColor>()._impl_._has_bits_);
344 : static constexpr ::int32_t kHasBitsOffset =
345 : 8 * PROTOBUF_FIELD_OFFSET(RgbColor, _impl_._has_bits_);
346 : };
347 :
348 3392 : RgbColor::RgbColor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
349 : #if defined(PROTOBUF_CUSTOM_VTABLE)
350 : : ::google::protobuf::Message(arena, RgbColor_class_data_.base()) {
351 : #else // PROTOBUF_CUSTOM_VTABLE
352 3392 : : ::google::protobuf::Message(arena) {
353 : #endif // PROTOBUF_CUSTOM_VTABLE
354 3392 : SharedCtor(arena);
355 : // @@protoc_insertion_point(arena_constructor:Odb.Lib.Protobuf.RgbColor)
356 3392 : }
357 8354 : RgbColor::RgbColor(
358 8354 : ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const RgbColor& from)
359 : #if defined(PROTOBUF_CUSTOM_VTABLE)
360 : : ::google::protobuf::Message(arena, RgbColor_class_data_.base()),
361 : #else // PROTOBUF_CUSTOM_VTABLE
362 : : ::google::protobuf::Message(arena),
363 : #endif // PROTOBUF_CUSTOM_VTABLE
364 8354 : _impl_(from._impl_) {
365 8354 : _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
366 8354 : from._internal_metadata_);
367 8354 : }
368 3392 : PROTOBUF_NDEBUG_INLINE RgbColor::Impl_::Impl_(
369 : [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
370 3392 : [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
371 3392 : : _cached_size_{0} {}
372 :
373 3392 : inline void RgbColor::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
374 3392 : new (&_impl_) Impl_(internal_visibility(), arena);
375 3392 : ::memset(reinterpret_cast<char*>(&_impl_) +
376 : offsetof(Impl_, red_),
377 : 0,
378 : offsetof(Impl_, nopreference_) -
379 : offsetof(Impl_, red_) +
380 : sizeof(Impl_::nopreference_));
381 3392 : }
382 23492 : RgbColor::~RgbColor() {
383 : // @@protoc_insertion_point(destructor:Odb.Lib.Protobuf.RgbColor)
384 11746 : SharedDtor(*this);
385 23492 : }
386 11746 : inline void RgbColor::SharedDtor(MessageLite& self) {
387 11746 : RgbColor& this_ = static_cast<RgbColor&>(self);
388 : if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
389 11746 : this_.CheckHasBitConsistency();
390 : }
391 11746 : this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
392 11746 : ABSL_DCHECK(this_.GetArena() == nullptr);
393 11746 : this_._impl_.~Impl_();
394 11746 : }
395 :
396 650 : inline void* PROTOBUF_NONNULL RgbColor::PlacementNew_(
397 : const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
398 : ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
399 650 : return ::new (mem) RgbColor(arena);
400 : }
401 : constexpr auto RgbColor::InternalNewImpl_() {
402 : return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(RgbColor),
403 : alignof(RgbColor));
404 : }
405 : constexpr auto RgbColor::InternalGenerateClassData_() {
406 : return ::google::protobuf::internal::ClassDataFull{
407 : ::google::protobuf::internal::ClassData{
408 : &_RgbColor_default_instance_._instance,
409 : &_table_.header,
410 : nullptr, // OnDemandRegisterArenaDtor
411 : nullptr, // IsInitialized
412 : &RgbColor::MergeImpl,
413 : ::google::protobuf::Message::GetNewImpl<RgbColor>(),
414 : #if defined(PROTOBUF_CUSTOM_VTABLE)
415 : &RgbColor::SharedDtor,
416 : ::google::protobuf::Message::GetClearImpl<RgbColor>(), &RgbColor::ByteSizeLong,
417 : &RgbColor::_InternalSerialize,
418 : #endif // PROTOBUF_CUSTOM_VTABLE
419 : PROTOBUF_FIELD_OFFSET(RgbColor, _impl_._cached_size_),
420 : false,
421 : },
422 : &RgbColor::kDescriptorMethods,
423 : &descriptor_table_matrixfile_2eproto,
424 : nullptr, // tracker
425 : };
426 : }
427 :
428 : PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
429 : ::google::protobuf::internal::ClassDataFull RgbColor_class_data_ =
430 : RgbColor::InternalGenerateClassData_();
431 :
432 : PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
433 41676 : RgbColor::GetClassData() const {
434 41676 : ::google::protobuf::internal::PrefetchToLocalCache(&RgbColor_class_data_);
435 41676 : ::google::protobuf::internal::PrefetchToLocalCache(RgbColor_class_data_.tc_table);
436 41676 : return RgbColor_class_data_.base();
437 : }
438 : PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
439 : const ::_pbi::TcParseTable<2, 4, 0, 0, 2>
440 : RgbColor::_table_ = {
441 : {
442 : PROTOBUF_FIELD_OFFSET(RgbColor, _impl_._has_bits_),
443 : 0, // no _extensions_
444 : 4, 24, // max_field_number, fast_idx_mask
445 : offsetof(decltype(_table_), field_lookup_table),
446 : 4294967280, // skipmap
447 : offsetof(decltype(_table_), field_entries),
448 : 4, // num_field_entries
449 : 0, // num_aux_entries
450 : offsetof(decltype(_table_), field_names), // no aux_entries
451 : RgbColor_class_data_.base(),
452 : nullptr, // post_loop_handler
453 : ::_pbi::TcParser::GenericFallback, // fallback
454 : #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
455 : ::_pbi::TcParser::GetTable<::Odb::Lib::Protobuf::RgbColor>(), // to_prefetch
456 : #endif // PROTOBUF_PREFETCH_PARSE_TABLE
457 : }, {{
458 : // optional bool noPreference = 4;
459 : {::_pbi::TcParser::SingularVarintNoZag1<bool, offsetof(RgbColor, _impl_.nopreference_), 3>(),
460 : {32, 3, 0,
461 : PROTOBUF_FIELD_OFFSET(RgbColor, _impl_.nopreference_)}},
462 : // optional uint32 red = 1;
463 : {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(RgbColor, _impl_.red_), 0>(),
464 : {8, 0, 0,
465 : PROTOBUF_FIELD_OFFSET(RgbColor, _impl_.red_)}},
466 : // optional uint32 green = 2;
467 : {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(RgbColor, _impl_.green_), 1>(),
468 : {16, 1, 0,
469 : PROTOBUF_FIELD_OFFSET(RgbColor, _impl_.green_)}},
470 : // optional uint32 blue = 3;
471 : {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(RgbColor, _impl_.blue_), 2>(),
472 : {24, 2, 0,
473 : PROTOBUF_FIELD_OFFSET(RgbColor, _impl_.blue_)}},
474 : }}, {{
475 : 65535, 65535
476 : }}, {{
477 : // optional uint32 red = 1;
478 : {PROTOBUF_FIELD_OFFSET(RgbColor, _impl_.red_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kUInt32)},
479 : // optional uint32 green = 2;
480 : {PROTOBUF_FIELD_OFFSET(RgbColor, _impl_.green_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kUInt32)},
481 : // optional uint32 blue = 3;
482 : {PROTOBUF_FIELD_OFFSET(RgbColor, _impl_.blue_), _Internal::kHasBitsOffset + 2, 0, (0 | ::_fl::kFcOptional | ::_fl::kUInt32)},
483 : // optional bool noPreference = 4;
484 : {PROTOBUF_FIELD_OFFSET(RgbColor, _impl_.nopreference_), _Internal::kHasBitsOffset + 3, 0, (0 | ::_fl::kFcOptional | ::_fl::kBool)},
485 : }},
486 : // no aux_entries
487 : {{
488 : }},
489 : };
490 0 : PROTOBUF_NOINLINE void RgbColor::Clear() {
491 : // @@protoc_insertion_point(message_clear_start:Odb.Lib.Protobuf.RgbColor)
492 0 : ::google::protobuf::internal::TSanWrite(&_impl_);
493 0 : ::uint32_t cached_has_bits = 0;
494 : // Prevent compiler warnings about cached_has_bits being unused
495 : (void) cached_has_bits;
496 :
497 0 : cached_has_bits = _impl_._has_bits_[0];
498 0 : if (BatchCheckHasBit(cached_has_bits, 0x0000000fU)) {
499 0 : ::memset(&_impl_.red_, 0, static_cast<::size_t>(
500 : reinterpret_cast<char*>(&_impl_.nopreference_) -
501 : reinterpret_cast<char*>(&_impl_.red_)) + sizeof(_impl_.nopreference_));
502 : }
503 0 : _impl_._has_bits_.Clear();
504 0 : _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
505 0 : }
506 :
507 : #if defined(PROTOBUF_CUSTOM_VTABLE)
508 : ::uint8_t* PROTOBUF_NONNULL RgbColor::_InternalSerialize(
509 : const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
510 : ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
511 : const RgbColor& this_ = static_cast<const RgbColor&>(base);
512 : #else // PROTOBUF_CUSTOM_VTABLE
513 2760 : ::uint8_t* PROTOBUF_NONNULL RgbColor::_InternalSerialize(
514 : ::uint8_t* PROTOBUF_NONNULL target,
515 : ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
516 2760 : const RgbColor& this_ = *this;
517 : #endif // PROTOBUF_CUSTOM_VTABLE
518 : if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
519 2760 : this_.CheckHasBitConsistency();
520 : }
521 : // @@protoc_insertion_point(serialize_to_array_start:Odb.Lib.Protobuf.RgbColor)
522 2760 : ::uint32_t cached_has_bits = 0;
523 : (void)cached_has_bits;
524 :
525 2760 : cached_has_bits = this_._impl_._has_bits_[0];
526 : // optional uint32 red = 1;
527 2760 : if (CheckHasBit(cached_has_bits, 0x00000001U)) {
528 2760 : target = stream->EnsureSpace(target);
529 2760 : target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
530 : 1, this_._internal_red(), target);
531 : }
532 :
533 : // optional uint32 green = 2;
534 2760 : if (CheckHasBit(cached_has_bits, 0x00000002U)) {
535 2760 : target = stream->EnsureSpace(target);
536 2760 : target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
537 : 2, this_._internal_green(), target);
538 : }
539 :
540 : // optional uint32 blue = 3;
541 2760 : if (CheckHasBit(cached_has_bits, 0x00000004U)) {
542 2760 : target = stream->EnsureSpace(target);
543 2760 : target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
544 : 3, this_._internal_blue(), target);
545 : }
546 :
547 : // optional bool noPreference = 4;
548 2760 : if (CheckHasBit(cached_has_bits, 0x00000008U)) {
549 2760 : target = stream->EnsureSpace(target);
550 2760 : target = ::_pbi::WireFormatLite::WriteBoolToArray(
551 2760 : 4, this_._internal_nopreference(), target);
552 : }
553 :
554 2760 : if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
555 : target =
556 0 : ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
557 : this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
558 : }
559 : // @@protoc_insertion_point(serialize_to_array_end:Odb.Lib.Protobuf.RgbColor)
560 2760 : return target;
561 : }
562 :
563 : #if defined(PROTOBUF_CUSTOM_VTABLE)
564 : ::size_t RgbColor::ByteSizeLong(const MessageLite& base) {
565 : const RgbColor& this_ = static_cast<const RgbColor&>(base);
566 : #else // PROTOBUF_CUSTOM_VTABLE
567 3626 : ::size_t RgbColor::ByteSizeLong() const {
568 3626 : const RgbColor& this_ = *this;
569 : #endif // PROTOBUF_CUSTOM_VTABLE
570 : // @@protoc_insertion_point(message_byte_size_start:Odb.Lib.Protobuf.RgbColor)
571 3626 : ::size_t total_size = 0;
572 :
573 3626 : ::uint32_t cached_has_bits = 0;
574 : // Prevent compiler warnings about cached_has_bits being unused
575 : (void)cached_has_bits;
576 :
577 : ::_pbi::Prefetch5LinesFrom7Lines(&this_);
578 3626 : cached_has_bits = this_._impl_._has_bits_[0];
579 3626 : total_size += static_cast<bool>(0x00000008U & cached_has_bits) * 2;
580 3626 : if (BatchCheckHasBit(cached_has_bits, 0x00000007U)) {
581 : // optional uint32 red = 1;
582 3626 : if (CheckHasBit(cached_has_bits, 0x00000001U)) {
583 3626 : total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
584 : this_._internal_red());
585 : }
586 : // optional uint32 green = 2;
587 3626 : if (CheckHasBit(cached_has_bits, 0x00000002U)) {
588 3626 : total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
589 : this_._internal_green());
590 : }
591 : // optional uint32 blue = 3;
592 3626 : if (CheckHasBit(cached_has_bits, 0x00000004U)) {
593 3626 : total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
594 : this_._internal_blue());
595 : }
596 : }
597 3626 : return this_.MaybeComputeUnknownFieldsSize(total_size,
598 3626 : &this_._impl_._cached_size_);
599 : }
600 :
601 0 : void RgbColor::MergeImpl(::google::protobuf::MessageLite& to_msg,
602 : const ::google::protobuf::MessageLite& from_msg) {
603 0 : auto* const _this =
604 : static_cast<RgbColor*>(&to_msg);
605 0 : auto& from = static_cast<const RgbColor&>(from_msg);
606 : if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
607 0 : from.CheckHasBitConsistency();
608 : }
609 : // @@protoc_insertion_point(class_specific_merge_from_start:Odb.Lib.Protobuf.RgbColor)
610 0 : ABSL_DCHECK_NE(&from, _this);
611 0 : ::uint32_t cached_has_bits = 0;
612 : (void)cached_has_bits;
613 :
614 0 : cached_has_bits = from._impl_._has_bits_[0];
615 0 : if (BatchCheckHasBit(cached_has_bits, 0x0000000fU)) {
616 0 : if (CheckHasBit(cached_has_bits, 0x00000001U)) {
617 0 : _this->_impl_.red_ = from._impl_.red_;
618 : }
619 0 : if (CheckHasBit(cached_has_bits, 0x00000002U)) {
620 0 : _this->_impl_.green_ = from._impl_.green_;
621 : }
622 0 : if (CheckHasBit(cached_has_bits, 0x00000004U)) {
623 0 : _this->_impl_.blue_ = from._impl_.blue_;
624 : }
625 0 : if (CheckHasBit(cached_has_bits, 0x00000008U)) {
626 0 : _this->_impl_.nopreference_ = from._impl_.nopreference_;
627 : }
628 : }
629 0 : _this->_impl_._has_bits_[0] |= cached_has_bits;
630 0 : _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
631 0 : from._internal_metadata_);
632 0 : }
633 :
634 0 : void RgbColor::CopyFrom(const RgbColor& from) {
635 : // @@protoc_insertion_point(class_specific_copy_from_start:Odb.Lib.Protobuf.RgbColor)
636 0 : if (&from == this) return;
637 0 : Clear();
638 0 : MergeFrom(from);
639 : }
640 :
641 :
642 0 : void RgbColor::InternalSwap(RgbColor* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
643 : using ::std::swap;
644 0 : _internal_metadata_.InternalSwap(&other->_internal_metadata_);
645 0 : swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
646 : ::google::protobuf::internal::memswap<
647 : PROTOBUF_FIELD_OFFSET(RgbColor, _impl_.nopreference_)
648 : + sizeof(RgbColor::_impl_.nopreference_)
649 0 : - PROTOBUF_FIELD_OFFSET(RgbColor, _impl_.red_)>(
650 0 : reinterpret_cast<char*>(&_impl_.red_),
651 0 : reinterpret_cast<char*>(&other->_impl_.red_));
652 0 : }
653 :
654 0 : ::google::protobuf::Metadata RgbColor::GetMetadata() const {
655 0 : return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
656 : }
657 : // ===================================================================
658 :
659 : class MatrixFile_StepRecord::_Internal {
660 : public:
661 : using HasBits =
662 : decltype(::std::declval<MatrixFile_StepRecord>()._impl_._has_bits_);
663 : static constexpr ::int32_t kHasBitsOffset =
664 : 8 * PROTOBUF_FIELD_OFFSET(MatrixFile_StepRecord, _impl_._has_bits_);
665 : };
666 :
667 209 : MatrixFile_StepRecord::MatrixFile_StepRecord(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
668 : #if defined(PROTOBUF_CUSTOM_VTABLE)
669 : : ::google::protobuf::Message(arena, MatrixFile_StepRecord_class_data_.base()) {
670 : #else // PROTOBUF_CUSTOM_VTABLE
671 209 : : ::google::protobuf::Message(arena) {
672 : #endif // PROTOBUF_CUSTOM_VTABLE
673 209 : SharedCtor(arena);
674 : // @@protoc_insertion_point(arena_constructor:Odb.Lib.Protobuf.MatrixFile.StepRecord)
675 209 : }
676 194 : PROTOBUF_NDEBUG_INLINE MatrixFile_StepRecord::Impl_::Impl_(
677 : [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
678 : [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
679 194 : [[maybe_unused]] const ::Odb::Lib::Protobuf::MatrixFile_StepRecord& from_msg)
680 194 : : _has_bits_{from._has_bits_},
681 194 : _cached_size_{0},
682 194 : name_(arena, from.name_) {}
683 :
684 194 : MatrixFile_StepRecord::MatrixFile_StepRecord(
685 : ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
686 194 : const MatrixFile_StepRecord& from)
687 : #if defined(PROTOBUF_CUSTOM_VTABLE)
688 : : ::google::protobuf::Message(arena, MatrixFile_StepRecord_class_data_.base()) {
689 : #else // PROTOBUF_CUSTOM_VTABLE
690 194 : : ::google::protobuf::Message(arena) {
691 : #endif // PROTOBUF_CUSTOM_VTABLE
692 194 : MatrixFile_StepRecord* const _this = this;
693 : (void)_this;
694 194 : _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
695 194 : from._internal_metadata_);
696 194 : new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
697 194 : ::memcpy(reinterpret_cast<char*>(&_impl_) +
698 : offsetof(Impl_, column_),
699 194 : reinterpret_cast<const char*>(&from._impl_) +
700 : offsetof(Impl_, column_),
701 : offsetof(Impl_, id_) -
702 : offsetof(Impl_, column_) +
703 : sizeof(Impl_::id_));
704 :
705 : // @@protoc_insertion_point(copy_constructor:Odb.Lib.Protobuf.MatrixFile.StepRecord)
706 194 : }
707 209 : PROTOBUF_NDEBUG_INLINE MatrixFile_StepRecord::Impl_::Impl_(
708 : [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
709 209 : [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
710 209 : : _cached_size_{0},
711 418 : name_(arena) {}
712 :
713 209 : inline void MatrixFile_StepRecord::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
714 209 : new (&_impl_) Impl_(internal_visibility(), arena);
715 209 : ::memset(reinterpret_cast<char*>(&_impl_) +
716 : offsetof(Impl_, column_),
717 : 0,
718 : offsetof(Impl_, id_) -
719 : offsetof(Impl_, column_) +
720 : sizeof(Impl_::id_));
721 209 : }
722 806 : MatrixFile_StepRecord::~MatrixFile_StepRecord() {
723 : // @@protoc_insertion_point(destructor:Odb.Lib.Protobuf.MatrixFile.StepRecord)
724 403 : SharedDtor(*this);
725 806 : }
726 403 : inline void MatrixFile_StepRecord::SharedDtor(MessageLite& self) {
727 403 : MatrixFile_StepRecord& this_ = static_cast<MatrixFile_StepRecord&>(self);
728 : if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
729 403 : this_.CheckHasBitConsistency();
730 : }
731 403 : this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
732 403 : ABSL_DCHECK(this_.GetArena() == nullptr);
733 403 : this_._impl_.name_.Destroy();
734 403 : this_._impl_.~Impl_();
735 403 : }
736 :
737 25 : inline void* PROTOBUF_NONNULL MatrixFile_StepRecord::PlacementNew_(
738 : const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
739 : ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
740 25 : return ::new (mem) MatrixFile_StepRecord(arena);
741 : }
742 : constexpr auto MatrixFile_StepRecord::InternalNewImpl_() {
743 : return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(MatrixFile_StepRecord),
744 : alignof(MatrixFile_StepRecord));
745 : }
746 : constexpr auto MatrixFile_StepRecord::InternalGenerateClassData_() {
747 : return ::google::protobuf::internal::ClassDataFull{
748 : ::google::protobuf::internal::ClassData{
749 : &_MatrixFile_StepRecord_default_instance_._instance,
750 : &_table_.header,
751 : nullptr, // OnDemandRegisterArenaDtor
752 : nullptr, // IsInitialized
753 : &MatrixFile_StepRecord::MergeImpl,
754 : ::google::protobuf::Message::GetNewImpl<MatrixFile_StepRecord>(),
755 : #if defined(PROTOBUF_CUSTOM_VTABLE)
756 : &MatrixFile_StepRecord::SharedDtor,
757 : ::google::protobuf::Message::GetClearImpl<MatrixFile_StepRecord>(), &MatrixFile_StepRecord::ByteSizeLong,
758 : &MatrixFile_StepRecord::_InternalSerialize,
759 : #endif // PROTOBUF_CUSTOM_VTABLE
760 : PROTOBUF_FIELD_OFFSET(MatrixFile_StepRecord, _impl_._cached_size_),
761 : false,
762 : },
763 : &MatrixFile_StepRecord::kDescriptorMethods,
764 : &descriptor_table_matrixfile_2eproto,
765 : nullptr, // tracker
766 : };
767 : }
768 :
769 : PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
770 : ::google::protobuf::internal::ClassDataFull MatrixFile_StepRecord_class_data_ =
771 : MatrixFile_StepRecord::InternalGenerateClassData_();
772 :
773 : PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
774 1089 : MatrixFile_StepRecord::GetClassData() const {
775 1089 : ::google::protobuf::internal::PrefetchToLocalCache(&MatrixFile_StepRecord_class_data_);
776 1089 : ::google::protobuf::internal::PrefetchToLocalCache(MatrixFile_StepRecord_class_data_.tc_table);
777 1089 : return MatrixFile_StepRecord_class_data_.base();
778 : }
779 : PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
780 : const ::_pbi::TcParseTable<2, 3, 0, 51, 2>
781 : MatrixFile_StepRecord::_table_ = {
782 : {
783 : PROTOBUF_FIELD_OFFSET(MatrixFile_StepRecord, _impl_._has_bits_),
784 : 0, // no _extensions_
785 : 3, 24, // max_field_number, fast_idx_mask
786 : offsetof(decltype(_table_), field_lookup_table),
787 : 4294967288, // skipmap
788 : offsetof(decltype(_table_), field_entries),
789 : 3, // num_field_entries
790 : 0, // num_aux_entries
791 : offsetof(decltype(_table_), field_names), // no aux_entries
792 : MatrixFile_StepRecord_class_data_.base(),
793 : nullptr, // post_loop_handler
794 : ::_pbi::TcParser::GenericFallback, // fallback
795 : #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
796 : ::_pbi::TcParser::GetTable<::Odb::Lib::Protobuf::MatrixFile_StepRecord>(), // to_prefetch
797 : #endif // PROTOBUF_PREFETCH_PARSE_TABLE
798 : }, {{
799 : {::_pbi::TcParser::MiniParse, {}},
800 : // uint32 column = 1;
801 : {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(MatrixFile_StepRecord, _impl_.column_), 1>(),
802 : {8, 1, 0,
803 : PROTOBUF_FIELD_OFFSET(MatrixFile_StepRecord, _impl_.column_)}},
804 : // uint32 id = 2;
805 : {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(MatrixFile_StepRecord, _impl_.id_), 2>(),
806 : {16, 2, 0,
807 : PROTOBUF_FIELD_OFFSET(MatrixFile_StepRecord, _impl_.id_)}},
808 : // string name = 3;
809 : {::_pbi::TcParser::FastUS1,
810 : {26, 0, 0,
811 : PROTOBUF_FIELD_OFFSET(MatrixFile_StepRecord, _impl_.name_)}},
812 : }}, {{
813 : 65535, 65535
814 : }}, {{
815 : // uint32 column = 1;
816 : {PROTOBUF_FIELD_OFFSET(MatrixFile_StepRecord, _impl_.column_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kUInt32)},
817 : // uint32 id = 2;
818 : {PROTOBUF_FIELD_OFFSET(MatrixFile_StepRecord, _impl_.id_), _Internal::kHasBitsOffset + 2, 0, (0 | ::_fl::kFcOptional | ::_fl::kUInt32)},
819 : // string name = 3;
820 : {PROTOBUF_FIELD_OFFSET(MatrixFile_StepRecord, _impl_.name_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)},
821 : }},
822 : // no aux_entries
823 : {{
824 : "\46\0\0\4\0\0\0\0"
825 : "Odb.Lib.Protobuf.MatrixFile.StepRecord"
826 : "name"
827 : }},
828 : };
829 92 : PROTOBUF_NOINLINE void MatrixFile_StepRecord::Clear() {
830 : // @@protoc_insertion_point(message_clear_start:Odb.Lib.Protobuf.MatrixFile.StepRecord)
831 92 : ::google::protobuf::internal::TSanWrite(&_impl_);
832 92 : ::uint32_t cached_has_bits = 0;
833 : // Prevent compiler warnings about cached_has_bits being unused
834 : (void) cached_has_bits;
835 :
836 92 : cached_has_bits = _impl_._has_bits_[0];
837 92 : if (CheckHasBit(cached_has_bits, 0x00000001U)) {
838 0 : _impl_.name_.ClearNonDefaultToEmpty();
839 : }
840 92 : if (BatchCheckHasBit(cached_has_bits, 0x00000006U)) {
841 0 : ::memset(&_impl_.column_, 0, static_cast<::size_t>(
842 : reinterpret_cast<char*>(&_impl_.id_) -
843 : reinterpret_cast<char*>(&_impl_.column_)) + sizeof(_impl_.id_));
844 : }
845 92 : _impl_._has_bits_.Clear();
846 92 : _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
847 92 : }
848 :
849 : #if defined(PROTOBUF_CUSTOM_VTABLE)
850 : ::uint8_t* PROTOBUF_NONNULL MatrixFile_StepRecord::_InternalSerialize(
851 : const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
852 : ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
853 : const MatrixFile_StepRecord& this_ = static_cast<const MatrixFile_StepRecord&>(base);
854 : #else // PROTOBUF_CUSTOM_VTABLE
855 97 : ::uint8_t* PROTOBUF_NONNULL MatrixFile_StepRecord::_InternalSerialize(
856 : ::uint8_t* PROTOBUF_NONNULL target,
857 : ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
858 97 : const MatrixFile_StepRecord& this_ = *this;
859 : #endif // PROTOBUF_CUSTOM_VTABLE
860 : if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
861 97 : this_.CheckHasBitConsistency();
862 : }
863 : // @@protoc_insertion_point(serialize_to_array_start:Odb.Lib.Protobuf.MatrixFile.StepRecord)
864 97 : ::uint32_t cached_has_bits = 0;
865 : (void)cached_has_bits;
866 :
867 97 : cached_has_bits = this_._impl_._has_bits_[0];
868 : // uint32 column = 1;
869 97 : if (CheckHasBit(cached_has_bits, 0x00000002U)) {
870 97 : if (this_._internal_column() != 0) {
871 97 : target = stream->EnsureSpace(target);
872 97 : target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
873 : 1, this_._internal_column(), target);
874 : }
875 : }
876 :
877 : // uint32 id = 2;
878 97 : if (CheckHasBit(cached_has_bits, 0x00000004U)) {
879 97 : if (this_._internal_id() != 0) {
880 97 : target = stream->EnsureSpace(target);
881 97 : target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
882 : 2, this_._internal_id(), target);
883 : }
884 : }
885 :
886 : // string name = 3;
887 97 : if (CheckHasBit(cached_has_bits, 0x00000001U)) {
888 97 : if (!this_._internal_name().empty()) {
889 97 : const ::std::string& _s = this_._internal_name();
890 194 : ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
891 97 : _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "Odb.Lib.Protobuf.MatrixFile.StepRecord.name");
892 97 : target = stream->WriteStringMaybeAliased(3, _s, target);
893 : }
894 : }
895 :
896 97 : if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
897 : target =
898 0 : ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
899 : this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
900 : }
901 : // @@protoc_insertion_point(serialize_to_array_end:Odb.Lib.Protobuf.MatrixFile.StepRecord)
902 97 : return target;
903 : }
904 :
905 : #if defined(PROTOBUF_CUSTOM_VTABLE)
906 : ::size_t MatrixFile_StepRecord::ByteSizeLong(const MessageLite& base) {
907 : const MatrixFile_StepRecord& this_ = static_cast<const MatrixFile_StepRecord&>(base);
908 : #else // PROTOBUF_CUSTOM_VTABLE
909 129 : ::size_t MatrixFile_StepRecord::ByteSizeLong() const {
910 129 : const MatrixFile_StepRecord& this_ = *this;
911 : #endif // PROTOBUF_CUSTOM_VTABLE
912 : // @@protoc_insertion_point(message_byte_size_start:Odb.Lib.Protobuf.MatrixFile.StepRecord)
913 129 : ::size_t total_size = 0;
914 :
915 129 : ::uint32_t cached_has_bits = 0;
916 : // Prevent compiler warnings about cached_has_bits being unused
917 : (void)cached_has_bits;
918 :
919 : ::_pbi::Prefetch5LinesFrom7Lines(&this_);
920 129 : cached_has_bits = this_._impl_._has_bits_[0];
921 129 : if (BatchCheckHasBit(cached_has_bits, 0x00000007U)) {
922 : // string name = 3;
923 129 : if (CheckHasBit(cached_has_bits, 0x00000001U)) {
924 129 : if (!this_._internal_name().empty()) {
925 129 : total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
926 : this_._internal_name());
927 : }
928 : }
929 : // uint32 column = 1;
930 129 : if (CheckHasBit(cached_has_bits, 0x00000002U)) {
931 129 : if (this_._internal_column() != 0) {
932 129 : total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
933 : this_._internal_column());
934 : }
935 : }
936 : // uint32 id = 2;
937 129 : if (CheckHasBit(cached_has_bits, 0x00000004U)) {
938 129 : if (this_._internal_id() != 0) {
939 129 : total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
940 : this_._internal_id());
941 : }
942 : }
943 : }
944 129 : return this_.MaybeComputeUnknownFieldsSize(total_size,
945 129 : &this_._impl_._cached_size_);
946 : }
947 :
948 92 : void MatrixFile_StepRecord::MergeImpl(::google::protobuf::MessageLite& to_msg,
949 : const ::google::protobuf::MessageLite& from_msg) {
950 92 : auto* const _this =
951 : static_cast<MatrixFile_StepRecord*>(&to_msg);
952 92 : auto& from = static_cast<const MatrixFile_StepRecord&>(from_msg);
953 : if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
954 92 : from.CheckHasBitConsistency();
955 : }
956 : // @@protoc_insertion_point(class_specific_merge_from_start:Odb.Lib.Protobuf.MatrixFile.StepRecord)
957 92 : ABSL_DCHECK_NE(&from, _this);
958 92 : ::uint32_t cached_has_bits = 0;
959 : (void)cached_has_bits;
960 :
961 92 : cached_has_bits = from._impl_._has_bits_[0];
962 92 : if (BatchCheckHasBit(cached_has_bits, 0x00000007U)) {
963 92 : if (CheckHasBit(cached_has_bits, 0x00000001U)) {
964 92 : if (!from._internal_name().empty()) {
965 92 : _this->_internal_set_name(from._internal_name());
966 : } else {
967 0 : if (_this->_impl_.name_.IsDefault()) {
968 0 : _this->_internal_set_name("");
969 : }
970 : }
971 : }
972 92 : if (CheckHasBit(cached_has_bits, 0x00000002U)) {
973 92 : if (from._internal_column() != 0) {
974 92 : _this->_impl_.column_ = from._impl_.column_;
975 : }
976 : }
977 92 : if (CheckHasBit(cached_has_bits, 0x00000004U)) {
978 92 : if (from._internal_id() != 0) {
979 92 : _this->_impl_.id_ = from._impl_.id_;
980 : }
981 : }
982 : }
983 92 : _this->_impl_._has_bits_[0] |= cached_has_bits;
984 92 : _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
985 92 : from._internal_metadata_);
986 92 : }
987 :
988 92 : void MatrixFile_StepRecord::CopyFrom(const MatrixFile_StepRecord& from) {
989 : // @@protoc_insertion_point(class_specific_copy_from_start:Odb.Lib.Protobuf.MatrixFile.StepRecord)
990 92 : if (&from == this) return;
991 92 : Clear();
992 92 : MergeFrom(from);
993 : }
994 :
995 :
996 0 : void MatrixFile_StepRecord::InternalSwap(MatrixFile_StepRecord* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
997 : using ::std::swap;
998 0 : auto* arena = GetArena();
999 0 : ABSL_DCHECK_EQ(arena, other->GetArena());
1000 0 : _internal_metadata_.InternalSwap(&other->_internal_metadata_);
1001 0 : swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
1002 0 : ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.name_, &other->_impl_.name_, arena);
1003 : ::google::protobuf::internal::memswap<
1004 : PROTOBUF_FIELD_OFFSET(MatrixFile_StepRecord, _impl_.id_)
1005 : + sizeof(MatrixFile_StepRecord::_impl_.id_)
1006 0 : - PROTOBUF_FIELD_OFFSET(MatrixFile_StepRecord, _impl_.column_)>(
1007 0 : reinterpret_cast<char*>(&_impl_.column_),
1008 0 : reinterpret_cast<char*>(&other->_impl_.column_));
1009 0 : }
1010 :
1011 0 : ::google::protobuf::Metadata MatrixFile_StepRecord::GetMetadata() const {
1012 0 : return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
1013 : }
1014 : // ===================================================================
1015 :
1016 : class MatrixFile_LayerRecord::_Internal {
1017 : public:
1018 : using HasBits =
1019 : decltype(::std::declval<MatrixFile_LayerRecord>()._impl_._has_bits_);
1020 : static constexpr ::int32_t kHasBitsOffset =
1021 : 8 * PROTOBUF_FIELD_OFFSET(MatrixFile_LayerRecord, _impl_._has_bits_);
1022 : };
1023 :
1024 6107 : MatrixFile_LayerRecord::MatrixFile_LayerRecord(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
1025 : #if defined(PROTOBUF_CUSTOM_VTABLE)
1026 : : ::google::protobuf::Message(arena, MatrixFile_LayerRecord_class_data_.base()) {
1027 : #else // PROTOBUF_CUSTOM_VTABLE
1028 6107 : : ::google::protobuf::Message(arena) {
1029 : #endif // PROTOBUF_CUSTOM_VTABLE
1030 6107 : SharedCtor(arena);
1031 : // @@protoc_insertion_point(arena_constructor:Odb.Lib.Protobuf.MatrixFile.LayerRecord)
1032 6107 : }
1033 5639 : PROTOBUF_NDEBUG_INLINE MatrixFile_LayerRecord::Impl_::Impl_(
1034 : [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
1035 : [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
1036 5639 : [[maybe_unused]] const ::Odb::Lib::Protobuf::MatrixFile_LayerRecord& from_msg)
1037 5639 : : _has_bits_{from._has_bits_},
1038 5639 : _cached_size_{0},
1039 5639 : name_(arena, from.name_),
1040 5639 : dielectricname_(arena, from.dielectricname_),
1041 5639 : startname_(arena, from.startname_),
1042 5639 : endname_(arena, from.endname_),
1043 5639 : oldname_(arena, from.oldname_),
1044 5639 : addtype_(arena, from.addtype_) {}
1045 :
1046 5639 : MatrixFile_LayerRecord::MatrixFile_LayerRecord(
1047 : ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
1048 5639 : const MatrixFile_LayerRecord& from)
1049 : #if defined(PROTOBUF_CUSTOM_VTABLE)
1050 : : ::google::protobuf::Message(arena, MatrixFile_LayerRecord_class_data_.base()) {
1051 : #else // PROTOBUF_CUSTOM_VTABLE
1052 5639 : : ::google::protobuf::Message(arena) {
1053 : #endif // PROTOBUF_CUSTOM_VTABLE
1054 5639 : MatrixFile_LayerRecord* const _this = this;
1055 : (void)_this;
1056 5639 : _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
1057 5639 : from._internal_metadata_);
1058 5639 : new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
1059 5639 : ::uint32_t cached_has_bits = _impl_._has_bits_[0];
1060 11278 : _impl_.color_ = (CheckHasBit(cached_has_bits, 0x00000040U))
1061 11278 : ? ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.color_)
1062 : : nullptr;
1063 5639 : ::memcpy(reinterpret_cast<char*>(&_impl_) +
1064 : offsetof(Impl_, row_),
1065 5639 : reinterpret_cast<const char*>(&from._impl_) +
1066 : offsetof(Impl_, row_),
1067 : offsetof(Impl_, id_) -
1068 : offsetof(Impl_, row_) +
1069 : sizeof(Impl_::id_));
1070 :
1071 : // @@protoc_insertion_point(copy_constructor:Odb.Lib.Protobuf.MatrixFile.LayerRecord)
1072 5639 : }
1073 6107 : PROTOBUF_NDEBUG_INLINE MatrixFile_LayerRecord::Impl_::Impl_(
1074 : [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
1075 6107 : [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
1076 6107 : : _cached_size_{0},
1077 6107 : name_(arena),
1078 6107 : dielectricname_(arena),
1079 6107 : startname_(arena),
1080 6107 : endname_(arena),
1081 6107 : oldname_(arena),
1082 12214 : addtype_(arena) {}
1083 :
1084 6107 : inline void MatrixFile_LayerRecord::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
1085 6107 : new (&_impl_) Impl_(internal_visibility(), arena);
1086 6107 : ::memset(reinterpret_cast<char*>(&_impl_) +
1087 : offsetof(Impl_, color_),
1088 : 0,
1089 : offsetof(Impl_, id_) -
1090 : offsetof(Impl_, color_) +
1091 : sizeof(Impl_::id_));
1092 6107 : }
1093 23492 : MatrixFile_LayerRecord::~MatrixFile_LayerRecord() {
1094 : // @@protoc_insertion_point(destructor:Odb.Lib.Protobuf.MatrixFile.LayerRecord)
1095 11746 : SharedDtor(*this);
1096 23492 : }
1097 11746 : inline void MatrixFile_LayerRecord::SharedDtor(MessageLite& self) {
1098 11746 : MatrixFile_LayerRecord& this_ = static_cast<MatrixFile_LayerRecord&>(self);
1099 : if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
1100 11746 : this_.CheckHasBitConsistency();
1101 : }
1102 11746 : this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
1103 11746 : ABSL_DCHECK(this_.GetArena() == nullptr);
1104 11746 : this_._impl_.name_.Destroy();
1105 11746 : this_._impl_.dielectricname_.Destroy();
1106 11746 : this_._impl_.startname_.Destroy();
1107 11746 : this_._impl_.endname_.Destroy();
1108 11746 : this_._impl_.oldname_.Destroy();
1109 11746 : this_._impl_.addtype_.Destroy();
1110 11746 : delete this_._impl_.color_;
1111 11746 : this_._impl_.~Impl_();
1112 11746 : }
1113 :
1114 650 : inline void* PROTOBUF_NONNULL MatrixFile_LayerRecord::PlacementNew_(
1115 : const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
1116 : ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
1117 650 : return ::new (mem) MatrixFile_LayerRecord(arena);
1118 : }
1119 : constexpr auto MatrixFile_LayerRecord::InternalNewImpl_() {
1120 : return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(MatrixFile_LayerRecord),
1121 : alignof(MatrixFile_LayerRecord));
1122 : }
1123 : constexpr auto MatrixFile_LayerRecord::InternalGenerateClassData_() {
1124 : return ::google::protobuf::internal::ClassDataFull{
1125 : ::google::protobuf::internal::ClassData{
1126 : &_MatrixFile_LayerRecord_default_instance_._instance,
1127 : &_table_.header,
1128 : nullptr, // OnDemandRegisterArenaDtor
1129 : nullptr, // IsInitialized
1130 : &MatrixFile_LayerRecord::MergeImpl,
1131 : ::google::protobuf::Message::GetNewImpl<MatrixFile_LayerRecord>(),
1132 : #if defined(PROTOBUF_CUSTOM_VTABLE)
1133 : &MatrixFile_LayerRecord::SharedDtor,
1134 : ::google::protobuf::Message::GetClearImpl<MatrixFile_LayerRecord>(), &MatrixFile_LayerRecord::ByteSizeLong,
1135 : &MatrixFile_LayerRecord::_InternalSerialize,
1136 : #endif // PROTOBUF_CUSTOM_VTABLE
1137 : PROTOBUF_FIELD_OFFSET(MatrixFile_LayerRecord, _impl_._cached_size_),
1138 : false,
1139 : },
1140 : &MatrixFile_LayerRecord::kDescriptorMethods,
1141 : &descriptor_table_matrixfile_2eproto,
1142 : nullptr, // tracker
1143 : };
1144 : }
1145 :
1146 : PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
1147 : ::google::protobuf::internal::ClassDataFull MatrixFile_LayerRecord_class_data_ =
1148 : MatrixFile_LayerRecord::InternalGenerateClassData_();
1149 :
1150 : PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
1151 62475 : MatrixFile_LayerRecord::GetClassData() const {
1152 62475 : ::google::protobuf::internal::PrefetchToLocalCache(&MatrixFile_LayerRecord_class_data_);
1153 62475 : ::google::protobuf::internal::PrefetchToLocalCache(MatrixFile_LayerRecord_class_data_.tc_table);
1154 62475 : return MatrixFile_LayerRecord_class_data_.base();
1155 : }
1156 : PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
1157 : const ::_pbi::TcParseTable<5, 17, 1, 112, 2>
1158 : MatrixFile_LayerRecord::_table_ = {
1159 : {
1160 : PROTOBUF_FIELD_OFFSET(MatrixFile_LayerRecord, _impl_._has_bits_),
1161 : 0, // no _extensions_
1162 : 18, 248, // max_field_number, fast_idx_mask
1163 : offsetof(decltype(_table_), field_lookup_table),
1164 : 4294737920, // skipmap
1165 : offsetof(decltype(_table_), field_entries),
1166 : 17, // num_field_entries
1167 : 1, // num_aux_entries
1168 : offsetof(decltype(_table_), aux_entries),
1169 : MatrixFile_LayerRecord_class_data_.base(),
1170 : nullptr, // post_loop_handler
1171 : ::_pbi::TcParser::GenericFallback, // fallback
1172 : #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
1173 : ::_pbi::TcParser::GetTable<::Odb::Lib::Protobuf::MatrixFile_LayerRecord>(), // to_prefetch
1174 : #endif // PROTOBUF_PREFETCH_PARSE_TABLE
1175 : }, {{
1176 : {::_pbi::TcParser::MiniParse, {}},
1177 : // uint32 row = 1;
1178 : {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(MatrixFile_LayerRecord, _impl_.row_), 7>(),
1179 : {8, 7, 0,
1180 : PROTOBUF_FIELD_OFFSET(MatrixFile_LayerRecord, _impl_.row_)}},
1181 : // .Odb.Lib.Protobuf.MatrixFile.LayerRecord.Context context = 2;
1182 : {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(MatrixFile_LayerRecord, _impl_.context_), 8>(),
1183 : {16, 8, 0,
1184 : PROTOBUF_FIELD_OFFSET(MatrixFile_LayerRecord, _impl_.context_)}},
1185 : // .Odb.Lib.Protobuf.MatrixFile.LayerRecord.Type type = 3;
1186 : {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(MatrixFile_LayerRecord, _impl_.type_), 9>(),
1187 : {24, 9, 0,
1188 : PROTOBUF_FIELD_OFFSET(MatrixFile_LayerRecord, _impl_.type_)}},
1189 : // string name = 4;
1190 : {::_pbi::TcParser::FastUS1,
1191 : {34, 0, 0,
1192 : PROTOBUF_FIELD_OFFSET(MatrixFile_LayerRecord, _impl_.name_)}},
1193 : // .Odb.Lib.Protobuf.Polarity polarity = 5;
1194 : {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(MatrixFile_LayerRecord, _impl_.polarity_), 10>(),
1195 : {40, 10, 0,
1196 : PROTOBUF_FIELD_OFFSET(MatrixFile_LayerRecord, _impl_.polarity_)}},
1197 : // .Odb.Lib.Protobuf.MatrixFile.LayerRecord.DielectricType dielectricType = 6;
1198 : {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(MatrixFile_LayerRecord, _impl_.dielectrictype_), 11>(),
1199 : {48, 11, 0,
1200 : PROTOBUF_FIELD_OFFSET(MatrixFile_LayerRecord, _impl_.dielectrictype_)}},
1201 : // string dielectricName = 7;
1202 : {::_pbi::TcParser::FastUS1,
1203 : {58, 1, 0,
1204 : PROTOBUF_FIELD_OFFSET(MatrixFile_LayerRecord, _impl_.dielectricname_)}},
1205 : // .Odb.Lib.Protobuf.MatrixFile.LayerRecord.Form form = 8;
1206 : {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(MatrixFile_LayerRecord, _impl_.form_), 12>(),
1207 : {64, 12, 0,
1208 : PROTOBUF_FIELD_OFFSET(MatrixFile_LayerRecord, _impl_.form_)}},
1209 : // uint32 cuTop = 9;
1210 : {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(MatrixFile_LayerRecord, _impl_.cutop_), 13>(),
1211 : {72, 13, 0,
1212 : PROTOBUF_FIELD_OFFSET(MatrixFile_LayerRecord, _impl_.cutop_)}},
1213 : // uint32 cuBottom = 10;
1214 : {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(MatrixFile_LayerRecord, _impl_.cubottom_), 14>(),
1215 : {80, 14, 0,
1216 : PROTOBUF_FIELD_OFFSET(MatrixFile_LayerRecord, _impl_.cubottom_)}},
1217 : // uint32 ref = 11;
1218 : {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(MatrixFile_LayerRecord, _impl_.ref_), 15>(),
1219 : {88, 15, 0,
1220 : PROTOBUF_FIELD_OFFSET(MatrixFile_LayerRecord, _impl_.ref_)}},
1221 : // string startName = 12;
1222 : {::_pbi::TcParser::FastUS1,
1223 : {98, 2, 0,
1224 : PROTOBUF_FIELD_OFFSET(MatrixFile_LayerRecord, _impl_.startname_)}},
1225 : // string endName = 13;
1226 : {::_pbi::TcParser::FastUS1,
1227 : {106, 3, 0,
1228 : PROTOBUF_FIELD_OFFSET(MatrixFile_LayerRecord, _impl_.endname_)}},
1229 : // string oldName = 14;
1230 : {::_pbi::TcParser::FastUS1,
1231 : {114, 4, 0,
1232 : PROTOBUF_FIELD_OFFSET(MatrixFile_LayerRecord, _impl_.oldname_)}},
1233 : // string addType = 15;
1234 : {::_pbi::TcParser::FastUS1,
1235 : {122, 5, 0,
1236 : PROTOBUF_FIELD_OFFSET(MatrixFile_LayerRecord, _impl_.addtype_)}},
1237 : {::_pbi::TcParser::MiniParse, {}},
1238 : // uint32 id = 17;
1239 : {::_pbi::TcParser::FastV32S2,
1240 : {392, 16, 0,
1241 : PROTOBUF_FIELD_OFFSET(MatrixFile_LayerRecord, _impl_.id_)}},
1242 : // .Odb.Lib.Protobuf.RgbColor color = 18;
1243 : {::_pbi::TcParser::FastMtS2,
1244 : {402, 6, 0,
1245 : PROTOBUF_FIELD_OFFSET(MatrixFile_LayerRecord, _impl_.color_)}},
1246 : {::_pbi::TcParser::MiniParse, {}},
1247 : {::_pbi::TcParser::MiniParse, {}},
1248 : {::_pbi::TcParser::MiniParse, {}},
1249 : {::_pbi::TcParser::MiniParse, {}},
1250 : {::_pbi::TcParser::MiniParse, {}},
1251 : {::_pbi::TcParser::MiniParse, {}},
1252 : {::_pbi::TcParser::MiniParse, {}},
1253 : {::_pbi::TcParser::MiniParse, {}},
1254 : {::_pbi::TcParser::MiniParse, {}},
1255 : {::_pbi::TcParser::MiniParse, {}},
1256 : {::_pbi::TcParser::MiniParse, {}},
1257 : {::_pbi::TcParser::MiniParse, {}},
1258 : {::_pbi::TcParser::MiniParse, {}},
1259 : }}, {{
1260 : 65535, 65535
1261 : }}, {{
1262 : // uint32 row = 1;
1263 : {PROTOBUF_FIELD_OFFSET(MatrixFile_LayerRecord, _impl_.row_), _Internal::kHasBitsOffset + 7, 0, (0 | ::_fl::kFcOptional | ::_fl::kUInt32)},
1264 : // .Odb.Lib.Protobuf.MatrixFile.LayerRecord.Context context = 2;
1265 : {PROTOBUF_FIELD_OFFSET(MatrixFile_LayerRecord, _impl_.context_), _Internal::kHasBitsOffset + 8, 0, (0 | ::_fl::kFcOptional | ::_fl::kOpenEnum)},
1266 : // .Odb.Lib.Protobuf.MatrixFile.LayerRecord.Type type = 3;
1267 : {PROTOBUF_FIELD_OFFSET(MatrixFile_LayerRecord, _impl_.type_), _Internal::kHasBitsOffset + 9, 0, (0 | ::_fl::kFcOptional | ::_fl::kOpenEnum)},
1268 : // string name = 4;
1269 : {PROTOBUF_FIELD_OFFSET(MatrixFile_LayerRecord, _impl_.name_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)},
1270 : // .Odb.Lib.Protobuf.Polarity polarity = 5;
1271 : {PROTOBUF_FIELD_OFFSET(MatrixFile_LayerRecord, _impl_.polarity_), _Internal::kHasBitsOffset + 10, 0, (0 | ::_fl::kFcOptional | ::_fl::kOpenEnum)},
1272 : // .Odb.Lib.Protobuf.MatrixFile.LayerRecord.DielectricType dielectricType = 6;
1273 : {PROTOBUF_FIELD_OFFSET(MatrixFile_LayerRecord, _impl_.dielectrictype_), _Internal::kHasBitsOffset + 11, 0, (0 | ::_fl::kFcOptional | ::_fl::kOpenEnum)},
1274 : // string dielectricName = 7;
1275 : {PROTOBUF_FIELD_OFFSET(MatrixFile_LayerRecord, _impl_.dielectricname_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)},
1276 : // .Odb.Lib.Protobuf.MatrixFile.LayerRecord.Form form = 8;
1277 : {PROTOBUF_FIELD_OFFSET(MatrixFile_LayerRecord, _impl_.form_), _Internal::kHasBitsOffset + 12, 0, (0 | ::_fl::kFcOptional | ::_fl::kOpenEnum)},
1278 : // uint32 cuTop = 9;
1279 : {PROTOBUF_FIELD_OFFSET(MatrixFile_LayerRecord, _impl_.cutop_), _Internal::kHasBitsOffset + 13, 0, (0 | ::_fl::kFcOptional | ::_fl::kUInt32)},
1280 : // uint32 cuBottom = 10;
1281 : {PROTOBUF_FIELD_OFFSET(MatrixFile_LayerRecord, _impl_.cubottom_), _Internal::kHasBitsOffset + 14, 0, (0 | ::_fl::kFcOptional | ::_fl::kUInt32)},
1282 : // uint32 ref = 11;
1283 : {PROTOBUF_FIELD_OFFSET(MatrixFile_LayerRecord, _impl_.ref_), _Internal::kHasBitsOffset + 15, 0, (0 | ::_fl::kFcOptional | ::_fl::kUInt32)},
1284 : // string startName = 12;
1285 : {PROTOBUF_FIELD_OFFSET(MatrixFile_LayerRecord, _impl_.startname_), _Internal::kHasBitsOffset + 2, 0, (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)},
1286 : // string endName = 13;
1287 : {PROTOBUF_FIELD_OFFSET(MatrixFile_LayerRecord, _impl_.endname_), _Internal::kHasBitsOffset + 3, 0, (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)},
1288 : // string oldName = 14;
1289 : {PROTOBUF_FIELD_OFFSET(MatrixFile_LayerRecord, _impl_.oldname_), _Internal::kHasBitsOffset + 4, 0, (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)},
1290 : // string addType = 15;
1291 : {PROTOBUF_FIELD_OFFSET(MatrixFile_LayerRecord, _impl_.addtype_), _Internal::kHasBitsOffset + 5, 0, (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)},
1292 : // uint32 id = 17;
1293 : {PROTOBUF_FIELD_OFFSET(MatrixFile_LayerRecord, _impl_.id_), _Internal::kHasBitsOffset + 16, 0, (0 | ::_fl::kFcOptional | ::_fl::kUInt32)},
1294 : // .Odb.Lib.Protobuf.RgbColor color = 18;
1295 : {PROTOBUF_FIELD_OFFSET(MatrixFile_LayerRecord, _impl_.color_), _Internal::kHasBitsOffset + 6, 0, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
1296 : }},
1297 : {{
1298 : {::_pbi::TcParser::GetTable<::Odb::Lib::Protobuf::RgbColor>()},
1299 : }},
1300 : {{
1301 : "\47\0\0\0\4\0\0\16\0\0\0\0\11\7\7\7\0\0\0\0\0\0\0\0"
1302 : "Odb.Lib.Protobuf.MatrixFile.LayerRecord"
1303 : "name"
1304 : "dielectricName"
1305 : "startName"
1306 : "endName"
1307 : "oldName"
1308 : "addType"
1309 : }},
1310 : };
1311 2715 : PROTOBUF_NOINLINE void MatrixFile_LayerRecord::Clear() {
1312 : // @@protoc_insertion_point(message_clear_start:Odb.Lib.Protobuf.MatrixFile.LayerRecord)
1313 2715 : ::google::protobuf::internal::TSanWrite(&_impl_);
1314 2715 : ::uint32_t cached_has_bits = 0;
1315 : // Prevent compiler warnings about cached_has_bits being unused
1316 : (void) cached_has_bits;
1317 :
1318 2715 : cached_has_bits = _impl_._has_bits_[0];
1319 2715 : if (BatchCheckHasBit(cached_has_bits, 0x0000007fU)) {
1320 0 : if (CheckHasBit(cached_has_bits, 0x00000001U)) {
1321 0 : _impl_.name_.ClearNonDefaultToEmpty();
1322 : }
1323 0 : if (CheckHasBit(cached_has_bits, 0x00000002U)) {
1324 0 : _impl_.dielectricname_.ClearNonDefaultToEmpty();
1325 : }
1326 0 : if (CheckHasBit(cached_has_bits, 0x00000004U)) {
1327 0 : _impl_.startname_.ClearNonDefaultToEmpty();
1328 : }
1329 0 : if (CheckHasBit(cached_has_bits, 0x00000008U)) {
1330 0 : _impl_.endname_.ClearNonDefaultToEmpty();
1331 : }
1332 0 : if (CheckHasBit(cached_has_bits, 0x00000010U)) {
1333 0 : _impl_.oldname_.ClearNonDefaultToEmpty();
1334 : }
1335 0 : if (CheckHasBit(cached_has_bits, 0x00000020U)) {
1336 0 : _impl_.addtype_.ClearNonDefaultToEmpty();
1337 : }
1338 0 : if (CheckHasBit(cached_has_bits, 0x00000040U)) {
1339 0 : ABSL_DCHECK(_impl_.color_ != nullptr);
1340 0 : _impl_.color_->Clear();
1341 : }
1342 : }
1343 2715 : _impl_.row_ = 0u;
1344 2715 : if (BatchCheckHasBit(cached_has_bits, 0x0000ff00U)) {
1345 0 : ::memset(&_impl_.context_, 0, static_cast<::size_t>(
1346 : reinterpret_cast<char*>(&_impl_.ref_) -
1347 : reinterpret_cast<char*>(&_impl_.context_)) + sizeof(_impl_.ref_));
1348 : }
1349 2715 : _impl_.id_ = 0u;
1350 2715 : _impl_._has_bits_.Clear();
1351 2715 : _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
1352 2715 : }
1353 :
1354 : #if defined(PROTOBUF_CUSTOM_VTABLE)
1355 : ::uint8_t* PROTOBUF_NONNULL MatrixFile_LayerRecord::_InternalSerialize(
1356 : const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
1357 : ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
1358 : const MatrixFile_LayerRecord& this_ = static_cast<const MatrixFile_LayerRecord&>(base);
1359 : #else // PROTOBUF_CUSTOM_VTABLE
1360 2760 : ::uint8_t* PROTOBUF_NONNULL MatrixFile_LayerRecord::_InternalSerialize(
1361 : ::uint8_t* PROTOBUF_NONNULL target,
1362 : ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
1363 2760 : const MatrixFile_LayerRecord& this_ = *this;
1364 : #endif // PROTOBUF_CUSTOM_VTABLE
1365 : if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
1366 2760 : this_.CheckHasBitConsistency();
1367 : }
1368 : // @@protoc_insertion_point(serialize_to_array_start:Odb.Lib.Protobuf.MatrixFile.LayerRecord)
1369 2760 : ::uint32_t cached_has_bits = 0;
1370 : (void)cached_has_bits;
1371 :
1372 2760 : cached_has_bits = this_._impl_._has_bits_[0];
1373 : // uint32 row = 1;
1374 2760 : if (CheckHasBit(cached_has_bits, 0x00000080U)) {
1375 2760 : if (this_._internal_row() != 0) {
1376 2760 : target = stream->EnsureSpace(target);
1377 2760 : target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
1378 : 1, this_._internal_row(), target);
1379 : }
1380 : }
1381 :
1382 : // .Odb.Lib.Protobuf.MatrixFile.LayerRecord.Context context = 2;
1383 2760 : if (CheckHasBit(cached_has_bits, 0x00000100U)) {
1384 2260 : if (this_._internal_context() != 0) {
1385 139 : target = stream->EnsureSpace(target);
1386 139 : target = ::_pbi::WireFormatLite::WriteEnumToArray(
1387 139 : 2, this_._internal_context(), target);
1388 : }
1389 : }
1390 :
1391 : // .Odb.Lib.Protobuf.MatrixFile.LayerRecord.Type type = 3;
1392 2760 : if (CheckHasBit(cached_has_bits, 0x00000200U)) {
1393 2720 : if (this_._internal_type() != 0) {
1394 2496 : target = stream->EnsureSpace(target);
1395 2496 : target = ::_pbi::WireFormatLite::WriteEnumToArray(
1396 2496 : 3, this_._internal_type(), target);
1397 : }
1398 : }
1399 :
1400 : // string name = 4;
1401 2760 : if (CheckHasBit(cached_has_bits, 0x00000001U)) {
1402 2760 : if (!this_._internal_name().empty()) {
1403 2760 : const ::std::string& _s = this_._internal_name();
1404 5520 : ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
1405 2760 : _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "Odb.Lib.Protobuf.MatrixFile.LayerRecord.name");
1406 2760 : target = stream->WriteStringMaybeAliased(4, _s, target);
1407 : }
1408 : }
1409 :
1410 : // .Odb.Lib.Protobuf.Polarity polarity = 5;
1411 2760 : if (CheckHasBit(cached_has_bits, 0x00000400U)) {
1412 2240 : if (this_._internal_polarity() != 0) {
1413 0 : target = stream->EnsureSpace(target);
1414 0 : target = ::_pbi::WireFormatLite::WriteEnumToArray(
1415 0 : 5, this_._internal_polarity(), target);
1416 : }
1417 : }
1418 :
1419 : // .Odb.Lib.Protobuf.MatrixFile.LayerRecord.DielectricType dielectricType = 6;
1420 2760 : if (CheckHasBit(cached_has_bits, 0x00000800U)) {
1421 2380 : if (this_._internal_dielectrictype() != 0) {
1422 581 : target = stream->EnsureSpace(target);
1423 581 : target = ::_pbi::WireFormatLite::WriteEnumToArray(
1424 581 : 6, this_._internal_dielectrictype(), target);
1425 : }
1426 : }
1427 :
1428 : // string dielectricName = 7;
1429 2760 : if (CheckHasBit(cached_has_bits, 0x00000002U)) {
1430 2240 : if (!this_._internal_dielectricname().empty()) {
1431 0 : const ::std::string& _s = this_._internal_dielectricname();
1432 0 : ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
1433 0 : _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "Odb.Lib.Protobuf.MatrixFile.LayerRecord.dielectricName");
1434 0 : target = stream->WriteStringMaybeAliased(7, _s, target);
1435 : }
1436 : }
1437 :
1438 : // .Odb.Lib.Protobuf.MatrixFile.LayerRecord.Form form = 8;
1439 2760 : if (CheckHasBit(cached_has_bits, 0x00001000U)) {
1440 2240 : if (this_._internal_form() != 0) {
1441 0 : target = stream->EnsureSpace(target);
1442 0 : target = ::_pbi::WireFormatLite::WriteEnumToArray(
1443 0 : 8, this_._internal_form(), target);
1444 : }
1445 : }
1446 :
1447 : // uint32 cuTop = 9;
1448 2760 : if (CheckHasBit(cached_has_bits, 0x00002000U)) {
1449 2760 : if (this_._internal_cutop() != 0) {
1450 2760 : target = stream->EnsureSpace(target);
1451 2760 : target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
1452 : 9, this_._internal_cutop(), target);
1453 : }
1454 : }
1455 :
1456 : // uint32 cuBottom = 10;
1457 2760 : if (CheckHasBit(cached_has_bits, 0x00004000U)) {
1458 2760 : if (this_._internal_cubottom() != 0) {
1459 2760 : target = stream->EnsureSpace(target);
1460 2760 : target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
1461 : 10, this_._internal_cubottom(), target);
1462 : }
1463 : }
1464 :
1465 : // uint32 ref = 11;
1466 2760 : if (CheckHasBit(cached_has_bits, 0x00008000U)) {
1467 2760 : if (this_._internal_ref() != 0) {
1468 2760 : target = stream->EnsureSpace(target);
1469 2760 : target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
1470 : 11, this_._internal_ref(), target);
1471 : }
1472 : }
1473 :
1474 : // string startName = 12;
1475 2760 : if (CheckHasBit(cached_has_bits, 0x00000004U)) {
1476 2260 : if (!this_._internal_startname().empty()) {
1477 181 : const ::std::string& _s = this_._internal_startname();
1478 362 : ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
1479 181 : _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "Odb.Lib.Protobuf.MatrixFile.LayerRecord.startName");
1480 181 : target = stream->WriteStringMaybeAliased(12, _s, target);
1481 : }
1482 : }
1483 :
1484 : // string endName = 13;
1485 2760 : if (CheckHasBit(cached_has_bits, 0x00000008U)) {
1486 2260 : if (!this_._internal_endname().empty()) {
1487 181 : const ::std::string& _s = this_._internal_endname();
1488 362 : ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
1489 181 : _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "Odb.Lib.Protobuf.MatrixFile.LayerRecord.endName");
1490 181 : target = stream->WriteStringMaybeAliased(13, _s, target);
1491 : }
1492 : }
1493 :
1494 : // string oldName = 14;
1495 2760 : if (CheckHasBit(cached_has_bits, 0x00000010U)) {
1496 2240 : if (!this_._internal_oldname().empty()) {
1497 0 : const ::std::string& _s = this_._internal_oldname();
1498 0 : ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
1499 0 : _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "Odb.Lib.Protobuf.MatrixFile.LayerRecord.oldName");
1500 0 : target = stream->WriteStringMaybeAliased(14, _s, target);
1501 : }
1502 : }
1503 :
1504 : // string addType = 15;
1505 2760 : if (CheckHasBit(cached_has_bits, 0x00000020U)) {
1506 2240 : if (!this_._internal_addtype().empty()) {
1507 112 : const ::std::string& _s = this_._internal_addtype();
1508 224 : ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
1509 112 : _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "Odb.Lib.Protobuf.MatrixFile.LayerRecord.addType");
1510 112 : target = stream->WriteStringMaybeAliased(15, _s, target);
1511 : }
1512 : }
1513 :
1514 : // uint32 id = 17;
1515 2760 : if (CheckHasBit(cached_has_bits, 0x00010000U)) {
1516 2760 : if (this_._internal_id() != 0) {
1517 2760 : target = stream->EnsureSpace(target);
1518 2760 : target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
1519 : 17, this_._internal_id(), target);
1520 : }
1521 : }
1522 :
1523 : // .Odb.Lib.Protobuf.RgbColor color = 18;
1524 2760 : if (CheckHasBit(cached_has_bits, 0x00000040U)) {
1525 2760 : target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
1526 2760 : 18, *this_._impl_.color_, this_._impl_.color_->GetCachedSize(), target,
1527 : stream);
1528 : }
1529 :
1530 2760 : if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
1531 : target =
1532 0 : ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
1533 : this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
1534 : }
1535 : // @@protoc_insertion_point(serialize_to_array_end:Odb.Lib.Protobuf.MatrixFile.LayerRecord)
1536 2760 : return target;
1537 : }
1538 :
1539 : #if defined(PROTOBUF_CUSTOM_VTABLE)
1540 : ::size_t MatrixFile_LayerRecord::ByteSizeLong(const MessageLite& base) {
1541 : const MatrixFile_LayerRecord& this_ = static_cast<const MatrixFile_LayerRecord&>(base);
1542 : #else // PROTOBUF_CUSTOM_VTABLE
1543 3626 : ::size_t MatrixFile_LayerRecord::ByteSizeLong() const {
1544 3626 : const MatrixFile_LayerRecord& this_ = *this;
1545 : #endif // PROTOBUF_CUSTOM_VTABLE
1546 : // @@protoc_insertion_point(message_byte_size_start:Odb.Lib.Protobuf.MatrixFile.LayerRecord)
1547 3626 : ::size_t total_size = 0;
1548 :
1549 3626 : ::uint32_t cached_has_bits = 0;
1550 : // Prevent compiler warnings about cached_has_bits being unused
1551 : (void)cached_has_bits;
1552 :
1553 : ::_pbi::Prefetch5LinesFrom7Lines(&this_);
1554 3626 : cached_has_bits = this_._impl_._has_bits_[0];
1555 3626 : if (BatchCheckHasBit(cached_has_bits, 0x000000ffU)) {
1556 : // string name = 4;
1557 3626 : if (CheckHasBit(cached_has_bits, 0x00000001U)) {
1558 3626 : if (!this_._internal_name().empty()) {
1559 3626 : total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
1560 : this_._internal_name());
1561 : }
1562 : }
1563 : // string dielectricName = 7;
1564 3626 : if (CheckHasBit(cached_has_bits, 0x00000002U)) {
1565 3080 : if (!this_._internal_dielectricname().empty()) {
1566 0 : total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
1567 : this_._internal_dielectricname());
1568 : }
1569 : }
1570 : // string startName = 12;
1571 3626 : if (CheckHasBit(cached_has_bits, 0x00000004U)) {
1572 3101 : if (!this_._internal_startname().empty()) {
1573 225 : total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
1574 : this_._internal_startname());
1575 : }
1576 : }
1577 : // string endName = 13;
1578 3626 : if (CheckHasBit(cached_has_bits, 0x00000008U)) {
1579 3101 : if (!this_._internal_endname().empty()) {
1580 225 : total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
1581 : this_._internal_endname());
1582 : }
1583 : }
1584 : // string oldName = 14;
1585 3626 : if (CheckHasBit(cached_has_bits, 0x00000010U)) {
1586 3080 : if (!this_._internal_oldname().empty()) {
1587 0 : total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
1588 : this_._internal_oldname());
1589 : }
1590 : }
1591 : // string addType = 15;
1592 3626 : if (CheckHasBit(cached_has_bits, 0x00000020U)) {
1593 3080 : if (!this_._internal_addtype().empty()) {
1594 128 : total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
1595 : this_._internal_addtype());
1596 : }
1597 : }
1598 : // .Odb.Lib.Protobuf.RgbColor color = 18;
1599 3626 : if (CheckHasBit(cached_has_bits, 0x00000040U)) {
1600 3626 : total_size += 2 +
1601 3626 : ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.color_);
1602 : }
1603 : // uint32 row = 1;
1604 3626 : if (CheckHasBit(cached_has_bits, 0x00000080U)) {
1605 3626 : if (this_._internal_row() != 0) {
1606 3626 : total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
1607 : this_._internal_row());
1608 : }
1609 : }
1610 : }
1611 3626 : if (BatchCheckHasBit(cached_has_bits, 0x0000ff00U)) {
1612 : // .Odb.Lib.Protobuf.MatrixFile.LayerRecord.Context context = 2;
1613 3626 : if (CheckHasBit(cached_has_bits, 0x00000100U)) {
1614 3101 : if (this_._internal_context() != 0) {
1615 177 : total_size += 1 +
1616 177 : ::_pbi::WireFormatLite::EnumSize(this_._internal_context());
1617 : }
1618 : }
1619 : // .Odb.Lib.Protobuf.MatrixFile.LayerRecord.Type type = 3;
1620 3626 : if (CheckHasBit(cached_has_bits, 0x00000200U)) {
1621 3584 : if (this_._internal_type() != 0) {
1622 3288 : total_size += 1 +
1623 3288 : ::_pbi::WireFormatLite::EnumSize(this_._internal_type());
1624 : }
1625 : }
1626 : // .Odb.Lib.Protobuf.Polarity polarity = 5;
1627 3626 : if (CheckHasBit(cached_has_bits, 0x00000400U)) {
1628 3080 : if (this_._internal_polarity() != 0) {
1629 0 : total_size += 1 +
1630 0 : ::_pbi::WireFormatLite::EnumSize(this_._internal_polarity());
1631 : }
1632 : }
1633 : // .Odb.Lib.Protobuf.MatrixFile.LayerRecord.DielectricType dielectricType = 6;
1634 3626 : if (CheckHasBit(cached_has_bits, 0x00000800U)) {
1635 3227 : if (this_._internal_dielectrictype() != 0) {
1636 791 : total_size += 1 +
1637 791 : ::_pbi::WireFormatLite::EnumSize(this_._internal_dielectrictype());
1638 : }
1639 : }
1640 : // .Odb.Lib.Protobuf.MatrixFile.LayerRecord.Form form = 8;
1641 3626 : if (CheckHasBit(cached_has_bits, 0x00001000U)) {
1642 3080 : if (this_._internal_form() != 0) {
1643 0 : total_size += 1 +
1644 0 : ::_pbi::WireFormatLite::EnumSize(this_._internal_form());
1645 : }
1646 : }
1647 : // uint32 cuTop = 9;
1648 3626 : if (CheckHasBit(cached_has_bits, 0x00002000U)) {
1649 3626 : if (this_._internal_cutop() != 0) {
1650 3626 : total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
1651 : this_._internal_cutop());
1652 : }
1653 : }
1654 : // uint32 cuBottom = 10;
1655 3626 : if (CheckHasBit(cached_has_bits, 0x00004000U)) {
1656 3626 : if (this_._internal_cubottom() != 0) {
1657 3626 : total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
1658 : this_._internal_cubottom());
1659 : }
1660 : }
1661 : // uint32 ref = 11;
1662 3626 : if (CheckHasBit(cached_has_bits, 0x00008000U)) {
1663 3626 : if (this_._internal_ref() != 0) {
1664 3626 : total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
1665 : this_._internal_ref());
1666 : }
1667 : }
1668 : }
1669 : {
1670 : // uint32 id = 17;
1671 3626 : if (CheckHasBit(cached_has_bits, 0x00010000U)) {
1672 3626 : if (this_._internal_id() != 0) {
1673 3626 : total_size += 2 + ::_pbi::WireFormatLite::UInt32Size(
1674 : this_._internal_id());
1675 : }
1676 : }
1677 : }
1678 3626 : return this_.MaybeComputeUnknownFieldsSize(total_size,
1679 3626 : &this_._impl_._cached_size_);
1680 : }
1681 :
1682 2715 : void MatrixFile_LayerRecord::MergeImpl(::google::protobuf::MessageLite& to_msg,
1683 : const ::google::protobuf::MessageLite& from_msg) {
1684 2715 : auto* const _this =
1685 : static_cast<MatrixFile_LayerRecord*>(&to_msg);
1686 2715 : auto& from = static_cast<const MatrixFile_LayerRecord&>(from_msg);
1687 : if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
1688 2715 : from.CheckHasBitConsistency();
1689 : }
1690 2715 : ::google::protobuf::Arena* arena = _this->GetArena();
1691 : // @@protoc_insertion_point(class_specific_merge_from_start:Odb.Lib.Protobuf.MatrixFile.LayerRecord)
1692 2715 : ABSL_DCHECK_NE(&from, _this);
1693 2715 : ::uint32_t cached_has_bits = 0;
1694 : (void)cached_has_bits;
1695 :
1696 2715 : cached_has_bits = from._impl_._has_bits_[0];
1697 2715 : if (BatchCheckHasBit(cached_has_bits, 0x000000ffU)) {
1698 2715 : if (CheckHasBit(cached_has_bits, 0x00000001U)) {
1699 2715 : if (!from._internal_name().empty()) {
1700 2715 : _this->_internal_set_name(from._internal_name());
1701 : } else {
1702 0 : if (_this->_impl_.name_.IsDefault()) {
1703 0 : _this->_internal_set_name("");
1704 : }
1705 : }
1706 : }
1707 2715 : if (CheckHasBit(cached_has_bits, 0x00000002U)) {
1708 2715 : if (!from._internal_dielectricname().empty()) {
1709 0 : _this->_internal_set_dielectricname(from._internal_dielectricname());
1710 : } else {
1711 2715 : if (_this->_impl_.dielectricname_.IsDefault()) {
1712 10860 : _this->_internal_set_dielectricname("");
1713 : }
1714 : }
1715 : }
1716 2715 : if (CheckHasBit(cached_has_bits, 0x00000004U)) {
1717 2715 : if (!from._internal_startname().empty()) {
1718 206 : _this->_internal_set_startname(from._internal_startname());
1719 : } else {
1720 2509 : if (_this->_impl_.startname_.IsDefault()) {
1721 10036 : _this->_internal_set_startname("");
1722 : }
1723 : }
1724 : }
1725 2715 : if (CheckHasBit(cached_has_bits, 0x00000008U)) {
1726 2715 : if (!from._internal_endname().empty()) {
1727 206 : _this->_internal_set_endname(from._internal_endname());
1728 : } else {
1729 2509 : if (_this->_impl_.endname_.IsDefault()) {
1730 10036 : _this->_internal_set_endname("");
1731 : }
1732 : }
1733 : }
1734 2715 : if (CheckHasBit(cached_has_bits, 0x00000010U)) {
1735 2715 : if (!from._internal_oldname().empty()) {
1736 0 : _this->_internal_set_oldname(from._internal_oldname());
1737 : } else {
1738 2715 : if (_this->_impl_.oldname_.IsDefault()) {
1739 10860 : _this->_internal_set_oldname("");
1740 : }
1741 : }
1742 : }
1743 2715 : if (CheckHasBit(cached_has_bits, 0x00000020U)) {
1744 2715 : if (!from._internal_addtype().empty()) {
1745 152 : _this->_internal_set_addtype(from._internal_addtype());
1746 : } else {
1747 2563 : if (_this->_impl_.addtype_.IsDefault()) {
1748 10252 : _this->_internal_set_addtype("");
1749 : }
1750 : }
1751 : }
1752 2715 : if (CheckHasBit(cached_has_bits, 0x00000040U)) {
1753 2715 : ABSL_DCHECK(from._impl_.color_ != nullptr);
1754 2715 : if (_this->_impl_.color_ == nullptr) {
1755 5430 : _this->_impl_.color_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.color_);
1756 : } else {
1757 0 : _this->_impl_.color_->MergeFrom(*from._impl_.color_);
1758 : }
1759 : }
1760 2715 : if (CheckHasBit(cached_has_bits, 0x00000080U)) {
1761 2715 : if (from._internal_row() != 0) {
1762 2715 : _this->_impl_.row_ = from._impl_.row_;
1763 : }
1764 : }
1765 : }
1766 2715 : if (BatchCheckHasBit(cached_has_bits, 0x0000ff00U)) {
1767 2715 : if (CheckHasBit(cached_has_bits, 0x00000100U)) {
1768 2715 : if (from._internal_context() != 0) {
1769 149 : _this->_impl_.context_ = from._impl_.context_;
1770 : }
1771 : }
1772 2715 : if (CheckHasBit(cached_has_bits, 0x00000200U)) {
1773 2715 : if (from._internal_type() != 0) {
1774 2436 : _this->_impl_.type_ = from._impl_.type_;
1775 : }
1776 : }
1777 2715 : if (CheckHasBit(cached_has_bits, 0x00000400U)) {
1778 2715 : if (from._internal_polarity() != 0) {
1779 0 : _this->_impl_.polarity_ = from._impl_.polarity_;
1780 : }
1781 : }
1782 2715 : if (CheckHasBit(cached_has_bits, 0x00000800U)) {
1783 2715 : if (from._internal_dielectrictype() != 0) {
1784 511 : _this->_impl_.dielectrictype_ = from._impl_.dielectrictype_;
1785 : }
1786 : }
1787 2715 : if (CheckHasBit(cached_has_bits, 0x00001000U)) {
1788 2715 : if (from._internal_form() != 0) {
1789 0 : _this->_impl_.form_ = from._impl_.form_;
1790 : }
1791 : }
1792 2715 : if (CheckHasBit(cached_has_bits, 0x00002000U)) {
1793 2715 : if (from._internal_cutop() != 0) {
1794 2715 : _this->_impl_.cutop_ = from._impl_.cutop_;
1795 : }
1796 : }
1797 2715 : if (CheckHasBit(cached_has_bits, 0x00004000U)) {
1798 2715 : if (from._internal_cubottom() != 0) {
1799 2715 : _this->_impl_.cubottom_ = from._impl_.cubottom_;
1800 : }
1801 : }
1802 2715 : if (CheckHasBit(cached_has_bits, 0x00008000U)) {
1803 2715 : if (from._internal_ref() != 0) {
1804 2715 : _this->_impl_.ref_ = from._impl_.ref_;
1805 : }
1806 : }
1807 : }
1808 2715 : if (CheckHasBit(cached_has_bits, 0x00010000U)) {
1809 2715 : if (from._internal_id() != 0) {
1810 2715 : _this->_impl_.id_ = from._impl_.id_;
1811 : }
1812 : }
1813 2715 : _this->_impl_._has_bits_[0] |= cached_has_bits;
1814 2715 : _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
1815 2715 : from._internal_metadata_);
1816 2715 : }
1817 :
1818 2715 : void MatrixFile_LayerRecord::CopyFrom(const MatrixFile_LayerRecord& from) {
1819 : // @@protoc_insertion_point(class_specific_copy_from_start:Odb.Lib.Protobuf.MatrixFile.LayerRecord)
1820 2715 : if (&from == this) return;
1821 2715 : Clear();
1822 2715 : MergeFrom(from);
1823 : }
1824 :
1825 :
1826 0 : void MatrixFile_LayerRecord::InternalSwap(MatrixFile_LayerRecord* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
1827 : using ::std::swap;
1828 0 : auto* arena = GetArena();
1829 0 : ABSL_DCHECK_EQ(arena, other->GetArena());
1830 0 : _internal_metadata_.InternalSwap(&other->_internal_metadata_);
1831 0 : swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
1832 0 : ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.name_, &other->_impl_.name_, arena);
1833 0 : ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.dielectricname_, &other->_impl_.dielectricname_, arena);
1834 0 : ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.startname_, &other->_impl_.startname_, arena);
1835 0 : ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.endname_, &other->_impl_.endname_, arena);
1836 0 : ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.oldname_, &other->_impl_.oldname_, arena);
1837 0 : ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.addtype_, &other->_impl_.addtype_, arena);
1838 : ::google::protobuf::internal::memswap<
1839 : PROTOBUF_FIELD_OFFSET(MatrixFile_LayerRecord, _impl_.id_)
1840 : + sizeof(MatrixFile_LayerRecord::_impl_.id_)
1841 0 : - PROTOBUF_FIELD_OFFSET(MatrixFile_LayerRecord, _impl_.color_)>(
1842 0 : reinterpret_cast<char*>(&_impl_.color_),
1843 0 : reinterpret_cast<char*>(&other->_impl_.color_));
1844 0 : }
1845 :
1846 0 : ::google::protobuf::Metadata MatrixFile_LayerRecord::GetMetadata() const {
1847 0 : return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
1848 : }
1849 : // ===================================================================
1850 :
1851 : class MatrixFile::_Internal {
1852 : public:
1853 : using HasBits =
1854 : decltype(::std::declval<MatrixFile>()._impl_._has_bits_);
1855 : static constexpr ::int32_t kHasBitsOffset =
1856 : 8 * PROTOBUF_FIELD_OFFSET(MatrixFile, _impl_._has_bits_);
1857 : };
1858 :
1859 216 : MatrixFile::MatrixFile(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
1860 : #if defined(PROTOBUF_CUSTOM_VTABLE)
1861 : : ::google::protobuf::Message(arena, MatrixFile_class_data_.base()) {
1862 : #else // PROTOBUF_CUSTOM_VTABLE
1863 216 : : ::google::protobuf::Message(arena) {
1864 : #endif // PROTOBUF_CUSTOM_VTABLE
1865 216 : SharedCtor(arena);
1866 : // @@protoc_insertion_point(arena_constructor:Odb.Lib.Protobuf.MatrixFile)
1867 216 : }
1868 107 : PROTOBUF_NDEBUG_INLINE MatrixFile::Impl_::Impl_(
1869 : [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
1870 : [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
1871 107 : [[maybe_unused]] const ::Odb::Lib::Protobuf::MatrixFile& from_msg)
1872 107 : : _has_bits_{from._has_bits_},
1873 107 : _cached_size_{0},
1874 107 : steps_{visibility, arena, from.steps_},
1875 107 : layers_{visibility, arena, from.layers_} {}
1876 :
1877 107 : MatrixFile::MatrixFile(
1878 : ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
1879 107 : const MatrixFile& from)
1880 : #if defined(PROTOBUF_CUSTOM_VTABLE)
1881 : : ::google::protobuf::Message(arena, MatrixFile_class_data_.base()) {
1882 : #else // PROTOBUF_CUSTOM_VTABLE
1883 107 : : ::google::protobuf::Message(arena) {
1884 : #endif // PROTOBUF_CUSTOM_VTABLE
1885 107 : MatrixFile* const _this = this;
1886 : (void)_this;
1887 107 : _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
1888 107 : from._internal_metadata_);
1889 107 : new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
1890 :
1891 : // @@protoc_insertion_point(copy_constructor:Odb.Lib.Protobuf.MatrixFile)
1892 107 : }
1893 216 : PROTOBUF_NDEBUG_INLINE MatrixFile::Impl_::Impl_(
1894 : [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
1895 216 : [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
1896 216 : : _cached_size_{0},
1897 216 : steps_{visibility, arena},
1898 432 : layers_{visibility, arena} {}
1899 :
1900 216 : inline void MatrixFile::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
1901 216 : new (&_impl_) Impl_(internal_visibility(), arena);
1902 216 : }
1903 646 : MatrixFile::~MatrixFile() {
1904 : // @@protoc_insertion_point(destructor:Odb.Lib.Protobuf.MatrixFile)
1905 323 : SharedDtor(*this);
1906 646 : }
1907 323 : inline void MatrixFile::SharedDtor(MessageLite& self) {
1908 323 : MatrixFile& this_ = static_cast<MatrixFile&>(self);
1909 : if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
1910 323 : this_.CheckHasBitConsistency();
1911 : }
1912 323 : this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
1913 323 : ABSL_DCHECK(this_.GetArena() == nullptr);
1914 323 : this_._impl_.~Impl_();
1915 323 : }
1916 :
1917 25 : inline void* PROTOBUF_NONNULL MatrixFile::PlacementNew_(
1918 : const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
1919 : ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
1920 25 : return ::new (mem) MatrixFile(arena);
1921 : }
1922 : constexpr auto MatrixFile::InternalNewImpl_() {
1923 : constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({
1924 : PROTOBUF_FIELD_OFFSET(MatrixFile, _impl_.steps_) +
1925 : decltype(MatrixFile::_impl_.steps_)::
1926 : InternalGetArenaOffset(
1927 : ::google::protobuf::Message::internal_visibility()),
1928 : PROTOBUF_FIELD_OFFSET(MatrixFile, _impl_.layers_) +
1929 : decltype(MatrixFile::_impl_.layers_)::
1930 : InternalGetArenaOffset(
1931 : ::google::protobuf::Message::internal_visibility()),
1932 : });
1933 : if (arena_bits.has_value()) {
1934 : return ::google::protobuf::internal::MessageCreator::ZeroInit(
1935 : sizeof(MatrixFile), alignof(MatrixFile), *arena_bits);
1936 : } else {
1937 : return ::google::protobuf::internal::MessageCreator(&MatrixFile::PlacementNew_,
1938 : sizeof(MatrixFile),
1939 : alignof(MatrixFile));
1940 : }
1941 : }
1942 : constexpr auto MatrixFile::InternalGenerateClassData_() {
1943 : return ::google::protobuf::internal::ClassDataFull{
1944 : ::google::protobuf::internal::ClassData{
1945 : &_MatrixFile_default_instance_._instance,
1946 : &_table_.header,
1947 : nullptr, // OnDemandRegisterArenaDtor
1948 : nullptr, // IsInitialized
1949 : &MatrixFile::MergeImpl,
1950 : ::google::protobuf::Message::GetNewImpl<MatrixFile>(),
1951 : #if defined(PROTOBUF_CUSTOM_VTABLE)
1952 : &MatrixFile::SharedDtor,
1953 : ::google::protobuf::Message::GetClearImpl<MatrixFile>(), &MatrixFile::ByteSizeLong,
1954 : &MatrixFile::_InternalSerialize,
1955 : #endif // PROTOBUF_CUSTOM_VTABLE
1956 : PROTOBUF_FIELD_OFFSET(MatrixFile, _impl_._cached_size_),
1957 : false,
1958 : },
1959 : &MatrixFile::kDescriptorMethods,
1960 : &descriptor_table_matrixfile_2eproto,
1961 : nullptr, // tracker
1962 : };
1963 : }
1964 :
1965 : PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
1966 : ::google::protobuf::internal::ClassDataFull MatrixFile_class_data_ =
1967 : MatrixFile::InternalGenerateClassData_();
1968 :
1969 : PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
1970 5855 : MatrixFile::GetClassData() const {
1971 5855 : ::google::protobuf::internal::PrefetchToLocalCache(&MatrixFile_class_data_);
1972 5855 : ::google::protobuf::internal::PrefetchToLocalCache(MatrixFile_class_data_.tc_table);
1973 5855 : return MatrixFile_class_data_.base();
1974 : }
1975 : PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
1976 : const ::_pbi::TcParseTable<1, 2, 2, 0, 2>
1977 : MatrixFile::_table_ = {
1978 : {
1979 : PROTOBUF_FIELD_OFFSET(MatrixFile, _impl_._has_bits_),
1980 : 0, // no _extensions_
1981 : 2, 8, // max_field_number, fast_idx_mask
1982 : offsetof(decltype(_table_), field_lookup_table),
1983 : 4294967292, // skipmap
1984 : offsetof(decltype(_table_), field_entries),
1985 : 2, // num_field_entries
1986 : 2, // num_aux_entries
1987 : offsetof(decltype(_table_), aux_entries),
1988 : MatrixFile_class_data_.base(),
1989 : nullptr, // post_loop_handler
1990 : ::_pbi::TcParser::GenericFallback, // fallback
1991 : #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
1992 : ::_pbi::TcParser::GetTable<::Odb::Lib::Protobuf::MatrixFile>(), // to_prefetch
1993 : #endif // PROTOBUF_PREFETCH_PARSE_TABLE
1994 : }, {{
1995 : // repeated .Odb.Lib.Protobuf.MatrixFile.LayerRecord layers = 2;
1996 : {::_pbi::TcParser::FastMtR1,
1997 : {18, 1, 1,
1998 : PROTOBUF_FIELD_OFFSET(MatrixFile, _impl_.layers_)}},
1999 : // repeated .Odb.Lib.Protobuf.MatrixFile.StepRecord steps = 1;
2000 : {::_pbi::TcParser::FastMtR1,
2001 : {10, 0, 0,
2002 : PROTOBUF_FIELD_OFFSET(MatrixFile, _impl_.steps_)}},
2003 : }}, {{
2004 : 65535, 65535
2005 : }}, {{
2006 : // repeated .Odb.Lib.Protobuf.MatrixFile.StepRecord steps = 1;
2007 : {PROTOBUF_FIELD_OFFSET(MatrixFile, _impl_.steps_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
2008 : // repeated .Odb.Lib.Protobuf.MatrixFile.LayerRecord layers = 2;
2009 : {PROTOBUF_FIELD_OFFSET(MatrixFile, _impl_.layers_), _Internal::kHasBitsOffset + 1, 1, (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
2010 : }},
2011 : {{
2012 : {::_pbi::TcParser::GetTable<::Odb::Lib::Protobuf::MatrixFile_StepRecord>()},
2013 : {::_pbi::TcParser::GetTable<::Odb::Lib::Protobuf::MatrixFile_LayerRecord>()},
2014 : }},
2015 : {{
2016 : }},
2017 : };
2018 95 : PROTOBUF_NOINLINE void MatrixFile::Clear() {
2019 : // @@protoc_insertion_point(message_clear_start:Odb.Lib.Protobuf.MatrixFile)
2020 95 : ::google::protobuf::internal::TSanWrite(&_impl_);
2021 95 : ::uint32_t cached_has_bits = 0;
2022 : // Prevent compiler warnings about cached_has_bits being unused
2023 : (void) cached_has_bits;
2024 :
2025 95 : cached_has_bits = _impl_._has_bits_[0];
2026 95 : if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
2027 0 : if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
2028 0 : _impl_.steps_.Clear();
2029 : }
2030 0 : if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) {
2031 0 : _impl_.layers_.Clear();
2032 : }
2033 : }
2034 95 : _impl_._has_bits_.Clear();
2035 95 : _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
2036 95 : }
2037 :
2038 : #if defined(PROTOBUF_CUSTOM_VTABLE)
2039 : ::uint8_t* PROTOBUF_NONNULL MatrixFile::_InternalSerialize(
2040 : const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
2041 : ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
2042 : const MatrixFile& this_ = static_cast<const MatrixFile&>(base);
2043 : #else // PROTOBUF_CUSTOM_VTABLE
2044 101 : ::uint8_t* PROTOBUF_NONNULL MatrixFile::_InternalSerialize(
2045 : ::uint8_t* PROTOBUF_NONNULL target,
2046 : ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
2047 101 : const MatrixFile& this_ = *this;
2048 : #endif // PROTOBUF_CUSTOM_VTABLE
2049 : if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
2050 101 : this_.CheckHasBitConsistency();
2051 : }
2052 : // @@protoc_insertion_point(serialize_to_array_start:Odb.Lib.Protobuf.MatrixFile)
2053 101 : ::uint32_t cached_has_bits = 0;
2054 : (void)cached_has_bits;
2055 :
2056 101 : cached_has_bits = this_._impl_._has_bits_[0];
2057 : // repeated .Odb.Lib.Protobuf.MatrixFile.StepRecord steps = 1;
2058 101 : if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
2059 291 : for (unsigned i = 0, n = static_cast<unsigned>(
2060 97 : this_._internal_steps_size());
2061 194 : i < n; i++) {
2062 97 : const auto& repfield = this_._internal_steps().Get(i);
2063 : target =
2064 97 : ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
2065 : 1, repfield, repfield.GetCachedSize(),
2066 : target, stream);
2067 : }
2068 : }
2069 :
2070 : // repeated .Odb.Lib.Protobuf.MatrixFile.LayerRecord layers = 2;
2071 101 : if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) {
2072 2954 : for (unsigned i = 0, n = static_cast<unsigned>(
2073 97 : this_._internal_layers_size());
2074 2857 : i < n; i++) {
2075 2760 : const auto& repfield = this_._internal_layers().Get(i);
2076 : target =
2077 2760 : ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
2078 : 2, repfield, repfield.GetCachedSize(),
2079 : target, stream);
2080 : }
2081 : }
2082 :
2083 101 : if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
2084 : target =
2085 0 : ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
2086 : this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
2087 : }
2088 : // @@protoc_insertion_point(serialize_to_array_end:Odb.Lib.Protobuf.MatrixFile)
2089 101 : return target;
2090 : }
2091 :
2092 : #if defined(PROTOBUF_CUSTOM_VTABLE)
2093 : ::size_t MatrixFile::ByteSizeLong(const MessageLite& base) {
2094 : const MatrixFile& this_ = static_cast<const MatrixFile&>(base);
2095 : #else // PROTOBUF_CUSTOM_VTABLE
2096 135 : ::size_t MatrixFile::ByteSizeLong() const {
2097 135 : const MatrixFile& this_ = *this;
2098 : #endif // PROTOBUF_CUSTOM_VTABLE
2099 : // @@protoc_insertion_point(message_byte_size_start:Odb.Lib.Protobuf.MatrixFile)
2100 135 : ::size_t total_size = 0;
2101 :
2102 135 : ::uint32_t cached_has_bits = 0;
2103 : // Prevent compiler warnings about cached_has_bits being unused
2104 : (void)cached_has_bits;
2105 :
2106 : ::_pbi::Prefetch5LinesFrom7Lines(&this_);
2107 135 : cached_has_bits = this_._impl_._has_bits_[0];
2108 135 : if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
2109 : // repeated .Odb.Lib.Protobuf.MatrixFile.StepRecord steps = 1;
2110 129 : if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
2111 129 : total_size += 1UL * this_._internal_steps_size();
2112 258 : for (const auto& msg : this_._internal_steps()) {
2113 129 : total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
2114 : }
2115 : }
2116 : // repeated .Odb.Lib.Protobuf.MatrixFile.LayerRecord layers = 2;
2117 129 : if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) {
2118 129 : total_size += 1UL * this_._internal_layers_size();
2119 3755 : for (const auto& msg : this_._internal_layers()) {
2120 3626 : total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
2121 : }
2122 : }
2123 : }
2124 135 : return this_.MaybeComputeUnknownFieldsSize(total_size,
2125 135 : &this_._impl_._cached_size_);
2126 : }
2127 :
2128 95 : void MatrixFile::MergeImpl(::google::protobuf::MessageLite& to_msg,
2129 : const ::google::protobuf::MessageLite& from_msg) {
2130 95 : auto* const _this =
2131 : static_cast<MatrixFile*>(&to_msg);
2132 95 : auto& from = static_cast<const MatrixFile&>(from_msg);
2133 : if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
2134 95 : from.CheckHasBitConsistency();
2135 : }
2136 95 : ::google::protobuf::Arena* arena = _this->GetArena();
2137 : // @@protoc_insertion_point(class_specific_merge_from_start:Odb.Lib.Protobuf.MatrixFile)
2138 95 : ABSL_DCHECK_NE(&from, _this);
2139 95 : ::uint32_t cached_has_bits = 0;
2140 : (void)cached_has_bits;
2141 :
2142 95 : cached_has_bits = from._impl_._has_bits_[0];
2143 95 : if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
2144 91 : if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
2145 182 : _this->_internal_mutable_steps()->InternalMergeFromWithArena(
2146 91 : ::google::protobuf::MessageLite::internal_visibility(), arena,
2147 : from._internal_steps());
2148 : }
2149 91 : if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) {
2150 182 : _this->_internal_mutable_layers()->InternalMergeFromWithArena(
2151 91 : ::google::protobuf::MessageLite::internal_visibility(), arena,
2152 : from._internal_layers());
2153 : }
2154 : }
2155 95 : _this->_impl_._has_bits_[0] |= cached_has_bits;
2156 95 : _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
2157 95 : from._internal_metadata_);
2158 95 : }
2159 :
2160 95 : void MatrixFile::CopyFrom(const MatrixFile& from) {
2161 : // @@protoc_insertion_point(class_specific_copy_from_start:Odb.Lib.Protobuf.MatrixFile)
2162 95 : if (&from == this) return;
2163 95 : Clear();
2164 95 : MergeFrom(from);
2165 : }
2166 :
2167 :
2168 0 : void MatrixFile::InternalSwap(MatrixFile* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
2169 : using ::std::swap;
2170 0 : _internal_metadata_.InternalSwap(&other->_internal_metadata_);
2171 0 : swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
2172 0 : _impl_.steps_.InternalSwap(&other->_impl_.steps_);
2173 0 : _impl_.layers_.InternalSwap(&other->_impl_.layers_);
2174 0 : }
2175 :
2176 0 : ::google::protobuf::Metadata MatrixFile::GetMetadata() const {
2177 0 : return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
2178 : }
2179 : // @@protoc_insertion_point(namespace_scope)
2180 : } // namespace Protobuf
2181 : } // namespace Lib
2182 : } // namespace Odb
2183 : namespace google {
2184 : namespace protobuf {
2185 : } // namespace protobuf
2186 : } // namespace google
2187 : // @@protoc_insertion_point(global_scope)
2188 : PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 static ::std::false_type
2189 : _static_init2_ [[maybe_unused]] =
2190 : (::_pbi::AddDescriptors(&descriptor_table_matrixfile_2eproto),
2191 : ::std::false_type{});
2192 : #include "google/protobuf/port_undef.inc"
|