8 #include <google/protobuf/stubs/common.h> 9 #include <google/protobuf/stubs/port.h> 10 #include <google/protobuf/stubs/once.h> 11 #include <google/protobuf/io/coded_stream.h> 12 #include <google/protobuf/wire_format_lite_inl.h> 13 #include <google/protobuf/descriptor.h> 14 #include <google/protobuf/generated_message_reflection.h> 15 #include <google/protobuf/reflection_ops.h> 16 #include <google/protobuf/wire_format.h> 18 #ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS 19 #include "third_party/protobuf/version.h" 25 ::google::protobuf::internal::ExplicitlyConstructed<ROOTFilePB_Histo>
_instance;
29 ::google::protobuf::internal::ExplicitlyConstructed<ROOTFilePB>
_instance;
34 GOOGLE_PROTOBUF_VERIFY_VERSION;
36 #ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS 37 ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
39 ::google::protobuf::internal::InitProtobufDefaults();
40 #endif // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS 44 ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
50 static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
55 GOOGLE_PROTOBUF_VERIFY_VERSION;
57 #ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS 58 ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
60 ::google::protobuf::internal::InitProtobufDefaults();
61 #endif // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS 66 ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
72 static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
113 ::google::protobuf::MessageFactory* factory =
nullptr;
114 AssignDescriptors(
"DQMServices/Core/src/ROOTFilePB.proto",
116 file_default_instances,
125 static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
132 ::google::protobuf::internal::RegisterAllTypes(file_level_metadata, 2);
138 "\n%DQMServices/Core/src/ROOTFilePB.proto\022" 139 "\ndqmstorepb\"\216\001\n\nROOTFilePB\022+\n\005histo\030\001 \003(" 140 "\0132\034.dqmstorepb.ROOTFilePB.Histo\032S\n\005Histo" 141 "\022\025\n\rfull_pathname\030\001 \002(\t\022\014\n\004size\030\002 \002(\r\022\026\n" 142 "\016streamed_histo\030\003 \002(\014\022\r\n\005flags\030\004 \002(\r"};
143 ::google::protobuf::DescriptorPool::InternalAddGeneratedFile(descriptor, 196);
144 ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile(
"DQMServices/Core/src/ROOTFilePB.proto",
149 static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
162 #if !defined(_MSC_VER) || _MSC_VER >= 1900 167 #endif // !defined(_MSC_VER) || _MSC_VER >= 1900 179 full_pathname_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
181 full_pathname_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
184 streamed_histo_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
186 streamed_histo_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
191 static_cast<size_t>(reinterpret_cast<char*>(&
flags_) - reinterpret_cast<char*>(&
size_)) +
sizeof(
flags_));
197 full_pathname_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
198 streamed_histo_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
201 static_cast<size_t>(reinterpret_cast<char*>(&
flags_) - reinterpret_cast<char*>(&
size_)) +
sizeof(
flags_));
210 full_pathname_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
211 streamed_histo_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
215 GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
217 GOOGLE_SAFE_CONCURRENT_WRITES_END();
232 if (arena !=
nullptr) {
242 (void)cached_has_bits;
245 if (cached_has_bits & 3u) {
246 if (cached_has_bits & 0x00000001u) {
247 GOOGLE_DCHECK(!
full_pathname_.IsDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()));
250 if (cached_has_bits & 0x00000002u) {
251 GOOGLE_DCHECK(!
streamed_histo_.IsDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()));
255 if (cached_has_bits & 12u) {
259 static_cast<size_t>(reinterpret_cast<char*>(&
flags_) - reinterpret_cast<char*>(&
size_)) +
sizeof(
flags_));
266 #define DO_(EXPRESSION) \ 267 if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) \ 272 ::std::pair< ::google::protobuf::uint32, bool>
p = input->ReadTagWithCutoffNoLastTag(127u);
276 switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
279 if (static_cast< ::google::protobuf::uint8>(tag) ==
280 static_cast< ::google::protobuf::uint8>(10u )) {
282 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
285 ::google::protobuf::internal::WireFormat::PARSE,
286 "dqmstorepb.ROOTFilePB.Histo.full_pathname");
295 if (static_cast< ::google::protobuf::uint8>(tag) ==
296 static_cast< ::google::protobuf::uint8>(16u )) {
298 DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
300 ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(input, &
size_)));
309 if (static_cast< ::google::protobuf::uint8>(tag) ==
310 static_cast< ::google::protobuf::uint8>(26u )) {
320 if (static_cast< ::google::protobuf::uint8>(tag) ==
321 static_cast< ::google::protobuf::uint8>(32u )) {
323 DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
325 ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(input, &
flags_)));
337 DO_(::google::protobuf::internal::WireFormat::SkipField(
355 (void)cached_has_bits;
359 if (cached_has_bits & 0x00000001u) {
360 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
363 ::google::protobuf::internal::WireFormat::SERIALIZE,
364 "dqmstorepb.ROOTFilePB.Histo.full_pathname");
365 ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(1, this->
full_pathname(), output);
369 if (cached_has_bits & 0x00000004u) {
370 ::google::protobuf::internal::WireFormatLite::WriteUInt32(2, this->
size(), output);
374 if (cached_has_bits & 0x00000002u) {
375 ::google::protobuf::internal::WireFormatLite::WriteBytesMaybeAliased(3, this->
streamed_histo(), output);
379 if (cached_has_bits & 0x00000008u) {
380 ::google::protobuf::internal::WireFormatLite::WriteUInt32(4, this->
flags(), output);
394 (void)cached_has_bits;
398 if (cached_has_bits & 0x00000001u) {
399 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
402 ::google::protobuf::internal::WireFormat::SERIALIZE,
403 "dqmstorepb.ROOTFilePB.Histo.full_pathname");
404 target = ::google::protobuf::internal::WireFormatLite::WriteStringToArray(1, this->
full_pathname(), target);
408 if (cached_has_bits & 0x00000004u) {
409 target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(2, this->
size(), target);
413 if (cached_has_bits & 0x00000002u) {
414 target = ::google::protobuf::internal::WireFormatLite::WriteBytesToArray(3, this->
streamed_histo(), target);
418 if (cached_has_bits & 0x00000008u) {
419 target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(4, this->
flags(), target);
423 target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
432 size_t total_size = 0;
436 total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(this->
full_pathname());
441 total_size += 1 + ::google::protobuf::internal::WireFormatLite::BytesSize(this->
streamed_histo());
446 total_size += 1 + ::google::protobuf::internal::WireFormatLite::UInt32Size(this->
size());
451 total_size += 1 + ::google::protobuf::internal::WireFormatLite::UInt32Size(this->
flags());
458 size_t total_size = 0;
462 ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
_internal_metadata_.unknown_fields());
464 if (((
_has_bits_[0] & 0x0000000f) ^ 0x0000000f) == 0) {
466 total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(this->
full_pathname());
469 total_size += 1 + ::google::protobuf::internal::WireFormatLite::BytesSize(this->
streamed_histo());
472 total_size += 1 + ::google::protobuf::internal::WireFormatLite::UInt32Size(this->
size());
475 total_size += 1 + ::google::protobuf::internal::WireFormatLite::UInt32Size(this->
flags());
480 int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
481 GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
483 GOOGLE_SAFE_CONCURRENT_WRITES_END();
489 GOOGLE_DCHECK_NE(&from,
this);
491 ::google::protobuf::internal::DynamicCastToGenerated<const ROOTFilePB_Histo>(&from);
492 if (source ==
nullptr) {
494 ::google::protobuf::internal::ReflectionOps::Merge(from,
this);
503 GOOGLE_DCHECK_NE(&from,
this);
506 (void)cached_has_bits;
509 if (cached_has_bits & 15u) {
510 if (cached_has_bits & 0x00000001u) {
512 full_pathname_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
515 if (cached_has_bits & 0x00000002u) {
517 streamed_histo_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
520 if (cached_has_bits & 0x00000004u) {
523 if (cached_has_bits & 0x00000008u) {
547 if ((
_has_bits_[0] & 0x0000000f) != 0x0000000f)
576 #if !defined(_MSC_VER) || _MSC_VER >= 1900 578 #endif // !defined(_MSC_VER) || _MSC_VER >= 1900 588 : ::google::protobuf::Message(),
607 GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
609 GOOGLE_SAFE_CONCURRENT_WRITES_END();
624 if (arena !=
nullptr) {
634 (void)cached_has_bits;
642 #define DO_(EXPRESSION) \ 643 if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) \ 648 ::std::pair< ::google::protobuf::uint32, bool>
p = input->ReadTagWithCutoffNoLastTag(127u);
652 switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
655 if (static_cast< ::google::protobuf::uint8>(tag) ==
656 static_cast< ::google::protobuf::uint8>(10u )) {
657 DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(input,
add_histo()));
669 DO_(::google::protobuf::internal::WireFormat::SkipField(
687 (void)cached_has_bits;
690 for (
unsigned int i = 0,
n = static_cast<unsigned int>(this->
histo_size());
i <
n;
i++) {
691 ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
692 1, this->
histo(static_cast<int>(
i)), output);
706 (void)cached_has_bits;
709 for (
unsigned int i = 0,
n = static_cast<unsigned int>(this->
histo_size());
i <
n;
i++) {
710 target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessageToArray(
711 1, this->
histo(static_cast<int>(
i)), deterministic, target);
715 target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
724 size_t total_size = 0;
728 ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
_internal_metadata_.unknown_fields());
733 total_size += 1UL *
count;
734 for (
unsigned int i = 0;
i <
count;
i++) {
735 total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(this->
histo(static_cast<int>(
i)));
739 int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
740 GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
742 GOOGLE_SAFE_CONCURRENT_WRITES_END();
748 GOOGLE_DCHECK_NE(&from,
this);
749 const ROOTFilePB*
source = ::google::protobuf::internal::DynamicCastToGenerated<const ROOTFilePB>(&from);
750 if (source ==
nullptr) {
752 ::google::protobuf::internal::ReflectionOps::Merge(from,
this);
761 GOOGLE_DCHECK_NE(&from,
this);
764 (void)cached_has_bits;
786 if (!::google::protobuf::internal::AllAreInitialized(this->
histo()))
::google::protobuf::uint32 flags_
static const ROOTFilePB & default_instance()
friend void swap(ROOTFilePB_Histo &a, ROOTFilePB_Histo &b)
::google::protobuf::uint32 size() const
void protobuf_AssignDescriptorsOnce()
const ::std::string & full_pathname() const
ROOTFilePB_Histo * New() const PROTOBUF_FINAL
void InitDefaultsROOTFilePB()
~ROOTFilePB_Histo() override
static const ROOTFilePB_Histo * internal_default_instance()
::google::protobuf::internal::HasBits< 1 > _has_bits_
static const int kSizeFieldNumber
void Clear() PROTOBUF_FINAL
void SetCachedSize(int size) const PROTOBUF_FINAL
StaticDescriptorInitializer()
void AddDescriptorsImpl()
size_t RequiredFieldsByteSizeFallback() const
bool IsInitialized() const PROTOBUF_FINAL
static const ::google::protobuf::Descriptor * descriptor()
static const ROOTFilePB_Histo & default_instance()
const ::std::string & streamed_histo() const
bool MergePartialFromCodedStream(::google::protobuf::io::CodedInputStream *input) PROTOBUF_FINAL
static const int kFullPathnameFieldNumber
static PROTOBUF_CONSTEXPR int const kIndexInFileMessages
::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL
static std::string const input
bool MergePartialFromCodedStream(::google::protobuf::io::CodedInputStream *input) PROTOBUF_FINAL
void InitDefaultsROOTFilePB_HistoImpl()
void InitDefaultsROOTFilePBImpl()
void CopyFrom(const ::google::protobuf::Message &from) PROTOBUF_FINAL
::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL
bool has_full_pathname() const
ROOTFilePB * New() const PROTOBUF_FINAL
void Swap(ROOTFilePB *other)
static const int kStreamedHistoFieldNumber
void MergeFrom(const ::google::protobuf::Message &from) PROTOBUF_FINAL
size_t ByteSizeLong() const PROTOBUF_FINAL
void swap(edm::DataFrameContainer &lhs, edm::DataFrameContainer &rhs)
::google::protobuf::internal::ArenaStringPtr full_pathname_
void InternalSwap(ROOTFilePB *other)
void clear(CLHEP::HepGenMatrix &m)
Helper function: Reset all elements of a matrix to 0.
class dqmstorepb::ROOTFilePBDefaultTypeInternal _ROOTFilePB_default_instance_
::google::protobuf::internal::HasBits< 1 > _has_bits_
::google::protobuf::uint8 * InternalSerializeWithCachedSizesToArray(bool deterministic,::google::protobuf::uint8 *target) const PROTOBUF_FINAL
static void InitAsDefaultInstance()
void SerializeWithCachedSizes(::google::protobuf::io::CodedOutputStream *output) const PROTOBUF_FINAL
::google::protobuf::Metadata file_level_metadata[2]
static void InitAsDefaultInstance()
void MergeFrom(const ::google::protobuf::Message &from) PROTOBUF_FINAL
void set_has_streamed_histo()
static const int kHistoFieldNumber
class dqmstorepb::ROOTFilePB_HistoDefaultTypeInternal _ROOTFilePB_Histo_default_instance_
static const ROOTFilePB * internal_default_instance()
void InternalSwap(ROOTFilePB_Histo *other)
const ::google::protobuf::uint32 TableStruct::offsets[] GOOGLE_PROTOBUF_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold)
void set_has_full_pathname()
friend void swap(ROOTFilePB &a, ROOTFilePB &b)
::google::protobuf::uint32 size_
void Clear() PROTOBUF_FINAL
const ::google::protobuf::RepeatedPtrField< ::dqmstorepb::ROOTFilePB_Histo > & histo() const
::std::string * mutable_full_pathname()
char data[epos_bytes_allocation]
void InitDefaultsROOTFilePB_Histo()
::dqmstorepb::ROOTFilePB_Histo * add_histo()
void SerializeWithCachedSizes(::google::protobuf::io::CodedOutputStream *output) const PROTOBUF_FINAL
static const int kFlagsFieldNumber
::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_
void protobuf_RegisterTypes(const ::std::string &) GOOGLE_PROTOBUF_ATTRIBUTE_COLD
::google::protobuf::internal::ArenaStringPtr streamed_histo_
::google::protobuf::uint32 flags() const
size_t ByteSizeLong() const PROTOBUF_FINAL
void CopyFrom(const ::google::protobuf::Message &from) PROTOBUF_FINAL
::std::string * mutable_streamed_histo()
void protobuf_AssignDescriptors()
void SetCachedSize(int size) const PROTOBUF_FINAL
static PROTOBUF_CONSTEXPR int const kIndexInFileMessages
void Swap(ROOTFilePB_Histo *other)
::google::protobuf::RepeatedPtrField< ::dqmstorepb::ROOTFilePB_Histo > histo_
::google::protobuf::uint8 * InternalSerializeWithCachedSizesToArray(bool deterministic,::google::protobuf::uint8 *target) const PROTOBUF_FINAL
bool has_streamed_histo() const
struct protobuf_DQMServices_2fCore_2fsrc_2fROOTFilePB_2eproto::StaticDescriptorInitializer static_descriptor_initializer
static const ::google::protobuf::Descriptor * descriptor()
static std::string const source
::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_
bool IsInitialized() const PROTOBUF_FINAL
::google::protobuf::internal::ExplicitlyConstructed< ROOTFilePB > _instance
::google::protobuf::internal::ExplicitlyConstructed< ROOTFilePB_Histo > _instance
::google::protobuf::Message const *const file_default_instances[]