DUNE-DAQ
DUNE Trigger and Data Acquisition software
Loading...
Searching...
No Matches
FragmentAggregatorModule.pb.cc
Go to the documentation of this file.
1// Generated by the protocol buffer compiler. DO NOT EDIT!
2// source: dfmodules/opmon/FragmentAggregatorModule.proto
3
5
6#include <algorithm>
7#include "google/protobuf/io/coded_stream.h"
8#include "google/protobuf/extension_set.h"
9#include "google/protobuf/wire_format_lite.h"
10#include "google/protobuf/descriptor.h"
11#include "google/protobuf/generated_message_reflection.h"
12#include "google/protobuf/reflection_ops.h"
13#include "google/protobuf/wire_format.h"
14#include "google/protobuf/generated_message_tctable_impl.h"
15// @@protoc_insertion_point(includes)
16
17// Must be included last.
18#include "google/protobuf/port_def.inc"
19PROTOBUF_PRAGMA_INIT_SEG
20namespace _pb = ::google::protobuf;
21namespace _pbi = ::google::protobuf::internal;
22namespace _fl = ::google::protobuf::internal::field_layout;
23namespace dunedaq {
24namespace dfmodules {
25namespace opmon {
26 template <typename>
27PROTOBUF_CONSTEXPR FADataRequestsCounterInfo::FADataRequestsCounterInfo(::_pbi::ConstantInitialized)
28 : _impl_{
29 /*decltype(_impl_.data_requests_received_)*/ ::uint64_t{0u},
30 /*decltype(_impl_.data_requests_processed_)*/ ::uint64_t{0u},
31 /*decltype(_impl_.data_requests_failed_)*/ ::uint64_t{0u},
32 /*decltype(_impl_._cached_size_)*/ {},
33 } {}
41
42PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
44 template <typename>
45PROTOBUF_CONSTEXPR FAFragmentsCounterInfo::FAFragmentsCounterInfo(::_pbi::ConstantInitialized)
46 : _impl_{
47 /*decltype(_impl_.fragments_received_)*/ ::uint64_t{0u},
48 /*decltype(_impl_.fragments_processed_)*/ ::uint64_t{0u},
49 /*decltype(_impl_.fragments_failed_)*/ ::uint64_t{0u},
50 /*decltype(_impl_.fragments_empty_)*/ ::uint64_t{0u},
51 /*decltype(_impl_.fragments_incomplete_)*/ ::uint64_t{0u},
52 /*decltype(_impl_.fragments_invalid_)*/ ::uint64_t{0u},
53 /*decltype(_impl_._cached_size_)*/ {},
54 } {}
62
63PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
65 template <typename>
66PROTOBUF_CONSTEXPR FragmentAggregatorTimeInfo::FragmentAggregatorTimeInfo(::_pbi::ConstantInitialized)
67 : _impl_{
68 /*decltype(_impl_.average_us_)*/ ::uint64_t{0u},
69 /*decltype(_impl_.min_us_)*/ ::uint64_t{0u},
70 /*decltype(_impl_.max_us_)*/ ::uint64_t{0u},
71 /*decltype(_impl_._cached_size_)*/ {},
72 } {}
80
81PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
83} // namespace opmon
84} // namespace dfmodules
85} // namespace dunedaq
87static constexpr const ::_pb::EnumDescriptor**
89static constexpr const ::_pb::ServiceDescriptor**
92 protodesc_cold) = {
93 ~0u, // no _has_bits_
94 PROTOBUF_FIELD_OFFSET(::dunedaq::dfmodules::opmon::FADataRequestsCounterInfo, _internal_metadata_),
95 ~0u, // no _extensions_
96 ~0u, // no _oneof_case_
97 ~0u, // no _weak_field_map_
98 ~0u, // no _inlined_string_donated_
99 ~0u, // no _split_
100 ~0u, // no sizeof(Split)
101 PROTOBUF_FIELD_OFFSET(::dunedaq::dfmodules::opmon::FADataRequestsCounterInfo, _impl_.data_requests_received_),
102 PROTOBUF_FIELD_OFFSET(::dunedaq::dfmodules::opmon::FADataRequestsCounterInfo, _impl_.data_requests_processed_),
103 PROTOBUF_FIELD_OFFSET(::dunedaq::dfmodules::opmon::FADataRequestsCounterInfo, _impl_.data_requests_failed_),
104 ~0u, // no _has_bits_
105 PROTOBUF_FIELD_OFFSET(::dunedaq::dfmodules::opmon::FAFragmentsCounterInfo, _internal_metadata_),
106 ~0u, // no _extensions_
107 ~0u, // no _oneof_case_
108 ~0u, // no _weak_field_map_
109 ~0u, // no _inlined_string_donated_
110 ~0u, // no _split_
111 ~0u, // no sizeof(Split)
112 PROTOBUF_FIELD_OFFSET(::dunedaq::dfmodules::opmon::FAFragmentsCounterInfo, _impl_.fragments_received_),
113 PROTOBUF_FIELD_OFFSET(::dunedaq::dfmodules::opmon::FAFragmentsCounterInfo, _impl_.fragments_processed_),
114 PROTOBUF_FIELD_OFFSET(::dunedaq::dfmodules::opmon::FAFragmentsCounterInfo, _impl_.fragments_failed_),
115 PROTOBUF_FIELD_OFFSET(::dunedaq::dfmodules::opmon::FAFragmentsCounterInfo, _impl_.fragments_empty_),
116 PROTOBUF_FIELD_OFFSET(::dunedaq::dfmodules::opmon::FAFragmentsCounterInfo, _impl_.fragments_incomplete_),
117 PROTOBUF_FIELD_OFFSET(::dunedaq::dfmodules::opmon::FAFragmentsCounterInfo, _impl_.fragments_invalid_),
118 ~0u, // no _has_bits_
119 PROTOBUF_FIELD_OFFSET(::dunedaq::dfmodules::opmon::FragmentAggregatorTimeInfo, _internal_metadata_),
120 ~0u, // no _extensions_
121 ~0u, // no _oneof_case_
122 ~0u, // no _weak_field_map_
123 ~0u, // no _inlined_string_donated_
124 ~0u, // no _split_
125 ~0u, // no sizeof(Split)
126 PROTOBUF_FIELD_OFFSET(::dunedaq::dfmodules::opmon::FragmentAggregatorTimeInfo, _impl_.average_us_),
127 PROTOBUF_FIELD_OFFSET(::dunedaq::dfmodules::opmon::FragmentAggregatorTimeInfo, _impl_.min_us_),
128 PROTOBUF_FIELD_OFFSET(::dunedaq::dfmodules::opmon::FragmentAggregatorTimeInfo, _impl_.max_us_),
129};
130
131static const ::_pbi::MigrationSchema
132 schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = {
136};
137
143const char descriptor_table_protodef_dfmodules_2fopmon_2fFragmentAggregatorModule_2eproto[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = {
144 "\n.dfmodules/opmon/FragmentAggregatorModu"
145 "le.proto\022\027dunedaq.dfmodules.opmon\"z\n\031FAD"
146 "ataRequestsCounterInfo\022\036\n\026data_requests_"
147 "received\030\001 \001(\004\022\037\n\027data_requests_processe"
148 "d\030\002 \001(\004\022\034\n\024data_requests_failed\030\003 \001(\004\"\275\001"
149 "\n\026FAFragmentsCounterInfo\022\032\n\022fragments_re"
150 "ceived\030\001 \001(\004\022\033\n\023fragments_processed\030\002 \001("
151 "\004\022\030\n\020fragments_failed\030\003 \001(\004\022\027\n\017fragments"
152 "_empty\030\004 \001(\004\022\034\n\024fragments_incomplete\030\005 \001"
153 "(\004\022\031\n\021fragments_invalid\030\006 \001(\004\"P\n\032Fragmen"
154 "tAggregatorTimeInfo\022\022\n\naverage_us\030\001 \001(\004\022"
155 "\016\n\006min_us\030\002 \001(\004\022\016\n\006max_us\030\003 \001(\004b\006proto3"
156};
175
176// This function exists to be marked as weak.
177// It can significantly speed up compilation by breaking up LLVM's SCC
178// in the .pb.cc translation units. Large translation units see a
179// reduction of more than 35% of walltime for optimized builds. Without
180// the weak attribute all the messages in the file, including all the
181// vtables and everything they use become part of the same SCC through
182// a cycle like:
183// GetMetadata -> descriptor table -> default instances ->
184// vtables -> GetMetadata
185// By adding a weak function here we break the connection from the
186// individual vtables back into the descriptor table.
190// Force running AddDescriptors() at dynamic initialization time.
191PROTOBUF_ATTRIBUTE_INIT_PRIORITY2
192static ::_pbi::AddDescriptorsRunner dynamic_init_dummy_dfmodules_2fopmon_2fFragmentAggregatorModule_2eproto(&descriptor_table_dfmodules_2fopmon_2fFragmentAggregatorModule_2eproto);
193namespace dunedaq {
194namespace dfmodules {
195namespace opmon {
196// ===================================================================
197
199 public:
200};
201
203 : ::google::protobuf::Message(arena) {
204 SharedCtor(arena);
205 // @@protoc_insertion_point(arena_constructor:dunedaq.dfmodules.opmon.FADataRequestsCounterInfo)
206}
208 : ::google::protobuf::Message(), _impl_(from._impl_) {
209 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
210 from._internal_metadata_);
211 // @@protoc_insertion_point(copy_constructor:dunedaq.dfmodules.opmon.FADataRequestsCounterInfo)
212}
213inline void FADataRequestsCounterInfo::SharedCtor(::_pb::Arena* arena) {
214 (void)arena;
215 new (&_impl_) Impl_{
216 decltype(_impl_.data_requests_received_){::uint64_t{0u}},
217 decltype(_impl_.data_requests_processed_){::uint64_t{0u}},
218 decltype(_impl_.data_requests_failed_){::uint64_t{0u}},
219 /*decltype(_impl_._cached_size_)*/ {},
220 };
221}
223 // @@protoc_insertion_point(destructor:dunedaq.dfmodules.opmon.FADataRequestsCounterInfo)
224 _internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
225 SharedDtor();
226}
228 ABSL_DCHECK(GetArenaForAllocation() == nullptr);
229}
233
234PROTOBUF_NOINLINE void FADataRequestsCounterInfo::Clear() {
235// @@protoc_insertion_point(message_clear_start:dunedaq.dfmodules.opmon.FADataRequestsCounterInfo)
236 ::uint32_t cached_has_bits = 0;
237 // Prevent compiler warnings about cached_has_bits being unused
238 (void) cached_has_bits;
239
240 ::memset(&_impl_.data_requests_received_, 0, static_cast<::size_t>(
241 reinterpret_cast<char*>(&_impl_.data_requests_failed_) -
242 reinterpret_cast<char*>(&_impl_.data_requests_received_)) + sizeof(_impl_.data_requests_failed_));
243 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
244}
245
247 const char* ptr, ::_pbi::ParseContext* ctx) {
248 ptr = ::_pbi::TcParser::ParseLoop(this, ptr, ctx, &_table_.header);
249 return ptr;
250}
251
252
253PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
254const ::_pbi::TcParseTable<2, 3, 0, 0, 2> FADataRequestsCounterInfo::_table_ = {
255 {
256 0, // no _has_bits_
257 0, // no _extensions_
258 3, 24, // max_field_number, fast_idx_mask
259 offsetof(decltype(_table_), field_lookup_table),
260 4294967288, // skipmap
261 offsetof(decltype(_table_), field_entries),
262 3, // num_field_entries
263 0, // num_aux_entries
264 offsetof(decltype(_table_), field_names), // no aux_entries
266 ::_pbi::TcParser::GenericFallback, // fallback
267 }, {{
268 {::_pbi::TcParser::MiniParse, {}},
269 // uint64 data_requests_received = 1;
270 {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(FADataRequestsCounterInfo, _impl_.data_requests_received_), 63>(),
271 {8, 63, 0, PROTOBUF_FIELD_OFFSET(FADataRequestsCounterInfo, _impl_.data_requests_received_)}},
272 // uint64 data_requests_processed = 2;
273 {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(FADataRequestsCounterInfo, _impl_.data_requests_processed_), 63>(),
274 {16, 63, 0, PROTOBUF_FIELD_OFFSET(FADataRequestsCounterInfo, _impl_.data_requests_processed_)}},
275 // uint64 data_requests_failed = 3;
276 {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(FADataRequestsCounterInfo, _impl_.data_requests_failed_), 63>(),
277 {24, 63, 0, PROTOBUF_FIELD_OFFSET(FADataRequestsCounterInfo, _impl_.data_requests_failed_)}},
278 }}, {{
279 65535, 65535
280 }}, {{
281 // uint64 data_requests_received = 1;
282 {PROTOBUF_FIELD_OFFSET(FADataRequestsCounterInfo, _impl_.data_requests_received_), 0, 0,
283 (0 | ::_fl::kFcSingular | ::_fl::kUInt64)},
284 // uint64 data_requests_processed = 2;
285 {PROTOBUF_FIELD_OFFSET(FADataRequestsCounterInfo, _impl_.data_requests_processed_), 0, 0,
286 (0 | ::_fl::kFcSingular | ::_fl::kUInt64)},
287 // uint64 data_requests_failed = 3;
288 {PROTOBUF_FIELD_OFFSET(FADataRequestsCounterInfo, _impl_.data_requests_failed_), 0, 0,
289 (0 | ::_fl::kFcSingular | ::_fl::kUInt64)},
290 }},
291 // no aux_entries
292 {{
293 }},
294};
295
297 ::uint8_t* target,
298 ::google::protobuf::io::EpsCopyOutputStream* stream) const {
299 // @@protoc_insertion_point(serialize_to_array_start:dunedaq.dfmodules.opmon.FADataRequestsCounterInfo)
300 ::uint32_t cached_has_bits = 0;
301 (void)cached_has_bits;
302
303 // uint64 data_requests_received = 1;
304 if (this->_internal_data_requests_received() != 0) {
305 target = stream->EnsureSpace(target);
306 target = ::_pbi::WireFormatLite::WriteUInt64ToArray(
307 1, this->_internal_data_requests_received(), target);
308 }
309
310 // uint64 data_requests_processed = 2;
311 if (this->_internal_data_requests_processed() != 0) {
312 target = stream->EnsureSpace(target);
313 target = ::_pbi::WireFormatLite::WriteUInt64ToArray(
314 2, this->_internal_data_requests_processed(), target);
315 }
316
317 // uint64 data_requests_failed = 3;
318 if (this->_internal_data_requests_failed() != 0) {
319 target = stream->EnsureSpace(target);
320 target = ::_pbi::WireFormatLite::WriteUInt64ToArray(
321 3, this->_internal_data_requests_failed(), target);
322 }
323
324 if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
325 target =
326 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
327 _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
328 }
329 // @@protoc_insertion_point(serialize_to_array_end:dunedaq.dfmodules.opmon.FADataRequestsCounterInfo)
330 return target;
331}
332
334// @@protoc_insertion_point(message_byte_size_start:dunedaq.dfmodules.opmon.FADataRequestsCounterInfo)
335 ::size_t total_size = 0;
336
337 ::uint32_t cached_has_bits = 0;
338 // Prevent compiler warnings about cached_has_bits being unused
339 (void) cached_has_bits;
340
341 // uint64 data_requests_received = 1;
342 if (this->_internal_data_requests_received() != 0) {
343 total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(
345 }
346
347 // uint64 data_requests_processed = 2;
348 if (this->_internal_data_requests_processed() != 0) {
349 total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(
351 }
352
353 // uint64 data_requests_failed = 3;
354 if (this->_internal_data_requests_failed() != 0) {
355 total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(
357 }
358
359 return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
360}
361
362const ::google::protobuf::Message::ClassData FADataRequestsCounterInfo::_class_data_ = {
363 ::google::protobuf::Message::CopyWithSourceCheck,
365};
366const ::google::protobuf::Message::ClassData*FADataRequestsCounterInfo::GetClassData() const { return &_class_data_; }
367
368
369void FADataRequestsCounterInfo::MergeImpl(::google::protobuf::Message& to_msg, const ::google::protobuf::Message& from_msg) {
370 auto* const _this = static_cast<FADataRequestsCounterInfo*>(&to_msg);
371 auto& from = static_cast<const FADataRequestsCounterInfo&>(from_msg);
372 // @@protoc_insertion_point(class_specific_merge_from_start:dunedaq.dfmodules.opmon.FADataRequestsCounterInfo)
373 ABSL_DCHECK_NE(&from, _this);
374 ::uint32_t cached_has_bits = 0;
375 (void) cached_has_bits;
376
377 if (from._internal_data_requests_received() != 0) {
378 _this->_internal_set_data_requests_received(from._internal_data_requests_received());
379 }
380 if (from._internal_data_requests_processed() != 0) {
381 _this->_internal_set_data_requests_processed(from._internal_data_requests_processed());
382 }
383 if (from._internal_data_requests_failed() != 0) {
384 _this->_internal_set_data_requests_failed(from._internal_data_requests_failed());
385 }
386 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
387}
388
390// @@protoc_insertion_point(class_specific_copy_from_start:dunedaq.dfmodules.opmon.FADataRequestsCounterInfo)
391 if (&from == this) return;
392 Clear();
393 MergeFrom(from);
394}
395
396PROTOBUF_NOINLINE bool FADataRequestsCounterInfo::IsInitialized() const {
397 return true;
398}
399
401 using std::swap;
402 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
403 ::google::protobuf::internal::memswap<
407 reinterpret_cast<char*>(&_impl_.data_requests_received_),
408 reinterpret_cast<char*>(&other->_impl_.data_requests_received_));
409}
410
416// ===================================================================
417
419 public:
420};
421
422FAFragmentsCounterInfo::FAFragmentsCounterInfo(::google::protobuf::Arena* arena)
423 : ::google::protobuf::Message(arena) {
424 SharedCtor(arena);
425 // @@protoc_insertion_point(arena_constructor:dunedaq.dfmodules.opmon.FAFragmentsCounterInfo)
426}
428 : ::google::protobuf::Message(), _impl_(from._impl_) {
429 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
430 from._internal_metadata_);
431 // @@protoc_insertion_point(copy_constructor:dunedaq.dfmodules.opmon.FAFragmentsCounterInfo)
432}
433inline void FAFragmentsCounterInfo::SharedCtor(::_pb::Arena* arena) {
434 (void)arena;
435 new (&_impl_) Impl_{
436 decltype(_impl_.fragments_received_){::uint64_t{0u}},
437 decltype(_impl_.fragments_processed_){::uint64_t{0u}},
438 decltype(_impl_.fragments_failed_){::uint64_t{0u}},
439 decltype(_impl_.fragments_empty_){::uint64_t{0u}},
440 decltype(_impl_.fragments_incomplete_){::uint64_t{0u}},
441 decltype(_impl_.fragments_invalid_){::uint64_t{0u}},
442 /*decltype(_impl_._cached_size_)*/ {},
443 };
444}
446 // @@protoc_insertion_point(destructor:dunedaq.dfmodules.opmon.FAFragmentsCounterInfo)
447 _internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
448 SharedDtor();
449}
451 ABSL_DCHECK(GetArenaForAllocation() == nullptr);
452}
456
457PROTOBUF_NOINLINE void FAFragmentsCounterInfo::Clear() {
458// @@protoc_insertion_point(message_clear_start:dunedaq.dfmodules.opmon.FAFragmentsCounterInfo)
459 ::uint32_t cached_has_bits = 0;
460 // Prevent compiler warnings about cached_has_bits being unused
461 (void) cached_has_bits;
462
463 ::memset(&_impl_.fragments_received_, 0, static_cast<::size_t>(
464 reinterpret_cast<char*>(&_impl_.fragments_invalid_) -
465 reinterpret_cast<char*>(&_impl_.fragments_received_)) + sizeof(_impl_.fragments_invalid_));
466 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
467}
468
470 const char* ptr, ::_pbi::ParseContext* ctx) {
471 ptr = ::_pbi::TcParser::ParseLoop(this, ptr, ctx, &_table_.header);
472 return ptr;
473}
474
475
476PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
477const ::_pbi::TcParseTable<3, 6, 0, 0, 2> FAFragmentsCounterInfo::_table_ = {
478 {
479 0, // no _has_bits_
480 0, // no _extensions_
481 6, 56, // max_field_number, fast_idx_mask
482 offsetof(decltype(_table_), field_lookup_table),
483 4294967232, // skipmap
484 offsetof(decltype(_table_), field_entries),
485 6, // num_field_entries
486 0, // num_aux_entries
487 offsetof(decltype(_table_), field_names), // no aux_entries
489 ::_pbi::TcParser::GenericFallback, // fallback
490 }, {{
491 {::_pbi::TcParser::MiniParse, {}},
492 // uint64 fragments_received = 1;
493 {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(FAFragmentsCounterInfo, _impl_.fragments_received_), 63>(),
494 {8, 63, 0, PROTOBUF_FIELD_OFFSET(FAFragmentsCounterInfo, _impl_.fragments_received_)}},
495 // uint64 fragments_processed = 2;
496 {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(FAFragmentsCounterInfo, _impl_.fragments_processed_), 63>(),
497 {16, 63, 0, PROTOBUF_FIELD_OFFSET(FAFragmentsCounterInfo, _impl_.fragments_processed_)}},
498 // uint64 fragments_failed = 3;
499 {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(FAFragmentsCounterInfo, _impl_.fragments_failed_), 63>(),
500 {24, 63, 0, PROTOBUF_FIELD_OFFSET(FAFragmentsCounterInfo, _impl_.fragments_failed_)}},
501 // uint64 fragments_empty = 4;
502 {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(FAFragmentsCounterInfo, _impl_.fragments_empty_), 63>(),
503 {32, 63, 0, PROTOBUF_FIELD_OFFSET(FAFragmentsCounterInfo, _impl_.fragments_empty_)}},
504 // uint64 fragments_incomplete = 5;
505 {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(FAFragmentsCounterInfo, _impl_.fragments_incomplete_), 63>(),
506 {40, 63, 0, PROTOBUF_FIELD_OFFSET(FAFragmentsCounterInfo, _impl_.fragments_incomplete_)}},
507 // uint64 fragments_invalid = 6;
508 {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(FAFragmentsCounterInfo, _impl_.fragments_invalid_), 63>(),
509 {48, 63, 0, PROTOBUF_FIELD_OFFSET(FAFragmentsCounterInfo, _impl_.fragments_invalid_)}},
510 {::_pbi::TcParser::MiniParse, {}},
511 }}, {{
512 65535, 65535
513 }}, {{
514 // uint64 fragments_received = 1;
515 {PROTOBUF_FIELD_OFFSET(FAFragmentsCounterInfo, _impl_.fragments_received_), 0, 0,
516 (0 | ::_fl::kFcSingular | ::_fl::kUInt64)},
517 // uint64 fragments_processed = 2;
518 {PROTOBUF_FIELD_OFFSET(FAFragmentsCounterInfo, _impl_.fragments_processed_), 0, 0,
519 (0 | ::_fl::kFcSingular | ::_fl::kUInt64)},
520 // uint64 fragments_failed = 3;
521 {PROTOBUF_FIELD_OFFSET(FAFragmentsCounterInfo, _impl_.fragments_failed_), 0, 0,
522 (0 | ::_fl::kFcSingular | ::_fl::kUInt64)},
523 // uint64 fragments_empty = 4;
524 {PROTOBUF_FIELD_OFFSET(FAFragmentsCounterInfo, _impl_.fragments_empty_), 0, 0,
525 (0 | ::_fl::kFcSingular | ::_fl::kUInt64)},
526 // uint64 fragments_incomplete = 5;
527 {PROTOBUF_FIELD_OFFSET(FAFragmentsCounterInfo, _impl_.fragments_incomplete_), 0, 0,
528 (0 | ::_fl::kFcSingular | ::_fl::kUInt64)},
529 // uint64 fragments_invalid = 6;
530 {PROTOBUF_FIELD_OFFSET(FAFragmentsCounterInfo, _impl_.fragments_invalid_), 0, 0,
531 (0 | ::_fl::kFcSingular | ::_fl::kUInt64)},
532 }},
533 // no aux_entries
534 {{
535 }},
536};
537
539 ::uint8_t* target,
540 ::google::protobuf::io::EpsCopyOutputStream* stream) const {
541 // @@protoc_insertion_point(serialize_to_array_start:dunedaq.dfmodules.opmon.FAFragmentsCounterInfo)
542 ::uint32_t cached_has_bits = 0;
543 (void)cached_has_bits;
544
545 // uint64 fragments_received = 1;
546 if (this->_internal_fragments_received() != 0) {
547 target = stream->EnsureSpace(target);
548 target = ::_pbi::WireFormatLite::WriteUInt64ToArray(
549 1, this->_internal_fragments_received(), target);
550 }
551
552 // uint64 fragments_processed = 2;
553 if (this->_internal_fragments_processed() != 0) {
554 target = stream->EnsureSpace(target);
555 target = ::_pbi::WireFormatLite::WriteUInt64ToArray(
556 2, this->_internal_fragments_processed(), target);
557 }
558
559 // uint64 fragments_failed = 3;
560 if (this->_internal_fragments_failed() != 0) {
561 target = stream->EnsureSpace(target);
562 target = ::_pbi::WireFormatLite::WriteUInt64ToArray(
563 3, this->_internal_fragments_failed(), target);
564 }
565
566 // uint64 fragments_empty = 4;
567 if (this->_internal_fragments_empty() != 0) {
568 target = stream->EnsureSpace(target);
569 target = ::_pbi::WireFormatLite::WriteUInt64ToArray(
570 4, this->_internal_fragments_empty(), target);
571 }
572
573 // uint64 fragments_incomplete = 5;
574 if (this->_internal_fragments_incomplete() != 0) {
575 target = stream->EnsureSpace(target);
576 target = ::_pbi::WireFormatLite::WriteUInt64ToArray(
577 5, this->_internal_fragments_incomplete(), target);
578 }
579
580 // uint64 fragments_invalid = 6;
581 if (this->_internal_fragments_invalid() != 0) {
582 target = stream->EnsureSpace(target);
583 target = ::_pbi::WireFormatLite::WriteUInt64ToArray(
584 6, this->_internal_fragments_invalid(), target);
585 }
586
587 if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
588 target =
589 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
590 _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
591 }
592 // @@protoc_insertion_point(serialize_to_array_end:dunedaq.dfmodules.opmon.FAFragmentsCounterInfo)
593 return target;
594}
595
597// @@protoc_insertion_point(message_byte_size_start:dunedaq.dfmodules.opmon.FAFragmentsCounterInfo)
598 ::size_t total_size = 0;
599
600 ::uint32_t cached_has_bits = 0;
601 // Prevent compiler warnings about cached_has_bits being unused
602 (void) cached_has_bits;
603
604 // uint64 fragments_received = 1;
605 if (this->_internal_fragments_received() != 0) {
606 total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(
608 }
609
610 // uint64 fragments_processed = 2;
611 if (this->_internal_fragments_processed() != 0) {
612 total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(
614 }
615
616 // uint64 fragments_failed = 3;
617 if (this->_internal_fragments_failed() != 0) {
618 total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(
620 }
621
622 // uint64 fragments_empty = 4;
623 if (this->_internal_fragments_empty() != 0) {
624 total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(
626 }
627
628 // uint64 fragments_incomplete = 5;
629 if (this->_internal_fragments_incomplete() != 0) {
630 total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(
632 }
633
634 // uint64 fragments_invalid = 6;
635 if (this->_internal_fragments_invalid() != 0) {
636 total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(
638 }
639
640 return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
641}
642
643const ::google::protobuf::Message::ClassData FAFragmentsCounterInfo::_class_data_ = {
644 ::google::protobuf::Message::CopyWithSourceCheck,
646};
647const ::google::protobuf::Message::ClassData*FAFragmentsCounterInfo::GetClassData() const { return &_class_data_; }
648
649
650void FAFragmentsCounterInfo::MergeImpl(::google::protobuf::Message& to_msg, const ::google::protobuf::Message& from_msg) {
651 auto* const _this = static_cast<FAFragmentsCounterInfo*>(&to_msg);
652 auto& from = static_cast<const FAFragmentsCounterInfo&>(from_msg);
653 // @@protoc_insertion_point(class_specific_merge_from_start:dunedaq.dfmodules.opmon.FAFragmentsCounterInfo)
654 ABSL_DCHECK_NE(&from, _this);
655 ::uint32_t cached_has_bits = 0;
656 (void) cached_has_bits;
657
658 if (from._internal_fragments_received() != 0) {
659 _this->_internal_set_fragments_received(from._internal_fragments_received());
660 }
661 if (from._internal_fragments_processed() != 0) {
662 _this->_internal_set_fragments_processed(from._internal_fragments_processed());
663 }
664 if (from._internal_fragments_failed() != 0) {
665 _this->_internal_set_fragments_failed(from._internal_fragments_failed());
666 }
667 if (from._internal_fragments_empty() != 0) {
668 _this->_internal_set_fragments_empty(from._internal_fragments_empty());
669 }
670 if (from._internal_fragments_incomplete() != 0) {
671 _this->_internal_set_fragments_incomplete(from._internal_fragments_incomplete());
672 }
673 if (from._internal_fragments_invalid() != 0) {
674 _this->_internal_set_fragments_invalid(from._internal_fragments_invalid());
675 }
676 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
677}
678
680// @@protoc_insertion_point(class_specific_copy_from_start:dunedaq.dfmodules.opmon.FAFragmentsCounterInfo)
681 if (&from == this) return;
682 Clear();
683 MergeFrom(from);
684}
685
686PROTOBUF_NOINLINE bool FAFragmentsCounterInfo::IsInitialized() const {
687 return true;
688}
689
691 using std::swap;
692 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
693 ::google::protobuf::internal::memswap<
694 PROTOBUF_FIELD_OFFSET(FAFragmentsCounterInfo, _impl_.fragments_invalid_)
696 - PROTOBUF_FIELD_OFFSET(FAFragmentsCounterInfo, _impl_.fragments_received_)>(
697 reinterpret_cast<char*>(&_impl_.fragments_received_),
698 reinterpret_cast<char*>(&other->_impl_.fragments_received_));
699}
700
706// ===================================================================
707
711
713 : ::google::protobuf::Message(arena) {
714 SharedCtor(arena);
715 // @@protoc_insertion_point(arena_constructor:dunedaq.dfmodules.opmon.FragmentAggregatorTimeInfo)
716}
718 : ::google::protobuf::Message(), _impl_(from._impl_) {
719 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
720 from._internal_metadata_);
721 // @@protoc_insertion_point(copy_constructor:dunedaq.dfmodules.opmon.FragmentAggregatorTimeInfo)
722}
723inline void FragmentAggregatorTimeInfo::SharedCtor(::_pb::Arena* arena) {
724 (void)arena;
725 new (&_impl_) Impl_{
726 decltype(_impl_.average_us_){::uint64_t{0u}},
727 decltype(_impl_.min_us_){::uint64_t{0u}},
728 decltype(_impl_.max_us_){::uint64_t{0u}},
729 /*decltype(_impl_._cached_size_)*/ {},
730 };
731}
733 // @@protoc_insertion_point(destructor:dunedaq.dfmodules.opmon.FragmentAggregatorTimeInfo)
734 _internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
735 SharedDtor();
736}
738 ABSL_DCHECK(GetArenaForAllocation() == nullptr);
739}
743
744PROTOBUF_NOINLINE void FragmentAggregatorTimeInfo::Clear() {
745// @@protoc_insertion_point(message_clear_start:dunedaq.dfmodules.opmon.FragmentAggregatorTimeInfo)
746 ::uint32_t cached_has_bits = 0;
747 // Prevent compiler warnings about cached_has_bits being unused
748 (void) cached_has_bits;
749
750 ::memset(&_impl_.average_us_, 0, static_cast<::size_t>(
751 reinterpret_cast<char*>(&_impl_.max_us_) -
752 reinterpret_cast<char*>(&_impl_.average_us_)) + sizeof(_impl_.max_us_));
753 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
754}
755
757 const char* ptr, ::_pbi::ParseContext* ctx) {
758 ptr = ::_pbi::TcParser::ParseLoop(this, ptr, ctx, &_table_.header);
759 return ptr;
760}
761
762
763PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
764const ::_pbi::TcParseTable<2, 3, 0, 0, 2> FragmentAggregatorTimeInfo::_table_ = {
765 {
766 0, // no _has_bits_
767 0, // no _extensions_
768 3, 24, // max_field_number, fast_idx_mask
769 offsetof(decltype(_table_), field_lookup_table),
770 4294967288, // skipmap
771 offsetof(decltype(_table_), field_entries),
772 3, // num_field_entries
773 0, // num_aux_entries
774 offsetof(decltype(_table_), field_names), // no aux_entries
776 ::_pbi::TcParser::GenericFallback, // fallback
777 }, {{
778 {::_pbi::TcParser::MiniParse, {}},
779 // uint64 average_us = 1;
780 {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(FragmentAggregatorTimeInfo, _impl_.average_us_), 63>(),
781 {8, 63, 0, PROTOBUF_FIELD_OFFSET(FragmentAggregatorTimeInfo, _impl_.average_us_)}},
782 // uint64 min_us = 2;
783 {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(FragmentAggregatorTimeInfo, _impl_.min_us_), 63>(),
784 {16, 63, 0, PROTOBUF_FIELD_OFFSET(FragmentAggregatorTimeInfo, _impl_.min_us_)}},
785 // uint64 max_us = 3;
786 {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(FragmentAggregatorTimeInfo, _impl_.max_us_), 63>(),
787 {24, 63, 0, PROTOBUF_FIELD_OFFSET(FragmentAggregatorTimeInfo, _impl_.max_us_)}},
788 }}, {{
789 65535, 65535
790 }}, {{
791 // uint64 average_us = 1;
792 {PROTOBUF_FIELD_OFFSET(FragmentAggregatorTimeInfo, _impl_.average_us_), 0, 0,
793 (0 | ::_fl::kFcSingular | ::_fl::kUInt64)},
794 // uint64 min_us = 2;
795 {PROTOBUF_FIELD_OFFSET(FragmentAggregatorTimeInfo, _impl_.min_us_), 0, 0,
796 (0 | ::_fl::kFcSingular | ::_fl::kUInt64)},
797 // uint64 max_us = 3;
798 {PROTOBUF_FIELD_OFFSET(FragmentAggregatorTimeInfo, _impl_.max_us_), 0, 0,
799 (0 | ::_fl::kFcSingular | ::_fl::kUInt64)},
800 }},
801 // no aux_entries
802 {{
803 }},
804};
805
807 ::uint8_t* target,
808 ::google::protobuf::io::EpsCopyOutputStream* stream) const {
809 // @@protoc_insertion_point(serialize_to_array_start:dunedaq.dfmodules.opmon.FragmentAggregatorTimeInfo)
810 ::uint32_t cached_has_bits = 0;
811 (void)cached_has_bits;
812
813 // uint64 average_us = 1;
814 if (this->_internal_average_us() != 0) {
815 target = stream->EnsureSpace(target);
816 target = ::_pbi::WireFormatLite::WriteUInt64ToArray(
817 1, this->_internal_average_us(), target);
818 }
819
820 // uint64 min_us = 2;
821 if (this->_internal_min_us() != 0) {
822 target = stream->EnsureSpace(target);
823 target = ::_pbi::WireFormatLite::WriteUInt64ToArray(
824 2, this->_internal_min_us(), target);
825 }
826
827 // uint64 max_us = 3;
828 if (this->_internal_max_us() != 0) {
829 target = stream->EnsureSpace(target);
830 target = ::_pbi::WireFormatLite::WriteUInt64ToArray(
831 3, this->_internal_max_us(), target);
832 }
833
834 if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
835 target =
836 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
837 _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
838 }
839 // @@protoc_insertion_point(serialize_to_array_end:dunedaq.dfmodules.opmon.FragmentAggregatorTimeInfo)
840 return target;
841}
842
844// @@protoc_insertion_point(message_byte_size_start:dunedaq.dfmodules.opmon.FragmentAggregatorTimeInfo)
845 ::size_t total_size = 0;
846
847 ::uint32_t cached_has_bits = 0;
848 // Prevent compiler warnings about cached_has_bits being unused
849 (void) cached_has_bits;
850
851 // uint64 average_us = 1;
852 if (this->_internal_average_us() != 0) {
853 total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(
854 this->_internal_average_us());
855 }
856
857 // uint64 min_us = 2;
858 if (this->_internal_min_us() != 0) {
859 total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(
860 this->_internal_min_us());
861 }
862
863 // uint64 max_us = 3;
864 if (this->_internal_max_us() != 0) {
865 total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(
866 this->_internal_max_us());
867 }
868
869 return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
870}
871
872const ::google::protobuf::Message::ClassData FragmentAggregatorTimeInfo::_class_data_ = {
873 ::google::protobuf::Message::CopyWithSourceCheck,
875};
876const ::google::protobuf::Message::ClassData*FragmentAggregatorTimeInfo::GetClassData() const { return &_class_data_; }
877
878
879void FragmentAggregatorTimeInfo::MergeImpl(::google::protobuf::Message& to_msg, const ::google::protobuf::Message& from_msg) {
880 auto* const _this = static_cast<FragmentAggregatorTimeInfo*>(&to_msg);
881 auto& from = static_cast<const FragmentAggregatorTimeInfo&>(from_msg);
882 // @@protoc_insertion_point(class_specific_merge_from_start:dunedaq.dfmodules.opmon.FragmentAggregatorTimeInfo)
883 ABSL_DCHECK_NE(&from, _this);
884 ::uint32_t cached_has_bits = 0;
885 (void) cached_has_bits;
886
887 if (from._internal_average_us() != 0) {
888 _this->_internal_set_average_us(from._internal_average_us());
889 }
890 if (from._internal_min_us() != 0) {
891 _this->_internal_set_min_us(from._internal_min_us());
892 }
893 if (from._internal_max_us() != 0) {
894 _this->_internal_set_max_us(from._internal_max_us());
895 }
896 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
897}
898
900// @@protoc_insertion_point(class_specific_copy_from_start:dunedaq.dfmodules.opmon.FragmentAggregatorTimeInfo)
901 if (&from == this) return;
902 Clear();
903 MergeFrom(from);
904}
905
906PROTOBUF_NOINLINE bool FragmentAggregatorTimeInfo::IsInitialized() const {
907 return true;
908}
909
911 using std::swap;
912 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
913 ::google::protobuf::internal::memswap<
914 PROTOBUF_FIELD_OFFSET(FragmentAggregatorTimeInfo, _impl_.max_us_)
916 - PROTOBUF_FIELD_OFFSET(FragmentAggregatorTimeInfo, _impl_.average_us_)>(
917 reinterpret_cast<char*>(&_impl_.average_us_),
918 reinterpret_cast<char*>(&other->_impl_.average_us_));
919}
920
926// @@protoc_insertion_point(namespace_scope)
927} // namespace opmon
928} // namespace dfmodules
929} // namespace dunedaq
930namespace google {
931namespace protobuf {
932} // namespace protobuf
933} // namespace google
934// @@protoc_insertion_point(global_scope)
935#include "google/protobuf/port_undef.inc"
const ::_pbi::DescriptorTable descriptor_table_dfmodules_2fopmon_2fFragmentAggregatorModule_2eproto
static constexprconst ::_pb::ServiceDescriptor ** file_level_service_descriptors_dfmodules_2fopmon_2fFragmentAggregatorModule_2eproto
static constexprconst ::_pb::EnumDescriptor ** file_level_enum_descriptors_dfmodules_2fopmon_2fFragmentAggregatorModule_2eproto
PROTOBUF_ATTRIBUTE_WEAKconst ::_pbi::DescriptorTable * descriptor_table_dfmodules_2fopmon_2fFragmentAggregatorModule_2eproto_getter()
::absl::once_flag descriptor_table_dfmodules_2fopmon_2fFragmentAggregatorModule_2eproto_once
::_pb::Metadata file_level_metadata_dfmodules_2fopmon_2fFragmentAggregatorModule_2eproto[3]
const ::google::protobuf::Message::ClassData * GetClassData() const final
static void MergeImpl(::google::protobuf::Message &to_msg, const ::google::protobuf::Message &from_msg)
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
static const ::google::protobuf::internal::TcParseTable< 2, 3, 0, 0, 2 > _table_
const char * _InternalParse(const char *ptr, ::google::protobuf::internal::ParseContext *ctx) final
void MergeFrom(const FADataRequestsCounterInfo &from)
::uint8_t * _InternalSerialize(::uint8_t *target, ::google::protobuf::io::EpsCopyOutputStream *stream) const final
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
const char * _InternalParse(const char *ptr, ::google::protobuf::internal::ParseContext *ctx) final
static const ::google::protobuf::internal::TcParseTable< 3, 6, 0, 0, 2 > _table_
static void MergeImpl(::google::protobuf::Message &to_msg, const ::google::protobuf::Message &from_msg)
const ::google::protobuf::Message::ClassData * GetClassData() const final
::google::protobuf::Metadata GetMetadata() const final
::uint8_t * _InternalSerialize(::uint8_t *target, ::google::protobuf::io::EpsCopyOutputStream *stream) const final
::uint8_t * _InternalSerialize(::uint8_t *target, ::google::protobuf::io::EpsCopyOutputStream *stream) const final
static const ::google::protobuf::internal::TcParseTable< 2, 3, 0, 0, 2 > _table_
const ::google::protobuf::Message::ClassData * GetClassData() const final
static void MergeImpl(::google::protobuf::Message &to_msg, const ::google::protobuf::Message &from_msg)
void MergeFrom(const FragmentAggregatorTimeInfo &from)
const char * _InternalParse(const char *ptr, ::google::protobuf::internal::ParseContext *ctx) final
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 FAFragmentsCounterInfoDefaultTypeInternal _FAFragmentsCounterInfo_default_instance_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 FADataRequestsCounterInfoDefaultTypeInternal _FADataRequestsCounterInfo_default_instance_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 FragmentAggregatorTimeInfoDefaultTypeInternal _FragmentAggregatorTimeInfo_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_
mutable::google::protobuf::internal::CachedSize _cached_size_
mutable::google::protobuf::internal::CachedSize _cached_size_
const ::uint32_t TableStruct_wib_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold)
static const ::_pb::Message *const file_default_instances[]
Definition wib.pb.cc:1192