4 #ifndef GOOGLE_PROTOBUF_INCLUDED_DQMServices_2fCore_2fsrc_2fROOTFilePB_2eproto
5 #define GOOGLE_PROTOBUF_INCLUDED_DQMServices_2fCore_2fsrc_2fROOTFilePB_2eproto
10 #include <google/protobuf/port_def.inc>
11 #if PROTOBUF_VERSION < 3015000
12 #error This file was generated by a newer version of protoc which is
13 #error incompatible with your Protocol Buffer headers. Please update
16 #if 3015001 < PROTOBUF_MIN_PROTOC_VERSION
17 #error This file was generated by an older version of protoc which is
18 #error incompatible with your Protocol Buffer headers. Please
19 #error regenerate this file with a newer version of protoc.
22 #include <google/protobuf/port_undef.inc>
23 #include <google/protobuf/io/coded_stream.h>
24 #include <google/protobuf/arena.h>
25 #include <google/protobuf/arenastring.h>
26 #include <google/protobuf/generated_message_table_driven.h>
27 #include <google/protobuf/generated_message_util.h>
28 #include <google/protobuf/metadata_lite.h>
29 #include <google/protobuf/generated_message_reflection.h>
30 #include <google/protobuf/message.h>
31 #include <google/protobuf/repeated_field.h>
32 #include <google/protobuf/extension_set.h>
33 #include <google/protobuf/unknown_field_set.h>
35 #include <google/protobuf/port_def.inc>
36 #define PROTOBUF_INTERNAL_EXPORT_DQMServices_2fCore_2fsrc_2fROOTFilePB_2eproto
37 PROTOBUF_NAMESPACE_OPEN
41 PROTOBUF_NAMESPACE_CLOSE
49 static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata
field_metadata[];
53 extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable
59 struct ROOTFilePBDefaultTypeInternal;
61 class ROOTFilePB_Histo;
62 struct ROOTFilePB_HistoDefaultTypeInternal;
65 PROTOBUF_NAMESPACE_OPEN
67 ::dqmstorepb::ROOTFilePB* Arena::CreateMaybeMessage<::dqmstorepb::ROOTFilePB>(Arena*);
69 ::dqmstorepb::ROOTFilePB_Histo* Arena::CreateMaybeMessage<::dqmstorepb::ROOTFilePB_Histo>(Arena*);
70 PROTOBUF_NAMESPACE_CLOSE
76 :
public ::PROTOBUF_NAMESPACE_ID::
80 ~ROOTFilePB_Histo()
override;
81 explicit constexpr ROOTFilePB_Histo(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
83 ROOTFilePB_Histo(
const ROOTFilePB_Histo& from);
86 inline ROOTFilePB_Histo&
operator=(
const ROOTFilePB_Histo& from) {
90 inline ROOTFilePB_Histo&
operator=(ROOTFilePB_Histo&& from) noexcept {
91 if (GetArena() == from.GetArena()) {
101 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(
102 ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
105 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
108 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
return GetDescriptor(); }
109 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
GetDescriptor() {
return GetMetadataStatic().descriptor; }
110 static const ::PROTOBUF_NAMESPACE_ID::Reflection*
GetReflection() {
return GetMetadataStatic().reflection; }
115 static constexpr
int kIndexInFileMessages = 0;
117 friend void swap(ROOTFilePB_Histo&
a, ROOTFilePB_Histo&
b) {
a.Swap(&
b); }
121 if (GetArena() ==
other->GetArena()) {
124 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this,
other);
130 GOOGLE_DCHECK(GetArena() ==
other->GetArena());
136 inline ROOTFilePB_Histo*
New()
const final {
return CreateMaybeMessage<ROOTFilePB_Histo>(
nullptr); }
138 ROOTFilePB_Histo*
New(::PROTOBUF_NAMESPACE_ID::Arena* arena)
const final {
139 return CreateMaybeMessage<ROOTFilePB_Histo>(arena);
141 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from)
final;
142 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from)
final;
143 void CopyFrom(
const ROOTFilePB_Histo& from);
144 void MergeFrom(
const ROOTFilePB_Histo& from);
145 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
146 bool IsInitialized()
const final;
148 size_t ByteSizeLong()
const final;
149 const char* _InternalParse(
const char* ptr, ::PROTOBUF_NAMESPACE_ID::
internal::ParseContext* ctx) final;
150 ::PROTOBUF_NAMESPACE_ID::
uint8* _InternalSerialize(
151 ::PROTOBUF_NAMESPACE_ID::
uint8*
target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream*
stream)
const final;
152 int GetCachedSize()
const final {
return _cached_size_.Get(); }
155 inline void SharedCtor();
156 inline void SharedDtor();
157 void SetCachedSize(
int size)
const final;
158 void InternalSwap(ROOTFilePB_Histo*
other);
159 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
160 static ::PROTOBUF_NAMESPACE_ID::StringPiece
FullMessageName() {
return "dqmstorepb.ROOTFilePB.Histo"; }
163 explicit ROOTFilePB_Histo(::PROTOBUF_NAMESPACE_ID::Arena* arena);
166 static void ArenaDtor(
void*
object);
167 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
170 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata()
const final;
173 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
183 kFullPathnameFieldNumber = 1,
184 kStreamedHistoFieldNumber = 3,
185 kSizeFieldNumber = 2,
186 kFlagsFieldNumber = 4,
189 bool has_full_pathname()
const;
192 bool _internal_has_full_pathname()
const;
195 void clear_full_pathname();
199 void set_full_pathname(
const char*
value);
200 void set_full_pathname(
const char*
value,
size_t size);
203 void set_allocated_full_pathname(
std::string* full_pathname);
206 const std::string& _internal_full_pathname()
const;
212 bool has_streamed_histo()
const;
215 bool _internal_has_streamed_histo()
const;
218 void clear_streamed_histo();
222 void set_streamed_histo(
const char*
value);
223 void set_streamed_histo(
const void*
value,
size_t size);
226 void set_allocated_streamed_histo(
std::string* streamed_histo);
229 const std::string& _internal_streamed_histo()
const;
235 bool has_size()
const;
238 bool _internal_has_size()
const;
251 bool has_flags()
const;
254 bool _internal_has_flags()
const;
271 size_t RequiredFieldsByteSizeFallback()
const;
273 template <
typename T>
274 friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
283 friend struct ::TableStruct_DQMServices_2fCore_2fsrc_2fROOTFilePB_2eproto;
288 :
public ::PROTOBUF_NAMESPACE_ID::Message {
291 ~ROOTFilePB()
override;
292 explicit constexpr ROOTFilePB(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
294 ROOTFilePB(
const ROOTFilePB& from);
301 inline ROOTFilePB&
operator=(ROOTFilePB&& from) noexcept {
302 if (GetArena() == from.GetArena()) {
312 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(
313 ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
316 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
319 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
return GetDescriptor(); }
320 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
GetDescriptor() {
return GetMetadataStatic().descriptor; }
321 static const ::PROTOBUF_NAMESPACE_ID::Reflection*
GetReflection() {
return GetMetadataStatic().reflection; }
326 static constexpr
int kIndexInFileMessages = 1;
328 friend void swap(ROOTFilePB&
a, ROOTFilePB&
b) {
a.Swap(&
b); }
332 if (GetArena() ==
other->GetArena()) {
335 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this,
other);
341 GOOGLE_DCHECK(GetArena() ==
other->GetArena());
347 inline ROOTFilePB*
New()
const final {
return CreateMaybeMessage<ROOTFilePB>(
nullptr); }
349 ROOTFilePB*
New(::PROTOBUF_NAMESPACE_ID::Arena* arena)
const final {
return CreateMaybeMessage<ROOTFilePB>(arena); }
350 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from)
final;
351 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from)
final;
352 void CopyFrom(
const ROOTFilePB& from);
353 void MergeFrom(
const ROOTFilePB& from);
354 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
355 bool IsInitialized()
const final;
357 size_t ByteSizeLong()
const final;
358 const char* _InternalParse(
const char* ptr, ::PROTOBUF_NAMESPACE_ID::
internal::ParseContext* ctx) final;
359 ::PROTOBUF_NAMESPACE_ID::
uint8* _InternalSerialize(
360 ::PROTOBUF_NAMESPACE_ID::
uint8*
target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream*
stream)
const final;
361 int GetCachedSize()
const final {
return _cached_size_.Get(); }
364 inline void SharedCtor();
365 inline void SharedDtor();
366 void SetCachedSize(
int size)
const final;
367 void InternalSwap(ROOTFilePB*
other);
368 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
369 static ::PROTOBUF_NAMESPACE_ID::StringPiece
FullMessageName() {
return "dqmstorepb.ROOTFilePB"; }
372 explicit ROOTFilePB(::PROTOBUF_NAMESPACE_ID::Arena* arena);
375 static void ArenaDtor(
void*
object);
376 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
379 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata()
const final;
382 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
394 kHistoFieldNumber = 1,
397 int histo_size()
const;
400 int _internal_histo_size()
const;
404 ::dqmstorepb::ROOTFilePB_Histo* mutable_histo(
int index);
405 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<::dqmstorepb::ROOTFilePB_Histo>* mutable_histo();
408 const ::dqmstorepb::ROOTFilePB_Histo& _internal_histo(
int index)
const;
409 ::dqmstorepb::ROOTFilePB_Histo* _internal_add_histo();
412 const ::dqmstorepb::ROOTFilePB_Histo&
histo(
int index)
const;
413 ::dqmstorepb::ROOTFilePB_Histo* add_histo();
414 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<::dqmstorepb::ROOTFilePB_Histo>&
histo()
const;
420 template <
typename T>
421 friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
424 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<::dqmstorepb::ROOTFilePB_Histo>
histo_;
425 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
426 friend struct ::TableStruct_DQMServices_2fCore_2fsrc_2fROOTFilePB_2eproto;
433 #pragma GCC diagnostic push
434 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
439 inline bool ROOTFilePB_Histo::_internal_has_full_pathname()
const {
440 bool value = (_has_bits_[0] & 0x00000001u) != 0;
443 inline bool ROOTFilePB_Histo::has_full_pathname()
const {
return _internal_has_full_pathname(); }
444 inline void ROOTFilePB_Histo::clear_full_pathname() {
445 full_pathname_.ClearToEmpty();
446 _has_bits_[0] &= ~0x00000001u;
448 inline const std::string& ROOTFilePB_Histo::full_pathname()
const {
450 return _internal_full_pathname();
453 _internal_set_full_pathname(
value);
456 inline std::string* ROOTFilePB_Histo::mutable_full_pathname() {
458 return _internal_mutable_full_pathname();
460 inline const std::string& ROOTFilePB_Histo::_internal_full_pathname()
const {
return full_pathname_.Get(); }
461 inline void ROOTFilePB_Histo::_internal_set_full_pathname(
const std::string&
value) {
462 _has_bits_[0] |= 0x00000001u;
463 full_pathname_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{},
value, GetArena());
466 _has_bits_[0] |= 0x00000001u;
468 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{},
::std::move(
value), GetArena());
471 inline void ROOTFilePB_Histo::set_full_pathname(
const char*
value) {
472 GOOGLE_DCHECK(
value !=
nullptr);
473 _has_bits_[0] |= 0x00000001u;
475 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{},
::std::string(
value), GetArena());
478 inline void ROOTFilePB_Histo::set_full_pathname(
const char*
value,
size_t size) {
479 _has_bits_[0] |= 0x00000001u;
480 full_pathname_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{},
485 inline std::string* ROOTFilePB_Histo::_internal_mutable_full_pathname() {
486 _has_bits_[0] |= 0x00000001u;
487 return full_pathname_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
489 inline std::string* ROOTFilePB_Histo::release_full_pathname() {
491 if (!_internal_has_full_pathname()) {
494 _has_bits_[0] &= ~0x00000001u;
495 return full_pathname_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
498 inline void ROOTFilePB_Histo::set_allocated_full_pathname(
std::string* full_pathname) {
499 if (full_pathname !=
nullptr) {
500 _has_bits_[0] |= 0x00000001u;
502 _has_bits_[0] &= ~0x00000001u;
504 full_pathname_.SetAllocated(
505 &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), full_pathname, GetArena());
510 inline bool ROOTFilePB_Histo::_internal_has_size()
const {
511 bool value = (_has_bits_[0] & 0x00000004u) != 0;
514 inline bool ROOTFilePB_Histo::has_size()
const {
return _internal_has_size(); }
515 inline void ROOTFilePB_Histo::clear_size() {
517 _has_bits_[0] &= ~0x00000004u;
522 return _internal_size();
525 _has_bits_[0] |= 0x00000004u;
529 _internal_set_size(
value);
534 inline bool ROOTFilePB_Histo::_internal_has_streamed_histo()
const {
535 bool value = (_has_bits_[0] & 0x00000002u) != 0;
538 inline bool ROOTFilePB_Histo::has_streamed_histo()
const {
return _internal_has_streamed_histo(); }
539 inline void ROOTFilePB_Histo::clear_streamed_histo() {
540 streamed_histo_.ClearToEmpty();
541 _has_bits_[0] &= ~0x00000002u;
543 inline const std::string& ROOTFilePB_Histo::streamed_histo()
const {
545 return _internal_streamed_histo();
547 inline void ROOTFilePB_Histo::set_streamed_histo(
const std::string&
value) {
548 _internal_set_streamed_histo(
value);
551 inline std::string* ROOTFilePB_Histo::mutable_streamed_histo() {
553 return _internal_mutable_streamed_histo();
555 inline const std::string& ROOTFilePB_Histo::_internal_streamed_histo()
const {
return streamed_histo_.Get(); }
556 inline void ROOTFilePB_Histo::_internal_set_streamed_histo(
const std::string&
value) {
557 _has_bits_[0] |= 0x00000002u;
558 streamed_histo_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{},
value, GetArena());
561 _has_bits_[0] |= 0x00000002u;
563 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{},
::std::move(
value), GetArena());
566 inline void ROOTFilePB_Histo::set_streamed_histo(
const char*
value) {
567 GOOGLE_DCHECK(
value !=
nullptr);
568 _has_bits_[0] |= 0x00000002u;
570 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{},
::std::string(
value), GetArena());
573 inline void ROOTFilePB_Histo::set_streamed_histo(
const void*
value,
size_t size) {
574 _has_bits_[0] |= 0x00000002u;
575 streamed_histo_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{},
580 inline std::string* ROOTFilePB_Histo::_internal_mutable_streamed_histo() {
581 _has_bits_[0] |= 0x00000002u;
582 return streamed_histo_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
584 inline std::string* ROOTFilePB_Histo::release_streamed_histo() {
586 if (!_internal_has_streamed_histo()) {
589 _has_bits_[0] &= ~0x00000002u;
590 return streamed_histo_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
593 inline void ROOTFilePB_Histo::set_allocated_streamed_histo(
std::string* streamed_histo) {
594 if (streamed_histo !=
nullptr) {
595 _has_bits_[0] |= 0x00000002u;
597 _has_bits_[0] &= ~0x00000002u;
599 streamed_histo_.SetAllocated(
600 &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), streamed_histo, GetArena());
605 inline bool ROOTFilePB_Histo::_internal_has_flags()
const {
606 bool value = (_has_bits_[0] & 0x00000008u) != 0;
609 inline bool ROOTFilePB_Histo::has_flags()
const {
return _internal_has_flags(); }
610 inline void ROOTFilePB_Histo::clear_flags() {
612 _has_bits_[0] &= ~0x00000008u;
617 return _internal_flags();
620 _has_bits_[0] |= 0x00000008u;
624 _internal_set_flags(
value);
633 inline int ROOTFilePB::_internal_histo_size()
const {
return histo_.size(); }
634 inline int ROOTFilePB::histo_size()
const {
return _internal_histo_size(); }
635 inline void ROOTFilePB::clear_histo() { histo_.Clear(); }
636 inline ::dqmstorepb::ROOTFilePB_Histo* ROOTFilePB::mutable_histo(
int index) {
638 return histo_.Mutable(
index);
640 inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<::dqmstorepb::ROOTFilePB_Histo>* ROOTFilePB::mutable_histo() {
644 inline const ::dqmstorepb::ROOTFilePB_Histo& ROOTFilePB::_internal_histo(
int index)
const {
645 return histo_.Get(
index);
649 return _internal_histo(
index);
651 inline ::dqmstorepb::ROOTFilePB_Histo* ROOTFilePB::_internal_add_histo() {
return histo_.Add(); }
652 inline ::dqmstorepb::ROOTFilePB_Histo* ROOTFilePB::add_histo() {
654 return _internal_add_histo();
656 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<::dqmstorepb::ROOTFilePB_Histo>&
ROOTFilePB::histo()
const {
662 #pragma GCC diagnostic pop
672 #include <google/protobuf/port_undef.inc>
673 #endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_DQMServices_2fCore_2fsrc_2fROOTFilePB_2eproto