diff --git a/DQMServices/Core/interface/ROOTFilePB.pb.h b/DQMServices/Core/interface/ROOTFilePB.pb.h index c406f8fb61b47..233d1bcce533b 100644 --- a/DQMServices/Core/interface/ROOTFilePB.pb.h +++ b/DQMServices/Core/interface/ROOTFilePB.pb.h @@ -1,79 +1,96 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: DQMServices/Core/src/ROOTFilePB.proto +// Protobuf C++ Version: 6.31.1 -#ifndef GOOGLE_PROTOBUF_INCLUDED_DQMServices_2fCore_2fsrc_2fROOTFilePB_2eproto -#define GOOGLE_PROTOBUF_INCLUDED_DQMServices_2fCore_2fsrc_2fROOTFilePB_2eproto +#ifndef DQMServices_2fCore_2fsrc_2fROOTFilePB_2eproto_2epb_2eh +#define DQMServices_2fCore_2fsrc_2fROOTFilePB_2eproto_2epb_2eh #include #include - -#include -#if PROTOBUF_VERSION < 3021000 -#error This file was generated by a newer version of protoc which is -#error incompatible with your Protocol Buffer headers. Please update -#error your headers. -#endif -#if 3021009 < PROTOBUF_MIN_PROTOC_VERSION -#error This file was generated by an older version of protoc which is -#error incompatible with your Protocol Buffer headers. Please -#error regenerate this file with a newer version of protoc. +#include +#include + +#include "google/protobuf/runtime_version.h" +#if PROTOBUF_VERSION != 6031001 +#error "Protobuf C++ gencode is built with an incompatible version of" +#error "Protobuf C++ headers/runtime. See" +#error "https://protobuf.dev/support/cross-version-runtime-guarantee/#cpp" #endif - -#include -#include -#include -#include -#include -#include -#include -#include -#include // IWYU pragma: export -#include // IWYU pragma: export -#include +#include "google/protobuf/io/coded_stream.h" +#include "google/protobuf/arena.h" +#include "google/protobuf/arenastring.h" +#include "google/protobuf/generated_message_tctable_decl.h" +#include "google/protobuf/generated_message_util.h" +#include "google/protobuf/metadata_lite.h" +#include "google/protobuf/generated_message_reflection.h" +#include "google/protobuf/message.h" +#include "google/protobuf/message_lite.h" +#include "google/protobuf/repeated_field.h" // IWYU pragma: export +#include "google/protobuf/extension_set.h" // IWYU pragma: export +#include "google/protobuf/unknown_field_set.h" // @@protoc_insertion_point(includes) -#include + +// Must be included last. +#include "google/protobuf/port_def.inc" + #define PROTOBUF_INTERNAL_EXPORT_DQMServices_2fCore_2fsrc_2fROOTFilePB_2eproto -PROTOBUF_NAMESPACE_OPEN -namespace internal { - class AnyMetadata; -} // namespace internal -PROTOBUF_NAMESPACE_CLOSE + +namespace google { + namespace protobuf { + namespace internal { + template + ::absl::string_view GetAnyMessageName(); + } // namespace internal + } // namespace protobuf +} // namespace google // Internal implementation detail -- do not use these members. struct TableStruct_DQMServices_2fCore_2fsrc_2fROOTFilePB_2eproto { - static const uint32_t offsets[]; + static const ::uint32_t offsets[]; }; -extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable +extern "C" { +extern const ::google::protobuf::internal::DescriptorTable descriptor_table_DQMServices_2fCore_2fsrc_2fROOTFilePB_2eproto; +} // extern "C" namespace dqmstorepb { class ROOTFilePB; struct ROOTFilePBDefaultTypeInternal; extern ROOTFilePBDefaultTypeInternal _ROOTFilePB_default_instance_; + extern const ::google::protobuf::internal::ClassDataFull ROOTFilePB_class_data_; class ROOTFilePB_Histo; struct ROOTFilePB_HistoDefaultTypeInternal; extern ROOTFilePB_HistoDefaultTypeInternal _ROOTFilePB_Histo_default_instance_; + extern const ::google::protobuf::internal::ClassDataFull ROOTFilePB_Histo_class_data_; } // namespace dqmstorepb -PROTOBUF_NAMESPACE_OPEN -template <> -::dqmstorepb::ROOTFilePB* Arena::CreateMaybeMessage<::dqmstorepb::ROOTFilePB>(Arena*); -template <> -::dqmstorepb::ROOTFilePB_Histo* Arena::CreateMaybeMessage<::dqmstorepb::ROOTFilePB_Histo>(Arena*); -PROTOBUF_NAMESPACE_CLOSE +namespace google { + namespace protobuf {} // namespace protobuf +} // namespace google + namespace dqmstorepb { // =================================================================== - class ROOTFilePB_Histo final - : public ::PROTOBUF_NAMESPACE_ID:: - Message /* @@protoc_insertion_point(class_definition:dqmstorepb.ROOTFilePB.Histo) */ { + // ------------------------------------------------------------------- + + class ROOTFilePB_Histo final : public ::google::protobuf::Message + /* @@protoc_insertion_point(class_definition:dqmstorepb.ROOTFilePB.Histo) */ { public: inline ROOTFilePB_Histo() : ROOTFilePB_Histo(nullptr) {} - ~ROOTFilePB_Histo() override; - explicit PROTOBUF_CONSTEXPR ROOTFilePB_Histo(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + ~ROOTFilePB_Histo() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(ROOTFilePB_Histo* PROTOBUF_NONNULL msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(ROOTFilePB_Histo)); + } +#endif - ROOTFilePB_Histo(const ROOTFilePB_Histo& from); - ROOTFilePB_Histo(ROOTFilePB_Histo&& from) noexcept : ROOTFilePB_Histo() { *this = ::std::move(from); } + template + explicit PROTOBUF_CONSTEXPR ROOTFilePB_Histo(::google::protobuf::internal::ConstantInitialized); + inline ROOTFilePB_Histo(const ROOTFilePB_Histo& from) : ROOTFilePB_Histo(nullptr, from) {} + inline ROOTFilePB_Histo(ROOTFilePB_Histo&& from) noexcept : ROOTFilePB_Histo(nullptr, ::std::move(from)) {} inline ROOTFilePB_Histo& operator=(const ROOTFilePB_Histo& from) { CopyFrom(from); return *this; @@ -81,11 +98,7 @@ namespace dqmstorepb { inline ROOTFilePB_Histo& operator=(ROOTFilePB_Histo&& from) noexcept { if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() -#ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr -#endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { InternalSwap(&from); } else { CopyFrom(from); @@ -93,93 +106,116 @@ namespace dqmstorepb { return *this; } - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>( - ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>( + ::google::protobuf::UnknownFieldSet::default_instance); } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { return GetDescriptor(); } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { + static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() { return GetDescriptor(); } + static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() { return default_instance().GetMetadata().descriptor; } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { + static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() { return default_instance().GetMetadata().reflection; } - static const ROOTFilePB_Histo& default_instance() { return *internal_default_instance(); } - static inline const ROOTFilePB_Histo* internal_default_instance() { - return reinterpret_cast(&_ROOTFilePB_Histo_default_instance_); + static const ROOTFilePB_Histo& default_instance() { + return *reinterpret_cast(&_ROOTFilePB_Histo_default_instance_); } static constexpr int kIndexInFileMessages = 0; - friend void swap(ROOTFilePB_Histo& a, ROOTFilePB_Histo& b) { a.Swap(&b); } - inline void Swap(ROOTFilePB_Histo* other) { + inline void Swap(ROOTFilePB_Histo* PROTOBUF_NONNULL other) { if (other == this) return; -#ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && GetOwningArena() == other->GetOwningArena()) { -#else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { -#endif // !PROTOBUF_FORCE_COPY_IN_SWAP + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { InternalSwap(other); } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); + ::google::protobuf::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(ROOTFilePB_Histo* other) { + void UnsafeArenaSwap(ROOTFilePB_Histo* PROTOBUF_NONNULL other) { if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + ABSL_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); } // implements Message ---------------------------------------------- - ROOTFilePB_Histo* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); + ROOTFilePB_Histo* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + using ::google::protobuf::Message::CopyFrom; void CopyFrom(const ROOTFilePB_Histo& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + using ::google::protobuf::Message::MergeFrom; void MergeFrom(const ROOTFilePB_Histo& from) { ROOTFilePB_Histo::MergeImpl(*this, from); } private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); + static void MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg); public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; + bool IsInitialized() const { return IsInitializedImpl(*this); } - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize(uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } + private: + static bool IsInitializedImpl(const MessageLite& msg); + public: + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; +#if defined(PROTOBUF_CUSTOM_VTABLE) private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(ROOTFilePB_Histo* other); + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* PROTOBUF_NONNULL + _InternalSerialize(const ::google::protobuf::MessageLite& msg, + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* PROTOBUF_NONNULL + _InternalSerialize(::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { + return _InternalSerialize(*this, target, stream); + } +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* PROTOBUF_NONNULL + _InternalSerialize(::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final; +#endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "dqmstorepb.ROOTFilePB.Histo"; } + void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(ROOTFilePB_Histo* PROTOBUF_NONNULL other); + + private: + template + friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "dqmstorepb.ROOTFilePB.Histo"; } protected: - explicit ROOTFilePB_Histo(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false); + explicit ROOTFilePB_Histo(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + ROOTFilePB_Histo(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const ROOTFilePB_Histo& from); + ROOTFilePB_Histo(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, ROOTFilePB_Histo&& from) noexcept + : ROOTFilePB_Histo(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; + static void* PROTOBUF_NONNULL PlacementNew_(const void* PROTOBUF_NONNULL, + void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + static constexpr auto InternalNewImpl_(); public: - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData* GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; + static constexpr auto InternalGenerateClassData_(); + ::google::protobuf::Metadata GetMetadata() const; // nested types ---------------------------------------------------- // accessors ------------------------------------------------------- - enum : int { kFullPathnameFieldNumber = 1, kStreamedHistoFieldNumber = 3, @@ -188,114 +224,113 @@ namespace dqmstorepb { }; // required string full_pathname = 1; bool has_full_pathname() const; - - private: - bool _internal_has_full_pathname() const; - - public: void clear_full_pathname(); - const std::string& full_pathname() const; - template - void set_full_pathname(ArgT0&& arg0, ArgT... args); - std::string* mutable_full_pathname(); - PROTOBUF_NODISCARD std::string* release_full_pathname(); - void set_allocated_full_pathname(std::string* full_pathname); + const ::std::string& full_pathname() const; + template + void set_full_pathname(Arg_&& arg, Args_... args); + ::std::string* PROTOBUF_NONNULL mutable_full_pathname(); + [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_full_pathname(); + void set_allocated_full_pathname(::std::string* PROTOBUF_NULLABLE value); private: - const std::string& _internal_full_pathname() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_full_pathname(const std::string& value); - std::string* _internal_mutable_full_pathname(); + const ::std::string& _internal_full_pathname() const; + PROTOBUF_ALWAYS_INLINE void _internal_set_full_pathname(const ::std::string& value); + ::std::string* PROTOBUF_NONNULL _internal_mutable_full_pathname(); public: // required bytes streamed_histo = 3; bool has_streamed_histo() const; - - private: - bool _internal_has_streamed_histo() const; - - public: void clear_streamed_histo(); - const std::string& streamed_histo() const; - template - void set_streamed_histo(ArgT0&& arg0, ArgT... args); - std::string* mutable_streamed_histo(); - PROTOBUF_NODISCARD std::string* release_streamed_histo(); - void set_allocated_streamed_histo(std::string* streamed_histo); + const ::std::string& streamed_histo() const; + template + void set_streamed_histo(Arg_&& arg, Args_... args); + ::std::string* PROTOBUF_NONNULL mutable_streamed_histo(); + [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_streamed_histo(); + void set_allocated_streamed_histo(::std::string* PROTOBUF_NULLABLE value); private: - const std::string& _internal_streamed_histo() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_streamed_histo(const std::string& value); - std::string* _internal_mutable_streamed_histo(); + const ::std::string& _internal_streamed_histo() const; + PROTOBUF_ALWAYS_INLINE void _internal_set_streamed_histo(const ::std::string& value); + ::std::string* PROTOBUF_NONNULL _internal_mutable_streamed_histo(); public: // required uint32 size = 2; bool has_size() const; - - private: - bool _internal_has_size() const; - - public: void clear_size(); - uint32_t size() const; - void set_size(uint32_t value); + ::uint32_t size() const; + void set_size(::uint32_t value); private: - uint32_t _internal_size() const; - void _internal_set_size(uint32_t value); + ::uint32_t _internal_size() const; + void _internal_set_size(::uint32_t value); public: // required uint32 flags = 4; bool has_flags() const; - - private: - bool _internal_has_flags() const; - - public: void clear_flags(); - uint32_t flags() const; - void set_flags(uint32_t value); + ::uint32_t flags() const; + void set_flags(::uint32_t value); private: - uint32_t _internal_flags() const; - void _internal_set_flags(uint32_t value); + ::uint32_t _internal_flags() const; + void _internal_set_flags(::uint32_t value); public: // @@protoc_insertion_point(class_scope:dqmstorepb.ROOTFilePB.Histo) private: class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable<2, 4, 0, 49, 2> _table_; - // helper for ByteSizeLong() - size_t RequiredFieldsByteSizeFallback() const; - + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; template - friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr full_pathname_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr streamed_histo_; - uint32_t size_; - uint32_t flags_; + inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, + const Impl_& from, + const ROOTFilePB_Histo& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::google::protobuf::internal::ArenaStringPtr full_pathname_; + ::google::protobuf::internal::ArenaStringPtr streamed_histo_; + ::uint32_t size_; + ::uint32_t flags_; + PROTOBUF_TSAN_DECLARE_MEMBER }; union { Impl_ _impl_; }; friend struct ::TableStruct_DQMServices_2fCore_2fsrc_2fROOTFilePB_2eproto; }; + + extern const ::google::protobuf::internal::ClassDataFull ROOTFilePB_Histo_class_data_; // ------------------------------------------------------------------- - class ROOTFilePB final - : public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:dqmstorepb.ROOTFilePB) */ { + class ROOTFilePB final : public ::google::protobuf::Message + /* @@protoc_insertion_point(class_definition:dqmstorepb.ROOTFilePB) */ { public: inline ROOTFilePB() : ROOTFilePB(nullptr) {} - ~ROOTFilePB() override; - explicit PROTOBUF_CONSTEXPR ROOTFilePB(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + ~ROOTFilePB() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(ROOTFilePB* PROTOBUF_NONNULL msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(ROOTFilePB)); + } +#endif - ROOTFilePB(const ROOTFilePB& from); - ROOTFilePB(ROOTFilePB&& from) noexcept : ROOTFilePB() { *this = ::std::move(from); } + template + explicit PROTOBUF_CONSTEXPR ROOTFilePB(::google::protobuf::internal::ConstantInitialized); + inline ROOTFilePB(const ROOTFilePB& from) : ROOTFilePB(nullptr, from) {} + inline ROOTFilePB(ROOTFilePB&& from) noexcept : ROOTFilePB(nullptr, ::std::move(from)) {} inline ROOTFilePB& operator=(const ROOTFilePB& from) { CopyFrom(from); return *this; @@ -303,11 +338,7 @@ namespace dqmstorepb { inline ROOTFilePB& operator=(ROOTFilePB&& from) noexcept { if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() -#ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr -#endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { InternalSwap(&from); } else { CopyFrom(from); @@ -315,95 +346,116 @@ namespace dqmstorepb { return *this; } - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>( - ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>( + ::google::protobuf::UnknownFieldSet::default_instance); } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { return GetDescriptor(); } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { + static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() { return GetDescriptor(); } + static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() { return default_instance().GetMetadata().descriptor; } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { + static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() { return default_instance().GetMetadata().reflection; } - static const ROOTFilePB& default_instance() { return *internal_default_instance(); } - static inline const ROOTFilePB* internal_default_instance() { - return reinterpret_cast(&_ROOTFilePB_default_instance_); + static const ROOTFilePB& default_instance() { + return *reinterpret_cast(&_ROOTFilePB_default_instance_); } static constexpr int kIndexInFileMessages = 1; - friend void swap(ROOTFilePB& a, ROOTFilePB& b) { a.Swap(&b); } - inline void Swap(ROOTFilePB* other) { + inline void Swap(ROOTFilePB* PROTOBUF_NONNULL other) { if (other == this) return; -#ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && GetOwningArena() == other->GetOwningArena()) { -#else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { -#endif // !PROTOBUF_FORCE_COPY_IN_SWAP + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { InternalSwap(other); } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); + ::google::protobuf::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(ROOTFilePB* other) { + void UnsafeArenaSwap(ROOTFilePB* PROTOBUF_NONNULL other) { if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + ABSL_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); } // implements Message ---------------------------------------------- - ROOTFilePB* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); + ROOTFilePB* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + using ::google::protobuf::Message::CopyFrom; void CopyFrom(const ROOTFilePB& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + using ::google::protobuf::Message::MergeFrom; void MergeFrom(const ROOTFilePB& from) { ROOTFilePB::MergeImpl(*this, from); } private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); + static void MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg); public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; + bool IsInitialized() const { return IsInitializedImpl(*this); } - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize(uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } + private: + static bool IsInitializedImpl(const MessageLite& msg); + public: + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; +#if defined(PROTOBUF_CUSTOM_VTABLE) private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(ROOTFilePB* other); + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* PROTOBUF_NONNULL + _InternalSerialize(const ::google::protobuf::MessageLite& msg, + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* PROTOBUF_NONNULL + _InternalSerialize(::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { + return _InternalSerialize(*this, target, stream); + } +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* PROTOBUF_NONNULL + _InternalSerialize(::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final; +#endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "dqmstorepb.ROOTFilePB"; } + void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(ROOTFilePB* PROTOBUF_NONNULL other); + + private: + template + friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "dqmstorepb.ROOTFilePB"; } protected: - explicit ROOTFilePB(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false); + explicit ROOTFilePB(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + ROOTFilePB(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const ROOTFilePB& from); + ROOTFilePB(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, ROOTFilePB&& from) noexcept : ROOTFilePB(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; + static void* PROTOBUF_NONNULL PlacementNew_(const void* PROTOBUF_NONNULL, + void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + static constexpr auto InternalNewImpl_(); public: - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData* GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; + static constexpr auto InternalGenerateClassData_(); + ::google::protobuf::Metadata GetMetadata() const; // nested types ---------------------------------------------------- - - typedef ROOTFilePB_Histo Histo; + using Histo = ROOTFilePB_Histo; // accessors ------------------------------------------------------- - enum : int { kHistoFieldNumber = 1, }; @@ -415,35 +467,49 @@ namespace dqmstorepb { public: void clear_histo(); - ::dqmstorepb::ROOTFilePB_Histo* mutable_histo(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<::dqmstorepb::ROOTFilePB_Histo>* mutable_histo(); + ::dqmstorepb::ROOTFilePB_Histo* PROTOBUF_NONNULL mutable_histo(int index); + ::google::protobuf::RepeatedPtrField<::dqmstorepb::ROOTFilePB_Histo>* PROTOBUF_NONNULL mutable_histo(); private: - const ::dqmstorepb::ROOTFilePB_Histo& _internal_histo(int index) const; - ::dqmstorepb::ROOTFilePB_Histo* _internal_add_histo(); + const ::google::protobuf::RepeatedPtrField<::dqmstorepb::ROOTFilePB_Histo>& _internal_histo() const; + ::google::protobuf::RepeatedPtrField<::dqmstorepb::ROOTFilePB_Histo>* PROTOBUF_NONNULL _internal_mutable_histo(); public: const ::dqmstorepb::ROOTFilePB_Histo& histo(int index) const; - ::dqmstorepb::ROOTFilePB_Histo* add_histo(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<::dqmstorepb::ROOTFilePB_Histo>& histo() const; - + ::dqmstorepb::ROOTFilePB_Histo* PROTOBUF_NONNULL add_histo(); + const ::google::protobuf::RepeatedPtrField<::dqmstorepb::ROOTFilePB_Histo>& histo() const; // @@protoc_insertion_point(class_scope:dqmstorepb.ROOTFilePB) private: class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable<0, 1, 1, 0, 2> _table_; + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; template - friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<::dqmstorepb::ROOTFilePB_Histo> histo_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, + const Impl_& from, + const ROOTFilePB& from_msg); + ::google::protobuf::RepeatedPtrField<::dqmstorepb::ROOTFilePB_Histo> histo_; + ::google::protobuf::internal::CachedSize _cached_size_; + PROTOBUF_TSAN_DECLARE_MEMBER }; union { Impl_ _impl_; }; friend struct ::TableStruct_DQMServices_2fCore_2fsrc_2fROOTFilePB_2eproto; }; + + extern const ::google::protobuf::internal::ClassDataFull ROOTFilePB_class_data_; + // =================================================================== // =================================================================== @@ -452,226 +518,257 @@ namespace dqmstorepb { #pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Wstrict-aliasing" #endif // __GNUC__ + // ------------------------------------------------------------------- + // ROOTFilePB_Histo // required string full_pathname = 1; - inline bool ROOTFilePB_Histo::_internal_has_full_pathname() const { + inline bool ROOTFilePB_Histo::has_full_pathname() const { bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; return value; } - inline bool ROOTFilePB_Histo::has_full_pathname() const { return _internal_has_full_pathname(); } inline void ROOTFilePB_Histo::clear_full_pathname() { + ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.full_pathname_.ClearToEmpty(); _impl_._has_bits_[0] &= ~0x00000001u; } - inline const std::string& ROOTFilePB_Histo::full_pathname() const { + inline const ::std::string& ROOTFilePB_Histo::full_pathname() const ABSL_ATTRIBUTE_LIFETIME_BOUND { // @@protoc_insertion_point(field_get:dqmstorepb.ROOTFilePB.Histo.full_pathname) return _internal_full_pathname(); } - template - inline PROTOBUF_ALWAYS_INLINE void ROOTFilePB_Histo::set_full_pathname(ArgT0&& arg0, ArgT... args) { + template + PROTOBUF_ALWAYS_INLINE void ROOTFilePB_Histo::set_full_pathname(Arg_&& arg, Args_... args) { + ::google::protobuf::internal::TSanWrite(&_impl_); _impl_._has_bits_[0] |= 0x00000001u; - _impl_.full_pathname_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + _impl_.full_pathname_.Set(static_cast(arg), args..., GetArena()); // @@protoc_insertion_point(field_set:dqmstorepb.ROOTFilePB.Histo.full_pathname) } - inline std::string* ROOTFilePB_Histo::mutable_full_pathname() { - std::string* _s = _internal_mutable_full_pathname(); + inline ::std::string* PROTOBUF_NONNULL ROOTFilePB_Histo::mutable_full_pathname() ABSL_ATTRIBUTE_LIFETIME_BOUND { + ::std::string* _s = _internal_mutable_full_pathname(); // @@protoc_insertion_point(field_mutable:dqmstorepb.ROOTFilePB.Histo.full_pathname) return _s; } - inline const std::string& ROOTFilePB_Histo::_internal_full_pathname() const { return _impl_.full_pathname_.Get(); } - inline void ROOTFilePB_Histo::_internal_set_full_pathname(const std::string& value) { + inline const ::std::string& ROOTFilePB_Histo::_internal_full_pathname() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.full_pathname_.Get(); + } + inline void ROOTFilePB_Histo::_internal_set_full_pathname(const ::std::string& value) { + ::google::protobuf::internal::TSanWrite(&_impl_); _impl_._has_bits_[0] |= 0x00000001u; - _impl_.full_pathname_.Set(value, GetArenaForAllocation()); + _impl_.full_pathname_.Set(value, GetArena()); } - inline std::string* ROOTFilePB_Histo::_internal_mutable_full_pathname() { + inline ::std::string* PROTOBUF_NONNULL ROOTFilePB_Histo::_internal_mutable_full_pathname() { + ::google::protobuf::internal::TSanWrite(&_impl_); _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.full_pathname_.Mutable(GetArenaForAllocation()); + return _impl_.full_pathname_.Mutable(GetArena()); } - inline std::string* ROOTFilePB_Histo::release_full_pathname() { + inline ::std::string* PROTOBUF_NULLABLE ROOTFilePB_Histo::release_full_pathname() { + ::google::protobuf::internal::TSanWrite(&_impl_); // @@protoc_insertion_point(field_release:dqmstorepb.ROOTFilePB.Histo.full_pathname) - if (!_internal_has_full_pathname()) { + if ((_impl_._has_bits_[0] & 0x00000001u) == 0) { return nullptr; } _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.full_pathname_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.full_pathname_.IsDefault()) { - _impl_.full_pathname_.Set("", GetArenaForAllocation()); + auto* released = _impl_.full_pathname_.Release(); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { + _impl_.full_pathname_.Set("", GetArena()); } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; + return released; } - inline void ROOTFilePB_Histo::set_allocated_full_pathname(std::string* full_pathname) { - if (full_pathname != nullptr) { + inline void ROOTFilePB_Histo::set_allocated_full_pathname(::std::string* PROTOBUF_NULLABLE value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (value != nullptr) { _impl_._has_bits_[0] |= 0x00000001u; } else { _impl_._has_bits_[0] &= ~0x00000001u; } - _impl_.full_pathname_.SetAllocated(full_pathname, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.full_pathname_.IsDefault()) { - _impl_.full_pathname_.Set("", GetArenaForAllocation()); + _impl_.full_pathname_.SetAllocated(value, GetArena()); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.full_pathname_.IsDefault()) { + _impl_.full_pathname_.Set("", GetArena()); } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING // @@protoc_insertion_point(field_set_allocated:dqmstorepb.ROOTFilePB.Histo.full_pathname) } // required uint32 size = 2; - inline bool ROOTFilePB_Histo::_internal_has_size() const { + inline bool ROOTFilePB_Histo::has_size() const { bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; return value; } - inline bool ROOTFilePB_Histo::has_size() const { return _internal_has_size(); } inline void ROOTFilePB_Histo::clear_size() { + ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.size_ = 0u; _impl_._has_bits_[0] &= ~0x00000004u; } - inline uint32_t ROOTFilePB_Histo::_internal_size() const { return _impl_.size_; } - inline uint32_t ROOTFilePB_Histo::size() const { + inline ::uint32_t ROOTFilePB_Histo::size() const { // @@protoc_insertion_point(field_get:dqmstorepb.ROOTFilePB.Histo.size) return _internal_size(); } - inline void ROOTFilePB_Histo::_internal_set_size(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.size_ = value; - } - inline void ROOTFilePB_Histo::set_size(uint32_t value) { + inline void ROOTFilePB_Histo::set_size(::uint32_t value) { _internal_set_size(value); + _impl_._has_bits_[0] |= 0x00000004u; // @@protoc_insertion_point(field_set:dqmstorepb.ROOTFilePB.Histo.size) } + inline ::uint32_t ROOTFilePB_Histo::_internal_size() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.size_; + } + inline void ROOTFilePB_Histo::_internal_set_size(::uint32_t value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.size_ = value; + } // required bytes streamed_histo = 3; - inline bool ROOTFilePB_Histo::_internal_has_streamed_histo() const { + inline bool ROOTFilePB_Histo::has_streamed_histo() const { bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; return value; } - inline bool ROOTFilePB_Histo::has_streamed_histo() const { return _internal_has_streamed_histo(); } inline void ROOTFilePB_Histo::clear_streamed_histo() { + ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.streamed_histo_.ClearToEmpty(); _impl_._has_bits_[0] &= ~0x00000002u; } - inline const std::string& ROOTFilePB_Histo::streamed_histo() const { + inline const ::std::string& ROOTFilePB_Histo::streamed_histo() const ABSL_ATTRIBUTE_LIFETIME_BOUND { // @@protoc_insertion_point(field_get:dqmstorepb.ROOTFilePB.Histo.streamed_histo) return _internal_streamed_histo(); } - template - inline PROTOBUF_ALWAYS_INLINE void ROOTFilePB_Histo::set_streamed_histo(ArgT0&& arg0, ArgT... args) { + template + PROTOBUF_ALWAYS_INLINE void ROOTFilePB_Histo::set_streamed_histo(Arg_&& arg, Args_... args) { + ::google::protobuf::internal::TSanWrite(&_impl_); _impl_._has_bits_[0] |= 0x00000002u; - _impl_.streamed_histo_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); + _impl_.streamed_histo_.SetBytes(static_cast(arg), args..., GetArena()); // @@protoc_insertion_point(field_set:dqmstorepb.ROOTFilePB.Histo.streamed_histo) } - inline std::string* ROOTFilePB_Histo::mutable_streamed_histo() { - std::string* _s = _internal_mutable_streamed_histo(); + inline ::std::string* PROTOBUF_NONNULL ROOTFilePB_Histo::mutable_streamed_histo() ABSL_ATTRIBUTE_LIFETIME_BOUND { + ::std::string* _s = _internal_mutable_streamed_histo(); // @@protoc_insertion_point(field_mutable:dqmstorepb.ROOTFilePB.Histo.streamed_histo) return _s; } - inline const std::string& ROOTFilePB_Histo::_internal_streamed_histo() const { return _impl_.streamed_histo_.Get(); } - inline void ROOTFilePB_Histo::_internal_set_streamed_histo(const std::string& value) { + inline const ::std::string& ROOTFilePB_Histo::_internal_streamed_histo() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.streamed_histo_.Get(); + } + inline void ROOTFilePB_Histo::_internal_set_streamed_histo(const ::std::string& value) { + ::google::protobuf::internal::TSanWrite(&_impl_); _impl_._has_bits_[0] |= 0x00000002u; - _impl_.streamed_histo_.Set(value, GetArenaForAllocation()); + _impl_.streamed_histo_.Set(value, GetArena()); } - inline std::string* ROOTFilePB_Histo::_internal_mutable_streamed_histo() { + inline ::std::string* PROTOBUF_NONNULL ROOTFilePB_Histo::_internal_mutable_streamed_histo() { + ::google::protobuf::internal::TSanWrite(&_impl_); _impl_._has_bits_[0] |= 0x00000002u; - return _impl_.streamed_histo_.Mutable(GetArenaForAllocation()); + return _impl_.streamed_histo_.Mutable(GetArena()); } - inline std::string* ROOTFilePB_Histo::release_streamed_histo() { + inline ::std::string* PROTOBUF_NULLABLE ROOTFilePB_Histo::release_streamed_histo() { + ::google::protobuf::internal::TSanWrite(&_impl_); // @@protoc_insertion_point(field_release:dqmstorepb.ROOTFilePB.Histo.streamed_histo) - if (!_internal_has_streamed_histo()) { + if ((_impl_._has_bits_[0] & 0x00000002u) == 0) { return nullptr; } _impl_._has_bits_[0] &= ~0x00000002u; - auto* p = _impl_.streamed_histo_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.streamed_histo_.IsDefault()) { - _impl_.streamed_histo_.Set("", GetArenaForAllocation()); + auto* released = _impl_.streamed_histo_.Release(); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { + _impl_.streamed_histo_.Set("", GetArena()); } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; + return released; } - inline void ROOTFilePB_Histo::set_allocated_streamed_histo(std::string* streamed_histo) { - if (streamed_histo != nullptr) { + inline void ROOTFilePB_Histo::set_allocated_streamed_histo(::std::string* PROTOBUF_NULLABLE value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (value != nullptr) { _impl_._has_bits_[0] |= 0x00000002u; } else { _impl_._has_bits_[0] &= ~0x00000002u; } - _impl_.streamed_histo_.SetAllocated(streamed_histo, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.streamed_histo_.IsDefault()) { - _impl_.streamed_histo_.Set("", GetArenaForAllocation()); + _impl_.streamed_histo_.SetAllocated(value, GetArena()); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.streamed_histo_.IsDefault()) { + _impl_.streamed_histo_.Set("", GetArena()); } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING // @@protoc_insertion_point(field_set_allocated:dqmstorepb.ROOTFilePB.Histo.streamed_histo) } // required uint32 flags = 4; - inline bool ROOTFilePB_Histo::_internal_has_flags() const { + inline bool ROOTFilePB_Histo::has_flags() const { bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; return value; } - inline bool ROOTFilePB_Histo::has_flags() const { return _internal_has_flags(); } inline void ROOTFilePB_Histo::clear_flags() { + ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.flags_ = 0u; _impl_._has_bits_[0] &= ~0x00000008u; } - inline uint32_t ROOTFilePB_Histo::_internal_flags() const { return _impl_.flags_; } - inline uint32_t ROOTFilePB_Histo::flags() const { + inline ::uint32_t ROOTFilePB_Histo::flags() const { // @@protoc_insertion_point(field_get:dqmstorepb.ROOTFilePB.Histo.flags) return _internal_flags(); } - inline void ROOTFilePB_Histo::_internal_set_flags(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.flags_ = value; - } - inline void ROOTFilePB_Histo::set_flags(uint32_t value) { + inline void ROOTFilePB_Histo::set_flags(::uint32_t value) { _internal_set_flags(value); + _impl_._has_bits_[0] |= 0x00000008u; // @@protoc_insertion_point(field_set:dqmstorepb.ROOTFilePB.Histo.flags) } + inline ::uint32_t ROOTFilePB_Histo::_internal_flags() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.flags_; + } + inline void ROOTFilePB_Histo::_internal_set_flags(::uint32_t value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.flags_ = value; + } // ------------------------------------------------------------------- // ROOTFilePB // repeated .dqmstorepb.ROOTFilePB.Histo histo = 1; - inline int ROOTFilePB::_internal_histo_size() const { return _impl_.histo_.size(); } + inline int ROOTFilePB::_internal_histo_size() const { return _internal_histo().size(); } inline int ROOTFilePB::histo_size() const { return _internal_histo_size(); } - inline void ROOTFilePB::clear_histo() { _impl_.histo_.Clear(); } - inline ::dqmstorepb::ROOTFilePB_Histo* ROOTFilePB::mutable_histo(int index) { + inline void ROOTFilePB::clear_histo() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.histo_.Clear(); + } + inline ::dqmstorepb::ROOTFilePB_Histo* PROTOBUF_NONNULL ROOTFilePB::mutable_histo(int index) + ABSL_ATTRIBUTE_LIFETIME_BOUND { // @@protoc_insertion_point(field_mutable:dqmstorepb.ROOTFilePB.histo) - return _impl_.histo_.Mutable(index); + return _internal_mutable_histo()->Mutable(index); } - inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<::dqmstorepb::ROOTFilePB_Histo>* ROOTFilePB::mutable_histo() { + inline ::google::protobuf::RepeatedPtrField<::dqmstorepb::ROOTFilePB_Histo>* PROTOBUF_NONNULL + ROOTFilePB::mutable_histo() ABSL_ATTRIBUTE_LIFETIME_BOUND { // @@protoc_insertion_point(field_mutable_list:dqmstorepb.ROOTFilePB.histo) - return &_impl_.histo_; - } - inline const ::dqmstorepb::ROOTFilePB_Histo& ROOTFilePB::_internal_histo(int index) const { - return _impl_.histo_.Get(index); + ::google::protobuf::internal::TSanWrite(&_impl_); + return _internal_mutable_histo(); } - inline const ::dqmstorepb::ROOTFilePB_Histo& ROOTFilePB::histo(int index) const { + inline const ::dqmstorepb::ROOTFilePB_Histo& ROOTFilePB::histo(int index) const ABSL_ATTRIBUTE_LIFETIME_BOUND { // @@protoc_insertion_point(field_get:dqmstorepb.ROOTFilePB.histo) - return _internal_histo(index); + return _internal_histo().Get(index); } - inline ::dqmstorepb::ROOTFilePB_Histo* ROOTFilePB::_internal_add_histo() { return _impl_.histo_.Add(); } - inline ::dqmstorepb::ROOTFilePB_Histo* ROOTFilePB::add_histo() { - ::dqmstorepb::ROOTFilePB_Histo* _add = _internal_add_histo(); + inline ::dqmstorepb::ROOTFilePB_Histo* PROTOBUF_NONNULL ROOTFilePB::add_histo() ABSL_ATTRIBUTE_LIFETIME_BOUND { + ::google::protobuf::internal::TSanWrite(&_impl_); + ::dqmstorepb::ROOTFilePB_Histo* _add = _internal_mutable_histo()->Add(); // @@protoc_insertion_point(field_add:dqmstorepb.ROOTFilePB.histo) return _add; } - inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<::dqmstorepb::ROOTFilePB_Histo>& ROOTFilePB::histo() const { + inline const ::google::protobuf::RepeatedPtrField<::dqmstorepb::ROOTFilePB_Histo>& ROOTFilePB::histo() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { // @@protoc_insertion_point(field_list:dqmstorepb.ROOTFilePB.histo) + return _internal_histo(); + } + inline const ::google::protobuf::RepeatedPtrField<::dqmstorepb::ROOTFilePB_Histo>& ROOTFilePB::_internal_histo() + const { + ::google::protobuf::internal::TSanRead(&_impl_); return _impl_.histo_; } + inline ::google::protobuf::RepeatedPtrField<::dqmstorepb::ROOTFilePB_Histo>* PROTOBUF_NONNULL + ROOTFilePB::_internal_mutable_histo() { + ::google::protobuf::internal::TSanRead(&_impl_); + return &_impl_.histo_; + } #ifdef __GNUC__ #pragma GCC diagnostic pop #endif // __GNUC__ - // ------------------------------------------------------------------- // @@protoc_insertion_point(namespace_scope) - } // namespace dqmstorepb // @@protoc_insertion_point(global_scope) -#include -#endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_DQMServices_2fCore_2fsrc_2fROOTFilePB_2eproto +#include "google/protobuf/port_undef.inc" + +#endif // DQMServices_2fCore_2fsrc_2fROOTFilePB_2eproto_2epb_2eh diff --git a/DQMServices/Core/src/ROOTFilePB.pb.cc b/DQMServices/Core/src/ROOTFilePB.pb.cc index dac7d61ac92a6..7edd7178d7693 100644 --- a/DQMServices/Core/src/ROOTFilePB.pb.cc +++ b/DQMServices/Core/src/ROOTFilePB.pb.cc @@ -1,34 +1,47 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: DQMServices/Core/src/ROOTFilePB.proto +// Protobuf C++ Version: 6.31.1 #include "DQMServices/Core/interface/ROOTFilePB.pb.h" #include - -#include -#include -#include -#include -#include -#include -#include +#include +#include "google/protobuf/io/coded_stream.h" +#include "google/protobuf/generated_message_tctable_impl.h" +#include "google/protobuf/extension_set.h" +#include "google/protobuf/generated_message_util.h" +#include "google/protobuf/wire_format_lite.h" +#include "google/protobuf/descriptor.h" +#include "google/protobuf/generated_message_reflection.h" +#include "google/protobuf/reflection_ops.h" +#include "google/protobuf/wire_format.h" // @@protoc_insertion_point(includes) -#include +// Must be included last. +#include "google/protobuf/port_def.inc" PROTOBUF_PRAGMA_INIT_SEG +namespace _pb = ::google::protobuf; +namespace _pbi = ::google::protobuf::internal; +namespace _fl = ::google::protobuf::internal::field_layout; +namespace dqmstorepb { -namespace _pb = ::PROTOBUF_NAMESPACE_ID; -namespace _pbi = _pb::internal; + inline constexpr ROOTFilePB_Histo::Impl_::Impl_(::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + full_pathname_(&::google::protobuf::internal::fixed_address_empty_string, ::_pbi::ConstantInitialized()), + streamed_histo_(&::google::protobuf::internal::fixed_address_empty_string, ::_pbi::ConstantInitialized()), + size_{0u}, + flags_{0u} {} -namespace dqmstorepb { + template PROTOBUF_CONSTEXPR ROOTFilePB_Histo::ROOTFilePB_Histo(::_pbi::ConstantInitialized) - : _impl_{ - /*decltype(_impl_._has_bits_)*/ {}, - /*decltype(_impl_._cached_size_)*/ {}, - /*decltype(_impl_.full_pathname_)*/ {&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}, - /*decltype(_impl_.streamed_histo_)*/ {&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}, - /*decltype(_impl_.size_)*/ 0u, - /*decltype(_impl_.flags_)*/ 0u} {} +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(ROOTFilePB_Histo_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { + } struct ROOTFilePB_HistoDefaultTypeInternal { PROTOBUF_CONSTEXPR ROOTFilePB_HistoDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} ~ROOTFilePB_HistoDefaultTypeInternal() {} @@ -36,10 +49,21 @@ namespace dqmstorepb { ROOTFilePB_Histo _instance; }; }; + PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ROOTFilePB_HistoDefaultTypeInternal _ROOTFilePB_Histo_default_instance_; + + inline constexpr ROOTFilePB::Impl_::Impl_(::_pbi::ConstantInitialized) noexcept : histo_{}, _cached_size_{0} {} + + template PROTOBUF_CONSTEXPR ROOTFilePB::ROOTFilePB(::_pbi::ConstantInitialized) - : _impl_{/*decltype(_impl_.histo_)*/ {}, /*decltype(_impl_._cached_size_)*/ {}} {} +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(ROOTFilePB_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { + } struct ROOTFilePBDefaultTypeInternal { PROTOBUF_CONSTEXPR ROOTFilePBDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} ~ROOTFilePBDefaultTypeInternal() {} @@ -47,23 +71,19 @@ namespace dqmstorepb { ROOTFilePB _instance; }; }; + PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ROOTFilePBDefaultTypeInternal _ROOTFilePB_default_instance_; } // namespace dqmstorepb -static ::_pb::Metadata file_level_metadata_DQMServices_2fCore_2fsrc_2fROOTFilePB_2eproto[2]; -static constexpr ::_pb::EnumDescriptor const** +static constexpr const ::_pb::EnumDescriptor* PROTOBUF_NONNULL* PROTOBUF_NULLABLE file_level_enum_descriptors_DQMServices_2fCore_2fsrc_2fROOTFilePB_2eproto = nullptr; -static constexpr ::_pb::ServiceDescriptor const** +static constexpr const ::_pb::ServiceDescriptor* PROTOBUF_NONNULL* PROTOBUF_NULLABLE file_level_service_descriptors_DQMServices_2fCore_2fsrc_2fROOTFilePB_2eproto = nullptr; - -const uint32_t TableStruct_DQMServices_2fCore_2fsrc_2fROOTFilePB_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE( +const ::uint32_t TableStruct_DQMServices_2fCore_2fsrc_2fROOTFilePB_2eproto::offsets[] ABSL_ATTRIBUTE_SECTION_VARIABLE( protodesc_cold) = { + 0x081, // bitmap PROTOBUF_FIELD_OFFSET(::dqmstorepb::ROOTFilePB_Histo, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::dqmstorepb::ROOTFilePB_Histo, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ + 7, // hasbit index offset PROTOBUF_FIELD_OFFSET(::dqmstorepb::ROOTFilePB_Histo, _impl_.full_pathname_), PROTOBUF_FIELD_OFFSET(::dqmstorepb::ROOTFilePB_Histo, _impl_.size_), PROTOBUF_FIELD_OFFSET(::dqmstorepb::ROOTFilePB_Histo, _impl_.streamed_histo_), @@ -72,33 +92,27 @@ const uint32_t TableStruct_DQMServices_2fCore_2fsrc_2fROOTFilePB_2eproto::offset 2, 1, 3, - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::dqmstorepb::ROOTFilePB, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ + 0x000, // bitmap PROTOBUF_FIELD_OFFSET(::dqmstorepb::ROOTFilePB, _impl_.histo_), }; -static const ::_pbi::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { - {0, 10, -1, sizeof(::dqmstorepb::ROOTFilePB_Histo)}, - {14, -1, -1, sizeof(::dqmstorepb::ROOTFilePB)}, -}; -static const ::_pb::Message* const file_default_instances[] = { +static const ::_pbi::MigrationSchema schemas[] ABSL_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = { + {0, sizeof(::dqmstorepb::ROOTFilePB_Histo)}, + {11, sizeof(::dqmstorepb::ROOTFilePB)}, +}; +static const ::_pb::Message* PROTOBUF_NONNULL const file_default_instances[] = { &::dqmstorepb::_ROOTFilePB_Histo_default_instance_._instance, &::dqmstorepb::_ROOTFilePB_default_instance_._instance, }; - -const char descriptor_table_protodef_DQMServices_2fCore_2fsrc_2fROOTFilePB_2eproto[] PROTOBUF_SECTION_VARIABLE( - protodesc_cold) = +const char descriptor_table_protodef_DQMServices_2fCore_2fsrc_2fROOTFilePB_2eproto[] ABSL_ATTRIBUTE_SECTION_VARIABLE( + protodesc_cold) = { "\n%DQMServices/Core/src/ROOTFilePB.proto\022" "\ndqmstorepb\"\216\001\n\nROOTFilePB\022+\n\005histo\030\001 \003(" "\0132\034.dqmstorepb.ROOTFilePB.Histo\032S\n\005Histo" "\022\025\n\rfull_pathname\030\001 \002(\t\022\014\n\004size\030\002 \002(\r\022\026\n" - "\016streamed_histo\030\003 \002(\014\022\r\n\005flags\030\004 \002(\r"; -static ::_pbi::once_flag descriptor_table_DQMServices_2fCore_2fsrc_2fROOTFilePB_2eproto_once; -const ::_pbi::DescriptorTable descriptor_table_DQMServices_2fCore_2fsrc_2fROOTFilePB_2eproto = { + "\016streamed_histo\030\003 \002(\014\022\r\n\005flags\030\004 \002(\r"}; +static ::absl::once_flag descriptor_table_DQMServices_2fCore_2fsrc_2fROOTFilePB_2eproto_once; +PROTOBUF_CONSTINIT const ::_pbi::DescriptorTable descriptor_table_DQMServices_2fCore_2fsrc_2fROOTFilePB_2eproto = { false, false, 196, @@ -111,241 +125,254 @@ const ::_pbi::DescriptorTable descriptor_table_DQMServices_2fCore_2fsrc_2fROOTFi schemas, file_default_instances, TableStruct_DQMServices_2fCore_2fsrc_2fROOTFilePB_2eproto::offsets, - file_level_metadata_DQMServices_2fCore_2fsrc_2fROOTFilePB_2eproto, file_level_enum_descriptors_DQMServices_2fCore_2fsrc_2fROOTFilePB_2eproto, file_level_service_descriptors_DQMServices_2fCore_2fsrc_2fROOTFilePB_2eproto, }; -PROTOBUF_ATTRIBUTE_WEAK const ::_pbi::DescriptorTable* -descriptor_table_DQMServices_2fCore_2fsrc_2fROOTFilePB_2eproto_getter() { - return &descriptor_table_DQMServices_2fCore_2fsrc_2fROOTFilePB_2eproto; -} - -// Force running AddDescriptors() at dynamic initialization time. -PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 static ::_pbi::AddDescriptorsRunner - dynamic_init_dummy_DQMServices_2fCore_2fsrc_2fROOTFilePB_2eproto( - &descriptor_table_DQMServices_2fCore_2fsrc_2fROOTFilePB_2eproto); namespace dqmstorepb { - // =================================================================== class ROOTFilePB_Histo::_Internal { public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_full_pathname(HasBits* has_bits) { (*has_bits)[0] |= 1u; } - static void set_has_size(HasBits* has_bits) { (*has_bits)[0] |= 4u; } - static void set_has_streamed_histo(HasBits* has_bits) { (*has_bits)[0] |= 2u; } - static void set_has_flags(HasBits* has_bits) { (*has_bits)[0] |= 8u; } + using HasBits = decltype(::std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = 8 * PROTOBUF_FIELD_OFFSET(ROOTFilePB_Histo, _impl_._has_bits_); static bool MissingRequiredFields(const HasBits& has_bits) { return ((has_bits[0] & 0x0000000f) ^ 0x0000000f) != 0; } }; - ROOTFilePB_Histo::ROOTFilePB_Histo(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); + ROOTFilePB_Histo::ROOTFilePB_Histo(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, ROOTFilePB_Histo_class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); // @@protoc_insertion_point(arena_constructor:dqmstorepb.ROOTFilePB.Histo) } - ROOTFilePB_Histo::ROOTFilePB_Histo(const ROOTFilePB_Histo& from) : ::PROTOBUF_NAMESPACE_ID::Message() { + PROTOBUF_NDEBUG_INLINE ROOTFilePB_Histo::Impl_::Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, + const Impl_& from, + const ::dqmstorepb::ROOTFilePB_Histo& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0}, + full_pathname_(arena, from.full_pathname_), + streamed_histo_(arena, from.streamed_histo_) {} + + ROOTFilePB_Histo::ROOTFilePB_Histo(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const ROOTFilePB_Histo& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, ROOTFilePB_Histo_class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE ROOTFilePB_Histo* const _this = this; (void)_this; - new (&_impl_) Impl_{decltype(_impl_._has_bits_){from._impl_._has_bits_}, - /*decltype(_impl_._cached_size_)*/ {}, - decltype(_impl_.full_pathname_){}, - decltype(_impl_.streamed_histo_){}, - decltype(_impl_.size_){}, - decltype(_impl_.flags_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.full_pathname_.InitDefault(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.full_pathname_.Set("", GetArenaForAllocation()); -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_full_pathname()) { - _this->_impl_.full_pathname_.Set(from._internal_full_pathname(), _this->GetArenaForAllocation()); - } - _impl_.streamed_histo_.InitDefault(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.streamed_histo_.Set("", GetArenaForAllocation()); -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_streamed_histo()) { - _this->_impl_.streamed_histo_.Set(from._internal_streamed_histo(), _this->GetArenaForAllocation()); - } - ::memcpy(&_impl_.size_, - &from._impl_.size_, - static_cast(reinterpret_cast(&_impl_.flags_) - reinterpret_cast(&_impl_.size_)) + - sizeof(_impl_.flags_)); + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + ::memcpy(reinterpret_cast(&_impl_) + offsetof(Impl_, size_), + reinterpret_cast(&from._impl_) + offsetof(Impl_, size_), + offsetof(Impl_, flags_) - offsetof(Impl_, size_) + sizeof(Impl_::flags_)); + // @@protoc_insertion_point(copy_constructor:dqmstorepb.ROOTFilePB.Histo) } - - inline void ROOTFilePB_Histo::SharedCtor(::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{decltype(_impl_._has_bits_){}, - /*decltype(_impl_._cached_size_)*/ {}, - decltype(_impl_.full_pathname_){}, - decltype(_impl_.streamed_histo_){}, - decltype(_impl_.size_){0u}, - decltype(_impl_.flags_){0u}}; - _impl_.full_pathname_.InitDefault(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.full_pathname_.Set("", GetArenaForAllocation()); -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.streamed_histo_.InitDefault(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.streamed_histo_.Set("", GetArenaForAllocation()); -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + PROTOBUF_NDEBUG_INLINE ROOTFilePB_Histo::Impl_::Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) + : _cached_size_{0}, full_pathname_(arena), streamed_histo_(arena) {} + + inline void ROOTFilePB_Histo::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + ::memset(reinterpret_cast(&_impl_) + offsetof(Impl_, size_), + 0, + offsetof(Impl_, flags_) - offsetof(Impl_, size_) + sizeof(Impl_::flags_)); } - ROOTFilePB_Histo::~ROOTFilePB_Histo() { // @@protoc_insertion_point(destructor:dqmstorepb.ROOTFilePB.Histo) - if (auto* arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); + SharedDtor(*this); + } + inline void ROOTFilePB_Histo::SharedDtor(MessageLite& self) { + ROOTFilePB_Histo& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + this_._impl_.full_pathname_.Destroy(); + this_._impl_.streamed_histo_.Destroy(); + this_._impl_.~Impl_(); } - inline void ROOTFilePB_Histo::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.full_pathname_.Destroy(); - _impl_.streamed_histo_.Destroy(); + inline void* PROTOBUF_NONNULL ROOTFilePB_Histo::PlacementNew_(const void* PROTOBUF_NONNULL, + void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) { + return ::new (mem) ROOTFilePB_Histo(arena); + } + constexpr auto ROOTFilePB_Histo::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(ROOTFilePB_Histo), alignof(ROOTFilePB_Histo)); + } + constexpr auto ROOTFilePB_Histo::InternalGenerateClassData_() { + return ::google::protobuf::internal::ClassDataFull{ + ::google::protobuf::internal::ClassData{ + &_ROOTFilePB_Histo_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + ROOTFilePB_Histo::IsInitializedImpl, + &ROOTFilePB_Histo::MergeImpl, + ::google::protobuf::Message::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &ROOTFilePB_Histo::SharedDtor, + ::google::protobuf::Message::GetClearImpl(), + &ROOTFilePB_Histo::ByteSizeLong, + &ROOTFilePB_Histo::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(ROOTFilePB_Histo, _impl_._cached_size_), + false, + }, + &ROOTFilePB_Histo::kDescriptorMethods, + &descriptor_table_DQMServices_2fCore_2fsrc_2fROOTFilePB_2eproto, + nullptr, // tracker + }; } - void ROOTFilePB_Histo::SetCachedSize(int size) const { _impl_._cached_size_.Set(size); } + PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::google::protobuf::internal::ClassDataFull + ROOTFilePB_Histo_class_data_ = ROOTFilePB_Histo::InternalGenerateClassData_(); - void ROOTFilePB_Histo::Clear() { + PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL + ROOTFilePB_Histo::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&ROOTFilePB_Histo_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(ROOTFilePB_Histo_class_data_.tc_table); + return ROOTFilePB_Histo_class_data_.base(); + } + PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::_pbi::TcParseTable<2, 4, 0, 49, 2> + ROOTFilePB_Histo::_table_ = { + { + PROTOBUF_FIELD_OFFSET(ROOTFilePB_Histo, _impl_._has_bits_), + 0, // no _extensions_ + 4, + 24, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967280, // skipmap + offsetof(decltype(_table_), field_entries), + 4, // num_field_entries + 0, // num_aux_entries + offsetof(decltype(_table_), field_names), // no aux_entries + ROOTFilePB_Histo_class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback +#ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::dqmstorepb::ROOTFilePB_Histo>(), // to_prefetch +#endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, + {{ + // required uint32 flags = 4; + {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(ROOTFilePB_Histo, _impl_.flags_), 3>(), + {32, 3, 0, PROTOBUF_FIELD_OFFSET(ROOTFilePB_Histo, _impl_.flags_)}}, + // required string full_pathname = 1; + {::_pbi::TcParser::FastSS1, {10, 0, 0, PROTOBUF_FIELD_OFFSET(ROOTFilePB_Histo, _impl_.full_pathname_)}}, + // required uint32 size = 2; + {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(ROOTFilePB_Histo, _impl_.size_), 2>(), + {16, 2, 0, PROTOBUF_FIELD_OFFSET(ROOTFilePB_Histo, _impl_.size_)}}, + // required bytes streamed_histo = 3; + {::_pbi::TcParser::FastBS1, {26, 1, 0, PROTOBUF_FIELD_OFFSET(ROOTFilePB_Histo, _impl_.streamed_histo_)}}, + }}, + {{65535, 65535}}, + {{ + // required string full_pathname = 1; + {PROTOBUF_FIELD_OFFSET(ROOTFilePB_Histo, _impl_.full_pathname_), + _Internal::kHasBitsOffset + 0, + 0, + (0 | ::_fl::kFcOptional | ::_fl::kRawString | ::_fl::kRepAString)}, + // required uint32 size = 2; + {PROTOBUF_FIELD_OFFSET(ROOTFilePB_Histo, _impl_.size_), + _Internal::kHasBitsOffset + 2, + 0, + (0 | ::_fl::kFcOptional | ::_fl::kUInt32)}, + // required bytes streamed_histo = 3; + {PROTOBUF_FIELD_OFFSET(ROOTFilePB_Histo, _impl_.streamed_histo_), + _Internal::kHasBitsOffset + 1, + 0, + (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)}, + // required uint32 flags = 4; + {PROTOBUF_FIELD_OFFSET(ROOTFilePB_Histo, _impl_.flags_), + _Internal::kHasBitsOffset + 3, + 0, + (0 | ::_fl::kFcOptional | ::_fl::kUInt32)}, + }}, + // no aux_entries + {{"\33\15\0\0\0\0\0\0" + "dqmstorepb.ROOTFilePB.Histo" + "full_pathname"}}, + }; + PROTOBUF_NOINLINE void ROOTFilePB_Histo::Clear() { // @@protoc_insertion_point(message_clear_start:dqmstorepb.ROOTFilePB.Histo) - uint32_t cached_has_bits = 0; + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void)cached_has_bits; cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { + if ((cached_has_bits & 0x00000003u) != 0) { + if ((cached_has_bits & 0x00000001u) != 0) { _impl_.full_pathname_.ClearNonDefaultToEmpty(); } - if (cached_has_bits & 0x00000002u) { + if ((cached_has_bits & 0x00000002u) != 0) { _impl_.streamed_histo_.ClearNonDefaultToEmpty(); } } - if (cached_has_bits & 0x0000000cu) { + if ((cached_has_bits & 0x0000000cu) != 0) { ::memset(&_impl_.size_, 0, - static_cast(reinterpret_cast(&_impl_.flags_) - reinterpret_cast(&_impl_.size_)) + + static_cast<::size_t>(reinterpret_cast(&_impl_.flags_) - reinterpret_cast(&_impl_.size_)) + sizeof(_impl_.flags_)); } _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - const char* ROOTFilePB_Histo::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) \ - if (PROTOBUF_PREDICT_FALSE(!(x))) \ - goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // required string full_pathname = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - auto str = _internal_mutable_full_pathname(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); -#ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "dqmstorepb.ROOTFilePB.Histo.full_pathname"); -#endif // !NDEBUG - } else - goto handle_unusual; - continue; - // required uint32 size = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_size(&has_bits); - _impl_.size_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // required bytes streamed_histo = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { - auto str = _internal_mutable_streamed_histo(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // required uint32 flags = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { - _Internal::set_has_flags(&has_bits); - _impl_.flags_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), ptr, ctx); - CHK_(ptr != nullptr); - } // while - message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; - failure: - ptr = nullptr; - goto message_done; -#undef CHK_ - } - - uint8_t* ROOTFilePB_Histo::_InternalSerialize(uint8_t* target, - ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); + } + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* PROTOBUF_NONNULL + ROOTFilePB_Histo::_InternalSerialize(const ::google::protobuf::MessageLite& base, + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) { + const ROOTFilePB_Histo& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* PROTOBUF_NONNULL ROOTFilePB_Histo::_InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { + const ROOTFilePB_Histo& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE // @@protoc_insertion_point(serialize_to_array_start:dqmstorepb.ROOTFilePB.Histo) - uint32_t cached_has_bits = 0; + ::uint32_t cached_has_bits = 0; (void)cached_has_bits; - cached_has_bits = _impl_._has_bits_[0]; + cached_has_bits = this_._impl_._has_bits_[0]; // required string full_pathname = 1; - if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_full_pathname().data(), - static_cast(this->_internal_full_pathname().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + if ((cached_has_bits & 0x00000001u) != 0) { + const ::std::string& _s = this_._internal_full_pathname(); + ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( + _s.data(), + static_cast(_s.length()), + ::google::protobuf::internal::WireFormat::SERIALIZE, "dqmstorepb.ROOTFilePB.Histo.full_pathname"); - target = stream->WriteStringMaybeAliased(1, this->_internal_full_pathname(), target); + target = stream->WriteStringMaybeAliased(1, _s, target); } // required uint32 size = 2; - if (cached_has_bits & 0x00000004u) { + if ((cached_has_bits & 0x00000004u) != 0) { target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_size(), target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this_._internal_size(), target); } // required bytes streamed_histo = 3; - if (cached_has_bits & 0x00000002u) { - target = stream->WriteBytesMaybeAliased(3, this->_internal_streamed_histo(), target); + if ((cached_has_bits & 0x00000002u) != 0) { + const ::std::string& _s = this_._internal_streamed_histo(); + target = stream->WriteBytesMaybeAliased(3, _s, target); } // required uint32 flags = 4; - if (cached_has_bits & 0x00000008u) { + if ((cached_has_bits & 0x00000008u) != 0) { target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_flags(), target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this_._internal_flags(), target); } - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>( - ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>( + ::google::protobuf::UnknownFieldSet::default_instance), target, stream); } @@ -353,89 +380,69 @@ namespace dqmstorepb { return target; } - size_t ROOTFilePB_Histo::RequiredFieldsByteSizeFallback() const { - // @@protoc_insertion_point(required_fields_byte_size_fallback_start:dqmstorepb.ROOTFilePB.Histo) - size_t total_size = 0; - - if (_internal_has_full_pathname()) { - // required string full_pathname = 1; - total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(this->_internal_full_pathname()); - } - - if (_internal_has_streamed_histo()) { - // required bytes streamed_histo = 3; - total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize(this->_internal_streamed_histo()); - } - - if (_internal_has_size()) { - // required uint32 size = 2; - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_size()); - } - - if (_internal_has_flags()) { - // required uint32 flags = 4; - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_flags()); - } - - return total_size; - } - size_t ROOTFilePB_Histo::ByteSizeLong() const { +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::size_t ROOTFilePB_Histo::ByteSizeLong(const MessageLite& base) { + const ROOTFilePB_Histo& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t ROOTFilePB_Histo::ByteSizeLong() const { + const ROOTFilePB_Histo& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE // @@protoc_insertion_point(message_byte_size_start:dqmstorepb.ROOTFilePB.Histo) - size_t total_size = 0; + ::size_t total_size = 0; - if (((_impl_._has_bits_[0] & 0x0000000f) ^ 0x0000000f) == 0) { // All required fields are present. - // required string full_pathname = 1; - total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(this->_internal_full_pathname()); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + cached_has_bits = this_._impl_._has_bits_[0]; + if ((cached_has_bits & 0x0000000fu) != 0) { + // required string full_pathname = 1; + if ((cached_has_bits & 0x00000001u) != 0) { + total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(this_._internal_full_pathname()); + } // required bytes streamed_histo = 3; - total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize(this->_internal_streamed_histo()); - + if ((cached_has_bits & 0x00000002u) != 0) { + total_size += 1 + ::google::protobuf::internal::WireFormatLite::BytesSize(this_._internal_streamed_histo()); + } // required uint32 size = 2; - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_size()); - + if ((cached_has_bits & 0x00000004u) != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this_._internal_size()); + } // required uint32 flags = 4; - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_flags()); - - } else { - total_size += RequiredFieldsByteSizeFallback(); + if ((cached_has_bits & 0x00000008u) != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this_._internal_flags()); + } } - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); + return this_.MaybeComputeUnknownFieldsSize(total_size, &this_._impl_._cached_size_); } - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData ROOTFilePB_Histo::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, ROOTFilePB_Histo::MergeImpl}; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData* ROOTFilePB_Histo::GetClassData() const { return &_class_data_; } - - void ROOTFilePB_Histo::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, - const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + void ROOTFilePB_Histo::MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg) { auto* const _this = static_cast(&to_msg); auto& from = static_cast(from_msg); // @@protoc_insertion_point(class_specific_merge_from_start:dqmstorepb.ROOTFilePB.Histo) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; (void)cached_has_bits; cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - if (cached_has_bits & 0x00000001u) { + if ((cached_has_bits & 0x0000000fu) != 0) { + if ((cached_has_bits & 0x00000001u) != 0) { _this->_internal_set_full_pathname(from._internal_full_pathname()); } - if (cached_has_bits & 0x00000002u) { + if ((cached_has_bits & 0x00000002u) != 0) { _this->_internal_set_streamed_histo(from._internal_streamed_histo()); } - if (cached_has_bits & 0x00000004u) { + if ((cached_has_bits & 0x00000004u) != 0) { _this->_impl_.size_ = from._impl_.size_; } - if (cached_has_bits & 0x00000008u) { + if ((cached_has_bits & 0x00000008u) != 0) { _this->_impl_.flags_ = from._impl_.flags_; } - _this->_impl_._has_bits_[0] |= cached_has_bits; } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); } void ROOTFilePB_Histo::CopyFrom(const ROOTFilePB_Histo& from) { @@ -446,146 +453,207 @@ namespace dqmstorepb { MergeFrom(from); } - bool ROOTFilePB_Histo::IsInitialized() const { - if (_Internal::MissingRequiredFields(_impl_._has_bits_)) + PROTOBUF_NOINLINE bool ROOTFilePB_Histo::IsInitializedImpl(const MessageLite& msg) { + auto& this_ = static_cast(msg); + if (_Internal::MissingRequiredFields(this_._impl_._has_bits_)) { return false; + } return true; } - void ROOTFilePB_Histo::InternalSwap(ROOTFilePB_Histo* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); + void ROOTFilePB_Histo::InternalSwap(ROOTFilePB_Histo* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) { + using ::std::swap; + auto* arena = GetArena(); + ABSL_DCHECK_EQ(arena, other->GetArena()); _internal_metadata_.InternalSwap(&other->_internal_metadata_); swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.full_pathname_, lhs_arena, &other->_impl_.full_pathname_, rhs_arena); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.streamed_histo_, lhs_arena, &other->_impl_.streamed_histo_, rhs_arena); - ::PROTOBUF_NAMESPACE_ID::internal::memswap( + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.full_pathname_, &other->_impl_.full_pathname_, arena); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.streamed_histo_, &other->_impl_.streamed_histo_, arena); + ::google::protobuf::internal::memswap( reinterpret_cast(&_impl_.size_), reinterpret_cast(&other->_impl_.size_)); } - ::PROTOBUF_NAMESPACE_ID::Metadata ROOTFilePB_Histo::GetMetadata() const { - return ::_pbi::AssignDescriptors(&descriptor_table_DQMServices_2fCore_2fsrc_2fROOTFilePB_2eproto_getter, - &descriptor_table_DQMServices_2fCore_2fsrc_2fROOTFilePB_2eproto_once, - file_level_metadata_DQMServices_2fCore_2fsrc_2fROOTFilePB_2eproto[0]); + ::google::protobuf::Metadata ROOTFilePB_Histo::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); } - // =================================================================== class ROOTFilePB::_Internal { public: }; - ROOTFilePB::ROOTFilePB(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); + ROOTFilePB::ROOTFilePB(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, ROOTFilePB_class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); // @@protoc_insertion_point(arena_constructor:dqmstorepb.ROOTFilePB) } - ROOTFilePB::ROOTFilePB(const ROOTFilePB& from) : ::PROTOBUF_NAMESPACE_ID::Message() { + PROTOBUF_NDEBUG_INLINE ROOTFilePB::Impl_::Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, + const Impl_& from, + const ::dqmstorepb::ROOTFilePB& from_msg) + : histo_{visibility, arena, from.histo_}, _cached_size_{0} {} + + ROOTFilePB::ROOTFilePB(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const ROOTFilePB& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, ROOTFilePB_class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE ROOTFilePB* const _this = this; (void)_this; - new (&_impl_) Impl_{decltype(_impl_.histo_){from._impl_.histo_}, /*decltype(_impl_._cached_size_)*/ {}}; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); // @@protoc_insertion_point(copy_constructor:dqmstorepb.ROOTFilePB) } + PROTOBUF_NDEBUG_INLINE ROOTFilePB::Impl_::Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) + : histo_{visibility, arena}, _cached_size_{0} {} - inline void ROOTFilePB::SharedCtor(::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{decltype(_impl_.histo_){arena}, /*decltype(_impl_._cached_size_)*/ {}}; + inline void ROOTFilePB::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) { + new (&_impl_) Impl_(internal_visibility(), arena); } - ROOTFilePB::~ROOTFilePB() { // @@protoc_insertion_point(destructor:dqmstorepb.ROOTFilePB) - if (auto* arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); + SharedDtor(*this); + } + inline void ROOTFilePB::SharedDtor(MessageLite& self) { + ROOTFilePB& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + this_._impl_.~Impl_(); } - inline void ROOTFilePB::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.histo_.~RepeatedPtrField(); + inline void* PROTOBUF_NONNULL ROOTFilePB::PlacementNew_(const void* PROTOBUF_NONNULL, + void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) { + return ::new (mem) ROOTFilePB(arena); + } + constexpr auto ROOTFilePB::InternalNewImpl_() { + constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({ + PROTOBUF_FIELD_OFFSET(ROOTFilePB, _impl_.histo_) + decltype(ROOTFilePB::_impl_.histo_)::InternalGetArenaOffset( + ::google::protobuf::Message::internal_visibility()), + }); + if (arena_bits.has_value()) { + return ::google::protobuf::internal::MessageCreator::ZeroInit( + sizeof(ROOTFilePB), alignof(ROOTFilePB), *arena_bits); + } else { + return ::google::protobuf::internal::MessageCreator( + &ROOTFilePB::PlacementNew_, sizeof(ROOTFilePB), alignof(ROOTFilePB)); + } + } + constexpr auto ROOTFilePB::InternalGenerateClassData_() { + return ::google::protobuf::internal::ClassDataFull{ + ::google::protobuf::internal::ClassData{ + &_ROOTFilePB_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + ROOTFilePB::IsInitializedImpl, + &ROOTFilePB::MergeImpl, + ::google::protobuf::Message::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &ROOTFilePB::SharedDtor, + ::google::protobuf::Message::GetClearImpl(), + &ROOTFilePB::ByteSizeLong, + &ROOTFilePB::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(ROOTFilePB, _impl_._cached_size_), + false, + }, + &ROOTFilePB::kDescriptorMethods, + &descriptor_table_DQMServices_2fCore_2fsrc_2fROOTFilePB_2eproto, + nullptr, // tracker + }; } - void ROOTFilePB::SetCachedSize(int size) const { _impl_._cached_size_.Set(size); } + PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::google::protobuf::internal::ClassDataFull + ROOTFilePB_class_data_ = ROOTFilePB::InternalGenerateClassData_(); - void ROOTFilePB::Clear() { + PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL + ROOTFilePB::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&ROOTFilePB_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(ROOTFilePB_class_data_.tc_table); + return ROOTFilePB_class_data_.base(); + } + PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::_pbi::TcParseTable<0, 1, 1, 0, 2> ROOTFilePB::_table_ = { + { + 0, // no _has_bits_ + 0, // no _extensions_ + 1, + 0, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967294, // skipmap + offsetof(decltype(_table_), field_entries), + 1, // num_field_entries + 1, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + ROOTFilePB_class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback +#ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::dqmstorepb::ROOTFilePB>(), // to_prefetch +#endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, + {{ + // repeated .dqmstorepb.ROOTFilePB.Histo histo = 1; + {::_pbi::TcParser::FastMtR1, {10, 63, 0, PROTOBUF_FIELD_OFFSET(ROOTFilePB, _impl_.histo_)}}, + }}, + {{65535, 65535}}, + {{ + // repeated .dqmstorepb.ROOTFilePB.Histo histo = 1; + {PROTOBUF_FIELD_OFFSET(ROOTFilePB, _impl_.histo_), + 0, + 0, + (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)}, + }}, + {{ + {::_pbi::TcParser::GetTable<::dqmstorepb::ROOTFilePB_Histo>()}, + }}, + {{}}, + }; + PROTOBUF_NOINLINE void ROOTFilePB::Clear() { // @@protoc_insertion_point(message_clear_start:dqmstorepb.ROOTFilePB) - uint32_t cached_has_bits = 0; + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void)cached_has_bits; _impl_.histo_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - const char* ROOTFilePB::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) \ - if (PROTOBUF_PREDICT_FALSE(!(x))) \ - goto failure - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // repeated .dqmstorepb.ROOTFilePB.Histo histo = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_histo(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) - break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<10>(ptr)); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), ptr, ctx); - CHK_(ptr != nullptr); - } // while - message_done: - return ptr; - failure: - ptr = nullptr; - goto message_done; -#undef CHK_ - } - - uint8_t* ROOTFilePB::_InternalSerialize(uint8_t* target, - ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); + } + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* PROTOBUF_NONNULL + ROOTFilePB::_InternalSerialize(const ::google::protobuf::MessageLite& base, + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) { + const ROOTFilePB& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* PROTOBUF_NONNULL ROOTFilePB::_InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { + const ROOTFilePB& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE // @@protoc_insertion_point(serialize_to_array_start:dqmstorepb.ROOTFilePB) - uint32_t cached_has_bits = 0; + ::uint32_t cached_has_bits = 0; (void)cached_has_bits; // repeated .dqmstorepb.ROOTFilePB.Histo histo = 1; - for (unsigned i = 0, n = static_cast(this->_internal_histo_size()); i < n; i++) { - const auto& repfield = this->_internal_histo(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::InternalWriteMessage( + for (unsigned i = 0, n = static_cast(this_._internal_histo_size()); i < n; i++) { + const auto& repfield = this_._internal_histo().Get(i); + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( 1, repfield, repfield.GetCachedSize(), target, stream); } - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>( - ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>( + ::google::protobuf::UnknownFieldSet::default_instance), target, stream); } @@ -593,38 +661,43 @@ namespace dqmstorepb { return target; } - size_t ROOTFilePB::ByteSizeLong() const { +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::size_t ROOTFilePB::ByteSizeLong(const MessageLite& base) { + const ROOTFilePB& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t ROOTFilePB::ByteSizeLong() const { + const ROOTFilePB& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE // @@protoc_insertion_point(message_byte_size_start:dqmstorepb.ROOTFilePB) - size_t total_size = 0; + ::size_t total_size = 0; - uint32_t cached_has_bits = 0; + ::uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void)cached_has_bits; - // repeated .dqmstorepb.ROOTFilePB.Histo histo = 1; - total_size += 1UL * this->_internal_histo_size(); - for (const auto& msg : this->_impl_.histo_) { - total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + { + // repeated .dqmstorepb.ROOTFilePB.Histo histo = 1; + { + total_size += 1UL * this_._internal_histo_size(); + for (const auto& msg : this_._internal_histo()) { + total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg); + } + } } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); + return this_.MaybeComputeUnknownFieldsSize(total_size, &this_._impl_._cached_size_); } - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData ROOTFilePB::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, ROOTFilePB::MergeImpl}; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData* ROOTFilePB::GetClassData() const { return &_class_data_; } - - void ROOTFilePB::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, - const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + void ROOTFilePB::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { auto* const _this = static_cast(&to_msg); auto& from = static_cast(from_msg); // @@protoc_insertion_point(class_specific_merge_from_start:dqmstorepb.ROOTFilePB) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; (void)cached_has_bits; - _this->_impl_.histo_.MergeFrom(from._impl_.histo_); - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _this->_internal_mutable_histo()->MergeFrom(from._internal_histo()); + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); } void ROOTFilePB::CopyFrom(const ROOTFilePB& from) { @@ -635,37 +708,28 @@ namespace dqmstorepb { MergeFrom(from); } - bool ROOTFilePB::IsInitialized() const { - if (!::PROTOBUF_NAMESPACE_ID::internal::AllAreInitialized(_impl_.histo_)) + PROTOBUF_NOINLINE bool ROOTFilePB::IsInitializedImpl(const MessageLite& msg) { + auto& this_ = static_cast(msg); + if (!::google::protobuf::internal::AllAreInitialized(this_._internal_histo())) return false; return true; } - void ROOTFilePB::InternalSwap(ROOTFilePB* other) { - using std::swap; + void ROOTFilePB::InternalSwap(ROOTFilePB* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) { + using ::std::swap; _internal_metadata_.InternalSwap(&other->_internal_metadata_); _impl_.histo_.InternalSwap(&other->_impl_.histo_); } - ::PROTOBUF_NAMESPACE_ID::Metadata ROOTFilePB::GetMetadata() const { - return ::_pbi::AssignDescriptors(&descriptor_table_DQMServices_2fCore_2fsrc_2fROOTFilePB_2eproto_getter, - &descriptor_table_DQMServices_2fCore_2fsrc_2fROOTFilePB_2eproto_once, - file_level_metadata_DQMServices_2fCore_2fsrc_2fROOTFilePB_2eproto[1]); + ::google::protobuf::Metadata ROOTFilePB::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); } - // @@protoc_insertion_point(namespace_scope) } // namespace dqmstorepb -PROTOBUF_NAMESPACE_OPEN -template <> -PROTOBUF_NOINLINE ::dqmstorepb::ROOTFilePB_Histo* Arena::CreateMaybeMessage<::dqmstorepb::ROOTFilePB_Histo>( - Arena* arena) { - return Arena::CreateMessageInternal<::dqmstorepb::ROOTFilePB_Histo>(arena); -} -template <> -PROTOBUF_NOINLINE ::dqmstorepb::ROOTFilePB* Arena::CreateMaybeMessage<::dqmstorepb::ROOTFilePB>(Arena* arena) { - return Arena::CreateMessageInternal<::dqmstorepb::ROOTFilePB>(arena); -} -PROTOBUF_NAMESPACE_CLOSE - +namespace google { + namespace protobuf {} // namespace protobuf +} // namespace google // @@protoc_insertion_point(global_scope) -#include +PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 static ::std::false_type _static_init2_ [[maybe_unused]] = + (::_pbi::AddDescriptors(&descriptor_table_DQMServices_2fCore_2fsrc_2fROOTFilePB_2eproto), ::std::false_type{}); +#include "google/protobuf/port_undef.inc" diff --git a/PhysicsTools/TensorFlowAOT/test/BuildFile.xml b/PhysicsTools/TensorFlowAOT/test/BuildFile.xml index 2f31bd96bac27..ac58ffd6c99c7 100644 --- a/PhysicsTools/TensorFlowAOT/test/BuildFile.xml +++ b/PhysicsTools/TensorFlowAOT/test/BuildFile.xml @@ -1,8 +1 @@ - - - - - - -