message_base.pb.h 79 KB

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