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>
30 ::google::protobuf::internal::ExplicitlyConstructed<ROOTFilePB>
36 GOOGLE_PROTOBUF_VERIFY_VERSION;
38 #ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS 39 ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
41 ::google::protobuf::internal::InitProtobufDefaults();
42 #endif // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS 46 ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
52 static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
57 GOOGLE_PROTOBUF_VERIFY_VERSION;
59 #ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS 60 ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
62 ::google::protobuf::internal::InitProtobufDefaults();
63 #endif // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS 68 ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
74 static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
114 ::google::protobuf::MessageFactory* factory =
nullptr;
116 "DQMServices/Core/src/ROOTFilePB.proto", schemas, file_default_instances, TableStruct::offsets, factory,
121 static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
128 ::google::protobuf::internal::RegisterAllTypes(file_level_metadata, 2);
134 "\n%DQMServices/Core/src/ROOTFilePB.proto\022" 135 "\ndqmstorepb\"\216\001\n\nROOTFilePB\022+\n\005histo\030\001 \003(" 136 "\0132\034.dqmstorepb.ROOTFilePB.Histo\032S\n\005Histo" 137 "\022\025\n\rfull_pathname\030\001 \002(\t\022\014\n\004size\030\002 \002(\r\022\026\n" 138 "\016streamed_histo\030\003 \002(\014\022\r\n\005flags\030\004 \002(\r" 140 ::google::protobuf::DescriptorPool::InternalAddGeneratedFile(
142 ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile(
147 static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
163 #if !defined(_MSC_VER) || _MSC_VER >= 1900 168 #endif // !defined(_MSC_VER) || _MSC_VER >= 1900 171 : ::google::protobuf::Message(), _internal_metadata_(
nullptr) {
179 : ::google::protobuf::Message(),
184 full_pathname_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
188 streamed_histo_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
193 static_cast<size_t>(reinterpret_cast<char*>(&
flags_) -
194 reinterpret_cast<char*>(&
size_)) +
sizeof(
flags_));
200 full_pathname_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
201 streamed_histo_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
202 ::memset(&
size_, 0, static_cast<size_t>(
203 reinterpret_cast<char*>(&
flags_) -
204 reinterpret_cast<char*>(&
size_)) +
sizeof(
flags_));
213 full_pathname_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
214 streamed_histo_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
218 GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
220 GOOGLE_SAFE_CONCURRENT_WRITES_END();
234 if (arena !=
nullptr) {
244 (void) cached_has_bits;
247 if (cached_has_bits & 3u) {
248 if (cached_has_bits & 0x00000001u) {
249 GOOGLE_DCHECK(!
full_pathname_.IsDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()));
252 if (cached_has_bits & 0x00000002u) {
253 GOOGLE_DCHECK(!
streamed_histo_.IsDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()));
257 if (cached_has_bits & 12u) {
258 ::memset(&
size_, 0, static_cast<size_t>(
259 reinterpret_cast<char*>(&
flags_) -
260 reinterpret_cast<char*>(&
size_)) +
sizeof(
flags_));
267 ::google::protobuf::io::CodedInputStream*
input) {
268 #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure 272 ::std::pair< ::google::protobuf::uint32, bool>
p = input->ReadTagWithCutoffNoLastTag(127u);
274 if (!p.second)
goto handle_unusual;
275 switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
278 if (static_cast< ::google::protobuf::uint8>(tag) ==
279 static_cast< ::google::protobuf::uint8>(10u )) {
280 DO_(::google::protobuf::internal::WireFormatLite::ReadString(
282 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
284 ::google::protobuf::internal::WireFormat::PARSE,
285 "dqmstorepb.ROOTFilePB.Histo.full_pathname");
294 if (static_cast< ::google::protobuf::uint8>(tag) ==
295 static_cast< ::google::protobuf::uint8>(16u )) {
297 DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
308 if (static_cast< ::google::protobuf::uint8>(tag) ==
309 static_cast< ::google::protobuf::uint8>(26u )) {
310 DO_(::google::protobuf::internal::WireFormatLite::ReadBytes(
320 if (static_cast< ::google::protobuf::uint8>(tag) ==
321 static_cast< ::google::protobuf::uint8>(32u )) {
323 DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
337 DO_(::google::protobuf::internal::WireFormat::SkipField(
353 ::google::protobuf::io::CodedOutputStream*
output)
const {
356 (void) cached_has_bits;
360 if (cached_has_bits & 0x00000001u) {
361 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
363 ::google::protobuf::internal::WireFormat::SERIALIZE,
364 "dqmstorepb.ROOTFilePB.Histo.full_pathname");
365 ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
370 if (cached_has_bits & 0x00000004u) {
371 ::google::protobuf::internal::WireFormatLite::WriteUInt32(2, this->
size(), output);
375 if (cached_has_bits & 0x00000002u) {
376 ::google::protobuf::internal::WireFormatLite::WriteBytesMaybeAliased(
381 if (cached_has_bits & 0x00000008u) {
382 ::google::protobuf::internal::WireFormatLite::WriteUInt32(4, this->
flags(), output);
386 ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
397 (void) cached_has_bits;
401 if (cached_has_bits & 0x00000001u) {
402 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
404 ::google::protobuf::internal::WireFormat::SERIALIZE,
405 "dqmstorepb.ROOTFilePB.Histo.full_pathname");
407 ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
412 if (cached_has_bits & 0x00000004u) {
413 target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(2, this->
size(), target);
417 if (cached_has_bits & 0x00000002u) {
419 ::google::protobuf::internal::WireFormatLite::WriteBytesToArray(
424 if (cached_has_bits & 0x00000008u) {
425 target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(4, this->
flags(), target);
429 target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
438 size_t total_size = 0;
443 ::google::protobuf::internal::WireFormatLite::StringSize(
450 ::google::protobuf::internal::WireFormatLite::BytesSize(
457 ::google::protobuf::internal::WireFormatLite::UInt32Size(
464 ::google::protobuf::internal::WireFormatLite::UInt32Size(
472 size_t total_size = 0;
476 ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
479 if (((
_has_bits_[0] & 0x0000000f) ^ 0x0000000f) == 0) {
482 ::google::protobuf::internal::WireFormatLite::StringSize(
487 ::google::protobuf::internal::WireFormatLite::BytesSize(
492 ::google::protobuf::internal::WireFormatLite::UInt32Size(
497 ::google::protobuf::internal::WireFormatLite::UInt32Size(
503 int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
504 GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
506 GOOGLE_SAFE_CONCURRENT_WRITES_END();
512 GOOGLE_DCHECK_NE(&from,
this);
514 ::google::protobuf::internal::DynamicCastToGenerated<const ROOTFilePB_Histo>(
516 if (source ==
nullptr) {
518 ::google::protobuf::internal::ReflectionOps::Merge(from,
this);
527 GOOGLE_DCHECK_NE(&from,
this);
530 (void) cached_has_bits;
533 if (cached_has_bits & 15u) {
534 if (cached_has_bits & 0x00000001u) {
538 if (cached_has_bits & 0x00000002u) {
542 if (cached_has_bits & 0x00000004u) {
545 if (cached_has_bits & 0x00000008u) {
554 if (&from ==
this)
return;
561 if (&from ==
this)
return;
567 if ((
_has_bits_[0] & 0x0000000f) != 0x0000000f)
return false;
572 if (other ==
this)
return;
596 #if !defined(_MSC_VER) || _MSC_VER >= 1900 598 #endif // !defined(_MSC_VER) || _MSC_VER >= 1900 609 : ::google::protobuf::Message(),
631 GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
633 GOOGLE_SAFE_CONCURRENT_WRITES_END();
647 if (arena !=
nullptr) {
657 (void) cached_has_bits;
665 ::google::protobuf::io::CodedInputStream*
input) {
666 #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure 670 ::std::pair< ::google::protobuf::uint32, bool>
p = input->ReadTagWithCutoffNoLastTag(127u);
672 if (!p.second)
goto handle_unusual;
673 switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
676 if (static_cast< ::google::protobuf::uint8>(tag) ==
677 static_cast< ::google::protobuf::uint8>(10u )) {
678 DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(input,
add_histo()));
690 DO_(::google::protobuf::internal::WireFormat::SkipField(
706 ::google::protobuf::io::CodedOutputStream*
output)
const {
709 (void) cached_has_bits;
712 for (
unsigned int i = 0,
714 ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
715 1, this->
histo(static_cast<int>(
i)), output);
719 ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
730 (void) cached_has_bits;
733 for (
unsigned int i = 0,
735 target = ::google::protobuf::internal::WireFormatLite::
736 InternalWriteMessageToArray(
737 1, this->
histo(static_cast<int>(
i)), deterministic, target);
741 target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
750 size_t total_size = 0;
754 ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
760 total_size += 1UL *
count;
761 for (
unsigned int i = 0;
i <
count;
i++) {
763 ::google::protobuf::internal::WireFormatLite::MessageSize(
764 this->
histo(static_cast<int>(
i)));
768 int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
769 GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
771 GOOGLE_SAFE_CONCURRENT_WRITES_END();
777 GOOGLE_DCHECK_NE(&from,
this);
779 ::google::protobuf::internal::DynamicCastToGenerated<const ROOTFilePB>(
781 if (source ==
nullptr) {
783 ::google::protobuf::internal::ReflectionOps::Merge(from,
this);
792 GOOGLE_DCHECK_NE(&from,
this);
795 (void) cached_has_bits;
802 if (&from ==
this)
return;
809 if (&from ==
this)
return;
815 if (!::google::protobuf::internal::AllAreInitialized(this->
histo()))
return false;
820 if (other ==
this)
return;
::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)
::google::protobuf::RepeatedPtrField< ::dqmstorepb::ROOTFilePB_Histo > histo_
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::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[]