message_base.pb.h 88 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584
  1. // Generated by the protocol buffer compiler. DO NOT EDIT!
  2. // source: message_base.proto
  3. #ifndef PROTOBUF_message_5fbase_2eproto__INCLUDED
  4. #define PROTOBUF_message_5fbase_2eproto__INCLUDED
  5. #include <string>
  6. #include <google/protobuf/stubs/common.h>
  7. #if GOOGLE_PROTOBUF_VERSION < 3005000
  8. #error This file was generated by a newer version of protoc which is
  9. #error incompatible with your Protocol Buffer headers. Please update
  10. #error your headers.
  11. #endif
  12. #if 3005000 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION
  13. #error This file was generated by an older version of protoc which is
  14. #error incompatible with your Protocol Buffer headers. Please
  15. #error regenerate this file with a newer version of protoc.
  16. #endif
  17. #include <google/protobuf/io/coded_stream.h>
  18. #include <google/protobuf/arena.h>
  19. #include <google/protobuf/arenastring.h>
  20. #include <google/protobuf/generated_message_table_driven.h>
  21. #include <google/protobuf/generated_message_util.h>
  22. #include <google/protobuf/metadata.h>
  23. #include <google/protobuf/message.h>
  24. #include <google/protobuf/repeated_field.h> // IWYU pragma: export
  25. #include <google/protobuf/extension_set.h> // IWYU pragma: export
  26. #include <google/protobuf/generated_enum_reflection.h>
  27. #include <google/protobuf/unknown_field_set.h>
  28. // @@protoc_insertion_point(includes)
  29. namespace protobuf_message_5fbase_2eproto {
  30. // Internal implementation detail -- do not use these members.
  31. struct TableStruct {
  32. static const ::google::protobuf::internal::ParseTableField entries[];
  33. static const ::google::protobuf::internal::AuxillaryParseTableField aux[];
  34. static const ::google::protobuf::internal::ParseTable schema[7];
  35. static const ::google::protobuf::internal::FieldMetadata field_metadata[];
  36. static const ::google::protobuf::internal::SerializationTable serialization_table[];
  37. static const ::google::protobuf::uint32 offsets[];
  38. };
  39. void AddDescriptors();
  40. void InitDefaultsBase_infoImpl();
  41. void InitDefaultsBase_info();
  42. void InitDefaultsCommand_infoImpl();
  43. void InitDefaultsCommand_info();
  44. void InitDefaultsBase_msgImpl();
  45. void InitDefaultsBase_msg();
  46. void InitDefaultsError_managerImpl();
  47. void InitDefaultsError_manager();
  48. void InitDefaultsLocate_informationImpl();
  49. void InitDefaultsLocate_information();
  50. void InitDefaultsCar_infoImpl();
  51. void InitDefaultsCar_info();
  52. void InitDefaultsParkspace_infoImpl();
  53. void InitDefaultsParkspace_info();
  54. inline void InitDefaults() {
  55. InitDefaultsBase_info();
  56. InitDefaultsCommand_info();
  57. InitDefaultsBase_msg();
  58. InitDefaultsError_manager();
  59. InitDefaultsLocate_information();
  60. InitDefaultsCar_info();
  61. InitDefaultsParkspace_info();
  62. }
  63. } // namespace protobuf_message_5fbase_2eproto
  64. namespace message {
  65. class Base_info;
  66. class Base_infoDefaultTypeInternal;
  67. extern Base_infoDefaultTypeInternal _Base_info_default_instance_;
  68. class Base_msg;
  69. class Base_msgDefaultTypeInternal;
  70. extern Base_msgDefaultTypeInternal _Base_msg_default_instance_;
  71. class Car_info;
  72. class Car_infoDefaultTypeInternal;
  73. extern Car_infoDefaultTypeInternal _Car_info_default_instance_;
  74. class Command_info;
  75. class Command_infoDefaultTypeInternal;
  76. extern Command_infoDefaultTypeInternal _Command_info_default_instance_;
  77. class Error_manager;
  78. class Error_managerDefaultTypeInternal;
  79. extern Error_managerDefaultTypeInternal _Error_manager_default_instance_;
  80. class Locate_information;
  81. class Locate_informationDefaultTypeInternal;
  82. extern Locate_informationDefaultTypeInternal _Locate_information_default_instance_;
  83. class Parkspace_info;
  84. class Parkspace_infoDefaultTypeInternal;
  85. extern Parkspace_infoDefaultTypeInternal _Parkspace_info_default_instance_;
  86. } // namespace message
  87. namespace message {
  88. enum Message_type {
  89. eBase_msg = 0,
  90. eCommand_msg = 1,
  91. eLocate_status_msg = 17,
  92. eLocate_request_msg = 18,
  93. eLocate_response_msg = 19,
  94. eDispatch_status_msg = 33,
  95. eDispatch_request_msg = 34,
  96. eDispatch_response_msg = 35,
  97. eParkspace_allocation_status_msg = 49,
  98. eParkspace_allocation_request_msg = 50,
  99. eParkspace_allocation_response_msg = 51,
  100. eParkspace_search_request_msg = 52,
  101. eParkspace_search_response_msg = 53,
  102. eParkspace_release_request_msg = 54,
  103. eParkspace_release_response_msg = 55,
  104. eParkspace_force_update_request_msg = 56,
  105. eParkspace_force_update_response_msg = 57,
  106. eParkspace_confirm_alloc_request_msg = 58,
  107. eParkspace_confirm_alloc_response_msg = 59,
  108. eStore_command_request_msg = 65,
  109. eStore_command_response_msg = 66,
  110. ePickup_command_request_msg = 67,
  111. ePickup_command_response_msg = 68,
  112. eStoring_process_statu_msg = 144,
  113. ePicking_process_statu_msg = 145
  114. };
  115. bool Message_type_IsValid(int value);
  116. const Message_type Message_type_MIN = eBase_msg;
  117. const Message_type Message_type_MAX = ePicking_process_statu_msg;
  118. const int Message_type_ARRAYSIZE = Message_type_MAX + 1;
  119. const ::google::protobuf::EnumDescriptor* Message_type_descriptor();
  120. inline const ::std::string& Message_type_Name(Message_type value) {
  121. return ::google::protobuf::internal::NameOfEnum(
  122. Message_type_descriptor(), value);
  123. }
  124. inline bool Message_type_Parse(
  125. const ::std::string& name, Message_type* value) {
  126. return ::google::protobuf::internal::ParseNamedEnum<Message_type>(
  127. Message_type_descriptor(), name, value);
  128. }
  129. enum Communicator {
  130. eEmpty = 0,
  131. eMain = 1,
  132. eTerminor = 256,
  133. eParkspace = 512,
  134. eMeasurer = 768,
  135. eDispatch = 1024
  136. };
  137. bool Communicator_IsValid(int value);
  138. const Communicator Communicator_MIN = eEmpty;
  139. const Communicator Communicator_MAX = eDispatch;
  140. const int Communicator_ARRAYSIZE = Communicator_MAX + 1;
  141. const ::google::protobuf::EnumDescriptor* Communicator_descriptor();
  142. inline const ::std::string& Communicator_Name(Communicator value) {
  143. return ::google::protobuf::internal::NameOfEnum(
  144. Communicator_descriptor(), value);
  145. }
  146. inline bool Communicator_Parse(
  147. const ::std::string& name, Communicator* value) {
  148. return ::google::protobuf::internal::ParseNamedEnum<Communicator>(
  149. Communicator_descriptor(), name, value);
  150. }
  151. enum Event {
  152. eStoring = 1,
  153. ePicking = 2
  154. };
  155. bool Event_IsValid(int value);
  156. const Event Event_MIN = eStoring;
  157. const Event Event_MAX = ePicking;
  158. const int Event_ARRAYSIZE = Event_MAX + 1;
  159. const ::google::protobuf::EnumDescriptor* Event_descriptor();
  160. inline const ::std::string& Event_Name(Event value) {
  161. return ::google::protobuf::internal::NameOfEnum(
  162. Event_descriptor(), value);
  163. }
  164. inline bool Event_Parse(
  165. const ::std::string& name, Event* value) {
  166. return ::google::protobuf::internal::ParseNamedEnum<Event>(
  167. Event_descriptor(), name, value);
  168. }
  169. enum Error_level {
  170. NORMAL = 0,
  171. NEGLIGIBLE_ERROR = 1,
  172. MINOR_ERROR = 2,
  173. MAJOR_ERROR = 3,
  174. CRITICAL_ERROR = 4
  175. };
  176. bool Error_level_IsValid(int value);
  177. const Error_level Error_level_MIN = NORMAL;
  178. const Error_level Error_level_MAX = CRITICAL_ERROR;
  179. const int Error_level_ARRAYSIZE = Error_level_MAX + 1;
  180. const ::google::protobuf::EnumDescriptor* Error_level_descriptor();
  181. inline const ::std::string& Error_level_Name(Error_level value) {
  182. return ::google::protobuf::internal::NameOfEnum(
  183. Error_level_descriptor(), value);
  184. }
  185. inline bool Error_level_Parse(
  186. const ::std::string& name, Error_level* value) {
  187. return ::google::protobuf::internal::ParseNamedEnum<Error_level>(
  188. Error_level_descriptor(), name, value);
  189. }
  190. enum Parkspace_status {
  191. eParkspace_empty = 0,
  192. eParkspace_occupied = 1,
  193. eParkspace_reserverd = 2,
  194. eParkspace_error = 3
  195. };
  196. bool Parkspace_status_IsValid(int value);
  197. const Parkspace_status Parkspace_status_MIN = eParkspace_empty;
  198. const Parkspace_status Parkspace_status_MAX = eParkspace_error;
  199. const int Parkspace_status_ARRAYSIZE = Parkspace_status_MAX + 1;
  200. const ::google::protobuf::EnumDescriptor* Parkspace_status_descriptor();
  201. inline const ::std::string& Parkspace_status_Name(Parkspace_status value) {
  202. return ::google::protobuf::internal::NameOfEnum(
  203. Parkspace_status_descriptor(), value);
  204. }
  205. inline bool Parkspace_status_Parse(
  206. const ::std::string& name, Parkspace_status* value) {
  207. return ::google::protobuf::internal::ParseNamedEnum<Parkspace_status>(
  208. Parkspace_status_descriptor(), name, value);
  209. }
  210. enum Direction {
  211. eForward = 1,
  212. eBackward = 2
  213. };
  214. bool Direction_IsValid(int value);
  215. const Direction Direction_MIN = eForward;
  216. const Direction Direction_MAX = eBackward;
  217. const int Direction_ARRAYSIZE = Direction_MAX + 1;
  218. const ::google::protobuf::EnumDescriptor* Direction_descriptor();
  219. inline const ::std::string& Direction_Name(Direction value) {
  220. return ::google::protobuf::internal::NameOfEnum(
  221. Direction_descriptor(), value);
  222. }
  223. inline bool Direction_Parse(
  224. const ::std::string& name, Direction* value) {
  225. return ::google::protobuf::internal::ParseNamedEnum<Direction>(
  226. Direction_descriptor(), name, value);
  227. }
  228. // ===================================================================
  229. class Base_info : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:message.Base_info) */ {
  230. public:
  231. Base_info();
  232. virtual ~Base_info();
  233. Base_info(const Base_info& from);
  234. inline Base_info& operator=(const Base_info& from) {
  235. CopyFrom(from);
  236. return *this;
  237. }
  238. #if LANG_CXX11
  239. Base_info(Base_info&& from) noexcept
  240. : Base_info() {
  241. *this = ::std::move(from);
  242. }
  243. inline Base_info& operator=(Base_info&& 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 Base_info& default_instance();
  260. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  261. static inline const Base_info* internal_default_instance() {
  262. return reinterpret_cast<const Base_info*>(
  263. &_Base_info_default_instance_);
  264. }
  265. static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
  266. 0;
  267. void Swap(Base_info* other);
  268. friend void swap(Base_info& a, Base_info& b) {
  269. a.Swap(&b);
  270. }
  271. // implements Message ----------------------------------------------
  272. inline Base_info* New() const PROTOBUF_FINAL { return New(NULL); }
  273. Base_info* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
  274. void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  275. void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  276. void CopyFrom(const Base_info& from);
  277. void MergeFrom(const Base_info& from);
  278. void Clear() PROTOBUF_FINAL;
  279. bool IsInitialized() const PROTOBUF_FINAL;
  280. size_t ByteSizeLong() const PROTOBUF_FINAL;
  281. bool MergePartialFromCodedStream(
  282. ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
  283. void SerializeWithCachedSizes(
  284. ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
  285. ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
  286. bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
  287. int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
  288. private:
  289. void SharedCtor();
  290. void SharedDtor();
  291. void SetCachedSize(int size) const PROTOBUF_FINAL;
  292. void InternalSwap(Base_info* other);
  293. private:
  294. inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
  295. return NULL;
  296. }
  297. inline void* MaybeArenaPtr() const {
  298. return NULL;
  299. }
  300. public:
  301. ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
  302. // nested types ----------------------------------------------------
  303. // accessors -------------------------------------------------------
  304. // required .message.Message_type msg_type = 1;
  305. bool has_msg_type() const;
  306. void clear_msg_type();
  307. static const int kMsgTypeFieldNumber = 1;
  308. ::message::Message_type msg_type() const;
  309. void set_msg_type(::message::Message_type value);
  310. // optional int32 timeout_ms = 2;
  311. bool has_timeout_ms() const;
  312. void clear_timeout_ms();
  313. static const int kTimeoutMsFieldNumber = 2;
  314. ::google::protobuf::int32 timeout_ms() const;
  315. void set_timeout_ms(::google::protobuf::int32 value);
  316. // required .message.Communicator sender = 3;
  317. bool has_sender() const;
  318. void clear_sender();
  319. static const int kSenderFieldNumber = 3;
  320. ::message::Communicator sender() const;
  321. void set_sender(::message::Communicator value);
  322. // required .message.Communicator receiver = 4;
  323. bool has_receiver() const;
  324. void clear_receiver();
  325. static const int kReceiverFieldNumber = 4;
  326. ::message::Communicator receiver() const;
  327. void set_receiver(::message::Communicator value);
  328. // @@protoc_insertion_point(class_scope:message.Base_info)
  329. private:
  330. void set_has_msg_type();
  331. void clear_has_msg_type();
  332. void set_has_timeout_ms();
  333. void clear_has_timeout_ms();
  334. void set_has_sender();
  335. void clear_has_sender();
  336. void set_has_receiver();
  337. void clear_has_receiver();
  338. // helper for ByteSizeLong()
  339. size_t RequiredFieldsByteSizeFallback() const;
  340. ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  341. ::google::protobuf::internal::HasBits<1> _has_bits_;
  342. mutable int _cached_size_;
  343. int msg_type_;
  344. ::google::protobuf::int32 timeout_ms_;
  345. int sender_;
  346. int receiver_;
  347. friend struct ::protobuf_message_5fbase_2eproto::TableStruct;
  348. friend void ::protobuf_message_5fbase_2eproto::InitDefaultsBase_infoImpl();
  349. };
  350. // -------------------------------------------------------------------
  351. class Command_info : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:message.Command_info) */ {
  352. public:
  353. Command_info();
  354. virtual ~Command_info();
  355. Command_info(const Command_info& from);
  356. inline Command_info& operator=(const Command_info& from) {
  357. CopyFrom(from);
  358. return *this;
  359. }
  360. #if LANG_CXX11
  361. Command_info(Command_info&& from) noexcept
  362. : Command_info() {
  363. *this = ::std::move(from);
  364. }
  365. inline Command_info& operator=(Command_info&& from) noexcept {
  366. if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
  367. if (this != &from) InternalSwap(&from);
  368. } else {
  369. CopyFrom(from);
  370. }
  371. return *this;
  372. }
  373. #endif
  374. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  375. return _internal_metadata_.unknown_fields();
  376. }
  377. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  378. return _internal_metadata_.mutable_unknown_fields();
  379. }
  380. static const ::google::protobuf::Descriptor* descriptor();
  381. static const Command_info& default_instance();
  382. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  383. static inline const Command_info* internal_default_instance() {
  384. return reinterpret_cast<const Command_info*>(
  385. &_Command_info_default_instance_);
  386. }
  387. static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
  388. 1;
  389. void Swap(Command_info* other);
  390. friend void swap(Command_info& a, Command_info& b) {
  391. a.Swap(&b);
  392. }
  393. // implements Message ----------------------------------------------
  394. inline Command_info* New() const PROTOBUF_FINAL { return New(NULL); }
  395. Command_info* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
  396. void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  397. void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  398. void CopyFrom(const Command_info& from);
  399. void MergeFrom(const Command_info& from);
  400. void Clear() PROTOBUF_FINAL;
  401. bool IsInitialized() const PROTOBUF_FINAL;
  402. size_t ByteSizeLong() const PROTOBUF_FINAL;
  403. bool MergePartialFromCodedStream(
  404. ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
  405. void SerializeWithCachedSizes(
  406. ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
  407. ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
  408. bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
  409. int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
  410. private:
  411. void SharedCtor();
  412. void SharedDtor();
  413. void SetCachedSize(int size) const PROTOBUF_FINAL;
  414. void InternalSwap(Command_info* other);
  415. private:
  416. inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
  417. return NULL;
  418. }
  419. inline void* MaybeArenaPtr() const {
  420. return NULL;
  421. }
  422. public:
  423. ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
  424. // nested types ----------------------------------------------------
  425. // accessors -------------------------------------------------------
  426. // required string time = 1;
  427. bool has_time() const;
  428. void clear_time();
  429. static const int kTimeFieldNumber = 1;
  430. const ::std::string& time() const;
  431. void set_time(const ::std::string& value);
  432. #if LANG_CXX11
  433. void set_time(::std::string&& value);
  434. #endif
  435. void set_time(const char* value);
  436. void set_time(const char* value, size_t size);
  437. ::std::string* mutable_time();
  438. ::std::string* release_time();
  439. void set_allocated_time(::std::string* time);
  440. // required string place = 2;
  441. bool has_place() const;
  442. void clear_place();
  443. static const int kPlaceFieldNumber = 2;
  444. const ::std::string& place() const;
  445. void set_place(const ::std::string& value);
  446. #if LANG_CXX11
  447. void set_place(::std::string&& value);
  448. #endif
  449. void set_place(const char* value);
  450. void set_place(const char* value, size_t size);
  451. ::std::string* mutable_place();
  452. ::std::string* release_place();
  453. void set_allocated_place(::std::string* place);
  454. // required .message.Event event = 3;
  455. bool has_event() const;
  456. void clear_event();
  457. static const int kEventFieldNumber = 3;
  458. ::message::Event event() const;
  459. void set_event(::message::Event value);
  460. // @@protoc_insertion_point(class_scope:message.Command_info)
  461. private:
  462. void set_has_time();
  463. void clear_has_time();
  464. void set_has_place();
  465. void clear_has_place();
  466. void set_has_event();
  467. void clear_has_event();
  468. // helper for ByteSizeLong()
  469. size_t RequiredFieldsByteSizeFallback() const;
  470. ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  471. ::google::protobuf::internal::HasBits<1> _has_bits_;
  472. mutable int _cached_size_;
  473. ::google::protobuf::internal::ArenaStringPtr time_;
  474. ::google::protobuf::internal::ArenaStringPtr place_;
  475. int event_;
  476. friend struct ::protobuf_message_5fbase_2eproto::TableStruct;
  477. friend void ::protobuf_message_5fbase_2eproto::InitDefaultsCommand_infoImpl();
  478. };
  479. // -------------------------------------------------------------------
  480. class Base_msg : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:message.Base_msg) */ {
  481. public:
  482. Base_msg();
  483. virtual ~Base_msg();
  484. Base_msg(const Base_msg& from);
  485. inline Base_msg& operator=(const Base_msg& from) {
  486. CopyFrom(from);
  487. return *this;
  488. }
  489. #if LANG_CXX11
  490. Base_msg(Base_msg&& from) noexcept
  491. : Base_msg() {
  492. *this = ::std::move(from);
  493. }
  494. inline Base_msg& operator=(Base_msg&& from) noexcept {
  495. if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
  496. if (this != &from) InternalSwap(&from);
  497. } else {
  498. CopyFrom(from);
  499. }
  500. return *this;
  501. }
  502. #endif
  503. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  504. return _internal_metadata_.unknown_fields();
  505. }
  506. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  507. return _internal_metadata_.mutable_unknown_fields();
  508. }
  509. static const ::google::protobuf::Descriptor* descriptor();
  510. static const Base_msg& default_instance();
  511. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  512. static inline const Base_msg* internal_default_instance() {
  513. return reinterpret_cast<const Base_msg*>(
  514. &_Base_msg_default_instance_);
  515. }
  516. static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
  517. 2;
  518. void Swap(Base_msg* other);
  519. friend void swap(Base_msg& a, Base_msg& b) {
  520. a.Swap(&b);
  521. }
  522. // implements Message ----------------------------------------------
  523. inline Base_msg* New() const PROTOBUF_FINAL { return New(NULL); }
  524. Base_msg* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
  525. void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  526. void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  527. void CopyFrom(const Base_msg& from);
  528. void MergeFrom(const Base_msg& from);
  529. void Clear() PROTOBUF_FINAL;
  530. bool IsInitialized() const PROTOBUF_FINAL;
  531. size_t ByteSizeLong() const PROTOBUF_FINAL;
  532. bool MergePartialFromCodedStream(
  533. ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
  534. void SerializeWithCachedSizes(
  535. ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
  536. ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
  537. bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
  538. int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
  539. private:
  540. void SharedCtor();
  541. void SharedDtor();
  542. void SetCachedSize(int size) const PROTOBUF_FINAL;
  543. void InternalSwap(Base_msg* other);
  544. private:
  545. inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
  546. return NULL;
  547. }
  548. inline void* MaybeArenaPtr() const {
  549. return NULL;
  550. }
  551. public:
  552. ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
  553. // nested types ----------------------------------------------------
  554. // accessors -------------------------------------------------------
  555. // required .message.Base_info base_info = 1;
  556. bool has_base_info() const;
  557. void clear_base_info();
  558. static const int kBaseInfoFieldNumber = 1;
  559. const ::message::Base_info& base_info() const;
  560. ::message::Base_info* release_base_info();
  561. ::message::Base_info* mutable_base_info();
  562. void set_allocated_base_info(::message::Base_info* base_info);
  563. // @@protoc_insertion_point(class_scope:message.Base_msg)
  564. private:
  565. void set_has_base_info();
  566. void clear_has_base_info();
  567. ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  568. ::google::protobuf::internal::HasBits<1> _has_bits_;
  569. mutable int _cached_size_;
  570. ::message::Base_info* base_info_;
  571. friend struct ::protobuf_message_5fbase_2eproto::TableStruct;
  572. friend void ::protobuf_message_5fbase_2eproto::InitDefaultsBase_msgImpl();
  573. };
  574. // -------------------------------------------------------------------
  575. class Error_manager : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:message.Error_manager) */ {
  576. public:
  577. Error_manager();
  578. virtual ~Error_manager();
  579. Error_manager(const Error_manager& from);
  580. inline Error_manager& operator=(const Error_manager& from) {
  581. CopyFrom(from);
  582. return *this;
  583. }
  584. #if LANG_CXX11
  585. Error_manager(Error_manager&& from) noexcept
  586. : Error_manager() {
  587. *this = ::std::move(from);
  588. }
  589. inline Error_manager& operator=(Error_manager&& from) noexcept {
  590. if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
  591. if (this != &from) InternalSwap(&from);
  592. } else {
  593. CopyFrom(from);
  594. }
  595. return *this;
  596. }
  597. #endif
  598. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  599. return _internal_metadata_.unknown_fields();
  600. }
  601. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  602. return _internal_metadata_.mutable_unknown_fields();
  603. }
  604. static const ::google::protobuf::Descriptor* descriptor();
  605. static const Error_manager& default_instance();
  606. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  607. static inline const Error_manager* internal_default_instance() {
  608. return reinterpret_cast<const Error_manager*>(
  609. &_Error_manager_default_instance_);
  610. }
  611. static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
  612. 3;
  613. void Swap(Error_manager* other);
  614. friend void swap(Error_manager& a, Error_manager& b) {
  615. a.Swap(&b);
  616. }
  617. // implements Message ----------------------------------------------
  618. inline Error_manager* New() const PROTOBUF_FINAL { return New(NULL); }
  619. Error_manager* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
  620. void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  621. void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  622. void CopyFrom(const Error_manager& from);
  623. void MergeFrom(const Error_manager& from);
  624. void Clear() PROTOBUF_FINAL;
  625. bool IsInitialized() const PROTOBUF_FINAL;
  626. size_t ByteSizeLong() const PROTOBUF_FINAL;
  627. bool MergePartialFromCodedStream(
  628. ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
  629. void SerializeWithCachedSizes(
  630. ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
  631. ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
  632. bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
  633. int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
  634. private:
  635. void SharedCtor();
  636. void SharedDtor();
  637. void SetCachedSize(int size) const PROTOBUF_FINAL;
  638. void InternalSwap(Error_manager* other);
  639. private:
  640. inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
  641. return NULL;
  642. }
  643. inline void* MaybeArenaPtr() const {
  644. return NULL;
  645. }
  646. public:
  647. ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
  648. // nested types ----------------------------------------------------
  649. // accessors -------------------------------------------------------
  650. // optional string error_description = 3;
  651. bool has_error_description() const;
  652. void clear_error_description();
  653. static const int kErrorDescriptionFieldNumber = 3;
  654. const ::std::string& error_description() const;
  655. void set_error_description(const ::std::string& value);
  656. #if LANG_CXX11
  657. void set_error_description(::std::string&& value);
  658. #endif
  659. void set_error_description(const char* value);
  660. void set_error_description(const char* value, size_t size);
  661. ::std::string* mutable_error_description();
  662. ::std::string* release_error_description();
  663. void set_allocated_error_description(::std::string* error_description);
  664. // required int32 error_code = 1;
  665. bool has_error_code() const;
  666. void clear_error_code();
  667. static const int kErrorCodeFieldNumber = 1;
  668. ::google::protobuf::int32 error_code() const;
  669. void set_error_code(::google::protobuf::int32 value);
  670. // optional .message.Error_level error_level = 2;
  671. bool has_error_level() const;
  672. void clear_error_level();
  673. static const int kErrorLevelFieldNumber = 2;
  674. ::message::Error_level error_level() const;
  675. void set_error_level(::message::Error_level value);
  676. // @@protoc_insertion_point(class_scope:message.Error_manager)
  677. private:
  678. void set_has_error_code();
  679. void clear_has_error_code();
  680. void set_has_error_level();
  681. void clear_has_error_level();
  682. void set_has_error_description();
  683. void clear_has_error_description();
  684. ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  685. ::google::protobuf::internal::HasBits<1> _has_bits_;
  686. mutable int _cached_size_;
  687. ::google::protobuf::internal::ArenaStringPtr error_description_;
  688. ::google::protobuf::int32 error_code_;
  689. int error_level_;
  690. friend struct ::protobuf_message_5fbase_2eproto::TableStruct;
  691. friend void ::protobuf_message_5fbase_2eproto::InitDefaultsError_managerImpl();
  692. };
  693. // -------------------------------------------------------------------
  694. class Locate_information : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:message.Locate_information) */ {
  695. public:
  696. Locate_information();
  697. virtual ~Locate_information();
  698. Locate_information(const Locate_information& from);
  699. inline Locate_information& operator=(const Locate_information& from) {
  700. CopyFrom(from);
  701. return *this;
  702. }
  703. #if LANG_CXX11
  704. Locate_information(Locate_information&& from) noexcept
  705. : Locate_information() {
  706. *this = ::std::move(from);
  707. }
  708. inline Locate_information& operator=(Locate_information&& from) noexcept {
  709. if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
  710. if (this != &from) InternalSwap(&from);
  711. } else {
  712. CopyFrom(from);
  713. }
  714. return *this;
  715. }
  716. #endif
  717. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  718. return _internal_metadata_.unknown_fields();
  719. }
  720. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  721. return _internal_metadata_.mutable_unknown_fields();
  722. }
  723. static const ::google::protobuf::Descriptor* descriptor();
  724. static const Locate_information& default_instance();
  725. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  726. static inline const Locate_information* internal_default_instance() {
  727. return reinterpret_cast<const Locate_information*>(
  728. &_Locate_information_default_instance_);
  729. }
  730. static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
  731. 4;
  732. void Swap(Locate_information* other);
  733. friend void swap(Locate_information& a, Locate_information& b) {
  734. a.Swap(&b);
  735. }
  736. // implements Message ----------------------------------------------
  737. inline Locate_information* New() const PROTOBUF_FINAL { return New(NULL); }
  738. Locate_information* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
  739. void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  740. void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  741. void CopyFrom(const Locate_information& from);
  742. void MergeFrom(const Locate_information& from);
  743. void Clear() PROTOBUF_FINAL;
  744. bool IsInitialized() const PROTOBUF_FINAL;
  745. size_t ByteSizeLong() const PROTOBUF_FINAL;
  746. bool MergePartialFromCodedStream(
  747. ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
  748. void SerializeWithCachedSizes(
  749. ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
  750. ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
  751. bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
  752. int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
  753. private:
  754. void SharedCtor();
  755. void SharedDtor();
  756. void SetCachedSize(int size) const PROTOBUF_FINAL;
  757. void InternalSwap(Locate_information* other);
  758. private:
  759. inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
  760. return NULL;
  761. }
  762. inline void* MaybeArenaPtr() const {
  763. return NULL;
  764. }
  765. public:
  766. ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
  767. // nested types ----------------------------------------------------
  768. // accessors -------------------------------------------------------
  769. // optional float locate_x = 1;
  770. bool has_locate_x() const;
  771. void clear_locate_x();
  772. static const int kLocateXFieldNumber = 1;
  773. float locate_x() const;
  774. void set_locate_x(float value);
  775. // optional float locate_y = 2;
  776. bool has_locate_y() const;
  777. void clear_locate_y();
  778. static const int kLocateYFieldNumber = 2;
  779. float locate_y() const;
  780. void set_locate_y(float value);
  781. // optional float locate_angle = 3;
  782. bool has_locate_angle() const;
  783. void clear_locate_angle();
  784. static const int kLocateAngleFieldNumber = 3;
  785. float locate_angle() const;
  786. void set_locate_angle(float value);
  787. // optional float locate_length = 4;
  788. bool has_locate_length() const;
  789. void clear_locate_length();
  790. static const int kLocateLengthFieldNumber = 4;
  791. float locate_length() const;
  792. void set_locate_length(float value);
  793. // optional float locate_width = 5;
  794. bool has_locate_width() const;
  795. void clear_locate_width();
  796. static const int kLocateWidthFieldNumber = 5;
  797. float locate_width() const;
  798. void set_locate_width(float value);
  799. // optional float locate_height = 6;
  800. bool has_locate_height() const;
  801. void clear_locate_height();
  802. static const int kLocateHeightFieldNumber = 6;
  803. float locate_height() const;
  804. void set_locate_height(float value);
  805. // optional float locate_wheel_base = 7;
  806. bool has_locate_wheel_base() const;
  807. void clear_locate_wheel_base();
  808. static const int kLocateWheelBaseFieldNumber = 7;
  809. float locate_wheel_base() const;
  810. void set_locate_wheel_base(float value);
  811. // optional float locate_wheel_width = 8;
  812. bool has_locate_wheel_width() const;
  813. void clear_locate_wheel_width();
  814. static const int kLocateWheelWidthFieldNumber = 8;
  815. float locate_wheel_width() const;
  816. void set_locate_wheel_width(float value);
  817. // optional bool locate_correct = 9;
  818. bool has_locate_correct() const;
  819. void clear_locate_correct();
  820. static const int kLocateCorrectFieldNumber = 9;
  821. bool locate_correct() const;
  822. void set_locate_correct(bool value);
  823. // @@protoc_insertion_point(class_scope:message.Locate_information)
  824. private:
  825. void set_has_locate_x();
  826. void clear_has_locate_x();
  827. void set_has_locate_y();
  828. void clear_has_locate_y();
  829. void set_has_locate_angle();
  830. void clear_has_locate_angle();
  831. void set_has_locate_length();
  832. void clear_has_locate_length();
  833. void set_has_locate_width();
  834. void clear_has_locate_width();
  835. void set_has_locate_height();
  836. void clear_has_locate_height();
  837. void set_has_locate_wheel_base();
  838. void clear_has_locate_wheel_base();
  839. void set_has_locate_wheel_width();
  840. void clear_has_locate_wheel_width();
  841. void set_has_locate_correct();
  842. void clear_has_locate_correct();
  843. ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  844. ::google::protobuf::internal::HasBits<1> _has_bits_;
  845. mutable int _cached_size_;
  846. float locate_x_;
  847. float locate_y_;
  848. float locate_angle_;
  849. float locate_length_;
  850. float locate_width_;
  851. float locate_height_;
  852. float locate_wheel_base_;
  853. float locate_wheel_width_;
  854. bool locate_correct_;
  855. friend struct ::protobuf_message_5fbase_2eproto::TableStruct;
  856. friend void ::protobuf_message_5fbase_2eproto::InitDefaultsLocate_informationImpl();
  857. };
  858. // -------------------------------------------------------------------
  859. class Car_info : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:message.Car_info) */ {
  860. public:
  861. Car_info();
  862. virtual ~Car_info();
  863. Car_info(const Car_info& from);
  864. inline Car_info& operator=(const Car_info& from) {
  865. CopyFrom(from);
  866. return *this;
  867. }
  868. #if LANG_CXX11
  869. Car_info(Car_info&& from) noexcept
  870. : Car_info() {
  871. *this = ::std::move(from);
  872. }
  873. inline Car_info& operator=(Car_info&& from) noexcept {
  874. if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
  875. if (this != &from) InternalSwap(&from);
  876. } else {
  877. CopyFrom(from);
  878. }
  879. return *this;
  880. }
  881. #endif
  882. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  883. return _internal_metadata_.unknown_fields();
  884. }
  885. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  886. return _internal_metadata_.mutable_unknown_fields();
  887. }
  888. static const ::google::protobuf::Descriptor* descriptor();
  889. static const Car_info& default_instance();
  890. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  891. static inline const Car_info* internal_default_instance() {
  892. return reinterpret_cast<const Car_info*>(
  893. &_Car_info_default_instance_);
  894. }
  895. static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
  896. 5;
  897. void Swap(Car_info* other);
  898. friend void swap(Car_info& a, Car_info& b) {
  899. a.Swap(&b);
  900. }
  901. // implements Message ----------------------------------------------
  902. inline Car_info* New() const PROTOBUF_FINAL { return New(NULL); }
  903. Car_info* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
  904. void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  905. void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  906. void CopyFrom(const Car_info& from);
  907. void MergeFrom(const Car_info& from);
  908. void Clear() PROTOBUF_FINAL;
  909. bool IsInitialized() const PROTOBUF_FINAL;
  910. size_t ByteSizeLong() const PROTOBUF_FINAL;
  911. bool MergePartialFromCodedStream(
  912. ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
  913. void SerializeWithCachedSizes(
  914. ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
  915. ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
  916. bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
  917. int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
  918. private:
  919. void SharedCtor();
  920. void SharedDtor();
  921. void SetCachedSize(int size) const PROTOBUF_FINAL;
  922. void InternalSwap(Car_info* other);
  923. private:
  924. inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
  925. return NULL;
  926. }
  927. inline void* MaybeArenaPtr() const {
  928. return NULL;
  929. }
  930. public:
  931. ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
  932. // nested types ----------------------------------------------------
  933. // accessors -------------------------------------------------------
  934. // optional string license = 4;
  935. bool has_license() const;
  936. void clear_license();
  937. static const int kLicenseFieldNumber = 4;
  938. const ::std::string& license() const;
  939. void set_license(const ::std::string& value);
  940. #if LANG_CXX11
  941. void set_license(::std::string&& value);
  942. #endif
  943. void set_license(const char* value);
  944. void set_license(const char* value, size_t size);
  945. ::std::string* mutable_license();
  946. ::std::string* release_license();
  947. void set_allocated_license(::std::string* license);
  948. // optional float car_length = 1;
  949. bool has_car_length() const;
  950. void clear_car_length();
  951. static const int kCarLengthFieldNumber = 1;
  952. float car_length() const;
  953. void set_car_length(float value);
  954. // optional float car_width = 2;
  955. bool has_car_width() const;
  956. void clear_car_width();
  957. static const int kCarWidthFieldNumber = 2;
  958. float car_width() const;
  959. void set_car_width(float value);
  960. // optional float car_height = 3;
  961. bool has_car_height() const;
  962. void clear_car_height();
  963. static const int kCarHeightFieldNumber = 3;
  964. float car_height() const;
  965. void set_car_height(float value);
  966. // @@protoc_insertion_point(class_scope:message.Car_info)
  967. private:
  968. void set_has_car_length();
  969. void clear_has_car_length();
  970. void set_has_car_width();
  971. void clear_has_car_width();
  972. void set_has_car_height();
  973. void clear_has_car_height();
  974. void set_has_license();
  975. void clear_has_license();
  976. ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  977. ::google::protobuf::internal::HasBits<1> _has_bits_;
  978. mutable int _cached_size_;
  979. ::google::protobuf::internal::ArenaStringPtr license_;
  980. float car_length_;
  981. float car_width_;
  982. float car_height_;
  983. friend struct ::protobuf_message_5fbase_2eproto::TableStruct;
  984. friend void ::protobuf_message_5fbase_2eproto::InitDefaultsCar_infoImpl();
  985. };
  986. // -------------------------------------------------------------------
  987. class Parkspace_info : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:message.Parkspace_info) */ {
  988. public:
  989. Parkspace_info();
  990. virtual ~Parkspace_info();
  991. Parkspace_info(const Parkspace_info& from);
  992. inline Parkspace_info& operator=(const Parkspace_info& from) {
  993. CopyFrom(from);
  994. return *this;
  995. }
  996. #if LANG_CXX11
  997. Parkspace_info(Parkspace_info&& from) noexcept
  998. : Parkspace_info() {
  999. *this = ::std::move(from);
  1000. }
  1001. inline Parkspace_info& operator=(Parkspace_info&& from) noexcept {
  1002. if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
  1003. if (this != &from) InternalSwap(&from);
  1004. } else {
  1005. CopyFrom(from);
  1006. }
  1007. return *this;
  1008. }
  1009. #endif
  1010. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  1011. return _internal_metadata_.unknown_fields();
  1012. }
  1013. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  1014. return _internal_metadata_.mutable_unknown_fields();
  1015. }
  1016. static const ::google::protobuf::Descriptor* descriptor();
  1017. static const Parkspace_info& default_instance();
  1018. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  1019. static inline const Parkspace_info* internal_default_instance() {
  1020. return reinterpret_cast<const Parkspace_info*>(
  1021. &_Parkspace_info_default_instance_);
  1022. }
  1023. static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
  1024. 6;
  1025. void Swap(Parkspace_info* other);
  1026. friend void swap(Parkspace_info& a, Parkspace_info& b) {
  1027. a.Swap(&b);
  1028. }
  1029. // implements Message ----------------------------------------------
  1030. inline Parkspace_info* New() const PROTOBUF_FINAL { return New(NULL); }
  1031. Parkspace_info* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
  1032. void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  1033. void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  1034. void CopyFrom(const Parkspace_info& from);
  1035. void MergeFrom(const Parkspace_info& from);
  1036. void Clear() PROTOBUF_FINAL;
  1037. bool IsInitialized() const PROTOBUF_FINAL;
  1038. size_t ByteSizeLong() const PROTOBUF_FINAL;
  1039. bool MergePartialFromCodedStream(
  1040. ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
  1041. void SerializeWithCachedSizes(
  1042. ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
  1043. ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
  1044. bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
  1045. int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
  1046. private:
  1047. void SharedCtor();
  1048. void SharedDtor();
  1049. void SetCachedSize(int size) const PROTOBUF_FINAL;
  1050. void InternalSwap(Parkspace_info* other);
  1051. private:
  1052. inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
  1053. return NULL;
  1054. }
  1055. inline void* MaybeArenaPtr() const {
  1056. return NULL;
  1057. }
  1058. public:
  1059. ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
  1060. // nested types ----------------------------------------------------
  1061. // accessors -------------------------------------------------------
  1062. // optional string entry_time = 10;
  1063. bool has_entry_time() const;
  1064. void clear_entry_time();
  1065. static const int kEntryTimeFieldNumber = 10;
  1066. const ::std::string& entry_time() const;
  1067. void set_entry_time(const ::std::string& value);
  1068. #if LANG_CXX11
  1069. void set_entry_time(::std::string&& value);
  1070. #endif
  1071. void set_entry_time(const char* value);
  1072. void set_entry_time(const char* value, size_t size);
  1073. ::std::string* mutable_entry_time();
  1074. ::std::string* release_entry_time();
  1075. void set_allocated_entry_time(::std::string* entry_time);
  1076. // optional string leave_time = 11;
  1077. bool has_leave_time() const;
  1078. void clear_leave_time();
  1079. static const int kLeaveTimeFieldNumber = 11;
  1080. const ::std::string& leave_time() const;
  1081. void set_leave_time(const ::std::string& value);
  1082. #if LANG_CXX11
  1083. void set_leave_time(::std::string&& value);
  1084. #endif
  1085. void set_leave_time(const char* value);
  1086. void set_leave_time(const char* value, size_t size);
  1087. ::std::string* mutable_leave_time();
  1088. ::std::string* release_leave_time();
  1089. void set_allocated_leave_time(::std::string* leave_time);
  1090. // optional .message.Car_info car_info = 9;
  1091. bool has_car_info() const;
  1092. void clear_car_info();
  1093. static const int kCarInfoFieldNumber = 9;
  1094. const ::message::Car_info& car_info() const;
  1095. ::message::Car_info* release_car_info();
  1096. ::message::Car_info* mutable_car_info();
  1097. void set_allocated_car_info(::message::Car_info* car_info);
  1098. // optional int32 parkspace_id = 1;
  1099. bool has_parkspace_id() const;
  1100. void clear_parkspace_id();
  1101. static const int kParkspaceIdFieldNumber = 1;
  1102. ::google::protobuf::int32 parkspace_id() const;
  1103. void set_parkspace_id(::google::protobuf::int32 value);
  1104. // optional int32 index = 2;
  1105. bool has_index() const;
  1106. void clear_index();
  1107. static const int kIndexFieldNumber = 2;
  1108. ::google::protobuf::int32 index() const;
  1109. void set_index(::google::protobuf::int32 value);
  1110. // optional int32 floor = 4;
  1111. bool has_floor() const;
  1112. void clear_floor();
  1113. static const int kFloorFieldNumber = 4;
  1114. ::google::protobuf::int32 floor() const;
  1115. void set_floor(::google::protobuf::int32 value);
  1116. // optional float length = 5;
  1117. bool has_length() const;
  1118. void clear_length();
  1119. static const int kLengthFieldNumber = 5;
  1120. float length() const;
  1121. void set_length(float value);
  1122. // optional float width = 6;
  1123. bool has_width() const;
  1124. void clear_width();
  1125. static const int kWidthFieldNumber = 6;
  1126. float width() const;
  1127. void set_width(float value);
  1128. // optional float height = 7;
  1129. bool has_height() const;
  1130. void clear_height();
  1131. static const int kHeightFieldNumber = 7;
  1132. float height() const;
  1133. void set_height(float value);
  1134. // optional .message.Parkspace_status parkspace_status = 8;
  1135. bool has_parkspace_status() const;
  1136. void clear_parkspace_status();
  1137. static const int kParkspaceStatusFieldNumber = 8;
  1138. ::message::Parkspace_status parkspace_status() const;
  1139. void set_parkspace_status(::message::Parkspace_status value);
  1140. // optional .message.Direction direction = 3;
  1141. bool has_direction() const;
  1142. void clear_direction();
  1143. static const int kDirectionFieldNumber = 3;
  1144. ::message::Direction direction() const;
  1145. void set_direction(::message::Direction value);
  1146. // @@protoc_insertion_point(class_scope:message.Parkspace_info)
  1147. private:
  1148. void set_has_parkspace_id();
  1149. void clear_has_parkspace_id();
  1150. void set_has_index();
  1151. void clear_has_index();
  1152. void set_has_direction();
  1153. void clear_has_direction();
  1154. void set_has_floor();
  1155. void clear_has_floor();
  1156. void set_has_length();
  1157. void clear_has_length();
  1158. void set_has_width();
  1159. void clear_has_width();
  1160. void set_has_height();
  1161. void clear_has_height();
  1162. void set_has_parkspace_status();
  1163. void clear_has_parkspace_status();
  1164. void set_has_car_info();
  1165. void clear_has_car_info();
  1166. void set_has_entry_time();
  1167. void clear_has_entry_time();
  1168. void set_has_leave_time();
  1169. void clear_has_leave_time();
  1170. ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  1171. ::google::protobuf::internal::HasBits<1> _has_bits_;
  1172. mutable int _cached_size_;
  1173. ::google::protobuf::internal::ArenaStringPtr entry_time_;
  1174. ::google::protobuf::internal::ArenaStringPtr leave_time_;
  1175. ::message::Car_info* car_info_;
  1176. ::google::protobuf::int32 parkspace_id_;
  1177. ::google::protobuf::int32 index_;
  1178. ::google::protobuf::int32 floor_;
  1179. float length_;
  1180. float width_;
  1181. float height_;
  1182. int parkspace_status_;
  1183. int direction_;
  1184. friend struct ::protobuf_message_5fbase_2eproto::TableStruct;
  1185. friend void ::protobuf_message_5fbase_2eproto::InitDefaultsParkspace_infoImpl();
  1186. };
  1187. // ===================================================================
  1188. // ===================================================================
  1189. #ifdef __GNUC__
  1190. #pragma GCC diagnostic push
  1191. #pragma GCC diagnostic ignored "-Wstrict-aliasing"
  1192. #endif // __GNUC__
  1193. // Base_info
  1194. // required .message.Message_type msg_type = 1;
  1195. inline bool Base_info::has_msg_type() const {
  1196. return (_has_bits_[0] & 0x00000001u) != 0;
  1197. }
  1198. inline void Base_info::set_has_msg_type() {
  1199. _has_bits_[0] |= 0x00000001u;
  1200. }
  1201. inline void Base_info::clear_has_msg_type() {
  1202. _has_bits_[0] &= ~0x00000001u;
  1203. }
  1204. inline void Base_info::clear_msg_type() {
  1205. msg_type_ = 0;
  1206. clear_has_msg_type();
  1207. }
  1208. inline ::message::Message_type Base_info::msg_type() const {
  1209. // @@protoc_insertion_point(field_get:message.Base_info.msg_type)
  1210. return static_cast< ::message::Message_type >(msg_type_);
  1211. }
  1212. inline void Base_info::set_msg_type(::message::Message_type value) {
  1213. assert(::message::Message_type_IsValid(value));
  1214. set_has_msg_type();
  1215. msg_type_ = value;
  1216. // @@protoc_insertion_point(field_set:message.Base_info.msg_type)
  1217. }
  1218. // optional int32 timeout_ms = 2;
  1219. inline bool Base_info::has_timeout_ms() const {
  1220. return (_has_bits_[0] & 0x00000002u) != 0;
  1221. }
  1222. inline void Base_info::set_has_timeout_ms() {
  1223. _has_bits_[0] |= 0x00000002u;
  1224. }
  1225. inline void Base_info::clear_has_timeout_ms() {
  1226. _has_bits_[0] &= ~0x00000002u;
  1227. }
  1228. inline void Base_info::clear_timeout_ms() {
  1229. timeout_ms_ = 0;
  1230. clear_has_timeout_ms();
  1231. }
  1232. inline ::google::protobuf::int32 Base_info::timeout_ms() const {
  1233. // @@protoc_insertion_point(field_get:message.Base_info.timeout_ms)
  1234. return timeout_ms_;
  1235. }
  1236. inline void Base_info::set_timeout_ms(::google::protobuf::int32 value) {
  1237. set_has_timeout_ms();
  1238. timeout_ms_ = value;
  1239. // @@protoc_insertion_point(field_set:message.Base_info.timeout_ms)
  1240. }
  1241. // required .message.Communicator sender = 3;
  1242. inline bool Base_info::has_sender() const {
  1243. return (_has_bits_[0] & 0x00000004u) != 0;
  1244. }
  1245. inline void Base_info::set_has_sender() {
  1246. _has_bits_[0] |= 0x00000004u;
  1247. }
  1248. inline void Base_info::clear_has_sender() {
  1249. _has_bits_[0] &= ~0x00000004u;
  1250. }
  1251. inline void Base_info::clear_sender() {
  1252. sender_ = 0;
  1253. clear_has_sender();
  1254. }
  1255. inline ::message::Communicator Base_info::sender() const {
  1256. // @@protoc_insertion_point(field_get:message.Base_info.sender)
  1257. return static_cast< ::message::Communicator >(sender_);
  1258. }
  1259. inline void Base_info::set_sender(::message::Communicator value) {
  1260. assert(::message::Communicator_IsValid(value));
  1261. set_has_sender();
  1262. sender_ = value;
  1263. // @@protoc_insertion_point(field_set:message.Base_info.sender)
  1264. }
  1265. // required .message.Communicator receiver = 4;
  1266. inline bool Base_info::has_receiver() const {
  1267. return (_has_bits_[0] & 0x00000008u) != 0;
  1268. }
  1269. inline void Base_info::set_has_receiver() {
  1270. _has_bits_[0] |= 0x00000008u;
  1271. }
  1272. inline void Base_info::clear_has_receiver() {
  1273. _has_bits_[0] &= ~0x00000008u;
  1274. }
  1275. inline void Base_info::clear_receiver() {
  1276. receiver_ = 0;
  1277. clear_has_receiver();
  1278. }
  1279. inline ::message::Communicator Base_info::receiver() const {
  1280. // @@protoc_insertion_point(field_get:message.Base_info.receiver)
  1281. return static_cast< ::message::Communicator >(receiver_);
  1282. }
  1283. inline void Base_info::set_receiver(::message::Communicator value) {
  1284. assert(::message::Communicator_IsValid(value));
  1285. set_has_receiver();
  1286. receiver_ = value;
  1287. // @@protoc_insertion_point(field_set:message.Base_info.receiver)
  1288. }
  1289. // -------------------------------------------------------------------
  1290. // Command_info
  1291. // required string time = 1;
  1292. inline bool Command_info::has_time() const {
  1293. return (_has_bits_[0] & 0x00000001u) != 0;
  1294. }
  1295. inline void Command_info::set_has_time() {
  1296. _has_bits_[0] |= 0x00000001u;
  1297. }
  1298. inline void Command_info::clear_has_time() {
  1299. _has_bits_[0] &= ~0x00000001u;
  1300. }
  1301. inline void Command_info::clear_time() {
  1302. time_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1303. clear_has_time();
  1304. }
  1305. inline const ::std::string& Command_info::time() const {
  1306. // @@protoc_insertion_point(field_get:message.Command_info.time)
  1307. return time_.GetNoArena();
  1308. }
  1309. inline void Command_info::set_time(const ::std::string& value) {
  1310. set_has_time();
  1311. time_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  1312. // @@protoc_insertion_point(field_set:message.Command_info.time)
  1313. }
  1314. #if LANG_CXX11
  1315. inline void Command_info::set_time(::std::string&& value) {
  1316. set_has_time();
  1317. time_.SetNoArena(
  1318. &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
  1319. // @@protoc_insertion_point(field_set_rvalue:message.Command_info.time)
  1320. }
  1321. #endif
  1322. inline void Command_info::set_time(const char* value) {
  1323. GOOGLE_DCHECK(value != NULL);
  1324. set_has_time();
  1325. time_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  1326. // @@protoc_insertion_point(field_set_char:message.Command_info.time)
  1327. }
  1328. inline void Command_info::set_time(const char* value, size_t size) {
  1329. set_has_time();
  1330. time_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  1331. ::std::string(reinterpret_cast<const char*>(value), size));
  1332. // @@protoc_insertion_point(field_set_pointer:message.Command_info.time)
  1333. }
  1334. inline ::std::string* Command_info::mutable_time() {
  1335. set_has_time();
  1336. // @@protoc_insertion_point(field_mutable:message.Command_info.time)
  1337. return time_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1338. }
  1339. inline ::std::string* Command_info::release_time() {
  1340. // @@protoc_insertion_point(field_release:message.Command_info.time)
  1341. clear_has_time();
  1342. return time_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1343. }
  1344. inline void Command_info::set_allocated_time(::std::string* time) {
  1345. if (time != NULL) {
  1346. set_has_time();
  1347. } else {
  1348. clear_has_time();
  1349. }
  1350. time_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), time);
  1351. // @@protoc_insertion_point(field_set_allocated:message.Command_info.time)
  1352. }
  1353. // required string place = 2;
  1354. inline bool Command_info::has_place() const {
  1355. return (_has_bits_[0] & 0x00000002u) != 0;
  1356. }
  1357. inline void Command_info::set_has_place() {
  1358. _has_bits_[0] |= 0x00000002u;
  1359. }
  1360. inline void Command_info::clear_has_place() {
  1361. _has_bits_[0] &= ~0x00000002u;
  1362. }
  1363. inline void Command_info::clear_place() {
  1364. place_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1365. clear_has_place();
  1366. }
  1367. inline const ::std::string& Command_info::place() const {
  1368. // @@protoc_insertion_point(field_get:message.Command_info.place)
  1369. return place_.GetNoArena();
  1370. }
  1371. inline void Command_info::set_place(const ::std::string& value) {
  1372. set_has_place();
  1373. place_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  1374. // @@protoc_insertion_point(field_set:message.Command_info.place)
  1375. }
  1376. #if LANG_CXX11
  1377. inline void Command_info::set_place(::std::string&& value) {
  1378. set_has_place();
  1379. place_.SetNoArena(
  1380. &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
  1381. // @@protoc_insertion_point(field_set_rvalue:message.Command_info.place)
  1382. }
  1383. #endif
  1384. inline void Command_info::set_place(const char* value) {
  1385. GOOGLE_DCHECK(value != NULL);
  1386. set_has_place();
  1387. place_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  1388. // @@protoc_insertion_point(field_set_char:message.Command_info.place)
  1389. }
  1390. inline void Command_info::set_place(const char* value, size_t size) {
  1391. set_has_place();
  1392. place_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  1393. ::std::string(reinterpret_cast<const char*>(value), size));
  1394. // @@protoc_insertion_point(field_set_pointer:message.Command_info.place)
  1395. }
  1396. inline ::std::string* Command_info::mutable_place() {
  1397. set_has_place();
  1398. // @@protoc_insertion_point(field_mutable:message.Command_info.place)
  1399. return place_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1400. }
  1401. inline ::std::string* Command_info::release_place() {
  1402. // @@protoc_insertion_point(field_release:message.Command_info.place)
  1403. clear_has_place();
  1404. return place_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1405. }
  1406. inline void Command_info::set_allocated_place(::std::string* place) {
  1407. if (place != NULL) {
  1408. set_has_place();
  1409. } else {
  1410. clear_has_place();
  1411. }
  1412. place_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), place);
  1413. // @@protoc_insertion_point(field_set_allocated:message.Command_info.place)
  1414. }
  1415. // required .message.Event event = 3;
  1416. inline bool Command_info::has_event() const {
  1417. return (_has_bits_[0] & 0x00000004u) != 0;
  1418. }
  1419. inline void Command_info::set_has_event() {
  1420. _has_bits_[0] |= 0x00000004u;
  1421. }
  1422. inline void Command_info::clear_has_event() {
  1423. _has_bits_[0] &= ~0x00000004u;
  1424. }
  1425. inline void Command_info::clear_event() {
  1426. event_ = 1;
  1427. clear_has_event();
  1428. }
  1429. inline ::message::Event Command_info::event() const {
  1430. // @@protoc_insertion_point(field_get:message.Command_info.event)
  1431. return static_cast< ::message::Event >(event_);
  1432. }
  1433. inline void Command_info::set_event(::message::Event value) {
  1434. assert(::message::Event_IsValid(value));
  1435. set_has_event();
  1436. event_ = value;
  1437. // @@protoc_insertion_point(field_set:message.Command_info.event)
  1438. }
  1439. // -------------------------------------------------------------------
  1440. // Base_msg
  1441. // required .message.Base_info base_info = 1;
  1442. inline bool Base_msg::has_base_info() const {
  1443. return (_has_bits_[0] & 0x00000001u) != 0;
  1444. }
  1445. inline void Base_msg::set_has_base_info() {
  1446. _has_bits_[0] |= 0x00000001u;
  1447. }
  1448. inline void Base_msg::clear_has_base_info() {
  1449. _has_bits_[0] &= ~0x00000001u;
  1450. }
  1451. inline void Base_msg::clear_base_info() {
  1452. if (base_info_ != NULL) base_info_->Clear();
  1453. clear_has_base_info();
  1454. }
  1455. inline const ::message::Base_info& Base_msg::base_info() const {
  1456. const ::message::Base_info* p = base_info_;
  1457. // @@protoc_insertion_point(field_get:message.Base_msg.base_info)
  1458. return p != NULL ? *p : *reinterpret_cast<const ::message::Base_info*>(
  1459. &::message::_Base_info_default_instance_);
  1460. }
  1461. inline ::message::Base_info* Base_msg::release_base_info() {
  1462. // @@protoc_insertion_point(field_release:message.Base_msg.base_info)
  1463. clear_has_base_info();
  1464. ::message::Base_info* temp = base_info_;
  1465. base_info_ = NULL;
  1466. return temp;
  1467. }
  1468. inline ::message::Base_info* Base_msg::mutable_base_info() {
  1469. set_has_base_info();
  1470. if (base_info_ == NULL) {
  1471. base_info_ = new ::message::Base_info;
  1472. }
  1473. // @@protoc_insertion_point(field_mutable:message.Base_msg.base_info)
  1474. return base_info_;
  1475. }
  1476. inline void Base_msg::set_allocated_base_info(::message::Base_info* base_info) {
  1477. ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  1478. if (message_arena == NULL) {
  1479. delete base_info_;
  1480. }
  1481. if (base_info) {
  1482. ::google::protobuf::Arena* submessage_arena = NULL;
  1483. if (message_arena != submessage_arena) {
  1484. base_info = ::google::protobuf::internal::GetOwnedMessage(
  1485. message_arena, base_info, submessage_arena);
  1486. }
  1487. set_has_base_info();
  1488. } else {
  1489. clear_has_base_info();
  1490. }
  1491. base_info_ = base_info;
  1492. // @@protoc_insertion_point(field_set_allocated:message.Base_msg.base_info)
  1493. }
  1494. // -------------------------------------------------------------------
  1495. // Error_manager
  1496. // required int32 error_code = 1;
  1497. inline bool Error_manager::has_error_code() const {
  1498. return (_has_bits_[0] & 0x00000002u) != 0;
  1499. }
  1500. inline void Error_manager::set_has_error_code() {
  1501. _has_bits_[0] |= 0x00000002u;
  1502. }
  1503. inline void Error_manager::clear_has_error_code() {
  1504. _has_bits_[0] &= ~0x00000002u;
  1505. }
  1506. inline void Error_manager::clear_error_code() {
  1507. error_code_ = 0;
  1508. clear_has_error_code();
  1509. }
  1510. inline ::google::protobuf::int32 Error_manager::error_code() const {
  1511. // @@protoc_insertion_point(field_get:message.Error_manager.error_code)
  1512. return error_code_;
  1513. }
  1514. inline void Error_manager::set_error_code(::google::protobuf::int32 value) {
  1515. set_has_error_code();
  1516. error_code_ = value;
  1517. // @@protoc_insertion_point(field_set:message.Error_manager.error_code)
  1518. }
  1519. // optional .message.Error_level error_level = 2;
  1520. inline bool Error_manager::has_error_level() const {
  1521. return (_has_bits_[0] & 0x00000004u) != 0;
  1522. }
  1523. inline void Error_manager::set_has_error_level() {
  1524. _has_bits_[0] |= 0x00000004u;
  1525. }
  1526. inline void Error_manager::clear_has_error_level() {
  1527. _has_bits_[0] &= ~0x00000004u;
  1528. }
  1529. inline void Error_manager::clear_error_level() {
  1530. error_level_ = 0;
  1531. clear_has_error_level();
  1532. }
  1533. inline ::message::Error_level Error_manager::error_level() const {
  1534. // @@protoc_insertion_point(field_get:message.Error_manager.error_level)
  1535. return static_cast< ::message::Error_level >(error_level_);
  1536. }
  1537. inline void Error_manager::set_error_level(::message::Error_level value) {
  1538. assert(::message::Error_level_IsValid(value));
  1539. set_has_error_level();
  1540. error_level_ = value;
  1541. // @@protoc_insertion_point(field_set:message.Error_manager.error_level)
  1542. }
  1543. // optional string error_description = 3;
  1544. inline bool Error_manager::has_error_description() const {
  1545. return (_has_bits_[0] & 0x00000001u) != 0;
  1546. }
  1547. inline void Error_manager::set_has_error_description() {
  1548. _has_bits_[0] |= 0x00000001u;
  1549. }
  1550. inline void Error_manager::clear_has_error_description() {
  1551. _has_bits_[0] &= ~0x00000001u;
  1552. }
  1553. inline void Error_manager::clear_error_description() {
  1554. error_description_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1555. clear_has_error_description();
  1556. }
  1557. inline const ::std::string& Error_manager::error_description() const {
  1558. // @@protoc_insertion_point(field_get:message.Error_manager.error_description)
  1559. return error_description_.GetNoArena();
  1560. }
  1561. inline void Error_manager::set_error_description(const ::std::string& value) {
  1562. set_has_error_description();
  1563. error_description_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  1564. // @@protoc_insertion_point(field_set:message.Error_manager.error_description)
  1565. }
  1566. #if LANG_CXX11
  1567. inline void Error_manager::set_error_description(::std::string&& value) {
  1568. set_has_error_description();
  1569. error_description_.SetNoArena(
  1570. &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
  1571. // @@protoc_insertion_point(field_set_rvalue:message.Error_manager.error_description)
  1572. }
  1573. #endif
  1574. inline void Error_manager::set_error_description(const char* value) {
  1575. GOOGLE_DCHECK(value != NULL);
  1576. set_has_error_description();
  1577. error_description_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  1578. // @@protoc_insertion_point(field_set_char:message.Error_manager.error_description)
  1579. }
  1580. inline void Error_manager::set_error_description(const char* value, size_t size) {
  1581. set_has_error_description();
  1582. error_description_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  1583. ::std::string(reinterpret_cast<const char*>(value), size));
  1584. // @@protoc_insertion_point(field_set_pointer:message.Error_manager.error_description)
  1585. }
  1586. inline ::std::string* Error_manager::mutable_error_description() {
  1587. set_has_error_description();
  1588. // @@protoc_insertion_point(field_mutable:message.Error_manager.error_description)
  1589. return error_description_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1590. }
  1591. inline ::std::string* Error_manager::release_error_description() {
  1592. // @@protoc_insertion_point(field_release:message.Error_manager.error_description)
  1593. clear_has_error_description();
  1594. return error_description_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1595. }
  1596. inline void Error_manager::set_allocated_error_description(::std::string* error_description) {
  1597. if (error_description != NULL) {
  1598. set_has_error_description();
  1599. } else {
  1600. clear_has_error_description();
  1601. }
  1602. error_description_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), error_description);
  1603. // @@protoc_insertion_point(field_set_allocated:message.Error_manager.error_description)
  1604. }
  1605. // -------------------------------------------------------------------
  1606. // Locate_information
  1607. // optional float locate_x = 1;
  1608. inline bool Locate_information::has_locate_x() const {
  1609. return (_has_bits_[0] & 0x00000001u) != 0;
  1610. }
  1611. inline void Locate_information::set_has_locate_x() {
  1612. _has_bits_[0] |= 0x00000001u;
  1613. }
  1614. inline void Locate_information::clear_has_locate_x() {
  1615. _has_bits_[0] &= ~0x00000001u;
  1616. }
  1617. inline void Locate_information::clear_locate_x() {
  1618. locate_x_ = 0;
  1619. clear_has_locate_x();
  1620. }
  1621. inline float Locate_information::locate_x() const {
  1622. // @@protoc_insertion_point(field_get:message.Locate_information.locate_x)
  1623. return locate_x_;
  1624. }
  1625. inline void Locate_information::set_locate_x(float value) {
  1626. set_has_locate_x();
  1627. locate_x_ = value;
  1628. // @@protoc_insertion_point(field_set:message.Locate_information.locate_x)
  1629. }
  1630. // optional float locate_y = 2;
  1631. inline bool Locate_information::has_locate_y() const {
  1632. return (_has_bits_[0] & 0x00000002u) != 0;
  1633. }
  1634. inline void Locate_information::set_has_locate_y() {
  1635. _has_bits_[0] |= 0x00000002u;
  1636. }
  1637. inline void Locate_information::clear_has_locate_y() {
  1638. _has_bits_[0] &= ~0x00000002u;
  1639. }
  1640. inline void Locate_information::clear_locate_y() {
  1641. locate_y_ = 0;
  1642. clear_has_locate_y();
  1643. }
  1644. inline float Locate_information::locate_y() const {
  1645. // @@protoc_insertion_point(field_get:message.Locate_information.locate_y)
  1646. return locate_y_;
  1647. }
  1648. inline void Locate_information::set_locate_y(float value) {
  1649. set_has_locate_y();
  1650. locate_y_ = value;
  1651. // @@protoc_insertion_point(field_set:message.Locate_information.locate_y)
  1652. }
  1653. // optional float locate_angle = 3;
  1654. inline bool Locate_information::has_locate_angle() const {
  1655. return (_has_bits_[0] & 0x00000004u) != 0;
  1656. }
  1657. inline void Locate_information::set_has_locate_angle() {
  1658. _has_bits_[0] |= 0x00000004u;
  1659. }
  1660. inline void Locate_information::clear_has_locate_angle() {
  1661. _has_bits_[0] &= ~0x00000004u;
  1662. }
  1663. inline void Locate_information::clear_locate_angle() {
  1664. locate_angle_ = 0;
  1665. clear_has_locate_angle();
  1666. }
  1667. inline float Locate_information::locate_angle() const {
  1668. // @@protoc_insertion_point(field_get:message.Locate_information.locate_angle)
  1669. return locate_angle_;
  1670. }
  1671. inline void Locate_information::set_locate_angle(float value) {
  1672. set_has_locate_angle();
  1673. locate_angle_ = value;
  1674. // @@protoc_insertion_point(field_set:message.Locate_information.locate_angle)
  1675. }
  1676. // optional float locate_length = 4;
  1677. inline bool Locate_information::has_locate_length() const {
  1678. return (_has_bits_[0] & 0x00000008u) != 0;
  1679. }
  1680. inline void Locate_information::set_has_locate_length() {
  1681. _has_bits_[0] |= 0x00000008u;
  1682. }
  1683. inline void Locate_information::clear_has_locate_length() {
  1684. _has_bits_[0] &= ~0x00000008u;
  1685. }
  1686. inline void Locate_information::clear_locate_length() {
  1687. locate_length_ = 0;
  1688. clear_has_locate_length();
  1689. }
  1690. inline float Locate_information::locate_length() const {
  1691. // @@protoc_insertion_point(field_get:message.Locate_information.locate_length)
  1692. return locate_length_;
  1693. }
  1694. inline void Locate_information::set_locate_length(float value) {
  1695. set_has_locate_length();
  1696. locate_length_ = value;
  1697. // @@protoc_insertion_point(field_set:message.Locate_information.locate_length)
  1698. }
  1699. // optional float locate_width = 5;
  1700. inline bool Locate_information::has_locate_width() const {
  1701. return (_has_bits_[0] & 0x00000010u) != 0;
  1702. }
  1703. inline void Locate_information::set_has_locate_width() {
  1704. _has_bits_[0] |= 0x00000010u;
  1705. }
  1706. inline void Locate_information::clear_has_locate_width() {
  1707. _has_bits_[0] &= ~0x00000010u;
  1708. }
  1709. inline void Locate_information::clear_locate_width() {
  1710. locate_width_ = 0;
  1711. clear_has_locate_width();
  1712. }
  1713. inline float Locate_information::locate_width() const {
  1714. // @@protoc_insertion_point(field_get:message.Locate_information.locate_width)
  1715. return locate_width_;
  1716. }
  1717. inline void Locate_information::set_locate_width(float value) {
  1718. set_has_locate_width();
  1719. locate_width_ = value;
  1720. // @@protoc_insertion_point(field_set:message.Locate_information.locate_width)
  1721. }
  1722. // optional float locate_height = 6;
  1723. inline bool Locate_information::has_locate_height() const {
  1724. return (_has_bits_[0] & 0x00000020u) != 0;
  1725. }
  1726. inline void Locate_information::set_has_locate_height() {
  1727. _has_bits_[0] |= 0x00000020u;
  1728. }
  1729. inline void Locate_information::clear_has_locate_height() {
  1730. _has_bits_[0] &= ~0x00000020u;
  1731. }
  1732. inline void Locate_information::clear_locate_height() {
  1733. locate_height_ = 0;
  1734. clear_has_locate_height();
  1735. }
  1736. inline float Locate_information::locate_height() const {
  1737. // @@protoc_insertion_point(field_get:message.Locate_information.locate_height)
  1738. return locate_height_;
  1739. }
  1740. inline void Locate_information::set_locate_height(float value) {
  1741. set_has_locate_height();
  1742. locate_height_ = value;
  1743. // @@protoc_insertion_point(field_set:message.Locate_information.locate_height)
  1744. }
  1745. // optional float locate_wheel_base = 7;
  1746. inline bool Locate_information::has_locate_wheel_base() const {
  1747. return (_has_bits_[0] & 0x00000040u) != 0;
  1748. }
  1749. inline void Locate_information::set_has_locate_wheel_base() {
  1750. _has_bits_[0] |= 0x00000040u;
  1751. }
  1752. inline void Locate_information::clear_has_locate_wheel_base() {
  1753. _has_bits_[0] &= ~0x00000040u;
  1754. }
  1755. inline void Locate_information::clear_locate_wheel_base() {
  1756. locate_wheel_base_ = 0;
  1757. clear_has_locate_wheel_base();
  1758. }
  1759. inline float Locate_information::locate_wheel_base() const {
  1760. // @@protoc_insertion_point(field_get:message.Locate_information.locate_wheel_base)
  1761. return locate_wheel_base_;
  1762. }
  1763. inline void Locate_information::set_locate_wheel_base(float value) {
  1764. set_has_locate_wheel_base();
  1765. locate_wheel_base_ = value;
  1766. // @@protoc_insertion_point(field_set:message.Locate_information.locate_wheel_base)
  1767. }
  1768. // optional float locate_wheel_width = 8;
  1769. inline bool Locate_information::has_locate_wheel_width() const {
  1770. return (_has_bits_[0] & 0x00000080u) != 0;
  1771. }
  1772. inline void Locate_information::set_has_locate_wheel_width() {
  1773. _has_bits_[0] |= 0x00000080u;
  1774. }
  1775. inline void Locate_information::clear_has_locate_wheel_width() {
  1776. _has_bits_[0] &= ~0x00000080u;
  1777. }
  1778. inline void Locate_information::clear_locate_wheel_width() {
  1779. locate_wheel_width_ = 0;
  1780. clear_has_locate_wheel_width();
  1781. }
  1782. inline float Locate_information::locate_wheel_width() const {
  1783. // @@protoc_insertion_point(field_get:message.Locate_information.locate_wheel_width)
  1784. return locate_wheel_width_;
  1785. }
  1786. inline void Locate_information::set_locate_wheel_width(float value) {
  1787. set_has_locate_wheel_width();
  1788. locate_wheel_width_ = value;
  1789. // @@protoc_insertion_point(field_set:message.Locate_information.locate_wheel_width)
  1790. }
  1791. // optional bool locate_correct = 9;
  1792. inline bool Locate_information::has_locate_correct() const {
  1793. return (_has_bits_[0] & 0x00000100u) != 0;
  1794. }
  1795. inline void Locate_information::set_has_locate_correct() {
  1796. _has_bits_[0] |= 0x00000100u;
  1797. }
  1798. inline void Locate_information::clear_has_locate_correct() {
  1799. _has_bits_[0] &= ~0x00000100u;
  1800. }
  1801. inline void Locate_information::clear_locate_correct() {
  1802. locate_correct_ = false;
  1803. clear_has_locate_correct();
  1804. }
  1805. inline bool Locate_information::locate_correct() const {
  1806. // @@protoc_insertion_point(field_get:message.Locate_information.locate_correct)
  1807. return locate_correct_;
  1808. }
  1809. inline void Locate_information::set_locate_correct(bool value) {
  1810. set_has_locate_correct();
  1811. locate_correct_ = value;
  1812. // @@protoc_insertion_point(field_set:message.Locate_information.locate_correct)
  1813. }
  1814. // -------------------------------------------------------------------
  1815. // Car_info
  1816. // optional float car_length = 1;
  1817. inline bool Car_info::has_car_length() const {
  1818. return (_has_bits_[0] & 0x00000002u) != 0;
  1819. }
  1820. inline void Car_info::set_has_car_length() {
  1821. _has_bits_[0] |= 0x00000002u;
  1822. }
  1823. inline void Car_info::clear_has_car_length() {
  1824. _has_bits_[0] &= ~0x00000002u;
  1825. }
  1826. inline void Car_info::clear_car_length() {
  1827. car_length_ = 0;
  1828. clear_has_car_length();
  1829. }
  1830. inline float Car_info::car_length() const {
  1831. // @@protoc_insertion_point(field_get:message.Car_info.car_length)
  1832. return car_length_;
  1833. }
  1834. inline void Car_info::set_car_length(float value) {
  1835. set_has_car_length();
  1836. car_length_ = value;
  1837. // @@protoc_insertion_point(field_set:message.Car_info.car_length)
  1838. }
  1839. // optional float car_width = 2;
  1840. inline bool Car_info::has_car_width() const {
  1841. return (_has_bits_[0] & 0x00000004u) != 0;
  1842. }
  1843. inline void Car_info::set_has_car_width() {
  1844. _has_bits_[0] |= 0x00000004u;
  1845. }
  1846. inline void Car_info::clear_has_car_width() {
  1847. _has_bits_[0] &= ~0x00000004u;
  1848. }
  1849. inline void Car_info::clear_car_width() {
  1850. car_width_ = 0;
  1851. clear_has_car_width();
  1852. }
  1853. inline float Car_info::car_width() const {
  1854. // @@protoc_insertion_point(field_get:message.Car_info.car_width)
  1855. return car_width_;
  1856. }
  1857. inline void Car_info::set_car_width(float value) {
  1858. set_has_car_width();
  1859. car_width_ = value;
  1860. // @@protoc_insertion_point(field_set:message.Car_info.car_width)
  1861. }
  1862. // optional float car_height = 3;
  1863. inline bool Car_info::has_car_height() const {
  1864. return (_has_bits_[0] & 0x00000008u) != 0;
  1865. }
  1866. inline void Car_info::set_has_car_height() {
  1867. _has_bits_[0] |= 0x00000008u;
  1868. }
  1869. inline void Car_info::clear_has_car_height() {
  1870. _has_bits_[0] &= ~0x00000008u;
  1871. }
  1872. inline void Car_info::clear_car_height() {
  1873. car_height_ = 0;
  1874. clear_has_car_height();
  1875. }
  1876. inline float Car_info::car_height() const {
  1877. // @@protoc_insertion_point(field_get:message.Car_info.car_height)
  1878. return car_height_;
  1879. }
  1880. inline void Car_info::set_car_height(float value) {
  1881. set_has_car_height();
  1882. car_height_ = value;
  1883. // @@protoc_insertion_point(field_set:message.Car_info.car_height)
  1884. }
  1885. // optional string license = 4;
  1886. inline bool Car_info::has_license() const {
  1887. return (_has_bits_[0] & 0x00000001u) != 0;
  1888. }
  1889. inline void Car_info::set_has_license() {
  1890. _has_bits_[0] |= 0x00000001u;
  1891. }
  1892. inline void Car_info::clear_has_license() {
  1893. _has_bits_[0] &= ~0x00000001u;
  1894. }
  1895. inline void Car_info::clear_license() {
  1896. license_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1897. clear_has_license();
  1898. }
  1899. inline const ::std::string& Car_info::license() const {
  1900. // @@protoc_insertion_point(field_get:message.Car_info.license)
  1901. return license_.GetNoArena();
  1902. }
  1903. inline void Car_info::set_license(const ::std::string& value) {
  1904. set_has_license();
  1905. license_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  1906. // @@protoc_insertion_point(field_set:message.Car_info.license)
  1907. }
  1908. #if LANG_CXX11
  1909. inline void Car_info::set_license(::std::string&& value) {
  1910. set_has_license();
  1911. license_.SetNoArena(
  1912. &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
  1913. // @@protoc_insertion_point(field_set_rvalue:message.Car_info.license)
  1914. }
  1915. #endif
  1916. inline void Car_info::set_license(const char* value) {
  1917. GOOGLE_DCHECK(value != NULL);
  1918. set_has_license();
  1919. license_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  1920. // @@protoc_insertion_point(field_set_char:message.Car_info.license)
  1921. }
  1922. inline void Car_info::set_license(const char* value, size_t size) {
  1923. set_has_license();
  1924. license_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  1925. ::std::string(reinterpret_cast<const char*>(value), size));
  1926. // @@protoc_insertion_point(field_set_pointer:message.Car_info.license)
  1927. }
  1928. inline ::std::string* Car_info::mutable_license() {
  1929. set_has_license();
  1930. // @@protoc_insertion_point(field_mutable:message.Car_info.license)
  1931. return license_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1932. }
  1933. inline ::std::string* Car_info::release_license() {
  1934. // @@protoc_insertion_point(field_release:message.Car_info.license)
  1935. clear_has_license();
  1936. return license_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1937. }
  1938. inline void Car_info::set_allocated_license(::std::string* license) {
  1939. if (license != NULL) {
  1940. set_has_license();
  1941. } else {
  1942. clear_has_license();
  1943. }
  1944. license_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), license);
  1945. // @@protoc_insertion_point(field_set_allocated:message.Car_info.license)
  1946. }
  1947. // -------------------------------------------------------------------
  1948. // Parkspace_info
  1949. // optional int32 parkspace_id = 1;
  1950. inline bool Parkspace_info::has_parkspace_id() const {
  1951. return (_has_bits_[0] & 0x00000008u) != 0;
  1952. }
  1953. inline void Parkspace_info::set_has_parkspace_id() {
  1954. _has_bits_[0] |= 0x00000008u;
  1955. }
  1956. inline void Parkspace_info::clear_has_parkspace_id() {
  1957. _has_bits_[0] &= ~0x00000008u;
  1958. }
  1959. inline void Parkspace_info::clear_parkspace_id() {
  1960. parkspace_id_ = 0;
  1961. clear_has_parkspace_id();
  1962. }
  1963. inline ::google::protobuf::int32 Parkspace_info::parkspace_id() const {
  1964. // @@protoc_insertion_point(field_get:message.Parkspace_info.parkspace_id)
  1965. return parkspace_id_;
  1966. }
  1967. inline void Parkspace_info::set_parkspace_id(::google::protobuf::int32 value) {
  1968. set_has_parkspace_id();
  1969. parkspace_id_ = value;
  1970. // @@protoc_insertion_point(field_set:message.Parkspace_info.parkspace_id)
  1971. }
  1972. // optional int32 index = 2;
  1973. inline bool Parkspace_info::has_index() const {
  1974. return (_has_bits_[0] & 0x00000010u) != 0;
  1975. }
  1976. inline void Parkspace_info::set_has_index() {
  1977. _has_bits_[0] |= 0x00000010u;
  1978. }
  1979. inline void Parkspace_info::clear_has_index() {
  1980. _has_bits_[0] &= ~0x00000010u;
  1981. }
  1982. inline void Parkspace_info::clear_index() {
  1983. index_ = 0;
  1984. clear_has_index();
  1985. }
  1986. inline ::google::protobuf::int32 Parkspace_info::index() const {
  1987. // @@protoc_insertion_point(field_get:message.Parkspace_info.index)
  1988. return index_;
  1989. }
  1990. inline void Parkspace_info::set_index(::google::protobuf::int32 value) {
  1991. set_has_index();
  1992. index_ = value;
  1993. // @@protoc_insertion_point(field_set:message.Parkspace_info.index)
  1994. }
  1995. // optional .message.Direction direction = 3;
  1996. inline bool Parkspace_info::has_direction() const {
  1997. return (_has_bits_[0] & 0x00000400u) != 0;
  1998. }
  1999. inline void Parkspace_info::set_has_direction() {
  2000. _has_bits_[0] |= 0x00000400u;
  2001. }
  2002. inline void Parkspace_info::clear_has_direction() {
  2003. _has_bits_[0] &= ~0x00000400u;
  2004. }
  2005. inline void Parkspace_info::clear_direction() {
  2006. direction_ = 1;
  2007. clear_has_direction();
  2008. }
  2009. inline ::message::Direction Parkspace_info::direction() const {
  2010. // @@protoc_insertion_point(field_get:message.Parkspace_info.direction)
  2011. return static_cast< ::message::Direction >(direction_);
  2012. }
  2013. inline void Parkspace_info::set_direction(::message::Direction value) {
  2014. assert(::message::Direction_IsValid(value));
  2015. set_has_direction();
  2016. direction_ = value;
  2017. // @@protoc_insertion_point(field_set:message.Parkspace_info.direction)
  2018. }
  2019. // optional int32 floor = 4;
  2020. inline bool Parkspace_info::has_floor() const {
  2021. return (_has_bits_[0] & 0x00000020u) != 0;
  2022. }
  2023. inline void Parkspace_info::set_has_floor() {
  2024. _has_bits_[0] |= 0x00000020u;
  2025. }
  2026. inline void Parkspace_info::clear_has_floor() {
  2027. _has_bits_[0] &= ~0x00000020u;
  2028. }
  2029. inline void Parkspace_info::clear_floor() {
  2030. floor_ = 0;
  2031. clear_has_floor();
  2032. }
  2033. inline ::google::protobuf::int32 Parkspace_info::floor() const {
  2034. // @@protoc_insertion_point(field_get:message.Parkspace_info.floor)
  2035. return floor_;
  2036. }
  2037. inline void Parkspace_info::set_floor(::google::protobuf::int32 value) {
  2038. set_has_floor();
  2039. floor_ = value;
  2040. // @@protoc_insertion_point(field_set:message.Parkspace_info.floor)
  2041. }
  2042. // optional float length = 5;
  2043. inline bool Parkspace_info::has_length() const {
  2044. return (_has_bits_[0] & 0x00000040u) != 0;
  2045. }
  2046. inline void Parkspace_info::set_has_length() {
  2047. _has_bits_[0] |= 0x00000040u;
  2048. }
  2049. inline void Parkspace_info::clear_has_length() {
  2050. _has_bits_[0] &= ~0x00000040u;
  2051. }
  2052. inline void Parkspace_info::clear_length() {
  2053. length_ = 0;
  2054. clear_has_length();
  2055. }
  2056. inline float Parkspace_info::length() const {
  2057. // @@protoc_insertion_point(field_get:message.Parkspace_info.length)
  2058. return length_;
  2059. }
  2060. inline void Parkspace_info::set_length(float value) {
  2061. set_has_length();
  2062. length_ = value;
  2063. // @@protoc_insertion_point(field_set:message.Parkspace_info.length)
  2064. }
  2065. // optional float width = 6;
  2066. inline bool Parkspace_info::has_width() const {
  2067. return (_has_bits_[0] & 0x00000080u) != 0;
  2068. }
  2069. inline void Parkspace_info::set_has_width() {
  2070. _has_bits_[0] |= 0x00000080u;
  2071. }
  2072. inline void Parkspace_info::clear_has_width() {
  2073. _has_bits_[0] &= ~0x00000080u;
  2074. }
  2075. inline void Parkspace_info::clear_width() {
  2076. width_ = 0;
  2077. clear_has_width();
  2078. }
  2079. inline float Parkspace_info::width() const {
  2080. // @@protoc_insertion_point(field_get:message.Parkspace_info.width)
  2081. return width_;
  2082. }
  2083. inline void Parkspace_info::set_width(float value) {
  2084. set_has_width();
  2085. width_ = value;
  2086. // @@protoc_insertion_point(field_set:message.Parkspace_info.width)
  2087. }
  2088. // optional float height = 7;
  2089. inline bool Parkspace_info::has_height() const {
  2090. return (_has_bits_[0] & 0x00000100u) != 0;
  2091. }
  2092. inline void Parkspace_info::set_has_height() {
  2093. _has_bits_[0] |= 0x00000100u;
  2094. }
  2095. inline void Parkspace_info::clear_has_height() {
  2096. _has_bits_[0] &= ~0x00000100u;
  2097. }
  2098. inline void Parkspace_info::clear_height() {
  2099. height_ = 0;
  2100. clear_has_height();
  2101. }
  2102. inline float Parkspace_info::height() const {
  2103. // @@protoc_insertion_point(field_get:message.Parkspace_info.height)
  2104. return height_;
  2105. }
  2106. inline void Parkspace_info::set_height(float value) {
  2107. set_has_height();
  2108. height_ = value;
  2109. // @@protoc_insertion_point(field_set:message.Parkspace_info.height)
  2110. }
  2111. // optional .message.Parkspace_status parkspace_status = 8;
  2112. inline bool Parkspace_info::has_parkspace_status() const {
  2113. return (_has_bits_[0] & 0x00000200u) != 0;
  2114. }
  2115. inline void Parkspace_info::set_has_parkspace_status() {
  2116. _has_bits_[0] |= 0x00000200u;
  2117. }
  2118. inline void Parkspace_info::clear_has_parkspace_status() {
  2119. _has_bits_[0] &= ~0x00000200u;
  2120. }
  2121. inline void Parkspace_info::clear_parkspace_status() {
  2122. parkspace_status_ = 0;
  2123. clear_has_parkspace_status();
  2124. }
  2125. inline ::message::Parkspace_status Parkspace_info::parkspace_status() const {
  2126. // @@protoc_insertion_point(field_get:message.Parkspace_info.parkspace_status)
  2127. return static_cast< ::message::Parkspace_status >(parkspace_status_);
  2128. }
  2129. inline void Parkspace_info::set_parkspace_status(::message::Parkspace_status value) {
  2130. assert(::message::Parkspace_status_IsValid(value));
  2131. set_has_parkspace_status();
  2132. parkspace_status_ = value;
  2133. // @@protoc_insertion_point(field_set:message.Parkspace_info.parkspace_status)
  2134. }
  2135. // optional .message.Car_info car_info = 9;
  2136. inline bool Parkspace_info::has_car_info() const {
  2137. return (_has_bits_[0] & 0x00000004u) != 0;
  2138. }
  2139. inline void Parkspace_info::set_has_car_info() {
  2140. _has_bits_[0] |= 0x00000004u;
  2141. }
  2142. inline void Parkspace_info::clear_has_car_info() {
  2143. _has_bits_[0] &= ~0x00000004u;
  2144. }
  2145. inline void Parkspace_info::clear_car_info() {
  2146. if (car_info_ != NULL) car_info_->Clear();
  2147. clear_has_car_info();
  2148. }
  2149. inline const ::message::Car_info& Parkspace_info::car_info() const {
  2150. const ::message::Car_info* p = car_info_;
  2151. // @@protoc_insertion_point(field_get:message.Parkspace_info.car_info)
  2152. return p != NULL ? *p : *reinterpret_cast<const ::message::Car_info*>(
  2153. &::message::_Car_info_default_instance_);
  2154. }
  2155. inline ::message::Car_info* Parkspace_info::release_car_info() {
  2156. // @@protoc_insertion_point(field_release:message.Parkspace_info.car_info)
  2157. clear_has_car_info();
  2158. ::message::Car_info* temp = car_info_;
  2159. car_info_ = NULL;
  2160. return temp;
  2161. }
  2162. inline ::message::Car_info* Parkspace_info::mutable_car_info() {
  2163. set_has_car_info();
  2164. if (car_info_ == NULL) {
  2165. car_info_ = new ::message::Car_info;
  2166. }
  2167. // @@protoc_insertion_point(field_mutable:message.Parkspace_info.car_info)
  2168. return car_info_;
  2169. }
  2170. inline void Parkspace_info::set_allocated_car_info(::message::Car_info* car_info) {
  2171. ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  2172. if (message_arena == NULL) {
  2173. delete car_info_;
  2174. }
  2175. if (car_info) {
  2176. ::google::protobuf::Arena* submessage_arena = NULL;
  2177. if (message_arena != submessage_arena) {
  2178. car_info = ::google::protobuf::internal::GetOwnedMessage(
  2179. message_arena, car_info, submessage_arena);
  2180. }
  2181. set_has_car_info();
  2182. } else {
  2183. clear_has_car_info();
  2184. }
  2185. car_info_ = car_info;
  2186. // @@protoc_insertion_point(field_set_allocated:message.Parkspace_info.car_info)
  2187. }
  2188. // optional string entry_time = 10;
  2189. inline bool Parkspace_info::has_entry_time() const {
  2190. return (_has_bits_[0] & 0x00000001u) != 0;
  2191. }
  2192. inline void Parkspace_info::set_has_entry_time() {
  2193. _has_bits_[0] |= 0x00000001u;
  2194. }
  2195. inline void Parkspace_info::clear_has_entry_time() {
  2196. _has_bits_[0] &= ~0x00000001u;
  2197. }
  2198. inline void Parkspace_info::clear_entry_time() {
  2199. entry_time_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  2200. clear_has_entry_time();
  2201. }
  2202. inline const ::std::string& Parkspace_info::entry_time() const {
  2203. // @@protoc_insertion_point(field_get:message.Parkspace_info.entry_time)
  2204. return entry_time_.GetNoArena();
  2205. }
  2206. inline void Parkspace_info::set_entry_time(const ::std::string& value) {
  2207. set_has_entry_time();
  2208. entry_time_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  2209. // @@protoc_insertion_point(field_set:message.Parkspace_info.entry_time)
  2210. }
  2211. #if LANG_CXX11
  2212. inline void Parkspace_info::set_entry_time(::std::string&& value) {
  2213. set_has_entry_time();
  2214. entry_time_.SetNoArena(
  2215. &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
  2216. // @@protoc_insertion_point(field_set_rvalue:message.Parkspace_info.entry_time)
  2217. }
  2218. #endif
  2219. inline void Parkspace_info::set_entry_time(const char* value) {
  2220. GOOGLE_DCHECK(value != NULL);
  2221. set_has_entry_time();
  2222. entry_time_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  2223. // @@protoc_insertion_point(field_set_char:message.Parkspace_info.entry_time)
  2224. }
  2225. inline void Parkspace_info::set_entry_time(const char* value, size_t size) {
  2226. set_has_entry_time();
  2227. entry_time_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  2228. ::std::string(reinterpret_cast<const char*>(value), size));
  2229. // @@protoc_insertion_point(field_set_pointer:message.Parkspace_info.entry_time)
  2230. }
  2231. inline ::std::string* Parkspace_info::mutable_entry_time() {
  2232. set_has_entry_time();
  2233. // @@protoc_insertion_point(field_mutable:message.Parkspace_info.entry_time)
  2234. return entry_time_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  2235. }
  2236. inline ::std::string* Parkspace_info::release_entry_time() {
  2237. // @@protoc_insertion_point(field_release:message.Parkspace_info.entry_time)
  2238. clear_has_entry_time();
  2239. return entry_time_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  2240. }
  2241. inline void Parkspace_info::set_allocated_entry_time(::std::string* entry_time) {
  2242. if (entry_time != NULL) {
  2243. set_has_entry_time();
  2244. } else {
  2245. clear_has_entry_time();
  2246. }
  2247. entry_time_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), entry_time);
  2248. // @@protoc_insertion_point(field_set_allocated:message.Parkspace_info.entry_time)
  2249. }
  2250. // optional string leave_time = 11;
  2251. inline bool Parkspace_info::has_leave_time() const {
  2252. return (_has_bits_[0] & 0x00000002u) != 0;
  2253. }
  2254. inline void Parkspace_info::set_has_leave_time() {
  2255. _has_bits_[0] |= 0x00000002u;
  2256. }
  2257. inline void Parkspace_info::clear_has_leave_time() {
  2258. _has_bits_[0] &= ~0x00000002u;
  2259. }
  2260. inline void Parkspace_info::clear_leave_time() {
  2261. leave_time_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  2262. clear_has_leave_time();
  2263. }
  2264. inline const ::std::string& Parkspace_info::leave_time() const {
  2265. // @@protoc_insertion_point(field_get:message.Parkspace_info.leave_time)
  2266. return leave_time_.GetNoArena();
  2267. }
  2268. inline void Parkspace_info::set_leave_time(const ::std::string& value) {
  2269. set_has_leave_time();
  2270. leave_time_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  2271. // @@protoc_insertion_point(field_set:message.Parkspace_info.leave_time)
  2272. }
  2273. #if LANG_CXX11
  2274. inline void Parkspace_info::set_leave_time(::std::string&& value) {
  2275. set_has_leave_time();
  2276. leave_time_.SetNoArena(
  2277. &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
  2278. // @@protoc_insertion_point(field_set_rvalue:message.Parkspace_info.leave_time)
  2279. }
  2280. #endif
  2281. inline void Parkspace_info::set_leave_time(const char* value) {
  2282. GOOGLE_DCHECK(value != NULL);
  2283. set_has_leave_time();
  2284. leave_time_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  2285. // @@protoc_insertion_point(field_set_char:message.Parkspace_info.leave_time)
  2286. }
  2287. inline void Parkspace_info::set_leave_time(const char* value, size_t size) {
  2288. set_has_leave_time();
  2289. leave_time_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  2290. ::std::string(reinterpret_cast<const char*>(value), size));
  2291. // @@protoc_insertion_point(field_set_pointer:message.Parkspace_info.leave_time)
  2292. }
  2293. inline ::std::string* Parkspace_info::mutable_leave_time() {
  2294. set_has_leave_time();
  2295. // @@protoc_insertion_point(field_mutable:message.Parkspace_info.leave_time)
  2296. return leave_time_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  2297. }
  2298. inline ::std::string* Parkspace_info::release_leave_time() {
  2299. // @@protoc_insertion_point(field_release:message.Parkspace_info.leave_time)
  2300. clear_has_leave_time();
  2301. return leave_time_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  2302. }
  2303. inline void Parkspace_info::set_allocated_leave_time(::std::string* leave_time) {
  2304. if (leave_time != NULL) {
  2305. set_has_leave_time();
  2306. } else {
  2307. clear_has_leave_time();
  2308. }
  2309. leave_time_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), leave_time);
  2310. // @@protoc_insertion_point(field_set_allocated:message.Parkspace_info.leave_time)
  2311. }
  2312. #ifdef __GNUC__
  2313. #pragma GCC diagnostic pop
  2314. #endif // __GNUC__
  2315. // -------------------------------------------------------------------
  2316. // -------------------------------------------------------------------
  2317. // -------------------------------------------------------------------
  2318. // -------------------------------------------------------------------
  2319. // -------------------------------------------------------------------
  2320. // -------------------------------------------------------------------
  2321. // @@protoc_insertion_point(namespace_scope)
  2322. } // namespace message
  2323. namespace google {
  2324. namespace protobuf {
  2325. template <> struct is_proto_enum< ::message::Message_type> : ::google::protobuf::internal::true_type {};
  2326. template <>
  2327. inline const EnumDescriptor* GetEnumDescriptor< ::message::Message_type>() {
  2328. return ::message::Message_type_descriptor();
  2329. }
  2330. template <> struct is_proto_enum< ::message::Communicator> : ::google::protobuf::internal::true_type {};
  2331. template <>
  2332. inline const EnumDescriptor* GetEnumDescriptor< ::message::Communicator>() {
  2333. return ::message::Communicator_descriptor();
  2334. }
  2335. template <> struct is_proto_enum< ::message::Event> : ::google::protobuf::internal::true_type {};
  2336. template <>
  2337. inline const EnumDescriptor* GetEnumDescriptor< ::message::Event>() {
  2338. return ::message::Event_descriptor();
  2339. }
  2340. template <> struct is_proto_enum< ::message::Error_level> : ::google::protobuf::internal::true_type {};
  2341. template <>
  2342. inline const EnumDescriptor* GetEnumDescriptor< ::message::Error_level>() {
  2343. return ::message::Error_level_descriptor();
  2344. }
  2345. template <> struct is_proto_enum< ::message::Parkspace_status> : ::google::protobuf::internal::true_type {};
  2346. template <>
  2347. inline const EnumDescriptor* GetEnumDescriptor< ::message::Parkspace_status>() {
  2348. return ::message::Parkspace_status_descriptor();
  2349. }
  2350. template <> struct is_proto_enum< ::message::Direction> : ::google::protobuf::internal::true_type {};
  2351. template <>
  2352. inline const EnumDescriptor* GetEnumDescriptor< ::message::Direction>() {
  2353. return ::message::Direction_descriptor();
  2354. }
  2355. } // namespace protobuf
  2356. } // namespace google
  2357. // @@protoc_insertion_point(global_scope)
  2358. #endif // PROTOBUF_message_5fbase_2eproto__INCLUDED