DUNE-DAQ
DUNE Trigger and Data Acquisition software
Loading...
Searching...
No Matches
run_info.pb.h
Go to the documentation of this file.
1// Generated by the protocol buffer compiler. DO NOT EDIT!
2// source: rcif/opmon/run_info.proto
3
4#ifndef GOOGLE_PROTOBUF_INCLUDED_rcif_2fopmon_2frun_5finfo_2eproto_2epb_2eh
5#define GOOGLE_PROTOBUF_INCLUDED_rcif_2fopmon_2frun_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_rcif_2fopmon_2frun_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.
52 static const ::uint32_t offsets[];
53};
54extern const ::google::protobuf::internal::DescriptorTable
56namespace dunedaq {
57namespace rcif {
58namespace opmon {
59class RunInfo;
60struct RunInfoDefaultTypeInternal;
61extern RunInfoDefaultTypeInternal _RunInfo_default_instance_;
62} // namespace opmon
63} // namespace rcif
64} // namespace dunedaq
65namespace google {
66namespace protobuf {
67} // namespace protobuf
68} // namespace google
69
70namespace dunedaq {
71namespace rcif {
72namespace opmon {
73
74// ===================================================================
75
76
77// -------------------------------------------------------------------
78
79class RunInfo final :
80 public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:dunedaq.rcif.opmon.RunInfo) */ {
81 public:
82 inline RunInfo() : RunInfo(nullptr) {}
83 ~RunInfo() override;
84 template<typename = void>
85 explicit PROTOBUF_CONSTEXPR RunInfo(::google::protobuf::internal::ConstantInitialized);
86
87 RunInfo(const RunInfo& from);
88 RunInfo(RunInfo&& from) noexcept
89 : RunInfo() {
90 *this = ::std::move(from);
91 }
92
93 inline RunInfo& operator=(const RunInfo& from) {
94 CopyFrom(from);
95 return *this;
96 }
97 inline RunInfo& operator=(RunInfo&& 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 RunInfo& default_instance() {
129 }
130 static inline const RunInfo* internal_default_instance() {
131 return reinterpret_cast<const RunInfo*>(
133 }
134 static constexpr int kIndexInFileMessages =
135 0;
136
137 friend void swap(RunInfo& a, RunInfo& b) {
138 a.Swap(&b);
139 }
140 inline void Swap(RunInfo* 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 RunInfo* New(::google::protobuf::Arena* arena = nullptr) const final {
162 return CreateMaybeMessage<RunInfo>(arena);
163 }
164 using ::google::protobuf::Message::CopyFrom;
165 void CopyFrom(const RunInfo& from);
166 using ::google::protobuf::Message::MergeFrom;
167 void MergeFrom( const RunInfo& from) {
168 RunInfo::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(RunInfo* other);
187
188 private:
189 friend class ::google::protobuf::internal::AnyMetadata;
190 static ::absl::string_view FullMessageName() {
191 return "dunedaq.rcif.opmon.RunInfo";
192 }
193 protected:
194 explicit RunInfo(::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 {
210 };
211 // uint64 run_number = 2;
212 void clear_run_number() ;
213 ::uint64_t run_number() const;
214 void set_run_number(::uint64_t value);
215
216 private:
217 ::uint64_t _internal_run_number() const;
218 void _internal_set_run_number(::uint64_t value);
219
220 public:
221 // bool running = 1;
222 void clear_running() ;
223 bool running() const;
224 void set_running(bool value);
225
226 private:
227 bool _internal_running() const;
228 void _internal_set_running(bool value);
229
230 public:
231 // uint32 run_time = 3;
232 void clear_run_time() ;
233 ::uint32_t run_time() const;
234 void set_run_time(::uint32_t value);
235
236 private:
237 ::uint32_t _internal_run_time() const;
238 void _internal_set_run_time(::uint32_t value);
239
240 public:
241 // @@protoc_insertion_point(class_scope:dunedaq.rcif.opmon.RunInfo)
242 private:
243 class _Internal;
244
245 friend class ::google::protobuf::internal::TcParser;
246 static const ::google::protobuf::internal::TcParseTable<2, 3, 0, 0, 2> _table_;
247 template <typename T> friend class ::google::protobuf::Arena::InternalHelper;
250 struct Impl_ {
251 ::uint64_t run_number_;
253 ::uint32_t run_time_;
254 mutable ::google::protobuf::internal::CachedSize _cached_size_;
255 PROTOBUF_TSAN_DECLARE_MEMBER
256 };
257 union { Impl_ _impl_; };
258 friend struct ::TableStruct_rcif_2fopmon_2frun_5finfo_2eproto;
259};
260
261// ===================================================================
262
263
264
265
266// ===================================================================
267
268
269#ifdef __GNUC__
270#pragma GCC diagnostic push
271#pragma GCC diagnostic ignored "-Wstrict-aliasing"
272#endif // __GNUC__
273// -------------------------------------------------------------------
274
275// RunInfo
276
277// bool running = 1;
279 _impl_.running_ = false;
280}
281inline bool RunInfo::running() const {
282 // @@protoc_insertion_point(field_get:dunedaq.rcif.opmon.RunInfo.running)
283 return _internal_running();
284}
285inline void RunInfo::set_running(bool value) {
287 // @@protoc_insertion_point(field_set:dunedaq.rcif.opmon.RunInfo.running)
288}
289inline bool RunInfo::_internal_running() const {
290 PROTOBUF_TSAN_READ(&_impl_._tsan_detect_race);
291 return _impl_.running_;
292}
293inline void RunInfo::_internal_set_running(bool value) {
294 PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
295 ;
296 _impl_.running_ = value;
297}
298
299// uint64 run_number = 2;
301 _impl_.run_number_ = ::uint64_t{0u};
302}
303inline ::uint64_t RunInfo::run_number() const {
304 // @@protoc_insertion_point(field_get:dunedaq.rcif.opmon.RunInfo.run_number)
305 return _internal_run_number();
306}
307inline void RunInfo::set_run_number(::uint64_t value) {
309 // @@protoc_insertion_point(field_set:dunedaq.rcif.opmon.RunInfo.run_number)
310}
311inline ::uint64_t RunInfo::_internal_run_number() const {
312 PROTOBUF_TSAN_READ(&_impl_._tsan_detect_race);
313 return _impl_.run_number_;
314}
315inline void RunInfo::_internal_set_run_number(::uint64_t value) {
316 PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
317 ;
318 _impl_.run_number_ = value;
319}
320
321// uint32 run_time = 3;
323 _impl_.run_time_ = 0u;
324}
325inline ::uint32_t RunInfo::run_time() const {
326 // @@protoc_insertion_point(field_get:dunedaq.rcif.opmon.RunInfo.run_time)
327 return _internal_run_time();
328}
329inline void RunInfo::set_run_time(::uint32_t value) {
331 // @@protoc_insertion_point(field_set:dunedaq.rcif.opmon.RunInfo.run_time)
332}
333inline ::uint32_t RunInfo::_internal_run_time() const {
334 PROTOBUF_TSAN_READ(&_impl_._tsan_detect_race);
335 return _impl_.run_time_;
336}
337inline void RunInfo::_internal_set_run_time(::uint32_t value) {
338 PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
339 ;
340 _impl_.run_time_ = value;
341}
342
343#ifdef __GNUC__
344#pragma GCC diagnostic pop
345#endif // __GNUC__
346
347// @@protoc_insertion_point(namespace_scope)
348} // namespace opmon
349} // namespace rcif
350} // namespace dunedaq
351
352
353// @@protoc_insertion_point(global_scope)
354
355#include "google/protobuf/port_undef.inc"
356
357#endif // GOOGLE_PROTOBUF_INCLUDED_rcif_2fopmon_2frun_5finfo_2eproto_2epb_2eh
const char * _InternalParse(const char *ptr, ::google::protobuf::internal::ParseContext *ctx) final
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
::uint8_t * _InternalSerialize(::uint8_t *target, ::google::protobuf::io::EpsCopyOutputStream *stream) const final
static const RunInfo * internal_default_instance()
void CopyFrom(const RunInfo &from)
void _internal_set_run_number(::uint64_t value)
static constexpr int kIndexInFileMessages
::uint64_t _internal_run_number() const
::absl::string_view FullMessageName()
::size_t ByteSizeLong() const final
const ::google::protobuf::Message::ClassData * GetClassData() const final
void MergeFrom(const RunInfo &from)
::uint32_t _internal_run_time() const
void UnsafeArenaSwap(RunInfo *other)
void InternalSwap(RunInfo *other)
RunInfo(RunInfo &&from) noexcept
Definition run_info.pb.h:88
void _internal_set_run_time(::uint32_t value)
void SharedCtor(::google::protobuf::Arena *arena)
RunInfo * New(::google::protobuf::Arena *arena=nullptr) const final
RunInfo & operator=(RunInfo &&from) noexcept
Definition run_info.pb.h:97
bool IsInitialized() const final
static const ::google::protobuf::Reflection * GetReflection()
static const ::google::protobuf::Descriptor * GetDescriptor()
static const RunInfo & default_instance()
PROTOBUF_CONSTEXPR RunInfo(::google::protobuf::internal::ConstantInitialized)
::uint32_t run_time() const
::uint64_t run_number() const
static const ::google::protobuf::internal::TcParseTable< 2, 3, 0, 0, 2 > _table_
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
int GetCachedSize() const final
static void MergeImpl(::google::protobuf::Message &to_msg, const ::google::protobuf::Message &from_msg)
void Swap(RunInfo *other)
void _internal_set_running(bool value)
static const ::google::protobuf::Descriptor * descriptor()
void set_run_number(::uint64_t value)
RunInfo & operator=(const RunInfo &from)
Definition run_info.pb.h:93
void set_run_time(::uint32_t value)
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
void SetCachedSize(int size) const final
static const ClassData _class_data_
::google::protobuf::Metadata GetMetadata() const final
friend void swap(RunInfo &a, RunInfo &b)
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 RunInfoDefaultTypeInternal _RunInfo_default_instance_
Including Qt Headers.
FELIX Initialization std::string initerror FELIX queue timed std::string queuename Unexpected chunk size
const ::google::protobuf::internal::DescriptorTable descriptor_table_rcif_2fopmon_2frun_5finfo_2eproto
mutable::google::protobuf::internal::CachedSize _cached_size_