message_base.pb.h 80 KB

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