HM-SPMS/product/src/idl_files/FesDataMessage.pb.h
2025-03-13 11:17:56 +08:00

574 lines
20 KiB
C++

// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: FesDataMessage.proto
#ifndef PROTOBUF_FesDataMessage_2eproto__INCLUDED
#define PROTOBUF_FesDataMessage_2eproto__INCLUDED
#include <string>
#include <google/protobuf/stubs/common.h>
#if GOOGLE_PROTOBUF_VERSION < 2006000
#error This file was generated by a newer version of protoc which is
#error incompatible with your Protocol Buffer headers. Please update
#error your headers.
#endif
#if 2006001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION
#error This file was generated by an older version of protoc which is
#error incompatible with your Protocol Buffer headers. Please
#error regenerate this file with a newer version of protoc.
#endif
#include <google/protobuf/generated_message_util.h>
#include <google/protobuf/message.h>
#include <google/protobuf/repeated_field.h>
#include <google/protobuf/extension_set.h>
#include <google/protobuf/unknown_field_set.h>
// @@protoc_insertion_point(includes)
namespace iot_idl {
// Internal implementation detail -- do not call these.
void IDL_FILES_EXPORT protobuf_AddDesc_FesDataMessage_2eproto();
void protobuf_AssignDesc_FesDataMessage_2eproto();
void protobuf_ShutdownFile_FesDataMessage_2eproto();
class SFesWaveFormPkg;
// ===================================================================
class IDL_FILES_EXPORT SFesWaveFormPkg : public ::google::protobuf::Message {
public:
SFesWaveFormPkg();
virtual ~SFesWaveFormPkg();
SFesWaveFormPkg(const SFesWaveFormPkg& from);
inline SFesWaveFormPkg& operator=(const SFesWaveFormPkg& from) {
CopyFrom(from);
return *this;
}
inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
return _unknown_fields_;
}
inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
return &_unknown_fields_;
}
static const ::google::protobuf::Descriptor* descriptor();
static const SFesWaveFormPkg& default_instance();
void Swap(SFesWaveFormPkg* other);
// implements Message ----------------------------------------------
SFesWaveFormPkg* New() const;
void CopyFrom(const ::google::protobuf::Message& from);
void MergeFrom(const ::google::protobuf::Message& from);
void CopyFrom(const SFesWaveFormPkg& from);
void MergeFrom(const SFesWaveFormPkg& from);
void Clear();
bool IsInitialized() const;
int ByteSize() const;
bool MergePartialFromCodedStream(
::google::protobuf::io::CodedInputStream* input);
void SerializeWithCachedSizes(
::google::protobuf::io::CodedOutputStream* output) const;
::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
int GetCachedSize() const { return _cached_size_; }
private:
void SharedCtor();
void SharedDtor();
void SetCachedSize(int size) const;
public:
::google::protobuf::Metadata GetMetadata() const;
// nested types ----------------------------------------------------
// accessors -------------------------------------------------------
// required string strFesSource = 1;
inline bool has_strfessource() const;
inline void clear_strfessource();
static const int kStrFesSourceFieldNumber = 1;
inline const ::std::string& strfessource() const;
inline void set_strfessource(const ::std::string& value);
inline void set_strfessource(const char* value);
inline void set_strfessource(const char* value, size_t size);
inline ::std::string* mutable_strfessource();
inline ::std::string* release_strfessource();
inline void set_allocated_strfessource(::std::string* strfessource);
// required int32 nPackageType = 2;
inline bool has_npackagetype() const;
inline void clear_npackagetype();
static const int kNPackageTypeFieldNumber = 2;
inline ::google::protobuf::int32 npackagetype() const;
inline void set_npackagetype(::google::protobuf::int32 value);
// required uint64 ulMessageID = 3;
inline bool has_ulmessageid() const;
inline void clear_ulmessageid();
static const int kUlMessageIDFieldNumber = 3;
inline ::google::protobuf::uint64 ulmessageid() const;
inline void set_ulmessageid(::google::protobuf::uint64 value);
// required string strfileName = 4;
inline bool has_strfilename() const;
inline void clear_strfilename();
static const int kStrfileNameFieldNumber = 4;
inline const ::std::string& strfilename() const;
inline void set_strfilename(const ::std::string& value);
inline void set_strfilename(const char* value);
inline void set_strfilename(const char* value, size_t size);
inline ::std::string* mutable_strfilename();
inline ::std::string* release_strfilename();
inline void set_allocated_strfilename(::std::string* strfilename);
// required int32 nFileSize = 5;
inline bool has_nfilesize() const;
inline void clear_nfilesize();
static const int kNFileSizeFieldNumber = 5;
inline ::google::protobuf::int32 nfilesize() const;
inline void set_nfilesize(::google::protobuf::int32 value);
// required int32 nSeqNo = 6;
inline bool has_nseqno() const;
inline void clear_nseqno();
static const int kNSeqNoFieldNumber = 6;
inline ::google::protobuf::int32 nseqno() const;
inline void set_nseqno(::google::protobuf::int32 value);
// required int32 nDataLen = 7;
inline bool has_ndatalen() const;
inline void clear_ndatalen();
static const int kNDataLenFieldNumber = 7;
inline ::google::protobuf::int32 ndatalen() const;
inline void set_ndatalen(::google::protobuf::int32 value);
// required bytes strData = 8;
inline bool has_strdata() const;
inline void clear_strdata();
static const int kStrDataFieldNumber = 8;
inline const ::std::string& strdata() const;
inline void set_strdata(const ::std::string& value);
inline void set_strdata(const char* value);
inline void set_strdata(const void* value, size_t size);
inline ::std::string* mutable_strdata();
inline ::std::string* release_strdata();
inline void set_allocated_strdata(::std::string* strdata);
// @@protoc_insertion_point(class_scope:iot_idl.SFesWaveFormPkg)
private:
inline void set_has_strfessource();
inline void clear_has_strfessource();
inline void set_has_npackagetype();
inline void clear_has_npackagetype();
inline void set_has_ulmessageid();
inline void clear_has_ulmessageid();
inline void set_has_strfilename();
inline void clear_has_strfilename();
inline void set_has_nfilesize();
inline void clear_has_nfilesize();
inline void set_has_nseqno();
inline void clear_has_nseqno();
inline void set_has_ndatalen();
inline void clear_has_ndatalen();
inline void set_has_strdata();
inline void clear_has_strdata();
::google::protobuf::UnknownFieldSet _unknown_fields_;
::google::protobuf::uint32 _has_bits_[1];
mutable int _cached_size_;
::std::string* strfessource_;
::google::protobuf::uint64 ulmessageid_;
::google::protobuf::int32 npackagetype_;
::google::protobuf::int32 nfilesize_;
::std::string* strfilename_;
::google::protobuf::int32 nseqno_;
::google::protobuf::int32 ndatalen_;
::std::string* strdata_;
friend void IDL_FILES_EXPORT protobuf_AddDesc_FesDataMessage_2eproto();
friend void protobuf_AssignDesc_FesDataMessage_2eproto();
friend void protobuf_ShutdownFile_FesDataMessage_2eproto();
void InitAsDefaultInstance();
static SFesWaveFormPkg* default_instance_;
};
// ===================================================================
// ===================================================================
// SFesWaveFormPkg
// required string strFesSource = 1;
inline bool SFesWaveFormPkg::has_strfessource() const {
return (_has_bits_[0] & 0x00000001u) != 0;
}
inline void SFesWaveFormPkg::set_has_strfessource() {
_has_bits_[0] |= 0x00000001u;
}
inline void SFesWaveFormPkg::clear_has_strfessource() {
_has_bits_[0] &= ~0x00000001u;
}
inline void SFesWaveFormPkg::clear_strfessource() {
if (strfessource_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
strfessource_->clear();
}
clear_has_strfessource();
}
inline const ::std::string& SFesWaveFormPkg::strfessource() const {
// @@protoc_insertion_point(field_get:iot_idl.SFesWaveFormPkg.strFesSource)
return *strfessource_;
}
inline void SFesWaveFormPkg::set_strfessource(const ::std::string& value) {
set_has_strfessource();
if (strfessource_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
strfessource_ = new ::std::string;
}
strfessource_->assign(value);
// @@protoc_insertion_point(field_set:iot_idl.SFesWaveFormPkg.strFesSource)
}
inline void SFesWaveFormPkg::set_strfessource(const char* value) {
set_has_strfessource();
if (strfessource_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
strfessource_ = new ::std::string;
}
strfessource_->assign(value);
// @@protoc_insertion_point(field_set_char:iot_idl.SFesWaveFormPkg.strFesSource)
}
inline void SFesWaveFormPkg::set_strfessource(const char* value, size_t size) {
set_has_strfessource();
if (strfessource_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
strfessource_ = new ::std::string;
}
strfessource_->assign(reinterpret_cast<const char*>(value), size);
// @@protoc_insertion_point(field_set_pointer:iot_idl.SFesWaveFormPkg.strFesSource)
}
inline ::std::string* SFesWaveFormPkg::mutable_strfessource() {
set_has_strfessource();
if (strfessource_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
strfessource_ = new ::std::string;
}
// @@protoc_insertion_point(field_mutable:iot_idl.SFesWaveFormPkg.strFesSource)
return strfessource_;
}
inline ::std::string* SFesWaveFormPkg::release_strfessource() {
clear_has_strfessource();
if (strfessource_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
return NULL;
} else {
::std::string* temp = strfessource_;
strfessource_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
return temp;
}
}
inline void SFesWaveFormPkg::set_allocated_strfessource(::std::string* strfessource) {
if (strfessource_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
delete strfessource_;
}
if (strfessource) {
set_has_strfessource();
strfessource_ = strfessource;
} else {
clear_has_strfessource();
strfessource_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
// @@protoc_insertion_point(field_set_allocated:iot_idl.SFesWaveFormPkg.strFesSource)
}
// required int32 nPackageType = 2;
inline bool SFesWaveFormPkg::has_npackagetype() const {
return (_has_bits_[0] & 0x00000002u) != 0;
}
inline void SFesWaveFormPkg::set_has_npackagetype() {
_has_bits_[0] |= 0x00000002u;
}
inline void SFesWaveFormPkg::clear_has_npackagetype() {
_has_bits_[0] &= ~0x00000002u;
}
inline void SFesWaveFormPkg::clear_npackagetype() {
npackagetype_ = 0;
clear_has_npackagetype();
}
inline ::google::protobuf::int32 SFesWaveFormPkg::npackagetype() const {
// @@protoc_insertion_point(field_get:iot_idl.SFesWaveFormPkg.nPackageType)
return npackagetype_;
}
inline void SFesWaveFormPkg::set_npackagetype(::google::protobuf::int32 value) {
set_has_npackagetype();
npackagetype_ = value;
// @@protoc_insertion_point(field_set:iot_idl.SFesWaveFormPkg.nPackageType)
}
// required uint64 ulMessageID = 3;
inline bool SFesWaveFormPkg::has_ulmessageid() const {
return (_has_bits_[0] & 0x00000004u) != 0;
}
inline void SFesWaveFormPkg::set_has_ulmessageid() {
_has_bits_[0] |= 0x00000004u;
}
inline void SFesWaveFormPkg::clear_has_ulmessageid() {
_has_bits_[0] &= ~0x00000004u;
}
inline void SFesWaveFormPkg::clear_ulmessageid() {
ulmessageid_ = GOOGLE_ULONGLONG(0);
clear_has_ulmessageid();
}
inline ::google::protobuf::uint64 SFesWaveFormPkg::ulmessageid() const {
// @@protoc_insertion_point(field_get:iot_idl.SFesWaveFormPkg.ulMessageID)
return ulmessageid_;
}
inline void SFesWaveFormPkg::set_ulmessageid(::google::protobuf::uint64 value) {
set_has_ulmessageid();
ulmessageid_ = value;
// @@protoc_insertion_point(field_set:iot_idl.SFesWaveFormPkg.ulMessageID)
}
// required string strfileName = 4;
inline bool SFesWaveFormPkg::has_strfilename() const {
return (_has_bits_[0] & 0x00000008u) != 0;
}
inline void SFesWaveFormPkg::set_has_strfilename() {
_has_bits_[0] |= 0x00000008u;
}
inline void SFesWaveFormPkg::clear_has_strfilename() {
_has_bits_[0] &= ~0x00000008u;
}
inline void SFesWaveFormPkg::clear_strfilename() {
if (strfilename_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
strfilename_->clear();
}
clear_has_strfilename();
}
inline const ::std::string& SFesWaveFormPkg::strfilename() const {
// @@protoc_insertion_point(field_get:iot_idl.SFesWaveFormPkg.strfileName)
return *strfilename_;
}
inline void SFesWaveFormPkg::set_strfilename(const ::std::string& value) {
set_has_strfilename();
if (strfilename_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
strfilename_ = new ::std::string;
}
strfilename_->assign(value);
// @@protoc_insertion_point(field_set:iot_idl.SFesWaveFormPkg.strfileName)
}
inline void SFesWaveFormPkg::set_strfilename(const char* value) {
set_has_strfilename();
if (strfilename_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
strfilename_ = new ::std::string;
}
strfilename_->assign(value);
// @@protoc_insertion_point(field_set_char:iot_idl.SFesWaveFormPkg.strfileName)
}
inline void SFesWaveFormPkg::set_strfilename(const char* value, size_t size) {
set_has_strfilename();
if (strfilename_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
strfilename_ = new ::std::string;
}
strfilename_->assign(reinterpret_cast<const char*>(value), size);
// @@protoc_insertion_point(field_set_pointer:iot_idl.SFesWaveFormPkg.strfileName)
}
inline ::std::string* SFesWaveFormPkg::mutable_strfilename() {
set_has_strfilename();
if (strfilename_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
strfilename_ = new ::std::string;
}
// @@protoc_insertion_point(field_mutable:iot_idl.SFesWaveFormPkg.strfileName)
return strfilename_;
}
inline ::std::string* SFesWaveFormPkg::release_strfilename() {
clear_has_strfilename();
if (strfilename_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
return NULL;
} else {
::std::string* temp = strfilename_;
strfilename_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
return temp;
}
}
inline void SFesWaveFormPkg::set_allocated_strfilename(::std::string* strfilename) {
if (strfilename_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
delete strfilename_;
}
if (strfilename) {
set_has_strfilename();
strfilename_ = strfilename;
} else {
clear_has_strfilename();
strfilename_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
// @@protoc_insertion_point(field_set_allocated:iot_idl.SFesWaveFormPkg.strfileName)
}
// required int32 nFileSize = 5;
inline bool SFesWaveFormPkg::has_nfilesize() const {
return (_has_bits_[0] & 0x00000010u) != 0;
}
inline void SFesWaveFormPkg::set_has_nfilesize() {
_has_bits_[0] |= 0x00000010u;
}
inline void SFesWaveFormPkg::clear_has_nfilesize() {
_has_bits_[0] &= ~0x00000010u;
}
inline void SFesWaveFormPkg::clear_nfilesize() {
nfilesize_ = 0;
clear_has_nfilesize();
}
inline ::google::protobuf::int32 SFesWaveFormPkg::nfilesize() const {
// @@protoc_insertion_point(field_get:iot_idl.SFesWaveFormPkg.nFileSize)
return nfilesize_;
}
inline void SFesWaveFormPkg::set_nfilesize(::google::protobuf::int32 value) {
set_has_nfilesize();
nfilesize_ = value;
// @@protoc_insertion_point(field_set:iot_idl.SFesWaveFormPkg.nFileSize)
}
// required int32 nSeqNo = 6;
inline bool SFesWaveFormPkg::has_nseqno() const {
return (_has_bits_[0] & 0x00000020u) != 0;
}
inline void SFesWaveFormPkg::set_has_nseqno() {
_has_bits_[0] |= 0x00000020u;
}
inline void SFesWaveFormPkg::clear_has_nseqno() {
_has_bits_[0] &= ~0x00000020u;
}
inline void SFesWaveFormPkg::clear_nseqno() {
nseqno_ = 0;
clear_has_nseqno();
}
inline ::google::protobuf::int32 SFesWaveFormPkg::nseqno() const {
// @@protoc_insertion_point(field_get:iot_idl.SFesWaveFormPkg.nSeqNo)
return nseqno_;
}
inline void SFesWaveFormPkg::set_nseqno(::google::protobuf::int32 value) {
set_has_nseqno();
nseqno_ = value;
// @@protoc_insertion_point(field_set:iot_idl.SFesWaveFormPkg.nSeqNo)
}
// required int32 nDataLen = 7;
inline bool SFesWaveFormPkg::has_ndatalen() const {
return (_has_bits_[0] & 0x00000040u) != 0;
}
inline void SFesWaveFormPkg::set_has_ndatalen() {
_has_bits_[0] |= 0x00000040u;
}
inline void SFesWaveFormPkg::clear_has_ndatalen() {
_has_bits_[0] &= ~0x00000040u;
}
inline void SFesWaveFormPkg::clear_ndatalen() {
ndatalen_ = 0;
clear_has_ndatalen();
}
inline ::google::protobuf::int32 SFesWaveFormPkg::ndatalen() const {
// @@protoc_insertion_point(field_get:iot_idl.SFesWaveFormPkg.nDataLen)
return ndatalen_;
}
inline void SFesWaveFormPkg::set_ndatalen(::google::protobuf::int32 value) {
set_has_ndatalen();
ndatalen_ = value;
// @@protoc_insertion_point(field_set:iot_idl.SFesWaveFormPkg.nDataLen)
}
// required bytes strData = 8;
inline bool SFesWaveFormPkg::has_strdata() const {
return (_has_bits_[0] & 0x00000080u) != 0;
}
inline void SFesWaveFormPkg::set_has_strdata() {
_has_bits_[0] |= 0x00000080u;
}
inline void SFesWaveFormPkg::clear_has_strdata() {
_has_bits_[0] &= ~0x00000080u;
}
inline void SFesWaveFormPkg::clear_strdata() {
if (strdata_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
strdata_->clear();
}
clear_has_strdata();
}
inline const ::std::string& SFesWaveFormPkg::strdata() const {
// @@protoc_insertion_point(field_get:iot_idl.SFesWaveFormPkg.strData)
return *strdata_;
}
inline void SFesWaveFormPkg::set_strdata(const ::std::string& value) {
set_has_strdata();
if (strdata_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
strdata_ = new ::std::string;
}
strdata_->assign(value);
// @@protoc_insertion_point(field_set:iot_idl.SFesWaveFormPkg.strData)
}
inline void SFesWaveFormPkg::set_strdata(const char* value) {
set_has_strdata();
if (strdata_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
strdata_ = new ::std::string;
}
strdata_->assign(value);
// @@protoc_insertion_point(field_set_char:iot_idl.SFesWaveFormPkg.strData)
}
inline void SFesWaveFormPkg::set_strdata(const void* value, size_t size) {
set_has_strdata();
if (strdata_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
strdata_ = new ::std::string;
}
strdata_->assign(reinterpret_cast<const char*>(value), size);
// @@protoc_insertion_point(field_set_pointer:iot_idl.SFesWaveFormPkg.strData)
}
inline ::std::string* SFesWaveFormPkg::mutable_strdata() {
set_has_strdata();
if (strdata_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
strdata_ = new ::std::string;
}
// @@protoc_insertion_point(field_mutable:iot_idl.SFesWaveFormPkg.strData)
return strdata_;
}
inline ::std::string* SFesWaveFormPkg::release_strdata() {
clear_has_strdata();
if (strdata_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
return NULL;
} else {
::std::string* temp = strdata_;
strdata_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
return temp;
}
}
inline void SFesWaveFormPkg::set_allocated_strdata(::std::string* strdata) {
if (strdata_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
delete strdata_;
}
if (strdata) {
set_has_strdata();
strdata_ = strdata;
} else {
clear_has_strdata();
strdata_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
// @@protoc_insertion_point(field_set_allocated:iot_idl.SFesWaveFormPkg.strData)
}
// @@protoc_insertion_point(namespace_scope)
} // namespace iot_idl
#ifndef SWIG
namespace google {
namespace protobuf {
} // namespace google
} // namespace protobuf
#endif // SWIG
// @@protoc_insertion_point(global_scope)
#endif // PROTOBUF_FesDataMessage_2eproto__INCLUDED