DUNE-DAQ
DUNE Trigger and Data Acquisition software
Loading...
Searching...
No Matches
TPStreamWriter.pb.cc
Go to the documentation of this file.
1// Generated by the protocol buffer compiler. DO NOT EDIT!
2// source: dfmodules/opmon/TPStreamWriter.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 TPStreamWriterInfo::TPStreamWriterInfo(::_pbi::ConstantInitialized)
28 : _impl_{
29 /*decltype(_impl_.heartbeat_tpsets_received_)*/ ::uint64_t{0u},
30 /*decltype(_impl_.tpsets_with_tps_received_)*/ ::uint64_t{0u},
31 /*decltype(_impl_.tps_received_)*/ ::uint64_t{0u},
32 /*decltype(_impl_.tps_written_)*/ ::uint64_t{0u},
33 /*decltype(_impl_.tps_discarded_)*/ ::uint64_t{0u},
34 /*decltype(_impl_.total_tps_received_)*/ ::uint64_t{0u},
35 /*decltype(_impl_.total_tps_written_)*/ ::uint64_t{0u},
36 /*decltype(_impl_.total_tps_discarded_)*/ ::uint64_t{0u},
37 /*decltype(_impl_.tardy_timeslice_max_seconds_)*/ ::uint64_t{0u},
38 /*decltype(_impl_.timeslices_written_)*/ ::uint64_t{0u},
39 /*decltype(_impl_.bytes_output_)*/ ::uint64_t{0u},
40 /*decltype(_impl_._cached_size_)*/ {},
41 } {}
43 PROTOBUF_CONSTEXPR TPStreamWriterInfoDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
45 union {
47 };
48};
49
50PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
52} // namespace opmon
53} // namespace dfmodules
54} // namespace dunedaq
56static constexpr const ::_pb::EnumDescriptor**
58static constexpr const ::_pb::ServiceDescriptor**
61 protodesc_cold) = {
62 ~0u, // no _has_bits_
63 PROTOBUF_FIELD_OFFSET(::dunedaq::dfmodules::opmon::TPStreamWriterInfo, _internal_metadata_),
64 ~0u, // no _extensions_
65 ~0u, // no _oneof_case_
66 ~0u, // no _weak_field_map_
67 ~0u, // no _inlined_string_donated_
68 ~0u, // no _split_
69 ~0u, // no sizeof(Split)
70 PROTOBUF_FIELD_OFFSET(::dunedaq::dfmodules::opmon::TPStreamWriterInfo, _impl_.heartbeat_tpsets_received_),
71 PROTOBUF_FIELD_OFFSET(::dunedaq::dfmodules::opmon::TPStreamWriterInfo, _impl_.tpsets_with_tps_received_),
72 PROTOBUF_FIELD_OFFSET(::dunedaq::dfmodules::opmon::TPStreamWriterInfo, _impl_.tps_received_),
73 PROTOBUF_FIELD_OFFSET(::dunedaq::dfmodules::opmon::TPStreamWriterInfo, _impl_.tps_written_),
74 PROTOBUF_FIELD_OFFSET(::dunedaq::dfmodules::opmon::TPStreamWriterInfo, _impl_.tps_discarded_),
75 PROTOBUF_FIELD_OFFSET(::dunedaq::dfmodules::opmon::TPStreamWriterInfo, _impl_.total_tps_received_),
76 PROTOBUF_FIELD_OFFSET(::dunedaq::dfmodules::opmon::TPStreamWriterInfo, _impl_.total_tps_written_),
77 PROTOBUF_FIELD_OFFSET(::dunedaq::dfmodules::opmon::TPStreamWriterInfo, _impl_.total_tps_discarded_),
78 PROTOBUF_FIELD_OFFSET(::dunedaq::dfmodules::opmon::TPStreamWriterInfo, _impl_.tardy_timeslice_max_seconds_),
79 PROTOBUF_FIELD_OFFSET(::dunedaq::dfmodules::opmon::TPStreamWriterInfo, _impl_.timeslices_written_),
80 PROTOBUF_FIELD_OFFSET(::dunedaq::dfmodules::opmon::TPStreamWriterInfo, _impl_.bytes_output_),
81};
82
83static const ::_pbi::MigrationSchema
84 schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = {
86};
87
91const char descriptor_table_protodef_dfmodules_2fopmon_2fTPStreamWriter_2eproto[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = {
92 "\n$dfmodules/opmon/TPStreamWriter.proto\022\027"
93 "dunedaq.dfmodules.opmon\"\306\002\n\022TPStreamWrit"
94 "erInfo\022!\n\031heartbeat_tpsets_received\030\001 \001("
95 "\004\022 \n\030tpsets_with_tps_received\030\002 \001(\004\022\024\n\014t"
96 "ps_received\030\013 \001(\004\022\023\n\013tps_written\030\014 \001(\004\022\025"
97 "\n\rtps_discarded\030\r \001(\004\022\032\n\022total_tps_recei"
98 "ved\030\020 \001(\004\022\031\n\021total_tps_written\030\021 \001(\004\022\033\n\023"
99 "total_tps_discarded\030\022 \001(\004\022#\n\033tardy_times"
100 "lice_max_seconds\030\025 \001(\004\022\032\n\022timeslices_wri"
101 "tten\030\037 \001(\004\022\024\n\014bytes_output\030 \001(\004b\006proto3"
102};
121
122// This function exists to be marked as weak.
123// It can significantly speed up compilation by breaking up LLVM's SCC
124// in the .pb.cc translation units. Large translation units see a
125// reduction of more than 35% of walltime for optimized builds. Without
126// the weak attribute all the messages in the file, including all the
127// vtables and everything they use become part of the same SCC through
128// a cycle like:
129// GetMetadata -> descriptor table -> default instances ->
130// vtables -> GetMetadata
131// By adding a weak function here we break the connection from the
132// individual vtables back into the descriptor table.
136// Force running AddDescriptors() at dynamic initialization time.
137PROTOBUF_ATTRIBUTE_INIT_PRIORITY2
138static ::_pbi::AddDescriptorsRunner dynamic_init_dummy_dfmodules_2fopmon_2fTPStreamWriter_2eproto(&descriptor_table_dfmodules_2fopmon_2fTPStreamWriter_2eproto);
139namespace dunedaq {
140namespace dfmodules {
141namespace opmon {
142// ===================================================================
143
145 public:
146};
147
148TPStreamWriterInfo::TPStreamWriterInfo(::google::protobuf::Arena* arena)
149 : ::google::protobuf::Message(arena) {
150 SharedCtor(arena);
151 // @@protoc_insertion_point(arena_constructor:dunedaq.dfmodules.opmon.TPStreamWriterInfo)
152}
154 : ::google::protobuf::Message(), _impl_(from._impl_) {
155 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
156 from._internal_metadata_);
157 // @@protoc_insertion_point(copy_constructor:dunedaq.dfmodules.opmon.TPStreamWriterInfo)
158}
159inline void TPStreamWriterInfo::SharedCtor(::_pb::Arena* arena) {
160 (void)arena;
161 new (&_impl_) Impl_{
162 decltype(_impl_.heartbeat_tpsets_received_){::uint64_t{0u}},
163 decltype(_impl_.tpsets_with_tps_received_){::uint64_t{0u}},
164 decltype(_impl_.tps_received_){::uint64_t{0u}},
165 decltype(_impl_.tps_written_){::uint64_t{0u}},
166 decltype(_impl_.tps_discarded_){::uint64_t{0u}},
167 decltype(_impl_.total_tps_received_){::uint64_t{0u}},
168 decltype(_impl_.total_tps_written_){::uint64_t{0u}},
169 decltype(_impl_.total_tps_discarded_){::uint64_t{0u}},
170 decltype(_impl_.tardy_timeslice_max_seconds_){::uint64_t{0u}},
171 decltype(_impl_.timeslices_written_){::uint64_t{0u}},
172 decltype(_impl_.bytes_output_){::uint64_t{0u}},
173 /*decltype(_impl_._cached_size_)*/ {},
174 };
175}
177 // @@protoc_insertion_point(destructor:dunedaq.dfmodules.opmon.TPStreamWriterInfo)
178 _internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
179 SharedDtor();
180}
182 ABSL_DCHECK(GetArenaForAllocation() == nullptr);
183}
187
188PROTOBUF_NOINLINE void TPStreamWriterInfo::Clear() {
189// @@protoc_insertion_point(message_clear_start:dunedaq.dfmodules.opmon.TPStreamWriterInfo)
190 ::uint32_t cached_has_bits = 0;
191 // Prevent compiler warnings about cached_has_bits being unused
192 (void) cached_has_bits;
193
194 ::memset(&_impl_.heartbeat_tpsets_received_, 0, static_cast<::size_t>(
195 reinterpret_cast<char*>(&_impl_.bytes_output_) -
196 reinterpret_cast<char*>(&_impl_.heartbeat_tpsets_received_)) + sizeof(_impl_.bytes_output_));
197 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
198}
199
201 const char* ptr, ::_pbi::ParseContext* ctx) {
202 ptr = ::_pbi::TcParser::ParseLoop(this, ptr, ctx, &_table_.header);
203 return ptr;
204}
205
206
207PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
208const ::_pbi::TcParseTable<4, 11, 0, 0, 2> TPStreamWriterInfo::_table_ = {
209 {
210 0, // no _has_bits_
211 0, // no _extensions_
212 32, 120, // max_field_number, fast_idx_mask
213 offsetof(decltype(_table_), field_lookup_table),
214 1072456700, // skipmap
215 offsetof(decltype(_table_), field_entries),
216 11, // num_field_entries
217 0, // num_aux_entries
218 offsetof(decltype(_table_), field_names), // no aux_entries
220 ::_pbi::TcParser::GenericFallback, // fallback
221 }, {{
222 // uint64 total_tps_received = 16;
223 {::_pbi::TcParser::FastV64S2,
224 {384, 63, 0, PROTOBUF_FIELD_OFFSET(TPStreamWriterInfo, _impl_.total_tps_received_)}},
225 // uint64 heartbeat_tpsets_received = 1;
226 {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(TPStreamWriterInfo, _impl_.heartbeat_tpsets_received_), 63>(),
227 {8, 63, 0, PROTOBUF_FIELD_OFFSET(TPStreamWriterInfo, _impl_.heartbeat_tpsets_received_)}},
228 // uint64 tpsets_with_tps_received = 2;
229 {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(TPStreamWriterInfo, _impl_.tpsets_with_tps_received_), 63>(),
230 {16, 63, 0, PROTOBUF_FIELD_OFFSET(TPStreamWriterInfo, _impl_.tpsets_with_tps_received_)}},
231 {::_pbi::TcParser::MiniParse, {}},
232 {::_pbi::TcParser::MiniParse, {}},
233 // uint64 tardy_timeslice_max_seconds = 21;
234 {::_pbi::TcParser::FastV64S2,
235 {424, 63, 0, PROTOBUF_FIELD_OFFSET(TPStreamWriterInfo, _impl_.tardy_timeslice_max_seconds_)}},
236 {::_pbi::TcParser::MiniParse, {}},
237 {::_pbi::TcParser::MiniParse, {}},
238 {::_pbi::TcParser::MiniParse, {}},
239 {::_pbi::TcParser::MiniParse, {}},
240 {::_pbi::TcParser::MiniParse, {}},
241 // uint64 tps_received = 11;
242 {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(TPStreamWriterInfo, _impl_.tps_received_), 63>(),
243 {88, 63, 0, PROTOBUF_FIELD_OFFSET(TPStreamWriterInfo, _impl_.tps_received_)}},
244 // uint64 tps_written = 12;
245 {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(TPStreamWriterInfo, _impl_.tps_written_), 63>(),
246 {96, 63, 0, PROTOBUF_FIELD_OFFSET(TPStreamWriterInfo, _impl_.tps_written_)}},
247 // uint64 tps_discarded = 13;
248 {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(TPStreamWriterInfo, _impl_.tps_discarded_), 63>(),
249 {104, 63, 0, PROTOBUF_FIELD_OFFSET(TPStreamWriterInfo, _impl_.tps_discarded_)}},
250 {::_pbi::TcParser::MiniParse, {}},
251 // uint64 timeslices_written = 31;
252 {::_pbi::TcParser::FastV64S2,
253 {504, 63, 0, PROTOBUF_FIELD_OFFSET(TPStreamWriterInfo, _impl_.timeslices_written_)}},
254 }}, {{
255 65535, 65535
256 }}, {{
257 // uint64 heartbeat_tpsets_received = 1;
258 {PROTOBUF_FIELD_OFFSET(TPStreamWriterInfo, _impl_.heartbeat_tpsets_received_), 0, 0,
259 (0 | ::_fl::kFcSingular | ::_fl::kUInt64)},
260 // uint64 tpsets_with_tps_received = 2;
261 {PROTOBUF_FIELD_OFFSET(TPStreamWriterInfo, _impl_.tpsets_with_tps_received_), 0, 0,
262 (0 | ::_fl::kFcSingular | ::_fl::kUInt64)},
263 // uint64 tps_received = 11;
264 {PROTOBUF_FIELD_OFFSET(TPStreamWriterInfo, _impl_.tps_received_), 0, 0,
265 (0 | ::_fl::kFcSingular | ::_fl::kUInt64)},
266 // uint64 tps_written = 12;
267 {PROTOBUF_FIELD_OFFSET(TPStreamWriterInfo, _impl_.tps_written_), 0, 0,
268 (0 | ::_fl::kFcSingular | ::_fl::kUInt64)},
269 // uint64 tps_discarded = 13;
270 {PROTOBUF_FIELD_OFFSET(TPStreamWriterInfo, _impl_.tps_discarded_), 0, 0,
271 (0 | ::_fl::kFcSingular | ::_fl::kUInt64)},
272 // uint64 total_tps_received = 16;
273 {PROTOBUF_FIELD_OFFSET(TPStreamWriterInfo, _impl_.total_tps_received_), 0, 0,
274 (0 | ::_fl::kFcSingular | ::_fl::kUInt64)},
275 // uint64 total_tps_written = 17;
276 {PROTOBUF_FIELD_OFFSET(TPStreamWriterInfo, _impl_.total_tps_written_), 0, 0,
277 (0 | ::_fl::kFcSingular | ::_fl::kUInt64)},
278 // uint64 total_tps_discarded = 18;
279 {PROTOBUF_FIELD_OFFSET(TPStreamWriterInfo, _impl_.total_tps_discarded_), 0, 0,
280 (0 | ::_fl::kFcSingular | ::_fl::kUInt64)},
281 // uint64 tardy_timeslice_max_seconds = 21;
282 {PROTOBUF_FIELD_OFFSET(TPStreamWriterInfo, _impl_.tardy_timeslice_max_seconds_), 0, 0,
283 (0 | ::_fl::kFcSingular | ::_fl::kUInt64)},
284 // uint64 timeslices_written = 31;
285 {PROTOBUF_FIELD_OFFSET(TPStreamWriterInfo, _impl_.timeslices_written_), 0, 0,
286 (0 | ::_fl::kFcSingular | ::_fl::kUInt64)},
287 // uint64 bytes_output = 32;
288 {PROTOBUF_FIELD_OFFSET(TPStreamWriterInfo, _impl_.bytes_output_), 0, 0,
289 (0 | ::_fl::kFcSingular | ::_fl::kUInt64)},
290 }},
291 // no aux_entries
292 {{
293 }},
294};
295
297 ::uint8_t* target,
298 ::google::protobuf::io::EpsCopyOutputStream* stream) const {
299 // @@protoc_insertion_point(serialize_to_array_start:dunedaq.dfmodules.opmon.TPStreamWriterInfo)
300 ::uint32_t cached_has_bits = 0;
301 (void)cached_has_bits;
302
303 // uint64 heartbeat_tpsets_received = 1;
304 if (this->_internal_heartbeat_tpsets_received() != 0) {
305 target = stream->EnsureSpace(target);
306 target = ::_pbi::WireFormatLite::WriteUInt64ToArray(
307 1, this->_internal_heartbeat_tpsets_received(), target);
308 }
309
310 // uint64 tpsets_with_tps_received = 2;
311 if (this->_internal_tpsets_with_tps_received() != 0) {
312 target = stream->EnsureSpace(target);
313 target = ::_pbi::WireFormatLite::WriteUInt64ToArray(
314 2, this->_internal_tpsets_with_tps_received(), target);
315 }
316
317 // uint64 tps_received = 11;
318 if (this->_internal_tps_received() != 0) {
319 target = stream->EnsureSpace(target);
320 target = ::_pbi::WireFormatLite::WriteUInt64ToArray(
321 11, this->_internal_tps_received(), target);
322 }
323
324 // uint64 tps_written = 12;
325 if (this->_internal_tps_written() != 0) {
326 target = stream->EnsureSpace(target);
327 target = ::_pbi::WireFormatLite::WriteUInt64ToArray(
328 12, this->_internal_tps_written(), target);
329 }
330
331 // uint64 tps_discarded = 13;
332 if (this->_internal_tps_discarded() != 0) {
333 target = stream->EnsureSpace(target);
334 target = ::_pbi::WireFormatLite::WriteUInt64ToArray(
335 13, this->_internal_tps_discarded(), target);
336 }
337
338 // uint64 total_tps_received = 16;
339 if (this->_internal_total_tps_received() != 0) {
340 target = stream->EnsureSpace(target);
341 target = ::_pbi::WireFormatLite::WriteUInt64ToArray(
342 16, this->_internal_total_tps_received(), target);
343 }
344
345 // uint64 total_tps_written = 17;
346 if (this->_internal_total_tps_written() != 0) {
347 target = stream->EnsureSpace(target);
348 target = ::_pbi::WireFormatLite::WriteUInt64ToArray(
349 17, this->_internal_total_tps_written(), target);
350 }
351
352 // uint64 total_tps_discarded = 18;
353 if (this->_internal_total_tps_discarded() != 0) {
354 target = stream->EnsureSpace(target);
355 target = ::_pbi::WireFormatLite::WriteUInt64ToArray(
356 18, this->_internal_total_tps_discarded(), target);
357 }
358
359 // uint64 tardy_timeslice_max_seconds = 21;
360 if (this->_internal_tardy_timeslice_max_seconds() != 0) {
361 target = stream->EnsureSpace(target);
362 target = ::_pbi::WireFormatLite::WriteUInt64ToArray(
363 21, this->_internal_tardy_timeslice_max_seconds(), target);
364 }
365
366 // uint64 timeslices_written = 31;
367 if (this->_internal_timeslices_written() != 0) {
368 target = stream->EnsureSpace(target);
369 target = ::_pbi::WireFormatLite::WriteUInt64ToArray(
370 31, this->_internal_timeslices_written(), target);
371 }
372
373 // uint64 bytes_output = 32;
374 if (this->_internal_bytes_output() != 0) {
375 target = stream->EnsureSpace(target);
376 target = ::_pbi::WireFormatLite::WriteUInt64ToArray(
377 32, this->_internal_bytes_output(), target);
378 }
379
380 if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
381 target =
382 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
383 _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
384 }
385 // @@protoc_insertion_point(serialize_to_array_end:dunedaq.dfmodules.opmon.TPStreamWriterInfo)
386 return target;
387}
388
390// @@protoc_insertion_point(message_byte_size_start:dunedaq.dfmodules.opmon.TPStreamWriterInfo)
391 ::size_t total_size = 0;
392
393 ::uint32_t cached_has_bits = 0;
394 // Prevent compiler warnings about cached_has_bits being unused
395 (void) cached_has_bits;
396
397 // uint64 heartbeat_tpsets_received = 1;
398 if (this->_internal_heartbeat_tpsets_received() != 0) {
399 total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(
401 }
402
403 // uint64 tpsets_with_tps_received = 2;
404 if (this->_internal_tpsets_with_tps_received() != 0) {
405 total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(
407 }
408
409 // uint64 tps_received = 11;
410 if (this->_internal_tps_received() != 0) {
411 total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(
412 this->_internal_tps_received());
413 }
414
415 // uint64 tps_written = 12;
416 if (this->_internal_tps_written() != 0) {
417 total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(
418 this->_internal_tps_written());
419 }
420
421 // uint64 tps_discarded = 13;
422 if (this->_internal_tps_discarded() != 0) {
423 total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(
425 }
426
427 // uint64 total_tps_received = 16;
428 if (this->_internal_total_tps_received() != 0) {
429 total_size += 2 + ::_pbi::WireFormatLite::UInt64Size(
431 }
432
433 // uint64 total_tps_written = 17;
434 if (this->_internal_total_tps_written() != 0) {
435 total_size += 2 + ::_pbi::WireFormatLite::UInt64Size(
437 }
438
439 // uint64 total_tps_discarded = 18;
440 if (this->_internal_total_tps_discarded() != 0) {
441 total_size += 2 + ::_pbi::WireFormatLite::UInt64Size(
443 }
444
445 // uint64 tardy_timeslice_max_seconds = 21;
446 if (this->_internal_tardy_timeslice_max_seconds() != 0) {
447 total_size += 2 + ::_pbi::WireFormatLite::UInt64Size(
449 }
450
451 // uint64 timeslices_written = 31;
452 if (this->_internal_timeslices_written() != 0) {
453 total_size += 2 + ::_pbi::WireFormatLite::UInt64Size(
455 }
456
457 // uint64 bytes_output = 32;
458 if (this->_internal_bytes_output() != 0) {
459 total_size += 2 + ::_pbi::WireFormatLite::UInt64Size(
460 this->_internal_bytes_output());
461 }
462
463 return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
464}
465
466const ::google::protobuf::Message::ClassData TPStreamWriterInfo::_class_data_ = {
467 ::google::protobuf::Message::CopyWithSourceCheck,
469};
470const ::google::protobuf::Message::ClassData*TPStreamWriterInfo::GetClassData() const { return &_class_data_; }
471
472
473void TPStreamWriterInfo::MergeImpl(::google::protobuf::Message& to_msg, const ::google::protobuf::Message& from_msg) {
474 auto* const _this = static_cast<TPStreamWriterInfo*>(&to_msg);
475 auto& from = static_cast<const TPStreamWriterInfo&>(from_msg);
476 // @@protoc_insertion_point(class_specific_merge_from_start:dunedaq.dfmodules.opmon.TPStreamWriterInfo)
477 ABSL_DCHECK_NE(&from, _this);
478 ::uint32_t cached_has_bits = 0;
479 (void) cached_has_bits;
480
481 if (from._internal_heartbeat_tpsets_received() != 0) {
482 _this->_internal_set_heartbeat_tpsets_received(from._internal_heartbeat_tpsets_received());
483 }
484 if (from._internal_tpsets_with_tps_received() != 0) {
485 _this->_internal_set_tpsets_with_tps_received(from._internal_tpsets_with_tps_received());
486 }
487 if (from._internal_tps_received() != 0) {
488 _this->_internal_set_tps_received(from._internal_tps_received());
489 }
490 if (from._internal_tps_written() != 0) {
491 _this->_internal_set_tps_written(from._internal_tps_written());
492 }
493 if (from._internal_tps_discarded() != 0) {
494 _this->_internal_set_tps_discarded(from._internal_tps_discarded());
495 }
496 if (from._internal_total_tps_received() != 0) {
497 _this->_internal_set_total_tps_received(from._internal_total_tps_received());
498 }
499 if (from._internal_total_tps_written() != 0) {
500 _this->_internal_set_total_tps_written(from._internal_total_tps_written());
501 }
502 if (from._internal_total_tps_discarded() != 0) {
503 _this->_internal_set_total_tps_discarded(from._internal_total_tps_discarded());
504 }
505 if (from._internal_tardy_timeslice_max_seconds() != 0) {
506 _this->_internal_set_tardy_timeslice_max_seconds(from._internal_tardy_timeslice_max_seconds());
507 }
508 if (from._internal_timeslices_written() != 0) {
509 _this->_internal_set_timeslices_written(from._internal_timeslices_written());
510 }
511 if (from._internal_bytes_output() != 0) {
512 _this->_internal_set_bytes_output(from._internal_bytes_output());
513 }
514 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
515}
516
518// @@protoc_insertion_point(class_specific_copy_from_start:dunedaq.dfmodules.opmon.TPStreamWriterInfo)
519 if (&from == this) return;
520 Clear();
521 MergeFrom(from);
522}
523
524PROTOBUF_NOINLINE bool TPStreamWriterInfo::IsInitialized() const {
525 return true;
526}
527
529 using std::swap;
530 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
531 ::google::protobuf::internal::memswap<
532 PROTOBUF_FIELD_OFFSET(TPStreamWriterInfo, _impl_.bytes_output_)
534 - PROTOBUF_FIELD_OFFSET(TPStreamWriterInfo, _impl_.heartbeat_tpsets_received_)>(
535 reinterpret_cast<char*>(&_impl_.heartbeat_tpsets_received_),
536 reinterpret_cast<char*>(&other->_impl_.heartbeat_tpsets_received_));
537}
538
544// @@protoc_insertion_point(namespace_scope)
545} // namespace opmon
546} // namespace dfmodules
547} // namespace dunedaq
548namespace google {
549namespace protobuf {
550} // namespace protobuf
551} // namespace google
552// @@protoc_insertion_point(global_scope)
553#include "google/protobuf/port_undef.inc"
::absl::once_flag descriptor_table_dfmodules_2fopmon_2fTPStreamWriter_2eproto_once
const ::uint32_t TableStruct_dfmodules_2fopmon_2fTPStreamWriter_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold)
const ::_pbi::DescriptorTable descriptor_table_dfmodules_2fopmon_2fTPStreamWriter_2eproto
PROTOBUF_ATTRIBUTE_WEAKconst ::_pbi::DescriptorTable * descriptor_table_dfmodules_2fopmon_2fTPStreamWriter_2eproto_getter()
::_pb::Metadata file_level_metadata_dfmodules_2fopmon_2fTPStreamWriter_2eproto[1]
static constexprconst ::_pb::ServiceDescriptor ** file_level_service_descriptors_dfmodules_2fopmon_2fTPStreamWriter_2eproto
static constexprconst ::_pb::EnumDescriptor ** file_level_enum_descriptors_dfmodules_2fopmon_2fTPStreamWriter_2eproto
static const ::_pb::Message *const file_default_instances[]
void CopyFrom(const TPStreamWriterInfo &from)
void MergeFrom(const TPStreamWriterInfo &from)
const char * _InternalParse(const char *ptr, ::google::protobuf::internal::ParseContext *ctx) final
::uint8_t * _InternalSerialize(::uint8_t *target, ::google::protobuf::io::EpsCopyOutputStream *stream) const final
static void MergeImpl(::google::protobuf::Message &to_msg, const ::google::protobuf::Message &from_msg)
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
void SharedCtor(::google::protobuf::Arena *arena)
static const ::google::protobuf::internal::TcParseTable< 4, 11, 0, 0, 2 > _table_
const ::google::protobuf::Message::ClassData * GetClassData() const final
::google::protobuf::Metadata GetMetadata() const final
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 TPStreamWriterInfoDefaultTypeInternal _TPStreamWriterInfo_default_instance_
The DUNE-DAQ namespace.
Definition DataStore.hpp:57
FELIX Initialization std::string initerror FELIX queue timed std::string queuename Unexpected chunk size
mutable::google::protobuf::internal::CachedSize _cached_size_