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 : #ifndef design_2eproto_2epb_2eh
7 : #define design_2eproto_2epb_2eh
8 :
9 : #include <limits>
10 : #include <string>
11 : #include <type_traits>
12 : #include <utility>
13 :
14 : #include "google/protobuf/runtime_version.h"
15 : #if PROTOBUF_VERSION != 6033004
16 : #error "Protobuf C++ gencode is built with an incompatible version of"
17 : #error "Protobuf C++ headers/runtime. See"
18 : #error "https://protobuf.dev/support/cross-version-runtime-guarantee/#cpp"
19 : #endif
20 : #include "google/protobuf/io/coded_stream.h"
21 : #include "google/protobuf/arena.h"
22 : #include "google/protobuf/arenastring.h"
23 : #include "google/protobuf/generated_message_tctable_decl.h"
24 : #include "google/protobuf/generated_message_util.h"
25 : #include "google/protobuf/metadata_lite.h"
26 : #include "google/protobuf/generated_message_reflection.h"
27 : #include "google/protobuf/message.h"
28 : #include "google/protobuf/message_lite.h"
29 : #include "google/protobuf/repeated_field.h" // IWYU pragma: export
30 : #include "google/protobuf/extension_set.h" // IWYU pragma: export
31 : #include "google/protobuf/map.h" // IWYU pragma: export
32 : #include "google/protobuf/map_type_handler.h" // IWYU pragma: export
33 : #include "google/protobuf/map_entry.h"
34 : #include "google/protobuf/map_field.h"
35 : #include "google/protobuf/unknown_field_set.h"
36 : #include "filearchive.pb.h"
37 : #include "net.pb.h"
38 : #include "package.pb.h"
39 : #include "component.pb.h"
40 : #include "part.pb.h"
41 : #include "connectivity.pb.h"
42 : // @@protoc_insertion_point(includes)
43 :
44 : // Must be included last.
45 : #include "google/protobuf/port_def.inc"
46 :
47 : #define PROTOBUF_INTERNAL_EXPORT_design_2eproto ODBDESIGN_EXPORT
48 :
49 : namespace google {
50 : namespace protobuf {
51 : namespace internal {
52 : template <typename T>
53 : ::absl::string_view GetAnyMessageName();
54 : } // namespace internal
55 : } // namespace protobuf
56 : } // namespace google
57 :
58 : // Internal implementation detail -- do not use these members.
59 : struct ODBDESIGN_EXPORT TableStruct_design_2eproto {
60 : static const ::uint32_t offsets[];
61 : };
62 : extern "C" {
63 : ODBDESIGN_EXPORT extern const ::google::protobuf::internal::DescriptorTable descriptor_table_design_2eproto;
64 : } // extern "C"
65 : namespace Odb {
66 : namespace Lib {
67 : namespace Protobuf {
68 : namespace ProductModel {
69 : class Design;
70 : struct DesignDefaultTypeInternal;
71 : ODBDESIGN_EXPORT extern DesignDefaultTypeInternal _Design_default_instance_;
72 : ODBDESIGN_EXPORT extern const ::google::protobuf::internal::ClassDataFull Design_class_data_;
73 : class Design_ComponentsByNameEntry_DoNotUse;
74 : struct Design_ComponentsByNameEntry_DoNotUseDefaultTypeInternal;
75 : ODBDESIGN_EXPORT extern Design_ComponentsByNameEntry_DoNotUseDefaultTypeInternal _Design_ComponentsByNameEntry_DoNotUse_default_instance_;
76 : ODBDESIGN_EXPORT extern const ::google::protobuf::internal::ClassDataFull Design_ComponentsByNameEntry_DoNotUse_class_data_;
77 : class Design_NetsByNameEntry_DoNotUse;
78 : struct Design_NetsByNameEntry_DoNotUseDefaultTypeInternal;
79 : ODBDESIGN_EXPORT extern Design_NetsByNameEntry_DoNotUseDefaultTypeInternal _Design_NetsByNameEntry_DoNotUse_default_instance_;
80 : ODBDESIGN_EXPORT extern const ::google::protobuf::internal::ClassDataFull Design_NetsByNameEntry_DoNotUse_class_data_;
81 : class Design_PackagesByNameEntry_DoNotUse;
82 : struct Design_PackagesByNameEntry_DoNotUseDefaultTypeInternal;
83 : ODBDESIGN_EXPORT extern Design_PackagesByNameEntry_DoNotUseDefaultTypeInternal _Design_PackagesByNameEntry_DoNotUse_default_instance_;
84 : ODBDESIGN_EXPORT extern const ::google::protobuf::internal::ClassDataFull Design_PackagesByNameEntry_DoNotUse_class_data_;
85 : class Design_PartsByNameEntry_DoNotUse;
86 : struct Design_PartsByNameEntry_DoNotUseDefaultTypeInternal;
87 : ODBDESIGN_EXPORT extern Design_PartsByNameEntry_DoNotUseDefaultTypeInternal _Design_PartsByNameEntry_DoNotUse_default_instance_;
88 : ODBDESIGN_EXPORT extern const ::google::protobuf::internal::ClassDataFull Design_PartsByNameEntry_DoNotUse_class_data_;
89 : } // namespace ProductModel
90 : } // namespace Protobuf
91 : } // namespace Lib
92 : } // namespace Odb
93 : namespace google {
94 : namespace protobuf {
95 : } // namespace protobuf
96 : } // namespace google
97 :
98 : namespace Odb {
99 : namespace Lib {
100 : namespace Protobuf {
101 : namespace ProductModel {
102 :
103 : // ===================================================================
104 :
105 :
106 : // -------------------------------------------------------------------
107 :
108 : class Design_PartsByNameEntry_DoNotUse final
109 : : public ::google::protobuf::internal::MapEntry<::std::string, ::google::protobuf::Message,
110 : ::google::protobuf::internal::WireFormatLite::TYPE_STRING,
111 : ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE> {
112 : public:
113 : using SuperType =
114 : ::google::protobuf::internal::MapEntry<::std::string, ::google::protobuf::Message,
115 : ::google::protobuf::internal::WireFormatLite::TYPE_STRING,
116 : ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE>;
117 : Design_PartsByNameEntry_DoNotUse();
118 : template <typename = void>
119 : explicit PROTOBUF_CONSTEXPR Design_PartsByNameEntry_DoNotUse(::google::protobuf::internal::ConstantInitialized);
120 : explicit Design_PartsByNameEntry_DoNotUse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
121 125 : static constexpr const void* PROTOBUF_NONNULL internal_default_instance() {
122 125 : return &_Design_PartsByNameEntry_DoNotUse_default_instance_;
123 : }
124 :
125 :
126 : static constexpr auto InternalGenerateClassData_();
127 :
128 : private:
129 : friend class ::google::protobuf::MessageLite;
130 : friend struct ::TableStruct_design_2eproto;
131 :
132 : friend class ::google::protobuf::internal::TcParser;
133 : static const ::google::protobuf::internal::TcParseTable<1, 2,
134 : 1, 65,
135 : 2>
136 : _table_;
137 :
138 : const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
139 : static void* PROTOBUF_NONNULL PlacementNew_(
140 : const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
141 : ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
142 : static constexpr auto InternalNewImpl_();
143 : };
144 : ODBDESIGN_EXPORT extern const ::google::protobuf::internal::ClassDataFull Design_PartsByNameEntry_DoNotUse_class_data_;
145 : // -------------------------------------------------------------------
146 :
147 : class Design_PackagesByNameEntry_DoNotUse final
148 : : public ::google::protobuf::internal::MapEntry<::std::string, ::google::protobuf::Message,
149 : ::google::protobuf::internal::WireFormatLite::TYPE_STRING,
150 : ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE> {
151 : public:
152 : using SuperType =
153 : ::google::protobuf::internal::MapEntry<::std::string, ::google::protobuf::Message,
154 : ::google::protobuf::internal::WireFormatLite::TYPE_STRING,
155 : ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE>;
156 : Design_PackagesByNameEntry_DoNotUse();
157 : template <typename = void>
158 : explicit PROTOBUF_CONSTEXPR Design_PackagesByNameEntry_DoNotUse(::google::protobuf::internal::ConstantInitialized);
159 : explicit Design_PackagesByNameEntry_DoNotUse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
160 125 : static constexpr const void* PROTOBUF_NONNULL internal_default_instance() {
161 125 : return &_Design_PackagesByNameEntry_DoNotUse_default_instance_;
162 : }
163 :
164 :
165 : static constexpr auto InternalGenerateClassData_();
166 :
167 : private:
168 : friend class ::google::protobuf::MessageLite;
169 : friend struct ::TableStruct_design_2eproto;
170 :
171 : friend class ::google::protobuf::internal::TcParser;
172 : static const ::google::protobuf::internal::TcParseTable<1, 2,
173 : 1, 68,
174 : 2>
175 : _table_;
176 :
177 : const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
178 : static void* PROTOBUF_NONNULL PlacementNew_(
179 : const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
180 : ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
181 : static constexpr auto InternalNewImpl_();
182 : };
183 : ODBDESIGN_EXPORT extern const ::google::protobuf::internal::ClassDataFull Design_PackagesByNameEntry_DoNotUse_class_data_;
184 : // -------------------------------------------------------------------
185 :
186 : class Design_ComponentsByNameEntry_DoNotUse final
187 : : public ::google::protobuf::internal::MapEntry<::std::string, ::google::protobuf::Message,
188 : ::google::protobuf::internal::WireFormatLite::TYPE_STRING,
189 : ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE> {
190 : public:
191 : using SuperType =
192 : ::google::protobuf::internal::MapEntry<::std::string, ::google::protobuf::Message,
193 : ::google::protobuf::internal::WireFormatLite::TYPE_STRING,
194 : ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE>;
195 : Design_ComponentsByNameEntry_DoNotUse();
196 : template <typename = void>
197 : explicit PROTOBUF_CONSTEXPR Design_ComponentsByNameEntry_DoNotUse(::google::protobuf::internal::ConstantInitialized);
198 : explicit Design_ComponentsByNameEntry_DoNotUse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
199 125 : static constexpr const void* PROTOBUF_NONNULL internal_default_instance() {
200 125 : return &_Design_ComponentsByNameEntry_DoNotUse_default_instance_;
201 : }
202 :
203 :
204 : static constexpr auto InternalGenerateClassData_();
205 :
206 : private:
207 : friend class ::google::protobuf::MessageLite;
208 : friend struct ::TableStruct_design_2eproto;
209 :
210 : friend class ::google::protobuf::internal::TcParser;
211 : static const ::google::protobuf::internal::TcParseTable<1, 2,
212 : 1, 70,
213 : 2>
214 : _table_;
215 :
216 : const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
217 : static void* PROTOBUF_NONNULL PlacementNew_(
218 : const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
219 : ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
220 : static constexpr auto InternalNewImpl_();
221 : };
222 : ODBDESIGN_EXPORT extern const ::google::protobuf::internal::ClassDataFull Design_ComponentsByNameEntry_DoNotUse_class_data_;
223 : // -------------------------------------------------------------------
224 :
225 : class Design_NetsByNameEntry_DoNotUse final
226 : : public ::google::protobuf::internal::MapEntry<::std::string, ::google::protobuf::Message,
227 : ::google::protobuf::internal::WireFormatLite::TYPE_STRING,
228 : ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE> {
229 : public:
230 : using SuperType =
231 : ::google::protobuf::internal::MapEntry<::std::string, ::google::protobuf::Message,
232 : ::google::protobuf::internal::WireFormatLite::TYPE_STRING,
233 : ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE>;
234 : Design_NetsByNameEntry_DoNotUse();
235 : template <typename = void>
236 : explicit PROTOBUF_CONSTEXPR Design_NetsByNameEntry_DoNotUse(::google::protobuf::internal::ConstantInitialized);
237 : explicit Design_NetsByNameEntry_DoNotUse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
238 125 : static constexpr const void* PROTOBUF_NONNULL internal_default_instance() {
239 125 : return &_Design_NetsByNameEntry_DoNotUse_default_instance_;
240 : }
241 :
242 :
243 : static constexpr auto InternalGenerateClassData_();
244 :
245 : private:
246 : friend class ::google::protobuf::MessageLite;
247 : friend struct ::TableStruct_design_2eproto;
248 :
249 : friend class ::google::protobuf::internal::TcParser;
250 : static const ::google::protobuf::internal::TcParseTable<1, 2,
251 : 1, 64,
252 : 2>
253 : _table_;
254 :
255 : const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
256 : static void* PROTOBUF_NONNULL PlacementNew_(
257 : const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
258 : ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
259 : static constexpr auto InternalNewImpl_();
260 : };
261 : ODBDESIGN_EXPORT extern const ::google::protobuf::internal::ClassDataFull Design_NetsByNameEntry_DoNotUse_class_data_;
262 : // -------------------------------------------------------------------
263 :
264 : class ODBDESIGN_EXPORT Design final : public ::google::protobuf::Message
265 : /* @@protoc_insertion_point(class_definition:Odb.Lib.Protobuf.ProductModel.Design) */ {
266 : public:
267 125 : inline Design() : Design(nullptr) {}
268 : ~Design() PROTOBUF_FINAL;
269 :
270 : #if defined(PROTOBUF_CUSTOM_VTABLE)
271 : void operator delete(Design* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
272 : SharedDtor(*msg);
273 : ::google::protobuf::internal::SizedDelete(msg, sizeof(Design));
274 : }
275 : #endif
276 :
277 : template <typename = void>
278 : explicit PROTOBUF_CONSTEXPR Design(::google::protobuf::internal::ConstantInitialized);
279 :
280 : inline Design(const Design& from) : Design(nullptr, from) {}
281 : inline Design(Design&& from) noexcept
282 : : Design(nullptr, ::std::move(from)) {}
283 12 : inline Design& operator=(const Design& from) {
284 12 : CopyFrom(from);
285 12 : return *this;
286 : }
287 : inline Design& operator=(Design&& from) noexcept {
288 : if (this == &from) return *this;
289 : if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
290 : InternalSwap(&from);
291 : } else {
292 : CopyFrom(from);
293 : }
294 : return *this;
295 : }
296 :
297 : inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
298 : ABSL_ATTRIBUTE_LIFETIME_BOUND {
299 : return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
300 : }
301 : inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
302 : ABSL_ATTRIBUTE_LIFETIME_BOUND {
303 : return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
304 : }
305 :
306 : static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
307 : return GetDescriptor();
308 : }
309 : static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
310 : return default_instance().GetMetadata().descriptor;
311 : }
312 : static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
313 : return default_instance().GetMetadata().reflection;
314 : }
315 : static const Design& default_instance() {
316 : return *reinterpret_cast<const Design*>(
317 : &_Design_default_instance_);
318 : }
319 : static constexpr int kIndexInFileMessages = 4;
320 : friend void swap(Design& a, Design& b) { a.Swap(&b); }
321 : inline void Swap(Design* PROTOBUF_NONNULL other) {
322 : if (other == this) return;
323 : if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
324 : InternalSwap(other);
325 : } else {
326 : ::google::protobuf::internal::GenericSwap(this, other);
327 : }
328 : }
329 : void UnsafeArenaSwap(Design* PROTOBUF_NONNULL other) {
330 : if (other == this) return;
331 : ABSL_DCHECK(GetArena() == other->GetArena());
332 : InternalSwap(other);
333 : }
334 :
335 : // implements Message ----------------------------------------------
336 :
337 : Design* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
338 : return ::google::protobuf::Message::DefaultConstruct<Design>(arena);
339 : }
340 : using ::google::protobuf::Message::CopyFrom;
341 : void CopyFrom(const Design& from);
342 : using ::google::protobuf::Message::MergeFrom;
343 12 : void MergeFrom(const Design& from) { Design::MergeImpl(*this, from); }
344 :
345 : private:
346 : static void MergeImpl(::google::protobuf::MessageLite& to_msg,
347 : const ::google::protobuf::MessageLite& from_msg);
348 :
349 : public:
350 : bool IsInitialized() const {
351 : return true;
352 : }
353 : ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
354 : #if defined(PROTOBUF_CUSTOM_VTABLE)
355 : private:
356 : static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
357 : static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
358 : const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
359 : ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
360 :
361 : public:
362 : ::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
363 : ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
364 : ::uint8_t* PROTOBUF_NONNULL target,
365 : ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
366 : return _InternalSerialize(*this, target, stream);
367 : }
368 : #else // PROTOBUF_CUSTOM_VTABLE
369 : ::size_t ByteSizeLong() const final;
370 : ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
371 : ::uint8_t* PROTOBUF_NONNULL target,
372 : ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
373 : #endif // PROTOBUF_CUSTOM_VTABLE
374 : int GetCachedSize() const { return _impl_._cached_size_.Get(); }
375 :
376 : private:
377 : void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
378 : static void SharedDtor(MessageLite& self);
379 : void InternalSwap(Design* PROTOBUF_NONNULL other);
380 : private:
381 : template <typename T>
382 : friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
383 : static ::absl::string_view FullMessageName() { return "Odb.Lib.Protobuf.ProductModel.Design"; }
384 :
385 : explicit Design(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
386 : Design(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Design& from);
387 : Design(
388 : ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, Design&& from) noexcept
389 : : Design(arena) {
390 : *this = ::std::move(from);
391 : }
392 : const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
393 : static void* PROTOBUF_NONNULL PlacementNew_(
394 : const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
395 : ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
396 : static constexpr auto InternalNewImpl_();
397 :
398 : public:
399 : static constexpr auto InternalGenerateClassData_();
400 :
401 : ::google::protobuf::Metadata GetMetadata() const;
402 : // nested types ----------------------------------------------------
403 :
404 : // accessors -------------------------------------------------------
405 : enum : int {
406 : kNetsFieldNumber = 4,
407 : kPackagesFieldNumber = 6,
408 : kComponentsFieldNumber = 8,
409 : kPartsFieldNumber = 10,
410 : kProductModelFieldNumber = 1,
411 : kNameFieldNumber = 2,
412 : kFileModelFieldNumber = 3,
413 : kConnectivityFieldNumber = 12,
414 : kNetsByNameFieldNumber = 5,
415 : kPackagesByNameFieldNumber = 7,
416 : kComponentsByNameFieldNumber = 9,
417 : kPartsByNameFieldNumber = 11,
418 : };
419 : // repeated .Odb.Lib.Protobuf.ProductModel.Net nets = 4;
420 : int nets_size() const;
421 : private:
422 : int _internal_nets_size() const;
423 :
424 : public:
425 : void clear_nets() ;
426 : ::Odb::Lib::Protobuf::ProductModel::Net* PROTOBUF_NONNULL mutable_nets(int index);
427 : ::google::protobuf::RepeatedPtrField<::Odb::Lib::Protobuf::ProductModel::Net>* PROTOBUF_NONNULL mutable_nets();
428 :
429 : private:
430 : const ::google::protobuf::RepeatedPtrField<::Odb::Lib::Protobuf::ProductModel::Net>& _internal_nets() const;
431 : ::google::protobuf::RepeatedPtrField<::Odb::Lib::Protobuf::ProductModel::Net>* PROTOBUF_NONNULL _internal_mutable_nets();
432 : public:
433 : const ::Odb::Lib::Protobuf::ProductModel::Net& nets(int index) const;
434 : ::Odb::Lib::Protobuf::ProductModel::Net* PROTOBUF_NONNULL add_nets();
435 : const ::google::protobuf::RepeatedPtrField<::Odb::Lib::Protobuf::ProductModel::Net>& nets() const;
436 : // repeated .Odb.Lib.Protobuf.ProductModel.Package packages = 6;
437 : int packages_size() const;
438 : private:
439 : int _internal_packages_size() const;
440 :
441 : public:
442 : void clear_packages() ;
443 : ::Odb::Lib::Protobuf::ProductModel::Package* PROTOBUF_NONNULL mutable_packages(int index);
444 : ::google::protobuf::RepeatedPtrField<::Odb::Lib::Protobuf::ProductModel::Package>* PROTOBUF_NONNULL mutable_packages();
445 :
446 : private:
447 : const ::google::protobuf::RepeatedPtrField<::Odb::Lib::Protobuf::ProductModel::Package>& _internal_packages() const;
448 : ::google::protobuf::RepeatedPtrField<::Odb::Lib::Protobuf::ProductModel::Package>* PROTOBUF_NONNULL _internal_mutable_packages();
449 : public:
450 : const ::Odb::Lib::Protobuf::ProductModel::Package& packages(int index) const;
451 : ::Odb::Lib::Protobuf::ProductModel::Package* PROTOBUF_NONNULL add_packages();
452 : const ::google::protobuf::RepeatedPtrField<::Odb::Lib::Protobuf::ProductModel::Package>& packages() const;
453 : // repeated .Odb.Lib.Protobuf.ProductModel.Component components = 8;
454 : int components_size() const;
455 : private:
456 : int _internal_components_size() const;
457 :
458 : public:
459 : void clear_components() ;
460 : ::Odb::Lib::Protobuf::ProductModel::Component* PROTOBUF_NONNULL mutable_components(int index);
461 : ::google::protobuf::RepeatedPtrField<::Odb::Lib::Protobuf::ProductModel::Component>* PROTOBUF_NONNULL mutable_components();
462 :
463 : private:
464 : const ::google::protobuf::RepeatedPtrField<::Odb::Lib::Protobuf::ProductModel::Component>& _internal_components() const;
465 : ::google::protobuf::RepeatedPtrField<::Odb::Lib::Protobuf::ProductModel::Component>* PROTOBUF_NONNULL _internal_mutable_components();
466 : public:
467 : const ::Odb::Lib::Protobuf::ProductModel::Component& components(int index) const;
468 : ::Odb::Lib::Protobuf::ProductModel::Component* PROTOBUF_NONNULL add_components();
469 : const ::google::protobuf::RepeatedPtrField<::Odb::Lib::Protobuf::ProductModel::Component>& components() const;
470 : // repeated .Odb.Lib.Protobuf.ProductModel.Part parts = 10;
471 : int parts_size() const;
472 : private:
473 : int _internal_parts_size() const;
474 :
475 : public:
476 : void clear_parts() ;
477 : ::Odb::Lib::Protobuf::ProductModel::Part* PROTOBUF_NONNULL mutable_parts(int index);
478 : ::google::protobuf::RepeatedPtrField<::Odb::Lib::Protobuf::ProductModel::Part>* PROTOBUF_NONNULL mutable_parts();
479 :
480 : private:
481 : const ::google::protobuf::RepeatedPtrField<::Odb::Lib::Protobuf::ProductModel::Part>& _internal_parts() const;
482 : ::google::protobuf::RepeatedPtrField<::Odb::Lib::Protobuf::ProductModel::Part>* PROTOBUF_NONNULL _internal_mutable_parts();
483 : public:
484 : const ::Odb::Lib::Protobuf::ProductModel::Part& parts(int index) const;
485 : ::Odb::Lib::Protobuf::ProductModel::Part* PROTOBUF_NONNULL add_parts();
486 : const ::google::protobuf::RepeatedPtrField<::Odb::Lib::Protobuf::ProductModel::Part>& parts() const;
487 : // optional string productModel = 1;
488 : bool has_productmodel() const;
489 : void clear_productmodel() ;
490 : const ::std::string& productmodel() const;
491 : template <typename Arg_ = const ::std::string&, typename... Args_>
492 : void set_productmodel(Arg_&& arg, Args_... args);
493 : ::std::string* PROTOBUF_NONNULL mutable_productmodel();
494 : [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_productmodel();
495 : void set_allocated_productmodel(::std::string* PROTOBUF_NULLABLE value);
496 :
497 : private:
498 : const ::std::string& _internal_productmodel() const;
499 : PROTOBUF_ALWAYS_INLINE void _internal_set_productmodel(const ::std::string& value);
500 : ::std::string* PROTOBUF_NONNULL _internal_mutable_productmodel();
501 :
502 : public:
503 : // optional string name = 2;
504 : bool has_name() const;
505 : void clear_name() ;
506 : const ::std::string& name() const;
507 : template <typename Arg_ = const ::std::string&, typename... Args_>
508 : void set_name(Arg_&& arg, Args_... args);
509 : ::std::string* PROTOBUF_NONNULL mutable_name();
510 : [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_name();
511 : void set_allocated_name(::std::string* PROTOBUF_NULLABLE value);
512 :
513 : private:
514 : const ::std::string& _internal_name() const;
515 : PROTOBUF_ALWAYS_INLINE void _internal_set_name(const ::std::string& value);
516 : ::std::string* PROTOBUF_NONNULL _internal_mutable_name();
517 :
518 : public:
519 : // optional .Odb.Lib.Protobuf.FileArchive fileModel = 3;
520 : bool has_filemodel() const;
521 : void clear_filemodel() ;
522 : const ::Odb::Lib::Protobuf::FileArchive& filemodel() const;
523 : [[nodiscard]] ::Odb::Lib::Protobuf::FileArchive* PROTOBUF_NULLABLE release_filemodel();
524 : ::Odb::Lib::Protobuf::FileArchive* PROTOBUF_NONNULL mutable_filemodel();
525 : void set_allocated_filemodel(::Odb::Lib::Protobuf::FileArchive* PROTOBUF_NULLABLE value);
526 : void unsafe_arena_set_allocated_filemodel(::Odb::Lib::Protobuf::FileArchive* PROTOBUF_NULLABLE value);
527 : ::Odb::Lib::Protobuf::FileArchive* PROTOBUF_NULLABLE unsafe_arena_release_filemodel();
528 :
529 : private:
530 : const ::Odb::Lib::Protobuf::FileArchive& _internal_filemodel() const;
531 : ::Odb::Lib::Protobuf::FileArchive* PROTOBUF_NONNULL _internal_mutable_filemodel();
532 :
533 : public:
534 : // optional .Odb.Lib.Protobuf.ProductModel.Connectivity connectivity = 12;
535 : bool has_connectivity() const;
536 : void clear_connectivity() ;
537 : const ::Odb::Lib::Protobuf::ProductModel::Connectivity& connectivity() const;
538 : [[nodiscard]] ::Odb::Lib::Protobuf::ProductModel::Connectivity* PROTOBUF_NULLABLE release_connectivity();
539 : ::Odb::Lib::Protobuf::ProductModel::Connectivity* PROTOBUF_NONNULL mutable_connectivity();
540 : void set_allocated_connectivity(::Odb::Lib::Protobuf::ProductModel::Connectivity* PROTOBUF_NULLABLE value);
541 : void unsafe_arena_set_allocated_connectivity(::Odb::Lib::Protobuf::ProductModel::Connectivity* PROTOBUF_NULLABLE value);
542 : ::Odb::Lib::Protobuf::ProductModel::Connectivity* PROTOBUF_NULLABLE unsafe_arena_release_connectivity();
543 :
544 : private:
545 : const ::Odb::Lib::Protobuf::ProductModel::Connectivity& _internal_connectivity() const;
546 : ::Odb::Lib::Protobuf::ProductModel::Connectivity* PROTOBUF_NONNULL _internal_mutable_connectivity();
547 :
548 : public:
549 : // map<string, .Odb.Lib.Protobuf.ProductModel.Net> netsByName = 5;
550 : int netsbyname_size() const;
551 : private:
552 : int _internal_netsbyname_size() const;
553 :
554 : public:
555 : void clear_netsbyname() ;
556 : const ::google::protobuf::Map<::std::string, ::Odb::Lib::Protobuf::ProductModel::Net>& netsbyname() const;
557 : ::google::protobuf::Map<::std::string, ::Odb::Lib::Protobuf::ProductModel::Net>* PROTOBUF_NONNULL mutable_netsbyname();
558 :
559 : private:
560 : const ::google::protobuf::Map<::std::string, ::Odb::Lib::Protobuf::ProductModel::Net>& _internal_netsbyname() const;
561 : ::google::protobuf::Map<::std::string, ::Odb::Lib::Protobuf::ProductModel::Net>* PROTOBUF_NONNULL _internal_mutable_netsbyname();
562 :
563 : public:
564 : // map<string, .Odb.Lib.Protobuf.ProductModel.Package> packagesByName = 7;
565 : int packagesbyname_size() const;
566 : private:
567 : int _internal_packagesbyname_size() const;
568 :
569 : public:
570 : void clear_packagesbyname() ;
571 : const ::google::protobuf::Map<::std::string, ::Odb::Lib::Protobuf::ProductModel::Package>& packagesbyname() const;
572 : ::google::protobuf::Map<::std::string, ::Odb::Lib::Protobuf::ProductModel::Package>* PROTOBUF_NONNULL mutable_packagesbyname();
573 :
574 : private:
575 : const ::google::protobuf::Map<::std::string, ::Odb::Lib::Protobuf::ProductModel::Package>& _internal_packagesbyname() const;
576 : ::google::protobuf::Map<::std::string, ::Odb::Lib::Protobuf::ProductModel::Package>* PROTOBUF_NONNULL _internal_mutable_packagesbyname();
577 :
578 : public:
579 : // map<string, .Odb.Lib.Protobuf.ProductModel.Component> componentsByName = 9;
580 : int componentsbyname_size() const;
581 : private:
582 : int _internal_componentsbyname_size() const;
583 :
584 : public:
585 : void clear_componentsbyname() ;
586 : const ::google::protobuf::Map<::std::string, ::Odb::Lib::Protobuf::ProductModel::Component>& componentsbyname() const;
587 : ::google::protobuf::Map<::std::string, ::Odb::Lib::Protobuf::ProductModel::Component>* PROTOBUF_NONNULL mutable_componentsbyname();
588 :
589 : private:
590 : const ::google::protobuf::Map<::std::string, ::Odb::Lib::Protobuf::ProductModel::Component>& _internal_componentsbyname() const;
591 : ::google::protobuf::Map<::std::string, ::Odb::Lib::Protobuf::ProductModel::Component>* PROTOBUF_NONNULL _internal_mutable_componentsbyname();
592 :
593 : public:
594 : // map<string, .Odb.Lib.Protobuf.ProductModel.Part> partsByName = 11;
595 : int partsbyname_size() const;
596 : private:
597 : int _internal_partsbyname_size() const;
598 :
599 : public:
600 : void clear_partsbyname() ;
601 : const ::google::protobuf::Map<::std::string, ::Odb::Lib::Protobuf::ProductModel::Part>& partsbyname() const;
602 : ::google::protobuf::Map<::std::string, ::Odb::Lib::Protobuf::ProductModel::Part>* PROTOBUF_NONNULL mutable_partsbyname();
603 :
604 : private:
605 : const ::google::protobuf::Map<::std::string, ::Odb::Lib::Protobuf::ProductModel::Part>& _internal_partsbyname() const;
606 : ::google::protobuf::Map<::std::string, ::Odb::Lib::Protobuf::ProductModel::Part>* PROTOBUF_NONNULL _internal_mutable_partsbyname();
607 :
608 : public:
609 : // @@protoc_insertion_point(class_scope:Odb.Lib.Protobuf.ProductModel.Design)
610 : private:
611 : class _Internal;
612 : friend class ::google::protobuf::internal::TcParser;
613 : static const ::google::protobuf::internal::TcParseTable<4, 12,
614 : 14, 120,
615 : 2>
616 : _table_;
617 :
618 : friend class ::google::protobuf::MessageLite;
619 : friend class ::google::protobuf::Arena;
620 : template <typename T>
621 : friend class ::google::protobuf::Arena::InternalHelper;
622 : using InternalArenaConstructable_ = void;
623 : using DestructorSkippable_ = void;
624 : struct Impl_ {
625 : inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
626 : inline explicit Impl_(
627 : ::google::protobuf::internal::InternalVisibility visibility,
628 : ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
629 : inline explicit Impl_(
630 : ::google::protobuf::internal::InternalVisibility visibility,
631 : ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
632 : const Design& from_msg);
633 : ::google::protobuf::internal::HasBits<1> _has_bits_;
634 : ::google::protobuf::internal::CachedSize _cached_size_;
635 : ::google::protobuf::RepeatedPtrField< ::Odb::Lib::Protobuf::ProductModel::Net > nets_;
636 : ::google::protobuf::RepeatedPtrField< ::Odb::Lib::Protobuf::ProductModel::Package > packages_;
637 : ::google::protobuf::RepeatedPtrField< ::Odb::Lib::Protobuf::ProductModel::Component > components_;
638 : ::google::protobuf::RepeatedPtrField< ::Odb::Lib::Protobuf::ProductModel::Part > parts_;
639 : ::google::protobuf::internal::ArenaStringPtr productmodel_;
640 : ::google::protobuf::internal::ArenaStringPtr name_;
641 : ::Odb::Lib::Protobuf::FileArchive* PROTOBUF_NULLABLE filemodel_;
642 : ::Odb::Lib::Protobuf::ProductModel::Connectivity* PROTOBUF_NULLABLE connectivity_;
643 : ::google::protobuf::internal::MapField<Design_NetsByNameEntry_DoNotUse, ::std::string, ::Odb::Lib::Protobuf::ProductModel::Net,
644 : ::google::protobuf::internal::WireFormatLite::TYPE_STRING,
645 : ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE>
646 : netsbyname_;
647 : ::google::protobuf::internal::MapField<Design_PackagesByNameEntry_DoNotUse, ::std::string, ::Odb::Lib::Protobuf::ProductModel::Package,
648 : ::google::protobuf::internal::WireFormatLite::TYPE_STRING,
649 : ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE>
650 : packagesbyname_;
651 : ::google::protobuf::internal::MapField<Design_ComponentsByNameEntry_DoNotUse, ::std::string, ::Odb::Lib::Protobuf::ProductModel::Component,
652 : ::google::protobuf::internal::WireFormatLite::TYPE_STRING,
653 : ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE>
654 : componentsbyname_;
655 : ::google::protobuf::internal::MapField<Design_PartsByNameEntry_DoNotUse, ::std::string, ::Odb::Lib::Protobuf::ProductModel::Part,
656 : ::google::protobuf::internal::WireFormatLite::TYPE_STRING,
657 : ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE>
658 : partsbyname_;
659 : PROTOBUF_TSAN_DECLARE_MEMBER
660 : };
661 : union { Impl_ _impl_; };
662 : friend struct ::TableStruct_design_2eproto;
663 : };
664 :
665 : ODBDESIGN_EXPORT extern const ::google::protobuf::internal::ClassDataFull Design_class_data_;
666 :
667 : // ===================================================================
668 :
669 :
670 :
671 :
672 : // ===================================================================
673 :
674 :
675 : #ifdef __GNUC__
676 : #pragma GCC diagnostic push
677 : #pragma GCC diagnostic ignored "-Wstrict-aliasing"
678 : #endif // __GNUC__
679 : // -------------------------------------------------------------------
680 :
681 : // -------------------------------------------------------------------
682 :
683 : // -------------------------------------------------------------------
684 :
685 : // -------------------------------------------------------------------
686 :
687 : // -------------------------------------------------------------------
688 :
689 : // Design
690 :
691 : // optional string productModel = 1;
692 : inline bool Design::has_productmodel() const {
693 : bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000010U);
694 : return value;
695 : }
696 : inline void Design::clear_productmodel() {
697 : ::google::protobuf::internal::TSanWrite(&_impl_);
698 : _impl_.productmodel_.ClearToEmpty();
699 : ClearHasBit(_impl_._has_bits_[0],
700 : 0x00000010U);
701 : }
702 5 : inline const ::std::string& Design::productmodel() const
703 : ABSL_ATTRIBUTE_LIFETIME_BOUND {
704 : // @@protoc_insertion_point(field_get:Odb.Lib.Protobuf.ProductModel.Design.productModel)
705 5 : return _internal_productmodel();
706 : }
707 : template <typename Arg_, typename... Args_>
708 : PROTOBUF_ALWAYS_INLINE void Design::set_productmodel(Arg_&& arg, Args_... args) {
709 99 : ::google::protobuf::internal::TSanWrite(&_impl_);
710 99 : SetHasBit(_impl_._has_bits_[0], 0x00000010U);
711 99 : _impl_.productmodel_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
712 : // @@protoc_insertion_point(field_set:Odb.Lib.Protobuf.ProductModel.Design.productModel)
713 99 : }
714 : inline ::std::string* PROTOBUF_NONNULL Design::mutable_productmodel()
715 : ABSL_ATTRIBUTE_LIFETIME_BOUND {
716 : SetHasBit(_impl_._has_bits_[0], 0x00000010U);
717 : ::std::string* _s = _internal_mutable_productmodel();
718 : // @@protoc_insertion_point(field_mutable:Odb.Lib.Protobuf.ProductModel.Design.productModel)
719 : return _s;
720 : }
721 187 : inline const ::std::string& Design::_internal_productmodel() const {
722 187 : ::google::protobuf::internal::TSanRead(&_impl_);
723 187 : return _impl_.productmodel_.Get();
724 : }
725 : inline void Design::_internal_set_productmodel(const ::std::string& value) {
726 12 : ::google::protobuf::internal::TSanWrite(&_impl_);
727 12 : _impl_.productmodel_.Set(value, GetArena());
728 12 : }
729 : inline ::std::string* PROTOBUF_NONNULL Design::_internal_mutable_productmodel() {
730 : ::google::protobuf::internal::TSanWrite(&_impl_);
731 : return _impl_.productmodel_.Mutable( GetArena());
732 : }
733 : inline ::std::string* PROTOBUF_NULLABLE Design::release_productmodel() {
734 : ::google::protobuf::internal::TSanWrite(&_impl_);
735 : // @@protoc_insertion_point(field_release:Odb.Lib.Protobuf.ProductModel.Design.productModel)
736 : if (!CheckHasBit(_impl_._has_bits_[0], 0x00000010U)) {
737 : return nullptr;
738 : }
739 : ClearHasBit(_impl_._has_bits_[0], 0x00000010U);
740 : auto* released = _impl_.productmodel_.Release();
741 : if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
742 : _impl_.productmodel_.Set("", GetArena());
743 : }
744 : return released;
745 : }
746 : inline void Design::set_allocated_productmodel(::std::string* PROTOBUF_NULLABLE value) {
747 : ::google::protobuf::internal::TSanWrite(&_impl_);
748 : if (value != nullptr) {
749 : SetHasBit(_impl_._has_bits_[0], 0x00000010U);
750 : } else {
751 : ClearHasBit(_impl_._has_bits_[0], 0x00000010U);
752 : }
753 : _impl_.productmodel_.SetAllocated(value, GetArena());
754 : if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.productmodel_.IsDefault()) {
755 : _impl_.productmodel_.Set("", GetArena());
756 : }
757 : // @@protoc_insertion_point(field_set_allocated:Odb.Lib.Protobuf.ProductModel.Design.productModel)
758 : }
759 :
760 : // optional string name = 2;
761 : inline bool Design::has_name() const {
762 : bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000020U);
763 : return value;
764 : }
765 : inline void Design::clear_name() {
766 : ::google::protobuf::internal::TSanWrite(&_impl_);
767 : _impl_.name_.ClearToEmpty();
768 : ClearHasBit(_impl_._has_bits_[0],
769 : 0x00000020U);
770 : }
771 5 : inline const ::std::string& Design::name() const
772 : ABSL_ATTRIBUTE_LIFETIME_BOUND {
773 : // @@protoc_insertion_point(field_get:Odb.Lib.Protobuf.ProductModel.Design.name)
774 5 : return _internal_name();
775 : }
776 : template <typename Arg_, typename... Args_>
777 : PROTOBUF_ALWAYS_INLINE void Design::set_name(Arg_&& arg, Args_... args) {
778 99 : ::google::protobuf::internal::TSanWrite(&_impl_);
779 99 : SetHasBit(_impl_._has_bits_[0], 0x00000020U);
780 99 : _impl_.name_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
781 : // @@protoc_insertion_point(field_set:Odb.Lib.Protobuf.ProductModel.Design.name)
782 99 : }
783 : inline ::std::string* PROTOBUF_NONNULL Design::mutable_name()
784 : ABSL_ATTRIBUTE_LIFETIME_BOUND {
785 : SetHasBit(_impl_._has_bits_[0], 0x00000020U);
786 : ::std::string* _s = _internal_mutable_name();
787 : // @@protoc_insertion_point(field_mutable:Odb.Lib.Protobuf.ProductModel.Design.name)
788 : return _s;
789 : }
790 187 : inline const ::std::string& Design::_internal_name() const {
791 187 : ::google::protobuf::internal::TSanRead(&_impl_);
792 187 : return _impl_.name_.Get();
793 : }
794 : inline void Design::_internal_set_name(const ::std::string& value) {
795 12 : ::google::protobuf::internal::TSanWrite(&_impl_);
796 12 : _impl_.name_.Set(value, GetArena());
797 12 : }
798 : inline ::std::string* PROTOBUF_NONNULL Design::_internal_mutable_name() {
799 : ::google::protobuf::internal::TSanWrite(&_impl_);
800 : return _impl_.name_.Mutable( GetArena());
801 : }
802 : inline ::std::string* PROTOBUF_NULLABLE Design::release_name() {
803 : ::google::protobuf::internal::TSanWrite(&_impl_);
804 : // @@protoc_insertion_point(field_release:Odb.Lib.Protobuf.ProductModel.Design.name)
805 : if (!CheckHasBit(_impl_._has_bits_[0], 0x00000020U)) {
806 : return nullptr;
807 : }
808 : ClearHasBit(_impl_._has_bits_[0], 0x00000020U);
809 : auto* released = _impl_.name_.Release();
810 : if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
811 : _impl_.name_.Set("", GetArena());
812 : }
813 : return released;
814 : }
815 : inline void Design::set_allocated_name(::std::string* PROTOBUF_NULLABLE value) {
816 : ::google::protobuf::internal::TSanWrite(&_impl_);
817 : if (value != nullptr) {
818 : SetHasBit(_impl_._has_bits_[0], 0x00000020U);
819 : } else {
820 : ClearHasBit(_impl_._has_bits_[0], 0x00000020U);
821 : }
822 : _impl_.name_.SetAllocated(value, GetArena());
823 : if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.name_.IsDefault()) {
824 : _impl_.name_.Set("", GetArena());
825 : }
826 : // @@protoc_insertion_point(field_set_allocated:Odb.Lib.Protobuf.ProductModel.Design.name)
827 : }
828 :
829 : // optional .Odb.Lib.Protobuf.FileArchive fileModel = 3;
830 11963 : inline bool Design::has_filemodel() const {
831 11963 : bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000040U);
832 11963 : PROTOBUF_ASSUME(!value || _impl_.filemodel_ != nullptr);
833 11963 : return value;
834 : }
835 19 : inline const ::Odb::Lib::Protobuf::FileArchive& Design::_internal_filemodel() const {
836 19 : ::google::protobuf::internal::TSanRead(&_impl_);
837 19 : const ::Odb::Lib::Protobuf::FileArchive* p = _impl_.filemodel_;
838 19 : return p != nullptr ? *p : reinterpret_cast<const ::Odb::Lib::Protobuf::FileArchive&>(::Odb::Lib::Protobuf::_FileArchive_default_instance_);
839 : }
840 19 : inline const ::Odb::Lib::Protobuf::FileArchive& Design::filemodel() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
841 : // @@protoc_insertion_point(field_get:Odb.Lib.Protobuf.ProductModel.Design.fileModel)
842 19 : return _internal_filemodel();
843 : }
844 : inline void Design::unsafe_arena_set_allocated_filemodel(
845 : ::Odb::Lib::Protobuf::FileArchive* PROTOBUF_NULLABLE value) {
846 : ::google::protobuf::internal::TSanWrite(&_impl_);
847 : if (GetArena() == nullptr) {
848 : delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.filemodel_);
849 : }
850 : _impl_.filemodel_ = reinterpret_cast<::Odb::Lib::Protobuf::FileArchive*>(value);
851 : if (value != nullptr) {
852 : SetHasBit(_impl_._has_bits_[0], 0x00000040U);
853 : } else {
854 : ClearHasBit(_impl_._has_bits_[0], 0x00000040U);
855 : }
856 : // @@protoc_insertion_point(field_unsafe_arena_set_allocated:Odb.Lib.Protobuf.ProductModel.Design.fileModel)
857 : }
858 : inline ::Odb::Lib::Protobuf::FileArchive* PROTOBUF_NULLABLE Design::release_filemodel() {
859 : ::google::protobuf::internal::TSanWrite(&_impl_);
860 :
861 : ClearHasBit(_impl_._has_bits_[0], 0x00000040U);
862 : ::Odb::Lib::Protobuf::FileArchive* released = _impl_.filemodel_;
863 : _impl_.filemodel_ = nullptr;
864 : if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
865 : auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
866 : released = ::google::protobuf::internal::DuplicateIfNonNull(released);
867 : if (GetArena() == nullptr) {
868 : delete old;
869 : }
870 : } else {
871 : if (GetArena() != nullptr) {
872 : released = ::google::protobuf::internal::DuplicateIfNonNull(released);
873 : }
874 : }
875 : return released;
876 : }
877 : inline ::Odb::Lib::Protobuf::FileArchive* PROTOBUF_NULLABLE Design::unsafe_arena_release_filemodel() {
878 : ::google::protobuf::internal::TSanWrite(&_impl_);
879 : // @@protoc_insertion_point(field_release:Odb.Lib.Protobuf.ProductModel.Design.fileModel)
880 :
881 : ClearHasBit(_impl_._has_bits_[0], 0x00000040U);
882 : ::Odb::Lib::Protobuf::FileArchive* temp = _impl_.filemodel_;
883 : _impl_.filemodel_ = nullptr;
884 : return temp;
885 : }
886 12045 : inline ::Odb::Lib::Protobuf::FileArchive* PROTOBUF_NONNULL Design::_internal_mutable_filemodel() {
887 12045 : ::google::protobuf::internal::TSanWrite(&_impl_);
888 12045 : if (_impl_.filemodel_ == nullptr) {
889 98 : auto* p = ::google::protobuf::Message::DefaultConstruct<::Odb::Lib::Protobuf::FileArchive>(GetArena());
890 98 : _impl_.filemodel_ = reinterpret_cast<::Odb::Lib::Protobuf::FileArchive*>(p);
891 : }
892 12045 : return _impl_.filemodel_;
893 : }
894 12045 : inline ::Odb::Lib::Protobuf::FileArchive* PROTOBUF_NONNULL Design::mutable_filemodel()
895 : ABSL_ATTRIBUTE_LIFETIME_BOUND {
896 12045 : SetHasBit(_impl_._has_bits_[0], 0x00000040U);
897 12045 : ::Odb::Lib::Protobuf::FileArchive* _msg = _internal_mutable_filemodel();
898 : // @@protoc_insertion_point(field_mutable:Odb.Lib.Protobuf.ProductModel.Design.fileModel)
899 12045 : return _msg;
900 : }
901 : inline void Design::set_allocated_filemodel(::Odb::Lib::Protobuf::FileArchive* PROTOBUF_NULLABLE value) {
902 : ::google::protobuf::Arena* message_arena = GetArena();
903 : ::google::protobuf::internal::TSanWrite(&_impl_);
904 : if (message_arena == nullptr) {
905 : delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.filemodel_);
906 : }
907 :
908 : if (value != nullptr) {
909 : ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::Message*>(value)->GetArena();
910 : if (message_arena != submessage_arena) {
911 : value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
912 : }
913 : SetHasBit(_impl_._has_bits_[0], 0x00000040U);
914 : } else {
915 : ClearHasBit(_impl_._has_bits_[0], 0x00000040U);
916 : }
917 :
918 : _impl_.filemodel_ = reinterpret_cast<::Odb::Lib::Protobuf::FileArchive*>(value);
919 : // @@protoc_insertion_point(field_set_allocated:Odb.Lib.Protobuf.ProductModel.Design.fileModel)
920 : }
921 :
922 : // repeated .Odb.Lib.Protobuf.ProductModel.Net nets = 4;
923 14 : inline int Design::_internal_nets_size() const {
924 14 : return _internal_nets().size();
925 : }
926 1 : inline int Design::nets_size() const {
927 1 : return _internal_nets_size();
928 : }
929 : inline ::Odb::Lib::Protobuf::ProductModel::Net* PROTOBUF_NONNULL Design::mutable_nets(int index)
930 : ABSL_ATTRIBUTE_LIFETIME_BOUND {
931 : // @@protoc_insertion_point(field_mutable:Odb.Lib.Protobuf.ProductModel.Design.nets)
932 : return _internal_mutable_nets()->Mutable(index);
933 : }
934 : inline ::google::protobuf::RepeatedPtrField<::Odb::Lib::Protobuf::ProductModel::Net>* PROTOBUF_NONNULL Design::mutable_nets()
935 : ABSL_ATTRIBUTE_LIFETIME_BOUND {
936 : SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000001U);
937 : // @@protoc_insertion_point(field_mutable_list:Odb.Lib.Protobuf.ProductModel.Design.nets)
938 : ::google::protobuf::internal::TSanWrite(&_impl_);
939 : return _internal_mutable_nets();
940 : }
941 : inline const ::Odb::Lib::Protobuf::ProductModel::Net& Design::nets(int index) const
942 : ABSL_ATTRIBUTE_LIFETIME_BOUND {
943 : // @@protoc_insertion_point(field_get:Odb.Lib.Protobuf.ProductModel.Design.nets)
944 : return _internal_nets().Get(index);
945 : }
946 7150 : inline ::Odb::Lib::Protobuf::ProductModel::Net* PROTOBUF_NONNULL Design::add_nets()
947 : ABSL_ATTRIBUTE_LIFETIME_BOUND {
948 7150 : ::google::protobuf::internal::TSanWrite(&_impl_);
949 : ::Odb::Lib::Protobuf::ProductModel::Net* _add =
950 14300 : _internal_mutable_nets()->InternalAddWithArena(
951 7150 : ::google::protobuf::MessageLite::internal_visibility(), GetArena());
952 7150 : SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000001U);
953 : // @@protoc_insertion_point(field_add:Odb.Lib.Protobuf.ProductModel.Design.nets)
954 7150 : return _add;
955 : }
956 6 : inline const ::google::protobuf::RepeatedPtrField<::Odb::Lib::Protobuf::ProductModel::Net>& Design::nets() const
957 : ABSL_ATTRIBUTE_LIFETIME_BOUND {
958 : // @@protoc_insertion_point(field_list:Odb.Lib.Protobuf.ProductModel.Design.nets)
959 6 : return _internal_nets();
960 : }
961 : inline const ::google::protobuf::RepeatedPtrField<::Odb::Lib::Protobuf::ProductModel::Net>&
962 3249 : Design::_internal_nets() const {
963 3249 : ::google::protobuf::internal::TSanRead(&_impl_);
964 3249 : return _impl_.nets_;
965 : }
966 : inline ::google::protobuf::RepeatedPtrField<::Odb::Lib::Protobuf::ProductModel::Net>* PROTOBUF_NONNULL
967 7151 : Design::_internal_mutable_nets() {
968 7151 : ::google::protobuf::internal::TSanRead(&_impl_);
969 7151 : return &_impl_.nets_;
970 : }
971 :
972 : // map<string, .Odb.Lib.Protobuf.ProductModel.Net> netsByName = 5;
973 8 : inline int Design::_internal_netsbyname_size() const {
974 8 : return _internal_netsbyname().size();
975 : }
976 : inline int Design::netsbyname_size() const {
977 : return _internal_netsbyname_size();
978 : }
979 31 : inline const ::google::protobuf::Map<::std::string, ::Odb::Lib::Protobuf::ProductModel::Net>& Design::_internal_netsbyname() const {
980 31 : ::google::protobuf::internal::TSanRead(&_impl_);
981 31 : return _impl_.netsbyname_.GetMap();
982 : }
983 5 : inline const ::google::protobuf::Map<::std::string, ::Odb::Lib::Protobuf::ProductModel::Net>& Design::netsbyname() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
984 : // @@protoc_insertion_point(field_map:Odb.Lib.Protobuf.ProductModel.Design.netsByName)
985 5 : return _internal_netsbyname();
986 : }
987 1297 : inline ::google::protobuf::Map<::std::string, ::Odb::Lib::Protobuf::ProductModel::Net>* PROTOBUF_NONNULL Design::_internal_mutable_netsbyname() {
988 1297 : ::google::protobuf::internal::TSanWrite(&_impl_);
989 1297 : return _impl_.netsbyname_.MutableMap();
990 : }
991 1297 : inline ::google::protobuf::Map<::std::string, ::Odb::Lib::Protobuf::ProductModel::Net>* PROTOBUF_NONNULL Design::mutable_netsbyname()
992 : ABSL_ATTRIBUTE_LIFETIME_BOUND {
993 1297 : SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000100U);
994 : // @@protoc_insertion_point(field_mutable_map:Odb.Lib.Protobuf.ProductModel.Design.netsByName)
995 1297 : return _internal_mutable_netsbyname();
996 : }
997 :
998 : // repeated .Odb.Lib.Protobuf.ProductModel.Package packages = 6;
999 13 : inline int Design::_internal_packages_size() const {
1000 13 : return _internal_packages().size();
1001 : }
1002 : inline int Design::packages_size() const {
1003 : return _internal_packages_size();
1004 : }
1005 : inline ::Odb::Lib::Protobuf::ProductModel::Package* PROTOBUF_NONNULL Design::mutable_packages(int index)
1006 : ABSL_ATTRIBUTE_LIFETIME_BOUND {
1007 : // @@protoc_insertion_point(field_mutable:Odb.Lib.Protobuf.ProductModel.Design.packages)
1008 : return _internal_mutable_packages()->Mutable(index);
1009 : }
1010 : inline ::google::protobuf::RepeatedPtrField<::Odb::Lib::Protobuf::ProductModel::Package>* PROTOBUF_NONNULL Design::mutable_packages()
1011 : ABSL_ATTRIBUTE_LIFETIME_BOUND {
1012 : SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000002U);
1013 : // @@protoc_insertion_point(field_mutable_list:Odb.Lib.Protobuf.ProductModel.Design.packages)
1014 : ::google::protobuf::internal::TSanWrite(&_impl_);
1015 : return _internal_mutable_packages();
1016 : }
1017 : inline const ::Odb::Lib::Protobuf::ProductModel::Package& Design::packages(int index) const
1018 : ABSL_ATTRIBUTE_LIFETIME_BOUND {
1019 : // @@protoc_insertion_point(field_get:Odb.Lib.Protobuf.ProductModel.Design.packages)
1020 : return _internal_packages().Get(index);
1021 : }
1022 1011 : inline ::Odb::Lib::Protobuf::ProductModel::Package* PROTOBUF_NONNULL Design::add_packages()
1023 : ABSL_ATTRIBUTE_LIFETIME_BOUND {
1024 1011 : ::google::protobuf::internal::TSanWrite(&_impl_);
1025 : ::Odb::Lib::Protobuf::ProductModel::Package* _add =
1026 2022 : _internal_mutable_packages()->InternalAddWithArena(
1027 1011 : ::google::protobuf::MessageLite::internal_visibility(), GetArena());
1028 1011 : SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000002U);
1029 : // @@protoc_insertion_point(field_add:Odb.Lib.Protobuf.ProductModel.Design.packages)
1030 1011 : return _add;
1031 : }
1032 5 : inline const ::google::protobuf::RepeatedPtrField<::Odb::Lib::Protobuf::ProductModel::Package>& Design::packages() const
1033 : ABSL_ATTRIBUTE_LIFETIME_BOUND {
1034 : // @@protoc_insertion_point(field_list:Odb.Lib.Protobuf.ProductModel.Design.packages)
1035 5 : return _internal_packages();
1036 : }
1037 : inline const ::google::protobuf::RepeatedPtrField<::Odb::Lib::Protobuf::ProductModel::Package>&
1038 382 : Design::_internal_packages() const {
1039 382 : ::google::protobuf::internal::TSanRead(&_impl_);
1040 382 : return _impl_.packages_;
1041 : }
1042 : inline ::google::protobuf::RepeatedPtrField<::Odb::Lib::Protobuf::ProductModel::Package>* PROTOBUF_NONNULL
1043 1012 : Design::_internal_mutable_packages() {
1044 1012 : ::google::protobuf::internal::TSanRead(&_impl_);
1045 1012 : return &_impl_.packages_;
1046 : }
1047 :
1048 : // map<string, .Odb.Lib.Protobuf.ProductModel.Package> packagesByName = 7;
1049 8 : inline int Design::_internal_packagesbyname_size() const {
1050 8 : return _internal_packagesbyname().size();
1051 : }
1052 : inline int Design::packagesbyname_size() const {
1053 : return _internal_packagesbyname_size();
1054 : }
1055 31 : inline const ::google::protobuf::Map<::std::string, ::Odb::Lib::Protobuf::ProductModel::Package>& Design::_internal_packagesbyname() const {
1056 31 : ::google::protobuf::internal::TSanRead(&_impl_);
1057 31 : return _impl_.packagesbyname_.GetMap();
1058 : }
1059 5 : inline const ::google::protobuf::Map<::std::string, ::Odb::Lib::Protobuf::ProductModel::Package>& Design::packagesbyname() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
1060 : // @@protoc_insertion_point(field_map:Odb.Lib.Protobuf.ProductModel.Design.packagesByName)
1061 5 : return _internal_packagesbyname();
1062 : }
1063 151 : inline ::google::protobuf::Map<::std::string, ::Odb::Lib::Protobuf::ProductModel::Package>* PROTOBUF_NONNULL Design::_internal_mutable_packagesbyname() {
1064 151 : ::google::protobuf::internal::TSanWrite(&_impl_);
1065 151 : return _impl_.packagesbyname_.MutableMap();
1066 : }
1067 151 : inline ::google::protobuf::Map<::std::string, ::Odb::Lib::Protobuf::ProductModel::Package>* PROTOBUF_NONNULL Design::mutable_packagesbyname()
1068 : ABSL_ATTRIBUTE_LIFETIME_BOUND {
1069 151 : SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000200U);
1070 : // @@protoc_insertion_point(field_mutable_map:Odb.Lib.Protobuf.ProductModel.Design.packagesByName)
1071 151 : return _internal_mutable_packagesbyname();
1072 : }
1073 :
1074 : // repeated .Odb.Lib.Protobuf.ProductModel.Component components = 8;
1075 13 : inline int Design::_internal_components_size() const {
1076 13 : return _internal_components().size();
1077 : }
1078 : inline int Design::components_size() const {
1079 : return _internal_components_size();
1080 : }
1081 : inline ::Odb::Lib::Protobuf::ProductModel::Component* PROTOBUF_NONNULL Design::mutable_components(int index)
1082 : ABSL_ATTRIBUTE_LIFETIME_BOUND {
1083 : // @@protoc_insertion_point(field_mutable:Odb.Lib.Protobuf.ProductModel.Design.components)
1084 : return _internal_mutable_components()->Mutable(index);
1085 : }
1086 : inline ::google::protobuf::RepeatedPtrField<::Odb::Lib::Protobuf::ProductModel::Component>* PROTOBUF_NONNULL Design::mutable_components()
1087 : ABSL_ATTRIBUTE_LIFETIME_BOUND {
1088 : SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000004U);
1089 : // @@protoc_insertion_point(field_mutable_list:Odb.Lib.Protobuf.ProductModel.Design.components)
1090 : ::google::protobuf::internal::TSanWrite(&_impl_);
1091 : return _internal_mutable_components();
1092 : }
1093 : inline const ::Odb::Lib::Protobuf::ProductModel::Component& Design::components(int index) const
1094 : ABSL_ATTRIBUTE_LIFETIME_BOUND {
1095 : // @@protoc_insertion_point(field_get:Odb.Lib.Protobuf.ProductModel.Design.components)
1096 : return _internal_components().Get(index);
1097 : }
1098 8701 : inline ::Odb::Lib::Protobuf::ProductModel::Component* PROTOBUF_NONNULL Design::add_components()
1099 : ABSL_ATTRIBUTE_LIFETIME_BOUND {
1100 8701 : ::google::protobuf::internal::TSanWrite(&_impl_);
1101 : ::Odb::Lib::Protobuf::ProductModel::Component* _add =
1102 17402 : _internal_mutable_components()->InternalAddWithArena(
1103 8701 : ::google::protobuf::MessageLite::internal_visibility(), GetArena());
1104 8701 : SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000004U);
1105 : // @@protoc_insertion_point(field_add:Odb.Lib.Protobuf.ProductModel.Design.components)
1106 8701 : return _add;
1107 : }
1108 6 : inline const ::google::protobuf::RepeatedPtrField<::Odb::Lib::Protobuf::ProductModel::Component>& Design::components() const
1109 : ABSL_ATTRIBUTE_LIFETIME_BOUND {
1110 : // @@protoc_insertion_point(field_list:Odb.Lib.Protobuf.ProductModel.Design.components)
1111 6 : return _internal_components();
1112 : }
1113 : inline const ::google::protobuf::RepeatedPtrField<::Odb::Lib::Protobuf::ProductModel::Component>&
1114 4093 : Design::_internal_components() const {
1115 4093 : ::google::protobuf::internal::TSanRead(&_impl_);
1116 4093 : return _impl_.components_;
1117 : }
1118 : inline ::google::protobuf::RepeatedPtrField<::Odb::Lib::Protobuf::ProductModel::Component>* PROTOBUF_NONNULL
1119 8702 : Design::_internal_mutable_components() {
1120 8702 : ::google::protobuf::internal::TSanRead(&_impl_);
1121 8702 : return &_impl_.components_;
1122 : }
1123 :
1124 : // map<string, .Odb.Lib.Protobuf.ProductModel.Component> componentsByName = 9;
1125 8 : inline int Design::_internal_componentsbyname_size() const {
1126 8 : return _internal_componentsbyname().size();
1127 : }
1128 : inline int Design::componentsbyname_size() const {
1129 : return _internal_componentsbyname_size();
1130 : }
1131 31 : inline const ::google::protobuf::Map<::std::string, ::Odb::Lib::Protobuf::ProductModel::Component>& Design::_internal_componentsbyname() const {
1132 31 : ::google::protobuf::internal::TSanRead(&_impl_);
1133 31 : return _impl_.componentsbyname_.GetMap();
1134 : }
1135 5 : inline const ::google::protobuf::Map<::std::string, ::Odb::Lib::Protobuf::ProductModel::Component>& Design::componentsbyname() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
1136 : // @@protoc_insertion_point(field_map:Odb.Lib.Protobuf.ProductModel.Design.componentsByName)
1137 5 : return _internal_componentsbyname();
1138 : }
1139 1635 : inline ::google::protobuf::Map<::std::string, ::Odb::Lib::Protobuf::ProductModel::Component>* PROTOBUF_NONNULL Design::_internal_mutable_componentsbyname() {
1140 1635 : ::google::protobuf::internal::TSanWrite(&_impl_);
1141 1635 : return _impl_.componentsbyname_.MutableMap();
1142 : }
1143 1635 : inline ::google::protobuf::Map<::std::string, ::Odb::Lib::Protobuf::ProductModel::Component>* PROTOBUF_NONNULL Design::mutable_componentsbyname()
1144 : ABSL_ATTRIBUTE_LIFETIME_BOUND {
1145 1635 : SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000400U);
1146 : // @@protoc_insertion_point(field_mutable_map:Odb.Lib.Protobuf.ProductModel.Design.componentsByName)
1147 1635 : return _internal_mutable_componentsbyname();
1148 : }
1149 :
1150 : // repeated .Odb.Lib.Protobuf.ProductModel.Part parts = 10;
1151 13 : inline int Design::_internal_parts_size() const {
1152 13 : return _internal_parts().size();
1153 : }
1154 : inline int Design::parts_size() const {
1155 : return _internal_parts_size();
1156 : }
1157 : inline ::Odb::Lib::Protobuf::ProductModel::Part* PROTOBUF_NONNULL Design::mutable_parts(int index)
1158 : ABSL_ATTRIBUTE_LIFETIME_BOUND {
1159 : // @@protoc_insertion_point(field_mutable:Odb.Lib.Protobuf.ProductModel.Design.parts)
1160 : return _internal_mutable_parts()->Mutable(index);
1161 : }
1162 : inline ::google::protobuf::RepeatedPtrField<::Odb::Lib::Protobuf::ProductModel::Part>* PROTOBUF_NONNULL Design::mutable_parts()
1163 : ABSL_ATTRIBUTE_LIFETIME_BOUND {
1164 : SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000008U);
1165 : // @@protoc_insertion_point(field_mutable_list:Odb.Lib.Protobuf.ProductModel.Design.parts)
1166 : ::google::protobuf::internal::TSanWrite(&_impl_);
1167 : return _internal_mutable_parts();
1168 : }
1169 : inline const ::Odb::Lib::Protobuf::ProductModel::Part& Design::parts(int index) const
1170 : ABSL_ATTRIBUTE_LIFETIME_BOUND {
1171 : // @@protoc_insertion_point(field_get:Odb.Lib.Protobuf.ProductModel.Design.parts)
1172 : return _internal_parts().Get(index);
1173 : }
1174 1611 : inline ::Odb::Lib::Protobuf::ProductModel::Part* PROTOBUF_NONNULL Design::add_parts()
1175 : ABSL_ATTRIBUTE_LIFETIME_BOUND {
1176 1611 : ::google::protobuf::internal::TSanWrite(&_impl_);
1177 : ::Odb::Lib::Protobuf::ProductModel::Part* _add =
1178 3222 : _internal_mutable_parts()->InternalAddWithArena(
1179 1611 : ::google::protobuf::MessageLite::internal_visibility(), GetArena());
1180 1611 : SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000008U);
1181 : // @@protoc_insertion_point(field_add:Odb.Lib.Protobuf.ProductModel.Design.parts)
1182 1611 : return _add;
1183 : }
1184 5 : inline const ::google::protobuf::RepeatedPtrField<::Odb::Lib::Protobuf::ProductModel::Part>& Design::parts() const
1185 : ABSL_ATTRIBUTE_LIFETIME_BOUND {
1186 : // @@protoc_insertion_point(field_list:Odb.Lib.Protobuf.ProductModel.Design.parts)
1187 5 : return _internal_parts();
1188 : }
1189 : inline const ::google::protobuf::RepeatedPtrField<::Odb::Lib::Protobuf::ProductModel::Part>&
1190 742 : Design::_internal_parts() const {
1191 742 : ::google::protobuf::internal::TSanRead(&_impl_);
1192 742 : return _impl_.parts_;
1193 : }
1194 : inline ::google::protobuf::RepeatedPtrField<::Odb::Lib::Protobuf::ProductModel::Part>* PROTOBUF_NONNULL
1195 1612 : Design::_internal_mutable_parts() {
1196 1612 : ::google::protobuf::internal::TSanRead(&_impl_);
1197 1612 : return &_impl_.parts_;
1198 : }
1199 :
1200 : // map<string, .Odb.Lib.Protobuf.ProductModel.Part> partsByName = 11;
1201 8 : inline int Design::_internal_partsbyname_size() const {
1202 8 : return _internal_partsbyname().size();
1203 : }
1204 : inline int Design::partsbyname_size() const {
1205 : return _internal_partsbyname_size();
1206 : }
1207 31 : inline const ::google::protobuf::Map<::std::string, ::Odb::Lib::Protobuf::ProductModel::Part>& Design::_internal_partsbyname() const {
1208 31 : ::google::protobuf::internal::TSanRead(&_impl_);
1209 31 : return _impl_.partsbyname_.GetMap();
1210 : }
1211 5 : inline const ::google::protobuf::Map<::std::string, ::Odb::Lib::Protobuf::ProductModel::Part>& Design::partsbyname() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
1212 : // @@protoc_insertion_point(field_map:Odb.Lib.Protobuf.ProductModel.Design.partsByName)
1213 5 : return _internal_partsbyname();
1214 : }
1215 295 : inline ::google::protobuf::Map<::std::string, ::Odb::Lib::Protobuf::ProductModel::Part>* PROTOBUF_NONNULL Design::_internal_mutable_partsbyname() {
1216 295 : ::google::protobuf::internal::TSanWrite(&_impl_);
1217 295 : return _impl_.partsbyname_.MutableMap();
1218 : }
1219 295 : inline ::google::protobuf::Map<::std::string, ::Odb::Lib::Protobuf::ProductModel::Part>* PROTOBUF_NONNULL Design::mutable_partsbyname()
1220 : ABSL_ATTRIBUTE_LIFETIME_BOUND {
1221 295 : SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000800U);
1222 : // @@protoc_insertion_point(field_mutable_map:Odb.Lib.Protobuf.ProductModel.Design.partsByName)
1223 295 : return _internal_mutable_partsbyname();
1224 : }
1225 :
1226 : // optional .Odb.Lib.Protobuf.ProductModel.Connectivity connectivity = 12;
1227 8 : inline bool Design::has_connectivity() const {
1228 8 : bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000080U);
1229 8 : PROTOBUF_ASSUME(!value || _impl_.connectivity_ != nullptr);
1230 8 : return value;
1231 : }
1232 8 : inline const ::Odb::Lib::Protobuf::ProductModel::Connectivity& Design::_internal_connectivity() const {
1233 8 : ::google::protobuf::internal::TSanRead(&_impl_);
1234 8 : const ::Odb::Lib::Protobuf::ProductModel::Connectivity* p = _impl_.connectivity_;
1235 8 : return p != nullptr ? *p : reinterpret_cast<const ::Odb::Lib::Protobuf::ProductModel::Connectivity&>(::Odb::Lib::Protobuf::ProductModel::_Connectivity_default_instance_);
1236 : }
1237 8 : inline const ::Odb::Lib::Protobuf::ProductModel::Connectivity& Design::connectivity() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
1238 : // @@protoc_insertion_point(field_get:Odb.Lib.Protobuf.ProductModel.Design.connectivity)
1239 8 : return _internal_connectivity();
1240 : }
1241 : inline void Design::unsafe_arena_set_allocated_connectivity(
1242 : ::Odb::Lib::Protobuf::ProductModel::Connectivity* PROTOBUF_NULLABLE value) {
1243 : ::google::protobuf::internal::TSanWrite(&_impl_);
1244 : if (GetArena() == nullptr) {
1245 : delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.connectivity_);
1246 : }
1247 : _impl_.connectivity_ = reinterpret_cast<::Odb::Lib::Protobuf::ProductModel::Connectivity*>(value);
1248 : if (value != nullptr) {
1249 : SetHasBit(_impl_._has_bits_[0], 0x00000080U);
1250 : } else {
1251 : ClearHasBit(_impl_._has_bits_[0], 0x00000080U);
1252 : }
1253 : // @@protoc_insertion_point(field_unsafe_arena_set_allocated:Odb.Lib.Protobuf.ProductModel.Design.connectivity)
1254 : }
1255 : inline ::Odb::Lib::Protobuf::ProductModel::Connectivity* PROTOBUF_NULLABLE Design::release_connectivity() {
1256 : ::google::protobuf::internal::TSanWrite(&_impl_);
1257 :
1258 : ClearHasBit(_impl_._has_bits_[0], 0x00000080U);
1259 : ::Odb::Lib::Protobuf::ProductModel::Connectivity* released = _impl_.connectivity_;
1260 : _impl_.connectivity_ = nullptr;
1261 : if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
1262 : auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
1263 : released = ::google::protobuf::internal::DuplicateIfNonNull(released);
1264 : if (GetArena() == nullptr) {
1265 : delete old;
1266 : }
1267 : } else {
1268 : if (GetArena() != nullptr) {
1269 : released = ::google::protobuf::internal::DuplicateIfNonNull(released);
1270 : }
1271 : }
1272 : return released;
1273 : }
1274 : inline ::Odb::Lib::Protobuf::ProductModel::Connectivity* PROTOBUF_NULLABLE Design::unsafe_arena_release_connectivity() {
1275 : ::google::protobuf::internal::TSanWrite(&_impl_);
1276 : // @@protoc_insertion_point(field_release:Odb.Lib.Protobuf.ProductModel.Design.connectivity)
1277 :
1278 : ClearHasBit(_impl_._has_bits_[0], 0x00000080U);
1279 : ::Odb::Lib::Protobuf::ProductModel::Connectivity* temp = _impl_.connectivity_;
1280 : _impl_.connectivity_ = nullptr;
1281 : return temp;
1282 : }
1283 141 : inline ::Odb::Lib::Protobuf::ProductModel::Connectivity* PROTOBUF_NONNULL Design::_internal_mutable_connectivity() {
1284 141 : ::google::protobuf::internal::TSanWrite(&_impl_);
1285 141 : if (_impl_.connectivity_ == nullptr) {
1286 96 : auto* p = ::google::protobuf::Message::DefaultConstruct<::Odb::Lib::Protobuf::ProductModel::Connectivity>(GetArena());
1287 96 : _impl_.connectivity_ = reinterpret_cast<::Odb::Lib::Protobuf::ProductModel::Connectivity*>(p);
1288 : }
1289 141 : return _impl_.connectivity_;
1290 : }
1291 141 : inline ::Odb::Lib::Protobuf::ProductModel::Connectivity* PROTOBUF_NONNULL Design::mutable_connectivity()
1292 : ABSL_ATTRIBUTE_LIFETIME_BOUND {
1293 141 : SetHasBit(_impl_._has_bits_[0], 0x00000080U);
1294 141 : ::Odb::Lib::Protobuf::ProductModel::Connectivity* _msg = _internal_mutable_connectivity();
1295 : // @@protoc_insertion_point(field_mutable:Odb.Lib.Protobuf.ProductModel.Design.connectivity)
1296 141 : return _msg;
1297 : }
1298 : inline void Design::set_allocated_connectivity(::Odb::Lib::Protobuf::ProductModel::Connectivity* PROTOBUF_NULLABLE value) {
1299 : ::google::protobuf::Arena* message_arena = GetArena();
1300 : ::google::protobuf::internal::TSanWrite(&_impl_);
1301 : if (message_arena == nullptr) {
1302 : delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.connectivity_);
1303 : }
1304 :
1305 : if (value != nullptr) {
1306 : ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::Message*>(value)->GetArena();
1307 : if (message_arena != submessage_arena) {
1308 : value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
1309 : }
1310 : SetHasBit(_impl_._has_bits_[0], 0x00000080U);
1311 : } else {
1312 : ClearHasBit(_impl_._has_bits_[0], 0x00000080U);
1313 : }
1314 :
1315 : _impl_.connectivity_ = reinterpret_cast<::Odb::Lib::Protobuf::ProductModel::Connectivity*>(value);
1316 : // @@protoc_insertion_point(field_set_allocated:Odb.Lib.Protobuf.ProductModel.Design.connectivity)
1317 : }
1318 :
1319 : #ifdef __GNUC__
1320 : #pragma GCC diagnostic pop
1321 : #endif // __GNUC__
1322 :
1323 : // @@protoc_insertion_point(namespace_scope)
1324 : } // namespace ProductModel
1325 : } // namespace Protobuf
1326 : } // namespace Lib
1327 : } // namespace Odb
1328 :
1329 :
1330 : // @@protoc_insertion_point(global_scope)
1331 :
1332 : #include "google/protobuf/port_undef.inc"
1333 :
1334 : #endif // design_2eproto_2epb_2eh
|