DUNE-DAQ
DUNE Trigger and Data Acquisition software
Loading...
Searching...
No Matches
test.pb.h
Go to the documentation of this file.
1// Generated by the protocol buffer compiler. DO NOT EDIT!
2// source: opmonlib/opmon/test.proto
3
4#ifndef GOOGLE_PROTOBUF_INCLUDED_opmonlib_2fopmon_2ftest_2eproto_2epb_2eh
5#define GOOGLE_PROTOBUF_INCLUDED_opmonlib_2fopmon_2ftest_2eproto_2epb_2eh
6
7#include <limits>
8#include <string>
9#include <type_traits>
10
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"
15#error "your headers."
16#endif // PROTOBUF_VERSION
17
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."
22#endif // PROTOBUF_MIN_PROTOC_VERSION
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" // IWYU pragma: export
33#include "google/protobuf/extension_set.h" // IWYU pragma: export
34#include "google/protobuf/unknown_field_set.h"
35// @@protoc_insertion_point(includes)
36
37// Must be included last.
38#include "google/protobuf/port_def.inc"
39
40#define PROTOBUF_INTERNAL_EXPORT_opmonlib_2fopmon_2ftest_2eproto
41
42namespace google {
43namespace protobuf {
44namespace internal {
45class AnyMetadata;
46} // namespace internal
47} // namespace protobuf
48} // namespace google
49
50// Internal implementation detail -- do not use these members.
52 static const ::uint32_t offsets[];
53};
54extern const ::google::protobuf::internal::DescriptorTable
56namespace dunedaq {
57namespace opmon {
58class ComplexInfo;
59struct ComplexInfoDefaultTypeInternal;
60extern ComplexInfoDefaultTypeInternal _ComplexInfo_default_instance_;
61class TestInfo;
62struct TestInfoDefaultTypeInternal;
63extern TestInfoDefaultTypeInternal _TestInfo_default_instance_;
64} // namespace opmon
65} // namespace dunedaq
66namespace google {
67namespace protobuf {
68} // namespace protobuf
69} // namespace google
70
71namespace dunedaq {
72namespace opmon {
73
74// ===================================================================
75
76
77// -------------------------------------------------------------------
78
79class TestInfo final :
80 public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:dunedaq.opmon.TestInfo) */ {
81 public:
82 inline TestInfo() : TestInfo(nullptr) {}
83 ~TestInfo() override;
84 template<typename = void>
85 explicit PROTOBUF_CONSTEXPR TestInfo(::google::protobuf::internal::ConstantInitialized);
86
87 TestInfo(const TestInfo& from);
88 TestInfo(TestInfo&& from) noexcept
89 : TestInfo() {
90 *this = ::std::move(from);
91 }
92
93 inline TestInfo& operator=(const TestInfo& from) {
94 CopyFrom(from);
95 return *this;
96 }
97 inline TestInfo& operator=(TestInfo&& from) noexcept {
98 if (this == &from) return *this;
99 if (GetOwningArena() == from.GetOwningArena()
100 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
101 && GetOwningArena() != nullptr
102 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
103 ) {
104 InternalSwap(&from);
105 } else {
106 CopyFrom(from);
107 }
108 return *this;
109 }
110
111 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
112 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
113 }
114 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
115 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
116 }
117
118 static const ::google::protobuf::Descriptor* descriptor() {
119 return GetDescriptor();
120 }
121 static const ::google::protobuf::Descriptor* GetDescriptor() {
122 return default_instance().GetMetadata().descriptor;
123 }
124 static const ::google::protobuf::Reflection* GetReflection() {
125 return default_instance().GetMetadata().reflection;
126 }
127 static const TestInfo& default_instance() {
129 }
130 static inline const TestInfo* internal_default_instance() {
131 return reinterpret_cast<const TestInfo*>(
133 }
134 static constexpr int kIndexInFileMessages =
135 0;
136
137 friend void swap(TestInfo& a, TestInfo& b) {
138 a.Swap(&b);
139 }
140 inline void Swap(TestInfo* other) {
141 if (other == this) return;
142 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
143 if (GetOwningArena() != nullptr &&
144 GetOwningArena() == other->GetOwningArena()) {
145 #else // PROTOBUF_FORCE_COPY_IN_SWAP
146 if (GetOwningArena() == other->GetOwningArena()) {
147 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
148 InternalSwap(other);
149 } else {
150 ::google::protobuf::internal::GenericSwap(this, other);
151 }
152 }
154 if (other == this) return;
155 ABSL_DCHECK(GetOwningArena() == other->GetOwningArena());
156 InternalSwap(other);
157 }
158
159 // implements Message ----------------------------------------------
160
161 TestInfo* New(::google::protobuf::Arena* arena = nullptr) const final {
162 return CreateMaybeMessage<TestInfo>(arena);
163 }
164 using ::google::protobuf::Message::CopyFrom;
165 void CopyFrom(const TestInfo& from);
166 using ::google::protobuf::Message::MergeFrom;
167 void MergeFrom( const TestInfo& from) {
168 TestInfo::MergeImpl(*this, from);
169 }
170 private:
171 static void MergeImpl(::google::protobuf::Message& to_msg, const ::google::protobuf::Message& from_msg);
172 public:
173 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
174 bool IsInitialized() const final;
175
176 ::size_t ByteSizeLong() const final;
177 const char* _InternalParse(const char* ptr, ::google::protobuf::internal::ParseContext* ctx) final;
178 ::uint8_t* _InternalSerialize(
179 ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const final;
180 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
181
182 private:
183 void SharedCtor(::google::protobuf::Arena* arena);
184 void SharedDtor();
185 void SetCachedSize(int size) const final;
186 void InternalSwap(TestInfo* other);
187
188 private:
189 friend class ::google::protobuf::internal::AnyMetadata;
190 static ::absl::string_view FullMessageName() {
191 return "dunedaq.opmon.TestInfo";
192 }
193 protected:
194 explicit TestInfo(::google::protobuf::Arena* arena);
195 public:
196
197 static const ClassData _class_data_;
198 const ::google::protobuf::Message::ClassData*GetClassData() const final;
199
200 ::google::protobuf::Metadata GetMetadata() const final;
201
202 // nested types ----------------------------------------------------
203
204 // accessors -------------------------------------------------------
205
206 enum : int {
211 };
212 // string string_example = 1;
213 void clear_string_example() ;
214 const std::string& string_example() const;
215 template <typename Arg_ = const std::string&, typename... Args_>
216 void set_string_example(Arg_&& arg, Args_... args);
217 std::string* mutable_string_example();
218 PROTOBUF_NODISCARD std::string* release_string_example();
219 void set_allocated_string_example(std::string* ptr);
220
221 private:
222 const std::string& _internal_string_example() const;
223 inline PROTOBUF_ALWAYS_INLINE void _internal_set_string_example(
224 const std::string& value);
226
227 public:
228 // double float_example = 2;
229 void clear_float_example() ;
230 double float_example() const;
231 void set_float_example(double value);
232
233 private:
234 double _internal_float_example() const;
235 void _internal_set_float_example(double value);
236
237 public:
238 // int64 int_example = 3;
239 void clear_int_example() ;
240 ::int64_t int_example() const;
241 void set_int_example(::int64_t value);
242
243 private:
244 ::int64_t _internal_int_example() const;
245 void _internal_set_int_example(::int64_t value);
246
247 public:
248 // bool bool_example = 4;
249 void clear_bool_example() ;
250 bool bool_example() const;
251 void set_bool_example(bool value);
252
253 private:
254 bool _internal_bool_example() const;
255 void _internal_set_bool_example(bool value);
256
257 public:
258 // @@protoc_insertion_point(class_scope:dunedaq.opmon.TestInfo)
259 private:
260 class _Internal;
261
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;
267 struct Impl_ {
268 ::google::protobuf::internal::ArenaStringPtr string_example_;
270 ::int64_t int_example_;
272 mutable ::google::protobuf::internal::CachedSize _cached_size_;
273 PROTOBUF_TSAN_DECLARE_MEMBER
274 };
275 union { Impl_ _impl_; };
276 friend struct ::TableStruct_opmonlib_2fopmon_2ftest_2eproto;
277};// -------------------------------------------------------------------
278
279class ComplexInfo final :
280 public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:dunedaq.opmon.ComplexInfo) */ {
281 public:
282 inline ComplexInfo() : ComplexInfo(nullptr) {}
283 ~ComplexInfo() override;
284 template<typename = void>
285 explicit PROTOBUF_CONSTEXPR ComplexInfo(::google::protobuf::internal::ConstantInitialized);
286
287 ComplexInfo(const ComplexInfo& from);
288 ComplexInfo(ComplexInfo&& from) noexcept
289 : ComplexInfo() {
290 *this = ::std::move(from);
291 }
292
293 inline ComplexInfo& operator=(const ComplexInfo& from) {
294 CopyFrom(from);
295 return *this;
296 }
297 inline ComplexInfo& operator=(ComplexInfo&& from) noexcept {
298 if (this == &from) return *this;
299 if (GetOwningArena() == from.GetOwningArena()
300 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
301 && GetOwningArena() != nullptr
302 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
303 ) {
304 InternalSwap(&from);
305 } else {
306 CopyFrom(from);
307 }
308 return *this;
309 }
310
311 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
312 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
313 }
314 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
315 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
316 }
317
318 static const ::google::protobuf::Descriptor* descriptor() {
319 return GetDescriptor();
320 }
321 static const ::google::protobuf::Descriptor* GetDescriptor() {
322 return default_instance().GetMetadata().descriptor;
323 }
324 static const ::google::protobuf::Reflection* GetReflection() {
325 return default_instance().GetMetadata().reflection;
326 }
328 return *internal_default_instance();
329 }
330 static inline const ComplexInfo* internal_default_instance() {
331 return reinterpret_cast<const ComplexInfo*>(
333 }
334 static constexpr int kIndexInFileMessages =
335 1;
336
337 friend void swap(ComplexInfo& a, ComplexInfo& b) {
338 a.Swap(&b);
339 }
340 inline void Swap(ComplexInfo* other) {
341 if (other == this) return;
342 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
343 if (GetOwningArena() != nullptr &&
344 GetOwningArena() == other->GetOwningArena()) {
345 #else // PROTOBUF_FORCE_COPY_IN_SWAP
346 if (GetOwningArena() == other->GetOwningArena()) {
347 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
348 InternalSwap(other);
349 } else {
350 ::google::protobuf::internal::GenericSwap(this, other);
351 }
352 }
354 if (other == this) return;
355 ABSL_DCHECK(GetOwningArena() == other->GetOwningArena());
356 InternalSwap(other);
357 }
358
359 // implements Message ----------------------------------------------
360
361 ComplexInfo* New(::google::protobuf::Arena* arena = nullptr) const final {
362 return CreateMaybeMessage<ComplexInfo>(arena);
363 }
364 using ::google::protobuf::Message::CopyFrom;
365 void CopyFrom(const ComplexInfo& from);
366 using ::google::protobuf::Message::MergeFrom;
367 void MergeFrom( const ComplexInfo& from) {
368 ComplexInfo::MergeImpl(*this, from);
369 }
370 private:
371 static void MergeImpl(::google::protobuf::Message& to_msg, const ::google::protobuf::Message& from_msg);
372 public:
373 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
374 bool IsInitialized() const final;
375
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(); }
381
382 private:
383 void SharedCtor(::google::protobuf::Arena* arena);
384 void SharedDtor();
385 void SetCachedSize(int size) const final;
386 void InternalSwap(ComplexInfo* other);
387
388 private:
389 friend class ::google::protobuf::internal::AnyMetadata;
390 static ::absl::string_view FullMessageName() {
391 return "dunedaq.opmon.ComplexInfo";
392 }
393 protected:
394 explicit ComplexInfo(::google::protobuf::Arena* arena);
395 public:
396
397 static const ClassData _class_data_;
398 const ::google::protobuf::Message::ClassData*GetClassData() const final;
399
400 ::google::protobuf::Metadata GetMetadata() const final;
401
402 // nested types ----------------------------------------------------
403
404 // accessors -------------------------------------------------------
405
406 enum : int {
407 kRFieldFieldNumber = 4,
408 kSubMessageFieldNumber = 3,
409 kAnotherFloatFieldNumber = 1,
410 };
411 // repeated int32 r_field = 4;
412 int r_field_size() const;
413 private:
414 int _internal_r_field_size() const;
415
416 public:
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();
423
424 private:
425 const ::google::protobuf::RepeatedField<::int32_t>& _internal_r_field() const;
426 ::google::protobuf::RepeatedField<::int32_t>* _internal_mutable_r_field();
427
428 public:
429 // .dunedaq.opmon.TestInfo sub_message = 3;
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();
434 ::dunedaq::opmon::TestInfo* mutable_sub_message();
435 void set_allocated_sub_message(::dunedaq::opmon::TestInfo* value);
436 void unsafe_arena_set_allocated_sub_message(::dunedaq::opmon::TestInfo* value);
437 ::dunedaq::opmon::TestInfo* unsafe_arena_release_sub_message();
438
439 private:
440 const ::dunedaq::opmon::TestInfo& _internal_sub_message() const;
441 ::dunedaq::opmon::TestInfo* _internal_mutable_sub_message();
442
443 public:
444 // float another_float = 1;
445 void clear_another_float() ;
446 float another_float() const;
447 void set_another_float(float value);
448
449 private:
450 float _internal_another_float() const;
451 void _internal_set_another_float(float value);
452
453 public:
454 // @@protoc_insertion_point(class_scope:dunedaq.opmon.ComplexInfo)
455 private:
456 class _Internal;
457
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;
463 struct Impl_ {
464 ::google::protobuf::internal::HasBits<1> _has_bits_;
465 mutable ::google::protobuf::internal::CachedSize _cached_size_;
466 ::google::protobuf::RepeatedField<::int32_t> r_field_;
467 mutable ::google::protobuf::internal::CachedSize _r_field_cached_byte_size_;
470 PROTOBUF_TSAN_DECLARE_MEMBER
471 };
472 union { Impl_ _impl_; };
473 friend struct ::TableStruct_opmonlib_2fopmon_2ftest_2eproto;
474};
475
476// ===================================================================
477
478
479
480
481// ===================================================================
482
483
484#ifdef __GNUC__
485#pragma GCC diagnostic push
486#pragma GCC diagnostic ignored "-Wstrict-aliasing"
487#endif // __GNUC__
488// -------------------------------------------------------------------
489
490// TestInfo
491
492// string string_example = 1;
493inline void TestInfo::clear_string_example() {
494 _impl_.string_example_.ClearToEmpty();
495}
496inline const std::string& TestInfo::string_example() const {
497 // @@protoc_insertion_point(field_get:dunedaq.opmon.TestInfo.string_example)
498 return _internal_string_example();
499}
500template <typename Arg_, typename... Args_>
501inline PROTOBUF_ALWAYS_INLINE void TestInfo::set_string_example(Arg_&& arg,
502 Args_... args) {
503 PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
504 ;
505 _impl_.string_example_.Set(static_cast<Arg_&&>(arg), args..., GetArenaForAllocation());
506 // @@protoc_insertion_point(field_set:dunedaq.opmon.TestInfo.string_example)
507}
508inline std::string* TestInfo::mutable_string_example() {
509 std::string* _s = _internal_mutable_string_example();
510 // @@protoc_insertion_point(field_mutable:dunedaq.opmon.TestInfo.string_example)
511 return _s;
512}
513inline const std::string& TestInfo::_internal_string_example() const {
514 PROTOBUF_TSAN_READ(&_impl_._tsan_detect_race);
515 return _impl_.string_example_.Get();
516}
517inline void TestInfo::_internal_set_string_example(const std::string& value) {
518 PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
519 ;
520 _impl_.string_example_.Set(value, GetArenaForAllocation());
521}
522inline std::string* TestInfo::_internal_mutable_string_example() {
523 PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
524 ;
525 return _impl_.string_example_.Mutable( GetArenaForAllocation());
526}
527inline std::string* TestInfo::release_string_example() {
528 PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
529 // @@protoc_insertion_point(field_release:dunedaq.opmon.TestInfo.string_example)
530 return _impl_.string_example_.Release();
531}
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());
538 }
539 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
540 // @@protoc_insertion_point(field_set_allocated:dunedaq.opmon.TestInfo.string_example)
541}
542
543// double float_example = 2;
544inline void TestInfo::clear_float_example() {
545 _impl_.float_example_ = 0;
546}
547inline double TestInfo::float_example() const {
548 // @@protoc_insertion_point(field_get:dunedaq.opmon.TestInfo.float_example)
549 return _internal_float_example();
550}
551inline void TestInfo::set_float_example(double value) {
552 _internal_set_float_example(value);
553 // @@protoc_insertion_point(field_set:dunedaq.opmon.TestInfo.float_example)
554}
555inline double TestInfo::_internal_float_example() const {
556 PROTOBUF_TSAN_READ(&_impl_._tsan_detect_race);
557 return _impl_.float_example_;
558}
559inline void TestInfo::_internal_set_float_example(double value) {
560 PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
561 ;
562 _impl_.float_example_ = value;
563}
564
565// int64 int_example = 3;
566inline void TestInfo::clear_int_example() {
567 _impl_.int_example_ = ::int64_t{0};
568}
569inline ::int64_t TestInfo::int_example() const {
570 // @@protoc_insertion_point(field_get:dunedaq.opmon.TestInfo.int_example)
571 return _internal_int_example();
572}
573inline void TestInfo::set_int_example(::int64_t value) {
574 _internal_set_int_example(value);
575 // @@protoc_insertion_point(field_set:dunedaq.opmon.TestInfo.int_example)
576}
577inline ::int64_t TestInfo::_internal_int_example() const {
578 PROTOBUF_TSAN_READ(&_impl_._tsan_detect_race);
579 return _impl_.int_example_;
580}
581inline void TestInfo::_internal_set_int_example(::int64_t value) {
582 PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
583 ;
584 _impl_.int_example_ = value;
585}
586
587// bool bool_example = 4;
588inline void TestInfo::clear_bool_example() {
589 _impl_.bool_example_ = false;
590}
591inline bool TestInfo::bool_example() const {
592 // @@protoc_insertion_point(field_get:dunedaq.opmon.TestInfo.bool_example)
593 return _internal_bool_example();
594}
595inline void TestInfo::set_bool_example(bool value) {
596 _internal_set_bool_example(value);
597 // @@protoc_insertion_point(field_set:dunedaq.opmon.TestInfo.bool_example)
598}
599inline bool TestInfo::_internal_bool_example() const {
600 PROTOBUF_TSAN_READ(&_impl_._tsan_detect_race);
601 return _impl_.bool_example_;
602}
603inline void TestInfo::_internal_set_bool_example(bool value) {
604 PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
605 ;
606 _impl_.bool_example_ = value;
607}
608
609// -------------------------------------------------------------------
610
611// ComplexInfo
612
613// float another_float = 1;
614inline void ComplexInfo::clear_another_float() {
615 _impl_.another_float_ = 0;
616}
617inline float ComplexInfo::another_float() const {
618 // @@protoc_insertion_point(field_get:dunedaq.opmon.ComplexInfo.another_float)
619 return _internal_another_float();
620}
621inline void ComplexInfo::set_another_float(float value) {
622 _internal_set_another_float(value);
623 // @@protoc_insertion_point(field_set:dunedaq.opmon.ComplexInfo.another_float)
624}
625inline float ComplexInfo::_internal_another_float() const {
626 PROTOBUF_TSAN_READ(&_impl_._tsan_detect_race);
627 return _impl_.another_float_;
628}
629inline void ComplexInfo::_internal_set_another_float(float value) {
630 PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
631 ;
632 _impl_.another_float_ = value;
633}
634
635// .dunedaq.opmon.TestInfo sub_message = 3;
636inline bool ComplexInfo::has_sub_message() const {
637 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
638 PROTOBUF_ASSUME(!value || _impl_.sub_message_ != nullptr);
639 return value;
640}
641inline void ComplexInfo::clear_sub_message() {
642 if (_impl_.sub_message_ != nullptr) _impl_.sub_message_->Clear();
643 _impl_._has_bits_[0] &= ~0x00000001u;
644}
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_;
648 return p != nullptr ? *p : reinterpret_cast<const ::dunedaq::opmon::TestInfo&>(::dunedaq::opmon::_TestInfo_default_instance_);
649}
650inline const ::dunedaq::opmon::TestInfo& ComplexInfo::sub_message() const {
651 // @@protoc_insertion_point(field_get:dunedaq.opmon.ComplexInfo.sub_message)
652 return _internal_sub_message();
653}
654inline void ComplexInfo::unsafe_arena_set_allocated_sub_message(::dunedaq::opmon::TestInfo* value) {
655 PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
656 if (GetArenaForAllocation() == nullptr) {
657 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.sub_message_);
658 }
659 _impl_.sub_message_ = reinterpret_cast<::dunedaq::opmon::TestInfo*>(value);
660 if (value != nullptr) {
661 _impl_._has_bits_[0] |= 0x00000001u;
662 } else {
663 _impl_._has_bits_[0] &= ~0x00000001u;
664 }
665 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:dunedaq.opmon.ComplexInfo.sub_message)
666}
667inline ::dunedaq::opmon::TestInfo* ComplexInfo::release_sub_message() {
668 PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
669
670 _impl_._has_bits_[0] &= ~0x00000001u;
671 ::dunedaq::opmon::TestInfo* released = _impl_.sub_message_;
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) {
677 delete old;
678 }
679#else // PROTOBUF_FORCE_COPY_IN_RELEASE
680 if (GetArenaForAllocation() != nullptr) {
681 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
682 }
683#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
684 return released;
685}
686inline ::dunedaq::opmon::TestInfo* ComplexInfo::unsafe_arena_release_sub_message() {
687 PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
688 // @@protoc_insertion_point(field_release:dunedaq.opmon.ComplexInfo.sub_message)
689
690 _impl_._has_bits_[0] &= ~0x00000001u;
691 ::dunedaq::opmon::TestInfo* temp = _impl_.sub_message_;
692 _impl_.sub_message_ = nullptr;
693 return temp;
694}
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());
700 _impl_.sub_message_ = reinterpret_cast<::dunedaq::opmon::TestInfo*>(p);
701 }
702 return _impl_.sub_message_;
703}
704inline ::dunedaq::opmon::TestInfo* ComplexInfo::mutable_sub_message() {
705 ::dunedaq::opmon::TestInfo* _msg = _internal_mutable_sub_message();
706 // @@protoc_insertion_point(field_mutable:dunedaq.opmon.ComplexInfo.sub_message)
707 return _msg;
708}
709inline void ComplexInfo::set_allocated_sub_message(::dunedaq::opmon::TestInfo* value) {
710 ::google::protobuf::Arena* message_arena = GetArenaForAllocation();
711 PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
712 if (message_arena == nullptr) {
713 delete reinterpret_cast<::dunedaq::opmon::TestInfo*>(_impl_.sub_message_);
714 }
715
716 if (value != nullptr) {
717 ::google::protobuf::Arena* submessage_arena =
718 ::google::protobuf::Arena::InternalGetOwningArena(reinterpret_cast<::dunedaq::opmon::TestInfo*>(value));
719 if (message_arena != submessage_arena) {
720 value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
721 }
722 _impl_._has_bits_[0] |= 0x00000001u;
723 } else {
724 _impl_._has_bits_[0] &= ~0x00000001u;
725 }
726
727 _impl_.sub_message_ = reinterpret_cast<::dunedaq::opmon::TestInfo*>(value);
728 // @@protoc_insertion_point(field_set_allocated:dunedaq.opmon.ComplexInfo.sub_message)
729}
730
731// repeated int32 r_field = 4;
732inline int ComplexInfo::_internal_r_field_size() const {
733 return _internal_r_field().size();
734}
735inline int ComplexInfo::r_field_size() const {
736 return _internal_r_field_size();
737}
738inline void ComplexInfo::clear_r_field() {
739 _internal_mutable_r_field()->Clear();
740}
741inline ::int32_t ComplexInfo::r_field(int index) const {
742 // @@protoc_insertion_point(field_get:dunedaq.opmon.ComplexInfo.r_field)
743 return _internal_r_field().Get(index);
744}
745inline void ComplexInfo::set_r_field(int index, ::int32_t value) {
746 _internal_mutable_r_field()->Set(index, value);
747 // @@protoc_insertion_point(field_set:dunedaq.opmon.ComplexInfo.r_field)
748}
749inline void ComplexInfo::add_r_field(::int32_t value) {
750 PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
751 _internal_mutable_r_field()->Add(value);
752 // @@protoc_insertion_point(field_add:dunedaq.opmon.ComplexInfo.r_field)
753}
754inline const ::google::protobuf::RepeatedField<::int32_t>& ComplexInfo::r_field() const {
755 // @@protoc_insertion_point(field_list:dunedaq.opmon.ComplexInfo.r_field)
756 return _internal_r_field();
757}
758inline ::google::protobuf::RepeatedField<::int32_t>* ComplexInfo::mutable_r_field() {
759 // @@protoc_insertion_point(field_mutable_list:dunedaq.opmon.ComplexInfo.r_field)
760 PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
761 return _internal_mutable_r_field();
762}
763
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_;
767}
768inline ::google::protobuf::RepeatedField<::int32_t>* ComplexInfo::_internal_mutable_r_field() {
769 PROTOBUF_TSAN_READ(&_impl_._tsan_detect_race);
770 return &_impl_.r_field_;
771}
772
773#ifdef __GNUC__
774#pragma GCC diagnostic pop
775#endif // __GNUC__
776
777// @@protoc_insertion_point(namespace_scope)
778} // namespace opmon
779} // namespace dunedaq
780
781
782// @@protoc_insertion_point(global_scope)
783
784#include "google/protobuf/port_undef.inc"
785
786#endif // GOOGLE_PROTOBUF_INCLUDED_opmonlib_2fopmon_2ftest_2eproto_2epb_2eh
ComplexInfo & operator=(ComplexInfo &&from) noexcept
Definition test.pb.h:297
ComplexInfo & operator=(const ComplexInfo &from)
Definition test.pb.h:293
static const ::google::protobuf::Descriptor * descriptor()
Definition test.pb.h:318
static const ClassData _class_data_
Definition test.pb.h:397
PROTOBUF_CONSTEXPR ComplexInfo(::google::protobuf::internal::ConstantInitialized)
void MergeFrom(const ComplexInfo &from)
Definition test.pb.h:367
ComplexInfo * New(::google::protobuf::Arena *arena=nullptr) const final
Definition test.pb.h:361
friend void swap(ComplexInfo &a, ComplexInfo &b)
Definition test.pb.h:337
static const ComplexInfo & default_instance()
Definition test.pb.h:327
static const ::google::protobuf::Reflection * GetReflection()
Definition test.pb.h:324
static const ComplexInfo * internal_default_instance()
Definition test.pb.h:330
ComplexInfo(ComplexInfo &&from) noexcept
Definition test.pb.h:288
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
Definition test.pb.h:311
void UnsafeArenaSwap(ComplexInfo *other)
Definition test.pb.h:353
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
Definition test.pb.h:314
::absl::string_view FullMessageName()
Definition test.pb.h:390
void Swap(ComplexInfo *other)
Definition test.pb.h:340
static const ::google::protobuf::Descriptor * GetDescriptor()
Definition test.pb.h:321
static const ::google::protobuf::internal::TcParseTable< 2, 3, 1, 0, 2 > _table_
Definition test.pb.h:459
std::string * _internal_mutable_string_example()
Definition test.pb.h:522
void set_float_example(double value)
Definition test.pb.h:551
::absl::string_view FullMessageName()
Definition test.pb.h:190
void set_allocated_string_example(std::string *ptr)
Definition test.pb.h:532
const ::google::protobuf::Message::ClassData * GetClassData() const final
Definition test.pb.cc:387
void SharedCtor(::google::protobuf::Arena *arena)
Definition test.pb.cc:197
::uint8_t * _InternalSerialize(::uint8_t *target, ::google::protobuf::io::EpsCopyOutputStream *stream) const final
Definition test.pb.cc:295
bool _internal_bool_example() const
Definition test.pb.h:599
void set_int_example(::int64_t value)
Definition test.pb.h:573
static const ::google::protobuf::internal::TcParseTable< 2, 4, 0, 45, 2 > _table_
Definition test.pb.h:263
TestInfo(TestInfo &&from) noexcept
Definition test.pb.h:88
void set_bool_example(bool value)
Definition test.pb.h:595
void InternalSwap(TestInfo *other)
Definition test.pb.cc:429
::int64_t int_example() const
Definition test.pb.h:569
const char * _InternalParse(const char *ptr, ::google::protobuf::internal::ParseContext *ctx) final
Definition test.pb.cc:237
double float_example() const
Definition test.pb.h:547
static constexpr int kIndexInFileMessages
Definition test.pb.h:134
::size_t ByteSizeLong() const final
Definition test.pb.cc:345
static const ::google::protobuf::Reflection * GetReflection()
Definition test.pb.h:124
static const TestInfo * internal_default_instance()
Definition test.pb.h:130
PROTOBUF_CONSTEXPR TestInfo(::google::protobuf::internal::ConstantInitialized)
const std::string & string_example() const
Definition test.pb.h:496
static const TestInfo & default_instance()
Definition test.pb.h:127
TestInfo & operator=(const TestInfo &from)
Definition test.pb.h:93
void _internal_set_float_example(double value)
Definition test.pb.h:559
friend void swap(TestInfo &a, TestInfo &b)
Definition test.pb.h:137
void Swap(TestInfo *other)
Definition test.pb.h:140
void MergeFrom(const TestInfo &from)
Definition test.pb.h:167
TestInfo & operator=(TestInfo &&from) noexcept
Definition test.pb.h:97
PROTOBUF_NODISCARD std::string * release_string_example()
Definition test.pb.h:527
void SetCachedSize(int size) const final
Definition test.pb.cc:220
bool IsInitialized() const final
Definition test.pb.cc:425
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
Definition test.pb.cc:224
bool bool_example() const
Definition test.pb.h:591
::google::protobuf::Metadata GetMetadata() const final
Definition test.pb.cc:444
const std::string & _internal_string_example() const
Definition test.pb.h:513
void CopyFrom(const TestInfo &from)
Definition test.pb.cc:418
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
Definition test.pb.h:111
static const ClassData _class_data_
Definition test.pb.h:197
PROTOBUF_ALWAYS_INLINE void _internal_set_string_example(const std::string &value)
Definition test.pb.h:517
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
Definition test.pb.h:114
static void MergeImpl(::google::protobuf::Message &to_msg, const ::google::protobuf::Message &from_msg)
Definition test.pb.cc:390
static const ::google::protobuf::Descriptor * descriptor()
Definition test.pb.h:118
std::string * mutable_string_example()
Definition test.pb.h:508
double _internal_float_example() const
Definition test.pb.h:555
void UnsafeArenaSwap(TestInfo *other)
Definition test.pb.h:153
int GetCachedSize() const final
Definition test.pb.h:180
void _internal_set_int_example(::int64_t value)
Definition test.pb.h:581
void _internal_set_bool_example(bool value)
Definition test.pb.h:603
static const ::google::protobuf::Descriptor * GetDescriptor()
Definition test.pb.h:121
void set_string_example(Arg_ &&arg, Args_... args)
::int64_t _internal_int_example() const
Definition test.pb.h:577
TestInfo * New(::google::protobuf::Arena *arena=nullptr) const final
Definition test.pb.h:161
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ComplexInfoDefaultTypeInternal _ComplexInfo_default_instance_
Definition test.pb.cc:66
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 TestInfoDefaultTypeInternal _TestInfo_default_instance_
Definition test.pb.cc:46
Including Qt Headers.
FELIX Initialization std::string initerror FELIX queue timed std::string queuename Unexpected chunk size
static const ::uint32_t offsets[]
Definition test.pb.h:52
::dunedaq::opmon::TestInfo * sub_message_
Definition test.pb.h:468
mutable::google::protobuf::internal::CachedSize _r_field_cached_byte_size_
Definition test.pb.h:467
::google::protobuf::internal::HasBits< 1 > _has_bits_
Definition test.pb.h:464
mutable::google::protobuf::internal::CachedSize _cached_size_
Definition test.pb.h:465
::google::protobuf::RepeatedField<::int32_t > r_field_
Definition test.pb.h:466
::google::protobuf::internal::ArenaStringPtr string_example_
Definition test.pb.h:268
mutable::google::protobuf::internal::CachedSize _cached_size_
Definition test.pb.h:272
const ::google::protobuf::internal::DescriptorTable descriptor_table_opmonlib_2fopmon_2ftest_2eproto
Definition test.pb.cc:124