parkspace_allocation_message.pb.h 120 KB

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