message_base.pb.h 77 KB

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