plc_module.pb.h 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555
  1. // Generated by the protocol buffer compiler. DO NOT EDIT!
  2. // source: plc_module.proto
  3. #ifndef PROTOBUF_plc_5fmodule_2eproto__INCLUDED
  4. #define PROTOBUF_plc_5fmodule_2eproto__INCLUDED
  5. #include <string>
  6. #include <google/protobuf/stubs/common.h>
  7. #if GOOGLE_PROTOBUF_VERSION < 3005000
  8. #error This file was generated by a newer version of protoc which is
  9. #error incompatible with your Protocol Buffer headers. Please update
  10. #error your headers.
  11. #endif
  12. #if 3005000 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION
  13. #error This file was generated by an older version of protoc which is
  14. #error incompatible with your Protocol Buffer headers. Please
  15. #error regenerate this file with a newer version of protoc.
  16. #endif
  17. #include <google/protobuf/io/coded_stream.h>
  18. #include <google/protobuf/arena.h>
  19. #include <google/protobuf/arenastring.h>
  20. #include <google/protobuf/generated_message_table_driven.h>
  21. #include <google/protobuf/generated_message_util.h>
  22. #include <google/protobuf/metadata.h>
  23. #include <google/protobuf/message.h>
  24. #include <google/protobuf/repeated_field.h> // IWYU pragma: export
  25. #include <google/protobuf/extension_set.h> // IWYU pragma: export
  26. #include <google/protobuf/generated_enum_reflection.h>
  27. #include <google/protobuf/unknown_field_set.h>
  28. // @@protoc_insertion_point(includes)
  29. namespace protobuf_plc_5fmodule_2eproto {
  30. // Internal implementation detail -- do not use these members.
  31. struct TableStruct {
  32. static const ::google::protobuf::internal::ParseTableField entries[];
  33. static const ::google::protobuf::internal::AuxillaryParseTableField aux[];
  34. static const ::google::protobuf::internal::ParseTable schema[2];
  35. static const ::google::protobuf::internal::FieldMetadata field_metadata[];
  36. static const ::google::protobuf::internal::SerializationTable serialization_table[];
  37. static const ::google::protobuf::uint32 offsets[];
  38. };
  39. void AddDescriptors();
  40. void InitDefaultsplc_connection_paramsImpl();
  41. void InitDefaultsplc_connection_params();
  42. void InitDefaultsPlc_msgImpl();
  43. void InitDefaultsPlc_msg();
  44. inline void InitDefaults() {
  45. InitDefaultsplc_connection_params();
  46. InitDefaultsPlc_msg();
  47. }
  48. } // namespace protobuf_plc_5fmodule_2eproto
  49. namespace plc_module {
  50. class Plc_msg;
  51. class Plc_msgDefaultTypeInternal;
  52. extern Plc_msgDefaultTypeInternal _Plc_msg_default_instance_;
  53. class plc_connection_params;
  54. class plc_connection_paramsDefaultTypeInternal;
  55. extern plc_connection_paramsDefaultTypeInternal _plc_connection_params_default_instance_;
  56. } // namespace plc_module
  57. namespace plc_module {
  58. enum PLC_STATUS {
  59. ePLCConnected = 0,
  60. ePLCDisconnected = 1,
  61. ePLCRefused = 2,
  62. ePLCUnknown = 3
  63. };
  64. bool PLC_STATUS_IsValid(int value);
  65. const PLC_STATUS PLC_STATUS_MIN = ePLCConnected;
  66. const PLC_STATUS PLC_STATUS_MAX = ePLCUnknown;
  67. const int PLC_STATUS_ARRAYSIZE = PLC_STATUS_MAX + 1;
  68. const ::google::protobuf::EnumDescriptor* PLC_STATUS_descriptor();
  69. inline const ::std::string& PLC_STATUS_Name(PLC_STATUS value) {
  70. return ::google::protobuf::internal::NameOfEnum(
  71. PLC_STATUS_descriptor(), value);
  72. }
  73. inline bool PLC_STATUS_Parse(
  74. const ::std::string& name, PLC_STATUS* value) {
  75. return ::google::protobuf::internal::ParseNamedEnum<PLC_STATUS>(
  76. PLC_STATUS_descriptor(), name, value);
  77. }
  78. // ===================================================================
  79. class plc_connection_params : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:plc_module.plc_connection_params) */ {
  80. public:
  81. plc_connection_params();
  82. virtual ~plc_connection_params();
  83. plc_connection_params(const plc_connection_params& from);
  84. inline plc_connection_params& operator=(const plc_connection_params& from) {
  85. CopyFrom(from);
  86. return *this;
  87. }
  88. #if LANG_CXX11
  89. plc_connection_params(plc_connection_params&& from) noexcept
  90. : plc_connection_params() {
  91. *this = ::std::move(from);
  92. }
  93. inline plc_connection_params& operator=(plc_connection_params&& from) noexcept {
  94. if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
  95. if (this != &from) InternalSwap(&from);
  96. } else {
  97. CopyFrom(from);
  98. }
  99. return *this;
  100. }
  101. #endif
  102. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  103. return _internal_metadata_.unknown_fields();
  104. }
  105. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  106. return _internal_metadata_.mutable_unknown_fields();
  107. }
  108. static const ::google::protobuf::Descriptor* descriptor();
  109. static const plc_connection_params& default_instance();
  110. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  111. static inline const plc_connection_params* internal_default_instance() {
  112. return reinterpret_cast<const plc_connection_params*>(
  113. &_plc_connection_params_default_instance_);
  114. }
  115. static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
  116. 0;
  117. void Swap(plc_connection_params* other);
  118. friend void swap(plc_connection_params& a, plc_connection_params& b) {
  119. a.Swap(&b);
  120. }
  121. // implements Message ----------------------------------------------
  122. inline plc_connection_params* New() const PROTOBUF_FINAL { return New(NULL); }
  123. plc_connection_params* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
  124. void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  125. void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  126. void CopyFrom(const plc_connection_params& from);
  127. void MergeFrom(const plc_connection_params& from);
  128. void Clear() PROTOBUF_FINAL;
  129. bool IsInitialized() const PROTOBUF_FINAL;
  130. size_t ByteSizeLong() const PROTOBUF_FINAL;
  131. bool MergePartialFromCodedStream(
  132. ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
  133. void SerializeWithCachedSizes(
  134. ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
  135. ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
  136. bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
  137. int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
  138. private:
  139. void SharedCtor();
  140. void SharedDtor();
  141. void SetCachedSize(int size) const PROTOBUF_FINAL;
  142. void InternalSwap(plc_connection_params* other);
  143. private:
  144. inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
  145. return NULL;
  146. }
  147. inline void* MaybeArenaPtr() const {
  148. return NULL;
  149. }
  150. public:
  151. ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
  152. // nested types ----------------------------------------------------
  153. // accessors -------------------------------------------------------
  154. // required string ip = 1;
  155. bool has_ip() const;
  156. void clear_ip();
  157. static const int kIpFieldNumber = 1;
  158. const ::std::string& ip() const;
  159. void set_ip(const ::std::string& value);
  160. #if LANG_CXX11
  161. void set_ip(::std::string&& value);
  162. #endif
  163. void set_ip(const char* value);
  164. void set_ip(const char* value, size_t size);
  165. ::std::string* mutable_ip();
  166. ::std::string* release_ip();
  167. void set_allocated_ip(::std::string* ip);
  168. // required int32 port = 2;
  169. bool has_port() const;
  170. void clear_port();
  171. static const int kPortFieldNumber = 2;
  172. ::google::protobuf::int32 port() const;
  173. void set_port(::google::protobuf::int32 value);
  174. // required int32 slave_id = 3;
  175. bool has_slave_id() const;
  176. void clear_slave_id();
  177. static const int kSlaveIdFieldNumber = 3;
  178. ::google::protobuf::int32 slave_id() const;
  179. void set_slave_id(::google::protobuf::int32 value);
  180. // @@protoc_insertion_point(class_scope:plc_module.plc_connection_params)
  181. private:
  182. void set_has_ip();
  183. void clear_has_ip();
  184. void set_has_port();
  185. void clear_has_port();
  186. void set_has_slave_id();
  187. void clear_has_slave_id();
  188. // helper for ByteSizeLong()
  189. size_t RequiredFieldsByteSizeFallback() const;
  190. ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  191. ::google::protobuf::internal::HasBits<1> _has_bits_;
  192. mutable int _cached_size_;
  193. ::google::protobuf::internal::ArenaStringPtr ip_;
  194. ::google::protobuf::int32 port_;
  195. ::google::protobuf::int32 slave_id_;
  196. friend struct ::protobuf_plc_5fmodule_2eproto::TableStruct;
  197. friend void ::protobuf_plc_5fmodule_2eproto::InitDefaultsplc_connection_paramsImpl();
  198. };
  199. // -------------------------------------------------------------------
  200. class Plc_msg : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:plc_module.Plc_msg) */ {
  201. public:
  202. Plc_msg();
  203. virtual ~Plc_msg();
  204. Plc_msg(const Plc_msg& from);
  205. inline Plc_msg& operator=(const Plc_msg& from) {
  206. CopyFrom(from);
  207. return *this;
  208. }
  209. #if LANG_CXX11
  210. Plc_msg(Plc_msg&& from) noexcept
  211. : Plc_msg() {
  212. *this = ::std::move(from);
  213. }
  214. inline Plc_msg& operator=(Plc_msg&& from) noexcept {
  215. if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
  216. if (this != &from) InternalSwap(&from);
  217. } else {
  218. CopyFrom(from);
  219. }
  220. return *this;
  221. }
  222. #endif
  223. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  224. return _internal_metadata_.unknown_fields();
  225. }
  226. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  227. return _internal_metadata_.mutable_unknown_fields();
  228. }
  229. static const ::google::protobuf::Descriptor* descriptor();
  230. static const Plc_msg& default_instance();
  231. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  232. static inline const Plc_msg* internal_default_instance() {
  233. return reinterpret_cast<const Plc_msg*>(
  234. &_Plc_msg_default_instance_);
  235. }
  236. static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
  237. 1;
  238. void Swap(Plc_msg* other);
  239. friend void swap(Plc_msg& a, Plc_msg& b) {
  240. a.Swap(&b);
  241. }
  242. // implements Message ----------------------------------------------
  243. inline Plc_msg* New() const PROTOBUF_FINAL { return New(NULL); }
  244. Plc_msg* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
  245. void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  246. void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  247. void CopyFrom(const Plc_msg& from);
  248. void MergeFrom(const Plc_msg& from);
  249. void Clear() PROTOBUF_FINAL;
  250. bool IsInitialized() const PROTOBUF_FINAL;
  251. size_t ByteSizeLong() const PROTOBUF_FINAL;
  252. bool MergePartialFromCodedStream(
  253. ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
  254. void SerializeWithCachedSizes(
  255. ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
  256. ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
  257. bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
  258. int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
  259. private:
  260. void SharedCtor();
  261. void SharedDtor();
  262. void SetCachedSize(int size) const PROTOBUF_FINAL;
  263. void InternalSwap(Plc_msg* other);
  264. private:
  265. inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
  266. return NULL;
  267. }
  268. inline void* MaybeArenaPtr() const {
  269. return NULL;
  270. }
  271. public:
  272. ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
  273. // nested types ----------------------------------------------------
  274. // accessors -------------------------------------------------------
  275. // repeated int32 plc_values = 2;
  276. int plc_values_size() const;
  277. void clear_plc_values();
  278. static const int kPlcValuesFieldNumber = 2;
  279. ::google::protobuf::int32 plc_values(int index) const;
  280. void set_plc_values(int index, ::google::protobuf::int32 value);
  281. void add_plc_values(::google::protobuf::int32 value);
  282. const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&
  283. plc_values() const;
  284. ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
  285. mutable_plc_values();
  286. // optional .plc_module.PLC_STATUS status = 1;
  287. bool has_status() const;
  288. void clear_status();
  289. static const int kStatusFieldNumber = 1;
  290. ::plc_module::PLC_STATUS status() const;
  291. void set_status(::plc_module::PLC_STATUS value);
  292. // @@protoc_insertion_point(class_scope:plc_module.Plc_msg)
  293. private:
  294. void set_has_status();
  295. void clear_has_status();
  296. ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  297. ::google::protobuf::internal::HasBits<1> _has_bits_;
  298. mutable int _cached_size_;
  299. ::google::protobuf::RepeatedField< ::google::protobuf::int32 > plc_values_;
  300. int status_;
  301. friend struct ::protobuf_plc_5fmodule_2eproto::TableStruct;
  302. friend void ::protobuf_plc_5fmodule_2eproto::InitDefaultsPlc_msgImpl();
  303. };
  304. // ===================================================================
  305. // ===================================================================
  306. #ifdef __GNUC__
  307. #pragma GCC diagnostic push
  308. #pragma GCC diagnostic ignored "-Wstrict-aliasing"
  309. #endif // __GNUC__
  310. // plc_connection_params
  311. // required string ip = 1;
  312. inline bool plc_connection_params::has_ip() const {
  313. return (_has_bits_[0] & 0x00000001u) != 0;
  314. }
  315. inline void plc_connection_params::set_has_ip() {
  316. _has_bits_[0] |= 0x00000001u;
  317. }
  318. inline void plc_connection_params::clear_has_ip() {
  319. _has_bits_[0] &= ~0x00000001u;
  320. }
  321. inline void plc_connection_params::clear_ip() {
  322. ip_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  323. clear_has_ip();
  324. }
  325. inline const ::std::string& plc_connection_params::ip() const {
  326. // @@protoc_insertion_point(field_get:plc_module.plc_connection_params.ip)
  327. return ip_.GetNoArena();
  328. }
  329. inline void plc_connection_params::set_ip(const ::std::string& value) {
  330. set_has_ip();
  331. ip_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  332. // @@protoc_insertion_point(field_set:plc_module.plc_connection_params.ip)
  333. }
  334. #if LANG_CXX11
  335. inline void plc_connection_params::set_ip(::std::string&& value) {
  336. set_has_ip();
  337. ip_.SetNoArena(
  338. &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
  339. // @@protoc_insertion_point(field_set_rvalue:plc_module.plc_connection_params.ip)
  340. }
  341. #endif
  342. inline void plc_connection_params::set_ip(const char* value) {
  343. GOOGLE_DCHECK(value != NULL);
  344. set_has_ip();
  345. ip_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  346. // @@protoc_insertion_point(field_set_char:plc_module.plc_connection_params.ip)
  347. }
  348. inline void plc_connection_params::set_ip(const char* value, size_t size) {
  349. set_has_ip();
  350. ip_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  351. ::std::string(reinterpret_cast<const char*>(value), size));
  352. // @@protoc_insertion_point(field_set_pointer:plc_module.plc_connection_params.ip)
  353. }
  354. inline ::std::string* plc_connection_params::mutable_ip() {
  355. set_has_ip();
  356. // @@protoc_insertion_point(field_mutable:plc_module.plc_connection_params.ip)
  357. return ip_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  358. }
  359. inline ::std::string* plc_connection_params::release_ip() {
  360. // @@protoc_insertion_point(field_release:plc_module.plc_connection_params.ip)
  361. clear_has_ip();
  362. return ip_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  363. }
  364. inline void plc_connection_params::set_allocated_ip(::std::string* ip) {
  365. if (ip != NULL) {
  366. set_has_ip();
  367. } else {
  368. clear_has_ip();
  369. }
  370. ip_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ip);
  371. // @@protoc_insertion_point(field_set_allocated:plc_module.plc_connection_params.ip)
  372. }
  373. // required int32 port = 2;
  374. inline bool plc_connection_params::has_port() const {
  375. return (_has_bits_[0] & 0x00000002u) != 0;
  376. }
  377. inline void plc_connection_params::set_has_port() {
  378. _has_bits_[0] |= 0x00000002u;
  379. }
  380. inline void plc_connection_params::clear_has_port() {
  381. _has_bits_[0] &= ~0x00000002u;
  382. }
  383. inline void plc_connection_params::clear_port() {
  384. port_ = 0;
  385. clear_has_port();
  386. }
  387. inline ::google::protobuf::int32 plc_connection_params::port() const {
  388. // @@protoc_insertion_point(field_get:plc_module.plc_connection_params.port)
  389. return port_;
  390. }
  391. inline void plc_connection_params::set_port(::google::protobuf::int32 value) {
  392. set_has_port();
  393. port_ = value;
  394. // @@protoc_insertion_point(field_set:plc_module.plc_connection_params.port)
  395. }
  396. // required int32 slave_id = 3;
  397. inline bool plc_connection_params::has_slave_id() const {
  398. return (_has_bits_[0] & 0x00000004u) != 0;
  399. }
  400. inline void plc_connection_params::set_has_slave_id() {
  401. _has_bits_[0] |= 0x00000004u;
  402. }
  403. inline void plc_connection_params::clear_has_slave_id() {
  404. _has_bits_[0] &= ~0x00000004u;
  405. }
  406. inline void plc_connection_params::clear_slave_id() {
  407. slave_id_ = 0;
  408. clear_has_slave_id();
  409. }
  410. inline ::google::protobuf::int32 plc_connection_params::slave_id() const {
  411. // @@protoc_insertion_point(field_get:plc_module.plc_connection_params.slave_id)
  412. return slave_id_;
  413. }
  414. inline void plc_connection_params::set_slave_id(::google::protobuf::int32 value) {
  415. set_has_slave_id();
  416. slave_id_ = value;
  417. // @@protoc_insertion_point(field_set:plc_module.plc_connection_params.slave_id)
  418. }
  419. // -------------------------------------------------------------------
  420. // Plc_msg
  421. // optional .plc_module.PLC_STATUS status = 1;
  422. inline bool Plc_msg::has_status() const {
  423. return (_has_bits_[0] & 0x00000001u) != 0;
  424. }
  425. inline void Plc_msg::set_has_status() {
  426. _has_bits_[0] |= 0x00000001u;
  427. }
  428. inline void Plc_msg::clear_has_status() {
  429. _has_bits_[0] &= ~0x00000001u;
  430. }
  431. inline void Plc_msg::clear_status() {
  432. status_ = 0;
  433. clear_has_status();
  434. }
  435. inline ::plc_module::PLC_STATUS Plc_msg::status() const {
  436. // @@protoc_insertion_point(field_get:plc_module.Plc_msg.status)
  437. return static_cast< ::plc_module::PLC_STATUS >(status_);
  438. }
  439. inline void Plc_msg::set_status(::plc_module::PLC_STATUS value) {
  440. assert(::plc_module::PLC_STATUS_IsValid(value));
  441. set_has_status();
  442. status_ = value;
  443. // @@protoc_insertion_point(field_set:plc_module.Plc_msg.status)
  444. }
  445. // repeated int32 plc_values = 2;
  446. inline int Plc_msg::plc_values_size() const {
  447. return plc_values_.size();
  448. }
  449. inline void Plc_msg::clear_plc_values() {
  450. plc_values_.Clear();
  451. }
  452. inline ::google::protobuf::int32 Plc_msg::plc_values(int index) const {
  453. // @@protoc_insertion_point(field_get:plc_module.Plc_msg.plc_values)
  454. return plc_values_.Get(index);
  455. }
  456. inline void Plc_msg::set_plc_values(int index, ::google::protobuf::int32 value) {
  457. plc_values_.Set(index, value);
  458. // @@protoc_insertion_point(field_set:plc_module.Plc_msg.plc_values)
  459. }
  460. inline void Plc_msg::add_plc_values(::google::protobuf::int32 value) {
  461. plc_values_.Add(value);
  462. // @@protoc_insertion_point(field_add:plc_module.Plc_msg.plc_values)
  463. }
  464. inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&
  465. Plc_msg::plc_values() const {
  466. // @@protoc_insertion_point(field_list:plc_module.Plc_msg.plc_values)
  467. return plc_values_;
  468. }
  469. inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
  470. Plc_msg::mutable_plc_values() {
  471. // @@protoc_insertion_point(field_mutable_list:plc_module.Plc_msg.plc_values)
  472. return &plc_values_;
  473. }
  474. #ifdef __GNUC__
  475. #pragma GCC diagnostic pop
  476. #endif // __GNUC__
  477. // -------------------------------------------------------------------
  478. // @@protoc_insertion_point(namespace_scope)
  479. } // namespace plc_module
  480. namespace google {
  481. namespace protobuf {
  482. template <> struct is_proto_enum< ::plc_module::PLC_STATUS> : ::google::protobuf::internal::true_type {};
  483. template <>
  484. inline const EnumDescriptor* GetEnumDescriptor< ::plc_module::PLC_STATUS>() {
  485. return ::plc_module::PLC_STATUS_descriptor();
  486. }
  487. } // namespace protobuf
  488. } // namespace google
  489. // @@protoc_insertion_point(global_scope)
  490. #endif // PROTOBUF_plc_5fmodule_2eproto__INCLUDED