message_base.pb.h 81 KB

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