central_control_message.pb.h 50 KB

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