2025-03-13 11:17:56 +08:00
|
|
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
2025-03-12 10:03:16 +08:00
|
|
|
// source: FesFwMessage.proto
|
|
|
|
|
|
|
|
|
|
#define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION
|
|
|
|
|
#include "FesFwMessage.pb.h"
|
|
|
|
|
|
|
|
|
|
#include <algorithm>
|
|
|
|
|
|
|
|
|
|
#include <google/protobuf/stubs/common.h>
|
|
|
|
|
#include <google/protobuf/stubs/once.h>
|
|
|
|
|
#include <google/protobuf/io/coded_stream.h>
|
|
|
|
|
#include <google/protobuf/wire_format_lite_inl.h>
|
|
|
|
|
#include <google/protobuf/descriptor.h>
|
|
|
|
|
#include <google/protobuf/generated_message_reflection.h>
|
|
|
|
|
#include <google/protobuf/reflection_ops.h>
|
|
|
|
|
#include <google/protobuf/wire_format.h>
|
|
|
|
|
// @@protoc_insertion_point(includes)
|
|
|
|
|
|
2025-03-12 14:17:53 +08:00
|
|
|
namespace iot_idl {
|
2025-03-12 10:03:16 +08:00
|
|
|
|
|
|
|
|
namespace {
|
|
|
|
|
|
|
|
|
|
const ::google::protobuf::Descriptor* SFesFwCtrlCmd_descriptor_ = NULL;
|
|
|
|
|
const ::google::protobuf::internal::GeneratedMessageReflection*
|
|
|
|
|
SFesFwCtrlCmd_reflection_ = NULL;
|
|
|
|
|
const ::google::protobuf::Descriptor* SFesFwCtrlPkg_descriptor_ = NULL;
|
|
|
|
|
const ::google::protobuf::internal::GeneratedMessageReflection*
|
|
|
|
|
SFesFwCtrlPkg_reflection_ = NULL;
|
|
|
|
|
const ::google::protobuf::Descriptor* SFesFwDefCmdPkgHead_descriptor_ = NULL;
|
|
|
|
|
const ::google::protobuf::internal::GeneratedMessageReflection*
|
|
|
|
|
SFesFwDefCmdPkgHead_reflection_ = NULL;
|
|
|
|
|
const ::google::protobuf::Descriptor* SFesFwDefCmd_descriptor_ = NULL;
|
|
|
|
|
const ::google::protobuf::internal::GeneratedMessageReflection*
|
|
|
|
|
SFesFwDefCmd_reflection_ = NULL;
|
|
|
|
|
const ::google::protobuf::Descriptor* SFesFwDefCmdPkg_descriptor_ = NULL;
|
|
|
|
|
const ::google::protobuf::internal::GeneratedMessageReflection*
|
|
|
|
|
SFesFwDefCmdPkg_reflection_ = NULL;
|
|
|
|
|
const ::google::protobuf::Descriptor* SFesFwAiValue_descriptor_ = NULL;
|
|
|
|
|
const ::google::protobuf::internal::GeneratedMessageReflection*
|
|
|
|
|
SFesFwAiValue_reflection_ = NULL;
|
|
|
|
|
const ::google::protobuf::Descriptor* SFesFwDiValue_descriptor_ = NULL;
|
|
|
|
|
const ::google::protobuf::internal::GeneratedMessageReflection*
|
|
|
|
|
SFesFwDiValue_reflection_ = NULL;
|
|
|
|
|
const ::google::protobuf::Descriptor* SFesFwAccValue_descriptor_ = NULL;
|
|
|
|
|
const ::google::protobuf::internal::GeneratedMessageReflection*
|
|
|
|
|
SFesFwAccValue_reflection_ = NULL;
|
|
|
|
|
const ::google::protobuf::Descriptor* SFesFwMiValue_descriptor_ = NULL;
|
|
|
|
|
const ::google::protobuf::internal::GeneratedMessageReflection*
|
|
|
|
|
SFesFwMiValue_reflection_ = NULL;
|
|
|
|
|
const ::google::protobuf::Descriptor* SFesWfStatus_descriptor_ = NULL;
|
|
|
|
|
const ::google::protobuf::internal::GeneratedMessageReflection*
|
|
|
|
|
SFesWfStatus_reflection_ = NULL;
|
|
|
|
|
const ::google::protobuf::Descriptor* SFesWfDoStatusPkg_descriptor_ = NULL;
|
|
|
|
|
const ::google::protobuf::internal::GeneratedMessageReflection*
|
|
|
|
|
SFesWfDoStatusPkg_reflection_ = NULL;
|
|
|
|
|
const ::google::protobuf::EnumDescriptor* enFesFwCtrlMsgType_descriptor_ = NULL;
|
|
|
|
|
const ::google::protobuf::EnumDescriptor* enFesFwDataMsgType_descriptor_ = NULL;
|
|
|
|
|
|
|
|
|
|
} // namespace
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
void protobuf_AssignDesc_FesFwMessage_2eproto() {
|
|
|
|
|
protobuf_AddDesc_FesFwMessage_2eproto();
|
|
|
|
|
const ::google::protobuf::FileDescriptor* file =
|
|
|
|
|
::google::protobuf::DescriptorPool::generated_pool()->FindFileByName(
|
|
|
|
|
"FesFwMessage.proto");
|
|
|
|
|
GOOGLE_CHECK(file != NULL);
|
|
|
|
|
SFesFwCtrlCmd_descriptor_ = file->message_type(0);
|
|
|
|
|
static const int SFesFwCtrlCmd_offsets_[13] = {
|
|
|
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesFwCtrlCmd, nfwsubsystem_),
|
|
|
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesFwCtrlCmd, nfwrtuno_),
|
|
|
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesFwCtrlCmd, nfwpointno_),
|
|
|
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesFwCtrlCmd, nsubsystem_),
|
|
|
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesFwCtrlCmd, nrtuno_),
|
|
|
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesFwCtrlCmd, npointno_),
|
|
|
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesFwCtrlCmd, nretstatus_),
|
|
|
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesFwCtrlCmd, nctrlacttype_),
|
|
|
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesFwCtrlCmd, nivalue_),
|
|
|
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesFwCtrlCmd, fvalue_),
|
|
|
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesFwCtrlCmd, ulparam1_),
|
|
|
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesFwCtrlCmd, ulparam2_),
|
|
|
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesFwCtrlCmd, fparam_),
|
|
|
|
|
};
|
|
|
|
|
SFesFwCtrlCmd_reflection_ =
|
|
|
|
|
new ::google::protobuf::internal::GeneratedMessageReflection(
|
|
|
|
|
SFesFwCtrlCmd_descriptor_,
|
|
|
|
|
SFesFwCtrlCmd::default_instance_,
|
|
|
|
|
SFesFwCtrlCmd_offsets_,
|
|
|
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesFwCtrlCmd, _has_bits_[0]),
|
|
|
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesFwCtrlCmd, _unknown_fields_),
|
|
|
|
|
-1,
|
|
|
|
|
::google::protobuf::DescriptorPool::generated_pool(),
|
|
|
|
|
::google::protobuf::MessageFactory::generated_factory(),
|
|
|
|
|
sizeof(SFesFwCtrlCmd));
|
|
|
|
|
SFesFwCtrlPkg_descriptor_ = file->message_type(1);
|
|
|
|
|
static const int SFesFwCtrlPkg_offsets_[4] = {
|
|
|
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesFwCtrlPkg, ndatanum_),
|
|
|
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesFwCtrlPkg, nrespara1_),
|
|
|
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesFwCtrlPkg, nrespara2_),
|
|
|
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesFwCtrlPkg, stctrlcmd_),
|
|
|
|
|
};
|
|
|
|
|
SFesFwCtrlPkg_reflection_ =
|
|
|
|
|
new ::google::protobuf::internal::GeneratedMessageReflection(
|
|
|
|
|
SFesFwCtrlPkg_descriptor_,
|
|
|
|
|
SFesFwCtrlPkg::default_instance_,
|
|
|
|
|
SFesFwCtrlPkg_offsets_,
|
|
|
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesFwCtrlPkg, _has_bits_[0]),
|
|
|
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesFwCtrlPkg, _unknown_fields_),
|
|
|
|
|
-1,
|
|
|
|
|
::google::protobuf::DescriptorPool::generated_pool(),
|
|
|
|
|
::google::protobuf::MessageFactory::generated_factory(),
|
|
|
|
|
sizeof(SFesFwCtrlPkg));
|
|
|
|
|
SFesFwDefCmdPkgHead_descriptor_ = file->message_type(2);
|
|
|
|
|
static const int SFesFwDefCmdPkgHead_offsets_[10] = {
|
|
|
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesFwDefCmdPkgHead, nmessageid_),
|
|
|
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesFwDefCmdPkgHead, ndatanum_),
|
|
|
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesFwDefCmdPkgHead, nfwsubsystem_),
|
|
|
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesFwDefCmdPkgHead, nfwrtuno_),
|
|
|
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesFwDefCmdPkgHead, nsubsystem_),
|
|
|
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesFwDefCmdPkgHead, nrtuno_),
|
|
|
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesFwDefCmdPkgHead, ndevid_),
|
|
|
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesFwDefCmdPkgHead, nretstatus_),
|
|
|
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesFwDefCmdPkgHead, nrespara1_),
|
|
|
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesFwDefCmdPkgHead, nrespara2_),
|
|
|
|
|
};
|
|
|
|
|
SFesFwDefCmdPkgHead_reflection_ =
|
|
|
|
|
new ::google::protobuf::internal::GeneratedMessageReflection(
|
|
|
|
|
SFesFwDefCmdPkgHead_descriptor_,
|
|
|
|
|
SFesFwDefCmdPkgHead::default_instance_,
|
|
|
|
|
SFesFwDefCmdPkgHead_offsets_,
|
|
|
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesFwDefCmdPkgHead, _has_bits_[0]),
|
|
|
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesFwDefCmdPkgHead, _unknown_fields_),
|
|
|
|
|
-1,
|
|
|
|
|
::google::protobuf::DescriptorPool::generated_pool(),
|
|
|
|
|
::google::protobuf::MessageFactory::generated_factory(),
|
|
|
|
|
sizeof(SFesFwDefCmdPkgHead));
|
|
|
|
|
SFesFwDefCmd_descriptor_ = file->message_type(3);
|
|
|
|
|
static const int SFesFwDefCmd_offsets_[2] = {
|
|
|
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesFwDefCmd, nstrname_),
|
|
|
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesFwDefCmd, nstrvalue_),
|
|
|
|
|
};
|
|
|
|
|
SFesFwDefCmd_reflection_ =
|
|
|
|
|
new ::google::protobuf::internal::GeneratedMessageReflection(
|
|
|
|
|
SFesFwDefCmd_descriptor_,
|
|
|
|
|
SFesFwDefCmd::default_instance_,
|
|
|
|
|
SFesFwDefCmd_offsets_,
|
|
|
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesFwDefCmd, _has_bits_[0]),
|
|
|
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesFwDefCmd, _unknown_fields_),
|
|
|
|
|
-1,
|
|
|
|
|
::google::protobuf::DescriptorPool::generated_pool(),
|
|
|
|
|
::google::protobuf::MessageFactory::generated_factory(),
|
|
|
|
|
sizeof(SFesFwDefCmd));
|
|
|
|
|
SFesFwDefCmdPkg_descriptor_ = file->message_type(4);
|
|
|
|
|
static const int SFesFwDefCmdPkg_offsets_[2] = {
|
|
|
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesFwDefCmdPkg, sthead_),
|
|
|
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesFwDefCmdPkg, stdefcmd_),
|
|
|
|
|
};
|
|
|
|
|
SFesFwDefCmdPkg_reflection_ =
|
|
|
|
|
new ::google::protobuf::internal::GeneratedMessageReflection(
|
|
|
|
|
SFesFwDefCmdPkg_descriptor_,
|
|
|
|
|
SFesFwDefCmdPkg::default_instance_,
|
|
|
|
|
SFesFwDefCmdPkg_offsets_,
|
|
|
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesFwDefCmdPkg, _has_bits_[0]),
|
|
|
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesFwDefCmdPkg, _unknown_fields_),
|
|
|
|
|
-1,
|
|
|
|
|
::google::protobuf::DescriptorPool::generated_pool(),
|
|
|
|
|
::google::protobuf::MessageFactory::generated_factory(),
|
|
|
|
|
sizeof(SFesFwDefCmdPkg));
|
|
|
|
|
SFesFwAiValue_descriptor_ = file->message_type(5);
|
|
|
|
|
static const int SFesFwAiValue_offsets_[4] = {
|
|
|
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesFwAiValue, npointno_),
|
|
|
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesFwAiValue, fvalue_),
|
|
|
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesFwAiValue, ustatus_),
|
|
|
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesFwAiValue, ultime_),
|
|
|
|
|
};
|
|
|
|
|
SFesFwAiValue_reflection_ =
|
|
|
|
|
new ::google::protobuf::internal::GeneratedMessageReflection(
|
|
|
|
|
SFesFwAiValue_descriptor_,
|
|
|
|
|
SFesFwAiValue::default_instance_,
|
|
|
|
|
SFesFwAiValue_offsets_,
|
|
|
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesFwAiValue, _has_bits_[0]),
|
|
|
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesFwAiValue, _unknown_fields_),
|
|
|
|
|
-1,
|
|
|
|
|
::google::protobuf::DescriptorPool::generated_pool(),
|
|
|
|
|
::google::protobuf::MessageFactory::generated_factory(),
|
|
|
|
|
sizeof(SFesFwAiValue));
|
|
|
|
|
SFesFwDiValue_descriptor_ = file->message_type(6);
|
|
|
|
|
static const int SFesFwDiValue_offsets_[4] = {
|
|
|
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesFwDiValue, npointno_),
|
|
|
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesFwDiValue, nvalue_),
|
|
|
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesFwDiValue, ustatus_),
|
|
|
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesFwDiValue, ultime_),
|
|
|
|
|
};
|
|
|
|
|
SFesFwDiValue_reflection_ =
|
|
|
|
|
new ::google::protobuf::internal::GeneratedMessageReflection(
|
|
|
|
|
SFesFwDiValue_descriptor_,
|
|
|
|
|
SFesFwDiValue::default_instance_,
|
|
|
|
|
SFesFwDiValue_offsets_,
|
|
|
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesFwDiValue, _has_bits_[0]),
|
|
|
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesFwDiValue, _unknown_fields_),
|
|
|
|
|
-1,
|
|
|
|
|
::google::protobuf::DescriptorPool::generated_pool(),
|
|
|
|
|
::google::protobuf::MessageFactory::generated_factory(),
|
|
|
|
|
sizeof(SFesFwDiValue));
|
|
|
|
|
SFesFwAccValue_descriptor_ = file->message_type(7);
|
|
|
|
|
static const int SFesFwAccValue_offsets_[4] = {
|
|
|
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesFwAccValue, npointno_),
|
2025-03-13 11:17:56 +08:00
|
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesFwAccValue, dvalue_),
|
2025-03-12 10:03:16 +08:00
|
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesFwAccValue, ustatus_),
|
|
|
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesFwAccValue, ultime_),
|
|
|
|
|
};
|
|
|
|
|
SFesFwAccValue_reflection_ =
|
|
|
|
|
new ::google::protobuf::internal::GeneratedMessageReflection(
|
|
|
|
|
SFesFwAccValue_descriptor_,
|
|
|
|
|
SFesFwAccValue::default_instance_,
|
|
|
|
|
SFesFwAccValue_offsets_,
|
|
|
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesFwAccValue, _has_bits_[0]),
|
|
|
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesFwAccValue, _unknown_fields_),
|
|
|
|
|
-1,
|
|
|
|
|
::google::protobuf::DescriptorPool::generated_pool(),
|
|
|
|
|
::google::protobuf::MessageFactory::generated_factory(),
|
|
|
|
|
sizeof(SFesFwAccValue));
|
|
|
|
|
SFesFwMiValue_descriptor_ = file->message_type(8);
|
|
|
|
|
static const int SFesFwMiValue_offsets_[4] = {
|
|
|
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesFwMiValue, npointno_),
|
|
|
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesFwMiValue, nvalue_),
|
|
|
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesFwMiValue, ustatus_),
|
|
|
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesFwMiValue, ultime_),
|
|
|
|
|
};
|
|
|
|
|
SFesFwMiValue_reflection_ =
|
|
|
|
|
new ::google::protobuf::internal::GeneratedMessageReflection(
|
|
|
|
|
SFesFwMiValue_descriptor_,
|
|
|
|
|
SFesFwMiValue::default_instance_,
|
|
|
|
|
SFesFwMiValue_offsets_,
|
|
|
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesFwMiValue, _has_bits_[0]),
|
|
|
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesFwMiValue, _unknown_fields_),
|
|
|
|
|
-1,
|
|
|
|
|
::google::protobuf::DescriptorPool::generated_pool(),
|
|
|
|
|
::google::protobuf::MessageFactory::generated_factory(),
|
|
|
|
|
sizeof(SFesFwMiValue));
|
|
|
|
|
SFesWfStatus_descriptor_ = file->message_type(9);
|
|
|
|
|
static const int SFesWfStatus_offsets_[3] = {
|
|
|
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesWfStatus, nsrcrtuno_),
|
|
|
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesWfStatus, nsrcpointno_),
|
|
|
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesWfStatus, nstatus_),
|
|
|
|
|
};
|
|
|
|
|
SFesWfStatus_reflection_ =
|
|
|
|
|
new ::google::protobuf::internal::GeneratedMessageReflection(
|
|
|
|
|
SFesWfStatus_descriptor_,
|
|
|
|
|
SFesWfStatus::default_instance_,
|
|
|
|
|
SFesWfStatus_offsets_,
|
|
|
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesWfStatus, _has_bits_[0]),
|
|
|
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesWfStatus, _unknown_fields_),
|
|
|
|
|
-1,
|
|
|
|
|
::google::protobuf::DescriptorPool::generated_pool(),
|
|
|
|
|
::google::protobuf::MessageFactory::generated_factory(),
|
|
|
|
|
sizeof(SFesWfStatus));
|
|
|
|
|
SFesWfDoStatusPkg_descriptor_ = file->message_type(10);
|
|
|
|
|
static const int SFesWfDoStatusPkg_offsets_[1] = {
|
|
|
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesWfDoStatusPkg, stdostatus_),
|
|
|
|
|
};
|
|
|
|
|
SFesWfDoStatusPkg_reflection_ =
|
|
|
|
|
new ::google::protobuf::internal::GeneratedMessageReflection(
|
|
|
|
|
SFesWfDoStatusPkg_descriptor_,
|
|
|
|
|
SFesWfDoStatusPkg::default_instance_,
|
|
|
|
|
SFesWfDoStatusPkg_offsets_,
|
|
|
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesWfDoStatusPkg, _has_bits_[0]),
|
|
|
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesWfDoStatusPkg, _unknown_fields_),
|
|
|
|
|
-1,
|
|
|
|
|
::google::protobuf::DescriptorPool::generated_pool(),
|
|
|
|
|
::google::protobuf::MessageFactory::generated_factory(),
|
|
|
|
|
sizeof(SFesWfDoStatusPkg));
|
|
|
|
|
enFesFwCtrlMsgType_descriptor_ = file->enum_type(0);
|
|
|
|
|
enFesFwDataMsgType_descriptor_ = file->enum_type(1);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
namespace {
|
|
|
|
|
|
|
|
|
|
GOOGLE_PROTOBUF_DECLARE_ONCE(protobuf_AssignDescriptors_once_);
|
|
|
|
|
inline void protobuf_AssignDescriptorsOnce() {
|
|
|
|
|
::google::protobuf::GoogleOnceInit(&protobuf_AssignDescriptors_once_,
|
|
|
|
|
&protobuf_AssignDesc_FesFwMessage_2eproto);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void protobuf_RegisterTypes(const ::std::string&) {
|
|
|
|
|
protobuf_AssignDescriptorsOnce();
|
|
|
|
|
::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
|
|
|
|
|
SFesFwCtrlCmd_descriptor_, &SFesFwCtrlCmd::default_instance());
|
|
|
|
|
::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
|
|
|
|
|
SFesFwCtrlPkg_descriptor_, &SFesFwCtrlPkg::default_instance());
|
|
|
|
|
::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
|
|
|
|
|
SFesFwDefCmdPkgHead_descriptor_, &SFesFwDefCmdPkgHead::default_instance());
|
|
|
|
|
::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
|
|
|
|
|
SFesFwDefCmd_descriptor_, &SFesFwDefCmd::default_instance());
|
|
|
|
|
::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
|
|
|
|
|
SFesFwDefCmdPkg_descriptor_, &SFesFwDefCmdPkg::default_instance());
|
|
|
|
|
::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
|
|
|
|
|
SFesFwAiValue_descriptor_, &SFesFwAiValue::default_instance());
|
|
|
|
|
::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
|
|
|
|
|
SFesFwDiValue_descriptor_, &SFesFwDiValue::default_instance());
|
|
|
|
|
::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
|
|
|
|
|
SFesFwAccValue_descriptor_, &SFesFwAccValue::default_instance());
|
|
|
|
|
::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
|
|
|
|
|
SFesFwMiValue_descriptor_, &SFesFwMiValue::default_instance());
|
|
|
|
|
::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
|
|
|
|
|
SFesWfStatus_descriptor_, &SFesWfStatus::default_instance());
|
|
|
|
|
::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
|
|
|
|
|
SFesWfDoStatusPkg_descriptor_, &SFesWfDoStatusPkg::default_instance());
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
} // namespace
|
|
|
|
|
|
|
|
|
|
void protobuf_ShutdownFile_FesFwMessage_2eproto() {
|
|
|
|
|
delete SFesFwCtrlCmd::default_instance_;
|
|
|
|
|
delete SFesFwCtrlCmd_reflection_;
|
|
|
|
|
delete SFesFwCtrlPkg::default_instance_;
|
|
|
|
|
delete SFesFwCtrlPkg_reflection_;
|
|
|
|
|
delete SFesFwDefCmdPkgHead::default_instance_;
|
|
|
|
|
delete SFesFwDefCmdPkgHead_reflection_;
|
|
|
|
|
delete SFesFwDefCmd::default_instance_;
|
|
|
|
|
delete SFesFwDefCmd_reflection_;
|
|
|
|
|
delete SFesFwDefCmdPkg::default_instance_;
|
|
|
|
|
delete SFesFwDefCmdPkg_reflection_;
|
|
|
|
|
delete SFesFwAiValue::default_instance_;
|
|
|
|
|
delete SFesFwAiValue_reflection_;
|
|
|
|
|
delete SFesFwDiValue::default_instance_;
|
|
|
|
|
delete SFesFwDiValue_reflection_;
|
|
|
|
|
delete SFesFwAccValue::default_instance_;
|
|
|
|
|
delete SFesFwAccValue_reflection_;
|
|
|
|
|
delete SFesFwMiValue::default_instance_;
|
|
|
|
|
delete SFesFwMiValue_reflection_;
|
|
|
|
|
delete SFesWfStatus::default_instance_;
|
|
|
|
|
delete SFesWfStatus_reflection_;
|
|
|
|
|
delete SFesWfDoStatusPkg::default_instance_;
|
|
|
|
|
delete SFesWfDoStatusPkg_reflection_;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void protobuf_AddDesc_FesFwMessage_2eproto() {
|
|
|
|
|
static bool already_here = false;
|
|
|
|
|
if (already_here) return;
|
|
|
|
|
already_here = true;
|
|
|
|
|
GOOGLE_PROTOBUF_VERIFY_VERSION;
|
|
|
|
|
|
|
|
|
|
::google::protobuf::DescriptorPool::InternalAddGeneratedFile(
|
2025-03-13 11:17:56 +08:00
|
|
|
"\n\022FesFwMessage.proto\022\007iot_idl\"\200\002\n\rSFesFw"
|
|
|
|
|
"CtrlCmd\022\024\n\014nFwSubSystem\030\001 \002(\005\022\020\n\010nFwRtuN"
|
|
|
|
|
"o\030\002 \002(\005\022\022\n\nnFwPointNo\030\003 \002(\005\022\022\n\nnSubSyste"
|
|
|
|
|
"m\030\004 \002(\005\022\016\n\006nRtuNo\030\005 \002(\005\022\020\n\010nPointNo\030\006 \002("
|
|
|
|
|
"\005\022\022\n\nnRetStatus\030\007 \002(\005\022\024\n\014nCtrlActType\030\010 "
|
|
|
|
|
"\002(\005\022\017\n\007niValue\030\t \002(\005\022\016\n\006fValue\030\n \002(\002\022\020\n\010"
|
|
|
|
|
"ulParam1\030\013 \002(\004\022\020\n\010ulParam2\030\014 \002(\004\022\016\n\006fPar"
|
|
|
|
|
"am\030\r \002(\002\"r\n\rSFesFwCtrlPkg\022\020\n\010nDataNum\030\001 "
|
|
|
|
|
"\002(\005\022\021\n\tnResPara1\030\002 \001(\005\022\021\n\tnResPara2\030\003 \001("
|
|
|
|
|
"\005\022)\n\tstCtrlCmd\030\004 \003(\0132\026.iot_idl.SFesFwCtr"
|
|
|
|
|
"lCmd\"\321\001\n\023SFesFwDefCmdPkgHead\022\022\n\nnMessage"
|
|
|
|
|
"ID\030\001 \002(\005\022\020\n\010nDataNum\030\002 \002(\005\022\024\n\014nFwSubSyst"
|
|
|
|
|
"em\030\003 \002(\005\022\020\n\010nFwRtuNo\030\004 \002(\005\022\022\n\nnSubSystem"
|
|
|
|
|
"\030\005 \002(\005\022\016\n\006nRtuNo\030\006 \002(\005\022\016\n\006nDevID\030\007 \002(\005\022\022"
|
|
|
|
|
"\n\nnRetStatus\030\010 \002(\005\022\021\n\tnResPara1\030\t \001(\005\022\021\n"
|
|
|
|
|
"\tnResPara2\030\n \001(\005\"3\n\014SFesFwDefCmd\022\020\n\010nstr"
|
|
|
|
|
"Name\030\001 \002(\t\022\021\n\tnStrValue\030\002 \002(\t\"h\n\017SFesFwD"
|
|
|
|
|
"efCmdPkg\022,\n\006stHead\030\001 \002(\0132\034.iot_idl.SFesF"
|
|
|
|
|
"wDefCmdPkgHead\022\'\n\010stDefCmd\030\002 \003(\0132\025.iot_i"
|
|
|
|
|
"dl.SFesFwDefCmd\"R\n\rSFesFwAiValue\022\020\n\010nPoi"
|
|
|
|
|
"ntNo\030\001 \002(\005\022\016\n\006fValue\030\002 \002(\002\022\017\n\007uStatus\030\003 "
|
|
|
|
|
"\002(\r\022\016\n\006ulTime\030\004 \002(\004\"R\n\rSFesFwDiValue\022\020\n\010"
|
|
|
|
|
"nPointNo\030\001 \002(\005\022\016\n\006nValue\030\002 \002(\005\022\017\n\007uStatu"
|
|
|
|
|
"s\030\003 \002(\r\022\016\n\006ulTime\030\004 \002(\004\"S\n\016SFesFwAccValu"
|
|
|
|
|
"e\022\020\n\010nPointNo\030\001 \002(\005\022\016\n\006dValue\030\002 \002(\001\022\017\n\007u"
|
|
|
|
|
"Status\030\003 \002(\r\022\016\n\006ulTime\030\004 \002(\004\"R\n\rSFesFwMi"
|
|
|
|
|
"Value\022\020\n\010nPointNo\030\001 \002(\005\022\016\n\006nValue\030\002 \002(\005\022"
|
|
|
|
|
"\017\n\007uStatus\030\003 \002(\r\022\016\n\006ulTime\030\004 \002(\004\"G\n\014SFes"
|
|
|
|
|
"WfStatus\022\021\n\tnSrcRtuNo\030\001 \002(\005\022\023\n\013nSrcPoint"
|
|
|
|
|
"No\030\002 \002(\005\022\017\n\007nStatus\030\003 \002(\r\">\n\021SFesWfDoSta"
|
|
|
|
|
"tusPkg\022)\n\nstDoStatus\030\001 \003(\0132\025.iot_idl.SFe"
|
|
|
|
|
"sWfStatus*\352\001\n\022enFesFwCtrlMsgType\022\023\n\017MT_F"
|
|
|
|
|
"ESFW_DO_REQ\020\001\022\024\n\020MT_FESFW_DO_RESP\020\002\022\023\n\017M"
|
|
|
|
|
"T_FESFW_AO_REQ\020\003\022\024\n\020MT_FESFW_AO_RESP\020\004\022\023"
|
|
|
|
|
"\n\017MT_FESFW_MO_REQ\020\005\022\024\n\020MT_FESFW_MO_RESP\020"
|
|
|
|
|
"\006\022\030\n\024MT_FESFW_SETTING_REQ\020\007\022\031\n\025MT_FESFW_"
|
|
|
|
|
"SETTING_RESP\020\010\022\036\n\032MT_FESWUFANG_STATUS_RE"
|
|
|
|
|
"PORT\020\t*\244\001\n\022enFesFwDataMsgType\022\035\n\031MT_FESF"
|
|
|
|
|
"W_RTU_DATA_REQUEST\020\001\022\032\n\026MT_FESFW_RTU_DI_"
|
|
|
|
|
"UPDATE\020\002\022\032\n\026MT_FESFW_RTU_AI_UPDATE\020\003\022\032\n\026"
|
|
|
|
|
"MT_FESFW_RTU_MI_UPDATE\020\004\022\033\n\027MT_FESFW_RTU"
|
|
|
|
|
"_ACC_UPDATE\020\005", 1653);
|
2025-03-12 10:03:16 +08:00
|
|
|
::google::protobuf::MessageFactory::InternalRegisterGeneratedFile(
|
|
|
|
|
"FesFwMessage.proto", &protobuf_RegisterTypes);
|
|
|
|
|
SFesFwCtrlCmd::default_instance_ = new SFesFwCtrlCmd();
|
|
|
|
|
SFesFwCtrlPkg::default_instance_ = new SFesFwCtrlPkg();
|
|
|
|
|
SFesFwDefCmdPkgHead::default_instance_ = new SFesFwDefCmdPkgHead();
|
|
|
|
|
SFesFwDefCmd::default_instance_ = new SFesFwDefCmd();
|
|
|
|
|
SFesFwDefCmdPkg::default_instance_ = new SFesFwDefCmdPkg();
|
|
|
|
|
SFesFwAiValue::default_instance_ = new SFesFwAiValue();
|
|
|
|
|
SFesFwDiValue::default_instance_ = new SFesFwDiValue();
|
|
|
|
|
SFesFwAccValue::default_instance_ = new SFesFwAccValue();
|
|
|
|
|
SFesFwMiValue::default_instance_ = new SFesFwMiValue();
|
|
|
|
|
SFesWfStatus::default_instance_ = new SFesWfStatus();
|
|
|
|
|
SFesWfDoStatusPkg::default_instance_ = new SFesWfDoStatusPkg();
|
|
|
|
|
SFesFwCtrlCmd::default_instance_->InitAsDefaultInstance();
|
|
|
|
|
SFesFwCtrlPkg::default_instance_->InitAsDefaultInstance();
|
|
|
|
|
SFesFwDefCmdPkgHead::default_instance_->InitAsDefaultInstance();
|
|
|
|
|
SFesFwDefCmd::default_instance_->InitAsDefaultInstance();
|
|
|
|
|
SFesFwDefCmdPkg::default_instance_->InitAsDefaultInstance();
|
|
|
|
|
SFesFwAiValue::default_instance_->InitAsDefaultInstance();
|
|
|
|
|
SFesFwDiValue::default_instance_->InitAsDefaultInstance();
|
|
|
|
|
SFesFwAccValue::default_instance_->InitAsDefaultInstance();
|
|
|
|
|
SFesFwMiValue::default_instance_->InitAsDefaultInstance();
|
|
|
|
|
SFesWfStatus::default_instance_->InitAsDefaultInstance();
|
|
|
|
|
SFesWfDoStatusPkg::default_instance_->InitAsDefaultInstance();
|
|
|
|
|
::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_FesFwMessage_2eproto);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// Force AddDescriptors() to be called at static initialization time.
|
|
|
|
|
struct StaticDescriptorInitializer_FesFwMessage_2eproto {
|
|
|
|
|
StaticDescriptorInitializer_FesFwMessage_2eproto() {
|
|
|
|
|
protobuf_AddDesc_FesFwMessage_2eproto();
|
|
|
|
|
}
|
|
|
|
|
} static_descriptor_initializer_FesFwMessage_2eproto_;
|
|
|
|
|
const ::google::protobuf::EnumDescriptor* enFesFwCtrlMsgType_descriptor() {
|
|
|
|
|
protobuf_AssignDescriptorsOnce();
|
|
|
|
|
return enFesFwCtrlMsgType_descriptor_;
|
|
|
|
|
}
|
|
|
|
|
bool enFesFwCtrlMsgType_IsValid(int value) {
|
|
|
|
|
switch(value) {
|
|
|
|
|
case 1:
|
|
|
|
|
case 2:
|
|
|
|
|
case 3:
|
|
|
|
|
case 4:
|
|
|
|
|
case 5:
|
|
|
|
|
case 6:
|
|
|
|
|
case 7:
|
|
|
|
|
case 8:
|
|
|
|
|
case 9:
|
|
|
|
|
return true;
|
|
|
|
|
default:
|
|
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
const ::google::protobuf::EnumDescriptor* enFesFwDataMsgType_descriptor() {
|
|
|
|
|
protobuf_AssignDescriptorsOnce();
|
|
|
|
|
return enFesFwDataMsgType_descriptor_;
|
|
|
|
|
}
|
|
|
|
|
bool enFesFwDataMsgType_IsValid(int value) {
|
|
|
|
|
switch(value) {
|
|
|
|
|
case 1:
|
|
|
|
|
case 2:
|
|
|
|
|
case 3:
|
|
|
|
|
case 4:
|
|
|
|
|
case 5:
|
|
|
|
|
return true;
|
|
|
|
|
default:
|
|
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// ===================================================================
|
|
|
|
|
|
|
|
|
|
#ifndef _MSC_VER
|
|
|
|
|
const int SFesFwCtrlCmd::kNFwSubSystemFieldNumber;
|
|
|
|
|
const int SFesFwCtrlCmd::kNFwRtuNoFieldNumber;
|
|
|
|
|
const int SFesFwCtrlCmd::kNFwPointNoFieldNumber;
|
|
|
|
|
const int SFesFwCtrlCmd::kNSubSystemFieldNumber;
|
|
|
|
|
const int SFesFwCtrlCmd::kNRtuNoFieldNumber;
|
|
|
|
|
const int SFesFwCtrlCmd::kNPointNoFieldNumber;
|
|
|
|
|
const int SFesFwCtrlCmd::kNRetStatusFieldNumber;
|
|
|
|
|
const int SFesFwCtrlCmd::kNCtrlActTypeFieldNumber;
|
|
|
|
|
const int SFesFwCtrlCmd::kNiValueFieldNumber;
|
|
|
|
|
const int SFesFwCtrlCmd::kFValueFieldNumber;
|
|
|
|
|
const int SFesFwCtrlCmd::kUlParam1FieldNumber;
|
|
|
|
|
const int SFesFwCtrlCmd::kUlParam2FieldNumber;
|
|
|
|
|
const int SFesFwCtrlCmd::kFParamFieldNumber;
|
|
|
|
|
#endif // !_MSC_VER
|
|
|
|
|
|
|
|
|
|
SFesFwCtrlCmd::SFesFwCtrlCmd()
|
|
|
|
|
: ::google::protobuf::Message() {
|
|
|
|
|
SharedCtor();
|
2025-03-12 14:17:53 +08:00
|
|
|
// @@protoc_insertion_point(constructor:iot_idl.SFesFwCtrlCmd)
|
2025-03-12 10:03:16 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void SFesFwCtrlCmd::InitAsDefaultInstance() {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
SFesFwCtrlCmd::SFesFwCtrlCmd(const SFesFwCtrlCmd& from)
|
|
|
|
|
: ::google::protobuf::Message() {
|
|
|
|
|
SharedCtor();
|
|
|
|
|
MergeFrom(from);
|
2025-03-12 14:17:53 +08:00
|
|
|
// @@protoc_insertion_point(copy_constructor:iot_idl.SFesFwCtrlCmd)
|
2025-03-12 10:03:16 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void SFesFwCtrlCmd::SharedCtor() {
|
|
|
|
|
_cached_size_ = 0;
|
|
|
|
|
nfwsubsystem_ = 0;
|
|
|
|
|
nfwrtuno_ = 0;
|
|
|
|
|
nfwpointno_ = 0;
|
|
|
|
|
nsubsystem_ = 0;
|
|
|
|
|
nrtuno_ = 0;
|
|
|
|
|
npointno_ = 0;
|
|
|
|
|
nretstatus_ = 0;
|
|
|
|
|
nctrlacttype_ = 0;
|
|
|
|
|
nivalue_ = 0;
|
|
|
|
|
fvalue_ = 0;
|
|
|
|
|
ulparam1_ = GOOGLE_ULONGLONG(0);
|
|
|
|
|
ulparam2_ = GOOGLE_ULONGLONG(0);
|
|
|
|
|
fparam_ = 0;
|
|
|
|
|
::memset(_has_bits_, 0, sizeof(_has_bits_));
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
SFesFwCtrlCmd::~SFesFwCtrlCmd() {
|
2025-03-12 14:17:53 +08:00
|
|
|
// @@protoc_insertion_point(destructor:iot_idl.SFesFwCtrlCmd)
|
2025-03-12 10:03:16 +08:00
|
|
|
SharedDtor();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void SFesFwCtrlCmd::SharedDtor() {
|
|
|
|
|
if (this != default_instance_) {
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void SFesFwCtrlCmd::SetCachedSize(int size) const {
|
|
|
|
|
GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
|
|
|
|
|
_cached_size_ = size;
|
|
|
|
|
GOOGLE_SAFE_CONCURRENT_WRITES_END();
|
|
|
|
|
}
|
|
|
|
|
const ::google::protobuf::Descriptor* SFesFwCtrlCmd::descriptor() {
|
|
|
|
|
protobuf_AssignDescriptorsOnce();
|
|
|
|
|
return SFesFwCtrlCmd_descriptor_;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
const SFesFwCtrlCmd& SFesFwCtrlCmd::default_instance() {
|
|
|
|
|
if (default_instance_ == NULL) protobuf_AddDesc_FesFwMessage_2eproto();
|
|
|
|
|
return *default_instance_;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
SFesFwCtrlCmd* SFesFwCtrlCmd::default_instance_ = NULL;
|
|
|
|
|
|
|
|
|
|
SFesFwCtrlCmd* SFesFwCtrlCmd::New() const {
|
|
|
|
|
return new SFesFwCtrlCmd;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void SFesFwCtrlCmd::Clear() {
|
|
|
|
|
#define OFFSET_OF_FIELD_(f) (reinterpret_cast<char*>( \
|
|
|
|
|
&reinterpret_cast<SFesFwCtrlCmd*>(16)->f) - \
|
|
|
|
|
reinterpret_cast<char*>(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] & 255) {
|
|
|
|
|
ZR_(nfwsubsystem_, nctrlacttype_);
|
|
|
|
|
}
|
|
|
|
|
if (_has_bits_[8 / 32] & 7936) {
|
|
|
|
|
ZR_(nivalue_, fparam_);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#undef OFFSET_OF_FIELD_
|
|
|
|
|
#undef ZR_
|
|
|
|
|
|
|
|
|
|
::memset(_has_bits_, 0, sizeof(_has_bits_));
|
|
|
|
|
mutable_unknown_fields()->Clear();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
bool SFesFwCtrlCmd::MergePartialFromCodedStream(
|
|
|
|
|
::google::protobuf::io::CodedInputStream* input) {
|
|
|
|
|
#define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
|
|
|
|
|
::google::protobuf::uint32 tag;
|
2025-03-12 14:17:53 +08:00
|
|
|
// @@protoc_insertion_point(parse_start:iot_idl.SFesFwCtrlCmd)
|
2025-03-12 10:03:16 +08:00
|
|
|
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 nFwSubSystem = 1;
|
|
|
|
|
case 1: {
|
|
|
|
|
if (tag == 8) {
|
|
|
|
|
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
|
|
|
|
|
::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
|
|
|
|
|
input, &nfwsubsystem_)));
|
|
|
|
|
set_has_nfwsubsystem();
|
|
|
|
|
} else {
|
|
|
|
|
goto handle_unusual;
|
|
|
|
|
}
|
|
|
|
|
if (input->ExpectTag(16)) goto parse_nFwRtuNo;
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// required int32 nFwRtuNo = 2;
|
|
|
|
|
case 2: {
|
|
|
|
|
if (tag == 16) {
|
|
|
|
|
parse_nFwRtuNo:
|
|
|
|
|
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
|
|
|
|
|
::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
|
|
|
|
|
input, &nfwrtuno_)));
|
|
|
|
|
set_has_nfwrtuno();
|
|
|
|
|
} else {
|
|
|
|
|
goto handle_unusual;
|
|
|
|
|
}
|
|
|
|
|
if (input->ExpectTag(24)) goto parse_nFwPointNo;
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// required int32 nFwPointNo = 3;
|
|
|
|
|
case 3: {
|
|
|
|
|
if (tag == 24) {
|
|
|
|
|
parse_nFwPointNo:
|
|
|
|
|
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
|
|
|
|
|
::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
|
|
|
|
|
input, &nfwpointno_)));
|
|
|
|
|
set_has_nfwpointno();
|
|
|
|
|
} else {
|
|
|
|
|
goto handle_unusual;
|
|
|
|
|
}
|
|
|
|
|
if (input->ExpectTag(32)) goto parse_nSubSystem;
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// required int32 nSubSystem = 4;
|
|
|
|
|
case 4: {
|
|
|
|
|
if (tag == 32) {
|
|
|
|
|
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(40)) goto parse_nRtuNo;
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// required int32 nRtuNo = 5;
|
|
|
|
|
case 5: {
|
|
|
|
|
if (tag == 40) {
|
|
|
|
|
parse_nRtuNo:
|
|
|
|
|
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
|
|
|
|
|
::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
|
|
|
|
|
input, &nrtuno_)));
|
|
|
|
|
set_has_nrtuno();
|
|
|
|
|
} else {
|
|
|
|
|
goto handle_unusual;
|
|
|
|
|
}
|
|
|
|
|
if (input->ExpectTag(48)) goto parse_nPointNo;
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// required int32 nPointNo = 6;
|
|
|
|
|
case 6: {
|
|
|
|
|
if (tag == 48) {
|
|
|
|
|
parse_nPointNo:
|
|
|
|
|
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
|
|
|
|
|
::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
|
|
|
|
|
input, &npointno_)));
|
|
|
|
|
set_has_npointno();
|
|
|
|
|
} else {
|
|
|
|
|
goto handle_unusual;
|
|
|
|
|
}
|
|
|
|
|
if (input->ExpectTag(56)) goto parse_nRetStatus;
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// required int32 nRetStatus = 7;
|
|
|
|
|
case 7: {
|
|
|
|
|
if (tag == 56) {
|
|
|
|
|
parse_nRetStatus:
|
|
|
|
|
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
|
|
|
|
|
::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
|
|
|
|
|
input, &nretstatus_)));
|
|
|
|
|
set_has_nretstatus();
|
|
|
|
|
} else {
|
|
|
|
|
goto handle_unusual;
|
|
|
|
|
}
|
|
|
|
|
if (input->ExpectTag(64)) goto parse_nCtrlActType;
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// required int32 nCtrlActType = 8;
|
|
|
|
|
case 8: {
|
|
|
|
|
if (tag == 64) {
|
|
|
|
|
parse_nCtrlActType:
|
|
|
|
|
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
|
|
|
|
|
::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
|
|
|
|
|
input, &nctrlacttype_)));
|
|
|
|
|
set_has_nctrlacttype();
|
|
|
|
|
} else {
|
|
|
|
|
goto handle_unusual;
|
|
|
|
|
}
|
|
|
|
|
if (input->ExpectTag(72)) goto parse_niValue;
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// required int32 niValue = 9;
|
|
|
|
|
case 9: {
|
|
|
|
|
if (tag == 72) {
|
|
|
|
|
parse_niValue:
|
|
|
|
|
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
|
|
|
|
|
::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
|
|
|
|
|
input, &nivalue_)));
|
|
|
|
|
set_has_nivalue();
|
|
|
|
|
} else {
|
|
|
|
|
goto handle_unusual;
|
|
|
|
|
}
|
|
|
|
|
if (input->ExpectTag(85)) goto parse_fValue;
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// required float fValue = 10;
|
|
|
|
|
case 10: {
|
|
|
|
|
if (tag == 85) {
|
|
|
|
|
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(88)) goto parse_ulParam1;
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// required uint64 ulParam1 = 11;
|
|
|
|
|
case 11: {
|
|
|
|
|
if (tag == 88) {
|
|
|
|
|
parse_ulParam1:
|
|
|
|
|
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
|
|
|
|
|
::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_UINT64>(
|
|
|
|
|
input, &ulparam1_)));
|
|
|
|
|
set_has_ulparam1();
|
|
|
|
|
} else {
|
|
|
|
|
goto handle_unusual;
|
|
|
|
|
}
|
|
|
|
|
if (input->ExpectTag(96)) goto parse_ulParam2;
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// required uint64 ulParam2 = 12;
|
|
|
|
|
case 12: {
|
|
|
|
|
if (tag == 96) {
|
|
|
|
|
parse_ulParam2:
|
|
|
|
|
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
|
|
|
|
|
::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_UINT64>(
|
|
|
|
|
input, &ulparam2_)));
|
|
|
|
|
set_has_ulparam2();
|
|
|
|
|
} else {
|
|
|
|
|
goto handle_unusual;
|
|
|
|
|
}
|
|
|
|
|
if (input->ExpectTag(109)) goto parse_fParam;
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// required float fParam = 13;
|
|
|
|
|
case 13: {
|
|
|
|
|
if (tag == 109) {
|
|
|
|
|
parse_fParam:
|
|
|
|
|
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
|
|
|
|
|
float, ::google::protobuf::internal::WireFormatLite::TYPE_FLOAT>(
|
|
|
|
|
input, &fparam_)));
|
|
|
|
|
set_has_fparam();
|
|
|
|
|
} 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:
|
2025-03-12 14:17:53 +08:00
|
|
|
// @@protoc_insertion_point(parse_success:iot_idl.SFesFwCtrlCmd)
|
2025-03-12 10:03:16 +08:00
|
|
|
return true;
|
|
|
|
|
failure:
|
2025-03-12 14:17:53 +08:00
|
|
|
// @@protoc_insertion_point(parse_failure:iot_idl.SFesFwCtrlCmd)
|
2025-03-12 10:03:16 +08:00
|
|
|
return false;
|
|
|
|
|
#undef DO_
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void SFesFwCtrlCmd::SerializeWithCachedSizes(
|
|
|
|
|
::google::protobuf::io::CodedOutputStream* output) const {
|
2025-03-12 14:17:53 +08:00
|
|
|
// @@protoc_insertion_point(serialize_start:iot_idl.SFesFwCtrlCmd)
|
2025-03-12 10:03:16 +08:00
|
|
|
// required int32 nFwSubSystem = 1;
|
|
|
|
|
if (has_nfwsubsystem()) {
|
|
|
|
|
::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->nfwsubsystem(), output);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// required int32 nFwRtuNo = 2;
|
|
|
|
|
if (has_nfwrtuno()) {
|
|
|
|
|
::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->nfwrtuno(), output);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// required int32 nFwPointNo = 3;
|
|
|
|
|
if (has_nfwpointno()) {
|
|
|
|
|
::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->nfwpointno(), output);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// required int32 nSubSystem = 4;
|
|
|
|
|
if (has_nsubsystem()) {
|
|
|
|
|
::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->nsubsystem(), output);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// required int32 nRtuNo = 5;
|
|
|
|
|
if (has_nrtuno()) {
|
|
|
|
|
::google::protobuf::internal::WireFormatLite::WriteInt32(5, this->nrtuno(), output);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// required int32 nPointNo = 6;
|
|
|
|
|
if (has_npointno()) {
|
|
|
|
|
::google::protobuf::internal::WireFormatLite::WriteInt32(6, this->npointno(), output);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// required int32 nRetStatus = 7;
|
|
|
|
|
if (has_nretstatus()) {
|
|
|
|
|
::google::protobuf::internal::WireFormatLite::WriteInt32(7, this->nretstatus(), output);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// required int32 nCtrlActType = 8;
|
|
|
|
|
if (has_nctrlacttype()) {
|
|
|
|
|
::google::protobuf::internal::WireFormatLite::WriteInt32(8, this->nctrlacttype(), output);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// required int32 niValue = 9;
|
|
|
|
|
if (has_nivalue()) {
|
|
|
|
|
::google::protobuf::internal::WireFormatLite::WriteInt32(9, this->nivalue(), output);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// required float fValue = 10;
|
|
|
|
|
if (has_fvalue()) {
|
|
|
|
|
::google::protobuf::internal::WireFormatLite::WriteFloat(10, this->fvalue(), output);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// required uint64 ulParam1 = 11;
|
|
|
|
|
if (has_ulparam1()) {
|
|
|
|
|
::google::protobuf::internal::WireFormatLite::WriteUInt64(11, this->ulparam1(), output);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// required uint64 ulParam2 = 12;
|
|
|
|
|
if (has_ulparam2()) {
|
|
|
|
|
::google::protobuf::internal::WireFormatLite::WriteUInt64(12, this->ulparam2(), output);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// required float fParam = 13;
|
|
|
|
|
if (has_fparam()) {
|
|
|
|
|
::google::protobuf::internal::WireFormatLite::WriteFloat(13, this->fparam(), output);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if (!unknown_fields().empty()) {
|
|
|
|
|
::google::protobuf::internal::WireFormat::SerializeUnknownFields(
|
|
|
|
|
unknown_fields(), output);
|
|
|
|
|
}
|
2025-03-12 14:17:53 +08:00
|
|
|
// @@protoc_insertion_point(serialize_end:iot_idl.SFesFwCtrlCmd)
|
2025-03-12 10:03:16 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
::google::protobuf::uint8* SFesFwCtrlCmd::SerializeWithCachedSizesToArray(
|
|
|
|
|
::google::protobuf::uint8* target) const {
|
2025-03-12 14:17:53 +08:00
|
|
|
// @@protoc_insertion_point(serialize_to_array_start:iot_idl.SFesFwCtrlCmd)
|
2025-03-12 10:03:16 +08:00
|
|
|
// required int32 nFwSubSystem = 1;
|
|
|
|
|
if (has_nfwsubsystem()) {
|
|
|
|
|
target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->nfwsubsystem(), target);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// required int32 nFwRtuNo = 2;
|
|
|
|
|
if (has_nfwrtuno()) {
|
|
|
|
|
target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->nfwrtuno(), target);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// required int32 nFwPointNo = 3;
|
|
|
|
|
if (has_nfwpointno()) {
|
|
|
|
|
target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->nfwpointno(), target);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// required int32 nSubSystem = 4;
|
|
|
|
|
if (has_nsubsystem()) {
|
|
|
|
|
target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->nsubsystem(), target);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// required int32 nRtuNo = 5;
|
|
|
|
|
if (has_nrtuno()) {
|
|
|
|
|
target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(5, this->nrtuno(), target);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// required int32 nPointNo = 6;
|
|
|
|
|
if (has_npointno()) {
|
|
|
|
|
target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(6, this->npointno(), target);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// required int32 nRetStatus = 7;
|
|
|
|
|
if (has_nretstatus()) {
|
|
|
|
|
target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(7, this->nretstatus(), target);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// required int32 nCtrlActType = 8;
|
|
|
|
|
if (has_nctrlacttype()) {
|
|
|
|
|
target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(8, this->nctrlacttype(), target);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// required int32 niValue = 9;
|
|
|
|
|
if (has_nivalue()) {
|
|
|
|
|
target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(9, this->nivalue(), target);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// required float fValue = 10;
|
|
|
|
|
if (has_fvalue()) {
|
|
|
|
|
target = ::google::protobuf::internal::WireFormatLite::WriteFloatToArray(10, this->fvalue(), target);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// required uint64 ulParam1 = 11;
|
|
|
|
|
if (has_ulparam1()) {
|
|
|
|
|
target = ::google::protobuf::internal::WireFormatLite::WriteUInt64ToArray(11, this->ulparam1(), target);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// required uint64 ulParam2 = 12;
|
|
|
|
|
if (has_ulparam2()) {
|
|
|
|
|
target = ::google::protobuf::internal::WireFormatLite::WriteUInt64ToArray(12, this->ulparam2(), target);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// required float fParam = 13;
|
|
|
|
|
if (has_fparam()) {
|
|
|
|
|
target = ::google::protobuf::internal::WireFormatLite::WriteFloatToArray(13, this->fparam(), target);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if (!unknown_fields().empty()) {
|
|
|
|
|
target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
|
|
|
|
|
unknown_fields(), target);
|
|
|
|
|
}
|
2025-03-12 14:17:53 +08:00
|
|
|
// @@protoc_insertion_point(serialize_to_array_end:iot_idl.SFesFwCtrlCmd)
|
2025-03-12 10:03:16 +08:00
|
|
|
return target;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
int SFesFwCtrlCmd::ByteSize() const {
|
|
|
|
|
int total_size = 0;
|
|
|
|
|
|
|
|
|
|
if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
|
|
|
|
|
// required int32 nFwSubSystem = 1;
|
|
|
|
|
if (has_nfwsubsystem()) {
|
|
|
|
|
total_size += 1 +
|
|
|
|
|
::google::protobuf::internal::WireFormatLite::Int32Size(
|
|
|
|
|
this->nfwsubsystem());
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// required int32 nFwRtuNo = 2;
|
|
|
|
|
if (has_nfwrtuno()) {
|
|
|
|
|
total_size += 1 +
|
|
|
|
|
::google::protobuf::internal::WireFormatLite::Int32Size(
|
|
|
|
|
this->nfwrtuno());
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// required int32 nFwPointNo = 3;
|
|
|
|
|
if (has_nfwpointno()) {
|
|
|
|
|
total_size += 1 +
|
|
|
|
|
::google::protobuf::internal::WireFormatLite::Int32Size(
|
|
|
|
|
this->nfwpointno());
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// required int32 nSubSystem = 4;
|
|
|
|
|
if (has_nsubsystem()) {
|
|
|
|
|
total_size += 1 +
|
|
|
|
|
::google::protobuf::internal::WireFormatLite::Int32Size(
|
|
|
|
|
this->nsubsystem());
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// required int32 nRtuNo = 5;
|
|
|
|
|
if (has_nrtuno()) {
|
|
|
|
|
total_size += 1 +
|
|
|
|
|
::google::protobuf::internal::WireFormatLite::Int32Size(
|
|
|
|
|
this->nrtuno());
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// required int32 nPointNo = 6;
|
|
|
|
|
if (has_npointno()) {
|
|
|
|
|
total_size += 1 +
|
|
|
|
|
::google::protobuf::internal::WireFormatLite::Int32Size(
|
|
|
|
|
this->npointno());
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// required int32 nRetStatus = 7;
|
|
|
|
|
if (has_nretstatus()) {
|
|
|
|
|
total_size += 1 +
|
|
|
|
|
::google::protobuf::internal::WireFormatLite::Int32Size(
|
|
|
|
|
this->nretstatus());
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// required int32 nCtrlActType = 8;
|
|
|
|
|
if (has_nctrlacttype()) {
|
|
|
|
|
total_size += 1 +
|
|
|
|
|
::google::protobuf::internal::WireFormatLite::Int32Size(
|
|
|
|
|
this->nctrlacttype());
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
if (_has_bits_[8 / 32] & (0xffu << (8 % 32))) {
|
|
|
|
|
// required int32 niValue = 9;
|
|
|
|
|
if (has_nivalue()) {
|
|
|
|
|
total_size += 1 +
|
|
|
|
|
::google::protobuf::internal::WireFormatLite::Int32Size(
|
|
|
|
|
this->nivalue());
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// required float fValue = 10;
|
|
|
|
|
if (has_fvalue()) {
|
|
|
|
|
total_size += 1 + 4;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// required uint64 ulParam1 = 11;
|
|
|
|
|
if (has_ulparam1()) {
|
|
|
|
|
total_size += 1 +
|
|
|
|
|
::google::protobuf::internal::WireFormatLite::UInt64Size(
|
|
|
|
|
this->ulparam1());
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// required uint64 ulParam2 = 12;
|
|
|
|
|
if (has_ulparam2()) {
|
|
|
|
|
total_size += 1 +
|
|
|
|
|
::google::protobuf::internal::WireFormatLite::UInt64Size(
|
|
|
|
|
this->ulparam2());
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// required float fParam = 13;
|
|
|
|
|
if (has_fparam()) {
|
|
|
|
|
total_size += 1 + 4;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
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 SFesFwCtrlCmd::MergeFrom(const ::google::protobuf::Message& from) {
|
|
|
|
|
GOOGLE_CHECK_NE(&from, this);
|
|
|
|
|
const SFesFwCtrlCmd* source =
|
|
|
|
|
::google::protobuf::internal::dynamic_cast_if_available<const SFesFwCtrlCmd*>(
|
|
|
|
|
&from);
|
|
|
|
|
if (source == NULL) {
|
|
|
|
|
::google::protobuf::internal::ReflectionOps::Merge(from, this);
|
|
|
|
|
} else {
|
|
|
|
|
MergeFrom(*source);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void SFesFwCtrlCmd::MergeFrom(const SFesFwCtrlCmd& from) {
|
|
|
|
|
GOOGLE_CHECK_NE(&from, this);
|
|
|
|
|
if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
|
|
|
|
|
if (from.has_nfwsubsystem()) {
|
|
|
|
|
set_nfwsubsystem(from.nfwsubsystem());
|
|
|
|
|
}
|
|
|
|
|
if (from.has_nfwrtuno()) {
|
|
|
|
|
set_nfwrtuno(from.nfwrtuno());
|
|
|
|
|
}
|
|
|
|
|
if (from.has_nfwpointno()) {
|
|
|
|
|
set_nfwpointno(from.nfwpointno());
|
|
|
|
|
}
|
|
|
|
|
if (from.has_nsubsystem()) {
|
|
|
|
|
set_nsubsystem(from.nsubsystem());
|
|
|
|
|
}
|
|
|
|
|
if (from.has_nrtuno()) {
|
|
|
|
|
set_nrtuno(from.nrtuno());
|
|
|
|
|
}
|
|
|
|
|
if (from.has_npointno()) {
|
|
|
|
|
set_npointno(from.npointno());
|
|
|
|
|
}
|
|
|
|
|
if (from.has_nretstatus()) {
|
|
|
|
|
set_nretstatus(from.nretstatus());
|
|
|
|
|
}
|
|
|
|
|
if (from.has_nctrlacttype()) {
|
|
|
|
|
set_nctrlacttype(from.nctrlacttype());
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
if (from._has_bits_[8 / 32] & (0xffu << (8 % 32))) {
|
|
|
|
|
if (from.has_nivalue()) {
|
|
|
|
|
set_nivalue(from.nivalue());
|
|
|
|
|
}
|
|
|
|
|
if (from.has_fvalue()) {
|
|
|
|
|
set_fvalue(from.fvalue());
|
|
|
|
|
}
|
|
|
|
|
if (from.has_ulparam1()) {
|
|
|
|
|
set_ulparam1(from.ulparam1());
|
|
|
|
|
}
|
|
|
|
|
if (from.has_ulparam2()) {
|
|
|
|
|
set_ulparam2(from.ulparam2());
|
|
|
|
|
}
|
|
|
|
|
if (from.has_fparam()) {
|
|
|
|
|
set_fparam(from.fparam());
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
mutable_unknown_fields()->MergeFrom(from.unknown_fields());
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void SFesFwCtrlCmd::CopyFrom(const ::google::protobuf::Message& from) {
|
|
|
|
|
if (&from == this) return;
|
|
|
|
|
Clear();
|
|
|
|
|
MergeFrom(from);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void SFesFwCtrlCmd::CopyFrom(const SFesFwCtrlCmd& from) {
|
|
|
|
|
if (&from == this) return;
|
|
|
|
|
Clear();
|
|
|
|
|
MergeFrom(from);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
bool SFesFwCtrlCmd::IsInitialized() const {
|
|
|
|
|
if ((_has_bits_[0] & 0x00001fff) != 0x00001fff) return false;
|
|
|
|
|
|
|
|
|
|
return true;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void SFesFwCtrlCmd::Swap(SFesFwCtrlCmd* other) {
|
|
|
|
|
if (other != this) {
|
|
|
|
|
std::swap(nfwsubsystem_, other->nfwsubsystem_);
|
|
|
|
|
std::swap(nfwrtuno_, other->nfwrtuno_);
|
|
|
|
|
std::swap(nfwpointno_, other->nfwpointno_);
|
|
|
|
|
std::swap(nsubsystem_, other->nsubsystem_);
|
|
|
|
|
std::swap(nrtuno_, other->nrtuno_);
|
|
|
|
|
std::swap(npointno_, other->npointno_);
|
|
|
|
|
std::swap(nretstatus_, other->nretstatus_);
|
|
|
|
|
std::swap(nctrlacttype_, other->nctrlacttype_);
|
|
|
|
|
std::swap(nivalue_, other->nivalue_);
|
|
|
|
|
std::swap(fvalue_, other->fvalue_);
|
|
|
|
|
std::swap(ulparam1_, other->ulparam1_);
|
|
|
|
|
std::swap(ulparam2_, other->ulparam2_);
|
|
|
|
|
std::swap(fparam_, other->fparam_);
|
|
|
|
|
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 SFesFwCtrlCmd::GetMetadata() const {
|
|
|
|
|
protobuf_AssignDescriptorsOnce();
|
|
|
|
|
::google::protobuf::Metadata metadata;
|
|
|
|
|
metadata.descriptor = SFesFwCtrlCmd_descriptor_;
|
|
|
|
|
metadata.reflection = SFesFwCtrlCmd_reflection_;
|
|
|
|
|
return metadata;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// ===================================================================
|
|
|
|
|
|
|
|
|
|
#ifndef _MSC_VER
|
|
|
|
|
const int SFesFwCtrlPkg::kNDataNumFieldNumber;
|
|
|
|
|
const int SFesFwCtrlPkg::kNResPara1FieldNumber;
|
|
|
|
|
const int SFesFwCtrlPkg::kNResPara2FieldNumber;
|
|
|
|
|
const int SFesFwCtrlPkg::kStCtrlCmdFieldNumber;
|
|
|
|
|
#endif // !_MSC_VER
|
|
|
|
|
|
|
|
|
|
SFesFwCtrlPkg::SFesFwCtrlPkg()
|
|
|
|
|
: ::google::protobuf::Message() {
|
|
|
|
|
SharedCtor();
|
2025-03-12 14:17:53 +08:00
|
|
|
// @@protoc_insertion_point(constructor:iot_idl.SFesFwCtrlPkg)
|
2025-03-12 10:03:16 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void SFesFwCtrlPkg::InitAsDefaultInstance() {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
SFesFwCtrlPkg::SFesFwCtrlPkg(const SFesFwCtrlPkg& from)
|
|
|
|
|
: ::google::protobuf::Message() {
|
|
|
|
|
SharedCtor();
|
|
|
|
|
MergeFrom(from);
|
2025-03-12 14:17:53 +08:00
|
|
|
// @@protoc_insertion_point(copy_constructor:iot_idl.SFesFwCtrlPkg)
|
2025-03-12 10:03:16 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void SFesFwCtrlPkg::SharedCtor() {
|
|
|
|
|
_cached_size_ = 0;
|
|
|
|
|
ndatanum_ = 0;
|
|
|
|
|
nrespara1_ = 0;
|
|
|
|
|
nrespara2_ = 0;
|
|
|
|
|
::memset(_has_bits_, 0, sizeof(_has_bits_));
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
SFesFwCtrlPkg::~SFesFwCtrlPkg() {
|
2025-03-12 14:17:53 +08:00
|
|
|
// @@protoc_insertion_point(destructor:iot_idl.SFesFwCtrlPkg)
|
2025-03-12 10:03:16 +08:00
|
|
|
SharedDtor();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void SFesFwCtrlPkg::SharedDtor() {
|
|
|
|
|
if (this != default_instance_) {
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void SFesFwCtrlPkg::SetCachedSize(int size) const {
|
|
|
|
|
GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
|
|
|
|
|
_cached_size_ = size;
|
|
|
|
|
GOOGLE_SAFE_CONCURRENT_WRITES_END();
|
|
|
|
|
}
|
|
|
|
|
const ::google::protobuf::Descriptor* SFesFwCtrlPkg::descriptor() {
|
|
|
|
|
protobuf_AssignDescriptorsOnce();
|
|
|
|
|
return SFesFwCtrlPkg_descriptor_;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
const SFesFwCtrlPkg& SFesFwCtrlPkg::default_instance() {
|
|
|
|
|
if (default_instance_ == NULL) protobuf_AddDesc_FesFwMessage_2eproto();
|
|
|
|
|
return *default_instance_;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
SFesFwCtrlPkg* SFesFwCtrlPkg::default_instance_ = NULL;
|
|
|
|
|
|
|
|
|
|
SFesFwCtrlPkg* SFesFwCtrlPkg::New() const {
|
|
|
|
|
return new SFesFwCtrlPkg;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void SFesFwCtrlPkg::Clear() {
|
|
|
|
|
#define OFFSET_OF_FIELD_(f) (reinterpret_cast<char*>( \
|
|
|
|
|
&reinterpret_cast<SFesFwCtrlPkg*>(16)->f) - \
|
|
|
|
|
reinterpret_cast<char*>(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] & 7) {
|
|
|
|
|
ZR_(ndatanum_, nrespara1_);
|
|
|
|
|
nrespara2_ = 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#undef OFFSET_OF_FIELD_
|
|
|
|
|
#undef ZR_
|
|
|
|
|
|
|
|
|
|
stctrlcmd_.Clear();
|
|
|
|
|
::memset(_has_bits_, 0, sizeof(_has_bits_));
|
|
|
|
|
mutable_unknown_fields()->Clear();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
bool SFesFwCtrlPkg::MergePartialFromCodedStream(
|
|
|
|
|
::google::protobuf::io::CodedInputStream* input) {
|
|
|
|
|
#define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
|
|
|
|
|
::google::protobuf::uint32 tag;
|
2025-03-12 14:17:53 +08:00
|
|
|
// @@protoc_insertion_point(parse_start:iot_idl.SFesFwCtrlPkg)
|
2025-03-12 10:03:16 +08:00
|
|
|
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 nDataNum = 1;
|
|
|
|
|
case 1: {
|
|
|
|
|
if (tag == 8) {
|
|
|
|
|
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
|
|
|
|
|
::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
|
|
|
|
|
input, &ndatanum_)));
|
|
|
|
|
set_has_ndatanum();
|
|
|
|
|
} else {
|
|
|
|
|
goto handle_unusual;
|
|
|
|
|
}
|
|
|
|
|
if (input->ExpectTag(16)) goto parse_nResPara1;
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// optional int32 nResPara1 = 2;
|
|
|
|
|
case 2: {
|
|
|
|
|
if (tag == 16) {
|
|
|
|
|
parse_nResPara1:
|
|
|
|
|
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
|
|
|
|
|
::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
|
|
|
|
|
input, &nrespara1_)));
|
|
|
|
|
set_has_nrespara1();
|
|
|
|
|
} else {
|
|
|
|
|
goto handle_unusual;
|
|
|
|
|
}
|
|
|
|
|
if (input->ExpectTag(24)) goto parse_nResPara2;
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// optional int32 nResPara2 = 3;
|
|
|
|
|
case 3: {
|
|
|
|
|
if (tag == 24) {
|
|
|
|
|
parse_nResPara2:
|
|
|
|
|
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
|
|
|
|
|
::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
|
|
|
|
|
input, &nrespara2_)));
|
|
|
|
|
set_has_nrespara2();
|
|
|
|
|
} else {
|
|
|
|
|
goto handle_unusual;
|
|
|
|
|
}
|
|
|
|
|
if (input->ExpectTag(34)) goto parse_stCtrlCmd;
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
|
2025-03-12 14:17:53 +08:00
|
|
|
// repeated .iot_idl.SFesFwCtrlCmd stCtrlCmd = 4;
|
2025-03-12 10:03:16 +08:00
|
|
|
case 4: {
|
|
|
|
|
if (tag == 34) {
|
|
|
|
|
parse_stCtrlCmd:
|
|
|
|
|
DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
|
|
|
|
|
input, add_stctrlcmd()));
|
|
|
|
|
} else {
|
|
|
|
|
goto handle_unusual;
|
|
|
|
|
}
|
|
|
|
|
if (input->ExpectTag(34)) goto parse_stCtrlCmd;
|
|
|
|
|
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:
|
2025-03-12 14:17:53 +08:00
|
|
|
// @@protoc_insertion_point(parse_success:iot_idl.SFesFwCtrlPkg)
|
2025-03-12 10:03:16 +08:00
|
|
|
return true;
|
|
|
|
|
failure:
|
2025-03-12 14:17:53 +08:00
|
|
|
// @@protoc_insertion_point(parse_failure:iot_idl.SFesFwCtrlPkg)
|
2025-03-12 10:03:16 +08:00
|
|
|
return false;
|
|
|
|
|
#undef DO_
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void SFesFwCtrlPkg::SerializeWithCachedSizes(
|
|
|
|
|
::google::protobuf::io::CodedOutputStream* output) const {
|
2025-03-12 14:17:53 +08:00
|
|
|
// @@protoc_insertion_point(serialize_start:iot_idl.SFesFwCtrlPkg)
|
2025-03-12 10:03:16 +08:00
|
|
|
// required int32 nDataNum = 1;
|
|
|
|
|
if (has_ndatanum()) {
|
|
|
|
|
::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->ndatanum(), output);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// optional int32 nResPara1 = 2;
|
|
|
|
|
if (has_nrespara1()) {
|
|
|
|
|
::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->nrespara1(), output);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// optional int32 nResPara2 = 3;
|
|
|
|
|
if (has_nrespara2()) {
|
|
|
|
|
::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->nrespara2(), output);
|
|
|
|
|
}
|
|
|
|
|
|
2025-03-12 14:17:53 +08:00
|
|
|
// repeated .iot_idl.SFesFwCtrlCmd stCtrlCmd = 4;
|
2025-03-12 10:03:16 +08:00
|
|
|
for (int i = 0; i < this->stctrlcmd_size(); i++) {
|
|
|
|
|
::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
|
|
|
|
|
4, this->stctrlcmd(i), output);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if (!unknown_fields().empty()) {
|
|
|
|
|
::google::protobuf::internal::WireFormat::SerializeUnknownFields(
|
|
|
|
|
unknown_fields(), output);
|
|
|
|
|
}
|
2025-03-12 14:17:53 +08:00
|
|
|
// @@protoc_insertion_point(serialize_end:iot_idl.SFesFwCtrlPkg)
|
2025-03-12 10:03:16 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
::google::protobuf::uint8* SFesFwCtrlPkg::SerializeWithCachedSizesToArray(
|
|
|
|
|
::google::protobuf::uint8* target) const {
|
2025-03-12 14:17:53 +08:00
|
|
|
// @@protoc_insertion_point(serialize_to_array_start:iot_idl.SFesFwCtrlPkg)
|
2025-03-12 10:03:16 +08:00
|
|
|
// required int32 nDataNum = 1;
|
|
|
|
|
if (has_ndatanum()) {
|
|
|
|
|
target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->ndatanum(), target);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// optional int32 nResPara1 = 2;
|
|
|
|
|
if (has_nrespara1()) {
|
|
|
|
|
target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->nrespara1(), target);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// optional int32 nResPara2 = 3;
|
|
|
|
|
if (has_nrespara2()) {
|
|
|
|
|
target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->nrespara2(), target);
|
|
|
|
|
}
|
|
|
|
|
|
2025-03-12 14:17:53 +08:00
|
|
|
// repeated .iot_idl.SFesFwCtrlCmd stCtrlCmd = 4;
|
2025-03-12 10:03:16 +08:00
|
|
|
for (int i = 0; i < this->stctrlcmd_size(); i++) {
|
|
|
|
|
target = ::google::protobuf::internal::WireFormatLite::
|
|
|
|
|
WriteMessageNoVirtualToArray(
|
|
|
|
|
4, this->stctrlcmd(i), target);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if (!unknown_fields().empty()) {
|
|
|
|
|
target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
|
|
|
|
|
unknown_fields(), target);
|
|
|
|
|
}
|
2025-03-12 14:17:53 +08:00
|
|
|
// @@protoc_insertion_point(serialize_to_array_end:iot_idl.SFesFwCtrlPkg)
|
2025-03-12 10:03:16 +08:00
|
|
|
return target;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
int SFesFwCtrlPkg::ByteSize() const {
|
|
|
|
|
int total_size = 0;
|
|
|
|
|
|
|
|
|
|
if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
|
|
|
|
|
// required int32 nDataNum = 1;
|
|
|
|
|
if (has_ndatanum()) {
|
|
|
|
|
total_size += 1 +
|
|
|
|
|
::google::protobuf::internal::WireFormatLite::Int32Size(
|
|
|
|
|
this->ndatanum());
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// optional int32 nResPara1 = 2;
|
|
|
|
|
if (has_nrespara1()) {
|
|
|
|
|
total_size += 1 +
|
|
|
|
|
::google::protobuf::internal::WireFormatLite::Int32Size(
|
|
|
|
|
this->nrespara1());
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// optional int32 nResPara2 = 3;
|
|
|
|
|
if (has_nrespara2()) {
|
|
|
|
|
total_size += 1 +
|
|
|
|
|
::google::protobuf::internal::WireFormatLite::Int32Size(
|
|
|
|
|
this->nrespara2());
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
2025-03-12 14:17:53 +08:00
|
|
|
// repeated .iot_idl.SFesFwCtrlCmd stCtrlCmd = 4;
|
2025-03-12 10:03:16 +08:00
|
|
|
total_size += 1 * this->stctrlcmd_size();
|
|
|
|
|
for (int i = 0; i < this->stctrlcmd_size(); i++) {
|
|
|
|
|
total_size +=
|
|
|
|
|
::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
|
|
|
|
|
this->stctrlcmd(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 SFesFwCtrlPkg::MergeFrom(const ::google::protobuf::Message& from) {
|
|
|
|
|
GOOGLE_CHECK_NE(&from, this);
|
|
|
|
|
const SFesFwCtrlPkg* source =
|
|
|
|
|
::google::protobuf::internal::dynamic_cast_if_available<const SFesFwCtrlPkg*>(
|
|
|
|
|
&from);
|
|
|
|
|
if (source == NULL) {
|
|
|
|
|
::google::protobuf::internal::ReflectionOps::Merge(from, this);
|
|
|
|
|
} else {
|
|
|
|
|
MergeFrom(*source);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void SFesFwCtrlPkg::MergeFrom(const SFesFwCtrlPkg& from) {
|
|
|
|
|
GOOGLE_CHECK_NE(&from, this);
|
|
|
|
|
stctrlcmd_.MergeFrom(from.stctrlcmd_);
|
|
|
|
|
if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
|
|
|
|
|
if (from.has_ndatanum()) {
|
|
|
|
|
set_ndatanum(from.ndatanum());
|
|
|
|
|
}
|
|
|
|
|
if (from.has_nrespara1()) {
|
|
|
|
|
set_nrespara1(from.nrespara1());
|
|
|
|
|
}
|
|
|
|
|
if (from.has_nrespara2()) {
|
|
|
|
|
set_nrespara2(from.nrespara2());
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
mutable_unknown_fields()->MergeFrom(from.unknown_fields());
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void SFesFwCtrlPkg::CopyFrom(const ::google::protobuf::Message& from) {
|
|
|
|
|
if (&from == this) return;
|
|
|
|
|
Clear();
|
|
|
|
|
MergeFrom(from);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void SFesFwCtrlPkg::CopyFrom(const SFesFwCtrlPkg& from) {
|
|
|
|
|
if (&from == this) return;
|
|
|
|
|
Clear();
|
|
|
|
|
MergeFrom(from);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
bool SFesFwCtrlPkg::IsInitialized() const {
|
|
|
|
|
if ((_has_bits_[0] & 0x00000001) != 0x00000001) return false;
|
|
|
|
|
|
|
|
|
|
if (!::google::protobuf::internal::AllAreInitialized(this->stctrlcmd())) return false;
|
|
|
|
|
return true;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void SFesFwCtrlPkg::Swap(SFesFwCtrlPkg* other) {
|
|
|
|
|
if (other != this) {
|
|
|
|
|
std::swap(ndatanum_, other->ndatanum_);
|
|
|
|
|
std::swap(nrespara1_, other->nrespara1_);
|
|
|
|
|
std::swap(nrespara2_, other->nrespara2_);
|
|
|
|
|
stctrlcmd_.Swap(&other->stctrlcmd_);
|
|
|
|
|
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 SFesFwCtrlPkg::GetMetadata() const {
|
|
|
|
|
protobuf_AssignDescriptorsOnce();
|
|
|
|
|
::google::protobuf::Metadata metadata;
|
|
|
|
|
metadata.descriptor = SFesFwCtrlPkg_descriptor_;
|
|
|
|
|
metadata.reflection = SFesFwCtrlPkg_reflection_;
|
|
|
|
|
return metadata;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// ===================================================================
|
|
|
|
|
|
|
|
|
|
#ifndef _MSC_VER
|
|
|
|
|
const int SFesFwDefCmdPkgHead::kNMessageIDFieldNumber;
|
|
|
|
|
const int SFesFwDefCmdPkgHead::kNDataNumFieldNumber;
|
|
|
|
|
const int SFesFwDefCmdPkgHead::kNFwSubSystemFieldNumber;
|
|
|
|
|
const int SFesFwDefCmdPkgHead::kNFwRtuNoFieldNumber;
|
|
|
|
|
const int SFesFwDefCmdPkgHead::kNSubSystemFieldNumber;
|
|
|
|
|
const int SFesFwDefCmdPkgHead::kNRtuNoFieldNumber;
|
|
|
|
|
const int SFesFwDefCmdPkgHead::kNDevIDFieldNumber;
|
|
|
|
|
const int SFesFwDefCmdPkgHead::kNRetStatusFieldNumber;
|
|
|
|
|
const int SFesFwDefCmdPkgHead::kNResPara1FieldNumber;
|
|
|
|
|
const int SFesFwDefCmdPkgHead::kNResPara2FieldNumber;
|
|
|
|
|
#endif // !_MSC_VER
|
|
|
|
|
|
|
|
|
|
SFesFwDefCmdPkgHead::SFesFwDefCmdPkgHead()
|
|
|
|
|
: ::google::protobuf::Message() {
|
|
|
|
|
SharedCtor();
|
2025-03-12 14:17:53 +08:00
|
|
|
// @@protoc_insertion_point(constructor:iot_idl.SFesFwDefCmdPkgHead)
|
2025-03-12 10:03:16 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void SFesFwDefCmdPkgHead::InitAsDefaultInstance() {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
SFesFwDefCmdPkgHead::SFesFwDefCmdPkgHead(const SFesFwDefCmdPkgHead& from)
|
|
|
|
|
: ::google::protobuf::Message() {
|
|
|
|
|
SharedCtor();
|
|
|
|
|
MergeFrom(from);
|
2025-03-12 14:17:53 +08:00
|
|
|
// @@protoc_insertion_point(copy_constructor:iot_idl.SFesFwDefCmdPkgHead)
|
2025-03-12 10:03:16 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void SFesFwDefCmdPkgHead::SharedCtor() {
|
|
|
|
|
_cached_size_ = 0;
|
|
|
|
|
nmessageid_ = 0;
|
|
|
|
|
ndatanum_ = 0;
|
|
|
|
|
nfwsubsystem_ = 0;
|
|
|
|
|
nfwrtuno_ = 0;
|
|
|
|
|
nsubsystem_ = 0;
|
|
|
|
|
nrtuno_ = 0;
|
|
|
|
|
ndevid_ = 0;
|
|
|
|
|
nretstatus_ = 0;
|
|
|
|
|
nrespara1_ = 0;
|
|
|
|
|
nrespara2_ = 0;
|
|
|
|
|
::memset(_has_bits_, 0, sizeof(_has_bits_));
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
SFesFwDefCmdPkgHead::~SFesFwDefCmdPkgHead() {
|
2025-03-12 14:17:53 +08:00
|
|
|
// @@protoc_insertion_point(destructor:iot_idl.SFesFwDefCmdPkgHead)
|
2025-03-12 10:03:16 +08:00
|
|
|
SharedDtor();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void SFesFwDefCmdPkgHead::SharedDtor() {
|
|
|
|
|
if (this != default_instance_) {
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void SFesFwDefCmdPkgHead::SetCachedSize(int size) const {
|
|
|
|
|
GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
|
|
|
|
|
_cached_size_ = size;
|
|
|
|
|
GOOGLE_SAFE_CONCURRENT_WRITES_END();
|
|
|
|
|
}
|
|
|
|
|
const ::google::protobuf::Descriptor* SFesFwDefCmdPkgHead::descriptor() {
|
|
|
|
|
protobuf_AssignDescriptorsOnce();
|
|
|
|
|
return SFesFwDefCmdPkgHead_descriptor_;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
const SFesFwDefCmdPkgHead& SFesFwDefCmdPkgHead::default_instance() {
|
|
|
|
|
if (default_instance_ == NULL) protobuf_AddDesc_FesFwMessage_2eproto();
|
|
|
|
|
return *default_instance_;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
SFesFwDefCmdPkgHead* SFesFwDefCmdPkgHead::default_instance_ = NULL;
|
|
|
|
|
|
|
|
|
|
SFesFwDefCmdPkgHead* SFesFwDefCmdPkgHead::New() const {
|
|
|
|
|
return new SFesFwDefCmdPkgHead;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void SFesFwDefCmdPkgHead::Clear() {
|
|
|
|
|
#define OFFSET_OF_FIELD_(f) (reinterpret_cast<char*>( \
|
|
|
|
|
&reinterpret_cast<SFesFwDefCmdPkgHead*>(16)->f) - \
|
|
|
|
|
reinterpret_cast<char*>(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] & 255) {
|
|
|
|
|
ZR_(nmessageid_, nretstatus_);
|
|
|
|
|
}
|
|
|
|
|
ZR_(nrespara1_, nrespara2_);
|
|
|
|
|
|
|
|
|
|
#undef OFFSET_OF_FIELD_
|
|
|
|
|
#undef ZR_
|
|
|
|
|
|
|
|
|
|
::memset(_has_bits_, 0, sizeof(_has_bits_));
|
|
|
|
|
mutable_unknown_fields()->Clear();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
bool SFesFwDefCmdPkgHead::MergePartialFromCodedStream(
|
|
|
|
|
::google::protobuf::io::CodedInputStream* input) {
|
|
|
|
|
#define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
|
|
|
|
|
::google::protobuf::uint32 tag;
|
2025-03-12 14:17:53 +08:00
|
|
|
// @@protoc_insertion_point(parse_start:iot_idl.SFesFwDefCmdPkgHead)
|
2025-03-12 10:03:16 +08:00
|
|
|
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 nMessageID = 1;
|
|
|
|
|
case 1: {
|
|
|
|
|
if (tag == 8) {
|
|
|
|
|
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
|
|
|
|
|
::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
|
|
|
|
|
input, &nmessageid_)));
|
|
|
|
|
set_has_nmessageid();
|
|
|
|
|
} else {
|
|
|
|
|
goto handle_unusual;
|
|
|
|
|
}
|
|
|
|
|
if (input->ExpectTag(16)) goto parse_nDataNum;
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// required int32 nDataNum = 2;
|
|
|
|
|
case 2: {
|
|
|
|
|
if (tag == 16) {
|
|
|
|
|
parse_nDataNum:
|
|
|
|
|
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
|
|
|
|
|
::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
|
|
|
|
|
input, &ndatanum_)));
|
|
|
|
|
set_has_ndatanum();
|
|
|
|
|
} else {
|
|
|
|
|
goto handle_unusual;
|
|
|
|
|
}
|
|
|
|
|
if (input->ExpectTag(24)) goto parse_nFwSubSystem;
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// required int32 nFwSubSystem = 3;
|
|
|
|
|
case 3: {
|
|
|
|
|
if (tag == 24) {
|
|
|
|
|
parse_nFwSubSystem:
|
|
|
|
|
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
|
|
|
|
|
::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
|
|
|
|
|
input, &nfwsubsystem_)));
|
|
|
|
|
set_has_nfwsubsystem();
|
|
|
|
|
} else {
|
|
|
|
|
goto handle_unusual;
|
|
|
|
|
}
|
|
|
|
|
if (input->ExpectTag(32)) goto parse_nFwRtuNo;
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// required int32 nFwRtuNo = 4;
|
|
|
|
|
case 4: {
|
|
|
|
|
if (tag == 32) {
|
|
|
|
|
parse_nFwRtuNo:
|
|
|
|
|
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
|
|
|
|
|
::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
|
|
|
|
|
input, &nfwrtuno_)));
|
|
|
|
|
set_has_nfwrtuno();
|
|
|
|
|
} else {
|
|
|
|
|
goto handle_unusual;
|
|
|
|
|
}
|
|
|
|
|
if (input->ExpectTag(40)) goto parse_nSubSystem;
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// required 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(48)) goto parse_nRtuNo;
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// required int32 nRtuNo = 6;
|
|
|
|
|
case 6: {
|
|
|
|
|
if (tag == 48) {
|
|
|
|
|
parse_nRtuNo:
|
|
|
|
|
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
|
|
|
|
|
::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
|
|
|
|
|
input, &nrtuno_)));
|
|
|
|
|
set_has_nrtuno();
|
|
|
|
|
} else {
|
|
|
|
|
goto handle_unusual;
|
|
|
|
|
}
|
|
|
|
|
if (input->ExpectTag(56)) goto parse_nDevID;
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// required int32 nDevID = 7;
|
|
|
|
|
case 7: {
|
|
|
|
|
if (tag == 56) {
|
|
|
|
|
parse_nDevID:
|
|
|
|
|
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
|
|
|
|
|
::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
|
|
|
|
|
input, &ndevid_)));
|
|
|
|
|
set_has_ndevid();
|
|
|
|
|
} else {
|
|
|
|
|
goto handle_unusual;
|
|
|
|
|
}
|
|
|
|
|
if (input->ExpectTag(64)) goto parse_nRetStatus;
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// required int32 nRetStatus = 8;
|
|
|
|
|
case 8: {
|
|
|
|
|
if (tag == 64) {
|
|
|
|
|
parse_nRetStatus:
|
|
|
|
|
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
|
|
|
|
|
::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
|
|
|
|
|
input, &nretstatus_)));
|
|
|
|
|
set_has_nretstatus();
|
|
|
|
|
} else {
|
|
|
|
|
goto handle_unusual;
|
|
|
|
|
}
|
|
|
|
|
if (input->ExpectTag(72)) goto parse_nResPara1;
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// optional int32 nResPara1 = 9;
|
|
|
|
|
case 9: {
|
|
|
|
|
if (tag == 72) {
|
|
|
|
|
parse_nResPara1:
|
|
|
|
|
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
|
|
|
|
|
::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
|
|
|
|
|
input, &nrespara1_)));
|
|
|
|
|
set_has_nrespara1();
|
|
|
|
|
} else {
|
|
|
|
|
goto handle_unusual;
|
|
|
|
|
}
|
|
|
|
|
if (input->ExpectTag(80)) goto parse_nResPara2;
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// optional int32 nResPara2 = 10;
|
|
|
|
|
case 10: {
|
|
|
|
|
if (tag == 80) {
|
|
|
|
|
parse_nResPara2:
|
|
|
|
|
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
|
|
|
|
|
::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
|
|
|
|
|
input, &nrespara2_)));
|
|
|
|
|
set_has_nrespara2();
|
|
|
|
|
} 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:
|
2025-03-12 14:17:53 +08:00
|
|
|
// @@protoc_insertion_point(parse_success:iot_idl.SFesFwDefCmdPkgHead)
|
2025-03-12 10:03:16 +08:00
|
|
|
return true;
|
|
|
|
|
failure:
|
2025-03-12 14:17:53 +08:00
|
|
|
// @@protoc_insertion_point(parse_failure:iot_idl.SFesFwDefCmdPkgHead)
|
2025-03-12 10:03:16 +08:00
|
|
|
return false;
|
|
|
|
|
#undef DO_
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void SFesFwDefCmdPkgHead::SerializeWithCachedSizes(
|
|
|
|
|
::google::protobuf::io::CodedOutputStream* output) const {
|
2025-03-12 14:17:53 +08:00
|
|
|
// @@protoc_insertion_point(serialize_start:iot_idl.SFesFwDefCmdPkgHead)
|
2025-03-12 10:03:16 +08:00
|
|
|
// required int32 nMessageID = 1;
|
|
|
|
|
if (has_nmessageid()) {
|
|
|
|
|
::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->nmessageid(), output);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// required int32 nDataNum = 2;
|
|
|
|
|
if (has_ndatanum()) {
|
|
|
|
|
::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->ndatanum(), output);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// required int32 nFwSubSystem = 3;
|
|
|
|
|
if (has_nfwsubsystem()) {
|
|
|
|
|
::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->nfwsubsystem(), output);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// required int32 nFwRtuNo = 4;
|
|
|
|
|
if (has_nfwrtuno()) {
|
|
|
|
|
::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->nfwrtuno(), output);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// required int32 nSubSystem = 5;
|
|
|
|
|
if (has_nsubsystem()) {
|
|
|
|
|
::google::protobuf::internal::WireFormatLite::WriteInt32(5, this->nsubsystem(), output);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// required int32 nRtuNo = 6;
|
|
|
|
|
if (has_nrtuno()) {
|
|
|
|
|
::google::protobuf::internal::WireFormatLite::WriteInt32(6, this->nrtuno(), output);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// required int32 nDevID = 7;
|
|
|
|
|
if (has_ndevid()) {
|
|
|
|
|
::google::protobuf::internal::WireFormatLite::WriteInt32(7, this->ndevid(), output);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// required int32 nRetStatus = 8;
|
|
|
|
|
if (has_nretstatus()) {
|
|
|
|
|
::google::protobuf::internal::WireFormatLite::WriteInt32(8, this->nretstatus(), output);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// optional int32 nResPara1 = 9;
|
|
|
|
|
if (has_nrespara1()) {
|
|
|
|
|
::google::protobuf::internal::WireFormatLite::WriteInt32(9, this->nrespara1(), output);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// optional int32 nResPara2 = 10;
|
|
|
|
|
if (has_nrespara2()) {
|
|
|
|
|
::google::protobuf::internal::WireFormatLite::WriteInt32(10, this->nrespara2(), output);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if (!unknown_fields().empty()) {
|
|
|
|
|
::google::protobuf::internal::WireFormat::SerializeUnknownFields(
|
|
|
|
|
unknown_fields(), output);
|
|
|
|
|
}
|
2025-03-12 14:17:53 +08:00
|
|
|
// @@protoc_insertion_point(serialize_end:iot_idl.SFesFwDefCmdPkgHead)
|
2025-03-12 10:03:16 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
::google::protobuf::uint8* SFesFwDefCmdPkgHead::SerializeWithCachedSizesToArray(
|
|
|
|
|
::google::protobuf::uint8* target) const {
|
2025-03-12 14:17:53 +08:00
|
|
|
// @@protoc_insertion_point(serialize_to_array_start:iot_idl.SFesFwDefCmdPkgHead)
|
2025-03-12 10:03:16 +08:00
|
|
|
// required int32 nMessageID = 1;
|
|
|
|
|
if (has_nmessageid()) {
|
|
|
|
|
target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->nmessageid(), target);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// required int32 nDataNum = 2;
|
|
|
|
|
if (has_ndatanum()) {
|
|
|
|
|
target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->ndatanum(), target);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// required int32 nFwSubSystem = 3;
|
|
|
|
|
if (has_nfwsubsystem()) {
|
|
|
|
|
target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->nfwsubsystem(), target);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// required int32 nFwRtuNo = 4;
|
|
|
|
|
if (has_nfwrtuno()) {
|
|
|
|
|
target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->nfwrtuno(), target);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// required int32 nSubSystem = 5;
|
|
|
|
|
if (has_nsubsystem()) {
|
|
|
|
|
target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(5, this->nsubsystem(), target);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// required int32 nRtuNo = 6;
|
|
|
|
|
if (has_nrtuno()) {
|
|
|
|
|
target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(6, this->nrtuno(), target);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// required int32 nDevID = 7;
|
|
|
|
|
if (has_ndevid()) {
|
|
|
|
|
target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(7, this->ndevid(), target);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// required int32 nRetStatus = 8;
|
|
|
|
|
if (has_nretstatus()) {
|
|
|
|
|
target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(8, this->nretstatus(), target);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// optional int32 nResPara1 = 9;
|
|
|
|
|
if (has_nrespara1()) {
|
|
|
|
|
target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(9, this->nrespara1(), target);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// optional int32 nResPara2 = 10;
|
|
|
|
|
if (has_nrespara2()) {
|
|
|
|
|
target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(10, this->nrespara2(), target);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if (!unknown_fields().empty()) {
|
|
|
|
|
target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
|
|
|
|
|
unknown_fields(), target);
|
|
|
|
|
}
|
2025-03-12 14:17:53 +08:00
|
|
|
// @@protoc_insertion_point(serialize_to_array_end:iot_idl.SFesFwDefCmdPkgHead)
|
2025-03-12 10:03:16 +08:00
|
|
|
return target;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
int SFesFwDefCmdPkgHead::ByteSize() const {
|
|
|
|
|
int total_size = 0;
|
|
|
|
|
|
|
|
|
|
if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
|
|
|
|
|
// required int32 nMessageID = 1;
|
|
|
|
|
if (has_nmessageid()) {
|
|
|
|
|
total_size += 1 +
|
|
|
|
|
::google::protobuf::internal::WireFormatLite::Int32Size(
|
|
|
|
|
this->nmessageid());
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// required int32 nDataNum = 2;
|
|
|
|
|
if (has_ndatanum()) {
|
|
|
|
|
total_size += 1 +
|
|
|
|
|
::google::protobuf::internal::WireFormatLite::Int32Size(
|
|
|
|
|
this->ndatanum());
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// required int32 nFwSubSystem = 3;
|
|
|
|
|
if (has_nfwsubsystem()) {
|
|
|
|
|
total_size += 1 +
|
|
|
|
|
::google::protobuf::internal::WireFormatLite::Int32Size(
|
|
|
|
|
this->nfwsubsystem());
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// required int32 nFwRtuNo = 4;
|
|
|
|
|
if (has_nfwrtuno()) {
|
|
|
|
|
total_size += 1 +
|
|
|
|
|
::google::protobuf::internal::WireFormatLite::Int32Size(
|
|
|
|
|
this->nfwrtuno());
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// required int32 nSubSystem = 5;
|
|
|
|
|
if (has_nsubsystem()) {
|
|
|
|
|
total_size += 1 +
|
|
|
|
|
::google::protobuf::internal::WireFormatLite::Int32Size(
|
|
|
|
|
this->nsubsystem());
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// required int32 nRtuNo = 6;
|
|
|
|
|
if (has_nrtuno()) {
|
|
|
|
|
total_size += 1 +
|
|
|
|
|
::google::protobuf::internal::WireFormatLite::Int32Size(
|
|
|
|
|
this->nrtuno());
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// required int32 nDevID = 7;
|
|
|
|
|
if (has_ndevid()) {
|
|
|
|
|
total_size += 1 +
|
|
|
|
|
::google::protobuf::internal::WireFormatLite::Int32Size(
|
|
|
|
|
this->ndevid());
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// required int32 nRetStatus = 8;
|
|
|
|
|
if (has_nretstatus()) {
|
|
|
|
|
total_size += 1 +
|
|
|
|
|
::google::protobuf::internal::WireFormatLite::Int32Size(
|
|
|
|
|
this->nretstatus());
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
if (_has_bits_[8 / 32] & (0xffu << (8 % 32))) {
|
|
|
|
|
// optional int32 nResPara1 = 9;
|
|
|
|
|
if (has_nrespara1()) {
|
|
|
|
|
total_size += 1 +
|
|
|
|
|
::google::protobuf::internal::WireFormatLite::Int32Size(
|
|
|
|
|
this->nrespara1());
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// optional int32 nResPara2 = 10;
|
|
|
|
|
if (has_nrespara2()) {
|
|
|
|
|
total_size += 1 +
|
|
|
|
|
::google::protobuf::internal::WireFormatLite::Int32Size(
|
|
|
|
|
this->nrespara2());
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
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 SFesFwDefCmdPkgHead::MergeFrom(const ::google::protobuf::Message& from) {
|
|
|
|
|
GOOGLE_CHECK_NE(&from, this);
|
|
|
|
|
const SFesFwDefCmdPkgHead* source =
|
|
|
|
|
::google::protobuf::internal::dynamic_cast_if_available<const SFesFwDefCmdPkgHead*>(
|
|
|
|
|
&from);
|
|
|
|
|
if (source == NULL) {
|
|
|
|
|
::google::protobuf::internal::ReflectionOps::Merge(from, this);
|
|
|
|
|
} else {
|
|
|
|
|
MergeFrom(*source);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void SFesFwDefCmdPkgHead::MergeFrom(const SFesFwDefCmdPkgHead& from) {
|
|
|
|
|
GOOGLE_CHECK_NE(&from, this);
|
|
|
|
|
if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
|
|
|
|
|
if (from.has_nmessageid()) {
|
|
|
|
|
set_nmessageid(from.nmessageid());
|
|
|
|
|
}
|
|
|
|
|
if (from.has_ndatanum()) {
|
|
|
|
|
set_ndatanum(from.ndatanum());
|
|
|
|
|
}
|
|
|
|
|
if (from.has_nfwsubsystem()) {
|
|
|
|
|
set_nfwsubsystem(from.nfwsubsystem());
|
|
|
|
|
}
|
|
|
|
|
if (from.has_nfwrtuno()) {
|
|
|
|
|
set_nfwrtuno(from.nfwrtuno());
|
|
|
|
|
}
|
|
|
|
|
if (from.has_nsubsystem()) {
|
|
|
|
|
set_nsubsystem(from.nsubsystem());
|
|
|
|
|
}
|
|
|
|
|
if (from.has_nrtuno()) {
|
|
|
|
|
set_nrtuno(from.nrtuno());
|
|
|
|
|
}
|
|
|
|
|
if (from.has_ndevid()) {
|
|
|
|
|
set_ndevid(from.ndevid());
|
|
|
|
|
}
|
|
|
|
|
if (from.has_nretstatus()) {
|
|
|
|
|
set_nretstatus(from.nretstatus());
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
if (from._has_bits_[8 / 32] & (0xffu << (8 % 32))) {
|
|
|
|
|
if (from.has_nrespara1()) {
|
|
|
|
|
set_nrespara1(from.nrespara1());
|
|
|
|
|
}
|
|
|
|
|
if (from.has_nrespara2()) {
|
|
|
|
|
set_nrespara2(from.nrespara2());
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
mutable_unknown_fields()->MergeFrom(from.unknown_fields());
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void SFesFwDefCmdPkgHead::CopyFrom(const ::google::protobuf::Message& from) {
|
|
|
|
|
if (&from == this) return;
|
|
|
|
|
Clear();
|
|
|
|
|
MergeFrom(from);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void SFesFwDefCmdPkgHead::CopyFrom(const SFesFwDefCmdPkgHead& from) {
|
|
|
|
|
if (&from == this) return;
|
|
|
|
|
Clear();
|
|
|
|
|
MergeFrom(from);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
bool SFesFwDefCmdPkgHead::IsInitialized() const {
|
|
|
|
|
if ((_has_bits_[0] & 0x000000ff) != 0x000000ff) return false;
|
|
|
|
|
|
|
|
|
|
return true;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void SFesFwDefCmdPkgHead::Swap(SFesFwDefCmdPkgHead* other) {
|
|
|
|
|
if (other != this) {
|
|
|
|
|
std::swap(nmessageid_, other->nmessageid_);
|
|
|
|
|
std::swap(ndatanum_, other->ndatanum_);
|
|
|
|
|
std::swap(nfwsubsystem_, other->nfwsubsystem_);
|
|
|
|
|
std::swap(nfwrtuno_, other->nfwrtuno_);
|
|
|
|
|
std::swap(nsubsystem_, other->nsubsystem_);
|
|
|
|
|
std::swap(nrtuno_, other->nrtuno_);
|
|
|
|
|
std::swap(ndevid_, other->ndevid_);
|
|
|
|
|
std::swap(nretstatus_, other->nretstatus_);
|
|
|
|
|
std::swap(nrespara1_, other->nrespara1_);
|
|
|
|
|
std::swap(nrespara2_, other->nrespara2_);
|
|
|
|
|
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 SFesFwDefCmdPkgHead::GetMetadata() const {
|
|
|
|
|
protobuf_AssignDescriptorsOnce();
|
|
|
|
|
::google::protobuf::Metadata metadata;
|
|
|
|
|
metadata.descriptor = SFesFwDefCmdPkgHead_descriptor_;
|
|
|
|
|
metadata.reflection = SFesFwDefCmdPkgHead_reflection_;
|
|
|
|
|
return metadata;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// ===================================================================
|
|
|
|
|
|
|
|
|
|
#ifndef _MSC_VER
|
|
|
|
|
const int SFesFwDefCmd::kNstrNameFieldNumber;
|
|
|
|
|
const int SFesFwDefCmd::kNStrValueFieldNumber;
|
|
|
|
|
#endif // !_MSC_VER
|
|
|
|
|
|
|
|
|
|
SFesFwDefCmd::SFesFwDefCmd()
|
|
|
|
|
: ::google::protobuf::Message() {
|
|
|
|
|
SharedCtor();
|
2025-03-12 14:17:53 +08:00
|
|
|
// @@protoc_insertion_point(constructor:iot_idl.SFesFwDefCmd)
|
2025-03-12 10:03:16 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void SFesFwDefCmd::InitAsDefaultInstance() {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
SFesFwDefCmd::SFesFwDefCmd(const SFesFwDefCmd& from)
|
|
|
|
|
: ::google::protobuf::Message() {
|
|
|
|
|
SharedCtor();
|
|
|
|
|
MergeFrom(from);
|
2025-03-12 14:17:53 +08:00
|
|
|
// @@protoc_insertion_point(copy_constructor:iot_idl.SFesFwDefCmd)
|
2025-03-12 10:03:16 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void SFesFwDefCmd::SharedCtor() {
|
|
|
|
|
::google::protobuf::internal::GetEmptyString();
|
|
|
|
|
_cached_size_ = 0;
|
|
|
|
|
nstrname_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
|
|
|
nstrvalue_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
|
|
|
::memset(_has_bits_, 0, sizeof(_has_bits_));
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
SFesFwDefCmd::~SFesFwDefCmd() {
|
2025-03-12 14:17:53 +08:00
|
|
|
// @@protoc_insertion_point(destructor:iot_idl.SFesFwDefCmd)
|
2025-03-12 10:03:16 +08:00
|
|
|
SharedDtor();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void SFesFwDefCmd::SharedDtor() {
|
|
|
|
|
if (nstrname_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
|
|
|
|
|
delete nstrname_;
|
|
|
|
|
}
|
|
|
|
|
if (nstrvalue_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
|
|
|
|
|
delete nstrvalue_;
|
|
|
|
|
}
|
|
|
|
|
if (this != default_instance_) {
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void SFesFwDefCmd::SetCachedSize(int size) const {
|
|
|
|
|
GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
|
|
|
|
|
_cached_size_ = size;
|
|
|
|
|
GOOGLE_SAFE_CONCURRENT_WRITES_END();
|
|
|
|
|
}
|
|
|
|
|
const ::google::protobuf::Descriptor* SFesFwDefCmd::descriptor() {
|
|
|
|
|
protobuf_AssignDescriptorsOnce();
|
|
|
|
|
return SFesFwDefCmd_descriptor_;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
const SFesFwDefCmd& SFesFwDefCmd::default_instance() {
|
|
|
|
|
if (default_instance_ == NULL) protobuf_AddDesc_FesFwMessage_2eproto();
|
|
|
|
|
return *default_instance_;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
SFesFwDefCmd* SFesFwDefCmd::default_instance_ = NULL;
|
|
|
|
|
|
|
|
|
|
SFesFwDefCmd* SFesFwDefCmd::New() const {
|
|
|
|
|
return new SFesFwDefCmd;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void SFesFwDefCmd::Clear() {
|
|
|
|
|
if (_has_bits_[0 / 32] & 3) {
|
|
|
|
|
if (has_nstrname()) {
|
|
|
|
|
if (nstrname_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
|
|
|
|
|
nstrname_->clear();
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
if (has_nstrvalue()) {
|
|
|
|
|
if (nstrvalue_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
|
|
|
|
|
nstrvalue_->clear();
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
::memset(_has_bits_, 0, sizeof(_has_bits_));
|
|
|
|
|
mutable_unknown_fields()->Clear();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
bool SFesFwDefCmd::MergePartialFromCodedStream(
|
|
|
|
|
::google::protobuf::io::CodedInputStream* input) {
|
|
|
|
|
#define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
|
|
|
|
|
::google::protobuf::uint32 tag;
|
2025-03-12 14:17:53 +08:00
|
|
|
// @@protoc_insertion_point(parse_start:iot_idl.SFesFwDefCmd)
|
2025-03-12 10:03:16 +08:00
|
|
|
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 nstrName = 1;
|
|
|
|
|
case 1: {
|
|
|
|
|
if (tag == 10) {
|
|
|
|
|
DO_(::google::protobuf::internal::WireFormatLite::ReadString(
|
|
|
|
|
input, this->mutable_nstrname()));
|
|
|
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
|
|
|
|
|
this->nstrname().data(), this->nstrname().length(),
|
|
|
|
|
::google::protobuf::internal::WireFormat::PARSE,
|
|
|
|
|
"nstrname");
|
|
|
|
|
} else {
|
|
|
|
|
goto handle_unusual;
|
|
|
|
|
}
|
|
|
|
|
if (input->ExpectTag(18)) goto parse_nStrValue;
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// required string nStrValue = 2;
|
|
|
|
|
case 2: {
|
|
|
|
|
if (tag == 18) {
|
|
|
|
|
parse_nStrValue:
|
|
|
|
|
DO_(::google::protobuf::internal::WireFormatLite::ReadString(
|
|
|
|
|
input, this->mutable_nstrvalue()));
|
|
|
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
|
|
|
|
|
this->nstrvalue().data(), this->nstrvalue().length(),
|
|
|
|
|
::google::protobuf::internal::WireFormat::PARSE,
|
|
|
|
|
"nstrvalue");
|
|
|
|
|
} 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:
|
2025-03-12 14:17:53 +08:00
|
|
|
// @@protoc_insertion_point(parse_success:iot_idl.SFesFwDefCmd)
|
2025-03-12 10:03:16 +08:00
|
|
|
return true;
|
|
|
|
|
failure:
|
2025-03-12 14:17:53 +08:00
|
|
|
// @@protoc_insertion_point(parse_failure:iot_idl.SFesFwDefCmd)
|
2025-03-12 10:03:16 +08:00
|
|
|
return false;
|
|
|
|
|
#undef DO_
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void SFesFwDefCmd::SerializeWithCachedSizes(
|
|
|
|
|
::google::protobuf::io::CodedOutputStream* output) const {
|
2025-03-12 14:17:53 +08:00
|
|
|
// @@protoc_insertion_point(serialize_start:iot_idl.SFesFwDefCmd)
|
2025-03-12 10:03:16 +08:00
|
|
|
// required string nstrName = 1;
|
|
|
|
|
if (has_nstrname()) {
|
|
|
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
|
|
|
|
|
this->nstrname().data(), this->nstrname().length(),
|
|
|
|
|
::google::protobuf::internal::WireFormat::SERIALIZE,
|
|
|
|
|
"nstrname");
|
|
|
|
|
::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
|
|
|
|
|
1, this->nstrname(), output);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// required string nStrValue = 2;
|
|
|
|
|
if (has_nstrvalue()) {
|
|
|
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
|
|
|
|
|
this->nstrvalue().data(), this->nstrvalue().length(),
|
|
|
|
|
::google::protobuf::internal::WireFormat::SERIALIZE,
|
|
|
|
|
"nstrvalue");
|
|
|
|
|
::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
|
|
|
|
|
2, this->nstrvalue(), output);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if (!unknown_fields().empty()) {
|
|
|
|
|
::google::protobuf::internal::WireFormat::SerializeUnknownFields(
|
|
|
|
|
unknown_fields(), output);
|
|
|
|
|
}
|
2025-03-12 14:17:53 +08:00
|
|
|
// @@protoc_insertion_point(serialize_end:iot_idl.SFesFwDefCmd)
|
2025-03-12 10:03:16 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
::google::protobuf::uint8* SFesFwDefCmd::SerializeWithCachedSizesToArray(
|
|
|
|
|
::google::protobuf::uint8* target) const {
|
2025-03-12 14:17:53 +08:00
|
|
|
// @@protoc_insertion_point(serialize_to_array_start:iot_idl.SFesFwDefCmd)
|
2025-03-12 10:03:16 +08:00
|
|
|
// required string nstrName = 1;
|
|
|
|
|
if (has_nstrname()) {
|
|
|
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
|
|
|
|
|
this->nstrname().data(), this->nstrname().length(),
|
|
|
|
|
::google::protobuf::internal::WireFormat::SERIALIZE,
|
|
|
|
|
"nstrname");
|
|
|
|
|
target =
|
|
|
|
|
::google::protobuf::internal::WireFormatLite::WriteStringToArray(
|
|
|
|
|
1, this->nstrname(), target);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// required string nStrValue = 2;
|
|
|
|
|
if (has_nstrvalue()) {
|
|
|
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
|
|
|
|
|
this->nstrvalue().data(), this->nstrvalue().length(),
|
|
|
|
|
::google::protobuf::internal::WireFormat::SERIALIZE,
|
|
|
|
|
"nstrvalue");
|
|
|
|
|
target =
|
|
|
|
|
::google::protobuf::internal::WireFormatLite::WriteStringToArray(
|
|
|
|
|
2, this->nstrvalue(), target);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if (!unknown_fields().empty()) {
|
|
|
|
|
target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
|
|
|
|
|
unknown_fields(), target);
|
|
|
|
|
}
|
2025-03-12 14:17:53 +08:00
|
|
|
// @@protoc_insertion_point(serialize_to_array_end:iot_idl.SFesFwDefCmd)
|
2025-03-12 10:03:16 +08:00
|
|
|
return target;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
int SFesFwDefCmd::ByteSize() const {
|
|
|
|
|
int total_size = 0;
|
|
|
|
|
|
|
|
|
|
if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
|
|
|
|
|
// required string nstrName = 1;
|
|
|
|
|
if (has_nstrname()) {
|
|
|
|
|
total_size += 1 +
|
|
|
|
|
::google::protobuf::internal::WireFormatLite::StringSize(
|
|
|
|
|
this->nstrname());
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// required string nStrValue = 2;
|
|
|
|
|
if (has_nstrvalue()) {
|
|
|
|
|
total_size += 1 +
|
|
|
|
|
::google::protobuf::internal::WireFormatLite::StringSize(
|
|
|
|
|
this->nstrvalue());
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
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 SFesFwDefCmd::MergeFrom(const ::google::protobuf::Message& from) {
|
|
|
|
|
GOOGLE_CHECK_NE(&from, this);
|
|
|
|
|
const SFesFwDefCmd* source =
|
|
|
|
|
::google::protobuf::internal::dynamic_cast_if_available<const SFesFwDefCmd*>(
|
|
|
|
|
&from);
|
|
|
|
|
if (source == NULL) {
|
|
|
|
|
::google::protobuf::internal::ReflectionOps::Merge(from, this);
|
|
|
|
|
} else {
|
|
|
|
|
MergeFrom(*source);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void SFesFwDefCmd::MergeFrom(const SFesFwDefCmd& from) {
|
|
|
|
|
GOOGLE_CHECK_NE(&from, this);
|
|
|
|
|
if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
|
|
|
|
|
if (from.has_nstrname()) {
|
|
|
|
|
set_nstrname(from.nstrname());
|
|
|
|
|
}
|
|
|
|
|
if (from.has_nstrvalue()) {
|
|
|
|
|
set_nstrvalue(from.nstrvalue());
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
mutable_unknown_fields()->MergeFrom(from.unknown_fields());
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void SFesFwDefCmd::CopyFrom(const ::google::protobuf::Message& from) {
|
|
|
|
|
if (&from == this) return;
|
|
|
|
|
Clear();
|
|
|
|
|
MergeFrom(from);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void SFesFwDefCmd::CopyFrom(const SFesFwDefCmd& from) {
|
|
|
|
|
if (&from == this) return;
|
|
|
|
|
Clear();
|
|
|
|
|
MergeFrom(from);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
bool SFesFwDefCmd::IsInitialized() const {
|
|
|
|
|
if ((_has_bits_[0] & 0x00000003) != 0x00000003) return false;
|
|
|
|
|
|
|
|
|
|
return true;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void SFesFwDefCmd::Swap(SFesFwDefCmd* other) {
|
|
|
|
|
if (other != this) {
|
|
|
|
|
std::swap(nstrname_, other->nstrname_);
|
|
|
|
|
std::swap(nstrvalue_, other->nstrvalue_);
|
|
|
|
|
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 SFesFwDefCmd::GetMetadata() const {
|
|
|
|
|
protobuf_AssignDescriptorsOnce();
|
|
|
|
|
::google::protobuf::Metadata metadata;
|
|
|
|
|
metadata.descriptor = SFesFwDefCmd_descriptor_;
|
|
|
|
|
metadata.reflection = SFesFwDefCmd_reflection_;
|
|
|
|
|
return metadata;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// ===================================================================
|
|
|
|
|
|
|
|
|
|
#ifndef _MSC_VER
|
|
|
|
|
const int SFesFwDefCmdPkg::kStHeadFieldNumber;
|
|
|
|
|
const int SFesFwDefCmdPkg::kStDefCmdFieldNumber;
|
|
|
|
|
#endif // !_MSC_VER
|
|
|
|
|
|
|
|
|
|
SFesFwDefCmdPkg::SFesFwDefCmdPkg()
|
|
|
|
|
: ::google::protobuf::Message() {
|
|
|
|
|
SharedCtor();
|
2025-03-12 14:17:53 +08:00
|
|
|
// @@protoc_insertion_point(constructor:iot_idl.SFesFwDefCmdPkg)
|
2025-03-12 10:03:16 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void SFesFwDefCmdPkg::InitAsDefaultInstance() {
|
2025-03-12 14:17:53 +08:00
|
|
|
sthead_ = const_cast< ::iot_idl::SFesFwDefCmdPkgHead*>(&::iot_idl::SFesFwDefCmdPkgHead::default_instance());
|
2025-03-12 10:03:16 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
SFesFwDefCmdPkg::SFesFwDefCmdPkg(const SFesFwDefCmdPkg& from)
|
|
|
|
|
: ::google::protobuf::Message() {
|
|
|
|
|
SharedCtor();
|
|
|
|
|
MergeFrom(from);
|
2025-03-12 14:17:53 +08:00
|
|
|
// @@protoc_insertion_point(copy_constructor:iot_idl.SFesFwDefCmdPkg)
|
2025-03-12 10:03:16 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void SFesFwDefCmdPkg::SharedCtor() {
|
|
|
|
|
_cached_size_ = 0;
|
|
|
|
|
sthead_ = NULL;
|
|
|
|
|
::memset(_has_bits_, 0, sizeof(_has_bits_));
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
SFesFwDefCmdPkg::~SFesFwDefCmdPkg() {
|
2025-03-12 14:17:53 +08:00
|
|
|
// @@protoc_insertion_point(destructor:iot_idl.SFesFwDefCmdPkg)
|
2025-03-12 10:03:16 +08:00
|
|
|
SharedDtor();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void SFesFwDefCmdPkg::SharedDtor() {
|
|
|
|
|
if (this != default_instance_) {
|
|
|
|
|
delete sthead_;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void SFesFwDefCmdPkg::SetCachedSize(int size) const {
|
|
|
|
|
GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
|
|
|
|
|
_cached_size_ = size;
|
|
|
|
|
GOOGLE_SAFE_CONCURRENT_WRITES_END();
|
|
|
|
|
}
|
|
|
|
|
const ::google::protobuf::Descriptor* SFesFwDefCmdPkg::descriptor() {
|
|
|
|
|
protobuf_AssignDescriptorsOnce();
|
|
|
|
|
return SFesFwDefCmdPkg_descriptor_;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
const SFesFwDefCmdPkg& SFesFwDefCmdPkg::default_instance() {
|
|
|
|
|
if (default_instance_ == NULL) protobuf_AddDesc_FesFwMessage_2eproto();
|
|
|
|
|
return *default_instance_;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
SFesFwDefCmdPkg* SFesFwDefCmdPkg::default_instance_ = NULL;
|
|
|
|
|
|
|
|
|
|
SFesFwDefCmdPkg* SFesFwDefCmdPkg::New() const {
|
|
|
|
|
return new SFesFwDefCmdPkg;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void SFesFwDefCmdPkg::Clear() {
|
|
|
|
|
if (has_sthead()) {
|
2025-03-12 14:17:53 +08:00
|
|
|
if (sthead_ != NULL) sthead_->::iot_idl::SFesFwDefCmdPkgHead::Clear();
|
2025-03-12 10:03:16 +08:00
|
|
|
}
|
|
|
|
|
stdefcmd_.Clear();
|
|
|
|
|
::memset(_has_bits_, 0, sizeof(_has_bits_));
|
|
|
|
|
mutable_unknown_fields()->Clear();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
bool SFesFwDefCmdPkg::MergePartialFromCodedStream(
|
|
|
|
|
::google::protobuf::io::CodedInputStream* input) {
|
|
|
|
|
#define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
|
|
|
|
|
::google::protobuf::uint32 tag;
|
2025-03-12 14:17:53 +08:00
|
|
|
// @@protoc_insertion_point(parse_start:iot_idl.SFesFwDefCmdPkg)
|
2025-03-12 10:03:16 +08:00
|
|
|
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)) {
|
2025-03-12 14:17:53 +08:00
|
|
|
// required .iot_idl.SFesFwDefCmdPkgHead stHead = 1;
|
2025-03-12 10:03:16 +08:00
|
|
|
case 1: {
|
|
|
|
|
if (tag == 10) {
|
|
|
|
|
DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
|
|
|
|
|
input, mutable_sthead()));
|
|
|
|
|
} else {
|
|
|
|
|
goto handle_unusual;
|
|
|
|
|
}
|
|
|
|
|
if (input->ExpectTag(18)) goto parse_stDefCmd;
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
|
2025-03-12 14:17:53 +08:00
|
|
|
// repeated .iot_idl.SFesFwDefCmd stDefCmd = 2;
|
2025-03-12 10:03:16 +08:00
|
|
|
case 2: {
|
|
|
|
|
if (tag == 18) {
|
|
|
|
|
parse_stDefCmd:
|
|
|
|
|
DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
|
|
|
|
|
input, add_stdefcmd()));
|
|
|
|
|
} else {
|
|
|
|
|
goto handle_unusual;
|
|
|
|
|
}
|
|
|
|
|
if (input->ExpectTag(18)) goto parse_stDefCmd;
|
|
|
|
|
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:
|
2025-03-12 14:17:53 +08:00
|
|
|
// @@protoc_insertion_point(parse_success:iot_idl.SFesFwDefCmdPkg)
|
2025-03-12 10:03:16 +08:00
|
|
|
return true;
|
|
|
|
|
failure:
|
2025-03-12 14:17:53 +08:00
|
|
|
// @@protoc_insertion_point(parse_failure:iot_idl.SFesFwDefCmdPkg)
|
2025-03-12 10:03:16 +08:00
|
|
|
return false;
|
|
|
|
|
#undef DO_
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void SFesFwDefCmdPkg::SerializeWithCachedSizes(
|
|
|
|
|
::google::protobuf::io::CodedOutputStream* output) const {
|
2025-03-12 14:17:53 +08:00
|
|
|
// @@protoc_insertion_point(serialize_start:iot_idl.SFesFwDefCmdPkg)
|
|
|
|
|
// required .iot_idl.SFesFwDefCmdPkgHead stHead = 1;
|
2025-03-12 10:03:16 +08:00
|
|
|
if (has_sthead()) {
|
|
|
|
|
::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
|
|
|
|
|
1, this->sthead(), output);
|
|
|
|
|
}
|
|
|
|
|
|
2025-03-12 14:17:53 +08:00
|
|
|
// repeated .iot_idl.SFesFwDefCmd stDefCmd = 2;
|
2025-03-12 10:03:16 +08:00
|
|
|
for (int i = 0; i < this->stdefcmd_size(); i++) {
|
|
|
|
|
::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
|
|
|
|
|
2, this->stdefcmd(i), output);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if (!unknown_fields().empty()) {
|
|
|
|
|
::google::protobuf::internal::WireFormat::SerializeUnknownFields(
|
|
|
|
|
unknown_fields(), output);
|
|
|
|
|
}
|
2025-03-12 14:17:53 +08:00
|
|
|
// @@protoc_insertion_point(serialize_end:iot_idl.SFesFwDefCmdPkg)
|
2025-03-12 10:03:16 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
::google::protobuf::uint8* SFesFwDefCmdPkg::SerializeWithCachedSizesToArray(
|
|
|
|
|
::google::protobuf::uint8* target) const {
|
2025-03-12 14:17:53 +08:00
|
|
|
// @@protoc_insertion_point(serialize_to_array_start:iot_idl.SFesFwDefCmdPkg)
|
|
|
|
|
// required .iot_idl.SFesFwDefCmdPkgHead stHead = 1;
|
2025-03-12 10:03:16 +08:00
|
|
|
if (has_sthead()) {
|
|
|
|
|
target = ::google::protobuf::internal::WireFormatLite::
|
|
|
|
|
WriteMessageNoVirtualToArray(
|
|
|
|
|
1, this->sthead(), target);
|
|
|
|
|
}
|
|
|
|
|
|
2025-03-12 14:17:53 +08:00
|
|
|
// repeated .iot_idl.SFesFwDefCmd stDefCmd = 2;
|
2025-03-12 10:03:16 +08:00
|
|
|
for (int i = 0; i < this->stdefcmd_size(); i++) {
|
|
|
|
|
target = ::google::protobuf::internal::WireFormatLite::
|
|
|
|
|
WriteMessageNoVirtualToArray(
|
|
|
|
|
2, this->stdefcmd(i), target);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if (!unknown_fields().empty()) {
|
|
|
|
|
target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
|
|
|
|
|
unknown_fields(), target);
|
|
|
|
|
}
|
2025-03-12 14:17:53 +08:00
|
|
|
// @@protoc_insertion_point(serialize_to_array_end:iot_idl.SFesFwDefCmdPkg)
|
2025-03-12 10:03:16 +08:00
|
|
|
return target;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
int SFesFwDefCmdPkg::ByteSize() const {
|
|
|
|
|
int total_size = 0;
|
|
|
|
|
|
|
|
|
|
if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
|
2025-03-12 14:17:53 +08:00
|
|
|
// required .iot_idl.SFesFwDefCmdPkgHead stHead = 1;
|
2025-03-12 10:03:16 +08:00
|
|
|
if (has_sthead()) {
|
|
|
|
|
total_size += 1 +
|
|
|
|
|
::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
|
|
|
|
|
this->sthead());
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
2025-03-12 14:17:53 +08:00
|
|
|
// repeated .iot_idl.SFesFwDefCmd stDefCmd = 2;
|
2025-03-12 10:03:16 +08:00
|
|
|
total_size += 1 * this->stdefcmd_size();
|
|
|
|
|
for (int i = 0; i < this->stdefcmd_size(); i++) {
|
|
|
|
|
total_size +=
|
|
|
|
|
::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
|
|
|
|
|
this->stdefcmd(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 SFesFwDefCmdPkg::MergeFrom(const ::google::protobuf::Message& from) {
|
|
|
|
|
GOOGLE_CHECK_NE(&from, this);
|
|
|
|
|
const SFesFwDefCmdPkg* source =
|
|
|
|
|
::google::protobuf::internal::dynamic_cast_if_available<const SFesFwDefCmdPkg*>(
|
|
|
|
|
&from);
|
|
|
|
|
if (source == NULL) {
|
|
|
|
|
::google::protobuf::internal::ReflectionOps::Merge(from, this);
|
|
|
|
|
} else {
|
|
|
|
|
MergeFrom(*source);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void SFesFwDefCmdPkg::MergeFrom(const SFesFwDefCmdPkg& from) {
|
|
|
|
|
GOOGLE_CHECK_NE(&from, this);
|
|
|
|
|
stdefcmd_.MergeFrom(from.stdefcmd_);
|
|
|
|
|
if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
|
|
|
|
|
if (from.has_sthead()) {
|
2025-03-12 14:17:53 +08:00
|
|
|
mutable_sthead()->::iot_idl::SFesFwDefCmdPkgHead::MergeFrom(from.sthead());
|
2025-03-12 10:03:16 +08:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
mutable_unknown_fields()->MergeFrom(from.unknown_fields());
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void SFesFwDefCmdPkg::CopyFrom(const ::google::protobuf::Message& from) {
|
|
|
|
|
if (&from == this) return;
|
|
|
|
|
Clear();
|
|
|
|
|
MergeFrom(from);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void SFesFwDefCmdPkg::CopyFrom(const SFesFwDefCmdPkg& from) {
|
|
|
|
|
if (&from == this) return;
|
|
|
|
|
Clear();
|
|
|
|
|
MergeFrom(from);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
bool SFesFwDefCmdPkg::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->stdefcmd())) return false;
|
|
|
|
|
return true;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void SFesFwDefCmdPkg::Swap(SFesFwDefCmdPkg* other) {
|
|
|
|
|
if (other != this) {
|
|
|
|
|
std::swap(sthead_, other->sthead_);
|
|
|
|
|
stdefcmd_.Swap(&other->stdefcmd_);
|
|
|
|
|
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 SFesFwDefCmdPkg::GetMetadata() const {
|
|
|
|
|
protobuf_AssignDescriptorsOnce();
|
|
|
|
|
::google::protobuf::Metadata metadata;
|
|
|
|
|
metadata.descriptor = SFesFwDefCmdPkg_descriptor_;
|
|
|
|
|
metadata.reflection = SFesFwDefCmdPkg_reflection_;
|
|
|
|
|
return metadata;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// ===================================================================
|
|
|
|
|
|
|
|
|
|
#ifndef _MSC_VER
|
|
|
|
|
const int SFesFwAiValue::kNPointNoFieldNumber;
|
|
|
|
|
const int SFesFwAiValue::kFValueFieldNumber;
|
|
|
|
|
const int SFesFwAiValue::kUStatusFieldNumber;
|
|
|
|
|
const int SFesFwAiValue::kUlTimeFieldNumber;
|
|
|
|
|
#endif // !_MSC_VER
|
|
|
|
|
|
|
|
|
|
SFesFwAiValue::SFesFwAiValue()
|
|
|
|
|
: ::google::protobuf::Message() {
|
|
|
|
|
SharedCtor();
|
2025-03-12 14:17:53 +08:00
|
|
|
// @@protoc_insertion_point(constructor:iot_idl.SFesFwAiValue)
|
2025-03-12 10:03:16 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void SFesFwAiValue::InitAsDefaultInstance() {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
SFesFwAiValue::SFesFwAiValue(const SFesFwAiValue& from)
|
|
|
|
|
: ::google::protobuf::Message() {
|
|
|
|
|
SharedCtor();
|
|
|
|
|
MergeFrom(from);
|
2025-03-12 14:17:53 +08:00
|
|
|
// @@protoc_insertion_point(copy_constructor:iot_idl.SFesFwAiValue)
|
2025-03-12 10:03:16 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void SFesFwAiValue::SharedCtor() {
|
|
|
|
|
_cached_size_ = 0;
|
|
|
|
|
npointno_ = 0;
|
|
|
|
|
fvalue_ = 0;
|
|
|
|
|
ustatus_ = 0u;
|
|
|
|
|
ultime_ = GOOGLE_ULONGLONG(0);
|
|
|
|
|
::memset(_has_bits_, 0, sizeof(_has_bits_));
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
SFesFwAiValue::~SFesFwAiValue() {
|
2025-03-12 14:17:53 +08:00
|
|
|
// @@protoc_insertion_point(destructor:iot_idl.SFesFwAiValue)
|
2025-03-12 10:03:16 +08:00
|
|
|
SharedDtor();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void SFesFwAiValue::SharedDtor() {
|
|
|
|
|
if (this != default_instance_) {
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void SFesFwAiValue::SetCachedSize(int size) const {
|
|
|
|
|
GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
|
|
|
|
|
_cached_size_ = size;
|
|
|
|
|
GOOGLE_SAFE_CONCURRENT_WRITES_END();
|
|
|
|
|
}
|
|
|
|
|
const ::google::protobuf::Descriptor* SFesFwAiValue::descriptor() {
|
|
|
|
|
protobuf_AssignDescriptorsOnce();
|
|
|
|
|
return SFesFwAiValue_descriptor_;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
const SFesFwAiValue& SFesFwAiValue::default_instance() {
|
|
|
|
|
if (default_instance_ == NULL) protobuf_AddDesc_FesFwMessage_2eproto();
|
|
|
|
|
return *default_instance_;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
SFesFwAiValue* SFesFwAiValue::default_instance_ = NULL;
|
|
|
|
|
|
|
|
|
|
SFesFwAiValue* SFesFwAiValue::New() const {
|
|
|
|
|
return new SFesFwAiValue;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void SFesFwAiValue::Clear() {
|
|
|
|
|
#define OFFSET_OF_FIELD_(f) (reinterpret_cast<char*>( \
|
|
|
|
|
&reinterpret_cast<SFesFwAiValue*>(16)->f) - \
|
|
|
|
|
reinterpret_cast<char*>(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)
|
|
|
|
|
|
|
|
|
|
ZR_(npointno_, ustatus_);
|
|
|
|
|
|
|
|
|
|
#undef OFFSET_OF_FIELD_
|
|
|
|
|
#undef ZR_
|
|
|
|
|
|
|
|
|
|
::memset(_has_bits_, 0, sizeof(_has_bits_));
|
|
|
|
|
mutable_unknown_fields()->Clear();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
bool SFesFwAiValue::MergePartialFromCodedStream(
|
|
|
|
|
::google::protobuf::io::CodedInputStream* input) {
|
|
|
|
|
#define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
|
|
|
|
|
::google::protobuf::uint32 tag;
|
2025-03-12 14:17:53 +08:00
|
|
|
// @@protoc_insertion_point(parse_start:iot_idl.SFesFwAiValue)
|
2025-03-12 10:03:16 +08:00
|
|
|
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 nPointNo = 1;
|
|
|
|
|
case 1: {
|
|
|
|
|
if (tag == 8) {
|
|
|
|
|
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
|
|
|
|
|
::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
|
|
|
|
|
input, &npointno_)));
|
|
|
|
|
set_has_npointno();
|
|
|
|
|
} else {
|
|
|
|
|
goto handle_unusual;
|
|
|
|
|
}
|
|
|
|
|
if (input->ExpectTag(21)) goto parse_fValue;
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// required float fValue = 2;
|
|
|
|
|
case 2: {
|
|
|
|
|
if (tag == 21) {
|
|
|
|
|
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(24)) goto parse_uStatus;
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// required uint32 uStatus = 3;
|
|
|
|
|
case 3: {
|
|
|
|
|
if (tag == 24) {
|
|
|
|
|
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->ExpectTag(32)) goto parse_ulTime;
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// required uint64 ulTime = 4;
|
|
|
|
|
case 4: {
|
|
|
|
|
if (tag == 32) {
|
|
|
|
|
parse_ulTime:
|
|
|
|
|
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
|
|
|
|
|
::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_UINT64>(
|
|
|
|
|
input, &ultime_)));
|
|
|
|
|
set_has_ultime();
|
|
|
|
|
} 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:
|
2025-03-12 14:17:53 +08:00
|
|
|
// @@protoc_insertion_point(parse_success:iot_idl.SFesFwAiValue)
|
2025-03-12 10:03:16 +08:00
|
|
|
return true;
|
|
|
|
|
failure:
|
2025-03-12 14:17:53 +08:00
|
|
|
// @@protoc_insertion_point(parse_failure:iot_idl.SFesFwAiValue)
|
2025-03-12 10:03:16 +08:00
|
|
|
return false;
|
|
|
|
|
#undef DO_
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void SFesFwAiValue::SerializeWithCachedSizes(
|
|
|
|
|
::google::protobuf::io::CodedOutputStream* output) const {
|
2025-03-12 14:17:53 +08:00
|
|
|
// @@protoc_insertion_point(serialize_start:iot_idl.SFesFwAiValue)
|
2025-03-12 10:03:16 +08:00
|
|
|
// required int32 nPointNo = 1;
|
|
|
|
|
if (has_npointno()) {
|
|
|
|
|
::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->npointno(), output);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// required float fValue = 2;
|
|
|
|
|
if (has_fvalue()) {
|
|
|
|
|
::google::protobuf::internal::WireFormatLite::WriteFloat(2, this->fvalue(), output);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// required uint32 uStatus = 3;
|
|
|
|
|
if (has_ustatus()) {
|
|
|
|
|
::google::protobuf::internal::WireFormatLite::WriteUInt32(3, this->ustatus(), output);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// required uint64 ulTime = 4;
|
|
|
|
|
if (has_ultime()) {
|
|
|
|
|
::google::protobuf::internal::WireFormatLite::WriteUInt64(4, this->ultime(), output);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if (!unknown_fields().empty()) {
|
|
|
|
|
::google::protobuf::internal::WireFormat::SerializeUnknownFields(
|
|
|
|
|
unknown_fields(), output);
|
|
|
|
|
}
|
2025-03-12 14:17:53 +08:00
|
|
|
// @@protoc_insertion_point(serialize_end:iot_idl.SFesFwAiValue)
|
2025-03-12 10:03:16 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
::google::protobuf::uint8* SFesFwAiValue::SerializeWithCachedSizesToArray(
|
|
|
|
|
::google::protobuf::uint8* target) const {
|
2025-03-12 14:17:53 +08:00
|
|
|
// @@protoc_insertion_point(serialize_to_array_start:iot_idl.SFesFwAiValue)
|
2025-03-12 10:03:16 +08:00
|
|
|
// required int32 nPointNo = 1;
|
|
|
|
|
if (has_npointno()) {
|
|
|
|
|
target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->npointno(), target);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// required float fValue = 2;
|
|
|
|
|
if (has_fvalue()) {
|
|
|
|
|
target = ::google::protobuf::internal::WireFormatLite::WriteFloatToArray(2, this->fvalue(), target);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// required uint32 uStatus = 3;
|
|
|
|
|
if (has_ustatus()) {
|
|
|
|
|
target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(3, this->ustatus(), target);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// required uint64 ulTime = 4;
|
|
|
|
|
if (has_ultime()) {
|
|
|
|
|
target = ::google::protobuf::internal::WireFormatLite::WriteUInt64ToArray(4, this->ultime(), target);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if (!unknown_fields().empty()) {
|
|
|
|
|
target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
|
|
|
|
|
unknown_fields(), target);
|
|
|
|
|
}
|
2025-03-12 14:17:53 +08:00
|
|
|
// @@protoc_insertion_point(serialize_to_array_end:iot_idl.SFesFwAiValue)
|
2025-03-12 10:03:16 +08:00
|
|
|
return target;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
int SFesFwAiValue::ByteSize() const {
|
|
|
|
|
int total_size = 0;
|
|
|
|
|
|
|
|
|
|
if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
|
|
|
|
|
// required int32 nPointNo = 1;
|
|
|
|
|
if (has_npointno()) {
|
|
|
|
|
total_size += 1 +
|
|
|
|
|
::google::protobuf::internal::WireFormatLite::Int32Size(
|
|
|
|
|
this->npointno());
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// required float fValue = 2;
|
|
|
|
|
if (has_fvalue()) {
|
|
|
|
|
total_size += 1 + 4;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// required uint32 uStatus = 3;
|
|
|
|
|
if (has_ustatus()) {
|
|
|
|
|
total_size += 1 +
|
|
|
|
|
::google::protobuf::internal::WireFormatLite::UInt32Size(
|
|
|
|
|
this->ustatus());
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// required uint64 ulTime = 4;
|
|
|
|
|
if (has_ultime()) {
|
|
|
|
|
total_size += 1 +
|
|
|
|
|
::google::protobuf::internal::WireFormatLite::UInt64Size(
|
|
|
|
|
this->ultime());
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
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 SFesFwAiValue::MergeFrom(const ::google::protobuf::Message& from) {
|
|
|
|
|
GOOGLE_CHECK_NE(&from, this);
|
|
|
|
|
const SFesFwAiValue* source =
|
|
|
|
|
::google::protobuf::internal::dynamic_cast_if_available<const SFesFwAiValue*>(
|
|
|
|
|
&from);
|
|
|
|
|
if (source == NULL) {
|
|
|
|
|
::google::protobuf::internal::ReflectionOps::Merge(from, this);
|
|
|
|
|
} else {
|
|
|
|
|
MergeFrom(*source);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void SFesFwAiValue::MergeFrom(const SFesFwAiValue& from) {
|
|
|
|
|
GOOGLE_CHECK_NE(&from, this);
|
|
|
|
|
if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
|
|
|
|
|
if (from.has_npointno()) {
|
|
|
|
|
set_npointno(from.npointno());
|
|
|
|
|
}
|
|
|
|
|
if (from.has_fvalue()) {
|
|
|
|
|
set_fvalue(from.fvalue());
|
|
|
|
|
}
|
|
|
|
|
if (from.has_ustatus()) {
|
|
|
|
|
set_ustatus(from.ustatus());
|
|
|
|
|
}
|
|
|
|
|
if (from.has_ultime()) {
|
|
|
|
|
set_ultime(from.ultime());
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
mutable_unknown_fields()->MergeFrom(from.unknown_fields());
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void SFesFwAiValue::CopyFrom(const ::google::protobuf::Message& from) {
|
|
|
|
|
if (&from == this) return;
|
|
|
|
|
Clear();
|
|
|
|
|
MergeFrom(from);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void SFesFwAiValue::CopyFrom(const SFesFwAiValue& from) {
|
|
|
|
|
if (&from == this) return;
|
|
|
|
|
Clear();
|
|
|
|
|
MergeFrom(from);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
bool SFesFwAiValue::IsInitialized() const {
|
|
|
|
|
if ((_has_bits_[0] & 0x0000000f) != 0x0000000f) return false;
|
|
|
|
|
|
|
|
|
|
return true;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void SFesFwAiValue::Swap(SFesFwAiValue* other) {
|
|
|
|
|
if (other != this) {
|
|
|
|
|
std::swap(npointno_, other->npointno_);
|
|
|
|
|
std::swap(fvalue_, other->fvalue_);
|
|
|
|
|
std::swap(ustatus_, other->ustatus_);
|
|
|
|
|
std::swap(ultime_, other->ultime_);
|
|
|
|
|
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 SFesFwAiValue::GetMetadata() const {
|
|
|
|
|
protobuf_AssignDescriptorsOnce();
|
|
|
|
|
::google::protobuf::Metadata metadata;
|
|
|
|
|
metadata.descriptor = SFesFwAiValue_descriptor_;
|
|
|
|
|
metadata.reflection = SFesFwAiValue_reflection_;
|
|
|
|
|
return metadata;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// ===================================================================
|
|
|
|
|
|
|
|
|
|
#ifndef _MSC_VER
|
|
|
|
|
const int SFesFwDiValue::kNPointNoFieldNumber;
|
|
|
|
|
const int SFesFwDiValue::kNValueFieldNumber;
|
|
|
|
|
const int SFesFwDiValue::kUStatusFieldNumber;
|
|
|
|
|
const int SFesFwDiValue::kUlTimeFieldNumber;
|
|
|
|
|
#endif // !_MSC_VER
|
|
|
|
|
|
|
|
|
|
SFesFwDiValue::SFesFwDiValue()
|
|
|
|
|
: ::google::protobuf::Message() {
|
|
|
|
|
SharedCtor();
|
2025-03-12 14:17:53 +08:00
|
|
|
// @@protoc_insertion_point(constructor:iot_idl.SFesFwDiValue)
|
2025-03-12 10:03:16 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void SFesFwDiValue::InitAsDefaultInstance() {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
SFesFwDiValue::SFesFwDiValue(const SFesFwDiValue& from)
|
|
|
|
|
: ::google::protobuf::Message() {
|
|
|
|
|
SharedCtor();
|
|
|
|
|
MergeFrom(from);
|
2025-03-12 14:17:53 +08:00
|
|
|
// @@protoc_insertion_point(copy_constructor:iot_idl.SFesFwDiValue)
|
2025-03-12 10:03:16 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void SFesFwDiValue::SharedCtor() {
|
|
|
|
|
_cached_size_ = 0;
|
|
|
|
|
npointno_ = 0;
|
|
|
|
|
nvalue_ = 0;
|
|
|
|
|
ustatus_ = 0u;
|
|
|
|
|
ultime_ = GOOGLE_ULONGLONG(0);
|
|
|
|
|
::memset(_has_bits_, 0, sizeof(_has_bits_));
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
SFesFwDiValue::~SFesFwDiValue() {
|
2025-03-12 14:17:53 +08:00
|
|
|
// @@protoc_insertion_point(destructor:iot_idl.SFesFwDiValue)
|
2025-03-12 10:03:16 +08:00
|
|
|
SharedDtor();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void SFesFwDiValue::SharedDtor() {
|
|
|
|
|
if (this != default_instance_) {
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void SFesFwDiValue::SetCachedSize(int size) const {
|
|
|
|
|
GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
|
|
|
|
|
_cached_size_ = size;
|
|
|
|
|
GOOGLE_SAFE_CONCURRENT_WRITES_END();
|
|
|
|
|
}
|
|
|
|
|
const ::google::protobuf::Descriptor* SFesFwDiValue::descriptor() {
|
|
|
|
|
protobuf_AssignDescriptorsOnce();
|
|
|
|
|
return SFesFwDiValue_descriptor_;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
const SFesFwDiValue& SFesFwDiValue::default_instance() {
|
|
|
|
|
if (default_instance_ == NULL) protobuf_AddDesc_FesFwMessage_2eproto();
|
|
|
|
|
return *default_instance_;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
SFesFwDiValue* SFesFwDiValue::default_instance_ = NULL;
|
|
|
|
|
|
|
|
|
|
SFesFwDiValue* SFesFwDiValue::New() const {
|
|
|
|
|
return new SFesFwDiValue;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void SFesFwDiValue::Clear() {
|
|
|
|
|
#define OFFSET_OF_FIELD_(f) (reinterpret_cast<char*>( \
|
|
|
|
|
&reinterpret_cast<SFesFwDiValue*>(16)->f) - \
|
|
|
|
|
reinterpret_cast<char*>(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)
|
|
|
|
|
|
|
|
|
|
ZR_(npointno_, ustatus_);
|
|
|
|
|
|
|
|
|
|
#undef OFFSET_OF_FIELD_
|
|
|
|
|
#undef ZR_
|
|
|
|
|
|
|
|
|
|
::memset(_has_bits_, 0, sizeof(_has_bits_));
|
|
|
|
|
mutable_unknown_fields()->Clear();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
bool SFesFwDiValue::MergePartialFromCodedStream(
|
|
|
|
|
::google::protobuf::io::CodedInputStream* input) {
|
|
|
|
|
#define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
|
|
|
|
|
::google::protobuf::uint32 tag;
|
2025-03-12 14:17:53 +08:00
|
|
|
// @@protoc_insertion_point(parse_start:iot_idl.SFesFwDiValue)
|
2025-03-12 10:03:16 +08:00
|
|
|
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 nPointNo = 1;
|
|
|
|
|
case 1: {
|
|
|
|
|
if (tag == 8) {
|
|
|
|
|
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
|
|
|
|
|
::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
|
|
|
|
|
input, &npointno_)));
|
|
|
|
|
set_has_npointno();
|
|
|
|
|
} else {
|
|
|
|
|
goto handle_unusual;
|
|
|
|
|
}
|
|
|
|
|
if (input->ExpectTag(16)) goto parse_nValue;
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// required int32 nValue = 2;
|
|
|
|
|
case 2: {
|
|
|
|
|
if (tag == 16) {
|
|
|
|
|
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(24)) goto parse_uStatus;
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// required uint32 uStatus = 3;
|
|
|
|
|
case 3: {
|
|
|
|
|
if (tag == 24) {
|
|
|
|
|
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->ExpectTag(32)) goto parse_ulTime;
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// required uint64 ulTime = 4;
|
|
|
|
|
case 4: {
|
|
|
|
|
if (tag == 32) {
|
|
|
|
|
parse_ulTime:
|
|
|
|
|
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
|
|
|
|
|
::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_UINT64>(
|
|
|
|
|
input, &ultime_)));
|
|
|
|
|
set_has_ultime();
|
|
|
|
|
} 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:
|
2025-03-12 14:17:53 +08:00
|
|
|
// @@protoc_insertion_point(parse_success:iot_idl.SFesFwDiValue)
|
2025-03-12 10:03:16 +08:00
|
|
|
return true;
|
|
|
|
|
failure:
|
2025-03-12 14:17:53 +08:00
|
|
|
// @@protoc_insertion_point(parse_failure:iot_idl.SFesFwDiValue)
|
2025-03-12 10:03:16 +08:00
|
|
|
return false;
|
|
|
|
|
#undef DO_
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void SFesFwDiValue::SerializeWithCachedSizes(
|
|
|
|
|
::google::protobuf::io::CodedOutputStream* output) const {
|
2025-03-12 14:17:53 +08:00
|
|
|
// @@protoc_insertion_point(serialize_start:iot_idl.SFesFwDiValue)
|
2025-03-12 10:03:16 +08:00
|
|
|
// required int32 nPointNo = 1;
|
|
|
|
|
if (has_npointno()) {
|
|
|
|
|
::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->npointno(), output);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// required int32 nValue = 2;
|
|
|
|
|
if (has_nvalue()) {
|
|
|
|
|
::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->nvalue(), output);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// required uint32 uStatus = 3;
|
|
|
|
|
if (has_ustatus()) {
|
|
|
|
|
::google::protobuf::internal::WireFormatLite::WriteUInt32(3, this->ustatus(), output);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// required uint64 ulTime = 4;
|
|
|
|
|
if (has_ultime()) {
|
|
|
|
|
::google::protobuf::internal::WireFormatLite::WriteUInt64(4, this->ultime(), output);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if (!unknown_fields().empty()) {
|
|
|
|
|
::google::protobuf::internal::WireFormat::SerializeUnknownFields(
|
|
|
|
|
unknown_fields(), output);
|
|
|
|
|
}
|
2025-03-12 14:17:53 +08:00
|
|
|
// @@protoc_insertion_point(serialize_end:iot_idl.SFesFwDiValue)
|
2025-03-12 10:03:16 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
::google::protobuf::uint8* SFesFwDiValue::SerializeWithCachedSizesToArray(
|
|
|
|
|
::google::protobuf::uint8* target) const {
|
2025-03-12 14:17:53 +08:00
|
|
|
// @@protoc_insertion_point(serialize_to_array_start:iot_idl.SFesFwDiValue)
|
2025-03-12 10:03:16 +08:00
|
|
|
// required int32 nPointNo = 1;
|
|
|
|
|
if (has_npointno()) {
|
|
|
|
|
target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->npointno(), target);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// required int32 nValue = 2;
|
|
|
|
|
if (has_nvalue()) {
|
|
|
|
|
target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->nvalue(), target);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// required uint32 uStatus = 3;
|
|
|
|
|
if (has_ustatus()) {
|
|
|
|
|
target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(3, this->ustatus(), target);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// required uint64 ulTime = 4;
|
|
|
|
|
if (has_ultime()) {
|
|
|
|
|
target = ::google::protobuf::internal::WireFormatLite::WriteUInt64ToArray(4, this->ultime(), target);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if (!unknown_fields().empty()) {
|
|
|
|
|
target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
|
|
|
|
|
unknown_fields(), target);
|
|
|
|
|
}
|
2025-03-12 14:17:53 +08:00
|
|
|
// @@protoc_insertion_point(serialize_to_array_end:iot_idl.SFesFwDiValue)
|
2025-03-12 10:03:16 +08:00
|
|
|
return target;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
int SFesFwDiValue::ByteSize() const {
|
|
|
|
|
int total_size = 0;
|
|
|
|
|
|
|
|
|
|
if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
|
|
|
|
|
// required int32 nPointNo = 1;
|
|
|
|
|
if (has_npointno()) {
|
|
|
|
|
total_size += 1 +
|
|
|
|
|
::google::protobuf::internal::WireFormatLite::Int32Size(
|
|
|
|
|
this->npointno());
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// required int32 nValue = 2;
|
|
|
|
|
if (has_nvalue()) {
|
|
|
|
|
total_size += 1 +
|
|
|
|
|
::google::protobuf::internal::WireFormatLite::Int32Size(
|
|
|
|
|
this->nvalue());
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// required uint32 uStatus = 3;
|
|
|
|
|
if (has_ustatus()) {
|
|
|
|
|
total_size += 1 +
|
|
|
|
|
::google::protobuf::internal::WireFormatLite::UInt32Size(
|
|
|
|
|
this->ustatus());
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// required uint64 ulTime = 4;
|
|
|
|
|
if (has_ultime()) {
|
|
|
|
|
total_size += 1 +
|
|
|
|
|
::google::protobuf::internal::WireFormatLite::UInt64Size(
|
|
|
|
|
this->ultime());
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
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 SFesFwDiValue::MergeFrom(const ::google::protobuf::Message& from) {
|
|
|
|
|
GOOGLE_CHECK_NE(&from, this);
|
|
|
|
|
const SFesFwDiValue* source =
|
|
|
|
|
::google::protobuf::internal::dynamic_cast_if_available<const SFesFwDiValue*>(
|
|
|
|
|
&from);
|
|
|
|
|
if (source == NULL) {
|
|
|
|
|
::google::protobuf::internal::ReflectionOps::Merge(from, this);
|
|
|
|
|
} else {
|
|
|
|
|
MergeFrom(*source);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void SFesFwDiValue::MergeFrom(const SFesFwDiValue& from) {
|
|
|
|
|
GOOGLE_CHECK_NE(&from, this);
|
|
|
|
|
if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
|
|
|
|
|
if (from.has_npointno()) {
|
|
|
|
|
set_npointno(from.npointno());
|
|
|
|
|
}
|
|
|
|
|
if (from.has_nvalue()) {
|
|
|
|
|
set_nvalue(from.nvalue());
|
|
|
|
|
}
|
|
|
|
|
if (from.has_ustatus()) {
|
|
|
|
|
set_ustatus(from.ustatus());
|
|
|
|
|
}
|
|
|
|
|
if (from.has_ultime()) {
|
|
|
|
|
set_ultime(from.ultime());
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
mutable_unknown_fields()->MergeFrom(from.unknown_fields());
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void SFesFwDiValue::CopyFrom(const ::google::protobuf::Message& from) {
|
|
|
|
|
if (&from == this) return;
|
|
|
|
|
Clear();
|
|
|
|
|
MergeFrom(from);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void SFesFwDiValue::CopyFrom(const SFesFwDiValue& from) {
|
|
|
|
|
if (&from == this) return;
|
|
|
|
|
Clear();
|
|
|
|
|
MergeFrom(from);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
bool SFesFwDiValue::IsInitialized() const {
|
|
|
|
|
if ((_has_bits_[0] & 0x0000000f) != 0x0000000f) return false;
|
|
|
|
|
|
|
|
|
|
return true;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void SFesFwDiValue::Swap(SFesFwDiValue* other) {
|
|
|
|
|
if (other != this) {
|
|
|
|
|
std::swap(npointno_, other->npointno_);
|
|
|
|
|
std::swap(nvalue_, other->nvalue_);
|
|
|
|
|
std::swap(ustatus_, other->ustatus_);
|
|
|
|
|
std::swap(ultime_, other->ultime_);
|
|
|
|
|
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 SFesFwDiValue::GetMetadata() const {
|
|
|
|
|
protobuf_AssignDescriptorsOnce();
|
|
|
|
|
::google::protobuf::Metadata metadata;
|
|
|
|
|
metadata.descriptor = SFesFwDiValue_descriptor_;
|
|
|
|
|
metadata.reflection = SFesFwDiValue_reflection_;
|
|
|
|
|
return metadata;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// ===================================================================
|
|
|
|
|
|
|
|
|
|
#ifndef _MSC_VER
|
|
|
|
|
const int SFesFwAccValue::kNPointNoFieldNumber;
|
2025-03-13 11:17:56 +08:00
|
|
|
const int SFesFwAccValue::kDValueFieldNumber;
|
2025-03-12 10:03:16 +08:00
|
|
|
const int SFesFwAccValue::kUStatusFieldNumber;
|
|
|
|
|
const int SFesFwAccValue::kUlTimeFieldNumber;
|
|
|
|
|
#endif // !_MSC_VER
|
|
|
|
|
|
|
|
|
|
SFesFwAccValue::SFesFwAccValue()
|
|
|
|
|
: ::google::protobuf::Message() {
|
|
|
|
|
SharedCtor();
|
2025-03-12 14:17:53 +08:00
|
|
|
// @@protoc_insertion_point(constructor:iot_idl.SFesFwAccValue)
|
2025-03-12 10:03:16 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void SFesFwAccValue::InitAsDefaultInstance() {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
SFesFwAccValue::SFesFwAccValue(const SFesFwAccValue& from)
|
|
|
|
|
: ::google::protobuf::Message() {
|
|
|
|
|
SharedCtor();
|
|
|
|
|
MergeFrom(from);
|
2025-03-12 14:17:53 +08:00
|
|
|
// @@protoc_insertion_point(copy_constructor:iot_idl.SFesFwAccValue)
|
2025-03-12 10:03:16 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void SFesFwAccValue::SharedCtor() {
|
|
|
|
|
_cached_size_ = 0;
|
|
|
|
|
npointno_ = 0;
|
2025-03-13 11:17:56 +08:00
|
|
|
dvalue_ = 0;
|
2025-03-12 10:03:16 +08:00
|
|
|
ustatus_ = 0u;
|
|
|
|
|
ultime_ = GOOGLE_ULONGLONG(0);
|
|
|
|
|
::memset(_has_bits_, 0, sizeof(_has_bits_));
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
SFesFwAccValue::~SFesFwAccValue() {
|
2025-03-12 14:17:53 +08:00
|
|
|
// @@protoc_insertion_point(destructor:iot_idl.SFesFwAccValue)
|
2025-03-12 10:03:16 +08:00
|
|
|
SharedDtor();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void SFesFwAccValue::SharedDtor() {
|
|
|
|
|
if (this != default_instance_) {
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void SFesFwAccValue::SetCachedSize(int size) const {
|
|
|
|
|
GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
|
|
|
|
|
_cached_size_ = size;
|
|
|
|
|
GOOGLE_SAFE_CONCURRENT_WRITES_END();
|
|
|
|
|
}
|
|
|
|
|
const ::google::protobuf::Descriptor* SFesFwAccValue::descriptor() {
|
|
|
|
|
protobuf_AssignDescriptorsOnce();
|
|
|
|
|
return SFesFwAccValue_descriptor_;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
const SFesFwAccValue& SFesFwAccValue::default_instance() {
|
|
|
|
|
if (default_instance_ == NULL) protobuf_AddDesc_FesFwMessage_2eproto();
|
|
|
|
|
return *default_instance_;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
SFesFwAccValue* SFesFwAccValue::default_instance_ = NULL;
|
|
|
|
|
|
|
|
|
|
SFesFwAccValue* SFesFwAccValue::New() const {
|
|
|
|
|
return new SFesFwAccValue;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void SFesFwAccValue::Clear() {
|
|
|
|
|
#define OFFSET_OF_FIELD_(f) (reinterpret_cast<char*>( \
|
|
|
|
|
&reinterpret_cast<SFesFwAccValue*>(16)->f) - \
|
|
|
|
|
reinterpret_cast<char*>(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)
|
|
|
|
|
|
2025-03-13 11:17:56 +08:00
|
|
|
ZR_(dvalue_, ultime_);
|
2025-03-12 10:03:16 +08:00
|
|
|
|
|
|
|
|
#undef OFFSET_OF_FIELD_
|
|
|
|
|
#undef ZR_
|
|
|
|
|
|
|
|
|
|
::memset(_has_bits_, 0, sizeof(_has_bits_));
|
|
|
|
|
mutable_unknown_fields()->Clear();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
bool SFesFwAccValue::MergePartialFromCodedStream(
|
|
|
|
|
::google::protobuf::io::CodedInputStream* input) {
|
|
|
|
|
#define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
|
|
|
|
|
::google::protobuf::uint32 tag;
|
2025-03-12 14:17:53 +08:00
|
|
|
// @@protoc_insertion_point(parse_start:iot_idl.SFesFwAccValue)
|
2025-03-12 10:03:16 +08:00
|
|
|
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 nPointNo = 1;
|
|
|
|
|
case 1: {
|
|
|
|
|
if (tag == 8) {
|
|
|
|
|
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
|
|
|
|
|
::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
|
|
|
|
|
input, &npointno_)));
|
|
|
|
|
set_has_npointno();
|
|
|
|
|
} else {
|
|
|
|
|
goto handle_unusual;
|
|
|
|
|
}
|
2025-03-13 11:17:56 +08:00
|
|
|
if (input->ExpectTag(17)) goto parse_dValue;
|
2025-03-12 10:03:16 +08:00
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
|
2025-03-13 11:17:56 +08:00
|
|
|
// required double dValue = 2;
|
2025-03-12 10:03:16 +08:00
|
|
|
case 2: {
|
2025-03-13 11:17:56 +08:00
|
|
|
if (tag == 17) {
|
|
|
|
|
parse_dValue:
|
2025-03-12 10:03:16 +08:00
|
|
|
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
|
2025-03-13 11:17:56 +08:00
|
|
|
double, ::google::protobuf::internal::WireFormatLite::TYPE_DOUBLE>(
|
|
|
|
|
input, &dvalue_)));
|
|
|
|
|
set_has_dvalue();
|
2025-03-12 10:03:16 +08:00
|
|
|
} else {
|
|
|
|
|
goto handle_unusual;
|
|
|
|
|
}
|
|
|
|
|
if (input->ExpectTag(24)) goto parse_uStatus;
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// required uint32 uStatus = 3;
|
|
|
|
|
case 3: {
|
|
|
|
|
if (tag == 24) {
|
|
|
|
|
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->ExpectTag(32)) goto parse_ulTime;
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// required uint64 ulTime = 4;
|
|
|
|
|
case 4: {
|
|
|
|
|
if (tag == 32) {
|
|
|
|
|
parse_ulTime:
|
|
|
|
|
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
|
|
|
|
|
::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_UINT64>(
|
|
|
|
|
input, &ultime_)));
|
|
|
|
|
set_has_ultime();
|
|
|
|
|
} 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:
|
2025-03-12 14:17:53 +08:00
|
|
|
// @@protoc_insertion_point(parse_success:iot_idl.SFesFwAccValue)
|
2025-03-12 10:03:16 +08:00
|
|
|
return true;
|
|
|
|
|
failure:
|
2025-03-12 14:17:53 +08:00
|
|
|
// @@protoc_insertion_point(parse_failure:iot_idl.SFesFwAccValue)
|
2025-03-12 10:03:16 +08:00
|
|
|
return false;
|
|
|
|
|
#undef DO_
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void SFesFwAccValue::SerializeWithCachedSizes(
|
|
|
|
|
::google::protobuf::io::CodedOutputStream* output) const {
|
2025-03-12 14:17:53 +08:00
|
|
|
// @@protoc_insertion_point(serialize_start:iot_idl.SFesFwAccValue)
|
2025-03-12 10:03:16 +08:00
|
|
|
// required int32 nPointNo = 1;
|
|
|
|
|
if (has_npointno()) {
|
|
|
|
|
::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->npointno(), output);
|
|
|
|
|
}
|
|
|
|
|
|
2025-03-13 11:17:56 +08:00
|
|
|
// required double dValue = 2;
|
|
|
|
|
if (has_dvalue()) {
|
|
|
|
|
::google::protobuf::internal::WireFormatLite::WriteDouble(2, this->dvalue(), output);
|
2025-03-12 10:03:16 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// required uint32 uStatus = 3;
|
|
|
|
|
if (has_ustatus()) {
|
|
|
|
|
::google::protobuf::internal::WireFormatLite::WriteUInt32(3, this->ustatus(), output);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// required uint64 ulTime = 4;
|
|
|
|
|
if (has_ultime()) {
|
|
|
|
|
::google::protobuf::internal::WireFormatLite::WriteUInt64(4, this->ultime(), output);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if (!unknown_fields().empty()) {
|
|
|
|
|
::google::protobuf::internal::WireFormat::SerializeUnknownFields(
|
|
|
|
|
unknown_fields(), output);
|
|
|
|
|
}
|
2025-03-12 14:17:53 +08:00
|
|
|
// @@protoc_insertion_point(serialize_end:iot_idl.SFesFwAccValue)
|
2025-03-12 10:03:16 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
::google::protobuf::uint8* SFesFwAccValue::SerializeWithCachedSizesToArray(
|
|
|
|
|
::google::protobuf::uint8* target) const {
|
2025-03-12 14:17:53 +08:00
|
|
|
// @@protoc_insertion_point(serialize_to_array_start:iot_idl.SFesFwAccValue)
|
2025-03-12 10:03:16 +08:00
|
|
|
// required int32 nPointNo = 1;
|
|
|
|
|
if (has_npointno()) {
|
|
|
|
|
target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->npointno(), target);
|
|
|
|
|
}
|
|
|
|
|
|
2025-03-13 11:17:56 +08:00
|
|
|
// required double dValue = 2;
|
|
|
|
|
if (has_dvalue()) {
|
|
|
|
|
target = ::google::protobuf::internal::WireFormatLite::WriteDoubleToArray(2, this->dvalue(), target);
|
2025-03-12 10:03:16 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// required uint32 uStatus = 3;
|
|
|
|
|
if (has_ustatus()) {
|
|
|
|
|
target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(3, this->ustatus(), target);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// required uint64 ulTime = 4;
|
|
|
|
|
if (has_ultime()) {
|
|
|
|
|
target = ::google::protobuf::internal::WireFormatLite::WriteUInt64ToArray(4, this->ultime(), target);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if (!unknown_fields().empty()) {
|
|
|
|
|
target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
|
|
|
|
|
unknown_fields(), target);
|
|
|
|
|
}
|
2025-03-12 14:17:53 +08:00
|
|
|
// @@protoc_insertion_point(serialize_to_array_end:iot_idl.SFesFwAccValue)
|
2025-03-12 10:03:16 +08:00
|
|
|
return target;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
int SFesFwAccValue::ByteSize() const {
|
|
|
|
|
int total_size = 0;
|
|
|
|
|
|
|
|
|
|
if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
|
|
|
|
|
// required int32 nPointNo = 1;
|
|
|
|
|
if (has_npointno()) {
|
|
|
|
|
total_size += 1 +
|
|
|
|
|
::google::protobuf::internal::WireFormatLite::Int32Size(
|
|
|
|
|
this->npointno());
|
|
|
|
|
}
|
|
|
|
|
|
2025-03-13 11:17:56 +08:00
|
|
|
// required double dValue = 2;
|
|
|
|
|
if (has_dvalue()) {
|
|
|
|
|
total_size += 1 + 8;
|
2025-03-12 10:03:16 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// required uint32 uStatus = 3;
|
|
|
|
|
if (has_ustatus()) {
|
|
|
|
|
total_size += 1 +
|
|
|
|
|
::google::protobuf::internal::WireFormatLite::UInt32Size(
|
|
|
|
|
this->ustatus());
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// required uint64 ulTime = 4;
|
|
|
|
|
if (has_ultime()) {
|
|
|
|
|
total_size += 1 +
|
|
|
|
|
::google::protobuf::internal::WireFormatLite::UInt64Size(
|
|
|
|
|
this->ultime());
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
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 SFesFwAccValue::MergeFrom(const ::google::protobuf::Message& from) {
|
|
|
|
|
GOOGLE_CHECK_NE(&from, this);
|
|
|
|
|
const SFesFwAccValue* source =
|
|
|
|
|
::google::protobuf::internal::dynamic_cast_if_available<const SFesFwAccValue*>(
|
|
|
|
|
&from);
|
|
|
|
|
if (source == NULL) {
|
|
|
|
|
::google::protobuf::internal::ReflectionOps::Merge(from, this);
|
|
|
|
|
} else {
|
|
|
|
|
MergeFrom(*source);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void SFesFwAccValue::MergeFrom(const SFesFwAccValue& from) {
|
|
|
|
|
GOOGLE_CHECK_NE(&from, this);
|
|
|
|
|
if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
|
|
|
|
|
if (from.has_npointno()) {
|
|
|
|
|
set_npointno(from.npointno());
|
|
|
|
|
}
|
2025-03-13 11:17:56 +08:00
|
|
|
if (from.has_dvalue()) {
|
|
|
|
|
set_dvalue(from.dvalue());
|
2025-03-12 10:03:16 +08:00
|
|
|
}
|
|
|
|
|
if (from.has_ustatus()) {
|
|
|
|
|
set_ustatus(from.ustatus());
|
|
|
|
|
}
|
|
|
|
|
if (from.has_ultime()) {
|
|
|
|
|
set_ultime(from.ultime());
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
mutable_unknown_fields()->MergeFrom(from.unknown_fields());
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void SFesFwAccValue::CopyFrom(const ::google::protobuf::Message& from) {
|
|
|
|
|
if (&from == this) return;
|
|
|
|
|
Clear();
|
|
|
|
|
MergeFrom(from);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void SFesFwAccValue::CopyFrom(const SFesFwAccValue& from) {
|
|
|
|
|
if (&from == this) return;
|
|
|
|
|
Clear();
|
|
|
|
|
MergeFrom(from);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
bool SFesFwAccValue::IsInitialized() const {
|
|
|
|
|
if ((_has_bits_[0] & 0x0000000f) != 0x0000000f) return false;
|
|
|
|
|
|
|
|
|
|
return true;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void SFesFwAccValue::Swap(SFesFwAccValue* other) {
|
|
|
|
|
if (other != this) {
|
|
|
|
|
std::swap(npointno_, other->npointno_);
|
2025-03-13 11:17:56 +08:00
|
|
|
std::swap(dvalue_, other->dvalue_);
|
2025-03-12 10:03:16 +08:00
|
|
|
std::swap(ustatus_, other->ustatus_);
|
|
|
|
|
std::swap(ultime_, other->ultime_);
|
|
|
|
|
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 SFesFwAccValue::GetMetadata() const {
|
|
|
|
|
protobuf_AssignDescriptorsOnce();
|
|
|
|
|
::google::protobuf::Metadata metadata;
|
|
|
|
|
metadata.descriptor = SFesFwAccValue_descriptor_;
|
|
|
|
|
metadata.reflection = SFesFwAccValue_reflection_;
|
|
|
|
|
return metadata;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// ===================================================================
|
|
|
|
|
|
|
|
|
|
#ifndef _MSC_VER
|
|
|
|
|
const int SFesFwMiValue::kNPointNoFieldNumber;
|
|
|
|
|
const int SFesFwMiValue::kNValueFieldNumber;
|
|
|
|
|
const int SFesFwMiValue::kUStatusFieldNumber;
|
|
|
|
|
const int SFesFwMiValue::kUlTimeFieldNumber;
|
|
|
|
|
#endif // !_MSC_VER
|
|
|
|
|
|
|
|
|
|
SFesFwMiValue::SFesFwMiValue()
|
|
|
|
|
: ::google::protobuf::Message() {
|
|
|
|
|
SharedCtor();
|
2025-03-12 14:17:53 +08:00
|
|
|
// @@protoc_insertion_point(constructor:iot_idl.SFesFwMiValue)
|
2025-03-12 10:03:16 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void SFesFwMiValue::InitAsDefaultInstance() {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
SFesFwMiValue::SFesFwMiValue(const SFesFwMiValue& from)
|
|
|
|
|
: ::google::protobuf::Message() {
|
|
|
|
|
SharedCtor();
|
|
|
|
|
MergeFrom(from);
|
2025-03-12 14:17:53 +08:00
|
|
|
// @@protoc_insertion_point(copy_constructor:iot_idl.SFesFwMiValue)
|
2025-03-12 10:03:16 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void SFesFwMiValue::SharedCtor() {
|
|
|
|
|
_cached_size_ = 0;
|
|
|
|
|
npointno_ = 0;
|
|
|
|
|
nvalue_ = 0;
|
|
|
|
|
ustatus_ = 0u;
|
|
|
|
|
ultime_ = GOOGLE_ULONGLONG(0);
|
|
|
|
|
::memset(_has_bits_, 0, sizeof(_has_bits_));
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
SFesFwMiValue::~SFesFwMiValue() {
|
2025-03-12 14:17:53 +08:00
|
|
|
// @@protoc_insertion_point(destructor:iot_idl.SFesFwMiValue)
|
2025-03-12 10:03:16 +08:00
|
|
|
SharedDtor();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void SFesFwMiValue::SharedDtor() {
|
|
|
|
|
if (this != default_instance_) {
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void SFesFwMiValue::SetCachedSize(int size) const {
|
|
|
|
|
GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
|
|
|
|
|
_cached_size_ = size;
|
|
|
|
|
GOOGLE_SAFE_CONCURRENT_WRITES_END();
|
|
|
|
|
}
|
|
|
|
|
const ::google::protobuf::Descriptor* SFesFwMiValue::descriptor() {
|
|
|
|
|
protobuf_AssignDescriptorsOnce();
|
|
|
|
|
return SFesFwMiValue_descriptor_;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
const SFesFwMiValue& SFesFwMiValue::default_instance() {
|
|
|
|
|
if (default_instance_ == NULL) protobuf_AddDesc_FesFwMessage_2eproto();
|
|
|
|
|
return *default_instance_;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
SFesFwMiValue* SFesFwMiValue::default_instance_ = NULL;
|
|
|
|
|
|
|
|
|
|
SFesFwMiValue* SFesFwMiValue::New() const {
|
|
|
|
|
return new SFesFwMiValue;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void SFesFwMiValue::Clear() {
|
|
|
|
|
#define OFFSET_OF_FIELD_(f) (reinterpret_cast<char*>( \
|
|
|
|
|
&reinterpret_cast<SFesFwMiValue*>(16)->f) - \
|
|
|
|
|
reinterpret_cast<char*>(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)
|
|
|
|
|
|
|
|
|
|
ZR_(npointno_, ustatus_);
|
|
|
|
|
|
|
|
|
|
#undef OFFSET_OF_FIELD_
|
|
|
|
|
#undef ZR_
|
|
|
|
|
|
|
|
|
|
::memset(_has_bits_, 0, sizeof(_has_bits_));
|
|
|
|
|
mutable_unknown_fields()->Clear();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
bool SFesFwMiValue::MergePartialFromCodedStream(
|
|
|
|
|
::google::protobuf::io::CodedInputStream* input) {
|
|
|
|
|
#define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
|
|
|
|
|
::google::protobuf::uint32 tag;
|
2025-03-12 14:17:53 +08:00
|
|
|
// @@protoc_insertion_point(parse_start:iot_idl.SFesFwMiValue)
|
2025-03-12 10:03:16 +08:00
|
|
|
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 nPointNo = 1;
|
|
|
|
|
case 1: {
|
|
|
|
|
if (tag == 8) {
|
|
|
|
|
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
|
|
|
|
|
::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
|
|
|
|
|
input, &npointno_)));
|
|
|
|
|
set_has_npointno();
|
|
|
|
|
} else {
|
|
|
|
|
goto handle_unusual;
|
|
|
|
|
}
|
|
|
|
|
if (input->ExpectTag(16)) goto parse_nValue;
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// required int32 nValue = 2;
|
|
|
|
|
case 2: {
|
|
|
|
|
if (tag == 16) {
|
|
|
|
|
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(24)) goto parse_uStatus;
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// required uint32 uStatus = 3;
|
|
|
|
|
case 3: {
|
|
|
|
|
if (tag == 24) {
|
|
|
|
|
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->ExpectTag(32)) goto parse_ulTime;
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// required uint64 ulTime = 4;
|
|
|
|
|
case 4: {
|
|
|
|
|
if (tag == 32) {
|
|
|
|
|
parse_ulTime:
|
|
|
|
|
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
|
|
|
|
|
::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_UINT64>(
|
|
|
|
|
input, &ultime_)));
|
|
|
|
|
set_has_ultime();
|
|
|
|
|
} 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:
|
2025-03-12 14:17:53 +08:00
|
|
|
// @@protoc_insertion_point(parse_success:iot_idl.SFesFwMiValue)
|
2025-03-12 10:03:16 +08:00
|
|
|
return true;
|
|
|
|
|
failure:
|
2025-03-12 14:17:53 +08:00
|
|
|
// @@protoc_insertion_point(parse_failure:iot_idl.SFesFwMiValue)
|
2025-03-12 10:03:16 +08:00
|
|
|
return false;
|
|
|
|
|
#undef DO_
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void SFesFwMiValue::SerializeWithCachedSizes(
|
|
|
|
|
::google::protobuf::io::CodedOutputStream* output) const {
|
2025-03-12 14:17:53 +08:00
|
|
|
// @@protoc_insertion_point(serialize_start:iot_idl.SFesFwMiValue)
|
2025-03-12 10:03:16 +08:00
|
|
|
// required int32 nPointNo = 1;
|
|
|
|
|
if (has_npointno()) {
|
|
|
|
|
::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->npointno(), output);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// required int32 nValue = 2;
|
|
|
|
|
if (has_nvalue()) {
|
|
|
|
|
::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->nvalue(), output);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// required uint32 uStatus = 3;
|
|
|
|
|
if (has_ustatus()) {
|
|
|
|
|
::google::protobuf::internal::WireFormatLite::WriteUInt32(3, this->ustatus(), output);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// required uint64 ulTime = 4;
|
|
|
|
|
if (has_ultime()) {
|
|
|
|
|
::google::protobuf::internal::WireFormatLite::WriteUInt64(4, this->ultime(), output);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if (!unknown_fields().empty()) {
|
|
|
|
|
::google::protobuf::internal::WireFormat::SerializeUnknownFields(
|
|
|
|
|
unknown_fields(), output);
|
|
|
|
|
}
|
2025-03-12 14:17:53 +08:00
|
|
|
// @@protoc_insertion_point(serialize_end:iot_idl.SFesFwMiValue)
|
2025-03-12 10:03:16 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
::google::protobuf::uint8* SFesFwMiValue::SerializeWithCachedSizesToArray(
|
|
|
|
|
::google::protobuf::uint8* target) const {
|
2025-03-12 14:17:53 +08:00
|
|
|
// @@protoc_insertion_point(serialize_to_array_start:iot_idl.SFesFwMiValue)
|
2025-03-12 10:03:16 +08:00
|
|
|
// required int32 nPointNo = 1;
|
|
|
|
|
if (has_npointno()) {
|
|
|
|
|
target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->npointno(), target);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// required int32 nValue = 2;
|
|
|
|
|
if (has_nvalue()) {
|
|
|
|
|
target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->nvalue(), target);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// required uint32 uStatus = 3;
|
|
|
|
|
if (has_ustatus()) {
|
|
|
|
|
target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(3, this->ustatus(), target);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// required uint64 ulTime = 4;
|
|
|
|
|
if (has_ultime()) {
|
|
|
|
|
target = ::google::protobuf::internal::WireFormatLite::WriteUInt64ToArray(4, this->ultime(), target);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if (!unknown_fields().empty()) {
|
|
|
|
|
target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
|
|
|
|
|
unknown_fields(), target);
|
|
|
|
|
}
|
2025-03-12 14:17:53 +08:00
|
|
|
// @@protoc_insertion_point(serialize_to_array_end:iot_idl.SFesFwMiValue)
|
2025-03-12 10:03:16 +08:00
|
|
|
return target;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
int SFesFwMiValue::ByteSize() const {
|
|
|
|
|
int total_size = 0;
|
|
|
|
|
|
|
|
|
|
if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
|
|
|
|
|
// required int32 nPointNo = 1;
|
|
|
|
|
if (has_npointno()) {
|
|
|
|
|
total_size += 1 +
|
|
|
|
|
::google::protobuf::internal::WireFormatLite::Int32Size(
|
|
|
|
|
this->npointno());
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// required int32 nValue = 2;
|
|
|
|
|
if (has_nvalue()) {
|
|
|
|
|
total_size += 1 +
|
|
|
|
|
::google::protobuf::internal::WireFormatLite::Int32Size(
|
|
|
|
|
this->nvalue());
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// required uint32 uStatus = 3;
|
|
|
|
|
if (has_ustatus()) {
|
|
|
|
|
total_size += 1 +
|
|
|
|
|
::google::protobuf::internal::WireFormatLite::UInt32Size(
|
|
|
|
|
this->ustatus());
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// required uint64 ulTime = 4;
|
|
|
|
|
if (has_ultime()) {
|
|
|
|
|
total_size += 1 +
|
|
|
|
|
::google::protobuf::internal::WireFormatLite::UInt64Size(
|
|
|
|
|
this->ultime());
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
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 SFesFwMiValue::MergeFrom(const ::google::protobuf::Message& from) {
|
|
|
|
|
GOOGLE_CHECK_NE(&from, this);
|
|
|
|
|
const SFesFwMiValue* source =
|
|
|
|
|
::google::protobuf::internal::dynamic_cast_if_available<const SFesFwMiValue*>(
|
|
|
|
|
&from);
|
|
|
|
|
if (source == NULL) {
|
|
|
|
|
::google::protobuf::internal::ReflectionOps::Merge(from, this);
|
|
|
|
|
} else {
|
|
|
|
|
MergeFrom(*source);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void SFesFwMiValue::MergeFrom(const SFesFwMiValue& from) {
|
|
|
|
|
GOOGLE_CHECK_NE(&from, this);
|
|
|
|
|
if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
|
|
|
|
|
if (from.has_npointno()) {
|
|
|
|
|
set_npointno(from.npointno());
|
|
|
|
|
}
|
|
|
|
|
if (from.has_nvalue()) {
|
|
|
|
|
set_nvalue(from.nvalue());
|
|
|
|
|
}
|
|
|
|
|
if (from.has_ustatus()) {
|
|
|
|
|
set_ustatus(from.ustatus());
|
|
|
|
|
}
|
|
|
|
|
if (from.has_ultime()) {
|
|
|
|
|
set_ultime(from.ultime());
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
mutable_unknown_fields()->MergeFrom(from.unknown_fields());
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void SFesFwMiValue::CopyFrom(const ::google::protobuf::Message& from) {
|
|
|
|
|
if (&from == this) return;
|
|
|
|
|
Clear();
|
|
|
|
|
MergeFrom(from);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void SFesFwMiValue::CopyFrom(const SFesFwMiValue& from) {
|
|
|
|
|
if (&from == this) return;
|
|
|
|
|
Clear();
|
|
|
|
|
MergeFrom(from);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
bool SFesFwMiValue::IsInitialized() const {
|
|
|
|
|
if ((_has_bits_[0] & 0x0000000f) != 0x0000000f) return false;
|
|
|
|
|
|
|
|
|
|
return true;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void SFesFwMiValue::Swap(SFesFwMiValue* other) {
|
|
|
|
|
if (other != this) {
|
|
|
|
|
std::swap(npointno_, other->npointno_);
|
|
|
|
|
std::swap(nvalue_, other->nvalue_);
|
|
|
|
|
std::swap(ustatus_, other->ustatus_);
|
|
|
|
|
std::swap(ultime_, other->ultime_);
|
|
|
|
|
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 SFesFwMiValue::GetMetadata() const {
|
|
|
|
|
protobuf_AssignDescriptorsOnce();
|
|
|
|
|
::google::protobuf::Metadata metadata;
|
|
|
|
|
metadata.descriptor = SFesFwMiValue_descriptor_;
|
|
|
|
|
metadata.reflection = SFesFwMiValue_reflection_;
|
|
|
|
|
return metadata;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// ===================================================================
|
|
|
|
|
|
|
|
|
|
#ifndef _MSC_VER
|
|
|
|
|
const int SFesWfStatus::kNSrcRtuNoFieldNumber;
|
|
|
|
|
const int SFesWfStatus::kNSrcPointNoFieldNumber;
|
|
|
|
|
const int SFesWfStatus::kNStatusFieldNumber;
|
|
|
|
|
#endif // !_MSC_VER
|
|
|
|
|
|
|
|
|
|
SFesWfStatus::SFesWfStatus()
|
|
|
|
|
: ::google::protobuf::Message() {
|
|
|
|
|
SharedCtor();
|
2025-03-12 14:17:53 +08:00
|
|
|
// @@protoc_insertion_point(constructor:iot_idl.SFesWfStatus)
|
2025-03-12 10:03:16 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void SFesWfStatus::InitAsDefaultInstance() {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
SFesWfStatus::SFesWfStatus(const SFesWfStatus& from)
|
|
|
|
|
: ::google::protobuf::Message() {
|
|
|
|
|
SharedCtor();
|
|
|
|
|
MergeFrom(from);
|
2025-03-12 14:17:53 +08:00
|
|
|
// @@protoc_insertion_point(copy_constructor:iot_idl.SFesWfStatus)
|
2025-03-12 10:03:16 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void SFesWfStatus::SharedCtor() {
|
|
|
|
|
_cached_size_ = 0;
|
|
|
|
|
nsrcrtuno_ = 0;
|
|
|
|
|
nsrcpointno_ = 0;
|
|
|
|
|
nstatus_ = 0u;
|
|
|
|
|
::memset(_has_bits_, 0, sizeof(_has_bits_));
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
SFesWfStatus::~SFesWfStatus() {
|
2025-03-12 14:17:53 +08:00
|
|
|
// @@protoc_insertion_point(destructor:iot_idl.SFesWfStatus)
|
2025-03-12 10:03:16 +08:00
|
|
|
SharedDtor();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void SFesWfStatus::SharedDtor() {
|
|
|
|
|
if (this != default_instance_) {
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void SFesWfStatus::SetCachedSize(int size) const {
|
|
|
|
|
GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
|
|
|
|
|
_cached_size_ = size;
|
|
|
|
|
GOOGLE_SAFE_CONCURRENT_WRITES_END();
|
|
|
|
|
}
|
|
|
|
|
const ::google::protobuf::Descriptor* SFesWfStatus::descriptor() {
|
|
|
|
|
protobuf_AssignDescriptorsOnce();
|
|
|
|
|
return SFesWfStatus_descriptor_;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
const SFesWfStatus& SFesWfStatus::default_instance() {
|
|
|
|
|
if (default_instance_ == NULL) protobuf_AddDesc_FesFwMessage_2eproto();
|
|
|
|
|
return *default_instance_;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
SFesWfStatus* SFesWfStatus::default_instance_ = NULL;
|
|
|
|
|
|
|
|
|
|
SFesWfStatus* SFesWfStatus::New() const {
|
|
|
|
|
return new SFesWfStatus;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void SFesWfStatus::Clear() {
|
|
|
|
|
#define OFFSET_OF_FIELD_(f) (reinterpret_cast<char*>( \
|
|
|
|
|
&reinterpret_cast<SFesWfStatus*>(16)->f) - \
|
|
|
|
|
reinterpret_cast<char*>(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)
|
|
|
|
|
|
|
|
|
|
ZR_(nsrcrtuno_, nstatus_);
|
|
|
|
|
|
|
|
|
|
#undef OFFSET_OF_FIELD_
|
|
|
|
|
#undef ZR_
|
|
|
|
|
|
|
|
|
|
::memset(_has_bits_, 0, sizeof(_has_bits_));
|
|
|
|
|
mutable_unknown_fields()->Clear();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
bool SFesWfStatus::MergePartialFromCodedStream(
|
|
|
|
|
::google::protobuf::io::CodedInputStream* input) {
|
|
|
|
|
#define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
|
|
|
|
|
::google::protobuf::uint32 tag;
|
2025-03-12 14:17:53 +08:00
|
|
|
// @@protoc_insertion_point(parse_start:iot_idl.SFesWfStatus)
|
2025-03-12 10:03:16 +08:00
|
|
|
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 nSrcRtuNo = 1;
|
|
|
|
|
case 1: {
|
|
|
|
|
if (tag == 8) {
|
|
|
|
|
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
|
|
|
|
|
::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
|
|
|
|
|
input, &nsrcrtuno_)));
|
|
|
|
|
set_has_nsrcrtuno();
|
|
|
|
|
} else {
|
|
|
|
|
goto handle_unusual;
|
|
|
|
|
}
|
|
|
|
|
if (input->ExpectTag(16)) goto parse_nSrcPointNo;
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// required int32 nSrcPointNo = 2;
|
|
|
|
|
case 2: {
|
|
|
|
|
if (tag == 16) {
|
|
|
|
|
parse_nSrcPointNo:
|
|
|
|
|
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
|
|
|
|
|
::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
|
|
|
|
|
input, &nsrcpointno_)));
|
|
|
|
|
set_has_nsrcpointno();
|
|
|
|
|
} else {
|
|
|
|
|
goto handle_unusual;
|
|
|
|
|
}
|
|
|
|
|
if (input->ExpectTag(24)) goto parse_nStatus;
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// required uint32 nStatus = 3;
|
|
|
|
|
case 3: {
|
|
|
|
|
if (tag == 24) {
|
|
|
|
|
parse_nStatus:
|
|
|
|
|
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
|
|
|
|
|
::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
|
|
|
|
|
input, &nstatus_)));
|
|
|
|
|
set_has_nstatus();
|
|
|
|
|
} 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:
|
2025-03-12 14:17:53 +08:00
|
|
|
// @@protoc_insertion_point(parse_success:iot_idl.SFesWfStatus)
|
2025-03-12 10:03:16 +08:00
|
|
|
return true;
|
|
|
|
|
failure:
|
2025-03-12 14:17:53 +08:00
|
|
|
// @@protoc_insertion_point(parse_failure:iot_idl.SFesWfStatus)
|
2025-03-12 10:03:16 +08:00
|
|
|
return false;
|
|
|
|
|
#undef DO_
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void SFesWfStatus::SerializeWithCachedSizes(
|
|
|
|
|
::google::protobuf::io::CodedOutputStream* output) const {
|
2025-03-12 14:17:53 +08:00
|
|
|
// @@protoc_insertion_point(serialize_start:iot_idl.SFesWfStatus)
|
2025-03-12 10:03:16 +08:00
|
|
|
// required int32 nSrcRtuNo = 1;
|
|
|
|
|
if (has_nsrcrtuno()) {
|
|
|
|
|
::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->nsrcrtuno(), output);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// required int32 nSrcPointNo = 2;
|
|
|
|
|
if (has_nsrcpointno()) {
|
|
|
|
|
::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->nsrcpointno(), output);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// required uint32 nStatus = 3;
|
|
|
|
|
if (has_nstatus()) {
|
|
|
|
|
::google::protobuf::internal::WireFormatLite::WriteUInt32(3, this->nstatus(), output);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if (!unknown_fields().empty()) {
|
|
|
|
|
::google::protobuf::internal::WireFormat::SerializeUnknownFields(
|
|
|
|
|
unknown_fields(), output);
|
|
|
|
|
}
|
2025-03-12 14:17:53 +08:00
|
|
|
// @@protoc_insertion_point(serialize_end:iot_idl.SFesWfStatus)
|
2025-03-12 10:03:16 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
::google::protobuf::uint8* SFesWfStatus::SerializeWithCachedSizesToArray(
|
|
|
|
|
::google::protobuf::uint8* target) const {
|
2025-03-12 14:17:53 +08:00
|
|
|
// @@protoc_insertion_point(serialize_to_array_start:iot_idl.SFesWfStatus)
|
2025-03-12 10:03:16 +08:00
|
|
|
// required int32 nSrcRtuNo = 1;
|
|
|
|
|
if (has_nsrcrtuno()) {
|
|
|
|
|
target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->nsrcrtuno(), target);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// required int32 nSrcPointNo = 2;
|
|
|
|
|
if (has_nsrcpointno()) {
|
|
|
|
|
target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->nsrcpointno(), target);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// required uint32 nStatus = 3;
|
|
|
|
|
if (has_nstatus()) {
|
|
|
|
|
target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(3, this->nstatus(), target);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if (!unknown_fields().empty()) {
|
|
|
|
|
target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
|
|
|
|
|
unknown_fields(), target);
|
|
|
|
|
}
|
2025-03-12 14:17:53 +08:00
|
|
|
// @@protoc_insertion_point(serialize_to_array_end:iot_idl.SFesWfStatus)
|
2025-03-12 10:03:16 +08:00
|
|
|
return target;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
int SFesWfStatus::ByteSize() const {
|
|
|
|
|
int total_size = 0;
|
|
|
|
|
|
|
|
|
|
if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
|
|
|
|
|
// required int32 nSrcRtuNo = 1;
|
|
|
|
|
if (has_nsrcrtuno()) {
|
|
|
|
|
total_size += 1 +
|
|
|
|
|
::google::protobuf::internal::WireFormatLite::Int32Size(
|
|
|
|
|
this->nsrcrtuno());
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// required int32 nSrcPointNo = 2;
|
|
|
|
|
if (has_nsrcpointno()) {
|
|
|
|
|
total_size += 1 +
|
|
|
|
|
::google::protobuf::internal::WireFormatLite::Int32Size(
|
|
|
|
|
this->nsrcpointno());
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// required uint32 nStatus = 3;
|
|
|
|
|
if (has_nstatus()) {
|
|
|
|
|
total_size += 1 +
|
|
|
|
|
::google::protobuf::internal::WireFormatLite::UInt32Size(
|
|
|
|
|
this->nstatus());
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
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 SFesWfStatus::MergeFrom(const ::google::protobuf::Message& from) {
|
|
|
|
|
GOOGLE_CHECK_NE(&from, this);
|
|
|
|
|
const SFesWfStatus* source =
|
|
|
|
|
::google::protobuf::internal::dynamic_cast_if_available<const SFesWfStatus*>(
|
|
|
|
|
&from);
|
|
|
|
|
if (source == NULL) {
|
|
|
|
|
::google::protobuf::internal::ReflectionOps::Merge(from, this);
|
|
|
|
|
} else {
|
|
|
|
|
MergeFrom(*source);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void SFesWfStatus::MergeFrom(const SFesWfStatus& from) {
|
|
|
|
|
GOOGLE_CHECK_NE(&from, this);
|
|
|
|
|
if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
|
|
|
|
|
if (from.has_nsrcrtuno()) {
|
|
|
|
|
set_nsrcrtuno(from.nsrcrtuno());
|
|
|
|
|
}
|
|
|
|
|
if (from.has_nsrcpointno()) {
|
|
|
|
|
set_nsrcpointno(from.nsrcpointno());
|
|
|
|
|
}
|
|
|
|
|
if (from.has_nstatus()) {
|
|
|
|
|
set_nstatus(from.nstatus());
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
mutable_unknown_fields()->MergeFrom(from.unknown_fields());
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void SFesWfStatus::CopyFrom(const ::google::protobuf::Message& from) {
|
|
|
|
|
if (&from == this) return;
|
|
|
|
|
Clear();
|
|
|
|
|
MergeFrom(from);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void SFesWfStatus::CopyFrom(const SFesWfStatus& from) {
|
|
|
|
|
if (&from == this) return;
|
|
|
|
|
Clear();
|
|
|
|
|
MergeFrom(from);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
bool SFesWfStatus::IsInitialized() const {
|
|
|
|
|
if ((_has_bits_[0] & 0x00000007) != 0x00000007) return false;
|
|
|
|
|
|
|
|
|
|
return true;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void SFesWfStatus::Swap(SFesWfStatus* other) {
|
|
|
|
|
if (other != this) {
|
|
|
|
|
std::swap(nsrcrtuno_, other->nsrcrtuno_);
|
|
|
|
|
std::swap(nsrcpointno_, other->nsrcpointno_);
|
|
|
|
|
std::swap(nstatus_, other->nstatus_);
|
|
|
|
|
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 SFesWfStatus::GetMetadata() const {
|
|
|
|
|
protobuf_AssignDescriptorsOnce();
|
|
|
|
|
::google::protobuf::Metadata metadata;
|
|
|
|
|
metadata.descriptor = SFesWfStatus_descriptor_;
|
|
|
|
|
metadata.reflection = SFesWfStatus_reflection_;
|
|
|
|
|
return metadata;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// ===================================================================
|
|
|
|
|
|
|
|
|
|
#ifndef _MSC_VER
|
|
|
|
|
const int SFesWfDoStatusPkg::kStDoStatusFieldNumber;
|
|
|
|
|
#endif // !_MSC_VER
|
|
|
|
|
|
|
|
|
|
SFesWfDoStatusPkg::SFesWfDoStatusPkg()
|
|
|
|
|
: ::google::protobuf::Message() {
|
|
|
|
|
SharedCtor();
|
2025-03-12 14:17:53 +08:00
|
|
|
// @@protoc_insertion_point(constructor:iot_idl.SFesWfDoStatusPkg)
|
2025-03-12 10:03:16 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void SFesWfDoStatusPkg::InitAsDefaultInstance() {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
SFesWfDoStatusPkg::SFesWfDoStatusPkg(const SFesWfDoStatusPkg& from)
|
|
|
|
|
: ::google::protobuf::Message() {
|
|
|
|
|
SharedCtor();
|
|
|
|
|
MergeFrom(from);
|
2025-03-12 14:17:53 +08:00
|
|
|
// @@protoc_insertion_point(copy_constructor:iot_idl.SFesWfDoStatusPkg)
|
2025-03-12 10:03:16 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void SFesWfDoStatusPkg::SharedCtor() {
|
|
|
|
|
_cached_size_ = 0;
|
|
|
|
|
::memset(_has_bits_, 0, sizeof(_has_bits_));
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
SFesWfDoStatusPkg::~SFesWfDoStatusPkg() {
|
2025-03-12 14:17:53 +08:00
|
|
|
// @@protoc_insertion_point(destructor:iot_idl.SFesWfDoStatusPkg)
|
2025-03-12 10:03:16 +08:00
|
|
|
SharedDtor();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void SFesWfDoStatusPkg::SharedDtor() {
|
|
|
|
|
if (this != default_instance_) {
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void SFesWfDoStatusPkg::SetCachedSize(int size) const {
|
|
|
|
|
GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
|
|
|
|
|
_cached_size_ = size;
|
|
|
|
|
GOOGLE_SAFE_CONCURRENT_WRITES_END();
|
|
|
|
|
}
|
|
|
|
|
const ::google::protobuf::Descriptor* SFesWfDoStatusPkg::descriptor() {
|
|
|
|
|
protobuf_AssignDescriptorsOnce();
|
|
|
|
|
return SFesWfDoStatusPkg_descriptor_;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
const SFesWfDoStatusPkg& SFesWfDoStatusPkg::default_instance() {
|
|
|
|
|
if (default_instance_ == NULL) protobuf_AddDesc_FesFwMessage_2eproto();
|
|
|
|
|
return *default_instance_;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
SFesWfDoStatusPkg* SFesWfDoStatusPkg::default_instance_ = NULL;
|
|
|
|
|
|
|
|
|
|
SFesWfDoStatusPkg* SFesWfDoStatusPkg::New() const {
|
|
|
|
|
return new SFesWfDoStatusPkg;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void SFesWfDoStatusPkg::Clear() {
|
|
|
|
|
stdostatus_.Clear();
|
|
|
|
|
::memset(_has_bits_, 0, sizeof(_has_bits_));
|
|
|
|
|
mutable_unknown_fields()->Clear();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
bool SFesWfDoStatusPkg::MergePartialFromCodedStream(
|
|
|
|
|
::google::protobuf::io::CodedInputStream* input) {
|
|
|
|
|
#define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
|
|
|
|
|
::google::protobuf::uint32 tag;
|
2025-03-12 14:17:53 +08:00
|
|
|
// @@protoc_insertion_point(parse_start:iot_idl.SFesWfDoStatusPkg)
|
2025-03-12 10:03:16 +08:00
|
|
|
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)) {
|
2025-03-12 14:17:53 +08:00
|
|
|
// repeated .iot_idl.SFesWfStatus stDoStatus = 1;
|
2025-03-12 10:03:16 +08:00
|
|
|
case 1: {
|
|
|
|
|
if (tag == 10) {
|
|
|
|
|
parse_stDoStatus:
|
|
|
|
|
DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
|
|
|
|
|
input, add_stdostatus()));
|
|
|
|
|
} else {
|
|
|
|
|
goto handle_unusual;
|
|
|
|
|
}
|
|
|
|
|
if (input->ExpectTag(10)) goto parse_stDoStatus;
|
|
|
|
|
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:
|
2025-03-12 14:17:53 +08:00
|
|
|
// @@protoc_insertion_point(parse_success:iot_idl.SFesWfDoStatusPkg)
|
2025-03-12 10:03:16 +08:00
|
|
|
return true;
|
|
|
|
|
failure:
|
2025-03-12 14:17:53 +08:00
|
|
|
// @@protoc_insertion_point(parse_failure:iot_idl.SFesWfDoStatusPkg)
|
2025-03-12 10:03:16 +08:00
|
|
|
return false;
|
|
|
|
|
#undef DO_
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void SFesWfDoStatusPkg::SerializeWithCachedSizes(
|
|
|
|
|
::google::protobuf::io::CodedOutputStream* output) const {
|
2025-03-12 14:17:53 +08:00
|
|
|
// @@protoc_insertion_point(serialize_start:iot_idl.SFesWfDoStatusPkg)
|
|
|
|
|
// repeated .iot_idl.SFesWfStatus stDoStatus = 1;
|
2025-03-12 10:03:16 +08:00
|
|
|
for (int i = 0; i < this->stdostatus_size(); i++) {
|
|
|
|
|
::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
|
|
|
|
|
1, this->stdostatus(i), output);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if (!unknown_fields().empty()) {
|
|
|
|
|
::google::protobuf::internal::WireFormat::SerializeUnknownFields(
|
|
|
|
|
unknown_fields(), output);
|
|
|
|
|
}
|
2025-03-12 14:17:53 +08:00
|
|
|
// @@protoc_insertion_point(serialize_end:iot_idl.SFesWfDoStatusPkg)
|
2025-03-12 10:03:16 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
::google::protobuf::uint8* SFesWfDoStatusPkg::SerializeWithCachedSizesToArray(
|
|
|
|
|
::google::protobuf::uint8* target) const {
|
2025-03-12 14:17:53 +08:00
|
|
|
// @@protoc_insertion_point(serialize_to_array_start:iot_idl.SFesWfDoStatusPkg)
|
|
|
|
|
// repeated .iot_idl.SFesWfStatus stDoStatus = 1;
|
2025-03-12 10:03:16 +08:00
|
|
|
for (int i = 0; i < this->stdostatus_size(); i++) {
|
|
|
|
|
target = ::google::protobuf::internal::WireFormatLite::
|
|
|
|
|
WriteMessageNoVirtualToArray(
|
|
|
|
|
1, this->stdostatus(i), target);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if (!unknown_fields().empty()) {
|
|
|
|
|
target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
|
|
|
|
|
unknown_fields(), target);
|
|
|
|
|
}
|
2025-03-12 14:17:53 +08:00
|
|
|
// @@protoc_insertion_point(serialize_to_array_end:iot_idl.SFesWfDoStatusPkg)
|
2025-03-12 10:03:16 +08:00
|
|
|
return target;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
int SFesWfDoStatusPkg::ByteSize() const {
|
|
|
|
|
int total_size = 0;
|
|
|
|
|
|
2025-03-12 14:17:53 +08:00
|
|
|
// repeated .iot_idl.SFesWfStatus stDoStatus = 1;
|
2025-03-12 10:03:16 +08:00
|
|
|
total_size += 1 * this->stdostatus_size();
|
|
|
|
|
for (int i = 0; i < this->stdostatus_size(); i++) {
|
|
|
|
|
total_size +=
|
|
|
|
|
::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
|
|
|
|
|
this->stdostatus(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 SFesWfDoStatusPkg::MergeFrom(const ::google::protobuf::Message& from) {
|
|
|
|
|
GOOGLE_CHECK_NE(&from, this);
|
|
|
|
|
const SFesWfDoStatusPkg* source =
|
|
|
|
|
::google::protobuf::internal::dynamic_cast_if_available<const SFesWfDoStatusPkg*>(
|
|
|
|
|
&from);
|
|
|
|
|
if (source == NULL) {
|
|
|
|
|
::google::protobuf::internal::ReflectionOps::Merge(from, this);
|
|
|
|
|
} else {
|
|
|
|
|
MergeFrom(*source);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void SFesWfDoStatusPkg::MergeFrom(const SFesWfDoStatusPkg& from) {
|
|
|
|
|
GOOGLE_CHECK_NE(&from, this);
|
|
|
|
|
stdostatus_.MergeFrom(from.stdostatus_);
|
|
|
|
|
mutable_unknown_fields()->MergeFrom(from.unknown_fields());
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void SFesWfDoStatusPkg::CopyFrom(const ::google::protobuf::Message& from) {
|
|
|
|
|
if (&from == this) return;
|
|
|
|
|
Clear();
|
|
|
|
|
MergeFrom(from);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void SFesWfDoStatusPkg::CopyFrom(const SFesWfDoStatusPkg& from) {
|
|
|
|
|
if (&from == this) return;
|
|
|
|
|
Clear();
|
|
|
|
|
MergeFrom(from);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
bool SFesWfDoStatusPkg::IsInitialized() const {
|
|
|
|
|
|
|
|
|
|
if (!::google::protobuf::internal::AllAreInitialized(this->stdostatus())) return false;
|
|
|
|
|
return true;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void SFesWfDoStatusPkg::Swap(SFesWfDoStatusPkg* other) {
|
|
|
|
|
if (other != this) {
|
|
|
|
|
stdostatus_.Swap(&other->stdostatus_);
|
|
|
|
|
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 SFesWfDoStatusPkg::GetMetadata() const {
|
|
|
|
|
protobuf_AssignDescriptorsOnce();
|
|
|
|
|
::google::protobuf::Metadata metadata;
|
|
|
|
|
metadata.descriptor = SFesWfDoStatusPkg_descriptor_;
|
|
|
|
|
metadata.reflection = SFesWfDoStatusPkg_reflection_;
|
|
|
|
|
return metadata;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// @@protoc_insertion_point(namespace_scope)
|
|
|
|
|
|
2025-03-12 14:17:53 +08:00
|
|
|
} // namespace iot_idl
|
2025-03-12 10:03:16 +08:00
|
|
|
|
|
|
|
|
// @@protoc_insertion_point(global_scope)
|