8 #include <google/protobuf/io/coded_stream.h> 9 #include <google/protobuf/extension_set.h> 10 #include <google/protobuf/wire_format_lite.h> 11 #include <google/protobuf/descriptor.h> 12 #include <google/protobuf/generated_message_reflection.h> 13 #include <google/protobuf/reflection_ops.h> 14 #include <google/protobuf/wire_format.h> 16 #include <google/protobuf/port_def.inc> 18 PROTOBUF_PRAGMA_INIT_SEG
20 namespace _pb = ::PROTOBUF_NAMESPACE_ID;
21 namespace _pbi = _pb::internal;
28 {&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}},
29 {&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}},
39 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ROOTFilePB_HistoDefaultTypeInternal
41 PROTOBUF_CONSTEXPR ROOTFilePB::ROOTFilePB(::_pbi::ConstantInitialized)
50 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ROOTFilePBDefaultTypeInternal
54 static constexpr ::_pb::EnumDescriptor
const**
56 static constexpr ::_pb::ServiceDescriptor
const**
95 "\n%DQMServices/Core/src/ROOTFilePB.proto\022" 96 "\ndqmstorepb\"\216\001\n\nROOTFilePB\022+\n\005histo\030\001 \003(" 97 "\0132\034.dqmstorepb.ROOTFilePB.Histo\032S\n\005Histo" 98 "\022\025\n\rfull_pathname\030\001 \002(\t\022\014\n\004size\030\002 \002(\r\022\026\n" 99 "\016streamed_histo\030\003 \002(\014\022\r\n\005flags\030\004 \002(\r";
105 descriptor_table_protodef_DQMServices_2fCore_2fsrc_2fROOTFilePB_2eproto,
106 "DQMServices/Core/src/ROOTFilePB.proto",
118 PROTOBUF_ATTRIBUTE_WEAK const ::_pbi::DescriptorTable*
124 PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 static ::_pbi::AddDescriptorsRunner
125 dynamic_init_dummy_DQMServices_2fCore_2fsrc_2fROOTFilePB_2eproto(
139 return ((has_bits[0] & 0x0000000f) ^ 0x0000000f) != 0;
144 : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) {
158 _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
160 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING 162 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING 167 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING 169 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING 182 (
void)is_message_owned;
190 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING 192 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING 194 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING 196 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING 201 if (
auto* arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) {
209 GOOGLE_DCHECK(GetArenaForAllocation() ==
nullptr);
218 uint32_t cached_has_bits = 0;
220 (
void)cached_has_bits;
223 if (cached_has_bits & 0x00000003u) {
224 if (cached_has_bits & 0x00000001u) {
227 if (cached_has_bits & 0x00000002u) {
231 if (cached_has_bits & 0x0000000cu) {
238 _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
243 if (PROTOBUF_PREDICT_FALSE(!(x))) \ 246 while (!ctx->Done(&ptr)) {
248 ptr = ::_pbi::ReadTag(ptr, &
tag);
252 if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(
tag) == 10)) {
254 ptr = ::_pbi::InlineGreedyStringParser(
str, ptr, ctx);
257 ::_pbi::VerifyUTF8(
str,
"dqmstorepb.ROOTFilePB.Histo.full_pathname");
264 if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(
tag) == 16)) {
266 _impl_.
size_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
273 if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(
tag) == 26)) {
275 ptr = ::_pbi::InlineGreedyStringParser(
str, ptr, ctx);
282 if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(
tag) == 32)) {
284 _impl_.
flags_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
293 if ((
tag == 0) || ((
tag & 7) == 4)) {
295 ctx->SetLastTag(
tag);
298 ptr = UnknownFieldParse(
299 tag, _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), ptr, ctx);
300 CHK_(ptr !=
nullptr);
312 ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream*
stream)
const {
314 uint32_t cached_has_bits = 0;
315 (
void)cached_has_bits;
319 if (cached_has_bits & 0x00000001u) {
320 ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField(
323 ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE,
324 "dqmstorepb.ROOTFilePB.Histo.full_pathname");
329 if (cached_has_bits & 0x00000004u) {
335 if (cached_has_bits & 0x00000002u) {
340 if (cached_has_bits & 0x00000008u) {
345 if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
346 target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
347 _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(
348 ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance),
358 size_t total_size = 0;
362 total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(this->
_internal_full_pathname());
372 total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->
_internal_size());
377 total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->
_internal_flags());
384 size_t total_size = 0;
388 total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(this->
_internal_full_pathname());
394 total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->
_internal_size());
397 total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->
_internal_flags());
402 uint32_t cached_has_bits = 0;
404 (
void)cached_has_bits;
414 const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) {
418 GOOGLE_DCHECK_NE(&from, _this);
419 uint32_t cached_has_bits = 0;
420 (
void)cached_has_bits;
422 cached_has_bits = from._impl_._has_bits_[0];
423 if (cached_has_bits & 0x0000000fu) {
424 if (cached_has_bits & 0x00000001u) {
425 _this->_internal_set_full_pathname(from._internal_full_pathname());
427 if (cached_has_bits & 0x00000002u) {
428 _this->_internal_set_streamed_histo(from._internal_streamed_histo());
430 if (cached_has_bits & 0x00000004u) {
431 _this->_impl_.size_ = from._impl_.size_;
433 if (cached_has_bits & 0x00000008u) {
434 _this->_impl_.flags_ = from._impl_.flags_;
436 _this->_impl_._has_bits_[0] |= cached_has_bits;
438 _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
457 auto* lhs_arena = GetArenaForAllocation();
458 auto* rhs_arena =
other->GetArenaForAllocation();
459 _internal_metadata_.InternalSwap(&
other->_internal_metadata_);
461 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
463 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
468 reinterpret_cast<char*
>(&
_impl_.
size_), reinterpret_cast<char*>(&
other->_impl_.size_));
484 : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) {
493 _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
499 (
void)is_message_owned;
505 if (
auto* arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) {
513 GOOGLE_DCHECK(GetArenaForAllocation() ==
nullptr);
521 uint32_t cached_has_bits = 0;
523 (
void)cached_has_bits;
526 _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
531 if (PROTOBUF_PREDICT_FALSE(!(x))) \ 533 while (!ctx->Done(&ptr)) {
535 ptr = ::_pbi::ReadTag(ptr, &
tag);
539 if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(
tag) == 10)) {
545 if (!ctx->DataAvailable(ptr))
547 }
while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<10>(ptr));
555 if ((
tag == 0) || ((
tag & 7) == 4)) {
557 ctx->SetLastTag(
tag);
560 ptr = UnknownFieldParse(
561 tag, _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), ptr, ctx);
562 CHK_(ptr !=
nullptr);
573 ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream*
stream)
const {
575 uint32_t cached_has_bits = 0;
576 (
void)cached_has_bits;
581 target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::InternalWriteMessage(
585 if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
586 target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
587 _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(
588 ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance),
598 size_t total_size = 0;
600 uint32_t cached_has_bits = 0;
602 (
void)cached_has_bits;
607 total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
msg);
618 const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) {
619 auto*
const _this =
static_cast<ROOTFilePB*
>(&to_msg);
620 auto& from =
static_cast<const ROOTFilePB&
>(from_msg);
622 GOOGLE_DCHECK_NE(&from, _this);
623 uint32_t cached_has_bits = 0;
624 (
void)cached_has_bits;
626 _this->_impl_.histo_.MergeFrom(from._impl_.histo_);
627 _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
639 if (!::PROTOBUF_NAMESPACE_ID::internal::AllAreInitialized(
_impl_.
histo_))
646 _internal_metadata_.InternalSwap(&
other->_internal_metadata_);
658 PROTOBUF_NAMESPACE_OPEN
660 PROTOBUF_NOINLINE ::dqmstorepb::ROOTFilePB_Histo* Arena::CreateMaybeMessage<::dqmstorepb::ROOTFilePB_Histo>(
662 return Arena::CreateMessageInternal<::dqmstorepb::ROOTFilePB_Histo>(arena);
665 PROTOBUF_NOINLINE ::dqmstorepb::ROOTFilePB* Arena::CreateMaybeMessage<::dqmstorepb::ROOTFilePB>(Arena* arena) {
666 return Arena::CreateMessageInternal<::dqmstorepb::ROOTFilePB>(arena);
668 PROTOBUF_NAMESPACE_CLOSE
671 #include <google/protobuf/port_undef.inc>
const uint32_t TableStruct_DQMServices_2fCore_2fsrc_2fROOTFilePB_2eproto::offsets [] PROTOBUF_SECTION_VARIABLE(protodesc_cold)
friend void swap(ROOTFilePB_Histo &a, ROOTFilePB_Histo &b)
size_t ByteSizeLong() const final
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
void CopyFrom(const ROOTFilePB &from)
ROOTFilePB_Histo _instance
static void set_has_flags(HasBits *has_bits)
~ROOTFilePB_Histo() override
decltype(std::declval< ROOTFilePB_Histo >()._impl_._has_bits_) HasBits
std::string * _internal_mutable_full_pathname()
void SetCachedSize(int size) const final
void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned)
const ::dqmstorepb::ROOTFilePB_Histo & _internal_histo(int index) const
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
bool _internal_has_full_pathname() const
static const ::_pb::Message *const file_default_instances[]
mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_
bool _internal_has_flags() const
uint32_t T const *__restrict__ uint32_t const *__restrict__ int32_t int Histo::index_type cudaStream_t stream
uint32_t _internal_flags() const
void swap(Association< C > &lhs, Association< C > &rhs)
TEMPL(T2) struct Divides void
void MergeFrom(const ROOTFilePB_Histo &from)
const ::_pbi::DescriptorTable descriptor_table_DQMServices_2fCore_2fsrc_2fROOTFilePB_2eproto
void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned)
uint8_t * _InternalSerialize(uint8_t *target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream *stream) const final
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
static const ClassData _class_data_
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
uint8_t * _InternalSerialize(uint8_t *target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream *stream) const final
int _internal_histo_size() const
PROTOBUF_CONSTEXPR ROOTFilePBDefaultTypeInternal()
void InternalSwap(ROOTFilePB *other)
static constexpr ::_pb::EnumDescriptor const ** file_level_enum_descriptors_DQMServices_2fCore_2fsrc_2fROOTFilePB_2eproto
const std::string & _internal_full_pathname() const
static const ClassData _class_data_
static constexpr ::_pb::ServiceDescriptor const ** file_level_service_descriptors_DQMServices_2fCore_2fsrc_2fROOTFilePB_2eproto
std::string * _internal_mutable_streamed_histo()
static void set_has_full_pathname(HasBits *has_bits)
void SetCachedSize(int size) const final
::_pb::Metadata file_level_metadata_DQMServices_2fCore_2fsrc_2fROOTFilePB_2eproto[2]
const char * _InternalParse(const char *ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext *ctx) final
::PROTOBUF_NAMESPACE_ID::internal::HasBits< 1 > _has_bits_
~ROOTFilePB_HistoDefaultTypeInternal()
static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message &to_msg, const ::PROTOBUF_NAMESPACE_ID::Message &from_msg)
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr full_pathname_
void InternalSwap(ROOTFilePB_Histo *other)
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<::dqmstorepb::ROOTFilePB_Histo > histo_
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr streamed_histo_
static void set_has_size(HasBits *has_bits)
uint32_t _internal_size() const
size_t ByteSizeLong() const final
bool IsInitialized() const final
static void set_has_streamed_histo(HasBits *has_bits)
~ROOTFilePBDefaultTypeInternal()
::_pbi::once_flag descriptor_table_DQMServices_2fCore_2fsrc_2fROOTFilePB_2eproto_once
char data[epos_bytes_allocation]
::dqmstorepb::ROOTFilePB_Histo * _internal_add_histo()
void MergeFrom(const ROOTFilePB &from)
ROOTFilePBDefaultTypeInternal _ROOTFilePB_default_instance_
mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_
static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message &to_msg, const ::PROTOBUF_NAMESPACE_ID::Message &from_msg)
bool _internal_has_size() const
bool _internal_has_streamed_histo() const
static bool MissingRequiredFields(const HasBits &has_bits)
PROTOBUF_ATTRIBUTE_WEAKconst ::_pbi::DescriptorTable * descriptor_table_DQMServices_2fCore_2fsrc_2fROOTFilePB_2eproto_getter()
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
bool IsInitialized() const final
const char * _InternalParse(const char *ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext *ctx) final
size_t RequiredFieldsByteSizeFallback() const
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
ROOTFilePB_HistoDefaultTypeInternal _ROOTFilePB_Histo_default_instance_
const std::string & _internal_streamed_histo() const
void CopyFrom(const ROOTFilePB_Histo &from)
static const uint32_t offsets[]
PROTOBUF_CONSTEXPR ROOTFilePB_HistoDefaultTypeInternal()