File indexing completed on 2024-04-06 12:10:10
0001
0002
0003
0004 #ifndef GOOGLE_PROTOBUF_INCLUDED_DQMServices_2fCore_2fsrc_2fROOTFilePB_2eproto
0005 #define GOOGLE_PROTOBUF_INCLUDED_DQMServices_2fCore_2fsrc_2fROOTFilePB_2eproto
0006
0007 #include <limits>
0008 #include <string>
0009
0010 #include <google/protobuf/port_def.inc>
0011 #if PROTOBUF_VERSION < 3021000
0012 #error This file was generated by a newer version of protoc which is
0013 #error incompatible with your Protocol Buffer headers. Please update
0014 #error your headers.
0015 #endif
0016 #if 3021009 < PROTOBUF_MIN_PROTOC_VERSION
0017 #error This file was generated by an older version of protoc which is
0018 #error incompatible with your Protocol Buffer headers. Please
0019 #error regenerate this file with a newer version of protoc.
0020 #endif
0021
0022 #include <google/protobuf/port_undef.inc>
0023 #include <google/protobuf/io/coded_stream.h>
0024 #include <google/protobuf/arena.h>
0025 #include <google/protobuf/arenastring.h>
0026 #include <google/protobuf/generated_message_util.h>
0027 #include <google/protobuf/metadata_lite.h>
0028 #include <google/protobuf/generated_message_reflection.h>
0029 #include <google/protobuf/message.h>
0030 #include <google/protobuf/repeated_field.h> // IWYU pragma: export
0031 #include <google/protobuf/extension_set.h> // IWYU pragma: export
0032 #include <google/protobuf/unknown_field_set.h>
0033
0034 #include <google/protobuf/port_def.inc>
0035 #define PROTOBUF_INTERNAL_EXPORT_DQMServices_2fCore_2fsrc_2fROOTFilePB_2eproto
0036 PROTOBUF_NAMESPACE_OPEN
0037 namespace internal {
0038 class AnyMetadata;
0039 }
0040 PROTOBUF_NAMESPACE_CLOSE
0041
0042
0043 struct TableStruct_DQMServices_2fCore_2fsrc_2fROOTFilePB_2eproto {
0044 static const uint32_t offsets[];
0045 };
0046 extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable
0047 descriptor_table_DQMServices_2fCore_2fsrc_2fROOTFilePB_2eproto;
0048 namespace dqmstorepb {
0049 class ROOTFilePB;
0050 struct ROOTFilePBDefaultTypeInternal;
0051 extern ROOTFilePBDefaultTypeInternal _ROOTFilePB_default_instance_;
0052 class ROOTFilePB_Histo;
0053 struct ROOTFilePB_HistoDefaultTypeInternal;
0054 extern ROOTFilePB_HistoDefaultTypeInternal _ROOTFilePB_Histo_default_instance_;
0055 }
0056 PROTOBUF_NAMESPACE_OPEN
0057 template <>
0058 ::dqmstorepb::ROOTFilePB* Arena::CreateMaybeMessage<::dqmstorepb::ROOTFilePB>(Arena*);
0059 template <>
0060 ::dqmstorepb::ROOTFilePB_Histo* Arena::CreateMaybeMessage<::dqmstorepb::ROOTFilePB_Histo>(Arena*);
0061 PROTOBUF_NAMESPACE_CLOSE
0062 namespace dqmstorepb {
0063
0064
0065
0066 class ROOTFilePB_Histo final
0067 : public ::PROTOBUF_NAMESPACE_ID::
0068 Message {
0069 public:
0070 inline ROOTFilePB_Histo() : ROOTFilePB_Histo(nullptr) {}
0071 ~ROOTFilePB_Histo() override;
0072 explicit PROTOBUF_CONSTEXPR ROOTFilePB_Histo(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
0073
0074 ROOTFilePB_Histo(const ROOTFilePB_Histo& from);
0075 ROOTFilePB_Histo(ROOTFilePB_Histo&& from) noexcept : ROOTFilePB_Histo() { *this = ::std::move(from); }
0076
0077 inline ROOTFilePB_Histo& operator=(const ROOTFilePB_Histo& from) {
0078 CopyFrom(from);
0079 return *this;
0080 }
0081 inline ROOTFilePB_Histo& operator=(ROOTFilePB_Histo&& from) noexcept {
0082 if (this == &from)
0083 return *this;
0084 if (GetOwningArena() == from.GetOwningArena()
0085 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
0086 && GetOwningArena() != nullptr
0087 #endif
0088 ) {
0089 InternalSwap(&from);
0090 } else {
0091 CopyFrom(from);
0092 }
0093 return *this;
0094 }
0095
0096 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
0097 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(
0098 ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
0099 }
0100 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
0101 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
0102 }
0103
0104 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { return GetDescriptor(); }
0105 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
0106 return default_instance().GetMetadata().descriptor;
0107 }
0108 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
0109 return default_instance().GetMetadata().reflection;
0110 }
0111 static const ROOTFilePB_Histo& default_instance() { return *internal_default_instance(); }
0112 static inline const ROOTFilePB_Histo* internal_default_instance() {
0113 return reinterpret_cast<const ROOTFilePB_Histo*>(&_ROOTFilePB_Histo_default_instance_);
0114 }
0115 static constexpr int kIndexInFileMessages = 0;
0116
0117 friend void swap(ROOTFilePB_Histo& a, ROOTFilePB_Histo& b) { a.Swap(&b); }
0118 inline void Swap(ROOTFilePB_Histo* other) {
0119 if (other == this)
0120 return;
0121 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
0122 if (GetOwningArena() != nullptr && GetOwningArena() == other->GetOwningArena()) {
0123 #else
0124 if (GetOwningArena() == other->GetOwningArena()) {
0125 #endif
0126 InternalSwap(other);
0127 } else {
0128 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
0129 }
0130 }
0131 void UnsafeArenaSwap(ROOTFilePB_Histo* other) {
0132 if (other == this)
0133 return;
0134 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
0135 InternalSwap(other);
0136 }
0137
0138
0139
0140 ROOTFilePB_Histo* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
0141 return CreateMaybeMessage<ROOTFilePB_Histo>(arena);
0142 }
0143 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
0144 void CopyFrom(const ROOTFilePB_Histo& from);
0145 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
0146 void MergeFrom(const ROOTFilePB_Histo& from) { ROOTFilePB_Histo::MergeImpl(*this, from); }
0147
0148 private:
0149 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
0150
0151 public:
0152 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
0153 bool IsInitialized() const final;
0154
0155 size_t ByteSizeLong() const final;
0156 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
0157 uint8_t* _InternalSerialize(uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
0158 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
0159
0160 private:
0161 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
0162 void SharedDtor();
0163 void SetCachedSize(int size) const final;
0164 void InternalSwap(ROOTFilePB_Histo* other);
0165
0166 private:
0167 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
0168 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "dqmstorepb.ROOTFilePB.Histo"; }
0169
0170 protected:
0171 explicit ROOTFilePB_Histo(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false);
0172
0173 public:
0174 static const ClassData _class_data_;
0175 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData* GetClassData() const final;
0176
0177 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
0178
0179
0180
0181
0182
0183 enum : int {
0184 kFullPathnameFieldNumber = 1,
0185 kStreamedHistoFieldNumber = 3,
0186 kSizeFieldNumber = 2,
0187 kFlagsFieldNumber = 4,
0188 };
0189
0190 bool has_full_pathname() const;
0191
0192 private:
0193 bool _internal_has_full_pathname() const;
0194
0195 public:
0196 void clear_full_pathname();
0197 const std::string& full_pathname() const;
0198 template <typename ArgT0 = const std::string&, typename... ArgT>
0199 void set_full_pathname(ArgT0&& arg0, ArgT... args);
0200 std::string* mutable_full_pathname();
0201 PROTOBUF_NODISCARD std::string* release_full_pathname();
0202 void set_allocated_full_pathname(std::string* full_pathname);
0203
0204 private:
0205 const std::string& _internal_full_pathname() const;
0206 inline PROTOBUF_ALWAYS_INLINE void _internal_set_full_pathname(const std::string& value);
0207 std::string* _internal_mutable_full_pathname();
0208
0209 public:
0210
0211 bool has_streamed_histo() const;
0212
0213 private:
0214 bool _internal_has_streamed_histo() const;
0215
0216 public:
0217 void clear_streamed_histo();
0218 const std::string& streamed_histo() const;
0219 template <typename ArgT0 = const std::string&, typename... ArgT>
0220 void set_streamed_histo(ArgT0&& arg0, ArgT... args);
0221 std::string* mutable_streamed_histo();
0222 PROTOBUF_NODISCARD std::string* release_streamed_histo();
0223 void set_allocated_streamed_histo(std::string* streamed_histo);
0224
0225 private:
0226 const std::string& _internal_streamed_histo() const;
0227 inline PROTOBUF_ALWAYS_INLINE void _internal_set_streamed_histo(const std::string& value);
0228 std::string* _internal_mutable_streamed_histo();
0229
0230 public:
0231
0232 bool has_size() const;
0233
0234 private:
0235 bool _internal_has_size() const;
0236
0237 public:
0238 void clear_size();
0239 uint32_t size() const;
0240 void set_size(uint32_t value);
0241
0242 private:
0243 uint32_t _internal_size() const;
0244 void _internal_set_size(uint32_t value);
0245
0246 public:
0247
0248 bool has_flags() const;
0249
0250 private:
0251 bool _internal_has_flags() const;
0252
0253 public:
0254 void clear_flags();
0255 uint32_t flags() const;
0256 void set_flags(uint32_t value);
0257
0258 private:
0259 uint32_t _internal_flags() const;
0260 void _internal_set_flags(uint32_t value);
0261
0262 public:
0263
0264 private:
0265 class _Internal;
0266
0267
0268 size_t RequiredFieldsByteSizeFallback() const;
0269
0270 template <typename T>
0271 friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
0272 typedef void InternalArenaConstructable_;
0273 typedef void DestructorSkippable_;
0274 struct Impl_ {
0275 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
0276 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
0277 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr full_pathname_;
0278 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr streamed_histo_;
0279 uint32_t size_;
0280 uint32_t flags_;
0281 };
0282 union {
0283 Impl_ _impl_;
0284 };
0285 friend struct ::TableStruct_DQMServices_2fCore_2fsrc_2fROOTFilePB_2eproto;
0286 };
0287
0288
0289 class ROOTFilePB final
0290 : public ::PROTOBUF_NAMESPACE_ID::Message {
0291 public:
0292 inline ROOTFilePB() : ROOTFilePB(nullptr) {}
0293 ~ROOTFilePB() override;
0294 explicit PROTOBUF_CONSTEXPR ROOTFilePB(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
0295
0296 ROOTFilePB(const ROOTFilePB& from);
0297 ROOTFilePB(ROOTFilePB&& from) noexcept : ROOTFilePB() { *this = ::std::move(from); }
0298
0299 inline ROOTFilePB& operator=(const ROOTFilePB& from) {
0300 CopyFrom(from);
0301 return *this;
0302 }
0303 inline ROOTFilePB& operator=(ROOTFilePB&& from) noexcept {
0304 if (this == &from)
0305 return *this;
0306 if (GetOwningArena() == from.GetOwningArena()
0307 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
0308 && GetOwningArena() != nullptr
0309 #endif
0310 ) {
0311 InternalSwap(&from);
0312 } else {
0313 CopyFrom(from);
0314 }
0315 return *this;
0316 }
0317
0318 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
0319 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(
0320 ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
0321 }
0322 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
0323 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
0324 }
0325
0326 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { return GetDescriptor(); }
0327 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
0328 return default_instance().GetMetadata().descriptor;
0329 }
0330 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
0331 return default_instance().GetMetadata().reflection;
0332 }
0333 static const ROOTFilePB& default_instance() { return *internal_default_instance(); }
0334 static inline const ROOTFilePB* internal_default_instance() {
0335 return reinterpret_cast<const ROOTFilePB*>(&_ROOTFilePB_default_instance_);
0336 }
0337 static constexpr int kIndexInFileMessages = 1;
0338
0339 friend void swap(ROOTFilePB& a, ROOTFilePB& b) { a.Swap(&b); }
0340 inline void Swap(ROOTFilePB* other) {
0341 if (other == this)
0342 return;
0343 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
0344 if (GetOwningArena() != nullptr && GetOwningArena() == other->GetOwningArena()) {
0345 #else
0346 if (GetOwningArena() == other->GetOwningArena()) {
0347 #endif
0348 InternalSwap(other);
0349 } else {
0350 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
0351 }
0352 }
0353 void UnsafeArenaSwap(ROOTFilePB* other) {
0354 if (other == this)
0355 return;
0356 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
0357 InternalSwap(other);
0358 }
0359
0360
0361
0362 ROOTFilePB* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
0363 return CreateMaybeMessage<ROOTFilePB>(arena);
0364 }
0365 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
0366 void CopyFrom(const ROOTFilePB& from);
0367 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
0368 void MergeFrom(const ROOTFilePB& from) { ROOTFilePB::MergeImpl(*this, from); }
0369
0370 private:
0371 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
0372
0373 public:
0374 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
0375 bool IsInitialized() const final;
0376
0377 size_t ByteSizeLong() const final;
0378 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
0379 uint8_t* _InternalSerialize(uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
0380 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
0381
0382 private:
0383 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
0384 void SharedDtor();
0385 void SetCachedSize(int size) const final;
0386 void InternalSwap(ROOTFilePB* other);
0387
0388 private:
0389 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
0390 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "dqmstorepb.ROOTFilePB"; }
0391
0392 protected:
0393 explicit ROOTFilePB(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false);
0394
0395 public:
0396 static const ClassData _class_data_;
0397 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData* GetClassData() const final;
0398
0399 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
0400
0401
0402
0403 typedef ROOTFilePB_Histo Histo;
0404
0405
0406
0407 enum : int {
0408 kHistoFieldNumber = 1,
0409 };
0410
0411 int histo_size() const;
0412
0413 private:
0414 int _internal_histo_size() const;
0415
0416 public:
0417 void clear_histo();
0418 ::dqmstorepb::ROOTFilePB_Histo* mutable_histo(int index);
0419 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<::dqmstorepb::ROOTFilePB_Histo>* mutable_histo();
0420
0421 private:
0422 const ::dqmstorepb::ROOTFilePB_Histo& _internal_histo(int index) const;
0423 ::dqmstorepb::ROOTFilePB_Histo* _internal_add_histo();
0424
0425 public:
0426 const ::dqmstorepb::ROOTFilePB_Histo& histo(int index) const;
0427 ::dqmstorepb::ROOTFilePB_Histo* add_histo();
0428 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<::dqmstorepb::ROOTFilePB_Histo>& histo() const;
0429
0430
0431 private:
0432 class _Internal;
0433
0434 template <typename T>
0435 friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
0436 typedef void InternalArenaConstructable_;
0437 typedef void DestructorSkippable_;
0438 struct Impl_ {
0439 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<::dqmstorepb::ROOTFilePB_Histo> histo_;
0440 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
0441 };
0442 union {
0443 Impl_ _impl_;
0444 };
0445 friend struct ::TableStruct_DQMServices_2fCore_2fsrc_2fROOTFilePB_2eproto;
0446 };
0447
0448
0449
0450
0451 #ifdef __GNUC__
0452 #pragma GCC diagnostic push
0453 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
0454 #endif
0455
0456
0457
0458 inline bool ROOTFilePB_Histo::_internal_has_full_pathname() const {
0459 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
0460 return value;
0461 }
0462 inline bool ROOTFilePB_Histo::has_full_pathname() const { return _internal_has_full_pathname(); }
0463 inline void ROOTFilePB_Histo::clear_full_pathname() {
0464 _impl_.full_pathname_.ClearToEmpty();
0465 _impl_._has_bits_[0] &= ~0x00000001u;
0466 }
0467 inline const std::string& ROOTFilePB_Histo::full_pathname() const {
0468
0469 return _internal_full_pathname();
0470 }
0471 template <typename ArgT0, typename... ArgT>
0472 inline PROTOBUF_ALWAYS_INLINE void ROOTFilePB_Histo::set_full_pathname(ArgT0&& arg0, ArgT... args) {
0473 _impl_._has_bits_[0] |= 0x00000001u;
0474 _impl_.full_pathname_.Set(static_cast<ArgT0&&>(arg0), args..., GetArenaForAllocation());
0475
0476 }
0477 inline std::string* ROOTFilePB_Histo::mutable_full_pathname() {
0478 std::string* _s = _internal_mutable_full_pathname();
0479
0480 return _s;
0481 }
0482 inline const std::string& ROOTFilePB_Histo::_internal_full_pathname() const { return _impl_.full_pathname_.Get(); }
0483 inline void ROOTFilePB_Histo::_internal_set_full_pathname(const std::string& value) {
0484 _impl_._has_bits_[0] |= 0x00000001u;
0485 _impl_.full_pathname_.Set(value, GetArenaForAllocation());
0486 }
0487 inline std::string* ROOTFilePB_Histo::_internal_mutable_full_pathname() {
0488 _impl_._has_bits_[0] |= 0x00000001u;
0489 return _impl_.full_pathname_.Mutable(GetArenaForAllocation());
0490 }
0491 inline std::string* ROOTFilePB_Histo::release_full_pathname() {
0492
0493 if (!_internal_has_full_pathname()) {
0494 return nullptr;
0495 }
0496 _impl_._has_bits_[0] &= ~0x00000001u;
0497 auto* p = _impl_.full_pathname_.Release();
0498 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
0499 if (_impl_.full_pathname_.IsDefault()) {
0500 _impl_.full_pathname_.Set("", GetArenaForAllocation());
0501 }
0502 #endif
0503 return p;
0504 }
0505 inline void ROOTFilePB_Histo::set_allocated_full_pathname(std::string* full_pathname) {
0506 if (full_pathname != nullptr) {
0507 _impl_._has_bits_[0] |= 0x00000001u;
0508 } else {
0509 _impl_._has_bits_[0] &= ~0x00000001u;
0510 }
0511 _impl_.full_pathname_.SetAllocated(full_pathname, GetArenaForAllocation());
0512 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
0513 if (_impl_.full_pathname_.IsDefault()) {
0514 _impl_.full_pathname_.Set("", GetArenaForAllocation());
0515 }
0516 #endif
0517
0518 }
0519
0520
0521 inline bool ROOTFilePB_Histo::_internal_has_size() const {
0522 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
0523 return value;
0524 }
0525 inline bool ROOTFilePB_Histo::has_size() const { return _internal_has_size(); }
0526 inline void ROOTFilePB_Histo::clear_size() {
0527 _impl_.size_ = 0u;
0528 _impl_._has_bits_[0] &= ~0x00000004u;
0529 }
0530 inline uint32_t ROOTFilePB_Histo::_internal_size() const { return _impl_.size_; }
0531 inline uint32_t ROOTFilePB_Histo::size() const {
0532
0533 return _internal_size();
0534 }
0535 inline void ROOTFilePB_Histo::_internal_set_size(uint32_t value) {
0536 _impl_._has_bits_[0] |= 0x00000004u;
0537 _impl_.size_ = value;
0538 }
0539 inline void ROOTFilePB_Histo::set_size(uint32_t value) {
0540 _internal_set_size(value);
0541
0542 }
0543
0544
0545 inline bool ROOTFilePB_Histo::_internal_has_streamed_histo() const {
0546 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
0547 return value;
0548 }
0549 inline bool ROOTFilePB_Histo::has_streamed_histo() const { return _internal_has_streamed_histo(); }
0550 inline void ROOTFilePB_Histo::clear_streamed_histo() {
0551 _impl_.streamed_histo_.ClearToEmpty();
0552 _impl_._has_bits_[0] &= ~0x00000002u;
0553 }
0554 inline const std::string& ROOTFilePB_Histo::streamed_histo() const {
0555
0556 return _internal_streamed_histo();
0557 }
0558 template <typename ArgT0, typename... ArgT>
0559 inline PROTOBUF_ALWAYS_INLINE void ROOTFilePB_Histo::set_streamed_histo(ArgT0&& arg0, ArgT... args) {
0560 _impl_._has_bits_[0] |= 0x00000002u;
0561 _impl_.streamed_histo_.SetBytes(static_cast<ArgT0&&>(arg0), args..., GetArenaForAllocation());
0562
0563 }
0564 inline std::string* ROOTFilePB_Histo::mutable_streamed_histo() {
0565 std::string* _s = _internal_mutable_streamed_histo();
0566
0567 return _s;
0568 }
0569 inline const std::string& ROOTFilePB_Histo::_internal_streamed_histo() const { return _impl_.streamed_histo_.Get(); }
0570 inline void ROOTFilePB_Histo::_internal_set_streamed_histo(const std::string& value) {
0571 _impl_._has_bits_[0] |= 0x00000002u;
0572 _impl_.streamed_histo_.Set(value, GetArenaForAllocation());
0573 }
0574 inline std::string* ROOTFilePB_Histo::_internal_mutable_streamed_histo() {
0575 _impl_._has_bits_[0] |= 0x00000002u;
0576 return _impl_.streamed_histo_.Mutable(GetArenaForAllocation());
0577 }
0578 inline std::string* ROOTFilePB_Histo::release_streamed_histo() {
0579
0580 if (!_internal_has_streamed_histo()) {
0581 return nullptr;
0582 }
0583 _impl_._has_bits_[0] &= ~0x00000002u;
0584 auto* p = _impl_.streamed_histo_.Release();
0585 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
0586 if (_impl_.streamed_histo_.IsDefault()) {
0587 _impl_.streamed_histo_.Set("", GetArenaForAllocation());
0588 }
0589 #endif
0590 return p;
0591 }
0592 inline void ROOTFilePB_Histo::set_allocated_streamed_histo(std::string* streamed_histo) {
0593 if (streamed_histo != nullptr) {
0594 _impl_._has_bits_[0] |= 0x00000002u;
0595 } else {
0596 _impl_._has_bits_[0] &= ~0x00000002u;
0597 }
0598 _impl_.streamed_histo_.SetAllocated(streamed_histo, GetArenaForAllocation());
0599 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
0600 if (_impl_.streamed_histo_.IsDefault()) {
0601 _impl_.streamed_histo_.Set("", GetArenaForAllocation());
0602 }
0603 #endif
0604
0605 }
0606
0607
0608 inline bool ROOTFilePB_Histo::_internal_has_flags() const {
0609 bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
0610 return value;
0611 }
0612 inline bool ROOTFilePB_Histo::has_flags() const { return _internal_has_flags(); }
0613 inline void ROOTFilePB_Histo::clear_flags() {
0614 _impl_.flags_ = 0u;
0615 _impl_._has_bits_[0] &= ~0x00000008u;
0616 }
0617 inline uint32_t ROOTFilePB_Histo::_internal_flags() const { return _impl_.flags_; }
0618 inline uint32_t ROOTFilePB_Histo::flags() const {
0619
0620 return _internal_flags();
0621 }
0622 inline void ROOTFilePB_Histo::_internal_set_flags(uint32_t value) {
0623 _impl_._has_bits_[0] |= 0x00000008u;
0624 _impl_.flags_ = value;
0625 }
0626 inline void ROOTFilePB_Histo::set_flags(uint32_t value) {
0627 _internal_set_flags(value);
0628
0629 }
0630
0631
0632
0633
0634
0635
0636 inline int ROOTFilePB::_internal_histo_size() const { return _impl_.histo_.size(); }
0637 inline int ROOTFilePB::histo_size() const { return _internal_histo_size(); }
0638 inline void ROOTFilePB::clear_histo() { _impl_.histo_.Clear(); }
0639 inline ::dqmstorepb::ROOTFilePB_Histo* ROOTFilePB::mutable_histo(int index) {
0640
0641 return _impl_.histo_.Mutable(index);
0642 }
0643 inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<::dqmstorepb::ROOTFilePB_Histo>* ROOTFilePB::mutable_histo() {
0644
0645 return &_impl_.histo_;
0646 }
0647 inline const ::dqmstorepb::ROOTFilePB_Histo& ROOTFilePB::_internal_histo(int index) const {
0648 return _impl_.histo_.Get(index);
0649 }
0650 inline const ::dqmstorepb::ROOTFilePB_Histo& ROOTFilePB::histo(int index) const {
0651
0652 return _internal_histo(index);
0653 }
0654 inline ::dqmstorepb::ROOTFilePB_Histo* ROOTFilePB::_internal_add_histo() { return _impl_.histo_.Add(); }
0655 inline ::dqmstorepb::ROOTFilePB_Histo* ROOTFilePB::add_histo() {
0656 ::dqmstorepb::ROOTFilePB_Histo* _add = _internal_add_histo();
0657
0658 return _add;
0659 }
0660 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<::dqmstorepb::ROOTFilePB_Histo>& ROOTFilePB::histo() const {
0661
0662 return _impl_.histo_;
0663 }
0664
0665 #ifdef __GNUC__
0666 #pragma GCC diagnostic pop
0667 #endif
0668
0669
0670
0671
0672 }
0673
0674
0675
0676 #include <google/protobuf/port_undef.inc>
0677 #endif