central_control_message.pb.h 49 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273
  1. // Generated by the protocol buffer compiler. DO NOT EDIT!
  2. // source: central_control_message.proto
  3. #ifndef PROTOBUF_central_5fcontrol_5fmessage_2eproto__INCLUDED
  4. #define PROTOBUF_central_5fcontrol_5fmessage_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. #include "message_base.pb.h"
  29. // @@protoc_insertion_point(includes)
  30. namespace protobuf_central_5fcontrol_5fmessage_2eproto {
  31. // Internal implementation detail -- do not use these members.
  32. struct TableStruct {
  33. static const ::google::protobuf::internal::ParseTableField entries[];
  34. static const ::google::protobuf::internal::AuxillaryParseTableField aux[];
  35. static const ::google::protobuf::internal::ParseTable schema[4];
  36. static const ::google::protobuf::internal::FieldMetadata field_metadata[];
  37. static const ::google::protobuf::internal::SerializationTable serialization_table[];
  38. static const ::google::protobuf::uint32 offsets[];
  39. };
  40. void AddDescriptors();
  41. void InitDefaultsEntrance_statuImpl();
  42. void InitDefaultsEntrance_statu();
  43. void InitDefaultsCentral_controller_statu_msgImpl();
  44. void InitDefaultsCentral_controller_statu_msg();
  45. void InitDefaultsEntrance_manual_operation_msgImpl();
  46. void InitDefaultsEntrance_manual_operation_msg();
  47. void InitDefaultsProcess_manual_operation_msgImpl();
  48. void InitDefaultsProcess_manual_operation_msg();
  49. inline void InitDefaults() {
  50. InitDefaultsEntrance_statu();
  51. InitDefaultsCentral_controller_statu_msg();
  52. InitDefaultsEntrance_manual_operation_msg();
  53. InitDefaultsProcess_manual_operation_msg();
  54. }
  55. } // namespace protobuf_central_5fcontrol_5fmessage_2eproto
  56. namespace message {
  57. class Central_controller_statu_msg;
  58. class Central_controller_statu_msgDefaultTypeInternal;
  59. extern Central_controller_statu_msgDefaultTypeInternal _Central_controller_statu_msg_default_instance_;
  60. class Entrance_manual_operation_msg;
  61. class Entrance_manual_operation_msgDefaultTypeInternal;
  62. extern Entrance_manual_operation_msgDefaultTypeInternal _Entrance_manual_operation_msg_default_instance_;
  63. class Entrance_statu;
  64. class Entrance_statuDefaultTypeInternal;
  65. extern Entrance_statuDefaultTypeInternal _Entrance_statu_default_instance_;
  66. class Process_manual_operation_msg;
  67. class Process_manual_operation_msgDefaultTypeInternal;
  68. extern Process_manual_operation_msgDefaultTypeInternal _Process_manual_operation_msg_default_instance_;
  69. } // namespace message
  70. namespace message {
  71. enum Process_operation_type {
  72. eManual_cancel = 0,
  73. eManual_retry = 1,
  74. eManual_ignore = 2
  75. };
  76. bool Process_operation_type_IsValid(int value);
  77. const Process_operation_type Process_operation_type_MIN = eManual_cancel;
  78. const Process_operation_type Process_operation_type_MAX = eManual_ignore;
  79. const int Process_operation_type_ARRAYSIZE = Process_operation_type_MAX + 1;
  80. const ::google::protobuf::EnumDescriptor* Process_operation_type_descriptor();
  81. inline const ::std::string& Process_operation_type_Name(Process_operation_type value) {
  82. return ::google::protobuf::internal::NameOfEnum(
  83. Process_operation_type_descriptor(), value);
  84. }
  85. inline bool Process_operation_type_Parse(
  86. const ::std::string& name, Process_operation_type* value) {
  87. return ::google::protobuf::internal::ParseNamedEnum<Process_operation_type>(
  88. Process_operation_type_descriptor(), name, value);
  89. }
  90. enum Module_statu {
  91. eConnected = 0,
  92. eDisconnected = 1,
  93. eFault = 2
  94. };
  95. bool Module_statu_IsValid(int value);
  96. const Module_statu Module_statu_MIN = eConnected;
  97. const Module_statu Module_statu_MAX = eFault;
  98. const int Module_statu_ARRAYSIZE = Module_statu_MAX + 1;
  99. const ::google::protobuf::EnumDescriptor* Module_statu_descriptor();
  100. inline const ::std::string& Module_statu_Name(Module_statu value) {
  101. return ::google::protobuf::internal::NameOfEnum(
  102. Module_statu_descriptor(), value);
  103. }
  104. inline bool Module_statu_Parse(
  105. const ::std::string& name, Module_statu* value) {
  106. return ::google::protobuf::internal::ParseNamedEnum<Module_statu>(
  107. Module_statu_descriptor(), name, value);
  108. }
  109. // ===================================================================
  110. class Entrance_statu : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:message.Entrance_statu) */ {
  111. public:
  112. Entrance_statu();
  113. virtual ~Entrance_statu();
  114. Entrance_statu(const Entrance_statu& from);
  115. inline Entrance_statu& operator=(const Entrance_statu& from) {
  116. CopyFrom(from);
  117. return *this;
  118. }
  119. #if LANG_CXX11
  120. Entrance_statu(Entrance_statu&& from) noexcept
  121. : Entrance_statu() {
  122. *this = ::std::move(from);
  123. }
  124. inline Entrance_statu& operator=(Entrance_statu&& from) noexcept {
  125. if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
  126. if (this != &from) InternalSwap(&from);
  127. } else {
  128. CopyFrom(from);
  129. }
  130. return *this;
  131. }
  132. #endif
  133. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  134. return _internal_metadata_.unknown_fields();
  135. }
  136. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  137. return _internal_metadata_.mutable_unknown_fields();
  138. }
  139. static const ::google::protobuf::Descriptor* descriptor();
  140. static const Entrance_statu& default_instance();
  141. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  142. static inline const Entrance_statu* internal_default_instance() {
  143. return reinterpret_cast<const Entrance_statu*>(
  144. &_Entrance_statu_default_instance_);
  145. }
  146. static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
  147. 0;
  148. void Swap(Entrance_statu* other);
  149. friend void swap(Entrance_statu& a, Entrance_statu& b) {
  150. a.Swap(&b);
  151. }
  152. // implements Message ----------------------------------------------
  153. inline Entrance_statu* New() const PROTOBUF_FINAL { return New(NULL); }
  154. Entrance_statu* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
  155. void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  156. void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  157. void CopyFrom(const Entrance_statu& from);
  158. void MergeFrom(const Entrance_statu& from);
  159. void Clear() PROTOBUF_FINAL;
  160. bool IsInitialized() const PROTOBUF_FINAL;
  161. size_t ByteSizeLong() const PROTOBUF_FINAL;
  162. bool MergePartialFromCodedStream(
  163. ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
  164. void SerializeWithCachedSizes(
  165. ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
  166. ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
  167. bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
  168. int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
  169. private:
  170. void SharedCtor();
  171. void SharedDtor();
  172. void SetCachedSize(int size) const PROTOBUF_FINAL;
  173. void InternalSwap(Entrance_statu* other);
  174. private:
  175. inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
  176. return NULL;
  177. }
  178. inline void* MaybeArenaPtr() const {
  179. return NULL;
  180. }
  181. public:
  182. ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
  183. // nested types ----------------------------------------------------
  184. // accessors -------------------------------------------------------
  185. // required bool paused = 1;
  186. bool has_paused() const;
  187. void clear_paused();
  188. static const int kPausedFieldNumber = 1;
  189. bool paused() const;
  190. void set_paused(bool value);
  191. // optional .message.Module_statu parkspace_statu = 2;
  192. bool has_parkspace_statu() const;
  193. void clear_parkspace_statu();
  194. static const int kParkspaceStatuFieldNumber = 2;
  195. ::message::Module_statu parkspace_statu() const;
  196. void set_parkspace_statu(::message::Module_statu value);
  197. // optional .message.Module_statu dispatch_statu = 3;
  198. bool has_dispatch_statu() const;
  199. void clear_dispatch_statu();
  200. static const int kDispatchStatuFieldNumber = 3;
  201. ::message::Module_statu dispatch_statu() const;
  202. void set_dispatch_statu(::message::Module_statu value);
  203. // optional .message.Module_statu notify_statu = 4;
  204. bool has_notify_statu() const;
  205. void clear_notify_statu();
  206. static const int kNotifyStatuFieldNumber = 4;
  207. ::message::Module_statu notify_statu() const;
  208. void set_notify_statu(::message::Module_statu value);
  209. // @@protoc_insertion_point(class_scope:message.Entrance_statu)
  210. private:
  211. void set_has_paused();
  212. void clear_has_paused();
  213. void set_has_parkspace_statu();
  214. void clear_has_parkspace_statu();
  215. void set_has_dispatch_statu();
  216. void clear_has_dispatch_statu();
  217. void set_has_notify_statu();
  218. void clear_has_notify_statu();
  219. ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  220. ::google::protobuf::internal::HasBits<1> _has_bits_;
  221. mutable int _cached_size_;
  222. bool paused_;
  223. int parkspace_statu_;
  224. int dispatch_statu_;
  225. int notify_statu_;
  226. friend struct ::protobuf_central_5fcontrol_5fmessage_2eproto::TableStruct;
  227. friend void ::protobuf_central_5fcontrol_5fmessage_2eproto::InitDefaultsEntrance_statuImpl();
  228. };
  229. // -------------------------------------------------------------------
  230. class Central_controller_statu_msg : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:message.Central_controller_statu_msg) */ {
  231. public:
  232. Central_controller_statu_msg();
  233. virtual ~Central_controller_statu_msg();
  234. Central_controller_statu_msg(const Central_controller_statu_msg& from);
  235. inline Central_controller_statu_msg& operator=(const Central_controller_statu_msg& from) {
  236. CopyFrom(from);
  237. return *this;
  238. }
  239. #if LANG_CXX11
  240. Central_controller_statu_msg(Central_controller_statu_msg&& from) noexcept
  241. : Central_controller_statu_msg() {
  242. *this = ::std::move(from);
  243. }
  244. inline Central_controller_statu_msg& operator=(Central_controller_statu_msg&& from) noexcept {
  245. if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
  246. if (this != &from) InternalSwap(&from);
  247. } else {
  248. CopyFrom(from);
  249. }
  250. return *this;
  251. }
  252. #endif
  253. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  254. return _internal_metadata_.unknown_fields();
  255. }
  256. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  257. return _internal_metadata_.mutable_unknown_fields();
  258. }
  259. static const ::google::protobuf::Descriptor* descriptor();
  260. static const Central_controller_statu_msg& default_instance();
  261. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  262. static inline const Central_controller_statu_msg* internal_default_instance() {
  263. return reinterpret_cast<const Central_controller_statu_msg*>(
  264. &_Central_controller_statu_msg_default_instance_);
  265. }
  266. static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
  267. 1;
  268. void Swap(Central_controller_statu_msg* other);
  269. friend void swap(Central_controller_statu_msg& a, Central_controller_statu_msg& b) {
  270. a.Swap(&b);
  271. }
  272. // implements Message ----------------------------------------------
  273. inline Central_controller_statu_msg* New() const PROTOBUF_FINAL { return New(NULL); }
  274. Central_controller_statu_msg* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
  275. void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  276. void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  277. void CopyFrom(const Central_controller_statu_msg& from);
  278. void MergeFrom(const Central_controller_statu_msg& from);
  279. void Clear() PROTOBUF_FINAL;
  280. bool IsInitialized() const PROTOBUF_FINAL;
  281. size_t ByteSizeLong() const PROTOBUF_FINAL;
  282. bool MergePartialFromCodedStream(
  283. ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
  284. void SerializeWithCachedSizes(
  285. ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
  286. ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
  287. bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
  288. int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
  289. private:
  290. void SharedCtor();
  291. void SharedDtor();
  292. void SetCachedSize(int size) const PROTOBUF_FINAL;
  293. void InternalSwap(Central_controller_statu_msg* other);
  294. private:
  295. inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
  296. return NULL;
  297. }
  298. inline void* MaybeArenaPtr() const {
  299. return NULL;
  300. }
  301. public:
  302. ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
  303. // nested types ----------------------------------------------------
  304. // accessors -------------------------------------------------------
  305. // repeated .message.Entrance_statu entrance_statu_vector = 2;
  306. int entrance_statu_vector_size() const;
  307. void clear_entrance_statu_vector();
  308. static const int kEntranceStatuVectorFieldNumber = 2;
  309. const ::message::Entrance_statu& entrance_statu_vector(int index) const;
  310. ::message::Entrance_statu* mutable_entrance_statu_vector(int index);
  311. ::message::Entrance_statu* add_entrance_statu_vector();
  312. ::google::protobuf::RepeatedPtrField< ::message::Entrance_statu >*
  313. mutable_entrance_statu_vector();
  314. const ::google::protobuf::RepeatedPtrField< ::message::Entrance_statu >&
  315. entrance_statu_vector() const;
  316. // repeated .message.Entrance_statu export_statu_vector = 3;
  317. int export_statu_vector_size() const;
  318. void clear_export_statu_vector();
  319. static const int kExportStatuVectorFieldNumber = 3;
  320. const ::message::Entrance_statu& export_statu_vector(int index) const;
  321. ::message::Entrance_statu* mutable_export_statu_vector(int index);
  322. ::message::Entrance_statu* add_export_statu_vector();
  323. ::google::protobuf::RepeatedPtrField< ::message::Entrance_statu >*
  324. mutable_export_statu_vector();
  325. const ::google::protobuf::RepeatedPtrField< ::message::Entrance_statu >&
  326. export_statu_vector() const;
  327. // required .message.Base_info base_info = 1;
  328. bool has_base_info() const;
  329. void clear_base_info();
  330. static const int kBaseInfoFieldNumber = 1;
  331. const ::message::Base_info& base_info() const;
  332. ::message::Base_info* release_base_info();
  333. ::message::Base_info* mutable_base_info();
  334. void set_allocated_base_info(::message::Base_info* base_info);
  335. // @@protoc_insertion_point(class_scope:message.Central_controller_statu_msg)
  336. private:
  337. void set_has_base_info();
  338. void clear_has_base_info();
  339. ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  340. ::google::protobuf::internal::HasBits<1> _has_bits_;
  341. mutable int _cached_size_;
  342. ::google::protobuf::RepeatedPtrField< ::message::Entrance_statu > entrance_statu_vector_;
  343. ::google::protobuf::RepeatedPtrField< ::message::Entrance_statu > export_statu_vector_;
  344. ::message::Base_info* base_info_;
  345. friend struct ::protobuf_central_5fcontrol_5fmessage_2eproto::TableStruct;
  346. friend void ::protobuf_central_5fcontrol_5fmessage_2eproto::InitDefaultsCentral_controller_statu_msgImpl();
  347. };
  348. // -------------------------------------------------------------------
  349. class Entrance_manual_operation_msg : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:message.Entrance_manual_operation_msg) */ {
  350. public:
  351. Entrance_manual_operation_msg();
  352. virtual ~Entrance_manual_operation_msg();
  353. Entrance_manual_operation_msg(const Entrance_manual_operation_msg& from);
  354. inline Entrance_manual_operation_msg& operator=(const Entrance_manual_operation_msg& from) {
  355. CopyFrom(from);
  356. return *this;
  357. }
  358. #if LANG_CXX11
  359. Entrance_manual_operation_msg(Entrance_manual_operation_msg&& from) noexcept
  360. : Entrance_manual_operation_msg() {
  361. *this = ::std::move(from);
  362. }
  363. inline Entrance_manual_operation_msg& operator=(Entrance_manual_operation_msg&& from) noexcept {
  364. if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
  365. if (this != &from) InternalSwap(&from);
  366. } else {
  367. CopyFrom(from);
  368. }
  369. return *this;
  370. }
  371. #endif
  372. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  373. return _internal_metadata_.unknown_fields();
  374. }
  375. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  376. return _internal_metadata_.mutable_unknown_fields();
  377. }
  378. static const ::google::protobuf::Descriptor* descriptor();
  379. static const Entrance_manual_operation_msg& default_instance();
  380. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  381. static inline const Entrance_manual_operation_msg* internal_default_instance() {
  382. return reinterpret_cast<const Entrance_manual_operation_msg*>(
  383. &_Entrance_manual_operation_msg_default_instance_);
  384. }
  385. static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
  386. 2;
  387. void Swap(Entrance_manual_operation_msg* other);
  388. friend void swap(Entrance_manual_operation_msg& a, Entrance_manual_operation_msg& b) {
  389. a.Swap(&b);
  390. }
  391. // implements Message ----------------------------------------------
  392. inline Entrance_manual_operation_msg* New() const PROTOBUF_FINAL { return New(NULL); }
  393. Entrance_manual_operation_msg* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
  394. void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  395. void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  396. void CopyFrom(const Entrance_manual_operation_msg& from);
  397. void MergeFrom(const Entrance_manual_operation_msg& from);
  398. void Clear() PROTOBUF_FINAL;
  399. bool IsInitialized() const PROTOBUF_FINAL;
  400. size_t ByteSizeLong() const PROTOBUF_FINAL;
  401. bool MergePartialFromCodedStream(
  402. ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
  403. void SerializeWithCachedSizes(
  404. ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
  405. ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
  406. bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
  407. int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
  408. private:
  409. void SharedCtor();
  410. void SharedDtor();
  411. void SetCachedSize(int size) const PROTOBUF_FINAL;
  412. void InternalSwap(Entrance_manual_operation_msg* other);
  413. private:
  414. inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
  415. return NULL;
  416. }
  417. inline void* MaybeArenaPtr() const {
  418. return NULL;
  419. }
  420. public:
  421. ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
  422. // nested types ----------------------------------------------------
  423. // accessors -------------------------------------------------------
  424. // required .message.Base_info base_info = 1;
  425. bool has_base_info() const;
  426. void clear_base_info();
  427. static const int kBaseInfoFieldNumber = 1;
  428. const ::message::Base_info& base_info() const;
  429. ::message::Base_info* release_base_info();
  430. ::message::Base_info* mutable_base_info();
  431. void set_allocated_base_info(::message::Base_info* base_info);
  432. // required .message.Id_struct id_struct = 2;
  433. bool has_id_struct() const;
  434. void clear_id_struct();
  435. static const int kIdStructFieldNumber = 2;
  436. const ::message::Id_struct& id_struct() const;
  437. ::message::Id_struct* release_id_struct();
  438. ::message::Id_struct* mutable_id_struct();
  439. void set_allocated_id_struct(::message::Id_struct* id_struct);
  440. // required bool paused = 4;
  441. bool has_paused() const;
  442. void clear_paused();
  443. static const int kPausedFieldNumber = 4;
  444. bool paused() const;
  445. void set_paused(bool value);
  446. // required .message.Process_type process_type = 3;
  447. bool has_process_type() const;
  448. void clear_process_type();
  449. static const int kProcessTypeFieldNumber = 3;
  450. ::message::Process_type process_type() const;
  451. void set_process_type(::message::Process_type value);
  452. // @@protoc_insertion_point(class_scope:message.Entrance_manual_operation_msg)
  453. private:
  454. void set_has_base_info();
  455. void clear_has_base_info();
  456. void set_has_id_struct();
  457. void clear_has_id_struct();
  458. void set_has_process_type();
  459. void clear_has_process_type();
  460. void set_has_paused();
  461. void clear_has_paused();
  462. // helper for ByteSizeLong()
  463. size_t RequiredFieldsByteSizeFallback() const;
  464. ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  465. ::google::protobuf::internal::HasBits<1> _has_bits_;
  466. mutable int _cached_size_;
  467. ::message::Base_info* base_info_;
  468. ::message::Id_struct* id_struct_;
  469. bool paused_;
  470. int process_type_;
  471. friend struct ::protobuf_central_5fcontrol_5fmessage_2eproto::TableStruct;
  472. friend void ::protobuf_central_5fcontrol_5fmessage_2eproto::InitDefaultsEntrance_manual_operation_msgImpl();
  473. };
  474. // -------------------------------------------------------------------
  475. class Process_manual_operation_msg : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:message.Process_manual_operation_msg) */ {
  476. public:
  477. Process_manual_operation_msg();
  478. virtual ~Process_manual_operation_msg();
  479. Process_manual_operation_msg(const Process_manual_operation_msg& from);
  480. inline Process_manual_operation_msg& operator=(const Process_manual_operation_msg& from) {
  481. CopyFrom(from);
  482. return *this;
  483. }
  484. #if LANG_CXX11
  485. Process_manual_operation_msg(Process_manual_operation_msg&& from) noexcept
  486. : Process_manual_operation_msg() {
  487. *this = ::std::move(from);
  488. }
  489. inline Process_manual_operation_msg& operator=(Process_manual_operation_msg&& from) noexcept {
  490. if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
  491. if (this != &from) InternalSwap(&from);
  492. } else {
  493. CopyFrom(from);
  494. }
  495. return *this;
  496. }
  497. #endif
  498. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  499. return _internal_metadata_.unknown_fields();
  500. }
  501. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  502. return _internal_metadata_.mutable_unknown_fields();
  503. }
  504. static const ::google::protobuf::Descriptor* descriptor();
  505. static const Process_manual_operation_msg& default_instance();
  506. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  507. static inline const Process_manual_operation_msg* internal_default_instance() {
  508. return reinterpret_cast<const Process_manual_operation_msg*>(
  509. &_Process_manual_operation_msg_default_instance_);
  510. }
  511. static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
  512. 3;
  513. void Swap(Process_manual_operation_msg* other);
  514. friend void swap(Process_manual_operation_msg& a, Process_manual_operation_msg& b) {
  515. a.Swap(&b);
  516. }
  517. // implements Message ----------------------------------------------
  518. inline Process_manual_operation_msg* New() const PROTOBUF_FINAL { return New(NULL); }
  519. Process_manual_operation_msg* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
  520. void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  521. void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  522. void CopyFrom(const Process_manual_operation_msg& from);
  523. void MergeFrom(const Process_manual_operation_msg& from);
  524. void Clear() PROTOBUF_FINAL;
  525. bool IsInitialized() const PROTOBUF_FINAL;
  526. size_t ByteSizeLong() const PROTOBUF_FINAL;
  527. bool MergePartialFromCodedStream(
  528. ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
  529. void SerializeWithCachedSizes(
  530. ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
  531. ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
  532. bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
  533. int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
  534. private:
  535. void SharedCtor();
  536. void SharedDtor();
  537. void SetCachedSize(int size) const PROTOBUF_FINAL;
  538. void InternalSwap(Process_manual_operation_msg* other);
  539. private:
  540. inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
  541. return NULL;
  542. }
  543. inline void* MaybeArenaPtr() const {
  544. return NULL;
  545. }
  546. public:
  547. ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
  548. // nested types ----------------------------------------------------
  549. // accessors -------------------------------------------------------
  550. // required string license = 2;
  551. bool has_license() const;
  552. void clear_license();
  553. static const int kLicenseFieldNumber = 2;
  554. const ::std::string& license() const;
  555. void set_license(const ::std::string& value);
  556. #if LANG_CXX11
  557. void set_license(::std::string&& value);
  558. #endif
  559. void set_license(const char* value);
  560. void set_license(const char* value, size_t size);
  561. ::std::string* mutable_license();
  562. ::std::string* release_license();
  563. void set_allocated_license(::std::string* license);
  564. // required .message.Base_info base_info = 1;
  565. bool has_base_info() const;
  566. void clear_base_info();
  567. static const int kBaseInfoFieldNumber = 1;
  568. const ::message::Base_info& base_info() const;
  569. ::message::Base_info* release_base_info();
  570. ::message::Base_info* mutable_base_info();
  571. void set_allocated_base_info(::message::Base_info* base_info);
  572. // required .message.Step_type step_type = 3;
  573. bool has_step_type() const;
  574. void clear_step_type();
  575. static const int kStepTypeFieldNumber = 3;
  576. ::message::Step_type step_type() const;
  577. void set_step_type(::message::Step_type value);
  578. // required .message.Process_operation_type operate_type = 4;
  579. bool has_operate_type() const;
  580. void clear_operate_type();
  581. static const int kOperateTypeFieldNumber = 4;
  582. ::message::Process_operation_type operate_type() const;
  583. void set_operate_type(::message::Process_operation_type value);
  584. // @@protoc_insertion_point(class_scope:message.Process_manual_operation_msg)
  585. private:
  586. void set_has_base_info();
  587. void clear_has_base_info();
  588. void set_has_license();
  589. void clear_has_license();
  590. void set_has_step_type();
  591. void clear_has_step_type();
  592. void set_has_operate_type();
  593. void clear_has_operate_type();
  594. // helper for ByteSizeLong()
  595. size_t RequiredFieldsByteSizeFallback() const;
  596. ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  597. ::google::protobuf::internal::HasBits<1> _has_bits_;
  598. mutable int _cached_size_;
  599. ::google::protobuf::internal::ArenaStringPtr license_;
  600. ::message::Base_info* base_info_;
  601. int step_type_;
  602. int operate_type_;
  603. friend struct ::protobuf_central_5fcontrol_5fmessage_2eproto::TableStruct;
  604. friend void ::protobuf_central_5fcontrol_5fmessage_2eproto::InitDefaultsProcess_manual_operation_msgImpl();
  605. };
  606. // ===================================================================
  607. // ===================================================================
  608. #ifdef __GNUC__
  609. #pragma GCC diagnostic push
  610. #pragma GCC diagnostic ignored "-Wstrict-aliasing"
  611. #endif // __GNUC__
  612. // Entrance_statu
  613. // required bool paused = 1;
  614. inline bool Entrance_statu::has_paused() const {
  615. return (_has_bits_[0] & 0x00000001u) != 0;
  616. }
  617. inline void Entrance_statu::set_has_paused() {
  618. _has_bits_[0] |= 0x00000001u;
  619. }
  620. inline void Entrance_statu::clear_has_paused() {
  621. _has_bits_[0] &= ~0x00000001u;
  622. }
  623. inline void Entrance_statu::clear_paused() {
  624. paused_ = false;
  625. clear_has_paused();
  626. }
  627. inline bool Entrance_statu::paused() const {
  628. // @@protoc_insertion_point(field_get:message.Entrance_statu.paused)
  629. return paused_;
  630. }
  631. inline void Entrance_statu::set_paused(bool value) {
  632. set_has_paused();
  633. paused_ = value;
  634. // @@protoc_insertion_point(field_set:message.Entrance_statu.paused)
  635. }
  636. // optional .message.Module_statu parkspace_statu = 2;
  637. inline bool Entrance_statu::has_parkspace_statu() const {
  638. return (_has_bits_[0] & 0x00000002u) != 0;
  639. }
  640. inline void Entrance_statu::set_has_parkspace_statu() {
  641. _has_bits_[0] |= 0x00000002u;
  642. }
  643. inline void Entrance_statu::clear_has_parkspace_statu() {
  644. _has_bits_[0] &= ~0x00000002u;
  645. }
  646. inline void Entrance_statu::clear_parkspace_statu() {
  647. parkspace_statu_ = 0;
  648. clear_has_parkspace_statu();
  649. }
  650. inline ::message::Module_statu Entrance_statu::parkspace_statu() const {
  651. // @@protoc_insertion_point(field_get:message.Entrance_statu.parkspace_statu)
  652. return static_cast< ::message::Module_statu >(parkspace_statu_);
  653. }
  654. inline void Entrance_statu::set_parkspace_statu(::message::Module_statu value) {
  655. assert(::message::Module_statu_IsValid(value));
  656. set_has_parkspace_statu();
  657. parkspace_statu_ = value;
  658. // @@protoc_insertion_point(field_set:message.Entrance_statu.parkspace_statu)
  659. }
  660. // optional .message.Module_statu dispatch_statu = 3;
  661. inline bool Entrance_statu::has_dispatch_statu() const {
  662. return (_has_bits_[0] & 0x00000004u) != 0;
  663. }
  664. inline void Entrance_statu::set_has_dispatch_statu() {
  665. _has_bits_[0] |= 0x00000004u;
  666. }
  667. inline void Entrance_statu::clear_has_dispatch_statu() {
  668. _has_bits_[0] &= ~0x00000004u;
  669. }
  670. inline void Entrance_statu::clear_dispatch_statu() {
  671. dispatch_statu_ = 0;
  672. clear_has_dispatch_statu();
  673. }
  674. inline ::message::Module_statu Entrance_statu::dispatch_statu() const {
  675. // @@protoc_insertion_point(field_get:message.Entrance_statu.dispatch_statu)
  676. return static_cast< ::message::Module_statu >(dispatch_statu_);
  677. }
  678. inline void Entrance_statu::set_dispatch_statu(::message::Module_statu value) {
  679. assert(::message::Module_statu_IsValid(value));
  680. set_has_dispatch_statu();
  681. dispatch_statu_ = value;
  682. // @@protoc_insertion_point(field_set:message.Entrance_statu.dispatch_statu)
  683. }
  684. // optional .message.Module_statu notify_statu = 4;
  685. inline bool Entrance_statu::has_notify_statu() const {
  686. return (_has_bits_[0] & 0x00000008u) != 0;
  687. }
  688. inline void Entrance_statu::set_has_notify_statu() {
  689. _has_bits_[0] |= 0x00000008u;
  690. }
  691. inline void Entrance_statu::clear_has_notify_statu() {
  692. _has_bits_[0] &= ~0x00000008u;
  693. }
  694. inline void Entrance_statu::clear_notify_statu() {
  695. notify_statu_ = 0;
  696. clear_has_notify_statu();
  697. }
  698. inline ::message::Module_statu Entrance_statu::notify_statu() const {
  699. // @@protoc_insertion_point(field_get:message.Entrance_statu.notify_statu)
  700. return static_cast< ::message::Module_statu >(notify_statu_);
  701. }
  702. inline void Entrance_statu::set_notify_statu(::message::Module_statu value) {
  703. assert(::message::Module_statu_IsValid(value));
  704. set_has_notify_statu();
  705. notify_statu_ = value;
  706. // @@protoc_insertion_point(field_set:message.Entrance_statu.notify_statu)
  707. }
  708. // -------------------------------------------------------------------
  709. // Central_controller_statu_msg
  710. // required .message.Base_info base_info = 1;
  711. inline bool Central_controller_statu_msg::has_base_info() const {
  712. return (_has_bits_[0] & 0x00000001u) != 0;
  713. }
  714. inline void Central_controller_statu_msg::set_has_base_info() {
  715. _has_bits_[0] |= 0x00000001u;
  716. }
  717. inline void Central_controller_statu_msg::clear_has_base_info() {
  718. _has_bits_[0] &= ~0x00000001u;
  719. }
  720. inline const ::message::Base_info& Central_controller_statu_msg::base_info() const {
  721. const ::message::Base_info* p = base_info_;
  722. // @@protoc_insertion_point(field_get:message.Central_controller_statu_msg.base_info)
  723. return p != NULL ? *p : *reinterpret_cast<const ::message::Base_info*>(
  724. &::message::_Base_info_default_instance_);
  725. }
  726. inline ::message::Base_info* Central_controller_statu_msg::release_base_info() {
  727. // @@protoc_insertion_point(field_release:message.Central_controller_statu_msg.base_info)
  728. clear_has_base_info();
  729. ::message::Base_info* temp = base_info_;
  730. base_info_ = NULL;
  731. return temp;
  732. }
  733. inline ::message::Base_info* Central_controller_statu_msg::mutable_base_info() {
  734. set_has_base_info();
  735. if (base_info_ == NULL) {
  736. base_info_ = new ::message::Base_info;
  737. }
  738. // @@protoc_insertion_point(field_mutable:message.Central_controller_statu_msg.base_info)
  739. return base_info_;
  740. }
  741. inline void Central_controller_statu_msg::set_allocated_base_info(::message::Base_info* base_info) {
  742. ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  743. if (message_arena == NULL) {
  744. delete reinterpret_cast< ::google::protobuf::MessageLite*>(base_info_);
  745. }
  746. if (base_info) {
  747. ::google::protobuf::Arena* submessage_arena = NULL;
  748. if (message_arena != submessage_arena) {
  749. base_info = ::google::protobuf::internal::GetOwnedMessage(
  750. message_arena, base_info, submessage_arena);
  751. }
  752. set_has_base_info();
  753. } else {
  754. clear_has_base_info();
  755. }
  756. base_info_ = base_info;
  757. // @@protoc_insertion_point(field_set_allocated:message.Central_controller_statu_msg.base_info)
  758. }
  759. // repeated .message.Entrance_statu entrance_statu_vector = 2;
  760. inline int Central_controller_statu_msg::entrance_statu_vector_size() const {
  761. return entrance_statu_vector_.size();
  762. }
  763. inline void Central_controller_statu_msg::clear_entrance_statu_vector() {
  764. entrance_statu_vector_.Clear();
  765. }
  766. inline const ::message::Entrance_statu& Central_controller_statu_msg::entrance_statu_vector(int index) const {
  767. // @@protoc_insertion_point(field_get:message.Central_controller_statu_msg.entrance_statu_vector)
  768. return entrance_statu_vector_.Get(index);
  769. }
  770. inline ::message::Entrance_statu* Central_controller_statu_msg::mutable_entrance_statu_vector(int index) {
  771. // @@protoc_insertion_point(field_mutable:message.Central_controller_statu_msg.entrance_statu_vector)
  772. return entrance_statu_vector_.Mutable(index);
  773. }
  774. inline ::message::Entrance_statu* Central_controller_statu_msg::add_entrance_statu_vector() {
  775. // @@protoc_insertion_point(field_add:message.Central_controller_statu_msg.entrance_statu_vector)
  776. return entrance_statu_vector_.Add();
  777. }
  778. inline ::google::protobuf::RepeatedPtrField< ::message::Entrance_statu >*
  779. Central_controller_statu_msg::mutable_entrance_statu_vector() {
  780. // @@protoc_insertion_point(field_mutable_list:message.Central_controller_statu_msg.entrance_statu_vector)
  781. return &entrance_statu_vector_;
  782. }
  783. inline const ::google::protobuf::RepeatedPtrField< ::message::Entrance_statu >&
  784. Central_controller_statu_msg::entrance_statu_vector() const {
  785. // @@protoc_insertion_point(field_list:message.Central_controller_statu_msg.entrance_statu_vector)
  786. return entrance_statu_vector_;
  787. }
  788. // repeated .message.Entrance_statu export_statu_vector = 3;
  789. inline int Central_controller_statu_msg::export_statu_vector_size() const {
  790. return export_statu_vector_.size();
  791. }
  792. inline void Central_controller_statu_msg::clear_export_statu_vector() {
  793. export_statu_vector_.Clear();
  794. }
  795. inline const ::message::Entrance_statu& Central_controller_statu_msg::export_statu_vector(int index) const {
  796. // @@protoc_insertion_point(field_get:message.Central_controller_statu_msg.export_statu_vector)
  797. return export_statu_vector_.Get(index);
  798. }
  799. inline ::message::Entrance_statu* Central_controller_statu_msg::mutable_export_statu_vector(int index) {
  800. // @@protoc_insertion_point(field_mutable:message.Central_controller_statu_msg.export_statu_vector)
  801. return export_statu_vector_.Mutable(index);
  802. }
  803. inline ::message::Entrance_statu* Central_controller_statu_msg::add_export_statu_vector() {
  804. // @@protoc_insertion_point(field_add:message.Central_controller_statu_msg.export_statu_vector)
  805. return export_statu_vector_.Add();
  806. }
  807. inline ::google::protobuf::RepeatedPtrField< ::message::Entrance_statu >*
  808. Central_controller_statu_msg::mutable_export_statu_vector() {
  809. // @@protoc_insertion_point(field_mutable_list:message.Central_controller_statu_msg.export_statu_vector)
  810. return &export_statu_vector_;
  811. }
  812. inline const ::google::protobuf::RepeatedPtrField< ::message::Entrance_statu >&
  813. Central_controller_statu_msg::export_statu_vector() const {
  814. // @@protoc_insertion_point(field_list:message.Central_controller_statu_msg.export_statu_vector)
  815. return export_statu_vector_;
  816. }
  817. // -------------------------------------------------------------------
  818. // Entrance_manual_operation_msg
  819. // required .message.Base_info base_info = 1;
  820. inline bool Entrance_manual_operation_msg::has_base_info() const {
  821. return (_has_bits_[0] & 0x00000001u) != 0;
  822. }
  823. inline void Entrance_manual_operation_msg::set_has_base_info() {
  824. _has_bits_[0] |= 0x00000001u;
  825. }
  826. inline void Entrance_manual_operation_msg::clear_has_base_info() {
  827. _has_bits_[0] &= ~0x00000001u;
  828. }
  829. inline const ::message::Base_info& Entrance_manual_operation_msg::base_info() const {
  830. const ::message::Base_info* p = base_info_;
  831. // @@protoc_insertion_point(field_get:message.Entrance_manual_operation_msg.base_info)
  832. return p != NULL ? *p : *reinterpret_cast<const ::message::Base_info*>(
  833. &::message::_Base_info_default_instance_);
  834. }
  835. inline ::message::Base_info* Entrance_manual_operation_msg::release_base_info() {
  836. // @@protoc_insertion_point(field_release:message.Entrance_manual_operation_msg.base_info)
  837. clear_has_base_info();
  838. ::message::Base_info* temp = base_info_;
  839. base_info_ = NULL;
  840. return temp;
  841. }
  842. inline ::message::Base_info* Entrance_manual_operation_msg::mutable_base_info() {
  843. set_has_base_info();
  844. if (base_info_ == NULL) {
  845. base_info_ = new ::message::Base_info;
  846. }
  847. // @@protoc_insertion_point(field_mutable:message.Entrance_manual_operation_msg.base_info)
  848. return base_info_;
  849. }
  850. inline void Entrance_manual_operation_msg::set_allocated_base_info(::message::Base_info* base_info) {
  851. ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  852. if (message_arena == NULL) {
  853. delete reinterpret_cast< ::google::protobuf::MessageLite*>(base_info_);
  854. }
  855. if (base_info) {
  856. ::google::protobuf::Arena* submessage_arena = NULL;
  857. if (message_arena != submessage_arena) {
  858. base_info = ::google::protobuf::internal::GetOwnedMessage(
  859. message_arena, base_info, submessage_arena);
  860. }
  861. set_has_base_info();
  862. } else {
  863. clear_has_base_info();
  864. }
  865. base_info_ = base_info;
  866. // @@protoc_insertion_point(field_set_allocated:message.Entrance_manual_operation_msg.base_info)
  867. }
  868. // required .message.Id_struct id_struct = 2;
  869. inline bool Entrance_manual_operation_msg::has_id_struct() const {
  870. return (_has_bits_[0] & 0x00000002u) != 0;
  871. }
  872. inline void Entrance_manual_operation_msg::set_has_id_struct() {
  873. _has_bits_[0] |= 0x00000002u;
  874. }
  875. inline void Entrance_manual_operation_msg::clear_has_id_struct() {
  876. _has_bits_[0] &= ~0x00000002u;
  877. }
  878. inline const ::message::Id_struct& Entrance_manual_operation_msg::id_struct() const {
  879. const ::message::Id_struct* p = id_struct_;
  880. // @@protoc_insertion_point(field_get:message.Entrance_manual_operation_msg.id_struct)
  881. return p != NULL ? *p : *reinterpret_cast<const ::message::Id_struct*>(
  882. &::message::_Id_struct_default_instance_);
  883. }
  884. inline ::message::Id_struct* Entrance_manual_operation_msg::release_id_struct() {
  885. // @@protoc_insertion_point(field_release:message.Entrance_manual_operation_msg.id_struct)
  886. clear_has_id_struct();
  887. ::message::Id_struct* temp = id_struct_;
  888. id_struct_ = NULL;
  889. return temp;
  890. }
  891. inline ::message::Id_struct* Entrance_manual_operation_msg::mutable_id_struct() {
  892. set_has_id_struct();
  893. if (id_struct_ == NULL) {
  894. id_struct_ = new ::message::Id_struct;
  895. }
  896. // @@protoc_insertion_point(field_mutable:message.Entrance_manual_operation_msg.id_struct)
  897. return id_struct_;
  898. }
  899. inline void Entrance_manual_operation_msg::set_allocated_id_struct(::message::Id_struct* id_struct) {
  900. ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  901. if (message_arena == NULL) {
  902. delete reinterpret_cast< ::google::protobuf::MessageLite*>(id_struct_);
  903. }
  904. if (id_struct) {
  905. ::google::protobuf::Arena* submessage_arena = NULL;
  906. if (message_arena != submessage_arena) {
  907. id_struct = ::google::protobuf::internal::GetOwnedMessage(
  908. message_arena, id_struct, submessage_arena);
  909. }
  910. set_has_id_struct();
  911. } else {
  912. clear_has_id_struct();
  913. }
  914. id_struct_ = id_struct;
  915. // @@protoc_insertion_point(field_set_allocated:message.Entrance_manual_operation_msg.id_struct)
  916. }
  917. // required .message.Process_type process_type = 3;
  918. inline bool Entrance_manual_operation_msg::has_process_type() const {
  919. return (_has_bits_[0] & 0x00000008u) != 0;
  920. }
  921. inline void Entrance_manual_operation_msg::set_has_process_type() {
  922. _has_bits_[0] |= 0x00000008u;
  923. }
  924. inline void Entrance_manual_operation_msg::clear_has_process_type() {
  925. _has_bits_[0] &= ~0x00000008u;
  926. }
  927. inline void Entrance_manual_operation_msg::clear_process_type() {
  928. process_type_ = 1;
  929. clear_has_process_type();
  930. }
  931. inline ::message::Process_type Entrance_manual_operation_msg::process_type() const {
  932. // @@protoc_insertion_point(field_get:message.Entrance_manual_operation_msg.process_type)
  933. return static_cast< ::message::Process_type >(process_type_);
  934. }
  935. inline void Entrance_manual_operation_msg::set_process_type(::message::Process_type value) {
  936. assert(::message::Process_type_IsValid(value));
  937. set_has_process_type();
  938. process_type_ = value;
  939. // @@protoc_insertion_point(field_set:message.Entrance_manual_operation_msg.process_type)
  940. }
  941. // required bool paused = 4;
  942. inline bool Entrance_manual_operation_msg::has_paused() const {
  943. return (_has_bits_[0] & 0x00000004u) != 0;
  944. }
  945. inline void Entrance_manual_operation_msg::set_has_paused() {
  946. _has_bits_[0] |= 0x00000004u;
  947. }
  948. inline void Entrance_manual_operation_msg::clear_has_paused() {
  949. _has_bits_[0] &= ~0x00000004u;
  950. }
  951. inline void Entrance_manual_operation_msg::clear_paused() {
  952. paused_ = false;
  953. clear_has_paused();
  954. }
  955. inline bool Entrance_manual_operation_msg::paused() const {
  956. // @@protoc_insertion_point(field_get:message.Entrance_manual_operation_msg.paused)
  957. return paused_;
  958. }
  959. inline void Entrance_manual_operation_msg::set_paused(bool value) {
  960. set_has_paused();
  961. paused_ = value;
  962. // @@protoc_insertion_point(field_set:message.Entrance_manual_operation_msg.paused)
  963. }
  964. // -------------------------------------------------------------------
  965. // Process_manual_operation_msg
  966. // required .message.Base_info base_info = 1;
  967. inline bool Process_manual_operation_msg::has_base_info() const {
  968. return (_has_bits_[0] & 0x00000002u) != 0;
  969. }
  970. inline void Process_manual_operation_msg::set_has_base_info() {
  971. _has_bits_[0] |= 0x00000002u;
  972. }
  973. inline void Process_manual_operation_msg::clear_has_base_info() {
  974. _has_bits_[0] &= ~0x00000002u;
  975. }
  976. inline const ::message::Base_info& Process_manual_operation_msg::base_info() const {
  977. const ::message::Base_info* p = base_info_;
  978. // @@protoc_insertion_point(field_get:message.Process_manual_operation_msg.base_info)
  979. return p != NULL ? *p : *reinterpret_cast<const ::message::Base_info*>(
  980. &::message::_Base_info_default_instance_);
  981. }
  982. inline ::message::Base_info* Process_manual_operation_msg::release_base_info() {
  983. // @@protoc_insertion_point(field_release:message.Process_manual_operation_msg.base_info)
  984. clear_has_base_info();
  985. ::message::Base_info* temp = base_info_;
  986. base_info_ = NULL;
  987. return temp;
  988. }
  989. inline ::message::Base_info* Process_manual_operation_msg::mutable_base_info() {
  990. set_has_base_info();
  991. if (base_info_ == NULL) {
  992. base_info_ = new ::message::Base_info;
  993. }
  994. // @@protoc_insertion_point(field_mutable:message.Process_manual_operation_msg.base_info)
  995. return base_info_;
  996. }
  997. inline void Process_manual_operation_msg::set_allocated_base_info(::message::Base_info* base_info) {
  998. ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  999. if (message_arena == NULL) {
  1000. delete reinterpret_cast< ::google::protobuf::MessageLite*>(base_info_);
  1001. }
  1002. if (base_info) {
  1003. ::google::protobuf::Arena* submessage_arena = NULL;
  1004. if (message_arena != submessage_arena) {
  1005. base_info = ::google::protobuf::internal::GetOwnedMessage(
  1006. message_arena, base_info, submessage_arena);
  1007. }
  1008. set_has_base_info();
  1009. } else {
  1010. clear_has_base_info();
  1011. }
  1012. base_info_ = base_info;
  1013. // @@protoc_insertion_point(field_set_allocated:message.Process_manual_operation_msg.base_info)
  1014. }
  1015. // required string license = 2;
  1016. inline bool Process_manual_operation_msg::has_license() const {
  1017. return (_has_bits_[0] & 0x00000001u) != 0;
  1018. }
  1019. inline void Process_manual_operation_msg::set_has_license() {
  1020. _has_bits_[0] |= 0x00000001u;
  1021. }
  1022. inline void Process_manual_operation_msg::clear_has_license() {
  1023. _has_bits_[0] &= ~0x00000001u;
  1024. }
  1025. inline void Process_manual_operation_msg::clear_license() {
  1026. license_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1027. clear_has_license();
  1028. }
  1029. inline const ::std::string& Process_manual_operation_msg::license() const {
  1030. // @@protoc_insertion_point(field_get:message.Process_manual_operation_msg.license)
  1031. return license_.GetNoArena();
  1032. }
  1033. inline void Process_manual_operation_msg::set_license(const ::std::string& value) {
  1034. set_has_license();
  1035. license_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  1036. // @@protoc_insertion_point(field_set:message.Process_manual_operation_msg.license)
  1037. }
  1038. #if LANG_CXX11
  1039. inline void Process_manual_operation_msg::set_license(::std::string&& value) {
  1040. set_has_license();
  1041. license_.SetNoArena(
  1042. &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
  1043. // @@protoc_insertion_point(field_set_rvalue:message.Process_manual_operation_msg.license)
  1044. }
  1045. #endif
  1046. inline void Process_manual_operation_msg::set_license(const char* value) {
  1047. GOOGLE_DCHECK(value != NULL);
  1048. set_has_license();
  1049. license_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  1050. // @@protoc_insertion_point(field_set_char:message.Process_manual_operation_msg.license)
  1051. }
  1052. inline void Process_manual_operation_msg::set_license(const char* value, size_t size) {
  1053. set_has_license();
  1054. license_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  1055. ::std::string(reinterpret_cast<const char*>(value), size));
  1056. // @@protoc_insertion_point(field_set_pointer:message.Process_manual_operation_msg.license)
  1057. }
  1058. inline ::std::string* Process_manual_operation_msg::mutable_license() {
  1059. set_has_license();
  1060. // @@protoc_insertion_point(field_mutable:message.Process_manual_operation_msg.license)
  1061. return license_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1062. }
  1063. inline ::std::string* Process_manual_operation_msg::release_license() {
  1064. // @@protoc_insertion_point(field_release:message.Process_manual_operation_msg.license)
  1065. clear_has_license();
  1066. return license_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1067. }
  1068. inline void Process_manual_operation_msg::set_allocated_license(::std::string* license) {
  1069. if (license != NULL) {
  1070. set_has_license();
  1071. } else {
  1072. clear_has_license();
  1073. }
  1074. license_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), license);
  1075. // @@protoc_insertion_point(field_set_allocated:message.Process_manual_operation_msg.license)
  1076. }
  1077. // required .message.Step_type step_type = 3;
  1078. inline bool Process_manual_operation_msg::has_step_type() const {
  1079. return (_has_bits_[0] & 0x00000004u) != 0;
  1080. }
  1081. inline void Process_manual_operation_msg::set_has_step_type() {
  1082. _has_bits_[0] |= 0x00000004u;
  1083. }
  1084. inline void Process_manual_operation_msg::clear_has_step_type() {
  1085. _has_bits_[0] &= ~0x00000004u;
  1086. }
  1087. inline void Process_manual_operation_msg::clear_step_type() {
  1088. step_type_ = 0;
  1089. clear_has_step_type();
  1090. }
  1091. inline ::message::Step_type Process_manual_operation_msg::step_type() const {
  1092. // @@protoc_insertion_point(field_get:message.Process_manual_operation_msg.step_type)
  1093. return static_cast< ::message::Step_type >(step_type_);
  1094. }
  1095. inline void Process_manual_operation_msg::set_step_type(::message::Step_type value) {
  1096. assert(::message::Step_type_IsValid(value));
  1097. set_has_step_type();
  1098. step_type_ = value;
  1099. // @@protoc_insertion_point(field_set:message.Process_manual_operation_msg.step_type)
  1100. }
  1101. // required .message.Process_operation_type operate_type = 4;
  1102. inline bool Process_manual_operation_msg::has_operate_type() const {
  1103. return (_has_bits_[0] & 0x00000008u) != 0;
  1104. }
  1105. inline void Process_manual_operation_msg::set_has_operate_type() {
  1106. _has_bits_[0] |= 0x00000008u;
  1107. }
  1108. inline void Process_manual_operation_msg::clear_has_operate_type() {
  1109. _has_bits_[0] &= ~0x00000008u;
  1110. }
  1111. inline void Process_manual_operation_msg::clear_operate_type() {
  1112. operate_type_ = 0;
  1113. clear_has_operate_type();
  1114. }
  1115. inline ::message::Process_operation_type Process_manual_operation_msg::operate_type() const {
  1116. // @@protoc_insertion_point(field_get:message.Process_manual_operation_msg.operate_type)
  1117. return static_cast< ::message::Process_operation_type >(operate_type_);
  1118. }
  1119. inline void Process_manual_operation_msg::set_operate_type(::message::Process_operation_type value) {
  1120. assert(::message::Process_operation_type_IsValid(value));
  1121. set_has_operate_type();
  1122. operate_type_ = value;
  1123. // @@protoc_insertion_point(field_set:message.Process_manual_operation_msg.operate_type)
  1124. }
  1125. #ifdef __GNUC__
  1126. #pragma GCC diagnostic pop
  1127. #endif // __GNUC__
  1128. // -------------------------------------------------------------------
  1129. // -------------------------------------------------------------------
  1130. // -------------------------------------------------------------------
  1131. // @@protoc_insertion_point(namespace_scope)
  1132. } // namespace message
  1133. namespace google {
  1134. namespace protobuf {
  1135. template <> struct is_proto_enum< ::message::Process_operation_type> : ::google::protobuf::internal::true_type {};
  1136. template <>
  1137. inline const EnumDescriptor* GetEnumDescriptor< ::message::Process_operation_type>() {
  1138. return ::message::Process_operation_type_descriptor();
  1139. }
  1140. template <> struct is_proto_enum< ::message::Module_statu> : ::google::protobuf::internal::true_type {};
  1141. template <>
  1142. inline const EnumDescriptor* GetEnumDescriptor< ::message::Module_statu>() {
  1143. return ::message::Module_statu_descriptor();
  1144. }
  1145. } // namespace protobuf
  1146. } // namespace google
  1147. // @@protoc_insertion_point(global_scope)
  1148. #endif // PROTOBUF_central_5fcontrol_5fmessage_2eproto__INCLUDED