4 #ifndef PROTOBUF_DQMServices_2fCore_2fsrc_2fROOTFilePB_2eproto__INCLUDED 5 #define PROTOBUF_DQMServices_2fCore_2fsrc_2fROOTFilePB_2eproto__INCLUDED 9 #include <google/protobuf/stubs/common.h> 11 #if GOOGLE_PROTOBUF_VERSION < 3005000 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 3005001 < GOOGLE_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/io/coded_stream.h> 23 #include <google/protobuf/arena.h> 24 #include <google/protobuf/arenastring.h> 25 #include <google/protobuf/generated_message_table_driven.h> 26 #include <google/protobuf/generated_message_util.h> 27 #include <google/protobuf/metadata.h> 28 #include <google/protobuf/message.h> 29 #include <google/protobuf/repeated_field.h> 30 #include <google/protobuf/extension_set.h> 31 #include <google/protobuf/unknown_field_set.h> 37 static const ::google::protobuf::internal::ParseTableField
entries[];
38 static const ::google::protobuf::internal::AuxillaryParseTableField
aux[];
39 static const ::google::protobuf::internal::ParseTable
schema[2];
67 :
public ::google::protobuf::Message {
92 return _internal_metadata_.unknown_fields();
95 return _internal_metadata_.mutable_unknown_fields();
98 static const ::google::protobuf::Descriptor* descriptor();
101 static void InitAsDefaultInstance();
105 static PROTOBUF_CONSTEXPR
int const kIndexInFileMessages = 0;
114 ROOTFilePB_Histo* New(::google::protobuf::Arena* arena)
const PROTOBUF_FINAL;
115 void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
116 void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
119 void Clear() PROTOBUF_FINAL;
120 bool IsInitialized()
const PROTOBUF_FINAL;
122 size_t ByteSizeLong()
const PROTOBUF_FINAL;
123 bool MergePartialFromCodedStream(::google::protobuf::io::CodedInputStream*
input) PROTOBUF_FINAL;
124 void SerializeWithCachedSizes(::google::protobuf::io::CodedOutputStream*
output)
const PROTOBUF_FINAL;
132 void SetCachedSize(
int size)
const PROTOBUF_FINAL;
140 ::google::protobuf::Metadata GetMetadata()
const PROTOBUF_FINAL;
147 bool has_full_pathname()
const;
148 void clear_full_pathname();
149 static const int kFullPathnameFieldNumber = 1;
155 void set_full_pathname(
const char*
value);
156 void set_full_pathname(
const char*
value,
size_t size);
159 void set_allocated_full_pathname(::
std::string* full_pathname);
162 bool has_streamed_histo()
const;
163 void clear_streamed_histo();
164 static const int kStreamedHistoFieldNumber = 3;
170 void set_streamed_histo(
const char*
value);
171 void set_streamed_histo(
const void*
value,
size_t size);
174 void set_allocated_streamed_histo(::
std::string* streamed_histo);
177 bool has_size()
const;
179 static const int kSizeFieldNumber = 2;
184 bool has_flags()
const;
186 static const int kFlagsFieldNumber = 4;
192 void set_has_full_pathname();
193 void clear_has_full_pathname();
195 void clear_has_size();
196 void set_has_streamed_histo();
197 void clear_has_streamed_histo();
198 void set_has_flags();
199 void clear_has_flags();
202 size_t RequiredFieldsByteSizeFallback()
const;
211 friend struct ::protobuf_DQMServices_2fCore_2fsrc_2fROOTFilePB_2eproto::TableStruct;
217 :
public ::google::protobuf::Message {
242 return _internal_metadata_.unknown_fields();
245 return _internal_metadata_.mutable_unknown_fields();
248 static const ::google::protobuf::Descriptor* descriptor();
251 static void InitAsDefaultInstance();
255 static PROTOBUF_CONSTEXPR
int const kIndexInFileMessages = 1;
264 ROOTFilePB* New(::google::protobuf::Arena* arena)
const PROTOBUF_FINAL;
265 void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
266 void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
269 void Clear() PROTOBUF_FINAL;
270 bool IsInitialized()
const PROTOBUF_FINAL;
272 size_t ByteSizeLong()
const PROTOBUF_FINAL;
273 bool MergePartialFromCodedStream(::google::protobuf::io::CodedInputStream*
input) PROTOBUF_FINAL;
274 void SerializeWithCachedSizes(::google::protobuf::io::CodedOutputStream*
output)
const PROTOBUF_FINAL;
282 void SetCachedSize(
int size)
const PROTOBUF_FINAL;
290 ::google::protobuf::Metadata GetMetadata()
const PROTOBUF_FINAL;
299 int histo_size()
const;
301 static const int kHistoFieldNumber = 1;
302 const ::dqmstorepb::ROOTFilePB_Histo&
histo(
int index)
const;
305 ::google::protobuf::RepeatedPtrField< ::dqmstorepb::ROOTFilePB_Histo>* mutable_histo();
306 const ::google::protobuf::RepeatedPtrField< ::dqmstorepb::ROOTFilePB_Histo>&
histo()
const;
313 ::google::protobuf::RepeatedPtrField< ::dqmstorepb::ROOTFilePB_Histo>
histo_;
314 friend struct ::protobuf_DQMServices_2fCore_2fsrc_2fROOTFilePB_2eproto::TableStruct;
322 #pragma GCC diagnostic push 323 #pragma GCC diagnostic ignored "-Wstrict-aliasing" 328 inline bool ROOTFilePB_Histo::has_full_pathname()
const {
return (_has_bits_[0] & 0x00000001u) != 0; }
329 inline void ROOTFilePB_Histo::set_has_full_pathname() { _has_bits_[0] |= 0x00000001u; }
330 inline void ROOTFilePB_Histo::clear_has_full_pathname() { _has_bits_[0] &= ~0x00000001u; }
331 inline void ROOTFilePB_Histo::clear_full_pathname() {
332 full_pathname_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
333 clear_has_full_pathname();
337 return full_pathname_.GetNoArena();
340 set_has_full_pathname();
341 full_pathname_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
346 set_has_full_pathname();
347 full_pathname_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::
std::move(
value));
351 inline void ROOTFilePB_Histo::set_full_pathname(
const char*
value) {
352 GOOGLE_DCHECK(value !=
nullptr);
353 set_has_full_pathname();
354 full_pathname_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::
std::string(value));
357 inline void ROOTFilePB_Histo::set_full_pathname(
const char*
value,
size_t size) {
358 set_has_full_pathname();
359 full_pathname_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
360 ::
std::string(reinterpret_cast<const char*>(value), size));
364 set_has_full_pathname();
366 return full_pathname_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
370 clear_has_full_pathname();
371 return full_pathname_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
373 inline void ROOTFilePB_Histo::set_allocated_full_pathname(::
std::string* full_pathname) {
374 if (full_pathname !=
nullptr) {
375 set_has_full_pathname();
377 clear_has_full_pathname();
379 full_pathname_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), full_pathname);
384 inline bool ROOTFilePB_Histo::has_size()
const {
return (_has_bits_[0] & 0x00000004u) != 0; }
385 inline void ROOTFilePB_Histo::set_has_size() { _has_bits_[0] |= 0x00000004u; }
386 inline void ROOTFilePB_Histo::clear_has_size() { _has_bits_[0] &= ~0x00000004u; }
387 inline void ROOTFilePB_Histo::clear_size() {
402 inline bool ROOTFilePB_Histo::has_streamed_histo()
const {
return (_has_bits_[0] & 0x00000002u) != 0; }
403 inline void ROOTFilePB_Histo::set_has_streamed_histo() { _has_bits_[0] |= 0x00000002u; }
404 inline void ROOTFilePB_Histo::clear_has_streamed_histo() { _has_bits_[0] &= ~0x00000002u; }
405 inline void ROOTFilePB_Histo::clear_streamed_histo() {
406 streamed_histo_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
407 clear_has_streamed_histo();
411 return streamed_histo_.GetNoArena();
414 set_has_streamed_histo();
415 streamed_histo_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
420 set_has_streamed_histo();
421 streamed_histo_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::
std::move(
value));
425 inline void ROOTFilePB_Histo::set_streamed_histo(
const char*
value) {
426 GOOGLE_DCHECK(value !=
nullptr);
427 set_has_streamed_histo();
428 streamed_histo_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::
std::string(value));
431 inline void ROOTFilePB_Histo::set_streamed_histo(
const void*
value,
size_t size) {
432 set_has_streamed_histo();
433 streamed_histo_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
434 ::
std::string(reinterpret_cast<const char*>(value), size));
438 set_has_streamed_histo();
440 return streamed_histo_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
444 clear_has_streamed_histo();
445 return streamed_histo_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
447 inline void ROOTFilePB_Histo::set_allocated_streamed_histo(::
std::string* streamed_histo) {
448 if (streamed_histo !=
nullptr) {
449 set_has_streamed_histo();
451 clear_has_streamed_histo();
453 streamed_histo_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), streamed_histo);
458 inline bool ROOTFilePB_Histo::has_flags()
const {
return (_has_bits_[0] & 0x00000008u) != 0; }
459 inline void ROOTFilePB_Histo::set_has_flags() { _has_bits_[0] |= 0x00000008u; }
460 inline void ROOTFilePB_Histo::clear_has_flags() { _has_bits_[0] &= ~0x00000008u; }
461 inline void ROOTFilePB_Histo::clear_flags() {
480 inline int ROOTFilePB::histo_size()
const {
return histo_.size(); }
481 inline void ROOTFilePB::clear_histo() { histo_.Clear(); }
484 return histo_.Get(index);
486 inline ::dqmstorepb::ROOTFilePB_Histo* ROOTFilePB::mutable_histo(
int index) {
488 return histo_.Mutable(index);
490 inline ::dqmstorepb::ROOTFilePB_Histo* ROOTFilePB::add_histo() {
494 inline ::google::protobuf::RepeatedPtrField< ::dqmstorepb::ROOTFilePB_Histo>* ROOTFilePB::mutable_histo() {
498 inline const ::google::protobuf::RepeatedPtrField< ::dqmstorepb::ROOTFilePB_Histo>&
ROOTFilePB::histo()
const {
504 #pragma GCC diagnostic pop 514 #endif // PROTOBUF_DQMServices_2fCore_2fsrc_2fROOTFilePB_2eproto__INCLUDED ::google::protobuf::uint32 flags_
static const ::google::protobuf::internal::FieldMetadata field_metadata[]
friend void swap(ROOTFilePB_Histo &a, ROOTFilePB_Histo &b)
ROOTFilePB_Histo * New() const PROTOBUF_FINAL
static const ::google::protobuf::internal::AuxillaryParseTableField aux[]
void InitDefaultsROOTFilePB()
int GetCachedSize() const PROTOBUF_FINAL
ROOTFilePB & operator=(const ROOTFilePB &from)
static const ROOTFilePB_Histo * internal_default_instance()
::google::protobuf::internal::HasBits< 1 > _has_bits_
static std::string const input
void InitDefaultsROOTFilePB_HistoImpl()
void InitDefaultsROOTFilePBImpl()
inline::google::protobuf::Arena * GetArenaNoVirtual() const
ROOTFilePB * New() const PROTOBUF_FINAL
void Swap(ROOTFilePB *other)
int GetCachedSize() const PROTOBUF_FINAL
::google::protobuf::internal::ArenaStringPtr full_pathname_
class dqmstorepb::ROOTFilePBDefaultTypeInternal _ROOTFilePB_default_instance_
static const ::google::protobuf::internal::ParseTable schema[2]
::google::protobuf::internal::HasBits< 1 > _has_bits_
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
void * MaybeArenaPtr() const
class dqmstorepb::ROOTFilePB_HistoDefaultTypeInternal _ROOTFilePB_Histo_default_instance_
static const ROOTFilePB * internal_default_instance()
ROOTFilePB_Histo & operator=(const ROOTFilePB_Histo &from)
void * MaybeArenaPtr() const
static const ::google::protobuf::uint32 offsets[]
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
friend void swap(ROOTFilePB &a, ROOTFilePB &b)
::google::protobuf::uint32 size_
static const ::google::protobuf::internal::ParseTableField entries[]
inline::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
void InitDefaultsROOTFilePB_Histo()
::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_
inline::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
inline::google::protobuf::Arena * GetArenaNoVirtual() const
::google::protobuf::internal::ArenaStringPtr streamed_histo_
void Swap(ROOTFilePB_Histo *other)
::google::protobuf::RepeatedPtrField< ::dqmstorepb::ROOTFilePB_Histo > histo_
static const ::google::protobuf::internal::SerializationTable serialization_table[]
::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_