message_base.pb.h 82 KB

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