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;
48PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
54static constexpr const ::_pb::EnumDescriptor**
56static constexpr const ::_pb::ServiceDescriptor**
79static const ::_pbi::MigrationSchema
87const char descriptor_table_protodef_cibmodules_2fopmon_2fCIBModule_2eproto[]
PROTOBUF_SECTION_VARIABLE(protodesc_cold) = {
88 "\n cibmodules/opmon/CIBModule.proto\022\030dune"
89 "daq.cibmodules.opmon\"\307\002\n\rCIBModuleInfo\022!"
90 "\n\031num_control_messages_sent\030\001 \001(\r\022&\n\036num"
91 "_control_responses_received\030\002 \001(\r\022\030\n\020har"
92 "dware_running\030\005 \001(\010\022\033\n\023hardware_configur"
93 "ed\030\006 \001(\010\022#\n\033num_total_triggers_received\030"
94 "\n \001(\r\022!\n\031num_run_triggers_received\030\014 \001(\r"
95 "\022\037\n\027sent_hsi_events_counter\030\017 \001(\r\022)\n!fai"
96 "led_to_send_hsi_events_counter\030\020 \001(\r\022 \n\030"
97 "average_buffer_occupancy\030\025 \001(\001b\006proto3"
104 descriptor_table_protodef_cibmodules_2fopmon_2fCIBModule_2eproto,
105 "cibmodules/opmon/CIBModule.proto",
133PROTOBUF_ATTRIBUTE_INIT_PRIORITY2
136namespace cibmodules {
145 : ::
google::protobuf::Message(arena) {
150 : ::
google::protobuf::Message(), _impl_(from._impl_) {
151 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
152 from._internal_metadata_);
172 _internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
176 ABSL_DCHECK(GetArenaForAllocation() ==
nullptr);
184 ::uint32_t cached_has_bits = 0;
186 (void) cached_has_bits;
191 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
195 const char* ptr, ::_pbi::ParseContext* ctx) {
196 ptr = ::_pbi::TcParser::ParseLoop(
this, ptr, ctx, &
_table_.header);
201PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
207 offsetof(
decltype(_table_), field_lookup_table),
209 offsetof(
decltype(_table_), field_entries),
212 offsetof(
decltype(_table_), field_names),
214 ::_pbi::TcParser::GenericFallback,
217 {::_pbi::TcParser::FastV32S2,
218 {384, 63, 0, PROTOBUF_FIELD_OFFSET(CIBModuleInfo, _impl_.failed_to_send_hsi_events_counter_)}},
220 {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(CIBModuleInfo, _impl_.num_control_messages_sent_), 63>(),
221 {8, 63, 0, PROTOBUF_FIELD_OFFSET(CIBModuleInfo, _impl_.num_control_messages_sent_)}},
223 {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(CIBModuleInfo, _impl_.num_control_responses_received_), 63>(),
224 {16, 63, 0, PROTOBUF_FIELD_OFFSET(CIBModuleInfo, _impl_.num_control_responses_received_)}},
225 {::_pbi::TcParser::MiniParse, {}},
226 {::_pbi::TcParser::MiniParse, {}},
228 {::_pbi::TcParser::SingularVarintNoZag1<
bool, offsetof(CIBModuleInfo, _impl_.hardware_running_), 63>(),
229 {40, 63, 0, PROTOBUF_FIELD_OFFSET(CIBModuleInfo, _impl_.hardware_running_)}},
231 {::_pbi::TcParser::SingularVarintNoZag1<
bool, offsetof(CIBModuleInfo, _impl_.hardware_configured_), 63>(),
232 {48, 63, 0, PROTOBUF_FIELD_OFFSET(CIBModuleInfo, _impl_.hardware_configured_)}},
233 {::_pbi::TcParser::MiniParse, {}},
234 {::_pbi::TcParser::MiniParse, {}},
235 {::_pbi::TcParser::MiniParse, {}},
237 {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(CIBModuleInfo, _impl_.num_total_triggers_received_), 63>(),
238 {80, 63, 0, PROTOBUF_FIELD_OFFSET(CIBModuleInfo, _impl_.num_total_triggers_received_)}},
239 {::_pbi::TcParser::MiniParse, {}},
241 {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(CIBModuleInfo, _impl_.num_run_triggers_received_), 63>(),
242 {96, 63, 0, PROTOBUF_FIELD_OFFSET(CIBModuleInfo, _impl_.num_run_triggers_received_)}},
243 {::_pbi::TcParser::MiniParse, {}},
244 {::_pbi::TcParser::MiniParse, {}},
246 {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(CIBModuleInfo, _impl_.sent_hsi_events_counter_), 63>(),
247 {120, 63, 0, PROTOBUF_FIELD_OFFSET(CIBModuleInfo, _impl_.sent_hsi_events_counter_)}},
252 {PROTOBUF_FIELD_OFFSET(CIBModuleInfo, _impl_.num_control_messages_sent_), 0, 0,
253 (0 | ::_fl::kFcSingular | ::_fl::kUInt32)},
255 {PROTOBUF_FIELD_OFFSET(CIBModuleInfo, _impl_.num_control_responses_received_), 0, 0,
256 (0 | ::_fl::kFcSingular | ::_fl::kUInt32)},
258 {PROTOBUF_FIELD_OFFSET(CIBModuleInfo, _impl_.hardware_running_), 0, 0,
259 (0 | ::_fl::kFcSingular | ::_fl::kBool)},
261 {PROTOBUF_FIELD_OFFSET(CIBModuleInfo, _impl_.hardware_configured_), 0, 0,
262 (0 | ::_fl::kFcSingular | ::_fl::kBool)},
264 {PROTOBUF_FIELD_OFFSET(CIBModuleInfo, _impl_.num_total_triggers_received_), 0, 0,
265 (0 | ::_fl::kFcSingular | ::_fl::kUInt32)},
267 {PROTOBUF_FIELD_OFFSET(CIBModuleInfo, _impl_.num_run_triggers_received_), 0, 0,
268 (0 | ::_fl::kFcSingular | ::_fl::kUInt32)},
270 {PROTOBUF_FIELD_OFFSET(CIBModuleInfo, _impl_.sent_hsi_events_counter_), 0, 0,
271 (0 | ::_fl::kFcSingular | ::_fl::kUInt32)},
273 {PROTOBUF_FIELD_OFFSET(CIBModuleInfo, _impl_.failed_to_send_hsi_events_counter_), 0, 0,
274 (0 | ::_fl::kFcSingular | ::_fl::kUInt32)},
276 {PROTOBUF_FIELD_OFFSET(CIBModuleInfo, _impl_.average_buffer_occupancy_), 0, 0,
277 (0 | ::_fl::kFcSingular | ::_fl::kDouble)},
286 ::google::protobuf::io::EpsCopyOutputStream* stream)
const {
288 ::uint32_t cached_has_bits = 0;
289 (void)cached_has_bits;
293 target = stream->EnsureSpace(target);
294 target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
300 target = stream->EnsureSpace(target);
301 target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
307 target = stream->EnsureSpace(target);
308 target = ::_pbi::WireFormatLite::WriteBoolToArray(
314 target = stream->EnsureSpace(target);
315 target = ::_pbi::WireFormatLite::WriteBoolToArray(
321 target = stream->EnsureSpace(target);
322 target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
328 target = stream->EnsureSpace(target);
329 target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
335 target = stream->EnsureSpace(target);
336 target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
342 target = stream->EnsureSpace(target);
343 target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
348 static_assert(
sizeof(::uint64_t) ==
sizeof(double),
349 "Code assumes ::uint64_t and double are the same size.");
351 ::uint64_t raw_average_buffer_occupancy;
352 memcpy(&raw_average_buffer_occupancy, &tmp_average_buffer_occupancy,
sizeof(tmp_average_buffer_occupancy));
353 if (raw_average_buffer_occupancy != 0) {
354 target = stream->EnsureSpace(target);
355 target = ::_pbi::WireFormatLite::WriteDoubleToArray(
359 if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
361 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
362 _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
370 ::size_t total_size = 0;
372 ::uint32_t cached_has_bits = 0;
374 (void) cached_has_bits;
378 total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
384 total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
400 total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
406 total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
412 total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
417 static_assert(
sizeof(::uint64_t) ==
sizeof(double),
418 "Code assumes ::uint64_t and double are the same size.");
420 ::uint64_t raw_average_buffer_occupancy;
421 memcpy(&raw_average_buffer_occupancy, &tmp_average_buffer_occupancy,
sizeof(tmp_average_buffer_occupancy));
422 if (raw_average_buffer_occupancy != 0) {
428 total_size += 2 + ::_pbi::WireFormatLite::UInt32Size(
436 ::google::protobuf::Message::CopyWithSourceCheck,
446 ABSL_DCHECK_NE(&from, _this);
447 ::uint32_t cached_has_bits = 0;
448 (void) cached_has_bits;
450 if (from._internal_num_control_messages_sent() != 0) {
451 _this->_internal_set_num_control_messages_sent(from._internal_num_control_messages_sent());
453 if (from._internal_num_control_responses_received() != 0) {
454 _this->_internal_set_num_control_responses_received(from._internal_num_control_responses_received());
456 if (from._internal_hardware_running() != 0) {
457 _this->_internal_set_hardware_running(from._internal_hardware_running());
459 if (from._internal_hardware_configured() != 0) {
460 _this->_internal_set_hardware_configured(from._internal_hardware_configured());
462 if (from._internal_num_total_triggers_received() != 0) {
463 _this->_internal_set_num_total_triggers_received(from._internal_num_total_triggers_received());
465 if (from._internal_num_run_triggers_received() != 0) {
466 _this->_internal_set_num_run_triggers_received(from._internal_num_run_triggers_received());
468 if (from._internal_sent_hsi_events_counter() != 0) {
469 _this->_internal_set_sent_hsi_events_counter(from._internal_sent_hsi_events_counter());
471 static_assert(
sizeof(::uint64_t) ==
sizeof(double),
472 "Code assumes ::uint64_t and double are the same size.");
473 double tmp_average_buffer_occupancy = from._internal_average_buffer_occupancy();
474 ::uint64_t raw_average_buffer_occupancy;
475 memcpy(&raw_average_buffer_occupancy, &tmp_average_buffer_occupancy,
sizeof(tmp_average_buffer_occupancy));
476 if (raw_average_buffer_occupancy != 0) {
477 _this->_internal_set_average_buffer_occupancy(from._internal_average_buffer_occupancy());
479 if (from._internal_failed_to_send_hsi_events_counter() != 0) {
480 _this->_internal_set_failed_to_send_hsi_events_counter(from._internal_failed_to_send_hsi_events_counter());
482 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
487 if (&from ==
this)
return;
498 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
499 ::google::protobuf::internal::memswap<
508 return ::_pbi::AssignDescriptors(
521#include "google/protobuf/port_undef.inc"
PROTOBUF_ATTRIBUTE_WEAKconst ::_pbi::DescriptorTable * descriptor_table_cibmodules_2fopmon_2fCIBModule_2eproto_getter()
::absl::once_flag descriptor_table_cibmodules_2fopmon_2fCIBModule_2eproto_once
::_pb::Metadata file_level_metadata_cibmodules_2fopmon_2fCIBModule_2eproto[1]
static constexprconst ::_pb::EnumDescriptor ** file_level_enum_descriptors_cibmodules_2fopmon_2fCIBModule_2eproto
const ::_pbi::DescriptorTable descriptor_table_cibmodules_2fopmon_2fCIBModule_2eproto
static constexprconst ::_pb::ServiceDescriptor ** file_level_service_descriptors_cibmodules_2fopmon_2fCIBModule_2eproto
static const ::_pb::Message *const file_default_instances[]
const ::uint32_t TableStruct_cibmodules_2fopmon_2fCIBModule_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold)
static void MergeImpl(::google::protobuf::Message &to_msg, const ::google::protobuf::Message &from_msg)
::uint32_t _internal_num_control_responses_received() const
::uint8_t * _InternalSerialize(::uint8_t *target, ::google::protobuf::io::EpsCopyOutputStream *stream) const final
::uint32_t _internal_num_total_triggers_received() const
::size_t ByteSizeLong() const final
bool IsInitialized() const final
const ::google::protobuf::Message::ClassData * GetClassData() const final
~CIBModuleInfo() override
void SharedCtor(::google::protobuf::Arena *arena)
::google::protobuf::Metadata GetMetadata() const final
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
static const ClassData _class_data_
::uint32_t _internal_num_run_triggers_received() const
bool _internal_hardware_configured() const
double _internal_average_buffer_occupancy() const
void MergeFrom(const CIBModuleInfo &from)
void SetCachedSize(int size) const final
static const ::google::protobuf::internal::TcParseTable< 4, 9, 0, 0, 2 > _table_
void CopyFrom(const CIBModuleInfo &from)
::uint32_t _internal_num_control_messages_sent() const
bool _internal_hardware_running() const
::uint32_t _internal_sent_hsi_events_counter() const
void InternalSwap(CIBModuleInfo *other)
::uint32_t _internal_failed_to_send_hsi_events_counter() const
const char * _InternalParse(const char *ptr, ::google::protobuf::internal::ParseContext *ctx) final
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CIBModuleInfoDefaultTypeInternal _CIBModuleInfo_default_instance_
Unknown serialization type<< t,((char) t)) template< typename T > inline std::string datatype_to_string() { return "Unknown";} namespace serialization { template< typename T > struct is_serializable :std::false_type {};enum SerializationType { kMsgPack };inline SerializationType from_string(const std::string s) { if(s=="msgpack") return kMsgPack;throw UnknownSerializationTypeString(ERS_HERE, s);} constexpr uint8_t serialization_type_byte(SerializationType stype) { switch(stype) { case kMsgPack:return 'M';default:throw UnknownSerializationTypeEnum(ERS_HERE);} } constexpr SerializationType DEFAULT_SERIALIZATION_TYPE=kMsgPack;template< class T > std::vector< uint8_t > serialize(const T &obj, SerializationType stype=DEFAULT_SERIALIZATION_TYPE) { switch(stype) { case kMsgPack:{ msgpack::sbuffer buf;msgpack::pack(buf, obj);std::vector< uint8_t > ret(buf.size()+1);ret[0]=serialization_type_byte(stype);std::copy(buf.data(), buf.data()+buf.size(), ret.begin()+1);return ret;} default:throw UnknownSerializationTypeEnum(ERS_HERE);} } template< class T, typename CharType=unsigned char > T deserialize(const std::vector< CharType > &v) { switch(v[0]) { case serialization_type_byte(kMsgPack):{ try { msgpack::object_handle oh=msgpack::unpack(const_cast< char * >(reinterpret_cast< const char * >(v.data()+1)), v.size() - 1,[](msgpack::type::object_type, std::size_t, void *) -> bool
FELIX Initialization std::string initerror FELIX queue timed std::string queuename Unexpected chunk size
static const ::uint32_t offsets[]
~CIBModuleInfoDefaultTypeInternal()
PROTOBUF_CONSTEXPR CIBModuleInfoDefaultTypeInternal()
mutable::google::protobuf::internal::CachedSize _cached_size_
::uint32_t sent_hsi_events_counter_
::uint32_t num_run_triggers_received_
double average_buffer_occupancy_
bool hardware_configured_
::uint32_t num_total_triggers_received_
::uint32_t num_control_responses_received_
::uint32_t num_control_messages_sent_
::uint32_t failed_to_send_hsi_events_counter_