DUNE-DAQ
DUNE Trigger and Data Acquisition software
Loading...
Searching...
No Matches
DFOModule.pb.cc
Go to the documentation of this file.
1// Generated by the protocol buffer compiler. DO NOT EDIT!
2// source: dfmodules/opmon/DFOModule.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 DFOInfo::DFOInfo(::_pbi::ConstantInitialized)
28 : _impl_{
29 /*decltype(_impl_.tokens_received_)*/ ::uint64_t{0u},
30 /*decltype(_impl_.decisions_received_)*/ ::uint64_t{0u},
31 /*decltype(_impl_.decisions_sent_)*/ ::uint64_t{0u},
32 /*decltype(_impl_.waiting_for_decision_)*/ ::uint64_t{0u},
33 /*decltype(_impl_.deciding_destination_)*/ ::uint64_t{0u},
34 /*decltype(_impl_.forwarding_decision_)*/ ::uint64_t{0u},
35 /*decltype(_impl_.waiting_for_token_)*/ ::uint64_t{0u},
36 /*decltype(_impl_.processing_token_)*/ ::uint64_t{0u},
37 /*decltype(_impl_._cached_size_)*/ {},
38 } {}
40 PROTOBUF_CONSTEXPR DFOInfoDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
42 union {
44 };
45};
46
47PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
48 PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 DFOInfoDefaultTypeInternal _DFOInfo_default_instance_;
49 template <typename>
50PROTOBUF_CONSTEXPR TriggerInfo::TriggerInfo(::_pbi::ConstantInitialized)
51 : _impl_{
52 /*decltype(_impl_.received_)*/ ::uint64_t{0u},
53 /*decltype(_impl_.completed_)*/ ::uint64_t{0u},
54 /*decltype(_impl_._cached_size_)*/ {},
55 } {}
57 PROTOBUF_CONSTEXPR TriggerInfoDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
59 union {
61 };
62};
63
64PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
65 PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 TriggerInfoDefaultTypeInternal _TriggerInfo_default_instance_;
66} // namespace opmon
67} // namespace dfmodules
68} // namespace dunedaq
70static constexpr const ::_pb::EnumDescriptor**
72static constexpr const ::_pb::ServiceDescriptor**
75 protodesc_cold) = {
76 ~0u, // no _has_bits_
77 PROTOBUF_FIELD_OFFSET(::dunedaq::dfmodules::opmon::DFOInfo, _internal_metadata_),
78 ~0u, // no _extensions_
79 ~0u, // no _oneof_case_
80 ~0u, // no _weak_field_map_
81 ~0u, // no _inlined_string_donated_
82 ~0u, // no _split_
83 ~0u, // no sizeof(Split)
84 PROTOBUF_FIELD_OFFSET(::dunedaq::dfmodules::opmon::DFOInfo, _impl_.tokens_received_),
85 PROTOBUF_FIELD_OFFSET(::dunedaq::dfmodules::opmon::DFOInfo, _impl_.decisions_received_),
86 PROTOBUF_FIELD_OFFSET(::dunedaq::dfmodules::opmon::DFOInfo, _impl_.decisions_sent_),
87 PROTOBUF_FIELD_OFFSET(::dunedaq::dfmodules::opmon::DFOInfo, _impl_.waiting_for_decision_),
88 PROTOBUF_FIELD_OFFSET(::dunedaq::dfmodules::opmon::DFOInfo, _impl_.deciding_destination_),
89 PROTOBUF_FIELD_OFFSET(::dunedaq::dfmodules::opmon::DFOInfo, _impl_.forwarding_decision_),
90 PROTOBUF_FIELD_OFFSET(::dunedaq::dfmodules::opmon::DFOInfo, _impl_.waiting_for_token_),
91 PROTOBUF_FIELD_OFFSET(::dunedaq::dfmodules::opmon::DFOInfo, _impl_.processing_token_),
92 ~0u, // no _has_bits_
93 PROTOBUF_FIELD_OFFSET(::dunedaq::dfmodules::opmon::TriggerInfo, _internal_metadata_),
94 ~0u, // no _extensions_
95 ~0u, // no _oneof_case_
96 ~0u, // no _weak_field_map_
97 ~0u, // no _inlined_string_donated_
98 ~0u, // no _split_
99 ~0u, // no sizeof(Split)
100 PROTOBUF_FIELD_OFFSET(::dunedaq::dfmodules::opmon::TriggerInfo, _impl_.received_),
101 PROTOBUF_FIELD_OFFSET(::dunedaq::dfmodules::opmon::TriggerInfo, _impl_.completed_),
102};
103
104static const ::_pbi::MigrationSchema
105 schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = {
106 {0, -1, -1, sizeof(::dunedaq::dfmodules::opmon::DFOInfo)},
107 {16, -1, -1, sizeof(::dunedaq::dfmodules::opmon::TriggerInfo)},
108};
109
114const char descriptor_table_protodef_dfmodules_2fopmon_2fDFOModule_2eproto[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = {
115 "\n\037dfmodules/opmon/DFOModule.proto\022\027duned"
116 "aq.dfmodules.opmon\"\344\001\n\007DFOInfo\022\027\n\017tokens"
117 "_received\030\001 \001(\004\022\032\n\022decisions_received\030\002 "
118 "\001(\004\022\026\n\016decisions_sent\030\003 \001(\004\022\034\n\024waiting_f"
119 "or_decision\030\n \001(\004\022\034\n\024deciding_destinatio"
120 "n\030\013 \001(\004\022\033\n\023forwarding_decision\030\014 \001(\004\022\031\n\021"
121 "waiting_for_token\030\017 \001(\004\022\030\n\020processing_to"
122 "ken\030\020 \001(\004\"2\n\013TriggerInfo\022\020\n\010received\030\001 \001"
123 "(\004\022\021\n\tcompleted\030\002 \001(\004b\006proto3"
124};
143
144// This function exists to be marked as weak.
145// It can significantly speed up compilation by breaking up LLVM's SCC
146// in the .pb.cc translation units. Large translation units see a
147// reduction of more than 35% of walltime for optimized builds. Without
148// the weak attribute all the messages in the file, including all the
149// vtables and everything they use become part of the same SCC through
150// a cycle like:
151// GetMetadata -> descriptor table -> default instances ->
152// vtables -> GetMetadata
153// By adding a weak function here we break the connection from the
154// individual vtables back into the descriptor table.
158// Force running AddDescriptors() at dynamic initialization time.
159PROTOBUF_ATTRIBUTE_INIT_PRIORITY2
160static ::_pbi::AddDescriptorsRunner dynamic_init_dummy_dfmodules_2fopmon_2fDFOModule_2eproto(&descriptor_table_dfmodules_2fopmon_2fDFOModule_2eproto);
161namespace dunedaq {
162namespace dfmodules {
163namespace opmon {
164// ===================================================================
165
167 public:
168};
169
170DFOInfo::DFOInfo(::google::protobuf::Arena* arena)
171 : ::google::protobuf::Message(arena) {
172 SharedCtor(arena);
173 // @@protoc_insertion_point(arena_constructor:dunedaq.dfmodules.opmon.DFOInfo)
174}
176 : ::google::protobuf::Message(), _impl_(from._impl_) {
177 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
178 from._internal_metadata_);
179 // @@protoc_insertion_point(copy_constructor:dunedaq.dfmodules.opmon.DFOInfo)
180}
181inline void DFOInfo::SharedCtor(::_pb::Arena* arena) {
182 (void)arena;
183 new (&_impl_) Impl_{
184 decltype(_impl_.tokens_received_){::uint64_t{0u}},
185 decltype(_impl_.decisions_received_){::uint64_t{0u}},
186 decltype(_impl_.decisions_sent_){::uint64_t{0u}},
187 decltype(_impl_.waiting_for_decision_){::uint64_t{0u}},
188 decltype(_impl_.deciding_destination_){::uint64_t{0u}},
189 decltype(_impl_.forwarding_decision_){::uint64_t{0u}},
190 decltype(_impl_.waiting_for_token_){::uint64_t{0u}},
191 decltype(_impl_.processing_token_){::uint64_t{0u}},
192 /*decltype(_impl_._cached_size_)*/ {},
193 };
194}
196 // @@protoc_insertion_point(destructor:dunedaq.dfmodules.opmon.DFOInfo)
197 _internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
198 SharedDtor();
199}
200inline void DFOInfo::SharedDtor() {
201 ABSL_DCHECK(GetArenaForAllocation() == nullptr);
202}
205}
206
207PROTOBUF_NOINLINE void DFOInfo::Clear() {
208// @@protoc_insertion_point(message_clear_start:dunedaq.dfmodules.opmon.DFOInfo)
209 ::uint32_t cached_has_bits = 0;
210 // Prevent compiler warnings about cached_has_bits being unused
211 (void) cached_has_bits;
212
213 ::memset(&_impl_.tokens_received_, 0, static_cast<::size_t>(
214 reinterpret_cast<char*>(&_impl_.processing_token_) -
215 reinterpret_cast<char*>(&_impl_.tokens_received_)) + sizeof(_impl_.processing_token_));
216 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
217}
218
220 const char* ptr, ::_pbi::ParseContext* ctx) {
221 ptr = ::_pbi::TcParser::ParseLoop(this, ptr, ctx, &_table_.header);
222 return ptr;
223}
224
225
226PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
227const ::_pbi::TcParseTable<4, 8, 0, 0, 2> DFOInfo::_table_ = {
228 {
229 0, // no _has_bits_
230 0, // no _extensions_
231 16, 120, // max_field_number, fast_idx_mask
232 offsetof(decltype(_table_), field_lookup_table),
233 4294914552, // skipmap
234 offsetof(decltype(_table_), field_entries),
235 8, // num_field_entries
236 0, // num_aux_entries
237 offsetof(decltype(_table_), field_names), // no aux_entries
239 ::_pbi::TcParser::GenericFallback, // fallback
240 }, {{
241 // uint64 processing_token = 16;
242 {::_pbi::TcParser::FastV64S2,
243 {384, 63, 0, PROTOBUF_FIELD_OFFSET(DFOInfo, _impl_.processing_token_)}},
244 // uint64 tokens_received = 1;
245 {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(DFOInfo, _impl_.tokens_received_), 63>(),
246 {8, 63, 0, PROTOBUF_FIELD_OFFSET(DFOInfo, _impl_.tokens_received_)}},
247 // uint64 decisions_received = 2;
248 {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(DFOInfo, _impl_.decisions_received_), 63>(),
249 {16, 63, 0, PROTOBUF_FIELD_OFFSET(DFOInfo, _impl_.decisions_received_)}},
250 // uint64 decisions_sent = 3;
251 {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(DFOInfo, _impl_.decisions_sent_), 63>(),
252 {24, 63, 0, PROTOBUF_FIELD_OFFSET(DFOInfo, _impl_.decisions_sent_)}},
253 {::_pbi::TcParser::MiniParse, {}},
254 {::_pbi::TcParser::MiniParse, {}},
255 {::_pbi::TcParser::MiniParse, {}},
256 {::_pbi::TcParser::MiniParse, {}},
257 {::_pbi::TcParser::MiniParse, {}},
258 {::_pbi::TcParser::MiniParse, {}},
259 // uint64 waiting_for_decision = 10;
260 {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(DFOInfo, _impl_.waiting_for_decision_), 63>(),
261 {80, 63, 0, PROTOBUF_FIELD_OFFSET(DFOInfo, _impl_.waiting_for_decision_)}},
262 // uint64 deciding_destination = 11;
263 {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(DFOInfo, _impl_.deciding_destination_), 63>(),
264 {88, 63, 0, PROTOBUF_FIELD_OFFSET(DFOInfo, _impl_.deciding_destination_)}},
265 // uint64 forwarding_decision = 12;
266 {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(DFOInfo, _impl_.forwarding_decision_), 63>(),
267 {96, 63, 0, PROTOBUF_FIELD_OFFSET(DFOInfo, _impl_.forwarding_decision_)}},
268 {::_pbi::TcParser::MiniParse, {}},
269 {::_pbi::TcParser::MiniParse, {}},
270 // uint64 waiting_for_token = 15;
271 {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(DFOInfo, _impl_.waiting_for_token_), 63>(),
272 {120, 63, 0, PROTOBUF_FIELD_OFFSET(DFOInfo, _impl_.waiting_for_token_)}},
273 }}, {{
274 65535, 65535
275 }}, {{
276 // uint64 tokens_received = 1;
277 {PROTOBUF_FIELD_OFFSET(DFOInfo, _impl_.tokens_received_), 0, 0,
278 (0 | ::_fl::kFcSingular | ::_fl::kUInt64)},
279 // uint64 decisions_received = 2;
280 {PROTOBUF_FIELD_OFFSET(DFOInfo, _impl_.decisions_received_), 0, 0,
281 (0 | ::_fl::kFcSingular | ::_fl::kUInt64)},
282 // uint64 decisions_sent = 3;
283 {PROTOBUF_FIELD_OFFSET(DFOInfo, _impl_.decisions_sent_), 0, 0,
284 (0 | ::_fl::kFcSingular | ::_fl::kUInt64)},
285 // uint64 waiting_for_decision = 10;
286 {PROTOBUF_FIELD_OFFSET(DFOInfo, _impl_.waiting_for_decision_), 0, 0,
287 (0 | ::_fl::kFcSingular | ::_fl::kUInt64)},
288 // uint64 deciding_destination = 11;
289 {PROTOBUF_FIELD_OFFSET(DFOInfo, _impl_.deciding_destination_), 0, 0,
290 (0 | ::_fl::kFcSingular | ::_fl::kUInt64)},
291 // uint64 forwarding_decision = 12;
292 {PROTOBUF_FIELD_OFFSET(DFOInfo, _impl_.forwarding_decision_), 0, 0,
293 (0 | ::_fl::kFcSingular | ::_fl::kUInt64)},
294 // uint64 waiting_for_token = 15;
295 {PROTOBUF_FIELD_OFFSET(DFOInfo, _impl_.waiting_for_token_), 0, 0,
296 (0 | ::_fl::kFcSingular | ::_fl::kUInt64)},
297 // uint64 processing_token = 16;
298 {PROTOBUF_FIELD_OFFSET(DFOInfo, _impl_.processing_token_), 0, 0,
299 (0 | ::_fl::kFcSingular | ::_fl::kUInt64)},
300 }},
301 // no aux_entries
302 {{
303 }},
304};
305
307 ::uint8_t* target,
308 ::google::protobuf::io::EpsCopyOutputStream* stream) const {
309 // @@protoc_insertion_point(serialize_to_array_start:dunedaq.dfmodules.opmon.DFOInfo)
310 ::uint32_t cached_has_bits = 0;
311 (void)cached_has_bits;
312
313 // uint64 tokens_received = 1;
314 if (this->_internal_tokens_received() != 0) {
315 target = stream->EnsureSpace(target);
316 target = ::_pbi::WireFormatLite::WriteUInt64ToArray(
317 1, this->_internal_tokens_received(), target);
318 }
319
320 // uint64 decisions_received = 2;
321 if (this->_internal_decisions_received() != 0) {
322 target = stream->EnsureSpace(target);
323 target = ::_pbi::WireFormatLite::WriteUInt64ToArray(
324 2, this->_internal_decisions_received(), target);
325 }
326
327 // uint64 decisions_sent = 3;
328 if (this->_internal_decisions_sent() != 0) {
329 target = stream->EnsureSpace(target);
330 target = ::_pbi::WireFormatLite::WriteUInt64ToArray(
331 3, this->_internal_decisions_sent(), target);
332 }
333
334 // uint64 waiting_for_decision = 10;
335 if (this->_internal_waiting_for_decision() != 0) {
336 target = stream->EnsureSpace(target);
337 target = ::_pbi::WireFormatLite::WriteUInt64ToArray(
338 10, this->_internal_waiting_for_decision(), target);
339 }
340
341 // uint64 deciding_destination = 11;
342 if (this->_internal_deciding_destination() != 0) {
343 target = stream->EnsureSpace(target);
344 target = ::_pbi::WireFormatLite::WriteUInt64ToArray(
345 11, this->_internal_deciding_destination(), target);
346 }
347
348 // uint64 forwarding_decision = 12;
349 if (this->_internal_forwarding_decision() != 0) {
350 target = stream->EnsureSpace(target);
351 target = ::_pbi::WireFormatLite::WriteUInt64ToArray(
352 12, this->_internal_forwarding_decision(), target);
353 }
354
355 // uint64 waiting_for_token = 15;
356 if (this->_internal_waiting_for_token() != 0) {
357 target = stream->EnsureSpace(target);
358 target = ::_pbi::WireFormatLite::WriteUInt64ToArray(
359 15, this->_internal_waiting_for_token(), target);
360 }
361
362 // uint64 processing_token = 16;
363 if (this->_internal_processing_token() != 0) {
364 target = stream->EnsureSpace(target);
365 target = ::_pbi::WireFormatLite::WriteUInt64ToArray(
366 16, this->_internal_processing_token(), target);
367 }
368
369 if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
370 target =
371 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
372 _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
373 }
374 // @@protoc_insertion_point(serialize_to_array_end:dunedaq.dfmodules.opmon.DFOInfo)
375 return target;
376}
377
378::size_t DFOInfo::ByteSizeLong() const {
379// @@protoc_insertion_point(message_byte_size_start:dunedaq.dfmodules.opmon.DFOInfo)
380 ::size_t total_size = 0;
381
382 ::uint32_t cached_has_bits = 0;
383 // Prevent compiler warnings about cached_has_bits being unused
384 (void) cached_has_bits;
385
386 // uint64 tokens_received = 1;
387 if (this->_internal_tokens_received() != 0) {
388 total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(
390 }
391
392 // uint64 decisions_received = 2;
393 if (this->_internal_decisions_received() != 0) {
394 total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(
396 }
397
398 // uint64 decisions_sent = 3;
399 if (this->_internal_decisions_sent() != 0) {
400 total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(
402 }
403
404 // uint64 waiting_for_decision = 10;
405 if (this->_internal_waiting_for_decision() != 0) {
406 total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(
408 }
409
410 // uint64 deciding_destination = 11;
411 if (this->_internal_deciding_destination() != 0) {
412 total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(
414 }
415
416 // uint64 forwarding_decision = 12;
417 if (this->_internal_forwarding_decision() != 0) {
418 total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(
420 }
421
422 // uint64 waiting_for_token = 15;
423 if (this->_internal_waiting_for_token() != 0) {
424 total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(
426 }
427
428 // uint64 processing_token = 16;
429 if (this->_internal_processing_token() != 0) {
430 total_size += 2 + ::_pbi::WireFormatLite::UInt64Size(
432 }
433
434 return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
435}
436
437const ::google::protobuf::Message::ClassData DFOInfo::_class_data_ = {
438 ::google::protobuf::Message::CopyWithSourceCheck,
440};
441const ::google::protobuf::Message::ClassData*DFOInfo::GetClassData() const { return &_class_data_; }
442
443
444void DFOInfo::MergeImpl(::google::protobuf::Message& to_msg, const ::google::protobuf::Message& from_msg) {
445 auto* const _this = static_cast<DFOInfo*>(&to_msg);
446 auto& from = static_cast<const DFOInfo&>(from_msg);
447 // @@protoc_insertion_point(class_specific_merge_from_start:dunedaq.dfmodules.opmon.DFOInfo)
448 ABSL_DCHECK_NE(&from, _this);
449 ::uint32_t cached_has_bits = 0;
450 (void) cached_has_bits;
451
452 if (from._internal_tokens_received() != 0) {
453 _this->_internal_set_tokens_received(from._internal_tokens_received());
454 }
455 if (from._internal_decisions_received() != 0) {
456 _this->_internal_set_decisions_received(from._internal_decisions_received());
457 }
458 if (from._internal_decisions_sent() != 0) {
459 _this->_internal_set_decisions_sent(from._internal_decisions_sent());
460 }
461 if (from._internal_waiting_for_decision() != 0) {
462 _this->_internal_set_waiting_for_decision(from._internal_waiting_for_decision());
463 }
464 if (from._internal_deciding_destination() != 0) {
465 _this->_internal_set_deciding_destination(from._internal_deciding_destination());
466 }
467 if (from._internal_forwarding_decision() != 0) {
468 _this->_internal_set_forwarding_decision(from._internal_forwarding_decision());
469 }
470 if (from._internal_waiting_for_token() != 0) {
471 _this->_internal_set_waiting_for_token(from._internal_waiting_for_token());
472 }
473 if (from._internal_processing_token() != 0) {
474 _this->_internal_set_processing_token(from._internal_processing_token());
475 }
476 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
477}
478
479void DFOInfo::CopyFrom(const DFOInfo& from) {
480// @@protoc_insertion_point(class_specific_copy_from_start:dunedaq.dfmodules.opmon.DFOInfo)
481 if (&from == this) return;
482 Clear();
483 MergeFrom(from);
484}
485
486PROTOBUF_NOINLINE bool DFOInfo::IsInitialized() const {
487 return true;
488}
489
491 using std::swap;
492 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
493 ::google::protobuf::internal::memswap<
494 PROTOBUF_FIELD_OFFSET(DFOInfo, _impl_.processing_token_)
496 - PROTOBUF_FIELD_OFFSET(DFOInfo, _impl_.tokens_received_)>(
497 reinterpret_cast<char*>(&_impl_.tokens_received_),
498 reinterpret_cast<char*>(&other->_impl_.tokens_received_));
499}
500
506// ===================================================================
507
509 public:
510};
511
512TriggerInfo::TriggerInfo(::google::protobuf::Arena* arena)
513 : ::google::protobuf::Message(arena) {
514 SharedCtor(arena);
515 // @@protoc_insertion_point(arena_constructor:dunedaq.dfmodules.opmon.TriggerInfo)
516}
518 : ::google::protobuf::Message(), _impl_(from._impl_) {
519 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
520 from._internal_metadata_);
521 // @@protoc_insertion_point(copy_constructor:dunedaq.dfmodules.opmon.TriggerInfo)
522}
523inline void TriggerInfo::SharedCtor(::_pb::Arena* arena) {
524 (void)arena;
525 new (&_impl_) Impl_{
526 decltype(_impl_.received_){::uint64_t{0u}},
527 decltype(_impl_.completed_){::uint64_t{0u}},
528 /*decltype(_impl_._cached_size_)*/ {},
529 };
530}
532 // @@protoc_insertion_point(destructor:dunedaq.dfmodules.opmon.TriggerInfo)
533 _internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
534 SharedDtor();
535}
537 ABSL_DCHECK(GetArenaForAllocation() == nullptr);
538}
541}
542
543PROTOBUF_NOINLINE void TriggerInfo::Clear() {
544// @@protoc_insertion_point(message_clear_start:dunedaq.dfmodules.opmon.TriggerInfo)
545 ::uint32_t cached_has_bits = 0;
546 // Prevent compiler warnings about cached_has_bits being unused
547 (void) cached_has_bits;
548
549 ::memset(&_impl_.received_, 0, static_cast<::size_t>(
550 reinterpret_cast<char*>(&_impl_.completed_) -
551 reinterpret_cast<char*>(&_impl_.received_)) + sizeof(_impl_.completed_));
552 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
553}
554
556 const char* ptr, ::_pbi::ParseContext* ctx) {
557 ptr = ::_pbi::TcParser::ParseLoop(this, ptr, ctx, &_table_.header);
558 return ptr;
559}
560
561
562PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
563const ::_pbi::TcParseTable<1, 2, 0, 0, 2> TriggerInfo::_table_ = {
564 {
565 0, // no _has_bits_
566 0, // no _extensions_
567 2, 8, // max_field_number, fast_idx_mask
568 offsetof(decltype(_table_), field_lookup_table),
569 4294967292, // skipmap
570 offsetof(decltype(_table_), field_entries),
571 2, // num_field_entries
572 0, // num_aux_entries
573 offsetof(decltype(_table_), field_names), // no aux_entries
575 ::_pbi::TcParser::GenericFallback, // fallback
576 }, {{
577 // uint64 completed = 2;
578 {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(TriggerInfo, _impl_.completed_), 63>(),
579 {16, 63, 0, PROTOBUF_FIELD_OFFSET(TriggerInfo, _impl_.completed_)}},
580 // uint64 received = 1;
581 {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(TriggerInfo, _impl_.received_), 63>(),
582 {8, 63, 0, PROTOBUF_FIELD_OFFSET(TriggerInfo, _impl_.received_)}},
583 }}, {{
584 65535, 65535
585 }}, {{
586 // uint64 received = 1;
587 {PROTOBUF_FIELD_OFFSET(TriggerInfo, _impl_.received_), 0, 0,
588 (0 | ::_fl::kFcSingular | ::_fl::kUInt64)},
589 // uint64 completed = 2;
590 {PROTOBUF_FIELD_OFFSET(TriggerInfo, _impl_.completed_), 0, 0,
591 (0 | ::_fl::kFcSingular | ::_fl::kUInt64)},
592 }},
593 // no aux_entries
594 {{
595 }},
596};
597
599 ::uint8_t* target,
600 ::google::protobuf::io::EpsCopyOutputStream* stream) const {
601 // @@protoc_insertion_point(serialize_to_array_start:dunedaq.dfmodules.opmon.TriggerInfo)
602 ::uint32_t cached_has_bits = 0;
603 (void)cached_has_bits;
604
605 // uint64 received = 1;
606 if (this->_internal_received() != 0) {
607 target = stream->EnsureSpace(target);
608 target = ::_pbi::WireFormatLite::WriteUInt64ToArray(
609 1, this->_internal_received(), target);
610 }
611
612 // uint64 completed = 2;
613 if (this->_internal_completed() != 0) {
614 target = stream->EnsureSpace(target);
615 target = ::_pbi::WireFormatLite::WriteUInt64ToArray(
616 2, this->_internal_completed(), target);
617 }
618
619 if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
620 target =
621 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
622 _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
623 }
624 // @@protoc_insertion_point(serialize_to_array_end:dunedaq.dfmodules.opmon.TriggerInfo)
625 return target;
626}
627
629// @@protoc_insertion_point(message_byte_size_start:dunedaq.dfmodules.opmon.TriggerInfo)
630 ::size_t total_size = 0;
631
632 ::uint32_t cached_has_bits = 0;
633 // Prevent compiler warnings about cached_has_bits being unused
634 (void) cached_has_bits;
635
636 // uint64 received = 1;
637 if (this->_internal_received() != 0) {
638 total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(
639 this->_internal_received());
640 }
641
642 // uint64 completed = 2;
643 if (this->_internal_completed() != 0) {
644 total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(
645 this->_internal_completed());
646 }
647
648 return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
649}
650
651const ::google::protobuf::Message::ClassData TriggerInfo::_class_data_ = {
652 ::google::protobuf::Message::CopyWithSourceCheck,
654};
655const ::google::protobuf::Message::ClassData*TriggerInfo::GetClassData() const { return &_class_data_; }
656
657
658void TriggerInfo::MergeImpl(::google::protobuf::Message& to_msg, const ::google::protobuf::Message& from_msg) {
659 auto* const _this = static_cast<TriggerInfo*>(&to_msg);
660 auto& from = static_cast<const TriggerInfo&>(from_msg);
661 // @@protoc_insertion_point(class_specific_merge_from_start:dunedaq.dfmodules.opmon.TriggerInfo)
662 ABSL_DCHECK_NE(&from, _this);
663 ::uint32_t cached_has_bits = 0;
664 (void) cached_has_bits;
665
666 if (from._internal_received() != 0) {
667 _this->_internal_set_received(from._internal_received());
668 }
669 if (from._internal_completed() != 0) {
670 _this->_internal_set_completed(from._internal_completed());
671 }
672 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
673}
674
676// @@protoc_insertion_point(class_specific_copy_from_start:dunedaq.dfmodules.opmon.TriggerInfo)
677 if (&from == this) return;
678 Clear();
679 MergeFrom(from);
680}
681
682PROTOBUF_NOINLINE bool TriggerInfo::IsInitialized() const {
683 return true;
684}
685
687 using std::swap;
688 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
689 ::google::protobuf::internal::memswap<
690 PROTOBUF_FIELD_OFFSET(TriggerInfo, _impl_.completed_)
692 - PROTOBUF_FIELD_OFFSET(TriggerInfo, _impl_.received_)>(
693 reinterpret_cast<char*>(&_impl_.received_),
694 reinterpret_cast<char*>(&other->_impl_.received_));
695}
696
702// @@protoc_insertion_point(namespace_scope)
703} // namespace opmon
704} // namespace dfmodules
705} // namespace dunedaq
706namespace google {
707namespace protobuf {
708} // namespace protobuf
709} // namespace google
710// @@protoc_insertion_point(global_scope)
711#include "google/protobuf/port_undef.inc"
::absl::once_flag descriptor_table_dfmodules_2fopmon_2fDFOModule_2eproto_once
::_pb::Metadata file_level_metadata_dfmodules_2fopmon_2fDFOModule_2eproto[2]
const ::_pbi::DescriptorTable descriptor_table_dfmodules_2fopmon_2fDFOModule_2eproto
static constexprconst ::_pb::EnumDescriptor ** file_level_enum_descriptors_dfmodules_2fopmon_2fDFOModule_2eproto
static constexprconst ::_pb::ServiceDescriptor ** file_level_service_descriptors_dfmodules_2fopmon_2fDFOModule_2eproto
PROTOBUF_ATTRIBUTE_WEAKconst ::_pbi::DescriptorTable * descriptor_table_dfmodules_2fopmon_2fDFOModule_2eproto_getter()
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
::uint64_t _internal_tokens_received() const
const ::google::protobuf::Message::ClassData * GetClassData() const final
static const ::google::protobuf::internal::TcParseTable< 4, 8, 0, 0, 2 > _table_
::uint64_t _internal_decisions_sent() const
::uint8_t * _InternalSerialize(::uint8_t *target, ::google::protobuf::io::EpsCopyOutputStream *stream) const final
::uint64_t _internal_waiting_for_token() const
void MergeFrom(const DFOInfo &from)
::uint64_t _internal_forwarding_decision() const
void SharedCtor(::google::protobuf::Arena *arena)
static void MergeImpl(::google::protobuf::Message &to_msg, const ::google::protobuf::Message &from_msg)
::size_t ByteSizeLong() const final
static const ClassData _class_data_
::uint64_t _internal_deciding_destination() const
::uint64_t _internal_processing_token() const
::uint64_t _internal_waiting_for_decision() const
::google::protobuf::Metadata GetMetadata() const final
void SetCachedSize(int size) const final
::uint64_t _internal_decisions_received() const
const char * _InternalParse(const char *ptr, ::google::protobuf::internal::ParseContext *ctx) final
void CopyFrom(const DFOInfo &from)
::google::protobuf::Metadata GetMetadata() const final
void SharedCtor(::google::protobuf::Arena *arena)
const ::google::protobuf::Message::ClassData * GetClassData() const final
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
void CopyFrom(const TriggerInfo &from)
static const ::google::protobuf::internal::TcParseTable< 1, 2, 0, 0, 2 > _table_
const char * _InternalParse(const char *ptr, ::google::protobuf::internal::ParseContext *ctx) final
void MergeFrom(const TriggerInfo &from)
static void MergeImpl(::google::protobuf::Message &to_msg, const ::google::protobuf::Message &from_msg)
void InternalSwap(TriggerInfo *other)
::uint8_t * _InternalSerialize(::uint8_t *target, ::google::protobuf::io::EpsCopyOutputStream *stream) const final
void SetCachedSize(int size) const final
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 TriggerInfoDefaultTypeInternal _TriggerInfo_default_instance_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 DFOInfoDefaultTypeInternal _DFOInfo_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_
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