DUNE-DAQ
DUNE Trigger and Data Acquisition software
Loading...
Searching...
No Matches
hsi_readout_info.pb.h
Go to the documentation of this file.
1// Generated by the protocol buffer compiler. DO NOT EDIT!
2// source: hsilibs/opmon/hsi_readout_info.proto
3
4#ifndef GOOGLE_PROTOBUF_INCLUDED_hsilibs_2fopmon_2fhsi_5freadout_5finfo_2eproto_2epb_2eh
5#define GOOGLE_PROTOBUF_INCLUDED_hsilibs_2fopmon_2fhsi_5freadout_5finfo_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_hsilibs_2fopmon_2fhsi_5freadout_5finfo_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.
54extern const ::google::protobuf::internal::DescriptorTable
56namespace dunedaq {
57namespace hsilibs {
58namespace opmon {
59class HSIReadoutInfo;
60struct HSIReadoutInfoDefaultTypeInternal;
61extern HSIReadoutInfoDefaultTypeInternal _HSIReadoutInfo_default_instance_;
62} // namespace opmon
63} // namespace hsilibs
64} // namespace dunedaq
65namespace google {
66namespace protobuf {
67} // namespace protobuf
68} // namespace google
69
70namespace dunedaq {
71namespace hsilibs {
72namespace opmon {
73
74// ===================================================================
75
76
77// -------------------------------------------------------------------
78
79class HSIReadoutInfo final :
80 public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:dunedaq.hsilibs.opmon.HSIReadoutInfo) */ {
81 public:
82 inline HSIReadoutInfo() : HSIReadoutInfo(nullptr) {}
83 ~HSIReadoutInfo() override;
84 template<typename = void>
85 explicit PROTOBUF_CONSTEXPR HSIReadoutInfo(::google::protobuf::internal::ConstantInitialized);
86
87 HSIReadoutInfo(const HSIReadoutInfo& from);
89 : HSIReadoutInfo() {
90 *this = ::std::move(from);
91 }
92
94 CopyFrom(from);
95 return *this;
96 }
97 inline HSIReadoutInfo& operator=(HSIReadoutInfo&& 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 }
129 }
131 return reinterpret_cast<const HSIReadoutInfo*>(
133 }
134 static constexpr int kIndexInFileMessages =
135 0;
136
137 friend void swap(HSIReadoutInfo& a, HSIReadoutInfo& b) {
138 a.Swap(&b);
139 }
140 inline void Swap(HSIReadoutInfo* 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 HSIReadoutInfo* New(::google::protobuf::Arena* arena = nullptr) const final {
162 return CreateMaybeMessage<HSIReadoutInfo>(arena);
163 }
164 using ::google::protobuf::Message::CopyFrom;
165 void CopyFrom(const HSIReadoutInfo& from);
166 using ::google::protobuf::Message::MergeFrom;
167 void MergeFrom( const HSIReadoutInfo& from) {
168 HSIReadoutInfo::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(HSIReadoutInfo* other);
187
188 private:
189 friend class ::google::protobuf::internal::AnyMetadata;
190 static ::absl::string_view FullMessageName() {
191 return "dunedaq.hsilibs.opmon.HSIReadoutInfo";
192 }
193 protected:
194 explicit HSIReadoutInfo(::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 {
213 };
214 // uint64 readout_hsi_events_counter = 1;
216 ::uint64_t readout_hsi_events_counter() const;
217 void set_readout_hsi_events_counter(::uint64_t value);
218
219 private:
220 ::uint64_t _internal_readout_hsi_events_counter() const;
221 void _internal_set_readout_hsi_events_counter(::uint64_t value);
222
223 public:
224 // uint64 sent_hsi_events_counter = 2;
226 ::uint64_t sent_hsi_events_counter() const;
227 void set_sent_hsi_events_counter(::uint64_t value);
228
229 private:
230 ::uint64_t _internal_sent_hsi_events_counter() const;
231 void _internal_set_sent_hsi_events_counter(::uint64_t value);
232
233 public:
234 // uint64 failed_to_send_hsi_events_counter = 11;
236 ::uint64_t failed_to_send_hsi_events_counter() const;
237 void set_failed_to_send_hsi_events_counter(::uint64_t value);
238
239 private:
242
243 public:
244 // uint64 last_readout_timestamp = 21;
246 ::uint64_t last_readout_timestamp() const;
247 void set_last_readout_timestamp(::uint64_t value);
248
249 private:
250 ::uint64_t _internal_last_readout_timestamp() const;
251 void _internal_set_last_readout_timestamp(::uint64_t value);
252
253 public:
254 // uint64 last_sent_timestamp = 22;
256 ::uint64_t last_sent_timestamp() const;
257 void set_last_sent_timestamp(::uint64_t value);
258
259 private:
260 ::uint64_t _internal_last_sent_timestamp() const;
261 void _internal_set_last_sent_timestamp(::uint64_t value);
262
263 public:
264 // uint64 average_buffer_occupancy = 31;
266 ::uint64_t average_buffer_occupancy() const;
267 void set_average_buffer_occupancy(::uint64_t value);
268
269 private:
270 ::uint64_t _internal_average_buffer_occupancy() const;
271 void _internal_set_average_buffer_occupancy(::uint64_t value);
272
273 public:
274 // @@protoc_insertion_point(class_scope:dunedaq.hsilibs.opmon.HSIReadoutInfo)
275 private:
276 class _Internal;
277
278 friend class ::google::protobuf::internal::TcParser;
279 static const ::google::protobuf::internal::TcParseTable<3, 6, 0, 0, 2> _table_;
280 template <typename T> friend class ::google::protobuf::Arena::InternalHelper;
283 struct Impl_ {
290 mutable ::google::protobuf::internal::CachedSize _cached_size_;
291 PROTOBUF_TSAN_DECLARE_MEMBER
292 };
293 union { Impl_ _impl_; };
294 friend struct ::TableStruct_hsilibs_2fopmon_2fhsi_5freadout_5finfo_2eproto;
295};
296
297// ===================================================================
298
299
300
301
302// ===================================================================
303
304
305#ifdef __GNUC__
306#pragma GCC diagnostic push
307#pragma GCC diagnostic ignored "-Wstrict-aliasing"
308#endif // __GNUC__
309// -------------------------------------------------------------------
310
311// HSIReadoutInfo
312
313// uint64 readout_hsi_events_counter = 1;
318 // @@protoc_insertion_point(field_get:dunedaq.hsilibs.opmon.HSIReadoutInfo.readout_hsi_events_counter)
320}
323 // @@protoc_insertion_point(field_set:dunedaq.hsilibs.opmon.HSIReadoutInfo.readout_hsi_events_counter)
324}
326 PROTOBUF_TSAN_READ(&_impl_._tsan_detect_race);
328}
330 PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
331 ;
333}
334
335// uint64 sent_hsi_events_counter = 2;
340 // @@protoc_insertion_point(field_get:dunedaq.hsilibs.opmon.HSIReadoutInfo.sent_hsi_events_counter)
342}
343inline void HSIReadoutInfo::set_sent_hsi_events_counter(::uint64_t value) {
345 // @@protoc_insertion_point(field_set:dunedaq.hsilibs.opmon.HSIReadoutInfo.sent_hsi_events_counter)
346}
348 PROTOBUF_TSAN_READ(&_impl_._tsan_detect_race);
350}
352 PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
353 ;
355}
356
357// uint64 failed_to_send_hsi_events_counter = 11;
362 // @@protoc_insertion_point(field_get:dunedaq.hsilibs.opmon.HSIReadoutInfo.failed_to_send_hsi_events_counter)
364}
367 // @@protoc_insertion_point(field_set:dunedaq.hsilibs.opmon.HSIReadoutInfo.failed_to_send_hsi_events_counter)
368}
370 PROTOBUF_TSAN_READ(&_impl_._tsan_detect_race);
372}
374 PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
375 ;
377}
378
379// uint64 last_readout_timestamp = 21;
383inline ::uint64_t HSIReadoutInfo::last_readout_timestamp() const {
384 // @@protoc_insertion_point(field_get:dunedaq.hsilibs.opmon.HSIReadoutInfo.last_readout_timestamp)
386}
387inline void HSIReadoutInfo::set_last_readout_timestamp(::uint64_t value) {
389 // @@protoc_insertion_point(field_set:dunedaq.hsilibs.opmon.HSIReadoutInfo.last_readout_timestamp)
390}
392 PROTOBUF_TSAN_READ(&_impl_._tsan_detect_race);
394}
396 PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
397 ;
399}
400
401// uint64 last_sent_timestamp = 22;
405inline ::uint64_t HSIReadoutInfo::last_sent_timestamp() const {
406 // @@protoc_insertion_point(field_get:dunedaq.hsilibs.opmon.HSIReadoutInfo.last_sent_timestamp)
408}
409inline void HSIReadoutInfo::set_last_sent_timestamp(::uint64_t value) {
411 // @@protoc_insertion_point(field_set:dunedaq.hsilibs.opmon.HSIReadoutInfo.last_sent_timestamp)
412}
414 PROTOBUF_TSAN_READ(&_impl_._tsan_detect_race);
416}
418 PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
419 ;
421}
422
423// uint64 average_buffer_occupancy = 31;
428 // @@protoc_insertion_point(field_get:dunedaq.hsilibs.opmon.HSIReadoutInfo.average_buffer_occupancy)
430}
431inline void HSIReadoutInfo::set_average_buffer_occupancy(::uint64_t value) {
433 // @@protoc_insertion_point(field_set:dunedaq.hsilibs.opmon.HSIReadoutInfo.average_buffer_occupancy)
434}
436 PROTOBUF_TSAN_READ(&_impl_._tsan_detect_race);
438}
440 PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
441 ;
443}
444
445#ifdef __GNUC__
446#pragma GCC diagnostic pop
447#endif // __GNUC__
448
449// @@protoc_insertion_point(namespace_scope)
450} // namespace opmon
451} // namespace hsilibs
452} // namespace dunedaq
453
454
455// @@protoc_insertion_point(global_scope)
456
457#include "google/protobuf/port_undef.inc"
458
459#endif // GOOGLE_PROTOBUF_INCLUDED_hsilibs_2fopmon_2fhsi_5freadout_5finfo_2eproto_2epb_2eh
void set_failed_to_send_hsi_events_counter(::uint64_t value)
const char * _InternalParse(const char *ptr, ::google::protobuf::internal::ParseContext *ctx) final
static const ::google::protobuf::Reflection * GetReflection()
void _internal_set_last_readout_timestamp(::uint64_t value)
::uint8_t * _InternalSerialize(::uint8_t *target, ::google::protobuf::io::EpsCopyOutputStream *stream) const final
PROTOBUF_CONSTEXPR HSIReadoutInfo(::google::protobuf::internal::ConstantInitialized)
static const ::google::protobuf::Descriptor * GetDescriptor()
void set_readout_hsi_events_counter(::uint64_t value)
void _internal_set_failed_to_send_hsi_events_counter(::uint64_t value)
HSIReadoutInfo & operator=(const HSIReadoutInfo &from)
void _internal_set_last_sent_timestamp(::uint64_t value)
::google::protobuf::Metadata GetMetadata() const final
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
const ::google::protobuf::Message::ClassData * GetClassData() const final
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
static const ::google::protobuf::Descriptor * descriptor()
friend void swap(HSIReadoutInfo &a, HSIReadoutInfo &b)
void _internal_set_average_buffer_occupancy(::uint64_t value)
void UnsafeArenaSwap(HSIReadoutInfo *other)
static const HSIReadoutInfo & default_instance()
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
HSIReadoutInfo & operator=(HSIReadoutInfo &&from) noexcept
void MergeFrom(const HSIReadoutInfo &from)
HSIReadoutInfo(HSIReadoutInfo &&from) noexcept
void _internal_set_sent_hsi_events_counter(::uint64_t value)
HSIReadoutInfo * New(::google::protobuf::Arena *arena=nullptr) const final
static void MergeImpl(::google::protobuf::Message &to_msg, const ::google::protobuf::Message &from_msg)
static const ::google::protobuf::internal::TcParseTable< 3, 6, 0, 0, 2 > _table_
::uint64_t _internal_failed_to_send_hsi_events_counter() const
void SharedCtor(::google::protobuf::Arena *arena)
void CopyFrom(const HSIReadoutInfo &from)
void _internal_set_readout_hsi_events_counter(::uint64_t value)
static const HSIReadoutInfo * internal_default_instance()
const ::google::protobuf::internal::DescriptorTable descriptor_table_hsilibs_2fopmon_2fhsi_5freadout_5finfo_2eproto
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 HSIReadoutInfoDefaultTypeInternal _HSIReadoutInfo_default_instance_
Including Qt Headers.
FELIX Initialization std::string initerror FELIX queue timed std::string queuename Unexpected chunk size
mutable::google::protobuf::internal::CachedSize _cached_size_