message_base.pb.h 77 KB

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