message_base.pb.h 79 KB

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