message_base.pb.h 104 KB

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