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>();
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;
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;
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;
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"
494 _impl_.string_example_.ClearToEmpty();
500template <
typename Arg_,
typename... Args_>
503 PROTOBUF_TSAN_WRITE(&
_impl_._tsan_detect_race);
505 _impl_.string_example_.Set(
static_cast<Arg_&&
>(arg), args..., GetArenaForAllocation());
514 PROTOBUF_TSAN_READ(&
_impl_._tsan_detect_race);
515 return _impl_.string_example_.Get();
518 PROTOBUF_TSAN_WRITE(&
_impl_._tsan_detect_race);
520 _impl_.string_example_.Set(value, GetArenaForAllocation());
523 PROTOBUF_TSAN_WRITE(&
_impl_._tsan_detect_race);
525 return _impl_.string_example_.Mutable( GetArenaForAllocation());
528 PROTOBUF_TSAN_WRITE(&
_impl_._tsan_detect_race);
530 return _impl_.string_example_.Release();
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());
545 _impl_.float_example_ = 0;
556 PROTOBUF_TSAN_READ(&
_impl_._tsan_detect_race);
557 return _impl_.float_example_;
560 PROTOBUF_TSAN_WRITE(&
_impl_._tsan_detect_race);
562 _impl_.float_example_ = value;
567 _impl_.int_example_ = ::int64_t{0};
578 PROTOBUF_TSAN_READ(&
_impl_._tsan_detect_race);
579 return _impl_.int_example_;
582 PROTOBUF_TSAN_WRITE(&
_impl_._tsan_detect_race);
584 _impl_.int_example_ = value;
589 _impl_.bool_example_ =
false;
600 PROTOBUF_TSAN_READ(&
_impl_._tsan_detect_race);
601 return _impl_.bool_example_;
604 PROTOBUF_TSAN_WRITE(&
_impl_._tsan_detect_race);
606 _impl_.bool_example_ = value;
615 _impl_.another_float_ = 0;
626 PROTOBUF_TSAN_READ(&
_impl_._tsan_detect_race);
627 return _impl_.another_float_;
630 PROTOBUF_TSAN_WRITE(&
_impl_._tsan_detect_race);
632 _impl_.another_float_ = value;
637 bool value = (
_impl_._has_bits_[0] & 0x00000001u) != 0;
638 PROTOBUF_ASSUME(!value ||
_impl_.sub_message_ !=
nullptr);
642 if (
_impl_.sub_message_ !=
nullptr)
_impl_.sub_message_->Clear();
643 _impl_._has_bits_[0] &= ~0x00000001u;
646 PROTOBUF_TSAN_READ(&
_impl_._tsan_detect_race);
647 const ::dunedaq::opmon::TestInfo* p =
_impl_.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;
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);
687 PROTOBUF_TSAN_WRITE(&
_impl_._tsan_detect_race);
690 _impl_._has_bits_[0] &= ~0x00000001u;
692 _impl_.sub_message_ =
nullptr;
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_;
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;
750 PROTOBUF_TSAN_WRITE(&
_impl_._tsan_detect_race);
760 PROTOBUF_TSAN_WRITE(&
_impl_._tsan_detect_race);
765 PROTOBUF_TSAN_READ(&
_impl_._tsan_detect_race);
769 PROTOBUF_TSAN_READ(&
_impl_._tsan_detect_race);
774#pragma GCC diagnostic pop
784#include "google/protobuf/port_undef.inc"
ComplexInfo & operator=(ComplexInfo &&from) noexcept
ComplexInfo & operator=(const ComplexInfo &from)
static const ::google::protobuf::Descriptor * descriptor()
PROTOBUF_NODISCARD::dunedaq::opmon::TestInfo * release_sub_message()
bool has_sub_message() const
void InternalArenaConstructable_
void DestructorSkippable_
int _internal_r_field_size() const
static void MergeImpl(::google::protobuf::Message &to_msg, const ::google::protobuf::Message &from_msg)
static const ClassData _class_data_
void set_another_float(float value)
void InternalSwap(ComplexInfo *other)
::google::protobuf::RepeatedField<::int32_t > * mutable_r_field()
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)
@ kAnotherFloatFieldNumber
static const ComplexInfo & default_instance()
const ::dunedaq::opmon::TestInfo & sub_message() const
void add_r_field(::int32_t value)
static const ::google::protobuf::Reflection * GetReflection()
static const ComplexInfo * internal_default_instance()
::google::protobuf::RepeatedField<::int32_t > * _internal_mutable_r_field()
int GetCachedSize() const final
ComplexInfo(ComplexInfo &&from) noexcept
float _internal_another_float() const
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
void UnsafeArenaSwap(ComplexInfo *other)
void set_allocated_sub_message(::dunedaq::opmon::TestInfo *value)
static constexpr int kIndexInFileMessages
const ::google::protobuf::RepeatedField<::int32_t > & _internal_r_field() const
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
void set_r_field(int index, ::int32_t value)
::absl::string_view FullMessageName()
const ::dunedaq::opmon::TestInfo & _internal_sub_message() const
void Swap(ComplexInfo *other)
void _internal_set_another_float(float value)
::dunedaq::opmon::TestInfo * mutable_sub_message()
::int32_t r_field(int index) const
void unsafe_arena_set_allocated_sub_message(::dunedaq::opmon::TestInfo *value)
void CopyFrom(const ComplexInfo &from)
const ::google::protobuf::Message::ClassData * GetClassData() const final
static const ::google::protobuf::Descriptor * GetDescriptor()
void clear_another_float()
static const ::google::protobuf::internal::TcParseTable< 2, 3, 1, 0, 2 > _table_
::dunedaq::opmon::TestInfo * unsafe_arena_release_sub_message()
::google::protobuf::Metadata GetMetadata() const final
float another_float() const
::dunedaq::opmon::TestInfo * _internal_mutable_sub_message()
std::string * _internal_mutable_string_example()
void set_float_example(double value)
void InternalArenaConstructable_
::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
void DestructorSkippable_
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 _internal_set_int_example(::int64_t value)
void _internal_set_bool_example(bool value)
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
@ kStringExampleFieldNumber
@ kBoolExampleFieldNumber
@ kFloatExampleFieldNumber
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 ::_pbi::DescriptorTable descriptor_table_opmonlib_2fopmon_2ftest_2eproto