HM-SPMS/product/src/idl_files/HisAmendMessage.pb.h

493 lines
16 KiB
C
Raw Normal View History

2025-03-13 11:17:56 +08:00
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: HisAmendMessage.proto
#ifndef PROTOBUF_HisAmendMessage_2eproto__INCLUDED
#define PROTOBUF_HisAmendMessage_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/generated_enum_reflection.h>
#include <google/protobuf/unknown_field_set.h>
// @@protoc_insertion_point(includes)
2025-03-12 14:17:53 +08:00
namespace iot_idl {
// Internal implementation detail -- do not call these.
void IDL_FILES_EXPORT protobuf_AddDesc_HisAmendMessage_2eproto();
void protobuf_AssignDesc_HisAmendMessage_2eproto();
void protobuf_ShutdownFile_HisAmendMessage_2eproto();
class ADD_TASK;
class TASK_FINISH;
enum TASK_FINISH_enTaskResult {
TASK_FINISH_enTaskResult_TR_SUCCESS = 0,
TASK_FINISH_enTaskResult_TR_FAILED = 1
};
IDL_FILES_EXPORT bool TASK_FINISH_enTaskResult_IsValid(int value);
const TASK_FINISH_enTaskResult TASK_FINISH_enTaskResult_enTaskResult_MIN = TASK_FINISH_enTaskResult_TR_SUCCESS;
const TASK_FINISH_enTaskResult TASK_FINISH_enTaskResult_enTaskResult_MAX = TASK_FINISH_enTaskResult_TR_FAILED;
const int TASK_FINISH_enTaskResult_enTaskResult_ARRAYSIZE = TASK_FINISH_enTaskResult_enTaskResult_MAX + 1;
IDL_FILES_EXPORT const ::google::protobuf::EnumDescriptor* TASK_FINISH_enTaskResult_descriptor();
inline const ::std::string& TASK_FINISH_enTaskResult_Name(TASK_FINISH_enTaskResult value) {
return ::google::protobuf::internal::NameOfEnum(
TASK_FINISH_enTaskResult_descriptor(), value);
}
inline bool TASK_FINISH_enTaskResult_Parse(
const ::std::string& name, TASK_FINISH_enTaskResult* value) {
return ::google::protobuf::internal::ParseNamedEnum<TASK_FINISH_enTaskResult>(
TASK_FINISH_enTaskResult_descriptor(), name, value);
}
// ===================================================================
class IDL_FILES_EXPORT ADD_TASK : public ::google::protobuf::Message {
public:
ADD_TASK();
virtual ~ADD_TASK();
ADD_TASK(const ADD_TASK& from);
inline ADD_TASK& operator=(const ADD_TASK& 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 ADD_TASK& default_instance();
void Swap(ADD_TASK* other);
// implements Message ----------------------------------------------
ADD_TASK* New() const;
void CopyFrom(const ::google::protobuf::Message& from);
void MergeFrom(const ::google::protobuf::Message& from);
void CopyFrom(const ADD_TASK& from);
void MergeFrom(const ADD_TASK& 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 int32 rtu_idx = 1;
inline bool has_rtu_idx() const;
inline void clear_rtu_idx();
static const int kRtuIdxFieldNumber = 1;
inline ::google::protobuf::int32 rtu_idx() const;
inline void set_rtu_idx(::google::protobuf::int32 value);
// required int64 start_time = 2;
inline bool has_start_time() const;
inline void clear_start_time();
static const int kStartTimeFieldNumber = 2;
inline ::google::protobuf::int64 start_time() const;
inline void set_start_time(::google::protobuf::int64 value);
// required int64 end_time = 3;
inline bool has_end_time() const;
inline void clear_end_time();
static const int kEndTimeFieldNumber = 3;
inline ::google::protobuf::int64 end_time() const;
inline void set_end_time(::google::protobuf::int64 value);
2025-03-12 14:17:53 +08:00
// @@protoc_insertion_point(class_scope:iot_idl.ADD_TASK)
private:
inline void set_has_rtu_idx();
inline void clear_has_rtu_idx();
inline void set_has_start_time();
inline void clear_has_start_time();
inline void set_has_end_time();
inline void clear_has_end_time();
::google::protobuf::UnknownFieldSet _unknown_fields_;
::google::protobuf::uint32 _has_bits_[1];
mutable int _cached_size_;
::google::protobuf::int64 start_time_;
::google::protobuf::int64 end_time_;
::google::protobuf::int32 rtu_idx_;
friend void IDL_FILES_EXPORT protobuf_AddDesc_HisAmendMessage_2eproto();
friend void protobuf_AssignDesc_HisAmendMessage_2eproto();
friend void protobuf_ShutdownFile_HisAmendMessage_2eproto();
void InitAsDefaultInstance();
static ADD_TASK* default_instance_;
};
// -------------------------------------------------------------------
class IDL_FILES_EXPORT TASK_FINISH : public ::google::protobuf::Message {
public:
TASK_FINISH();
virtual ~TASK_FINISH();
TASK_FINISH(const TASK_FINISH& from);
inline TASK_FINISH& operator=(const TASK_FINISH& 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 TASK_FINISH& default_instance();
void Swap(TASK_FINISH* other);
// implements Message ----------------------------------------------
TASK_FINISH* New() const;
void CopyFrom(const ::google::protobuf::Message& from);
void MergeFrom(const ::google::protobuf::Message& from);
void CopyFrom(const TASK_FINISH& from);
void MergeFrom(const TASK_FINISH& 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 ----------------------------------------------------
typedef TASK_FINISH_enTaskResult enTaskResult;
static const enTaskResult TR_SUCCESS = TASK_FINISH_enTaskResult_TR_SUCCESS;
static const enTaskResult TR_FAILED = TASK_FINISH_enTaskResult_TR_FAILED;
static inline bool enTaskResult_IsValid(int value) {
return TASK_FINISH_enTaskResult_IsValid(value);
}
static const enTaskResult enTaskResult_MIN =
TASK_FINISH_enTaskResult_enTaskResult_MIN;
static const enTaskResult enTaskResult_MAX =
TASK_FINISH_enTaskResult_enTaskResult_MAX;
static const int enTaskResult_ARRAYSIZE =
TASK_FINISH_enTaskResult_enTaskResult_ARRAYSIZE;
static inline const ::google::protobuf::EnumDescriptor*
enTaskResult_descriptor() {
return TASK_FINISH_enTaskResult_descriptor();
}
static inline const ::std::string& enTaskResult_Name(enTaskResult value) {
return TASK_FINISH_enTaskResult_Name(value);
}
static inline bool enTaskResult_Parse(const ::std::string& name,
enTaskResult* value) {
return TASK_FINISH_enTaskResult_Parse(name, value);
}
// accessors -------------------------------------------------------
// required int32 rtu_idx = 1;
inline bool has_rtu_idx() const;
inline void clear_rtu_idx();
static const int kRtuIdxFieldNumber = 1;
inline ::google::protobuf::int32 rtu_idx() const;
inline void set_rtu_idx(::google::protobuf::int32 value);
// required int64 start_time = 2;
inline bool has_start_time() const;
inline void clear_start_time();
static const int kStartTimeFieldNumber = 2;
inline ::google::protobuf::int64 start_time() const;
inline void set_start_time(::google::protobuf::int64 value);
// required int64 end_time = 3;
inline bool has_end_time() const;
inline void clear_end_time();
static const int kEndTimeFieldNumber = 3;
inline ::google::protobuf::int64 end_time() const;
inline void set_end_time(::google::protobuf::int64 value);
2025-03-12 14:17:53 +08:00
// required .iot_idl.TASK_FINISH.enTaskResult task_result = 4;
inline bool has_task_result() const;
inline void clear_task_result();
static const int kTaskResultFieldNumber = 4;
2025-03-12 14:17:53 +08:00
inline ::iot_idl::TASK_FINISH_enTaskResult task_result() const;
inline void set_task_result(::iot_idl::TASK_FINISH_enTaskResult value);
2025-03-12 14:17:53 +08:00
// @@protoc_insertion_point(class_scope:iot_idl.TASK_FINISH)
private:
inline void set_has_rtu_idx();
inline void clear_has_rtu_idx();
inline void set_has_start_time();
inline void clear_has_start_time();
inline void set_has_end_time();
inline void clear_has_end_time();
inline void set_has_task_result();
inline void clear_has_task_result();
::google::protobuf::UnknownFieldSet _unknown_fields_;
::google::protobuf::uint32 _has_bits_[1];
mutable int _cached_size_;
::google::protobuf::int64 start_time_;
::google::protobuf::int32 rtu_idx_;
int task_result_;
::google::protobuf::int64 end_time_;
friend void IDL_FILES_EXPORT protobuf_AddDesc_HisAmendMessage_2eproto();
friend void protobuf_AssignDesc_HisAmendMessage_2eproto();
friend void protobuf_ShutdownFile_HisAmendMessage_2eproto();
void InitAsDefaultInstance();
static TASK_FINISH* default_instance_;
};
// ===================================================================
// ===================================================================
// ADD_TASK
// required int32 rtu_idx = 1;
inline bool ADD_TASK::has_rtu_idx() const {
return (_has_bits_[0] & 0x00000001u) != 0;
}
inline void ADD_TASK::set_has_rtu_idx() {
_has_bits_[0] |= 0x00000001u;
}
inline void ADD_TASK::clear_has_rtu_idx() {
_has_bits_[0] &= ~0x00000001u;
}
inline void ADD_TASK::clear_rtu_idx() {
rtu_idx_ = 0;
clear_has_rtu_idx();
}
inline ::google::protobuf::int32 ADD_TASK::rtu_idx() const {
2025-03-12 14:17:53 +08:00
// @@protoc_insertion_point(field_get:iot_idl.ADD_TASK.rtu_idx)
return rtu_idx_;
}
inline void ADD_TASK::set_rtu_idx(::google::protobuf::int32 value) {
set_has_rtu_idx();
rtu_idx_ = value;
2025-03-12 14:17:53 +08:00
// @@protoc_insertion_point(field_set:iot_idl.ADD_TASK.rtu_idx)
}
// required int64 start_time = 2;
inline bool ADD_TASK::has_start_time() const {
return (_has_bits_[0] & 0x00000002u) != 0;
}
inline void ADD_TASK::set_has_start_time() {
_has_bits_[0] |= 0x00000002u;
}
inline void ADD_TASK::clear_has_start_time() {
_has_bits_[0] &= ~0x00000002u;
}
inline void ADD_TASK::clear_start_time() {
start_time_ = GOOGLE_LONGLONG(0);
clear_has_start_time();
}
inline ::google::protobuf::int64 ADD_TASK::start_time() const {
2025-03-12 14:17:53 +08:00
// @@protoc_insertion_point(field_get:iot_idl.ADD_TASK.start_time)
return start_time_;
}
inline void ADD_TASK::set_start_time(::google::protobuf::int64 value) {
set_has_start_time();
start_time_ = value;
2025-03-12 14:17:53 +08:00
// @@protoc_insertion_point(field_set:iot_idl.ADD_TASK.start_time)
}
// required int64 end_time = 3;
inline bool ADD_TASK::has_end_time() const {
return (_has_bits_[0] & 0x00000004u) != 0;
}
inline void ADD_TASK::set_has_end_time() {
_has_bits_[0] |= 0x00000004u;
}
inline void ADD_TASK::clear_has_end_time() {
_has_bits_[0] &= ~0x00000004u;
}
inline void ADD_TASK::clear_end_time() {
end_time_ = GOOGLE_LONGLONG(0);
clear_has_end_time();
}
inline ::google::protobuf::int64 ADD_TASK::end_time() const {
2025-03-12 14:17:53 +08:00
// @@protoc_insertion_point(field_get:iot_idl.ADD_TASK.end_time)
return end_time_;
}
inline void ADD_TASK::set_end_time(::google::protobuf::int64 value) {
set_has_end_time();
end_time_ = value;
2025-03-12 14:17:53 +08:00
// @@protoc_insertion_point(field_set:iot_idl.ADD_TASK.end_time)
}
// -------------------------------------------------------------------
// TASK_FINISH
// required int32 rtu_idx = 1;
inline bool TASK_FINISH::has_rtu_idx() const {
return (_has_bits_[0] & 0x00000001u) != 0;
}
inline void TASK_FINISH::set_has_rtu_idx() {
_has_bits_[0] |= 0x00000001u;
}
inline void TASK_FINISH::clear_has_rtu_idx() {
_has_bits_[0] &= ~0x00000001u;
}
inline void TASK_FINISH::clear_rtu_idx() {
rtu_idx_ = 0;
clear_has_rtu_idx();
}
inline ::google::protobuf::int32 TASK_FINISH::rtu_idx() const {
2025-03-12 14:17:53 +08:00
// @@protoc_insertion_point(field_get:iot_idl.TASK_FINISH.rtu_idx)
return rtu_idx_;
}
inline void TASK_FINISH::set_rtu_idx(::google::protobuf::int32 value) {
set_has_rtu_idx();
rtu_idx_ = value;
2025-03-12 14:17:53 +08:00
// @@protoc_insertion_point(field_set:iot_idl.TASK_FINISH.rtu_idx)
}
// required int64 start_time = 2;
inline bool TASK_FINISH::has_start_time() const {
return (_has_bits_[0] & 0x00000002u) != 0;
}
inline void TASK_FINISH::set_has_start_time() {
_has_bits_[0] |= 0x00000002u;
}
inline void TASK_FINISH::clear_has_start_time() {
_has_bits_[0] &= ~0x00000002u;
}
inline void TASK_FINISH::clear_start_time() {
start_time_ = GOOGLE_LONGLONG(0);
clear_has_start_time();
}
inline ::google::protobuf::int64 TASK_FINISH::start_time() const {
2025-03-12 14:17:53 +08:00
// @@protoc_insertion_point(field_get:iot_idl.TASK_FINISH.start_time)
return start_time_;
}
inline void TASK_FINISH::set_start_time(::google::protobuf::int64 value) {
set_has_start_time();
start_time_ = value;
2025-03-12 14:17:53 +08:00
// @@protoc_insertion_point(field_set:iot_idl.TASK_FINISH.start_time)
}
// required int64 end_time = 3;
inline bool TASK_FINISH::has_end_time() const {
return (_has_bits_[0] & 0x00000004u) != 0;
}
inline void TASK_FINISH::set_has_end_time() {
_has_bits_[0] |= 0x00000004u;
}
inline void TASK_FINISH::clear_has_end_time() {
_has_bits_[0] &= ~0x00000004u;
}
inline void TASK_FINISH::clear_end_time() {
end_time_ = GOOGLE_LONGLONG(0);
clear_has_end_time();
}
inline ::google::protobuf::int64 TASK_FINISH::end_time() const {
2025-03-12 14:17:53 +08:00
// @@protoc_insertion_point(field_get:iot_idl.TASK_FINISH.end_time)
return end_time_;
}
inline void TASK_FINISH::set_end_time(::google::protobuf::int64 value) {
set_has_end_time();
end_time_ = value;
2025-03-12 14:17:53 +08:00
// @@protoc_insertion_point(field_set:iot_idl.TASK_FINISH.end_time)
}
2025-03-12 14:17:53 +08:00
// required .iot_idl.TASK_FINISH.enTaskResult task_result = 4;
inline bool TASK_FINISH::has_task_result() const {
return (_has_bits_[0] & 0x00000008u) != 0;
}
inline void TASK_FINISH::set_has_task_result() {
_has_bits_[0] |= 0x00000008u;
}
inline void TASK_FINISH::clear_has_task_result() {
_has_bits_[0] &= ~0x00000008u;
}
inline void TASK_FINISH::clear_task_result() {
task_result_ = 0;
clear_has_task_result();
}
2025-03-12 14:17:53 +08:00
inline ::iot_idl::TASK_FINISH_enTaskResult TASK_FINISH::task_result() const {
// @@protoc_insertion_point(field_get:iot_idl.TASK_FINISH.task_result)
return static_cast< ::iot_idl::TASK_FINISH_enTaskResult >(task_result_);
}
2025-03-12 14:17:53 +08:00
inline void TASK_FINISH::set_task_result(::iot_idl::TASK_FINISH_enTaskResult value) {
assert(::iot_idl::TASK_FINISH_enTaskResult_IsValid(value));
set_has_task_result();
task_result_ = value;
2025-03-12 14:17:53 +08:00
// @@protoc_insertion_point(field_set:iot_idl.TASK_FINISH.task_result)
}
// @@protoc_insertion_point(namespace_scope)
2025-03-12 14:17:53 +08:00
} // namespace iot_idl
#ifndef SWIG
namespace google {
namespace protobuf {
2025-03-12 14:17:53 +08:00
template <> struct is_proto_enum< ::iot_idl::TASK_FINISH_enTaskResult> : ::google::protobuf::internal::true_type {};
template <>
2025-03-12 14:17:53 +08:00
inline const EnumDescriptor* GetEnumDescriptor< ::iot_idl::TASK_FINISH_enTaskResult>() {
return ::iot_idl::TASK_FINISH_enTaskResult_descriptor();
}
} // namespace google
} // namespace protobuf
#endif // SWIG
// @@protoc_insertion_point(global_scope)
#endif // PROTOBUF_HisAmendMessage_2eproto__INCLUDED