message_base.pb.h 88 KB

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