message_base.pb.h 89 KB

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