Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-08-10 22:49:31

0001 // Generated by the protocol buffer compiler.  DO NOT EDIT!
0002 // source: DQMServices/Core/src/ROOTFilePB.proto
0003 
0004 #include "DQMServices/Core/interface/ROOTFilePB.pb.h"
0005 
0006 #include <algorithm>
0007 
0008 #include <google/protobuf/io/coded_stream.h>
0009 #include <google/protobuf/extension_set.h>
0010 #include <google/protobuf/wire_format_lite.h>
0011 #include <google/protobuf/descriptor.h>
0012 #include <google/protobuf/generated_message_reflection.h>
0013 #include <google/protobuf/reflection_ops.h>
0014 #include <google/protobuf/wire_format.h>
0015 // @@protoc_insertion_point(includes)
0016 #include <google/protobuf/port_def.inc>
0017 
0018 PROTOBUF_PRAGMA_INIT_SEG
0019 namespace dqmstorepb {
0020   constexpr ROOTFilePB_Histo::ROOTFilePB_Histo(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
0021       : full_pathname_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string),
0022         streamed_histo_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string),
0023         size_(0u),
0024         flags_(0u) {}
0025   struct ROOTFilePB_HistoDefaultTypeInternal {
0026     constexpr ROOTFilePB_HistoDefaultTypeInternal()
0027         : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {}
0028     ~ROOTFilePB_HistoDefaultTypeInternal() {}
0029     union {
0030       ROOTFilePB_Histo _instance;
0031     };
0032   };
0033   PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT ROOTFilePB_HistoDefaultTypeInternal
0034       _ROOTFilePB_Histo_default_instance_;
0035   constexpr ROOTFilePB::ROOTFilePB(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) : histo_() {}
0036   struct ROOTFilePBDefaultTypeInternal {
0037     constexpr ROOTFilePBDefaultTypeInternal() : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {}
0038     ~ROOTFilePBDefaultTypeInternal() {}
0039     union {
0040       ROOTFilePB _instance;
0041     };
0042   };
0043   PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT ROOTFilePBDefaultTypeInternal _ROOTFilePB_default_instance_;
0044 }  // namespace dqmstorepb
0045 static ::PROTOBUF_NAMESPACE_ID::Metadata file_level_metadata_DQMServices_2fCore_2fsrc_2fROOTFilePB_2eproto[2];
0046 static constexpr ::PROTOBUF_NAMESPACE_ID::EnumDescriptor const**
0047     file_level_enum_descriptors_DQMServices_2fCore_2fsrc_2fROOTFilePB_2eproto = nullptr;
0048 static constexpr ::PROTOBUF_NAMESPACE_ID::ServiceDescriptor const**
0049     file_level_service_descriptors_DQMServices_2fCore_2fsrc_2fROOTFilePB_2eproto = nullptr;
0050 
0051 const ::PROTOBUF_NAMESPACE_ID::uint32
0052     TableStruct_DQMServices_2fCore_2fsrc_2fROOTFilePB_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = {
0053         PROTOBUF_FIELD_OFFSET(::dqmstorepb::ROOTFilePB_Histo, _has_bits_),
0054         PROTOBUF_FIELD_OFFSET(::dqmstorepb::ROOTFilePB_Histo, _internal_metadata_),
0055         ~0u,  // no _extensions_
0056         ~0u,  // no _oneof_case_
0057         ~0u,  // no _weak_field_map_
0058         PROTOBUF_FIELD_OFFSET(::dqmstorepb::ROOTFilePB_Histo, full_pathname_),
0059         PROTOBUF_FIELD_OFFSET(::dqmstorepb::ROOTFilePB_Histo, size_),
0060         PROTOBUF_FIELD_OFFSET(::dqmstorepb::ROOTFilePB_Histo, streamed_histo_),
0061         PROTOBUF_FIELD_OFFSET(::dqmstorepb::ROOTFilePB_Histo, flags_),
0062         0,
0063         2,
0064         1,
0065         3,
0066         ~0u,  // no _has_bits_
0067         PROTOBUF_FIELD_OFFSET(::dqmstorepb::ROOTFilePB, _internal_metadata_),
0068         ~0u,  // no _extensions_
0069         ~0u,  // no _oneof_case_
0070         ~0u,  // no _weak_field_map_
0071         PROTOBUF_FIELD_OFFSET(::dqmstorepb::ROOTFilePB, histo_),
0072 };
0073 static const ::PROTOBUF_NAMESPACE_ID::internal::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = {
0074     {0, 9, sizeof(::dqmstorepb::ROOTFilePB_Histo)},
0075     {13, -1, sizeof(::dqmstorepb::ROOTFilePB)},
0076 };
0077 
0078 static ::PROTOBUF_NAMESPACE_ID::Message const* const file_default_instances[] = {
0079     reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::dqmstorepb::_ROOTFilePB_Histo_default_instance_),
0080     reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::dqmstorepb::_ROOTFilePB_default_instance_),
0081 };
0082 
0083 const char descriptor_table_protodef_DQMServices_2fCore_2fsrc_2fROOTFilePB_2eproto[] PROTOBUF_SECTION_VARIABLE(
0084     protodesc_cold) =
0085     "\n%DQMServices/Core/src/ROOTFilePB.proto\022"
0086     "\ndqmstorepb\"\216\001\n\nROOTFilePB\022+\n\005histo\030\001 \003("
0087     "\0132\034.dqmstorepb.ROOTFilePB.Histo\032S\n\005Histo"
0088     "\022\025\n\rfull_pathname\030\001 \002(\t\022\014\n\004size\030\002 \002(\r\022\026\n"
0089     "\016streamed_histo\030\003 \002(\014\022\r\n\005flags\030\004 \002(\r";
0090 static ::PROTOBUF_NAMESPACE_ID::internal::once_flag descriptor_table_DQMServices_2fCore_2fsrc_2fROOTFilePB_2eproto_once;
0091 const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable
0092     descriptor_table_DQMServices_2fCore_2fsrc_2fROOTFilePB_2eproto = {
0093         false,
0094         false,
0095         196,
0096         descriptor_table_protodef_DQMServices_2fCore_2fsrc_2fROOTFilePB_2eproto,
0097         "DQMServices/Core/src/ROOTFilePB.proto",
0098         &descriptor_table_DQMServices_2fCore_2fsrc_2fROOTFilePB_2eproto_once,
0099         nullptr,
0100         0,
0101         2,
0102         schemas,
0103         file_default_instances,
0104         TableStruct_DQMServices_2fCore_2fsrc_2fROOTFilePB_2eproto::offsets,
0105         file_level_metadata_DQMServices_2fCore_2fsrc_2fROOTFilePB_2eproto,
0106         file_level_enum_descriptors_DQMServices_2fCore_2fsrc_2fROOTFilePB_2eproto,
0107         file_level_service_descriptors_DQMServices_2fCore_2fsrc_2fROOTFilePB_2eproto,
0108 };
0109 PROTOBUF_ATTRIBUTE_WEAK ::PROTOBUF_NAMESPACE_ID::Metadata
0110 descriptor_table_DQMServices_2fCore_2fsrc_2fROOTFilePB_2eproto_metadata_getter(int index) {
0111   ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_DQMServices_2fCore_2fsrc_2fROOTFilePB_2eproto);
0112   return descriptor_table_DQMServices_2fCore_2fsrc_2fROOTFilePB_2eproto.file_level_metadata[index];
0113 }
0114 
0115 // Force running AddDescriptors() at dynamic initialization time.
0116 PROTOBUF_ATTRIBUTE_INIT_PRIORITY static ::PROTOBUF_NAMESPACE_ID::internal::AddDescriptorsRunner
0117     dynamic_init_dummy_DQMServices_2fCore_2fsrc_2fROOTFilePB_2eproto(
0118         &descriptor_table_DQMServices_2fCore_2fsrc_2fROOTFilePB_2eproto);
0119 namespace dqmstorepb {
0120 
0121   // ===================================================================
0122 
0123   class ROOTFilePB_Histo::_Internal {
0124   public:
0125     using HasBits = decltype(std::declval<ROOTFilePB_Histo>()._has_bits_);
0126     static void set_has_full_pathname(HasBits* has_bits) { (*has_bits)[0] |= 1u; }
0127     static void set_has_size(HasBits* has_bits) { (*has_bits)[0] |= 4u; }
0128     static void set_has_streamed_histo(HasBits* has_bits) { (*has_bits)[0] |= 2u; }
0129     static void set_has_flags(HasBits* has_bits) { (*has_bits)[0] |= 8u; }
0130     static bool MissingRequiredFields(const HasBits& has_bits) {
0131       return ((has_bits[0] & 0x0000000f) ^ 0x0000000f) != 0;
0132     }
0133   };
0134 
0135   ROOTFilePB_Histo::ROOTFilePB_Histo(::PROTOBUF_NAMESPACE_ID::Arena* arena) : ::PROTOBUF_NAMESPACE_ID::Message(arena) {
0136     SharedCtor();
0137     RegisterArenaDtor(arena);
0138     // @@protoc_insertion_point(arena_constructor:dqmstorepb.ROOTFilePB.Histo)
0139   }
0140   ROOTFilePB_Histo::ROOTFilePB_Histo(const ROOTFilePB_Histo& from)
0141       : ::PROTOBUF_NAMESPACE_ID::Message(), _has_bits_(from._has_bits_) {
0142     _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
0143     full_pathname_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
0144     if (from._internal_has_full_pathname()) {
0145       full_pathname_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{},
0146                          from._internal_full_pathname(),
0147                          GetArena());
0148     }
0149     streamed_histo_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
0150     if (from._internal_has_streamed_histo()) {
0151       streamed_histo_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{},
0152                           from._internal_streamed_histo(),
0153                           GetArena());
0154     }
0155     ::memcpy(&size_,
0156              &from.size_,
0157              static_cast<size_t>(reinterpret_cast<char*>(&flags_) - reinterpret_cast<char*>(&size_)) + sizeof(flags_));
0158     // @@protoc_insertion_point(copy_constructor:dqmstorepb.ROOTFilePB.Histo)
0159   }
0160 
0161   void ROOTFilePB_Histo::SharedCtor() {
0162     full_pathname_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
0163     streamed_histo_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
0164     ::memset(reinterpret_cast<char*>(this) +
0165                  static_cast<size_t>(reinterpret_cast<char*>(&size_) - reinterpret_cast<char*>(this)),
0166              0,
0167              static_cast<size_t>(reinterpret_cast<char*>(&flags_) - reinterpret_cast<char*>(&size_)) + sizeof(flags_));
0168   }
0169 
0170   ROOTFilePB_Histo::~ROOTFilePB_Histo() {
0171     // @@protoc_insertion_point(destructor:dqmstorepb.ROOTFilePB.Histo)
0172     SharedDtor();
0173     _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
0174   }
0175 
0176   void ROOTFilePB_Histo::SharedDtor() {
0177     GOOGLE_DCHECK(GetArena() == nullptr);
0178     full_pathname_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
0179     streamed_histo_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
0180   }
0181 
0182   void ROOTFilePB_Histo::ArenaDtor(void* object) {
0183     ROOTFilePB_Histo* _this = reinterpret_cast<ROOTFilePB_Histo*>(object);
0184     (void)_this;
0185   }
0186   void ROOTFilePB_Histo::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) {}
0187   void ROOTFilePB_Histo::SetCachedSize(int size) const { _cached_size_.Set(size); }
0188 
0189   void ROOTFilePB_Histo::Clear() {
0190     // @@protoc_insertion_point(message_clear_start:dqmstorepb.ROOTFilePB.Histo)
0191     ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
0192     // Prevent compiler warnings about cached_has_bits being unused
0193     (void)cached_has_bits;
0194 
0195     cached_has_bits = _has_bits_[0];
0196     if (cached_has_bits & 0x00000003u) {
0197       if (cached_has_bits & 0x00000001u) {
0198         full_pathname_.ClearNonDefaultToEmpty();
0199       }
0200       if (cached_has_bits & 0x00000002u) {
0201         streamed_histo_.ClearNonDefaultToEmpty();
0202       }
0203     }
0204     if (cached_has_bits & 0x0000000cu) {
0205       ::memset(
0206           &size_,
0207           0,
0208           static_cast<size_t>(reinterpret_cast<char*>(&flags_) - reinterpret_cast<char*>(&size_)) + sizeof(flags_));
0209     }
0210     _has_bits_.Clear();
0211     _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
0212   }
0213 
0214   const char* ROOTFilePB_Histo::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) {
0215 #define CHK_(x)                     \
0216   if (PROTOBUF_PREDICT_FALSE(!(x))) \
0217   goto failure
0218     _Internal::HasBits has_bits{};
0219     while (!ctx->Done(&ptr)) {
0220       ::PROTOBUF_NAMESPACE_ID::uint32 tag;
0221       ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag);
0222       CHK_(ptr);
0223       switch (tag >> 3) {
0224         // required string full_pathname = 1;
0225         case 1:
0226           if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) {
0227             auto str = _internal_mutable_full_pathname();
0228             ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
0229 #ifndef NDEBUG
0230             ::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "dqmstorepb.ROOTFilePB.Histo.full_pathname");
0231 #endif  // !NDEBUG
0232             CHK_(ptr);
0233           } else
0234             goto handle_unusual;
0235           continue;
0236         // required uint32 size = 2;
0237         case 2:
0238           if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) {
0239             _Internal::set_has_size(&has_bits);
0240             size_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
0241             CHK_(ptr);
0242           } else
0243             goto handle_unusual;
0244           continue;
0245         // required bytes streamed_histo = 3;
0246         case 3:
0247           if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 26)) {
0248             auto str = _internal_mutable_streamed_histo();
0249             ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
0250             CHK_(ptr);
0251           } else
0252             goto handle_unusual;
0253           continue;
0254         // required uint32 flags = 4;
0255         case 4:
0256           if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 32)) {
0257             _Internal::set_has_flags(&has_bits);
0258             flags_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
0259             CHK_(ptr);
0260           } else
0261             goto handle_unusual;
0262           continue;
0263         default: {
0264         handle_unusual:
0265           if ((tag & 7) == 4 || tag == 0) {
0266             ctx->SetLastTag(tag);
0267             goto success;
0268           }
0269           ptr = UnknownFieldParse(
0270               tag, _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), ptr, ctx);
0271           CHK_(ptr != nullptr);
0272           continue;
0273         }
0274       }  // switch
0275     }    // while
0276   success:
0277     _has_bits_.Or(has_bits);
0278     return ptr;
0279   failure:
0280     ptr = nullptr;
0281     goto success;
0282 #undef CHK_
0283   }
0284 
0285   ::PROTOBUF_NAMESPACE_ID::uint8* ROOTFilePB_Histo::_InternalSerialize(
0286       ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
0287     // @@protoc_insertion_point(serialize_to_array_start:dqmstorepb.ROOTFilePB.Histo)
0288     ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
0289     (void)cached_has_bits;
0290 
0291     cached_has_bits = _has_bits_[0];
0292     // required string full_pathname = 1;
0293     if (cached_has_bits & 0x00000001u) {
0294       ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField(
0295           this->_internal_full_pathname().data(),
0296           static_cast<int>(this->_internal_full_pathname().length()),
0297           ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE,
0298           "dqmstorepb.ROOTFilePB.Histo.full_pathname");
0299       target = stream->WriteStringMaybeAliased(1, this->_internal_full_pathname(), target);
0300     }
0301 
0302     // required uint32 size = 2;
0303     if (cached_has_bits & 0x00000004u) {
0304       target = stream->EnsureSpace(target);
0305       target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(2, this->_internal_size(), target);
0306     }
0307 
0308     // required bytes streamed_histo = 3;
0309     if (cached_has_bits & 0x00000002u) {
0310       target = stream->WriteBytesMaybeAliased(3, this->_internal_streamed_histo(), target);
0311     }
0312 
0313     // required uint32 flags = 4;
0314     if (cached_has_bits & 0x00000008u) {
0315       target = stream->EnsureSpace(target);
0316       target =
0317           ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(4, this->_internal_flags(), target);
0318     }
0319 
0320     if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
0321       target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray(
0322           _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(
0323               ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance),
0324           target,
0325           stream);
0326     }
0327     // @@protoc_insertion_point(serialize_to_array_end:dqmstorepb.ROOTFilePB.Histo)
0328     return target;
0329   }
0330 
0331   size_t ROOTFilePB_Histo::RequiredFieldsByteSizeFallback() const {
0332     // @@protoc_insertion_point(required_fields_byte_size_fallback_start:dqmstorepb.ROOTFilePB.Histo)
0333     size_t total_size = 0;
0334 
0335     if (_internal_has_full_pathname()) {
0336       // required string full_pathname = 1;
0337       total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(this->_internal_full_pathname());
0338     }
0339 
0340     if (_internal_has_streamed_histo()) {
0341       // required bytes streamed_histo = 3;
0342       total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize(this->_internal_streamed_histo());
0343     }
0344 
0345     if (_internal_has_size()) {
0346       // required uint32 size = 2;
0347       total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size(this->_internal_size());
0348     }
0349 
0350     if (_internal_has_flags()) {
0351       // required uint32 flags = 4;
0352       total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size(this->_internal_flags());
0353     }
0354 
0355     return total_size;
0356   }
0357   size_t ROOTFilePB_Histo::ByteSizeLong() const {
0358     // @@protoc_insertion_point(message_byte_size_start:dqmstorepb.ROOTFilePB.Histo)
0359     size_t total_size = 0;
0360 
0361     if (((_has_bits_[0] & 0x0000000f) ^ 0x0000000f) == 0) {  // All required fields are present.
0362       // required string full_pathname = 1;
0363       total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(this->_internal_full_pathname());
0364 
0365       // required bytes streamed_histo = 3;
0366       total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize(this->_internal_streamed_histo());
0367 
0368       // required uint32 size = 2;
0369       total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size(this->_internal_size());
0370 
0371       // required uint32 flags = 4;
0372       total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size(this->_internal_flags());
0373 
0374     } else {
0375       total_size += RequiredFieldsByteSizeFallback();
0376     }
0377     ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
0378     // Prevent compiler warnings about cached_has_bits being unused
0379     (void)cached_has_bits;
0380 
0381     if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
0382       return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize(
0383           _internal_metadata_, total_size, &_cached_size_);
0384     }
0385     int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size);
0386     SetCachedSize(cached_size);
0387     return total_size;
0388   }
0389 
0390   void ROOTFilePB_Histo::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) {
0391     // @@protoc_insertion_point(generalized_merge_from_start:dqmstorepb.ROOTFilePB.Histo)
0392     GOOGLE_DCHECK_NE(&from, this);
0393     const ROOTFilePB_Histo* source = ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<ROOTFilePB_Histo>(&from);
0394     if (source == nullptr) {
0395       // @@protoc_insertion_point(generalized_merge_from_cast_fail:dqmstorepb.ROOTFilePB.Histo)
0396       ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this);
0397     } else {
0398       // @@protoc_insertion_point(generalized_merge_from_cast_success:dqmstorepb.ROOTFilePB.Histo)
0399       MergeFrom(*source);
0400     }
0401   }
0402 
0403   void ROOTFilePB_Histo::MergeFrom(const ROOTFilePB_Histo& from) {
0404     // @@protoc_insertion_point(class_specific_merge_from_start:dqmstorepb.ROOTFilePB.Histo)
0405     GOOGLE_DCHECK_NE(&from, this);
0406     _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
0407     ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
0408     (void)cached_has_bits;
0409 
0410     cached_has_bits = from._has_bits_[0];
0411     if (cached_has_bits & 0x0000000fu) {
0412       if (cached_has_bits & 0x00000001u) {
0413         _internal_set_full_pathname(from._internal_full_pathname());
0414       }
0415       if (cached_has_bits & 0x00000002u) {
0416         _internal_set_streamed_histo(from._internal_streamed_histo());
0417       }
0418       if (cached_has_bits & 0x00000004u) {
0419         size_ = from.size_;
0420       }
0421       if (cached_has_bits & 0x00000008u) {
0422         flags_ = from.flags_;
0423       }
0424       _has_bits_[0] |= cached_has_bits;
0425     }
0426   }
0427 
0428   void ROOTFilePB_Histo::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) {
0429     // @@protoc_insertion_point(generalized_copy_from_start:dqmstorepb.ROOTFilePB.Histo)
0430     if (&from == this)
0431       return;
0432     Clear();
0433     MergeFrom(from);
0434   }
0435 
0436   void ROOTFilePB_Histo::CopyFrom(const ROOTFilePB_Histo& from) {
0437     // @@protoc_insertion_point(class_specific_copy_from_start:dqmstorepb.ROOTFilePB.Histo)
0438     if (&from == this)
0439       return;
0440     Clear();
0441     MergeFrom(from);
0442   }
0443 
0444   bool ROOTFilePB_Histo::IsInitialized() const {
0445     if (_Internal::MissingRequiredFields(_has_bits_))
0446       return false;
0447     return true;
0448   }
0449 
0450   void ROOTFilePB_Histo::InternalSwap(ROOTFilePB_Histo* other) {
0451     using std::swap;
0452     _internal_metadata_.Swap<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(&other->_internal_metadata_);
0453     swap(_has_bits_[0], other->_has_bits_[0]);
0454     full_pathname_.Swap(
0455         &other->full_pathname_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
0456     streamed_histo_.Swap(
0457         &other->streamed_histo_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
0458     ::PROTOBUF_NAMESPACE_ID::internal::memswap<PROTOBUF_FIELD_OFFSET(ROOTFilePB_Histo, flags_) +
0459                                                sizeof(ROOTFilePB_Histo::flags_) -
0460                                                PROTOBUF_FIELD_OFFSET(ROOTFilePB_Histo, size_)>(
0461         reinterpret_cast<char*>(&size_), reinterpret_cast<char*>(&other->size_));
0462   }
0463 
0464   ::PROTOBUF_NAMESPACE_ID::Metadata ROOTFilePB_Histo::GetMetadata() const { return GetMetadataStatic(); }
0465 
0466   // ===================================================================
0467 
0468   class ROOTFilePB::_Internal {
0469   public:
0470   };
0471 
0472   ROOTFilePB::ROOTFilePB(::PROTOBUF_NAMESPACE_ID::Arena* arena)
0473       : ::PROTOBUF_NAMESPACE_ID::Message(arena), histo_(arena) {
0474     SharedCtor();
0475     RegisterArenaDtor(arena);
0476     // @@protoc_insertion_point(arena_constructor:dqmstorepb.ROOTFilePB)
0477   }
0478   ROOTFilePB::ROOTFilePB(const ROOTFilePB& from) : ::PROTOBUF_NAMESPACE_ID::Message(), histo_(from.histo_) {
0479     _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
0480     // @@protoc_insertion_point(copy_constructor:dqmstorepb.ROOTFilePB)
0481   }
0482 
0483   void ROOTFilePB::SharedCtor() {}
0484 
0485   ROOTFilePB::~ROOTFilePB() {
0486     // @@protoc_insertion_point(destructor:dqmstorepb.ROOTFilePB)
0487     SharedDtor();
0488     _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
0489   }
0490 
0491   void ROOTFilePB::SharedDtor() { GOOGLE_DCHECK(GetArena() == nullptr); }
0492 
0493   void ROOTFilePB::ArenaDtor(void* object) {
0494     ROOTFilePB* _this = reinterpret_cast<ROOTFilePB*>(object);
0495     (void)_this;
0496   }
0497   void ROOTFilePB::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) {}
0498   void ROOTFilePB::SetCachedSize(int size) const { _cached_size_.Set(size); }
0499 
0500   void ROOTFilePB::Clear() {
0501     // @@protoc_insertion_point(message_clear_start:dqmstorepb.ROOTFilePB)
0502     ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
0503     // Prevent compiler warnings about cached_has_bits being unused
0504     (void)cached_has_bits;
0505 
0506     histo_.Clear();
0507     _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
0508   }
0509 
0510   const char* ROOTFilePB::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) {
0511 #define CHK_(x)                     \
0512   if (PROTOBUF_PREDICT_FALSE(!(x))) \
0513   goto failure
0514     while (!ctx->Done(&ptr)) {
0515       ::PROTOBUF_NAMESPACE_ID::uint32 tag;
0516       ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag);
0517       CHK_(ptr);
0518       switch (tag >> 3) {
0519         // repeated .dqmstorepb.ROOTFilePB.Histo histo = 1;
0520         case 1:
0521           if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) {
0522             ptr -= 1;
0523             do {
0524               ptr += 1;
0525               ptr = ctx->ParseMessage(_internal_add_histo(), ptr);
0526               CHK_(ptr);
0527               if (!ctx->DataAvailable(ptr))
0528                 break;
0529             } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<10>(ptr));
0530           } else
0531             goto handle_unusual;
0532           continue;
0533         default: {
0534         handle_unusual:
0535           if ((tag & 7) == 4 || tag == 0) {
0536             ctx->SetLastTag(tag);
0537             goto success;
0538           }
0539           ptr = UnknownFieldParse(
0540               tag, _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), ptr, ctx);
0541           CHK_(ptr != nullptr);
0542           continue;
0543         }
0544       }  // switch
0545     }    // while
0546   success:
0547     return ptr;
0548   failure:
0549     ptr = nullptr;
0550     goto success;
0551 #undef CHK_
0552   }
0553 
0554   ::PROTOBUF_NAMESPACE_ID::uint8* ROOTFilePB::_InternalSerialize(
0555       ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
0556     // @@protoc_insertion_point(serialize_to_array_start:dqmstorepb.ROOTFilePB)
0557     ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
0558     (void)cached_has_bits;
0559 
0560     // repeated .dqmstorepb.ROOTFilePB.Histo histo = 1;
0561     for (unsigned int i = 0, n = static_cast<unsigned int>(this->_internal_histo_size()); i < n; i++) {
0562       target = stream->EnsureSpace(target);
0563       target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::InternalWriteMessage(
0564           1, this->_internal_histo(i), target, stream);
0565     }
0566 
0567     if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
0568       target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray(
0569           _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(
0570               ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance),
0571           target,
0572           stream);
0573     }
0574     // @@protoc_insertion_point(serialize_to_array_end:dqmstorepb.ROOTFilePB)
0575     return target;
0576   }
0577 
0578   size_t ROOTFilePB::ByteSizeLong() const {
0579     // @@protoc_insertion_point(message_byte_size_start:dqmstorepb.ROOTFilePB)
0580     size_t total_size = 0;
0581 
0582     ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
0583     // Prevent compiler warnings about cached_has_bits being unused
0584     (void)cached_has_bits;
0585 
0586     // repeated .dqmstorepb.ROOTFilePB.Histo histo = 1;
0587     total_size += 1UL * this->_internal_histo_size();
0588     for (const auto& msg : this->histo_) {
0589       total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg);
0590     }
0591 
0592     if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
0593       return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize(
0594           _internal_metadata_, total_size, &_cached_size_);
0595     }
0596     int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size);
0597     SetCachedSize(cached_size);
0598     return total_size;
0599   }
0600 
0601   void ROOTFilePB::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) {
0602     // @@protoc_insertion_point(generalized_merge_from_start:dqmstorepb.ROOTFilePB)
0603     GOOGLE_DCHECK_NE(&from, this);
0604     const ROOTFilePB* source = ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<ROOTFilePB>(&from);
0605     if (source == nullptr) {
0606       // @@protoc_insertion_point(generalized_merge_from_cast_fail:dqmstorepb.ROOTFilePB)
0607       ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this);
0608     } else {
0609       // @@protoc_insertion_point(generalized_merge_from_cast_success:dqmstorepb.ROOTFilePB)
0610       MergeFrom(*source);
0611     }
0612   }
0613 
0614   void ROOTFilePB::MergeFrom(const ROOTFilePB& from) {
0615     // @@protoc_insertion_point(class_specific_merge_from_start:dqmstorepb.ROOTFilePB)
0616     GOOGLE_DCHECK_NE(&from, this);
0617     _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
0618     ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
0619     (void)cached_has_bits;
0620 
0621     histo_.MergeFrom(from.histo_);
0622   }
0623 
0624   void ROOTFilePB::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) {
0625     // @@protoc_insertion_point(generalized_copy_from_start:dqmstorepb.ROOTFilePB)
0626     if (&from == this)
0627       return;
0628     Clear();
0629     MergeFrom(from);
0630   }
0631 
0632   void ROOTFilePB::CopyFrom(const ROOTFilePB& from) {
0633     // @@protoc_insertion_point(class_specific_copy_from_start:dqmstorepb.ROOTFilePB)
0634     if (&from == this)
0635       return;
0636     Clear();
0637     MergeFrom(from);
0638   }
0639 
0640   bool ROOTFilePB::IsInitialized() const {
0641     if (!::PROTOBUF_NAMESPACE_ID::internal::AllAreInitialized(histo_))
0642       return false;
0643     return true;
0644   }
0645 
0646   void ROOTFilePB::InternalSwap(ROOTFilePB* other) {
0647     using std::swap;
0648     _internal_metadata_.Swap<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(&other->_internal_metadata_);
0649     histo_.InternalSwap(&other->histo_);
0650   }
0651 
0652   ::PROTOBUF_NAMESPACE_ID::Metadata ROOTFilePB::GetMetadata() const { return GetMetadataStatic(); }
0653 
0654   // @@protoc_insertion_point(namespace_scope)
0655 }  // namespace dqmstorepb
0656 PROTOBUF_NAMESPACE_OPEN
0657 template <>
0658 PROTOBUF_NOINLINE ::dqmstorepb::ROOTFilePB_Histo* Arena::CreateMaybeMessage<::dqmstorepb::ROOTFilePB_Histo>(
0659     Arena* arena) {
0660   return Arena::CreateMessageInternal<::dqmstorepb::ROOTFilePB_Histo>(arena);
0661 }
0662 template <>
0663 PROTOBUF_NOINLINE ::dqmstorepb::ROOTFilePB* Arena::CreateMaybeMessage<::dqmstorepb::ROOTFilePB>(Arena* arena) {
0664   return Arena::CreateMessageInternal<::dqmstorepb::ROOTFilePB>(arena);
0665 }
0666 PROTOBUF_NAMESPACE_CLOSE
0667 
0668 // @@protoc_insertion_point(global_scope)
0669 #include <google/protobuf/port_undef.inc>