// Generated by the protocol buffer compiler. DO NOT EDIT! // NO CHECKED-IN PROTOBUF GENCODE // source: ImageService.proto // Protobuf C++ Version: 5.29.0 #include "ImageService.pb.h" #include #include #include "google/protobuf/io/coded_stream.h" #include "google/protobuf/generated_message_tctable_impl.h" #include "google/protobuf/extension_set.h" #include "google/protobuf/generated_message_util.h" #include "google/protobuf/wire_format_lite.h" #include "google/protobuf/descriptor.h" #include "google/protobuf/generated_message_reflection.h" #include "google/protobuf/reflection_ops.h" #include "google/protobuf/wire_format.h" // @@protoc_insertion_point(includes) // Must be included last. #include "google/protobuf/port_def.inc" PROTOBUF_PRAGMA_INIT_SEG namespace _pb = ::google::protobuf; namespace _pbi = ::google::protobuf::internal; namespace _fl = ::google::protobuf::internal::field_layout; namespace R360 { template PROTOBUF_CONSTEXPR Empty::Empty(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) : ::google::protobuf::internal::ZeroFieldsBase(_class_data_.base()){} #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::internal::ZeroFieldsBase() { } #endif // PROTOBUF_CUSTOM_VTABLE struct EmptyDefaultTypeInternal { PROTOBUF_CONSTEXPR EmptyDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} ~EmptyDefaultTypeInternal() {} union { Empty _instance; }; }; PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 EmptyDefaultTypeInternal _Empty_default_instance_; inline constexpr Alarm::Impl_::Impl_( ::_pbi::ConstantInitialized) noexcept : x_{0u}, y_{0u}, w_{0u}, h_{0u}, score_{0}, type_{static_cast< ::R360::AlarmType >(0)}, _cached_size_{0} {} template PROTOBUF_CONSTEXPR Alarm::Alarm(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) : ::google::protobuf::Message(_class_data_.base()), #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::Message(), #endif // PROTOBUF_CUSTOM_VTABLE _impl_(::_pbi::ConstantInitialized()) { } struct AlarmDefaultTypeInternal { PROTOBUF_CONSTEXPR AlarmDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} ~AlarmDefaultTypeInternal() {} union { Alarm _instance; }; }; PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 AlarmDefaultTypeInternal _Alarm_default_instance_; inline constexpr EmbeddedData::Impl_::Impl_( ::_pbi::ConstantInitialized) noexcept : alarm_{}, image_( &::google::protobuf::internal::fixed_address_empty_string, ::_pbi::ConstantInitialized()), degree_{::uint64_t{0u}}, usb_camera_index_{0u}, _cached_size_{0} {} template PROTOBUF_CONSTEXPR EmbeddedData::EmbeddedData(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) : ::google::protobuf::Message(_class_data_.base()), #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::Message(), #endif // PROTOBUF_CUSTOM_VTABLE _impl_(::_pbi::ConstantInitialized()) { } struct EmbeddedDataDefaultTypeInternal { PROTOBUF_CONSTEXPR EmbeddedDataDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} ~EmbeddedDataDefaultTypeInternal() {} union { EmbeddedData _instance; }; }; PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 EmbeddedDataDefaultTypeInternal _EmbeddedData_default_instance_; inline constexpr DataList::Impl_::Impl_( ::_pbi::ConstantInitialized) noexcept : data_{}, _cached_size_{0} {} template PROTOBUF_CONSTEXPR DataList::DataList(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) : ::google::protobuf::Message(_class_data_.base()), #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::Message(), #endif // PROTOBUF_CUSTOM_VTABLE _impl_(::_pbi::ConstantInitialized()) { } struct DataListDefaultTypeInternal { PROTOBUF_CONSTEXPR DataListDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} ~DataListDefaultTypeInternal() {} union { DataList _instance; }; }; PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 DataListDefaultTypeInternal _DataList_default_instance_; } // namespace R360 static const ::_pb::EnumDescriptor* file_level_enum_descriptors_ImageService_2eproto[1]; static constexpr const ::_pb::ServiceDescriptor** file_level_service_descriptors_ImageService_2eproto = nullptr; const ::uint32_t TableStruct_ImageService_2eproto::offsets[] ABSL_ATTRIBUTE_SECTION_VARIABLE( protodesc_cold) = { ~0u, // no _has_bits_ PROTOBUF_FIELD_OFFSET(::R360::Empty, _internal_metadata_), ~0u, // no _extensions_ ~0u, // no _oneof_case_ ~0u, // no _weak_field_map_ ~0u, // no _inlined_string_donated_ ~0u, // no _split_ ~0u, // no sizeof(Split) ~0u, // no _has_bits_ PROTOBUF_FIELD_OFFSET(::R360::DataList, _internal_metadata_), ~0u, // no _extensions_ ~0u, // no _oneof_case_ ~0u, // no _weak_field_map_ ~0u, // no _inlined_string_donated_ ~0u, // no _split_ ~0u, // no sizeof(Split) PROTOBUF_FIELD_OFFSET(::R360::DataList, _impl_.data_), ~0u, // no _has_bits_ PROTOBUF_FIELD_OFFSET(::R360::EmbeddedData, _internal_metadata_), ~0u, // no _extensions_ ~0u, // no _oneof_case_ ~0u, // no _weak_field_map_ ~0u, // no _inlined_string_donated_ ~0u, // no _split_ ~0u, // no sizeof(Split) PROTOBUF_FIELD_OFFSET(::R360::EmbeddedData, _impl_.usb_camera_index_), PROTOBUF_FIELD_OFFSET(::R360::EmbeddedData, _impl_.image_), PROTOBUF_FIELD_OFFSET(::R360::EmbeddedData, _impl_.degree_), PROTOBUF_FIELD_OFFSET(::R360::EmbeddedData, _impl_.alarm_), ~0u, // no _has_bits_ PROTOBUF_FIELD_OFFSET(::R360::Alarm, _internal_metadata_), ~0u, // no _extensions_ ~0u, // no _oneof_case_ ~0u, // no _weak_field_map_ ~0u, // no _inlined_string_donated_ ~0u, // no _split_ ~0u, // no sizeof(Split) PROTOBUF_FIELD_OFFSET(::R360::Alarm, _impl_.x_), PROTOBUF_FIELD_OFFSET(::R360::Alarm, _impl_.y_), PROTOBUF_FIELD_OFFSET(::R360::Alarm, _impl_.w_), PROTOBUF_FIELD_OFFSET(::R360::Alarm, _impl_.h_), PROTOBUF_FIELD_OFFSET(::R360::Alarm, _impl_.score_), PROTOBUF_FIELD_OFFSET(::R360::Alarm, _impl_.type_), }; static const ::_pbi::MigrationSchema schemas[] ABSL_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = { {0, -1, -1, sizeof(::R360::Empty)}, {8, -1, -1, sizeof(::R360::DataList)}, {17, -1, -1, sizeof(::R360::EmbeddedData)}, {29, -1, -1, sizeof(::R360::Alarm)}, }; static const ::_pb::Message* const file_default_instances[] = { &::R360::_Empty_default_instance_._instance, &::R360::_DataList_default_instance_._instance, &::R360::_EmbeddedData_default_instance_._instance, &::R360::_Alarm_default_instance_._instance, }; const char descriptor_table_protodef_ImageService_2eproto[] ABSL_ATTRIBUTE_SECTION_VARIABLE( protodesc_cold) = { "\n\022ImageService.proto\022\004R360\"\007\n\005Empty\",\n\010D" "ataList\022 \n\004data\030\001 \003(\0132\022.R360.EmbeddedDat" "a\"c\n\014EmbeddedData\022\030\n\020usb_camera_index\030\001 " "\001(\r\022\r\n\005image\030\002 \001(\014\022\016\n\006degree\030\003 \001(\004\022\032\n\005al" "arm\030\004 \003(\0132\013.R360.Alarm\"a\n\005Alarm\022\t\n\001x\030\001 \001" "(\r\022\t\n\001y\030\002 \001(\r\022\t\n\001w\030\003 \001(\r\022\t\n\001h\030\004 \001(\r\022\r\n\005s" "core\030\005 \001(\002\022\035\n\004type\030\006 \001(\0162\017.R360.AlarmTyp" "e*\024\n\tAlarmType\022\007\n\003UAV\020\0002s\n\016MessageServic" "e\0220\n\017R360SendMessage\022\016.R360.DataList\032\013.R" "360.Empty(\001\022/\n\016R360GetMessage\022\013.R360.Emp" "ty\032\016.R360.DataList0\001b\006proto3" }; static ::absl::once_flag descriptor_table_ImageService_2eproto_once; PROTOBUF_CONSTINIT const ::_pbi::DescriptorTable descriptor_table_ImageService_2eproto = { false, false, 428, descriptor_table_protodef_ImageService_2eproto, "ImageService.proto", &descriptor_table_ImageService_2eproto_once, nullptr, 0, 4, schemas, file_default_instances, TableStruct_ImageService_2eproto::offsets, file_level_enum_descriptors_ImageService_2eproto, file_level_service_descriptors_ImageService_2eproto, }; namespace R360 { const ::google::protobuf::EnumDescriptor* AlarmType_descriptor() { ::google::protobuf::internal::AssignDescriptors(&descriptor_table_ImageService_2eproto); return file_level_enum_descriptors_ImageService_2eproto[0]; } PROTOBUF_CONSTINIT const uint32_t AlarmType_internal_data_[] = { 65536u, 0u, }; bool AlarmType_IsValid(int value) { return 0 <= value && value <= 0; } // =================================================================== class Empty::_Internal { public: }; Empty::Empty(::google::protobuf::Arena* arena) #if defined(PROTOBUF_CUSTOM_VTABLE) : ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) { #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::internal::ZeroFieldsBase(arena) { #endif // PROTOBUF_CUSTOM_VTABLE // @@protoc_insertion_point(arena_constructor:R360.Empty) } Empty::Empty( ::google::protobuf::Arena* arena, const Empty& from) #if defined(PROTOBUF_CUSTOM_VTABLE) : ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) { #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::internal::ZeroFieldsBase(arena) { #endif // PROTOBUF_CUSTOM_VTABLE Empty* const _this = this; (void)_this; _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( from._internal_metadata_); // @@protoc_insertion_point(copy_constructor:R360.Empty) } inline void* Empty::PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena) { return ::new (mem) Empty(arena); } constexpr auto Empty::InternalNewImpl_() { return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(Empty), alignof(Empty)); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::google::protobuf::internal::ClassDataFull Empty::_class_data_ = { ::google::protobuf::internal::ClassData{ &_Empty_default_instance_._instance, &_table_.header, nullptr, // OnDemandRegisterArenaDtor nullptr, // IsInitialized &Empty::MergeImpl, ::google::protobuf::internal::ZeroFieldsBase::GetNewImpl(), #if defined(PROTOBUF_CUSTOM_VTABLE) &Empty::SharedDtor, ::google::protobuf::internal::ZeroFieldsBase::GetClearImpl(), &Empty::ByteSizeLong, &Empty::_InternalSerialize, #endif // PROTOBUF_CUSTOM_VTABLE PROTOBUF_FIELD_OFFSET(Empty, _impl_._cached_size_), false, }, &Empty::kDescriptorMethods, &descriptor_table_ImageService_2eproto, nullptr, // tracker }; const ::google::protobuf::internal::ClassData* Empty::GetClassData() const { ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); return _class_data_.base(); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::_pbi::TcParseTable<0, 0, 0, 0, 2> Empty::_table_ = { { 0, // no _has_bits_ 0, // no _extensions_ 0, 0, // max_field_number, fast_idx_mask offsetof(decltype(_table_), field_lookup_table), 4294967295, // skipmap offsetof(decltype(_table_), field_names), // no field_entries 0, // num_field_entries 0, // num_aux_entries offsetof(decltype(_table_), field_names), // no aux_entries _class_data_.base(), nullptr, // post_loop_handler ::_pbi::TcParser::GenericFallback, // fallback #ifdef PROTOBUF_PREFETCH_PARSE_TABLE ::_pbi::TcParser::GetTable<::R360::Empty>(), // to_prefetch #endif // PROTOBUF_PREFETCH_PARSE_TABLE }, {{ {::_pbi::TcParser::MiniParse, {}}, }}, {{ 65535, 65535 }}, // no field_entries, or aux_entries {{ }}, }; ::google::protobuf::Metadata Empty::GetMetadata() const { return ::google::protobuf::internal::ZeroFieldsBase::GetMetadataImpl(GetClassData()->full()); } // =================================================================== class DataList::_Internal { public: }; DataList::DataList(::google::protobuf::Arena* arena) #if defined(PROTOBUF_CUSTOM_VTABLE) : ::google::protobuf::Message(arena, _class_data_.base()) { #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::Message(arena) { #endif // PROTOBUF_CUSTOM_VTABLE SharedCtor(arena); // @@protoc_insertion_point(arena_constructor:R360.DataList) } inline PROTOBUF_NDEBUG_INLINE DataList::Impl_::Impl_( ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, const Impl_& from, const ::R360::DataList& from_msg) : data_{visibility, arena, from.data_}, _cached_size_{0} {} DataList::DataList( ::google::protobuf::Arena* arena, const DataList& from) #if defined(PROTOBUF_CUSTOM_VTABLE) : ::google::protobuf::Message(arena, _class_data_.base()) { #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::Message(arena) { #endif // PROTOBUF_CUSTOM_VTABLE DataList* const _this = this; (void)_this; _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( from._internal_metadata_); new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); // @@protoc_insertion_point(copy_constructor:R360.DataList) } inline PROTOBUF_NDEBUG_INLINE DataList::Impl_::Impl_( ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena) : data_{visibility, arena}, _cached_size_{0} {} inline void DataList::SharedCtor(::_pb::Arena* arena) { new (&_impl_) Impl_(internal_visibility(), arena); } DataList::~DataList() { // @@protoc_insertion_point(destructor:R360.DataList) SharedDtor(*this); } inline void DataList::SharedDtor(MessageLite& self) { DataList& this_ = static_cast(self); this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); ABSL_DCHECK(this_.GetArena() == nullptr); this_._impl_.~Impl_(); } inline void* DataList::PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena) { return ::new (mem) DataList(arena); } constexpr auto DataList::InternalNewImpl_() { constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({ PROTOBUF_FIELD_OFFSET(DataList, _impl_.data_) + decltype(DataList::_impl_.data_):: InternalGetArenaOffset( ::google::protobuf::Message::internal_visibility()), }); if (arena_bits.has_value()) { return ::google::protobuf::internal::MessageCreator::ZeroInit( sizeof(DataList), alignof(DataList), *arena_bits); } else { return ::google::protobuf::internal::MessageCreator(&DataList::PlacementNew_, sizeof(DataList), alignof(DataList)); } } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::google::protobuf::internal::ClassDataFull DataList::_class_data_ = { ::google::protobuf::internal::ClassData{ &_DataList_default_instance_._instance, &_table_.header, nullptr, // OnDemandRegisterArenaDtor nullptr, // IsInitialized &DataList::MergeImpl, ::google::protobuf::Message::GetNewImpl(), #if defined(PROTOBUF_CUSTOM_VTABLE) &DataList::SharedDtor, ::google::protobuf::Message::GetClearImpl(), &DataList::ByteSizeLong, &DataList::_InternalSerialize, #endif // PROTOBUF_CUSTOM_VTABLE PROTOBUF_FIELD_OFFSET(DataList, _impl_._cached_size_), false, }, &DataList::kDescriptorMethods, &descriptor_table_ImageService_2eproto, nullptr, // tracker }; const ::google::protobuf::internal::ClassData* DataList::GetClassData() const { ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); return _class_data_.base(); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::_pbi::TcParseTable<0, 1, 1, 0, 2> DataList::_table_ = { { 0, // no _has_bits_ 0, // no _extensions_ 1, 0, // max_field_number, fast_idx_mask offsetof(decltype(_table_), field_lookup_table), 4294967294, // skipmap offsetof(decltype(_table_), field_entries), 1, // num_field_entries 1, // num_aux_entries offsetof(decltype(_table_), aux_entries), _class_data_.base(), nullptr, // post_loop_handler ::_pbi::TcParser::GenericFallback, // fallback #ifdef PROTOBUF_PREFETCH_PARSE_TABLE ::_pbi::TcParser::GetTable<::R360::DataList>(), // to_prefetch #endif // PROTOBUF_PREFETCH_PARSE_TABLE }, {{ // repeated .R360.EmbeddedData data = 1; {::_pbi::TcParser::FastMtR1, {10, 63, 0, PROTOBUF_FIELD_OFFSET(DataList, _impl_.data_)}}, }}, {{ 65535, 65535 }}, {{ // repeated .R360.EmbeddedData data = 1; {PROTOBUF_FIELD_OFFSET(DataList, _impl_.data_), 0, 0, (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)}, }}, {{ {::_pbi::TcParser::GetTable<::R360::EmbeddedData>()}, }}, {{ }}, }; PROTOBUF_NOINLINE void DataList::Clear() { // @@protoc_insertion_point(message_clear_start:R360.DataList) ::google::protobuf::internal::TSanWrite(&_impl_); ::uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; _impl_.data_.Clear(); _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); } #if defined(PROTOBUF_CUSTOM_VTABLE) ::uint8_t* DataList::_InternalSerialize( const MessageLite& base, ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) { const DataList& this_ = static_cast(base); #else // PROTOBUF_CUSTOM_VTABLE ::uint8_t* DataList::_InternalSerialize( ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const { const DataList& this_ = *this; #endif // PROTOBUF_CUSTOM_VTABLE // @@protoc_insertion_point(serialize_to_array_start:R360.DataList) ::uint32_t cached_has_bits = 0; (void)cached_has_bits; // repeated .R360.EmbeddedData data = 1; for (unsigned i = 0, n = static_cast( this_._internal_data_size()); i < n; i++) { const auto& repfield = this_._internal_data().Get(i); target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( 1, repfield, repfield.GetCachedSize(), target, stream); } if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); } // @@protoc_insertion_point(serialize_to_array_end:R360.DataList) return target; } #if defined(PROTOBUF_CUSTOM_VTABLE) ::size_t DataList::ByteSizeLong(const MessageLite& base) { const DataList& this_ = static_cast(base); #else // PROTOBUF_CUSTOM_VTABLE ::size_t DataList::ByteSizeLong() const { const DataList& this_ = *this; #endif // PROTOBUF_CUSTOM_VTABLE // @@protoc_insertion_point(message_byte_size_start:R360.DataList) ::size_t total_size = 0; ::uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void)cached_has_bits; ::_pbi::Prefetch5LinesFrom7Lines(&this_); { // repeated .R360.EmbeddedData data = 1; { total_size += 1UL * this_._internal_data_size(); for (const auto& msg : this_._internal_data()) { total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg); } } } return this_.MaybeComputeUnknownFieldsSize(total_size, &this_._impl_._cached_size_); } void DataList::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { auto* const _this = static_cast(&to_msg); auto& from = static_cast(from_msg); // @@protoc_insertion_point(class_specific_merge_from_start:R360.DataList) ABSL_DCHECK_NE(&from, _this); ::uint32_t cached_has_bits = 0; (void) cached_has_bits; _this->_internal_mutable_data()->MergeFrom( from._internal_data()); _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); } void DataList::CopyFrom(const DataList& from) { // @@protoc_insertion_point(class_specific_copy_from_start:R360.DataList) if (&from == this) return; Clear(); MergeFrom(from); } void DataList::InternalSwap(DataList* PROTOBUF_RESTRICT other) { using std::swap; _internal_metadata_.InternalSwap(&other->_internal_metadata_); _impl_.data_.InternalSwap(&other->_impl_.data_); } ::google::protobuf::Metadata DataList::GetMetadata() const { return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); } // =================================================================== class EmbeddedData::_Internal { public: }; EmbeddedData::EmbeddedData(::google::protobuf::Arena* arena) #if defined(PROTOBUF_CUSTOM_VTABLE) : ::google::protobuf::Message(arena, _class_data_.base()) { #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::Message(arena) { #endif // PROTOBUF_CUSTOM_VTABLE SharedCtor(arena); // @@protoc_insertion_point(arena_constructor:R360.EmbeddedData) } inline PROTOBUF_NDEBUG_INLINE EmbeddedData::Impl_::Impl_( ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, const Impl_& from, const ::R360::EmbeddedData& from_msg) : alarm_{visibility, arena, from.alarm_}, image_(arena, from.image_), _cached_size_{0} {} EmbeddedData::EmbeddedData( ::google::protobuf::Arena* arena, const EmbeddedData& from) #if defined(PROTOBUF_CUSTOM_VTABLE) : ::google::protobuf::Message(arena, _class_data_.base()) { #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::Message(arena) { #endif // PROTOBUF_CUSTOM_VTABLE EmbeddedData* const _this = this; (void)_this; _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( from._internal_metadata_); new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); ::memcpy(reinterpret_cast(&_impl_) + offsetof(Impl_, degree_), reinterpret_cast(&from._impl_) + offsetof(Impl_, degree_), offsetof(Impl_, usb_camera_index_) - offsetof(Impl_, degree_) + sizeof(Impl_::usb_camera_index_)); // @@protoc_insertion_point(copy_constructor:R360.EmbeddedData) } inline PROTOBUF_NDEBUG_INLINE EmbeddedData::Impl_::Impl_( ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena) : alarm_{visibility, arena}, image_(arena), _cached_size_{0} {} inline void EmbeddedData::SharedCtor(::_pb::Arena* arena) { new (&_impl_) Impl_(internal_visibility(), arena); ::memset(reinterpret_cast(&_impl_) + offsetof(Impl_, degree_), 0, offsetof(Impl_, usb_camera_index_) - offsetof(Impl_, degree_) + sizeof(Impl_::usb_camera_index_)); } EmbeddedData::~EmbeddedData() { // @@protoc_insertion_point(destructor:R360.EmbeddedData) SharedDtor(*this); } inline void EmbeddedData::SharedDtor(MessageLite& self) { EmbeddedData& this_ = static_cast(self); this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); ABSL_DCHECK(this_.GetArena() == nullptr); this_._impl_.image_.Destroy(); this_._impl_.~Impl_(); } inline void* EmbeddedData::PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena) { return ::new (mem) EmbeddedData(arena); } constexpr auto EmbeddedData::InternalNewImpl_() { constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({ PROTOBUF_FIELD_OFFSET(EmbeddedData, _impl_.alarm_) + decltype(EmbeddedData::_impl_.alarm_):: InternalGetArenaOffset( ::google::protobuf::Message::internal_visibility()), }); if (arena_bits.has_value()) { return ::google::protobuf::internal::MessageCreator::CopyInit( sizeof(EmbeddedData), alignof(EmbeddedData), *arena_bits); } else { return ::google::protobuf::internal::MessageCreator(&EmbeddedData::PlacementNew_, sizeof(EmbeddedData), alignof(EmbeddedData)); } } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::google::protobuf::internal::ClassDataFull EmbeddedData::_class_data_ = { ::google::protobuf::internal::ClassData{ &_EmbeddedData_default_instance_._instance, &_table_.header, nullptr, // OnDemandRegisterArenaDtor nullptr, // IsInitialized &EmbeddedData::MergeImpl, ::google::protobuf::Message::GetNewImpl(), #if defined(PROTOBUF_CUSTOM_VTABLE) &EmbeddedData::SharedDtor, ::google::protobuf::Message::GetClearImpl(), &EmbeddedData::ByteSizeLong, &EmbeddedData::_InternalSerialize, #endif // PROTOBUF_CUSTOM_VTABLE PROTOBUF_FIELD_OFFSET(EmbeddedData, _impl_._cached_size_), false, }, &EmbeddedData::kDescriptorMethods, &descriptor_table_ImageService_2eproto, nullptr, // tracker }; const ::google::protobuf::internal::ClassData* EmbeddedData::GetClassData() const { ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); return _class_data_.base(); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::_pbi::TcParseTable<2, 4, 1, 0, 2> EmbeddedData::_table_ = { { 0, // no _has_bits_ 0, // no _extensions_ 4, 24, // max_field_number, fast_idx_mask offsetof(decltype(_table_), field_lookup_table), 4294967280, // skipmap offsetof(decltype(_table_), field_entries), 4, // num_field_entries 1, // num_aux_entries offsetof(decltype(_table_), aux_entries), _class_data_.base(), nullptr, // post_loop_handler ::_pbi::TcParser::GenericFallback, // fallback #ifdef PROTOBUF_PREFETCH_PARSE_TABLE ::_pbi::TcParser::GetTable<::R360::EmbeddedData>(), // to_prefetch #endif // PROTOBUF_PREFETCH_PARSE_TABLE }, {{ // repeated .R360.Alarm alarm = 4; {::_pbi::TcParser::FastMtR1, {34, 63, 0, PROTOBUF_FIELD_OFFSET(EmbeddedData, _impl_.alarm_)}}, // uint32 usb_camera_index = 1; {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(EmbeddedData, _impl_.usb_camera_index_), 63>(), {8, 63, 0, PROTOBUF_FIELD_OFFSET(EmbeddedData, _impl_.usb_camera_index_)}}, // bytes image = 2; {::_pbi::TcParser::FastBS1, {18, 63, 0, PROTOBUF_FIELD_OFFSET(EmbeddedData, _impl_.image_)}}, // uint64 degree = 3; {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(EmbeddedData, _impl_.degree_), 63>(), {24, 63, 0, PROTOBUF_FIELD_OFFSET(EmbeddedData, _impl_.degree_)}}, }}, {{ 65535, 65535 }}, {{ // uint32 usb_camera_index = 1; {PROTOBUF_FIELD_OFFSET(EmbeddedData, _impl_.usb_camera_index_), 0, 0, (0 | ::_fl::kFcSingular | ::_fl::kUInt32)}, // bytes image = 2; {PROTOBUF_FIELD_OFFSET(EmbeddedData, _impl_.image_), 0, 0, (0 | ::_fl::kFcSingular | ::_fl::kBytes | ::_fl::kRepAString)}, // uint64 degree = 3; {PROTOBUF_FIELD_OFFSET(EmbeddedData, _impl_.degree_), 0, 0, (0 | ::_fl::kFcSingular | ::_fl::kUInt64)}, // repeated .R360.Alarm alarm = 4; {PROTOBUF_FIELD_OFFSET(EmbeddedData, _impl_.alarm_), 0, 0, (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)}, }}, {{ {::_pbi::TcParser::GetTable<::R360::Alarm>()}, }}, {{ }}, }; PROTOBUF_NOINLINE void EmbeddedData::Clear() { // @@protoc_insertion_point(message_clear_start:R360.EmbeddedData) ::google::protobuf::internal::TSanWrite(&_impl_); ::uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; _impl_.alarm_.Clear(); _impl_.image_.ClearToEmpty(); ::memset(&_impl_.degree_, 0, static_cast<::size_t>( reinterpret_cast(&_impl_.usb_camera_index_) - reinterpret_cast(&_impl_.degree_)) + sizeof(_impl_.usb_camera_index_)); _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); } #if defined(PROTOBUF_CUSTOM_VTABLE) ::uint8_t* EmbeddedData::_InternalSerialize( const MessageLite& base, ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) { const EmbeddedData& this_ = static_cast(base); #else // PROTOBUF_CUSTOM_VTABLE ::uint8_t* EmbeddedData::_InternalSerialize( ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const { const EmbeddedData& this_ = *this; #endif // PROTOBUF_CUSTOM_VTABLE // @@protoc_insertion_point(serialize_to_array_start:R360.EmbeddedData) ::uint32_t cached_has_bits = 0; (void)cached_has_bits; // uint32 usb_camera_index = 1; if (this_._internal_usb_camera_index() != 0) { target = stream->EnsureSpace(target); target = ::_pbi::WireFormatLite::WriteUInt32ToArray( 1, this_._internal_usb_camera_index(), target); } // bytes image = 2; if (!this_._internal_image().empty()) { const std::string& _s = this_._internal_image(); target = stream->WriteBytesMaybeAliased(2, _s, target); } // uint64 degree = 3; if (this_._internal_degree() != 0) { target = stream->EnsureSpace(target); target = ::_pbi::WireFormatLite::WriteUInt64ToArray( 3, this_._internal_degree(), target); } // repeated .R360.Alarm alarm = 4; for (unsigned i = 0, n = static_cast( this_._internal_alarm_size()); i < n; i++) { const auto& repfield = this_._internal_alarm().Get(i); target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( 4, repfield, repfield.GetCachedSize(), target, stream); } if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); } // @@protoc_insertion_point(serialize_to_array_end:R360.EmbeddedData) return target; } #if defined(PROTOBUF_CUSTOM_VTABLE) ::size_t EmbeddedData::ByteSizeLong(const MessageLite& base) { const EmbeddedData& this_ = static_cast(base); #else // PROTOBUF_CUSTOM_VTABLE ::size_t EmbeddedData::ByteSizeLong() const { const EmbeddedData& this_ = *this; #endif // PROTOBUF_CUSTOM_VTABLE // @@protoc_insertion_point(message_byte_size_start:R360.EmbeddedData) ::size_t total_size = 0; ::uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void)cached_has_bits; ::_pbi::Prefetch5LinesFrom7Lines(&this_); { // repeated .R360.Alarm alarm = 4; { total_size += 1UL * this_._internal_alarm_size(); for (const auto& msg : this_._internal_alarm()) { total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg); } } } { // bytes image = 2; if (!this_._internal_image().empty()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::BytesSize( this_._internal_image()); } // uint64 degree = 3; if (this_._internal_degree() != 0) { total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne( this_._internal_degree()); } // uint32 usb_camera_index = 1; if (this_._internal_usb_camera_index() != 0) { total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( this_._internal_usb_camera_index()); } } return this_.MaybeComputeUnknownFieldsSize(total_size, &this_._impl_._cached_size_); } void EmbeddedData::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { auto* const _this = static_cast(&to_msg); auto& from = static_cast(from_msg); // @@protoc_insertion_point(class_specific_merge_from_start:R360.EmbeddedData) ABSL_DCHECK_NE(&from, _this); ::uint32_t cached_has_bits = 0; (void) cached_has_bits; _this->_internal_mutable_alarm()->MergeFrom( from._internal_alarm()); if (!from._internal_image().empty()) { _this->_internal_set_image(from._internal_image()); } if (from._internal_degree() != 0) { _this->_impl_.degree_ = from._impl_.degree_; } if (from._internal_usb_camera_index() != 0) { _this->_impl_.usb_camera_index_ = from._impl_.usb_camera_index_; } _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); } void EmbeddedData::CopyFrom(const EmbeddedData& from) { // @@protoc_insertion_point(class_specific_copy_from_start:R360.EmbeddedData) if (&from == this) return; Clear(); MergeFrom(from); } void EmbeddedData::InternalSwap(EmbeddedData* PROTOBUF_RESTRICT other) { using std::swap; auto* arena = GetArena(); ABSL_DCHECK_EQ(arena, other->GetArena()); _internal_metadata_.InternalSwap(&other->_internal_metadata_); _impl_.alarm_.InternalSwap(&other->_impl_.alarm_); ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.image_, &other->_impl_.image_, arena); ::google::protobuf::internal::memswap< PROTOBUF_FIELD_OFFSET(EmbeddedData, _impl_.usb_camera_index_) + sizeof(EmbeddedData::_impl_.usb_camera_index_) - PROTOBUF_FIELD_OFFSET(EmbeddedData, _impl_.degree_)>( reinterpret_cast(&_impl_.degree_), reinterpret_cast(&other->_impl_.degree_)); } ::google::protobuf::Metadata EmbeddedData::GetMetadata() const { return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); } // =================================================================== class Alarm::_Internal { public: }; Alarm::Alarm(::google::protobuf::Arena* arena) #if defined(PROTOBUF_CUSTOM_VTABLE) : ::google::protobuf::Message(arena, _class_data_.base()) { #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::Message(arena) { #endif // PROTOBUF_CUSTOM_VTABLE SharedCtor(arena); // @@protoc_insertion_point(arena_constructor:R360.Alarm) } Alarm::Alarm( ::google::protobuf::Arena* arena, const Alarm& from) : Alarm(arena) { MergeFrom(from); } inline PROTOBUF_NDEBUG_INLINE Alarm::Impl_::Impl_( ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena) : _cached_size_{0} {} inline void Alarm::SharedCtor(::_pb::Arena* arena) { new (&_impl_) Impl_(internal_visibility(), arena); ::memset(reinterpret_cast(&_impl_) + offsetof(Impl_, x_), 0, offsetof(Impl_, type_) - offsetof(Impl_, x_) + sizeof(Impl_::type_)); } Alarm::~Alarm() { // @@protoc_insertion_point(destructor:R360.Alarm) SharedDtor(*this); } inline void Alarm::SharedDtor(MessageLite& self) { Alarm& this_ = static_cast(self); this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); ABSL_DCHECK(this_.GetArena() == nullptr); this_._impl_.~Impl_(); } inline void* Alarm::PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena) { return ::new (mem) Alarm(arena); } constexpr auto Alarm::InternalNewImpl_() { return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(Alarm), alignof(Alarm)); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::google::protobuf::internal::ClassDataFull Alarm::_class_data_ = { ::google::protobuf::internal::ClassData{ &_Alarm_default_instance_._instance, &_table_.header, nullptr, // OnDemandRegisterArenaDtor nullptr, // IsInitialized &Alarm::MergeImpl, ::google::protobuf::Message::GetNewImpl(), #if defined(PROTOBUF_CUSTOM_VTABLE) &Alarm::SharedDtor, ::google::protobuf::Message::GetClearImpl(), &Alarm::ByteSizeLong, &Alarm::_InternalSerialize, #endif // PROTOBUF_CUSTOM_VTABLE PROTOBUF_FIELD_OFFSET(Alarm, _impl_._cached_size_), false, }, &Alarm::kDescriptorMethods, &descriptor_table_ImageService_2eproto, nullptr, // tracker }; const ::google::protobuf::internal::ClassData* Alarm::GetClassData() const { ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); return _class_data_.base(); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::_pbi::TcParseTable<3, 6, 0, 0, 2> Alarm::_table_ = { { 0, // no _has_bits_ 0, // no _extensions_ 6, 56, // max_field_number, fast_idx_mask offsetof(decltype(_table_), field_lookup_table), 4294967232, // skipmap offsetof(decltype(_table_), field_entries), 6, // num_field_entries 0, // num_aux_entries offsetof(decltype(_table_), field_names), // no aux_entries _class_data_.base(), nullptr, // post_loop_handler ::_pbi::TcParser::GenericFallback, // fallback #ifdef PROTOBUF_PREFETCH_PARSE_TABLE ::_pbi::TcParser::GetTable<::R360::Alarm>(), // to_prefetch #endif // PROTOBUF_PREFETCH_PARSE_TABLE }, {{ {::_pbi::TcParser::MiniParse, {}}, // uint32 x = 1; {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(Alarm, _impl_.x_), 63>(), {8, 63, 0, PROTOBUF_FIELD_OFFSET(Alarm, _impl_.x_)}}, // uint32 y = 2; {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(Alarm, _impl_.y_), 63>(), {16, 63, 0, PROTOBUF_FIELD_OFFSET(Alarm, _impl_.y_)}}, // uint32 w = 3; {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(Alarm, _impl_.w_), 63>(), {24, 63, 0, PROTOBUF_FIELD_OFFSET(Alarm, _impl_.w_)}}, // uint32 h = 4; {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(Alarm, _impl_.h_), 63>(), {32, 63, 0, PROTOBUF_FIELD_OFFSET(Alarm, _impl_.h_)}}, // float score = 5; {::_pbi::TcParser::FastF32S1, {45, 63, 0, PROTOBUF_FIELD_OFFSET(Alarm, _impl_.score_)}}, // .R360.AlarmType type = 6; {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(Alarm, _impl_.type_), 63>(), {48, 63, 0, PROTOBUF_FIELD_OFFSET(Alarm, _impl_.type_)}}, {::_pbi::TcParser::MiniParse, {}}, }}, {{ 65535, 65535 }}, {{ // uint32 x = 1; {PROTOBUF_FIELD_OFFSET(Alarm, _impl_.x_), 0, 0, (0 | ::_fl::kFcSingular | ::_fl::kUInt32)}, // uint32 y = 2; {PROTOBUF_FIELD_OFFSET(Alarm, _impl_.y_), 0, 0, (0 | ::_fl::kFcSingular | ::_fl::kUInt32)}, // uint32 w = 3; {PROTOBUF_FIELD_OFFSET(Alarm, _impl_.w_), 0, 0, (0 | ::_fl::kFcSingular | ::_fl::kUInt32)}, // uint32 h = 4; {PROTOBUF_FIELD_OFFSET(Alarm, _impl_.h_), 0, 0, (0 | ::_fl::kFcSingular | ::_fl::kUInt32)}, // float score = 5; {PROTOBUF_FIELD_OFFSET(Alarm, _impl_.score_), 0, 0, (0 | ::_fl::kFcSingular | ::_fl::kFloat)}, // .R360.AlarmType type = 6; {PROTOBUF_FIELD_OFFSET(Alarm, _impl_.type_), 0, 0, (0 | ::_fl::kFcSingular | ::_fl::kOpenEnum)}, }}, // no aux_entries {{ }}, }; PROTOBUF_NOINLINE void Alarm::Clear() { // @@protoc_insertion_point(message_clear_start:R360.Alarm) ::google::protobuf::internal::TSanWrite(&_impl_); ::uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; ::memset(&_impl_.x_, 0, static_cast<::size_t>( reinterpret_cast(&_impl_.type_) - reinterpret_cast(&_impl_.x_)) + sizeof(_impl_.type_)); _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); } #if defined(PROTOBUF_CUSTOM_VTABLE) ::uint8_t* Alarm::_InternalSerialize( const MessageLite& base, ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) { const Alarm& this_ = static_cast(base); #else // PROTOBUF_CUSTOM_VTABLE ::uint8_t* Alarm::_InternalSerialize( ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const { const Alarm& this_ = *this; #endif // PROTOBUF_CUSTOM_VTABLE // @@protoc_insertion_point(serialize_to_array_start:R360.Alarm) ::uint32_t cached_has_bits = 0; (void)cached_has_bits; // uint32 x = 1; if (this_._internal_x() != 0) { target = stream->EnsureSpace(target); target = ::_pbi::WireFormatLite::WriteUInt32ToArray( 1, this_._internal_x(), target); } // uint32 y = 2; if (this_._internal_y() != 0) { target = stream->EnsureSpace(target); target = ::_pbi::WireFormatLite::WriteUInt32ToArray( 2, this_._internal_y(), target); } // uint32 w = 3; if (this_._internal_w() != 0) { target = stream->EnsureSpace(target); target = ::_pbi::WireFormatLite::WriteUInt32ToArray( 3, this_._internal_w(), target); } // uint32 h = 4; if (this_._internal_h() != 0) { target = stream->EnsureSpace(target); target = ::_pbi::WireFormatLite::WriteUInt32ToArray( 4, this_._internal_h(), target); } // float score = 5; if (::absl::bit_cast<::uint32_t>(this_._internal_score()) != 0) { target = stream->EnsureSpace(target); target = ::_pbi::WireFormatLite::WriteFloatToArray( 5, this_._internal_score(), target); } // .R360.AlarmType type = 6; if (this_._internal_type() != 0) { target = stream->EnsureSpace(target); target = ::_pbi::WireFormatLite::WriteEnumToArray( 6, this_._internal_type(), target); } if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); } // @@protoc_insertion_point(serialize_to_array_end:R360.Alarm) return target; } #if defined(PROTOBUF_CUSTOM_VTABLE) ::size_t Alarm::ByteSizeLong(const MessageLite& base) { const Alarm& this_ = static_cast(base); #else // PROTOBUF_CUSTOM_VTABLE ::size_t Alarm::ByteSizeLong() const { const Alarm& this_ = *this; #endif // PROTOBUF_CUSTOM_VTABLE // @@protoc_insertion_point(message_byte_size_start:R360.Alarm) ::size_t total_size = 0; ::uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void)cached_has_bits; ::_pbi::Prefetch5LinesFrom7Lines(&this_); { // uint32 x = 1; if (this_._internal_x() != 0) { total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( this_._internal_x()); } // uint32 y = 2; if (this_._internal_y() != 0) { total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( this_._internal_y()); } // uint32 w = 3; if (this_._internal_w() != 0) { total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( this_._internal_w()); } // uint32 h = 4; if (this_._internal_h() != 0) { total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( this_._internal_h()); } // float score = 5; if (::absl::bit_cast<::uint32_t>(this_._internal_score()) != 0) { total_size += 5; } // .R360.AlarmType type = 6; if (this_._internal_type() != 0) { total_size += 1 + ::_pbi::WireFormatLite::EnumSize(this_._internal_type()); } } return this_.MaybeComputeUnknownFieldsSize(total_size, &this_._impl_._cached_size_); } void Alarm::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { auto* const _this = static_cast(&to_msg); auto& from = static_cast(from_msg); // @@protoc_insertion_point(class_specific_merge_from_start:R360.Alarm) ABSL_DCHECK_NE(&from, _this); ::uint32_t cached_has_bits = 0; (void) cached_has_bits; if (from._internal_x() != 0) { _this->_impl_.x_ = from._impl_.x_; } if (from._internal_y() != 0) { _this->_impl_.y_ = from._impl_.y_; } if (from._internal_w() != 0) { _this->_impl_.w_ = from._impl_.w_; } if (from._internal_h() != 0) { _this->_impl_.h_ = from._impl_.h_; } if (::absl::bit_cast<::uint32_t>(from._internal_score()) != 0) { _this->_impl_.score_ = from._impl_.score_; } if (from._internal_type() != 0) { _this->_impl_.type_ = from._impl_.type_; } _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); } void Alarm::CopyFrom(const Alarm& from) { // @@protoc_insertion_point(class_specific_copy_from_start:R360.Alarm) if (&from == this) return; Clear(); MergeFrom(from); } void Alarm::InternalSwap(Alarm* PROTOBUF_RESTRICT other) { using std::swap; _internal_metadata_.InternalSwap(&other->_internal_metadata_); ::google::protobuf::internal::memswap< PROTOBUF_FIELD_OFFSET(Alarm, _impl_.type_) + sizeof(Alarm::_impl_.type_) - PROTOBUF_FIELD_OFFSET(Alarm, _impl_.x_)>( reinterpret_cast(&_impl_.x_), reinterpret_cast(&other->_impl_.x_)); } ::google::protobuf::Metadata Alarm::GetMetadata() const { return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); } // @@protoc_insertion_point(namespace_scope) } // namespace R360 namespace google { namespace protobuf { } // namespace protobuf } // namespace google // @@protoc_insertion_point(global_scope) PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 static ::std::false_type _static_init2_ PROTOBUF_UNUSED = (::_pbi::AddDescriptors(&descriptor_table_ImageService_2eproto), ::std::false_type{}); #include "google/protobuf/port_undef.inc"