DUNE-DAQ
DUNE Trigger and Data Acquisition software
Loading...
Searching...
No Matches
DaphneControllerModule.pb.cc
Go to the documentation of this file.
1// Generated by the protocol buffer compiler. DO NOT EDIT!
2// source: daphnemodules/opmon/DaphneControllerModule.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 daphnemodules {
25namespace opmon {
26 template <typename>
27PROTOBUF_CONSTEXPR GeneralInfo::GeneralInfo(::_pbi::ConstantInitialized)
28 : _impl_{
29 /*decltype(_impl_.v_bias_0_)*/ 0,
30 /*decltype(_impl_.v_bias_1_)*/ 0,
31 /*decltype(_impl_.v_bias_2_)*/ 0,
32 /*decltype(_impl_.v_bias_3_)*/ 0,
33 /*decltype(_impl_.v_bias_4_)*/ 0,
34 /*decltype(_impl_.power_minus5v_)*/ 0,
35 /*decltype(_impl_.power_plus2p5v_)*/ 0,
36 /*decltype(_impl_.power_ce_)*/ 0,
37 /*decltype(_impl_.temperature_)*/ 0,
38 /*decltype(_impl_._cached_size_)*/ {},
39 } {}
41 PROTOBUF_CONSTEXPR GeneralInfoDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
43 union {
45 };
46};
47
48PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
50 template <typename>
51PROTOBUF_CONSTEXPR StreamInfo::StreamInfo(::_pbi::ConstantInitialized)
52 : _impl_{
53 /*decltype(_impl_.total_packets_)*/ ::uint64_t{0u},
54 /*decltype(_impl_.new_packets_)*/ ::uint64_t{0u},
55 /*decltype(_impl_.total_dropped_packets_)*/ ::uint64_t{0u},
56 /*decltype(_impl_.new_dropped_packets_)*/ ::uint64_t{0u},
57 /*decltype(_impl_._cached_size_)*/ {},
58 } {}
60 PROTOBUF_CONSTEXPR StreamInfoDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
62 union {
64 };
65};
66
67PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
69 template <typename>
70PROTOBUF_CONSTEXPR ChannelInfo::ChannelInfo(::_pbi::ConstantInitialized)
71 : _impl_{
72 /*decltype(_impl_.total_triggers_)*/ ::uint64_t{0u},
73 /*decltype(_impl_.new_triggers_)*/ ::uint64_t{0u},
74 /*decltype(_impl_.total_packets_)*/ ::uint64_t{0u},
75 /*decltype(_impl_.new_packets_)*/ ::uint64_t{0u},
76 /*decltype(_impl_._cached_size_)*/ {},
77 } {}
79 PROTOBUF_CONSTEXPR ChannelInfoDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
81 union {
83 };
84};
85
86PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
88} // namespace opmon
89} // namespace daphnemodules
90} // namespace dunedaq
92static constexpr const ::_pb::EnumDescriptor**
94static constexpr const ::_pb::ServiceDescriptor**
97 protodesc_cold) = {
98 ~0u, // no _has_bits_
99 PROTOBUF_FIELD_OFFSET(::dunedaq::daphnemodules::opmon::GeneralInfo, _internal_metadata_),
100 ~0u, // no _extensions_
101 ~0u, // no _oneof_case_
102 ~0u, // no _weak_field_map_
103 ~0u, // no _inlined_string_donated_
104 ~0u, // no _split_
105 ~0u, // no sizeof(Split)
106 PROTOBUF_FIELD_OFFSET(::dunedaq::daphnemodules::opmon::GeneralInfo, _impl_.v_bias_0_),
107 PROTOBUF_FIELD_OFFSET(::dunedaq::daphnemodules::opmon::GeneralInfo, _impl_.v_bias_1_),
108 PROTOBUF_FIELD_OFFSET(::dunedaq::daphnemodules::opmon::GeneralInfo, _impl_.v_bias_2_),
109 PROTOBUF_FIELD_OFFSET(::dunedaq::daphnemodules::opmon::GeneralInfo, _impl_.v_bias_3_),
110 PROTOBUF_FIELD_OFFSET(::dunedaq::daphnemodules::opmon::GeneralInfo, _impl_.v_bias_4_),
111 PROTOBUF_FIELD_OFFSET(::dunedaq::daphnemodules::opmon::GeneralInfo, _impl_.power_minus5v_),
112 PROTOBUF_FIELD_OFFSET(::dunedaq::daphnemodules::opmon::GeneralInfo, _impl_.power_plus2p5v_),
113 PROTOBUF_FIELD_OFFSET(::dunedaq::daphnemodules::opmon::GeneralInfo, _impl_.power_ce_),
114 PROTOBUF_FIELD_OFFSET(::dunedaq::daphnemodules::opmon::GeneralInfo, _impl_.temperature_),
115 ~0u, // no _has_bits_
116 PROTOBUF_FIELD_OFFSET(::dunedaq::daphnemodules::opmon::StreamInfo, _internal_metadata_),
117 ~0u, // no _extensions_
118 ~0u, // no _oneof_case_
119 ~0u, // no _weak_field_map_
120 ~0u, // no _inlined_string_donated_
121 ~0u, // no _split_
122 ~0u, // no sizeof(Split)
123 PROTOBUF_FIELD_OFFSET(::dunedaq::daphnemodules::opmon::StreamInfo, _impl_.total_packets_),
124 PROTOBUF_FIELD_OFFSET(::dunedaq::daphnemodules::opmon::StreamInfo, _impl_.new_packets_),
125 PROTOBUF_FIELD_OFFSET(::dunedaq::daphnemodules::opmon::StreamInfo, _impl_.total_dropped_packets_),
126 PROTOBUF_FIELD_OFFSET(::dunedaq::daphnemodules::opmon::StreamInfo, _impl_.new_dropped_packets_),
127 ~0u, // no _has_bits_
128 PROTOBUF_FIELD_OFFSET(::dunedaq::daphnemodules::opmon::ChannelInfo, _internal_metadata_),
129 ~0u, // no _extensions_
130 ~0u, // no _oneof_case_
131 ~0u, // no _weak_field_map_
132 ~0u, // no _inlined_string_donated_
133 ~0u, // no _split_
134 ~0u, // no sizeof(Split)
135 PROTOBUF_FIELD_OFFSET(::dunedaq::daphnemodules::opmon::ChannelInfo, _impl_.total_triggers_),
136 PROTOBUF_FIELD_OFFSET(::dunedaq::daphnemodules::opmon::ChannelInfo, _impl_.new_triggers_),
137 PROTOBUF_FIELD_OFFSET(::dunedaq::daphnemodules::opmon::ChannelInfo, _impl_.total_packets_),
138 PROTOBUF_FIELD_OFFSET(::dunedaq::daphnemodules::opmon::ChannelInfo, _impl_.new_packets_),
139};
140
141static const ::_pbi::MigrationSchema
142 schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = {
146};
147
153const char descriptor_table_protodef_daphnemodules_2fopmon_2fDaphneControllerModule_2eproto[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = {
154 "\n0daphnemodules/opmon/DaphneControllerMo"
155 "dule.proto\022\033dunedaq.daphnemodules.opmon\""
156 "\275\001\n\013GeneralInfo\022\020\n\010v_bias_0\030\001 \001(\001\022\020\n\010v_b"
157 "ias_1\030\002 \001(\001\022\020\n\010v_bias_2\030\003 \001(\001\022\020\n\010v_bias_"
158 "3\030\004 \001(\001\022\020\n\010v_bias_4\030\005 \001(\001\022\025\n\rpower_minus"
159 "5v\030\n \001(\001\022\026\n\016power_plus2p5v\030\013 \001(\001\022\020\n\010powe"
160 "r_ce\030\014 \001(\001\022\023\n\013temperature\030\017 \001(\001\"t\n\nStrea"
161 "mInfo\022\025\n\rtotal_packets\030\001 \001(\004\022\023\n\013new_pack"
162 "ets\030\002 \001(\004\022\035\n\025total_dropped_packets\030\003 \001(\004"
163 "\022\033\n\023new_dropped_packets\030\004 \001(\004\"g\n\013Channel"
164 "Info\022\026\n\016total_triggers\030\001 \001(\004\022\024\n\014new_trig"
165 "gers\030\002 \001(\004\022\025\n\rtotal_packets\030\005 \001(\004\022\023\n\013new"
166 "_packets\030\006 \001(\004b\006proto3"
167};
186
187// This function exists to be marked as weak.
188// It can significantly speed up compilation by breaking up LLVM's SCC
189// in the .pb.cc translation units. Large translation units see a
190// reduction of more than 35% of walltime for optimized builds. Without
191// the weak attribute all the messages in the file, including all the
192// vtables and everything they use become part of the same SCC through
193// a cycle like:
194// GetMetadata -> descriptor table -> default instances ->
195// vtables -> GetMetadata
196// By adding a weak function here we break the connection from the
197// individual vtables back into the descriptor table.
201// Force running AddDescriptors() at dynamic initialization time.
202PROTOBUF_ATTRIBUTE_INIT_PRIORITY2
203static ::_pbi::AddDescriptorsRunner dynamic_init_dummy_daphnemodules_2fopmon_2fDaphneControllerModule_2eproto(&descriptor_table_daphnemodules_2fopmon_2fDaphneControllerModule_2eproto);
204namespace dunedaq {
205namespace daphnemodules {
206namespace opmon {
207// ===================================================================
208
210 public:
211};
212
213GeneralInfo::GeneralInfo(::google::protobuf::Arena* arena)
214 : ::google::protobuf::Message(arena) {
215 SharedCtor(arena);
216 // @@protoc_insertion_point(arena_constructor:dunedaq.daphnemodules.opmon.GeneralInfo)
217}
219 : ::google::protobuf::Message(), _impl_(from._impl_) {
220 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
221 from._internal_metadata_);
222 // @@protoc_insertion_point(copy_constructor:dunedaq.daphnemodules.opmon.GeneralInfo)
223}
224inline void GeneralInfo::SharedCtor(::_pb::Arena* arena) {
225 (void)arena;
226 new (&_impl_) Impl_{
227 decltype(_impl_.v_bias_0_){0},
228 decltype(_impl_.v_bias_1_){0},
229 decltype(_impl_.v_bias_2_){0},
230 decltype(_impl_.v_bias_3_){0},
231 decltype(_impl_.v_bias_4_){0},
232 decltype(_impl_.power_minus5v_){0},
233 decltype(_impl_.power_plus2p5v_){0},
234 decltype(_impl_.power_ce_){0},
235 decltype(_impl_.temperature_){0},
236 /*decltype(_impl_._cached_size_)*/ {},
237 };
238}
240 // @@protoc_insertion_point(destructor:dunedaq.daphnemodules.opmon.GeneralInfo)
241 _internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
242 SharedDtor();
243}
245 ABSL_DCHECK(GetArenaForAllocation() == nullptr);
246}
249}
250
251PROTOBUF_NOINLINE void GeneralInfo::Clear() {
252// @@protoc_insertion_point(message_clear_start:dunedaq.daphnemodules.opmon.GeneralInfo)
253 ::uint32_t cached_has_bits = 0;
254 // Prevent compiler warnings about cached_has_bits being unused
255 (void) cached_has_bits;
256
257 ::memset(&_impl_.v_bias_0_, 0, static_cast<::size_t>(
258 reinterpret_cast<char*>(&_impl_.temperature_) -
259 reinterpret_cast<char*>(&_impl_.v_bias_0_)) + sizeof(_impl_.temperature_));
260 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
261}
262
264 const char* ptr, ::_pbi::ParseContext* ctx) {
265 ptr = ::_pbi::TcParser::ParseLoop(this, ptr, ctx, &_table_.header);
266 return ptr;
267}
268
269
270PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
271const ::_pbi::TcParseTable<4, 9, 0, 0, 2> GeneralInfo::_table_ = {
272 {
273 0, // no _has_bits_
274 0, // no _extensions_
275 15, 120, // max_field_number, fast_idx_mask
276 offsetof(decltype(_table_), field_lookup_table),
277 4294947296, // skipmap
278 offsetof(decltype(_table_), field_entries),
279 9, // num_field_entries
280 0, // num_aux_entries
281 offsetof(decltype(_table_), field_names), // no aux_entries
283 ::_pbi::TcParser::GenericFallback, // fallback
284 }, {{
285 {::_pbi::TcParser::MiniParse, {}},
286 // double v_bias_0 = 1;
287 {::_pbi::TcParser::FastF64S1,
288 {9, 63, 0, PROTOBUF_FIELD_OFFSET(GeneralInfo, _impl_.v_bias_0_)}},
289 // double v_bias_1 = 2;
290 {::_pbi::TcParser::FastF64S1,
291 {17, 63, 0, PROTOBUF_FIELD_OFFSET(GeneralInfo, _impl_.v_bias_1_)}},
292 // double v_bias_2 = 3;
293 {::_pbi::TcParser::FastF64S1,
294 {25, 63, 0, PROTOBUF_FIELD_OFFSET(GeneralInfo, _impl_.v_bias_2_)}},
295 // double v_bias_3 = 4;
296 {::_pbi::TcParser::FastF64S1,
297 {33, 63, 0, PROTOBUF_FIELD_OFFSET(GeneralInfo, _impl_.v_bias_3_)}},
298 // double v_bias_4 = 5;
299 {::_pbi::TcParser::FastF64S1,
300 {41, 63, 0, PROTOBUF_FIELD_OFFSET(GeneralInfo, _impl_.v_bias_4_)}},
301 {::_pbi::TcParser::MiniParse, {}},
302 {::_pbi::TcParser::MiniParse, {}},
303 {::_pbi::TcParser::MiniParse, {}},
304 {::_pbi::TcParser::MiniParse, {}},
305 // double power_minus5v = 10;
306 {::_pbi::TcParser::FastF64S1,
307 {81, 63, 0, PROTOBUF_FIELD_OFFSET(GeneralInfo, _impl_.power_minus5v_)}},
308 // double power_plus2p5v = 11;
309 {::_pbi::TcParser::FastF64S1,
310 {89, 63, 0, PROTOBUF_FIELD_OFFSET(GeneralInfo, _impl_.power_plus2p5v_)}},
311 // double power_ce = 12;
312 {::_pbi::TcParser::FastF64S1,
313 {97, 63, 0, PROTOBUF_FIELD_OFFSET(GeneralInfo, _impl_.power_ce_)}},
314 {::_pbi::TcParser::MiniParse, {}},
315 {::_pbi::TcParser::MiniParse, {}},
316 // double temperature = 15;
317 {::_pbi::TcParser::FastF64S1,
318 {121, 63, 0, PROTOBUF_FIELD_OFFSET(GeneralInfo, _impl_.temperature_)}},
319 }}, {{
320 65535, 65535
321 }}, {{
322 // double v_bias_0 = 1;
323 {PROTOBUF_FIELD_OFFSET(GeneralInfo, _impl_.v_bias_0_), 0, 0,
324 (0 | ::_fl::kFcSingular | ::_fl::kDouble)},
325 // double v_bias_1 = 2;
326 {PROTOBUF_FIELD_OFFSET(GeneralInfo, _impl_.v_bias_1_), 0, 0,
327 (0 | ::_fl::kFcSingular | ::_fl::kDouble)},
328 // double v_bias_2 = 3;
329 {PROTOBUF_FIELD_OFFSET(GeneralInfo, _impl_.v_bias_2_), 0, 0,
330 (0 | ::_fl::kFcSingular | ::_fl::kDouble)},
331 // double v_bias_3 = 4;
332 {PROTOBUF_FIELD_OFFSET(GeneralInfo, _impl_.v_bias_3_), 0, 0,
333 (0 | ::_fl::kFcSingular | ::_fl::kDouble)},
334 // double v_bias_4 = 5;
335 {PROTOBUF_FIELD_OFFSET(GeneralInfo, _impl_.v_bias_4_), 0, 0,
336 (0 | ::_fl::kFcSingular | ::_fl::kDouble)},
337 // double power_minus5v = 10;
338 {PROTOBUF_FIELD_OFFSET(GeneralInfo, _impl_.power_minus5v_), 0, 0,
339 (0 | ::_fl::kFcSingular | ::_fl::kDouble)},
340 // double power_plus2p5v = 11;
341 {PROTOBUF_FIELD_OFFSET(GeneralInfo, _impl_.power_plus2p5v_), 0, 0,
342 (0 | ::_fl::kFcSingular | ::_fl::kDouble)},
343 // double power_ce = 12;
344 {PROTOBUF_FIELD_OFFSET(GeneralInfo, _impl_.power_ce_), 0, 0,
345 (0 | ::_fl::kFcSingular | ::_fl::kDouble)},
346 // double temperature = 15;
347 {PROTOBUF_FIELD_OFFSET(GeneralInfo, _impl_.temperature_), 0, 0,
348 (0 | ::_fl::kFcSingular | ::_fl::kDouble)},
349 }},
350 // no aux_entries
351 {{
352 }},
353};
354
356 ::uint8_t* target,
357 ::google::protobuf::io::EpsCopyOutputStream* stream) const {
358 // @@protoc_insertion_point(serialize_to_array_start:dunedaq.daphnemodules.opmon.GeneralInfo)
359 ::uint32_t cached_has_bits = 0;
360 (void)cached_has_bits;
361
362 // double v_bias_0 = 1;
363 static_assert(sizeof(::uint64_t) == sizeof(double),
364 "Code assumes ::uint64_t and double are the same size.");
365 double tmp_v_bias_0 = this->_internal_v_bias_0();
366 ::uint64_t raw_v_bias_0;
367 memcpy(&raw_v_bias_0, &tmp_v_bias_0, sizeof(tmp_v_bias_0));
368 if (raw_v_bias_0 != 0) {
369 target = stream->EnsureSpace(target);
370 target = ::_pbi::WireFormatLite::WriteDoubleToArray(
371 1, this->_internal_v_bias_0(), target);
372 }
373
374 // double v_bias_1 = 2;
375 static_assert(sizeof(::uint64_t) == sizeof(double),
376 "Code assumes ::uint64_t and double are the same size.");
377 double tmp_v_bias_1 = this->_internal_v_bias_1();
378 ::uint64_t raw_v_bias_1;
379 memcpy(&raw_v_bias_1, &tmp_v_bias_1, sizeof(tmp_v_bias_1));
380 if (raw_v_bias_1 != 0) {
381 target = stream->EnsureSpace(target);
382 target = ::_pbi::WireFormatLite::WriteDoubleToArray(
383 2, this->_internal_v_bias_1(), target);
384 }
385
386 // double v_bias_2 = 3;
387 static_assert(sizeof(::uint64_t) == sizeof(double),
388 "Code assumes ::uint64_t and double are the same size.");
389 double tmp_v_bias_2 = this->_internal_v_bias_2();
390 ::uint64_t raw_v_bias_2;
391 memcpy(&raw_v_bias_2, &tmp_v_bias_2, sizeof(tmp_v_bias_2));
392 if (raw_v_bias_2 != 0) {
393 target = stream->EnsureSpace(target);
394 target = ::_pbi::WireFormatLite::WriteDoubleToArray(
395 3, this->_internal_v_bias_2(), target);
396 }
397
398 // double v_bias_3 = 4;
399 static_assert(sizeof(::uint64_t) == sizeof(double),
400 "Code assumes ::uint64_t and double are the same size.");
401 double tmp_v_bias_3 = this->_internal_v_bias_3();
402 ::uint64_t raw_v_bias_3;
403 memcpy(&raw_v_bias_3, &tmp_v_bias_3, sizeof(tmp_v_bias_3));
404 if (raw_v_bias_3 != 0) {
405 target = stream->EnsureSpace(target);
406 target = ::_pbi::WireFormatLite::WriteDoubleToArray(
407 4, this->_internal_v_bias_3(), target);
408 }
409
410 // double v_bias_4 = 5;
411 static_assert(sizeof(::uint64_t) == sizeof(double),
412 "Code assumes ::uint64_t and double are the same size.");
413 double tmp_v_bias_4 = this->_internal_v_bias_4();
414 ::uint64_t raw_v_bias_4;
415 memcpy(&raw_v_bias_4, &tmp_v_bias_4, sizeof(tmp_v_bias_4));
416 if (raw_v_bias_4 != 0) {
417 target = stream->EnsureSpace(target);
418 target = ::_pbi::WireFormatLite::WriteDoubleToArray(
419 5, this->_internal_v_bias_4(), target);
420 }
421
422 // double power_minus5v = 10;
423 static_assert(sizeof(::uint64_t) == sizeof(double),
424 "Code assumes ::uint64_t and double are the same size.");
425 double tmp_power_minus5v = this->_internal_power_minus5v();
426 ::uint64_t raw_power_minus5v;
427 memcpy(&raw_power_minus5v, &tmp_power_minus5v, sizeof(tmp_power_minus5v));
428 if (raw_power_minus5v != 0) {
429 target = stream->EnsureSpace(target);
430 target = ::_pbi::WireFormatLite::WriteDoubleToArray(
431 10, this->_internal_power_minus5v(), target);
432 }
433
434 // double power_plus2p5v = 11;
435 static_assert(sizeof(::uint64_t) == sizeof(double),
436 "Code assumes ::uint64_t and double are the same size.");
437 double tmp_power_plus2p5v = this->_internal_power_plus2p5v();
438 ::uint64_t raw_power_plus2p5v;
439 memcpy(&raw_power_plus2p5v, &tmp_power_plus2p5v, sizeof(tmp_power_plus2p5v));
440 if (raw_power_plus2p5v != 0) {
441 target = stream->EnsureSpace(target);
442 target = ::_pbi::WireFormatLite::WriteDoubleToArray(
443 11, this->_internal_power_plus2p5v(), target);
444 }
445
446 // double power_ce = 12;
447 static_assert(sizeof(::uint64_t) == sizeof(double),
448 "Code assumes ::uint64_t and double are the same size.");
449 double tmp_power_ce = this->_internal_power_ce();
450 ::uint64_t raw_power_ce;
451 memcpy(&raw_power_ce, &tmp_power_ce, sizeof(tmp_power_ce));
452 if (raw_power_ce != 0) {
453 target = stream->EnsureSpace(target);
454 target = ::_pbi::WireFormatLite::WriteDoubleToArray(
455 12, this->_internal_power_ce(), target);
456 }
457
458 // double temperature = 15;
459 static_assert(sizeof(::uint64_t) == sizeof(double),
460 "Code assumes ::uint64_t and double are the same size.");
461 double tmp_temperature = this->_internal_temperature();
462 ::uint64_t raw_temperature;
463 memcpy(&raw_temperature, &tmp_temperature, sizeof(tmp_temperature));
464 if (raw_temperature != 0) {
465 target = stream->EnsureSpace(target);
466 target = ::_pbi::WireFormatLite::WriteDoubleToArray(
467 15, this->_internal_temperature(), target);
468 }
469
470 if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
471 target =
472 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
473 _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
474 }
475 // @@protoc_insertion_point(serialize_to_array_end:dunedaq.daphnemodules.opmon.GeneralInfo)
476 return target;
477}
478
480// @@protoc_insertion_point(message_byte_size_start:dunedaq.daphnemodules.opmon.GeneralInfo)
481 ::size_t total_size = 0;
482
483 ::uint32_t cached_has_bits = 0;
484 // Prevent compiler warnings about cached_has_bits being unused
485 (void) cached_has_bits;
486
487 // double v_bias_0 = 1;
488 static_assert(sizeof(::uint64_t) == sizeof(double),
489 "Code assumes ::uint64_t and double are the same size.");
490 double tmp_v_bias_0 = this->_internal_v_bias_0();
491 ::uint64_t raw_v_bias_0;
492 memcpy(&raw_v_bias_0, &tmp_v_bias_0, sizeof(tmp_v_bias_0));
493 if (raw_v_bias_0 != 0) {
494 total_size += 9;
495 }
496
497 // double v_bias_1 = 2;
498 static_assert(sizeof(::uint64_t) == sizeof(double),
499 "Code assumes ::uint64_t and double are the same size.");
500 double tmp_v_bias_1 = this->_internal_v_bias_1();
501 ::uint64_t raw_v_bias_1;
502 memcpy(&raw_v_bias_1, &tmp_v_bias_1, sizeof(tmp_v_bias_1));
503 if (raw_v_bias_1 != 0) {
504 total_size += 9;
505 }
506
507 // double v_bias_2 = 3;
508 static_assert(sizeof(::uint64_t) == sizeof(double),
509 "Code assumes ::uint64_t and double are the same size.");
510 double tmp_v_bias_2 = this->_internal_v_bias_2();
511 ::uint64_t raw_v_bias_2;
512 memcpy(&raw_v_bias_2, &tmp_v_bias_2, sizeof(tmp_v_bias_2));
513 if (raw_v_bias_2 != 0) {
514 total_size += 9;
515 }
516
517 // double v_bias_3 = 4;
518 static_assert(sizeof(::uint64_t) == sizeof(double),
519 "Code assumes ::uint64_t and double are the same size.");
520 double tmp_v_bias_3 = this->_internal_v_bias_3();
521 ::uint64_t raw_v_bias_3;
522 memcpy(&raw_v_bias_3, &tmp_v_bias_3, sizeof(tmp_v_bias_3));
523 if (raw_v_bias_3 != 0) {
524 total_size += 9;
525 }
526
527 // double v_bias_4 = 5;
528 static_assert(sizeof(::uint64_t) == sizeof(double),
529 "Code assumes ::uint64_t and double are the same size.");
530 double tmp_v_bias_4 = this->_internal_v_bias_4();
531 ::uint64_t raw_v_bias_4;
532 memcpy(&raw_v_bias_4, &tmp_v_bias_4, sizeof(tmp_v_bias_4));
533 if (raw_v_bias_4 != 0) {
534 total_size += 9;
535 }
536
537 // double power_minus5v = 10;
538 static_assert(sizeof(::uint64_t) == sizeof(double),
539 "Code assumes ::uint64_t and double are the same size.");
540 double tmp_power_minus5v = this->_internal_power_minus5v();
541 ::uint64_t raw_power_minus5v;
542 memcpy(&raw_power_minus5v, &tmp_power_minus5v, sizeof(tmp_power_minus5v));
543 if (raw_power_minus5v != 0) {
544 total_size += 9;
545 }
546
547 // double power_plus2p5v = 11;
548 static_assert(sizeof(::uint64_t) == sizeof(double),
549 "Code assumes ::uint64_t and double are the same size.");
550 double tmp_power_plus2p5v = this->_internal_power_plus2p5v();
551 ::uint64_t raw_power_plus2p5v;
552 memcpy(&raw_power_plus2p5v, &tmp_power_plus2p5v, sizeof(tmp_power_plus2p5v));
553 if (raw_power_plus2p5v != 0) {
554 total_size += 9;
555 }
556
557 // double power_ce = 12;
558 static_assert(sizeof(::uint64_t) == sizeof(double),
559 "Code assumes ::uint64_t and double are the same size.");
560 double tmp_power_ce = this->_internal_power_ce();
561 ::uint64_t raw_power_ce;
562 memcpy(&raw_power_ce, &tmp_power_ce, sizeof(tmp_power_ce));
563 if (raw_power_ce != 0) {
564 total_size += 9;
565 }
566
567 // double temperature = 15;
568 static_assert(sizeof(::uint64_t) == sizeof(double),
569 "Code assumes ::uint64_t and double are the same size.");
570 double tmp_temperature = this->_internal_temperature();
571 ::uint64_t raw_temperature;
572 memcpy(&raw_temperature, &tmp_temperature, sizeof(tmp_temperature));
573 if (raw_temperature != 0) {
574 total_size += 9;
575 }
576
577 return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
578}
579
580const ::google::protobuf::Message::ClassData GeneralInfo::_class_data_ = {
581 ::google::protobuf::Message::CopyWithSourceCheck,
583};
584const ::google::protobuf::Message::ClassData*GeneralInfo::GetClassData() const { return &_class_data_; }
585
586
587void GeneralInfo::MergeImpl(::google::protobuf::Message& to_msg, const ::google::protobuf::Message& from_msg) {
588 auto* const _this = static_cast<GeneralInfo*>(&to_msg);
589 auto& from = static_cast<const GeneralInfo&>(from_msg);
590 // @@protoc_insertion_point(class_specific_merge_from_start:dunedaq.daphnemodules.opmon.GeneralInfo)
591 ABSL_DCHECK_NE(&from, _this);
592 ::uint32_t cached_has_bits = 0;
593 (void) cached_has_bits;
594
595 static_assert(sizeof(::uint64_t) == sizeof(double),
596 "Code assumes ::uint64_t and double are the same size.");
597 double tmp_v_bias_0 = from._internal_v_bias_0();
598 ::uint64_t raw_v_bias_0;
599 memcpy(&raw_v_bias_0, &tmp_v_bias_0, sizeof(tmp_v_bias_0));
600 if (raw_v_bias_0 != 0) {
601 _this->_internal_set_v_bias_0(from._internal_v_bias_0());
602 }
603 static_assert(sizeof(::uint64_t) == sizeof(double),
604 "Code assumes ::uint64_t and double are the same size.");
605 double tmp_v_bias_1 = from._internal_v_bias_1();
606 ::uint64_t raw_v_bias_1;
607 memcpy(&raw_v_bias_1, &tmp_v_bias_1, sizeof(tmp_v_bias_1));
608 if (raw_v_bias_1 != 0) {
609 _this->_internal_set_v_bias_1(from._internal_v_bias_1());
610 }
611 static_assert(sizeof(::uint64_t) == sizeof(double),
612 "Code assumes ::uint64_t and double are the same size.");
613 double tmp_v_bias_2 = from._internal_v_bias_2();
614 ::uint64_t raw_v_bias_2;
615 memcpy(&raw_v_bias_2, &tmp_v_bias_2, sizeof(tmp_v_bias_2));
616 if (raw_v_bias_2 != 0) {
617 _this->_internal_set_v_bias_2(from._internal_v_bias_2());
618 }
619 static_assert(sizeof(::uint64_t) == sizeof(double),
620 "Code assumes ::uint64_t and double are the same size.");
621 double tmp_v_bias_3 = from._internal_v_bias_3();
622 ::uint64_t raw_v_bias_3;
623 memcpy(&raw_v_bias_3, &tmp_v_bias_3, sizeof(tmp_v_bias_3));
624 if (raw_v_bias_3 != 0) {
625 _this->_internal_set_v_bias_3(from._internal_v_bias_3());
626 }
627 static_assert(sizeof(::uint64_t) == sizeof(double),
628 "Code assumes ::uint64_t and double are the same size.");
629 double tmp_v_bias_4 = from._internal_v_bias_4();
630 ::uint64_t raw_v_bias_4;
631 memcpy(&raw_v_bias_4, &tmp_v_bias_4, sizeof(tmp_v_bias_4));
632 if (raw_v_bias_4 != 0) {
633 _this->_internal_set_v_bias_4(from._internal_v_bias_4());
634 }
635 static_assert(sizeof(::uint64_t) == sizeof(double),
636 "Code assumes ::uint64_t and double are the same size.");
637 double tmp_power_minus5v = from._internal_power_minus5v();
638 ::uint64_t raw_power_minus5v;
639 memcpy(&raw_power_minus5v, &tmp_power_minus5v, sizeof(tmp_power_minus5v));
640 if (raw_power_minus5v != 0) {
641 _this->_internal_set_power_minus5v(from._internal_power_minus5v());
642 }
643 static_assert(sizeof(::uint64_t) == sizeof(double),
644 "Code assumes ::uint64_t and double are the same size.");
645 double tmp_power_plus2p5v = from._internal_power_plus2p5v();
646 ::uint64_t raw_power_plus2p5v;
647 memcpy(&raw_power_plus2p5v, &tmp_power_plus2p5v, sizeof(tmp_power_plus2p5v));
648 if (raw_power_plus2p5v != 0) {
649 _this->_internal_set_power_plus2p5v(from._internal_power_plus2p5v());
650 }
651 static_assert(sizeof(::uint64_t) == sizeof(double),
652 "Code assumes ::uint64_t and double are the same size.");
653 double tmp_power_ce = from._internal_power_ce();
654 ::uint64_t raw_power_ce;
655 memcpy(&raw_power_ce, &tmp_power_ce, sizeof(tmp_power_ce));
656 if (raw_power_ce != 0) {
657 _this->_internal_set_power_ce(from._internal_power_ce());
658 }
659 static_assert(sizeof(::uint64_t) == sizeof(double),
660 "Code assumes ::uint64_t and double are the same size.");
661 double tmp_temperature = from._internal_temperature();
662 ::uint64_t raw_temperature;
663 memcpy(&raw_temperature, &tmp_temperature, sizeof(tmp_temperature));
664 if (raw_temperature != 0) {
665 _this->_internal_set_temperature(from._internal_temperature());
666 }
667 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
668}
669
671// @@protoc_insertion_point(class_specific_copy_from_start:dunedaq.daphnemodules.opmon.GeneralInfo)
672 if (&from == this) return;
673 Clear();
674 MergeFrom(from);
675}
676
677PROTOBUF_NOINLINE bool GeneralInfo::IsInitialized() const {
678 return true;
679}
680
682 using std::swap;
683 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
684 ::google::protobuf::internal::memswap<
685 PROTOBUF_FIELD_OFFSET(GeneralInfo, _impl_.temperature_)
687 - PROTOBUF_FIELD_OFFSET(GeneralInfo, _impl_.v_bias_0_)>(
688 reinterpret_cast<char*>(&_impl_.v_bias_0_),
689 reinterpret_cast<char*>(&other->_impl_.v_bias_0_));
690}
691
697// ===================================================================
698
700 public:
701};
702
703StreamInfo::StreamInfo(::google::protobuf::Arena* arena)
704 : ::google::protobuf::Message(arena) {
705 SharedCtor(arena);
706 // @@protoc_insertion_point(arena_constructor:dunedaq.daphnemodules.opmon.StreamInfo)
707}
709 : ::google::protobuf::Message(), _impl_(from._impl_) {
710 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
711 from._internal_metadata_);
712 // @@protoc_insertion_point(copy_constructor:dunedaq.daphnemodules.opmon.StreamInfo)
713}
714inline void StreamInfo::SharedCtor(::_pb::Arena* arena) {
715 (void)arena;
716 new (&_impl_) Impl_{
717 decltype(_impl_.total_packets_){::uint64_t{0u}},
718 decltype(_impl_.new_packets_){::uint64_t{0u}},
719 decltype(_impl_.total_dropped_packets_){::uint64_t{0u}},
720 decltype(_impl_.new_dropped_packets_){::uint64_t{0u}},
721 /*decltype(_impl_._cached_size_)*/ {},
722 };
723}
725 // @@protoc_insertion_point(destructor:dunedaq.daphnemodules.opmon.StreamInfo)
726 _internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
727 SharedDtor();
728}
730 ABSL_DCHECK(GetArenaForAllocation() == nullptr);
731}
734}
735
736PROTOBUF_NOINLINE void StreamInfo::Clear() {
737// @@protoc_insertion_point(message_clear_start:dunedaq.daphnemodules.opmon.StreamInfo)
738 ::uint32_t cached_has_bits = 0;
739 // Prevent compiler warnings about cached_has_bits being unused
740 (void) cached_has_bits;
741
742 ::memset(&_impl_.total_packets_, 0, static_cast<::size_t>(
743 reinterpret_cast<char*>(&_impl_.new_dropped_packets_) -
744 reinterpret_cast<char*>(&_impl_.total_packets_)) + sizeof(_impl_.new_dropped_packets_));
745 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
746}
747
749 const char* ptr, ::_pbi::ParseContext* ctx) {
750 ptr = ::_pbi::TcParser::ParseLoop(this, ptr, ctx, &_table_.header);
751 return ptr;
752}
753
754
755PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
756const ::_pbi::TcParseTable<2, 4, 0, 0, 2> StreamInfo::_table_ = {
757 {
758 0, // no _has_bits_
759 0, // no _extensions_
760 4, 24, // max_field_number, fast_idx_mask
761 offsetof(decltype(_table_), field_lookup_table),
762 4294967280, // skipmap
763 offsetof(decltype(_table_), field_entries),
764 4, // num_field_entries
765 0, // num_aux_entries
766 offsetof(decltype(_table_), field_names), // no aux_entries
768 ::_pbi::TcParser::GenericFallback, // fallback
769 }, {{
770 // uint64 new_dropped_packets = 4;
771 {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(StreamInfo, _impl_.new_dropped_packets_), 63>(),
772 {32, 63, 0, PROTOBUF_FIELD_OFFSET(StreamInfo, _impl_.new_dropped_packets_)}},
773 // uint64 total_packets = 1;
774 {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(StreamInfo, _impl_.total_packets_), 63>(),
775 {8, 63, 0, PROTOBUF_FIELD_OFFSET(StreamInfo, _impl_.total_packets_)}},
776 // uint64 new_packets = 2;
777 {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(StreamInfo, _impl_.new_packets_), 63>(),
778 {16, 63, 0, PROTOBUF_FIELD_OFFSET(StreamInfo, _impl_.new_packets_)}},
779 // uint64 total_dropped_packets = 3;
780 {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(StreamInfo, _impl_.total_dropped_packets_), 63>(),
781 {24, 63, 0, PROTOBUF_FIELD_OFFSET(StreamInfo, _impl_.total_dropped_packets_)}},
782 }}, {{
783 65535, 65535
784 }}, {{
785 // uint64 total_packets = 1;
786 {PROTOBUF_FIELD_OFFSET(StreamInfo, _impl_.total_packets_), 0, 0,
787 (0 | ::_fl::kFcSingular | ::_fl::kUInt64)},
788 // uint64 new_packets = 2;
789 {PROTOBUF_FIELD_OFFSET(StreamInfo, _impl_.new_packets_), 0, 0,
790 (0 | ::_fl::kFcSingular | ::_fl::kUInt64)},
791 // uint64 total_dropped_packets = 3;
792 {PROTOBUF_FIELD_OFFSET(StreamInfo, _impl_.total_dropped_packets_), 0, 0,
793 (0 | ::_fl::kFcSingular | ::_fl::kUInt64)},
794 // uint64 new_dropped_packets = 4;
795 {PROTOBUF_FIELD_OFFSET(StreamInfo, _impl_.new_dropped_packets_), 0, 0,
796 (0 | ::_fl::kFcSingular | ::_fl::kUInt64)},
797 }},
798 // no aux_entries
799 {{
800 }},
801};
802
804 ::uint8_t* target,
805 ::google::protobuf::io::EpsCopyOutputStream* stream) const {
806 // @@protoc_insertion_point(serialize_to_array_start:dunedaq.daphnemodules.opmon.StreamInfo)
807 ::uint32_t cached_has_bits = 0;
808 (void)cached_has_bits;
809
810 // uint64 total_packets = 1;
811 if (this->_internal_total_packets() != 0) {
812 target = stream->EnsureSpace(target);
813 target = ::_pbi::WireFormatLite::WriteUInt64ToArray(
814 1, this->_internal_total_packets(), target);
815 }
816
817 // uint64 new_packets = 2;
818 if (this->_internal_new_packets() != 0) {
819 target = stream->EnsureSpace(target);
820 target = ::_pbi::WireFormatLite::WriteUInt64ToArray(
821 2, this->_internal_new_packets(), target);
822 }
823
824 // uint64 total_dropped_packets = 3;
825 if (this->_internal_total_dropped_packets() != 0) {
826 target = stream->EnsureSpace(target);
827 target = ::_pbi::WireFormatLite::WriteUInt64ToArray(
828 3, this->_internal_total_dropped_packets(), target);
829 }
830
831 // uint64 new_dropped_packets = 4;
832 if (this->_internal_new_dropped_packets() != 0) {
833 target = stream->EnsureSpace(target);
834 target = ::_pbi::WireFormatLite::WriteUInt64ToArray(
835 4, this->_internal_new_dropped_packets(), target);
836 }
837
838 if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
839 target =
840 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
841 _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
842 }
843 // @@protoc_insertion_point(serialize_to_array_end:dunedaq.daphnemodules.opmon.StreamInfo)
844 return target;
845}
846
847::size_t StreamInfo::ByteSizeLong() const {
848// @@protoc_insertion_point(message_byte_size_start:dunedaq.daphnemodules.opmon.StreamInfo)
849 ::size_t total_size = 0;
850
851 ::uint32_t cached_has_bits = 0;
852 // Prevent compiler warnings about cached_has_bits being unused
853 (void) cached_has_bits;
854
855 // uint64 total_packets = 1;
856 if (this->_internal_total_packets() != 0) {
857 total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(
859 }
860
861 // uint64 new_packets = 2;
862 if (this->_internal_new_packets() != 0) {
863 total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(
864 this->_internal_new_packets());
865 }
866
867 // uint64 total_dropped_packets = 3;
868 if (this->_internal_total_dropped_packets() != 0) {
869 total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(
871 }
872
873 // uint64 new_dropped_packets = 4;
874 if (this->_internal_new_dropped_packets() != 0) {
875 total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(
877 }
878
879 return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
880}
881
882const ::google::protobuf::Message::ClassData StreamInfo::_class_data_ = {
883 ::google::protobuf::Message::CopyWithSourceCheck,
885};
886const ::google::protobuf::Message::ClassData*StreamInfo::GetClassData() const { return &_class_data_; }
887
888
889void StreamInfo::MergeImpl(::google::protobuf::Message& to_msg, const ::google::protobuf::Message& from_msg) {
890 auto* const _this = static_cast<StreamInfo*>(&to_msg);
891 auto& from = static_cast<const StreamInfo&>(from_msg);
892 // @@protoc_insertion_point(class_specific_merge_from_start:dunedaq.daphnemodules.opmon.StreamInfo)
893 ABSL_DCHECK_NE(&from, _this);
894 ::uint32_t cached_has_bits = 0;
895 (void) cached_has_bits;
896
897 if (from._internal_total_packets() != 0) {
898 _this->_internal_set_total_packets(from._internal_total_packets());
899 }
900 if (from._internal_new_packets() != 0) {
901 _this->_internal_set_new_packets(from._internal_new_packets());
902 }
903 if (from._internal_total_dropped_packets() != 0) {
904 _this->_internal_set_total_dropped_packets(from._internal_total_dropped_packets());
905 }
906 if (from._internal_new_dropped_packets() != 0) {
907 _this->_internal_set_new_dropped_packets(from._internal_new_dropped_packets());
908 }
909 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
910}
911
913// @@protoc_insertion_point(class_specific_copy_from_start:dunedaq.daphnemodules.opmon.StreamInfo)
914 if (&from == this) return;
915 Clear();
916 MergeFrom(from);
917}
918
919PROTOBUF_NOINLINE bool StreamInfo::IsInitialized() const {
920 return true;
921}
922
924 using std::swap;
925 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
926 ::google::protobuf::internal::memswap<
927 PROTOBUF_FIELD_OFFSET(StreamInfo, _impl_.new_dropped_packets_)
929 - PROTOBUF_FIELD_OFFSET(StreamInfo, _impl_.total_packets_)>(
930 reinterpret_cast<char*>(&_impl_.total_packets_),
931 reinterpret_cast<char*>(&other->_impl_.total_packets_));
932}
933
939// ===================================================================
940
942 public:
943};
944
945ChannelInfo::ChannelInfo(::google::protobuf::Arena* arena)
946 : ::google::protobuf::Message(arena) {
947 SharedCtor(arena);
948 // @@protoc_insertion_point(arena_constructor:dunedaq.daphnemodules.opmon.ChannelInfo)
949}
951 : ::google::protobuf::Message(), _impl_(from._impl_) {
952 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
953 from._internal_metadata_);
954 // @@protoc_insertion_point(copy_constructor:dunedaq.daphnemodules.opmon.ChannelInfo)
955}
956inline void ChannelInfo::SharedCtor(::_pb::Arena* arena) {
957 (void)arena;
958 new (&_impl_) Impl_{
959 decltype(_impl_.total_triggers_){::uint64_t{0u}},
960 decltype(_impl_.new_triggers_){::uint64_t{0u}},
961 decltype(_impl_.total_packets_){::uint64_t{0u}},
962 decltype(_impl_.new_packets_){::uint64_t{0u}},
963 /*decltype(_impl_._cached_size_)*/ {},
964 };
965}
967 // @@protoc_insertion_point(destructor:dunedaq.daphnemodules.opmon.ChannelInfo)
968 _internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
969 SharedDtor();
970}
972 ABSL_DCHECK(GetArenaForAllocation() == nullptr);
973}
976}
977
978PROTOBUF_NOINLINE void ChannelInfo::Clear() {
979// @@protoc_insertion_point(message_clear_start:dunedaq.daphnemodules.opmon.ChannelInfo)
980 ::uint32_t cached_has_bits = 0;
981 // Prevent compiler warnings about cached_has_bits being unused
982 (void) cached_has_bits;
983
984 ::memset(&_impl_.total_triggers_, 0, static_cast<::size_t>(
985 reinterpret_cast<char*>(&_impl_.new_packets_) -
986 reinterpret_cast<char*>(&_impl_.total_triggers_)) + sizeof(_impl_.new_packets_));
987 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
988}
989
991 const char* ptr, ::_pbi::ParseContext* ctx) {
992 ptr = ::_pbi::TcParser::ParseLoop(this, ptr, ctx, &_table_.header);
993 return ptr;
994}
995
996
997PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
998const ::_pbi::TcParseTable<3, 4, 0, 0, 2> ChannelInfo::_table_ = {
999 {
1000 0, // no _has_bits_
1001 0, // no _extensions_
1002 6, 56, // max_field_number, fast_idx_mask
1003 offsetof(decltype(_table_), field_lookup_table),
1004 4294967244, // skipmap
1005 offsetof(decltype(_table_), field_entries),
1006 4, // num_field_entries
1007 0, // num_aux_entries
1008 offsetof(decltype(_table_), field_names), // no aux_entries
1010 ::_pbi::TcParser::GenericFallback, // fallback
1011 }, {{
1012 {::_pbi::TcParser::MiniParse, {}},
1013 // uint64 total_triggers = 1;
1014 {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(ChannelInfo, _impl_.total_triggers_), 63>(),
1015 {8, 63, 0, PROTOBUF_FIELD_OFFSET(ChannelInfo, _impl_.total_triggers_)}},
1016 // uint64 new_triggers = 2;
1017 {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(ChannelInfo, _impl_.new_triggers_), 63>(),
1018 {16, 63, 0, PROTOBUF_FIELD_OFFSET(ChannelInfo, _impl_.new_triggers_)}},
1019 {::_pbi::TcParser::MiniParse, {}},
1020 {::_pbi::TcParser::MiniParse, {}},
1021 // uint64 total_packets = 5;
1022 {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(ChannelInfo, _impl_.total_packets_), 63>(),
1023 {40, 63, 0, PROTOBUF_FIELD_OFFSET(ChannelInfo, _impl_.total_packets_)}},
1024 // uint64 new_packets = 6;
1025 {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(ChannelInfo, _impl_.new_packets_), 63>(),
1026 {48, 63, 0, PROTOBUF_FIELD_OFFSET(ChannelInfo, _impl_.new_packets_)}},
1027 {::_pbi::TcParser::MiniParse, {}},
1028 }}, {{
1029 65535, 65535
1030 }}, {{
1031 // uint64 total_triggers = 1;
1032 {PROTOBUF_FIELD_OFFSET(ChannelInfo, _impl_.total_triggers_), 0, 0,
1033 (0 | ::_fl::kFcSingular | ::_fl::kUInt64)},
1034 // uint64 new_triggers = 2;
1035 {PROTOBUF_FIELD_OFFSET(ChannelInfo, _impl_.new_triggers_), 0, 0,
1036 (0 | ::_fl::kFcSingular | ::_fl::kUInt64)},
1037 // uint64 total_packets = 5;
1038 {PROTOBUF_FIELD_OFFSET(ChannelInfo, _impl_.total_packets_), 0, 0,
1039 (0 | ::_fl::kFcSingular | ::_fl::kUInt64)},
1040 // uint64 new_packets = 6;
1041 {PROTOBUF_FIELD_OFFSET(ChannelInfo, _impl_.new_packets_), 0, 0,
1042 (0 | ::_fl::kFcSingular | ::_fl::kUInt64)},
1043 }},
1044 // no aux_entries
1045 {{
1046 }},
1047};
1048
1050 ::uint8_t* target,
1051 ::google::protobuf::io::EpsCopyOutputStream* stream) const {
1052 // @@protoc_insertion_point(serialize_to_array_start:dunedaq.daphnemodules.opmon.ChannelInfo)
1053 ::uint32_t cached_has_bits = 0;
1054 (void)cached_has_bits;
1055
1056 // uint64 total_triggers = 1;
1057 if (this->_internal_total_triggers() != 0) {
1058 target = stream->EnsureSpace(target);
1059 target = ::_pbi::WireFormatLite::WriteUInt64ToArray(
1060 1, this->_internal_total_triggers(), target);
1061 }
1062
1063 // uint64 new_triggers = 2;
1064 if (this->_internal_new_triggers() != 0) {
1065 target = stream->EnsureSpace(target);
1066 target = ::_pbi::WireFormatLite::WriteUInt64ToArray(
1067 2, this->_internal_new_triggers(), target);
1068 }
1069
1070 // uint64 total_packets = 5;
1071 if (this->_internal_total_packets() != 0) {
1072 target = stream->EnsureSpace(target);
1073 target = ::_pbi::WireFormatLite::WriteUInt64ToArray(
1074 5, this->_internal_total_packets(), target);
1075 }
1076
1077 // uint64 new_packets = 6;
1078 if (this->_internal_new_packets() != 0) {
1079 target = stream->EnsureSpace(target);
1080 target = ::_pbi::WireFormatLite::WriteUInt64ToArray(
1081 6, this->_internal_new_packets(), target);
1082 }
1083
1084 if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
1085 target =
1086 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
1087 _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
1088 }
1089 // @@protoc_insertion_point(serialize_to_array_end:dunedaq.daphnemodules.opmon.ChannelInfo)
1090 return target;
1091}
1092
1094// @@protoc_insertion_point(message_byte_size_start:dunedaq.daphnemodules.opmon.ChannelInfo)
1095 ::size_t total_size = 0;
1096
1097 ::uint32_t cached_has_bits = 0;
1098 // Prevent compiler warnings about cached_has_bits being unused
1099 (void) cached_has_bits;
1100
1101 // uint64 total_triggers = 1;
1102 if (this->_internal_total_triggers() != 0) {
1103 total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(
1104 this->_internal_total_triggers());
1105 }
1106
1107 // uint64 new_triggers = 2;
1108 if (this->_internal_new_triggers() != 0) {
1109 total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(
1110 this->_internal_new_triggers());
1111 }
1112
1113 // uint64 total_packets = 5;
1114 if (this->_internal_total_packets() != 0) {
1115 total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(
1116 this->_internal_total_packets());
1117 }
1118
1119 // uint64 new_packets = 6;
1120 if (this->_internal_new_packets() != 0) {
1121 total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(
1122 this->_internal_new_packets());
1123 }
1124
1125 return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
1126}
1127
1128const ::google::protobuf::Message::ClassData ChannelInfo::_class_data_ = {
1129 ::google::protobuf::Message::CopyWithSourceCheck,
1131};
1132const ::google::protobuf::Message::ClassData*ChannelInfo::GetClassData() const { return &_class_data_; }
1133
1134
1135void ChannelInfo::MergeImpl(::google::protobuf::Message& to_msg, const ::google::protobuf::Message& from_msg) {
1136 auto* const _this = static_cast<ChannelInfo*>(&to_msg);
1137 auto& from = static_cast<const ChannelInfo&>(from_msg);
1138 // @@protoc_insertion_point(class_specific_merge_from_start:dunedaq.daphnemodules.opmon.ChannelInfo)
1139 ABSL_DCHECK_NE(&from, _this);
1140 ::uint32_t cached_has_bits = 0;
1141 (void) cached_has_bits;
1142
1143 if (from._internal_total_triggers() != 0) {
1144 _this->_internal_set_total_triggers(from._internal_total_triggers());
1145 }
1146 if (from._internal_new_triggers() != 0) {
1147 _this->_internal_set_new_triggers(from._internal_new_triggers());
1148 }
1149 if (from._internal_total_packets() != 0) {
1150 _this->_internal_set_total_packets(from._internal_total_packets());
1151 }
1152 if (from._internal_new_packets() != 0) {
1153 _this->_internal_set_new_packets(from._internal_new_packets());
1154 }
1155 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
1156}
1157
1159// @@protoc_insertion_point(class_specific_copy_from_start:dunedaq.daphnemodules.opmon.ChannelInfo)
1160 if (&from == this) return;
1161 Clear();
1162 MergeFrom(from);
1163}
1164
1165PROTOBUF_NOINLINE bool ChannelInfo::IsInitialized() const {
1166 return true;
1167}
1168
1170 using std::swap;
1171 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
1172 ::google::protobuf::internal::memswap<
1173 PROTOBUF_FIELD_OFFSET(ChannelInfo, _impl_.new_packets_)
1175 - PROTOBUF_FIELD_OFFSET(ChannelInfo, _impl_.total_triggers_)>(
1176 reinterpret_cast<char*>(&_impl_.total_triggers_),
1177 reinterpret_cast<char*>(&other->_impl_.total_triggers_));
1178}
1179
1185// @@protoc_insertion_point(namespace_scope)
1186} // namespace opmon
1187} // namespace daphnemodules
1188} // namespace dunedaq
1189namespace google {
1190namespace protobuf {
1191} // namespace protobuf
1192} // namespace google
1193// @@protoc_insertion_point(global_scope)
1194#include "google/protobuf/port_undef.inc"
const ::_pbi::DescriptorTable descriptor_table_daphnemodules_2fopmon_2fDaphneControllerModule_2eproto
static constexprconst ::_pb::ServiceDescriptor ** file_level_service_descriptors_daphnemodules_2fopmon_2fDaphneControllerModule_2eproto
::absl::once_flag descriptor_table_daphnemodules_2fopmon_2fDaphneControllerModule_2eproto_once
PROTOBUF_ATTRIBUTE_WEAKconst ::_pbi::DescriptorTable * descriptor_table_daphnemodules_2fopmon_2fDaphneControllerModule_2eproto_getter()
static constexprconst ::_pb::EnumDescriptor ** file_level_enum_descriptors_daphnemodules_2fopmon_2fDaphneControllerModule_2eproto
::_pb::Metadata file_level_metadata_daphnemodules_2fopmon_2fDaphneControllerModule_2eproto[3]
static void MergeImpl(::google::protobuf::Message &to_msg, const ::google::protobuf::Message &from_msg)
const ::google::protobuf::Message::ClassData * GetClassData() const final
static const ::google::protobuf::internal::TcParseTable< 3, 4, 0, 0, 2 > _table_
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
void SharedCtor(::google::protobuf::Arena *arena)
::uint8_t * _InternalSerialize(::uint8_t *target, ::google::protobuf::io::EpsCopyOutputStream *stream) const final
::google::protobuf::Metadata GetMetadata() const final
const char * _InternalParse(const char *ptr, ::google::protobuf::internal::ParseContext *ctx) final
static void MergeImpl(::google::protobuf::Message &to_msg, const ::google::protobuf::Message &from_msg)
void SharedCtor(::google::protobuf::Arena *arena)
::uint8_t * _InternalSerialize(::uint8_t *target, ::google::protobuf::io::EpsCopyOutputStream *stream) const final
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
::google::protobuf::Metadata GetMetadata() const final
const char * _InternalParse(const char *ptr, ::google::protobuf::internal::ParseContext *ctx) final
static const ::google::protobuf::internal::TcParseTable< 4, 9, 0, 0, 2 > _table_
const ::google::protobuf::Message::ClassData * GetClassData() const final
const ::google::protobuf::Message::ClassData * GetClassData() const final
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
::google::protobuf::Metadata GetMetadata() const final
void SharedCtor(::google::protobuf::Arena *arena)
static void MergeImpl(::google::protobuf::Message &to_msg, const ::google::protobuf::Message &from_msg)
const char * _InternalParse(const char *ptr, ::google::protobuf::internal::ParseContext *ctx) final
static const ::google::protobuf::internal::TcParseTable< 2, 4, 0, 0, 2 > _table_
::uint8_t * _InternalSerialize(::uint8_t *target, ::google::protobuf::io::EpsCopyOutputStream *stream) const final
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ChannelInfoDefaultTypeInternal _ChannelInfo_default_instance_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 GeneralInfoDefaultTypeInternal _GeneralInfo_default_instance_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 StreamInfoDefaultTypeInternal _StreamInfo_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