DUNE-DAQ
DUNE Trigger and Data Acquisition software
Loading...
Searching...
No Matches
DataWriter.pb.h
Go to the documentation of this file.
1// Generated by the protocol buffer compiler. DO NOT EDIT!
2// source: dfmodules/opmon/DataWriter.proto
3
4#ifndef GOOGLE_PROTOBUF_INCLUDED_dfmodules_2fopmon_2fDataWriter_2eproto_2epb_2eh
5#define GOOGLE_PROTOBUF_INCLUDED_dfmodules_2fopmon_2fDataWriter_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_dfmodules_2fopmon_2fDataWriter_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 dfmodules {
58namespace opmon {
59class DataWriterInfo;
60struct DataWriterInfoDefaultTypeInternal;
61extern DataWriterInfoDefaultTypeInternal _DataWriterInfo_default_instance_;
62} // namespace opmon
63} // namespace dfmodules
64} // namespace dunedaq
65namespace google {
66namespace protobuf {
67} // namespace protobuf
68} // namespace google
69
70namespace dunedaq {
71namespace dfmodules {
72namespace opmon {
73
74// ===================================================================
75
76
77// -------------------------------------------------------------------
78
79class DataWriterInfo final :
80 public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:dunedaq.dfmodules.opmon.DataWriterInfo) */ {
81 public:
82 inline DataWriterInfo() : DataWriterInfo(nullptr) {}
83 ~DataWriterInfo() override;
84 template<typename = void>
85 explicit PROTOBUF_CONSTEXPR DataWriterInfo(::google::protobuf::internal::ConstantInitialized);
86
87 DataWriterInfo(const DataWriterInfo& from);
89 : DataWriterInfo() {
90 *this = ::std::move(from);
91 }
92
94 CopyFrom(from);
95 return *this;
96 }
97 inline DataWriterInfo& operator=(DataWriterInfo&& 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 DataWriterInfo*>(
133 }
134 static constexpr int kIndexInFileMessages =
135 0;
136
137 friend void swap(DataWriterInfo& a, DataWriterInfo& b) {
138 a.Swap(&b);
139 }
140 inline void Swap(DataWriterInfo* 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 DataWriterInfo* New(::google::protobuf::Arena* arena = nullptr) const final {
162 return CreateMaybeMessage<DataWriterInfo>(arena);
163 }
164 using ::google::protobuf::Message::CopyFrom;
165 void CopyFrom(const DataWriterInfo& from);
166 using ::google::protobuf::Message::MergeFrom;
167 void MergeFrom( const DataWriterInfo& from) {
168 DataWriterInfo::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(DataWriterInfo* other);
187
188 private:
189 friend class ::google::protobuf::internal::AnyMetadata;
190 static ::absl::string_view FullMessageName() {
191 return "dunedaq.dfmodules.opmon.DataWriterInfo";
192 }
193 protected:
194 explicit DataWriterInfo(::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 // uint64 records_received = 1;
214 ::uint64_t records_received() const;
215 void set_records_received(::uint64_t value);
216
217 private:
218 ::uint64_t _internal_records_received() const;
219 void _internal_set_records_received(::uint64_t value);
220
221 public:
222 // uint64 records_written = 2;
223 void clear_records_written() ;
224 ::uint64_t records_written() const;
225 void set_records_written(::uint64_t value);
226
227 private:
228 ::uint64_t _internal_records_written() const;
229 void _internal_set_records_written(::uint64_t value);
230
231 public:
232 // uint64 new_records_written = 3;
234 ::uint64_t new_records_written() const;
235 void set_new_records_written(::uint64_t value);
236
237 private:
238 ::uint64_t _internal_new_records_written() const;
239 void _internal_set_new_records_written(::uint64_t value);
240
241 public:
242 // uint64 writing_time_us = 10;
243 void clear_writing_time_us() ;
244 ::uint64_t writing_time_us() const;
245 void set_writing_time_us(::uint64_t value);
246
247 private:
248 ::uint64_t _internal_writing_time_us() const;
249 void _internal_set_writing_time_us(::uint64_t value);
250
251 public:
252 // @@protoc_insertion_point(class_scope:dunedaq.dfmodules.opmon.DataWriterInfo)
253 private:
254 class _Internal;
255
256 friend class ::google::protobuf::internal::TcParser;
257 static const ::google::protobuf::internal::TcParseTable<2, 4, 0, 0, 2> _table_;
258 template <typename T> friend class ::google::protobuf::Arena::InternalHelper;
261 struct Impl_ {
266 mutable ::google::protobuf::internal::CachedSize _cached_size_;
267 PROTOBUF_TSAN_DECLARE_MEMBER
268 };
269 union { Impl_ _impl_; };
270 friend struct ::TableStruct_dfmodules_2fopmon_2fDataWriter_2eproto;
271};
272
273// ===================================================================
274
275
276
277
278// ===================================================================
279
280
281#ifdef __GNUC__
282#pragma GCC diagnostic push
283#pragma GCC diagnostic ignored "-Wstrict-aliasing"
284#endif // __GNUC__
285// -------------------------------------------------------------------
286
287// DataWriterInfo
288
289// uint64 records_received = 1;
291 _impl_.records_received_ = ::uint64_t{0u};
292}
293inline ::uint64_t DataWriterInfo::records_received() const {
294 // @@protoc_insertion_point(field_get:dunedaq.dfmodules.opmon.DataWriterInfo.records_received)
296}
297inline void DataWriterInfo::set_records_received(::uint64_t value) {
299 // @@protoc_insertion_point(field_set:dunedaq.dfmodules.opmon.DataWriterInfo.records_received)
300}
302 PROTOBUF_TSAN_READ(&_impl_._tsan_detect_race);
304}
306 PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
307 ;
309}
310
311// uint64 records_written = 2;
313 _impl_.records_written_ = ::uint64_t{0u};
314}
315inline ::uint64_t DataWriterInfo::records_written() const {
316 // @@protoc_insertion_point(field_get:dunedaq.dfmodules.opmon.DataWriterInfo.records_written)
318}
319inline void DataWriterInfo::set_records_written(::uint64_t value) {
321 // @@protoc_insertion_point(field_set:dunedaq.dfmodules.opmon.DataWriterInfo.records_written)
322}
324 PROTOBUF_TSAN_READ(&_impl_._tsan_detect_race);
326}
328 PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
329 ;
330 _impl_.records_written_ = value;
331}
332
333// uint64 new_records_written = 3;
337inline ::uint64_t DataWriterInfo::new_records_written() const {
338 // @@protoc_insertion_point(field_get:dunedaq.dfmodules.opmon.DataWriterInfo.new_records_written)
340}
341inline void DataWriterInfo::set_new_records_written(::uint64_t value) {
343 // @@protoc_insertion_point(field_set:dunedaq.dfmodules.opmon.DataWriterInfo.new_records_written)
344}
346 PROTOBUF_TSAN_READ(&_impl_._tsan_detect_race);
348}
350 PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
351 ;
353}
354
355// uint64 writing_time_us = 10;
357 _impl_.writing_time_us_ = ::uint64_t{0u};
358}
359inline ::uint64_t DataWriterInfo::writing_time_us() const {
360 // @@protoc_insertion_point(field_get:dunedaq.dfmodules.opmon.DataWriterInfo.writing_time_us)
362}
363inline void DataWriterInfo::set_writing_time_us(::uint64_t value) {
365 // @@protoc_insertion_point(field_set:dunedaq.dfmodules.opmon.DataWriterInfo.writing_time_us)
366}
368 PROTOBUF_TSAN_READ(&_impl_._tsan_detect_race);
370}
372 PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
373 ;
374 _impl_.writing_time_us_ = value;
375}
376
377#ifdef __GNUC__
378#pragma GCC diagnostic pop
379#endif // __GNUC__
380
381// @@protoc_insertion_point(namespace_scope)
382} // namespace opmon
383} // namespace dfmodules
384} // namespace dunedaq
385
386
387// @@protoc_insertion_point(global_scope)
388
389#include "google/protobuf/port_undef.inc"
390
391#endif // GOOGLE_PROTOBUF_INCLUDED_dfmodules_2fopmon_2fDataWriter_2eproto_2epb_2eh
const ::google::protobuf::internal::DescriptorTable descriptor_table_dfmodules_2fopmon_2fDataWriter_2eproto
DataWriterInfo * New(::google::protobuf::Arena *arena=nullptr) const final
static void MergeImpl(::google::protobuf::Message &to_msg, const ::google::protobuf::Message &from_msg)
::google::protobuf::Metadata GetMetadata() const final
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
static const DataWriterInfo * internal_default_instance()
PROTOBUF_CONSTEXPR DataWriterInfo(::google::protobuf::internal::ConstantInitialized)
static const DataWriterInfo & default_instance()
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
DataWriterInfo & operator=(DataWriterInfo &&from) noexcept
DataWriterInfo & operator=(const DataWriterInfo &from)
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
static const ::google::protobuf::Descriptor * descriptor()
void _internal_set_records_written(::uint64_t value)
const ::google::protobuf::Message::ClassData * GetClassData() const final
void MergeFrom(const DataWriterInfo &from)
void set_new_records_written(::uint64_t value)
void _internal_set_new_records_written(::uint64_t value)
void InternalSwap(DataWriterInfo *other)
DataWriterInfo(DataWriterInfo &&from) noexcept
void UnsafeArenaSwap(DataWriterInfo *other)
void _internal_set_records_received(::uint64_t value)
friend void swap(DataWriterInfo &a, DataWriterInfo &b)
static const ::google::protobuf::Reflection * GetReflection()
void CopyFrom(const DataWriterInfo &from)
static const ::google::protobuf::internal::TcParseTable< 2, 4, 0, 0, 2 > _table_
::uint8_t * _InternalSerialize(::uint8_t *target, ::google::protobuf::io::EpsCopyOutputStream *stream) const final
static const ::google::protobuf::Descriptor * GetDescriptor()
const char * _InternalParse(const char *ptr, ::google::protobuf::internal::ParseContext *ctx) final
void SetCachedSize(int size) const final
void _internal_set_writing_time_us(::uint64_t value)
void SharedCtor(::google::protobuf::Arena *arena)
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 DataWriterInfoDefaultTypeInternal _DataWriterInfo_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_