// Generated by the protocol buffer compiler. DO NOT EDIT! // source: DataProcMessage.proto #define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION #include "DataProcMessage.pb.h" #include #include #include #include #include #include #include #include #include // @@protoc_insertion_point(includes) namespace iot_idl { namespace { const ::google::protobuf::Descriptor* SDpcdaSubInfo_descriptor_ = NULL; const ::google::protobuf::internal::GeneratedMessageReflection* SDpcdaSubInfo_reflection_ = NULL; const ::google::protobuf::Descriptor* SDpcdaSubPkg_descriptor_ = NULL; const ::google::protobuf::internal::GeneratedMessageReflection* SDpcdaSubPkg_reflection_ = NULL; const ::google::protobuf::Descriptor* SPointMsg_descriptor_ = NULL; const ::google::protobuf::internal::GeneratedMessageReflection* SPointMsg_reflection_ = NULL; const ::google::protobuf::Descriptor* SPointMsgPackage_descriptor_ = NULL; const ::google::protobuf::internal::GeneratedMessageReflection* SPointMsgPackage_reflection_ = NULL; const ::google::protobuf::Descriptor* SRealTimePkgHead_descriptor_ = NULL; const ::google::protobuf::internal::GeneratedMessageReflection* SRealTimePkgHead_reflection_ = NULL; const ::google::protobuf::Descriptor* SAiRealTimeData_descriptor_ = NULL; const ::google::protobuf::internal::GeneratedMessageReflection* SAiRealTimeData_reflection_ = NULL; const ::google::protobuf::Descriptor* SPiRealTimeData_descriptor_ = NULL; const ::google::protobuf::internal::GeneratedMessageReflection* SPiRealTimeData_reflection_ = NULL; const ::google::protobuf::Descriptor* SDiRealTimeData_descriptor_ = NULL; const ::google::protobuf::internal::GeneratedMessageReflection* SDiRealTimeData_reflection_ = NULL; const ::google::protobuf::Descriptor* SMiRealTimeData_descriptor_ = NULL; const ::google::protobuf::internal::GeneratedMessageReflection* SMiRealTimeData_reflection_ = NULL; const ::google::protobuf::Descriptor* STableRealTimeData_descriptor_ = NULL; const ::google::protobuf::internal::GeneratedMessageReflection* STableRealTimeData_reflection_ = NULL; const ::google::protobuf::Descriptor* SRealTimeDataPkg_descriptor_ = NULL; const ::google::protobuf::internal::GeneratedMessageReflection* SRealTimeDataPkg_reflection_ = NULL; const ::google::protobuf::EnumDescriptor* enDataProcMessage_descriptor_ = NULL; } // namespace void protobuf_AssignDesc_DataProcMessage_2eproto() { protobuf_AddDesc_DataProcMessage_2eproto(); const ::google::protobuf::FileDescriptor* file = ::google::protobuf::DescriptorPool::generated_pool()->FindFileByName( "DataProcMessage.proto"); GOOGLE_CHECK(file != NULL); SDpcdaSubInfo_descriptor_ = file->message_type(0); static const int SDpcdaSubInfo_offsets_[3] = { GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SDpcdaSubInfo, tab_name_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SDpcdaSubInfo, tag_name_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SDpcdaSubInfo, col_name_), }; SDpcdaSubInfo_reflection_ = new ::google::protobuf::internal::GeneratedMessageReflection( SDpcdaSubInfo_descriptor_, SDpcdaSubInfo::default_instance_, SDpcdaSubInfo_offsets_, GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SDpcdaSubInfo, _has_bits_[0]), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SDpcdaSubInfo, _unknown_fields_), -1, ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(SDpcdaSubInfo)); SDpcdaSubPkg_descriptor_ = file->message_type(1); static const int SDpcdaSubPkg_offsets_[2] = { GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SDpcdaSubPkg, add_sub_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SDpcdaSubPkg, del_sub_), }; SDpcdaSubPkg_reflection_ = new ::google::protobuf::internal::GeneratedMessageReflection( SDpcdaSubPkg_descriptor_, SDpcdaSubPkg::default_instance_, SDpcdaSubPkg_offsets_, GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SDpcdaSubPkg, _has_bits_[0]), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SDpcdaSubPkg, _unknown_fields_), -1, ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(SDpcdaSubPkg)); SPointMsg_descriptor_ = file->message_type(2); static const int SPointMsg_offsets_[5] = { GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SPointMsg, ndominid_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SPointMsg, nappid_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SPointMsg, stable_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SPointMsg, skey_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SPointMsg, scolumn_), }; SPointMsg_reflection_ = new ::google::protobuf::internal::GeneratedMessageReflection( SPointMsg_descriptor_, SPointMsg::default_instance_, SPointMsg_offsets_, GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SPointMsg, _has_bits_[0]), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SPointMsg, _unknown_fields_), -1, ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(SPointMsg)); SPointMsgPackage_descriptor_ = file->message_type(3); static const int SPointMsgPackage_offsets_[1] = { GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SPointMsgPackage, pointmsg_), }; SPointMsgPackage_reflection_ = new ::google::protobuf::internal::GeneratedMessageReflection( SPointMsgPackage_descriptor_, SPointMsgPackage::default_instance_, SPointMsgPackage_offsets_, GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SPointMsgPackage, _has_bits_[0]), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SPointMsgPackage, _unknown_fields_), -1, ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(SPointMsgPackage)); SRealTimePkgHead_descriptor_ = file->message_type(4); static const int SRealTimePkgHead_offsets_[2] = { GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SRealTimePkgHead, strsrctag_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SRealTimePkgHead, ntimestamp_), }; SRealTimePkgHead_reflection_ = new ::google::protobuf::internal::GeneratedMessageReflection( SRealTimePkgHead_descriptor_, SRealTimePkgHead::default_instance_, SRealTimePkgHead_offsets_, GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SRealTimePkgHead, _has_bits_[0]), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SRealTimePkgHead, _unknown_fields_), -1, ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(SRealTimePkgHead)); SAiRealTimeData_descriptor_ = file->message_type(5); static const int SAiRealTimeData_offsets_[7] = { GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SAiRealTimeData, nlocation_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SAiRealTimeData, nsubsystem_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SAiRealTimeData, strtablename_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SAiRealTimeData, strtagname_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SAiRealTimeData, strcolumnname_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SAiRealTimeData, fvalue_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SAiRealTimeData, ustatus_), }; SAiRealTimeData_reflection_ = new ::google::protobuf::internal::GeneratedMessageReflection( SAiRealTimeData_descriptor_, SAiRealTimeData::default_instance_, SAiRealTimeData_offsets_, GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SAiRealTimeData, _has_bits_[0]), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SAiRealTimeData, _unknown_fields_), -1, ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(SAiRealTimeData)); SPiRealTimeData_descriptor_ = file->message_type(6); static const int SPiRealTimeData_offsets_[7] = { GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SPiRealTimeData, nlocation_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SPiRealTimeData, nsubsystem_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SPiRealTimeData, strtablename_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SPiRealTimeData, strtagname_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SPiRealTimeData, strcolumnname_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SPiRealTimeData, dvalue_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SPiRealTimeData, ustatus_), }; SPiRealTimeData_reflection_ = new ::google::protobuf::internal::GeneratedMessageReflection( SPiRealTimeData_descriptor_, SPiRealTimeData::default_instance_, SPiRealTimeData_offsets_, GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SPiRealTimeData, _has_bits_[0]), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SPiRealTimeData, _unknown_fields_), -1, ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(SPiRealTimeData)); SDiRealTimeData_descriptor_ = file->message_type(7); static const int SDiRealTimeData_offsets_[7] = { GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SDiRealTimeData, nlocation_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SDiRealTimeData, nsubsystem_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SDiRealTimeData, strtablename_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SDiRealTimeData, strtagname_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SDiRealTimeData, strcolumnname_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SDiRealTimeData, nvalue_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SDiRealTimeData, ustatus_), }; SDiRealTimeData_reflection_ = new ::google::protobuf::internal::GeneratedMessageReflection( SDiRealTimeData_descriptor_, SDiRealTimeData::default_instance_, SDiRealTimeData_offsets_, GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SDiRealTimeData, _has_bits_[0]), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SDiRealTimeData, _unknown_fields_), -1, ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(SDiRealTimeData)); SMiRealTimeData_descriptor_ = file->message_type(8); static const int SMiRealTimeData_offsets_[7] = { GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SMiRealTimeData, nlocation_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SMiRealTimeData, nsubsystem_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SMiRealTimeData, strtablename_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SMiRealTimeData, strtagname_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SMiRealTimeData, strcolumnname_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SMiRealTimeData, nvalue_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SMiRealTimeData, ustatus_), }; SMiRealTimeData_reflection_ = new ::google::protobuf::internal::GeneratedMessageReflection( SMiRealTimeData_descriptor_, SMiRealTimeData::default_instance_, SMiRealTimeData_offsets_, GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SMiRealTimeData, _has_bits_[0]), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SMiRealTimeData, _unknown_fields_), -1, ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(SMiRealTimeData)); STableRealTimeData_descriptor_ = file->message_type(9); static const int STableRealTimeData_offsets_[6] = { GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(STableRealTimeData, strtablename_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(STableRealTimeData, strtagname_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(STableRealTimeData, strcolumnname_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(STableRealTimeData, nlocation_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(STableRealTimeData, nsubsystem_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(STableRealTimeData, varvalue_), }; STableRealTimeData_reflection_ = new ::google::protobuf::internal::GeneratedMessageReflection( STableRealTimeData_descriptor_, STableRealTimeData::default_instance_, STableRealTimeData_offsets_, GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(STableRealTimeData, _has_bits_[0]), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(STableRealTimeData, _unknown_fields_), -1, ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(STableRealTimeData)); SRealTimeDataPkg_descriptor_ = file->message_type(10); static const int SRealTimeDataPkg_offsets_[6] = { GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SRealTimeDataPkg, sthead_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SRealTimeDataPkg, stairtd_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SRealTimeDataPkg, stpirtd_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SRealTimeDataPkg, stdirtd_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SRealTimeDataPkg, stmirtd_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SRealTimeDataPkg, sttblrtd_), }; SRealTimeDataPkg_reflection_ = new ::google::protobuf::internal::GeneratedMessageReflection( SRealTimeDataPkg_descriptor_, SRealTimeDataPkg::default_instance_, SRealTimeDataPkg_offsets_, GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SRealTimeDataPkg, _has_bits_[0]), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SRealTimeDataPkg, _unknown_fields_), -1, ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(SRealTimeDataPkg)); enDataProcMessage_descriptor_ = file->enum_type(0); } namespace { GOOGLE_PROTOBUF_DECLARE_ONCE(protobuf_AssignDescriptors_once_); inline void protobuf_AssignDescriptorsOnce() { ::google::protobuf::GoogleOnceInit(&protobuf_AssignDescriptors_once_, &protobuf_AssignDesc_DataProcMessage_2eproto); } void protobuf_RegisterTypes(const ::std::string&) { protobuf_AssignDescriptorsOnce(); ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( SDpcdaSubInfo_descriptor_, &SDpcdaSubInfo::default_instance()); ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( SDpcdaSubPkg_descriptor_, &SDpcdaSubPkg::default_instance()); ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( SPointMsg_descriptor_, &SPointMsg::default_instance()); ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( SPointMsgPackage_descriptor_, &SPointMsgPackage::default_instance()); ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( SRealTimePkgHead_descriptor_, &SRealTimePkgHead::default_instance()); ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( SAiRealTimeData_descriptor_, &SAiRealTimeData::default_instance()); ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( SPiRealTimeData_descriptor_, &SPiRealTimeData::default_instance()); ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( SDiRealTimeData_descriptor_, &SDiRealTimeData::default_instance()); ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( SMiRealTimeData_descriptor_, &SMiRealTimeData::default_instance()); ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( STableRealTimeData_descriptor_, &STableRealTimeData::default_instance()); ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( SRealTimeDataPkg_descriptor_, &SRealTimeDataPkg::default_instance()); } } // namespace void protobuf_ShutdownFile_DataProcMessage_2eproto() { delete SDpcdaSubInfo::default_instance_; delete SDpcdaSubInfo_reflection_; delete SDpcdaSubPkg::default_instance_; delete SDpcdaSubPkg_reflection_; delete SPointMsg::default_instance_; delete SPointMsg_reflection_; delete SPointMsgPackage::default_instance_; delete SPointMsgPackage_reflection_; delete SRealTimePkgHead::default_instance_; delete SRealTimePkgHead_reflection_; delete SAiRealTimeData::default_instance_; delete SAiRealTimeData_reflection_; delete SPiRealTimeData::default_instance_; delete SPiRealTimeData_reflection_; delete SDiRealTimeData::default_instance_; delete SDiRealTimeData_reflection_; delete SMiRealTimeData::default_instance_; delete SMiRealTimeData_reflection_; delete STableRealTimeData::default_instance_; delete STableRealTimeData_reflection_; delete SRealTimeDataPkg::default_instance_; delete SRealTimeDataPkg_reflection_; } void protobuf_AddDesc_DataProcMessage_2eproto() { static bool already_here = false; if (already_here) return; already_here = true; GOOGLE_PROTOBUF_VERIFY_VERSION; ::iot_idl::protobuf_AddDesc_Public_2eproto(); ::google::protobuf::DescriptorPool::InternalAddGeneratedFile( "\n\025DataProcMessage.proto\022\007iot_idl\032\014Public" ".proto\"E\n\rSDpcdaSubInfo\022\020\n\010tab_name\030\001 \002(" "\t\022\020\n\010tag_name\030\002 \002(\t\022\020\n\010col_name\030\003 \002(\t\"`\n" "\014SDpcdaSubPkg\022\'\n\007add_sub\030\001 \003(\0132\026.iot_idl" ".SDpcdaSubInfo\022\'\n\007del_sub\030\002 \003(\0132\026.iot_id" "l.SDpcdaSubInfo\"\\\n\tSPointMsg\022\020\n\010nDominId" "\030\001 \002(\005\022\016\n\006nAppId\030\002 \002(\005\022\016\n\006sTable\030\003 \002(\t\022\014" "\n\004sKey\030\004 \002(\t\022\017\n\007sColumn\030\005 \002(\t\"8\n\020SPointM" "sgPackage\022$\n\010PointMsg\030\001 \003(\0132\022.iot_idl.SP" "ointMsg\"9\n\020SRealTimePkgHead\022\021\n\tstrSrcTag" "\030\001 \002(\t\022\022\n\nnTimeStamp\030\002 \002(\003\"\232\001\n\017SAiRealTi" "meData\022\021\n\tnLocation\030\001 \002(\005\022\022\n\nnSubSystem\030" "\002 \002(\005\022\024\n\014strTableName\030\003 \002(\t\022\022\n\nstrTagNam" "e\030\004 \002(\t\022\025\n\rstrColumnName\030\005 \002(\t\022\016\n\006fValue" "\030\006 \002(\002\022\017\n\007uStatus\030\007 \002(\r\"\232\001\n\017SPiRealTimeD" "ata\022\021\n\tnLocation\030\001 \002(\005\022\022\n\nnSubSystem\030\002 \002" "(\005\022\024\n\014strTableName\030\003 \002(\t\022\022\n\nstrTagName\030\004" " \002(\t\022\025\n\rstrColumnName\030\005 \002(\t\022\016\n\006dValue\030\006 " "\002(\001\022\017\n\007uStatus\030\007 \002(\r\"\232\001\n\017SDiRealTimeData" "\022\021\n\tnLocation\030\001 \002(\005\022\022\n\nnSubSystem\030\002 \002(\005\022" "\024\n\014strTableName\030\003 \002(\t\022\022\n\nstrTagName\030\004 \002(" "\t\022\025\n\rstrColumnName\030\005 \002(\t\022\016\n\006nValue\030\006 \002(\005" "\022\017\n\007uStatus\030\007 \002(\r\"\232\001\n\017SMiRealTimeData\022\021\n" "\tnLocation\030\001 \002(\005\022\022\n\nnSubSystem\030\002 \002(\005\022\024\n\014" "strTableName\030\003 \002(\t\022\022\n\nstrTagName\030\004 \002(\t\022\025" "\n\rstrColumnName\030\005 \002(\t\022\016\n\006nValue\030\006 \002(\005\022\017\n" "\007uStatus\030\007 \002(\r\"\242\001\n\022STableRealTimeData\022\024\n" "\014strTableName\030\001 \002(\t\022\022\n\nstrTagName\030\002 \002(\t\022" "\025\n\rstrColumnName\030\003 \002(\t\022\021\n\tnLocation\030\004 \001(" "\005\022\022\n\nnSubSystem\030\005 \001(\005\022$\n\010varValue\030\006 \002(\0132" "\022.iot_idl.SVariable\"\230\002\n\020SRealTimeDataPkg" "\022)\n\006stHead\030\001 \002(\0132\031.iot_idl.SRealTimePkgH" "ead\022)\n\007stAiRtd\030\002 \003(\0132\030.iot_idl.SAiRealTi" "meData\022)\n\007stPiRtd\030\003 \003(\0132\030.iot_idl.SPiRea" "lTimeData\022)\n\007stDiRtd\030\004 \003(\0132\030.iot_idl.SDi" "RealTimeData\022)\n\007stMiRtd\030\005 \003(\0132\030.iot_idl." "SMiRealTimeData\022-\n\010stTblRtd\030\006 \003(\0132\033.iot_" "idl.STableRealTimeData*\261\001\n\021enDataProcMes" "sage\022\027\n\023MT_DPCDA_APP2DP_CHG\020\001\022\033\n\027MT_DPCD" "A_APP2DP_CHG_CNT\020\002\022\027\n\023MT_DPCDA_APP2DP_AL" "L\020\003\022\033\n\027MT_DPCDA_DP2APP_ALL_REQ\020\004\022\025\n\021MT_D" "P_CHANGE_DATA\020\006\022\031\n\025MT_TOPO_QCOLOR_NOTIFY" "\020\024", 1682); ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile( "DataProcMessage.proto", &protobuf_RegisterTypes); SDpcdaSubInfo::default_instance_ = new SDpcdaSubInfo(); SDpcdaSubPkg::default_instance_ = new SDpcdaSubPkg(); SPointMsg::default_instance_ = new SPointMsg(); SPointMsgPackage::default_instance_ = new SPointMsgPackage(); SRealTimePkgHead::default_instance_ = new SRealTimePkgHead(); SAiRealTimeData::default_instance_ = new SAiRealTimeData(); SPiRealTimeData::default_instance_ = new SPiRealTimeData(); SDiRealTimeData::default_instance_ = new SDiRealTimeData(); SMiRealTimeData::default_instance_ = new SMiRealTimeData(); STableRealTimeData::default_instance_ = new STableRealTimeData(); SRealTimeDataPkg::default_instance_ = new SRealTimeDataPkg(); SDpcdaSubInfo::default_instance_->InitAsDefaultInstance(); SDpcdaSubPkg::default_instance_->InitAsDefaultInstance(); SPointMsg::default_instance_->InitAsDefaultInstance(); SPointMsgPackage::default_instance_->InitAsDefaultInstance(); SRealTimePkgHead::default_instance_->InitAsDefaultInstance(); SAiRealTimeData::default_instance_->InitAsDefaultInstance(); SPiRealTimeData::default_instance_->InitAsDefaultInstance(); SDiRealTimeData::default_instance_->InitAsDefaultInstance(); SMiRealTimeData::default_instance_->InitAsDefaultInstance(); STableRealTimeData::default_instance_->InitAsDefaultInstance(); SRealTimeDataPkg::default_instance_->InitAsDefaultInstance(); ::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_DataProcMessage_2eproto); } // Force AddDescriptors() to be called at static initialization time. struct StaticDescriptorInitializer_DataProcMessage_2eproto { StaticDescriptorInitializer_DataProcMessage_2eproto() { protobuf_AddDesc_DataProcMessage_2eproto(); } } static_descriptor_initializer_DataProcMessage_2eproto_; const ::google::protobuf::EnumDescriptor* enDataProcMessage_descriptor() { protobuf_AssignDescriptorsOnce(); return enDataProcMessage_descriptor_; } bool enDataProcMessage_IsValid(int value) { switch(value) { case 1: case 2: case 3: case 4: case 6: case 20: return true; default: return false; } } // =================================================================== #ifndef _MSC_VER const int SDpcdaSubInfo::kTabNameFieldNumber; const int SDpcdaSubInfo::kTagNameFieldNumber; const int SDpcdaSubInfo::kColNameFieldNumber; #endif // !_MSC_VER SDpcdaSubInfo::SDpcdaSubInfo() : ::google::protobuf::Message() { SharedCtor(); // @@protoc_insertion_point(constructor:iot_idl.SDpcdaSubInfo) } void SDpcdaSubInfo::InitAsDefaultInstance() { } SDpcdaSubInfo::SDpcdaSubInfo(const SDpcdaSubInfo& from) : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); // @@protoc_insertion_point(copy_constructor:iot_idl.SDpcdaSubInfo) } void SDpcdaSubInfo::SharedCtor() { ::google::protobuf::internal::GetEmptyString(); _cached_size_ = 0; tab_name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); tag_name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); col_name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); ::memset(_has_bits_, 0, sizeof(_has_bits_)); } SDpcdaSubInfo::~SDpcdaSubInfo() { // @@protoc_insertion_point(destructor:iot_idl.SDpcdaSubInfo) SharedDtor(); } void SDpcdaSubInfo::SharedDtor() { if (tab_name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { delete tab_name_; } if (tag_name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { delete tag_name_; } if (col_name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { delete col_name_; } if (this != default_instance_) { } } void SDpcdaSubInfo::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const ::google::protobuf::Descriptor* SDpcdaSubInfo::descriptor() { protobuf_AssignDescriptorsOnce(); return SDpcdaSubInfo_descriptor_; } const SDpcdaSubInfo& SDpcdaSubInfo::default_instance() { if (default_instance_ == NULL) protobuf_AddDesc_DataProcMessage_2eproto(); return *default_instance_; } SDpcdaSubInfo* SDpcdaSubInfo::default_instance_ = NULL; SDpcdaSubInfo* SDpcdaSubInfo::New() const { return new SDpcdaSubInfo; } void SDpcdaSubInfo::Clear() { if (_has_bits_[0 / 32] & 7) { if (has_tab_name()) { if (tab_name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { tab_name_->clear(); } } if (has_tag_name()) { if (tag_name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { tag_name_->clear(); } } if (has_col_name()) { if (col_name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { col_name_->clear(); } } } ::memset(_has_bits_, 0, sizeof(_has_bits_)); mutable_unknown_fields()->Clear(); } bool SDpcdaSubInfo::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure ::google::protobuf::uint32 tag; // @@protoc_insertion_point(parse_start:iot_idl.SDpcdaSubInfo) for (;;) { ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127); tag = p.first; if (!p.second) goto handle_unusual; switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // required string tab_name = 1; case 1: { if (tag == 10) { DO_(::google::protobuf::internal::WireFormatLite::ReadString( input, this->mutable_tab_name())); ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( this->tab_name().data(), this->tab_name().length(), ::google::protobuf::internal::WireFormat::PARSE, "tab_name"); } else { goto handle_unusual; } if (input->ExpectTag(18)) goto parse_tag_name; break; } // required string tag_name = 2; case 2: { if (tag == 18) { parse_tag_name: DO_(::google::protobuf::internal::WireFormatLite::ReadString( input, this->mutable_tag_name())); ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( this->tag_name().data(), this->tag_name().length(), ::google::protobuf::internal::WireFormat::PARSE, "tag_name"); } else { goto handle_unusual; } if (input->ExpectTag(26)) goto parse_col_name; break; } // required string col_name = 3; case 3: { if (tag == 26) { parse_col_name: DO_(::google::protobuf::internal::WireFormatLite::ReadString( input, this->mutable_col_name())); ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( this->col_name().data(), this->col_name().length(), ::google::protobuf::internal::WireFormat::PARSE, "col_name"); } else { goto handle_unusual; } if (input->ExpectAtEnd()) goto success; break; } default: { handle_unusual: if (tag == 0 || ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { goto success; } DO_(::google::protobuf::internal::WireFormat::SkipField( input, tag, mutable_unknown_fields())); break; } } } success: // @@protoc_insertion_point(parse_success:iot_idl.SDpcdaSubInfo) return true; failure: // @@protoc_insertion_point(parse_failure:iot_idl.SDpcdaSubInfo) return false; #undef DO_ } void SDpcdaSubInfo::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { // @@protoc_insertion_point(serialize_start:iot_idl.SDpcdaSubInfo) // required string tab_name = 1; if (has_tab_name()) { ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( this->tab_name().data(), this->tab_name().length(), ::google::protobuf::internal::WireFormat::SERIALIZE, "tab_name"); ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( 1, this->tab_name(), output); } // required string tag_name = 2; if (has_tag_name()) { ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( this->tag_name().data(), this->tag_name().length(), ::google::protobuf::internal::WireFormat::SERIALIZE, "tag_name"); ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( 2, this->tag_name(), output); } // required string col_name = 3; if (has_col_name()) { ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( this->col_name().data(), this->col_name().length(), ::google::protobuf::internal::WireFormat::SERIALIZE, "col_name"); ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( 3, this->col_name(), output); } if (!unknown_fields().empty()) { ::google::protobuf::internal::WireFormat::SerializeUnknownFields( unknown_fields(), output); } // @@protoc_insertion_point(serialize_end:iot_idl.SDpcdaSubInfo) } ::google::protobuf::uint8* SDpcdaSubInfo::SerializeWithCachedSizesToArray( ::google::protobuf::uint8* target) const { // @@protoc_insertion_point(serialize_to_array_start:iot_idl.SDpcdaSubInfo) // required string tab_name = 1; if (has_tab_name()) { ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( this->tab_name().data(), this->tab_name().length(), ::google::protobuf::internal::WireFormat::SERIALIZE, "tab_name"); target = ::google::protobuf::internal::WireFormatLite::WriteStringToArray( 1, this->tab_name(), target); } // required string tag_name = 2; if (has_tag_name()) { ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( this->tag_name().data(), this->tag_name().length(), ::google::protobuf::internal::WireFormat::SERIALIZE, "tag_name"); target = ::google::protobuf::internal::WireFormatLite::WriteStringToArray( 2, this->tag_name(), target); } // required string col_name = 3; if (has_col_name()) { ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( this->col_name().data(), this->col_name().length(), ::google::protobuf::internal::WireFormat::SERIALIZE, "col_name"); target = ::google::protobuf::internal::WireFormatLite::WriteStringToArray( 3, this->col_name(), target); } if (!unknown_fields().empty()) { target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( unknown_fields(), target); } // @@protoc_insertion_point(serialize_to_array_end:iot_idl.SDpcdaSubInfo) return target; } int SDpcdaSubInfo::ByteSize() const { int total_size = 0; if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { // required string tab_name = 1; if (has_tab_name()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( this->tab_name()); } // required string tag_name = 2; if (has_tag_name()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( this->tag_name()); } // required string col_name = 3; if (has_col_name()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( this->col_name()); } } if (!unknown_fields().empty()) { total_size += ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( unknown_fields()); } GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); return total_size; } void SDpcdaSubInfo::MergeFrom(const ::google::protobuf::Message& from) { GOOGLE_CHECK_NE(&from, this); const SDpcdaSubInfo* source = ::google::protobuf::internal::dynamic_cast_if_available( &from); if (source == NULL) { ::google::protobuf::internal::ReflectionOps::Merge(from, this); } else { MergeFrom(*source); } } void SDpcdaSubInfo::MergeFrom(const SDpcdaSubInfo& from) { GOOGLE_CHECK_NE(&from, this); if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { if (from.has_tab_name()) { set_tab_name(from.tab_name()); } if (from.has_tag_name()) { set_tag_name(from.tag_name()); } if (from.has_col_name()) { set_col_name(from.col_name()); } } mutable_unknown_fields()->MergeFrom(from.unknown_fields()); } void SDpcdaSubInfo::CopyFrom(const ::google::protobuf::Message& from) { if (&from == this) return; Clear(); MergeFrom(from); } void SDpcdaSubInfo::CopyFrom(const SDpcdaSubInfo& from) { if (&from == this) return; Clear(); MergeFrom(from); } bool SDpcdaSubInfo::IsInitialized() const { if ((_has_bits_[0] & 0x00000007) != 0x00000007) return false; return true; } void SDpcdaSubInfo::Swap(SDpcdaSubInfo* other) { if (other != this) { std::swap(tab_name_, other->tab_name_); std::swap(tag_name_, other->tag_name_); std::swap(col_name_, other->col_name_); std::swap(_has_bits_[0], other->_has_bits_[0]); _unknown_fields_.Swap(&other->_unknown_fields_); std::swap(_cached_size_, other->_cached_size_); } } ::google::protobuf::Metadata SDpcdaSubInfo::GetMetadata() const { protobuf_AssignDescriptorsOnce(); ::google::protobuf::Metadata metadata; metadata.descriptor = SDpcdaSubInfo_descriptor_; metadata.reflection = SDpcdaSubInfo_reflection_; return metadata; } // =================================================================== #ifndef _MSC_VER const int SDpcdaSubPkg::kAddSubFieldNumber; const int SDpcdaSubPkg::kDelSubFieldNumber; #endif // !_MSC_VER SDpcdaSubPkg::SDpcdaSubPkg() : ::google::protobuf::Message() { SharedCtor(); // @@protoc_insertion_point(constructor:iot_idl.SDpcdaSubPkg) } void SDpcdaSubPkg::InitAsDefaultInstance() { } SDpcdaSubPkg::SDpcdaSubPkg(const SDpcdaSubPkg& from) : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); // @@protoc_insertion_point(copy_constructor:iot_idl.SDpcdaSubPkg) } void SDpcdaSubPkg::SharedCtor() { _cached_size_ = 0; ::memset(_has_bits_, 0, sizeof(_has_bits_)); } SDpcdaSubPkg::~SDpcdaSubPkg() { // @@protoc_insertion_point(destructor:iot_idl.SDpcdaSubPkg) SharedDtor(); } void SDpcdaSubPkg::SharedDtor() { if (this != default_instance_) { } } void SDpcdaSubPkg::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const ::google::protobuf::Descriptor* SDpcdaSubPkg::descriptor() { protobuf_AssignDescriptorsOnce(); return SDpcdaSubPkg_descriptor_; } const SDpcdaSubPkg& SDpcdaSubPkg::default_instance() { if (default_instance_ == NULL) protobuf_AddDesc_DataProcMessage_2eproto(); return *default_instance_; } SDpcdaSubPkg* SDpcdaSubPkg::default_instance_ = NULL; SDpcdaSubPkg* SDpcdaSubPkg::New() const { return new SDpcdaSubPkg; } void SDpcdaSubPkg::Clear() { add_sub_.Clear(); del_sub_.Clear(); ::memset(_has_bits_, 0, sizeof(_has_bits_)); mutable_unknown_fields()->Clear(); } bool SDpcdaSubPkg::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure ::google::protobuf::uint32 tag; // @@protoc_insertion_point(parse_start:iot_idl.SDpcdaSubPkg) for (;;) { ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127); tag = p.first; if (!p.second) goto handle_unusual; switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // repeated .iot_idl.SDpcdaSubInfo add_sub = 1; case 1: { if (tag == 10) { parse_add_sub: DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( input, add_add_sub())); } else { goto handle_unusual; } if (input->ExpectTag(10)) goto parse_add_sub; if (input->ExpectTag(18)) goto parse_del_sub; break; } // repeated .iot_idl.SDpcdaSubInfo del_sub = 2; case 2: { if (tag == 18) { parse_del_sub: DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( input, add_del_sub())); } else { goto handle_unusual; } if (input->ExpectTag(18)) goto parse_del_sub; if (input->ExpectAtEnd()) goto success; break; } default: { handle_unusual: if (tag == 0 || ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { goto success; } DO_(::google::protobuf::internal::WireFormat::SkipField( input, tag, mutable_unknown_fields())); break; } } } success: // @@protoc_insertion_point(parse_success:iot_idl.SDpcdaSubPkg) return true; failure: // @@protoc_insertion_point(parse_failure:iot_idl.SDpcdaSubPkg) return false; #undef DO_ } void SDpcdaSubPkg::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { // @@protoc_insertion_point(serialize_start:iot_idl.SDpcdaSubPkg) // repeated .iot_idl.SDpcdaSubInfo add_sub = 1; for (int i = 0; i < this->add_sub_size(); i++) { ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( 1, this->add_sub(i), output); } // repeated .iot_idl.SDpcdaSubInfo del_sub = 2; for (int i = 0; i < this->del_sub_size(); i++) { ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( 2, this->del_sub(i), output); } if (!unknown_fields().empty()) { ::google::protobuf::internal::WireFormat::SerializeUnknownFields( unknown_fields(), output); } // @@protoc_insertion_point(serialize_end:iot_idl.SDpcdaSubPkg) } ::google::protobuf::uint8* SDpcdaSubPkg::SerializeWithCachedSizesToArray( ::google::protobuf::uint8* target) const { // @@protoc_insertion_point(serialize_to_array_start:iot_idl.SDpcdaSubPkg) // repeated .iot_idl.SDpcdaSubInfo add_sub = 1; for (int i = 0; i < this->add_sub_size(); i++) { target = ::google::protobuf::internal::WireFormatLite:: WriteMessageNoVirtualToArray( 1, this->add_sub(i), target); } // repeated .iot_idl.SDpcdaSubInfo del_sub = 2; for (int i = 0; i < this->del_sub_size(); i++) { target = ::google::protobuf::internal::WireFormatLite:: WriteMessageNoVirtualToArray( 2, this->del_sub(i), target); } if (!unknown_fields().empty()) { target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( unknown_fields(), target); } // @@protoc_insertion_point(serialize_to_array_end:iot_idl.SDpcdaSubPkg) return target; } int SDpcdaSubPkg::ByteSize() const { int total_size = 0; // repeated .iot_idl.SDpcdaSubInfo add_sub = 1; total_size += 1 * this->add_sub_size(); for (int i = 0; i < this->add_sub_size(); i++) { total_size += ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( this->add_sub(i)); } // repeated .iot_idl.SDpcdaSubInfo del_sub = 2; total_size += 1 * this->del_sub_size(); for (int i = 0; i < this->del_sub_size(); i++) { total_size += ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( this->del_sub(i)); } if (!unknown_fields().empty()) { total_size += ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( unknown_fields()); } GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); return total_size; } void SDpcdaSubPkg::MergeFrom(const ::google::protobuf::Message& from) { GOOGLE_CHECK_NE(&from, this); const SDpcdaSubPkg* source = ::google::protobuf::internal::dynamic_cast_if_available( &from); if (source == NULL) { ::google::protobuf::internal::ReflectionOps::Merge(from, this); } else { MergeFrom(*source); } } void SDpcdaSubPkg::MergeFrom(const SDpcdaSubPkg& from) { GOOGLE_CHECK_NE(&from, this); add_sub_.MergeFrom(from.add_sub_); del_sub_.MergeFrom(from.del_sub_); mutable_unknown_fields()->MergeFrom(from.unknown_fields()); } void SDpcdaSubPkg::CopyFrom(const ::google::protobuf::Message& from) { if (&from == this) return; Clear(); MergeFrom(from); } void SDpcdaSubPkg::CopyFrom(const SDpcdaSubPkg& from) { if (&from == this) return; Clear(); MergeFrom(from); } bool SDpcdaSubPkg::IsInitialized() const { if (!::google::protobuf::internal::AllAreInitialized(this->add_sub())) return false; if (!::google::protobuf::internal::AllAreInitialized(this->del_sub())) return false; return true; } void SDpcdaSubPkg::Swap(SDpcdaSubPkg* other) { if (other != this) { add_sub_.Swap(&other->add_sub_); del_sub_.Swap(&other->del_sub_); std::swap(_has_bits_[0], other->_has_bits_[0]); _unknown_fields_.Swap(&other->_unknown_fields_); std::swap(_cached_size_, other->_cached_size_); } } ::google::protobuf::Metadata SDpcdaSubPkg::GetMetadata() const { protobuf_AssignDescriptorsOnce(); ::google::protobuf::Metadata metadata; metadata.descriptor = SDpcdaSubPkg_descriptor_; metadata.reflection = SDpcdaSubPkg_reflection_; return metadata; } // =================================================================== #ifndef _MSC_VER const int SPointMsg::kNDominIdFieldNumber; const int SPointMsg::kNAppIdFieldNumber; const int SPointMsg::kSTableFieldNumber; const int SPointMsg::kSKeyFieldNumber; const int SPointMsg::kSColumnFieldNumber; #endif // !_MSC_VER SPointMsg::SPointMsg() : ::google::protobuf::Message() { SharedCtor(); // @@protoc_insertion_point(constructor:iot_idl.SPointMsg) } void SPointMsg::InitAsDefaultInstance() { } SPointMsg::SPointMsg(const SPointMsg& from) : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); // @@protoc_insertion_point(copy_constructor:iot_idl.SPointMsg) } void SPointMsg::SharedCtor() { ::google::protobuf::internal::GetEmptyString(); _cached_size_ = 0; ndominid_ = 0; nappid_ = 0; stable_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); skey_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); scolumn_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); ::memset(_has_bits_, 0, sizeof(_has_bits_)); } SPointMsg::~SPointMsg() { // @@protoc_insertion_point(destructor:iot_idl.SPointMsg) SharedDtor(); } void SPointMsg::SharedDtor() { if (stable_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { delete stable_; } if (skey_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { delete skey_; } if (scolumn_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { delete scolumn_; } if (this != default_instance_) { } } void SPointMsg::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const ::google::protobuf::Descriptor* SPointMsg::descriptor() { protobuf_AssignDescriptorsOnce(); return SPointMsg_descriptor_; } const SPointMsg& SPointMsg::default_instance() { if (default_instance_ == NULL) protobuf_AddDesc_DataProcMessage_2eproto(); return *default_instance_; } SPointMsg* SPointMsg::default_instance_ = NULL; SPointMsg* SPointMsg::New() const { return new SPointMsg; } void SPointMsg::Clear() { #define OFFSET_OF_FIELD_(f) (reinterpret_cast( \ &reinterpret_cast(16)->f) - \ reinterpret_cast(16)) #define ZR_(first, last) do { \ size_t f = OFFSET_OF_FIELD_(first); \ size_t n = OFFSET_OF_FIELD_(last) - f + sizeof(last); \ ::memset(&first, 0, n); \ } while (0) if (_has_bits_[0 / 32] & 31) { ZR_(ndominid_, nappid_); if (has_stable()) { if (stable_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { stable_->clear(); } } if (has_skey()) { if (skey_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { skey_->clear(); } } if (has_scolumn()) { if (scolumn_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { scolumn_->clear(); } } } #undef OFFSET_OF_FIELD_ #undef ZR_ ::memset(_has_bits_, 0, sizeof(_has_bits_)); mutable_unknown_fields()->Clear(); } bool SPointMsg::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure ::google::protobuf::uint32 tag; // @@protoc_insertion_point(parse_start:iot_idl.SPointMsg) for (;;) { ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127); tag = p.first; if (!p.second) goto handle_unusual; switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // required int32 nDominId = 1; case 1: { if (tag == 8) { DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &ndominid_))); set_has_ndominid(); } else { goto handle_unusual; } if (input->ExpectTag(16)) goto parse_nAppId; break; } // required int32 nAppId = 2; case 2: { if (tag == 16) { parse_nAppId: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &nappid_))); set_has_nappid(); } else { goto handle_unusual; } if (input->ExpectTag(26)) goto parse_sTable; break; } // required string sTable = 3; case 3: { if (tag == 26) { parse_sTable: DO_(::google::protobuf::internal::WireFormatLite::ReadString( input, this->mutable_stable())); ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( this->stable().data(), this->stable().length(), ::google::protobuf::internal::WireFormat::PARSE, "stable"); } else { goto handle_unusual; } if (input->ExpectTag(34)) goto parse_sKey; break; } // required string sKey = 4; case 4: { if (tag == 34) { parse_sKey: DO_(::google::protobuf::internal::WireFormatLite::ReadString( input, this->mutable_skey())); ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( this->skey().data(), this->skey().length(), ::google::protobuf::internal::WireFormat::PARSE, "skey"); } else { goto handle_unusual; } if (input->ExpectTag(42)) goto parse_sColumn; break; } // required string sColumn = 5; case 5: { if (tag == 42) { parse_sColumn: DO_(::google::protobuf::internal::WireFormatLite::ReadString( input, this->mutable_scolumn())); ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( this->scolumn().data(), this->scolumn().length(), ::google::protobuf::internal::WireFormat::PARSE, "scolumn"); } else { goto handle_unusual; } if (input->ExpectAtEnd()) goto success; break; } default: { handle_unusual: if (tag == 0 || ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { goto success; } DO_(::google::protobuf::internal::WireFormat::SkipField( input, tag, mutable_unknown_fields())); break; } } } success: // @@protoc_insertion_point(parse_success:iot_idl.SPointMsg) return true; failure: // @@protoc_insertion_point(parse_failure:iot_idl.SPointMsg) return false; #undef DO_ } void SPointMsg::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { // @@protoc_insertion_point(serialize_start:iot_idl.SPointMsg) // required int32 nDominId = 1; if (has_ndominid()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->ndominid(), output); } // required int32 nAppId = 2; if (has_nappid()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->nappid(), output); } // required string sTable = 3; if (has_stable()) { ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( this->stable().data(), this->stable().length(), ::google::protobuf::internal::WireFormat::SERIALIZE, "stable"); ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( 3, this->stable(), output); } // required string sKey = 4; if (has_skey()) { ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( this->skey().data(), this->skey().length(), ::google::protobuf::internal::WireFormat::SERIALIZE, "skey"); ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( 4, this->skey(), output); } // required string sColumn = 5; if (has_scolumn()) { ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( this->scolumn().data(), this->scolumn().length(), ::google::protobuf::internal::WireFormat::SERIALIZE, "scolumn"); ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( 5, this->scolumn(), output); } if (!unknown_fields().empty()) { ::google::protobuf::internal::WireFormat::SerializeUnknownFields( unknown_fields(), output); } // @@protoc_insertion_point(serialize_end:iot_idl.SPointMsg) } ::google::protobuf::uint8* SPointMsg::SerializeWithCachedSizesToArray( ::google::protobuf::uint8* target) const { // @@protoc_insertion_point(serialize_to_array_start:iot_idl.SPointMsg) // required int32 nDominId = 1; if (has_ndominid()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->ndominid(), target); } // required int32 nAppId = 2; if (has_nappid()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->nappid(), target); } // required string sTable = 3; if (has_stable()) { ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( this->stable().data(), this->stable().length(), ::google::protobuf::internal::WireFormat::SERIALIZE, "stable"); target = ::google::protobuf::internal::WireFormatLite::WriteStringToArray( 3, this->stable(), target); } // required string sKey = 4; if (has_skey()) { ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( this->skey().data(), this->skey().length(), ::google::protobuf::internal::WireFormat::SERIALIZE, "skey"); target = ::google::protobuf::internal::WireFormatLite::WriteStringToArray( 4, this->skey(), target); } // required string sColumn = 5; if (has_scolumn()) { ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( this->scolumn().data(), this->scolumn().length(), ::google::protobuf::internal::WireFormat::SERIALIZE, "scolumn"); target = ::google::protobuf::internal::WireFormatLite::WriteStringToArray( 5, this->scolumn(), target); } if (!unknown_fields().empty()) { target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( unknown_fields(), target); } // @@protoc_insertion_point(serialize_to_array_end:iot_idl.SPointMsg) return target; } int SPointMsg::ByteSize() const { int total_size = 0; if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { // required int32 nDominId = 1; if (has_ndominid()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->ndominid()); } // required int32 nAppId = 2; if (has_nappid()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->nappid()); } // required string sTable = 3; if (has_stable()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( this->stable()); } // required string sKey = 4; if (has_skey()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( this->skey()); } // required string sColumn = 5; if (has_scolumn()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( this->scolumn()); } } if (!unknown_fields().empty()) { total_size += ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( unknown_fields()); } GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); return total_size; } void SPointMsg::MergeFrom(const ::google::protobuf::Message& from) { GOOGLE_CHECK_NE(&from, this); const SPointMsg* source = ::google::protobuf::internal::dynamic_cast_if_available( &from); if (source == NULL) { ::google::protobuf::internal::ReflectionOps::Merge(from, this); } else { MergeFrom(*source); } } void SPointMsg::MergeFrom(const SPointMsg& from) { GOOGLE_CHECK_NE(&from, this); if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { if (from.has_ndominid()) { set_ndominid(from.ndominid()); } if (from.has_nappid()) { set_nappid(from.nappid()); } if (from.has_stable()) { set_stable(from.stable()); } if (from.has_skey()) { set_skey(from.skey()); } if (from.has_scolumn()) { set_scolumn(from.scolumn()); } } mutable_unknown_fields()->MergeFrom(from.unknown_fields()); } void SPointMsg::CopyFrom(const ::google::protobuf::Message& from) { if (&from == this) return; Clear(); MergeFrom(from); } void SPointMsg::CopyFrom(const SPointMsg& from) { if (&from == this) return; Clear(); MergeFrom(from); } bool SPointMsg::IsInitialized() const { if ((_has_bits_[0] & 0x0000001f) != 0x0000001f) return false; return true; } void SPointMsg::Swap(SPointMsg* other) { if (other != this) { std::swap(ndominid_, other->ndominid_); std::swap(nappid_, other->nappid_); std::swap(stable_, other->stable_); std::swap(skey_, other->skey_); std::swap(scolumn_, other->scolumn_); std::swap(_has_bits_[0], other->_has_bits_[0]); _unknown_fields_.Swap(&other->_unknown_fields_); std::swap(_cached_size_, other->_cached_size_); } } ::google::protobuf::Metadata SPointMsg::GetMetadata() const { protobuf_AssignDescriptorsOnce(); ::google::protobuf::Metadata metadata; metadata.descriptor = SPointMsg_descriptor_; metadata.reflection = SPointMsg_reflection_; return metadata; } // =================================================================== #ifndef _MSC_VER const int SPointMsgPackage::kPointMsgFieldNumber; #endif // !_MSC_VER SPointMsgPackage::SPointMsgPackage() : ::google::protobuf::Message() { SharedCtor(); // @@protoc_insertion_point(constructor:iot_idl.SPointMsgPackage) } void SPointMsgPackage::InitAsDefaultInstance() { } SPointMsgPackage::SPointMsgPackage(const SPointMsgPackage& from) : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); // @@protoc_insertion_point(copy_constructor:iot_idl.SPointMsgPackage) } void SPointMsgPackage::SharedCtor() { _cached_size_ = 0; ::memset(_has_bits_, 0, sizeof(_has_bits_)); } SPointMsgPackage::~SPointMsgPackage() { // @@protoc_insertion_point(destructor:iot_idl.SPointMsgPackage) SharedDtor(); } void SPointMsgPackage::SharedDtor() { if (this != default_instance_) { } } void SPointMsgPackage::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const ::google::protobuf::Descriptor* SPointMsgPackage::descriptor() { protobuf_AssignDescriptorsOnce(); return SPointMsgPackage_descriptor_; } const SPointMsgPackage& SPointMsgPackage::default_instance() { if (default_instance_ == NULL) protobuf_AddDesc_DataProcMessage_2eproto(); return *default_instance_; } SPointMsgPackage* SPointMsgPackage::default_instance_ = NULL; SPointMsgPackage* SPointMsgPackage::New() const { return new SPointMsgPackage; } void SPointMsgPackage::Clear() { pointmsg_.Clear(); ::memset(_has_bits_, 0, sizeof(_has_bits_)); mutable_unknown_fields()->Clear(); } bool SPointMsgPackage::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure ::google::protobuf::uint32 tag; // @@protoc_insertion_point(parse_start:iot_idl.SPointMsgPackage) for (;;) { ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127); tag = p.first; if (!p.second) goto handle_unusual; switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // repeated .iot_idl.SPointMsg PointMsg = 1; case 1: { if (tag == 10) { parse_PointMsg: DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( input, add_pointmsg())); } else { goto handle_unusual; } if (input->ExpectTag(10)) goto parse_PointMsg; if (input->ExpectAtEnd()) goto success; break; } default: { handle_unusual: if (tag == 0 || ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { goto success; } DO_(::google::protobuf::internal::WireFormat::SkipField( input, tag, mutable_unknown_fields())); break; } } } success: // @@protoc_insertion_point(parse_success:iot_idl.SPointMsgPackage) return true; failure: // @@protoc_insertion_point(parse_failure:iot_idl.SPointMsgPackage) return false; #undef DO_ } void SPointMsgPackage::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { // @@protoc_insertion_point(serialize_start:iot_idl.SPointMsgPackage) // repeated .iot_idl.SPointMsg PointMsg = 1; for (int i = 0; i < this->pointmsg_size(); i++) { ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( 1, this->pointmsg(i), output); } if (!unknown_fields().empty()) { ::google::protobuf::internal::WireFormat::SerializeUnknownFields( unknown_fields(), output); } // @@protoc_insertion_point(serialize_end:iot_idl.SPointMsgPackage) } ::google::protobuf::uint8* SPointMsgPackage::SerializeWithCachedSizesToArray( ::google::protobuf::uint8* target) const { // @@protoc_insertion_point(serialize_to_array_start:iot_idl.SPointMsgPackage) // repeated .iot_idl.SPointMsg PointMsg = 1; for (int i = 0; i < this->pointmsg_size(); i++) { target = ::google::protobuf::internal::WireFormatLite:: WriteMessageNoVirtualToArray( 1, this->pointmsg(i), target); } if (!unknown_fields().empty()) { target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( unknown_fields(), target); } // @@protoc_insertion_point(serialize_to_array_end:iot_idl.SPointMsgPackage) return target; } int SPointMsgPackage::ByteSize() const { int total_size = 0; // repeated .iot_idl.SPointMsg PointMsg = 1; total_size += 1 * this->pointmsg_size(); for (int i = 0; i < this->pointmsg_size(); i++) { total_size += ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( this->pointmsg(i)); } if (!unknown_fields().empty()) { total_size += ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( unknown_fields()); } GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); return total_size; } void SPointMsgPackage::MergeFrom(const ::google::protobuf::Message& from) { GOOGLE_CHECK_NE(&from, this); const SPointMsgPackage* source = ::google::protobuf::internal::dynamic_cast_if_available( &from); if (source == NULL) { ::google::protobuf::internal::ReflectionOps::Merge(from, this); } else { MergeFrom(*source); } } void SPointMsgPackage::MergeFrom(const SPointMsgPackage& from) { GOOGLE_CHECK_NE(&from, this); pointmsg_.MergeFrom(from.pointmsg_); mutable_unknown_fields()->MergeFrom(from.unknown_fields()); } void SPointMsgPackage::CopyFrom(const ::google::protobuf::Message& from) { if (&from == this) return; Clear(); MergeFrom(from); } void SPointMsgPackage::CopyFrom(const SPointMsgPackage& from) { if (&from == this) return; Clear(); MergeFrom(from); } bool SPointMsgPackage::IsInitialized() const { if (!::google::protobuf::internal::AllAreInitialized(this->pointmsg())) return false; return true; } void SPointMsgPackage::Swap(SPointMsgPackage* other) { if (other != this) { pointmsg_.Swap(&other->pointmsg_); std::swap(_has_bits_[0], other->_has_bits_[0]); _unknown_fields_.Swap(&other->_unknown_fields_); std::swap(_cached_size_, other->_cached_size_); } } ::google::protobuf::Metadata SPointMsgPackage::GetMetadata() const { protobuf_AssignDescriptorsOnce(); ::google::protobuf::Metadata metadata; metadata.descriptor = SPointMsgPackage_descriptor_; metadata.reflection = SPointMsgPackage_reflection_; return metadata; } // =================================================================== #ifndef _MSC_VER const int SRealTimePkgHead::kStrSrcTagFieldNumber; const int SRealTimePkgHead::kNTimeStampFieldNumber; #endif // !_MSC_VER SRealTimePkgHead::SRealTimePkgHead() : ::google::protobuf::Message() { SharedCtor(); // @@protoc_insertion_point(constructor:iot_idl.SRealTimePkgHead) } void SRealTimePkgHead::InitAsDefaultInstance() { } SRealTimePkgHead::SRealTimePkgHead(const SRealTimePkgHead& from) : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); // @@protoc_insertion_point(copy_constructor:iot_idl.SRealTimePkgHead) } void SRealTimePkgHead::SharedCtor() { ::google::protobuf::internal::GetEmptyString(); _cached_size_ = 0; strsrctag_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); ntimestamp_ = GOOGLE_LONGLONG(0); ::memset(_has_bits_, 0, sizeof(_has_bits_)); } SRealTimePkgHead::~SRealTimePkgHead() { // @@protoc_insertion_point(destructor:iot_idl.SRealTimePkgHead) SharedDtor(); } void SRealTimePkgHead::SharedDtor() { if (strsrctag_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { delete strsrctag_; } if (this != default_instance_) { } } void SRealTimePkgHead::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const ::google::protobuf::Descriptor* SRealTimePkgHead::descriptor() { protobuf_AssignDescriptorsOnce(); return SRealTimePkgHead_descriptor_; } const SRealTimePkgHead& SRealTimePkgHead::default_instance() { if (default_instance_ == NULL) protobuf_AddDesc_DataProcMessage_2eproto(); return *default_instance_; } SRealTimePkgHead* SRealTimePkgHead::default_instance_ = NULL; SRealTimePkgHead* SRealTimePkgHead::New() const { return new SRealTimePkgHead; } void SRealTimePkgHead::Clear() { if (_has_bits_[0 / 32] & 3) { if (has_strsrctag()) { if (strsrctag_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { strsrctag_->clear(); } } ntimestamp_ = GOOGLE_LONGLONG(0); } ::memset(_has_bits_, 0, sizeof(_has_bits_)); mutable_unknown_fields()->Clear(); } bool SRealTimePkgHead::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure ::google::protobuf::uint32 tag; // @@protoc_insertion_point(parse_start:iot_idl.SRealTimePkgHead) for (;;) { ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127); tag = p.first; if (!p.second) goto handle_unusual; switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // required string strSrcTag = 1; case 1: { if (tag == 10) { DO_(::google::protobuf::internal::WireFormatLite::ReadString( input, this->mutable_strsrctag())); ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( this->strsrctag().data(), this->strsrctag().length(), ::google::protobuf::internal::WireFormat::PARSE, "strsrctag"); } else { goto handle_unusual; } if (input->ExpectTag(16)) goto parse_nTimeStamp; break; } // required int64 nTimeStamp = 2; case 2: { if (tag == 16) { parse_nTimeStamp: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int64, ::google::protobuf::internal::WireFormatLite::TYPE_INT64>( input, &ntimestamp_))); set_has_ntimestamp(); } else { goto handle_unusual; } if (input->ExpectAtEnd()) goto success; break; } default: { handle_unusual: if (tag == 0 || ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { goto success; } DO_(::google::protobuf::internal::WireFormat::SkipField( input, tag, mutable_unknown_fields())); break; } } } success: // @@protoc_insertion_point(parse_success:iot_idl.SRealTimePkgHead) return true; failure: // @@protoc_insertion_point(parse_failure:iot_idl.SRealTimePkgHead) return false; #undef DO_ } void SRealTimePkgHead::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { // @@protoc_insertion_point(serialize_start:iot_idl.SRealTimePkgHead) // required string strSrcTag = 1; if (has_strsrctag()) { ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( this->strsrctag().data(), this->strsrctag().length(), ::google::protobuf::internal::WireFormat::SERIALIZE, "strsrctag"); ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( 1, this->strsrctag(), output); } // required int64 nTimeStamp = 2; if (has_ntimestamp()) { ::google::protobuf::internal::WireFormatLite::WriteInt64(2, this->ntimestamp(), output); } if (!unknown_fields().empty()) { ::google::protobuf::internal::WireFormat::SerializeUnknownFields( unknown_fields(), output); } // @@protoc_insertion_point(serialize_end:iot_idl.SRealTimePkgHead) } ::google::protobuf::uint8* SRealTimePkgHead::SerializeWithCachedSizesToArray( ::google::protobuf::uint8* target) const { // @@protoc_insertion_point(serialize_to_array_start:iot_idl.SRealTimePkgHead) // required string strSrcTag = 1; if (has_strsrctag()) { ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( this->strsrctag().data(), this->strsrctag().length(), ::google::protobuf::internal::WireFormat::SERIALIZE, "strsrctag"); target = ::google::protobuf::internal::WireFormatLite::WriteStringToArray( 1, this->strsrctag(), target); } // required int64 nTimeStamp = 2; if (has_ntimestamp()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt64ToArray(2, this->ntimestamp(), target); } if (!unknown_fields().empty()) { target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( unknown_fields(), target); } // @@protoc_insertion_point(serialize_to_array_end:iot_idl.SRealTimePkgHead) return target; } int SRealTimePkgHead::ByteSize() const { int total_size = 0; if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { // required string strSrcTag = 1; if (has_strsrctag()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( this->strsrctag()); } // required int64 nTimeStamp = 2; if (has_ntimestamp()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int64Size( this->ntimestamp()); } } if (!unknown_fields().empty()) { total_size += ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( unknown_fields()); } GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); return total_size; } void SRealTimePkgHead::MergeFrom(const ::google::protobuf::Message& from) { GOOGLE_CHECK_NE(&from, this); const SRealTimePkgHead* source = ::google::protobuf::internal::dynamic_cast_if_available( &from); if (source == NULL) { ::google::protobuf::internal::ReflectionOps::Merge(from, this); } else { MergeFrom(*source); } } void SRealTimePkgHead::MergeFrom(const SRealTimePkgHead& from) { GOOGLE_CHECK_NE(&from, this); if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { if (from.has_strsrctag()) { set_strsrctag(from.strsrctag()); } if (from.has_ntimestamp()) { set_ntimestamp(from.ntimestamp()); } } mutable_unknown_fields()->MergeFrom(from.unknown_fields()); } void SRealTimePkgHead::CopyFrom(const ::google::protobuf::Message& from) { if (&from == this) return; Clear(); MergeFrom(from); } void SRealTimePkgHead::CopyFrom(const SRealTimePkgHead& from) { if (&from == this) return; Clear(); MergeFrom(from); } bool SRealTimePkgHead::IsInitialized() const { if ((_has_bits_[0] & 0x00000003) != 0x00000003) return false; return true; } void SRealTimePkgHead::Swap(SRealTimePkgHead* other) { if (other != this) { std::swap(strsrctag_, other->strsrctag_); std::swap(ntimestamp_, other->ntimestamp_); std::swap(_has_bits_[0], other->_has_bits_[0]); _unknown_fields_.Swap(&other->_unknown_fields_); std::swap(_cached_size_, other->_cached_size_); } } ::google::protobuf::Metadata SRealTimePkgHead::GetMetadata() const { protobuf_AssignDescriptorsOnce(); ::google::protobuf::Metadata metadata; metadata.descriptor = SRealTimePkgHead_descriptor_; metadata.reflection = SRealTimePkgHead_reflection_; return metadata; } // =================================================================== #ifndef _MSC_VER const int SAiRealTimeData::kNLocationFieldNumber; const int SAiRealTimeData::kNSubSystemFieldNumber; const int SAiRealTimeData::kStrTableNameFieldNumber; const int SAiRealTimeData::kStrTagNameFieldNumber; const int SAiRealTimeData::kStrColumnNameFieldNumber; const int SAiRealTimeData::kFValueFieldNumber; const int SAiRealTimeData::kUStatusFieldNumber; #endif // !_MSC_VER SAiRealTimeData::SAiRealTimeData() : ::google::protobuf::Message() { SharedCtor(); // @@protoc_insertion_point(constructor:iot_idl.SAiRealTimeData) } void SAiRealTimeData::InitAsDefaultInstance() { } SAiRealTimeData::SAiRealTimeData(const SAiRealTimeData& from) : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); // @@protoc_insertion_point(copy_constructor:iot_idl.SAiRealTimeData) } void SAiRealTimeData::SharedCtor() { ::google::protobuf::internal::GetEmptyString(); _cached_size_ = 0; nlocation_ = 0; nsubsystem_ = 0; strtablename_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); strtagname_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); strcolumnname_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); fvalue_ = 0; ustatus_ = 0u; ::memset(_has_bits_, 0, sizeof(_has_bits_)); } SAiRealTimeData::~SAiRealTimeData() { // @@protoc_insertion_point(destructor:iot_idl.SAiRealTimeData) SharedDtor(); } void SAiRealTimeData::SharedDtor() { if (strtablename_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { delete strtablename_; } if (strtagname_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { delete strtagname_; } if (strcolumnname_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { delete strcolumnname_; } if (this != default_instance_) { } } void SAiRealTimeData::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const ::google::protobuf::Descriptor* SAiRealTimeData::descriptor() { protobuf_AssignDescriptorsOnce(); return SAiRealTimeData_descriptor_; } const SAiRealTimeData& SAiRealTimeData::default_instance() { if (default_instance_ == NULL) protobuf_AddDesc_DataProcMessage_2eproto(); return *default_instance_; } SAiRealTimeData* SAiRealTimeData::default_instance_ = NULL; SAiRealTimeData* SAiRealTimeData::New() const { return new SAiRealTimeData; } void SAiRealTimeData::Clear() { #define OFFSET_OF_FIELD_(f) (reinterpret_cast( \ &reinterpret_cast(16)->f) - \ reinterpret_cast(16)) #define ZR_(first, last) do { \ size_t f = OFFSET_OF_FIELD_(first); \ size_t n = OFFSET_OF_FIELD_(last) - f + sizeof(last); \ ::memset(&first, 0, n); \ } while (0) if (_has_bits_[0 / 32] & 127) { ZR_(nlocation_, nsubsystem_); ZR_(fvalue_, ustatus_); if (has_strtablename()) { if (strtablename_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { strtablename_->clear(); } } if (has_strtagname()) { if (strtagname_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { strtagname_->clear(); } } if (has_strcolumnname()) { if (strcolumnname_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { strcolumnname_->clear(); } } } #undef OFFSET_OF_FIELD_ #undef ZR_ ::memset(_has_bits_, 0, sizeof(_has_bits_)); mutable_unknown_fields()->Clear(); } bool SAiRealTimeData::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure ::google::protobuf::uint32 tag; // @@protoc_insertion_point(parse_start:iot_idl.SAiRealTimeData) for (;;) { ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127); tag = p.first; if (!p.second) goto handle_unusual; switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // required int32 nLocation = 1; case 1: { if (tag == 8) { DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &nlocation_))); set_has_nlocation(); } else { goto handle_unusual; } if (input->ExpectTag(16)) goto parse_nSubSystem; break; } // required int32 nSubSystem = 2; case 2: { if (tag == 16) { parse_nSubSystem: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &nsubsystem_))); set_has_nsubsystem(); } else { goto handle_unusual; } if (input->ExpectTag(26)) goto parse_strTableName; break; } // required string strTableName = 3; case 3: { if (tag == 26) { parse_strTableName: DO_(::google::protobuf::internal::WireFormatLite::ReadString( input, this->mutable_strtablename())); ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( this->strtablename().data(), this->strtablename().length(), ::google::protobuf::internal::WireFormat::PARSE, "strtablename"); } else { goto handle_unusual; } if (input->ExpectTag(34)) goto parse_strTagName; break; } // required string strTagName = 4; case 4: { if (tag == 34) { parse_strTagName: DO_(::google::protobuf::internal::WireFormatLite::ReadString( input, this->mutable_strtagname())); ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( this->strtagname().data(), this->strtagname().length(), ::google::protobuf::internal::WireFormat::PARSE, "strtagname"); } else { goto handle_unusual; } if (input->ExpectTag(42)) goto parse_strColumnName; break; } // required string strColumnName = 5; case 5: { if (tag == 42) { parse_strColumnName: DO_(::google::protobuf::internal::WireFormatLite::ReadString( input, this->mutable_strcolumnname())); ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( this->strcolumnname().data(), this->strcolumnname().length(), ::google::protobuf::internal::WireFormat::PARSE, "strcolumnname"); } else { goto handle_unusual; } if (input->ExpectTag(53)) goto parse_fValue; break; } // required float fValue = 6; case 6: { if (tag == 53) { parse_fValue: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< float, ::google::protobuf::internal::WireFormatLite::TYPE_FLOAT>( input, &fvalue_))); set_has_fvalue(); } else { goto handle_unusual; } if (input->ExpectTag(56)) goto parse_uStatus; break; } // required uint32 uStatus = 7; case 7: { if (tag == 56) { parse_uStatus: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( input, &ustatus_))); set_has_ustatus(); } else { goto handle_unusual; } if (input->ExpectAtEnd()) goto success; break; } default: { handle_unusual: if (tag == 0 || ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { goto success; } DO_(::google::protobuf::internal::WireFormat::SkipField( input, tag, mutable_unknown_fields())); break; } } } success: // @@protoc_insertion_point(parse_success:iot_idl.SAiRealTimeData) return true; failure: // @@protoc_insertion_point(parse_failure:iot_idl.SAiRealTimeData) return false; #undef DO_ } void SAiRealTimeData::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { // @@protoc_insertion_point(serialize_start:iot_idl.SAiRealTimeData) // required int32 nLocation = 1; if (has_nlocation()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->nlocation(), output); } // required int32 nSubSystem = 2; if (has_nsubsystem()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->nsubsystem(), output); } // required string strTableName = 3; if (has_strtablename()) { ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( this->strtablename().data(), this->strtablename().length(), ::google::protobuf::internal::WireFormat::SERIALIZE, "strtablename"); ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( 3, this->strtablename(), output); } // required string strTagName = 4; if (has_strtagname()) { ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( this->strtagname().data(), this->strtagname().length(), ::google::protobuf::internal::WireFormat::SERIALIZE, "strtagname"); ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( 4, this->strtagname(), output); } // required string strColumnName = 5; if (has_strcolumnname()) { ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( this->strcolumnname().data(), this->strcolumnname().length(), ::google::protobuf::internal::WireFormat::SERIALIZE, "strcolumnname"); ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( 5, this->strcolumnname(), output); } // required float fValue = 6; if (has_fvalue()) { ::google::protobuf::internal::WireFormatLite::WriteFloat(6, this->fvalue(), output); } // required uint32 uStatus = 7; if (has_ustatus()) { ::google::protobuf::internal::WireFormatLite::WriteUInt32(7, this->ustatus(), output); } if (!unknown_fields().empty()) { ::google::protobuf::internal::WireFormat::SerializeUnknownFields( unknown_fields(), output); } // @@protoc_insertion_point(serialize_end:iot_idl.SAiRealTimeData) } ::google::protobuf::uint8* SAiRealTimeData::SerializeWithCachedSizesToArray( ::google::protobuf::uint8* target) const { // @@protoc_insertion_point(serialize_to_array_start:iot_idl.SAiRealTimeData) // required int32 nLocation = 1; if (has_nlocation()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->nlocation(), target); } // required int32 nSubSystem = 2; if (has_nsubsystem()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->nsubsystem(), target); } // required string strTableName = 3; if (has_strtablename()) { ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( this->strtablename().data(), this->strtablename().length(), ::google::protobuf::internal::WireFormat::SERIALIZE, "strtablename"); target = ::google::protobuf::internal::WireFormatLite::WriteStringToArray( 3, this->strtablename(), target); } // required string strTagName = 4; if (has_strtagname()) { ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( this->strtagname().data(), this->strtagname().length(), ::google::protobuf::internal::WireFormat::SERIALIZE, "strtagname"); target = ::google::protobuf::internal::WireFormatLite::WriteStringToArray( 4, this->strtagname(), target); } // required string strColumnName = 5; if (has_strcolumnname()) { ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( this->strcolumnname().data(), this->strcolumnname().length(), ::google::protobuf::internal::WireFormat::SERIALIZE, "strcolumnname"); target = ::google::protobuf::internal::WireFormatLite::WriteStringToArray( 5, this->strcolumnname(), target); } // required float fValue = 6; if (has_fvalue()) { target = ::google::protobuf::internal::WireFormatLite::WriteFloatToArray(6, this->fvalue(), target); } // required uint32 uStatus = 7; if (has_ustatus()) { target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(7, this->ustatus(), target); } if (!unknown_fields().empty()) { target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( unknown_fields(), target); } // @@protoc_insertion_point(serialize_to_array_end:iot_idl.SAiRealTimeData) return target; } int SAiRealTimeData::ByteSize() const { int total_size = 0; if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { // required int32 nLocation = 1; if (has_nlocation()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->nlocation()); } // required int32 nSubSystem = 2; if (has_nsubsystem()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->nsubsystem()); } // required string strTableName = 3; if (has_strtablename()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( this->strtablename()); } // required string strTagName = 4; if (has_strtagname()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( this->strtagname()); } // required string strColumnName = 5; if (has_strcolumnname()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( this->strcolumnname()); } // required float fValue = 6; if (has_fvalue()) { total_size += 1 + 4; } // required uint32 uStatus = 7; if (has_ustatus()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::UInt32Size( this->ustatus()); } } if (!unknown_fields().empty()) { total_size += ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( unknown_fields()); } GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); return total_size; } void SAiRealTimeData::MergeFrom(const ::google::protobuf::Message& from) { GOOGLE_CHECK_NE(&from, this); const SAiRealTimeData* source = ::google::protobuf::internal::dynamic_cast_if_available( &from); if (source == NULL) { ::google::protobuf::internal::ReflectionOps::Merge(from, this); } else { MergeFrom(*source); } } void SAiRealTimeData::MergeFrom(const SAiRealTimeData& from) { GOOGLE_CHECK_NE(&from, this); if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { if (from.has_nlocation()) { set_nlocation(from.nlocation()); } if (from.has_nsubsystem()) { set_nsubsystem(from.nsubsystem()); } if (from.has_strtablename()) { set_strtablename(from.strtablename()); } if (from.has_strtagname()) { set_strtagname(from.strtagname()); } if (from.has_strcolumnname()) { set_strcolumnname(from.strcolumnname()); } if (from.has_fvalue()) { set_fvalue(from.fvalue()); } if (from.has_ustatus()) { set_ustatus(from.ustatus()); } } mutable_unknown_fields()->MergeFrom(from.unknown_fields()); } void SAiRealTimeData::CopyFrom(const ::google::protobuf::Message& from) { if (&from == this) return; Clear(); MergeFrom(from); } void SAiRealTimeData::CopyFrom(const SAiRealTimeData& from) { if (&from == this) return; Clear(); MergeFrom(from); } bool SAiRealTimeData::IsInitialized() const { if ((_has_bits_[0] & 0x0000007f) != 0x0000007f) return false; return true; } void SAiRealTimeData::Swap(SAiRealTimeData* other) { if (other != this) { std::swap(nlocation_, other->nlocation_); std::swap(nsubsystem_, other->nsubsystem_); std::swap(strtablename_, other->strtablename_); std::swap(strtagname_, other->strtagname_); std::swap(strcolumnname_, other->strcolumnname_); std::swap(fvalue_, other->fvalue_); std::swap(ustatus_, other->ustatus_); std::swap(_has_bits_[0], other->_has_bits_[0]); _unknown_fields_.Swap(&other->_unknown_fields_); std::swap(_cached_size_, other->_cached_size_); } } ::google::protobuf::Metadata SAiRealTimeData::GetMetadata() const { protobuf_AssignDescriptorsOnce(); ::google::protobuf::Metadata metadata; metadata.descriptor = SAiRealTimeData_descriptor_; metadata.reflection = SAiRealTimeData_reflection_; return metadata; } // =================================================================== #ifndef _MSC_VER const int SPiRealTimeData::kNLocationFieldNumber; const int SPiRealTimeData::kNSubSystemFieldNumber; const int SPiRealTimeData::kStrTableNameFieldNumber; const int SPiRealTimeData::kStrTagNameFieldNumber; const int SPiRealTimeData::kStrColumnNameFieldNumber; const int SPiRealTimeData::kDValueFieldNumber; const int SPiRealTimeData::kUStatusFieldNumber; #endif // !_MSC_VER SPiRealTimeData::SPiRealTimeData() : ::google::protobuf::Message() { SharedCtor(); // @@protoc_insertion_point(constructor:iot_idl.SPiRealTimeData) } void SPiRealTimeData::InitAsDefaultInstance() { } SPiRealTimeData::SPiRealTimeData(const SPiRealTimeData& from) : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); // @@protoc_insertion_point(copy_constructor:iot_idl.SPiRealTimeData) } void SPiRealTimeData::SharedCtor() { ::google::protobuf::internal::GetEmptyString(); _cached_size_ = 0; nlocation_ = 0; nsubsystem_ = 0; strtablename_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); strtagname_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); strcolumnname_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); dvalue_ = 0; ustatus_ = 0u; ::memset(_has_bits_, 0, sizeof(_has_bits_)); } SPiRealTimeData::~SPiRealTimeData() { // @@protoc_insertion_point(destructor:iot_idl.SPiRealTimeData) SharedDtor(); } void SPiRealTimeData::SharedDtor() { if (strtablename_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { delete strtablename_; } if (strtagname_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { delete strtagname_; } if (strcolumnname_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { delete strcolumnname_; } if (this != default_instance_) { } } void SPiRealTimeData::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const ::google::protobuf::Descriptor* SPiRealTimeData::descriptor() { protobuf_AssignDescriptorsOnce(); return SPiRealTimeData_descriptor_; } const SPiRealTimeData& SPiRealTimeData::default_instance() { if (default_instance_ == NULL) protobuf_AddDesc_DataProcMessage_2eproto(); return *default_instance_; } SPiRealTimeData* SPiRealTimeData::default_instance_ = NULL; SPiRealTimeData* SPiRealTimeData::New() const { return new SPiRealTimeData; } void SPiRealTimeData::Clear() { #define OFFSET_OF_FIELD_(f) (reinterpret_cast( \ &reinterpret_cast(16)->f) - \ reinterpret_cast(16)) #define ZR_(first, last) do { \ size_t f = OFFSET_OF_FIELD_(first); \ size_t n = OFFSET_OF_FIELD_(last) - f + sizeof(last); \ ::memset(&first, 0, n); \ } while (0) if (_has_bits_[0 / 32] & 127) { ZR_(nlocation_, nsubsystem_); ZR_(dvalue_, ustatus_); if (has_strtablename()) { if (strtablename_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { strtablename_->clear(); } } if (has_strtagname()) { if (strtagname_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { strtagname_->clear(); } } if (has_strcolumnname()) { if (strcolumnname_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { strcolumnname_->clear(); } } } #undef OFFSET_OF_FIELD_ #undef ZR_ ::memset(_has_bits_, 0, sizeof(_has_bits_)); mutable_unknown_fields()->Clear(); } bool SPiRealTimeData::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure ::google::protobuf::uint32 tag; // @@protoc_insertion_point(parse_start:iot_idl.SPiRealTimeData) for (;;) { ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127); tag = p.first; if (!p.second) goto handle_unusual; switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // required int32 nLocation = 1; case 1: { if (tag == 8) { DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &nlocation_))); set_has_nlocation(); } else { goto handle_unusual; } if (input->ExpectTag(16)) goto parse_nSubSystem; break; } // required int32 nSubSystem = 2; case 2: { if (tag == 16) { parse_nSubSystem: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &nsubsystem_))); set_has_nsubsystem(); } else { goto handle_unusual; } if (input->ExpectTag(26)) goto parse_strTableName; break; } // required string strTableName = 3; case 3: { if (tag == 26) { parse_strTableName: DO_(::google::protobuf::internal::WireFormatLite::ReadString( input, this->mutable_strtablename())); ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( this->strtablename().data(), this->strtablename().length(), ::google::protobuf::internal::WireFormat::PARSE, "strtablename"); } else { goto handle_unusual; } if (input->ExpectTag(34)) goto parse_strTagName; break; } // required string strTagName = 4; case 4: { if (tag == 34) { parse_strTagName: DO_(::google::protobuf::internal::WireFormatLite::ReadString( input, this->mutable_strtagname())); ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( this->strtagname().data(), this->strtagname().length(), ::google::protobuf::internal::WireFormat::PARSE, "strtagname"); } else { goto handle_unusual; } if (input->ExpectTag(42)) goto parse_strColumnName; break; } // required string strColumnName = 5; case 5: { if (tag == 42) { parse_strColumnName: DO_(::google::protobuf::internal::WireFormatLite::ReadString( input, this->mutable_strcolumnname())); ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( this->strcolumnname().data(), this->strcolumnname().length(), ::google::protobuf::internal::WireFormat::PARSE, "strcolumnname"); } else { goto handle_unusual; } if (input->ExpectTag(49)) goto parse_dValue; break; } // required double dValue = 6; case 6: { if (tag == 49) { parse_dValue: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< double, ::google::protobuf::internal::WireFormatLite::TYPE_DOUBLE>( input, &dvalue_))); set_has_dvalue(); } else { goto handle_unusual; } if (input->ExpectTag(56)) goto parse_uStatus; break; } // required uint32 uStatus = 7; case 7: { if (tag == 56) { parse_uStatus: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( input, &ustatus_))); set_has_ustatus(); } else { goto handle_unusual; } if (input->ExpectAtEnd()) goto success; break; } default: { handle_unusual: if (tag == 0 || ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { goto success; } DO_(::google::protobuf::internal::WireFormat::SkipField( input, tag, mutable_unknown_fields())); break; } } } success: // @@protoc_insertion_point(parse_success:iot_idl.SPiRealTimeData) return true; failure: // @@protoc_insertion_point(parse_failure:iot_idl.SPiRealTimeData) return false; #undef DO_ } void SPiRealTimeData::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { // @@protoc_insertion_point(serialize_start:iot_idl.SPiRealTimeData) // required int32 nLocation = 1; if (has_nlocation()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->nlocation(), output); } // required int32 nSubSystem = 2; if (has_nsubsystem()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->nsubsystem(), output); } // required string strTableName = 3; if (has_strtablename()) { ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( this->strtablename().data(), this->strtablename().length(), ::google::protobuf::internal::WireFormat::SERIALIZE, "strtablename"); ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( 3, this->strtablename(), output); } // required string strTagName = 4; if (has_strtagname()) { ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( this->strtagname().data(), this->strtagname().length(), ::google::protobuf::internal::WireFormat::SERIALIZE, "strtagname"); ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( 4, this->strtagname(), output); } // required string strColumnName = 5; if (has_strcolumnname()) { ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( this->strcolumnname().data(), this->strcolumnname().length(), ::google::protobuf::internal::WireFormat::SERIALIZE, "strcolumnname"); ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( 5, this->strcolumnname(), output); } // required double dValue = 6; if (has_dvalue()) { ::google::protobuf::internal::WireFormatLite::WriteDouble(6, this->dvalue(), output); } // required uint32 uStatus = 7; if (has_ustatus()) { ::google::protobuf::internal::WireFormatLite::WriteUInt32(7, this->ustatus(), output); } if (!unknown_fields().empty()) { ::google::protobuf::internal::WireFormat::SerializeUnknownFields( unknown_fields(), output); } // @@protoc_insertion_point(serialize_end:iot_idl.SPiRealTimeData) } ::google::protobuf::uint8* SPiRealTimeData::SerializeWithCachedSizesToArray( ::google::protobuf::uint8* target) const { // @@protoc_insertion_point(serialize_to_array_start:iot_idl.SPiRealTimeData) // required int32 nLocation = 1; if (has_nlocation()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->nlocation(), target); } // required int32 nSubSystem = 2; if (has_nsubsystem()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->nsubsystem(), target); } // required string strTableName = 3; if (has_strtablename()) { ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( this->strtablename().data(), this->strtablename().length(), ::google::protobuf::internal::WireFormat::SERIALIZE, "strtablename"); target = ::google::protobuf::internal::WireFormatLite::WriteStringToArray( 3, this->strtablename(), target); } // required string strTagName = 4; if (has_strtagname()) { ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( this->strtagname().data(), this->strtagname().length(), ::google::protobuf::internal::WireFormat::SERIALIZE, "strtagname"); target = ::google::protobuf::internal::WireFormatLite::WriteStringToArray( 4, this->strtagname(), target); } // required string strColumnName = 5; if (has_strcolumnname()) { ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( this->strcolumnname().data(), this->strcolumnname().length(), ::google::protobuf::internal::WireFormat::SERIALIZE, "strcolumnname"); target = ::google::protobuf::internal::WireFormatLite::WriteStringToArray( 5, this->strcolumnname(), target); } // required double dValue = 6; if (has_dvalue()) { target = ::google::protobuf::internal::WireFormatLite::WriteDoubleToArray(6, this->dvalue(), target); } // required uint32 uStatus = 7; if (has_ustatus()) { target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(7, this->ustatus(), target); } if (!unknown_fields().empty()) { target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( unknown_fields(), target); } // @@protoc_insertion_point(serialize_to_array_end:iot_idl.SPiRealTimeData) return target; } int SPiRealTimeData::ByteSize() const { int total_size = 0; if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { // required int32 nLocation = 1; if (has_nlocation()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->nlocation()); } // required int32 nSubSystem = 2; if (has_nsubsystem()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->nsubsystem()); } // required string strTableName = 3; if (has_strtablename()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( this->strtablename()); } // required string strTagName = 4; if (has_strtagname()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( this->strtagname()); } // required string strColumnName = 5; if (has_strcolumnname()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( this->strcolumnname()); } // required double dValue = 6; if (has_dvalue()) { total_size += 1 + 8; } // required uint32 uStatus = 7; if (has_ustatus()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::UInt32Size( this->ustatus()); } } if (!unknown_fields().empty()) { total_size += ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( unknown_fields()); } GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); return total_size; } void SPiRealTimeData::MergeFrom(const ::google::protobuf::Message& from) { GOOGLE_CHECK_NE(&from, this); const SPiRealTimeData* source = ::google::protobuf::internal::dynamic_cast_if_available( &from); if (source == NULL) { ::google::protobuf::internal::ReflectionOps::Merge(from, this); } else { MergeFrom(*source); } } void SPiRealTimeData::MergeFrom(const SPiRealTimeData& from) { GOOGLE_CHECK_NE(&from, this); if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { if (from.has_nlocation()) { set_nlocation(from.nlocation()); } if (from.has_nsubsystem()) { set_nsubsystem(from.nsubsystem()); } if (from.has_strtablename()) { set_strtablename(from.strtablename()); } if (from.has_strtagname()) { set_strtagname(from.strtagname()); } if (from.has_strcolumnname()) { set_strcolumnname(from.strcolumnname()); } if (from.has_dvalue()) { set_dvalue(from.dvalue()); } if (from.has_ustatus()) { set_ustatus(from.ustatus()); } } mutable_unknown_fields()->MergeFrom(from.unknown_fields()); } void SPiRealTimeData::CopyFrom(const ::google::protobuf::Message& from) { if (&from == this) return; Clear(); MergeFrom(from); } void SPiRealTimeData::CopyFrom(const SPiRealTimeData& from) { if (&from == this) return; Clear(); MergeFrom(from); } bool SPiRealTimeData::IsInitialized() const { if ((_has_bits_[0] & 0x0000007f) != 0x0000007f) return false; return true; } void SPiRealTimeData::Swap(SPiRealTimeData* other) { if (other != this) { std::swap(nlocation_, other->nlocation_); std::swap(nsubsystem_, other->nsubsystem_); std::swap(strtablename_, other->strtablename_); std::swap(strtagname_, other->strtagname_); std::swap(strcolumnname_, other->strcolumnname_); std::swap(dvalue_, other->dvalue_); std::swap(ustatus_, other->ustatus_); std::swap(_has_bits_[0], other->_has_bits_[0]); _unknown_fields_.Swap(&other->_unknown_fields_); std::swap(_cached_size_, other->_cached_size_); } } ::google::protobuf::Metadata SPiRealTimeData::GetMetadata() const { protobuf_AssignDescriptorsOnce(); ::google::protobuf::Metadata metadata; metadata.descriptor = SPiRealTimeData_descriptor_; metadata.reflection = SPiRealTimeData_reflection_; return metadata; } // =================================================================== #ifndef _MSC_VER const int SDiRealTimeData::kNLocationFieldNumber; const int SDiRealTimeData::kNSubSystemFieldNumber; const int SDiRealTimeData::kStrTableNameFieldNumber; const int SDiRealTimeData::kStrTagNameFieldNumber; const int SDiRealTimeData::kStrColumnNameFieldNumber; const int SDiRealTimeData::kNValueFieldNumber; const int SDiRealTimeData::kUStatusFieldNumber; #endif // !_MSC_VER SDiRealTimeData::SDiRealTimeData() : ::google::protobuf::Message() { SharedCtor(); // @@protoc_insertion_point(constructor:iot_idl.SDiRealTimeData) } void SDiRealTimeData::InitAsDefaultInstance() { } SDiRealTimeData::SDiRealTimeData(const SDiRealTimeData& from) : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); // @@protoc_insertion_point(copy_constructor:iot_idl.SDiRealTimeData) } void SDiRealTimeData::SharedCtor() { ::google::protobuf::internal::GetEmptyString(); _cached_size_ = 0; nlocation_ = 0; nsubsystem_ = 0; strtablename_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); strtagname_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); strcolumnname_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); nvalue_ = 0; ustatus_ = 0u; ::memset(_has_bits_, 0, sizeof(_has_bits_)); } SDiRealTimeData::~SDiRealTimeData() { // @@protoc_insertion_point(destructor:iot_idl.SDiRealTimeData) SharedDtor(); } void SDiRealTimeData::SharedDtor() { if (strtablename_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { delete strtablename_; } if (strtagname_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { delete strtagname_; } if (strcolumnname_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { delete strcolumnname_; } if (this != default_instance_) { } } void SDiRealTimeData::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const ::google::protobuf::Descriptor* SDiRealTimeData::descriptor() { protobuf_AssignDescriptorsOnce(); return SDiRealTimeData_descriptor_; } const SDiRealTimeData& SDiRealTimeData::default_instance() { if (default_instance_ == NULL) protobuf_AddDesc_DataProcMessage_2eproto(); return *default_instance_; } SDiRealTimeData* SDiRealTimeData::default_instance_ = NULL; SDiRealTimeData* SDiRealTimeData::New() const { return new SDiRealTimeData; } void SDiRealTimeData::Clear() { #define OFFSET_OF_FIELD_(f) (reinterpret_cast( \ &reinterpret_cast(16)->f) - \ reinterpret_cast(16)) #define ZR_(first, last) do { \ size_t f = OFFSET_OF_FIELD_(first); \ size_t n = OFFSET_OF_FIELD_(last) - f + sizeof(last); \ ::memset(&first, 0, n); \ } while (0) if (_has_bits_[0 / 32] & 127) { ZR_(nlocation_, nsubsystem_); ZR_(nvalue_, ustatus_); if (has_strtablename()) { if (strtablename_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { strtablename_->clear(); } } if (has_strtagname()) { if (strtagname_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { strtagname_->clear(); } } if (has_strcolumnname()) { if (strcolumnname_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { strcolumnname_->clear(); } } } #undef OFFSET_OF_FIELD_ #undef ZR_ ::memset(_has_bits_, 0, sizeof(_has_bits_)); mutable_unknown_fields()->Clear(); } bool SDiRealTimeData::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure ::google::protobuf::uint32 tag; // @@protoc_insertion_point(parse_start:iot_idl.SDiRealTimeData) for (;;) { ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127); tag = p.first; if (!p.second) goto handle_unusual; switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // required int32 nLocation = 1; case 1: { if (tag == 8) { DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &nlocation_))); set_has_nlocation(); } else { goto handle_unusual; } if (input->ExpectTag(16)) goto parse_nSubSystem; break; } // required int32 nSubSystem = 2; case 2: { if (tag == 16) { parse_nSubSystem: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &nsubsystem_))); set_has_nsubsystem(); } else { goto handle_unusual; } if (input->ExpectTag(26)) goto parse_strTableName; break; } // required string strTableName = 3; case 3: { if (tag == 26) { parse_strTableName: DO_(::google::protobuf::internal::WireFormatLite::ReadString( input, this->mutable_strtablename())); ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( this->strtablename().data(), this->strtablename().length(), ::google::protobuf::internal::WireFormat::PARSE, "strtablename"); } else { goto handle_unusual; } if (input->ExpectTag(34)) goto parse_strTagName; break; } // required string strTagName = 4; case 4: { if (tag == 34) { parse_strTagName: DO_(::google::protobuf::internal::WireFormatLite::ReadString( input, this->mutable_strtagname())); ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( this->strtagname().data(), this->strtagname().length(), ::google::protobuf::internal::WireFormat::PARSE, "strtagname"); } else { goto handle_unusual; } if (input->ExpectTag(42)) goto parse_strColumnName; break; } // required string strColumnName = 5; case 5: { if (tag == 42) { parse_strColumnName: DO_(::google::protobuf::internal::WireFormatLite::ReadString( input, this->mutable_strcolumnname())); ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( this->strcolumnname().data(), this->strcolumnname().length(), ::google::protobuf::internal::WireFormat::PARSE, "strcolumnname"); } else { goto handle_unusual; } if (input->ExpectTag(48)) goto parse_nValue; break; } // required int32 nValue = 6; case 6: { if (tag == 48) { parse_nValue: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &nvalue_))); set_has_nvalue(); } else { goto handle_unusual; } if (input->ExpectTag(56)) goto parse_uStatus; break; } // required uint32 uStatus = 7; case 7: { if (tag == 56) { parse_uStatus: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( input, &ustatus_))); set_has_ustatus(); } else { goto handle_unusual; } if (input->ExpectAtEnd()) goto success; break; } default: { handle_unusual: if (tag == 0 || ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { goto success; } DO_(::google::protobuf::internal::WireFormat::SkipField( input, tag, mutable_unknown_fields())); break; } } } success: // @@protoc_insertion_point(parse_success:iot_idl.SDiRealTimeData) return true; failure: // @@protoc_insertion_point(parse_failure:iot_idl.SDiRealTimeData) return false; #undef DO_ } void SDiRealTimeData::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { // @@protoc_insertion_point(serialize_start:iot_idl.SDiRealTimeData) // required int32 nLocation = 1; if (has_nlocation()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->nlocation(), output); } // required int32 nSubSystem = 2; if (has_nsubsystem()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->nsubsystem(), output); } // required string strTableName = 3; if (has_strtablename()) { ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( this->strtablename().data(), this->strtablename().length(), ::google::protobuf::internal::WireFormat::SERIALIZE, "strtablename"); ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( 3, this->strtablename(), output); } // required string strTagName = 4; if (has_strtagname()) { ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( this->strtagname().data(), this->strtagname().length(), ::google::protobuf::internal::WireFormat::SERIALIZE, "strtagname"); ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( 4, this->strtagname(), output); } // required string strColumnName = 5; if (has_strcolumnname()) { ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( this->strcolumnname().data(), this->strcolumnname().length(), ::google::protobuf::internal::WireFormat::SERIALIZE, "strcolumnname"); ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( 5, this->strcolumnname(), output); } // required int32 nValue = 6; if (has_nvalue()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(6, this->nvalue(), output); } // required uint32 uStatus = 7; if (has_ustatus()) { ::google::protobuf::internal::WireFormatLite::WriteUInt32(7, this->ustatus(), output); } if (!unknown_fields().empty()) { ::google::protobuf::internal::WireFormat::SerializeUnknownFields( unknown_fields(), output); } // @@protoc_insertion_point(serialize_end:iot_idl.SDiRealTimeData) } ::google::protobuf::uint8* SDiRealTimeData::SerializeWithCachedSizesToArray( ::google::protobuf::uint8* target) const { // @@protoc_insertion_point(serialize_to_array_start:iot_idl.SDiRealTimeData) // required int32 nLocation = 1; if (has_nlocation()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->nlocation(), target); } // required int32 nSubSystem = 2; if (has_nsubsystem()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->nsubsystem(), target); } // required string strTableName = 3; if (has_strtablename()) { ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( this->strtablename().data(), this->strtablename().length(), ::google::protobuf::internal::WireFormat::SERIALIZE, "strtablename"); target = ::google::protobuf::internal::WireFormatLite::WriteStringToArray( 3, this->strtablename(), target); } // required string strTagName = 4; if (has_strtagname()) { ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( this->strtagname().data(), this->strtagname().length(), ::google::protobuf::internal::WireFormat::SERIALIZE, "strtagname"); target = ::google::protobuf::internal::WireFormatLite::WriteStringToArray( 4, this->strtagname(), target); } // required string strColumnName = 5; if (has_strcolumnname()) { ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( this->strcolumnname().data(), this->strcolumnname().length(), ::google::protobuf::internal::WireFormat::SERIALIZE, "strcolumnname"); target = ::google::protobuf::internal::WireFormatLite::WriteStringToArray( 5, this->strcolumnname(), target); } // required int32 nValue = 6; if (has_nvalue()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(6, this->nvalue(), target); } // required uint32 uStatus = 7; if (has_ustatus()) { target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(7, this->ustatus(), target); } if (!unknown_fields().empty()) { target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( unknown_fields(), target); } // @@protoc_insertion_point(serialize_to_array_end:iot_idl.SDiRealTimeData) return target; } int SDiRealTimeData::ByteSize() const { int total_size = 0; if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { // required int32 nLocation = 1; if (has_nlocation()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->nlocation()); } // required int32 nSubSystem = 2; if (has_nsubsystem()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->nsubsystem()); } // required string strTableName = 3; if (has_strtablename()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( this->strtablename()); } // required string strTagName = 4; if (has_strtagname()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( this->strtagname()); } // required string strColumnName = 5; if (has_strcolumnname()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( this->strcolumnname()); } // required int32 nValue = 6; if (has_nvalue()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->nvalue()); } // required uint32 uStatus = 7; if (has_ustatus()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::UInt32Size( this->ustatus()); } } if (!unknown_fields().empty()) { total_size += ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( unknown_fields()); } GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); return total_size; } void SDiRealTimeData::MergeFrom(const ::google::protobuf::Message& from) { GOOGLE_CHECK_NE(&from, this); const SDiRealTimeData* source = ::google::protobuf::internal::dynamic_cast_if_available( &from); if (source == NULL) { ::google::protobuf::internal::ReflectionOps::Merge(from, this); } else { MergeFrom(*source); } } void SDiRealTimeData::MergeFrom(const SDiRealTimeData& from) { GOOGLE_CHECK_NE(&from, this); if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { if (from.has_nlocation()) { set_nlocation(from.nlocation()); } if (from.has_nsubsystem()) { set_nsubsystem(from.nsubsystem()); } if (from.has_strtablename()) { set_strtablename(from.strtablename()); } if (from.has_strtagname()) { set_strtagname(from.strtagname()); } if (from.has_strcolumnname()) { set_strcolumnname(from.strcolumnname()); } if (from.has_nvalue()) { set_nvalue(from.nvalue()); } if (from.has_ustatus()) { set_ustatus(from.ustatus()); } } mutable_unknown_fields()->MergeFrom(from.unknown_fields()); } void SDiRealTimeData::CopyFrom(const ::google::protobuf::Message& from) { if (&from == this) return; Clear(); MergeFrom(from); } void SDiRealTimeData::CopyFrom(const SDiRealTimeData& from) { if (&from == this) return; Clear(); MergeFrom(from); } bool SDiRealTimeData::IsInitialized() const { if ((_has_bits_[0] & 0x0000007f) != 0x0000007f) return false; return true; } void SDiRealTimeData::Swap(SDiRealTimeData* other) { if (other != this) { std::swap(nlocation_, other->nlocation_); std::swap(nsubsystem_, other->nsubsystem_); std::swap(strtablename_, other->strtablename_); std::swap(strtagname_, other->strtagname_); std::swap(strcolumnname_, other->strcolumnname_); std::swap(nvalue_, other->nvalue_); std::swap(ustatus_, other->ustatus_); std::swap(_has_bits_[0], other->_has_bits_[0]); _unknown_fields_.Swap(&other->_unknown_fields_); std::swap(_cached_size_, other->_cached_size_); } } ::google::protobuf::Metadata SDiRealTimeData::GetMetadata() const { protobuf_AssignDescriptorsOnce(); ::google::protobuf::Metadata metadata; metadata.descriptor = SDiRealTimeData_descriptor_; metadata.reflection = SDiRealTimeData_reflection_; return metadata; } // =================================================================== #ifndef _MSC_VER const int SMiRealTimeData::kNLocationFieldNumber; const int SMiRealTimeData::kNSubSystemFieldNumber; const int SMiRealTimeData::kStrTableNameFieldNumber; const int SMiRealTimeData::kStrTagNameFieldNumber; const int SMiRealTimeData::kStrColumnNameFieldNumber; const int SMiRealTimeData::kNValueFieldNumber; const int SMiRealTimeData::kUStatusFieldNumber; #endif // !_MSC_VER SMiRealTimeData::SMiRealTimeData() : ::google::protobuf::Message() { SharedCtor(); // @@protoc_insertion_point(constructor:iot_idl.SMiRealTimeData) } void SMiRealTimeData::InitAsDefaultInstance() { } SMiRealTimeData::SMiRealTimeData(const SMiRealTimeData& from) : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); // @@protoc_insertion_point(copy_constructor:iot_idl.SMiRealTimeData) } void SMiRealTimeData::SharedCtor() { ::google::protobuf::internal::GetEmptyString(); _cached_size_ = 0; nlocation_ = 0; nsubsystem_ = 0; strtablename_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); strtagname_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); strcolumnname_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); nvalue_ = 0; ustatus_ = 0u; ::memset(_has_bits_, 0, sizeof(_has_bits_)); } SMiRealTimeData::~SMiRealTimeData() { // @@protoc_insertion_point(destructor:iot_idl.SMiRealTimeData) SharedDtor(); } void SMiRealTimeData::SharedDtor() { if (strtablename_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { delete strtablename_; } if (strtagname_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { delete strtagname_; } if (strcolumnname_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { delete strcolumnname_; } if (this != default_instance_) { } } void SMiRealTimeData::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const ::google::protobuf::Descriptor* SMiRealTimeData::descriptor() { protobuf_AssignDescriptorsOnce(); return SMiRealTimeData_descriptor_; } const SMiRealTimeData& SMiRealTimeData::default_instance() { if (default_instance_ == NULL) protobuf_AddDesc_DataProcMessage_2eproto(); return *default_instance_; } SMiRealTimeData* SMiRealTimeData::default_instance_ = NULL; SMiRealTimeData* SMiRealTimeData::New() const { return new SMiRealTimeData; } void SMiRealTimeData::Clear() { #define OFFSET_OF_FIELD_(f) (reinterpret_cast( \ &reinterpret_cast(16)->f) - \ reinterpret_cast(16)) #define ZR_(first, last) do { \ size_t f = OFFSET_OF_FIELD_(first); \ size_t n = OFFSET_OF_FIELD_(last) - f + sizeof(last); \ ::memset(&first, 0, n); \ } while (0) if (_has_bits_[0 / 32] & 127) { ZR_(nlocation_, nsubsystem_); ZR_(nvalue_, ustatus_); if (has_strtablename()) { if (strtablename_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { strtablename_->clear(); } } if (has_strtagname()) { if (strtagname_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { strtagname_->clear(); } } if (has_strcolumnname()) { if (strcolumnname_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { strcolumnname_->clear(); } } } #undef OFFSET_OF_FIELD_ #undef ZR_ ::memset(_has_bits_, 0, sizeof(_has_bits_)); mutable_unknown_fields()->Clear(); } bool SMiRealTimeData::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure ::google::protobuf::uint32 tag; // @@protoc_insertion_point(parse_start:iot_idl.SMiRealTimeData) for (;;) { ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127); tag = p.first; if (!p.second) goto handle_unusual; switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // required int32 nLocation = 1; case 1: { if (tag == 8) { DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &nlocation_))); set_has_nlocation(); } else { goto handle_unusual; } if (input->ExpectTag(16)) goto parse_nSubSystem; break; } // required int32 nSubSystem = 2; case 2: { if (tag == 16) { parse_nSubSystem: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &nsubsystem_))); set_has_nsubsystem(); } else { goto handle_unusual; } if (input->ExpectTag(26)) goto parse_strTableName; break; } // required string strTableName = 3; case 3: { if (tag == 26) { parse_strTableName: DO_(::google::protobuf::internal::WireFormatLite::ReadString( input, this->mutable_strtablename())); ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( this->strtablename().data(), this->strtablename().length(), ::google::protobuf::internal::WireFormat::PARSE, "strtablename"); } else { goto handle_unusual; } if (input->ExpectTag(34)) goto parse_strTagName; break; } // required string strTagName = 4; case 4: { if (tag == 34) { parse_strTagName: DO_(::google::protobuf::internal::WireFormatLite::ReadString( input, this->mutable_strtagname())); ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( this->strtagname().data(), this->strtagname().length(), ::google::protobuf::internal::WireFormat::PARSE, "strtagname"); } else { goto handle_unusual; } if (input->ExpectTag(42)) goto parse_strColumnName; break; } // required string strColumnName = 5; case 5: { if (tag == 42) { parse_strColumnName: DO_(::google::protobuf::internal::WireFormatLite::ReadString( input, this->mutable_strcolumnname())); ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( this->strcolumnname().data(), this->strcolumnname().length(), ::google::protobuf::internal::WireFormat::PARSE, "strcolumnname"); } else { goto handle_unusual; } if (input->ExpectTag(48)) goto parse_nValue; break; } // required int32 nValue = 6; case 6: { if (tag == 48) { parse_nValue: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &nvalue_))); set_has_nvalue(); } else { goto handle_unusual; } if (input->ExpectTag(56)) goto parse_uStatus; break; } // required uint32 uStatus = 7; case 7: { if (tag == 56) { parse_uStatus: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( input, &ustatus_))); set_has_ustatus(); } else { goto handle_unusual; } if (input->ExpectAtEnd()) goto success; break; } default: { handle_unusual: if (tag == 0 || ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { goto success; } DO_(::google::protobuf::internal::WireFormat::SkipField( input, tag, mutable_unknown_fields())); break; } } } success: // @@protoc_insertion_point(parse_success:iot_idl.SMiRealTimeData) return true; failure: // @@protoc_insertion_point(parse_failure:iot_idl.SMiRealTimeData) return false; #undef DO_ } void SMiRealTimeData::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { // @@protoc_insertion_point(serialize_start:iot_idl.SMiRealTimeData) // required int32 nLocation = 1; if (has_nlocation()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->nlocation(), output); } // required int32 nSubSystem = 2; if (has_nsubsystem()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->nsubsystem(), output); } // required string strTableName = 3; if (has_strtablename()) { ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( this->strtablename().data(), this->strtablename().length(), ::google::protobuf::internal::WireFormat::SERIALIZE, "strtablename"); ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( 3, this->strtablename(), output); } // required string strTagName = 4; if (has_strtagname()) { ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( this->strtagname().data(), this->strtagname().length(), ::google::protobuf::internal::WireFormat::SERIALIZE, "strtagname"); ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( 4, this->strtagname(), output); } // required string strColumnName = 5; if (has_strcolumnname()) { ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( this->strcolumnname().data(), this->strcolumnname().length(), ::google::protobuf::internal::WireFormat::SERIALIZE, "strcolumnname"); ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( 5, this->strcolumnname(), output); } // required int32 nValue = 6; if (has_nvalue()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(6, this->nvalue(), output); } // required uint32 uStatus = 7; if (has_ustatus()) { ::google::protobuf::internal::WireFormatLite::WriteUInt32(7, this->ustatus(), output); } if (!unknown_fields().empty()) { ::google::protobuf::internal::WireFormat::SerializeUnknownFields( unknown_fields(), output); } // @@protoc_insertion_point(serialize_end:iot_idl.SMiRealTimeData) } ::google::protobuf::uint8* SMiRealTimeData::SerializeWithCachedSizesToArray( ::google::protobuf::uint8* target) const { // @@protoc_insertion_point(serialize_to_array_start:iot_idl.SMiRealTimeData) // required int32 nLocation = 1; if (has_nlocation()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->nlocation(), target); } // required int32 nSubSystem = 2; if (has_nsubsystem()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->nsubsystem(), target); } // required string strTableName = 3; if (has_strtablename()) { ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( this->strtablename().data(), this->strtablename().length(), ::google::protobuf::internal::WireFormat::SERIALIZE, "strtablename"); target = ::google::protobuf::internal::WireFormatLite::WriteStringToArray( 3, this->strtablename(), target); } // required string strTagName = 4; if (has_strtagname()) { ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( this->strtagname().data(), this->strtagname().length(), ::google::protobuf::internal::WireFormat::SERIALIZE, "strtagname"); target = ::google::protobuf::internal::WireFormatLite::WriteStringToArray( 4, this->strtagname(), target); } // required string strColumnName = 5; if (has_strcolumnname()) { ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( this->strcolumnname().data(), this->strcolumnname().length(), ::google::protobuf::internal::WireFormat::SERIALIZE, "strcolumnname"); target = ::google::protobuf::internal::WireFormatLite::WriteStringToArray( 5, this->strcolumnname(), target); } // required int32 nValue = 6; if (has_nvalue()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(6, this->nvalue(), target); } // required uint32 uStatus = 7; if (has_ustatus()) { target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(7, this->ustatus(), target); } if (!unknown_fields().empty()) { target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( unknown_fields(), target); } // @@protoc_insertion_point(serialize_to_array_end:iot_idl.SMiRealTimeData) return target; } int SMiRealTimeData::ByteSize() const { int total_size = 0; if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { // required int32 nLocation = 1; if (has_nlocation()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->nlocation()); } // required int32 nSubSystem = 2; if (has_nsubsystem()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->nsubsystem()); } // required string strTableName = 3; if (has_strtablename()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( this->strtablename()); } // required string strTagName = 4; if (has_strtagname()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( this->strtagname()); } // required string strColumnName = 5; if (has_strcolumnname()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( this->strcolumnname()); } // required int32 nValue = 6; if (has_nvalue()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->nvalue()); } // required uint32 uStatus = 7; if (has_ustatus()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::UInt32Size( this->ustatus()); } } if (!unknown_fields().empty()) { total_size += ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( unknown_fields()); } GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); return total_size; } void SMiRealTimeData::MergeFrom(const ::google::protobuf::Message& from) { GOOGLE_CHECK_NE(&from, this); const SMiRealTimeData* source = ::google::protobuf::internal::dynamic_cast_if_available( &from); if (source == NULL) { ::google::protobuf::internal::ReflectionOps::Merge(from, this); } else { MergeFrom(*source); } } void SMiRealTimeData::MergeFrom(const SMiRealTimeData& from) { GOOGLE_CHECK_NE(&from, this); if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { if (from.has_nlocation()) { set_nlocation(from.nlocation()); } if (from.has_nsubsystem()) { set_nsubsystem(from.nsubsystem()); } if (from.has_strtablename()) { set_strtablename(from.strtablename()); } if (from.has_strtagname()) { set_strtagname(from.strtagname()); } if (from.has_strcolumnname()) { set_strcolumnname(from.strcolumnname()); } if (from.has_nvalue()) { set_nvalue(from.nvalue()); } if (from.has_ustatus()) { set_ustatus(from.ustatus()); } } mutable_unknown_fields()->MergeFrom(from.unknown_fields()); } void SMiRealTimeData::CopyFrom(const ::google::protobuf::Message& from) { if (&from == this) return; Clear(); MergeFrom(from); } void SMiRealTimeData::CopyFrom(const SMiRealTimeData& from) { if (&from == this) return; Clear(); MergeFrom(from); } bool SMiRealTimeData::IsInitialized() const { if ((_has_bits_[0] & 0x0000007f) != 0x0000007f) return false; return true; } void SMiRealTimeData::Swap(SMiRealTimeData* other) { if (other != this) { std::swap(nlocation_, other->nlocation_); std::swap(nsubsystem_, other->nsubsystem_); std::swap(strtablename_, other->strtablename_); std::swap(strtagname_, other->strtagname_); std::swap(strcolumnname_, other->strcolumnname_); std::swap(nvalue_, other->nvalue_); std::swap(ustatus_, other->ustatus_); std::swap(_has_bits_[0], other->_has_bits_[0]); _unknown_fields_.Swap(&other->_unknown_fields_); std::swap(_cached_size_, other->_cached_size_); } } ::google::protobuf::Metadata SMiRealTimeData::GetMetadata() const { protobuf_AssignDescriptorsOnce(); ::google::protobuf::Metadata metadata; metadata.descriptor = SMiRealTimeData_descriptor_; metadata.reflection = SMiRealTimeData_reflection_; return metadata; } // =================================================================== #ifndef _MSC_VER const int STableRealTimeData::kStrTableNameFieldNumber; const int STableRealTimeData::kStrTagNameFieldNumber; const int STableRealTimeData::kStrColumnNameFieldNumber; const int STableRealTimeData::kNLocationFieldNumber; const int STableRealTimeData::kNSubSystemFieldNumber; const int STableRealTimeData::kVarValueFieldNumber; #endif // !_MSC_VER STableRealTimeData::STableRealTimeData() : ::google::protobuf::Message() { SharedCtor(); // @@protoc_insertion_point(constructor:iot_idl.STableRealTimeData) } void STableRealTimeData::InitAsDefaultInstance() { varvalue_ = const_cast< ::iot_idl::SVariable*>(&::iot_idl::SVariable::default_instance()); } STableRealTimeData::STableRealTimeData(const STableRealTimeData& from) : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); // @@protoc_insertion_point(copy_constructor:iot_idl.STableRealTimeData) } void STableRealTimeData::SharedCtor() { ::google::protobuf::internal::GetEmptyString(); _cached_size_ = 0; strtablename_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); strtagname_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); strcolumnname_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); nlocation_ = 0; nsubsystem_ = 0; varvalue_ = NULL; ::memset(_has_bits_, 0, sizeof(_has_bits_)); } STableRealTimeData::~STableRealTimeData() { // @@protoc_insertion_point(destructor:iot_idl.STableRealTimeData) SharedDtor(); } void STableRealTimeData::SharedDtor() { if (strtablename_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { delete strtablename_; } if (strtagname_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { delete strtagname_; } if (strcolumnname_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { delete strcolumnname_; } if (this != default_instance_) { delete varvalue_; } } void STableRealTimeData::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const ::google::protobuf::Descriptor* STableRealTimeData::descriptor() { protobuf_AssignDescriptorsOnce(); return STableRealTimeData_descriptor_; } const STableRealTimeData& STableRealTimeData::default_instance() { if (default_instance_ == NULL) protobuf_AddDesc_DataProcMessage_2eproto(); return *default_instance_; } STableRealTimeData* STableRealTimeData::default_instance_ = NULL; STableRealTimeData* STableRealTimeData::New() const { return new STableRealTimeData; } void STableRealTimeData::Clear() { #define OFFSET_OF_FIELD_(f) (reinterpret_cast( \ &reinterpret_cast(16)->f) - \ reinterpret_cast(16)) #define ZR_(first, last) do { \ size_t f = OFFSET_OF_FIELD_(first); \ size_t n = OFFSET_OF_FIELD_(last) - f + sizeof(last); \ ::memset(&first, 0, n); \ } while (0) if (_has_bits_[0 / 32] & 63) { ZR_(nlocation_, nsubsystem_); if (has_strtablename()) { if (strtablename_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { strtablename_->clear(); } } if (has_strtagname()) { if (strtagname_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { strtagname_->clear(); } } if (has_strcolumnname()) { if (strcolumnname_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { strcolumnname_->clear(); } } if (has_varvalue()) { if (varvalue_ != NULL) varvalue_->::iot_idl::SVariable::Clear(); } } #undef OFFSET_OF_FIELD_ #undef ZR_ ::memset(_has_bits_, 0, sizeof(_has_bits_)); mutable_unknown_fields()->Clear(); } bool STableRealTimeData::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure ::google::protobuf::uint32 tag; // @@protoc_insertion_point(parse_start:iot_idl.STableRealTimeData) for (;;) { ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127); tag = p.first; if (!p.second) goto handle_unusual; switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // required string strTableName = 1; case 1: { if (tag == 10) { DO_(::google::protobuf::internal::WireFormatLite::ReadString( input, this->mutable_strtablename())); ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( this->strtablename().data(), this->strtablename().length(), ::google::protobuf::internal::WireFormat::PARSE, "strtablename"); } else { goto handle_unusual; } if (input->ExpectTag(18)) goto parse_strTagName; break; } // required string strTagName = 2; case 2: { if (tag == 18) { parse_strTagName: DO_(::google::protobuf::internal::WireFormatLite::ReadString( input, this->mutable_strtagname())); ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( this->strtagname().data(), this->strtagname().length(), ::google::protobuf::internal::WireFormat::PARSE, "strtagname"); } else { goto handle_unusual; } if (input->ExpectTag(26)) goto parse_strColumnName; break; } // required string strColumnName = 3; case 3: { if (tag == 26) { parse_strColumnName: DO_(::google::protobuf::internal::WireFormatLite::ReadString( input, this->mutable_strcolumnname())); ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( this->strcolumnname().data(), this->strcolumnname().length(), ::google::protobuf::internal::WireFormat::PARSE, "strcolumnname"); } else { goto handle_unusual; } if (input->ExpectTag(32)) goto parse_nLocation; break; } // optional int32 nLocation = 4; case 4: { if (tag == 32) { parse_nLocation: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &nlocation_))); set_has_nlocation(); } else { goto handle_unusual; } if (input->ExpectTag(40)) goto parse_nSubSystem; break; } // optional int32 nSubSystem = 5; case 5: { if (tag == 40) { parse_nSubSystem: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &nsubsystem_))); set_has_nsubsystem(); } else { goto handle_unusual; } if (input->ExpectTag(50)) goto parse_varValue; break; } // required .iot_idl.SVariable varValue = 6; case 6: { if (tag == 50) { parse_varValue: DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( input, mutable_varvalue())); } else { goto handle_unusual; } if (input->ExpectAtEnd()) goto success; break; } default: { handle_unusual: if (tag == 0 || ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { goto success; } DO_(::google::protobuf::internal::WireFormat::SkipField( input, tag, mutable_unknown_fields())); break; } } } success: // @@protoc_insertion_point(parse_success:iot_idl.STableRealTimeData) return true; failure: // @@protoc_insertion_point(parse_failure:iot_idl.STableRealTimeData) return false; #undef DO_ } void STableRealTimeData::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { // @@protoc_insertion_point(serialize_start:iot_idl.STableRealTimeData) // required string strTableName = 1; if (has_strtablename()) { ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( this->strtablename().data(), this->strtablename().length(), ::google::protobuf::internal::WireFormat::SERIALIZE, "strtablename"); ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( 1, this->strtablename(), output); } // required string strTagName = 2; if (has_strtagname()) { ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( this->strtagname().data(), this->strtagname().length(), ::google::protobuf::internal::WireFormat::SERIALIZE, "strtagname"); ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( 2, this->strtagname(), output); } // required string strColumnName = 3; if (has_strcolumnname()) { ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( this->strcolumnname().data(), this->strcolumnname().length(), ::google::protobuf::internal::WireFormat::SERIALIZE, "strcolumnname"); ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( 3, this->strcolumnname(), output); } // optional int32 nLocation = 4; if (has_nlocation()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->nlocation(), output); } // optional int32 nSubSystem = 5; if (has_nsubsystem()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(5, this->nsubsystem(), output); } // required .iot_idl.SVariable varValue = 6; if (has_varvalue()) { ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( 6, this->varvalue(), output); } if (!unknown_fields().empty()) { ::google::protobuf::internal::WireFormat::SerializeUnknownFields( unknown_fields(), output); } // @@protoc_insertion_point(serialize_end:iot_idl.STableRealTimeData) } ::google::protobuf::uint8* STableRealTimeData::SerializeWithCachedSizesToArray( ::google::protobuf::uint8* target) const { // @@protoc_insertion_point(serialize_to_array_start:iot_idl.STableRealTimeData) // required string strTableName = 1; if (has_strtablename()) { ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( this->strtablename().data(), this->strtablename().length(), ::google::protobuf::internal::WireFormat::SERIALIZE, "strtablename"); target = ::google::protobuf::internal::WireFormatLite::WriteStringToArray( 1, this->strtablename(), target); } // required string strTagName = 2; if (has_strtagname()) { ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( this->strtagname().data(), this->strtagname().length(), ::google::protobuf::internal::WireFormat::SERIALIZE, "strtagname"); target = ::google::protobuf::internal::WireFormatLite::WriteStringToArray( 2, this->strtagname(), target); } // required string strColumnName = 3; if (has_strcolumnname()) { ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( this->strcolumnname().data(), this->strcolumnname().length(), ::google::protobuf::internal::WireFormat::SERIALIZE, "strcolumnname"); target = ::google::protobuf::internal::WireFormatLite::WriteStringToArray( 3, this->strcolumnname(), target); } // optional int32 nLocation = 4; if (has_nlocation()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->nlocation(), target); } // optional int32 nSubSystem = 5; if (has_nsubsystem()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(5, this->nsubsystem(), target); } // required .iot_idl.SVariable varValue = 6; if (has_varvalue()) { target = ::google::protobuf::internal::WireFormatLite:: WriteMessageNoVirtualToArray( 6, this->varvalue(), target); } if (!unknown_fields().empty()) { target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( unknown_fields(), target); } // @@protoc_insertion_point(serialize_to_array_end:iot_idl.STableRealTimeData) return target; } int STableRealTimeData::ByteSize() const { int total_size = 0; if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { // required string strTableName = 1; if (has_strtablename()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( this->strtablename()); } // required string strTagName = 2; if (has_strtagname()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( this->strtagname()); } // required string strColumnName = 3; if (has_strcolumnname()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( this->strcolumnname()); } // optional int32 nLocation = 4; if (has_nlocation()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->nlocation()); } // optional int32 nSubSystem = 5; if (has_nsubsystem()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->nsubsystem()); } // required .iot_idl.SVariable varValue = 6; if (has_varvalue()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( this->varvalue()); } } if (!unknown_fields().empty()) { total_size += ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( unknown_fields()); } GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); return total_size; } void STableRealTimeData::MergeFrom(const ::google::protobuf::Message& from) { GOOGLE_CHECK_NE(&from, this); const STableRealTimeData* source = ::google::protobuf::internal::dynamic_cast_if_available( &from); if (source == NULL) { ::google::protobuf::internal::ReflectionOps::Merge(from, this); } else { MergeFrom(*source); } } void STableRealTimeData::MergeFrom(const STableRealTimeData& from) { GOOGLE_CHECK_NE(&from, this); if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { if (from.has_strtablename()) { set_strtablename(from.strtablename()); } if (from.has_strtagname()) { set_strtagname(from.strtagname()); } if (from.has_strcolumnname()) { set_strcolumnname(from.strcolumnname()); } if (from.has_nlocation()) { set_nlocation(from.nlocation()); } if (from.has_nsubsystem()) { set_nsubsystem(from.nsubsystem()); } if (from.has_varvalue()) { mutable_varvalue()->::iot_idl::SVariable::MergeFrom(from.varvalue()); } } mutable_unknown_fields()->MergeFrom(from.unknown_fields()); } void STableRealTimeData::CopyFrom(const ::google::protobuf::Message& from) { if (&from == this) return; Clear(); MergeFrom(from); } void STableRealTimeData::CopyFrom(const STableRealTimeData& from) { if (&from == this) return; Clear(); MergeFrom(from); } bool STableRealTimeData::IsInitialized() const { if ((_has_bits_[0] & 0x00000027) != 0x00000027) return false; if (has_varvalue()) { if (!this->varvalue().IsInitialized()) return false; } return true; } void STableRealTimeData::Swap(STableRealTimeData* other) { if (other != this) { std::swap(strtablename_, other->strtablename_); std::swap(strtagname_, other->strtagname_); std::swap(strcolumnname_, other->strcolumnname_); std::swap(nlocation_, other->nlocation_); std::swap(nsubsystem_, other->nsubsystem_); std::swap(varvalue_, other->varvalue_); std::swap(_has_bits_[0], other->_has_bits_[0]); _unknown_fields_.Swap(&other->_unknown_fields_); std::swap(_cached_size_, other->_cached_size_); } } ::google::protobuf::Metadata STableRealTimeData::GetMetadata() const { protobuf_AssignDescriptorsOnce(); ::google::protobuf::Metadata metadata; metadata.descriptor = STableRealTimeData_descriptor_; metadata.reflection = STableRealTimeData_reflection_; return metadata; } // =================================================================== #ifndef _MSC_VER const int SRealTimeDataPkg::kStHeadFieldNumber; const int SRealTimeDataPkg::kStAiRtdFieldNumber; const int SRealTimeDataPkg::kStPiRtdFieldNumber; const int SRealTimeDataPkg::kStDiRtdFieldNumber; const int SRealTimeDataPkg::kStMiRtdFieldNumber; const int SRealTimeDataPkg::kStTblRtdFieldNumber; #endif // !_MSC_VER SRealTimeDataPkg::SRealTimeDataPkg() : ::google::protobuf::Message() { SharedCtor(); // @@protoc_insertion_point(constructor:iot_idl.SRealTimeDataPkg) } void SRealTimeDataPkg::InitAsDefaultInstance() { sthead_ = const_cast< ::iot_idl::SRealTimePkgHead*>(&::iot_idl::SRealTimePkgHead::default_instance()); } SRealTimeDataPkg::SRealTimeDataPkg(const SRealTimeDataPkg& from) : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); // @@protoc_insertion_point(copy_constructor:iot_idl.SRealTimeDataPkg) } void SRealTimeDataPkg::SharedCtor() { _cached_size_ = 0; sthead_ = NULL; ::memset(_has_bits_, 0, sizeof(_has_bits_)); } SRealTimeDataPkg::~SRealTimeDataPkg() { // @@protoc_insertion_point(destructor:iot_idl.SRealTimeDataPkg) SharedDtor(); } void SRealTimeDataPkg::SharedDtor() { if (this != default_instance_) { delete sthead_; } } void SRealTimeDataPkg::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const ::google::protobuf::Descriptor* SRealTimeDataPkg::descriptor() { protobuf_AssignDescriptorsOnce(); return SRealTimeDataPkg_descriptor_; } const SRealTimeDataPkg& SRealTimeDataPkg::default_instance() { if (default_instance_ == NULL) protobuf_AddDesc_DataProcMessage_2eproto(); return *default_instance_; } SRealTimeDataPkg* SRealTimeDataPkg::default_instance_ = NULL; SRealTimeDataPkg* SRealTimeDataPkg::New() const { return new SRealTimeDataPkg; } void SRealTimeDataPkg::Clear() { if (has_sthead()) { if (sthead_ != NULL) sthead_->::iot_idl::SRealTimePkgHead::Clear(); } stairtd_.Clear(); stpirtd_.Clear(); stdirtd_.Clear(); stmirtd_.Clear(); sttblrtd_.Clear(); ::memset(_has_bits_, 0, sizeof(_has_bits_)); mutable_unknown_fields()->Clear(); } bool SRealTimeDataPkg::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure ::google::protobuf::uint32 tag; // @@protoc_insertion_point(parse_start:iot_idl.SRealTimeDataPkg) for (;;) { ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127); tag = p.first; if (!p.second) goto handle_unusual; switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // required .iot_idl.SRealTimePkgHead stHead = 1; case 1: { if (tag == 10) { DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( input, mutable_sthead())); } else { goto handle_unusual; } if (input->ExpectTag(18)) goto parse_stAiRtd; break; } // repeated .iot_idl.SAiRealTimeData stAiRtd = 2; case 2: { if (tag == 18) { parse_stAiRtd: DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( input, add_stairtd())); } else { goto handle_unusual; } if (input->ExpectTag(18)) goto parse_stAiRtd; if (input->ExpectTag(26)) goto parse_stPiRtd; break; } // repeated .iot_idl.SPiRealTimeData stPiRtd = 3; case 3: { if (tag == 26) { parse_stPiRtd: DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( input, add_stpirtd())); } else { goto handle_unusual; } if (input->ExpectTag(26)) goto parse_stPiRtd; if (input->ExpectTag(34)) goto parse_stDiRtd; break; } // repeated .iot_idl.SDiRealTimeData stDiRtd = 4; case 4: { if (tag == 34) { parse_stDiRtd: DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( input, add_stdirtd())); } else { goto handle_unusual; } if (input->ExpectTag(34)) goto parse_stDiRtd; if (input->ExpectTag(42)) goto parse_stMiRtd; break; } // repeated .iot_idl.SMiRealTimeData stMiRtd = 5; case 5: { if (tag == 42) { parse_stMiRtd: DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( input, add_stmirtd())); } else { goto handle_unusual; } if (input->ExpectTag(42)) goto parse_stMiRtd; if (input->ExpectTag(50)) goto parse_stTblRtd; break; } // repeated .iot_idl.STableRealTimeData stTblRtd = 6; case 6: { if (tag == 50) { parse_stTblRtd: DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( input, add_sttblrtd())); } else { goto handle_unusual; } if (input->ExpectTag(50)) goto parse_stTblRtd; if (input->ExpectAtEnd()) goto success; break; } default: { handle_unusual: if (tag == 0 || ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { goto success; } DO_(::google::protobuf::internal::WireFormat::SkipField( input, tag, mutable_unknown_fields())); break; } } } success: // @@protoc_insertion_point(parse_success:iot_idl.SRealTimeDataPkg) return true; failure: // @@protoc_insertion_point(parse_failure:iot_idl.SRealTimeDataPkg) return false; #undef DO_ } void SRealTimeDataPkg::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { // @@protoc_insertion_point(serialize_start:iot_idl.SRealTimeDataPkg) // required .iot_idl.SRealTimePkgHead stHead = 1; if (has_sthead()) { ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( 1, this->sthead(), output); } // repeated .iot_idl.SAiRealTimeData stAiRtd = 2; for (int i = 0; i < this->stairtd_size(); i++) { ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( 2, this->stairtd(i), output); } // repeated .iot_idl.SPiRealTimeData stPiRtd = 3; for (int i = 0; i < this->stpirtd_size(); i++) { ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( 3, this->stpirtd(i), output); } // repeated .iot_idl.SDiRealTimeData stDiRtd = 4; for (int i = 0; i < this->stdirtd_size(); i++) { ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( 4, this->stdirtd(i), output); } // repeated .iot_idl.SMiRealTimeData stMiRtd = 5; for (int i = 0; i < this->stmirtd_size(); i++) { ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( 5, this->stmirtd(i), output); } // repeated .iot_idl.STableRealTimeData stTblRtd = 6; for (int i = 0; i < this->sttblrtd_size(); i++) { ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( 6, this->sttblrtd(i), output); } if (!unknown_fields().empty()) { ::google::protobuf::internal::WireFormat::SerializeUnknownFields( unknown_fields(), output); } // @@protoc_insertion_point(serialize_end:iot_idl.SRealTimeDataPkg) } ::google::protobuf::uint8* SRealTimeDataPkg::SerializeWithCachedSizesToArray( ::google::protobuf::uint8* target) const { // @@protoc_insertion_point(serialize_to_array_start:iot_idl.SRealTimeDataPkg) // required .iot_idl.SRealTimePkgHead stHead = 1; if (has_sthead()) { target = ::google::protobuf::internal::WireFormatLite:: WriteMessageNoVirtualToArray( 1, this->sthead(), target); } // repeated .iot_idl.SAiRealTimeData stAiRtd = 2; for (int i = 0; i < this->stairtd_size(); i++) { target = ::google::protobuf::internal::WireFormatLite:: WriteMessageNoVirtualToArray( 2, this->stairtd(i), target); } // repeated .iot_idl.SPiRealTimeData stPiRtd = 3; for (int i = 0; i < this->stpirtd_size(); i++) { target = ::google::protobuf::internal::WireFormatLite:: WriteMessageNoVirtualToArray( 3, this->stpirtd(i), target); } // repeated .iot_idl.SDiRealTimeData stDiRtd = 4; for (int i = 0; i < this->stdirtd_size(); i++) { target = ::google::protobuf::internal::WireFormatLite:: WriteMessageNoVirtualToArray( 4, this->stdirtd(i), target); } // repeated .iot_idl.SMiRealTimeData stMiRtd = 5; for (int i = 0; i < this->stmirtd_size(); i++) { target = ::google::protobuf::internal::WireFormatLite:: WriteMessageNoVirtualToArray( 5, this->stmirtd(i), target); } // repeated .iot_idl.STableRealTimeData stTblRtd = 6; for (int i = 0; i < this->sttblrtd_size(); i++) { target = ::google::protobuf::internal::WireFormatLite:: WriteMessageNoVirtualToArray( 6, this->sttblrtd(i), target); } if (!unknown_fields().empty()) { target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( unknown_fields(), target); } // @@protoc_insertion_point(serialize_to_array_end:iot_idl.SRealTimeDataPkg) return target; } int SRealTimeDataPkg::ByteSize() const { int total_size = 0; if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { // required .iot_idl.SRealTimePkgHead stHead = 1; if (has_sthead()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( this->sthead()); } } // repeated .iot_idl.SAiRealTimeData stAiRtd = 2; total_size += 1 * this->stairtd_size(); for (int i = 0; i < this->stairtd_size(); i++) { total_size += ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( this->stairtd(i)); } // repeated .iot_idl.SPiRealTimeData stPiRtd = 3; total_size += 1 * this->stpirtd_size(); for (int i = 0; i < this->stpirtd_size(); i++) { total_size += ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( this->stpirtd(i)); } // repeated .iot_idl.SDiRealTimeData stDiRtd = 4; total_size += 1 * this->stdirtd_size(); for (int i = 0; i < this->stdirtd_size(); i++) { total_size += ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( this->stdirtd(i)); } // repeated .iot_idl.SMiRealTimeData stMiRtd = 5; total_size += 1 * this->stmirtd_size(); for (int i = 0; i < this->stmirtd_size(); i++) { total_size += ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( this->stmirtd(i)); } // repeated .iot_idl.STableRealTimeData stTblRtd = 6; total_size += 1 * this->sttblrtd_size(); for (int i = 0; i < this->sttblrtd_size(); i++) { total_size += ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( this->sttblrtd(i)); } if (!unknown_fields().empty()) { total_size += ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( unknown_fields()); } GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); return total_size; } void SRealTimeDataPkg::MergeFrom(const ::google::protobuf::Message& from) { GOOGLE_CHECK_NE(&from, this); const SRealTimeDataPkg* source = ::google::protobuf::internal::dynamic_cast_if_available( &from); if (source == NULL) { ::google::protobuf::internal::ReflectionOps::Merge(from, this); } else { MergeFrom(*source); } } void SRealTimeDataPkg::MergeFrom(const SRealTimeDataPkg& from) { GOOGLE_CHECK_NE(&from, this); stairtd_.MergeFrom(from.stairtd_); stpirtd_.MergeFrom(from.stpirtd_); stdirtd_.MergeFrom(from.stdirtd_); stmirtd_.MergeFrom(from.stmirtd_); sttblrtd_.MergeFrom(from.sttblrtd_); if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { if (from.has_sthead()) { mutable_sthead()->::iot_idl::SRealTimePkgHead::MergeFrom(from.sthead()); } } mutable_unknown_fields()->MergeFrom(from.unknown_fields()); } void SRealTimeDataPkg::CopyFrom(const ::google::protobuf::Message& from) { if (&from == this) return; Clear(); MergeFrom(from); } void SRealTimeDataPkg::CopyFrom(const SRealTimeDataPkg& from) { if (&from == this) return; Clear(); MergeFrom(from); } bool SRealTimeDataPkg::IsInitialized() const { if ((_has_bits_[0] & 0x00000001) != 0x00000001) return false; if (has_sthead()) { if (!this->sthead().IsInitialized()) return false; } if (!::google::protobuf::internal::AllAreInitialized(this->stairtd())) return false; if (!::google::protobuf::internal::AllAreInitialized(this->stpirtd())) return false; if (!::google::protobuf::internal::AllAreInitialized(this->stdirtd())) return false; if (!::google::protobuf::internal::AllAreInitialized(this->stmirtd())) return false; if (!::google::protobuf::internal::AllAreInitialized(this->sttblrtd())) return false; return true; } void SRealTimeDataPkg::Swap(SRealTimeDataPkg* other) { if (other != this) { std::swap(sthead_, other->sthead_); stairtd_.Swap(&other->stairtd_); stpirtd_.Swap(&other->stpirtd_); stdirtd_.Swap(&other->stdirtd_); stmirtd_.Swap(&other->stmirtd_); sttblrtd_.Swap(&other->sttblrtd_); std::swap(_has_bits_[0], other->_has_bits_[0]); _unknown_fields_.Swap(&other->_unknown_fields_); std::swap(_cached_size_, other->_cached_size_); } } ::google::protobuf::Metadata SRealTimeDataPkg::GetMetadata() const { protobuf_AssignDescriptorsOnce(); ::google::protobuf::Metadata metadata; metadata.descriptor = SRealTimeDataPkg_descriptor_; metadata.reflection = SRealTimeDataPkg_reflection_; return metadata; } // @@protoc_insertion_point(namespace_scope) } // namespace iot_idl // @@protoc_insertion_point(global_scope)