DUNE-DAQ
DUNE Trigger and Data Acquisition software
Loading...
Searching...
No Matches
tcprocessor_info.pb.cc
Go to the documentation of this file.
1// Generated by the protocol buffer compiler. DO NOT EDIT!
2// source: trigger/opmon/tcprocessor_info.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 trigger {
25namespace opmon {
26 template <typename>
27PROTOBUF_CONSTEXPR TCProcessorInfo::TCProcessorInfo(::_pbi::ConstantInitialized)
28 : _impl_{
29 /*decltype(_impl_.tds_created_count_)*/ 0u,
30 /*decltype(_impl_.tds_sent_count_)*/ 0u,
31 /*decltype(_impl_.tds_dropped_count_)*/ 0u,
32 /*decltype(_impl_.tds_failed_bitword_count_)*/ 0u,
33 /*decltype(_impl_.tds_cleared_count_)*/ 0u,
34 /*decltype(_impl_.tc_received_count_)*/ 0u,
35 /*decltype(_impl_.tc_ignored_count_)*/ 0u,
36 /*decltype(_impl_.tds_created_tc_count_)*/ 0u,
37 /*decltype(_impl_.tds_sent_tc_count_)*/ 0u,
38 /*decltype(_impl_.tds_dropped_tc_count_)*/ 0u,
39 /*decltype(_impl_.tds_failed_bitword_tc_count_)*/ 0u,
40 /*decltype(_impl_.tds_cleared_tc_count_)*/ 0u,
41 /*decltype(_impl_._cached_size_)*/ {},
42 } {}
44 PROTOBUF_CONSTEXPR TCProcessorInfoDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
46 union {
48 };
49};
50
51PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
53} // namespace opmon
54} // namespace trigger
55} // namespace dunedaq
57static constexpr const ::_pb::EnumDescriptor**
59static constexpr const ::_pb::ServiceDescriptor**
62 protodesc_cold) = {
63 ~0u, // no _has_bits_
64 PROTOBUF_FIELD_OFFSET(::dunedaq::trigger::opmon::TCProcessorInfo, _internal_metadata_),
65 ~0u, // no _extensions_
66 ~0u, // no _oneof_case_
67 ~0u, // no _weak_field_map_
68 ~0u, // no _inlined_string_donated_
69 ~0u, // no _split_
70 ~0u, // no sizeof(Split)
71 PROTOBUF_FIELD_OFFSET(::dunedaq::trigger::opmon::TCProcessorInfo, _impl_.tds_created_count_),
72 PROTOBUF_FIELD_OFFSET(::dunedaq::trigger::opmon::TCProcessorInfo, _impl_.tds_sent_count_),
73 PROTOBUF_FIELD_OFFSET(::dunedaq::trigger::opmon::TCProcessorInfo, _impl_.tds_dropped_count_),
74 PROTOBUF_FIELD_OFFSET(::dunedaq::trigger::opmon::TCProcessorInfo, _impl_.tds_failed_bitword_count_),
75 PROTOBUF_FIELD_OFFSET(::dunedaq::trigger::opmon::TCProcessorInfo, _impl_.tds_cleared_count_),
76 PROTOBUF_FIELD_OFFSET(::dunedaq::trigger::opmon::TCProcessorInfo, _impl_.tc_received_count_),
77 PROTOBUF_FIELD_OFFSET(::dunedaq::trigger::opmon::TCProcessorInfo, _impl_.tc_ignored_count_),
78 PROTOBUF_FIELD_OFFSET(::dunedaq::trigger::opmon::TCProcessorInfo, _impl_.tds_created_tc_count_),
79 PROTOBUF_FIELD_OFFSET(::dunedaq::trigger::opmon::TCProcessorInfo, _impl_.tds_sent_tc_count_),
80 PROTOBUF_FIELD_OFFSET(::dunedaq::trigger::opmon::TCProcessorInfo, _impl_.tds_dropped_tc_count_),
81 PROTOBUF_FIELD_OFFSET(::dunedaq::trigger::opmon::TCProcessorInfo, _impl_.tds_failed_bitword_tc_count_),
82 PROTOBUF_FIELD_OFFSET(::dunedaq::trigger::opmon::TCProcessorInfo, _impl_.tds_cleared_tc_count_),
83};
84
85static const ::_pbi::MigrationSchema
86 schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = {
88};
89
93const char descriptor_table_protodef_trigger_2fopmon_2ftcprocessor_5finfo_2eproto[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = {
94 "\n$trigger/opmon/tcprocessor_info.proto\022\025"
95 "dunedaq.trigger.opmon\"\353\002\n\017TCProcessorInf"
96 "o\022\031\n\021tds_created_count\030\001 \001(\r\022\026\n\016tds_sent"
97 "_count\030\002 \001(\r\022\031\n\021tds_dropped_count\030\003 \001(\r\022"
98 " \n\030tds_failed_bitword_count\030\004 \001(\r\022\031\n\021tds"
99 "_cleared_count\030\005 \001(\r\022\031\n\021tc_received_coun"
100 "t\030\n \001(\r\022\030\n\020tc_ignored_count\030\013 \001(\r\022\034\n\024tds"
101 "_created_tc_count\030\025 \001(\r\022\031\n\021tds_sent_tc_c"
102 "ount\030\026 \001(\r\022\034\n\024tds_dropped_tc_count\030\027 \001(\r"
103 "\022#\n\033tds_failed_bitword_tc_count\030\030 \001(\r\022\034\n"
104 "\024tds_cleared_tc_count\030\031 \001(\rb\006proto3"
105};
124
125// This function exists to be marked as weak.
126// It can significantly speed up compilation by breaking up LLVM's SCC
127// in the .pb.cc translation units. Large translation units see a
128// reduction of more than 35% of walltime for optimized builds. Without
129// the weak attribute all the messages in the file, including all the
130// vtables and everything they use become part of the same SCC through
131// a cycle like:
132// GetMetadata -> descriptor table -> default instances ->
133// vtables -> GetMetadata
134// By adding a weak function here we break the connection from the
135// individual vtables back into the descriptor table.
139// Force running AddDescriptors() at dynamic initialization time.
140PROTOBUF_ATTRIBUTE_INIT_PRIORITY2
141static ::_pbi::AddDescriptorsRunner dynamic_init_dummy_trigger_2fopmon_2ftcprocessor_5finfo_2eproto(&descriptor_table_trigger_2fopmon_2ftcprocessor_5finfo_2eproto);
142namespace dunedaq {
143namespace trigger {
144namespace opmon {
145// ===================================================================
146
148 public:
149};
150
151TCProcessorInfo::TCProcessorInfo(::google::protobuf::Arena* arena)
152 : ::google::protobuf::Message(arena) {
153 SharedCtor(arena);
154 // @@protoc_insertion_point(arena_constructor:dunedaq.trigger.opmon.TCProcessorInfo)
155}
157 : ::google::protobuf::Message(), _impl_(from._impl_) {
158 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
159 from._internal_metadata_);
160 // @@protoc_insertion_point(copy_constructor:dunedaq.trigger.opmon.TCProcessorInfo)
161}
162inline void TCProcessorInfo::SharedCtor(::_pb::Arena* arena) {
163 (void)arena;
164 new (&_impl_) Impl_{
165 decltype(_impl_.tds_created_count_){0u},
166 decltype(_impl_.tds_sent_count_){0u},
167 decltype(_impl_.tds_dropped_count_){0u},
168 decltype(_impl_.tds_failed_bitword_count_){0u},
169 decltype(_impl_.tds_cleared_count_){0u},
170 decltype(_impl_.tc_received_count_){0u},
171 decltype(_impl_.tc_ignored_count_){0u},
172 decltype(_impl_.tds_created_tc_count_){0u},
173 decltype(_impl_.tds_sent_tc_count_){0u},
174 decltype(_impl_.tds_dropped_tc_count_){0u},
176 decltype(_impl_.tds_cleared_tc_count_){0u},
177 /*decltype(_impl_._cached_size_)*/ {},
178 };
179}
181 // @@protoc_insertion_point(destructor:dunedaq.trigger.opmon.TCProcessorInfo)
182 _internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
183 SharedDtor();
184}
186 ABSL_DCHECK(GetArenaForAllocation() == nullptr);
187}
191
192PROTOBUF_NOINLINE void TCProcessorInfo::Clear() {
193// @@protoc_insertion_point(message_clear_start:dunedaq.trigger.opmon.TCProcessorInfo)
194 ::uint32_t cached_has_bits = 0;
195 // Prevent compiler warnings about cached_has_bits being unused
196 (void) cached_has_bits;
197
198 ::memset(&_impl_.tds_created_count_, 0, static_cast<::size_t>(
199 reinterpret_cast<char*>(&_impl_.tds_cleared_tc_count_) -
200 reinterpret_cast<char*>(&_impl_.tds_created_count_)) + sizeof(_impl_.tds_cleared_tc_count_));
201 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
202}
203
205 const char* ptr, ::_pbi::ParseContext* ctx) {
206 ptr = ::_pbi::TcParser::ParseLoop(this, ptr, ctx, &_table_.header);
207 return ptr;
208}
209
210
211PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
212const ::_pbi::TcParseTable<4, 12, 0, 0, 2> TCProcessorInfo::_table_ = {
213 {
214 0, // no _has_bits_
215 0, // no _extensions_
216 25, 120, // max_field_number, fast_idx_mask
217 offsetof(decltype(_table_), field_lookup_table),
218 4262459872, // skipmap
219 offsetof(decltype(_table_), field_entries),
220 12, // num_field_entries
221 0, // num_aux_entries
222 offsetof(decltype(_table_), field_names), // no aux_entries
224 ::_pbi::TcParser::GenericFallback, // fallback
225 }, {{
226 {::_pbi::TcParser::MiniParse, {}},
227 // uint32 tds_created_count = 1;
228 {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(TCProcessorInfo, _impl_.tds_created_count_), 63>(),
229 {8, 63, 0, PROTOBUF_FIELD_OFFSET(TCProcessorInfo, _impl_.tds_created_count_)}},
230 // uint32 tds_sent_count = 2;
231 {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(TCProcessorInfo, _impl_.tds_sent_count_), 63>(),
232 {16, 63, 0, PROTOBUF_FIELD_OFFSET(TCProcessorInfo, _impl_.tds_sent_count_)}},
233 // uint32 tds_dropped_count = 3;
234 {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(TCProcessorInfo, _impl_.tds_dropped_count_), 63>(),
235 {24, 63, 0, PROTOBUF_FIELD_OFFSET(TCProcessorInfo, _impl_.tds_dropped_count_)}},
236 // uint32 tds_failed_bitword_count = 4;
237 {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(TCProcessorInfo, _impl_.tds_failed_bitword_count_), 63>(),
238 {32, 63, 0, PROTOBUF_FIELD_OFFSET(TCProcessorInfo, _impl_.tds_failed_bitword_count_)}},
239 // uint32 tds_cleared_count = 5;
240 {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(TCProcessorInfo, _impl_.tds_cleared_count_), 63>(),
241 {40, 63, 0, PROTOBUF_FIELD_OFFSET(TCProcessorInfo, _impl_.tds_cleared_count_)}},
242 // uint32 tds_sent_tc_count = 22;
243 {::_pbi::TcParser::FastV32S2,
244 {432, 63, 0, PROTOBUF_FIELD_OFFSET(TCProcessorInfo, _impl_.tds_sent_tc_count_)}},
245 // uint32 tds_dropped_tc_count = 23;
246 {::_pbi::TcParser::FastV32S2,
247 {440, 63, 0, PROTOBUF_FIELD_OFFSET(TCProcessorInfo, _impl_.tds_dropped_tc_count_)}},
248 // uint32 tds_failed_bitword_tc_count = 24;
249 {::_pbi::TcParser::FastV32S2,
250 {448, 63, 0, PROTOBUF_FIELD_OFFSET(TCProcessorInfo, _impl_.tds_failed_bitword_tc_count_)}},
251 // uint32 tds_cleared_tc_count = 25;
252 {::_pbi::TcParser::FastV32S2,
253 {456, 63, 0, PROTOBUF_FIELD_OFFSET(TCProcessorInfo, _impl_.tds_cleared_tc_count_)}},
254 // uint32 tc_received_count = 10;
255 {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(TCProcessorInfo, _impl_.tc_received_count_), 63>(),
256 {80, 63, 0, PROTOBUF_FIELD_OFFSET(TCProcessorInfo, _impl_.tc_received_count_)}},
257 // uint32 tc_ignored_count = 11;
258 {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(TCProcessorInfo, _impl_.tc_ignored_count_), 63>(),
259 {88, 63, 0, PROTOBUF_FIELD_OFFSET(TCProcessorInfo, _impl_.tc_ignored_count_)}},
260 {::_pbi::TcParser::MiniParse, {}},
261 {::_pbi::TcParser::MiniParse, {}},
262 {::_pbi::TcParser::MiniParse, {}},
263 {::_pbi::TcParser::MiniParse, {}},
264 }}, {{
265 65535, 65535
266 }}, {{
267 // uint32 tds_created_count = 1;
268 {PROTOBUF_FIELD_OFFSET(TCProcessorInfo, _impl_.tds_created_count_), 0, 0,
269 (0 | ::_fl::kFcSingular | ::_fl::kUInt32)},
270 // uint32 tds_sent_count = 2;
271 {PROTOBUF_FIELD_OFFSET(TCProcessorInfo, _impl_.tds_sent_count_), 0, 0,
272 (0 | ::_fl::kFcSingular | ::_fl::kUInt32)},
273 // uint32 tds_dropped_count = 3;
274 {PROTOBUF_FIELD_OFFSET(TCProcessorInfo, _impl_.tds_dropped_count_), 0, 0,
275 (0 | ::_fl::kFcSingular | ::_fl::kUInt32)},
276 // uint32 tds_failed_bitword_count = 4;
277 {PROTOBUF_FIELD_OFFSET(TCProcessorInfo, _impl_.tds_failed_bitword_count_), 0, 0,
278 (0 | ::_fl::kFcSingular | ::_fl::kUInt32)},
279 // uint32 tds_cleared_count = 5;
280 {PROTOBUF_FIELD_OFFSET(TCProcessorInfo, _impl_.tds_cleared_count_), 0, 0,
281 (0 | ::_fl::kFcSingular | ::_fl::kUInt32)},
282 // uint32 tc_received_count = 10;
283 {PROTOBUF_FIELD_OFFSET(TCProcessorInfo, _impl_.tc_received_count_), 0, 0,
284 (0 | ::_fl::kFcSingular | ::_fl::kUInt32)},
285 // uint32 tc_ignored_count = 11;
286 {PROTOBUF_FIELD_OFFSET(TCProcessorInfo, _impl_.tc_ignored_count_), 0, 0,
287 (0 | ::_fl::kFcSingular | ::_fl::kUInt32)},
288 // uint32 tds_created_tc_count = 21;
289 {PROTOBUF_FIELD_OFFSET(TCProcessorInfo, _impl_.tds_created_tc_count_), 0, 0,
290 (0 | ::_fl::kFcSingular | ::_fl::kUInt32)},
291 // uint32 tds_sent_tc_count = 22;
292 {PROTOBUF_FIELD_OFFSET(TCProcessorInfo, _impl_.tds_sent_tc_count_), 0, 0,
293 (0 | ::_fl::kFcSingular | ::_fl::kUInt32)},
294 // uint32 tds_dropped_tc_count = 23;
295 {PROTOBUF_FIELD_OFFSET(TCProcessorInfo, _impl_.tds_dropped_tc_count_), 0, 0,
296 (0 | ::_fl::kFcSingular | ::_fl::kUInt32)},
297 // uint32 tds_failed_bitword_tc_count = 24;
298 {PROTOBUF_FIELD_OFFSET(TCProcessorInfo, _impl_.tds_failed_bitword_tc_count_), 0, 0,
299 (0 | ::_fl::kFcSingular | ::_fl::kUInt32)},
300 // uint32 tds_cleared_tc_count = 25;
301 {PROTOBUF_FIELD_OFFSET(TCProcessorInfo, _impl_.tds_cleared_tc_count_), 0, 0,
302 (0 | ::_fl::kFcSingular | ::_fl::kUInt32)},
303 }},
304 // no aux_entries
305 {{
306 }},
307};
308
310 ::uint8_t* target,
311 ::google::protobuf::io::EpsCopyOutputStream* stream) const {
312 // @@protoc_insertion_point(serialize_to_array_start:dunedaq.trigger.opmon.TCProcessorInfo)
313 ::uint32_t cached_has_bits = 0;
314 (void)cached_has_bits;
315
316 // uint32 tds_created_count = 1;
317 if (this->_internal_tds_created_count() != 0) {
318 target = stream->EnsureSpace(target);
319 target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
320 1, this->_internal_tds_created_count(), target);
321 }
322
323 // uint32 tds_sent_count = 2;
324 if (this->_internal_tds_sent_count() != 0) {
325 target = stream->EnsureSpace(target);
326 target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
327 2, this->_internal_tds_sent_count(), target);
328 }
329
330 // uint32 tds_dropped_count = 3;
331 if (this->_internal_tds_dropped_count() != 0) {
332 target = stream->EnsureSpace(target);
333 target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
334 3, this->_internal_tds_dropped_count(), target);
335 }
336
337 // uint32 tds_failed_bitword_count = 4;
338 if (this->_internal_tds_failed_bitword_count() != 0) {
339 target = stream->EnsureSpace(target);
340 target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
341 4, this->_internal_tds_failed_bitword_count(), target);
342 }
343
344 // uint32 tds_cleared_count = 5;
345 if (this->_internal_tds_cleared_count() != 0) {
346 target = stream->EnsureSpace(target);
347 target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
348 5, this->_internal_tds_cleared_count(), target);
349 }
350
351 // uint32 tc_received_count = 10;
352 if (this->_internal_tc_received_count() != 0) {
353 target = stream->EnsureSpace(target);
354 target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
355 10, this->_internal_tc_received_count(), target);
356 }
357
358 // uint32 tc_ignored_count = 11;
359 if (this->_internal_tc_ignored_count() != 0) {
360 target = stream->EnsureSpace(target);
361 target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
362 11, this->_internal_tc_ignored_count(), target);
363 }
364
365 // uint32 tds_created_tc_count = 21;
366 if (this->_internal_tds_created_tc_count() != 0) {
367 target = stream->EnsureSpace(target);
368 target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
369 21, this->_internal_tds_created_tc_count(), target);
370 }
371
372 // uint32 tds_sent_tc_count = 22;
373 if (this->_internal_tds_sent_tc_count() != 0) {
374 target = stream->EnsureSpace(target);
375 target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
376 22, this->_internal_tds_sent_tc_count(), target);
377 }
378
379 // uint32 tds_dropped_tc_count = 23;
380 if (this->_internal_tds_dropped_tc_count() != 0) {
381 target = stream->EnsureSpace(target);
382 target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
383 23, this->_internal_tds_dropped_tc_count(), target);
384 }
385
386 // uint32 tds_failed_bitword_tc_count = 24;
387 if (this->_internal_tds_failed_bitword_tc_count() != 0) {
388 target = stream->EnsureSpace(target);
389 target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
390 24, this->_internal_tds_failed_bitword_tc_count(), target);
391 }
392
393 // uint32 tds_cleared_tc_count = 25;
394 if (this->_internal_tds_cleared_tc_count() != 0) {
395 target = stream->EnsureSpace(target);
396 target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
397 25, this->_internal_tds_cleared_tc_count(), target);
398 }
399
400 if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
401 target =
402 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
403 _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
404 }
405 // @@protoc_insertion_point(serialize_to_array_end:dunedaq.trigger.opmon.TCProcessorInfo)
406 return target;
407}
408
410// @@protoc_insertion_point(message_byte_size_start:dunedaq.trigger.opmon.TCProcessorInfo)
411 ::size_t total_size = 0;
412
413 ::uint32_t cached_has_bits = 0;
414 // Prevent compiler warnings about cached_has_bits being unused
415 (void) cached_has_bits;
416
417 // uint32 tds_created_count = 1;
418 if (this->_internal_tds_created_count() != 0) {
419 total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
421 }
422
423 // uint32 tds_sent_count = 2;
424 if (this->_internal_tds_sent_count() != 0) {
425 total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
427 }
428
429 // uint32 tds_dropped_count = 3;
430 if (this->_internal_tds_dropped_count() != 0) {
431 total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
433 }
434
435 // uint32 tds_failed_bitword_count = 4;
436 if (this->_internal_tds_failed_bitword_count() != 0) {
437 total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
439 }
440
441 // uint32 tds_cleared_count = 5;
442 if (this->_internal_tds_cleared_count() != 0) {
443 total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
445 }
446
447 // uint32 tc_received_count = 10;
448 if (this->_internal_tc_received_count() != 0) {
449 total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
451 }
452
453 // uint32 tc_ignored_count = 11;
454 if (this->_internal_tc_ignored_count() != 0) {
455 total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
457 }
458
459 // uint32 tds_created_tc_count = 21;
460 if (this->_internal_tds_created_tc_count() != 0) {
461 total_size += 2 + ::_pbi::WireFormatLite::UInt32Size(
463 }
464
465 // uint32 tds_sent_tc_count = 22;
466 if (this->_internal_tds_sent_tc_count() != 0) {
467 total_size += 2 + ::_pbi::WireFormatLite::UInt32Size(
469 }
470
471 // uint32 tds_dropped_tc_count = 23;
472 if (this->_internal_tds_dropped_tc_count() != 0) {
473 total_size += 2 + ::_pbi::WireFormatLite::UInt32Size(
475 }
476
477 // uint32 tds_failed_bitword_tc_count = 24;
478 if (this->_internal_tds_failed_bitword_tc_count() != 0) {
479 total_size += 2 + ::_pbi::WireFormatLite::UInt32Size(
481 }
482
483 // uint32 tds_cleared_tc_count = 25;
484 if (this->_internal_tds_cleared_tc_count() != 0) {
485 total_size += 2 + ::_pbi::WireFormatLite::UInt32Size(
487 }
488
489 return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
490}
491
492const ::google::protobuf::Message::ClassData TCProcessorInfo::_class_data_ = {
493 ::google::protobuf::Message::CopyWithSourceCheck,
495};
496const ::google::protobuf::Message::ClassData*TCProcessorInfo::GetClassData() const { return &_class_data_; }
497
498
499void TCProcessorInfo::MergeImpl(::google::protobuf::Message& to_msg, const ::google::protobuf::Message& from_msg) {
500 auto* const _this = static_cast<TCProcessorInfo*>(&to_msg);
501 auto& from = static_cast<const TCProcessorInfo&>(from_msg);
502 // @@protoc_insertion_point(class_specific_merge_from_start:dunedaq.trigger.opmon.TCProcessorInfo)
503 ABSL_DCHECK_NE(&from, _this);
504 ::uint32_t cached_has_bits = 0;
505 (void) cached_has_bits;
506
507 if (from._internal_tds_created_count() != 0) {
508 _this->_internal_set_tds_created_count(from._internal_tds_created_count());
509 }
510 if (from._internal_tds_sent_count() != 0) {
511 _this->_internal_set_tds_sent_count(from._internal_tds_sent_count());
512 }
513 if (from._internal_tds_dropped_count() != 0) {
514 _this->_internal_set_tds_dropped_count(from._internal_tds_dropped_count());
515 }
516 if (from._internal_tds_failed_bitword_count() != 0) {
517 _this->_internal_set_tds_failed_bitword_count(from._internal_tds_failed_bitword_count());
518 }
519 if (from._internal_tds_cleared_count() != 0) {
520 _this->_internal_set_tds_cleared_count(from._internal_tds_cleared_count());
521 }
522 if (from._internal_tc_received_count() != 0) {
523 _this->_internal_set_tc_received_count(from._internal_tc_received_count());
524 }
525 if (from._internal_tc_ignored_count() != 0) {
526 _this->_internal_set_tc_ignored_count(from._internal_tc_ignored_count());
527 }
528 if (from._internal_tds_created_tc_count() != 0) {
529 _this->_internal_set_tds_created_tc_count(from._internal_tds_created_tc_count());
530 }
531 if (from._internal_tds_sent_tc_count() != 0) {
532 _this->_internal_set_tds_sent_tc_count(from._internal_tds_sent_tc_count());
533 }
534 if (from._internal_tds_dropped_tc_count() != 0) {
535 _this->_internal_set_tds_dropped_tc_count(from._internal_tds_dropped_tc_count());
536 }
537 if (from._internal_tds_failed_bitword_tc_count() != 0) {
538 _this->_internal_set_tds_failed_bitword_tc_count(from._internal_tds_failed_bitword_tc_count());
539 }
540 if (from._internal_tds_cleared_tc_count() != 0) {
541 _this->_internal_set_tds_cleared_tc_count(from._internal_tds_cleared_tc_count());
542 }
543 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
544}
545
547// @@protoc_insertion_point(class_specific_copy_from_start:dunedaq.trigger.opmon.TCProcessorInfo)
548 if (&from == this) return;
549 Clear();
550 MergeFrom(from);
551}
552
553PROTOBUF_NOINLINE bool TCProcessorInfo::IsInitialized() const {
554 return true;
555}
556
558 using std::swap;
559 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
560 ::google::protobuf::internal::memswap<
561 PROTOBUF_FIELD_OFFSET(TCProcessorInfo, _impl_.tds_cleared_tc_count_)
563 - PROTOBUF_FIELD_OFFSET(TCProcessorInfo, _impl_.tds_created_count_)>(
564 reinterpret_cast<char*>(&_impl_.tds_created_count_),
565 reinterpret_cast<char*>(&other->_impl_.tds_created_count_));
566}
567
573// @@protoc_insertion_point(namespace_scope)
574} // namespace opmon
575} // namespace trigger
576} // namespace dunedaq
577namespace google {
578namespace protobuf {
579} // namespace protobuf
580} // namespace google
581// @@protoc_insertion_point(global_scope)
582#include "google/protobuf/port_undef.inc"
static void MergeImpl(::google::protobuf::Message &to_msg, const ::google::protobuf::Message &from_msg)
void CopyFrom(const TCProcessorInfo &from)
const ::google::protobuf::Message::ClassData * GetClassData() const final
const char * _InternalParse(const char *ptr, ::google::protobuf::internal::ParseContext *ctx) final
::google::protobuf::Metadata GetMetadata() const final
void SharedCtor(::google::protobuf::Arena *arena)
::uint8_t * _InternalSerialize(::uint8_t *target, ::google::protobuf::io::EpsCopyOutputStream *stream) const final
static const ::google::protobuf::internal::TcParseTable< 4, 12, 0, 0, 2 > _table_
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
void MergeFrom(const TCProcessorInfo &from)
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 TCProcessorInfoDefaultTypeInternal _TCProcessorInfo_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_
const ::_pbi::DescriptorTable descriptor_table_trigger_2fopmon_2ftcprocessor_5finfo_2eproto
static constexprconst ::_pb::EnumDescriptor ** file_level_enum_descriptors_trigger_2fopmon_2ftcprocessor_5finfo_2eproto
::absl::once_flag descriptor_table_trigger_2fopmon_2ftcprocessor_5finfo_2eproto_once
const ::uint32_t TableStruct_trigger_2fopmon_2ftcprocessor_5finfo_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold)
static constexprconst ::_pb::ServiceDescriptor ** file_level_service_descriptors_trigger_2fopmon_2ftcprocessor_5finfo_2eproto
::_pb::Metadata file_level_metadata_trigger_2fopmon_2ftcprocessor_5finfo_2eproto[1]
PROTOBUF_ATTRIBUTE_WEAKconst ::_pbi::DescriptorTable * descriptor_table_trigger_2fopmon_2ftcprocessor_5finfo_2eproto_getter()
static const ::_pb::Message *const file_default_instances[]