message_base.pb.h 80 KB

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