Line data Source code
1 : // Generated by the protocol buffer compiler. DO NOT EDIT!
2 : // NO CHECKED-IN PROTOBUF GENCODE
3 : // source: connectivity.proto
4 : // Protobuf C++ Version: 6.33.4
5 :
6 : #include "connectivity.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 : namespace ProductModel {
31 :
32 : inline constexpr Connectivity_PackagePin::Impl_::Impl_(
33 : ::_pbi::ConstantInitialized) noexcept
34 : : _cached_size_{0},
35 : name_(
36 : &::google::protobuf::internal::fixed_address_empty_string,
37 : ::_pbi::ConstantInitialized()),
38 : number_{0u} {}
39 :
40 : template <typename>
41 : PROTOBUF_CONSTEXPR Connectivity_PackagePin::Connectivity_PackagePin(::_pbi::ConstantInitialized)
42 : #if defined(PROTOBUF_CUSTOM_VTABLE)
43 : : ::google::protobuf::Message(Connectivity_PackagePin_class_data_.base()),
44 : #else // PROTOBUF_CUSTOM_VTABLE
45 : : ::google::protobuf::Message(),
46 : #endif // PROTOBUF_CUSTOM_VTABLE
47 : _impl_(::_pbi::ConstantInitialized()) {
48 : }
49 : struct Connectivity_PackagePinDefaultTypeInternal {
50 : PROTOBUF_CONSTEXPR Connectivity_PackagePinDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
51 319 : ~Connectivity_PackagePinDefaultTypeInternal() {}
52 : union {
53 : Connectivity_PackagePin _instance;
54 : };
55 : };
56 :
57 : PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT ODBDESIGN_EXPORT
58 : PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 Connectivity_PackagePinDefaultTypeInternal _Connectivity_PackagePin_default_instance_;
59 :
60 : inline constexpr Connectivity_NetEntry::Impl_::Impl_(
61 : ::_pbi::ConstantInitialized) noexcept
62 : : _cached_size_{0},
63 : name_(
64 : &::google::protobuf::internal::fixed_address_empty_string,
65 : ::_pbi::ConstantInitialized()),
66 : ordinal_{0u} {}
67 :
68 : template <typename>
69 : PROTOBUF_CONSTEXPR Connectivity_NetEntry::Connectivity_NetEntry(::_pbi::ConstantInitialized)
70 : #if defined(PROTOBUF_CUSTOM_VTABLE)
71 : : ::google::protobuf::Message(Connectivity_NetEntry_class_data_.base()),
72 : #else // PROTOBUF_CUSTOM_VTABLE
73 : : ::google::protobuf::Message(),
74 : #endif // PROTOBUF_CUSTOM_VTABLE
75 : _impl_(::_pbi::ConstantInitialized()) {
76 : }
77 : struct Connectivity_NetEntryDefaultTypeInternal {
78 : PROTOBUF_CONSTEXPR Connectivity_NetEntryDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
79 319 : ~Connectivity_NetEntryDefaultTypeInternal() {}
80 : union {
81 : Connectivity_NetEntry _instance;
82 : };
83 : };
84 :
85 : PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT ODBDESIGN_EXPORT
86 : PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 Connectivity_NetEntryDefaultTypeInternal _Connectivity_NetEntry_default_instance_;
87 :
88 : inline constexpr Connectivity_Member::Impl_::Impl_(
89 : ::_pbi::ConstantInitialized) noexcept
90 : : _cached_size_{0},
91 : pin_{},
92 : _pin_cached_byte_size_{0},
93 : refdes_(
94 : &::google::protobuf::internal::fixed_address_empty_string,
95 : ::_pbi::ConstantInitialized()) {}
96 :
97 : template <typename>
98 : PROTOBUF_CONSTEXPR Connectivity_Member::Connectivity_Member(::_pbi::ConstantInitialized)
99 : #if defined(PROTOBUF_CUSTOM_VTABLE)
100 : : ::google::protobuf::Message(Connectivity_Member_class_data_.base()),
101 : #else // PROTOBUF_CUSTOM_VTABLE
102 : : ::google::protobuf::Message(),
103 : #endif // PROTOBUF_CUSTOM_VTABLE
104 : _impl_(::_pbi::ConstantInitialized()) {
105 : }
106 : struct Connectivity_MemberDefaultTypeInternal {
107 : PROTOBUF_CONSTEXPR Connectivity_MemberDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
108 319 : ~Connectivity_MemberDefaultTypeInternal() {}
109 : union {
110 : Connectivity_Member _instance;
111 : };
112 : };
113 :
114 : PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT ODBDESIGN_EXPORT
115 : PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 Connectivity_MemberDefaultTypeInternal _Connectivity_Member_default_instance_;
116 :
117 : inline constexpr Connectivity_Connection::Impl_::Impl_(
118 : ::_pbi::ConstantInitialized) noexcept
119 : : _cached_size_{0},
120 : subnets_{},
121 : _subnets_cached_byte_size_{0},
122 : kind_{static_cast< ::Odb::Lib::Protobuf::ProductModel::Connectivity_Connection_Kind >(0)},
123 : net_{0u} {}
124 :
125 : template <typename>
126 : PROTOBUF_CONSTEXPR Connectivity_Connection::Connectivity_Connection(::_pbi::ConstantInitialized)
127 : #if defined(PROTOBUF_CUSTOM_VTABLE)
128 : : ::google::protobuf::Message(Connectivity_Connection_class_data_.base()),
129 : #else // PROTOBUF_CUSTOM_VTABLE
130 : : ::google::protobuf::Message(),
131 : #endif // PROTOBUF_CUSTOM_VTABLE
132 : _impl_(::_pbi::ConstantInitialized()) {
133 : }
134 : struct Connectivity_ConnectionDefaultTypeInternal {
135 : PROTOBUF_CONSTEXPR Connectivity_ConnectionDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
136 319 : ~Connectivity_ConnectionDefaultTypeInternal() {}
137 : union {
138 : Connectivity_Connection _instance;
139 : };
140 : };
141 :
142 : PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT ODBDESIGN_EXPORT
143 : PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 Connectivity_ConnectionDefaultTypeInternal _Connectivity_Connection_default_instance_;
144 :
145 : inline constexpr Connectivity_PackagePins::Impl_::Impl_(
146 : ::_pbi::ConstantInitialized) noexcept
147 : : _cached_size_{0},
148 : pins_{},
149 : package_(
150 : &::google::protobuf::internal::fixed_address_empty_string,
151 : ::_pbi::ConstantInitialized()) {}
152 :
153 : template <typename>
154 : PROTOBUF_CONSTEXPR Connectivity_PackagePins::Connectivity_PackagePins(::_pbi::ConstantInitialized)
155 : #if defined(PROTOBUF_CUSTOM_VTABLE)
156 : : ::google::protobuf::Message(Connectivity_PackagePins_class_data_.base()),
157 : #else // PROTOBUF_CUSTOM_VTABLE
158 : : ::google::protobuf::Message(),
159 : #endif // PROTOBUF_CUSTOM_VTABLE
160 : _impl_(::_pbi::ConstantInitialized()) {
161 : }
162 : struct Connectivity_PackagePinsDefaultTypeInternal {
163 : PROTOBUF_CONSTEXPR Connectivity_PackagePinsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
164 319 : ~Connectivity_PackagePinsDefaultTypeInternal() {}
165 : union {
166 : Connectivity_PackagePins _instance;
167 : };
168 : };
169 :
170 : PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT ODBDESIGN_EXPORT
171 : PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 Connectivity_PackagePinsDefaultTypeInternal _Connectivity_PackagePins_default_instance_;
172 :
173 : inline constexpr Connectivity_NetMembers::Impl_::Impl_(
174 : ::_pbi::ConstantInitialized) noexcept
175 : : _cached_size_{0},
176 : members_{},
177 : net_{0u} {}
178 :
179 : template <typename>
180 : PROTOBUF_CONSTEXPR Connectivity_NetMembers::Connectivity_NetMembers(::_pbi::ConstantInitialized)
181 : #if defined(PROTOBUF_CUSTOM_VTABLE)
182 : : ::google::protobuf::Message(Connectivity_NetMembers_class_data_.base()),
183 : #else // PROTOBUF_CUSTOM_VTABLE
184 : : ::google::protobuf::Message(),
185 : #endif // PROTOBUF_CUSTOM_VTABLE
186 : _impl_(::_pbi::ConstantInitialized()) {
187 : }
188 : struct Connectivity_NetMembersDefaultTypeInternal {
189 : PROTOBUF_CONSTEXPR Connectivity_NetMembersDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
190 319 : ~Connectivity_NetMembersDefaultTypeInternal() {}
191 : union {
192 : Connectivity_NetMembers _instance;
193 : };
194 : };
195 :
196 : PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT ODBDESIGN_EXPORT
197 : PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 Connectivity_NetMembersDefaultTypeInternal _Connectivity_NetMembers_default_instance_;
198 :
199 : inline constexpr Connectivity_ComponentPin::Impl_::Impl_(
200 : ::_pbi::ConstantInitialized) noexcept
201 : : _cached_size_{0},
202 : name_(
203 : &::google::protobuf::internal::fixed_address_empty_string,
204 : ::_pbi::ConstantInitialized()),
205 : connection_{nullptr},
206 : number_{0u} {}
207 :
208 : template <typename>
209 : PROTOBUF_CONSTEXPR Connectivity_ComponentPin::Connectivity_ComponentPin(::_pbi::ConstantInitialized)
210 : #if defined(PROTOBUF_CUSTOM_VTABLE)
211 : : ::google::protobuf::Message(Connectivity_ComponentPin_class_data_.base()),
212 : #else // PROTOBUF_CUSTOM_VTABLE
213 : : ::google::protobuf::Message(),
214 : #endif // PROTOBUF_CUSTOM_VTABLE
215 : _impl_(::_pbi::ConstantInitialized()) {
216 : }
217 : struct Connectivity_ComponentPinDefaultTypeInternal {
218 : PROTOBUF_CONSTEXPR Connectivity_ComponentPinDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
219 319 : ~Connectivity_ComponentPinDefaultTypeInternal() {}
220 : union {
221 : Connectivity_ComponentPin _instance;
222 : };
223 : };
224 :
225 : PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT ODBDESIGN_EXPORT
226 : PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 Connectivity_ComponentPinDefaultTypeInternal _Connectivity_ComponentPin_default_instance_;
227 :
228 : inline constexpr Connectivity_PlacedComponent::Impl_::Impl_(
229 : ::_pbi::ConstantInitialized) noexcept
230 : : _cached_size_{0},
231 : pins_{},
232 : refdes_(
233 : &::google::protobuf::internal::fixed_address_empty_string,
234 : ::_pbi::ConstantInitialized()),
235 : package_(
236 : &::google::protobuf::internal::fixed_address_empty_string,
237 : ::_pbi::ConstantInitialized()),
238 : id_{0u},
239 : side_{static_cast< ::Odb::Lib::Protobuf::BoardSide >(0)} {}
240 :
241 : template <typename>
242 : PROTOBUF_CONSTEXPR Connectivity_PlacedComponent::Connectivity_PlacedComponent(::_pbi::ConstantInitialized)
243 : #if defined(PROTOBUF_CUSTOM_VTABLE)
244 : : ::google::protobuf::Message(Connectivity_PlacedComponent_class_data_.base()),
245 : #else // PROTOBUF_CUSTOM_VTABLE
246 : : ::google::protobuf::Message(),
247 : #endif // PROTOBUF_CUSTOM_VTABLE
248 : _impl_(::_pbi::ConstantInitialized()) {
249 : }
250 : struct Connectivity_PlacedComponentDefaultTypeInternal {
251 : PROTOBUF_CONSTEXPR Connectivity_PlacedComponentDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
252 319 : ~Connectivity_PlacedComponentDefaultTypeInternal() {}
253 : union {
254 : Connectivity_PlacedComponent _instance;
255 : };
256 : };
257 :
258 : PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT ODBDESIGN_EXPORT
259 : PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 Connectivity_PlacedComponentDefaultTypeInternal _Connectivity_PlacedComponent_default_instance_;
260 :
261 : inline constexpr Connectivity::Impl_::Impl_(
262 : ::_pbi::ConstantInitialized) noexcept
263 : : _cached_size_{0},
264 : nets_{},
265 : packages_{},
266 : components_{},
267 : netmembers_{} {}
268 :
269 : template <typename>
270 : PROTOBUF_CONSTEXPR Connectivity::Connectivity(::_pbi::ConstantInitialized)
271 : #if defined(PROTOBUF_CUSTOM_VTABLE)
272 : : ::google::protobuf::Message(Connectivity_class_data_.base()),
273 : #else // PROTOBUF_CUSTOM_VTABLE
274 : : ::google::protobuf::Message(),
275 : #endif // PROTOBUF_CUSTOM_VTABLE
276 : _impl_(::_pbi::ConstantInitialized()) {
277 : }
278 : struct ConnectivityDefaultTypeInternal {
279 : PROTOBUF_CONSTEXPR ConnectivityDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
280 319 : ~ConnectivityDefaultTypeInternal() {}
281 : union {
282 : Connectivity _instance;
283 : };
284 : };
285 :
286 : PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT ODBDESIGN_EXPORT
287 : PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ConnectivityDefaultTypeInternal _Connectivity_default_instance_;
288 : } // namespace ProductModel
289 : } // namespace Protobuf
290 : } // namespace Lib
291 : } // namespace Odb
292 : static const ::_pb::EnumDescriptor* PROTOBUF_NONNULL
293 : file_level_enum_descriptors_connectivity_2eproto[1];
294 : static constexpr const ::_pb::ServiceDescriptor* PROTOBUF_NONNULL* PROTOBUF_NULLABLE
295 : file_level_service_descriptors_connectivity_2eproto = nullptr;
296 : const ::uint32_t
297 : TableStruct_connectivity_2eproto::offsets[] ABSL_ATTRIBUTE_SECTION_VARIABLE(
298 : protodesc_cold) = {
299 : 0x081, // bitmap
300 : PROTOBUF_FIELD_OFFSET(::Odb::Lib::Protobuf::ProductModel::Connectivity_NetEntry, _impl_._has_bits_),
301 : 5, // hasbit index offset
302 : PROTOBUF_FIELD_OFFSET(::Odb::Lib::Protobuf::ProductModel::Connectivity_NetEntry, _impl_.ordinal_),
303 : PROTOBUF_FIELD_OFFSET(::Odb::Lib::Protobuf::ProductModel::Connectivity_NetEntry, _impl_.name_),
304 : 1,
305 : 0,
306 : 0x081, // bitmap
307 : PROTOBUF_FIELD_OFFSET(::Odb::Lib::Protobuf::ProductModel::Connectivity_PackagePin, _impl_._has_bits_),
308 : 5, // hasbit index offset
309 : PROTOBUF_FIELD_OFFSET(::Odb::Lib::Protobuf::ProductModel::Connectivity_PackagePin, _impl_.number_),
310 : PROTOBUF_FIELD_OFFSET(::Odb::Lib::Protobuf::ProductModel::Connectivity_PackagePin, _impl_.name_),
311 : 1,
312 : 0,
313 : 0x081, // bitmap
314 : PROTOBUF_FIELD_OFFSET(::Odb::Lib::Protobuf::ProductModel::Connectivity_PackagePins, _impl_._has_bits_),
315 : 5, // hasbit index offset
316 : PROTOBUF_FIELD_OFFSET(::Odb::Lib::Protobuf::ProductModel::Connectivity_PackagePins, _impl_.package_),
317 : PROTOBUF_FIELD_OFFSET(::Odb::Lib::Protobuf::ProductModel::Connectivity_PackagePins, _impl_.pins_),
318 : 1,
319 : 0,
320 : 0x081, // bitmap
321 : PROTOBUF_FIELD_OFFSET(::Odb::Lib::Protobuf::ProductModel::Connectivity_Connection, _impl_._has_bits_),
322 : 6, // hasbit index offset
323 : PROTOBUF_FIELD_OFFSET(::Odb::Lib::Protobuf::ProductModel::Connectivity_Connection, _impl_.kind_),
324 : PROTOBUF_FIELD_OFFSET(::Odb::Lib::Protobuf::ProductModel::Connectivity_Connection, _impl_.net_),
325 : PROTOBUF_FIELD_OFFSET(::Odb::Lib::Protobuf::ProductModel::Connectivity_Connection, _impl_.subnets_),
326 : 1,
327 : 2,
328 : 0,
329 : 0x081, // bitmap
330 : PROTOBUF_FIELD_OFFSET(::Odb::Lib::Protobuf::ProductModel::Connectivity_ComponentPin, _impl_._has_bits_),
331 : 6, // hasbit index offset
332 : PROTOBUF_FIELD_OFFSET(::Odb::Lib::Protobuf::ProductModel::Connectivity_ComponentPin, _impl_.number_),
333 : PROTOBUF_FIELD_OFFSET(::Odb::Lib::Protobuf::ProductModel::Connectivity_ComponentPin, _impl_.name_),
334 : PROTOBUF_FIELD_OFFSET(::Odb::Lib::Protobuf::ProductModel::Connectivity_ComponentPin, _impl_.connection_),
335 : 2,
336 : 0,
337 : 1,
338 : 0x081, // bitmap
339 : PROTOBUF_FIELD_OFFSET(::Odb::Lib::Protobuf::ProductModel::Connectivity_PlacedComponent, _impl_._has_bits_),
340 : 8, // hasbit index offset
341 : PROTOBUF_FIELD_OFFSET(::Odb::Lib::Protobuf::ProductModel::Connectivity_PlacedComponent, _impl_.refdes_),
342 : PROTOBUF_FIELD_OFFSET(::Odb::Lib::Protobuf::ProductModel::Connectivity_PlacedComponent, _impl_.id_),
343 : PROTOBUF_FIELD_OFFSET(::Odb::Lib::Protobuf::ProductModel::Connectivity_PlacedComponent, _impl_.side_),
344 : PROTOBUF_FIELD_OFFSET(::Odb::Lib::Protobuf::ProductModel::Connectivity_PlacedComponent, _impl_.package_),
345 : PROTOBUF_FIELD_OFFSET(::Odb::Lib::Protobuf::ProductModel::Connectivity_PlacedComponent, _impl_.pins_),
346 : 1,
347 : 3,
348 : 4,
349 : 2,
350 : 0,
351 : 0x081, // bitmap
352 : PROTOBUF_FIELD_OFFSET(::Odb::Lib::Protobuf::ProductModel::Connectivity_Member, _impl_._has_bits_),
353 : 5, // hasbit index offset
354 : PROTOBUF_FIELD_OFFSET(::Odb::Lib::Protobuf::ProductModel::Connectivity_Member, _impl_.refdes_),
355 : PROTOBUF_FIELD_OFFSET(::Odb::Lib::Protobuf::ProductModel::Connectivity_Member, _impl_.pin_),
356 : 1,
357 : 0,
358 : 0x081, // bitmap
359 : PROTOBUF_FIELD_OFFSET(::Odb::Lib::Protobuf::ProductModel::Connectivity_NetMembers, _impl_._has_bits_),
360 : 5, // hasbit index offset
361 : PROTOBUF_FIELD_OFFSET(::Odb::Lib::Protobuf::ProductModel::Connectivity_NetMembers, _impl_.net_),
362 : PROTOBUF_FIELD_OFFSET(::Odb::Lib::Protobuf::ProductModel::Connectivity_NetMembers, _impl_.members_),
363 : 1,
364 : 0,
365 : 0x081, // bitmap
366 : PROTOBUF_FIELD_OFFSET(::Odb::Lib::Protobuf::ProductModel::Connectivity, _impl_._has_bits_),
367 : 7, // hasbit index offset
368 : PROTOBUF_FIELD_OFFSET(::Odb::Lib::Protobuf::ProductModel::Connectivity, _impl_.nets_),
369 : PROTOBUF_FIELD_OFFSET(::Odb::Lib::Protobuf::ProductModel::Connectivity, _impl_.packages_),
370 : PROTOBUF_FIELD_OFFSET(::Odb::Lib::Protobuf::ProductModel::Connectivity, _impl_.components_),
371 : PROTOBUF_FIELD_OFFSET(::Odb::Lib::Protobuf::ProductModel::Connectivity, _impl_.netmembers_),
372 : 0,
373 : 1,
374 : 2,
375 : 3,
376 : };
377 :
378 : static const ::_pbi::MigrationSchema
379 : schemas[] ABSL_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = {
380 : {0, sizeof(::Odb::Lib::Protobuf::ProductModel::Connectivity_NetEntry)},
381 : {7, sizeof(::Odb::Lib::Protobuf::ProductModel::Connectivity_PackagePin)},
382 : {14, sizeof(::Odb::Lib::Protobuf::ProductModel::Connectivity_PackagePins)},
383 : {21, sizeof(::Odb::Lib::Protobuf::ProductModel::Connectivity_Connection)},
384 : {30, sizeof(::Odb::Lib::Protobuf::ProductModel::Connectivity_ComponentPin)},
385 : {39, sizeof(::Odb::Lib::Protobuf::ProductModel::Connectivity_PlacedComponent)},
386 : {52, sizeof(::Odb::Lib::Protobuf::ProductModel::Connectivity_Member)},
387 : {59, sizeof(::Odb::Lib::Protobuf::ProductModel::Connectivity_NetMembers)},
388 : {66, sizeof(::Odb::Lib::Protobuf::ProductModel::Connectivity)},
389 : };
390 : static const ::_pb::Message* PROTOBUF_NONNULL const file_default_instances[] = {
391 : &::Odb::Lib::Protobuf::ProductModel::_Connectivity_NetEntry_default_instance_._instance,
392 : &::Odb::Lib::Protobuf::ProductModel::_Connectivity_PackagePin_default_instance_._instance,
393 : &::Odb::Lib::Protobuf::ProductModel::_Connectivity_PackagePins_default_instance_._instance,
394 : &::Odb::Lib::Protobuf::ProductModel::_Connectivity_Connection_default_instance_._instance,
395 : &::Odb::Lib::Protobuf::ProductModel::_Connectivity_ComponentPin_default_instance_._instance,
396 : &::Odb::Lib::Protobuf::ProductModel::_Connectivity_PlacedComponent_default_instance_._instance,
397 : &::Odb::Lib::Protobuf::ProductModel::_Connectivity_Member_default_instance_._instance,
398 : &::Odb::Lib::Protobuf::ProductModel::_Connectivity_NetMembers_default_instance_._instance,
399 : &::Odb::Lib::Protobuf::ProductModel::_Connectivity_default_instance_._instance,
400 : };
401 : const char descriptor_table_protodef_connectivity_2eproto[] ABSL_ATTRIBUTE_SECTION_VARIABLE(
402 : protodesc_cold) = {
403 : "\n\022connectivity.proto\022\035Odb.Lib.Protobuf.P"
404 : "roductModel\032\013enums.proto\"\345\010\n\014Connectivit"
405 : "y\022B\n\004nets\030\001 \003(\01324.Odb.Lib.Protobuf.Produ"
406 : "ctModel.Connectivity.NetEntry\022I\n\010package"
407 : "s\030\002 \003(\01327.Odb.Lib.Protobuf.ProductModel."
408 : "Connectivity.PackagePins\022O\n\ncomponents\030\003"
409 : " \003(\0132;.Odb.Lib.Protobuf.ProductModel.Con"
410 : "nectivity.PlacedComponent\022J\n\nnetMembers\030"
411 : "\004 \003(\01326.Odb.Lib.Protobuf.ProductModel.Co"
412 : "nnectivity.NetMembers\032)\n\010NetEntry\022\017\n\007ord"
413 : "inal\030\001 \001(\r\022\014\n\004name\030\002 \001(\t\032*\n\nPackagePin\022\016"
414 : "\n\006number\030\001 \001(\r\022\014\n\004name\030\002 \001(\t\032d\n\013PackageP"
415 : "ins\022\017\n\007package\030\001 \001(\t\022D\n\004pins\030\002 \003(\01326.Odb"
416 : ".Lib.Protobuf.ProductModel.Connectivity."
417 : "PackagePin\032\252\001\n\nConnection\022I\n\004kind\030\001 \001(\0162"
418 : ";.Odb.Lib.Protobuf.ProductModel.Connecti"
419 : "vity.Connection.Kind\022\013\n\003net\030\002 \001(\r\022\017\n\007sub"
420 : "nets\030\003 \003(\r\"3\n\004Kind\022\013\n\007UNKNOWN\020\000\022\r\n\tCONNE"
421 : "CTED\020\001\022\017\n\013UNCONNECTED\020\002\032x\n\014ComponentPin\022"
422 : "\016\n\006number\030\001 \001(\r\022\014\n\004name\030\002 \001(\t\022J\n\nconnect"
423 : "ion\030\003 \001(\01326.Odb.Lib.Protobuf.ProductMode"
424 : "l.Connectivity.Connection\032\275\001\n\017PlacedComp"
425 : "onent\022\016\n\006refDes\030\001 \001(\t\022\017\n\002id\030\002 \001(\rH\000\210\001\001\022)"
426 : "\n\004side\030\003 \001(\0162\033.Odb.Lib.Protobuf.BoardSid"
427 : "e\022\017\n\007package\030\004 \001(\t\022F\n\004pins\030\005 \003(\01328.Odb.L"
428 : "ib.Protobuf.ProductModel.Connectivity.Co"
429 : "mponentPinB\005\n\003_id\032%\n\006Member\022\016\n\006refDes\030\001 "
430 : "\001(\t\022\013\n\003pin\030\002 \003(\r\032^\n\nNetMembers\022\013\n\003net\030\001 "
431 : "\001(\r\022C\n\007members\030\002 \003(\01322.Odb.Lib.Protobuf."
432 : "ProductModel.Connectivity.MemberB\003\370\001\001b\006p"
433 : "roto3"
434 : };
435 : static const ::_pbi::DescriptorTable* PROTOBUF_NONNULL const
436 : descriptor_table_connectivity_2eproto_deps[1] = {
437 : &::descriptor_table_enums_2eproto,
438 : };
439 : static ::absl::once_flag descriptor_table_connectivity_2eproto_once;
440 : PROTOBUF_CONSTINIT const ::_pbi::DescriptorTable descriptor_table_connectivity_2eproto = {
441 : false,
442 : false,
443 : 1205,
444 : descriptor_table_protodef_connectivity_2eproto,
445 : "connectivity.proto",
446 : &descriptor_table_connectivity_2eproto_once,
447 : descriptor_table_connectivity_2eproto_deps,
448 : 1,
449 : 9,
450 : schemas,
451 : file_default_instances,
452 : TableStruct_connectivity_2eproto::offsets,
453 : file_level_enum_descriptors_connectivity_2eproto,
454 : file_level_service_descriptors_connectivity_2eproto,
455 : };
456 : namespace Odb {
457 : namespace Lib {
458 : namespace Protobuf {
459 : namespace ProductModel {
460 0 : const ::google::protobuf::EnumDescriptor* PROTOBUF_NONNULL Connectivity_Connection_Kind_descriptor() {
461 0 : ::google::protobuf::internal::AssignDescriptors(&descriptor_table_connectivity_2eproto);
462 0 : return file_level_enum_descriptors_connectivity_2eproto[0];
463 : }
464 : PROTOBUF_CONSTINIT const uint32_t Connectivity_Connection_Kind_internal_data_[] = {
465 : 196608u, 0u, };
466 : // ===================================================================
467 :
468 : class Connectivity_NetEntry::_Internal {
469 : public:
470 : using HasBits =
471 : decltype(::std::declval<Connectivity_NetEntry>()._impl_._has_bits_);
472 : static constexpr ::int32_t kHasBitsOffset =
473 : 8 * PROTOBUF_FIELD_OFFSET(Connectivity_NetEntry, _impl_._has_bits_);
474 : };
475 :
476 68825 : Connectivity_NetEntry::Connectivity_NetEntry(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
477 : #if defined(PROTOBUF_CUSTOM_VTABLE)
478 : : ::google::protobuf::Message(arena, Connectivity_NetEntry_class_data_.base()) {
479 : #else // PROTOBUF_CUSTOM_VTABLE
480 68825 : : ::google::protobuf::Message(arena) {
481 : #endif // PROTOBUF_CUSTOM_VTABLE
482 68825 : SharedCtor(arena);
483 : // @@protoc_insertion_point(arena_constructor:Odb.Lib.Protobuf.ProductModel.Connectivity.NetEntry)
484 68825 : }
485 17388 : PROTOBUF_NDEBUG_INLINE Connectivity_NetEntry::Impl_::Impl_(
486 : [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
487 : [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
488 17388 : [[maybe_unused]] const ::Odb::Lib::Protobuf::ProductModel::Connectivity_NetEntry& from_msg)
489 17388 : : _has_bits_{from._has_bits_},
490 17388 : _cached_size_{0},
491 17388 : name_(arena, from.name_) {}
492 :
493 17388 : Connectivity_NetEntry::Connectivity_NetEntry(
494 : ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
495 17388 : const Connectivity_NetEntry& from)
496 : #if defined(PROTOBUF_CUSTOM_VTABLE)
497 : : ::google::protobuf::Message(arena, Connectivity_NetEntry_class_data_.base()) {
498 : #else // PROTOBUF_CUSTOM_VTABLE
499 17388 : : ::google::protobuf::Message(arena) {
500 : #endif // PROTOBUF_CUSTOM_VTABLE
501 17388 : Connectivity_NetEntry* const _this = this;
502 : (void)_this;
503 17388 : _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
504 17388 : from._internal_metadata_);
505 17388 : new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
506 17388 : _impl_.ordinal_ = from._impl_.ordinal_;
507 :
508 : // @@protoc_insertion_point(copy_constructor:Odb.Lib.Protobuf.ProductModel.Connectivity.NetEntry)
509 17388 : }
510 68825 : PROTOBUF_NDEBUG_INLINE Connectivity_NetEntry::Impl_::Impl_(
511 : [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
512 68825 : [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
513 68825 : : _cached_size_{0},
514 137650 : name_(arena) {}
515 :
516 68825 : inline void Connectivity_NetEntry::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
517 68825 : new (&_impl_) Impl_(internal_visibility(), arena);
518 68825 : _impl_.ordinal_ = {};
519 68825 : }
520 172426 : Connectivity_NetEntry::~Connectivity_NetEntry() {
521 : // @@protoc_insertion_point(destructor:Odb.Lib.Protobuf.ProductModel.Connectivity.NetEntry)
522 86213 : SharedDtor(*this);
523 172426 : }
524 86213 : inline void Connectivity_NetEntry::SharedDtor(MessageLite& self) {
525 86213 : Connectivity_NetEntry& this_ = static_cast<Connectivity_NetEntry&>(self);
526 : if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
527 86213 : this_.CheckHasBitConsistency();
528 : }
529 86213 : this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
530 86213 : ABSL_DCHECK(this_.GetArena() == nullptr);
531 86213 : this_._impl_.name_.Destroy();
532 86213 : this_._impl_.~Impl_();
533 86213 : }
534 :
535 12236 : inline void* PROTOBUF_NONNULL Connectivity_NetEntry::PlacementNew_(
536 : const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
537 : ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
538 12236 : return ::new (mem) Connectivity_NetEntry(arena);
539 : }
540 : constexpr auto Connectivity_NetEntry::InternalNewImpl_() {
541 : return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(Connectivity_NetEntry),
542 : alignof(Connectivity_NetEntry));
543 : }
544 : constexpr auto Connectivity_NetEntry::InternalGenerateClassData_() {
545 : return ::google::protobuf::internal::ClassDataFull{
546 : ::google::protobuf::internal::ClassData{
547 : &_Connectivity_NetEntry_default_instance_._instance,
548 : &_table_.header,
549 : nullptr, // OnDemandRegisterArenaDtor
550 : nullptr, // IsInitialized
551 : &Connectivity_NetEntry::MergeImpl,
552 : ::google::protobuf::Message::GetNewImpl<Connectivity_NetEntry>(),
553 : #if defined(PROTOBUF_CUSTOM_VTABLE)
554 : &Connectivity_NetEntry::SharedDtor,
555 : ::google::protobuf::Message::GetClearImpl<Connectivity_NetEntry>(), &Connectivity_NetEntry::ByteSizeLong,
556 : &Connectivity_NetEntry::_InternalSerialize,
557 : #endif // PROTOBUF_CUSTOM_VTABLE
558 : PROTOBUF_FIELD_OFFSET(Connectivity_NetEntry, _impl_._cached_size_),
559 : false,
560 : },
561 : &Connectivity_NetEntry::kDescriptorMethods,
562 : &descriptor_table_connectivity_2eproto,
563 : nullptr, // tracker
564 : };
565 : }
566 :
567 : PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
568 : ::google::protobuf::internal::ClassDataFull Connectivity_NetEntry_class_data_ =
569 : Connectivity_NetEntry::InternalGenerateClassData_();
570 :
571 : PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
572 290616 : Connectivity_NetEntry::GetClassData() const {
573 290616 : ::google::protobuf::internal::PrefetchToLocalCache(&Connectivity_NetEntry_class_data_);
574 290616 : ::google::protobuf::internal::PrefetchToLocalCache(Connectivity_NetEntry_class_data_.tc_table);
575 290616 : return Connectivity_NetEntry_class_data_.base();
576 : }
577 : PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
578 : const ::_pbi::TcParseTable<1, 2, 0, 64, 2>
579 : Connectivity_NetEntry::_table_ = {
580 : {
581 : PROTOBUF_FIELD_OFFSET(Connectivity_NetEntry, _impl_._has_bits_),
582 : 0, // no _extensions_
583 : 2, 8, // max_field_number, fast_idx_mask
584 : offsetof(decltype(_table_), field_lookup_table),
585 : 4294967292, // skipmap
586 : offsetof(decltype(_table_), field_entries),
587 : 2, // num_field_entries
588 : 0, // num_aux_entries
589 : offsetof(decltype(_table_), field_names), // no aux_entries
590 : Connectivity_NetEntry_class_data_.base(),
591 : nullptr, // post_loop_handler
592 : ::_pbi::TcParser::GenericFallback, // fallback
593 : #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
594 : ::_pbi::TcParser::GetTable<::Odb::Lib::Protobuf::ProductModel::Connectivity_NetEntry>(), // to_prefetch
595 : #endif // PROTOBUF_PREFETCH_PARSE_TABLE
596 : }, {{
597 : // string name = 2;
598 : {::_pbi::TcParser::FastUS1,
599 : {18, 0, 0,
600 : PROTOBUF_FIELD_OFFSET(Connectivity_NetEntry, _impl_.name_)}},
601 : // uint32 ordinal = 1;
602 : {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(Connectivity_NetEntry, _impl_.ordinal_), 1>(),
603 : {8, 1, 0,
604 : PROTOBUF_FIELD_OFFSET(Connectivity_NetEntry, _impl_.ordinal_)}},
605 : }}, {{
606 : 65535, 65535
607 : }}, {{
608 : // uint32 ordinal = 1;
609 : {PROTOBUF_FIELD_OFFSET(Connectivity_NetEntry, _impl_.ordinal_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kUInt32)},
610 : // string name = 2;
611 : {PROTOBUF_FIELD_OFFSET(Connectivity_NetEntry, _impl_.name_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)},
612 : }},
613 : // no aux_entries
614 : {{
615 : "\63\0\4\0\0\0\0\0"
616 : "Odb.Lib.Protobuf.ProductModel.Connectivity.NetEntry"
617 : "name"
618 : }},
619 : };
620 0 : PROTOBUF_NOINLINE void Connectivity_NetEntry::Clear() {
621 : // @@protoc_insertion_point(message_clear_start:Odb.Lib.Protobuf.ProductModel.Connectivity.NetEntry)
622 0 : ::google::protobuf::internal::TSanWrite(&_impl_);
623 0 : ::uint32_t cached_has_bits = 0;
624 : // Prevent compiler warnings about cached_has_bits being unused
625 : (void) cached_has_bits;
626 :
627 0 : cached_has_bits = _impl_._has_bits_[0];
628 0 : if (CheckHasBit(cached_has_bits, 0x00000001U)) {
629 0 : _impl_.name_.ClearNonDefaultToEmpty();
630 : }
631 0 : _impl_.ordinal_ = 0u;
632 0 : _impl_._has_bits_.Clear();
633 0 : _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
634 0 : }
635 :
636 : #if defined(PROTOBUF_CUSTOM_VTABLE)
637 : ::uint8_t* PROTOBUF_NONNULL Connectivity_NetEntry::_InternalSerialize(
638 : const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
639 : ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
640 : const Connectivity_NetEntry& this_ = static_cast<const Connectivity_NetEntry&>(base);
641 : #else // PROTOBUF_CUSTOM_VTABLE
642 59710 : ::uint8_t* PROTOBUF_NONNULL Connectivity_NetEntry::_InternalSerialize(
643 : ::uint8_t* PROTOBUF_NONNULL target,
644 : ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
645 59710 : const Connectivity_NetEntry& this_ = *this;
646 : #endif // PROTOBUF_CUSTOM_VTABLE
647 : if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
648 59710 : this_.CheckHasBitConsistency();
649 : }
650 : // @@protoc_insertion_point(serialize_to_array_start:Odb.Lib.Protobuf.ProductModel.Connectivity.NetEntry)
651 59710 : ::uint32_t cached_has_bits = 0;
652 : (void)cached_has_bits;
653 :
654 59710 : cached_has_bits = this_._impl_._has_bits_[0];
655 : // uint32 ordinal = 1;
656 59710 : if (CheckHasBit(cached_has_bits, 0x00000002U)) {
657 59692 : if (this_._internal_ordinal() != 0) {
658 59618 : target = stream->EnsureSpace(target);
659 59618 : target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
660 : 1, this_._internal_ordinal(), target);
661 : }
662 : }
663 :
664 : // string name = 2;
665 59710 : if (CheckHasBit(cached_has_bits, 0x00000001U)) {
666 59710 : if (!this_._internal_name().empty()) {
667 59710 : const ::std::string& _s = this_._internal_name();
668 119420 : ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
669 59710 : _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "Odb.Lib.Protobuf.ProductModel.Connectivity.NetEntry.name");
670 59710 : target = stream->WriteStringMaybeAliased(2, _s, target);
671 : }
672 : }
673 :
674 59710 : if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
675 : target =
676 0 : ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
677 : this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
678 : }
679 : // @@protoc_insertion_point(serialize_to_array_end:Odb.Lib.Protobuf.ProductModel.Connectivity.NetEntry)
680 59710 : return target;
681 : }
682 :
683 : #if defined(PROTOBUF_CUSTOM_VTABLE)
684 : ::size_t Connectivity_NetEntry::ByteSizeLong(const MessageLite& base) {
685 : const Connectivity_NetEntry& this_ = static_cast<const Connectivity_NetEntry&>(base);
686 : #else // PROTOBUF_CUSTOM_VTABLE
687 79096 : ::size_t Connectivity_NetEntry::ByteSizeLong() const {
688 79096 : const Connectivity_NetEntry& this_ = *this;
689 : #endif // PROTOBUF_CUSTOM_VTABLE
690 : // @@protoc_insertion_point(message_byte_size_start:Odb.Lib.Protobuf.ProductModel.Connectivity.NetEntry)
691 79096 : ::size_t total_size = 0;
692 :
693 79096 : ::uint32_t cached_has_bits = 0;
694 : // Prevent compiler warnings about cached_has_bits being unused
695 : (void)cached_has_bits;
696 :
697 : ::_pbi::Prefetch5LinesFrom7Lines(&this_);
698 79096 : cached_has_bits = this_._impl_._has_bits_[0];
699 79096 : if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
700 : // string name = 2;
701 79096 : if (CheckHasBit(cached_has_bits, 0x00000001U)) {
702 79096 : if (!this_._internal_name().empty()) {
703 79096 : total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
704 : this_._internal_name());
705 : }
706 : }
707 : // uint32 ordinal = 1;
708 79096 : if (CheckHasBit(cached_has_bits, 0x00000002U)) {
709 79078 : if (this_._internal_ordinal() != 0) {
710 78974 : total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
711 : this_._internal_ordinal());
712 : }
713 : }
714 : }
715 79096 : return this_.MaybeComputeUnknownFieldsSize(total_size,
716 79096 : &this_._impl_._cached_size_);
717 : }
718 :
719 0 : void Connectivity_NetEntry::MergeImpl(::google::protobuf::MessageLite& to_msg,
720 : const ::google::protobuf::MessageLite& from_msg) {
721 0 : auto* const _this =
722 : static_cast<Connectivity_NetEntry*>(&to_msg);
723 0 : auto& from = static_cast<const Connectivity_NetEntry&>(from_msg);
724 : if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
725 0 : from.CheckHasBitConsistency();
726 : }
727 : // @@protoc_insertion_point(class_specific_merge_from_start:Odb.Lib.Protobuf.ProductModel.Connectivity.NetEntry)
728 0 : ABSL_DCHECK_NE(&from, _this);
729 0 : ::uint32_t cached_has_bits = 0;
730 : (void)cached_has_bits;
731 :
732 0 : cached_has_bits = from._impl_._has_bits_[0];
733 0 : if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
734 0 : if (CheckHasBit(cached_has_bits, 0x00000001U)) {
735 0 : if (!from._internal_name().empty()) {
736 0 : _this->_internal_set_name(from._internal_name());
737 : } else {
738 0 : if (_this->_impl_.name_.IsDefault()) {
739 0 : _this->_internal_set_name("");
740 : }
741 : }
742 : }
743 0 : if (CheckHasBit(cached_has_bits, 0x00000002U)) {
744 0 : if (from._internal_ordinal() != 0) {
745 0 : _this->_impl_.ordinal_ = from._impl_.ordinal_;
746 : }
747 : }
748 : }
749 0 : _this->_impl_._has_bits_[0] |= cached_has_bits;
750 0 : _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
751 0 : from._internal_metadata_);
752 0 : }
753 :
754 0 : void Connectivity_NetEntry::CopyFrom(const Connectivity_NetEntry& from) {
755 : // @@protoc_insertion_point(class_specific_copy_from_start:Odb.Lib.Protobuf.ProductModel.Connectivity.NetEntry)
756 0 : if (&from == this) return;
757 0 : Clear();
758 0 : MergeFrom(from);
759 : }
760 :
761 :
762 0 : void Connectivity_NetEntry::InternalSwap(Connectivity_NetEntry* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
763 : using ::std::swap;
764 0 : auto* arena = GetArena();
765 0 : ABSL_DCHECK_EQ(arena, other->GetArena());
766 0 : _internal_metadata_.InternalSwap(&other->_internal_metadata_);
767 0 : swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
768 0 : ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.name_, &other->_impl_.name_, arena);
769 0 : swap(_impl_.ordinal_, other->_impl_.ordinal_);
770 0 : }
771 :
772 0 : ::google::protobuf::Metadata Connectivity_NetEntry::GetMetadata() const {
773 0 : return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
774 : }
775 : // ===================================================================
776 :
777 : class Connectivity_PackagePin::_Internal {
778 : public:
779 : using HasBits =
780 : decltype(::std::declval<Connectivity_PackagePin>()._impl_._has_bits_);
781 : static constexpr ::int32_t kHasBitsOffset =
782 : 8 * PROTOBUF_FIELD_OFFSET(Connectivity_PackagePin, _impl_._has_bits_);
783 : };
784 :
785 115650 : Connectivity_PackagePin::Connectivity_PackagePin(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
786 : #if defined(PROTOBUF_CUSTOM_VTABLE)
787 : : ::google::protobuf::Message(arena, Connectivity_PackagePin_class_data_.base()) {
788 : #else // PROTOBUF_CUSTOM_VTABLE
789 115650 : : ::google::protobuf::Message(arena) {
790 : #endif // PROTOBUF_CUSTOM_VTABLE
791 115650 : SharedCtor(arena);
792 : // @@protoc_insertion_point(arena_constructor:Odb.Lib.Protobuf.ProductModel.Connectivity.PackagePin)
793 115650 : }
794 27189 : PROTOBUF_NDEBUG_INLINE Connectivity_PackagePin::Impl_::Impl_(
795 : [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
796 : [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
797 27189 : [[maybe_unused]] const ::Odb::Lib::Protobuf::ProductModel::Connectivity_PackagePin& from_msg)
798 27189 : : _has_bits_{from._has_bits_},
799 27189 : _cached_size_{0},
800 27189 : name_(arena, from.name_) {}
801 :
802 27189 : Connectivity_PackagePin::Connectivity_PackagePin(
803 : ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
804 27189 : const Connectivity_PackagePin& from)
805 : #if defined(PROTOBUF_CUSTOM_VTABLE)
806 : : ::google::protobuf::Message(arena, Connectivity_PackagePin_class_data_.base()) {
807 : #else // PROTOBUF_CUSTOM_VTABLE
808 27189 : : ::google::protobuf::Message(arena) {
809 : #endif // PROTOBUF_CUSTOM_VTABLE
810 27189 : Connectivity_PackagePin* const _this = this;
811 : (void)_this;
812 27189 : _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
813 27189 : from._internal_metadata_);
814 27189 : new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
815 27189 : _impl_.number_ = from._impl_.number_;
816 :
817 : // @@protoc_insertion_point(copy_constructor:Odb.Lib.Protobuf.ProductModel.Connectivity.PackagePin)
818 27189 : }
819 115650 : PROTOBUF_NDEBUG_INLINE Connectivity_PackagePin::Impl_::Impl_(
820 : [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
821 115650 : [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
822 115650 : : _cached_size_{0},
823 231300 : name_(arena) {}
824 :
825 115650 : inline void Connectivity_PackagePin::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
826 115650 : new (&_impl_) Impl_(internal_visibility(), arena);
827 115650 : _impl_.number_ = {};
828 115650 : }
829 285678 : Connectivity_PackagePin::~Connectivity_PackagePin() {
830 : // @@protoc_insertion_point(destructor:Odb.Lib.Protobuf.ProductModel.Connectivity.PackagePin)
831 142839 : SharedDtor(*this);
832 285678 : }
833 142839 : inline void Connectivity_PackagePin::SharedDtor(MessageLite& self) {
834 142839 : Connectivity_PackagePin& this_ = static_cast<Connectivity_PackagePin&>(self);
835 : if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
836 142839 : this_.CheckHasBitConsistency();
837 : }
838 142839 : this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
839 142839 : ABSL_DCHECK(this_.GetArena() == nullptr);
840 142839 : this_._impl_.name_.Destroy();
841 142839 : this_._impl_.~Impl_();
842 142839 : }
843 :
844 19133 : inline void* PROTOBUF_NONNULL Connectivity_PackagePin::PlacementNew_(
845 : const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
846 : ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
847 19133 : return ::new (mem) Connectivity_PackagePin(arena);
848 : }
849 : constexpr auto Connectivity_PackagePin::InternalNewImpl_() {
850 : return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(Connectivity_PackagePin),
851 : alignof(Connectivity_PackagePin));
852 : }
853 : constexpr auto Connectivity_PackagePin::InternalGenerateClassData_() {
854 : return ::google::protobuf::internal::ClassDataFull{
855 : ::google::protobuf::internal::ClassData{
856 : &_Connectivity_PackagePin_default_instance_._instance,
857 : &_table_.header,
858 : nullptr, // OnDemandRegisterArenaDtor
859 : nullptr, // IsInitialized
860 : &Connectivity_PackagePin::MergeImpl,
861 : ::google::protobuf::Message::GetNewImpl<Connectivity_PackagePin>(),
862 : #if defined(PROTOBUF_CUSTOM_VTABLE)
863 : &Connectivity_PackagePin::SharedDtor,
864 : ::google::protobuf::Message::GetClearImpl<Connectivity_PackagePin>(), &Connectivity_PackagePin::ByteSizeLong,
865 : &Connectivity_PackagePin::_InternalSerialize,
866 : #endif // PROTOBUF_CUSTOM_VTABLE
867 : PROTOBUF_FIELD_OFFSET(Connectivity_PackagePin, _impl_._cached_size_),
868 : false,
869 : },
870 : &Connectivity_PackagePin::kDescriptorMethods,
871 : &descriptor_table_connectivity_2eproto,
872 : nullptr, // tracker
873 : };
874 : }
875 :
876 : PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
877 : ::google::protobuf::internal::ClassDataFull Connectivity_PackagePin_class_data_ =
878 : Connectivity_PackagePin::InternalGenerateClassData_();
879 :
880 : PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
881 493139 : Connectivity_PackagePin::GetClassData() const {
882 493139 : ::google::protobuf::internal::PrefetchToLocalCache(&Connectivity_PackagePin_class_data_);
883 493139 : ::google::protobuf::internal::PrefetchToLocalCache(Connectivity_PackagePin_class_data_.tc_table);
884 493139 : return Connectivity_PackagePin_class_data_.base();
885 : }
886 : PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
887 : const ::_pbi::TcParseTable<1, 2, 0, 66, 2>
888 : Connectivity_PackagePin::_table_ = {
889 : {
890 : PROTOBUF_FIELD_OFFSET(Connectivity_PackagePin, _impl_._has_bits_),
891 : 0, // no _extensions_
892 : 2, 8, // max_field_number, fast_idx_mask
893 : offsetof(decltype(_table_), field_lookup_table),
894 : 4294967292, // skipmap
895 : offsetof(decltype(_table_), field_entries),
896 : 2, // num_field_entries
897 : 0, // num_aux_entries
898 : offsetof(decltype(_table_), field_names), // no aux_entries
899 : Connectivity_PackagePin_class_data_.base(),
900 : nullptr, // post_loop_handler
901 : ::_pbi::TcParser::GenericFallback, // fallback
902 : #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
903 : ::_pbi::TcParser::GetTable<::Odb::Lib::Protobuf::ProductModel::Connectivity_PackagePin>(), // to_prefetch
904 : #endif // PROTOBUF_PREFETCH_PARSE_TABLE
905 : }, {{
906 : // string name = 2;
907 : {::_pbi::TcParser::FastUS1,
908 : {18, 0, 0,
909 : PROTOBUF_FIELD_OFFSET(Connectivity_PackagePin, _impl_.name_)}},
910 : // uint32 number = 1;
911 : {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(Connectivity_PackagePin, _impl_.number_), 1>(),
912 : {8, 1, 0,
913 : PROTOBUF_FIELD_OFFSET(Connectivity_PackagePin, _impl_.number_)}},
914 : }}, {{
915 : 65535, 65535
916 : }}, {{
917 : // uint32 number = 1;
918 : {PROTOBUF_FIELD_OFFSET(Connectivity_PackagePin, _impl_.number_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kUInt32)},
919 : // string name = 2;
920 : {PROTOBUF_FIELD_OFFSET(Connectivity_PackagePin, _impl_.name_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)},
921 : }},
922 : // no aux_entries
923 : {{
924 : "\65\0\4\0\0\0\0\0"
925 : "Odb.Lib.Protobuf.ProductModel.Connectivity.PackagePin"
926 : "name"
927 : }},
928 : };
929 0 : PROTOBUF_NOINLINE void Connectivity_PackagePin::Clear() {
930 : // @@protoc_insertion_point(message_clear_start:Odb.Lib.Protobuf.ProductModel.Connectivity.PackagePin)
931 0 : ::google::protobuf::internal::TSanWrite(&_impl_);
932 0 : ::uint32_t cached_has_bits = 0;
933 : // Prevent compiler warnings about cached_has_bits being unused
934 : (void) cached_has_bits;
935 :
936 0 : cached_has_bits = _impl_._has_bits_[0];
937 0 : if (CheckHasBit(cached_has_bits, 0x00000001U)) {
938 0 : _impl_.name_.ClearNonDefaultToEmpty();
939 : }
940 0 : _impl_.number_ = 0u;
941 0 : _impl_._has_bits_.Clear();
942 0 : _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
943 0 : }
944 :
945 : #if defined(PROTOBUF_CUSTOM_VTABLE)
946 : ::uint8_t* PROTOBUF_NONNULL Connectivity_PackagePin::_InternalSerialize(
947 : const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
948 : ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
949 : const Connectivity_PackagePin& this_ = static_cast<const Connectivity_PackagePin&>(base);
950 : #else // PROTOBUF_CUSTOM_VTABLE
951 99980 : ::uint8_t* PROTOBUF_NONNULL Connectivity_PackagePin::_InternalSerialize(
952 : ::uint8_t* PROTOBUF_NONNULL target,
953 : ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
954 99980 : const Connectivity_PackagePin& this_ = *this;
955 : #endif // PROTOBUF_CUSTOM_VTABLE
956 : if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
957 99980 : this_.CheckHasBitConsistency();
958 : }
959 : // @@protoc_insertion_point(serialize_to_array_start:Odb.Lib.Protobuf.ProductModel.Connectivity.PackagePin)
960 99980 : ::uint32_t cached_has_bits = 0;
961 : (void)cached_has_bits;
962 :
963 99980 : cached_has_bits = this_._impl_._has_bits_[0];
964 : // uint32 number = 1;
965 99980 : if (CheckHasBit(cached_has_bits, 0x00000002U)) {
966 98720 : if (this_._internal_number() != 0) {
967 91916 : target = stream->EnsureSpace(target);
968 91916 : target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
969 : 1, this_._internal_number(), target);
970 : }
971 : }
972 :
973 : // string name = 2;
974 99980 : if (CheckHasBit(cached_has_bits, 0x00000001U)) {
975 99980 : if (!this_._internal_name().empty()) {
976 99980 : const ::std::string& _s = this_._internal_name();
977 199960 : ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
978 99980 : _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "Odb.Lib.Protobuf.ProductModel.Connectivity.PackagePin.name");
979 99980 : target = stream->WriteStringMaybeAliased(2, _s, target);
980 : }
981 : }
982 :
983 99980 : if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
984 : target =
985 0 : ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
986 : this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
987 : }
988 : // @@protoc_insertion_point(serialize_to_array_end:Odb.Lib.Protobuf.ProductModel.Connectivity.PackagePin)
989 99980 : return target;
990 : }
991 :
992 : #if defined(PROTOBUF_CUSTOM_VTABLE)
993 : ::size_t Connectivity_PackagePin::ByteSizeLong(const MessageLite& base) {
994 : const Connectivity_PackagePin& this_ = static_cast<const Connectivity_PackagePin&>(base);
995 : #else // PROTOBUF_CUSTOM_VTABLE
996 131238 : ::size_t Connectivity_PackagePin::ByteSizeLong() const {
997 131238 : const Connectivity_PackagePin& this_ = *this;
998 : #endif // PROTOBUF_CUSTOM_VTABLE
999 : // @@protoc_insertion_point(message_byte_size_start:Odb.Lib.Protobuf.ProductModel.Connectivity.PackagePin)
1000 131238 : ::size_t total_size = 0;
1001 :
1002 131238 : ::uint32_t cached_has_bits = 0;
1003 : // Prevent compiler warnings about cached_has_bits being unused
1004 : (void)cached_has_bits;
1005 :
1006 : ::_pbi::Prefetch5LinesFrom7Lines(&this_);
1007 131238 : cached_has_bits = this_._impl_._has_bits_[0];
1008 131238 : if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
1009 : // string name = 2;
1010 131238 : if (CheckHasBit(cached_has_bits, 0x00000001U)) {
1011 131238 : if (!this_._internal_name().empty()) {
1012 131238 : total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
1013 : this_._internal_name());
1014 : }
1015 : }
1016 : // uint32 number = 1;
1017 131238 : if (CheckHasBit(cached_has_bits, 0x00000002U)) {
1018 129978 : if (this_._internal_number() != 0) {
1019 120842 : total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
1020 : this_._internal_number());
1021 : }
1022 : }
1023 : }
1024 131238 : return this_.MaybeComputeUnknownFieldsSize(total_size,
1025 131238 : &this_._impl_._cached_size_);
1026 : }
1027 :
1028 0 : void Connectivity_PackagePin::MergeImpl(::google::protobuf::MessageLite& to_msg,
1029 : const ::google::protobuf::MessageLite& from_msg) {
1030 0 : auto* const _this =
1031 : static_cast<Connectivity_PackagePin*>(&to_msg);
1032 0 : auto& from = static_cast<const Connectivity_PackagePin&>(from_msg);
1033 : if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
1034 0 : from.CheckHasBitConsistency();
1035 : }
1036 : // @@protoc_insertion_point(class_specific_merge_from_start:Odb.Lib.Protobuf.ProductModel.Connectivity.PackagePin)
1037 0 : ABSL_DCHECK_NE(&from, _this);
1038 0 : ::uint32_t cached_has_bits = 0;
1039 : (void)cached_has_bits;
1040 :
1041 0 : cached_has_bits = from._impl_._has_bits_[0];
1042 0 : if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
1043 0 : if (CheckHasBit(cached_has_bits, 0x00000001U)) {
1044 0 : if (!from._internal_name().empty()) {
1045 0 : _this->_internal_set_name(from._internal_name());
1046 : } else {
1047 0 : if (_this->_impl_.name_.IsDefault()) {
1048 0 : _this->_internal_set_name("");
1049 : }
1050 : }
1051 : }
1052 0 : if (CheckHasBit(cached_has_bits, 0x00000002U)) {
1053 0 : if (from._internal_number() != 0) {
1054 0 : _this->_impl_.number_ = from._impl_.number_;
1055 : }
1056 : }
1057 : }
1058 0 : _this->_impl_._has_bits_[0] |= cached_has_bits;
1059 0 : _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
1060 0 : from._internal_metadata_);
1061 0 : }
1062 :
1063 0 : void Connectivity_PackagePin::CopyFrom(const Connectivity_PackagePin& from) {
1064 : // @@protoc_insertion_point(class_specific_copy_from_start:Odb.Lib.Protobuf.ProductModel.Connectivity.PackagePin)
1065 0 : if (&from == this) return;
1066 0 : Clear();
1067 0 : MergeFrom(from);
1068 : }
1069 :
1070 :
1071 0 : void Connectivity_PackagePin::InternalSwap(Connectivity_PackagePin* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
1072 : using ::std::swap;
1073 0 : auto* arena = GetArena();
1074 0 : ABSL_DCHECK_EQ(arena, other->GetArena());
1075 0 : _internal_metadata_.InternalSwap(&other->_internal_metadata_);
1076 0 : swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
1077 0 : ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.name_, &other->_impl_.name_, arena);
1078 0 : swap(_impl_.number_, other->_impl_.number_);
1079 0 : }
1080 :
1081 0 : ::google::protobuf::Metadata Connectivity_PackagePin::GetMetadata() const {
1082 0 : return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
1083 : }
1084 : // ===================================================================
1085 :
1086 : class Connectivity_PackagePins::_Internal {
1087 : public:
1088 : using HasBits =
1089 : decltype(::std::declval<Connectivity_PackagePins>()._impl_._has_bits_);
1090 : static constexpr ::int32_t kHasBitsOffset =
1091 : 8 * PROTOBUF_FIELD_OFFSET(Connectivity_PackagePins, _impl_._has_bits_);
1092 : };
1093 :
1094 9481 : Connectivity_PackagePins::Connectivity_PackagePins(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
1095 : #if defined(PROTOBUF_CUSTOM_VTABLE)
1096 : : ::google::protobuf::Message(arena, Connectivity_PackagePins_class_data_.base()) {
1097 : #else // PROTOBUF_CUSTOM_VTABLE
1098 9481 : : ::google::protobuf::Message(arena) {
1099 : #endif // PROTOBUF_CUSTOM_VTABLE
1100 9481 : SharedCtor(arena);
1101 : // @@protoc_insertion_point(arena_constructor:Odb.Lib.Protobuf.ProductModel.Connectivity.PackagePins)
1102 9481 : }
1103 1917 : PROTOBUF_NDEBUG_INLINE Connectivity_PackagePins::Impl_::Impl_(
1104 : [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
1105 : [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
1106 1917 : [[maybe_unused]] const ::Odb::Lib::Protobuf::ProductModel::Connectivity_PackagePins& from_msg)
1107 1917 : : _has_bits_{from._has_bits_},
1108 1917 : _cached_size_{0},
1109 1917 : pins_{visibility, arena, from.pins_},
1110 1917 : package_(arena, from.package_) {}
1111 :
1112 1917 : Connectivity_PackagePins::Connectivity_PackagePins(
1113 : ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
1114 1917 : const Connectivity_PackagePins& from)
1115 : #if defined(PROTOBUF_CUSTOM_VTABLE)
1116 : : ::google::protobuf::Message(arena, Connectivity_PackagePins_class_data_.base()) {
1117 : #else // PROTOBUF_CUSTOM_VTABLE
1118 1917 : : ::google::protobuf::Message(arena) {
1119 : #endif // PROTOBUF_CUSTOM_VTABLE
1120 1917 : Connectivity_PackagePins* const _this = this;
1121 : (void)_this;
1122 1917 : _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
1123 1917 : from._internal_metadata_);
1124 1917 : new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
1125 :
1126 : // @@protoc_insertion_point(copy_constructor:Odb.Lib.Protobuf.ProductModel.Connectivity.PackagePins)
1127 1917 : }
1128 9481 : PROTOBUF_NDEBUG_INLINE Connectivity_PackagePins::Impl_::Impl_(
1129 : [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
1130 9481 : [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
1131 9481 : : _cached_size_{0},
1132 9481 : pins_{visibility, arena},
1133 18962 : package_(arena) {}
1134 :
1135 9481 : inline void Connectivity_PackagePins::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
1136 9481 : new (&_impl_) Impl_(internal_visibility(), arena);
1137 9481 : }
1138 22796 : Connectivity_PackagePins::~Connectivity_PackagePins() {
1139 : // @@protoc_insertion_point(destructor:Odb.Lib.Protobuf.ProductModel.Connectivity.PackagePins)
1140 11398 : SharedDtor(*this);
1141 22796 : }
1142 11398 : inline void Connectivity_PackagePins::SharedDtor(MessageLite& self) {
1143 11398 : Connectivity_PackagePins& this_ = static_cast<Connectivity_PackagePins&>(self);
1144 : if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
1145 11398 : this_.CheckHasBitConsistency();
1146 : }
1147 11398 : this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
1148 11398 : ABSL_DCHECK(this_.GetArena() == nullptr);
1149 11398 : this_._impl_.package_.Destroy();
1150 11398 : this_._impl_.~Impl_();
1151 11398 : }
1152 :
1153 1349 : inline void* PROTOBUF_NONNULL Connectivity_PackagePins::PlacementNew_(
1154 : const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
1155 : ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
1156 1349 : return ::new (mem) Connectivity_PackagePins(arena);
1157 : }
1158 : constexpr auto Connectivity_PackagePins::InternalNewImpl_() {
1159 : constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({
1160 : PROTOBUF_FIELD_OFFSET(Connectivity_PackagePins, _impl_.pins_) +
1161 : decltype(Connectivity_PackagePins::_impl_.pins_)::
1162 : InternalGetArenaOffset(
1163 : ::google::protobuf::Message::internal_visibility()),
1164 : });
1165 : if (arena_bits.has_value()) {
1166 : return ::google::protobuf::internal::MessageCreator::CopyInit(
1167 : sizeof(Connectivity_PackagePins), alignof(Connectivity_PackagePins), *arena_bits);
1168 : } else {
1169 : return ::google::protobuf::internal::MessageCreator(&Connectivity_PackagePins::PlacementNew_,
1170 : sizeof(Connectivity_PackagePins),
1171 : alignof(Connectivity_PackagePins));
1172 : }
1173 : }
1174 : constexpr auto Connectivity_PackagePins::InternalGenerateClassData_() {
1175 : return ::google::protobuf::internal::ClassDataFull{
1176 : ::google::protobuf::internal::ClassData{
1177 : &_Connectivity_PackagePins_default_instance_._instance,
1178 : &_table_.header,
1179 : nullptr, // OnDemandRegisterArenaDtor
1180 : nullptr, // IsInitialized
1181 : &Connectivity_PackagePins::MergeImpl,
1182 : ::google::protobuf::Message::GetNewImpl<Connectivity_PackagePins>(),
1183 : #if defined(PROTOBUF_CUSTOM_VTABLE)
1184 : &Connectivity_PackagePins::SharedDtor,
1185 : ::google::protobuf::Message::GetClearImpl<Connectivity_PackagePins>(), &Connectivity_PackagePins::ByteSizeLong,
1186 : &Connectivity_PackagePins::_InternalSerialize,
1187 : #endif // PROTOBUF_CUSTOM_VTABLE
1188 : PROTOBUF_FIELD_OFFSET(Connectivity_PackagePins, _impl_._cached_size_),
1189 : false,
1190 : },
1191 : &Connectivity_PackagePins::kDescriptorMethods,
1192 : &descriptor_table_connectivity_2eproto,
1193 : nullptr, // tracker
1194 : };
1195 : }
1196 :
1197 : PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
1198 : ::google::protobuf::internal::ClassDataFull Connectivity_PackagePins_class_data_ =
1199 : Connectivity_PackagePins::InternalGenerateClassData_();
1200 :
1201 : PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
1202 131844 : Connectivity_PackagePins::GetClassData() const {
1203 131844 : ::google::protobuf::internal::PrefetchToLocalCache(&Connectivity_PackagePins_class_data_);
1204 131844 : ::google::protobuf::internal::PrefetchToLocalCache(Connectivity_PackagePins_class_data_.tc_table);
1205 131844 : return Connectivity_PackagePins_class_data_.base();
1206 : }
1207 : PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
1208 : const ::_pbi::TcParseTable<1, 2, 1, 70, 2>
1209 : Connectivity_PackagePins::_table_ = {
1210 : {
1211 : PROTOBUF_FIELD_OFFSET(Connectivity_PackagePins, _impl_._has_bits_),
1212 : 0, // no _extensions_
1213 : 2, 8, // max_field_number, fast_idx_mask
1214 : offsetof(decltype(_table_), field_lookup_table),
1215 : 4294967292, // skipmap
1216 : offsetof(decltype(_table_), field_entries),
1217 : 2, // num_field_entries
1218 : 1, // num_aux_entries
1219 : offsetof(decltype(_table_), aux_entries),
1220 : Connectivity_PackagePins_class_data_.base(),
1221 : nullptr, // post_loop_handler
1222 : ::_pbi::TcParser::GenericFallback, // fallback
1223 : #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
1224 : ::_pbi::TcParser::GetTable<::Odb::Lib::Protobuf::ProductModel::Connectivity_PackagePins>(), // to_prefetch
1225 : #endif // PROTOBUF_PREFETCH_PARSE_TABLE
1226 : }, {{
1227 : // repeated .Odb.Lib.Protobuf.ProductModel.Connectivity.PackagePin pins = 2;
1228 : {::_pbi::TcParser::FastMtR1,
1229 : {18, 0, 0,
1230 : PROTOBUF_FIELD_OFFSET(Connectivity_PackagePins, _impl_.pins_)}},
1231 : // string package = 1;
1232 : {::_pbi::TcParser::FastUS1,
1233 : {10, 1, 0,
1234 : PROTOBUF_FIELD_OFFSET(Connectivity_PackagePins, _impl_.package_)}},
1235 : }}, {{
1236 : 65535, 65535
1237 : }}, {{
1238 : // string package = 1;
1239 : {PROTOBUF_FIELD_OFFSET(Connectivity_PackagePins, _impl_.package_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)},
1240 : // repeated .Odb.Lib.Protobuf.ProductModel.Connectivity.PackagePin pins = 2;
1241 : {PROTOBUF_FIELD_OFFSET(Connectivity_PackagePins, _impl_.pins_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
1242 : }},
1243 : {{
1244 : {::_pbi::TcParser::GetTable<::Odb::Lib::Protobuf::ProductModel::Connectivity_PackagePin>()},
1245 : }},
1246 : {{
1247 : "\66\7\0\0\0\0\0\0"
1248 : "Odb.Lib.Protobuf.ProductModel.Connectivity.PackagePins"
1249 : "package"
1250 : }},
1251 : };
1252 0 : PROTOBUF_NOINLINE void Connectivity_PackagePins::Clear() {
1253 : // @@protoc_insertion_point(message_clear_start:Odb.Lib.Protobuf.ProductModel.Connectivity.PackagePins)
1254 0 : ::google::protobuf::internal::TSanWrite(&_impl_);
1255 0 : ::uint32_t cached_has_bits = 0;
1256 : // Prevent compiler warnings about cached_has_bits being unused
1257 : (void) cached_has_bits;
1258 :
1259 0 : cached_has_bits = _impl_._has_bits_[0];
1260 0 : if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
1261 0 : if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
1262 0 : _impl_.pins_.Clear();
1263 : }
1264 0 : if (CheckHasBit(cached_has_bits, 0x00000002U)) {
1265 0 : _impl_.package_.ClearNonDefaultToEmpty();
1266 : }
1267 : }
1268 0 : _impl_._has_bits_.Clear();
1269 0 : _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
1270 0 : }
1271 :
1272 : #if defined(PROTOBUF_CUSTOM_VTABLE)
1273 : ::uint8_t* PROTOBUF_NONNULL Connectivity_PackagePins::_InternalSerialize(
1274 : const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
1275 : ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
1276 : const Connectivity_PackagePins& this_ = static_cast<const Connectivity_PackagePins&>(base);
1277 : #else // PROTOBUF_CUSTOM_VTABLE
1278 8142 : ::uint8_t* PROTOBUF_NONNULL Connectivity_PackagePins::_InternalSerialize(
1279 : ::uint8_t* PROTOBUF_NONNULL target,
1280 : ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
1281 8142 : const Connectivity_PackagePins& this_ = *this;
1282 : #endif // PROTOBUF_CUSTOM_VTABLE
1283 : if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
1284 8142 : this_.CheckHasBitConsistency();
1285 : }
1286 : // @@protoc_insertion_point(serialize_to_array_start:Odb.Lib.Protobuf.ProductModel.Connectivity.PackagePins)
1287 8142 : ::uint32_t cached_has_bits = 0;
1288 : (void)cached_has_bits;
1289 :
1290 8142 : cached_has_bits = this_._impl_._has_bits_[0];
1291 : // string package = 1;
1292 8142 : if (CheckHasBit(cached_has_bits, 0x00000002U)) {
1293 8142 : if (!this_._internal_package().empty()) {
1294 8142 : const ::std::string& _s = this_._internal_package();
1295 16284 : ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
1296 8142 : _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "Odb.Lib.Protobuf.ProductModel.Connectivity.PackagePins.package");
1297 8142 : target = stream->WriteStringMaybeAliased(1, _s, target);
1298 : }
1299 : }
1300 :
1301 : // repeated .Odb.Lib.Protobuf.ProductModel.Connectivity.PackagePin pins = 2;
1302 8142 : if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
1303 116108 : for (unsigned i = 0, n = static_cast<unsigned>(
1304 8064 : this_._internal_pins_size());
1305 108044 : i < n; i++) {
1306 99980 : const auto& repfield = this_._internal_pins().Get(i);
1307 : target =
1308 99980 : ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
1309 : 2, repfield, repfield.GetCachedSize(),
1310 : target, stream);
1311 : }
1312 : }
1313 :
1314 8142 : if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
1315 : target =
1316 0 : ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
1317 : this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
1318 : }
1319 : // @@protoc_insertion_point(serialize_to_array_end:Odb.Lib.Protobuf.ProductModel.Connectivity.PackagePins)
1320 8142 : return target;
1321 : }
1322 :
1323 : #if defined(PROTOBUF_CUSTOM_VTABLE)
1324 : ::size_t Connectivity_PackagePins::ByteSizeLong(const MessageLite& base) {
1325 : const Connectivity_PackagePins& this_ = static_cast<const Connectivity_PackagePins&>(base);
1326 : #else // PROTOBUF_CUSTOM_VTABLE
1327 10502 : ::size_t Connectivity_PackagePins::ByteSizeLong() const {
1328 10502 : const Connectivity_PackagePins& this_ = *this;
1329 : #endif // PROTOBUF_CUSTOM_VTABLE
1330 : // @@protoc_insertion_point(message_byte_size_start:Odb.Lib.Protobuf.ProductModel.Connectivity.PackagePins)
1331 10502 : ::size_t total_size = 0;
1332 :
1333 10502 : ::uint32_t cached_has_bits = 0;
1334 : // Prevent compiler warnings about cached_has_bits being unused
1335 : (void)cached_has_bits;
1336 :
1337 : ::_pbi::Prefetch5LinesFrom7Lines(&this_);
1338 10502 : cached_has_bits = this_._impl_._has_bits_[0];
1339 10502 : if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
1340 : // repeated .Odb.Lib.Protobuf.ProductModel.Connectivity.PackagePin pins = 2;
1341 10502 : if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
1342 10396 : total_size += 1UL * this_._internal_pins_size();
1343 141634 : for (const auto& msg : this_._internal_pins()) {
1344 131238 : total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
1345 : }
1346 : }
1347 : // string package = 1;
1348 10502 : if (CheckHasBit(cached_has_bits, 0x00000002U)) {
1349 10502 : if (!this_._internal_package().empty()) {
1350 10502 : total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
1351 : this_._internal_package());
1352 : }
1353 : }
1354 : }
1355 10502 : return this_.MaybeComputeUnknownFieldsSize(total_size,
1356 10502 : &this_._impl_._cached_size_);
1357 : }
1358 :
1359 0 : void Connectivity_PackagePins::MergeImpl(::google::protobuf::MessageLite& to_msg,
1360 : const ::google::protobuf::MessageLite& from_msg) {
1361 0 : auto* const _this =
1362 : static_cast<Connectivity_PackagePins*>(&to_msg);
1363 0 : auto& from = static_cast<const Connectivity_PackagePins&>(from_msg);
1364 : if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
1365 0 : from.CheckHasBitConsistency();
1366 : }
1367 0 : ::google::protobuf::Arena* arena = _this->GetArena();
1368 : // @@protoc_insertion_point(class_specific_merge_from_start:Odb.Lib.Protobuf.ProductModel.Connectivity.PackagePins)
1369 0 : ABSL_DCHECK_NE(&from, _this);
1370 0 : ::uint32_t cached_has_bits = 0;
1371 : (void)cached_has_bits;
1372 :
1373 0 : cached_has_bits = from._impl_._has_bits_[0];
1374 0 : if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
1375 0 : if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
1376 0 : _this->_internal_mutable_pins()->InternalMergeFromWithArena(
1377 0 : ::google::protobuf::MessageLite::internal_visibility(), arena,
1378 : from._internal_pins());
1379 : }
1380 0 : if (CheckHasBit(cached_has_bits, 0x00000002U)) {
1381 0 : if (!from._internal_package().empty()) {
1382 0 : _this->_internal_set_package(from._internal_package());
1383 : } else {
1384 0 : if (_this->_impl_.package_.IsDefault()) {
1385 0 : _this->_internal_set_package("");
1386 : }
1387 : }
1388 : }
1389 : }
1390 0 : _this->_impl_._has_bits_[0] |= cached_has_bits;
1391 0 : _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
1392 0 : from._internal_metadata_);
1393 0 : }
1394 :
1395 0 : void Connectivity_PackagePins::CopyFrom(const Connectivity_PackagePins& from) {
1396 : // @@protoc_insertion_point(class_specific_copy_from_start:Odb.Lib.Protobuf.ProductModel.Connectivity.PackagePins)
1397 0 : if (&from == this) return;
1398 0 : Clear();
1399 0 : MergeFrom(from);
1400 : }
1401 :
1402 :
1403 0 : void Connectivity_PackagePins::InternalSwap(Connectivity_PackagePins* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
1404 : using ::std::swap;
1405 0 : auto* arena = GetArena();
1406 0 : ABSL_DCHECK_EQ(arena, other->GetArena());
1407 0 : _internal_metadata_.InternalSwap(&other->_internal_metadata_);
1408 0 : swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
1409 0 : _impl_.pins_.InternalSwap(&other->_impl_.pins_);
1410 0 : ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.package_, &other->_impl_.package_, arena);
1411 0 : }
1412 :
1413 0 : ::google::protobuf::Metadata Connectivity_PackagePins::GetMetadata() const {
1414 0 : return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
1415 : }
1416 : // ===================================================================
1417 :
1418 : class Connectivity_Connection::_Internal {
1419 : public:
1420 : using HasBits =
1421 : decltype(::std::declval<Connectivity_Connection>()._impl_._has_bits_);
1422 : static constexpr ::int32_t kHasBitsOffset =
1423 : 8 * PROTOBUF_FIELD_OFFSET(Connectivity_Connection, _impl_._has_bits_);
1424 : };
1425 :
1426 291778 : Connectivity_Connection::Connectivity_Connection(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
1427 : #if defined(PROTOBUF_CUSTOM_VTABLE)
1428 : : ::google::protobuf::Message(arena, Connectivity_Connection_class_data_.base()) {
1429 : #else // PROTOBUF_CUSTOM_VTABLE
1430 291778 : : ::google::protobuf::Message(arena) {
1431 : #endif // PROTOBUF_CUSTOM_VTABLE
1432 291778 : SharedCtor(arena);
1433 : // @@protoc_insertion_point(arena_constructor:Odb.Lib.Protobuf.ProductModel.Connectivity.Connection)
1434 291778 : }
1435 75897 : PROTOBUF_NDEBUG_INLINE Connectivity_Connection::Impl_::Impl_(
1436 : [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
1437 : [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
1438 75897 : [[maybe_unused]] const ::Odb::Lib::Protobuf::ProductModel::Connectivity_Connection& from_msg)
1439 75897 : : _has_bits_{from._has_bits_},
1440 75897 : _cached_size_{0},
1441 75897 : subnets_{visibility, arena, from.subnets_},
1442 75897 : _subnets_cached_byte_size_{0} {}
1443 :
1444 75897 : Connectivity_Connection::Connectivity_Connection(
1445 : ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
1446 75897 : const Connectivity_Connection& from)
1447 : #if defined(PROTOBUF_CUSTOM_VTABLE)
1448 : : ::google::protobuf::Message(arena, Connectivity_Connection_class_data_.base()) {
1449 : #else // PROTOBUF_CUSTOM_VTABLE
1450 75897 : : ::google::protobuf::Message(arena) {
1451 : #endif // PROTOBUF_CUSTOM_VTABLE
1452 75897 : Connectivity_Connection* const _this = this;
1453 : (void)_this;
1454 75897 : _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
1455 75897 : from._internal_metadata_);
1456 75897 : new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
1457 75897 : ::memcpy(reinterpret_cast<char*>(&_impl_) +
1458 : offsetof(Impl_, kind_),
1459 75897 : reinterpret_cast<const char*>(&from._impl_) +
1460 : offsetof(Impl_, kind_),
1461 : offsetof(Impl_, net_) -
1462 : offsetof(Impl_, kind_) +
1463 : sizeof(Impl_::net_));
1464 :
1465 : // @@protoc_insertion_point(copy_constructor:Odb.Lib.Protobuf.ProductModel.Connectivity.Connection)
1466 75897 : }
1467 291778 : PROTOBUF_NDEBUG_INLINE Connectivity_Connection::Impl_::Impl_(
1468 : [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
1469 291778 : [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
1470 291778 : : _cached_size_{0},
1471 291778 : subnets_{visibility, arena},
1472 583556 : _subnets_cached_byte_size_{0} {}
1473 :
1474 291778 : inline void Connectivity_Connection::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
1475 291778 : new (&_impl_) Impl_(internal_visibility(), arena);
1476 291778 : ::memset(reinterpret_cast<char*>(&_impl_) +
1477 : offsetof(Impl_, kind_),
1478 : 0,
1479 : offsetof(Impl_, net_) -
1480 : offsetof(Impl_, kind_) +
1481 : sizeof(Impl_::net_));
1482 291778 : }
1483 735350 : Connectivity_Connection::~Connectivity_Connection() {
1484 : // @@protoc_insertion_point(destructor:Odb.Lib.Protobuf.ProductModel.Connectivity.Connection)
1485 367675 : SharedDtor(*this);
1486 735350 : }
1487 367675 : inline void Connectivity_Connection::SharedDtor(MessageLite& self) {
1488 367675 : Connectivity_Connection& this_ = static_cast<Connectivity_Connection&>(self);
1489 : if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
1490 367675 : this_.CheckHasBitConsistency();
1491 : }
1492 367675 : this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
1493 367675 : ABSL_DCHECK(this_.GetArena() == nullptr);
1494 367675 : this_._impl_.~Impl_();
1495 367675 : }
1496 :
1497 53409 : inline void* PROTOBUF_NONNULL Connectivity_Connection::PlacementNew_(
1498 : const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
1499 : ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
1500 53409 : return ::new (mem) Connectivity_Connection(arena);
1501 : }
1502 : constexpr auto Connectivity_Connection::InternalNewImpl_() {
1503 : constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({
1504 : PROTOBUF_FIELD_OFFSET(Connectivity_Connection, _impl_.subnets_) +
1505 : decltype(Connectivity_Connection::_impl_.subnets_)::
1506 : InternalGetArenaOffset(
1507 : ::google::protobuf::Message::internal_visibility()),
1508 : });
1509 : if (arena_bits.has_value()) {
1510 : return ::google::protobuf::internal::MessageCreator::ZeroInit(
1511 : sizeof(Connectivity_Connection), alignof(Connectivity_Connection), *arena_bits);
1512 : } else {
1513 : return ::google::protobuf::internal::MessageCreator(&Connectivity_Connection::PlacementNew_,
1514 : sizeof(Connectivity_Connection),
1515 : alignof(Connectivity_Connection));
1516 : }
1517 : }
1518 : constexpr auto Connectivity_Connection::InternalGenerateClassData_() {
1519 : return ::google::protobuf::internal::ClassDataFull{
1520 : ::google::protobuf::internal::ClassData{
1521 : &_Connectivity_Connection_default_instance_._instance,
1522 : &_table_.header,
1523 : nullptr, // OnDemandRegisterArenaDtor
1524 : nullptr, // IsInitialized
1525 : &Connectivity_Connection::MergeImpl,
1526 : ::google::protobuf::Message::GetNewImpl<Connectivity_Connection>(),
1527 : #if defined(PROTOBUF_CUSTOM_VTABLE)
1528 : &Connectivity_Connection::SharedDtor,
1529 : ::google::protobuf::Message::GetClearImpl<Connectivity_Connection>(), &Connectivity_Connection::ByteSizeLong,
1530 : &Connectivity_Connection::_InternalSerialize,
1531 : #endif // PROTOBUF_CUSTOM_VTABLE
1532 : PROTOBUF_FIELD_OFFSET(Connectivity_Connection, _impl_._cached_size_),
1533 : false,
1534 : },
1535 : &Connectivity_Connection::kDescriptorMethods,
1536 : &descriptor_table_connectivity_2eproto,
1537 : nullptr, // tracker
1538 : };
1539 : }
1540 :
1541 : PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
1542 : ::google::protobuf::internal::ClassDataFull Connectivity_Connection_class_data_ =
1543 : Connectivity_Connection::InternalGenerateClassData_();
1544 :
1545 : PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
1546 1226711 : Connectivity_Connection::GetClassData() const {
1547 1226711 : ::google::protobuf::internal::PrefetchToLocalCache(&Connectivity_Connection_class_data_);
1548 1226711 : ::google::protobuf::internal::PrefetchToLocalCache(Connectivity_Connection_class_data_.tc_table);
1549 1226711 : return Connectivity_Connection_class_data_.base();
1550 : }
1551 : PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
1552 : const ::_pbi::TcParseTable<2, 3, 0, 0, 2>
1553 : Connectivity_Connection::_table_ = {
1554 : {
1555 : PROTOBUF_FIELD_OFFSET(Connectivity_Connection, _impl_._has_bits_),
1556 : 0, // no _extensions_
1557 : 3, 24, // max_field_number, fast_idx_mask
1558 : offsetof(decltype(_table_), field_lookup_table),
1559 : 4294967288, // skipmap
1560 : offsetof(decltype(_table_), field_entries),
1561 : 3, // num_field_entries
1562 : 0, // num_aux_entries
1563 : offsetof(decltype(_table_), field_names), // no aux_entries
1564 : Connectivity_Connection_class_data_.base(),
1565 : nullptr, // post_loop_handler
1566 : ::_pbi::TcParser::GenericFallback, // fallback
1567 : #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
1568 : ::_pbi::TcParser::GetTable<::Odb::Lib::Protobuf::ProductModel::Connectivity_Connection>(), // to_prefetch
1569 : #endif // PROTOBUF_PREFETCH_PARSE_TABLE
1570 : }, {{
1571 : {::_pbi::TcParser::MiniParse, {}},
1572 : // .Odb.Lib.Protobuf.ProductModel.Connectivity.Connection.Kind kind = 1;
1573 : {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(Connectivity_Connection, _impl_.kind_), 1>(),
1574 : {8, 1, 0,
1575 : PROTOBUF_FIELD_OFFSET(Connectivity_Connection, _impl_.kind_)}},
1576 : // uint32 net = 2;
1577 : {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(Connectivity_Connection, _impl_.net_), 2>(),
1578 : {16, 2, 0,
1579 : PROTOBUF_FIELD_OFFSET(Connectivity_Connection, _impl_.net_)}},
1580 : // repeated uint32 subnets = 3;
1581 : {::_pbi::TcParser::FastV32P1,
1582 : {26, 0, 0,
1583 : PROTOBUF_FIELD_OFFSET(Connectivity_Connection, _impl_.subnets_)}},
1584 : }}, {{
1585 : 65535, 65535
1586 : }}, {{
1587 : // .Odb.Lib.Protobuf.ProductModel.Connectivity.Connection.Kind kind = 1;
1588 : {PROTOBUF_FIELD_OFFSET(Connectivity_Connection, _impl_.kind_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kOpenEnum)},
1589 : // uint32 net = 2;
1590 : {PROTOBUF_FIELD_OFFSET(Connectivity_Connection, _impl_.net_), _Internal::kHasBitsOffset + 2, 0, (0 | ::_fl::kFcOptional | ::_fl::kUInt32)},
1591 : // repeated uint32 subnets = 3;
1592 : {PROTOBUF_FIELD_OFFSET(Connectivity_Connection, _impl_.subnets_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcRepeated | ::_fl::kPackedUInt32)},
1593 : }},
1594 : // no aux_entries
1595 : {{
1596 : }},
1597 : };
1598 0 : PROTOBUF_NOINLINE void Connectivity_Connection::Clear() {
1599 : // @@protoc_insertion_point(message_clear_start:Odb.Lib.Protobuf.ProductModel.Connectivity.Connection)
1600 0 : ::google::protobuf::internal::TSanWrite(&_impl_);
1601 0 : ::uint32_t cached_has_bits = 0;
1602 : // Prevent compiler warnings about cached_has_bits being unused
1603 : (void) cached_has_bits;
1604 :
1605 0 : cached_has_bits = _impl_._has_bits_[0];
1606 0 : if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
1607 0 : _impl_.subnets_.Clear();
1608 : }
1609 0 : if (BatchCheckHasBit(cached_has_bits, 0x00000006U)) {
1610 0 : ::memset(&_impl_.kind_, 0, static_cast<::size_t>(
1611 : reinterpret_cast<char*>(&_impl_.net_) -
1612 : reinterpret_cast<char*>(&_impl_.kind_)) + sizeof(_impl_.net_));
1613 : }
1614 0 : _impl_._has_bits_.Clear();
1615 0 : _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
1616 0 : }
1617 :
1618 : #if defined(PROTOBUF_CUSTOM_VTABLE)
1619 : ::uint8_t* PROTOBUF_NONNULL Connectivity_Connection::_InternalSerialize(
1620 : const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
1621 : ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
1622 : const Connectivity_Connection& this_ = static_cast<const Connectivity_Connection&>(base);
1623 : #else // PROTOBUF_CUSTOM_VTABLE
1624 253516 : ::uint8_t* PROTOBUF_NONNULL Connectivity_Connection::_InternalSerialize(
1625 : ::uint8_t* PROTOBUF_NONNULL target,
1626 : ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
1627 253516 : const Connectivity_Connection& this_ = *this;
1628 : #endif // PROTOBUF_CUSTOM_VTABLE
1629 : if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
1630 253516 : this_.CheckHasBitConsistency();
1631 : }
1632 : // @@protoc_insertion_point(serialize_to_array_start:Odb.Lib.Protobuf.ProductModel.Connectivity.Connection)
1633 253516 : ::uint32_t cached_has_bits = 0;
1634 : (void)cached_has_bits;
1635 :
1636 253516 : cached_has_bits = this_._impl_._has_bits_[0];
1637 : // .Odb.Lib.Protobuf.ProductModel.Connectivity.Connection.Kind kind = 1;
1638 253516 : if (CheckHasBit(cached_has_bits, 0x00000002U)) {
1639 253516 : if (this_._internal_kind() != 0) {
1640 253516 : target = stream->EnsureSpace(target);
1641 253516 : target = ::_pbi::WireFormatLite::WriteEnumToArray(
1642 253516 : 1, this_._internal_kind(), target);
1643 : }
1644 : }
1645 :
1646 : // uint32 net = 2;
1647 253516 : if (CheckHasBit(cached_has_bits, 0x00000004U)) {
1648 246808 : if (this_._internal_net() != 0) {
1649 246808 : target = stream->EnsureSpace(target);
1650 246808 : target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
1651 : 2, this_._internal_net(), target);
1652 : }
1653 : }
1654 :
1655 : // repeated uint32 subnets = 3;
1656 253516 : if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
1657 : {
1658 246808 : int byte_size = this_._impl_._subnets_cached_byte_size_.Get();
1659 246808 : if (byte_size > 0) {
1660 493616 : target = stream->WriteUInt32Packed(
1661 : 3, this_._internal_subnets(), byte_size, target);
1662 : }
1663 : }
1664 : }
1665 :
1666 253516 : if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
1667 : target =
1668 0 : ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
1669 : this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
1670 : }
1671 : // @@protoc_insertion_point(serialize_to_array_end:Odb.Lib.Protobuf.ProductModel.Connectivity.Connection)
1672 253516 : return target;
1673 : }
1674 :
1675 : #if defined(PROTOBUF_CUSTOM_VTABLE)
1676 : ::size_t Connectivity_Connection::ByteSizeLong(const MessageLite& base) {
1677 : const Connectivity_Connection& this_ = static_cast<const Connectivity_Connection&>(base);
1678 : #else // PROTOBUF_CUSTOM_VTABLE
1679 337118 : ::size_t Connectivity_Connection::ByteSizeLong() const {
1680 337118 : const Connectivity_Connection& this_ = *this;
1681 : #endif // PROTOBUF_CUSTOM_VTABLE
1682 : // @@protoc_insertion_point(message_byte_size_start:Odb.Lib.Protobuf.ProductModel.Connectivity.Connection)
1683 337118 : ::size_t total_size = 0;
1684 :
1685 337118 : ::uint32_t cached_has_bits = 0;
1686 : // Prevent compiler warnings about cached_has_bits being unused
1687 : (void)cached_has_bits;
1688 :
1689 : ::_pbi::Prefetch5LinesFrom7Lines(&this_);
1690 337118 : cached_has_bits = this_._impl_._has_bits_[0];
1691 337118 : if (BatchCheckHasBit(cached_has_bits, 0x00000007U)) {
1692 : // repeated uint32 subnets = 3;
1693 337118 : if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
1694 328002 : total_size +=
1695 328002 : ::_pbi::WireFormatLite::UInt32SizeWithPackedTagSize(
1696 : this_._internal_subnets(), 1,
1697 328002 : this_._impl_._subnets_cached_byte_size_);
1698 : }
1699 : // .Odb.Lib.Protobuf.ProductModel.Connectivity.Connection.Kind kind = 1;
1700 337118 : if (CheckHasBit(cached_has_bits, 0x00000002U)) {
1701 337118 : if (this_._internal_kind() != 0) {
1702 337118 : total_size += 1 +
1703 337118 : ::_pbi::WireFormatLite::EnumSize(this_._internal_kind());
1704 : }
1705 : }
1706 : // uint32 net = 2;
1707 337118 : if (CheckHasBit(cached_has_bits, 0x00000004U)) {
1708 328002 : if (this_._internal_net() != 0) {
1709 328002 : total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
1710 : this_._internal_net());
1711 : }
1712 : }
1713 : }
1714 337118 : return this_.MaybeComputeUnknownFieldsSize(total_size,
1715 337118 : &this_._impl_._cached_size_);
1716 : }
1717 :
1718 0 : void Connectivity_Connection::MergeImpl(::google::protobuf::MessageLite& to_msg,
1719 : const ::google::protobuf::MessageLite& from_msg) {
1720 0 : auto* const _this =
1721 : static_cast<Connectivity_Connection*>(&to_msg);
1722 0 : auto& from = static_cast<const Connectivity_Connection&>(from_msg);
1723 : if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
1724 0 : from.CheckHasBitConsistency();
1725 : }
1726 : // @@protoc_insertion_point(class_specific_merge_from_start:Odb.Lib.Protobuf.ProductModel.Connectivity.Connection)
1727 0 : ABSL_DCHECK_NE(&from, _this);
1728 0 : ::uint32_t cached_has_bits = 0;
1729 : (void)cached_has_bits;
1730 :
1731 0 : cached_has_bits = from._impl_._has_bits_[0];
1732 0 : if (BatchCheckHasBit(cached_has_bits, 0x00000007U)) {
1733 0 : if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
1734 0 : _this->_internal_mutable_subnets()->MergeFrom(from._internal_subnets());
1735 : }
1736 0 : if (CheckHasBit(cached_has_bits, 0x00000002U)) {
1737 0 : if (from._internal_kind() != 0) {
1738 0 : _this->_impl_.kind_ = from._impl_.kind_;
1739 : }
1740 : }
1741 0 : if (CheckHasBit(cached_has_bits, 0x00000004U)) {
1742 0 : if (from._internal_net() != 0) {
1743 0 : _this->_impl_.net_ = from._impl_.net_;
1744 : }
1745 : }
1746 : }
1747 0 : _this->_impl_._has_bits_[0] |= cached_has_bits;
1748 0 : _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
1749 0 : from._internal_metadata_);
1750 0 : }
1751 :
1752 0 : void Connectivity_Connection::CopyFrom(const Connectivity_Connection& from) {
1753 : // @@protoc_insertion_point(class_specific_copy_from_start:Odb.Lib.Protobuf.ProductModel.Connectivity.Connection)
1754 0 : if (&from == this) return;
1755 0 : Clear();
1756 0 : MergeFrom(from);
1757 : }
1758 :
1759 :
1760 0 : void Connectivity_Connection::InternalSwap(Connectivity_Connection* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
1761 : using ::std::swap;
1762 0 : _internal_metadata_.InternalSwap(&other->_internal_metadata_);
1763 0 : swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
1764 0 : _impl_.subnets_.InternalSwap(&other->_impl_.subnets_);
1765 : ::google::protobuf::internal::memswap<
1766 : PROTOBUF_FIELD_OFFSET(Connectivity_Connection, _impl_.net_)
1767 : + sizeof(Connectivity_Connection::_impl_.net_)
1768 0 : - PROTOBUF_FIELD_OFFSET(Connectivity_Connection, _impl_.kind_)>(
1769 0 : reinterpret_cast<char*>(&_impl_.kind_),
1770 0 : reinterpret_cast<char*>(&other->_impl_.kind_));
1771 0 : }
1772 :
1773 0 : ::google::protobuf::Metadata Connectivity_Connection::GetMetadata() const {
1774 0 : return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
1775 : }
1776 : // ===================================================================
1777 :
1778 : class Connectivity_ComponentPin::_Internal {
1779 : public:
1780 : using HasBits =
1781 : decltype(::std::declval<Connectivity_ComponentPin>()._impl_._has_bits_);
1782 : static constexpr ::int32_t kHasBitsOffset =
1783 : 8 * PROTOBUF_FIELD_OFFSET(Connectivity_ComponentPin, _impl_._has_bits_);
1784 : };
1785 :
1786 291778 : Connectivity_ComponentPin::Connectivity_ComponentPin(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
1787 : #if defined(PROTOBUF_CUSTOM_VTABLE)
1788 : : ::google::protobuf::Message(arena, Connectivity_ComponentPin_class_data_.base()) {
1789 : #else // PROTOBUF_CUSTOM_VTABLE
1790 291778 : : ::google::protobuf::Message(arena) {
1791 : #endif // PROTOBUF_CUSTOM_VTABLE
1792 291778 : SharedCtor(arena);
1793 : // @@protoc_insertion_point(arena_constructor:Odb.Lib.Protobuf.ProductModel.Connectivity.ComponentPin)
1794 291778 : }
1795 75897 : PROTOBUF_NDEBUG_INLINE Connectivity_ComponentPin::Impl_::Impl_(
1796 : [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
1797 : [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
1798 75897 : [[maybe_unused]] const ::Odb::Lib::Protobuf::ProductModel::Connectivity_ComponentPin& from_msg)
1799 75897 : : _has_bits_{from._has_bits_},
1800 75897 : _cached_size_{0},
1801 75897 : name_(arena, from.name_) {}
1802 :
1803 75897 : Connectivity_ComponentPin::Connectivity_ComponentPin(
1804 : ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
1805 75897 : const Connectivity_ComponentPin& from)
1806 : #if defined(PROTOBUF_CUSTOM_VTABLE)
1807 : : ::google::protobuf::Message(arena, Connectivity_ComponentPin_class_data_.base()) {
1808 : #else // PROTOBUF_CUSTOM_VTABLE
1809 75897 : : ::google::protobuf::Message(arena) {
1810 : #endif // PROTOBUF_CUSTOM_VTABLE
1811 75897 : Connectivity_ComponentPin* const _this = this;
1812 : (void)_this;
1813 75897 : _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
1814 75897 : from._internal_metadata_);
1815 75897 : new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
1816 75897 : ::uint32_t cached_has_bits = _impl_._has_bits_[0];
1817 151794 : _impl_.connection_ = (CheckHasBit(cached_has_bits, 0x00000002U))
1818 151794 : ? ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.connection_)
1819 : : nullptr;
1820 75897 : _impl_.number_ = from._impl_.number_;
1821 :
1822 : // @@protoc_insertion_point(copy_constructor:Odb.Lib.Protobuf.ProductModel.Connectivity.ComponentPin)
1823 75897 : }
1824 291778 : PROTOBUF_NDEBUG_INLINE Connectivity_ComponentPin::Impl_::Impl_(
1825 : [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
1826 291778 : [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
1827 291778 : : _cached_size_{0},
1828 583556 : name_(arena) {}
1829 :
1830 291778 : inline void Connectivity_ComponentPin::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
1831 291778 : new (&_impl_) Impl_(internal_visibility(), arena);
1832 291778 : ::memset(reinterpret_cast<char*>(&_impl_) +
1833 : offsetof(Impl_, connection_),
1834 : 0,
1835 : offsetof(Impl_, number_) -
1836 : offsetof(Impl_, connection_) +
1837 : sizeof(Impl_::number_));
1838 291778 : }
1839 735350 : Connectivity_ComponentPin::~Connectivity_ComponentPin() {
1840 : // @@protoc_insertion_point(destructor:Odb.Lib.Protobuf.ProductModel.Connectivity.ComponentPin)
1841 367675 : SharedDtor(*this);
1842 735350 : }
1843 367675 : inline void Connectivity_ComponentPin::SharedDtor(MessageLite& self) {
1844 367675 : Connectivity_ComponentPin& this_ = static_cast<Connectivity_ComponentPin&>(self);
1845 : if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
1846 367675 : this_.CheckHasBitConsistency();
1847 : }
1848 367675 : this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
1849 367675 : ABSL_DCHECK(this_.GetArena() == nullptr);
1850 367675 : this_._impl_.name_.Destroy();
1851 367675 : delete this_._impl_.connection_;
1852 367675 : this_._impl_.~Impl_();
1853 367675 : }
1854 :
1855 53409 : inline void* PROTOBUF_NONNULL Connectivity_ComponentPin::PlacementNew_(
1856 : const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
1857 : ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
1858 53409 : return ::new (mem) Connectivity_ComponentPin(arena);
1859 : }
1860 : constexpr auto Connectivity_ComponentPin::InternalNewImpl_() {
1861 : return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(Connectivity_ComponentPin),
1862 : alignof(Connectivity_ComponentPin));
1863 : }
1864 : constexpr auto Connectivity_ComponentPin::InternalGenerateClassData_() {
1865 : return ::google::protobuf::internal::ClassDataFull{
1866 : ::google::protobuf::internal::ClassData{
1867 : &_Connectivity_ComponentPin_default_instance_._instance,
1868 : &_table_.header,
1869 : nullptr, // OnDemandRegisterArenaDtor
1870 : nullptr, // IsInitialized
1871 : &Connectivity_ComponentPin::MergeImpl,
1872 : ::google::protobuf::Message::GetNewImpl<Connectivity_ComponentPin>(),
1873 : #if defined(PROTOBUF_CUSTOM_VTABLE)
1874 : &Connectivity_ComponentPin::SharedDtor,
1875 : ::google::protobuf::Message::GetClearImpl<Connectivity_ComponentPin>(), &Connectivity_ComponentPin::ByteSizeLong,
1876 : &Connectivity_ComponentPin::_InternalSerialize,
1877 : #endif // PROTOBUF_CUSTOM_VTABLE
1878 : PROTOBUF_FIELD_OFFSET(Connectivity_ComponentPin, _impl_._cached_size_),
1879 : false,
1880 : },
1881 : &Connectivity_ComponentPin::kDescriptorMethods,
1882 : &descriptor_table_connectivity_2eproto,
1883 : nullptr, // tracker
1884 : };
1885 : }
1886 :
1887 : PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
1888 : ::google::protobuf::internal::ClassDataFull Connectivity_ComponentPin_class_data_ =
1889 : Connectivity_ComponentPin::InternalGenerateClassData_();
1890 :
1891 : PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
1892 1630363 : Connectivity_ComponentPin::GetClassData() const {
1893 1630363 : ::google::protobuf::internal::PrefetchToLocalCache(&Connectivity_ComponentPin_class_data_);
1894 1630363 : ::google::protobuf::internal::PrefetchToLocalCache(Connectivity_ComponentPin_class_data_.tc_table);
1895 1630363 : return Connectivity_ComponentPin_class_data_.base();
1896 : }
1897 : PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
1898 : const ::_pbi::TcParseTable<2, 3, 1, 68, 2>
1899 : Connectivity_ComponentPin::_table_ = {
1900 : {
1901 : PROTOBUF_FIELD_OFFSET(Connectivity_ComponentPin, _impl_._has_bits_),
1902 : 0, // no _extensions_
1903 : 3, 24, // max_field_number, fast_idx_mask
1904 : offsetof(decltype(_table_), field_lookup_table),
1905 : 4294967288, // skipmap
1906 : offsetof(decltype(_table_), field_entries),
1907 : 3, // num_field_entries
1908 : 1, // num_aux_entries
1909 : offsetof(decltype(_table_), aux_entries),
1910 : Connectivity_ComponentPin_class_data_.base(),
1911 : nullptr, // post_loop_handler
1912 : ::_pbi::TcParser::GenericFallback, // fallback
1913 : #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
1914 : ::_pbi::TcParser::GetTable<::Odb::Lib::Protobuf::ProductModel::Connectivity_ComponentPin>(), // to_prefetch
1915 : #endif // PROTOBUF_PREFETCH_PARSE_TABLE
1916 : }, {{
1917 : {::_pbi::TcParser::MiniParse, {}},
1918 : // uint32 number = 1;
1919 : {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(Connectivity_ComponentPin, _impl_.number_), 2>(),
1920 : {8, 2, 0,
1921 : PROTOBUF_FIELD_OFFSET(Connectivity_ComponentPin, _impl_.number_)}},
1922 : // string name = 2;
1923 : {::_pbi::TcParser::FastUS1,
1924 : {18, 0, 0,
1925 : PROTOBUF_FIELD_OFFSET(Connectivity_ComponentPin, _impl_.name_)}},
1926 : // .Odb.Lib.Protobuf.ProductModel.Connectivity.Connection connection = 3;
1927 : {::_pbi::TcParser::FastMtS1,
1928 : {26, 1, 0,
1929 : PROTOBUF_FIELD_OFFSET(Connectivity_ComponentPin, _impl_.connection_)}},
1930 : }}, {{
1931 : 65535, 65535
1932 : }}, {{
1933 : // uint32 number = 1;
1934 : {PROTOBUF_FIELD_OFFSET(Connectivity_ComponentPin, _impl_.number_), _Internal::kHasBitsOffset + 2, 0, (0 | ::_fl::kFcOptional | ::_fl::kUInt32)},
1935 : // string name = 2;
1936 : {PROTOBUF_FIELD_OFFSET(Connectivity_ComponentPin, _impl_.name_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)},
1937 : // .Odb.Lib.Protobuf.ProductModel.Connectivity.Connection connection = 3;
1938 : {PROTOBUF_FIELD_OFFSET(Connectivity_ComponentPin, _impl_.connection_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
1939 : }},
1940 : {{
1941 : {::_pbi::TcParser::GetTable<::Odb::Lib::Protobuf::ProductModel::Connectivity_Connection>()},
1942 : }},
1943 : {{
1944 : "\67\0\4\0\0\0\0\0"
1945 : "Odb.Lib.Protobuf.ProductModel.Connectivity.ComponentPin"
1946 : "name"
1947 : }},
1948 : };
1949 0 : PROTOBUF_NOINLINE void Connectivity_ComponentPin::Clear() {
1950 : // @@protoc_insertion_point(message_clear_start:Odb.Lib.Protobuf.ProductModel.Connectivity.ComponentPin)
1951 0 : ::google::protobuf::internal::TSanWrite(&_impl_);
1952 0 : ::uint32_t cached_has_bits = 0;
1953 : // Prevent compiler warnings about cached_has_bits being unused
1954 : (void) cached_has_bits;
1955 :
1956 0 : cached_has_bits = _impl_._has_bits_[0];
1957 0 : if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
1958 0 : if (CheckHasBit(cached_has_bits, 0x00000001U)) {
1959 0 : _impl_.name_.ClearNonDefaultToEmpty();
1960 : }
1961 0 : if (CheckHasBit(cached_has_bits, 0x00000002U)) {
1962 0 : ABSL_DCHECK(_impl_.connection_ != nullptr);
1963 0 : _impl_.connection_->Clear();
1964 : }
1965 : }
1966 0 : _impl_.number_ = 0u;
1967 0 : _impl_._has_bits_.Clear();
1968 0 : _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
1969 0 : }
1970 :
1971 : #if defined(PROTOBUF_CUSTOM_VTABLE)
1972 : ::uint8_t* PROTOBUF_NONNULL Connectivity_ComponentPin::_InternalSerialize(
1973 : const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
1974 : ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
1975 : const Connectivity_ComponentPin& this_ = static_cast<const Connectivity_ComponentPin&>(base);
1976 : #else // PROTOBUF_CUSTOM_VTABLE
1977 253516 : ::uint8_t* PROTOBUF_NONNULL Connectivity_ComponentPin::_InternalSerialize(
1978 : ::uint8_t* PROTOBUF_NONNULL target,
1979 : ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
1980 253516 : const Connectivity_ComponentPin& this_ = *this;
1981 : #endif // PROTOBUF_CUSTOM_VTABLE
1982 : if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
1983 253516 : this_.CheckHasBitConsistency();
1984 : }
1985 : // @@protoc_insertion_point(serialize_to_array_start:Odb.Lib.Protobuf.ProductModel.Connectivity.ComponentPin)
1986 253516 : ::uint32_t cached_has_bits = 0;
1987 : (void)cached_has_bits;
1988 :
1989 253516 : cached_has_bits = this_._impl_._has_bits_[0];
1990 : // uint32 number = 1;
1991 253516 : if (CheckHasBit(cached_has_bits, 0x00000004U)) {
1992 238990 : if (this_._internal_number() != 0) {
1993 180882 : target = stream->EnsureSpace(target);
1994 180882 : target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
1995 : 1, this_._internal_number(), target);
1996 : }
1997 : }
1998 :
1999 : // string name = 2;
2000 253516 : if (CheckHasBit(cached_has_bits, 0x00000001U)) {
2001 253516 : if (!this_._internal_name().empty()) {
2002 253516 : const ::std::string& _s = this_._internal_name();
2003 507032 : ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
2004 253516 : _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "Odb.Lib.Protobuf.ProductModel.Connectivity.ComponentPin.name");
2005 253516 : target = stream->WriteStringMaybeAliased(2, _s, target);
2006 : }
2007 : }
2008 :
2009 : // .Odb.Lib.Protobuf.ProductModel.Connectivity.Connection connection = 3;
2010 253516 : if (CheckHasBit(cached_has_bits, 0x00000002U)) {
2011 253516 : target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
2012 253516 : 3, *this_._impl_.connection_, this_._impl_.connection_->GetCachedSize(), target,
2013 : stream);
2014 : }
2015 :
2016 253516 : if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
2017 : target =
2018 0 : ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
2019 : this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
2020 : }
2021 : // @@protoc_insertion_point(serialize_to_array_end:Odb.Lib.Protobuf.ProductModel.Connectivity.ComponentPin)
2022 253516 : return target;
2023 : }
2024 :
2025 : #if defined(PROTOBUF_CUSTOM_VTABLE)
2026 : ::size_t Connectivity_ComponentPin::ByteSizeLong(const MessageLite& base) {
2027 : const Connectivity_ComponentPin& this_ = static_cast<const Connectivity_ComponentPin&>(base);
2028 : #else // PROTOBUF_CUSTOM_VTABLE
2029 337118 : ::size_t Connectivity_ComponentPin::ByteSizeLong() const {
2030 337118 : const Connectivity_ComponentPin& this_ = *this;
2031 : #endif // PROTOBUF_CUSTOM_VTABLE
2032 : // @@protoc_insertion_point(message_byte_size_start:Odb.Lib.Protobuf.ProductModel.Connectivity.ComponentPin)
2033 337118 : ::size_t total_size = 0;
2034 :
2035 337118 : ::uint32_t cached_has_bits = 0;
2036 : // Prevent compiler warnings about cached_has_bits being unused
2037 : (void)cached_has_bits;
2038 :
2039 : ::_pbi::Prefetch5LinesFrom7Lines(&this_);
2040 337118 : cached_has_bits = this_._impl_._has_bits_[0];
2041 337118 : if (BatchCheckHasBit(cached_has_bits, 0x00000007U)) {
2042 : // string name = 2;
2043 337118 : if (CheckHasBit(cached_has_bits, 0x00000001U)) {
2044 337118 : if (!this_._internal_name().empty()) {
2045 337118 : total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
2046 : this_._internal_name());
2047 : }
2048 : }
2049 : // .Odb.Lib.Protobuf.ProductModel.Connectivity.Connection connection = 3;
2050 337118 : if (CheckHasBit(cached_has_bits, 0x00000002U)) {
2051 337118 : total_size += 1 +
2052 337118 : ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.connection_);
2053 : }
2054 : // uint32 number = 1;
2055 337118 : if (CheckHasBit(cached_has_bits, 0x00000004U)) {
2056 322592 : if (this_._internal_number() != 0) {
2057 240504 : total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
2058 : this_._internal_number());
2059 : }
2060 : }
2061 : }
2062 337118 : return this_.MaybeComputeUnknownFieldsSize(total_size,
2063 337118 : &this_._impl_._cached_size_);
2064 : }
2065 :
2066 0 : void Connectivity_ComponentPin::MergeImpl(::google::protobuf::MessageLite& to_msg,
2067 : const ::google::protobuf::MessageLite& from_msg) {
2068 0 : auto* const _this =
2069 : static_cast<Connectivity_ComponentPin*>(&to_msg);
2070 0 : auto& from = static_cast<const Connectivity_ComponentPin&>(from_msg);
2071 : if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
2072 0 : from.CheckHasBitConsistency();
2073 : }
2074 0 : ::google::protobuf::Arena* arena = _this->GetArena();
2075 : // @@protoc_insertion_point(class_specific_merge_from_start:Odb.Lib.Protobuf.ProductModel.Connectivity.ComponentPin)
2076 0 : ABSL_DCHECK_NE(&from, _this);
2077 0 : ::uint32_t cached_has_bits = 0;
2078 : (void)cached_has_bits;
2079 :
2080 0 : cached_has_bits = from._impl_._has_bits_[0];
2081 0 : if (BatchCheckHasBit(cached_has_bits, 0x00000007U)) {
2082 0 : if (CheckHasBit(cached_has_bits, 0x00000001U)) {
2083 0 : if (!from._internal_name().empty()) {
2084 0 : _this->_internal_set_name(from._internal_name());
2085 : } else {
2086 0 : if (_this->_impl_.name_.IsDefault()) {
2087 0 : _this->_internal_set_name("");
2088 : }
2089 : }
2090 : }
2091 0 : if (CheckHasBit(cached_has_bits, 0x00000002U)) {
2092 0 : ABSL_DCHECK(from._impl_.connection_ != nullptr);
2093 0 : if (_this->_impl_.connection_ == nullptr) {
2094 0 : _this->_impl_.connection_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.connection_);
2095 : } else {
2096 0 : _this->_impl_.connection_->MergeFrom(*from._impl_.connection_);
2097 : }
2098 : }
2099 0 : if (CheckHasBit(cached_has_bits, 0x00000004U)) {
2100 0 : if (from._internal_number() != 0) {
2101 0 : _this->_impl_.number_ = from._impl_.number_;
2102 : }
2103 : }
2104 : }
2105 0 : _this->_impl_._has_bits_[0] |= cached_has_bits;
2106 0 : _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
2107 0 : from._internal_metadata_);
2108 0 : }
2109 :
2110 0 : void Connectivity_ComponentPin::CopyFrom(const Connectivity_ComponentPin& from) {
2111 : // @@protoc_insertion_point(class_specific_copy_from_start:Odb.Lib.Protobuf.ProductModel.Connectivity.ComponentPin)
2112 0 : if (&from == this) return;
2113 0 : Clear();
2114 0 : MergeFrom(from);
2115 : }
2116 :
2117 :
2118 0 : void Connectivity_ComponentPin::InternalSwap(Connectivity_ComponentPin* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
2119 : using ::std::swap;
2120 0 : auto* arena = GetArena();
2121 0 : ABSL_DCHECK_EQ(arena, other->GetArena());
2122 0 : _internal_metadata_.InternalSwap(&other->_internal_metadata_);
2123 0 : swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
2124 0 : ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.name_, &other->_impl_.name_, arena);
2125 : ::google::protobuf::internal::memswap<
2126 : PROTOBUF_FIELD_OFFSET(Connectivity_ComponentPin, _impl_.number_)
2127 : + sizeof(Connectivity_ComponentPin::_impl_.number_)
2128 0 : - PROTOBUF_FIELD_OFFSET(Connectivity_ComponentPin, _impl_.connection_)>(
2129 0 : reinterpret_cast<char*>(&_impl_.connection_),
2130 0 : reinterpret_cast<char*>(&other->_impl_.connection_));
2131 0 : }
2132 :
2133 0 : ::google::protobuf::Metadata Connectivity_ComponentPin::GetMetadata() const {
2134 0 : return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
2135 : }
2136 : // ===================================================================
2137 :
2138 : class Connectivity_PlacedComponent::_Internal {
2139 : public:
2140 : using HasBits =
2141 : decltype(::std::declval<Connectivity_PlacedComponent>()._impl_._has_bits_);
2142 : static constexpr ::int32_t kHasBitsOffset =
2143 : 8 * PROTOBUF_FIELD_OFFSET(Connectivity_PlacedComponent, _impl_._has_bits_);
2144 : };
2145 :
2146 84121 : Connectivity_PlacedComponent::Connectivity_PlacedComponent(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
2147 : #if defined(PROTOBUF_CUSTOM_VTABLE)
2148 : : ::google::protobuf::Message(arena, Connectivity_PlacedComponent_class_data_.base()) {
2149 : #else // PROTOBUF_CUSTOM_VTABLE
2150 84121 : : ::google::protobuf::Message(arena) {
2151 : #endif // PROTOBUF_CUSTOM_VTABLE
2152 84121 : SharedCtor(arena);
2153 : // @@protoc_insertion_point(arena_constructor:Odb.Lib.Protobuf.ProductModel.Connectivity.PlacedComponent)
2154 84121 : }
2155 21951 : PROTOBUF_NDEBUG_INLINE Connectivity_PlacedComponent::Impl_::Impl_(
2156 : [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
2157 : [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
2158 21951 : [[maybe_unused]] const ::Odb::Lib::Protobuf::ProductModel::Connectivity_PlacedComponent& from_msg)
2159 21951 : : _has_bits_{from._has_bits_},
2160 21951 : _cached_size_{0},
2161 21951 : pins_{visibility, arena, from.pins_},
2162 21951 : refdes_(arena, from.refdes_),
2163 21951 : package_(arena, from.package_) {}
2164 :
2165 21951 : Connectivity_PlacedComponent::Connectivity_PlacedComponent(
2166 : ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
2167 21951 : const Connectivity_PlacedComponent& from)
2168 : #if defined(PROTOBUF_CUSTOM_VTABLE)
2169 : : ::google::protobuf::Message(arena, Connectivity_PlacedComponent_class_data_.base()) {
2170 : #else // PROTOBUF_CUSTOM_VTABLE
2171 21951 : : ::google::protobuf::Message(arena) {
2172 : #endif // PROTOBUF_CUSTOM_VTABLE
2173 21951 : Connectivity_PlacedComponent* const _this = this;
2174 : (void)_this;
2175 21951 : _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
2176 21951 : from._internal_metadata_);
2177 21951 : new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
2178 21951 : ::memcpy(reinterpret_cast<char*>(&_impl_) +
2179 : offsetof(Impl_, id_),
2180 21951 : reinterpret_cast<const char*>(&from._impl_) +
2181 : offsetof(Impl_, id_),
2182 : offsetof(Impl_, side_) -
2183 : offsetof(Impl_, id_) +
2184 : sizeof(Impl_::side_));
2185 :
2186 : // @@protoc_insertion_point(copy_constructor:Odb.Lib.Protobuf.ProductModel.Connectivity.PlacedComponent)
2187 21951 : }
2188 84121 : PROTOBUF_NDEBUG_INLINE Connectivity_PlacedComponent::Impl_::Impl_(
2189 : [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
2190 84121 : [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
2191 84121 : : _cached_size_{0},
2192 84121 : pins_{visibility, arena},
2193 84121 : refdes_(arena),
2194 168242 : package_(arena) {}
2195 :
2196 84121 : inline void Connectivity_PlacedComponent::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
2197 84121 : new (&_impl_) Impl_(internal_visibility(), arena);
2198 84121 : ::memset(reinterpret_cast<char*>(&_impl_) +
2199 : offsetof(Impl_, id_),
2200 : 0,
2201 : offsetof(Impl_, side_) -
2202 : offsetof(Impl_, id_) +
2203 : sizeof(Impl_::side_));
2204 84121 : }
2205 212144 : Connectivity_PlacedComponent::~Connectivity_PlacedComponent() {
2206 : // @@protoc_insertion_point(destructor:Odb.Lib.Protobuf.ProductModel.Connectivity.PlacedComponent)
2207 106072 : SharedDtor(*this);
2208 212144 : }
2209 106072 : inline void Connectivity_PlacedComponent::SharedDtor(MessageLite& self) {
2210 106072 : Connectivity_PlacedComponent& this_ = static_cast<Connectivity_PlacedComponent&>(self);
2211 : if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
2212 106072 : this_.CheckHasBitConsistency();
2213 : }
2214 106072 : this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
2215 106072 : ABSL_DCHECK(this_.GetArena() == nullptr);
2216 106072 : this_._impl_.refdes_.Destroy();
2217 106072 : this_._impl_.package_.Destroy();
2218 106072 : this_._impl_.~Impl_();
2219 106072 : }
2220 :
2221 15447 : inline void* PROTOBUF_NONNULL Connectivity_PlacedComponent::PlacementNew_(
2222 : const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
2223 : ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
2224 15447 : return ::new (mem) Connectivity_PlacedComponent(arena);
2225 : }
2226 : constexpr auto Connectivity_PlacedComponent::InternalNewImpl_() {
2227 : constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({
2228 : PROTOBUF_FIELD_OFFSET(Connectivity_PlacedComponent, _impl_.pins_) +
2229 : decltype(Connectivity_PlacedComponent::_impl_.pins_)::
2230 : InternalGetArenaOffset(
2231 : ::google::protobuf::Message::internal_visibility()),
2232 : });
2233 : if (arena_bits.has_value()) {
2234 : return ::google::protobuf::internal::MessageCreator::CopyInit(
2235 : sizeof(Connectivity_PlacedComponent), alignof(Connectivity_PlacedComponent), *arena_bits);
2236 : } else {
2237 : return ::google::protobuf::internal::MessageCreator(&Connectivity_PlacedComponent::PlacementNew_,
2238 : sizeof(Connectivity_PlacedComponent),
2239 : alignof(Connectivity_PlacedComponent));
2240 : }
2241 : }
2242 : constexpr auto Connectivity_PlacedComponent::InternalGenerateClassData_() {
2243 : return ::google::protobuf::internal::ClassDataFull{
2244 : ::google::protobuf::internal::ClassData{
2245 : &_Connectivity_PlacedComponent_default_instance_._instance,
2246 : &_table_.header,
2247 : nullptr, // OnDemandRegisterArenaDtor
2248 : nullptr, // IsInitialized
2249 : &Connectivity_PlacedComponent::MergeImpl,
2250 : ::google::protobuf::Message::GetNewImpl<Connectivity_PlacedComponent>(),
2251 : #if defined(PROTOBUF_CUSTOM_VTABLE)
2252 : &Connectivity_PlacedComponent::SharedDtor,
2253 : ::google::protobuf::Message::GetClearImpl<Connectivity_PlacedComponent>(), &Connectivity_PlacedComponent::ByteSizeLong,
2254 : &Connectivity_PlacedComponent::_InternalSerialize,
2255 : #endif // PROTOBUF_CUSTOM_VTABLE
2256 : PROTOBUF_FIELD_OFFSET(Connectivity_PlacedComponent, _impl_._cached_size_),
2257 : false,
2258 : },
2259 : &Connectivity_PlacedComponent::kDescriptorMethods,
2260 : &descriptor_table_connectivity_2eproto,
2261 : nullptr, // tracker
2262 : };
2263 : }
2264 :
2265 : PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
2266 : ::google::protobuf::internal::ClassDataFull Connectivity_PlacedComponent_class_data_ =
2267 : Connectivity_PlacedComponent::InternalGenerateClassData_();
2268 :
2269 : PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
2270 729672 : Connectivity_PlacedComponent::GetClassData() const {
2271 729672 : ::google::protobuf::internal::PrefetchToLocalCache(&Connectivity_PlacedComponent_class_data_);
2272 729672 : ::google::protobuf::internal::PrefetchToLocalCache(Connectivity_PlacedComponent_class_data_.tc_table);
2273 729672 : return Connectivity_PlacedComponent_class_data_.base();
2274 : }
2275 : PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
2276 : const ::_pbi::TcParseTable<3, 5, 1, 80, 2>
2277 : Connectivity_PlacedComponent::_table_ = {
2278 : {
2279 : PROTOBUF_FIELD_OFFSET(Connectivity_PlacedComponent, _impl_._has_bits_),
2280 : 0, // no _extensions_
2281 : 5, 56, // max_field_number, fast_idx_mask
2282 : offsetof(decltype(_table_), field_lookup_table),
2283 : 4294967264, // skipmap
2284 : offsetof(decltype(_table_), field_entries),
2285 : 5, // num_field_entries
2286 : 1, // num_aux_entries
2287 : offsetof(decltype(_table_), aux_entries),
2288 : Connectivity_PlacedComponent_class_data_.base(),
2289 : nullptr, // post_loop_handler
2290 : ::_pbi::TcParser::GenericFallback, // fallback
2291 : #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
2292 : ::_pbi::TcParser::GetTable<::Odb::Lib::Protobuf::ProductModel::Connectivity_PlacedComponent>(), // to_prefetch
2293 : #endif // PROTOBUF_PREFETCH_PARSE_TABLE
2294 : }, {{
2295 : {::_pbi::TcParser::MiniParse, {}},
2296 : // string refDes = 1;
2297 : {::_pbi::TcParser::FastUS1,
2298 : {10, 1, 0,
2299 : PROTOBUF_FIELD_OFFSET(Connectivity_PlacedComponent, _impl_.refdes_)}},
2300 : // optional uint32 id = 2;
2301 : {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(Connectivity_PlacedComponent, _impl_.id_), 3>(),
2302 : {16, 3, 0,
2303 : PROTOBUF_FIELD_OFFSET(Connectivity_PlacedComponent, _impl_.id_)}},
2304 : // .Odb.Lib.Protobuf.BoardSide side = 3;
2305 : {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(Connectivity_PlacedComponent, _impl_.side_), 4>(),
2306 : {24, 4, 0,
2307 : PROTOBUF_FIELD_OFFSET(Connectivity_PlacedComponent, _impl_.side_)}},
2308 : // string package = 4;
2309 : {::_pbi::TcParser::FastUS1,
2310 : {34, 2, 0,
2311 : PROTOBUF_FIELD_OFFSET(Connectivity_PlacedComponent, _impl_.package_)}},
2312 : // repeated .Odb.Lib.Protobuf.ProductModel.Connectivity.ComponentPin pins = 5;
2313 : {::_pbi::TcParser::FastMtR1,
2314 : {42, 0, 0,
2315 : PROTOBUF_FIELD_OFFSET(Connectivity_PlacedComponent, _impl_.pins_)}},
2316 : {::_pbi::TcParser::MiniParse, {}},
2317 : {::_pbi::TcParser::MiniParse, {}},
2318 : }}, {{
2319 : 65535, 65535
2320 : }}, {{
2321 : // string refDes = 1;
2322 : {PROTOBUF_FIELD_OFFSET(Connectivity_PlacedComponent, _impl_.refdes_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)},
2323 : // optional uint32 id = 2;
2324 : {PROTOBUF_FIELD_OFFSET(Connectivity_PlacedComponent, _impl_.id_), _Internal::kHasBitsOffset + 3, 0, (0 | ::_fl::kFcOptional | ::_fl::kUInt32)},
2325 : // .Odb.Lib.Protobuf.BoardSide side = 3;
2326 : {PROTOBUF_FIELD_OFFSET(Connectivity_PlacedComponent, _impl_.side_), _Internal::kHasBitsOffset + 4, 0, (0 | ::_fl::kFcOptional | ::_fl::kOpenEnum)},
2327 : // string package = 4;
2328 : {PROTOBUF_FIELD_OFFSET(Connectivity_PlacedComponent, _impl_.package_), _Internal::kHasBitsOffset + 2, 0, (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)},
2329 : // repeated .Odb.Lib.Protobuf.ProductModel.Connectivity.ComponentPin pins = 5;
2330 : {PROTOBUF_FIELD_OFFSET(Connectivity_PlacedComponent, _impl_.pins_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
2331 : }},
2332 : {{
2333 : {::_pbi::TcParser::GetTable<::Odb::Lib::Protobuf::ProductModel::Connectivity_ComponentPin>()},
2334 : }},
2335 : {{
2336 : "\72\6\0\0\7\0\0\0"
2337 : "Odb.Lib.Protobuf.ProductModel.Connectivity.PlacedComponent"
2338 : "refDes"
2339 : "package"
2340 : }},
2341 : };
2342 0 : PROTOBUF_NOINLINE void Connectivity_PlacedComponent::Clear() {
2343 : // @@protoc_insertion_point(message_clear_start:Odb.Lib.Protobuf.ProductModel.Connectivity.PlacedComponent)
2344 0 : ::google::protobuf::internal::TSanWrite(&_impl_);
2345 0 : ::uint32_t cached_has_bits = 0;
2346 : // Prevent compiler warnings about cached_has_bits being unused
2347 : (void) cached_has_bits;
2348 :
2349 0 : cached_has_bits = _impl_._has_bits_[0];
2350 0 : if (BatchCheckHasBit(cached_has_bits, 0x00000007U)) {
2351 0 : if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
2352 0 : _impl_.pins_.Clear();
2353 : }
2354 0 : if (CheckHasBit(cached_has_bits, 0x00000002U)) {
2355 0 : _impl_.refdes_.ClearNonDefaultToEmpty();
2356 : }
2357 0 : if (CheckHasBit(cached_has_bits, 0x00000004U)) {
2358 0 : _impl_.package_.ClearNonDefaultToEmpty();
2359 : }
2360 : }
2361 0 : if (BatchCheckHasBit(cached_has_bits, 0x00000018U)) {
2362 0 : ::memset(&_impl_.id_, 0, static_cast<::size_t>(
2363 : reinterpret_cast<char*>(&_impl_.side_) -
2364 : reinterpret_cast<char*>(&_impl_.id_)) + sizeof(_impl_.side_));
2365 : }
2366 0 : _impl_._has_bits_.Clear();
2367 0 : _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
2368 0 : }
2369 :
2370 : #if defined(PROTOBUF_CUSTOM_VTABLE)
2371 : ::uint8_t* PROTOBUF_NONNULL Connectivity_PlacedComponent::_InternalSerialize(
2372 : const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
2373 : ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
2374 : const Connectivity_PlacedComponent& this_ = static_cast<const Connectivity_PlacedComponent&>(base);
2375 : #else // PROTOBUF_CUSTOM_VTABLE
2376 73102 : ::uint8_t* PROTOBUF_NONNULL Connectivity_PlacedComponent::_InternalSerialize(
2377 : ::uint8_t* PROTOBUF_NONNULL target,
2378 : ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
2379 73102 : const Connectivity_PlacedComponent& this_ = *this;
2380 : #endif // PROTOBUF_CUSTOM_VTABLE
2381 : if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
2382 73102 : this_.CheckHasBitConsistency();
2383 : }
2384 : // @@protoc_insertion_point(serialize_to_array_start:Odb.Lib.Protobuf.ProductModel.Connectivity.PlacedComponent)
2385 73102 : ::uint32_t cached_has_bits = 0;
2386 : (void)cached_has_bits;
2387 :
2388 73102 : cached_has_bits = this_._impl_._has_bits_[0];
2389 : // string refDes = 1;
2390 73102 : if (CheckHasBit(cached_has_bits, 0x00000002U)) {
2391 73102 : if (!this_._internal_refdes().empty()) {
2392 73102 : const ::std::string& _s = this_._internal_refdes();
2393 146204 : ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
2394 73102 : _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "Odb.Lib.Protobuf.ProductModel.Connectivity.PlacedComponent.refDes");
2395 73102 : target = stream->WriteStringMaybeAliased(1, _s, target);
2396 : }
2397 : }
2398 :
2399 : // optional uint32 id = 2;
2400 73102 : if (CheckHasBit(cached_has_bits, 0x00000008U)) {
2401 73102 : target = stream->EnsureSpace(target);
2402 73102 : target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
2403 : 2, this_._internal_id(), target);
2404 : }
2405 :
2406 : // .Odb.Lib.Protobuf.BoardSide side = 3;
2407 73102 : if (CheckHasBit(cached_has_bits, 0x00000010U)) {
2408 73102 : if (this_._internal_side() != 0) {
2409 73102 : target = stream->EnsureSpace(target);
2410 73102 : target = ::_pbi::WireFormatLite::WriteEnumToArray(
2411 73102 : 3, this_._internal_side(), target);
2412 : }
2413 : }
2414 :
2415 : // string package = 4;
2416 73102 : if (CheckHasBit(cached_has_bits, 0x00000004U)) {
2417 73102 : if (!this_._internal_package().empty()) {
2418 73102 : const ::std::string& _s = this_._internal_package();
2419 146204 : ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
2420 73102 : _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "Odb.Lib.Protobuf.ProductModel.Connectivity.PlacedComponent.package");
2421 73102 : target = stream->WriteStringMaybeAliased(4, _s, target);
2422 : }
2423 : }
2424 :
2425 : // repeated .Odb.Lib.Protobuf.ProductModel.Connectivity.ComponentPin pins = 5;
2426 73102 : if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
2427 398784 : for (unsigned i = 0, n = static_cast<unsigned>(
2428 72634 : this_._internal_pins_size());
2429 326150 : i < n; i++) {
2430 253516 : const auto& repfield = this_._internal_pins().Get(i);
2431 : target =
2432 253516 : ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
2433 : 5, repfield, repfield.GetCachedSize(),
2434 : target, stream);
2435 : }
2436 : }
2437 :
2438 73102 : if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
2439 : target =
2440 0 : ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
2441 : this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
2442 : }
2443 : // @@protoc_insertion_point(serialize_to_array_end:Odb.Lib.Protobuf.ProductModel.Connectivity.PlacedComponent)
2444 73102 : return target;
2445 : }
2446 :
2447 : #if defined(PROTOBUF_CUSTOM_VTABLE)
2448 : ::size_t Connectivity_PlacedComponent::ByteSizeLong(const MessageLite& base) {
2449 : const Connectivity_PlacedComponent& this_ = static_cast<const Connectivity_PlacedComponent&>(base);
2450 : #else // PROTOBUF_CUSTOM_VTABLE
2451 97250 : ::size_t Connectivity_PlacedComponent::ByteSizeLong() const {
2452 97250 : const Connectivity_PlacedComponent& this_ = *this;
2453 : #endif // PROTOBUF_CUSTOM_VTABLE
2454 : // @@protoc_insertion_point(message_byte_size_start:Odb.Lib.Protobuf.ProductModel.Connectivity.PlacedComponent)
2455 97250 : ::size_t total_size = 0;
2456 :
2457 97250 : ::uint32_t cached_has_bits = 0;
2458 : // Prevent compiler warnings about cached_has_bits being unused
2459 : (void)cached_has_bits;
2460 :
2461 : ::_pbi::Prefetch5LinesFrom7Lines(&this_);
2462 97250 : cached_has_bits = this_._impl_._has_bits_[0];
2463 97250 : if (BatchCheckHasBit(cached_has_bits, 0x0000001fU)) {
2464 : // repeated .Odb.Lib.Protobuf.ProductModel.Connectivity.ComponentPin pins = 5;
2465 97250 : if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
2466 96614 : total_size += 1UL * this_._internal_pins_size();
2467 433732 : for (const auto& msg : this_._internal_pins()) {
2468 337118 : total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
2469 : }
2470 : }
2471 : // string refDes = 1;
2472 97250 : if (CheckHasBit(cached_has_bits, 0x00000002U)) {
2473 97250 : if (!this_._internal_refdes().empty()) {
2474 97250 : total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
2475 : this_._internal_refdes());
2476 : }
2477 : }
2478 : // string package = 4;
2479 97250 : if (CheckHasBit(cached_has_bits, 0x00000004U)) {
2480 97250 : if (!this_._internal_package().empty()) {
2481 97250 : total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
2482 : this_._internal_package());
2483 : }
2484 : }
2485 : // optional uint32 id = 2;
2486 97250 : if (CheckHasBit(cached_has_bits, 0x00000008U)) {
2487 97250 : total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
2488 : this_._internal_id());
2489 : }
2490 : // .Odb.Lib.Protobuf.BoardSide side = 3;
2491 97250 : if (CheckHasBit(cached_has_bits, 0x00000010U)) {
2492 97250 : if (this_._internal_side() != 0) {
2493 97250 : total_size += 1 +
2494 97250 : ::_pbi::WireFormatLite::EnumSize(this_._internal_side());
2495 : }
2496 : }
2497 : }
2498 97250 : return this_.MaybeComputeUnknownFieldsSize(total_size,
2499 97250 : &this_._impl_._cached_size_);
2500 : }
2501 :
2502 0 : void Connectivity_PlacedComponent::MergeImpl(::google::protobuf::MessageLite& to_msg,
2503 : const ::google::protobuf::MessageLite& from_msg) {
2504 0 : auto* const _this =
2505 : static_cast<Connectivity_PlacedComponent*>(&to_msg);
2506 0 : auto& from = static_cast<const Connectivity_PlacedComponent&>(from_msg);
2507 : if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
2508 0 : from.CheckHasBitConsistency();
2509 : }
2510 0 : ::google::protobuf::Arena* arena = _this->GetArena();
2511 : // @@protoc_insertion_point(class_specific_merge_from_start:Odb.Lib.Protobuf.ProductModel.Connectivity.PlacedComponent)
2512 0 : ABSL_DCHECK_NE(&from, _this);
2513 0 : ::uint32_t cached_has_bits = 0;
2514 : (void)cached_has_bits;
2515 :
2516 0 : cached_has_bits = from._impl_._has_bits_[0];
2517 0 : if (BatchCheckHasBit(cached_has_bits, 0x0000001fU)) {
2518 0 : if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
2519 0 : _this->_internal_mutable_pins()->InternalMergeFromWithArena(
2520 0 : ::google::protobuf::MessageLite::internal_visibility(), arena,
2521 : from._internal_pins());
2522 : }
2523 0 : if (CheckHasBit(cached_has_bits, 0x00000002U)) {
2524 0 : if (!from._internal_refdes().empty()) {
2525 0 : _this->_internal_set_refdes(from._internal_refdes());
2526 : } else {
2527 0 : if (_this->_impl_.refdes_.IsDefault()) {
2528 0 : _this->_internal_set_refdes("");
2529 : }
2530 : }
2531 : }
2532 0 : if (CheckHasBit(cached_has_bits, 0x00000004U)) {
2533 0 : if (!from._internal_package().empty()) {
2534 0 : _this->_internal_set_package(from._internal_package());
2535 : } else {
2536 0 : if (_this->_impl_.package_.IsDefault()) {
2537 0 : _this->_internal_set_package("");
2538 : }
2539 : }
2540 : }
2541 0 : if (CheckHasBit(cached_has_bits, 0x00000008U)) {
2542 0 : _this->_impl_.id_ = from._impl_.id_;
2543 : }
2544 0 : if (CheckHasBit(cached_has_bits, 0x00000010U)) {
2545 0 : if (from._internal_side() != 0) {
2546 0 : _this->_impl_.side_ = from._impl_.side_;
2547 : }
2548 : }
2549 : }
2550 0 : _this->_impl_._has_bits_[0] |= cached_has_bits;
2551 0 : _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
2552 0 : from._internal_metadata_);
2553 0 : }
2554 :
2555 0 : void Connectivity_PlacedComponent::CopyFrom(const Connectivity_PlacedComponent& from) {
2556 : // @@protoc_insertion_point(class_specific_copy_from_start:Odb.Lib.Protobuf.ProductModel.Connectivity.PlacedComponent)
2557 0 : if (&from == this) return;
2558 0 : Clear();
2559 0 : MergeFrom(from);
2560 : }
2561 :
2562 :
2563 0 : void Connectivity_PlacedComponent::InternalSwap(Connectivity_PlacedComponent* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
2564 : using ::std::swap;
2565 0 : auto* arena = GetArena();
2566 0 : ABSL_DCHECK_EQ(arena, other->GetArena());
2567 0 : _internal_metadata_.InternalSwap(&other->_internal_metadata_);
2568 0 : swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
2569 0 : _impl_.pins_.InternalSwap(&other->_impl_.pins_);
2570 0 : ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.refdes_, &other->_impl_.refdes_, arena);
2571 0 : ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.package_, &other->_impl_.package_, arena);
2572 : ::google::protobuf::internal::memswap<
2573 : PROTOBUF_FIELD_OFFSET(Connectivity_PlacedComponent, _impl_.side_)
2574 : + sizeof(Connectivity_PlacedComponent::_impl_.side_)
2575 0 : - PROTOBUF_FIELD_OFFSET(Connectivity_PlacedComponent, _impl_.id_)>(
2576 0 : reinterpret_cast<char*>(&_impl_.id_),
2577 0 : reinterpret_cast<char*>(&other->_impl_.id_));
2578 0 : }
2579 :
2580 0 : ::google::protobuf::Metadata Connectivity_PlacedComponent::GetMetadata() const {
2581 0 : return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
2582 : }
2583 : // ===================================================================
2584 :
2585 : class Connectivity_Member::_Internal {
2586 : public:
2587 : using HasBits =
2588 : decltype(::std::declval<Connectivity_Member>()._impl_._has_bits_);
2589 : static constexpr ::int32_t kHasBitsOffset =
2590 : 8 * PROTOBUF_FIELD_OFFSET(Connectivity_Member, _impl_._has_bits_);
2591 : };
2592 :
2593 259476 : Connectivity_Member::Connectivity_Member(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
2594 : #if defined(PROTOBUF_CUSTOM_VTABLE)
2595 : : ::google::protobuf::Message(arena, Connectivity_Member_class_data_.base()) {
2596 : #else // PROTOBUF_CUSTOM_VTABLE
2597 259476 : : ::google::protobuf::Message(arena) {
2598 : #endif // PROTOBUF_CUSTOM_VTABLE
2599 259476 : SharedCtor(arena);
2600 : // @@protoc_insertion_point(arena_constructor:Odb.Lib.Protobuf.ProductModel.Connectivity.Member)
2601 259476 : }
2602 68310 : PROTOBUF_NDEBUG_INLINE Connectivity_Member::Impl_::Impl_(
2603 : [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
2604 : [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
2605 68310 : [[maybe_unused]] const ::Odb::Lib::Protobuf::ProductModel::Connectivity_Member& from_msg)
2606 68310 : : _has_bits_{from._has_bits_},
2607 68310 : _cached_size_{0},
2608 68310 : pin_{visibility, arena, from.pin_},
2609 68310 : _pin_cached_byte_size_{0},
2610 68310 : refdes_(arena, from.refdes_) {}
2611 :
2612 68310 : Connectivity_Member::Connectivity_Member(
2613 : ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
2614 68310 : const Connectivity_Member& from)
2615 : #if defined(PROTOBUF_CUSTOM_VTABLE)
2616 : : ::google::protobuf::Message(arena, Connectivity_Member_class_data_.base()) {
2617 : #else // PROTOBUF_CUSTOM_VTABLE
2618 68310 : : ::google::protobuf::Message(arena) {
2619 : #endif // PROTOBUF_CUSTOM_VTABLE
2620 68310 : Connectivity_Member* const _this = this;
2621 : (void)_this;
2622 68310 : _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
2623 68310 : from._internal_metadata_);
2624 68310 : new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
2625 :
2626 : // @@protoc_insertion_point(copy_constructor:Odb.Lib.Protobuf.ProductModel.Connectivity.Member)
2627 68310 : }
2628 259476 : PROTOBUF_NDEBUG_INLINE Connectivity_Member::Impl_::Impl_(
2629 : [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
2630 259476 : [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
2631 259476 : : _cached_size_{0},
2632 259476 : pin_{visibility, arena},
2633 259476 : _pin_cached_byte_size_{0},
2634 518952 : refdes_(arena) {}
2635 :
2636 259476 : inline void Connectivity_Member::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
2637 259476 : new (&_impl_) Impl_(internal_visibility(), arena);
2638 259476 : }
2639 655572 : Connectivity_Member::~Connectivity_Member() {
2640 : // @@protoc_insertion_point(destructor:Odb.Lib.Protobuf.ProductModel.Connectivity.Member)
2641 327786 : SharedDtor(*this);
2642 655572 : }
2643 327786 : inline void Connectivity_Member::SharedDtor(MessageLite& self) {
2644 327786 : Connectivity_Member& this_ = static_cast<Connectivity_Member&>(self);
2645 : if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
2646 327786 : this_.CheckHasBitConsistency();
2647 : }
2648 327786 : this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
2649 327786 : ABSL_DCHECK(this_.GetArena() == nullptr);
2650 327786 : this_._impl_.refdes_.Destroy();
2651 327786 : this_._impl_.~Impl_();
2652 327786 : }
2653 :
2654 48070 : inline void* PROTOBUF_NONNULL Connectivity_Member::PlacementNew_(
2655 : const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
2656 : ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
2657 48070 : return ::new (mem) Connectivity_Member(arena);
2658 : }
2659 : constexpr auto Connectivity_Member::InternalNewImpl_() {
2660 : constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({
2661 : PROTOBUF_FIELD_OFFSET(Connectivity_Member, _impl_.pin_) +
2662 : decltype(Connectivity_Member::_impl_.pin_)::
2663 : InternalGetArenaOffset(
2664 : ::google::protobuf::Message::internal_visibility()),
2665 : });
2666 : if (arena_bits.has_value()) {
2667 : return ::google::protobuf::internal::MessageCreator::CopyInit(
2668 : sizeof(Connectivity_Member), alignof(Connectivity_Member), *arena_bits);
2669 : } else {
2670 : return ::google::protobuf::internal::MessageCreator(&Connectivity_Member::PlacementNew_,
2671 : sizeof(Connectivity_Member),
2672 : alignof(Connectivity_Member));
2673 : }
2674 : }
2675 : constexpr auto Connectivity_Member::InternalGenerateClassData_() {
2676 : return ::google::protobuf::internal::ClassDataFull{
2677 : ::google::protobuf::internal::ClassData{
2678 : &_Connectivity_Member_default_instance_._instance,
2679 : &_table_.header,
2680 : nullptr, // OnDemandRegisterArenaDtor
2681 : nullptr, // IsInitialized
2682 : &Connectivity_Member::MergeImpl,
2683 : ::google::protobuf::Message::GetNewImpl<Connectivity_Member>(),
2684 : #if defined(PROTOBUF_CUSTOM_VTABLE)
2685 : &Connectivity_Member::SharedDtor,
2686 : ::google::protobuf::Message::GetClearImpl<Connectivity_Member>(), &Connectivity_Member::ByteSizeLong,
2687 : &Connectivity_Member::_InternalSerialize,
2688 : #endif // PROTOBUF_CUSTOM_VTABLE
2689 : PROTOBUF_FIELD_OFFSET(Connectivity_Member, _impl_._cached_size_),
2690 : false,
2691 : },
2692 : &Connectivity_Member::kDescriptorMethods,
2693 : &descriptor_table_connectivity_2eproto,
2694 : nullptr, // tracker
2695 : };
2696 : }
2697 :
2698 : PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
2699 : ::google::protobuf::internal::ClassDataFull Connectivity_Member_class_data_ =
2700 : Connectivity_Member::InternalGenerateClassData_();
2701 :
2702 : PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
2703 1267484 : Connectivity_Member::GetClassData() const {
2704 1267484 : ::google::protobuf::internal::PrefetchToLocalCache(&Connectivity_Member_class_data_);
2705 1267484 : ::google::protobuf::internal::PrefetchToLocalCache(Connectivity_Member_class_data_.tc_table);
2706 1267484 : return Connectivity_Member_class_data_.base();
2707 : }
2708 : PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
2709 : const ::_pbi::TcParseTable<1, 2, 0, 64, 2>
2710 : Connectivity_Member::_table_ = {
2711 : {
2712 : PROTOBUF_FIELD_OFFSET(Connectivity_Member, _impl_._has_bits_),
2713 : 0, // no _extensions_
2714 : 2, 8, // max_field_number, fast_idx_mask
2715 : offsetof(decltype(_table_), field_lookup_table),
2716 : 4294967292, // skipmap
2717 : offsetof(decltype(_table_), field_entries),
2718 : 2, // num_field_entries
2719 : 0, // num_aux_entries
2720 : offsetof(decltype(_table_), field_names), // no aux_entries
2721 : Connectivity_Member_class_data_.base(),
2722 : nullptr, // post_loop_handler
2723 : ::_pbi::TcParser::GenericFallback, // fallback
2724 : #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
2725 : ::_pbi::TcParser::GetTable<::Odb::Lib::Protobuf::ProductModel::Connectivity_Member>(), // to_prefetch
2726 : #endif // PROTOBUF_PREFETCH_PARSE_TABLE
2727 : }, {{
2728 : // repeated uint32 pin = 2;
2729 : {::_pbi::TcParser::FastV32P1,
2730 : {18, 0, 0,
2731 : PROTOBUF_FIELD_OFFSET(Connectivity_Member, _impl_.pin_)}},
2732 : // string refDes = 1;
2733 : {::_pbi::TcParser::FastUS1,
2734 : {10, 1, 0,
2735 : PROTOBUF_FIELD_OFFSET(Connectivity_Member, _impl_.refdes_)}},
2736 : }}, {{
2737 : 65535, 65535
2738 : }}, {{
2739 : // string refDes = 1;
2740 : {PROTOBUF_FIELD_OFFSET(Connectivity_Member, _impl_.refdes_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)},
2741 : // repeated uint32 pin = 2;
2742 : {PROTOBUF_FIELD_OFFSET(Connectivity_Member, _impl_.pin_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcRepeated | ::_fl::kPackedUInt32)},
2743 : }},
2744 : // no aux_entries
2745 : {{
2746 : "\61\6\0\0\0\0\0\0"
2747 : "Odb.Lib.Protobuf.ProductModel.Connectivity.Member"
2748 : "refDes"
2749 : }},
2750 : };
2751 0 : PROTOBUF_NOINLINE void Connectivity_Member::Clear() {
2752 : // @@protoc_insertion_point(message_clear_start:Odb.Lib.Protobuf.ProductModel.Connectivity.Member)
2753 0 : ::google::protobuf::internal::TSanWrite(&_impl_);
2754 0 : ::uint32_t cached_has_bits = 0;
2755 : // Prevent compiler warnings about cached_has_bits being unused
2756 : (void) cached_has_bits;
2757 :
2758 0 : cached_has_bits = _impl_._has_bits_[0];
2759 0 : if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
2760 0 : if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
2761 0 : _impl_.pin_.Clear();
2762 : }
2763 0 : if (CheckHasBit(cached_has_bits, 0x00000002U)) {
2764 0 : _impl_.refdes_.ClearNonDefaultToEmpty();
2765 : }
2766 : }
2767 0 : _impl_._has_bits_.Clear();
2768 0 : _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
2769 0 : }
2770 :
2771 : #if defined(PROTOBUF_CUSTOM_VTABLE)
2772 : ::uint8_t* PROTOBUF_NONNULL Connectivity_Member::_InternalSerialize(
2773 : const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
2774 : ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
2775 : const Connectivity_Member& this_ = static_cast<const Connectivity_Member&>(base);
2776 : #else // PROTOBUF_CUSTOM_VTABLE
2777 225592 : ::uint8_t* PROTOBUF_NONNULL Connectivity_Member::_InternalSerialize(
2778 : ::uint8_t* PROTOBUF_NONNULL target,
2779 : ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
2780 225592 : const Connectivity_Member& this_ = *this;
2781 : #endif // PROTOBUF_CUSTOM_VTABLE
2782 : if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
2783 225592 : this_.CheckHasBitConsistency();
2784 : }
2785 : // @@protoc_insertion_point(serialize_to_array_start:Odb.Lib.Protobuf.ProductModel.Connectivity.Member)
2786 225592 : ::uint32_t cached_has_bits = 0;
2787 : (void)cached_has_bits;
2788 :
2789 225592 : cached_has_bits = this_._impl_._has_bits_[0];
2790 : // string refDes = 1;
2791 225592 : if (CheckHasBit(cached_has_bits, 0x00000002U)) {
2792 225592 : if (!this_._internal_refdes().empty()) {
2793 225592 : const ::std::string& _s = this_._internal_refdes();
2794 451184 : ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
2795 225592 : _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "Odb.Lib.Protobuf.ProductModel.Connectivity.Member.refDes");
2796 225592 : target = stream->WriteStringMaybeAliased(1, _s, target);
2797 : }
2798 : }
2799 :
2800 : // repeated uint32 pin = 2;
2801 225592 : if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
2802 : {
2803 225592 : int byte_size = this_._impl_._pin_cached_byte_size_.Get();
2804 225592 : if (byte_size > 0) {
2805 451184 : target = stream->WriteUInt32Packed(
2806 : 2, this_._internal_pin(), byte_size, target);
2807 : }
2808 : }
2809 : }
2810 :
2811 225592 : if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
2812 : target =
2813 0 : ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
2814 : this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
2815 : }
2816 : // @@protoc_insertion_point(serialize_to_array_end:Odb.Lib.Protobuf.ProductModel.Connectivity.Member)
2817 225592 : return target;
2818 : }
2819 :
2820 : #if defined(PROTOBUF_CUSTOM_VTABLE)
2821 : ::size_t Connectivity_Member::ByteSizeLong(const MessageLite& base) {
2822 : const Connectivity_Member& this_ = static_cast<const Connectivity_Member&>(base);
2823 : #else // PROTOBUF_CUSTOM_VTABLE
2824 300468 : ::size_t Connectivity_Member::ByteSizeLong() const {
2825 300468 : const Connectivity_Member& this_ = *this;
2826 : #endif // PROTOBUF_CUSTOM_VTABLE
2827 : // @@protoc_insertion_point(message_byte_size_start:Odb.Lib.Protobuf.ProductModel.Connectivity.Member)
2828 300468 : ::size_t total_size = 0;
2829 :
2830 300468 : ::uint32_t cached_has_bits = 0;
2831 : // Prevent compiler warnings about cached_has_bits being unused
2832 : (void)cached_has_bits;
2833 :
2834 : ::_pbi::Prefetch5LinesFrom7Lines(&this_);
2835 300468 : cached_has_bits = this_._impl_._has_bits_[0];
2836 300468 : if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
2837 : // repeated uint32 pin = 2;
2838 300468 : if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
2839 300468 : total_size +=
2840 300468 : ::_pbi::WireFormatLite::UInt32SizeWithPackedTagSize(
2841 : this_._internal_pin(), 1,
2842 300468 : this_._impl_._pin_cached_byte_size_);
2843 : }
2844 : // string refDes = 1;
2845 300468 : if (CheckHasBit(cached_has_bits, 0x00000002U)) {
2846 300468 : if (!this_._internal_refdes().empty()) {
2847 300468 : total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
2848 : this_._internal_refdes());
2849 : }
2850 : }
2851 : }
2852 300468 : return this_.MaybeComputeUnknownFieldsSize(total_size,
2853 300468 : &this_._impl_._cached_size_);
2854 : }
2855 :
2856 0 : void Connectivity_Member::MergeImpl(::google::protobuf::MessageLite& to_msg,
2857 : const ::google::protobuf::MessageLite& from_msg) {
2858 0 : auto* const _this =
2859 : static_cast<Connectivity_Member*>(&to_msg);
2860 0 : auto& from = static_cast<const Connectivity_Member&>(from_msg);
2861 : if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
2862 0 : from.CheckHasBitConsistency();
2863 : }
2864 : // @@protoc_insertion_point(class_specific_merge_from_start:Odb.Lib.Protobuf.ProductModel.Connectivity.Member)
2865 0 : ABSL_DCHECK_NE(&from, _this);
2866 0 : ::uint32_t cached_has_bits = 0;
2867 : (void)cached_has_bits;
2868 :
2869 0 : cached_has_bits = from._impl_._has_bits_[0];
2870 0 : if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
2871 0 : if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
2872 0 : _this->_internal_mutable_pin()->MergeFrom(from._internal_pin());
2873 : }
2874 0 : if (CheckHasBit(cached_has_bits, 0x00000002U)) {
2875 0 : if (!from._internal_refdes().empty()) {
2876 0 : _this->_internal_set_refdes(from._internal_refdes());
2877 : } else {
2878 0 : if (_this->_impl_.refdes_.IsDefault()) {
2879 0 : _this->_internal_set_refdes("");
2880 : }
2881 : }
2882 : }
2883 : }
2884 0 : _this->_impl_._has_bits_[0] |= cached_has_bits;
2885 0 : _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
2886 0 : from._internal_metadata_);
2887 0 : }
2888 :
2889 0 : void Connectivity_Member::CopyFrom(const Connectivity_Member& from) {
2890 : // @@protoc_insertion_point(class_specific_copy_from_start:Odb.Lib.Protobuf.ProductModel.Connectivity.Member)
2891 0 : if (&from == this) return;
2892 0 : Clear();
2893 0 : MergeFrom(from);
2894 : }
2895 :
2896 :
2897 0 : void Connectivity_Member::InternalSwap(Connectivity_Member* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
2898 : using ::std::swap;
2899 0 : auto* arena = GetArena();
2900 0 : ABSL_DCHECK_EQ(arena, other->GetArena());
2901 0 : _internal_metadata_.InternalSwap(&other->_internal_metadata_);
2902 0 : swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
2903 0 : _impl_.pin_.InternalSwap(&other->_impl_.pin_);
2904 0 : ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.refdes_, &other->_impl_.refdes_, arena);
2905 0 : }
2906 :
2907 0 : ::google::protobuf::Metadata Connectivity_Member::GetMetadata() const {
2908 0 : return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
2909 : }
2910 : // ===================================================================
2911 :
2912 : class Connectivity_NetMembers::_Internal {
2913 : public:
2914 : using HasBits =
2915 : decltype(::std::declval<Connectivity_NetMembers>()._impl_._has_bits_);
2916 : static constexpr ::int32_t kHasBitsOffset =
2917 : 8 * PROTOBUF_FIELD_OFFSET(Connectivity_NetMembers, _impl_._has_bits_);
2918 : };
2919 :
2920 68719 : Connectivity_NetMembers::Connectivity_NetMembers(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
2921 : #if defined(PROTOBUF_CUSTOM_VTABLE)
2922 : : ::google::protobuf::Message(arena, Connectivity_NetMembers_class_data_.base()) {
2923 : #else // PROTOBUF_CUSTOM_VTABLE
2924 68719 : : ::google::protobuf::Message(arena) {
2925 : #endif // PROTOBUF_CUSTOM_VTABLE
2926 68719 : SharedCtor(arena);
2927 : // @@protoc_insertion_point(arena_constructor:Odb.Lib.Protobuf.ProductModel.Connectivity.NetMembers)
2928 68719 : }
2929 17361 : PROTOBUF_NDEBUG_INLINE Connectivity_NetMembers::Impl_::Impl_(
2930 : [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
2931 : [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
2932 17361 : [[maybe_unused]] const ::Odb::Lib::Protobuf::ProductModel::Connectivity_NetMembers& from_msg)
2933 17361 : : _has_bits_{from._has_bits_},
2934 17361 : _cached_size_{0},
2935 17361 : members_{visibility, arena, from.members_} {}
2936 :
2937 17361 : Connectivity_NetMembers::Connectivity_NetMembers(
2938 : ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
2939 17361 : const Connectivity_NetMembers& from)
2940 : #if defined(PROTOBUF_CUSTOM_VTABLE)
2941 : : ::google::protobuf::Message(arena, Connectivity_NetMembers_class_data_.base()) {
2942 : #else // PROTOBUF_CUSTOM_VTABLE
2943 17361 : : ::google::protobuf::Message(arena) {
2944 : #endif // PROTOBUF_CUSTOM_VTABLE
2945 17361 : Connectivity_NetMembers* const _this = this;
2946 : (void)_this;
2947 17361 : _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
2948 17361 : from._internal_metadata_);
2949 17361 : new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
2950 17361 : _impl_.net_ = from._impl_.net_;
2951 :
2952 : // @@protoc_insertion_point(copy_constructor:Odb.Lib.Protobuf.ProductModel.Connectivity.NetMembers)
2953 17361 : }
2954 68719 : PROTOBUF_NDEBUG_INLINE Connectivity_NetMembers::Impl_::Impl_(
2955 : [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
2956 68719 : [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
2957 68719 : : _cached_size_{0},
2958 137438 : members_{visibility, arena} {}
2959 :
2960 68719 : inline void Connectivity_NetMembers::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
2961 68719 : new (&_impl_) Impl_(internal_visibility(), arena);
2962 68719 : _impl_.net_ = {};
2963 68719 : }
2964 172160 : Connectivity_NetMembers::~Connectivity_NetMembers() {
2965 : // @@protoc_insertion_point(destructor:Odb.Lib.Protobuf.ProductModel.Connectivity.NetMembers)
2966 86080 : SharedDtor(*this);
2967 172160 : }
2968 86080 : inline void Connectivity_NetMembers::SharedDtor(MessageLite& self) {
2969 86080 : Connectivity_NetMembers& this_ = static_cast<Connectivity_NetMembers&>(self);
2970 : if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
2971 86080 : this_.CheckHasBitConsistency();
2972 : }
2973 86080 : this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
2974 86080 : ABSL_DCHECK(this_.GetArena() == nullptr);
2975 86080 : this_._impl_.~Impl_();
2976 86080 : }
2977 :
2978 12217 : inline void* PROTOBUF_NONNULL Connectivity_NetMembers::PlacementNew_(
2979 : const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
2980 : ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
2981 12217 : return ::new (mem) Connectivity_NetMembers(arena);
2982 : }
2983 : constexpr auto Connectivity_NetMembers::InternalNewImpl_() {
2984 : constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({
2985 : PROTOBUF_FIELD_OFFSET(Connectivity_NetMembers, _impl_.members_) +
2986 : decltype(Connectivity_NetMembers::_impl_.members_)::
2987 : InternalGetArenaOffset(
2988 : ::google::protobuf::Message::internal_visibility()),
2989 : });
2990 : if (arena_bits.has_value()) {
2991 : return ::google::protobuf::internal::MessageCreator::ZeroInit(
2992 : sizeof(Connectivity_NetMembers), alignof(Connectivity_NetMembers), *arena_bits);
2993 : } else {
2994 : return ::google::protobuf::internal::MessageCreator(&Connectivity_NetMembers::PlacementNew_,
2995 : sizeof(Connectivity_NetMembers),
2996 : alignof(Connectivity_NetMembers));
2997 : }
2998 : }
2999 : constexpr auto Connectivity_NetMembers::InternalGenerateClassData_() {
3000 : return ::google::protobuf::internal::ClassDataFull{
3001 : ::google::protobuf::internal::ClassData{
3002 : &_Connectivity_NetMembers_default_instance_._instance,
3003 : &_table_.header,
3004 : nullptr, // OnDemandRegisterArenaDtor
3005 : nullptr, // IsInitialized
3006 : &Connectivity_NetMembers::MergeImpl,
3007 : ::google::protobuf::Message::GetNewImpl<Connectivity_NetMembers>(),
3008 : #if defined(PROTOBUF_CUSTOM_VTABLE)
3009 : &Connectivity_NetMembers::SharedDtor,
3010 : ::google::protobuf::Message::GetClearImpl<Connectivity_NetMembers>(), &Connectivity_NetMembers::ByteSizeLong,
3011 : &Connectivity_NetMembers::_InternalSerialize,
3012 : #endif // PROTOBUF_CUSTOM_VTABLE
3013 : PROTOBUF_FIELD_OFFSET(Connectivity_NetMembers, _impl_._cached_size_),
3014 : false,
3015 : },
3016 : &Connectivity_NetMembers::kDescriptorMethods,
3017 : &descriptor_table_connectivity_2eproto,
3018 : nullptr, // tracker
3019 : };
3020 : }
3021 :
3022 : PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
3023 : ::google::protobuf::internal::ClassDataFull Connectivity_NetMembers_class_data_ =
3024 : Connectivity_NetMembers::InternalGenerateClassData_();
3025 :
3026 : PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
3027 468685 : Connectivity_NetMembers::GetClassData() const {
3028 468685 : ::google::protobuf::internal::PrefetchToLocalCache(&Connectivity_NetMembers_class_data_);
3029 468685 : ::google::protobuf::internal::PrefetchToLocalCache(Connectivity_NetMembers_class_data_.tc_table);
3030 468685 : return Connectivity_NetMembers_class_data_.base();
3031 : }
3032 : PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
3033 : const ::_pbi::TcParseTable<1, 2, 1, 0, 2>
3034 : Connectivity_NetMembers::_table_ = {
3035 : {
3036 : PROTOBUF_FIELD_OFFSET(Connectivity_NetMembers, _impl_._has_bits_),
3037 : 0, // no _extensions_
3038 : 2, 8, // max_field_number, fast_idx_mask
3039 : offsetof(decltype(_table_), field_lookup_table),
3040 : 4294967292, // skipmap
3041 : offsetof(decltype(_table_), field_entries),
3042 : 2, // num_field_entries
3043 : 1, // num_aux_entries
3044 : offsetof(decltype(_table_), aux_entries),
3045 : Connectivity_NetMembers_class_data_.base(),
3046 : nullptr, // post_loop_handler
3047 : ::_pbi::TcParser::GenericFallback, // fallback
3048 : #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
3049 : ::_pbi::TcParser::GetTable<::Odb::Lib::Protobuf::ProductModel::Connectivity_NetMembers>(), // to_prefetch
3050 : #endif // PROTOBUF_PREFETCH_PARSE_TABLE
3051 : }, {{
3052 : // repeated .Odb.Lib.Protobuf.ProductModel.Connectivity.Member members = 2;
3053 : {::_pbi::TcParser::FastMtR1,
3054 : {18, 0, 0,
3055 : PROTOBUF_FIELD_OFFSET(Connectivity_NetMembers, _impl_.members_)}},
3056 : // uint32 net = 1;
3057 : {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(Connectivity_NetMembers, _impl_.net_), 1>(),
3058 : {8, 1, 0,
3059 : PROTOBUF_FIELD_OFFSET(Connectivity_NetMembers, _impl_.net_)}},
3060 : }}, {{
3061 : 65535, 65535
3062 : }}, {{
3063 : // uint32 net = 1;
3064 : {PROTOBUF_FIELD_OFFSET(Connectivity_NetMembers, _impl_.net_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kUInt32)},
3065 : // repeated .Odb.Lib.Protobuf.ProductModel.Connectivity.Member members = 2;
3066 : {PROTOBUF_FIELD_OFFSET(Connectivity_NetMembers, _impl_.members_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
3067 : }},
3068 : {{
3069 : {::_pbi::TcParser::GetTable<::Odb::Lib::Protobuf::ProductModel::Connectivity_Member>()},
3070 : }},
3071 : {{
3072 : }},
3073 : };
3074 0 : PROTOBUF_NOINLINE void Connectivity_NetMembers::Clear() {
3075 : // @@protoc_insertion_point(message_clear_start:Odb.Lib.Protobuf.ProductModel.Connectivity.NetMembers)
3076 0 : ::google::protobuf::internal::TSanWrite(&_impl_);
3077 0 : ::uint32_t cached_has_bits = 0;
3078 : // Prevent compiler warnings about cached_has_bits being unused
3079 : (void) cached_has_bits;
3080 :
3081 0 : cached_has_bits = _impl_._has_bits_[0];
3082 0 : if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
3083 0 : _impl_.members_.Clear();
3084 : }
3085 0 : _impl_.net_ = 0u;
3086 0 : _impl_._has_bits_.Clear();
3087 0 : _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
3088 0 : }
3089 :
3090 : #if defined(PROTOBUF_CUSTOM_VTABLE)
3091 : ::uint8_t* PROTOBUF_NONNULL Connectivity_NetMembers::_InternalSerialize(
3092 : const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
3093 : ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
3094 : const Connectivity_NetMembers& this_ = static_cast<const Connectivity_NetMembers&>(base);
3095 : #else // PROTOBUF_CUSTOM_VTABLE
3096 59618 : ::uint8_t* PROTOBUF_NONNULL Connectivity_NetMembers::_InternalSerialize(
3097 : ::uint8_t* PROTOBUF_NONNULL target,
3098 : ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
3099 59618 : const Connectivity_NetMembers& this_ = *this;
3100 : #endif // PROTOBUF_CUSTOM_VTABLE
3101 : if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
3102 59618 : this_.CheckHasBitConsistency();
3103 : }
3104 : // @@protoc_insertion_point(serialize_to_array_start:Odb.Lib.Protobuf.ProductModel.Connectivity.NetMembers)
3105 59618 : ::uint32_t cached_has_bits = 0;
3106 : (void)cached_has_bits;
3107 :
3108 59618 : cached_has_bits = this_._impl_._has_bits_[0];
3109 : // uint32 net = 1;
3110 59618 : if (CheckHasBit(cached_has_bits, 0x00000002U)) {
3111 59618 : if (this_._internal_net() != 0) {
3112 59618 : target = stream->EnsureSpace(target);
3113 59618 : target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
3114 : 1, this_._internal_net(), target);
3115 : }
3116 : }
3117 :
3118 : // repeated .Odb.Lib.Protobuf.ProductModel.Connectivity.Member members = 2;
3119 59618 : if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
3120 344828 : for (unsigned i = 0, n = static_cast<unsigned>(
3121 59618 : this_._internal_members_size());
3122 285210 : i < n; i++) {
3123 225592 : const auto& repfield = this_._internal_members().Get(i);
3124 : target =
3125 225592 : ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
3126 : 2, repfield, repfield.GetCachedSize(),
3127 : target, stream);
3128 : }
3129 : }
3130 :
3131 59618 : if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
3132 : target =
3133 0 : ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
3134 : this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
3135 : }
3136 : // @@protoc_insertion_point(serialize_to_array_end:Odb.Lib.Protobuf.ProductModel.Connectivity.NetMembers)
3137 59618 : return target;
3138 : }
3139 :
3140 : #if defined(PROTOBUF_CUSTOM_VTABLE)
3141 : ::size_t Connectivity_NetMembers::ByteSizeLong(const MessageLite& base) {
3142 : const Connectivity_NetMembers& this_ = static_cast<const Connectivity_NetMembers&>(base);
3143 : #else // PROTOBUF_CUSTOM_VTABLE
3144 78974 : ::size_t Connectivity_NetMembers::ByteSizeLong() const {
3145 78974 : const Connectivity_NetMembers& this_ = *this;
3146 : #endif // PROTOBUF_CUSTOM_VTABLE
3147 : // @@protoc_insertion_point(message_byte_size_start:Odb.Lib.Protobuf.ProductModel.Connectivity.NetMembers)
3148 78974 : ::size_t total_size = 0;
3149 :
3150 78974 : ::uint32_t cached_has_bits = 0;
3151 : // Prevent compiler warnings about cached_has_bits being unused
3152 : (void)cached_has_bits;
3153 :
3154 : ::_pbi::Prefetch5LinesFrom7Lines(&this_);
3155 78974 : cached_has_bits = this_._impl_._has_bits_[0];
3156 78974 : if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
3157 : // repeated .Odb.Lib.Protobuf.ProductModel.Connectivity.Member members = 2;
3158 78974 : if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
3159 78974 : total_size += 1UL * this_._internal_members_size();
3160 379442 : for (const auto& msg : this_._internal_members()) {
3161 300468 : total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
3162 : }
3163 : }
3164 : // uint32 net = 1;
3165 78974 : if (CheckHasBit(cached_has_bits, 0x00000002U)) {
3166 78974 : if (this_._internal_net() != 0) {
3167 78974 : total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
3168 : this_._internal_net());
3169 : }
3170 : }
3171 : }
3172 78974 : return this_.MaybeComputeUnknownFieldsSize(total_size,
3173 78974 : &this_._impl_._cached_size_);
3174 : }
3175 :
3176 0 : void Connectivity_NetMembers::MergeImpl(::google::protobuf::MessageLite& to_msg,
3177 : const ::google::protobuf::MessageLite& from_msg) {
3178 0 : auto* const _this =
3179 : static_cast<Connectivity_NetMembers*>(&to_msg);
3180 0 : auto& from = static_cast<const Connectivity_NetMembers&>(from_msg);
3181 : if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
3182 0 : from.CheckHasBitConsistency();
3183 : }
3184 0 : ::google::protobuf::Arena* arena = _this->GetArena();
3185 : // @@protoc_insertion_point(class_specific_merge_from_start:Odb.Lib.Protobuf.ProductModel.Connectivity.NetMembers)
3186 0 : ABSL_DCHECK_NE(&from, _this);
3187 0 : ::uint32_t cached_has_bits = 0;
3188 : (void)cached_has_bits;
3189 :
3190 0 : cached_has_bits = from._impl_._has_bits_[0];
3191 0 : if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
3192 0 : if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
3193 0 : _this->_internal_mutable_members()->InternalMergeFromWithArena(
3194 0 : ::google::protobuf::MessageLite::internal_visibility(), arena,
3195 : from._internal_members());
3196 : }
3197 0 : if (CheckHasBit(cached_has_bits, 0x00000002U)) {
3198 0 : if (from._internal_net() != 0) {
3199 0 : _this->_impl_.net_ = from._impl_.net_;
3200 : }
3201 : }
3202 : }
3203 0 : _this->_impl_._has_bits_[0] |= cached_has_bits;
3204 0 : _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
3205 0 : from._internal_metadata_);
3206 0 : }
3207 :
3208 0 : void Connectivity_NetMembers::CopyFrom(const Connectivity_NetMembers& from) {
3209 : // @@protoc_insertion_point(class_specific_copy_from_start:Odb.Lib.Protobuf.ProductModel.Connectivity.NetMembers)
3210 0 : if (&from == this) return;
3211 0 : Clear();
3212 0 : MergeFrom(from);
3213 : }
3214 :
3215 :
3216 0 : void Connectivity_NetMembers::InternalSwap(Connectivity_NetMembers* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
3217 : using ::std::swap;
3218 0 : _internal_metadata_.InternalSwap(&other->_internal_metadata_);
3219 0 : swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
3220 0 : _impl_.members_.InternalSwap(&other->_impl_.members_);
3221 0 : swap(_impl_.net_, other->_impl_.net_);
3222 0 : }
3223 :
3224 0 : ::google::protobuf::Metadata Connectivity_NetMembers::GetMetadata() const {
3225 0 : return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
3226 : }
3227 : // ===================================================================
3228 :
3229 : class Connectivity::_Internal {
3230 : public:
3231 : using HasBits =
3232 : decltype(::std::declval<Connectivity>()._impl_._has_bits_);
3233 : static constexpr ::int32_t kHasBitsOffset =
3234 : 8 * PROTOBUF_FIELD_OFFSET(Connectivity, _impl_._has_bits_);
3235 : };
3236 :
3237 224 : Connectivity::Connectivity(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
3238 : #if defined(PROTOBUF_CUSTOM_VTABLE)
3239 : : ::google::protobuf::Message(arena, Connectivity_class_data_.base()) {
3240 : #else // PROTOBUF_CUSTOM_VTABLE
3241 224 : : ::google::protobuf::Message(arena) {
3242 : #endif // PROTOBUF_CUSTOM_VTABLE
3243 224 : SharedCtor(arena);
3244 : // @@protoc_insertion_point(arena_constructor:Odb.Lib.Protobuf.ProductModel.Connectivity)
3245 224 : }
3246 12 : PROTOBUF_NDEBUG_INLINE Connectivity::Impl_::Impl_(
3247 : [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
3248 : [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
3249 12 : [[maybe_unused]] const ::Odb::Lib::Protobuf::ProductModel::Connectivity& from_msg)
3250 12 : : _has_bits_{from._has_bits_},
3251 12 : _cached_size_{0},
3252 12 : nets_{visibility, arena, from.nets_},
3253 12 : packages_{visibility, arena, from.packages_},
3254 12 : components_{visibility, arena, from.components_},
3255 12 : netmembers_{visibility, arena, from.netmembers_} {}
3256 :
3257 12 : Connectivity::Connectivity(
3258 : ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
3259 12 : const Connectivity& from)
3260 : #if defined(PROTOBUF_CUSTOM_VTABLE)
3261 : : ::google::protobuf::Message(arena, Connectivity_class_data_.base()) {
3262 : #else // PROTOBUF_CUSTOM_VTABLE
3263 12 : : ::google::protobuf::Message(arena) {
3264 : #endif // PROTOBUF_CUSTOM_VTABLE
3265 12 : Connectivity* const _this = this;
3266 : (void)_this;
3267 12 : _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
3268 12 : from._internal_metadata_);
3269 12 : new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
3270 :
3271 : // @@protoc_insertion_point(copy_constructor:Odb.Lib.Protobuf.ProductModel.Connectivity)
3272 12 : }
3273 224 : PROTOBUF_NDEBUG_INLINE Connectivity::Impl_::Impl_(
3274 : [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
3275 224 : [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
3276 224 : : _cached_size_{0},
3277 224 : nets_{visibility, arena},
3278 224 : packages_{visibility, arena},
3279 224 : components_{visibility, arena},
3280 448 : netmembers_{visibility, arena} {}
3281 :
3282 224 : inline void Connectivity::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
3283 224 : new (&_impl_) Impl_(internal_visibility(), arena);
3284 224 : }
3285 472 : Connectivity::~Connectivity() {
3286 : // @@protoc_insertion_point(destructor:Odb.Lib.Protobuf.ProductModel.Connectivity)
3287 236 : SharedDtor(*this);
3288 472 : }
3289 236 : inline void Connectivity::SharedDtor(MessageLite& self) {
3290 236 : Connectivity& this_ = static_cast<Connectivity&>(self);
3291 : if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
3292 236 : this_.CheckHasBitConsistency();
3293 : }
3294 236 : this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
3295 236 : ABSL_DCHECK(this_.GetArena() == nullptr);
3296 236 : this_._impl_.~Impl_();
3297 236 : }
3298 :
3299 64 : inline void* PROTOBUF_NONNULL Connectivity::PlacementNew_(
3300 : const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
3301 : ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
3302 64 : return ::new (mem) Connectivity(arena);
3303 : }
3304 : constexpr auto Connectivity::InternalNewImpl_() {
3305 : constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({
3306 : PROTOBUF_FIELD_OFFSET(Connectivity, _impl_.nets_) +
3307 : decltype(Connectivity::_impl_.nets_)::
3308 : InternalGetArenaOffset(
3309 : ::google::protobuf::Message::internal_visibility()),
3310 : PROTOBUF_FIELD_OFFSET(Connectivity, _impl_.packages_) +
3311 : decltype(Connectivity::_impl_.packages_)::
3312 : InternalGetArenaOffset(
3313 : ::google::protobuf::Message::internal_visibility()),
3314 : PROTOBUF_FIELD_OFFSET(Connectivity, _impl_.components_) +
3315 : decltype(Connectivity::_impl_.components_)::
3316 : InternalGetArenaOffset(
3317 : ::google::protobuf::Message::internal_visibility()),
3318 : PROTOBUF_FIELD_OFFSET(Connectivity, _impl_.netmembers_) +
3319 : decltype(Connectivity::_impl_.netmembers_)::
3320 : InternalGetArenaOffset(
3321 : ::google::protobuf::Message::internal_visibility()),
3322 : });
3323 : if (arena_bits.has_value()) {
3324 : return ::google::protobuf::internal::MessageCreator::ZeroInit(
3325 : sizeof(Connectivity), alignof(Connectivity), *arena_bits);
3326 : } else {
3327 : return ::google::protobuf::internal::MessageCreator(&Connectivity::PlacementNew_,
3328 : sizeof(Connectivity),
3329 : alignof(Connectivity));
3330 : }
3331 : }
3332 : constexpr auto Connectivity::InternalGenerateClassData_() {
3333 : return ::google::protobuf::internal::ClassDataFull{
3334 : ::google::protobuf::internal::ClassData{
3335 : &_Connectivity_default_instance_._instance,
3336 : &_table_.header,
3337 : nullptr, // OnDemandRegisterArenaDtor
3338 : nullptr, // IsInitialized
3339 : &Connectivity::MergeImpl,
3340 : ::google::protobuf::Message::GetNewImpl<Connectivity>(),
3341 : #if defined(PROTOBUF_CUSTOM_VTABLE)
3342 : &Connectivity::SharedDtor,
3343 : ::google::protobuf::Message::GetClearImpl<Connectivity>(), &Connectivity::ByteSizeLong,
3344 : &Connectivity::_InternalSerialize,
3345 : #endif // PROTOBUF_CUSTOM_VTABLE
3346 : PROTOBUF_FIELD_OFFSET(Connectivity, _impl_._cached_size_),
3347 : false,
3348 : },
3349 : &Connectivity::kDescriptorMethods,
3350 : &descriptor_table_connectivity_2eproto,
3351 : nullptr, // tracker
3352 : };
3353 : }
3354 :
3355 : PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
3356 : ::google::protobuf::internal::ClassDataFull Connectivity_class_data_ =
3357 : Connectivity::InternalGenerateClassData_();
3358 :
3359 : PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
3360 162644 : Connectivity::GetClassData() const {
3361 162644 : ::google::protobuf::internal::PrefetchToLocalCache(&Connectivity_class_data_);
3362 162644 : ::google::protobuf::internal::PrefetchToLocalCache(Connectivity_class_data_.tc_table);
3363 162644 : return Connectivity_class_data_.base();
3364 : }
3365 : PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
3366 : const ::_pbi::TcParseTable<2, 4, 4, 0, 2>
3367 : Connectivity::_table_ = {
3368 : {
3369 : PROTOBUF_FIELD_OFFSET(Connectivity, _impl_._has_bits_),
3370 : 0, // no _extensions_
3371 : 4, 24, // max_field_number, fast_idx_mask
3372 : offsetof(decltype(_table_), field_lookup_table),
3373 : 4294967280, // skipmap
3374 : offsetof(decltype(_table_), field_entries),
3375 : 4, // num_field_entries
3376 : 4, // num_aux_entries
3377 : offsetof(decltype(_table_), aux_entries),
3378 : Connectivity_class_data_.base(),
3379 : nullptr, // post_loop_handler
3380 : ::_pbi::TcParser::GenericFallback, // fallback
3381 : #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
3382 : ::_pbi::TcParser::GetTable<::Odb::Lib::Protobuf::ProductModel::Connectivity>(), // to_prefetch
3383 : #endif // PROTOBUF_PREFETCH_PARSE_TABLE
3384 : }, {{
3385 : // repeated .Odb.Lib.Protobuf.ProductModel.Connectivity.NetMembers netMembers = 4;
3386 : {::_pbi::TcParser::FastMtR1,
3387 : {34, 3, 3,
3388 : PROTOBUF_FIELD_OFFSET(Connectivity, _impl_.netmembers_)}},
3389 : // repeated .Odb.Lib.Protobuf.ProductModel.Connectivity.NetEntry nets = 1;
3390 : {::_pbi::TcParser::FastMtR1,
3391 : {10, 0, 0,
3392 : PROTOBUF_FIELD_OFFSET(Connectivity, _impl_.nets_)}},
3393 : // repeated .Odb.Lib.Protobuf.ProductModel.Connectivity.PackagePins packages = 2;
3394 : {::_pbi::TcParser::FastMtR1,
3395 : {18, 1, 1,
3396 : PROTOBUF_FIELD_OFFSET(Connectivity, _impl_.packages_)}},
3397 : // repeated .Odb.Lib.Protobuf.ProductModel.Connectivity.PlacedComponent components = 3;
3398 : {::_pbi::TcParser::FastMtR1,
3399 : {26, 2, 2,
3400 : PROTOBUF_FIELD_OFFSET(Connectivity, _impl_.components_)}},
3401 : }}, {{
3402 : 65535, 65535
3403 : }}, {{
3404 : // repeated .Odb.Lib.Protobuf.ProductModel.Connectivity.NetEntry nets = 1;
3405 : {PROTOBUF_FIELD_OFFSET(Connectivity, _impl_.nets_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
3406 : // repeated .Odb.Lib.Protobuf.ProductModel.Connectivity.PackagePins packages = 2;
3407 : {PROTOBUF_FIELD_OFFSET(Connectivity, _impl_.packages_), _Internal::kHasBitsOffset + 1, 1, (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
3408 : // repeated .Odb.Lib.Protobuf.ProductModel.Connectivity.PlacedComponent components = 3;
3409 : {PROTOBUF_FIELD_OFFSET(Connectivity, _impl_.components_), _Internal::kHasBitsOffset + 2, 2, (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
3410 : // repeated .Odb.Lib.Protobuf.ProductModel.Connectivity.NetMembers netMembers = 4;
3411 : {PROTOBUF_FIELD_OFFSET(Connectivity, _impl_.netmembers_), _Internal::kHasBitsOffset + 3, 3, (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
3412 : }},
3413 : {{
3414 : {::_pbi::TcParser::GetTable<::Odb::Lib::Protobuf::ProductModel::Connectivity_NetEntry>()},
3415 : {::_pbi::TcParser::GetTable<::Odb::Lib::Protobuf::ProductModel::Connectivity_PackagePins>()},
3416 : {::_pbi::TcParser::GetTable<::Odb::Lib::Protobuf::ProductModel::Connectivity_PlacedComponent>()},
3417 : {::_pbi::TcParser::GetTable<::Odb::Lib::Protobuf::ProductModel::Connectivity_NetMembers>()},
3418 : }},
3419 : {{
3420 : }},
3421 : };
3422 0 : PROTOBUF_NOINLINE void Connectivity::Clear() {
3423 : // @@protoc_insertion_point(message_clear_start:Odb.Lib.Protobuf.ProductModel.Connectivity)
3424 0 : ::google::protobuf::internal::TSanWrite(&_impl_);
3425 0 : ::uint32_t cached_has_bits = 0;
3426 : // Prevent compiler warnings about cached_has_bits being unused
3427 : (void) cached_has_bits;
3428 :
3429 0 : cached_has_bits = _impl_._has_bits_[0];
3430 0 : if (BatchCheckHasBit(cached_has_bits, 0x0000000fU)) {
3431 0 : if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
3432 0 : _impl_.nets_.Clear();
3433 : }
3434 0 : if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) {
3435 0 : _impl_.packages_.Clear();
3436 : }
3437 0 : if (CheckHasBitForRepeated(cached_has_bits, 0x00000004U)) {
3438 0 : _impl_.components_.Clear();
3439 : }
3440 0 : if (CheckHasBitForRepeated(cached_has_bits, 0x00000008U)) {
3441 0 : _impl_.netmembers_.Clear();
3442 : }
3443 : }
3444 0 : _impl_._has_bits_.Clear();
3445 0 : _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
3446 0 : }
3447 :
3448 : #if defined(PROTOBUF_CUSTOM_VTABLE)
3449 : ::uint8_t* PROTOBUF_NONNULL Connectivity::_InternalSerialize(
3450 : const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
3451 : ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
3452 : const Connectivity& this_ = static_cast<const Connectivity&>(base);
3453 : #else // PROTOBUF_CUSTOM_VTABLE
3454 161 : ::uint8_t* PROTOBUF_NONNULL Connectivity::_InternalSerialize(
3455 : ::uint8_t* PROTOBUF_NONNULL target,
3456 : ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
3457 161 : const Connectivity& this_ = *this;
3458 : #endif // PROTOBUF_CUSTOM_VTABLE
3459 : if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
3460 161 : this_.CheckHasBitConsistency();
3461 : }
3462 : // @@protoc_insertion_point(serialize_to_array_start:Odb.Lib.Protobuf.ProductModel.Connectivity)
3463 161 : ::uint32_t cached_has_bits = 0;
3464 : (void)cached_has_bits;
3465 :
3466 161 : cached_has_bits = this_._impl_._has_bits_[0];
3467 : // repeated .Odb.Lib.Protobuf.ProductModel.Connectivity.NetEntry nets = 1;
3468 161 : if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
3469 59894 : for (unsigned i = 0, n = static_cast<unsigned>(
3470 92 : this_._internal_nets_size());
3471 59802 : i < n; i++) {
3472 59710 : const auto& repfield = this_._internal_nets().Get(i);
3473 : target =
3474 59710 : ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
3475 : 1, repfield, repfield.GetCachedSize(),
3476 : target, stream);
3477 : }
3478 : }
3479 :
3480 : // repeated .Odb.Lib.Protobuf.ProductModel.Connectivity.PackagePins packages = 2;
3481 161 : if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) {
3482 8326 : for (unsigned i = 0, n = static_cast<unsigned>(
3483 92 : this_._internal_packages_size());
3484 8234 : i < n; i++) {
3485 8142 : const auto& repfield = this_._internal_packages().Get(i);
3486 : target =
3487 8142 : ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
3488 : 2, repfield, repfield.GetCachedSize(),
3489 : target, stream);
3490 : }
3491 : }
3492 :
3493 : // repeated .Odb.Lib.Protobuf.ProductModel.Connectivity.PlacedComponent components = 3;
3494 161 : if (CheckHasBitForRepeated(cached_has_bits, 0x00000004U)) {
3495 73286 : for (unsigned i = 0, n = static_cast<unsigned>(
3496 92 : this_._internal_components_size());
3497 73194 : i < n; i++) {
3498 73102 : const auto& repfield = this_._internal_components().Get(i);
3499 : target =
3500 73102 : ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
3501 : 3, repfield, repfield.GetCachedSize(),
3502 : target, stream);
3503 : }
3504 : }
3505 :
3506 : // repeated .Odb.Lib.Protobuf.ProductModel.Connectivity.NetMembers netMembers = 4;
3507 161 : if (CheckHasBitForRepeated(cached_has_bits, 0x00000008U)) {
3508 59802 : for (unsigned i = 0, n = static_cast<unsigned>(
3509 92 : this_._internal_netmembers_size());
3510 59710 : i < n; i++) {
3511 59618 : const auto& repfield = this_._internal_netmembers().Get(i);
3512 : target =
3513 59618 : ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
3514 : 4, repfield, repfield.GetCachedSize(),
3515 : target, stream);
3516 : }
3517 : }
3518 :
3519 161 : if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
3520 : target =
3521 0 : ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
3522 : this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
3523 : }
3524 : // @@protoc_insertion_point(serialize_to_array_end:Odb.Lib.Protobuf.ProductModel.Connectivity)
3525 161 : return target;
3526 : }
3527 :
3528 : #if defined(PROTOBUF_CUSTOM_VTABLE)
3529 : ::size_t Connectivity::ByteSizeLong(const MessageLite& base) {
3530 : const Connectivity& this_ = static_cast<const Connectivity&>(base);
3531 : #else // PROTOBUF_CUSTOM_VTABLE
3532 230 : ::size_t Connectivity::ByteSizeLong() const {
3533 230 : const Connectivity& this_ = *this;
3534 : #endif // PROTOBUF_CUSTOM_VTABLE
3535 : // @@protoc_insertion_point(message_byte_size_start:Odb.Lib.Protobuf.ProductModel.Connectivity)
3536 230 : ::size_t total_size = 0;
3537 :
3538 230 : ::uint32_t cached_has_bits = 0;
3539 : // Prevent compiler warnings about cached_has_bits being unused
3540 : (void)cached_has_bits;
3541 :
3542 : ::_pbi::Prefetch5LinesFrom7Lines(&this_);
3543 230 : cached_has_bits = this_._impl_._has_bits_[0];
3544 230 : if (BatchCheckHasBit(cached_has_bits, 0x0000000fU)) {
3545 : // repeated .Odb.Lib.Protobuf.ProductModel.Connectivity.NetEntry nets = 1;
3546 224 : if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
3547 122 : total_size += 1UL * this_._internal_nets_size();
3548 79218 : for (const auto& msg : this_._internal_nets()) {
3549 79096 : total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
3550 : }
3551 : }
3552 : // repeated .Odb.Lib.Protobuf.ProductModel.Connectivity.PackagePins packages = 2;
3553 224 : if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) {
3554 122 : total_size += 1UL * this_._internal_packages_size();
3555 10624 : for (const auto& msg : this_._internal_packages()) {
3556 10502 : total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
3557 : }
3558 : }
3559 : // repeated .Odb.Lib.Protobuf.ProductModel.Connectivity.PlacedComponent components = 3;
3560 224 : if (CheckHasBitForRepeated(cached_has_bits, 0x00000004U)) {
3561 122 : total_size += 1UL * this_._internal_components_size();
3562 97372 : for (const auto& msg : this_._internal_components()) {
3563 97250 : total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
3564 : }
3565 : }
3566 : // repeated .Odb.Lib.Protobuf.ProductModel.Connectivity.NetMembers netMembers = 4;
3567 224 : if (CheckHasBitForRepeated(cached_has_bits, 0x00000008U)) {
3568 122 : total_size += 1UL * this_._internal_netmembers_size();
3569 79096 : for (const auto& msg : this_._internal_netmembers()) {
3570 78974 : total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
3571 : }
3572 : }
3573 : }
3574 230 : return this_.MaybeComputeUnknownFieldsSize(total_size,
3575 230 : &this_._impl_._cached_size_);
3576 : }
3577 :
3578 63 : void Connectivity::MergeImpl(::google::protobuf::MessageLite& to_msg,
3579 : const ::google::protobuf::MessageLite& from_msg) {
3580 63 : auto* const _this =
3581 : static_cast<Connectivity*>(&to_msg);
3582 63 : auto& from = static_cast<const Connectivity&>(from_msg);
3583 : if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
3584 63 : from.CheckHasBitConsistency();
3585 : }
3586 63 : ::google::protobuf::Arena* arena = _this->GetArena();
3587 : // @@protoc_insertion_point(class_specific_merge_from_start:Odb.Lib.Protobuf.ProductModel.Connectivity)
3588 63 : ABSL_DCHECK_NE(&from, _this);
3589 63 : ::uint32_t cached_has_bits = 0;
3590 : (void)cached_has_bits;
3591 :
3592 63 : cached_has_bits = from._impl_._has_bits_[0];
3593 63 : if (BatchCheckHasBit(cached_has_bits, 0x0000000fU)) {
3594 60 : if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
3595 30 : _this->_internal_mutable_nets()->InternalMergeFromWithArena(
3596 15 : ::google::protobuf::MessageLite::internal_visibility(), arena,
3597 : from._internal_nets());
3598 : }
3599 60 : if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) {
3600 30 : _this->_internal_mutable_packages()->InternalMergeFromWithArena(
3601 15 : ::google::protobuf::MessageLite::internal_visibility(), arena,
3602 : from._internal_packages());
3603 : }
3604 60 : if (CheckHasBitForRepeated(cached_has_bits, 0x00000004U)) {
3605 30 : _this->_internal_mutable_components()->InternalMergeFromWithArena(
3606 15 : ::google::protobuf::MessageLite::internal_visibility(), arena,
3607 : from._internal_components());
3608 : }
3609 60 : if (CheckHasBitForRepeated(cached_has_bits, 0x00000008U)) {
3610 30 : _this->_internal_mutable_netmembers()->InternalMergeFromWithArena(
3611 15 : ::google::protobuf::MessageLite::internal_visibility(), arena,
3612 : from._internal_netmembers());
3613 : }
3614 : }
3615 63 : _this->_impl_._has_bits_[0] |= cached_has_bits;
3616 63 : _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
3617 63 : from._internal_metadata_);
3618 63 : }
3619 :
3620 0 : void Connectivity::CopyFrom(const Connectivity& from) {
3621 : // @@protoc_insertion_point(class_specific_copy_from_start:Odb.Lib.Protobuf.ProductModel.Connectivity)
3622 0 : if (&from == this) return;
3623 0 : Clear();
3624 0 : MergeFrom(from);
3625 : }
3626 :
3627 :
3628 0 : void Connectivity::InternalSwap(Connectivity* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
3629 : using ::std::swap;
3630 0 : _internal_metadata_.InternalSwap(&other->_internal_metadata_);
3631 0 : swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
3632 0 : _impl_.nets_.InternalSwap(&other->_impl_.nets_);
3633 0 : _impl_.packages_.InternalSwap(&other->_impl_.packages_);
3634 0 : _impl_.components_.InternalSwap(&other->_impl_.components_);
3635 0 : _impl_.netmembers_.InternalSwap(&other->_impl_.netmembers_);
3636 0 : }
3637 :
3638 0 : ::google::protobuf::Metadata Connectivity::GetMetadata() const {
3639 0 : return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
3640 : }
3641 : // @@protoc_insertion_point(namespace_scope)
3642 : } // namespace ProductModel
3643 : } // namespace Protobuf
3644 : } // namespace Lib
3645 : } // namespace Odb
3646 : namespace google {
3647 : namespace protobuf {
3648 : } // namespace protobuf
3649 : } // namespace google
3650 : // @@protoc_insertion_point(global_scope)
3651 : PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 static ::std::false_type
3652 : _static_init2_ [[maybe_unused]] =
3653 : (::_pbi::AddDescriptors(&descriptor_table_connectivity_2eproto),
3654 : ::std::false_type{});
3655 : #include "google/protobuf/port_undef.inc"
|