parkspace_allocation_message.pb.h 60 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588
  1. // Generated by the protocol buffer compiler. DO NOT EDIT!
  2. // source: parkspace_allocation_message.proto
  3. #ifndef PROTOBUF_parkspace_5fallocation_5fmessage_2eproto__INCLUDED
  4. #define PROTOBUF_parkspace_5fallocation_5fmessage_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. #include "message_base.pb.h"
  29. // @@protoc_insertion_point(includes)
  30. namespace protobuf_parkspace_5fallocation_5fmessage_2eproto {
  31. // Internal implementation detail -- do not use these members.
  32. struct TableStruct {
  33. static const ::google::protobuf::internal::ParseTableField entries[];
  34. static const ::google::protobuf::internal::AuxillaryParseTableField aux[];
  35. static const ::google::protobuf::internal::ParseTable schema[4];
  36. static const ::google::protobuf::internal::FieldMetadata field_metadata[];
  37. static const ::google::protobuf::internal::SerializationTable serialization_table[];
  38. static const ::google::protobuf::uint32 offsets[];
  39. };
  40. void AddDescriptors();
  41. void InitDefaultsParkspace_allocation_request_msgImpl();
  42. void InitDefaultsParkspace_allocation_request_msg();
  43. void InitDefaultsParkspace_allocation_response_msgImpl();
  44. void InitDefaultsParkspace_allocation_response_msg();
  45. void InitDefaultsParkspace_allocation_status_msgImpl();
  46. void InitDefaultsParkspace_allocation_status_msg();
  47. void InitDefaultsParkspace_infoImpl();
  48. void InitDefaultsParkspace_info();
  49. inline void InitDefaults() {
  50. InitDefaultsParkspace_allocation_request_msg();
  51. InitDefaultsParkspace_allocation_response_msg();
  52. InitDefaultsParkspace_allocation_status_msg();
  53. InitDefaultsParkspace_info();
  54. }
  55. } // namespace protobuf_parkspace_5fallocation_5fmessage_2eproto
  56. namespace message {
  57. class Parkspace_allocation_request_msg;
  58. class Parkspace_allocation_request_msgDefaultTypeInternal;
  59. extern Parkspace_allocation_request_msgDefaultTypeInternal _Parkspace_allocation_request_msg_default_instance_;
  60. class Parkspace_allocation_response_msg;
  61. class Parkspace_allocation_response_msgDefaultTypeInternal;
  62. extern Parkspace_allocation_response_msgDefaultTypeInternal _Parkspace_allocation_response_msg_default_instance_;
  63. class Parkspace_allocation_status_msg;
  64. class Parkspace_allocation_status_msgDefaultTypeInternal;
  65. extern Parkspace_allocation_status_msgDefaultTypeInternal _Parkspace_allocation_status_msg_default_instance_;
  66. class Parkspace_info;
  67. class Parkspace_infoDefaultTypeInternal;
  68. extern Parkspace_infoDefaultTypeInternal _Parkspace_info_default_instance_;
  69. } // namespace message
  70. namespace message {
  71. enum Parkspace_status {
  72. eParkspace_empty = 0,
  73. eParkspace_occupied = 1,
  74. eParkspace_reserverd = 2,
  75. eParkspace_error = 3
  76. };
  77. bool Parkspace_status_IsValid(int value);
  78. const Parkspace_status Parkspace_status_MIN = eParkspace_empty;
  79. const Parkspace_status Parkspace_status_MAX = eParkspace_error;
  80. const int Parkspace_status_ARRAYSIZE = Parkspace_status_MAX + 1;
  81. const ::google::protobuf::EnumDescriptor* Parkspace_status_descriptor();
  82. inline const ::std::string& Parkspace_status_Name(Parkspace_status value) {
  83. return ::google::protobuf::internal::NameOfEnum(
  84. Parkspace_status_descriptor(), value);
  85. }
  86. inline bool Parkspace_status_Parse(
  87. const ::std::string& name, Parkspace_status* value) {
  88. return ::google::protobuf::internal::ParseNamedEnum<Parkspace_status>(
  89. Parkspace_status_descriptor(), name, value);
  90. }
  91. // ===================================================================
  92. class Parkspace_allocation_request_msg : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:message.Parkspace_allocation_request_msg) */ {
  93. public:
  94. Parkspace_allocation_request_msg();
  95. virtual ~Parkspace_allocation_request_msg();
  96. Parkspace_allocation_request_msg(const Parkspace_allocation_request_msg& from);
  97. inline Parkspace_allocation_request_msg& operator=(const Parkspace_allocation_request_msg& from) {
  98. CopyFrom(from);
  99. return *this;
  100. }
  101. #if LANG_CXX11
  102. Parkspace_allocation_request_msg(Parkspace_allocation_request_msg&& from) noexcept
  103. : Parkspace_allocation_request_msg() {
  104. *this = ::std::move(from);
  105. }
  106. inline Parkspace_allocation_request_msg& operator=(Parkspace_allocation_request_msg&& from) noexcept {
  107. if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
  108. if (this != &from) InternalSwap(&from);
  109. } else {
  110. CopyFrom(from);
  111. }
  112. return *this;
  113. }
  114. #endif
  115. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  116. return _internal_metadata_.unknown_fields();
  117. }
  118. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  119. return _internal_metadata_.mutable_unknown_fields();
  120. }
  121. static const ::google::protobuf::Descriptor* descriptor();
  122. static const Parkspace_allocation_request_msg& default_instance();
  123. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  124. static inline const Parkspace_allocation_request_msg* internal_default_instance() {
  125. return reinterpret_cast<const Parkspace_allocation_request_msg*>(
  126. &_Parkspace_allocation_request_msg_default_instance_);
  127. }
  128. static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
  129. 0;
  130. void Swap(Parkspace_allocation_request_msg* other);
  131. friend void swap(Parkspace_allocation_request_msg& a, Parkspace_allocation_request_msg& b) {
  132. a.Swap(&b);
  133. }
  134. // implements Message ----------------------------------------------
  135. inline Parkspace_allocation_request_msg* New() const PROTOBUF_FINAL { return New(NULL); }
  136. Parkspace_allocation_request_msg* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
  137. void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  138. void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  139. void CopyFrom(const Parkspace_allocation_request_msg& from);
  140. void MergeFrom(const Parkspace_allocation_request_msg& from);
  141. void Clear() PROTOBUF_FINAL;
  142. bool IsInitialized() const PROTOBUF_FINAL;
  143. size_t ByteSizeLong() const PROTOBUF_FINAL;
  144. bool MergePartialFromCodedStream(
  145. ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
  146. void SerializeWithCachedSizes(
  147. ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
  148. ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
  149. bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
  150. int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
  151. private:
  152. void SharedCtor();
  153. void SharedDtor();
  154. void SetCachedSize(int size) const PROTOBUF_FINAL;
  155. void InternalSwap(Parkspace_allocation_request_msg* other);
  156. private:
  157. inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
  158. return NULL;
  159. }
  160. inline void* MaybeArenaPtr() const {
  161. return NULL;
  162. }
  163. public:
  164. ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
  165. // nested types ----------------------------------------------------
  166. // accessors -------------------------------------------------------
  167. // required .message.Base_info base_info = 1;
  168. bool has_base_info() const;
  169. void clear_base_info();
  170. static const int kBaseInfoFieldNumber = 1;
  171. const ::message::Base_info& base_info() const;
  172. ::message::Base_info* release_base_info();
  173. ::message::Base_info* mutable_base_info();
  174. void set_allocated_base_info(::message::Base_info* base_info);
  175. // required int32 command_id = 2;
  176. bool has_command_id() const;
  177. void clear_command_id();
  178. static const int kCommandIdFieldNumber = 2;
  179. ::google::protobuf::int32 command_id() const;
  180. void set_command_id(::google::protobuf::int32 value);
  181. // required int32 car_length = 3;
  182. bool has_car_length() const;
  183. void clear_car_length();
  184. static const int kCarLengthFieldNumber = 3;
  185. ::google::protobuf::int32 car_length() const;
  186. void set_car_length(::google::protobuf::int32 value);
  187. // required int32 car_width = 4;
  188. bool has_car_width() const;
  189. void clear_car_width();
  190. static const int kCarWidthFieldNumber = 4;
  191. ::google::protobuf::int32 car_width() const;
  192. void set_car_width(::google::protobuf::int32 value);
  193. // required int32 car_height = 5;
  194. bool has_car_height() const;
  195. void clear_car_height();
  196. static const int kCarHeightFieldNumber = 5;
  197. ::google::protobuf::int32 car_height() const;
  198. void set_car_height(::google::protobuf::int32 value);
  199. // @@protoc_insertion_point(class_scope:message.Parkspace_allocation_request_msg)
  200. private:
  201. void set_has_base_info();
  202. void clear_has_base_info();
  203. void set_has_command_id();
  204. void clear_has_command_id();
  205. void set_has_car_length();
  206. void clear_has_car_length();
  207. void set_has_car_width();
  208. void clear_has_car_width();
  209. void set_has_car_height();
  210. void clear_has_car_height();
  211. // helper for ByteSizeLong()
  212. size_t RequiredFieldsByteSizeFallback() const;
  213. ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  214. ::google::protobuf::internal::HasBits<1> _has_bits_;
  215. mutable int _cached_size_;
  216. ::message::Base_info* base_info_;
  217. ::google::protobuf::int32 command_id_;
  218. ::google::protobuf::int32 car_length_;
  219. ::google::protobuf::int32 car_width_;
  220. ::google::protobuf::int32 car_height_;
  221. friend struct ::protobuf_parkspace_5fallocation_5fmessage_2eproto::TableStruct;
  222. friend void ::protobuf_parkspace_5fallocation_5fmessage_2eproto::InitDefaultsParkspace_allocation_request_msgImpl();
  223. };
  224. // -------------------------------------------------------------------
  225. class Parkspace_allocation_response_msg : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:message.Parkspace_allocation_response_msg) */ {
  226. public:
  227. Parkspace_allocation_response_msg();
  228. virtual ~Parkspace_allocation_response_msg();
  229. Parkspace_allocation_response_msg(const Parkspace_allocation_response_msg& from);
  230. inline Parkspace_allocation_response_msg& operator=(const Parkspace_allocation_response_msg& from) {
  231. CopyFrom(from);
  232. return *this;
  233. }
  234. #if LANG_CXX11
  235. Parkspace_allocation_response_msg(Parkspace_allocation_response_msg&& from) noexcept
  236. : Parkspace_allocation_response_msg() {
  237. *this = ::std::move(from);
  238. }
  239. inline Parkspace_allocation_response_msg& operator=(Parkspace_allocation_response_msg&& from) noexcept {
  240. if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
  241. if (this != &from) InternalSwap(&from);
  242. } else {
  243. CopyFrom(from);
  244. }
  245. return *this;
  246. }
  247. #endif
  248. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  249. return _internal_metadata_.unknown_fields();
  250. }
  251. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  252. return _internal_metadata_.mutable_unknown_fields();
  253. }
  254. static const ::google::protobuf::Descriptor* descriptor();
  255. static const Parkspace_allocation_response_msg& default_instance();
  256. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  257. static inline const Parkspace_allocation_response_msg* internal_default_instance() {
  258. return reinterpret_cast<const Parkspace_allocation_response_msg*>(
  259. &_Parkspace_allocation_response_msg_default_instance_);
  260. }
  261. static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
  262. 1;
  263. void Swap(Parkspace_allocation_response_msg* other);
  264. friend void swap(Parkspace_allocation_response_msg& a, Parkspace_allocation_response_msg& b) {
  265. a.Swap(&b);
  266. }
  267. // implements Message ----------------------------------------------
  268. inline Parkspace_allocation_response_msg* New() const PROTOBUF_FINAL { return New(NULL); }
  269. Parkspace_allocation_response_msg* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
  270. void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  271. void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  272. void CopyFrom(const Parkspace_allocation_response_msg& from);
  273. void MergeFrom(const Parkspace_allocation_response_msg& from);
  274. void Clear() PROTOBUF_FINAL;
  275. bool IsInitialized() const PROTOBUF_FINAL;
  276. size_t ByteSizeLong() const PROTOBUF_FINAL;
  277. bool MergePartialFromCodedStream(
  278. ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
  279. void SerializeWithCachedSizes(
  280. ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
  281. ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
  282. bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
  283. int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
  284. private:
  285. void SharedCtor();
  286. void SharedDtor();
  287. void SetCachedSize(int size) const PROTOBUF_FINAL;
  288. void InternalSwap(Parkspace_allocation_response_msg* other);
  289. private:
  290. inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
  291. return NULL;
  292. }
  293. inline void* MaybeArenaPtr() const {
  294. return NULL;
  295. }
  296. public:
  297. ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
  298. // nested types ----------------------------------------------------
  299. // accessors -------------------------------------------------------
  300. // required .message.Base_info base_info = 1;
  301. bool has_base_info() const;
  302. void clear_base_info();
  303. static const int kBaseInfoFieldNumber = 1;
  304. const ::message::Base_info& base_info() const;
  305. ::message::Base_info* release_base_info();
  306. ::message::Base_info* mutable_base_info();
  307. void set_allocated_base_info(::message::Base_info* base_info);
  308. // required .message.Error_manager error_manager = 3;
  309. bool has_error_manager() const;
  310. void clear_error_manager();
  311. static const int kErrorManagerFieldNumber = 3;
  312. const ::message::Error_manager& error_manager() const;
  313. ::message::Error_manager* release_error_manager();
  314. ::message::Error_manager* mutable_error_manager();
  315. void set_allocated_error_manager(::message::Error_manager* error_manager);
  316. // required int32 command_id = 2;
  317. bool has_command_id() const;
  318. void clear_command_id();
  319. static const int kCommandIdFieldNumber = 2;
  320. ::google::protobuf::int32 command_id() const;
  321. void set_command_id(::google::protobuf::int32 value);
  322. // required int32 allocated_space_id = 4;
  323. bool has_allocated_space_id() const;
  324. void clear_allocated_space_id();
  325. static const int kAllocatedSpaceIdFieldNumber = 4;
  326. ::google::protobuf::int32 allocated_space_id() const;
  327. void set_allocated_space_id(::google::protobuf::int32 value);
  328. // @@protoc_insertion_point(class_scope:message.Parkspace_allocation_response_msg)
  329. private:
  330. void set_has_base_info();
  331. void clear_has_base_info();
  332. void set_has_command_id();
  333. void clear_has_command_id();
  334. void set_has_error_manager();
  335. void clear_has_error_manager();
  336. void set_has_allocated_space_id();
  337. void clear_has_allocated_space_id();
  338. // helper for ByteSizeLong()
  339. size_t RequiredFieldsByteSizeFallback() const;
  340. ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  341. ::google::protobuf::internal::HasBits<1> _has_bits_;
  342. mutable int _cached_size_;
  343. ::message::Base_info* base_info_;
  344. ::message::Error_manager* error_manager_;
  345. ::google::protobuf::int32 command_id_;
  346. ::google::protobuf::int32 allocated_space_id_;
  347. friend struct ::protobuf_parkspace_5fallocation_5fmessage_2eproto::TableStruct;
  348. friend void ::protobuf_parkspace_5fallocation_5fmessage_2eproto::InitDefaultsParkspace_allocation_response_msgImpl();
  349. };
  350. // -------------------------------------------------------------------
  351. class Parkspace_allocation_status_msg : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:message.Parkspace_allocation_status_msg) */ {
  352. public:
  353. Parkspace_allocation_status_msg();
  354. virtual ~Parkspace_allocation_status_msg();
  355. Parkspace_allocation_status_msg(const Parkspace_allocation_status_msg& from);
  356. inline Parkspace_allocation_status_msg& operator=(const Parkspace_allocation_status_msg& from) {
  357. CopyFrom(from);
  358. return *this;
  359. }
  360. #if LANG_CXX11
  361. Parkspace_allocation_status_msg(Parkspace_allocation_status_msg&& from) noexcept
  362. : Parkspace_allocation_status_msg() {
  363. *this = ::std::move(from);
  364. }
  365. inline Parkspace_allocation_status_msg& operator=(Parkspace_allocation_status_msg&& from) noexcept {
  366. if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
  367. if (this != &from) InternalSwap(&from);
  368. } else {
  369. CopyFrom(from);
  370. }
  371. return *this;
  372. }
  373. #endif
  374. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  375. return _internal_metadata_.unknown_fields();
  376. }
  377. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  378. return _internal_metadata_.mutable_unknown_fields();
  379. }
  380. static const ::google::protobuf::Descriptor* descriptor();
  381. static const Parkspace_allocation_status_msg& default_instance();
  382. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  383. static inline const Parkspace_allocation_status_msg* internal_default_instance() {
  384. return reinterpret_cast<const Parkspace_allocation_status_msg*>(
  385. &_Parkspace_allocation_status_msg_default_instance_);
  386. }
  387. static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
  388. 2;
  389. void Swap(Parkspace_allocation_status_msg* other);
  390. friend void swap(Parkspace_allocation_status_msg& a, Parkspace_allocation_status_msg& b) {
  391. a.Swap(&b);
  392. }
  393. // implements Message ----------------------------------------------
  394. inline Parkspace_allocation_status_msg* New() const PROTOBUF_FINAL { return New(NULL); }
  395. Parkspace_allocation_status_msg* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
  396. void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  397. void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  398. void CopyFrom(const Parkspace_allocation_status_msg& from);
  399. void MergeFrom(const Parkspace_allocation_status_msg& from);
  400. void Clear() PROTOBUF_FINAL;
  401. bool IsInitialized() const PROTOBUF_FINAL;
  402. size_t ByteSizeLong() const PROTOBUF_FINAL;
  403. bool MergePartialFromCodedStream(
  404. ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
  405. void SerializeWithCachedSizes(
  406. ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
  407. ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
  408. bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
  409. int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
  410. private:
  411. void SharedCtor();
  412. void SharedDtor();
  413. void SetCachedSize(int size) const PROTOBUF_FINAL;
  414. void InternalSwap(Parkspace_allocation_status_msg* other);
  415. private:
  416. inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
  417. return NULL;
  418. }
  419. inline void* MaybeArenaPtr() const {
  420. return NULL;
  421. }
  422. public:
  423. ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
  424. // nested types ----------------------------------------------------
  425. // accessors -------------------------------------------------------
  426. // repeated .message.Parkspace_info parkspace_info = 3;
  427. int parkspace_info_size() const;
  428. void clear_parkspace_info();
  429. static const int kParkspaceInfoFieldNumber = 3;
  430. const ::message::Parkspace_info& parkspace_info(int index) const;
  431. ::message::Parkspace_info* mutable_parkspace_info(int index);
  432. ::message::Parkspace_info* add_parkspace_info();
  433. ::google::protobuf::RepeatedPtrField< ::message::Parkspace_info >*
  434. mutable_parkspace_info();
  435. const ::google::protobuf::RepeatedPtrField< ::message::Parkspace_info >&
  436. parkspace_info() const;
  437. // required .message.Base_info base_info = 1;
  438. bool has_base_info() const;
  439. void clear_base_info();
  440. static const int kBaseInfoFieldNumber = 1;
  441. const ::message::Base_info& base_info() const;
  442. ::message::Base_info* release_base_info();
  443. ::message::Base_info* mutable_base_info();
  444. void set_allocated_base_info(::message::Base_info* base_info);
  445. // required .message.Error_manager error_manager = 2;
  446. bool has_error_manager() const;
  447. void clear_error_manager();
  448. static const int kErrorManagerFieldNumber = 2;
  449. const ::message::Error_manager& error_manager() const;
  450. ::message::Error_manager* release_error_manager();
  451. ::message::Error_manager* mutable_error_manager();
  452. void set_allocated_error_manager(::message::Error_manager* error_manager);
  453. // @@protoc_insertion_point(class_scope:message.Parkspace_allocation_status_msg)
  454. private:
  455. void set_has_base_info();
  456. void clear_has_base_info();
  457. void set_has_error_manager();
  458. void clear_has_error_manager();
  459. // helper for ByteSizeLong()
  460. size_t RequiredFieldsByteSizeFallback() const;
  461. ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  462. ::google::protobuf::internal::HasBits<1> _has_bits_;
  463. mutable int _cached_size_;
  464. ::google::protobuf::RepeatedPtrField< ::message::Parkspace_info > parkspace_info_;
  465. ::message::Base_info* base_info_;
  466. ::message::Error_manager* error_manager_;
  467. friend struct ::protobuf_parkspace_5fallocation_5fmessage_2eproto::TableStruct;
  468. friend void ::protobuf_parkspace_5fallocation_5fmessage_2eproto::InitDefaultsParkspace_allocation_status_msgImpl();
  469. };
  470. // -------------------------------------------------------------------
  471. class Parkspace_info : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:message.Parkspace_info) */ {
  472. public:
  473. Parkspace_info();
  474. virtual ~Parkspace_info();
  475. Parkspace_info(const Parkspace_info& from);
  476. inline Parkspace_info& operator=(const Parkspace_info& from) {
  477. CopyFrom(from);
  478. return *this;
  479. }
  480. #if LANG_CXX11
  481. Parkspace_info(Parkspace_info&& from) noexcept
  482. : Parkspace_info() {
  483. *this = ::std::move(from);
  484. }
  485. inline Parkspace_info& operator=(Parkspace_info&& from) noexcept {
  486. if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
  487. if (this != &from) InternalSwap(&from);
  488. } else {
  489. CopyFrom(from);
  490. }
  491. return *this;
  492. }
  493. #endif
  494. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  495. return _internal_metadata_.unknown_fields();
  496. }
  497. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  498. return _internal_metadata_.mutable_unknown_fields();
  499. }
  500. static const ::google::protobuf::Descriptor* descriptor();
  501. static const Parkspace_info& default_instance();
  502. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  503. static inline const Parkspace_info* internal_default_instance() {
  504. return reinterpret_cast<const Parkspace_info*>(
  505. &_Parkspace_info_default_instance_);
  506. }
  507. static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
  508. 3;
  509. void Swap(Parkspace_info* other);
  510. friend void swap(Parkspace_info& a, Parkspace_info& b) {
  511. a.Swap(&b);
  512. }
  513. // implements Message ----------------------------------------------
  514. inline Parkspace_info* New() const PROTOBUF_FINAL { return New(NULL); }
  515. Parkspace_info* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
  516. void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  517. void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  518. void CopyFrom(const Parkspace_info& from);
  519. void MergeFrom(const Parkspace_info& from);
  520. void Clear() PROTOBUF_FINAL;
  521. bool IsInitialized() const PROTOBUF_FINAL;
  522. size_t ByteSizeLong() const PROTOBUF_FINAL;
  523. bool MergePartialFromCodedStream(
  524. ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
  525. void SerializeWithCachedSizes(
  526. ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
  527. ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
  528. bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
  529. int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
  530. private:
  531. void SharedCtor();
  532. void SharedDtor();
  533. void SetCachedSize(int size) const PROTOBUF_FINAL;
  534. void InternalSwap(Parkspace_info* other);
  535. private:
  536. inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
  537. return NULL;
  538. }
  539. inline void* MaybeArenaPtr() const {
  540. return NULL;
  541. }
  542. public:
  543. ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
  544. // nested types ----------------------------------------------------
  545. // accessors -------------------------------------------------------
  546. // optional string entry_time = 10;
  547. bool has_entry_time() const;
  548. void clear_entry_time();
  549. static const int kEntryTimeFieldNumber = 10;
  550. const ::std::string& entry_time() const;
  551. void set_entry_time(const ::std::string& value);
  552. #if LANG_CXX11
  553. void set_entry_time(::std::string&& value);
  554. #endif
  555. void set_entry_time(const char* value);
  556. void set_entry_time(const char* value, size_t size);
  557. ::std::string* mutable_entry_time();
  558. ::std::string* release_entry_time();
  559. void set_allocated_entry_time(::std::string* entry_time);
  560. // optional string leave_time = 11;
  561. bool has_leave_time() const;
  562. void clear_leave_time();
  563. static const int kLeaveTimeFieldNumber = 11;
  564. const ::std::string& leave_time() const;
  565. void set_leave_time(const ::std::string& value);
  566. #if LANG_CXX11
  567. void set_leave_time(::std::string&& value);
  568. #endif
  569. void set_leave_time(const char* value);
  570. void set_leave_time(const char* value, size_t size);
  571. ::std::string* mutable_leave_time();
  572. ::std::string* release_leave_time();
  573. void set_allocated_leave_time(::std::string* leave_time);
  574. // required int32 parkspace_id = 1;
  575. bool has_parkspace_id() const;
  576. void clear_parkspace_id();
  577. static const int kParkspaceIdFieldNumber = 1;
  578. ::google::protobuf::int32 parkspace_id() const;
  579. void set_parkspace_id(::google::protobuf::int32 value);
  580. // required int32 x_coordinate = 2;
  581. bool has_x_coordinate() const;
  582. void clear_x_coordinate();
  583. static const int kXCoordinateFieldNumber = 2;
  584. ::google::protobuf::int32 x_coordinate() const;
  585. void set_x_coordinate(::google::protobuf::int32 value);
  586. // required int32 y_coordinate = 3;
  587. bool has_y_coordinate() const;
  588. void clear_y_coordinate();
  589. static const int kYCoordinateFieldNumber = 3;
  590. ::google::protobuf::int32 y_coordinate() const;
  591. void set_y_coordinate(::google::protobuf::int32 value);
  592. // required int32 z_coordinate = 4;
  593. bool has_z_coordinate() const;
  594. void clear_z_coordinate();
  595. static const int kZCoordinateFieldNumber = 4;
  596. ::google::protobuf::int32 z_coordinate() const;
  597. void set_z_coordinate(::google::protobuf::int32 value);
  598. // required int32 length = 5;
  599. bool has_length() const;
  600. void clear_length();
  601. static const int kLengthFieldNumber = 5;
  602. ::google::protobuf::int32 length() const;
  603. void set_length(::google::protobuf::int32 value);
  604. // required int32 width = 6;
  605. bool has_width() const;
  606. void clear_width();
  607. static const int kWidthFieldNumber = 6;
  608. ::google::protobuf::int32 width() const;
  609. void set_width(::google::protobuf::int32 value);
  610. // required int32 height = 7;
  611. bool has_height() const;
  612. void clear_height();
  613. static const int kHeightFieldNumber = 7;
  614. ::google::protobuf::int32 height() const;
  615. void set_height(::google::protobuf::int32 value);
  616. // required .message.Parkspace_status parkspace_status = 8;
  617. bool has_parkspace_status() const;
  618. void clear_parkspace_status();
  619. static const int kParkspaceStatusFieldNumber = 8;
  620. ::message::Parkspace_status parkspace_status() const;
  621. void set_parkspace_status(::message::Parkspace_status value);
  622. // optional int32 license = 9;
  623. bool has_license() const;
  624. void clear_license();
  625. static const int kLicenseFieldNumber = 9;
  626. ::google::protobuf::int32 license() const;
  627. void set_license(::google::protobuf::int32 value);
  628. // @@protoc_insertion_point(class_scope:message.Parkspace_info)
  629. private:
  630. void set_has_parkspace_id();
  631. void clear_has_parkspace_id();
  632. void set_has_x_coordinate();
  633. void clear_has_x_coordinate();
  634. void set_has_y_coordinate();
  635. void clear_has_y_coordinate();
  636. void set_has_z_coordinate();
  637. void clear_has_z_coordinate();
  638. void set_has_length();
  639. void clear_has_length();
  640. void set_has_width();
  641. void clear_has_width();
  642. void set_has_height();
  643. void clear_has_height();
  644. void set_has_parkspace_status();
  645. void clear_has_parkspace_status();
  646. void set_has_license();
  647. void clear_has_license();
  648. void set_has_entry_time();
  649. void clear_has_entry_time();
  650. void set_has_leave_time();
  651. void clear_has_leave_time();
  652. // helper for ByteSizeLong()
  653. size_t RequiredFieldsByteSizeFallback() const;
  654. ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  655. ::google::protobuf::internal::HasBits<1> _has_bits_;
  656. mutable int _cached_size_;
  657. ::google::protobuf::internal::ArenaStringPtr entry_time_;
  658. ::google::protobuf::internal::ArenaStringPtr leave_time_;
  659. ::google::protobuf::int32 parkspace_id_;
  660. ::google::protobuf::int32 x_coordinate_;
  661. ::google::protobuf::int32 y_coordinate_;
  662. ::google::protobuf::int32 z_coordinate_;
  663. ::google::protobuf::int32 length_;
  664. ::google::protobuf::int32 width_;
  665. ::google::protobuf::int32 height_;
  666. int parkspace_status_;
  667. ::google::protobuf::int32 license_;
  668. friend struct ::protobuf_parkspace_5fallocation_5fmessage_2eproto::TableStruct;
  669. friend void ::protobuf_parkspace_5fallocation_5fmessage_2eproto::InitDefaultsParkspace_infoImpl();
  670. };
  671. // ===================================================================
  672. // ===================================================================
  673. #ifdef __GNUC__
  674. #pragma GCC diagnostic push
  675. #pragma GCC diagnostic ignored "-Wstrict-aliasing"
  676. #endif // __GNUC__
  677. // Parkspace_allocation_request_msg
  678. // required .message.Base_info base_info = 1;
  679. inline bool Parkspace_allocation_request_msg::has_base_info() const {
  680. return (_has_bits_[0] & 0x00000001u) != 0;
  681. }
  682. inline void Parkspace_allocation_request_msg::set_has_base_info() {
  683. _has_bits_[0] |= 0x00000001u;
  684. }
  685. inline void Parkspace_allocation_request_msg::clear_has_base_info() {
  686. _has_bits_[0] &= ~0x00000001u;
  687. }
  688. inline const ::message::Base_info& Parkspace_allocation_request_msg::base_info() const {
  689. const ::message::Base_info* p = base_info_;
  690. // @@protoc_insertion_point(field_get:message.Parkspace_allocation_request_msg.base_info)
  691. return p != NULL ? *p : *reinterpret_cast<const ::message::Base_info*>(
  692. &::message::_Base_info_default_instance_);
  693. }
  694. inline ::message::Base_info* Parkspace_allocation_request_msg::release_base_info() {
  695. // @@protoc_insertion_point(field_release:message.Parkspace_allocation_request_msg.base_info)
  696. clear_has_base_info();
  697. ::message::Base_info* temp = base_info_;
  698. base_info_ = NULL;
  699. return temp;
  700. }
  701. inline ::message::Base_info* Parkspace_allocation_request_msg::mutable_base_info() {
  702. set_has_base_info();
  703. if (base_info_ == NULL) {
  704. base_info_ = new ::message::Base_info;
  705. }
  706. // @@protoc_insertion_point(field_mutable:message.Parkspace_allocation_request_msg.base_info)
  707. return base_info_;
  708. }
  709. inline void Parkspace_allocation_request_msg::set_allocated_base_info(::message::Base_info* base_info) {
  710. ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  711. if (message_arena == NULL) {
  712. delete reinterpret_cast< ::google::protobuf::MessageLite*>(base_info_);
  713. }
  714. if (base_info) {
  715. ::google::protobuf::Arena* submessage_arena = NULL;
  716. if (message_arena != submessage_arena) {
  717. base_info = ::google::protobuf::internal::GetOwnedMessage(
  718. message_arena, base_info, submessage_arena);
  719. }
  720. set_has_base_info();
  721. } else {
  722. clear_has_base_info();
  723. }
  724. base_info_ = base_info;
  725. // @@protoc_insertion_point(field_set_allocated:message.Parkspace_allocation_request_msg.base_info)
  726. }
  727. // required int32 command_id = 2;
  728. inline bool Parkspace_allocation_request_msg::has_command_id() const {
  729. return (_has_bits_[0] & 0x00000002u) != 0;
  730. }
  731. inline void Parkspace_allocation_request_msg::set_has_command_id() {
  732. _has_bits_[0] |= 0x00000002u;
  733. }
  734. inline void Parkspace_allocation_request_msg::clear_has_command_id() {
  735. _has_bits_[0] &= ~0x00000002u;
  736. }
  737. inline void Parkspace_allocation_request_msg::clear_command_id() {
  738. command_id_ = 0;
  739. clear_has_command_id();
  740. }
  741. inline ::google::protobuf::int32 Parkspace_allocation_request_msg::command_id() const {
  742. // @@protoc_insertion_point(field_get:message.Parkspace_allocation_request_msg.command_id)
  743. return command_id_;
  744. }
  745. inline void Parkspace_allocation_request_msg::set_command_id(::google::protobuf::int32 value) {
  746. set_has_command_id();
  747. command_id_ = value;
  748. // @@protoc_insertion_point(field_set:message.Parkspace_allocation_request_msg.command_id)
  749. }
  750. // required int32 car_length = 3;
  751. inline bool Parkspace_allocation_request_msg::has_car_length() const {
  752. return (_has_bits_[0] & 0x00000004u) != 0;
  753. }
  754. inline void Parkspace_allocation_request_msg::set_has_car_length() {
  755. _has_bits_[0] |= 0x00000004u;
  756. }
  757. inline void Parkspace_allocation_request_msg::clear_has_car_length() {
  758. _has_bits_[0] &= ~0x00000004u;
  759. }
  760. inline void Parkspace_allocation_request_msg::clear_car_length() {
  761. car_length_ = 0;
  762. clear_has_car_length();
  763. }
  764. inline ::google::protobuf::int32 Parkspace_allocation_request_msg::car_length() const {
  765. // @@protoc_insertion_point(field_get:message.Parkspace_allocation_request_msg.car_length)
  766. return car_length_;
  767. }
  768. inline void Parkspace_allocation_request_msg::set_car_length(::google::protobuf::int32 value) {
  769. set_has_car_length();
  770. car_length_ = value;
  771. // @@protoc_insertion_point(field_set:message.Parkspace_allocation_request_msg.car_length)
  772. }
  773. // required int32 car_width = 4;
  774. inline bool Parkspace_allocation_request_msg::has_car_width() const {
  775. return (_has_bits_[0] & 0x00000008u) != 0;
  776. }
  777. inline void Parkspace_allocation_request_msg::set_has_car_width() {
  778. _has_bits_[0] |= 0x00000008u;
  779. }
  780. inline void Parkspace_allocation_request_msg::clear_has_car_width() {
  781. _has_bits_[0] &= ~0x00000008u;
  782. }
  783. inline void Parkspace_allocation_request_msg::clear_car_width() {
  784. car_width_ = 0;
  785. clear_has_car_width();
  786. }
  787. inline ::google::protobuf::int32 Parkspace_allocation_request_msg::car_width() const {
  788. // @@protoc_insertion_point(field_get:message.Parkspace_allocation_request_msg.car_width)
  789. return car_width_;
  790. }
  791. inline void Parkspace_allocation_request_msg::set_car_width(::google::protobuf::int32 value) {
  792. set_has_car_width();
  793. car_width_ = value;
  794. // @@protoc_insertion_point(field_set:message.Parkspace_allocation_request_msg.car_width)
  795. }
  796. // required int32 car_height = 5;
  797. inline bool Parkspace_allocation_request_msg::has_car_height() const {
  798. return (_has_bits_[0] & 0x00000010u) != 0;
  799. }
  800. inline void Parkspace_allocation_request_msg::set_has_car_height() {
  801. _has_bits_[0] |= 0x00000010u;
  802. }
  803. inline void Parkspace_allocation_request_msg::clear_has_car_height() {
  804. _has_bits_[0] &= ~0x00000010u;
  805. }
  806. inline void Parkspace_allocation_request_msg::clear_car_height() {
  807. car_height_ = 0;
  808. clear_has_car_height();
  809. }
  810. inline ::google::protobuf::int32 Parkspace_allocation_request_msg::car_height() const {
  811. // @@protoc_insertion_point(field_get:message.Parkspace_allocation_request_msg.car_height)
  812. return car_height_;
  813. }
  814. inline void Parkspace_allocation_request_msg::set_car_height(::google::protobuf::int32 value) {
  815. set_has_car_height();
  816. car_height_ = value;
  817. // @@protoc_insertion_point(field_set:message.Parkspace_allocation_request_msg.car_height)
  818. }
  819. // -------------------------------------------------------------------
  820. // Parkspace_allocation_response_msg
  821. // required .message.Base_info base_info = 1;
  822. inline bool Parkspace_allocation_response_msg::has_base_info() const {
  823. return (_has_bits_[0] & 0x00000001u) != 0;
  824. }
  825. inline void Parkspace_allocation_response_msg::set_has_base_info() {
  826. _has_bits_[0] |= 0x00000001u;
  827. }
  828. inline void Parkspace_allocation_response_msg::clear_has_base_info() {
  829. _has_bits_[0] &= ~0x00000001u;
  830. }
  831. inline const ::message::Base_info& Parkspace_allocation_response_msg::base_info() const {
  832. const ::message::Base_info* p = base_info_;
  833. // @@protoc_insertion_point(field_get:message.Parkspace_allocation_response_msg.base_info)
  834. return p != NULL ? *p : *reinterpret_cast<const ::message::Base_info*>(
  835. &::message::_Base_info_default_instance_);
  836. }
  837. inline ::message::Base_info* Parkspace_allocation_response_msg::release_base_info() {
  838. // @@protoc_insertion_point(field_release:message.Parkspace_allocation_response_msg.base_info)
  839. clear_has_base_info();
  840. ::message::Base_info* temp = base_info_;
  841. base_info_ = NULL;
  842. return temp;
  843. }
  844. inline ::message::Base_info* Parkspace_allocation_response_msg::mutable_base_info() {
  845. set_has_base_info();
  846. if (base_info_ == NULL) {
  847. base_info_ = new ::message::Base_info;
  848. }
  849. // @@protoc_insertion_point(field_mutable:message.Parkspace_allocation_response_msg.base_info)
  850. return base_info_;
  851. }
  852. inline void Parkspace_allocation_response_msg::set_allocated_base_info(::message::Base_info* base_info) {
  853. ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  854. if (message_arena == NULL) {
  855. delete reinterpret_cast< ::google::protobuf::MessageLite*>(base_info_);
  856. }
  857. if (base_info) {
  858. ::google::protobuf::Arena* submessage_arena = NULL;
  859. if (message_arena != submessage_arena) {
  860. base_info = ::google::protobuf::internal::GetOwnedMessage(
  861. message_arena, base_info, submessage_arena);
  862. }
  863. set_has_base_info();
  864. } else {
  865. clear_has_base_info();
  866. }
  867. base_info_ = base_info;
  868. // @@protoc_insertion_point(field_set_allocated:message.Parkspace_allocation_response_msg.base_info)
  869. }
  870. // required int32 command_id = 2;
  871. inline bool Parkspace_allocation_response_msg::has_command_id() const {
  872. return (_has_bits_[0] & 0x00000004u) != 0;
  873. }
  874. inline void Parkspace_allocation_response_msg::set_has_command_id() {
  875. _has_bits_[0] |= 0x00000004u;
  876. }
  877. inline void Parkspace_allocation_response_msg::clear_has_command_id() {
  878. _has_bits_[0] &= ~0x00000004u;
  879. }
  880. inline void Parkspace_allocation_response_msg::clear_command_id() {
  881. command_id_ = 0;
  882. clear_has_command_id();
  883. }
  884. inline ::google::protobuf::int32 Parkspace_allocation_response_msg::command_id() const {
  885. // @@protoc_insertion_point(field_get:message.Parkspace_allocation_response_msg.command_id)
  886. return command_id_;
  887. }
  888. inline void Parkspace_allocation_response_msg::set_command_id(::google::protobuf::int32 value) {
  889. set_has_command_id();
  890. command_id_ = value;
  891. // @@protoc_insertion_point(field_set:message.Parkspace_allocation_response_msg.command_id)
  892. }
  893. // required .message.Error_manager error_manager = 3;
  894. inline bool Parkspace_allocation_response_msg::has_error_manager() const {
  895. return (_has_bits_[0] & 0x00000002u) != 0;
  896. }
  897. inline void Parkspace_allocation_response_msg::set_has_error_manager() {
  898. _has_bits_[0] |= 0x00000002u;
  899. }
  900. inline void Parkspace_allocation_response_msg::clear_has_error_manager() {
  901. _has_bits_[0] &= ~0x00000002u;
  902. }
  903. inline const ::message::Error_manager& Parkspace_allocation_response_msg::error_manager() const {
  904. const ::message::Error_manager* p = error_manager_;
  905. // @@protoc_insertion_point(field_get:message.Parkspace_allocation_response_msg.error_manager)
  906. return p != NULL ? *p : *reinterpret_cast<const ::message::Error_manager*>(
  907. &::message::_Error_manager_default_instance_);
  908. }
  909. inline ::message::Error_manager* Parkspace_allocation_response_msg::release_error_manager() {
  910. // @@protoc_insertion_point(field_release:message.Parkspace_allocation_response_msg.error_manager)
  911. clear_has_error_manager();
  912. ::message::Error_manager* temp = error_manager_;
  913. error_manager_ = NULL;
  914. return temp;
  915. }
  916. inline ::message::Error_manager* Parkspace_allocation_response_msg::mutable_error_manager() {
  917. set_has_error_manager();
  918. if (error_manager_ == NULL) {
  919. error_manager_ = new ::message::Error_manager;
  920. }
  921. // @@protoc_insertion_point(field_mutable:message.Parkspace_allocation_response_msg.error_manager)
  922. return error_manager_;
  923. }
  924. inline void Parkspace_allocation_response_msg::set_allocated_error_manager(::message::Error_manager* error_manager) {
  925. ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  926. if (message_arena == NULL) {
  927. delete reinterpret_cast< ::google::protobuf::MessageLite*>(error_manager_);
  928. }
  929. if (error_manager) {
  930. ::google::protobuf::Arena* submessage_arena = NULL;
  931. if (message_arena != submessage_arena) {
  932. error_manager = ::google::protobuf::internal::GetOwnedMessage(
  933. message_arena, error_manager, submessage_arena);
  934. }
  935. set_has_error_manager();
  936. } else {
  937. clear_has_error_manager();
  938. }
  939. error_manager_ = error_manager;
  940. // @@protoc_insertion_point(field_set_allocated:message.Parkspace_allocation_response_msg.error_manager)
  941. }
  942. // required int32 allocated_space_id = 4;
  943. inline bool Parkspace_allocation_response_msg::has_allocated_space_id() const {
  944. return (_has_bits_[0] & 0x00000008u) != 0;
  945. }
  946. inline void Parkspace_allocation_response_msg::set_has_allocated_space_id() {
  947. _has_bits_[0] |= 0x00000008u;
  948. }
  949. inline void Parkspace_allocation_response_msg::clear_has_allocated_space_id() {
  950. _has_bits_[0] &= ~0x00000008u;
  951. }
  952. inline void Parkspace_allocation_response_msg::clear_allocated_space_id() {
  953. allocated_space_id_ = 0;
  954. clear_has_allocated_space_id();
  955. }
  956. inline ::google::protobuf::int32 Parkspace_allocation_response_msg::allocated_space_id() const {
  957. // @@protoc_insertion_point(field_get:message.Parkspace_allocation_response_msg.allocated_space_id)
  958. return allocated_space_id_;
  959. }
  960. inline void Parkspace_allocation_response_msg::set_allocated_space_id(::google::protobuf::int32 value) {
  961. set_has_allocated_space_id();
  962. allocated_space_id_ = value;
  963. // @@protoc_insertion_point(field_set:message.Parkspace_allocation_response_msg.allocated_space_id)
  964. }
  965. // -------------------------------------------------------------------
  966. // Parkspace_allocation_status_msg
  967. // required .message.Base_info base_info = 1;
  968. inline bool Parkspace_allocation_status_msg::has_base_info() const {
  969. return (_has_bits_[0] & 0x00000001u) != 0;
  970. }
  971. inline void Parkspace_allocation_status_msg::set_has_base_info() {
  972. _has_bits_[0] |= 0x00000001u;
  973. }
  974. inline void Parkspace_allocation_status_msg::clear_has_base_info() {
  975. _has_bits_[0] &= ~0x00000001u;
  976. }
  977. inline const ::message::Base_info& Parkspace_allocation_status_msg::base_info() const {
  978. const ::message::Base_info* p = base_info_;
  979. // @@protoc_insertion_point(field_get:message.Parkspace_allocation_status_msg.base_info)
  980. return p != NULL ? *p : *reinterpret_cast<const ::message::Base_info*>(
  981. &::message::_Base_info_default_instance_);
  982. }
  983. inline ::message::Base_info* Parkspace_allocation_status_msg::release_base_info() {
  984. // @@protoc_insertion_point(field_release:message.Parkspace_allocation_status_msg.base_info)
  985. clear_has_base_info();
  986. ::message::Base_info* temp = base_info_;
  987. base_info_ = NULL;
  988. return temp;
  989. }
  990. inline ::message::Base_info* Parkspace_allocation_status_msg::mutable_base_info() {
  991. set_has_base_info();
  992. if (base_info_ == NULL) {
  993. base_info_ = new ::message::Base_info;
  994. }
  995. // @@protoc_insertion_point(field_mutable:message.Parkspace_allocation_status_msg.base_info)
  996. return base_info_;
  997. }
  998. inline void Parkspace_allocation_status_msg::set_allocated_base_info(::message::Base_info* base_info) {
  999. ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  1000. if (message_arena == NULL) {
  1001. delete reinterpret_cast< ::google::protobuf::MessageLite*>(base_info_);
  1002. }
  1003. if (base_info) {
  1004. ::google::protobuf::Arena* submessage_arena = NULL;
  1005. if (message_arena != submessage_arena) {
  1006. base_info = ::google::protobuf::internal::GetOwnedMessage(
  1007. message_arena, base_info, submessage_arena);
  1008. }
  1009. set_has_base_info();
  1010. } else {
  1011. clear_has_base_info();
  1012. }
  1013. base_info_ = base_info;
  1014. // @@protoc_insertion_point(field_set_allocated:message.Parkspace_allocation_status_msg.base_info)
  1015. }
  1016. // required .message.Error_manager error_manager = 2;
  1017. inline bool Parkspace_allocation_status_msg::has_error_manager() const {
  1018. return (_has_bits_[0] & 0x00000002u) != 0;
  1019. }
  1020. inline void Parkspace_allocation_status_msg::set_has_error_manager() {
  1021. _has_bits_[0] |= 0x00000002u;
  1022. }
  1023. inline void Parkspace_allocation_status_msg::clear_has_error_manager() {
  1024. _has_bits_[0] &= ~0x00000002u;
  1025. }
  1026. inline const ::message::Error_manager& Parkspace_allocation_status_msg::error_manager() const {
  1027. const ::message::Error_manager* p = error_manager_;
  1028. // @@protoc_insertion_point(field_get:message.Parkspace_allocation_status_msg.error_manager)
  1029. return p != NULL ? *p : *reinterpret_cast<const ::message::Error_manager*>(
  1030. &::message::_Error_manager_default_instance_);
  1031. }
  1032. inline ::message::Error_manager* Parkspace_allocation_status_msg::release_error_manager() {
  1033. // @@protoc_insertion_point(field_release:message.Parkspace_allocation_status_msg.error_manager)
  1034. clear_has_error_manager();
  1035. ::message::Error_manager* temp = error_manager_;
  1036. error_manager_ = NULL;
  1037. return temp;
  1038. }
  1039. inline ::message::Error_manager* Parkspace_allocation_status_msg::mutable_error_manager() {
  1040. set_has_error_manager();
  1041. if (error_manager_ == NULL) {
  1042. error_manager_ = new ::message::Error_manager;
  1043. }
  1044. // @@protoc_insertion_point(field_mutable:message.Parkspace_allocation_status_msg.error_manager)
  1045. return error_manager_;
  1046. }
  1047. inline void Parkspace_allocation_status_msg::set_allocated_error_manager(::message::Error_manager* error_manager) {
  1048. ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  1049. if (message_arena == NULL) {
  1050. delete reinterpret_cast< ::google::protobuf::MessageLite*>(error_manager_);
  1051. }
  1052. if (error_manager) {
  1053. ::google::protobuf::Arena* submessage_arena = NULL;
  1054. if (message_arena != submessage_arena) {
  1055. error_manager = ::google::protobuf::internal::GetOwnedMessage(
  1056. message_arena, error_manager, submessage_arena);
  1057. }
  1058. set_has_error_manager();
  1059. } else {
  1060. clear_has_error_manager();
  1061. }
  1062. error_manager_ = error_manager;
  1063. // @@protoc_insertion_point(field_set_allocated:message.Parkspace_allocation_status_msg.error_manager)
  1064. }
  1065. // repeated .message.Parkspace_info parkspace_info = 3;
  1066. inline int Parkspace_allocation_status_msg::parkspace_info_size() const {
  1067. return parkspace_info_.size();
  1068. }
  1069. inline void Parkspace_allocation_status_msg::clear_parkspace_info() {
  1070. parkspace_info_.Clear();
  1071. }
  1072. inline const ::message::Parkspace_info& Parkspace_allocation_status_msg::parkspace_info(int index) const {
  1073. // @@protoc_insertion_point(field_get:message.Parkspace_allocation_status_msg.parkspace_info)
  1074. return parkspace_info_.Get(index);
  1075. }
  1076. inline ::message::Parkspace_info* Parkspace_allocation_status_msg::mutable_parkspace_info(int index) {
  1077. // @@protoc_insertion_point(field_mutable:message.Parkspace_allocation_status_msg.parkspace_info)
  1078. return parkspace_info_.Mutable(index);
  1079. }
  1080. inline ::message::Parkspace_info* Parkspace_allocation_status_msg::add_parkspace_info() {
  1081. // @@protoc_insertion_point(field_add:message.Parkspace_allocation_status_msg.parkspace_info)
  1082. return parkspace_info_.Add();
  1083. }
  1084. inline ::google::protobuf::RepeatedPtrField< ::message::Parkspace_info >*
  1085. Parkspace_allocation_status_msg::mutable_parkspace_info() {
  1086. // @@protoc_insertion_point(field_mutable_list:message.Parkspace_allocation_status_msg.parkspace_info)
  1087. return &parkspace_info_;
  1088. }
  1089. inline const ::google::protobuf::RepeatedPtrField< ::message::Parkspace_info >&
  1090. Parkspace_allocation_status_msg::parkspace_info() const {
  1091. // @@protoc_insertion_point(field_list:message.Parkspace_allocation_status_msg.parkspace_info)
  1092. return parkspace_info_;
  1093. }
  1094. // -------------------------------------------------------------------
  1095. // Parkspace_info
  1096. // required int32 parkspace_id = 1;
  1097. inline bool Parkspace_info::has_parkspace_id() const {
  1098. return (_has_bits_[0] & 0x00000004u) != 0;
  1099. }
  1100. inline void Parkspace_info::set_has_parkspace_id() {
  1101. _has_bits_[0] |= 0x00000004u;
  1102. }
  1103. inline void Parkspace_info::clear_has_parkspace_id() {
  1104. _has_bits_[0] &= ~0x00000004u;
  1105. }
  1106. inline void Parkspace_info::clear_parkspace_id() {
  1107. parkspace_id_ = 0;
  1108. clear_has_parkspace_id();
  1109. }
  1110. inline ::google::protobuf::int32 Parkspace_info::parkspace_id() const {
  1111. // @@protoc_insertion_point(field_get:message.Parkspace_info.parkspace_id)
  1112. return parkspace_id_;
  1113. }
  1114. inline void Parkspace_info::set_parkspace_id(::google::protobuf::int32 value) {
  1115. set_has_parkspace_id();
  1116. parkspace_id_ = value;
  1117. // @@protoc_insertion_point(field_set:message.Parkspace_info.parkspace_id)
  1118. }
  1119. // required int32 x_coordinate = 2;
  1120. inline bool Parkspace_info::has_x_coordinate() const {
  1121. return (_has_bits_[0] & 0x00000008u) != 0;
  1122. }
  1123. inline void Parkspace_info::set_has_x_coordinate() {
  1124. _has_bits_[0] |= 0x00000008u;
  1125. }
  1126. inline void Parkspace_info::clear_has_x_coordinate() {
  1127. _has_bits_[0] &= ~0x00000008u;
  1128. }
  1129. inline void Parkspace_info::clear_x_coordinate() {
  1130. x_coordinate_ = 0;
  1131. clear_has_x_coordinate();
  1132. }
  1133. inline ::google::protobuf::int32 Parkspace_info::x_coordinate() const {
  1134. // @@protoc_insertion_point(field_get:message.Parkspace_info.x_coordinate)
  1135. return x_coordinate_;
  1136. }
  1137. inline void Parkspace_info::set_x_coordinate(::google::protobuf::int32 value) {
  1138. set_has_x_coordinate();
  1139. x_coordinate_ = value;
  1140. // @@protoc_insertion_point(field_set:message.Parkspace_info.x_coordinate)
  1141. }
  1142. // required int32 y_coordinate = 3;
  1143. inline bool Parkspace_info::has_y_coordinate() const {
  1144. return (_has_bits_[0] & 0x00000010u) != 0;
  1145. }
  1146. inline void Parkspace_info::set_has_y_coordinate() {
  1147. _has_bits_[0] |= 0x00000010u;
  1148. }
  1149. inline void Parkspace_info::clear_has_y_coordinate() {
  1150. _has_bits_[0] &= ~0x00000010u;
  1151. }
  1152. inline void Parkspace_info::clear_y_coordinate() {
  1153. y_coordinate_ = 0;
  1154. clear_has_y_coordinate();
  1155. }
  1156. inline ::google::protobuf::int32 Parkspace_info::y_coordinate() const {
  1157. // @@protoc_insertion_point(field_get:message.Parkspace_info.y_coordinate)
  1158. return y_coordinate_;
  1159. }
  1160. inline void Parkspace_info::set_y_coordinate(::google::protobuf::int32 value) {
  1161. set_has_y_coordinate();
  1162. y_coordinate_ = value;
  1163. // @@protoc_insertion_point(field_set:message.Parkspace_info.y_coordinate)
  1164. }
  1165. // required int32 z_coordinate = 4;
  1166. inline bool Parkspace_info::has_z_coordinate() const {
  1167. return (_has_bits_[0] & 0x00000020u) != 0;
  1168. }
  1169. inline void Parkspace_info::set_has_z_coordinate() {
  1170. _has_bits_[0] |= 0x00000020u;
  1171. }
  1172. inline void Parkspace_info::clear_has_z_coordinate() {
  1173. _has_bits_[0] &= ~0x00000020u;
  1174. }
  1175. inline void Parkspace_info::clear_z_coordinate() {
  1176. z_coordinate_ = 0;
  1177. clear_has_z_coordinate();
  1178. }
  1179. inline ::google::protobuf::int32 Parkspace_info::z_coordinate() const {
  1180. // @@protoc_insertion_point(field_get:message.Parkspace_info.z_coordinate)
  1181. return z_coordinate_;
  1182. }
  1183. inline void Parkspace_info::set_z_coordinate(::google::protobuf::int32 value) {
  1184. set_has_z_coordinate();
  1185. z_coordinate_ = value;
  1186. // @@protoc_insertion_point(field_set:message.Parkspace_info.z_coordinate)
  1187. }
  1188. // required int32 length = 5;
  1189. inline bool Parkspace_info::has_length() const {
  1190. return (_has_bits_[0] & 0x00000040u) != 0;
  1191. }
  1192. inline void Parkspace_info::set_has_length() {
  1193. _has_bits_[0] |= 0x00000040u;
  1194. }
  1195. inline void Parkspace_info::clear_has_length() {
  1196. _has_bits_[0] &= ~0x00000040u;
  1197. }
  1198. inline void Parkspace_info::clear_length() {
  1199. length_ = 0;
  1200. clear_has_length();
  1201. }
  1202. inline ::google::protobuf::int32 Parkspace_info::length() const {
  1203. // @@protoc_insertion_point(field_get:message.Parkspace_info.length)
  1204. return length_;
  1205. }
  1206. inline void Parkspace_info::set_length(::google::protobuf::int32 value) {
  1207. set_has_length();
  1208. length_ = value;
  1209. // @@protoc_insertion_point(field_set:message.Parkspace_info.length)
  1210. }
  1211. // required int32 width = 6;
  1212. inline bool Parkspace_info::has_width() const {
  1213. return (_has_bits_[0] & 0x00000080u) != 0;
  1214. }
  1215. inline void Parkspace_info::set_has_width() {
  1216. _has_bits_[0] |= 0x00000080u;
  1217. }
  1218. inline void Parkspace_info::clear_has_width() {
  1219. _has_bits_[0] &= ~0x00000080u;
  1220. }
  1221. inline void Parkspace_info::clear_width() {
  1222. width_ = 0;
  1223. clear_has_width();
  1224. }
  1225. inline ::google::protobuf::int32 Parkspace_info::width() const {
  1226. // @@protoc_insertion_point(field_get:message.Parkspace_info.width)
  1227. return width_;
  1228. }
  1229. inline void Parkspace_info::set_width(::google::protobuf::int32 value) {
  1230. set_has_width();
  1231. width_ = value;
  1232. // @@protoc_insertion_point(field_set:message.Parkspace_info.width)
  1233. }
  1234. // required int32 height = 7;
  1235. inline bool Parkspace_info::has_height() const {
  1236. return (_has_bits_[0] & 0x00000100u) != 0;
  1237. }
  1238. inline void Parkspace_info::set_has_height() {
  1239. _has_bits_[0] |= 0x00000100u;
  1240. }
  1241. inline void Parkspace_info::clear_has_height() {
  1242. _has_bits_[0] &= ~0x00000100u;
  1243. }
  1244. inline void Parkspace_info::clear_height() {
  1245. height_ = 0;
  1246. clear_has_height();
  1247. }
  1248. inline ::google::protobuf::int32 Parkspace_info::height() const {
  1249. // @@protoc_insertion_point(field_get:message.Parkspace_info.height)
  1250. return height_;
  1251. }
  1252. inline void Parkspace_info::set_height(::google::protobuf::int32 value) {
  1253. set_has_height();
  1254. height_ = value;
  1255. // @@protoc_insertion_point(field_set:message.Parkspace_info.height)
  1256. }
  1257. // required .message.Parkspace_status parkspace_status = 8;
  1258. inline bool Parkspace_info::has_parkspace_status() const {
  1259. return (_has_bits_[0] & 0x00000200u) != 0;
  1260. }
  1261. inline void Parkspace_info::set_has_parkspace_status() {
  1262. _has_bits_[0] |= 0x00000200u;
  1263. }
  1264. inline void Parkspace_info::clear_has_parkspace_status() {
  1265. _has_bits_[0] &= ~0x00000200u;
  1266. }
  1267. inline void Parkspace_info::clear_parkspace_status() {
  1268. parkspace_status_ = 0;
  1269. clear_has_parkspace_status();
  1270. }
  1271. inline ::message::Parkspace_status Parkspace_info::parkspace_status() const {
  1272. // @@protoc_insertion_point(field_get:message.Parkspace_info.parkspace_status)
  1273. return static_cast< ::message::Parkspace_status >(parkspace_status_);
  1274. }
  1275. inline void Parkspace_info::set_parkspace_status(::message::Parkspace_status value) {
  1276. assert(::message::Parkspace_status_IsValid(value));
  1277. set_has_parkspace_status();
  1278. parkspace_status_ = value;
  1279. // @@protoc_insertion_point(field_set:message.Parkspace_info.parkspace_status)
  1280. }
  1281. // optional int32 license = 9;
  1282. inline bool Parkspace_info::has_license() const {
  1283. return (_has_bits_[0] & 0x00000400u) != 0;
  1284. }
  1285. inline void Parkspace_info::set_has_license() {
  1286. _has_bits_[0] |= 0x00000400u;
  1287. }
  1288. inline void Parkspace_info::clear_has_license() {
  1289. _has_bits_[0] &= ~0x00000400u;
  1290. }
  1291. inline void Parkspace_info::clear_license() {
  1292. license_ = 0;
  1293. clear_has_license();
  1294. }
  1295. inline ::google::protobuf::int32 Parkspace_info::license() const {
  1296. // @@protoc_insertion_point(field_get:message.Parkspace_info.license)
  1297. return license_;
  1298. }
  1299. inline void Parkspace_info::set_license(::google::protobuf::int32 value) {
  1300. set_has_license();
  1301. license_ = value;
  1302. // @@protoc_insertion_point(field_set:message.Parkspace_info.license)
  1303. }
  1304. // optional string entry_time = 10;
  1305. inline bool Parkspace_info::has_entry_time() const {
  1306. return (_has_bits_[0] & 0x00000001u) != 0;
  1307. }
  1308. inline void Parkspace_info::set_has_entry_time() {
  1309. _has_bits_[0] |= 0x00000001u;
  1310. }
  1311. inline void Parkspace_info::clear_has_entry_time() {
  1312. _has_bits_[0] &= ~0x00000001u;
  1313. }
  1314. inline void Parkspace_info::clear_entry_time() {
  1315. entry_time_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1316. clear_has_entry_time();
  1317. }
  1318. inline const ::std::string& Parkspace_info::entry_time() const {
  1319. // @@protoc_insertion_point(field_get:message.Parkspace_info.entry_time)
  1320. return entry_time_.GetNoArena();
  1321. }
  1322. inline void Parkspace_info::set_entry_time(const ::std::string& value) {
  1323. set_has_entry_time();
  1324. entry_time_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  1325. // @@protoc_insertion_point(field_set:message.Parkspace_info.entry_time)
  1326. }
  1327. #if LANG_CXX11
  1328. inline void Parkspace_info::set_entry_time(::std::string&& value) {
  1329. set_has_entry_time();
  1330. entry_time_.SetNoArena(
  1331. &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
  1332. // @@protoc_insertion_point(field_set_rvalue:message.Parkspace_info.entry_time)
  1333. }
  1334. #endif
  1335. inline void Parkspace_info::set_entry_time(const char* value) {
  1336. GOOGLE_DCHECK(value != NULL);
  1337. set_has_entry_time();
  1338. entry_time_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  1339. // @@protoc_insertion_point(field_set_char:message.Parkspace_info.entry_time)
  1340. }
  1341. inline void Parkspace_info::set_entry_time(const char* value, size_t size) {
  1342. set_has_entry_time();
  1343. entry_time_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  1344. ::std::string(reinterpret_cast<const char*>(value), size));
  1345. // @@protoc_insertion_point(field_set_pointer:message.Parkspace_info.entry_time)
  1346. }
  1347. inline ::std::string* Parkspace_info::mutable_entry_time() {
  1348. set_has_entry_time();
  1349. // @@protoc_insertion_point(field_mutable:message.Parkspace_info.entry_time)
  1350. return entry_time_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1351. }
  1352. inline ::std::string* Parkspace_info::release_entry_time() {
  1353. // @@protoc_insertion_point(field_release:message.Parkspace_info.entry_time)
  1354. clear_has_entry_time();
  1355. return entry_time_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1356. }
  1357. inline void Parkspace_info::set_allocated_entry_time(::std::string* entry_time) {
  1358. if (entry_time != NULL) {
  1359. set_has_entry_time();
  1360. } else {
  1361. clear_has_entry_time();
  1362. }
  1363. entry_time_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), entry_time);
  1364. // @@protoc_insertion_point(field_set_allocated:message.Parkspace_info.entry_time)
  1365. }
  1366. // optional string leave_time = 11;
  1367. inline bool Parkspace_info::has_leave_time() const {
  1368. return (_has_bits_[0] & 0x00000002u) != 0;
  1369. }
  1370. inline void Parkspace_info::set_has_leave_time() {
  1371. _has_bits_[0] |= 0x00000002u;
  1372. }
  1373. inline void Parkspace_info::clear_has_leave_time() {
  1374. _has_bits_[0] &= ~0x00000002u;
  1375. }
  1376. inline void Parkspace_info::clear_leave_time() {
  1377. leave_time_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1378. clear_has_leave_time();
  1379. }
  1380. inline const ::std::string& Parkspace_info::leave_time() const {
  1381. // @@protoc_insertion_point(field_get:message.Parkspace_info.leave_time)
  1382. return leave_time_.GetNoArena();
  1383. }
  1384. inline void Parkspace_info::set_leave_time(const ::std::string& value) {
  1385. set_has_leave_time();
  1386. leave_time_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  1387. // @@protoc_insertion_point(field_set:message.Parkspace_info.leave_time)
  1388. }
  1389. #if LANG_CXX11
  1390. inline void Parkspace_info::set_leave_time(::std::string&& value) {
  1391. set_has_leave_time();
  1392. leave_time_.SetNoArena(
  1393. &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
  1394. // @@protoc_insertion_point(field_set_rvalue:message.Parkspace_info.leave_time)
  1395. }
  1396. #endif
  1397. inline void Parkspace_info::set_leave_time(const char* value) {
  1398. GOOGLE_DCHECK(value != NULL);
  1399. set_has_leave_time();
  1400. leave_time_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  1401. // @@protoc_insertion_point(field_set_char:message.Parkspace_info.leave_time)
  1402. }
  1403. inline void Parkspace_info::set_leave_time(const char* value, size_t size) {
  1404. set_has_leave_time();
  1405. leave_time_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  1406. ::std::string(reinterpret_cast<const char*>(value), size));
  1407. // @@protoc_insertion_point(field_set_pointer:message.Parkspace_info.leave_time)
  1408. }
  1409. inline ::std::string* Parkspace_info::mutable_leave_time() {
  1410. set_has_leave_time();
  1411. // @@protoc_insertion_point(field_mutable:message.Parkspace_info.leave_time)
  1412. return leave_time_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1413. }
  1414. inline ::std::string* Parkspace_info::release_leave_time() {
  1415. // @@protoc_insertion_point(field_release:message.Parkspace_info.leave_time)
  1416. clear_has_leave_time();
  1417. return leave_time_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1418. }
  1419. inline void Parkspace_info::set_allocated_leave_time(::std::string* leave_time) {
  1420. if (leave_time != NULL) {
  1421. set_has_leave_time();
  1422. } else {
  1423. clear_has_leave_time();
  1424. }
  1425. leave_time_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), leave_time);
  1426. // @@protoc_insertion_point(field_set_allocated:message.Parkspace_info.leave_time)
  1427. }
  1428. #ifdef __GNUC__
  1429. #pragma GCC diagnostic pop
  1430. #endif // __GNUC__
  1431. // -------------------------------------------------------------------
  1432. // -------------------------------------------------------------------
  1433. // -------------------------------------------------------------------
  1434. // @@protoc_insertion_point(namespace_scope)
  1435. } // namespace message
  1436. namespace google {
  1437. namespace protobuf {
  1438. template <> struct is_proto_enum< ::message::Parkspace_status> : ::google::protobuf::internal::true_type {};
  1439. template <>
  1440. inline const EnumDescriptor* GetEnumDescriptor< ::message::Parkspace_status>() {
  1441. return ::message::Parkspace_status_descriptor();
  1442. }
  1443. } // namespace protobuf
  1444. } // namespace google
  1445. // @@protoc_insertion_point(global_scope)
  1446. #endif // PROTOBUF_parkspace_5fallocation_5fmessage_2eproto__INCLUDED