parkspace_allocation_message.pb.h 122 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205
  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[9];
  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 InitDefaultsCar_infoImpl();
  42. void InitDefaultsCar_info();
  43. void InitDefaultsParkspace_infoImpl();
  44. void InitDefaultsParkspace_info();
  45. void InitDefaultsParkspace_allocation_request_msgImpl();
  46. void InitDefaultsParkspace_allocation_request_msg();
  47. void InitDefaultsParkspace_allocation_response_msgImpl();
  48. void InitDefaultsParkspace_allocation_response_msg();
  49. void InitDefaultsParkspace_search_request_msgImpl();
  50. void InitDefaultsParkspace_search_request_msg();
  51. void InitDefaultsParkspace_search_response_msgImpl();
  52. void InitDefaultsParkspace_search_response_msg();
  53. void InitDefaultsParkspace_release_request_msgImpl();
  54. void InitDefaultsParkspace_release_request_msg();
  55. void InitDefaultsParkspace_release_response_msgImpl();
  56. void InitDefaultsParkspace_release_response_msg();
  57. void InitDefaultsParkspace_allocation_status_msgImpl();
  58. void InitDefaultsParkspace_allocation_status_msg();
  59. inline void InitDefaults() {
  60. InitDefaultsCar_info();
  61. InitDefaultsParkspace_info();
  62. InitDefaultsParkspace_allocation_request_msg();
  63. InitDefaultsParkspace_allocation_response_msg();
  64. InitDefaultsParkspace_search_request_msg();
  65. InitDefaultsParkspace_search_response_msg();
  66. InitDefaultsParkspace_release_request_msg();
  67. InitDefaultsParkspace_release_response_msg();
  68. InitDefaultsParkspace_allocation_status_msg();
  69. }
  70. } // namespace protobuf_parkspace_5fallocation_5fmessage_2eproto
  71. namespace message {
  72. class Car_info;
  73. class Car_infoDefaultTypeInternal;
  74. extern Car_infoDefaultTypeInternal _Car_info_default_instance_;
  75. class Parkspace_allocation_request_msg;
  76. class Parkspace_allocation_request_msgDefaultTypeInternal;
  77. extern Parkspace_allocation_request_msgDefaultTypeInternal _Parkspace_allocation_request_msg_default_instance_;
  78. class Parkspace_allocation_response_msg;
  79. class Parkspace_allocation_response_msgDefaultTypeInternal;
  80. extern Parkspace_allocation_response_msgDefaultTypeInternal _Parkspace_allocation_response_msg_default_instance_;
  81. class Parkspace_allocation_status_msg;
  82. class Parkspace_allocation_status_msgDefaultTypeInternal;
  83. extern Parkspace_allocation_status_msgDefaultTypeInternal _Parkspace_allocation_status_msg_default_instance_;
  84. class Parkspace_info;
  85. class Parkspace_infoDefaultTypeInternal;
  86. extern Parkspace_infoDefaultTypeInternal _Parkspace_info_default_instance_;
  87. class Parkspace_release_request_msg;
  88. class Parkspace_release_request_msgDefaultTypeInternal;
  89. extern Parkspace_release_request_msgDefaultTypeInternal _Parkspace_release_request_msg_default_instance_;
  90. class Parkspace_release_response_msg;
  91. class Parkspace_release_response_msgDefaultTypeInternal;
  92. extern Parkspace_release_response_msgDefaultTypeInternal _Parkspace_release_response_msg_default_instance_;
  93. class Parkspace_search_request_msg;
  94. class Parkspace_search_request_msgDefaultTypeInternal;
  95. extern Parkspace_search_request_msgDefaultTypeInternal _Parkspace_search_request_msg_default_instance_;
  96. class Parkspace_search_response_msg;
  97. class Parkspace_search_response_msgDefaultTypeInternal;
  98. extern Parkspace_search_response_msgDefaultTypeInternal _Parkspace_search_response_msg_default_instance_;
  99. } // namespace message
  100. namespace message {
  101. enum Parkspace_status {
  102. eParkspace_empty = 0,
  103. eParkspace_occupied = 1,
  104. eParkspace_reserverd = 2,
  105. eParkspace_error = 3
  106. };
  107. bool Parkspace_status_IsValid(int value);
  108. const Parkspace_status Parkspace_status_MIN = eParkspace_empty;
  109. const Parkspace_status Parkspace_status_MAX = eParkspace_error;
  110. const int Parkspace_status_ARRAYSIZE = Parkspace_status_MAX + 1;
  111. const ::google::protobuf::EnumDescriptor* Parkspace_status_descriptor();
  112. inline const ::std::string& Parkspace_status_Name(Parkspace_status value) {
  113. return ::google::protobuf::internal::NameOfEnum(
  114. Parkspace_status_descriptor(), value);
  115. }
  116. inline bool Parkspace_status_Parse(
  117. const ::std::string& name, Parkspace_status* value) {
  118. return ::google::protobuf::internal::ParseNamedEnum<Parkspace_status>(
  119. Parkspace_status_descriptor(), name, value);
  120. }
  121. enum Direction {
  122. eForward = 1,
  123. eBackward = 2
  124. };
  125. bool Direction_IsValid(int value);
  126. const Direction Direction_MIN = eForward;
  127. const Direction Direction_MAX = eBackward;
  128. const int Direction_ARRAYSIZE = Direction_MAX + 1;
  129. const ::google::protobuf::EnumDescriptor* Direction_descriptor();
  130. inline const ::std::string& Direction_Name(Direction value) {
  131. return ::google::protobuf::internal::NameOfEnum(
  132. Direction_descriptor(), value);
  133. }
  134. inline bool Direction_Parse(
  135. const ::std::string& name, Direction* value) {
  136. return ::google::protobuf::internal::ParseNamedEnum<Direction>(
  137. Direction_descriptor(), name, value);
  138. }
  139. // ===================================================================
  140. class Car_info : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:message.Car_info) */ {
  141. public:
  142. Car_info();
  143. virtual ~Car_info();
  144. Car_info(const Car_info& from);
  145. inline Car_info& operator=(const Car_info& from) {
  146. CopyFrom(from);
  147. return *this;
  148. }
  149. #if LANG_CXX11
  150. Car_info(Car_info&& from) noexcept
  151. : Car_info() {
  152. *this = ::std::move(from);
  153. }
  154. inline Car_info& operator=(Car_info&& from) noexcept {
  155. if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
  156. if (this != &from) InternalSwap(&from);
  157. } else {
  158. CopyFrom(from);
  159. }
  160. return *this;
  161. }
  162. #endif
  163. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  164. return _internal_metadata_.unknown_fields();
  165. }
  166. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  167. return _internal_metadata_.mutable_unknown_fields();
  168. }
  169. static const ::google::protobuf::Descriptor* descriptor();
  170. static const Car_info& default_instance();
  171. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  172. static inline const Car_info* internal_default_instance() {
  173. return reinterpret_cast<const Car_info*>(
  174. &_Car_info_default_instance_);
  175. }
  176. static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
  177. 0;
  178. void Swap(Car_info* other);
  179. friend void swap(Car_info& a, Car_info& b) {
  180. a.Swap(&b);
  181. }
  182. // implements Message ----------------------------------------------
  183. inline Car_info* New() const PROTOBUF_FINAL { return New(NULL); }
  184. Car_info* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
  185. void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  186. void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  187. void CopyFrom(const Car_info& from);
  188. void MergeFrom(const Car_info& from);
  189. void Clear() PROTOBUF_FINAL;
  190. bool IsInitialized() const PROTOBUF_FINAL;
  191. size_t ByteSizeLong() const PROTOBUF_FINAL;
  192. bool MergePartialFromCodedStream(
  193. ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
  194. void SerializeWithCachedSizes(
  195. ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
  196. ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
  197. bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
  198. int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
  199. private:
  200. void SharedCtor();
  201. void SharedDtor();
  202. void SetCachedSize(int size) const PROTOBUF_FINAL;
  203. void InternalSwap(Car_info* other);
  204. private:
  205. inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
  206. return NULL;
  207. }
  208. inline void* MaybeArenaPtr() const {
  209. return NULL;
  210. }
  211. public:
  212. ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
  213. // nested types ----------------------------------------------------
  214. // accessors -------------------------------------------------------
  215. // required string license = 4;
  216. bool has_license() const;
  217. void clear_license();
  218. static const int kLicenseFieldNumber = 4;
  219. const ::std::string& license() const;
  220. void set_license(const ::std::string& value);
  221. #if LANG_CXX11
  222. void set_license(::std::string&& value);
  223. #endif
  224. void set_license(const char* value);
  225. void set_license(const char* value, size_t size);
  226. ::std::string* mutable_license();
  227. ::std::string* release_license();
  228. void set_allocated_license(::std::string* license);
  229. // optional float car_length = 1;
  230. bool has_car_length() const;
  231. void clear_car_length();
  232. static const int kCarLengthFieldNumber = 1;
  233. float car_length() const;
  234. void set_car_length(float value);
  235. // required float car_width = 2;
  236. bool has_car_width() const;
  237. void clear_car_width();
  238. static const int kCarWidthFieldNumber = 2;
  239. float car_width() const;
  240. void set_car_width(float value);
  241. // required float car_height = 3;
  242. bool has_car_height() const;
  243. void clear_car_height();
  244. static const int kCarHeightFieldNumber = 3;
  245. float car_height() const;
  246. void set_car_height(float value);
  247. // @@protoc_insertion_point(class_scope:message.Car_info)
  248. private:
  249. void set_has_car_length();
  250. void clear_has_car_length();
  251. void set_has_car_width();
  252. void clear_has_car_width();
  253. void set_has_car_height();
  254. void clear_has_car_height();
  255. void set_has_license();
  256. void clear_has_license();
  257. // helper for ByteSizeLong()
  258. size_t RequiredFieldsByteSizeFallback() const;
  259. ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  260. ::google::protobuf::internal::HasBits<1> _has_bits_;
  261. mutable int _cached_size_;
  262. ::google::protobuf::internal::ArenaStringPtr license_;
  263. float car_length_;
  264. float car_width_;
  265. float car_height_;
  266. friend struct ::protobuf_parkspace_5fallocation_5fmessage_2eproto::TableStruct;
  267. friend void ::protobuf_parkspace_5fallocation_5fmessage_2eproto::InitDefaultsCar_infoImpl();
  268. };
  269. // -------------------------------------------------------------------
  270. class Parkspace_info : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:message.Parkspace_info) */ {
  271. public:
  272. Parkspace_info();
  273. virtual ~Parkspace_info();
  274. Parkspace_info(const Parkspace_info& from);
  275. inline Parkspace_info& operator=(const Parkspace_info& from) {
  276. CopyFrom(from);
  277. return *this;
  278. }
  279. #if LANG_CXX11
  280. Parkspace_info(Parkspace_info&& from) noexcept
  281. : Parkspace_info() {
  282. *this = ::std::move(from);
  283. }
  284. inline Parkspace_info& operator=(Parkspace_info&& from) noexcept {
  285. if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
  286. if (this != &from) InternalSwap(&from);
  287. } else {
  288. CopyFrom(from);
  289. }
  290. return *this;
  291. }
  292. #endif
  293. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  294. return _internal_metadata_.unknown_fields();
  295. }
  296. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  297. return _internal_metadata_.mutable_unknown_fields();
  298. }
  299. static const ::google::protobuf::Descriptor* descriptor();
  300. static const Parkspace_info& default_instance();
  301. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  302. static inline const Parkspace_info* internal_default_instance() {
  303. return reinterpret_cast<const Parkspace_info*>(
  304. &_Parkspace_info_default_instance_);
  305. }
  306. static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
  307. 1;
  308. void Swap(Parkspace_info* other);
  309. friend void swap(Parkspace_info& a, Parkspace_info& b) {
  310. a.Swap(&b);
  311. }
  312. // implements Message ----------------------------------------------
  313. inline Parkspace_info* New() const PROTOBUF_FINAL { return New(NULL); }
  314. Parkspace_info* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
  315. void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  316. void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  317. void CopyFrom(const Parkspace_info& from);
  318. void MergeFrom(const Parkspace_info& from);
  319. void Clear() PROTOBUF_FINAL;
  320. bool IsInitialized() const PROTOBUF_FINAL;
  321. size_t ByteSizeLong() const PROTOBUF_FINAL;
  322. bool MergePartialFromCodedStream(
  323. ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
  324. void SerializeWithCachedSizes(
  325. ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
  326. ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
  327. bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
  328. int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
  329. private:
  330. void SharedCtor();
  331. void SharedDtor();
  332. void SetCachedSize(int size) const PROTOBUF_FINAL;
  333. void InternalSwap(Parkspace_info* other);
  334. private:
  335. inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
  336. return NULL;
  337. }
  338. inline void* MaybeArenaPtr() const {
  339. return NULL;
  340. }
  341. public:
  342. ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
  343. // nested types ----------------------------------------------------
  344. // accessors -------------------------------------------------------
  345. // optional string entry_time = 10;
  346. bool has_entry_time() const;
  347. void clear_entry_time();
  348. static const int kEntryTimeFieldNumber = 10;
  349. const ::std::string& entry_time() const;
  350. void set_entry_time(const ::std::string& value);
  351. #if LANG_CXX11
  352. void set_entry_time(::std::string&& value);
  353. #endif
  354. void set_entry_time(const char* value);
  355. void set_entry_time(const char* value, size_t size);
  356. ::std::string* mutable_entry_time();
  357. ::std::string* release_entry_time();
  358. void set_allocated_entry_time(::std::string* entry_time);
  359. // optional string leave_time = 11;
  360. bool has_leave_time() const;
  361. void clear_leave_time();
  362. static const int kLeaveTimeFieldNumber = 11;
  363. const ::std::string& leave_time() const;
  364. void set_leave_time(const ::std::string& value);
  365. #if LANG_CXX11
  366. void set_leave_time(::std::string&& value);
  367. #endif
  368. void set_leave_time(const char* value);
  369. void set_leave_time(const char* value, size_t size);
  370. ::std::string* mutable_leave_time();
  371. ::std::string* release_leave_time();
  372. void set_allocated_leave_time(::std::string* leave_time);
  373. // optional .message.Car_info car_info = 9;
  374. bool has_car_info() const;
  375. void clear_car_info();
  376. static const int kCarInfoFieldNumber = 9;
  377. const ::message::Car_info& car_info() const;
  378. ::message::Car_info* release_car_info();
  379. ::message::Car_info* mutable_car_info();
  380. void set_allocated_car_info(::message::Car_info* car_info);
  381. // required int32 parkspace_id = 1;
  382. bool has_parkspace_id() const;
  383. void clear_parkspace_id();
  384. static const int kParkspaceIdFieldNumber = 1;
  385. ::google::protobuf::int32 parkspace_id() const;
  386. void set_parkspace_id(::google::protobuf::int32 value);
  387. // required int32 index = 2;
  388. bool has_index() const;
  389. void clear_index();
  390. static const int kIndexFieldNumber = 2;
  391. ::google::protobuf::int32 index() const;
  392. void set_index(::google::protobuf::int32 value);
  393. // required int32 floor = 4;
  394. bool has_floor() const;
  395. void clear_floor();
  396. static const int kFloorFieldNumber = 4;
  397. ::google::protobuf::int32 floor() const;
  398. void set_floor(::google::protobuf::int32 value);
  399. // optional float length = 5;
  400. bool has_length() const;
  401. void clear_length();
  402. static const int kLengthFieldNumber = 5;
  403. float length() const;
  404. void set_length(float value);
  405. // required float width = 6;
  406. bool has_width() const;
  407. void clear_width();
  408. static const int kWidthFieldNumber = 6;
  409. float width() const;
  410. void set_width(float value);
  411. // required float height = 7;
  412. bool has_height() const;
  413. void clear_height();
  414. static const int kHeightFieldNumber = 7;
  415. float height() const;
  416. void set_height(float value);
  417. // required .message.Parkspace_status parkspace_status = 8;
  418. bool has_parkspace_status() const;
  419. void clear_parkspace_status();
  420. static const int kParkspaceStatusFieldNumber = 8;
  421. ::message::Parkspace_status parkspace_status() const;
  422. void set_parkspace_status(::message::Parkspace_status value);
  423. // required .message.Direction direction = 3;
  424. bool has_direction() const;
  425. void clear_direction();
  426. static const int kDirectionFieldNumber = 3;
  427. ::message::Direction direction() const;
  428. void set_direction(::message::Direction value);
  429. // @@protoc_insertion_point(class_scope:message.Parkspace_info)
  430. private:
  431. void set_has_parkspace_id();
  432. void clear_has_parkspace_id();
  433. void set_has_index();
  434. void clear_has_index();
  435. void set_has_direction();
  436. void clear_has_direction();
  437. void set_has_floor();
  438. void clear_has_floor();
  439. void set_has_length();
  440. void clear_has_length();
  441. void set_has_width();
  442. void clear_has_width();
  443. void set_has_height();
  444. void clear_has_height();
  445. void set_has_parkspace_status();
  446. void clear_has_parkspace_status();
  447. void set_has_car_info();
  448. void clear_has_car_info();
  449. void set_has_entry_time();
  450. void clear_has_entry_time();
  451. void set_has_leave_time();
  452. void clear_has_leave_time();
  453. // helper for ByteSizeLong()
  454. size_t RequiredFieldsByteSizeFallback() const;
  455. ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  456. ::google::protobuf::internal::HasBits<1> _has_bits_;
  457. mutable int _cached_size_;
  458. ::google::protobuf::internal::ArenaStringPtr entry_time_;
  459. ::google::protobuf::internal::ArenaStringPtr leave_time_;
  460. ::message::Car_info* car_info_;
  461. ::google::protobuf::int32 parkspace_id_;
  462. ::google::protobuf::int32 index_;
  463. ::google::protobuf::int32 floor_;
  464. float length_;
  465. float width_;
  466. float height_;
  467. int parkspace_status_;
  468. int direction_;
  469. friend struct ::protobuf_parkspace_5fallocation_5fmessage_2eproto::TableStruct;
  470. friend void ::protobuf_parkspace_5fallocation_5fmessage_2eproto::InitDefaultsParkspace_infoImpl();
  471. };
  472. // -------------------------------------------------------------------
  473. class Parkspace_allocation_request_msg : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:message.Parkspace_allocation_request_msg) */ {
  474. public:
  475. Parkspace_allocation_request_msg();
  476. virtual ~Parkspace_allocation_request_msg();
  477. Parkspace_allocation_request_msg(const Parkspace_allocation_request_msg& from);
  478. inline Parkspace_allocation_request_msg& operator=(const Parkspace_allocation_request_msg& from) {
  479. CopyFrom(from);
  480. return *this;
  481. }
  482. #if LANG_CXX11
  483. Parkspace_allocation_request_msg(Parkspace_allocation_request_msg&& from) noexcept
  484. : Parkspace_allocation_request_msg() {
  485. *this = ::std::move(from);
  486. }
  487. inline Parkspace_allocation_request_msg& operator=(Parkspace_allocation_request_msg&& from) noexcept {
  488. if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
  489. if (this != &from) InternalSwap(&from);
  490. } else {
  491. CopyFrom(from);
  492. }
  493. return *this;
  494. }
  495. #endif
  496. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  497. return _internal_metadata_.unknown_fields();
  498. }
  499. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  500. return _internal_metadata_.mutable_unknown_fields();
  501. }
  502. static const ::google::protobuf::Descriptor* descriptor();
  503. static const Parkspace_allocation_request_msg& default_instance();
  504. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  505. static inline const Parkspace_allocation_request_msg* internal_default_instance() {
  506. return reinterpret_cast<const Parkspace_allocation_request_msg*>(
  507. &_Parkspace_allocation_request_msg_default_instance_);
  508. }
  509. static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
  510. 2;
  511. void Swap(Parkspace_allocation_request_msg* other);
  512. friend void swap(Parkspace_allocation_request_msg& a, Parkspace_allocation_request_msg& b) {
  513. a.Swap(&b);
  514. }
  515. // implements Message ----------------------------------------------
  516. inline Parkspace_allocation_request_msg* New() const PROTOBUF_FINAL { return New(NULL); }
  517. Parkspace_allocation_request_msg* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
  518. void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  519. void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  520. void CopyFrom(const Parkspace_allocation_request_msg& from);
  521. void MergeFrom(const Parkspace_allocation_request_msg& from);
  522. void Clear() PROTOBUF_FINAL;
  523. bool IsInitialized() const PROTOBUF_FINAL;
  524. size_t ByteSizeLong() const PROTOBUF_FINAL;
  525. bool MergePartialFromCodedStream(
  526. ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
  527. void SerializeWithCachedSizes(
  528. ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
  529. ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
  530. bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
  531. int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
  532. private:
  533. void SharedCtor();
  534. void SharedDtor();
  535. void SetCachedSize(int size) const PROTOBUF_FINAL;
  536. void InternalSwap(Parkspace_allocation_request_msg* other);
  537. private:
  538. inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
  539. return NULL;
  540. }
  541. inline void* MaybeArenaPtr() const {
  542. return NULL;
  543. }
  544. public:
  545. ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
  546. // nested types ----------------------------------------------------
  547. // accessors -------------------------------------------------------
  548. // required .message.Base_info base_info = 1;
  549. bool has_base_info() const;
  550. void clear_base_info();
  551. static const int kBaseInfoFieldNumber = 1;
  552. const ::message::Base_info& base_info() const;
  553. ::message::Base_info* release_base_info();
  554. ::message::Base_info* mutable_base_info();
  555. void set_allocated_base_info(::message::Base_info* base_info);
  556. // required .message.Car_info car_info = 3;
  557. bool has_car_info() const;
  558. void clear_car_info();
  559. static const int kCarInfoFieldNumber = 3;
  560. const ::message::Car_info& car_info() const;
  561. ::message::Car_info* release_car_info();
  562. ::message::Car_info* mutable_car_info();
  563. void set_allocated_car_info(::message::Car_info* car_info);
  564. // required int32 command_id = 2;
  565. bool has_command_id() const;
  566. void clear_command_id();
  567. static const int kCommandIdFieldNumber = 2;
  568. ::google::protobuf::int32 command_id() const;
  569. void set_command_id(::google::protobuf::int32 value);
  570. // required int32 terminal_id = 4;
  571. bool has_terminal_id() const;
  572. void clear_terminal_id();
  573. static const int kTerminalIdFieldNumber = 4;
  574. ::google::protobuf::int32 terminal_id() const;
  575. void set_terminal_id(::google::protobuf::int32 value);
  576. // @@protoc_insertion_point(class_scope:message.Parkspace_allocation_request_msg)
  577. private:
  578. void set_has_base_info();
  579. void clear_has_base_info();
  580. void set_has_command_id();
  581. void clear_has_command_id();
  582. void set_has_car_info();
  583. void clear_has_car_info();
  584. void set_has_terminal_id();
  585. void clear_has_terminal_id();
  586. // helper for ByteSizeLong()
  587. size_t RequiredFieldsByteSizeFallback() const;
  588. ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  589. ::google::protobuf::internal::HasBits<1> _has_bits_;
  590. mutable int _cached_size_;
  591. ::message::Base_info* base_info_;
  592. ::message::Car_info* car_info_;
  593. ::google::protobuf::int32 command_id_;
  594. ::google::protobuf::int32 terminal_id_;
  595. friend struct ::protobuf_parkspace_5fallocation_5fmessage_2eproto::TableStruct;
  596. friend void ::protobuf_parkspace_5fallocation_5fmessage_2eproto::InitDefaultsParkspace_allocation_request_msgImpl();
  597. };
  598. // -------------------------------------------------------------------
  599. class Parkspace_allocation_response_msg : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:message.Parkspace_allocation_response_msg) */ {
  600. public:
  601. Parkspace_allocation_response_msg();
  602. virtual ~Parkspace_allocation_response_msg();
  603. Parkspace_allocation_response_msg(const Parkspace_allocation_response_msg& from);
  604. inline Parkspace_allocation_response_msg& operator=(const Parkspace_allocation_response_msg& from) {
  605. CopyFrom(from);
  606. return *this;
  607. }
  608. #if LANG_CXX11
  609. Parkspace_allocation_response_msg(Parkspace_allocation_response_msg&& from) noexcept
  610. : Parkspace_allocation_response_msg() {
  611. *this = ::std::move(from);
  612. }
  613. inline Parkspace_allocation_response_msg& operator=(Parkspace_allocation_response_msg&& from) noexcept {
  614. if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
  615. if (this != &from) InternalSwap(&from);
  616. } else {
  617. CopyFrom(from);
  618. }
  619. return *this;
  620. }
  621. #endif
  622. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  623. return _internal_metadata_.unknown_fields();
  624. }
  625. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  626. return _internal_metadata_.mutable_unknown_fields();
  627. }
  628. static const ::google::protobuf::Descriptor* descriptor();
  629. static const Parkspace_allocation_response_msg& default_instance();
  630. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  631. static inline const Parkspace_allocation_response_msg* internal_default_instance() {
  632. return reinterpret_cast<const Parkspace_allocation_response_msg*>(
  633. &_Parkspace_allocation_response_msg_default_instance_);
  634. }
  635. static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
  636. 3;
  637. void Swap(Parkspace_allocation_response_msg* other);
  638. friend void swap(Parkspace_allocation_response_msg& a, Parkspace_allocation_response_msg& b) {
  639. a.Swap(&b);
  640. }
  641. // implements Message ----------------------------------------------
  642. inline Parkspace_allocation_response_msg* New() const PROTOBUF_FINAL { return New(NULL); }
  643. Parkspace_allocation_response_msg* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
  644. void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  645. void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  646. void CopyFrom(const Parkspace_allocation_response_msg& from);
  647. void MergeFrom(const Parkspace_allocation_response_msg& from);
  648. void Clear() PROTOBUF_FINAL;
  649. bool IsInitialized() const PROTOBUF_FINAL;
  650. size_t ByteSizeLong() const PROTOBUF_FINAL;
  651. bool MergePartialFromCodedStream(
  652. ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
  653. void SerializeWithCachedSizes(
  654. ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
  655. ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
  656. bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
  657. int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
  658. private:
  659. void SharedCtor();
  660. void SharedDtor();
  661. void SetCachedSize(int size) const PROTOBUF_FINAL;
  662. void InternalSwap(Parkspace_allocation_response_msg* other);
  663. private:
  664. inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
  665. return NULL;
  666. }
  667. inline void* MaybeArenaPtr() const {
  668. return NULL;
  669. }
  670. public:
  671. ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
  672. // nested types ----------------------------------------------------
  673. // accessors -------------------------------------------------------
  674. // required .message.Base_info base_info = 1;
  675. bool has_base_info() const;
  676. void clear_base_info();
  677. static const int kBaseInfoFieldNumber = 1;
  678. const ::message::Base_info& base_info() const;
  679. ::message::Base_info* release_base_info();
  680. ::message::Base_info* mutable_base_info();
  681. void set_allocated_base_info(::message::Base_info* base_info);
  682. // required .message.Error_manager error_manager = 3;
  683. bool has_error_manager() const;
  684. void clear_error_manager();
  685. static const int kErrorManagerFieldNumber = 3;
  686. const ::message::Error_manager& error_manager() const;
  687. ::message::Error_manager* release_error_manager();
  688. ::message::Error_manager* mutable_error_manager();
  689. void set_allocated_error_manager(::message::Error_manager* error_manager);
  690. // required .message.Parkspace_info allocated_space_info = 4;
  691. bool has_allocated_space_info() const;
  692. void clear_allocated_space_info();
  693. static const int kAllocatedSpaceInfoFieldNumber = 4;
  694. const ::message::Parkspace_info& allocated_space_info() const;
  695. ::message::Parkspace_info* release_allocated_space_info();
  696. ::message::Parkspace_info* mutable_allocated_space_info();
  697. void set_allocated_allocated_space_info(::message::Parkspace_info* allocated_space_info);
  698. // required int32 command_id = 2;
  699. bool has_command_id() const;
  700. void clear_command_id();
  701. static const int kCommandIdFieldNumber = 2;
  702. ::google::protobuf::int32 command_id() const;
  703. void set_command_id(::google::protobuf::int32 value);
  704. // @@protoc_insertion_point(class_scope:message.Parkspace_allocation_response_msg)
  705. private:
  706. void set_has_base_info();
  707. void clear_has_base_info();
  708. void set_has_command_id();
  709. void clear_has_command_id();
  710. void set_has_error_manager();
  711. void clear_has_error_manager();
  712. void set_has_allocated_space_info();
  713. void clear_has_allocated_space_info();
  714. // helper for ByteSizeLong()
  715. size_t RequiredFieldsByteSizeFallback() const;
  716. ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  717. ::google::protobuf::internal::HasBits<1> _has_bits_;
  718. mutable int _cached_size_;
  719. ::message::Base_info* base_info_;
  720. ::message::Error_manager* error_manager_;
  721. ::message::Parkspace_info* allocated_space_info_;
  722. ::google::protobuf::int32 command_id_;
  723. friend struct ::protobuf_parkspace_5fallocation_5fmessage_2eproto::TableStruct;
  724. friend void ::protobuf_parkspace_5fallocation_5fmessage_2eproto::InitDefaultsParkspace_allocation_response_msgImpl();
  725. };
  726. // -------------------------------------------------------------------
  727. class Parkspace_search_request_msg : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:message.Parkspace_search_request_msg) */ {
  728. public:
  729. Parkspace_search_request_msg();
  730. virtual ~Parkspace_search_request_msg();
  731. Parkspace_search_request_msg(const Parkspace_search_request_msg& from);
  732. inline Parkspace_search_request_msg& operator=(const Parkspace_search_request_msg& from) {
  733. CopyFrom(from);
  734. return *this;
  735. }
  736. #if LANG_CXX11
  737. Parkspace_search_request_msg(Parkspace_search_request_msg&& from) noexcept
  738. : Parkspace_search_request_msg() {
  739. *this = ::std::move(from);
  740. }
  741. inline Parkspace_search_request_msg& operator=(Parkspace_search_request_msg&& from) noexcept {
  742. if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
  743. if (this != &from) InternalSwap(&from);
  744. } else {
  745. CopyFrom(from);
  746. }
  747. return *this;
  748. }
  749. #endif
  750. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  751. return _internal_metadata_.unknown_fields();
  752. }
  753. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  754. return _internal_metadata_.mutable_unknown_fields();
  755. }
  756. static const ::google::protobuf::Descriptor* descriptor();
  757. static const Parkspace_search_request_msg& default_instance();
  758. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  759. static inline const Parkspace_search_request_msg* internal_default_instance() {
  760. return reinterpret_cast<const Parkspace_search_request_msg*>(
  761. &_Parkspace_search_request_msg_default_instance_);
  762. }
  763. static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
  764. 4;
  765. void Swap(Parkspace_search_request_msg* other);
  766. friend void swap(Parkspace_search_request_msg& a, Parkspace_search_request_msg& b) {
  767. a.Swap(&b);
  768. }
  769. // implements Message ----------------------------------------------
  770. inline Parkspace_search_request_msg* New() const PROTOBUF_FINAL { return New(NULL); }
  771. Parkspace_search_request_msg* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
  772. void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  773. void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  774. void CopyFrom(const Parkspace_search_request_msg& from);
  775. void MergeFrom(const Parkspace_search_request_msg& from);
  776. void Clear() PROTOBUF_FINAL;
  777. bool IsInitialized() const PROTOBUF_FINAL;
  778. size_t ByteSizeLong() const PROTOBUF_FINAL;
  779. bool MergePartialFromCodedStream(
  780. ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
  781. void SerializeWithCachedSizes(
  782. ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
  783. ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
  784. bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
  785. int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
  786. private:
  787. void SharedCtor();
  788. void SharedDtor();
  789. void SetCachedSize(int size) const PROTOBUF_FINAL;
  790. void InternalSwap(Parkspace_search_request_msg* other);
  791. private:
  792. inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
  793. return NULL;
  794. }
  795. inline void* MaybeArenaPtr() const {
  796. return NULL;
  797. }
  798. public:
  799. ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
  800. // nested types ----------------------------------------------------
  801. // accessors -------------------------------------------------------
  802. // required .message.Base_info base_info = 1;
  803. bool has_base_info() const;
  804. void clear_base_info();
  805. static const int kBaseInfoFieldNumber = 1;
  806. const ::message::Base_info& base_info() const;
  807. ::message::Base_info* release_base_info();
  808. ::message::Base_info* mutable_base_info();
  809. void set_allocated_base_info(::message::Base_info* base_info);
  810. // required .message.Car_info car_info = 3;
  811. bool has_car_info() const;
  812. void clear_car_info();
  813. static const int kCarInfoFieldNumber = 3;
  814. const ::message::Car_info& car_info() const;
  815. ::message::Car_info* release_car_info();
  816. ::message::Car_info* mutable_car_info();
  817. void set_allocated_car_info(::message::Car_info* car_info);
  818. // required int32 command_id = 2;
  819. bool has_command_id() const;
  820. void clear_command_id();
  821. static const int kCommandIdFieldNumber = 2;
  822. ::google::protobuf::int32 command_id() const;
  823. void set_command_id(::google::protobuf::int32 value);
  824. // @@protoc_insertion_point(class_scope:message.Parkspace_search_request_msg)
  825. private:
  826. void set_has_base_info();
  827. void clear_has_base_info();
  828. void set_has_command_id();
  829. void clear_has_command_id();
  830. void set_has_car_info();
  831. void clear_has_car_info();
  832. // helper for ByteSizeLong()
  833. size_t RequiredFieldsByteSizeFallback() const;
  834. ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  835. ::google::protobuf::internal::HasBits<1> _has_bits_;
  836. mutable int _cached_size_;
  837. ::message::Base_info* base_info_;
  838. ::message::Car_info* car_info_;
  839. ::google::protobuf::int32 command_id_;
  840. friend struct ::protobuf_parkspace_5fallocation_5fmessage_2eproto::TableStruct;
  841. friend void ::protobuf_parkspace_5fallocation_5fmessage_2eproto::InitDefaultsParkspace_search_request_msgImpl();
  842. };
  843. // -------------------------------------------------------------------
  844. class Parkspace_search_response_msg : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:message.Parkspace_search_response_msg) */ {
  845. public:
  846. Parkspace_search_response_msg();
  847. virtual ~Parkspace_search_response_msg();
  848. Parkspace_search_response_msg(const Parkspace_search_response_msg& from);
  849. inline Parkspace_search_response_msg& operator=(const Parkspace_search_response_msg& from) {
  850. CopyFrom(from);
  851. return *this;
  852. }
  853. #if LANG_CXX11
  854. Parkspace_search_response_msg(Parkspace_search_response_msg&& from) noexcept
  855. : Parkspace_search_response_msg() {
  856. *this = ::std::move(from);
  857. }
  858. inline Parkspace_search_response_msg& operator=(Parkspace_search_response_msg&& from) noexcept {
  859. if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
  860. if (this != &from) InternalSwap(&from);
  861. } else {
  862. CopyFrom(from);
  863. }
  864. return *this;
  865. }
  866. #endif
  867. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  868. return _internal_metadata_.unknown_fields();
  869. }
  870. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  871. return _internal_metadata_.mutable_unknown_fields();
  872. }
  873. static const ::google::protobuf::Descriptor* descriptor();
  874. static const Parkspace_search_response_msg& default_instance();
  875. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  876. static inline const Parkspace_search_response_msg* internal_default_instance() {
  877. return reinterpret_cast<const Parkspace_search_response_msg*>(
  878. &_Parkspace_search_response_msg_default_instance_);
  879. }
  880. static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
  881. 5;
  882. void Swap(Parkspace_search_response_msg* other);
  883. friend void swap(Parkspace_search_response_msg& a, Parkspace_search_response_msg& b) {
  884. a.Swap(&b);
  885. }
  886. // implements Message ----------------------------------------------
  887. inline Parkspace_search_response_msg* New() const PROTOBUF_FINAL { return New(NULL); }
  888. Parkspace_search_response_msg* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
  889. void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  890. void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  891. void CopyFrom(const Parkspace_search_response_msg& from);
  892. void MergeFrom(const Parkspace_search_response_msg& from);
  893. void Clear() PROTOBUF_FINAL;
  894. bool IsInitialized() const PROTOBUF_FINAL;
  895. size_t ByteSizeLong() const PROTOBUF_FINAL;
  896. bool MergePartialFromCodedStream(
  897. ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
  898. void SerializeWithCachedSizes(
  899. ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
  900. ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
  901. bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
  902. int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
  903. private:
  904. void SharedCtor();
  905. void SharedDtor();
  906. void SetCachedSize(int size) const PROTOBUF_FINAL;
  907. void InternalSwap(Parkspace_search_response_msg* other);
  908. private:
  909. inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
  910. return NULL;
  911. }
  912. inline void* MaybeArenaPtr() const {
  913. return NULL;
  914. }
  915. public:
  916. ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
  917. // nested types ----------------------------------------------------
  918. // accessors -------------------------------------------------------
  919. // required .message.Base_info base_info = 1;
  920. bool has_base_info() const;
  921. void clear_base_info();
  922. static const int kBaseInfoFieldNumber = 1;
  923. const ::message::Base_info& base_info() const;
  924. ::message::Base_info* release_base_info();
  925. ::message::Base_info* mutable_base_info();
  926. void set_allocated_base_info(::message::Base_info* base_info);
  927. // required .message.Error_manager error_manager = 3;
  928. bool has_error_manager() const;
  929. void clear_error_manager();
  930. static const int kErrorManagerFieldNumber = 3;
  931. const ::message::Error_manager& error_manager() const;
  932. ::message::Error_manager* release_error_manager();
  933. ::message::Error_manager* mutable_error_manager();
  934. void set_allocated_error_manager(::message::Error_manager* error_manager);
  935. // optional .message.Parkspace_info car_position = 4;
  936. bool has_car_position() const;
  937. void clear_car_position();
  938. static const int kCarPositionFieldNumber = 4;
  939. const ::message::Parkspace_info& car_position() const;
  940. ::message::Parkspace_info* release_car_position();
  941. ::message::Parkspace_info* mutable_car_position();
  942. void set_allocated_car_position(::message::Parkspace_info* car_position);
  943. // required int32 command_id = 2;
  944. bool has_command_id() const;
  945. void clear_command_id();
  946. static const int kCommandIdFieldNumber = 2;
  947. ::google::protobuf::int32 command_id() const;
  948. void set_command_id(::google::protobuf::int32 value);
  949. // @@protoc_insertion_point(class_scope:message.Parkspace_search_response_msg)
  950. private:
  951. void set_has_base_info();
  952. void clear_has_base_info();
  953. void set_has_command_id();
  954. void clear_has_command_id();
  955. void set_has_error_manager();
  956. void clear_has_error_manager();
  957. void set_has_car_position();
  958. void clear_has_car_position();
  959. // helper for ByteSizeLong()
  960. size_t RequiredFieldsByteSizeFallback() const;
  961. ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  962. ::google::protobuf::internal::HasBits<1> _has_bits_;
  963. mutable int _cached_size_;
  964. ::message::Base_info* base_info_;
  965. ::message::Error_manager* error_manager_;
  966. ::message::Parkspace_info* car_position_;
  967. ::google::protobuf::int32 command_id_;
  968. friend struct ::protobuf_parkspace_5fallocation_5fmessage_2eproto::TableStruct;
  969. friend void ::protobuf_parkspace_5fallocation_5fmessage_2eproto::InitDefaultsParkspace_search_response_msgImpl();
  970. };
  971. // -------------------------------------------------------------------
  972. class Parkspace_release_request_msg : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:message.Parkspace_release_request_msg) */ {
  973. public:
  974. Parkspace_release_request_msg();
  975. virtual ~Parkspace_release_request_msg();
  976. Parkspace_release_request_msg(const Parkspace_release_request_msg& from);
  977. inline Parkspace_release_request_msg& operator=(const Parkspace_release_request_msg& from) {
  978. CopyFrom(from);
  979. return *this;
  980. }
  981. #if LANG_CXX11
  982. Parkspace_release_request_msg(Parkspace_release_request_msg&& from) noexcept
  983. : Parkspace_release_request_msg() {
  984. *this = ::std::move(from);
  985. }
  986. inline Parkspace_release_request_msg& operator=(Parkspace_release_request_msg&& from) noexcept {
  987. if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
  988. if (this != &from) InternalSwap(&from);
  989. } else {
  990. CopyFrom(from);
  991. }
  992. return *this;
  993. }
  994. #endif
  995. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  996. return _internal_metadata_.unknown_fields();
  997. }
  998. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  999. return _internal_metadata_.mutable_unknown_fields();
  1000. }
  1001. static const ::google::protobuf::Descriptor* descriptor();
  1002. static const Parkspace_release_request_msg& default_instance();
  1003. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  1004. static inline const Parkspace_release_request_msg* internal_default_instance() {
  1005. return reinterpret_cast<const Parkspace_release_request_msg*>(
  1006. &_Parkspace_release_request_msg_default_instance_);
  1007. }
  1008. static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
  1009. 6;
  1010. void Swap(Parkspace_release_request_msg* other);
  1011. friend void swap(Parkspace_release_request_msg& a, Parkspace_release_request_msg& b) {
  1012. a.Swap(&b);
  1013. }
  1014. // implements Message ----------------------------------------------
  1015. inline Parkspace_release_request_msg* New() const PROTOBUF_FINAL { return New(NULL); }
  1016. Parkspace_release_request_msg* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
  1017. void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  1018. void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  1019. void CopyFrom(const Parkspace_release_request_msg& from);
  1020. void MergeFrom(const Parkspace_release_request_msg& from);
  1021. void Clear() PROTOBUF_FINAL;
  1022. bool IsInitialized() const PROTOBUF_FINAL;
  1023. size_t ByteSizeLong() const PROTOBUF_FINAL;
  1024. bool MergePartialFromCodedStream(
  1025. ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
  1026. void SerializeWithCachedSizes(
  1027. ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
  1028. ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
  1029. bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
  1030. int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
  1031. private:
  1032. void SharedCtor();
  1033. void SharedDtor();
  1034. void SetCachedSize(int size) const PROTOBUF_FINAL;
  1035. void InternalSwap(Parkspace_release_request_msg* other);
  1036. private:
  1037. inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
  1038. return NULL;
  1039. }
  1040. inline void* MaybeArenaPtr() const {
  1041. return NULL;
  1042. }
  1043. public:
  1044. ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
  1045. // nested types ----------------------------------------------------
  1046. // accessors -------------------------------------------------------
  1047. // required .message.Base_info base_info = 1;
  1048. bool has_base_info() const;
  1049. void clear_base_info();
  1050. static const int kBaseInfoFieldNumber = 1;
  1051. const ::message::Base_info& base_info() const;
  1052. ::message::Base_info* release_base_info();
  1053. ::message::Base_info* mutable_base_info();
  1054. void set_allocated_base_info(::message::Base_info* base_info);
  1055. // required .message.Parkspace_info release_space_info = 3;
  1056. bool has_release_space_info() const;
  1057. void clear_release_space_info();
  1058. static const int kReleaseSpaceInfoFieldNumber = 3;
  1059. const ::message::Parkspace_info& release_space_info() const;
  1060. ::message::Parkspace_info* release_release_space_info();
  1061. ::message::Parkspace_info* mutable_release_space_info();
  1062. void set_allocated_release_space_info(::message::Parkspace_info* release_space_info);
  1063. // required int32 command_id = 2;
  1064. bool has_command_id() const;
  1065. void clear_command_id();
  1066. static const int kCommandIdFieldNumber = 2;
  1067. ::google::protobuf::int32 command_id() const;
  1068. void set_command_id(::google::protobuf::int32 value);
  1069. // @@protoc_insertion_point(class_scope:message.Parkspace_release_request_msg)
  1070. private:
  1071. void set_has_base_info();
  1072. void clear_has_base_info();
  1073. void set_has_command_id();
  1074. void clear_has_command_id();
  1075. void set_has_release_space_info();
  1076. void clear_has_release_space_info();
  1077. // helper for ByteSizeLong()
  1078. size_t RequiredFieldsByteSizeFallback() const;
  1079. ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  1080. ::google::protobuf::internal::HasBits<1> _has_bits_;
  1081. mutable int _cached_size_;
  1082. ::message::Base_info* base_info_;
  1083. ::message::Parkspace_info* release_space_info_;
  1084. ::google::protobuf::int32 command_id_;
  1085. friend struct ::protobuf_parkspace_5fallocation_5fmessage_2eproto::TableStruct;
  1086. friend void ::protobuf_parkspace_5fallocation_5fmessage_2eproto::InitDefaultsParkspace_release_request_msgImpl();
  1087. };
  1088. // -------------------------------------------------------------------
  1089. class Parkspace_release_response_msg : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:message.Parkspace_release_response_msg) */ {
  1090. public:
  1091. Parkspace_release_response_msg();
  1092. virtual ~Parkspace_release_response_msg();
  1093. Parkspace_release_response_msg(const Parkspace_release_response_msg& from);
  1094. inline Parkspace_release_response_msg& operator=(const Parkspace_release_response_msg& from) {
  1095. CopyFrom(from);
  1096. return *this;
  1097. }
  1098. #if LANG_CXX11
  1099. Parkspace_release_response_msg(Parkspace_release_response_msg&& from) noexcept
  1100. : Parkspace_release_response_msg() {
  1101. *this = ::std::move(from);
  1102. }
  1103. inline Parkspace_release_response_msg& operator=(Parkspace_release_response_msg&& from) noexcept {
  1104. if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
  1105. if (this != &from) InternalSwap(&from);
  1106. } else {
  1107. CopyFrom(from);
  1108. }
  1109. return *this;
  1110. }
  1111. #endif
  1112. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  1113. return _internal_metadata_.unknown_fields();
  1114. }
  1115. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  1116. return _internal_metadata_.mutable_unknown_fields();
  1117. }
  1118. static const ::google::protobuf::Descriptor* descriptor();
  1119. static const Parkspace_release_response_msg& default_instance();
  1120. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  1121. static inline const Parkspace_release_response_msg* internal_default_instance() {
  1122. return reinterpret_cast<const Parkspace_release_response_msg*>(
  1123. &_Parkspace_release_response_msg_default_instance_);
  1124. }
  1125. static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
  1126. 7;
  1127. void Swap(Parkspace_release_response_msg* other);
  1128. friend void swap(Parkspace_release_response_msg& a, Parkspace_release_response_msg& b) {
  1129. a.Swap(&b);
  1130. }
  1131. // implements Message ----------------------------------------------
  1132. inline Parkspace_release_response_msg* New() const PROTOBUF_FINAL { return New(NULL); }
  1133. Parkspace_release_response_msg* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
  1134. void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  1135. void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  1136. void CopyFrom(const Parkspace_release_response_msg& from);
  1137. void MergeFrom(const Parkspace_release_response_msg& from);
  1138. void Clear() PROTOBUF_FINAL;
  1139. bool IsInitialized() const PROTOBUF_FINAL;
  1140. size_t ByteSizeLong() const PROTOBUF_FINAL;
  1141. bool MergePartialFromCodedStream(
  1142. ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
  1143. void SerializeWithCachedSizes(
  1144. ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
  1145. ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
  1146. bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
  1147. int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
  1148. private:
  1149. void SharedCtor();
  1150. void SharedDtor();
  1151. void SetCachedSize(int size) const PROTOBUF_FINAL;
  1152. void InternalSwap(Parkspace_release_response_msg* other);
  1153. private:
  1154. inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
  1155. return NULL;
  1156. }
  1157. inline void* MaybeArenaPtr() const {
  1158. return NULL;
  1159. }
  1160. public:
  1161. ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
  1162. // nested types ----------------------------------------------------
  1163. // accessors -------------------------------------------------------
  1164. // required .message.Base_info base_info = 1;
  1165. bool has_base_info() const;
  1166. void clear_base_info();
  1167. static const int kBaseInfoFieldNumber = 1;
  1168. const ::message::Base_info& base_info() const;
  1169. ::message::Base_info* release_base_info();
  1170. ::message::Base_info* mutable_base_info();
  1171. void set_allocated_base_info(::message::Base_info* base_info);
  1172. // required .message.Error_manager error_manager = 3;
  1173. bool has_error_manager() const;
  1174. void clear_error_manager();
  1175. static const int kErrorManagerFieldNumber = 3;
  1176. const ::message::Error_manager& error_manager() const;
  1177. ::message::Error_manager* release_error_manager();
  1178. ::message::Error_manager* mutable_error_manager();
  1179. void set_allocated_error_manager(::message::Error_manager* error_manager);
  1180. // required .message.Parkspace_info release_space_info = 4;
  1181. bool has_release_space_info() const;
  1182. void clear_release_space_info();
  1183. static const int kReleaseSpaceInfoFieldNumber = 4;
  1184. const ::message::Parkspace_info& release_space_info() const;
  1185. ::message::Parkspace_info* release_release_space_info();
  1186. ::message::Parkspace_info* mutable_release_space_info();
  1187. void set_allocated_release_space_info(::message::Parkspace_info* release_space_info);
  1188. // required int32 command_id = 2;
  1189. bool has_command_id() const;
  1190. void clear_command_id();
  1191. static const int kCommandIdFieldNumber = 2;
  1192. ::google::protobuf::int32 command_id() const;
  1193. void set_command_id(::google::protobuf::int32 value);
  1194. // @@protoc_insertion_point(class_scope:message.Parkspace_release_response_msg)
  1195. private:
  1196. void set_has_base_info();
  1197. void clear_has_base_info();
  1198. void set_has_command_id();
  1199. void clear_has_command_id();
  1200. void set_has_error_manager();
  1201. void clear_has_error_manager();
  1202. void set_has_release_space_info();
  1203. void clear_has_release_space_info();
  1204. // helper for ByteSizeLong()
  1205. size_t RequiredFieldsByteSizeFallback() const;
  1206. ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  1207. ::google::protobuf::internal::HasBits<1> _has_bits_;
  1208. mutable int _cached_size_;
  1209. ::message::Base_info* base_info_;
  1210. ::message::Error_manager* error_manager_;
  1211. ::message::Parkspace_info* release_space_info_;
  1212. ::google::protobuf::int32 command_id_;
  1213. friend struct ::protobuf_parkspace_5fallocation_5fmessage_2eproto::TableStruct;
  1214. friend void ::protobuf_parkspace_5fallocation_5fmessage_2eproto::InitDefaultsParkspace_release_response_msgImpl();
  1215. };
  1216. // -------------------------------------------------------------------
  1217. class Parkspace_allocation_status_msg : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:message.Parkspace_allocation_status_msg) */ {
  1218. public:
  1219. Parkspace_allocation_status_msg();
  1220. virtual ~Parkspace_allocation_status_msg();
  1221. Parkspace_allocation_status_msg(const Parkspace_allocation_status_msg& from);
  1222. inline Parkspace_allocation_status_msg& operator=(const Parkspace_allocation_status_msg& from) {
  1223. CopyFrom(from);
  1224. return *this;
  1225. }
  1226. #if LANG_CXX11
  1227. Parkspace_allocation_status_msg(Parkspace_allocation_status_msg&& from) noexcept
  1228. : Parkspace_allocation_status_msg() {
  1229. *this = ::std::move(from);
  1230. }
  1231. inline Parkspace_allocation_status_msg& operator=(Parkspace_allocation_status_msg&& from) noexcept {
  1232. if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
  1233. if (this != &from) InternalSwap(&from);
  1234. } else {
  1235. CopyFrom(from);
  1236. }
  1237. return *this;
  1238. }
  1239. #endif
  1240. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  1241. return _internal_metadata_.unknown_fields();
  1242. }
  1243. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  1244. return _internal_metadata_.mutable_unknown_fields();
  1245. }
  1246. static const ::google::protobuf::Descriptor* descriptor();
  1247. static const Parkspace_allocation_status_msg& default_instance();
  1248. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  1249. static inline const Parkspace_allocation_status_msg* internal_default_instance() {
  1250. return reinterpret_cast<const Parkspace_allocation_status_msg*>(
  1251. &_Parkspace_allocation_status_msg_default_instance_);
  1252. }
  1253. static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
  1254. 8;
  1255. void Swap(Parkspace_allocation_status_msg* other);
  1256. friend void swap(Parkspace_allocation_status_msg& a, Parkspace_allocation_status_msg& b) {
  1257. a.Swap(&b);
  1258. }
  1259. // implements Message ----------------------------------------------
  1260. inline Parkspace_allocation_status_msg* New() const PROTOBUF_FINAL { return New(NULL); }
  1261. Parkspace_allocation_status_msg* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
  1262. void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  1263. void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  1264. void CopyFrom(const Parkspace_allocation_status_msg& from);
  1265. void MergeFrom(const Parkspace_allocation_status_msg& from);
  1266. void Clear() PROTOBUF_FINAL;
  1267. bool IsInitialized() const PROTOBUF_FINAL;
  1268. size_t ByteSizeLong() const PROTOBUF_FINAL;
  1269. bool MergePartialFromCodedStream(
  1270. ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
  1271. void SerializeWithCachedSizes(
  1272. ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
  1273. ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
  1274. bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
  1275. int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
  1276. private:
  1277. void SharedCtor();
  1278. void SharedDtor();
  1279. void SetCachedSize(int size) const PROTOBUF_FINAL;
  1280. void InternalSwap(Parkspace_allocation_status_msg* other);
  1281. private:
  1282. inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
  1283. return NULL;
  1284. }
  1285. inline void* MaybeArenaPtr() const {
  1286. return NULL;
  1287. }
  1288. public:
  1289. ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
  1290. // nested types ----------------------------------------------------
  1291. // accessors -------------------------------------------------------
  1292. // repeated .message.Parkspace_info parkspace_info = 3;
  1293. int parkspace_info_size() const;
  1294. void clear_parkspace_info();
  1295. static const int kParkspaceInfoFieldNumber = 3;
  1296. const ::message::Parkspace_info& parkspace_info(int index) const;
  1297. ::message::Parkspace_info* mutable_parkspace_info(int index);
  1298. ::message::Parkspace_info* add_parkspace_info();
  1299. ::google::protobuf::RepeatedPtrField< ::message::Parkspace_info >*
  1300. mutable_parkspace_info();
  1301. const ::google::protobuf::RepeatedPtrField< ::message::Parkspace_info >&
  1302. parkspace_info() const;
  1303. // required .message.Base_info base_info = 1;
  1304. bool has_base_info() const;
  1305. void clear_base_info();
  1306. static const int kBaseInfoFieldNumber = 1;
  1307. const ::message::Base_info& base_info() const;
  1308. ::message::Base_info* release_base_info();
  1309. ::message::Base_info* mutable_base_info();
  1310. void set_allocated_base_info(::message::Base_info* base_info);
  1311. // required .message.Error_manager error_manager = 2;
  1312. bool has_error_manager() const;
  1313. void clear_error_manager();
  1314. static const int kErrorManagerFieldNumber = 2;
  1315. const ::message::Error_manager& error_manager() const;
  1316. ::message::Error_manager* release_error_manager();
  1317. ::message::Error_manager* mutable_error_manager();
  1318. void set_allocated_error_manager(::message::Error_manager* error_manager);
  1319. // @@protoc_insertion_point(class_scope:message.Parkspace_allocation_status_msg)
  1320. private:
  1321. void set_has_base_info();
  1322. void clear_has_base_info();
  1323. void set_has_error_manager();
  1324. void clear_has_error_manager();
  1325. // helper for ByteSizeLong()
  1326. size_t RequiredFieldsByteSizeFallback() const;
  1327. ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  1328. ::google::protobuf::internal::HasBits<1> _has_bits_;
  1329. mutable int _cached_size_;
  1330. ::google::protobuf::RepeatedPtrField< ::message::Parkspace_info > parkspace_info_;
  1331. ::message::Base_info* base_info_;
  1332. ::message::Error_manager* error_manager_;
  1333. friend struct ::protobuf_parkspace_5fallocation_5fmessage_2eproto::TableStruct;
  1334. friend void ::protobuf_parkspace_5fallocation_5fmessage_2eproto::InitDefaultsParkspace_allocation_status_msgImpl();
  1335. };
  1336. // ===================================================================
  1337. // ===================================================================
  1338. #ifdef __GNUC__
  1339. #pragma GCC diagnostic push
  1340. #pragma GCC diagnostic ignored "-Wstrict-aliasing"
  1341. #endif // __GNUC__
  1342. // Car_info
  1343. // optional float car_length = 1;
  1344. inline bool Car_info::has_car_length() const {
  1345. return (_has_bits_[0] & 0x00000002u) != 0;
  1346. }
  1347. inline void Car_info::set_has_car_length() {
  1348. _has_bits_[0] |= 0x00000002u;
  1349. }
  1350. inline void Car_info::clear_has_car_length() {
  1351. _has_bits_[0] &= ~0x00000002u;
  1352. }
  1353. inline void Car_info::clear_car_length() {
  1354. car_length_ = 0;
  1355. clear_has_car_length();
  1356. }
  1357. inline float Car_info::car_length() const {
  1358. // @@protoc_insertion_point(field_get:message.Car_info.car_length)
  1359. return car_length_;
  1360. }
  1361. inline void Car_info::set_car_length(float value) {
  1362. set_has_car_length();
  1363. car_length_ = value;
  1364. // @@protoc_insertion_point(field_set:message.Car_info.car_length)
  1365. }
  1366. // required float car_width = 2;
  1367. inline bool Car_info::has_car_width() const {
  1368. return (_has_bits_[0] & 0x00000004u) != 0;
  1369. }
  1370. inline void Car_info::set_has_car_width() {
  1371. _has_bits_[0] |= 0x00000004u;
  1372. }
  1373. inline void Car_info::clear_has_car_width() {
  1374. _has_bits_[0] &= ~0x00000004u;
  1375. }
  1376. inline void Car_info::clear_car_width() {
  1377. car_width_ = 0;
  1378. clear_has_car_width();
  1379. }
  1380. inline float Car_info::car_width() const {
  1381. // @@protoc_insertion_point(field_get:message.Car_info.car_width)
  1382. return car_width_;
  1383. }
  1384. inline void Car_info::set_car_width(float value) {
  1385. set_has_car_width();
  1386. car_width_ = value;
  1387. // @@protoc_insertion_point(field_set:message.Car_info.car_width)
  1388. }
  1389. // required float car_height = 3;
  1390. inline bool Car_info::has_car_height() const {
  1391. return (_has_bits_[0] & 0x00000008u) != 0;
  1392. }
  1393. inline void Car_info::set_has_car_height() {
  1394. _has_bits_[0] |= 0x00000008u;
  1395. }
  1396. inline void Car_info::clear_has_car_height() {
  1397. _has_bits_[0] &= ~0x00000008u;
  1398. }
  1399. inline void Car_info::clear_car_height() {
  1400. car_height_ = 0;
  1401. clear_has_car_height();
  1402. }
  1403. inline float Car_info::car_height() const {
  1404. // @@protoc_insertion_point(field_get:message.Car_info.car_height)
  1405. return car_height_;
  1406. }
  1407. inline void Car_info::set_car_height(float value) {
  1408. set_has_car_height();
  1409. car_height_ = value;
  1410. // @@protoc_insertion_point(field_set:message.Car_info.car_height)
  1411. }
  1412. // required string license = 4;
  1413. inline bool Car_info::has_license() const {
  1414. return (_has_bits_[0] & 0x00000001u) != 0;
  1415. }
  1416. inline void Car_info::set_has_license() {
  1417. _has_bits_[0] |= 0x00000001u;
  1418. }
  1419. inline void Car_info::clear_has_license() {
  1420. _has_bits_[0] &= ~0x00000001u;
  1421. }
  1422. inline void Car_info::clear_license() {
  1423. license_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1424. clear_has_license();
  1425. }
  1426. inline const ::std::string& Car_info::license() const {
  1427. // @@protoc_insertion_point(field_get:message.Car_info.license)
  1428. return license_.GetNoArena();
  1429. }
  1430. inline void Car_info::set_license(const ::std::string& value) {
  1431. set_has_license();
  1432. license_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  1433. // @@protoc_insertion_point(field_set:message.Car_info.license)
  1434. }
  1435. #if LANG_CXX11
  1436. inline void Car_info::set_license(::std::string&& value) {
  1437. set_has_license();
  1438. license_.SetNoArena(
  1439. &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
  1440. // @@protoc_insertion_point(field_set_rvalue:message.Car_info.license)
  1441. }
  1442. #endif
  1443. inline void Car_info::set_license(const char* value) {
  1444. GOOGLE_DCHECK(value != NULL);
  1445. set_has_license();
  1446. license_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  1447. // @@protoc_insertion_point(field_set_char:message.Car_info.license)
  1448. }
  1449. inline void Car_info::set_license(const char* value, size_t size) {
  1450. set_has_license();
  1451. license_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  1452. ::std::string(reinterpret_cast<const char*>(value), size));
  1453. // @@protoc_insertion_point(field_set_pointer:message.Car_info.license)
  1454. }
  1455. inline ::std::string* Car_info::mutable_license() {
  1456. set_has_license();
  1457. // @@protoc_insertion_point(field_mutable:message.Car_info.license)
  1458. return license_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1459. }
  1460. inline ::std::string* Car_info::release_license() {
  1461. // @@protoc_insertion_point(field_release:message.Car_info.license)
  1462. clear_has_license();
  1463. return license_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1464. }
  1465. inline void Car_info::set_allocated_license(::std::string* license) {
  1466. if (license != NULL) {
  1467. set_has_license();
  1468. } else {
  1469. clear_has_license();
  1470. }
  1471. license_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), license);
  1472. // @@protoc_insertion_point(field_set_allocated:message.Car_info.license)
  1473. }
  1474. // -------------------------------------------------------------------
  1475. // Parkspace_info
  1476. // required int32 parkspace_id = 1;
  1477. inline bool Parkspace_info::has_parkspace_id() const {
  1478. return (_has_bits_[0] & 0x00000008u) != 0;
  1479. }
  1480. inline void Parkspace_info::set_has_parkspace_id() {
  1481. _has_bits_[0] |= 0x00000008u;
  1482. }
  1483. inline void Parkspace_info::clear_has_parkspace_id() {
  1484. _has_bits_[0] &= ~0x00000008u;
  1485. }
  1486. inline void Parkspace_info::clear_parkspace_id() {
  1487. parkspace_id_ = 0;
  1488. clear_has_parkspace_id();
  1489. }
  1490. inline ::google::protobuf::int32 Parkspace_info::parkspace_id() const {
  1491. // @@protoc_insertion_point(field_get:message.Parkspace_info.parkspace_id)
  1492. return parkspace_id_;
  1493. }
  1494. inline void Parkspace_info::set_parkspace_id(::google::protobuf::int32 value) {
  1495. set_has_parkspace_id();
  1496. parkspace_id_ = value;
  1497. // @@protoc_insertion_point(field_set:message.Parkspace_info.parkspace_id)
  1498. }
  1499. // required int32 index = 2;
  1500. inline bool Parkspace_info::has_index() const {
  1501. return (_has_bits_[0] & 0x00000010u) != 0;
  1502. }
  1503. inline void Parkspace_info::set_has_index() {
  1504. _has_bits_[0] |= 0x00000010u;
  1505. }
  1506. inline void Parkspace_info::clear_has_index() {
  1507. _has_bits_[0] &= ~0x00000010u;
  1508. }
  1509. inline void Parkspace_info::clear_index() {
  1510. index_ = 0;
  1511. clear_has_index();
  1512. }
  1513. inline ::google::protobuf::int32 Parkspace_info::index() const {
  1514. // @@protoc_insertion_point(field_get:message.Parkspace_info.index)
  1515. return index_;
  1516. }
  1517. inline void Parkspace_info::set_index(::google::protobuf::int32 value) {
  1518. set_has_index();
  1519. index_ = value;
  1520. // @@protoc_insertion_point(field_set:message.Parkspace_info.index)
  1521. }
  1522. // required .message.Direction direction = 3;
  1523. inline bool Parkspace_info::has_direction() const {
  1524. return (_has_bits_[0] & 0x00000400u) != 0;
  1525. }
  1526. inline void Parkspace_info::set_has_direction() {
  1527. _has_bits_[0] |= 0x00000400u;
  1528. }
  1529. inline void Parkspace_info::clear_has_direction() {
  1530. _has_bits_[0] &= ~0x00000400u;
  1531. }
  1532. inline void Parkspace_info::clear_direction() {
  1533. direction_ = 1;
  1534. clear_has_direction();
  1535. }
  1536. inline ::message::Direction Parkspace_info::direction() const {
  1537. // @@protoc_insertion_point(field_get:message.Parkspace_info.direction)
  1538. return static_cast< ::message::Direction >(direction_);
  1539. }
  1540. inline void Parkspace_info::set_direction(::message::Direction value) {
  1541. assert(::message::Direction_IsValid(value));
  1542. set_has_direction();
  1543. direction_ = value;
  1544. // @@protoc_insertion_point(field_set:message.Parkspace_info.direction)
  1545. }
  1546. // required int32 floor = 4;
  1547. inline bool Parkspace_info::has_floor() const {
  1548. return (_has_bits_[0] & 0x00000020u) != 0;
  1549. }
  1550. inline void Parkspace_info::set_has_floor() {
  1551. _has_bits_[0] |= 0x00000020u;
  1552. }
  1553. inline void Parkspace_info::clear_has_floor() {
  1554. _has_bits_[0] &= ~0x00000020u;
  1555. }
  1556. inline void Parkspace_info::clear_floor() {
  1557. floor_ = 0;
  1558. clear_has_floor();
  1559. }
  1560. inline ::google::protobuf::int32 Parkspace_info::floor() const {
  1561. // @@protoc_insertion_point(field_get:message.Parkspace_info.floor)
  1562. return floor_;
  1563. }
  1564. inline void Parkspace_info::set_floor(::google::protobuf::int32 value) {
  1565. set_has_floor();
  1566. floor_ = value;
  1567. // @@protoc_insertion_point(field_set:message.Parkspace_info.floor)
  1568. }
  1569. // optional float length = 5;
  1570. inline bool Parkspace_info::has_length() const {
  1571. return (_has_bits_[0] & 0x00000040u) != 0;
  1572. }
  1573. inline void Parkspace_info::set_has_length() {
  1574. _has_bits_[0] |= 0x00000040u;
  1575. }
  1576. inline void Parkspace_info::clear_has_length() {
  1577. _has_bits_[0] &= ~0x00000040u;
  1578. }
  1579. inline void Parkspace_info::clear_length() {
  1580. length_ = 0;
  1581. clear_has_length();
  1582. }
  1583. inline float Parkspace_info::length() const {
  1584. // @@protoc_insertion_point(field_get:message.Parkspace_info.length)
  1585. return length_;
  1586. }
  1587. inline void Parkspace_info::set_length(float value) {
  1588. set_has_length();
  1589. length_ = value;
  1590. // @@protoc_insertion_point(field_set:message.Parkspace_info.length)
  1591. }
  1592. // required float width = 6;
  1593. inline bool Parkspace_info::has_width() const {
  1594. return (_has_bits_[0] & 0x00000080u) != 0;
  1595. }
  1596. inline void Parkspace_info::set_has_width() {
  1597. _has_bits_[0] |= 0x00000080u;
  1598. }
  1599. inline void Parkspace_info::clear_has_width() {
  1600. _has_bits_[0] &= ~0x00000080u;
  1601. }
  1602. inline void Parkspace_info::clear_width() {
  1603. width_ = 0;
  1604. clear_has_width();
  1605. }
  1606. inline float Parkspace_info::width() const {
  1607. // @@protoc_insertion_point(field_get:message.Parkspace_info.width)
  1608. return width_;
  1609. }
  1610. inline void Parkspace_info::set_width(float value) {
  1611. set_has_width();
  1612. width_ = value;
  1613. // @@protoc_insertion_point(field_set:message.Parkspace_info.width)
  1614. }
  1615. // required float height = 7;
  1616. inline bool Parkspace_info::has_height() const {
  1617. return (_has_bits_[0] & 0x00000100u) != 0;
  1618. }
  1619. inline void Parkspace_info::set_has_height() {
  1620. _has_bits_[0] |= 0x00000100u;
  1621. }
  1622. inline void Parkspace_info::clear_has_height() {
  1623. _has_bits_[0] &= ~0x00000100u;
  1624. }
  1625. inline void Parkspace_info::clear_height() {
  1626. height_ = 0;
  1627. clear_has_height();
  1628. }
  1629. inline float Parkspace_info::height() const {
  1630. // @@protoc_insertion_point(field_get:message.Parkspace_info.height)
  1631. return height_;
  1632. }
  1633. inline void Parkspace_info::set_height(float value) {
  1634. set_has_height();
  1635. height_ = value;
  1636. // @@protoc_insertion_point(field_set:message.Parkspace_info.height)
  1637. }
  1638. // required .message.Parkspace_status parkspace_status = 8;
  1639. inline bool Parkspace_info::has_parkspace_status() const {
  1640. return (_has_bits_[0] & 0x00000200u) != 0;
  1641. }
  1642. inline void Parkspace_info::set_has_parkspace_status() {
  1643. _has_bits_[0] |= 0x00000200u;
  1644. }
  1645. inline void Parkspace_info::clear_has_parkspace_status() {
  1646. _has_bits_[0] &= ~0x00000200u;
  1647. }
  1648. inline void Parkspace_info::clear_parkspace_status() {
  1649. parkspace_status_ = 0;
  1650. clear_has_parkspace_status();
  1651. }
  1652. inline ::message::Parkspace_status Parkspace_info::parkspace_status() const {
  1653. // @@protoc_insertion_point(field_get:message.Parkspace_info.parkspace_status)
  1654. return static_cast< ::message::Parkspace_status >(parkspace_status_);
  1655. }
  1656. inline void Parkspace_info::set_parkspace_status(::message::Parkspace_status value) {
  1657. assert(::message::Parkspace_status_IsValid(value));
  1658. set_has_parkspace_status();
  1659. parkspace_status_ = value;
  1660. // @@protoc_insertion_point(field_set:message.Parkspace_info.parkspace_status)
  1661. }
  1662. // optional .message.Car_info car_info = 9;
  1663. inline bool Parkspace_info::has_car_info() const {
  1664. return (_has_bits_[0] & 0x00000004u) != 0;
  1665. }
  1666. inline void Parkspace_info::set_has_car_info() {
  1667. _has_bits_[0] |= 0x00000004u;
  1668. }
  1669. inline void Parkspace_info::clear_has_car_info() {
  1670. _has_bits_[0] &= ~0x00000004u;
  1671. }
  1672. inline void Parkspace_info::clear_car_info() {
  1673. if (car_info_ != NULL) car_info_->Clear();
  1674. clear_has_car_info();
  1675. }
  1676. inline const ::message::Car_info& Parkspace_info::car_info() const {
  1677. const ::message::Car_info* p = car_info_;
  1678. // @@protoc_insertion_point(field_get:message.Parkspace_info.car_info)
  1679. return p != NULL ? *p : *reinterpret_cast<const ::message::Car_info*>(
  1680. &::message::_Car_info_default_instance_);
  1681. }
  1682. inline ::message::Car_info* Parkspace_info::release_car_info() {
  1683. // @@protoc_insertion_point(field_release:message.Parkspace_info.car_info)
  1684. clear_has_car_info();
  1685. ::message::Car_info* temp = car_info_;
  1686. car_info_ = NULL;
  1687. return temp;
  1688. }
  1689. inline ::message::Car_info* Parkspace_info::mutable_car_info() {
  1690. set_has_car_info();
  1691. if (car_info_ == NULL) {
  1692. car_info_ = new ::message::Car_info;
  1693. }
  1694. // @@protoc_insertion_point(field_mutable:message.Parkspace_info.car_info)
  1695. return car_info_;
  1696. }
  1697. inline void Parkspace_info::set_allocated_car_info(::message::Car_info* car_info) {
  1698. ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  1699. if (message_arena == NULL) {
  1700. delete car_info_;
  1701. }
  1702. if (car_info) {
  1703. ::google::protobuf::Arena* submessage_arena = NULL;
  1704. if (message_arena != submessage_arena) {
  1705. car_info = ::google::protobuf::internal::GetOwnedMessage(
  1706. message_arena, car_info, submessage_arena);
  1707. }
  1708. set_has_car_info();
  1709. } else {
  1710. clear_has_car_info();
  1711. }
  1712. car_info_ = car_info;
  1713. // @@protoc_insertion_point(field_set_allocated:message.Parkspace_info.car_info)
  1714. }
  1715. // optional string entry_time = 10;
  1716. inline bool Parkspace_info::has_entry_time() const {
  1717. return (_has_bits_[0] & 0x00000001u) != 0;
  1718. }
  1719. inline void Parkspace_info::set_has_entry_time() {
  1720. _has_bits_[0] |= 0x00000001u;
  1721. }
  1722. inline void Parkspace_info::clear_has_entry_time() {
  1723. _has_bits_[0] &= ~0x00000001u;
  1724. }
  1725. inline void Parkspace_info::clear_entry_time() {
  1726. entry_time_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1727. clear_has_entry_time();
  1728. }
  1729. inline const ::std::string& Parkspace_info::entry_time() const {
  1730. // @@protoc_insertion_point(field_get:message.Parkspace_info.entry_time)
  1731. return entry_time_.GetNoArena();
  1732. }
  1733. inline void Parkspace_info::set_entry_time(const ::std::string& value) {
  1734. set_has_entry_time();
  1735. entry_time_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  1736. // @@protoc_insertion_point(field_set:message.Parkspace_info.entry_time)
  1737. }
  1738. #if LANG_CXX11
  1739. inline void Parkspace_info::set_entry_time(::std::string&& value) {
  1740. set_has_entry_time();
  1741. entry_time_.SetNoArena(
  1742. &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
  1743. // @@protoc_insertion_point(field_set_rvalue:message.Parkspace_info.entry_time)
  1744. }
  1745. #endif
  1746. inline void Parkspace_info::set_entry_time(const char* value) {
  1747. GOOGLE_DCHECK(value != NULL);
  1748. set_has_entry_time();
  1749. entry_time_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  1750. // @@protoc_insertion_point(field_set_char:message.Parkspace_info.entry_time)
  1751. }
  1752. inline void Parkspace_info::set_entry_time(const char* value, size_t size) {
  1753. set_has_entry_time();
  1754. entry_time_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  1755. ::std::string(reinterpret_cast<const char*>(value), size));
  1756. // @@protoc_insertion_point(field_set_pointer:message.Parkspace_info.entry_time)
  1757. }
  1758. inline ::std::string* Parkspace_info::mutable_entry_time() {
  1759. set_has_entry_time();
  1760. // @@protoc_insertion_point(field_mutable:message.Parkspace_info.entry_time)
  1761. return entry_time_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1762. }
  1763. inline ::std::string* Parkspace_info::release_entry_time() {
  1764. // @@protoc_insertion_point(field_release:message.Parkspace_info.entry_time)
  1765. clear_has_entry_time();
  1766. return entry_time_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1767. }
  1768. inline void Parkspace_info::set_allocated_entry_time(::std::string* entry_time) {
  1769. if (entry_time != NULL) {
  1770. set_has_entry_time();
  1771. } else {
  1772. clear_has_entry_time();
  1773. }
  1774. entry_time_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), entry_time);
  1775. // @@protoc_insertion_point(field_set_allocated:message.Parkspace_info.entry_time)
  1776. }
  1777. // optional string leave_time = 11;
  1778. inline bool Parkspace_info::has_leave_time() const {
  1779. return (_has_bits_[0] & 0x00000002u) != 0;
  1780. }
  1781. inline void Parkspace_info::set_has_leave_time() {
  1782. _has_bits_[0] |= 0x00000002u;
  1783. }
  1784. inline void Parkspace_info::clear_has_leave_time() {
  1785. _has_bits_[0] &= ~0x00000002u;
  1786. }
  1787. inline void Parkspace_info::clear_leave_time() {
  1788. leave_time_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1789. clear_has_leave_time();
  1790. }
  1791. inline const ::std::string& Parkspace_info::leave_time() const {
  1792. // @@protoc_insertion_point(field_get:message.Parkspace_info.leave_time)
  1793. return leave_time_.GetNoArena();
  1794. }
  1795. inline void Parkspace_info::set_leave_time(const ::std::string& value) {
  1796. set_has_leave_time();
  1797. leave_time_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  1798. // @@protoc_insertion_point(field_set:message.Parkspace_info.leave_time)
  1799. }
  1800. #if LANG_CXX11
  1801. inline void Parkspace_info::set_leave_time(::std::string&& value) {
  1802. set_has_leave_time();
  1803. leave_time_.SetNoArena(
  1804. &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
  1805. // @@protoc_insertion_point(field_set_rvalue:message.Parkspace_info.leave_time)
  1806. }
  1807. #endif
  1808. inline void Parkspace_info::set_leave_time(const char* value) {
  1809. GOOGLE_DCHECK(value != NULL);
  1810. set_has_leave_time();
  1811. leave_time_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  1812. // @@protoc_insertion_point(field_set_char:message.Parkspace_info.leave_time)
  1813. }
  1814. inline void Parkspace_info::set_leave_time(const char* value, size_t size) {
  1815. set_has_leave_time();
  1816. leave_time_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  1817. ::std::string(reinterpret_cast<const char*>(value), size));
  1818. // @@protoc_insertion_point(field_set_pointer:message.Parkspace_info.leave_time)
  1819. }
  1820. inline ::std::string* Parkspace_info::mutable_leave_time() {
  1821. set_has_leave_time();
  1822. // @@protoc_insertion_point(field_mutable:message.Parkspace_info.leave_time)
  1823. return leave_time_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1824. }
  1825. inline ::std::string* Parkspace_info::release_leave_time() {
  1826. // @@protoc_insertion_point(field_release:message.Parkspace_info.leave_time)
  1827. clear_has_leave_time();
  1828. return leave_time_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1829. }
  1830. inline void Parkspace_info::set_allocated_leave_time(::std::string* leave_time) {
  1831. if (leave_time != NULL) {
  1832. set_has_leave_time();
  1833. } else {
  1834. clear_has_leave_time();
  1835. }
  1836. leave_time_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), leave_time);
  1837. // @@protoc_insertion_point(field_set_allocated:message.Parkspace_info.leave_time)
  1838. }
  1839. // -------------------------------------------------------------------
  1840. // Parkspace_allocation_request_msg
  1841. // required .message.Base_info base_info = 1;
  1842. inline bool Parkspace_allocation_request_msg::has_base_info() const {
  1843. return (_has_bits_[0] & 0x00000001u) != 0;
  1844. }
  1845. inline void Parkspace_allocation_request_msg::set_has_base_info() {
  1846. _has_bits_[0] |= 0x00000001u;
  1847. }
  1848. inline void Parkspace_allocation_request_msg::clear_has_base_info() {
  1849. _has_bits_[0] &= ~0x00000001u;
  1850. }
  1851. inline const ::message::Base_info& Parkspace_allocation_request_msg::base_info() const {
  1852. const ::message::Base_info* p = base_info_;
  1853. // @@protoc_insertion_point(field_get:message.Parkspace_allocation_request_msg.base_info)
  1854. return p != NULL ? *p : *reinterpret_cast<const ::message::Base_info*>(
  1855. &::message::_Base_info_default_instance_);
  1856. }
  1857. inline ::message::Base_info* Parkspace_allocation_request_msg::release_base_info() {
  1858. // @@protoc_insertion_point(field_release:message.Parkspace_allocation_request_msg.base_info)
  1859. clear_has_base_info();
  1860. ::message::Base_info* temp = base_info_;
  1861. base_info_ = NULL;
  1862. return temp;
  1863. }
  1864. inline ::message::Base_info* Parkspace_allocation_request_msg::mutable_base_info() {
  1865. set_has_base_info();
  1866. if (base_info_ == NULL) {
  1867. base_info_ = new ::message::Base_info;
  1868. }
  1869. // @@protoc_insertion_point(field_mutable:message.Parkspace_allocation_request_msg.base_info)
  1870. return base_info_;
  1871. }
  1872. inline void Parkspace_allocation_request_msg::set_allocated_base_info(::message::Base_info* base_info) {
  1873. ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  1874. if (message_arena == NULL) {
  1875. delete reinterpret_cast< ::google::protobuf::MessageLite*>(base_info_);
  1876. }
  1877. if (base_info) {
  1878. ::google::protobuf::Arena* submessage_arena = NULL;
  1879. if (message_arena != submessage_arena) {
  1880. base_info = ::google::protobuf::internal::GetOwnedMessage(
  1881. message_arena, base_info, submessage_arena);
  1882. }
  1883. set_has_base_info();
  1884. } else {
  1885. clear_has_base_info();
  1886. }
  1887. base_info_ = base_info;
  1888. // @@protoc_insertion_point(field_set_allocated:message.Parkspace_allocation_request_msg.base_info)
  1889. }
  1890. // required int32 command_id = 2;
  1891. inline bool Parkspace_allocation_request_msg::has_command_id() const {
  1892. return (_has_bits_[0] & 0x00000004u) != 0;
  1893. }
  1894. inline void Parkspace_allocation_request_msg::set_has_command_id() {
  1895. _has_bits_[0] |= 0x00000004u;
  1896. }
  1897. inline void Parkspace_allocation_request_msg::clear_has_command_id() {
  1898. _has_bits_[0] &= ~0x00000004u;
  1899. }
  1900. inline void Parkspace_allocation_request_msg::clear_command_id() {
  1901. command_id_ = 0;
  1902. clear_has_command_id();
  1903. }
  1904. inline ::google::protobuf::int32 Parkspace_allocation_request_msg::command_id() const {
  1905. // @@protoc_insertion_point(field_get:message.Parkspace_allocation_request_msg.command_id)
  1906. return command_id_;
  1907. }
  1908. inline void Parkspace_allocation_request_msg::set_command_id(::google::protobuf::int32 value) {
  1909. set_has_command_id();
  1910. command_id_ = value;
  1911. // @@protoc_insertion_point(field_set:message.Parkspace_allocation_request_msg.command_id)
  1912. }
  1913. // required .message.Car_info car_info = 3;
  1914. inline bool Parkspace_allocation_request_msg::has_car_info() const {
  1915. return (_has_bits_[0] & 0x00000002u) != 0;
  1916. }
  1917. inline void Parkspace_allocation_request_msg::set_has_car_info() {
  1918. _has_bits_[0] |= 0x00000002u;
  1919. }
  1920. inline void Parkspace_allocation_request_msg::clear_has_car_info() {
  1921. _has_bits_[0] &= ~0x00000002u;
  1922. }
  1923. inline void Parkspace_allocation_request_msg::clear_car_info() {
  1924. if (car_info_ != NULL) car_info_->Clear();
  1925. clear_has_car_info();
  1926. }
  1927. inline const ::message::Car_info& Parkspace_allocation_request_msg::car_info() const {
  1928. const ::message::Car_info* p = car_info_;
  1929. // @@protoc_insertion_point(field_get:message.Parkspace_allocation_request_msg.car_info)
  1930. return p != NULL ? *p : *reinterpret_cast<const ::message::Car_info*>(
  1931. &::message::_Car_info_default_instance_);
  1932. }
  1933. inline ::message::Car_info* Parkspace_allocation_request_msg::release_car_info() {
  1934. // @@protoc_insertion_point(field_release:message.Parkspace_allocation_request_msg.car_info)
  1935. clear_has_car_info();
  1936. ::message::Car_info* temp = car_info_;
  1937. car_info_ = NULL;
  1938. return temp;
  1939. }
  1940. inline ::message::Car_info* Parkspace_allocation_request_msg::mutable_car_info() {
  1941. set_has_car_info();
  1942. if (car_info_ == NULL) {
  1943. car_info_ = new ::message::Car_info;
  1944. }
  1945. // @@protoc_insertion_point(field_mutable:message.Parkspace_allocation_request_msg.car_info)
  1946. return car_info_;
  1947. }
  1948. inline void Parkspace_allocation_request_msg::set_allocated_car_info(::message::Car_info* car_info) {
  1949. ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  1950. if (message_arena == NULL) {
  1951. delete car_info_;
  1952. }
  1953. if (car_info) {
  1954. ::google::protobuf::Arena* submessage_arena = NULL;
  1955. if (message_arena != submessage_arena) {
  1956. car_info = ::google::protobuf::internal::GetOwnedMessage(
  1957. message_arena, car_info, submessage_arena);
  1958. }
  1959. set_has_car_info();
  1960. } else {
  1961. clear_has_car_info();
  1962. }
  1963. car_info_ = car_info;
  1964. // @@protoc_insertion_point(field_set_allocated:message.Parkspace_allocation_request_msg.car_info)
  1965. }
  1966. // required int32 terminal_id = 4;
  1967. inline bool Parkspace_allocation_request_msg::has_terminal_id() const {
  1968. return (_has_bits_[0] & 0x00000008u) != 0;
  1969. }
  1970. inline void Parkspace_allocation_request_msg::set_has_terminal_id() {
  1971. _has_bits_[0] |= 0x00000008u;
  1972. }
  1973. inline void Parkspace_allocation_request_msg::clear_has_terminal_id() {
  1974. _has_bits_[0] &= ~0x00000008u;
  1975. }
  1976. inline void Parkspace_allocation_request_msg::clear_terminal_id() {
  1977. terminal_id_ = 0;
  1978. clear_has_terminal_id();
  1979. }
  1980. inline ::google::protobuf::int32 Parkspace_allocation_request_msg::terminal_id() const {
  1981. // @@protoc_insertion_point(field_get:message.Parkspace_allocation_request_msg.terminal_id)
  1982. return terminal_id_;
  1983. }
  1984. inline void Parkspace_allocation_request_msg::set_terminal_id(::google::protobuf::int32 value) {
  1985. set_has_terminal_id();
  1986. terminal_id_ = value;
  1987. // @@protoc_insertion_point(field_set:message.Parkspace_allocation_request_msg.terminal_id)
  1988. }
  1989. // -------------------------------------------------------------------
  1990. // Parkspace_allocation_response_msg
  1991. // required .message.Base_info base_info = 1;
  1992. inline bool Parkspace_allocation_response_msg::has_base_info() const {
  1993. return (_has_bits_[0] & 0x00000001u) != 0;
  1994. }
  1995. inline void Parkspace_allocation_response_msg::set_has_base_info() {
  1996. _has_bits_[0] |= 0x00000001u;
  1997. }
  1998. inline void Parkspace_allocation_response_msg::clear_has_base_info() {
  1999. _has_bits_[0] &= ~0x00000001u;
  2000. }
  2001. inline const ::message::Base_info& Parkspace_allocation_response_msg::base_info() const {
  2002. const ::message::Base_info* p = base_info_;
  2003. // @@protoc_insertion_point(field_get:message.Parkspace_allocation_response_msg.base_info)
  2004. return p != NULL ? *p : *reinterpret_cast<const ::message::Base_info*>(
  2005. &::message::_Base_info_default_instance_);
  2006. }
  2007. inline ::message::Base_info* Parkspace_allocation_response_msg::release_base_info() {
  2008. // @@protoc_insertion_point(field_release:message.Parkspace_allocation_response_msg.base_info)
  2009. clear_has_base_info();
  2010. ::message::Base_info* temp = base_info_;
  2011. base_info_ = NULL;
  2012. return temp;
  2013. }
  2014. inline ::message::Base_info* Parkspace_allocation_response_msg::mutable_base_info() {
  2015. set_has_base_info();
  2016. if (base_info_ == NULL) {
  2017. base_info_ = new ::message::Base_info;
  2018. }
  2019. // @@protoc_insertion_point(field_mutable:message.Parkspace_allocation_response_msg.base_info)
  2020. return base_info_;
  2021. }
  2022. inline void Parkspace_allocation_response_msg::set_allocated_base_info(::message::Base_info* base_info) {
  2023. ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  2024. if (message_arena == NULL) {
  2025. delete reinterpret_cast< ::google::protobuf::MessageLite*>(base_info_);
  2026. }
  2027. if (base_info) {
  2028. ::google::protobuf::Arena* submessage_arena = NULL;
  2029. if (message_arena != submessage_arena) {
  2030. base_info = ::google::protobuf::internal::GetOwnedMessage(
  2031. message_arena, base_info, submessage_arena);
  2032. }
  2033. set_has_base_info();
  2034. } else {
  2035. clear_has_base_info();
  2036. }
  2037. base_info_ = base_info;
  2038. // @@protoc_insertion_point(field_set_allocated:message.Parkspace_allocation_response_msg.base_info)
  2039. }
  2040. // required int32 command_id = 2;
  2041. inline bool Parkspace_allocation_response_msg::has_command_id() const {
  2042. return (_has_bits_[0] & 0x00000008u) != 0;
  2043. }
  2044. inline void Parkspace_allocation_response_msg::set_has_command_id() {
  2045. _has_bits_[0] |= 0x00000008u;
  2046. }
  2047. inline void Parkspace_allocation_response_msg::clear_has_command_id() {
  2048. _has_bits_[0] &= ~0x00000008u;
  2049. }
  2050. inline void Parkspace_allocation_response_msg::clear_command_id() {
  2051. command_id_ = 0;
  2052. clear_has_command_id();
  2053. }
  2054. inline ::google::protobuf::int32 Parkspace_allocation_response_msg::command_id() const {
  2055. // @@protoc_insertion_point(field_get:message.Parkspace_allocation_response_msg.command_id)
  2056. return command_id_;
  2057. }
  2058. inline void Parkspace_allocation_response_msg::set_command_id(::google::protobuf::int32 value) {
  2059. set_has_command_id();
  2060. command_id_ = value;
  2061. // @@protoc_insertion_point(field_set:message.Parkspace_allocation_response_msg.command_id)
  2062. }
  2063. // required .message.Error_manager error_manager = 3;
  2064. inline bool Parkspace_allocation_response_msg::has_error_manager() const {
  2065. return (_has_bits_[0] & 0x00000002u) != 0;
  2066. }
  2067. inline void Parkspace_allocation_response_msg::set_has_error_manager() {
  2068. _has_bits_[0] |= 0x00000002u;
  2069. }
  2070. inline void Parkspace_allocation_response_msg::clear_has_error_manager() {
  2071. _has_bits_[0] &= ~0x00000002u;
  2072. }
  2073. inline const ::message::Error_manager& Parkspace_allocation_response_msg::error_manager() const {
  2074. const ::message::Error_manager* p = error_manager_;
  2075. // @@protoc_insertion_point(field_get:message.Parkspace_allocation_response_msg.error_manager)
  2076. return p != NULL ? *p : *reinterpret_cast<const ::message::Error_manager*>(
  2077. &::message::_Error_manager_default_instance_);
  2078. }
  2079. inline ::message::Error_manager* Parkspace_allocation_response_msg::release_error_manager() {
  2080. // @@protoc_insertion_point(field_release:message.Parkspace_allocation_response_msg.error_manager)
  2081. clear_has_error_manager();
  2082. ::message::Error_manager* temp = error_manager_;
  2083. error_manager_ = NULL;
  2084. return temp;
  2085. }
  2086. inline ::message::Error_manager* Parkspace_allocation_response_msg::mutable_error_manager() {
  2087. set_has_error_manager();
  2088. if (error_manager_ == NULL) {
  2089. error_manager_ = new ::message::Error_manager;
  2090. }
  2091. // @@protoc_insertion_point(field_mutable:message.Parkspace_allocation_response_msg.error_manager)
  2092. return error_manager_;
  2093. }
  2094. inline void Parkspace_allocation_response_msg::set_allocated_error_manager(::message::Error_manager* error_manager) {
  2095. ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  2096. if (message_arena == NULL) {
  2097. delete reinterpret_cast< ::google::protobuf::MessageLite*>(error_manager_);
  2098. }
  2099. if (error_manager) {
  2100. ::google::protobuf::Arena* submessage_arena = NULL;
  2101. if (message_arena != submessage_arena) {
  2102. error_manager = ::google::protobuf::internal::GetOwnedMessage(
  2103. message_arena, error_manager, submessage_arena);
  2104. }
  2105. set_has_error_manager();
  2106. } else {
  2107. clear_has_error_manager();
  2108. }
  2109. error_manager_ = error_manager;
  2110. // @@protoc_insertion_point(field_set_allocated:message.Parkspace_allocation_response_msg.error_manager)
  2111. }
  2112. // required .message.Parkspace_info allocated_space_info = 4;
  2113. inline bool Parkspace_allocation_response_msg::has_allocated_space_info() const {
  2114. return (_has_bits_[0] & 0x00000004u) != 0;
  2115. }
  2116. inline void Parkspace_allocation_response_msg::set_has_allocated_space_info() {
  2117. _has_bits_[0] |= 0x00000004u;
  2118. }
  2119. inline void Parkspace_allocation_response_msg::clear_has_allocated_space_info() {
  2120. _has_bits_[0] &= ~0x00000004u;
  2121. }
  2122. inline void Parkspace_allocation_response_msg::clear_allocated_space_info() {
  2123. if (allocated_space_info_ != NULL) allocated_space_info_->Clear();
  2124. clear_has_allocated_space_info();
  2125. }
  2126. inline const ::message::Parkspace_info& Parkspace_allocation_response_msg::allocated_space_info() const {
  2127. const ::message::Parkspace_info* p = allocated_space_info_;
  2128. // @@protoc_insertion_point(field_get:message.Parkspace_allocation_response_msg.allocated_space_info)
  2129. return p != NULL ? *p : *reinterpret_cast<const ::message::Parkspace_info*>(
  2130. &::message::_Parkspace_info_default_instance_);
  2131. }
  2132. inline ::message::Parkspace_info* Parkspace_allocation_response_msg::release_allocated_space_info() {
  2133. // @@protoc_insertion_point(field_release:message.Parkspace_allocation_response_msg.allocated_space_info)
  2134. clear_has_allocated_space_info();
  2135. ::message::Parkspace_info* temp = allocated_space_info_;
  2136. allocated_space_info_ = NULL;
  2137. return temp;
  2138. }
  2139. inline ::message::Parkspace_info* Parkspace_allocation_response_msg::mutable_allocated_space_info() {
  2140. set_has_allocated_space_info();
  2141. if (allocated_space_info_ == NULL) {
  2142. allocated_space_info_ = new ::message::Parkspace_info;
  2143. }
  2144. // @@protoc_insertion_point(field_mutable:message.Parkspace_allocation_response_msg.allocated_space_info)
  2145. return allocated_space_info_;
  2146. }
  2147. inline void Parkspace_allocation_response_msg::set_allocated_allocated_space_info(::message::Parkspace_info* allocated_space_info) {
  2148. ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  2149. if (message_arena == NULL) {
  2150. delete allocated_space_info_;
  2151. }
  2152. if (allocated_space_info) {
  2153. ::google::protobuf::Arena* submessage_arena = NULL;
  2154. if (message_arena != submessage_arena) {
  2155. allocated_space_info = ::google::protobuf::internal::GetOwnedMessage(
  2156. message_arena, allocated_space_info, submessage_arena);
  2157. }
  2158. set_has_allocated_space_info();
  2159. } else {
  2160. clear_has_allocated_space_info();
  2161. }
  2162. allocated_space_info_ = allocated_space_info;
  2163. // @@protoc_insertion_point(field_set_allocated:message.Parkspace_allocation_response_msg.allocated_space_info)
  2164. }
  2165. // -------------------------------------------------------------------
  2166. // Parkspace_search_request_msg
  2167. // required .message.Base_info base_info = 1;
  2168. inline bool Parkspace_search_request_msg::has_base_info() const {
  2169. return (_has_bits_[0] & 0x00000001u) != 0;
  2170. }
  2171. inline void Parkspace_search_request_msg::set_has_base_info() {
  2172. _has_bits_[0] |= 0x00000001u;
  2173. }
  2174. inline void Parkspace_search_request_msg::clear_has_base_info() {
  2175. _has_bits_[0] &= ~0x00000001u;
  2176. }
  2177. inline const ::message::Base_info& Parkspace_search_request_msg::base_info() const {
  2178. const ::message::Base_info* p = base_info_;
  2179. // @@protoc_insertion_point(field_get:message.Parkspace_search_request_msg.base_info)
  2180. return p != NULL ? *p : *reinterpret_cast<const ::message::Base_info*>(
  2181. &::message::_Base_info_default_instance_);
  2182. }
  2183. inline ::message::Base_info* Parkspace_search_request_msg::release_base_info() {
  2184. // @@protoc_insertion_point(field_release:message.Parkspace_search_request_msg.base_info)
  2185. clear_has_base_info();
  2186. ::message::Base_info* temp = base_info_;
  2187. base_info_ = NULL;
  2188. return temp;
  2189. }
  2190. inline ::message::Base_info* Parkspace_search_request_msg::mutable_base_info() {
  2191. set_has_base_info();
  2192. if (base_info_ == NULL) {
  2193. base_info_ = new ::message::Base_info;
  2194. }
  2195. // @@protoc_insertion_point(field_mutable:message.Parkspace_search_request_msg.base_info)
  2196. return base_info_;
  2197. }
  2198. inline void Parkspace_search_request_msg::set_allocated_base_info(::message::Base_info* base_info) {
  2199. ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  2200. if (message_arena == NULL) {
  2201. delete reinterpret_cast< ::google::protobuf::MessageLite*>(base_info_);
  2202. }
  2203. if (base_info) {
  2204. ::google::protobuf::Arena* submessage_arena = NULL;
  2205. if (message_arena != submessage_arena) {
  2206. base_info = ::google::protobuf::internal::GetOwnedMessage(
  2207. message_arena, base_info, submessage_arena);
  2208. }
  2209. set_has_base_info();
  2210. } else {
  2211. clear_has_base_info();
  2212. }
  2213. base_info_ = base_info;
  2214. // @@protoc_insertion_point(field_set_allocated:message.Parkspace_search_request_msg.base_info)
  2215. }
  2216. // required int32 command_id = 2;
  2217. inline bool Parkspace_search_request_msg::has_command_id() const {
  2218. return (_has_bits_[0] & 0x00000004u) != 0;
  2219. }
  2220. inline void Parkspace_search_request_msg::set_has_command_id() {
  2221. _has_bits_[0] |= 0x00000004u;
  2222. }
  2223. inline void Parkspace_search_request_msg::clear_has_command_id() {
  2224. _has_bits_[0] &= ~0x00000004u;
  2225. }
  2226. inline void Parkspace_search_request_msg::clear_command_id() {
  2227. command_id_ = 0;
  2228. clear_has_command_id();
  2229. }
  2230. inline ::google::protobuf::int32 Parkspace_search_request_msg::command_id() const {
  2231. // @@protoc_insertion_point(field_get:message.Parkspace_search_request_msg.command_id)
  2232. return command_id_;
  2233. }
  2234. inline void Parkspace_search_request_msg::set_command_id(::google::protobuf::int32 value) {
  2235. set_has_command_id();
  2236. command_id_ = value;
  2237. // @@protoc_insertion_point(field_set:message.Parkspace_search_request_msg.command_id)
  2238. }
  2239. // required .message.Car_info car_info = 3;
  2240. inline bool Parkspace_search_request_msg::has_car_info() const {
  2241. return (_has_bits_[0] & 0x00000002u) != 0;
  2242. }
  2243. inline void Parkspace_search_request_msg::set_has_car_info() {
  2244. _has_bits_[0] |= 0x00000002u;
  2245. }
  2246. inline void Parkspace_search_request_msg::clear_has_car_info() {
  2247. _has_bits_[0] &= ~0x00000002u;
  2248. }
  2249. inline void Parkspace_search_request_msg::clear_car_info() {
  2250. if (car_info_ != NULL) car_info_->Clear();
  2251. clear_has_car_info();
  2252. }
  2253. inline const ::message::Car_info& Parkspace_search_request_msg::car_info() const {
  2254. const ::message::Car_info* p = car_info_;
  2255. // @@protoc_insertion_point(field_get:message.Parkspace_search_request_msg.car_info)
  2256. return p != NULL ? *p : *reinterpret_cast<const ::message::Car_info*>(
  2257. &::message::_Car_info_default_instance_);
  2258. }
  2259. inline ::message::Car_info* Parkspace_search_request_msg::release_car_info() {
  2260. // @@protoc_insertion_point(field_release:message.Parkspace_search_request_msg.car_info)
  2261. clear_has_car_info();
  2262. ::message::Car_info* temp = car_info_;
  2263. car_info_ = NULL;
  2264. return temp;
  2265. }
  2266. inline ::message::Car_info* Parkspace_search_request_msg::mutable_car_info() {
  2267. set_has_car_info();
  2268. if (car_info_ == NULL) {
  2269. car_info_ = new ::message::Car_info;
  2270. }
  2271. // @@protoc_insertion_point(field_mutable:message.Parkspace_search_request_msg.car_info)
  2272. return car_info_;
  2273. }
  2274. inline void Parkspace_search_request_msg::set_allocated_car_info(::message::Car_info* car_info) {
  2275. ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  2276. if (message_arena == NULL) {
  2277. delete car_info_;
  2278. }
  2279. if (car_info) {
  2280. ::google::protobuf::Arena* submessage_arena = NULL;
  2281. if (message_arena != submessage_arena) {
  2282. car_info = ::google::protobuf::internal::GetOwnedMessage(
  2283. message_arena, car_info, submessage_arena);
  2284. }
  2285. set_has_car_info();
  2286. } else {
  2287. clear_has_car_info();
  2288. }
  2289. car_info_ = car_info;
  2290. // @@protoc_insertion_point(field_set_allocated:message.Parkspace_search_request_msg.car_info)
  2291. }
  2292. // -------------------------------------------------------------------
  2293. // Parkspace_search_response_msg
  2294. // required .message.Base_info base_info = 1;
  2295. inline bool Parkspace_search_response_msg::has_base_info() const {
  2296. return (_has_bits_[0] & 0x00000001u) != 0;
  2297. }
  2298. inline void Parkspace_search_response_msg::set_has_base_info() {
  2299. _has_bits_[0] |= 0x00000001u;
  2300. }
  2301. inline void Parkspace_search_response_msg::clear_has_base_info() {
  2302. _has_bits_[0] &= ~0x00000001u;
  2303. }
  2304. inline const ::message::Base_info& Parkspace_search_response_msg::base_info() const {
  2305. const ::message::Base_info* p = base_info_;
  2306. // @@protoc_insertion_point(field_get:message.Parkspace_search_response_msg.base_info)
  2307. return p != NULL ? *p : *reinterpret_cast<const ::message::Base_info*>(
  2308. &::message::_Base_info_default_instance_);
  2309. }
  2310. inline ::message::Base_info* Parkspace_search_response_msg::release_base_info() {
  2311. // @@protoc_insertion_point(field_release:message.Parkspace_search_response_msg.base_info)
  2312. clear_has_base_info();
  2313. ::message::Base_info* temp = base_info_;
  2314. base_info_ = NULL;
  2315. return temp;
  2316. }
  2317. inline ::message::Base_info* Parkspace_search_response_msg::mutable_base_info() {
  2318. set_has_base_info();
  2319. if (base_info_ == NULL) {
  2320. base_info_ = new ::message::Base_info;
  2321. }
  2322. // @@protoc_insertion_point(field_mutable:message.Parkspace_search_response_msg.base_info)
  2323. return base_info_;
  2324. }
  2325. inline void Parkspace_search_response_msg::set_allocated_base_info(::message::Base_info* base_info) {
  2326. ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  2327. if (message_arena == NULL) {
  2328. delete reinterpret_cast< ::google::protobuf::MessageLite*>(base_info_);
  2329. }
  2330. if (base_info) {
  2331. ::google::protobuf::Arena* submessage_arena = NULL;
  2332. if (message_arena != submessage_arena) {
  2333. base_info = ::google::protobuf::internal::GetOwnedMessage(
  2334. message_arena, base_info, submessage_arena);
  2335. }
  2336. set_has_base_info();
  2337. } else {
  2338. clear_has_base_info();
  2339. }
  2340. base_info_ = base_info;
  2341. // @@protoc_insertion_point(field_set_allocated:message.Parkspace_search_response_msg.base_info)
  2342. }
  2343. // required int32 command_id = 2;
  2344. inline bool Parkspace_search_response_msg::has_command_id() const {
  2345. return (_has_bits_[0] & 0x00000008u) != 0;
  2346. }
  2347. inline void Parkspace_search_response_msg::set_has_command_id() {
  2348. _has_bits_[0] |= 0x00000008u;
  2349. }
  2350. inline void Parkspace_search_response_msg::clear_has_command_id() {
  2351. _has_bits_[0] &= ~0x00000008u;
  2352. }
  2353. inline void Parkspace_search_response_msg::clear_command_id() {
  2354. command_id_ = 0;
  2355. clear_has_command_id();
  2356. }
  2357. inline ::google::protobuf::int32 Parkspace_search_response_msg::command_id() const {
  2358. // @@protoc_insertion_point(field_get:message.Parkspace_search_response_msg.command_id)
  2359. return command_id_;
  2360. }
  2361. inline void Parkspace_search_response_msg::set_command_id(::google::protobuf::int32 value) {
  2362. set_has_command_id();
  2363. command_id_ = value;
  2364. // @@protoc_insertion_point(field_set:message.Parkspace_search_response_msg.command_id)
  2365. }
  2366. // required .message.Error_manager error_manager = 3;
  2367. inline bool Parkspace_search_response_msg::has_error_manager() const {
  2368. return (_has_bits_[0] & 0x00000002u) != 0;
  2369. }
  2370. inline void Parkspace_search_response_msg::set_has_error_manager() {
  2371. _has_bits_[0] |= 0x00000002u;
  2372. }
  2373. inline void Parkspace_search_response_msg::clear_has_error_manager() {
  2374. _has_bits_[0] &= ~0x00000002u;
  2375. }
  2376. inline const ::message::Error_manager& Parkspace_search_response_msg::error_manager() const {
  2377. const ::message::Error_manager* p = error_manager_;
  2378. // @@protoc_insertion_point(field_get:message.Parkspace_search_response_msg.error_manager)
  2379. return p != NULL ? *p : *reinterpret_cast<const ::message::Error_manager*>(
  2380. &::message::_Error_manager_default_instance_);
  2381. }
  2382. inline ::message::Error_manager* Parkspace_search_response_msg::release_error_manager() {
  2383. // @@protoc_insertion_point(field_release:message.Parkspace_search_response_msg.error_manager)
  2384. clear_has_error_manager();
  2385. ::message::Error_manager* temp = error_manager_;
  2386. error_manager_ = NULL;
  2387. return temp;
  2388. }
  2389. inline ::message::Error_manager* Parkspace_search_response_msg::mutable_error_manager() {
  2390. set_has_error_manager();
  2391. if (error_manager_ == NULL) {
  2392. error_manager_ = new ::message::Error_manager;
  2393. }
  2394. // @@protoc_insertion_point(field_mutable:message.Parkspace_search_response_msg.error_manager)
  2395. return error_manager_;
  2396. }
  2397. inline void Parkspace_search_response_msg::set_allocated_error_manager(::message::Error_manager* error_manager) {
  2398. ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  2399. if (message_arena == NULL) {
  2400. delete reinterpret_cast< ::google::protobuf::MessageLite*>(error_manager_);
  2401. }
  2402. if (error_manager) {
  2403. ::google::protobuf::Arena* submessage_arena = NULL;
  2404. if (message_arena != submessage_arena) {
  2405. error_manager = ::google::protobuf::internal::GetOwnedMessage(
  2406. message_arena, error_manager, submessage_arena);
  2407. }
  2408. set_has_error_manager();
  2409. } else {
  2410. clear_has_error_manager();
  2411. }
  2412. error_manager_ = error_manager;
  2413. // @@protoc_insertion_point(field_set_allocated:message.Parkspace_search_response_msg.error_manager)
  2414. }
  2415. // optional .message.Parkspace_info car_position = 4;
  2416. inline bool Parkspace_search_response_msg::has_car_position() const {
  2417. return (_has_bits_[0] & 0x00000004u) != 0;
  2418. }
  2419. inline void Parkspace_search_response_msg::set_has_car_position() {
  2420. _has_bits_[0] |= 0x00000004u;
  2421. }
  2422. inline void Parkspace_search_response_msg::clear_has_car_position() {
  2423. _has_bits_[0] &= ~0x00000004u;
  2424. }
  2425. inline void Parkspace_search_response_msg::clear_car_position() {
  2426. if (car_position_ != NULL) car_position_->Clear();
  2427. clear_has_car_position();
  2428. }
  2429. inline const ::message::Parkspace_info& Parkspace_search_response_msg::car_position() const {
  2430. const ::message::Parkspace_info* p = car_position_;
  2431. // @@protoc_insertion_point(field_get:message.Parkspace_search_response_msg.car_position)
  2432. return p != NULL ? *p : *reinterpret_cast<const ::message::Parkspace_info*>(
  2433. &::message::_Parkspace_info_default_instance_);
  2434. }
  2435. inline ::message::Parkspace_info* Parkspace_search_response_msg::release_car_position() {
  2436. // @@protoc_insertion_point(field_release:message.Parkspace_search_response_msg.car_position)
  2437. clear_has_car_position();
  2438. ::message::Parkspace_info* temp = car_position_;
  2439. car_position_ = NULL;
  2440. return temp;
  2441. }
  2442. inline ::message::Parkspace_info* Parkspace_search_response_msg::mutable_car_position() {
  2443. set_has_car_position();
  2444. if (car_position_ == NULL) {
  2445. car_position_ = new ::message::Parkspace_info;
  2446. }
  2447. // @@protoc_insertion_point(field_mutable:message.Parkspace_search_response_msg.car_position)
  2448. return car_position_;
  2449. }
  2450. inline void Parkspace_search_response_msg::set_allocated_car_position(::message::Parkspace_info* car_position) {
  2451. ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  2452. if (message_arena == NULL) {
  2453. delete car_position_;
  2454. }
  2455. if (car_position) {
  2456. ::google::protobuf::Arena* submessage_arena = NULL;
  2457. if (message_arena != submessage_arena) {
  2458. car_position = ::google::protobuf::internal::GetOwnedMessage(
  2459. message_arena, car_position, submessage_arena);
  2460. }
  2461. set_has_car_position();
  2462. } else {
  2463. clear_has_car_position();
  2464. }
  2465. car_position_ = car_position;
  2466. // @@protoc_insertion_point(field_set_allocated:message.Parkspace_search_response_msg.car_position)
  2467. }
  2468. // -------------------------------------------------------------------
  2469. // Parkspace_release_request_msg
  2470. // required .message.Base_info base_info = 1;
  2471. inline bool Parkspace_release_request_msg::has_base_info() const {
  2472. return (_has_bits_[0] & 0x00000001u) != 0;
  2473. }
  2474. inline void Parkspace_release_request_msg::set_has_base_info() {
  2475. _has_bits_[0] |= 0x00000001u;
  2476. }
  2477. inline void Parkspace_release_request_msg::clear_has_base_info() {
  2478. _has_bits_[0] &= ~0x00000001u;
  2479. }
  2480. inline const ::message::Base_info& Parkspace_release_request_msg::base_info() const {
  2481. const ::message::Base_info* p = base_info_;
  2482. // @@protoc_insertion_point(field_get:message.Parkspace_release_request_msg.base_info)
  2483. return p != NULL ? *p : *reinterpret_cast<const ::message::Base_info*>(
  2484. &::message::_Base_info_default_instance_);
  2485. }
  2486. inline ::message::Base_info* Parkspace_release_request_msg::release_base_info() {
  2487. // @@protoc_insertion_point(field_release:message.Parkspace_release_request_msg.base_info)
  2488. clear_has_base_info();
  2489. ::message::Base_info* temp = base_info_;
  2490. base_info_ = NULL;
  2491. return temp;
  2492. }
  2493. inline ::message::Base_info* Parkspace_release_request_msg::mutable_base_info() {
  2494. set_has_base_info();
  2495. if (base_info_ == NULL) {
  2496. base_info_ = new ::message::Base_info;
  2497. }
  2498. // @@protoc_insertion_point(field_mutable:message.Parkspace_release_request_msg.base_info)
  2499. return base_info_;
  2500. }
  2501. inline void Parkspace_release_request_msg::set_allocated_base_info(::message::Base_info* base_info) {
  2502. ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  2503. if (message_arena == NULL) {
  2504. delete reinterpret_cast< ::google::protobuf::MessageLite*>(base_info_);
  2505. }
  2506. if (base_info) {
  2507. ::google::protobuf::Arena* submessage_arena = NULL;
  2508. if (message_arena != submessage_arena) {
  2509. base_info = ::google::protobuf::internal::GetOwnedMessage(
  2510. message_arena, base_info, submessage_arena);
  2511. }
  2512. set_has_base_info();
  2513. } else {
  2514. clear_has_base_info();
  2515. }
  2516. base_info_ = base_info;
  2517. // @@protoc_insertion_point(field_set_allocated:message.Parkspace_release_request_msg.base_info)
  2518. }
  2519. // required int32 command_id = 2;
  2520. inline bool Parkspace_release_request_msg::has_command_id() const {
  2521. return (_has_bits_[0] & 0x00000004u) != 0;
  2522. }
  2523. inline void Parkspace_release_request_msg::set_has_command_id() {
  2524. _has_bits_[0] |= 0x00000004u;
  2525. }
  2526. inline void Parkspace_release_request_msg::clear_has_command_id() {
  2527. _has_bits_[0] &= ~0x00000004u;
  2528. }
  2529. inline void Parkspace_release_request_msg::clear_command_id() {
  2530. command_id_ = 0;
  2531. clear_has_command_id();
  2532. }
  2533. inline ::google::protobuf::int32 Parkspace_release_request_msg::command_id() const {
  2534. // @@protoc_insertion_point(field_get:message.Parkspace_release_request_msg.command_id)
  2535. return command_id_;
  2536. }
  2537. inline void Parkspace_release_request_msg::set_command_id(::google::protobuf::int32 value) {
  2538. set_has_command_id();
  2539. command_id_ = value;
  2540. // @@protoc_insertion_point(field_set:message.Parkspace_release_request_msg.command_id)
  2541. }
  2542. // required .message.Parkspace_info release_space_info = 3;
  2543. inline bool Parkspace_release_request_msg::has_release_space_info() const {
  2544. return (_has_bits_[0] & 0x00000002u) != 0;
  2545. }
  2546. inline void Parkspace_release_request_msg::set_has_release_space_info() {
  2547. _has_bits_[0] |= 0x00000002u;
  2548. }
  2549. inline void Parkspace_release_request_msg::clear_has_release_space_info() {
  2550. _has_bits_[0] &= ~0x00000002u;
  2551. }
  2552. inline void Parkspace_release_request_msg::clear_release_space_info() {
  2553. if (release_space_info_ != NULL) release_space_info_->Clear();
  2554. clear_has_release_space_info();
  2555. }
  2556. inline const ::message::Parkspace_info& Parkspace_release_request_msg::release_space_info() const {
  2557. const ::message::Parkspace_info* p = release_space_info_;
  2558. // @@protoc_insertion_point(field_get:message.Parkspace_release_request_msg.release_space_info)
  2559. return p != NULL ? *p : *reinterpret_cast<const ::message::Parkspace_info*>(
  2560. &::message::_Parkspace_info_default_instance_);
  2561. }
  2562. inline ::message::Parkspace_info* Parkspace_release_request_msg::release_release_space_info() {
  2563. // @@protoc_insertion_point(field_release:message.Parkspace_release_request_msg.release_space_info)
  2564. clear_has_release_space_info();
  2565. ::message::Parkspace_info* temp = release_space_info_;
  2566. release_space_info_ = NULL;
  2567. return temp;
  2568. }
  2569. inline ::message::Parkspace_info* Parkspace_release_request_msg::mutable_release_space_info() {
  2570. set_has_release_space_info();
  2571. if (release_space_info_ == NULL) {
  2572. release_space_info_ = new ::message::Parkspace_info;
  2573. }
  2574. // @@protoc_insertion_point(field_mutable:message.Parkspace_release_request_msg.release_space_info)
  2575. return release_space_info_;
  2576. }
  2577. inline void Parkspace_release_request_msg::set_allocated_release_space_info(::message::Parkspace_info* release_space_info) {
  2578. ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  2579. if (message_arena == NULL) {
  2580. delete release_space_info_;
  2581. }
  2582. if (release_space_info) {
  2583. ::google::protobuf::Arena* submessage_arena = NULL;
  2584. if (message_arena != submessage_arena) {
  2585. release_space_info = ::google::protobuf::internal::GetOwnedMessage(
  2586. message_arena, release_space_info, submessage_arena);
  2587. }
  2588. set_has_release_space_info();
  2589. } else {
  2590. clear_has_release_space_info();
  2591. }
  2592. release_space_info_ = release_space_info;
  2593. // @@protoc_insertion_point(field_set_allocated:message.Parkspace_release_request_msg.release_space_info)
  2594. }
  2595. // -------------------------------------------------------------------
  2596. // Parkspace_release_response_msg
  2597. // required .message.Base_info base_info = 1;
  2598. inline bool Parkspace_release_response_msg::has_base_info() const {
  2599. return (_has_bits_[0] & 0x00000001u) != 0;
  2600. }
  2601. inline void Parkspace_release_response_msg::set_has_base_info() {
  2602. _has_bits_[0] |= 0x00000001u;
  2603. }
  2604. inline void Parkspace_release_response_msg::clear_has_base_info() {
  2605. _has_bits_[0] &= ~0x00000001u;
  2606. }
  2607. inline const ::message::Base_info& Parkspace_release_response_msg::base_info() const {
  2608. const ::message::Base_info* p = base_info_;
  2609. // @@protoc_insertion_point(field_get:message.Parkspace_release_response_msg.base_info)
  2610. return p != NULL ? *p : *reinterpret_cast<const ::message::Base_info*>(
  2611. &::message::_Base_info_default_instance_);
  2612. }
  2613. inline ::message::Base_info* Parkspace_release_response_msg::release_base_info() {
  2614. // @@protoc_insertion_point(field_release:message.Parkspace_release_response_msg.base_info)
  2615. clear_has_base_info();
  2616. ::message::Base_info* temp = base_info_;
  2617. base_info_ = NULL;
  2618. return temp;
  2619. }
  2620. inline ::message::Base_info* Parkspace_release_response_msg::mutable_base_info() {
  2621. set_has_base_info();
  2622. if (base_info_ == NULL) {
  2623. base_info_ = new ::message::Base_info;
  2624. }
  2625. // @@protoc_insertion_point(field_mutable:message.Parkspace_release_response_msg.base_info)
  2626. return base_info_;
  2627. }
  2628. inline void Parkspace_release_response_msg::set_allocated_base_info(::message::Base_info* base_info) {
  2629. ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  2630. if (message_arena == NULL) {
  2631. delete reinterpret_cast< ::google::protobuf::MessageLite*>(base_info_);
  2632. }
  2633. if (base_info) {
  2634. ::google::protobuf::Arena* submessage_arena = NULL;
  2635. if (message_arena != submessage_arena) {
  2636. base_info = ::google::protobuf::internal::GetOwnedMessage(
  2637. message_arena, base_info, submessage_arena);
  2638. }
  2639. set_has_base_info();
  2640. } else {
  2641. clear_has_base_info();
  2642. }
  2643. base_info_ = base_info;
  2644. // @@protoc_insertion_point(field_set_allocated:message.Parkspace_release_response_msg.base_info)
  2645. }
  2646. // required int32 command_id = 2;
  2647. inline bool Parkspace_release_response_msg::has_command_id() const {
  2648. return (_has_bits_[0] & 0x00000008u) != 0;
  2649. }
  2650. inline void Parkspace_release_response_msg::set_has_command_id() {
  2651. _has_bits_[0] |= 0x00000008u;
  2652. }
  2653. inline void Parkspace_release_response_msg::clear_has_command_id() {
  2654. _has_bits_[0] &= ~0x00000008u;
  2655. }
  2656. inline void Parkspace_release_response_msg::clear_command_id() {
  2657. command_id_ = 0;
  2658. clear_has_command_id();
  2659. }
  2660. inline ::google::protobuf::int32 Parkspace_release_response_msg::command_id() const {
  2661. // @@protoc_insertion_point(field_get:message.Parkspace_release_response_msg.command_id)
  2662. return command_id_;
  2663. }
  2664. inline void Parkspace_release_response_msg::set_command_id(::google::protobuf::int32 value) {
  2665. set_has_command_id();
  2666. command_id_ = value;
  2667. // @@protoc_insertion_point(field_set:message.Parkspace_release_response_msg.command_id)
  2668. }
  2669. // required .message.Error_manager error_manager = 3;
  2670. inline bool Parkspace_release_response_msg::has_error_manager() const {
  2671. return (_has_bits_[0] & 0x00000002u) != 0;
  2672. }
  2673. inline void Parkspace_release_response_msg::set_has_error_manager() {
  2674. _has_bits_[0] |= 0x00000002u;
  2675. }
  2676. inline void Parkspace_release_response_msg::clear_has_error_manager() {
  2677. _has_bits_[0] &= ~0x00000002u;
  2678. }
  2679. inline const ::message::Error_manager& Parkspace_release_response_msg::error_manager() const {
  2680. const ::message::Error_manager* p = error_manager_;
  2681. // @@protoc_insertion_point(field_get:message.Parkspace_release_response_msg.error_manager)
  2682. return p != NULL ? *p : *reinterpret_cast<const ::message::Error_manager*>(
  2683. &::message::_Error_manager_default_instance_);
  2684. }
  2685. inline ::message::Error_manager* Parkspace_release_response_msg::release_error_manager() {
  2686. // @@protoc_insertion_point(field_release:message.Parkspace_release_response_msg.error_manager)
  2687. clear_has_error_manager();
  2688. ::message::Error_manager* temp = error_manager_;
  2689. error_manager_ = NULL;
  2690. return temp;
  2691. }
  2692. inline ::message::Error_manager* Parkspace_release_response_msg::mutable_error_manager() {
  2693. set_has_error_manager();
  2694. if (error_manager_ == NULL) {
  2695. error_manager_ = new ::message::Error_manager;
  2696. }
  2697. // @@protoc_insertion_point(field_mutable:message.Parkspace_release_response_msg.error_manager)
  2698. return error_manager_;
  2699. }
  2700. inline void Parkspace_release_response_msg::set_allocated_error_manager(::message::Error_manager* error_manager) {
  2701. ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  2702. if (message_arena == NULL) {
  2703. delete reinterpret_cast< ::google::protobuf::MessageLite*>(error_manager_);
  2704. }
  2705. if (error_manager) {
  2706. ::google::protobuf::Arena* submessage_arena = NULL;
  2707. if (message_arena != submessage_arena) {
  2708. error_manager = ::google::protobuf::internal::GetOwnedMessage(
  2709. message_arena, error_manager, submessage_arena);
  2710. }
  2711. set_has_error_manager();
  2712. } else {
  2713. clear_has_error_manager();
  2714. }
  2715. error_manager_ = error_manager;
  2716. // @@protoc_insertion_point(field_set_allocated:message.Parkspace_release_response_msg.error_manager)
  2717. }
  2718. // required .message.Parkspace_info release_space_info = 4;
  2719. inline bool Parkspace_release_response_msg::has_release_space_info() const {
  2720. return (_has_bits_[0] & 0x00000004u) != 0;
  2721. }
  2722. inline void Parkspace_release_response_msg::set_has_release_space_info() {
  2723. _has_bits_[0] |= 0x00000004u;
  2724. }
  2725. inline void Parkspace_release_response_msg::clear_has_release_space_info() {
  2726. _has_bits_[0] &= ~0x00000004u;
  2727. }
  2728. inline void Parkspace_release_response_msg::clear_release_space_info() {
  2729. if (release_space_info_ != NULL) release_space_info_->Clear();
  2730. clear_has_release_space_info();
  2731. }
  2732. inline const ::message::Parkspace_info& Parkspace_release_response_msg::release_space_info() const {
  2733. const ::message::Parkspace_info* p = release_space_info_;
  2734. // @@protoc_insertion_point(field_get:message.Parkspace_release_response_msg.release_space_info)
  2735. return p != NULL ? *p : *reinterpret_cast<const ::message::Parkspace_info*>(
  2736. &::message::_Parkspace_info_default_instance_);
  2737. }
  2738. inline ::message::Parkspace_info* Parkspace_release_response_msg::release_release_space_info() {
  2739. // @@protoc_insertion_point(field_release:message.Parkspace_release_response_msg.release_space_info)
  2740. clear_has_release_space_info();
  2741. ::message::Parkspace_info* temp = release_space_info_;
  2742. release_space_info_ = NULL;
  2743. return temp;
  2744. }
  2745. inline ::message::Parkspace_info* Parkspace_release_response_msg::mutable_release_space_info() {
  2746. set_has_release_space_info();
  2747. if (release_space_info_ == NULL) {
  2748. release_space_info_ = new ::message::Parkspace_info;
  2749. }
  2750. // @@protoc_insertion_point(field_mutable:message.Parkspace_release_response_msg.release_space_info)
  2751. return release_space_info_;
  2752. }
  2753. inline void Parkspace_release_response_msg::set_allocated_release_space_info(::message::Parkspace_info* release_space_info) {
  2754. ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  2755. if (message_arena == NULL) {
  2756. delete release_space_info_;
  2757. }
  2758. if (release_space_info) {
  2759. ::google::protobuf::Arena* submessage_arena = NULL;
  2760. if (message_arena != submessage_arena) {
  2761. release_space_info = ::google::protobuf::internal::GetOwnedMessage(
  2762. message_arena, release_space_info, submessage_arena);
  2763. }
  2764. set_has_release_space_info();
  2765. } else {
  2766. clear_has_release_space_info();
  2767. }
  2768. release_space_info_ = release_space_info;
  2769. // @@protoc_insertion_point(field_set_allocated:message.Parkspace_release_response_msg.release_space_info)
  2770. }
  2771. // -------------------------------------------------------------------
  2772. // Parkspace_allocation_status_msg
  2773. // required .message.Base_info base_info = 1;
  2774. inline bool Parkspace_allocation_status_msg::has_base_info() const {
  2775. return (_has_bits_[0] & 0x00000001u) != 0;
  2776. }
  2777. inline void Parkspace_allocation_status_msg::set_has_base_info() {
  2778. _has_bits_[0] |= 0x00000001u;
  2779. }
  2780. inline void Parkspace_allocation_status_msg::clear_has_base_info() {
  2781. _has_bits_[0] &= ~0x00000001u;
  2782. }
  2783. inline const ::message::Base_info& Parkspace_allocation_status_msg::base_info() const {
  2784. const ::message::Base_info* p = base_info_;
  2785. // @@protoc_insertion_point(field_get:message.Parkspace_allocation_status_msg.base_info)
  2786. return p != NULL ? *p : *reinterpret_cast<const ::message::Base_info*>(
  2787. &::message::_Base_info_default_instance_);
  2788. }
  2789. inline ::message::Base_info* Parkspace_allocation_status_msg::release_base_info() {
  2790. // @@protoc_insertion_point(field_release:message.Parkspace_allocation_status_msg.base_info)
  2791. clear_has_base_info();
  2792. ::message::Base_info* temp = base_info_;
  2793. base_info_ = NULL;
  2794. return temp;
  2795. }
  2796. inline ::message::Base_info* Parkspace_allocation_status_msg::mutable_base_info() {
  2797. set_has_base_info();
  2798. if (base_info_ == NULL) {
  2799. base_info_ = new ::message::Base_info;
  2800. }
  2801. // @@protoc_insertion_point(field_mutable:message.Parkspace_allocation_status_msg.base_info)
  2802. return base_info_;
  2803. }
  2804. inline void Parkspace_allocation_status_msg::set_allocated_base_info(::message::Base_info* base_info) {
  2805. ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  2806. if (message_arena == NULL) {
  2807. delete reinterpret_cast< ::google::protobuf::MessageLite*>(base_info_);
  2808. }
  2809. if (base_info) {
  2810. ::google::protobuf::Arena* submessage_arena = NULL;
  2811. if (message_arena != submessage_arena) {
  2812. base_info = ::google::protobuf::internal::GetOwnedMessage(
  2813. message_arena, base_info, submessage_arena);
  2814. }
  2815. set_has_base_info();
  2816. } else {
  2817. clear_has_base_info();
  2818. }
  2819. base_info_ = base_info;
  2820. // @@protoc_insertion_point(field_set_allocated:message.Parkspace_allocation_status_msg.base_info)
  2821. }
  2822. // required .message.Error_manager error_manager = 2;
  2823. inline bool Parkspace_allocation_status_msg::has_error_manager() const {
  2824. return (_has_bits_[0] & 0x00000002u) != 0;
  2825. }
  2826. inline void Parkspace_allocation_status_msg::set_has_error_manager() {
  2827. _has_bits_[0] |= 0x00000002u;
  2828. }
  2829. inline void Parkspace_allocation_status_msg::clear_has_error_manager() {
  2830. _has_bits_[0] &= ~0x00000002u;
  2831. }
  2832. inline const ::message::Error_manager& Parkspace_allocation_status_msg::error_manager() const {
  2833. const ::message::Error_manager* p = error_manager_;
  2834. // @@protoc_insertion_point(field_get:message.Parkspace_allocation_status_msg.error_manager)
  2835. return p != NULL ? *p : *reinterpret_cast<const ::message::Error_manager*>(
  2836. &::message::_Error_manager_default_instance_);
  2837. }
  2838. inline ::message::Error_manager* Parkspace_allocation_status_msg::release_error_manager() {
  2839. // @@protoc_insertion_point(field_release:message.Parkspace_allocation_status_msg.error_manager)
  2840. clear_has_error_manager();
  2841. ::message::Error_manager* temp = error_manager_;
  2842. error_manager_ = NULL;
  2843. return temp;
  2844. }
  2845. inline ::message::Error_manager* Parkspace_allocation_status_msg::mutable_error_manager() {
  2846. set_has_error_manager();
  2847. if (error_manager_ == NULL) {
  2848. error_manager_ = new ::message::Error_manager;
  2849. }
  2850. // @@protoc_insertion_point(field_mutable:message.Parkspace_allocation_status_msg.error_manager)
  2851. return error_manager_;
  2852. }
  2853. inline void Parkspace_allocation_status_msg::set_allocated_error_manager(::message::Error_manager* error_manager) {
  2854. ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  2855. if (message_arena == NULL) {
  2856. delete reinterpret_cast< ::google::protobuf::MessageLite*>(error_manager_);
  2857. }
  2858. if (error_manager) {
  2859. ::google::protobuf::Arena* submessage_arena = NULL;
  2860. if (message_arena != submessage_arena) {
  2861. error_manager = ::google::protobuf::internal::GetOwnedMessage(
  2862. message_arena, error_manager, submessage_arena);
  2863. }
  2864. set_has_error_manager();
  2865. } else {
  2866. clear_has_error_manager();
  2867. }
  2868. error_manager_ = error_manager;
  2869. // @@protoc_insertion_point(field_set_allocated:message.Parkspace_allocation_status_msg.error_manager)
  2870. }
  2871. // repeated .message.Parkspace_info parkspace_info = 3;
  2872. inline int Parkspace_allocation_status_msg::parkspace_info_size() const {
  2873. return parkspace_info_.size();
  2874. }
  2875. inline void Parkspace_allocation_status_msg::clear_parkspace_info() {
  2876. parkspace_info_.Clear();
  2877. }
  2878. inline const ::message::Parkspace_info& Parkspace_allocation_status_msg::parkspace_info(int index) const {
  2879. // @@protoc_insertion_point(field_get:message.Parkspace_allocation_status_msg.parkspace_info)
  2880. return parkspace_info_.Get(index);
  2881. }
  2882. inline ::message::Parkspace_info* Parkspace_allocation_status_msg::mutable_parkspace_info(int index) {
  2883. // @@protoc_insertion_point(field_mutable:message.Parkspace_allocation_status_msg.parkspace_info)
  2884. return parkspace_info_.Mutable(index);
  2885. }
  2886. inline ::message::Parkspace_info* Parkspace_allocation_status_msg::add_parkspace_info() {
  2887. // @@protoc_insertion_point(field_add:message.Parkspace_allocation_status_msg.parkspace_info)
  2888. return parkspace_info_.Add();
  2889. }
  2890. inline ::google::protobuf::RepeatedPtrField< ::message::Parkspace_info >*
  2891. Parkspace_allocation_status_msg::mutable_parkspace_info() {
  2892. // @@protoc_insertion_point(field_mutable_list:message.Parkspace_allocation_status_msg.parkspace_info)
  2893. return &parkspace_info_;
  2894. }
  2895. inline const ::google::protobuf::RepeatedPtrField< ::message::Parkspace_info >&
  2896. Parkspace_allocation_status_msg::parkspace_info() const {
  2897. // @@protoc_insertion_point(field_list:message.Parkspace_allocation_status_msg.parkspace_info)
  2898. return parkspace_info_;
  2899. }
  2900. #ifdef __GNUC__
  2901. #pragma GCC diagnostic pop
  2902. #endif // __GNUC__
  2903. // -------------------------------------------------------------------
  2904. // -------------------------------------------------------------------
  2905. // -------------------------------------------------------------------
  2906. // -------------------------------------------------------------------
  2907. // -------------------------------------------------------------------
  2908. // -------------------------------------------------------------------
  2909. // -------------------------------------------------------------------
  2910. // -------------------------------------------------------------------
  2911. // @@protoc_insertion_point(namespace_scope)
  2912. } // namespace message
  2913. namespace google {
  2914. namespace protobuf {
  2915. template <> struct is_proto_enum< ::message::Parkspace_status> : ::google::protobuf::internal::true_type {};
  2916. template <>
  2917. inline const EnumDescriptor* GetEnumDescriptor< ::message::Parkspace_status>() {
  2918. return ::message::Parkspace_status_descriptor();
  2919. }
  2920. template <> struct is_proto_enum< ::message::Direction> : ::google::protobuf::internal::true_type {};
  2921. template <>
  2922. inline const EnumDescriptor* GetEnumDescriptor< ::message::Direction>() {
  2923. return ::message::Direction_descriptor();
  2924. }
  2925. } // namespace protobuf
  2926. } // namespace google
  2927. // @@protoc_insertion_point(global_scope)
  2928. #endif // PROTOBUF_parkspace_5fallocation_5fmessage_2eproto__INCLUDED