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