message_base.pb.h 98 KB

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