message_base.pb.h 96 KB

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