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"
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;
29 &::_pbi::fixed_address_empty_string,
30 ::_pbi::ConstantInitialized{},
45PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
48PROTOBUF_CONSTEXPR ComplexInfo::ComplexInfo(::_pbi::ConstantInitialized)
65PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
70static constexpr const ::_pb::EnumDescriptor**
72static constexpr const ::_pb::ServiceDescriptor**
104static const ::_pbi::MigrationSchema
115 "\n\031opmonlib/opmon/test.proto\022\rdunedaq.opm"
116 "on\"d\n\010TestInfo\022\026\n\016string_example\030\001 \001(\t\022\025"
117 "\n\rfloat_example\030\002 \001(\001\022\023\n\013int_example\030\003 \001"
118 "(\003\022\024\n\014bool_example\030\004 \001(\010\"c\n\013ComplexInfo\022"
119 "\025\n\ranother_float\030\001 \001(\002\022,\n\013sub_message\030\003 "
120 "\001(\0132\027.dunedaq.opmon.TestInfo\022\017\n\007r_field\030"
121 "\004 \003(\005b\006proto3"
128 descriptor_table_protodef_opmonlib_2fopmon_2ftest_2eproto,
129 "opmonlib/opmon/test.proto",
157PROTOBUF_ATTRIBUTE_INIT_PRIORITY2
168 : ::
google::protobuf::Message(arena) {
182 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
183 from._internal_metadata_);
185 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
189 _this->_impl_.string_example_.Set(from._internal_string_example(), _this->GetArenaForAllocation());
207 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
213 _internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
217 ABSL_DCHECK(GetArenaForAllocation() ==
nullptr);
226 ::uint32_t cached_has_bits = 0;
228 (void) cached_has_bits;
234 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
238 const char* ptr, ::_pbi::ParseContext* ctx) {
239 ptr = ::_pbi::TcParser::ParseLoop(
this, ptr, ctx, &
_table_.header);
244PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
250 offsetof(
decltype(_table_), field_lookup_table),
252 offsetof(
decltype(_table_), field_entries),
255 offsetof(
decltype(_table_), field_names),
257 ::_pbi::TcParser::GenericFallback,
260 {::_pbi::TcParser::SingularVarintNoZag1<bool, offsetof(TestInfo, _impl_.bool_example_), 63>(),
261 {32, 63, 0, PROTOBUF_FIELD_OFFSET(TestInfo, _impl_.bool_example_)}},
263 {::_pbi::TcParser::FastUS1,
264 {10, 63, 0, PROTOBUF_FIELD_OFFSET(TestInfo, _impl_.string_example_)}},
266 {::_pbi::TcParser::FastF64S1,
267 {17, 63, 0, PROTOBUF_FIELD_OFFSET(TestInfo, _impl_.float_example_)}},
269 {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(TestInfo, _impl_.int_example_), 63>(),
270 {24, 63, 0, PROTOBUF_FIELD_OFFSET(TestInfo, _impl_.int_example_)}},
275 {PROTOBUF_FIELD_OFFSET(TestInfo, _impl_.string_example_), 0, 0,
276 (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)},
278 {PROTOBUF_FIELD_OFFSET(TestInfo, _impl_.float_example_), 0, 0,
279 (0 | ::_fl::kFcSingular | ::_fl::kDouble)},
281 {PROTOBUF_FIELD_OFFSET(TestInfo, _impl_.int_example_), 0, 0,
282 (0 | ::_fl::kFcSingular | ::_fl::kInt64)},
284 {PROTOBUF_FIELD_OFFSET(TestInfo, _impl_.bool_example_), 0, 0,
285 (0 | ::_fl::kFcSingular | ::_fl::kBool)},
290 "dunedaq.opmon.TestInfo"
297 ::google::protobuf::io::EpsCopyOutputStream* stream)
const {
299 ::uint32_t cached_has_bits = 0;
300 (void)cached_has_bits;
305 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
306 _s.data(),
static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE,
"dunedaq.opmon.TestInfo.string_example");
307 target = stream->WriteStringMaybeAliased(1, _s, target);
311 static_assert(
sizeof(::uint64_t) ==
sizeof(double),
312 "Code assumes ::uint64_t and double are the same size.");
314 ::uint64_t raw_float_example;
315 memcpy(&raw_float_example, &tmp_float_example,
sizeof(tmp_float_example));
316 if (raw_float_example != 0) {
317 target = stream->EnsureSpace(target);
318 target = ::_pbi::WireFormatLite::WriteDoubleToArray(
324 target = ::google::protobuf::internal::WireFormatLite::
325 WriteInt64ToArrayWithField<3>(
331 target = stream->EnsureSpace(target);
332 target = ::_pbi::WireFormatLite::WriteBoolToArray(
336 if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
338 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
339 _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
347 ::size_t total_size = 0;
349 ::uint32_t cached_has_bits = 0;
351 (void) cached_has_bits;
355 total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
360 static_assert(
sizeof(::uint64_t) ==
sizeof(double),
361 "Code assumes ::uint64_t and double are the same size.");
363 ::uint64_t raw_float_example;
364 memcpy(&raw_float_example, &tmp_float_example,
sizeof(tmp_float_example));
365 if (raw_float_example != 0) {
371 total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
384 ::google::protobuf::Message::CopyWithSourceCheck,
390void TestInfo::MergeImpl(::google::protobuf::Message& to_msg, const ::google::protobuf::Message& from_msg) {
391 auto*
const _this =
static_cast<TestInfo*
>(&to_msg);
392 auto& from =
static_cast<const TestInfo&
>(from_msg);
394 ABSL_DCHECK_NE(&from, _this);
395 ::uint32_t cached_has_bits = 0;
396 (void) cached_has_bits;
398 if (!from._internal_string_example().empty()) {
399 _this->_internal_set_string_example(from._internal_string_example());
401 static_assert(
sizeof(::uint64_t) ==
sizeof(double),
402 "Code assumes ::uint64_t and double are the same size.");
403 double tmp_float_example = from._internal_float_example();
404 ::uint64_t raw_float_example;
405 memcpy(&raw_float_example, &tmp_float_example,
sizeof(tmp_float_example));
406 if (raw_float_example != 0) {
407 _this->_internal_set_float_example(from._internal_float_example());
409 if (from._internal_int_example() != 0) {
410 _this->_internal_set_int_example(from._internal_int_example());
412 if (from._internal_bool_example() != 0) {
413 _this->_internal_set_bool_example(from._internal_bool_example());
415 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
420 if (&from ==
this)
return;
431 auto* lhs_arena = GetArenaForAllocation();
432 auto* rhs_arena = other->GetArenaForAllocation();
433 _internal_metadata_.
InternalSwap(&other->_internal_metadata_);
436 ::google::protobuf::internal::memswap<
445 return ::_pbi::AssignDescriptors(
453 using HasBits =
decltype(std::declval<ComplexInfo>()._impl_._has_bits_);
458 (*has_bits)[0] |= 1u;
466 : ::
google::protobuf::Message(arena) {
481 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
482 from._internal_metadata_);
484 _this->_impl_.sub_message_ = new ::dunedaq::opmon::TestInfo(*from._impl_.sub_message_);
503 _internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
507 ABSL_DCHECK(GetArenaForAllocation() ==
nullptr);
517 ::uint32_t cached_has_bits = 0;
519 (void) cached_has_bits;
523 if (cached_has_bits & 0x00000001u) {
529 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
533 const char* ptr, ::_pbi::ParseContext* ctx) {
534 ptr = ::_pbi::TcParser::ParseLoop(
this, ptr, ctx, &
_table_.header);
539PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
542 PROTOBUF_FIELD_OFFSET(
ComplexInfo, _impl_._has_bits_),
545 offsetof(
decltype(_table_), field_lookup_table),
547 offsetof(
decltype(_table_), field_entries),
550 offsetof(
decltype(_table_), aux_entries),
552 ::_pbi::TcParser::GenericFallback,
555 {::_pbi::TcParser::FastV32P1,
556 {34, 63, 0, PROTOBUF_FIELD_OFFSET(ComplexInfo, _impl_.r_field_)}},
558 {::_pbi::TcParser::FastF32S1,
559 {13, 63, 0, PROTOBUF_FIELD_OFFSET(ComplexInfo, _impl_.another_float_)}},
560 {::_pbi::TcParser::MiniParse, {}},
562 {::_pbi::TcParser::FastMtS1,
563 {26, 0, 0, PROTOBUF_FIELD_OFFSET(ComplexInfo, _impl_.sub_message_)}},
568 {PROTOBUF_FIELD_OFFSET(ComplexInfo, _impl_.another_float_), -1, 0,
569 (0 | ::_fl::kFcSingular | ::_fl::kFloat)},
571 {PROTOBUF_FIELD_OFFSET(ComplexInfo, _impl_.sub_message_), _Internal::kHasBitsOffset + 0, 0,
572 (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
574 {PROTOBUF_FIELD_OFFSET(ComplexInfo, _impl_.r_field_), -1, 0,
575 (0 | ::_fl::kFcRepeated | ::_fl::kPackedInt32)},
577 {::_pbi::TcParser::GetTable<::dunedaq::opmon::TestInfo>()},
584 ::google::protobuf::io::EpsCopyOutputStream* stream)
const {
586 ::uint32_t cached_has_bits = 0;
587 (void)cached_has_bits;
590 static_assert(
sizeof(::uint32_t) ==
sizeof(float),
591 "Code assumes ::uint32_t and float are the same size.");
593 ::uint32_t raw_another_float;
594 memcpy(&raw_another_float, &tmp_another_float,
sizeof(tmp_another_float));
595 if (raw_another_float != 0) {
596 target = stream->EnsureSpace(target);
597 target = ::_pbi::WireFormatLite::WriteFloatToArray(
603 if (cached_has_bits & 0x00000001u) {
604 target = ::google::protobuf::internal::WireFormatLite::
618 if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
620 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
621 _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
629 ::size_t total_size = 0;
631 ::uint32_t cached_has_bits = 0;
633 (void) cached_has_bits;
637 std::size_t data_size = ::_pbi::WireFormatLite::Int32Size(
641 std::size_t tag_size = data_size == 0
643 : 1 + ::_pbi::WireFormatLite::Int32Size(
644 static_cast<int32_t
>(data_size))
646 total_size += tag_size + data_size;
650 if (cached_has_bits & 0x00000001u) {
652 ::google::protobuf::internal::WireFormatLite::MessageSize(
657 static_assert(
sizeof(::uint32_t) ==
sizeof(float),
658 "Code assumes ::uint32_t and float are the same size.");
660 ::uint32_t raw_another_float;
661 memcpy(&raw_another_float, &tmp_another_float,
sizeof(tmp_another_float));
662 if (raw_another_float != 0) {
670 ::google::protobuf::Message::CopyWithSourceCheck,
677 auto*
const _this =
static_cast<ComplexInfo*
>(&to_msg);
678 auto& from =
static_cast<const ComplexInfo&
>(from_msg);
680 ABSL_DCHECK_NE(&from, _this);
681 ::uint32_t cached_has_bits = 0;
682 (void) cached_has_bits;
684 _this->_internal_mutable_r_field()->MergeFrom(from._internal_r_field());
685 if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
686 _this->_internal_mutable_sub_message()->::dunedaq::opmon::TestInfo::MergeFrom(
687 from._internal_sub_message());
689 static_assert(
sizeof(::uint32_t) ==
sizeof(float),
690 "Code assumes ::uint32_t and float are the same size.");
691 float tmp_another_float = from._internal_another_float();
692 ::uint32_t raw_another_float;
693 memcpy(&raw_another_float, &tmp_another_float,
sizeof(tmp_another_float));
694 if (raw_another_float != 0) {
695 _this->_internal_set_another_float(from._internal_another_float());
697 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
702 if (&from ==
this)
return;
713 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
716 ::google::protobuf::internal::memswap<
725 return ::_pbi::AssignDescriptors(
737#include "google/protobuf/port_undef.inc"
static void set_has_sub_message(HasBits *has_bits)
static const ::dunedaq::opmon::TestInfo & sub_message(const ComplexInfo *msg)
decltype(std::declval< ComplexInfo >()._impl_._has_bits_) HasBits
static constexpr ::int32_t kHasBitsOffset
void SharedCtor(::google::protobuf::Arena *arena)
static void MergeImpl(::google::protobuf::Message &to_msg, const ::google::protobuf::Message &from_msg)
static const ClassData _class_data_
void InternalSwap(ComplexInfo *other)
::uint8_t * _InternalSerialize(::uint8_t *target, ::google::protobuf::io::EpsCopyOutputStream *stream) const final
void MergeFrom(const ComplexInfo &from)
friend void swap(ComplexInfo &a, ComplexInfo &b)
const ::dunedaq::opmon::TestInfo & sub_message() const
static const ComplexInfo * internal_default_instance()
::google::protobuf::RepeatedField<::int32_t > * _internal_mutable_r_field()
int GetCachedSize() const final
void SetCachedSize(int size) const final
float _internal_another_float() const
::size_t ByteSizeLong() const final
const char * _InternalParse(const char *ptr, ::google::protobuf::internal::ParseContext *ctx) final
const ::google::protobuf::RepeatedField<::int32_t > & _internal_r_field() const
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
bool IsInitialized() const final
void CopyFrom(const ComplexInfo &from)
const ::google::protobuf::Message::ClassData * GetClassData() const final
static const ::google::protobuf::internal::TcParseTable< 2, 3, 1, 0, 2 > _table_
::google::protobuf::Metadata GetMetadata() const final
const ::google::protobuf::Message::ClassData * GetClassData() const final
void SharedCtor(::google::protobuf::Arena *arena)
::uint8_t * _InternalSerialize(::uint8_t *target, ::google::protobuf::io::EpsCopyOutputStream *stream) const final
bool _internal_bool_example() const
static const ::google::protobuf::internal::TcParseTable< 2, 4, 0, 45, 2 > _table_
void InternalSwap(TestInfo *other)
const char * _InternalParse(const char *ptr, ::google::protobuf::internal::ParseContext *ctx) final
::size_t ByteSizeLong() const final
void MergeFrom(const TestInfo &from)
void SetCachedSize(int size) const final
bool IsInitialized() const final
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
::google::protobuf::Metadata GetMetadata() const final
const std::string & _internal_string_example() const
void CopyFrom(const TestInfo &from)
static const ClassData _class_data_
static void MergeImpl(::google::protobuf::Message &to_msg, const ::google::protobuf::Message &from_msg)
double _internal_float_example() const
::int64_t _internal_int_example() const
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ComplexInfoDefaultTypeInternal _ComplexInfo_default_instance_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 TestInfoDefaultTypeInternal _TestInfo_default_instance_
FELIX Initialization std::string initerror FELIX queue timed std::string queuename Unexpected chunk size
static const ::uint32_t offsets[]
PROTOBUF_CONSTEXPR ComplexInfoDefaultTypeInternal()
~ComplexInfoDefaultTypeInternal()
::dunedaq::opmon::TestInfo * sub_message_
mutable::google::protobuf::internal::CachedSize _r_field_cached_byte_size_
::google::protobuf::internal::HasBits< 1 > _has_bits_
mutable::google::protobuf::internal::CachedSize _cached_size_
::google::protobuf::RepeatedField<::int32_t > r_field_
~TestInfoDefaultTypeInternal()
PROTOBUF_CONSTEXPR TestInfoDefaultTypeInternal()
::google::protobuf::internal::ArenaStringPtr string_example_
mutable::google::protobuf::internal::CachedSize _cached_size_
::absl::once_flag descriptor_table_opmonlib_2fopmon_2ftest_2eproto_once
::_pb::Metadata file_level_metadata_opmonlib_2fopmon_2ftest_2eproto[2]
PROTOBUF_ATTRIBUTE_WEAKconst ::_pbi::DescriptorTable * descriptor_table_opmonlib_2fopmon_2ftest_2eproto_getter()
static constexprconst ::_pb::EnumDescriptor ** file_level_enum_descriptors_opmonlib_2fopmon_2ftest_2eproto
static constexprconst ::_pb::ServiceDescriptor ** file_level_service_descriptors_opmonlib_2fopmon_2ftest_2eproto
const ::_pbi::DescriptorTable descriptor_table_opmonlib_2fopmon_2ftest_2eproto
const ::uint32_t TableStruct_wib_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold)
static const ::_pb::Message *const file_default_instances[]