message_base.pb.h 81 KB

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