central_control_message.pb.h 48 KB

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