Line data Source code
1 : // Generated by the protocol buffer compiler. DO NOT EDIT!
2 : // NO CHECKED-IN PROTOBUF GENCODE
3 : // source: design.proto
4 : // Protobuf C++ Version: 6.33.4
5 :
6 : #include "design.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 : template <typename>
32 : PROTOBUF_CONSTEXPR Design_PartsByNameEntry_DoNotUse::Design_PartsByNameEntry_DoNotUse(::_pbi::ConstantInitialized)
33 : #if defined(PROTOBUF_CUSTOM_VTABLE)
34 : : Design_PartsByNameEntry_DoNotUse::MapEntry(Design_PartsByNameEntry_DoNotUse_class_data_.base()){}
35 : #else // PROTOBUF_CUSTOM_VTABLE
36 : : Design_PartsByNameEntry_DoNotUse::MapEntry() {
37 : }
38 : #endif // PROTOBUF_CUSTOM_VTABLE
39 : struct Design_PartsByNameEntry_DoNotUseDefaultTypeInternal {
40 : PROTOBUF_CONSTEXPR Design_PartsByNameEntry_DoNotUseDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
41 319 : ~Design_PartsByNameEntry_DoNotUseDefaultTypeInternal() {}
42 : union {
43 : Design_PartsByNameEntry_DoNotUse _instance;
44 : };
45 : };
46 :
47 : PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT ODBDESIGN_EXPORT
48 : PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 Design_PartsByNameEntry_DoNotUseDefaultTypeInternal _Design_PartsByNameEntry_DoNotUse_default_instance_;
49 : template <typename>
50 : PROTOBUF_CONSTEXPR Design_PackagesByNameEntry_DoNotUse::Design_PackagesByNameEntry_DoNotUse(::_pbi::ConstantInitialized)
51 : #if defined(PROTOBUF_CUSTOM_VTABLE)
52 : : Design_PackagesByNameEntry_DoNotUse::MapEntry(Design_PackagesByNameEntry_DoNotUse_class_data_.base()){}
53 : #else // PROTOBUF_CUSTOM_VTABLE
54 : : Design_PackagesByNameEntry_DoNotUse::MapEntry() {
55 : }
56 : #endif // PROTOBUF_CUSTOM_VTABLE
57 : struct Design_PackagesByNameEntry_DoNotUseDefaultTypeInternal {
58 : PROTOBUF_CONSTEXPR Design_PackagesByNameEntry_DoNotUseDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
59 319 : ~Design_PackagesByNameEntry_DoNotUseDefaultTypeInternal() {}
60 : union {
61 : Design_PackagesByNameEntry_DoNotUse _instance;
62 : };
63 : };
64 :
65 : PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT ODBDESIGN_EXPORT
66 : PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 Design_PackagesByNameEntry_DoNotUseDefaultTypeInternal _Design_PackagesByNameEntry_DoNotUse_default_instance_;
67 : template <typename>
68 : PROTOBUF_CONSTEXPR Design_ComponentsByNameEntry_DoNotUse::Design_ComponentsByNameEntry_DoNotUse(::_pbi::ConstantInitialized)
69 : #if defined(PROTOBUF_CUSTOM_VTABLE)
70 : : Design_ComponentsByNameEntry_DoNotUse::MapEntry(Design_ComponentsByNameEntry_DoNotUse_class_data_.base()){}
71 : #else // PROTOBUF_CUSTOM_VTABLE
72 : : Design_ComponentsByNameEntry_DoNotUse::MapEntry() {
73 : }
74 : #endif // PROTOBUF_CUSTOM_VTABLE
75 : struct Design_ComponentsByNameEntry_DoNotUseDefaultTypeInternal {
76 : PROTOBUF_CONSTEXPR Design_ComponentsByNameEntry_DoNotUseDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
77 319 : ~Design_ComponentsByNameEntry_DoNotUseDefaultTypeInternal() {}
78 : union {
79 : Design_ComponentsByNameEntry_DoNotUse _instance;
80 : };
81 : };
82 :
83 : PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT ODBDESIGN_EXPORT
84 : PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 Design_ComponentsByNameEntry_DoNotUseDefaultTypeInternal _Design_ComponentsByNameEntry_DoNotUse_default_instance_;
85 : template <typename>
86 : PROTOBUF_CONSTEXPR Design_NetsByNameEntry_DoNotUse::Design_NetsByNameEntry_DoNotUse(::_pbi::ConstantInitialized)
87 : #if defined(PROTOBUF_CUSTOM_VTABLE)
88 : : Design_NetsByNameEntry_DoNotUse::MapEntry(Design_NetsByNameEntry_DoNotUse_class_data_.base()){}
89 : #else // PROTOBUF_CUSTOM_VTABLE
90 : : Design_NetsByNameEntry_DoNotUse::MapEntry() {
91 : }
92 : #endif // PROTOBUF_CUSTOM_VTABLE
93 : struct Design_NetsByNameEntry_DoNotUseDefaultTypeInternal {
94 : PROTOBUF_CONSTEXPR Design_NetsByNameEntry_DoNotUseDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
95 319 : ~Design_NetsByNameEntry_DoNotUseDefaultTypeInternal() {}
96 : union {
97 : Design_NetsByNameEntry_DoNotUse _instance;
98 : };
99 : };
100 :
101 : PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT ODBDESIGN_EXPORT
102 : PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 Design_NetsByNameEntry_DoNotUseDefaultTypeInternal _Design_NetsByNameEntry_DoNotUse_default_instance_;
103 :
104 : inline constexpr Design::Impl_::Impl_(
105 : ::_pbi::ConstantInitialized) noexcept
106 : : _cached_size_{0},
107 : nets_{},
108 : packages_{},
109 : components_{},
110 : parts_{},
111 : productmodel_(
112 : &::google::protobuf::internal::fixed_address_empty_string,
113 : ::_pbi::ConstantInitialized()),
114 : name_(
115 : &::google::protobuf::internal::fixed_address_empty_string,
116 : ::_pbi::ConstantInitialized()),
117 : filemodel_{nullptr},
118 : connectivity_{nullptr},
119 : netsbyname_{},
120 : packagesbyname_{},
121 : componentsbyname_{},
122 : partsbyname_{} {}
123 :
124 : template <typename>
125 : PROTOBUF_CONSTEXPR Design::Design(::_pbi::ConstantInitialized)
126 : #if defined(PROTOBUF_CUSTOM_VTABLE)
127 : : ::google::protobuf::Message(Design_class_data_.base()),
128 : #else // PROTOBUF_CUSTOM_VTABLE
129 : : ::google::protobuf::Message(),
130 : #endif // PROTOBUF_CUSTOM_VTABLE
131 : _impl_(::_pbi::ConstantInitialized()) {
132 : }
133 : struct DesignDefaultTypeInternal {
134 : PROTOBUF_CONSTEXPR DesignDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
135 319 : ~DesignDefaultTypeInternal() {}
136 : union {
137 : Design _instance;
138 : };
139 : };
140 :
141 : PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT ODBDESIGN_EXPORT
142 : PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 DesignDefaultTypeInternal _Design_default_instance_;
143 : } // namespace ProductModel
144 : } // namespace Protobuf
145 : } // namespace Lib
146 : } // namespace Odb
147 : static constexpr const ::_pb::EnumDescriptor* PROTOBUF_NONNULL* PROTOBUF_NULLABLE
148 : file_level_enum_descriptors_design_2eproto = nullptr;
149 : static constexpr const ::_pb::ServiceDescriptor* PROTOBUF_NONNULL* PROTOBUF_NULLABLE
150 : file_level_service_descriptors_design_2eproto = nullptr;
151 : const ::uint32_t
152 : TableStruct_design_2eproto::offsets[] ABSL_ATTRIBUTE_SECTION_VARIABLE(
153 : protodesc_cold) = {
154 : 0x081, // bitmap
155 : PROTOBUF_FIELD_OFFSET(::Odb::Lib::Protobuf::ProductModel::Design_NetsByNameEntry_DoNotUse, _impl_._has_bits_),
156 : 5, // hasbit index offset
157 : PROTOBUF_FIELD_OFFSET(::Odb::Lib::Protobuf::ProductModel::Design_NetsByNameEntry_DoNotUse, _impl_.key_),
158 : PROTOBUF_FIELD_OFFSET(::Odb::Lib::Protobuf::ProductModel::Design_NetsByNameEntry_DoNotUse, _impl_.value_),
159 : 0,
160 : 1,
161 : 0x081, // bitmap
162 : PROTOBUF_FIELD_OFFSET(::Odb::Lib::Protobuf::ProductModel::Design_PackagesByNameEntry_DoNotUse, _impl_._has_bits_),
163 : 5, // hasbit index offset
164 : PROTOBUF_FIELD_OFFSET(::Odb::Lib::Protobuf::ProductModel::Design_PackagesByNameEntry_DoNotUse, _impl_.key_),
165 : PROTOBUF_FIELD_OFFSET(::Odb::Lib::Protobuf::ProductModel::Design_PackagesByNameEntry_DoNotUse, _impl_.value_),
166 : 0,
167 : 1,
168 : 0x081, // bitmap
169 : PROTOBUF_FIELD_OFFSET(::Odb::Lib::Protobuf::ProductModel::Design_ComponentsByNameEntry_DoNotUse, _impl_._has_bits_),
170 : 5, // hasbit index offset
171 : PROTOBUF_FIELD_OFFSET(::Odb::Lib::Protobuf::ProductModel::Design_ComponentsByNameEntry_DoNotUse, _impl_.key_),
172 : PROTOBUF_FIELD_OFFSET(::Odb::Lib::Protobuf::ProductModel::Design_ComponentsByNameEntry_DoNotUse, _impl_.value_),
173 : 0,
174 : 1,
175 : 0x081, // bitmap
176 : PROTOBUF_FIELD_OFFSET(::Odb::Lib::Protobuf::ProductModel::Design_PartsByNameEntry_DoNotUse, _impl_._has_bits_),
177 : 5, // hasbit index offset
178 : PROTOBUF_FIELD_OFFSET(::Odb::Lib::Protobuf::ProductModel::Design_PartsByNameEntry_DoNotUse, _impl_.key_),
179 : PROTOBUF_FIELD_OFFSET(::Odb::Lib::Protobuf::ProductModel::Design_PartsByNameEntry_DoNotUse, _impl_.value_),
180 : 0,
181 : 1,
182 : 0x081, // bitmap
183 : PROTOBUF_FIELD_OFFSET(::Odb::Lib::Protobuf::ProductModel::Design, _impl_._has_bits_),
184 : 15, // hasbit index offset
185 : PROTOBUF_FIELD_OFFSET(::Odb::Lib::Protobuf::ProductModel::Design, _impl_.productmodel_),
186 : PROTOBUF_FIELD_OFFSET(::Odb::Lib::Protobuf::ProductModel::Design, _impl_.name_),
187 : PROTOBUF_FIELD_OFFSET(::Odb::Lib::Protobuf::ProductModel::Design, _impl_.filemodel_),
188 : PROTOBUF_FIELD_OFFSET(::Odb::Lib::Protobuf::ProductModel::Design, _impl_.nets_),
189 : PROTOBUF_FIELD_OFFSET(::Odb::Lib::Protobuf::ProductModel::Design, _impl_.netsbyname_),
190 : PROTOBUF_FIELD_OFFSET(::Odb::Lib::Protobuf::ProductModel::Design, _impl_.packages_),
191 : PROTOBUF_FIELD_OFFSET(::Odb::Lib::Protobuf::ProductModel::Design, _impl_.packagesbyname_),
192 : PROTOBUF_FIELD_OFFSET(::Odb::Lib::Protobuf::ProductModel::Design, _impl_.components_),
193 : PROTOBUF_FIELD_OFFSET(::Odb::Lib::Protobuf::ProductModel::Design, _impl_.componentsbyname_),
194 : PROTOBUF_FIELD_OFFSET(::Odb::Lib::Protobuf::ProductModel::Design, _impl_.parts_),
195 : PROTOBUF_FIELD_OFFSET(::Odb::Lib::Protobuf::ProductModel::Design, _impl_.partsbyname_),
196 : PROTOBUF_FIELD_OFFSET(::Odb::Lib::Protobuf::ProductModel::Design, _impl_.connectivity_),
197 : 4,
198 : 5,
199 : 6,
200 : 0,
201 : 8,
202 : 1,
203 : 9,
204 : 2,
205 : 10,
206 : 3,
207 : 11,
208 : 7,
209 : };
210 :
211 : static const ::_pbi::MigrationSchema
212 : schemas[] ABSL_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = {
213 : {0, sizeof(::Odb::Lib::Protobuf::ProductModel::Design_NetsByNameEntry_DoNotUse)},
214 : {7, sizeof(::Odb::Lib::Protobuf::ProductModel::Design_PackagesByNameEntry_DoNotUse)},
215 : {14, sizeof(::Odb::Lib::Protobuf::ProductModel::Design_ComponentsByNameEntry_DoNotUse)},
216 : {21, sizeof(::Odb::Lib::Protobuf::ProductModel::Design_PartsByNameEntry_DoNotUse)},
217 : {28, sizeof(::Odb::Lib::Protobuf::ProductModel::Design)},
218 : };
219 : static const ::_pb::Message* PROTOBUF_NONNULL const file_default_instances[] = {
220 : &::Odb::Lib::Protobuf::ProductModel::_Design_NetsByNameEntry_DoNotUse_default_instance_._instance,
221 : &::Odb::Lib::Protobuf::ProductModel::_Design_PackagesByNameEntry_DoNotUse_default_instance_._instance,
222 : &::Odb::Lib::Protobuf::ProductModel::_Design_ComponentsByNameEntry_DoNotUse_default_instance_._instance,
223 : &::Odb::Lib::Protobuf::ProductModel::_Design_PartsByNameEntry_DoNotUse_default_instance_._instance,
224 : &::Odb::Lib::Protobuf::ProductModel::_Design_default_instance_._instance,
225 : };
226 : const char descriptor_table_protodef_design_2eproto[] ABSL_ATTRIBUTE_SECTION_VARIABLE(
227 : protodesc_cold) = {
228 : "\n\014design.proto\022\035Odb.Lib.Protobuf.Product"
229 : "Model\032\021filearchive.proto\032\tnet.proto\032\rpac"
230 : "kage.proto\032\017component.proto\032\npart.proto\032"
231 : "\022connectivity.proto\"\200\t\n\006Design\022\031\n\014produc"
232 : "tModel\030\001 \001(\tH\000\210\001\001\022\021\n\004name\030\002 \001(\tH\001\210\001\001\0225\n\t"
233 : "fileModel\030\003 \001(\0132\035.Odb.Lib.Protobuf.FileA"
234 : "rchiveH\002\210\001\001\0220\n\004nets\030\004 \003(\0132\".Odb.Lib.Prot"
235 : "obuf.ProductModel.Net\022I\n\nnetsByName\030\005 \003("
236 : "\01325.Odb.Lib.Protobuf.ProductModel.Design"
237 : ".NetsByNameEntry\0228\n\010packages\030\006 \003(\0132&.Odb"
238 : ".Lib.Protobuf.ProductModel.Package\022Q\n\016pa"
239 : "ckagesByName\030\007 \003(\01329.Odb.Lib.Protobuf.Pr"
240 : "oductModel.Design.PackagesByNameEntry\022<\n"
241 : "\ncomponents\030\010 \003(\0132(.Odb.Lib.Protobuf.Pro"
242 : "ductModel.Component\022U\n\020componentsByName\030"
243 : "\t \003(\0132;.Odb.Lib.Protobuf.ProductModel.De"
244 : "sign.ComponentsByNameEntry\0222\n\005parts\030\n \003("
245 : "\0132#.Odb.Lib.Protobuf.ProductModel.Part\022K"
246 : "\n\013partsByName\030\013 \003(\01326.Odb.Lib.Protobuf.P"
247 : "roductModel.Design.PartsByNameEntry\022F\n\014c"
248 : "onnectivity\030\014 \001(\0132+.Odb.Lib.Protobuf.Pro"
249 : "ductModel.ConnectivityH\003\210\001\001\032U\n\017NetsByNam"
250 : "eEntry\022\013\n\003key\030\001 \001(\t\0221\n\005value\030\002 \001(\0132\".Odb"
251 : ".Lib.Protobuf.ProductModel.Net:\0028\001\032]\n\023Pa"
252 : "ckagesByNameEntry\022\013\n\003key\030\001 \001(\t\0225\n\005value\030"
253 : "\002 \001(\0132&.Odb.Lib.Protobuf.ProductModel.Pa"
254 : "ckage:\0028\001\032a\n\025ComponentsByNameEntry\022\013\n\003ke"
255 : "y\030\001 \001(\t\0227\n\005value\030\002 \001(\0132(.Odb.Lib.Protobu"
256 : "f.ProductModel.Component:\0028\001\032W\n\020PartsByN"
257 : "ameEntry\022\013\n\003key\030\001 \001(\t\0222\n\005value\030\002 \001(\0132#.O"
258 : "db.Lib.Protobuf.ProductModel.Part:\0028\001B\017\n"
259 : "\r_productModelB\007\n\005_nameB\014\n\n_fileModelB\017\n"
260 : "\r_connectivityB\003\370\001\001b\006proto3"
261 : };
262 : static const ::_pbi::DescriptorTable* PROTOBUF_NONNULL const
263 : descriptor_table_design_2eproto_deps[6] = {
264 : &::descriptor_table_component_2eproto,
265 : &::descriptor_table_connectivity_2eproto,
266 : &::descriptor_table_filearchive_2eproto,
267 : &::descriptor_table_net_2eproto,
268 : &::descriptor_table_package_2eproto,
269 : &::descriptor_table_part_2eproto,
270 : };
271 : static ::absl::once_flag descriptor_table_design_2eproto_once;
272 : PROTOBUF_CONSTINIT const ::_pbi::DescriptorTable descriptor_table_design_2eproto = {
273 : false,
274 : false,
275 : 1307,
276 : descriptor_table_protodef_design_2eproto,
277 : "design.proto",
278 : &descriptor_table_design_2eproto_once,
279 : descriptor_table_design_2eproto_deps,
280 : 6,
281 : 5,
282 : schemas,
283 : file_default_instances,
284 : TableStruct_design_2eproto::offsets,
285 : file_level_enum_descriptors_design_2eproto,
286 : file_level_service_descriptors_design_2eproto,
287 : };
288 : namespace Odb {
289 : namespace Lib {
290 : namespace Protobuf {
291 : namespace ProductModel {
292 : // ===================================================================
293 :
294 : #if defined(PROTOBUF_CUSTOM_VTABLE)
295 : Design_NetsByNameEntry_DoNotUse::Design_NetsByNameEntry_DoNotUse()
296 : : SuperType(Design_NetsByNameEntry_DoNotUse_class_data_.base()) {}
297 : Design_NetsByNameEntry_DoNotUse::Design_NetsByNameEntry_DoNotUse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
298 : : SuperType(arena, Design_NetsByNameEntry_DoNotUse_class_data_.base()) {}
299 : #else // PROTOBUF_CUSTOM_VTABLE
300 0 : Design_NetsByNameEntry_DoNotUse::Design_NetsByNameEntry_DoNotUse() : SuperType() {}
301 5862 : Design_NetsByNameEntry_DoNotUse::Design_NetsByNameEntry_DoNotUse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) : SuperType(arena) {}
302 : #endif // PROTOBUF_CUSTOM_VTABLE
303 5862 : inline void* PROTOBUF_NONNULL Design_NetsByNameEntry_DoNotUse::PlacementNew_(
304 : const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
305 : ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
306 5862 : return ::new (mem) Design_NetsByNameEntry_DoNotUse(arena);
307 : }
308 : constexpr auto Design_NetsByNameEntry_DoNotUse::InternalNewImpl_() {
309 : return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(Design_NetsByNameEntry_DoNotUse),
310 : alignof(Design_NetsByNameEntry_DoNotUse));
311 : }
312 : constexpr auto Design_NetsByNameEntry_DoNotUse::InternalGenerateClassData_() {
313 : return ::google::protobuf::internal::ClassDataFull{
314 : ::google::protobuf::internal::ClassData{
315 : &_Design_NetsByNameEntry_DoNotUse_default_instance_._instance,
316 : &_table_.header,
317 : nullptr, // OnDemandRegisterArenaDtor
318 : nullptr, // IsInitialized
319 : &Design_NetsByNameEntry_DoNotUse::MergeImpl,
320 : ::google::protobuf::Message::GetNewImpl<Design_NetsByNameEntry_DoNotUse>(),
321 : #if defined(PROTOBUF_CUSTOM_VTABLE)
322 : &Design_NetsByNameEntry_DoNotUse::SharedDtor,
323 : static_cast<void (::google::protobuf::MessageLite::*)()>(&Design_NetsByNameEntry_DoNotUse::ClearImpl),
324 : ::google::protobuf::Message::ByteSizeLongImpl, ::google::protobuf::Message::_InternalSerializeImpl
325 : ,
326 : #endif // PROTOBUF_CUSTOM_VTABLE
327 : PROTOBUF_FIELD_OFFSET(Design_NetsByNameEntry_DoNotUse, _impl_._cached_size_),
328 : false,
329 : },
330 : &Design_NetsByNameEntry_DoNotUse::kDescriptorMethods,
331 : &descriptor_table_design_2eproto,
332 : nullptr, // tracker
333 : };
334 : }
335 :
336 : PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
337 : ::google::protobuf::internal::ClassDataFull Design_NetsByNameEntry_DoNotUse_class_data_ =
338 : Design_NetsByNameEntry_DoNotUse::InternalGenerateClassData_();
339 :
340 : PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
341 46956 : Design_NetsByNameEntry_DoNotUse::GetClassData() const {
342 46956 : ::google::protobuf::internal::PrefetchToLocalCache(&Design_NetsByNameEntry_DoNotUse_class_data_);
343 46956 : ::google::protobuf::internal::PrefetchToLocalCache(Design_NetsByNameEntry_DoNotUse_class_data_.tc_table);
344 46956 : return Design_NetsByNameEntry_DoNotUse_class_data_.base();
345 : }
346 : PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
347 : const ::_pbi::TcParseTable<1, 2, 1, 64, 2>
348 : Design_NetsByNameEntry_DoNotUse::_table_ = {
349 : {
350 : PROTOBUF_FIELD_OFFSET(Design_NetsByNameEntry_DoNotUse, _impl_._has_bits_),
351 : 0, // no _extensions_
352 : 2, 8, // max_field_number, fast_idx_mask
353 : offsetof(decltype(_table_), field_lookup_table),
354 : 4294967292, // skipmap
355 : offsetof(decltype(_table_), field_entries),
356 : 2, // num_field_entries
357 : 1, // num_aux_entries
358 : offsetof(decltype(_table_), aux_entries),
359 : Design_NetsByNameEntry_DoNotUse_class_data_.base(),
360 : nullptr, // post_loop_handler
361 : ::_pbi::TcParser::DiscardEverythingFallback, // fallback
362 : #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
363 : ::_pbi::TcParser::GetTable<::Odb::Lib::Protobuf::ProductModel::Design_NetsByNameEntry_DoNotUse>(), // to_prefetch
364 : #endif // PROTOBUF_PREFETCH_PARSE_TABLE
365 : }, {{
366 : // .Odb.Lib.Protobuf.ProductModel.Net value = 2;
367 : {::_pbi::TcParser::FastMtS1,
368 : {18, 1, 0,
369 : PROTOBUF_FIELD_OFFSET(Design_NetsByNameEntry_DoNotUse, _impl_.value_)}},
370 : // string key = 1;
371 : {::_pbi::TcParser::FastUS1,
372 : {10, 0, 0,
373 : PROTOBUF_FIELD_OFFSET(Design_NetsByNameEntry_DoNotUse, _impl_.key_)}},
374 : }}, {{
375 : 65535, 65535
376 : }}, {{
377 : // string key = 1;
378 : {PROTOBUF_FIELD_OFFSET(Design_NetsByNameEntry_DoNotUse, _impl_.key_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)},
379 : // .Odb.Lib.Protobuf.ProductModel.Net value = 2;
380 : {PROTOBUF_FIELD_OFFSET(Design_NetsByNameEntry_DoNotUse, _impl_.value_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
381 : }},
382 : {{
383 : {::_pbi::TcParser::GetTable<::Odb::Lib::Protobuf::ProductModel::Net>()},
384 : }},
385 : {{
386 : "\64\3\0\0\0\0\0\0"
387 : "Odb.Lib.Protobuf.ProductModel.Design.NetsByNameEntry"
388 : "key"
389 : }},
390 : };
391 : // ===================================================================
392 :
393 : #if defined(PROTOBUF_CUSTOM_VTABLE)
394 : Design_PackagesByNameEntry_DoNotUse::Design_PackagesByNameEntry_DoNotUse()
395 : : SuperType(Design_PackagesByNameEntry_DoNotUse_class_data_.base()) {}
396 : Design_PackagesByNameEntry_DoNotUse::Design_PackagesByNameEntry_DoNotUse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
397 : : SuperType(arena, Design_PackagesByNameEntry_DoNotUse_class_data_.base()) {}
398 : #else // PROTOBUF_CUSTOM_VTABLE
399 0 : Design_PackagesByNameEntry_DoNotUse::Design_PackagesByNameEntry_DoNotUse() : SuperType() {}
400 869 : Design_PackagesByNameEntry_DoNotUse::Design_PackagesByNameEntry_DoNotUse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) : SuperType(arena) {}
401 : #endif // PROTOBUF_CUSTOM_VTABLE
402 869 : inline void* PROTOBUF_NONNULL Design_PackagesByNameEntry_DoNotUse::PlacementNew_(
403 : const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
404 : ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
405 869 : return ::new (mem) Design_PackagesByNameEntry_DoNotUse(arena);
406 : }
407 : constexpr auto Design_PackagesByNameEntry_DoNotUse::InternalNewImpl_() {
408 : return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(Design_PackagesByNameEntry_DoNotUse),
409 : alignof(Design_PackagesByNameEntry_DoNotUse));
410 : }
411 : constexpr auto Design_PackagesByNameEntry_DoNotUse::InternalGenerateClassData_() {
412 : return ::google::protobuf::internal::ClassDataFull{
413 : ::google::protobuf::internal::ClassData{
414 : &_Design_PackagesByNameEntry_DoNotUse_default_instance_._instance,
415 : &_table_.header,
416 : nullptr, // OnDemandRegisterArenaDtor
417 : nullptr, // IsInitialized
418 : &Design_PackagesByNameEntry_DoNotUse::MergeImpl,
419 : ::google::protobuf::Message::GetNewImpl<Design_PackagesByNameEntry_DoNotUse>(),
420 : #if defined(PROTOBUF_CUSTOM_VTABLE)
421 : &Design_PackagesByNameEntry_DoNotUse::SharedDtor,
422 : static_cast<void (::google::protobuf::MessageLite::*)()>(&Design_PackagesByNameEntry_DoNotUse::ClearImpl),
423 : ::google::protobuf::Message::ByteSizeLongImpl, ::google::protobuf::Message::_InternalSerializeImpl
424 : ,
425 : #endif // PROTOBUF_CUSTOM_VTABLE
426 : PROTOBUF_FIELD_OFFSET(Design_PackagesByNameEntry_DoNotUse, _impl_._cached_size_),
427 : false,
428 : },
429 : &Design_PackagesByNameEntry_DoNotUse::kDescriptorMethods,
430 : &descriptor_table_design_2eproto,
431 : nullptr, // tracker
432 : };
433 : }
434 :
435 : PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
436 : ::google::protobuf::internal::ClassDataFull Design_PackagesByNameEntry_DoNotUse_class_data_ =
437 : Design_PackagesByNameEntry_DoNotUse::InternalGenerateClassData_();
438 :
439 : PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
440 7012 : Design_PackagesByNameEntry_DoNotUse::GetClassData() const {
441 7012 : ::google::protobuf::internal::PrefetchToLocalCache(&Design_PackagesByNameEntry_DoNotUse_class_data_);
442 7012 : ::google::protobuf::internal::PrefetchToLocalCache(Design_PackagesByNameEntry_DoNotUse_class_data_.tc_table);
443 7012 : return Design_PackagesByNameEntry_DoNotUse_class_data_.base();
444 : }
445 : PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
446 : const ::_pbi::TcParseTable<1, 2, 1, 68, 2>
447 : Design_PackagesByNameEntry_DoNotUse::_table_ = {
448 : {
449 : PROTOBUF_FIELD_OFFSET(Design_PackagesByNameEntry_DoNotUse, _impl_._has_bits_),
450 : 0, // no _extensions_
451 : 2, 8, // max_field_number, fast_idx_mask
452 : offsetof(decltype(_table_), field_lookup_table),
453 : 4294967292, // skipmap
454 : offsetof(decltype(_table_), field_entries),
455 : 2, // num_field_entries
456 : 1, // num_aux_entries
457 : offsetof(decltype(_table_), aux_entries),
458 : Design_PackagesByNameEntry_DoNotUse_class_data_.base(),
459 : nullptr, // post_loop_handler
460 : ::_pbi::TcParser::DiscardEverythingFallback, // fallback
461 : #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
462 : ::_pbi::TcParser::GetTable<::Odb::Lib::Protobuf::ProductModel::Design_PackagesByNameEntry_DoNotUse>(), // to_prefetch
463 : #endif // PROTOBUF_PREFETCH_PARSE_TABLE
464 : }, {{
465 : // .Odb.Lib.Protobuf.ProductModel.Package value = 2;
466 : {::_pbi::TcParser::FastMtS1,
467 : {18, 1, 0,
468 : PROTOBUF_FIELD_OFFSET(Design_PackagesByNameEntry_DoNotUse, _impl_.value_)}},
469 : // string key = 1;
470 : {::_pbi::TcParser::FastUS1,
471 : {10, 0, 0,
472 : PROTOBUF_FIELD_OFFSET(Design_PackagesByNameEntry_DoNotUse, _impl_.key_)}},
473 : }}, {{
474 : 65535, 65535
475 : }}, {{
476 : // string key = 1;
477 : {PROTOBUF_FIELD_OFFSET(Design_PackagesByNameEntry_DoNotUse, _impl_.key_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)},
478 : // .Odb.Lib.Protobuf.ProductModel.Package value = 2;
479 : {PROTOBUF_FIELD_OFFSET(Design_PackagesByNameEntry_DoNotUse, _impl_.value_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
480 : }},
481 : {{
482 : {::_pbi::TcParser::GetTable<::Odb::Lib::Protobuf::ProductModel::Package>()},
483 : }},
484 : {{
485 : "\70\3\0\0\0\0\0\0"
486 : "Odb.Lib.Protobuf.ProductModel.Design.PackagesByNameEntry"
487 : "key"
488 : }},
489 : };
490 : // ===================================================================
491 :
492 : #if defined(PROTOBUF_CUSTOM_VTABLE)
493 : Design_ComponentsByNameEntry_DoNotUse::Design_ComponentsByNameEntry_DoNotUse()
494 : : SuperType(Design_ComponentsByNameEntry_DoNotUse_class_data_.base()) {}
495 : Design_ComponentsByNameEntry_DoNotUse::Design_ComponentsByNameEntry_DoNotUse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
496 : : SuperType(arena, Design_ComponentsByNameEntry_DoNotUse_class_data_.base()) {}
497 : #else // PROTOBUF_CUSTOM_VTABLE
498 0 : Design_ComponentsByNameEntry_DoNotUse::Design_ComponentsByNameEntry_DoNotUse() : SuperType() {}
499 7075 : Design_ComponentsByNameEntry_DoNotUse::Design_ComponentsByNameEntry_DoNotUse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) : SuperType(arena) {}
500 : #endif // PROTOBUF_CUSTOM_VTABLE
501 7075 : inline void* PROTOBUF_NONNULL Design_ComponentsByNameEntry_DoNotUse::PlacementNew_(
502 : const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
503 : ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
504 7075 : return ::new (mem) Design_ComponentsByNameEntry_DoNotUse(arena);
505 : }
506 : constexpr auto Design_ComponentsByNameEntry_DoNotUse::InternalNewImpl_() {
507 : return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(Design_ComponentsByNameEntry_DoNotUse),
508 : alignof(Design_ComponentsByNameEntry_DoNotUse));
509 : }
510 : constexpr auto Design_ComponentsByNameEntry_DoNotUse::InternalGenerateClassData_() {
511 : return ::google::protobuf::internal::ClassDataFull{
512 : ::google::protobuf::internal::ClassData{
513 : &_Design_ComponentsByNameEntry_DoNotUse_default_instance_._instance,
514 : &_table_.header,
515 : nullptr, // OnDemandRegisterArenaDtor
516 : nullptr, // IsInitialized
517 : &Design_ComponentsByNameEntry_DoNotUse::MergeImpl,
518 : ::google::protobuf::Message::GetNewImpl<Design_ComponentsByNameEntry_DoNotUse>(),
519 : #if defined(PROTOBUF_CUSTOM_VTABLE)
520 : &Design_ComponentsByNameEntry_DoNotUse::SharedDtor,
521 : static_cast<void (::google::protobuf::MessageLite::*)()>(&Design_ComponentsByNameEntry_DoNotUse::ClearImpl),
522 : ::google::protobuf::Message::ByteSizeLongImpl, ::google::protobuf::Message::_InternalSerializeImpl
523 : ,
524 : #endif // PROTOBUF_CUSTOM_VTABLE
525 : PROTOBUF_FIELD_OFFSET(Design_ComponentsByNameEntry_DoNotUse, _impl_._cached_size_),
526 : false,
527 : },
528 : &Design_ComponentsByNameEntry_DoNotUse::kDescriptorMethods,
529 : &descriptor_table_design_2eproto,
530 : nullptr, // tracker
531 : };
532 : }
533 :
534 : PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
535 : ::google::protobuf::internal::ClassDataFull Design_ComponentsByNameEntry_DoNotUse_class_data_ =
536 : Design_ComponentsByNameEntry_DoNotUse::InternalGenerateClassData_();
537 :
538 : PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
539 56660 : Design_ComponentsByNameEntry_DoNotUse::GetClassData() const {
540 56660 : ::google::protobuf::internal::PrefetchToLocalCache(&Design_ComponentsByNameEntry_DoNotUse_class_data_);
541 56660 : ::google::protobuf::internal::PrefetchToLocalCache(Design_ComponentsByNameEntry_DoNotUse_class_data_.tc_table);
542 56660 : return Design_ComponentsByNameEntry_DoNotUse_class_data_.base();
543 : }
544 : PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
545 : const ::_pbi::TcParseTable<1, 2, 1, 70, 2>
546 : Design_ComponentsByNameEntry_DoNotUse::_table_ = {
547 : {
548 : PROTOBUF_FIELD_OFFSET(Design_ComponentsByNameEntry_DoNotUse, _impl_._has_bits_),
549 : 0, // no _extensions_
550 : 2, 8, // max_field_number, fast_idx_mask
551 : offsetof(decltype(_table_), field_lookup_table),
552 : 4294967292, // skipmap
553 : offsetof(decltype(_table_), field_entries),
554 : 2, // num_field_entries
555 : 1, // num_aux_entries
556 : offsetof(decltype(_table_), aux_entries),
557 : Design_ComponentsByNameEntry_DoNotUse_class_data_.base(),
558 : nullptr, // post_loop_handler
559 : ::_pbi::TcParser::DiscardEverythingFallback, // fallback
560 : #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
561 : ::_pbi::TcParser::GetTable<::Odb::Lib::Protobuf::ProductModel::Design_ComponentsByNameEntry_DoNotUse>(), // to_prefetch
562 : #endif // PROTOBUF_PREFETCH_PARSE_TABLE
563 : }, {{
564 : // .Odb.Lib.Protobuf.ProductModel.Component value = 2;
565 : {::_pbi::TcParser::FastMtS1,
566 : {18, 1, 0,
567 : PROTOBUF_FIELD_OFFSET(Design_ComponentsByNameEntry_DoNotUse, _impl_.value_)}},
568 : // string key = 1;
569 : {::_pbi::TcParser::FastUS1,
570 : {10, 0, 0,
571 : PROTOBUF_FIELD_OFFSET(Design_ComponentsByNameEntry_DoNotUse, _impl_.key_)}},
572 : }}, {{
573 : 65535, 65535
574 : }}, {{
575 : // string key = 1;
576 : {PROTOBUF_FIELD_OFFSET(Design_ComponentsByNameEntry_DoNotUse, _impl_.key_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)},
577 : // .Odb.Lib.Protobuf.ProductModel.Component value = 2;
578 : {PROTOBUF_FIELD_OFFSET(Design_ComponentsByNameEntry_DoNotUse, _impl_.value_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
579 : }},
580 : {{
581 : {::_pbi::TcParser::GetTable<::Odb::Lib::Protobuf::ProductModel::Component>()},
582 : }},
583 : {{
584 : "\72\3\0\0\0\0\0\0"
585 : "Odb.Lib.Protobuf.ProductModel.Design.ComponentsByNameEntry"
586 : "key"
587 : }},
588 : };
589 : // ===================================================================
590 :
591 : #if defined(PROTOBUF_CUSTOM_VTABLE)
592 : Design_PartsByNameEntry_DoNotUse::Design_PartsByNameEntry_DoNotUse()
593 : : SuperType(Design_PartsByNameEntry_DoNotUse_class_data_.base()) {}
594 : Design_PartsByNameEntry_DoNotUse::Design_PartsByNameEntry_DoNotUse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
595 : : SuperType(arena, Design_PartsByNameEntry_DoNotUse_class_data_.base()) {}
596 : #else // PROTOBUF_CUSTOM_VTABLE
597 0 : Design_PartsByNameEntry_DoNotUse::Design_PartsByNameEntry_DoNotUse() : SuperType() {}
598 1325 : Design_PartsByNameEntry_DoNotUse::Design_PartsByNameEntry_DoNotUse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) : SuperType(arena) {}
599 : #endif // PROTOBUF_CUSTOM_VTABLE
600 1325 : inline void* PROTOBUF_NONNULL Design_PartsByNameEntry_DoNotUse::PlacementNew_(
601 : const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
602 : ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
603 1325 : return ::new (mem) Design_PartsByNameEntry_DoNotUse(arena);
604 : }
605 : constexpr auto Design_PartsByNameEntry_DoNotUse::InternalNewImpl_() {
606 : return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(Design_PartsByNameEntry_DoNotUse),
607 : alignof(Design_PartsByNameEntry_DoNotUse));
608 : }
609 : constexpr auto Design_PartsByNameEntry_DoNotUse::InternalGenerateClassData_() {
610 : return ::google::protobuf::internal::ClassDataFull{
611 : ::google::protobuf::internal::ClassData{
612 : &_Design_PartsByNameEntry_DoNotUse_default_instance_._instance,
613 : &_table_.header,
614 : nullptr, // OnDemandRegisterArenaDtor
615 : nullptr, // IsInitialized
616 : &Design_PartsByNameEntry_DoNotUse::MergeImpl,
617 : ::google::protobuf::Message::GetNewImpl<Design_PartsByNameEntry_DoNotUse>(),
618 : #if defined(PROTOBUF_CUSTOM_VTABLE)
619 : &Design_PartsByNameEntry_DoNotUse::SharedDtor,
620 : static_cast<void (::google::protobuf::MessageLite::*)()>(&Design_PartsByNameEntry_DoNotUse::ClearImpl),
621 : ::google::protobuf::Message::ByteSizeLongImpl, ::google::protobuf::Message::_InternalSerializeImpl
622 : ,
623 : #endif // PROTOBUF_CUSTOM_VTABLE
624 : PROTOBUF_FIELD_OFFSET(Design_PartsByNameEntry_DoNotUse, _impl_._cached_size_),
625 : false,
626 : },
627 : &Design_PartsByNameEntry_DoNotUse::kDescriptorMethods,
628 : &descriptor_table_design_2eproto,
629 : nullptr, // tracker
630 : };
631 : }
632 :
633 : PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
634 : ::google::protobuf::internal::ClassDataFull Design_PartsByNameEntry_DoNotUse_class_data_ =
635 : Design_PartsByNameEntry_DoNotUse::InternalGenerateClassData_();
636 :
637 : PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
638 10660 : Design_PartsByNameEntry_DoNotUse::GetClassData() const {
639 10660 : ::google::protobuf::internal::PrefetchToLocalCache(&Design_PartsByNameEntry_DoNotUse_class_data_);
640 10660 : ::google::protobuf::internal::PrefetchToLocalCache(Design_PartsByNameEntry_DoNotUse_class_data_.tc_table);
641 10660 : return Design_PartsByNameEntry_DoNotUse_class_data_.base();
642 : }
643 : PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
644 : const ::_pbi::TcParseTable<1, 2, 1, 65, 2>
645 : Design_PartsByNameEntry_DoNotUse::_table_ = {
646 : {
647 : PROTOBUF_FIELD_OFFSET(Design_PartsByNameEntry_DoNotUse, _impl_._has_bits_),
648 : 0, // no _extensions_
649 : 2, 8, // max_field_number, fast_idx_mask
650 : offsetof(decltype(_table_), field_lookup_table),
651 : 4294967292, // skipmap
652 : offsetof(decltype(_table_), field_entries),
653 : 2, // num_field_entries
654 : 1, // num_aux_entries
655 : offsetof(decltype(_table_), aux_entries),
656 : Design_PartsByNameEntry_DoNotUse_class_data_.base(),
657 : nullptr, // post_loop_handler
658 : ::_pbi::TcParser::DiscardEverythingFallback, // fallback
659 : #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
660 : ::_pbi::TcParser::GetTable<::Odb::Lib::Protobuf::ProductModel::Design_PartsByNameEntry_DoNotUse>(), // to_prefetch
661 : #endif // PROTOBUF_PREFETCH_PARSE_TABLE
662 : }, {{
663 : // .Odb.Lib.Protobuf.ProductModel.Part value = 2;
664 : {::_pbi::TcParser::FastMtS1,
665 : {18, 1, 0,
666 : PROTOBUF_FIELD_OFFSET(Design_PartsByNameEntry_DoNotUse, _impl_.value_)}},
667 : // string key = 1;
668 : {::_pbi::TcParser::FastUS1,
669 : {10, 0, 0,
670 : PROTOBUF_FIELD_OFFSET(Design_PartsByNameEntry_DoNotUse, _impl_.key_)}},
671 : }}, {{
672 : 65535, 65535
673 : }}, {{
674 : // string key = 1;
675 : {PROTOBUF_FIELD_OFFSET(Design_PartsByNameEntry_DoNotUse, _impl_.key_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)},
676 : // .Odb.Lib.Protobuf.ProductModel.Part value = 2;
677 : {PROTOBUF_FIELD_OFFSET(Design_PartsByNameEntry_DoNotUse, _impl_.value_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
678 : }},
679 : {{
680 : {::_pbi::TcParser::GetTable<::Odb::Lib::Protobuf::ProductModel::Part>()},
681 : }},
682 : {{
683 : "\65\3\0\0\0\0\0\0"
684 : "Odb.Lib.Protobuf.ProductModel.Design.PartsByNameEntry"
685 : "key"
686 : }},
687 : };
688 : // ===================================================================
689 :
690 : class Design::_Internal {
691 : public:
692 : using HasBits =
693 : decltype(::std::declval<Design>()._impl_._has_bits_);
694 : static constexpr ::int32_t kHasBitsOffset =
695 : 8 * PROTOBUF_FIELD_OFFSET(Design, _impl_._has_bits_);
696 : };
697 :
698 0 : void Design::clear_filemodel() {
699 0 : ::google::protobuf::internal::TSanWrite(&_impl_);
700 0 : if (_impl_.filemodel_ != nullptr) _impl_.filemodel_->Clear();
701 0 : ClearHasBit(_impl_._has_bits_[0],
702 : 0x00000040U);
703 0 : }
704 0 : void Design::clear_nets() {
705 0 : ::google::protobuf::internal::TSanWrite(&_impl_);
706 0 : _impl_.nets_.Clear();
707 0 : ClearHasBitForRepeated(_impl_._has_bits_[0],
708 : 0x00000001U);
709 0 : }
710 0 : void Design::clear_netsbyname() {
711 0 : ::google::protobuf::internal::TSanWrite(&_impl_);
712 0 : _impl_.netsbyname_.Clear();
713 0 : ClearHasBitForRepeated(_impl_._has_bits_[0],
714 : 0x00000100U);
715 0 : }
716 0 : void Design::clear_packages() {
717 0 : ::google::protobuf::internal::TSanWrite(&_impl_);
718 0 : _impl_.packages_.Clear();
719 0 : ClearHasBitForRepeated(_impl_._has_bits_[0],
720 : 0x00000002U);
721 0 : }
722 0 : void Design::clear_packagesbyname() {
723 0 : ::google::protobuf::internal::TSanWrite(&_impl_);
724 0 : _impl_.packagesbyname_.Clear();
725 0 : ClearHasBitForRepeated(_impl_._has_bits_[0],
726 : 0x00000200U);
727 0 : }
728 0 : void Design::clear_components() {
729 0 : ::google::protobuf::internal::TSanWrite(&_impl_);
730 0 : _impl_.components_.Clear();
731 0 : ClearHasBitForRepeated(_impl_._has_bits_[0],
732 : 0x00000004U);
733 0 : }
734 0 : void Design::clear_componentsbyname() {
735 0 : ::google::protobuf::internal::TSanWrite(&_impl_);
736 0 : _impl_.componentsbyname_.Clear();
737 0 : ClearHasBitForRepeated(_impl_._has_bits_[0],
738 : 0x00000400U);
739 0 : }
740 0 : void Design::clear_parts() {
741 0 : ::google::protobuf::internal::TSanWrite(&_impl_);
742 0 : _impl_.parts_.Clear();
743 0 : ClearHasBitForRepeated(_impl_._has_bits_[0],
744 : 0x00000008U);
745 0 : }
746 0 : void Design::clear_partsbyname() {
747 0 : ::google::protobuf::internal::TSanWrite(&_impl_);
748 0 : _impl_.partsbyname_.Clear();
749 0 : ClearHasBitForRepeated(_impl_._has_bits_[0],
750 : 0x00000800U);
751 0 : }
752 0 : void Design::clear_connectivity() {
753 0 : ::google::protobuf::internal::TSanWrite(&_impl_);
754 0 : if (_impl_.connectivity_ != nullptr) _impl_.connectivity_->Clear();
755 0 : ClearHasBit(_impl_._has_bits_[0],
756 : 0x00000080U);
757 0 : }
758 125 : Design::Design(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
759 : #if defined(PROTOBUF_CUSTOM_VTABLE)
760 : : ::google::protobuf::Message(arena, Design_class_data_.base()) {
761 : #else // PROTOBUF_CUSTOM_VTABLE
762 125 : : ::google::protobuf::Message(arena) {
763 : #endif // PROTOBUF_CUSTOM_VTABLE
764 125 : SharedCtor(arena);
765 : // @@protoc_insertion_point(arena_constructor:Odb.Lib.Protobuf.ProductModel.Design)
766 125 : }
767 0 : PROTOBUF_NDEBUG_INLINE Design::Impl_::Impl_(
768 : [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
769 : [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
770 0 : [[maybe_unused]] const ::Odb::Lib::Protobuf::ProductModel::Design& from_msg)
771 0 : : _has_bits_{from._has_bits_},
772 0 : _cached_size_{0},
773 0 : nets_{visibility, arena, from.nets_},
774 0 : packages_{visibility, arena, from.packages_},
775 0 : components_{visibility, arena, from.components_},
776 0 : parts_{visibility, arena, from.parts_},
777 0 : productmodel_(arena, from.productmodel_),
778 0 : name_(arena, from.name_),
779 0 : netsbyname_{visibility, arena, from.netsbyname_},
780 0 : packagesbyname_{visibility, arena, from.packagesbyname_},
781 0 : componentsbyname_{visibility, arena, from.componentsbyname_},
782 0 : partsbyname_{visibility, arena, from.partsbyname_} {}
783 :
784 0 : Design::Design(
785 : ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
786 0 : const Design& from)
787 : #if defined(PROTOBUF_CUSTOM_VTABLE)
788 : : ::google::protobuf::Message(arena, Design_class_data_.base()) {
789 : #else // PROTOBUF_CUSTOM_VTABLE
790 0 : : ::google::protobuf::Message(arena) {
791 : #endif // PROTOBUF_CUSTOM_VTABLE
792 0 : Design* const _this = this;
793 : (void)_this;
794 0 : _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
795 0 : from._internal_metadata_);
796 0 : new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
797 0 : ::uint32_t cached_has_bits = _impl_._has_bits_[0];
798 0 : _impl_.filemodel_ = (CheckHasBit(cached_has_bits, 0x00000040U))
799 0 : ? ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.filemodel_)
800 : : nullptr;
801 0 : _impl_.connectivity_ = (CheckHasBit(cached_has_bits, 0x00000080U))
802 0 : ? ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.connectivity_)
803 : : nullptr;
804 :
805 : // @@protoc_insertion_point(copy_constructor:Odb.Lib.Protobuf.ProductModel.Design)
806 0 : }
807 125 : PROTOBUF_NDEBUG_INLINE Design::Impl_::Impl_(
808 : [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
809 125 : [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
810 125 : : _cached_size_{0},
811 125 : nets_{visibility, arena},
812 125 : packages_{visibility, arena},
813 125 : components_{visibility, arena},
814 125 : parts_{visibility, arena},
815 125 : productmodel_(arena),
816 125 : name_(arena),
817 125 : netsbyname_{visibility, arena},
818 125 : packagesbyname_{visibility, arena},
819 125 : componentsbyname_{visibility, arena},
820 250 : partsbyname_{visibility, arena} {}
821 :
822 125 : inline void Design::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
823 125 : new (&_impl_) Impl_(internal_visibility(), arena);
824 125 : ::memset(reinterpret_cast<char*>(&_impl_) +
825 : offsetof(Impl_, filemodel_),
826 : 0,
827 : offsetof(Impl_, connectivity_) -
828 : offsetof(Impl_, filemodel_) +
829 : sizeof(Impl_::connectivity_));
830 125 : }
831 203 : Design::~Design() {
832 : // @@protoc_insertion_point(destructor:Odb.Lib.Protobuf.ProductModel.Design)
833 125 : SharedDtor(*this);
834 203 : }
835 125 : inline void Design::SharedDtor(MessageLite& self) {
836 125 : Design& this_ = static_cast<Design&>(self);
837 : if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
838 125 : this_.CheckHasBitConsistency();
839 : }
840 125 : this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
841 125 : ABSL_DCHECK(this_.GetArena() == nullptr);
842 125 : this_._impl_.productmodel_.Destroy();
843 125 : this_._impl_.name_.Destroy();
844 125 : delete this_._impl_.filemodel_;
845 125 : delete this_._impl_.connectivity_;
846 125 : this_._impl_.~Impl_();
847 125 : }
848 :
849 0 : inline void* PROTOBUF_NONNULL Design::PlacementNew_(
850 : const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
851 : ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
852 0 : return ::new (mem) Design(arena);
853 : }
854 : constexpr auto Design::InternalNewImpl_() {
855 : constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({
856 : PROTOBUF_FIELD_OFFSET(Design, _impl_.nets_) +
857 : decltype(Design::_impl_.nets_)::
858 : InternalGetArenaOffset(
859 : ::google::protobuf::Message::internal_visibility()),
860 : PROTOBUF_FIELD_OFFSET(Design, _impl_.netsbyname_) +
861 : decltype(Design::_impl_.netsbyname_)::
862 : InternalGetArenaOffset(
863 : ::google::protobuf::Message::internal_visibility()),
864 : PROTOBUF_FIELD_OFFSET(Design, _impl_.packages_) +
865 : decltype(Design::_impl_.packages_)::
866 : InternalGetArenaOffset(
867 : ::google::protobuf::Message::internal_visibility()),
868 : PROTOBUF_FIELD_OFFSET(Design, _impl_.packagesbyname_) +
869 : decltype(Design::_impl_.packagesbyname_)::
870 : InternalGetArenaOffset(
871 : ::google::protobuf::Message::internal_visibility()),
872 : PROTOBUF_FIELD_OFFSET(Design, _impl_.components_) +
873 : decltype(Design::_impl_.components_)::
874 : InternalGetArenaOffset(
875 : ::google::protobuf::Message::internal_visibility()),
876 : PROTOBUF_FIELD_OFFSET(Design, _impl_.componentsbyname_) +
877 : decltype(Design::_impl_.componentsbyname_)::
878 : InternalGetArenaOffset(
879 : ::google::protobuf::Message::internal_visibility()),
880 : PROTOBUF_FIELD_OFFSET(Design, _impl_.parts_) +
881 : decltype(Design::_impl_.parts_)::
882 : InternalGetArenaOffset(
883 : ::google::protobuf::Message::internal_visibility()),
884 : PROTOBUF_FIELD_OFFSET(Design, _impl_.partsbyname_) +
885 : decltype(Design::_impl_.partsbyname_)::
886 : InternalGetArenaOffset(
887 : ::google::protobuf::Message::internal_visibility()),
888 : });
889 : if (arena_bits.has_value()) {
890 : return ::google::protobuf::internal::MessageCreator::CopyInit(
891 : sizeof(Design), alignof(Design), *arena_bits);
892 : } else {
893 : return ::google::protobuf::internal::MessageCreator(&Design::PlacementNew_,
894 : sizeof(Design),
895 : alignof(Design));
896 : }
897 : }
898 : constexpr auto Design::InternalGenerateClassData_() {
899 : return ::google::protobuf::internal::ClassDataFull{
900 : ::google::protobuf::internal::ClassData{
901 : &_Design_default_instance_._instance,
902 : &_table_.header,
903 : nullptr, // OnDemandRegisterArenaDtor
904 : nullptr, // IsInitialized
905 : &Design::MergeImpl,
906 : ::google::protobuf::Message::GetNewImpl<Design>(),
907 : #if defined(PROTOBUF_CUSTOM_VTABLE)
908 : &Design::SharedDtor,
909 : ::google::protobuf::Message::GetClearImpl<Design>(), &Design::ByteSizeLong,
910 : &Design::_InternalSerialize,
911 : #endif // PROTOBUF_CUSTOM_VTABLE
912 : PROTOBUF_FIELD_OFFSET(Design, _impl_._cached_size_),
913 : false,
914 : },
915 : &Design::kDescriptorMethods,
916 : &descriptor_table_design_2eproto,
917 : nullptr, // tracker
918 : };
919 : }
920 :
921 : PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
922 : ::google::protobuf::internal::ClassDataFull Design_class_data_ =
923 : Design::InternalGenerateClassData_();
924 :
925 : PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
926 32002 : Design::GetClassData() const {
927 32002 : ::google::protobuf::internal::PrefetchToLocalCache(&Design_class_data_);
928 32002 : ::google::protobuf::internal::PrefetchToLocalCache(Design_class_data_.tc_table);
929 32002 : return Design_class_data_.base();
930 : }
931 : PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
932 : const ::_pbi::TcParseTable<4, 12, 14, 120, 2>
933 : Design::_table_ = {
934 : {
935 : PROTOBUF_FIELD_OFFSET(Design, _impl_._has_bits_),
936 : 0, // no _extensions_
937 : 12, 120, // max_field_number, fast_idx_mask
938 : offsetof(decltype(_table_), field_lookup_table),
939 : 4294963200, // skipmap
940 : offsetof(decltype(_table_), field_entries),
941 : 12, // num_field_entries
942 : 14, // num_aux_entries
943 : offsetof(decltype(_table_), aux_entries),
944 : Design_class_data_.base(),
945 : nullptr, // post_loop_handler
946 : ::_pbi::TcParser::GenericFallback, // fallback
947 : #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
948 : ::_pbi::TcParser::GetTable<::Odb::Lib::Protobuf::ProductModel::Design>(), // to_prefetch
949 : #endif // PROTOBUF_PREFETCH_PARSE_TABLE
950 : }, {{
951 : {::_pbi::TcParser::MiniParse, {}},
952 : // optional string productModel = 1;
953 : {::_pbi::TcParser::FastUS1,
954 : {10, 4, 0,
955 : PROTOBUF_FIELD_OFFSET(Design, _impl_.productmodel_)}},
956 : // optional string name = 2;
957 : {::_pbi::TcParser::FastUS1,
958 : {18, 5, 0,
959 : PROTOBUF_FIELD_OFFSET(Design, _impl_.name_)}},
960 : // optional .Odb.Lib.Protobuf.FileArchive fileModel = 3;
961 : {::_pbi::TcParser::FastMtS1,
962 : {26, 6, 0,
963 : PROTOBUF_FIELD_OFFSET(Design, _impl_.filemodel_)}},
964 : // repeated .Odb.Lib.Protobuf.ProductModel.Net nets = 4;
965 : {::_pbi::TcParser::FastMtR1,
966 : {34, 0, 1,
967 : PROTOBUF_FIELD_OFFSET(Design, _impl_.nets_)}},
968 : {::_pbi::TcParser::MiniParse, {}},
969 : // repeated .Odb.Lib.Protobuf.ProductModel.Package packages = 6;
970 : {::_pbi::TcParser::FastMtR1,
971 : {50, 1, 2,
972 : PROTOBUF_FIELD_OFFSET(Design, _impl_.packages_)}},
973 : {::_pbi::TcParser::MiniParse, {}},
974 : // repeated .Odb.Lib.Protobuf.ProductModel.Component components = 8;
975 : {::_pbi::TcParser::FastMtR1,
976 : {66, 2, 3,
977 : PROTOBUF_FIELD_OFFSET(Design, _impl_.components_)}},
978 : {::_pbi::TcParser::MiniParse, {}},
979 : // repeated .Odb.Lib.Protobuf.ProductModel.Part parts = 10;
980 : {::_pbi::TcParser::FastMtR1,
981 : {82, 3, 4,
982 : PROTOBUF_FIELD_OFFSET(Design, _impl_.parts_)}},
983 : {::_pbi::TcParser::MiniParse, {}},
984 : // optional .Odb.Lib.Protobuf.ProductModel.Connectivity connectivity = 12;
985 : {::_pbi::TcParser::FastMtS1,
986 : {98, 7, 5,
987 : PROTOBUF_FIELD_OFFSET(Design, _impl_.connectivity_)}},
988 : {::_pbi::TcParser::MiniParse, {}},
989 : {::_pbi::TcParser::MiniParse, {}},
990 : {::_pbi::TcParser::MiniParse, {}},
991 : }}, {{
992 : 65535, 65535
993 : }}, {{
994 : // optional string productModel = 1;
995 : {PROTOBUF_FIELD_OFFSET(Design, _impl_.productmodel_), _Internal::kHasBitsOffset + 4, 0, (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)},
996 : // optional string name = 2;
997 : {PROTOBUF_FIELD_OFFSET(Design, _impl_.name_), _Internal::kHasBitsOffset + 5, 0, (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)},
998 : // optional .Odb.Lib.Protobuf.FileArchive fileModel = 3;
999 : {PROTOBUF_FIELD_OFFSET(Design, _impl_.filemodel_), _Internal::kHasBitsOffset + 6, 0, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
1000 : // repeated .Odb.Lib.Protobuf.ProductModel.Net nets = 4;
1001 : {PROTOBUF_FIELD_OFFSET(Design, _impl_.nets_), _Internal::kHasBitsOffset + 0, 1, (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
1002 : // map<string, .Odb.Lib.Protobuf.ProductModel.Net> netsByName = 5;
1003 : {PROTOBUF_FIELD_OFFSET(Design, _impl_.netsbyname_), _Internal::kHasBitsOffset + 8, 6, (0 | ::_fl::kFcRepeated | ::_fl::kMap)},
1004 : // repeated .Odb.Lib.Protobuf.ProductModel.Package packages = 6;
1005 : {PROTOBUF_FIELD_OFFSET(Design, _impl_.packages_), _Internal::kHasBitsOffset + 1, 2, (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
1006 : // map<string, .Odb.Lib.Protobuf.ProductModel.Package> packagesByName = 7;
1007 : {PROTOBUF_FIELD_OFFSET(Design, _impl_.packagesbyname_), _Internal::kHasBitsOffset + 9, 8, (0 | ::_fl::kFcRepeated | ::_fl::kMap)},
1008 : // repeated .Odb.Lib.Protobuf.ProductModel.Component components = 8;
1009 : {PROTOBUF_FIELD_OFFSET(Design, _impl_.components_), _Internal::kHasBitsOffset + 2, 3, (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
1010 : // map<string, .Odb.Lib.Protobuf.ProductModel.Component> componentsByName = 9;
1011 : {PROTOBUF_FIELD_OFFSET(Design, _impl_.componentsbyname_), _Internal::kHasBitsOffset + 10, 10, (0 | ::_fl::kFcRepeated | ::_fl::kMap)},
1012 : // repeated .Odb.Lib.Protobuf.ProductModel.Part parts = 10;
1013 : {PROTOBUF_FIELD_OFFSET(Design, _impl_.parts_), _Internal::kHasBitsOffset + 3, 4, (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
1014 : // map<string, .Odb.Lib.Protobuf.ProductModel.Part> partsByName = 11;
1015 : {PROTOBUF_FIELD_OFFSET(Design, _impl_.partsbyname_), _Internal::kHasBitsOffset + 11, 12, (0 | ::_fl::kFcRepeated | ::_fl::kMap)},
1016 : // optional .Odb.Lib.Protobuf.ProductModel.Connectivity connectivity = 12;
1017 : {PROTOBUF_FIELD_OFFSET(Design, _impl_.connectivity_), _Internal::kHasBitsOffset + 7, 5, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
1018 : }},
1019 : {{
1020 : {::_pbi::TcParser::GetTable<::Odb::Lib::Protobuf::FileArchive>()},
1021 : {::_pbi::TcParser::GetTable<::Odb::Lib::Protobuf::ProductModel::Net>()},
1022 : {::_pbi::TcParser::GetTable<::Odb::Lib::Protobuf::ProductModel::Package>()},
1023 : {::_pbi::TcParser::GetTable<::Odb::Lib::Protobuf::ProductModel::Component>()},
1024 : {::_pbi::TcParser::GetTable<::Odb::Lib::Protobuf::ProductModel::Part>()},
1025 : {::_pbi::TcParser::GetTable<::Odb::Lib::Protobuf::ProductModel::Connectivity>()},
1026 : {::_pbi::TcParser::GetMapAuxInfo(
1027 : 1, 0, 9, 11, 0)},
1028 : {::_pbi::TcParser::GetTable<::Odb::Lib::Protobuf::ProductModel::Net>()},
1029 : {::_pbi::TcParser::GetMapAuxInfo(
1030 : 1, 0, 9, 11, 0)},
1031 : {::_pbi::TcParser::GetTable<::Odb::Lib::Protobuf::ProductModel::Package>()},
1032 : {::_pbi::TcParser::GetMapAuxInfo(
1033 : 1, 0, 9, 11, 0)},
1034 : {::_pbi::TcParser::GetTable<::Odb::Lib::Protobuf::ProductModel::Component>()},
1035 : {::_pbi::TcParser::GetMapAuxInfo(
1036 : 1, 0, 9, 11, 0)},
1037 : {::_pbi::TcParser::GetTable<::Odb::Lib::Protobuf::ProductModel::Part>()},
1038 : }},
1039 : {{
1040 : "\44\14\4\0\0\12\0\16\0\20\0\13\0\0\0\0"
1041 : "Odb.Lib.Protobuf.ProductModel.Design"
1042 : "productModel"
1043 : "name"
1044 : "netsByName"
1045 : "packagesByName"
1046 : "componentsByName"
1047 : "partsByName"
1048 : }},
1049 : };
1050 16 : PROTOBUF_NOINLINE void Design::Clear() {
1051 : // @@protoc_insertion_point(message_clear_start:Odb.Lib.Protobuf.ProductModel.Design)
1052 16 : ::google::protobuf::internal::TSanWrite(&_impl_);
1053 16 : ::uint32_t cached_has_bits = 0;
1054 : // Prevent compiler warnings about cached_has_bits being unused
1055 : (void) cached_has_bits;
1056 :
1057 16 : cached_has_bits = _impl_._has_bits_[0];
1058 16 : if (BatchCheckHasBit(cached_has_bits, 0x000000ffU)) {
1059 0 : if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
1060 0 : _impl_.nets_.Clear();
1061 : }
1062 0 : if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) {
1063 0 : _impl_.packages_.Clear();
1064 : }
1065 0 : if (CheckHasBitForRepeated(cached_has_bits, 0x00000004U)) {
1066 0 : _impl_.components_.Clear();
1067 : }
1068 0 : if (CheckHasBitForRepeated(cached_has_bits, 0x00000008U)) {
1069 0 : _impl_.parts_.Clear();
1070 : }
1071 0 : if (CheckHasBit(cached_has_bits, 0x00000010U)) {
1072 0 : _impl_.productmodel_.ClearNonDefaultToEmpty();
1073 : }
1074 0 : if (CheckHasBit(cached_has_bits, 0x00000020U)) {
1075 0 : _impl_.name_.ClearNonDefaultToEmpty();
1076 : }
1077 0 : if (CheckHasBit(cached_has_bits, 0x00000040U)) {
1078 0 : ABSL_DCHECK(_impl_.filemodel_ != nullptr);
1079 0 : _impl_.filemodel_->Clear();
1080 : }
1081 0 : if (CheckHasBit(cached_has_bits, 0x00000080U)) {
1082 0 : ABSL_DCHECK(_impl_.connectivity_ != nullptr);
1083 0 : _impl_.connectivity_->Clear();
1084 : }
1085 : }
1086 16 : if (BatchCheckHasBit(cached_has_bits, 0x00000f00U)) {
1087 0 : if (CheckHasBitForRepeated(cached_has_bits, 0x00000100U)) {
1088 0 : _impl_.netsbyname_.Clear();
1089 : }
1090 0 : if (CheckHasBitForRepeated(cached_has_bits, 0x00000200U)) {
1091 0 : _impl_.packagesbyname_.Clear();
1092 : }
1093 0 : if (CheckHasBitForRepeated(cached_has_bits, 0x00000400U)) {
1094 0 : _impl_.componentsbyname_.Clear();
1095 : }
1096 0 : if (CheckHasBitForRepeated(cached_has_bits, 0x00000800U)) {
1097 0 : _impl_.partsbyname_.Clear();
1098 : }
1099 : }
1100 16 : _impl_._has_bits_.Clear();
1101 16 : _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
1102 16 : }
1103 :
1104 : #if defined(PROTOBUF_CUSTOM_VTABLE)
1105 : ::uint8_t* PROTOBUF_NONNULL Design::_InternalSerialize(
1106 : const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
1107 : ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
1108 : const Design& this_ = static_cast<const Design&>(base);
1109 : #else // PROTOBUF_CUSTOM_VTABLE
1110 77 : ::uint8_t* PROTOBUF_NONNULL Design::_InternalSerialize(
1111 : ::uint8_t* PROTOBUF_NONNULL target,
1112 : ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
1113 77 : const Design& this_ = *this;
1114 : #endif // PROTOBUF_CUSTOM_VTABLE
1115 : if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
1116 77 : this_.CheckHasBitConsistency();
1117 : }
1118 : // @@protoc_insertion_point(serialize_to_array_start:Odb.Lib.Protobuf.ProductModel.Design)
1119 77 : ::uint32_t cached_has_bits = 0;
1120 : (void)cached_has_bits;
1121 :
1122 77 : cached_has_bits = this_._impl_._has_bits_[0];
1123 : // optional string productModel = 1;
1124 77 : if (CheckHasBit(cached_has_bits, 0x00000010U)) {
1125 77 : const ::std::string& _s = this_._internal_productmodel();
1126 154 : ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
1127 77 : _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "Odb.Lib.Protobuf.ProductModel.Design.productModel");
1128 77 : target = stream->WriteStringMaybeAliased(1, _s, target);
1129 : }
1130 :
1131 : // optional string name = 2;
1132 77 : if (CheckHasBit(cached_has_bits, 0x00000020U)) {
1133 77 : const ::std::string& _s = this_._internal_name();
1134 154 : ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
1135 77 : _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "Odb.Lib.Protobuf.ProductModel.Design.name");
1136 77 : target = stream->WriteStringMaybeAliased(2, _s, target);
1137 : }
1138 :
1139 : // optional .Odb.Lib.Protobuf.FileArchive fileModel = 3;
1140 77 : if (CheckHasBit(cached_has_bits, 0x00000040U)) {
1141 75 : target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
1142 75 : 3, *this_._impl_.filemodel_, this_._impl_.filemodel_->GetCachedSize(), target,
1143 : stream);
1144 : }
1145 :
1146 : // repeated .Odb.Lib.Protobuf.ProductModel.Net nets = 4;
1147 77 : if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
1148 3230 : for (unsigned i = 0, n = static_cast<unsigned>(
1149 5 : this_._internal_nets_size());
1150 3225 : i < n; i++) {
1151 3220 : const auto& repfield = this_._internal_nets().Get(i);
1152 : target =
1153 3220 : ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
1154 : 4, repfield, repfield.GetCachedSize(),
1155 : target, stream);
1156 : }
1157 : }
1158 :
1159 : // map<string, .Odb.Lib.Protobuf.ProductModel.Net> netsByName = 5;
1160 77 : if (CheckHasBitForRepeated(cached_has_bits, 0x00000100U)) {
1161 5 : if (!this_._internal_netsbyname().empty()) {
1162 : using MapType = ::google::protobuf::Map<::std::string, ::Odb::Lib::Protobuf::ProductModel::Net>;
1163 : using WireHelper = _pbi::MapEntryFuncs<::std::string, ::Odb::Lib::Protobuf::ProductModel::Net,
1164 : _pbi::WireFormatLite::TYPE_STRING,
1165 : _pbi::WireFormatLite::TYPE_MESSAGE>;
1166 5 : const auto& field = this_._internal_netsbyname();
1167 :
1168 5 : if (stream->IsSerializationDeterministic() && field.size() > 1) {
1169 2580 : for (const auto& entry : ::google::protobuf::internal::MapSorterPtr<MapType>(field)) {
1170 5152 : target = WireHelper::InternalSerialize(
1171 2576 : 5, entry.first, entry.second, target, stream);
1172 5152 : ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
1173 2576 : entry.first.data(), static_cast<int>(entry.first.length()),
1174 : ::google::protobuf::internal::WireFormatLite::SERIALIZE, "Odb.Lib.Protobuf.ProductModel.Design.netsByName");
1175 4 : }
1176 : } else {
1177 645 : for (const auto& entry : field) {
1178 1288 : target = WireHelper::InternalSerialize(
1179 644 : 5, entry.first, entry.second, target, stream);
1180 1288 : ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
1181 644 : entry.first.data(), static_cast<int>(entry.first.length()),
1182 : ::google::protobuf::internal::WireFormatLite::SERIALIZE, "Odb.Lib.Protobuf.ProductModel.Design.netsByName");
1183 : }
1184 : }
1185 : }
1186 : }
1187 :
1188 : // repeated .Odb.Lib.Protobuf.ProductModel.Package packages = 6;
1189 77 : if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) {
1190 365 : for (unsigned i = 0, n = static_cast<unsigned>(
1191 5 : this_._internal_packages_size());
1192 360 : i < n; i++) {
1193 355 : const auto& repfield = this_._internal_packages().Get(i);
1194 : target =
1195 355 : ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
1196 : 6, repfield, repfield.GetCachedSize(),
1197 : target, stream);
1198 : }
1199 : }
1200 :
1201 : // map<string, .Odb.Lib.Protobuf.ProductModel.Package> packagesByName = 7;
1202 77 : if (CheckHasBitForRepeated(cached_has_bits, 0x00000200U)) {
1203 5 : if (!this_._internal_packagesbyname().empty()) {
1204 : using MapType = ::google::protobuf::Map<::std::string, ::Odb::Lib::Protobuf::ProductModel::Package>;
1205 : using WireHelper = _pbi::MapEntryFuncs<::std::string, ::Odb::Lib::Protobuf::ProductModel::Package,
1206 : _pbi::WireFormatLite::TYPE_STRING,
1207 : _pbi::WireFormatLite::TYPE_MESSAGE>;
1208 5 : const auto& field = this_._internal_packagesbyname();
1209 :
1210 5 : if (stream->IsSerializationDeterministic() && field.size() > 1) {
1211 288 : for (const auto& entry : ::google::protobuf::internal::MapSorterPtr<MapType>(field)) {
1212 568 : target = WireHelper::InternalSerialize(
1213 284 : 7, entry.first, entry.second, target, stream);
1214 568 : ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
1215 284 : entry.first.data(), static_cast<int>(entry.first.length()),
1216 : ::google::protobuf::internal::WireFormatLite::SERIALIZE, "Odb.Lib.Protobuf.ProductModel.Design.packagesByName");
1217 4 : }
1218 : } else {
1219 72 : for (const auto& entry : field) {
1220 142 : target = WireHelper::InternalSerialize(
1221 71 : 7, entry.first, entry.second, target, stream);
1222 142 : ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
1223 71 : entry.first.data(), static_cast<int>(entry.first.length()),
1224 : ::google::protobuf::internal::WireFormatLite::SERIALIZE, "Odb.Lib.Protobuf.ProductModel.Design.packagesByName");
1225 : }
1226 : }
1227 : }
1228 : }
1229 :
1230 : // repeated .Odb.Lib.Protobuf.ProductModel.Component components = 8;
1231 77 : if (CheckHasBitForRepeated(cached_has_bits, 0x00000004U)) {
1232 4075 : for (unsigned i = 0, n = static_cast<unsigned>(
1233 5 : this_._internal_components_size());
1234 4070 : i < n; i++) {
1235 4065 : const auto& repfield = this_._internal_components().Get(i);
1236 : target =
1237 4065 : ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
1238 : 8, repfield, repfield.GetCachedSize(),
1239 : target, stream);
1240 : }
1241 : }
1242 :
1243 : // map<string, .Odb.Lib.Protobuf.ProductModel.Component> componentsByName = 9;
1244 77 : if (CheckHasBitForRepeated(cached_has_bits, 0x00000400U)) {
1245 5 : if (!this_._internal_componentsbyname().empty()) {
1246 : using MapType = ::google::protobuf::Map<::std::string, ::Odb::Lib::Protobuf::ProductModel::Component>;
1247 : using WireHelper = _pbi::MapEntryFuncs<::std::string, ::Odb::Lib::Protobuf::ProductModel::Component,
1248 : _pbi::WireFormatLite::TYPE_STRING,
1249 : _pbi::WireFormatLite::TYPE_MESSAGE>;
1250 5 : const auto& field = this_._internal_componentsbyname();
1251 :
1252 5 : if (stream->IsSerializationDeterministic() && field.size() > 1) {
1253 3256 : for (const auto& entry : ::google::protobuf::internal::MapSorterPtr<MapType>(field)) {
1254 6504 : target = WireHelper::InternalSerialize(
1255 3252 : 9, entry.first, entry.second, target, stream);
1256 6504 : ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
1257 3252 : entry.first.data(), static_cast<int>(entry.first.length()),
1258 : ::google::protobuf::internal::WireFormatLite::SERIALIZE, "Odb.Lib.Protobuf.ProductModel.Design.componentsByName");
1259 4 : }
1260 : } else {
1261 814 : for (const auto& entry : field) {
1262 1626 : target = WireHelper::InternalSerialize(
1263 813 : 9, entry.first, entry.second, target, stream);
1264 1626 : ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
1265 813 : entry.first.data(), static_cast<int>(entry.first.length()),
1266 : ::google::protobuf::internal::WireFormatLite::SERIALIZE, "Odb.Lib.Protobuf.ProductModel.Design.componentsByName");
1267 : }
1268 : }
1269 : }
1270 : }
1271 :
1272 : // repeated .Odb.Lib.Protobuf.ProductModel.Part parts = 10;
1273 77 : if (CheckHasBitForRepeated(cached_has_bits, 0x00000008U)) {
1274 725 : for (unsigned i = 0, n = static_cast<unsigned>(
1275 5 : this_._internal_parts_size());
1276 720 : i < n; i++) {
1277 715 : const auto& repfield = this_._internal_parts().Get(i);
1278 : target =
1279 715 : ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
1280 : 10, repfield, repfield.GetCachedSize(),
1281 : target, stream);
1282 : }
1283 : }
1284 :
1285 : // map<string, .Odb.Lib.Protobuf.ProductModel.Part> partsByName = 11;
1286 77 : if (CheckHasBitForRepeated(cached_has_bits, 0x00000800U)) {
1287 5 : if (!this_._internal_partsbyname().empty()) {
1288 : using MapType = ::google::protobuf::Map<::std::string, ::Odb::Lib::Protobuf::ProductModel::Part>;
1289 : using WireHelper = _pbi::MapEntryFuncs<::std::string, ::Odb::Lib::Protobuf::ProductModel::Part,
1290 : _pbi::WireFormatLite::TYPE_STRING,
1291 : _pbi::WireFormatLite::TYPE_MESSAGE>;
1292 5 : const auto& field = this_._internal_partsbyname();
1293 :
1294 5 : if (stream->IsSerializationDeterministic() && field.size() > 1) {
1295 576 : for (const auto& entry : ::google::protobuf::internal::MapSorterPtr<MapType>(field)) {
1296 1144 : target = WireHelper::InternalSerialize(
1297 572 : 11, entry.first, entry.second, target, stream);
1298 1144 : ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
1299 572 : entry.first.data(), static_cast<int>(entry.first.length()),
1300 : ::google::protobuf::internal::WireFormatLite::SERIALIZE, "Odb.Lib.Protobuf.ProductModel.Design.partsByName");
1301 4 : }
1302 : } else {
1303 144 : for (const auto& entry : field) {
1304 286 : target = WireHelper::InternalSerialize(
1305 143 : 11, entry.first, entry.second, target, stream);
1306 286 : ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
1307 143 : entry.first.data(), static_cast<int>(entry.first.length()),
1308 : ::google::protobuf::internal::WireFormatLite::SERIALIZE, "Odb.Lib.Protobuf.ProductModel.Design.partsByName");
1309 : }
1310 : }
1311 : }
1312 : }
1313 :
1314 : // optional .Odb.Lib.Protobuf.ProductModel.Connectivity connectivity = 12;
1315 77 : if (CheckHasBit(cached_has_bits, 0x00000080U)) {
1316 77 : target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
1317 77 : 12, *this_._impl_.connectivity_, this_._impl_.connectivity_->GetCachedSize(), target,
1318 : stream);
1319 : }
1320 :
1321 77 : if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
1322 : target =
1323 0 : ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
1324 : this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
1325 : }
1326 : // @@protoc_insertion_point(serialize_to_array_end:Odb.Lib.Protobuf.ProductModel.Design)
1327 77 : return target;
1328 : }
1329 :
1330 : #if defined(PROTOBUF_CUSTOM_VTABLE)
1331 : ::size_t Design::ByteSizeLong(const MessageLite& base) {
1332 : const Design& this_ = static_cast<const Design&>(base);
1333 : #else // PROTOBUF_CUSTOM_VTABLE
1334 93 : ::size_t Design::ByteSizeLong() const {
1335 93 : const Design& this_ = *this;
1336 : #endif // PROTOBUF_CUSTOM_VTABLE
1337 : // @@protoc_insertion_point(message_byte_size_start:Odb.Lib.Protobuf.ProductModel.Design)
1338 93 : ::size_t total_size = 0;
1339 :
1340 93 : ::uint32_t cached_has_bits = 0;
1341 : // Prevent compiler warnings about cached_has_bits being unused
1342 : (void)cached_has_bits;
1343 :
1344 : ::_pbi::Prefetch5LinesFrom7Lines(&this_);
1345 93 : cached_has_bits = this_._impl_._has_bits_[0];
1346 93 : if (BatchCheckHasBit(cached_has_bits, 0x000000ffU)) {
1347 : // repeated .Odb.Lib.Protobuf.ProductModel.Net nets = 4;
1348 93 : if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
1349 8 : total_size += 1UL * this_._internal_nets_size();
1350 5193 : for (const auto& msg : this_._internal_nets()) {
1351 5185 : total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
1352 : }
1353 : }
1354 : // repeated .Odb.Lib.Protobuf.ProductModel.Package packages = 6;
1355 93 : if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) {
1356 8 : total_size += 1UL * this_._internal_packages_size();
1357 691 : for (const auto& msg : this_._internal_packages()) {
1358 683 : total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
1359 : }
1360 : }
1361 : // repeated .Odb.Lib.Protobuf.ProductModel.Component components = 8;
1362 93 : if (CheckHasBitForRepeated(cached_has_bits, 0x00000004U)) {
1363 8 : total_size += 1UL * this_._internal_components_size();
1364 6391 : for (const auto& msg : this_._internal_components()) {
1365 6383 : total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
1366 : }
1367 : }
1368 : // repeated .Odb.Lib.Protobuf.ProductModel.Part parts = 10;
1369 93 : if (CheckHasBitForRepeated(cached_has_bits, 0x00000008U)) {
1370 8 : total_size += 1UL * this_._internal_parts_size();
1371 1171 : for (const auto& msg : this_._internal_parts()) {
1372 1163 : total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
1373 : }
1374 : }
1375 : // optional string productModel = 1;
1376 93 : if (CheckHasBit(cached_has_bits, 0x00000010U)) {
1377 93 : total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
1378 : this_._internal_productmodel());
1379 : }
1380 : // optional string name = 2;
1381 93 : if (CheckHasBit(cached_has_bits, 0x00000020U)) {
1382 93 : total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
1383 : this_._internal_name());
1384 : }
1385 : // optional .Odb.Lib.Protobuf.FileArchive fileModel = 3;
1386 93 : if (CheckHasBit(cached_has_bits, 0x00000040U)) {
1387 91 : total_size += 1 +
1388 91 : ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.filemodel_);
1389 : }
1390 : // optional .Odb.Lib.Protobuf.ProductModel.Connectivity connectivity = 12;
1391 93 : if (CheckHasBit(cached_has_bits, 0x00000080U)) {
1392 93 : total_size += 1 +
1393 93 : ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.connectivity_);
1394 : }
1395 : }
1396 93 : if (BatchCheckHasBit(cached_has_bits, 0x00000f00U)) {
1397 : // map<string, .Odb.Lib.Protobuf.ProductModel.Net> netsByName = 5;
1398 8 : if (CheckHasBitForRepeated(cached_has_bits, 0x00000100U)) {
1399 8 : total_size +=
1400 8 : 1 * ::google::protobuf::internal::FromIntSize(this_._internal_netsbyname_size());
1401 5193 : for (const auto& entry : this_._internal_netsbyname()) {
1402 5185 : total_size += _pbi::MapEntryFuncs<::std::string, ::Odb::Lib::Protobuf::ProductModel::Net,
1403 : _pbi::WireFormatLite::TYPE_STRING,
1404 5185 : _pbi::WireFormatLite::TYPE_MESSAGE>::ByteSizeLong(entry.first, entry.second);
1405 : }
1406 : }
1407 : // map<string, .Odb.Lib.Protobuf.ProductModel.Package> packagesByName = 7;
1408 8 : if (CheckHasBitForRepeated(cached_has_bits, 0x00000200U)) {
1409 8 : total_size +=
1410 8 : 1 * ::google::protobuf::internal::FromIntSize(this_._internal_packagesbyname_size());
1411 691 : for (const auto& entry : this_._internal_packagesbyname()) {
1412 683 : total_size += _pbi::MapEntryFuncs<::std::string, ::Odb::Lib::Protobuf::ProductModel::Package,
1413 : _pbi::WireFormatLite::TYPE_STRING,
1414 683 : _pbi::WireFormatLite::TYPE_MESSAGE>::ByteSizeLong(entry.first, entry.second);
1415 : }
1416 : }
1417 : // map<string, .Odb.Lib.Protobuf.ProductModel.Component> componentsByName = 9;
1418 8 : if (CheckHasBitForRepeated(cached_has_bits, 0x00000400U)) {
1419 8 : total_size +=
1420 8 : 1 * ::google::protobuf::internal::FromIntSize(this_._internal_componentsbyname_size());
1421 6391 : for (const auto& entry : this_._internal_componentsbyname()) {
1422 6383 : total_size += _pbi::MapEntryFuncs<::std::string, ::Odb::Lib::Protobuf::ProductModel::Component,
1423 : _pbi::WireFormatLite::TYPE_STRING,
1424 6383 : _pbi::WireFormatLite::TYPE_MESSAGE>::ByteSizeLong(entry.first, entry.second);
1425 : }
1426 : }
1427 : // map<string, .Odb.Lib.Protobuf.ProductModel.Part> partsByName = 11;
1428 8 : if (CheckHasBitForRepeated(cached_has_bits, 0x00000800U)) {
1429 8 : total_size +=
1430 8 : 1 * ::google::protobuf::internal::FromIntSize(this_._internal_partsbyname_size());
1431 1171 : for (const auto& entry : this_._internal_partsbyname()) {
1432 1163 : total_size += _pbi::MapEntryFuncs<::std::string, ::Odb::Lib::Protobuf::ProductModel::Part,
1433 : _pbi::WireFormatLite::TYPE_STRING,
1434 1163 : _pbi::WireFormatLite::TYPE_MESSAGE>::ByteSizeLong(entry.first, entry.second);
1435 : }
1436 : }
1437 : }
1438 93 : return this_.MaybeComputeUnknownFieldsSize(total_size,
1439 93 : &this_._impl_._cached_size_);
1440 : }
1441 :
1442 12 : void Design::MergeImpl(::google::protobuf::MessageLite& to_msg,
1443 : const ::google::protobuf::MessageLite& from_msg) {
1444 12 : auto* const _this =
1445 : static_cast<Design*>(&to_msg);
1446 12 : auto& from = static_cast<const Design&>(from_msg);
1447 : if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
1448 12 : from.CheckHasBitConsistency();
1449 : }
1450 12 : ::google::protobuf::Arena* arena = _this->GetArena();
1451 : // @@protoc_insertion_point(class_specific_merge_from_start:Odb.Lib.Protobuf.ProductModel.Design)
1452 12 : ABSL_DCHECK_NE(&from, _this);
1453 12 : ::uint32_t cached_has_bits = 0;
1454 : (void)cached_has_bits;
1455 :
1456 12 : cached_has_bits = from._impl_._has_bits_[0];
1457 12 : if (BatchCheckHasBit(cached_has_bits, 0x000000ffU)) {
1458 12 : if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
1459 2 : _this->_internal_mutable_nets()->InternalMergeFromWithArena(
1460 1 : ::google::protobuf::MessageLite::internal_visibility(), arena,
1461 : from._internal_nets());
1462 : }
1463 12 : if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) {
1464 2 : _this->_internal_mutable_packages()->InternalMergeFromWithArena(
1465 1 : ::google::protobuf::MessageLite::internal_visibility(), arena,
1466 : from._internal_packages());
1467 : }
1468 12 : if (CheckHasBitForRepeated(cached_has_bits, 0x00000004U)) {
1469 2 : _this->_internal_mutable_components()->InternalMergeFromWithArena(
1470 1 : ::google::protobuf::MessageLite::internal_visibility(), arena,
1471 : from._internal_components());
1472 : }
1473 12 : if (CheckHasBitForRepeated(cached_has_bits, 0x00000008U)) {
1474 2 : _this->_internal_mutable_parts()->InternalMergeFromWithArena(
1475 1 : ::google::protobuf::MessageLite::internal_visibility(), arena,
1476 : from._internal_parts());
1477 : }
1478 12 : if (CheckHasBit(cached_has_bits, 0x00000010U)) {
1479 12 : _this->_internal_set_productmodel(from._internal_productmodel());
1480 : }
1481 12 : if (CheckHasBit(cached_has_bits, 0x00000020U)) {
1482 12 : _this->_internal_set_name(from._internal_name());
1483 : }
1484 12 : if (CheckHasBit(cached_has_bits, 0x00000040U)) {
1485 12 : ABSL_DCHECK(from._impl_.filemodel_ != nullptr);
1486 12 : if (_this->_impl_.filemodel_ == nullptr) {
1487 24 : _this->_impl_.filemodel_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.filemodel_);
1488 : } else {
1489 0 : _this->_impl_.filemodel_->MergeFrom(*from._impl_.filemodel_);
1490 : }
1491 : }
1492 12 : if (CheckHasBit(cached_has_bits, 0x00000080U)) {
1493 12 : ABSL_DCHECK(from._impl_.connectivity_ != nullptr);
1494 12 : if (_this->_impl_.connectivity_ == nullptr) {
1495 24 : _this->_impl_.connectivity_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.connectivity_);
1496 : } else {
1497 0 : _this->_impl_.connectivity_->MergeFrom(*from._impl_.connectivity_);
1498 : }
1499 : }
1500 : }
1501 12 : if (BatchCheckHasBit(cached_has_bits, 0x00000f00U)) {
1502 1 : if (CheckHasBitForRepeated(cached_has_bits, 0x00000100U)) {
1503 1 : _this->_impl_.netsbyname_.MergeFrom(from._impl_.netsbyname_);
1504 : }
1505 1 : if (CheckHasBitForRepeated(cached_has_bits, 0x00000200U)) {
1506 1 : _this->_impl_.packagesbyname_.MergeFrom(from._impl_.packagesbyname_);
1507 : }
1508 1 : if (CheckHasBitForRepeated(cached_has_bits, 0x00000400U)) {
1509 1 : _this->_impl_.componentsbyname_.MergeFrom(from._impl_.componentsbyname_);
1510 : }
1511 1 : if (CheckHasBitForRepeated(cached_has_bits, 0x00000800U)) {
1512 1 : _this->_impl_.partsbyname_.MergeFrom(from._impl_.partsbyname_);
1513 : }
1514 : }
1515 12 : _this->_impl_._has_bits_[0] |= cached_has_bits;
1516 12 : _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
1517 12 : from._internal_metadata_);
1518 12 : }
1519 :
1520 12 : void Design::CopyFrom(const Design& from) {
1521 : // @@protoc_insertion_point(class_specific_copy_from_start:Odb.Lib.Protobuf.ProductModel.Design)
1522 12 : if (&from == this) return;
1523 12 : Clear();
1524 12 : MergeFrom(from);
1525 : }
1526 :
1527 :
1528 0 : void Design::InternalSwap(Design* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
1529 : using ::std::swap;
1530 0 : auto* arena = GetArena();
1531 0 : ABSL_DCHECK_EQ(arena, other->GetArena());
1532 0 : _internal_metadata_.InternalSwap(&other->_internal_metadata_);
1533 0 : swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
1534 0 : _impl_.nets_.InternalSwap(&other->_impl_.nets_);
1535 0 : _impl_.packages_.InternalSwap(&other->_impl_.packages_);
1536 0 : _impl_.components_.InternalSwap(&other->_impl_.components_);
1537 0 : _impl_.parts_.InternalSwap(&other->_impl_.parts_);
1538 0 : ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.productmodel_, &other->_impl_.productmodel_, arena);
1539 0 : ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.name_, &other->_impl_.name_, arena);
1540 : ::google::protobuf::internal::memswap<
1541 : PROTOBUF_FIELD_OFFSET(Design, _impl_.connectivity_)
1542 : + sizeof(Design::_impl_.connectivity_)
1543 0 : - PROTOBUF_FIELD_OFFSET(Design, _impl_.filemodel_)>(
1544 0 : reinterpret_cast<char*>(&_impl_.filemodel_),
1545 0 : reinterpret_cast<char*>(&other->_impl_.filemodel_));
1546 0 : _impl_.netsbyname_.InternalSwap(&other->_impl_.netsbyname_);
1547 0 : _impl_.packagesbyname_.InternalSwap(&other->_impl_.packagesbyname_);
1548 0 : _impl_.componentsbyname_.InternalSwap(&other->_impl_.componentsbyname_);
1549 0 : _impl_.partsbyname_.InternalSwap(&other->_impl_.partsbyname_);
1550 0 : }
1551 :
1552 0 : ::google::protobuf::Metadata Design::GetMetadata() const {
1553 0 : return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
1554 : }
1555 : // @@protoc_insertion_point(namespace_scope)
1556 : } // namespace ProductModel
1557 : } // namespace Protobuf
1558 : } // namespace Lib
1559 : } // namespace Odb
1560 : namespace google {
1561 : namespace protobuf {
1562 : } // namespace protobuf
1563 : } // namespace google
1564 : // @@protoc_insertion_point(global_scope)
1565 : PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 static ::std::false_type
1566 : _static_init2_ [[maybe_unused]] =
1567 : (::_pbi::AddDescriptors(&descriptor_table_design_2eproto),
1568 : ::std::false_type{});
1569 : #include "google/protobuf/port_undef.inc"
|