21479 lines
717 KiB
C++
21479 lines
717 KiB
C++
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
// source: FesMessage.proto
|
|
|
|
#define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION
|
|
#include "FesMessage.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)
|
|
|
|
namespace iot_idl {
|
|
|
|
namespace {
|
|
|
|
const ::google::protobuf::Descriptor* SFesRealPkgHead_descriptor_ = NULL;
|
|
const ::google::protobuf::internal::GeneratedMessageReflection*
|
|
SFesRealPkgHead_reflection_ = NULL;
|
|
const ::google::protobuf::Descriptor* SFesAiDataWithTm_descriptor_ = NULL;
|
|
const ::google::protobuf::internal::GeneratedMessageReflection*
|
|
SFesAiDataWithTm_reflection_ = NULL;
|
|
const ::google::protobuf::Descriptor* SFesAiDataWithoutTm_descriptor_ = NULL;
|
|
const ::google::protobuf::internal::GeneratedMessageReflection*
|
|
SFesAiDataWithoutTm_reflection_ = NULL;
|
|
const ::google::protobuf::Descriptor* SFesChangeAiPkg_descriptor_ = NULL;
|
|
const ::google::protobuf::internal::GeneratedMessageReflection*
|
|
SFesChangeAiPkg_reflection_ = NULL;
|
|
const ::google::protobuf::Descriptor* SFesUpdateAiPkg_descriptor_ = NULL;
|
|
const ::google::protobuf::internal::GeneratedMessageReflection*
|
|
SFesUpdateAiPkg_reflection_ = NULL;
|
|
const ::google::protobuf::Descriptor* SFesDiDataWithTm_descriptor_ = NULL;
|
|
const ::google::protobuf::internal::GeneratedMessageReflection*
|
|
SFesDiDataWithTm_reflection_ = NULL;
|
|
const ::google::protobuf::Descriptor* SFesDiDataWithoutTm_descriptor_ = NULL;
|
|
const ::google::protobuf::internal::GeneratedMessageReflection*
|
|
SFesDiDataWithoutTm_reflection_ = NULL;
|
|
const ::google::protobuf::Descriptor* SFesChangeDiPkg_descriptor_ = NULL;
|
|
const ::google::protobuf::internal::GeneratedMessageReflection*
|
|
SFesChangeDiPkg_reflection_ = NULL;
|
|
const ::google::protobuf::Descriptor* SFesUpdateDiPkg_descriptor_ = NULL;
|
|
const ::google::protobuf::internal::GeneratedMessageReflection*
|
|
SFesUpdateDiPkg_reflection_ = NULL;
|
|
const ::google::protobuf::Descriptor* SFesPiDataWithTm_descriptor_ = NULL;
|
|
const ::google::protobuf::internal::GeneratedMessageReflection*
|
|
SFesPiDataWithTm_reflection_ = NULL;
|
|
const ::google::protobuf::Descriptor* SFesPiDataWithoutTm_descriptor_ = NULL;
|
|
const ::google::protobuf::internal::GeneratedMessageReflection*
|
|
SFesPiDataWithoutTm_reflection_ = NULL;
|
|
const ::google::protobuf::Descriptor* SFesChangePiPkg_descriptor_ = NULL;
|
|
const ::google::protobuf::internal::GeneratedMessageReflection*
|
|
SFesChangePiPkg_reflection_ = NULL;
|
|
const ::google::protobuf::Descriptor* SFesUpdatePiPkg_descriptor_ = NULL;
|
|
const ::google::protobuf::internal::GeneratedMessageReflection*
|
|
SFesUpdatePiPkg_reflection_ = NULL;
|
|
const ::google::protobuf::Descriptor* SFesMiDataWithTm_descriptor_ = NULL;
|
|
const ::google::protobuf::internal::GeneratedMessageReflection*
|
|
SFesMiDataWithTm_reflection_ = NULL;
|
|
const ::google::protobuf::Descriptor* SFesMiDataWithoutTm_descriptor_ = NULL;
|
|
const ::google::protobuf::internal::GeneratedMessageReflection*
|
|
SFesMiDataWithoutTm_reflection_ = NULL;
|
|
const ::google::protobuf::Descriptor* SFesChangeMiPkg_descriptor_ = NULL;
|
|
const ::google::protobuf::internal::GeneratedMessageReflection*
|
|
SFesChangeMiPkg_reflection_ = NULL;
|
|
const ::google::protobuf::Descriptor* SFesUpdateMiPkg_descriptor_ = NULL;
|
|
const ::google::protobuf::internal::GeneratedMessageReflection*
|
|
SFesUpdateMiPkg_reflection_ = NULL;
|
|
const ::google::protobuf::Descriptor* SFesDoRequestPkg_descriptor_ = NULL;
|
|
const ::google::protobuf::internal::GeneratedMessageReflection*
|
|
SFesDoRequestPkg_reflection_ = NULL;
|
|
const ::google::protobuf::Descriptor* SFesAoRequestPkg_descriptor_ = NULL;
|
|
const ::google::protobuf::internal::GeneratedMessageReflection*
|
|
SFesAoRequestPkg_reflection_ = NULL;
|
|
const ::google::protobuf::Descriptor* SFesMoRequestPkg_descriptor_ = NULL;
|
|
const ::google::protobuf::internal::GeneratedMessageReflection*
|
|
SFesMoRequestPkg_reflection_ = NULL;
|
|
const ::google::protobuf::Descriptor* SFesCtrlRequestSeq_descriptor_ = NULL;
|
|
const ::google::protobuf::internal::GeneratedMessageReflection*
|
|
SFesCtrlRequestSeq_reflection_ = NULL;
|
|
const ::google::protobuf::Descriptor* SFesCtrlReplyPkg_descriptor_ = NULL;
|
|
const ::google::protobuf::internal::GeneratedMessageReflection*
|
|
SFesCtrlReplyPkg_reflection_ = NULL;
|
|
const ::google::protobuf::Descriptor* SFesCustCmdQueue_descriptor_ = NULL;
|
|
const ::google::protobuf::internal::GeneratedMessageReflection*
|
|
SFesCustCmdQueue_reflection_ = NULL;
|
|
const ::google::protobuf::Descriptor* SFesCustCmdRequestPkg_descriptor_ = NULL;
|
|
const ::google::protobuf::internal::GeneratedMessageReflection*
|
|
SFesCustCmdRequestPkg_reflection_ = NULL;
|
|
const ::google::protobuf::Descriptor* SFesCustCmdReplyPkg_descriptor_ = NULL;
|
|
const ::google::protobuf::internal::GeneratedMessageReflection*
|
|
SFesCustCmdReplyPkg_reflection_ = NULL;
|
|
const ::google::protobuf::Descriptor* SConstSetQueue_descriptor_ = NULL;
|
|
const ::google::protobuf::internal::GeneratedMessageReflection*
|
|
SConstSetQueue_reflection_ = NULL;
|
|
const ::google::protobuf::Descriptor* SFesConstSetRequestPkg_descriptor_ = NULL;
|
|
const ::google::protobuf::internal::GeneratedMessageReflection*
|
|
SFesConstSetRequestPkg_reflection_ = NULL;
|
|
const ::google::protobuf::Descriptor* SFesConstReadReplyPkg_descriptor_ = NULL;
|
|
const ::google::protobuf::internal::GeneratedMessageReflection*
|
|
SFesConstReadReplyPkg_reflection_ = NULL;
|
|
const ::google::protobuf::Descriptor* SFesChanStatusInfo_descriptor_ = NULL;
|
|
const ::google::protobuf::internal::GeneratedMessageReflection*
|
|
SFesChanStatusInfo_reflection_ = NULL;
|
|
const ::google::protobuf::Descriptor* SFesChanStatusPkg_descriptor_ = NULL;
|
|
const ::google::protobuf::internal::GeneratedMessageReflection*
|
|
SFesChanStatusPkg_reflection_ = NULL;
|
|
const ::google::protobuf::Descriptor* SFesRTUStatusInfo_descriptor_ = NULL;
|
|
const ::google::protobuf::internal::GeneratedMessageReflection*
|
|
SFesRTUStatusInfo_reflection_ = NULL;
|
|
const ::google::protobuf::Descriptor* SFesRTUStatusPkg_descriptor_ = NULL;
|
|
const ::google::protobuf::internal::GeneratedMessageReflection*
|
|
SFesRTUStatusPkg_reflection_ = NULL;
|
|
const ::google::protobuf::Descriptor* SFesSoeEventInfo_descriptor_ = NULL;
|
|
const ::google::protobuf::internal::GeneratedMessageReflection*
|
|
SFesSoeEventInfo_reflection_ = NULL;
|
|
const ::google::protobuf::Descriptor* SFesChanEventInfo_descriptor_ = NULL;
|
|
const ::google::protobuf::internal::GeneratedMessageReflection*
|
|
SFesChanEventInfo_reflection_ = NULL;
|
|
const ::google::protobuf::Descriptor* SFesRTUEventInfo_descriptor_ = NULL;
|
|
const ::google::protobuf::internal::GeneratedMessageReflection*
|
|
SFesRTUEventInfo_reflection_ = NULL;
|
|
const ::google::protobuf::Descriptor* SFesSoeEventPkg_descriptor_ = NULL;
|
|
const ::google::protobuf::internal::GeneratedMessageReflection*
|
|
SFesSoeEventPkg_reflection_ = NULL;
|
|
const ::google::protobuf::Descriptor* SFesChanEventPkg_descriptor_ = NULL;
|
|
const ::google::protobuf::internal::GeneratedMessageReflection*
|
|
SFesChanEventPkg_reflection_ = NULL;
|
|
const ::google::protobuf::Descriptor* SFesRTUEventPkg_descriptor_ = NULL;
|
|
const ::google::protobuf::internal::GeneratedMessageReflection*
|
|
SFesRTUEventPkg_reflection_ = NULL;
|
|
const ::google::protobuf::Descriptor* SFesAiValue_descriptor_ = NULL;
|
|
const ::google::protobuf::internal::GeneratedMessageReflection*
|
|
SFesAiValue_reflection_ = NULL;
|
|
const ::google::protobuf::Descriptor* SFesDiValue_descriptor_ = NULL;
|
|
const ::google::protobuf::internal::GeneratedMessageReflection*
|
|
SFesDiValue_reflection_ = NULL;
|
|
const ::google::protobuf::Descriptor* SFesPiValue_descriptor_ = NULL;
|
|
const ::google::protobuf::internal::GeneratedMessageReflection*
|
|
SFesPiValue_reflection_ = NULL;
|
|
const ::google::protobuf::Descriptor* SFesMiValue_descriptor_ = NULL;
|
|
const ::google::protobuf::internal::GeneratedMessageReflection*
|
|
SFesMiValue_reflection_ = NULL;
|
|
const ::google::protobuf::Descriptor* SFesValueReqPkg_descriptor_ = NULL;
|
|
const ::google::protobuf::internal::GeneratedMessageReflection*
|
|
SFesValueReqPkg_reflection_ = NULL;
|
|
const ::google::protobuf::Descriptor* SFesAiValueRespPkg_descriptor_ = NULL;
|
|
const ::google::protobuf::internal::GeneratedMessageReflection*
|
|
SFesAiValueRespPkg_reflection_ = NULL;
|
|
const ::google::protobuf::Descriptor* SFesDiValueRespPkg_descriptor_ = NULL;
|
|
const ::google::protobuf::internal::GeneratedMessageReflection*
|
|
SFesDiValueRespPkg_reflection_ = NULL;
|
|
const ::google::protobuf::Descriptor* SFesPiValueRespPkg_descriptor_ = NULL;
|
|
const ::google::protobuf::internal::GeneratedMessageReflection*
|
|
SFesPiValueRespPkg_reflection_ = NULL;
|
|
const ::google::protobuf::Descriptor* SFesMiValueRespPkg_descriptor_ = NULL;
|
|
const ::google::protobuf::internal::GeneratedMessageReflection*
|
|
SFesMiValueRespPkg_reflection_ = NULL;
|
|
const ::google::protobuf::Descriptor* SFesVirtualData_descriptor_ = NULL;
|
|
const ::google::protobuf::internal::GeneratedMessageReflection*
|
|
SFesVirtualData_reflection_ = NULL;
|
|
const ::google::protobuf::Descriptor* SFesChangeVirtualDataPkg_descriptor_ = NULL;
|
|
const ::google::protobuf::internal::GeneratedMessageReflection*
|
|
SFesChangeVirtualDataPkg_reflection_ = NULL;
|
|
const ::google::protobuf::EnumDescriptor* enFesMsgType_descriptor_ = NULL;
|
|
const ::google::protobuf::EnumDescriptor* enFesCtrlReplyType_descriptor_ = NULL;
|
|
|
|
} // namespace
|
|
|
|
|
|
void protobuf_AssignDesc_FesMessage_2eproto() {
|
|
protobuf_AddDesc_FesMessage_2eproto();
|
|
const ::google::protobuf::FileDescriptor* file =
|
|
::google::protobuf::DescriptorPool::generated_pool()->FindFileByName(
|
|
"FesMessage.proto");
|
|
GOOGLE_CHECK(file != NULL);
|
|
SFesRealPkgHead_descriptor_ = file->message_type(0);
|
|
static const int SFesRealPkgHead_offsets_[6] = {
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesRealPkgHead, strfessource_),
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesRealPkgHead, npackagetype_),
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesRealPkgHead, ndatanum_),
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesRealPkgHead, ulmessageid_),
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesRealPkgHead, nrespara1_),
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesRealPkgHead, nrespara2_),
|
|
};
|
|
SFesRealPkgHead_reflection_ =
|
|
new ::google::protobuf::internal::GeneratedMessageReflection(
|
|
SFesRealPkgHead_descriptor_,
|
|
SFesRealPkgHead::default_instance_,
|
|
SFesRealPkgHead_offsets_,
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesRealPkgHead, _has_bits_[0]),
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesRealPkgHead, _unknown_fields_),
|
|
-1,
|
|
::google::protobuf::DescriptorPool::generated_pool(),
|
|
::google::protobuf::MessageFactory::generated_factory(),
|
|
sizeof(SFesRealPkgHead));
|
|
SFesAiDataWithTm_descriptor_ = file->message_type(1);
|
|
static const int SFesAiDataWithTm_offsets_[6] = {
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesAiDataWithTm, strapptablename_),
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesAiDataWithTm, strappcolumnname_),
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesAiDataWithTm, strapptagname_),
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesAiDataWithTm, ustatus_),
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesAiDataWithTm, fvalue_),
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesAiDataWithTm, ultime_),
|
|
};
|
|
SFesAiDataWithTm_reflection_ =
|
|
new ::google::protobuf::internal::GeneratedMessageReflection(
|
|
SFesAiDataWithTm_descriptor_,
|
|
SFesAiDataWithTm::default_instance_,
|
|
SFesAiDataWithTm_offsets_,
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesAiDataWithTm, _has_bits_[0]),
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesAiDataWithTm, _unknown_fields_),
|
|
-1,
|
|
::google::protobuf::DescriptorPool::generated_pool(),
|
|
::google::protobuf::MessageFactory::generated_factory(),
|
|
sizeof(SFesAiDataWithTm));
|
|
SFesAiDataWithoutTm_descriptor_ = file->message_type(2);
|
|
static const int SFesAiDataWithoutTm_offsets_[5] = {
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesAiDataWithoutTm, strapptablename_),
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesAiDataWithoutTm, strappcolumnname_),
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesAiDataWithoutTm, strapptagname_),
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesAiDataWithoutTm, ustatus_),
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesAiDataWithoutTm, fvalue_),
|
|
};
|
|
SFesAiDataWithoutTm_reflection_ =
|
|
new ::google::protobuf::internal::GeneratedMessageReflection(
|
|
SFesAiDataWithoutTm_descriptor_,
|
|
SFesAiDataWithoutTm::default_instance_,
|
|
SFesAiDataWithoutTm_offsets_,
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesAiDataWithoutTm, _has_bits_[0]),
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesAiDataWithoutTm, _unknown_fields_),
|
|
-1,
|
|
::google::protobuf::DescriptorPool::generated_pool(),
|
|
::google::protobuf::MessageFactory::generated_factory(),
|
|
sizeof(SFesAiDataWithoutTm));
|
|
SFesChangeAiPkg_descriptor_ = file->message_type(3);
|
|
static const int SFesChangeAiPkg_offsets_[2] = {
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesChangeAiPkg, sthead_),
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesChangeAiPkg, staidata_),
|
|
};
|
|
SFesChangeAiPkg_reflection_ =
|
|
new ::google::protobuf::internal::GeneratedMessageReflection(
|
|
SFesChangeAiPkg_descriptor_,
|
|
SFesChangeAiPkg::default_instance_,
|
|
SFesChangeAiPkg_offsets_,
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesChangeAiPkg, _has_bits_[0]),
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesChangeAiPkg, _unknown_fields_),
|
|
-1,
|
|
::google::protobuf::DescriptorPool::generated_pool(),
|
|
::google::protobuf::MessageFactory::generated_factory(),
|
|
sizeof(SFesChangeAiPkg));
|
|
SFesUpdateAiPkg_descriptor_ = file->message_type(4);
|
|
static const int SFesUpdateAiPkg_offsets_[3] = {
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesUpdateAiPkg, sthead_),
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesUpdateAiPkg, staidata_),
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesUpdateAiPkg, ultime_),
|
|
};
|
|
SFesUpdateAiPkg_reflection_ =
|
|
new ::google::protobuf::internal::GeneratedMessageReflection(
|
|
SFesUpdateAiPkg_descriptor_,
|
|
SFesUpdateAiPkg::default_instance_,
|
|
SFesUpdateAiPkg_offsets_,
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesUpdateAiPkg, _has_bits_[0]),
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesUpdateAiPkg, _unknown_fields_),
|
|
-1,
|
|
::google::protobuf::DescriptorPool::generated_pool(),
|
|
::google::protobuf::MessageFactory::generated_factory(),
|
|
sizeof(SFesUpdateAiPkg));
|
|
SFesDiDataWithTm_descriptor_ = file->message_type(5);
|
|
static const int SFesDiDataWithTm_offsets_[6] = {
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesDiDataWithTm, strapptablename_),
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesDiDataWithTm, strappcolumnname_),
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesDiDataWithTm, strapptagname_),
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesDiDataWithTm, ustatus_),
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesDiDataWithTm, nvalue_),
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesDiDataWithTm, ultime_),
|
|
};
|
|
SFesDiDataWithTm_reflection_ =
|
|
new ::google::protobuf::internal::GeneratedMessageReflection(
|
|
SFesDiDataWithTm_descriptor_,
|
|
SFesDiDataWithTm::default_instance_,
|
|
SFesDiDataWithTm_offsets_,
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesDiDataWithTm, _has_bits_[0]),
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesDiDataWithTm, _unknown_fields_),
|
|
-1,
|
|
::google::protobuf::DescriptorPool::generated_pool(),
|
|
::google::protobuf::MessageFactory::generated_factory(),
|
|
sizeof(SFesDiDataWithTm));
|
|
SFesDiDataWithoutTm_descriptor_ = file->message_type(6);
|
|
static const int SFesDiDataWithoutTm_offsets_[5] = {
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesDiDataWithoutTm, strapptablename_),
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesDiDataWithoutTm, strappcolumnname_),
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesDiDataWithoutTm, strapptagname_),
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesDiDataWithoutTm, ustatus_),
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesDiDataWithoutTm, nvalue_),
|
|
};
|
|
SFesDiDataWithoutTm_reflection_ =
|
|
new ::google::protobuf::internal::GeneratedMessageReflection(
|
|
SFesDiDataWithoutTm_descriptor_,
|
|
SFesDiDataWithoutTm::default_instance_,
|
|
SFesDiDataWithoutTm_offsets_,
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesDiDataWithoutTm, _has_bits_[0]),
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesDiDataWithoutTm, _unknown_fields_),
|
|
-1,
|
|
::google::protobuf::DescriptorPool::generated_pool(),
|
|
::google::protobuf::MessageFactory::generated_factory(),
|
|
sizeof(SFesDiDataWithoutTm));
|
|
SFesChangeDiPkg_descriptor_ = file->message_type(7);
|
|
static const int SFesChangeDiPkg_offsets_[2] = {
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesChangeDiPkg, sthead_),
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesChangeDiPkg, stdidata_),
|
|
};
|
|
SFesChangeDiPkg_reflection_ =
|
|
new ::google::protobuf::internal::GeneratedMessageReflection(
|
|
SFesChangeDiPkg_descriptor_,
|
|
SFesChangeDiPkg::default_instance_,
|
|
SFesChangeDiPkg_offsets_,
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesChangeDiPkg, _has_bits_[0]),
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesChangeDiPkg, _unknown_fields_),
|
|
-1,
|
|
::google::protobuf::DescriptorPool::generated_pool(),
|
|
::google::protobuf::MessageFactory::generated_factory(),
|
|
sizeof(SFesChangeDiPkg));
|
|
SFesUpdateDiPkg_descriptor_ = file->message_type(8);
|
|
static const int SFesUpdateDiPkg_offsets_[3] = {
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesUpdateDiPkg, sthead_),
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesUpdateDiPkg, stdidata_),
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesUpdateDiPkg, ultime_),
|
|
};
|
|
SFesUpdateDiPkg_reflection_ =
|
|
new ::google::protobuf::internal::GeneratedMessageReflection(
|
|
SFesUpdateDiPkg_descriptor_,
|
|
SFesUpdateDiPkg::default_instance_,
|
|
SFesUpdateDiPkg_offsets_,
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesUpdateDiPkg, _has_bits_[0]),
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesUpdateDiPkg, _unknown_fields_),
|
|
-1,
|
|
::google::protobuf::DescriptorPool::generated_pool(),
|
|
::google::protobuf::MessageFactory::generated_factory(),
|
|
sizeof(SFesUpdateDiPkg));
|
|
SFesPiDataWithTm_descriptor_ = file->message_type(9);
|
|
static const int SFesPiDataWithTm_offsets_[6] = {
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesPiDataWithTm, strapptablename_),
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesPiDataWithTm, strappcolumnname_),
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesPiDataWithTm, strapptagname_),
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesPiDataWithTm, ustatus_),
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesPiDataWithTm, dvalue_),
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesPiDataWithTm, ultime_),
|
|
};
|
|
SFesPiDataWithTm_reflection_ =
|
|
new ::google::protobuf::internal::GeneratedMessageReflection(
|
|
SFesPiDataWithTm_descriptor_,
|
|
SFesPiDataWithTm::default_instance_,
|
|
SFesPiDataWithTm_offsets_,
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesPiDataWithTm, _has_bits_[0]),
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesPiDataWithTm, _unknown_fields_),
|
|
-1,
|
|
::google::protobuf::DescriptorPool::generated_pool(),
|
|
::google::protobuf::MessageFactory::generated_factory(),
|
|
sizeof(SFesPiDataWithTm));
|
|
SFesPiDataWithoutTm_descriptor_ = file->message_type(10);
|
|
static const int SFesPiDataWithoutTm_offsets_[5] = {
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesPiDataWithoutTm, strapptablename_),
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesPiDataWithoutTm, strappcolumnname_),
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesPiDataWithoutTm, strapptagname_),
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesPiDataWithoutTm, ustatus_),
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesPiDataWithoutTm, dvalue_),
|
|
};
|
|
SFesPiDataWithoutTm_reflection_ =
|
|
new ::google::protobuf::internal::GeneratedMessageReflection(
|
|
SFesPiDataWithoutTm_descriptor_,
|
|
SFesPiDataWithoutTm::default_instance_,
|
|
SFesPiDataWithoutTm_offsets_,
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesPiDataWithoutTm, _has_bits_[0]),
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesPiDataWithoutTm, _unknown_fields_),
|
|
-1,
|
|
::google::protobuf::DescriptorPool::generated_pool(),
|
|
::google::protobuf::MessageFactory::generated_factory(),
|
|
sizeof(SFesPiDataWithoutTm));
|
|
SFesChangePiPkg_descriptor_ = file->message_type(11);
|
|
static const int SFesChangePiPkg_offsets_[2] = {
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesChangePiPkg, sthead_),
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesChangePiPkg, stpidata_),
|
|
};
|
|
SFesChangePiPkg_reflection_ =
|
|
new ::google::protobuf::internal::GeneratedMessageReflection(
|
|
SFesChangePiPkg_descriptor_,
|
|
SFesChangePiPkg::default_instance_,
|
|
SFesChangePiPkg_offsets_,
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesChangePiPkg, _has_bits_[0]),
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesChangePiPkg, _unknown_fields_),
|
|
-1,
|
|
::google::protobuf::DescriptorPool::generated_pool(),
|
|
::google::protobuf::MessageFactory::generated_factory(),
|
|
sizeof(SFesChangePiPkg));
|
|
SFesUpdatePiPkg_descriptor_ = file->message_type(12);
|
|
static const int SFesUpdatePiPkg_offsets_[3] = {
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesUpdatePiPkg, sthead_),
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesUpdatePiPkg, stpidata_),
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesUpdatePiPkg, ultime_),
|
|
};
|
|
SFesUpdatePiPkg_reflection_ =
|
|
new ::google::protobuf::internal::GeneratedMessageReflection(
|
|
SFesUpdatePiPkg_descriptor_,
|
|
SFesUpdatePiPkg::default_instance_,
|
|
SFesUpdatePiPkg_offsets_,
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesUpdatePiPkg, _has_bits_[0]),
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesUpdatePiPkg, _unknown_fields_),
|
|
-1,
|
|
::google::protobuf::DescriptorPool::generated_pool(),
|
|
::google::protobuf::MessageFactory::generated_factory(),
|
|
sizeof(SFesUpdatePiPkg));
|
|
SFesMiDataWithTm_descriptor_ = file->message_type(13);
|
|
static const int SFesMiDataWithTm_offsets_[6] = {
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesMiDataWithTm, strapptablename_),
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesMiDataWithTm, strappcolumnname_),
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesMiDataWithTm, strapptagname_),
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesMiDataWithTm, ustatus_),
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesMiDataWithTm, nvalue_),
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesMiDataWithTm, ultime_),
|
|
};
|
|
SFesMiDataWithTm_reflection_ =
|
|
new ::google::protobuf::internal::GeneratedMessageReflection(
|
|
SFesMiDataWithTm_descriptor_,
|
|
SFesMiDataWithTm::default_instance_,
|
|
SFesMiDataWithTm_offsets_,
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesMiDataWithTm, _has_bits_[0]),
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesMiDataWithTm, _unknown_fields_),
|
|
-1,
|
|
::google::protobuf::DescriptorPool::generated_pool(),
|
|
::google::protobuf::MessageFactory::generated_factory(),
|
|
sizeof(SFesMiDataWithTm));
|
|
SFesMiDataWithoutTm_descriptor_ = file->message_type(14);
|
|
static const int SFesMiDataWithoutTm_offsets_[5] = {
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesMiDataWithoutTm, strapptablename_),
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesMiDataWithoutTm, strappcolumnname_),
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesMiDataWithoutTm, strapptagname_),
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesMiDataWithoutTm, ustatus_),
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesMiDataWithoutTm, nvalue_),
|
|
};
|
|
SFesMiDataWithoutTm_reflection_ =
|
|
new ::google::protobuf::internal::GeneratedMessageReflection(
|
|
SFesMiDataWithoutTm_descriptor_,
|
|
SFesMiDataWithoutTm::default_instance_,
|
|
SFesMiDataWithoutTm_offsets_,
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesMiDataWithoutTm, _has_bits_[0]),
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesMiDataWithoutTm, _unknown_fields_),
|
|
-1,
|
|
::google::protobuf::DescriptorPool::generated_pool(),
|
|
::google::protobuf::MessageFactory::generated_factory(),
|
|
sizeof(SFesMiDataWithoutTm));
|
|
SFesChangeMiPkg_descriptor_ = file->message_type(15);
|
|
static const int SFesChangeMiPkg_offsets_[2] = {
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesChangeMiPkg, sthead_),
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesChangeMiPkg, stmidata_),
|
|
};
|
|
SFesChangeMiPkg_reflection_ =
|
|
new ::google::protobuf::internal::GeneratedMessageReflection(
|
|
SFesChangeMiPkg_descriptor_,
|
|
SFesChangeMiPkg::default_instance_,
|
|
SFesChangeMiPkg_offsets_,
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesChangeMiPkg, _has_bits_[0]),
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesChangeMiPkg, _unknown_fields_),
|
|
-1,
|
|
::google::protobuf::DescriptorPool::generated_pool(),
|
|
::google::protobuf::MessageFactory::generated_factory(),
|
|
sizeof(SFesChangeMiPkg));
|
|
SFesUpdateMiPkg_descriptor_ = file->message_type(16);
|
|
static const int SFesUpdateMiPkg_offsets_[3] = {
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesUpdateMiPkg, sthead_),
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesUpdateMiPkg, stmidata_),
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesUpdateMiPkg, ultime_),
|
|
};
|
|
SFesUpdateMiPkg_reflection_ =
|
|
new ::google::protobuf::internal::GeneratedMessageReflection(
|
|
SFesUpdateMiPkg_descriptor_,
|
|
SFesUpdateMiPkg::default_instance_,
|
|
SFesUpdateMiPkg_offsets_,
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesUpdateMiPkg, _has_bits_[0]),
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesUpdateMiPkg, _unknown_fields_),
|
|
-1,
|
|
::google::protobuf::DescriptorPool::generated_pool(),
|
|
::google::protobuf::MessageFactory::generated_factory(),
|
|
sizeof(SFesUpdateMiPkg));
|
|
SFesDoRequestPkg_descriptor_ = file->message_type(17);
|
|
static const int SFesDoRequestPkg_offsets_[13] = {
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesDoRequestPkg, strsourcetag_),
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesDoRequestPkg, strapptablename_),
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesDoRequestPkg, strappcolumnname_),
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesDoRequestPkg, strapptagname_),
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesDoRequestPkg, strrtuname_),
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesDoRequestPkg, norder_),
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesDoRequestPkg, naction_),
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesDoRequestPkg, niftagtstate_),
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesDoRequestPkg, lpara1_),
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesDoRequestPkg, lpara2_),
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesDoRequestPkg, fpara_),
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesDoRequestPkg, strpara_),
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesDoRequestPkg, nctrltype_),
|
|
};
|
|
SFesDoRequestPkg_reflection_ =
|
|
new ::google::protobuf::internal::GeneratedMessageReflection(
|
|
SFesDoRequestPkg_descriptor_,
|
|
SFesDoRequestPkg::default_instance_,
|
|
SFesDoRequestPkg_offsets_,
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesDoRequestPkg, _has_bits_[0]),
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesDoRequestPkg, _unknown_fields_),
|
|
-1,
|
|
::google::protobuf::DescriptorPool::generated_pool(),
|
|
::google::protobuf::MessageFactory::generated_factory(),
|
|
sizeof(SFesDoRequestPkg));
|
|
SFesAoRequestPkg_descriptor_ = file->message_type(18);
|
|
static const int SFesAoRequestPkg_offsets_[13] = {
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesAoRequestPkg, strsourcetag_),
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesAoRequestPkg, strapptablename_),
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesAoRequestPkg, strappcolumnname_),
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesAoRequestPkg, strapptagname_),
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesAoRequestPkg, strrtuname_),
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesAoRequestPkg, norder_),
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesAoRequestPkg, fvalue_),
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesAoRequestPkg, nctrltype_),
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesAoRequestPkg, niftagtstate_),
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesAoRequestPkg, lpara1_),
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesAoRequestPkg, lpara2_),
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesAoRequestPkg, fpara_),
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesAoRequestPkg, strpara_),
|
|
};
|
|
SFesAoRequestPkg_reflection_ =
|
|
new ::google::protobuf::internal::GeneratedMessageReflection(
|
|
SFesAoRequestPkg_descriptor_,
|
|
SFesAoRequestPkg::default_instance_,
|
|
SFesAoRequestPkg_offsets_,
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesAoRequestPkg, _has_bits_[0]),
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesAoRequestPkg, _unknown_fields_),
|
|
-1,
|
|
::google::protobuf::DescriptorPool::generated_pool(),
|
|
::google::protobuf::MessageFactory::generated_factory(),
|
|
sizeof(SFesAoRequestPkg));
|
|
SFesMoRequestPkg_descriptor_ = file->message_type(19);
|
|
static const int SFesMoRequestPkg_offsets_[13] = {
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesMoRequestPkg, strsourcetag_),
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesMoRequestPkg, strapptablename_),
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesMoRequestPkg, strappcolumnname_),
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesMoRequestPkg, strapptagname_),
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesMoRequestPkg, strrtuname_),
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesMoRequestPkg, norder_),
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesMoRequestPkg, nvalue_),
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesMoRequestPkg, nctrltype_),
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesMoRequestPkg, niftagtstate_),
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesMoRequestPkg, lpara1_),
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesMoRequestPkg, lpara2_),
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesMoRequestPkg, fpara_),
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesMoRequestPkg, strpara_),
|
|
};
|
|
SFesMoRequestPkg_reflection_ =
|
|
new ::google::protobuf::internal::GeneratedMessageReflection(
|
|
SFesMoRequestPkg_descriptor_,
|
|
SFesMoRequestPkg::default_instance_,
|
|
SFesMoRequestPkg_offsets_,
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesMoRequestPkg, _has_bits_[0]),
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesMoRequestPkg, _unknown_fields_),
|
|
-1,
|
|
::google::protobuf::DescriptorPool::generated_pool(),
|
|
::google::protobuf::MessageFactory::generated_factory(),
|
|
sizeof(SFesMoRequestPkg));
|
|
SFesCtrlRequestSeq_descriptor_ = file->message_type(20);
|
|
static const int SFesCtrlRequestSeq_offsets_[3] = {
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesCtrlRequestSeq, do_seq_),
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesCtrlRequestSeq, ao_seq_),
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesCtrlRequestSeq, mo_seq_),
|
|
};
|
|
SFesCtrlRequestSeq_reflection_ =
|
|
new ::google::protobuf::internal::GeneratedMessageReflection(
|
|
SFesCtrlRequestSeq_descriptor_,
|
|
SFesCtrlRequestSeq::default_instance_,
|
|
SFesCtrlRequestSeq_offsets_,
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesCtrlRequestSeq, _has_bits_[0]),
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesCtrlRequestSeq, _unknown_fields_),
|
|
-1,
|
|
::google::protobuf::DescriptorPool::generated_pool(),
|
|
::google::protobuf::MessageFactory::generated_factory(),
|
|
sizeof(SFesCtrlRequestSeq));
|
|
SFesCtrlReplyPkg_descriptor_ = file->message_type(21);
|
|
static const int SFesCtrlReplyPkg_offsets_[9] = {
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesCtrlReplyPkg, strsourcetag_),
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesCtrlReplyPkg, strapptablename_),
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesCtrlReplyPkg, strappcolumnname_),
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesCtrlReplyPkg, strapptagname_),
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesCtrlReplyPkg, nresult_),
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesCtrlReplyPkg, lpara1_),
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesCtrlReplyPkg, lpara2_),
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesCtrlReplyPkg, fpara_),
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesCtrlReplyPkg, strpara_),
|
|
};
|
|
SFesCtrlReplyPkg_reflection_ =
|
|
new ::google::protobuf::internal::GeneratedMessageReflection(
|
|
SFesCtrlReplyPkg_descriptor_,
|
|
SFesCtrlReplyPkg::default_instance_,
|
|
SFesCtrlReplyPkg_offsets_,
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesCtrlReplyPkg, _has_bits_[0]),
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesCtrlReplyPkg, _unknown_fields_),
|
|
-1,
|
|
::google::protobuf::DescriptorPool::generated_pool(),
|
|
::google::protobuf::MessageFactory::generated_factory(),
|
|
sizeof(SFesCtrlReplyPkg));
|
|
SFesCustCmdQueue_descriptor_ = file->message_type(22);
|
|
static const int SFesCustCmdQueue_offsets_[2] = {
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesCustCmdQueue, strkeyname_),
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesCustCmdQueue, strkeyvalue_),
|
|
};
|
|
SFesCustCmdQueue_reflection_ =
|
|
new ::google::protobuf::internal::GeneratedMessageReflection(
|
|
SFesCustCmdQueue_descriptor_,
|
|
SFesCustCmdQueue::default_instance_,
|
|
SFesCustCmdQueue_offsets_,
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesCustCmdQueue, _has_bits_[0]),
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesCustCmdQueue, _unknown_fields_),
|
|
-1,
|
|
::google::protobuf::DescriptorPool::generated_pool(),
|
|
::google::protobuf::MessageFactory::generated_factory(),
|
|
sizeof(SFesCustCmdQueue));
|
|
SFesCustCmdRequestPkg_descriptor_ = file->message_type(23);
|
|
static const int SFesCustCmdRequestPkg_offsets_[8] = {
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesCustCmdRequestPkg, strsourcetag_),
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesCustCmdRequestPkg, strapptablename_),
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesCustCmdRequestPkg, strapptagname_),
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesCustCmdRequestPkg, strappcolumnname_),
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesCustCmdRequestPkg, strrtuname_),
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesCustCmdRequestPkg, ndevid_),
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesCustCmdRequestPkg, ndatalen_),
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesCustCmdRequestPkg, seqcustcmddata_),
|
|
};
|
|
SFesCustCmdRequestPkg_reflection_ =
|
|
new ::google::protobuf::internal::GeneratedMessageReflection(
|
|
SFesCustCmdRequestPkg_descriptor_,
|
|
SFesCustCmdRequestPkg::default_instance_,
|
|
SFesCustCmdRequestPkg_offsets_,
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesCustCmdRequestPkg, _has_bits_[0]),
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesCustCmdRequestPkg, _unknown_fields_),
|
|
-1,
|
|
::google::protobuf::DescriptorPool::generated_pool(),
|
|
::google::protobuf::MessageFactory::generated_factory(),
|
|
sizeof(SFesCustCmdRequestPkg));
|
|
SFesCustCmdReplyPkg_descriptor_ = file->message_type(24);
|
|
static const int SFesCustCmdReplyPkg_offsets_[11] = {
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesCustCmdReplyPkg, strsourcetag_),
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesCustCmdReplyPkg, strapptablename_),
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesCustCmdReplyPkg, strapptagname_),
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesCustCmdReplyPkg, strappcolumnname_),
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesCustCmdReplyPkg, strrtuname_),
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesCustCmdReplyPkg, ndevid_),
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesCustCmdReplyPkg, nstatus_),
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesCustCmdReplyPkg, ndatalen_),
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesCustCmdReplyPkg, seqcustcmddata_),
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesCustCmdReplyPkg, nresult_),
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesCustCmdReplyPkg, strretresult_),
|
|
};
|
|
SFesCustCmdReplyPkg_reflection_ =
|
|
new ::google::protobuf::internal::GeneratedMessageReflection(
|
|
SFesCustCmdReplyPkg_descriptor_,
|
|
SFesCustCmdReplyPkg::default_instance_,
|
|
SFesCustCmdReplyPkg_offsets_,
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesCustCmdReplyPkg, _has_bits_[0]),
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesCustCmdReplyPkg, _unknown_fields_),
|
|
-1,
|
|
::google::protobuf::DescriptorPool::generated_pool(),
|
|
::google::protobuf::MessageFactory::generated_factory(),
|
|
sizeof(SFesCustCmdReplyPkg));
|
|
SConstSetQueue_descriptor_ = file->message_type(25);
|
|
static const int SConstSetQueue_offsets_[3] = {
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SConstSetQueue, strtagname_),
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SConstSetQueue, nconstid_),
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SConstSetQueue, nvalue_),
|
|
};
|
|
SConstSetQueue_reflection_ =
|
|
new ::google::protobuf::internal::GeneratedMessageReflection(
|
|
SConstSetQueue_descriptor_,
|
|
SConstSetQueue::default_instance_,
|
|
SConstSetQueue_offsets_,
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SConstSetQueue, _has_bits_[0]),
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SConstSetQueue, _unknown_fields_),
|
|
-1,
|
|
::google::protobuf::DescriptorPool::generated_pool(),
|
|
::google::protobuf::MessageFactory::generated_factory(),
|
|
sizeof(SConstSetQueue));
|
|
SFesConstSetRequestPkg_descriptor_ = file->message_type(26);
|
|
static const int SFesConstSetRequestPkg_offsets_[4] = {
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesConstSetRequestPkg, nrtuno_),
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesConstSetRequestPkg, ndevid_),
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesConstSetRequestPkg, nnum_),
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesConstSetRequestPkg, seqvalue_),
|
|
};
|
|
SFesConstSetRequestPkg_reflection_ =
|
|
new ::google::protobuf::internal::GeneratedMessageReflection(
|
|
SFesConstSetRequestPkg_descriptor_,
|
|
SFesConstSetRequestPkg::default_instance_,
|
|
SFesConstSetRequestPkg_offsets_,
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesConstSetRequestPkg, _has_bits_[0]),
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesConstSetRequestPkg, _unknown_fields_),
|
|
-1,
|
|
::google::protobuf::DescriptorPool::generated_pool(),
|
|
::google::protobuf::MessageFactory::generated_factory(),
|
|
sizeof(SFesConstSetRequestPkg));
|
|
SFesConstReadReplyPkg_descriptor_ = file->message_type(27);
|
|
static const int SFesConstReadReplyPkg_offsets_[5] = {
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesConstReadReplyPkg, nrtuno_),
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesConstReadReplyPkg, ndevid_),
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesConstReadReplyPkg, nretstatus_),
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesConstReadReplyPkg, seqvalue_),
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesConstReadReplyPkg, strretresult_),
|
|
};
|
|
SFesConstReadReplyPkg_reflection_ =
|
|
new ::google::protobuf::internal::GeneratedMessageReflection(
|
|
SFesConstReadReplyPkg_descriptor_,
|
|
SFesConstReadReplyPkg::default_instance_,
|
|
SFesConstReadReplyPkg_offsets_,
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesConstReadReplyPkg, _has_bits_[0]),
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesConstReadReplyPkg, _unknown_fields_),
|
|
-1,
|
|
::google::protobuf::DescriptorPool::generated_pool(),
|
|
::google::protobuf::MessageFactory::generated_factory(),
|
|
sizeof(SFesConstReadReplyPkg));
|
|
SFesChanStatusInfo_descriptor_ = file->message_type(28);
|
|
static const int SFesChanStatusInfo_offsets_[4] = {
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesChanStatusInfo, nchanno_),
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesChanStatusInfo, ustatus_),
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesChanStatusInfo, ferrrate_),
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesChanStatusInfo, ultime_),
|
|
};
|
|
SFesChanStatusInfo_reflection_ =
|
|
new ::google::protobuf::internal::GeneratedMessageReflection(
|
|
SFesChanStatusInfo_descriptor_,
|
|
SFesChanStatusInfo::default_instance_,
|
|
SFesChanStatusInfo_offsets_,
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesChanStatusInfo, _has_bits_[0]),
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesChanStatusInfo, _unknown_fields_),
|
|
-1,
|
|
::google::protobuf::DescriptorPool::generated_pool(),
|
|
::google::protobuf::MessageFactory::generated_factory(),
|
|
sizeof(SFesChanStatusInfo));
|
|
SFesChanStatusPkg_descriptor_ = file->message_type(29);
|
|
static const int SFesChanStatusPkg_offsets_[2] = {
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesChanStatusPkg, sthead_),
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesChanStatusPkg, stchanstatus_),
|
|
};
|
|
SFesChanStatusPkg_reflection_ =
|
|
new ::google::protobuf::internal::GeneratedMessageReflection(
|
|
SFesChanStatusPkg_descriptor_,
|
|
SFesChanStatusPkg::default_instance_,
|
|
SFesChanStatusPkg_offsets_,
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesChanStatusPkg, _has_bits_[0]),
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesChanStatusPkg, _unknown_fields_),
|
|
-1,
|
|
::google::protobuf::DescriptorPool::generated_pool(),
|
|
::google::protobuf::MessageFactory::generated_factory(),
|
|
sizeof(SFesChanStatusPkg));
|
|
SFesRTUStatusInfo_descriptor_ = file->message_type(30);
|
|
static const int SFesRTUStatusInfo_offsets_[3] = {
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesRTUStatusInfo, nrtuno_),
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesRTUStatusInfo, ustatus_),
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesRTUStatusInfo, ultime_),
|
|
};
|
|
SFesRTUStatusInfo_reflection_ =
|
|
new ::google::protobuf::internal::GeneratedMessageReflection(
|
|
SFesRTUStatusInfo_descriptor_,
|
|
SFesRTUStatusInfo::default_instance_,
|
|
SFesRTUStatusInfo_offsets_,
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesRTUStatusInfo, _has_bits_[0]),
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesRTUStatusInfo, _unknown_fields_),
|
|
-1,
|
|
::google::protobuf::DescriptorPool::generated_pool(),
|
|
::google::protobuf::MessageFactory::generated_factory(),
|
|
sizeof(SFesRTUStatusInfo));
|
|
SFesRTUStatusPkg_descriptor_ = file->message_type(31);
|
|
static const int SFesRTUStatusPkg_offsets_[2] = {
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesRTUStatusPkg, sthead_),
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesRTUStatusPkg, strtustatus_),
|
|
};
|
|
SFesRTUStatusPkg_reflection_ =
|
|
new ::google::protobuf::internal::GeneratedMessageReflection(
|
|
SFesRTUStatusPkg_descriptor_,
|
|
SFesRTUStatusPkg::default_instance_,
|
|
SFesRTUStatusPkg_offsets_,
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesRTUStatusPkg, _has_bits_[0]),
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesRTUStatusPkg, _unknown_fields_),
|
|
-1,
|
|
::google::protobuf::DescriptorPool::generated_pool(),
|
|
::google::protobuf::MessageFactory::generated_factory(),
|
|
sizeof(SFesRTUStatusPkg));
|
|
SFesSoeEventInfo_descriptor_ = file->message_type(32);
|
|
static const int SFesSoeEventInfo_offsets_[7] = {
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesSoeEventInfo, strapptablename_),
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesSoeEventInfo, strappcolumnname_),
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesSoeEventInfo, strapptagname_),
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesSoeEventInfo, ustatus_),
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesSoeEventInfo, nvalue_),
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesSoeEventInfo, ultime_),
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesSoeEventInfo, strfaultdesc_),
|
|
};
|
|
SFesSoeEventInfo_reflection_ =
|
|
new ::google::protobuf::internal::GeneratedMessageReflection(
|
|
SFesSoeEventInfo_descriptor_,
|
|
SFesSoeEventInfo::default_instance_,
|
|
SFesSoeEventInfo_offsets_,
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesSoeEventInfo, _has_bits_[0]),
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesSoeEventInfo, _unknown_fields_),
|
|
-1,
|
|
::google::protobuf::DescriptorPool::generated_pool(),
|
|
::google::protobuf::MessageFactory::generated_factory(),
|
|
sizeof(SFesSoeEventInfo));
|
|
SFesChanEventInfo_descriptor_ = file->message_type(33);
|
|
static const int SFesChanEventInfo_offsets_[4] = {
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesChanEventInfo, strchantag_),
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesChanEventInfo, ustatus_),
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesChanEventInfo, ferrrate_),
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesChanEventInfo, ultime_),
|
|
};
|
|
SFesChanEventInfo_reflection_ =
|
|
new ::google::protobuf::internal::GeneratedMessageReflection(
|
|
SFesChanEventInfo_descriptor_,
|
|
SFesChanEventInfo::default_instance_,
|
|
SFesChanEventInfo_offsets_,
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesChanEventInfo, _has_bits_[0]),
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesChanEventInfo, _unknown_fields_),
|
|
-1,
|
|
::google::protobuf::DescriptorPool::generated_pool(),
|
|
::google::protobuf::MessageFactory::generated_factory(),
|
|
sizeof(SFesChanEventInfo));
|
|
SFesRTUEventInfo_descriptor_ = file->message_type(34);
|
|
static const int SFesRTUEventInfo_offsets_[4] = {
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesRTUEventInfo, strrtutag_),
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesRTUEventInfo, ustatus_),
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesRTUEventInfo, ncurchanno_),
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesRTUEventInfo, ultime_),
|
|
};
|
|
SFesRTUEventInfo_reflection_ =
|
|
new ::google::protobuf::internal::GeneratedMessageReflection(
|
|
SFesRTUEventInfo_descriptor_,
|
|
SFesRTUEventInfo::default_instance_,
|
|
SFesRTUEventInfo_offsets_,
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesRTUEventInfo, _has_bits_[0]),
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesRTUEventInfo, _unknown_fields_),
|
|
-1,
|
|
::google::protobuf::DescriptorPool::generated_pool(),
|
|
::google::protobuf::MessageFactory::generated_factory(),
|
|
sizeof(SFesRTUEventInfo));
|
|
SFesSoeEventPkg_descriptor_ = file->message_type(35);
|
|
static const int SFesSoeEventPkg_offsets_[2] = {
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesSoeEventPkg, sthead_),
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesSoeEventPkg, stsoeevent_),
|
|
};
|
|
SFesSoeEventPkg_reflection_ =
|
|
new ::google::protobuf::internal::GeneratedMessageReflection(
|
|
SFesSoeEventPkg_descriptor_,
|
|
SFesSoeEventPkg::default_instance_,
|
|
SFesSoeEventPkg_offsets_,
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesSoeEventPkg, _has_bits_[0]),
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesSoeEventPkg, _unknown_fields_),
|
|
-1,
|
|
::google::protobuf::DescriptorPool::generated_pool(),
|
|
::google::protobuf::MessageFactory::generated_factory(),
|
|
sizeof(SFesSoeEventPkg));
|
|
SFesChanEventPkg_descriptor_ = file->message_type(36);
|
|
static const int SFesChanEventPkg_offsets_[2] = {
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesChanEventPkg, sthead_),
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesChanEventPkg, stchanevent_),
|
|
};
|
|
SFesChanEventPkg_reflection_ =
|
|
new ::google::protobuf::internal::GeneratedMessageReflection(
|
|
SFesChanEventPkg_descriptor_,
|
|
SFesChanEventPkg::default_instance_,
|
|
SFesChanEventPkg_offsets_,
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesChanEventPkg, _has_bits_[0]),
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesChanEventPkg, _unknown_fields_),
|
|
-1,
|
|
::google::protobuf::DescriptorPool::generated_pool(),
|
|
::google::protobuf::MessageFactory::generated_factory(),
|
|
sizeof(SFesChanEventPkg));
|
|
SFesRTUEventPkg_descriptor_ = file->message_type(37);
|
|
static const int SFesRTUEventPkg_offsets_[2] = {
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesRTUEventPkg, sthead_),
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesRTUEventPkg, strtuevent_),
|
|
};
|
|
SFesRTUEventPkg_reflection_ =
|
|
new ::google::protobuf::internal::GeneratedMessageReflection(
|
|
SFesRTUEventPkg_descriptor_,
|
|
SFesRTUEventPkg::default_instance_,
|
|
SFesRTUEventPkg_offsets_,
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesRTUEventPkg, _has_bits_[0]),
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesRTUEventPkg, _unknown_fields_),
|
|
-1,
|
|
::google::protobuf::DescriptorPool::generated_pool(),
|
|
::google::protobuf::MessageFactory::generated_factory(),
|
|
sizeof(SFesRTUEventPkg));
|
|
SFesAiValue_descriptor_ = file->message_type(38);
|
|
static const int SFesAiValue_offsets_[4] = {
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesAiValue, npointno_),
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesAiValue, fvalue_),
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesAiValue, ustatus_),
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesAiValue, ultime_),
|
|
};
|
|
SFesAiValue_reflection_ =
|
|
new ::google::protobuf::internal::GeneratedMessageReflection(
|
|
SFesAiValue_descriptor_,
|
|
SFesAiValue::default_instance_,
|
|
SFesAiValue_offsets_,
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesAiValue, _has_bits_[0]),
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesAiValue, _unknown_fields_),
|
|
-1,
|
|
::google::protobuf::DescriptorPool::generated_pool(),
|
|
::google::protobuf::MessageFactory::generated_factory(),
|
|
sizeof(SFesAiValue));
|
|
SFesDiValue_descriptor_ = file->message_type(39);
|
|
static const int SFesDiValue_offsets_[4] = {
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesDiValue, npointno_),
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesDiValue, nvalue_),
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesDiValue, ustatus_),
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesDiValue, ultime_),
|
|
};
|
|
SFesDiValue_reflection_ =
|
|
new ::google::protobuf::internal::GeneratedMessageReflection(
|
|
SFesDiValue_descriptor_,
|
|
SFesDiValue::default_instance_,
|
|
SFesDiValue_offsets_,
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesDiValue, _has_bits_[0]),
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesDiValue, _unknown_fields_),
|
|
-1,
|
|
::google::protobuf::DescriptorPool::generated_pool(),
|
|
::google::protobuf::MessageFactory::generated_factory(),
|
|
sizeof(SFesDiValue));
|
|
SFesPiValue_descriptor_ = file->message_type(40);
|
|
static const int SFesPiValue_offsets_[4] = {
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesPiValue, npointno_),
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesPiValue, dvalue_),
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesPiValue, ustatus_),
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesPiValue, ultime_),
|
|
};
|
|
SFesPiValue_reflection_ =
|
|
new ::google::protobuf::internal::GeneratedMessageReflection(
|
|
SFesPiValue_descriptor_,
|
|
SFesPiValue::default_instance_,
|
|
SFesPiValue_offsets_,
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesPiValue, _has_bits_[0]),
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesPiValue, _unknown_fields_),
|
|
-1,
|
|
::google::protobuf::DescriptorPool::generated_pool(),
|
|
::google::protobuf::MessageFactory::generated_factory(),
|
|
sizeof(SFesPiValue));
|
|
SFesMiValue_descriptor_ = file->message_type(41);
|
|
static const int SFesMiValue_offsets_[4] = {
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesMiValue, npointno_),
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesMiValue, nvalue_),
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesMiValue, ustatus_),
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesMiValue, ultime_),
|
|
};
|
|
SFesMiValue_reflection_ =
|
|
new ::google::protobuf::internal::GeneratedMessageReflection(
|
|
SFesMiValue_descriptor_,
|
|
SFesMiValue::default_instance_,
|
|
SFesMiValue_offsets_,
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesMiValue, _has_bits_[0]),
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesMiValue, _unknown_fields_),
|
|
-1,
|
|
::google::protobuf::DescriptorPool::generated_pool(),
|
|
::google::protobuf::MessageFactory::generated_factory(),
|
|
sizeof(SFesMiValue));
|
|
SFesValueReqPkg_descriptor_ = file->message_type(42);
|
|
static const int SFesValueReqPkg_offsets_[2] = {
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesValueReqPkg, sthead_),
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesValueReqPkg, nrtuno_),
|
|
};
|
|
SFesValueReqPkg_reflection_ =
|
|
new ::google::protobuf::internal::GeneratedMessageReflection(
|
|
SFesValueReqPkg_descriptor_,
|
|
SFesValueReqPkg::default_instance_,
|
|
SFesValueReqPkg_offsets_,
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesValueReqPkg, _has_bits_[0]),
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesValueReqPkg, _unknown_fields_),
|
|
-1,
|
|
::google::protobuf::DescriptorPool::generated_pool(),
|
|
::google::protobuf::MessageFactory::generated_factory(),
|
|
sizeof(SFesValueReqPkg));
|
|
SFesAiValueRespPkg_descriptor_ = file->message_type(43);
|
|
static const int SFesAiValueRespPkg_offsets_[3] = {
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesAiValueRespPkg, sthead_),
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesAiValueRespPkg, nrtuno_),
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesAiValueRespPkg, staivalue_),
|
|
};
|
|
SFesAiValueRespPkg_reflection_ =
|
|
new ::google::protobuf::internal::GeneratedMessageReflection(
|
|
SFesAiValueRespPkg_descriptor_,
|
|
SFesAiValueRespPkg::default_instance_,
|
|
SFesAiValueRespPkg_offsets_,
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesAiValueRespPkg, _has_bits_[0]),
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesAiValueRespPkg, _unknown_fields_),
|
|
-1,
|
|
::google::protobuf::DescriptorPool::generated_pool(),
|
|
::google::protobuf::MessageFactory::generated_factory(),
|
|
sizeof(SFesAiValueRespPkg));
|
|
SFesDiValueRespPkg_descriptor_ = file->message_type(44);
|
|
static const int SFesDiValueRespPkg_offsets_[3] = {
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesDiValueRespPkg, sthead_),
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesDiValueRespPkg, nrtuno_),
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesDiValueRespPkg, stdivalue_),
|
|
};
|
|
SFesDiValueRespPkg_reflection_ =
|
|
new ::google::protobuf::internal::GeneratedMessageReflection(
|
|
SFesDiValueRespPkg_descriptor_,
|
|
SFesDiValueRespPkg::default_instance_,
|
|
SFesDiValueRespPkg_offsets_,
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesDiValueRespPkg, _has_bits_[0]),
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesDiValueRespPkg, _unknown_fields_),
|
|
-1,
|
|
::google::protobuf::DescriptorPool::generated_pool(),
|
|
::google::protobuf::MessageFactory::generated_factory(),
|
|
sizeof(SFesDiValueRespPkg));
|
|
SFesPiValueRespPkg_descriptor_ = file->message_type(45);
|
|
static const int SFesPiValueRespPkg_offsets_[3] = {
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesPiValueRespPkg, sthead_),
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesPiValueRespPkg, nrtuno_),
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesPiValueRespPkg, stpivalue_),
|
|
};
|
|
SFesPiValueRespPkg_reflection_ =
|
|
new ::google::protobuf::internal::GeneratedMessageReflection(
|
|
SFesPiValueRespPkg_descriptor_,
|
|
SFesPiValueRespPkg::default_instance_,
|
|
SFesPiValueRespPkg_offsets_,
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesPiValueRespPkg, _has_bits_[0]),
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesPiValueRespPkg, _unknown_fields_),
|
|
-1,
|
|
::google::protobuf::DescriptorPool::generated_pool(),
|
|
::google::protobuf::MessageFactory::generated_factory(),
|
|
sizeof(SFesPiValueRespPkg));
|
|
SFesMiValueRespPkg_descriptor_ = file->message_type(46);
|
|
static const int SFesMiValueRespPkg_offsets_[3] = {
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesMiValueRespPkg, sthead_),
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesMiValueRespPkg, nrtuno_),
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesMiValueRespPkg, stmivalue_),
|
|
};
|
|
SFesMiValueRespPkg_reflection_ =
|
|
new ::google::protobuf::internal::GeneratedMessageReflection(
|
|
SFesMiValueRespPkg_descriptor_,
|
|
SFesMiValueRespPkg::default_instance_,
|
|
SFesMiValueRespPkg_offsets_,
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesMiValueRespPkg, _has_bits_[0]),
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesMiValueRespPkg, _unknown_fields_),
|
|
-1,
|
|
::google::protobuf::DescriptorPool::generated_pool(),
|
|
::google::protobuf::MessageFactory::generated_factory(),
|
|
sizeof(SFesMiValueRespPkg));
|
|
SFesVirtualData_descriptor_ = file->message_type(47);
|
|
static const int SFesVirtualData_offsets_[6] = {
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesVirtualData, strrtutag_),
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesVirtualData, strpointtag_),
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesVirtualData, npointtype_),
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesVirtualData, norder_),
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesVirtualData, fvalue_),
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesVirtualData, ultime_),
|
|
};
|
|
SFesVirtualData_reflection_ =
|
|
new ::google::protobuf::internal::GeneratedMessageReflection(
|
|
SFesVirtualData_descriptor_,
|
|
SFesVirtualData::default_instance_,
|
|
SFesVirtualData_offsets_,
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesVirtualData, _has_bits_[0]),
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesVirtualData, _unknown_fields_),
|
|
-1,
|
|
::google::protobuf::DescriptorPool::generated_pool(),
|
|
::google::protobuf::MessageFactory::generated_factory(),
|
|
sizeof(SFesVirtualData));
|
|
SFesChangeVirtualDataPkg_descriptor_ = file->message_type(48);
|
|
static const int SFesChangeVirtualDataPkg_offsets_[2] = {
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesChangeVirtualDataPkg, sthead_),
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesChangeVirtualDataPkg, stdata_),
|
|
};
|
|
SFesChangeVirtualDataPkg_reflection_ =
|
|
new ::google::protobuf::internal::GeneratedMessageReflection(
|
|
SFesChangeVirtualDataPkg_descriptor_,
|
|
SFesChangeVirtualDataPkg::default_instance_,
|
|
SFesChangeVirtualDataPkg_offsets_,
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesChangeVirtualDataPkg, _has_bits_[0]),
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SFesChangeVirtualDataPkg, _unknown_fields_),
|
|
-1,
|
|
::google::protobuf::DescriptorPool::generated_pool(),
|
|
::google::protobuf::MessageFactory::generated_factory(),
|
|
sizeof(SFesChangeVirtualDataPkg));
|
|
enFesMsgType_descriptor_ = file->enum_type(0);
|
|
enFesCtrlReplyType_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_FesMessage_2eproto);
|
|
}
|
|
|
|
void protobuf_RegisterTypes(const ::std::string&) {
|
|
protobuf_AssignDescriptorsOnce();
|
|
::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
|
|
SFesRealPkgHead_descriptor_, &SFesRealPkgHead::default_instance());
|
|
::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
|
|
SFesAiDataWithTm_descriptor_, &SFesAiDataWithTm::default_instance());
|
|
::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
|
|
SFesAiDataWithoutTm_descriptor_, &SFesAiDataWithoutTm::default_instance());
|
|
::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
|
|
SFesChangeAiPkg_descriptor_, &SFesChangeAiPkg::default_instance());
|
|
::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
|
|
SFesUpdateAiPkg_descriptor_, &SFesUpdateAiPkg::default_instance());
|
|
::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
|
|
SFesDiDataWithTm_descriptor_, &SFesDiDataWithTm::default_instance());
|
|
::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
|
|
SFesDiDataWithoutTm_descriptor_, &SFesDiDataWithoutTm::default_instance());
|
|
::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
|
|
SFesChangeDiPkg_descriptor_, &SFesChangeDiPkg::default_instance());
|
|
::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
|
|
SFesUpdateDiPkg_descriptor_, &SFesUpdateDiPkg::default_instance());
|
|
::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
|
|
SFesPiDataWithTm_descriptor_, &SFesPiDataWithTm::default_instance());
|
|
::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
|
|
SFesPiDataWithoutTm_descriptor_, &SFesPiDataWithoutTm::default_instance());
|
|
::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
|
|
SFesChangePiPkg_descriptor_, &SFesChangePiPkg::default_instance());
|
|
::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
|
|
SFesUpdatePiPkg_descriptor_, &SFesUpdatePiPkg::default_instance());
|
|
::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
|
|
SFesMiDataWithTm_descriptor_, &SFesMiDataWithTm::default_instance());
|
|
::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
|
|
SFesMiDataWithoutTm_descriptor_, &SFesMiDataWithoutTm::default_instance());
|
|
::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
|
|
SFesChangeMiPkg_descriptor_, &SFesChangeMiPkg::default_instance());
|
|
::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
|
|
SFesUpdateMiPkg_descriptor_, &SFesUpdateMiPkg::default_instance());
|
|
::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
|
|
SFesDoRequestPkg_descriptor_, &SFesDoRequestPkg::default_instance());
|
|
::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
|
|
SFesAoRequestPkg_descriptor_, &SFesAoRequestPkg::default_instance());
|
|
::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
|
|
SFesMoRequestPkg_descriptor_, &SFesMoRequestPkg::default_instance());
|
|
::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
|
|
SFesCtrlRequestSeq_descriptor_, &SFesCtrlRequestSeq::default_instance());
|
|
::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
|
|
SFesCtrlReplyPkg_descriptor_, &SFesCtrlReplyPkg::default_instance());
|
|
::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
|
|
SFesCustCmdQueue_descriptor_, &SFesCustCmdQueue::default_instance());
|
|
::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
|
|
SFesCustCmdRequestPkg_descriptor_, &SFesCustCmdRequestPkg::default_instance());
|
|
::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
|
|
SFesCustCmdReplyPkg_descriptor_, &SFesCustCmdReplyPkg::default_instance());
|
|
::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
|
|
SConstSetQueue_descriptor_, &SConstSetQueue::default_instance());
|
|
::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
|
|
SFesConstSetRequestPkg_descriptor_, &SFesConstSetRequestPkg::default_instance());
|
|
::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
|
|
SFesConstReadReplyPkg_descriptor_, &SFesConstReadReplyPkg::default_instance());
|
|
::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
|
|
SFesChanStatusInfo_descriptor_, &SFesChanStatusInfo::default_instance());
|
|
::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
|
|
SFesChanStatusPkg_descriptor_, &SFesChanStatusPkg::default_instance());
|
|
::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
|
|
SFesRTUStatusInfo_descriptor_, &SFesRTUStatusInfo::default_instance());
|
|
::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
|
|
SFesRTUStatusPkg_descriptor_, &SFesRTUStatusPkg::default_instance());
|
|
::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
|
|
SFesSoeEventInfo_descriptor_, &SFesSoeEventInfo::default_instance());
|
|
::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
|
|
SFesChanEventInfo_descriptor_, &SFesChanEventInfo::default_instance());
|
|
::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
|
|
SFesRTUEventInfo_descriptor_, &SFesRTUEventInfo::default_instance());
|
|
::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
|
|
SFesSoeEventPkg_descriptor_, &SFesSoeEventPkg::default_instance());
|
|
::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
|
|
SFesChanEventPkg_descriptor_, &SFesChanEventPkg::default_instance());
|
|
::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
|
|
SFesRTUEventPkg_descriptor_, &SFesRTUEventPkg::default_instance());
|
|
::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
|
|
SFesAiValue_descriptor_, &SFesAiValue::default_instance());
|
|
::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
|
|
SFesDiValue_descriptor_, &SFesDiValue::default_instance());
|
|
::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
|
|
SFesPiValue_descriptor_, &SFesPiValue::default_instance());
|
|
::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
|
|
SFesMiValue_descriptor_, &SFesMiValue::default_instance());
|
|
::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
|
|
SFesValueReqPkg_descriptor_, &SFesValueReqPkg::default_instance());
|
|
::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
|
|
SFesAiValueRespPkg_descriptor_, &SFesAiValueRespPkg::default_instance());
|
|
::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
|
|
SFesDiValueRespPkg_descriptor_, &SFesDiValueRespPkg::default_instance());
|
|
::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
|
|
SFesPiValueRespPkg_descriptor_, &SFesPiValueRespPkg::default_instance());
|
|
::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
|
|
SFesMiValueRespPkg_descriptor_, &SFesMiValueRespPkg::default_instance());
|
|
::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
|
|
SFesVirtualData_descriptor_, &SFesVirtualData::default_instance());
|
|
::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
|
|
SFesChangeVirtualDataPkg_descriptor_, &SFesChangeVirtualDataPkg::default_instance());
|
|
}
|
|
|
|
} // namespace
|
|
|
|
void protobuf_ShutdownFile_FesMessage_2eproto() {
|
|
delete SFesRealPkgHead::default_instance_;
|
|
delete SFesRealPkgHead_reflection_;
|
|
delete SFesAiDataWithTm::default_instance_;
|
|
delete SFesAiDataWithTm_reflection_;
|
|
delete SFesAiDataWithoutTm::default_instance_;
|
|
delete SFesAiDataWithoutTm_reflection_;
|
|
delete SFesChangeAiPkg::default_instance_;
|
|
delete SFesChangeAiPkg_reflection_;
|
|
delete SFesUpdateAiPkg::default_instance_;
|
|
delete SFesUpdateAiPkg_reflection_;
|
|
delete SFesDiDataWithTm::default_instance_;
|
|
delete SFesDiDataWithTm_reflection_;
|
|
delete SFesDiDataWithoutTm::default_instance_;
|
|
delete SFesDiDataWithoutTm_reflection_;
|
|
delete SFesChangeDiPkg::default_instance_;
|
|
delete SFesChangeDiPkg_reflection_;
|
|
delete SFesUpdateDiPkg::default_instance_;
|
|
delete SFesUpdateDiPkg_reflection_;
|
|
delete SFesPiDataWithTm::default_instance_;
|
|
delete SFesPiDataWithTm_reflection_;
|
|
delete SFesPiDataWithoutTm::default_instance_;
|
|
delete SFesPiDataWithoutTm_reflection_;
|
|
delete SFesChangePiPkg::default_instance_;
|
|
delete SFesChangePiPkg_reflection_;
|
|
delete SFesUpdatePiPkg::default_instance_;
|
|
delete SFesUpdatePiPkg_reflection_;
|
|
delete SFesMiDataWithTm::default_instance_;
|
|
delete SFesMiDataWithTm_reflection_;
|
|
delete SFesMiDataWithoutTm::default_instance_;
|
|
delete SFesMiDataWithoutTm_reflection_;
|
|
delete SFesChangeMiPkg::default_instance_;
|
|
delete SFesChangeMiPkg_reflection_;
|
|
delete SFesUpdateMiPkg::default_instance_;
|
|
delete SFesUpdateMiPkg_reflection_;
|
|
delete SFesDoRequestPkg::default_instance_;
|
|
delete SFesDoRequestPkg_reflection_;
|
|
delete SFesAoRequestPkg::default_instance_;
|
|
delete SFesAoRequestPkg_reflection_;
|
|
delete SFesMoRequestPkg::default_instance_;
|
|
delete SFesMoRequestPkg_reflection_;
|
|
delete SFesCtrlRequestSeq::default_instance_;
|
|
delete SFesCtrlRequestSeq_reflection_;
|
|
delete SFesCtrlReplyPkg::default_instance_;
|
|
delete SFesCtrlReplyPkg_reflection_;
|
|
delete SFesCustCmdQueue::default_instance_;
|
|
delete SFesCustCmdQueue_reflection_;
|
|
delete SFesCustCmdRequestPkg::default_instance_;
|
|
delete SFesCustCmdRequestPkg_reflection_;
|
|
delete SFesCustCmdReplyPkg::default_instance_;
|
|
delete SFesCustCmdReplyPkg_reflection_;
|
|
delete SConstSetQueue::default_instance_;
|
|
delete SConstSetQueue_reflection_;
|
|
delete SFesConstSetRequestPkg::default_instance_;
|
|
delete SFesConstSetRequestPkg_reflection_;
|
|
delete SFesConstReadReplyPkg::default_instance_;
|
|
delete SFesConstReadReplyPkg_reflection_;
|
|
delete SFesChanStatusInfo::default_instance_;
|
|
delete SFesChanStatusInfo_reflection_;
|
|
delete SFesChanStatusPkg::default_instance_;
|
|
delete SFesChanStatusPkg_reflection_;
|
|
delete SFesRTUStatusInfo::default_instance_;
|
|
delete SFesRTUStatusInfo_reflection_;
|
|
delete SFesRTUStatusPkg::default_instance_;
|
|
delete SFesRTUStatusPkg_reflection_;
|
|
delete SFesSoeEventInfo::default_instance_;
|
|
delete SFesSoeEventInfo_reflection_;
|
|
delete SFesChanEventInfo::default_instance_;
|
|
delete SFesChanEventInfo_reflection_;
|
|
delete SFesRTUEventInfo::default_instance_;
|
|
delete SFesRTUEventInfo_reflection_;
|
|
delete SFesSoeEventPkg::default_instance_;
|
|
delete SFesSoeEventPkg_reflection_;
|
|
delete SFesChanEventPkg::default_instance_;
|
|
delete SFesChanEventPkg_reflection_;
|
|
delete SFesRTUEventPkg::default_instance_;
|
|
delete SFesRTUEventPkg_reflection_;
|
|
delete SFesAiValue::default_instance_;
|
|
delete SFesAiValue_reflection_;
|
|
delete SFesDiValue::default_instance_;
|
|
delete SFesDiValue_reflection_;
|
|
delete SFesPiValue::default_instance_;
|
|
delete SFesPiValue_reflection_;
|
|
delete SFesMiValue::default_instance_;
|
|
delete SFesMiValue_reflection_;
|
|
delete SFesValueReqPkg::default_instance_;
|
|
delete SFesValueReqPkg_reflection_;
|
|
delete SFesAiValueRespPkg::default_instance_;
|
|
delete SFesAiValueRespPkg_reflection_;
|
|
delete SFesDiValueRespPkg::default_instance_;
|
|
delete SFesDiValueRespPkg_reflection_;
|
|
delete SFesPiValueRespPkg::default_instance_;
|
|
delete SFesPiValueRespPkg_reflection_;
|
|
delete SFesMiValueRespPkg::default_instance_;
|
|
delete SFesMiValueRespPkg_reflection_;
|
|
delete SFesVirtualData::default_instance_;
|
|
delete SFesVirtualData_reflection_;
|
|
delete SFesChangeVirtualDataPkg::default_instance_;
|
|
delete SFesChangeVirtualDataPkg_reflection_;
|
|
}
|
|
|
|
void protobuf_AddDesc_FesMessage_2eproto() {
|
|
static bool already_here = false;
|
|
if (already_here) return;
|
|
already_here = true;
|
|
GOOGLE_PROTOBUF_VERIFY_VERSION;
|
|
|
|
::google::protobuf::DescriptorPool::InternalAddGeneratedFile(
|
|
"\n\020FesMessage.proto\022\007iot_idl\"\212\001\n\017SFesReal"
|
|
"PkgHead\022\024\n\014strFesSource\030\001 \002(\t\022\024\n\014nPackag"
|
|
"eType\030\002 \002(\005\022\020\n\010nDataNum\030\003 \002(\005\022\023\n\013ulMessa"
|
|
"geID\030\004 \002(\004\022\021\n\tnResPara1\030\005 \001(\005\022\021\n\tnResPar"
|
|
"a2\030\006 \001(\005\"\215\001\n\020SFesAiDataWithTm\022\027\n\017strAppT"
|
|
"ableName\030\001 \002(\t\022\030\n\020strAppColumnName\030\002 \002(\t"
|
|
"\022\025\n\rstrAppTagName\030\003 \002(\t\022\017\n\007uStatus\030\004 \002(\r"
|
|
"\022\016\n\006fValue\030\005 \002(\002\022\016\n\006ulTime\030\006 \002(\004\"\200\001\n\023SFe"
|
|
"sAiDataWithoutTm\022\027\n\017strAppTableName\030\001 \002("
|
|
"\t\022\030\n\020strAppColumnName\030\002 \002(\t\022\025\n\rstrAppTag"
|
|
"Name\030\003 \002(\t\022\017\n\007uStatus\030\004 \002(\r\022\016\n\006fValue\030\005 "
|
|
"\002(\002\"h\n\017SFesChangeAiPkg\022(\n\006stHead\030\001 \002(\0132\030"
|
|
".iot_idl.SFesRealPkgHead\022+\n\010stAiData\030\002 \003"
|
|
"(\0132\031.iot_idl.SFesAiDataWithTm\"{\n\017SFesUpd"
|
|
"ateAiPkg\022(\n\006stHead\030\001 \002(\0132\030.iot_idl.SFesR"
|
|
"ealPkgHead\022.\n\010stAiData\030\002 \003(\0132\034.iot_idl.S"
|
|
"FesAiDataWithoutTm\022\016\n\006ulTime\030\003 \002(\004\"\215\001\n\020S"
|
|
"FesDiDataWithTm\022\027\n\017strAppTableName\030\001 \002(\t"
|
|
"\022\030\n\020strAppColumnName\030\002 \002(\t\022\025\n\rstrAppTagN"
|
|
"ame\030\003 \002(\t\022\017\n\007uStatus\030\004 \002(\r\022\016\n\006nValue\030\005 \002"
|
|
"(\005\022\016\n\006ulTime\030\006 \002(\004\"\200\001\n\023SFesDiDataWithout"
|
|
"Tm\022\027\n\017strAppTableName\030\001 \002(\t\022\030\n\020strAppCol"
|
|
"umnName\030\002 \002(\t\022\025\n\rstrAppTagName\030\003 \002(\t\022\017\n\007"
|
|
"uStatus\030\004 \002(\r\022\016\n\006nValue\030\005 \002(\005\"h\n\017SFesCha"
|
|
"ngeDiPkg\022(\n\006stHead\030\001 \002(\0132\030.iot_idl.SFesR"
|
|
"ealPkgHead\022+\n\010stDiData\030\002 \003(\0132\031.iot_idl.S"
|
|
"FesDiDataWithTm\"{\n\017SFesUpdateDiPkg\022(\n\006st"
|
|
"Head\030\001 \002(\0132\030.iot_idl.SFesRealPkgHead\022.\n\010"
|
|
"stDiData\030\002 \003(\0132\034.iot_idl.SFesDiDataWitho"
|
|
"utTm\022\016\n\006ulTime\030\003 \002(\004\"\215\001\n\020SFesPiDataWithT"
|
|
"m\022\027\n\017strAppTableName\030\001 \002(\t\022\030\n\020strAppColu"
|
|
"mnName\030\002 \002(\t\022\025\n\rstrAppTagName\030\003 \002(\t\022\017\n\007u"
|
|
"Status\030\004 \002(\r\022\016\n\006dValue\030\005 \002(\001\022\016\n\006ulTime\030\006"
|
|
" \002(\004\"\200\001\n\023SFesPiDataWithoutTm\022\027\n\017strAppTa"
|
|
"bleName\030\001 \002(\t\022\030\n\020strAppColumnName\030\002 \002(\t\022"
|
|
"\025\n\rstrAppTagName\030\003 \002(\t\022\017\n\007uStatus\030\004 \002(\r\022"
|
|
"\016\n\006dValue\030\005 \002(\001\"h\n\017SFesChangePiPkg\022(\n\006st"
|
|
"Head\030\001 \002(\0132\030.iot_idl.SFesRealPkgHead\022+\n\010"
|
|
"stPiData\030\002 \003(\0132\031.iot_idl.SFesPiDataWithT"
|
|
"m\"{\n\017SFesUpdatePiPkg\022(\n\006stHead\030\001 \002(\0132\030.i"
|
|
"ot_idl.SFesRealPkgHead\022.\n\010stPiData\030\002 \003(\013"
|
|
"2\034.iot_idl.SFesPiDataWithoutTm\022\016\n\006ulTime"
|
|
"\030\003 \002(\004\"\215\001\n\020SFesMiDataWithTm\022\027\n\017strAppTab"
|
|
"leName\030\001 \002(\t\022\030\n\020strAppColumnName\030\002 \002(\t\022\025"
|
|
"\n\rstrAppTagName\030\003 \002(\t\022\017\n\007uStatus\030\004 \002(\r\022\016"
|
|
"\n\006nValue\030\005 \002(\005\022\016\n\006ulTime\030\006 \002(\004\"\200\001\n\023SFesM"
|
|
"iDataWithoutTm\022\027\n\017strAppTableName\030\001 \002(\t\022"
|
|
"\030\n\020strAppColumnName\030\002 \002(\t\022\025\n\rstrAppTagNa"
|
|
"me\030\003 \002(\t\022\017\n\007uStatus\030\004 \002(\r\022\016\n\006nValue\030\005 \002("
|
|
"\005\"h\n\017SFesChangeMiPkg\022(\n\006stHead\030\001 \002(\0132\030.i"
|
|
"ot_idl.SFesRealPkgHead\022+\n\010stMiData\030\002 \003(\013"
|
|
"2\031.iot_idl.SFesMiDataWithTm\"{\n\017SFesUpdat"
|
|
"eMiPkg\022(\n\006stHead\030\001 \002(\0132\030.iot_idl.SFesRea"
|
|
"lPkgHead\022.\n\010stMiData\030\002 \003(\0132\034.iot_idl.SFe"
|
|
"sMiDataWithoutTm\022\016\n\006ulTime\030\003 \002(\004\"\220\002\n\020SFe"
|
|
"sDoRequestPkg\022\024\n\014strSourceTag\030\001 \002(\t\022\027\n\017s"
|
|
"trAppTableName\030\002 \002(\t\022\030\n\020strAppColumnName"
|
|
"\030\003 \002(\t\022\025\n\rstrAppTagName\030\004 \002(\t\022\022\n\nstrRtuN"
|
|
"ame\030\005 \002(\t\022\016\n\006nOrder\030\006 \002(\005\022\017\n\007nAction\030\007 \002"
|
|
"(\005\022\024\n\014nIfTagtState\030\t \002(\005\022\016\n\006lPara1\030\n \001(\003"
|
|
"\022\016\n\006lPara2\030\013 \001(\003\022\r\n\005fPara\030\014 \001(\002\022\017\n\007strPa"
|
|
"ra\030\r \001(\t\022\021\n\tnCtrlType\030\016 \002(\005\"\217\002\n\020SFesAoRe"
|
|
"questPkg\022\024\n\014strSourceTag\030\001 \002(\t\022\027\n\017strApp"
|
|
"TableName\030\002 \002(\t\022\030\n\020strAppColumnName\030\003 \002("
|
|
"\t\022\025\n\rstrAppTagName\030\004 \002(\t\022\022\n\nstrRtuName\030\005"
|
|
" \002(\t\022\016\n\006nOrder\030\006 \002(\005\022\016\n\006fValue\030\007 \002(\002\022\021\n\t"
|
|
"nCtrlType\030\010 \002(\005\022\024\n\014nIfTagtState\030\t \002(\005\022\016\n"
|
|
"\006lPara1\030\n \001(\003\022\016\n\006lPara2\030\013 \001(\003\022\r\n\005fPara\030\014"
|
|
" \001(\002\022\017\n\007strPara\030\r \001(\t\"\217\002\n\020SFesMoRequestP"
|
|
"kg\022\024\n\014strSourceTag\030\001 \002(\t\022\027\n\017strAppTableN"
|
|
"ame\030\002 \002(\t\022\030\n\020strAppColumnName\030\003 \002(\t\022\025\n\rs"
|
|
"trAppTagName\030\004 \002(\t\022\022\n\nstrRtuName\030\005 \002(\t\022\016"
|
|
"\n\006nOrder\030\006 \002(\005\022\016\n\006nValue\030\007 \002(\005\022\021\n\tnCtrlT"
|
|
"ype\030\010 \002(\005\022\024\n\014nIfTagtState\030\t \002(\005\022\016\n\006lPara"
|
|
"1\030\n \001(\003\022\016\n\006lPara2\030\013 \001(\003\022\r\n\005fPara\030\014 \001(\002\022\017"
|
|
"\n\007strPara\030\r \001(\t\"\225\001\n\022SFesCtrlRequestSeq\022)"
|
|
"\n\006do_seq\030\001 \003(\0132\031.iot_idl.SFesDoRequestPk"
|
|
"g\022)\n\006ao_seq\030\002 \003(\0132\031.iot_idl.SFesAoReques"
|
|
"tPkg\022)\n\006mo_seq\030\003 \003(\0132\031.iot_idl.SFesMoReq"
|
|
"uestPkg\"\303\001\n\020SFesCtrlReplyPkg\022\024\n\014strSourc"
|
|
"eTag\030\001 \002(\t\022\027\n\017strAppTableName\030\002 \002(\t\022\030\n\020s"
|
|
"trAppColumnName\030\003 \002(\t\022\025\n\rstrAppTagName\030\004"
|
|
" \002(\t\022\017\n\007nResult\030\005 \002(\005\022\016\n\006lPara1\030\n \001(\003\022\016\n"
|
|
"\006lPara2\030\013 \001(\003\022\r\n\005fPara\030\014 \001(\002\022\017\n\007strPara\030"
|
|
"\r \001(\t\";\n\020SFesCustCmdQueue\022\022\n\nstrKeyName\030"
|
|
"\001 \002(\t\022\023\n\013strKeyValue\030\002 \002(\t\"\340\001\n\025SFesCustC"
|
|
"mdRequestPkg\022\024\n\014strSourceTag\030\001 \002(\t\022\027\n\017st"
|
|
"rAppTableName\030\002 \002(\t\022\025\n\rstrAppTagName\030\003 \002"
|
|
"(\t\022\030\n\020strAppColumnName\030\004 \002(\t\022\022\n\nstrRtuNa"
|
|
"me\030\005 \002(\t\022\016\n\006nDevId\030\006 \001(\005\022\020\n\010nDataLen\030\007 \001"
|
|
"(\005\0221\n\016seqCustCmdData\030\010 \003(\0132\031.iot_idl.SFe"
|
|
"sCustCmdQueue\"\226\002\n\023SFesCustCmdReplyPkg\022\024\n"
|
|
"\014strSourceTag\030\001 \002(\t\022\027\n\017strAppTableName\030\002"
|
|
" \002(\t\022\025\n\rstrAppTagName\030\004 \002(\t\022\030\n\020strAppCol"
|
|
"umnName\030\003 \002(\t\022\022\n\nstrRtuName\030\005 \002(\t\022\016\n\006nDe"
|
|
"vId\030\006 \001(\005\022\017\n\007nStatus\030\007 \001(\005\022\020\n\010nDataLen\030\010"
|
|
" \001(\005\0221\n\016seqCustCmdData\030\t \003(\0132\031.iot_idl.S"
|
|
"FesCustCmdQueue\022\017\n\007nResult\030\n \002(\005\022\024\n\014strR"
|
|
"etResult\030\013 \001(\t\"F\n\016SConstSetQueue\022\022\n\nstrT"
|
|
"agName\030\001 \002(\t\022\020\n\010nConstID\030\002 \002(\005\022\016\n\006nValue"
|
|
"\030\003 \002(\005\"q\n\026SFesConstSetRequestPkg\022\016\n\006nRtu"
|
|
"No\030\001 \002(\005\022\016\n\006nDevId\030\002 \002(\005\022\014\n\004nNum\030\003 \002(\005\022)"
|
|
"\n\010seqValue\030\004 \003(\0132\027.iot_idl.SConstSetQueu"
|
|
"e\"\214\001\n\025SFesConstReadReplyPkg\022\016\n\006nRtuNo\030\001 "
|
|
"\002(\005\022\016\n\006nDevId\030\002 \002(\005\022\022\n\nnRetStatus\030\003 \002(\005\022"
|
|
")\n\010seqValue\030\004 \003(\0132\027.iot_idl.SConstSetQue"
|
|
"ue\022\024\n\014strRetResult\030\005 \001(\t\"X\n\022SFesChanStat"
|
|
"usInfo\022\017\n\007nChanNo\030\001 \002(\005\022\017\n\007uStatus\030\002 \002(\r"
|
|
"\022\020\n\010fErrRate\030\003 \002(\002\022\016\n\006ulTime\030\004 \002(\004\"p\n\021SF"
|
|
"esChanStatusPkg\022(\n\006stHead\030\001 \002(\0132\030.iot_id"
|
|
"l.SFesRealPkgHead\0221\n\014stChanStatus\030\002 \003(\0132"
|
|
"\033.iot_idl.SFesChanStatusInfo\"D\n\021SFesRTUS"
|
|
"tatusInfo\022\016\n\006nRtuNo\030\001 \002(\005\022\017\n\007uStatus\030\002 \002"
|
|
"(\r\022\016\n\006ulTime\030\003 \002(\004\"m\n\020SFesRTUStatusPkg\022("
|
|
"\n\006stHead\030\001 \002(\0132\030.iot_idl.SFesRealPkgHead"
|
|
"\022/\n\013stRtuStatus\030\002 \003(\0132\032.iot_idl.SFesRTUS"
|
|
"tatusInfo\"\243\001\n\020SFesSoeEventInfo\022\027\n\017strApp"
|
|
"TableName\030\001 \002(\t\022\030\n\020strAppColumnName\030\002 \002("
|
|
"\t\022\025\n\rstrAppTagName\030\003 \002(\t\022\017\n\007uStatus\030\004 \002("
|
|
"\r\022\016\n\006nValue\030\005 \002(\005\022\016\n\006ulTime\030\006 \002(\004\022\024\n\014str"
|
|
"FaultDesc\030\007 \001(\t\"Z\n\021SFesChanEventInfo\022\022\n\n"
|
|
"strChanTag\030\001 \002(\t\022\017\n\007uStatus\030\002 \002(\r\022\020\n\010fEr"
|
|
"rRate\030\003 \002(\002\022\016\n\006ulTime\030\004 \002(\004\"Z\n\020SFesRTUEv"
|
|
"entInfo\022\021\n\tstrRtuTag\030\001 \002(\t\022\017\n\007uStatus\030\002 "
|
|
"\002(\r\022\022\n\nnCurChanNo\030\003 \002(\005\022\016\n\006ulTime\030\004 \002(\004\""
|
|
"j\n\017SFesSoeEventPkg\022(\n\006stHead\030\001 \002(\0132\030.iot"
|
|
"_idl.SFesRealPkgHead\022-\n\nstSoeEvent\030\002 \003(\013"
|
|
"2\031.iot_idl.SFesSoeEventInfo\"m\n\020SFesChanE"
|
|
"ventPkg\022(\n\006stHead\030\001 \002(\0132\030.iot_idl.SFesRe"
|
|
"alPkgHead\022/\n\013stChanEvent\030\002 \003(\0132\032.iot_idl"
|
|
".SFesChanEventInfo\"j\n\017SFesRTUEventPkg\022(\n"
|
|
"\006stHead\030\001 \002(\0132\030.iot_idl.SFesRealPkgHead\022"
|
|
"-\n\nstRtuEvent\030\002 \003(\0132\031.iot_idl.SFesRTUEve"
|
|
"ntInfo\"P\n\013SFesAiValue\022\020\n\010nPointNo\030\001 \002(\005\022"
|
|
"\016\n\006fValue\030\002 \002(\002\022\017\n\007uStatus\030\003 \002(\r\022\016\n\006ulTi"
|
|
"me\030\004 \002(\004\"P\n\013SFesDiValue\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\006ul"
|
|
"Time\030\004 \002(\004\"P\n\013SFesPiValue\022\020\n\010nPointNo\030\001 "
|
|
"\002(\005\022\016\n\006dValue\030\002 \002(\001\022\017\n\007uStatus\030\003 \002(\r\022\016\n\006"
|
|
"ulTime\030\004 \002(\004\"P\n\013SFesMiValue\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\"K\n\017SFesValueReqPkg\022(\n\006stH"
|
|
"ead\030\001 \002(\0132\030.iot_idl.SFesRealPkgHead\022\016\n\006n"
|
|
"RtuNo\030\002 \002(\005\"w\n\022SFesAiValueRespPkg\022(\n\006stH"
|
|
"ead\030\001 \002(\0132\030.iot_idl.SFesRealPkgHead\022\016\n\006n"
|
|
"RtuNo\030\002 \002(\005\022\'\n\tstAiValue\030\003 \003(\0132\024.iot_idl"
|
|
".SFesAiValue\"w\n\022SFesDiValueRespPkg\022(\n\006st"
|
|
"Head\030\001 \002(\0132\030.iot_idl.SFesRealPkgHead\022\016\n\006"
|
|
"nRtuNo\030\002 \002(\005\022\'\n\tstDiValue\030\003 \003(\0132\024.iot_id"
|
|
"l.SFesDiValue\"w\n\022SFesPiValueRespPkg\022(\n\006s"
|
|
"tHead\030\001 \002(\0132\030.iot_idl.SFesRealPkgHead\022\016\n"
|
|
"\006nRtuNo\030\002 \002(\005\022\'\n\tstPiValue\030\003 \003(\0132\024.iot_i"
|
|
"dl.SFesPiValue\"w\n\022SFesMiValueRespPkg\022(\n\006"
|
|
"stHead\030\001 \002(\0132\030.iot_idl.SFesRealPkgHead\022\016"
|
|
"\n\006nRtuNo\030\002 \002(\005\022\'\n\tstMiValue\030\003 \003(\0132\024.iot_"
|
|
"idl.SFesMiValue\"}\n\017SFesVirtualData\022\021\n\tst"
|
|
"rRtuTag\030\001 \002(\t\022\023\n\013strPointTag\030\002 \002(\t\022\022\n\nnP"
|
|
"ointType\030\003 \002(\005\022\016\n\006nOrder\030\004 \002(\005\022\016\n\006fValue"
|
|
"\030\005 \002(\002\022\016\n\006ulTime\030\006 \002(\004\"n\n\030SFesChangeVirt"
|
|
"ualDataPkg\022(\n\006stHead\030\001 \002(\0132\030.iot_idl.SFe"
|
|
"sRealPkgHead\022(\n\006stData\030\002 \003(\0132\030.iot_idl.S"
|
|
"FesVirtualData*\277\013\n\014enFesMsgType\022\024\n\020MT_FE"
|
|
"S_DI_CHANGE\020\001\022\024\n\020MT_FES_DI_UPDATE\020\002\022\021\n\rM"
|
|
"T_FES_DI_SOE\020\003\022\024\n\020MT_FES_AI_CHANGE\020\004\022\024\n\020"
|
|
"MT_FES_AI_UPDATE\020\005\022\024\n\020MT_FES_MI_CHANGE\020\006"
|
|
"\022\024\n\020MT_FES_MI_UPDATE\020\007\022\024\n\020MT_FES_PI_CHAN"
|
|
"GE\020\010\022\024\n\020MT_FES_PI_UPDATE\020\t\022\027\n\023MT_FES_DAT"
|
|
"A_REQUEST\020\n\022\033\n\027MT_FES_RTU_DATA_REQUEST\020\024"
|
|
"\022\030\n\024MT_FES_RTU_DI_UPDATE\020\025\022\030\n\024MT_FES_RTU"
|
|
"_AI_UPDATE\020\026\022\030\n\024MT_FES_RTU_MI_UPDATE\020\027\022\031"
|
|
"\n\025MT_FES_RTU_ACC_UPDATE\020\030\022\032\n\026MT_FES_RTU_"
|
|
"WAVE_UPDATE\020\031\022\"\n\036MT_FES_RTU_WAVE_RESEND_"
|
|
"REQUEST\020\032\022\031\n\025MT_FES_RTU_DDI_UPDATE\020\033\022\024\n\020"
|
|
"MT_FES_DO_SELECT\020\036\022\025\n\021MT_FES_DO_EXECUTE\020"
|
|
"\037\022\024\n\020MT_FES_DO_CANCEL\020 \022\025\n\021MT_FES_DO_PRE"
|
|
"VENT\020!\022\032\n\026MT_FES_DO_SELECT_REPLY\020#\022\033\n\027MT"
|
|
"_FES_DO_EXECUTE_REPLY\020$\022\032\n\026MT_FES_DO_CAN"
|
|
"CEL_REPLY\020%\022\033\n\027MT_FES_DO_PREVENT_REPLY\020&"
|
|
"\022\027\n\023MT_FES_DO_DIRECTEXE\020\'\022\025\n\021MT_FES_DO_A"
|
|
"UTOEXE\020(\022\025\n\021MT_FES_AO_EXECUTE\020-\022\033\n\027MT_FE"
|
|
"S_AO_EXECUTE_REPLY\020.\022\024\n\020MT_FES_MO_SELECT"
|
|
"\0202\022\025\n\021MT_FES_MO_EXECUTE\0203\022\024\n\020MT_FES_MO_C"
|
|
"ANCEL\0204\022\025\n\021MT_FES_MO_PREVENT\0205\022\032\n\026MT_FES"
|
|
"_MO_SELECT_REPLY\0207\022\033\n\027MT_FES_MO_EXECUTE_"
|
|
"REPLY\0208\022\032\n\026MT_FES_MO_CANCEL_REPLY\0209\022\033\n\027M"
|
|
"T_FES_MO_PREVENT_REPLY\020:\022\027\n\023MT_FES_SETTI"
|
|
"NG_READ\020<\022\027\n\023MT_FES_SETTING_DOWN\020=\022\026\n\022MT"
|
|
"_FES_SETTING_ACK\020>\022\035\n\031MT_FES_SETTING_REA"
|
|
"D_REPLY\020\?\022\035\n\031MT_FES_SETTING_DOWN_REPLY\020@"
|
|
"\022\034\n\030MT_FES_SETTING_ACK_REPLY\020A\022\025\n\021MT_FES"
|
|
"_DEFINE_CMD\020B\022\034\n\030MT_FES_DEFINE_CMD_REPLA"
|
|
"Y\020C\022\027\n\023MT_FES_VIRTUAL_CTRL\020D\022\030\n\024MT_FES_B"
|
|
"ATCH_PNT_CMD\020E\022\026\n\022MT_FES_CHAN_UPDATE\020F\022\025"
|
|
"\n\021MT_FES_RTU_UPDATE\020G\022\024\n\020MT_FES_SOE_EVEN"
|
|
"T\020H\022\024\n\020MT_FES_RTU_EVENT\020I\022\025\n\021MT_FES_CHAN"
|
|
"_EVENT\020J\022\030\n\024MT_FES_CONFIG_UPDATE\020K\022\037\n\033MT"
|
|
"_FES_CONFIG_UPDATE_REPLAY\020L\022\033\n\027MT_FES_JS"
|
|
"ON_RTU_CMD_REQ\020P\022\036\n\032MT_FES_JSON_RTU_CMD_"
|
|
"REPLAY\020Q*^\n\022enFesCtrlReplyType\022\027\n\023CTRL_T"
|
|
"YPE_NWAIT_RTN\020\000\022\026\n\022CTRL_TYPE_WAIT_RTN\020\001\022"
|
|
"\027\n\023CTRL_TYPE_NWAIT_ACK\020\002", 8024);
|
|
::google::protobuf::MessageFactory::InternalRegisterGeneratedFile(
|
|
"FesMessage.proto", &protobuf_RegisterTypes);
|
|
SFesRealPkgHead::default_instance_ = new SFesRealPkgHead();
|
|
SFesAiDataWithTm::default_instance_ = new SFesAiDataWithTm();
|
|
SFesAiDataWithoutTm::default_instance_ = new SFesAiDataWithoutTm();
|
|
SFesChangeAiPkg::default_instance_ = new SFesChangeAiPkg();
|
|
SFesUpdateAiPkg::default_instance_ = new SFesUpdateAiPkg();
|
|
SFesDiDataWithTm::default_instance_ = new SFesDiDataWithTm();
|
|
SFesDiDataWithoutTm::default_instance_ = new SFesDiDataWithoutTm();
|
|
SFesChangeDiPkg::default_instance_ = new SFesChangeDiPkg();
|
|
SFesUpdateDiPkg::default_instance_ = new SFesUpdateDiPkg();
|
|
SFesPiDataWithTm::default_instance_ = new SFesPiDataWithTm();
|
|
SFesPiDataWithoutTm::default_instance_ = new SFesPiDataWithoutTm();
|
|
SFesChangePiPkg::default_instance_ = new SFesChangePiPkg();
|
|
SFesUpdatePiPkg::default_instance_ = new SFesUpdatePiPkg();
|
|
SFesMiDataWithTm::default_instance_ = new SFesMiDataWithTm();
|
|
SFesMiDataWithoutTm::default_instance_ = new SFesMiDataWithoutTm();
|
|
SFesChangeMiPkg::default_instance_ = new SFesChangeMiPkg();
|
|
SFesUpdateMiPkg::default_instance_ = new SFesUpdateMiPkg();
|
|
SFesDoRequestPkg::default_instance_ = new SFesDoRequestPkg();
|
|
SFesAoRequestPkg::default_instance_ = new SFesAoRequestPkg();
|
|
SFesMoRequestPkg::default_instance_ = new SFesMoRequestPkg();
|
|
SFesCtrlRequestSeq::default_instance_ = new SFesCtrlRequestSeq();
|
|
SFesCtrlReplyPkg::default_instance_ = new SFesCtrlReplyPkg();
|
|
SFesCustCmdQueue::default_instance_ = new SFesCustCmdQueue();
|
|
SFesCustCmdRequestPkg::default_instance_ = new SFesCustCmdRequestPkg();
|
|
SFesCustCmdReplyPkg::default_instance_ = new SFesCustCmdReplyPkg();
|
|
SConstSetQueue::default_instance_ = new SConstSetQueue();
|
|
SFesConstSetRequestPkg::default_instance_ = new SFesConstSetRequestPkg();
|
|
SFesConstReadReplyPkg::default_instance_ = new SFesConstReadReplyPkg();
|
|
SFesChanStatusInfo::default_instance_ = new SFesChanStatusInfo();
|
|
SFesChanStatusPkg::default_instance_ = new SFesChanStatusPkg();
|
|
SFesRTUStatusInfo::default_instance_ = new SFesRTUStatusInfo();
|
|
SFesRTUStatusPkg::default_instance_ = new SFesRTUStatusPkg();
|
|
SFesSoeEventInfo::default_instance_ = new SFesSoeEventInfo();
|
|
SFesChanEventInfo::default_instance_ = new SFesChanEventInfo();
|
|
SFesRTUEventInfo::default_instance_ = new SFesRTUEventInfo();
|
|
SFesSoeEventPkg::default_instance_ = new SFesSoeEventPkg();
|
|
SFesChanEventPkg::default_instance_ = new SFesChanEventPkg();
|
|
SFesRTUEventPkg::default_instance_ = new SFesRTUEventPkg();
|
|
SFesAiValue::default_instance_ = new SFesAiValue();
|
|
SFesDiValue::default_instance_ = new SFesDiValue();
|
|
SFesPiValue::default_instance_ = new SFesPiValue();
|
|
SFesMiValue::default_instance_ = new SFesMiValue();
|
|
SFesValueReqPkg::default_instance_ = new SFesValueReqPkg();
|
|
SFesAiValueRespPkg::default_instance_ = new SFesAiValueRespPkg();
|
|
SFesDiValueRespPkg::default_instance_ = new SFesDiValueRespPkg();
|
|
SFesPiValueRespPkg::default_instance_ = new SFesPiValueRespPkg();
|
|
SFesMiValueRespPkg::default_instance_ = new SFesMiValueRespPkg();
|
|
SFesVirtualData::default_instance_ = new SFesVirtualData();
|
|
SFesChangeVirtualDataPkg::default_instance_ = new SFesChangeVirtualDataPkg();
|
|
SFesRealPkgHead::default_instance_->InitAsDefaultInstance();
|
|
SFesAiDataWithTm::default_instance_->InitAsDefaultInstance();
|
|
SFesAiDataWithoutTm::default_instance_->InitAsDefaultInstance();
|
|
SFesChangeAiPkg::default_instance_->InitAsDefaultInstance();
|
|
SFesUpdateAiPkg::default_instance_->InitAsDefaultInstance();
|
|
SFesDiDataWithTm::default_instance_->InitAsDefaultInstance();
|
|
SFesDiDataWithoutTm::default_instance_->InitAsDefaultInstance();
|
|
SFesChangeDiPkg::default_instance_->InitAsDefaultInstance();
|
|
SFesUpdateDiPkg::default_instance_->InitAsDefaultInstance();
|
|
SFesPiDataWithTm::default_instance_->InitAsDefaultInstance();
|
|
SFesPiDataWithoutTm::default_instance_->InitAsDefaultInstance();
|
|
SFesChangePiPkg::default_instance_->InitAsDefaultInstance();
|
|
SFesUpdatePiPkg::default_instance_->InitAsDefaultInstance();
|
|
SFesMiDataWithTm::default_instance_->InitAsDefaultInstance();
|
|
SFesMiDataWithoutTm::default_instance_->InitAsDefaultInstance();
|
|
SFesChangeMiPkg::default_instance_->InitAsDefaultInstance();
|
|
SFesUpdateMiPkg::default_instance_->InitAsDefaultInstance();
|
|
SFesDoRequestPkg::default_instance_->InitAsDefaultInstance();
|
|
SFesAoRequestPkg::default_instance_->InitAsDefaultInstance();
|
|
SFesMoRequestPkg::default_instance_->InitAsDefaultInstance();
|
|
SFesCtrlRequestSeq::default_instance_->InitAsDefaultInstance();
|
|
SFesCtrlReplyPkg::default_instance_->InitAsDefaultInstance();
|
|
SFesCustCmdQueue::default_instance_->InitAsDefaultInstance();
|
|
SFesCustCmdRequestPkg::default_instance_->InitAsDefaultInstance();
|
|
SFesCustCmdReplyPkg::default_instance_->InitAsDefaultInstance();
|
|
SConstSetQueue::default_instance_->InitAsDefaultInstance();
|
|
SFesConstSetRequestPkg::default_instance_->InitAsDefaultInstance();
|
|
SFesConstReadReplyPkg::default_instance_->InitAsDefaultInstance();
|
|
SFesChanStatusInfo::default_instance_->InitAsDefaultInstance();
|
|
SFesChanStatusPkg::default_instance_->InitAsDefaultInstance();
|
|
SFesRTUStatusInfo::default_instance_->InitAsDefaultInstance();
|
|
SFesRTUStatusPkg::default_instance_->InitAsDefaultInstance();
|
|
SFesSoeEventInfo::default_instance_->InitAsDefaultInstance();
|
|
SFesChanEventInfo::default_instance_->InitAsDefaultInstance();
|
|
SFesRTUEventInfo::default_instance_->InitAsDefaultInstance();
|
|
SFesSoeEventPkg::default_instance_->InitAsDefaultInstance();
|
|
SFesChanEventPkg::default_instance_->InitAsDefaultInstance();
|
|
SFesRTUEventPkg::default_instance_->InitAsDefaultInstance();
|
|
SFesAiValue::default_instance_->InitAsDefaultInstance();
|
|
SFesDiValue::default_instance_->InitAsDefaultInstance();
|
|
SFesPiValue::default_instance_->InitAsDefaultInstance();
|
|
SFesMiValue::default_instance_->InitAsDefaultInstance();
|
|
SFesValueReqPkg::default_instance_->InitAsDefaultInstance();
|
|
SFesAiValueRespPkg::default_instance_->InitAsDefaultInstance();
|
|
SFesDiValueRespPkg::default_instance_->InitAsDefaultInstance();
|
|
SFesPiValueRespPkg::default_instance_->InitAsDefaultInstance();
|
|
SFesMiValueRespPkg::default_instance_->InitAsDefaultInstance();
|
|
SFesVirtualData::default_instance_->InitAsDefaultInstance();
|
|
SFesChangeVirtualDataPkg::default_instance_->InitAsDefaultInstance();
|
|
::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_FesMessage_2eproto);
|
|
}
|
|
|
|
// Force AddDescriptors() to be called at static initialization time.
|
|
struct StaticDescriptorInitializer_FesMessage_2eproto {
|
|
StaticDescriptorInitializer_FesMessage_2eproto() {
|
|
protobuf_AddDesc_FesMessage_2eproto();
|
|
}
|
|
} static_descriptor_initializer_FesMessage_2eproto_;
|
|
const ::google::protobuf::EnumDescriptor* enFesMsgType_descriptor() {
|
|
protobuf_AssignDescriptorsOnce();
|
|
return enFesMsgType_descriptor_;
|
|
}
|
|
bool enFesMsgType_IsValid(int value) {
|
|
switch(value) {
|
|
case 1:
|
|
case 2:
|
|
case 3:
|
|
case 4:
|
|
case 5:
|
|
case 6:
|
|
case 7:
|
|
case 8:
|
|
case 9:
|
|
case 10:
|
|
case 20:
|
|
case 21:
|
|
case 22:
|
|
case 23:
|
|
case 24:
|
|
case 25:
|
|
case 26:
|
|
case 27:
|
|
case 30:
|
|
case 31:
|
|
case 32:
|
|
case 33:
|
|
case 35:
|
|
case 36:
|
|
case 37:
|
|
case 38:
|
|
case 39:
|
|
case 40:
|
|
case 45:
|
|
case 46:
|
|
case 50:
|
|
case 51:
|
|
case 52:
|
|
case 53:
|
|
case 55:
|
|
case 56:
|
|
case 57:
|
|
case 58:
|
|
case 60:
|
|
case 61:
|
|
case 62:
|
|
case 63:
|
|
case 64:
|
|
case 65:
|
|
case 66:
|
|
case 67:
|
|
case 68:
|
|
case 69:
|
|
case 70:
|
|
case 71:
|
|
case 72:
|
|
case 73:
|
|
case 74:
|
|
case 75:
|
|
case 76:
|
|
case 80:
|
|
case 81:
|
|
return true;
|
|
default:
|
|
return false;
|
|
}
|
|
}
|
|
|
|
const ::google::protobuf::EnumDescriptor* enFesCtrlReplyType_descriptor() {
|
|
protobuf_AssignDescriptorsOnce();
|
|
return enFesCtrlReplyType_descriptor_;
|
|
}
|
|
bool enFesCtrlReplyType_IsValid(int value) {
|
|
switch(value) {
|
|
case 0:
|
|
case 1:
|
|
case 2:
|
|
return true;
|
|
default:
|
|
return false;
|
|
}
|
|
}
|
|
|
|
|
|
// ===================================================================
|
|
|
|
#ifndef _MSC_VER
|
|
const int SFesRealPkgHead::kStrFesSourceFieldNumber;
|
|
const int SFesRealPkgHead::kNPackageTypeFieldNumber;
|
|
const int SFesRealPkgHead::kNDataNumFieldNumber;
|
|
const int SFesRealPkgHead::kUlMessageIDFieldNumber;
|
|
const int SFesRealPkgHead::kNResPara1FieldNumber;
|
|
const int SFesRealPkgHead::kNResPara2FieldNumber;
|
|
#endif // !_MSC_VER
|
|
|
|
SFesRealPkgHead::SFesRealPkgHead()
|
|
: ::google::protobuf::Message() {
|
|
SharedCtor();
|
|
// @@protoc_insertion_point(constructor:iot_idl.SFesRealPkgHead)
|
|
}
|
|
|
|
void SFesRealPkgHead::InitAsDefaultInstance() {
|
|
}
|
|
|
|
SFesRealPkgHead::SFesRealPkgHead(const SFesRealPkgHead& from)
|
|
: ::google::protobuf::Message() {
|
|
SharedCtor();
|
|
MergeFrom(from);
|
|
// @@protoc_insertion_point(copy_constructor:iot_idl.SFesRealPkgHead)
|
|
}
|
|
|
|
void SFesRealPkgHead::SharedCtor() {
|
|
::google::protobuf::internal::GetEmptyString();
|
|
_cached_size_ = 0;
|
|
strfessource_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
npackagetype_ = 0;
|
|
ndatanum_ = 0;
|
|
ulmessageid_ = GOOGLE_ULONGLONG(0);
|
|
nrespara1_ = 0;
|
|
nrespara2_ = 0;
|
|
::memset(_has_bits_, 0, sizeof(_has_bits_));
|
|
}
|
|
|
|
SFesRealPkgHead::~SFesRealPkgHead() {
|
|
// @@protoc_insertion_point(destructor:iot_idl.SFesRealPkgHead)
|
|
SharedDtor();
|
|
}
|
|
|
|
void SFesRealPkgHead::SharedDtor() {
|
|
if (strfessource_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
|
|
delete strfessource_;
|
|
}
|
|
if (this != default_instance_) {
|
|
}
|
|
}
|
|
|
|
void SFesRealPkgHead::SetCachedSize(int size) const {
|
|
GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
|
|
_cached_size_ = size;
|
|
GOOGLE_SAFE_CONCURRENT_WRITES_END();
|
|
}
|
|
const ::google::protobuf::Descriptor* SFesRealPkgHead::descriptor() {
|
|
protobuf_AssignDescriptorsOnce();
|
|
return SFesRealPkgHead_descriptor_;
|
|
}
|
|
|
|
const SFesRealPkgHead& SFesRealPkgHead::default_instance() {
|
|
if (default_instance_ == NULL) protobuf_AddDesc_FesMessage_2eproto();
|
|
return *default_instance_;
|
|
}
|
|
|
|
SFesRealPkgHead* SFesRealPkgHead::default_instance_ = NULL;
|
|
|
|
SFesRealPkgHead* SFesRealPkgHead::New() const {
|
|
return new SFesRealPkgHead;
|
|
}
|
|
|
|
void SFesRealPkgHead::Clear() {
|
|
#define OFFSET_OF_FIELD_(f) (reinterpret_cast<char*>( \
|
|
&reinterpret_cast<SFesRealPkgHead*>(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] & 63) {
|
|
ZR_(npackagetype_, nrespara2_);
|
|
if (has_strfessource()) {
|
|
if (strfessource_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
|
|
strfessource_->clear();
|
|
}
|
|
}
|
|
}
|
|
|
|
#undef OFFSET_OF_FIELD_
|
|
#undef ZR_
|
|
|
|
::memset(_has_bits_, 0, sizeof(_has_bits_));
|
|
mutable_unknown_fields()->Clear();
|
|
}
|
|
|
|
bool SFesRealPkgHead::MergePartialFromCodedStream(
|
|
::google::protobuf::io::CodedInputStream* input) {
|
|
#define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
|
|
::google::protobuf::uint32 tag;
|
|
// @@protoc_insertion_point(parse_start:iot_idl.SFesRealPkgHead)
|
|
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 strFesSource = 1;
|
|
case 1: {
|
|
if (tag == 10) {
|
|
DO_(::google::protobuf::internal::WireFormatLite::ReadString(
|
|
input, this->mutable_strfessource()));
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
|
|
this->strfessource().data(), this->strfessource().length(),
|
|
::google::protobuf::internal::WireFormat::PARSE,
|
|
"strfessource");
|
|
} else {
|
|
goto handle_unusual;
|
|
}
|
|
if (input->ExpectTag(16)) goto parse_nPackageType;
|
|
break;
|
|
}
|
|
|
|
// required int32 nPackageType = 2;
|
|
case 2: {
|
|
if (tag == 16) {
|
|
parse_nPackageType:
|
|
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
|
|
::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
|
|
input, &npackagetype_)));
|
|
set_has_npackagetype();
|
|
} else {
|
|
goto handle_unusual;
|
|
}
|
|
if (input->ExpectTag(24)) goto parse_nDataNum;
|
|
break;
|
|
}
|
|
|
|
// required int32 nDataNum = 3;
|
|
case 3: {
|
|
if (tag == 24) {
|
|
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(32)) goto parse_ulMessageID;
|
|
break;
|
|
}
|
|
|
|
// required uint64 ulMessageID = 4;
|
|
case 4: {
|
|
if (tag == 32) {
|
|
parse_ulMessageID:
|
|
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
|
|
::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_UINT64>(
|
|
input, &ulmessageid_)));
|
|
set_has_ulmessageid();
|
|
} else {
|
|
goto handle_unusual;
|
|
}
|
|
if (input->ExpectTag(40)) goto parse_nResPara1;
|
|
break;
|
|
}
|
|
|
|
// optional int32 nResPara1 = 5;
|
|
case 5: {
|
|
if (tag == 40) {
|
|
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(48)) goto parse_nResPara2;
|
|
break;
|
|
}
|
|
|
|
// optional int32 nResPara2 = 6;
|
|
case 6: {
|
|
if (tag == 48) {
|
|
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:
|
|
// @@protoc_insertion_point(parse_success:iot_idl.SFesRealPkgHead)
|
|
return true;
|
|
failure:
|
|
// @@protoc_insertion_point(parse_failure:iot_idl.SFesRealPkgHead)
|
|
return false;
|
|
#undef DO_
|
|
}
|
|
|
|
void SFesRealPkgHead::SerializeWithCachedSizes(
|
|
::google::protobuf::io::CodedOutputStream* output) const {
|
|
// @@protoc_insertion_point(serialize_start:iot_idl.SFesRealPkgHead)
|
|
// required string strFesSource = 1;
|
|
if (has_strfessource()) {
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
|
|
this->strfessource().data(), this->strfessource().length(),
|
|
::google::protobuf::internal::WireFormat::SERIALIZE,
|
|
"strfessource");
|
|
::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
|
|
1, this->strfessource(), output);
|
|
}
|
|
|
|
// required int32 nPackageType = 2;
|
|
if (has_npackagetype()) {
|
|
::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->npackagetype(), output);
|
|
}
|
|
|
|
// required int32 nDataNum = 3;
|
|
if (has_ndatanum()) {
|
|
::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->ndatanum(), output);
|
|
}
|
|
|
|
// required uint64 ulMessageID = 4;
|
|
if (has_ulmessageid()) {
|
|
::google::protobuf::internal::WireFormatLite::WriteUInt64(4, this->ulmessageid(), output);
|
|
}
|
|
|
|
// optional int32 nResPara1 = 5;
|
|
if (has_nrespara1()) {
|
|
::google::protobuf::internal::WireFormatLite::WriteInt32(5, this->nrespara1(), output);
|
|
}
|
|
|
|
// optional int32 nResPara2 = 6;
|
|
if (has_nrespara2()) {
|
|
::google::protobuf::internal::WireFormatLite::WriteInt32(6, this->nrespara2(), output);
|
|
}
|
|
|
|
if (!unknown_fields().empty()) {
|
|
::google::protobuf::internal::WireFormat::SerializeUnknownFields(
|
|
unknown_fields(), output);
|
|
}
|
|
// @@protoc_insertion_point(serialize_end:iot_idl.SFesRealPkgHead)
|
|
}
|
|
|
|
::google::protobuf::uint8* SFesRealPkgHead::SerializeWithCachedSizesToArray(
|
|
::google::protobuf::uint8* target) const {
|
|
// @@protoc_insertion_point(serialize_to_array_start:iot_idl.SFesRealPkgHead)
|
|
// required string strFesSource = 1;
|
|
if (has_strfessource()) {
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
|
|
this->strfessource().data(), this->strfessource().length(),
|
|
::google::protobuf::internal::WireFormat::SERIALIZE,
|
|
"strfessource");
|
|
target =
|
|
::google::protobuf::internal::WireFormatLite::WriteStringToArray(
|
|
1, this->strfessource(), target);
|
|
}
|
|
|
|
// required int32 nPackageType = 2;
|
|
if (has_npackagetype()) {
|
|
target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->npackagetype(), target);
|
|
}
|
|
|
|
// required int32 nDataNum = 3;
|
|
if (has_ndatanum()) {
|
|
target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->ndatanum(), target);
|
|
}
|
|
|
|
// required uint64 ulMessageID = 4;
|
|
if (has_ulmessageid()) {
|
|
target = ::google::protobuf::internal::WireFormatLite::WriteUInt64ToArray(4, this->ulmessageid(), target);
|
|
}
|
|
|
|
// optional int32 nResPara1 = 5;
|
|
if (has_nrespara1()) {
|
|
target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(5, this->nrespara1(), target);
|
|
}
|
|
|
|
// optional int32 nResPara2 = 6;
|
|
if (has_nrespara2()) {
|
|
target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(6, this->nrespara2(), target);
|
|
}
|
|
|
|
if (!unknown_fields().empty()) {
|
|
target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
|
|
unknown_fields(), target);
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_end:iot_idl.SFesRealPkgHead)
|
|
return target;
|
|
}
|
|
|
|
int SFesRealPkgHead::ByteSize() const {
|
|
int total_size = 0;
|
|
|
|
if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
|
|
// required string strFesSource = 1;
|
|
if (has_strfessource()) {
|
|
total_size += 1 +
|
|
::google::protobuf::internal::WireFormatLite::StringSize(
|
|
this->strfessource());
|
|
}
|
|
|
|
// required int32 nPackageType = 2;
|
|
if (has_npackagetype()) {
|
|
total_size += 1 +
|
|
::google::protobuf::internal::WireFormatLite::Int32Size(
|
|
this->npackagetype());
|
|
}
|
|
|
|
// required int32 nDataNum = 3;
|
|
if (has_ndatanum()) {
|
|
total_size += 1 +
|
|
::google::protobuf::internal::WireFormatLite::Int32Size(
|
|
this->ndatanum());
|
|
}
|
|
|
|
// required uint64 ulMessageID = 4;
|
|
if (has_ulmessageid()) {
|
|
total_size += 1 +
|
|
::google::protobuf::internal::WireFormatLite::UInt64Size(
|
|
this->ulmessageid());
|
|
}
|
|
|
|
// optional int32 nResPara1 = 5;
|
|
if (has_nrespara1()) {
|
|
total_size += 1 +
|
|
::google::protobuf::internal::WireFormatLite::Int32Size(
|
|
this->nrespara1());
|
|
}
|
|
|
|
// optional int32 nResPara2 = 6;
|
|
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 SFesRealPkgHead::MergeFrom(const ::google::protobuf::Message& from) {
|
|
GOOGLE_CHECK_NE(&from, this);
|
|
const SFesRealPkgHead* source =
|
|
::google::protobuf::internal::dynamic_cast_if_available<const SFesRealPkgHead*>(
|
|
&from);
|
|
if (source == NULL) {
|
|
::google::protobuf::internal::ReflectionOps::Merge(from, this);
|
|
} else {
|
|
MergeFrom(*source);
|
|
}
|
|
}
|
|
|
|
void SFesRealPkgHead::MergeFrom(const SFesRealPkgHead& from) {
|
|
GOOGLE_CHECK_NE(&from, this);
|
|
if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
|
|
if (from.has_strfessource()) {
|
|
set_strfessource(from.strfessource());
|
|
}
|
|
if (from.has_npackagetype()) {
|
|
set_npackagetype(from.npackagetype());
|
|
}
|
|
if (from.has_ndatanum()) {
|
|
set_ndatanum(from.ndatanum());
|
|
}
|
|
if (from.has_ulmessageid()) {
|
|
set_ulmessageid(from.ulmessageid());
|
|
}
|
|
if (from.has_nrespara1()) {
|
|
set_nrespara1(from.nrespara1());
|
|
}
|
|
if (from.has_nrespara2()) {
|
|
set_nrespara2(from.nrespara2());
|
|
}
|
|
}
|
|
mutable_unknown_fields()->MergeFrom(from.unknown_fields());
|
|
}
|
|
|
|
void SFesRealPkgHead::CopyFrom(const ::google::protobuf::Message& from) {
|
|
if (&from == this) return;
|
|
Clear();
|
|
MergeFrom(from);
|
|
}
|
|
|
|
void SFesRealPkgHead::CopyFrom(const SFesRealPkgHead& from) {
|
|
if (&from == this) return;
|
|
Clear();
|
|
MergeFrom(from);
|
|
}
|
|
|
|
bool SFesRealPkgHead::IsInitialized() const {
|
|
if ((_has_bits_[0] & 0x0000000f) != 0x0000000f) return false;
|
|
|
|
return true;
|
|
}
|
|
|
|
void SFesRealPkgHead::Swap(SFesRealPkgHead* other) {
|
|
if (other != this) {
|
|
std::swap(strfessource_, other->strfessource_);
|
|
std::swap(npackagetype_, other->npackagetype_);
|
|
std::swap(ndatanum_, other->ndatanum_);
|
|
std::swap(ulmessageid_, other->ulmessageid_);
|
|
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 SFesRealPkgHead::GetMetadata() const {
|
|
protobuf_AssignDescriptorsOnce();
|
|
::google::protobuf::Metadata metadata;
|
|
metadata.descriptor = SFesRealPkgHead_descriptor_;
|
|
metadata.reflection = SFesRealPkgHead_reflection_;
|
|
return metadata;
|
|
}
|
|
|
|
|
|
// ===================================================================
|
|
|
|
#ifndef _MSC_VER
|
|
const int SFesAiDataWithTm::kStrAppTableNameFieldNumber;
|
|
const int SFesAiDataWithTm::kStrAppColumnNameFieldNumber;
|
|
const int SFesAiDataWithTm::kStrAppTagNameFieldNumber;
|
|
const int SFesAiDataWithTm::kUStatusFieldNumber;
|
|
const int SFesAiDataWithTm::kFValueFieldNumber;
|
|
const int SFesAiDataWithTm::kUlTimeFieldNumber;
|
|
#endif // !_MSC_VER
|
|
|
|
SFesAiDataWithTm::SFesAiDataWithTm()
|
|
: ::google::protobuf::Message() {
|
|
SharedCtor();
|
|
// @@protoc_insertion_point(constructor:iot_idl.SFesAiDataWithTm)
|
|
}
|
|
|
|
void SFesAiDataWithTm::InitAsDefaultInstance() {
|
|
}
|
|
|
|
SFesAiDataWithTm::SFesAiDataWithTm(const SFesAiDataWithTm& from)
|
|
: ::google::protobuf::Message() {
|
|
SharedCtor();
|
|
MergeFrom(from);
|
|
// @@protoc_insertion_point(copy_constructor:iot_idl.SFesAiDataWithTm)
|
|
}
|
|
|
|
void SFesAiDataWithTm::SharedCtor() {
|
|
::google::protobuf::internal::GetEmptyString();
|
|
_cached_size_ = 0;
|
|
strapptablename_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
strappcolumnname_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
strapptagname_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
ustatus_ = 0u;
|
|
fvalue_ = 0;
|
|
ultime_ = GOOGLE_ULONGLONG(0);
|
|
::memset(_has_bits_, 0, sizeof(_has_bits_));
|
|
}
|
|
|
|
SFesAiDataWithTm::~SFesAiDataWithTm() {
|
|
// @@protoc_insertion_point(destructor:iot_idl.SFesAiDataWithTm)
|
|
SharedDtor();
|
|
}
|
|
|
|
void SFesAiDataWithTm::SharedDtor() {
|
|
if (strapptablename_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
|
|
delete strapptablename_;
|
|
}
|
|
if (strappcolumnname_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
|
|
delete strappcolumnname_;
|
|
}
|
|
if (strapptagname_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
|
|
delete strapptagname_;
|
|
}
|
|
if (this != default_instance_) {
|
|
}
|
|
}
|
|
|
|
void SFesAiDataWithTm::SetCachedSize(int size) const {
|
|
GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
|
|
_cached_size_ = size;
|
|
GOOGLE_SAFE_CONCURRENT_WRITES_END();
|
|
}
|
|
const ::google::protobuf::Descriptor* SFesAiDataWithTm::descriptor() {
|
|
protobuf_AssignDescriptorsOnce();
|
|
return SFesAiDataWithTm_descriptor_;
|
|
}
|
|
|
|
const SFesAiDataWithTm& SFesAiDataWithTm::default_instance() {
|
|
if (default_instance_ == NULL) protobuf_AddDesc_FesMessage_2eproto();
|
|
return *default_instance_;
|
|
}
|
|
|
|
SFesAiDataWithTm* SFesAiDataWithTm::default_instance_ = NULL;
|
|
|
|
SFesAiDataWithTm* SFesAiDataWithTm::New() const {
|
|
return new SFesAiDataWithTm;
|
|
}
|
|
|
|
void SFesAiDataWithTm::Clear() {
|
|
#define OFFSET_OF_FIELD_(f) (reinterpret_cast<char*>( \
|
|
&reinterpret_cast<SFesAiDataWithTm*>(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] & 63) {
|
|
ZR_(ustatus_, ultime_);
|
|
if (has_strapptablename()) {
|
|
if (strapptablename_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
|
|
strapptablename_->clear();
|
|
}
|
|
}
|
|
if (has_strappcolumnname()) {
|
|
if (strappcolumnname_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
|
|
strappcolumnname_->clear();
|
|
}
|
|
}
|
|
if (has_strapptagname()) {
|
|
if (strapptagname_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
|
|
strapptagname_->clear();
|
|
}
|
|
}
|
|
}
|
|
|
|
#undef OFFSET_OF_FIELD_
|
|
#undef ZR_
|
|
|
|
::memset(_has_bits_, 0, sizeof(_has_bits_));
|
|
mutable_unknown_fields()->Clear();
|
|
}
|
|
|
|
bool SFesAiDataWithTm::MergePartialFromCodedStream(
|
|
::google::protobuf::io::CodedInputStream* input) {
|
|
#define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
|
|
::google::protobuf::uint32 tag;
|
|
// @@protoc_insertion_point(parse_start:iot_idl.SFesAiDataWithTm)
|
|
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 strAppTableName = 1;
|
|
case 1: {
|
|
if (tag == 10) {
|
|
DO_(::google::protobuf::internal::WireFormatLite::ReadString(
|
|
input, this->mutable_strapptablename()));
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
|
|
this->strapptablename().data(), this->strapptablename().length(),
|
|
::google::protobuf::internal::WireFormat::PARSE,
|
|
"strapptablename");
|
|
} else {
|
|
goto handle_unusual;
|
|
}
|
|
if (input->ExpectTag(18)) goto parse_strAppColumnName;
|
|
break;
|
|
}
|
|
|
|
// required string strAppColumnName = 2;
|
|
case 2: {
|
|
if (tag == 18) {
|
|
parse_strAppColumnName:
|
|
DO_(::google::protobuf::internal::WireFormatLite::ReadString(
|
|
input, this->mutable_strappcolumnname()));
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
|
|
this->strappcolumnname().data(), this->strappcolumnname().length(),
|
|
::google::protobuf::internal::WireFormat::PARSE,
|
|
"strappcolumnname");
|
|
} else {
|
|
goto handle_unusual;
|
|
}
|
|
if (input->ExpectTag(26)) goto parse_strAppTagName;
|
|
break;
|
|
}
|
|
|
|
// required string strAppTagName = 3;
|
|
case 3: {
|
|
if (tag == 26) {
|
|
parse_strAppTagName:
|
|
DO_(::google::protobuf::internal::WireFormatLite::ReadString(
|
|
input, this->mutable_strapptagname()));
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
|
|
this->strapptagname().data(), this->strapptagname().length(),
|
|
::google::protobuf::internal::WireFormat::PARSE,
|
|
"strapptagname");
|
|
} else {
|
|
goto handle_unusual;
|
|
}
|
|
if (input->ExpectTag(32)) goto parse_uStatus;
|
|
break;
|
|
}
|
|
|
|
// required uint32 uStatus = 4;
|
|
case 4: {
|
|
if (tag == 32) {
|
|
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(45)) goto parse_fValue;
|
|
break;
|
|
}
|
|
|
|
// required float fValue = 5;
|
|
case 5: {
|
|
if (tag == 45) {
|
|
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(48)) goto parse_ulTime;
|
|
break;
|
|
}
|
|
|
|
// required uint64 ulTime = 6;
|
|
case 6: {
|
|
if (tag == 48) {
|
|
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:
|
|
// @@protoc_insertion_point(parse_success:iot_idl.SFesAiDataWithTm)
|
|
return true;
|
|
failure:
|
|
// @@protoc_insertion_point(parse_failure:iot_idl.SFesAiDataWithTm)
|
|
return false;
|
|
#undef DO_
|
|
}
|
|
|
|
void SFesAiDataWithTm::SerializeWithCachedSizes(
|
|
::google::protobuf::io::CodedOutputStream* output) const {
|
|
// @@protoc_insertion_point(serialize_start:iot_idl.SFesAiDataWithTm)
|
|
// required string strAppTableName = 1;
|
|
if (has_strapptablename()) {
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
|
|
this->strapptablename().data(), this->strapptablename().length(),
|
|
::google::protobuf::internal::WireFormat::SERIALIZE,
|
|
"strapptablename");
|
|
::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
|
|
1, this->strapptablename(), output);
|
|
}
|
|
|
|
// required string strAppColumnName = 2;
|
|
if (has_strappcolumnname()) {
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
|
|
this->strappcolumnname().data(), this->strappcolumnname().length(),
|
|
::google::protobuf::internal::WireFormat::SERIALIZE,
|
|
"strappcolumnname");
|
|
::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
|
|
2, this->strappcolumnname(), output);
|
|
}
|
|
|
|
// required string strAppTagName = 3;
|
|
if (has_strapptagname()) {
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
|
|
this->strapptagname().data(), this->strapptagname().length(),
|
|
::google::protobuf::internal::WireFormat::SERIALIZE,
|
|
"strapptagname");
|
|
::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
|
|
3, this->strapptagname(), output);
|
|
}
|
|
|
|
// required uint32 uStatus = 4;
|
|
if (has_ustatus()) {
|
|
::google::protobuf::internal::WireFormatLite::WriteUInt32(4, this->ustatus(), output);
|
|
}
|
|
|
|
// required float fValue = 5;
|
|
if (has_fvalue()) {
|
|
::google::protobuf::internal::WireFormatLite::WriteFloat(5, this->fvalue(), output);
|
|
}
|
|
|
|
// required uint64 ulTime = 6;
|
|
if (has_ultime()) {
|
|
::google::protobuf::internal::WireFormatLite::WriteUInt64(6, this->ultime(), output);
|
|
}
|
|
|
|
if (!unknown_fields().empty()) {
|
|
::google::protobuf::internal::WireFormat::SerializeUnknownFields(
|
|
unknown_fields(), output);
|
|
}
|
|
// @@protoc_insertion_point(serialize_end:iot_idl.SFesAiDataWithTm)
|
|
}
|
|
|
|
::google::protobuf::uint8* SFesAiDataWithTm::SerializeWithCachedSizesToArray(
|
|
::google::protobuf::uint8* target) const {
|
|
// @@protoc_insertion_point(serialize_to_array_start:iot_idl.SFesAiDataWithTm)
|
|
// required string strAppTableName = 1;
|
|
if (has_strapptablename()) {
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
|
|
this->strapptablename().data(), this->strapptablename().length(),
|
|
::google::protobuf::internal::WireFormat::SERIALIZE,
|
|
"strapptablename");
|
|
target =
|
|
::google::protobuf::internal::WireFormatLite::WriteStringToArray(
|
|
1, this->strapptablename(), target);
|
|
}
|
|
|
|
// required string strAppColumnName = 2;
|
|
if (has_strappcolumnname()) {
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
|
|
this->strappcolumnname().data(), this->strappcolumnname().length(),
|
|
::google::protobuf::internal::WireFormat::SERIALIZE,
|
|
"strappcolumnname");
|
|
target =
|
|
::google::protobuf::internal::WireFormatLite::WriteStringToArray(
|
|
2, this->strappcolumnname(), target);
|
|
}
|
|
|
|
// required string strAppTagName = 3;
|
|
if (has_strapptagname()) {
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
|
|
this->strapptagname().data(), this->strapptagname().length(),
|
|
::google::protobuf::internal::WireFormat::SERIALIZE,
|
|
"strapptagname");
|
|
target =
|
|
::google::protobuf::internal::WireFormatLite::WriteStringToArray(
|
|
3, this->strapptagname(), target);
|
|
}
|
|
|
|
// required uint32 uStatus = 4;
|
|
if (has_ustatus()) {
|
|
target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(4, this->ustatus(), target);
|
|
}
|
|
|
|
// required float fValue = 5;
|
|
if (has_fvalue()) {
|
|
target = ::google::protobuf::internal::WireFormatLite::WriteFloatToArray(5, this->fvalue(), target);
|
|
}
|
|
|
|
// required uint64 ulTime = 6;
|
|
if (has_ultime()) {
|
|
target = ::google::protobuf::internal::WireFormatLite::WriteUInt64ToArray(6, this->ultime(), target);
|
|
}
|
|
|
|
if (!unknown_fields().empty()) {
|
|
target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
|
|
unknown_fields(), target);
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_end:iot_idl.SFesAiDataWithTm)
|
|
return target;
|
|
}
|
|
|
|
int SFesAiDataWithTm::ByteSize() const {
|
|
int total_size = 0;
|
|
|
|
if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
|
|
// required string strAppTableName = 1;
|
|
if (has_strapptablename()) {
|
|
total_size += 1 +
|
|
::google::protobuf::internal::WireFormatLite::StringSize(
|
|
this->strapptablename());
|
|
}
|
|
|
|
// required string strAppColumnName = 2;
|
|
if (has_strappcolumnname()) {
|
|
total_size += 1 +
|
|
::google::protobuf::internal::WireFormatLite::StringSize(
|
|
this->strappcolumnname());
|
|
}
|
|
|
|
// required string strAppTagName = 3;
|
|
if (has_strapptagname()) {
|
|
total_size += 1 +
|
|
::google::protobuf::internal::WireFormatLite::StringSize(
|
|
this->strapptagname());
|
|
}
|
|
|
|
// required uint32 uStatus = 4;
|
|
if (has_ustatus()) {
|
|
total_size += 1 +
|
|
::google::protobuf::internal::WireFormatLite::UInt32Size(
|
|
this->ustatus());
|
|
}
|
|
|
|
// required float fValue = 5;
|
|
if (has_fvalue()) {
|
|
total_size += 1 + 4;
|
|
}
|
|
|
|
// required uint64 ulTime = 6;
|
|
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 SFesAiDataWithTm::MergeFrom(const ::google::protobuf::Message& from) {
|
|
GOOGLE_CHECK_NE(&from, this);
|
|
const SFesAiDataWithTm* source =
|
|
::google::protobuf::internal::dynamic_cast_if_available<const SFesAiDataWithTm*>(
|
|
&from);
|
|
if (source == NULL) {
|
|
::google::protobuf::internal::ReflectionOps::Merge(from, this);
|
|
} else {
|
|
MergeFrom(*source);
|
|
}
|
|
}
|
|
|
|
void SFesAiDataWithTm::MergeFrom(const SFesAiDataWithTm& from) {
|
|
GOOGLE_CHECK_NE(&from, this);
|
|
if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
|
|
if (from.has_strapptablename()) {
|
|
set_strapptablename(from.strapptablename());
|
|
}
|
|
if (from.has_strappcolumnname()) {
|
|
set_strappcolumnname(from.strappcolumnname());
|
|
}
|
|
if (from.has_strapptagname()) {
|
|
set_strapptagname(from.strapptagname());
|
|
}
|
|
if (from.has_ustatus()) {
|
|
set_ustatus(from.ustatus());
|
|
}
|
|
if (from.has_fvalue()) {
|
|
set_fvalue(from.fvalue());
|
|
}
|
|
if (from.has_ultime()) {
|
|
set_ultime(from.ultime());
|
|
}
|
|
}
|
|
mutable_unknown_fields()->MergeFrom(from.unknown_fields());
|
|
}
|
|
|
|
void SFesAiDataWithTm::CopyFrom(const ::google::protobuf::Message& from) {
|
|
if (&from == this) return;
|
|
Clear();
|
|
MergeFrom(from);
|
|
}
|
|
|
|
void SFesAiDataWithTm::CopyFrom(const SFesAiDataWithTm& from) {
|
|
if (&from == this) return;
|
|
Clear();
|
|
MergeFrom(from);
|
|
}
|
|
|
|
bool SFesAiDataWithTm::IsInitialized() const {
|
|
if ((_has_bits_[0] & 0x0000003f) != 0x0000003f) return false;
|
|
|
|
return true;
|
|
}
|
|
|
|
void SFesAiDataWithTm::Swap(SFesAiDataWithTm* other) {
|
|
if (other != this) {
|
|
std::swap(strapptablename_, other->strapptablename_);
|
|
std::swap(strappcolumnname_, other->strappcolumnname_);
|
|
std::swap(strapptagname_, other->strapptagname_);
|
|
std::swap(ustatus_, other->ustatus_);
|
|
std::swap(fvalue_, other->fvalue_);
|
|
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 SFesAiDataWithTm::GetMetadata() const {
|
|
protobuf_AssignDescriptorsOnce();
|
|
::google::protobuf::Metadata metadata;
|
|
metadata.descriptor = SFesAiDataWithTm_descriptor_;
|
|
metadata.reflection = SFesAiDataWithTm_reflection_;
|
|
return metadata;
|
|
}
|
|
|
|
|
|
// ===================================================================
|
|
|
|
#ifndef _MSC_VER
|
|
const int SFesAiDataWithoutTm::kStrAppTableNameFieldNumber;
|
|
const int SFesAiDataWithoutTm::kStrAppColumnNameFieldNumber;
|
|
const int SFesAiDataWithoutTm::kStrAppTagNameFieldNumber;
|
|
const int SFesAiDataWithoutTm::kUStatusFieldNumber;
|
|
const int SFesAiDataWithoutTm::kFValueFieldNumber;
|
|
#endif // !_MSC_VER
|
|
|
|
SFesAiDataWithoutTm::SFesAiDataWithoutTm()
|
|
: ::google::protobuf::Message() {
|
|
SharedCtor();
|
|
// @@protoc_insertion_point(constructor:iot_idl.SFesAiDataWithoutTm)
|
|
}
|
|
|
|
void SFesAiDataWithoutTm::InitAsDefaultInstance() {
|
|
}
|
|
|
|
SFesAiDataWithoutTm::SFesAiDataWithoutTm(const SFesAiDataWithoutTm& from)
|
|
: ::google::protobuf::Message() {
|
|
SharedCtor();
|
|
MergeFrom(from);
|
|
// @@protoc_insertion_point(copy_constructor:iot_idl.SFesAiDataWithoutTm)
|
|
}
|
|
|
|
void SFesAiDataWithoutTm::SharedCtor() {
|
|
::google::protobuf::internal::GetEmptyString();
|
|
_cached_size_ = 0;
|
|
strapptablename_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
strappcolumnname_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
strapptagname_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
ustatus_ = 0u;
|
|
fvalue_ = 0;
|
|
::memset(_has_bits_, 0, sizeof(_has_bits_));
|
|
}
|
|
|
|
SFesAiDataWithoutTm::~SFesAiDataWithoutTm() {
|
|
// @@protoc_insertion_point(destructor:iot_idl.SFesAiDataWithoutTm)
|
|
SharedDtor();
|
|
}
|
|
|
|
void SFesAiDataWithoutTm::SharedDtor() {
|
|
if (strapptablename_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
|
|
delete strapptablename_;
|
|
}
|
|
if (strappcolumnname_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
|
|
delete strappcolumnname_;
|
|
}
|
|
if (strapptagname_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
|
|
delete strapptagname_;
|
|
}
|
|
if (this != default_instance_) {
|
|
}
|
|
}
|
|
|
|
void SFesAiDataWithoutTm::SetCachedSize(int size) const {
|
|
GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
|
|
_cached_size_ = size;
|
|
GOOGLE_SAFE_CONCURRENT_WRITES_END();
|
|
}
|
|
const ::google::protobuf::Descriptor* SFesAiDataWithoutTm::descriptor() {
|
|
protobuf_AssignDescriptorsOnce();
|
|
return SFesAiDataWithoutTm_descriptor_;
|
|
}
|
|
|
|
const SFesAiDataWithoutTm& SFesAiDataWithoutTm::default_instance() {
|
|
if (default_instance_ == NULL) protobuf_AddDesc_FesMessage_2eproto();
|
|
return *default_instance_;
|
|
}
|
|
|
|
SFesAiDataWithoutTm* SFesAiDataWithoutTm::default_instance_ = NULL;
|
|
|
|
SFesAiDataWithoutTm* SFesAiDataWithoutTm::New() const {
|
|
return new SFesAiDataWithoutTm;
|
|
}
|
|
|
|
void SFesAiDataWithoutTm::Clear() {
|
|
#define OFFSET_OF_FIELD_(f) (reinterpret_cast<char*>( \
|
|
&reinterpret_cast<SFesAiDataWithoutTm*>(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] & 31) {
|
|
ZR_(ustatus_, fvalue_);
|
|
if (has_strapptablename()) {
|
|
if (strapptablename_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
|
|
strapptablename_->clear();
|
|
}
|
|
}
|
|
if (has_strappcolumnname()) {
|
|
if (strappcolumnname_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
|
|
strappcolumnname_->clear();
|
|
}
|
|
}
|
|
if (has_strapptagname()) {
|
|
if (strapptagname_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
|
|
strapptagname_->clear();
|
|
}
|
|
}
|
|
}
|
|
|
|
#undef OFFSET_OF_FIELD_
|
|
#undef ZR_
|
|
|
|
::memset(_has_bits_, 0, sizeof(_has_bits_));
|
|
mutable_unknown_fields()->Clear();
|
|
}
|
|
|
|
bool SFesAiDataWithoutTm::MergePartialFromCodedStream(
|
|
::google::protobuf::io::CodedInputStream* input) {
|
|
#define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
|
|
::google::protobuf::uint32 tag;
|
|
// @@protoc_insertion_point(parse_start:iot_idl.SFesAiDataWithoutTm)
|
|
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 strAppTableName = 1;
|
|
case 1: {
|
|
if (tag == 10) {
|
|
DO_(::google::protobuf::internal::WireFormatLite::ReadString(
|
|
input, this->mutable_strapptablename()));
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
|
|
this->strapptablename().data(), this->strapptablename().length(),
|
|
::google::protobuf::internal::WireFormat::PARSE,
|
|
"strapptablename");
|
|
} else {
|
|
goto handle_unusual;
|
|
}
|
|
if (input->ExpectTag(18)) goto parse_strAppColumnName;
|
|
break;
|
|
}
|
|
|
|
// required string strAppColumnName = 2;
|
|
case 2: {
|
|
if (tag == 18) {
|
|
parse_strAppColumnName:
|
|
DO_(::google::protobuf::internal::WireFormatLite::ReadString(
|
|
input, this->mutable_strappcolumnname()));
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
|
|
this->strappcolumnname().data(), this->strappcolumnname().length(),
|
|
::google::protobuf::internal::WireFormat::PARSE,
|
|
"strappcolumnname");
|
|
} else {
|
|
goto handle_unusual;
|
|
}
|
|
if (input->ExpectTag(26)) goto parse_strAppTagName;
|
|
break;
|
|
}
|
|
|
|
// required string strAppTagName = 3;
|
|
case 3: {
|
|
if (tag == 26) {
|
|
parse_strAppTagName:
|
|
DO_(::google::protobuf::internal::WireFormatLite::ReadString(
|
|
input, this->mutable_strapptagname()));
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
|
|
this->strapptagname().data(), this->strapptagname().length(),
|
|
::google::protobuf::internal::WireFormat::PARSE,
|
|
"strapptagname");
|
|
} else {
|
|
goto handle_unusual;
|
|
}
|
|
if (input->ExpectTag(32)) goto parse_uStatus;
|
|
break;
|
|
}
|
|
|
|
// required uint32 uStatus = 4;
|
|
case 4: {
|
|
if (tag == 32) {
|
|
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(45)) goto parse_fValue;
|
|
break;
|
|
}
|
|
|
|
// required float fValue = 5;
|
|
case 5: {
|
|
if (tag == 45) {
|
|
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->ExpectAtEnd()) goto success;
|
|
break;
|
|
}
|
|
|
|
default: {
|
|
handle_unusual:
|
|
if (tag == 0 ||
|
|
::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
|
|
::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
|
|
goto success;
|
|
}
|
|
DO_(::google::protobuf::internal::WireFormat::SkipField(
|
|
input, tag, mutable_unknown_fields()));
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
success:
|
|
// @@protoc_insertion_point(parse_success:iot_idl.SFesAiDataWithoutTm)
|
|
return true;
|
|
failure:
|
|
// @@protoc_insertion_point(parse_failure:iot_idl.SFesAiDataWithoutTm)
|
|
return false;
|
|
#undef DO_
|
|
}
|
|
|
|
void SFesAiDataWithoutTm::SerializeWithCachedSizes(
|
|
::google::protobuf::io::CodedOutputStream* output) const {
|
|
// @@protoc_insertion_point(serialize_start:iot_idl.SFesAiDataWithoutTm)
|
|
// required string strAppTableName = 1;
|
|
if (has_strapptablename()) {
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
|
|
this->strapptablename().data(), this->strapptablename().length(),
|
|
::google::protobuf::internal::WireFormat::SERIALIZE,
|
|
"strapptablename");
|
|
::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
|
|
1, this->strapptablename(), output);
|
|
}
|
|
|
|
// required string strAppColumnName = 2;
|
|
if (has_strappcolumnname()) {
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
|
|
this->strappcolumnname().data(), this->strappcolumnname().length(),
|
|
::google::protobuf::internal::WireFormat::SERIALIZE,
|
|
"strappcolumnname");
|
|
::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
|
|
2, this->strappcolumnname(), output);
|
|
}
|
|
|
|
// required string strAppTagName = 3;
|
|
if (has_strapptagname()) {
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
|
|
this->strapptagname().data(), this->strapptagname().length(),
|
|
::google::protobuf::internal::WireFormat::SERIALIZE,
|
|
"strapptagname");
|
|
::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
|
|
3, this->strapptagname(), output);
|
|
}
|
|
|
|
// required uint32 uStatus = 4;
|
|
if (has_ustatus()) {
|
|
::google::protobuf::internal::WireFormatLite::WriteUInt32(4, this->ustatus(), output);
|
|
}
|
|
|
|
// required float fValue = 5;
|
|
if (has_fvalue()) {
|
|
::google::protobuf::internal::WireFormatLite::WriteFloat(5, this->fvalue(), output);
|
|
}
|
|
|
|
if (!unknown_fields().empty()) {
|
|
::google::protobuf::internal::WireFormat::SerializeUnknownFields(
|
|
unknown_fields(), output);
|
|
}
|
|
// @@protoc_insertion_point(serialize_end:iot_idl.SFesAiDataWithoutTm)
|
|
}
|
|
|
|
::google::protobuf::uint8* SFesAiDataWithoutTm::SerializeWithCachedSizesToArray(
|
|
::google::protobuf::uint8* target) const {
|
|
// @@protoc_insertion_point(serialize_to_array_start:iot_idl.SFesAiDataWithoutTm)
|
|
// required string strAppTableName = 1;
|
|
if (has_strapptablename()) {
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
|
|
this->strapptablename().data(), this->strapptablename().length(),
|
|
::google::protobuf::internal::WireFormat::SERIALIZE,
|
|
"strapptablename");
|
|
target =
|
|
::google::protobuf::internal::WireFormatLite::WriteStringToArray(
|
|
1, this->strapptablename(), target);
|
|
}
|
|
|
|
// required string strAppColumnName = 2;
|
|
if (has_strappcolumnname()) {
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
|
|
this->strappcolumnname().data(), this->strappcolumnname().length(),
|
|
::google::protobuf::internal::WireFormat::SERIALIZE,
|
|
"strappcolumnname");
|
|
target =
|
|
::google::protobuf::internal::WireFormatLite::WriteStringToArray(
|
|
2, this->strappcolumnname(), target);
|
|
}
|
|
|
|
// required string strAppTagName = 3;
|
|
if (has_strapptagname()) {
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
|
|
this->strapptagname().data(), this->strapptagname().length(),
|
|
::google::protobuf::internal::WireFormat::SERIALIZE,
|
|
"strapptagname");
|
|
target =
|
|
::google::protobuf::internal::WireFormatLite::WriteStringToArray(
|
|
3, this->strapptagname(), target);
|
|
}
|
|
|
|
// required uint32 uStatus = 4;
|
|
if (has_ustatus()) {
|
|
target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(4, this->ustatus(), target);
|
|
}
|
|
|
|
// required float fValue = 5;
|
|
if (has_fvalue()) {
|
|
target = ::google::protobuf::internal::WireFormatLite::WriteFloatToArray(5, this->fvalue(), target);
|
|
}
|
|
|
|
if (!unknown_fields().empty()) {
|
|
target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
|
|
unknown_fields(), target);
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_end:iot_idl.SFesAiDataWithoutTm)
|
|
return target;
|
|
}
|
|
|
|
int SFesAiDataWithoutTm::ByteSize() const {
|
|
int total_size = 0;
|
|
|
|
if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
|
|
// required string strAppTableName = 1;
|
|
if (has_strapptablename()) {
|
|
total_size += 1 +
|
|
::google::protobuf::internal::WireFormatLite::StringSize(
|
|
this->strapptablename());
|
|
}
|
|
|
|
// required string strAppColumnName = 2;
|
|
if (has_strappcolumnname()) {
|
|
total_size += 1 +
|
|
::google::protobuf::internal::WireFormatLite::StringSize(
|
|
this->strappcolumnname());
|
|
}
|
|
|
|
// required string strAppTagName = 3;
|
|
if (has_strapptagname()) {
|
|
total_size += 1 +
|
|
::google::protobuf::internal::WireFormatLite::StringSize(
|
|
this->strapptagname());
|
|
}
|
|
|
|
// required uint32 uStatus = 4;
|
|
if (has_ustatus()) {
|
|
total_size += 1 +
|
|
::google::protobuf::internal::WireFormatLite::UInt32Size(
|
|
this->ustatus());
|
|
}
|
|
|
|
// required float fValue = 5;
|
|
if (has_fvalue()) {
|
|
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 SFesAiDataWithoutTm::MergeFrom(const ::google::protobuf::Message& from) {
|
|
GOOGLE_CHECK_NE(&from, this);
|
|
const SFesAiDataWithoutTm* source =
|
|
::google::protobuf::internal::dynamic_cast_if_available<const SFesAiDataWithoutTm*>(
|
|
&from);
|
|
if (source == NULL) {
|
|
::google::protobuf::internal::ReflectionOps::Merge(from, this);
|
|
} else {
|
|
MergeFrom(*source);
|
|
}
|
|
}
|
|
|
|
void SFesAiDataWithoutTm::MergeFrom(const SFesAiDataWithoutTm& from) {
|
|
GOOGLE_CHECK_NE(&from, this);
|
|
if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
|
|
if (from.has_strapptablename()) {
|
|
set_strapptablename(from.strapptablename());
|
|
}
|
|
if (from.has_strappcolumnname()) {
|
|
set_strappcolumnname(from.strappcolumnname());
|
|
}
|
|
if (from.has_strapptagname()) {
|
|
set_strapptagname(from.strapptagname());
|
|
}
|
|
if (from.has_ustatus()) {
|
|
set_ustatus(from.ustatus());
|
|
}
|
|
if (from.has_fvalue()) {
|
|
set_fvalue(from.fvalue());
|
|
}
|
|
}
|
|
mutable_unknown_fields()->MergeFrom(from.unknown_fields());
|
|
}
|
|
|
|
void SFesAiDataWithoutTm::CopyFrom(const ::google::protobuf::Message& from) {
|
|
if (&from == this) return;
|
|
Clear();
|
|
MergeFrom(from);
|
|
}
|
|
|
|
void SFesAiDataWithoutTm::CopyFrom(const SFesAiDataWithoutTm& from) {
|
|
if (&from == this) return;
|
|
Clear();
|
|
MergeFrom(from);
|
|
}
|
|
|
|
bool SFesAiDataWithoutTm::IsInitialized() const {
|
|
if ((_has_bits_[0] & 0x0000001f) != 0x0000001f) return false;
|
|
|
|
return true;
|
|
}
|
|
|
|
void SFesAiDataWithoutTm::Swap(SFesAiDataWithoutTm* other) {
|
|
if (other != this) {
|
|
std::swap(strapptablename_, other->strapptablename_);
|
|
std::swap(strappcolumnname_, other->strappcolumnname_);
|
|
std::swap(strapptagname_, other->strapptagname_);
|
|
std::swap(ustatus_, other->ustatus_);
|
|
std::swap(fvalue_, other->fvalue_);
|
|
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 SFesAiDataWithoutTm::GetMetadata() const {
|
|
protobuf_AssignDescriptorsOnce();
|
|
::google::protobuf::Metadata metadata;
|
|
metadata.descriptor = SFesAiDataWithoutTm_descriptor_;
|
|
metadata.reflection = SFesAiDataWithoutTm_reflection_;
|
|
return metadata;
|
|
}
|
|
|
|
|
|
// ===================================================================
|
|
|
|
#ifndef _MSC_VER
|
|
const int SFesChangeAiPkg::kStHeadFieldNumber;
|
|
const int SFesChangeAiPkg::kStAiDataFieldNumber;
|
|
#endif // !_MSC_VER
|
|
|
|
SFesChangeAiPkg::SFesChangeAiPkg()
|
|
: ::google::protobuf::Message() {
|
|
SharedCtor();
|
|
// @@protoc_insertion_point(constructor:iot_idl.SFesChangeAiPkg)
|
|
}
|
|
|
|
void SFesChangeAiPkg::InitAsDefaultInstance() {
|
|
sthead_ = const_cast< ::iot_idl::SFesRealPkgHead*>(&::iot_idl::SFesRealPkgHead::default_instance());
|
|
}
|
|
|
|
SFesChangeAiPkg::SFesChangeAiPkg(const SFesChangeAiPkg& from)
|
|
: ::google::protobuf::Message() {
|
|
SharedCtor();
|
|
MergeFrom(from);
|
|
// @@protoc_insertion_point(copy_constructor:iot_idl.SFesChangeAiPkg)
|
|
}
|
|
|
|
void SFesChangeAiPkg::SharedCtor() {
|
|
_cached_size_ = 0;
|
|
sthead_ = NULL;
|
|
::memset(_has_bits_, 0, sizeof(_has_bits_));
|
|
}
|
|
|
|
SFesChangeAiPkg::~SFesChangeAiPkg() {
|
|
// @@protoc_insertion_point(destructor:iot_idl.SFesChangeAiPkg)
|
|
SharedDtor();
|
|
}
|
|
|
|
void SFesChangeAiPkg::SharedDtor() {
|
|
if (this != default_instance_) {
|
|
delete sthead_;
|
|
}
|
|
}
|
|
|
|
void SFesChangeAiPkg::SetCachedSize(int size) const {
|
|
GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
|
|
_cached_size_ = size;
|
|
GOOGLE_SAFE_CONCURRENT_WRITES_END();
|
|
}
|
|
const ::google::protobuf::Descriptor* SFesChangeAiPkg::descriptor() {
|
|
protobuf_AssignDescriptorsOnce();
|
|
return SFesChangeAiPkg_descriptor_;
|
|
}
|
|
|
|
const SFesChangeAiPkg& SFesChangeAiPkg::default_instance() {
|
|
if (default_instance_ == NULL) protobuf_AddDesc_FesMessage_2eproto();
|
|
return *default_instance_;
|
|
}
|
|
|
|
SFesChangeAiPkg* SFesChangeAiPkg::default_instance_ = NULL;
|
|
|
|
SFesChangeAiPkg* SFesChangeAiPkg::New() const {
|
|
return new SFesChangeAiPkg;
|
|
}
|
|
|
|
void SFesChangeAiPkg::Clear() {
|
|
if (has_sthead()) {
|
|
if (sthead_ != NULL) sthead_->::iot_idl::SFesRealPkgHead::Clear();
|
|
}
|
|
staidata_.Clear();
|
|
::memset(_has_bits_, 0, sizeof(_has_bits_));
|
|
mutable_unknown_fields()->Clear();
|
|
}
|
|
|
|
bool SFesChangeAiPkg::MergePartialFromCodedStream(
|
|
::google::protobuf::io::CodedInputStream* input) {
|
|
#define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
|
|
::google::protobuf::uint32 tag;
|
|
// @@protoc_insertion_point(parse_start:iot_idl.SFesChangeAiPkg)
|
|
for (;;) {
|
|
::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
|
|
tag = p.first;
|
|
if (!p.second) goto handle_unusual;
|
|
switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
|
|
// required .iot_idl.SFesRealPkgHead stHead = 1;
|
|
case 1: {
|
|
if (tag == 10) {
|
|
DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
|
|
input, mutable_sthead()));
|
|
} else {
|
|
goto handle_unusual;
|
|
}
|
|
if (input->ExpectTag(18)) goto parse_stAiData;
|
|
break;
|
|
}
|
|
|
|
// repeated .iot_idl.SFesAiDataWithTm stAiData = 2;
|
|
case 2: {
|
|
if (tag == 18) {
|
|
parse_stAiData:
|
|
DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
|
|
input, add_staidata()));
|
|
} else {
|
|
goto handle_unusual;
|
|
}
|
|
if (input->ExpectTag(18)) goto parse_stAiData;
|
|
if (input->ExpectAtEnd()) goto success;
|
|
break;
|
|
}
|
|
|
|
default: {
|
|
handle_unusual:
|
|
if (tag == 0 ||
|
|
::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
|
|
::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
|
|
goto success;
|
|
}
|
|
DO_(::google::protobuf::internal::WireFormat::SkipField(
|
|
input, tag, mutable_unknown_fields()));
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
success:
|
|
// @@protoc_insertion_point(parse_success:iot_idl.SFesChangeAiPkg)
|
|
return true;
|
|
failure:
|
|
// @@protoc_insertion_point(parse_failure:iot_idl.SFesChangeAiPkg)
|
|
return false;
|
|
#undef DO_
|
|
}
|
|
|
|
void SFesChangeAiPkg::SerializeWithCachedSizes(
|
|
::google::protobuf::io::CodedOutputStream* output) const {
|
|
// @@protoc_insertion_point(serialize_start:iot_idl.SFesChangeAiPkg)
|
|
// required .iot_idl.SFesRealPkgHead stHead = 1;
|
|
if (has_sthead()) {
|
|
::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
|
|
1, this->sthead(), output);
|
|
}
|
|
|
|
// repeated .iot_idl.SFesAiDataWithTm stAiData = 2;
|
|
for (int i = 0; i < this->staidata_size(); i++) {
|
|
::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
|
|
2, this->staidata(i), output);
|
|
}
|
|
|
|
if (!unknown_fields().empty()) {
|
|
::google::protobuf::internal::WireFormat::SerializeUnknownFields(
|
|
unknown_fields(), output);
|
|
}
|
|
// @@protoc_insertion_point(serialize_end:iot_idl.SFesChangeAiPkg)
|
|
}
|
|
|
|
::google::protobuf::uint8* SFesChangeAiPkg::SerializeWithCachedSizesToArray(
|
|
::google::protobuf::uint8* target) const {
|
|
// @@protoc_insertion_point(serialize_to_array_start:iot_idl.SFesChangeAiPkg)
|
|
// required .iot_idl.SFesRealPkgHead stHead = 1;
|
|
if (has_sthead()) {
|
|
target = ::google::protobuf::internal::WireFormatLite::
|
|
WriteMessageNoVirtualToArray(
|
|
1, this->sthead(), target);
|
|
}
|
|
|
|
// repeated .iot_idl.SFesAiDataWithTm stAiData = 2;
|
|
for (int i = 0; i < this->staidata_size(); i++) {
|
|
target = ::google::protobuf::internal::WireFormatLite::
|
|
WriteMessageNoVirtualToArray(
|
|
2, this->staidata(i), target);
|
|
}
|
|
|
|
if (!unknown_fields().empty()) {
|
|
target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
|
|
unknown_fields(), target);
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_end:iot_idl.SFesChangeAiPkg)
|
|
return target;
|
|
}
|
|
|
|
int SFesChangeAiPkg::ByteSize() const {
|
|
int total_size = 0;
|
|
|
|
if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
|
|
// required .iot_idl.SFesRealPkgHead stHead = 1;
|
|
if (has_sthead()) {
|
|
total_size += 1 +
|
|
::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
|
|
this->sthead());
|
|
}
|
|
|
|
}
|
|
// repeated .iot_idl.SFesAiDataWithTm stAiData = 2;
|
|
total_size += 1 * this->staidata_size();
|
|
for (int i = 0; i < this->staidata_size(); i++) {
|
|
total_size +=
|
|
::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
|
|
this->staidata(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 SFesChangeAiPkg::MergeFrom(const ::google::protobuf::Message& from) {
|
|
GOOGLE_CHECK_NE(&from, this);
|
|
const SFesChangeAiPkg* source =
|
|
::google::protobuf::internal::dynamic_cast_if_available<const SFesChangeAiPkg*>(
|
|
&from);
|
|
if (source == NULL) {
|
|
::google::protobuf::internal::ReflectionOps::Merge(from, this);
|
|
} else {
|
|
MergeFrom(*source);
|
|
}
|
|
}
|
|
|
|
void SFesChangeAiPkg::MergeFrom(const SFesChangeAiPkg& from) {
|
|
GOOGLE_CHECK_NE(&from, this);
|
|
staidata_.MergeFrom(from.staidata_);
|
|
if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
|
|
if (from.has_sthead()) {
|
|
mutable_sthead()->::iot_idl::SFesRealPkgHead::MergeFrom(from.sthead());
|
|
}
|
|
}
|
|
mutable_unknown_fields()->MergeFrom(from.unknown_fields());
|
|
}
|
|
|
|
void SFesChangeAiPkg::CopyFrom(const ::google::protobuf::Message& from) {
|
|
if (&from == this) return;
|
|
Clear();
|
|
MergeFrom(from);
|
|
}
|
|
|
|
void SFesChangeAiPkg::CopyFrom(const SFesChangeAiPkg& from) {
|
|
if (&from == this) return;
|
|
Clear();
|
|
MergeFrom(from);
|
|
}
|
|
|
|
bool SFesChangeAiPkg::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->staidata())) return false;
|
|
return true;
|
|
}
|
|
|
|
void SFesChangeAiPkg::Swap(SFesChangeAiPkg* other) {
|
|
if (other != this) {
|
|
std::swap(sthead_, other->sthead_);
|
|
staidata_.Swap(&other->staidata_);
|
|
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 SFesChangeAiPkg::GetMetadata() const {
|
|
protobuf_AssignDescriptorsOnce();
|
|
::google::protobuf::Metadata metadata;
|
|
metadata.descriptor = SFesChangeAiPkg_descriptor_;
|
|
metadata.reflection = SFesChangeAiPkg_reflection_;
|
|
return metadata;
|
|
}
|
|
|
|
|
|
// ===================================================================
|
|
|
|
#ifndef _MSC_VER
|
|
const int SFesUpdateAiPkg::kStHeadFieldNumber;
|
|
const int SFesUpdateAiPkg::kStAiDataFieldNumber;
|
|
const int SFesUpdateAiPkg::kUlTimeFieldNumber;
|
|
#endif // !_MSC_VER
|
|
|
|
SFesUpdateAiPkg::SFesUpdateAiPkg()
|
|
: ::google::protobuf::Message() {
|
|
SharedCtor();
|
|
// @@protoc_insertion_point(constructor:iot_idl.SFesUpdateAiPkg)
|
|
}
|
|
|
|
void SFesUpdateAiPkg::InitAsDefaultInstance() {
|
|
sthead_ = const_cast< ::iot_idl::SFesRealPkgHead*>(&::iot_idl::SFesRealPkgHead::default_instance());
|
|
}
|
|
|
|
SFesUpdateAiPkg::SFesUpdateAiPkg(const SFesUpdateAiPkg& from)
|
|
: ::google::protobuf::Message() {
|
|
SharedCtor();
|
|
MergeFrom(from);
|
|
// @@protoc_insertion_point(copy_constructor:iot_idl.SFesUpdateAiPkg)
|
|
}
|
|
|
|
void SFesUpdateAiPkg::SharedCtor() {
|
|
_cached_size_ = 0;
|
|
sthead_ = NULL;
|
|
ultime_ = GOOGLE_ULONGLONG(0);
|
|
::memset(_has_bits_, 0, sizeof(_has_bits_));
|
|
}
|
|
|
|
SFesUpdateAiPkg::~SFesUpdateAiPkg() {
|
|
// @@protoc_insertion_point(destructor:iot_idl.SFesUpdateAiPkg)
|
|
SharedDtor();
|
|
}
|
|
|
|
void SFesUpdateAiPkg::SharedDtor() {
|
|
if (this != default_instance_) {
|
|
delete sthead_;
|
|
}
|
|
}
|
|
|
|
void SFesUpdateAiPkg::SetCachedSize(int size) const {
|
|
GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
|
|
_cached_size_ = size;
|
|
GOOGLE_SAFE_CONCURRENT_WRITES_END();
|
|
}
|
|
const ::google::protobuf::Descriptor* SFesUpdateAiPkg::descriptor() {
|
|
protobuf_AssignDescriptorsOnce();
|
|
return SFesUpdateAiPkg_descriptor_;
|
|
}
|
|
|
|
const SFesUpdateAiPkg& SFesUpdateAiPkg::default_instance() {
|
|
if (default_instance_ == NULL) protobuf_AddDesc_FesMessage_2eproto();
|
|
return *default_instance_;
|
|
}
|
|
|
|
SFesUpdateAiPkg* SFesUpdateAiPkg::default_instance_ = NULL;
|
|
|
|
SFesUpdateAiPkg* SFesUpdateAiPkg::New() const {
|
|
return new SFesUpdateAiPkg;
|
|
}
|
|
|
|
void SFesUpdateAiPkg::Clear() {
|
|
if (_has_bits_[0 / 32] & 5) {
|
|
if (has_sthead()) {
|
|
if (sthead_ != NULL) sthead_->::iot_idl::SFesRealPkgHead::Clear();
|
|
}
|
|
ultime_ = GOOGLE_ULONGLONG(0);
|
|
}
|
|
staidata_.Clear();
|
|
::memset(_has_bits_, 0, sizeof(_has_bits_));
|
|
mutable_unknown_fields()->Clear();
|
|
}
|
|
|
|
bool SFesUpdateAiPkg::MergePartialFromCodedStream(
|
|
::google::protobuf::io::CodedInputStream* input) {
|
|
#define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
|
|
::google::protobuf::uint32 tag;
|
|
// @@protoc_insertion_point(parse_start:iot_idl.SFesUpdateAiPkg)
|
|
for (;;) {
|
|
::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
|
|
tag = p.first;
|
|
if (!p.second) goto handle_unusual;
|
|
switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
|
|
// required .iot_idl.SFesRealPkgHead stHead = 1;
|
|
case 1: {
|
|
if (tag == 10) {
|
|
DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
|
|
input, mutable_sthead()));
|
|
} else {
|
|
goto handle_unusual;
|
|
}
|
|
if (input->ExpectTag(18)) goto parse_stAiData;
|
|
break;
|
|
}
|
|
|
|
// repeated .iot_idl.SFesAiDataWithoutTm stAiData = 2;
|
|
case 2: {
|
|
if (tag == 18) {
|
|
parse_stAiData:
|
|
DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
|
|
input, add_staidata()));
|
|
} else {
|
|
goto handle_unusual;
|
|
}
|
|
if (input->ExpectTag(18)) goto parse_stAiData;
|
|
if (input->ExpectTag(24)) goto parse_ulTime;
|
|
break;
|
|
}
|
|
|
|
// required uint64 ulTime = 3;
|
|
case 3: {
|
|
if (tag == 24) {
|
|
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:
|
|
// @@protoc_insertion_point(parse_success:iot_idl.SFesUpdateAiPkg)
|
|
return true;
|
|
failure:
|
|
// @@protoc_insertion_point(parse_failure:iot_idl.SFesUpdateAiPkg)
|
|
return false;
|
|
#undef DO_
|
|
}
|
|
|
|
void SFesUpdateAiPkg::SerializeWithCachedSizes(
|
|
::google::protobuf::io::CodedOutputStream* output) const {
|
|
// @@protoc_insertion_point(serialize_start:iot_idl.SFesUpdateAiPkg)
|
|
// required .iot_idl.SFesRealPkgHead stHead = 1;
|
|
if (has_sthead()) {
|
|
::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
|
|
1, this->sthead(), output);
|
|
}
|
|
|
|
// repeated .iot_idl.SFesAiDataWithoutTm stAiData = 2;
|
|
for (int i = 0; i < this->staidata_size(); i++) {
|
|
::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
|
|
2, this->staidata(i), output);
|
|
}
|
|
|
|
// required uint64 ulTime = 3;
|
|
if (has_ultime()) {
|
|
::google::protobuf::internal::WireFormatLite::WriteUInt64(3, this->ultime(), output);
|
|
}
|
|
|
|
if (!unknown_fields().empty()) {
|
|
::google::protobuf::internal::WireFormat::SerializeUnknownFields(
|
|
unknown_fields(), output);
|
|
}
|
|
// @@protoc_insertion_point(serialize_end:iot_idl.SFesUpdateAiPkg)
|
|
}
|
|
|
|
::google::protobuf::uint8* SFesUpdateAiPkg::SerializeWithCachedSizesToArray(
|
|
::google::protobuf::uint8* target) const {
|
|
// @@protoc_insertion_point(serialize_to_array_start:iot_idl.SFesUpdateAiPkg)
|
|
// required .iot_idl.SFesRealPkgHead stHead = 1;
|
|
if (has_sthead()) {
|
|
target = ::google::protobuf::internal::WireFormatLite::
|
|
WriteMessageNoVirtualToArray(
|
|
1, this->sthead(), target);
|
|
}
|
|
|
|
// repeated .iot_idl.SFesAiDataWithoutTm stAiData = 2;
|
|
for (int i = 0; i < this->staidata_size(); i++) {
|
|
target = ::google::protobuf::internal::WireFormatLite::
|
|
WriteMessageNoVirtualToArray(
|
|
2, this->staidata(i), target);
|
|
}
|
|
|
|
// required uint64 ulTime = 3;
|
|
if (has_ultime()) {
|
|
target = ::google::protobuf::internal::WireFormatLite::WriteUInt64ToArray(3, this->ultime(), target);
|
|
}
|
|
|
|
if (!unknown_fields().empty()) {
|
|
target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
|
|
unknown_fields(), target);
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_end:iot_idl.SFesUpdateAiPkg)
|
|
return target;
|
|
}
|
|
|
|
int SFesUpdateAiPkg::ByteSize() const {
|
|
int total_size = 0;
|
|
|
|
if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
|
|
// required .iot_idl.SFesRealPkgHead stHead = 1;
|
|
if (has_sthead()) {
|
|
total_size += 1 +
|
|
::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
|
|
this->sthead());
|
|
}
|
|
|
|
// required uint64 ulTime = 3;
|
|
if (has_ultime()) {
|
|
total_size += 1 +
|
|
::google::protobuf::internal::WireFormatLite::UInt64Size(
|
|
this->ultime());
|
|
}
|
|
|
|
}
|
|
// repeated .iot_idl.SFesAiDataWithoutTm stAiData = 2;
|
|
total_size += 1 * this->staidata_size();
|
|
for (int i = 0; i < this->staidata_size(); i++) {
|
|
total_size +=
|
|
::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
|
|
this->staidata(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 SFesUpdateAiPkg::MergeFrom(const ::google::protobuf::Message& from) {
|
|
GOOGLE_CHECK_NE(&from, this);
|
|
const SFesUpdateAiPkg* source =
|
|
::google::protobuf::internal::dynamic_cast_if_available<const SFesUpdateAiPkg*>(
|
|
&from);
|
|
if (source == NULL) {
|
|
::google::protobuf::internal::ReflectionOps::Merge(from, this);
|
|
} else {
|
|
MergeFrom(*source);
|
|
}
|
|
}
|
|
|
|
void SFesUpdateAiPkg::MergeFrom(const SFesUpdateAiPkg& from) {
|
|
GOOGLE_CHECK_NE(&from, this);
|
|
staidata_.MergeFrom(from.staidata_);
|
|
if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
|
|
if (from.has_sthead()) {
|
|
mutable_sthead()->::iot_idl::SFesRealPkgHead::MergeFrom(from.sthead());
|
|
}
|
|
if (from.has_ultime()) {
|
|
set_ultime(from.ultime());
|
|
}
|
|
}
|
|
mutable_unknown_fields()->MergeFrom(from.unknown_fields());
|
|
}
|
|
|
|
void SFesUpdateAiPkg::CopyFrom(const ::google::protobuf::Message& from) {
|
|
if (&from == this) return;
|
|
Clear();
|
|
MergeFrom(from);
|
|
}
|
|
|
|
void SFesUpdateAiPkg::CopyFrom(const SFesUpdateAiPkg& from) {
|
|
if (&from == this) return;
|
|
Clear();
|
|
MergeFrom(from);
|
|
}
|
|
|
|
bool SFesUpdateAiPkg::IsInitialized() const {
|
|
if ((_has_bits_[0] & 0x00000005) != 0x00000005) return false;
|
|
|
|
if (has_sthead()) {
|
|
if (!this->sthead().IsInitialized()) return false;
|
|
}
|
|
if (!::google::protobuf::internal::AllAreInitialized(this->staidata())) return false;
|
|
return true;
|
|
}
|
|
|
|
void SFesUpdateAiPkg::Swap(SFesUpdateAiPkg* other) {
|
|
if (other != this) {
|
|
std::swap(sthead_, other->sthead_);
|
|
staidata_.Swap(&other->staidata_);
|
|
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 SFesUpdateAiPkg::GetMetadata() const {
|
|
protobuf_AssignDescriptorsOnce();
|
|
::google::protobuf::Metadata metadata;
|
|
metadata.descriptor = SFesUpdateAiPkg_descriptor_;
|
|
metadata.reflection = SFesUpdateAiPkg_reflection_;
|
|
return metadata;
|
|
}
|
|
|
|
|
|
// ===================================================================
|
|
|
|
#ifndef _MSC_VER
|
|
const int SFesDiDataWithTm::kStrAppTableNameFieldNumber;
|
|
const int SFesDiDataWithTm::kStrAppColumnNameFieldNumber;
|
|
const int SFesDiDataWithTm::kStrAppTagNameFieldNumber;
|
|
const int SFesDiDataWithTm::kUStatusFieldNumber;
|
|
const int SFesDiDataWithTm::kNValueFieldNumber;
|
|
const int SFesDiDataWithTm::kUlTimeFieldNumber;
|
|
#endif // !_MSC_VER
|
|
|
|
SFesDiDataWithTm::SFesDiDataWithTm()
|
|
: ::google::protobuf::Message() {
|
|
SharedCtor();
|
|
// @@protoc_insertion_point(constructor:iot_idl.SFesDiDataWithTm)
|
|
}
|
|
|
|
void SFesDiDataWithTm::InitAsDefaultInstance() {
|
|
}
|
|
|
|
SFesDiDataWithTm::SFesDiDataWithTm(const SFesDiDataWithTm& from)
|
|
: ::google::protobuf::Message() {
|
|
SharedCtor();
|
|
MergeFrom(from);
|
|
// @@protoc_insertion_point(copy_constructor:iot_idl.SFesDiDataWithTm)
|
|
}
|
|
|
|
void SFesDiDataWithTm::SharedCtor() {
|
|
::google::protobuf::internal::GetEmptyString();
|
|
_cached_size_ = 0;
|
|
strapptablename_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
strappcolumnname_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
strapptagname_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
ustatus_ = 0u;
|
|
nvalue_ = 0;
|
|
ultime_ = GOOGLE_ULONGLONG(0);
|
|
::memset(_has_bits_, 0, sizeof(_has_bits_));
|
|
}
|
|
|
|
SFesDiDataWithTm::~SFesDiDataWithTm() {
|
|
// @@protoc_insertion_point(destructor:iot_idl.SFesDiDataWithTm)
|
|
SharedDtor();
|
|
}
|
|
|
|
void SFesDiDataWithTm::SharedDtor() {
|
|
if (strapptablename_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
|
|
delete strapptablename_;
|
|
}
|
|
if (strappcolumnname_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
|
|
delete strappcolumnname_;
|
|
}
|
|
if (strapptagname_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
|
|
delete strapptagname_;
|
|
}
|
|
if (this != default_instance_) {
|
|
}
|
|
}
|
|
|
|
void SFesDiDataWithTm::SetCachedSize(int size) const {
|
|
GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
|
|
_cached_size_ = size;
|
|
GOOGLE_SAFE_CONCURRENT_WRITES_END();
|
|
}
|
|
const ::google::protobuf::Descriptor* SFesDiDataWithTm::descriptor() {
|
|
protobuf_AssignDescriptorsOnce();
|
|
return SFesDiDataWithTm_descriptor_;
|
|
}
|
|
|
|
const SFesDiDataWithTm& SFesDiDataWithTm::default_instance() {
|
|
if (default_instance_ == NULL) protobuf_AddDesc_FesMessage_2eproto();
|
|
return *default_instance_;
|
|
}
|
|
|
|
SFesDiDataWithTm* SFesDiDataWithTm::default_instance_ = NULL;
|
|
|
|
SFesDiDataWithTm* SFesDiDataWithTm::New() const {
|
|
return new SFesDiDataWithTm;
|
|
}
|
|
|
|
void SFesDiDataWithTm::Clear() {
|
|
#define OFFSET_OF_FIELD_(f) (reinterpret_cast<char*>( \
|
|
&reinterpret_cast<SFesDiDataWithTm*>(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] & 63) {
|
|
ZR_(ustatus_, ultime_);
|
|
if (has_strapptablename()) {
|
|
if (strapptablename_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
|
|
strapptablename_->clear();
|
|
}
|
|
}
|
|
if (has_strappcolumnname()) {
|
|
if (strappcolumnname_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
|
|
strappcolumnname_->clear();
|
|
}
|
|
}
|
|
if (has_strapptagname()) {
|
|
if (strapptagname_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
|
|
strapptagname_->clear();
|
|
}
|
|
}
|
|
}
|
|
|
|
#undef OFFSET_OF_FIELD_
|
|
#undef ZR_
|
|
|
|
::memset(_has_bits_, 0, sizeof(_has_bits_));
|
|
mutable_unknown_fields()->Clear();
|
|
}
|
|
|
|
bool SFesDiDataWithTm::MergePartialFromCodedStream(
|
|
::google::protobuf::io::CodedInputStream* input) {
|
|
#define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
|
|
::google::protobuf::uint32 tag;
|
|
// @@protoc_insertion_point(parse_start:iot_idl.SFesDiDataWithTm)
|
|
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 strAppTableName = 1;
|
|
case 1: {
|
|
if (tag == 10) {
|
|
DO_(::google::protobuf::internal::WireFormatLite::ReadString(
|
|
input, this->mutable_strapptablename()));
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
|
|
this->strapptablename().data(), this->strapptablename().length(),
|
|
::google::protobuf::internal::WireFormat::PARSE,
|
|
"strapptablename");
|
|
} else {
|
|
goto handle_unusual;
|
|
}
|
|
if (input->ExpectTag(18)) goto parse_strAppColumnName;
|
|
break;
|
|
}
|
|
|
|
// required string strAppColumnName = 2;
|
|
case 2: {
|
|
if (tag == 18) {
|
|
parse_strAppColumnName:
|
|
DO_(::google::protobuf::internal::WireFormatLite::ReadString(
|
|
input, this->mutable_strappcolumnname()));
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
|
|
this->strappcolumnname().data(), this->strappcolumnname().length(),
|
|
::google::protobuf::internal::WireFormat::PARSE,
|
|
"strappcolumnname");
|
|
} else {
|
|
goto handle_unusual;
|
|
}
|
|
if (input->ExpectTag(26)) goto parse_strAppTagName;
|
|
break;
|
|
}
|
|
|
|
// required string strAppTagName = 3;
|
|
case 3: {
|
|
if (tag == 26) {
|
|
parse_strAppTagName:
|
|
DO_(::google::protobuf::internal::WireFormatLite::ReadString(
|
|
input, this->mutable_strapptagname()));
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
|
|
this->strapptagname().data(), this->strapptagname().length(),
|
|
::google::protobuf::internal::WireFormat::PARSE,
|
|
"strapptagname");
|
|
} else {
|
|
goto handle_unusual;
|
|
}
|
|
if (input->ExpectTag(32)) goto parse_uStatus;
|
|
break;
|
|
}
|
|
|
|
// required uint32 uStatus = 4;
|
|
case 4: {
|
|
if (tag == 32) {
|
|
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(40)) goto parse_nValue;
|
|
break;
|
|
}
|
|
|
|
// required int32 nValue = 5;
|
|
case 5: {
|
|
if (tag == 40) {
|
|
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(48)) goto parse_ulTime;
|
|
break;
|
|
}
|
|
|
|
// required uint64 ulTime = 6;
|
|
case 6: {
|
|
if (tag == 48) {
|
|
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:
|
|
// @@protoc_insertion_point(parse_success:iot_idl.SFesDiDataWithTm)
|
|
return true;
|
|
failure:
|
|
// @@protoc_insertion_point(parse_failure:iot_idl.SFesDiDataWithTm)
|
|
return false;
|
|
#undef DO_
|
|
}
|
|
|
|
void SFesDiDataWithTm::SerializeWithCachedSizes(
|
|
::google::protobuf::io::CodedOutputStream* output) const {
|
|
// @@protoc_insertion_point(serialize_start:iot_idl.SFesDiDataWithTm)
|
|
// required string strAppTableName = 1;
|
|
if (has_strapptablename()) {
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
|
|
this->strapptablename().data(), this->strapptablename().length(),
|
|
::google::protobuf::internal::WireFormat::SERIALIZE,
|
|
"strapptablename");
|
|
::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
|
|
1, this->strapptablename(), output);
|
|
}
|
|
|
|
// required string strAppColumnName = 2;
|
|
if (has_strappcolumnname()) {
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
|
|
this->strappcolumnname().data(), this->strappcolumnname().length(),
|
|
::google::protobuf::internal::WireFormat::SERIALIZE,
|
|
"strappcolumnname");
|
|
::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
|
|
2, this->strappcolumnname(), output);
|
|
}
|
|
|
|
// required string strAppTagName = 3;
|
|
if (has_strapptagname()) {
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
|
|
this->strapptagname().data(), this->strapptagname().length(),
|
|
::google::protobuf::internal::WireFormat::SERIALIZE,
|
|
"strapptagname");
|
|
::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
|
|
3, this->strapptagname(), output);
|
|
}
|
|
|
|
// required uint32 uStatus = 4;
|
|
if (has_ustatus()) {
|
|
::google::protobuf::internal::WireFormatLite::WriteUInt32(4, this->ustatus(), output);
|
|
}
|
|
|
|
// required int32 nValue = 5;
|
|
if (has_nvalue()) {
|
|
::google::protobuf::internal::WireFormatLite::WriteInt32(5, this->nvalue(), output);
|
|
}
|
|
|
|
// required uint64 ulTime = 6;
|
|
if (has_ultime()) {
|
|
::google::protobuf::internal::WireFormatLite::WriteUInt64(6, this->ultime(), output);
|
|
}
|
|
|
|
if (!unknown_fields().empty()) {
|
|
::google::protobuf::internal::WireFormat::SerializeUnknownFields(
|
|
unknown_fields(), output);
|
|
}
|
|
// @@protoc_insertion_point(serialize_end:iot_idl.SFesDiDataWithTm)
|
|
}
|
|
|
|
::google::protobuf::uint8* SFesDiDataWithTm::SerializeWithCachedSizesToArray(
|
|
::google::protobuf::uint8* target) const {
|
|
// @@protoc_insertion_point(serialize_to_array_start:iot_idl.SFesDiDataWithTm)
|
|
// required string strAppTableName = 1;
|
|
if (has_strapptablename()) {
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
|
|
this->strapptablename().data(), this->strapptablename().length(),
|
|
::google::protobuf::internal::WireFormat::SERIALIZE,
|
|
"strapptablename");
|
|
target =
|
|
::google::protobuf::internal::WireFormatLite::WriteStringToArray(
|
|
1, this->strapptablename(), target);
|
|
}
|
|
|
|
// required string strAppColumnName = 2;
|
|
if (has_strappcolumnname()) {
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
|
|
this->strappcolumnname().data(), this->strappcolumnname().length(),
|
|
::google::protobuf::internal::WireFormat::SERIALIZE,
|
|
"strappcolumnname");
|
|
target =
|
|
::google::protobuf::internal::WireFormatLite::WriteStringToArray(
|
|
2, this->strappcolumnname(), target);
|
|
}
|
|
|
|
// required string strAppTagName = 3;
|
|
if (has_strapptagname()) {
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
|
|
this->strapptagname().data(), this->strapptagname().length(),
|
|
::google::protobuf::internal::WireFormat::SERIALIZE,
|
|
"strapptagname");
|
|
target =
|
|
::google::protobuf::internal::WireFormatLite::WriteStringToArray(
|
|
3, this->strapptagname(), target);
|
|
}
|
|
|
|
// required uint32 uStatus = 4;
|
|
if (has_ustatus()) {
|
|
target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(4, this->ustatus(), target);
|
|
}
|
|
|
|
// required int32 nValue = 5;
|
|
if (has_nvalue()) {
|
|
target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(5, this->nvalue(), target);
|
|
}
|
|
|
|
// required uint64 ulTime = 6;
|
|
if (has_ultime()) {
|
|
target = ::google::protobuf::internal::WireFormatLite::WriteUInt64ToArray(6, this->ultime(), target);
|
|
}
|
|
|
|
if (!unknown_fields().empty()) {
|
|
target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
|
|
unknown_fields(), target);
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_end:iot_idl.SFesDiDataWithTm)
|
|
return target;
|
|
}
|
|
|
|
int SFesDiDataWithTm::ByteSize() const {
|
|
int total_size = 0;
|
|
|
|
if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
|
|
// required string strAppTableName = 1;
|
|
if (has_strapptablename()) {
|
|
total_size += 1 +
|
|
::google::protobuf::internal::WireFormatLite::StringSize(
|
|
this->strapptablename());
|
|
}
|
|
|
|
// required string strAppColumnName = 2;
|
|
if (has_strappcolumnname()) {
|
|
total_size += 1 +
|
|
::google::protobuf::internal::WireFormatLite::StringSize(
|
|
this->strappcolumnname());
|
|
}
|
|
|
|
// required string strAppTagName = 3;
|
|
if (has_strapptagname()) {
|
|
total_size += 1 +
|
|
::google::protobuf::internal::WireFormatLite::StringSize(
|
|
this->strapptagname());
|
|
}
|
|
|
|
// required uint32 uStatus = 4;
|
|
if (has_ustatus()) {
|
|
total_size += 1 +
|
|
::google::protobuf::internal::WireFormatLite::UInt32Size(
|
|
this->ustatus());
|
|
}
|
|
|
|
// required int32 nValue = 5;
|
|
if (has_nvalue()) {
|
|
total_size += 1 +
|
|
::google::protobuf::internal::WireFormatLite::Int32Size(
|
|
this->nvalue());
|
|
}
|
|
|
|
// required uint64 ulTime = 6;
|
|
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 SFesDiDataWithTm::MergeFrom(const ::google::protobuf::Message& from) {
|
|
GOOGLE_CHECK_NE(&from, this);
|
|
const SFesDiDataWithTm* source =
|
|
::google::protobuf::internal::dynamic_cast_if_available<const SFesDiDataWithTm*>(
|
|
&from);
|
|
if (source == NULL) {
|
|
::google::protobuf::internal::ReflectionOps::Merge(from, this);
|
|
} else {
|
|
MergeFrom(*source);
|
|
}
|
|
}
|
|
|
|
void SFesDiDataWithTm::MergeFrom(const SFesDiDataWithTm& from) {
|
|
GOOGLE_CHECK_NE(&from, this);
|
|
if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
|
|
if (from.has_strapptablename()) {
|
|
set_strapptablename(from.strapptablename());
|
|
}
|
|
if (from.has_strappcolumnname()) {
|
|
set_strappcolumnname(from.strappcolumnname());
|
|
}
|
|
if (from.has_strapptagname()) {
|
|
set_strapptagname(from.strapptagname());
|
|
}
|
|
if (from.has_ustatus()) {
|
|
set_ustatus(from.ustatus());
|
|
}
|
|
if (from.has_nvalue()) {
|
|
set_nvalue(from.nvalue());
|
|
}
|
|
if (from.has_ultime()) {
|
|
set_ultime(from.ultime());
|
|
}
|
|
}
|
|
mutable_unknown_fields()->MergeFrom(from.unknown_fields());
|
|
}
|
|
|
|
void SFesDiDataWithTm::CopyFrom(const ::google::protobuf::Message& from) {
|
|
if (&from == this) return;
|
|
Clear();
|
|
MergeFrom(from);
|
|
}
|
|
|
|
void SFesDiDataWithTm::CopyFrom(const SFesDiDataWithTm& from) {
|
|
if (&from == this) return;
|
|
Clear();
|
|
MergeFrom(from);
|
|
}
|
|
|
|
bool SFesDiDataWithTm::IsInitialized() const {
|
|
if ((_has_bits_[0] & 0x0000003f) != 0x0000003f) return false;
|
|
|
|
return true;
|
|
}
|
|
|
|
void SFesDiDataWithTm::Swap(SFesDiDataWithTm* other) {
|
|
if (other != this) {
|
|
std::swap(strapptablename_, other->strapptablename_);
|
|
std::swap(strappcolumnname_, other->strappcolumnname_);
|
|
std::swap(strapptagname_, other->strapptagname_);
|
|
std::swap(ustatus_, other->ustatus_);
|
|
std::swap(nvalue_, other->nvalue_);
|
|
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 SFesDiDataWithTm::GetMetadata() const {
|
|
protobuf_AssignDescriptorsOnce();
|
|
::google::protobuf::Metadata metadata;
|
|
metadata.descriptor = SFesDiDataWithTm_descriptor_;
|
|
metadata.reflection = SFesDiDataWithTm_reflection_;
|
|
return metadata;
|
|
}
|
|
|
|
|
|
// ===================================================================
|
|
|
|
#ifndef _MSC_VER
|
|
const int SFesDiDataWithoutTm::kStrAppTableNameFieldNumber;
|
|
const int SFesDiDataWithoutTm::kStrAppColumnNameFieldNumber;
|
|
const int SFesDiDataWithoutTm::kStrAppTagNameFieldNumber;
|
|
const int SFesDiDataWithoutTm::kUStatusFieldNumber;
|
|
const int SFesDiDataWithoutTm::kNValueFieldNumber;
|
|
#endif // !_MSC_VER
|
|
|
|
SFesDiDataWithoutTm::SFesDiDataWithoutTm()
|
|
: ::google::protobuf::Message() {
|
|
SharedCtor();
|
|
// @@protoc_insertion_point(constructor:iot_idl.SFesDiDataWithoutTm)
|
|
}
|
|
|
|
void SFesDiDataWithoutTm::InitAsDefaultInstance() {
|
|
}
|
|
|
|
SFesDiDataWithoutTm::SFesDiDataWithoutTm(const SFesDiDataWithoutTm& from)
|
|
: ::google::protobuf::Message() {
|
|
SharedCtor();
|
|
MergeFrom(from);
|
|
// @@protoc_insertion_point(copy_constructor:iot_idl.SFesDiDataWithoutTm)
|
|
}
|
|
|
|
void SFesDiDataWithoutTm::SharedCtor() {
|
|
::google::protobuf::internal::GetEmptyString();
|
|
_cached_size_ = 0;
|
|
strapptablename_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
strappcolumnname_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
strapptagname_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
ustatus_ = 0u;
|
|
nvalue_ = 0;
|
|
::memset(_has_bits_, 0, sizeof(_has_bits_));
|
|
}
|
|
|
|
SFesDiDataWithoutTm::~SFesDiDataWithoutTm() {
|
|
// @@protoc_insertion_point(destructor:iot_idl.SFesDiDataWithoutTm)
|
|
SharedDtor();
|
|
}
|
|
|
|
void SFesDiDataWithoutTm::SharedDtor() {
|
|
if (strapptablename_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
|
|
delete strapptablename_;
|
|
}
|
|
if (strappcolumnname_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
|
|
delete strappcolumnname_;
|
|
}
|
|
if (strapptagname_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
|
|
delete strapptagname_;
|
|
}
|
|
if (this != default_instance_) {
|
|
}
|
|
}
|
|
|
|
void SFesDiDataWithoutTm::SetCachedSize(int size) const {
|
|
GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
|
|
_cached_size_ = size;
|
|
GOOGLE_SAFE_CONCURRENT_WRITES_END();
|
|
}
|
|
const ::google::protobuf::Descriptor* SFesDiDataWithoutTm::descriptor() {
|
|
protobuf_AssignDescriptorsOnce();
|
|
return SFesDiDataWithoutTm_descriptor_;
|
|
}
|
|
|
|
const SFesDiDataWithoutTm& SFesDiDataWithoutTm::default_instance() {
|
|
if (default_instance_ == NULL) protobuf_AddDesc_FesMessage_2eproto();
|
|
return *default_instance_;
|
|
}
|
|
|
|
SFesDiDataWithoutTm* SFesDiDataWithoutTm::default_instance_ = NULL;
|
|
|
|
SFesDiDataWithoutTm* SFesDiDataWithoutTm::New() const {
|
|
return new SFesDiDataWithoutTm;
|
|
}
|
|
|
|
void SFesDiDataWithoutTm::Clear() {
|
|
#define OFFSET_OF_FIELD_(f) (reinterpret_cast<char*>( \
|
|
&reinterpret_cast<SFesDiDataWithoutTm*>(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] & 31) {
|
|
ZR_(ustatus_, nvalue_);
|
|
if (has_strapptablename()) {
|
|
if (strapptablename_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
|
|
strapptablename_->clear();
|
|
}
|
|
}
|
|
if (has_strappcolumnname()) {
|
|
if (strappcolumnname_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
|
|
strappcolumnname_->clear();
|
|
}
|
|
}
|
|
if (has_strapptagname()) {
|
|
if (strapptagname_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
|
|
strapptagname_->clear();
|
|
}
|
|
}
|
|
}
|
|
|
|
#undef OFFSET_OF_FIELD_
|
|
#undef ZR_
|
|
|
|
::memset(_has_bits_, 0, sizeof(_has_bits_));
|
|
mutable_unknown_fields()->Clear();
|
|
}
|
|
|
|
bool SFesDiDataWithoutTm::MergePartialFromCodedStream(
|
|
::google::protobuf::io::CodedInputStream* input) {
|
|
#define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
|
|
::google::protobuf::uint32 tag;
|
|
// @@protoc_insertion_point(parse_start:iot_idl.SFesDiDataWithoutTm)
|
|
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 strAppTableName = 1;
|
|
case 1: {
|
|
if (tag == 10) {
|
|
DO_(::google::protobuf::internal::WireFormatLite::ReadString(
|
|
input, this->mutable_strapptablename()));
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
|
|
this->strapptablename().data(), this->strapptablename().length(),
|
|
::google::protobuf::internal::WireFormat::PARSE,
|
|
"strapptablename");
|
|
} else {
|
|
goto handle_unusual;
|
|
}
|
|
if (input->ExpectTag(18)) goto parse_strAppColumnName;
|
|
break;
|
|
}
|
|
|
|
// required string strAppColumnName = 2;
|
|
case 2: {
|
|
if (tag == 18) {
|
|
parse_strAppColumnName:
|
|
DO_(::google::protobuf::internal::WireFormatLite::ReadString(
|
|
input, this->mutable_strappcolumnname()));
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
|
|
this->strappcolumnname().data(), this->strappcolumnname().length(),
|
|
::google::protobuf::internal::WireFormat::PARSE,
|
|
"strappcolumnname");
|
|
} else {
|
|
goto handle_unusual;
|
|
}
|
|
if (input->ExpectTag(26)) goto parse_strAppTagName;
|
|
break;
|
|
}
|
|
|
|
// required string strAppTagName = 3;
|
|
case 3: {
|
|
if (tag == 26) {
|
|
parse_strAppTagName:
|
|
DO_(::google::protobuf::internal::WireFormatLite::ReadString(
|
|
input, this->mutable_strapptagname()));
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
|
|
this->strapptagname().data(), this->strapptagname().length(),
|
|
::google::protobuf::internal::WireFormat::PARSE,
|
|
"strapptagname");
|
|
} else {
|
|
goto handle_unusual;
|
|
}
|
|
if (input->ExpectTag(32)) goto parse_uStatus;
|
|
break;
|
|
}
|
|
|
|
// required uint32 uStatus = 4;
|
|
case 4: {
|
|
if (tag == 32) {
|
|
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(40)) goto parse_nValue;
|
|
break;
|
|
}
|
|
|
|
// required int32 nValue = 5;
|
|
case 5: {
|
|
if (tag == 40) {
|
|
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->ExpectAtEnd()) goto success;
|
|
break;
|
|
}
|
|
|
|
default: {
|
|
handle_unusual:
|
|
if (tag == 0 ||
|
|
::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
|
|
::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
|
|
goto success;
|
|
}
|
|
DO_(::google::protobuf::internal::WireFormat::SkipField(
|
|
input, tag, mutable_unknown_fields()));
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
success:
|
|
// @@protoc_insertion_point(parse_success:iot_idl.SFesDiDataWithoutTm)
|
|
return true;
|
|
failure:
|
|
// @@protoc_insertion_point(parse_failure:iot_idl.SFesDiDataWithoutTm)
|
|
return false;
|
|
#undef DO_
|
|
}
|
|
|
|
void SFesDiDataWithoutTm::SerializeWithCachedSizes(
|
|
::google::protobuf::io::CodedOutputStream* output) const {
|
|
// @@protoc_insertion_point(serialize_start:iot_idl.SFesDiDataWithoutTm)
|
|
// required string strAppTableName = 1;
|
|
if (has_strapptablename()) {
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
|
|
this->strapptablename().data(), this->strapptablename().length(),
|
|
::google::protobuf::internal::WireFormat::SERIALIZE,
|
|
"strapptablename");
|
|
::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
|
|
1, this->strapptablename(), output);
|
|
}
|
|
|
|
// required string strAppColumnName = 2;
|
|
if (has_strappcolumnname()) {
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
|
|
this->strappcolumnname().data(), this->strappcolumnname().length(),
|
|
::google::protobuf::internal::WireFormat::SERIALIZE,
|
|
"strappcolumnname");
|
|
::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
|
|
2, this->strappcolumnname(), output);
|
|
}
|
|
|
|
// required string strAppTagName = 3;
|
|
if (has_strapptagname()) {
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
|
|
this->strapptagname().data(), this->strapptagname().length(),
|
|
::google::protobuf::internal::WireFormat::SERIALIZE,
|
|
"strapptagname");
|
|
::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
|
|
3, this->strapptagname(), output);
|
|
}
|
|
|
|
// required uint32 uStatus = 4;
|
|
if (has_ustatus()) {
|
|
::google::protobuf::internal::WireFormatLite::WriteUInt32(4, this->ustatus(), output);
|
|
}
|
|
|
|
// required int32 nValue = 5;
|
|
if (has_nvalue()) {
|
|
::google::protobuf::internal::WireFormatLite::WriteInt32(5, this->nvalue(), output);
|
|
}
|
|
|
|
if (!unknown_fields().empty()) {
|
|
::google::protobuf::internal::WireFormat::SerializeUnknownFields(
|
|
unknown_fields(), output);
|
|
}
|
|
// @@protoc_insertion_point(serialize_end:iot_idl.SFesDiDataWithoutTm)
|
|
}
|
|
|
|
::google::protobuf::uint8* SFesDiDataWithoutTm::SerializeWithCachedSizesToArray(
|
|
::google::protobuf::uint8* target) const {
|
|
// @@protoc_insertion_point(serialize_to_array_start:iot_idl.SFesDiDataWithoutTm)
|
|
// required string strAppTableName = 1;
|
|
if (has_strapptablename()) {
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
|
|
this->strapptablename().data(), this->strapptablename().length(),
|
|
::google::protobuf::internal::WireFormat::SERIALIZE,
|
|
"strapptablename");
|
|
target =
|
|
::google::protobuf::internal::WireFormatLite::WriteStringToArray(
|
|
1, this->strapptablename(), target);
|
|
}
|
|
|
|
// required string strAppColumnName = 2;
|
|
if (has_strappcolumnname()) {
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
|
|
this->strappcolumnname().data(), this->strappcolumnname().length(),
|
|
::google::protobuf::internal::WireFormat::SERIALIZE,
|
|
"strappcolumnname");
|
|
target =
|
|
::google::protobuf::internal::WireFormatLite::WriteStringToArray(
|
|
2, this->strappcolumnname(), target);
|
|
}
|
|
|
|
// required string strAppTagName = 3;
|
|
if (has_strapptagname()) {
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
|
|
this->strapptagname().data(), this->strapptagname().length(),
|
|
::google::protobuf::internal::WireFormat::SERIALIZE,
|
|
"strapptagname");
|
|
target =
|
|
::google::protobuf::internal::WireFormatLite::WriteStringToArray(
|
|
3, this->strapptagname(), target);
|
|
}
|
|
|
|
// required uint32 uStatus = 4;
|
|
if (has_ustatus()) {
|
|
target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(4, this->ustatus(), target);
|
|
}
|
|
|
|
// required int32 nValue = 5;
|
|
if (has_nvalue()) {
|
|
target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(5, this->nvalue(), target);
|
|
}
|
|
|
|
if (!unknown_fields().empty()) {
|
|
target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
|
|
unknown_fields(), target);
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_end:iot_idl.SFesDiDataWithoutTm)
|
|
return target;
|
|
}
|
|
|
|
int SFesDiDataWithoutTm::ByteSize() const {
|
|
int total_size = 0;
|
|
|
|
if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
|
|
// required string strAppTableName = 1;
|
|
if (has_strapptablename()) {
|
|
total_size += 1 +
|
|
::google::protobuf::internal::WireFormatLite::StringSize(
|
|
this->strapptablename());
|
|
}
|
|
|
|
// required string strAppColumnName = 2;
|
|
if (has_strappcolumnname()) {
|
|
total_size += 1 +
|
|
::google::protobuf::internal::WireFormatLite::StringSize(
|
|
this->strappcolumnname());
|
|
}
|
|
|
|
// required string strAppTagName = 3;
|
|
if (has_strapptagname()) {
|
|
total_size += 1 +
|
|
::google::protobuf::internal::WireFormatLite::StringSize(
|
|
this->strapptagname());
|
|
}
|
|
|
|
// required uint32 uStatus = 4;
|
|
if (has_ustatus()) {
|
|
total_size += 1 +
|
|
::google::protobuf::internal::WireFormatLite::UInt32Size(
|
|
this->ustatus());
|
|
}
|
|
|
|
// required int32 nValue = 5;
|
|
if (has_nvalue()) {
|
|
total_size += 1 +
|
|
::google::protobuf::internal::WireFormatLite::Int32Size(
|
|
this->nvalue());
|
|
}
|
|
|
|
}
|
|
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 SFesDiDataWithoutTm::MergeFrom(const ::google::protobuf::Message& from) {
|
|
GOOGLE_CHECK_NE(&from, this);
|
|
const SFesDiDataWithoutTm* source =
|
|
::google::protobuf::internal::dynamic_cast_if_available<const SFesDiDataWithoutTm*>(
|
|
&from);
|
|
if (source == NULL) {
|
|
::google::protobuf::internal::ReflectionOps::Merge(from, this);
|
|
} else {
|
|
MergeFrom(*source);
|
|
}
|
|
}
|
|
|
|
void SFesDiDataWithoutTm::MergeFrom(const SFesDiDataWithoutTm& from) {
|
|
GOOGLE_CHECK_NE(&from, this);
|
|
if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
|
|
if (from.has_strapptablename()) {
|
|
set_strapptablename(from.strapptablename());
|
|
}
|
|
if (from.has_strappcolumnname()) {
|
|
set_strappcolumnname(from.strappcolumnname());
|
|
}
|
|
if (from.has_strapptagname()) {
|
|
set_strapptagname(from.strapptagname());
|
|
}
|
|
if (from.has_ustatus()) {
|
|
set_ustatus(from.ustatus());
|
|
}
|
|
if (from.has_nvalue()) {
|
|
set_nvalue(from.nvalue());
|
|
}
|
|
}
|
|
mutable_unknown_fields()->MergeFrom(from.unknown_fields());
|
|
}
|
|
|
|
void SFesDiDataWithoutTm::CopyFrom(const ::google::protobuf::Message& from) {
|
|
if (&from == this) return;
|
|
Clear();
|
|
MergeFrom(from);
|
|
}
|
|
|
|
void SFesDiDataWithoutTm::CopyFrom(const SFesDiDataWithoutTm& from) {
|
|
if (&from == this) return;
|
|
Clear();
|
|
MergeFrom(from);
|
|
}
|
|
|
|
bool SFesDiDataWithoutTm::IsInitialized() const {
|
|
if ((_has_bits_[0] & 0x0000001f) != 0x0000001f) return false;
|
|
|
|
return true;
|
|
}
|
|
|
|
void SFesDiDataWithoutTm::Swap(SFesDiDataWithoutTm* other) {
|
|
if (other != this) {
|
|
std::swap(strapptablename_, other->strapptablename_);
|
|
std::swap(strappcolumnname_, other->strappcolumnname_);
|
|
std::swap(strapptagname_, other->strapptagname_);
|
|
std::swap(ustatus_, other->ustatus_);
|
|
std::swap(nvalue_, other->nvalue_);
|
|
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 SFesDiDataWithoutTm::GetMetadata() const {
|
|
protobuf_AssignDescriptorsOnce();
|
|
::google::protobuf::Metadata metadata;
|
|
metadata.descriptor = SFesDiDataWithoutTm_descriptor_;
|
|
metadata.reflection = SFesDiDataWithoutTm_reflection_;
|
|
return metadata;
|
|
}
|
|
|
|
|
|
// ===================================================================
|
|
|
|
#ifndef _MSC_VER
|
|
const int SFesChangeDiPkg::kStHeadFieldNumber;
|
|
const int SFesChangeDiPkg::kStDiDataFieldNumber;
|
|
#endif // !_MSC_VER
|
|
|
|
SFesChangeDiPkg::SFesChangeDiPkg()
|
|
: ::google::protobuf::Message() {
|
|
SharedCtor();
|
|
// @@protoc_insertion_point(constructor:iot_idl.SFesChangeDiPkg)
|
|
}
|
|
|
|
void SFesChangeDiPkg::InitAsDefaultInstance() {
|
|
sthead_ = const_cast< ::iot_idl::SFesRealPkgHead*>(&::iot_idl::SFesRealPkgHead::default_instance());
|
|
}
|
|
|
|
SFesChangeDiPkg::SFesChangeDiPkg(const SFesChangeDiPkg& from)
|
|
: ::google::protobuf::Message() {
|
|
SharedCtor();
|
|
MergeFrom(from);
|
|
// @@protoc_insertion_point(copy_constructor:iot_idl.SFesChangeDiPkg)
|
|
}
|
|
|
|
void SFesChangeDiPkg::SharedCtor() {
|
|
_cached_size_ = 0;
|
|
sthead_ = NULL;
|
|
::memset(_has_bits_, 0, sizeof(_has_bits_));
|
|
}
|
|
|
|
SFesChangeDiPkg::~SFesChangeDiPkg() {
|
|
// @@protoc_insertion_point(destructor:iot_idl.SFesChangeDiPkg)
|
|
SharedDtor();
|
|
}
|
|
|
|
void SFesChangeDiPkg::SharedDtor() {
|
|
if (this != default_instance_) {
|
|
delete sthead_;
|
|
}
|
|
}
|
|
|
|
void SFesChangeDiPkg::SetCachedSize(int size) const {
|
|
GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
|
|
_cached_size_ = size;
|
|
GOOGLE_SAFE_CONCURRENT_WRITES_END();
|
|
}
|
|
const ::google::protobuf::Descriptor* SFesChangeDiPkg::descriptor() {
|
|
protobuf_AssignDescriptorsOnce();
|
|
return SFesChangeDiPkg_descriptor_;
|
|
}
|
|
|
|
const SFesChangeDiPkg& SFesChangeDiPkg::default_instance() {
|
|
if (default_instance_ == NULL) protobuf_AddDesc_FesMessage_2eproto();
|
|
return *default_instance_;
|
|
}
|
|
|
|
SFesChangeDiPkg* SFesChangeDiPkg::default_instance_ = NULL;
|
|
|
|
SFesChangeDiPkg* SFesChangeDiPkg::New() const {
|
|
return new SFesChangeDiPkg;
|
|
}
|
|
|
|
void SFesChangeDiPkg::Clear() {
|
|
if (has_sthead()) {
|
|
if (sthead_ != NULL) sthead_->::iot_idl::SFesRealPkgHead::Clear();
|
|
}
|
|
stdidata_.Clear();
|
|
::memset(_has_bits_, 0, sizeof(_has_bits_));
|
|
mutable_unknown_fields()->Clear();
|
|
}
|
|
|
|
bool SFesChangeDiPkg::MergePartialFromCodedStream(
|
|
::google::protobuf::io::CodedInputStream* input) {
|
|
#define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
|
|
::google::protobuf::uint32 tag;
|
|
// @@protoc_insertion_point(parse_start:iot_idl.SFesChangeDiPkg)
|
|
for (;;) {
|
|
::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
|
|
tag = p.first;
|
|
if (!p.second) goto handle_unusual;
|
|
switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
|
|
// required .iot_idl.SFesRealPkgHead stHead = 1;
|
|
case 1: {
|
|
if (tag == 10) {
|
|
DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
|
|
input, mutable_sthead()));
|
|
} else {
|
|
goto handle_unusual;
|
|
}
|
|
if (input->ExpectTag(18)) goto parse_stDiData;
|
|
break;
|
|
}
|
|
|
|
// repeated .iot_idl.SFesDiDataWithTm stDiData = 2;
|
|
case 2: {
|
|
if (tag == 18) {
|
|
parse_stDiData:
|
|
DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
|
|
input, add_stdidata()));
|
|
} else {
|
|
goto handle_unusual;
|
|
}
|
|
if (input->ExpectTag(18)) goto parse_stDiData;
|
|
if (input->ExpectAtEnd()) goto success;
|
|
break;
|
|
}
|
|
|
|
default: {
|
|
handle_unusual:
|
|
if (tag == 0 ||
|
|
::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
|
|
::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
|
|
goto success;
|
|
}
|
|
DO_(::google::protobuf::internal::WireFormat::SkipField(
|
|
input, tag, mutable_unknown_fields()));
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
success:
|
|
// @@protoc_insertion_point(parse_success:iot_idl.SFesChangeDiPkg)
|
|
return true;
|
|
failure:
|
|
// @@protoc_insertion_point(parse_failure:iot_idl.SFesChangeDiPkg)
|
|
return false;
|
|
#undef DO_
|
|
}
|
|
|
|
void SFesChangeDiPkg::SerializeWithCachedSizes(
|
|
::google::protobuf::io::CodedOutputStream* output) const {
|
|
// @@protoc_insertion_point(serialize_start:iot_idl.SFesChangeDiPkg)
|
|
// required .iot_idl.SFesRealPkgHead stHead = 1;
|
|
if (has_sthead()) {
|
|
::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
|
|
1, this->sthead(), output);
|
|
}
|
|
|
|
// repeated .iot_idl.SFesDiDataWithTm stDiData = 2;
|
|
for (int i = 0; i < this->stdidata_size(); i++) {
|
|
::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
|
|
2, this->stdidata(i), output);
|
|
}
|
|
|
|
if (!unknown_fields().empty()) {
|
|
::google::protobuf::internal::WireFormat::SerializeUnknownFields(
|
|
unknown_fields(), output);
|
|
}
|
|
// @@protoc_insertion_point(serialize_end:iot_idl.SFesChangeDiPkg)
|
|
}
|
|
|
|
::google::protobuf::uint8* SFesChangeDiPkg::SerializeWithCachedSizesToArray(
|
|
::google::protobuf::uint8* target) const {
|
|
// @@protoc_insertion_point(serialize_to_array_start:iot_idl.SFesChangeDiPkg)
|
|
// required .iot_idl.SFesRealPkgHead stHead = 1;
|
|
if (has_sthead()) {
|
|
target = ::google::protobuf::internal::WireFormatLite::
|
|
WriteMessageNoVirtualToArray(
|
|
1, this->sthead(), target);
|
|
}
|
|
|
|
// repeated .iot_idl.SFesDiDataWithTm stDiData = 2;
|
|
for (int i = 0; i < this->stdidata_size(); i++) {
|
|
target = ::google::protobuf::internal::WireFormatLite::
|
|
WriteMessageNoVirtualToArray(
|
|
2, this->stdidata(i), target);
|
|
}
|
|
|
|
if (!unknown_fields().empty()) {
|
|
target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
|
|
unknown_fields(), target);
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_end:iot_idl.SFesChangeDiPkg)
|
|
return target;
|
|
}
|
|
|
|
int SFesChangeDiPkg::ByteSize() const {
|
|
int total_size = 0;
|
|
|
|
if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
|
|
// required .iot_idl.SFesRealPkgHead stHead = 1;
|
|
if (has_sthead()) {
|
|
total_size += 1 +
|
|
::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
|
|
this->sthead());
|
|
}
|
|
|
|
}
|
|
// repeated .iot_idl.SFesDiDataWithTm stDiData = 2;
|
|
total_size += 1 * this->stdidata_size();
|
|
for (int i = 0; i < this->stdidata_size(); i++) {
|
|
total_size +=
|
|
::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
|
|
this->stdidata(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 SFesChangeDiPkg::MergeFrom(const ::google::protobuf::Message& from) {
|
|
GOOGLE_CHECK_NE(&from, this);
|
|
const SFesChangeDiPkg* source =
|
|
::google::protobuf::internal::dynamic_cast_if_available<const SFesChangeDiPkg*>(
|
|
&from);
|
|
if (source == NULL) {
|
|
::google::protobuf::internal::ReflectionOps::Merge(from, this);
|
|
} else {
|
|
MergeFrom(*source);
|
|
}
|
|
}
|
|
|
|
void SFesChangeDiPkg::MergeFrom(const SFesChangeDiPkg& from) {
|
|
GOOGLE_CHECK_NE(&from, this);
|
|
stdidata_.MergeFrom(from.stdidata_);
|
|
if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
|
|
if (from.has_sthead()) {
|
|
mutable_sthead()->::iot_idl::SFesRealPkgHead::MergeFrom(from.sthead());
|
|
}
|
|
}
|
|
mutable_unknown_fields()->MergeFrom(from.unknown_fields());
|
|
}
|
|
|
|
void SFesChangeDiPkg::CopyFrom(const ::google::protobuf::Message& from) {
|
|
if (&from == this) return;
|
|
Clear();
|
|
MergeFrom(from);
|
|
}
|
|
|
|
void SFesChangeDiPkg::CopyFrom(const SFesChangeDiPkg& from) {
|
|
if (&from == this) return;
|
|
Clear();
|
|
MergeFrom(from);
|
|
}
|
|
|
|
bool SFesChangeDiPkg::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->stdidata())) return false;
|
|
return true;
|
|
}
|
|
|
|
void SFesChangeDiPkg::Swap(SFesChangeDiPkg* other) {
|
|
if (other != this) {
|
|
std::swap(sthead_, other->sthead_);
|
|
stdidata_.Swap(&other->stdidata_);
|
|
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 SFesChangeDiPkg::GetMetadata() const {
|
|
protobuf_AssignDescriptorsOnce();
|
|
::google::protobuf::Metadata metadata;
|
|
metadata.descriptor = SFesChangeDiPkg_descriptor_;
|
|
metadata.reflection = SFesChangeDiPkg_reflection_;
|
|
return metadata;
|
|
}
|
|
|
|
|
|
// ===================================================================
|
|
|
|
#ifndef _MSC_VER
|
|
const int SFesUpdateDiPkg::kStHeadFieldNumber;
|
|
const int SFesUpdateDiPkg::kStDiDataFieldNumber;
|
|
const int SFesUpdateDiPkg::kUlTimeFieldNumber;
|
|
#endif // !_MSC_VER
|
|
|
|
SFesUpdateDiPkg::SFesUpdateDiPkg()
|
|
: ::google::protobuf::Message() {
|
|
SharedCtor();
|
|
// @@protoc_insertion_point(constructor:iot_idl.SFesUpdateDiPkg)
|
|
}
|
|
|
|
void SFesUpdateDiPkg::InitAsDefaultInstance() {
|
|
sthead_ = const_cast< ::iot_idl::SFesRealPkgHead*>(&::iot_idl::SFesRealPkgHead::default_instance());
|
|
}
|
|
|
|
SFesUpdateDiPkg::SFesUpdateDiPkg(const SFesUpdateDiPkg& from)
|
|
: ::google::protobuf::Message() {
|
|
SharedCtor();
|
|
MergeFrom(from);
|
|
// @@protoc_insertion_point(copy_constructor:iot_idl.SFesUpdateDiPkg)
|
|
}
|
|
|
|
void SFesUpdateDiPkg::SharedCtor() {
|
|
_cached_size_ = 0;
|
|
sthead_ = NULL;
|
|
ultime_ = GOOGLE_ULONGLONG(0);
|
|
::memset(_has_bits_, 0, sizeof(_has_bits_));
|
|
}
|
|
|
|
SFesUpdateDiPkg::~SFesUpdateDiPkg() {
|
|
// @@protoc_insertion_point(destructor:iot_idl.SFesUpdateDiPkg)
|
|
SharedDtor();
|
|
}
|
|
|
|
void SFesUpdateDiPkg::SharedDtor() {
|
|
if (this != default_instance_) {
|
|
delete sthead_;
|
|
}
|
|
}
|
|
|
|
void SFesUpdateDiPkg::SetCachedSize(int size) const {
|
|
GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
|
|
_cached_size_ = size;
|
|
GOOGLE_SAFE_CONCURRENT_WRITES_END();
|
|
}
|
|
const ::google::protobuf::Descriptor* SFesUpdateDiPkg::descriptor() {
|
|
protobuf_AssignDescriptorsOnce();
|
|
return SFesUpdateDiPkg_descriptor_;
|
|
}
|
|
|
|
const SFesUpdateDiPkg& SFesUpdateDiPkg::default_instance() {
|
|
if (default_instance_ == NULL) protobuf_AddDesc_FesMessage_2eproto();
|
|
return *default_instance_;
|
|
}
|
|
|
|
SFesUpdateDiPkg* SFesUpdateDiPkg::default_instance_ = NULL;
|
|
|
|
SFesUpdateDiPkg* SFesUpdateDiPkg::New() const {
|
|
return new SFesUpdateDiPkg;
|
|
}
|
|
|
|
void SFesUpdateDiPkg::Clear() {
|
|
if (_has_bits_[0 / 32] & 5) {
|
|
if (has_sthead()) {
|
|
if (sthead_ != NULL) sthead_->::iot_idl::SFesRealPkgHead::Clear();
|
|
}
|
|
ultime_ = GOOGLE_ULONGLONG(0);
|
|
}
|
|
stdidata_.Clear();
|
|
::memset(_has_bits_, 0, sizeof(_has_bits_));
|
|
mutable_unknown_fields()->Clear();
|
|
}
|
|
|
|
bool SFesUpdateDiPkg::MergePartialFromCodedStream(
|
|
::google::protobuf::io::CodedInputStream* input) {
|
|
#define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
|
|
::google::protobuf::uint32 tag;
|
|
// @@protoc_insertion_point(parse_start:iot_idl.SFesUpdateDiPkg)
|
|
for (;;) {
|
|
::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
|
|
tag = p.first;
|
|
if (!p.second) goto handle_unusual;
|
|
switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
|
|
// required .iot_idl.SFesRealPkgHead stHead = 1;
|
|
case 1: {
|
|
if (tag == 10) {
|
|
DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
|
|
input, mutable_sthead()));
|
|
} else {
|
|
goto handle_unusual;
|
|
}
|
|
if (input->ExpectTag(18)) goto parse_stDiData;
|
|
break;
|
|
}
|
|
|
|
// repeated .iot_idl.SFesDiDataWithoutTm stDiData = 2;
|
|
case 2: {
|
|
if (tag == 18) {
|
|
parse_stDiData:
|
|
DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
|
|
input, add_stdidata()));
|
|
} else {
|
|
goto handle_unusual;
|
|
}
|
|
if (input->ExpectTag(18)) goto parse_stDiData;
|
|
if (input->ExpectTag(24)) goto parse_ulTime;
|
|
break;
|
|
}
|
|
|
|
// required uint64 ulTime = 3;
|
|
case 3: {
|
|
if (tag == 24) {
|
|
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:
|
|
// @@protoc_insertion_point(parse_success:iot_idl.SFesUpdateDiPkg)
|
|
return true;
|
|
failure:
|
|
// @@protoc_insertion_point(parse_failure:iot_idl.SFesUpdateDiPkg)
|
|
return false;
|
|
#undef DO_
|
|
}
|
|
|
|
void SFesUpdateDiPkg::SerializeWithCachedSizes(
|
|
::google::protobuf::io::CodedOutputStream* output) const {
|
|
// @@protoc_insertion_point(serialize_start:iot_idl.SFesUpdateDiPkg)
|
|
// required .iot_idl.SFesRealPkgHead stHead = 1;
|
|
if (has_sthead()) {
|
|
::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
|
|
1, this->sthead(), output);
|
|
}
|
|
|
|
// repeated .iot_idl.SFesDiDataWithoutTm stDiData = 2;
|
|
for (int i = 0; i < this->stdidata_size(); i++) {
|
|
::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
|
|
2, this->stdidata(i), output);
|
|
}
|
|
|
|
// required uint64 ulTime = 3;
|
|
if (has_ultime()) {
|
|
::google::protobuf::internal::WireFormatLite::WriteUInt64(3, this->ultime(), output);
|
|
}
|
|
|
|
if (!unknown_fields().empty()) {
|
|
::google::protobuf::internal::WireFormat::SerializeUnknownFields(
|
|
unknown_fields(), output);
|
|
}
|
|
// @@protoc_insertion_point(serialize_end:iot_idl.SFesUpdateDiPkg)
|
|
}
|
|
|
|
::google::protobuf::uint8* SFesUpdateDiPkg::SerializeWithCachedSizesToArray(
|
|
::google::protobuf::uint8* target) const {
|
|
// @@protoc_insertion_point(serialize_to_array_start:iot_idl.SFesUpdateDiPkg)
|
|
// required .iot_idl.SFesRealPkgHead stHead = 1;
|
|
if (has_sthead()) {
|
|
target = ::google::protobuf::internal::WireFormatLite::
|
|
WriteMessageNoVirtualToArray(
|
|
1, this->sthead(), target);
|
|
}
|
|
|
|
// repeated .iot_idl.SFesDiDataWithoutTm stDiData = 2;
|
|
for (int i = 0; i < this->stdidata_size(); i++) {
|
|
target = ::google::protobuf::internal::WireFormatLite::
|
|
WriteMessageNoVirtualToArray(
|
|
2, this->stdidata(i), target);
|
|
}
|
|
|
|
// required uint64 ulTime = 3;
|
|
if (has_ultime()) {
|
|
target = ::google::protobuf::internal::WireFormatLite::WriteUInt64ToArray(3, this->ultime(), target);
|
|
}
|
|
|
|
if (!unknown_fields().empty()) {
|
|
target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
|
|
unknown_fields(), target);
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_end:iot_idl.SFesUpdateDiPkg)
|
|
return target;
|
|
}
|
|
|
|
int SFesUpdateDiPkg::ByteSize() const {
|
|
int total_size = 0;
|
|
|
|
if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
|
|
// required .iot_idl.SFesRealPkgHead stHead = 1;
|
|
if (has_sthead()) {
|
|
total_size += 1 +
|
|
::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
|
|
this->sthead());
|
|
}
|
|
|
|
// required uint64 ulTime = 3;
|
|
if (has_ultime()) {
|
|
total_size += 1 +
|
|
::google::protobuf::internal::WireFormatLite::UInt64Size(
|
|
this->ultime());
|
|
}
|
|
|
|
}
|
|
// repeated .iot_idl.SFesDiDataWithoutTm stDiData = 2;
|
|
total_size += 1 * this->stdidata_size();
|
|
for (int i = 0; i < this->stdidata_size(); i++) {
|
|
total_size +=
|
|
::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
|
|
this->stdidata(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 SFesUpdateDiPkg::MergeFrom(const ::google::protobuf::Message& from) {
|
|
GOOGLE_CHECK_NE(&from, this);
|
|
const SFesUpdateDiPkg* source =
|
|
::google::protobuf::internal::dynamic_cast_if_available<const SFesUpdateDiPkg*>(
|
|
&from);
|
|
if (source == NULL) {
|
|
::google::protobuf::internal::ReflectionOps::Merge(from, this);
|
|
} else {
|
|
MergeFrom(*source);
|
|
}
|
|
}
|
|
|
|
void SFesUpdateDiPkg::MergeFrom(const SFesUpdateDiPkg& from) {
|
|
GOOGLE_CHECK_NE(&from, this);
|
|
stdidata_.MergeFrom(from.stdidata_);
|
|
if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
|
|
if (from.has_sthead()) {
|
|
mutable_sthead()->::iot_idl::SFesRealPkgHead::MergeFrom(from.sthead());
|
|
}
|
|
if (from.has_ultime()) {
|
|
set_ultime(from.ultime());
|
|
}
|
|
}
|
|
mutable_unknown_fields()->MergeFrom(from.unknown_fields());
|
|
}
|
|
|
|
void SFesUpdateDiPkg::CopyFrom(const ::google::protobuf::Message& from) {
|
|
if (&from == this) return;
|
|
Clear();
|
|
MergeFrom(from);
|
|
}
|
|
|
|
void SFesUpdateDiPkg::CopyFrom(const SFesUpdateDiPkg& from) {
|
|
if (&from == this) return;
|
|
Clear();
|
|
MergeFrom(from);
|
|
}
|
|
|
|
bool SFesUpdateDiPkg::IsInitialized() const {
|
|
if ((_has_bits_[0] & 0x00000005) != 0x00000005) return false;
|
|
|
|
if (has_sthead()) {
|
|
if (!this->sthead().IsInitialized()) return false;
|
|
}
|
|
if (!::google::protobuf::internal::AllAreInitialized(this->stdidata())) return false;
|
|
return true;
|
|
}
|
|
|
|
void SFesUpdateDiPkg::Swap(SFesUpdateDiPkg* other) {
|
|
if (other != this) {
|
|
std::swap(sthead_, other->sthead_);
|
|
stdidata_.Swap(&other->stdidata_);
|
|
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 SFesUpdateDiPkg::GetMetadata() const {
|
|
protobuf_AssignDescriptorsOnce();
|
|
::google::protobuf::Metadata metadata;
|
|
metadata.descriptor = SFesUpdateDiPkg_descriptor_;
|
|
metadata.reflection = SFesUpdateDiPkg_reflection_;
|
|
return metadata;
|
|
}
|
|
|
|
|
|
// ===================================================================
|
|
|
|
#ifndef _MSC_VER
|
|
const int SFesPiDataWithTm::kStrAppTableNameFieldNumber;
|
|
const int SFesPiDataWithTm::kStrAppColumnNameFieldNumber;
|
|
const int SFesPiDataWithTm::kStrAppTagNameFieldNumber;
|
|
const int SFesPiDataWithTm::kUStatusFieldNumber;
|
|
const int SFesPiDataWithTm::kDValueFieldNumber;
|
|
const int SFesPiDataWithTm::kUlTimeFieldNumber;
|
|
#endif // !_MSC_VER
|
|
|
|
SFesPiDataWithTm::SFesPiDataWithTm()
|
|
: ::google::protobuf::Message() {
|
|
SharedCtor();
|
|
// @@protoc_insertion_point(constructor:iot_idl.SFesPiDataWithTm)
|
|
}
|
|
|
|
void SFesPiDataWithTm::InitAsDefaultInstance() {
|
|
}
|
|
|
|
SFesPiDataWithTm::SFesPiDataWithTm(const SFesPiDataWithTm& from)
|
|
: ::google::protobuf::Message() {
|
|
SharedCtor();
|
|
MergeFrom(from);
|
|
// @@protoc_insertion_point(copy_constructor:iot_idl.SFesPiDataWithTm)
|
|
}
|
|
|
|
void SFesPiDataWithTm::SharedCtor() {
|
|
::google::protobuf::internal::GetEmptyString();
|
|
_cached_size_ = 0;
|
|
strapptablename_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
strappcolumnname_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
strapptagname_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
ustatus_ = 0u;
|
|
dvalue_ = 0;
|
|
ultime_ = GOOGLE_ULONGLONG(0);
|
|
::memset(_has_bits_, 0, sizeof(_has_bits_));
|
|
}
|
|
|
|
SFesPiDataWithTm::~SFesPiDataWithTm() {
|
|
// @@protoc_insertion_point(destructor:iot_idl.SFesPiDataWithTm)
|
|
SharedDtor();
|
|
}
|
|
|
|
void SFesPiDataWithTm::SharedDtor() {
|
|
if (strapptablename_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
|
|
delete strapptablename_;
|
|
}
|
|
if (strappcolumnname_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
|
|
delete strappcolumnname_;
|
|
}
|
|
if (strapptagname_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
|
|
delete strapptagname_;
|
|
}
|
|
if (this != default_instance_) {
|
|
}
|
|
}
|
|
|
|
void SFesPiDataWithTm::SetCachedSize(int size) const {
|
|
GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
|
|
_cached_size_ = size;
|
|
GOOGLE_SAFE_CONCURRENT_WRITES_END();
|
|
}
|
|
const ::google::protobuf::Descriptor* SFesPiDataWithTm::descriptor() {
|
|
protobuf_AssignDescriptorsOnce();
|
|
return SFesPiDataWithTm_descriptor_;
|
|
}
|
|
|
|
const SFesPiDataWithTm& SFesPiDataWithTm::default_instance() {
|
|
if (default_instance_ == NULL) protobuf_AddDesc_FesMessage_2eproto();
|
|
return *default_instance_;
|
|
}
|
|
|
|
SFesPiDataWithTm* SFesPiDataWithTm::default_instance_ = NULL;
|
|
|
|
SFesPiDataWithTm* SFesPiDataWithTm::New() const {
|
|
return new SFesPiDataWithTm;
|
|
}
|
|
|
|
void SFesPiDataWithTm::Clear() {
|
|
#define OFFSET_OF_FIELD_(f) (reinterpret_cast<char*>( \
|
|
&reinterpret_cast<SFesPiDataWithTm*>(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] & 63) {
|
|
ZR_(dvalue_, ustatus_);
|
|
if (has_strapptablename()) {
|
|
if (strapptablename_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
|
|
strapptablename_->clear();
|
|
}
|
|
}
|
|
if (has_strappcolumnname()) {
|
|
if (strappcolumnname_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
|
|
strappcolumnname_->clear();
|
|
}
|
|
}
|
|
if (has_strapptagname()) {
|
|
if (strapptagname_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
|
|
strapptagname_->clear();
|
|
}
|
|
}
|
|
}
|
|
|
|
#undef OFFSET_OF_FIELD_
|
|
#undef ZR_
|
|
|
|
::memset(_has_bits_, 0, sizeof(_has_bits_));
|
|
mutable_unknown_fields()->Clear();
|
|
}
|
|
|
|
bool SFesPiDataWithTm::MergePartialFromCodedStream(
|
|
::google::protobuf::io::CodedInputStream* input) {
|
|
#define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
|
|
::google::protobuf::uint32 tag;
|
|
// @@protoc_insertion_point(parse_start:iot_idl.SFesPiDataWithTm)
|
|
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 strAppTableName = 1;
|
|
case 1: {
|
|
if (tag == 10) {
|
|
DO_(::google::protobuf::internal::WireFormatLite::ReadString(
|
|
input, this->mutable_strapptablename()));
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
|
|
this->strapptablename().data(), this->strapptablename().length(),
|
|
::google::protobuf::internal::WireFormat::PARSE,
|
|
"strapptablename");
|
|
} else {
|
|
goto handle_unusual;
|
|
}
|
|
if (input->ExpectTag(18)) goto parse_strAppColumnName;
|
|
break;
|
|
}
|
|
|
|
// required string strAppColumnName = 2;
|
|
case 2: {
|
|
if (tag == 18) {
|
|
parse_strAppColumnName:
|
|
DO_(::google::protobuf::internal::WireFormatLite::ReadString(
|
|
input, this->mutable_strappcolumnname()));
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
|
|
this->strappcolumnname().data(), this->strappcolumnname().length(),
|
|
::google::protobuf::internal::WireFormat::PARSE,
|
|
"strappcolumnname");
|
|
} else {
|
|
goto handle_unusual;
|
|
}
|
|
if (input->ExpectTag(26)) goto parse_strAppTagName;
|
|
break;
|
|
}
|
|
|
|
// required string strAppTagName = 3;
|
|
case 3: {
|
|
if (tag == 26) {
|
|
parse_strAppTagName:
|
|
DO_(::google::protobuf::internal::WireFormatLite::ReadString(
|
|
input, this->mutable_strapptagname()));
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
|
|
this->strapptagname().data(), this->strapptagname().length(),
|
|
::google::protobuf::internal::WireFormat::PARSE,
|
|
"strapptagname");
|
|
} else {
|
|
goto handle_unusual;
|
|
}
|
|
if (input->ExpectTag(32)) goto parse_uStatus;
|
|
break;
|
|
}
|
|
|
|
// required uint32 uStatus = 4;
|
|
case 4: {
|
|
if (tag == 32) {
|
|
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(41)) goto parse_dValue;
|
|
break;
|
|
}
|
|
|
|
// required double dValue = 5;
|
|
case 5: {
|
|
if (tag == 41) {
|
|
parse_dValue:
|
|
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
|
|
double, ::google::protobuf::internal::WireFormatLite::TYPE_DOUBLE>(
|
|
input, &dvalue_)));
|
|
set_has_dvalue();
|
|
} else {
|
|
goto handle_unusual;
|
|
}
|
|
if (input->ExpectTag(48)) goto parse_ulTime;
|
|
break;
|
|
}
|
|
|
|
// required uint64 ulTime = 6;
|
|
case 6: {
|
|
if (tag == 48) {
|
|
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:
|
|
// @@protoc_insertion_point(parse_success:iot_idl.SFesPiDataWithTm)
|
|
return true;
|
|
failure:
|
|
// @@protoc_insertion_point(parse_failure:iot_idl.SFesPiDataWithTm)
|
|
return false;
|
|
#undef DO_
|
|
}
|
|
|
|
void SFesPiDataWithTm::SerializeWithCachedSizes(
|
|
::google::protobuf::io::CodedOutputStream* output) const {
|
|
// @@protoc_insertion_point(serialize_start:iot_idl.SFesPiDataWithTm)
|
|
// required string strAppTableName = 1;
|
|
if (has_strapptablename()) {
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
|
|
this->strapptablename().data(), this->strapptablename().length(),
|
|
::google::protobuf::internal::WireFormat::SERIALIZE,
|
|
"strapptablename");
|
|
::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
|
|
1, this->strapptablename(), output);
|
|
}
|
|
|
|
// required string strAppColumnName = 2;
|
|
if (has_strappcolumnname()) {
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
|
|
this->strappcolumnname().data(), this->strappcolumnname().length(),
|
|
::google::protobuf::internal::WireFormat::SERIALIZE,
|
|
"strappcolumnname");
|
|
::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
|
|
2, this->strappcolumnname(), output);
|
|
}
|
|
|
|
// required string strAppTagName = 3;
|
|
if (has_strapptagname()) {
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
|
|
this->strapptagname().data(), this->strapptagname().length(),
|
|
::google::protobuf::internal::WireFormat::SERIALIZE,
|
|
"strapptagname");
|
|
::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
|
|
3, this->strapptagname(), output);
|
|
}
|
|
|
|
// required uint32 uStatus = 4;
|
|
if (has_ustatus()) {
|
|
::google::protobuf::internal::WireFormatLite::WriteUInt32(4, this->ustatus(), output);
|
|
}
|
|
|
|
// required double dValue = 5;
|
|
if (has_dvalue()) {
|
|
::google::protobuf::internal::WireFormatLite::WriteDouble(5, this->dvalue(), output);
|
|
}
|
|
|
|
// required uint64 ulTime = 6;
|
|
if (has_ultime()) {
|
|
::google::protobuf::internal::WireFormatLite::WriteUInt64(6, this->ultime(), output);
|
|
}
|
|
|
|
if (!unknown_fields().empty()) {
|
|
::google::protobuf::internal::WireFormat::SerializeUnknownFields(
|
|
unknown_fields(), output);
|
|
}
|
|
// @@protoc_insertion_point(serialize_end:iot_idl.SFesPiDataWithTm)
|
|
}
|
|
|
|
::google::protobuf::uint8* SFesPiDataWithTm::SerializeWithCachedSizesToArray(
|
|
::google::protobuf::uint8* target) const {
|
|
// @@protoc_insertion_point(serialize_to_array_start:iot_idl.SFesPiDataWithTm)
|
|
// required string strAppTableName = 1;
|
|
if (has_strapptablename()) {
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
|
|
this->strapptablename().data(), this->strapptablename().length(),
|
|
::google::protobuf::internal::WireFormat::SERIALIZE,
|
|
"strapptablename");
|
|
target =
|
|
::google::protobuf::internal::WireFormatLite::WriteStringToArray(
|
|
1, this->strapptablename(), target);
|
|
}
|
|
|
|
// required string strAppColumnName = 2;
|
|
if (has_strappcolumnname()) {
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
|
|
this->strappcolumnname().data(), this->strappcolumnname().length(),
|
|
::google::protobuf::internal::WireFormat::SERIALIZE,
|
|
"strappcolumnname");
|
|
target =
|
|
::google::protobuf::internal::WireFormatLite::WriteStringToArray(
|
|
2, this->strappcolumnname(), target);
|
|
}
|
|
|
|
// required string strAppTagName = 3;
|
|
if (has_strapptagname()) {
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
|
|
this->strapptagname().data(), this->strapptagname().length(),
|
|
::google::protobuf::internal::WireFormat::SERIALIZE,
|
|
"strapptagname");
|
|
target =
|
|
::google::protobuf::internal::WireFormatLite::WriteStringToArray(
|
|
3, this->strapptagname(), target);
|
|
}
|
|
|
|
// required uint32 uStatus = 4;
|
|
if (has_ustatus()) {
|
|
target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(4, this->ustatus(), target);
|
|
}
|
|
|
|
// required double dValue = 5;
|
|
if (has_dvalue()) {
|
|
target = ::google::protobuf::internal::WireFormatLite::WriteDoubleToArray(5, this->dvalue(), target);
|
|
}
|
|
|
|
// required uint64 ulTime = 6;
|
|
if (has_ultime()) {
|
|
target = ::google::protobuf::internal::WireFormatLite::WriteUInt64ToArray(6, this->ultime(), target);
|
|
}
|
|
|
|
if (!unknown_fields().empty()) {
|
|
target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
|
|
unknown_fields(), target);
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_end:iot_idl.SFesPiDataWithTm)
|
|
return target;
|
|
}
|
|
|
|
int SFesPiDataWithTm::ByteSize() const {
|
|
int total_size = 0;
|
|
|
|
if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
|
|
// required string strAppTableName = 1;
|
|
if (has_strapptablename()) {
|
|
total_size += 1 +
|
|
::google::protobuf::internal::WireFormatLite::StringSize(
|
|
this->strapptablename());
|
|
}
|
|
|
|
// required string strAppColumnName = 2;
|
|
if (has_strappcolumnname()) {
|
|
total_size += 1 +
|
|
::google::protobuf::internal::WireFormatLite::StringSize(
|
|
this->strappcolumnname());
|
|
}
|
|
|
|
// required string strAppTagName = 3;
|
|
if (has_strapptagname()) {
|
|
total_size += 1 +
|
|
::google::protobuf::internal::WireFormatLite::StringSize(
|
|
this->strapptagname());
|
|
}
|
|
|
|
// required uint32 uStatus = 4;
|
|
if (has_ustatus()) {
|
|
total_size += 1 +
|
|
::google::protobuf::internal::WireFormatLite::UInt32Size(
|
|
this->ustatus());
|
|
}
|
|
|
|
// required double dValue = 5;
|
|
if (has_dvalue()) {
|
|
total_size += 1 + 8;
|
|
}
|
|
|
|
// required uint64 ulTime = 6;
|
|
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 SFesPiDataWithTm::MergeFrom(const ::google::protobuf::Message& from) {
|
|
GOOGLE_CHECK_NE(&from, this);
|
|
const SFesPiDataWithTm* source =
|
|
::google::protobuf::internal::dynamic_cast_if_available<const SFesPiDataWithTm*>(
|
|
&from);
|
|
if (source == NULL) {
|
|
::google::protobuf::internal::ReflectionOps::Merge(from, this);
|
|
} else {
|
|
MergeFrom(*source);
|
|
}
|
|
}
|
|
|
|
void SFesPiDataWithTm::MergeFrom(const SFesPiDataWithTm& from) {
|
|
GOOGLE_CHECK_NE(&from, this);
|
|
if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
|
|
if (from.has_strapptablename()) {
|
|
set_strapptablename(from.strapptablename());
|
|
}
|
|
if (from.has_strappcolumnname()) {
|
|
set_strappcolumnname(from.strappcolumnname());
|
|
}
|
|
if (from.has_strapptagname()) {
|
|
set_strapptagname(from.strapptagname());
|
|
}
|
|
if (from.has_ustatus()) {
|
|
set_ustatus(from.ustatus());
|
|
}
|
|
if (from.has_dvalue()) {
|
|
set_dvalue(from.dvalue());
|
|
}
|
|
if (from.has_ultime()) {
|
|
set_ultime(from.ultime());
|
|
}
|
|
}
|
|
mutable_unknown_fields()->MergeFrom(from.unknown_fields());
|
|
}
|
|
|
|
void SFesPiDataWithTm::CopyFrom(const ::google::protobuf::Message& from) {
|
|
if (&from == this) return;
|
|
Clear();
|
|
MergeFrom(from);
|
|
}
|
|
|
|
void SFesPiDataWithTm::CopyFrom(const SFesPiDataWithTm& from) {
|
|
if (&from == this) return;
|
|
Clear();
|
|
MergeFrom(from);
|
|
}
|
|
|
|
bool SFesPiDataWithTm::IsInitialized() const {
|
|
if ((_has_bits_[0] & 0x0000003f) != 0x0000003f) return false;
|
|
|
|
return true;
|
|
}
|
|
|
|
void SFesPiDataWithTm::Swap(SFesPiDataWithTm* other) {
|
|
if (other != this) {
|
|
std::swap(strapptablename_, other->strapptablename_);
|
|
std::swap(strappcolumnname_, other->strappcolumnname_);
|
|
std::swap(strapptagname_, other->strapptagname_);
|
|
std::swap(ustatus_, other->ustatus_);
|
|
std::swap(dvalue_, other->dvalue_);
|
|
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 SFesPiDataWithTm::GetMetadata() const {
|
|
protobuf_AssignDescriptorsOnce();
|
|
::google::protobuf::Metadata metadata;
|
|
metadata.descriptor = SFesPiDataWithTm_descriptor_;
|
|
metadata.reflection = SFesPiDataWithTm_reflection_;
|
|
return metadata;
|
|
}
|
|
|
|
|
|
// ===================================================================
|
|
|
|
#ifndef _MSC_VER
|
|
const int SFesPiDataWithoutTm::kStrAppTableNameFieldNumber;
|
|
const int SFesPiDataWithoutTm::kStrAppColumnNameFieldNumber;
|
|
const int SFesPiDataWithoutTm::kStrAppTagNameFieldNumber;
|
|
const int SFesPiDataWithoutTm::kUStatusFieldNumber;
|
|
const int SFesPiDataWithoutTm::kDValueFieldNumber;
|
|
#endif // !_MSC_VER
|
|
|
|
SFesPiDataWithoutTm::SFesPiDataWithoutTm()
|
|
: ::google::protobuf::Message() {
|
|
SharedCtor();
|
|
// @@protoc_insertion_point(constructor:iot_idl.SFesPiDataWithoutTm)
|
|
}
|
|
|
|
void SFesPiDataWithoutTm::InitAsDefaultInstance() {
|
|
}
|
|
|
|
SFesPiDataWithoutTm::SFesPiDataWithoutTm(const SFesPiDataWithoutTm& from)
|
|
: ::google::protobuf::Message() {
|
|
SharedCtor();
|
|
MergeFrom(from);
|
|
// @@protoc_insertion_point(copy_constructor:iot_idl.SFesPiDataWithoutTm)
|
|
}
|
|
|
|
void SFesPiDataWithoutTm::SharedCtor() {
|
|
::google::protobuf::internal::GetEmptyString();
|
|
_cached_size_ = 0;
|
|
strapptablename_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
strappcolumnname_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
strapptagname_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
ustatus_ = 0u;
|
|
dvalue_ = 0;
|
|
::memset(_has_bits_, 0, sizeof(_has_bits_));
|
|
}
|
|
|
|
SFesPiDataWithoutTm::~SFesPiDataWithoutTm() {
|
|
// @@protoc_insertion_point(destructor:iot_idl.SFesPiDataWithoutTm)
|
|
SharedDtor();
|
|
}
|
|
|
|
void SFesPiDataWithoutTm::SharedDtor() {
|
|
if (strapptablename_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
|
|
delete strapptablename_;
|
|
}
|
|
if (strappcolumnname_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
|
|
delete strappcolumnname_;
|
|
}
|
|
if (strapptagname_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
|
|
delete strapptagname_;
|
|
}
|
|
if (this != default_instance_) {
|
|
}
|
|
}
|
|
|
|
void SFesPiDataWithoutTm::SetCachedSize(int size) const {
|
|
GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
|
|
_cached_size_ = size;
|
|
GOOGLE_SAFE_CONCURRENT_WRITES_END();
|
|
}
|
|
const ::google::protobuf::Descriptor* SFesPiDataWithoutTm::descriptor() {
|
|
protobuf_AssignDescriptorsOnce();
|
|
return SFesPiDataWithoutTm_descriptor_;
|
|
}
|
|
|
|
const SFesPiDataWithoutTm& SFesPiDataWithoutTm::default_instance() {
|
|
if (default_instance_ == NULL) protobuf_AddDesc_FesMessage_2eproto();
|
|
return *default_instance_;
|
|
}
|
|
|
|
SFesPiDataWithoutTm* SFesPiDataWithoutTm::default_instance_ = NULL;
|
|
|
|
SFesPiDataWithoutTm* SFesPiDataWithoutTm::New() const {
|
|
return new SFesPiDataWithoutTm;
|
|
}
|
|
|
|
void SFesPiDataWithoutTm::Clear() {
|
|
#define OFFSET_OF_FIELD_(f) (reinterpret_cast<char*>( \
|
|
&reinterpret_cast<SFesPiDataWithoutTm*>(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] & 31) {
|
|
ZR_(dvalue_, ustatus_);
|
|
if (has_strapptablename()) {
|
|
if (strapptablename_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
|
|
strapptablename_->clear();
|
|
}
|
|
}
|
|
if (has_strappcolumnname()) {
|
|
if (strappcolumnname_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
|
|
strappcolumnname_->clear();
|
|
}
|
|
}
|
|
if (has_strapptagname()) {
|
|
if (strapptagname_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
|
|
strapptagname_->clear();
|
|
}
|
|
}
|
|
}
|
|
|
|
#undef OFFSET_OF_FIELD_
|
|
#undef ZR_
|
|
|
|
::memset(_has_bits_, 0, sizeof(_has_bits_));
|
|
mutable_unknown_fields()->Clear();
|
|
}
|
|
|
|
bool SFesPiDataWithoutTm::MergePartialFromCodedStream(
|
|
::google::protobuf::io::CodedInputStream* input) {
|
|
#define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
|
|
::google::protobuf::uint32 tag;
|
|
// @@protoc_insertion_point(parse_start:iot_idl.SFesPiDataWithoutTm)
|
|
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 strAppTableName = 1;
|
|
case 1: {
|
|
if (tag == 10) {
|
|
DO_(::google::protobuf::internal::WireFormatLite::ReadString(
|
|
input, this->mutable_strapptablename()));
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
|
|
this->strapptablename().data(), this->strapptablename().length(),
|
|
::google::protobuf::internal::WireFormat::PARSE,
|
|
"strapptablename");
|
|
} else {
|
|
goto handle_unusual;
|
|
}
|
|
if (input->ExpectTag(18)) goto parse_strAppColumnName;
|
|
break;
|
|
}
|
|
|
|
// required string strAppColumnName = 2;
|
|
case 2: {
|
|
if (tag == 18) {
|
|
parse_strAppColumnName:
|
|
DO_(::google::protobuf::internal::WireFormatLite::ReadString(
|
|
input, this->mutable_strappcolumnname()));
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
|
|
this->strappcolumnname().data(), this->strappcolumnname().length(),
|
|
::google::protobuf::internal::WireFormat::PARSE,
|
|
"strappcolumnname");
|
|
} else {
|
|
goto handle_unusual;
|
|
}
|
|
if (input->ExpectTag(26)) goto parse_strAppTagName;
|
|
break;
|
|
}
|
|
|
|
// required string strAppTagName = 3;
|
|
case 3: {
|
|
if (tag == 26) {
|
|
parse_strAppTagName:
|
|
DO_(::google::protobuf::internal::WireFormatLite::ReadString(
|
|
input, this->mutable_strapptagname()));
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
|
|
this->strapptagname().data(), this->strapptagname().length(),
|
|
::google::protobuf::internal::WireFormat::PARSE,
|
|
"strapptagname");
|
|
} else {
|
|
goto handle_unusual;
|
|
}
|
|
if (input->ExpectTag(32)) goto parse_uStatus;
|
|
break;
|
|
}
|
|
|
|
// required uint32 uStatus = 4;
|
|
case 4: {
|
|
if (tag == 32) {
|
|
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(41)) goto parse_dValue;
|
|
break;
|
|
}
|
|
|
|
// required double dValue = 5;
|
|
case 5: {
|
|
if (tag == 41) {
|
|
parse_dValue:
|
|
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
|
|
double, ::google::protobuf::internal::WireFormatLite::TYPE_DOUBLE>(
|
|
input, &dvalue_)));
|
|
set_has_dvalue();
|
|
} else {
|
|
goto handle_unusual;
|
|
}
|
|
if (input->ExpectAtEnd()) goto success;
|
|
break;
|
|
}
|
|
|
|
default: {
|
|
handle_unusual:
|
|
if (tag == 0 ||
|
|
::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
|
|
::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
|
|
goto success;
|
|
}
|
|
DO_(::google::protobuf::internal::WireFormat::SkipField(
|
|
input, tag, mutable_unknown_fields()));
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
success:
|
|
// @@protoc_insertion_point(parse_success:iot_idl.SFesPiDataWithoutTm)
|
|
return true;
|
|
failure:
|
|
// @@protoc_insertion_point(parse_failure:iot_idl.SFesPiDataWithoutTm)
|
|
return false;
|
|
#undef DO_
|
|
}
|
|
|
|
void SFesPiDataWithoutTm::SerializeWithCachedSizes(
|
|
::google::protobuf::io::CodedOutputStream* output) const {
|
|
// @@protoc_insertion_point(serialize_start:iot_idl.SFesPiDataWithoutTm)
|
|
// required string strAppTableName = 1;
|
|
if (has_strapptablename()) {
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
|
|
this->strapptablename().data(), this->strapptablename().length(),
|
|
::google::protobuf::internal::WireFormat::SERIALIZE,
|
|
"strapptablename");
|
|
::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
|
|
1, this->strapptablename(), output);
|
|
}
|
|
|
|
// required string strAppColumnName = 2;
|
|
if (has_strappcolumnname()) {
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
|
|
this->strappcolumnname().data(), this->strappcolumnname().length(),
|
|
::google::protobuf::internal::WireFormat::SERIALIZE,
|
|
"strappcolumnname");
|
|
::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
|
|
2, this->strappcolumnname(), output);
|
|
}
|
|
|
|
// required string strAppTagName = 3;
|
|
if (has_strapptagname()) {
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
|
|
this->strapptagname().data(), this->strapptagname().length(),
|
|
::google::protobuf::internal::WireFormat::SERIALIZE,
|
|
"strapptagname");
|
|
::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
|
|
3, this->strapptagname(), output);
|
|
}
|
|
|
|
// required uint32 uStatus = 4;
|
|
if (has_ustatus()) {
|
|
::google::protobuf::internal::WireFormatLite::WriteUInt32(4, this->ustatus(), output);
|
|
}
|
|
|
|
// required double dValue = 5;
|
|
if (has_dvalue()) {
|
|
::google::protobuf::internal::WireFormatLite::WriteDouble(5, this->dvalue(), output);
|
|
}
|
|
|
|
if (!unknown_fields().empty()) {
|
|
::google::protobuf::internal::WireFormat::SerializeUnknownFields(
|
|
unknown_fields(), output);
|
|
}
|
|
// @@protoc_insertion_point(serialize_end:iot_idl.SFesPiDataWithoutTm)
|
|
}
|
|
|
|
::google::protobuf::uint8* SFesPiDataWithoutTm::SerializeWithCachedSizesToArray(
|
|
::google::protobuf::uint8* target) const {
|
|
// @@protoc_insertion_point(serialize_to_array_start:iot_idl.SFesPiDataWithoutTm)
|
|
// required string strAppTableName = 1;
|
|
if (has_strapptablename()) {
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
|
|
this->strapptablename().data(), this->strapptablename().length(),
|
|
::google::protobuf::internal::WireFormat::SERIALIZE,
|
|
"strapptablename");
|
|
target =
|
|
::google::protobuf::internal::WireFormatLite::WriteStringToArray(
|
|
1, this->strapptablename(), target);
|
|
}
|
|
|
|
// required string strAppColumnName = 2;
|
|
if (has_strappcolumnname()) {
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
|
|
this->strappcolumnname().data(), this->strappcolumnname().length(),
|
|
::google::protobuf::internal::WireFormat::SERIALIZE,
|
|
"strappcolumnname");
|
|
target =
|
|
::google::protobuf::internal::WireFormatLite::WriteStringToArray(
|
|
2, this->strappcolumnname(), target);
|
|
}
|
|
|
|
// required string strAppTagName = 3;
|
|
if (has_strapptagname()) {
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
|
|
this->strapptagname().data(), this->strapptagname().length(),
|
|
::google::protobuf::internal::WireFormat::SERIALIZE,
|
|
"strapptagname");
|
|
target =
|
|
::google::protobuf::internal::WireFormatLite::WriteStringToArray(
|
|
3, this->strapptagname(), target);
|
|
}
|
|
|
|
// required uint32 uStatus = 4;
|
|
if (has_ustatus()) {
|
|
target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(4, this->ustatus(), target);
|
|
}
|
|
|
|
// required double dValue = 5;
|
|
if (has_dvalue()) {
|
|
target = ::google::protobuf::internal::WireFormatLite::WriteDoubleToArray(5, this->dvalue(), target);
|
|
}
|
|
|
|
if (!unknown_fields().empty()) {
|
|
target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
|
|
unknown_fields(), target);
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_end:iot_idl.SFesPiDataWithoutTm)
|
|
return target;
|
|
}
|
|
|
|
int SFesPiDataWithoutTm::ByteSize() const {
|
|
int total_size = 0;
|
|
|
|
if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
|
|
// required string strAppTableName = 1;
|
|
if (has_strapptablename()) {
|
|
total_size += 1 +
|
|
::google::protobuf::internal::WireFormatLite::StringSize(
|
|
this->strapptablename());
|
|
}
|
|
|
|
// required string strAppColumnName = 2;
|
|
if (has_strappcolumnname()) {
|
|
total_size += 1 +
|
|
::google::protobuf::internal::WireFormatLite::StringSize(
|
|
this->strappcolumnname());
|
|
}
|
|
|
|
// required string strAppTagName = 3;
|
|
if (has_strapptagname()) {
|
|
total_size += 1 +
|
|
::google::protobuf::internal::WireFormatLite::StringSize(
|
|
this->strapptagname());
|
|
}
|
|
|
|
// required uint32 uStatus = 4;
|
|
if (has_ustatus()) {
|
|
total_size += 1 +
|
|
::google::protobuf::internal::WireFormatLite::UInt32Size(
|
|
this->ustatus());
|
|
}
|
|
|
|
// required double dValue = 5;
|
|
if (has_dvalue()) {
|
|
total_size += 1 + 8;
|
|
}
|
|
|
|
}
|
|
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 SFesPiDataWithoutTm::MergeFrom(const ::google::protobuf::Message& from) {
|
|
GOOGLE_CHECK_NE(&from, this);
|
|
const SFesPiDataWithoutTm* source =
|
|
::google::protobuf::internal::dynamic_cast_if_available<const SFesPiDataWithoutTm*>(
|
|
&from);
|
|
if (source == NULL) {
|
|
::google::protobuf::internal::ReflectionOps::Merge(from, this);
|
|
} else {
|
|
MergeFrom(*source);
|
|
}
|
|
}
|
|
|
|
void SFesPiDataWithoutTm::MergeFrom(const SFesPiDataWithoutTm& from) {
|
|
GOOGLE_CHECK_NE(&from, this);
|
|
if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
|
|
if (from.has_strapptablename()) {
|
|
set_strapptablename(from.strapptablename());
|
|
}
|
|
if (from.has_strappcolumnname()) {
|
|
set_strappcolumnname(from.strappcolumnname());
|
|
}
|
|
if (from.has_strapptagname()) {
|
|
set_strapptagname(from.strapptagname());
|
|
}
|
|
if (from.has_ustatus()) {
|
|
set_ustatus(from.ustatus());
|
|
}
|
|
if (from.has_dvalue()) {
|
|
set_dvalue(from.dvalue());
|
|
}
|
|
}
|
|
mutable_unknown_fields()->MergeFrom(from.unknown_fields());
|
|
}
|
|
|
|
void SFesPiDataWithoutTm::CopyFrom(const ::google::protobuf::Message& from) {
|
|
if (&from == this) return;
|
|
Clear();
|
|
MergeFrom(from);
|
|
}
|
|
|
|
void SFesPiDataWithoutTm::CopyFrom(const SFesPiDataWithoutTm& from) {
|
|
if (&from == this) return;
|
|
Clear();
|
|
MergeFrom(from);
|
|
}
|
|
|
|
bool SFesPiDataWithoutTm::IsInitialized() const {
|
|
if ((_has_bits_[0] & 0x0000001f) != 0x0000001f) return false;
|
|
|
|
return true;
|
|
}
|
|
|
|
void SFesPiDataWithoutTm::Swap(SFesPiDataWithoutTm* other) {
|
|
if (other != this) {
|
|
std::swap(strapptablename_, other->strapptablename_);
|
|
std::swap(strappcolumnname_, other->strappcolumnname_);
|
|
std::swap(strapptagname_, other->strapptagname_);
|
|
std::swap(ustatus_, other->ustatus_);
|
|
std::swap(dvalue_, other->dvalue_);
|
|
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 SFesPiDataWithoutTm::GetMetadata() const {
|
|
protobuf_AssignDescriptorsOnce();
|
|
::google::protobuf::Metadata metadata;
|
|
metadata.descriptor = SFesPiDataWithoutTm_descriptor_;
|
|
metadata.reflection = SFesPiDataWithoutTm_reflection_;
|
|
return metadata;
|
|
}
|
|
|
|
|
|
// ===================================================================
|
|
|
|
#ifndef _MSC_VER
|
|
const int SFesChangePiPkg::kStHeadFieldNumber;
|
|
const int SFesChangePiPkg::kStPiDataFieldNumber;
|
|
#endif // !_MSC_VER
|
|
|
|
SFesChangePiPkg::SFesChangePiPkg()
|
|
: ::google::protobuf::Message() {
|
|
SharedCtor();
|
|
// @@protoc_insertion_point(constructor:iot_idl.SFesChangePiPkg)
|
|
}
|
|
|
|
void SFesChangePiPkg::InitAsDefaultInstance() {
|
|
sthead_ = const_cast< ::iot_idl::SFesRealPkgHead*>(&::iot_idl::SFesRealPkgHead::default_instance());
|
|
}
|
|
|
|
SFesChangePiPkg::SFesChangePiPkg(const SFesChangePiPkg& from)
|
|
: ::google::protobuf::Message() {
|
|
SharedCtor();
|
|
MergeFrom(from);
|
|
// @@protoc_insertion_point(copy_constructor:iot_idl.SFesChangePiPkg)
|
|
}
|
|
|
|
void SFesChangePiPkg::SharedCtor() {
|
|
_cached_size_ = 0;
|
|
sthead_ = NULL;
|
|
::memset(_has_bits_, 0, sizeof(_has_bits_));
|
|
}
|
|
|
|
SFesChangePiPkg::~SFesChangePiPkg() {
|
|
// @@protoc_insertion_point(destructor:iot_idl.SFesChangePiPkg)
|
|
SharedDtor();
|
|
}
|
|
|
|
void SFesChangePiPkg::SharedDtor() {
|
|
if (this != default_instance_) {
|
|
delete sthead_;
|
|
}
|
|
}
|
|
|
|
void SFesChangePiPkg::SetCachedSize(int size) const {
|
|
GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
|
|
_cached_size_ = size;
|
|
GOOGLE_SAFE_CONCURRENT_WRITES_END();
|
|
}
|
|
const ::google::protobuf::Descriptor* SFesChangePiPkg::descriptor() {
|
|
protobuf_AssignDescriptorsOnce();
|
|
return SFesChangePiPkg_descriptor_;
|
|
}
|
|
|
|
const SFesChangePiPkg& SFesChangePiPkg::default_instance() {
|
|
if (default_instance_ == NULL) protobuf_AddDesc_FesMessage_2eproto();
|
|
return *default_instance_;
|
|
}
|
|
|
|
SFesChangePiPkg* SFesChangePiPkg::default_instance_ = NULL;
|
|
|
|
SFesChangePiPkg* SFesChangePiPkg::New() const {
|
|
return new SFesChangePiPkg;
|
|
}
|
|
|
|
void SFesChangePiPkg::Clear() {
|
|
if (has_sthead()) {
|
|
if (sthead_ != NULL) sthead_->::iot_idl::SFesRealPkgHead::Clear();
|
|
}
|
|
stpidata_.Clear();
|
|
::memset(_has_bits_, 0, sizeof(_has_bits_));
|
|
mutable_unknown_fields()->Clear();
|
|
}
|
|
|
|
bool SFesChangePiPkg::MergePartialFromCodedStream(
|
|
::google::protobuf::io::CodedInputStream* input) {
|
|
#define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
|
|
::google::protobuf::uint32 tag;
|
|
// @@protoc_insertion_point(parse_start:iot_idl.SFesChangePiPkg)
|
|
for (;;) {
|
|
::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
|
|
tag = p.first;
|
|
if (!p.second) goto handle_unusual;
|
|
switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
|
|
// required .iot_idl.SFesRealPkgHead stHead = 1;
|
|
case 1: {
|
|
if (tag == 10) {
|
|
DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
|
|
input, mutable_sthead()));
|
|
} else {
|
|
goto handle_unusual;
|
|
}
|
|
if (input->ExpectTag(18)) goto parse_stPiData;
|
|
break;
|
|
}
|
|
|
|
// repeated .iot_idl.SFesPiDataWithTm stPiData = 2;
|
|
case 2: {
|
|
if (tag == 18) {
|
|
parse_stPiData:
|
|
DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
|
|
input, add_stpidata()));
|
|
} else {
|
|
goto handle_unusual;
|
|
}
|
|
if (input->ExpectTag(18)) goto parse_stPiData;
|
|
if (input->ExpectAtEnd()) goto success;
|
|
break;
|
|
}
|
|
|
|
default: {
|
|
handle_unusual:
|
|
if (tag == 0 ||
|
|
::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
|
|
::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
|
|
goto success;
|
|
}
|
|
DO_(::google::protobuf::internal::WireFormat::SkipField(
|
|
input, tag, mutable_unknown_fields()));
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
success:
|
|
// @@protoc_insertion_point(parse_success:iot_idl.SFesChangePiPkg)
|
|
return true;
|
|
failure:
|
|
// @@protoc_insertion_point(parse_failure:iot_idl.SFesChangePiPkg)
|
|
return false;
|
|
#undef DO_
|
|
}
|
|
|
|
void SFesChangePiPkg::SerializeWithCachedSizes(
|
|
::google::protobuf::io::CodedOutputStream* output) const {
|
|
// @@protoc_insertion_point(serialize_start:iot_idl.SFesChangePiPkg)
|
|
// required .iot_idl.SFesRealPkgHead stHead = 1;
|
|
if (has_sthead()) {
|
|
::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
|
|
1, this->sthead(), output);
|
|
}
|
|
|
|
// repeated .iot_idl.SFesPiDataWithTm stPiData = 2;
|
|
for (int i = 0; i < this->stpidata_size(); i++) {
|
|
::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
|
|
2, this->stpidata(i), output);
|
|
}
|
|
|
|
if (!unknown_fields().empty()) {
|
|
::google::protobuf::internal::WireFormat::SerializeUnknownFields(
|
|
unknown_fields(), output);
|
|
}
|
|
// @@protoc_insertion_point(serialize_end:iot_idl.SFesChangePiPkg)
|
|
}
|
|
|
|
::google::protobuf::uint8* SFesChangePiPkg::SerializeWithCachedSizesToArray(
|
|
::google::protobuf::uint8* target) const {
|
|
// @@protoc_insertion_point(serialize_to_array_start:iot_idl.SFesChangePiPkg)
|
|
// required .iot_idl.SFesRealPkgHead stHead = 1;
|
|
if (has_sthead()) {
|
|
target = ::google::protobuf::internal::WireFormatLite::
|
|
WriteMessageNoVirtualToArray(
|
|
1, this->sthead(), target);
|
|
}
|
|
|
|
// repeated .iot_idl.SFesPiDataWithTm stPiData = 2;
|
|
for (int i = 0; i < this->stpidata_size(); i++) {
|
|
target = ::google::protobuf::internal::WireFormatLite::
|
|
WriteMessageNoVirtualToArray(
|
|
2, this->stpidata(i), target);
|
|
}
|
|
|
|
if (!unknown_fields().empty()) {
|
|
target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
|
|
unknown_fields(), target);
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_end:iot_idl.SFesChangePiPkg)
|
|
return target;
|
|
}
|
|
|
|
int SFesChangePiPkg::ByteSize() const {
|
|
int total_size = 0;
|
|
|
|
if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
|
|
// required .iot_idl.SFesRealPkgHead stHead = 1;
|
|
if (has_sthead()) {
|
|
total_size += 1 +
|
|
::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
|
|
this->sthead());
|
|
}
|
|
|
|
}
|
|
// repeated .iot_idl.SFesPiDataWithTm stPiData = 2;
|
|
total_size += 1 * this->stpidata_size();
|
|
for (int i = 0; i < this->stpidata_size(); i++) {
|
|
total_size +=
|
|
::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
|
|
this->stpidata(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 SFesChangePiPkg::MergeFrom(const ::google::protobuf::Message& from) {
|
|
GOOGLE_CHECK_NE(&from, this);
|
|
const SFesChangePiPkg* source =
|
|
::google::protobuf::internal::dynamic_cast_if_available<const SFesChangePiPkg*>(
|
|
&from);
|
|
if (source == NULL) {
|
|
::google::protobuf::internal::ReflectionOps::Merge(from, this);
|
|
} else {
|
|
MergeFrom(*source);
|
|
}
|
|
}
|
|
|
|
void SFesChangePiPkg::MergeFrom(const SFesChangePiPkg& from) {
|
|
GOOGLE_CHECK_NE(&from, this);
|
|
stpidata_.MergeFrom(from.stpidata_);
|
|
if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
|
|
if (from.has_sthead()) {
|
|
mutable_sthead()->::iot_idl::SFesRealPkgHead::MergeFrom(from.sthead());
|
|
}
|
|
}
|
|
mutable_unknown_fields()->MergeFrom(from.unknown_fields());
|
|
}
|
|
|
|
void SFesChangePiPkg::CopyFrom(const ::google::protobuf::Message& from) {
|
|
if (&from == this) return;
|
|
Clear();
|
|
MergeFrom(from);
|
|
}
|
|
|
|
void SFesChangePiPkg::CopyFrom(const SFesChangePiPkg& from) {
|
|
if (&from == this) return;
|
|
Clear();
|
|
MergeFrom(from);
|
|
}
|
|
|
|
bool SFesChangePiPkg::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->stpidata())) return false;
|
|
return true;
|
|
}
|
|
|
|
void SFesChangePiPkg::Swap(SFesChangePiPkg* other) {
|
|
if (other != this) {
|
|
std::swap(sthead_, other->sthead_);
|
|
stpidata_.Swap(&other->stpidata_);
|
|
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 SFesChangePiPkg::GetMetadata() const {
|
|
protobuf_AssignDescriptorsOnce();
|
|
::google::protobuf::Metadata metadata;
|
|
metadata.descriptor = SFesChangePiPkg_descriptor_;
|
|
metadata.reflection = SFesChangePiPkg_reflection_;
|
|
return metadata;
|
|
}
|
|
|
|
|
|
// ===================================================================
|
|
|
|
#ifndef _MSC_VER
|
|
const int SFesUpdatePiPkg::kStHeadFieldNumber;
|
|
const int SFesUpdatePiPkg::kStPiDataFieldNumber;
|
|
const int SFesUpdatePiPkg::kUlTimeFieldNumber;
|
|
#endif // !_MSC_VER
|
|
|
|
SFesUpdatePiPkg::SFesUpdatePiPkg()
|
|
: ::google::protobuf::Message() {
|
|
SharedCtor();
|
|
// @@protoc_insertion_point(constructor:iot_idl.SFesUpdatePiPkg)
|
|
}
|
|
|
|
void SFesUpdatePiPkg::InitAsDefaultInstance() {
|
|
sthead_ = const_cast< ::iot_idl::SFesRealPkgHead*>(&::iot_idl::SFesRealPkgHead::default_instance());
|
|
}
|
|
|
|
SFesUpdatePiPkg::SFesUpdatePiPkg(const SFesUpdatePiPkg& from)
|
|
: ::google::protobuf::Message() {
|
|
SharedCtor();
|
|
MergeFrom(from);
|
|
// @@protoc_insertion_point(copy_constructor:iot_idl.SFesUpdatePiPkg)
|
|
}
|
|
|
|
void SFesUpdatePiPkg::SharedCtor() {
|
|
_cached_size_ = 0;
|
|
sthead_ = NULL;
|
|
ultime_ = GOOGLE_ULONGLONG(0);
|
|
::memset(_has_bits_, 0, sizeof(_has_bits_));
|
|
}
|
|
|
|
SFesUpdatePiPkg::~SFesUpdatePiPkg() {
|
|
// @@protoc_insertion_point(destructor:iot_idl.SFesUpdatePiPkg)
|
|
SharedDtor();
|
|
}
|
|
|
|
void SFesUpdatePiPkg::SharedDtor() {
|
|
if (this != default_instance_) {
|
|
delete sthead_;
|
|
}
|
|
}
|
|
|
|
void SFesUpdatePiPkg::SetCachedSize(int size) const {
|
|
GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
|
|
_cached_size_ = size;
|
|
GOOGLE_SAFE_CONCURRENT_WRITES_END();
|
|
}
|
|
const ::google::protobuf::Descriptor* SFesUpdatePiPkg::descriptor() {
|
|
protobuf_AssignDescriptorsOnce();
|
|
return SFesUpdatePiPkg_descriptor_;
|
|
}
|
|
|
|
const SFesUpdatePiPkg& SFesUpdatePiPkg::default_instance() {
|
|
if (default_instance_ == NULL) protobuf_AddDesc_FesMessage_2eproto();
|
|
return *default_instance_;
|
|
}
|
|
|
|
SFesUpdatePiPkg* SFesUpdatePiPkg::default_instance_ = NULL;
|
|
|
|
SFesUpdatePiPkg* SFesUpdatePiPkg::New() const {
|
|
return new SFesUpdatePiPkg;
|
|
}
|
|
|
|
void SFesUpdatePiPkg::Clear() {
|
|
if (_has_bits_[0 / 32] & 5) {
|
|
if (has_sthead()) {
|
|
if (sthead_ != NULL) sthead_->::iot_idl::SFesRealPkgHead::Clear();
|
|
}
|
|
ultime_ = GOOGLE_ULONGLONG(0);
|
|
}
|
|
stpidata_.Clear();
|
|
::memset(_has_bits_, 0, sizeof(_has_bits_));
|
|
mutable_unknown_fields()->Clear();
|
|
}
|
|
|
|
bool SFesUpdatePiPkg::MergePartialFromCodedStream(
|
|
::google::protobuf::io::CodedInputStream* input) {
|
|
#define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
|
|
::google::protobuf::uint32 tag;
|
|
// @@protoc_insertion_point(parse_start:iot_idl.SFesUpdatePiPkg)
|
|
for (;;) {
|
|
::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
|
|
tag = p.first;
|
|
if (!p.second) goto handle_unusual;
|
|
switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
|
|
// required .iot_idl.SFesRealPkgHead stHead = 1;
|
|
case 1: {
|
|
if (tag == 10) {
|
|
DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
|
|
input, mutable_sthead()));
|
|
} else {
|
|
goto handle_unusual;
|
|
}
|
|
if (input->ExpectTag(18)) goto parse_stPiData;
|
|
break;
|
|
}
|
|
|
|
// repeated .iot_idl.SFesPiDataWithoutTm stPiData = 2;
|
|
case 2: {
|
|
if (tag == 18) {
|
|
parse_stPiData:
|
|
DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
|
|
input, add_stpidata()));
|
|
} else {
|
|
goto handle_unusual;
|
|
}
|
|
if (input->ExpectTag(18)) goto parse_stPiData;
|
|
if (input->ExpectTag(24)) goto parse_ulTime;
|
|
break;
|
|
}
|
|
|
|
// required uint64 ulTime = 3;
|
|
case 3: {
|
|
if (tag == 24) {
|
|
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:
|
|
// @@protoc_insertion_point(parse_success:iot_idl.SFesUpdatePiPkg)
|
|
return true;
|
|
failure:
|
|
// @@protoc_insertion_point(parse_failure:iot_idl.SFesUpdatePiPkg)
|
|
return false;
|
|
#undef DO_
|
|
}
|
|
|
|
void SFesUpdatePiPkg::SerializeWithCachedSizes(
|
|
::google::protobuf::io::CodedOutputStream* output) const {
|
|
// @@protoc_insertion_point(serialize_start:iot_idl.SFesUpdatePiPkg)
|
|
// required .iot_idl.SFesRealPkgHead stHead = 1;
|
|
if (has_sthead()) {
|
|
::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
|
|
1, this->sthead(), output);
|
|
}
|
|
|
|
// repeated .iot_idl.SFesPiDataWithoutTm stPiData = 2;
|
|
for (int i = 0; i < this->stpidata_size(); i++) {
|
|
::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
|
|
2, this->stpidata(i), output);
|
|
}
|
|
|
|
// required uint64 ulTime = 3;
|
|
if (has_ultime()) {
|
|
::google::protobuf::internal::WireFormatLite::WriteUInt64(3, this->ultime(), output);
|
|
}
|
|
|
|
if (!unknown_fields().empty()) {
|
|
::google::protobuf::internal::WireFormat::SerializeUnknownFields(
|
|
unknown_fields(), output);
|
|
}
|
|
// @@protoc_insertion_point(serialize_end:iot_idl.SFesUpdatePiPkg)
|
|
}
|
|
|
|
::google::protobuf::uint8* SFesUpdatePiPkg::SerializeWithCachedSizesToArray(
|
|
::google::protobuf::uint8* target) const {
|
|
// @@protoc_insertion_point(serialize_to_array_start:iot_idl.SFesUpdatePiPkg)
|
|
// required .iot_idl.SFesRealPkgHead stHead = 1;
|
|
if (has_sthead()) {
|
|
target = ::google::protobuf::internal::WireFormatLite::
|
|
WriteMessageNoVirtualToArray(
|
|
1, this->sthead(), target);
|
|
}
|
|
|
|
// repeated .iot_idl.SFesPiDataWithoutTm stPiData = 2;
|
|
for (int i = 0; i < this->stpidata_size(); i++) {
|
|
target = ::google::protobuf::internal::WireFormatLite::
|
|
WriteMessageNoVirtualToArray(
|
|
2, this->stpidata(i), target);
|
|
}
|
|
|
|
// required uint64 ulTime = 3;
|
|
if (has_ultime()) {
|
|
target = ::google::protobuf::internal::WireFormatLite::WriteUInt64ToArray(3, this->ultime(), target);
|
|
}
|
|
|
|
if (!unknown_fields().empty()) {
|
|
target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
|
|
unknown_fields(), target);
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_end:iot_idl.SFesUpdatePiPkg)
|
|
return target;
|
|
}
|
|
|
|
int SFesUpdatePiPkg::ByteSize() const {
|
|
int total_size = 0;
|
|
|
|
if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
|
|
// required .iot_idl.SFesRealPkgHead stHead = 1;
|
|
if (has_sthead()) {
|
|
total_size += 1 +
|
|
::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
|
|
this->sthead());
|
|
}
|
|
|
|
// required uint64 ulTime = 3;
|
|
if (has_ultime()) {
|
|
total_size += 1 +
|
|
::google::protobuf::internal::WireFormatLite::UInt64Size(
|
|
this->ultime());
|
|
}
|
|
|
|
}
|
|
// repeated .iot_idl.SFesPiDataWithoutTm stPiData = 2;
|
|
total_size += 1 * this->stpidata_size();
|
|
for (int i = 0; i < this->stpidata_size(); i++) {
|
|
total_size +=
|
|
::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
|
|
this->stpidata(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 SFesUpdatePiPkg::MergeFrom(const ::google::protobuf::Message& from) {
|
|
GOOGLE_CHECK_NE(&from, this);
|
|
const SFesUpdatePiPkg* source =
|
|
::google::protobuf::internal::dynamic_cast_if_available<const SFesUpdatePiPkg*>(
|
|
&from);
|
|
if (source == NULL) {
|
|
::google::protobuf::internal::ReflectionOps::Merge(from, this);
|
|
} else {
|
|
MergeFrom(*source);
|
|
}
|
|
}
|
|
|
|
void SFesUpdatePiPkg::MergeFrom(const SFesUpdatePiPkg& from) {
|
|
GOOGLE_CHECK_NE(&from, this);
|
|
stpidata_.MergeFrom(from.stpidata_);
|
|
if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
|
|
if (from.has_sthead()) {
|
|
mutable_sthead()->::iot_idl::SFesRealPkgHead::MergeFrom(from.sthead());
|
|
}
|
|
if (from.has_ultime()) {
|
|
set_ultime(from.ultime());
|
|
}
|
|
}
|
|
mutable_unknown_fields()->MergeFrom(from.unknown_fields());
|
|
}
|
|
|
|
void SFesUpdatePiPkg::CopyFrom(const ::google::protobuf::Message& from) {
|
|
if (&from == this) return;
|
|
Clear();
|
|
MergeFrom(from);
|
|
}
|
|
|
|
void SFesUpdatePiPkg::CopyFrom(const SFesUpdatePiPkg& from) {
|
|
if (&from == this) return;
|
|
Clear();
|
|
MergeFrom(from);
|
|
}
|
|
|
|
bool SFesUpdatePiPkg::IsInitialized() const {
|
|
if ((_has_bits_[0] & 0x00000005) != 0x00000005) return false;
|
|
|
|
if (has_sthead()) {
|
|
if (!this->sthead().IsInitialized()) return false;
|
|
}
|
|
if (!::google::protobuf::internal::AllAreInitialized(this->stpidata())) return false;
|
|
return true;
|
|
}
|
|
|
|
void SFesUpdatePiPkg::Swap(SFesUpdatePiPkg* other) {
|
|
if (other != this) {
|
|
std::swap(sthead_, other->sthead_);
|
|
stpidata_.Swap(&other->stpidata_);
|
|
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 SFesUpdatePiPkg::GetMetadata() const {
|
|
protobuf_AssignDescriptorsOnce();
|
|
::google::protobuf::Metadata metadata;
|
|
metadata.descriptor = SFesUpdatePiPkg_descriptor_;
|
|
metadata.reflection = SFesUpdatePiPkg_reflection_;
|
|
return metadata;
|
|
}
|
|
|
|
|
|
// ===================================================================
|
|
|
|
#ifndef _MSC_VER
|
|
const int SFesMiDataWithTm::kStrAppTableNameFieldNumber;
|
|
const int SFesMiDataWithTm::kStrAppColumnNameFieldNumber;
|
|
const int SFesMiDataWithTm::kStrAppTagNameFieldNumber;
|
|
const int SFesMiDataWithTm::kUStatusFieldNumber;
|
|
const int SFesMiDataWithTm::kNValueFieldNumber;
|
|
const int SFesMiDataWithTm::kUlTimeFieldNumber;
|
|
#endif // !_MSC_VER
|
|
|
|
SFesMiDataWithTm::SFesMiDataWithTm()
|
|
: ::google::protobuf::Message() {
|
|
SharedCtor();
|
|
// @@protoc_insertion_point(constructor:iot_idl.SFesMiDataWithTm)
|
|
}
|
|
|
|
void SFesMiDataWithTm::InitAsDefaultInstance() {
|
|
}
|
|
|
|
SFesMiDataWithTm::SFesMiDataWithTm(const SFesMiDataWithTm& from)
|
|
: ::google::protobuf::Message() {
|
|
SharedCtor();
|
|
MergeFrom(from);
|
|
// @@protoc_insertion_point(copy_constructor:iot_idl.SFesMiDataWithTm)
|
|
}
|
|
|
|
void SFesMiDataWithTm::SharedCtor() {
|
|
::google::protobuf::internal::GetEmptyString();
|
|
_cached_size_ = 0;
|
|
strapptablename_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
strappcolumnname_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
strapptagname_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
ustatus_ = 0u;
|
|
nvalue_ = 0;
|
|
ultime_ = GOOGLE_ULONGLONG(0);
|
|
::memset(_has_bits_, 0, sizeof(_has_bits_));
|
|
}
|
|
|
|
SFesMiDataWithTm::~SFesMiDataWithTm() {
|
|
// @@protoc_insertion_point(destructor:iot_idl.SFesMiDataWithTm)
|
|
SharedDtor();
|
|
}
|
|
|
|
void SFesMiDataWithTm::SharedDtor() {
|
|
if (strapptablename_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
|
|
delete strapptablename_;
|
|
}
|
|
if (strappcolumnname_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
|
|
delete strappcolumnname_;
|
|
}
|
|
if (strapptagname_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
|
|
delete strapptagname_;
|
|
}
|
|
if (this != default_instance_) {
|
|
}
|
|
}
|
|
|
|
void SFesMiDataWithTm::SetCachedSize(int size) const {
|
|
GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
|
|
_cached_size_ = size;
|
|
GOOGLE_SAFE_CONCURRENT_WRITES_END();
|
|
}
|
|
const ::google::protobuf::Descriptor* SFesMiDataWithTm::descriptor() {
|
|
protobuf_AssignDescriptorsOnce();
|
|
return SFesMiDataWithTm_descriptor_;
|
|
}
|
|
|
|
const SFesMiDataWithTm& SFesMiDataWithTm::default_instance() {
|
|
if (default_instance_ == NULL) protobuf_AddDesc_FesMessage_2eproto();
|
|
return *default_instance_;
|
|
}
|
|
|
|
SFesMiDataWithTm* SFesMiDataWithTm::default_instance_ = NULL;
|
|
|
|
SFesMiDataWithTm* SFesMiDataWithTm::New() const {
|
|
return new SFesMiDataWithTm;
|
|
}
|
|
|
|
void SFesMiDataWithTm::Clear() {
|
|
#define OFFSET_OF_FIELD_(f) (reinterpret_cast<char*>( \
|
|
&reinterpret_cast<SFesMiDataWithTm*>(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] & 63) {
|
|
ZR_(ustatus_, ultime_);
|
|
if (has_strapptablename()) {
|
|
if (strapptablename_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
|
|
strapptablename_->clear();
|
|
}
|
|
}
|
|
if (has_strappcolumnname()) {
|
|
if (strappcolumnname_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
|
|
strappcolumnname_->clear();
|
|
}
|
|
}
|
|
if (has_strapptagname()) {
|
|
if (strapptagname_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
|
|
strapptagname_->clear();
|
|
}
|
|
}
|
|
}
|
|
|
|
#undef OFFSET_OF_FIELD_
|
|
#undef ZR_
|
|
|
|
::memset(_has_bits_, 0, sizeof(_has_bits_));
|
|
mutable_unknown_fields()->Clear();
|
|
}
|
|
|
|
bool SFesMiDataWithTm::MergePartialFromCodedStream(
|
|
::google::protobuf::io::CodedInputStream* input) {
|
|
#define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
|
|
::google::protobuf::uint32 tag;
|
|
// @@protoc_insertion_point(parse_start:iot_idl.SFesMiDataWithTm)
|
|
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 strAppTableName = 1;
|
|
case 1: {
|
|
if (tag == 10) {
|
|
DO_(::google::protobuf::internal::WireFormatLite::ReadString(
|
|
input, this->mutable_strapptablename()));
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
|
|
this->strapptablename().data(), this->strapptablename().length(),
|
|
::google::protobuf::internal::WireFormat::PARSE,
|
|
"strapptablename");
|
|
} else {
|
|
goto handle_unusual;
|
|
}
|
|
if (input->ExpectTag(18)) goto parse_strAppColumnName;
|
|
break;
|
|
}
|
|
|
|
// required string strAppColumnName = 2;
|
|
case 2: {
|
|
if (tag == 18) {
|
|
parse_strAppColumnName:
|
|
DO_(::google::protobuf::internal::WireFormatLite::ReadString(
|
|
input, this->mutable_strappcolumnname()));
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
|
|
this->strappcolumnname().data(), this->strappcolumnname().length(),
|
|
::google::protobuf::internal::WireFormat::PARSE,
|
|
"strappcolumnname");
|
|
} else {
|
|
goto handle_unusual;
|
|
}
|
|
if (input->ExpectTag(26)) goto parse_strAppTagName;
|
|
break;
|
|
}
|
|
|
|
// required string strAppTagName = 3;
|
|
case 3: {
|
|
if (tag == 26) {
|
|
parse_strAppTagName:
|
|
DO_(::google::protobuf::internal::WireFormatLite::ReadString(
|
|
input, this->mutable_strapptagname()));
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
|
|
this->strapptagname().data(), this->strapptagname().length(),
|
|
::google::protobuf::internal::WireFormat::PARSE,
|
|
"strapptagname");
|
|
} else {
|
|
goto handle_unusual;
|
|
}
|
|
if (input->ExpectTag(32)) goto parse_uStatus;
|
|
break;
|
|
}
|
|
|
|
// required uint32 uStatus = 4;
|
|
case 4: {
|
|
if (tag == 32) {
|
|
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(40)) goto parse_nValue;
|
|
break;
|
|
}
|
|
|
|
// required int32 nValue = 5;
|
|
case 5: {
|
|
if (tag == 40) {
|
|
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(48)) goto parse_ulTime;
|
|
break;
|
|
}
|
|
|
|
// required uint64 ulTime = 6;
|
|
case 6: {
|
|
if (tag == 48) {
|
|
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:
|
|
// @@protoc_insertion_point(parse_success:iot_idl.SFesMiDataWithTm)
|
|
return true;
|
|
failure:
|
|
// @@protoc_insertion_point(parse_failure:iot_idl.SFesMiDataWithTm)
|
|
return false;
|
|
#undef DO_
|
|
}
|
|
|
|
void SFesMiDataWithTm::SerializeWithCachedSizes(
|
|
::google::protobuf::io::CodedOutputStream* output) const {
|
|
// @@protoc_insertion_point(serialize_start:iot_idl.SFesMiDataWithTm)
|
|
// required string strAppTableName = 1;
|
|
if (has_strapptablename()) {
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
|
|
this->strapptablename().data(), this->strapptablename().length(),
|
|
::google::protobuf::internal::WireFormat::SERIALIZE,
|
|
"strapptablename");
|
|
::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
|
|
1, this->strapptablename(), output);
|
|
}
|
|
|
|
// required string strAppColumnName = 2;
|
|
if (has_strappcolumnname()) {
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
|
|
this->strappcolumnname().data(), this->strappcolumnname().length(),
|
|
::google::protobuf::internal::WireFormat::SERIALIZE,
|
|
"strappcolumnname");
|
|
::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
|
|
2, this->strappcolumnname(), output);
|
|
}
|
|
|
|
// required string strAppTagName = 3;
|
|
if (has_strapptagname()) {
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
|
|
this->strapptagname().data(), this->strapptagname().length(),
|
|
::google::protobuf::internal::WireFormat::SERIALIZE,
|
|
"strapptagname");
|
|
::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
|
|
3, this->strapptagname(), output);
|
|
}
|
|
|
|
// required uint32 uStatus = 4;
|
|
if (has_ustatus()) {
|
|
::google::protobuf::internal::WireFormatLite::WriteUInt32(4, this->ustatus(), output);
|
|
}
|
|
|
|
// required int32 nValue = 5;
|
|
if (has_nvalue()) {
|
|
::google::protobuf::internal::WireFormatLite::WriteInt32(5, this->nvalue(), output);
|
|
}
|
|
|
|
// required uint64 ulTime = 6;
|
|
if (has_ultime()) {
|
|
::google::protobuf::internal::WireFormatLite::WriteUInt64(6, this->ultime(), output);
|
|
}
|
|
|
|
if (!unknown_fields().empty()) {
|
|
::google::protobuf::internal::WireFormat::SerializeUnknownFields(
|
|
unknown_fields(), output);
|
|
}
|
|
// @@protoc_insertion_point(serialize_end:iot_idl.SFesMiDataWithTm)
|
|
}
|
|
|
|
::google::protobuf::uint8* SFesMiDataWithTm::SerializeWithCachedSizesToArray(
|
|
::google::protobuf::uint8* target) const {
|
|
// @@protoc_insertion_point(serialize_to_array_start:iot_idl.SFesMiDataWithTm)
|
|
// required string strAppTableName = 1;
|
|
if (has_strapptablename()) {
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
|
|
this->strapptablename().data(), this->strapptablename().length(),
|
|
::google::protobuf::internal::WireFormat::SERIALIZE,
|
|
"strapptablename");
|
|
target =
|
|
::google::protobuf::internal::WireFormatLite::WriteStringToArray(
|
|
1, this->strapptablename(), target);
|
|
}
|
|
|
|
// required string strAppColumnName = 2;
|
|
if (has_strappcolumnname()) {
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
|
|
this->strappcolumnname().data(), this->strappcolumnname().length(),
|
|
::google::protobuf::internal::WireFormat::SERIALIZE,
|
|
"strappcolumnname");
|
|
target =
|
|
::google::protobuf::internal::WireFormatLite::WriteStringToArray(
|
|
2, this->strappcolumnname(), target);
|
|
}
|
|
|
|
// required string strAppTagName = 3;
|
|
if (has_strapptagname()) {
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
|
|
this->strapptagname().data(), this->strapptagname().length(),
|
|
::google::protobuf::internal::WireFormat::SERIALIZE,
|
|
"strapptagname");
|
|
target =
|
|
::google::protobuf::internal::WireFormatLite::WriteStringToArray(
|
|
3, this->strapptagname(), target);
|
|
}
|
|
|
|
// required uint32 uStatus = 4;
|
|
if (has_ustatus()) {
|
|
target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(4, this->ustatus(), target);
|
|
}
|
|
|
|
// required int32 nValue = 5;
|
|
if (has_nvalue()) {
|
|
target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(5, this->nvalue(), target);
|
|
}
|
|
|
|
// required uint64 ulTime = 6;
|
|
if (has_ultime()) {
|
|
target = ::google::protobuf::internal::WireFormatLite::WriteUInt64ToArray(6, this->ultime(), target);
|
|
}
|
|
|
|
if (!unknown_fields().empty()) {
|
|
target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
|
|
unknown_fields(), target);
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_end:iot_idl.SFesMiDataWithTm)
|
|
return target;
|
|
}
|
|
|
|
int SFesMiDataWithTm::ByteSize() const {
|
|
int total_size = 0;
|
|
|
|
if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
|
|
// required string strAppTableName = 1;
|
|
if (has_strapptablename()) {
|
|
total_size += 1 +
|
|
::google::protobuf::internal::WireFormatLite::StringSize(
|
|
this->strapptablename());
|
|
}
|
|
|
|
// required string strAppColumnName = 2;
|
|
if (has_strappcolumnname()) {
|
|
total_size += 1 +
|
|
::google::protobuf::internal::WireFormatLite::StringSize(
|
|
this->strappcolumnname());
|
|
}
|
|
|
|
// required string strAppTagName = 3;
|
|
if (has_strapptagname()) {
|
|
total_size += 1 +
|
|
::google::protobuf::internal::WireFormatLite::StringSize(
|
|
this->strapptagname());
|
|
}
|
|
|
|
// required uint32 uStatus = 4;
|
|
if (has_ustatus()) {
|
|
total_size += 1 +
|
|
::google::protobuf::internal::WireFormatLite::UInt32Size(
|
|
this->ustatus());
|
|
}
|
|
|
|
// required int32 nValue = 5;
|
|
if (has_nvalue()) {
|
|
total_size += 1 +
|
|
::google::protobuf::internal::WireFormatLite::Int32Size(
|
|
this->nvalue());
|
|
}
|
|
|
|
// required uint64 ulTime = 6;
|
|
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 SFesMiDataWithTm::MergeFrom(const ::google::protobuf::Message& from) {
|
|
GOOGLE_CHECK_NE(&from, this);
|
|
const SFesMiDataWithTm* source =
|
|
::google::protobuf::internal::dynamic_cast_if_available<const SFesMiDataWithTm*>(
|
|
&from);
|
|
if (source == NULL) {
|
|
::google::protobuf::internal::ReflectionOps::Merge(from, this);
|
|
} else {
|
|
MergeFrom(*source);
|
|
}
|
|
}
|
|
|
|
void SFesMiDataWithTm::MergeFrom(const SFesMiDataWithTm& from) {
|
|
GOOGLE_CHECK_NE(&from, this);
|
|
if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
|
|
if (from.has_strapptablename()) {
|
|
set_strapptablename(from.strapptablename());
|
|
}
|
|
if (from.has_strappcolumnname()) {
|
|
set_strappcolumnname(from.strappcolumnname());
|
|
}
|
|
if (from.has_strapptagname()) {
|
|
set_strapptagname(from.strapptagname());
|
|
}
|
|
if (from.has_ustatus()) {
|
|
set_ustatus(from.ustatus());
|
|
}
|
|
if (from.has_nvalue()) {
|
|
set_nvalue(from.nvalue());
|
|
}
|
|
if (from.has_ultime()) {
|
|
set_ultime(from.ultime());
|
|
}
|
|
}
|
|
mutable_unknown_fields()->MergeFrom(from.unknown_fields());
|
|
}
|
|
|
|
void SFesMiDataWithTm::CopyFrom(const ::google::protobuf::Message& from) {
|
|
if (&from == this) return;
|
|
Clear();
|
|
MergeFrom(from);
|
|
}
|
|
|
|
void SFesMiDataWithTm::CopyFrom(const SFesMiDataWithTm& from) {
|
|
if (&from == this) return;
|
|
Clear();
|
|
MergeFrom(from);
|
|
}
|
|
|
|
bool SFesMiDataWithTm::IsInitialized() const {
|
|
if ((_has_bits_[0] & 0x0000003f) != 0x0000003f) return false;
|
|
|
|
return true;
|
|
}
|
|
|
|
void SFesMiDataWithTm::Swap(SFesMiDataWithTm* other) {
|
|
if (other != this) {
|
|
std::swap(strapptablename_, other->strapptablename_);
|
|
std::swap(strappcolumnname_, other->strappcolumnname_);
|
|
std::swap(strapptagname_, other->strapptagname_);
|
|
std::swap(ustatus_, other->ustatus_);
|
|
std::swap(nvalue_, other->nvalue_);
|
|
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 SFesMiDataWithTm::GetMetadata() const {
|
|
protobuf_AssignDescriptorsOnce();
|
|
::google::protobuf::Metadata metadata;
|
|
metadata.descriptor = SFesMiDataWithTm_descriptor_;
|
|
metadata.reflection = SFesMiDataWithTm_reflection_;
|
|
return metadata;
|
|
}
|
|
|
|
|
|
// ===================================================================
|
|
|
|
#ifndef _MSC_VER
|
|
const int SFesMiDataWithoutTm::kStrAppTableNameFieldNumber;
|
|
const int SFesMiDataWithoutTm::kStrAppColumnNameFieldNumber;
|
|
const int SFesMiDataWithoutTm::kStrAppTagNameFieldNumber;
|
|
const int SFesMiDataWithoutTm::kUStatusFieldNumber;
|
|
const int SFesMiDataWithoutTm::kNValueFieldNumber;
|
|
#endif // !_MSC_VER
|
|
|
|
SFesMiDataWithoutTm::SFesMiDataWithoutTm()
|
|
: ::google::protobuf::Message() {
|
|
SharedCtor();
|
|
// @@protoc_insertion_point(constructor:iot_idl.SFesMiDataWithoutTm)
|
|
}
|
|
|
|
void SFesMiDataWithoutTm::InitAsDefaultInstance() {
|
|
}
|
|
|
|
SFesMiDataWithoutTm::SFesMiDataWithoutTm(const SFesMiDataWithoutTm& from)
|
|
: ::google::protobuf::Message() {
|
|
SharedCtor();
|
|
MergeFrom(from);
|
|
// @@protoc_insertion_point(copy_constructor:iot_idl.SFesMiDataWithoutTm)
|
|
}
|
|
|
|
void SFesMiDataWithoutTm::SharedCtor() {
|
|
::google::protobuf::internal::GetEmptyString();
|
|
_cached_size_ = 0;
|
|
strapptablename_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
strappcolumnname_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
strapptagname_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
ustatus_ = 0u;
|
|
nvalue_ = 0;
|
|
::memset(_has_bits_, 0, sizeof(_has_bits_));
|
|
}
|
|
|
|
SFesMiDataWithoutTm::~SFesMiDataWithoutTm() {
|
|
// @@protoc_insertion_point(destructor:iot_idl.SFesMiDataWithoutTm)
|
|
SharedDtor();
|
|
}
|
|
|
|
void SFesMiDataWithoutTm::SharedDtor() {
|
|
if (strapptablename_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
|
|
delete strapptablename_;
|
|
}
|
|
if (strappcolumnname_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
|
|
delete strappcolumnname_;
|
|
}
|
|
if (strapptagname_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
|
|
delete strapptagname_;
|
|
}
|
|
if (this != default_instance_) {
|
|
}
|
|
}
|
|
|
|
void SFesMiDataWithoutTm::SetCachedSize(int size) const {
|
|
GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
|
|
_cached_size_ = size;
|
|
GOOGLE_SAFE_CONCURRENT_WRITES_END();
|
|
}
|
|
const ::google::protobuf::Descriptor* SFesMiDataWithoutTm::descriptor() {
|
|
protobuf_AssignDescriptorsOnce();
|
|
return SFesMiDataWithoutTm_descriptor_;
|
|
}
|
|
|
|
const SFesMiDataWithoutTm& SFesMiDataWithoutTm::default_instance() {
|
|
if (default_instance_ == NULL) protobuf_AddDesc_FesMessage_2eproto();
|
|
return *default_instance_;
|
|
}
|
|
|
|
SFesMiDataWithoutTm* SFesMiDataWithoutTm::default_instance_ = NULL;
|
|
|
|
SFesMiDataWithoutTm* SFesMiDataWithoutTm::New() const {
|
|
return new SFesMiDataWithoutTm;
|
|
}
|
|
|
|
void SFesMiDataWithoutTm::Clear() {
|
|
#define OFFSET_OF_FIELD_(f) (reinterpret_cast<char*>( \
|
|
&reinterpret_cast<SFesMiDataWithoutTm*>(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] & 31) {
|
|
ZR_(ustatus_, nvalue_);
|
|
if (has_strapptablename()) {
|
|
if (strapptablename_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
|
|
strapptablename_->clear();
|
|
}
|
|
}
|
|
if (has_strappcolumnname()) {
|
|
if (strappcolumnname_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
|
|
strappcolumnname_->clear();
|
|
}
|
|
}
|
|
if (has_strapptagname()) {
|
|
if (strapptagname_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
|
|
strapptagname_->clear();
|
|
}
|
|
}
|
|
}
|
|
|
|
#undef OFFSET_OF_FIELD_
|
|
#undef ZR_
|
|
|
|
::memset(_has_bits_, 0, sizeof(_has_bits_));
|
|
mutable_unknown_fields()->Clear();
|
|
}
|
|
|
|
bool SFesMiDataWithoutTm::MergePartialFromCodedStream(
|
|
::google::protobuf::io::CodedInputStream* input) {
|
|
#define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
|
|
::google::protobuf::uint32 tag;
|
|
// @@protoc_insertion_point(parse_start:iot_idl.SFesMiDataWithoutTm)
|
|
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 strAppTableName = 1;
|
|
case 1: {
|
|
if (tag == 10) {
|
|
DO_(::google::protobuf::internal::WireFormatLite::ReadString(
|
|
input, this->mutable_strapptablename()));
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
|
|
this->strapptablename().data(), this->strapptablename().length(),
|
|
::google::protobuf::internal::WireFormat::PARSE,
|
|
"strapptablename");
|
|
} else {
|
|
goto handle_unusual;
|
|
}
|
|
if (input->ExpectTag(18)) goto parse_strAppColumnName;
|
|
break;
|
|
}
|
|
|
|
// required string strAppColumnName = 2;
|
|
case 2: {
|
|
if (tag == 18) {
|
|
parse_strAppColumnName:
|
|
DO_(::google::protobuf::internal::WireFormatLite::ReadString(
|
|
input, this->mutable_strappcolumnname()));
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
|
|
this->strappcolumnname().data(), this->strappcolumnname().length(),
|
|
::google::protobuf::internal::WireFormat::PARSE,
|
|
"strappcolumnname");
|
|
} else {
|
|
goto handle_unusual;
|
|
}
|
|
if (input->ExpectTag(26)) goto parse_strAppTagName;
|
|
break;
|
|
}
|
|
|
|
// required string strAppTagName = 3;
|
|
case 3: {
|
|
if (tag == 26) {
|
|
parse_strAppTagName:
|
|
DO_(::google::protobuf::internal::WireFormatLite::ReadString(
|
|
input, this->mutable_strapptagname()));
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
|
|
this->strapptagname().data(), this->strapptagname().length(),
|
|
::google::protobuf::internal::WireFormat::PARSE,
|
|
"strapptagname");
|
|
} else {
|
|
goto handle_unusual;
|
|
}
|
|
if (input->ExpectTag(32)) goto parse_uStatus;
|
|
break;
|
|
}
|
|
|
|
// required uint32 uStatus = 4;
|
|
case 4: {
|
|
if (tag == 32) {
|
|
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(40)) goto parse_nValue;
|
|
break;
|
|
}
|
|
|
|
// required int32 nValue = 5;
|
|
case 5: {
|
|
if (tag == 40) {
|
|
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->ExpectAtEnd()) goto success;
|
|
break;
|
|
}
|
|
|
|
default: {
|
|
handle_unusual:
|
|
if (tag == 0 ||
|
|
::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
|
|
::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
|
|
goto success;
|
|
}
|
|
DO_(::google::protobuf::internal::WireFormat::SkipField(
|
|
input, tag, mutable_unknown_fields()));
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
success:
|
|
// @@protoc_insertion_point(parse_success:iot_idl.SFesMiDataWithoutTm)
|
|
return true;
|
|
failure:
|
|
// @@protoc_insertion_point(parse_failure:iot_idl.SFesMiDataWithoutTm)
|
|
return false;
|
|
#undef DO_
|
|
}
|
|
|
|
void SFesMiDataWithoutTm::SerializeWithCachedSizes(
|
|
::google::protobuf::io::CodedOutputStream* output) const {
|
|
// @@protoc_insertion_point(serialize_start:iot_idl.SFesMiDataWithoutTm)
|
|
// required string strAppTableName = 1;
|
|
if (has_strapptablename()) {
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
|
|
this->strapptablename().data(), this->strapptablename().length(),
|
|
::google::protobuf::internal::WireFormat::SERIALIZE,
|
|
"strapptablename");
|
|
::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
|
|
1, this->strapptablename(), output);
|
|
}
|
|
|
|
// required string strAppColumnName = 2;
|
|
if (has_strappcolumnname()) {
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
|
|
this->strappcolumnname().data(), this->strappcolumnname().length(),
|
|
::google::protobuf::internal::WireFormat::SERIALIZE,
|
|
"strappcolumnname");
|
|
::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
|
|
2, this->strappcolumnname(), output);
|
|
}
|
|
|
|
// required string strAppTagName = 3;
|
|
if (has_strapptagname()) {
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
|
|
this->strapptagname().data(), this->strapptagname().length(),
|
|
::google::protobuf::internal::WireFormat::SERIALIZE,
|
|
"strapptagname");
|
|
::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
|
|
3, this->strapptagname(), output);
|
|
}
|
|
|
|
// required uint32 uStatus = 4;
|
|
if (has_ustatus()) {
|
|
::google::protobuf::internal::WireFormatLite::WriteUInt32(4, this->ustatus(), output);
|
|
}
|
|
|
|
// required int32 nValue = 5;
|
|
if (has_nvalue()) {
|
|
::google::protobuf::internal::WireFormatLite::WriteInt32(5, this->nvalue(), output);
|
|
}
|
|
|
|
if (!unknown_fields().empty()) {
|
|
::google::protobuf::internal::WireFormat::SerializeUnknownFields(
|
|
unknown_fields(), output);
|
|
}
|
|
// @@protoc_insertion_point(serialize_end:iot_idl.SFesMiDataWithoutTm)
|
|
}
|
|
|
|
::google::protobuf::uint8* SFesMiDataWithoutTm::SerializeWithCachedSizesToArray(
|
|
::google::protobuf::uint8* target) const {
|
|
// @@protoc_insertion_point(serialize_to_array_start:iot_idl.SFesMiDataWithoutTm)
|
|
// required string strAppTableName = 1;
|
|
if (has_strapptablename()) {
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
|
|
this->strapptablename().data(), this->strapptablename().length(),
|
|
::google::protobuf::internal::WireFormat::SERIALIZE,
|
|
"strapptablename");
|
|
target =
|
|
::google::protobuf::internal::WireFormatLite::WriteStringToArray(
|
|
1, this->strapptablename(), target);
|
|
}
|
|
|
|
// required string strAppColumnName = 2;
|
|
if (has_strappcolumnname()) {
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
|
|
this->strappcolumnname().data(), this->strappcolumnname().length(),
|
|
::google::protobuf::internal::WireFormat::SERIALIZE,
|
|
"strappcolumnname");
|
|
target =
|
|
::google::protobuf::internal::WireFormatLite::WriteStringToArray(
|
|
2, this->strappcolumnname(), target);
|
|
}
|
|
|
|
// required string strAppTagName = 3;
|
|
if (has_strapptagname()) {
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
|
|
this->strapptagname().data(), this->strapptagname().length(),
|
|
::google::protobuf::internal::WireFormat::SERIALIZE,
|
|
"strapptagname");
|
|
target =
|
|
::google::protobuf::internal::WireFormatLite::WriteStringToArray(
|
|
3, this->strapptagname(), target);
|
|
}
|
|
|
|
// required uint32 uStatus = 4;
|
|
if (has_ustatus()) {
|
|
target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(4, this->ustatus(), target);
|
|
}
|
|
|
|
// required int32 nValue = 5;
|
|
if (has_nvalue()) {
|
|
target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(5, this->nvalue(), target);
|
|
}
|
|
|
|
if (!unknown_fields().empty()) {
|
|
target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
|
|
unknown_fields(), target);
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_end:iot_idl.SFesMiDataWithoutTm)
|
|
return target;
|
|
}
|
|
|
|
int SFesMiDataWithoutTm::ByteSize() const {
|
|
int total_size = 0;
|
|
|
|
if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
|
|
// required string strAppTableName = 1;
|
|
if (has_strapptablename()) {
|
|
total_size += 1 +
|
|
::google::protobuf::internal::WireFormatLite::StringSize(
|
|
this->strapptablename());
|
|
}
|
|
|
|
// required string strAppColumnName = 2;
|
|
if (has_strappcolumnname()) {
|
|
total_size += 1 +
|
|
::google::protobuf::internal::WireFormatLite::StringSize(
|
|
this->strappcolumnname());
|
|
}
|
|
|
|
// required string strAppTagName = 3;
|
|
if (has_strapptagname()) {
|
|
total_size += 1 +
|
|
::google::protobuf::internal::WireFormatLite::StringSize(
|
|
this->strapptagname());
|
|
}
|
|
|
|
// required uint32 uStatus = 4;
|
|
if (has_ustatus()) {
|
|
total_size += 1 +
|
|
::google::protobuf::internal::WireFormatLite::UInt32Size(
|
|
this->ustatus());
|
|
}
|
|
|
|
// required int32 nValue = 5;
|
|
if (has_nvalue()) {
|
|
total_size += 1 +
|
|
::google::protobuf::internal::WireFormatLite::Int32Size(
|
|
this->nvalue());
|
|
}
|
|
|
|
}
|
|
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 SFesMiDataWithoutTm::MergeFrom(const ::google::protobuf::Message& from) {
|
|
GOOGLE_CHECK_NE(&from, this);
|
|
const SFesMiDataWithoutTm* source =
|
|
::google::protobuf::internal::dynamic_cast_if_available<const SFesMiDataWithoutTm*>(
|
|
&from);
|
|
if (source == NULL) {
|
|
::google::protobuf::internal::ReflectionOps::Merge(from, this);
|
|
} else {
|
|
MergeFrom(*source);
|
|
}
|
|
}
|
|
|
|
void SFesMiDataWithoutTm::MergeFrom(const SFesMiDataWithoutTm& from) {
|
|
GOOGLE_CHECK_NE(&from, this);
|
|
if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
|
|
if (from.has_strapptablename()) {
|
|
set_strapptablename(from.strapptablename());
|
|
}
|
|
if (from.has_strappcolumnname()) {
|
|
set_strappcolumnname(from.strappcolumnname());
|
|
}
|
|
if (from.has_strapptagname()) {
|
|
set_strapptagname(from.strapptagname());
|
|
}
|
|
if (from.has_ustatus()) {
|
|
set_ustatus(from.ustatus());
|
|
}
|
|
if (from.has_nvalue()) {
|
|
set_nvalue(from.nvalue());
|
|
}
|
|
}
|
|
mutable_unknown_fields()->MergeFrom(from.unknown_fields());
|
|
}
|
|
|
|
void SFesMiDataWithoutTm::CopyFrom(const ::google::protobuf::Message& from) {
|
|
if (&from == this) return;
|
|
Clear();
|
|
MergeFrom(from);
|
|
}
|
|
|
|
void SFesMiDataWithoutTm::CopyFrom(const SFesMiDataWithoutTm& from) {
|
|
if (&from == this) return;
|
|
Clear();
|
|
MergeFrom(from);
|
|
}
|
|
|
|
bool SFesMiDataWithoutTm::IsInitialized() const {
|
|
if ((_has_bits_[0] & 0x0000001f) != 0x0000001f) return false;
|
|
|
|
return true;
|
|
}
|
|
|
|
void SFesMiDataWithoutTm::Swap(SFesMiDataWithoutTm* other) {
|
|
if (other != this) {
|
|
std::swap(strapptablename_, other->strapptablename_);
|
|
std::swap(strappcolumnname_, other->strappcolumnname_);
|
|
std::swap(strapptagname_, other->strapptagname_);
|
|
std::swap(ustatus_, other->ustatus_);
|
|
std::swap(nvalue_, other->nvalue_);
|
|
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 SFesMiDataWithoutTm::GetMetadata() const {
|
|
protobuf_AssignDescriptorsOnce();
|
|
::google::protobuf::Metadata metadata;
|
|
metadata.descriptor = SFesMiDataWithoutTm_descriptor_;
|
|
metadata.reflection = SFesMiDataWithoutTm_reflection_;
|
|
return metadata;
|
|
}
|
|
|
|
|
|
// ===================================================================
|
|
|
|
#ifndef _MSC_VER
|
|
const int SFesChangeMiPkg::kStHeadFieldNumber;
|
|
const int SFesChangeMiPkg::kStMiDataFieldNumber;
|
|
#endif // !_MSC_VER
|
|
|
|
SFesChangeMiPkg::SFesChangeMiPkg()
|
|
: ::google::protobuf::Message() {
|
|
SharedCtor();
|
|
// @@protoc_insertion_point(constructor:iot_idl.SFesChangeMiPkg)
|
|
}
|
|
|
|
void SFesChangeMiPkg::InitAsDefaultInstance() {
|
|
sthead_ = const_cast< ::iot_idl::SFesRealPkgHead*>(&::iot_idl::SFesRealPkgHead::default_instance());
|
|
}
|
|
|
|
SFesChangeMiPkg::SFesChangeMiPkg(const SFesChangeMiPkg& from)
|
|
: ::google::protobuf::Message() {
|
|
SharedCtor();
|
|
MergeFrom(from);
|
|
// @@protoc_insertion_point(copy_constructor:iot_idl.SFesChangeMiPkg)
|
|
}
|
|
|
|
void SFesChangeMiPkg::SharedCtor() {
|
|
_cached_size_ = 0;
|
|
sthead_ = NULL;
|
|
::memset(_has_bits_, 0, sizeof(_has_bits_));
|
|
}
|
|
|
|
SFesChangeMiPkg::~SFesChangeMiPkg() {
|
|
// @@protoc_insertion_point(destructor:iot_idl.SFesChangeMiPkg)
|
|
SharedDtor();
|
|
}
|
|
|
|
void SFesChangeMiPkg::SharedDtor() {
|
|
if (this != default_instance_) {
|
|
delete sthead_;
|
|
}
|
|
}
|
|
|
|
void SFesChangeMiPkg::SetCachedSize(int size) const {
|
|
GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
|
|
_cached_size_ = size;
|
|
GOOGLE_SAFE_CONCURRENT_WRITES_END();
|
|
}
|
|
const ::google::protobuf::Descriptor* SFesChangeMiPkg::descriptor() {
|
|
protobuf_AssignDescriptorsOnce();
|
|
return SFesChangeMiPkg_descriptor_;
|
|
}
|
|
|
|
const SFesChangeMiPkg& SFesChangeMiPkg::default_instance() {
|
|
if (default_instance_ == NULL) protobuf_AddDesc_FesMessage_2eproto();
|
|
return *default_instance_;
|
|
}
|
|
|
|
SFesChangeMiPkg* SFesChangeMiPkg::default_instance_ = NULL;
|
|
|
|
SFesChangeMiPkg* SFesChangeMiPkg::New() const {
|
|
return new SFesChangeMiPkg;
|
|
}
|
|
|
|
void SFesChangeMiPkg::Clear() {
|
|
if (has_sthead()) {
|
|
if (sthead_ != NULL) sthead_->::iot_idl::SFesRealPkgHead::Clear();
|
|
}
|
|
stmidata_.Clear();
|
|
::memset(_has_bits_, 0, sizeof(_has_bits_));
|
|
mutable_unknown_fields()->Clear();
|
|
}
|
|
|
|
bool SFesChangeMiPkg::MergePartialFromCodedStream(
|
|
::google::protobuf::io::CodedInputStream* input) {
|
|
#define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
|
|
::google::protobuf::uint32 tag;
|
|
// @@protoc_insertion_point(parse_start:iot_idl.SFesChangeMiPkg)
|
|
for (;;) {
|
|
::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
|
|
tag = p.first;
|
|
if (!p.second) goto handle_unusual;
|
|
switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
|
|
// required .iot_idl.SFesRealPkgHead stHead = 1;
|
|
case 1: {
|
|
if (tag == 10) {
|
|
DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
|
|
input, mutable_sthead()));
|
|
} else {
|
|
goto handle_unusual;
|
|
}
|
|
if (input->ExpectTag(18)) goto parse_stMiData;
|
|
break;
|
|
}
|
|
|
|
// repeated .iot_idl.SFesMiDataWithTm stMiData = 2;
|
|
case 2: {
|
|
if (tag == 18) {
|
|
parse_stMiData:
|
|
DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
|
|
input, add_stmidata()));
|
|
} else {
|
|
goto handle_unusual;
|
|
}
|
|
if (input->ExpectTag(18)) goto parse_stMiData;
|
|
if (input->ExpectAtEnd()) goto success;
|
|
break;
|
|
}
|
|
|
|
default: {
|
|
handle_unusual:
|
|
if (tag == 0 ||
|
|
::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
|
|
::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
|
|
goto success;
|
|
}
|
|
DO_(::google::protobuf::internal::WireFormat::SkipField(
|
|
input, tag, mutable_unknown_fields()));
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
success:
|
|
// @@protoc_insertion_point(parse_success:iot_idl.SFesChangeMiPkg)
|
|
return true;
|
|
failure:
|
|
// @@protoc_insertion_point(parse_failure:iot_idl.SFesChangeMiPkg)
|
|
return false;
|
|
#undef DO_
|
|
}
|
|
|
|
void SFesChangeMiPkg::SerializeWithCachedSizes(
|
|
::google::protobuf::io::CodedOutputStream* output) const {
|
|
// @@protoc_insertion_point(serialize_start:iot_idl.SFesChangeMiPkg)
|
|
// required .iot_idl.SFesRealPkgHead stHead = 1;
|
|
if (has_sthead()) {
|
|
::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
|
|
1, this->sthead(), output);
|
|
}
|
|
|
|
// repeated .iot_idl.SFesMiDataWithTm stMiData = 2;
|
|
for (int i = 0; i < this->stmidata_size(); i++) {
|
|
::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
|
|
2, this->stmidata(i), output);
|
|
}
|
|
|
|
if (!unknown_fields().empty()) {
|
|
::google::protobuf::internal::WireFormat::SerializeUnknownFields(
|
|
unknown_fields(), output);
|
|
}
|
|
// @@protoc_insertion_point(serialize_end:iot_idl.SFesChangeMiPkg)
|
|
}
|
|
|
|
::google::protobuf::uint8* SFesChangeMiPkg::SerializeWithCachedSizesToArray(
|
|
::google::protobuf::uint8* target) const {
|
|
// @@protoc_insertion_point(serialize_to_array_start:iot_idl.SFesChangeMiPkg)
|
|
// required .iot_idl.SFesRealPkgHead stHead = 1;
|
|
if (has_sthead()) {
|
|
target = ::google::protobuf::internal::WireFormatLite::
|
|
WriteMessageNoVirtualToArray(
|
|
1, this->sthead(), target);
|
|
}
|
|
|
|
// repeated .iot_idl.SFesMiDataWithTm stMiData = 2;
|
|
for (int i = 0; i < this->stmidata_size(); i++) {
|
|
target = ::google::protobuf::internal::WireFormatLite::
|
|
WriteMessageNoVirtualToArray(
|
|
2, this->stmidata(i), target);
|
|
}
|
|
|
|
if (!unknown_fields().empty()) {
|
|
target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
|
|
unknown_fields(), target);
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_end:iot_idl.SFesChangeMiPkg)
|
|
return target;
|
|
}
|
|
|
|
int SFesChangeMiPkg::ByteSize() const {
|
|
int total_size = 0;
|
|
|
|
if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
|
|
// required .iot_idl.SFesRealPkgHead stHead = 1;
|
|
if (has_sthead()) {
|
|
total_size += 1 +
|
|
::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
|
|
this->sthead());
|
|
}
|
|
|
|
}
|
|
// repeated .iot_idl.SFesMiDataWithTm stMiData = 2;
|
|
total_size += 1 * this->stmidata_size();
|
|
for (int i = 0; i < this->stmidata_size(); i++) {
|
|
total_size +=
|
|
::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
|
|
this->stmidata(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 SFesChangeMiPkg::MergeFrom(const ::google::protobuf::Message& from) {
|
|
GOOGLE_CHECK_NE(&from, this);
|
|
const SFesChangeMiPkg* source =
|
|
::google::protobuf::internal::dynamic_cast_if_available<const SFesChangeMiPkg*>(
|
|
&from);
|
|
if (source == NULL) {
|
|
::google::protobuf::internal::ReflectionOps::Merge(from, this);
|
|
} else {
|
|
MergeFrom(*source);
|
|
}
|
|
}
|
|
|
|
void SFesChangeMiPkg::MergeFrom(const SFesChangeMiPkg& from) {
|
|
GOOGLE_CHECK_NE(&from, this);
|
|
stmidata_.MergeFrom(from.stmidata_);
|
|
if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
|
|
if (from.has_sthead()) {
|
|
mutable_sthead()->::iot_idl::SFesRealPkgHead::MergeFrom(from.sthead());
|
|
}
|
|
}
|
|
mutable_unknown_fields()->MergeFrom(from.unknown_fields());
|
|
}
|
|
|
|
void SFesChangeMiPkg::CopyFrom(const ::google::protobuf::Message& from) {
|
|
if (&from == this) return;
|
|
Clear();
|
|
MergeFrom(from);
|
|
}
|
|
|
|
void SFesChangeMiPkg::CopyFrom(const SFesChangeMiPkg& from) {
|
|
if (&from == this) return;
|
|
Clear();
|
|
MergeFrom(from);
|
|
}
|
|
|
|
bool SFesChangeMiPkg::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->stmidata())) return false;
|
|
return true;
|
|
}
|
|
|
|
void SFesChangeMiPkg::Swap(SFesChangeMiPkg* other) {
|
|
if (other != this) {
|
|
std::swap(sthead_, other->sthead_);
|
|
stmidata_.Swap(&other->stmidata_);
|
|
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 SFesChangeMiPkg::GetMetadata() const {
|
|
protobuf_AssignDescriptorsOnce();
|
|
::google::protobuf::Metadata metadata;
|
|
metadata.descriptor = SFesChangeMiPkg_descriptor_;
|
|
metadata.reflection = SFesChangeMiPkg_reflection_;
|
|
return metadata;
|
|
}
|
|
|
|
|
|
// ===================================================================
|
|
|
|
#ifndef _MSC_VER
|
|
const int SFesUpdateMiPkg::kStHeadFieldNumber;
|
|
const int SFesUpdateMiPkg::kStMiDataFieldNumber;
|
|
const int SFesUpdateMiPkg::kUlTimeFieldNumber;
|
|
#endif // !_MSC_VER
|
|
|
|
SFesUpdateMiPkg::SFesUpdateMiPkg()
|
|
: ::google::protobuf::Message() {
|
|
SharedCtor();
|
|
// @@protoc_insertion_point(constructor:iot_idl.SFesUpdateMiPkg)
|
|
}
|
|
|
|
void SFesUpdateMiPkg::InitAsDefaultInstance() {
|
|
sthead_ = const_cast< ::iot_idl::SFesRealPkgHead*>(&::iot_idl::SFesRealPkgHead::default_instance());
|
|
}
|
|
|
|
SFesUpdateMiPkg::SFesUpdateMiPkg(const SFesUpdateMiPkg& from)
|
|
: ::google::protobuf::Message() {
|
|
SharedCtor();
|
|
MergeFrom(from);
|
|
// @@protoc_insertion_point(copy_constructor:iot_idl.SFesUpdateMiPkg)
|
|
}
|
|
|
|
void SFesUpdateMiPkg::SharedCtor() {
|
|
_cached_size_ = 0;
|
|
sthead_ = NULL;
|
|
ultime_ = GOOGLE_ULONGLONG(0);
|
|
::memset(_has_bits_, 0, sizeof(_has_bits_));
|
|
}
|
|
|
|
SFesUpdateMiPkg::~SFesUpdateMiPkg() {
|
|
// @@protoc_insertion_point(destructor:iot_idl.SFesUpdateMiPkg)
|
|
SharedDtor();
|
|
}
|
|
|
|
void SFesUpdateMiPkg::SharedDtor() {
|
|
if (this != default_instance_) {
|
|
delete sthead_;
|
|
}
|
|
}
|
|
|
|
void SFesUpdateMiPkg::SetCachedSize(int size) const {
|
|
GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
|
|
_cached_size_ = size;
|
|
GOOGLE_SAFE_CONCURRENT_WRITES_END();
|
|
}
|
|
const ::google::protobuf::Descriptor* SFesUpdateMiPkg::descriptor() {
|
|
protobuf_AssignDescriptorsOnce();
|
|
return SFesUpdateMiPkg_descriptor_;
|
|
}
|
|
|
|
const SFesUpdateMiPkg& SFesUpdateMiPkg::default_instance() {
|
|
if (default_instance_ == NULL) protobuf_AddDesc_FesMessage_2eproto();
|
|
return *default_instance_;
|
|
}
|
|
|
|
SFesUpdateMiPkg* SFesUpdateMiPkg::default_instance_ = NULL;
|
|
|
|
SFesUpdateMiPkg* SFesUpdateMiPkg::New() const {
|
|
return new SFesUpdateMiPkg;
|
|
}
|
|
|
|
void SFesUpdateMiPkg::Clear() {
|
|
if (_has_bits_[0 / 32] & 5) {
|
|
if (has_sthead()) {
|
|
if (sthead_ != NULL) sthead_->::iot_idl::SFesRealPkgHead::Clear();
|
|
}
|
|
ultime_ = GOOGLE_ULONGLONG(0);
|
|
}
|
|
stmidata_.Clear();
|
|
::memset(_has_bits_, 0, sizeof(_has_bits_));
|
|
mutable_unknown_fields()->Clear();
|
|
}
|
|
|
|
bool SFesUpdateMiPkg::MergePartialFromCodedStream(
|
|
::google::protobuf::io::CodedInputStream* input) {
|
|
#define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
|
|
::google::protobuf::uint32 tag;
|
|
// @@protoc_insertion_point(parse_start:iot_idl.SFesUpdateMiPkg)
|
|
for (;;) {
|
|
::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
|
|
tag = p.first;
|
|
if (!p.second) goto handle_unusual;
|
|
switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
|
|
// required .iot_idl.SFesRealPkgHead stHead = 1;
|
|
case 1: {
|
|
if (tag == 10) {
|
|
DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
|
|
input, mutable_sthead()));
|
|
} else {
|
|
goto handle_unusual;
|
|
}
|
|
if (input->ExpectTag(18)) goto parse_stMiData;
|
|
break;
|
|
}
|
|
|
|
// repeated .iot_idl.SFesMiDataWithoutTm stMiData = 2;
|
|
case 2: {
|
|
if (tag == 18) {
|
|
parse_stMiData:
|
|
DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
|
|
input, add_stmidata()));
|
|
} else {
|
|
goto handle_unusual;
|
|
}
|
|
if (input->ExpectTag(18)) goto parse_stMiData;
|
|
if (input->ExpectTag(24)) goto parse_ulTime;
|
|
break;
|
|
}
|
|
|
|
// required uint64 ulTime = 3;
|
|
case 3: {
|
|
if (tag == 24) {
|
|
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:
|
|
// @@protoc_insertion_point(parse_success:iot_idl.SFesUpdateMiPkg)
|
|
return true;
|
|
failure:
|
|
// @@protoc_insertion_point(parse_failure:iot_idl.SFesUpdateMiPkg)
|
|
return false;
|
|
#undef DO_
|
|
}
|
|
|
|
void SFesUpdateMiPkg::SerializeWithCachedSizes(
|
|
::google::protobuf::io::CodedOutputStream* output) const {
|
|
// @@protoc_insertion_point(serialize_start:iot_idl.SFesUpdateMiPkg)
|
|
// required .iot_idl.SFesRealPkgHead stHead = 1;
|
|
if (has_sthead()) {
|
|
::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
|
|
1, this->sthead(), output);
|
|
}
|
|
|
|
// repeated .iot_idl.SFesMiDataWithoutTm stMiData = 2;
|
|
for (int i = 0; i < this->stmidata_size(); i++) {
|
|
::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
|
|
2, this->stmidata(i), output);
|
|
}
|
|
|
|
// required uint64 ulTime = 3;
|
|
if (has_ultime()) {
|
|
::google::protobuf::internal::WireFormatLite::WriteUInt64(3, this->ultime(), output);
|
|
}
|
|
|
|
if (!unknown_fields().empty()) {
|
|
::google::protobuf::internal::WireFormat::SerializeUnknownFields(
|
|
unknown_fields(), output);
|
|
}
|
|
// @@protoc_insertion_point(serialize_end:iot_idl.SFesUpdateMiPkg)
|
|
}
|
|
|
|
::google::protobuf::uint8* SFesUpdateMiPkg::SerializeWithCachedSizesToArray(
|
|
::google::protobuf::uint8* target) const {
|
|
// @@protoc_insertion_point(serialize_to_array_start:iot_idl.SFesUpdateMiPkg)
|
|
// required .iot_idl.SFesRealPkgHead stHead = 1;
|
|
if (has_sthead()) {
|
|
target = ::google::protobuf::internal::WireFormatLite::
|
|
WriteMessageNoVirtualToArray(
|
|
1, this->sthead(), target);
|
|
}
|
|
|
|
// repeated .iot_idl.SFesMiDataWithoutTm stMiData = 2;
|
|
for (int i = 0; i < this->stmidata_size(); i++) {
|
|
target = ::google::protobuf::internal::WireFormatLite::
|
|
WriteMessageNoVirtualToArray(
|
|
2, this->stmidata(i), target);
|
|
}
|
|
|
|
// required uint64 ulTime = 3;
|
|
if (has_ultime()) {
|
|
target = ::google::protobuf::internal::WireFormatLite::WriteUInt64ToArray(3, this->ultime(), target);
|
|
}
|
|
|
|
if (!unknown_fields().empty()) {
|
|
target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
|
|
unknown_fields(), target);
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_end:iot_idl.SFesUpdateMiPkg)
|
|
return target;
|
|
}
|
|
|
|
int SFesUpdateMiPkg::ByteSize() const {
|
|
int total_size = 0;
|
|
|
|
if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
|
|
// required .iot_idl.SFesRealPkgHead stHead = 1;
|
|
if (has_sthead()) {
|
|
total_size += 1 +
|
|
::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
|
|
this->sthead());
|
|
}
|
|
|
|
// required uint64 ulTime = 3;
|
|
if (has_ultime()) {
|
|
total_size += 1 +
|
|
::google::protobuf::internal::WireFormatLite::UInt64Size(
|
|
this->ultime());
|
|
}
|
|
|
|
}
|
|
// repeated .iot_idl.SFesMiDataWithoutTm stMiData = 2;
|
|
total_size += 1 * this->stmidata_size();
|
|
for (int i = 0; i < this->stmidata_size(); i++) {
|
|
total_size +=
|
|
::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
|
|
this->stmidata(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 SFesUpdateMiPkg::MergeFrom(const ::google::protobuf::Message& from) {
|
|
GOOGLE_CHECK_NE(&from, this);
|
|
const SFesUpdateMiPkg* source =
|
|
::google::protobuf::internal::dynamic_cast_if_available<const SFesUpdateMiPkg*>(
|
|
&from);
|
|
if (source == NULL) {
|
|
::google::protobuf::internal::ReflectionOps::Merge(from, this);
|
|
} else {
|
|
MergeFrom(*source);
|
|
}
|
|
}
|
|
|
|
void SFesUpdateMiPkg::MergeFrom(const SFesUpdateMiPkg& from) {
|
|
GOOGLE_CHECK_NE(&from, this);
|
|
stmidata_.MergeFrom(from.stmidata_);
|
|
if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
|
|
if (from.has_sthead()) {
|
|
mutable_sthead()->::iot_idl::SFesRealPkgHead::MergeFrom(from.sthead());
|
|
}
|
|
if (from.has_ultime()) {
|
|
set_ultime(from.ultime());
|
|
}
|
|
}
|
|
mutable_unknown_fields()->MergeFrom(from.unknown_fields());
|
|
}
|
|
|
|
void SFesUpdateMiPkg::CopyFrom(const ::google::protobuf::Message& from) {
|
|
if (&from == this) return;
|
|
Clear();
|
|
MergeFrom(from);
|
|
}
|
|
|
|
void SFesUpdateMiPkg::CopyFrom(const SFesUpdateMiPkg& from) {
|
|
if (&from == this) return;
|
|
Clear();
|
|
MergeFrom(from);
|
|
}
|
|
|
|
bool SFesUpdateMiPkg::IsInitialized() const {
|
|
if ((_has_bits_[0] & 0x00000005) != 0x00000005) return false;
|
|
|
|
if (has_sthead()) {
|
|
if (!this->sthead().IsInitialized()) return false;
|
|
}
|
|
if (!::google::protobuf::internal::AllAreInitialized(this->stmidata())) return false;
|
|
return true;
|
|
}
|
|
|
|
void SFesUpdateMiPkg::Swap(SFesUpdateMiPkg* other) {
|
|
if (other != this) {
|
|
std::swap(sthead_, other->sthead_);
|
|
stmidata_.Swap(&other->stmidata_);
|
|
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 SFesUpdateMiPkg::GetMetadata() const {
|
|
protobuf_AssignDescriptorsOnce();
|
|
::google::protobuf::Metadata metadata;
|
|
metadata.descriptor = SFesUpdateMiPkg_descriptor_;
|
|
metadata.reflection = SFesUpdateMiPkg_reflection_;
|
|
return metadata;
|
|
}
|
|
|
|
|
|
// ===================================================================
|
|
|
|
#ifndef _MSC_VER
|
|
const int SFesDoRequestPkg::kStrSourceTagFieldNumber;
|
|
const int SFesDoRequestPkg::kStrAppTableNameFieldNumber;
|
|
const int SFesDoRequestPkg::kStrAppColumnNameFieldNumber;
|
|
const int SFesDoRequestPkg::kStrAppTagNameFieldNumber;
|
|
const int SFesDoRequestPkg::kStrRtuNameFieldNumber;
|
|
const int SFesDoRequestPkg::kNOrderFieldNumber;
|
|
const int SFesDoRequestPkg::kNActionFieldNumber;
|
|
const int SFesDoRequestPkg::kNIfTagtStateFieldNumber;
|
|
const int SFesDoRequestPkg::kLPara1FieldNumber;
|
|
const int SFesDoRequestPkg::kLPara2FieldNumber;
|
|
const int SFesDoRequestPkg::kFParaFieldNumber;
|
|
const int SFesDoRequestPkg::kStrParaFieldNumber;
|
|
const int SFesDoRequestPkg::kNCtrlTypeFieldNumber;
|
|
#endif // !_MSC_VER
|
|
|
|
SFesDoRequestPkg::SFesDoRequestPkg()
|
|
: ::google::protobuf::Message() {
|
|
SharedCtor();
|
|
// @@protoc_insertion_point(constructor:iot_idl.SFesDoRequestPkg)
|
|
}
|
|
|
|
void SFesDoRequestPkg::InitAsDefaultInstance() {
|
|
}
|
|
|
|
SFesDoRequestPkg::SFesDoRequestPkg(const SFesDoRequestPkg& from)
|
|
: ::google::protobuf::Message() {
|
|
SharedCtor();
|
|
MergeFrom(from);
|
|
// @@protoc_insertion_point(copy_constructor:iot_idl.SFesDoRequestPkg)
|
|
}
|
|
|
|
void SFesDoRequestPkg::SharedCtor() {
|
|
::google::protobuf::internal::GetEmptyString();
|
|
_cached_size_ = 0;
|
|
strsourcetag_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
strapptablename_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
strappcolumnname_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
strapptagname_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
strrtuname_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
norder_ = 0;
|
|
naction_ = 0;
|
|
niftagtstate_ = 0;
|
|
lpara1_ = GOOGLE_LONGLONG(0);
|
|
lpara2_ = GOOGLE_LONGLONG(0);
|
|
fpara_ = 0;
|
|
strpara_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
nctrltype_ = 0;
|
|
::memset(_has_bits_, 0, sizeof(_has_bits_));
|
|
}
|
|
|
|
SFesDoRequestPkg::~SFesDoRequestPkg() {
|
|
// @@protoc_insertion_point(destructor:iot_idl.SFesDoRequestPkg)
|
|
SharedDtor();
|
|
}
|
|
|
|
void SFesDoRequestPkg::SharedDtor() {
|
|
if (strsourcetag_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
|
|
delete strsourcetag_;
|
|
}
|
|
if (strapptablename_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
|
|
delete strapptablename_;
|
|
}
|
|
if (strappcolumnname_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
|
|
delete strappcolumnname_;
|
|
}
|
|
if (strapptagname_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
|
|
delete strapptagname_;
|
|
}
|
|
if (strrtuname_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
|
|
delete strrtuname_;
|
|
}
|
|
if (strpara_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
|
|
delete strpara_;
|
|
}
|
|
if (this != default_instance_) {
|
|
}
|
|
}
|
|
|
|
void SFesDoRequestPkg::SetCachedSize(int size) const {
|
|
GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
|
|
_cached_size_ = size;
|
|
GOOGLE_SAFE_CONCURRENT_WRITES_END();
|
|
}
|
|
const ::google::protobuf::Descriptor* SFesDoRequestPkg::descriptor() {
|
|
protobuf_AssignDescriptorsOnce();
|
|
return SFesDoRequestPkg_descriptor_;
|
|
}
|
|
|
|
const SFesDoRequestPkg& SFesDoRequestPkg::default_instance() {
|
|
if (default_instance_ == NULL) protobuf_AddDesc_FesMessage_2eproto();
|
|
return *default_instance_;
|
|
}
|
|
|
|
SFesDoRequestPkg* SFesDoRequestPkg::default_instance_ = NULL;
|
|
|
|
SFesDoRequestPkg* SFesDoRequestPkg::New() const {
|
|
return new SFesDoRequestPkg;
|
|
}
|
|
|
|
void SFesDoRequestPkg::Clear() {
|
|
#define OFFSET_OF_FIELD_(f) (reinterpret_cast<char*>( \
|
|
&reinterpret_cast<SFesDoRequestPkg*>(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_(norder_, naction_);
|
|
if (has_strsourcetag()) {
|
|
if (strsourcetag_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
|
|
strsourcetag_->clear();
|
|
}
|
|
}
|
|
if (has_strapptablename()) {
|
|
if (strapptablename_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
|
|
strapptablename_->clear();
|
|
}
|
|
}
|
|
if (has_strappcolumnname()) {
|
|
if (strappcolumnname_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
|
|
strappcolumnname_->clear();
|
|
}
|
|
}
|
|
if (has_strapptagname()) {
|
|
if (strapptagname_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
|
|
strapptagname_->clear();
|
|
}
|
|
}
|
|
if (has_strrtuname()) {
|
|
if (strrtuname_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
|
|
strrtuname_->clear();
|
|
}
|
|
}
|
|
niftagtstate_ = 0;
|
|
}
|
|
if (_has_bits_[8 / 32] & 7936) {
|
|
ZR_(fpara_, lpara2_);
|
|
lpara1_ = GOOGLE_LONGLONG(0);
|
|
if (has_strpara()) {
|
|
if (strpara_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
|
|
strpara_->clear();
|
|
}
|
|
}
|
|
nctrltype_ = 0;
|
|
}
|
|
|
|
#undef OFFSET_OF_FIELD_
|
|
#undef ZR_
|
|
|
|
::memset(_has_bits_, 0, sizeof(_has_bits_));
|
|
mutable_unknown_fields()->Clear();
|
|
}
|
|
|
|
bool SFesDoRequestPkg::MergePartialFromCodedStream(
|
|
::google::protobuf::io::CodedInputStream* input) {
|
|
#define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
|
|
::google::protobuf::uint32 tag;
|
|
// @@protoc_insertion_point(parse_start:iot_idl.SFesDoRequestPkg)
|
|
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 strSourceTag = 1;
|
|
case 1: {
|
|
if (tag == 10) {
|
|
DO_(::google::protobuf::internal::WireFormatLite::ReadString(
|
|
input, this->mutable_strsourcetag()));
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
|
|
this->strsourcetag().data(), this->strsourcetag().length(),
|
|
::google::protobuf::internal::WireFormat::PARSE,
|
|
"strsourcetag");
|
|
} else {
|
|
goto handle_unusual;
|
|
}
|
|
if (input->ExpectTag(18)) goto parse_strAppTableName;
|
|
break;
|
|
}
|
|
|
|
// required string strAppTableName = 2;
|
|
case 2: {
|
|
if (tag == 18) {
|
|
parse_strAppTableName:
|
|
DO_(::google::protobuf::internal::WireFormatLite::ReadString(
|
|
input, this->mutable_strapptablename()));
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
|
|
this->strapptablename().data(), this->strapptablename().length(),
|
|
::google::protobuf::internal::WireFormat::PARSE,
|
|
"strapptablename");
|
|
} else {
|
|
goto handle_unusual;
|
|
}
|
|
if (input->ExpectTag(26)) goto parse_strAppColumnName;
|
|
break;
|
|
}
|
|
|
|
// required string strAppColumnName = 3;
|
|
case 3: {
|
|
if (tag == 26) {
|
|
parse_strAppColumnName:
|
|
DO_(::google::protobuf::internal::WireFormatLite::ReadString(
|
|
input, this->mutable_strappcolumnname()));
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
|
|
this->strappcolumnname().data(), this->strappcolumnname().length(),
|
|
::google::protobuf::internal::WireFormat::PARSE,
|
|
"strappcolumnname");
|
|
} else {
|
|
goto handle_unusual;
|
|
}
|
|
if (input->ExpectTag(34)) goto parse_strAppTagName;
|
|
break;
|
|
}
|
|
|
|
// required string strAppTagName = 4;
|
|
case 4: {
|
|
if (tag == 34) {
|
|
parse_strAppTagName:
|
|
DO_(::google::protobuf::internal::WireFormatLite::ReadString(
|
|
input, this->mutable_strapptagname()));
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
|
|
this->strapptagname().data(), this->strapptagname().length(),
|
|
::google::protobuf::internal::WireFormat::PARSE,
|
|
"strapptagname");
|
|
} else {
|
|
goto handle_unusual;
|
|
}
|
|
if (input->ExpectTag(42)) goto parse_strRtuName;
|
|
break;
|
|
}
|
|
|
|
// required string strRtuName = 5;
|
|
case 5: {
|
|
if (tag == 42) {
|
|
parse_strRtuName:
|
|
DO_(::google::protobuf::internal::WireFormatLite::ReadString(
|
|
input, this->mutable_strrtuname()));
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
|
|
this->strrtuname().data(), this->strrtuname().length(),
|
|
::google::protobuf::internal::WireFormat::PARSE,
|
|
"strrtuname");
|
|
} else {
|
|
goto handle_unusual;
|
|
}
|
|
if (input->ExpectTag(48)) goto parse_nOrder;
|
|
break;
|
|
}
|
|
|
|
// required int32 nOrder = 6;
|
|
case 6: {
|
|
if (tag == 48) {
|
|
parse_nOrder:
|
|
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
|
|
::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
|
|
input, &norder_)));
|
|
set_has_norder();
|
|
} else {
|
|
goto handle_unusual;
|
|
}
|
|
if (input->ExpectTag(56)) goto parse_nAction;
|
|
break;
|
|
}
|
|
|
|
// required int32 nAction = 7;
|
|
case 7: {
|
|
if (tag == 56) {
|
|
parse_nAction:
|
|
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
|
|
::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
|
|
input, &naction_)));
|
|
set_has_naction();
|
|
} else {
|
|
goto handle_unusual;
|
|
}
|
|
if (input->ExpectTag(72)) goto parse_nIfTagtState;
|
|
break;
|
|
}
|
|
|
|
// required int32 nIfTagtState = 9;
|
|
case 9: {
|
|
if (tag == 72) {
|
|
parse_nIfTagtState:
|
|
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
|
|
::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
|
|
input, &niftagtstate_)));
|
|
set_has_niftagtstate();
|
|
} else {
|
|
goto handle_unusual;
|
|
}
|
|
if (input->ExpectTag(80)) goto parse_lPara1;
|
|
break;
|
|
}
|
|
|
|
// optional int64 lPara1 = 10;
|
|
case 10: {
|
|
if (tag == 80) {
|
|
parse_lPara1:
|
|
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
|
|
::google::protobuf::int64, ::google::protobuf::internal::WireFormatLite::TYPE_INT64>(
|
|
input, &lpara1_)));
|
|
set_has_lpara1();
|
|
} else {
|
|
goto handle_unusual;
|
|
}
|
|
if (input->ExpectTag(88)) goto parse_lPara2;
|
|
break;
|
|
}
|
|
|
|
// optional int64 lPara2 = 11;
|
|
case 11: {
|
|
if (tag == 88) {
|
|
parse_lPara2:
|
|
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
|
|
::google::protobuf::int64, ::google::protobuf::internal::WireFormatLite::TYPE_INT64>(
|
|
input, &lpara2_)));
|
|
set_has_lpara2();
|
|
} else {
|
|
goto handle_unusual;
|
|
}
|
|
if (input->ExpectTag(101)) goto parse_fPara;
|
|
break;
|
|
}
|
|
|
|
// optional float fPara = 12;
|
|
case 12: {
|
|
if (tag == 101) {
|
|
parse_fPara:
|
|
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
|
|
float, ::google::protobuf::internal::WireFormatLite::TYPE_FLOAT>(
|
|
input, &fpara_)));
|
|
set_has_fpara();
|
|
} else {
|
|
goto handle_unusual;
|
|
}
|
|
if (input->ExpectTag(106)) goto parse_strPara;
|
|
break;
|
|
}
|
|
|
|
// optional string strPara = 13;
|
|
case 13: {
|
|
if (tag == 106) {
|
|
parse_strPara:
|
|
DO_(::google::protobuf::internal::WireFormatLite::ReadString(
|
|
input, this->mutable_strpara()));
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
|
|
this->strpara().data(), this->strpara().length(),
|
|
::google::protobuf::internal::WireFormat::PARSE,
|
|
"strpara");
|
|
} else {
|
|
goto handle_unusual;
|
|
}
|
|
if (input->ExpectTag(112)) goto parse_nCtrlType;
|
|
break;
|
|
}
|
|
|
|
// required int32 nCtrlType = 14;
|
|
case 14: {
|
|
if (tag == 112) {
|
|
parse_nCtrlType:
|
|
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
|
|
::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
|
|
input, &nctrltype_)));
|
|
set_has_nctrltype();
|
|
} else {
|
|
goto handle_unusual;
|
|
}
|
|
if (input->ExpectAtEnd()) goto success;
|
|
break;
|
|
}
|
|
|
|
default: {
|
|
handle_unusual:
|
|
if (tag == 0 ||
|
|
::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
|
|
::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
|
|
goto success;
|
|
}
|
|
DO_(::google::protobuf::internal::WireFormat::SkipField(
|
|
input, tag, mutable_unknown_fields()));
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
success:
|
|
// @@protoc_insertion_point(parse_success:iot_idl.SFesDoRequestPkg)
|
|
return true;
|
|
failure:
|
|
// @@protoc_insertion_point(parse_failure:iot_idl.SFesDoRequestPkg)
|
|
return false;
|
|
#undef DO_
|
|
}
|
|
|
|
void SFesDoRequestPkg::SerializeWithCachedSizes(
|
|
::google::protobuf::io::CodedOutputStream* output) const {
|
|
// @@protoc_insertion_point(serialize_start:iot_idl.SFesDoRequestPkg)
|
|
// required string strSourceTag = 1;
|
|
if (has_strsourcetag()) {
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
|
|
this->strsourcetag().data(), this->strsourcetag().length(),
|
|
::google::protobuf::internal::WireFormat::SERIALIZE,
|
|
"strsourcetag");
|
|
::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
|
|
1, this->strsourcetag(), output);
|
|
}
|
|
|
|
// required string strAppTableName = 2;
|
|
if (has_strapptablename()) {
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
|
|
this->strapptablename().data(), this->strapptablename().length(),
|
|
::google::protobuf::internal::WireFormat::SERIALIZE,
|
|
"strapptablename");
|
|
::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
|
|
2, this->strapptablename(), output);
|
|
}
|
|
|
|
// required string strAppColumnName = 3;
|
|
if (has_strappcolumnname()) {
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
|
|
this->strappcolumnname().data(), this->strappcolumnname().length(),
|
|
::google::protobuf::internal::WireFormat::SERIALIZE,
|
|
"strappcolumnname");
|
|
::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
|
|
3, this->strappcolumnname(), output);
|
|
}
|
|
|
|
// required string strAppTagName = 4;
|
|
if (has_strapptagname()) {
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
|
|
this->strapptagname().data(), this->strapptagname().length(),
|
|
::google::protobuf::internal::WireFormat::SERIALIZE,
|
|
"strapptagname");
|
|
::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
|
|
4, this->strapptagname(), output);
|
|
}
|
|
|
|
// required string strRtuName = 5;
|
|
if (has_strrtuname()) {
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
|
|
this->strrtuname().data(), this->strrtuname().length(),
|
|
::google::protobuf::internal::WireFormat::SERIALIZE,
|
|
"strrtuname");
|
|
::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
|
|
5, this->strrtuname(), output);
|
|
}
|
|
|
|
// required int32 nOrder = 6;
|
|
if (has_norder()) {
|
|
::google::protobuf::internal::WireFormatLite::WriteInt32(6, this->norder(), output);
|
|
}
|
|
|
|
// required int32 nAction = 7;
|
|
if (has_naction()) {
|
|
::google::protobuf::internal::WireFormatLite::WriteInt32(7, this->naction(), output);
|
|
}
|
|
|
|
// required int32 nIfTagtState = 9;
|
|
if (has_niftagtstate()) {
|
|
::google::protobuf::internal::WireFormatLite::WriteInt32(9, this->niftagtstate(), output);
|
|
}
|
|
|
|
// optional int64 lPara1 = 10;
|
|
if (has_lpara1()) {
|
|
::google::protobuf::internal::WireFormatLite::WriteInt64(10, this->lpara1(), output);
|
|
}
|
|
|
|
// optional int64 lPara2 = 11;
|
|
if (has_lpara2()) {
|
|
::google::protobuf::internal::WireFormatLite::WriteInt64(11, this->lpara2(), output);
|
|
}
|
|
|
|
// optional float fPara = 12;
|
|
if (has_fpara()) {
|
|
::google::protobuf::internal::WireFormatLite::WriteFloat(12, this->fpara(), output);
|
|
}
|
|
|
|
// optional string strPara = 13;
|
|
if (has_strpara()) {
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
|
|
this->strpara().data(), this->strpara().length(),
|
|
::google::protobuf::internal::WireFormat::SERIALIZE,
|
|
"strpara");
|
|
::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
|
|
13, this->strpara(), output);
|
|
}
|
|
|
|
// required int32 nCtrlType = 14;
|
|
if (has_nctrltype()) {
|
|
::google::protobuf::internal::WireFormatLite::WriteInt32(14, this->nctrltype(), output);
|
|
}
|
|
|
|
if (!unknown_fields().empty()) {
|
|
::google::protobuf::internal::WireFormat::SerializeUnknownFields(
|
|
unknown_fields(), output);
|
|
}
|
|
// @@protoc_insertion_point(serialize_end:iot_idl.SFesDoRequestPkg)
|
|
}
|
|
|
|
::google::protobuf::uint8* SFesDoRequestPkg::SerializeWithCachedSizesToArray(
|
|
::google::protobuf::uint8* target) const {
|
|
// @@protoc_insertion_point(serialize_to_array_start:iot_idl.SFesDoRequestPkg)
|
|
// required string strSourceTag = 1;
|
|
if (has_strsourcetag()) {
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
|
|
this->strsourcetag().data(), this->strsourcetag().length(),
|
|
::google::protobuf::internal::WireFormat::SERIALIZE,
|
|
"strsourcetag");
|
|
target =
|
|
::google::protobuf::internal::WireFormatLite::WriteStringToArray(
|
|
1, this->strsourcetag(), target);
|
|
}
|
|
|
|
// required string strAppTableName = 2;
|
|
if (has_strapptablename()) {
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
|
|
this->strapptablename().data(), this->strapptablename().length(),
|
|
::google::protobuf::internal::WireFormat::SERIALIZE,
|
|
"strapptablename");
|
|
target =
|
|
::google::protobuf::internal::WireFormatLite::WriteStringToArray(
|
|
2, this->strapptablename(), target);
|
|
}
|
|
|
|
// required string strAppColumnName = 3;
|
|
if (has_strappcolumnname()) {
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
|
|
this->strappcolumnname().data(), this->strappcolumnname().length(),
|
|
::google::protobuf::internal::WireFormat::SERIALIZE,
|
|
"strappcolumnname");
|
|
target =
|
|
::google::protobuf::internal::WireFormatLite::WriteStringToArray(
|
|
3, this->strappcolumnname(), target);
|
|
}
|
|
|
|
// required string strAppTagName = 4;
|
|
if (has_strapptagname()) {
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
|
|
this->strapptagname().data(), this->strapptagname().length(),
|
|
::google::protobuf::internal::WireFormat::SERIALIZE,
|
|
"strapptagname");
|
|
target =
|
|
::google::protobuf::internal::WireFormatLite::WriteStringToArray(
|
|
4, this->strapptagname(), target);
|
|
}
|
|
|
|
// required string strRtuName = 5;
|
|
if (has_strrtuname()) {
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
|
|
this->strrtuname().data(), this->strrtuname().length(),
|
|
::google::protobuf::internal::WireFormat::SERIALIZE,
|
|
"strrtuname");
|
|
target =
|
|
::google::protobuf::internal::WireFormatLite::WriteStringToArray(
|
|
5, this->strrtuname(), target);
|
|
}
|
|
|
|
// required int32 nOrder = 6;
|
|
if (has_norder()) {
|
|
target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(6, this->norder(), target);
|
|
}
|
|
|
|
// required int32 nAction = 7;
|
|
if (has_naction()) {
|
|
target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(7, this->naction(), target);
|
|
}
|
|
|
|
// required int32 nIfTagtState = 9;
|
|
if (has_niftagtstate()) {
|
|
target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(9, this->niftagtstate(), target);
|
|
}
|
|
|
|
// optional int64 lPara1 = 10;
|
|
if (has_lpara1()) {
|
|
target = ::google::protobuf::internal::WireFormatLite::WriteInt64ToArray(10, this->lpara1(), target);
|
|
}
|
|
|
|
// optional int64 lPara2 = 11;
|
|
if (has_lpara2()) {
|
|
target = ::google::protobuf::internal::WireFormatLite::WriteInt64ToArray(11, this->lpara2(), target);
|
|
}
|
|
|
|
// optional float fPara = 12;
|
|
if (has_fpara()) {
|
|
target = ::google::protobuf::internal::WireFormatLite::WriteFloatToArray(12, this->fpara(), target);
|
|
}
|
|
|
|
// optional string strPara = 13;
|
|
if (has_strpara()) {
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
|
|
this->strpara().data(), this->strpara().length(),
|
|
::google::protobuf::internal::WireFormat::SERIALIZE,
|
|
"strpara");
|
|
target =
|
|
::google::protobuf::internal::WireFormatLite::WriteStringToArray(
|
|
13, this->strpara(), target);
|
|
}
|
|
|
|
// required int32 nCtrlType = 14;
|
|
if (has_nctrltype()) {
|
|
target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(14, this->nctrltype(), target);
|
|
}
|
|
|
|
if (!unknown_fields().empty()) {
|
|
target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
|
|
unknown_fields(), target);
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_end:iot_idl.SFesDoRequestPkg)
|
|
return target;
|
|
}
|
|
|
|
int SFesDoRequestPkg::ByteSize() const {
|
|
int total_size = 0;
|
|
|
|
if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
|
|
// required string strSourceTag = 1;
|
|
if (has_strsourcetag()) {
|
|
total_size += 1 +
|
|
::google::protobuf::internal::WireFormatLite::StringSize(
|
|
this->strsourcetag());
|
|
}
|
|
|
|
// required string strAppTableName = 2;
|
|
if (has_strapptablename()) {
|
|
total_size += 1 +
|
|
::google::protobuf::internal::WireFormatLite::StringSize(
|
|
this->strapptablename());
|
|
}
|
|
|
|
// required string strAppColumnName = 3;
|
|
if (has_strappcolumnname()) {
|
|
total_size += 1 +
|
|
::google::protobuf::internal::WireFormatLite::StringSize(
|
|
this->strappcolumnname());
|
|
}
|
|
|
|
// required string strAppTagName = 4;
|
|
if (has_strapptagname()) {
|
|
total_size += 1 +
|
|
::google::protobuf::internal::WireFormatLite::StringSize(
|
|
this->strapptagname());
|
|
}
|
|
|
|
// required string strRtuName = 5;
|
|
if (has_strrtuname()) {
|
|
total_size += 1 +
|
|
::google::protobuf::internal::WireFormatLite::StringSize(
|
|
this->strrtuname());
|
|
}
|
|
|
|
// required int32 nOrder = 6;
|
|
if (has_norder()) {
|
|
total_size += 1 +
|
|
::google::protobuf::internal::WireFormatLite::Int32Size(
|
|
this->norder());
|
|
}
|
|
|
|
// required int32 nAction = 7;
|
|
if (has_naction()) {
|
|
total_size += 1 +
|
|
::google::protobuf::internal::WireFormatLite::Int32Size(
|
|
this->naction());
|
|
}
|
|
|
|
// required int32 nIfTagtState = 9;
|
|
if (has_niftagtstate()) {
|
|
total_size += 1 +
|
|
::google::protobuf::internal::WireFormatLite::Int32Size(
|
|
this->niftagtstate());
|
|
}
|
|
|
|
}
|
|
if (_has_bits_[8 / 32] & (0xffu << (8 % 32))) {
|
|
// optional int64 lPara1 = 10;
|
|
if (has_lpara1()) {
|
|
total_size += 1 +
|
|
::google::protobuf::internal::WireFormatLite::Int64Size(
|
|
this->lpara1());
|
|
}
|
|
|
|
// optional int64 lPara2 = 11;
|
|
if (has_lpara2()) {
|
|
total_size += 1 +
|
|
::google::protobuf::internal::WireFormatLite::Int64Size(
|
|
this->lpara2());
|
|
}
|
|
|
|
// optional float fPara = 12;
|
|
if (has_fpara()) {
|
|
total_size += 1 + 4;
|
|
}
|
|
|
|
// optional string strPara = 13;
|
|
if (has_strpara()) {
|
|
total_size += 1 +
|
|
::google::protobuf::internal::WireFormatLite::StringSize(
|
|
this->strpara());
|
|
}
|
|
|
|
// required int32 nCtrlType = 14;
|
|
if (has_nctrltype()) {
|
|
total_size += 1 +
|
|
::google::protobuf::internal::WireFormatLite::Int32Size(
|
|
this->nctrltype());
|
|
}
|
|
|
|
}
|
|
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 SFesDoRequestPkg::MergeFrom(const ::google::protobuf::Message& from) {
|
|
GOOGLE_CHECK_NE(&from, this);
|
|
const SFesDoRequestPkg* source =
|
|
::google::protobuf::internal::dynamic_cast_if_available<const SFesDoRequestPkg*>(
|
|
&from);
|
|
if (source == NULL) {
|
|
::google::protobuf::internal::ReflectionOps::Merge(from, this);
|
|
} else {
|
|
MergeFrom(*source);
|
|
}
|
|
}
|
|
|
|
void SFesDoRequestPkg::MergeFrom(const SFesDoRequestPkg& from) {
|
|
GOOGLE_CHECK_NE(&from, this);
|
|
if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
|
|
if (from.has_strsourcetag()) {
|
|
set_strsourcetag(from.strsourcetag());
|
|
}
|
|
if (from.has_strapptablename()) {
|
|
set_strapptablename(from.strapptablename());
|
|
}
|
|
if (from.has_strappcolumnname()) {
|
|
set_strappcolumnname(from.strappcolumnname());
|
|
}
|
|
if (from.has_strapptagname()) {
|
|
set_strapptagname(from.strapptagname());
|
|
}
|
|
if (from.has_strrtuname()) {
|
|
set_strrtuname(from.strrtuname());
|
|
}
|
|
if (from.has_norder()) {
|
|
set_norder(from.norder());
|
|
}
|
|
if (from.has_naction()) {
|
|
set_naction(from.naction());
|
|
}
|
|
if (from.has_niftagtstate()) {
|
|
set_niftagtstate(from.niftagtstate());
|
|
}
|
|
}
|
|
if (from._has_bits_[8 / 32] & (0xffu << (8 % 32))) {
|
|
if (from.has_lpara1()) {
|
|
set_lpara1(from.lpara1());
|
|
}
|
|
if (from.has_lpara2()) {
|
|
set_lpara2(from.lpara2());
|
|
}
|
|
if (from.has_fpara()) {
|
|
set_fpara(from.fpara());
|
|
}
|
|
if (from.has_strpara()) {
|
|
set_strpara(from.strpara());
|
|
}
|
|
if (from.has_nctrltype()) {
|
|
set_nctrltype(from.nctrltype());
|
|
}
|
|
}
|
|
mutable_unknown_fields()->MergeFrom(from.unknown_fields());
|
|
}
|
|
|
|
void SFesDoRequestPkg::CopyFrom(const ::google::protobuf::Message& from) {
|
|
if (&from == this) return;
|
|
Clear();
|
|
MergeFrom(from);
|
|
}
|
|
|
|
void SFesDoRequestPkg::CopyFrom(const SFesDoRequestPkg& from) {
|
|
if (&from == this) return;
|
|
Clear();
|
|
MergeFrom(from);
|
|
}
|
|
|
|
bool SFesDoRequestPkg::IsInitialized() const {
|
|
if ((_has_bits_[0] & 0x000010ff) != 0x000010ff) return false;
|
|
|
|
return true;
|
|
}
|
|
|
|
void SFesDoRequestPkg::Swap(SFesDoRequestPkg* other) {
|
|
if (other != this) {
|
|
std::swap(strsourcetag_, other->strsourcetag_);
|
|
std::swap(strapptablename_, other->strapptablename_);
|
|
std::swap(strappcolumnname_, other->strappcolumnname_);
|
|
std::swap(strapptagname_, other->strapptagname_);
|
|
std::swap(strrtuname_, other->strrtuname_);
|
|
std::swap(norder_, other->norder_);
|
|
std::swap(naction_, other->naction_);
|
|
std::swap(niftagtstate_, other->niftagtstate_);
|
|
std::swap(lpara1_, other->lpara1_);
|
|
std::swap(lpara2_, other->lpara2_);
|
|
std::swap(fpara_, other->fpara_);
|
|
std::swap(strpara_, other->strpara_);
|
|
std::swap(nctrltype_, other->nctrltype_);
|
|
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 SFesDoRequestPkg::GetMetadata() const {
|
|
protobuf_AssignDescriptorsOnce();
|
|
::google::protobuf::Metadata metadata;
|
|
metadata.descriptor = SFesDoRequestPkg_descriptor_;
|
|
metadata.reflection = SFesDoRequestPkg_reflection_;
|
|
return metadata;
|
|
}
|
|
|
|
|
|
// ===================================================================
|
|
|
|
#ifndef _MSC_VER
|
|
const int SFesAoRequestPkg::kStrSourceTagFieldNumber;
|
|
const int SFesAoRequestPkg::kStrAppTableNameFieldNumber;
|
|
const int SFesAoRequestPkg::kStrAppColumnNameFieldNumber;
|
|
const int SFesAoRequestPkg::kStrAppTagNameFieldNumber;
|
|
const int SFesAoRequestPkg::kStrRtuNameFieldNumber;
|
|
const int SFesAoRequestPkg::kNOrderFieldNumber;
|
|
const int SFesAoRequestPkg::kFValueFieldNumber;
|
|
const int SFesAoRequestPkg::kNCtrlTypeFieldNumber;
|
|
const int SFesAoRequestPkg::kNIfTagtStateFieldNumber;
|
|
const int SFesAoRequestPkg::kLPara1FieldNumber;
|
|
const int SFesAoRequestPkg::kLPara2FieldNumber;
|
|
const int SFesAoRequestPkg::kFParaFieldNumber;
|
|
const int SFesAoRequestPkg::kStrParaFieldNumber;
|
|
#endif // !_MSC_VER
|
|
|
|
SFesAoRequestPkg::SFesAoRequestPkg()
|
|
: ::google::protobuf::Message() {
|
|
SharedCtor();
|
|
// @@protoc_insertion_point(constructor:iot_idl.SFesAoRequestPkg)
|
|
}
|
|
|
|
void SFesAoRequestPkg::InitAsDefaultInstance() {
|
|
}
|
|
|
|
SFesAoRequestPkg::SFesAoRequestPkg(const SFesAoRequestPkg& from)
|
|
: ::google::protobuf::Message() {
|
|
SharedCtor();
|
|
MergeFrom(from);
|
|
// @@protoc_insertion_point(copy_constructor:iot_idl.SFesAoRequestPkg)
|
|
}
|
|
|
|
void SFesAoRequestPkg::SharedCtor() {
|
|
::google::protobuf::internal::GetEmptyString();
|
|
_cached_size_ = 0;
|
|
strsourcetag_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
strapptablename_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
strappcolumnname_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
strapptagname_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
strrtuname_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
norder_ = 0;
|
|
fvalue_ = 0;
|
|
nctrltype_ = 0;
|
|
niftagtstate_ = 0;
|
|
lpara1_ = GOOGLE_LONGLONG(0);
|
|
lpara2_ = GOOGLE_LONGLONG(0);
|
|
fpara_ = 0;
|
|
strpara_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
::memset(_has_bits_, 0, sizeof(_has_bits_));
|
|
}
|
|
|
|
SFesAoRequestPkg::~SFesAoRequestPkg() {
|
|
// @@protoc_insertion_point(destructor:iot_idl.SFesAoRequestPkg)
|
|
SharedDtor();
|
|
}
|
|
|
|
void SFesAoRequestPkg::SharedDtor() {
|
|
if (strsourcetag_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
|
|
delete strsourcetag_;
|
|
}
|
|
if (strapptablename_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
|
|
delete strapptablename_;
|
|
}
|
|
if (strappcolumnname_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
|
|
delete strappcolumnname_;
|
|
}
|
|
if (strapptagname_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
|
|
delete strapptagname_;
|
|
}
|
|
if (strrtuname_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
|
|
delete strrtuname_;
|
|
}
|
|
if (strpara_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
|
|
delete strpara_;
|
|
}
|
|
if (this != default_instance_) {
|
|
}
|
|
}
|
|
|
|
void SFesAoRequestPkg::SetCachedSize(int size) const {
|
|
GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
|
|
_cached_size_ = size;
|
|
GOOGLE_SAFE_CONCURRENT_WRITES_END();
|
|
}
|
|
const ::google::protobuf::Descriptor* SFesAoRequestPkg::descriptor() {
|
|
protobuf_AssignDescriptorsOnce();
|
|
return SFesAoRequestPkg_descriptor_;
|
|
}
|
|
|
|
const SFesAoRequestPkg& SFesAoRequestPkg::default_instance() {
|
|
if (default_instance_ == NULL) protobuf_AddDesc_FesMessage_2eproto();
|
|
return *default_instance_;
|
|
}
|
|
|
|
SFesAoRequestPkg* SFesAoRequestPkg::default_instance_ = NULL;
|
|
|
|
SFesAoRequestPkg* SFesAoRequestPkg::New() const {
|
|
return new SFesAoRequestPkg;
|
|
}
|
|
|
|
void SFesAoRequestPkg::Clear() {
|
|
#define OFFSET_OF_FIELD_(f) (reinterpret_cast<char*>( \
|
|
&reinterpret_cast<SFesAoRequestPkg*>(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_(norder_, nctrltype_);
|
|
if (has_strsourcetag()) {
|
|
if (strsourcetag_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
|
|
strsourcetag_->clear();
|
|
}
|
|
}
|
|
if (has_strapptablename()) {
|
|
if (strapptablename_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
|
|
strapptablename_->clear();
|
|
}
|
|
}
|
|
if (has_strappcolumnname()) {
|
|
if (strappcolumnname_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
|
|
strappcolumnname_->clear();
|
|
}
|
|
}
|
|
if (has_strapptagname()) {
|
|
if (strapptagname_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
|
|
strapptagname_->clear();
|
|
}
|
|
}
|
|
if (has_strrtuname()) {
|
|
if (strrtuname_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
|
|
strrtuname_->clear();
|
|
}
|
|
}
|
|
}
|
|
if (_has_bits_[8 / 32] & 7936) {
|
|
ZR_(niftagtstate_, lpara2_);
|
|
fpara_ = 0;
|
|
if (has_strpara()) {
|
|
if (strpara_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
|
|
strpara_->clear();
|
|
}
|
|
}
|
|
}
|
|
|
|
#undef OFFSET_OF_FIELD_
|
|
#undef ZR_
|
|
|
|
::memset(_has_bits_, 0, sizeof(_has_bits_));
|
|
mutable_unknown_fields()->Clear();
|
|
}
|
|
|
|
bool SFesAoRequestPkg::MergePartialFromCodedStream(
|
|
::google::protobuf::io::CodedInputStream* input) {
|
|
#define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
|
|
::google::protobuf::uint32 tag;
|
|
// @@protoc_insertion_point(parse_start:iot_idl.SFesAoRequestPkg)
|
|
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 strSourceTag = 1;
|
|
case 1: {
|
|
if (tag == 10) {
|
|
DO_(::google::protobuf::internal::WireFormatLite::ReadString(
|
|
input, this->mutable_strsourcetag()));
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
|
|
this->strsourcetag().data(), this->strsourcetag().length(),
|
|
::google::protobuf::internal::WireFormat::PARSE,
|
|
"strsourcetag");
|
|
} else {
|
|
goto handle_unusual;
|
|
}
|
|
if (input->ExpectTag(18)) goto parse_strAppTableName;
|
|
break;
|
|
}
|
|
|
|
// required string strAppTableName = 2;
|
|
case 2: {
|
|
if (tag == 18) {
|
|
parse_strAppTableName:
|
|
DO_(::google::protobuf::internal::WireFormatLite::ReadString(
|
|
input, this->mutable_strapptablename()));
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
|
|
this->strapptablename().data(), this->strapptablename().length(),
|
|
::google::protobuf::internal::WireFormat::PARSE,
|
|
"strapptablename");
|
|
} else {
|
|
goto handle_unusual;
|
|
}
|
|
if (input->ExpectTag(26)) goto parse_strAppColumnName;
|
|
break;
|
|
}
|
|
|
|
// required string strAppColumnName = 3;
|
|
case 3: {
|
|
if (tag == 26) {
|
|
parse_strAppColumnName:
|
|
DO_(::google::protobuf::internal::WireFormatLite::ReadString(
|
|
input, this->mutable_strappcolumnname()));
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
|
|
this->strappcolumnname().data(), this->strappcolumnname().length(),
|
|
::google::protobuf::internal::WireFormat::PARSE,
|
|
"strappcolumnname");
|
|
} else {
|
|
goto handle_unusual;
|
|
}
|
|
if (input->ExpectTag(34)) goto parse_strAppTagName;
|
|
break;
|
|
}
|
|
|
|
// required string strAppTagName = 4;
|
|
case 4: {
|
|
if (tag == 34) {
|
|
parse_strAppTagName:
|
|
DO_(::google::protobuf::internal::WireFormatLite::ReadString(
|
|
input, this->mutable_strapptagname()));
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
|
|
this->strapptagname().data(), this->strapptagname().length(),
|
|
::google::protobuf::internal::WireFormat::PARSE,
|
|
"strapptagname");
|
|
} else {
|
|
goto handle_unusual;
|
|
}
|
|
if (input->ExpectTag(42)) goto parse_strRtuName;
|
|
break;
|
|
}
|
|
|
|
// required string strRtuName = 5;
|
|
case 5: {
|
|
if (tag == 42) {
|
|
parse_strRtuName:
|
|
DO_(::google::protobuf::internal::WireFormatLite::ReadString(
|
|
input, this->mutable_strrtuname()));
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
|
|
this->strrtuname().data(), this->strrtuname().length(),
|
|
::google::protobuf::internal::WireFormat::PARSE,
|
|
"strrtuname");
|
|
} else {
|
|
goto handle_unusual;
|
|
}
|
|
if (input->ExpectTag(48)) goto parse_nOrder;
|
|
break;
|
|
}
|
|
|
|
// required int32 nOrder = 6;
|
|
case 6: {
|
|
if (tag == 48) {
|
|
parse_nOrder:
|
|
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
|
|
::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
|
|
input, &norder_)));
|
|
set_has_norder();
|
|
} else {
|
|
goto handle_unusual;
|
|
}
|
|
if (input->ExpectTag(61)) goto parse_fValue;
|
|
break;
|
|
}
|
|
|
|
// required float fValue = 7;
|
|
case 7: {
|
|
if (tag == 61) {
|
|
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(64)) goto parse_nCtrlType;
|
|
break;
|
|
}
|
|
|
|
// required int32 nCtrlType = 8;
|
|
case 8: {
|
|
if (tag == 64) {
|
|
parse_nCtrlType:
|
|
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
|
|
::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
|
|
input, &nctrltype_)));
|
|
set_has_nctrltype();
|
|
} else {
|
|
goto handle_unusual;
|
|
}
|
|
if (input->ExpectTag(72)) goto parse_nIfTagtState;
|
|
break;
|
|
}
|
|
|
|
// required int32 nIfTagtState = 9;
|
|
case 9: {
|
|
if (tag == 72) {
|
|
parse_nIfTagtState:
|
|
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
|
|
::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
|
|
input, &niftagtstate_)));
|
|
set_has_niftagtstate();
|
|
} else {
|
|
goto handle_unusual;
|
|
}
|
|
if (input->ExpectTag(80)) goto parse_lPara1;
|
|
break;
|
|
}
|
|
|
|
// optional int64 lPara1 = 10;
|
|
case 10: {
|
|
if (tag == 80) {
|
|
parse_lPara1:
|
|
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
|
|
::google::protobuf::int64, ::google::protobuf::internal::WireFormatLite::TYPE_INT64>(
|
|
input, &lpara1_)));
|
|
set_has_lpara1();
|
|
} else {
|
|
goto handle_unusual;
|
|
}
|
|
if (input->ExpectTag(88)) goto parse_lPara2;
|
|
break;
|
|
}
|
|
|
|
// optional int64 lPara2 = 11;
|
|
case 11: {
|
|
if (tag == 88) {
|
|
parse_lPara2:
|
|
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
|
|
::google::protobuf::int64, ::google::protobuf::internal::WireFormatLite::TYPE_INT64>(
|
|
input, &lpara2_)));
|
|
set_has_lpara2();
|
|
} else {
|
|
goto handle_unusual;
|
|
}
|
|
if (input->ExpectTag(101)) goto parse_fPara;
|
|
break;
|
|
}
|
|
|
|
// optional float fPara = 12;
|
|
case 12: {
|
|
if (tag == 101) {
|
|
parse_fPara:
|
|
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
|
|
float, ::google::protobuf::internal::WireFormatLite::TYPE_FLOAT>(
|
|
input, &fpara_)));
|
|
set_has_fpara();
|
|
} else {
|
|
goto handle_unusual;
|
|
}
|
|
if (input->ExpectTag(106)) goto parse_strPara;
|
|
break;
|
|
}
|
|
|
|
// optional string strPara = 13;
|
|
case 13: {
|
|
if (tag == 106) {
|
|
parse_strPara:
|
|
DO_(::google::protobuf::internal::WireFormatLite::ReadString(
|
|
input, this->mutable_strpara()));
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
|
|
this->strpara().data(), this->strpara().length(),
|
|
::google::protobuf::internal::WireFormat::PARSE,
|
|
"strpara");
|
|
} else {
|
|
goto handle_unusual;
|
|
}
|
|
if (input->ExpectAtEnd()) goto success;
|
|
break;
|
|
}
|
|
|
|
default: {
|
|
handle_unusual:
|
|
if (tag == 0 ||
|
|
::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
|
|
::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
|
|
goto success;
|
|
}
|
|
DO_(::google::protobuf::internal::WireFormat::SkipField(
|
|
input, tag, mutable_unknown_fields()));
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
success:
|
|
// @@protoc_insertion_point(parse_success:iot_idl.SFesAoRequestPkg)
|
|
return true;
|
|
failure:
|
|
// @@protoc_insertion_point(parse_failure:iot_idl.SFesAoRequestPkg)
|
|
return false;
|
|
#undef DO_
|
|
}
|
|
|
|
void SFesAoRequestPkg::SerializeWithCachedSizes(
|
|
::google::protobuf::io::CodedOutputStream* output) const {
|
|
// @@protoc_insertion_point(serialize_start:iot_idl.SFesAoRequestPkg)
|
|
// required string strSourceTag = 1;
|
|
if (has_strsourcetag()) {
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
|
|
this->strsourcetag().data(), this->strsourcetag().length(),
|
|
::google::protobuf::internal::WireFormat::SERIALIZE,
|
|
"strsourcetag");
|
|
::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
|
|
1, this->strsourcetag(), output);
|
|
}
|
|
|
|
// required string strAppTableName = 2;
|
|
if (has_strapptablename()) {
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
|
|
this->strapptablename().data(), this->strapptablename().length(),
|
|
::google::protobuf::internal::WireFormat::SERIALIZE,
|
|
"strapptablename");
|
|
::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
|
|
2, this->strapptablename(), output);
|
|
}
|
|
|
|
// required string strAppColumnName = 3;
|
|
if (has_strappcolumnname()) {
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
|
|
this->strappcolumnname().data(), this->strappcolumnname().length(),
|
|
::google::protobuf::internal::WireFormat::SERIALIZE,
|
|
"strappcolumnname");
|
|
::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
|
|
3, this->strappcolumnname(), output);
|
|
}
|
|
|
|
// required string strAppTagName = 4;
|
|
if (has_strapptagname()) {
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
|
|
this->strapptagname().data(), this->strapptagname().length(),
|
|
::google::protobuf::internal::WireFormat::SERIALIZE,
|
|
"strapptagname");
|
|
::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
|
|
4, this->strapptagname(), output);
|
|
}
|
|
|
|
// required string strRtuName = 5;
|
|
if (has_strrtuname()) {
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
|
|
this->strrtuname().data(), this->strrtuname().length(),
|
|
::google::protobuf::internal::WireFormat::SERIALIZE,
|
|
"strrtuname");
|
|
::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
|
|
5, this->strrtuname(), output);
|
|
}
|
|
|
|
// required int32 nOrder = 6;
|
|
if (has_norder()) {
|
|
::google::protobuf::internal::WireFormatLite::WriteInt32(6, this->norder(), output);
|
|
}
|
|
|
|
// required float fValue = 7;
|
|
if (has_fvalue()) {
|
|
::google::protobuf::internal::WireFormatLite::WriteFloat(7, this->fvalue(), output);
|
|
}
|
|
|
|
// required int32 nCtrlType = 8;
|
|
if (has_nctrltype()) {
|
|
::google::protobuf::internal::WireFormatLite::WriteInt32(8, this->nctrltype(), output);
|
|
}
|
|
|
|
// required int32 nIfTagtState = 9;
|
|
if (has_niftagtstate()) {
|
|
::google::protobuf::internal::WireFormatLite::WriteInt32(9, this->niftagtstate(), output);
|
|
}
|
|
|
|
// optional int64 lPara1 = 10;
|
|
if (has_lpara1()) {
|
|
::google::protobuf::internal::WireFormatLite::WriteInt64(10, this->lpara1(), output);
|
|
}
|
|
|
|
// optional int64 lPara2 = 11;
|
|
if (has_lpara2()) {
|
|
::google::protobuf::internal::WireFormatLite::WriteInt64(11, this->lpara2(), output);
|
|
}
|
|
|
|
// optional float fPara = 12;
|
|
if (has_fpara()) {
|
|
::google::protobuf::internal::WireFormatLite::WriteFloat(12, this->fpara(), output);
|
|
}
|
|
|
|
// optional string strPara = 13;
|
|
if (has_strpara()) {
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
|
|
this->strpara().data(), this->strpara().length(),
|
|
::google::protobuf::internal::WireFormat::SERIALIZE,
|
|
"strpara");
|
|
::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
|
|
13, this->strpara(), output);
|
|
}
|
|
|
|
if (!unknown_fields().empty()) {
|
|
::google::protobuf::internal::WireFormat::SerializeUnknownFields(
|
|
unknown_fields(), output);
|
|
}
|
|
// @@protoc_insertion_point(serialize_end:iot_idl.SFesAoRequestPkg)
|
|
}
|
|
|
|
::google::protobuf::uint8* SFesAoRequestPkg::SerializeWithCachedSizesToArray(
|
|
::google::protobuf::uint8* target) const {
|
|
// @@protoc_insertion_point(serialize_to_array_start:iot_idl.SFesAoRequestPkg)
|
|
// required string strSourceTag = 1;
|
|
if (has_strsourcetag()) {
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
|
|
this->strsourcetag().data(), this->strsourcetag().length(),
|
|
::google::protobuf::internal::WireFormat::SERIALIZE,
|
|
"strsourcetag");
|
|
target =
|
|
::google::protobuf::internal::WireFormatLite::WriteStringToArray(
|
|
1, this->strsourcetag(), target);
|
|
}
|
|
|
|
// required string strAppTableName = 2;
|
|
if (has_strapptablename()) {
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
|
|
this->strapptablename().data(), this->strapptablename().length(),
|
|
::google::protobuf::internal::WireFormat::SERIALIZE,
|
|
"strapptablename");
|
|
target =
|
|
::google::protobuf::internal::WireFormatLite::WriteStringToArray(
|
|
2, this->strapptablename(), target);
|
|
}
|
|
|
|
// required string strAppColumnName = 3;
|
|
if (has_strappcolumnname()) {
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
|
|
this->strappcolumnname().data(), this->strappcolumnname().length(),
|
|
::google::protobuf::internal::WireFormat::SERIALIZE,
|
|
"strappcolumnname");
|
|
target =
|
|
::google::protobuf::internal::WireFormatLite::WriteStringToArray(
|
|
3, this->strappcolumnname(), target);
|
|
}
|
|
|
|
// required string strAppTagName = 4;
|
|
if (has_strapptagname()) {
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
|
|
this->strapptagname().data(), this->strapptagname().length(),
|
|
::google::protobuf::internal::WireFormat::SERIALIZE,
|
|
"strapptagname");
|
|
target =
|
|
::google::protobuf::internal::WireFormatLite::WriteStringToArray(
|
|
4, this->strapptagname(), target);
|
|
}
|
|
|
|
// required string strRtuName = 5;
|
|
if (has_strrtuname()) {
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
|
|
this->strrtuname().data(), this->strrtuname().length(),
|
|
::google::protobuf::internal::WireFormat::SERIALIZE,
|
|
"strrtuname");
|
|
target =
|
|
::google::protobuf::internal::WireFormatLite::WriteStringToArray(
|
|
5, this->strrtuname(), target);
|
|
}
|
|
|
|
// required int32 nOrder = 6;
|
|
if (has_norder()) {
|
|
target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(6, this->norder(), target);
|
|
}
|
|
|
|
// required float fValue = 7;
|
|
if (has_fvalue()) {
|
|
target = ::google::protobuf::internal::WireFormatLite::WriteFloatToArray(7, this->fvalue(), target);
|
|
}
|
|
|
|
// required int32 nCtrlType = 8;
|
|
if (has_nctrltype()) {
|
|
target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(8, this->nctrltype(), target);
|
|
}
|
|
|
|
// required int32 nIfTagtState = 9;
|
|
if (has_niftagtstate()) {
|
|
target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(9, this->niftagtstate(), target);
|
|
}
|
|
|
|
// optional int64 lPara1 = 10;
|
|
if (has_lpara1()) {
|
|
target = ::google::protobuf::internal::WireFormatLite::WriteInt64ToArray(10, this->lpara1(), target);
|
|
}
|
|
|
|
// optional int64 lPara2 = 11;
|
|
if (has_lpara2()) {
|
|
target = ::google::protobuf::internal::WireFormatLite::WriteInt64ToArray(11, this->lpara2(), target);
|
|
}
|
|
|
|
// optional float fPara = 12;
|
|
if (has_fpara()) {
|
|
target = ::google::protobuf::internal::WireFormatLite::WriteFloatToArray(12, this->fpara(), target);
|
|
}
|
|
|
|
// optional string strPara = 13;
|
|
if (has_strpara()) {
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
|
|
this->strpara().data(), this->strpara().length(),
|
|
::google::protobuf::internal::WireFormat::SERIALIZE,
|
|
"strpara");
|
|
target =
|
|
::google::protobuf::internal::WireFormatLite::WriteStringToArray(
|
|
13, this->strpara(), target);
|
|
}
|
|
|
|
if (!unknown_fields().empty()) {
|
|
target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
|
|
unknown_fields(), target);
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_end:iot_idl.SFesAoRequestPkg)
|
|
return target;
|
|
}
|
|
|
|
int SFesAoRequestPkg::ByteSize() const {
|
|
int total_size = 0;
|
|
|
|
if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
|
|
// required string strSourceTag = 1;
|
|
if (has_strsourcetag()) {
|
|
total_size += 1 +
|
|
::google::protobuf::internal::WireFormatLite::StringSize(
|
|
this->strsourcetag());
|
|
}
|
|
|
|
// required string strAppTableName = 2;
|
|
if (has_strapptablename()) {
|
|
total_size += 1 +
|
|
::google::protobuf::internal::WireFormatLite::StringSize(
|
|
this->strapptablename());
|
|
}
|
|
|
|
// required string strAppColumnName = 3;
|
|
if (has_strappcolumnname()) {
|
|
total_size += 1 +
|
|
::google::protobuf::internal::WireFormatLite::StringSize(
|
|
this->strappcolumnname());
|
|
}
|
|
|
|
// required string strAppTagName = 4;
|
|
if (has_strapptagname()) {
|
|
total_size += 1 +
|
|
::google::protobuf::internal::WireFormatLite::StringSize(
|
|
this->strapptagname());
|
|
}
|
|
|
|
// required string strRtuName = 5;
|
|
if (has_strrtuname()) {
|
|
total_size += 1 +
|
|
::google::protobuf::internal::WireFormatLite::StringSize(
|
|
this->strrtuname());
|
|
}
|
|
|
|
// required int32 nOrder = 6;
|
|
if (has_norder()) {
|
|
total_size += 1 +
|
|
::google::protobuf::internal::WireFormatLite::Int32Size(
|
|
this->norder());
|
|
}
|
|
|
|
// required float fValue = 7;
|
|
if (has_fvalue()) {
|
|
total_size += 1 + 4;
|
|
}
|
|
|
|
// required int32 nCtrlType = 8;
|
|
if (has_nctrltype()) {
|
|
total_size += 1 +
|
|
::google::protobuf::internal::WireFormatLite::Int32Size(
|
|
this->nctrltype());
|
|
}
|
|
|
|
}
|
|
if (_has_bits_[8 / 32] & (0xffu << (8 % 32))) {
|
|
// required int32 nIfTagtState = 9;
|
|
if (has_niftagtstate()) {
|
|
total_size += 1 +
|
|
::google::protobuf::internal::WireFormatLite::Int32Size(
|
|
this->niftagtstate());
|
|
}
|
|
|
|
// optional int64 lPara1 = 10;
|
|
if (has_lpara1()) {
|
|
total_size += 1 +
|
|
::google::protobuf::internal::WireFormatLite::Int64Size(
|
|
this->lpara1());
|
|
}
|
|
|
|
// optional int64 lPara2 = 11;
|
|
if (has_lpara2()) {
|
|
total_size += 1 +
|
|
::google::protobuf::internal::WireFormatLite::Int64Size(
|
|
this->lpara2());
|
|
}
|
|
|
|
// optional float fPara = 12;
|
|
if (has_fpara()) {
|
|
total_size += 1 + 4;
|
|
}
|
|
|
|
// optional string strPara = 13;
|
|
if (has_strpara()) {
|
|
total_size += 1 +
|
|
::google::protobuf::internal::WireFormatLite::StringSize(
|
|
this->strpara());
|
|
}
|
|
|
|
}
|
|
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 SFesAoRequestPkg::MergeFrom(const ::google::protobuf::Message& from) {
|
|
GOOGLE_CHECK_NE(&from, this);
|
|
const SFesAoRequestPkg* source =
|
|
::google::protobuf::internal::dynamic_cast_if_available<const SFesAoRequestPkg*>(
|
|
&from);
|
|
if (source == NULL) {
|
|
::google::protobuf::internal::ReflectionOps::Merge(from, this);
|
|
} else {
|
|
MergeFrom(*source);
|
|
}
|
|
}
|
|
|
|
void SFesAoRequestPkg::MergeFrom(const SFesAoRequestPkg& from) {
|
|
GOOGLE_CHECK_NE(&from, this);
|
|
if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
|
|
if (from.has_strsourcetag()) {
|
|
set_strsourcetag(from.strsourcetag());
|
|
}
|
|
if (from.has_strapptablename()) {
|
|
set_strapptablename(from.strapptablename());
|
|
}
|
|
if (from.has_strappcolumnname()) {
|
|
set_strappcolumnname(from.strappcolumnname());
|
|
}
|
|
if (from.has_strapptagname()) {
|
|
set_strapptagname(from.strapptagname());
|
|
}
|
|
if (from.has_strrtuname()) {
|
|
set_strrtuname(from.strrtuname());
|
|
}
|
|
if (from.has_norder()) {
|
|
set_norder(from.norder());
|
|
}
|
|
if (from.has_fvalue()) {
|
|
set_fvalue(from.fvalue());
|
|
}
|
|
if (from.has_nctrltype()) {
|
|
set_nctrltype(from.nctrltype());
|
|
}
|
|
}
|
|
if (from._has_bits_[8 / 32] & (0xffu << (8 % 32))) {
|
|
if (from.has_niftagtstate()) {
|
|
set_niftagtstate(from.niftagtstate());
|
|
}
|
|
if (from.has_lpara1()) {
|
|
set_lpara1(from.lpara1());
|
|
}
|
|
if (from.has_lpara2()) {
|
|
set_lpara2(from.lpara2());
|
|
}
|
|
if (from.has_fpara()) {
|
|
set_fpara(from.fpara());
|
|
}
|
|
if (from.has_strpara()) {
|
|
set_strpara(from.strpara());
|
|
}
|
|
}
|
|
mutable_unknown_fields()->MergeFrom(from.unknown_fields());
|
|
}
|
|
|
|
void SFesAoRequestPkg::CopyFrom(const ::google::protobuf::Message& from) {
|
|
if (&from == this) return;
|
|
Clear();
|
|
MergeFrom(from);
|
|
}
|
|
|
|
void SFesAoRequestPkg::CopyFrom(const SFesAoRequestPkg& from) {
|
|
if (&from == this) return;
|
|
Clear();
|
|
MergeFrom(from);
|
|
}
|
|
|
|
bool SFesAoRequestPkg::IsInitialized() const {
|
|
if ((_has_bits_[0] & 0x000001ff) != 0x000001ff) return false;
|
|
|
|
return true;
|
|
}
|
|
|
|
void SFesAoRequestPkg::Swap(SFesAoRequestPkg* other) {
|
|
if (other != this) {
|
|
std::swap(strsourcetag_, other->strsourcetag_);
|
|
std::swap(strapptablename_, other->strapptablename_);
|
|
std::swap(strappcolumnname_, other->strappcolumnname_);
|
|
std::swap(strapptagname_, other->strapptagname_);
|
|
std::swap(strrtuname_, other->strrtuname_);
|
|
std::swap(norder_, other->norder_);
|
|
std::swap(fvalue_, other->fvalue_);
|
|
std::swap(nctrltype_, other->nctrltype_);
|
|
std::swap(niftagtstate_, other->niftagtstate_);
|
|
std::swap(lpara1_, other->lpara1_);
|
|
std::swap(lpara2_, other->lpara2_);
|
|
std::swap(fpara_, other->fpara_);
|
|
std::swap(strpara_, other->strpara_);
|
|
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 SFesAoRequestPkg::GetMetadata() const {
|
|
protobuf_AssignDescriptorsOnce();
|
|
::google::protobuf::Metadata metadata;
|
|
metadata.descriptor = SFesAoRequestPkg_descriptor_;
|
|
metadata.reflection = SFesAoRequestPkg_reflection_;
|
|
return metadata;
|
|
}
|
|
|
|
|
|
// ===================================================================
|
|
|
|
#ifndef _MSC_VER
|
|
const int SFesMoRequestPkg::kStrSourceTagFieldNumber;
|
|
const int SFesMoRequestPkg::kStrAppTableNameFieldNumber;
|
|
const int SFesMoRequestPkg::kStrAppColumnNameFieldNumber;
|
|
const int SFesMoRequestPkg::kStrAppTagNameFieldNumber;
|
|
const int SFesMoRequestPkg::kStrRtuNameFieldNumber;
|
|
const int SFesMoRequestPkg::kNOrderFieldNumber;
|
|
const int SFesMoRequestPkg::kNValueFieldNumber;
|
|
const int SFesMoRequestPkg::kNCtrlTypeFieldNumber;
|
|
const int SFesMoRequestPkg::kNIfTagtStateFieldNumber;
|
|
const int SFesMoRequestPkg::kLPara1FieldNumber;
|
|
const int SFesMoRequestPkg::kLPara2FieldNumber;
|
|
const int SFesMoRequestPkg::kFParaFieldNumber;
|
|
const int SFesMoRequestPkg::kStrParaFieldNumber;
|
|
#endif // !_MSC_VER
|
|
|
|
SFesMoRequestPkg::SFesMoRequestPkg()
|
|
: ::google::protobuf::Message() {
|
|
SharedCtor();
|
|
// @@protoc_insertion_point(constructor:iot_idl.SFesMoRequestPkg)
|
|
}
|
|
|
|
void SFesMoRequestPkg::InitAsDefaultInstance() {
|
|
}
|
|
|
|
SFesMoRequestPkg::SFesMoRequestPkg(const SFesMoRequestPkg& from)
|
|
: ::google::protobuf::Message() {
|
|
SharedCtor();
|
|
MergeFrom(from);
|
|
// @@protoc_insertion_point(copy_constructor:iot_idl.SFesMoRequestPkg)
|
|
}
|
|
|
|
void SFesMoRequestPkg::SharedCtor() {
|
|
::google::protobuf::internal::GetEmptyString();
|
|
_cached_size_ = 0;
|
|
strsourcetag_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
strapptablename_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
strappcolumnname_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
strapptagname_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
strrtuname_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
norder_ = 0;
|
|
nvalue_ = 0;
|
|
nctrltype_ = 0;
|
|
niftagtstate_ = 0;
|
|
lpara1_ = GOOGLE_LONGLONG(0);
|
|
lpara2_ = GOOGLE_LONGLONG(0);
|
|
fpara_ = 0;
|
|
strpara_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
::memset(_has_bits_, 0, sizeof(_has_bits_));
|
|
}
|
|
|
|
SFesMoRequestPkg::~SFesMoRequestPkg() {
|
|
// @@protoc_insertion_point(destructor:iot_idl.SFesMoRequestPkg)
|
|
SharedDtor();
|
|
}
|
|
|
|
void SFesMoRequestPkg::SharedDtor() {
|
|
if (strsourcetag_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
|
|
delete strsourcetag_;
|
|
}
|
|
if (strapptablename_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
|
|
delete strapptablename_;
|
|
}
|
|
if (strappcolumnname_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
|
|
delete strappcolumnname_;
|
|
}
|
|
if (strapptagname_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
|
|
delete strapptagname_;
|
|
}
|
|
if (strrtuname_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
|
|
delete strrtuname_;
|
|
}
|
|
if (strpara_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
|
|
delete strpara_;
|
|
}
|
|
if (this != default_instance_) {
|
|
}
|
|
}
|
|
|
|
void SFesMoRequestPkg::SetCachedSize(int size) const {
|
|
GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
|
|
_cached_size_ = size;
|
|
GOOGLE_SAFE_CONCURRENT_WRITES_END();
|
|
}
|
|
const ::google::protobuf::Descriptor* SFesMoRequestPkg::descriptor() {
|
|
protobuf_AssignDescriptorsOnce();
|
|
return SFesMoRequestPkg_descriptor_;
|
|
}
|
|
|
|
const SFesMoRequestPkg& SFesMoRequestPkg::default_instance() {
|
|
if (default_instance_ == NULL) protobuf_AddDesc_FesMessage_2eproto();
|
|
return *default_instance_;
|
|
}
|
|
|
|
SFesMoRequestPkg* SFesMoRequestPkg::default_instance_ = NULL;
|
|
|
|
SFesMoRequestPkg* SFesMoRequestPkg::New() const {
|
|
return new SFesMoRequestPkg;
|
|
}
|
|
|
|
void SFesMoRequestPkg::Clear() {
|
|
#define OFFSET_OF_FIELD_(f) (reinterpret_cast<char*>( \
|
|
&reinterpret_cast<SFesMoRequestPkg*>(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_(norder_, nctrltype_);
|
|
if (has_strsourcetag()) {
|
|
if (strsourcetag_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
|
|
strsourcetag_->clear();
|
|
}
|
|
}
|
|
if (has_strapptablename()) {
|
|
if (strapptablename_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
|
|
strapptablename_->clear();
|
|
}
|
|
}
|
|
if (has_strappcolumnname()) {
|
|
if (strappcolumnname_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
|
|
strappcolumnname_->clear();
|
|
}
|
|
}
|
|
if (has_strapptagname()) {
|
|
if (strapptagname_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
|
|
strapptagname_->clear();
|
|
}
|
|
}
|
|
if (has_strrtuname()) {
|
|
if (strrtuname_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
|
|
strrtuname_->clear();
|
|
}
|
|
}
|
|
}
|
|
if (_has_bits_[8 / 32] & 7936) {
|
|
ZR_(niftagtstate_, lpara2_);
|
|
fpara_ = 0;
|
|
if (has_strpara()) {
|
|
if (strpara_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
|
|
strpara_->clear();
|
|
}
|
|
}
|
|
}
|
|
|
|
#undef OFFSET_OF_FIELD_
|
|
#undef ZR_
|
|
|
|
::memset(_has_bits_, 0, sizeof(_has_bits_));
|
|
mutable_unknown_fields()->Clear();
|
|
}
|
|
|
|
bool SFesMoRequestPkg::MergePartialFromCodedStream(
|
|
::google::protobuf::io::CodedInputStream* input) {
|
|
#define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
|
|
::google::protobuf::uint32 tag;
|
|
// @@protoc_insertion_point(parse_start:iot_idl.SFesMoRequestPkg)
|
|
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 strSourceTag = 1;
|
|
case 1: {
|
|
if (tag == 10) {
|
|
DO_(::google::protobuf::internal::WireFormatLite::ReadString(
|
|
input, this->mutable_strsourcetag()));
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
|
|
this->strsourcetag().data(), this->strsourcetag().length(),
|
|
::google::protobuf::internal::WireFormat::PARSE,
|
|
"strsourcetag");
|
|
} else {
|
|
goto handle_unusual;
|
|
}
|
|
if (input->ExpectTag(18)) goto parse_strAppTableName;
|
|
break;
|
|
}
|
|
|
|
// required string strAppTableName = 2;
|
|
case 2: {
|
|
if (tag == 18) {
|
|
parse_strAppTableName:
|
|
DO_(::google::protobuf::internal::WireFormatLite::ReadString(
|
|
input, this->mutable_strapptablename()));
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
|
|
this->strapptablename().data(), this->strapptablename().length(),
|
|
::google::protobuf::internal::WireFormat::PARSE,
|
|
"strapptablename");
|
|
} else {
|
|
goto handle_unusual;
|
|
}
|
|
if (input->ExpectTag(26)) goto parse_strAppColumnName;
|
|
break;
|
|
}
|
|
|
|
// required string strAppColumnName = 3;
|
|
case 3: {
|
|
if (tag == 26) {
|
|
parse_strAppColumnName:
|
|
DO_(::google::protobuf::internal::WireFormatLite::ReadString(
|
|
input, this->mutable_strappcolumnname()));
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
|
|
this->strappcolumnname().data(), this->strappcolumnname().length(),
|
|
::google::protobuf::internal::WireFormat::PARSE,
|
|
"strappcolumnname");
|
|
} else {
|
|
goto handle_unusual;
|
|
}
|
|
if (input->ExpectTag(34)) goto parse_strAppTagName;
|
|
break;
|
|
}
|
|
|
|
// required string strAppTagName = 4;
|
|
case 4: {
|
|
if (tag == 34) {
|
|
parse_strAppTagName:
|
|
DO_(::google::protobuf::internal::WireFormatLite::ReadString(
|
|
input, this->mutable_strapptagname()));
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
|
|
this->strapptagname().data(), this->strapptagname().length(),
|
|
::google::protobuf::internal::WireFormat::PARSE,
|
|
"strapptagname");
|
|
} else {
|
|
goto handle_unusual;
|
|
}
|
|
if (input->ExpectTag(42)) goto parse_strRtuName;
|
|
break;
|
|
}
|
|
|
|
// required string strRtuName = 5;
|
|
case 5: {
|
|
if (tag == 42) {
|
|
parse_strRtuName:
|
|
DO_(::google::protobuf::internal::WireFormatLite::ReadString(
|
|
input, this->mutable_strrtuname()));
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
|
|
this->strrtuname().data(), this->strrtuname().length(),
|
|
::google::protobuf::internal::WireFormat::PARSE,
|
|
"strrtuname");
|
|
} else {
|
|
goto handle_unusual;
|
|
}
|
|
if (input->ExpectTag(48)) goto parse_nOrder;
|
|
break;
|
|
}
|
|
|
|
// required int32 nOrder = 6;
|
|
case 6: {
|
|
if (tag == 48) {
|
|
parse_nOrder:
|
|
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
|
|
::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
|
|
input, &norder_)));
|
|
set_has_norder();
|
|
} else {
|
|
goto handle_unusual;
|
|
}
|
|
if (input->ExpectTag(56)) goto parse_nValue;
|
|
break;
|
|
}
|
|
|
|
// required int32 nValue = 7;
|
|
case 7: {
|
|
if (tag == 56) {
|
|
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(64)) goto parse_nCtrlType;
|
|
break;
|
|
}
|
|
|
|
// required int32 nCtrlType = 8;
|
|
case 8: {
|
|
if (tag == 64) {
|
|
parse_nCtrlType:
|
|
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
|
|
::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
|
|
input, &nctrltype_)));
|
|
set_has_nctrltype();
|
|
} else {
|
|
goto handle_unusual;
|
|
}
|
|
if (input->ExpectTag(72)) goto parse_nIfTagtState;
|
|
break;
|
|
}
|
|
|
|
// required int32 nIfTagtState = 9;
|
|
case 9: {
|
|
if (tag == 72) {
|
|
parse_nIfTagtState:
|
|
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
|
|
::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
|
|
input, &niftagtstate_)));
|
|
set_has_niftagtstate();
|
|
} else {
|
|
goto handle_unusual;
|
|
}
|
|
if (input->ExpectTag(80)) goto parse_lPara1;
|
|
break;
|
|
}
|
|
|
|
// optional int64 lPara1 = 10;
|
|
case 10: {
|
|
if (tag == 80) {
|
|
parse_lPara1:
|
|
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
|
|
::google::protobuf::int64, ::google::protobuf::internal::WireFormatLite::TYPE_INT64>(
|
|
input, &lpara1_)));
|
|
set_has_lpara1();
|
|
} else {
|
|
goto handle_unusual;
|
|
}
|
|
if (input->ExpectTag(88)) goto parse_lPara2;
|
|
break;
|
|
}
|
|
|
|
// optional int64 lPara2 = 11;
|
|
case 11: {
|
|
if (tag == 88) {
|
|
parse_lPara2:
|
|
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
|
|
::google::protobuf::int64, ::google::protobuf::internal::WireFormatLite::TYPE_INT64>(
|
|
input, &lpara2_)));
|
|
set_has_lpara2();
|
|
} else {
|
|
goto handle_unusual;
|
|
}
|
|
if (input->ExpectTag(101)) goto parse_fPara;
|
|
break;
|
|
}
|
|
|
|
// optional float fPara = 12;
|
|
case 12: {
|
|
if (tag == 101) {
|
|
parse_fPara:
|
|
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
|
|
float, ::google::protobuf::internal::WireFormatLite::TYPE_FLOAT>(
|
|
input, &fpara_)));
|
|
set_has_fpara();
|
|
} else {
|
|
goto handle_unusual;
|
|
}
|
|
if (input->ExpectTag(106)) goto parse_strPara;
|
|
break;
|
|
}
|
|
|
|
// optional string strPara = 13;
|
|
case 13: {
|
|
if (tag == 106) {
|
|
parse_strPara:
|
|
DO_(::google::protobuf::internal::WireFormatLite::ReadString(
|
|
input, this->mutable_strpara()));
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
|
|
this->strpara().data(), this->strpara().length(),
|
|
::google::protobuf::internal::WireFormat::PARSE,
|
|
"strpara");
|
|
} else {
|
|
goto handle_unusual;
|
|
}
|
|
if (input->ExpectAtEnd()) goto success;
|
|
break;
|
|
}
|
|
|
|
default: {
|
|
handle_unusual:
|
|
if (tag == 0 ||
|
|
::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
|
|
::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
|
|
goto success;
|
|
}
|
|
DO_(::google::protobuf::internal::WireFormat::SkipField(
|
|
input, tag, mutable_unknown_fields()));
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
success:
|
|
// @@protoc_insertion_point(parse_success:iot_idl.SFesMoRequestPkg)
|
|
return true;
|
|
failure:
|
|
// @@protoc_insertion_point(parse_failure:iot_idl.SFesMoRequestPkg)
|
|
return false;
|
|
#undef DO_
|
|
}
|
|
|
|
void SFesMoRequestPkg::SerializeWithCachedSizes(
|
|
::google::protobuf::io::CodedOutputStream* output) const {
|
|
// @@protoc_insertion_point(serialize_start:iot_idl.SFesMoRequestPkg)
|
|
// required string strSourceTag = 1;
|
|
if (has_strsourcetag()) {
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
|
|
this->strsourcetag().data(), this->strsourcetag().length(),
|
|
::google::protobuf::internal::WireFormat::SERIALIZE,
|
|
"strsourcetag");
|
|
::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
|
|
1, this->strsourcetag(), output);
|
|
}
|
|
|
|
// required string strAppTableName = 2;
|
|
if (has_strapptablename()) {
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
|
|
this->strapptablename().data(), this->strapptablename().length(),
|
|
::google::protobuf::internal::WireFormat::SERIALIZE,
|
|
"strapptablename");
|
|
::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
|
|
2, this->strapptablename(), output);
|
|
}
|
|
|
|
// required string strAppColumnName = 3;
|
|
if (has_strappcolumnname()) {
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
|
|
this->strappcolumnname().data(), this->strappcolumnname().length(),
|
|
::google::protobuf::internal::WireFormat::SERIALIZE,
|
|
"strappcolumnname");
|
|
::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
|
|
3, this->strappcolumnname(), output);
|
|
}
|
|
|
|
// required string strAppTagName = 4;
|
|
if (has_strapptagname()) {
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
|
|
this->strapptagname().data(), this->strapptagname().length(),
|
|
::google::protobuf::internal::WireFormat::SERIALIZE,
|
|
"strapptagname");
|
|
::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
|
|
4, this->strapptagname(), output);
|
|
}
|
|
|
|
// required string strRtuName = 5;
|
|
if (has_strrtuname()) {
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
|
|
this->strrtuname().data(), this->strrtuname().length(),
|
|
::google::protobuf::internal::WireFormat::SERIALIZE,
|
|
"strrtuname");
|
|
::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
|
|
5, this->strrtuname(), output);
|
|
}
|
|
|
|
// required int32 nOrder = 6;
|
|
if (has_norder()) {
|
|
::google::protobuf::internal::WireFormatLite::WriteInt32(6, this->norder(), output);
|
|
}
|
|
|
|
// required int32 nValue = 7;
|
|
if (has_nvalue()) {
|
|
::google::protobuf::internal::WireFormatLite::WriteInt32(7, this->nvalue(), output);
|
|
}
|
|
|
|
// required int32 nCtrlType = 8;
|
|
if (has_nctrltype()) {
|
|
::google::protobuf::internal::WireFormatLite::WriteInt32(8, this->nctrltype(), output);
|
|
}
|
|
|
|
// required int32 nIfTagtState = 9;
|
|
if (has_niftagtstate()) {
|
|
::google::protobuf::internal::WireFormatLite::WriteInt32(9, this->niftagtstate(), output);
|
|
}
|
|
|
|
// optional int64 lPara1 = 10;
|
|
if (has_lpara1()) {
|
|
::google::protobuf::internal::WireFormatLite::WriteInt64(10, this->lpara1(), output);
|
|
}
|
|
|
|
// optional int64 lPara2 = 11;
|
|
if (has_lpara2()) {
|
|
::google::protobuf::internal::WireFormatLite::WriteInt64(11, this->lpara2(), output);
|
|
}
|
|
|
|
// optional float fPara = 12;
|
|
if (has_fpara()) {
|
|
::google::protobuf::internal::WireFormatLite::WriteFloat(12, this->fpara(), output);
|
|
}
|
|
|
|
// optional string strPara = 13;
|
|
if (has_strpara()) {
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
|
|
this->strpara().data(), this->strpara().length(),
|
|
::google::protobuf::internal::WireFormat::SERIALIZE,
|
|
"strpara");
|
|
::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
|
|
13, this->strpara(), output);
|
|
}
|
|
|
|
if (!unknown_fields().empty()) {
|
|
::google::protobuf::internal::WireFormat::SerializeUnknownFields(
|
|
unknown_fields(), output);
|
|
}
|
|
// @@protoc_insertion_point(serialize_end:iot_idl.SFesMoRequestPkg)
|
|
}
|
|
|
|
::google::protobuf::uint8* SFesMoRequestPkg::SerializeWithCachedSizesToArray(
|
|
::google::protobuf::uint8* target) const {
|
|
// @@protoc_insertion_point(serialize_to_array_start:iot_idl.SFesMoRequestPkg)
|
|
// required string strSourceTag = 1;
|
|
if (has_strsourcetag()) {
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
|
|
this->strsourcetag().data(), this->strsourcetag().length(),
|
|
::google::protobuf::internal::WireFormat::SERIALIZE,
|
|
"strsourcetag");
|
|
target =
|
|
::google::protobuf::internal::WireFormatLite::WriteStringToArray(
|
|
1, this->strsourcetag(), target);
|
|
}
|
|
|
|
// required string strAppTableName = 2;
|
|
if (has_strapptablename()) {
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
|
|
this->strapptablename().data(), this->strapptablename().length(),
|
|
::google::protobuf::internal::WireFormat::SERIALIZE,
|
|
"strapptablename");
|
|
target =
|
|
::google::protobuf::internal::WireFormatLite::WriteStringToArray(
|
|
2, this->strapptablename(), target);
|
|
}
|
|
|
|
// required string strAppColumnName = 3;
|
|
if (has_strappcolumnname()) {
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
|
|
this->strappcolumnname().data(), this->strappcolumnname().length(),
|
|
::google::protobuf::internal::WireFormat::SERIALIZE,
|
|
"strappcolumnname");
|
|
target =
|
|
::google::protobuf::internal::WireFormatLite::WriteStringToArray(
|
|
3, this->strappcolumnname(), target);
|
|
}
|
|
|
|
// required string strAppTagName = 4;
|
|
if (has_strapptagname()) {
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
|
|
this->strapptagname().data(), this->strapptagname().length(),
|
|
::google::protobuf::internal::WireFormat::SERIALIZE,
|
|
"strapptagname");
|
|
target =
|
|
::google::protobuf::internal::WireFormatLite::WriteStringToArray(
|
|
4, this->strapptagname(), target);
|
|
}
|
|
|
|
// required string strRtuName = 5;
|
|
if (has_strrtuname()) {
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
|
|
this->strrtuname().data(), this->strrtuname().length(),
|
|
::google::protobuf::internal::WireFormat::SERIALIZE,
|
|
"strrtuname");
|
|
target =
|
|
::google::protobuf::internal::WireFormatLite::WriteStringToArray(
|
|
5, this->strrtuname(), target);
|
|
}
|
|
|
|
// required int32 nOrder = 6;
|
|
if (has_norder()) {
|
|
target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(6, this->norder(), target);
|
|
}
|
|
|
|
// required int32 nValue = 7;
|
|
if (has_nvalue()) {
|
|
target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(7, this->nvalue(), target);
|
|
}
|
|
|
|
// required int32 nCtrlType = 8;
|
|
if (has_nctrltype()) {
|
|
target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(8, this->nctrltype(), target);
|
|
}
|
|
|
|
// required int32 nIfTagtState = 9;
|
|
if (has_niftagtstate()) {
|
|
target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(9, this->niftagtstate(), target);
|
|
}
|
|
|
|
// optional int64 lPara1 = 10;
|
|
if (has_lpara1()) {
|
|
target = ::google::protobuf::internal::WireFormatLite::WriteInt64ToArray(10, this->lpara1(), target);
|
|
}
|
|
|
|
// optional int64 lPara2 = 11;
|
|
if (has_lpara2()) {
|
|
target = ::google::protobuf::internal::WireFormatLite::WriteInt64ToArray(11, this->lpara2(), target);
|
|
}
|
|
|
|
// optional float fPara = 12;
|
|
if (has_fpara()) {
|
|
target = ::google::protobuf::internal::WireFormatLite::WriteFloatToArray(12, this->fpara(), target);
|
|
}
|
|
|
|
// optional string strPara = 13;
|
|
if (has_strpara()) {
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
|
|
this->strpara().data(), this->strpara().length(),
|
|
::google::protobuf::internal::WireFormat::SERIALIZE,
|
|
"strpara");
|
|
target =
|
|
::google::protobuf::internal::WireFormatLite::WriteStringToArray(
|
|
13, this->strpara(), target);
|
|
}
|
|
|
|
if (!unknown_fields().empty()) {
|
|
target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
|
|
unknown_fields(), target);
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_end:iot_idl.SFesMoRequestPkg)
|
|
return target;
|
|
}
|
|
|
|
int SFesMoRequestPkg::ByteSize() const {
|
|
int total_size = 0;
|
|
|
|
if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
|
|
// required string strSourceTag = 1;
|
|
if (has_strsourcetag()) {
|
|
total_size += 1 +
|
|
::google::protobuf::internal::WireFormatLite::StringSize(
|
|
this->strsourcetag());
|
|
}
|
|
|
|
// required string strAppTableName = 2;
|
|
if (has_strapptablename()) {
|
|
total_size += 1 +
|
|
::google::protobuf::internal::WireFormatLite::StringSize(
|
|
this->strapptablename());
|
|
}
|
|
|
|
// required string strAppColumnName = 3;
|
|
if (has_strappcolumnname()) {
|
|
total_size += 1 +
|
|
::google::protobuf::internal::WireFormatLite::StringSize(
|
|
this->strappcolumnname());
|
|
}
|
|
|
|
// required string strAppTagName = 4;
|
|
if (has_strapptagname()) {
|
|
total_size += 1 +
|
|
::google::protobuf::internal::WireFormatLite::StringSize(
|
|
this->strapptagname());
|
|
}
|
|
|
|
// required string strRtuName = 5;
|
|
if (has_strrtuname()) {
|
|
total_size += 1 +
|
|
::google::protobuf::internal::WireFormatLite::StringSize(
|
|
this->strrtuname());
|
|
}
|
|
|
|
// required int32 nOrder = 6;
|
|
if (has_norder()) {
|
|
total_size += 1 +
|
|
::google::protobuf::internal::WireFormatLite::Int32Size(
|
|
this->norder());
|
|
}
|
|
|
|
// required int32 nValue = 7;
|
|
if (has_nvalue()) {
|
|
total_size += 1 +
|
|
::google::protobuf::internal::WireFormatLite::Int32Size(
|
|
this->nvalue());
|
|
}
|
|
|
|
// required int32 nCtrlType = 8;
|
|
if (has_nctrltype()) {
|
|
total_size += 1 +
|
|
::google::protobuf::internal::WireFormatLite::Int32Size(
|
|
this->nctrltype());
|
|
}
|
|
|
|
}
|
|
if (_has_bits_[8 / 32] & (0xffu << (8 % 32))) {
|
|
// required int32 nIfTagtState = 9;
|
|
if (has_niftagtstate()) {
|
|
total_size += 1 +
|
|
::google::protobuf::internal::WireFormatLite::Int32Size(
|
|
this->niftagtstate());
|
|
}
|
|
|
|
// optional int64 lPara1 = 10;
|
|
if (has_lpara1()) {
|
|
total_size += 1 +
|
|
::google::protobuf::internal::WireFormatLite::Int64Size(
|
|
this->lpara1());
|
|
}
|
|
|
|
// optional int64 lPara2 = 11;
|
|
if (has_lpara2()) {
|
|
total_size += 1 +
|
|
::google::protobuf::internal::WireFormatLite::Int64Size(
|
|
this->lpara2());
|
|
}
|
|
|
|
// optional float fPara = 12;
|
|
if (has_fpara()) {
|
|
total_size += 1 + 4;
|
|
}
|
|
|
|
// optional string strPara = 13;
|
|
if (has_strpara()) {
|
|
total_size += 1 +
|
|
::google::protobuf::internal::WireFormatLite::StringSize(
|
|
this->strpara());
|
|
}
|
|
|
|
}
|
|
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 SFesMoRequestPkg::MergeFrom(const ::google::protobuf::Message& from) {
|
|
GOOGLE_CHECK_NE(&from, this);
|
|
const SFesMoRequestPkg* source =
|
|
::google::protobuf::internal::dynamic_cast_if_available<const SFesMoRequestPkg*>(
|
|
&from);
|
|
if (source == NULL) {
|
|
::google::protobuf::internal::ReflectionOps::Merge(from, this);
|
|
} else {
|
|
MergeFrom(*source);
|
|
}
|
|
}
|
|
|
|
void SFesMoRequestPkg::MergeFrom(const SFesMoRequestPkg& from) {
|
|
GOOGLE_CHECK_NE(&from, this);
|
|
if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
|
|
if (from.has_strsourcetag()) {
|
|
set_strsourcetag(from.strsourcetag());
|
|
}
|
|
if (from.has_strapptablename()) {
|
|
set_strapptablename(from.strapptablename());
|
|
}
|
|
if (from.has_strappcolumnname()) {
|
|
set_strappcolumnname(from.strappcolumnname());
|
|
}
|
|
if (from.has_strapptagname()) {
|
|
set_strapptagname(from.strapptagname());
|
|
}
|
|
if (from.has_strrtuname()) {
|
|
set_strrtuname(from.strrtuname());
|
|
}
|
|
if (from.has_norder()) {
|
|
set_norder(from.norder());
|
|
}
|
|
if (from.has_nvalue()) {
|
|
set_nvalue(from.nvalue());
|
|
}
|
|
if (from.has_nctrltype()) {
|
|
set_nctrltype(from.nctrltype());
|
|
}
|
|
}
|
|
if (from._has_bits_[8 / 32] & (0xffu << (8 % 32))) {
|
|
if (from.has_niftagtstate()) {
|
|
set_niftagtstate(from.niftagtstate());
|
|
}
|
|
if (from.has_lpara1()) {
|
|
set_lpara1(from.lpara1());
|
|
}
|
|
if (from.has_lpara2()) {
|
|
set_lpara2(from.lpara2());
|
|
}
|
|
if (from.has_fpara()) {
|
|
set_fpara(from.fpara());
|
|
}
|
|
if (from.has_strpara()) {
|
|
set_strpara(from.strpara());
|
|
}
|
|
}
|
|
mutable_unknown_fields()->MergeFrom(from.unknown_fields());
|
|
}
|
|
|
|
void SFesMoRequestPkg::CopyFrom(const ::google::protobuf::Message& from) {
|
|
if (&from == this) return;
|
|
Clear();
|
|
MergeFrom(from);
|
|
}
|
|
|
|
void SFesMoRequestPkg::CopyFrom(const SFesMoRequestPkg& from) {
|
|
if (&from == this) return;
|
|
Clear();
|
|
MergeFrom(from);
|
|
}
|
|
|
|
bool SFesMoRequestPkg::IsInitialized() const {
|
|
if ((_has_bits_[0] & 0x000001ff) != 0x000001ff) return false;
|
|
|
|
return true;
|
|
}
|
|
|
|
void SFesMoRequestPkg::Swap(SFesMoRequestPkg* other) {
|
|
if (other != this) {
|
|
std::swap(strsourcetag_, other->strsourcetag_);
|
|
std::swap(strapptablename_, other->strapptablename_);
|
|
std::swap(strappcolumnname_, other->strappcolumnname_);
|
|
std::swap(strapptagname_, other->strapptagname_);
|
|
std::swap(strrtuname_, other->strrtuname_);
|
|
std::swap(norder_, other->norder_);
|
|
std::swap(nvalue_, other->nvalue_);
|
|
std::swap(nctrltype_, other->nctrltype_);
|
|
std::swap(niftagtstate_, other->niftagtstate_);
|
|
std::swap(lpara1_, other->lpara1_);
|
|
std::swap(lpara2_, other->lpara2_);
|
|
std::swap(fpara_, other->fpara_);
|
|
std::swap(strpara_, other->strpara_);
|
|
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 SFesMoRequestPkg::GetMetadata() const {
|
|
protobuf_AssignDescriptorsOnce();
|
|
::google::protobuf::Metadata metadata;
|
|
metadata.descriptor = SFesMoRequestPkg_descriptor_;
|
|
metadata.reflection = SFesMoRequestPkg_reflection_;
|
|
return metadata;
|
|
}
|
|
|
|
|
|
// ===================================================================
|
|
|
|
#ifndef _MSC_VER
|
|
const int SFesCtrlRequestSeq::kDoSeqFieldNumber;
|
|
const int SFesCtrlRequestSeq::kAoSeqFieldNumber;
|
|
const int SFesCtrlRequestSeq::kMoSeqFieldNumber;
|
|
#endif // !_MSC_VER
|
|
|
|
SFesCtrlRequestSeq::SFesCtrlRequestSeq()
|
|
: ::google::protobuf::Message() {
|
|
SharedCtor();
|
|
// @@protoc_insertion_point(constructor:iot_idl.SFesCtrlRequestSeq)
|
|
}
|
|
|
|
void SFesCtrlRequestSeq::InitAsDefaultInstance() {
|
|
}
|
|
|
|
SFesCtrlRequestSeq::SFesCtrlRequestSeq(const SFesCtrlRequestSeq& from)
|
|
: ::google::protobuf::Message() {
|
|
SharedCtor();
|
|
MergeFrom(from);
|
|
// @@protoc_insertion_point(copy_constructor:iot_idl.SFesCtrlRequestSeq)
|
|
}
|
|
|
|
void SFesCtrlRequestSeq::SharedCtor() {
|
|
_cached_size_ = 0;
|
|
::memset(_has_bits_, 0, sizeof(_has_bits_));
|
|
}
|
|
|
|
SFesCtrlRequestSeq::~SFesCtrlRequestSeq() {
|
|
// @@protoc_insertion_point(destructor:iot_idl.SFesCtrlRequestSeq)
|
|
SharedDtor();
|
|
}
|
|
|
|
void SFesCtrlRequestSeq::SharedDtor() {
|
|
if (this != default_instance_) {
|
|
}
|
|
}
|
|
|
|
void SFesCtrlRequestSeq::SetCachedSize(int size) const {
|
|
GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
|
|
_cached_size_ = size;
|
|
GOOGLE_SAFE_CONCURRENT_WRITES_END();
|
|
}
|
|
const ::google::protobuf::Descriptor* SFesCtrlRequestSeq::descriptor() {
|
|
protobuf_AssignDescriptorsOnce();
|
|
return SFesCtrlRequestSeq_descriptor_;
|
|
}
|
|
|
|
const SFesCtrlRequestSeq& SFesCtrlRequestSeq::default_instance() {
|
|
if (default_instance_ == NULL) protobuf_AddDesc_FesMessage_2eproto();
|
|
return *default_instance_;
|
|
}
|
|
|
|
SFesCtrlRequestSeq* SFesCtrlRequestSeq::default_instance_ = NULL;
|
|
|
|
SFesCtrlRequestSeq* SFesCtrlRequestSeq::New() const {
|
|
return new SFesCtrlRequestSeq;
|
|
}
|
|
|
|
void SFesCtrlRequestSeq::Clear() {
|
|
do_seq_.Clear();
|
|
ao_seq_.Clear();
|
|
mo_seq_.Clear();
|
|
::memset(_has_bits_, 0, sizeof(_has_bits_));
|
|
mutable_unknown_fields()->Clear();
|
|
}
|
|
|
|
bool SFesCtrlRequestSeq::MergePartialFromCodedStream(
|
|
::google::protobuf::io::CodedInputStream* input) {
|
|
#define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
|
|
::google::protobuf::uint32 tag;
|
|
// @@protoc_insertion_point(parse_start:iot_idl.SFesCtrlRequestSeq)
|
|
for (;;) {
|
|
::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
|
|
tag = p.first;
|
|
if (!p.second) goto handle_unusual;
|
|
switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
|
|
// repeated .iot_idl.SFesDoRequestPkg do_seq = 1;
|
|
case 1: {
|
|
if (tag == 10) {
|
|
parse_do_seq:
|
|
DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
|
|
input, add_do_seq()));
|
|
} else {
|
|
goto handle_unusual;
|
|
}
|
|
if (input->ExpectTag(10)) goto parse_do_seq;
|
|
if (input->ExpectTag(18)) goto parse_ao_seq;
|
|
break;
|
|
}
|
|
|
|
// repeated .iot_idl.SFesAoRequestPkg ao_seq = 2;
|
|
case 2: {
|
|
if (tag == 18) {
|
|
parse_ao_seq:
|
|
DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
|
|
input, add_ao_seq()));
|
|
} else {
|
|
goto handle_unusual;
|
|
}
|
|
if (input->ExpectTag(18)) goto parse_ao_seq;
|
|
if (input->ExpectTag(26)) goto parse_mo_seq;
|
|
break;
|
|
}
|
|
|
|
// repeated .iot_idl.SFesMoRequestPkg mo_seq = 3;
|
|
case 3: {
|
|
if (tag == 26) {
|
|
parse_mo_seq:
|
|
DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
|
|
input, add_mo_seq()));
|
|
} else {
|
|
goto handle_unusual;
|
|
}
|
|
if (input->ExpectTag(26)) goto parse_mo_seq;
|
|
if (input->ExpectAtEnd()) goto success;
|
|
break;
|
|
}
|
|
|
|
default: {
|
|
handle_unusual:
|
|
if (tag == 0 ||
|
|
::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
|
|
::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
|
|
goto success;
|
|
}
|
|
DO_(::google::protobuf::internal::WireFormat::SkipField(
|
|
input, tag, mutable_unknown_fields()));
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
success:
|
|
// @@protoc_insertion_point(parse_success:iot_idl.SFesCtrlRequestSeq)
|
|
return true;
|
|
failure:
|
|
// @@protoc_insertion_point(parse_failure:iot_idl.SFesCtrlRequestSeq)
|
|
return false;
|
|
#undef DO_
|
|
}
|
|
|
|
void SFesCtrlRequestSeq::SerializeWithCachedSizes(
|
|
::google::protobuf::io::CodedOutputStream* output) const {
|
|
// @@protoc_insertion_point(serialize_start:iot_idl.SFesCtrlRequestSeq)
|
|
// repeated .iot_idl.SFesDoRequestPkg do_seq = 1;
|
|
for (int i = 0; i < this->do_seq_size(); i++) {
|
|
::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
|
|
1, this->do_seq(i), output);
|
|
}
|
|
|
|
// repeated .iot_idl.SFesAoRequestPkg ao_seq = 2;
|
|
for (int i = 0; i < this->ao_seq_size(); i++) {
|
|
::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
|
|
2, this->ao_seq(i), output);
|
|
}
|
|
|
|
// repeated .iot_idl.SFesMoRequestPkg mo_seq = 3;
|
|
for (int i = 0; i < this->mo_seq_size(); i++) {
|
|
::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
|
|
3, this->mo_seq(i), output);
|
|
}
|
|
|
|
if (!unknown_fields().empty()) {
|
|
::google::protobuf::internal::WireFormat::SerializeUnknownFields(
|
|
unknown_fields(), output);
|
|
}
|
|
// @@protoc_insertion_point(serialize_end:iot_idl.SFesCtrlRequestSeq)
|
|
}
|
|
|
|
::google::protobuf::uint8* SFesCtrlRequestSeq::SerializeWithCachedSizesToArray(
|
|
::google::protobuf::uint8* target) const {
|
|
// @@protoc_insertion_point(serialize_to_array_start:iot_idl.SFesCtrlRequestSeq)
|
|
// repeated .iot_idl.SFesDoRequestPkg do_seq = 1;
|
|
for (int i = 0; i < this->do_seq_size(); i++) {
|
|
target = ::google::protobuf::internal::WireFormatLite::
|
|
WriteMessageNoVirtualToArray(
|
|
1, this->do_seq(i), target);
|
|
}
|
|
|
|
// repeated .iot_idl.SFesAoRequestPkg ao_seq = 2;
|
|
for (int i = 0; i < this->ao_seq_size(); i++) {
|
|
target = ::google::protobuf::internal::WireFormatLite::
|
|
WriteMessageNoVirtualToArray(
|
|
2, this->ao_seq(i), target);
|
|
}
|
|
|
|
// repeated .iot_idl.SFesMoRequestPkg mo_seq = 3;
|
|
for (int i = 0; i < this->mo_seq_size(); i++) {
|
|
target = ::google::protobuf::internal::WireFormatLite::
|
|
WriteMessageNoVirtualToArray(
|
|
3, this->mo_seq(i), target);
|
|
}
|
|
|
|
if (!unknown_fields().empty()) {
|
|
target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
|
|
unknown_fields(), target);
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_end:iot_idl.SFesCtrlRequestSeq)
|
|
return target;
|
|
}
|
|
|
|
int SFesCtrlRequestSeq::ByteSize() const {
|
|
int total_size = 0;
|
|
|
|
// repeated .iot_idl.SFesDoRequestPkg do_seq = 1;
|
|
total_size += 1 * this->do_seq_size();
|
|
for (int i = 0; i < this->do_seq_size(); i++) {
|
|
total_size +=
|
|
::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
|
|
this->do_seq(i));
|
|
}
|
|
|
|
// repeated .iot_idl.SFesAoRequestPkg ao_seq = 2;
|
|
total_size += 1 * this->ao_seq_size();
|
|
for (int i = 0; i < this->ao_seq_size(); i++) {
|
|
total_size +=
|
|
::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
|
|
this->ao_seq(i));
|
|
}
|
|
|
|
// repeated .iot_idl.SFesMoRequestPkg mo_seq = 3;
|
|
total_size += 1 * this->mo_seq_size();
|
|
for (int i = 0; i < this->mo_seq_size(); i++) {
|
|
total_size +=
|
|
::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
|
|
this->mo_seq(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 SFesCtrlRequestSeq::MergeFrom(const ::google::protobuf::Message& from) {
|
|
GOOGLE_CHECK_NE(&from, this);
|
|
const SFesCtrlRequestSeq* source =
|
|
::google::protobuf::internal::dynamic_cast_if_available<const SFesCtrlRequestSeq*>(
|
|
&from);
|
|
if (source == NULL) {
|
|
::google::protobuf::internal::ReflectionOps::Merge(from, this);
|
|
} else {
|
|
MergeFrom(*source);
|
|
}
|
|
}
|
|
|
|
void SFesCtrlRequestSeq::MergeFrom(const SFesCtrlRequestSeq& from) {
|
|
GOOGLE_CHECK_NE(&from, this);
|
|
do_seq_.MergeFrom(from.do_seq_);
|
|
ao_seq_.MergeFrom(from.ao_seq_);
|
|
mo_seq_.MergeFrom(from.mo_seq_);
|
|
mutable_unknown_fields()->MergeFrom(from.unknown_fields());
|
|
}
|
|
|
|
void SFesCtrlRequestSeq::CopyFrom(const ::google::protobuf::Message& from) {
|
|
if (&from == this) return;
|
|
Clear();
|
|
MergeFrom(from);
|
|
}
|
|
|
|
void SFesCtrlRequestSeq::CopyFrom(const SFesCtrlRequestSeq& from) {
|
|
if (&from == this) return;
|
|
Clear();
|
|
MergeFrom(from);
|
|
}
|
|
|
|
bool SFesCtrlRequestSeq::IsInitialized() const {
|
|
|
|
if (!::google::protobuf::internal::AllAreInitialized(this->do_seq())) return false;
|
|
if (!::google::protobuf::internal::AllAreInitialized(this->ao_seq())) return false;
|
|
if (!::google::protobuf::internal::AllAreInitialized(this->mo_seq())) return false;
|
|
return true;
|
|
}
|
|
|
|
void SFesCtrlRequestSeq::Swap(SFesCtrlRequestSeq* other) {
|
|
if (other != this) {
|
|
do_seq_.Swap(&other->do_seq_);
|
|
ao_seq_.Swap(&other->ao_seq_);
|
|
mo_seq_.Swap(&other->mo_seq_);
|
|
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 SFesCtrlRequestSeq::GetMetadata() const {
|
|
protobuf_AssignDescriptorsOnce();
|
|
::google::protobuf::Metadata metadata;
|
|
metadata.descriptor = SFesCtrlRequestSeq_descriptor_;
|
|
metadata.reflection = SFesCtrlRequestSeq_reflection_;
|
|
return metadata;
|
|
}
|
|
|
|
|
|
// ===================================================================
|
|
|
|
#ifndef _MSC_VER
|
|
const int SFesCtrlReplyPkg::kStrSourceTagFieldNumber;
|
|
const int SFesCtrlReplyPkg::kStrAppTableNameFieldNumber;
|
|
const int SFesCtrlReplyPkg::kStrAppColumnNameFieldNumber;
|
|
const int SFesCtrlReplyPkg::kStrAppTagNameFieldNumber;
|
|
const int SFesCtrlReplyPkg::kNResultFieldNumber;
|
|
const int SFesCtrlReplyPkg::kLPara1FieldNumber;
|
|
const int SFesCtrlReplyPkg::kLPara2FieldNumber;
|
|
const int SFesCtrlReplyPkg::kFParaFieldNumber;
|
|
const int SFesCtrlReplyPkg::kStrParaFieldNumber;
|
|
#endif // !_MSC_VER
|
|
|
|
SFesCtrlReplyPkg::SFesCtrlReplyPkg()
|
|
: ::google::protobuf::Message() {
|
|
SharedCtor();
|
|
// @@protoc_insertion_point(constructor:iot_idl.SFesCtrlReplyPkg)
|
|
}
|
|
|
|
void SFesCtrlReplyPkg::InitAsDefaultInstance() {
|
|
}
|
|
|
|
SFesCtrlReplyPkg::SFesCtrlReplyPkg(const SFesCtrlReplyPkg& from)
|
|
: ::google::protobuf::Message() {
|
|
SharedCtor();
|
|
MergeFrom(from);
|
|
// @@protoc_insertion_point(copy_constructor:iot_idl.SFesCtrlReplyPkg)
|
|
}
|
|
|
|
void SFesCtrlReplyPkg::SharedCtor() {
|
|
::google::protobuf::internal::GetEmptyString();
|
|
_cached_size_ = 0;
|
|
strsourcetag_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
strapptablename_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
strappcolumnname_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
strapptagname_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
nresult_ = 0;
|
|
lpara1_ = GOOGLE_LONGLONG(0);
|
|
lpara2_ = GOOGLE_LONGLONG(0);
|
|
fpara_ = 0;
|
|
strpara_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
::memset(_has_bits_, 0, sizeof(_has_bits_));
|
|
}
|
|
|
|
SFesCtrlReplyPkg::~SFesCtrlReplyPkg() {
|
|
// @@protoc_insertion_point(destructor:iot_idl.SFesCtrlReplyPkg)
|
|
SharedDtor();
|
|
}
|
|
|
|
void SFesCtrlReplyPkg::SharedDtor() {
|
|
if (strsourcetag_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
|
|
delete strsourcetag_;
|
|
}
|
|
if (strapptablename_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
|
|
delete strapptablename_;
|
|
}
|
|
if (strappcolumnname_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
|
|
delete strappcolumnname_;
|
|
}
|
|
if (strapptagname_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
|
|
delete strapptagname_;
|
|
}
|
|
if (strpara_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
|
|
delete strpara_;
|
|
}
|
|
if (this != default_instance_) {
|
|
}
|
|
}
|
|
|
|
void SFesCtrlReplyPkg::SetCachedSize(int size) const {
|
|
GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
|
|
_cached_size_ = size;
|
|
GOOGLE_SAFE_CONCURRENT_WRITES_END();
|
|
}
|
|
const ::google::protobuf::Descriptor* SFesCtrlReplyPkg::descriptor() {
|
|
protobuf_AssignDescriptorsOnce();
|
|
return SFesCtrlReplyPkg_descriptor_;
|
|
}
|
|
|
|
const SFesCtrlReplyPkg& SFesCtrlReplyPkg::default_instance() {
|
|
if (default_instance_ == NULL) protobuf_AddDesc_FesMessage_2eproto();
|
|
return *default_instance_;
|
|
}
|
|
|
|
SFesCtrlReplyPkg* SFesCtrlReplyPkg::default_instance_ = NULL;
|
|
|
|
SFesCtrlReplyPkg* SFesCtrlReplyPkg::New() const {
|
|
return new SFesCtrlReplyPkg;
|
|
}
|
|
|
|
void SFesCtrlReplyPkg::Clear() {
|
|
#define OFFSET_OF_FIELD_(f) (reinterpret_cast<char*>( \
|
|
&reinterpret_cast<SFesCtrlReplyPkg*>(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_(lpara1_, lpara2_);
|
|
if (has_strsourcetag()) {
|
|
if (strsourcetag_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
|
|
strsourcetag_->clear();
|
|
}
|
|
}
|
|
if (has_strapptablename()) {
|
|
if (strapptablename_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
|
|
strapptablename_->clear();
|
|
}
|
|
}
|
|
if (has_strappcolumnname()) {
|
|
if (strappcolumnname_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
|
|
strappcolumnname_->clear();
|
|
}
|
|
}
|
|
if (has_strapptagname()) {
|
|
if (strapptagname_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
|
|
strapptagname_->clear();
|
|
}
|
|
}
|
|
}
|
|
if (has_strpara()) {
|
|
if (strpara_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
|
|
strpara_->clear();
|
|
}
|
|
}
|
|
|
|
#undef OFFSET_OF_FIELD_
|
|
#undef ZR_
|
|
|
|
::memset(_has_bits_, 0, sizeof(_has_bits_));
|
|
mutable_unknown_fields()->Clear();
|
|
}
|
|
|
|
bool SFesCtrlReplyPkg::MergePartialFromCodedStream(
|
|
::google::protobuf::io::CodedInputStream* input) {
|
|
#define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
|
|
::google::protobuf::uint32 tag;
|
|
// @@protoc_insertion_point(parse_start:iot_idl.SFesCtrlReplyPkg)
|
|
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 strSourceTag = 1;
|
|
case 1: {
|
|
if (tag == 10) {
|
|
DO_(::google::protobuf::internal::WireFormatLite::ReadString(
|
|
input, this->mutable_strsourcetag()));
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
|
|
this->strsourcetag().data(), this->strsourcetag().length(),
|
|
::google::protobuf::internal::WireFormat::PARSE,
|
|
"strsourcetag");
|
|
} else {
|
|
goto handle_unusual;
|
|
}
|
|
if (input->ExpectTag(18)) goto parse_strAppTableName;
|
|
break;
|
|
}
|
|
|
|
// required string strAppTableName = 2;
|
|
case 2: {
|
|
if (tag == 18) {
|
|
parse_strAppTableName:
|
|
DO_(::google::protobuf::internal::WireFormatLite::ReadString(
|
|
input, this->mutable_strapptablename()));
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
|
|
this->strapptablename().data(), this->strapptablename().length(),
|
|
::google::protobuf::internal::WireFormat::PARSE,
|
|
"strapptablename");
|
|
} else {
|
|
goto handle_unusual;
|
|
}
|
|
if (input->ExpectTag(26)) goto parse_strAppColumnName;
|
|
break;
|
|
}
|
|
|
|
// required string strAppColumnName = 3;
|
|
case 3: {
|
|
if (tag == 26) {
|
|
parse_strAppColumnName:
|
|
DO_(::google::protobuf::internal::WireFormatLite::ReadString(
|
|
input, this->mutable_strappcolumnname()));
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
|
|
this->strappcolumnname().data(), this->strappcolumnname().length(),
|
|
::google::protobuf::internal::WireFormat::PARSE,
|
|
"strappcolumnname");
|
|
} else {
|
|
goto handle_unusual;
|
|
}
|
|
if (input->ExpectTag(34)) goto parse_strAppTagName;
|
|
break;
|
|
}
|
|
|
|
// required string strAppTagName = 4;
|
|
case 4: {
|
|
if (tag == 34) {
|
|
parse_strAppTagName:
|
|
DO_(::google::protobuf::internal::WireFormatLite::ReadString(
|
|
input, this->mutable_strapptagname()));
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
|
|
this->strapptagname().data(), this->strapptagname().length(),
|
|
::google::protobuf::internal::WireFormat::PARSE,
|
|
"strapptagname");
|
|
} else {
|
|
goto handle_unusual;
|
|
}
|
|
if (input->ExpectTag(40)) goto parse_nResult;
|
|
break;
|
|
}
|
|
|
|
// required int32 nResult = 5;
|
|
case 5: {
|
|
if (tag == 40) {
|
|
parse_nResult:
|
|
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
|
|
::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
|
|
input, &nresult_)));
|
|
set_has_nresult();
|
|
} else {
|
|
goto handle_unusual;
|
|
}
|
|
if (input->ExpectTag(80)) goto parse_lPara1;
|
|
break;
|
|
}
|
|
|
|
// optional int64 lPara1 = 10;
|
|
case 10: {
|
|
if (tag == 80) {
|
|
parse_lPara1:
|
|
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
|
|
::google::protobuf::int64, ::google::protobuf::internal::WireFormatLite::TYPE_INT64>(
|
|
input, &lpara1_)));
|
|
set_has_lpara1();
|
|
} else {
|
|
goto handle_unusual;
|
|
}
|
|
if (input->ExpectTag(88)) goto parse_lPara2;
|
|
break;
|
|
}
|
|
|
|
// optional int64 lPara2 = 11;
|
|
case 11: {
|
|
if (tag == 88) {
|
|
parse_lPara2:
|
|
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
|
|
::google::protobuf::int64, ::google::protobuf::internal::WireFormatLite::TYPE_INT64>(
|
|
input, &lpara2_)));
|
|
set_has_lpara2();
|
|
} else {
|
|
goto handle_unusual;
|
|
}
|
|
if (input->ExpectTag(101)) goto parse_fPara;
|
|
break;
|
|
}
|
|
|
|
// optional float fPara = 12;
|
|
case 12: {
|
|
if (tag == 101) {
|
|
parse_fPara:
|
|
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
|
|
float, ::google::protobuf::internal::WireFormatLite::TYPE_FLOAT>(
|
|
input, &fpara_)));
|
|
set_has_fpara();
|
|
} else {
|
|
goto handle_unusual;
|
|
}
|
|
if (input->ExpectTag(106)) goto parse_strPara;
|
|
break;
|
|
}
|
|
|
|
// optional string strPara = 13;
|
|
case 13: {
|
|
if (tag == 106) {
|
|
parse_strPara:
|
|
DO_(::google::protobuf::internal::WireFormatLite::ReadString(
|
|
input, this->mutable_strpara()));
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
|
|
this->strpara().data(), this->strpara().length(),
|
|
::google::protobuf::internal::WireFormat::PARSE,
|
|
"strpara");
|
|
} else {
|
|
goto handle_unusual;
|
|
}
|
|
if (input->ExpectAtEnd()) goto success;
|
|
break;
|
|
}
|
|
|
|
default: {
|
|
handle_unusual:
|
|
if (tag == 0 ||
|
|
::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
|
|
::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
|
|
goto success;
|
|
}
|
|
DO_(::google::protobuf::internal::WireFormat::SkipField(
|
|
input, tag, mutable_unknown_fields()));
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
success:
|
|
// @@protoc_insertion_point(parse_success:iot_idl.SFesCtrlReplyPkg)
|
|
return true;
|
|
failure:
|
|
// @@protoc_insertion_point(parse_failure:iot_idl.SFesCtrlReplyPkg)
|
|
return false;
|
|
#undef DO_
|
|
}
|
|
|
|
void SFesCtrlReplyPkg::SerializeWithCachedSizes(
|
|
::google::protobuf::io::CodedOutputStream* output) const {
|
|
// @@protoc_insertion_point(serialize_start:iot_idl.SFesCtrlReplyPkg)
|
|
// required string strSourceTag = 1;
|
|
if (has_strsourcetag()) {
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
|
|
this->strsourcetag().data(), this->strsourcetag().length(),
|
|
::google::protobuf::internal::WireFormat::SERIALIZE,
|
|
"strsourcetag");
|
|
::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
|
|
1, this->strsourcetag(), output);
|
|
}
|
|
|
|
// required string strAppTableName = 2;
|
|
if (has_strapptablename()) {
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
|
|
this->strapptablename().data(), this->strapptablename().length(),
|
|
::google::protobuf::internal::WireFormat::SERIALIZE,
|
|
"strapptablename");
|
|
::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
|
|
2, this->strapptablename(), output);
|
|
}
|
|
|
|
// required string strAppColumnName = 3;
|
|
if (has_strappcolumnname()) {
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
|
|
this->strappcolumnname().data(), this->strappcolumnname().length(),
|
|
::google::protobuf::internal::WireFormat::SERIALIZE,
|
|
"strappcolumnname");
|
|
::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
|
|
3, this->strappcolumnname(), output);
|
|
}
|
|
|
|
// required string strAppTagName = 4;
|
|
if (has_strapptagname()) {
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
|
|
this->strapptagname().data(), this->strapptagname().length(),
|
|
::google::protobuf::internal::WireFormat::SERIALIZE,
|
|
"strapptagname");
|
|
::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
|
|
4, this->strapptagname(), output);
|
|
}
|
|
|
|
// required int32 nResult = 5;
|
|
if (has_nresult()) {
|
|
::google::protobuf::internal::WireFormatLite::WriteInt32(5, this->nresult(), output);
|
|
}
|
|
|
|
// optional int64 lPara1 = 10;
|
|
if (has_lpara1()) {
|
|
::google::protobuf::internal::WireFormatLite::WriteInt64(10, this->lpara1(), output);
|
|
}
|
|
|
|
// optional int64 lPara2 = 11;
|
|
if (has_lpara2()) {
|
|
::google::protobuf::internal::WireFormatLite::WriteInt64(11, this->lpara2(), output);
|
|
}
|
|
|
|
// optional float fPara = 12;
|
|
if (has_fpara()) {
|
|
::google::protobuf::internal::WireFormatLite::WriteFloat(12, this->fpara(), output);
|
|
}
|
|
|
|
// optional string strPara = 13;
|
|
if (has_strpara()) {
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
|
|
this->strpara().data(), this->strpara().length(),
|
|
::google::protobuf::internal::WireFormat::SERIALIZE,
|
|
"strpara");
|
|
::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
|
|
13, this->strpara(), output);
|
|
}
|
|
|
|
if (!unknown_fields().empty()) {
|
|
::google::protobuf::internal::WireFormat::SerializeUnknownFields(
|
|
unknown_fields(), output);
|
|
}
|
|
// @@protoc_insertion_point(serialize_end:iot_idl.SFesCtrlReplyPkg)
|
|
}
|
|
|
|
::google::protobuf::uint8* SFesCtrlReplyPkg::SerializeWithCachedSizesToArray(
|
|
::google::protobuf::uint8* target) const {
|
|
// @@protoc_insertion_point(serialize_to_array_start:iot_idl.SFesCtrlReplyPkg)
|
|
// required string strSourceTag = 1;
|
|
if (has_strsourcetag()) {
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
|
|
this->strsourcetag().data(), this->strsourcetag().length(),
|
|
::google::protobuf::internal::WireFormat::SERIALIZE,
|
|
"strsourcetag");
|
|
target =
|
|
::google::protobuf::internal::WireFormatLite::WriteStringToArray(
|
|
1, this->strsourcetag(), target);
|
|
}
|
|
|
|
// required string strAppTableName = 2;
|
|
if (has_strapptablename()) {
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
|
|
this->strapptablename().data(), this->strapptablename().length(),
|
|
::google::protobuf::internal::WireFormat::SERIALIZE,
|
|
"strapptablename");
|
|
target =
|
|
::google::protobuf::internal::WireFormatLite::WriteStringToArray(
|
|
2, this->strapptablename(), target);
|
|
}
|
|
|
|
// required string strAppColumnName = 3;
|
|
if (has_strappcolumnname()) {
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
|
|
this->strappcolumnname().data(), this->strappcolumnname().length(),
|
|
::google::protobuf::internal::WireFormat::SERIALIZE,
|
|
"strappcolumnname");
|
|
target =
|
|
::google::protobuf::internal::WireFormatLite::WriteStringToArray(
|
|
3, this->strappcolumnname(), target);
|
|
}
|
|
|
|
// required string strAppTagName = 4;
|
|
if (has_strapptagname()) {
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
|
|
this->strapptagname().data(), this->strapptagname().length(),
|
|
::google::protobuf::internal::WireFormat::SERIALIZE,
|
|
"strapptagname");
|
|
target =
|
|
::google::protobuf::internal::WireFormatLite::WriteStringToArray(
|
|
4, this->strapptagname(), target);
|
|
}
|
|
|
|
// required int32 nResult = 5;
|
|
if (has_nresult()) {
|
|
target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(5, this->nresult(), target);
|
|
}
|
|
|
|
// optional int64 lPara1 = 10;
|
|
if (has_lpara1()) {
|
|
target = ::google::protobuf::internal::WireFormatLite::WriteInt64ToArray(10, this->lpara1(), target);
|
|
}
|
|
|
|
// optional int64 lPara2 = 11;
|
|
if (has_lpara2()) {
|
|
target = ::google::protobuf::internal::WireFormatLite::WriteInt64ToArray(11, this->lpara2(), target);
|
|
}
|
|
|
|
// optional float fPara = 12;
|
|
if (has_fpara()) {
|
|
target = ::google::protobuf::internal::WireFormatLite::WriteFloatToArray(12, this->fpara(), target);
|
|
}
|
|
|
|
// optional string strPara = 13;
|
|
if (has_strpara()) {
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
|
|
this->strpara().data(), this->strpara().length(),
|
|
::google::protobuf::internal::WireFormat::SERIALIZE,
|
|
"strpara");
|
|
target =
|
|
::google::protobuf::internal::WireFormatLite::WriteStringToArray(
|
|
13, this->strpara(), target);
|
|
}
|
|
|
|
if (!unknown_fields().empty()) {
|
|
target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
|
|
unknown_fields(), target);
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_end:iot_idl.SFesCtrlReplyPkg)
|
|
return target;
|
|
}
|
|
|
|
int SFesCtrlReplyPkg::ByteSize() const {
|
|
int total_size = 0;
|
|
|
|
if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
|
|
// required string strSourceTag = 1;
|
|
if (has_strsourcetag()) {
|
|
total_size += 1 +
|
|
::google::protobuf::internal::WireFormatLite::StringSize(
|
|
this->strsourcetag());
|
|
}
|
|
|
|
// required string strAppTableName = 2;
|
|
if (has_strapptablename()) {
|
|
total_size += 1 +
|
|
::google::protobuf::internal::WireFormatLite::StringSize(
|
|
this->strapptablename());
|
|
}
|
|
|
|
// required string strAppColumnName = 3;
|
|
if (has_strappcolumnname()) {
|
|
total_size += 1 +
|
|
::google::protobuf::internal::WireFormatLite::StringSize(
|
|
this->strappcolumnname());
|
|
}
|
|
|
|
// required string strAppTagName = 4;
|
|
if (has_strapptagname()) {
|
|
total_size += 1 +
|
|
::google::protobuf::internal::WireFormatLite::StringSize(
|
|
this->strapptagname());
|
|
}
|
|
|
|
// required int32 nResult = 5;
|
|
if (has_nresult()) {
|
|
total_size += 1 +
|
|
::google::protobuf::internal::WireFormatLite::Int32Size(
|
|
this->nresult());
|
|
}
|
|
|
|
// optional int64 lPara1 = 10;
|
|
if (has_lpara1()) {
|
|
total_size += 1 +
|
|
::google::protobuf::internal::WireFormatLite::Int64Size(
|
|
this->lpara1());
|
|
}
|
|
|
|
// optional int64 lPara2 = 11;
|
|
if (has_lpara2()) {
|
|
total_size += 1 +
|
|
::google::protobuf::internal::WireFormatLite::Int64Size(
|
|
this->lpara2());
|
|
}
|
|
|
|
// optional float fPara = 12;
|
|
if (has_fpara()) {
|
|
total_size += 1 + 4;
|
|
}
|
|
|
|
}
|
|
if (_has_bits_[8 / 32] & (0xffu << (8 % 32))) {
|
|
// optional string strPara = 13;
|
|
if (has_strpara()) {
|
|
total_size += 1 +
|
|
::google::protobuf::internal::WireFormatLite::StringSize(
|
|
this->strpara());
|
|
}
|
|
|
|
}
|
|
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 SFesCtrlReplyPkg::MergeFrom(const ::google::protobuf::Message& from) {
|
|
GOOGLE_CHECK_NE(&from, this);
|
|
const SFesCtrlReplyPkg* source =
|
|
::google::protobuf::internal::dynamic_cast_if_available<const SFesCtrlReplyPkg*>(
|
|
&from);
|
|
if (source == NULL) {
|
|
::google::protobuf::internal::ReflectionOps::Merge(from, this);
|
|
} else {
|
|
MergeFrom(*source);
|
|
}
|
|
}
|
|
|
|
void SFesCtrlReplyPkg::MergeFrom(const SFesCtrlReplyPkg& from) {
|
|
GOOGLE_CHECK_NE(&from, this);
|
|
if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
|
|
if (from.has_strsourcetag()) {
|
|
set_strsourcetag(from.strsourcetag());
|
|
}
|
|
if (from.has_strapptablename()) {
|
|
set_strapptablename(from.strapptablename());
|
|
}
|
|
if (from.has_strappcolumnname()) {
|
|
set_strappcolumnname(from.strappcolumnname());
|
|
}
|
|
if (from.has_strapptagname()) {
|
|
set_strapptagname(from.strapptagname());
|
|
}
|
|
if (from.has_nresult()) {
|
|
set_nresult(from.nresult());
|
|
}
|
|
if (from.has_lpara1()) {
|
|
set_lpara1(from.lpara1());
|
|
}
|
|
if (from.has_lpara2()) {
|
|
set_lpara2(from.lpara2());
|
|
}
|
|
if (from.has_fpara()) {
|
|
set_fpara(from.fpara());
|
|
}
|
|
}
|
|
if (from._has_bits_[8 / 32] & (0xffu << (8 % 32))) {
|
|
if (from.has_strpara()) {
|
|
set_strpara(from.strpara());
|
|
}
|
|
}
|
|
mutable_unknown_fields()->MergeFrom(from.unknown_fields());
|
|
}
|
|
|
|
void SFesCtrlReplyPkg::CopyFrom(const ::google::protobuf::Message& from) {
|
|
if (&from == this) return;
|
|
Clear();
|
|
MergeFrom(from);
|
|
}
|
|
|
|
void SFesCtrlReplyPkg::CopyFrom(const SFesCtrlReplyPkg& from) {
|
|
if (&from == this) return;
|
|
Clear();
|
|
MergeFrom(from);
|
|
}
|
|
|
|
bool SFesCtrlReplyPkg::IsInitialized() const {
|
|
if ((_has_bits_[0] & 0x0000001f) != 0x0000001f) return false;
|
|
|
|
return true;
|
|
}
|
|
|
|
void SFesCtrlReplyPkg::Swap(SFesCtrlReplyPkg* other) {
|
|
if (other != this) {
|
|
std::swap(strsourcetag_, other->strsourcetag_);
|
|
std::swap(strapptablename_, other->strapptablename_);
|
|
std::swap(strappcolumnname_, other->strappcolumnname_);
|
|
std::swap(strapptagname_, other->strapptagname_);
|
|
std::swap(nresult_, other->nresult_);
|
|
std::swap(lpara1_, other->lpara1_);
|
|
std::swap(lpara2_, other->lpara2_);
|
|
std::swap(fpara_, other->fpara_);
|
|
std::swap(strpara_, other->strpara_);
|
|
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 SFesCtrlReplyPkg::GetMetadata() const {
|
|
protobuf_AssignDescriptorsOnce();
|
|
::google::protobuf::Metadata metadata;
|
|
metadata.descriptor = SFesCtrlReplyPkg_descriptor_;
|
|
metadata.reflection = SFesCtrlReplyPkg_reflection_;
|
|
return metadata;
|
|
}
|
|
|
|
|
|
// ===================================================================
|
|
|
|
#ifndef _MSC_VER
|
|
const int SFesCustCmdQueue::kStrKeyNameFieldNumber;
|
|
const int SFesCustCmdQueue::kStrKeyValueFieldNumber;
|
|
#endif // !_MSC_VER
|
|
|
|
SFesCustCmdQueue::SFesCustCmdQueue()
|
|
: ::google::protobuf::Message() {
|
|
SharedCtor();
|
|
// @@protoc_insertion_point(constructor:iot_idl.SFesCustCmdQueue)
|
|
}
|
|
|
|
void SFesCustCmdQueue::InitAsDefaultInstance() {
|
|
}
|
|
|
|
SFesCustCmdQueue::SFesCustCmdQueue(const SFesCustCmdQueue& from)
|
|
: ::google::protobuf::Message() {
|
|
SharedCtor();
|
|
MergeFrom(from);
|
|
// @@protoc_insertion_point(copy_constructor:iot_idl.SFesCustCmdQueue)
|
|
}
|
|
|
|
void SFesCustCmdQueue::SharedCtor() {
|
|
::google::protobuf::internal::GetEmptyString();
|
|
_cached_size_ = 0;
|
|
strkeyname_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
strkeyvalue_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
::memset(_has_bits_, 0, sizeof(_has_bits_));
|
|
}
|
|
|
|
SFesCustCmdQueue::~SFesCustCmdQueue() {
|
|
// @@protoc_insertion_point(destructor:iot_idl.SFesCustCmdQueue)
|
|
SharedDtor();
|
|
}
|
|
|
|
void SFesCustCmdQueue::SharedDtor() {
|
|
if (strkeyname_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
|
|
delete strkeyname_;
|
|
}
|
|
if (strkeyvalue_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
|
|
delete strkeyvalue_;
|
|
}
|
|
if (this != default_instance_) {
|
|
}
|
|
}
|
|
|
|
void SFesCustCmdQueue::SetCachedSize(int size) const {
|
|
GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
|
|
_cached_size_ = size;
|
|
GOOGLE_SAFE_CONCURRENT_WRITES_END();
|
|
}
|
|
const ::google::protobuf::Descriptor* SFesCustCmdQueue::descriptor() {
|
|
protobuf_AssignDescriptorsOnce();
|
|
return SFesCustCmdQueue_descriptor_;
|
|
}
|
|
|
|
const SFesCustCmdQueue& SFesCustCmdQueue::default_instance() {
|
|
if (default_instance_ == NULL) protobuf_AddDesc_FesMessage_2eproto();
|
|
return *default_instance_;
|
|
}
|
|
|
|
SFesCustCmdQueue* SFesCustCmdQueue::default_instance_ = NULL;
|
|
|
|
SFesCustCmdQueue* SFesCustCmdQueue::New() const {
|
|
return new SFesCustCmdQueue;
|
|
}
|
|
|
|
void SFesCustCmdQueue::Clear() {
|
|
if (_has_bits_[0 / 32] & 3) {
|
|
if (has_strkeyname()) {
|
|
if (strkeyname_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
|
|
strkeyname_->clear();
|
|
}
|
|
}
|
|
if (has_strkeyvalue()) {
|
|
if (strkeyvalue_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
|
|
strkeyvalue_->clear();
|
|
}
|
|
}
|
|
}
|
|
::memset(_has_bits_, 0, sizeof(_has_bits_));
|
|
mutable_unknown_fields()->Clear();
|
|
}
|
|
|
|
bool SFesCustCmdQueue::MergePartialFromCodedStream(
|
|
::google::protobuf::io::CodedInputStream* input) {
|
|
#define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
|
|
::google::protobuf::uint32 tag;
|
|
// @@protoc_insertion_point(parse_start:iot_idl.SFesCustCmdQueue)
|
|
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 strKeyName = 1;
|
|
case 1: {
|
|
if (tag == 10) {
|
|
DO_(::google::protobuf::internal::WireFormatLite::ReadString(
|
|
input, this->mutable_strkeyname()));
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
|
|
this->strkeyname().data(), this->strkeyname().length(),
|
|
::google::protobuf::internal::WireFormat::PARSE,
|
|
"strkeyname");
|
|
} else {
|
|
goto handle_unusual;
|
|
}
|
|
if (input->ExpectTag(18)) goto parse_strKeyValue;
|
|
break;
|
|
}
|
|
|
|
// required string strKeyValue = 2;
|
|
case 2: {
|
|
if (tag == 18) {
|
|
parse_strKeyValue:
|
|
DO_(::google::protobuf::internal::WireFormatLite::ReadString(
|
|
input, this->mutable_strkeyvalue()));
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
|
|
this->strkeyvalue().data(), this->strkeyvalue().length(),
|
|
::google::protobuf::internal::WireFormat::PARSE,
|
|
"strkeyvalue");
|
|
} else {
|
|
goto handle_unusual;
|
|
}
|
|
if (input->ExpectAtEnd()) goto success;
|
|
break;
|
|
}
|
|
|
|
default: {
|
|
handle_unusual:
|
|
if (tag == 0 ||
|
|
::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
|
|
::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
|
|
goto success;
|
|
}
|
|
DO_(::google::protobuf::internal::WireFormat::SkipField(
|
|
input, tag, mutable_unknown_fields()));
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
success:
|
|
// @@protoc_insertion_point(parse_success:iot_idl.SFesCustCmdQueue)
|
|
return true;
|
|
failure:
|
|
// @@protoc_insertion_point(parse_failure:iot_idl.SFesCustCmdQueue)
|
|
return false;
|
|
#undef DO_
|
|
}
|
|
|
|
void SFesCustCmdQueue::SerializeWithCachedSizes(
|
|
::google::protobuf::io::CodedOutputStream* output) const {
|
|
// @@protoc_insertion_point(serialize_start:iot_idl.SFesCustCmdQueue)
|
|
// required string strKeyName = 1;
|
|
if (has_strkeyname()) {
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
|
|
this->strkeyname().data(), this->strkeyname().length(),
|
|
::google::protobuf::internal::WireFormat::SERIALIZE,
|
|
"strkeyname");
|
|
::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
|
|
1, this->strkeyname(), output);
|
|
}
|
|
|
|
// required string strKeyValue = 2;
|
|
if (has_strkeyvalue()) {
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
|
|
this->strkeyvalue().data(), this->strkeyvalue().length(),
|
|
::google::protobuf::internal::WireFormat::SERIALIZE,
|
|
"strkeyvalue");
|
|
::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
|
|
2, this->strkeyvalue(), output);
|
|
}
|
|
|
|
if (!unknown_fields().empty()) {
|
|
::google::protobuf::internal::WireFormat::SerializeUnknownFields(
|
|
unknown_fields(), output);
|
|
}
|
|
// @@protoc_insertion_point(serialize_end:iot_idl.SFesCustCmdQueue)
|
|
}
|
|
|
|
::google::protobuf::uint8* SFesCustCmdQueue::SerializeWithCachedSizesToArray(
|
|
::google::protobuf::uint8* target) const {
|
|
// @@protoc_insertion_point(serialize_to_array_start:iot_idl.SFesCustCmdQueue)
|
|
// required string strKeyName = 1;
|
|
if (has_strkeyname()) {
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
|
|
this->strkeyname().data(), this->strkeyname().length(),
|
|
::google::protobuf::internal::WireFormat::SERIALIZE,
|
|
"strkeyname");
|
|
target =
|
|
::google::protobuf::internal::WireFormatLite::WriteStringToArray(
|
|
1, this->strkeyname(), target);
|
|
}
|
|
|
|
// required string strKeyValue = 2;
|
|
if (has_strkeyvalue()) {
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
|
|
this->strkeyvalue().data(), this->strkeyvalue().length(),
|
|
::google::protobuf::internal::WireFormat::SERIALIZE,
|
|
"strkeyvalue");
|
|
target =
|
|
::google::protobuf::internal::WireFormatLite::WriteStringToArray(
|
|
2, this->strkeyvalue(), target);
|
|
}
|
|
|
|
if (!unknown_fields().empty()) {
|
|
target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
|
|
unknown_fields(), target);
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_end:iot_idl.SFesCustCmdQueue)
|
|
return target;
|
|
}
|
|
|
|
int SFesCustCmdQueue::ByteSize() const {
|
|
int total_size = 0;
|
|
|
|
if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
|
|
// required string strKeyName = 1;
|
|
if (has_strkeyname()) {
|
|
total_size += 1 +
|
|
::google::protobuf::internal::WireFormatLite::StringSize(
|
|
this->strkeyname());
|
|
}
|
|
|
|
// required string strKeyValue = 2;
|
|
if (has_strkeyvalue()) {
|
|
total_size += 1 +
|
|
::google::protobuf::internal::WireFormatLite::StringSize(
|
|
this->strkeyvalue());
|
|
}
|
|
|
|
}
|
|
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 SFesCustCmdQueue::MergeFrom(const ::google::protobuf::Message& from) {
|
|
GOOGLE_CHECK_NE(&from, this);
|
|
const SFesCustCmdQueue* source =
|
|
::google::protobuf::internal::dynamic_cast_if_available<const SFesCustCmdQueue*>(
|
|
&from);
|
|
if (source == NULL) {
|
|
::google::protobuf::internal::ReflectionOps::Merge(from, this);
|
|
} else {
|
|
MergeFrom(*source);
|
|
}
|
|
}
|
|
|
|
void SFesCustCmdQueue::MergeFrom(const SFesCustCmdQueue& from) {
|
|
GOOGLE_CHECK_NE(&from, this);
|
|
if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
|
|
if (from.has_strkeyname()) {
|
|
set_strkeyname(from.strkeyname());
|
|
}
|
|
if (from.has_strkeyvalue()) {
|
|
set_strkeyvalue(from.strkeyvalue());
|
|
}
|
|
}
|
|
mutable_unknown_fields()->MergeFrom(from.unknown_fields());
|
|
}
|
|
|
|
void SFesCustCmdQueue::CopyFrom(const ::google::protobuf::Message& from) {
|
|
if (&from == this) return;
|
|
Clear();
|
|
MergeFrom(from);
|
|
}
|
|
|
|
void SFesCustCmdQueue::CopyFrom(const SFesCustCmdQueue& from) {
|
|
if (&from == this) return;
|
|
Clear();
|
|
MergeFrom(from);
|
|
}
|
|
|
|
bool SFesCustCmdQueue::IsInitialized() const {
|
|
if ((_has_bits_[0] & 0x00000003) != 0x00000003) return false;
|
|
|
|
return true;
|
|
}
|
|
|
|
void SFesCustCmdQueue::Swap(SFesCustCmdQueue* other) {
|
|
if (other != this) {
|
|
std::swap(strkeyname_, other->strkeyname_);
|
|
std::swap(strkeyvalue_, other->strkeyvalue_);
|
|
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 SFesCustCmdQueue::GetMetadata() const {
|
|
protobuf_AssignDescriptorsOnce();
|
|
::google::protobuf::Metadata metadata;
|
|
metadata.descriptor = SFesCustCmdQueue_descriptor_;
|
|
metadata.reflection = SFesCustCmdQueue_reflection_;
|
|
return metadata;
|
|
}
|
|
|
|
|
|
// ===================================================================
|
|
|
|
#ifndef _MSC_VER
|
|
const int SFesCustCmdRequestPkg::kStrSourceTagFieldNumber;
|
|
const int SFesCustCmdRequestPkg::kStrAppTableNameFieldNumber;
|
|
const int SFesCustCmdRequestPkg::kStrAppTagNameFieldNumber;
|
|
const int SFesCustCmdRequestPkg::kStrAppColumnNameFieldNumber;
|
|
const int SFesCustCmdRequestPkg::kStrRtuNameFieldNumber;
|
|
const int SFesCustCmdRequestPkg::kNDevIdFieldNumber;
|
|
const int SFesCustCmdRequestPkg::kNDataLenFieldNumber;
|
|
const int SFesCustCmdRequestPkg::kSeqCustCmdDataFieldNumber;
|
|
#endif // !_MSC_VER
|
|
|
|
SFesCustCmdRequestPkg::SFesCustCmdRequestPkg()
|
|
: ::google::protobuf::Message() {
|
|
SharedCtor();
|
|
// @@protoc_insertion_point(constructor:iot_idl.SFesCustCmdRequestPkg)
|
|
}
|
|
|
|
void SFesCustCmdRequestPkg::InitAsDefaultInstance() {
|
|
}
|
|
|
|
SFesCustCmdRequestPkg::SFesCustCmdRequestPkg(const SFesCustCmdRequestPkg& from)
|
|
: ::google::protobuf::Message() {
|
|
SharedCtor();
|
|
MergeFrom(from);
|
|
// @@protoc_insertion_point(copy_constructor:iot_idl.SFesCustCmdRequestPkg)
|
|
}
|
|
|
|
void SFesCustCmdRequestPkg::SharedCtor() {
|
|
::google::protobuf::internal::GetEmptyString();
|
|
_cached_size_ = 0;
|
|
strsourcetag_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
strapptablename_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
strapptagname_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
strappcolumnname_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
strrtuname_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
ndevid_ = 0;
|
|
ndatalen_ = 0;
|
|
::memset(_has_bits_, 0, sizeof(_has_bits_));
|
|
}
|
|
|
|
SFesCustCmdRequestPkg::~SFesCustCmdRequestPkg() {
|
|
// @@protoc_insertion_point(destructor:iot_idl.SFesCustCmdRequestPkg)
|
|
SharedDtor();
|
|
}
|
|
|
|
void SFesCustCmdRequestPkg::SharedDtor() {
|
|
if (strsourcetag_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
|
|
delete strsourcetag_;
|
|
}
|
|
if (strapptablename_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
|
|
delete strapptablename_;
|
|
}
|
|
if (strapptagname_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
|
|
delete strapptagname_;
|
|
}
|
|
if (strappcolumnname_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
|
|
delete strappcolumnname_;
|
|
}
|
|
if (strrtuname_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
|
|
delete strrtuname_;
|
|
}
|
|
if (this != default_instance_) {
|
|
}
|
|
}
|
|
|
|
void SFesCustCmdRequestPkg::SetCachedSize(int size) const {
|
|
GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
|
|
_cached_size_ = size;
|
|
GOOGLE_SAFE_CONCURRENT_WRITES_END();
|
|
}
|
|
const ::google::protobuf::Descriptor* SFesCustCmdRequestPkg::descriptor() {
|
|
protobuf_AssignDescriptorsOnce();
|
|
return SFesCustCmdRequestPkg_descriptor_;
|
|
}
|
|
|
|
const SFesCustCmdRequestPkg& SFesCustCmdRequestPkg::default_instance() {
|
|
if (default_instance_ == NULL) protobuf_AddDesc_FesMessage_2eproto();
|
|
return *default_instance_;
|
|
}
|
|
|
|
SFesCustCmdRequestPkg* SFesCustCmdRequestPkg::default_instance_ = NULL;
|
|
|
|
SFesCustCmdRequestPkg* SFesCustCmdRequestPkg::New() const {
|
|
return new SFesCustCmdRequestPkg;
|
|
}
|
|
|
|
void SFesCustCmdRequestPkg::Clear() {
|
|
#define OFFSET_OF_FIELD_(f) (reinterpret_cast<char*>( \
|
|
&reinterpret_cast<SFesCustCmdRequestPkg*>(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] & 127) {
|
|
ZR_(ndevid_, ndatalen_);
|
|
if (has_strsourcetag()) {
|
|
if (strsourcetag_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
|
|
strsourcetag_->clear();
|
|
}
|
|
}
|
|
if (has_strapptablename()) {
|
|
if (strapptablename_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
|
|
strapptablename_->clear();
|
|
}
|
|
}
|
|
if (has_strapptagname()) {
|
|
if (strapptagname_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
|
|
strapptagname_->clear();
|
|
}
|
|
}
|
|
if (has_strappcolumnname()) {
|
|
if (strappcolumnname_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
|
|
strappcolumnname_->clear();
|
|
}
|
|
}
|
|
if (has_strrtuname()) {
|
|
if (strrtuname_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
|
|
strrtuname_->clear();
|
|
}
|
|
}
|
|
}
|
|
|
|
#undef OFFSET_OF_FIELD_
|
|
#undef ZR_
|
|
|
|
seqcustcmddata_.Clear();
|
|
::memset(_has_bits_, 0, sizeof(_has_bits_));
|
|
mutable_unknown_fields()->Clear();
|
|
}
|
|
|
|
bool SFesCustCmdRequestPkg::MergePartialFromCodedStream(
|
|
::google::protobuf::io::CodedInputStream* input) {
|
|
#define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
|
|
::google::protobuf::uint32 tag;
|
|
// @@protoc_insertion_point(parse_start:iot_idl.SFesCustCmdRequestPkg)
|
|
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 strSourceTag = 1;
|
|
case 1: {
|
|
if (tag == 10) {
|
|
DO_(::google::protobuf::internal::WireFormatLite::ReadString(
|
|
input, this->mutable_strsourcetag()));
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
|
|
this->strsourcetag().data(), this->strsourcetag().length(),
|
|
::google::protobuf::internal::WireFormat::PARSE,
|
|
"strsourcetag");
|
|
} else {
|
|
goto handle_unusual;
|
|
}
|
|
if (input->ExpectTag(18)) goto parse_strAppTableName;
|
|
break;
|
|
}
|
|
|
|
// required string strAppTableName = 2;
|
|
case 2: {
|
|
if (tag == 18) {
|
|
parse_strAppTableName:
|
|
DO_(::google::protobuf::internal::WireFormatLite::ReadString(
|
|
input, this->mutable_strapptablename()));
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
|
|
this->strapptablename().data(), this->strapptablename().length(),
|
|
::google::protobuf::internal::WireFormat::PARSE,
|
|
"strapptablename");
|
|
} else {
|
|
goto handle_unusual;
|
|
}
|
|
if (input->ExpectTag(26)) goto parse_strAppTagName;
|
|
break;
|
|
}
|
|
|
|
// required string strAppTagName = 3;
|
|
case 3: {
|
|
if (tag == 26) {
|
|
parse_strAppTagName:
|
|
DO_(::google::protobuf::internal::WireFormatLite::ReadString(
|
|
input, this->mutable_strapptagname()));
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
|
|
this->strapptagname().data(), this->strapptagname().length(),
|
|
::google::protobuf::internal::WireFormat::PARSE,
|
|
"strapptagname");
|
|
} else {
|
|
goto handle_unusual;
|
|
}
|
|
if (input->ExpectTag(34)) goto parse_strAppColumnName;
|
|
break;
|
|
}
|
|
|
|
// required string strAppColumnName = 4;
|
|
case 4: {
|
|
if (tag == 34) {
|
|
parse_strAppColumnName:
|
|
DO_(::google::protobuf::internal::WireFormatLite::ReadString(
|
|
input, this->mutable_strappcolumnname()));
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
|
|
this->strappcolumnname().data(), this->strappcolumnname().length(),
|
|
::google::protobuf::internal::WireFormat::PARSE,
|
|
"strappcolumnname");
|
|
} else {
|
|
goto handle_unusual;
|
|
}
|
|
if (input->ExpectTag(42)) goto parse_strRtuName;
|
|
break;
|
|
}
|
|
|
|
// required string strRtuName = 5;
|
|
case 5: {
|
|
if (tag == 42) {
|
|
parse_strRtuName:
|
|
DO_(::google::protobuf::internal::WireFormatLite::ReadString(
|
|
input, this->mutable_strrtuname()));
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
|
|
this->strrtuname().data(), this->strrtuname().length(),
|
|
::google::protobuf::internal::WireFormat::PARSE,
|
|
"strrtuname");
|
|
} else {
|
|
goto handle_unusual;
|
|
}
|
|
if (input->ExpectTag(48)) goto parse_nDevId;
|
|
break;
|
|
}
|
|
|
|
// optional int32 nDevId = 6;
|
|
case 6: {
|
|
if (tag == 48) {
|
|
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(56)) goto parse_nDataLen;
|
|
break;
|
|
}
|
|
|
|
// optional int32 nDataLen = 7;
|
|
case 7: {
|
|
if (tag == 56) {
|
|
parse_nDataLen:
|
|
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
|
|
::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
|
|
input, &ndatalen_)));
|
|
set_has_ndatalen();
|
|
} else {
|
|
goto handle_unusual;
|
|
}
|
|
if (input->ExpectTag(66)) goto parse_seqCustCmdData;
|
|
break;
|
|
}
|
|
|
|
// repeated .iot_idl.SFesCustCmdQueue seqCustCmdData = 8;
|
|
case 8: {
|
|
if (tag == 66) {
|
|
parse_seqCustCmdData:
|
|
DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
|
|
input, add_seqcustcmddata()));
|
|
} else {
|
|
goto handle_unusual;
|
|
}
|
|
if (input->ExpectTag(66)) goto parse_seqCustCmdData;
|
|
if (input->ExpectAtEnd()) goto success;
|
|
break;
|
|
}
|
|
|
|
default: {
|
|
handle_unusual:
|
|
if (tag == 0 ||
|
|
::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
|
|
::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
|
|
goto success;
|
|
}
|
|
DO_(::google::protobuf::internal::WireFormat::SkipField(
|
|
input, tag, mutable_unknown_fields()));
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
success:
|
|
// @@protoc_insertion_point(parse_success:iot_idl.SFesCustCmdRequestPkg)
|
|
return true;
|
|
failure:
|
|
// @@protoc_insertion_point(parse_failure:iot_idl.SFesCustCmdRequestPkg)
|
|
return false;
|
|
#undef DO_
|
|
}
|
|
|
|
void SFesCustCmdRequestPkg::SerializeWithCachedSizes(
|
|
::google::protobuf::io::CodedOutputStream* output) const {
|
|
// @@protoc_insertion_point(serialize_start:iot_idl.SFesCustCmdRequestPkg)
|
|
// required string strSourceTag = 1;
|
|
if (has_strsourcetag()) {
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
|
|
this->strsourcetag().data(), this->strsourcetag().length(),
|
|
::google::protobuf::internal::WireFormat::SERIALIZE,
|
|
"strsourcetag");
|
|
::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
|
|
1, this->strsourcetag(), output);
|
|
}
|
|
|
|
// required string strAppTableName = 2;
|
|
if (has_strapptablename()) {
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
|
|
this->strapptablename().data(), this->strapptablename().length(),
|
|
::google::protobuf::internal::WireFormat::SERIALIZE,
|
|
"strapptablename");
|
|
::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
|
|
2, this->strapptablename(), output);
|
|
}
|
|
|
|
// required string strAppTagName = 3;
|
|
if (has_strapptagname()) {
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
|
|
this->strapptagname().data(), this->strapptagname().length(),
|
|
::google::protobuf::internal::WireFormat::SERIALIZE,
|
|
"strapptagname");
|
|
::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
|
|
3, this->strapptagname(), output);
|
|
}
|
|
|
|
// required string strAppColumnName = 4;
|
|
if (has_strappcolumnname()) {
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
|
|
this->strappcolumnname().data(), this->strappcolumnname().length(),
|
|
::google::protobuf::internal::WireFormat::SERIALIZE,
|
|
"strappcolumnname");
|
|
::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
|
|
4, this->strappcolumnname(), output);
|
|
}
|
|
|
|
// required string strRtuName = 5;
|
|
if (has_strrtuname()) {
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
|
|
this->strrtuname().data(), this->strrtuname().length(),
|
|
::google::protobuf::internal::WireFormat::SERIALIZE,
|
|
"strrtuname");
|
|
::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
|
|
5, this->strrtuname(), output);
|
|
}
|
|
|
|
// optional int32 nDevId = 6;
|
|
if (has_ndevid()) {
|
|
::google::protobuf::internal::WireFormatLite::WriteInt32(6, this->ndevid(), output);
|
|
}
|
|
|
|
// optional int32 nDataLen = 7;
|
|
if (has_ndatalen()) {
|
|
::google::protobuf::internal::WireFormatLite::WriteInt32(7, this->ndatalen(), output);
|
|
}
|
|
|
|
// repeated .iot_idl.SFesCustCmdQueue seqCustCmdData = 8;
|
|
for (int i = 0; i < this->seqcustcmddata_size(); i++) {
|
|
::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
|
|
8, this->seqcustcmddata(i), output);
|
|
}
|
|
|
|
if (!unknown_fields().empty()) {
|
|
::google::protobuf::internal::WireFormat::SerializeUnknownFields(
|
|
unknown_fields(), output);
|
|
}
|
|
// @@protoc_insertion_point(serialize_end:iot_idl.SFesCustCmdRequestPkg)
|
|
}
|
|
|
|
::google::protobuf::uint8* SFesCustCmdRequestPkg::SerializeWithCachedSizesToArray(
|
|
::google::protobuf::uint8* target) const {
|
|
// @@protoc_insertion_point(serialize_to_array_start:iot_idl.SFesCustCmdRequestPkg)
|
|
// required string strSourceTag = 1;
|
|
if (has_strsourcetag()) {
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
|
|
this->strsourcetag().data(), this->strsourcetag().length(),
|
|
::google::protobuf::internal::WireFormat::SERIALIZE,
|
|
"strsourcetag");
|
|
target =
|
|
::google::protobuf::internal::WireFormatLite::WriteStringToArray(
|
|
1, this->strsourcetag(), target);
|
|
}
|
|
|
|
// required string strAppTableName = 2;
|
|
if (has_strapptablename()) {
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
|
|
this->strapptablename().data(), this->strapptablename().length(),
|
|
::google::protobuf::internal::WireFormat::SERIALIZE,
|
|
"strapptablename");
|
|
target =
|
|
::google::protobuf::internal::WireFormatLite::WriteStringToArray(
|
|
2, this->strapptablename(), target);
|
|
}
|
|
|
|
// required string strAppTagName = 3;
|
|
if (has_strapptagname()) {
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
|
|
this->strapptagname().data(), this->strapptagname().length(),
|
|
::google::protobuf::internal::WireFormat::SERIALIZE,
|
|
"strapptagname");
|
|
target =
|
|
::google::protobuf::internal::WireFormatLite::WriteStringToArray(
|
|
3, this->strapptagname(), target);
|
|
}
|
|
|
|
// required string strAppColumnName = 4;
|
|
if (has_strappcolumnname()) {
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
|
|
this->strappcolumnname().data(), this->strappcolumnname().length(),
|
|
::google::protobuf::internal::WireFormat::SERIALIZE,
|
|
"strappcolumnname");
|
|
target =
|
|
::google::protobuf::internal::WireFormatLite::WriteStringToArray(
|
|
4, this->strappcolumnname(), target);
|
|
}
|
|
|
|
// required string strRtuName = 5;
|
|
if (has_strrtuname()) {
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
|
|
this->strrtuname().data(), this->strrtuname().length(),
|
|
::google::protobuf::internal::WireFormat::SERIALIZE,
|
|
"strrtuname");
|
|
target =
|
|
::google::protobuf::internal::WireFormatLite::WriteStringToArray(
|
|
5, this->strrtuname(), target);
|
|
}
|
|
|
|
// optional int32 nDevId = 6;
|
|
if (has_ndevid()) {
|
|
target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(6, this->ndevid(), target);
|
|
}
|
|
|
|
// optional int32 nDataLen = 7;
|
|
if (has_ndatalen()) {
|
|
target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(7, this->ndatalen(), target);
|
|
}
|
|
|
|
// repeated .iot_idl.SFesCustCmdQueue seqCustCmdData = 8;
|
|
for (int i = 0; i < this->seqcustcmddata_size(); i++) {
|
|
target = ::google::protobuf::internal::WireFormatLite::
|
|
WriteMessageNoVirtualToArray(
|
|
8, this->seqcustcmddata(i), target);
|
|
}
|
|
|
|
if (!unknown_fields().empty()) {
|
|
target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
|
|
unknown_fields(), target);
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_end:iot_idl.SFesCustCmdRequestPkg)
|
|
return target;
|
|
}
|
|
|
|
int SFesCustCmdRequestPkg::ByteSize() const {
|
|
int total_size = 0;
|
|
|
|
if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
|
|
// required string strSourceTag = 1;
|
|
if (has_strsourcetag()) {
|
|
total_size += 1 +
|
|
::google::protobuf::internal::WireFormatLite::StringSize(
|
|
this->strsourcetag());
|
|
}
|
|
|
|
// required string strAppTableName = 2;
|
|
if (has_strapptablename()) {
|
|
total_size += 1 +
|
|
::google::protobuf::internal::WireFormatLite::StringSize(
|
|
this->strapptablename());
|
|
}
|
|
|
|
// required string strAppTagName = 3;
|
|
if (has_strapptagname()) {
|
|
total_size += 1 +
|
|
::google::protobuf::internal::WireFormatLite::StringSize(
|
|
this->strapptagname());
|
|
}
|
|
|
|
// required string strAppColumnName = 4;
|
|
if (has_strappcolumnname()) {
|
|
total_size += 1 +
|
|
::google::protobuf::internal::WireFormatLite::StringSize(
|
|
this->strappcolumnname());
|
|
}
|
|
|
|
// required string strRtuName = 5;
|
|
if (has_strrtuname()) {
|
|
total_size += 1 +
|
|
::google::protobuf::internal::WireFormatLite::StringSize(
|
|
this->strrtuname());
|
|
}
|
|
|
|
// optional int32 nDevId = 6;
|
|
if (has_ndevid()) {
|
|
total_size += 1 +
|
|
::google::protobuf::internal::WireFormatLite::Int32Size(
|
|
this->ndevid());
|
|
}
|
|
|
|
// optional int32 nDataLen = 7;
|
|
if (has_ndatalen()) {
|
|
total_size += 1 +
|
|
::google::protobuf::internal::WireFormatLite::Int32Size(
|
|
this->ndatalen());
|
|
}
|
|
|
|
}
|
|
// repeated .iot_idl.SFesCustCmdQueue seqCustCmdData = 8;
|
|
total_size += 1 * this->seqcustcmddata_size();
|
|
for (int i = 0; i < this->seqcustcmddata_size(); i++) {
|
|
total_size +=
|
|
::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
|
|
this->seqcustcmddata(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 SFesCustCmdRequestPkg::MergeFrom(const ::google::protobuf::Message& from) {
|
|
GOOGLE_CHECK_NE(&from, this);
|
|
const SFesCustCmdRequestPkg* source =
|
|
::google::protobuf::internal::dynamic_cast_if_available<const SFesCustCmdRequestPkg*>(
|
|
&from);
|
|
if (source == NULL) {
|
|
::google::protobuf::internal::ReflectionOps::Merge(from, this);
|
|
} else {
|
|
MergeFrom(*source);
|
|
}
|
|
}
|
|
|
|
void SFesCustCmdRequestPkg::MergeFrom(const SFesCustCmdRequestPkg& from) {
|
|
GOOGLE_CHECK_NE(&from, this);
|
|
seqcustcmddata_.MergeFrom(from.seqcustcmddata_);
|
|
if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
|
|
if (from.has_strsourcetag()) {
|
|
set_strsourcetag(from.strsourcetag());
|
|
}
|
|
if (from.has_strapptablename()) {
|
|
set_strapptablename(from.strapptablename());
|
|
}
|
|
if (from.has_strapptagname()) {
|
|
set_strapptagname(from.strapptagname());
|
|
}
|
|
if (from.has_strappcolumnname()) {
|
|
set_strappcolumnname(from.strappcolumnname());
|
|
}
|
|
if (from.has_strrtuname()) {
|
|
set_strrtuname(from.strrtuname());
|
|
}
|
|
if (from.has_ndevid()) {
|
|
set_ndevid(from.ndevid());
|
|
}
|
|
if (from.has_ndatalen()) {
|
|
set_ndatalen(from.ndatalen());
|
|
}
|
|
}
|
|
mutable_unknown_fields()->MergeFrom(from.unknown_fields());
|
|
}
|
|
|
|
void SFesCustCmdRequestPkg::CopyFrom(const ::google::protobuf::Message& from) {
|
|
if (&from == this) return;
|
|
Clear();
|
|
MergeFrom(from);
|
|
}
|
|
|
|
void SFesCustCmdRequestPkg::CopyFrom(const SFesCustCmdRequestPkg& from) {
|
|
if (&from == this) return;
|
|
Clear();
|
|
MergeFrom(from);
|
|
}
|
|
|
|
bool SFesCustCmdRequestPkg::IsInitialized() const {
|
|
if ((_has_bits_[0] & 0x0000001f) != 0x0000001f) return false;
|
|
|
|
if (!::google::protobuf::internal::AllAreInitialized(this->seqcustcmddata())) return false;
|
|
return true;
|
|
}
|
|
|
|
void SFesCustCmdRequestPkg::Swap(SFesCustCmdRequestPkg* other) {
|
|
if (other != this) {
|
|
std::swap(strsourcetag_, other->strsourcetag_);
|
|
std::swap(strapptablename_, other->strapptablename_);
|
|
std::swap(strapptagname_, other->strapptagname_);
|
|
std::swap(strappcolumnname_, other->strappcolumnname_);
|
|
std::swap(strrtuname_, other->strrtuname_);
|
|
std::swap(ndevid_, other->ndevid_);
|
|
std::swap(ndatalen_, other->ndatalen_);
|
|
seqcustcmddata_.Swap(&other->seqcustcmddata_);
|
|
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 SFesCustCmdRequestPkg::GetMetadata() const {
|
|
protobuf_AssignDescriptorsOnce();
|
|
::google::protobuf::Metadata metadata;
|
|
metadata.descriptor = SFesCustCmdRequestPkg_descriptor_;
|
|
metadata.reflection = SFesCustCmdRequestPkg_reflection_;
|
|
return metadata;
|
|
}
|
|
|
|
|
|
// ===================================================================
|
|
|
|
#ifndef _MSC_VER
|
|
const int SFesCustCmdReplyPkg::kStrSourceTagFieldNumber;
|
|
const int SFesCustCmdReplyPkg::kStrAppTableNameFieldNumber;
|
|
const int SFesCustCmdReplyPkg::kStrAppTagNameFieldNumber;
|
|
const int SFesCustCmdReplyPkg::kStrAppColumnNameFieldNumber;
|
|
const int SFesCustCmdReplyPkg::kStrRtuNameFieldNumber;
|
|
const int SFesCustCmdReplyPkg::kNDevIdFieldNumber;
|
|
const int SFesCustCmdReplyPkg::kNStatusFieldNumber;
|
|
const int SFesCustCmdReplyPkg::kNDataLenFieldNumber;
|
|
const int SFesCustCmdReplyPkg::kSeqCustCmdDataFieldNumber;
|
|
const int SFesCustCmdReplyPkg::kNResultFieldNumber;
|
|
const int SFesCustCmdReplyPkg::kStrRetResultFieldNumber;
|
|
#endif // !_MSC_VER
|
|
|
|
SFesCustCmdReplyPkg::SFesCustCmdReplyPkg()
|
|
: ::google::protobuf::Message() {
|
|
SharedCtor();
|
|
// @@protoc_insertion_point(constructor:iot_idl.SFesCustCmdReplyPkg)
|
|
}
|
|
|
|
void SFesCustCmdReplyPkg::InitAsDefaultInstance() {
|
|
}
|
|
|
|
SFesCustCmdReplyPkg::SFesCustCmdReplyPkg(const SFesCustCmdReplyPkg& from)
|
|
: ::google::protobuf::Message() {
|
|
SharedCtor();
|
|
MergeFrom(from);
|
|
// @@protoc_insertion_point(copy_constructor:iot_idl.SFesCustCmdReplyPkg)
|
|
}
|
|
|
|
void SFesCustCmdReplyPkg::SharedCtor() {
|
|
::google::protobuf::internal::GetEmptyString();
|
|
_cached_size_ = 0;
|
|
strsourcetag_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
strapptablename_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
strapptagname_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
strappcolumnname_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
strrtuname_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
ndevid_ = 0;
|
|
nstatus_ = 0;
|
|
ndatalen_ = 0;
|
|
nresult_ = 0;
|
|
strretresult_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
::memset(_has_bits_, 0, sizeof(_has_bits_));
|
|
}
|
|
|
|
SFesCustCmdReplyPkg::~SFesCustCmdReplyPkg() {
|
|
// @@protoc_insertion_point(destructor:iot_idl.SFesCustCmdReplyPkg)
|
|
SharedDtor();
|
|
}
|
|
|
|
void SFesCustCmdReplyPkg::SharedDtor() {
|
|
if (strsourcetag_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
|
|
delete strsourcetag_;
|
|
}
|
|
if (strapptablename_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
|
|
delete strapptablename_;
|
|
}
|
|
if (strapptagname_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
|
|
delete strapptagname_;
|
|
}
|
|
if (strappcolumnname_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
|
|
delete strappcolumnname_;
|
|
}
|
|
if (strrtuname_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
|
|
delete strrtuname_;
|
|
}
|
|
if (strretresult_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
|
|
delete strretresult_;
|
|
}
|
|
if (this != default_instance_) {
|
|
}
|
|
}
|
|
|
|
void SFesCustCmdReplyPkg::SetCachedSize(int size) const {
|
|
GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
|
|
_cached_size_ = size;
|
|
GOOGLE_SAFE_CONCURRENT_WRITES_END();
|
|
}
|
|
const ::google::protobuf::Descriptor* SFesCustCmdReplyPkg::descriptor() {
|
|
protobuf_AssignDescriptorsOnce();
|
|
return SFesCustCmdReplyPkg_descriptor_;
|
|
}
|
|
|
|
const SFesCustCmdReplyPkg& SFesCustCmdReplyPkg::default_instance() {
|
|
if (default_instance_ == NULL) protobuf_AddDesc_FesMessage_2eproto();
|
|
return *default_instance_;
|
|
}
|
|
|
|
SFesCustCmdReplyPkg* SFesCustCmdReplyPkg::default_instance_ = NULL;
|
|
|
|
SFesCustCmdReplyPkg* SFesCustCmdReplyPkg::New() const {
|
|
return new SFesCustCmdReplyPkg;
|
|
}
|
|
|
|
void SFesCustCmdReplyPkg::Clear() {
|
|
#define OFFSET_OF_FIELD_(f) (reinterpret_cast<char*>( \
|
|
&reinterpret_cast<SFesCustCmdReplyPkg*>(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_(ndevid_, nstatus_);
|
|
if (has_strsourcetag()) {
|
|
if (strsourcetag_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
|
|
strsourcetag_->clear();
|
|
}
|
|
}
|
|
if (has_strapptablename()) {
|
|
if (strapptablename_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
|
|
strapptablename_->clear();
|
|
}
|
|
}
|
|
if (has_strapptagname()) {
|
|
if (strapptagname_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
|
|
strapptagname_->clear();
|
|
}
|
|
}
|
|
if (has_strappcolumnname()) {
|
|
if (strappcolumnname_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
|
|
strappcolumnname_->clear();
|
|
}
|
|
}
|
|
if (has_strrtuname()) {
|
|
if (strrtuname_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
|
|
strrtuname_->clear();
|
|
}
|
|
}
|
|
ndatalen_ = 0;
|
|
}
|
|
if (_has_bits_[8 / 32] & 1536) {
|
|
nresult_ = 0;
|
|
if (has_strretresult()) {
|
|
if (strretresult_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
|
|
strretresult_->clear();
|
|
}
|
|
}
|
|
}
|
|
|
|
#undef OFFSET_OF_FIELD_
|
|
#undef ZR_
|
|
|
|
seqcustcmddata_.Clear();
|
|
::memset(_has_bits_, 0, sizeof(_has_bits_));
|
|
mutable_unknown_fields()->Clear();
|
|
}
|
|
|
|
bool SFesCustCmdReplyPkg::MergePartialFromCodedStream(
|
|
::google::protobuf::io::CodedInputStream* input) {
|
|
#define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
|
|
::google::protobuf::uint32 tag;
|
|
// @@protoc_insertion_point(parse_start:iot_idl.SFesCustCmdReplyPkg)
|
|
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 strSourceTag = 1;
|
|
case 1: {
|
|
if (tag == 10) {
|
|
DO_(::google::protobuf::internal::WireFormatLite::ReadString(
|
|
input, this->mutable_strsourcetag()));
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
|
|
this->strsourcetag().data(), this->strsourcetag().length(),
|
|
::google::protobuf::internal::WireFormat::PARSE,
|
|
"strsourcetag");
|
|
} else {
|
|
goto handle_unusual;
|
|
}
|
|
if (input->ExpectTag(18)) goto parse_strAppTableName;
|
|
break;
|
|
}
|
|
|
|
// required string strAppTableName = 2;
|
|
case 2: {
|
|
if (tag == 18) {
|
|
parse_strAppTableName:
|
|
DO_(::google::protobuf::internal::WireFormatLite::ReadString(
|
|
input, this->mutable_strapptablename()));
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
|
|
this->strapptablename().data(), this->strapptablename().length(),
|
|
::google::protobuf::internal::WireFormat::PARSE,
|
|
"strapptablename");
|
|
} else {
|
|
goto handle_unusual;
|
|
}
|
|
if (input->ExpectTag(26)) goto parse_strAppColumnName;
|
|
break;
|
|
}
|
|
|
|
// required string strAppColumnName = 3;
|
|
case 3: {
|
|
if (tag == 26) {
|
|
parse_strAppColumnName:
|
|
DO_(::google::protobuf::internal::WireFormatLite::ReadString(
|
|
input, this->mutable_strappcolumnname()));
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
|
|
this->strappcolumnname().data(), this->strappcolumnname().length(),
|
|
::google::protobuf::internal::WireFormat::PARSE,
|
|
"strappcolumnname");
|
|
} else {
|
|
goto handle_unusual;
|
|
}
|
|
if (input->ExpectTag(34)) goto parse_strAppTagName;
|
|
break;
|
|
}
|
|
|
|
// required string strAppTagName = 4;
|
|
case 4: {
|
|
if (tag == 34) {
|
|
parse_strAppTagName:
|
|
DO_(::google::protobuf::internal::WireFormatLite::ReadString(
|
|
input, this->mutable_strapptagname()));
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
|
|
this->strapptagname().data(), this->strapptagname().length(),
|
|
::google::protobuf::internal::WireFormat::PARSE,
|
|
"strapptagname");
|
|
} else {
|
|
goto handle_unusual;
|
|
}
|
|
if (input->ExpectTag(42)) goto parse_strRtuName;
|
|
break;
|
|
}
|
|
|
|
// required string strRtuName = 5;
|
|
case 5: {
|
|
if (tag == 42) {
|
|
parse_strRtuName:
|
|
DO_(::google::protobuf::internal::WireFormatLite::ReadString(
|
|
input, this->mutable_strrtuname()));
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
|
|
this->strrtuname().data(), this->strrtuname().length(),
|
|
::google::protobuf::internal::WireFormat::PARSE,
|
|
"strrtuname");
|
|
} else {
|
|
goto handle_unusual;
|
|
}
|
|
if (input->ExpectTag(48)) goto parse_nDevId;
|
|
break;
|
|
}
|
|
|
|
// optional int32 nDevId = 6;
|
|
case 6: {
|
|
if (tag == 48) {
|
|
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(56)) goto parse_nStatus;
|
|
break;
|
|
}
|
|
|
|
// optional int32 nStatus = 7;
|
|
case 7: {
|
|
if (tag == 56) {
|
|
parse_nStatus:
|
|
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
|
|
::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
|
|
input, &nstatus_)));
|
|
set_has_nstatus();
|
|
} else {
|
|
goto handle_unusual;
|
|
}
|
|
if (input->ExpectTag(64)) goto parse_nDataLen;
|
|
break;
|
|
}
|
|
|
|
// optional int32 nDataLen = 8;
|
|
case 8: {
|
|
if (tag == 64) {
|
|
parse_nDataLen:
|
|
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
|
|
::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
|
|
input, &ndatalen_)));
|
|
set_has_ndatalen();
|
|
} else {
|
|
goto handle_unusual;
|
|
}
|
|
if (input->ExpectTag(74)) goto parse_seqCustCmdData;
|
|
break;
|
|
}
|
|
|
|
// repeated .iot_idl.SFesCustCmdQueue seqCustCmdData = 9;
|
|
case 9: {
|
|
if (tag == 74) {
|
|
parse_seqCustCmdData:
|
|
DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
|
|
input, add_seqcustcmddata()));
|
|
} else {
|
|
goto handle_unusual;
|
|
}
|
|
if (input->ExpectTag(74)) goto parse_seqCustCmdData;
|
|
if (input->ExpectTag(80)) goto parse_nResult;
|
|
break;
|
|
}
|
|
|
|
// required int32 nResult = 10;
|
|
case 10: {
|
|
if (tag == 80) {
|
|
parse_nResult:
|
|
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
|
|
::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
|
|
input, &nresult_)));
|
|
set_has_nresult();
|
|
} else {
|
|
goto handle_unusual;
|
|
}
|
|
if (input->ExpectTag(90)) goto parse_strRetResult;
|
|
break;
|
|
}
|
|
|
|
// optional string strRetResult = 11;
|
|
case 11: {
|
|
if (tag == 90) {
|
|
parse_strRetResult:
|
|
DO_(::google::protobuf::internal::WireFormatLite::ReadString(
|
|
input, this->mutable_strretresult()));
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
|
|
this->strretresult().data(), this->strretresult().length(),
|
|
::google::protobuf::internal::WireFormat::PARSE,
|
|
"strretresult");
|
|
} else {
|
|
goto handle_unusual;
|
|
}
|
|
if (input->ExpectAtEnd()) goto success;
|
|
break;
|
|
}
|
|
|
|
default: {
|
|
handle_unusual:
|
|
if (tag == 0 ||
|
|
::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
|
|
::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
|
|
goto success;
|
|
}
|
|
DO_(::google::protobuf::internal::WireFormat::SkipField(
|
|
input, tag, mutable_unknown_fields()));
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
success:
|
|
// @@protoc_insertion_point(parse_success:iot_idl.SFesCustCmdReplyPkg)
|
|
return true;
|
|
failure:
|
|
// @@protoc_insertion_point(parse_failure:iot_idl.SFesCustCmdReplyPkg)
|
|
return false;
|
|
#undef DO_
|
|
}
|
|
|
|
void SFesCustCmdReplyPkg::SerializeWithCachedSizes(
|
|
::google::protobuf::io::CodedOutputStream* output) const {
|
|
// @@protoc_insertion_point(serialize_start:iot_idl.SFesCustCmdReplyPkg)
|
|
// required string strSourceTag = 1;
|
|
if (has_strsourcetag()) {
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
|
|
this->strsourcetag().data(), this->strsourcetag().length(),
|
|
::google::protobuf::internal::WireFormat::SERIALIZE,
|
|
"strsourcetag");
|
|
::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
|
|
1, this->strsourcetag(), output);
|
|
}
|
|
|
|
// required string strAppTableName = 2;
|
|
if (has_strapptablename()) {
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
|
|
this->strapptablename().data(), this->strapptablename().length(),
|
|
::google::protobuf::internal::WireFormat::SERIALIZE,
|
|
"strapptablename");
|
|
::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
|
|
2, this->strapptablename(), output);
|
|
}
|
|
|
|
// required string strAppColumnName = 3;
|
|
if (has_strappcolumnname()) {
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
|
|
this->strappcolumnname().data(), this->strappcolumnname().length(),
|
|
::google::protobuf::internal::WireFormat::SERIALIZE,
|
|
"strappcolumnname");
|
|
::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
|
|
3, this->strappcolumnname(), output);
|
|
}
|
|
|
|
// required string strAppTagName = 4;
|
|
if (has_strapptagname()) {
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
|
|
this->strapptagname().data(), this->strapptagname().length(),
|
|
::google::protobuf::internal::WireFormat::SERIALIZE,
|
|
"strapptagname");
|
|
::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
|
|
4, this->strapptagname(), output);
|
|
}
|
|
|
|
// required string strRtuName = 5;
|
|
if (has_strrtuname()) {
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
|
|
this->strrtuname().data(), this->strrtuname().length(),
|
|
::google::protobuf::internal::WireFormat::SERIALIZE,
|
|
"strrtuname");
|
|
::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
|
|
5, this->strrtuname(), output);
|
|
}
|
|
|
|
// optional int32 nDevId = 6;
|
|
if (has_ndevid()) {
|
|
::google::protobuf::internal::WireFormatLite::WriteInt32(6, this->ndevid(), output);
|
|
}
|
|
|
|
// optional int32 nStatus = 7;
|
|
if (has_nstatus()) {
|
|
::google::protobuf::internal::WireFormatLite::WriteInt32(7, this->nstatus(), output);
|
|
}
|
|
|
|
// optional int32 nDataLen = 8;
|
|
if (has_ndatalen()) {
|
|
::google::protobuf::internal::WireFormatLite::WriteInt32(8, this->ndatalen(), output);
|
|
}
|
|
|
|
// repeated .iot_idl.SFesCustCmdQueue seqCustCmdData = 9;
|
|
for (int i = 0; i < this->seqcustcmddata_size(); i++) {
|
|
::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
|
|
9, this->seqcustcmddata(i), output);
|
|
}
|
|
|
|
// required int32 nResult = 10;
|
|
if (has_nresult()) {
|
|
::google::protobuf::internal::WireFormatLite::WriteInt32(10, this->nresult(), output);
|
|
}
|
|
|
|
// optional string strRetResult = 11;
|
|
if (has_strretresult()) {
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
|
|
this->strretresult().data(), this->strretresult().length(),
|
|
::google::protobuf::internal::WireFormat::SERIALIZE,
|
|
"strretresult");
|
|
::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
|
|
11, this->strretresult(), output);
|
|
}
|
|
|
|
if (!unknown_fields().empty()) {
|
|
::google::protobuf::internal::WireFormat::SerializeUnknownFields(
|
|
unknown_fields(), output);
|
|
}
|
|
// @@protoc_insertion_point(serialize_end:iot_idl.SFesCustCmdReplyPkg)
|
|
}
|
|
|
|
::google::protobuf::uint8* SFesCustCmdReplyPkg::SerializeWithCachedSizesToArray(
|
|
::google::protobuf::uint8* target) const {
|
|
// @@protoc_insertion_point(serialize_to_array_start:iot_idl.SFesCustCmdReplyPkg)
|
|
// required string strSourceTag = 1;
|
|
if (has_strsourcetag()) {
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
|
|
this->strsourcetag().data(), this->strsourcetag().length(),
|
|
::google::protobuf::internal::WireFormat::SERIALIZE,
|
|
"strsourcetag");
|
|
target =
|
|
::google::protobuf::internal::WireFormatLite::WriteStringToArray(
|
|
1, this->strsourcetag(), target);
|
|
}
|
|
|
|
// required string strAppTableName = 2;
|
|
if (has_strapptablename()) {
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
|
|
this->strapptablename().data(), this->strapptablename().length(),
|
|
::google::protobuf::internal::WireFormat::SERIALIZE,
|
|
"strapptablename");
|
|
target =
|
|
::google::protobuf::internal::WireFormatLite::WriteStringToArray(
|
|
2, this->strapptablename(), target);
|
|
}
|
|
|
|
// required string strAppColumnName = 3;
|
|
if (has_strappcolumnname()) {
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
|
|
this->strappcolumnname().data(), this->strappcolumnname().length(),
|
|
::google::protobuf::internal::WireFormat::SERIALIZE,
|
|
"strappcolumnname");
|
|
target =
|
|
::google::protobuf::internal::WireFormatLite::WriteStringToArray(
|
|
3, this->strappcolumnname(), target);
|
|
}
|
|
|
|
// required string strAppTagName = 4;
|
|
if (has_strapptagname()) {
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
|
|
this->strapptagname().data(), this->strapptagname().length(),
|
|
::google::protobuf::internal::WireFormat::SERIALIZE,
|
|
"strapptagname");
|
|
target =
|
|
::google::protobuf::internal::WireFormatLite::WriteStringToArray(
|
|
4, this->strapptagname(), target);
|
|
}
|
|
|
|
// required string strRtuName = 5;
|
|
if (has_strrtuname()) {
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
|
|
this->strrtuname().data(), this->strrtuname().length(),
|
|
::google::protobuf::internal::WireFormat::SERIALIZE,
|
|
"strrtuname");
|
|
target =
|
|
::google::protobuf::internal::WireFormatLite::WriteStringToArray(
|
|
5, this->strrtuname(), target);
|
|
}
|
|
|
|
// optional int32 nDevId = 6;
|
|
if (has_ndevid()) {
|
|
target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(6, this->ndevid(), target);
|
|
}
|
|
|
|
// optional int32 nStatus = 7;
|
|
if (has_nstatus()) {
|
|
target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(7, this->nstatus(), target);
|
|
}
|
|
|
|
// optional int32 nDataLen = 8;
|
|
if (has_ndatalen()) {
|
|
target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(8, this->ndatalen(), target);
|
|
}
|
|
|
|
// repeated .iot_idl.SFesCustCmdQueue seqCustCmdData = 9;
|
|
for (int i = 0; i < this->seqcustcmddata_size(); i++) {
|
|
target = ::google::protobuf::internal::WireFormatLite::
|
|
WriteMessageNoVirtualToArray(
|
|
9, this->seqcustcmddata(i), target);
|
|
}
|
|
|
|
// required int32 nResult = 10;
|
|
if (has_nresult()) {
|
|
target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(10, this->nresult(), target);
|
|
}
|
|
|
|
// optional string strRetResult = 11;
|
|
if (has_strretresult()) {
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
|
|
this->strretresult().data(), this->strretresult().length(),
|
|
::google::protobuf::internal::WireFormat::SERIALIZE,
|
|
"strretresult");
|
|
target =
|
|
::google::protobuf::internal::WireFormatLite::WriteStringToArray(
|
|
11, this->strretresult(), target);
|
|
}
|
|
|
|
if (!unknown_fields().empty()) {
|
|
target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
|
|
unknown_fields(), target);
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_end:iot_idl.SFesCustCmdReplyPkg)
|
|
return target;
|
|
}
|
|
|
|
int SFesCustCmdReplyPkg::ByteSize() const {
|
|
int total_size = 0;
|
|
|
|
if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
|
|
// required string strSourceTag = 1;
|
|
if (has_strsourcetag()) {
|
|
total_size += 1 +
|
|
::google::protobuf::internal::WireFormatLite::StringSize(
|
|
this->strsourcetag());
|
|
}
|
|
|
|
// required string strAppTableName = 2;
|
|
if (has_strapptablename()) {
|
|
total_size += 1 +
|
|
::google::protobuf::internal::WireFormatLite::StringSize(
|
|
this->strapptablename());
|
|
}
|
|
|
|
// required string strAppTagName = 4;
|
|
if (has_strapptagname()) {
|
|
total_size += 1 +
|
|
::google::protobuf::internal::WireFormatLite::StringSize(
|
|
this->strapptagname());
|
|
}
|
|
|
|
// required string strAppColumnName = 3;
|
|
if (has_strappcolumnname()) {
|
|
total_size += 1 +
|
|
::google::protobuf::internal::WireFormatLite::StringSize(
|
|
this->strappcolumnname());
|
|
}
|
|
|
|
// required string strRtuName = 5;
|
|
if (has_strrtuname()) {
|
|
total_size += 1 +
|
|
::google::protobuf::internal::WireFormatLite::StringSize(
|
|
this->strrtuname());
|
|
}
|
|
|
|
// optional int32 nDevId = 6;
|
|
if (has_ndevid()) {
|
|
total_size += 1 +
|
|
::google::protobuf::internal::WireFormatLite::Int32Size(
|
|
this->ndevid());
|
|
}
|
|
|
|
// optional int32 nStatus = 7;
|
|
if (has_nstatus()) {
|
|
total_size += 1 +
|
|
::google::protobuf::internal::WireFormatLite::Int32Size(
|
|
this->nstatus());
|
|
}
|
|
|
|
// optional int32 nDataLen = 8;
|
|
if (has_ndatalen()) {
|
|
total_size += 1 +
|
|
::google::protobuf::internal::WireFormatLite::Int32Size(
|
|
this->ndatalen());
|
|
}
|
|
|
|
}
|
|
if (_has_bits_[9 / 32] & (0xffu << (9 % 32))) {
|
|
// required int32 nResult = 10;
|
|
if (has_nresult()) {
|
|
total_size += 1 +
|
|
::google::protobuf::internal::WireFormatLite::Int32Size(
|
|
this->nresult());
|
|
}
|
|
|
|
// optional string strRetResult = 11;
|
|
if (has_strretresult()) {
|
|
total_size += 1 +
|
|
::google::protobuf::internal::WireFormatLite::StringSize(
|
|
this->strretresult());
|
|
}
|
|
|
|
}
|
|
// repeated .iot_idl.SFesCustCmdQueue seqCustCmdData = 9;
|
|
total_size += 1 * this->seqcustcmddata_size();
|
|
for (int i = 0; i < this->seqcustcmddata_size(); i++) {
|
|
total_size +=
|
|
::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
|
|
this->seqcustcmddata(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 SFesCustCmdReplyPkg::MergeFrom(const ::google::protobuf::Message& from) {
|
|
GOOGLE_CHECK_NE(&from, this);
|
|
const SFesCustCmdReplyPkg* source =
|
|
::google::protobuf::internal::dynamic_cast_if_available<const SFesCustCmdReplyPkg*>(
|
|
&from);
|
|
if (source == NULL) {
|
|
::google::protobuf::internal::ReflectionOps::Merge(from, this);
|
|
} else {
|
|
MergeFrom(*source);
|
|
}
|
|
}
|
|
|
|
void SFesCustCmdReplyPkg::MergeFrom(const SFesCustCmdReplyPkg& from) {
|
|
GOOGLE_CHECK_NE(&from, this);
|
|
seqcustcmddata_.MergeFrom(from.seqcustcmddata_);
|
|
if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
|
|
if (from.has_strsourcetag()) {
|
|
set_strsourcetag(from.strsourcetag());
|
|
}
|
|
if (from.has_strapptablename()) {
|
|
set_strapptablename(from.strapptablename());
|
|
}
|
|
if (from.has_strapptagname()) {
|
|
set_strapptagname(from.strapptagname());
|
|
}
|
|
if (from.has_strappcolumnname()) {
|
|
set_strappcolumnname(from.strappcolumnname());
|
|
}
|
|
if (from.has_strrtuname()) {
|
|
set_strrtuname(from.strrtuname());
|
|
}
|
|
if (from.has_ndevid()) {
|
|
set_ndevid(from.ndevid());
|
|
}
|
|
if (from.has_nstatus()) {
|
|
set_nstatus(from.nstatus());
|
|
}
|
|
if (from.has_ndatalen()) {
|
|
set_ndatalen(from.ndatalen());
|
|
}
|
|
}
|
|
if (from._has_bits_[9 / 32] & (0xffu << (9 % 32))) {
|
|
if (from.has_nresult()) {
|
|
set_nresult(from.nresult());
|
|
}
|
|
if (from.has_strretresult()) {
|
|
set_strretresult(from.strretresult());
|
|
}
|
|
}
|
|
mutable_unknown_fields()->MergeFrom(from.unknown_fields());
|
|
}
|
|
|
|
void SFesCustCmdReplyPkg::CopyFrom(const ::google::protobuf::Message& from) {
|
|
if (&from == this) return;
|
|
Clear();
|
|
MergeFrom(from);
|
|
}
|
|
|
|
void SFesCustCmdReplyPkg::CopyFrom(const SFesCustCmdReplyPkg& from) {
|
|
if (&from == this) return;
|
|
Clear();
|
|
MergeFrom(from);
|
|
}
|
|
|
|
bool SFesCustCmdReplyPkg::IsInitialized() const {
|
|
if ((_has_bits_[0] & 0x0000021f) != 0x0000021f) return false;
|
|
|
|
if (!::google::protobuf::internal::AllAreInitialized(this->seqcustcmddata())) return false;
|
|
return true;
|
|
}
|
|
|
|
void SFesCustCmdReplyPkg::Swap(SFesCustCmdReplyPkg* other) {
|
|
if (other != this) {
|
|
std::swap(strsourcetag_, other->strsourcetag_);
|
|
std::swap(strapptablename_, other->strapptablename_);
|
|
std::swap(strapptagname_, other->strapptagname_);
|
|
std::swap(strappcolumnname_, other->strappcolumnname_);
|
|
std::swap(strrtuname_, other->strrtuname_);
|
|
std::swap(ndevid_, other->ndevid_);
|
|
std::swap(nstatus_, other->nstatus_);
|
|
std::swap(ndatalen_, other->ndatalen_);
|
|
seqcustcmddata_.Swap(&other->seqcustcmddata_);
|
|
std::swap(nresult_, other->nresult_);
|
|
std::swap(strretresult_, other->strretresult_);
|
|
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 SFesCustCmdReplyPkg::GetMetadata() const {
|
|
protobuf_AssignDescriptorsOnce();
|
|
::google::protobuf::Metadata metadata;
|
|
metadata.descriptor = SFesCustCmdReplyPkg_descriptor_;
|
|
metadata.reflection = SFesCustCmdReplyPkg_reflection_;
|
|
return metadata;
|
|
}
|
|
|
|
|
|
// ===================================================================
|
|
|
|
#ifndef _MSC_VER
|
|
const int SConstSetQueue::kStrTagNameFieldNumber;
|
|
const int SConstSetQueue::kNConstIDFieldNumber;
|
|
const int SConstSetQueue::kNValueFieldNumber;
|
|
#endif // !_MSC_VER
|
|
|
|
SConstSetQueue::SConstSetQueue()
|
|
: ::google::protobuf::Message() {
|
|
SharedCtor();
|
|
// @@protoc_insertion_point(constructor:iot_idl.SConstSetQueue)
|
|
}
|
|
|
|
void SConstSetQueue::InitAsDefaultInstance() {
|
|
}
|
|
|
|
SConstSetQueue::SConstSetQueue(const SConstSetQueue& from)
|
|
: ::google::protobuf::Message() {
|
|
SharedCtor();
|
|
MergeFrom(from);
|
|
// @@protoc_insertion_point(copy_constructor:iot_idl.SConstSetQueue)
|
|
}
|
|
|
|
void SConstSetQueue::SharedCtor() {
|
|
::google::protobuf::internal::GetEmptyString();
|
|
_cached_size_ = 0;
|
|
strtagname_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
nconstid_ = 0;
|
|
nvalue_ = 0;
|
|
::memset(_has_bits_, 0, sizeof(_has_bits_));
|
|
}
|
|
|
|
SConstSetQueue::~SConstSetQueue() {
|
|
// @@protoc_insertion_point(destructor:iot_idl.SConstSetQueue)
|
|
SharedDtor();
|
|
}
|
|
|
|
void SConstSetQueue::SharedDtor() {
|
|
if (strtagname_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
|
|
delete strtagname_;
|
|
}
|
|
if (this != default_instance_) {
|
|
}
|
|
}
|
|
|
|
void SConstSetQueue::SetCachedSize(int size) const {
|
|
GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
|
|
_cached_size_ = size;
|
|
GOOGLE_SAFE_CONCURRENT_WRITES_END();
|
|
}
|
|
const ::google::protobuf::Descriptor* SConstSetQueue::descriptor() {
|
|
protobuf_AssignDescriptorsOnce();
|
|
return SConstSetQueue_descriptor_;
|
|
}
|
|
|
|
const SConstSetQueue& SConstSetQueue::default_instance() {
|
|
if (default_instance_ == NULL) protobuf_AddDesc_FesMessage_2eproto();
|
|
return *default_instance_;
|
|
}
|
|
|
|
SConstSetQueue* SConstSetQueue::default_instance_ = NULL;
|
|
|
|
SConstSetQueue* SConstSetQueue::New() const {
|
|
return new SConstSetQueue;
|
|
}
|
|
|
|
void SConstSetQueue::Clear() {
|
|
#define OFFSET_OF_FIELD_(f) (reinterpret_cast<char*>( \
|
|
&reinterpret_cast<SConstSetQueue*>(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_(nconstid_, nvalue_);
|
|
if (has_strtagname()) {
|
|
if (strtagname_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
|
|
strtagname_->clear();
|
|
}
|
|
}
|
|
}
|
|
|
|
#undef OFFSET_OF_FIELD_
|
|
#undef ZR_
|
|
|
|
::memset(_has_bits_, 0, sizeof(_has_bits_));
|
|
mutable_unknown_fields()->Clear();
|
|
}
|
|
|
|
bool SConstSetQueue::MergePartialFromCodedStream(
|
|
::google::protobuf::io::CodedInputStream* input) {
|
|
#define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
|
|
::google::protobuf::uint32 tag;
|
|
// @@protoc_insertion_point(parse_start:iot_idl.SConstSetQueue)
|
|
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 strTagName = 1;
|
|
case 1: {
|
|
if (tag == 10) {
|
|
DO_(::google::protobuf::internal::WireFormatLite::ReadString(
|
|
input, this->mutable_strtagname()));
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
|
|
this->strtagname().data(), this->strtagname().length(),
|
|
::google::protobuf::internal::WireFormat::PARSE,
|
|
"strtagname");
|
|
} else {
|
|
goto handle_unusual;
|
|
}
|
|
if (input->ExpectTag(16)) goto parse_nConstID;
|
|
break;
|
|
}
|
|
|
|
// required int32 nConstID = 2;
|
|
case 2: {
|
|
if (tag == 16) {
|
|
parse_nConstID:
|
|
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
|
|
::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
|
|
input, &nconstid_)));
|
|
set_has_nconstid();
|
|
} else {
|
|
goto handle_unusual;
|
|
}
|
|
if (input->ExpectTag(24)) goto parse_nValue;
|
|
break;
|
|
}
|
|
|
|
// required int32 nValue = 3;
|
|
case 3: {
|
|
if (tag == 24) {
|
|
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->ExpectAtEnd()) goto success;
|
|
break;
|
|
}
|
|
|
|
default: {
|
|
handle_unusual:
|
|
if (tag == 0 ||
|
|
::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
|
|
::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
|
|
goto success;
|
|
}
|
|
DO_(::google::protobuf::internal::WireFormat::SkipField(
|
|
input, tag, mutable_unknown_fields()));
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
success:
|
|
// @@protoc_insertion_point(parse_success:iot_idl.SConstSetQueue)
|
|
return true;
|
|
failure:
|
|
// @@protoc_insertion_point(parse_failure:iot_idl.SConstSetQueue)
|
|
return false;
|
|
#undef DO_
|
|
}
|
|
|
|
void SConstSetQueue::SerializeWithCachedSizes(
|
|
::google::protobuf::io::CodedOutputStream* output) const {
|
|
// @@protoc_insertion_point(serialize_start:iot_idl.SConstSetQueue)
|
|
// required string strTagName = 1;
|
|
if (has_strtagname()) {
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
|
|
this->strtagname().data(), this->strtagname().length(),
|
|
::google::protobuf::internal::WireFormat::SERIALIZE,
|
|
"strtagname");
|
|
::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
|
|
1, this->strtagname(), output);
|
|
}
|
|
|
|
// required int32 nConstID = 2;
|
|
if (has_nconstid()) {
|
|
::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->nconstid(), output);
|
|
}
|
|
|
|
// required int32 nValue = 3;
|
|
if (has_nvalue()) {
|
|
::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->nvalue(), output);
|
|
}
|
|
|
|
if (!unknown_fields().empty()) {
|
|
::google::protobuf::internal::WireFormat::SerializeUnknownFields(
|
|
unknown_fields(), output);
|
|
}
|
|
// @@protoc_insertion_point(serialize_end:iot_idl.SConstSetQueue)
|
|
}
|
|
|
|
::google::protobuf::uint8* SConstSetQueue::SerializeWithCachedSizesToArray(
|
|
::google::protobuf::uint8* target) const {
|
|
// @@protoc_insertion_point(serialize_to_array_start:iot_idl.SConstSetQueue)
|
|
// required string strTagName = 1;
|
|
if (has_strtagname()) {
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
|
|
this->strtagname().data(), this->strtagname().length(),
|
|
::google::protobuf::internal::WireFormat::SERIALIZE,
|
|
"strtagname");
|
|
target =
|
|
::google::protobuf::internal::WireFormatLite::WriteStringToArray(
|
|
1, this->strtagname(), target);
|
|
}
|
|
|
|
// required int32 nConstID = 2;
|
|
if (has_nconstid()) {
|
|
target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->nconstid(), target);
|
|
}
|
|
|
|
// required int32 nValue = 3;
|
|
if (has_nvalue()) {
|
|
target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->nvalue(), target);
|
|
}
|
|
|
|
if (!unknown_fields().empty()) {
|
|
target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
|
|
unknown_fields(), target);
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_end:iot_idl.SConstSetQueue)
|
|
return target;
|
|
}
|
|
|
|
int SConstSetQueue::ByteSize() const {
|
|
int total_size = 0;
|
|
|
|
if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
|
|
// required string strTagName = 1;
|
|
if (has_strtagname()) {
|
|
total_size += 1 +
|
|
::google::protobuf::internal::WireFormatLite::StringSize(
|
|
this->strtagname());
|
|
}
|
|
|
|
// required int32 nConstID = 2;
|
|
if (has_nconstid()) {
|
|
total_size += 1 +
|
|
::google::protobuf::internal::WireFormatLite::Int32Size(
|
|
this->nconstid());
|
|
}
|
|
|
|
// required int32 nValue = 3;
|
|
if (has_nvalue()) {
|
|
total_size += 1 +
|
|
::google::protobuf::internal::WireFormatLite::Int32Size(
|
|
this->nvalue());
|
|
}
|
|
|
|
}
|
|
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 SConstSetQueue::MergeFrom(const ::google::protobuf::Message& from) {
|
|
GOOGLE_CHECK_NE(&from, this);
|
|
const SConstSetQueue* source =
|
|
::google::protobuf::internal::dynamic_cast_if_available<const SConstSetQueue*>(
|
|
&from);
|
|
if (source == NULL) {
|
|
::google::protobuf::internal::ReflectionOps::Merge(from, this);
|
|
} else {
|
|
MergeFrom(*source);
|
|
}
|
|
}
|
|
|
|
void SConstSetQueue::MergeFrom(const SConstSetQueue& from) {
|
|
GOOGLE_CHECK_NE(&from, this);
|
|
if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
|
|
if (from.has_strtagname()) {
|
|
set_strtagname(from.strtagname());
|
|
}
|
|
if (from.has_nconstid()) {
|
|
set_nconstid(from.nconstid());
|
|
}
|
|
if (from.has_nvalue()) {
|
|
set_nvalue(from.nvalue());
|
|
}
|
|
}
|
|
mutable_unknown_fields()->MergeFrom(from.unknown_fields());
|
|
}
|
|
|
|
void SConstSetQueue::CopyFrom(const ::google::protobuf::Message& from) {
|
|
if (&from == this) return;
|
|
Clear();
|
|
MergeFrom(from);
|
|
}
|
|
|
|
void SConstSetQueue::CopyFrom(const SConstSetQueue& from) {
|
|
if (&from == this) return;
|
|
Clear();
|
|
MergeFrom(from);
|
|
}
|
|
|
|
bool SConstSetQueue::IsInitialized() const {
|
|
if ((_has_bits_[0] & 0x00000007) != 0x00000007) return false;
|
|
|
|
return true;
|
|
}
|
|
|
|
void SConstSetQueue::Swap(SConstSetQueue* other) {
|
|
if (other != this) {
|
|
std::swap(strtagname_, other->strtagname_);
|
|
std::swap(nconstid_, other->nconstid_);
|
|
std::swap(nvalue_, other->nvalue_);
|
|
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 SConstSetQueue::GetMetadata() const {
|
|
protobuf_AssignDescriptorsOnce();
|
|
::google::protobuf::Metadata metadata;
|
|
metadata.descriptor = SConstSetQueue_descriptor_;
|
|
metadata.reflection = SConstSetQueue_reflection_;
|
|
return metadata;
|
|
}
|
|
|
|
|
|
// ===================================================================
|
|
|
|
#ifndef _MSC_VER
|
|
const int SFesConstSetRequestPkg::kNRtuNoFieldNumber;
|
|
const int SFesConstSetRequestPkg::kNDevIdFieldNumber;
|
|
const int SFesConstSetRequestPkg::kNNumFieldNumber;
|
|
const int SFesConstSetRequestPkg::kSeqValueFieldNumber;
|
|
#endif // !_MSC_VER
|
|
|
|
SFesConstSetRequestPkg::SFesConstSetRequestPkg()
|
|
: ::google::protobuf::Message() {
|
|
SharedCtor();
|
|
// @@protoc_insertion_point(constructor:iot_idl.SFesConstSetRequestPkg)
|
|
}
|
|
|
|
void SFesConstSetRequestPkg::InitAsDefaultInstance() {
|
|
}
|
|
|
|
SFesConstSetRequestPkg::SFesConstSetRequestPkg(const SFesConstSetRequestPkg& from)
|
|
: ::google::protobuf::Message() {
|
|
SharedCtor();
|
|
MergeFrom(from);
|
|
// @@protoc_insertion_point(copy_constructor:iot_idl.SFesConstSetRequestPkg)
|
|
}
|
|
|
|
void SFesConstSetRequestPkg::SharedCtor() {
|
|
_cached_size_ = 0;
|
|
nrtuno_ = 0;
|
|
ndevid_ = 0;
|
|
nnum_ = 0;
|
|
::memset(_has_bits_, 0, sizeof(_has_bits_));
|
|
}
|
|
|
|
SFesConstSetRequestPkg::~SFesConstSetRequestPkg() {
|
|
// @@protoc_insertion_point(destructor:iot_idl.SFesConstSetRequestPkg)
|
|
SharedDtor();
|
|
}
|
|
|
|
void SFesConstSetRequestPkg::SharedDtor() {
|
|
if (this != default_instance_) {
|
|
}
|
|
}
|
|
|
|
void SFesConstSetRequestPkg::SetCachedSize(int size) const {
|
|
GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
|
|
_cached_size_ = size;
|
|
GOOGLE_SAFE_CONCURRENT_WRITES_END();
|
|
}
|
|
const ::google::protobuf::Descriptor* SFesConstSetRequestPkg::descriptor() {
|
|
protobuf_AssignDescriptorsOnce();
|
|
return SFesConstSetRequestPkg_descriptor_;
|
|
}
|
|
|
|
const SFesConstSetRequestPkg& SFesConstSetRequestPkg::default_instance() {
|
|
if (default_instance_ == NULL) protobuf_AddDesc_FesMessage_2eproto();
|
|
return *default_instance_;
|
|
}
|
|
|
|
SFesConstSetRequestPkg* SFesConstSetRequestPkg::default_instance_ = NULL;
|
|
|
|
SFesConstSetRequestPkg* SFesConstSetRequestPkg::New() const {
|
|
return new SFesConstSetRequestPkg;
|
|
}
|
|
|
|
void SFesConstSetRequestPkg::Clear() {
|
|
#define OFFSET_OF_FIELD_(f) (reinterpret_cast<char*>( \
|
|
&reinterpret_cast<SFesConstSetRequestPkg*>(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_(nrtuno_, ndevid_);
|
|
nnum_ = 0;
|
|
}
|
|
|
|
#undef OFFSET_OF_FIELD_
|
|
#undef ZR_
|
|
|
|
seqvalue_.Clear();
|
|
::memset(_has_bits_, 0, sizeof(_has_bits_));
|
|
mutable_unknown_fields()->Clear();
|
|
}
|
|
|
|
bool SFesConstSetRequestPkg::MergePartialFromCodedStream(
|
|
::google::protobuf::io::CodedInputStream* input) {
|
|
#define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
|
|
::google::protobuf::uint32 tag;
|
|
// @@protoc_insertion_point(parse_start:iot_idl.SFesConstSetRequestPkg)
|
|
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 nRtuNo = 1;
|
|
case 1: {
|
|
if (tag == 8) {
|
|
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(16)) goto parse_nDevId;
|
|
break;
|
|
}
|
|
|
|
// required int32 nDevId = 2;
|
|
case 2: {
|
|
if (tag == 16) {
|
|
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(24)) goto parse_nNum;
|
|
break;
|
|
}
|
|
|
|
// required int32 nNum = 3;
|
|
case 3: {
|
|
if (tag == 24) {
|
|
parse_nNum:
|
|
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
|
|
::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
|
|
input, &nnum_)));
|
|
set_has_nnum();
|
|
} else {
|
|
goto handle_unusual;
|
|
}
|
|
if (input->ExpectTag(34)) goto parse_seqValue;
|
|
break;
|
|
}
|
|
|
|
// repeated .iot_idl.SConstSetQueue seqValue = 4;
|
|
case 4: {
|
|
if (tag == 34) {
|
|
parse_seqValue:
|
|
DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
|
|
input, add_seqvalue()));
|
|
} else {
|
|
goto handle_unusual;
|
|
}
|
|
if (input->ExpectTag(34)) goto parse_seqValue;
|
|
if (input->ExpectAtEnd()) goto success;
|
|
break;
|
|
}
|
|
|
|
default: {
|
|
handle_unusual:
|
|
if (tag == 0 ||
|
|
::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
|
|
::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
|
|
goto success;
|
|
}
|
|
DO_(::google::protobuf::internal::WireFormat::SkipField(
|
|
input, tag, mutable_unknown_fields()));
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
success:
|
|
// @@protoc_insertion_point(parse_success:iot_idl.SFesConstSetRequestPkg)
|
|
return true;
|
|
failure:
|
|
// @@protoc_insertion_point(parse_failure:iot_idl.SFesConstSetRequestPkg)
|
|
return false;
|
|
#undef DO_
|
|
}
|
|
|
|
void SFesConstSetRequestPkg::SerializeWithCachedSizes(
|
|
::google::protobuf::io::CodedOutputStream* output) const {
|
|
// @@protoc_insertion_point(serialize_start:iot_idl.SFesConstSetRequestPkg)
|
|
// required int32 nRtuNo = 1;
|
|
if (has_nrtuno()) {
|
|
::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->nrtuno(), output);
|
|
}
|
|
|
|
// required int32 nDevId = 2;
|
|
if (has_ndevid()) {
|
|
::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->ndevid(), output);
|
|
}
|
|
|
|
// required int32 nNum = 3;
|
|
if (has_nnum()) {
|
|
::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->nnum(), output);
|
|
}
|
|
|
|
// repeated .iot_idl.SConstSetQueue seqValue = 4;
|
|
for (int i = 0; i < this->seqvalue_size(); i++) {
|
|
::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
|
|
4, this->seqvalue(i), output);
|
|
}
|
|
|
|
if (!unknown_fields().empty()) {
|
|
::google::protobuf::internal::WireFormat::SerializeUnknownFields(
|
|
unknown_fields(), output);
|
|
}
|
|
// @@protoc_insertion_point(serialize_end:iot_idl.SFesConstSetRequestPkg)
|
|
}
|
|
|
|
::google::protobuf::uint8* SFesConstSetRequestPkg::SerializeWithCachedSizesToArray(
|
|
::google::protobuf::uint8* target) const {
|
|
// @@protoc_insertion_point(serialize_to_array_start:iot_idl.SFesConstSetRequestPkg)
|
|
// required int32 nRtuNo = 1;
|
|
if (has_nrtuno()) {
|
|
target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->nrtuno(), target);
|
|
}
|
|
|
|
// required int32 nDevId = 2;
|
|
if (has_ndevid()) {
|
|
target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->ndevid(), target);
|
|
}
|
|
|
|
// required int32 nNum = 3;
|
|
if (has_nnum()) {
|
|
target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->nnum(), target);
|
|
}
|
|
|
|
// repeated .iot_idl.SConstSetQueue seqValue = 4;
|
|
for (int i = 0; i < this->seqvalue_size(); i++) {
|
|
target = ::google::protobuf::internal::WireFormatLite::
|
|
WriteMessageNoVirtualToArray(
|
|
4, this->seqvalue(i), target);
|
|
}
|
|
|
|
if (!unknown_fields().empty()) {
|
|
target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
|
|
unknown_fields(), target);
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_end:iot_idl.SFesConstSetRequestPkg)
|
|
return target;
|
|
}
|
|
|
|
int SFesConstSetRequestPkg::ByteSize() const {
|
|
int total_size = 0;
|
|
|
|
if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
|
|
// required int32 nRtuNo = 1;
|
|
if (has_nrtuno()) {
|
|
total_size += 1 +
|
|
::google::protobuf::internal::WireFormatLite::Int32Size(
|
|
this->nrtuno());
|
|
}
|
|
|
|
// required int32 nDevId = 2;
|
|
if (has_ndevid()) {
|
|
total_size += 1 +
|
|
::google::protobuf::internal::WireFormatLite::Int32Size(
|
|
this->ndevid());
|
|
}
|
|
|
|
// required int32 nNum = 3;
|
|
if (has_nnum()) {
|
|
total_size += 1 +
|
|
::google::protobuf::internal::WireFormatLite::Int32Size(
|
|
this->nnum());
|
|
}
|
|
|
|
}
|
|
// repeated .iot_idl.SConstSetQueue seqValue = 4;
|
|
total_size += 1 * this->seqvalue_size();
|
|
for (int i = 0; i < this->seqvalue_size(); i++) {
|
|
total_size +=
|
|
::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
|
|
this->seqvalue(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 SFesConstSetRequestPkg::MergeFrom(const ::google::protobuf::Message& from) {
|
|
GOOGLE_CHECK_NE(&from, this);
|
|
const SFesConstSetRequestPkg* source =
|
|
::google::protobuf::internal::dynamic_cast_if_available<const SFesConstSetRequestPkg*>(
|
|
&from);
|
|
if (source == NULL) {
|
|
::google::protobuf::internal::ReflectionOps::Merge(from, this);
|
|
} else {
|
|
MergeFrom(*source);
|
|
}
|
|
}
|
|
|
|
void SFesConstSetRequestPkg::MergeFrom(const SFesConstSetRequestPkg& from) {
|
|
GOOGLE_CHECK_NE(&from, this);
|
|
seqvalue_.MergeFrom(from.seqvalue_);
|
|
if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
|
|
if (from.has_nrtuno()) {
|
|
set_nrtuno(from.nrtuno());
|
|
}
|
|
if (from.has_ndevid()) {
|
|
set_ndevid(from.ndevid());
|
|
}
|
|
if (from.has_nnum()) {
|
|
set_nnum(from.nnum());
|
|
}
|
|
}
|
|
mutable_unknown_fields()->MergeFrom(from.unknown_fields());
|
|
}
|
|
|
|
void SFesConstSetRequestPkg::CopyFrom(const ::google::protobuf::Message& from) {
|
|
if (&from == this) return;
|
|
Clear();
|
|
MergeFrom(from);
|
|
}
|
|
|
|
void SFesConstSetRequestPkg::CopyFrom(const SFesConstSetRequestPkg& from) {
|
|
if (&from == this) return;
|
|
Clear();
|
|
MergeFrom(from);
|
|
}
|
|
|
|
bool SFesConstSetRequestPkg::IsInitialized() const {
|
|
if ((_has_bits_[0] & 0x00000007) != 0x00000007) return false;
|
|
|
|
if (!::google::protobuf::internal::AllAreInitialized(this->seqvalue())) return false;
|
|
return true;
|
|
}
|
|
|
|
void SFesConstSetRequestPkg::Swap(SFesConstSetRequestPkg* other) {
|
|
if (other != this) {
|
|
std::swap(nrtuno_, other->nrtuno_);
|
|
std::swap(ndevid_, other->ndevid_);
|
|
std::swap(nnum_, other->nnum_);
|
|
seqvalue_.Swap(&other->seqvalue_);
|
|
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 SFesConstSetRequestPkg::GetMetadata() const {
|
|
protobuf_AssignDescriptorsOnce();
|
|
::google::protobuf::Metadata metadata;
|
|
metadata.descriptor = SFesConstSetRequestPkg_descriptor_;
|
|
metadata.reflection = SFesConstSetRequestPkg_reflection_;
|
|
return metadata;
|
|
}
|
|
|
|
|
|
// ===================================================================
|
|
|
|
#ifndef _MSC_VER
|
|
const int SFesConstReadReplyPkg::kNRtuNoFieldNumber;
|
|
const int SFesConstReadReplyPkg::kNDevIdFieldNumber;
|
|
const int SFesConstReadReplyPkg::kNRetStatusFieldNumber;
|
|
const int SFesConstReadReplyPkg::kSeqValueFieldNumber;
|
|
const int SFesConstReadReplyPkg::kStrRetResultFieldNumber;
|
|
#endif // !_MSC_VER
|
|
|
|
SFesConstReadReplyPkg::SFesConstReadReplyPkg()
|
|
: ::google::protobuf::Message() {
|
|
SharedCtor();
|
|
// @@protoc_insertion_point(constructor:iot_idl.SFesConstReadReplyPkg)
|
|
}
|
|
|
|
void SFesConstReadReplyPkg::InitAsDefaultInstance() {
|
|
}
|
|
|
|
SFesConstReadReplyPkg::SFesConstReadReplyPkg(const SFesConstReadReplyPkg& from)
|
|
: ::google::protobuf::Message() {
|
|
SharedCtor();
|
|
MergeFrom(from);
|
|
// @@protoc_insertion_point(copy_constructor:iot_idl.SFesConstReadReplyPkg)
|
|
}
|
|
|
|
void SFesConstReadReplyPkg::SharedCtor() {
|
|
::google::protobuf::internal::GetEmptyString();
|
|
_cached_size_ = 0;
|
|
nrtuno_ = 0;
|
|
ndevid_ = 0;
|
|
nretstatus_ = 0;
|
|
strretresult_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
::memset(_has_bits_, 0, sizeof(_has_bits_));
|
|
}
|
|
|
|
SFesConstReadReplyPkg::~SFesConstReadReplyPkg() {
|
|
// @@protoc_insertion_point(destructor:iot_idl.SFesConstReadReplyPkg)
|
|
SharedDtor();
|
|
}
|
|
|
|
void SFesConstReadReplyPkg::SharedDtor() {
|
|
if (strretresult_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
|
|
delete strretresult_;
|
|
}
|
|
if (this != default_instance_) {
|
|
}
|
|
}
|
|
|
|
void SFesConstReadReplyPkg::SetCachedSize(int size) const {
|
|
GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
|
|
_cached_size_ = size;
|
|
GOOGLE_SAFE_CONCURRENT_WRITES_END();
|
|
}
|
|
const ::google::protobuf::Descriptor* SFesConstReadReplyPkg::descriptor() {
|
|
protobuf_AssignDescriptorsOnce();
|
|
return SFesConstReadReplyPkg_descriptor_;
|
|
}
|
|
|
|
const SFesConstReadReplyPkg& SFesConstReadReplyPkg::default_instance() {
|
|
if (default_instance_ == NULL) protobuf_AddDesc_FesMessage_2eproto();
|
|
return *default_instance_;
|
|
}
|
|
|
|
SFesConstReadReplyPkg* SFesConstReadReplyPkg::default_instance_ = NULL;
|
|
|
|
SFesConstReadReplyPkg* SFesConstReadReplyPkg::New() const {
|
|
return new SFesConstReadReplyPkg;
|
|
}
|
|
|
|
void SFesConstReadReplyPkg::Clear() {
|
|
#define OFFSET_OF_FIELD_(f) (reinterpret_cast<char*>( \
|
|
&reinterpret_cast<SFesConstReadReplyPkg*>(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] & 23) {
|
|
ZR_(nrtuno_, ndevid_);
|
|
nretstatus_ = 0;
|
|
if (has_strretresult()) {
|
|
if (strretresult_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
|
|
strretresult_->clear();
|
|
}
|
|
}
|
|
}
|
|
|
|
#undef OFFSET_OF_FIELD_
|
|
#undef ZR_
|
|
|
|
seqvalue_.Clear();
|
|
::memset(_has_bits_, 0, sizeof(_has_bits_));
|
|
mutable_unknown_fields()->Clear();
|
|
}
|
|
|
|
bool SFesConstReadReplyPkg::MergePartialFromCodedStream(
|
|
::google::protobuf::io::CodedInputStream* input) {
|
|
#define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
|
|
::google::protobuf::uint32 tag;
|
|
// @@protoc_insertion_point(parse_start:iot_idl.SFesConstReadReplyPkg)
|
|
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 nRtuNo = 1;
|
|
case 1: {
|
|
if (tag == 8) {
|
|
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(16)) goto parse_nDevId;
|
|
break;
|
|
}
|
|
|
|
// required int32 nDevId = 2;
|
|
case 2: {
|
|
if (tag == 16) {
|
|
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(24)) goto parse_nRetStatus;
|
|
break;
|
|
}
|
|
|
|
// required int32 nRetStatus = 3;
|
|
case 3: {
|
|
if (tag == 24) {
|
|
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(34)) goto parse_seqValue;
|
|
break;
|
|
}
|
|
|
|
// repeated .iot_idl.SConstSetQueue seqValue = 4;
|
|
case 4: {
|
|
if (tag == 34) {
|
|
parse_seqValue:
|
|
DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
|
|
input, add_seqvalue()));
|
|
} else {
|
|
goto handle_unusual;
|
|
}
|
|
if (input->ExpectTag(34)) goto parse_seqValue;
|
|
if (input->ExpectTag(42)) goto parse_strRetResult;
|
|
break;
|
|
}
|
|
|
|
// optional string strRetResult = 5;
|
|
case 5: {
|
|
if (tag == 42) {
|
|
parse_strRetResult:
|
|
DO_(::google::protobuf::internal::WireFormatLite::ReadString(
|
|
input, this->mutable_strretresult()));
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
|
|
this->strretresult().data(), this->strretresult().length(),
|
|
::google::protobuf::internal::WireFormat::PARSE,
|
|
"strretresult");
|
|
} else {
|
|
goto handle_unusual;
|
|
}
|
|
if (input->ExpectAtEnd()) goto success;
|
|
break;
|
|
}
|
|
|
|
default: {
|
|
handle_unusual:
|
|
if (tag == 0 ||
|
|
::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
|
|
::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
|
|
goto success;
|
|
}
|
|
DO_(::google::protobuf::internal::WireFormat::SkipField(
|
|
input, tag, mutable_unknown_fields()));
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
success:
|
|
// @@protoc_insertion_point(parse_success:iot_idl.SFesConstReadReplyPkg)
|
|
return true;
|
|
failure:
|
|
// @@protoc_insertion_point(parse_failure:iot_idl.SFesConstReadReplyPkg)
|
|
return false;
|
|
#undef DO_
|
|
}
|
|
|
|
void SFesConstReadReplyPkg::SerializeWithCachedSizes(
|
|
::google::protobuf::io::CodedOutputStream* output) const {
|
|
// @@protoc_insertion_point(serialize_start:iot_idl.SFesConstReadReplyPkg)
|
|
// required int32 nRtuNo = 1;
|
|
if (has_nrtuno()) {
|
|
::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->nrtuno(), output);
|
|
}
|
|
|
|
// required int32 nDevId = 2;
|
|
if (has_ndevid()) {
|
|
::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->ndevid(), output);
|
|
}
|
|
|
|
// required int32 nRetStatus = 3;
|
|
if (has_nretstatus()) {
|
|
::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->nretstatus(), output);
|
|
}
|
|
|
|
// repeated .iot_idl.SConstSetQueue seqValue = 4;
|
|
for (int i = 0; i < this->seqvalue_size(); i++) {
|
|
::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
|
|
4, this->seqvalue(i), output);
|
|
}
|
|
|
|
// optional string strRetResult = 5;
|
|
if (has_strretresult()) {
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
|
|
this->strretresult().data(), this->strretresult().length(),
|
|
::google::protobuf::internal::WireFormat::SERIALIZE,
|
|
"strretresult");
|
|
::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
|
|
5, this->strretresult(), output);
|
|
}
|
|
|
|
if (!unknown_fields().empty()) {
|
|
::google::protobuf::internal::WireFormat::SerializeUnknownFields(
|
|
unknown_fields(), output);
|
|
}
|
|
// @@protoc_insertion_point(serialize_end:iot_idl.SFesConstReadReplyPkg)
|
|
}
|
|
|
|
::google::protobuf::uint8* SFesConstReadReplyPkg::SerializeWithCachedSizesToArray(
|
|
::google::protobuf::uint8* target) const {
|
|
// @@protoc_insertion_point(serialize_to_array_start:iot_idl.SFesConstReadReplyPkg)
|
|
// required int32 nRtuNo = 1;
|
|
if (has_nrtuno()) {
|
|
target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->nrtuno(), target);
|
|
}
|
|
|
|
// required int32 nDevId = 2;
|
|
if (has_ndevid()) {
|
|
target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->ndevid(), target);
|
|
}
|
|
|
|
// required int32 nRetStatus = 3;
|
|
if (has_nretstatus()) {
|
|
target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->nretstatus(), target);
|
|
}
|
|
|
|
// repeated .iot_idl.SConstSetQueue seqValue = 4;
|
|
for (int i = 0; i < this->seqvalue_size(); i++) {
|
|
target = ::google::protobuf::internal::WireFormatLite::
|
|
WriteMessageNoVirtualToArray(
|
|
4, this->seqvalue(i), target);
|
|
}
|
|
|
|
// optional string strRetResult = 5;
|
|
if (has_strretresult()) {
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
|
|
this->strretresult().data(), this->strretresult().length(),
|
|
::google::protobuf::internal::WireFormat::SERIALIZE,
|
|
"strretresult");
|
|
target =
|
|
::google::protobuf::internal::WireFormatLite::WriteStringToArray(
|
|
5, this->strretresult(), target);
|
|
}
|
|
|
|
if (!unknown_fields().empty()) {
|
|
target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
|
|
unknown_fields(), target);
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_end:iot_idl.SFesConstReadReplyPkg)
|
|
return target;
|
|
}
|
|
|
|
int SFesConstReadReplyPkg::ByteSize() const {
|
|
int total_size = 0;
|
|
|
|
if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
|
|
// required int32 nRtuNo = 1;
|
|
if (has_nrtuno()) {
|
|
total_size += 1 +
|
|
::google::protobuf::internal::WireFormatLite::Int32Size(
|
|
this->nrtuno());
|
|
}
|
|
|
|
// required int32 nDevId = 2;
|
|
if (has_ndevid()) {
|
|
total_size += 1 +
|
|
::google::protobuf::internal::WireFormatLite::Int32Size(
|
|
this->ndevid());
|
|
}
|
|
|
|
// required int32 nRetStatus = 3;
|
|
if (has_nretstatus()) {
|
|
total_size += 1 +
|
|
::google::protobuf::internal::WireFormatLite::Int32Size(
|
|
this->nretstatus());
|
|
}
|
|
|
|
// optional string strRetResult = 5;
|
|
if (has_strretresult()) {
|
|
total_size += 1 +
|
|
::google::protobuf::internal::WireFormatLite::StringSize(
|
|
this->strretresult());
|
|
}
|
|
|
|
}
|
|
// repeated .iot_idl.SConstSetQueue seqValue = 4;
|
|
total_size += 1 * this->seqvalue_size();
|
|
for (int i = 0; i < this->seqvalue_size(); i++) {
|
|
total_size +=
|
|
::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
|
|
this->seqvalue(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 SFesConstReadReplyPkg::MergeFrom(const ::google::protobuf::Message& from) {
|
|
GOOGLE_CHECK_NE(&from, this);
|
|
const SFesConstReadReplyPkg* source =
|
|
::google::protobuf::internal::dynamic_cast_if_available<const SFesConstReadReplyPkg*>(
|
|
&from);
|
|
if (source == NULL) {
|
|
::google::protobuf::internal::ReflectionOps::Merge(from, this);
|
|
} else {
|
|
MergeFrom(*source);
|
|
}
|
|
}
|
|
|
|
void SFesConstReadReplyPkg::MergeFrom(const SFesConstReadReplyPkg& from) {
|
|
GOOGLE_CHECK_NE(&from, this);
|
|
seqvalue_.MergeFrom(from.seqvalue_);
|
|
if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
|
|
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_strretresult()) {
|
|
set_strretresult(from.strretresult());
|
|
}
|
|
}
|
|
mutable_unknown_fields()->MergeFrom(from.unknown_fields());
|
|
}
|
|
|
|
void SFesConstReadReplyPkg::CopyFrom(const ::google::protobuf::Message& from) {
|
|
if (&from == this) return;
|
|
Clear();
|
|
MergeFrom(from);
|
|
}
|
|
|
|
void SFesConstReadReplyPkg::CopyFrom(const SFesConstReadReplyPkg& from) {
|
|
if (&from == this) return;
|
|
Clear();
|
|
MergeFrom(from);
|
|
}
|
|
|
|
bool SFesConstReadReplyPkg::IsInitialized() const {
|
|
if ((_has_bits_[0] & 0x00000007) != 0x00000007) return false;
|
|
|
|
if (!::google::protobuf::internal::AllAreInitialized(this->seqvalue())) return false;
|
|
return true;
|
|
}
|
|
|
|
void SFesConstReadReplyPkg::Swap(SFesConstReadReplyPkg* other) {
|
|
if (other != this) {
|
|
std::swap(nrtuno_, other->nrtuno_);
|
|
std::swap(ndevid_, other->ndevid_);
|
|
std::swap(nretstatus_, other->nretstatus_);
|
|
seqvalue_.Swap(&other->seqvalue_);
|
|
std::swap(strretresult_, other->strretresult_);
|
|
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 SFesConstReadReplyPkg::GetMetadata() const {
|
|
protobuf_AssignDescriptorsOnce();
|
|
::google::protobuf::Metadata metadata;
|
|
metadata.descriptor = SFesConstReadReplyPkg_descriptor_;
|
|
metadata.reflection = SFesConstReadReplyPkg_reflection_;
|
|
return metadata;
|
|
}
|
|
|
|
|
|
// ===================================================================
|
|
|
|
#ifndef _MSC_VER
|
|
const int SFesChanStatusInfo::kNChanNoFieldNumber;
|
|
const int SFesChanStatusInfo::kUStatusFieldNumber;
|
|
const int SFesChanStatusInfo::kFErrRateFieldNumber;
|
|
const int SFesChanStatusInfo::kUlTimeFieldNumber;
|
|
#endif // !_MSC_VER
|
|
|
|
SFesChanStatusInfo::SFesChanStatusInfo()
|
|
: ::google::protobuf::Message() {
|
|
SharedCtor();
|
|
// @@protoc_insertion_point(constructor:iot_idl.SFesChanStatusInfo)
|
|
}
|
|
|
|
void SFesChanStatusInfo::InitAsDefaultInstance() {
|
|
}
|
|
|
|
SFesChanStatusInfo::SFesChanStatusInfo(const SFesChanStatusInfo& from)
|
|
: ::google::protobuf::Message() {
|
|
SharedCtor();
|
|
MergeFrom(from);
|
|
// @@protoc_insertion_point(copy_constructor:iot_idl.SFesChanStatusInfo)
|
|
}
|
|
|
|
void SFesChanStatusInfo::SharedCtor() {
|
|
_cached_size_ = 0;
|
|
nchanno_ = 0;
|
|
ustatus_ = 0u;
|
|
ferrrate_ = 0;
|
|
ultime_ = GOOGLE_ULONGLONG(0);
|
|
::memset(_has_bits_, 0, sizeof(_has_bits_));
|
|
}
|
|
|
|
SFesChanStatusInfo::~SFesChanStatusInfo() {
|
|
// @@protoc_insertion_point(destructor:iot_idl.SFesChanStatusInfo)
|
|
SharedDtor();
|
|
}
|
|
|
|
void SFesChanStatusInfo::SharedDtor() {
|
|
if (this != default_instance_) {
|
|
}
|
|
}
|
|
|
|
void SFesChanStatusInfo::SetCachedSize(int size) const {
|
|
GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
|
|
_cached_size_ = size;
|
|
GOOGLE_SAFE_CONCURRENT_WRITES_END();
|
|
}
|
|
const ::google::protobuf::Descriptor* SFesChanStatusInfo::descriptor() {
|
|
protobuf_AssignDescriptorsOnce();
|
|
return SFesChanStatusInfo_descriptor_;
|
|
}
|
|
|
|
const SFesChanStatusInfo& SFesChanStatusInfo::default_instance() {
|
|
if (default_instance_ == NULL) protobuf_AddDesc_FesMessage_2eproto();
|
|
return *default_instance_;
|
|
}
|
|
|
|
SFesChanStatusInfo* SFesChanStatusInfo::default_instance_ = NULL;
|
|
|
|
SFesChanStatusInfo* SFesChanStatusInfo::New() const {
|
|
return new SFesChanStatusInfo;
|
|
}
|
|
|
|
void SFesChanStatusInfo::Clear() {
|
|
#define OFFSET_OF_FIELD_(f) (reinterpret_cast<char*>( \
|
|
&reinterpret_cast<SFesChanStatusInfo*>(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_(nchanno_, ferrrate_);
|
|
|
|
#undef OFFSET_OF_FIELD_
|
|
#undef ZR_
|
|
|
|
::memset(_has_bits_, 0, sizeof(_has_bits_));
|
|
mutable_unknown_fields()->Clear();
|
|
}
|
|
|
|
bool SFesChanStatusInfo::MergePartialFromCodedStream(
|
|
::google::protobuf::io::CodedInputStream* input) {
|
|
#define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
|
|
::google::protobuf::uint32 tag;
|
|
// @@protoc_insertion_point(parse_start:iot_idl.SFesChanStatusInfo)
|
|
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 nChanNo = 1;
|
|
case 1: {
|
|
if (tag == 8) {
|
|
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
|
|
::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
|
|
input, &nchanno_)));
|
|
set_has_nchanno();
|
|
} else {
|
|
goto handle_unusual;
|
|
}
|
|
if (input->ExpectTag(16)) goto parse_uStatus;
|
|
break;
|
|
}
|
|
|
|
// required uint32 uStatus = 2;
|
|
case 2: {
|
|
if (tag == 16) {
|
|
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(29)) goto parse_fErrRate;
|
|
break;
|
|
}
|
|
|
|
// required float fErrRate = 3;
|
|
case 3: {
|
|
if (tag == 29) {
|
|
parse_fErrRate:
|
|
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
|
|
float, ::google::protobuf::internal::WireFormatLite::TYPE_FLOAT>(
|
|
input, &ferrrate_)));
|
|
set_has_ferrrate();
|
|
} 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:
|
|
// @@protoc_insertion_point(parse_success:iot_idl.SFesChanStatusInfo)
|
|
return true;
|
|
failure:
|
|
// @@protoc_insertion_point(parse_failure:iot_idl.SFesChanStatusInfo)
|
|
return false;
|
|
#undef DO_
|
|
}
|
|
|
|
void SFesChanStatusInfo::SerializeWithCachedSizes(
|
|
::google::protobuf::io::CodedOutputStream* output) const {
|
|
// @@protoc_insertion_point(serialize_start:iot_idl.SFesChanStatusInfo)
|
|
// required int32 nChanNo = 1;
|
|
if (has_nchanno()) {
|
|
::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->nchanno(), output);
|
|
}
|
|
|
|
// required uint32 uStatus = 2;
|
|
if (has_ustatus()) {
|
|
::google::protobuf::internal::WireFormatLite::WriteUInt32(2, this->ustatus(), output);
|
|
}
|
|
|
|
// required float fErrRate = 3;
|
|
if (has_ferrrate()) {
|
|
::google::protobuf::internal::WireFormatLite::WriteFloat(3, this->ferrrate(), 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);
|
|
}
|
|
// @@protoc_insertion_point(serialize_end:iot_idl.SFesChanStatusInfo)
|
|
}
|
|
|
|
::google::protobuf::uint8* SFesChanStatusInfo::SerializeWithCachedSizesToArray(
|
|
::google::protobuf::uint8* target) const {
|
|
// @@protoc_insertion_point(serialize_to_array_start:iot_idl.SFesChanStatusInfo)
|
|
// required int32 nChanNo = 1;
|
|
if (has_nchanno()) {
|
|
target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->nchanno(), target);
|
|
}
|
|
|
|
// required uint32 uStatus = 2;
|
|
if (has_ustatus()) {
|
|
target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(2, this->ustatus(), target);
|
|
}
|
|
|
|
// required float fErrRate = 3;
|
|
if (has_ferrrate()) {
|
|
target = ::google::protobuf::internal::WireFormatLite::WriteFloatToArray(3, this->ferrrate(), 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);
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_end:iot_idl.SFesChanStatusInfo)
|
|
return target;
|
|
}
|
|
|
|
int SFesChanStatusInfo::ByteSize() const {
|
|
int total_size = 0;
|
|
|
|
if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
|
|
// required int32 nChanNo = 1;
|
|
if (has_nchanno()) {
|
|
total_size += 1 +
|
|
::google::protobuf::internal::WireFormatLite::Int32Size(
|
|
this->nchanno());
|
|
}
|
|
|
|
// required uint32 uStatus = 2;
|
|
if (has_ustatus()) {
|
|
total_size += 1 +
|
|
::google::protobuf::internal::WireFormatLite::UInt32Size(
|
|
this->ustatus());
|
|
}
|
|
|
|
// required float fErrRate = 3;
|
|
if (has_ferrrate()) {
|
|
total_size += 1 + 4;
|
|
}
|
|
|
|
// 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 SFesChanStatusInfo::MergeFrom(const ::google::protobuf::Message& from) {
|
|
GOOGLE_CHECK_NE(&from, this);
|
|
const SFesChanStatusInfo* source =
|
|
::google::protobuf::internal::dynamic_cast_if_available<const SFesChanStatusInfo*>(
|
|
&from);
|
|
if (source == NULL) {
|
|
::google::protobuf::internal::ReflectionOps::Merge(from, this);
|
|
} else {
|
|
MergeFrom(*source);
|
|
}
|
|
}
|
|
|
|
void SFesChanStatusInfo::MergeFrom(const SFesChanStatusInfo& from) {
|
|
GOOGLE_CHECK_NE(&from, this);
|
|
if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
|
|
if (from.has_nchanno()) {
|
|
set_nchanno(from.nchanno());
|
|
}
|
|
if (from.has_ustatus()) {
|
|
set_ustatus(from.ustatus());
|
|
}
|
|
if (from.has_ferrrate()) {
|
|
set_ferrrate(from.ferrrate());
|
|
}
|
|
if (from.has_ultime()) {
|
|
set_ultime(from.ultime());
|
|
}
|
|
}
|
|
mutable_unknown_fields()->MergeFrom(from.unknown_fields());
|
|
}
|
|
|
|
void SFesChanStatusInfo::CopyFrom(const ::google::protobuf::Message& from) {
|
|
if (&from == this) return;
|
|
Clear();
|
|
MergeFrom(from);
|
|
}
|
|
|
|
void SFesChanStatusInfo::CopyFrom(const SFesChanStatusInfo& from) {
|
|
if (&from == this) return;
|
|
Clear();
|
|
MergeFrom(from);
|
|
}
|
|
|
|
bool SFesChanStatusInfo::IsInitialized() const {
|
|
if ((_has_bits_[0] & 0x0000000f) != 0x0000000f) return false;
|
|
|
|
return true;
|
|
}
|
|
|
|
void SFesChanStatusInfo::Swap(SFesChanStatusInfo* other) {
|
|
if (other != this) {
|
|
std::swap(nchanno_, other->nchanno_);
|
|
std::swap(ustatus_, other->ustatus_);
|
|
std::swap(ferrrate_, other->ferrrate_);
|
|
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 SFesChanStatusInfo::GetMetadata() const {
|
|
protobuf_AssignDescriptorsOnce();
|
|
::google::protobuf::Metadata metadata;
|
|
metadata.descriptor = SFesChanStatusInfo_descriptor_;
|
|
metadata.reflection = SFesChanStatusInfo_reflection_;
|
|
return metadata;
|
|
}
|
|
|
|
|
|
// ===================================================================
|
|
|
|
#ifndef _MSC_VER
|
|
const int SFesChanStatusPkg::kStHeadFieldNumber;
|
|
const int SFesChanStatusPkg::kStChanStatusFieldNumber;
|
|
#endif // !_MSC_VER
|
|
|
|
SFesChanStatusPkg::SFesChanStatusPkg()
|
|
: ::google::protobuf::Message() {
|
|
SharedCtor();
|
|
// @@protoc_insertion_point(constructor:iot_idl.SFesChanStatusPkg)
|
|
}
|
|
|
|
void SFesChanStatusPkg::InitAsDefaultInstance() {
|
|
sthead_ = const_cast< ::iot_idl::SFesRealPkgHead*>(&::iot_idl::SFesRealPkgHead::default_instance());
|
|
}
|
|
|
|
SFesChanStatusPkg::SFesChanStatusPkg(const SFesChanStatusPkg& from)
|
|
: ::google::protobuf::Message() {
|
|
SharedCtor();
|
|
MergeFrom(from);
|
|
// @@protoc_insertion_point(copy_constructor:iot_idl.SFesChanStatusPkg)
|
|
}
|
|
|
|
void SFesChanStatusPkg::SharedCtor() {
|
|
_cached_size_ = 0;
|
|
sthead_ = NULL;
|
|
::memset(_has_bits_, 0, sizeof(_has_bits_));
|
|
}
|
|
|
|
SFesChanStatusPkg::~SFesChanStatusPkg() {
|
|
// @@protoc_insertion_point(destructor:iot_idl.SFesChanStatusPkg)
|
|
SharedDtor();
|
|
}
|
|
|
|
void SFesChanStatusPkg::SharedDtor() {
|
|
if (this != default_instance_) {
|
|
delete sthead_;
|
|
}
|
|
}
|
|
|
|
void SFesChanStatusPkg::SetCachedSize(int size) const {
|
|
GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
|
|
_cached_size_ = size;
|
|
GOOGLE_SAFE_CONCURRENT_WRITES_END();
|
|
}
|
|
const ::google::protobuf::Descriptor* SFesChanStatusPkg::descriptor() {
|
|
protobuf_AssignDescriptorsOnce();
|
|
return SFesChanStatusPkg_descriptor_;
|
|
}
|
|
|
|
const SFesChanStatusPkg& SFesChanStatusPkg::default_instance() {
|
|
if (default_instance_ == NULL) protobuf_AddDesc_FesMessage_2eproto();
|
|
return *default_instance_;
|
|
}
|
|
|
|
SFesChanStatusPkg* SFesChanStatusPkg::default_instance_ = NULL;
|
|
|
|
SFesChanStatusPkg* SFesChanStatusPkg::New() const {
|
|
return new SFesChanStatusPkg;
|
|
}
|
|
|
|
void SFesChanStatusPkg::Clear() {
|
|
if (has_sthead()) {
|
|
if (sthead_ != NULL) sthead_->::iot_idl::SFesRealPkgHead::Clear();
|
|
}
|
|
stchanstatus_.Clear();
|
|
::memset(_has_bits_, 0, sizeof(_has_bits_));
|
|
mutable_unknown_fields()->Clear();
|
|
}
|
|
|
|
bool SFesChanStatusPkg::MergePartialFromCodedStream(
|
|
::google::protobuf::io::CodedInputStream* input) {
|
|
#define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
|
|
::google::protobuf::uint32 tag;
|
|
// @@protoc_insertion_point(parse_start:iot_idl.SFesChanStatusPkg)
|
|
for (;;) {
|
|
::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
|
|
tag = p.first;
|
|
if (!p.second) goto handle_unusual;
|
|
switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
|
|
// required .iot_idl.SFesRealPkgHead stHead = 1;
|
|
case 1: {
|
|
if (tag == 10) {
|
|
DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
|
|
input, mutable_sthead()));
|
|
} else {
|
|
goto handle_unusual;
|
|
}
|
|
if (input->ExpectTag(18)) goto parse_stChanStatus;
|
|
break;
|
|
}
|
|
|
|
// repeated .iot_idl.SFesChanStatusInfo stChanStatus = 2;
|
|
case 2: {
|
|
if (tag == 18) {
|
|
parse_stChanStatus:
|
|
DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
|
|
input, add_stchanstatus()));
|
|
} else {
|
|
goto handle_unusual;
|
|
}
|
|
if (input->ExpectTag(18)) goto parse_stChanStatus;
|
|
if (input->ExpectAtEnd()) goto success;
|
|
break;
|
|
}
|
|
|
|
default: {
|
|
handle_unusual:
|
|
if (tag == 0 ||
|
|
::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
|
|
::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
|
|
goto success;
|
|
}
|
|
DO_(::google::protobuf::internal::WireFormat::SkipField(
|
|
input, tag, mutable_unknown_fields()));
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
success:
|
|
// @@protoc_insertion_point(parse_success:iot_idl.SFesChanStatusPkg)
|
|
return true;
|
|
failure:
|
|
// @@protoc_insertion_point(parse_failure:iot_idl.SFesChanStatusPkg)
|
|
return false;
|
|
#undef DO_
|
|
}
|
|
|
|
void SFesChanStatusPkg::SerializeWithCachedSizes(
|
|
::google::protobuf::io::CodedOutputStream* output) const {
|
|
// @@protoc_insertion_point(serialize_start:iot_idl.SFesChanStatusPkg)
|
|
// required .iot_idl.SFesRealPkgHead stHead = 1;
|
|
if (has_sthead()) {
|
|
::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
|
|
1, this->sthead(), output);
|
|
}
|
|
|
|
// repeated .iot_idl.SFesChanStatusInfo stChanStatus = 2;
|
|
for (int i = 0; i < this->stchanstatus_size(); i++) {
|
|
::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
|
|
2, this->stchanstatus(i), output);
|
|
}
|
|
|
|
if (!unknown_fields().empty()) {
|
|
::google::protobuf::internal::WireFormat::SerializeUnknownFields(
|
|
unknown_fields(), output);
|
|
}
|
|
// @@protoc_insertion_point(serialize_end:iot_idl.SFesChanStatusPkg)
|
|
}
|
|
|
|
::google::protobuf::uint8* SFesChanStatusPkg::SerializeWithCachedSizesToArray(
|
|
::google::protobuf::uint8* target) const {
|
|
// @@protoc_insertion_point(serialize_to_array_start:iot_idl.SFesChanStatusPkg)
|
|
// required .iot_idl.SFesRealPkgHead stHead = 1;
|
|
if (has_sthead()) {
|
|
target = ::google::protobuf::internal::WireFormatLite::
|
|
WriteMessageNoVirtualToArray(
|
|
1, this->sthead(), target);
|
|
}
|
|
|
|
// repeated .iot_idl.SFesChanStatusInfo stChanStatus = 2;
|
|
for (int i = 0; i < this->stchanstatus_size(); i++) {
|
|
target = ::google::protobuf::internal::WireFormatLite::
|
|
WriteMessageNoVirtualToArray(
|
|
2, this->stchanstatus(i), target);
|
|
}
|
|
|
|
if (!unknown_fields().empty()) {
|
|
target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
|
|
unknown_fields(), target);
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_end:iot_idl.SFesChanStatusPkg)
|
|
return target;
|
|
}
|
|
|
|
int SFesChanStatusPkg::ByteSize() const {
|
|
int total_size = 0;
|
|
|
|
if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
|
|
// required .iot_idl.SFesRealPkgHead stHead = 1;
|
|
if (has_sthead()) {
|
|
total_size += 1 +
|
|
::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
|
|
this->sthead());
|
|
}
|
|
|
|
}
|
|
// repeated .iot_idl.SFesChanStatusInfo stChanStatus = 2;
|
|
total_size += 1 * this->stchanstatus_size();
|
|
for (int i = 0; i < this->stchanstatus_size(); i++) {
|
|
total_size +=
|
|
::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
|
|
this->stchanstatus(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 SFesChanStatusPkg::MergeFrom(const ::google::protobuf::Message& from) {
|
|
GOOGLE_CHECK_NE(&from, this);
|
|
const SFesChanStatusPkg* source =
|
|
::google::protobuf::internal::dynamic_cast_if_available<const SFesChanStatusPkg*>(
|
|
&from);
|
|
if (source == NULL) {
|
|
::google::protobuf::internal::ReflectionOps::Merge(from, this);
|
|
} else {
|
|
MergeFrom(*source);
|
|
}
|
|
}
|
|
|
|
void SFesChanStatusPkg::MergeFrom(const SFesChanStatusPkg& from) {
|
|
GOOGLE_CHECK_NE(&from, this);
|
|
stchanstatus_.MergeFrom(from.stchanstatus_);
|
|
if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
|
|
if (from.has_sthead()) {
|
|
mutable_sthead()->::iot_idl::SFesRealPkgHead::MergeFrom(from.sthead());
|
|
}
|
|
}
|
|
mutable_unknown_fields()->MergeFrom(from.unknown_fields());
|
|
}
|
|
|
|
void SFesChanStatusPkg::CopyFrom(const ::google::protobuf::Message& from) {
|
|
if (&from == this) return;
|
|
Clear();
|
|
MergeFrom(from);
|
|
}
|
|
|
|
void SFesChanStatusPkg::CopyFrom(const SFesChanStatusPkg& from) {
|
|
if (&from == this) return;
|
|
Clear();
|
|
MergeFrom(from);
|
|
}
|
|
|
|
bool SFesChanStatusPkg::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->stchanstatus())) return false;
|
|
return true;
|
|
}
|
|
|
|
void SFesChanStatusPkg::Swap(SFesChanStatusPkg* other) {
|
|
if (other != this) {
|
|
std::swap(sthead_, other->sthead_);
|
|
stchanstatus_.Swap(&other->stchanstatus_);
|
|
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 SFesChanStatusPkg::GetMetadata() const {
|
|
protobuf_AssignDescriptorsOnce();
|
|
::google::protobuf::Metadata metadata;
|
|
metadata.descriptor = SFesChanStatusPkg_descriptor_;
|
|
metadata.reflection = SFesChanStatusPkg_reflection_;
|
|
return metadata;
|
|
}
|
|
|
|
|
|
// ===================================================================
|
|
|
|
#ifndef _MSC_VER
|
|
const int SFesRTUStatusInfo::kNRtuNoFieldNumber;
|
|
const int SFesRTUStatusInfo::kUStatusFieldNumber;
|
|
const int SFesRTUStatusInfo::kUlTimeFieldNumber;
|
|
#endif // !_MSC_VER
|
|
|
|
SFesRTUStatusInfo::SFesRTUStatusInfo()
|
|
: ::google::protobuf::Message() {
|
|
SharedCtor();
|
|
// @@protoc_insertion_point(constructor:iot_idl.SFesRTUStatusInfo)
|
|
}
|
|
|
|
void SFesRTUStatusInfo::InitAsDefaultInstance() {
|
|
}
|
|
|
|
SFesRTUStatusInfo::SFesRTUStatusInfo(const SFesRTUStatusInfo& from)
|
|
: ::google::protobuf::Message() {
|
|
SharedCtor();
|
|
MergeFrom(from);
|
|
// @@protoc_insertion_point(copy_constructor:iot_idl.SFesRTUStatusInfo)
|
|
}
|
|
|
|
void SFesRTUStatusInfo::SharedCtor() {
|
|
_cached_size_ = 0;
|
|
nrtuno_ = 0;
|
|
ustatus_ = 0u;
|
|
ultime_ = GOOGLE_ULONGLONG(0);
|
|
::memset(_has_bits_, 0, sizeof(_has_bits_));
|
|
}
|
|
|
|
SFesRTUStatusInfo::~SFesRTUStatusInfo() {
|
|
// @@protoc_insertion_point(destructor:iot_idl.SFesRTUStatusInfo)
|
|
SharedDtor();
|
|
}
|
|
|
|
void SFesRTUStatusInfo::SharedDtor() {
|
|
if (this != default_instance_) {
|
|
}
|
|
}
|
|
|
|
void SFesRTUStatusInfo::SetCachedSize(int size) const {
|
|
GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
|
|
_cached_size_ = size;
|
|
GOOGLE_SAFE_CONCURRENT_WRITES_END();
|
|
}
|
|
const ::google::protobuf::Descriptor* SFesRTUStatusInfo::descriptor() {
|
|
protobuf_AssignDescriptorsOnce();
|
|
return SFesRTUStatusInfo_descriptor_;
|
|
}
|
|
|
|
const SFesRTUStatusInfo& SFesRTUStatusInfo::default_instance() {
|
|
if (default_instance_ == NULL) protobuf_AddDesc_FesMessage_2eproto();
|
|
return *default_instance_;
|
|
}
|
|
|
|
SFesRTUStatusInfo* SFesRTUStatusInfo::default_instance_ = NULL;
|
|
|
|
SFesRTUStatusInfo* SFesRTUStatusInfo::New() const {
|
|
return new SFesRTUStatusInfo;
|
|
}
|
|
|
|
void SFesRTUStatusInfo::Clear() {
|
|
#define OFFSET_OF_FIELD_(f) (reinterpret_cast<char*>( \
|
|
&reinterpret_cast<SFesRTUStatusInfo*>(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_(nrtuno_, ultime_);
|
|
|
|
#undef OFFSET_OF_FIELD_
|
|
#undef ZR_
|
|
|
|
::memset(_has_bits_, 0, sizeof(_has_bits_));
|
|
mutable_unknown_fields()->Clear();
|
|
}
|
|
|
|
bool SFesRTUStatusInfo::MergePartialFromCodedStream(
|
|
::google::protobuf::io::CodedInputStream* input) {
|
|
#define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
|
|
::google::protobuf::uint32 tag;
|
|
// @@protoc_insertion_point(parse_start:iot_idl.SFesRTUStatusInfo)
|
|
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 nRtuNo = 1;
|
|
case 1: {
|
|
if (tag == 8) {
|
|
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(16)) goto parse_uStatus;
|
|
break;
|
|
}
|
|
|
|
// required uint32 uStatus = 2;
|
|
case 2: {
|
|
if (tag == 16) {
|
|
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(24)) goto parse_ulTime;
|
|
break;
|
|
}
|
|
|
|
// required uint64 ulTime = 3;
|
|
case 3: {
|
|
if (tag == 24) {
|
|
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:
|
|
// @@protoc_insertion_point(parse_success:iot_idl.SFesRTUStatusInfo)
|
|
return true;
|
|
failure:
|
|
// @@protoc_insertion_point(parse_failure:iot_idl.SFesRTUStatusInfo)
|
|
return false;
|
|
#undef DO_
|
|
}
|
|
|
|
void SFesRTUStatusInfo::SerializeWithCachedSizes(
|
|
::google::protobuf::io::CodedOutputStream* output) const {
|
|
// @@protoc_insertion_point(serialize_start:iot_idl.SFesRTUStatusInfo)
|
|
// required int32 nRtuNo = 1;
|
|
if (has_nrtuno()) {
|
|
::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->nrtuno(), output);
|
|
}
|
|
|
|
// required uint32 uStatus = 2;
|
|
if (has_ustatus()) {
|
|
::google::protobuf::internal::WireFormatLite::WriteUInt32(2, this->ustatus(), output);
|
|
}
|
|
|
|
// required uint64 ulTime = 3;
|
|
if (has_ultime()) {
|
|
::google::protobuf::internal::WireFormatLite::WriteUInt64(3, this->ultime(), output);
|
|
}
|
|
|
|
if (!unknown_fields().empty()) {
|
|
::google::protobuf::internal::WireFormat::SerializeUnknownFields(
|
|
unknown_fields(), output);
|
|
}
|
|
// @@protoc_insertion_point(serialize_end:iot_idl.SFesRTUStatusInfo)
|
|
}
|
|
|
|
::google::protobuf::uint8* SFesRTUStatusInfo::SerializeWithCachedSizesToArray(
|
|
::google::protobuf::uint8* target) const {
|
|
// @@protoc_insertion_point(serialize_to_array_start:iot_idl.SFesRTUStatusInfo)
|
|
// required int32 nRtuNo = 1;
|
|
if (has_nrtuno()) {
|
|
target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->nrtuno(), target);
|
|
}
|
|
|
|
// required uint32 uStatus = 2;
|
|
if (has_ustatus()) {
|
|
target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(2, this->ustatus(), target);
|
|
}
|
|
|
|
// required uint64 ulTime = 3;
|
|
if (has_ultime()) {
|
|
target = ::google::protobuf::internal::WireFormatLite::WriteUInt64ToArray(3, this->ultime(), target);
|
|
}
|
|
|
|
if (!unknown_fields().empty()) {
|
|
target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
|
|
unknown_fields(), target);
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_end:iot_idl.SFesRTUStatusInfo)
|
|
return target;
|
|
}
|
|
|
|
int SFesRTUStatusInfo::ByteSize() const {
|
|
int total_size = 0;
|
|
|
|
if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
|
|
// required int32 nRtuNo = 1;
|
|
if (has_nrtuno()) {
|
|
total_size += 1 +
|
|
::google::protobuf::internal::WireFormatLite::Int32Size(
|
|
this->nrtuno());
|
|
}
|
|
|
|
// required uint32 uStatus = 2;
|
|
if (has_ustatus()) {
|
|
total_size += 1 +
|
|
::google::protobuf::internal::WireFormatLite::UInt32Size(
|
|
this->ustatus());
|
|
}
|
|
|
|
// required uint64 ulTime = 3;
|
|
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 SFesRTUStatusInfo::MergeFrom(const ::google::protobuf::Message& from) {
|
|
GOOGLE_CHECK_NE(&from, this);
|
|
const SFesRTUStatusInfo* source =
|
|
::google::protobuf::internal::dynamic_cast_if_available<const SFesRTUStatusInfo*>(
|
|
&from);
|
|
if (source == NULL) {
|
|
::google::protobuf::internal::ReflectionOps::Merge(from, this);
|
|
} else {
|
|
MergeFrom(*source);
|
|
}
|
|
}
|
|
|
|
void SFesRTUStatusInfo::MergeFrom(const SFesRTUStatusInfo& from) {
|
|
GOOGLE_CHECK_NE(&from, this);
|
|
if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
|
|
if (from.has_nrtuno()) {
|
|
set_nrtuno(from.nrtuno());
|
|
}
|
|
if (from.has_ustatus()) {
|
|
set_ustatus(from.ustatus());
|
|
}
|
|
if (from.has_ultime()) {
|
|
set_ultime(from.ultime());
|
|
}
|
|
}
|
|
mutable_unknown_fields()->MergeFrom(from.unknown_fields());
|
|
}
|
|
|
|
void SFesRTUStatusInfo::CopyFrom(const ::google::protobuf::Message& from) {
|
|
if (&from == this) return;
|
|
Clear();
|
|
MergeFrom(from);
|
|
}
|
|
|
|
void SFesRTUStatusInfo::CopyFrom(const SFesRTUStatusInfo& from) {
|
|
if (&from == this) return;
|
|
Clear();
|
|
MergeFrom(from);
|
|
}
|
|
|
|
bool SFesRTUStatusInfo::IsInitialized() const {
|
|
if ((_has_bits_[0] & 0x00000007) != 0x00000007) return false;
|
|
|
|
return true;
|
|
}
|
|
|
|
void SFesRTUStatusInfo::Swap(SFesRTUStatusInfo* other) {
|
|
if (other != this) {
|
|
std::swap(nrtuno_, other->nrtuno_);
|
|
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 SFesRTUStatusInfo::GetMetadata() const {
|
|
protobuf_AssignDescriptorsOnce();
|
|
::google::protobuf::Metadata metadata;
|
|
metadata.descriptor = SFesRTUStatusInfo_descriptor_;
|
|
metadata.reflection = SFesRTUStatusInfo_reflection_;
|
|
return metadata;
|
|
}
|
|
|
|
|
|
// ===================================================================
|
|
|
|
#ifndef _MSC_VER
|
|
const int SFesRTUStatusPkg::kStHeadFieldNumber;
|
|
const int SFesRTUStatusPkg::kStRtuStatusFieldNumber;
|
|
#endif // !_MSC_VER
|
|
|
|
SFesRTUStatusPkg::SFesRTUStatusPkg()
|
|
: ::google::protobuf::Message() {
|
|
SharedCtor();
|
|
// @@protoc_insertion_point(constructor:iot_idl.SFesRTUStatusPkg)
|
|
}
|
|
|
|
void SFesRTUStatusPkg::InitAsDefaultInstance() {
|
|
sthead_ = const_cast< ::iot_idl::SFesRealPkgHead*>(&::iot_idl::SFesRealPkgHead::default_instance());
|
|
}
|
|
|
|
SFesRTUStatusPkg::SFesRTUStatusPkg(const SFesRTUStatusPkg& from)
|
|
: ::google::protobuf::Message() {
|
|
SharedCtor();
|
|
MergeFrom(from);
|
|
// @@protoc_insertion_point(copy_constructor:iot_idl.SFesRTUStatusPkg)
|
|
}
|
|
|
|
void SFesRTUStatusPkg::SharedCtor() {
|
|
_cached_size_ = 0;
|
|
sthead_ = NULL;
|
|
::memset(_has_bits_, 0, sizeof(_has_bits_));
|
|
}
|
|
|
|
SFesRTUStatusPkg::~SFesRTUStatusPkg() {
|
|
// @@protoc_insertion_point(destructor:iot_idl.SFesRTUStatusPkg)
|
|
SharedDtor();
|
|
}
|
|
|
|
void SFesRTUStatusPkg::SharedDtor() {
|
|
if (this != default_instance_) {
|
|
delete sthead_;
|
|
}
|
|
}
|
|
|
|
void SFesRTUStatusPkg::SetCachedSize(int size) const {
|
|
GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
|
|
_cached_size_ = size;
|
|
GOOGLE_SAFE_CONCURRENT_WRITES_END();
|
|
}
|
|
const ::google::protobuf::Descriptor* SFesRTUStatusPkg::descriptor() {
|
|
protobuf_AssignDescriptorsOnce();
|
|
return SFesRTUStatusPkg_descriptor_;
|
|
}
|
|
|
|
const SFesRTUStatusPkg& SFesRTUStatusPkg::default_instance() {
|
|
if (default_instance_ == NULL) protobuf_AddDesc_FesMessage_2eproto();
|
|
return *default_instance_;
|
|
}
|
|
|
|
SFesRTUStatusPkg* SFesRTUStatusPkg::default_instance_ = NULL;
|
|
|
|
SFesRTUStatusPkg* SFesRTUStatusPkg::New() const {
|
|
return new SFesRTUStatusPkg;
|
|
}
|
|
|
|
void SFesRTUStatusPkg::Clear() {
|
|
if (has_sthead()) {
|
|
if (sthead_ != NULL) sthead_->::iot_idl::SFesRealPkgHead::Clear();
|
|
}
|
|
strtustatus_.Clear();
|
|
::memset(_has_bits_, 0, sizeof(_has_bits_));
|
|
mutable_unknown_fields()->Clear();
|
|
}
|
|
|
|
bool SFesRTUStatusPkg::MergePartialFromCodedStream(
|
|
::google::protobuf::io::CodedInputStream* input) {
|
|
#define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
|
|
::google::protobuf::uint32 tag;
|
|
// @@protoc_insertion_point(parse_start:iot_idl.SFesRTUStatusPkg)
|
|
for (;;) {
|
|
::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
|
|
tag = p.first;
|
|
if (!p.second) goto handle_unusual;
|
|
switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
|
|
// required .iot_idl.SFesRealPkgHead stHead = 1;
|
|
case 1: {
|
|
if (tag == 10) {
|
|
DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
|
|
input, mutable_sthead()));
|
|
} else {
|
|
goto handle_unusual;
|
|
}
|
|
if (input->ExpectTag(18)) goto parse_stRtuStatus;
|
|
break;
|
|
}
|
|
|
|
// repeated .iot_idl.SFesRTUStatusInfo stRtuStatus = 2;
|
|
case 2: {
|
|
if (tag == 18) {
|
|
parse_stRtuStatus:
|
|
DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
|
|
input, add_strtustatus()));
|
|
} else {
|
|
goto handle_unusual;
|
|
}
|
|
if (input->ExpectTag(18)) goto parse_stRtuStatus;
|
|
if (input->ExpectAtEnd()) goto success;
|
|
break;
|
|
}
|
|
|
|
default: {
|
|
handle_unusual:
|
|
if (tag == 0 ||
|
|
::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
|
|
::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
|
|
goto success;
|
|
}
|
|
DO_(::google::protobuf::internal::WireFormat::SkipField(
|
|
input, tag, mutable_unknown_fields()));
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
success:
|
|
// @@protoc_insertion_point(parse_success:iot_idl.SFesRTUStatusPkg)
|
|
return true;
|
|
failure:
|
|
// @@protoc_insertion_point(parse_failure:iot_idl.SFesRTUStatusPkg)
|
|
return false;
|
|
#undef DO_
|
|
}
|
|
|
|
void SFesRTUStatusPkg::SerializeWithCachedSizes(
|
|
::google::protobuf::io::CodedOutputStream* output) const {
|
|
// @@protoc_insertion_point(serialize_start:iot_idl.SFesRTUStatusPkg)
|
|
// required .iot_idl.SFesRealPkgHead stHead = 1;
|
|
if (has_sthead()) {
|
|
::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
|
|
1, this->sthead(), output);
|
|
}
|
|
|
|
// repeated .iot_idl.SFesRTUStatusInfo stRtuStatus = 2;
|
|
for (int i = 0; i < this->strtustatus_size(); i++) {
|
|
::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
|
|
2, this->strtustatus(i), output);
|
|
}
|
|
|
|
if (!unknown_fields().empty()) {
|
|
::google::protobuf::internal::WireFormat::SerializeUnknownFields(
|
|
unknown_fields(), output);
|
|
}
|
|
// @@protoc_insertion_point(serialize_end:iot_idl.SFesRTUStatusPkg)
|
|
}
|
|
|
|
::google::protobuf::uint8* SFesRTUStatusPkg::SerializeWithCachedSizesToArray(
|
|
::google::protobuf::uint8* target) const {
|
|
// @@protoc_insertion_point(serialize_to_array_start:iot_idl.SFesRTUStatusPkg)
|
|
// required .iot_idl.SFesRealPkgHead stHead = 1;
|
|
if (has_sthead()) {
|
|
target = ::google::protobuf::internal::WireFormatLite::
|
|
WriteMessageNoVirtualToArray(
|
|
1, this->sthead(), target);
|
|
}
|
|
|
|
// repeated .iot_idl.SFesRTUStatusInfo stRtuStatus = 2;
|
|
for (int i = 0; i < this->strtustatus_size(); i++) {
|
|
target = ::google::protobuf::internal::WireFormatLite::
|
|
WriteMessageNoVirtualToArray(
|
|
2, this->strtustatus(i), target);
|
|
}
|
|
|
|
if (!unknown_fields().empty()) {
|
|
target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
|
|
unknown_fields(), target);
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_end:iot_idl.SFesRTUStatusPkg)
|
|
return target;
|
|
}
|
|
|
|
int SFesRTUStatusPkg::ByteSize() const {
|
|
int total_size = 0;
|
|
|
|
if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
|
|
// required .iot_idl.SFesRealPkgHead stHead = 1;
|
|
if (has_sthead()) {
|
|
total_size += 1 +
|
|
::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
|
|
this->sthead());
|
|
}
|
|
|
|
}
|
|
// repeated .iot_idl.SFesRTUStatusInfo stRtuStatus = 2;
|
|
total_size += 1 * this->strtustatus_size();
|
|
for (int i = 0; i < this->strtustatus_size(); i++) {
|
|
total_size +=
|
|
::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
|
|
this->strtustatus(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 SFesRTUStatusPkg::MergeFrom(const ::google::protobuf::Message& from) {
|
|
GOOGLE_CHECK_NE(&from, this);
|
|
const SFesRTUStatusPkg* source =
|
|
::google::protobuf::internal::dynamic_cast_if_available<const SFesRTUStatusPkg*>(
|
|
&from);
|
|
if (source == NULL) {
|
|
::google::protobuf::internal::ReflectionOps::Merge(from, this);
|
|
} else {
|
|
MergeFrom(*source);
|
|
}
|
|
}
|
|
|
|
void SFesRTUStatusPkg::MergeFrom(const SFesRTUStatusPkg& from) {
|
|
GOOGLE_CHECK_NE(&from, this);
|
|
strtustatus_.MergeFrom(from.strtustatus_);
|
|
if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
|
|
if (from.has_sthead()) {
|
|
mutable_sthead()->::iot_idl::SFesRealPkgHead::MergeFrom(from.sthead());
|
|
}
|
|
}
|
|
mutable_unknown_fields()->MergeFrom(from.unknown_fields());
|
|
}
|
|
|
|
void SFesRTUStatusPkg::CopyFrom(const ::google::protobuf::Message& from) {
|
|
if (&from == this) return;
|
|
Clear();
|
|
MergeFrom(from);
|
|
}
|
|
|
|
void SFesRTUStatusPkg::CopyFrom(const SFesRTUStatusPkg& from) {
|
|
if (&from == this) return;
|
|
Clear();
|
|
MergeFrom(from);
|
|
}
|
|
|
|
bool SFesRTUStatusPkg::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->strtustatus())) return false;
|
|
return true;
|
|
}
|
|
|
|
void SFesRTUStatusPkg::Swap(SFesRTUStatusPkg* other) {
|
|
if (other != this) {
|
|
std::swap(sthead_, other->sthead_);
|
|
strtustatus_.Swap(&other->strtustatus_);
|
|
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 SFesRTUStatusPkg::GetMetadata() const {
|
|
protobuf_AssignDescriptorsOnce();
|
|
::google::protobuf::Metadata metadata;
|
|
metadata.descriptor = SFesRTUStatusPkg_descriptor_;
|
|
metadata.reflection = SFesRTUStatusPkg_reflection_;
|
|
return metadata;
|
|
}
|
|
|
|
|
|
// ===================================================================
|
|
|
|
#ifndef _MSC_VER
|
|
const int SFesSoeEventInfo::kStrAppTableNameFieldNumber;
|
|
const int SFesSoeEventInfo::kStrAppColumnNameFieldNumber;
|
|
const int SFesSoeEventInfo::kStrAppTagNameFieldNumber;
|
|
const int SFesSoeEventInfo::kUStatusFieldNumber;
|
|
const int SFesSoeEventInfo::kNValueFieldNumber;
|
|
const int SFesSoeEventInfo::kUlTimeFieldNumber;
|
|
const int SFesSoeEventInfo::kStrFaultDescFieldNumber;
|
|
#endif // !_MSC_VER
|
|
|
|
SFesSoeEventInfo::SFesSoeEventInfo()
|
|
: ::google::protobuf::Message() {
|
|
SharedCtor();
|
|
// @@protoc_insertion_point(constructor:iot_idl.SFesSoeEventInfo)
|
|
}
|
|
|
|
void SFesSoeEventInfo::InitAsDefaultInstance() {
|
|
}
|
|
|
|
SFesSoeEventInfo::SFesSoeEventInfo(const SFesSoeEventInfo& from)
|
|
: ::google::protobuf::Message() {
|
|
SharedCtor();
|
|
MergeFrom(from);
|
|
// @@protoc_insertion_point(copy_constructor:iot_idl.SFesSoeEventInfo)
|
|
}
|
|
|
|
void SFesSoeEventInfo::SharedCtor() {
|
|
::google::protobuf::internal::GetEmptyString();
|
|
_cached_size_ = 0;
|
|
strapptablename_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
strappcolumnname_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
strapptagname_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
ustatus_ = 0u;
|
|
nvalue_ = 0;
|
|
ultime_ = GOOGLE_ULONGLONG(0);
|
|
strfaultdesc_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
::memset(_has_bits_, 0, sizeof(_has_bits_));
|
|
}
|
|
|
|
SFesSoeEventInfo::~SFesSoeEventInfo() {
|
|
// @@protoc_insertion_point(destructor:iot_idl.SFesSoeEventInfo)
|
|
SharedDtor();
|
|
}
|
|
|
|
void SFesSoeEventInfo::SharedDtor() {
|
|
if (strapptablename_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
|
|
delete strapptablename_;
|
|
}
|
|
if (strappcolumnname_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
|
|
delete strappcolumnname_;
|
|
}
|
|
if (strapptagname_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
|
|
delete strapptagname_;
|
|
}
|
|
if (strfaultdesc_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
|
|
delete strfaultdesc_;
|
|
}
|
|
if (this != default_instance_) {
|
|
}
|
|
}
|
|
|
|
void SFesSoeEventInfo::SetCachedSize(int size) const {
|
|
GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
|
|
_cached_size_ = size;
|
|
GOOGLE_SAFE_CONCURRENT_WRITES_END();
|
|
}
|
|
const ::google::protobuf::Descriptor* SFesSoeEventInfo::descriptor() {
|
|
protobuf_AssignDescriptorsOnce();
|
|
return SFesSoeEventInfo_descriptor_;
|
|
}
|
|
|
|
const SFesSoeEventInfo& SFesSoeEventInfo::default_instance() {
|
|
if (default_instance_ == NULL) protobuf_AddDesc_FesMessage_2eproto();
|
|
return *default_instance_;
|
|
}
|
|
|
|
SFesSoeEventInfo* SFesSoeEventInfo::default_instance_ = NULL;
|
|
|
|
SFesSoeEventInfo* SFesSoeEventInfo::New() const {
|
|
return new SFesSoeEventInfo;
|
|
}
|
|
|
|
void SFesSoeEventInfo::Clear() {
|
|
#define OFFSET_OF_FIELD_(f) (reinterpret_cast<char*>( \
|
|
&reinterpret_cast<SFesSoeEventInfo*>(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] & 127) {
|
|
ZR_(ustatus_, ultime_);
|
|
if (has_strapptablename()) {
|
|
if (strapptablename_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
|
|
strapptablename_->clear();
|
|
}
|
|
}
|
|
if (has_strappcolumnname()) {
|
|
if (strappcolumnname_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
|
|
strappcolumnname_->clear();
|
|
}
|
|
}
|
|
if (has_strapptagname()) {
|
|
if (strapptagname_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
|
|
strapptagname_->clear();
|
|
}
|
|
}
|
|
if (has_strfaultdesc()) {
|
|
if (strfaultdesc_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
|
|
strfaultdesc_->clear();
|
|
}
|
|
}
|
|
}
|
|
|
|
#undef OFFSET_OF_FIELD_
|
|
#undef ZR_
|
|
|
|
::memset(_has_bits_, 0, sizeof(_has_bits_));
|
|
mutable_unknown_fields()->Clear();
|
|
}
|
|
|
|
bool SFesSoeEventInfo::MergePartialFromCodedStream(
|
|
::google::protobuf::io::CodedInputStream* input) {
|
|
#define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
|
|
::google::protobuf::uint32 tag;
|
|
// @@protoc_insertion_point(parse_start:iot_idl.SFesSoeEventInfo)
|
|
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 strAppTableName = 1;
|
|
case 1: {
|
|
if (tag == 10) {
|
|
DO_(::google::protobuf::internal::WireFormatLite::ReadString(
|
|
input, this->mutable_strapptablename()));
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
|
|
this->strapptablename().data(), this->strapptablename().length(),
|
|
::google::protobuf::internal::WireFormat::PARSE,
|
|
"strapptablename");
|
|
} else {
|
|
goto handle_unusual;
|
|
}
|
|
if (input->ExpectTag(18)) goto parse_strAppColumnName;
|
|
break;
|
|
}
|
|
|
|
// required string strAppColumnName = 2;
|
|
case 2: {
|
|
if (tag == 18) {
|
|
parse_strAppColumnName:
|
|
DO_(::google::protobuf::internal::WireFormatLite::ReadString(
|
|
input, this->mutable_strappcolumnname()));
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
|
|
this->strappcolumnname().data(), this->strappcolumnname().length(),
|
|
::google::protobuf::internal::WireFormat::PARSE,
|
|
"strappcolumnname");
|
|
} else {
|
|
goto handle_unusual;
|
|
}
|
|
if (input->ExpectTag(26)) goto parse_strAppTagName;
|
|
break;
|
|
}
|
|
|
|
// required string strAppTagName = 3;
|
|
case 3: {
|
|
if (tag == 26) {
|
|
parse_strAppTagName:
|
|
DO_(::google::protobuf::internal::WireFormatLite::ReadString(
|
|
input, this->mutable_strapptagname()));
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
|
|
this->strapptagname().data(), this->strapptagname().length(),
|
|
::google::protobuf::internal::WireFormat::PARSE,
|
|
"strapptagname");
|
|
} else {
|
|
goto handle_unusual;
|
|
}
|
|
if (input->ExpectTag(32)) goto parse_uStatus;
|
|
break;
|
|
}
|
|
|
|
// required uint32 uStatus = 4;
|
|
case 4: {
|
|
if (tag == 32) {
|
|
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(40)) goto parse_nValue;
|
|
break;
|
|
}
|
|
|
|
// required int32 nValue = 5;
|
|
case 5: {
|
|
if (tag == 40) {
|
|
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(48)) goto parse_ulTime;
|
|
break;
|
|
}
|
|
|
|
// required uint64 ulTime = 6;
|
|
case 6: {
|
|
if (tag == 48) {
|
|
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->ExpectTag(58)) goto parse_strFaultDesc;
|
|
break;
|
|
}
|
|
|
|
// optional string strFaultDesc = 7;
|
|
case 7: {
|
|
if (tag == 58) {
|
|
parse_strFaultDesc:
|
|
DO_(::google::protobuf::internal::WireFormatLite::ReadString(
|
|
input, this->mutable_strfaultdesc()));
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
|
|
this->strfaultdesc().data(), this->strfaultdesc().length(),
|
|
::google::protobuf::internal::WireFormat::PARSE,
|
|
"strfaultdesc");
|
|
} else {
|
|
goto handle_unusual;
|
|
}
|
|
if (input->ExpectAtEnd()) goto success;
|
|
break;
|
|
}
|
|
|
|
default: {
|
|
handle_unusual:
|
|
if (tag == 0 ||
|
|
::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
|
|
::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
|
|
goto success;
|
|
}
|
|
DO_(::google::protobuf::internal::WireFormat::SkipField(
|
|
input, tag, mutable_unknown_fields()));
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
success:
|
|
// @@protoc_insertion_point(parse_success:iot_idl.SFesSoeEventInfo)
|
|
return true;
|
|
failure:
|
|
// @@protoc_insertion_point(parse_failure:iot_idl.SFesSoeEventInfo)
|
|
return false;
|
|
#undef DO_
|
|
}
|
|
|
|
void SFesSoeEventInfo::SerializeWithCachedSizes(
|
|
::google::protobuf::io::CodedOutputStream* output) const {
|
|
// @@protoc_insertion_point(serialize_start:iot_idl.SFesSoeEventInfo)
|
|
// required string strAppTableName = 1;
|
|
if (has_strapptablename()) {
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
|
|
this->strapptablename().data(), this->strapptablename().length(),
|
|
::google::protobuf::internal::WireFormat::SERIALIZE,
|
|
"strapptablename");
|
|
::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
|
|
1, this->strapptablename(), output);
|
|
}
|
|
|
|
// required string strAppColumnName = 2;
|
|
if (has_strappcolumnname()) {
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
|
|
this->strappcolumnname().data(), this->strappcolumnname().length(),
|
|
::google::protobuf::internal::WireFormat::SERIALIZE,
|
|
"strappcolumnname");
|
|
::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
|
|
2, this->strappcolumnname(), output);
|
|
}
|
|
|
|
// required string strAppTagName = 3;
|
|
if (has_strapptagname()) {
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
|
|
this->strapptagname().data(), this->strapptagname().length(),
|
|
::google::protobuf::internal::WireFormat::SERIALIZE,
|
|
"strapptagname");
|
|
::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
|
|
3, this->strapptagname(), output);
|
|
}
|
|
|
|
// required uint32 uStatus = 4;
|
|
if (has_ustatus()) {
|
|
::google::protobuf::internal::WireFormatLite::WriteUInt32(4, this->ustatus(), output);
|
|
}
|
|
|
|
// required int32 nValue = 5;
|
|
if (has_nvalue()) {
|
|
::google::protobuf::internal::WireFormatLite::WriteInt32(5, this->nvalue(), output);
|
|
}
|
|
|
|
// required uint64 ulTime = 6;
|
|
if (has_ultime()) {
|
|
::google::protobuf::internal::WireFormatLite::WriteUInt64(6, this->ultime(), output);
|
|
}
|
|
|
|
// optional string strFaultDesc = 7;
|
|
if (has_strfaultdesc()) {
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
|
|
this->strfaultdesc().data(), this->strfaultdesc().length(),
|
|
::google::protobuf::internal::WireFormat::SERIALIZE,
|
|
"strfaultdesc");
|
|
::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
|
|
7, this->strfaultdesc(), output);
|
|
}
|
|
|
|
if (!unknown_fields().empty()) {
|
|
::google::protobuf::internal::WireFormat::SerializeUnknownFields(
|
|
unknown_fields(), output);
|
|
}
|
|
// @@protoc_insertion_point(serialize_end:iot_idl.SFesSoeEventInfo)
|
|
}
|
|
|
|
::google::protobuf::uint8* SFesSoeEventInfo::SerializeWithCachedSizesToArray(
|
|
::google::protobuf::uint8* target) const {
|
|
// @@protoc_insertion_point(serialize_to_array_start:iot_idl.SFesSoeEventInfo)
|
|
// required string strAppTableName = 1;
|
|
if (has_strapptablename()) {
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
|
|
this->strapptablename().data(), this->strapptablename().length(),
|
|
::google::protobuf::internal::WireFormat::SERIALIZE,
|
|
"strapptablename");
|
|
target =
|
|
::google::protobuf::internal::WireFormatLite::WriteStringToArray(
|
|
1, this->strapptablename(), target);
|
|
}
|
|
|
|
// required string strAppColumnName = 2;
|
|
if (has_strappcolumnname()) {
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
|
|
this->strappcolumnname().data(), this->strappcolumnname().length(),
|
|
::google::protobuf::internal::WireFormat::SERIALIZE,
|
|
"strappcolumnname");
|
|
target =
|
|
::google::protobuf::internal::WireFormatLite::WriteStringToArray(
|
|
2, this->strappcolumnname(), target);
|
|
}
|
|
|
|
// required string strAppTagName = 3;
|
|
if (has_strapptagname()) {
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
|
|
this->strapptagname().data(), this->strapptagname().length(),
|
|
::google::protobuf::internal::WireFormat::SERIALIZE,
|
|
"strapptagname");
|
|
target =
|
|
::google::protobuf::internal::WireFormatLite::WriteStringToArray(
|
|
3, this->strapptagname(), target);
|
|
}
|
|
|
|
// required uint32 uStatus = 4;
|
|
if (has_ustatus()) {
|
|
target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(4, this->ustatus(), target);
|
|
}
|
|
|
|
// required int32 nValue = 5;
|
|
if (has_nvalue()) {
|
|
target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(5, this->nvalue(), target);
|
|
}
|
|
|
|
// required uint64 ulTime = 6;
|
|
if (has_ultime()) {
|
|
target = ::google::protobuf::internal::WireFormatLite::WriteUInt64ToArray(6, this->ultime(), target);
|
|
}
|
|
|
|
// optional string strFaultDesc = 7;
|
|
if (has_strfaultdesc()) {
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
|
|
this->strfaultdesc().data(), this->strfaultdesc().length(),
|
|
::google::protobuf::internal::WireFormat::SERIALIZE,
|
|
"strfaultdesc");
|
|
target =
|
|
::google::protobuf::internal::WireFormatLite::WriteStringToArray(
|
|
7, this->strfaultdesc(), target);
|
|
}
|
|
|
|
if (!unknown_fields().empty()) {
|
|
target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
|
|
unknown_fields(), target);
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_end:iot_idl.SFesSoeEventInfo)
|
|
return target;
|
|
}
|
|
|
|
int SFesSoeEventInfo::ByteSize() const {
|
|
int total_size = 0;
|
|
|
|
if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
|
|
// required string strAppTableName = 1;
|
|
if (has_strapptablename()) {
|
|
total_size += 1 +
|
|
::google::protobuf::internal::WireFormatLite::StringSize(
|
|
this->strapptablename());
|
|
}
|
|
|
|
// required string strAppColumnName = 2;
|
|
if (has_strappcolumnname()) {
|
|
total_size += 1 +
|
|
::google::protobuf::internal::WireFormatLite::StringSize(
|
|
this->strappcolumnname());
|
|
}
|
|
|
|
// required string strAppTagName = 3;
|
|
if (has_strapptagname()) {
|
|
total_size += 1 +
|
|
::google::protobuf::internal::WireFormatLite::StringSize(
|
|
this->strapptagname());
|
|
}
|
|
|
|
// required uint32 uStatus = 4;
|
|
if (has_ustatus()) {
|
|
total_size += 1 +
|
|
::google::protobuf::internal::WireFormatLite::UInt32Size(
|
|
this->ustatus());
|
|
}
|
|
|
|
// required int32 nValue = 5;
|
|
if (has_nvalue()) {
|
|
total_size += 1 +
|
|
::google::protobuf::internal::WireFormatLite::Int32Size(
|
|
this->nvalue());
|
|
}
|
|
|
|
// required uint64 ulTime = 6;
|
|
if (has_ultime()) {
|
|
total_size += 1 +
|
|
::google::protobuf::internal::WireFormatLite::UInt64Size(
|
|
this->ultime());
|
|
}
|
|
|
|
// optional string strFaultDesc = 7;
|
|
if (has_strfaultdesc()) {
|
|
total_size += 1 +
|
|
::google::protobuf::internal::WireFormatLite::StringSize(
|
|
this->strfaultdesc());
|
|
}
|
|
|
|
}
|
|
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 SFesSoeEventInfo::MergeFrom(const ::google::protobuf::Message& from) {
|
|
GOOGLE_CHECK_NE(&from, this);
|
|
const SFesSoeEventInfo* source =
|
|
::google::protobuf::internal::dynamic_cast_if_available<const SFesSoeEventInfo*>(
|
|
&from);
|
|
if (source == NULL) {
|
|
::google::protobuf::internal::ReflectionOps::Merge(from, this);
|
|
} else {
|
|
MergeFrom(*source);
|
|
}
|
|
}
|
|
|
|
void SFesSoeEventInfo::MergeFrom(const SFesSoeEventInfo& from) {
|
|
GOOGLE_CHECK_NE(&from, this);
|
|
if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
|
|
if (from.has_strapptablename()) {
|
|
set_strapptablename(from.strapptablename());
|
|
}
|
|
if (from.has_strappcolumnname()) {
|
|
set_strappcolumnname(from.strappcolumnname());
|
|
}
|
|
if (from.has_strapptagname()) {
|
|
set_strapptagname(from.strapptagname());
|
|
}
|
|
if (from.has_ustatus()) {
|
|
set_ustatus(from.ustatus());
|
|
}
|
|
if (from.has_nvalue()) {
|
|
set_nvalue(from.nvalue());
|
|
}
|
|
if (from.has_ultime()) {
|
|
set_ultime(from.ultime());
|
|
}
|
|
if (from.has_strfaultdesc()) {
|
|
set_strfaultdesc(from.strfaultdesc());
|
|
}
|
|
}
|
|
mutable_unknown_fields()->MergeFrom(from.unknown_fields());
|
|
}
|
|
|
|
void SFesSoeEventInfo::CopyFrom(const ::google::protobuf::Message& from) {
|
|
if (&from == this) return;
|
|
Clear();
|
|
MergeFrom(from);
|
|
}
|
|
|
|
void SFesSoeEventInfo::CopyFrom(const SFesSoeEventInfo& from) {
|
|
if (&from == this) return;
|
|
Clear();
|
|
MergeFrom(from);
|
|
}
|
|
|
|
bool SFesSoeEventInfo::IsInitialized() const {
|
|
if ((_has_bits_[0] & 0x0000003f) != 0x0000003f) return false;
|
|
|
|
return true;
|
|
}
|
|
|
|
void SFesSoeEventInfo::Swap(SFesSoeEventInfo* other) {
|
|
if (other != this) {
|
|
std::swap(strapptablename_, other->strapptablename_);
|
|
std::swap(strappcolumnname_, other->strappcolumnname_);
|
|
std::swap(strapptagname_, other->strapptagname_);
|
|
std::swap(ustatus_, other->ustatus_);
|
|
std::swap(nvalue_, other->nvalue_);
|
|
std::swap(ultime_, other->ultime_);
|
|
std::swap(strfaultdesc_, other->strfaultdesc_);
|
|
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 SFesSoeEventInfo::GetMetadata() const {
|
|
protobuf_AssignDescriptorsOnce();
|
|
::google::protobuf::Metadata metadata;
|
|
metadata.descriptor = SFesSoeEventInfo_descriptor_;
|
|
metadata.reflection = SFesSoeEventInfo_reflection_;
|
|
return metadata;
|
|
}
|
|
|
|
|
|
// ===================================================================
|
|
|
|
#ifndef _MSC_VER
|
|
const int SFesChanEventInfo::kStrChanTagFieldNumber;
|
|
const int SFesChanEventInfo::kUStatusFieldNumber;
|
|
const int SFesChanEventInfo::kFErrRateFieldNumber;
|
|
const int SFesChanEventInfo::kUlTimeFieldNumber;
|
|
#endif // !_MSC_VER
|
|
|
|
SFesChanEventInfo::SFesChanEventInfo()
|
|
: ::google::protobuf::Message() {
|
|
SharedCtor();
|
|
// @@protoc_insertion_point(constructor:iot_idl.SFesChanEventInfo)
|
|
}
|
|
|
|
void SFesChanEventInfo::InitAsDefaultInstance() {
|
|
}
|
|
|
|
SFesChanEventInfo::SFesChanEventInfo(const SFesChanEventInfo& from)
|
|
: ::google::protobuf::Message() {
|
|
SharedCtor();
|
|
MergeFrom(from);
|
|
// @@protoc_insertion_point(copy_constructor:iot_idl.SFesChanEventInfo)
|
|
}
|
|
|
|
void SFesChanEventInfo::SharedCtor() {
|
|
::google::protobuf::internal::GetEmptyString();
|
|
_cached_size_ = 0;
|
|
strchantag_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
ustatus_ = 0u;
|
|
ferrrate_ = 0;
|
|
ultime_ = GOOGLE_ULONGLONG(0);
|
|
::memset(_has_bits_, 0, sizeof(_has_bits_));
|
|
}
|
|
|
|
SFesChanEventInfo::~SFesChanEventInfo() {
|
|
// @@protoc_insertion_point(destructor:iot_idl.SFesChanEventInfo)
|
|
SharedDtor();
|
|
}
|
|
|
|
void SFesChanEventInfo::SharedDtor() {
|
|
if (strchantag_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
|
|
delete strchantag_;
|
|
}
|
|
if (this != default_instance_) {
|
|
}
|
|
}
|
|
|
|
void SFesChanEventInfo::SetCachedSize(int size) const {
|
|
GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
|
|
_cached_size_ = size;
|
|
GOOGLE_SAFE_CONCURRENT_WRITES_END();
|
|
}
|
|
const ::google::protobuf::Descriptor* SFesChanEventInfo::descriptor() {
|
|
protobuf_AssignDescriptorsOnce();
|
|
return SFesChanEventInfo_descriptor_;
|
|
}
|
|
|
|
const SFesChanEventInfo& SFesChanEventInfo::default_instance() {
|
|
if (default_instance_ == NULL) protobuf_AddDesc_FesMessage_2eproto();
|
|
return *default_instance_;
|
|
}
|
|
|
|
SFesChanEventInfo* SFesChanEventInfo::default_instance_ = NULL;
|
|
|
|
SFesChanEventInfo* SFesChanEventInfo::New() const {
|
|
return new SFesChanEventInfo;
|
|
}
|
|
|
|
void SFesChanEventInfo::Clear() {
|
|
#define OFFSET_OF_FIELD_(f) (reinterpret_cast<char*>( \
|
|
&reinterpret_cast<SFesChanEventInfo*>(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] & 15) {
|
|
ZR_(ustatus_, ultime_);
|
|
if (has_strchantag()) {
|
|
if (strchantag_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
|
|
strchantag_->clear();
|
|
}
|
|
}
|
|
}
|
|
|
|
#undef OFFSET_OF_FIELD_
|
|
#undef ZR_
|
|
|
|
::memset(_has_bits_, 0, sizeof(_has_bits_));
|
|
mutable_unknown_fields()->Clear();
|
|
}
|
|
|
|
bool SFesChanEventInfo::MergePartialFromCodedStream(
|
|
::google::protobuf::io::CodedInputStream* input) {
|
|
#define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
|
|
::google::protobuf::uint32 tag;
|
|
// @@protoc_insertion_point(parse_start:iot_idl.SFesChanEventInfo)
|
|
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 strChanTag = 1;
|
|
case 1: {
|
|
if (tag == 10) {
|
|
DO_(::google::protobuf::internal::WireFormatLite::ReadString(
|
|
input, this->mutable_strchantag()));
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
|
|
this->strchantag().data(), this->strchantag().length(),
|
|
::google::protobuf::internal::WireFormat::PARSE,
|
|
"strchantag");
|
|
} else {
|
|
goto handle_unusual;
|
|
}
|
|
if (input->ExpectTag(16)) goto parse_uStatus;
|
|
break;
|
|
}
|
|
|
|
// required uint32 uStatus = 2;
|
|
case 2: {
|
|
if (tag == 16) {
|
|
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(29)) goto parse_fErrRate;
|
|
break;
|
|
}
|
|
|
|
// required float fErrRate = 3;
|
|
case 3: {
|
|
if (tag == 29) {
|
|
parse_fErrRate:
|
|
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
|
|
float, ::google::protobuf::internal::WireFormatLite::TYPE_FLOAT>(
|
|
input, &ferrrate_)));
|
|
set_has_ferrrate();
|
|
} 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:
|
|
// @@protoc_insertion_point(parse_success:iot_idl.SFesChanEventInfo)
|
|
return true;
|
|
failure:
|
|
// @@protoc_insertion_point(parse_failure:iot_idl.SFesChanEventInfo)
|
|
return false;
|
|
#undef DO_
|
|
}
|
|
|
|
void SFesChanEventInfo::SerializeWithCachedSizes(
|
|
::google::protobuf::io::CodedOutputStream* output) const {
|
|
// @@protoc_insertion_point(serialize_start:iot_idl.SFesChanEventInfo)
|
|
// required string strChanTag = 1;
|
|
if (has_strchantag()) {
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
|
|
this->strchantag().data(), this->strchantag().length(),
|
|
::google::protobuf::internal::WireFormat::SERIALIZE,
|
|
"strchantag");
|
|
::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
|
|
1, this->strchantag(), output);
|
|
}
|
|
|
|
// required uint32 uStatus = 2;
|
|
if (has_ustatus()) {
|
|
::google::protobuf::internal::WireFormatLite::WriteUInt32(2, this->ustatus(), output);
|
|
}
|
|
|
|
// required float fErrRate = 3;
|
|
if (has_ferrrate()) {
|
|
::google::protobuf::internal::WireFormatLite::WriteFloat(3, this->ferrrate(), 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);
|
|
}
|
|
// @@protoc_insertion_point(serialize_end:iot_idl.SFesChanEventInfo)
|
|
}
|
|
|
|
::google::protobuf::uint8* SFesChanEventInfo::SerializeWithCachedSizesToArray(
|
|
::google::protobuf::uint8* target) const {
|
|
// @@protoc_insertion_point(serialize_to_array_start:iot_idl.SFesChanEventInfo)
|
|
// required string strChanTag = 1;
|
|
if (has_strchantag()) {
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
|
|
this->strchantag().data(), this->strchantag().length(),
|
|
::google::protobuf::internal::WireFormat::SERIALIZE,
|
|
"strchantag");
|
|
target =
|
|
::google::protobuf::internal::WireFormatLite::WriteStringToArray(
|
|
1, this->strchantag(), target);
|
|
}
|
|
|
|
// required uint32 uStatus = 2;
|
|
if (has_ustatus()) {
|
|
target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(2, this->ustatus(), target);
|
|
}
|
|
|
|
// required float fErrRate = 3;
|
|
if (has_ferrrate()) {
|
|
target = ::google::protobuf::internal::WireFormatLite::WriteFloatToArray(3, this->ferrrate(), 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);
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_end:iot_idl.SFesChanEventInfo)
|
|
return target;
|
|
}
|
|
|
|
int SFesChanEventInfo::ByteSize() const {
|
|
int total_size = 0;
|
|
|
|
if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
|
|
// required string strChanTag = 1;
|
|
if (has_strchantag()) {
|
|
total_size += 1 +
|
|
::google::protobuf::internal::WireFormatLite::StringSize(
|
|
this->strchantag());
|
|
}
|
|
|
|
// required uint32 uStatus = 2;
|
|
if (has_ustatus()) {
|
|
total_size += 1 +
|
|
::google::protobuf::internal::WireFormatLite::UInt32Size(
|
|
this->ustatus());
|
|
}
|
|
|
|
// required float fErrRate = 3;
|
|
if (has_ferrrate()) {
|
|
total_size += 1 + 4;
|
|
}
|
|
|
|
// 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 SFesChanEventInfo::MergeFrom(const ::google::protobuf::Message& from) {
|
|
GOOGLE_CHECK_NE(&from, this);
|
|
const SFesChanEventInfo* source =
|
|
::google::protobuf::internal::dynamic_cast_if_available<const SFesChanEventInfo*>(
|
|
&from);
|
|
if (source == NULL) {
|
|
::google::protobuf::internal::ReflectionOps::Merge(from, this);
|
|
} else {
|
|
MergeFrom(*source);
|
|
}
|
|
}
|
|
|
|
void SFesChanEventInfo::MergeFrom(const SFesChanEventInfo& from) {
|
|
GOOGLE_CHECK_NE(&from, this);
|
|
if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
|
|
if (from.has_strchantag()) {
|
|
set_strchantag(from.strchantag());
|
|
}
|
|
if (from.has_ustatus()) {
|
|
set_ustatus(from.ustatus());
|
|
}
|
|
if (from.has_ferrrate()) {
|
|
set_ferrrate(from.ferrrate());
|
|
}
|
|
if (from.has_ultime()) {
|
|
set_ultime(from.ultime());
|
|
}
|
|
}
|
|
mutable_unknown_fields()->MergeFrom(from.unknown_fields());
|
|
}
|
|
|
|
void SFesChanEventInfo::CopyFrom(const ::google::protobuf::Message& from) {
|
|
if (&from == this) return;
|
|
Clear();
|
|
MergeFrom(from);
|
|
}
|
|
|
|
void SFesChanEventInfo::CopyFrom(const SFesChanEventInfo& from) {
|
|
if (&from == this) return;
|
|
Clear();
|
|
MergeFrom(from);
|
|
}
|
|
|
|
bool SFesChanEventInfo::IsInitialized() const {
|
|
if ((_has_bits_[0] & 0x0000000f) != 0x0000000f) return false;
|
|
|
|
return true;
|
|
}
|
|
|
|
void SFesChanEventInfo::Swap(SFesChanEventInfo* other) {
|
|
if (other != this) {
|
|
std::swap(strchantag_, other->strchantag_);
|
|
std::swap(ustatus_, other->ustatus_);
|
|
std::swap(ferrrate_, other->ferrrate_);
|
|
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 SFesChanEventInfo::GetMetadata() const {
|
|
protobuf_AssignDescriptorsOnce();
|
|
::google::protobuf::Metadata metadata;
|
|
metadata.descriptor = SFesChanEventInfo_descriptor_;
|
|
metadata.reflection = SFesChanEventInfo_reflection_;
|
|
return metadata;
|
|
}
|
|
|
|
|
|
// ===================================================================
|
|
|
|
#ifndef _MSC_VER
|
|
const int SFesRTUEventInfo::kStrRtuTagFieldNumber;
|
|
const int SFesRTUEventInfo::kUStatusFieldNumber;
|
|
const int SFesRTUEventInfo::kNCurChanNoFieldNumber;
|
|
const int SFesRTUEventInfo::kUlTimeFieldNumber;
|
|
#endif // !_MSC_VER
|
|
|
|
SFesRTUEventInfo::SFesRTUEventInfo()
|
|
: ::google::protobuf::Message() {
|
|
SharedCtor();
|
|
// @@protoc_insertion_point(constructor:iot_idl.SFesRTUEventInfo)
|
|
}
|
|
|
|
void SFesRTUEventInfo::InitAsDefaultInstance() {
|
|
}
|
|
|
|
SFesRTUEventInfo::SFesRTUEventInfo(const SFesRTUEventInfo& from)
|
|
: ::google::protobuf::Message() {
|
|
SharedCtor();
|
|
MergeFrom(from);
|
|
// @@protoc_insertion_point(copy_constructor:iot_idl.SFesRTUEventInfo)
|
|
}
|
|
|
|
void SFesRTUEventInfo::SharedCtor() {
|
|
::google::protobuf::internal::GetEmptyString();
|
|
_cached_size_ = 0;
|
|
strrtutag_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
ustatus_ = 0u;
|
|
ncurchanno_ = 0;
|
|
ultime_ = GOOGLE_ULONGLONG(0);
|
|
::memset(_has_bits_, 0, sizeof(_has_bits_));
|
|
}
|
|
|
|
SFesRTUEventInfo::~SFesRTUEventInfo() {
|
|
// @@protoc_insertion_point(destructor:iot_idl.SFesRTUEventInfo)
|
|
SharedDtor();
|
|
}
|
|
|
|
void SFesRTUEventInfo::SharedDtor() {
|
|
if (strrtutag_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
|
|
delete strrtutag_;
|
|
}
|
|
if (this != default_instance_) {
|
|
}
|
|
}
|
|
|
|
void SFesRTUEventInfo::SetCachedSize(int size) const {
|
|
GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
|
|
_cached_size_ = size;
|
|
GOOGLE_SAFE_CONCURRENT_WRITES_END();
|
|
}
|
|
const ::google::protobuf::Descriptor* SFesRTUEventInfo::descriptor() {
|
|
protobuf_AssignDescriptorsOnce();
|
|
return SFesRTUEventInfo_descriptor_;
|
|
}
|
|
|
|
const SFesRTUEventInfo& SFesRTUEventInfo::default_instance() {
|
|
if (default_instance_ == NULL) protobuf_AddDesc_FesMessage_2eproto();
|
|
return *default_instance_;
|
|
}
|
|
|
|
SFesRTUEventInfo* SFesRTUEventInfo::default_instance_ = NULL;
|
|
|
|
SFesRTUEventInfo* SFesRTUEventInfo::New() const {
|
|
return new SFesRTUEventInfo;
|
|
}
|
|
|
|
void SFesRTUEventInfo::Clear() {
|
|
#define OFFSET_OF_FIELD_(f) (reinterpret_cast<char*>( \
|
|
&reinterpret_cast<SFesRTUEventInfo*>(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] & 15) {
|
|
ZR_(ustatus_, ultime_);
|
|
if (has_strrtutag()) {
|
|
if (strrtutag_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
|
|
strrtutag_->clear();
|
|
}
|
|
}
|
|
}
|
|
|
|
#undef OFFSET_OF_FIELD_
|
|
#undef ZR_
|
|
|
|
::memset(_has_bits_, 0, sizeof(_has_bits_));
|
|
mutable_unknown_fields()->Clear();
|
|
}
|
|
|
|
bool SFesRTUEventInfo::MergePartialFromCodedStream(
|
|
::google::protobuf::io::CodedInputStream* input) {
|
|
#define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
|
|
::google::protobuf::uint32 tag;
|
|
// @@protoc_insertion_point(parse_start:iot_idl.SFesRTUEventInfo)
|
|
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 strRtuTag = 1;
|
|
case 1: {
|
|
if (tag == 10) {
|
|
DO_(::google::protobuf::internal::WireFormatLite::ReadString(
|
|
input, this->mutable_strrtutag()));
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
|
|
this->strrtutag().data(), this->strrtutag().length(),
|
|
::google::protobuf::internal::WireFormat::PARSE,
|
|
"strrtutag");
|
|
} else {
|
|
goto handle_unusual;
|
|
}
|
|
if (input->ExpectTag(16)) goto parse_uStatus;
|
|
break;
|
|
}
|
|
|
|
// required uint32 uStatus = 2;
|
|
case 2: {
|
|
if (tag == 16) {
|
|
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(24)) goto parse_nCurChanNo;
|
|
break;
|
|
}
|
|
|
|
// required int32 nCurChanNo = 3;
|
|
case 3: {
|
|
if (tag == 24) {
|
|
parse_nCurChanNo:
|
|
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
|
|
::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
|
|
input, &ncurchanno_)));
|
|
set_has_ncurchanno();
|
|
} 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:
|
|
// @@protoc_insertion_point(parse_success:iot_idl.SFesRTUEventInfo)
|
|
return true;
|
|
failure:
|
|
// @@protoc_insertion_point(parse_failure:iot_idl.SFesRTUEventInfo)
|
|
return false;
|
|
#undef DO_
|
|
}
|
|
|
|
void SFesRTUEventInfo::SerializeWithCachedSizes(
|
|
::google::protobuf::io::CodedOutputStream* output) const {
|
|
// @@protoc_insertion_point(serialize_start:iot_idl.SFesRTUEventInfo)
|
|
// required string strRtuTag = 1;
|
|
if (has_strrtutag()) {
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
|
|
this->strrtutag().data(), this->strrtutag().length(),
|
|
::google::protobuf::internal::WireFormat::SERIALIZE,
|
|
"strrtutag");
|
|
::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
|
|
1, this->strrtutag(), output);
|
|
}
|
|
|
|
// required uint32 uStatus = 2;
|
|
if (has_ustatus()) {
|
|
::google::protobuf::internal::WireFormatLite::WriteUInt32(2, this->ustatus(), output);
|
|
}
|
|
|
|
// required int32 nCurChanNo = 3;
|
|
if (has_ncurchanno()) {
|
|
::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->ncurchanno(), 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);
|
|
}
|
|
// @@protoc_insertion_point(serialize_end:iot_idl.SFesRTUEventInfo)
|
|
}
|
|
|
|
::google::protobuf::uint8* SFesRTUEventInfo::SerializeWithCachedSizesToArray(
|
|
::google::protobuf::uint8* target) const {
|
|
// @@protoc_insertion_point(serialize_to_array_start:iot_idl.SFesRTUEventInfo)
|
|
// required string strRtuTag = 1;
|
|
if (has_strrtutag()) {
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
|
|
this->strrtutag().data(), this->strrtutag().length(),
|
|
::google::protobuf::internal::WireFormat::SERIALIZE,
|
|
"strrtutag");
|
|
target =
|
|
::google::protobuf::internal::WireFormatLite::WriteStringToArray(
|
|
1, this->strrtutag(), target);
|
|
}
|
|
|
|
// required uint32 uStatus = 2;
|
|
if (has_ustatus()) {
|
|
target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(2, this->ustatus(), target);
|
|
}
|
|
|
|
// required int32 nCurChanNo = 3;
|
|
if (has_ncurchanno()) {
|
|
target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->ncurchanno(), 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);
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_end:iot_idl.SFesRTUEventInfo)
|
|
return target;
|
|
}
|
|
|
|
int SFesRTUEventInfo::ByteSize() const {
|
|
int total_size = 0;
|
|
|
|
if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
|
|
// required string strRtuTag = 1;
|
|
if (has_strrtutag()) {
|
|
total_size += 1 +
|
|
::google::protobuf::internal::WireFormatLite::StringSize(
|
|
this->strrtutag());
|
|
}
|
|
|
|
// required uint32 uStatus = 2;
|
|
if (has_ustatus()) {
|
|
total_size += 1 +
|
|
::google::protobuf::internal::WireFormatLite::UInt32Size(
|
|
this->ustatus());
|
|
}
|
|
|
|
// required int32 nCurChanNo = 3;
|
|
if (has_ncurchanno()) {
|
|
total_size += 1 +
|
|
::google::protobuf::internal::WireFormatLite::Int32Size(
|
|
this->ncurchanno());
|
|
}
|
|
|
|
// 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 SFesRTUEventInfo::MergeFrom(const ::google::protobuf::Message& from) {
|
|
GOOGLE_CHECK_NE(&from, this);
|
|
const SFesRTUEventInfo* source =
|
|
::google::protobuf::internal::dynamic_cast_if_available<const SFesRTUEventInfo*>(
|
|
&from);
|
|
if (source == NULL) {
|
|
::google::protobuf::internal::ReflectionOps::Merge(from, this);
|
|
} else {
|
|
MergeFrom(*source);
|
|
}
|
|
}
|
|
|
|
void SFesRTUEventInfo::MergeFrom(const SFesRTUEventInfo& from) {
|
|
GOOGLE_CHECK_NE(&from, this);
|
|
if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
|
|
if (from.has_strrtutag()) {
|
|
set_strrtutag(from.strrtutag());
|
|
}
|
|
if (from.has_ustatus()) {
|
|
set_ustatus(from.ustatus());
|
|
}
|
|
if (from.has_ncurchanno()) {
|
|
set_ncurchanno(from.ncurchanno());
|
|
}
|
|
if (from.has_ultime()) {
|
|
set_ultime(from.ultime());
|
|
}
|
|
}
|
|
mutable_unknown_fields()->MergeFrom(from.unknown_fields());
|
|
}
|
|
|
|
void SFesRTUEventInfo::CopyFrom(const ::google::protobuf::Message& from) {
|
|
if (&from == this) return;
|
|
Clear();
|
|
MergeFrom(from);
|
|
}
|
|
|
|
void SFesRTUEventInfo::CopyFrom(const SFesRTUEventInfo& from) {
|
|
if (&from == this) return;
|
|
Clear();
|
|
MergeFrom(from);
|
|
}
|
|
|
|
bool SFesRTUEventInfo::IsInitialized() const {
|
|
if ((_has_bits_[0] & 0x0000000f) != 0x0000000f) return false;
|
|
|
|
return true;
|
|
}
|
|
|
|
void SFesRTUEventInfo::Swap(SFesRTUEventInfo* other) {
|
|
if (other != this) {
|
|
std::swap(strrtutag_, other->strrtutag_);
|
|
std::swap(ustatus_, other->ustatus_);
|
|
std::swap(ncurchanno_, other->ncurchanno_);
|
|
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 SFesRTUEventInfo::GetMetadata() const {
|
|
protobuf_AssignDescriptorsOnce();
|
|
::google::protobuf::Metadata metadata;
|
|
metadata.descriptor = SFesRTUEventInfo_descriptor_;
|
|
metadata.reflection = SFesRTUEventInfo_reflection_;
|
|
return metadata;
|
|
}
|
|
|
|
|
|
// ===================================================================
|
|
|
|
#ifndef _MSC_VER
|
|
const int SFesSoeEventPkg::kStHeadFieldNumber;
|
|
const int SFesSoeEventPkg::kStSoeEventFieldNumber;
|
|
#endif // !_MSC_VER
|
|
|
|
SFesSoeEventPkg::SFesSoeEventPkg()
|
|
: ::google::protobuf::Message() {
|
|
SharedCtor();
|
|
// @@protoc_insertion_point(constructor:iot_idl.SFesSoeEventPkg)
|
|
}
|
|
|
|
void SFesSoeEventPkg::InitAsDefaultInstance() {
|
|
sthead_ = const_cast< ::iot_idl::SFesRealPkgHead*>(&::iot_idl::SFesRealPkgHead::default_instance());
|
|
}
|
|
|
|
SFesSoeEventPkg::SFesSoeEventPkg(const SFesSoeEventPkg& from)
|
|
: ::google::protobuf::Message() {
|
|
SharedCtor();
|
|
MergeFrom(from);
|
|
// @@protoc_insertion_point(copy_constructor:iot_idl.SFesSoeEventPkg)
|
|
}
|
|
|
|
void SFesSoeEventPkg::SharedCtor() {
|
|
_cached_size_ = 0;
|
|
sthead_ = NULL;
|
|
::memset(_has_bits_, 0, sizeof(_has_bits_));
|
|
}
|
|
|
|
SFesSoeEventPkg::~SFesSoeEventPkg() {
|
|
// @@protoc_insertion_point(destructor:iot_idl.SFesSoeEventPkg)
|
|
SharedDtor();
|
|
}
|
|
|
|
void SFesSoeEventPkg::SharedDtor() {
|
|
if (this != default_instance_) {
|
|
delete sthead_;
|
|
}
|
|
}
|
|
|
|
void SFesSoeEventPkg::SetCachedSize(int size) const {
|
|
GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
|
|
_cached_size_ = size;
|
|
GOOGLE_SAFE_CONCURRENT_WRITES_END();
|
|
}
|
|
const ::google::protobuf::Descriptor* SFesSoeEventPkg::descriptor() {
|
|
protobuf_AssignDescriptorsOnce();
|
|
return SFesSoeEventPkg_descriptor_;
|
|
}
|
|
|
|
const SFesSoeEventPkg& SFesSoeEventPkg::default_instance() {
|
|
if (default_instance_ == NULL) protobuf_AddDesc_FesMessage_2eproto();
|
|
return *default_instance_;
|
|
}
|
|
|
|
SFesSoeEventPkg* SFesSoeEventPkg::default_instance_ = NULL;
|
|
|
|
SFesSoeEventPkg* SFesSoeEventPkg::New() const {
|
|
return new SFesSoeEventPkg;
|
|
}
|
|
|
|
void SFesSoeEventPkg::Clear() {
|
|
if (has_sthead()) {
|
|
if (sthead_ != NULL) sthead_->::iot_idl::SFesRealPkgHead::Clear();
|
|
}
|
|
stsoeevent_.Clear();
|
|
::memset(_has_bits_, 0, sizeof(_has_bits_));
|
|
mutable_unknown_fields()->Clear();
|
|
}
|
|
|
|
bool SFesSoeEventPkg::MergePartialFromCodedStream(
|
|
::google::protobuf::io::CodedInputStream* input) {
|
|
#define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
|
|
::google::protobuf::uint32 tag;
|
|
// @@protoc_insertion_point(parse_start:iot_idl.SFesSoeEventPkg)
|
|
for (;;) {
|
|
::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
|
|
tag = p.first;
|
|
if (!p.second) goto handle_unusual;
|
|
switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
|
|
// required .iot_idl.SFesRealPkgHead stHead = 1;
|
|
case 1: {
|
|
if (tag == 10) {
|
|
DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
|
|
input, mutable_sthead()));
|
|
} else {
|
|
goto handle_unusual;
|
|
}
|
|
if (input->ExpectTag(18)) goto parse_stSoeEvent;
|
|
break;
|
|
}
|
|
|
|
// repeated .iot_idl.SFesSoeEventInfo stSoeEvent = 2;
|
|
case 2: {
|
|
if (tag == 18) {
|
|
parse_stSoeEvent:
|
|
DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
|
|
input, add_stsoeevent()));
|
|
} else {
|
|
goto handle_unusual;
|
|
}
|
|
if (input->ExpectTag(18)) goto parse_stSoeEvent;
|
|
if (input->ExpectAtEnd()) goto success;
|
|
break;
|
|
}
|
|
|
|
default: {
|
|
handle_unusual:
|
|
if (tag == 0 ||
|
|
::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
|
|
::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
|
|
goto success;
|
|
}
|
|
DO_(::google::protobuf::internal::WireFormat::SkipField(
|
|
input, tag, mutable_unknown_fields()));
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
success:
|
|
// @@protoc_insertion_point(parse_success:iot_idl.SFesSoeEventPkg)
|
|
return true;
|
|
failure:
|
|
// @@protoc_insertion_point(parse_failure:iot_idl.SFesSoeEventPkg)
|
|
return false;
|
|
#undef DO_
|
|
}
|
|
|
|
void SFesSoeEventPkg::SerializeWithCachedSizes(
|
|
::google::protobuf::io::CodedOutputStream* output) const {
|
|
// @@protoc_insertion_point(serialize_start:iot_idl.SFesSoeEventPkg)
|
|
// required .iot_idl.SFesRealPkgHead stHead = 1;
|
|
if (has_sthead()) {
|
|
::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
|
|
1, this->sthead(), output);
|
|
}
|
|
|
|
// repeated .iot_idl.SFesSoeEventInfo stSoeEvent = 2;
|
|
for (int i = 0; i < this->stsoeevent_size(); i++) {
|
|
::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
|
|
2, this->stsoeevent(i), output);
|
|
}
|
|
|
|
if (!unknown_fields().empty()) {
|
|
::google::protobuf::internal::WireFormat::SerializeUnknownFields(
|
|
unknown_fields(), output);
|
|
}
|
|
// @@protoc_insertion_point(serialize_end:iot_idl.SFesSoeEventPkg)
|
|
}
|
|
|
|
::google::protobuf::uint8* SFesSoeEventPkg::SerializeWithCachedSizesToArray(
|
|
::google::protobuf::uint8* target) const {
|
|
// @@protoc_insertion_point(serialize_to_array_start:iot_idl.SFesSoeEventPkg)
|
|
// required .iot_idl.SFesRealPkgHead stHead = 1;
|
|
if (has_sthead()) {
|
|
target = ::google::protobuf::internal::WireFormatLite::
|
|
WriteMessageNoVirtualToArray(
|
|
1, this->sthead(), target);
|
|
}
|
|
|
|
// repeated .iot_idl.SFesSoeEventInfo stSoeEvent = 2;
|
|
for (int i = 0; i < this->stsoeevent_size(); i++) {
|
|
target = ::google::protobuf::internal::WireFormatLite::
|
|
WriteMessageNoVirtualToArray(
|
|
2, this->stsoeevent(i), target);
|
|
}
|
|
|
|
if (!unknown_fields().empty()) {
|
|
target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
|
|
unknown_fields(), target);
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_end:iot_idl.SFesSoeEventPkg)
|
|
return target;
|
|
}
|
|
|
|
int SFesSoeEventPkg::ByteSize() const {
|
|
int total_size = 0;
|
|
|
|
if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
|
|
// required .iot_idl.SFesRealPkgHead stHead = 1;
|
|
if (has_sthead()) {
|
|
total_size += 1 +
|
|
::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
|
|
this->sthead());
|
|
}
|
|
|
|
}
|
|
// repeated .iot_idl.SFesSoeEventInfo stSoeEvent = 2;
|
|
total_size += 1 * this->stsoeevent_size();
|
|
for (int i = 0; i < this->stsoeevent_size(); i++) {
|
|
total_size +=
|
|
::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
|
|
this->stsoeevent(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 SFesSoeEventPkg::MergeFrom(const ::google::protobuf::Message& from) {
|
|
GOOGLE_CHECK_NE(&from, this);
|
|
const SFesSoeEventPkg* source =
|
|
::google::protobuf::internal::dynamic_cast_if_available<const SFesSoeEventPkg*>(
|
|
&from);
|
|
if (source == NULL) {
|
|
::google::protobuf::internal::ReflectionOps::Merge(from, this);
|
|
} else {
|
|
MergeFrom(*source);
|
|
}
|
|
}
|
|
|
|
void SFesSoeEventPkg::MergeFrom(const SFesSoeEventPkg& from) {
|
|
GOOGLE_CHECK_NE(&from, this);
|
|
stsoeevent_.MergeFrom(from.stsoeevent_);
|
|
if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
|
|
if (from.has_sthead()) {
|
|
mutable_sthead()->::iot_idl::SFesRealPkgHead::MergeFrom(from.sthead());
|
|
}
|
|
}
|
|
mutable_unknown_fields()->MergeFrom(from.unknown_fields());
|
|
}
|
|
|
|
void SFesSoeEventPkg::CopyFrom(const ::google::protobuf::Message& from) {
|
|
if (&from == this) return;
|
|
Clear();
|
|
MergeFrom(from);
|
|
}
|
|
|
|
void SFesSoeEventPkg::CopyFrom(const SFesSoeEventPkg& from) {
|
|
if (&from == this) return;
|
|
Clear();
|
|
MergeFrom(from);
|
|
}
|
|
|
|
bool SFesSoeEventPkg::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->stsoeevent())) return false;
|
|
return true;
|
|
}
|
|
|
|
void SFesSoeEventPkg::Swap(SFesSoeEventPkg* other) {
|
|
if (other != this) {
|
|
std::swap(sthead_, other->sthead_);
|
|
stsoeevent_.Swap(&other->stsoeevent_);
|
|
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 SFesSoeEventPkg::GetMetadata() const {
|
|
protobuf_AssignDescriptorsOnce();
|
|
::google::protobuf::Metadata metadata;
|
|
metadata.descriptor = SFesSoeEventPkg_descriptor_;
|
|
metadata.reflection = SFesSoeEventPkg_reflection_;
|
|
return metadata;
|
|
}
|
|
|
|
|
|
// ===================================================================
|
|
|
|
#ifndef _MSC_VER
|
|
const int SFesChanEventPkg::kStHeadFieldNumber;
|
|
const int SFesChanEventPkg::kStChanEventFieldNumber;
|
|
#endif // !_MSC_VER
|
|
|
|
SFesChanEventPkg::SFesChanEventPkg()
|
|
: ::google::protobuf::Message() {
|
|
SharedCtor();
|
|
// @@protoc_insertion_point(constructor:iot_idl.SFesChanEventPkg)
|
|
}
|
|
|
|
void SFesChanEventPkg::InitAsDefaultInstance() {
|
|
sthead_ = const_cast< ::iot_idl::SFesRealPkgHead*>(&::iot_idl::SFesRealPkgHead::default_instance());
|
|
}
|
|
|
|
SFesChanEventPkg::SFesChanEventPkg(const SFesChanEventPkg& from)
|
|
: ::google::protobuf::Message() {
|
|
SharedCtor();
|
|
MergeFrom(from);
|
|
// @@protoc_insertion_point(copy_constructor:iot_idl.SFesChanEventPkg)
|
|
}
|
|
|
|
void SFesChanEventPkg::SharedCtor() {
|
|
_cached_size_ = 0;
|
|
sthead_ = NULL;
|
|
::memset(_has_bits_, 0, sizeof(_has_bits_));
|
|
}
|
|
|
|
SFesChanEventPkg::~SFesChanEventPkg() {
|
|
// @@protoc_insertion_point(destructor:iot_idl.SFesChanEventPkg)
|
|
SharedDtor();
|
|
}
|
|
|
|
void SFesChanEventPkg::SharedDtor() {
|
|
if (this != default_instance_) {
|
|
delete sthead_;
|
|
}
|
|
}
|
|
|
|
void SFesChanEventPkg::SetCachedSize(int size) const {
|
|
GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
|
|
_cached_size_ = size;
|
|
GOOGLE_SAFE_CONCURRENT_WRITES_END();
|
|
}
|
|
const ::google::protobuf::Descriptor* SFesChanEventPkg::descriptor() {
|
|
protobuf_AssignDescriptorsOnce();
|
|
return SFesChanEventPkg_descriptor_;
|
|
}
|
|
|
|
const SFesChanEventPkg& SFesChanEventPkg::default_instance() {
|
|
if (default_instance_ == NULL) protobuf_AddDesc_FesMessage_2eproto();
|
|
return *default_instance_;
|
|
}
|
|
|
|
SFesChanEventPkg* SFesChanEventPkg::default_instance_ = NULL;
|
|
|
|
SFesChanEventPkg* SFesChanEventPkg::New() const {
|
|
return new SFesChanEventPkg;
|
|
}
|
|
|
|
void SFesChanEventPkg::Clear() {
|
|
if (has_sthead()) {
|
|
if (sthead_ != NULL) sthead_->::iot_idl::SFesRealPkgHead::Clear();
|
|
}
|
|
stchanevent_.Clear();
|
|
::memset(_has_bits_, 0, sizeof(_has_bits_));
|
|
mutable_unknown_fields()->Clear();
|
|
}
|
|
|
|
bool SFesChanEventPkg::MergePartialFromCodedStream(
|
|
::google::protobuf::io::CodedInputStream* input) {
|
|
#define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
|
|
::google::protobuf::uint32 tag;
|
|
// @@protoc_insertion_point(parse_start:iot_idl.SFesChanEventPkg)
|
|
for (;;) {
|
|
::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
|
|
tag = p.first;
|
|
if (!p.second) goto handle_unusual;
|
|
switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
|
|
// required .iot_idl.SFesRealPkgHead stHead = 1;
|
|
case 1: {
|
|
if (tag == 10) {
|
|
DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
|
|
input, mutable_sthead()));
|
|
} else {
|
|
goto handle_unusual;
|
|
}
|
|
if (input->ExpectTag(18)) goto parse_stChanEvent;
|
|
break;
|
|
}
|
|
|
|
// repeated .iot_idl.SFesChanEventInfo stChanEvent = 2;
|
|
case 2: {
|
|
if (tag == 18) {
|
|
parse_stChanEvent:
|
|
DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
|
|
input, add_stchanevent()));
|
|
} else {
|
|
goto handle_unusual;
|
|
}
|
|
if (input->ExpectTag(18)) goto parse_stChanEvent;
|
|
if (input->ExpectAtEnd()) goto success;
|
|
break;
|
|
}
|
|
|
|
default: {
|
|
handle_unusual:
|
|
if (tag == 0 ||
|
|
::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
|
|
::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
|
|
goto success;
|
|
}
|
|
DO_(::google::protobuf::internal::WireFormat::SkipField(
|
|
input, tag, mutable_unknown_fields()));
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
success:
|
|
// @@protoc_insertion_point(parse_success:iot_idl.SFesChanEventPkg)
|
|
return true;
|
|
failure:
|
|
// @@protoc_insertion_point(parse_failure:iot_idl.SFesChanEventPkg)
|
|
return false;
|
|
#undef DO_
|
|
}
|
|
|
|
void SFesChanEventPkg::SerializeWithCachedSizes(
|
|
::google::protobuf::io::CodedOutputStream* output) const {
|
|
// @@protoc_insertion_point(serialize_start:iot_idl.SFesChanEventPkg)
|
|
// required .iot_idl.SFesRealPkgHead stHead = 1;
|
|
if (has_sthead()) {
|
|
::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
|
|
1, this->sthead(), output);
|
|
}
|
|
|
|
// repeated .iot_idl.SFesChanEventInfo stChanEvent = 2;
|
|
for (int i = 0; i < this->stchanevent_size(); i++) {
|
|
::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
|
|
2, this->stchanevent(i), output);
|
|
}
|
|
|
|
if (!unknown_fields().empty()) {
|
|
::google::protobuf::internal::WireFormat::SerializeUnknownFields(
|
|
unknown_fields(), output);
|
|
}
|
|
// @@protoc_insertion_point(serialize_end:iot_idl.SFesChanEventPkg)
|
|
}
|
|
|
|
::google::protobuf::uint8* SFesChanEventPkg::SerializeWithCachedSizesToArray(
|
|
::google::protobuf::uint8* target) const {
|
|
// @@protoc_insertion_point(serialize_to_array_start:iot_idl.SFesChanEventPkg)
|
|
// required .iot_idl.SFesRealPkgHead stHead = 1;
|
|
if (has_sthead()) {
|
|
target = ::google::protobuf::internal::WireFormatLite::
|
|
WriteMessageNoVirtualToArray(
|
|
1, this->sthead(), target);
|
|
}
|
|
|
|
// repeated .iot_idl.SFesChanEventInfo stChanEvent = 2;
|
|
for (int i = 0; i < this->stchanevent_size(); i++) {
|
|
target = ::google::protobuf::internal::WireFormatLite::
|
|
WriteMessageNoVirtualToArray(
|
|
2, this->stchanevent(i), target);
|
|
}
|
|
|
|
if (!unknown_fields().empty()) {
|
|
target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
|
|
unknown_fields(), target);
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_end:iot_idl.SFesChanEventPkg)
|
|
return target;
|
|
}
|
|
|
|
int SFesChanEventPkg::ByteSize() const {
|
|
int total_size = 0;
|
|
|
|
if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
|
|
// required .iot_idl.SFesRealPkgHead stHead = 1;
|
|
if (has_sthead()) {
|
|
total_size += 1 +
|
|
::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
|
|
this->sthead());
|
|
}
|
|
|
|
}
|
|
// repeated .iot_idl.SFesChanEventInfo stChanEvent = 2;
|
|
total_size += 1 * this->stchanevent_size();
|
|
for (int i = 0; i < this->stchanevent_size(); i++) {
|
|
total_size +=
|
|
::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
|
|
this->stchanevent(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 SFesChanEventPkg::MergeFrom(const ::google::protobuf::Message& from) {
|
|
GOOGLE_CHECK_NE(&from, this);
|
|
const SFesChanEventPkg* source =
|
|
::google::protobuf::internal::dynamic_cast_if_available<const SFesChanEventPkg*>(
|
|
&from);
|
|
if (source == NULL) {
|
|
::google::protobuf::internal::ReflectionOps::Merge(from, this);
|
|
} else {
|
|
MergeFrom(*source);
|
|
}
|
|
}
|
|
|
|
void SFesChanEventPkg::MergeFrom(const SFesChanEventPkg& from) {
|
|
GOOGLE_CHECK_NE(&from, this);
|
|
stchanevent_.MergeFrom(from.stchanevent_);
|
|
if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
|
|
if (from.has_sthead()) {
|
|
mutable_sthead()->::iot_idl::SFesRealPkgHead::MergeFrom(from.sthead());
|
|
}
|
|
}
|
|
mutable_unknown_fields()->MergeFrom(from.unknown_fields());
|
|
}
|
|
|
|
void SFesChanEventPkg::CopyFrom(const ::google::protobuf::Message& from) {
|
|
if (&from == this) return;
|
|
Clear();
|
|
MergeFrom(from);
|
|
}
|
|
|
|
void SFesChanEventPkg::CopyFrom(const SFesChanEventPkg& from) {
|
|
if (&from == this) return;
|
|
Clear();
|
|
MergeFrom(from);
|
|
}
|
|
|
|
bool SFesChanEventPkg::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->stchanevent())) return false;
|
|
return true;
|
|
}
|
|
|
|
void SFesChanEventPkg::Swap(SFesChanEventPkg* other) {
|
|
if (other != this) {
|
|
std::swap(sthead_, other->sthead_);
|
|
stchanevent_.Swap(&other->stchanevent_);
|
|
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 SFesChanEventPkg::GetMetadata() const {
|
|
protobuf_AssignDescriptorsOnce();
|
|
::google::protobuf::Metadata metadata;
|
|
metadata.descriptor = SFesChanEventPkg_descriptor_;
|
|
metadata.reflection = SFesChanEventPkg_reflection_;
|
|
return metadata;
|
|
}
|
|
|
|
|
|
// ===================================================================
|
|
|
|
#ifndef _MSC_VER
|
|
const int SFesRTUEventPkg::kStHeadFieldNumber;
|
|
const int SFesRTUEventPkg::kStRtuEventFieldNumber;
|
|
#endif // !_MSC_VER
|
|
|
|
SFesRTUEventPkg::SFesRTUEventPkg()
|
|
: ::google::protobuf::Message() {
|
|
SharedCtor();
|
|
// @@protoc_insertion_point(constructor:iot_idl.SFesRTUEventPkg)
|
|
}
|
|
|
|
void SFesRTUEventPkg::InitAsDefaultInstance() {
|
|
sthead_ = const_cast< ::iot_idl::SFesRealPkgHead*>(&::iot_idl::SFesRealPkgHead::default_instance());
|
|
}
|
|
|
|
SFesRTUEventPkg::SFesRTUEventPkg(const SFesRTUEventPkg& from)
|
|
: ::google::protobuf::Message() {
|
|
SharedCtor();
|
|
MergeFrom(from);
|
|
// @@protoc_insertion_point(copy_constructor:iot_idl.SFesRTUEventPkg)
|
|
}
|
|
|
|
void SFesRTUEventPkg::SharedCtor() {
|
|
_cached_size_ = 0;
|
|
sthead_ = NULL;
|
|
::memset(_has_bits_, 0, sizeof(_has_bits_));
|
|
}
|
|
|
|
SFesRTUEventPkg::~SFesRTUEventPkg() {
|
|
// @@protoc_insertion_point(destructor:iot_idl.SFesRTUEventPkg)
|
|
SharedDtor();
|
|
}
|
|
|
|
void SFesRTUEventPkg::SharedDtor() {
|
|
if (this != default_instance_) {
|
|
delete sthead_;
|
|
}
|
|
}
|
|
|
|
void SFesRTUEventPkg::SetCachedSize(int size) const {
|
|
GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
|
|
_cached_size_ = size;
|
|
GOOGLE_SAFE_CONCURRENT_WRITES_END();
|
|
}
|
|
const ::google::protobuf::Descriptor* SFesRTUEventPkg::descriptor() {
|
|
protobuf_AssignDescriptorsOnce();
|
|
return SFesRTUEventPkg_descriptor_;
|
|
}
|
|
|
|
const SFesRTUEventPkg& SFesRTUEventPkg::default_instance() {
|
|
if (default_instance_ == NULL) protobuf_AddDesc_FesMessage_2eproto();
|
|
return *default_instance_;
|
|
}
|
|
|
|
SFesRTUEventPkg* SFesRTUEventPkg::default_instance_ = NULL;
|
|
|
|
SFesRTUEventPkg* SFesRTUEventPkg::New() const {
|
|
return new SFesRTUEventPkg;
|
|
}
|
|
|
|
void SFesRTUEventPkg::Clear() {
|
|
if (has_sthead()) {
|
|
if (sthead_ != NULL) sthead_->::iot_idl::SFesRealPkgHead::Clear();
|
|
}
|
|
strtuevent_.Clear();
|
|
::memset(_has_bits_, 0, sizeof(_has_bits_));
|
|
mutable_unknown_fields()->Clear();
|
|
}
|
|
|
|
bool SFesRTUEventPkg::MergePartialFromCodedStream(
|
|
::google::protobuf::io::CodedInputStream* input) {
|
|
#define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
|
|
::google::protobuf::uint32 tag;
|
|
// @@protoc_insertion_point(parse_start:iot_idl.SFesRTUEventPkg)
|
|
for (;;) {
|
|
::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
|
|
tag = p.first;
|
|
if (!p.second) goto handle_unusual;
|
|
switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
|
|
// required .iot_idl.SFesRealPkgHead stHead = 1;
|
|
case 1: {
|
|
if (tag == 10) {
|
|
DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
|
|
input, mutable_sthead()));
|
|
} else {
|
|
goto handle_unusual;
|
|
}
|
|
if (input->ExpectTag(18)) goto parse_stRtuEvent;
|
|
break;
|
|
}
|
|
|
|
// repeated .iot_idl.SFesRTUEventInfo stRtuEvent = 2;
|
|
case 2: {
|
|
if (tag == 18) {
|
|
parse_stRtuEvent:
|
|
DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
|
|
input, add_strtuevent()));
|
|
} else {
|
|
goto handle_unusual;
|
|
}
|
|
if (input->ExpectTag(18)) goto parse_stRtuEvent;
|
|
if (input->ExpectAtEnd()) goto success;
|
|
break;
|
|
}
|
|
|
|
default: {
|
|
handle_unusual:
|
|
if (tag == 0 ||
|
|
::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
|
|
::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
|
|
goto success;
|
|
}
|
|
DO_(::google::protobuf::internal::WireFormat::SkipField(
|
|
input, tag, mutable_unknown_fields()));
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
success:
|
|
// @@protoc_insertion_point(parse_success:iot_idl.SFesRTUEventPkg)
|
|
return true;
|
|
failure:
|
|
// @@protoc_insertion_point(parse_failure:iot_idl.SFesRTUEventPkg)
|
|
return false;
|
|
#undef DO_
|
|
}
|
|
|
|
void SFesRTUEventPkg::SerializeWithCachedSizes(
|
|
::google::protobuf::io::CodedOutputStream* output) const {
|
|
// @@protoc_insertion_point(serialize_start:iot_idl.SFesRTUEventPkg)
|
|
// required .iot_idl.SFesRealPkgHead stHead = 1;
|
|
if (has_sthead()) {
|
|
::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
|
|
1, this->sthead(), output);
|
|
}
|
|
|
|
// repeated .iot_idl.SFesRTUEventInfo stRtuEvent = 2;
|
|
for (int i = 0; i < this->strtuevent_size(); i++) {
|
|
::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
|
|
2, this->strtuevent(i), output);
|
|
}
|
|
|
|
if (!unknown_fields().empty()) {
|
|
::google::protobuf::internal::WireFormat::SerializeUnknownFields(
|
|
unknown_fields(), output);
|
|
}
|
|
// @@protoc_insertion_point(serialize_end:iot_idl.SFesRTUEventPkg)
|
|
}
|
|
|
|
::google::protobuf::uint8* SFesRTUEventPkg::SerializeWithCachedSizesToArray(
|
|
::google::protobuf::uint8* target) const {
|
|
// @@protoc_insertion_point(serialize_to_array_start:iot_idl.SFesRTUEventPkg)
|
|
// required .iot_idl.SFesRealPkgHead stHead = 1;
|
|
if (has_sthead()) {
|
|
target = ::google::protobuf::internal::WireFormatLite::
|
|
WriteMessageNoVirtualToArray(
|
|
1, this->sthead(), target);
|
|
}
|
|
|
|
// repeated .iot_idl.SFesRTUEventInfo stRtuEvent = 2;
|
|
for (int i = 0; i < this->strtuevent_size(); i++) {
|
|
target = ::google::protobuf::internal::WireFormatLite::
|
|
WriteMessageNoVirtualToArray(
|
|
2, this->strtuevent(i), target);
|
|
}
|
|
|
|
if (!unknown_fields().empty()) {
|
|
target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
|
|
unknown_fields(), target);
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_end:iot_idl.SFesRTUEventPkg)
|
|
return target;
|
|
}
|
|
|
|
int SFesRTUEventPkg::ByteSize() const {
|
|
int total_size = 0;
|
|
|
|
if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
|
|
// required .iot_idl.SFesRealPkgHead stHead = 1;
|
|
if (has_sthead()) {
|
|
total_size += 1 +
|
|
::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
|
|
this->sthead());
|
|
}
|
|
|
|
}
|
|
// repeated .iot_idl.SFesRTUEventInfo stRtuEvent = 2;
|
|
total_size += 1 * this->strtuevent_size();
|
|
for (int i = 0; i < this->strtuevent_size(); i++) {
|
|
total_size +=
|
|
::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
|
|
this->strtuevent(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 SFesRTUEventPkg::MergeFrom(const ::google::protobuf::Message& from) {
|
|
GOOGLE_CHECK_NE(&from, this);
|
|
const SFesRTUEventPkg* source =
|
|
::google::protobuf::internal::dynamic_cast_if_available<const SFesRTUEventPkg*>(
|
|
&from);
|
|
if (source == NULL) {
|
|
::google::protobuf::internal::ReflectionOps::Merge(from, this);
|
|
} else {
|
|
MergeFrom(*source);
|
|
}
|
|
}
|
|
|
|
void SFesRTUEventPkg::MergeFrom(const SFesRTUEventPkg& from) {
|
|
GOOGLE_CHECK_NE(&from, this);
|
|
strtuevent_.MergeFrom(from.strtuevent_);
|
|
if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
|
|
if (from.has_sthead()) {
|
|
mutable_sthead()->::iot_idl::SFesRealPkgHead::MergeFrom(from.sthead());
|
|
}
|
|
}
|
|
mutable_unknown_fields()->MergeFrom(from.unknown_fields());
|
|
}
|
|
|
|
void SFesRTUEventPkg::CopyFrom(const ::google::protobuf::Message& from) {
|
|
if (&from == this) return;
|
|
Clear();
|
|
MergeFrom(from);
|
|
}
|
|
|
|
void SFesRTUEventPkg::CopyFrom(const SFesRTUEventPkg& from) {
|
|
if (&from == this) return;
|
|
Clear();
|
|
MergeFrom(from);
|
|
}
|
|
|
|
bool SFesRTUEventPkg::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->strtuevent())) return false;
|
|
return true;
|
|
}
|
|
|
|
void SFesRTUEventPkg::Swap(SFesRTUEventPkg* other) {
|
|
if (other != this) {
|
|
std::swap(sthead_, other->sthead_);
|
|
strtuevent_.Swap(&other->strtuevent_);
|
|
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 SFesRTUEventPkg::GetMetadata() const {
|
|
protobuf_AssignDescriptorsOnce();
|
|
::google::protobuf::Metadata metadata;
|
|
metadata.descriptor = SFesRTUEventPkg_descriptor_;
|
|
metadata.reflection = SFesRTUEventPkg_reflection_;
|
|
return metadata;
|
|
}
|
|
|
|
|
|
// ===================================================================
|
|
|
|
#ifndef _MSC_VER
|
|
const int SFesAiValue::kNPointNoFieldNumber;
|
|
const int SFesAiValue::kFValueFieldNumber;
|
|
const int SFesAiValue::kUStatusFieldNumber;
|
|
const int SFesAiValue::kUlTimeFieldNumber;
|
|
#endif // !_MSC_VER
|
|
|
|
SFesAiValue::SFesAiValue()
|
|
: ::google::protobuf::Message() {
|
|
SharedCtor();
|
|
// @@protoc_insertion_point(constructor:iot_idl.SFesAiValue)
|
|
}
|
|
|
|
void SFesAiValue::InitAsDefaultInstance() {
|
|
}
|
|
|
|
SFesAiValue::SFesAiValue(const SFesAiValue& from)
|
|
: ::google::protobuf::Message() {
|
|
SharedCtor();
|
|
MergeFrom(from);
|
|
// @@protoc_insertion_point(copy_constructor:iot_idl.SFesAiValue)
|
|
}
|
|
|
|
void SFesAiValue::SharedCtor() {
|
|
_cached_size_ = 0;
|
|
npointno_ = 0;
|
|
fvalue_ = 0;
|
|
ustatus_ = 0u;
|
|
ultime_ = GOOGLE_ULONGLONG(0);
|
|
::memset(_has_bits_, 0, sizeof(_has_bits_));
|
|
}
|
|
|
|
SFesAiValue::~SFesAiValue() {
|
|
// @@protoc_insertion_point(destructor:iot_idl.SFesAiValue)
|
|
SharedDtor();
|
|
}
|
|
|
|
void SFesAiValue::SharedDtor() {
|
|
if (this != default_instance_) {
|
|
}
|
|
}
|
|
|
|
void SFesAiValue::SetCachedSize(int size) const {
|
|
GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
|
|
_cached_size_ = size;
|
|
GOOGLE_SAFE_CONCURRENT_WRITES_END();
|
|
}
|
|
const ::google::protobuf::Descriptor* SFesAiValue::descriptor() {
|
|
protobuf_AssignDescriptorsOnce();
|
|
return SFesAiValue_descriptor_;
|
|
}
|
|
|
|
const SFesAiValue& SFesAiValue::default_instance() {
|
|
if (default_instance_ == NULL) protobuf_AddDesc_FesMessage_2eproto();
|
|
return *default_instance_;
|
|
}
|
|
|
|
SFesAiValue* SFesAiValue::default_instance_ = NULL;
|
|
|
|
SFesAiValue* SFesAiValue::New() const {
|
|
return new SFesAiValue;
|
|
}
|
|
|
|
void SFesAiValue::Clear() {
|
|
#define OFFSET_OF_FIELD_(f) (reinterpret_cast<char*>( \
|
|
&reinterpret_cast<SFesAiValue*>(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 SFesAiValue::MergePartialFromCodedStream(
|
|
::google::protobuf::io::CodedInputStream* input) {
|
|
#define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
|
|
::google::protobuf::uint32 tag;
|
|
// @@protoc_insertion_point(parse_start:iot_idl.SFesAiValue)
|
|
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:
|
|
// @@protoc_insertion_point(parse_success:iot_idl.SFesAiValue)
|
|
return true;
|
|
failure:
|
|
// @@protoc_insertion_point(parse_failure:iot_idl.SFesAiValue)
|
|
return false;
|
|
#undef DO_
|
|
}
|
|
|
|
void SFesAiValue::SerializeWithCachedSizes(
|
|
::google::protobuf::io::CodedOutputStream* output) const {
|
|
// @@protoc_insertion_point(serialize_start:iot_idl.SFesAiValue)
|
|
// 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);
|
|
}
|
|
// @@protoc_insertion_point(serialize_end:iot_idl.SFesAiValue)
|
|
}
|
|
|
|
::google::protobuf::uint8* SFesAiValue::SerializeWithCachedSizesToArray(
|
|
::google::protobuf::uint8* target) const {
|
|
// @@protoc_insertion_point(serialize_to_array_start:iot_idl.SFesAiValue)
|
|
// 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);
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_end:iot_idl.SFesAiValue)
|
|
return target;
|
|
}
|
|
|
|
int SFesAiValue::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 SFesAiValue::MergeFrom(const ::google::protobuf::Message& from) {
|
|
GOOGLE_CHECK_NE(&from, this);
|
|
const SFesAiValue* source =
|
|
::google::protobuf::internal::dynamic_cast_if_available<const SFesAiValue*>(
|
|
&from);
|
|
if (source == NULL) {
|
|
::google::protobuf::internal::ReflectionOps::Merge(from, this);
|
|
} else {
|
|
MergeFrom(*source);
|
|
}
|
|
}
|
|
|
|
void SFesAiValue::MergeFrom(const SFesAiValue& 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 SFesAiValue::CopyFrom(const ::google::protobuf::Message& from) {
|
|
if (&from == this) return;
|
|
Clear();
|
|
MergeFrom(from);
|
|
}
|
|
|
|
void SFesAiValue::CopyFrom(const SFesAiValue& from) {
|
|
if (&from == this) return;
|
|
Clear();
|
|
MergeFrom(from);
|
|
}
|
|
|
|
bool SFesAiValue::IsInitialized() const {
|
|
if ((_has_bits_[0] & 0x0000000f) != 0x0000000f) return false;
|
|
|
|
return true;
|
|
}
|
|
|
|
void SFesAiValue::Swap(SFesAiValue* 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 SFesAiValue::GetMetadata() const {
|
|
protobuf_AssignDescriptorsOnce();
|
|
::google::protobuf::Metadata metadata;
|
|
metadata.descriptor = SFesAiValue_descriptor_;
|
|
metadata.reflection = SFesAiValue_reflection_;
|
|
return metadata;
|
|
}
|
|
|
|
|
|
// ===================================================================
|
|
|
|
#ifndef _MSC_VER
|
|
const int SFesDiValue::kNPointNoFieldNumber;
|
|
const int SFesDiValue::kNValueFieldNumber;
|
|
const int SFesDiValue::kUStatusFieldNumber;
|
|
const int SFesDiValue::kUlTimeFieldNumber;
|
|
#endif // !_MSC_VER
|
|
|
|
SFesDiValue::SFesDiValue()
|
|
: ::google::protobuf::Message() {
|
|
SharedCtor();
|
|
// @@protoc_insertion_point(constructor:iot_idl.SFesDiValue)
|
|
}
|
|
|
|
void SFesDiValue::InitAsDefaultInstance() {
|
|
}
|
|
|
|
SFesDiValue::SFesDiValue(const SFesDiValue& from)
|
|
: ::google::protobuf::Message() {
|
|
SharedCtor();
|
|
MergeFrom(from);
|
|
// @@protoc_insertion_point(copy_constructor:iot_idl.SFesDiValue)
|
|
}
|
|
|
|
void SFesDiValue::SharedCtor() {
|
|
_cached_size_ = 0;
|
|
npointno_ = 0;
|
|
nvalue_ = 0;
|
|
ustatus_ = 0u;
|
|
ultime_ = GOOGLE_ULONGLONG(0);
|
|
::memset(_has_bits_, 0, sizeof(_has_bits_));
|
|
}
|
|
|
|
SFesDiValue::~SFesDiValue() {
|
|
// @@protoc_insertion_point(destructor:iot_idl.SFesDiValue)
|
|
SharedDtor();
|
|
}
|
|
|
|
void SFesDiValue::SharedDtor() {
|
|
if (this != default_instance_) {
|
|
}
|
|
}
|
|
|
|
void SFesDiValue::SetCachedSize(int size) const {
|
|
GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
|
|
_cached_size_ = size;
|
|
GOOGLE_SAFE_CONCURRENT_WRITES_END();
|
|
}
|
|
const ::google::protobuf::Descriptor* SFesDiValue::descriptor() {
|
|
protobuf_AssignDescriptorsOnce();
|
|
return SFesDiValue_descriptor_;
|
|
}
|
|
|
|
const SFesDiValue& SFesDiValue::default_instance() {
|
|
if (default_instance_ == NULL) protobuf_AddDesc_FesMessage_2eproto();
|
|
return *default_instance_;
|
|
}
|
|
|
|
SFesDiValue* SFesDiValue::default_instance_ = NULL;
|
|
|
|
SFesDiValue* SFesDiValue::New() const {
|
|
return new SFesDiValue;
|
|
}
|
|
|
|
void SFesDiValue::Clear() {
|
|
#define OFFSET_OF_FIELD_(f) (reinterpret_cast<char*>( \
|
|
&reinterpret_cast<SFesDiValue*>(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 SFesDiValue::MergePartialFromCodedStream(
|
|
::google::protobuf::io::CodedInputStream* input) {
|
|
#define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
|
|
::google::protobuf::uint32 tag;
|
|
// @@protoc_insertion_point(parse_start:iot_idl.SFesDiValue)
|
|
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:
|
|
// @@protoc_insertion_point(parse_success:iot_idl.SFesDiValue)
|
|
return true;
|
|
failure:
|
|
// @@protoc_insertion_point(parse_failure:iot_idl.SFesDiValue)
|
|
return false;
|
|
#undef DO_
|
|
}
|
|
|
|
void SFesDiValue::SerializeWithCachedSizes(
|
|
::google::protobuf::io::CodedOutputStream* output) const {
|
|
// @@protoc_insertion_point(serialize_start:iot_idl.SFesDiValue)
|
|
// 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);
|
|
}
|
|
// @@protoc_insertion_point(serialize_end:iot_idl.SFesDiValue)
|
|
}
|
|
|
|
::google::protobuf::uint8* SFesDiValue::SerializeWithCachedSizesToArray(
|
|
::google::protobuf::uint8* target) const {
|
|
// @@protoc_insertion_point(serialize_to_array_start:iot_idl.SFesDiValue)
|
|
// 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);
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_end:iot_idl.SFesDiValue)
|
|
return target;
|
|
}
|
|
|
|
int SFesDiValue::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 SFesDiValue::MergeFrom(const ::google::protobuf::Message& from) {
|
|
GOOGLE_CHECK_NE(&from, this);
|
|
const SFesDiValue* source =
|
|
::google::protobuf::internal::dynamic_cast_if_available<const SFesDiValue*>(
|
|
&from);
|
|
if (source == NULL) {
|
|
::google::protobuf::internal::ReflectionOps::Merge(from, this);
|
|
} else {
|
|
MergeFrom(*source);
|
|
}
|
|
}
|
|
|
|
void SFesDiValue::MergeFrom(const SFesDiValue& 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 SFesDiValue::CopyFrom(const ::google::protobuf::Message& from) {
|
|
if (&from == this) return;
|
|
Clear();
|
|
MergeFrom(from);
|
|
}
|
|
|
|
void SFesDiValue::CopyFrom(const SFesDiValue& from) {
|
|
if (&from == this) return;
|
|
Clear();
|
|
MergeFrom(from);
|
|
}
|
|
|
|
bool SFesDiValue::IsInitialized() const {
|
|
if ((_has_bits_[0] & 0x0000000f) != 0x0000000f) return false;
|
|
|
|
return true;
|
|
}
|
|
|
|
void SFesDiValue::Swap(SFesDiValue* 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 SFesDiValue::GetMetadata() const {
|
|
protobuf_AssignDescriptorsOnce();
|
|
::google::protobuf::Metadata metadata;
|
|
metadata.descriptor = SFesDiValue_descriptor_;
|
|
metadata.reflection = SFesDiValue_reflection_;
|
|
return metadata;
|
|
}
|
|
|
|
|
|
// ===================================================================
|
|
|
|
#ifndef _MSC_VER
|
|
const int SFesPiValue::kNPointNoFieldNumber;
|
|
const int SFesPiValue::kDValueFieldNumber;
|
|
const int SFesPiValue::kUStatusFieldNumber;
|
|
const int SFesPiValue::kUlTimeFieldNumber;
|
|
#endif // !_MSC_VER
|
|
|
|
SFesPiValue::SFesPiValue()
|
|
: ::google::protobuf::Message() {
|
|
SharedCtor();
|
|
// @@protoc_insertion_point(constructor:iot_idl.SFesPiValue)
|
|
}
|
|
|
|
void SFesPiValue::InitAsDefaultInstance() {
|
|
}
|
|
|
|
SFesPiValue::SFesPiValue(const SFesPiValue& from)
|
|
: ::google::protobuf::Message() {
|
|
SharedCtor();
|
|
MergeFrom(from);
|
|
// @@protoc_insertion_point(copy_constructor:iot_idl.SFesPiValue)
|
|
}
|
|
|
|
void SFesPiValue::SharedCtor() {
|
|
_cached_size_ = 0;
|
|
npointno_ = 0;
|
|
dvalue_ = 0;
|
|
ustatus_ = 0u;
|
|
ultime_ = GOOGLE_ULONGLONG(0);
|
|
::memset(_has_bits_, 0, sizeof(_has_bits_));
|
|
}
|
|
|
|
SFesPiValue::~SFesPiValue() {
|
|
// @@protoc_insertion_point(destructor:iot_idl.SFesPiValue)
|
|
SharedDtor();
|
|
}
|
|
|
|
void SFesPiValue::SharedDtor() {
|
|
if (this != default_instance_) {
|
|
}
|
|
}
|
|
|
|
void SFesPiValue::SetCachedSize(int size) const {
|
|
GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
|
|
_cached_size_ = size;
|
|
GOOGLE_SAFE_CONCURRENT_WRITES_END();
|
|
}
|
|
const ::google::protobuf::Descriptor* SFesPiValue::descriptor() {
|
|
protobuf_AssignDescriptorsOnce();
|
|
return SFesPiValue_descriptor_;
|
|
}
|
|
|
|
const SFesPiValue& SFesPiValue::default_instance() {
|
|
if (default_instance_ == NULL) protobuf_AddDesc_FesMessage_2eproto();
|
|
return *default_instance_;
|
|
}
|
|
|
|
SFesPiValue* SFesPiValue::default_instance_ = NULL;
|
|
|
|
SFesPiValue* SFesPiValue::New() const {
|
|
return new SFesPiValue;
|
|
}
|
|
|
|
void SFesPiValue::Clear() {
|
|
#define OFFSET_OF_FIELD_(f) (reinterpret_cast<char*>( \
|
|
&reinterpret_cast<SFesPiValue*>(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_(dvalue_, ultime_);
|
|
|
|
#undef OFFSET_OF_FIELD_
|
|
#undef ZR_
|
|
|
|
::memset(_has_bits_, 0, sizeof(_has_bits_));
|
|
mutable_unknown_fields()->Clear();
|
|
}
|
|
|
|
bool SFesPiValue::MergePartialFromCodedStream(
|
|
::google::protobuf::io::CodedInputStream* input) {
|
|
#define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
|
|
::google::protobuf::uint32 tag;
|
|
// @@protoc_insertion_point(parse_start:iot_idl.SFesPiValue)
|
|
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(17)) goto parse_dValue;
|
|
break;
|
|
}
|
|
|
|
// required double dValue = 2;
|
|
case 2: {
|
|
if (tag == 17) {
|
|
parse_dValue:
|
|
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
|
|
double, ::google::protobuf::internal::WireFormatLite::TYPE_DOUBLE>(
|
|
input, &dvalue_)));
|
|
set_has_dvalue();
|
|
} else {
|
|
goto handle_unusual;
|
|
}
|
|
if (input->ExpectTag(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:
|
|
// @@protoc_insertion_point(parse_success:iot_idl.SFesPiValue)
|
|
return true;
|
|
failure:
|
|
// @@protoc_insertion_point(parse_failure:iot_idl.SFesPiValue)
|
|
return false;
|
|
#undef DO_
|
|
}
|
|
|
|
void SFesPiValue::SerializeWithCachedSizes(
|
|
::google::protobuf::io::CodedOutputStream* output) const {
|
|
// @@protoc_insertion_point(serialize_start:iot_idl.SFesPiValue)
|
|
// required int32 nPointNo = 1;
|
|
if (has_npointno()) {
|
|
::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->npointno(), output);
|
|
}
|
|
|
|
// required double dValue = 2;
|
|
if (has_dvalue()) {
|
|
::google::protobuf::internal::WireFormatLite::WriteDouble(2, this->dvalue(), 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);
|
|
}
|
|
// @@protoc_insertion_point(serialize_end:iot_idl.SFesPiValue)
|
|
}
|
|
|
|
::google::protobuf::uint8* SFesPiValue::SerializeWithCachedSizesToArray(
|
|
::google::protobuf::uint8* target) const {
|
|
// @@protoc_insertion_point(serialize_to_array_start:iot_idl.SFesPiValue)
|
|
// required int32 nPointNo = 1;
|
|
if (has_npointno()) {
|
|
target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->npointno(), target);
|
|
}
|
|
|
|
// required double dValue = 2;
|
|
if (has_dvalue()) {
|
|
target = ::google::protobuf::internal::WireFormatLite::WriteDoubleToArray(2, this->dvalue(), 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);
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_end:iot_idl.SFesPiValue)
|
|
return target;
|
|
}
|
|
|
|
int SFesPiValue::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 double dValue = 2;
|
|
if (has_dvalue()) {
|
|
total_size += 1 + 8;
|
|
}
|
|
|
|
// 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 SFesPiValue::MergeFrom(const ::google::protobuf::Message& from) {
|
|
GOOGLE_CHECK_NE(&from, this);
|
|
const SFesPiValue* source =
|
|
::google::protobuf::internal::dynamic_cast_if_available<const SFesPiValue*>(
|
|
&from);
|
|
if (source == NULL) {
|
|
::google::protobuf::internal::ReflectionOps::Merge(from, this);
|
|
} else {
|
|
MergeFrom(*source);
|
|
}
|
|
}
|
|
|
|
void SFesPiValue::MergeFrom(const SFesPiValue& 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_dvalue()) {
|
|
set_dvalue(from.dvalue());
|
|
}
|
|
if (from.has_ustatus()) {
|
|
set_ustatus(from.ustatus());
|
|
}
|
|
if (from.has_ultime()) {
|
|
set_ultime(from.ultime());
|
|
}
|
|
}
|
|
mutable_unknown_fields()->MergeFrom(from.unknown_fields());
|
|
}
|
|
|
|
void SFesPiValue::CopyFrom(const ::google::protobuf::Message& from) {
|
|
if (&from == this) return;
|
|
Clear();
|
|
MergeFrom(from);
|
|
}
|
|
|
|
void SFesPiValue::CopyFrom(const SFesPiValue& from) {
|
|
if (&from == this) return;
|
|
Clear();
|
|
MergeFrom(from);
|
|
}
|
|
|
|
bool SFesPiValue::IsInitialized() const {
|
|
if ((_has_bits_[0] & 0x0000000f) != 0x0000000f) return false;
|
|
|
|
return true;
|
|
}
|
|
|
|
void SFesPiValue::Swap(SFesPiValue* other) {
|
|
if (other != this) {
|
|
std::swap(npointno_, other->npointno_);
|
|
std::swap(dvalue_, other->dvalue_);
|
|
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 SFesPiValue::GetMetadata() const {
|
|
protobuf_AssignDescriptorsOnce();
|
|
::google::protobuf::Metadata metadata;
|
|
metadata.descriptor = SFesPiValue_descriptor_;
|
|
metadata.reflection = SFesPiValue_reflection_;
|
|
return metadata;
|
|
}
|
|
|
|
|
|
// ===================================================================
|
|
|
|
#ifndef _MSC_VER
|
|
const int SFesMiValue::kNPointNoFieldNumber;
|
|
const int SFesMiValue::kNValueFieldNumber;
|
|
const int SFesMiValue::kUStatusFieldNumber;
|
|
const int SFesMiValue::kUlTimeFieldNumber;
|
|
#endif // !_MSC_VER
|
|
|
|
SFesMiValue::SFesMiValue()
|
|
: ::google::protobuf::Message() {
|
|
SharedCtor();
|
|
// @@protoc_insertion_point(constructor:iot_idl.SFesMiValue)
|
|
}
|
|
|
|
void SFesMiValue::InitAsDefaultInstance() {
|
|
}
|
|
|
|
SFesMiValue::SFesMiValue(const SFesMiValue& from)
|
|
: ::google::protobuf::Message() {
|
|
SharedCtor();
|
|
MergeFrom(from);
|
|
// @@protoc_insertion_point(copy_constructor:iot_idl.SFesMiValue)
|
|
}
|
|
|
|
void SFesMiValue::SharedCtor() {
|
|
_cached_size_ = 0;
|
|
npointno_ = 0;
|
|
nvalue_ = 0;
|
|
ustatus_ = 0u;
|
|
ultime_ = GOOGLE_ULONGLONG(0);
|
|
::memset(_has_bits_, 0, sizeof(_has_bits_));
|
|
}
|
|
|
|
SFesMiValue::~SFesMiValue() {
|
|
// @@protoc_insertion_point(destructor:iot_idl.SFesMiValue)
|
|
SharedDtor();
|
|
}
|
|
|
|
void SFesMiValue::SharedDtor() {
|
|
if (this != default_instance_) {
|
|
}
|
|
}
|
|
|
|
void SFesMiValue::SetCachedSize(int size) const {
|
|
GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
|
|
_cached_size_ = size;
|
|
GOOGLE_SAFE_CONCURRENT_WRITES_END();
|
|
}
|
|
const ::google::protobuf::Descriptor* SFesMiValue::descriptor() {
|
|
protobuf_AssignDescriptorsOnce();
|
|
return SFesMiValue_descriptor_;
|
|
}
|
|
|
|
const SFesMiValue& SFesMiValue::default_instance() {
|
|
if (default_instance_ == NULL) protobuf_AddDesc_FesMessage_2eproto();
|
|
return *default_instance_;
|
|
}
|
|
|
|
SFesMiValue* SFesMiValue::default_instance_ = NULL;
|
|
|
|
SFesMiValue* SFesMiValue::New() const {
|
|
return new SFesMiValue;
|
|
}
|
|
|
|
void SFesMiValue::Clear() {
|
|
#define OFFSET_OF_FIELD_(f) (reinterpret_cast<char*>( \
|
|
&reinterpret_cast<SFesMiValue*>(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 SFesMiValue::MergePartialFromCodedStream(
|
|
::google::protobuf::io::CodedInputStream* input) {
|
|
#define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
|
|
::google::protobuf::uint32 tag;
|
|
// @@protoc_insertion_point(parse_start:iot_idl.SFesMiValue)
|
|
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:
|
|
// @@protoc_insertion_point(parse_success:iot_idl.SFesMiValue)
|
|
return true;
|
|
failure:
|
|
// @@protoc_insertion_point(parse_failure:iot_idl.SFesMiValue)
|
|
return false;
|
|
#undef DO_
|
|
}
|
|
|
|
void SFesMiValue::SerializeWithCachedSizes(
|
|
::google::protobuf::io::CodedOutputStream* output) const {
|
|
// @@protoc_insertion_point(serialize_start:iot_idl.SFesMiValue)
|
|
// 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);
|
|
}
|
|
// @@protoc_insertion_point(serialize_end:iot_idl.SFesMiValue)
|
|
}
|
|
|
|
::google::protobuf::uint8* SFesMiValue::SerializeWithCachedSizesToArray(
|
|
::google::protobuf::uint8* target) const {
|
|
// @@protoc_insertion_point(serialize_to_array_start:iot_idl.SFesMiValue)
|
|
// 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);
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_end:iot_idl.SFesMiValue)
|
|
return target;
|
|
}
|
|
|
|
int SFesMiValue::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 SFesMiValue::MergeFrom(const ::google::protobuf::Message& from) {
|
|
GOOGLE_CHECK_NE(&from, this);
|
|
const SFesMiValue* source =
|
|
::google::protobuf::internal::dynamic_cast_if_available<const SFesMiValue*>(
|
|
&from);
|
|
if (source == NULL) {
|
|
::google::protobuf::internal::ReflectionOps::Merge(from, this);
|
|
} else {
|
|
MergeFrom(*source);
|
|
}
|
|
}
|
|
|
|
void SFesMiValue::MergeFrom(const SFesMiValue& 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 SFesMiValue::CopyFrom(const ::google::protobuf::Message& from) {
|
|
if (&from == this) return;
|
|
Clear();
|
|
MergeFrom(from);
|
|
}
|
|
|
|
void SFesMiValue::CopyFrom(const SFesMiValue& from) {
|
|
if (&from == this) return;
|
|
Clear();
|
|
MergeFrom(from);
|
|
}
|
|
|
|
bool SFesMiValue::IsInitialized() const {
|
|
if ((_has_bits_[0] & 0x0000000f) != 0x0000000f) return false;
|
|
|
|
return true;
|
|
}
|
|
|
|
void SFesMiValue::Swap(SFesMiValue* 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 SFesMiValue::GetMetadata() const {
|
|
protobuf_AssignDescriptorsOnce();
|
|
::google::protobuf::Metadata metadata;
|
|
metadata.descriptor = SFesMiValue_descriptor_;
|
|
metadata.reflection = SFesMiValue_reflection_;
|
|
return metadata;
|
|
}
|
|
|
|
|
|
// ===================================================================
|
|
|
|
#ifndef _MSC_VER
|
|
const int SFesValueReqPkg::kStHeadFieldNumber;
|
|
const int SFesValueReqPkg::kNRtuNoFieldNumber;
|
|
#endif // !_MSC_VER
|
|
|
|
SFesValueReqPkg::SFesValueReqPkg()
|
|
: ::google::protobuf::Message() {
|
|
SharedCtor();
|
|
// @@protoc_insertion_point(constructor:iot_idl.SFesValueReqPkg)
|
|
}
|
|
|
|
void SFesValueReqPkg::InitAsDefaultInstance() {
|
|
sthead_ = const_cast< ::iot_idl::SFesRealPkgHead*>(&::iot_idl::SFesRealPkgHead::default_instance());
|
|
}
|
|
|
|
SFesValueReqPkg::SFesValueReqPkg(const SFesValueReqPkg& from)
|
|
: ::google::protobuf::Message() {
|
|
SharedCtor();
|
|
MergeFrom(from);
|
|
// @@protoc_insertion_point(copy_constructor:iot_idl.SFesValueReqPkg)
|
|
}
|
|
|
|
void SFesValueReqPkg::SharedCtor() {
|
|
_cached_size_ = 0;
|
|
sthead_ = NULL;
|
|
nrtuno_ = 0;
|
|
::memset(_has_bits_, 0, sizeof(_has_bits_));
|
|
}
|
|
|
|
SFesValueReqPkg::~SFesValueReqPkg() {
|
|
// @@protoc_insertion_point(destructor:iot_idl.SFesValueReqPkg)
|
|
SharedDtor();
|
|
}
|
|
|
|
void SFesValueReqPkg::SharedDtor() {
|
|
if (this != default_instance_) {
|
|
delete sthead_;
|
|
}
|
|
}
|
|
|
|
void SFesValueReqPkg::SetCachedSize(int size) const {
|
|
GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
|
|
_cached_size_ = size;
|
|
GOOGLE_SAFE_CONCURRENT_WRITES_END();
|
|
}
|
|
const ::google::protobuf::Descriptor* SFesValueReqPkg::descriptor() {
|
|
protobuf_AssignDescriptorsOnce();
|
|
return SFesValueReqPkg_descriptor_;
|
|
}
|
|
|
|
const SFesValueReqPkg& SFesValueReqPkg::default_instance() {
|
|
if (default_instance_ == NULL) protobuf_AddDesc_FesMessage_2eproto();
|
|
return *default_instance_;
|
|
}
|
|
|
|
SFesValueReqPkg* SFesValueReqPkg::default_instance_ = NULL;
|
|
|
|
SFesValueReqPkg* SFesValueReqPkg::New() const {
|
|
return new SFesValueReqPkg;
|
|
}
|
|
|
|
void SFesValueReqPkg::Clear() {
|
|
if (_has_bits_[0 / 32] & 3) {
|
|
if (has_sthead()) {
|
|
if (sthead_ != NULL) sthead_->::iot_idl::SFesRealPkgHead::Clear();
|
|
}
|
|
nrtuno_ = 0;
|
|
}
|
|
::memset(_has_bits_, 0, sizeof(_has_bits_));
|
|
mutable_unknown_fields()->Clear();
|
|
}
|
|
|
|
bool SFesValueReqPkg::MergePartialFromCodedStream(
|
|
::google::protobuf::io::CodedInputStream* input) {
|
|
#define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
|
|
::google::protobuf::uint32 tag;
|
|
// @@protoc_insertion_point(parse_start:iot_idl.SFesValueReqPkg)
|
|
for (;;) {
|
|
::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
|
|
tag = p.first;
|
|
if (!p.second) goto handle_unusual;
|
|
switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
|
|
// required .iot_idl.SFesRealPkgHead stHead = 1;
|
|
case 1: {
|
|
if (tag == 10) {
|
|
DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
|
|
input, mutable_sthead()));
|
|
} else {
|
|
goto handle_unusual;
|
|
}
|
|
if (input->ExpectTag(16)) goto parse_nRtuNo;
|
|
break;
|
|
}
|
|
|
|
// required int32 nRtuNo = 2;
|
|
case 2: {
|
|
if (tag == 16) {
|
|
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->ExpectAtEnd()) goto success;
|
|
break;
|
|
}
|
|
|
|
default: {
|
|
handle_unusual:
|
|
if (tag == 0 ||
|
|
::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
|
|
::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
|
|
goto success;
|
|
}
|
|
DO_(::google::protobuf::internal::WireFormat::SkipField(
|
|
input, tag, mutable_unknown_fields()));
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
success:
|
|
// @@protoc_insertion_point(parse_success:iot_idl.SFesValueReqPkg)
|
|
return true;
|
|
failure:
|
|
// @@protoc_insertion_point(parse_failure:iot_idl.SFesValueReqPkg)
|
|
return false;
|
|
#undef DO_
|
|
}
|
|
|
|
void SFesValueReqPkg::SerializeWithCachedSizes(
|
|
::google::protobuf::io::CodedOutputStream* output) const {
|
|
// @@protoc_insertion_point(serialize_start:iot_idl.SFesValueReqPkg)
|
|
// required .iot_idl.SFesRealPkgHead stHead = 1;
|
|
if (has_sthead()) {
|
|
::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
|
|
1, this->sthead(), output);
|
|
}
|
|
|
|
// required int32 nRtuNo = 2;
|
|
if (has_nrtuno()) {
|
|
::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->nrtuno(), output);
|
|
}
|
|
|
|
if (!unknown_fields().empty()) {
|
|
::google::protobuf::internal::WireFormat::SerializeUnknownFields(
|
|
unknown_fields(), output);
|
|
}
|
|
// @@protoc_insertion_point(serialize_end:iot_idl.SFesValueReqPkg)
|
|
}
|
|
|
|
::google::protobuf::uint8* SFesValueReqPkg::SerializeWithCachedSizesToArray(
|
|
::google::protobuf::uint8* target) const {
|
|
// @@protoc_insertion_point(serialize_to_array_start:iot_idl.SFesValueReqPkg)
|
|
// required .iot_idl.SFesRealPkgHead stHead = 1;
|
|
if (has_sthead()) {
|
|
target = ::google::protobuf::internal::WireFormatLite::
|
|
WriteMessageNoVirtualToArray(
|
|
1, this->sthead(), target);
|
|
}
|
|
|
|
// required int32 nRtuNo = 2;
|
|
if (has_nrtuno()) {
|
|
target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->nrtuno(), target);
|
|
}
|
|
|
|
if (!unknown_fields().empty()) {
|
|
target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
|
|
unknown_fields(), target);
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_end:iot_idl.SFesValueReqPkg)
|
|
return target;
|
|
}
|
|
|
|
int SFesValueReqPkg::ByteSize() const {
|
|
int total_size = 0;
|
|
|
|
if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
|
|
// required .iot_idl.SFesRealPkgHead stHead = 1;
|
|
if (has_sthead()) {
|
|
total_size += 1 +
|
|
::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
|
|
this->sthead());
|
|
}
|
|
|
|
// required int32 nRtuNo = 2;
|
|
if (has_nrtuno()) {
|
|
total_size += 1 +
|
|
::google::protobuf::internal::WireFormatLite::Int32Size(
|
|
this->nrtuno());
|
|
}
|
|
|
|
}
|
|
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 SFesValueReqPkg::MergeFrom(const ::google::protobuf::Message& from) {
|
|
GOOGLE_CHECK_NE(&from, this);
|
|
const SFesValueReqPkg* source =
|
|
::google::protobuf::internal::dynamic_cast_if_available<const SFesValueReqPkg*>(
|
|
&from);
|
|
if (source == NULL) {
|
|
::google::protobuf::internal::ReflectionOps::Merge(from, this);
|
|
} else {
|
|
MergeFrom(*source);
|
|
}
|
|
}
|
|
|
|
void SFesValueReqPkg::MergeFrom(const SFesValueReqPkg& from) {
|
|
GOOGLE_CHECK_NE(&from, this);
|
|
if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
|
|
if (from.has_sthead()) {
|
|
mutable_sthead()->::iot_idl::SFesRealPkgHead::MergeFrom(from.sthead());
|
|
}
|
|
if (from.has_nrtuno()) {
|
|
set_nrtuno(from.nrtuno());
|
|
}
|
|
}
|
|
mutable_unknown_fields()->MergeFrom(from.unknown_fields());
|
|
}
|
|
|
|
void SFesValueReqPkg::CopyFrom(const ::google::protobuf::Message& from) {
|
|
if (&from == this) return;
|
|
Clear();
|
|
MergeFrom(from);
|
|
}
|
|
|
|
void SFesValueReqPkg::CopyFrom(const SFesValueReqPkg& from) {
|
|
if (&from == this) return;
|
|
Clear();
|
|
MergeFrom(from);
|
|
}
|
|
|
|
bool SFesValueReqPkg::IsInitialized() const {
|
|
if ((_has_bits_[0] & 0x00000003) != 0x00000003) return false;
|
|
|
|
if (has_sthead()) {
|
|
if (!this->sthead().IsInitialized()) return false;
|
|
}
|
|
return true;
|
|
}
|
|
|
|
void SFesValueReqPkg::Swap(SFesValueReqPkg* other) {
|
|
if (other != this) {
|
|
std::swap(sthead_, other->sthead_);
|
|
std::swap(nrtuno_, other->nrtuno_);
|
|
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 SFesValueReqPkg::GetMetadata() const {
|
|
protobuf_AssignDescriptorsOnce();
|
|
::google::protobuf::Metadata metadata;
|
|
metadata.descriptor = SFesValueReqPkg_descriptor_;
|
|
metadata.reflection = SFesValueReqPkg_reflection_;
|
|
return metadata;
|
|
}
|
|
|
|
|
|
// ===================================================================
|
|
|
|
#ifndef _MSC_VER
|
|
const int SFesAiValueRespPkg::kStHeadFieldNumber;
|
|
const int SFesAiValueRespPkg::kNRtuNoFieldNumber;
|
|
const int SFesAiValueRespPkg::kStAiValueFieldNumber;
|
|
#endif // !_MSC_VER
|
|
|
|
SFesAiValueRespPkg::SFesAiValueRespPkg()
|
|
: ::google::protobuf::Message() {
|
|
SharedCtor();
|
|
// @@protoc_insertion_point(constructor:iot_idl.SFesAiValueRespPkg)
|
|
}
|
|
|
|
void SFesAiValueRespPkg::InitAsDefaultInstance() {
|
|
sthead_ = const_cast< ::iot_idl::SFesRealPkgHead*>(&::iot_idl::SFesRealPkgHead::default_instance());
|
|
}
|
|
|
|
SFesAiValueRespPkg::SFesAiValueRespPkg(const SFesAiValueRespPkg& from)
|
|
: ::google::protobuf::Message() {
|
|
SharedCtor();
|
|
MergeFrom(from);
|
|
// @@protoc_insertion_point(copy_constructor:iot_idl.SFesAiValueRespPkg)
|
|
}
|
|
|
|
void SFesAiValueRespPkg::SharedCtor() {
|
|
_cached_size_ = 0;
|
|
sthead_ = NULL;
|
|
nrtuno_ = 0;
|
|
::memset(_has_bits_, 0, sizeof(_has_bits_));
|
|
}
|
|
|
|
SFesAiValueRespPkg::~SFesAiValueRespPkg() {
|
|
// @@protoc_insertion_point(destructor:iot_idl.SFesAiValueRespPkg)
|
|
SharedDtor();
|
|
}
|
|
|
|
void SFesAiValueRespPkg::SharedDtor() {
|
|
if (this != default_instance_) {
|
|
delete sthead_;
|
|
}
|
|
}
|
|
|
|
void SFesAiValueRespPkg::SetCachedSize(int size) const {
|
|
GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
|
|
_cached_size_ = size;
|
|
GOOGLE_SAFE_CONCURRENT_WRITES_END();
|
|
}
|
|
const ::google::protobuf::Descriptor* SFesAiValueRespPkg::descriptor() {
|
|
protobuf_AssignDescriptorsOnce();
|
|
return SFesAiValueRespPkg_descriptor_;
|
|
}
|
|
|
|
const SFesAiValueRespPkg& SFesAiValueRespPkg::default_instance() {
|
|
if (default_instance_ == NULL) protobuf_AddDesc_FesMessage_2eproto();
|
|
return *default_instance_;
|
|
}
|
|
|
|
SFesAiValueRespPkg* SFesAiValueRespPkg::default_instance_ = NULL;
|
|
|
|
SFesAiValueRespPkg* SFesAiValueRespPkg::New() const {
|
|
return new SFesAiValueRespPkg;
|
|
}
|
|
|
|
void SFesAiValueRespPkg::Clear() {
|
|
if (_has_bits_[0 / 32] & 3) {
|
|
if (has_sthead()) {
|
|
if (sthead_ != NULL) sthead_->::iot_idl::SFesRealPkgHead::Clear();
|
|
}
|
|
nrtuno_ = 0;
|
|
}
|
|
staivalue_.Clear();
|
|
::memset(_has_bits_, 0, sizeof(_has_bits_));
|
|
mutable_unknown_fields()->Clear();
|
|
}
|
|
|
|
bool SFesAiValueRespPkg::MergePartialFromCodedStream(
|
|
::google::protobuf::io::CodedInputStream* input) {
|
|
#define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
|
|
::google::protobuf::uint32 tag;
|
|
// @@protoc_insertion_point(parse_start:iot_idl.SFesAiValueRespPkg)
|
|
for (;;) {
|
|
::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
|
|
tag = p.first;
|
|
if (!p.second) goto handle_unusual;
|
|
switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
|
|
// required .iot_idl.SFesRealPkgHead stHead = 1;
|
|
case 1: {
|
|
if (tag == 10) {
|
|
DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
|
|
input, mutable_sthead()));
|
|
} else {
|
|
goto handle_unusual;
|
|
}
|
|
if (input->ExpectTag(16)) goto parse_nRtuNo;
|
|
break;
|
|
}
|
|
|
|
// required int32 nRtuNo = 2;
|
|
case 2: {
|
|
if (tag == 16) {
|
|
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(26)) goto parse_stAiValue;
|
|
break;
|
|
}
|
|
|
|
// repeated .iot_idl.SFesAiValue stAiValue = 3;
|
|
case 3: {
|
|
if (tag == 26) {
|
|
parse_stAiValue:
|
|
DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
|
|
input, add_staivalue()));
|
|
} else {
|
|
goto handle_unusual;
|
|
}
|
|
if (input->ExpectTag(26)) goto parse_stAiValue;
|
|
if (input->ExpectAtEnd()) goto success;
|
|
break;
|
|
}
|
|
|
|
default: {
|
|
handle_unusual:
|
|
if (tag == 0 ||
|
|
::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
|
|
::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
|
|
goto success;
|
|
}
|
|
DO_(::google::protobuf::internal::WireFormat::SkipField(
|
|
input, tag, mutable_unknown_fields()));
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
success:
|
|
// @@protoc_insertion_point(parse_success:iot_idl.SFesAiValueRespPkg)
|
|
return true;
|
|
failure:
|
|
// @@protoc_insertion_point(parse_failure:iot_idl.SFesAiValueRespPkg)
|
|
return false;
|
|
#undef DO_
|
|
}
|
|
|
|
void SFesAiValueRespPkg::SerializeWithCachedSizes(
|
|
::google::protobuf::io::CodedOutputStream* output) const {
|
|
// @@protoc_insertion_point(serialize_start:iot_idl.SFesAiValueRespPkg)
|
|
// required .iot_idl.SFesRealPkgHead stHead = 1;
|
|
if (has_sthead()) {
|
|
::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
|
|
1, this->sthead(), output);
|
|
}
|
|
|
|
// required int32 nRtuNo = 2;
|
|
if (has_nrtuno()) {
|
|
::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->nrtuno(), output);
|
|
}
|
|
|
|
// repeated .iot_idl.SFesAiValue stAiValue = 3;
|
|
for (int i = 0; i < this->staivalue_size(); i++) {
|
|
::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
|
|
3, this->staivalue(i), output);
|
|
}
|
|
|
|
if (!unknown_fields().empty()) {
|
|
::google::protobuf::internal::WireFormat::SerializeUnknownFields(
|
|
unknown_fields(), output);
|
|
}
|
|
// @@protoc_insertion_point(serialize_end:iot_idl.SFesAiValueRespPkg)
|
|
}
|
|
|
|
::google::protobuf::uint8* SFesAiValueRespPkg::SerializeWithCachedSizesToArray(
|
|
::google::protobuf::uint8* target) const {
|
|
// @@protoc_insertion_point(serialize_to_array_start:iot_idl.SFesAiValueRespPkg)
|
|
// required .iot_idl.SFesRealPkgHead stHead = 1;
|
|
if (has_sthead()) {
|
|
target = ::google::protobuf::internal::WireFormatLite::
|
|
WriteMessageNoVirtualToArray(
|
|
1, this->sthead(), target);
|
|
}
|
|
|
|
// required int32 nRtuNo = 2;
|
|
if (has_nrtuno()) {
|
|
target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->nrtuno(), target);
|
|
}
|
|
|
|
// repeated .iot_idl.SFesAiValue stAiValue = 3;
|
|
for (int i = 0; i < this->staivalue_size(); i++) {
|
|
target = ::google::protobuf::internal::WireFormatLite::
|
|
WriteMessageNoVirtualToArray(
|
|
3, this->staivalue(i), target);
|
|
}
|
|
|
|
if (!unknown_fields().empty()) {
|
|
target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
|
|
unknown_fields(), target);
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_end:iot_idl.SFesAiValueRespPkg)
|
|
return target;
|
|
}
|
|
|
|
int SFesAiValueRespPkg::ByteSize() const {
|
|
int total_size = 0;
|
|
|
|
if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
|
|
// required .iot_idl.SFesRealPkgHead stHead = 1;
|
|
if (has_sthead()) {
|
|
total_size += 1 +
|
|
::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
|
|
this->sthead());
|
|
}
|
|
|
|
// required int32 nRtuNo = 2;
|
|
if (has_nrtuno()) {
|
|
total_size += 1 +
|
|
::google::protobuf::internal::WireFormatLite::Int32Size(
|
|
this->nrtuno());
|
|
}
|
|
|
|
}
|
|
// repeated .iot_idl.SFesAiValue stAiValue = 3;
|
|
total_size += 1 * this->staivalue_size();
|
|
for (int i = 0; i < this->staivalue_size(); i++) {
|
|
total_size +=
|
|
::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
|
|
this->staivalue(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 SFesAiValueRespPkg::MergeFrom(const ::google::protobuf::Message& from) {
|
|
GOOGLE_CHECK_NE(&from, this);
|
|
const SFesAiValueRespPkg* source =
|
|
::google::protobuf::internal::dynamic_cast_if_available<const SFesAiValueRespPkg*>(
|
|
&from);
|
|
if (source == NULL) {
|
|
::google::protobuf::internal::ReflectionOps::Merge(from, this);
|
|
} else {
|
|
MergeFrom(*source);
|
|
}
|
|
}
|
|
|
|
void SFesAiValueRespPkg::MergeFrom(const SFesAiValueRespPkg& from) {
|
|
GOOGLE_CHECK_NE(&from, this);
|
|
staivalue_.MergeFrom(from.staivalue_);
|
|
if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
|
|
if (from.has_sthead()) {
|
|
mutable_sthead()->::iot_idl::SFesRealPkgHead::MergeFrom(from.sthead());
|
|
}
|
|
if (from.has_nrtuno()) {
|
|
set_nrtuno(from.nrtuno());
|
|
}
|
|
}
|
|
mutable_unknown_fields()->MergeFrom(from.unknown_fields());
|
|
}
|
|
|
|
void SFesAiValueRespPkg::CopyFrom(const ::google::protobuf::Message& from) {
|
|
if (&from == this) return;
|
|
Clear();
|
|
MergeFrom(from);
|
|
}
|
|
|
|
void SFesAiValueRespPkg::CopyFrom(const SFesAiValueRespPkg& from) {
|
|
if (&from == this) return;
|
|
Clear();
|
|
MergeFrom(from);
|
|
}
|
|
|
|
bool SFesAiValueRespPkg::IsInitialized() const {
|
|
if ((_has_bits_[0] & 0x00000003) != 0x00000003) return false;
|
|
|
|
if (has_sthead()) {
|
|
if (!this->sthead().IsInitialized()) return false;
|
|
}
|
|
if (!::google::protobuf::internal::AllAreInitialized(this->staivalue())) return false;
|
|
return true;
|
|
}
|
|
|
|
void SFesAiValueRespPkg::Swap(SFesAiValueRespPkg* other) {
|
|
if (other != this) {
|
|
std::swap(sthead_, other->sthead_);
|
|
std::swap(nrtuno_, other->nrtuno_);
|
|
staivalue_.Swap(&other->staivalue_);
|
|
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 SFesAiValueRespPkg::GetMetadata() const {
|
|
protobuf_AssignDescriptorsOnce();
|
|
::google::protobuf::Metadata metadata;
|
|
metadata.descriptor = SFesAiValueRespPkg_descriptor_;
|
|
metadata.reflection = SFesAiValueRespPkg_reflection_;
|
|
return metadata;
|
|
}
|
|
|
|
|
|
// ===================================================================
|
|
|
|
#ifndef _MSC_VER
|
|
const int SFesDiValueRespPkg::kStHeadFieldNumber;
|
|
const int SFesDiValueRespPkg::kNRtuNoFieldNumber;
|
|
const int SFesDiValueRespPkg::kStDiValueFieldNumber;
|
|
#endif // !_MSC_VER
|
|
|
|
SFesDiValueRespPkg::SFesDiValueRespPkg()
|
|
: ::google::protobuf::Message() {
|
|
SharedCtor();
|
|
// @@protoc_insertion_point(constructor:iot_idl.SFesDiValueRespPkg)
|
|
}
|
|
|
|
void SFesDiValueRespPkg::InitAsDefaultInstance() {
|
|
sthead_ = const_cast< ::iot_idl::SFesRealPkgHead*>(&::iot_idl::SFesRealPkgHead::default_instance());
|
|
}
|
|
|
|
SFesDiValueRespPkg::SFesDiValueRespPkg(const SFesDiValueRespPkg& from)
|
|
: ::google::protobuf::Message() {
|
|
SharedCtor();
|
|
MergeFrom(from);
|
|
// @@protoc_insertion_point(copy_constructor:iot_idl.SFesDiValueRespPkg)
|
|
}
|
|
|
|
void SFesDiValueRespPkg::SharedCtor() {
|
|
_cached_size_ = 0;
|
|
sthead_ = NULL;
|
|
nrtuno_ = 0;
|
|
::memset(_has_bits_, 0, sizeof(_has_bits_));
|
|
}
|
|
|
|
SFesDiValueRespPkg::~SFesDiValueRespPkg() {
|
|
// @@protoc_insertion_point(destructor:iot_idl.SFesDiValueRespPkg)
|
|
SharedDtor();
|
|
}
|
|
|
|
void SFesDiValueRespPkg::SharedDtor() {
|
|
if (this != default_instance_) {
|
|
delete sthead_;
|
|
}
|
|
}
|
|
|
|
void SFesDiValueRespPkg::SetCachedSize(int size) const {
|
|
GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
|
|
_cached_size_ = size;
|
|
GOOGLE_SAFE_CONCURRENT_WRITES_END();
|
|
}
|
|
const ::google::protobuf::Descriptor* SFesDiValueRespPkg::descriptor() {
|
|
protobuf_AssignDescriptorsOnce();
|
|
return SFesDiValueRespPkg_descriptor_;
|
|
}
|
|
|
|
const SFesDiValueRespPkg& SFesDiValueRespPkg::default_instance() {
|
|
if (default_instance_ == NULL) protobuf_AddDesc_FesMessage_2eproto();
|
|
return *default_instance_;
|
|
}
|
|
|
|
SFesDiValueRespPkg* SFesDiValueRespPkg::default_instance_ = NULL;
|
|
|
|
SFesDiValueRespPkg* SFesDiValueRespPkg::New() const {
|
|
return new SFesDiValueRespPkg;
|
|
}
|
|
|
|
void SFesDiValueRespPkg::Clear() {
|
|
if (_has_bits_[0 / 32] & 3) {
|
|
if (has_sthead()) {
|
|
if (sthead_ != NULL) sthead_->::iot_idl::SFesRealPkgHead::Clear();
|
|
}
|
|
nrtuno_ = 0;
|
|
}
|
|
stdivalue_.Clear();
|
|
::memset(_has_bits_, 0, sizeof(_has_bits_));
|
|
mutable_unknown_fields()->Clear();
|
|
}
|
|
|
|
bool SFesDiValueRespPkg::MergePartialFromCodedStream(
|
|
::google::protobuf::io::CodedInputStream* input) {
|
|
#define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
|
|
::google::protobuf::uint32 tag;
|
|
// @@protoc_insertion_point(parse_start:iot_idl.SFesDiValueRespPkg)
|
|
for (;;) {
|
|
::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
|
|
tag = p.first;
|
|
if (!p.second) goto handle_unusual;
|
|
switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
|
|
// required .iot_idl.SFesRealPkgHead stHead = 1;
|
|
case 1: {
|
|
if (tag == 10) {
|
|
DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
|
|
input, mutable_sthead()));
|
|
} else {
|
|
goto handle_unusual;
|
|
}
|
|
if (input->ExpectTag(16)) goto parse_nRtuNo;
|
|
break;
|
|
}
|
|
|
|
// required int32 nRtuNo = 2;
|
|
case 2: {
|
|
if (tag == 16) {
|
|
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(26)) goto parse_stDiValue;
|
|
break;
|
|
}
|
|
|
|
// repeated .iot_idl.SFesDiValue stDiValue = 3;
|
|
case 3: {
|
|
if (tag == 26) {
|
|
parse_stDiValue:
|
|
DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
|
|
input, add_stdivalue()));
|
|
} else {
|
|
goto handle_unusual;
|
|
}
|
|
if (input->ExpectTag(26)) goto parse_stDiValue;
|
|
if (input->ExpectAtEnd()) goto success;
|
|
break;
|
|
}
|
|
|
|
default: {
|
|
handle_unusual:
|
|
if (tag == 0 ||
|
|
::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
|
|
::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
|
|
goto success;
|
|
}
|
|
DO_(::google::protobuf::internal::WireFormat::SkipField(
|
|
input, tag, mutable_unknown_fields()));
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
success:
|
|
// @@protoc_insertion_point(parse_success:iot_idl.SFesDiValueRespPkg)
|
|
return true;
|
|
failure:
|
|
// @@protoc_insertion_point(parse_failure:iot_idl.SFesDiValueRespPkg)
|
|
return false;
|
|
#undef DO_
|
|
}
|
|
|
|
void SFesDiValueRespPkg::SerializeWithCachedSizes(
|
|
::google::protobuf::io::CodedOutputStream* output) const {
|
|
// @@protoc_insertion_point(serialize_start:iot_idl.SFesDiValueRespPkg)
|
|
// required .iot_idl.SFesRealPkgHead stHead = 1;
|
|
if (has_sthead()) {
|
|
::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
|
|
1, this->sthead(), output);
|
|
}
|
|
|
|
// required int32 nRtuNo = 2;
|
|
if (has_nrtuno()) {
|
|
::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->nrtuno(), output);
|
|
}
|
|
|
|
// repeated .iot_idl.SFesDiValue stDiValue = 3;
|
|
for (int i = 0; i < this->stdivalue_size(); i++) {
|
|
::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
|
|
3, this->stdivalue(i), output);
|
|
}
|
|
|
|
if (!unknown_fields().empty()) {
|
|
::google::protobuf::internal::WireFormat::SerializeUnknownFields(
|
|
unknown_fields(), output);
|
|
}
|
|
// @@protoc_insertion_point(serialize_end:iot_idl.SFesDiValueRespPkg)
|
|
}
|
|
|
|
::google::protobuf::uint8* SFesDiValueRespPkg::SerializeWithCachedSizesToArray(
|
|
::google::protobuf::uint8* target) const {
|
|
// @@protoc_insertion_point(serialize_to_array_start:iot_idl.SFesDiValueRespPkg)
|
|
// required .iot_idl.SFesRealPkgHead stHead = 1;
|
|
if (has_sthead()) {
|
|
target = ::google::protobuf::internal::WireFormatLite::
|
|
WriteMessageNoVirtualToArray(
|
|
1, this->sthead(), target);
|
|
}
|
|
|
|
// required int32 nRtuNo = 2;
|
|
if (has_nrtuno()) {
|
|
target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->nrtuno(), target);
|
|
}
|
|
|
|
// repeated .iot_idl.SFesDiValue stDiValue = 3;
|
|
for (int i = 0; i < this->stdivalue_size(); i++) {
|
|
target = ::google::protobuf::internal::WireFormatLite::
|
|
WriteMessageNoVirtualToArray(
|
|
3, this->stdivalue(i), target);
|
|
}
|
|
|
|
if (!unknown_fields().empty()) {
|
|
target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
|
|
unknown_fields(), target);
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_end:iot_idl.SFesDiValueRespPkg)
|
|
return target;
|
|
}
|
|
|
|
int SFesDiValueRespPkg::ByteSize() const {
|
|
int total_size = 0;
|
|
|
|
if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
|
|
// required .iot_idl.SFesRealPkgHead stHead = 1;
|
|
if (has_sthead()) {
|
|
total_size += 1 +
|
|
::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
|
|
this->sthead());
|
|
}
|
|
|
|
// required int32 nRtuNo = 2;
|
|
if (has_nrtuno()) {
|
|
total_size += 1 +
|
|
::google::protobuf::internal::WireFormatLite::Int32Size(
|
|
this->nrtuno());
|
|
}
|
|
|
|
}
|
|
// repeated .iot_idl.SFesDiValue stDiValue = 3;
|
|
total_size += 1 * this->stdivalue_size();
|
|
for (int i = 0; i < this->stdivalue_size(); i++) {
|
|
total_size +=
|
|
::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
|
|
this->stdivalue(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 SFesDiValueRespPkg::MergeFrom(const ::google::protobuf::Message& from) {
|
|
GOOGLE_CHECK_NE(&from, this);
|
|
const SFesDiValueRespPkg* source =
|
|
::google::protobuf::internal::dynamic_cast_if_available<const SFesDiValueRespPkg*>(
|
|
&from);
|
|
if (source == NULL) {
|
|
::google::protobuf::internal::ReflectionOps::Merge(from, this);
|
|
} else {
|
|
MergeFrom(*source);
|
|
}
|
|
}
|
|
|
|
void SFesDiValueRespPkg::MergeFrom(const SFesDiValueRespPkg& from) {
|
|
GOOGLE_CHECK_NE(&from, this);
|
|
stdivalue_.MergeFrom(from.stdivalue_);
|
|
if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
|
|
if (from.has_sthead()) {
|
|
mutable_sthead()->::iot_idl::SFesRealPkgHead::MergeFrom(from.sthead());
|
|
}
|
|
if (from.has_nrtuno()) {
|
|
set_nrtuno(from.nrtuno());
|
|
}
|
|
}
|
|
mutable_unknown_fields()->MergeFrom(from.unknown_fields());
|
|
}
|
|
|
|
void SFesDiValueRespPkg::CopyFrom(const ::google::protobuf::Message& from) {
|
|
if (&from == this) return;
|
|
Clear();
|
|
MergeFrom(from);
|
|
}
|
|
|
|
void SFesDiValueRespPkg::CopyFrom(const SFesDiValueRespPkg& from) {
|
|
if (&from == this) return;
|
|
Clear();
|
|
MergeFrom(from);
|
|
}
|
|
|
|
bool SFesDiValueRespPkg::IsInitialized() const {
|
|
if ((_has_bits_[0] & 0x00000003) != 0x00000003) return false;
|
|
|
|
if (has_sthead()) {
|
|
if (!this->sthead().IsInitialized()) return false;
|
|
}
|
|
if (!::google::protobuf::internal::AllAreInitialized(this->stdivalue())) return false;
|
|
return true;
|
|
}
|
|
|
|
void SFesDiValueRespPkg::Swap(SFesDiValueRespPkg* other) {
|
|
if (other != this) {
|
|
std::swap(sthead_, other->sthead_);
|
|
std::swap(nrtuno_, other->nrtuno_);
|
|
stdivalue_.Swap(&other->stdivalue_);
|
|
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 SFesDiValueRespPkg::GetMetadata() const {
|
|
protobuf_AssignDescriptorsOnce();
|
|
::google::protobuf::Metadata metadata;
|
|
metadata.descriptor = SFesDiValueRespPkg_descriptor_;
|
|
metadata.reflection = SFesDiValueRespPkg_reflection_;
|
|
return metadata;
|
|
}
|
|
|
|
|
|
// ===================================================================
|
|
|
|
#ifndef _MSC_VER
|
|
const int SFesPiValueRespPkg::kStHeadFieldNumber;
|
|
const int SFesPiValueRespPkg::kNRtuNoFieldNumber;
|
|
const int SFesPiValueRespPkg::kStPiValueFieldNumber;
|
|
#endif // !_MSC_VER
|
|
|
|
SFesPiValueRespPkg::SFesPiValueRespPkg()
|
|
: ::google::protobuf::Message() {
|
|
SharedCtor();
|
|
// @@protoc_insertion_point(constructor:iot_idl.SFesPiValueRespPkg)
|
|
}
|
|
|
|
void SFesPiValueRespPkg::InitAsDefaultInstance() {
|
|
sthead_ = const_cast< ::iot_idl::SFesRealPkgHead*>(&::iot_idl::SFesRealPkgHead::default_instance());
|
|
}
|
|
|
|
SFesPiValueRespPkg::SFesPiValueRespPkg(const SFesPiValueRespPkg& from)
|
|
: ::google::protobuf::Message() {
|
|
SharedCtor();
|
|
MergeFrom(from);
|
|
// @@protoc_insertion_point(copy_constructor:iot_idl.SFesPiValueRespPkg)
|
|
}
|
|
|
|
void SFesPiValueRespPkg::SharedCtor() {
|
|
_cached_size_ = 0;
|
|
sthead_ = NULL;
|
|
nrtuno_ = 0;
|
|
::memset(_has_bits_, 0, sizeof(_has_bits_));
|
|
}
|
|
|
|
SFesPiValueRespPkg::~SFesPiValueRespPkg() {
|
|
// @@protoc_insertion_point(destructor:iot_idl.SFesPiValueRespPkg)
|
|
SharedDtor();
|
|
}
|
|
|
|
void SFesPiValueRespPkg::SharedDtor() {
|
|
if (this != default_instance_) {
|
|
delete sthead_;
|
|
}
|
|
}
|
|
|
|
void SFesPiValueRespPkg::SetCachedSize(int size) const {
|
|
GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
|
|
_cached_size_ = size;
|
|
GOOGLE_SAFE_CONCURRENT_WRITES_END();
|
|
}
|
|
const ::google::protobuf::Descriptor* SFesPiValueRespPkg::descriptor() {
|
|
protobuf_AssignDescriptorsOnce();
|
|
return SFesPiValueRespPkg_descriptor_;
|
|
}
|
|
|
|
const SFesPiValueRespPkg& SFesPiValueRespPkg::default_instance() {
|
|
if (default_instance_ == NULL) protobuf_AddDesc_FesMessage_2eproto();
|
|
return *default_instance_;
|
|
}
|
|
|
|
SFesPiValueRespPkg* SFesPiValueRespPkg::default_instance_ = NULL;
|
|
|
|
SFesPiValueRespPkg* SFesPiValueRespPkg::New() const {
|
|
return new SFesPiValueRespPkg;
|
|
}
|
|
|
|
void SFesPiValueRespPkg::Clear() {
|
|
if (_has_bits_[0 / 32] & 3) {
|
|
if (has_sthead()) {
|
|
if (sthead_ != NULL) sthead_->::iot_idl::SFesRealPkgHead::Clear();
|
|
}
|
|
nrtuno_ = 0;
|
|
}
|
|
stpivalue_.Clear();
|
|
::memset(_has_bits_, 0, sizeof(_has_bits_));
|
|
mutable_unknown_fields()->Clear();
|
|
}
|
|
|
|
bool SFesPiValueRespPkg::MergePartialFromCodedStream(
|
|
::google::protobuf::io::CodedInputStream* input) {
|
|
#define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
|
|
::google::protobuf::uint32 tag;
|
|
// @@protoc_insertion_point(parse_start:iot_idl.SFesPiValueRespPkg)
|
|
for (;;) {
|
|
::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
|
|
tag = p.first;
|
|
if (!p.second) goto handle_unusual;
|
|
switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
|
|
// required .iot_idl.SFesRealPkgHead stHead = 1;
|
|
case 1: {
|
|
if (tag == 10) {
|
|
DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
|
|
input, mutable_sthead()));
|
|
} else {
|
|
goto handle_unusual;
|
|
}
|
|
if (input->ExpectTag(16)) goto parse_nRtuNo;
|
|
break;
|
|
}
|
|
|
|
// required int32 nRtuNo = 2;
|
|
case 2: {
|
|
if (tag == 16) {
|
|
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(26)) goto parse_stPiValue;
|
|
break;
|
|
}
|
|
|
|
// repeated .iot_idl.SFesPiValue stPiValue = 3;
|
|
case 3: {
|
|
if (tag == 26) {
|
|
parse_stPiValue:
|
|
DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
|
|
input, add_stpivalue()));
|
|
} else {
|
|
goto handle_unusual;
|
|
}
|
|
if (input->ExpectTag(26)) goto parse_stPiValue;
|
|
if (input->ExpectAtEnd()) goto success;
|
|
break;
|
|
}
|
|
|
|
default: {
|
|
handle_unusual:
|
|
if (tag == 0 ||
|
|
::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
|
|
::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
|
|
goto success;
|
|
}
|
|
DO_(::google::protobuf::internal::WireFormat::SkipField(
|
|
input, tag, mutable_unknown_fields()));
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
success:
|
|
// @@protoc_insertion_point(parse_success:iot_idl.SFesPiValueRespPkg)
|
|
return true;
|
|
failure:
|
|
// @@protoc_insertion_point(parse_failure:iot_idl.SFesPiValueRespPkg)
|
|
return false;
|
|
#undef DO_
|
|
}
|
|
|
|
void SFesPiValueRespPkg::SerializeWithCachedSizes(
|
|
::google::protobuf::io::CodedOutputStream* output) const {
|
|
// @@protoc_insertion_point(serialize_start:iot_idl.SFesPiValueRespPkg)
|
|
// required .iot_idl.SFesRealPkgHead stHead = 1;
|
|
if (has_sthead()) {
|
|
::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
|
|
1, this->sthead(), output);
|
|
}
|
|
|
|
// required int32 nRtuNo = 2;
|
|
if (has_nrtuno()) {
|
|
::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->nrtuno(), output);
|
|
}
|
|
|
|
// repeated .iot_idl.SFesPiValue stPiValue = 3;
|
|
for (int i = 0; i < this->stpivalue_size(); i++) {
|
|
::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
|
|
3, this->stpivalue(i), output);
|
|
}
|
|
|
|
if (!unknown_fields().empty()) {
|
|
::google::protobuf::internal::WireFormat::SerializeUnknownFields(
|
|
unknown_fields(), output);
|
|
}
|
|
// @@protoc_insertion_point(serialize_end:iot_idl.SFesPiValueRespPkg)
|
|
}
|
|
|
|
::google::protobuf::uint8* SFesPiValueRespPkg::SerializeWithCachedSizesToArray(
|
|
::google::protobuf::uint8* target) const {
|
|
// @@protoc_insertion_point(serialize_to_array_start:iot_idl.SFesPiValueRespPkg)
|
|
// required .iot_idl.SFesRealPkgHead stHead = 1;
|
|
if (has_sthead()) {
|
|
target = ::google::protobuf::internal::WireFormatLite::
|
|
WriteMessageNoVirtualToArray(
|
|
1, this->sthead(), target);
|
|
}
|
|
|
|
// required int32 nRtuNo = 2;
|
|
if (has_nrtuno()) {
|
|
target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->nrtuno(), target);
|
|
}
|
|
|
|
// repeated .iot_idl.SFesPiValue stPiValue = 3;
|
|
for (int i = 0; i < this->stpivalue_size(); i++) {
|
|
target = ::google::protobuf::internal::WireFormatLite::
|
|
WriteMessageNoVirtualToArray(
|
|
3, this->stpivalue(i), target);
|
|
}
|
|
|
|
if (!unknown_fields().empty()) {
|
|
target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
|
|
unknown_fields(), target);
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_end:iot_idl.SFesPiValueRespPkg)
|
|
return target;
|
|
}
|
|
|
|
int SFesPiValueRespPkg::ByteSize() const {
|
|
int total_size = 0;
|
|
|
|
if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
|
|
// required .iot_idl.SFesRealPkgHead stHead = 1;
|
|
if (has_sthead()) {
|
|
total_size += 1 +
|
|
::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
|
|
this->sthead());
|
|
}
|
|
|
|
// required int32 nRtuNo = 2;
|
|
if (has_nrtuno()) {
|
|
total_size += 1 +
|
|
::google::protobuf::internal::WireFormatLite::Int32Size(
|
|
this->nrtuno());
|
|
}
|
|
|
|
}
|
|
// repeated .iot_idl.SFesPiValue stPiValue = 3;
|
|
total_size += 1 * this->stpivalue_size();
|
|
for (int i = 0; i < this->stpivalue_size(); i++) {
|
|
total_size +=
|
|
::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
|
|
this->stpivalue(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 SFesPiValueRespPkg::MergeFrom(const ::google::protobuf::Message& from) {
|
|
GOOGLE_CHECK_NE(&from, this);
|
|
const SFesPiValueRespPkg* source =
|
|
::google::protobuf::internal::dynamic_cast_if_available<const SFesPiValueRespPkg*>(
|
|
&from);
|
|
if (source == NULL) {
|
|
::google::protobuf::internal::ReflectionOps::Merge(from, this);
|
|
} else {
|
|
MergeFrom(*source);
|
|
}
|
|
}
|
|
|
|
void SFesPiValueRespPkg::MergeFrom(const SFesPiValueRespPkg& from) {
|
|
GOOGLE_CHECK_NE(&from, this);
|
|
stpivalue_.MergeFrom(from.stpivalue_);
|
|
if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
|
|
if (from.has_sthead()) {
|
|
mutable_sthead()->::iot_idl::SFesRealPkgHead::MergeFrom(from.sthead());
|
|
}
|
|
if (from.has_nrtuno()) {
|
|
set_nrtuno(from.nrtuno());
|
|
}
|
|
}
|
|
mutable_unknown_fields()->MergeFrom(from.unknown_fields());
|
|
}
|
|
|
|
void SFesPiValueRespPkg::CopyFrom(const ::google::protobuf::Message& from) {
|
|
if (&from == this) return;
|
|
Clear();
|
|
MergeFrom(from);
|
|
}
|
|
|
|
void SFesPiValueRespPkg::CopyFrom(const SFesPiValueRespPkg& from) {
|
|
if (&from == this) return;
|
|
Clear();
|
|
MergeFrom(from);
|
|
}
|
|
|
|
bool SFesPiValueRespPkg::IsInitialized() const {
|
|
if ((_has_bits_[0] & 0x00000003) != 0x00000003) return false;
|
|
|
|
if (has_sthead()) {
|
|
if (!this->sthead().IsInitialized()) return false;
|
|
}
|
|
if (!::google::protobuf::internal::AllAreInitialized(this->stpivalue())) return false;
|
|
return true;
|
|
}
|
|
|
|
void SFesPiValueRespPkg::Swap(SFesPiValueRespPkg* other) {
|
|
if (other != this) {
|
|
std::swap(sthead_, other->sthead_);
|
|
std::swap(nrtuno_, other->nrtuno_);
|
|
stpivalue_.Swap(&other->stpivalue_);
|
|
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 SFesPiValueRespPkg::GetMetadata() const {
|
|
protobuf_AssignDescriptorsOnce();
|
|
::google::protobuf::Metadata metadata;
|
|
metadata.descriptor = SFesPiValueRespPkg_descriptor_;
|
|
metadata.reflection = SFesPiValueRespPkg_reflection_;
|
|
return metadata;
|
|
}
|
|
|
|
|
|
// ===================================================================
|
|
|
|
#ifndef _MSC_VER
|
|
const int SFesMiValueRespPkg::kStHeadFieldNumber;
|
|
const int SFesMiValueRespPkg::kNRtuNoFieldNumber;
|
|
const int SFesMiValueRespPkg::kStMiValueFieldNumber;
|
|
#endif // !_MSC_VER
|
|
|
|
SFesMiValueRespPkg::SFesMiValueRespPkg()
|
|
: ::google::protobuf::Message() {
|
|
SharedCtor();
|
|
// @@protoc_insertion_point(constructor:iot_idl.SFesMiValueRespPkg)
|
|
}
|
|
|
|
void SFesMiValueRespPkg::InitAsDefaultInstance() {
|
|
sthead_ = const_cast< ::iot_idl::SFesRealPkgHead*>(&::iot_idl::SFesRealPkgHead::default_instance());
|
|
}
|
|
|
|
SFesMiValueRespPkg::SFesMiValueRespPkg(const SFesMiValueRespPkg& from)
|
|
: ::google::protobuf::Message() {
|
|
SharedCtor();
|
|
MergeFrom(from);
|
|
// @@protoc_insertion_point(copy_constructor:iot_idl.SFesMiValueRespPkg)
|
|
}
|
|
|
|
void SFesMiValueRespPkg::SharedCtor() {
|
|
_cached_size_ = 0;
|
|
sthead_ = NULL;
|
|
nrtuno_ = 0;
|
|
::memset(_has_bits_, 0, sizeof(_has_bits_));
|
|
}
|
|
|
|
SFesMiValueRespPkg::~SFesMiValueRespPkg() {
|
|
// @@protoc_insertion_point(destructor:iot_idl.SFesMiValueRespPkg)
|
|
SharedDtor();
|
|
}
|
|
|
|
void SFesMiValueRespPkg::SharedDtor() {
|
|
if (this != default_instance_) {
|
|
delete sthead_;
|
|
}
|
|
}
|
|
|
|
void SFesMiValueRespPkg::SetCachedSize(int size) const {
|
|
GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
|
|
_cached_size_ = size;
|
|
GOOGLE_SAFE_CONCURRENT_WRITES_END();
|
|
}
|
|
const ::google::protobuf::Descriptor* SFesMiValueRespPkg::descriptor() {
|
|
protobuf_AssignDescriptorsOnce();
|
|
return SFesMiValueRespPkg_descriptor_;
|
|
}
|
|
|
|
const SFesMiValueRespPkg& SFesMiValueRespPkg::default_instance() {
|
|
if (default_instance_ == NULL) protobuf_AddDesc_FesMessage_2eproto();
|
|
return *default_instance_;
|
|
}
|
|
|
|
SFesMiValueRespPkg* SFesMiValueRespPkg::default_instance_ = NULL;
|
|
|
|
SFesMiValueRespPkg* SFesMiValueRespPkg::New() const {
|
|
return new SFesMiValueRespPkg;
|
|
}
|
|
|
|
void SFesMiValueRespPkg::Clear() {
|
|
if (_has_bits_[0 / 32] & 3) {
|
|
if (has_sthead()) {
|
|
if (sthead_ != NULL) sthead_->::iot_idl::SFesRealPkgHead::Clear();
|
|
}
|
|
nrtuno_ = 0;
|
|
}
|
|
stmivalue_.Clear();
|
|
::memset(_has_bits_, 0, sizeof(_has_bits_));
|
|
mutable_unknown_fields()->Clear();
|
|
}
|
|
|
|
bool SFesMiValueRespPkg::MergePartialFromCodedStream(
|
|
::google::protobuf::io::CodedInputStream* input) {
|
|
#define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
|
|
::google::protobuf::uint32 tag;
|
|
// @@protoc_insertion_point(parse_start:iot_idl.SFesMiValueRespPkg)
|
|
for (;;) {
|
|
::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
|
|
tag = p.first;
|
|
if (!p.second) goto handle_unusual;
|
|
switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
|
|
// required .iot_idl.SFesRealPkgHead stHead = 1;
|
|
case 1: {
|
|
if (tag == 10) {
|
|
DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
|
|
input, mutable_sthead()));
|
|
} else {
|
|
goto handle_unusual;
|
|
}
|
|
if (input->ExpectTag(16)) goto parse_nRtuNo;
|
|
break;
|
|
}
|
|
|
|
// required int32 nRtuNo = 2;
|
|
case 2: {
|
|
if (tag == 16) {
|
|
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(26)) goto parse_stMiValue;
|
|
break;
|
|
}
|
|
|
|
// repeated .iot_idl.SFesMiValue stMiValue = 3;
|
|
case 3: {
|
|
if (tag == 26) {
|
|
parse_stMiValue:
|
|
DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
|
|
input, add_stmivalue()));
|
|
} else {
|
|
goto handle_unusual;
|
|
}
|
|
if (input->ExpectTag(26)) goto parse_stMiValue;
|
|
if (input->ExpectAtEnd()) goto success;
|
|
break;
|
|
}
|
|
|
|
default: {
|
|
handle_unusual:
|
|
if (tag == 0 ||
|
|
::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
|
|
::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
|
|
goto success;
|
|
}
|
|
DO_(::google::protobuf::internal::WireFormat::SkipField(
|
|
input, tag, mutable_unknown_fields()));
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
success:
|
|
// @@protoc_insertion_point(parse_success:iot_idl.SFesMiValueRespPkg)
|
|
return true;
|
|
failure:
|
|
// @@protoc_insertion_point(parse_failure:iot_idl.SFesMiValueRespPkg)
|
|
return false;
|
|
#undef DO_
|
|
}
|
|
|
|
void SFesMiValueRespPkg::SerializeWithCachedSizes(
|
|
::google::protobuf::io::CodedOutputStream* output) const {
|
|
// @@protoc_insertion_point(serialize_start:iot_idl.SFesMiValueRespPkg)
|
|
// required .iot_idl.SFesRealPkgHead stHead = 1;
|
|
if (has_sthead()) {
|
|
::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
|
|
1, this->sthead(), output);
|
|
}
|
|
|
|
// required int32 nRtuNo = 2;
|
|
if (has_nrtuno()) {
|
|
::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->nrtuno(), output);
|
|
}
|
|
|
|
// repeated .iot_idl.SFesMiValue stMiValue = 3;
|
|
for (int i = 0; i < this->stmivalue_size(); i++) {
|
|
::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
|
|
3, this->stmivalue(i), output);
|
|
}
|
|
|
|
if (!unknown_fields().empty()) {
|
|
::google::protobuf::internal::WireFormat::SerializeUnknownFields(
|
|
unknown_fields(), output);
|
|
}
|
|
// @@protoc_insertion_point(serialize_end:iot_idl.SFesMiValueRespPkg)
|
|
}
|
|
|
|
::google::protobuf::uint8* SFesMiValueRespPkg::SerializeWithCachedSizesToArray(
|
|
::google::protobuf::uint8* target) const {
|
|
// @@protoc_insertion_point(serialize_to_array_start:iot_idl.SFesMiValueRespPkg)
|
|
// required .iot_idl.SFesRealPkgHead stHead = 1;
|
|
if (has_sthead()) {
|
|
target = ::google::protobuf::internal::WireFormatLite::
|
|
WriteMessageNoVirtualToArray(
|
|
1, this->sthead(), target);
|
|
}
|
|
|
|
// required int32 nRtuNo = 2;
|
|
if (has_nrtuno()) {
|
|
target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->nrtuno(), target);
|
|
}
|
|
|
|
// repeated .iot_idl.SFesMiValue stMiValue = 3;
|
|
for (int i = 0; i < this->stmivalue_size(); i++) {
|
|
target = ::google::protobuf::internal::WireFormatLite::
|
|
WriteMessageNoVirtualToArray(
|
|
3, this->stmivalue(i), target);
|
|
}
|
|
|
|
if (!unknown_fields().empty()) {
|
|
target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
|
|
unknown_fields(), target);
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_end:iot_idl.SFesMiValueRespPkg)
|
|
return target;
|
|
}
|
|
|
|
int SFesMiValueRespPkg::ByteSize() const {
|
|
int total_size = 0;
|
|
|
|
if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
|
|
// required .iot_idl.SFesRealPkgHead stHead = 1;
|
|
if (has_sthead()) {
|
|
total_size += 1 +
|
|
::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
|
|
this->sthead());
|
|
}
|
|
|
|
// required int32 nRtuNo = 2;
|
|
if (has_nrtuno()) {
|
|
total_size += 1 +
|
|
::google::protobuf::internal::WireFormatLite::Int32Size(
|
|
this->nrtuno());
|
|
}
|
|
|
|
}
|
|
// repeated .iot_idl.SFesMiValue stMiValue = 3;
|
|
total_size += 1 * this->stmivalue_size();
|
|
for (int i = 0; i < this->stmivalue_size(); i++) {
|
|
total_size +=
|
|
::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
|
|
this->stmivalue(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 SFesMiValueRespPkg::MergeFrom(const ::google::protobuf::Message& from) {
|
|
GOOGLE_CHECK_NE(&from, this);
|
|
const SFesMiValueRespPkg* source =
|
|
::google::protobuf::internal::dynamic_cast_if_available<const SFesMiValueRespPkg*>(
|
|
&from);
|
|
if (source == NULL) {
|
|
::google::protobuf::internal::ReflectionOps::Merge(from, this);
|
|
} else {
|
|
MergeFrom(*source);
|
|
}
|
|
}
|
|
|
|
void SFesMiValueRespPkg::MergeFrom(const SFesMiValueRespPkg& from) {
|
|
GOOGLE_CHECK_NE(&from, this);
|
|
stmivalue_.MergeFrom(from.stmivalue_);
|
|
if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
|
|
if (from.has_sthead()) {
|
|
mutable_sthead()->::iot_idl::SFesRealPkgHead::MergeFrom(from.sthead());
|
|
}
|
|
if (from.has_nrtuno()) {
|
|
set_nrtuno(from.nrtuno());
|
|
}
|
|
}
|
|
mutable_unknown_fields()->MergeFrom(from.unknown_fields());
|
|
}
|
|
|
|
void SFesMiValueRespPkg::CopyFrom(const ::google::protobuf::Message& from) {
|
|
if (&from == this) return;
|
|
Clear();
|
|
MergeFrom(from);
|
|
}
|
|
|
|
void SFesMiValueRespPkg::CopyFrom(const SFesMiValueRespPkg& from) {
|
|
if (&from == this) return;
|
|
Clear();
|
|
MergeFrom(from);
|
|
}
|
|
|
|
bool SFesMiValueRespPkg::IsInitialized() const {
|
|
if ((_has_bits_[0] & 0x00000003) != 0x00000003) return false;
|
|
|
|
if (has_sthead()) {
|
|
if (!this->sthead().IsInitialized()) return false;
|
|
}
|
|
if (!::google::protobuf::internal::AllAreInitialized(this->stmivalue())) return false;
|
|
return true;
|
|
}
|
|
|
|
void SFesMiValueRespPkg::Swap(SFesMiValueRespPkg* other) {
|
|
if (other != this) {
|
|
std::swap(sthead_, other->sthead_);
|
|
std::swap(nrtuno_, other->nrtuno_);
|
|
stmivalue_.Swap(&other->stmivalue_);
|
|
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 SFesMiValueRespPkg::GetMetadata() const {
|
|
protobuf_AssignDescriptorsOnce();
|
|
::google::protobuf::Metadata metadata;
|
|
metadata.descriptor = SFesMiValueRespPkg_descriptor_;
|
|
metadata.reflection = SFesMiValueRespPkg_reflection_;
|
|
return metadata;
|
|
}
|
|
|
|
|
|
// ===================================================================
|
|
|
|
#ifndef _MSC_VER
|
|
const int SFesVirtualData::kStrRtuTagFieldNumber;
|
|
const int SFesVirtualData::kStrPointTagFieldNumber;
|
|
const int SFesVirtualData::kNPointTypeFieldNumber;
|
|
const int SFesVirtualData::kNOrderFieldNumber;
|
|
const int SFesVirtualData::kFValueFieldNumber;
|
|
const int SFesVirtualData::kUlTimeFieldNumber;
|
|
#endif // !_MSC_VER
|
|
|
|
SFesVirtualData::SFesVirtualData()
|
|
: ::google::protobuf::Message() {
|
|
SharedCtor();
|
|
// @@protoc_insertion_point(constructor:iot_idl.SFesVirtualData)
|
|
}
|
|
|
|
void SFesVirtualData::InitAsDefaultInstance() {
|
|
}
|
|
|
|
SFesVirtualData::SFesVirtualData(const SFesVirtualData& from)
|
|
: ::google::protobuf::Message() {
|
|
SharedCtor();
|
|
MergeFrom(from);
|
|
// @@protoc_insertion_point(copy_constructor:iot_idl.SFesVirtualData)
|
|
}
|
|
|
|
void SFesVirtualData::SharedCtor() {
|
|
::google::protobuf::internal::GetEmptyString();
|
|
_cached_size_ = 0;
|
|
strrtutag_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
strpointtag_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
npointtype_ = 0;
|
|
norder_ = 0;
|
|
fvalue_ = 0;
|
|
ultime_ = GOOGLE_ULONGLONG(0);
|
|
::memset(_has_bits_, 0, sizeof(_has_bits_));
|
|
}
|
|
|
|
SFesVirtualData::~SFesVirtualData() {
|
|
// @@protoc_insertion_point(destructor:iot_idl.SFesVirtualData)
|
|
SharedDtor();
|
|
}
|
|
|
|
void SFesVirtualData::SharedDtor() {
|
|
if (strrtutag_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
|
|
delete strrtutag_;
|
|
}
|
|
if (strpointtag_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
|
|
delete strpointtag_;
|
|
}
|
|
if (this != default_instance_) {
|
|
}
|
|
}
|
|
|
|
void SFesVirtualData::SetCachedSize(int size) const {
|
|
GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
|
|
_cached_size_ = size;
|
|
GOOGLE_SAFE_CONCURRENT_WRITES_END();
|
|
}
|
|
const ::google::protobuf::Descriptor* SFesVirtualData::descriptor() {
|
|
protobuf_AssignDescriptorsOnce();
|
|
return SFesVirtualData_descriptor_;
|
|
}
|
|
|
|
const SFesVirtualData& SFesVirtualData::default_instance() {
|
|
if (default_instance_ == NULL) protobuf_AddDesc_FesMessage_2eproto();
|
|
return *default_instance_;
|
|
}
|
|
|
|
SFesVirtualData* SFesVirtualData::default_instance_ = NULL;
|
|
|
|
SFesVirtualData* SFesVirtualData::New() const {
|
|
return new SFesVirtualData;
|
|
}
|
|
|
|
void SFesVirtualData::Clear() {
|
|
#define OFFSET_OF_FIELD_(f) (reinterpret_cast<char*>( \
|
|
&reinterpret_cast<SFesVirtualData*>(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] & 63) {
|
|
ZR_(npointtype_, fvalue_);
|
|
if (has_strrtutag()) {
|
|
if (strrtutag_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
|
|
strrtutag_->clear();
|
|
}
|
|
}
|
|
if (has_strpointtag()) {
|
|
if (strpointtag_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
|
|
strpointtag_->clear();
|
|
}
|
|
}
|
|
}
|
|
|
|
#undef OFFSET_OF_FIELD_
|
|
#undef ZR_
|
|
|
|
::memset(_has_bits_, 0, sizeof(_has_bits_));
|
|
mutable_unknown_fields()->Clear();
|
|
}
|
|
|
|
bool SFesVirtualData::MergePartialFromCodedStream(
|
|
::google::protobuf::io::CodedInputStream* input) {
|
|
#define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
|
|
::google::protobuf::uint32 tag;
|
|
// @@protoc_insertion_point(parse_start:iot_idl.SFesVirtualData)
|
|
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 strRtuTag = 1;
|
|
case 1: {
|
|
if (tag == 10) {
|
|
DO_(::google::protobuf::internal::WireFormatLite::ReadString(
|
|
input, this->mutable_strrtutag()));
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
|
|
this->strrtutag().data(), this->strrtutag().length(),
|
|
::google::protobuf::internal::WireFormat::PARSE,
|
|
"strrtutag");
|
|
} else {
|
|
goto handle_unusual;
|
|
}
|
|
if (input->ExpectTag(18)) goto parse_strPointTag;
|
|
break;
|
|
}
|
|
|
|
// required string strPointTag = 2;
|
|
case 2: {
|
|
if (tag == 18) {
|
|
parse_strPointTag:
|
|
DO_(::google::protobuf::internal::WireFormatLite::ReadString(
|
|
input, this->mutable_strpointtag()));
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
|
|
this->strpointtag().data(), this->strpointtag().length(),
|
|
::google::protobuf::internal::WireFormat::PARSE,
|
|
"strpointtag");
|
|
} else {
|
|
goto handle_unusual;
|
|
}
|
|
if (input->ExpectTag(24)) goto parse_nPointType;
|
|
break;
|
|
}
|
|
|
|
// required int32 nPointType = 3;
|
|
case 3: {
|
|
if (tag == 24) {
|
|
parse_nPointType:
|
|
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
|
|
::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
|
|
input, &npointtype_)));
|
|
set_has_npointtype();
|
|
} else {
|
|
goto handle_unusual;
|
|
}
|
|
if (input->ExpectTag(32)) goto parse_nOrder;
|
|
break;
|
|
}
|
|
|
|
// required int32 nOrder = 4;
|
|
case 4: {
|
|
if (tag == 32) {
|
|
parse_nOrder:
|
|
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
|
|
::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
|
|
input, &norder_)));
|
|
set_has_norder();
|
|
} else {
|
|
goto handle_unusual;
|
|
}
|
|
if (input->ExpectTag(45)) goto parse_fValue;
|
|
break;
|
|
}
|
|
|
|
// required float fValue = 5;
|
|
case 5: {
|
|
if (tag == 45) {
|
|
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(48)) goto parse_ulTime;
|
|
break;
|
|
}
|
|
|
|
// required uint64 ulTime = 6;
|
|
case 6: {
|
|
if (tag == 48) {
|
|
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:
|
|
// @@protoc_insertion_point(parse_success:iot_idl.SFesVirtualData)
|
|
return true;
|
|
failure:
|
|
// @@protoc_insertion_point(parse_failure:iot_idl.SFesVirtualData)
|
|
return false;
|
|
#undef DO_
|
|
}
|
|
|
|
void SFesVirtualData::SerializeWithCachedSizes(
|
|
::google::protobuf::io::CodedOutputStream* output) const {
|
|
// @@protoc_insertion_point(serialize_start:iot_idl.SFesVirtualData)
|
|
// required string strRtuTag = 1;
|
|
if (has_strrtutag()) {
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
|
|
this->strrtutag().data(), this->strrtutag().length(),
|
|
::google::protobuf::internal::WireFormat::SERIALIZE,
|
|
"strrtutag");
|
|
::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
|
|
1, this->strrtutag(), output);
|
|
}
|
|
|
|
// required string strPointTag = 2;
|
|
if (has_strpointtag()) {
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
|
|
this->strpointtag().data(), this->strpointtag().length(),
|
|
::google::protobuf::internal::WireFormat::SERIALIZE,
|
|
"strpointtag");
|
|
::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
|
|
2, this->strpointtag(), output);
|
|
}
|
|
|
|
// required int32 nPointType = 3;
|
|
if (has_npointtype()) {
|
|
::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->npointtype(), output);
|
|
}
|
|
|
|
// required int32 nOrder = 4;
|
|
if (has_norder()) {
|
|
::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->norder(), output);
|
|
}
|
|
|
|
// required float fValue = 5;
|
|
if (has_fvalue()) {
|
|
::google::protobuf::internal::WireFormatLite::WriteFloat(5, this->fvalue(), output);
|
|
}
|
|
|
|
// required uint64 ulTime = 6;
|
|
if (has_ultime()) {
|
|
::google::protobuf::internal::WireFormatLite::WriteUInt64(6, this->ultime(), output);
|
|
}
|
|
|
|
if (!unknown_fields().empty()) {
|
|
::google::protobuf::internal::WireFormat::SerializeUnknownFields(
|
|
unknown_fields(), output);
|
|
}
|
|
// @@protoc_insertion_point(serialize_end:iot_idl.SFesVirtualData)
|
|
}
|
|
|
|
::google::protobuf::uint8* SFesVirtualData::SerializeWithCachedSizesToArray(
|
|
::google::protobuf::uint8* target) const {
|
|
// @@protoc_insertion_point(serialize_to_array_start:iot_idl.SFesVirtualData)
|
|
// required string strRtuTag = 1;
|
|
if (has_strrtutag()) {
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
|
|
this->strrtutag().data(), this->strrtutag().length(),
|
|
::google::protobuf::internal::WireFormat::SERIALIZE,
|
|
"strrtutag");
|
|
target =
|
|
::google::protobuf::internal::WireFormatLite::WriteStringToArray(
|
|
1, this->strrtutag(), target);
|
|
}
|
|
|
|
// required string strPointTag = 2;
|
|
if (has_strpointtag()) {
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
|
|
this->strpointtag().data(), this->strpointtag().length(),
|
|
::google::protobuf::internal::WireFormat::SERIALIZE,
|
|
"strpointtag");
|
|
target =
|
|
::google::protobuf::internal::WireFormatLite::WriteStringToArray(
|
|
2, this->strpointtag(), target);
|
|
}
|
|
|
|
// required int32 nPointType = 3;
|
|
if (has_npointtype()) {
|
|
target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->npointtype(), target);
|
|
}
|
|
|
|
// required int32 nOrder = 4;
|
|
if (has_norder()) {
|
|
target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->norder(), target);
|
|
}
|
|
|
|
// required float fValue = 5;
|
|
if (has_fvalue()) {
|
|
target = ::google::protobuf::internal::WireFormatLite::WriteFloatToArray(5, this->fvalue(), target);
|
|
}
|
|
|
|
// required uint64 ulTime = 6;
|
|
if (has_ultime()) {
|
|
target = ::google::protobuf::internal::WireFormatLite::WriteUInt64ToArray(6, this->ultime(), target);
|
|
}
|
|
|
|
if (!unknown_fields().empty()) {
|
|
target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
|
|
unknown_fields(), target);
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_end:iot_idl.SFesVirtualData)
|
|
return target;
|
|
}
|
|
|
|
int SFesVirtualData::ByteSize() const {
|
|
int total_size = 0;
|
|
|
|
if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
|
|
// required string strRtuTag = 1;
|
|
if (has_strrtutag()) {
|
|
total_size += 1 +
|
|
::google::protobuf::internal::WireFormatLite::StringSize(
|
|
this->strrtutag());
|
|
}
|
|
|
|
// required string strPointTag = 2;
|
|
if (has_strpointtag()) {
|
|
total_size += 1 +
|
|
::google::protobuf::internal::WireFormatLite::StringSize(
|
|
this->strpointtag());
|
|
}
|
|
|
|
// required int32 nPointType = 3;
|
|
if (has_npointtype()) {
|
|
total_size += 1 +
|
|
::google::protobuf::internal::WireFormatLite::Int32Size(
|
|
this->npointtype());
|
|
}
|
|
|
|
// required int32 nOrder = 4;
|
|
if (has_norder()) {
|
|
total_size += 1 +
|
|
::google::protobuf::internal::WireFormatLite::Int32Size(
|
|
this->norder());
|
|
}
|
|
|
|
// required float fValue = 5;
|
|
if (has_fvalue()) {
|
|
total_size += 1 + 4;
|
|
}
|
|
|
|
// required uint64 ulTime = 6;
|
|
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 SFesVirtualData::MergeFrom(const ::google::protobuf::Message& from) {
|
|
GOOGLE_CHECK_NE(&from, this);
|
|
const SFesVirtualData* source =
|
|
::google::protobuf::internal::dynamic_cast_if_available<const SFesVirtualData*>(
|
|
&from);
|
|
if (source == NULL) {
|
|
::google::protobuf::internal::ReflectionOps::Merge(from, this);
|
|
} else {
|
|
MergeFrom(*source);
|
|
}
|
|
}
|
|
|
|
void SFesVirtualData::MergeFrom(const SFesVirtualData& from) {
|
|
GOOGLE_CHECK_NE(&from, this);
|
|
if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
|
|
if (from.has_strrtutag()) {
|
|
set_strrtutag(from.strrtutag());
|
|
}
|
|
if (from.has_strpointtag()) {
|
|
set_strpointtag(from.strpointtag());
|
|
}
|
|
if (from.has_npointtype()) {
|
|
set_npointtype(from.npointtype());
|
|
}
|
|
if (from.has_norder()) {
|
|
set_norder(from.norder());
|
|
}
|
|
if (from.has_fvalue()) {
|
|
set_fvalue(from.fvalue());
|
|
}
|
|
if (from.has_ultime()) {
|
|
set_ultime(from.ultime());
|
|
}
|
|
}
|
|
mutable_unknown_fields()->MergeFrom(from.unknown_fields());
|
|
}
|
|
|
|
void SFesVirtualData::CopyFrom(const ::google::protobuf::Message& from) {
|
|
if (&from == this) return;
|
|
Clear();
|
|
MergeFrom(from);
|
|
}
|
|
|
|
void SFesVirtualData::CopyFrom(const SFesVirtualData& from) {
|
|
if (&from == this) return;
|
|
Clear();
|
|
MergeFrom(from);
|
|
}
|
|
|
|
bool SFesVirtualData::IsInitialized() const {
|
|
if ((_has_bits_[0] & 0x0000003f) != 0x0000003f) return false;
|
|
|
|
return true;
|
|
}
|
|
|
|
void SFesVirtualData::Swap(SFesVirtualData* other) {
|
|
if (other != this) {
|
|
std::swap(strrtutag_, other->strrtutag_);
|
|
std::swap(strpointtag_, other->strpointtag_);
|
|
std::swap(npointtype_, other->npointtype_);
|
|
std::swap(norder_, other->norder_);
|
|
std::swap(fvalue_, other->fvalue_);
|
|
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 SFesVirtualData::GetMetadata() const {
|
|
protobuf_AssignDescriptorsOnce();
|
|
::google::protobuf::Metadata metadata;
|
|
metadata.descriptor = SFesVirtualData_descriptor_;
|
|
metadata.reflection = SFesVirtualData_reflection_;
|
|
return metadata;
|
|
}
|
|
|
|
|
|
// ===================================================================
|
|
|
|
#ifndef _MSC_VER
|
|
const int SFesChangeVirtualDataPkg::kStHeadFieldNumber;
|
|
const int SFesChangeVirtualDataPkg::kStDataFieldNumber;
|
|
#endif // !_MSC_VER
|
|
|
|
SFesChangeVirtualDataPkg::SFesChangeVirtualDataPkg()
|
|
: ::google::protobuf::Message() {
|
|
SharedCtor();
|
|
// @@protoc_insertion_point(constructor:iot_idl.SFesChangeVirtualDataPkg)
|
|
}
|
|
|
|
void SFesChangeVirtualDataPkg::InitAsDefaultInstance() {
|
|
sthead_ = const_cast< ::iot_idl::SFesRealPkgHead*>(&::iot_idl::SFesRealPkgHead::default_instance());
|
|
}
|
|
|
|
SFesChangeVirtualDataPkg::SFesChangeVirtualDataPkg(const SFesChangeVirtualDataPkg& from)
|
|
: ::google::protobuf::Message() {
|
|
SharedCtor();
|
|
MergeFrom(from);
|
|
// @@protoc_insertion_point(copy_constructor:iot_idl.SFesChangeVirtualDataPkg)
|
|
}
|
|
|
|
void SFesChangeVirtualDataPkg::SharedCtor() {
|
|
_cached_size_ = 0;
|
|
sthead_ = NULL;
|
|
::memset(_has_bits_, 0, sizeof(_has_bits_));
|
|
}
|
|
|
|
SFesChangeVirtualDataPkg::~SFesChangeVirtualDataPkg() {
|
|
// @@protoc_insertion_point(destructor:iot_idl.SFesChangeVirtualDataPkg)
|
|
SharedDtor();
|
|
}
|
|
|
|
void SFesChangeVirtualDataPkg::SharedDtor() {
|
|
if (this != default_instance_) {
|
|
delete sthead_;
|
|
}
|
|
}
|
|
|
|
void SFesChangeVirtualDataPkg::SetCachedSize(int size) const {
|
|
GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
|
|
_cached_size_ = size;
|
|
GOOGLE_SAFE_CONCURRENT_WRITES_END();
|
|
}
|
|
const ::google::protobuf::Descriptor* SFesChangeVirtualDataPkg::descriptor() {
|
|
protobuf_AssignDescriptorsOnce();
|
|
return SFesChangeVirtualDataPkg_descriptor_;
|
|
}
|
|
|
|
const SFesChangeVirtualDataPkg& SFesChangeVirtualDataPkg::default_instance() {
|
|
if (default_instance_ == NULL) protobuf_AddDesc_FesMessage_2eproto();
|
|
return *default_instance_;
|
|
}
|
|
|
|
SFesChangeVirtualDataPkg* SFesChangeVirtualDataPkg::default_instance_ = NULL;
|
|
|
|
SFesChangeVirtualDataPkg* SFesChangeVirtualDataPkg::New() const {
|
|
return new SFesChangeVirtualDataPkg;
|
|
}
|
|
|
|
void SFesChangeVirtualDataPkg::Clear() {
|
|
if (has_sthead()) {
|
|
if (sthead_ != NULL) sthead_->::iot_idl::SFesRealPkgHead::Clear();
|
|
}
|
|
stdata_.Clear();
|
|
::memset(_has_bits_, 0, sizeof(_has_bits_));
|
|
mutable_unknown_fields()->Clear();
|
|
}
|
|
|
|
bool SFesChangeVirtualDataPkg::MergePartialFromCodedStream(
|
|
::google::protobuf::io::CodedInputStream* input) {
|
|
#define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
|
|
::google::protobuf::uint32 tag;
|
|
// @@protoc_insertion_point(parse_start:iot_idl.SFesChangeVirtualDataPkg)
|
|
for (;;) {
|
|
::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
|
|
tag = p.first;
|
|
if (!p.second) goto handle_unusual;
|
|
switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
|
|
// required .iot_idl.SFesRealPkgHead stHead = 1;
|
|
case 1: {
|
|
if (tag == 10) {
|
|
DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
|
|
input, mutable_sthead()));
|
|
} else {
|
|
goto handle_unusual;
|
|
}
|
|
if (input->ExpectTag(18)) goto parse_stData;
|
|
break;
|
|
}
|
|
|
|
// repeated .iot_idl.SFesVirtualData stData = 2;
|
|
case 2: {
|
|
if (tag == 18) {
|
|
parse_stData:
|
|
DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
|
|
input, add_stdata()));
|
|
} else {
|
|
goto handle_unusual;
|
|
}
|
|
if (input->ExpectTag(18)) goto parse_stData;
|
|
if (input->ExpectAtEnd()) goto success;
|
|
break;
|
|
}
|
|
|
|
default: {
|
|
handle_unusual:
|
|
if (tag == 0 ||
|
|
::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
|
|
::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
|
|
goto success;
|
|
}
|
|
DO_(::google::protobuf::internal::WireFormat::SkipField(
|
|
input, tag, mutable_unknown_fields()));
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
success:
|
|
// @@protoc_insertion_point(parse_success:iot_idl.SFesChangeVirtualDataPkg)
|
|
return true;
|
|
failure:
|
|
// @@protoc_insertion_point(parse_failure:iot_idl.SFesChangeVirtualDataPkg)
|
|
return false;
|
|
#undef DO_
|
|
}
|
|
|
|
void SFesChangeVirtualDataPkg::SerializeWithCachedSizes(
|
|
::google::protobuf::io::CodedOutputStream* output) const {
|
|
// @@protoc_insertion_point(serialize_start:iot_idl.SFesChangeVirtualDataPkg)
|
|
// required .iot_idl.SFesRealPkgHead stHead = 1;
|
|
if (has_sthead()) {
|
|
::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
|
|
1, this->sthead(), output);
|
|
}
|
|
|
|
// repeated .iot_idl.SFesVirtualData stData = 2;
|
|
for (int i = 0; i < this->stdata_size(); i++) {
|
|
::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
|
|
2, this->stdata(i), output);
|
|
}
|
|
|
|
if (!unknown_fields().empty()) {
|
|
::google::protobuf::internal::WireFormat::SerializeUnknownFields(
|
|
unknown_fields(), output);
|
|
}
|
|
// @@protoc_insertion_point(serialize_end:iot_idl.SFesChangeVirtualDataPkg)
|
|
}
|
|
|
|
::google::protobuf::uint8* SFesChangeVirtualDataPkg::SerializeWithCachedSizesToArray(
|
|
::google::protobuf::uint8* target) const {
|
|
// @@protoc_insertion_point(serialize_to_array_start:iot_idl.SFesChangeVirtualDataPkg)
|
|
// required .iot_idl.SFesRealPkgHead stHead = 1;
|
|
if (has_sthead()) {
|
|
target = ::google::protobuf::internal::WireFormatLite::
|
|
WriteMessageNoVirtualToArray(
|
|
1, this->sthead(), target);
|
|
}
|
|
|
|
// repeated .iot_idl.SFesVirtualData stData = 2;
|
|
for (int i = 0; i < this->stdata_size(); i++) {
|
|
target = ::google::protobuf::internal::WireFormatLite::
|
|
WriteMessageNoVirtualToArray(
|
|
2, this->stdata(i), target);
|
|
}
|
|
|
|
if (!unknown_fields().empty()) {
|
|
target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
|
|
unknown_fields(), target);
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_end:iot_idl.SFesChangeVirtualDataPkg)
|
|
return target;
|
|
}
|
|
|
|
int SFesChangeVirtualDataPkg::ByteSize() const {
|
|
int total_size = 0;
|
|
|
|
if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
|
|
// required .iot_idl.SFesRealPkgHead stHead = 1;
|
|
if (has_sthead()) {
|
|
total_size += 1 +
|
|
::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
|
|
this->sthead());
|
|
}
|
|
|
|
}
|
|
// repeated .iot_idl.SFesVirtualData stData = 2;
|
|
total_size += 1 * this->stdata_size();
|
|
for (int i = 0; i < this->stdata_size(); i++) {
|
|
total_size +=
|
|
::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
|
|
this->stdata(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 SFesChangeVirtualDataPkg::MergeFrom(const ::google::protobuf::Message& from) {
|
|
GOOGLE_CHECK_NE(&from, this);
|
|
const SFesChangeVirtualDataPkg* source =
|
|
::google::protobuf::internal::dynamic_cast_if_available<const SFesChangeVirtualDataPkg*>(
|
|
&from);
|
|
if (source == NULL) {
|
|
::google::protobuf::internal::ReflectionOps::Merge(from, this);
|
|
} else {
|
|
MergeFrom(*source);
|
|
}
|
|
}
|
|
|
|
void SFesChangeVirtualDataPkg::MergeFrom(const SFesChangeVirtualDataPkg& from) {
|
|
GOOGLE_CHECK_NE(&from, this);
|
|
stdata_.MergeFrom(from.stdata_);
|
|
if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
|
|
if (from.has_sthead()) {
|
|
mutable_sthead()->::iot_idl::SFesRealPkgHead::MergeFrom(from.sthead());
|
|
}
|
|
}
|
|
mutable_unknown_fields()->MergeFrom(from.unknown_fields());
|
|
}
|
|
|
|
void SFesChangeVirtualDataPkg::CopyFrom(const ::google::protobuf::Message& from) {
|
|
if (&from == this) return;
|
|
Clear();
|
|
MergeFrom(from);
|
|
}
|
|
|
|
void SFesChangeVirtualDataPkg::CopyFrom(const SFesChangeVirtualDataPkg& from) {
|
|
if (&from == this) return;
|
|
Clear();
|
|
MergeFrom(from);
|
|
}
|
|
|
|
bool SFesChangeVirtualDataPkg::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->stdata())) return false;
|
|
return true;
|
|
}
|
|
|
|
void SFesChangeVirtualDataPkg::Swap(SFesChangeVirtualDataPkg* other) {
|
|
if (other != this) {
|
|
std::swap(sthead_, other->sthead_);
|
|
stdata_.Swap(&other->stdata_);
|
|
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 SFesChangeVirtualDataPkg::GetMetadata() const {
|
|
protobuf_AssignDescriptorsOnce();
|
|
::google::protobuf::Metadata metadata;
|
|
metadata.descriptor = SFesChangeVirtualDataPkg_descriptor_;
|
|
metadata.reflection = SFesChangeVirtualDataPkg_reflection_;
|
|
return metadata;
|
|
}
|
|
|
|
|
|
// @@protoc_insertion_point(namespace_scope)
|
|
|
|
} // namespace iot_idl
|
|
|
|
// @@protoc_insertion_point(global_scope)
|