Line data Source code
1 : // Generated by the protocol buffer compiler. DO NOT EDIT!
2 : // NO CHECKED-IN PROTOBUF GENCODE
3 : // source: common.proto
4 : // Protobuf C++ Version: 6.33.4
5 :
6 : #include "common.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 PropertyRecord::Impl_::Impl_(
32 : ::_pbi::ConstantInitialized) noexcept
33 : : _cached_size_{0},
34 : floatvalues_{},
35 : name_(
36 : &::google::protobuf::internal::fixed_address_empty_string,
37 : ::_pbi::ConstantInitialized()),
38 : value_(
39 : &::google::protobuf::internal::fixed_address_empty_string,
40 : ::_pbi::ConstantInitialized()) {}
41 :
42 : template <typename>
43 : PROTOBUF_CONSTEXPR PropertyRecord::PropertyRecord(::_pbi::ConstantInitialized)
44 : #if defined(PROTOBUF_CUSTOM_VTABLE)
45 : : ::google::protobuf::Message(PropertyRecord_class_data_.base()),
46 : #else // PROTOBUF_CUSTOM_VTABLE
47 : : ::google::protobuf::Message(),
48 : #endif // PROTOBUF_CUSTOM_VTABLE
49 : _impl_(::_pbi::ConstantInitialized()) {
50 : }
51 : struct PropertyRecordDefaultTypeInternal {
52 : PROTOBUF_CONSTEXPR PropertyRecordDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
53 319 : ~PropertyRecordDefaultTypeInternal() {}
54 : union {
55 : PropertyRecord _instance;
56 : };
57 : };
58 :
59 : PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT ODBDESIGN_EXPORT
60 : PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 PropertyRecordDefaultTypeInternal _PropertyRecord_default_instance_;
61 :
62 : inline constexpr ContourPolygon_PolygonPart::Impl_::Impl_(
63 : ::_pbi::ConstantInitialized) noexcept
64 : : _cached_size_{0},
65 : endx_{0},
66 : endy_{0},
67 : type_{static_cast< ::Odb::Lib::Protobuf::ContourPolygon_PolygonPart_Type >(0)},
68 : isclockwise_{false},
69 : xcenter_{0},
70 : ycenter_{0} {}
71 :
72 : template <typename>
73 : PROTOBUF_CONSTEXPR ContourPolygon_PolygonPart::ContourPolygon_PolygonPart(::_pbi::ConstantInitialized)
74 : #if defined(PROTOBUF_CUSTOM_VTABLE)
75 : : ::google::protobuf::Message(ContourPolygon_PolygonPart_class_data_.base()),
76 : #else // PROTOBUF_CUSTOM_VTABLE
77 : : ::google::protobuf::Message(),
78 : #endif // PROTOBUF_CUSTOM_VTABLE
79 : _impl_(::_pbi::ConstantInitialized()) {
80 : }
81 : struct ContourPolygon_PolygonPartDefaultTypeInternal {
82 : PROTOBUF_CONSTEXPR ContourPolygon_PolygonPartDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
83 319 : ~ContourPolygon_PolygonPartDefaultTypeInternal() {}
84 : union {
85 : ContourPolygon_PolygonPart _instance;
86 : };
87 : };
88 :
89 : PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT ODBDESIGN_EXPORT
90 : PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ContourPolygon_PolygonPartDefaultTypeInternal _ContourPolygon_PolygonPart_default_instance_;
91 :
92 : inline constexpr ContourPolygon::Impl_::Impl_(
93 : ::_pbi::ConstantInitialized) noexcept
94 : : _cached_size_{0},
95 : polygonparts_{},
96 : xstart_{0},
97 : ystart_{0},
98 : type_{static_cast< ::Odb::Lib::Protobuf::ContourPolygon_Type >(0)} {}
99 :
100 : template <typename>
101 : PROTOBUF_CONSTEXPR ContourPolygon::ContourPolygon(::_pbi::ConstantInitialized)
102 : #if defined(PROTOBUF_CUSTOM_VTABLE)
103 : : ::google::protobuf::Message(ContourPolygon_class_data_.base()),
104 : #else // PROTOBUF_CUSTOM_VTABLE
105 : : ::google::protobuf::Message(),
106 : #endif // PROTOBUF_CUSTOM_VTABLE
107 : _impl_(::_pbi::ConstantInitialized()) {
108 : }
109 : struct ContourPolygonDefaultTypeInternal {
110 : PROTOBUF_CONSTEXPR ContourPolygonDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
111 319 : ~ContourPolygonDefaultTypeInternal() {}
112 : union {
113 : ContourPolygon _instance;
114 : };
115 : };
116 :
117 : PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT ODBDESIGN_EXPORT
118 : PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ContourPolygonDefaultTypeInternal _ContourPolygon_default_instance_;
119 : } // namespace Protobuf
120 : } // namespace Lib
121 : } // namespace Odb
122 : static const ::_pb::EnumDescriptor* PROTOBUF_NONNULL
123 : file_level_enum_descriptors_common_2eproto[2];
124 : static constexpr const ::_pb::ServiceDescriptor* PROTOBUF_NONNULL* PROTOBUF_NULLABLE
125 : file_level_service_descriptors_common_2eproto = nullptr;
126 : const ::uint32_t
127 : TableStruct_common_2eproto::offsets[] ABSL_ATTRIBUTE_SECTION_VARIABLE(
128 : protodesc_cold) = {
129 : 0x081, // bitmap
130 : PROTOBUF_FIELD_OFFSET(::Odb::Lib::Protobuf::PropertyRecord, _impl_._has_bits_),
131 : 6, // hasbit index offset
132 : PROTOBUF_FIELD_OFFSET(::Odb::Lib::Protobuf::PropertyRecord, _impl_.name_),
133 : PROTOBUF_FIELD_OFFSET(::Odb::Lib::Protobuf::PropertyRecord, _impl_.value_),
134 : PROTOBUF_FIELD_OFFSET(::Odb::Lib::Protobuf::PropertyRecord, _impl_.floatvalues_),
135 : 1,
136 : 2,
137 : 0,
138 : 0x081, // bitmap
139 : PROTOBUF_FIELD_OFFSET(::Odb::Lib::Protobuf::ContourPolygon_PolygonPart, _impl_._has_bits_),
140 : 9, // hasbit index offset
141 : PROTOBUF_FIELD_OFFSET(::Odb::Lib::Protobuf::ContourPolygon_PolygonPart, _impl_.type_),
142 : PROTOBUF_FIELD_OFFSET(::Odb::Lib::Protobuf::ContourPolygon_PolygonPart, _impl_.endx_),
143 : PROTOBUF_FIELD_OFFSET(::Odb::Lib::Protobuf::ContourPolygon_PolygonPart, _impl_.endy_),
144 : PROTOBUF_FIELD_OFFSET(::Odb::Lib::Protobuf::ContourPolygon_PolygonPart, _impl_.xcenter_),
145 : PROTOBUF_FIELD_OFFSET(::Odb::Lib::Protobuf::ContourPolygon_PolygonPart, _impl_.ycenter_),
146 : PROTOBUF_FIELD_OFFSET(::Odb::Lib::Protobuf::ContourPolygon_PolygonPart, _impl_.isclockwise_),
147 : 2,
148 : 0,
149 : 1,
150 : 4,
151 : 5,
152 : 3,
153 : 0x081, // bitmap
154 : PROTOBUF_FIELD_OFFSET(::Odb::Lib::Protobuf::ContourPolygon, _impl_._has_bits_),
155 : 7, // hasbit index offset
156 : PROTOBUF_FIELD_OFFSET(::Odb::Lib::Protobuf::ContourPolygon, _impl_.type_),
157 : PROTOBUF_FIELD_OFFSET(::Odb::Lib::Protobuf::ContourPolygon, _impl_.xstart_),
158 : PROTOBUF_FIELD_OFFSET(::Odb::Lib::Protobuf::ContourPolygon, _impl_.ystart_),
159 : PROTOBUF_FIELD_OFFSET(::Odb::Lib::Protobuf::ContourPolygon, _impl_.polygonparts_),
160 : 3,
161 : 1,
162 : 2,
163 : 0,
164 : };
165 :
166 : static const ::_pbi::MigrationSchema
167 : schemas[] ABSL_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = {
168 : {0, sizeof(::Odb::Lib::Protobuf::PropertyRecord)},
169 : {9, sizeof(::Odb::Lib::Protobuf::ContourPolygon_PolygonPart)},
170 : {24, sizeof(::Odb::Lib::Protobuf::ContourPolygon)},
171 : };
172 : static const ::_pb::Message* PROTOBUF_NONNULL const file_default_instances[] = {
173 : &::Odb::Lib::Protobuf::_PropertyRecord_default_instance_._instance,
174 : &::Odb::Lib::Protobuf::_ContourPolygon_PolygonPart_default_instance_._instance,
175 : &::Odb::Lib::Protobuf::_ContourPolygon_default_instance_._instance,
176 : };
177 : const char descriptor_table_protodef_common_2eproto[] ABSL_ATTRIBUTE_SECTION_VARIABLE(
178 : protodesc_cold) = {
179 : "\n\014common.proto\022\020Odb.Lib.Protobuf\"_\n\016Prop"
180 : "ertyRecord\022\021\n\004name\030\001 \001(\tH\000\210\001\001\022\022\n\005value\030\002"
181 : " \001(\tH\001\210\001\001\022\023\n\013floatValues\030\003 \003(\001B\007\n\005_nameB"
182 : "\010\n\006_value\"\230\004\n\016ContourPolygon\0228\n\004type\030\001 \001"
183 : "(\0162%.Odb.Lib.Protobuf.ContourPolygon.Typ"
184 : "eH\000\210\001\001\022\023\n\006xStart\030\002 \001(\001H\001\210\001\001\022\023\n\006yStart\030\003 "
185 : "\001(\001H\002\210\001\001\022B\n\014polygonParts\030\004 \003(\0132,.Odb.Lib"
186 : ".Protobuf.ContourPolygon.PolygonPart\032\240\002\n"
187 : "\013PolygonPart\022D\n\004type\030\001 \001(\01621.Odb.Lib.Pro"
188 : "tobuf.ContourPolygon.PolygonPart.TypeH\000\210"
189 : "\001\001\022\021\n\004endX\030\002 \001(\001H\001\210\001\001\022\021\n\004endY\030\003 \001(\001H\002\210\001\001"
190 : "\022\024\n\007xCenter\030\004 \001(\001H\003\210\001\001\022\024\n\007yCenter\030\005 \001(\001H"
191 : "\004\210\001\001\022\030\n\013isClockwise\030\006 \001(\010H\005\210\001\001\"\034\n\004Type\022\013"
192 : "\n\007Segment\020\000\022\007\n\003Arc\020\001B\007\n\005_typeB\007\n\005_endXB\007"
193 : "\n\005_endYB\n\n\010_xCenterB\n\n\010_yCenterB\016\n\014_isCl"
194 : "ockwise\"\034\n\004Type\022\n\n\006Island\020\000\022\010\n\004Hole\020\001B\007\n"
195 : "\005_typeB\t\n\007_xStartB\t\n\007_yStartB\003\370\001\001b\006proto"
196 : "3"
197 : };
198 : static ::absl::once_flag descriptor_table_common_2eproto_once;
199 : PROTOBUF_CONSTINIT const ::_pbi::DescriptorTable descriptor_table_common_2eproto = {
200 : false,
201 : false,
202 : 681,
203 : descriptor_table_protodef_common_2eproto,
204 : "common.proto",
205 : &descriptor_table_common_2eproto_once,
206 : nullptr,
207 : 0,
208 : 3,
209 : schemas,
210 : file_default_instances,
211 : TableStruct_common_2eproto::offsets,
212 : file_level_enum_descriptors_common_2eproto,
213 : file_level_service_descriptors_common_2eproto,
214 : };
215 : namespace Odb {
216 : namespace Lib {
217 : namespace Protobuf {
218 0 : const ::google::protobuf::EnumDescriptor* PROTOBUF_NONNULL ContourPolygon_PolygonPart_Type_descriptor() {
219 0 : ::google::protobuf::internal::AssignDescriptors(&descriptor_table_common_2eproto);
220 0 : return file_level_enum_descriptors_common_2eproto[0];
221 : }
222 : PROTOBUF_CONSTINIT const uint32_t ContourPolygon_PolygonPart_Type_internal_data_[] = {
223 : 131072u, 0u, };
224 0 : const ::google::protobuf::EnumDescriptor* PROTOBUF_NONNULL ContourPolygon_Type_descriptor() {
225 0 : ::google::protobuf::internal::AssignDescriptors(&descriptor_table_common_2eproto);
226 0 : return file_level_enum_descriptors_common_2eproto[1];
227 : }
228 : PROTOBUF_CONSTINIT const uint32_t ContourPolygon_Type_internal_data_[] = {
229 : 131072u, 0u, };
230 : // ===================================================================
231 :
232 : class PropertyRecord::_Internal {
233 : public:
234 : using HasBits =
235 : decltype(::std::declval<PropertyRecord>()._impl_._has_bits_);
236 : static constexpr ::int32_t kHasBitsOffset =
237 : 8 * PROTOBUF_FIELD_OFFSET(PropertyRecord, _impl_._has_bits_);
238 : };
239 :
240 4726385 : PropertyRecord::PropertyRecord(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
241 : #if defined(PROTOBUF_CUSTOM_VTABLE)
242 : : ::google::protobuf::Message(arena, PropertyRecord_class_data_.base()) {
243 : #else // PROTOBUF_CUSTOM_VTABLE
244 4726385 : : ::google::protobuf::Message(arena) {
245 : #endif // PROTOBUF_CUSTOM_VTABLE
246 4726385 : SharedCtor(arena);
247 : // @@protoc_insertion_point(arena_constructor:Odb.Lib.Protobuf.PropertyRecord)
248 4726385 : }
249 16930320 : PROTOBUF_NDEBUG_INLINE PropertyRecord::Impl_::Impl_(
250 : [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
251 : [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
252 16930320 : [[maybe_unused]] const ::Odb::Lib::Protobuf::PropertyRecord& from_msg)
253 16930320 : : _has_bits_{from._has_bits_},
254 16930320 : _cached_size_{0},
255 16930320 : floatvalues_{visibility, arena, from.floatvalues_},
256 16930320 : name_(arena, from.name_),
257 16930320 : value_(arena, from.value_) {}
258 :
259 16930320 : PropertyRecord::PropertyRecord(
260 : ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
261 16930320 : const PropertyRecord& from)
262 : #if defined(PROTOBUF_CUSTOM_VTABLE)
263 : : ::google::protobuf::Message(arena, PropertyRecord_class_data_.base()) {
264 : #else // PROTOBUF_CUSTOM_VTABLE
265 16930320 : : ::google::protobuf::Message(arena) {
266 : #endif // PROTOBUF_CUSTOM_VTABLE
267 16930320 : PropertyRecord* const _this = this;
268 : (void)_this;
269 16930320 : _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
270 16930320 : from._internal_metadata_);
271 16930320 : new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
272 :
273 : // @@protoc_insertion_point(copy_constructor:Odb.Lib.Protobuf.PropertyRecord)
274 16930320 : }
275 4726385 : PROTOBUF_NDEBUG_INLINE PropertyRecord::Impl_::Impl_(
276 : [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
277 4726385 : [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
278 4726385 : : _cached_size_{0},
279 4726385 : floatvalues_{visibility, arena},
280 4726385 : name_(arena),
281 9452770 : value_(arena) {}
282 :
283 4726385 : inline void PropertyRecord::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
284 4726385 : new (&_impl_) Impl_(internal_visibility(), arena);
285 4726385 : }
286 43313409 : PropertyRecord::~PropertyRecord() {
287 : // @@protoc_insertion_point(destructor:Odb.Lib.Protobuf.PropertyRecord)
288 21656705 : SharedDtor(*this);
289 43313409 : }
290 21656705 : inline void PropertyRecord::SharedDtor(MessageLite& self) {
291 21656705 : PropertyRecord& this_ = static_cast<PropertyRecord&>(self);
292 : if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
293 21656705 : this_.CheckHasBitConsistency();
294 : }
295 21656705 : this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
296 21656705 : ABSL_DCHECK(this_.GetArena() == nullptr);
297 21656705 : this_._impl_.name_.Destroy();
298 21656705 : this_._impl_.value_.Destroy();
299 21656705 : this_._impl_.~Impl_();
300 21656705 : }
301 :
302 568951 : inline void* PROTOBUF_NONNULL PropertyRecord::PlacementNew_(
303 : const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
304 : ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
305 568951 : return ::new (mem) PropertyRecord(arena);
306 : }
307 : constexpr auto PropertyRecord::InternalNewImpl_() {
308 : constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({
309 : PROTOBUF_FIELD_OFFSET(PropertyRecord, _impl_.floatvalues_) +
310 : decltype(PropertyRecord::_impl_.floatvalues_)::
311 : InternalGetArenaOffset(
312 : ::google::protobuf::Message::internal_visibility()),
313 : });
314 : if (arena_bits.has_value()) {
315 : return ::google::protobuf::internal::MessageCreator::CopyInit(
316 : sizeof(PropertyRecord), alignof(PropertyRecord), *arena_bits);
317 : } else {
318 : return ::google::protobuf::internal::MessageCreator(&PropertyRecord::PlacementNew_,
319 : sizeof(PropertyRecord),
320 : alignof(PropertyRecord));
321 : }
322 : }
323 : constexpr auto PropertyRecord::InternalGenerateClassData_() {
324 : return ::google::protobuf::internal::ClassDataFull{
325 : ::google::protobuf::internal::ClassData{
326 : &_PropertyRecord_default_instance_._instance,
327 : &_table_.header,
328 : nullptr, // OnDemandRegisterArenaDtor
329 : nullptr, // IsInitialized
330 : &PropertyRecord::MergeImpl,
331 : ::google::protobuf::Message::GetNewImpl<PropertyRecord>(),
332 : #if defined(PROTOBUF_CUSTOM_VTABLE)
333 : &PropertyRecord::SharedDtor,
334 : ::google::protobuf::Message::GetClearImpl<PropertyRecord>(), &PropertyRecord::ByteSizeLong,
335 : &PropertyRecord::_InternalSerialize,
336 : #endif // PROTOBUF_CUSTOM_VTABLE
337 : PROTOBUF_FIELD_OFFSET(PropertyRecord, _impl_._cached_size_),
338 : false,
339 : },
340 : &PropertyRecord::kDescriptorMethods,
341 : &descriptor_table_common_2eproto,
342 : nullptr, // tracker
343 : };
344 : }
345 :
346 : PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
347 : ::google::protobuf::internal::ClassDataFull PropertyRecord_class_data_ =
348 : PropertyRecord::InternalGenerateClassData_();
349 :
350 : PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
351 49644425 : PropertyRecord::GetClassData() const {
352 49644425 : ::google::protobuf::internal::PrefetchToLocalCache(&PropertyRecord_class_data_);
353 49644425 : ::google::protobuf::internal::PrefetchToLocalCache(PropertyRecord_class_data_.tc_table);
354 49644425 : return PropertyRecord_class_data_.base();
355 : }
356 : PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
357 : const ::_pbi::TcParseTable<2, 3, 0, 49, 2>
358 : PropertyRecord::_table_ = {
359 : {
360 : PROTOBUF_FIELD_OFFSET(PropertyRecord, _impl_._has_bits_),
361 : 0, // no _extensions_
362 : 3, 24, // max_field_number, fast_idx_mask
363 : offsetof(decltype(_table_), field_lookup_table),
364 : 4294967288, // skipmap
365 : offsetof(decltype(_table_), field_entries),
366 : 3, // num_field_entries
367 : 0, // num_aux_entries
368 : offsetof(decltype(_table_), field_names), // no aux_entries
369 : PropertyRecord_class_data_.base(),
370 : nullptr, // post_loop_handler
371 : ::_pbi::TcParser::GenericFallback, // fallback
372 : #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
373 : ::_pbi::TcParser::GetTable<::Odb::Lib::Protobuf::PropertyRecord>(), // to_prefetch
374 : #endif // PROTOBUF_PREFETCH_PARSE_TABLE
375 : }, {{
376 : {::_pbi::TcParser::MiniParse, {}},
377 : // optional string name = 1;
378 : {::_pbi::TcParser::FastUS1,
379 : {10, 1, 0,
380 : PROTOBUF_FIELD_OFFSET(PropertyRecord, _impl_.name_)}},
381 : // optional string value = 2;
382 : {::_pbi::TcParser::FastUS1,
383 : {18, 2, 0,
384 : PROTOBUF_FIELD_OFFSET(PropertyRecord, _impl_.value_)}},
385 : // repeated double floatValues = 3;
386 : {::_pbi::TcParser::FastF64P1,
387 : {26, 0, 0,
388 : PROTOBUF_FIELD_OFFSET(PropertyRecord, _impl_.floatvalues_)}},
389 : }}, {{
390 : 65535, 65535
391 : }}, {{
392 : // optional string name = 1;
393 : {PROTOBUF_FIELD_OFFSET(PropertyRecord, _impl_.name_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)},
394 : // optional string value = 2;
395 : {PROTOBUF_FIELD_OFFSET(PropertyRecord, _impl_.value_), _Internal::kHasBitsOffset + 2, 0, (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)},
396 : // repeated double floatValues = 3;
397 : {PROTOBUF_FIELD_OFFSET(PropertyRecord, _impl_.floatvalues_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcRepeated | ::_fl::kPackedDouble)},
398 : }},
399 : // no aux_entries
400 : {{
401 : "\37\4\5\0\0\0\0\0"
402 : "Odb.Lib.Protobuf.PropertyRecord"
403 : "name"
404 : "value"
405 : }},
406 : };
407 2078717 : PROTOBUF_NOINLINE void PropertyRecord::Clear() {
408 : // @@protoc_insertion_point(message_clear_start:Odb.Lib.Protobuf.PropertyRecord)
409 2078717 : ::google::protobuf::internal::TSanWrite(&_impl_);
410 2078717 : ::uint32_t cached_has_bits = 0;
411 : // Prevent compiler warnings about cached_has_bits being unused
412 : (void) cached_has_bits;
413 :
414 2078717 : cached_has_bits = _impl_._has_bits_[0];
415 2078717 : if (BatchCheckHasBit(cached_has_bits, 0x00000007U)) {
416 0 : if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
417 0 : _impl_.floatvalues_.Clear();
418 : }
419 0 : if (CheckHasBit(cached_has_bits, 0x00000002U)) {
420 0 : _impl_.name_.ClearNonDefaultToEmpty();
421 : }
422 0 : if (CheckHasBit(cached_has_bits, 0x00000004U)) {
423 0 : _impl_.value_.ClearNonDefaultToEmpty();
424 : }
425 : }
426 2078717 : _impl_._has_bits_.Clear();
427 2078717 : _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
428 2078717 : }
429 :
430 : #if defined(PROTOBUF_CUSTOM_VTABLE)
431 : ::uint8_t* PROTOBUF_NONNULL PropertyRecord::_InternalSerialize(
432 : const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
433 : ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
434 : const PropertyRecord& this_ = static_cast<const PropertyRecord&>(base);
435 : #else // PROTOBUF_CUSTOM_VTABLE
436 2224477 : ::uint8_t* PROTOBUF_NONNULL PropertyRecord::_InternalSerialize(
437 : ::uint8_t* PROTOBUF_NONNULL target,
438 : ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
439 2224477 : const PropertyRecord& this_ = *this;
440 : #endif // PROTOBUF_CUSTOM_VTABLE
441 : if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
442 2224477 : this_.CheckHasBitConsistency();
443 : }
444 : // @@protoc_insertion_point(serialize_to_array_start:Odb.Lib.Protobuf.PropertyRecord)
445 2224477 : ::uint32_t cached_has_bits = 0;
446 : (void)cached_has_bits;
447 :
448 2224477 : cached_has_bits = this_._impl_._has_bits_[0];
449 : // optional string name = 1;
450 2224477 : if (CheckHasBit(cached_has_bits, 0x00000002U)) {
451 2224477 : const ::std::string& _s = this_._internal_name();
452 4448954 : ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
453 2224477 : _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "Odb.Lib.Protobuf.PropertyRecord.name");
454 2224477 : target = stream->WriteStringMaybeAliased(1, _s, target);
455 : }
456 :
457 : // optional string value = 2;
458 2224477 : if (CheckHasBit(cached_has_bits, 0x00000004U)) {
459 2224477 : const ::std::string& _s = this_._internal_value();
460 4448954 : ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
461 2224477 : _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "Odb.Lib.Protobuf.PropertyRecord.value");
462 2224477 : target = stream->WriteStringMaybeAliased(2, _s, target);
463 : }
464 :
465 : // repeated double floatValues = 3;
466 2224477 : if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
467 20166 : if (this_._internal_floatvalues_size() > 0) {
468 40332 : target = stream->WriteFixedPacked(3, this_._internal_floatvalues(), target);
469 : }
470 : }
471 :
472 2224477 : if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
473 : target =
474 0 : ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
475 : this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
476 : }
477 : // @@protoc_insertion_point(serialize_to_array_end:Odb.Lib.Protobuf.PropertyRecord)
478 2224477 : return target;
479 : }
480 :
481 : #if defined(PROTOBUF_CUSTOM_VTABLE)
482 : ::size_t PropertyRecord::ByteSizeLong(const MessageLite& base) {
483 : const PropertyRecord& this_ = static_cast<const PropertyRecord&>(base);
484 : #else // PROTOBUF_CUSTOM_VTABLE
485 2994593 : ::size_t PropertyRecord::ByteSizeLong() const {
486 2994593 : const PropertyRecord& this_ = *this;
487 : #endif // PROTOBUF_CUSTOM_VTABLE
488 : // @@protoc_insertion_point(message_byte_size_start:Odb.Lib.Protobuf.PropertyRecord)
489 2994593 : ::size_t total_size = 0;
490 :
491 2994593 : ::uint32_t cached_has_bits = 0;
492 : // Prevent compiler warnings about cached_has_bits being unused
493 : (void)cached_has_bits;
494 :
495 : ::_pbi::Prefetch5LinesFrom7Lines(&this_);
496 2994593 : cached_has_bits = this_._impl_._has_bits_[0];
497 2994593 : if (BatchCheckHasBit(cached_has_bits, 0x00000007U)) {
498 : // repeated double floatValues = 3;
499 2994593 : if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
500 : ::size_t data_size = ::size_t{8} *
501 26064 : ::_pbi::FromIntSize(this_._internal_floatvalues_size());
502 : ::size_t tag_size = data_size == 0
503 26064 : ? 0
504 26064 : : 1 + ::_pbi::WireFormatLite::Int32Size(
505 26064 : static_cast<::int32_t>(data_size));
506 26064 : total_size += tag_size + data_size;
507 : }
508 : // optional string name = 1;
509 2994593 : if (CheckHasBit(cached_has_bits, 0x00000002U)) {
510 2994593 : total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
511 : this_._internal_name());
512 : }
513 : // optional string value = 2;
514 2994593 : if (CheckHasBit(cached_has_bits, 0x00000004U)) {
515 2994593 : total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
516 : this_._internal_value());
517 : }
518 : }
519 2994593 : return this_.MaybeComputeUnknownFieldsSize(total_size,
520 2994593 : &this_._impl_._cached_size_);
521 : }
522 :
523 2078716 : void PropertyRecord::MergeImpl(::google::protobuf::MessageLite& to_msg,
524 : const ::google::protobuf::MessageLite& from_msg) {
525 2078716 : auto* const _this =
526 : static_cast<PropertyRecord*>(&to_msg);
527 2078716 : auto& from = static_cast<const PropertyRecord&>(from_msg);
528 : if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
529 2078716 : from.CheckHasBitConsistency();
530 : }
531 : // @@protoc_insertion_point(class_specific_merge_from_start:Odb.Lib.Protobuf.PropertyRecord)
532 2078716 : ABSL_DCHECK_NE(&from, _this);
533 2078716 : ::uint32_t cached_has_bits = 0;
534 : (void)cached_has_bits;
535 :
536 2078716 : cached_has_bits = from._impl_._has_bits_[0];
537 2078716 : if (BatchCheckHasBit(cached_has_bits, 0x00000007U)) {
538 2078716 : if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
539 20745 : _this->_internal_mutable_floatvalues()->MergeFrom(from._internal_floatvalues());
540 : }
541 2078716 : if (CheckHasBit(cached_has_bits, 0x00000002U)) {
542 2078716 : _this->_internal_set_name(from._internal_name());
543 : }
544 2078716 : if (CheckHasBit(cached_has_bits, 0x00000004U)) {
545 2078716 : _this->_internal_set_value(from._internal_value());
546 : }
547 : }
548 2078716 : _this->_impl_._has_bits_[0] |= cached_has_bits;
549 2078716 : _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
550 2078716 : from._internal_metadata_);
551 2078716 : }
552 :
553 2078716 : void PropertyRecord::CopyFrom(const PropertyRecord& from) {
554 : // @@protoc_insertion_point(class_specific_copy_from_start:Odb.Lib.Protobuf.PropertyRecord)
555 2078716 : if (&from == this) return;
556 2078716 : Clear();
557 2078716 : MergeFrom(from);
558 : }
559 :
560 :
561 0 : void PropertyRecord::InternalSwap(PropertyRecord* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
562 : using ::std::swap;
563 0 : auto* arena = GetArena();
564 0 : ABSL_DCHECK_EQ(arena, other->GetArena());
565 0 : _internal_metadata_.InternalSwap(&other->_internal_metadata_);
566 0 : swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
567 0 : _impl_.floatvalues_.InternalSwap(&other->_impl_.floatvalues_);
568 0 : ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.name_, &other->_impl_.name_, arena);
569 0 : ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.value_, &other->_impl_.value_, arena);
570 0 : }
571 :
572 0 : ::google::protobuf::Metadata PropertyRecord::GetMetadata() const {
573 0 : return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
574 : }
575 : // ===================================================================
576 :
577 : class ContourPolygon_PolygonPart::_Internal {
578 : public:
579 : using HasBits =
580 : decltype(::std::declval<ContourPolygon_PolygonPart>()._impl_._has_bits_);
581 : static constexpr ::int32_t kHasBitsOffset =
582 : 8 * PROTOBUF_FIELD_OFFSET(ContourPolygon_PolygonPart, _impl_._has_bits_);
583 : };
584 :
585 11601544 : ContourPolygon_PolygonPart::ContourPolygon_PolygonPart(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
586 : #if defined(PROTOBUF_CUSTOM_VTABLE)
587 : : ::google::protobuf::Message(arena, ContourPolygon_PolygonPart_class_data_.base()) {
588 : #else // PROTOBUF_CUSTOM_VTABLE
589 11601544 : : ::google::protobuf::Message(arena) {
590 : #endif // PROTOBUF_CUSTOM_VTABLE
591 11601544 : SharedCtor(arena);
592 : // @@protoc_insertion_point(arena_constructor:Odb.Lib.Protobuf.ContourPolygon.PolygonPart)
593 11601544 : }
594 47234250 : ContourPolygon_PolygonPart::ContourPolygon_PolygonPart(
595 47234250 : ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const ContourPolygon_PolygonPart& from)
596 : #if defined(PROTOBUF_CUSTOM_VTABLE)
597 : : ::google::protobuf::Message(arena, ContourPolygon_PolygonPart_class_data_.base()),
598 : #else // PROTOBUF_CUSTOM_VTABLE
599 : : ::google::protobuf::Message(arena),
600 : #endif // PROTOBUF_CUSTOM_VTABLE
601 47234250 : _impl_(from._impl_) {
602 47234250 : _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
603 47234250 : from._internal_metadata_);
604 47234250 : }
605 11601544 : PROTOBUF_NDEBUG_INLINE ContourPolygon_PolygonPart::Impl_::Impl_(
606 : [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
607 11601544 : [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
608 11601544 : : _cached_size_{0} {}
609 :
610 11601544 : inline void ContourPolygon_PolygonPart::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
611 11601544 : new (&_impl_) Impl_(internal_visibility(), arena);
612 11601544 : ::memset(reinterpret_cast<char*>(&_impl_) +
613 : offsetof(Impl_, endx_),
614 : 0,
615 : offsetof(Impl_, ycenter_) -
616 : offsetof(Impl_, endx_) +
617 : sizeof(Impl_::ycenter_));
618 11601544 : }
619 117671588 : ContourPolygon_PolygonPart::~ContourPolygon_PolygonPart() {
620 : // @@protoc_insertion_point(destructor:Odb.Lib.Protobuf.ContourPolygon.PolygonPart)
621 58835794 : SharedDtor(*this);
622 117671588 : }
623 58835794 : inline void ContourPolygon_PolygonPart::SharedDtor(MessageLite& self) {
624 58835794 : ContourPolygon_PolygonPart& this_ = static_cast<ContourPolygon_PolygonPart&>(self);
625 : if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
626 58835794 : this_.CheckHasBitConsistency();
627 : }
628 58835794 : this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
629 58835794 : ABSL_DCHECK(this_.GetArena() == nullptr);
630 58835794 : this_._impl_.~Impl_();
631 58835794 : }
632 :
633 1177702 : inline void* PROTOBUF_NONNULL ContourPolygon_PolygonPart::PlacementNew_(
634 : const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
635 : ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
636 1177702 : return ::new (mem) ContourPolygon_PolygonPart(arena);
637 : }
638 : constexpr auto ContourPolygon_PolygonPart::InternalNewImpl_() {
639 : return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(ContourPolygon_PolygonPart),
640 : alignof(ContourPolygon_PolygonPart));
641 : }
642 : constexpr auto ContourPolygon_PolygonPart::InternalGenerateClassData_() {
643 : return ::google::protobuf::internal::ClassDataFull{
644 : ::google::protobuf::internal::ClassData{
645 : &_ContourPolygon_PolygonPart_default_instance_._instance,
646 : &_table_.header,
647 : nullptr, // OnDemandRegisterArenaDtor
648 : nullptr, // IsInitialized
649 : &ContourPolygon_PolygonPart::MergeImpl,
650 : ::google::protobuf::Message::GetNewImpl<ContourPolygon_PolygonPart>(),
651 : #if defined(PROTOBUF_CUSTOM_VTABLE)
652 : &ContourPolygon_PolygonPart::SharedDtor,
653 : ::google::protobuf::Message::GetClearImpl<ContourPolygon_PolygonPart>(), &ContourPolygon_PolygonPart::ByteSizeLong,
654 : &ContourPolygon_PolygonPart::_InternalSerialize,
655 : #endif // PROTOBUF_CUSTOM_VTABLE
656 : PROTOBUF_FIELD_OFFSET(ContourPolygon_PolygonPart, _impl_._cached_size_),
657 : false,
658 : },
659 : &ContourPolygon_PolygonPart::kDescriptorMethods,
660 : &descriptor_table_common_2eproto,
661 : nullptr, // tracker
662 : };
663 : }
664 :
665 : PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
666 : ::google::protobuf::internal::ClassDataFull ContourPolygon_PolygonPart_class_data_ =
667 : ContourPolygon_PolygonPart::InternalGenerateClassData_();
668 :
669 : PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
670 139985053 : ContourPolygon_PolygonPart::GetClassData() const {
671 139985053 : ::google::protobuf::internal::PrefetchToLocalCache(&ContourPolygon_PolygonPart_class_data_);
672 139985053 : ::google::protobuf::internal::PrefetchToLocalCache(ContourPolygon_PolygonPart_class_data_.tc_table);
673 139985053 : return ContourPolygon_PolygonPart_class_data_.base();
674 : }
675 : PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
676 : const ::_pbi::TcParseTable<3, 6, 0, 0, 2>
677 : ContourPolygon_PolygonPart::_table_ = {
678 : {
679 : PROTOBUF_FIELD_OFFSET(ContourPolygon_PolygonPart, _impl_._has_bits_),
680 : 0, // no _extensions_
681 : 6, 56, // max_field_number, fast_idx_mask
682 : offsetof(decltype(_table_), field_lookup_table),
683 : 4294967232, // skipmap
684 : offsetof(decltype(_table_), field_entries),
685 : 6, // num_field_entries
686 : 0, // num_aux_entries
687 : offsetof(decltype(_table_), field_names), // no aux_entries
688 : ContourPolygon_PolygonPart_class_data_.base(),
689 : nullptr, // post_loop_handler
690 : ::_pbi::TcParser::GenericFallback, // fallback
691 : #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
692 : ::_pbi::TcParser::GetTable<::Odb::Lib::Protobuf::ContourPolygon_PolygonPart>(), // to_prefetch
693 : #endif // PROTOBUF_PREFETCH_PARSE_TABLE
694 : }, {{
695 : {::_pbi::TcParser::MiniParse, {}},
696 : // optional .Odb.Lib.Protobuf.ContourPolygon.PolygonPart.Type type = 1;
697 : {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(ContourPolygon_PolygonPart, _impl_.type_), 2>(),
698 : {8, 2, 0,
699 : PROTOBUF_FIELD_OFFSET(ContourPolygon_PolygonPart, _impl_.type_)}},
700 : // optional double endX = 2;
701 : {::_pbi::TcParser::FastF64S1,
702 : {17, 0, 0,
703 : PROTOBUF_FIELD_OFFSET(ContourPolygon_PolygonPart, _impl_.endx_)}},
704 : // optional double endY = 3;
705 : {::_pbi::TcParser::FastF64S1,
706 : {25, 1, 0,
707 : PROTOBUF_FIELD_OFFSET(ContourPolygon_PolygonPart, _impl_.endy_)}},
708 : // optional double xCenter = 4;
709 : {::_pbi::TcParser::FastF64S1,
710 : {33, 4, 0,
711 : PROTOBUF_FIELD_OFFSET(ContourPolygon_PolygonPart, _impl_.xcenter_)}},
712 : // optional double yCenter = 5;
713 : {::_pbi::TcParser::FastF64S1,
714 : {41, 5, 0,
715 : PROTOBUF_FIELD_OFFSET(ContourPolygon_PolygonPart, _impl_.ycenter_)}},
716 : // optional bool isClockwise = 6;
717 : {::_pbi::TcParser::SingularVarintNoZag1<bool, offsetof(ContourPolygon_PolygonPart, _impl_.isclockwise_), 3>(),
718 : {48, 3, 0,
719 : PROTOBUF_FIELD_OFFSET(ContourPolygon_PolygonPart, _impl_.isclockwise_)}},
720 : {::_pbi::TcParser::MiniParse, {}},
721 : }}, {{
722 : 65535, 65535
723 : }}, {{
724 : // optional .Odb.Lib.Protobuf.ContourPolygon.PolygonPart.Type type = 1;
725 : {PROTOBUF_FIELD_OFFSET(ContourPolygon_PolygonPart, _impl_.type_), _Internal::kHasBitsOffset + 2, 0, (0 | ::_fl::kFcOptional | ::_fl::kOpenEnum)},
726 : // optional double endX = 2;
727 : {PROTOBUF_FIELD_OFFSET(ContourPolygon_PolygonPart, _impl_.endx_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kDouble)},
728 : // optional double endY = 3;
729 : {PROTOBUF_FIELD_OFFSET(ContourPolygon_PolygonPart, _impl_.endy_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kDouble)},
730 : // optional double xCenter = 4;
731 : {PROTOBUF_FIELD_OFFSET(ContourPolygon_PolygonPart, _impl_.xcenter_), _Internal::kHasBitsOffset + 4, 0, (0 | ::_fl::kFcOptional | ::_fl::kDouble)},
732 : // optional double yCenter = 5;
733 : {PROTOBUF_FIELD_OFFSET(ContourPolygon_PolygonPart, _impl_.ycenter_), _Internal::kHasBitsOffset + 5, 0, (0 | ::_fl::kFcOptional | ::_fl::kDouble)},
734 : // optional bool isClockwise = 6;
735 : {PROTOBUF_FIELD_OFFSET(ContourPolygon_PolygonPart, _impl_.isclockwise_), _Internal::kHasBitsOffset + 3, 0, (0 | ::_fl::kFcOptional | ::_fl::kBool)},
736 : }},
737 : // no aux_entries
738 : {{
739 : }},
740 : };
741 5211921 : PROTOBUF_NOINLINE void ContourPolygon_PolygonPart::Clear() {
742 : // @@protoc_insertion_point(message_clear_start:Odb.Lib.Protobuf.ContourPolygon.PolygonPart)
743 5211921 : ::google::protobuf::internal::TSanWrite(&_impl_);
744 5211921 : ::uint32_t cached_has_bits = 0;
745 : // Prevent compiler warnings about cached_has_bits being unused
746 : (void) cached_has_bits;
747 :
748 5211921 : cached_has_bits = _impl_._has_bits_[0];
749 5211921 : if (BatchCheckHasBit(cached_has_bits, 0x0000003fU)) {
750 0 : ::memset(&_impl_.endx_, 0, static_cast<::size_t>(
751 : reinterpret_cast<char*>(&_impl_.ycenter_) -
752 : reinterpret_cast<char*>(&_impl_.endx_)) + sizeof(_impl_.ycenter_));
753 : }
754 5211921 : _impl_._has_bits_.Clear();
755 5211921 : _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
756 5211921 : }
757 :
758 : #if defined(PROTOBUF_CUSTOM_VTABLE)
759 : ::uint8_t* PROTOBUF_NONNULL ContourPolygon_PolygonPart::_InternalSerialize(
760 : const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
761 : ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
762 : const ContourPolygon_PolygonPart& this_ = static_cast<const ContourPolygon_PolygonPart&>(base);
763 : #else // PROTOBUF_CUSTOM_VTABLE
764 5352687 : ::uint8_t* PROTOBUF_NONNULL ContourPolygon_PolygonPart::_InternalSerialize(
765 : ::uint8_t* PROTOBUF_NONNULL target,
766 : ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
767 5352687 : const ContourPolygon_PolygonPart& this_ = *this;
768 : #endif // PROTOBUF_CUSTOM_VTABLE
769 : if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
770 5352687 : this_.CheckHasBitConsistency();
771 : }
772 : // @@protoc_insertion_point(serialize_to_array_start:Odb.Lib.Protobuf.ContourPolygon.PolygonPart)
773 5352687 : ::uint32_t cached_has_bits = 0;
774 : (void)cached_has_bits;
775 :
776 5352687 : cached_has_bits = this_._impl_._has_bits_[0];
777 : // optional .Odb.Lib.Protobuf.ContourPolygon.PolygonPart.Type type = 1;
778 5352687 : if (CheckHasBit(cached_has_bits, 0x00000004U)) {
779 5352687 : target = stream->EnsureSpace(target);
780 5352687 : target = ::_pbi::WireFormatLite::WriteEnumToArray(
781 5352687 : 1, this_._internal_type(), target);
782 : }
783 :
784 : // optional double endX = 2;
785 5352687 : if (CheckHasBit(cached_has_bits, 0x00000001U)) {
786 5352687 : target = stream->EnsureSpace(target);
787 5352687 : target = ::_pbi::WireFormatLite::WriteDoubleToArray(
788 : 2, this_._internal_endx(), target);
789 : }
790 :
791 : // optional double endY = 3;
792 5352687 : if (CheckHasBit(cached_has_bits, 0x00000002U)) {
793 5352687 : target = stream->EnsureSpace(target);
794 5352687 : target = ::_pbi::WireFormatLite::WriteDoubleToArray(
795 : 3, this_._internal_endy(), target);
796 : }
797 :
798 : // optional double xCenter = 4;
799 5352687 : if (CheckHasBit(cached_has_bits, 0x00000010U)) {
800 5352687 : target = stream->EnsureSpace(target);
801 5352687 : target = ::_pbi::WireFormatLite::WriteDoubleToArray(
802 : 4, this_._internal_xcenter(), target);
803 : }
804 :
805 : // optional double yCenter = 5;
806 5352687 : if (CheckHasBit(cached_has_bits, 0x00000020U)) {
807 5352687 : target = stream->EnsureSpace(target);
808 5352687 : target = ::_pbi::WireFormatLite::WriteDoubleToArray(
809 : 5, this_._internal_ycenter(), target);
810 : }
811 :
812 : // optional bool isClockwise = 6;
813 5352687 : if (CheckHasBit(cached_has_bits, 0x00000008U)) {
814 5352687 : target = stream->EnsureSpace(target);
815 5352687 : target = ::_pbi::WireFormatLite::WriteBoolToArray(
816 5352687 : 6, this_._internal_isclockwise(), target);
817 : }
818 :
819 5352687 : if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
820 : target =
821 0 : ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
822 : this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
823 : }
824 : // @@protoc_insertion_point(serialize_to_array_end:Odb.Lib.Protobuf.ContourPolygon.PolygonPart)
825 5352687 : return target;
826 : }
827 :
828 : #if defined(PROTOBUF_CUSTOM_VTABLE)
829 : ::size_t ContourPolygon_PolygonPart::ByteSizeLong(const MessageLite& base) {
830 : const ContourPolygon_PolygonPart& this_ = static_cast<const ContourPolygon_PolygonPart&>(base);
831 : #else // PROTOBUF_CUSTOM_VTABLE
832 7078817 : ::size_t ContourPolygon_PolygonPart::ByteSizeLong() const {
833 7078817 : const ContourPolygon_PolygonPart& this_ = *this;
834 : #endif // PROTOBUF_CUSTOM_VTABLE
835 : // @@protoc_insertion_point(message_byte_size_start:Odb.Lib.Protobuf.ContourPolygon.PolygonPart)
836 7078817 : ::size_t total_size = 0;
837 :
838 7078817 : ::uint32_t cached_has_bits = 0;
839 : // Prevent compiler warnings about cached_has_bits being unused
840 : (void)cached_has_bits;
841 :
842 : ::_pbi::Prefetch5LinesFrom7Lines(&this_);
843 7078817 : cached_has_bits = this_._impl_._has_bits_[0];
844 7078817 : total_size += ::absl::popcount(0x00000033U & cached_has_bits) * 9;
845 7078817 : total_size += static_cast<bool>(0x00000008U & cached_has_bits) * 2;
846 : {
847 : // optional .Odb.Lib.Protobuf.ContourPolygon.PolygonPart.Type type = 1;
848 7078817 : if (CheckHasBit(cached_has_bits, 0x00000004U)) {
849 7078817 : total_size += 1 +
850 7078817 : ::_pbi::WireFormatLite::EnumSize(this_._internal_type());
851 : }
852 : }
853 7078817 : return this_.MaybeComputeUnknownFieldsSize(total_size,
854 7078817 : &this_._impl_._cached_size_);
855 : }
856 :
857 5211921 : void ContourPolygon_PolygonPart::MergeImpl(::google::protobuf::MessageLite& to_msg,
858 : const ::google::protobuf::MessageLite& from_msg) {
859 5211921 : auto* const _this =
860 : static_cast<ContourPolygon_PolygonPart*>(&to_msg);
861 5211921 : auto& from = static_cast<const ContourPolygon_PolygonPart&>(from_msg);
862 : if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
863 5211921 : from.CheckHasBitConsistency();
864 : }
865 : // @@protoc_insertion_point(class_specific_merge_from_start:Odb.Lib.Protobuf.ContourPolygon.PolygonPart)
866 5211921 : ABSL_DCHECK_NE(&from, _this);
867 5211921 : ::uint32_t cached_has_bits = 0;
868 : (void)cached_has_bits;
869 :
870 5211921 : cached_has_bits = from._impl_._has_bits_[0];
871 5211921 : if (BatchCheckHasBit(cached_has_bits, 0x0000003fU)) {
872 5211921 : if (CheckHasBit(cached_has_bits, 0x00000001U)) {
873 5211921 : _this->_impl_.endx_ = from._impl_.endx_;
874 : }
875 5211921 : if (CheckHasBit(cached_has_bits, 0x00000002U)) {
876 5211921 : _this->_impl_.endy_ = from._impl_.endy_;
877 : }
878 5211921 : if (CheckHasBit(cached_has_bits, 0x00000004U)) {
879 5211921 : _this->_impl_.type_ = from._impl_.type_;
880 : }
881 5211921 : if (CheckHasBit(cached_has_bits, 0x00000008U)) {
882 5211921 : _this->_impl_.isclockwise_ = from._impl_.isclockwise_;
883 : }
884 5211921 : if (CheckHasBit(cached_has_bits, 0x00000010U)) {
885 5211921 : _this->_impl_.xcenter_ = from._impl_.xcenter_;
886 : }
887 5211921 : if (CheckHasBit(cached_has_bits, 0x00000020U)) {
888 5211921 : _this->_impl_.ycenter_ = from._impl_.ycenter_;
889 : }
890 : }
891 5211921 : _this->_impl_._has_bits_[0] |= cached_has_bits;
892 5211921 : _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
893 5211921 : from._internal_metadata_);
894 5211921 : }
895 :
896 5211921 : void ContourPolygon_PolygonPart::CopyFrom(const ContourPolygon_PolygonPart& from) {
897 : // @@protoc_insertion_point(class_specific_copy_from_start:Odb.Lib.Protobuf.ContourPolygon.PolygonPart)
898 5211921 : if (&from == this) return;
899 5211921 : Clear();
900 5211921 : MergeFrom(from);
901 : }
902 :
903 :
904 0 : void ContourPolygon_PolygonPart::InternalSwap(ContourPolygon_PolygonPart* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
905 : using ::std::swap;
906 0 : _internal_metadata_.InternalSwap(&other->_internal_metadata_);
907 0 : swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
908 : ::google::protobuf::internal::memswap<
909 : PROTOBUF_FIELD_OFFSET(ContourPolygon_PolygonPart, _impl_.ycenter_)
910 : + sizeof(ContourPolygon_PolygonPart::_impl_.ycenter_)
911 0 : - PROTOBUF_FIELD_OFFSET(ContourPolygon_PolygonPart, _impl_.endx_)>(
912 0 : reinterpret_cast<char*>(&_impl_.endx_),
913 0 : reinterpret_cast<char*>(&other->_impl_.endx_));
914 0 : }
915 :
916 0 : ::google::protobuf::Metadata ContourPolygon_PolygonPart::GetMetadata() const {
917 0 : return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
918 : }
919 : // ===================================================================
920 :
921 : class ContourPolygon::_Internal {
922 : public:
923 : using HasBits =
924 : decltype(::std::declval<ContourPolygon>()._impl_._has_bits_);
925 : static constexpr ::int32_t kHasBitsOffset =
926 : 8 * PROTOBUF_FIELD_OFFSET(ContourPolygon, _impl_._has_bits_);
927 : };
928 :
929 1092882 : ContourPolygon::ContourPolygon(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
930 : #if defined(PROTOBUF_CUSTOM_VTABLE)
931 : : ::google::protobuf::Message(arena, ContourPolygon_class_data_.base()) {
932 : #else // PROTOBUF_CUSTOM_VTABLE
933 1092882 : : ::google::protobuf::Message(arena) {
934 : #endif // PROTOBUF_CUSTOM_VTABLE
935 1092882 : SharedCtor(arena);
936 : // @@protoc_insertion_point(arena_constructor:Odb.Lib.Protobuf.ContourPolygon)
937 1092882 : }
938 3938842 : PROTOBUF_NDEBUG_INLINE ContourPolygon::Impl_::Impl_(
939 : [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
940 : [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
941 3938842 : [[maybe_unused]] const ::Odb::Lib::Protobuf::ContourPolygon& from_msg)
942 3938842 : : _has_bits_{from._has_bits_},
943 3938842 : _cached_size_{0},
944 3938842 : polygonparts_{visibility, arena, from.polygonparts_} {}
945 :
946 3938842 : ContourPolygon::ContourPolygon(
947 : ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
948 3938842 : const ContourPolygon& from)
949 : #if defined(PROTOBUF_CUSTOM_VTABLE)
950 : : ::google::protobuf::Message(arena, ContourPolygon_class_data_.base()) {
951 : #else // PROTOBUF_CUSTOM_VTABLE
952 3938842 : : ::google::protobuf::Message(arena) {
953 : #endif // PROTOBUF_CUSTOM_VTABLE
954 3938842 : ContourPolygon* const _this = this;
955 : (void)_this;
956 3938842 : _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
957 3938842 : from._internal_metadata_);
958 3938842 : new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
959 3938842 : ::memcpy(reinterpret_cast<char*>(&_impl_) +
960 : offsetof(Impl_, xstart_),
961 3938842 : reinterpret_cast<const char*>(&from._impl_) +
962 : offsetof(Impl_, xstart_),
963 : offsetof(Impl_, type_) -
964 : offsetof(Impl_, xstart_) +
965 : sizeof(Impl_::type_));
966 :
967 : // @@protoc_insertion_point(copy_constructor:Odb.Lib.Protobuf.ContourPolygon)
968 3938842 : }
969 1092882 : PROTOBUF_NDEBUG_INLINE ContourPolygon::Impl_::Impl_(
970 : [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
971 1092882 : [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
972 1092882 : : _cached_size_{0},
973 2185764 : polygonparts_{visibility, arena} {}
974 :
975 1092882 : inline void ContourPolygon::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
976 1092882 : new (&_impl_) Impl_(internal_visibility(), arena);
977 1092882 : ::memset(reinterpret_cast<char*>(&_impl_) +
978 : offsetof(Impl_, xstart_),
979 : 0,
980 : offsetof(Impl_, type_) -
981 : offsetof(Impl_, xstart_) +
982 : sizeof(Impl_::type_));
983 1092882 : }
984 10063448 : ContourPolygon::~ContourPolygon() {
985 : // @@protoc_insertion_point(destructor:Odb.Lib.Protobuf.ContourPolygon)
986 5031724 : SharedDtor(*this);
987 10063448 : }
988 5031724 : inline void ContourPolygon::SharedDtor(MessageLite& self) {
989 5031724 : ContourPolygon& this_ = static_cast<ContourPolygon&>(self);
990 : if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
991 5031724 : this_.CheckHasBitConsistency();
992 : }
993 5031724 : this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
994 5031724 : ABSL_DCHECK(this_.GetArena() == nullptr);
995 5031724 : this_._impl_.~Impl_();
996 5031724 : }
997 :
998 114164 : inline void* PROTOBUF_NONNULL ContourPolygon::PlacementNew_(
999 : const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
1000 : ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
1001 114164 : return ::new (mem) ContourPolygon(arena);
1002 : }
1003 : constexpr auto ContourPolygon::InternalNewImpl_() {
1004 : constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({
1005 : PROTOBUF_FIELD_OFFSET(ContourPolygon, _impl_.polygonparts_) +
1006 : decltype(ContourPolygon::_impl_.polygonparts_)::
1007 : InternalGetArenaOffset(
1008 : ::google::protobuf::Message::internal_visibility()),
1009 : });
1010 : if (arena_bits.has_value()) {
1011 : return ::google::protobuf::internal::MessageCreator::ZeroInit(
1012 : sizeof(ContourPolygon), alignof(ContourPolygon), *arena_bits);
1013 : } else {
1014 : return ::google::protobuf::internal::MessageCreator(&ContourPolygon::PlacementNew_,
1015 : sizeof(ContourPolygon),
1016 : alignof(ContourPolygon));
1017 : }
1018 : }
1019 : constexpr auto ContourPolygon::InternalGenerateClassData_() {
1020 : return ::google::protobuf::internal::ClassDataFull{
1021 : ::google::protobuf::internal::ClassData{
1022 : &_ContourPolygon_default_instance_._instance,
1023 : &_table_.header,
1024 : nullptr, // OnDemandRegisterArenaDtor
1025 : nullptr, // IsInitialized
1026 : &ContourPolygon::MergeImpl,
1027 : ::google::protobuf::Message::GetNewImpl<ContourPolygon>(),
1028 : #if defined(PROTOBUF_CUSTOM_VTABLE)
1029 : &ContourPolygon::SharedDtor,
1030 : ::google::protobuf::Message::GetClearImpl<ContourPolygon>(), &ContourPolygon::ByteSizeLong,
1031 : &ContourPolygon::_InternalSerialize,
1032 : #endif // PROTOBUF_CUSTOM_VTABLE
1033 : PROTOBUF_FIELD_OFFSET(ContourPolygon, _impl_._cached_size_),
1034 : false,
1035 : },
1036 : &ContourPolygon::kDescriptorMethods,
1037 : &descriptor_table_common_2eproto,
1038 : nullptr, // tracker
1039 : };
1040 : }
1041 :
1042 : PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
1043 : ::google::protobuf::internal::ClassDataFull ContourPolygon_class_data_ =
1044 : ContourPolygon::InternalGenerateClassData_();
1045 :
1046 : PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
1047 19805367 : ContourPolygon::GetClassData() const {
1048 19805367 : ::google::protobuf::internal::PrefetchToLocalCache(&ContourPolygon_class_data_);
1049 19805367 : ::google::protobuf::internal::PrefetchToLocalCache(ContourPolygon_class_data_.tc_table);
1050 19805367 : return ContourPolygon_class_data_.base();
1051 : }
1052 : PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
1053 : const ::_pbi::TcParseTable<2, 4, 1, 0, 2>
1054 : ContourPolygon::_table_ = {
1055 : {
1056 : PROTOBUF_FIELD_OFFSET(ContourPolygon, _impl_._has_bits_),
1057 : 0, // no _extensions_
1058 : 4, 24, // max_field_number, fast_idx_mask
1059 : offsetof(decltype(_table_), field_lookup_table),
1060 : 4294967280, // skipmap
1061 : offsetof(decltype(_table_), field_entries),
1062 : 4, // num_field_entries
1063 : 1, // num_aux_entries
1064 : offsetof(decltype(_table_), aux_entries),
1065 : ContourPolygon_class_data_.base(),
1066 : nullptr, // post_loop_handler
1067 : ::_pbi::TcParser::GenericFallback, // fallback
1068 : #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
1069 : ::_pbi::TcParser::GetTable<::Odb::Lib::Protobuf::ContourPolygon>(), // to_prefetch
1070 : #endif // PROTOBUF_PREFETCH_PARSE_TABLE
1071 : }, {{
1072 : // repeated .Odb.Lib.Protobuf.ContourPolygon.PolygonPart polygonParts = 4;
1073 : {::_pbi::TcParser::FastMtR1,
1074 : {34, 0, 0,
1075 : PROTOBUF_FIELD_OFFSET(ContourPolygon, _impl_.polygonparts_)}},
1076 : // optional .Odb.Lib.Protobuf.ContourPolygon.Type type = 1;
1077 : {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(ContourPolygon, _impl_.type_), 3>(),
1078 : {8, 3, 0,
1079 : PROTOBUF_FIELD_OFFSET(ContourPolygon, _impl_.type_)}},
1080 : // optional double xStart = 2;
1081 : {::_pbi::TcParser::FastF64S1,
1082 : {17, 1, 0,
1083 : PROTOBUF_FIELD_OFFSET(ContourPolygon, _impl_.xstart_)}},
1084 : // optional double yStart = 3;
1085 : {::_pbi::TcParser::FastF64S1,
1086 : {25, 2, 0,
1087 : PROTOBUF_FIELD_OFFSET(ContourPolygon, _impl_.ystart_)}},
1088 : }}, {{
1089 : 65535, 65535
1090 : }}, {{
1091 : // optional .Odb.Lib.Protobuf.ContourPolygon.Type type = 1;
1092 : {PROTOBUF_FIELD_OFFSET(ContourPolygon, _impl_.type_), _Internal::kHasBitsOffset + 3, 0, (0 | ::_fl::kFcOptional | ::_fl::kOpenEnum)},
1093 : // optional double xStart = 2;
1094 : {PROTOBUF_FIELD_OFFSET(ContourPolygon, _impl_.xstart_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kDouble)},
1095 : // optional double yStart = 3;
1096 : {PROTOBUF_FIELD_OFFSET(ContourPolygon, _impl_.ystart_), _Internal::kHasBitsOffset + 2, 0, (0 | ::_fl::kFcOptional | ::_fl::kDouble)},
1097 : // repeated .Odb.Lib.Protobuf.ContourPolygon.PolygonPart polygonParts = 4;
1098 : {PROTOBUF_FIELD_OFFSET(ContourPolygon, _impl_.polygonparts_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
1099 : }},
1100 : {{
1101 : {::_pbi::TcParser::GetTable<::Odb::Lib::Protobuf::ContourPolygon_PolygonPart>()},
1102 : }},
1103 : {{
1104 : }},
1105 : };
1106 489359 : PROTOBUF_NOINLINE void ContourPolygon::Clear() {
1107 : // @@protoc_insertion_point(message_clear_start:Odb.Lib.Protobuf.ContourPolygon)
1108 489359 : ::google::protobuf::internal::TSanWrite(&_impl_);
1109 489359 : ::uint32_t cached_has_bits = 0;
1110 : // Prevent compiler warnings about cached_has_bits being unused
1111 : (void) cached_has_bits;
1112 :
1113 489359 : cached_has_bits = _impl_._has_bits_[0];
1114 489359 : if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
1115 0 : _impl_.polygonparts_.Clear();
1116 : }
1117 489359 : if (BatchCheckHasBit(cached_has_bits, 0x0000000eU)) {
1118 0 : ::memset(&_impl_.xstart_, 0, static_cast<::size_t>(
1119 : reinterpret_cast<char*>(&_impl_.type_) -
1120 : reinterpret_cast<char*>(&_impl_.xstart_)) + sizeof(_impl_.type_));
1121 : }
1122 489359 : _impl_._has_bits_.Clear();
1123 489359 : _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
1124 489359 : }
1125 :
1126 : #if defined(PROTOBUF_CUSTOM_VTABLE)
1127 : ::uint8_t* PROTOBUF_NONNULL ContourPolygon::_InternalSerialize(
1128 : const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
1129 : ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
1130 : const ContourPolygon& this_ = static_cast<const ContourPolygon&>(base);
1131 : #else // PROTOBUF_CUSTOM_VTABLE
1132 505711 : ::uint8_t* PROTOBUF_NONNULL ContourPolygon::_InternalSerialize(
1133 : ::uint8_t* PROTOBUF_NONNULL target,
1134 : ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
1135 505711 : const ContourPolygon& this_ = *this;
1136 : #endif // PROTOBUF_CUSTOM_VTABLE
1137 : if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
1138 505711 : this_.CheckHasBitConsistency();
1139 : }
1140 : // @@protoc_insertion_point(serialize_to_array_start:Odb.Lib.Protobuf.ContourPolygon)
1141 505711 : ::uint32_t cached_has_bits = 0;
1142 : (void)cached_has_bits;
1143 :
1144 505711 : cached_has_bits = this_._impl_._has_bits_[0];
1145 : // optional .Odb.Lib.Protobuf.ContourPolygon.Type type = 1;
1146 505711 : if (CheckHasBit(cached_has_bits, 0x00000008U)) {
1147 505711 : target = stream->EnsureSpace(target);
1148 505711 : target = ::_pbi::WireFormatLite::WriteEnumToArray(
1149 505711 : 1, this_._internal_type(), target);
1150 : }
1151 :
1152 : // optional double xStart = 2;
1153 505711 : if (CheckHasBit(cached_has_bits, 0x00000002U)) {
1154 505711 : target = stream->EnsureSpace(target);
1155 505711 : target = ::_pbi::WireFormatLite::WriteDoubleToArray(
1156 : 2, this_._internal_xstart(), target);
1157 : }
1158 :
1159 : // optional double yStart = 3;
1160 505711 : if (CheckHasBit(cached_has_bits, 0x00000004U)) {
1161 505711 : target = stream->EnsureSpace(target);
1162 505711 : target = ::_pbi::WireFormatLite::WriteDoubleToArray(
1163 : 3, this_._internal_ystart(), target);
1164 : }
1165 :
1166 : // repeated .Odb.Lib.Protobuf.ContourPolygon.PolygonPart polygonParts = 4;
1167 505711 : if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
1168 6364109 : for (unsigned i = 0, n = static_cast<unsigned>(
1169 505711 : this_._internal_polygonparts_size());
1170 5858398 : i < n; i++) {
1171 5352687 : const auto& repfield = this_._internal_polygonparts().Get(i);
1172 : target =
1173 5352687 : ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
1174 : 4, repfield, repfield.GetCachedSize(),
1175 : target, stream);
1176 : }
1177 : }
1178 :
1179 505711 : if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
1180 : target =
1181 0 : ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
1182 : this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
1183 : }
1184 : // @@protoc_insertion_point(serialize_to_array_end:Odb.Lib.Protobuf.ContourPolygon)
1185 505711 : return target;
1186 : }
1187 :
1188 : #if defined(PROTOBUF_CUSTOM_VTABLE)
1189 : ::size_t ContourPolygon::ByteSizeLong(const MessageLite& base) {
1190 : const ContourPolygon& this_ = static_cast<const ContourPolygon&>(base);
1191 : #else // PROTOBUF_CUSTOM_VTABLE
1192 669946 : ::size_t ContourPolygon::ByteSizeLong() const {
1193 669946 : const ContourPolygon& this_ = *this;
1194 : #endif // PROTOBUF_CUSTOM_VTABLE
1195 : // @@protoc_insertion_point(message_byte_size_start:Odb.Lib.Protobuf.ContourPolygon)
1196 669946 : ::size_t total_size = 0;
1197 :
1198 669946 : ::uint32_t cached_has_bits = 0;
1199 : // Prevent compiler warnings about cached_has_bits being unused
1200 : (void)cached_has_bits;
1201 :
1202 : ::_pbi::Prefetch5LinesFrom7Lines(&this_);
1203 669946 : cached_has_bits = this_._impl_._has_bits_[0];
1204 669946 : total_size += ::absl::popcount(0x00000006U & cached_has_bits) * 9;
1205 669946 : if (BatchCheckHasBit(cached_has_bits, 0x00000009U)) {
1206 : // repeated .Odb.Lib.Protobuf.ContourPolygon.PolygonPart polygonParts = 4;
1207 669946 : if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
1208 669946 : total_size += 1UL * this_._internal_polygonparts_size();
1209 7748763 : for (const auto& msg : this_._internal_polygonparts()) {
1210 7078817 : total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
1211 : }
1212 : }
1213 : // optional .Odb.Lib.Protobuf.ContourPolygon.Type type = 1;
1214 669946 : if (CheckHasBit(cached_has_bits, 0x00000008U)) {
1215 669946 : total_size += 1 +
1216 669946 : ::_pbi::WireFormatLite::EnumSize(this_._internal_type());
1217 : }
1218 : }
1219 669946 : return this_.MaybeComputeUnknownFieldsSize(total_size,
1220 669946 : &this_._impl_._cached_size_);
1221 : }
1222 :
1223 489359 : void ContourPolygon::MergeImpl(::google::protobuf::MessageLite& to_msg,
1224 : const ::google::protobuf::MessageLite& from_msg) {
1225 489359 : auto* const _this =
1226 : static_cast<ContourPolygon*>(&to_msg);
1227 489359 : auto& from = static_cast<const ContourPolygon&>(from_msg);
1228 : if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
1229 489359 : from.CheckHasBitConsistency();
1230 : }
1231 489359 : ::google::protobuf::Arena* arena = _this->GetArena();
1232 : // @@protoc_insertion_point(class_specific_merge_from_start:Odb.Lib.Protobuf.ContourPolygon)
1233 489359 : ABSL_DCHECK_NE(&from, _this);
1234 489359 : ::uint32_t cached_has_bits = 0;
1235 : (void)cached_has_bits;
1236 :
1237 489359 : cached_has_bits = from._impl_._has_bits_[0];
1238 489359 : if (BatchCheckHasBit(cached_has_bits, 0x0000000fU)) {
1239 489359 : if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
1240 978718 : _this->_internal_mutable_polygonparts()->InternalMergeFromWithArena(
1241 489359 : ::google::protobuf::MessageLite::internal_visibility(), arena,
1242 : from._internal_polygonparts());
1243 : }
1244 489359 : if (CheckHasBit(cached_has_bits, 0x00000002U)) {
1245 489359 : _this->_impl_.xstart_ = from._impl_.xstart_;
1246 : }
1247 489359 : if (CheckHasBit(cached_has_bits, 0x00000004U)) {
1248 489359 : _this->_impl_.ystart_ = from._impl_.ystart_;
1249 : }
1250 489359 : if (CheckHasBit(cached_has_bits, 0x00000008U)) {
1251 489359 : _this->_impl_.type_ = from._impl_.type_;
1252 : }
1253 : }
1254 489359 : _this->_impl_._has_bits_[0] |= cached_has_bits;
1255 489359 : _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
1256 489359 : from._internal_metadata_);
1257 489359 : }
1258 :
1259 489359 : void ContourPolygon::CopyFrom(const ContourPolygon& from) {
1260 : // @@protoc_insertion_point(class_specific_copy_from_start:Odb.Lib.Protobuf.ContourPolygon)
1261 489359 : if (&from == this) return;
1262 489359 : Clear();
1263 489359 : MergeFrom(from);
1264 : }
1265 :
1266 :
1267 0 : void ContourPolygon::InternalSwap(ContourPolygon* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
1268 : using ::std::swap;
1269 0 : _internal_metadata_.InternalSwap(&other->_internal_metadata_);
1270 0 : swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
1271 0 : _impl_.polygonparts_.InternalSwap(&other->_impl_.polygonparts_);
1272 : ::google::protobuf::internal::memswap<
1273 : PROTOBUF_FIELD_OFFSET(ContourPolygon, _impl_.type_)
1274 : + sizeof(ContourPolygon::_impl_.type_)
1275 0 : - PROTOBUF_FIELD_OFFSET(ContourPolygon, _impl_.xstart_)>(
1276 0 : reinterpret_cast<char*>(&_impl_.xstart_),
1277 0 : reinterpret_cast<char*>(&other->_impl_.xstart_));
1278 0 : }
1279 :
1280 0 : ::google::protobuf::Metadata ContourPolygon::GetMetadata() const {
1281 0 : return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
1282 : }
1283 : // @@protoc_insertion_point(namespace_scope)
1284 : } // namespace Protobuf
1285 : } // namespace Lib
1286 : } // namespace Odb
1287 : namespace google {
1288 : namespace protobuf {
1289 : } // namespace protobuf
1290 : } // namespace google
1291 : // @@protoc_insertion_point(global_scope)
1292 : PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 static ::std::false_type
1293 : _static_init2_ [[maybe_unused]] =
1294 : (::_pbi::AddDescriptors(&descriptor_table_common_2eproto),
1295 : ::std::false_type{});
1296 : #include "google/protobuf/port_undef.inc"
|