DUNE-DAQ
DUNE Trigger and Data Acquisition software
Loading...
Searching...
No Matches
SocketWriterModule.pb.h
Go to the documentation of this file.
1// Generated by the protocol buffer compiler. DO NOT EDIT!
2// source: asiolibs/opmon/SocketWriterModule.proto
3
4#ifndef GOOGLE_PROTOBUF_INCLUDED_asiolibs_2fopmon_2fSocketWriterModule_2eproto_2epb_2eh
5#define GOOGLE_PROTOBUF_INCLUDED_asiolibs_2fopmon_2fSocketWriterModule_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_asiolibs_2fopmon_2fSocketWriterModule_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 asiolibs {
58namespace opmon {
59class SocketWriterStats;
60struct SocketWriterStatsDefaultTypeInternal;
61extern SocketWriterStatsDefaultTypeInternal _SocketWriterStats_default_instance_;
62} // namespace opmon
63} // namespace asiolibs
64} // namespace dunedaq
65namespace google {
66namespace protobuf {
67} // namespace protobuf
68} // namespace google
69
70namespace dunedaq {
71namespace asiolibs {
72namespace opmon {
73
74// ===================================================================
75
76
77// -------------------------------------------------------------------
78
79class SocketWriterStats final :
80 public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:dunedaq.asiolibs.opmon.SocketWriterStats) */ {
81 public:
82 inline SocketWriterStats() : SocketWriterStats(nullptr) {}
83 ~SocketWriterStats() override;
84 template<typename = void>
85 explicit PROTOBUF_CONSTEXPR SocketWriterStats(::google::protobuf::internal::ConstantInitialized);
86
90 *this = ::std::move(from);
91 }
92
94 CopyFrom(from);
95 return *this;
96 }
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 SocketWriterStats*>(
133 }
134 static constexpr int kIndexInFileMessages =
135 0;
136
138 a.Swap(&b);
139 }
140 inline void Swap(SocketWriterStats* 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 SocketWriterStats* New(::google::protobuf::Arena* arena = nullptr) const final {
162 return CreateMaybeMessage<SocketWriterStats>(arena);
163 }
164 using ::google::protobuf::Message::CopyFrom;
165 void CopyFrom(const SocketWriterStats& from);
166 using ::google::protobuf::Message::MergeFrom;
167 void MergeFrom( const SocketWriterStats& from) {
168 SocketWriterStats::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(SocketWriterStats* other);
187
188 private:
189 friend class ::google::protobuf::internal::AnyMetadata;
190 static ::absl::string_view FullMessageName() {
191 return "dunedaq.asiolibs.opmon.SocketWriterStats";
192 }
193 protected:
194 explicit SocketWriterStats(::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 {
212 };
213 // uint64 sum_payloads = 1;
214 void clear_sum_payloads() ;
215 ::uint64_t sum_payloads() const;
216 void set_sum_payloads(::uint64_t value);
217
218 private:
219 ::uint64_t _internal_sum_payloads() const;
220 void _internal_set_sum_payloads(::uint64_t value);
221
222 public:
223 // uint64 num_payloads = 2;
224 void clear_num_payloads() ;
225 ::uint64_t num_payloads() const;
226 void set_num_payloads(::uint64_t value);
227
228 private:
229 ::uint64_t _internal_num_payloads() const;
230 void _internal_set_num_payloads(::uint64_t value);
231
232 public:
233 // uint64 sum_bytes = 3;
234 void clear_sum_bytes() ;
235 ::uint64_t sum_bytes() const;
236 void set_sum_bytes(::uint64_t value);
237
238 private:
239 ::uint64_t _internal_sum_bytes() const;
240 void _internal_set_sum_bytes(::uint64_t value);
241
242 public:
243 // uint64 num_data_input_timeouts = 4;
245 ::uint64_t num_data_input_timeouts() const;
246 void set_num_data_input_timeouts(::uint64_t value);
247
248 private:
249 ::uint64_t _internal_num_data_input_timeouts() const;
250 void _internal_set_num_data_input_timeouts(::uint64_t value);
251
252 public:
253 // double rate_payloads_consumed = 5;
255 double rate_payloads_consumed() const;
256 void set_rate_payloads_consumed(double value);
257
258 private:
260 void _internal_set_rate_payloads_consumed(double value);
261
262 public:
263 // @@protoc_insertion_point(class_scope:dunedaq.asiolibs.opmon.SocketWriterStats)
264 private:
265 class _Internal;
266
267 friend class ::google::protobuf::internal::TcParser;
268 static const ::google::protobuf::internal::TcParseTable<3, 5, 0, 0, 2> _table_;
269 template <typename T> friend class ::google::protobuf::Arena::InternalHelper;
272 struct Impl_ {
273 ::uint64_t sum_payloads_;
274 ::uint64_t num_payloads_;
275 ::uint64_t sum_bytes_;
278 mutable ::google::protobuf::internal::CachedSize _cached_size_;
279 PROTOBUF_TSAN_DECLARE_MEMBER
280 };
281 union { Impl_ _impl_; };
282 friend struct ::TableStruct_asiolibs_2fopmon_2fSocketWriterModule_2eproto;
283};
284
285// ===================================================================
286
287
288
289
290// ===================================================================
291
292
293#ifdef __GNUC__
294#pragma GCC diagnostic push
295#pragma GCC diagnostic ignored "-Wstrict-aliasing"
296#endif // __GNUC__
297// -------------------------------------------------------------------
298
299// SocketWriterStats
300
301// uint64 sum_payloads = 1;
303 _impl_.sum_payloads_ = ::uint64_t{0u};
304}
305inline ::uint64_t SocketWriterStats::sum_payloads() const {
306 // @@protoc_insertion_point(field_get:dunedaq.asiolibs.opmon.SocketWriterStats.sum_payloads)
307 return _internal_sum_payloads();
308}
309inline void SocketWriterStats::set_sum_payloads(::uint64_t value) {
311 // @@protoc_insertion_point(field_set:dunedaq.asiolibs.opmon.SocketWriterStats.sum_payloads)
312}
314 PROTOBUF_TSAN_READ(&_impl_._tsan_detect_race);
315 return _impl_.sum_payloads_;
316}
318 PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
319 ;
320 _impl_.sum_payloads_ = value;
321}
322
323// uint64 num_payloads = 2;
325 _impl_.num_payloads_ = ::uint64_t{0u};
326}
327inline ::uint64_t SocketWriterStats::num_payloads() const {
328 // @@protoc_insertion_point(field_get:dunedaq.asiolibs.opmon.SocketWriterStats.num_payloads)
329 return _internal_num_payloads();
330}
331inline void SocketWriterStats::set_num_payloads(::uint64_t value) {
333 // @@protoc_insertion_point(field_set:dunedaq.asiolibs.opmon.SocketWriterStats.num_payloads)
334}
336 PROTOBUF_TSAN_READ(&_impl_._tsan_detect_race);
337 return _impl_.num_payloads_;
338}
340 PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
341 ;
342 _impl_.num_payloads_ = value;
343}
344
345// uint64 sum_bytes = 3;
347 _impl_.sum_bytes_ = ::uint64_t{0u};
348}
349inline ::uint64_t SocketWriterStats::sum_bytes() const {
350 // @@protoc_insertion_point(field_get:dunedaq.asiolibs.opmon.SocketWriterStats.sum_bytes)
351 return _internal_sum_bytes();
352}
353inline void SocketWriterStats::set_sum_bytes(::uint64_t value) {
355 // @@protoc_insertion_point(field_set:dunedaq.asiolibs.opmon.SocketWriterStats.sum_bytes)
356}
357inline ::uint64_t SocketWriterStats::_internal_sum_bytes() const {
358 PROTOBUF_TSAN_READ(&_impl_._tsan_detect_race);
359 return _impl_.sum_bytes_;
360}
361inline void SocketWriterStats::_internal_set_sum_bytes(::uint64_t value) {
362 PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
363 ;
364 _impl_.sum_bytes_ = value;
365}
366
367// uint64 num_data_input_timeouts = 4;
372 // @@protoc_insertion_point(field_get:dunedaq.asiolibs.opmon.SocketWriterStats.num_data_input_timeouts)
374}
377 // @@protoc_insertion_point(field_set:dunedaq.asiolibs.opmon.SocketWriterStats.num_data_input_timeouts)
378}
380 PROTOBUF_TSAN_READ(&_impl_._tsan_detect_race);
382}
384 PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
385 ;
387}
388
389// double rate_payloads_consumed = 5;
394 // @@protoc_insertion_point(field_get:dunedaq.asiolibs.opmon.SocketWriterStats.rate_payloads_consumed)
396}
399 // @@protoc_insertion_point(field_set:dunedaq.asiolibs.opmon.SocketWriterStats.rate_payloads_consumed)
400}
402 PROTOBUF_TSAN_READ(&_impl_._tsan_detect_race);
404}
406 PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
407 ;
409}
410
411#ifdef __GNUC__
412#pragma GCC diagnostic pop
413#endif // __GNUC__
414
415// @@protoc_insertion_point(namespace_scope)
416} // namespace opmon
417} // namespace asiolibs
418} // namespace dunedaq
419
420
421// @@protoc_insertion_point(global_scope)
422
423#include "google/protobuf/port_undef.inc"
424
425#endif // GOOGLE_PROTOBUF_INCLUDED_asiolibs_2fopmon_2fSocketWriterModule_2eproto_2epb_2eh
const ::google::protobuf::internal::DescriptorTable descriptor_table_asiolibs_2fopmon_2fSocketWriterModule_2eproto
PROTOBUF_CONSTEXPR SocketWriterStats(::google::protobuf::internal::ConstantInitialized)
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
const char * _InternalParse(const char *ptr, ::google::protobuf::internal::ParseContext *ctx) final
void SharedCtor(::google::protobuf::Arena *arena)
SocketWriterStats & operator=(SocketWriterStats &&from) noexcept
SocketWriterStats & operator=(const SocketWriterStats &from)
static const ::google::protobuf::Reflection * GetReflection()
static const SocketWriterStats * internal_default_instance()
SocketWriterStats(SocketWriterStats &&from) noexcept
static const ::google::protobuf::internal::TcParseTable< 3, 5, 0, 0, 2 > _table_
static const SocketWriterStats & default_instance()
static const ::google::protobuf::Descriptor * GetDescriptor()
void MergeFrom(const SocketWriterStats &from)
void CopyFrom(const SocketWriterStats &from)
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
const ::google::protobuf::Message::ClassData * GetClassData() const final
friend void swap(SocketWriterStats &a, SocketWriterStats &b)
::uint8_t * _InternalSerialize(::uint8_t *target, ::google::protobuf::io::EpsCopyOutputStream *stream) const final
::google::protobuf::Metadata GetMetadata() const final
static const ::google::protobuf::Descriptor * descriptor()
static void MergeImpl(::google::protobuf::Message &to_msg, const ::google::protobuf::Message &from_msg)
SocketWriterStats * New(::google::protobuf::Arena *arena=nullptr) const final
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SocketWriterStatsDefaultTypeInternal _SocketWriterStats_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_