message_base.pb.h 81 KB

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