message_base.pb.h 89 KB

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