DUNE-DAQ
DUNE Trigger and Data Acquisition software
Loading...
Searching...
No Matches
issue.pb.cc
Go to the documentation of this file.
1// Generated by the protocol buffer compiler. DO NOT EDIT!
2// source: ers/issue.proto
3
4#include "ers/issue.pb.h"
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 ersschema {
25 template <typename>
26PROTOBUF_CONSTEXPR Context::Context(::_pbi::ConstantInitialized)
27 : _impl_{
28 /*decltype(_impl_.cwd_)*/ {
29 &::_pbi::fixed_address_empty_string,
30 ::_pbi::ConstantInitialized{},
31 },
32 /*decltype(_impl_.file_name_)*/ {
33 &::_pbi::fixed_address_empty_string,
34 ::_pbi::ConstantInitialized{},
35 },
36 /*decltype(_impl_.function_name_)*/ {
37 &::_pbi::fixed_address_empty_string,
38 ::_pbi::ConstantInitialized{},
39 },
40 /*decltype(_impl_.host_name_)*/ {
41 &::_pbi::fixed_address_empty_string,
42 ::_pbi::ConstantInitialized{},
43 },
44 /*decltype(_impl_.package_name_)*/ {
45 &::_pbi::fixed_address_empty_string,
46 ::_pbi::ConstantInitialized{},
47 },
48 /*decltype(_impl_.user_name_)*/ {
49 &::_pbi::fixed_address_empty_string,
50 ::_pbi::ConstantInitialized{},
51 },
52 /*decltype(_impl_.application_name_)*/ {
53 &::_pbi::fixed_address_empty_string,
54 ::_pbi::ConstantInitialized{},
55 },
56 /*decltype(_impl_.line_number_)*/ 0u,
57 /*decltype(_impl_.process_id_)*/ 0u,
58 /*decltype(_impl_.thread_id_)*/ 0u,
59 /*decltype(_impl_.user_id_)*/ 0u,
60 /*decltype(_impl_._cached_size_)*/ {},
61 } {}
63 PROTOBUF_CONSTEXPR ContextDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
65 union {
67 };
68};
69
70PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
71 PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ContextDefaultTypeInternal _Context_default_instance_;
72 template <typename>
73PROTOBUF_CONSTEXPR SimpleIssue_ParametersEntry_DoNotUse::SimpleIssue_ParametersEntry_DoNotUse(::_pbi::ConstantInitialized) {}
81
82PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
84 template <typename>
85PROTOBUF_CONSTEXPR SimpleIssue::SimpleIssue(::_pbi::ConstantInitialized)
86 : _impl_{
87 /*decltype(_impl_._has_bits_)*/ {},
88 /*decltype(_impl_._cached_size_)*/ {},
89 /*decltype(_impl_.inheritance_)*/ {},
90 /* decltype(_impl_.parameters_) */ {},
91 /*decltype(_impl_.name_)*/ {
92 &::_pbi::fixed_address_empty_string,
93 ::_pbi::ConstantInitialized{},
94 },
95 /*decltype(_impl_.message_)*/ {
96 &::_pbi::fixed_address_empty_string,
97 ::_pbi::ConstantInitialized{},
98 },
99 /*decltype(_impl_.severity_)*/ {
100 &::_pbi::fixed_address_empty_string,
101 ::_pbi::ConstantInitialized{},
102 },
103 /*decltype(_impl_.context_)*/ nullptr,
104 /*decltype(_impl_.time_)*/ ::uint64_t{0u},
105 } {}
107 PROTOBUF_CONSTEXPR SimpleIssueDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
109 union {
111 };
112};
113
114PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
116 template <typename>
117PROTOBUF_CONSTEXPR IssueChain::IssueChain(::_pbi::ConstantInitialized)
118 : _impl_{
119 /*decltype(_impl_._has_bits_)*/ {},
120 /*decltype(_impl_._cached_size_)*/ {},
121 /*decltype(_impl_.causes_)*/ {},
122 /*decltype(_impl_.session_)*/ {
123 &::_pbi::fixed_address_empty_string,
124 ::_pbi::ConstantInitialized{},
125 },
126 /*decltype(_impl_.application_)*/ {
127 &::_pbi::fixed_address_empty_string,
128 ::_pbi::ConstantInitialized{},
129 },
130 /*decltype(_impl_.module_)*/ {
131 &::_pbi::fixed_address_empty_string,
132 ::_pbi::ConstantInitialized{},
133 },
134 /*decltype(_impl_.final_)*/ nullptr,
135 } {}
137 PROTOBUF_CONSTEXPR IssueChainDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
139 union {
141 };
142};
143
144PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
146} // namespace ersschema
147} // namespace dunedaq
149static constexpr const ::_pb::EnumDescriptor**
151static constexpr const ::_pb::ServiceDescriptor**
154 protodesc_cold) = {
155 ~0u, // no _has_bits_
156 PROTOBUF_FIELD_OFFSET(::dunedaq::ersschema::Context, _internal_metadata_),
157 ~0u, // no _extensions_
158 ~0u, // no _oneof_case_
159 ~0u, // no _weak_field_map_
160 ~0u, // no _inlined_string_donated_
161 ~0u, // no _split_
162 ~0u, // no sizeof(Split)
163 PROTOBUF_FIELD_OFFSET(::dunedaq::ersschema::Context, _impl_.cwd_),
164 PROTOBUF_FIELD_OFFSET(::dunedaq::ersschema::Context, _impl_.file_name_),
165 PROTOBUF_FIELD_OFFSET(::dunedaq::ersschema::Context, _impl_.function_name_),
166 PROTOBUF_FIELD_OFFSET(::dunedaq::ersschema::Context, _impl_.host_name_),
167 PROTOBUF_FIELD_OFFSET(::dunedaq::ersschema::Context, _impl_.line_number_),
168 PROTOBUF_FIELD_OFFSET(::dunedaq::ersschema::Context, _impl_.package_name_),
169 PROTOBUF_FIELD_OFFSET(::dunedaq::ersschema::Context, _impl_.process_id_),
170 PROTOBUF_FIELD_OFFSET(::dunedaq::ersschema::Context, _impl_.thread_id_),
171 PROTOBUF_FIELD_OFFSET(::dunedaq::ersschema::Context, _impl_.user_id_),
172 PROTOBUF_FIELD_OFFSET(::dunedaq::ersschema::Context, _impl_.user_name_),
173 PROTOBUF_FIELD_OFFSET(::dunedaq::ersschema::Context, _impl_.application_name_),
174 PROTOBUF_FIELD_OFFSET(::dunedaq::ersschema::SimpleIssue_ParametersEntry_DoNotUse, _has_bits_),
175 PROTOBUF_FIELD_OFFSET(::dunedaq::ersschema::SimpleIssue_ParametersEntry_DoNotUse, _internal_metadata_),
176 ~0u, // no _extensions_
177 ~0u, // no _oneof_case_
178 ~0u, // no _weak_field_map_
179 ~0u, // no _inlined_string_donated_
180 ~0u, // no _split_
181 ~0u, // no sizeof(Split)
184 0,
185 1,
186 PROTOBUF_FIELD_OFFSET(::dunedaq::ersschema::SimpleIssue, _impl_._has_bits_),
187 PROTOBUF_FIELD_OFFSET(::dunedaq::ersschema::SimpleIssue, _internal_metadata_),
188 ~0u, // no _extensions_
189 ~0u, // no _oneof_case_
190 ~0u, // no _weak_field_map_
191 ~0u, // no _inlined_string_donated_
192 ~0u, // no _split_
193 ~0u, // no sizeof(Split)
194 PROTOBUF_FIELD_OFFSET(::dunedaq::ersschema::SimpleIssue, _impl_.context_),
195 PROTOBUF_FIELD_OFFSET(::dunedaq::ersschema::SimpleIssue, _impl_.name_),
196 PROTOBUF_FIELD_OFFSET(::dunedaq::ersschema::SimpleIssue, _impl_.inheritance_),
197 PROTOBUF_FIELD_OFFSET(::dunedaq::ersschema::SimpleIssue, _impl_.message_),
198 PROTOBUF_FIELD_OFFSET(::dunedaq::ersschema::SimpleIssue, _impl_.severity_),
199 PROTOBUF_FIELD_OFFSET(::dunedaq::ersschema::SimpleIssue, _impl_.time_),
200 PROTOBUF_FIELD_OFFSET(::dunedaq::ersschema::SimpleIssue, _impl_.parameters_),
201 0,
202 ~0u,
203 ~0u,
204 ~0u,
205 ~0u,
206 ~0u,
207 ~0u,
208 PROTOBUF_FIELD_OFFSET(::dunedaq::ersschema::IssueChain, _impl_._has_bits_),
209 PROTOBUF_FIELD_OFFSET(::dunedaq::ersschema::IssueChain, _internal_metadata_),
210 ~0u, // no _extensions_
211 ~0u, // no _oneof_case_
212 ~0u, // no _weak_field_map_
213 ~0u, // no _inlined_string_donated_
214 ~0u, // no _split_
215 ~0u, // no sizeof(Split)
216 PROTOBUF_FIELD_OFFSET(::dunedaq::ersschema::IssueChain, _impl_.final_),
217 PROTOBUF_FIELD_OFFSET(::dunedaq::ersschema::IssueChain, _impl_.causes_),
218 PROTOBUF_FIELD_OFFSET(::dunedaq::ersschema::IssueChain, _impl_.session_),
219 PROTOBUF_FIELD_OFFSET(::dunedaq::ersschema::IssueChain, _impl_.application_),
220 PROTOBUF_FIELD_OFFSET(::dunedaq::ersschema::IssueChain, _impl_.module_),
221 0,
222 ~0u,
223 ~0u,
224 ~0u,
225 ~0u,
226};
227
228static const ::_pbi::MigrationSchema
229 schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = {
230 {0, -1, -1, sizeof(::dunedaq::ersschema::Context)},
232 {31, 46, -1, sizeof(::dunedaq::ersschema::SimpleIssue)},
233 {53, 66, -1, sizeof(::dunedaq::ersschema::IssueChain)},
234};
235
242const char descriptor_table_protodef_ers_2fissue_2eproto[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = {
243 "\n\017ers/issue.proto\022\021dunedaq.ersschema\"\343\001\n"
244 "\007Context\022\013\n\003cwd\030\001 \001(\t\022\021\n\tfile_name\030\002 \001(\t"
245 "\022\025\n\rfunction_name\030\003 \001(\t\022\021\n\thost_name\030\004 \001"
246 "(\t\022\023\n\013line_number\030\005 \001(\r\022\024\n\014package_name\030"
247 "\006 \001(\t\022\022\n\nprocess_id\030\013 \001(\r\022\021\n\tthread_id\030\014"
248 " \001(\r\022\017\n\007user_id\030\r \001(\r\022\021\n\tuser_name\030\016 \001(\t"
249 "\022\030\n\020application_name\030\017 \001(\t\"\205\002\n\013SimpleIss"
250 "ue\022+\n\007context\030\001 \001(\0132\032.dunedaq.ersschema."
251 "Context\022\014\n\004name\030\002 \001(\t\022\023\n\013inheritance\030\003 \003"
252 "(\t\022\017\n\007message\030\004 \001(\t\022\020\n\010severity\030\005 \001(\t\022\014\n"
253 "\004time\030\006 \001(\004\022B\n\nparameters\030\013 \003(\0132..duneda"
254 "q.ersschema.SimpleIssue.ParametersEntry\032"
255 "1\n\017ParametersEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value"
256 "\030\002 \001(\t:\0028\001\"\241\001\n\nIssueChain\022-\n\005final\030\001 \001(\013"
257 "2\036.dunedaq.ersschema.SimpleIssue\022.\n\006caus"
258 "es\030\002 \003(\0132\036.dunedaq.ersschema.SimpleIssue"
259 "\022\017\n\007session\030\n \001(\t\022\023\n\013application\030\013 \001(\t\022\016"
260 "\n\006module\030\014 \001(\tb\006proto3"
261};
263const ::_pbi::DescriptorTable descriptor_table_ers_2fissue_2eproto = {
264 false,
265 false,
266 702,
267 descriptor_table_protodef_ers_2fissue_2eproto,
268 "ers/issue.proto",
270 nullptr,
271 0,
272 4,
273 schemas,
279};
280
281// This function exists to be marked as weak.
282// It can significantly speed up compilation by breaking up LLVM's SCC
283// in the .pb.cc translation units. Large translation units see a
284// reduction of more than 35% of walltime for optimized builds. Without
285// the weak attribute all the messages in the file, including all the
286// vtables and everything they use become part of the same SCC through
287// a cycle like:
288// GetMetadata -> descriptor table -> default instances ->
289// vtables -> GetMetadata
290// By adding a weak function here we break the connection from the
291// individual vtables back into the descriptor table.
292PROTOBUF_ATTRIBUTE_WEAK const ::_pbi::DescriptorTable* descriptor_table_ers_2fissue_2eproto_getter() {
294}
295// Force running AddDescriptors() at dynamic initialization time.
296PROTOBUF_ATTRIBUTE_INIT_PRIORITY2
297static ::_pbi::AddDescriptorsRunner dynamic_init_dummy_ers_2fissue_2eproto(&descriptor_table_ers_2fissue_2eproto);
298namespace dunedaq {
299namespace ersschema {
300// ===================================================================
301
303 public:
304};
305
306Context::Context(::google::protobuf::Arena* arena)
307 : ::google::protobuf::Message(arena) {
308 SharedCtor(arena);
309 // @@protoc_insertion_point(arena_constructor:dunedaq.ersschema.Context)
310}
311Context::Context(const Context& from) : ::google::protobuf::Message() {
312 Context* const _this = this;
313 (void)_this;
314 new (&_impl_) Impl_{
315 decltype(_impl_.cwd_){},
316 decltype(_impl_.file_name_){},
317 decltype(_impl_.function_name_){},
318 decltype(_impl_.host_name_){},
319 decltype(_impl_.package_name_){},
320 decltype(_impl_.user_name_){},
321 decltype(_impl_.application_name_){},
322 decltype(_impl_.line_number_){},
323 decltype(_impl_.process_id_){},
324 decltype(_impl_.thread_id_){},
325 decltype(_impl_.user_id_){},
326 /*decltype(_impl_._cached_size_)*/ {},
327 };
328 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
329 from._internal_metadata_);
330 _impl_.cwd_.InitDefault();
331 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
332 _impl_.cwd_.Set("", GetArenaForAllocation());
333 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
334 if (!from._internal_cwd().empty()) {
335 _this->_impl_.cwd_.Set(from._internal_cwd(), _this->GetArenaForAllocation());
336 }
337 _impl_.file_name_.InitDefault();
338 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
339 _impl_.file_name_.Set("", GetArenaForAllocation());
340 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
341 if (!from._internal_file_name().empty()) {
342 _this->_impl_.file_name_.Set(from._internal_file_name(), _this->GetArenaForAllocation());
343 }
344 _impl_.function_name_.InitDefault();
345 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
346 _impl_.function_name_.Set("", GetArenaForAllocation());
347 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
348 if (!from._internal_function_name().empty()) {
349 _this->_impl_.function_name_.Set(from._internal_function_name(), _this->GetArenaForAllocation());
350 }
351 _impl_.host_name_.InitDefault();
352 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
353 _impl_.host_name_.Set("", GetArenaForAllocation());
354 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
355 if (!from._internal_host_name().empty()) {
356 _this->_impl_.host_name_.Set(from._internal_host_name(), _this->GetArenaForAllocation());
357 }
358 _impl_.package_name_.InitDefault();
359 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
360 _impl_.package_name_.Set("", GetArenaForAllocation());
361 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
362 if (!from._internal_package_name().empty()) {
363 _this->_impl_.package_name_.Set(from._internal_package_name(), _this->GetArenaForAllocation());
364 }
365 _impl_.user_name_.InitDefault();
366 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
367 _impl_.user_name_.Set("", GetArenaForAllocation());
368 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
369 if (!from._internal_user_name().empty()) {
370 _this->_impl_.user_name_.Set(from._internal_user_name(), _this->GetArenaForAllocation());
371 }
372 _impl_.application_name_.InitDefault();
373 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
374 _impl_.application_name_.Set("", GetArenaForAllocation());
375 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
376 if (!from._internal_application_name().empty()) {
377 _this->_impl_.application_name_.Set(from._internal_application_name(), _this->GetArenaForAllocation());
378 }
379 ::memcpy(&_impl_.line_number_, &from._impl_.line_number_,
380 static_cast<::size_t>(reinterpret_cast<char*>(&_impl_.user_id_) -
381 reinterpret_cast<char*>(&_impl_.line_number_)) + sizeof(_impl_.user_id_));
382
383 // @@protoc_insertion_point(copy_constructor:dunedaq.ersschema.Context)
384}
385inline void Context::SharedCtor(::_pb::Arena* arena) {
386 (void)arena;
387 new (&_impl_) Impl_{
388 decltype(_impl_.cwd_){},
389 decltype(_impl_.file_name_){},
390 decltype(_impl_.function_name_){},
391 decltype(_impl_.host_name_){},
392 decltype(_impl_.package_name_){},
393 decltype(_impl_.user_name_){},
394 decltype(_impl_.application_name_){},
395 decltype(_impl_.line_number_){0u},
396 decltype(_impl_.process_id_){0u},
397 decltype(_impl_.thread_id_){0u},
398 decltype(_impl_.user_id_){0u},
399 /*decltype(_impl_._cached_size_)*/ {},
400 };
401 _impl_.cwd_.InitDefault();
402 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
403 _impl_.cwd_.Set("", GetArenaForAllocation());
404 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
405 _impl_.file_name_.InitDefault();
406 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
407 _impl_.file_name_.Set("", GetArenaForAllocation());
408 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
409 _impl_.function_name_.InitDefault();
410 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
411 _impl_.function_name_.Set("", GetArenaForAllocation());
412 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
413 _impl_.host_name_.InitDefault();
414 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
415 _impl_.host_name_.Set("", GetArenaForAllocation());
416 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
417 _impl_.package_name_.InitDefault();
418 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
419 _impl_.package_name_.Set("", GetArenaForAllocation());
420 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
421 _impl_.user_name_.InitDefault();
422 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
423 _impl_.user_name_.Set("", GetArenaForAllocation());
424 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
425 _impl_.application_name_.InitDefault();
426 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
427 _impl_.application_name_.Set("", GetArenaForAllocation());
428 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
429}
431 // @@protoc_insertion_point(destructor:dunedaq.ersschema.Context)
432 _internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
433 SharedDtor();
434}
435inline void Context::SharedDtor() {
436 ABSL_DCHECK(GetArenaForAllocation() == nullptr);
437 _impl_.cwd_.Destroy();
438 _impl_.file_name_.Destroy();
439 _impl_.function_name_.Destroy();
440 _impl_.host_name_.Destroy();
441 _impl_.package_name_.Destroy();
442 _impl_.user_name_.Destroy();
443 _impl_.application_name_.Destroy();
444}
447}
448
449PROTOBUF_NOINLINE void Context::Clear() {
450// @@protoc_insertion_point(message_clear_start:dunedaq.ersschema.Context)
451 ::uint32_t cached_has_bits = 0;
452 // Prevent compiler warnings about cached_has_bits being unused
453 (void) cached_has_bits;
454
455 _impl_.cwd_.ClearToEmpty();
456 _impl_.file_name_.ClearToEmpty();
457 _impl_.function_name_.ClearToEmpty();
458 _impl_.host_name_.ClearToEmpty();
459 _impl_.package_name_.ClearToEmpty();
460 _impl_.user_name_.ClearToEmpty();
461 _impl_.application_name_.ClearToEmpty();
462 ::memset(&_impl_.line_number_, 0, static_cast<::size_t>(
463 reinterpret_cast<char*>(&_impl_.user_id_) -
464 reinterpret_cast<char*>(&_impl_.line_number_)) + sizeof(_impl_.user_id_));
465 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
466}
467
469 const char* ptr, ::_pbi::ParseContext* ctx) {
470 ptr = ::_pbi::TcParser::ParseLoop(this, ptr, ctx, &_table_.header);
471 return ptr;
472}
473
474
475PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
476const ::_pbi::TcParseTable<4, 11, 0, 113, 2> Context::_table_ = {
477 {
478 0, // no _has_bits_
479 0, // no _extensions_
480 15, 120, // max_field_number, fast_idx_mask
481 offsetof(decltype(_table_), field_lookup_table),
482 4294935488, // skipmap
483 offsetof(decltype(_table_), field_entries),
484 11, // num_field_entries
485 0, // num_aux_entries
486 offsetof(decltype(_table_), field_names), // no aux_entries
488 ::_pbi::TcParser::GenericFallback, // fallback
489 }, {{
490 {::_pbi::TcParser::MiniParse, {}},
491 // string cwd = 1;
492 {::_pbi::TcParser::FastUS1,
493 {10, 63, 0, PROTOBUF_FIELD_OFFSET(Context, _impl_.cwd_)}},
494 // string file_name = 2;
495 {::_pbi::TcParser::FastUS1,
496 {18, 63, 0, PROTOBUF_FIELD_OFFSET(Context, _impl_.file_name_)}},
497 // string function_name = 3;
498 {::_pbi::TcParser::FastUS1,
499 {26, 63, 0, PROTOBUF_FIELD_OFFSET(Context, _impl_.function_name_)}},
500 // string host_name = 4;
501 {::_pbi::TcParser::FastUS1,
502 {34, 63, 0, PROTOBUF_FIELD_OFFSET(Context, _impl_.host_name_)}},
503 // uint32 line_number = 5;
504 {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(Context, _impl_.line_number_), 63>(),
505 {40, 63, 0, PROTOBUF_FIELD_OFFSET(Context, _impl_.line_number_)}},
506 // string package_name = 6;
507 {::_pbi::TcParser::FastUS1,
508 {50, 63, 0, PROTOBUF_FIELD_OFFSET(Context, _impl_.package_name_)}},
509 {::_pbi::TcParser::MiniParse, {}},
510 {::_pbi::TcParser::MiniParse, {}},
511 {::_pbi::TcParser::MiniParse, {}},
512 {::_pbi::TcParser::MiniParse, {}},
513 // uint32 process_id = 11;
514 {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(Context, _impl_.process_id_), 63>(),
515 {88, 63, 0, PROTOBUF_FIELD_OFFSET(Context, _impl_.process_id_)}},
516 // uint32 thread_id = 12;
517 {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(Context, _impl_.thread_id_), 63>(),
518 {96, 63, 0, PROTOBUF_FIELD_OFFSET(Context, _impl_.thread_id_)}},
519 // uint32 user_id = 13;
520 {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(Context, _impl_.user_id_), 63>(),
521 {104, 63, 0, PROTOBUF_FIELD_OFFSET(Context, _impl_.user_id_)}},
522 // string user_name = 14;
523 {::_pbi::TcParser::FastUS1,
524 {114, 63, 0, PROTOBUF_FIELD_OFFSET(Context, _impl_.user_name_)}},
525 // string application_name = 15;
526 {::_pbi::TcParser::FastUS1,
527 {122, 63, 0, PROTOBUF_FIELD_OFFSET(Context, _impl_.application_name_)}},
528 }}, {{
529 65535, 65535
530 }}, {{
531 // string cwd = 1;
532 {PROTOBUF_FIELD_OFFSET(Context, _impl_.cwd_), 0, 0,
533 (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)},
534 // string file_name = 2;
535 {PROTOBUF_FIELD_OFFSET(Context, _impl_.file_name_), 0, 0,
536 (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)},
537 // string function_name = 3;
538 {PROTOBUF_FIELD_OFFSET(Context, _impl_.function_name_), 0, 0,
539 (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)},
540 // string host_name = 4;
541 {PROTOBUF_FIELD_OFFSET(Context, _impl_.host_name_), 0, 0,
542 (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)},
543 // uint32 line_number = 5;
544 {PROTOBUF_FIELD_OFFSET(Context, _impl_.line_number_), 0, 0,
545 (0 | ::_fl::kFcSingular | ::_fl::kUInt32)},
546 // string package_name = 6;
547 {PROTOBUF_FIELD_OFFSET(Context, _impl_.package_name_), 0, 0,
548 (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)},
549 // uint32 process_id = 11;
550 {PROTOBUF_FIELD_OFFSET(Context, _impl_.process_id_), 0, 0,
551 (0 | ::_fl::kFcSingular | ::_fl::kUInt32)},
552 // uint32 thread_id = 12;
553 {PROTOBUF_FIELD_OFFSET(Context, _impl_.thread_id_), 0, 0,
554 (0 | ::_fl::kFcSingular | ::_fl::kUInt32)},
555 // uint32 user_id = 13;
556 {PROTOBUF_FIELD_OFFSET(Context, _impl_.user_id_), 0, 0,
557 (0 | ::_fl::kFcSingular | ::_fl::kUInt32)},
558 // string user_name = 14;
559 {PROTOBUF_FIELD_OFFSET(Context, _impl_.user_name_), 0, 0,
560 (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)},
561 // string application_name = 15;
562 {PROTOBUF_FIELD_OFFSET(Context, _impl_.application_name_), 0, 0,
563 (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)},
564 }},
565 // no aux_entries
566 {{
567 "\31\3\11\15\11\0\14\0\0\0\11\20\0\0\0\0"
568 "dunedaq.ersschema.Context"
569 "cwd"
570 "file_name"
571 "function_name"
572 "host_name"
573 "package_name"
574 "user_name"
575 "application_name"
576 }},
577};
578
580 ::uint8_t* target,
581 ::google::protobuf::io::EpsCopyOutputStream* stream) const {
582 // @@protoc_insertion_point(serialize_to_array_start:dunedaq.ersschema.Context)
583 ::uint32_t cached_has_bits = 0;
584 (void)cached_has_bits;
585
586 // string cwd = 1;
587 if (!this->_internal_cwd().empty()) {
588 const std::string& _s = this->_internal_cwd();
589 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
590 _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "dunedaq.ersschema.Context.cwd");
591 target = stream->WriteStringMaybeAliased(1, _s, target);
592 }
593
594 // string file_name = 2;
595 if (!this->_internal_file_name().empty()) {
596 const std::string& _s = this->_internal_file_name();
597 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
598 _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "dunedaq.ersschema.Context.file_name");
599 target = stream->WriteStringMaybeAliased(2, _s, target);
600 }
601
602 // string function_name = 3;
603 if (!this->_internal_function_name().empty()) {
604 const std::string& _s = this->_internal_function_name();
605 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
606 _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "dunedaq.ersschema.Context.function_name");
607 target = stream->WriteStringMaybeAliased(3, _s, target);
608 }
609
610 // string host_name = 4;
611 if (!this->_internal_host_name().empty()) {
612 const std::string& _s = this->_internal_host_name();
613 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
614 _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "dunedaq.ersschema.Context.host_name");
615 target = stream->WriteStringMaybeAliased(4, _s, target);
616 }
617
618 // uint32 line_number = 5;
619 if (this->_internal_line_number() != 0) {
620 target = stream->EnsureSpace(target);
621 target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
622 5, this->_internal_line_number(), target);
623 }
624
625 // string package_name = 6;
626 if (!this->_internal_package_name().empty()) {
627 const std::string& _s = this->_internal_package_name();
628 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
629 _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "dunedaq.ersschema.Context.package_name");
630 target = stream->WriteStringMaybeAliased(6, _s, target);
631 }
632
633 // uint32 process_id = 11;
634 if (this->_internal_process_id() != 0) {
635 target = stream->EnsureSpace(target);
636 target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
637 11, this->_internal_process_id(), target);
638 }
639
640 // uint32 thread_id = 12;
641 if (this->_internal_thread_id() != 0) {
642 target = stream->EnsureSpace(target);
643 target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
644 12, this->_internal_thread_id(), target);
645 }
646
647 // uint32 user_id = 13;
648 if (this->_internal_user_id() != 0) {
649 target = stream->EnsureSpace(target);
650 target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
651 13, this->_internal_user_id(), target);
652 }
653
654 // string user_name = 14;
655 if (!this->_internal_user_name().empty()) {
656 const std::string& _s = this->_internal_user_name();
657 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
658 _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "dunedaq.ersschema.Context.user_name");
659 target = stream->WriteStringMaybeAliased(14, _s, target);
660 }
661
662 // string application_name = 15;
663 if (!this->_internal_application_name().empty()) {
664 const std::string& _s = this->_internal_application_name();
665 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
666 _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "dunedaq.ersschema.Context.application_name");
667 target = stream->WriteStringMaybeAliased(15, _s, target);
668 }
669
670 if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
671 target =
672 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
673 _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
674 }
675 // @@protoc_insertion_point(serialize_to_array_end:dunedaq.ersschema.Context)
676 return target;
677}
678
679::size_t Context::ByteSizeLong() const {
680// @@protoc_insertion_point(message_byte_size_start:dunedaq.ersschema.Context)
681 ::size_t total_size = 0;
682
683 ::uint32_t cached_has_bits = 0;
684 // Prevent compiler warnings about cached_has_bits being unused
685 (void) cached_has_bits;
686
687 // string cwd = 1;
688 if (!this->_internal_cwd().empty()) {
689 total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
690 this->_internal_cwd());
691 }
692
693 // string file_name = 2;
694 if (!this->_internal_file_name().empty()) {
695 total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
696 this->_internal_file_name());
697 }
698
699 // string function_name = 3;
700 if (!this->_internal_function_name().empty()) {
701 total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
703 }
704
705 // string host_name = 4;
706 if (!this->_internal_host_name().empty()) {
707 total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
708 this->_internal_host_name());
709 }
710
711 // string package_name = 6;
712 if (!this->_internal_package_name().empty()) {
713 total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
714 this->_internal_package_name());
715 }
716
717 // string user_name = 14;
718 if (!this->_internal_user_name().empty()) {
719 total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
720 this->_internal_user_name());
721 }
722
723 // string application_name = 15;
724 if (!this->_internal_application_name().empty()) {
725 total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
727 }
728
729 // uint32 line_number = 5;
730 if (this->_internal_line_number() != 0) {
731 total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
732 this->_internal_line_number());
733 }
734
735 // uint32 process_id = 11;
736 if (this->_internal_process_id() != 0) {
737 total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
738 this->_internal_process_id());
739 }
740
741 // uint32 thread_id = 12;
742 if (this->_internal_thread_id() != 0) {
743 total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
744 this->_internal_thread_id());
745 }
746
747 // uint32 user_id = 13;
748 if (this->_internal_user_id() != 0) {
749 total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
750 this->_internal_user_id());
751 }
752
753 return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
754}
755
756const ::google::protobuf::Message::ClassData Context::_class_data_ = {
757 ::google::protobuf::Message::CopyWithSourceCheck,
759};
760const ::google::protobuf::Message::ClassData*Context::GetClassData() const { return &_class_data_; }
761
762
763void Context::MergeImpl(::google::protobuf::Message& to_msg, const ::google::protobuf::Message& from_msg) {
764 auto* const _this = static_cast<Context*>(&to_msg);
765 auto& from = static_cast<const Context&>(from_msg);
766 // @@protoc_insertion_point(class_specific_merge_from_start:dunedaq.ersschema.Context)
767 ABSL_DCHECK_NE(&from, _this);
768 ::uint32_t cached_has_bits = 0;
769 (void) cached_has_bits;
770
771 if (!from._internal_cwd().empty()) {
772 _this->_internal_set_cwd(from._internal_cwd());
773 }
774 if (!from._internal_file_name().empty()) {
775 _this->_internal_set_file_name(from._internal_file_name());
776 }
777 if (!from._internal_function_name().empty()) {
778 _this->_internal_set_function_name(from._internal_function_name());
779 }
780 if (!from._internal_host_name().empty()) {
781 _this->_internal_set_host_name(from._internal_host_name());
782 }
783 if (!from._internal_package_name().empty()) {
784 _this->_internal_set_package_name(from._internal_package_name());
785 }
786 if (!from._internal_user_name().empty()) {
787 _this->_internal_set_user_name(from._internal_user_name());
788 }
789 if (!from._internal_application_name().empty()) {
790 _this->_internal_set_application_name(from._internal_application_name());
791 }
792 if (from._internal_line_number() != 0) {
793 _this->_internal_set_line_number(from._internal_line_number());
794 }
795 if (from._internal_process_id() != 0) {
796 _this->_internal_set_process_id(from._internal_process_id());
797 }
798 if (from._internal_thread_id() != 0) {
799 _this->_internal_set_thread_id(from._internal_thread_id());
800 }
801 if (from._internal_user_id() != 0) {
802 _this->_internal_set_user_id(from._internal_user_id());
803 }
804 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
805}
806
807void Context::CopyFrom(const Context& from) {
808// @@protoc_insertion_point(class_specific_copy_from_start:dunedaq.ersschema.Context)
809 if (&from == this) return;
810 Clear();
811 MergeFrom(from);
812}
813
814PROTOBUF_NOINLINE bool Context::IsInitialized() const {
815 return true;
816}
817
819 using std::swap;
820 auto* lhs_arena = GetArenaForAllocation();
821 auto* rhs_arena = other->GetArenaForAllocation();
822 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
823 ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.cwd_, lhs_arena,
824 &other->_impl_.cwd_, rhs_arena);
825 ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.file_name_, lhs_arena,
826 &other->_impl_.file_name_, rhs_arena);
827 ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.function_name_, lhs_arena,
828 &other->_impl_.function_name_, rhs_arena);
829 ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.host_name_, lhs_arena,
830 &other->_impl_.host_name_, rhs_arena);
831 ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.package_name_, lhs_arena,
832 &other->_impl_.package_name_, rhs_arena);
833 ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.user_name_, lhs_arena,
834 &other->_impl_.user_name_, rhs_arena);
835 ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.application_name_, lhs_arena,
836 &other->_impl_.application_name_, rhs_arena);
837 ::google::protobuf::internal::memswap<
838 PROTOBUF_FIELD_OFFSET(Context, _impl_.user_id_)
839 + sizeof(Context::_impl_.user_id_)
840 - PROTOBUF_FIELD_OFFSET(Context, _impl_.line_number_)>(
841 reinterpret_cast<char*>(&_impl_.line_number_),
842 reinterpret_cast<char*>(&other->_impl_.line_number_));
843}
844
845::google::protobuf::Metadata Context::GetMetadata() const {
846 return ::_pbi::AssignDescriptors(
849}
850// ===================================================================
851
856 MergeFromInternal(other);
857}
863// ===================================================================
864
866 public:
867 using HasBits = decltype(std::declval<SimpleIssue>()._impl_._has_bits_);
868 static constexpr ::int32_t kHasBitsOffset =
869 8 * PROTOBUF_FIELD_OFFSET(SimpleIssue, _impl_._has_bits_);
870 static const ::dunedaq::ersschema::Context& context(const SimpleIssue* msg);
871 static void set_has_context(HasBits* has_bits) {
872 (*has_bits)[0] |= 1u;
873 }
874};
875
876const ::dunedaq::ersschema::Context& SimpleIssue::_Internal::context(const SimpleIssue* msg) {
877 return *msg->_impl_.context_;
878}
879SimpleIssue::SimpleIssue(::google::protobuf::Arena* arena)
880 : ::google::protobuf::Message(arena) {
881 SharedCtor(arena);
882 // @@protoc_insertion_point(arena_constructor:dunedaq.ersschema.SimpleIssue)
883}
884SimpleIssue::SimpleIssue(const SimpleIssue& from) : ::google::protobuf::Message() {
885 SimpleIssue* const _this = this;
886 (void)_this;
887 new (&_impl_) Impl_{
888 decltype(_impl_._has_bits_){from._impl_._has_bits_},
889 /*decltype(_impl_._cached_size_)*/ {},
890 decltype(_impl_.inheritance_){from._impl_.inheritance_},
891 /* decltype(_impl_.parameters_) */ {},
892 decltype(_impl_.name_){},
893 decltype(_impl_.message_){},
894 decltype(_impl_.severity_){},
895 decltype(_impl_.context_){nullptr},
896 decltype(_impl_.time_){},
897 };
898 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
899 from._internal_metadata_);
900 _this->_impl_.parameters_.MergeFrom(from._impl_.parameters_);
901 _impl_.name_.InitDefault();
902 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
903 _impl_.name_.Set("", GetArenaForAllocation());
904 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
905 if (!from._internal_name().empty()) {
906 _this->_impl_.name_.Set(from._internal_name(), _this->GetArenaForAllocation());
907 }
908 _impl_.message_.InitDefault();
909 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
910 _impl_.message_.Set("", GetArenaForAllocation());
911 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
912 if (!from._internal_message().empty()) {
913 _this->_impl_.message_.Set(from._internal_message(), _this->GetArenaForAllocation());
914 }
915 _impl_.severity_.InitDefault();
916 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
917 _impl_.severity_.Set("", GetArenaForAllocation());
918 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
919 if (!from._internal_severity().empty()) {
920 _this->_impl_.severity_.Set(from._internal_severity(), _this->GetArenaForAllocation());
921 }
922 if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
923 _this->_impl_.context_ = new ::dunedaq::ersschema::Context(*from._impl_.context_);
924 }
925 _this->_impl_.time_ = from._impl_.time_;
926
927 // @@protoc_insertion_point(copy_constructor:dunedaq.ersschema.SimpleIssue)
928}
929inline void SimpleIssue::SharedCtor(::_pb::Arena* arena) {
930 (void)arena;
931 new (&_impl_) Impl_{
932 decltype(_impl_._has_bits_){},
933 /*decltype(_impl_._cached_size_)*/ {},
934 decltype(_impl_.inheritance_){arena},
935 /* decltype(_impl_.parameters_) */ {::google::protobuf::internal::ArenaInitialized(), arena},
936 decltype(_impl_.name_){},
937 decltype(_impl_.message_){},
938 decltype(_impl_.severity_){},
939 decltype(_impl_.context_){nullptr},
940 decltype(_impl_.time_){::uint64_t{0u}},
941 };
942 _impl_.name_.InitDefault();
943 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
944 _impl_.name_.Set("", GetArenaForAllocation());
945 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
946 _impl_.message_.InitDefault();
947 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
948 _impl_.message_.Set("", GetArenaForAllocation());
949 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
950 _impl_.severity_.InitDefault();
951 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
952 _impl_.severity_.Set("", GetArenaForAllocation());
953 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
954}
956 // @@protoc_insertion_point(destructor:dunedaq.ersschema.SimpleIssue)
957 _internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
958 SharedDtor();
959}
961 ABSL_DCHECK(GetArenaForAllocation() == nullptr);
962 _internal_mutable_inheritance()->~RepeatedPtrField();
963 _impl_.parameters_.~MapField();
964 _impl_.name_.Destroy();
965 _impl_.message_.Destroy();
966 _impl_.severity_.Destroy();
967 if (this != internal_default_instance()) delete _impl_.context_;
968}
971}
972
973PROTOBUF_NOINLINE void SimpleIssue::Clear() {
974// @@protoc_insertion_point(message_clear_start:dunedaq.ersschema.SimpleIssue)
975 ::uint32_t cached_has_bits = 0;
976 // Prevent compiler warnings about cached_has_bits being unused
977 (void) cached_has_bits;
978
980 _impl_.parameters_.Clear();
981 _impl_.name_.ClearToEmpty();
982 _impl_.message_.ClearToEmpty();
983 _impl_.severity_.ClearToEmpty();
984 cached_has_bits = _impl_._has_bits_[0];
985 if (cached_has_bits & 0x00000001u) {
986 ABSL_DCHECK(_impl_.context_ != nullptr);
988 }
989 _impl_.time_ = ::uint64_t{0u};
990 _impl_._has_bits_.Clear();
991 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
992}
993
995 const char* ptr, ::_pbi::ParseContext* ctx) {
996 ptr = ::_pbi::TcParser::ParseLoop(this, ptr, ctx, &_table_.header);
997 return ptr;
998}
999
1000
1001PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
1002const ::_pbi::TcParseTable<3, 7, 2, 78, 2> SimpleIssue::_table_ = {
1003 {
1004 PROTOBUF_FIELD_OFFSET(SimpleIssue, _impl_._has_bits_),
1005 0, // no _extensions_
1006 11, 56, // max_field_number, fast_idx_mask
1007 offsetof(decltype(_table_), field_lookup_table),
1008 4294966208, // skipmap
1009 offsetof(decltype(_table_), field_entries),
1010 7, // num_field_entries
1011 2, // num_aux_entries
1012 offsetof(decltype(_table_), aux_entries),
1014 ::_pbi::TcParser::GenericFallback, // fallback
1015 }, {{
1016 {::_pbi::TcParser::MiniParse, {}},
1017 // .dunedaq.ersschema.Context context = 1;
1018 {::_pbi::TcParser::FastMtS1,
1019 {10, 0, 0, PROTOBUF_FIELD_OFFSET(SimpleIssue, _impl_.context_)}},
1020 // string name = 2;
1021 {::_pbi::TcParser::FastUS1,
1022 {18, 63, 0, PROTOBUF_FIELD_OFFSET(SimpleIssue, _impl_.name_)}},
1023 // repeated string inheritance = 3;
1024 {::_pbi::TcParser::FastUR1,
1025 {26, 63, 0, PROTOBUF_FIELD_OFFSET(SimpleIssue, _impl_.inheritance_)}},
1026 // string message = 4;
1027 {::_pbi::TcParser::FastUS1,
1028 {34, 63, 0, PROTOBUF_FIELD_OFFSET(SimpleIssue, _impl_.message_)}},
1029 // string severity = 5;
1030 {::_pbi::TcParser::FastUS1,
1031 {42, 63, 0, PROTOBUF_FIELD_OFFSET(SimpleIssue, _impl_.severity_)}},
1032 // uint64 time = 6;
1033 {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(SimpleIssue, _impl_.time_), 63>(),
1034 {48, 63, 0, PROTOBUF_FIELD_OFFSET(SimpleIssue, _impl_.time_)}},
1035 {::_pbi::TcParser::MiniParse, {}},
1036 }}, {{
1037 65535, 65535
1038 }}, {{
1039 // .dunedaq.ersschema.Context context = 1;
1040 {PROTOBUF_FIELD_OFFSET(SimpleIssue, _impl_.context_), _Internal::kHasBitsOffset + 0, 0,
1041 (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
1042 // string name = 2;
1043 {PROTOBUF_FIELD_OFFSET(SimpleIssue, _impl_.name_), -1, 0,
1044 (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)},
1045 // repeated string inheritance = 3;
1046 {PROTOBUF_FIELD_OFFSET(SimpleIssue, _impl_.inheritance_), -1, 0,
1047 (0 | ::_fl::kFcRepeated | ::_fl::kUtf8String | ::_fl::kRepSString)},
1048 // string message = 4;
1049 {PROTOBUF_FIELD_OFFSET(SimpleIssue, _impl_.message_), -1, 0,
1050 (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)},
1051 // string severity = 5;
1052 {PROTOBUF_FIELD_OFFSET(SimpleIssue, _impl_.severity_), -1, 0,
1053 (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)},
1054 // uint64 time = 6;
1055 {PROTOBUF_FIELD_OFFSET(SimpleIssue, _impl_.time_), -1, 0,
1056 (0 | ::_fl::kFcSingular | ::_fl::kUInt64)},
1057 // map<string, string> parameters = 11;
1058 {PROTOBUF_FIELD_OFFSET(SimpleIssue, _impl_.parameters_), -1, 1,
1059 (0 | ::_fl::kFcRepeated | ::_fl::kMap)},
1060 }}, {{
1061 {::_pbi::TcParser::GetTable<::dunedaq::ersschema::Context>()},
1062 {::_pbi::TcParser::GetMapAuxInfo<decltype(SimpleIssue()._impl_.parameters_)>(1, 0, 0)},
1063 }}, {{
1064 "\35\0\4\13\7\10\0\12"
1065 "dunedaq.ersschema.SimpleIssue"
1066 "name"
1067 "inheritance"
1068 "message"
1069 "severity"
1070 "parameters"
1071 }},
1072};
1073
1075 ::uint8_t* target,
1076 ::google::protobuf::io::EpsCopyOutputStream* stream) const {
1077 // @@protoc_insertion_point(serialize_to_array_start:dunedaq.ersschema.SimpleIssue)
1078 ::uint32_t cached_has_bits = 0;
1079 (void)cached_has_bits;
1080
1081 cached_has_bits = _impl_._has_bits_[0];
1082 // .dunedaq.ersschema.Context context = 1;
1083 if (cached_has_bits & 0x00000001u) {
1084 target = ::google::protobuf::internal::WireFormatLite::
1085 InternalWriteMessage(1, _Internal::context(this),
1086 _Internal::context(this).GetCachedSize(), target, stream);
1087 }
1088
1089 // string name = 2;
1090 if (!this->_internal_name().empty()) {
1091 const std::string& _s = this->_internal_name();
1092 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
1093 _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "dunedaq.ersschema.SimpleIssue.name");
1094 target = stream->WriteStringMaybeAliased(2, _s, target);
1095 }
1096
1097 // repeated string inheritance = 3;
1098 for (int i = 0, n = this->_internal_inheritance_size(); i < n; ++i) {
1099 const auto& s = this->_internal_inheritance().Get(i);
1100 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
1101 s.data(), static_cast<int>(s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "dunedaq.ersschema.SimpleIssue.inheritance");
1102 target = stream->WriteString(3, s, target);
1103 }
1104
1105 // string message = 4;
1106 if (!this->_internal_message().empty()) {
1107 const std::string& _s = this->_internal_message();
1108 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
1109 _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "dunedaq.ersschema.SimpleIssue.message");
1110 target = stream->WriteStringMaybeAliased(4, _s, target);
1111 }
1112
1113 // string severity = 5;
1114 if (!this->_internal_severity().empty()) {
1115 const std::string& _s = this->_internal_severity();
1116 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
1117 _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "dunedaq.ersschema.SimpleIssue.severity");
1118 target = stream->WriteStringMaybeAliased(5, _s, target);
1119 }
1120
1121 // uint64 time = 6;
1122 if (this->_internal_time() != 0) {
1123 target = stream->EnsureSpace(target);
1124 target = ::_pbi::WireFormatLite::WriteUInt64ToArray(
1125 6, this->_internal_time(), target);
1126 }
1127
1128 // map<string, string> parameters = 11;
1129 if (!_internal_parameters().empty()) {
1130 using MapType = ::google::protobuf::Map<std::string, std::string>;
1131 using WireHelper = SimpleIssue_ParametersEntry_DoNotUse::Funcs;
1132 const auto& field = _internal_parameters();
1133
1134 if (stream->IsSerializationDeterministic() && field.size() > 1) {
1135 for (const auto& entry : ::google::protobuf::internal::MapSorterPtr<MapType>(field)) {
1136 target = WireHelper::InternalSerialize(
1137 11, entry.first, entry.second, target, stream);
1138 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
1139 entry.first.data(), static_cast<int>(entry.first.length()),
1140 ::google::protobuf::internal::WireFormatLite::SERIALIZE, "dunedaq.ersschema.SimpleIssue.parameters");
1141 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
1142 entry.second.data(), static_cast<int>(entry.second.length()),
1143 ::google::protobuf::internal::WireFormatLite::SERIALIZE, "dunedaq.ersschema.SimpleIssue.parameters");
1144 }
1145 } else {
1146 for (const auto& entry : field) {
1147 target = WireHelper::InternalSerialize(
1148 11, entry.first, entry.second, target, stream);
1149 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
1150 entry.first.data(), static_cast<int>(entry.first.length()),
1151 ::google::protobuf::internal::WireFormatLite::SERIALIZE, "dunedaq.ersschema.SimpleIssue.parameters");
1152 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
1153 entry.second.data(), static_cast<int>(entry.second.length()),
1154 ::google::protobuf::internal::WireFormatLite::SERIALIZE, "dunedaq.ersschema.SimpleIssue.parameters");
1155 }
1156 }
1157 }
1158
1159 if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
1160 target =
1161 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
1162 _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
1163 }
1164 // @@protoc_insertion_point(serialize_to_array_end:dunedaq.ersschema.SimpleIssue)
1165 return target;
1166}
1167
1169// @@protoc_insertion_point(message_byte_size_start:dunedaq.ersschema.SimpleIssue)
1170 ::size_t total_size = 0;
1171
1172 ::uint32_t cached_has_bits = 0;
1173 // Prevent compiler warnings about cached_has_bits being unused
1174 (void) cached_has_bits;
1175
1176 // repeated string inheritance = 3;
1177 total_size += 1 * ::google::protobuf::internal::FromIntSize(_internal_inheritance().size());
1178 for (int i = 0, n = _internal_inheritance().size(); i < n; ++i) {
1179 total_size += ::google::protobuf::internal::WireFormatLite::StringSize(
1180 _internal_inheritance().Get(i));
1181 }
1182 // map<string, string> parameters = 11;
1183 total_size += 1 * ::google::protobuf::internal::FromIntSize(_internal_parameters_size());
1184 for (const auto& entry : _internal_parameters()) {
1185 total_size += SimpleIssue_ParametersEntry_DoNotUse::Funcs::ByteSizeLong(entry.first, entry.second);
1186 }
1187 // string name = 2;
1188 if (!this->_internal_name().empty()) {
1189 total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
1190 this->_internal_name());
1191 }
1192
1193 // string message = 4;
1194 if (!this->_internal_message().empty()) {
1195 total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
1196 this->_internal_message());
1197 }
1198
1199 // string severity = 5;
1200 if (!this->_internal_severity().empty()) {
1201 total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
1202 this->_internal_severity());
1203 }
1204
1205 // .dunedaq.ersschema.Context context = 1;
1206 cached_has_bits = _impl_._has_bits_[0];
1207 if (cached_has_bits & 0x00000001u) {
1208 total_size += 1 +
1209 ::google::protobuf::internal::WireFormatLite::MessageSize(
1210 *_impl_.context_);
1211 }
1212
1213 // uint64 time = 6;
1214 if (this->_internal_time() != 0) {
1215 total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(
1216 this->_internal_time());
1217 }
1218
1219 return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
1220}
1221
1222const ::google::protobuf::Message::ClassData SimpleIssue::_class_data_ = {
1223 ::google::protobuf::Message::CopyWithSourceCheck,
1225};
1226const ::google::protobuf::Message::ClassData*SimpleIssue::GetClassData() const { return &_class_data_; }
1227
1228
1229void SimpleIssue::MergeImpl(::google::protobuf::Message& to_msg, const ::google::protobuf::Message& from_msg) {
1230 auto* const _this = static_cast<SimpleIssue*>(&to_msg);
1231 auto& from = static_cast<const SimpleIssue&>(from_msg);
1232 // @@protoc_insertion_point(class_specific_merge_from_start:dunedaq.ersschema.SimpleIssue)
1233 ABSL_DCHECK_NE(&from, _this);
1234 ::uint32_t cached_has_bits = 0;
1235 (void) cached_has_bits;
1236
1237 _this->_internal_mutable_inheritance()->MergeFrom(from._internal_inheritance());
1238 _this->_impl_.parameters_.MergeFrom(from._impl_.parameters_);
1239 if (!from._internal_name().empty()) {
1240 _this->_internal_set_name(from._internal_name());
1241 }
1242 if (!from._internal_message().empty()) {
1243 _this->_internal_set_message(from._internal_message());
1244 }
1245 if (!from._internal_severity().empty()) {
1246 _this->_internal_set_severity(from._internal_severity());
1247 }
1248 if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
1249 _this->_internal_mutable_context()->::dunedaq::ersschema::Context::MergeFrom(
1250 from._internal_context());
1251 }
1252 if (from._internal_time() != 0) {
1253 _this->_internal_set_time(from._internal_time());
1254 }
1255 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
1256}
1257
1259// @@protoc_insertion_point(class_specific_copy_from_start:dunedaq.ersschema.SimpleIssue)
1260 if (&from == this) return;
1261 Clear();
1262 MergeFrom(from);
1263}
1264
1265PROTOBUF_NOINLINE bool SimpleIssue::IsInitialized() const {
1266 return true;
1267}
1268
1270 using std::swap;
1271 auto* lhs_arena = GetArenaForAllocation();
1272 auto* rhs_arena = other->GetArenaForAllocation();
1273 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
1274 swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
1275 _impl_.inheritance_.InternalSwap(&other->_impl_.inheritance_);
1276 _impl_.parameters_.InternalSwap(&other->_impl_.parameters_);
1277 ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.name_, lhs_arena,
1278 &other->_impl_.name_, rhs_arena);
1279 ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.message_, lhs_arena,
1280 &other->_impl_.message_, rhs_arena);
1281 ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.severity_, lhs_arena,
1282 &other->_impl_.severity_, rhs_arena);
1283 ::google::protobuf::internal::memswap<
1284 PROTOBUF_FIELD_OFFSET(SimpleIssue, _impl_.time_)
1285 + sizeof(SimpleIssue::_impl_.time_)
1286 - PROTOBUF_FIELD_OFFSET(SimpleIssue, _impl_.context_)>(
1287 reinterpret_cast<char*>(&_impl_.context_),
1288 reinterpret_cast<char*>(&other->_impl_.context_));
1289}
1290
1291::google::protobuf::Metadata SimpleIssue::GetMetadata() const {
1292 return ::_pbi::AssignDescriptors(
1295}
1296// ===================================================================
1297
1299 public:
1300 using HasBits = decltype(std::declval<IssueChain>()._impl_._has_bits_);
1301 static constexpr ::int32_t kHasBitsOffset =
1302 8 * PROTOBUF_FIELD_OFFSET(IssueChain, _impl_._has_bits_);
1303 static const ::dunedaq::ersschema::SimpleIssue& final(const IssueChain* msg);
1304 static void set_has_final(HasBits* has_bits) {
1305 (*has_bits)[0] |= 1u;
1306 }
1307};
1308
1309const ::dunedaq::ersschema::SimpleIssue& IssueChain::_Internal::final(const IssueChain* msg) {
1310 return *msg->_impl_.final_;
1311}
1312IssueChain::IssueChain(::google::protobuf::Arena* arena)
1313 : ::google::protobuf::Message(arena) {
1314 SharedCtor(arena);
1315 // @@protoc_insertion_point(arena_constructor:dunedaq.ersschema.IssueChain)
1316}
1317IssueChain::IssueChain(const IssueChain& from) : ::google::protobuf::Message() {
1318 IssueChain* const _this = this;
1319 (void)_this;
1320 new (&_impl_) Impl_{
1321 decltype(_impl_._has_bits_){from._impl_._has_bits_},
1322 /*decltype(_impl_._cached_size_)*/ {},
1323 decltype(_impl_.causes_){from._impl_.causes_},
1324 decltype(_impl_.session_){},
1325 decltype(_impl_.application_){},
1326 decltype(_impl_.module_){},
1327 decltype(_impl_.final_){nullptr},
1328 };
1329 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
1330 from._internal_metadata_);
1331 _impl_.session_.InitDefault();
1332 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1333 _impl_.session_.Set("", GetArenaForAllocation());
1334 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
1335 if (!from._internal_session().empty()) {
1336 _this->_impl_.session_.Set(from._internal_session(), _this->GetArenaForAllocation());
1337 }
1338 _impl_.application_.InitDefault();
1339 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1340 _impl_.application_.Set("", GetArenaForAllocation());
1341 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
1342 if (!from._internal_application().empty()) {
1343 _this->_impl_.application_.Set(from._internal_application(), _this->GetArenaForAllocation());
1344 }
1345 _impl_.module_.InitDefault();
1346 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1347 _impl_.module_.Set("", GetArenaForAllocation());
1348 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
1349 if (!from._internal_module().empty()) {
1350 _this->_impl_.module_.Set(from._internal_module(), _this->GetArenaForAllocation());
1351 }
1352 if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
1353 _this->_impl_.final_ = new ::dunedaq::ersschema::SimpleIssue(*from._impl_.final_);
1354 }
1355
1356 // @@protoc_insertion_point(copy_constructor:dunedaq.ersschema.IssueChain)
1357}
1358inline void IssueChain::SharedCtor(::_pb::Arena* arena) {
1359 (void)arena;
1360 new (&_impl_) Impl_{
1361 decltype(_impl_._has_bits_){},
1362 /*decltype(_impl_._cached_size_)*/ {},
1363 decltype(_impl_.causes_){arena},
1364 decltype(_impl_.session_){},
1365 decltype(_impl_.application_){},
1366 decltype(_impl_.module_){},
1367 decltype(_impl_.final_){nullptr},
1368 };
1369 _impl_.session_.InitDefault();
1370 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1371 _impl_.session_.Set("", GetArenaForAllocation());
1372 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
1373 _impl_.application_.InitDefault();
1374 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1375 _impl_.application_.Set("", GetArenaForAllocation());
1376 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
1377 _impl_.module_.InitDefault();
1378 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1379 _impl_.module_.Set("", GetArenaForAllocation());
1380 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
1381}
1383 // @@protoc_insertion_point(destructor:dunedaq.ersschema.IssueChain)
1384 _internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
1385 SharedDtor();
1386}
1388 ABSL_DCHECK(GetArenaForAllocation() == nullptr);
1389 _impl_.causes_.~RepeatedPtrField();
1390 _impl_.session_.Destroy();
1391 _impl_.application_.Destroy();
1392 _impl_.module_.Destroy();
1393 if (this != internal_default_instance()) delete _impl_.final_;
1394}
1397}
1398
1399PROTOBUF_NOINLINE void IssueChain::Clear() {
1400// @@protoc_insertion_point(message_clear_start:dunedaq.ersschema.IssueChain)
1401 ::uint32_t cached_has_bits = 0;
1402 // Prevent compiler warnings about cached_has_bits being unused
1403 (void) cached_has_bits;
1404
1405 _internal_mutable_causes()->Clear();
1406 _impl_.session_.ClearToEmpty();
1407 _impl_.application_.ClearToEmpty();
1408 _impl_.module_.ClearToEmpty();
1409 cached_has_bits = _impl_._has_bits_[0];
1410 if (cached_has_bits & 0x00000001u) {
1411 ABSL_DCHECK(_impl_.final_ != nullptr);
1412 _impl_.final_->Clear();
1413 }
1414 _impl_._has_bits_.Clear();
1415 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
1416}
1417
1419 const char* ptr, ::_pbi::ParseContext* ctx) {
1420 ptr = ::_pbi::TcParser::ParseLoop(this, ptr, ctx, &_table_.header);
1421 return ptr;
1422}
1423
1424
1425PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
1426const ::_pbi::TcParseTable<2, 5, 2, 61, 2> IssueChain::_table_ = {
1427 {
1428 PROTOBUF_FIELD_OFFSET(IssueChain, _impl_._has_bits_),
1429 0, // no _extensions_
1430 12, 24, // max_field_number, fast_idx_mask
1431 offsetof(decltype(_table_), field_lookup_table),
1432 4294963708, // skipmap
1433 offsetof(decltype(_table_), field_entries),
1434 5, // num_field_entries
1435 2, // num_aux_entries
1436 offsetof(decltype(_table_), aux_entries),
1438 ::_pbi::TcParser::GenericFallback, // fallback
1439 }, {{
1440 // string module = 12;
1441 {::_pbi::TcParser::FastUS1,
1442 {98, 63, 0, PROTOBUF_FIELD_OFFSET(IssueChain, _impl_.module_)}},
1443 // .dunedaq.ersschema.SimpleIssue final = 1;
1444 {::_pbi::TcParser::FastMtS1,
1445 {10, 0, 0, PROTOBUF_FIELD_OFFSET(IssueChain, _impl_.final_)}},
1446 // repeated .dunedaq.ersschema.SimpleIssue causes = 2;
1447 {::_pbi::TcParser::FastMtR1,
1448 {18, 63, 1, PROTOBUF_FIELD_OFFSET(IssueChain, _impl_.causes_)}},
1449 // string application = 11;
1450 {::_pbi::TcParser::FastUS1,
1451 {90, 63, 0, PROTOBUF_FIELD_OFFSET(IssueChain, _impl_.application_)}},
1452 }}, {{
1453 65535, 65535
1454 }}, {{
1455 // .dunedaq.ersschema.SimpleIssue final = 1;
1456 {PROTOBUF_FIELD_OFFSET(IssueChain, _impl_.final_), _Internal::kHasBitsOffset + 0, 0,
1457 (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
1458 // repeated .dunedaq.ersschema.SimpleIssue causes = 2;
1459 {PROTOBUF_FIELD_OFFSET(IssueChain, _impl_.causes_), -1, 1,
1460 (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
1461 // string session = 10;
1462 {PROTOBUF_FIELD_OFFSET(IssueChain, _impl_.session_), -1, 0,
1463 (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)},
1464 // string application = 11;
1465 {PROTOBUF_FIELD_OFFSET(IssueChain, _impl_.application_), -1, 0,
1466 (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)},
1467 // string module = 12;
1468 {PROTOBUF_FIELD_OFFSET(IssueChain, _impl_.module_), -1, 0,
1469 (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)},
1470 }}, {{
1471 {::_pbi::TcParser::GetTable<::dunedaq::ersschema::SimpleIssue>()},
1472 {::_pbi::TcParser::GetTable<::dunedaq::ersschema::SimpleIssue>()},
1473 }}, {{
1474 "\34\0\0\7\13\6\0\0"
1475 "dunedaq.ersschema.IssueChain"
1476 "session"
1477 "application"
1478 "module"
1479 }},
1480};
1481
1483 ::uint8_t* target,
1484 ::google::protobuf::io::EpsCopyOutputStream* stream) const {
1485 // @@protoc_insertion_point(serialize_to_array_start:dunedaq.ersschema.IssueChain)
1486 ::uint32_t cached_has_bits = 0;
1487 (void)cached_has_bits;
1488
1489 cached_has_bits = _impl_._has_bits_[0];
1490 // .dunedaq.ersschema.SimpleIssue final = 1;
1491 if (cached_has_bits & 0x00000001u) {
1492 target = ::google::protobuf::internal::WireFormatLite::
1493 InternalWriteMessage(1, _Internal::final(this),
1494 _Internal::final(this).GetCachedSize(), target, stream);
1495 }
1496
1497 // repeated .dunedaq.ersschema.SimpleIssue causes = 2;
1498 for (unsigned i = 0,
1499 n = static_cast<unsigned>(this->_internal_causes_size()); i < n; i++) {
1500 const auto& repfield = this->_internal_causes().Get(i);
1501 target = ::google::protobuf::internal::WireFormatLite::
1502 InternalWriteMessage(2, repfield, repfield.GetCachedSize(), target, stream);
1503 }
1504
1505 // string session = 10;
1506 if (!this->_internal_session().empty()) {
1507 const std::string& _s = this->_internal_session();
1508 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
1509 _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "dunedaq.ersschema.IssueChain.session");
1510 target = stream->WriteStringMaybeAliased(10, _s, target);
1511 }
1512
1513 // string application = 11;
1514 if (!this->_internal_application().empty()) {
1515 const std::string& _s = this->_internal_application();
1516 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
1517 _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "dunedaq.ersschema.IssueChain.application");
1518 target = stream->WriteStringMaybeAliased(11, _s, target);
1519 }
1520
1521 // string module = 12;
1522 if (!this->_internal_module().empty()) {
1523 const std::string& _s = this->_internal_module();
1524 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
1525 _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "dunedaq.ersschema.IssueChain.module");
1526 target = stream->WriteStringMaybeAliased(12, _s, target);
1527 }
1528
1529 if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
1530 target =
1531 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
1532 _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
1533 }
1534 // @@protoc_insertion_point(serialize_to_array_end:dunedaq.ersschema.IssueChain)
1535 return target;
1536}
1537
1539// @@protoc_insertion_point(message_byte_size_start:dunedaq.ersschema.IssueChain)
1540 ::size_t total_size = 0;
1541
1542 ::uint32_t cached_has_bits = 0;
1543 // Prevent compiler warnings about cached_has_bits being unused
1544 (void) cached_has_bits;
1545
1546 // repeated .dunedaq.ersschema.SimpleIssue causes = 2;
1547 total_size += 1UL * this->_internal_causes_size();
1548 for (const auto& msg : this->_internal_causes()) {
1549 total_size +=
1550 ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
1551 }
1552 // string session = 10;
1553 if (!this->_internal_session().empty()) {
1554 total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
1555 this->_internal_session());
1556 }
1557
1558 // string application = 11;
1559 if (!this->_internal_application().empty()) {
1560 total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
1561 this->_internal_application());
1562 }
1563
1564 // string module = 12;
1565 if (!this->_internal_module().empty()) {
1566 total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
1567 this->_internal_module());
1568 }
1569
1570 // .dunedaq.ersschema.SimpleIssue final = 1;
1571 cached_has_bits = _impl_._has_bits_[0];
1572 if (cached_has_bits & 0x00000001u) {
1573 total_size += 1 +
1574 ::google::protobuf::internal::WireFormatLite::MessageSize(
1575 *_impl_.final_);
1576 }
1577
1578 return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
1579}
1580
1581const ::google::protobuf::Message::ClassData IssueChain::_class_data_ = {
1582 ::google::protobuf::Message::CopyWithSourceCheck,
1584};
1585const ::google::protobuf::Message::ClassData*IssueChain::GetClassData() const { return &_class_data_; }
1586
1587
1588void IssueChain::MergeImpl(::google::protobuf::Message& to_msg, const ::google::protobuf::Message& from_msg) {
1589 auto* const _this = static_cast<IssueChain*>(&to_msg);
1590 auto& from = static_cast<const IssueChain&>(from_msg);
1591 // @@protoc_insertion_point(class_specific_merge_from_start:dunedaq.ersschema.IssueChain)
1592 ABSL_DCHECK_NE(&from, _this);
1593 ::uint32_t cached_has_bits = 0;
1594 (void) cached_has_bits;
1595
1596 _this->_internal_mutable_causes()->MergeFrom(from._internal_causes());
1597 if (!from._internal_session().empty()) {
1598 _this->_internal_set_session(from._internal_session());
1599 }
1600 if (!from._internal_application().empty()) {
1601 _this->_internal_set_application(from._internal_application());
1602 }
1603 if (!from._internal_module().empty()) {
1604 _this->_internal_set_module(from._internal_module());
1605 }
1606 if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
1607 _this->_internal_mutable_final()->::dunedaq::ersschema::SimpleIssue::MergeFrom(
1608 from._internal_final());
1609 }
1610 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
1611}
1612
1614// @@protoc_insertion_point(class_specific_copy_from_start:dunedaq.ersschema.IssueChain)
1615 if (&from == this) return;
1616 Clear();
1617 MergeFrom(from);
1618}
1619
1620PROTOBUF_NOINLINE bool IssueChain::IsInitialized() const {
1621 return true;
1622}
1623
1625 using std::swap;
1626 auto* lhs_arena = GetArenaForAllocation();
1627 auto* rhs_arena = other->GetArenaForAllocation();
1628 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
1629 swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
1630 _impl_.causes_.InternalSwap(&other->_impl_.causes_);
1631 ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.session_, lhs_arena,
1632 &other->_impl_.session_, rhs_arena);
1633 ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.application_, lhs_arena,
1634 &other->_impl_.application_, rhs_arena);
1635 ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.module_, lhs_arena,
1636 &other->_impl_.module_, rhs_arena);
1637 swap(_impl_.final_, other->_impl_.final_);
1638}
1639
1640::google::protobuf::Metadata IssueChain::GetMetadata() const {
1641 return ::_pbi::AssignDescriptors(
1644}
1645// @@protoc_insertion_point(namespace_scope)
1646} // namespace ersschema
1647} // namespace dunedaq
1648namespace google {
1649namespace protobuf {
1650} // namespace protobuf
1651} // namespace google
1652// @@protoc_insertion_point(global_scope)
1653#include "google/protobuf/port_undef.inc"
::uint8_t * _InternalSerialize(::uint8_t *target, ::google::protobuf::io::EpsCopyOutputStream *stream) const final
Definition issue.pb.cc:579
void CopyFrom(const Context &from)
Definition issue.pb.cc:807
::google::protobuf::Metadata GetMetadata() const final
Definition issue.pb.cc:845
static const ::google::protobuf::internal::TcParseTable< 4, 11, 0, 113, 2 > _table_
Definition issue.pb.h:385
::uint32_t _internal_process_id() const
Definition issue.pb.h:1260
void InternalSwap(Context *other)
Definition issue.pb.cc:818
void MergeFrom(const Context &from)
Definition issue.pb.h:176
::uint32_t _internal_line_number() const
Definition issue.pb.h:1187
static const ClassData _class_data_
Definition issue.pb.h:206
const std::string & _internal_file_name() const
Definition issue.pb.h:1043
::size_t ByteSizeLong() const final
Definition issue.pb.cc:679
const std::string & _internal_user_name() const
Definition issue.pb.h:1335
bool IsInitialized() const final
Definition issue.pb.cc:814
void SharedCtor(::google::protobuf::Arena *arena)
Definition issue.pb.cc:385
const ::google::protobuf::Message::ClassData * GetClassData() const final
Definition issue.pb.cc:760
const std::string & _internal_application_name() const
Definition issue.pb.h:1386
const std::string & _internal_host_name() const
Definition issue.pb.h:1145
const char * _InternalParse(const char *ptr, ::google::protobuf::internal::ParseContext *ctx) final
Definition issue.pb.cc:468
::uint32_t _internal_thread_id() const
Definition issue.pb.h:1282
const std::string & _internal_package_name() const
Definition issue.pb.h:1218
void SetCachedSize(int size) const final
Definition issue.pb.cc:445
static void MergeImpl(::google::protobuf::Message &to_msg, const ::google::protobuf::Message &from_msg)
Definition issue.pb.cc:763
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
Definition issue.pb.cc:449
::uint32_t _internal_user_id() const
Definition issue.pb.h:1304
const std::string & _internal_function_name() const
Definition issue.pb.h:1094
const std::string & _internal_cwd() const
Definition issue.pb.h:992
static const ::dunedaq::ersschema::SimpleIssue & final(const IssueChain *msg)
Definition issue.pb.cc:1309
static void set_has_final(HasBits *has_bits)
Definition issue.pb.cc:1304
decltype(std::declval< IssueChain >()._impl_._has_bits_) HasBits
Definition issue.pb.cc:1300
static constexpr ::int32_t kHasBitsOffset
Definition issue.pb.cc:1301
static void MergeImpl(::google::protobuf::Message &to_msg, const ::google::protobuf::Message &from_msg)
Definition issue.pb.cc:1588
const ::google::protobuf::RepeatedPtrField<::dunedaq::ersschema::SimpleIssue > & _internal_causes() const
Definition issue.pb.h:1952
void CopyFrom(const IssueChain &from)
Definition issue.pb.cc:1613
const char * _InternalParse(const char *ptr, ::google::protobuf::internal::ParseContext *ctx) final
Definition issue.pb.cc:1418
const std::string & _internal_module() const
Definition issue.pb.h:2085
void SetCachedSize(int size) const final
Definition issue.pb.cc:1395
int GetCachedSize() const final
Definition issue.pb.h:818
static const IssueChain * internal_default_instance()
Definition issue.pb.h:768
::size_t ByteSizeLong() const final
Definition issue.pb.cc:1538
void MergeFrom(const IssueChain &from)
Definition issue.pb.h:805
void InternalSwap(IssueChain *other)
Definition issue.pb.cc:1624
const std::string & _internal_session() const
Definition issue.pb.h:1983
friend void swap(IssueChain &a, IssueChain &b)
Definition issue.pb.h:775
static const ClassData _class_data_
Definition issue.pb.h:835
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
Definition issue.pb.cc:1399
::google::protobuf::Metadata GetMetadata() const final
Definition issue.pb.cc:1640
const std::string & _internal_application() const
Definition issue.pb.h:2034
static const ::google::protobuf::internal::TcParseTable< 2, 5, 2, 61, 2 > _table_
Definition issue.pb.h:937
::uint8_t * _InternalSerialize(::uint8_t *target, ::google::protobuf::io::EpsCopyOutputStream *stream) const final
Definition issue.pb.cc:1482
bool IsInitialized() const final
Definition issue.pb.cc:1620
void SharedCtor(::google::protobuf::Arena *arena)
Definition issue.pb.cc:1358
::google::protobuf::RepeatedPtrField<::dunedaq::ersschema::SimpleIssue > * _internal_mutable_causes()
Definition issue.pb.h:1957
const ::google::protobuf::Message::ClassData * GetClassData() const final
Definition issue.pb.cc:1585
static void set_has_context(HasBits *has_bits)
Definition issue.pb.cc:871
static const ::dunedaq::ersschema::Context & context(const SimpleIssue *msg)
Definition issue.pb.cc:876
decltype(std::declval< SimpleIssue >()._impl_._has_bits_) HasBits
Definition issue.pb.cc:867
static constexpr ::int32_t kHasBitsOffset
Definition issue.pb.cc:868
::google::protobuf::internal::MapEntry< SimpleIssue_ParametersEntry_DoNotUse, std::string, std::string, ::google::protobuf::internal::WireFormatLite::TYPE_STRING, ::google::protobuf::internal::WireFormatLite::TYPE_STRING > SuperType
Definition issue.pb.h:416
void MergeFrom(const SimpleIssue_ParametersEntry_DoNotUse &other)
Definition issue.pb.cc:855
::google::protobuf::Metadata GetMetadata() const final
Definition issue.pb.cc:858
void SetCachedSize(int size) const final
Definition issue.pb.cc:969
const std::string & _internal_message() const
Definition issue.pb.h:1686
::google::protobuf::RepeatedPtrField< std::string > * _internal_mutable_inheritance()
Definition issue.pb.h:1660
const ::google::protobuf::Map< std::string, std::string > & _internal_parameters() const
Definition issue.pb.h:1799
void InternalSwap(SimpleIssue *other)
Definition issue.pb.cc:1269
::google::protobuf::Metadata GetMetadata() const final
Definition issue.pb.cc:1291
const std::string & _internal_severity() const
Definition issue.pb.h:1737
const ::google::protobuf::Message::ClassData * GetClassData() const final
Definition issue.pb.cc:1226
::size_t ByteSizeLong() const final
Definition issue.pb.cc:1168
bool IsInitialized() const final
Definition issue.pb.cc:1265
::uint64_t _internal_time() const
Definition issue.pb.h:1779
::uint8_t * _InternalSerialize(::uint8_t *target, ::google::protobuf::io::EpsCopyOutputStream *stream) const final
Definition issue.pb.cc:1074
friend void swap(SimpleIssue &a, SimpleIssue &b)
Definition issue.pb.h:494
const ::google::protobuf::RepeatedPtrField< std::string > & _internal_inheritance() const
Definition issue.pb.h:1655
void SharedCtor(::google::protobuf::Arena *arena)
Definition issue.pb.cc:929
static const SimpleIssue * internal_default_instance()
Definition issue.pb.h:487
void CopyFrom(const SimpleIssue &from)
Definition issue.pb.cc:1258
int GetCachedSize() const final
Definition issue.pb.h:537
static void MergeImpl(::google::protobuf::Message &to_msg, const ::google::protobuf::Message &from_msg)
Definition issue.pb.cc:1229
void MergeFrom(const SimpleIssue &from)
Definition issue.pb.h:524
const ::dunedaq::ersschema::Context & context() const
Definition issue.pb.h:1437
static const ClassData _class_data_
Definition issue.pb.h:554
const std::string & _internal_name() const
Definition issue.pb.h:1539
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
Definition issue.pb.cc:973
static const ::google::protobuf::internal::TcParseTable< 3, 7, 2, 78, 2 > _table_
Definition issue.pb.h:694
const char * _InternalParse(const char *ptr, ::google::protobuf::internal::ParseContext *ctx) final
Definition issue.pb.cc:994
const ::_pbi::DescriptorTable descriptor_table_ers_2fissue_2eproto
Definition issue.pb.cc:263
static constexprconst ::_pb::EnumDescriptor ** file_level_enum_descriptors_ers_2fissue_2eproto
Definition issue.pb.cc:150
::absl::once_flag descriptor_table_ers_2fissue_2eproto_once
Definition issue.pb.cc:262
static constexprconst ::_pb::ServiceDescriptor ** file_level_service_descriptors_ers_2fissue_2eproto
Definition issue.pb.cc:152
PROTOBUF_ATTRIBUTE_WEAKconst ::_pbi::DescriptorTable * descriptor_table_ers_2fissue_2eproto_getter()
Definition issue.pb.cc:292
::_pb::Metadata file_level_metadata_ers_2fissue_2eproto[4]
Definition issue.pb.cc:148
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SimpleIssue_ParametersEntry_DoNotUseDefaultTypeInternal _SimpleIssue_ParametersEntry_DoNotUse_default_instance_
Definition issue.pb.cc:83
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ContextDefaultTypeInternal _Context_default_instance_
Definition issue.pb.cc:71
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SimpleIssueDefaultTypeInternal _SimpleIssue_default_instance_
Definition issue.pb.cc:115
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 IssueChainDefaultTypeInternal _IssueChain_default_instance_
Definition issue.pb.cc:145
Including Qt Headers.
FELIX Initialization std::string initerror FELIX queue timed std::string queuename Unexpected chunk size
static const ::uint32_t offsets[]
Definition issue.pb.h:55
mutable::google::protobuf::internal::CachedSize _cached_size_
Definition issue.pb.h:401
::google::protobuf::internal::ArenaStringPtr application_name_
Definition issue.pb.h:396
::google::protobuf::internal::ArenaStringPtr file_name_
Definition issue.pb.h:391
::google::protobuf::internal::ArenaStringPtr user_name_
Definition issue.pb.h:395
::google::protobuf::internal::ArenaStringPtr function_name_
Definition issue.pb.h:392
::google::protobuf::internal::ArenaStringPtr package_name_
Definition issue.pb.h:394
::google::protobuf::internal::ArenaStringPtr host_name_
Definition issue.pb.h:393
::google::protobuf::internal::ArenaStringPtr cwd_
Definition issue.pb.h:390
mutable::google::protobuf::internal::CachedSize _cached_size_
Definition issue.pb.h:943
::google::protobuf::internal::HasBits< 1 > _has_bits_
Definition issue.pb.h:942
::google::protobuf::internal::ArenaStringPtr application_
Definition issue.pb.h:946
::google::protobuf::internal::ArenaStringPtr session_
Definition issue.pb.h:945
::google::protobuf::internal::ArenaStringPtr module_
Definition issue.pb.h:947
::google::protobuf::RepeatedPtrField< ::dunedaq::ersschema::SimpleIssue > causes_
Definition issue.pb.h:944
::dunedaq::ersschema::SimpleIssue * final_
Definition issue.pb.h:948
::google::protobuf::RepeatedPtrField< std::string > inheritance_
Definition issue.pb.h:701
::dunedaq::ersschema::Context * context_
Definition issue.pb.h:709
::google::protobuf::internal::HasBits< 1 > _has_bits_
Definition issue.pb.h:699
::google::protobuf::internal::ArenaStringPtr message_
Definition issue.pb.h:707
::google::protobuf::internal::ArenaStringPtr severity_
Definition issue.pb.h:708
::google::protobuf::internal::MapField< SimpleIssue_ParametersEntry_DoNotUse, std::string, std::string, ::google::protobuf::internal::WireFormatLite::TYPE_STRING, ::google::protobuf::internal::WireFormatLite::TYPE_STRING > parameters_
Definition issue.pb.h:705
::google::protobuf::internal::ArenaStringPtr name_
Definition issue.pb.h:706
mutable::google::protobuf::internal::CachedSize _cached_size_
Definition issue.pb.h:700
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