4#ifndef GOOGLE_PROTOBUF_INCLUDED_opmonlib_2fopmon_2ftest_2eproto_2epb_2eh
5#define GOOGLE_PROTOBUF_INCLUDED_opmonlib_2fopmon_2ftest_2eproto_2epb_2eh
11#include "google/protobuf/port_def.inc"
12#if PROTOBUF_VERSION < 4024000
13#error "This file was generated by a newer version of protoc which is"
14#error "incompatible with your Protocol Buffer headers. Please update"
18#if 4024004 < PROTOBUF_MIN_PROTOC_VERSION
19#error "This file was generated by an older version of protoc which is"
20#error "incompatible with your Protocol Buffer headers. Please"
21#error "regenerate this file with a newer version of protoc."
23#include "google/protobuf/port_undef.inc"
24#include "google/protobuf/io/coded_stream.h"
25#include "google/protobuf/arena.h"
26#include "google/protobuf/arenastring.h"
27#include "google/protobuf/generated_message_tctable_decl.h"
28#include "google/protobuf/generated_message_util.h"
29#include "google/protobuf/metadata_lite.h"
30#include "google/protobuf/generated_message_reflection.h"
31#include "google/protobuf/message.h"
32#include "google/protobuf/repeated_field.h"
33#include "google/protobuf/extension_set.h"
34#include "google/protobuf/unknown_field_set.h"
38#include "google/protobuf/port_def.inc"
40#define PROTOBUF_INTERNAL_EXPORT_opmonlib_2fopmon_2ftest_2eproto
54extern const ::google::protobuf::internal::DescriptorTable
59struct ComplexInfoDefaultTypeInternal;
62struct TestInfoDefaultTypeInternal;
80 public ::google::protobuf::Message {
84 template<
typename =
void>
85 explicit PROTOBUF_CONSTEXPR
TestInfo(::google::protobuf::internal::ConstantInitialized);
90 *
this = ::std::move(from);
98 if (
this == &from)
return *
this;
99 if (GetOwningArena() == from.GetOwningArena()
100 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
101 && GetOwningArena() !=
nullptr
112 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
115 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
131 return reinterpret_cast<const TestInfo*
>(
141 if (other ==
this)
return;
142 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
143 if (GetOwningArena() !=
nullptr &&
144 GetOwningArena() == other->GetOwningArena()) {
146 if (GetOwningArena() == other->GetOwningArena()) {
150 ::google::protobuf::internal::GenericSwap(
this, other);
154 if (other ==
this)
return;
155 ABSL_DCHECK(GetOwningArena() == other->GetOwningArena());
161 TestInfo*
New(::google::protobuf::Arena* arena =
nullptr) const final {
162 return CreateMaybeMessage<TestInfo>(arena);
164 using ::google::protobuf::Message::CopyFrom;
166 using ::google::protobuf::Message::MergeFrom;
171 static void MergeImpl(::google::protobuf::Message& to_msg, const ::google::protobuf::Message& from_msg);
173 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
177 const
char*
_InternalParse(const
char* ptr, ::
google::protobuf::internal::ParseContext* ctx) final;
179 ::uint8_t* target, ::
google::protobuf::io::EpsCopyOutputStream* stream) const final;
183 void SharedCtor(::google::protobuf::Arena* arena);
189 friend class ::google::protobuf::internal::AnyMetadata;
191 return "dunedaq.opmon.TestInfo";
194 explicit TestInfo(::google::protobuf::Arena* arena);
198 const ::google::protobuf::Message::ClassData*
GetClassData() const final;
215 template <
typename Arg_ =
const std::string&,
typename... Args_>
224 const std::string& value);
262 friend class ::google::protobuf::internal::TcParser;
263 static const ::google::protobuf::internal::TcParseTable<2, 4, 0, 45, 2>
_table_;
264 template <
typename T>
friend class ::google::protobuf::Arena::InternalHelper;
273 PROTOBUF_TSAN_DECLARE_MEMBER
276 friend struct ::TableStruct_opmonlib_2fopmon_2ftest_2eproto;
280 public ::google::protobuf::Message {
284 template<
typename =
void>
285 explicit PROTOBUF_CONSTEXPR
ComplexInfo(::google::protobuf::internal::ConstantInitialized);
290 *
this = ::std::move(from);
298 if (
this == &from)
return *
this;
299 if (GetOwningArena() == from.GetOwningArena()
300 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
301 && GetOwningArena() !=
nullptr
312 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
315 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
319 return GetDescriptor();
322 return default_instance().GetMetadata().descriptor;
325 return default_instance().GetMetadata().reflection;
328 return *internal_default_instance();
334 static constexpr int kIndexInFileMessages =
341 if (other ==
this)
return;
342 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
343 if (GetOwningArena() !=
nullptr &&
344 GetOwningArena() == other->GetOwningArena()) {
346 if (GetOwningArena() == other->GetOwningArena()) {
350 ::google::protobuf::internal::GenericSwap(
this, other);
354 if (other ==
this)
return;
355 ABSL_DCHECK(GetOwningArena() == other->GetOwningArena());
362 return CreateMaybeMessage<ComplexInfo>(arena);
364 using ::google::protobuf::Message::CopyFrom;
366 using ::google::protobuf::Message::MergeFrom;
368 ComplexInfo::MergeImpl(*
this, from);
371 static void MergeImpl(::google::protobuf::Message& to_msg, const ::google::protobuf::Message& from_msg);
373 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
374 bool IsInitialized() const final;
376 ::
size_t ByteSizeLong() const final;
377 const
char* _InternalParse(const
char* ptr, ::
google::protobuf::internal::ParseContext* ctx) final;
378 ::uint8_t* _InternalSerialize(
379 ::uint8_t* target, ::
google::protobuf::io::EpsCopyOutputStream* stream) const final;
380 int GetCachedSize() const final {
return _impl_._cached_size_.Get(); }
383 void SharedCtor(::google::protobuf::Arena* arena);
385 void SetCachedSize(
int size)
const final;
389 friend class ::google::protobuf::internal::AnyMetadata;
391 return "dunedaq.opmon.ComplexInfo";
394 explicit ComplexInfo(::google::protobuf::Arena* arena);
398 const ::google::protobuf::Message::ClassData*GetClassData() const final;
400 ::
google::protobuf::Metadata GetMetadata() const final;
407 kRFieldFieldNumber = 4,
408 kSubMessageFieldNumber = 3,
409 kAnotherFloatFieldNumber = 1,
412 int r_field_size()
const;
414 int _internal_r_field_size()
const;
417 void clear_r_field() ;
418 ::int32_t r_field(
int index)
const;
419 void set_r_field(
int index, ::int32_t value);
420 void add_r_field(::int32_t value);
421 const ::google::protobuf::RepeatedField<::int32_t>& r_field()
const;
422 ::google::protobuf::RepeatedField<::int32_t>* mutable_r_field();
425 const ::google::protobuf::RepeatedField<::int32_t>& _internal_r_field()
const;
426 ::google::protobuf::RepeatedField<::int32_t>* _internal_mutable_r_field();
430 bool has_sub_message()
const;
431 void clear_sub_message() ;
432 const ::dunedaq::opmon::TestInfo& sub_message()
const;
433 PROTOBUF_NODISCARD ::dunedaq::opmon::TestInfo* release_sub_message();
440 const ::dunedaq::opmon::TestInfo& _internal_sub_message()
const;
445 void clear_another_float() ;
446 float another_float()
const;
447 void set_another_float(
float value);
450 float _internal_another_float()
const;
451 void _internal_set_another_float(
float value);
458 friend class ::google::protobuf::internal::TcParser;
459 static const ::google::protobuf::internal::TcParseTable<2, 3, 1, 0, 2>
_table_;
460 template <
typename T>
friend class ::google::protobuf::Arena::InternalHelper;
466 ::google::protobuf::RepeatedField<::int32_t>
r_field_;
470 PROTOBUF_TSAN_DECLARE_MEMBER
473 friend struct ::TableStruct_opmonlib_2fopmon_2ftest_2eproto;
485#pragma GCC diagnostic push
486#pragma GCC diagnostic ignored "-Wstrict-aliasing"
493inline void TestInfo::clear_string_example() {
494 _impl_.string_example_.ClearToEmpty();
496inline const std::string& TestInfo::string_example()
const {
498 return _internal_string_example();
500template <
typename Arg_,
typename... Args_>
501inline PROTOBUF_ALWAYS_INLINE
void TestInfo::set_string_example(Arg_&& arg,
503 PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
505 _impl_.string_example_.Set(
static_cast<Arg_&&
>(arg), args..., GetArenaForAllocation());
508inline std::string* TestInfo::mutable_string_example() {
509 std::string* _s = _internal_mutable_string_example();
513inline const std::string& TestInfo::_internal_string_example()
const {
514 PROTOBUF_TSAN_READ(&_impl_._tsan_detect_race);
515 return _impl_.string_example_.Get();
517inline void TestInfo::_internal_set_string_example(
const std::string& value) {
518 PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
520 _impl_.string_example_.Set(value, GetArenaForAllocation());
522inline std::string* TestInfo::_internal_mutable_string_example() {
523 PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
525 return _impl_.string_example_.Mutable( GetArenaForAllocation());
527inline std::string* TestInfo::release_string_example() {
528 PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
530 return _impl_.string_example_.Release();
532inline void TestInfo::set_allocated_string_example(std::string* value) {
533 PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
534 _impl_.string_example_.SetAllocated(value, GetArenaForAllocation());
535 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
536 if (_impl_.string_example_.IsDefault()) {
537 _impl_.string_example_.Set(
"", GetArenaForAllocation());
544inline void TestInfo::clear_float_example() {
545 _impl_.float_example_ = 0;
547inline double TestInfo::float_example()
const {
549 return _internal_float_example();
551inline void TestInfo::set_float_example(
double value) {
552 _internal_set_float_example(value);
555inline double TestInfo::_internal_float_example()
const {
556 PROTOBUF_TSAN_READ(&_impl_._tsan_detect_race);
557 return _impl_.float_example_;
559inline void TestInfo::_internal_set_float_example(
double value) {
560 PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
562 _impl_.float_example_ = value;
566inline void TestInfo::clear_int_example() {
567 _impl_.int_example_ = ::int64_t{0};
569inline ::int64_t TestInfo::int_example()
const {
571 return _internal_int_example();
573inline void TestInfo::set_int_example(::int64_t value) {
574 _internal_set_int_example(value);
577inline ::int64_t TestInfo::_internal_int_example()
const {
578 PROTOBUF_TSAN_READ(&_impl_._tsan_detect_race);
579 return _impl_.int_example_;
581inline void TestInfo::_internal_set_int_example(::int64_t value) {
582 PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
584 _impl_.int_example_ = value;
588inline void TestInfo::clear_bool_example() {
589 _impl_.bool_example_ =
false;
591inline bool TestInfo::bool_example()
const {
593 return _internal_bool_example();
595inline void TestInfo::set_bool_example(
bool value) {
596 _internal_set_bool_example(value);
599inline bool TestInfo::_internal_bool_example()
const {
600 PROTOBUF_TSAN_READ(&_impl_._tsan_detect_race);
601 return _impl_.bool_example_;
603inline void TestInfo::_internal_set_bool_example(
bool value) {
604 PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
606 _impl_.bool_example_ = value;
614inline void ComplexInfo::clear_another_float() {
615 _impl_.another_float_ = 0;
617inline float ComplexInfo::another_float()
const {
619 return _internal_another_float();
621inline void ComplexInfo::set_another_float(
float value) {
622 _internal_set_another_float(value);
625inline float ComplexInfo::_internal_another_float()
const {
626 PROTOBUF_TSAN_READ(&_impl_._tsan_detect_race);
627 return _impl_.another_float_;
629inline void ComplexInfo::_internal_set_another_float(
float value) {
630 PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
632 _impl_.another_float_ = value;
636inline bool ComplexInfo::has_sub_message()
const {
637 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
638 PROTOBUF_ASSUME(!value || _impl_.sub_message_ !=
nullptr);
641inline void ComplexInfo::clear_sub_message() {
642 if (_impl_.sub_message_ !=
nullptr) _impl_.sub_message_->Clear();
643 _impl_._has_bits_[0] &= ~0x00000001u;
645inline const ::dunedaq::opmon::TestInfo& ComplexInfo::_internal_sub_message()
const {
646 PROTOBUF_TSAN_READ(&_impl_._tsan_detect_race);
647 const ::dunedaq::opmon::TestInfo* p = _impl_.sub_message_;
650inline const ::dunedaq::opmon::TestInfo& ComplexInfo::sub_message()
const {
652 return _internal_sub_message();
655 PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
656 if (GetArenaForAllocation() ==
nullptr) {
657 delete reinterpret_cast<::google::protobuf::MessageLite*
>(_impl_.sub_message_);
660 if (value !=
nullptr) {
661 _impl_._has_bits_[0] |= 0x00000001u;
663 _impl_._has_bits_[0] &= ~0x00000001u;
667inline ::dunedaq::opmon::TestInfo* ComplexInfo::release_sub_message() {
668 PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
670 _impl_._has_bits_[0] &= ~0x00000001u;
672 _impl_.sub_message_ =
nullptr;
673#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
674 auto* old =
reinterpret_cast<::google::protobuf::MessageLite*
>(released);
675 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
676 if (GetArenaForAllocation() ==
nullptr) {
680 if (GetArenaForAllocation() !=
nullptr) {
681 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
686inline ::dunedaq::opmon::TestInfo* ComplexInfo::unsafe_arena_release_sub_message() {
687 PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
690 _impl_._has_bits_[0] &= ~0x00000001u;
692 _impl_.sub_message_ =
nullptr;
695inline ::dunedaq::opmon::TestInfo* ComplexInfo::_internal_mutable_sub_message() {
696 PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
697 _impl_._has_bits_[0] |= 0x00000001u;
698 if (_impl_.sub_message_ ==
nullptr) {
699 auto* p = CreateMaybeMessage<::dunedaq::opmon::TestInfo>(GetArenaForAllocation());
702 return _impl_.sub_message_;
704inline ::dunedaq::opmon::TestInfo* ComplexInfo::mutable_sub_message() {
710 ::google::protobuf::Arena* message_arena = GetArenaForAllocation();
711 PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
712 if (message_arena ==
nullptr) {
716 if (value !=
nullptr) {
717 ::google::protobuf::Arena* submessage_arena =
719 if (message_arena != submessage_arena) {
720 value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
722 _impl_._has_bits_[0] |= 0x00000001u;
724 _impl_._has_bits_[0] &= ~0x00000001u;
732inline int ComplexInfo::_internal_r_field_size()
const {
733 return _internal_r_field().size();
735inline int ComplexInfo::r_field_size()
const {
736 return _internal_r_field_size();
738inline void ComplexInfo::clear_r_field() {
739 _internal_mutable_r_field()->Clear();
741inline ::int32_t ComplexInfo::r_field(
int index)
const {
743 return _internal_r_field().Get(index);
745inline void ComplexInfo::set_r_field(
int index, ::int32_t value) {
746 _internal_mutable_r_field()->Set(index, value);
749inline void ComplexInfo::add_r_field(::int32_t value) {
750 PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
751 _internal_mutable_r_field()->Add(value);
754inline const ::google::protobuf::RepeatedField<::int32_t>& ComplexInfo::r_field()
const {
756 return _internal_r_field();
758inline ::google::protobuf::RepeatedField<::int32_t>* ComplexInfo::mutable_r_field() {
760 PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
761 return _internal_mutable_r_field();
764inline const ::google::protobuf::RepeatedField<::int32_t>& ComplexInfo::_internal_r_field()
const {
765 PROTOBUF_TSAN_READ(&_impl_._tsan_detect_race);
766 return _impl_.r_field_;
768inline ::google::protobuf::RepeatedField<::int32_t>* ComplexInfo::_internal_mutable_r_field() {
769 PROTOBUF_TSAN_READ(&_impl_._tsan_detect_race);
770 return &_impl_.r_field_;
774#pragma GCC diagnostic pop
784#include "google/protobuf/port_undef.inc"
void DestructorSkippable_
ComplexInfo & operator=(ComplexInfo &&from) noexcept
ComplexInfo & operator=(const ComplexInfo &from)
static const ::google::protobuf::Descriptor * descriptor()
static const ClassData _class_data_
PROTOBUF_CONSTEXPR ComplexInfo(::google::protobuf::internal::ConstantInitialized)
void MergeFrom(const ComplexInfo &from)
ComplexInfo * New(::google::protobuf::Arena *arena=nullptr) const final
friend void swap(ComplexInfo &a, ComplexInfo &b)
static const ComplexInfo & default_instance()
static const ::google::protobuf::Reflection * GetReflection()
static const ComplexInfo * internal_default_instance()
ComplexInfo(ComplexInfo &&from) noexcept
void InternalArenaConstructable_
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
void UnsafeArenaSwap(ComplexInfo *other)
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
::absl::string_view FullMessageName()
void Swap(ComplexInfo *other)
static const ::google::protobuf::Descriptor * GetDescriptor()
static const ::google::protobuf::internal::TcParseTable< 2, 3, 1, 0, 2 > _table_
std::string * _internal_mutable_string_example()
@ kStringExampleFieldNumber
@ kBoolExampleFieldNumber
@ kFloatExampleFieldNumber
void set_float_example(double value)
::absl::string_view FullMessageName()
void set_allocated_string_example(std::string *ptr)
const ::google::protobuf::Message::ClassData * GetClassData() const final
void SharedCtor(::google::protobuf::Arena *arena)
::uint8_t * _InternalSerialize(::uint8_t *target, ::google::protobuf::io::EpsCopyOutputStream *stream) const final
bool _internal_bool_example() const
void set_int_example(::int64_t value)
static const ::google::protobuf::internal::TcParseTable< 2, 4, 0, 45, 2 > _table_
TestInfo(TestInfo &&from) noexcept
void set_bool_example(bool value)
void InternalSwap(TestInfo *other)
::int64_t int_example() const
const char * _InternalParse(const char *ptr, ::google::protobuf::internal::ParseContext *ctx) final
double float_example() const
static constexpr int kIndexInFileMessages
::size_t ByteSizeLong() const final
static const ::google::protobuf::Reflection * GetReflection()
static const TestInfo * internal_default_instance()
PROTOBUF_CONSTEXPR TestInfo(::google::protobuf::internal::ConstantInitialized)
const std::string & string_example() const
static const TestInfo & default_instance()
TestInfo & operator=(const TestInfo &from)
void _internal_set_float_example(double value)
friend void swap(TestInfo &a, TestInfo &b)
void Swap(TestInfo *other)
void MergeFrom(const TestInfo &from)
TestInfo & operator=(TestInfo &&from) noexcept
PROTOBUF_NODISCARD std::string * release_string_example()
void SetCachedSize(int size) const final
void clear_float_example()
bool IsInitialized() const final
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
bool bool_example() const
::google::protobuf::Metadata GetMetadata() const final
const std::string & _internal_string_example() const
void CopyFrom(const TestInfo &from)
void clear_string_example()
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
static const ClassData _class_data_
PROTOBUF_ALWAYS_INLINE void _internal_set_string_example(const std::string &value)
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
static void MergeImpl(::google::protobuf::Message &to_msg, const ::google::protobuf::Message &from_msg)
static const ::google::protobuf::Descriptor * descriptor()
std::string * mutable_string_example()
double _internal_float_example() const
void UnsafeArenaSwap(TestInfo *other)
int GetCachedSize() const final
void clear_bool_example()
void InternalArenaConstructable_
void _internal_set_int_example(::int64_t value)
void _internal_set_bool_example(bool value)
void DestructorSkippable_
static const ::google::protobuf::Descriptor * GetDescriptor()
void set_string_example(Arg_ &&arg, Args_... args)
::int64_t _internal_int_example() const
TestInfo * New(::google::protobuf::Arena *arena=nullptr) const final
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ComplexInfoDefaultTypeInternal _ComplexInfo_default_instance_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 TestInfoDefaultTypeInternal _TestInfo_default_instance_
FELIX Initialization std::string initerror FELIX queue timed std::string queuename Unexpected chunk size
static const ::uint32_t offsets[]
::dunedaq::opmon::TestInfo * sub_message_
mutable::google::protobuf::internal::CachedSize _r_field_cached_byte_size_
::google::protobuf::internal::HasBits< 1 > _has_bits_
mutable::google::protobuf::internal::CachedSize _cached_size_
::google::protobuf::RepeatedField<::int32_t > r_field_
::google::protobuf::internal::ArenaStringPtr string_example_
mutable::google::protobuf::internal::CachedSize _cached_size_
const ::google::protobuf::internal::DescriptorTable descriptor_table_opmonlib_2fopmon_2ftest_2eproto