LCOV - code coverage report
Current view: top level - out/build/linux-debug/OdbDesignLib - via.pb.h (source / functions) Coverage Total Hit
Test: OdbDesign Test Coverage Lines: 0.0 % 27 0
Test Date: 2026-11-19 04:56:22 Functions: 0.0 % 8 0
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: via.proto
       4              : // Protobuf C++ Version: 6.33.4
       5              : 
       6              : #ifndef via_2eproto_2epb_2eh
       7              : #define via_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/unknown_field_set.h"
      32              : #include "enums.pb.h"
      33              : // @@protoc_insertion_point(includes)
      34              : 
      35              : // Must be included last.
      36              : #include "google/protobuf/port_def.inc"
      37              : 
      38              : #define PROTOBUF_INTERNAL_EXPORT_via_2eproto ODBDESIGN_EXPORT
      39              : 
      40              : namespace google {
      41              : namespace protobuf {
      42              : namespace internal {
      43              : template <typename T>
      44              : ::absl::string_view GetAnyMessageName();
      45              : }  // namespace internal
      46              : }  // namespace protobuf
      47              : }  // namespace google
      48              : 
      49              : // Internal implementation detail -- do not use these members.
      50              : struct ODBDESIGN_EXPORT TableStruct_via_2eproto {
      51              :   static const ::uint32_t offsets[];
      52              : };
      53              : extern "C" {
      54              : ODBDESIGN_EXPORT extern const ::google::protobuf::internal::DescriptorTable descriptor_table_via_2eproto;
      55              : }  // extern "C"
      56              : namespace Odb {
      57              : namespace Lib {
      58              : namespace Protobuf {
      59              : namespace ProductModel {
      60              : class Via;
      61              : struct ViaDefaultTypeInternal;
      62              : ODBDESIGN_EXPORT extern ViaDefaultTypeInternal _Via_default_instance_;
      63              : ODBDESIGN_EXPORT extern const ::google::protobuf::internal::ClassDataFull Via_class_data_;
      64              : }  // namespace ProductModel
      65              : }  // namespace Protobuf
      66              : }  // namespace Lib
      67              : }  // namespace Odb
      68              : namespace google {
      69              : namespace protobuf {
      70              : }  // namespace protobuf
      71              : }  // namespace google
      72              : 
      73              : namespace Odb {
      74              : namespace Lib {
      75              : namespace Protobuf {
      76              : namespace ProductModel {
      77              : 
      78              : // ===================================================================
      79              : 
      80              : 
      81              : // -------------------------------------------------------------------
      82              : 
      83              : class ODBDESIGN_EXPORT Via final : public ::google::protobuf::Message
      84              : /* @@protoc_insertion_point(class_definition:Odb.Lib.Protobuf.ProductModel.Via) */ {
      85              :  public:
      86            0 :   inline Via() : Via(nullptr) {}
      87              :   ~Via() PROTOBUF_FINAL;
      88              : 
      89              : #if defined(PROTOBUF_CUSTOM_VTABLE)
      90              :   void operator delete(Via* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
      91              :     SharedDtor(*msg);
      92              :     ::google::protobuf::internal::SizedDelete(msg, sizeof(Via));
      93              :   }
      94              : #endif
      95              : 
      96              :   template <typename = void>
      97              :   explicit PROTOBUF_CONSTEXPR Via(::google::protobuf::internal::ConstantInitialized);
      98              : 
      99              :   inline Via(const Via& from) : Via(nullptr, from) {}
     100              :   inline Via(Via&& from) noexcept
     101              :       : Via(nullptr, ::std::move(from)) {}
     102              :   inline Via& operator=(const Via& from) {
     103              :     CopyFrom(from);
     104              :     return *this;
     105              :   }
     106              :   inline Via& operator=(Via&& from) noexcept {
     107              :     if (this == &from) return *this;
     108              :     if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
     109              :       InternalSwap(&from);
     110              :     } else {
     111              :       CopyFrom(from);
     112              :     }
     113              :     return *this;
     114              :   }
     115              : 
     116              :   inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
     117              :       ABSL_ATTRIBUTE_LIFETIME_BOUND {
     118              :     return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
     119              :   }
     120              :   inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
     121              :       ABSL_ATTRIBUTE_LIFETIME_BOUND {
     122              :     return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
     123              :   }
     124              : 
     125              :   static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
     126              :     return GetDescriptor();
     127              :   }
     128              :   static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
     129              :     return default_instance().GetMetadata().descriptor;
     130              :   }
     131              :   static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
     132              :     return default_instance().GetMetadata().reflection;
     133              :   }
     134              :   static const Via& default_instance() {
     135              :     return *reinterpret_cast<const Via*>(
     136              :         &_Via_default_instance_);
     137              :   }
     138              :   static constexpr int kIndexInFileMessages = 0;
     139              :   friend void swap(Via& a, Via& b) { a.Swap(&b); }
     140              :   inline void Swap(Via* PROTOBUF_NONNULL other) {
     141              :     if (other == this) return;
     142              :     if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
     143              :       InternalSwap(other);
     144              :     } else {
     145              :       ::google::protobuf::internal::GenericSwap(this, other);
     146              :     }
     147              :   }
     148              :   void UnsafeArenaSwap(Via* PROTOBUF_NONNULL other) {
     149              :     if (other == this) return;
     150              :     ABSL_DCHECK(GetArena() == other->GetArena());
     151              :     InternalSwap(other);
     152              :   }
     153              : 
     154              :   // implements Message ----------------------------------------------
     155              : 
     156              :   Via* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
     157              :     return ::google::protobuf::Message::DefaultConstruct<Via>(arena);
     158              :   }
     159              :   using ::google::protobuf::Message::CopyFrom;
     160              :   void CopyFrom(const Via& from);
     161              :   using ::google::protobuf::Message::MergeFrom;
     162            0 :   void MergeFrom(const Via& from) { Via::MergeImpl(*this, from); }
     163              : 
     164              :   private:
     165              :   static void MergeImpl(::google::protobuf::MessageLite& to_msg,
     166              :                         const ::google::protobuf::MessageLite& from_msg);
     167              : 
     168              :   public:
     169              :   bool IsInitialized() const {
     170              :     return true;
     171              :   }
     172              :   ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
     173              :   #if defined(PROTOBUF_CUSTOM_VTABLE)
     174              :   private:
     175              :   static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
     176              :   static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
     177              :       const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
     178              :       ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
     179              : 
     180              :   public:
     181              :   ::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
     182              :   ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
     183              :       ::uint8_t* PROTOBUF_NONNULL target,
     184              :       ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
     185              :     return _InternalSerialize(*this, target, stream);
     186              :   }
     187              :   #else   // PROTOBUF_CUSTOM_VTABLE
     188              :   ::size_t ByteSizeLong() const final;
     189              :   ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
     190              :       ::uint8_t* PROTOBUF_NONNULL target,
     191              :       ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
     192              :   #endif  // PROTOBUF_CUSTOM_VTABLE
     193              :   int GetCachedSize() const { return _impl_._cached_size_.Get(); }
     194              : 
     195              :   private:
     196              :   void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
     197              :   static void SharedDtor(MessageLite& self);
     198              :   void InternalSwap(Via* PROTOBUF_NONNULL other);
     199              :  private:
     200              :   template <typename T>
     201              :   friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
     202              :   static ::absl::string_view FullMessageName() { return "Odb.Lib.Protobuf.ProductModel.Via"; }
     203              : 
     204              :   explicit Via(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
     205              :   Via(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Via& from);
     206              :   Via(
     207              :       ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, Via&& from) noexcept
     208              :       : Via(arena) {
     209              :     *this = ::std::move(from);
     210              :   }
     211              :   const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
     212              :   static void* PROTOBUF_NONNULL PlacementNew_(
     213              :       const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
     214              :       ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
     215              :   static constexpr auto InternalNewImpl_();
     216              : 
     217              :  public:
     218              :   static constexpr auto InternalGenerateClassData_();
     219              : 
     220              :   ::google::protobuf::Metadata GetMetadata() const;
     221              :   // nested types ----------------------------------------------------
     222              : 
     223              :   // accessors -------------------------------------------------------
     224              :   enum : int {
     225              :     kNameFieldNumber = 1,
     226              :     kBoardSideFieldNumber = 2,
     227              :   };
     228              :   // optional string name = 1;
     229              :   bool has_name() const;
     230              :   void clear_name() ;
     231              :   const ::std::string& name() const;
     232              :   template <typename Arg_ = const ::std::string&, typename... Args_>
     233              :   void set_name(Arg_&& arg, Args_... args);
     234              :   ::std::string* PROTOBUF_NONNULL mutable_name();
     235              :   [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_name();
     236              :   void set_allocated_name(::std::string* PROTOBUF_NULLABLE value);
     237              : 
     238              :   private:
     239              :   const ::std::string& _internal_name() const;
     240              :   PROTOBUF_ALWAYS_INLINE void _internal_set_name(const ::std::string& value);
     241              :   ::std::string* PROTOBUF_NONNULL _internal_mutable_name();
     242              : 
     243              :   public:
     244              :   // optional .Odb.Lib.Protobuf.BoardSide boardSide = 2;
     245              :   bool has_boardside() const;
     246              :   void clear_boardside() ;
     247              :   ::Odb::Lib::Protobuf::BoardSide boardside() const;
     248              :   void set_boardside(::Odb::Lib::Protobuf::BoardSide value);
     249              : 
     250              :   private:
     251              :   ::Odb::Lib::Protobuf::BoardSide _internal_boardside() const;
     252              :   void _internal_set_boardside(::Odb::Lib::Protobuf::BoardSide value);
     253              : 
     254              :   public:
     255              :   // @@protoc_insertion_point(class_scope:Odb.Lib.Protobuf.ProductModel.Via)
     256              :  private:
     257              :   class _Internal;
     258              :   friend class ::google::protobuf::internal::TcParser;
     259              :   static const ::google::protobuf::internal::TcParseTable<1, 2,
     260              :                                    0, 46,
     261              :                                    2>
     262              :       _table_;
     263              : 
     264              :   friend class ::google::protobuf::MessageLite;
     265              :   friend class ::google::protobuf::Arena;
     266              :   template <typename T>
     267              :   friend class ::google::protobuf::Arena::InternalHelper;
     268              :   using InternalArenaConstructable_ = void;
     269              :   using DestructorSkippable_ = void;
     270              :   struct Impl_ {
     271              :     inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
     272              :     inline explicit Impl_(
     273              :         ::google::protobuf::internal::InternalVisibility visibility,
     274              :         ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
     275              :     inline explicit Impl_(
     276              :         ::google::protobuf::internal::InternalVisibility visibility,
     277              :         ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
     278              :         const Via& from_msg);
     279              :     ::google::protobuf::internal::HasBits<1> _has_bits_;
     280              :     ::google::protobuf::internal::CachedSize _cached_size_;
     281              :     ::google::protobuf::internal::ArenaStringPtr name_;
     282              :     int boardside_;
     283              :     PROTOBUF_TSAN_DECLARE_MEMBER
     284              :   };
     285              :   union { Impl_ _impl_; };
     286              :   friend struct ::TableStruct_via_2eproto;
     287              : };
     288              : 
     289              : ODBDESIGN_EXPORT extern const ::google::protobuf::internal::ClassDataFull Via_class_data_;
     290              : 
     291              : // ===================================================================
     292              : 
     293              : 
     294              : 
     295              : 
     296              : // ===================================================================
     297              : 
     298              : 
     299              : #ifdef __GNUC__
     300              : #pragma GCC diagnostic push
     301              : #pragma GCC diagnostic ignored "-Wstrict-aliasing"
     302              : #endif  // __GNUC__
     303              : // -------------------------------------------------------------------
     304              : 
     305              : // Via
     306              : 
     307              : // optional string name = 1;
     308              : inline bool Via::has_name() const {
     309              :   bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000001U);
     310              :   return value;
     311              : }
     312              : inline void Via::clear_name() {
     313              :   ::google::protobuf::internal::TSanWrite(&_impl_);
     314              :   _impl_.name_.ClearToEmpty();
     315              :   ClearHasBit(_impl_._has_bits_[0],
     316              :                   0x00000001U);
     317              : }
     318            0 : inline const ::std::string& Via::name() const
     319              :     ABSL_ATTRIBUTE_LIFETIME_BOUND {
     320              :   // @@protoc_insertion_point(field_get:Odb.Lib.Protobuf.ProductModel.Via.name)
     321            0 :   return _internal_name();
     322              : }
     323              : template <typename Arg_, typename... Args_>
     324              : PROTOBUF_ALWAYS_INLINE void Via::set_name(Arg_&& arg, Args_... args) {
     325            0 :   ::google::protobuf::internal::TSanWrite(&_impl_);
     326            0 :   SetHasBit(_impl_._has_bits_[0], 0x00000001U);
     327            0 :   _impl_.name_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
     328              :   // @@protoc_insertion_point(field_set:Odb.Lib.Protobuf.ProductModel.Via.name)
     329            0 : }
     330              : inline ::std::string* PROTOBUF_NONNULL Via::mutable_name()
     331              :     ABSL_ATTRIBUTE_LIFETIME_BOUND {
     332              :   SetHasBit(_impl_._has_bits_[0], 0x00000001U);
     333              :   ::std::string* _s = _internal_mutable_name();
     334              :   // @@protoc_insertion_point(field_mutable:Odb.Lib.Protobuf.ProductModel.Via.name)
     335              :   return _s;
     336              : }
     337            0 : inline const ::std::string& Via::_internal_name() const {
     338            0 :   ::google::protobuf::internal::TSanRead(&_impl_);
     339            0 :   return _impl_.name_.Get();
     340              : }
     341              : inline void Via::_internal_set_name(const ::std::string& value) {
     342            0 :   ::google::protobuf::internal::TSanWrite(&_impl_);
     343            0 :   _impl_.name_.Set(value, GetArena());
     344            0 : }
     345              : inline ::std::string* PROTOBUF_NONNULL Via::_internal_mutable_name() {
     346              :   ::google::protobuf::internal::TSanWrite(&_impl_);
     347              :   return _impl_.name_.Mutable( GetArena());
     348              : }
     349              : inline ::std::string* PROTOBUF_NULLABLE Via::release_name() {
     350              :   ::google::protobuf::internal::TSanWrite(&_impl_);
     351              :   // @@protoc_insertion_point(field_release:Odb.Lib.Protobuf.ProductModel.Via.name)
     352              :   if (!CheckHasBit(_impl_._has_bits_[0], 0x00000001U)) {
     353              :     return nullptr;
     354              :   }
     355              :   ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
     356              :   auto* released = _impl_.name_.Release();
     357              :   if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
     358              :     _impl_.name_.Set("", GetArena());
     359              :   }
     360              :   return released;
     361              : }
     362              : inline void Via::set_allocated_name(::std::string* PROTOBUF_NULLABLE value) {
     363              :   ::google::protobuf::internal::TSanWrite(&_impl_);
     364              :   if (value != nullptr) {
     365              :     SetHasBit(_impl_._has_bits_[0], 0x00000001U);
     366              :   } else {
     367              :     ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
     368              :   }
     369              :   _impl_.name_.SetAllocated(value, GetArena());
     370              :   if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.name_.IsDefault()) {
     371              :     _impl_.name_.Set("", GetArena());
     372              :   }
     373              :   // @@protoc_insertion_point(field_set_allocated:Odb.Lib.Protobuf.ProductModel.Via.name)
     374              : }
     375              : 
     376              : // optional .Odb.Lib.Protobuf.BoardSide boardSide = 2;
     377              : inline bool Via::has_boardside() const {
     378              :   bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000002U);
     379              :   return value;
     380              : }
     381              : inline void Via::clear_boardside() {
     382              :   ::google::protobuf::internal::TSanWrite(&_impl_);
     383              :   _impl_.boardside_ = 0;
     384              :   ClearHasBit(_impl_._has_bits_[0],
     385              :                   0x00000002U);
     386              : }
     387            0 : inline ::Odb::Lib::Protobuf::BoardSide Via::boardside() const {
     388              :   // @@protoc_insertion_point(field_get:Odb.Lib.Protobuf.ProductModel.Via.boardSide)
     389            0 :   return _internal_boardside();
     390              : }
     391            0 : inline void Via::set_boardside(::Odb::Lib::Protobuf::BoardSide value) {
     392            0 :   _internal_set_boardside(value);
     393            0 :   SetHasBit(_impl_._has_bits_[0], 0x00000002U);
     394              :   // @@protoc_insertion_point(field_set:Odb.Lib.Protobuf.ProductModel.Via.boardSide)
     395            0 : }
     396            0 : inline ::Odb::Lib::Protobuf::BoardSide Via::_internal_boardside() const {
     397            0 :   ::google::protobuf::internal::TSanRead(&_impl_);
     398            0 :   return static_cast<::Odb::Lib::Protobuf::BoardSide>(_impl_.boardside_);
     399              : }
     400            0 : inline void Via::_internal_set_boardside(::Odb::Lib::Protobuf::BoardSide value) {
     401            0 :   ::google::protobuf::internal::TSanWrite(&_impl_);
     402            0 :   _impl_.boardside_ = value;
     403            0 : }
     404              : 
     405              : #ifdef __GNUC__
     406              : #pragma GCC diagnostic pop
     407              : #endif  // __GNUC__
     408              : 
     409              : // @@protoc_insertion_point(namespace_scope)
     410              : }  // namespace ProductModel
     411              : }  // namespace Protobuf
     412              : }  // namespace Lib
     413              : }  // namespace Odb
     414              : 
     415              : 
     416              : // @@protoc_insertion_point(global_scope)
     417              : 
     418              : #include "google/protobuf/port_undef.inc"
     419              : 
     420              : #endif  // via_2eproto_2epb_2eh
        

Generated by: LCOV version 2.0-1