message_base.pb.h 81 KB

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