message_base.pb.h 115 KB

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