message_base.pb.h 105 KB

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