LCOV - code coverage report
Current view: top level - out/build/linux-debug/OdbDesignLib - net.pb.cc (source / functions) Coverage Total Hit
Test: OdbDesign Test Coverage Lines: 84.7 % 137 116
Test Date: 2026-11-21 03:51:50 Functions: 84.2 % 19 16
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: net.proto
       4              : // Protobuf C++ Version: 6.33.4
       5              : 
       6              : #include "net.pb.h"
       7              : 
       8              : #include <algorithm>
       9              : #include <type_traits>
      10              : #include "google/protobuf/io/coded_stream.h"
      11              : #include "google/protobuf/generated_message_tctable_impl.h"
      12              : #include "google/protobuf/extension_set.h"
      13              : #include "google/protobuf/generated_message_util.h"
      14              : #include "google/protobuf/wire_format_lite.h"
      15              : #include "google/protobuf/descriptor.h"
      16              : #include "google/protobuf/generated_message_reflection.h"
      17              : #include "google/protobuf/reflection_ops.h"
      18              : #include "google/protobuf/wire_format.h"
      19              : // @@protoc_insertion_point(includes)
      20              : 
      21              : // Must be included last.
      22              : #include "google/protobuf/port_def.inc"
      23              : PROTOBUF_PRAGMA_INIT_SEG
      24              : namespace _pb = ::google::protobuf;
      25              : namespace _pbi = ::google::protobuf::internal;
      26              : namespace _fl = ::google::protobuf::internal::field_layout;
      27              : namespace Odb {
      28              : namespace Lib {
      29              : namespace Protobuf {
      30              : namespace ProductModel {
      31              : 
      32              : inline constexpr Net::Impl_::Impl_(
      33              :     ::_pbi::ConstantInitialized) noexcept
      34              :       : _cached_size_{0},
      35              :         pinconnections_{},
      36              :         name_(
      37              :             &::google::protobuf::internal::fixed_address_empty_string,
      38              :             ::_pbi::ConstantInitialized()),
      39              :         index_{0u} {}
      40              : 
      41              : template <typename>
      42              : PROTOBUF_CONSTEXPR Net::Net(::_pbi::ConstantInitialized)
      43              : #if defined(PROTOBUF_CUSTOM_VTABLE)
      44              :     : ::google::protobuf::Message(Net_class_data_.base()),
      45              : #else   // PROTOBUF_CUSTOM_VTABLE
      46              :     : ::google::protobuf::Message(),
      47              : #endif  // PROTOBUF_CUSTOM_VTABLE
      48              :       _impl_(::_pbi::ConstantInitialized()) {
      49              : }
      50              : struct NetDefaultTypeInternal {
      51              :   PROTOBUF_CONSTEXPR NetDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
      52          319 :   ~NetDefaultTypeInternal() {}
      53              :   union {
      54              :     Net _instance;
      55              :   };
      56              : };
      57              : 
      58              : PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT ODBDESIGN_EXPORT
      59              :     PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 NetDefaultTypeInternal _Net_default_instance_;
      60              : }  // namespace ProductModel
      61              : }  // namespace Protobuf
      62              : }  // namespace Lib
      63              : }  // namespace Odb
      64              : static constexpr const ::_pb::EnumDescriptor* PROTOBUF_NONNULL* PROTOBUF_NULLABLE
      65              :     file_level_enum_descriptors_net_2eproto = nullptr;
      66              : static constexpr const ::_pb::ServiceDescriptor* PROTOBUF_NONNULL* PROTOBUF_NULLABLE
      67              :     file_level_service_descriptors_net_2eproto = nullptr;
      68              : const ::uint32_t
      69              :     TableStruct_net_2eproto::offsets[] ABSL_ATTRIBUTE_SECTION_VARIABLE(
      70              :         protodesc_cold) = {
      71              :         0x081, // bitmap
      72              :         PROTOBUF_FIELD_OFFSET(::Odb::Lib::Protobuf::ProductModel::Net, _impl_._has_bits_),
      73              :         6, // hasbit index offset
      74              :         PROTOBUF_FIELD_OFFSET(::Odb::Lib::Protobuf::ProductModel::Net, _impl_.name_),
      75              :         PROTOBUF_FIELD_OFFSET(::Odb::Lib::Protobuf::ProductModel::Net, _impl_.pinconnections_),
      76              :         PROTOBUF_FIELD_OFFSET(::Odb::Lib::Protobuf::ProductModel::Net, _impl_.index_),
      77              :         1,
      78              :         0,
      79              :         2,
      80              : };
      81              : 
      82              : static const ::_pbi::MigrationSchema
      83              :     schemas[] ABSL_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = {
      84              :         {0, sizeof(::Odb::Lib::Protobuf::ProductModel::Net)},
      85              : };
      86              : static const ::_pb::Message* PROTOBUF_NONNULL const file_default_instances[] = {
      87              :     &::Odb::Lib::Protobuf::ProductModel::_Net_default_instance_._instance,
      88              : };
      89              : const char descriptor_table_protodef_net_2eproto[] ABSL_ATTRIBUTE_SECTION_VARIABLE(
      90              :     protodesc_cold) = {
      91              :     "\n\tnet.proto\022\035Odb.Lib.Protobuf.ProductMod"
      92              :     "el\032\023pinconnection.proto\"\205\001\n\003Net\022\021\n\004name\030"
      93              :     "\001 \001(\tH\000\210\001\001\022D\n\016pinConnections\030\002 \003(\0132,.Odb"
      94              :     ".Lib.Protobuf.ProductModel.PinConnection"
      95              :     "\022\022\n\005index\030\003 \001(\rH\001\210\001\001B\007\n\005_nameB\010\n\006_indexB"
      96              :     "\003\370\001\001b\006proto3"
      97              : };
      98              : static const ::_pbi::DescriptorTable* PROTOBUF_NONNULL const
      99              :     descriptor_table_net_2eproto_deps[1] = {
     100              :         &::descriptor_table_pinconnection_2eproto,
     101              : };
     102              : static ::absl::once_flag descriptor_table_net_2eproto_once;
     103              : PROTOBUF_CONSTINIT const ::_pbi::DescriptorTable descriptor_table_net_2eproto = {
     104              :     false,
     105              :     false,
     106              :     212,
     107              :     descriptor_table_protodef_net_2eproto,
     108              :     "net.proto",
     109              :     &descriptor_table_net_2eproto_once,
     110              :     descriptor_table_net_2eproto_deps,
     111              :     1,
     112              :     1,
     113              :     schemas,
     114              :     file_default_instances,
     115              :     TableStruct_net_2eproto::offsets,
     116              :     file_level_enum_descriptors_net_2eproto,
     117              :     file_level_service_descriptors_net_2eproto,
     118              : };
     119              : namespace Odb {
     120              : namespace Lib {
     121              : namespace Protobuf {
     122              : namespace ProductModel {
     123              : // ===================================================================
     124              : 
     125              : class Net::_Internal {
     126              :  public:
     127              :   using HasBits =
     128              :       decltype(::std::declval<Net>()._impl_._has_bits_);
     129              :   static constexpr ::int32_t kHasBitsOffset =
     130              :       8 * PROTOBUF_FIELD_OFFSET(Net, _impl_._has_bits_);
     131              : };
     132              : 
     133            0 : void Net::clear_pinconnections() {
     134            0 :   ::google::protobuf::internal::TSanWrite(&_impl_);
     135            0 :   _impl_.pinconnections_.Clear();
     136            0 :   ClearHasBitForRepeated(_impl_._has_bits_[0],
     137              :                   0x00000001U);
     138            0 : }
     139        40258 : Net::Net(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
     140              : #if defined(PROTOBUF_CUSTOM_VTABLE)
     141              :     : ::google::protobuf::Message(arena, Net_class_data_.base()) {
     142              : #else   // PROTOBUF_CUSTOM_VTABLE
     143        40258 :     : ::google::protobuf::Message(arena) {
     144              : #endif  // PROTOBUF_CUSTOM_VTABLE
     145        40258 :   SharedCtor(arena);
     146              :   // @@protoc_insertion_point(arena_constructor:Odb.Lib.Protobuf.ProductModel.Net)
     147        40258 : }
     148          644 : PROTOBUF_NDEBUG_INLINE Net::Impl_::Impl_(
     149              :     [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
     150              :     [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
     151          644 :     [[maybe_unused]] const ::Odb::Lib::Protobuf::ProductModel::Net& from_msg)
     152          644 :       : _has_bits_{from._has_bits_},
     153          644 :         _cached_size_{0},
     154          644 :         pinconnections_{visibility, arena, from.pinconnections_},
     155          644 :         name_(arena, from.name_) {}
     156              : 
     157          644 : Net::Net(
     158              :     ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
     159          644 :     const Net& from)
     160              : #if defined(PROTOBUF_CUSTOM_VTABLE)
     161              :     : ::google::protobuf::Message(arena, Net_class_data_.base()) {
     162              : #else   // PROTOBUF_CUSTOM_VTABLE
     163          644 :     : ::google::protobuf::Message(arena) {
     164              : #endif  // PROTOBUF_CUSTOM_VTABLE
     165          644 :   Net* const _this = this;
     166              :   (void)_this;
     167          644 :   _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
     168          644 :       from._internal_metadata_);
     169          644 :   new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
     170          644 :   _impl_.index_ = from._impl_.index_;
     171              : 
     172              :   // @@protoc_insertion_point(copy_constructor:Odb.Lib.Protobuf.ProductModel.Net)
     173          644 : }
     174        40258 : PROTOBUF_NDEBUG_INLINE Net::Impl_::Impl_(
     175              :     [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
     176        40258 :     [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
     177        40258 :       : _cached_size_{0},
     178        40258 :         pinconnections_{visibility, arena},
     179        80516 :         name_(arena) {}
     180              : 
     181        40258 : inline void Net::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
     182        40258 :   new (&_impl_) Impl_(internal_visibility(), arena);
     183        40258 :   _impl_.index_ = {};
     184        40258 : }
     185        71434 : Net::~Net() {
     186              :   // @@protoc_insertion_point(destructor:Odb.Lib.Protobuf.ProductModel.Net)
     187        40902 :   SharedDtor(*this);
     188        71434 : }
     189        40902 : inline void Net::SharedDtor(MessageLite& self) {
     190        40902 :   Net& this_ = static_cast<Net&>(self);
     191              :   if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
     192        40902 :     this_.CheckHasBitConsistency();
     193              :   }
     194        40902 :   this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
     195        40902 :   ABSL_DCHECK(this_.GetArena() == nullptr);
     196        40902 :   this_._impl_.name_.Destroy();
     197        40902 :   this_._impl_.~Impl_();
     198        40902 : }
     199              : 
     200         8438 : inline void* PROTOBUF_NONNULL Net::PlacementNew_(
     201              :     const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
     202              :     ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
     203         8438 :   return ::new (mem) Net(arena);
     204              : }
     205              : constexpr auto Net::InternalNewImpl_() {
     206              :   constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({
     207              :       PROTOBUF_FIELD_OFFSET(Net, _impl_.pinconnections_) +
     208              :           decltype(Net::_impl_.pinconnections_)::
     209              :               InternalGetArenaOffset(
     210              :                   ::google::protobuf::Message::internal_visibility()),
     211              :   });
     212              :   if (arena_bits.has_value()) {
     213              :     return ::google::protobuf::internal::MessageCreator::CopyInit(
     214              :         sizeof(Net), alignof(Net), *arena_bits);
     215              :   } else {
     216              :     return ::google::protobuf::internal::MessageCreator(&Net::PlacementNew_,
     217              :                                  sizeof(Net),
     218              :                                  alignof(Net));
     219              :   }
     220              : }
     221              : constexpr auto Net::InternalGenerateClassData_() {
     222              :   return ::google::protobuf::internal::ClassDataFull{
     223              :       ::google::protobuf::internal::ClassData{
     224              :           &_Net_default_instance_._instance,
     225              :           &_table_.header,
     226              :           nullptr,  // OnDemandRegisterArenaDtor
     227              :           nullptr,  // IsInitialized
     228              :           &Net::MergeImpl,
     229              :           ::google::protobuf::Message::GetNewImpl<Net>(),
     230              : #if defined(PROTOBUF_CUSTOM_VTABLE)
     231              :           &Net::SharedDtor,
     232              :           ::google::protobuf::Message::GetClearImpl<Net>(), &Net::ByteSizeLong,
     233              :               &Net::_InternalSerialize,
     234              : #endif  // PROTOBUF_CUSTOM_VTABLE
     235              :           PROTOBUF_FIELD_OFFSET(Net, _impl_._cached_size_),
     236              :           false,
     237              :       },
     238              :       &Net::kDescriptorMethods,
     239              :       &descriptor_table_net_2eproto,
     240              :       nullptr,  // tracker
     241              :   };
     242              : }
     243              : 
     244              : PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
     245              :     ::google::protobuf::internal::ClassDataFull Net_class_data_ =
     246              :         Net::InternalGenerateClassData_();
     247              : 
     248              : PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
     249       214953 : Net::GetClassData() const {
     250       214953 :   ::google::protobuf::internal::PrefetchToLocalCache(&Net_class_data_);
     251       214953 :   ::google::protobuf::internal::PrefetchToLocalCache(Net_class_data_.tc_table);
     252       214953 :   return Net_class_data_.base();
     253              : }
     254              : PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
     255              : const ::_pbi::TcParseTable<2, 3, 1, 46, 2>
     256              : Net::_table_ = {
     257              :   {
     258              :     PROTOBUF_FIELD_OFFSET(Net, _impl_._has_bits_),
     259              :     0, // no _extensions_
     260              :     3, 24,  // max_field_number, fast_idx_mask
     261              :     offsetof(decltype(_table_), field_lookup_table),
     262              :     4294967288,  // skipmap
     263              :     offsetof(decltype(_table_), field_entries),
     264              :     3,  // num_field_entries
     265              :     1,  // num_aux_entries
     266              :     offsetof(decltype(_table_), aux_entries),
     267              :     Net_class_data_.base(),
     268              :     nullptr,  // post_loop_handler
     269              :     ::_pbi::TcParser::GenericFallback,  // fallback
     270              :     #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
     271              :     ::_pbi::TcParser::GetTable<::Odb::Lib::Protobuf::ProductModel::Net>(),  // to_prefetch
     272              :     #endif  // PROTOBUF_PREFETCH_PARSE_TABLE
     273              :   }, {{
     274              :     {::_pbi::TcParser::MiniParse, {}},
     275              :     // optional string name = 1;
     276              :     {::_pbi::TcParser::FastUS1,
     277              :      {10, 1, 0,
     278              :       PROTOBUF_FIELD_OFFSET(Net, _impl_.name_)}},
     279              :     // repeated .Odb.Lib.Protobuf.ProductModel.PinConnection pinConnections = 2;
     280              :     {::_pbi::TcParser::FastMtR1,
     281              :      {18, 0, 0,
     282              :       PROTOBUF_FIELD_OFFSET(Net, _impl_.pinconnections_)}},
     283              :     // optional uint32 index = 3;
     284              :     {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(Net, _impl_.index_), 2>(),
     285              :      {24, 2, 0,
     286              :       PROTOBUF_FIELD_OFFSET(Net, _impl_.index_)}},
     287              :   }}, {{
     288              :     65535, 65535
     289              :   }}, {{
     290              :     // optional string name = 1;
     291              :     {PROTOBUF_FIELD_OFFSET(Net, _impl_.name_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)},
     292              :     // repeated .Odb.Lib.Protobuf.ProductModel.PinConnection pinConnections = 2;
     293              :     {PROTOBUF_FIELD_OFFSET(Net, _impl_.pinconnections_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
     294              :     // optional uint32 index = 3;
     295              :     {PROTOBUF_FIELD_OFFSET(Net, _impl_.index_), _Internal::kHasBitsOffset + 2, 0, (0 | ::_fl::kFcOptional | ::_fl::kUInt32)},
     296              :   }},
     297              :   {{
     298              :       {::_pbi::TcParser::GetTable<::Odb::Lib::Protobuf::ProductModel::PinConnection>()},
     299              :   }},
     300              :   {{
     301              :     "\41\4\0\0\0\0\0\0"
     302              :     "Odb.Lib.Protobuf.ProductModel.Net"
     303              :     "name"
     304              :   }},
     305              : };
     306        23382 : PROTOBUF_NOINLINE void Net::Clear() {
     307              : // @@protoc_insertion_point(message_clear_start:Odb.Lib.Protobuf.ProductModel.Net)
     308        23382 :   ::google::protobuf::internal::TSanWrite(&_impl_);
     309        23382 :   ::uint32_t cached_has_bits = 0;
     310              :   // Prevent compiler warnings about cached_has_bits being unused
     311              :   (void) cached_has_bits;
     312              : 
     313        23382 :   cached_has_bits = _impl_._has_bits_[0];
     314        23382 :   if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
     315            0 :     if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
     316            0 :       _impl_.pinconnections_.Clear();
     317              :     }
     318            0 :     if (CheckHasBit(cached_has_bits, 0x00000002U)) {
     319            0 :       _impl_.name_.ClearNonDefaultToEmpty();
     320              :     }
     321              :   }
     322        23382 :   _impl_.index_ = 0u;
     323        23382 :   _impl_._has_bits_.Clear();
     324        23382 :   _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
     325        23382 : }
     326              : 
     327              : #if defined(PROTOBUF_CUSTOM_VTABLE)
     328              : ::uint8_t* PROTOBUF_NONNULL Net::_InternalSerialize(
     329              :     const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
     330              :     ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
     331              :   const Net& this_ = static_cast<const Net&>(base);
     332              : #else   // PROTOBUF_CUSTOM_VTABLE
     333         7728 : ::uint8_t* PROTOBUF_NONNULL Net::_InternalSerialize(
     334              :     ::uint8_t* PROTOBUF_NONNULL target,
     335              :     ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
     336         7728 :   const Net& this_ = *this;
     337              : #endif  // PROTOBUF_CUSTOM_VTABLE
     338              :   if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
     339         7728 :     this_.CheckHasBitConsistency();
     340              :   }
     341              :   // @@protoc_insertion_point(serialize_to_array_start:Odb.Lib.Protobuf.ProductModel.Net)
     342         7728 :   ::uint32_t cached_has_bits = 0;
     343              :   (void)cached_has_bits;
     344              : 
     345         7728 :   cached_has_bits = this_._impl_._has_bits_[0];
     346              :   // optional string name = 1;
     347         7728 :   if (CheckHasBit(cached_has_bits, 0x00000002U)) {
     348         7728 :     const ::std::string& _s = this_._internal_name();
     349        15456 :     ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
     350         7728 :         _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "Odb.Lib.Protobuf.ProductModel.Net.name");
     351         7728 :     target = stream->WriteStringMaybeAliased(1, _s, target);
     352              :   }
     353              : 
     354              :   // repeated .Odb.Lib.Protobuf.ProductModel.PinConnection pinConnections = 2;
     355         7728 :   if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
     356        49188 :     for (unsigned i = 0, n = static_cast<unsigned>(
     357         7728 :                              this_._internal_pinconnections_size());
     358        41460 :          i < n; i++) {
     359        33732 :       const auto& repfield = this_._internal_pinconnections().Get(i);
     360              :       target =
     361        33732 :           ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
     362              :               2, repfield, repfield.GetCachedSize(),
     363              :               target, stream);
     364              :     }
     365              :   }
     366              : 
     367              :   // optional uint32 index = 3;
     368         7728 :   if (CheckHasBit(cached_has_bits, 0x00000004U)) {
     369         7728 :     target = stream->EnsureSpace(target);
     370         7728 :     target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
     371              :         3, this_._internal_index(), target);
     372              :   }
     373              : 
     374         7728 :   if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
     375              :     target =
     376            0 :         ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
     377              :             this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
     378              :   }
     379              :   // @@protoc_insertion_point(serialize_to_array_end:Odb.Lib.Protobuf.ProductModel.Net)
     380         7728 :   return target;
     381              : }
     382              : 
     383              : #if defined(PROTOBUF_CUSTOM_VTABLE)
     384              : ::size_t Net::ByteSizeLong(const MessageLite& base) {
     385              :   const Net& this_ = static_cast<const Net&>(base);
     386              : #else   // PROTOBUF_CUSTOM_VTABLE
     387        14234 : ::size_t Net::ByteSizeLong() const {
     388        14234 :   const Net& this_ = *this;
     389              : #endif  // PROTOBUF_CUSTOM_VTABLE
     390              :   // @@protoc_insertion_point(message_byte_size_start:Odb.Lib.Protobuf.ProductModel.Net)
     391        14234 :   ::size_t total_size = 0;
     392              : 
     393        14234 :   ::uint32_t cached_has_bits = 0;
     394              :   // Prevent compiler warnings about cached_has_bits being unused
     395              :   (void)cached_has_bits;
     396              : 
     397              :   ::_pbi::Prefetch5LinesFrom7Lines(&this_);
     398        14234 :   cached_has_bits = this_._impl_._has_bits_[0];
     399        14234 :   if (BatchCheckHasBit(cached_has_bits, 0x00000007U)) {
     400              :     // repeated .Odb.Lib.Protobuf.ProductModel.PinConnection pinConnections = 2;
     401        14234 :     if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
     402        14232 :       total_size += 1UL * this_._internal_pinconnections_size();
     403        75346 :       for (const auto& msg : this_._internal_pinconnections()) {
     404        61114 :         total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
     405              :       }
     406              :     }
     407              :     // optional string name = 1;
     408        14234 :     if (CheckHasBit(cached_has_bits, 0x00000002U)) {
     409        14234 :       total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
     410              :                                       this_._internal_name());
     411              :     }
     412              :     // optional uint32 index = 3;
     413        14234 :     if (CheckHasBit(cached_has_bits, 0x00000004U)) {
     414        14234 :       total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
     415              :           this_._internal_index());
     416              :     }
     417              :   }
     418        14234 :   return this_.MaybeComputeUnknownFieldsSize(total_size,
     419        14234 :                                              &this_._impl_._cached_size_);
     420              : }
     421              : 
     422        23382 : void Net::MergeImpl(::google::protobuf::MessageLite& to_msg,
     423              :                             const ::google::protobuf::MessageLite& from_msg) {
     424        23382 :    auto* const _this =
     425              :       static_cast<Net*>(&to_msg);
     426        23382 :   auto& from = static_cast<const Net&>(from_msg);
     427              :   if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
     428        23382 :     from.CheckHasBitConsistency();
     429              :   }
     430        23382 :   ::google::protobuf::Arena* arena = _this->GetArena();
     431              :   // @@protoc_insertion_point(class_specific_merge_from_start:Odb.Lib.Protobuf.ProductModel.Net)
     432        23382 :   ABSL_DCHECK_NE(&from, _this);
     433        23382 :   ::uint32_t cached_has_bits = 0;
     434              :   (void)cached_has_bits;
     435              : 
     436        23382 :   cached_has_bits = from._impl_._has_bits_[0];
     437        23382 :   if (BatchCheckHasBit(cached_has_bits, 0x00000007U)) {
     438        23382 :     if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
     439        46752 :       _this->_internal_mutable_pinconnections()->InternalMergeFromWithArena(
     440        23376 :           ::google::protobuf::MessageLite::internal_visibility(), arena,
     441              :           from._internal_pinconnections());
     442              :     }
     443        23382 :     if (CheckHasBit(cached_has_bits, 0x00000002U)) {
     444        23382 :       _this->_internal_set_name(from._internal_name());
     445              :     }
     446        23382 :     if (CheckHasBit(cached_has_bits, 0x00000004U)) {
     447        23382 :       _this->_impl_.index_ = from._impl_.index_;
     448              :     }
     449              :   }
     450        23382 :   _this->_impl_._has_bits_[0] |= cached_has_bits;
     451        23382 :   _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
     452        23382 :       from._internal_metadata_);
     453        23382 : }
     454              : 
     455        17520 : void Net::CopyFrom(const Net& from) {
     456              :   // @@protoc_insertion_point(class_specific_copy_from_start:Odb.Lib.Protobuf.ProductModel.Net)
     457        17520 :   if (&from == this) return;
     458        17520 :   Clear();
     459        17520 :   MergeFrom(from);
     460              : }
     461              : 
     462              : 
     463            0 : void Net::InternalSwap(Net* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
     464              :   using ::std::swap;
     465            0 :   auto* arena = GetArena();
     466            0 :   ABSL_DCHECK_EQ(arena, other->GetArena());
     467            0 :   _internal_metadata_.InternalSwap(&other->_internal_metadata_);
     468            0 :   swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
     469            0 :   _impl_.pinconnections_.InternalSwap(&other->_impl_.pinconnections_);
     470            0 :   ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.name_, &other->_impl_.name_, arena);
     471            0 :   swap(_impl_.index_, other->_impl_.index_);
     472            0 : }
     473              : 
     474            0 : ::google::protobuf::Metadata Net::GetMetadata() const {
     475            0 :   return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
     476              : }
     477              : // @@protoc_insertion_point(namespace_scope)
     478              : }  // namespace ProductModel
     479              : }  // namespace Protobuf
     480              : }  // namespace Lib
     481              : }  // namespace Odb
     482              : namespace google {
     483              : namespace protobuf {
     484              : }  // namespace protobuf
     485              : }  // namespace google
     486              : // @@protoc_insertion_point(global_scope)
     487              : PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 static ::std::false_type
     488              :     _static_init2_ [[maybe_unused]] =
     489              :         (::_pbi::AddDescriptors(&descriptor_table_net_2eproto),
     490              :          ::std::false_type{});
     491              : #include "google/protobuf/port_undef.inc"
        

Generated by: LCOV version 2.0-1