message_base.pb.h 97 KB

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