central_control_message.pb.h 48 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245
  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 measure_statu = 3;
  198. bool has_measure_statu() const;
  199. void clear_measure_statu();
  200. static const int kMeasureStatuFieldNumber = 3;
  201. ::message::Module_statu measure_statu() const;
  202. void set_measure_statu(::message::Module_statu value);
  203. // optional .message.Module_statu dispatch_statu = 4;
  204. bool has_dispatch_statu() const;
  205. void clear_dispatch_statu();
  206. static const int kDispatchStatuFieldNumber = 4;
  207. ::message::Module_statu dispatch_statu() const;
  208. void set_dispatch_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_measure_statu();
  216. void clear_has_measure_statu();
  217. void set_has_dispatch_statu();
  218. void clear_has_dispatch_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 measure_statu_;
  225. int dispatch_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 int32 terminal_id = 2;
  433. bool has_terminal_id() const;
  434. void clear_terminal_id();
  435. static const int kTerminalIdFieldNumber = 2;
  436. ::google::protobuf::int32 terminal_id() const;
  437. void set_terminal_id(::google::protobuf::int32 value);
  438. // required bool paused = 4;
  439. bool has_paused() const;
  440. void clear_paused();
  441. static const int kPausedFieldNumber = 4;
  442. bool paused() const;
  443. void set_paused(bool value);
  444. // required .message.Process_type process_type = 3;
  445. bool has_process_type() const;
  446. void clear_process_type();
  447. static const int kProcessTypeFieldNumber = 3;
  448. ::message::Process_type process_type() const;
  449. void set_process_type(::message::Process_type value);
  450. // @@protoc_insertion_point(class_scope:message.Entrance_manual_operation_msg)
  451. private:
  452. void set_has_base_info();
  453. void clear_has_base_info();
  454. void set_has_terminal_id();
  455. void clear_has_terminal_id();
  456. void set_has_process_type();
  457. void clear_has_process_type();
  458. void set_has_paused();
  459. void clear_has_paused();
  460. // helper for ByteSizeLong()
  461. size_t RequiredFieldsByteSizeFallback() const;
  462. ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  463. ::google::protobuf::internal::HasBits<1> _has_bits_;
  464. mutable int _cached_size_;
  465. ::message::Base_info* base_info_;
  466. ::google::protobuf::int32 terminal_id_;
  467. bool paused_;
  468. int process_type_;
  469. friend struct ::protobuf_central_5fcontrol_5fmessage_2eproto::TableStruct;
  470. friend void ::protobuf_central_5fcontrol_5fmessage_2eproto::InitDefaultsEntrance_manual_operation_msgImpl();
  471. };
  472. // -------------------------------------------------------------------
  473. class Process_manual_operation_msg : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:message.Process_manual_operation_msg) */ {
  474. public:
  475. Process_manual_operation_msg();
  476. virtual ~Process_manual_operation_msg();
  477. Process_manual_operation_msg(const Process_manual_operation_msg& from);
  478. inline Process_manual_operation_msg& operator=(const Process_manual_operation_msg& from) {
  479. CopyFrom(from);
  480. return *this;
  481. }
  482. #if LANG_CXX11
  483. Process_manual_operation_msg(Process_manual_operation_msg&& from) noexcept
  484. : Process_manual_operation_msg() {
  485. *this = ::std::move(from);
  486. }
  487. inline Process_manual_operation_msg& operator=(Process_manual_operation_msg&& from) noexcept {
  488. if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
  489. if (this != &from) InternalSwap(&from);
  490. } else {
  491. CopyFrom(from);
  492. }
  493. return *this;
  494. }
  495. #endif
  496. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  497. return _internal_metadata_.unknown_fields();
  498. }
  499. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  500. return _internal_metadata_.mutable_unknown_fields();
  501. }
  502. static const ::google::protobuf::Descriptor* descriptor();
  503. static const Process_manual_operation_msg& default_instance();
  504. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  505. static inline const Process_manual_operation_msg* internal_default_instance() {
  506. return reinterpret_cast<const Process_manual_operation_msg*>(
  507. &_Process_manual_operation_msg_default_instance_);
  508. }
  509. static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
  510. 3;
  511. void Swap(Process_manual_operation_msg* other);
  512. friend void swap(Process_manual_operation_msg& a, Process_manual_operation_msg& b) {
  513. a.Swap(&b);
  514. }
  515. // implements Message ----------------------------------------------
  516. inline Process_manual_operation_msg* New() const PROTOBUF_FINAL { return New(NULL); }
  517. Process_manual_operation_msg* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
  518. void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  519. void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  520. void CopyFrom(const Process_manual_operation_msg& from);
  521. void MergeFrom(const Process_manual_operation_msg& from);
  522. void Clear() PROTOBUF_FINAL;
  523. bool IsInitialized() const PROTOBUF_FINAL;
  524. size_t ByteSizeLong() const PROTOBUF_FINAL;
  525. bool MergePartialFromCodedStream(
  526. ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
  527. void SerializeWithCachedSizes(
  528. ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
  529. ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
  530. bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
  531. int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
  532. private:
  533. void SharedCtor();
  534. void SharedDtor();
  535. void SetCachedSize(int size) const PROTOBUF_FINAL;
  536. void InternalSwap(Process_manual_operation_msg* other);
  537. private:
  538. inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
  539. return NULL;
  540. }
  541. inline void* MaybeArenaPtr() const {
  542. return NULL;
  543. }
  544. public:
  545. ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
  546. // nested types ----------------------------------------------------
  547. // accessors -------------------------------------------------------
  548. // required string license = 2;
  549. bool has_license() const;
  550. void clear_license();
  551. static const int kLicenseFieldNumber = 2;
  552. const ::std::string& license() const;
  553. void set_license(const ::std::string& value);
  554. #if LANG_CXX11
  555. void set_license(::std::string&& value);
  556. #endif
  557. void set_license(const char* value);
  558. void set_license(const char* value, size_t size);
  559. ::std::string* mutable_license();
  560. ::std::string* release_license();
  561. void set_allocated_license(::std::string* license);
  562. // required .message.Base_info base_info = 1;
  563. bool has_base_info() const;
  564. void clear_base_info();
  565. static const int kBaseInfoFieldNumber = 1;
  566. const ::message::Base_info& base_info() const;
  567. ::message::Base_info* release_base_info();
  568. ::message::Base_info* mutable_base_info();
  569. void set_allocated_base_info(::message::Base_info* base_info);
  570. // required .message.Step_type step_type = 3;
  571. bool has_step_type() const;
  572. void clear_step_type();
  573. static const int kStepTypeFieldNumber = 3;
  574. ::message::Step_type step_type() const;
  575. void set_step_type(::message::Step_type value);
  576. // required .message.Process_operation_type operate_type = 4;
  577. bool has_operate_type() const;
  578. void clear_operate_type();
  579. static const int kOperateTypeFieldNumber = 4;
  580. ::message::Process_operation_type operate_type() const;
  581. void set_operate_type(::message::Process_operation_type value);
  582. // @@protoc_insertion_point(class_scope:message.Process_manual_operation_msg)
  583. private:
  584. void set_has_base_info();
  585. void clear_has_base_info();
  586. void set_has_license();
  587. void clear_has_license();
  588. void set_has_step_type();
  589. void clear_has_step_type();
  590. void set_has_operate_type();
  591. void clear_has_operate_type();
  592. // helper for ByteSizeLong()
  593. size_t RequiredFieldsByteSizeFallback() const;
  594. ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  595. ::google::protobuf::internal::HasBits<1> _has_bits_;
  596. mutable int _cached_size_;
  597. ::google::protobuf::internal::ArenaStringPtr license_;
  598. ::message::Base_info* base_info_;
  599. int step_type_;
  600. int operate_type_;
  601. friend struct ::protobuf_central_5fcontrol_5fmessage_2eproto::TableStruct;
  602. friend void ::protobuf_central_5fcontrol_5fmessage_2eproto::InitDefaultsProcess_manual_operation_msgImpl();
  603. };
  604. // ===================================================================
  605. // ===================================================================
  606. #ifdef __GNUC__
  607. #pragma GCC diagnostic push
  608. #pragma GCC diagnostic ignored "-Wstrict-aliasing"
  609. #endif // __GNUC__
  610. // Entrance_statu
  611. // required bool paused = 1;
  612. inline bool Entrance_statu::has_paused() const {
  613. return (_has_bits_[0] & 0x00000001u) != 0;
  614. }
  615. inline void Entrance_statu::set_has_paused() {
  616. _has_bits_[0] |= 0x00000001u;
  617. }
  618. inline void Entrance_statu::clear_has_paused() {
  619. _has_bits_[0] &= ~0x00000001u;
  620. }
  621. inline void Entrance_statu::clear_paused() {
  622. paused_ = false;
  623. clear_has_paused();
  624. }
  625. inline bool Entrance_statu::paused() const {
  626. // @@protoc_insertion_point(field_get:message.Entrance_statu.paused)
  627. return paused_;
  628. }
  629. inline void Entrance_statu::set_paused(bool value) {
  630. set_has_paused();
  631. paused_ = value;
  632. // @@protoc_insertion_point(field_set:message.Entrance_statu.paused)
  633. }
  634. // optional .message.Module_statu parkspace_statu = 2;
  635. inline bool Entrance_statu::has_parkspace_statu() const {
  636. return (_has_bits_[0] & 0x00000002u) != 0;
  637. }
  638. inline void Entrance_statu::set_has_parkspace_statu() {
  639. _has_bits_[0] |= 0x00000002u;
  640. }
  641. inline void Entrance_statu::clear_has_parkspace_statu() {
  642. _has_bits_[0] &= ~0x00000002u;
  643. }
  644. inline void Entrance_statu::clear_parkspace_statu() {
  645. parkspace_statu_ = 0;
  646. clear_has_parkspace_statu();
  647. }
  648. inline ::message::Module_statu Entrance_statu::parkspace_statu() const {
  649. // @@protoc_insertion_point(field_get:message.Entrance_statu.parkspace_statu)
  650. return static_cast< ::message::Module_statu >(parkspace_statu_);
  651. }
  652. inline void Entrance_statu::set_parkspace_statu(::message::Module_statu value) {
  653. assert(::message::Module_statu_IsValid(value));
  654. set_has_parkspace_statu();
  655. parkspace_statu_ = value;
  656. // @@protoc_insertion_point(field_set:message.Entrance_statu.parkspace_statu)
  657. }
  658. // optional .message.Module_statu measure_statu = 3;
  659. inline bool Entrance_statu::has_measure_statu() const {
  660. return (_has_bits_[0] & 0x00000004u) != 0;
  661. }
  662. inline void Entrance_statu::set_has_measure_statu() {
  663. _has_bits_[0] |= 0x00000004u;
  664. }
  665. inline void Entrance_statu::clear_has_measure_statu() {
  666. _has_bits_[0] &= ~0x00000004u;
  667. }
  668. inline void Entrance_statu::clear_measure_statu() {
  669. measure_statu_ = 0;
  670. clear_has_measure_statu();
  671. }
  672. inline ::message::Module_statu Entrance_statu::measure_statu() const {
  673. // @@protoc_insertion_point(field_get:message.Entrance_statu.measure_statu)
  674. return static_cast< ::message::Module_statu >(measure_statu_);
  675. }
  676. inline void Entrance_statu::set_measure_statu(::message::Module_statu value) {
  677. assert(::message::Module_statu_IsValid(value));
  678. set_has_measure_statu();
  679. measure_statu_ = value;
  680. // @@protoc_insertion_point(field_set:message.Entrance_statu.measure_statu)
  681. }
  682. // optional .message.Module_statu dispatch_statu = 4;
  683. inline bool Entrance_statu::has_dispatch_statu() const {
  684. return (_has_bits_[0] & 0x00000008u) != 0;
  685. }
  686. inline void Entrance_statu::set_has_dispatch_statu() {
  687. _has_bits_[0] |= 0x00000008u;
  688. }
  689. inline void Entrance_statu::clear_has_dispatch_statu() {
  690. _has_bits_[0] &= ~0x00000008u;
  691. }
  692. inline void Entrance_statu::clear_dispatch_statu() {
  693. dispatch_statu_ = 0;
  694. clear_has_dispatch_statu();
  695. }
  696. inline ::message::Module_statu Entrance_statu::dispatch_statu() const {
  697. // @@protoc_insertion_point(field_get:message.Entrance_statu.dispatch_statu)
  698. return static_cast< ::message::Module_statu >(dispatch_statu_);
  699. }
  700. inline void Entrance_statu::set_dispatch_statu(::message::Module_statu value) {
  701. assert(::message::Module_statu_IsValid(value));
  702. set_has_dispatch_statu();
  703. dispatch_statu_ = value;
  704. // @@protoc_insertion_point(field_set:message.Entrance_statu.dispatch_statu)
  705. }
  706. // -------------------------------------------------------------------
  707. // Central_controller_statu_msg
  708. // required .message.Base_info base_info = 1;
  709. inline bool Central_controller_statu_msg::has_base_info() const {
  710. return (_has_bits_[0] & 0x00000001u) != 0;
  711. }
  712. inline void Central_controller_statu_msg::set_has_base_info() {
  713. _has_bits_[0] |= 0x00000001u;
  714. }
  715. inline void Central_controller_statu_msg::clear_has_base_info() {
  716. _has_bits_[0] &= ~0x00000001u;
  717. }
  718. inline const ::message::Base_info& Central_controller_statu_msg::base_info() const {
  719. const ::message::Base_info* p = base_info_;
  720. // @@protoc_insertion_point(field_get:message.Central_controller_statu_msg.base_info)
  721. return p != NULL ? *p : *reinterpret_cast<const ::message::Base_info*>(
  722. &::message::_Base_info_default_instance_);
  723. }
  724. inline ::message::Base_info* Central_controller_statu_msg::release_base_info() {
  725. // @@protoc_insertion_point(field_release:message.Central_controller_statu_msg.base_info)
  726. clear_has_base_info();
  727. ::message::Base_info* temp = base_info_;
  728. base_info_ = NULL;
  729. return temp;
  730. }
  731. inline ::message::Base_info* Central_controller_statu_msg::mutable_base_info() {
  732. set_has_base_info();
  733. if (base_info_ == NULL) {
  734. base_info_ = new ::message::Base_info;
  735. }
  736. // @@protoc_insertion_point(field_mutable:message.Central_controller_statu_msg.base_info)
  737. return base_info_;
  738. }
  739. inline void Central_controller_statu_msg::set_allocated_base_info(::message::Base_info* base_info) {
  740. ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  741. if (message_arena == NULL) {
  742. delete reinterpret_cast< ::google::protobuf::MessageLite*>(base_info_);
  743. }
  744. if (base_info) {
  745. ::google::protobuf::Arena* submessage_arena = NULL;
  746. if (message_arena != submessage_arena) {
  747. base_info = ::google::protobuf::internal::GetOwnedMessage(
  748. message_arena, base_info, submessage_arena);
  749. }
  750. set_has_base_info();
  751. } else {
  752. clear_has_base_info();
  753. }
  754. base_info_ = base_info;
  755. // @@protoc_insertion_point(field_set_allocated:message.Central_controller_statu_msg.base_info)
  756. }
  757. // repeated .message.Entrance_statu entrance_statu_vector = 2;
  758. inline int Central_controller_statu_msg::entrance_statu_vector_size() const {
  759. return entrance_statu_vector_.size();
  760. }
  761. inline void Central_controller_statu_msg::clear_entrance_statu_vector() {
  762. entrance_statu_vector_.Clear();
  763. }
  764. inline const ::message::Entrance_statu& Central_controller_statu_msg::entrance_statu_vector(int index) const {
  765. // @@protoc_insertion_point(field_get:message.Central_controller_statu_msg.entrance_statu_vector)
  766. return entrance_statu_vector_.Get(index);
  767. }
  768. inline ::message::Entrance_statu* Central_controller_statu_msg::mutable_entrance_statu_vector(int index) {
  769. // @@protoc_insertion_point(field_mutable:message.Central_controller_statu_msg.entrance_statu_vector)
  770. return entrance_statu_vector_.Mutable(index);
  771. }
  772. inline ::message::Entrance_statu* Central_controller_statu_msg::add_entrance_statu_vector() {
  773. // @@protoc_insertion_point(field_add:message.Central_controller_statu_msg.entrance_statu_vector)
  774. return entrance_statu_vector_.Add();
  775. }
  776. inline ::google::protobuf::RepeatedPtrField< ::message::Entrance_statu >*
  777. Central_controller_statu_msg::mutable_entrance_statu_vector() {
  778. // @@protoc_insertion_point(field_mutable_list:message.Central_controller_statu_msg.entrance_statu_vector)
  779. return &entrance_statu_vector_;
  780. }
  781. inline const ::google::protobuf::RepeatedPtrField< ::message::Entrance_statu >&
  782. Central_controller_statu_msg::entrance_statu_vector() const {
  783. // @@protoc_insertion_point(field_list:message.Central_controller_statu_msg.entrance_statu_vector)
  784. return entrance_statu_vector_;
  785. }
  786. // repeated .message.Entrance_statu export_statu_vector = 3;
  787. inline int Central_controller_statu_msg::export_statu_vector_size() const {
  788. return export_statu_vector_.size();
  789. }
  790. inline void Central_controller_statu_msg::clear_export_statu_vector() {
  791. export_statu_vector_.Clear();
  792. }
  793. inline const ::message::Entrance_statu& Central_controller_statu_msg::export_statu_vector(int index) const {
  794. // @@protoc_insertion_point(field_get:message.Central_controller_statu_msg.export_statu_vector)
  795. return export_statu_vector_.Get(index);
  796. }
  797. inline ::message::Entrance_statu* Central_controller_statu_msg::mutable_export_statu_vector(int index) {
  798. // @@protoc_insertion_point(field_mutable:message.Central_controller_statu_msg.export_statu_vector)
  799. return export_statu_vector_.Mutable(index);
  800. }
  801. inline ::message::Entrance_statu* Central_controller_statu_msg::add_export_statu_vector() {
  802. // @@protoc_insertion_point(field_add:message.Central_controller_statu_msg.export_statu_vector)
  803. return export_statu_vector_.Add();
  804. }
  805. inline ::google::protobuf::RepeatedPtrField< ::message::Entrance_statu >*
  806. Central_controller_statu_msg::mutable_export_statu_vector() {
  807. // @@protoc_insertion_point(field_mutable_list:message.Central_controller_statu_msg.export_statu_vector)
  808. return &export_statu_vector_;
  809. }
  810. inline const ::google::protobuf::RepeatedPtrField< ::message::Entrance_statu >&
  811. Central_controller_statu_msg::export_statu_vector() const {
  812. // @@protoc_insertion_point(field_list:message.Central_controller_statu_msg.export_statu_vector)
  813. return export_statu_vector_;
  814. }
  815. // -------------------------------------------------------------------
  816. // Entrance_manual_operation_msg
  817. // required .message.Base_info base_info = 1;
  818. inline bool Entrance_manual_operation_msg::has_base_info() const {
  819. return (_has_bits_[0] & 0x00000001u) != 0;
  820. }
  821. inline void Entrance_manual_operation_msg::set_has_base_info() {
  822. _has_bits_[0] |= 0x00000001u;
  823. }
  824. inline void Entrance_manual_operation_msg::clear_has_base_info() {
  825. _has_bits_[0] &= ~0x00000001u;
  826. }
  827. inline const ::message::Base_info& Entrance_manual_operation_msg::base_info() const {
  828. const ::message::Base_info* p = base_info_;
  829. // @@protoc_insertion_point(field_get:message.Entrance_manual_operation_msg.base_info)
  830. return p != NULL ? *p : *reinterpret_cast<const ::message::Base_info*>(
  831. &::message::_Base_info_default_instance_);
  832. }
  833. inline ::message::Base_info* Entrance_manual_operation_msg::release_base_info() {
  834. // @@protoc_insertion_point(field_release:message.Entrance_manual_operation_msg.base_info)
  835. clear_has_base_info();
  836. ::message::Base_info* temp = base_info_;
  837. base_info_ = NULL;
  838. return temp;
  839. }
  840. inline ::message::Base_info* Entrance_manual_operation_msg::mutable_base_info() {
  841. set_has_base_info();
  842. if (base_info_ == NULL) {
  843. base_info_ = new ::message::Base_info;
  844. }
  845. // @@protoc_insertion_point(field_mutable:message.Entrance_manual_operation_msg.base_info)
  846. return base_info_;
  847. }
  848. inline void Entrance_manual_operation_msg::set_allocated_base_info(::message::Base_info* base_info) {
  849. ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  850. if (message_arena == NULL) {
  851. delete reinterpret_cast< ::google::protobuf::MessageLite*>(base_info_);
  852. }
  853. if (base_info) {
  854. ::google::protobuf::Arena* submessage_arena = NULL;
  855. if (message_arena != submessage_arena) {
  856. base_info = ::google::protobuf::internal::GetOwnedMessage(
  857. message_arena, base_info, submessage_arena);
  858. }
  859. set_has_base_info();
  860. } else {
  861. clear_has_base_info();
  862. }
  863. base_info_ = base_info;
  864. // @@protoc_insertion_point(field_set_allocated:message.Entrance_manual_operation_msg.base_info)
  865. }
  866. // required int32 terminal_id = 2;
  867. inline bool Entrance_manual_operation_msg::has_terminal_id() const {
  868. return (_has_bits_[0] & 0x00000002u) != 0;
  869. }
  870. inline void Entrance_manual_operation_msg::set_has_terminal_id() {
  871. _has_bits_[0] |= 0x00000002u;
  872. }
  873. inline void Entrance_manual_operation_msg::clear_has_terminal_id() {
  874. _has_bits_[0] &= ~0x00000002u;
  875. }
  876. inline void Entrance_manual_operation_msg::clear_terminal_id() {
  877. terminal_id_ = 0;
  878. clear_has_terminal_id();
  879. }
  880. inline ::google::protobuf::int32 Entrance_manual_operation_msg::terminal_id() const {
  881. // @@protoc_insertion_point(field_get:message.Entrance_manual_operation_msg.terminal_id)
  882. return terminal_id_;
  883. }
  884. inline void Entrance_manual_operation_msg::set_terminal_id(::google::protobuf::int32 value) {
  885. set_has_terminal_id();
  886. terminal_id_ = value;
  887. // @@protoc_insertion_point(field_set:message.Entrance_manual_operation_msg.terminal_id)
  888. }
  889. // required .message.Process_type process_type = 3;
  890. inline bool Entrance_manual_operation_msg::has_process_type() const {
  891. return (_has_bits_[0] & 0x00000008u) != 0;
  892. }
  893. inline void Entrance_manual_operation_msg::set_has_process_type() {
  894. _has_bits_[0] |= 0x00000008u;
  895. }
  896. inline void Entrance_manual_operation_msg::clear_has_process_type() {
  897. _has_bits_[0] &= ~0x00000008u;
  898. }
  899. inline void Entrance_manual_operation_msg::clear_process_type() {
  900. process_type_ = 1;
  901. clear_has_process_type();
  902. }
  903. inline ::message::Process_type Entrance_manual_operation_msg::process_type() const {
  904. // @@protoc_insertion_point(field_get:message.Entrance_manual_operation_msg.process_type)
  905. return static_cast< ::message::Process_type >(process_type_);
  906. }
  907. inline void Entrance_manual_operation_msg::set_process_type(::message::Process_type value) {
  908. assert(::message::Process_type_IsValid(value));
  909. set_has_process_type();
  910. process_type_ = value;
  911. // @@protoc_insertion_point(field_set:message.Entrance_manual_operation_msg.process_type)
  912. }
  913. // required bool paused = 4;
  914. inline bool Entrance_manual_operation_msg::has_paused() const {
  915. return (_has_bits_[0] & 0x00000004u) != 0;
  916. }
  917. inline void Entrance_manual_operation_msg::set_has_paused() {
  918. _has_bits_[0] |= 0x00000004u;
  919. }
  920. inline void Entrance_manual_operation_msg::clear_has_paused() {
  921. _has_bits_[0] &= ~0x00000004u;
  922. }
  923. inline void Entrance_manual_operation_msg::clear_paused() {
  924. paused_ = false;
  925. clear_has_paused();
  926. }
  927. inline bool Entrance_manual_operation_msg::paused() const {
  928. // @@protoc_insertion_point(field_get:message.Entrance_manual_operation_msg.paused)
  929. return paused_;
  930. }
  931. inline void Entrance_manual_operation_msg::set_paused(bool value) {
  932. set_has_paused();
  933. paused_ = value;
  934. // @@protoc_insertion_point(field_set:message.Entrance_manual_operation_msg.paused)
  935. }
  936. // -------------------------------------------------------------------
  937. // Process_manual_operation_msg
  938. // required .message.Base_info base_info = 1;
  939. inline bool Process_manual_operation_msg::has_base_info() const {
  940. return (_has_bits_[0] & 0x00000002u) != 0;
  941. }
  942. inline void Process_manual_operation_msg::set_has_base_info() {
  943. _has_bits_[0] |= 0x00000002u;
  944. }
  945. inline void Process_manual_operation_msg::clear_has_base_info() {
  946. _has_bits_[0] &= ~0x00000002u;
  947. }
  948. inline const ::message::Base_info& Process_manual_operation_msg::base_info() const {
  949. const ::message::Base_info* p = base_info_;
  950. // @@protoc_insertion_point(field_get:message.Process_manual_operation_msg.base_info)
  951. return p != NULL ? *p : *reinterpret_cast<const ::message::Base_info*>(
  952. &::message::_Base_info_default_instance_);
  953. }
  954. inline ::message::Base_info* Process_manual_operation_msg::release_base_info() {
  955. // @@protoc_insertion_point(field_release:message.Process_manual_operation_msg.base_info)
  956. clear_has_base_info();
  957. ::message::Base_info* temp = base_info_;
  958. base_info_ = NULL;
  959. return temp;
  960. }
  961. inline ::message::Base_info* Process_manual_operation_msg::mutable_base_info() {
  962. set_has_base_info();
  963. if (base_info_ == NULL) {
  964. base_info_ = new ::message::Base_info;
  965. }
  966. // @@protoc_insertion_point(field_mutable:message.Process_manual_operation_msg.base_info)
  967. return base_info_;
  968. }
  969. inline void Process_manual_operation_msg::set_allocated_base_info(::message::Base_info* base_info) {
  970. ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  971. if (message_arena == NULL) {
  972. delete reinterpret_cast< ::google::protobuf::MessageLite*>(base_info_);
  973. }
  974. if (base_info) {
  975. ::google::protobuf::Arena* submessage_arena = NULL;
  976. if (message_arena != submessage_arena) {
  977. base_info = ::google::protobuf::internal::GetOwnedMessage(
  978. message_arena, base_info, submessage_arena);
  979. }
  980. set_has_base_info();
  981. } else {
  982. clear_has_base_info();
  983. }
  984. base_info_ = base_info;
  985. // @@protoc_insertion_point(field_set_allocated:message.Process_manual_operation_msg.base_info)
  986. }
  987. // required string license = 2;
  988. inline bool Process_manual_operation_msg::has_license() const {
  989. return (_has_bits_[0] & 0x00000001u) != 0;
  990. }
  991. inline void Process_manual_operation_msg::set_has_license() {
  992. _has_bits_[0] |= 0x00000001u;
  993. }
  994. inline void Process_manual_operation_msg::clear_has_license() {
  995. _has_bits_[0] &= ~0x00000001u;
  996. }
  997. inline void Process_manual_operation_msg::clear_license() {
  998. license_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  999. clear_has_license();
  1000. }
  1001. inline const ::std::string& Process_manual_operation_msg::license() const {
  1002. // @@protoc_insertion_point(field_get:message.Process_manual_operation_msg.license)
  1003. return license_.GetNoArena();
  1004. }
  1005. inline void Process_manual_operation_msg::set_license(const ::std::string& value) {
  1006. set_has_license();
  1007. license_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  1008. // @@protoc_insertion_point(field_set:message.Process_manual_operation_msg.license)
  1009. }
  1010. #if LANG_CXX11
  1011. inline void Process_manual_operation_msg::set_license(::std::string&& value) {
  1012. set_has_license();
  1013. license_.SetNoArena(
  1014. &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
  1015. // @@protoc_insertion_point(field_set_rvalue:message.Process_manual_operation_msg.license)
  1016. }
  1017. #endif
  1018. inline void Process_manual_operation_msg::set_license(const char* value) {
  1019. GOOGLE_DCHECK(value != NULL);
  1020. set_has_license();
  1021. license_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  1022. // @@protoc_insertion_point(field_set_char:message.Process_manual_operation_msg.license)
  1023. }
  1024. inline void Process_manual_operation_msg::set_license(const char* value, size_t size) {
  1025. set_has_license();
  1026. license_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  1027. ::std::string(reinterpret_cast<const char*>(value), size));
  1028. // @@protoc_insertion_point(field_set_pointer:message.Process_manual_operation_msg.license)
  1029. }
  1030. inline ::std::string* Process_manual_operation_msg::mutable_license() {
  1031. set_has_license();
  1032. // @@protoc_insertion_point(field_mutable:message.Process_manual_operation_msg.license)
  1033. return license_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1034. }
  1035. inline ::std::string* Process_manual_operation_msg::release_license() {
  1036. // @@protoc_insertion_point(field_release:message.Process_manual_operation_msg.license)
  1037. clear_has_license();
  1038. return license_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1039. }
  1040. inline void Process_manual_operation_msg::set_allocated_license(::std::string* license) {
  1041. if (license != NULL) {
  1042. set_has_license();
  1043. } else {
  1044. clear_has_license();
  1045. }
  1046. license_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), license);
  1047. // @@protoc_insertion_point(field_set_allocated:message.Process_manual_operation_msg.license)
  1048. }
  1049. // required .message.Step_type step_type = 3;
  1050. inline bool Process_manual_operation_msg::has_step_type() const {
  1051. return (_has_bits_[0] & 0x00000004u) != 0;
  1052. }
  1053. inline void Process_manual_operation_msg::set_has_step_type() {
  1054. _has_bits_[0] |= 0x00000004u;
  1055. }
  1056. inline void Process_manual_operation_msg::clear_has_step_type() {
  1057. _has_bits_[0] &= ~0x00000004u;
  1058. }
  1059. inline void Process_manual_operation_msg::clear_step_type() {
  1060. step_type_ = 0;
  1061. clear_has_step_type();
  1062. }
  1063. inline ::message::Step_type Process_manual_operation_msg::step_type() const {
  1064. // @@protoc_insertion_point(field_get:message.Process_manual_operation_msg.step_type)
  1065. return static_cast< ::message::Step_type >(step_type_);
  1066. }
  1067. inline void Process_manual_operation_msg::set_step_type(::message::Step_type value) {
  1068. assert(::message::Step_type_IsValid(value));
  1069. set_has_step_type();
  1070. step_type_ = value;
  1071. // @@protoc_insertion_point(field_set:message.Process_manual_operation_msg.step_type)
  1072. }
  1073. // required .message.Process_operation_type operate_type = 4;
  1074. inline bool Process_manual_operation_msg::has_operate_type() const {
  1075. return (_has_bits_[0] & 0x00000008u) != 0;
  1076. }
  1077. inline void Process_manual_operation_msg::set_has_operate_type() {
  1078. _has_bits_[0] |= 0x00000008u;
  1079. }
  1080. inline void Process_manual_operation_msg::clear_has_operate_type() {
  1081. _has_bits_[0] &= ~0x00000008u;
  1082. }
  1083. inline void Process_manual_operation_msg::clear_operate_type() {
  1084. operate_type_ = 0;
  1085. clear_has_operate_type();
  1086. }
  1087. inline ::message::Process_operation_type Process_manual_operation_msg::operate_type() const {
  1088. // @@protoc_insertion_point(field_get:message.Process_manual_operation_msg.operate_type)
  1089. return static_cast< ::message::Process_operation_type >(operate_type_);
  1090. }
  1091. inline void Process_manual_operation_msg::set_operate_type(::message::Process_operation_type value) {
  1092. assert(::message::Process_operation_type_IsValid(value));
  1093. set_has_operate_type();
  1094. operate_type_ = value;
  1095. // @@protoc_insertion_point(field_set:message.Process_manual_operation_msg.operate_type)
  1096. }
  1097. #ifdef __GNUC__
  1098. #pragma GCC diagnostic pop
  1099. #endif // __GNUC__
  1100. // -------------------------------------------------------------------
  1101. // -------------------------------------------------------------------
  1102. // -------------------------------------------------------------------
  1103. // @@protoc_insertion_point(namespace_scope)
  1104. } // namespace message
  1105. namespace google {
  1106. namespace protobuf {
  1107. template <> struct is_proto_enum< ::message::Process_operation_type> : ::google::protobuf::internal::true_type {};
  1108. template <>
  1109. inline const EnumDescriptor* GetEnumDescriptor< ::message::Process_operation_type>() {
  1110. return ::message::Process_operation_type_descriptor();
  1111. }
  1112. template <> struct is_proto_enum< ::message::Module_statu> : ::google::protobuf::internal::true_type {};
  1113. template <>
  1114. inline const EnumDescriptor* GetEnumDescriptor< ::message::Module_statu>() {
  1115. return ::message::Module_statu_descriptor();
  1116. }
  1117. } // namespace protobuf
  1118. } // namespace google
  1119. // @@protoc_insertion_point(global_scope)
  1120. #endif // PROTOBUF_central_5fcontrol_5fmessage_2eproto__INCLUDED