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];
85 if (
this != &from) InternalSwap(&from);
93 return _internal_metadata_.unknown_fields();
96 return _internal_metadata_.mutable_unknown_fields();
99 static const ::google::protobuf::Descriptor* descriptor();
102 static void InitAsDefaultInstance();
107 static PROTOBUF_CONSTEXPR
int const kIndexInFileMessages =
119 ROOTFilePB_Histo* New(::google::protobuf::Arena* arena)
const PROTOBUF_FINAL;
120 void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
121 void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
124 void Clear() PROTOBUF_FINAL;
125 bool IsInitialized()
const PROTOBUF_FINAL;
127 size_t ByteSizeLong()
const PROTOBUF_FINAL;
128 bool MergePartialFromCodedStream(
129 ::google::protobuf::io::CodedInputStream*
input) PROTOBUF_FINAL;
130 void SerializeWithCachedSizes(
131 ::google::protobuf::io::CodedOutputStream*
output)
const PROTOBUF_FINAL;
138 void SetCachedSize(
int size)
const PROTOBUF_FINAL;
149 ::google::protobuf::Metadata GetMetadata()
const PROTOBUF_FINAL;
156 bool has_full_pathname()
const;
157 void clear_full_pathname();
158 static const int kFullPathnameFieldNumber = 1;
164 void set_full_pathname(
const char*
value);
165 void set_full_pathname(
const char*
value,
size_t size);
168 void set_allocated_full_pathname(::
std::string* full_pathname);
171 bool has_streamed_histo()
const;
172 void clear_streamed_histo();
173 static const int kStreamedHistoFieldNumber = 3;
179 void set_streamed_histo(
const char*
value);
180 void set_streamed_histo(
const void*
value,
size_t size);
183 void set_allocated_streamed_histo(::
std::string* streamed_histo);
186 bool has_size()
const;
188 static const int kSizeFieldNumber = 2;
193 bool has_flags()
const;
195 static const int kFlagsFieldNumber = 4;
201 void set_has_full_pathname();
202 void clear_has_full_pathname();
204 void clear_has_size();
205 void set_has_streamed_histo();
206 void clear_has_streamed_histo();
207 void set_has_flags();
208 void clear_has_flags();
211 size_t RequiredFieldsByteSizeFallback()
const;
220 friend struct ::protobuf_DQMServices_2fCore_2fsrc_2fROOTFilePB_2eproto::TableStruct;
244 if (
this != &from) InternalSwap(&from);
252 return _internal_metadata_.unknown_fields();
255 return _internal_metadata_.mutable_unknown_fields();
258 static const ::google::protobuf::Descriptor* descriptor();
261 static void InitAsDefaultInstance();
266 static PROTOBUF_CONSTEXPR
int const kIndexInFileMessages =
278 ROOTFilePB* New(::google::protobuf::Arena* arena)
const PROTOBUF_FINAL;
279 void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
280 void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
283 void Clear() PROTOBUF_FINAL;
284 bool IsInitialized()
const PROTOBUF_FINAL;
286 size_t ByteSizeLong()
const PROTOBUF_FINAL;
287 bool MergePartialFromCodedStream(
288 ::google::protobuf::io::CodedInputStream*
input) PROTOBUF_FINAL;
289 void SerializeWithCachedSizes(
290 ::google::protobuf::io::CodedOutputStream*
output)
const PROTOBUF_FINAL;
297 void SetCachedSize(
int size)
const PROTOBUF_FINAL;
308 ::google::protobuf::Metadata GetMetadata()
const PROTOBUF_FINAL;
317 int histo_size()
const;
319 static const int kHistoFieldNumber = 1;
320 const ::dqmstorepb::ROOTFilePB_Histo&
histo(
int index)
const;
323 ::google::protobuf::RepeatedPtrField< ::dqmstorepb::ROOTFilePB_Histo >*
325 const ::google::protobuf::RepeatedPtrField< ::dqmstorepb::ROOTFilePB_Histo >&
334 ::google::protobuf::RepeatedPtrField< ::dqmstorepb::ROOTFilePB_Histo >
histo_;
335 friend struct ::protobuf_DQMServices_2fCore_2fsrc_2fROOTFilePB_2eproto::TableStruct;
344 #pragma GCC diagnostic push 345 #pragma GCC diagnostic ignored "-Wstrict-aliasing" 350 inline bool ROOTFilePB_Histo::has_full_pathname()
const {
351 return (_has_bits_[0] & 0x00000001u) != 0;
353 inline void ROOTFilePB_Histo::set_has_full_pathname() {
354 _has_bits_[0] |= 0x00000001u;
356 inline void ROOTFilePB_Histo::clear_has_full_pathname() {
357 _has_bits_[0] &= ~0x00000001u;
359 inline void ROOTFilePB_Histo::clear_full_pathname() {
360 full_pathname_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
361 clear_has_full_pathname();
365 return full_pathname_.GetNoArena();
368 set_has_full_pathname();
369 full_pathname_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
374 set_has_full_pathname();
375 full_pathname_.SetNoArena(
376 &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::
std::move(
value));
380 inline void ROOTFilePB_Histo::set_full_pathname(
const char*
value) {
381 GOOGLE_DCHECK(value !=
nullptr);
382 set_has_full_pathname();
383 full_pathname_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::
std::string(value));
386 inline void ROOTFilePB_Histo::set_full_pathname(
const char*
value,
size_t size) {
387 set_has_full_pathname();
388 full_pathname_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
389 ::
std::string(reinterpret_cast<const char*>(value), size));
393 set_has_full_pathname();
395 return full_pathname_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
399 clear_has_full_pathname();
400 return full_pathname_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
402 inline void ROOTFilePB_Histo::set_allocated_full_pathname(::
std::string* full_pathname) {
403 if (full_pathname !=
nullptr) {
404 set_has_full_pathname();
406 clear_has_full_pathname();
408 full_pathname_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), full_pathname);
413 inline bool ROOTFilePB_Histo::has_size()
const {
414 return (_has_bits_[0] & 0x00000004u) != 0;
416 inline void ROOTFilePB_Histo::set_has_size() {
417 _has_bits_[0] |= 0x00000004u;
419 inline void ROOTFilePB_Histo::clear_has_size() {
420 _has_bits_[0] &= ~0x00000004u;
422 inline void ROOTFilePB_Histo::clear_size() {
437 inline bool ROOTFilePB_Histo::has_streamed_histo()
const {
438 return (_has_bits_[0] & 0x00000002u) != 0;
440 inline void ROOTFilePB_Histo::set_has_streamed_histo() {
441 _has_bits_[0] |= 0x00000002u;
443 inline void ROOTFilePB_Histo::clear_has_streamed_histo() {
444 _has_bits_[0] &= ~0x00000002u;
446 inline void ROOTFilePB_Histo::clear_streamed_histo() {
447 streamed_histo_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
448 clear_has_streamed_histo();
452 return streamed_histo_.GetNoArena();
455 set_has_streamed_histo();
456 streamed_histo_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
461 set_has_streamed_histo();
462 streamed_histo_.SetNoArena(
463 &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::
std::move(
value));
467 inline void ROOTFilePB_Histo::set_streamed_histo(
const char*
value) {
468 GOOGLE_DCHECK(value !=
nullptr);
469 set_has_streamed_histo();
470 streamed_histo_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::
std::string(value));
473 inline void ROOTFilePB_Histo::set_streamed_histo(
const void*
value,
size_t size) {
474 set_has_streamed_histo();
475 streamed_histo_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
476 ::
std::string(reinterpret_cast<const char*>(value), size));
480 set_has_streamed_histo();
482 return streamed_histo_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
486 clear_has_streamed_histo();
487 return streamed_histo_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
489 inline void ROOTFilePB_Histo::set_allocated_streamed_histo(::
std::string* streamed_histo) {
490 if (streamed_histo !=
nullptr) {
491 set_has_streamed_histo();
493 clear_has_streamed_histo();
495 streamed_histo_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), streamed_histo);
500 inline bool ROOTFilePB_Histo::has_flags()
const {
501 return (_has_bits_[0] & 0x00000008u) != 0;
503 inline void ROOTFilePB_Histo::set_has_flags() {
504 _has_bits_[0] |= 0x00000008u;
506 inline void ROOTFilePB_Histo::clear_has_flags() {
507 _has_bits_[0] &= ~0x00000008u;
509 inline void ROOTFilePB_Histo::clear_flags() {
528 inline int ROOTFilePB::histo_size()
const {
529 return histo_.size();
531 inline void ROOTFilePB::clear_histo() {
536 return histo_.Get(index);
538 inline ::dqmstorepb::ROOTFilePB_Histo* ROOTFilePB::mutable_histo(
int index) {
540 return histo_.Mutable(index);
542 inline ::dqmstorepb::ROOTFilePB_Histo* ROOTFilePB::add_histo() {
546 inline ::google::protobuf::RepeatedPtrField< ::dqmstorepb::ROOTFilePB_Histo >*
547 ROOTFilePB::mutable_histo() {
551 inline const ::google::protobuf::RepeatedPtrField< ::dqmstorepb::ROOTFilePB_Histo >&
558 #pragma GCC diagnostic pop 569 #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_
std::vector< Variable::Flags > flags
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_
::google::protobuf::RepeatedPtrField< ::dqmstorepb::ROOTFilePB_Histo > histo_
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)
static const ::google::protobuf::internal::SerializationTable serialization_table[]
::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_