message_base.pb.h 77 KB

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