LCOV - code coverage report
Current view: top level - out/build/linux-debug/OdbDesignLib - package.pb.h (source / functions) Coverage Total Hit
Test: OdbDesign Test Coverage Lines: 98.4 % 63 62
Test Date: 2026-11-19 04:56:22 Functions: 95.5 % 22 21
Legend: Lines: hit not hit

            Line data    Source code
       1              : // Generated by the protocol buffer compiler.  DO NOT EDIT!
       2              : // NO CHECKED-IN PROTOBUF GENCODE
       3              : // source: package.proto
       4              : // Protobuf C++ Version: 6.33.4
       5              : 
       6              : #ifndef package_2eproto_2epb_2eh
       7              : #define package_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 "pin.pb.h"
      37              : // @@protoc_insertion_point(includes)
      38              : 
      39              : // Must be included last.
      40              : #include "google/protobuf/port_def.inc"
      41              : 
      42              : #define PROTOBUF_INTERNAL_EXPORT_package_2eproto ODBDESIGN_EXPORT
      43              : 
      44              : namespace google {
      45              : namespace protobuf {
      46              : namespace internal {
      47              : template <typename T>
      48              : ::absl::string_view GetAnyMessageName();
      49              : }  // namespace internal
      50              : }  // namespace protobuf
      51              : }  // namespace google
      52              : 
      53              : // Internal implementation detail -- do not use these members.
      54              : struct ODBDESIGN_EXPORT TableStruct_package_2eproto {
      55              :   static const ::uint32_t offsets[];
      56              : };
      57              : extern "C" {
      58              : ODBDESIGN_EXPORT extern const ::google::protobuf::internal::DescriptorTable descriptor_table_package_2eproto;
      59              : }  // extern "C"
      60              : namespace Odb {
      61              : namespace Lib {
      62              : namespace Protobuf {
      63              : namespace ProductModel {
      64              : class Package;
      65              : struct PackageDefaultTypeInternal;
      66              : ODBDESIGN_EXPORT extern PackageDefaultTypeInternal _Package_default_instance_;
      67              : ODBDESIGN_EXPORT extern const ::google::protobuf::internal::ClassDataFull Package_class_data_;
      68              : class Package_PinsByNameEntry_DoNotUse;
      69              : struct Package_PinsByNameEntry_DoNotUseDefaultTypeInternal;
      70              : ODBDESIGN_EXPORT extern Package_PinsByNameEntry_DoNotUseDefaultTypeInternal _Package_PinsByNameEntry_DoNotUse_default_instance_;
      71              : ODBDESIGN_EXPORT extern const ::google::protobuf::internal::ClassDataFull Package_PinsByNameEntry_DoNotUse_class_data_;
      72              : }  // namespace ProductModel
      73              : }  // namespace Protobuf
      74              : }  // namespace Lib
      75              : }  // namespace Odb
      76              : namespace google {
      77              : namespace protobuf {
      78              : }  // namespace protobuf
      79              : }  // namespace google
      80              : 
      81              : namespace Odb {
      82              : namespace Lib {
      83              : namespace Protobuf {
      84              : namespace ProductModel {
      85              : 
      86              : // ===================================================================
      87              : 
      88              : 
      89              : // -------------------------------------------------------------------
      90              : 
      91              : class Package_PinsByNameEntry_DoNotUse final
      92              :     : public ::google::protobuf::internal::MapEntry<::std::string, ::google::protobuf::Message,
      93              :                              ::google::protobuf::internal::WireFormatLite::TYPE_STRING,
      94              :                              ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE> {
      95              :  public:
      96              :   using SuperType =
      97              :       ::google::protobuf::internal::MapEntry<::std::string, ::google::protobuf::Message,
      98              :                       ::google::protobuf::internal::WireFormatLite::TYPE_STRING,
      99              :                       ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE>;
     100              :   Package_PinsByNameEntry_DoNotUse();
     101              :   template <typename = void>
     102              :   explicit PROTOBUF_CONSTEXPR Package_PinsByNameEntry_DoNotUse(::google::protobuf::internal::ConstantInitialized);
     103              :   explicit Package_PinsByNameEntry_DoNotUse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
     104       427649 :   static constexpr const void* PROTOBUF_NONNULL internal_default_instance() {
     105       427649 :     return &_Package_PinsByNameEntry_DoNotUse_default_instance_;
     106              :   }
     107              : 
     108              : 
     109              :   static constexpr auto InternalGenerateClassData_();
     110              : 
     111              :  private:
     112              :   friend class ::google::protobuf::MessageLite;
     113              :   friend struct ::TableStruct_package_2eproto;
     114              : 
     115              :   friend class ::google::protobuf::internal::TcParser;
     116              :   static const ::google::protobuf::internal::TcParseTable<1, 2,
     117              :                                    1, 65,
     118              :                                    2>
     119              :       _table_;
     120              : 
     121              :   const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
     122              :   static void* PROTOBUF_NONNULL PlacementNew_(
     123              :       const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
     124              :       ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
     125              :   static constexpr auto InternalNewImpl_();
     126              : };
     127              : ODBDESIGN_EXPORT extern const ::google::protobuf::internal::ClassDataFull Package_PinsByNameEntry_DoNotUse_class_data_;
     128              : // -------------------------------------------------------------------
     129              : 
     130              : class ODBDESIGN_EXPORT Package final : public ::google::protobuf::Message
     131              : /* @@protoc_insertion_point(class_definition:Odb.Lib.Protobuf.ProductModel.Package) */ {
     132              :  public:
     133        81036 :   inline Package() : Package(nullptr) {}
     134              :   ~Package() PROTOBUF_FINAL;
     135              : 
     136              : #if defined(PROTOBUF_CUSTOM_VTABLE)
     137              :   void operator delete(Package* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
     138              :     SharedDtor(*msg);
     139              :     ::google::protobuf::internal::SizedDelete(msg, sizeof(Package));
     140              :   }
     141              : #endif
     142              : 
     143              :   template <typename = void>
     144              :   explicit PROTOBUF_CONSTEXPR Package(::google::protobuf::internal::ConstantInitialized);
     145              : 
     146            0 :   inline Package(const Package& from) : Package(nullptr, from) {}
     147              :   inline Package(Package&& from) noexcept
     148              :       : Package(nullptr, ::std::move(from)) {}
     149         1224 :   inline Package& operator=(const Package& from) {
     150         1224 :     CopyFrom(from);
     151         1224 :     return *this;
     152              :   }
     153              :   inline Package& operator=(Package&& from) noexcept {
     154              :     if (this == &from) return *this;
     155              :     if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
     156              :       InternalSwap(&from);
     157              :     } else {
     158              :       CopyFrom(from);
     159              :     }
     160              :     return *this;
     161              :   }
     162              : 
     163              :   inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
     164              :       ABSL_ATTRIBUTE_LIFETIME_BOUND {
     165              :     return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
     166              :   }
     167              :   inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
     168              :       ABSL_ATTRIBUTE_LIFETIME_BOUND {
     169              :     return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
     170              :   }
     171              : 
     172              :   static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
     173              :     return GetDescriptor();
     174              :   }
     175              :   static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
     176              :     return default_instance().GetMetadata().descriptor;
     177              :   }
     178              :   static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
     179              :     return default_instance().GetMetadata().reflection;
     180              :   }
     181              :   static const Package& default_instance() {
     182              :     return *reinterpret_cast<const Package*>(
     183              :         &_Package_default_instance_);
     184              :   }
     185              :   static constexpr int kIndexInFileMessages = 1;
     186              :   friend void swap(Package& a, Package& b) { a.Swap(&b); }
     187              :   inline void Swap(Package* PROTOBUF_NONNULL other) {
     188              :     if (other == this) return;
     189              :     if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
     190              :       InternalSwap(other);
     191              :     } else {
     192              :       ::google::protobuf::internal::GenericSwap(this, other);
     193              :     }
     194              :   }
     195              :   void UnsafeArenaSwap(Package* PROTOBUF_NONNULL other) {
     196              :     if (other == this) return;
     197              :     ABSL_DCHECK(GetArena() == other->GetArena());
     198              :     InternalSwap(other);
     199              :   }
     200              : 
     201              :   // implements Message ----------------------------------------------
     202              : 
     203              :   Package* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
     204              :     return ::google::protobuf::Message::DefaultConstruct<Package>(arena);
     205              :   }
     206              :   using ::google::protobuf::Message::CopyFrom;
     207              :   void CopyFrom(const Package& from);
     208              :   using ::google::protobuf::Message::MergeFrom;
     209        80167 :   void MergeFrom(const Package& from) { Package::MergeImpl(*this, from); }
     210              : 
     211              :   private:
     212              :   static void MergeImpl(::google::protobuf::MessageLite& to_msg,
     213              :                         const ::google::protobuf::MessageLite& from_msg);
     214              : 
     215              :   public:
     216              :   bool IsInitialized() const {
     217              :     return true;
     218              :   }
     219              :   ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
     220              :   #if defined(PROTOBUF_CUSTOM_VTABLE)
     221              :   private:
     222              :   static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
     223              :   static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
     224              :       const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
     225              :       ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
     226              : 
     227              :   public:
     228              :   ::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
     229              :   ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
     230              :       ::uint8_t* PROTOBUF_NONNULL target,
     231              :       ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
     232              :     return _InternalSerialize(*this, target, stream);
     233              :   }
     234              :   #else   // PROTOBUF_CUSTOM_VTABLE
     235              :   ::size_t ByteSizeLong() const final;
     236              :   ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
     237              :       ::uint8_t* PROTOBUF_NONNULL target,
     238              :       ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
     239              :   #endif  // PROTOBUF_CUSTOM_VTABLE
     240        44766 :   int GetCachedSize() const { return _impl_._cached_size_.Get(); }
     241              : 
     242              :   private:
     243              :   void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
     244              :   static void SharedDtor(MessageLite& self);
     245              :   void InternalSwap(Package* PROTOBUF_NONNULL other);
     246              :  private:
     247              :   template <typename T>
     248              :   friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
     249              :   static ::absl::string_view FullMessageName() { return "Odb.Lib.Protobuf.ProductModel.Package"; }
     250              : 
     251              :   explicit Package(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
     252              :   Package(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Package& from);
     253              :   Package(
     254              :       ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, Package&& from) noexcept
     255              :       : Package(arena) {
     256              :     *this = ::std::move(from);
     257              :   }
     258              :   const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
     259              :   static void* PROTOBUF_NONNULL PlacementNew_(
     260              :       const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
     261              :       ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
     262              :   static constexpr auto InternalNewImpl_();
     263              : 
     264              :  public:
     265              :   static constexpr auto InternalGenerateClassData_();
     266              : 
     267              :   ::google::protobuf::Metadata GetMetadata() const;
     268              :   // nested types ----------------------------------------------------
     269              : 
     270              :   // accessors -------------------------------------------------------
     271              :   enum : int {
     272              :     kPinsFieldNumber = 2,
     273              :     kNameFieldNumber = 1,
     274              :     kIndexFieldNumber = 4,
     275              :     kPinsByNameFieldNumber = 3,
     276              :   };
     277              :   // repeated .Odb.Lib.Protobuf.ProductModel.Pin pins = 2;
     278              :   int pins_size() const;
     279              :   private:
     280              :   int _internal_pins_size() const;
     281              : 
     282              :   public:
     283              :   void clear_pins() ;
     284              :   ::Odb::Lib::Protobuf::ProductModel::Pin* PROTOBUF_NONNULL mutable_pins(int index);
     285              :   ::google::protobuf::RepeatedPtrField<::Odb::Lib::Protobuf::ProductModel::Pin>* PROTOBUF_NONNULL mutable_pins();
     286              : 
     287              :   private:
     288              :   const ::google::protobuf::RepeatedPtrField<::Odb::Lib::Protobuf::ProductModel::Pin>& _internal_pins() const;
     289              :   ::google::protobuf::RepeatedPtrField<::Odb::Lib::Protobuf::ProductModel::Pin>* PROTOBUF_NONNULL _internal_mutable_pins();
     290              :   public:
     291              :   const ::Odb::Lib::Protobuf::ProductModel::Pin& pins(int index) const;
     292              :   ::Odb::Lib::Protobuf::ProductModel::Pin* PROTOBUF_NONNULL add_pins();
     293              :   const ::google::protobuf::RepeatedPtrField<::Odb::Lib::Protobuf::ProductModel::Pin>& pins() const;
     294              :   // optional string name = 1;
     295              :   bool has_name() const;
     296              :   void clear_name() ;
     297              :   const ::std::string& name() const;
     298              :   template <typename Arg_ = const ::std::string&, typename... Args_>
     299              :   void set_name(Arg_&& arg, Args_... args);
     300              :   ::std::string* PROTOBUF_NONNULL mutable_name();
     301              :   [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_name();
     302              :   void set_allocated_name(::std::string* PROTOBUF_NULLABLE value);
     303              : 
     304              :   private:
     305              :   const ::std::string& _internal_name() const;
     306              :   PROTOBUF_ALWAYS_INLINE void _internal_set_name(const ::std::string& value);
     307              :   ::std::string* PROTOBUF_NONNULL _internal_mutable_name();
     308              : 
     309              :   public:
     310              :   // optional uint32 index = 4;
     311              :   bool has_index() const;
     312              :   void clear_index() ;
     313              :   ::uint32_t index() const;
     314              :   void set_index(::uint32_t value);
     315              : 
     316              :   private:
     317              :   ::uint32_t _internal_index() const;
     318              :   void _internal_set_index(::uint32_t value);
     319              : 
     320              :   public:
     321              :   // map<string, .Odb.Lib.Protobuf.ProductModel.Pin> pinsByName = 3;
     322              :   int pinsbyname_size() const;
     323              :   private:
     324              :   int _internal_pinsbyname_size() const;
     325              : 
     326              :   public:
     327              :   void clear_pinsbyname() ;
     328              :   const ::google::protobuf::Map<::std::string, ::Odb::Lib::Protobuf::ProductModel::Pin>& pinsbyname() const;
     329              :   ::google::protobuf::Map<::std::string, ::Odb::Lib::Protobuf::ProductModel::Pin>* PROTOBUF_NONNULL mutable_pinsbyname();
     330              : 
     331              :   private:
     332              :   const ::google::protobuf::Map<::std::string, ::Odb::Lib::Protobuf::ProductModel::Pin>& _internal_pinsbyname() const;
     333              :   ::google::protobuf::Map<::std::string, ::Odb::Lib::Protobuf::ProductModel::Pin>* PROTOBUF_NONNULL _internal_mutable_pinsbyname();
     334              : 
     335              :   public:
     336              :   // @@protoc_insertion_point(class_scope:Odb.Lib.Protobuf.ProductModel.Package)
     337              :  private:
     338              :   class _Internal;
     339              :   friend class ::google::protobuf::internal::TcParser;
     340              :   static const ::google::protobuf::internal::TcParseTable<2, 4,
     341              :                                    3, 60,
     342              :                                    2>
     343              :       _table_;
     344              : 
     345              :   friend class ::google::protobuf::MessageLite;
     346              :   friend class ::google::protobuf::Arena;
     347              :   template <typename T>
     348              :   friend class ::google::protobuf::Arena::InternalHelper;
     349              :   using InternalArenaConstructable_ = void;
     350              :   using DestructorSkippable_ = void;
     351              :   struct Impl_ {
     352              :     inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
     353              :     inline explicit Impl_(
     354              :         ::google::protobuf::internal::InternalVisibility visibility,
     355              :         ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
     356              :     inline explicit Impl_(
     357              :         ::google::protobuf::internal::InternalVisibility visibility,
     358              :         ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
     359              :         const Package& from_msg);
     360              :     ::google::protobuf::internal::HasBits<1> _has_bits_;
     361              :     ::google::protobuf::internal::CachedSize _cached_size_;
     362              :     ::google::protobuf::RepeatedPtrField< ::Odb::Lib::Protobuf::ProductModel::Pin > pins_;
     363              :     ::google::protobuf::internal::ArenaStringPtr name_;
     364              :     ::uint32_t index_;
     365              :     ::google::protobuf::internal::MapField<Package_PinsByNameEntry_DoNotUse, ::std::string, ::Odb::Lib::Protobuf::ProductModel::Pin,
     366              :                       ::google::protobuf::internal::WireFormatLite::TYPE_STRING,
     367              :                       ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE>
     368              :         pinsbyname_;
     369              :     PROTOBUF_TSAN_DECLARE_MEMBER
     370              :   };
     371              :   union { Impl_ _impl_; };
     372              :   friend struct ::TableStruct_package_2eproto;
     373              : };
     374              : 
     375              : ODBDESIGN_EXPORT extern const ::google::protobuf::internal::ClassDataFull Package_class_data_;
     376              : 
     377              : // ===================================================================
     378              : 
     379              : 
     380              : 
     381              : 
     382              : // ===================================================================
     383              : 
     384              : 
     385              : #ifdef __GNUC__
     386              : #pragma GCC diagnostic push
     387              : #pragma GCC diagnostic ignored "-Wstrict-aliasing"
     388              : #endif  // __GNUC__
     389              : // -------------------------------------------------------------------
     390              : 
     391              : // -------------------------------------------------------------------
     392              : 
     393              : // Package
     394              : 
     395              : // optional string name = 1;
     396              : inline bool Package::has_name() const {
     397              :   bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000002U);
     398              :   return value;
     399              : }
     400              : inline void Package::clear_name() {
     401              :   ::google::protobuf::internal::TSanWrite(&_impl_);
     402              :   _impl_.name_.ClearToEmpty();
     403              :   ClearHasBit(_impl_._has_bits_[0],
     404              :                   0x00000002U);
     405              : }
     406        21432 : inline const ::std::string& Package::name() const
     407              :     ABSL_ATTRIBUTE_LIFETIME_BOUND {
     408              :   // @@protoc_insertion_point(field_get:Odb.Lib.Protobuf.ProductModel.Package.name)
     409        21432 :   return _internal_name();
     410              : }
     411              : template <typename Arg_, typename... Args_>
     412              : PROTOBUF_ALWAYS_INLINE void Package::set_name(Arg_&& arg, Args_... args) {
     413        79812 :   ::google::protobuf::internal::TSanWrite(&_impl_);
     414        79812 :   SetHasBit(_impl_._has_bits_[0], 0x00000002U);
     415        79812 :   _impl_.name_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
     416              :   // @@protoc_insertion_point(field_set:Odb.Lib.Protobuf.ProductModel.Package.name)
     417        79812 : }
     418              : inline ::std::string* PROTOBUF_NONNULL Package::mutable_name()
     419              :     ABSL_ATTRIBUTE_LIFETIME_BOUND {
     420              :   SetHasBit(_impl_._has_bits_[0], 0x00000002U);
     421              :   ::std::string* _s = _internal_mutable_name();
     422              :   // @@protoc_insertion_point(field_mutable:Odb.Lib.Protobuf.ProductModel.Package.name)
     423              :   return _s;
     424              : }
     425       227358 : inline const ::std::string& Package::_internal_name() const {
     426       227358 :   ::google::protobuf::internal::TSanRead(&_impl_);
     427       227358 :   return _impl_.name_.Get();
     428              : }
     429              : inline void Package::_internal_set_name(const ::std::string& value) {
     430        81036 :   ::google::protobuf::internal::TSanWrite(&_impl_);
     431        81036 :   _impl_.name_.Set(value, GetArena());
     432        81036 : }
     433              : inline ::std::string* PROTOBUF_NONNULL Package::_internal_mutable_name() {
     434              :   ::google::protobuf::internal::TSanWrite(&_impl_);
     435              :   return _impl_.name_.Mutable( GetArena());
     436              : }
     437              : inline ::std::string* PROTOBUF_NULLABLE Package::release_name() {
     438              :   ::google::protobuf::internal::TSanWrite(&_impl_);
     439              :   // @@protoc_insertion_point(field_release:Odb.Lib.Protobuf.ProductModel.Package.name)
     440              :   if (!CheckHasBit(_impl_._has_bits_[0], 0x00000002U)) {
     441              :     return nullptr;
     442              :   }
     443              :   ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
     444              :   auto* released = _impl_.name_.Release();
     445              :   if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
     446              :     _impl_.name_.Set("", GetArena());
     447              :   }
     448              :   return released;
     449              : }
     450              : inline void Package::set_allocated_name(::std::string* PROTOBUF_NULLABLE value) {
     451              :   ::google::protobuf::internal::TSanWrite(&_impl_);
     452              :   if (value != nullptr) {
     453              :     SetHasBit(_impl_._has_bits_[0], 0x00000002U);
     454              :   } else {
     455              :     ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
     456              :   }
     457              :   _impl_.name_.SetAllocated(value, GetArena());
     458              :   if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.name_.IsDefault()) {
     459              :     _impl_.name_.Set("", GetArena());
     460              :   }
     461              :   // @@protoc_insertion_point(field_set_allocated:Odb.Lib.Protobuf.ProductModel.Package.name)
     462              : }
     463              : 
     464              : // repeated .Odb.Lib.Protobuf.ProductModel.Pin pins = 2;
     465       124666 : inline int Package::_internal_pins_size() const {
     466       124666 :   return _internal_pins().size();
     467              : }
     468              : inline int Package::pins_size() const {
     469              :   return _internal_pins_size();
     470              : }
     471              : inline ::Odb::Lib::Protobuf::ProductModel::Pin* PROTOBUF_NONNULL Package::mutable_pins(int index)
     472              :     ABSL_ATTRIBUTE_LIFETIME_BOUND {
     473              :   // @@protoc_insertion_point(field_mutable:Odb.Lib.Protobuf.ProductModel.Package.pins)
     474              :   return _internal_mutable_pins()->Mutable(index);
     475              : }
     476              : inline ::google::protobuf::RepeatedPtrField<::Odb::Lib::Protobuf::ProductModel::Pin>* PROTOBUF_NONNULL Package::mutable_pins()
     477              :     ABSL_ATTRIBUTE_LIFETIME_BOUND {
     478              :   SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000001U);
     479              :   // @@protoc_insertion_point(field_mutable_list:Odb.Lib.Protobuf.ProductModel.Package.pins)
     480              :   ::google::protobuf::internal::TSanWrite(&_impl_);
     481              :   return _internal_mutable_pins();
     482              : }
     483              : inline const ::Odb::Lib::Protobuf::ProductModel::Pin& Package::pins(int index) const
     484              :     ABSL_ATTRIBUTE_LIFETIME_BOUND {
     485              :   // @@protoc_insertion_point(field_get:Odb.Lib.Protobuf.ProductModel.Package.pins)
     486              :   return _internal_pins().Get(index);
     487              : }
     488      2760914 : inline ::Odb::Lib::Protobuf::ProductModel::Pin* PROTOBUF_NONNULL Package::add_pins()
     489              :     ABSL_ATTRIBUTE_LIFETIME_BOUND {
     490      2760914 :   ::google::protobuf::internal::TSanWrite(&_impl_);
     491              :   ::Odb::Lib::Protobuf::ProductModel::Pin* _add =
     492      5521828 :       _internal_mutable_pins()->InternalAddWithArena(
     493      2760914 :           ::google::protobuf::MessageLite::internal_visibility(), GetArena());
     494      2760914 :   SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000001U);
     495              :   // @@protoc_insertion_point(field_add:Odb.Lib.Protobuf.ProductModel.Package.pins)
     496      2760914 :   return _add;
     497              : }
     498        21432 : inline const ::google::protobuf::RepeatedPtrField<::Odb::Lib::Protobuf::ProductModel::Pin>& Package::pins() const
     499              :     ABSL_ATTRIBUTE_LIFETIME_BOUND {
     500              :   // @@protoc_insertion_point(field_list:Odb.Lib.Protobuf.ProductModel.Package.pins)
     501        21432 :   return _internal_pins();
     502              : }
     503              : inline const ::google::protobuf::RepeatedPtrField<::Odb::Lib::Protobuf::ProductModel::Pin>&
     504      1445426 : Package::_internal_pins() const {
     505      1445426 :   ::google::protobuf::internal::TSanRead(&_impl_);
     506      1445426 :   return _impl_.pins_;
     507              : }
     508              : inline ::google::protobuf::RepeatedPtrField<::Odb::Lib::Protobuf::ProductModel::Pin>* PROTOBUF_NONNULL
     509      2841812 : Package::_internal_mutable_pins() {
     510      2841812 :   ::google::protobuf::internal::TSanRead(&_impl_);
     511      2841812 :   return &_impl_.pins_;
     512              : }
     513              : 
     514              : // map<string, .Odb.Lib.Protobuf.ProductModel.Pin> pinsByName = 3;
     515        80522 : inline int Package::_internal_pinsbyname_size() const {
     516        80522 :   return _internal_pinsbyname().size();
     517              : }
     518              : inline int Package::pinsbyname_size() const {
     519              :   return _internal_pinsbyname_size();
     520              : }
     521       271044 : inline const ::google::protobuf::Map<::std::string, ::Odb::Lib::Protobuf::ProductModel::Pin>& Package::_internal_pinsbyname() const {
     522       271044 :   ::google::protobuf::internal::TSanRead(&_impl_);
     523       271044 :   return _impl_.pinsbyname_.GetMap();
     524              : }
     525        21432 : inline const ::google::protobuf::Map<::std::string, ::Odb::Lib::Protobuf::ProductModel::Pin>& Package::pinsbyname() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
     526              :   // @@protoc_insertion_point(field_map:Odb.Lib.Protobuf.ProductModel.Package.pinsByName)
     527        21432 :   return _internal_pinsbyname();
     528              : }
     529        79812 : inline ::google::protobuf::Map<::std::string, ::Odb::Lib::Protobuf::ProductModel::Pin>* PROTOBUF_NONNULL Package::_internal_mutable_pinsbyname() {
     530        79812 :   ::google::protobuf::internal::TSanWrite(&_impl_);
     531        79812 :   return _impl_.pinsbyname_.MutableMap();
     532              : }
     533        79812 : inline ::google::protobuf::Map<::std::string, ::Odb::Lib::Protobuf::ProductModel::Pin>* PROTOBUF_NONNULL Package::mutable_pinsbyname()
     534              :     ABSL_ATTRIBUTE_LIFETIME_BOUND {
     535        79812 :   SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000008U);
     536              :   // @@protoc_insertion_point(field_mutable_map:Odb.Lib.Protobuf.ProductModel.Package.pinsByName)
     537        79812 :   return _internal_mutable_pinsbyname();
     538              : }
     539              : 
     540              : // optional uint32 index = 4;
     541              : inline bool Package::has_index() const {
     542              :   bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000004U);
     543              :   return value;
     544              : }
     545              : inline void Package::clear_index() {
     546              :   ::google::protobuf::internal::TSanWrite(&_impl_);
     547              :   _impl_.index_ = 0u;
     548              :   ClearHasBit(_impl_._has_bits_[0],
     549              :                   0x00000004U);
     550              : }
     551        21432 : inline ::uint32_t Package::index() const {
     552              :   // @@protoc_insertion_point(field_get:Odb.Lib.Protobuf.ProductModel.Package.index)
     553        21432 :   return _internal_index();
     554              : }
     555        79812 : inline void Package::set_index(::uint32_t value) {
     556        79812 :   _internal_set_index(value);
     557        79812 :   SetHasBit(_impl_._has_bits_[0], 0x00000004U);
     558              :   // @@protoc_insertion_point(field_set:Odb.Lib.Protobuf.ProductModel.Package.index)
     559        79812 : }
     560       146322 : inline ::uint32_t Package::_internal_index() const {
     561       146322 :   ::google::protobuf::internal::TSanRead(&_impl_);
     562       146322 :   return _impl_.index_;
     563              : }
     564        79812 : inline void Package::_internal_set_index(::uint32_t value) {
     565        79812 :   ::google::protobuf::internal::TSanWrite(&_impl_);
     566        79812 :   _impl_.index_ = value;
     567        79812 : }
     568              : 
     569              : #ifdef __GNUC__
     570              : #pragma GCC diagnostic pop
     571              : #endif  // __GNUC__
     572              : 
     573              : // @@protoc_insertion_point(namespace_scope)
     574              : }  // namespace ProductModel
     575              : }  // namespace Protobuf
     576              : }  // namespace Lib
     577              : }  // namespace Odb
     578              : 
     579              : 
     580              : // @@protoc_insertion_point(global_scope)
     581              : 
     582              : #include "google/protobuf/port_undef.inc"
     583              : 
     584              : #endif  // package_2eproto_2epb_2eh
        

Generated by: LCOV version 2.0-1