parkspace_allocation_message.pb.h 147 KB

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