message_base.pb.h 98 KB

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