message_base.pb.h 76 KB

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