DUNE-DAQ
DUNE Trigger and Data Acquisition software
Loading...
Searching...
No Matches
TRBuilderData.pb.cc
Go to the documentation of this file.
1// Generated by the protocol buffer compiler. DO NOT EDIT!
2// source: dfmodules/opmon/TRBuilderData.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 DFApplicationInfo::DFApplicationInfo(::_pbi::ConstantInitialized)
28 : _impl_{
29 /*decltype(_impl_.total_time_since_assignment_)*/ ::uint64_t{0u},
30 /*decltype(_impl_.min_time_since_assignment_)*/ ::int64_t{0},
31 /*decltype(_impl_.max_time_since_assignment_)*/ ::int64_t{0},
32 /*decltype(_impl_.capacity_rate_)*/ 0,
33 /*decltype(_impl_.outstanding_decisions_)*/ 0u,
34 /*decltype(_impl_._cached_size_)*/ {},
35 } {}
37 PROTOBUF_CONSTEXPR DFApplicationInfoDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
39 union {
41 };
42};
43
44PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
46 template <typename>
47PROTOBUF_CONSTEXPR TRCompleteInfo::TRCompleteInfo(::_pbi::ConstantInitialized)
48 : _impl_{
49 /*decltype(_impl_.completion_time_)*/ ::uint64_t{0u},
50 /*decltype(_impl_.tr_number_)*/ ::uint64_t{0u},
51 /*decltype(_impl_.run_number_)*/ ::uint64_t{0u},
52 /*decltype(_impl_.trigger_type_)*/ ::uint64_t{0u},
53 /*decltype(_impl_._cached_size_)*/ {},
54 } {}
56 PROTOBUF_CONSTEXPR TRCompleteInfoDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
58 union {
60 };
61};
62
63PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
65} // namespace opmon
66} // namespace dfmodules
67} // namespace dunedaq
69static constexpr const ::_pb::EnumDescriptor**
71static constexpr const ::_pb::ServiceDescriptor**
74 protodesc_cold) = {
75 ~0u, // no _has_bits_
76 PROTOBUF_FIELD_OFFSET(::dunedaq::dfmodules::opmon::DFApplicationInfo, _internal_metadata_),
77 ~0u, // no _extensions_
78 ~0u, // no _oneof_case_
79 ~0u, // no _weak_field_map_
80 ~0u, // no _inlined_string_donated_
81 ~0u, // no _split_
82 ~0u, // no sizeof(Split)
83 PROTOBUF_FIELD_OFFSET(::dunedaq::dfmodules::opmon::DFApplicationInfo, _impl_.outstanding_decisions_),
84 PROTOBUF_FIELD_OFFSET(::dunedaq::dfmodules::opmon::DFApplicationInfo, _impl_.total_time_since_assignment_),
85 PROTOBUF_FIELD_OFFSET(::dunedaq::dfmodules::opmon::DFApplicationInfo, _impl_.min_time_since_assignment_),
86 PROTOBUF_FIELD_OFFSET(::dunedaq::dfmodules::opmon::DFApplicationInfo, _impl_.max_time_since_assignment_),
87 PROTOBUF_FIELD_OFFSET(::dunedaq::dfmodules::opmon::DFApplicationInfo, _impl_.capacity_rate_),
88 ~0u, // no _has_bits_
89 PROTOBUF_FIELD_OFFSET(::dunedaq::dfmodules::opmon::TRCompleteInfo, _internal_metadata_),
90 ~0u, // no _extensions_
91 ~0u, // no _oneof_case_
92 ~0u, // no _weak_field_map_
93 ~0u, // no _inlined_string_donated_
94 ~0u, // no _split_
95 ~0u, // no sizeof(Split)
96 PROTOBUF_FIELD_OFFSET(::dunedaq::dfmodules::opmon::TRCompleteInfo, _impl_.completion_time_),
97 PROTOBUF_FIELD_OFFSET(::dunedaq::dfmodules::opmon::TRCompleteInfo, _impl_.tr_number_),
98 PROTOBUF_FIELD_OFFSET(::dunedaq::dfmodules::opmon::TRCompleteInfo, _impl_.run_number_),
99 PROTOBUF_FIELD_OFFSET(::dunedaq::dfmodules::opmon::TRCompleteInfo, _impl_.trigger_type_),
100};
101
102static const ::_pbi::MigrationSchema
103 schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = {
106};
107
112const char descriptor_table_protodef_dfmodules_2fopmon_2fTRBuilderData_2eproto[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = {
113 "\n#dfmodules/opmon/TRBuilderData.proto\022\027d"
114 "unedaq.dfmodules.opmon\"\264\001\n\021DFApplication"
115 "Info\022\035\n\025outstanding_decisions\030\001 \001(\r\022#\n\033t"
116 "otal_time_since_assignment\030\002 \001(\004\022!\n\031min_"
117 "time_since_assignment\030\003 \001(\003\022!\n\031max_time_"
118 "since_assignment\030\004 \001(\003\022\025\n\rcapacity_rate\030"
119 "\n \001(\001\"f\n\016TRCompleteInfo\022\027\n\017completion_ti"
120 "me\030\001 \001(\004\022\021\n\ttr_number\030\005 \001(\004\022\022\n\nrun_numbe"
121 "r\030\006 \001(\004\022\024\n\014trigger_type\030\007 \001(\004b\006proto3"
122};
141
142// This function exists to be marked as weak.
143// It can significantly speed up compilation by breaking up LLVM's SCC
144// in the .pb.cc translation units. Large translation units see a
145// reduction of more than 35% of walltime for optimized builds. Without
146// the weak attribute all the messages in the file, including all the
147// vtables and everything they use become part of the same SCC through
148// a cycle like:
149// GetMetadata -> descriptor table -> default instances ->
150// vtables -> GetMetadata
151// By adding a weak function here we break the connection from the
152// individual vtables back into the descriptor table.
156// Force running AddDescriptors() at dynamic initialization time.
157PROTOBUF_ATTRIBUTE_INIT_PRIORITY2
158static ::_pbi::AddDescriptorsRunner dynamic_init_dummy_dfmodules_2fopmon_2fTRBuilderData_2eproto(&descriptor_table_dfmodules_2fopmon_2fTRBuilderData_2eproto);
159namespace dunedaq {
160namespace dfmodules {
161namespace opmon {
162// ===================================================================
163
165 public:
166};
167
168DFApplicationInfo::DFApplicationInfo(::google::protobuf::Arena* arena)
169 : ::google::protobuf::Message(arena) {
170 SharedCtor(arena);
171 // @@protoc_insertion_point(arena_constructor:dunedaq.dfmodules.opmon.DFApplicationInfo)
172}
174 : ::google::protobuf::Message(), _impl_(from._impl_) {
175 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
176 from._internal_metadata_);
177 // @@protoc_insertion_point(copy_constructor:dunedaq.dfmodules.opmon.DFApplicationInfo)
178}
179inline void DFApplicationInfo::SharedCtor(::_pb::Arena* arena) {
180 (void)arena;
181 new (&_impl_) Impl_{
182 decltype(_impl_.total_time_since_assignment_){::uint64_t{0u}},
183 decltype(_impl_.min_time_since_assignment_){::int64_t{0}},
184 decltype(_impl_.max_time_since_assignment_){::int64_t{0}},
185 decltype(_impl_.capacity_rate_){0},
186 decltype(_impl_.outstanding_decisions_){0u},
187 /*decltype(_impl_._cached_size_)*/ {},
188 };
189}
191 // @@protoc_insertion_point(destructor:dunedaq.dfmodules.opmon.DFApplicationInfo)
192 _internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
193 SharedDtor();
194}
196 ABSL_DCHECK(GetArenaForAllocation() == nullptr);
197}
201
202PROTOBUF_NOINLINE void DFApplicationInfo::Clear() {
203// @@protoc_insertion_point(message_clear_start:dunedaq.dfmodules.opmon.DFApplicationInfo)
204 ::uint32_t cached_has_bits = 0;
205 // Prevent compiler warnings about cached_has_bits being unused
206 (void) cached_has_bits;
207
208 ::memset(&_impl_.total_time_since_assignment_, 0, static_cast<::size_t>(
209 reinterpret_cast<char*>(&_impl_.outstanding_decisions_) -
210 reinterpret_cast<char*>(&_impl_.total_time_since_assignment_)) + sizeof(_impl_.outstanding_decisions_));
211 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
212}
213
215 const char* ptr, ::_pbi::ParseContext* ctx) {
216 ptr = ::_pbi::TcParser::ParseLoop(this, ptr, ctx, &_table_.header);
217 return ptr;
218}
219
220
221PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
222const ::_pbi::TcParseTable<2, 5, 0, 0, 2> DFApplicationInfo::_table_ = {
223 {
224 0, // no _has_bits_
225 0, // no _extensions_
226 10, 24, // max_field_number, fast_idx_mask
227 offsetof(decltype(_table_), field_lookup_table),
228 4294966768, // skipmap
229 offsetof(decltype(_table_), field_entries),
230 5, // num_field_entries
231 0, // num_aux_entries
232 offsetof(decltype(_table_), field_names), // no aux_entries
234 ::_pbi::TcParser::GenericFallback, // fallback
235 }, {{
236 // int64 max_time_since_assignment = 4;
237 {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(DFApplicationInfo, _impl_.max_time_since_assignment_), 63>(),
238 {32, 63, 0, PROTOBUF_FIELD_OFFSET(DFApplicationInfo, _impl_.max_time_since_assignment_)}},
239 // uint32 outstanding_decisions = 1;
240 {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(DFApplicationInfo, _impl_.outstanding_decisions_), 63>(),
241 {8, 63, 0, PROTOBUF_FIELD_OFFSET(DFApplicationInfo, _impl_.outstanding_decisions_)}},
242 // uint64 total_time_since_assignment = 2;
243 {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(DFApplicationInfo, _impl_.total_time_since_assignment_), 63>(),
244 {16, 63, 0, PROTOBUF_FIELD_OFFSET(DFApplicationInfo, _impl_.total_time_since_assignment_)}},
245 // int64 min_time_since_assignment = 3;
246 {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(DFApplicationInfo, _impl_.min_time_since_assignment_), 63>(),
247 {24, 63, 0, PROTOBUF_FIELD_OFFSET(DFApplicationInfo, _impl_.min_time_since_assignment_)}},
248 }}, {{
249 65535, 65535
250 }}, {{
251 // uint32 outstanding_decisions = 1;
252 {PROTOBUF_FIELD_OFFSET(DFApplicationInfo, _impl_.outstanding_decisions_), 0, 0,
253 (0 | ::_fl::kFcSingular | ::_fl::kUInt32)},
254 // uint64 total_time_since_assignment = 2;
255 {PROTOBUF_FIELD_OFFSET(DFApplicationInfo, _impl_.total_time_since_assignment_), 0, 0,
256 (0 | ::_fl::kFcSingular | ::_fl::kUInt64)},
257 // int64 min_time_since_assignment = 3;
258 {PROTOBUF_FIELD_OFFSET(DFApplicationInfo, _impl_.min_time_since_assignment_), 0, 0,
259 (0 | ::_fl::kFcSingular | ::_fl::kInt64)},
260 // int64 max_time_since_assignment = 4;
261 {PROTOBUF_FIELD_OFFSET(DFApplicationInfo, _impl_.max_time_since_assignment_), 0, 0,
262 (0 | ::_fl::kFcSingular | ::_fl::kInt64)},
263 // double capacity_rate = 10;
264 {PROTOBUF_FIELD_OFFSET(DFApplicationInfo, _impl_.capacity_rate_), 0, 0,
265 (0 | ::_fl::kFcSingular | ::_fl::kDouble)},
266 }},
267 // no aux_entries
268 {{
269 }},
270};
271
273 ::uint8_t* target,
274 ::google::protobuf::io::EpsCopyOutputStream* stream) const {
275 // @@protoc_insertion_point(serialize_to_array_start:dunedaq.dfmodules.opmon.DFApplicationInfo)
276 ::uint32_t cached_has_bits = 0;
277 (void)cached_has_bits;
278
279 // uint32 outstanding_decisions = 1;
280 if (this->_internal_outstanding_decisions() != 0) {
281 target = stream->EnsureSpace(target);
282 target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
283 1, this->_internal_outstanding_decisions(), target);
284 }
285
286 // uint64 total_time_since_assignment = 2;
287 if (this->_internal_total_time_since_assignment() != 0) {
288 target = stream->EnsureSpace(target);
289 target = ::_pbi::WireFormatLite::WriteUInt64ToArray(
290 2, this->_internal_total_time_since_assignment(), target);
291 }
292
293 // int64 min_time_since_assignment = 3;
294 if (this->_internal_min_time_since_assignment() != 0) {
295 target = ::google::protobuf::internal::WireFormatLite::
296 WriteInt64ToArrayWithField<3>(
297 stream, this->_internal_min_time_since_assignment(), target);
298 }
299
300 // int64 max_time_since_assignment = 4;
301 if (this->_internal_max_time_since_assignment() != 0) {
302 target = ::google::protobuf::internal::WireFormatLite::
303 WriteInt64ToArrayWithField<4>(
304 stream, this->_internal_max_time_since_assignment(), target);
305 }
306
307 // double capacity_rate = 10;
308 static_assert(sizeof(::uint64_t) == sizeof(double),
309 "Code assumes ::uint64_t and double are the same size.");
310 double tmp_capacity_rate = this->_internal_capacity_rate();
311 ::uint64_t raw_capacity_rate;
312 memcpy(&raw_capacity_rate, &tmp_capacity_rate, sizeof(tmp_capacity_rate));
313 if (raw_capacity_rate != 0) {
314 target = stream->EnsureSpace(target);
315 target = ::_pbi::WireFormatLite::WriteDoubleToArray(
316 10, this->_internal_capacity_rate(), target);
317 }
318
319 if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
320 target =
321 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
322 _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
323 }
324 // @@protoc_insertion_point(serialize_to_array_end:dunedaq.dfmodules.opmon.DFApplicationInfo)
325 return target;
326}
327
329// @@protoc_insertion_point(message_byte_size_start:dunedaq.dfmodules.opmon.DFApplicationInfo)
330 ::size_t total_size = 0;
331
332 ::uint32_t cached_has_bits = 0;
333 // Prevent compiler warnings about cached_has_bits being unused
334 (void) cached_has_bits;
335
336 // uint64 total_time_since_assignment = 2;
337 if (this->_internal_total_time_since_assignment() != 0) {
338 total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(
340 }
341
342 // int64 min_time_since_assignment = 3;
343 if (this->_internal_min_time_since_assignment() != 0) {
344 total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
346 }
347
348 // int64 max_time_since_assignment = 4;
349 if (this->_internal_max_time_since_assignment() != 0) {
350 total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
352 }
353
354 // double capacity_rate = 10;
355 static_assert(sizeof(::uint64_t) == sizeof(double),
356 "Code assumes ::uint64_t and double are the same size.");
357 double tmp_capacity_rate = this->_internal_capacity_rate();
358 ::uint64_t raw_capacity_rate;
359 memcpy(&raw_capacity_rate, &tmp_capacity_rate, sizeof(tmp_capacity_rate));
360 if (raw_capacity_rate != 0) {
361 total_size += 9;
362 }
363
364 // uint32 outstanding_decisions = 1;
365 if (this->_internal_outstanding_decisions() != 0) {
366 total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
368 }
369
370 return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
371}
372
373const ::google::protobuf::Message::ClassData DFApplicationInfo::_class_data_ = {
374 ::google::protobuf::Message::CopyWithSourceCheck,
376};
377const ::google::protobuf::Message::ClassData*DFApplicationInfo::GetClassData() const { return &_class_data_; }
378
379
380void DFApplicationInfo::MergeImpl(::google::protobuf::Message& to_msg, const ::google::protobuf::Message& from_msg) {
381 auto* const _this = static_cast<DFApplicationInfo*>(&to_msg);
382 auto& from = static_cast<const DFApplicationInfo&>(from_msg);
383 // @@protoc_insertion_point(class_specific_merge_from_start:dunedaq.dfmodules.opmon.DFApplicationInfo)
384 ABSL_DCHECK_NE(&from, _this);
385 ::uint32_t cached_has_bits = 0;
386 (void) cached_has_bits;
387
388 if (from._internal_total_time_since_assignment() != 0) {
389 _this->_internal_set_total_time_since_assignment(from._internal_total_time_since_assignment());
390 }
391 if (from._internal_min_time_since_assignment() != 0) {
392 _this->_internal_set_min_time_since_assignment(from._internal_min_time_since_assignment());
393 }
394 if (from._internal_max_time_since_assignment() != 0) {
395 _this->_internal_set_max_time_since_assignment(from._internal_max_time_since_assignment());
396 }
397 static_assert(sizeof(::uint64_t) == sizeof(double),
398 "Code assumes ::uint64_t and double are the same size.");
399 double tmp_capacity_rate = from._internal_capacity_rate();
400 ::uint64_t raw_capacity_rate;
401 memcpy(&raw_capacity_rate, &tmp_capacity_rate, sizeof(tmp_capacity_rate));
402 if (raw_capacity_rate != 0) {
403 _this->_internal_set_capacity_rate(from._internal_capacity_rate());
404 }
405 if (from._internal_outstanding_decisions() != 0) {
406 _this->_internal_set_outstanding_decisions(from._internal_outstanding_decisions());
407 }
408 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
409}
410
412// @@protoc_insertion_point(class_specific_copy_from_start:dunedaq.dfmodules.opmon.DFApplicationInfo)
413 if (&from == this) return;
414 Clear();
415 MergeFrom(from);
416}
417
418PROTOBUF_NOINLINE bool DFApplicationInfo::IsInitialized() const {
419 return true;
420}
421
423 using std::swap;
424 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
425 ::google::protobuf::internal::memswap<
426 PROTOBUF_FIELD_OFFSET(DFApplicationInfo, _impl_.outstanding_decisions_)
428 - PROTOBUF_FIELD_OFFSET(DFApplicationInfo, _impl_.total_time_since_assignment_)>(
429 reinterpret_cast<char*>(&_impl_.total_time_since_assignment_),
430 reinterpret_cast<char*>(&other->_impl_.total_time_since_assignment_));
431}
432
438// ===================================================================
439
441 public:
442};
443
444TRCompleteInfo::TRCompleteInfo(::google::protobuf::Arena* arena)
445 : ::google::protobuf::Message(arena) {
446 SharedCtor(arena);
447 // @@protoc_insertion_point(arena_constructor:dunedaq.dfmodules.opmon.TRCompleteInfo)
448}
450 : ::google::protobuf::Message(), _impl_(from._impl_) {
451 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
452 from._internal_metadata_);
453 // @@protoc_insertion_point(copy_constructor:dunedaq.dfmodules.opmon.TRCompleteInfo)
454}
455inline void TRCompleteInfo::SharedCtor(::_pb::Arena* arena) {
456 (void)arena;
457 new (&_impl_) Impl_{
458 decltype(_impl_.completion_time_){::uint64_t{0u}},
459 decltype(_impl_.tr_number_){::uint64_t{0u}},
460 decltype(_impl_.run_number_){::uint64_t{0u}},
461 decltype(_impl_.trigger_type_){::uint64_t{0u}},
462 /*decltype(_impl_._cached_size_)*/ {},
463 };
464}
466 // @@protoc_insertion_point(destructor:dunedaq.dfmodules.opmon.TRCompleteInfo)
467 _internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
468 SharedDtor();
469}
471 ABSL_DCHECK(GetArenaForAllocation() == nullptr);
472}
476
477PROTOBUF_NOINLINE void TRCompleteInfo::Clear() {
478// @@protoc_insertion_point(message_clear_start:dunedaq.dfmodules.opmon.TRCompleteInfo)
479 ::uint32_t cached_has_bits = 0;
480 // Prevent compiler warnings about cached_has_bits being unused
481 (void) cached_has_bits;
482
483 ::memset(&_impl_.completion_time_, 0, static_cast<::size_t>(
484 reinterpret_cast<char*>(&_impl_.trigger_type_) -
485 reinterpret_cast<char*>(&_impl_.completion_time_)) + sizeof(_impl_.trigger_type_));
486 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
487}
488
490 const char* ptr, ::_pbi::ParseContext* ctx) {
491 ptr = ::_pbi::TcParser::ParseLoop(this, ptr, ctx, &_table_.header);
492 return ptr;
493}
494
495
496PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
497const ::_pbi::TcParseTable<3, 4, 0, 0, 2> TRCompleteInfo::_table_ = {
498 {
499 0, // no _has_bits_
500 0, // no _extensions_
501 7, 56, // max_field_number, fast_idx_mask
502 offsetof(decltype(_table_), field_lookup_table),
503 4294967182, // skipmap
504 offsetof(decltype(_table_), field_entries),
505 4, // num_field_entries
506 0, // num_aux_entries
507 offsetof(decltype(_table_), field_names), // no aux_entries
509 ::_pbi::TcParser::GenericFallback, // fallback
510 }, {{
511 {::_pbi::TcParser::MiniParse, {}},
512 // uint64 completion_time = 1;
513 {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(TRCompleteInfo, _impl_.completion_time_), 63>(),
514 {8, 63, 0, PROTOBUF_FIELD_OFFSET(TRCompleteInfo, _impl_.completion_time_)}},
515 {::_pbi::TcParser::MiniParse, {}},
516 {::_pbi::TcParser::MiniParse, {}},
517 {::_pbi::TcParser::MiniParse, {}},
518 // uint64 tr_number = 5;
519 {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(TRCompleteInfo, _impl_.tr_number_), 63>(),
520 {40, 63, 0, PROTOBUF_FIELD_OFFSET(TRCompleteInfo, _impl_.tr_number_)}},
521 // uint64 run_number = 6;
522 {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(TRCompleteInfo, _impl_.run_number_), 63>(),
523 {48, 63, 0, PROTOBUF_FIELD_OFFSET(TRCompleteInfo, _impl_.run_number_)}},
524 // uint64 trigger_type = 7;
525 {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(TRCompleteInfo, _impl_.trigger_type_), 63>(),
526 {56, 63, 0, PROTOBUF_FIELD_OFFSET(TRCompleteInfo, _impl_.trigger_type_)}},
527 }}, {{
528 65535, 65535
529 }}, {{
530 // uint64 completion_time = 1;
531 {PROTOBUF_FIELD_OFFSET(TRCompleteInfo, _impl_.completion_time_), 0, 0,
532 (0 | ::_fl::kFcSingular | ::_fl::kUInt64)},
533 // uint64 tr_number = 5;
534 {PROTOBUF_FIELD_OFFSET(TRCompleteInfo, _impl_.tr_number_), 0, 0,
535 (0 | ::_fl::kFcSingular | ::_fl::kUInt64)},
536 // uint64 run_number = 6;
537 {PROTOBUF_FIELD_OFFSET(TRCompleteInfo, _impl_.run_number_), 0, 0,
538 (0 | ::_fl::kFcSingular | ::_fl::kUInt64)},
539 // uint64 trigger_type = 7;
540 {PROTOBUF_FIELD_OFFSET(TRCompleteInfo, _impl_.trigger_type_), 0, 0,
541 (0 | ::_fl::kFcSingular | ::_fl::kUInt64)},
542 }},
543 // no aux_entries
544 {{
545 }},
546};
547
549 ::uint8_t* target,
550 ::google::protobuf::io::EpsCopyOutputStream* stream) const {
551 // @@protoc_insertion_point(serialize_to_array_start:dunedaq.dfmodules.opmon.TRCompleteInfo)
552 ::uint32_t cached_has_bits = 0;
553 (void)cached_has_bits;
554
555 // uint64 completion_time = 1;
556 if (this->_internal_completion_time() != 0) {
557 target = stream->EnsureSpace(target);
558 target = ::_pbi::WireFormatLite::WriteUInt64ToArray(
559 1, this->_internal_completion_time(), target);
560 }
561
562 // uint64 tr_number = 5;
563 if (this->_internal_tr_number() != 0) {
564 target = stream->EnsureSpace(target);
565 target = ::_pbi::WireFormatLite::WriteUInt64ToArray(
566 5, this->_internal_tr_number(), target);
567 }
568
569 // uint64 run_number = 6;
570 if (this->_internal_run_number() != 0) {
571 target = stream->EnsureSpace(target);
572 target = ::_pbi::WireFormatLite::WriteUInt64ToArray(
573 6, this->_internal_run_number(), target);
574 }
575
576 // uint64 trigger_type = 7;
577 if (this->_internal_trigger_type() != 0) {
578 target = stream->EnsureSpace(target);
579 target = ::_pbi::WireFormatLite::WriteUInt64ToArray(
580 7, this->_internal_trigger_type(), target);
581 }
582
583 if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
584 target =
585 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
586 _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
587 }
588 // @@protoc_insertion_point(serialize_to_array_end:dunedaq.dfmodules.opmon.TRCompleteInfo)
589 return target;
590}
591
593// @@protoc_insertion_point(message_byte_size_start:dunedaq.dfmodules.opmon.TRCompleteInfo)
594 ::size_t total_size = 0;
595
596 ::uint32_t cached_has_bits = 0;
597 // Prevent compiler warnings about cached_has_bits being unused
598 (void) cached_has_bits;
599
600 // uint64 completion_time = 1;
601 if (this->_internal_completion_time() != 0) {
602 total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(
604 }
605
606 // uint64 tr_number = 5;
607 if (this->_internal_tr_number() != 0) {
608 total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(
609 this->_internal_tr_number());
610 }
611
612 // uint64 run_number = 6;
613 if (this->_internal_run_number() != 0) {
614 total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(
615 this->_internal_run_number());
616 }
617
618 // uint64 trigger_type = 7;
619 if (this->_internal_trigger_type() != 0) {
620 total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(
621 this->_internal_trigger_type());
622 }
623
624 return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
625}
626
627const ::google::protobuf::Message::ClassData TRCompleteInfo::_class_data_ = {
628 ::google::protobuf::Message::CopyWithSourceCheck,
630};
631const ::google::protobuf::Message::ClassData*TRCompleteInfo::GetClassData() const { return &_class_data_; }
632
633
634void TRCompleteInfo::MergeImpl(::google::protobuf::Message& to_msg, const ::google::protobuf::Message& from_msg) {
635 auto* const _this = static_cast<TRCompleteInfo*>(&to_msg);
636 auto& from = static_cast<const TRCompleteInfo&>(from_msg);
637 // @@protoc_insertion_point(class_specific_merge_from_start:dunedaq.dfmodules.opmon.TRCompleteInfo)
638 ABSL_DCHECK_NE(&from, _this);
639 ::uint32_t cached_has_bits = 0;
640 (void) cached_has_bits;
641
642 if (from._internal_completion_time() != 0) {
643 _this->_internal_set_completion_time(from._internal_completion_time());
644 }
645 if (from._internal_tr_number() != 0) {
646 _this->_internal_set_tr_number(from._internal_tr_number());
647 }
648 if (from._internal_run_number() != 0) {
649 _this->_internal_set_run_number(from._internal_run_number());
650 }
651 if (from._internal_trigger_type() != 0) {
652 _this->_internal_set_trigger_type(from._internal_trigger_type());
653 }
654 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
655}
656
658// @@protoc_insertion_point(class_specific_copy_from_start:dunedaq.dfmodules.opmon.TRCompleteInfo)
659 if (&from == this) return;
660 Clear();
661 MergeFrom(from);
662}
663
664PROTOBUF_NOINLINE bool TRCompleteInfo::IsInitialized() const {
665 return true;
666}
667
669 using std::swap;
670 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
671 ::google::protobuf::internal::memswap<
672 PROTOBUF_FIELD_OFFSET(TRCompleteInfo, _impl_.trigger_type_)
674 - PROTOBUF_FIELD_OFFSET(TRCompleteInfo, _impl_.completion_time_)>(
675 reinterpret_cast<char*>(&_impl_.completion_time_),
676 reinterpret_cast<char*>(&other->_impl_.completion_time_));
677}
678
684// @@protoc_insertion_point(namespace_scope)
685} // namespace opmon
686} // namespace dfmodules
687} // namespace dunedaq
688namespace google {
689namespace protobuf {
690} // namespace protobuf
691} // namespace google
692// @@protoc_insertion_point(global_scope)
693#include "google/protobuf/port_undef.inc"
::_pb::Metadata file_level_metadata_dfmodules_2fopmon_2fTRBuilderData_2eproto[2]
static constexprconst ::_pb::ServiceDescriptor ** file_level_service_descriptors_dfmodules_2fopmon_2fTRBuilderData_2eproto
PROTOBUF_ATTRIBUTE_WEAKconst ::_pbi::DescriptorTable * descriptor_table_dfmodules_2fopmon_2fTRBuilderData_2eproto_getter()
const ::_pbi::DescriptorTable descriptor_table_dfmodules_2fopmon_2fTRBuilderData_2eproto
::absl::once_flag descriptor_table_dfmodules_2fopmon_2fTRBuilderData_2eproto_once
static constexprconst ::_pb::EnumDescriptor ** file_level_enum_descriptors_dfmodules_2fopmon_2fTRBuilderData_2eproto
void SharedCtor(::google::protobuf::Arena *arena)
void MergeFrom(const DFApplicationInfo &from)
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
::google::protobuf::Metadata GetMetadata() const final
static void MergeImpl(::google::protobuf::Message &to_msg, const ::google::protobuf::Message &from_msg)
static const ::google::protobuf::internal::TcParseTable< 2, 5, 0, 0, 2 > _table_
void CopyFrom(const DFApplicationInfo &from)
void InternalSwap(DFApplicationInfo *other)
const char * _InternalParse(const char *ptr, ::google::protobuf::internal::ParseContext *ctx) final
const ::google::protobuf::Message::ClassData * GetClassData() const final
::uint8_t * _InternalSerialize(::uint8_t *target, ::google::protobuf::io::EpsCopyOutputStream *stream) const final
void SharedCtor(::google::protobuf::Arena *arena)
::google::protobuf::Metadata GetMetadata() const final
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
void MergeFrom(const TRCompleteInfo &from)
static const ::google::protobuf::internal::TcParseTable< 3, 4, 0, 0, 2 > _table_
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
const ::google::protobuf::Message::ClassData * GetClassData() const final
void CopyFrom(const TRCompleteInfo &from)
static void MergeImpl(::google::protobuf::Message &to_msg, const ::google::protobuf::Message &from_msg)
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 DFApplicationInfoDefaultTypeInternal _DFApplicationInfo_default_instance_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 TRCompleteInfoDefaultTypeInternal _TRCompleteInfo_default_instance_
Including Qt Headers.
FELIX Initialization std::string initerror FELIX queue timed std::string queuename Unexpected chunk size
mutable::google::protobuf::internal::CachedSize _cached_size_
mutable::google::protobuf::internal::CachedSize _cached_size_
const ::uint32_t TableStruct_wib_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold)
static const ::_pb::Message *const file_default_instances[]
Definition wib.pb.cc:1192