message_base.pb.h 88 KB

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