ParkspaceAllocationMessage.cs 200 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335
  1. // <auto-generated>
  2. // Generated by the protocol buffer compiler. DO NOT EDIT!
  3. // source: parkspace_allocation_message.proto
  4. // </auto-generated>
  5. #pragma warning disable 1591, 0612, 3021
  6. #region Designer generated code
  7. using pb = global::Google.Protobuf;
  8. using pbc = global::Google.Protobuf.Collections;
  9. using pbr = global::Google.Protobuf.Reflection;
  10. using scg = global::System.Collections.Generic;
  11. namespace Message {
  12. /// <summary>Holder for reflection information generated from parkspace_allocation_message.proto</summary>
  13. public static partial class ParkspaceAllocationMessageReflection {
  14. #region Descriptor
  15. /// <summary>File descriptor for parkspace_allocation_message.proto</summary>
  16. public static pbr::FileDescriptor Descriptor {
  17. get { return descriptor; }
  18. }
  19. private static pbr::FileDescriptor descriptor;
  20. static ParkspaceAllocationMessageReflection() {
  21. byte[] descriptorData = global::System.Convert.FromBase64String(
  22. string.Concat(
  23. "CiJwYXJrc3BhY2VfYWxsb2NhdGlvbl9tZXNzYWdlLnByb3RvEgdtZXNzYWdl",
  24. "GhJtZXNzYWdlX2Jhc2UucHJvdG8iqgEKIFBhcmtzcGFjZV9hbGxvY2F0aW9u",
  25. "X3JlcXVlc3RfbXNnEiUKCWJhc2VfaW5mbxgBIAIoCzISLm1lc3NhZ2UuQmFz",
  26. "ZV9pbmZvEhMKC2NvbW1hbmRfa2V5GAIgAigJEiMKCGNhcl9pbmZvGAMgAigL",
  27. "MhEubWVzc2FnZS5DYXJfaW5mbxIlCglpZF9zdHJ1Y3QYBCACKAsyEi5tZXNz",
  28. "YWdlLklkX3N0cnVjdCLxAQohUGFya3NwYWNlX2FsbG9jYXRpb25fcmVzcG9u",
  29. "c2VfbXNnEiUKCWJhc2VfaW5mbxgBIAIoCzISLm1lc3NhZ2UuQmFzZV9pbmZv",
  30. "EhMKC2NvbW1hbmRfa2V5GAIgAigJEi0KDWVycm9yX21hbmFnZXIYAyACKAsy",
  31. "Fi5tZXNzYWdlLkVycm9yX21hbmFnZXISPAobYWxsb2NhdGVkX3BhcmtzcGFj",
  32. "ZV9pbmZvX2V4GAQgAygLMhcubWVzc2FnZS5QYXJrc3BhY2VfaW5mbxIjCghj",
  33. "YXJfdHlwZRgFIAEoDjIRLm1lc3NhZ2UuQ2FyX3R5cGUifwocUGFya3NwYWNl",
  34. "X3NlYXJjaF9yZXF1ZXN0X21zZxIlCgliYXNlX2luZm8YASACKAsyEi5tZXNz",
  35. "YWdlLkJhc2VfaW5mbxITCgtjb21tYW5kX2tleRgCIAIoCRIjCghjYXJfaW5m",
  36. "bxgDIAIoCzIRLm1lc3NhZ2UuQ2FyX2luZm8ixAEKHVBhcmtzcGFjZV9zZWFy",
  37. "Y2hfcmVzcG9uc2VfbXNnEiUKCWJhc2VfaW5mbxgBIAIoCzISLm1lc3NhZ2Uu",
  38. "QmFzZV9pbmZvEhMKC2NvbW1hbmRfa2V5GAIgAigJEi0KDWVycm9yX21hbmFn",
  39. "ZXIYAyACKAsyFi5tZXNzYWdlLkVycm9yX21hbmFnZXISOAoXcXVlcnlfcGFy",
  40. "a3NwYWNlX2luZm9fZXgYBCADKAsyFy5tZXNzYWdlLlBhcmtzcGFjZV9pbmZv",
  41. "IoYBCiNQYXJrc3BhY2VfbWFudWFsX3NlYXJjaF9yZXF1ZXN0X21zZxIlCgli",
  42. "YXNlX2luZm8YASACKAsyEi5tZXNzYWdlLkJhc2VfaW5mbxITCgtjb21tYW5k",
  43. "X2tleRgCIAIoCRIjCghjYXJfaW5mbxgDIAIoCzIRLm1lc3NhZ2UuQ2FyX2lu",
  44. "Zm8iywEKJFBhcmtzcGFjZV9tYW51YWxfc2VhcmNoX3Jlc3BvbnNlX21zZxIl",
  45. "CgliYXNlX2luZm8YASACKAsyEi5tZXNzYWdlLkJhc2VfaW5mbxITCgtjb21t",
  46. "YW5kX2tleRgCIAIoCRItCg1lcnJvcl9tYW5hZ2VyGAMgAigLMhYubWVzc2Fn",
  47. "ZS5FcnJvcl9tYW5hZ2VyEjgKF3F1ZXJ5X3BhcmtzcGFjZV9pbmZvX2V4GAQg",
  48. "AygLMhcubWVzc2FnZS5QYXJrc3BhY2VfaW5mbyKXAQodUGFya3NwYWNlX3Jl",
  49. "bGVhc2VfcmVxdWVzdF9tc2cSJQoJYmFzZV9pbmZvGAEgAigLMhIubWVzc2Fn",
  50. "ZS5CYXNlX2luZm8SEwoLY29tbWFuZF9rZXkYAiACKAkSOgoZcmVsZWFzZV9w",
  51. "YXJrc3BhY2VfaW5mb19leBgDIAMoCzIXLm1lc3NhZ2UuUGFya3NwYWNlX2lu",
  52. "Zm8ixwEKHlBhcmtzcGFjZV9yZWxlYXNlX3Jlc3BvbnNlX21zZxIlCgliYXNl",
  53. "X2luZm8YASACKAsyEi5tZXNzYWdlLkJhc2VfaW5mbxITCgtjb21tYW5kX2tl",
  54. "eRgCIAIoCRItCg1lcnJvcl9tYW5hZ2VyGAMgAigLMhYubWVzc2FnZS5FcnJv",
  55. "cl9tYW5hZ2VyEjoKGXJlbGVhc2VfcGFya3NwYWNlX2luZm9fZXgYBCADKAsy",
  56. "Fy5tZXNzYWdlLlBhcmtzcGFjZV9pbmZvIpsBCiJQYXJrc3BhY2VfZm9yY2Vf",
  57. "dXBkYXRlX3JlcXVlc3RfbXNnEiUKCWJhc2VfaW5mbxgBIAIoCzISLm1lc3Nh",
  58. "Z2UuQmFzZV9pbmZvEhMKC2NvbW1hbmRfa2V5GAIgAigJEjkKGG1hbnVhbF9w",
  59. "YXJrc3BhY2VfaW5mb19leBgDIAMoCzIXLm1lc3NhZ2UuUGFya3NwYWNlX2lu",
  60. "Zm8iywEKI1BhcmtzcGFjZV9mb3JjZV91cGRhdGVfcmVzcG9uc2VfbXNnEiUK",
  61. "CWJhc2VfaW5mbxgBIAIoCzISLm1lc3NhZ2UuQmFzZV9pbmZvEhMKC2NvbW1h",
  62. "bmRfa2V5GAIgAigJEi0KDWVycm9yX21hbmFnZXIYAyACKAsyFi5tZXNzYWdl",
  63. "LkVycm9yX21hbmFnZXISOQoYbWFudWFsX3BhcmtzcGFjZV9pbmZvX2V4GAQg",
  64. "AygLMhcubWVzc2FnZS5QYXJrc3BhY2VfaW5mbyLCAQojUGFya3NwYWNlX2Nv",
  65. "bmZpcm1fYWxsb2NfcmVxdWVzdF9tc2cSJQoJYmFzZV9pbmZvGAEgAigLMhIu",
  66. "bWVzc2FnZS5CYXNlX2luZm8SEwoLY29tbWFuZF9rZXkYAiACKAkSOgoZY29u",
  67. "ZmlybV9wYXJrc3BhY2VfaW5mb19leBgDIAMoCzIXLm1lc3NhZ2UuUGFya3Nw",
  68. "YWNlX2luZm8SIwoIY2FyX3R5cGUYBCABKA4yES5tZXNzYWdlLkNhcl90eXBl",
  69. "IvIBCiRQYXJrc3BhY2VfY29uZmlybV9hbGxvY19yZXNwb25zZV9tc2cSJQoJ",
  70. "YmFzZV9pbmZvGAEgAigLMhIubWVzc2FnZS5CYXNlX2luZm8SEwoLY29tbWFu",
  71. "ZF9rZXkYAiACKAkSLQoNZXJyb3JfbWFuYWdlchgDIAIoCzIWLm1lc3NhZ2Uu",
  72. "RXJyb3JfbWFuYWdlchI6Chljb25maXJtX3BhcmtzcGFjZV9pbmZvX2V4GAQg",
  73. "AygLMhcubWVzc2FnZS5QYXJrc3BhY2VfaW5mbxIjCghjYXJfdHlwZRgFIAEo",
  74. "DjIRLm1lc3NhZ2UuQ2FyX3R5cGUivQMKH1BhcmtzcGFjZV9hbGxvY2F0aW9u",
  75. "X3N0YXR1c19tc2cSJQoJYmFzZV9pbmZvGAEgAigLMhIubWVzc2FnZS5CYXNl",
  76. "X2luZm8SLQoNZXJyb3JfbWFuYWdlchgCIAIoCzIWLm1lc3NhZ2UuRXJyb3Jf",
  77. "bWFuYWdlchJHChpkYXRhYmFzZV9jb250cm9sbGVyX3N0YXR1cxgDIAIoDjIj",
  78. "Lm1lc3NhZ2UuRGF0YWJhc2VfY29udHJvbGxlcl9zdGF0dXMSQQoXcGFya3Nw",
  79. "YWNlX21hbmFnZXJfc2F0dXMYBCACKA4yIC5tZXNzYWdlLlBhcmtzcGFjZV9t",
  80. "YW5hZ2VyX3NhdHVzEg8KB3VuaXRfaWQYBSACKAUSKAogc21hbGxfcGFya3Nw",
  81. "YWNlX3JlbWFpbmluZ19udW1iZXIYBiACKAUSKQohbWVkaXVtX3BhcmtzcGFj",
  82. "ZV9yZW1haW5pbmdfbnVtYmVyGAcgAigFEigKIGxhcmdlX3BhcmtzcGFjZV9y",
  83. "ZW1haW5pbmdfbnVtYmVyGAggAigFEigKIHRvdGFsX3BhcmtzcGFjZV9yZW1h",
  84. "aW5pbmdfbnVtYmVyGAkgAigFIkYKHVBhcmtzcGFjZV9yZWZyZXNoX3JlcXVl",
  85. "c3RfbXNnEiUKCWJhc2VfaW5mbxgBIAIoCzISLm1lc3NhZ2UuQmFzZV9pbmZv",
  86. "IqkBCh1QYXJrc3BhY2VfYWxsb2NhdGlvbl9kYXRhX21zZxIlCgliYXNlX2lu",
  87. "Zm8YASACKAsyEi5tZXNzYWdlLkJhc2VfaW5mbxItCg1lcnJvcl9tYW5hZ2Vy",
  88. "GAIgAigLMhYubWVzc2FnZS5FcnJvcl9tYW5hZ2VyEjIKEXBhcmtzcGFjZV9p",
  89. "bmZvX2V4GAMgAygLMhcubWVzc2FnZS5QYXJrc3BhY2VfaW5mbyqVAQoOVmVo",
  90. "aWNsZV9zdGF0dXMSFAoQZVZlaGljbGVfdW5rbm93bhAAEhEKDWVWZWhpY2xl",
  91. "X2lkbGUQARIWChJlVmVoaWNsZV9pbl9nYXJhZ2UQAhIUChBlVmVoaWNsZV9w",
  92. "YXJraW5nEAMSFQoRZVZlaGljbGVfZmV0Y2hpbmcQBBIVChFlVmVoaWNsZV9y",
  93. "ZXNlcnZlZBAFKlcKGkRhdGFiYXNlX2NvbnRyb2xsZXJfc3RhdHVzEg0KCUVf",
  94. "VU5LTk9XThAAEgsKB0VfUkVBRFkQARIQCgxFX0RJU0NPTk5FQ1QQAhILCgdF",
  95. "X0ZBVUxUEAMqdgoXUGFya3NwYWNlX21hbmFnZXJfc2F0dXMSHgoaZVBhcmtz",
  96. "cGFjZV9tYW5hZ2VyX3Vua25vd24QABIdChllUGFya3NwYWNlX21hbmFnZXJf",
  97. "bm9ybWFsEAESHAoYZVBhcmtzcGFjZV9tYW5hZ2VyX2ZhdWx0EAI="));
  98. descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
  99. new pbr::FileDescriptor[] { global::Message.MessageBaseReflection.Descriptor, },
  100. new pbr::GeneratedClrTypeInfo(new[] {typeof(global::Message.Vehicle_status), typeof(global::Message.Database_controller_status), typeof(global::Message.Parkspace_manager_satus), }, null, new pbr::GeneratedClrTypeInfo[] {
  101. new pbr::GeneratedClrTypeInfo(typeof(global::Message.Parkspace_allocation_request_msg), global::Message.Parkspace_allocation_request_msg.Parser, new[]{ "BaseInfo", "CommandKey", "CarInfo", "IdStruct" }, null, null, null, null),
  102. new pbr::GeneratedClrTypeInfo(typeof(global::Message.Parkspace_allocation_response_msg), global::Message.Parkspace_allocation_response_msg.Parser, new[]{ "BaseInfo", "CommandKey", "ErrorManager", "AllocatedParkspaceInfoEx", "CarType" }, null, null, null, null),
  103. new pbr::GeneratedClrTypeInfo(typeof(global::Message.Parkspace_search_request_msg), global::Message.Parkspace_search_request_msg.Parser, new[]{ "BaseInfo", "CommandKey", "CarInfo" }, null, null, null, null),
  104. new pbr::GeneratedClrTypeInfo(typeof(global::Message.Parkspace_search_response_msg), global::Message.Parkspace_search_response_msg.Parser, new[]{ "BaseInfo", "CommandKey", "ErrorManager", "QueryParkspaceInfoEx" }, null, null, null, null),
  105. new pbr::GeneratedClrTypeInfo(typeof(global::Message.Parkspace_manual_search_request_msg), global::Message.Parkspace_manual_search_request_msg.Parser, new[]{ "BaseInfo", "CommandKey", "CarInfo" }, null, null, null, null),
  106. new pbr::GeneratedClrTypeInfo(typeof(global::Message.Parkspace_manual_search_response_msg), global::Message.Parkspace_manual_search_response_msg.Parser, new[]{ "BaseInfo", "CommandKey", "ErrorManager", "QueryParkspaceInfoEx" }, null, null, null, null),
  107. new pbr::GeneratedClrTypeInfo(typeof(global::Message.Parkspace_release_request_msg), global::Message.Parkspace_release_request_msg.Parser, new[]{ "BaseInfo", "CommandKey", "ReleaseParkspaceInfoEx" }, null, null, null, null),
  108. new pbr::GeneratedClrTypeInfo(typeof(global::Message.Parkspace_release_response_msg), global::Message.Parkspace_release_response_msg.Parser, new[]{ "BaseInfo", "CommandKey", "ErrorManager", "ReleaseParkspaceInfoEx" }, null, null, null, null),
  109. new pbr::GeneratedClrTypeInfo(typeof(global::Message.Parkspace_force_update_request_msg), global::Message.Parkspace_force_update_request_msg.Parser, new[]{ "BaseInfo", "CommandKey", "ManualParkspaceInfoEx" }, null, null, null, null),
  110. new pbr::GeneratedClrTypeInfo(typeof(global::Message.Parkspace_force_update_response_msg), global::Message.Parkspace_force_update_response_msg.Parser, new[]{ "BaseInfo", "CommandKey", "ErrorManager", "ManualParkspaceInfoEx" }, null, null, null, null),
  111. new pbr::GeneratedClrTypeInfo(typeof(global::Message.Parkspace_confirm_alloc_request_msg), global::Message.Parkspace_confirm_alloc_request_msg.Parser, new[]{ "BaseInfo", "CommandKey", "ConfirmParkspaceInfoEx", "CarType" }, null, null, null, null),
  112. new pbr::GeneratedClrTypeInfo(typeof(global::Message.Parkspace_confirm_alloc_response_msg), global::Message.Parkspace_confirm_alloc_response_msg.Parser, new[]{ "BaseInfo", "CommandKey", "ErrorManager", "ConfirmParkspaceInfoEx", "CarType" }, null, null, null, null),
  113. new pbr::GeneratedClrTypeInfo(typeof(global::Message.Parkspace_allocation_status_msg), global::Message.Parkspace_allocation_status_msg.Parser, new[]{ "BaseInfo", "ErrorManager", "DatabaseControllerStatus", "ParkspaceManagerSatus", "UnitId", "SmallParkspaceRemainingNumber", "MediumParkspaceRemainingNumber", "LargeParkspaceRemainingNumber", "TotalParkspaceRemainingNumber" }, null, null, null, null),
  114. new pbr::GeneratedClrTypeInfo(typeof(global::Message.Parkspace_refresh_request_msg), global::Message.Parkspace_refresh_request_msg.Parser, new[]{ "BaseInfo" }, null, null, null, null),
  115. new pbr::GeneratedClrTypeInfo(typeof(global::Message.Parkspace_allocation_data_msg), global::Message.Parkspace_allocation_data_msg.Parser, new[]{ "BaseInfo", "ErrorManager", "ParkspaceInfoEx" }, null, null, null, null)
  116. }));
  117. }
  118. #endregion
  119. }
  120. #region Enums
  121. /// <summary>
  122. ///车辆状态枚举
  123. /// </summary>
  124. public enum Vehicle_status {
  125. /// <summary>
  126. ///未知状态
  127. /// </summary>
  128. [pbr::OriginalName("eVehicle_unknown")] EVehicleUnknown = 0,
  129. /// <summary>
  130. ///车辆空闲
  131. /// </summary>
  132. [pbr::OriginalName("eVehicle_idle")] EVehicleIdle = 1,
  133. /// <summary>
  134. ///车辆已入库
  135. /// </summary>
  136. [pbr::OriginalName("eVehicle_in_garage")] EVehicleInGarage = 2,
  137. /// <summary>
  138. ///车辆停车中
  139. /// </summary>
  140. [pbr::OriginalName("eVehicle_parking")] EVehicleParking = 3,
  141. /// <summary>
  142. ///车辆取车中
  143. /// </summary>
  144. [pbr::OriginalName("eVehicle_fetching")] EVehicleFetching = 4,
  145. /// <summary>
  146. ///已预约未停入
  147. /// </summary>
  148. [pbr::OriginalName("eVehicle_reserved")] EVehicleReserved = 5,
  149. }
  150. /// <summary>
  151. ///数据库状态
  152. /// </summary>
  153. public enum Database_controller_status {
  154. /// <summary>
  155. ///默认未知
  156. /// </summary>
  157. [pbr::OriginalName("E_UNKNOWN")] EUnknown = 0,
  158. /// <summary>
  159. ///正常待机
  160. /// </summary>
  161. [pbr::OriginalName("E_READY")] EReady = 1,
  162. /// <summary>
  163. ///断连
  164. /// </summary>
  165. [pbr::OriginalName("E_DISCONNECT")] EDisconnect = 2,
  166. /// <summary>
  167. ///故障
  168. /// </summary>
  169. [pbr::OriginalName("E_FAULT")] EFault = 3,
  170. }
  171. /// <summary>
  172. ///车位管理状态
  173. /// </summary>
  174. public enum Parkspace_manager_satus {
  175. /// <summary>
  176. ///位置
  177. /// </summary>
  178. [pbr::OriginalName("eParkspace_manager_unknown")] EParkspaceManagerUnknown = 0,
  179. /// <summary>
  180. ///正常
  181. /// </summary>
  182. [pbr::OriginalName("eParkspace_manager_normal")] EParkspaceManagerNormal = 1,
  183. /// <summary>
  184. ///故障
  185. /// </summary>
  186. [pbr::OriginalName("eParkspace_manager_fault")] EParkspaceManagerFault = 2,
  187. }
  188. #endregion
  189. #region Messages
  190. /// <summary>
  191. ///1.分配车位请求
  192. /// </summary>
  193. public sealed partial class Parkspace_allocation_request_msg : pb::IMessage<Parkspace_allocation_request_msg>
  194. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  195. , pb::IBufferMessage
  196. #endif
  197. {
  198. private static readonly pb::MessageParser<Parkspace_allocation_request_msg> _parser = new pb::MessageParser<Parkspace_allocation_request_msg>(() => new Parkspace_allocation_request_msg());
  199. private pb::UnknownFieldSet _unknownFields;
  200. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  201. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  202. public static pb::MessageParser<Parkspace_allocation_request_msg> Parser { get { return _parser; } }
  203. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  204. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  205. public static pbr::MessageDescriptor Descriptor {
  206. get { return global::Message.ParkspaceAllocationMessageReflection.Descriptor.MessageTypes[0]; }
  207. }
  208. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  209. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  210. pbr::MessageDescriptor pb::IMessage.Descriptor {
  211. get { return Descriptor; }
  212. }
  213. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  214. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  215. public Parkspace_allocation_request_msg() {
  216. OnConstruction();
  217. }
  218. partial void OnConstruction();
  219. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  220. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  221. public Parkspace_allocation_request_msg(Parkspace_allocation_request_msg other) : this() {
  222. baseInfo_ = other.baseInfo_ != null ? other.baseInfo_.Clone() : null;
  223. commandKey_ = other.commandKey_;
  224. carInfo_ = other.carInfo_ != null ? other.carInfo_.Clone() : null;
  225. idStruct_ = other.idStruct_ != null ? other.idStruct_.Clone() : null;
  226. _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
  227. }
  228. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  229. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  230. public Parkspace_allocation_request_msg Clone() {
  231. return new Parkspace_allocation_request_msg(this);
  232. }
  233. /// <summary>Field number for the "base_info" field.</summary>
  234. public const int BaseInfoFieldNumber = 1;
  235. private global::Message.Base_info baseInfo_;
  236. /// <summary>
  237. ///消息类型
  238. /// </summary>
  239. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  240. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  241. public global::Message.Base_info BaseInfo {
  242. get { return baseInfo_; }
  243. set {
  244. baseInfo_ = value;
  245. }
  246. }
  247. /// <summary>Field number for the "command_key" field.</summary>
  248. public const int CommandKeyFieldNumber = 2;
  249. private readonly static string CommandKeyDefaultValue = "";
  250. private string commandKey_;
  251. /// <summary>
  252. ///指令唯一标识符id
  253. /// </summary>
  254. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  255. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  256. public string CommandKey {
  257. get { return commandKey_ ?? CommandKeyDefaultValue; }
  258. set {
  259. commandKey_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
  260. }
  261. }
  262. /// <summary>Gets whether the "command_key" field is set</summary>
  263. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  264. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  265. public bool HasCommandKey {
  266. get { return commandKey_ != null; }
  267. }
  268. /// <summary>Clears the value of the "command_key" field</summary>
  269. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  270. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  271. public void ClearCommandKey() {
  272. commandKey_ = null;
  273. }
  274. /// <summary>Field number for the "car_info" field.</summary>
  275. public const int CarInfoFieldNumber = 3;
  276. private global::Message.Car_info carInfo_;
  277. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  278. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  279. public global::Message.Car_info CarInfo {
  280. get { return carInfo_; }
  281. set {
  282. carInfo_ = value;
  283. }
  284. }
  285. /// <summary>Field number for the "id_struct" field.</summary>
  286. public const int IdStructFieldNumber = 4;
  287. private global::Message.Id_struct idStruct_;
  288. /// <summary>
  289. ///终端id,优化车位分配用
  290. /// </summary>
  291. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  292. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  293. public global::Message.Id_struct IdStruct {
  294. get { return idStruct_; }
  295. set {
  296. idStruct_ = value;
  297. }
  298. }
  299. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  300. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  301. public override bool Equals(object other) {
  302. return Equals(other as Parkspace_allocation_request_msg);
  303. }
  304. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  305. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  306. public bool Equals(Parkspace_allocation_request_msg other) {
  307. if (ReferenceEquals(other, null)) {
  308. return false;
  309. }
  310. if (ReferenceEquals(other, this)) {
  311. return true;
  312. }
  313. if (!object.Equals(BaseInfo, other.BaseInfo)) return false;
  314. if (CommandKey != other.CommandKey) return false;
  315. if (!object.Equals(CarInfo, other.CarInfo)) return false;
  316. if (!object.Equals(IdStruct, other.IdStruct)) return false;
  317. return Equals(_unknownFields, other._unknownFields);
  318. }
  319. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  320. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  321. public override int GetHashCode() {
  322. int hash = 1;
  323. if (baseInfo_ != null) hash ^= BaseInfo.GetHashCode();
  324. if (HasCommandKey) hash ^= CommandKey.GetHashCode();
  325. if (carInfo_ != null) hash ^= CarInfo.GetHashCode();
  326. if (idStruct_ != null) hash ^= IdStruct.GetHashCode();
  327. if (_unknownFields != null) {
  328. hash ^= _unknownFields.GetHashCode();
  329. }
  330. return hash;
  331. }
  332. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  333. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  334. public override string ToString() {
  335. return pb::JsonFormatter.ToDiagnosticString(this);
  336. }
  337. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  338. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  339. public void WriteTo(pb::CodedOutputStream output) {
  340. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  341. output.WriteRawMessage(this);
  342. #else
  343. if (baseInfo_ != null) {
  344. output.WriteRawTag(10);
  345. output.WriteMessage(BaseInfo);
  346. }
  347. if (HasCommandKey) {
  348. output.WriteRawTag(18);
  349. output.WriteString(CommandKey);
  350. }
  351. if (carInfo_ != null) {
  352. output.WriteRawTag(26);
  353. output.WriteMessage(CarInfo);
  354. }
  355. if (idStruct_ != null) {
  356. output.WriteRawTag(34);
  357. output.WriteMessage(IdStruct);
  358. }
  359. if (_unknownFields != null) {
  360. _unknownFields.WriteTo(output);
  361. }
  362. #endif
  363. }
  364. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  365. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  366. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  367. void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
  368. if (baseInfo_ != null) {
  369. output.WriteRawTag(10);
  370. output.WriteMessage(BaseInfo);
  371. }
  372. if (HasCommandKey) {
  373. output.WriteRawTag(18);
  374. output.WriteString(CommandKey);
  375. }
  376. if (carInfo_ != null) {
  377. output.WriteRawTag(26);
  378. output.WriteMessage(CarInfo);
  379. }
  380. if (idStruct_ != null) {
  381. output.WriteRawTag(34);
  382. output.WriteMessage(IdStruct);
  383. }
  384. if (_unknownFields != null) {
  385. _unknownFields.WriteTo(ref output);
  386. }
  387. }
  388. #endif
  389. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  390. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  391. public int CalculateSize() {
  392. int size = 0;
  393. if (baseInfo_ != null) {
  394. size += 1 + pb::CodedOutputStream.ComputeMessageSize(BaseInfo);
  395. }
  396. if (HasCommandKey) {
  397. size += 1 + pb::CodedOutputStream.ComputeStringSize(CommandKey);
  398. }
  399. if (carInfo_ != null) {
  400. size += 1 + pb::CodedOutputStream.ComputeMessageSize(CarInfo);
  401. }
  402. if (idStruct_ != null) {
  403. size += 1 + pb::CodedOutputStream.ComputeMessageSize(IdStruct);
  404. }
  405. if (_unknownFields != null) {
  406. size += _unknownFields.CalculateSize();
  407. }
  408. return size;
  409. }
  410. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  411. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  412. public void MergeFrom(Parkspace_allocation_request_msg other) {
  413. if (other == null) {
  414. return;
  415. }
  416. if (other.baseInfo_ != null) {
  417. if (baseInfo_ == null) {
  418. BaseInfo = new global::Message.Base_info();
  419. }
  420. BaseInfo.MergeFrom(other.BaseInfo);
  421. }
  422. if (other.HasCommandKey) {
  423. CommandKey = other.CommandKey;
  424. }
  425. if (other.carInfo_ != null) {
  426. if (carInfo_ == null) {
  427. CarInfo = new global::Message.Car_info();
  428. }
  429. CarInfo.MergeFrom(other.CarInfo);
  430. }
  431. if (other.idStruct_ != null) {
  432. if (idStruct_ == null) {
  433. IdStruct = new global::Message.Id_struct();
  434. }
  435. IdStruct.MergeFrom(other.IdStruct);
  436. }
  437. _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
  438. }
  439. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  440. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  441. public void MergeFrom(pb::CodedInputStream input) {
  442. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  443. input.ReadRawMessage(this);
  444. #else
  445. uint tag;
  446. while ((tag = input.ReadTag()) != 0) {
  447. switch(tag) {
  448. default:
  449. _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
  450. break;
  451. case 10: {
  452. if (baseInfo_ == null) {
  453. BaseInfo = new global::Message.Base_info();
  454. }
  455. input.ReadMessage(BaseInfo);
  456. break;
  457. }
  458. case 18: {
  459. CommandKey = input.ReadString();
  460. break;
  461. }
  462. case 26: {
  463. if (carInfo_ == null) {
  464. CarInfo = new global::Message.Car_info();
  465. }
  466. input.ReadMessage(CarInfo);
  467. break;
  468. }
  469. case 34: {
  470. if (idStruct_ == null) {
  471. IdStruct = new global::Message.Id_struct();
  472. }
  473. input.ReadMessage(IdStruct);
  474. break;
  475. }
  476. }
  477. }
  478. #endif
  479. }
  480. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  481. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  482. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  483. void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
  484. uint tag;
  485. while ((tag = input.ReadTag()) != 0) {
  486. switch(tag) {
  487. default:
  488. _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
  489. break;
  490. case 10: {
  491. if (baseInfo_ == null) {
  492. BaseInfo = new global::Message.Base_info();
  493. }
  494. input.ReadMessage(BaseInfo);
  495. break;
  496. }
  497. case 18: {
  498. CommandKey = input.ReadString();
  499. break;
  500. }
  501. case 26: {
  502. if (carInfo_ == null) {
  503. CarInfo = new global::Message.Car_info();
  504. }
  505. input.ReadMessage(CarInfo);
  506. break;
  507. }
  508. case 34: {
  509. if (idStruct_ == null) {
  510. IdStruct = new global::Message.Id_struct();
  511. }
  512. input.ReadMessage(IdStruct);
  513. break;
  514. }
  515. }
  516. }
  517. }
  518. #endif
  519. }
  520. /// <summary>
  521. ///分配车位反馈
  522. /// </summary>
  523. public sealed partial class Parkspace_allocation_response_msg : pb::IMessage<Parkspace_allocation_response_msg>
  524. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  525. , pb::IBufferMessage
  526. #endif
  527. {
  528. private static readonly pb::MessageParser<Parkspace_allocation_response_msg> _parser = new pb::MessageParser<Parkspace_allocation_response_msg>(() => new Parkspace_allocation_response_msg());
  529. private pb::UnknownFieldSet _unknownFields;
  530. private int _hasBits0;
  531. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  532. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  533. public static pb::MessageParser<Parkspace_allocation_response_msg> Parser { get { return _parser; } }
  534. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  535. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  536. public static pbr::MessageDescriptor Descriptor {
  537. get { return global::Message.ParkspaceAllocationMessageReflection.Descriptor.MessageTypes[1]; }
  538. }
  539. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  540. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  541. pbr::MessageDescriptor pb::IMessage.Descriptor {
  542. get { return Descriptor; }
  543. }
  544. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  545. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  546. public Parkspace_allocation_response_msg() {
  547. OnConstruction();
  548. }
  549. partial void OnConstruction();
  550. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  551. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  552. public Parkspace_allocation_response_msg(Parkspace_allocation_response_msg other) : this() {
  553. _hasBits0 = other._hasBits0;
  554. baseInfo_ = other.baseInfo_ != null ? other.baseInfo_.Clone() : null;
  555. commandKey_ = other.commandKey_;
  556. errorManager_ = other.errorManager_ != null ? other.errorManager_.Clone() : null;
  557. allocatedParkspaceInfoEx_ = other.allocatedParkspaceInfoEx_.Clone();
  558. carType_ = other.carType_;
  559. _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
  560. }
  561. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  562. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  563. public Parkspace_allocation_response_msg Clone() {
  564. return new Parkspace_allocation_response_msg(this);
  565. }
  566. /// <summary>Field number for the "base_info" field.</summary>
  567. public const int BaseInfoFieldNumber = 1;
  568. private global::Message.Base_info baseInfo_;
  569. /// <summary>
  570. ///消息类型
  571. /// </summary>
  572. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  573. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  574. public global::Message.Base_info BaseInfo {
  575. get { return baseInfo_; }
  576. set {
  577. baseInfo_ = value;
  578. }
  579. }
  580. /// <summary>Field number for the "command_key" field.</summary>
  581. public const int CommandKeyFieldNumber = 2;
  582. private readonly static string CommandKeyDefaultValue = "";
  583. private string commandKey_;
  584. /// <summary>
  585. ///指令唯一标识符id
  586. /// </summary>
  587. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  588. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  589. public string CommandKey {
  590. get { return commandKey_ ?? CommandKeyDefaultValue; }
  591. set {
  592. commandKey_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
  593. }
  594. }
  595. /// <summary>Gets whether the "command_key" field is set</summary>
  596. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  597. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  598. public bool HasCommandKey {
  599. get { return commandKey_ != null; }
  600. }
  601. /// <summary>Clears the value of the "command_key" field</summary>
  602. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  603. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  604. public void ClearCommandKey() {
  605. commandKey_ = null;
  606. }
  607. /// <summary>Field number for the "error_manager" field.</summary>
  608. public const int ErrorManagerFieldNumber = 3;
  609. private global::Message.Error_manager errorManager_;
  610. /// <summary>
  611. ///分配成功与否标志
  612. /// </summary>
  613. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  614. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  615. public global::Message.Error_manager ErrorManager {
  616. get { return errorManager_; }
  617. set {
  618. errorManager_ = value;
  619. }
  620. }
  621. /// <summary>Field number for the "allocated_parkspace_info_ex" field.</summary>
  622. public const int AllocatedParkspaceInfoExFieldNumber = 4;
  623. private static readonly pb::FieldCodec<global::Message.Parkspace_info> _repeated_allocatedParkspaceInfoEx_codec
  624. = pb::FieldCodec.ForMessage(34, global::Message.Parkspace_info.Parser);
  625. private readonly pbc::RepeatedField<global::Message.Parkspace_info> allocatedParkspaceInfoEx_ = new pbc::RepeatedField<global::Message.Parkspace_info>();
  626. /// <summary>
  627. ///分配车位信息
  628. /// </summary>
  629. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  630. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  631. public pbc::RepeatedField<global::Message.Parkspace_info> AllocatedParkspaceInfoEx {
  632. get { return allocatedParkspaceInfoEx_; }
  633. }
  634. /// <summary>Field number for the "car_type" field.</summary>
  635. public const int CarTypeFieldNumber = 5;
  636. private readonly static global::Message.Car_type CarTypeDefaultValue = global::Message.Car_type.UnknowCarType;
  637. private global::Message.Car_type carType_;
  638. /// <summary>
  639. ///汽车类型
  640. /// </summary>
  641. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  642. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  643. public global::Message.Car_type CarType {
  644. get { if ((_hasBits0 & 1) != 0) { return carType_; } else { return CarTypeDefaultValue; } }
  645. set {
  646. _hasBits0 |= 1;
  647. carType_ = value;
  648. }
  649. }
  650. /// <summary>Gets whether the "car_type" field is set</summary>
  651. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  652. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  653. public bool HasCarType {
  654. get { return (_hasBits0 & 1) != 0; }
  655. }
  656. /// <summary>Clears the value of the "car_type" field</summary>
  657. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  658. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  659. public void ClearCarType() {
  660. _hasBits0 &= ~1;
  661. }
  662. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  663. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  664. public override bool Equals(object other) {
  665. return Equals(other as Parkspace_allocation_response_msg);
  666. }
  667. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  668. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  669. public bool Equals(Parkspace_allocation_response_msg other) {
  670. if (ReferenceEquals(other, null)) {
  671. return false;
  672. }
  673. if (ReferenceEquals(other, this)) {
  674. return true;
  675. }
  676. if (!object.Equals(BaseInfo, other.BaseInfo)) return false;
  677. if (CommandKey != other.CommandKey) return false;
  678. if (!object.Equals(ErrorManager, other.ErrorManager)) return false;
  679. if(!allocatedParkspaceInfoEx_.Equals(other.allocatedParkspaceInfoEx_)) return false;
  680. if (CarType != other.CarType) return false;
  681. return Equals(_unknownFields, other._unknownFields);
  682. }
  683. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  684. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  685. public override int GetHashCode() {
  686. int hash = 1;
  687. if (baseInfo_ != null) hash ^= BaseInfo.GetHashCode();
  688. if (HasCommandKey) hash ^= CommandKey.GetHashCode();
  689. if (errorManager_ != null) hash ^= ErrorManager.GetHashCode();
  690. hash ^= allocatedParkspaceInfoEx_.GetHashCode();
  691. if (HasCarType) hash ^= CarType.GetHashCode();
  692. if (_unknownFields != null) {
  693. hash ^= _unknownFields.GetHashCode();
  694. }
  695. return hash;
  696. }
  697. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  698. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  699. public override string ToString() {
  700. return pb::JsonFormatter.ToDiagnosticString(this);
  701. }
  702. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  703. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  704. public void WriteTo(pb::CodedOutputStream output) {
  705. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  706. output.WriteRawMessage(this);
  707. #else
  708. if (baseInfo_ != null) {
  709. output.WriteRawTag(10);
  710. output.WriteMessage(BaseInfo);
  711. }
  712. if (HasCommandKey) {
  713. output.WriteRawTag(18);
  714. output.WriteString(CommandKey);
  715. }
  716. if (errorManager_ != null) {
  717. output.WriteRawTag(26);
  718. output.WriteMessage(ErrorManager);
  719. }
  720. allocatedParkspaceInfoEx_.WriteTo(output, _repeated_allocatedParkspaceInfoEx_codec);
  721. if (HasCarType) {
  722. output.WriteRawTag(40);
  723. output.WriteEnum((int) CarType);
  724. }
  725. if (_unknownFields != null) {
  726. _unknownFields.WriteTo(output);
  727. }
  728. #endif
  729. }
  730. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  731. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  732. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  733. void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
  734. if (baseInfo_ != null) {
  735. output.WriteRawTag(10);
  736. output.WriteMessage(BaseInfo);
  737. }
  738. if (HasCommandKey) {
  739. output.WriteRawTag(18);
  740. output.WriteString(CommandKey);
  741. }
  742. if (errorManager_ != null) {
  743. output.WriteRawTag(26);
  744. output.WriteMessage(ErrorManager);
  745. }
  746. allocatedParkspaceInfoEx_.WriteTo(ref output, _repeated_allocatedParkspaceInfoEx_codec);
  747. if (HasCarType) {
  748. output.WriteRawTag(40);
  749. output.WriteEnum((int) CarType);
  750. }
  751. if (_unknownFields != null) {
  752. _unknownFields.WriteTo(ref output);
  753. }
  754. }
  755. #endif
  756. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  757. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  758. public int CalculateSize() {
  759. int size = 0;
  760. if (baseInfo_ != null) {
  761. size += 1 + pb::CodedOutputStream.ComputeMessageSize(BaseInfo);
  762. }
  763. if (HasCommandKey) {
  764. size += 1 + pb::CodedOutputStream.ComputeStringSize(CommandKey);
  765. }
  766. if (errorManager_ != null) {
  767. size += 1 + pb::CodedOutputStream.ComputeMessageSize(ErrorManager);
  768. }
  769. size += allocatedParkspaceInfoEx_.CalculateSize(_repeated_allocatedParkspaceInfoEx_codec);
  770. if (HasCarType) {
  771. size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) CarType);
  772. }
  773. if (_unknownFields != null) {
  774. size += _unknownFields.CalculateSize();
  775. }
  776. return size;
  777. }
  778. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  779. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  780. public void MergeFrom(Parkspace_allocation_response_msg other) {
  781. if (other == null) {
  782. return;
  783. }
  784. if (other.baseInfo_ != null) {
  785. if (baseInfo_ == null) {
  786. BaseInfo = new global::Message.Base_info();
  787. }
  788. BaseInfo.MergeFrom(other.BaseInfo);
  789. }
  790. if (other.HasCommandKey) {
  791. CommandKey = other.CommandKey;
  792. }
  793. if (other.errorManager_ != null) {
  794. if (errorManager_ == null) {
  795. ErrorManager = new global::Message.Error_manager();
  796. }
  797. ErrorManager.MergeFrom(other.ErrorManager);
  798. }
  799. allocatedParkspaceInfoEx_.Add(other.allocatedParkspaceInfoEx_);
  800. if (other.HasCarType) {
  801. CarType = other.CarType;
  802. }
  803. _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
  804. }
  805. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  806. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  807. public void MergeFrom(pb::CodedInputStream input) {
  808. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  809. input.ReadRawMessage(this);
  810. #else
  811. uint tag;
  812. while ((tag = input.ReadTag()) != 0) {
  813. switch(tag) {
  814. default:
  815. _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
  816. break;
  817. case 10: {
  818. if (baseInfo_ == null) {
  819. BaseInfo = new global::Message.Base_info();
  820. }
  821. input.ReadMessage(BaseInfo);
  822. break;
  823. }
  824. case 18: {
  825. CommandKey = input.ReadString();
  826. break;
  827. }
  828. case 26: {
  829. if (errorManager_ == null) {
  830. ErrorManager = new global::Message.Error_manager();
  831. }
  832. input.ReadMessage(ErrorManager);
  833. break;
  834. }
  835. case 34: {
  836. allocatedParkspaceInfoEx_.AddEntriesFrom(input, _repeated_allocatedParkspaceInfoEx_codec);
  837. break;
  838. }
  839. case 40: {
  840. CarType = (global::Message.Car_type) input.ReadEnum();
  841. break;
  842. }
  843. }
  844. }
  845. #endif
  846. }
  847. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  848. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  849. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  850. void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
  851. uint tag;
  852. while ((tag = input.ReadTag()) != 0) {
  853. switch(tag) {
  854. default:
  855. _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
  856. break;
  857. case 10: {
  858. if (baseInfo_ == null) {
  859. BaseInfo = new global::Message.Base_info();
  860. }
  861. input.ReadMessage(BaseInfo);
  862. break;
  863. }
  864. case 18: {
  865. CommandKey = input.ReadString();
  866. break;
  867. }
  868. case 26: {
  869. if (errorManager_ == null) {
  870. ErrorManager = new global::Message.Error_manager();
  871. }
  872. input.ReadMessage(ErrorManager);
  873. break;
  874. }
  875. case 34: {
  876. allocatedParkspaceInfoEx_.AddEntriesFrom(ref input, _repeated_allocatedParkspaceInfoEx_codec);
  877. break;
  878. }
  879. case 40: {
  880. CarType = (global::Message.Car_type) input.ReadEnum();
  881. break;
  882. }
  883. }
  884. }
  885. }
  886. #endif
  887. }
  888. /// <summary>
  889. ///2.查询车辆位置请求(根据车辆唯一标识码查询)
  890. /// </summary>
  891. public sealed partial class Parkspace_search_request_msg : pb::IMessage<Parkspace_search_request_msg>
  892. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  893. , pb::IBufferMessage
  894. #endif
  895. {
  896. private static readonly pb::MessageParser<Parkspace_search_request_msg> _parser = new pb::MessageParser<Parkspace_search_request_msg>(() => new Parkspace_search_request_msg());
  897. private pb::UnknownFieldSet _unknownFields;
  898. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  899. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  900. public static pb::MessageParser<Parkspace_search_request_msg> Parser { get { return _parser; } }
  901. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  902. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  903. public static pbr::MessageDescriptor Descriptor {
  904. get { return global::Message.ParkspaceAllocationMessageReflection.Descriptor.MessageTypes[2]; }
  905. }
  906. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  907. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  908. pbr::MessageDescriptor pb::IMessage.Descriptor {
  909. get { return Descriptor; }
  910. }
  911. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  912. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  913. public Parkspace_search_request_msg() {
  914. OnConstruction();
  915. }
  916. partial void OnConstruction();
  917. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  918. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  919. public Parkspace_search_request_msg(Parkspace_search_request_msg other) : this() {
  920. baseInfo_ = other.baseInfo_ != null ? other.baseInfo_.Clone() : null;
  921. commandKey_ = other.commandKey_;
  922. carInfo_ = other.carInfo_ != null ? other.carInfo_.Clone() : null;
  923. _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
  924. }
  925. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  926. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  927. public Parkspace_search_request_msg Clone() {
  928. return new Parkspace_search_request_msg(this);
  929. }
  930. /// <summary>Field number for the "base_info" field.</summary>
  931. public const int BaseInfoFieldNumber = 1;
  932. private global::Message.Base_info baseInfo_;
  933. /// <summary>
  934. ///消息类型
  935. /// </summary>
  936. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  937. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  938. public global::Message.Base_info BaseInfo {
  939. get { return baseInfo_; }
  940. set {
  941. baseInfo_ = value;
  942. }
  943. }
  944. /// <summary>Field number for the "command_key" field.</summary>
  945. public const int CommandKeyFieldNumber = 2;
  946. private readonly static string CommandKeyDefaultValue = "";
  947. private string commandKey_;
  948. /// <summary>
  949. ///指令唯一标识符id
  950. /// </summary>
  951. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  952. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  953. public string CommandKey {
  954. get { return commandKey_ ?? CommandKeyDefaultValue; }
  955. set {
  956. commandKey_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
  957. }
  958. }
  959. /// <summary>Gets whether the "command_key" field is set</summary>
  960. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  961. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  962. public bool HasCommandKey {
  963. get { return commandKey_ != null; }
  964. }
  965. /// <summary>Clears the value of the "command_key" field</summary>
  966. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  967. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  968. public void ClearCommandKey() {
  969. commandKey_ = null;
  970. }
  971. /// <summary>Field number for the "car_info" field.</summary>
  972. public const int CarInfoFieldNumber = 3;
  973. private global::Message.Car_info carInfo_;
  974. /// <summary>
  975. ///车辆凭证或号牌
  976. /// </summary>
  977. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  978. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  979. public global::Message.Car_info CarInfo {
  980. get { return carInfo_; }
  981. set {
  982. carInfo_ = value;
  983. }
  984. }
  985. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  986. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  987. public override bool Equals(object other) {
  988. return Equals(other as Parkspace_search_request_msg);
  989. }
  990. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  991. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  992. public bool Equals(Parkspace_search_request_msg other) {
  993. if (ReferenceEquals(other, null)) {
  994. return false;
  995. }
  996. if (ReferenceEquals(other, this)) {
  997. return true;
  998. }
  999. if (!object.Equals(BaseInfo, other.BaseInfo)) return false;
  1000. if (CommandKey != other.CommandKey) return false;
  1001. if (!object.Equals(CarInfo, other.CarInfo)) return false;
  1002. return Equals(_unknownFields, other._unknownFields);
  1003. }
  1004. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1005. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1006. public override int GetHashCode() {
  1007. int hash = 1;
  1008. if (baseInfo_ != null) hash ^= BaseInfo.GetHashCode();
  1009. if (HasCommandKey) hash ^= CommandKey.GetHashCode();
  1010. if (carInfo_ != null) hash ^= CarInfo.GetHashCode();
  1011. if (_unknownFields != null) {
  1012. hash ^= _unknownFields.GetHashCode();
  1013. }
  1014. return hash;
  1015. }
  1016. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1017. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1018. public override string ToString() {
  1019. return pb::JsonFormatter.ToDiagnosticString(this);
  1020. }
  1021. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1022. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1023. public void WriteTo(pb::CodedOutputStream output) {
  1024. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  1025. output.WriteRawMessage(this);
  1026. #else
  1027. if (baseInfo_ != null) {
  1028. output.WriteRawTag(10);
  1029. output.WriteMessage(BaseInfo);
  1030. }
  1031. if (HasCommandKey) {
  1032. output.WriteRawTag(18);
  1033. output.WriteString(CommandKey);
  1034. }
  1035. if (carInfo_ != null) {
  1036. output.WriteRawTag(26);
  1037. output.WriteMessage(CarInfo);
  1038. }
  1039. if (_unknownFields != null) {
  1040. _unknownFields.WriteTo(output);
  1041. }
  1042. #endif
  1043. }
  1044. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  1045. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1046. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1047. void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
  1048. if (baseInfo_ != null) {
  1049. output.WriteRawTag(10);
  1050. output.WriteMessage(BaseInfo);
  1051. }
  1052. if (HasCommandKey) {
  1053. output.WriteRawTag(18);
  1054. output.WriteString(CommandKey);
  1055. }
  1056. if (carInfo_ != null) {
  1057. output.WriteRawTag(26);
  1058. output.WriteMessage(CarInfo);
  1059. }
  1060. if (_unknownFields != null) {
  1061. _unknownFields.WriteTo(ref output);
  1062. }
  1063. }
  1064. #endif
  1065. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1066. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1067. public int CalculateSize() {
  1068. int size = 0;
  1069. if (baseInfo_ != null) {
  1070. size += 1 + pb::CodedOutputStream.ComputeMessageSize(BaseInfo);
  1071. }
  1072. if (HasCommandKey) {
  1073. size += 1 + pb::CodedOutputStream.ComputeStringSize(CommandKey);
  1074. }
  1075. if (carInfo_ != null) {
  1076. size += 1 + pb::CodedOutputStream.ComputeMessageSize(CarInfo);
  1077. }
  1078. if (_unknownFields != null) {
  1079. size += _unknownFields.CalculateSize();
  1080. }
  1081. return size;
  1082. }
  1083. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1084. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1085. public void MergeFrom(Parkspace_search_request_msg other) {
  1086. if (other == null) {
  1087. return;
  1088. }
  1089. if (other.baseInfo_ != null) {
  1090. if (baseInfo_ == null) {
  1091. BaseInfo = new global::Message.Base_info();
  1092. }
  1093. BaseInfo.MergeFrom(other.BaseInfo);
  1094. }
  1095. if (other.HasCommandKey) {
  1096. CommandKey = other.CommandKey;
  1097. }
  1098. if (other.carInfo_ != null) {
  1099. if (carInfo_ == null) {
  1100. CarInfo = new global::Message.Car_info();
  1101. }
  1102. CarInfo.MergeFrom(other.CarInfo);
  1103. }
  1104. _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
  1105. }
  1106. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1107. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1108. public void MergeFrom(pb::CodedInputStream input) {
  1109. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  1110. input.ReadRawMessage(this);
  1111. #else
  1112. uint tag;
  1113. while ((tag = input.ReadTag()) != 0) {
  1114. switch(tag) {
  1115. default:
  1116. _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
  1117. break;
  1118. case 10: {
  1119. if (baseInfo_ == null) {
  1120. BaseInfo = new global::Message.Base_info();
  1121. }
  1122. input.ReadMessage(BaseInfo);
  1123. break;
  1124. }
  1125. case 18: {
  1126. CommandKey = input.ReadString();
  1127. break;
  1128. }
  1129. case 26: {
  1130. if (carInfo_ == null) {
  1131. CarInfo = new global::Message.Car_info();
  1132. }
  1133. input.ReadMessage(CarInfo);
  1134. break;
  1135. }
  1136. }
  1137. }
  1138. #endif
  1139. }
  1140. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  1141. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1142. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1143. void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
  1144. uint tag;
  1145. while ((tag = input.ReadTag()) != 0) {
  1146. switch(tag) {
  1147. default:
  1148. _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
  1149. break;
  1150. case 10: {
  1151. if (baseInfo_ == null) {
  1152. BaseInfo = new global::Message.Base_info();
  1153. }
  1154. input.ReadMessage(BaseInfo);
  1155. break;
  1156. }
  1157. case 18: {
  1158. CommandKey = input.ReadString();
  1159. break;
  1160. }
  1161. case 26: {
  1162. if (carInfo_ == null) {
  1163. CarInfo = new global::Message.Car_info();
  1164. }
  1165. input.ReadMessage(CarInfo);
  1166. break;
  1167. }
  1168. }
  1169. }
  1170. }
  1171. #endif
  1172. }
  1173. /// <summary>
  1174. ///查询车辆位置反馈
  1175. /// </summary>
  1176. public sealed partial class Parkspace_search_response_msg : pb::IMessage<Parkspace_search_response_msg>
  1177. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  1178. , pb::IBufferMessage
  1179. #endif
  1180. {
  1181. private static readonly pb::MessageParser<Parkspace_search_response_msg> _parser = new pb::MessageParser<Parkspace_search_response_msg>(() => new Parkspace_search_response_msg());
  1182. private pb::UnknownFieldSet _unknownFields;
  1183. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1184. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1185. public static pb::MessageParser<Parkspace_search_response_msg> Parser { get { return _parser; } }
  1186. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1187. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1188. public static pbr::MessageDescriptor Descriptor {
  1189. get { return global::Message.ParkspaceAllocationMessageReflection.Descriptor.MessageTypes[3]; }
  1190. }
  1191. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1192. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1193. pbr::MessageDescriptor pb::IMessage.Descriptor {
  1194. get { return Descriptor; }
  1195. }
  1196. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1197. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1198. public Parkspace_search_response_msg() {
  1199. OnConstruction();
  1200. }
  1201. partial void OnConstruction();
  1202. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1203. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1204. public Parkspace_search_response_msg(Parkspace_search_response_msg other) : this() {
  1205. baseInfo_ = other.baseInfo_ != null ? other.baseInfo_.Clone() : null;
  1206. commandKey_ = other.commandKey_;
  1207. errorManager_ = other.errorManager_ != null ? other.errorManager_.Clone() : null;
  1208. queryParkspaceInfoEx_ = other.queryParkspaceInfoEx_.Clone();
  1209. _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
  1210. }
  1211. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1212. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1213. public Parkspace_search_response_msg Clone() {
  1214. return new Parkspace_search_response_msg(this);
  1215. }
  1216. /// <summary>Field number for the "base_info" field.</summary>
  1217. public const int BaseInfoFieldNumber = 1;
  1218. private global::Message.Base_info baseInfo_;
  1219. /// <summary>
  1220. ///消息类型
  1221. /// </summary>
  1222. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1223. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1224. public global::Message.Base_info BaseInfo {
  1225. get { return baseInfo_; }
  1226. set {
  1227. baseInfo_ = value;
  1228. }
  1229. }
  1230. /// <summary>Field number for the "command_key" field.</summary>
  1231. public const int CommandKeyFieldNumber = 2;
  1232. private readonly static string CommandKeyDefaultValue = "";
  1233. private string commandKey_;
  1234. /// <summary>
  1235. ///指令唯一标识符id
  1236. /// </summary>
  1237. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1238. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1239. public string CommandKey {
  1240. get { return commandKey_ ?? CommandKeyDefaultValue; }
  1241. set {
  1242. commandKey_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
  1243. }
  1244. }
  1245. /// <summary>Gets whether the "command_key" field is set</summary>
  1246. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1247. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1248. public bool HasCommandKey {
  1249. get { return commandKey_ != null; }
  1250. }
  1251. /// <summary>Clears the value of the "command_key" field</summary>
  1252. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1253. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1254. public void ClearCommandKey() {
  1255. commandKey_ = null;
  1256. }
  1257. /// <summary>Field number for the "error_manager" field.</summary>
  1258. public const int ErrorManagerFieldNumber = 3;
  1259. private global::Message.Error_manager errorManager_;
  1260. /// <summary>
  1261. ///分配成功与否标志
  1262. /// </summary>
  1263. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1264. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1265. public global::Message.Error_manager ErrorManager {
  1266. get { return errorManager_; }
  1267. set {
  1268. errorManager_ = value;
  1269. }
  1270. }
  1271. /// <summary>Field number for the "query_parkspace_info_ex" field.</summary>
  1272. public const int QueryParkspaceInfoExFieldNumber = 4;
  1273. private static readonly pb::FieldCodec<global::Message.Parkspace_info> _repeated_queryParkspaceInfoEx_codec
  1274. = pb::FieldCodec.ForMessage(34, global::Message.Parkspace_info.Parser);
  1275. private readonly pbc::RepeatedField<global::Message.Parkspace_info> queryParkspaceInfoEx_ = new pbc::RepeatedField<global::Message.Parkspace_info>();
  1276. /// <summary>
  1277. ///待查询车辆存放位置
  1278. /// </summary>
  1279. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1280. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1281. public pbc::RepeatedField<global::Message.Parkspace_info> QueryParkspaceInfoEx {
  1282. get { return queryParkspaceInfoEx_; }
  1283. }
  1284. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1285. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1286. public override bool Equals(object other) {
  1287. return Equals(other as Parkspace_search_response_msg);
  1288. }
  1289. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1290. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1291. public bool Equals(Parkspace_search_response_msg other) {
  1292. if (ReferenceEquals(other, null)) {
  1293. return false;
  1294. }
  1295. if (ReferenceEquals(other, this)) {
  1296. return true;
  1297. }
  1298. if (!object.Equals(BaseInfo, other.BaseInfo)) return false;
  1299. if (CommandKey != other.CommandKey) return false;
  1300. if (!object.Equals(ErrorManager, other.ErrorManager)) return false;
  1301. if(!queryParkspaceInfoEx_.Equals(other.queryParkspaceInfoEx_)) return false;
  1302. return Equals(_unknownFields, other._unknownFields);
  1303. }
  1304. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1305. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1306. public override int GetHashCode() {
  1307. int hash = 1;
  1308. if (baseInfo_ != null) hash ^= BaseInfo.GetHashCode();
  1309. if (HasCommandKey) hash ^= CommandKey.GetHashCode();
  1310. if (errorManager_ != null) hash ^= ErrorManager.GetHashCode();
  1311. hash ^= queryParkspaceInfoEx_.GetHashCode();
  1312. if (_unknownFields != null) {
  1313. hash ^= _unknownFields.GetHashCode();
  1314. }
  1315. return hash;
  1316. }
  1317. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1318. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1319. public override string ToString() {
  1320. return pb::JsonFormatter.ToDiagnosticString(this);
  1321. }
  1322. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1323. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1324. public void WriteTo(pb::CodedOutputStream output) {
  1325. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  1326. output.WriteRawMessage(this);
  1327. #else
  1328. if (baseInfo_ != null) {
  1329. output.WriteRawTag(10);
  1330. output.WriteMessage(BaseInfo);
  1331. }
  1332. if (HasCommandKey) {
  1333. output.WriteRawTag(18);
  1334. output.WriteString(CommandKey);
  1335. }
  1336. if (errorManager_ != null) {
  1337. output.WriteRawTag(26);
  1338. output.WriteMessage(ErrorManager);
  1339. }
  1340. queryParkspaceInfoEx_.WriteTo(output, _repeated_queryParkspaceInfoEx_codec);
  1341. if (_unknownFields != null) {
  1342. _unknownFields.WriteTo(output);
  1343. }
  1344. #endif
  1345. }
  1346. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  1347. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1348. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1349. void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
  1350. if (baseInfo_ != null) {
  1351. output.WriteRawTag(10);
  1352. output.WriteMessage(BaseInfo);
  1353. }
  1354. if (HasCommandKey) {
  1355. output.WriteRawTag(18);
  1356. output.WriteString(CommandKey);
  1357. }
  1358. if (errorManager_ != null) {
  1359. output.WriteRawTag(26);
  1360. output.WriteMessage(ErrorManager);
  1361. }
  1362. queryParkspaceInfoEx_.WriteTo(ref output, _repeated_queryParkspaceInfoEx_codec);
  1363. if (_unknownFields != null) {
  1364. _unknownFields.WriteTo(ref output);
  1365. }
  1366. }
  1367. #endif
  1368. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1369. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1370. public int CalculateSize() {
  1371. int size = 0;
  1372. if (baseInfo_ != null) {
  1373. size += 1 + pb::CodedOutputStream.ComputeMessageSize(BaseInfo);
  1374. }
  1375. if (HasCommandKey) {
  1376. size += 1 + pb::CodedOutputStream.ComputeStringSize(CommandKey);
  1377. }
  1378. if (errorManager_ != null) {
  1379. size += 1 + pb::CodedOutputStream.ComputeMessageSize(ErrorManager);
  1380. }
  1381. size += queryParkspaceInfoEx_.CalculateSize(_repeated_queryParkspaceInfoEx_codec);
  1382. if (_unknownFields != null) {
  1383. size += _unknownFields.CalculateSize();
  1384. }
  1385. return size;
  1386. }
  1387. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1388. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1389. public void MergeFrom(Parkspace_search_response_msg other) {
  1390. if (other == null) {
  1391. return;
  1392. }
  1393. if (other.baseInfo_ != null) {
  1394. if (baseInfo_ == null) {
  1395. BaseInfo = new global::Message.Base_info();
  1396. }
  1397. BaseInfo.MergeFrom(other.BaseInfo);
  1398. }
  1399. if (other.HasCommandKey) {
  1400. CommandKey = other.CommandKey;
  1401. }
  1402. if (other.errorManager_ != null) {
  1403. if (errorManager_ == null) {
  1404. ErrorManager = new global::Message.Error_manager();
  1405. }
  1406. ErrorManager.MergeFrom(other.ErrorManager);
  1407. }
  1408. queryParkspaceInfoEx_.Add(other.queryParkspaceInfoEx_);
  1409. _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
  1410. }
  1411. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1412. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1413. public void MergeFrom(pb::CodedInputStream input) {
  1414. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  1415. input.ReadRawMessage(this);
  1416. #else
  1417. uint tag;
  1418. while ((tag = input.ReadTag()) != 0) {
  1419. switch(tag) {
  1420. default:
  1421. _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
  1422. break;
  1423. case 10: {
  1424. if (baseInfo_ == null) {
  1425. BaseInfo = new global::Message.Base_info();
  1426. }
  1427. input.ReadMessage(BaseInfo);
  1428. break;
  1429. }
  1430. case 18: {
  1431. CommandKey = input.ReadString();
  1432. break;
  1433. }
  1434. case 26: {
  1435. if (errorManager_ == null) {
  1436. ErrorManager = new global::Message.Error_manager();
  1437. }
  1438. input.ReadMessage(ErrorManager);
  1439. break;
  1440. }
  1441. case 34: {
  1442. queryParkspaceInfoEx_.AddEntriesFrom(input, _repeated_queryParkspaceInfoEx_codec);
  1443. break;
  1444. }
  1445. }
  1446. }
  1447. #endif
  1448. }
  1449. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  1450. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1451. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1452. void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
  1453. uint tag;
  1454. while ((tag = input.ReadTag()) != 0) {
  1455. switch(tag) {
  1456. default:
  1457. _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
  1458. break;
  1459. case 10: {
  1460. if (baseInfo_ == null) {
  1461. BaseInfo = new global::Message.Base_info();
  1462. }
  1463. input.ReadMessage(BaseInfo);
  1464. break;
  1465. }
  1466. case 18: {
  1467. CommandKey = input.ReadString();
  1468. break;
  1469. }
  1470. case 26: {
  1471. if (errorManager_ == null) {
  1472. ErrorManager = new global::Message.Error_manager();
  1473. }
  1474. input.ReadMessage(ErrorManager);
  1475. break;
  1476. }
  1477. case 34: {
  1478. queryParkspaceInfoEx_.AddEntriesFrom(ref input, _repeated_queryParkspaceInfoEx_codec);
  1479. break;
  1480. }
  1481. }
  1482. }
  1483. }
  1484. #endif
  1485. }
  1486. /// <summary>
  1487. ///手动查询车辆位置请求(根据车牌号查询)
  1488. /// </summary>
  1489. public sealed partial class Parkspace_manual_search_request_msg : pb::IMessage<Parkspace_manual_search_request_msg>
  1490. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  1491. , pb::IBufferMessage
  1492. #endif
  1493. {
  1494. private static readonly pb::MessageParser<Parkspace_manual_search_request_msg> _parser = new pb::MessageParser<Parkspace_manual_search_request_msg>(() => new Parkspace_manual_search_request_msg());
  1495. private pb::UnknownFieldSet _unknownFields;
  1496. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1497. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1498. public static pb::MessageParser<Parkspace_manual_search_request_msg> Parser { get { return _parser; } }
  1499. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1500. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1501. public static pbr::MessageDescriptor Descriptor {
  1502. get { return global::Message.ParkspaceAllocationMessageReflection.Descriptor.MessageTypes[4]; }
  1503. }
  1504. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1505. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1506. pbr::MessageDescriptor pb::IMessage.Descriptor {
  1507. get { return Descriptor; }
  1508. }
  1509. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1510. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1511. public Parkspace_manual_search_request_msg() {
  1512. OnConstruction();
  1513. }
  1514. partial void OnConstruction();
  1515. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1516. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1517. public Parkspace_manual_search_request_msg(Parkspace_manual_search_request_msg other) : this() {
  1518. baseInfo_ = other.baseInfo_ != null ? other.baseInfo_.Clone() : null;
  1519. commandKey_ = other.commandKey_;
  1520. carInfo_ = other.carInfo_ != null ? other.carInfo_.Clone() : null;
  1521. _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
  1522. }
  1523. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1524. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1525. public Parkspace_manual_search_request_msg Clone() {
  1526. return new Parkspace_manual_search_request_msg(this);
  1527. }
  1528. /// <summary>Field number for the "base_info" field.</summary>
  1529. public const int BaseInfoFieldNumber = 1;
  1530. private global::Message.Base_info baseInfo_;
  1531. /// <summary>
  1532. ///消息类型
  1533. /// </summary>
  1534. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1535. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1536. public global::Message.Base_info BaseInfo {
  1537. get { return baseInfo_; }
  1538. set {
  1539. baseInfo_ = value;
  1540. }
  1541. }
  1542. /// <summary>Field number for the "command_key" field.</summary>
  1543. public const int CommandKeyFieldNumber = 2;
  1544. private readonly static string CommandKeyDefaultValue = "";
  1545. private string commandKey_;
  1546. /// <summary>
  1547. ///指令唯一标识符id
  1548. /// </summary>
  1549. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1550. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1551. public string CommandKey {
  1552. get { return commandKey_ ?? CommandKeyDefaultValue; }
  1553. set {
  1554. commandKey_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
  1555. }
  1556. }
  1557. /// <summary>Gets whether the "command_key" field is set</summary>
  1558. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1559. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1560. public bool HasCommandKey {
  1561. get { return commandKey_ != null; }
  1562. }
  1563. /// <summary>Clears the value of the "command_key" field</summary>
  1564. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1565. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1566. public void ClearCommandKey() {
  1567. commandKey_ = null;
  1568. }
  1569. /// <summary>Field number for the "car_info" field.</summary>
  1570. public const int CarInfoFieldNumber = 3;
  1571. private global::Message.Car_info carInfo_;
  1572. /// <summary>
  1573. ///车辆凭证或号牌
  1574. /// </summary>
  1575. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1576. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1577. public global::Message.Car_info CarInfo {
  1578. get { return carInfo_; }
  1579. set {
  1580. carInfo_ = value;
  1581. }
  1582. }
  1583. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1584. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1585. public override bool Equals(object other) {
  1586. return Equals(other as Parkspace_manual_search_request_msg);
  1587. }
  1588. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1589. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1590. public bool Equals(Parkspace_manual_search_request_msg other) {
  1591. if (ReferenceEquals(other, null)) {
  1592. return false;
  1593. }
  1594. if (ReferenceEquals(other, this)) {
  1595. return true;
  1596. }
  1597. if (!object.Equals(BaseInfo, other.BaseInfo)) return false;
  1598. if (CommandKey != other.CommandKey) return false;
  1599. if (!object.Equals(CarInfo, other.CarInfo)) return false;
  1600. return Equals(_unknownFields, other._unknownFields);
  1601. }
  1602. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1603. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1604. public override int GetHashCode() {
  1605. int hash = 1;
  1606. if (baseInfo_ != null) hash ^= BaseInfo.GetHashCode();
  1607. if (HasCommandKey) hash ^= CommandKey.GetHashCode();
  1608. if (carInfo_ != null) hash ^= CarInfo.GetHashCode();
  1609. if (_unknownFields != null) {
  1610. hash ^= _unknownFields.GetHashCode();
  1611. }
  1612. return hash;
  1613. }
  1614. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1615. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1616. public override string ToString() {
  1617. return pb::JsonFormatter.ToDiagnosticString(this);
  1618. }
  1619. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1620. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1621. public void WriteTo(pb::CodedOutputStream output) {
  1622. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  1623. output.WriteRawMessage(this);
  1624. #else
  1625. if (baseInfo_ != null) {
  1626. output.WriteRawTag(10);
  1627. output.WriteMessage(BaseInfo);
  1628. }
  1629. if (HasCommandKey) {
  1630. output.WriteRawTag(18);
  1631. output.WriteString(CommandKey);
  1632. }
  1633. if (carInfo_ != null) {
  1634. output.WriteRawTag(26);
  1635. output.WriteMessage(CarInfo);
  1636. }
  1637. if (_unknownFields != null) {
  1638. _unknownFields.WriteTo(output);
  1639. }
  1640. #endif
  1641. }
  1642. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  1643. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1644. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1645. void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
  1646. if (baseInfo_ != null) {
  1647. output.WriteRawTag(10);
  1648. output.WriteMessage(BaseInfo);
  1649. }
  1650. if (HasCommandKey) {
  1651. output.WriteRawTag(18);
  1652. output.WriteString(CommandKey);
  1653. }
  1654. if (carInfo_ != null) {
  1655. output.WriteRawTag(26);
  1656. output.WriteMessage(CarInfo);
  1657. }
  1658. if (_unknownFields != null) {
  1659. _unknownFields.WriteTo(ref output);
  1660. }
  1661. }
  1662. #endif
  1663. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1664. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1665. public int CalculateSize() {
  1666. int size = 0;
  1667. if (baseInfo_ != null) {
  1668. size += 1 + pb::CodedOutputStream.ComputeMessageSize(BaseInfo);
  1669. }
  1670. if (HasCommandKey) {
  1671. size += 1 + pb::CodedOutputStream.ComputeStringSize(CommandKey);
  1672. }
  1673. if (carInfo_ != null) {
  1674. size += 1 + pb::CodedOutputStream.ComputeMessageSize(CarInfo);
  1675. }
  1676. if (_unknownFields != null) {
  1677. size += _unknownFields.CalculateSize();
  1678. }
  1679. return size;
  1680. }
  1681. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1682. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1683. public void MergeFrom(Parkspace_manual_search_request_msg other) {
  1684. if (other == null) {
  1685. return;
  1686. }
  1687. if (other.baseInfo_ != null) {
  1688. if (baseInfo_ == null) {
  1689. BaseInfo = new global::Message.Base_info();
  1690. }
  1691. BaseInfo.MergeFrom(other.BaseInfo);
  1692. }
  1693. if (other.HasCommandKey) {
  1694. CommandKey = other.CommandKey;
  1695. }
  1696. if (other.carInfo_ != null) {
  1697. if (carInfo_ == null) {
  1698. CarInfo = new global::Message.Car_info();
  1699. }
  1700. CarInfo.MergeFrom(other.CarInfo);
  1701. }
  1702. _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
  1703. }
  1704. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1705. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1706. public void MergeFrom(pb::CodedInputStream input) {
  1707. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  1708. input.ReadRawMessage(this);
  1709. #else
  1710. uint tag;
  1711. while ((tag = input.ReadTag()) != 0) {
  1712. switch(tag) {
  1713. default:
  1714. _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
  1715. break;
  1716. case 10: {
  1717. if (baseInfo_ == null) {
  1718. BaseInfo = new global::Message.Base_info();
  1719. }
  1720. input.ReadMessage(BaseInfo);
  1721. break;
  1722. }
  1723. case 18: {
  1724. CommandKey = input.ReadString();
  1725. break;
  1726. }
  1727. case 26: {
  1728. if (carInfo_ == null) {
  1729. CarInfo = new global::Message.Car_info();
  1730. }
  1731. input.ReadMessage(CarInfo);
  1732. break;
  1733. }
  1734. }
  1735. }
  1736. #endif
  1737. }
  1738. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  1739. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1740. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1741. void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
  1742. uint tag;
  1743. while ((tag = input.ReadTag()) != 0) {
  1744. switch(tag) {
  1745. default:
  1746. _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
  1747. break;
  1748. case 10: {
  1749. if (baseInfo_ == null) {
  1750. BaseInfo = new global::Message.Base_info();
  1751. }
  1752. input.ReadMessage(BaseInfo);
  1753. break;
  1754. }
  1755. case 18: {
  1756. CommandKey = input.ReadString();
  1757. break;
  1758. }
  1759. case 26: {
  1760. if (carInfo_ == null) {
  1761. CarInfo = new global::Message.Car_info();
  1762. }
  1763. input.ReadMessage(CarInfo);
  1764. break;
  1765. }
  1766. }
  1767. }
  1768. }
  1769. #endif
  1770. }
  1771. /// <summary>
  1772. ///手动查询车辆位置反馈
  1773. /// </summary>
  1774. public sealed partial class Parkspace_manual_search_response_msg : pb::IMessage<Parkspace_manual_search_response_msg>
  1775. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  1776. , pb::IBufferMessage
  1777. #endif
  1778. {
  1779. private static readonly pb::MessageParser<Parkspace_manual_search_response_msg> _parser = new pb::MessageParser<Parkspace_manual_search_response_msg>(() => new Parkspace_manual_search_response_msg());
  1780. private pb::UnknownFieldSet _unknownFields;
  1781. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1782. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1783. public static pb::MessageParser<Parkspace_manual_search_response_msg> Parser { get { return _parser; } }
  1784. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1785. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1786. public static pbr::MessageDescriptor Descriptor {
  1787. get { return global::Message.ParkspaceAllocationMessageReflection.Descriptor.MessageTypes[5]; }
  1788. }
  1789. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1790. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1791. pbr::MessageDescriptor pb::IMessage.Descriptor {
  1792. get { return Descriptor; }
  1793. }
  1794. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1795. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1796. public Parkspace_manual_search_response_msg() {
  1797. OnConstruction();
  1798. }
  1799. partial void OnConstruction();
  1800. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1801. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1802. public Parkspace_manual_search_response_msg(Parkspace_manual_search_response_msg other) : this() {
  1803. baseInfo_ = other.baseInfo_ != null ? other.baseInfo_.Clone() : null;
  1804. commandKey_ = other.commandKey_;
  1805. errorManager_ = other.errorManager_ != null ? other.errorManager_.Clone() : null;
  1806. queryParkspaceInfoEx_ = other.queryParkspaceInfoEx_.Clone();
  1807. _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
  1808. }
  1809. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1810. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1811. public Parkspace_manual_search_response_msg Clone() {
  1812. return new Parkspace_manual_search_response_msg(this);
  1813. }
  1814. /// <summary>Field number for the "base_info" field.</summary>
  1815. public const int BaseInfoFieldNumber = 1;
  1816. private global::Message.Base_info baseInfo_;
  1817. /// <summary>
  1818. ///消息类型
  1819. /// </summary>
  1820. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1821. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1822. public global::Message.Base_info BaseInfo {
  1823. get { return baseInfo_; }
  1824. set {
  1825. baseInfo_ = value;
  1826. }
  1827. }
  1828. /// <summary>Field number for the "command_key" field.</summary>
  1829. public const int CommandKeyFieldNumber = 2;
  1830. private readonly static string CommandKeyDefaultValue = "";
  1831. private string commandKey_;
  1832. /// <summary>
  1833. ///指令唯一标识符id
  1834. /// </summary>
  1835. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1836. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1837. public string CommandKey {
  1838. get { return commandKey_ ?? CommandKeyDefaultValue; }
  1839. set {
  1840. commandKey_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
  1841. }
  1842. }
  1843. /// <summary>Gets whether the "command_key" field is set</summary>
  1844. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1845. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1846. public bool HasCommandKey {
  1847. get { return commandKey_ != null; }
  1848. }
  1849. /// <summary>Clears the value of the "command_key" field</summary>
  1850. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1851. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1852. public void ClearCommandKey() {
  1853. commandKey_ = null;
  1854. }
  1855. /// <summary>Field number for the "error_manager" field.</summary>
  1856. public const int ErrorManagerFieldNumber = 3;
  1857. private global::Message.Error_manager errorManager_;
  1858. /// <summary>
  1859. ///分配成功与否标志
  1860. /// </summary>
  1861. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1862. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1863. public global::Message.Error_manager ErrorManager {
  1864. get { return errorManager_; }
  1865. set {
  1866. errorManager_ = value;
  1867. }
  1868. }
  1869. /// <summary>Field number for the "query_parkspace_info_ex" field.</summary>
  1870. public const int QueryParkspaceInfoExFieldNumber = 4;
  1871. private static readonly pb::FieldCodec<global::Message.Parkspace_info> _repeated_queryParkspaceInfoEx_codec
  1872. = pb::FieldCodec.ForMessage(34, global::Message.Parkspace_info.Parser);
  1873. private readonly pbc::RepeatedField<global::Message.Parkspace_info> queryParkspaceInfoEx_ = new pbc::RepeatedField<global::Message.Parkspace_info>();
  1874. /// <summary>
  1875. ///待查询车辆存放位置
  1876. /// </summary>
  1877. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1878. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1879. public pbc::RepeatedField<global::Message.Parkspace_info> QueryParkspaceInfoEx {
  1880. get { return queryParkspaceInfoEx_; }
  1881. }
  1882. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1883. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1884. public override bool Equals(object other) {
  1885. return Equals(other as Parkspace_manual_search_response_msg);
  1886. }
  1887. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1888. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1889. public bool Equals(Parkspace_manual_search_response_msg other) {
  1890. if (ReferenceEquals(other, null)) {
  1891. return false;
  1892. }
  1893. if (ReferenceEquals(other, this)) {
  1894. return true;
  1895. }
  1896. if (!object.Equals(BaseInfo, other.BaseInfo)) return false;
  1897. if (CommandKey != other.CommandKey) return false;
  1898. if (!object.Equals(ErrorManager, other.ErrorManager)) return false;
  1899. if(!queryParkspaceInfoEx_.Equals(other.queryParkspaceInfoEx_)) return false;
  1900. return Equals(_unknownFields, other._unknownFields);
  1901. }
  1902. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1903. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1904. public override int GetHashCode() {
  1905. int hash = 1;
  1906. if (baseInfo_ != null) hash ^= BaseInfo.GetHashCode();
  1907. if (HasCommandKey) hash ^= CommandKey.GetHashCode();
  1908. if (errorManager_ != null) hash ^= ErrorManager.GetHashCode();
  1909. hash ^= queryParkspaceInfoEx_.GetHashCode();
  1910. if (_unknownFields != null) {
  1911. hash ^= _unknownFields.GetHashCode();
  1912. }
  1913. return hash;
  1914. }
  1915. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1916. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1917. public override string ToString() {
  1918. return pb::JsonFormatter.ToDiagnosticString(this);
  1919. }
  1920. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1921. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1922. public void WriteTo(pb::CodedOutputStream output) {
  1923. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  1924. output.WriteRawMessage(this);
  1925. #else
  1926. if (baseInfo_ != null) {
  1927. output.WriteRawTag(10);
  1928. output.WriteMessage(BaseInfo);
  1929. }
  1930. if (HasCommandKey) {
  1931. output.WriteRawTag(18);
  1932. output.WriteString(CommandKey);
  1933. }
  1934. if (errorManager_ != null) {
  1935. output.WriteRawTag(26);
  1936. output.WriteMessage(ErrorManager);
  1937. }
  1938. queryParkspaceInfoEx_.WriteTo(output, _repeated_queryParkspaceInfoEx_codec);
  1939. if (_unknownFields != null) {
  1940. _unknownFields.WriteTo(output);
  1941. }
  1942. #endif
  1943. }
  1944. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  1945. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1946. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1947. void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
  1948. if (baseInfo_ != null) {
  1949. output.WriteRawTag(10);
  1950. output.WriteMessage(BaseInfo);
  1951. }
  1952. if (HasCommandKey) {
  1953. output.WriteRawTag(18);
  1954. output.WriteString(CommandKey);
  1955. }
  1956. if (errorManager_ != null) {
  1957. output.WriteRawTag(26);
  1958. output.WriteMessage(ErrorManager);
  1959. }
  1960. queryParkspaceInfoEx_.WriteTo(ref output, _repeated_queryParkspaceInfoEx_codec);
  1961. if (_unknownFields != null) {
  1962. _unknownFields.WriteTo(ref output);
  1963. }
  1964. }
  1965. #endif
  1966. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1967. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1968. public int CalculateSize() {
  1969. int size = 0;
  1970. if (baseInfo_ != null) {
  1971. size += 1 + pb::CodedOutputStream.ComputeMessageSize(BaseInfo);
  1972. }
  1973. if (HasCommandKey) {
  1974. size += 1 + pb::CodedOutputStream.ComputeStringSize(CommandKey);
  1975. }
  1976. if (errorManager_ != null) {
  1977. size += 1 + pb::CodedOutputStream.ComputeMessageSize(ErrorManager);
  1978. }
  1979. size += queryParkspaceInfoEx_.CalculateSize(_repeated_queryParkspaceInfoEx_codec);
  1980. if (_unknownFields != null) {
  1981. size += _unknownFields.CalculateSize();
  1982. }
  1983. return size;
  1984. }
  1985. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1986. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1987. public void MergeFrom(Parkspace_manual_search_response_msg other) {
  1988. if (other == null) {
  1989. return;
  1990. }
  1991. if (other.baseInfo_ != null) {
  1992. if (baseInfo_ == null) {
  1993. BaseInfo = new global::Message.Base_info();
  1994. }
  1995. BaseInfo.MergeFrom(other.BaseInfo);
  1996. }
  1997. if (other.HasCommandKey) {
  1998. CommandKey = other.CommandKey;
  1999. }
  2000. if (other.errorManager_ != null) {
  2001. if (errorManager_ == null) {
  2002. ErrorManager = new global::Message.Error_manager();
  2003. }
  2004. ErrorManager.MergeFrom(other.ErrorManager);
  2005. }
  2006. queryParkspaceInfoEx_.Add(other.queryParkspaceInfoEx_);
  2007. _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
  2008. }
  2009. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2010. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2011. public void MergeFrom(pb::CodedInputStream input) {
  2012. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  2013. input.ReadRawMessage(this);
  2014. #else
  2015. uint tag;
  2016. while ((tag = input.ReadTag()) != 0) {
  2017. switch(tag) {
  2018. default:
  2019. _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
  2020. break;
  2021. case 10: {
  2022. if (baseInfo_ == null) {
  2023. BaseInfo = new global::Message.Base_info();
  2024. }
  2025. input.ReadMessage(BaseInfo);
  2026. break;
  2027. }
  2028. case 18: {
  2029. CommandKey = input.ReadString();
  2030. break;
  2031. }
  2032. case 26: {
  2033. if (errorManager_ == null) {
  2034. ErrorManager = new global::Message.Error_manager();
  2035. }
  2036. input.ReadMessage(ErrorManager);
  2037. break;
  2038. }
  2039. case 34: {
  2040. queryParkspaceInfoEx_.AddEntriesFrom(input, _repeated_queryParkspaceInfoEx_codec);
  2041. break;
  2042. }
  2043. }
  2044. }
  2045. #endif
  2046. }
  2047. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  2048. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2049. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2050. void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
  2051. uint tag;
  2052. while ((tag = input.ReadTag()) != 0) {
  2053. switch(tag) {
  2054. default:
  2055. _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
  2056. break;
  2057. case 10: {
  2058. if (baseInfo_ == null) {
  2059. BaseInfo = new global::Message.Base_info();
  2060. }
  2061. input.ReadMessage(BaseInfo);
  2062. break;
  2063. }
  2064. case 18: {
  2065. CommandKey = input.ReadString();
  2066. break;
  2067. }
  2068. case 26: {
  2069. if (errorManager_ == null) {
  2070. ErrorManager = new global::Message.Error_manager();
  2071. }
  2072. input.ReadMessage(ErrorManager);
  2073. break;
  2074. }
  2075. case 34: {
  2076. queryParkspaceInfoEx_.AddEntriesFrom(ref input, _repeated_queryParkspaceInfoEx_codec);
  2077. break;
  2078. }
  2079. }
  2080. }
  2081. }
  2082. #endif
  2083. }
  2084. /// <summary>
  2085. ///3.释放车位请求
  2086. /// </summary>
  2087. public sealed partial class Parkspace_release_request_msg : pb::IMessage<Parkspace_release_request_msg>
  2088. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  2089. , pb::IBufferMessage
  2090. #endif
  2091. {
  2092. private static readonly pb::MessageParser<Parkspace_release_request_msg> _parser = new pb::MessageParser<Parkspace_release_request_msg>(() => new Parkspace_release_request_msg());
  2093. private pb::UnknownFieldSet _unknownFields;
  2094. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2095. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2096. public static pb::MessageParser<Parkspace_release_request_msg> Parser { get { return _parser; } }
  2097. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2098. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2099. public static pbr::MessageDescriptor Descriptor {
  2100. get { return global::Message.ParkspaceAllocationMessageReflection.Descriptor.MessageTypes[6]; }
  2101. }
  2102. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2103. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2104. pbr::MessageDescriptor pb::IMessage.Descriptor {
  2105. get { return Descriptor; }
  2106. }
  2107. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2108. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2109. public Parkspace_release_request_msg() {
  2110. OnConstruction();
  2111. }
  2112. partial void OnConstruction();
  2113. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2114. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2115. public Parkspace_release_request_msg(Parkspace_release_request_msg other) : this() {
  2116. baseInfo_ = other.baseInfo_ != null ? other.baseInfo_.Clone() : null;
  2117. commandKey_ = other.commandKey_;
  2118. releaseParkspaceInfoEx_ = other.releaseParkspaceInfoEx_.Clone();
  2119. _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
  2120. }
  2121. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2122. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2123. public Parkspace_release_request_msg Clone() {
  2124. return new Parkspace_release_request_msg(this);
  2125. }
  2126. /// <summary>Field number for the "base_info" field.</summary>
  2127. public const int BaseInfoFieldNumber = 1;
  2128. private global::Message.Base_info baseInfo_;
  2129. /// <summary>
  2130. ///消息类型
  2131. /// </summary>
  2132. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2133. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2134. public global::Message.Base_info BaseInfo {
  2135. get { return baseInfo_; }
  2136. set {
  2137. baseInfo_ = value;
  2138. }
  2139. }
  2140. /// <summary>Field number for the "command_key" field.</summary>
  2141. public const int CommandKeyFieldNumber = 2;
  2142. private readonly static string CommandKeyDefaultValue = "";
  2143. private string commandKey_;
  2144. /// <summary>
  2145. ///指令唯一标识符id
  2146. /// </summary>
  2147. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2148. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2149. public string CommandKey {
  2150. get { return commandKey_ ?? CommandKeyDefaultValue; }
  2151. set {
  2152. commandKey_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
  2153. }
  2154. }
  2155. /// <summary>Gets whether the "command_key" field is set</summary>
  2156. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2157. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2158. public bool HasCommandKey {
  2159. get { return commandKey_ != null; }
  2160. }
  2161. /// <summary>Clears the value of the "command_key" field</summary>
  2162. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2163. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2164. public void ClearCommandKey() {
  2165. commandKey_ = null;
  2166. }
  2167. /// <summary>Field number for the "release_parkspace_info_ex" field.</summary>
  2168. public const int ReleaseParkspaceInfoExFieldNumber = 3;
  2169. private static readonly pb::FieldCodec<global::Message.Parkspace_info> _repeated_releaseParkspaceInfoEx_codec
  2170. = pb::FieldCodec.ForMessage(26, global::Message.Parkspace_info.Parser);
  2171. private readonly pbc::RepeatedField<global::Message.Parkspace_info> releaseParkspaceInfoEx_ = new pbc::RepeatedField<global::Message.Parkspace_info>();
  2172. /// <summary>
  2173. ///待释放车位信息
  2174. /// </summary>
  2175. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2176. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2177. public pbc::RepeatedField<global::Message.Parkspace_info> ReleaseParkspaceInfoEx {
  2178. get { return releaseParkspaceInfoEx_; }
  2179. }
  2180. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2181. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2182. public override bool Equals(object other) {
  2183. return Equals(other as Parkspace_release_request_msg);
  2184. }
  2185. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2186. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2187. public bool Equals(Parkspace_release_request_msg other) {
  2188. if (ReferenceEquals(other, null)) {
  2189. return false;
  2190. }
  2191. if (ReferenceEquals(other, this)) {
  2192. return true;
  2193. }
  2194. if (!object.Equals(BaseInfo, other.BaseInfo)) return false;
  2195. if (CommandKey != other.CommandKey) return false;
  2196. if(!releaseParkspaceInfoEx_.Equals(other.releaseParkspaceInfoEx_)) return false;
  2197. return Equals(_unknownFields, other._unknownFields);
  2198. }
  2199. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2200. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2201. public override int GetHashCode() {
  2202. int hash = 1;
  2203. if (baseInfo_ != null) hash ^= BaseInfo.GetHashCode();
  2204. if (HasCommandKey) hash ^= CommandKey.GetHashCode();
  2205. hash ^= releaseParkspaceInfoEx_.GetHashCode();
  2206. if (_unknownFields != null) {
  2207. hash ^= _unknownFields.GetHashCode();
  2208. }
  2209. return hash;
  2210. }
  2211. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2212. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2213. public override string ToString() {
  2214. return pb::JsonFormatter.ToDiagnosticString(this);
  2215. }
  2216. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2217. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2218. public void WriteTo(pb::CodedOutputStream output) {
  2219. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  2220. output.WriteRawMessage(this);
  2221. #else
  2222. if (baseInfo_ != null) {
  2223. output.WriteRawTag(10);
  2224. output.WriteMessage(BaseInfo);
  2225. }
  2226. if (HasCommandKey) {
  2227. output.WriteRawTag(18);
  2228. output.WriteString(CommandKey);
  2229. }
  2230. releaseParkspaceInfoEx_.WriteTo(output, _repeated_releaseParkspaceInfoEx_codec);
  2231. if (_unknownFields != null) {
  2232. _unknownFields.WriteTo(output);
  2233. }
  2234. #endif
  2235. }
  2236. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  2237. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2238. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2239. void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
  2240. if (baseInfo_ != null) {
  2241. output.WriteRawTag(10);
  2242. output.WriteMessage(BaseInfo);
  2243. }
  2244. if (HasCommandKey) {
  2245. output.WriteRawTag(18);
  2246. output.WriteString(CommandKey);
  2247. }
  2248. releaseParkspaceInfoEx_.WriteTo(ref output, _repeated_releaseParkspaceInfoEx_codec);
  2249. if (_unknownFields != null) {
  2250. _unknownFields.WriteTo(ref output);
  2251. }
  2252. }
  2253. #endif
  2254. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2255. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2256. public int CalculateSize() {
  2257. int size = 0;
  2258. if (baseInfo_ != null) {
  2259. size += 1 + pb::CodedOutputStream.ComputeMessageSize(BaseInfo);
  2260. }
  2261. if (HasCommandKey) {
  2262. size += 1 + pb::CodedOutputStream.ComputeStringSize(CommandKey);
  2263. }
  2264. size += releaseParkspaceInfoEx_.CalculateSize(_repeated_releaseParkspaceInfoEx_codec);
  2265. if (_unknownFields != null) {
  2266. size += _unknownFields.CalculateSize();
  2267. }
  2268. return size;
  2269. }
  2270. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2271. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2272. public void MergeFrom(Parkspace_release_request_msg other) {
  2273. if (other == null) {
  2274. return;
  2275. }
  2276. if (other.baseInfo_ != null) {
  2277. if (baseInfo_ == null) {
  2278. BaseInfo = new global::Message.Base_info();
  2279. }
  2280. BaseInfo.MergeFrom(other.BaseInfo);
  2281. }
  2282. if (other.HasCommandKey) {
  2283. CommandKey = other.CommandKey;
  2284. }
  2285. releaseParkspaceInfoEx_.Add(other.releaseParkspaceInfoEx_);
  2286. _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
  2287. }
  2288. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2289. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2290. public void MergeFrom(pb::CodedInputStream input) {
  2291. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  2292. input.ReadRawMessage(this);
  2293. #else
  2294. uint tag;
  2295. while ((tag = input.ReadTag()) != 0) {
  2296. switch(tag) {
  2297. default:
  2298. _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
  2299. break;
  2300. case 10: {
  2301. if (baseInfo_ == null) {
  2302. BaseInfo = new global::Message.Base_info();
  2303. }
  2304. input.ReadMessage(BaseInfo);
  2305. break;
  2306. }
  2307. case 18: {
  2308. CommandKey = input.ReadString();
  2309. break;
  2310. }
  2311. case 26: {
  2312. releaseParkspaceInfoEx_.AddEntriesFrom(input, _repeated_releaseParkspaceInfoEx_codec);
  2313. break;
  2314. }
  2315. }
  2316. }
  2317. #endif
  2318. }
  2319. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  2320. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2321. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2322. void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
  2323. uint tag;
  2324. while ((tag = input.ReadTag()) != 0) {
  2325. switch(tag) {
  2326. default:
  2327. _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
  2328. break;
  2329. case 10: {
  2330. if (baseInfo_ == null) {
  2331. BaseInfo = new global::Message.Base_info();
  2332. }
  2333. input.ReadMessage(BaseInfo);
  2334. break;
  2335. }
  2336. case 18: {
  2337. CommandKey = input.ReadString();
  2338. break;
  2339. }
  2340. case 26: {
  2341. releaseParkspaceInfoEx_.AddEntriesFrom(ref input, _repeated_releaseParkspaceInfoEx_codec);
  2342. break;
  2343. }
  2344. }
  2345. }
  2346. }
  2347. #endif
  2348. }
  2349. /// <summary>
  2350. ///释放车位请求
  2351. /// </summary>
  2352. public sealed partial class Parkspace_release_response_msg : pb::IMessage<Parkspace_release_response_msg>
  2353. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  2354. , pb::IBufferMessage
  2355. #endif
  2356. {
  2357. private static readonly pb::MessageParser<Parkspace_release_response_msg> _parser = new pb::MessageParser<Parkspace_release_response_msg>(() => new Parkspace_release_response_msg());
  2358. private pb::UnknownFieldSet _unknownFields;
  2359. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2360. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2361. public static pb::MessageParser<Parkspace_release_response_msg> Parser { get { return _parser; } }
  2362. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2363. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2364. public static pbr::MessageDescriptor Descriptor {
  2365. get { return global::Message.ParkspaceAllocationMessageReflection.Descriptor.MessageTypes[7]; }
  2366. }
  2367. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2368. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2369. pbr::MessageDescriptor pb::IMessage.Descriptor {
  2370. get { return Descriptor; }
  2371. }
  2372. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2373. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2374. public Parkspace_release_response_msg() {
  2375. OnConstruction();
  2376. }
  2377. partial void OnConstruction();
  2378. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2379. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2380. public Parkspace_release_response_msg(Parkspace_release_response_msg other) : this() {
  2381. baseInfo_ = other.baseInfo_ != null ? other.baseInfo_.Clone() : null;
  2382. commandKey_ = other.commandKey_;
  2383. errorManager_ = other.errorManager_ != null ? other.errorManager_.Clone() : null;
  2384. releaseParkspaceInfoEx_ = other.releaseParkspaceInfoEx_.Clone();
  2385. _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
  2386. }
  2387. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2388. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2389. public Parkspace_release_response_msg Clone() {
  2390. return new Parkspace_release_response_msg(this);
  2391. }
  2392. /// <summary>Field number for the "base_info" field.</summary>
  2393. public const int BaseInfoFieldNumber = 1;
  2394. private global::Message.Base_info baseInfo_;
  2395. /// <summary>
  2396. ///消息类型
  2397. /// </summary>
  2398. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2399. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2400. public global::Message.Base_info BaseInfo {
  2401. get { return baseInfo_; }
  2402. set {
  2403. baseInfo_ = value;
  2404. }
  2405. }
  2406. /// <summary>Field number for the "command_key" field.</summary>
  2407. public const int CommandKeyFieldNumber = 2;
  2408. private readonly static string CommandKeyDefaultValue = "";
  2409. private string commandKey_;
  2410. /// <summary>
  2411. ///指令唯一标识符id
  2412. /// </summary>
  2413. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2414. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2415. public string CommandKey {
  2416. get { return commandKey_ ?? CommandKeyDefaultValue; }
  2417. set {
  2418. commandKey_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
  2419. }
  2420. }
  2421. /// <summary>Gets whether the "command_key" field is set</summary>
  2422. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2423. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2424. public bool HasCommandKey {
  2425. get { return commandKey_ != null; }
  2426. }
  2427. /// <summary>Clears the value of the "command_key" field</summary>
  2428. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2429. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2430. public void ClearCommandKey() {
  2431. commandKey_ = null;
  2432. }
  2433. /// <summary>Field number for the "error_manager" field.</summary>
  2434. public const int ErrorManagerFieldNumber = 3;
  2435. private global::Message.Error_manager errorManager_;
  2436. /// <summary>
  2437. ///分配成功与否标志
  2438. /// </summary>
  2439. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2440. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2441. public global::Message.Error_manager ErrorManager {
  2442. get { return errorManager_; }
  2443. set {
  2444. errorManager_ = value;
  2445. }
  2446. }
  2447. /// <summary>Field number for the "release_parkspace_info_ex" field.</summary>
  2448. public const int ReleaseParkspaceInfoExFieldNumber = 4;
  2449. private static readonly pb::FieldCodec<global::Message.Parkspace_info> _repeated_releaseParkspaceInfoEx_codec
  2450. = pb::FieldCodec.ForMessage(34, global::Message.Parkspace_info.Parser);
  2451. private readonly pbc::RepeatedField<global::Message.Parkspace_info> releaseParkspaceInfoEx_ = new pbc::RepeatedField<global::Message.Parkspace_info>();
  2452. /// <summary>
  2453. ///待释放车位信息
  2454. /// </summary>
  2455. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2456. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2457. public pbc::RepeatedField<global::Message.Parkspace_info> ReleaseParkspaceInfoEx {
  2458. get { return releaseParkspaceInfoEx_; }
  2459. }
  2460. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2461. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2462. public override bool Equals(object other) {
  2463. return Equals(other as Parkspace_release_response_msg);
  2464. }
  2465. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2466. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2467. public bool Equals(Parkspace_release_response_msg other) {
  2468. if (ReferenceEquals(other, null)) {
  2469. return false;
  2470. }
  2471. if (ReferenceEquals(other, this)) {
  2472. return true;
  2473. }
  2474. if (!object.Equals(BaseInfo, other.BaseInfo)) return false;
  2475. if (CommandKey != other.CommandKey) return false;
  2476. if (!object.Equals(ErrorManager, other.ErrorManager)) return false;
  2477. if(!releaseParkspaceInfoEx_.Equals(other.releaseParkspaceInfoEx_)) return false;
  2478. return Equals(_unknownFields, other._unknownFields);
  2479. }
  2480. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2481. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2482. public override int GetHashCode() {
  2483. int hash = 1;
  2484. if (baseInfo_ != null) hash ^= BaseInfo.GetHashCode();
  2485. if (HasCommandKey) hash ^= CommandKey.GetHashCode();
  2486. if (errorManager_ != null) hash ^= ErrorManager.GetHashCode();
  2487. hash ^= releaseParkspaceInfoEx_.GetHashCode();
  2488. if (_unknownFields != null) {
  2489. hash ^= _unknownFields.GetHashCode();
  2490. }
  2491. return hash;
  2492. }
  2493. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2494. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2495. public override string ToString() {
  2496. return pb::JsonFormatter.ToDiagnosticString(this);
  2497. }
  2498. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2499. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2500. public void WriteTo(pb::CodedOutputStream output) {
  2501. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  2502. output.WriteRawMessage(this);
  2503. #else
  2504. if (baseInfo_ != null) {
  2505. output.WriteRawTag(10);
  2506. output.WriteMessage(BaseInfo);
  2507. }
  2508. if (HasCommandKey) {
  2509. output.WriteRawTag(18);
  2510. output.WriteString(CommandKey);
  2511. }
  2512. if (errorManager_ != null) {
  2513. output.WriteRawTag(26);
  2514. output.WriteMessage(ErrorManager);
  2515. }
  2516. releaseParkspaceInfoEx_.WriteTo(output, _repeated_releaseParkspaceInfoEx_codec);
  2517. if (_unknownFields != null) {
  2518. _unknownFields.WriteTo(output);
  2519. }
  2520. #endif
  2521. }
  2522. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  2523. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2524. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2525. void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
  2526. if (baseInfo_ != null) {
  2527. output.WriteRawTag(10);
  2528. output.WriteMessage(BaseInfo);
  2529. }
  2530. if (HasCommandKey) {
  2531. output.WriteRawTag(18);
  2532. output.WriteString(CommandKey);
  2533. }
  2534. if (errorManager_ != null) {
  2535. output.WriteRawTag(26);
  2536. output.WriteMessage(ErrorManager);
  2537. }
  2538. releaseParkspaceInfoEx_.WriteTo(ref output, _repeated_releaseParkspaceInfoEx_codec);
  2539. if (_unknownFields != null) {
  2540. _unknownFields.WriteTo(ref output);
  2541. }
  2542. }
  2543. #endif
  2544. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2545. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2546. public int CalculateSize() {
  2547. int size = 0;
  2548. if (baseInfo_ != null) {
  2549. size += 1 + pb::CodedOutputStream.ComputeMessageSize(BaseInfo);
  2550. }
  2551. if (HasCommandKey) {
  2552. size += 1 + pb::CodedOutputStream.ComputeStringSize(CommandKey);
  2553. }
  2554. if (errorManager_ != null) {
  2555. size += 1 + pb::CodedOutputStream.ComputeMessageSize(ErrorManager);
  2556. }
  2557. size += releaseParkspaceInfoEx_.CalculateSize(_repeated_releaseParkspaceInfoEx_codec);
  2558. if (_unknownFields != null) {
  2559. size += _unknownFields.CalculateSize();
  2560. }
  2561. return size;
  2562. }
  2563. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2564. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2565. public void MergeFrom(Parkspace_release_response_msg other) {
  2566. if (other == null) {
  2567. return;
  2568. }
  2569. if (other.baseInfo_ != null) {
  2570. if (baseInfo_ == null) {
  2571. BaseInfo = new global::Message.Base_info();
  2572. }
  2573. BaseInfo.MergeFrom(other.BaseInfo);
  2574. }
  2575. if (other.HasCommandKey) {
  2576. CommandKey = other.CommandKey;
  2577. }
  2578. if (other.errorManager_ != null) {
  2579. if (errorManager_ == null) {
  2580. ErrorManager = new global::Message.Error_manager();
  2581. }
  2582. ErrorManager.MergeFrom(other.ErrorManager);
  2583. }
  2584. releaseParkspaceInfoEx_.Add(other.releaseParkspaceInfoEx_);
  2585. _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
  2586. }
  2587. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2588. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2589. public void MergeFrom(pb::CodedInputStream input) {
  2590. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  2591. input.ReadRawMessage(this);
  2592. #else
  2593. uint tag;
  2594. while ((tag = input.ReadTag()) != 0) {
  2595. switch(tag) {
  2596. default:
  2597. _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
  2598. break;
  2599. case 10: {
  2600. if (baseInfo_ == null) {
  2601. BaseInfo = new global::Message.Base_info();
  2602. }
  2603. input.ReadMessage(BaseInfo);
  2604. break;
  2605. }
  2606. case 18: {
  2607. CommandKey = input.ReadString();
  2608. break;
  2609. }
  2610. case 26: {
  2611. if (errorManager_ == null) {
  2612. ErrorManager = new global::Message.Error_manager();
  2613. }
  2614. input.ReadMessage(ErrorManager);
  2615. break;
  2616. }
  2617. case 34: {
  2618. releaseParkspaceInfoEx_.AddEntriesFrom(input, _repeated_releaseParkspaceInfoEx_codec);
  2619. break;
  2620. }
  2621. }
  2622. }
  2623. #endif
  2624. }
  2625. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  2626. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2627. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2628. void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
  2629. uint tag;
  2630. while ((tag = input.ReadTag()) != 0) {
  2631. switch(tag) {
  2632. default:
  2633. _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
  2634. break;
  2635. case 10: {
  2636. if (baseInfo_ == null) {
  2637. BaseInfo = new global::Message.Base_info();
  2638. }
  2639. input.ReadMessage(BaseInfo);
  2640. break;
  2641. }
  2642. case 18: {
  2643. CommandKey = input.ReadString();
  2644. break;
  2645. }
  2646. case 26: {
  2647. if (errorManager_ == null) {
  2648. ErrorManager = new global::Message.Error_manager();
  2649. }
  2650. input.ReadMessage(ErrorManager);
  2651. break;
  2652. }
  2653. case 34: {
  2654. releaseParkspaceInfoEx_.AddEntriesFrom(ref input, _repeated_releaseParkspaceInfoEx_codec);
  2655. break;
  2656. }
  2657. }
  2658. }
  2659. }
  2660. #endif
  2661. }
  2662. /// <summary>
  2663. /// 4.手动操作修改车位状态
  2664. /// </summary>
  2665. public sealed partial class Parkspace_force_update_request_msg : pb::IMessage<Parkspace_force_update_request_msg>
  2666. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  2667. , pb::IBufferMessage
  2668. #endif
  2669. {
  2670. private static readonly pb::MessageParser<Parkspace_force_update_request_msg> _parser = new pb::MessageParser<Parkspace_force_update_request_msg>(() => new Parkspace_force_update_request_msg());
  2671. private pb::UnknownFieldSet _unknownFields;
  2672. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2673. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2674. public static pb::MessageParser<Parkspace_force_update_request_msg> Parser { get { return _parser; } }
  2675. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2676. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2677. public static pbr::MessageDescriptor Descriptor {
  2678. get { return global::Message.ParkspaceAllocationMessageReflection.Descriptor.MessageTypes[8]; }
  2679. }
  2680. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2681. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2682. pbr::MessageDescriptor pb::IMessage.Descriptor {
  2683. get { return Descriptor; }
  2684. }
  2685. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2686. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2687. public Parkspace_force_update_request_msg() {
  2688. OnConstruction();
  2689. }
  2690. partial void OnConstruction();
  2691. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2692. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2693. public Parkspace_force_update_request_msg(Parkspace_force_update_request_msg other) : this() {
  2694. baseInfo_ = other.baseInfo_ != null ? other.baseInfo_.Clone() : null;
  2695. commandKey_ = other.commandKey_;
  2696. manualParkspaceInfoEx_ = other.manualParkspaceInfoEx_.Clone();
  2697. _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
  2698. }
  2699. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2700. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2701. public Parkspace_force_update_request_msg Clone() {
  2702. return new Parkspace_force_update_request_msg(this);
  2703. }
  2704. /// <summary>Field number for the "base_info" field.</summary>
  2705. public const int BaseInfoFieldNumber = 1;
  2706. private global::Message.Base_info baseInfo_;
  2707. /// <summary>
  2708. ///消息类型
  2709. /// </summary>
  2710. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2711. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2712. public global::Message.Base_info BaseInfo {
  2713. get { return baseInfo_; }
  2714. set {
  2715. baseInfo_ = value;
  2716. }
  2717. }
  2718. /// <summary>Field number for the "command_key" field.</summary>
  2719. public const int CommandKeyFieldNumber = 2;
  2720. private readonly static string CommandKeyDefaultValue = "";
  2721. private string commandKey_;
  2722. /// <summary>
  2723. ///指令唯一标识符id
  2724. /// </summary>
  2725. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2726. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2727. public string CommandKey {
  2728. get { return commandKey_ ?? CommandKeyDefaultValue; }
  2729. set {
  2730. commandKey_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
  2731. }
  2732. }
  2733. /// <summary>Gets whether the "command_key" field is set</summary>
  2734. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2735. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2736. public bool HasCommandKey {
  2737. get { return commandKey_ != null; }
  2738. }
  2739. /// <summary>Clears the value of the "command_key" field</summary>
  2740. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2741. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2742. public void ClearCommandKey() {
  2743. commandKey_ = null;
  2744. }
  2745. /// <summary>Field number for the "manual_parkspace_info_ex" field.</summary>
  2746. public const int ManualParkspaceInfoExFieldNumber = 3;
  2747. private static readonly pb::FieldCodec<global::Message.Parkspace_info> _repeated_manualParkspaceInfoEx_codec
  2748. = pb::FieldCodec.ForMessage(26, global::Message.Parkspace_info.Parser);
  2749. private readonly pbc::RepeatedField<global::Message.Parkspace_info> manualParkspaceInfoEx_ = new pbc::RepeatedField<global::Message.Parkspace_info>();
  2750. /// <summary>
  2751. ///待手动修改车位信息,通过id定位
  2752. /// </summary>
  2753. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2754. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2755. public pbc::RepeatedField<global::Message.Parkspace_info> ManualParkspaceInfoEx {
  2756. get { return manualParkspaceInfoEx_; }
  2757. }
  2758. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2759. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2760. public override bool Equals(object other) {
  2761. return Equals(other as Parkspace_force_update_request_msg);
  2762. }
  2763. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2764. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2765. public bool Equals(Parkspace_force_update_request_msg other) {
  2766. if (ReferenceEquals(other, null)) {
  2767. return false;
  2768. }
  2769. if (ReferenceEquals(other, this)) {
  2770. return true;
  2771. }
  2772. if (!object.Equals(BaseInfo, other.BaseInfo)) return false;
  2773. if (CommandKey != other.CommandKey) return false;
  2774. if(!manualParkspaceInfoEx_.Equals(other.manualParkspaceInfoEx_)) return false;
  2775. return Equals(_unknownFields, other._unknownFields);
  2776. }
  2777. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2778. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2779. public override int GetHashCode() {
  2780. int hash = 1;
  2781. if (baseInfo_ != null) hash ^= BaseInfo.GetHashCode();
  2782. if (HasCommandKey) hash ^= CommandKey.GetHashCode();
  2783. hash ^= manualParkspaceInfoEx_.GetHashCode();
  2784. if (_unknownFields != null) {
  2785. hash ^= _unknownFields.GetHashCode();
  2786. }
  2787. return hash;
  2788. }
  2789. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2790. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2791. public override string ToString() {
  2792. return pb::JsonFormatter.ToDiagnosticString(this);
  2793. }
  2794. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2795. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2796. public void WriteTo(pb::CodedOutputStream output) {
  2797. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  2798. output.WriteRawMessage(this);
  2799. #else
  2800. if (baseInfo_ != null) {
  2801. output.WriteRawTag(10);
  2802. output.WriteMessage(BaseInfo);
  2803. }
  2804. if (HasCommandKey) {
  2805. output.WriteRawTag(18);
  2806. output.WriteString(CommandKey);
  2807. }
  2808. manualParkspaceInfoEx_.WriteTo(output, _repeated_manualParkspaceInfoEx_codec);
  2809. if (_unknownFields != null) {
  2810. _unknownFields.WriteTo(output);
  2811. }
  2812. #endif
  2813. }
  2814. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  2815. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2816. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2817. void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
  2818. if (baseInfo_ != null) {
  2819. output.WriteRawTag(10);
  2820. output.WriteMessage(BaseInfo);
  2821. }
  2822. if (HasCommandKey) {
  2823. output.WriteRawTag(18);
  2824. output.WriteString(CommandKey);
  2825. }
  2826. manualParkspaceInfoEx_.WriteTo(ref output, _repeated_manualParkspaceInfoEx_codec);
  2827. if (_unknownFields != null) {
  2828. _unknownFields.WriteTo(ref output);
  2829. }
  2830. }
  2831. #endif
  2832. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2833. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2834. public int CalculateSize() {
  2835. int size = 0;
  2836. if (baseInfo_ != null) {
  2837. size += 1 + pb::CodedOutputStream.ComputeMessageSize(BaseInfo);
  2838. }
  2839. if (HasCommandKey) {
  2840. size += 1 + pb::CodedOutputStream.ComputeStringSize(CommandKey);
  2841. }
  2842. size += manualParkspaceInfoEx_.CalculateSize(_repeated_manualParkspaceInfoEx_codec);
  2843. if (_unknownFields != null) {
  2844. size += _unknownFields.CalculateSize();
  2845. }
  2846. return size;
  2847. }
  2848. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2849. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2850. public void MergeFrom(Parkspace_force_update_request_msg other) {
  2851. if (other == null) {
  2852. return;
  2853. }
  2854. if (other.baseInfo_ != null) {
  2855. if (baseInfo_ == null) {
  2856. BaseInfo = new global::Message.Base_info();
  2857. }
  2858. BaseInfo.MergeFrom(other.BaseInfo);
  2859. }
  2860. if (other.HasCommandKey) {
  2861. CommandKey = other.CommandKey;
  2862. }
  2863. manualParkspaceInfoEx_.Add(other.manualParkspaceInfoEx_);
  2864. _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
  2865. }
  2866. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2867. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2868. public void MergeFrom(pb::CodedInputStream input) {
  2869. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  2870. input.ReadRawMessage(this);
  2871. #else
  2872. uint tag;
  2873. while ((tag = input.ReadTag()) != 0) {
  2874. switch(tag) {
  2875. default:
  2876. _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
  2877. break;
  2878. case 10: {
  2879. if (baseInfo_ == null) {
  2880. BaseInfo = new global::Message.Base_info();
  2881. }
  2882. input.ReadMessage(BaseInfo);
  2883. break;
  2884. }
  2885. case 18: {
  2886. CommandKey = input.ReadString();
  2887. break;
  2888. }
  2889. case 26: {
  2890. manualParkspaceInfoEx_.AddEntriesFrom(input, _repeated_manualParkspaceInfoEx_codec);
  2891. break;
  2892. }
  2893. }
  2894. }
  2895. #endif
  2896. }
  2897. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  2898. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2899. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2900. void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
  2901. uint tag;
  2902. while ((tag = input.ReadTag()) != 0) {
  2903. switch(tag) {
  2904. default:
  2905. _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
  2906. break;
  2907. case 10: {
  2908. if (baseInfo_ == null) {
  2909. BaseInfo = new global::Message.Base_info();
  2910. }
  2911. input.ReadMessage(BaseInfo);
  2912. break;
  2913. }
  2914. case 18: {
  2915. CommandKey = input.ReadString();
  2916. break;
  2917. }
  2918. case 26: {
  2919. manualParkspaceInfoEx_.AddEntriesFrom(ref input, _repeated_manualParkspaceInfoEx_codec);
  2920. break;
  2921. }
  2922. }
  2923. }
  2924. }
  2925. #endif
  2926. }
  2927. /// <summary>
  2928. ///手动操作反馈
  2929. /// </summary>
  2930. public sealed partial class Parkspace_force_update_response_msg : pb::IMessage<Parkspace_force_update_response_msg>
  2931. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  2932. , pb::IBufferMessage
  2933. #endif
  2934. {
  2935. private static readonly pb::MessageParser<Parkspace_force_update_response_msg> _parser = new pb::MessageParser<Parkspace_force_update_response_msg>(() => new Parkspace_force_update_response_msg());
  2936. private pb::UnknownFieldSet _unknownFields;
  2937. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2938. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2939. public static pb::MessageParser<Parkspace_force_update_response_msg> Parser { get { return _parser; } }
  2940. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2941. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2942. public static pbr::MessageDescriptor Descriptor {
  2943. get { return global::Message.ParkspaceAllocationMessageReflection.Descriptor.MessageTypes[9]; }
  2944. }
  2945. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2946. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2947. pbr::MessageDescriptor pb::IMessage.Descriptor {
  2948. get { return Descriptor; }
  2949. }
  2950. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2951. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2952. public Parkspace_force_update_response_msg() {
  2953. OnConstruction();
  2954. }
  2955. partial void OnConstruction();
  2956. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2957. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2958. public Parkspace_force_update_response_msg(Parkspace_force_update_response_msg other) : this() {
  2959. baseInfo_ = other.baseInfo_ != null ? other.baseInfo_.Clone() : null;
  2960. commandKey_ = other.commandKey_;
  2961. errorManager_ = other.errorManager_ != null ? other.errorManager_.Clone() : null;
  2962. manualParkspaceInfoEx_ = other.manualParkspaceInfoEx_.Clone();
  2963. _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
  2964. }
  2965. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2966. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2967. public Parkspace_force_update_response_msg Clone() {
  2968. return new Parkspace_force_update_response_msg(this);
  2969. }
  2970. /// <summary>Field number for the "base_info" field.</summary>
  2971. public const int BaseInfoFieldNumber = 1;
  2972. private global::Message.Base_info baseInfo_;
  2973. /// <summary>
  2974. ///消息类型
  2975. /// </summary>
  2976. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2977. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2978. public global::Message.Base_info BaseInfo {
  2979. get { return baseInfo_; }
  2980. set {
  2981. baseInfo_ = value;
  2982. }
  2983. }
  2984. /// <summary>Field number for the "command_key" field.</summary>
  2985. public const int CommandKeyFieldNumber = 2;
  2986. private readonly static string CommandKeyDefaultValue = "";
  2987. private string commandKey_;
  2988. /// <summary>
  2989. ///指令唯一标识符id
  2990. /// </summary>
  2991. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2992. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2993. public string CommandKey {
  2994. get { return commandKey_ ?? CommandKeyDefaultValue; }
  2995. set {
  2996. commandKey_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
  2997. }
  2998. }
  2999. /// <summary>Gets whether the "command_key" field is set</summary>
  3000. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3001. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  3002. public bool HasCommandKey {
  3003. get { return commandKey_ != null; }
  3004. }
  3005. /// <summary>Clears the value of the "command_key" field</summary>
  3006. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3007. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  3008. public void ClearCommandKey() {
  3009. commandKey_ = null;
  3010. }
  3011. /// <summary>Field number for the "error_manager" field.</summary>
  3012. public const int ErrorManagerFieldNumber = 3;
  3013. private global::Message.Error_manager errorManager_;
  3014. /// <summary>
  3015. ///分配成功与否标志
  3016. /// </summary>
  3017. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3018. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  3019. public global::Message.Error_manager ErrorManager {
  3020. get { return errorManager_; }
  3021. set {
  3022. errorManager_ = value;
  3023. }
  3024. }
  3025. /// <summary>Field number for the "manual_parkspace_info_ex" field.</summary>
  3026. public const int ManualParkspaceInfoExFieldNumber = 4;
  3027. private static readonly pb::FieldCodec<global::Message.Parkspace_info> _repeated_manualParkspaceInfoEx_codec
  3028. = pb::FieldCodec.ForMessage(34, global::Message.Parkspace_info.Parser);
  3029. private readonly pbc::RepeatedField<global::Message.Parkspace_info> manualParkspaceInfoEx_ = new pbc::RepeatedField<global::Message.Parkspace_info>();
  3030. /// <summary>
  3031. ///已修改后的车位信息
  3032. /// </summary>
  3033. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3034. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  3035. public pbc::RepeatedField<global::Message.Parkspace_info> ManualParkspaceInfoEx {
  3036. get { return manualParkspaceInfoEx_; }
  3037. }
  3038. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3039. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  3040. public override bool Equals(object other) {
  3041. return Equals(other as Parkspace_force_update_response_msg);
  3042. }
  3043. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3044. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  3045. public bool Equals(Parkspace_force_update_response_msg other) {
  3046. if (ReferenceEquals(other, null)) {
  3047. return false;
  3048. }
  3049. if (ReferenceEquals(other, this)) {
  3050. return true;
  3051. }
  3052. if (!object.Equals(BaseInfo, other.BaseInfo)) return false;
  3053. if (CommandKey != other.CommandKey) return false;
  3054. if (!object.Equals(ErrorManager, other.ErrorManager)) return false;
  3055. if(!manualParkspaceInfoEx_.Equals(other.manualParkspaceInfoEx_)) return false;
  3056. return Equals(_unknownFields, other._unknownFields);
  3057. }
  3058. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3059. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  3060. public override int GetHashCode() {
  3061. int hash = 1;
  3062. if (baseInfo_ != null) hash ^= BaseInfo.GetHashCode();
  3063. if (HasCommandKey) hash ^= CommandKey.GetHashCode();
  3064. if (errorManager_ != null) hash ^= ErrorManager.GetHashCode();
  3065. hash ^= manualParkspaceInfoEx_.GetHashCode();
  3066. if (_unknownFields != null) {
  3067. hash ^= _unknownFields.GetHashCode();
  3068. }
  3069. return hash;
  3070. }
  3071. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3072. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  3073. public override string ToString() {
  3074. return pb::JsonFormatter.ToDiagnosticString(this);
  3075. }
  3076. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3077. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  3078. public void WriteTo(pb::CodedOutputStream output) {
  3079. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  3080. output.WriteRawMessage(this);
  3081. #else
  3082. if (baseInfo_ != null) {
  3083. output.WriteRawTag(10);
  3084. output.WriteMessage(BaseInfo);
  3085. }
  3086. if (HasCommandKey) {
  3087. output.WriteRawTag(18);
  3088. output.WriteString(CommandKey);
  3089. }
  3090. if (errorManager_ != null) {
  3091. output.WriteRawTag(26);
  3092. output.WriteMessage(ErrorManager);
  3093. }
  3094. manualParkspaceInfoEx_.WriteTo(output, _repeated_manualParkspaceInfoEx_codec);
  3095. if (_unknownFields != null) {
  3096. _unknownFields.WriteTo(output);
  3097. }
  3098. #endif
  3099. }
  3100. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  3101. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3102. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  3103. void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
  3104. if (baseInfo_ != null) {
  3105. output.WriteRawTag(10);
  3106. output.WriteMessage(BaseInfo);
  3107. }
  3108. if (HasCommandKey) {
  3109. output.WriteRawTag(18);
  3110. output.WriteString(CommandKey);
  3111. }
  3112. if (errorManager_ != null) {
  3113. output.WriteRawTag(26);
  3114. output.WriteMessage(ErrorManager);
  3115. }
  3116. manualParkspaceInfoEx_.WriteTo(ref output, _repeated_manualParkspaceInfoEx_codec);
  3117. if (_unknownFields != null) {
  3118. _unknownFields.WriteTo(ref output);
  3119. }
  3120. }
  3121. #endif
  3122. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3123. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  3124. public int CalculateSize() {
  3125. int size = 0;
  3126. if (baseInfo_ != null) {
  3127. size += 1 + pb::CodedOutputStream.ComputeMessageSize(BaseInfo);
  3128. }
  3129. if (HasCommandKey) {
  3130. size += 1 + pb::CodedOutputStream.ComputeStringSize(CommandKey);
  3131. }
  3132. if (errorManager_ != null) {
  3133. size += 1 + pb::CodedOutputStream.ComputeMessageSize(ErrorManager);
  3134. }
  3135. size += manualParkspaceInfoEx_.CalculateSize(_repeated_manualParkspaceInfoEx_codec);
  3136. if (_unknownFields != null) {
  3137. size += _unknownFields.CalculateSize();
  3138. }
  3139. return size;
  3140. }
  3141. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3142. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  3143. public void MergeFrom(Parkspace_force_update_response_msg other) {
  3144. if (other == null) {
  3145. return;
  3146. }
  3147. if (other.baseInfo_ != null) {
  3148. if (baseInfo_ == null) {
  3149. BaseInfo = new global::Message.Base_info();
  3150. }
  3151. BaseInfo.MergeFrom(other.BaseInfo);
  3152. }
  3153. if (other.HasCommandKey) {
  3154. CommandKey = other.CommandKey;
  3155. }
  3156. if (other.errorManager_ != null) {
  3157. if (errorManager_ == null) {
  3158. ErrorManager = new global::Message.Error_manager();
  3159. }
  3160. ErrorManager.MergeFrom(other.ErrorManager);
  3161. }
  3162. manualParkspaceInfoEx_.Add(other.manualParkspaceInfoEx_);
  3163. _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
  3164. }
  3165. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3166. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  3167. public void MergeFrom(pb::CodedInputStream input) {
  3168. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  3169. input.ReadRawMessage(this);
  3170. #else
  3171. uint tag;
  3172. while ((tag = input.ReadTag()) != 0) {
  3173. switch(tag) {
  3174. default:
  3175. _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
  3176. break;
  3177. case 10: {
  3178. if (baseInfo_ == null) {
  3179. BaseInfo = new global::Message.Base_info();
  3180. }
  3181. input.ReadMessage(BaseInfo);
  3182. break;
  3183. }
  3184. case 18: {
  3185. CommandKey = input.ReadString();
  3186. break;
  3187. }
  3188. case 26: {
  3189. if (errorManager_ == null) {
  3190. ErrorManager = new global::Message.Error_manager();
  3191. }
  3192. input.ReadMessage(ErrorManager);
  3193. break;
  3194. }
  3195. case 34: {
  3196. manualParkspaceInfoEx_.AddEntriesFrom(input, _repeated_manualParkspaceInfoEx_codec);
  3197. break;
  3198. }
  3199. }
  3200. }
  3201. #endif
  3202. }
  3203. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  3204. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3205. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  3206. void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
  3207. uint tag;
  3208. while ((tag = input.ReadTag()) != 0) {
  3209. switch(tag) {
  3210. default:
  3211. _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
  3212. break;
  3213. case 10: {
  3214. if (baseInfo_ == null) {
  3215. BaseInfo = new global::Message.Base_info();
  3216. }
  3217. input.ReadMessage(BaseInfo);
  3218. break;
  3219. }
  3220. case 18: {
  3221. CommandKey = input.ReadString();
  3222. break;
  3223. }
  3224. case 26: {
  3225. if (errorManager_ == null) {
  3226. ErrorManager = new global::Message.Error_manager();
  3227. }
  3228. input.ReadMessage(ErrorManager);
  3229. break;
  3230. }
  3231. case 34: {
  3232. manualParkspaceInfoEx_.AddEntriesFrom(ref input, _repeated_manualParkspaceInfoEx_codec);
  3233. break;
  3234. }
  3235. }
  3236. }
  3237. }
  3238. #endif
  3239. }
  3240. /// <summary>
  3241. /// 5.确认分配车位
  3242. /// </summary>
  3243. public sealed partial class Parkspace_confirm_alloc_request_msg : pb::IMessage<Parkspace_confirm_alloc_request_msg>
  3244. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  3245. , pb::IBufferMessage
  3246. #endif
  3247. {
  3248. private static readonly pb::MessageParser<Parkspace_confirm_alloc_request_msg> _parser = new pb::MessageParser<Parkspace_confirm_alloc_request_msg>(() => new Parkspace_confirm_alloc_request_msg());
  3249. private pb::UnknownFieldSet _unknownFields;
  3250. private int _hasBits0;
  3251. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3252. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  3253. public static pb::MessageParser<Parkspace_confirm_alloc_request_msg> Parser { get { return _parser; } }
  3254. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3255. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  3256. public static pbr::MessageDescriptor Descriptor {
  3257. get { return global::Message.ParkspaceAllocationMessageReflection.Descriptor.MessageTypes[10]; }
  3258. }
  3259. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3260. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  3261. pbr::MessageDescriptor pb::IMessage.Descriptor {
  3262. get { return Descriptor; }
  3263. }
  3264. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3265. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  3266. public Parkspace_confirm_alloc_request_msg() {
  3267. OnConstruction();
  3268. }
  3269. partial void OnConstruction();
  3270. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3271. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  3272. public Parkspace_confirm_alloc_request_msg(Parkspace_confirm_alloc_request_msg other) : this() {
  3273. _hasBits0 = other._hasBits0;
  3274. baseInfo_ = other.baseInfo_ != null ? other.baseInfo_.Clone() : null;
  3275. commandKey_ = other.commandKey_;
  3276. confirmParkspaceInfoEx_ = other.confirmParkspaceInfoEx_.Clone();
  3277. carType_ = other.carType_;
  3278. _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
  3279. }
  3280. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3281. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  3282. public Parkspace_confirm_alloc_request_msg Clone() {
  3283. return new Parkspace_confirm_alloc_request_msg(this);
  3284. }
  3285. /// <summary>Field number for the "base_info" field.</summary>
  3286. public const int BaseInfoFieldNumber = 1;
  3287. private global::Message.Base_info baseInfo_;
  3288. /// <summary>
  3289. ///消息类型
  3290. /// </summary>
  3291. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3292. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  3293. public global::Message.Base_info BaseInfo {
  3294. get { return baseInfo_; }
  3295. set {
  3296. baseInfo_ = value;
  3297. }
  3298. }
  3299. /// <summary>Field number for the "command_key" field.</summary>
  3300. public const int CommandKeyFieldNumber = 2;
  3301. private readonly static string CommandKeyDefaultValue = "";
  3302. private string commandKey_;
  3303. /// <summary>
  3304. ///指令唯一标识符id
  3305. /// </summary>
  3306. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3307. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  3308. public string CommandKey {
  3309. get { return commandKey_ ?? CommandKeyDefaultValue; }
  3310. set {
  3311. commandKey_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
  3312. }
  3313. }
  3314. /// <summary>Gets whether the "command_key" field is set</summary>
  3315. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3316. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  3317. public bool HasCommandKey {
  3318. get { return commandKey_ != null; }
  3319. }
  3320. /// <summary>Clears the value of the "command_key" field</summary>
  3321. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3322. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  3323. public void ClearCommandKey() {
  3324. commandKey_ = null;
  3325. }
  3326. /// <summary>Field number for the "confirm_parkspace_info_ex" field.</summary>
  3327. public const int ConfirmParkspaceInfoExFieldNumber = 3;
  3328. private static readonly pb::FieldCodec<global::Message.Parkspace_info> _repeated_confirmParkspaceInfoEx_codec
  3329. = pb::FieldCodec.ForMessage(26, global::Message.Parkspace_info.Parser);
  3330. private readonly pbc::RepeatedField<global::Message.Parkspace_info> confirmParkspaceInfoEx_ = new pbc::RepeatedField<global::Message.Parkspace_info>();
  3331. /// <summary>
  3332. ///分配车位信息
  3333. /// </summary>
  3334. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3335. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  3336. public pbc::RepeatedField<global::Message.Parkspace_info> ConfirmParkspaceInfoEx {
  3337. get { return confirmParkspaceInfoEx_; }
  3338. }
  3339. /// <summary>Field number for the "car_type" field.</summary>
  3340. public const int CarTypeFieldNumber = 4;
  3341. private readonly static global::Message.Car_type CarTypeDefaultValue = global::Message.Car_type.UnknowCarType;
  3342. private global::Message.Car_type carType_;
  3343. /// <summary>
  3344. ///汽车类型
  3345. /// </summary>
  3346. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3347. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  3348. public global::Message.Car_type CarType {
  3349. get { if ((_hasBits0 & 1) != 0) { return carType_; } else { return CarTypeDefaultValue; } }
  3350. set {
  3351. _hasBits0 |= 1;
  3352. carType_ = value;
  3353. }
  3354. }
  3355. /// <summary>Gets whether the "car_type" field is set</summary>
  3356. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3357. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  3358. public bool HasCarType {
  3359. get { return (_hasBits0 & 1) != 0; }
  3360. }
  3361. /// <summary>Clears the value of the "car_type" field</summary>
  3362. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3363. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  3364. public void ClearCarType() {
  3365. _hasBits0 &= ~1;
  3366. }
  3367. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3368. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  3369. public override bool Equals(object other) {
  3370. return Equals(other as Parkspace_confirm_alloc_request_msg);
  3371. }
  3372. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3373. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  3374. public bool Equals(Parkspace_confirm_alloc_request_msg other) {
  3375. if (ReferenceEquals(other, null)) {
  3376. return false;
  3377. }
  3378. if (ReferenceEquals(other, this)) {
  3379. return true;
  3380. }
  3381. if (!object.Equals(BaseInfo, other.BaseInfo)) return false;
  3382. if (CommandKey != other.CommandKey) return false;
  3383. if(!confirmParkspaceInfoEx_.Equals(other.confirmParkspaceInfoEx_)) return false;
  3384. if (CarType != other.CarType) return false;
  3385. return Equals(_unknownFields, other._unknownFields);
  3386. }
  3387. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3388. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  3389. public override int GetHashCode() {
  3390. int hash = 1;
  3391. if (baseInfo_ != null) hash ^= BaseInfo.GetHashCode();
  3392. if (HasCommandKey) hash ^= CommandKey.GetHashCode();
  3393. hash ^= confirmParkspaceInfoEx_.GetHashCode();
  3394. if (HasCarType) hash ^= CarType.GetHashCode();
  3395. if (_unknownFields != null) {
  3396. hash ^= _unknownFields.GetHashCode();
  3397. }
  3398. return hash;
  3399. }
  3400. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3401. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  3402. public override string ToString() {
  3403. return pb::JsonFormatter.ToDiagnosticString(this);
  3404. }
  3405. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3406. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  3407. public void WriteTo(pb::CodedOutputStream output) {
  3408. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  3409. output.WriteRawMessage(this);
  3410. #else
  3411. if (baseInfo_ != null) {
  3412. output.WriteRawTag(10);
  3413. output.WriteMessage(BaseInfo);
  3414. }
  3415. if (HasCommandKey) {
  3416. output.WriteRawTag(18);
  3417. output.WriteString(CommandKey);
  3418. }
  3419. confirmParkspaceInfoEx_.WriteTo(output, _repeated_confirmParkspaceInfoEx_codec);
  3420. if (HasCarType) {
  3421. output.WriteRawTag(32);
  3422. output.WriteEnum((int) CarType);
  3423. }
  3424. if (_unknownFields != null) {
  3425. _unknownFields.WriteTo(output);
  3426. }
  3427. #endif
  3428. }
  3429. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  3430. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3431. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  3432. void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
  3433. if (baseInfo_ != null) {
  3434. output.WriteRawTag(10);
  3435. output.WriteMessage(BaseInfo);
  3436. }
  3437. if (HasCommandKey) {
  3438. output.WriteRawTag(18);
  3439. output.WriteString(CommandKey);
  3440. }
  3441. confirmParkspaceInfoEx_.WriteTo(ref output, _repeated_confirmParkspaceInfoEx_codec);
  3442. if (HasCarType) {
  3443. output.WriteRawTag(32);
  3444. output.WriteEnum((int) CarType);
  3445. }
  3446. if (_unknownFields != null) {
  3447. _unknownFields.WriteTo(ref output);
  3448. }
  3449. }
  3450. #endif
  3451. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3452. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  3453. public int CalculateSize() {
  3454. int size = 0;
  3455. if (baseInfo_ != null) {
  3456. size += 1 + pb::CodedOutputStream.ComputeMessageSize(BaseInfo);
  3457. }
  3458. if (HasCommandKey) {
  3459. size += 1 + pb::CodedOutputStream.ComputeStringSize(CommandKey);
  3460. }
  3461. size += confirmParkspaceInfoEx_.CalculateSize(_repeated_confirmParkspaceInfoEx_codec);
  3462. if (HasCarType) {
  3463. size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) CarType);
  3464. }
  3465. if (_unknownFields != null) {
  3466. size += _unknownFields.CalculateSize();
  3467. }
  3468. return size;
  3469. }
  3470. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3471. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  3472. public void MergeFrom(Parkspace_confirm_alloc_request_msg other) {
  3473. if (other == null) {
  3474. return;
  3475. }
  3476. if (other.baseInfo_ != null) {
  3477. if (baseInfo_ == null) {
  3478. BaseInfo = new global::Message.Base_info();
  3479. }
  3480. BaseInfo.MergeFrom(other.BaseInfo);
  3481. }
  3482. if (other.HasCommandKey) {
  3483. CommandKey = other.CommandKey;
  3484. }
  3485. confirmParkspaceInfoEx_.Add(other.confirmParkspaceInfoEx_);
  3486. if (other.HasCarType) {
  3487. CarType = other.CarType;
  3488. }
  3489. _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
  3490. }
  3491. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3492. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  3493. public void MergeFrom(pb::CodedInputStream input) {
  3494. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  3495. input.ReadRawMessage(this);
  3496. #else
  3497. uint tag;
  3498. while ((tag = input.ReadTag()) != 0) {
  3499. switch(tag) {
  3500. default:
  3501. _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
  3502. break;
  3503. case 10: {
  3504. if (baseInfo_ == null) {
  3505. BaseInfo = new global::Message.Base_info();
  3506. }
  3507. input.ReadMessage(BaseInfo);
  3508. break;
  3509. }
  3510. case 18: {
  3511. CommandKey = input.ReadString();
  3512. break;
  3513. }
  3514. case 26: {
  3515. confirmParkspaceInfoEx_.AddEntriesFrom(input, _repeated_confirmParkspaceInfoEx_codec);
  3516. break;
  3517. }
  3518. case 32: {
  3519. CarType = (global::Message.Car_type) input.ReadEnum();
  3520. break;
  3521. }
  3522. }
  3523. }
  3524. #endif
  3525. }
  3526. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  3527. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3528. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  3529. void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
  3530. uint tag;
  3531. while ((tag = input.ReadTag()) != 0) {
  3532. switch(tag) {
  3533. default:
  3534. _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
  3535. break;
  3536. case 10: {
  3537. if (baseInfo_ == null) {
  3538. BaseInfo = new global::Message.Base_info();
  3539. }
  3540. input.ReadMessage(BaseInfo);
  3541. break;
  3542. }
  3543. case 18: {
  3544. CommandKey = input.ReadString();
  3545. break;
  3546. }
  3547. case 26: {
  3548. confirmParkspaceInfoEx_.AddEntriesFrom(ref input, _repeated_confirmParkspaceInfoEx_codec);
  3549. break;
  3550. }
  3551. case 32: {
  3552. CarType = (global::Message.Car_type) input.ReadEnum();
  3553. break;
  3554. }
  3555. }
  3556. }
  3557. }
  3558. #endif
  3559. }
  3560. /// <summary>
  3561. ///确认分配车位反馈
  3562. /// </summary>
  3563. public sealed partial class Parkspace_confirm_alloc_response_msg : pb::IMessage<Parkspace_confirm_alloc_response_msg>
  3564. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  3565. , pb::IBufferMessage
  3566. #endif
  3567. {
  3568. private static readonly pb::MessageParser<Parkspace_confirm_alloc_response_msg> _parser = new pb::MessageParser<Parkspace_confirm_alloc_response_msg>(() => new Parkspace_confirm_alloc_response_msg());
  3569. private pb::UnknownFieldSet _unknownFields;
  3570. private int _hasBits0;
  3571. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3572. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  3573. public static pb::MessageParser<Parkspace_confirm_alloc_response_msg> Parser { get { return _parser; } }
  3574. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3575. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  3576. public static pbr::MessageDescriptor Descriptor {
  3577. get { return global::Message.ParkspaceAllocationMessageReflection.Descriptor.MessageTypes[11]; }
  3578. }
  3579. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3580. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  3581. pbr::MessageDescriptor pb::IMessage.Descriptor {
  3582. get { return Descriptor; }
  3583. }
  3584. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3585. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  3586. public Parkspace_confirm_alloc_response_msg() {
  3587. OnConstruction();
  3588. }
  3589. partial void OnConstruction();
  3590. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3591. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  3592. public Parkspace_confirm_alloc_response_msg(Parkspace_confirm_alloc_response_msg other) : this() {
  3593. _hasBits0 = other._hasBits0;
  3594. baseInfo_ = other.baseInfo_ != null ? other.baseInfo_.Clone() : null;
  3595. commandKey_ = other.commandKey_;
  3596. errorManager_ = other.errorManager_ != null ? other.errorManager_.Clone() : null;
  3597. confirmParkspaceInfoEx_ = other.confirmParkspaceInfoEx_.Clone();
  3598. carType_ = other.carType_;
  3599. _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
  3600. }
  3601. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3602. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  3603. public Parkspace_confirm_alloc_response_msg Clone() {
  3604. return new Parkspace_confirm_alloc_response_msg(this);
  3605. }
  3606. /// <summary>Field number for the "base_info" field.</summary>
  3607. public const int BaseInfoFieldNumber = 1;
  3608. private global::Message.Base_info baseInfo_;
  3609. /// <summary>
  3610. ///消息类型
  3611. /// </summary>
  3612. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3613. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  3614. public global::Message.Base_info BaseInfo {
  3615. get { return baseInfo_; }
  3616. set {
  3617. baseInfo_ = value;
  3618. }
  3619. }
  3620. /// <summary>Field number for the "command_key" field.</summary>
  3621. public const int CommandKeyFieldNumber = 2;
  3622. private readonly static string CommandKeyDefaultValue = "";
  3623. private string commandKey_;
  3624. /// <summary>
  3625. ///指令唯一标识符id
  3626. /// </summary>
  3627. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3628. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  3629. public string CommandKey {
  3630. get { return commandKey_ ?? CommandKeyDefaultValue; }
  3631. set {
  3632. commandKey_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
  3633. }
  3634. }
  3635. /// <summary>Gets whether the "command_key" field is set</summary>
  3636. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3637. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  3638. public bool HasCommandKey {
  3639. get { return commandKey_ != null; }
  3640. }
  3641. /// <summary>Clears the value of the "command_key" field</summary>
  3642. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3643. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  3644. public void ClearCommandKey() {
  3645. commandKey_ = null;
  3646. }
  3647. /// <summary>Field number for the "error_manager" field.</summary>
  3648. public const int ErrorManagerFieldNumber = 3;
  3649. private global::Message.Error_manager errorManager_;
  3650. /// <summary>
  3651. ///分配成功与否标志
  3652. /// </summary>
  3653. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3654. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  3655. public global::Message.Error_manager ErrorManager {
  3656. get { return errorManager_; }
  3657. set {
  3658. errorManager_ = value;
  3659. }
  3660. }
  3661. /// <summary>Field number for the "confirm_parkspace_info_ex" field.</summary>
  3662. public const int ConfirmParkspaceInfoExFieldNumber = 4;
  3663. private static readonly pb::FieldCodec<global::Message.Parkspace_info> _repeated_confirmParkspaceInfoEx_codec
  3664. = pb::FieldCodec.ForMessage(34, global::Message.Parkspace_info.Parser);
  3665. private readonly pbc::RepeatedField<global::Message.Parkspace_info> confirmParkspaceInfoEx_ = new pbc::RepeatedField<global::Message.Parkspace_info>();
  3666. /// <summary>
  3667. ///已修改后的车位信息
  3668. /// </summary>
  3669. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3670. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  3671. public pbc::RepeatedField<global::Message.Parkspace_info> ConfirmParkspaceInfoEx {
  3672. get { return confirmParkspaceInfoEx_; }
  3673. }
  3674. /// <summary>Field number for the "car_type" field.</summary>
  3675. public const int CarTypeFieldNumber = 5;
  3676. private readonly static global::Message.Car_type CarTypeDefaultValue = global::Message.Car_type.UnknowCarType;
  3677. private global::Message.Car_type carType_;
  3678. /// <summary>
  3679. ///汽车类型
  3680. /// </summary>
  3681. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3682. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  3683. public global::Message.Car_type CarType {
  3684. get { if ((_hasBits0 & 1) != 0) { return carType_; } else { return CarTypeDefaultValue; } }
  3685. set {
  3686. _hasBits0 |= 1;
  3687. carType_ = value;
  3688. }
  3689. }
  3690. /// <summary>Gets whether the "car_type" field is set</summary>
  3691. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3692. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  3693. public bool HasCarType {
  3694. get { return (_hasBits0 & 1) != 0; }
  3695. }
  3696. /// <summary>Clears the value of the "car_type" field</summary>
  3697. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3698. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  3699. public void ClearCarType() {
  3700. _hasBits0 &= ~1;
  3701. }
  3702. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3703. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  3704. public override bool Equals(object other) {
  3705. return Equals(other as Parkspace_confirm_alloc_response_msg);
  3706. }
  3707. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3708. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  3709. public bool Equals(Parkspace_confirm_alloc_response_msg other) {
  3710. if (ReferenceEquals(other, null)) {
  3711. return false;
  3712. }
  3713. if (ReferenceEquals(other, this)) {
  3714. return true;
  3715. }
  3716. if (!object.Equals(BaseInfo, other.BaseInfo)) return false;
  3717. if (CommandKey != other.CommandKey) return false;
  3718. if (!object.Equals(ErrorManager, other.ErrorManager)) return false;
  3719. if(!confirmParkspaceInfoEx_.Equals(other.confirmParkspaceInfoEx_)) return false;
  3720. if (CarType != other.CarType) return false;
  3721. return Equals(_unknownFields, other._unknownFields);
  3722. }
  3723. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3724. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  3725. public override int GetHashCode() {
  3726. int hash = 1;
  3727. if (baseInfo_ != null) hash ^= BaseInfo.GetHashCode();
  3728. if (HasCommandKey) hash ^= CommandKey.GetHashCode();
  3729. if (errorManager_ != null) hash ^= ErrorManager.GetHashCode();
  3730. hash ^= confirmParkspaceInfoEx_.GetHashCode();
  3731. if (HasCarType) hash ^= CarType.GetHashCode();
  3732. if (_unknownFields != null) {
  3733. hash ^= _unknownFields.GetHashCode();
  3734. }
  3735. return hash;
  3736. }
  3737. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3738. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  3739. public override string ToString() {
  3740. return pb::JsonFormatter.ToDiagnosticString(this);
  3741. }
  3742. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3743. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  3744. public void WriteTo(pb::CodedOutputStream output) {
  3745. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  3746. output.WriteRawMessage(this);
  3747. #else
  3748. if (baseInfo_ != null) {
  3749. output.WriteRawTag(10);
  3750. output.WriteMessage(BaseInfo);
  3751. }
  3752. if (HasCommandKey) {
  3753. output.WriteRawTag(18);
  3754. output.WriteString(CommandKey);
  3755. }
  3756. if (errorManager_ != null) {
  3757. output.WriteRawTag(26);
  3758. output.WriteMessage(ErrorManager);
  3759. }
  3760. confirmParkspaceInfoEx_.WriteTo(output, _repeated_confirmParkspaceInfoEx_codec);
  3761. if (HasCarType) {
  3762. output.WriteRawTag(40);
  3763. output.WriteEnum((int) CarType);
  3764. }
  3765. if (_unknownFields != null) {
  3766. _unknownFields.WriteTo(output);
  3767. }
  3768. #endif
  3769. }
  3770. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  3771. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3772. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  3773. void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
  3774. if (baseInfo_ != null) {
  3775. output.WriteRawTag(10);
  3776. output.WriteMessage(BaseInfo);
  3777. }
  3778. if (HasCommandKey) {
  3779. output.WriteRawTag(18);
  3780. output.WriteString(CommandKey);
  3781. }
  3782. if (errorManager_ != null) {
  3783. output.WriteRawTag(26);
  3784. output.WriteMessage(ErrorManager);
  3785. }
  3786. confirmParkspaceInfoEx_.WriteTo(ref output, _repeated_confirmParkspaceInfoEx_codec);
  3787. if (HasCarType) {
  3788. output.WriteRawTag(40);
  3789. output.WriteEnum((int) CarType);
  3790. }
  3791. if (_unknownFields != null) {
  3792. _unknownFields.WriteTo(ref output);
  3793. }
  3794. }
  3795. #endif
  3796. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3797. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  3798. public int CalculateSize() {
  3799. int size = 0;
  3800. if (baseInfo_ != null) {
  3801. size += 1 + pb::CodedOutputStream.ComputeMessageSize(BaseInfo);
  3802. }
  3803. if (HasCommandKey) {
  3804. size += 1 + pb::CodedOutputStream.ComputeStringSize(CommandKey);
  3805. }
  3806. if (errorManager_ != null) {
  3807. size += 1 + pb::CodedOutputStream.ComputeMessageSize(ErrorManager);
  3808. }
  3809. size += confirmParkspaceInfoEx_.CalculateSize(_repeated_confirmParkspaceInfoEx_codec);
  3810. if (HasCarType) {
  3811. size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) CarType);
  3812. }
  3813. if (_unknownFields != null) {
  3814. size += _unknownFields.CalculateSize();
  3815. }
  3816. return size;
  3817. }
  3818. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3819. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  3820. public void MergeFrom(Parkspace_confirm_alloc_response_msg other) {
  3821. if (other == null) {
  3822. return;
  3823. }
  3824. if (other.baseInfo_ != null) {
  3825. if (baseInfo_ == null) {
  3826. BaseInfo = new global::Message.Base_info();
  3827. }
  3828. BaseInfo.MergeFrom(other.BaseInfo);
  3829. }
  3830. if (other.HasCommandKey) {
  3831. CommandKey = other.CommandKey;
  3832. }
  3833. if (other.errorManager_ != null) {
  3834. if (errorManager_ == null) {
  3835. ErrorManager = new global::Message.Error_manager();
  3836. }
  3837. ErrorManager.MergeFrom(other.ErrorManager);
  3838. }
  3839. confirmParkspaceInfoEx_.Add(other.confirmParkspaceInfoEx_);
  3840. if (other.HasCarType) {
  3841. CarType = other.CarType;
  3842. }
  3843. _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
  3844. }
  3845. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3846. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  3847. public void MergeFrom(pb::CodedInputStream input) {
  3848. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  3849. input.ReadRawMessage(this);
  3850. #else
  3851. uint tag;
  3852. while ((tag = input.ReadTag()) != 0) {
  3853. switch(tag) {
  3854. default:
  3855. _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
  3856. break;
  3857. case 10: {
  3858. if (baseInfo_ == null) {
  3859. BaseInfo = new global::Message.Base_info();
  3860. }
  3861. input.ReadMessage(BaseInfo);
  3862. break;
  3863. }
  3864. case 18: {
  3865. CommandKey = input.ReadString();
  3866. break;
  3867. }
  3868. case 26: {
  3869. if (errorManager_ == null) {
  3870. ErrorManager = new global::Message.Error_manager();
  3871. }
  3872. input.ReadMessage(ErrorManager);
  3873. break;
  3874. }
  3875. case 34: {
  3876. confirmParkspaceInfoEx_.AddEntriesFrom(input, _repeated_confirmParkspaceInfoEx_codec);
  3877. break;
  3878. }
  3879. case 40: {
  3880. CarType = (global::Message.Car_type) input.ReadEnum();
  3881. break;
  3882. }
  3883. }
  3884. }
  3885. #endif
  3886. }
  3887. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  3888. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3889. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  3890. void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
  3891. uint tag;
  3892. while ((tag = input.ReadTag()) != 0) {
  3893. switch(tag) {
  3894. default:
  3895. _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
  3896. break;
  3897. case 10: {
  3898. if (baseInfo_ == null) {
  3899. BaseInfo = new global::Message.Base_info();
  3900. }
  3901. input.ReadMessage(BaseInfo);
  3902. break;
  3903. }
  3904. case 18: {
  3905. CommandKey = input.ReadString();
  3906. break;
  3907. }
  3908. case 26: {
  3909. if (errorManager_ == null) {
  3910. ErrorManager = new global::Message.Error_manager();
  3911. }
  3912. input.ReadMessage(ErrorManager);
  3913. break;
  3914. }
  3915. case 34: {
  3916. confirmParkspaceInfoEx_.AddEntriesFrom(ref input, _repeated_confirmParkspaceInfoEx_codec);
  3917. break;
  3918. }
  3919. case 40: {
  3920. CarType = (global::Message.Car_type) input.ReadEnum();
  3921. break;
  3922. }
  3923. }
  3924. }
  3925. }
  3926. #endif
  3927. }
  3928. /// <summary>
  3929. /// 车位心跳状态信息
  3930. /// </summary>
  3931. public sealed partial class Parkspace_allocation_status_msg : pb::IMessage<Parkspace_allocation_status_msg>
  3932. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  3933. , pb::IBufferMessage
  3934. #endif
  3935. {
  3936. private static readonly pb::MessageParser<Parkspace_allocation_status_msg> _parser = new pb::MessageParser<Parkspace_allocation_status_msg>(() => new Parkspace_allocation_status_msg());
  3937. private pb::UnknownFieldSet _unknownFields;
  3938. private int _hasBits0;
  3939. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3940. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  3941. public static pb::MessageParser<Parkspace_allocation_status_msg> Parser { get { return _parser; } }
  3942. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3943. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  3944. public static pbr::MessageDescriptor Descriptor {
  3945. get { return global::Message.ParkspaceAllocationMessageReflection.Descriptor.MessageTypes[12]; }
  3946. }
  3947. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3948. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  3949. pbr::MessageDescriptor pb::IMessage.Descriptor {
  3950. get { return Descriptor; }
  3951. }
  3952. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3953. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  3954. public Parkspace_allocation_status_msg() {
  3955. OnConstruction();
  3956. }
  3957. partial void OnConstruction();
  3958. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3959. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  3960. public Parkspace_allocation_status_msg(Parkspace_allocation_status_msg other) : this() {
  3961. _hasBits0 = other._hasBits0;
  3962. baseInfo_ = other.baseInfo_ != null ? other.baseInfo_.Clone() : null;
  3963. errorManager_ = other.errorManager_ != null ? other.errorManager_.Clone() : null;
  3964. databaseControllerStatus_ = other.databaseControllerStatus_;
  3965. parkspaceManagerSatus_ = other.parkspaceManagerSatus_;
  3966. unitId_ = other.unitId_;
  3967. smallParkspaceRemainingNumber_ = other.smallParkspaceRemainingNumber_;
  3968. mediumParkspaceRemainingNumber_ = other.mediumParkspaceRemainingNumber_;
  3969. largeParkspaceRemainingNumber_ = other.largeParkspaceRemainingNumber_;
  3970. totalParkspaceRemainingNumber_ = other.totalParkspaceRemainingNumber_;
  3971. _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
  3972. }
  3973. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3974. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  3975. public Parkspace_allocation_status_msg Clone() {
  3976. return new Parkspace_allocation_status_msg(this);
  3977. }
  3978. /// <summary>Field number for the "base_info" field.</summary>
  3979. public const int BaseInfoFieldNumber = 1;
  3980. private global::Message.Base_info baseInfo_;
  3981. /// <summary>
  3982. ///消息类型
  3983. /// </summary>
  3984. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3985. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  3986. public global::Message.Base_info BaseInfo {
  3987. get { return baseInfo_; }
  3988. set {
  3989. baseInfo_ = value;
  3990. }
  3991. }
  3992. /// <summary>Field number for the "error_manager" field.</summary>
  3993. public const int ErrorManagerFieldNumber = 2;
  3994. private global::Message.Error_manager errorManager_;
  3995. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3996. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  3997. public global::Message.Error_manager ErrorManager {
  3998. get { return errorManager_; }
  3999. set {
  4000. errorManager_ = value;
  4001. }
  4002. }
  4003. /// <summary>Field number for the "database_controller_status" field.</summary>
  4004. public const int DatabaseControllerStatusFieldNumber = 3;
  4005. private readonly static global::Message.Database_controller_status DatabaseControllerStatusDefaultValue = global::Message.Database_controller_status.EUnknown;
  4006. private global::Message.Database_controller_status databaseControllerStatus_;
  4007. /// <summary>
  4008. ///数据库的状态
  4009. /// </summary>
  4010. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4011. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  4012. public global::Message.Database_controller_status DatabaseControllerStatus {
  4013. get { if ((_hasBits0 & 1) != 0) { return databaseControllerStatus_; } else { return DatabaseControllerStatusDefaultValue; } }
  4014. set {
  4015. _hasBits0 |= 1;
  4016. databaseControllerStatus_ = value;
  4017. }
  4018. }
  4019. /// <summary>Gets whether the "database_controller_status" field is set</summary>
  4020. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4021. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  4022. public bool HasDatabaseControllerStatus {
  4023. get { return (_hasBits0 & 1) != 0; }
  4024. }
  4025. /// <summary>Clears the value of the "database_controller_status" field</summary>
  4026. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4027. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  4028. public void ClearDatabaseControllerStatus() {
  4029. _hasBits0 &= ~1;
  4030. }
  4031. /// <summary>Field number for the "parkspace_manager_satus" field.</summary>
  4032. public const int ParkspaceManagerSatusFieldNumber = 4;
  4033. private readonly static global::Message.Parkspace_manager_satus ParkspaceManagerSatusDefaultValue = global::Message.Parkspace_manager_satus.EParkspaceManagerUnknown;
  4034. private global::Message.Parkspace_manager_satus parkspaceManagerSatus_;
  4035. /// <summary>
  4036. ///车位管理状态
  4037. /// </summary>
  4038. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4039. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  4040. public global::Message.Parkspace_manager_satus ParkspaceManagerSatus {
  4041. get { if ((_hasBits0 & 2) != 0) { return parkspaceManagerSatus_; } else { return ParkspaceManagerSatusDefaultValue; } }
  4042. set {
  4043. _hasBits0 |= 2;
  4044. parkspaceManagerSatus_ = value;
  4045. }
  4046. }
  4047. /// <summary>Gets whether the "parkspace_manager_satus" field is set</summary>
  4048. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4049. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  4050. public bool HasParkspaceManagerSatus {
  4051. get { return (_hasBits0 & 2) != 0; }
  4052. }
  4053. /// <summary>Clears the value of the "parkspace_manager_satus" field</summary>
  4054. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4055. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  4056. public void ClearParkspaceManagerSatus() {
  4057. _hasBits0 &= ~2;
  4058. }
  4059. /// <summary>Field number for the "unit_id" field.</summary>
  4060. public const int UnitIdFieldNumber = 5;
  4061. private readonly static int UnitIdDefaultValue = 0;
  4062. private int unitId_;
  4063. /// <summary>
  4064. ///单元号
  4065. /// </summary>
  4066. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4067. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  4068. public int UnitId {
  4069. get { if ((_hasBits0 & 4) != 0) { return unitId_; } else { return UnitIdDefaultValue; } }
  4070. set {
  4071. _hasBits0 |= 4;
  4072. unitId_ = value;
  4073. }
  4074. }
  4075. /// <summary>Gets whether the "unit_id" field is set</summary>
  4076. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4077. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  4078. public bool HasUnitId {
  4079. get { return (_hasBits0 & 4) != 0; }
  4080. }
  4081. /// <summary>Clears the value of the "unit_id" field</summary>
  4082. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4083. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  4084. public void ClearUnitId() {
  4085. _hasBits0 &= ~4;
  4086. }
  4087. /// <summary>Field number for the "small_parkspace_remaining_number" field.</summary>
  4088. public const int SmallParkspaceRemainingNumberFieldNumber = 6;
  4089. private readonly static int SmallParkspaceRemainingNumberDefaultValue = 0;
  4090. private int smallParkspaceRemainingNumber_;
  4091. /// <summary>
  4092. ///小型车位剩余数量
  4093. /// </summary>
  4094. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4095. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  4096. public int SmallParkspaceRemainingNumber {
  4097. get { if ((_hasBits0 & 8) != 0) { return smallParkspaceRemainingNumber_; } else { return SmallParkspaceRemainingNumberDefaultValue; } }
  4098. set {
  4099. _hasBits0 |= 8;
  4100. smallParkspaceRemainingNumber_ = value;
  4101. }
  4102. }
  4103. /// <summary>Gets whether the "small_parkspace_remaining_number" field is set</summary>
  4104. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4105. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  4106. public bool HasSmallParkspaceRemainingNumber {
  4107. get { return (_hasBits0 & 8) != 0; }
  4108. }
  4109. /// <summary>Clears the value of the "small_parkspace_remaining_number" field</summary>
  4110. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4111. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  4112. public void ClearSmallParkspaceRemainingNumber() {
  4113. _hasBits0 &= ~8;
  4114. }
  4115. /// <summary>Field number for the "medium_parkspace_remaining_number" field.</summary>
  4116. public const int MediumParkspaceRemainingNumberFieldNumber = 7;
  4117. private readonly static int MediumParkspaceRemainingNumberDefaultValue = 0;
  4118. private int mediumParkspaceRemainingNumber_;
  4119. /// <summary>
  4120. ///中型车位剩余数量
  4121. /// </summary>
  4122. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4123. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  4124. public int MediumParkspaceRemainingNumber {
  4125. get { if ((_hasBits0 & 16) != 0) { return mediumParkspaceRemainingNumber_; } else { return MediumParkspaceRemainingNumberDefaultValue; } }
  4126. set {
  4127. _hasBits0 |= 16;
  4128. mediumParkspaceRemainingNumber_ = value;
  4129. }
  4130. }
  4131. /// <summary>Gets whether the "medium_parkspace_remaining_number" field is set</summary>
  4132. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4133. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  4134. public bool HasMediumParkspaceRemainingNumber {
  4135. get { return (_hasBits0 & 16) != 0; }
  4136. }
  4137. /// <summary>Clears the value of the "medium_parkspace_remaining_number" field</summary>
  4138. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4139. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  4140. public void ClearMediumParkspaceRemainingNumber() {
  4141. _hasBits0 &= ~16;
  4142. }
  4143. /// <summary>Field number for the "large_parkspace_remaining_number" field.</summary>
  4144. public const int LargeParkspaceRemainingNumberFieldNumber = 8;
  4145. private readonly static int LargeParkspaceRemainingNumberDefaultValue = 0;
  4146. private int largeParkspaceRemainingNumber_;
  4147. /// <summary>
  4148. ///大型车位剩余数量
  4149. /// </summary>
  4150. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4151. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  4152. public int LargeParkspaceRemainingNumber {
  4153. get { if ((_hasBits0 & 32) != 0) { return largeParkspaceRemainingNumber_; } else { return LargeParkspaceRemainingNumberDefaultValue; } }
  4154. set {
  4155. _hasBits0 |= 32;
  4156. largeParkspaceRemainingNumber_ = value;
  4157. }
  4158. }
  4159. /// <summary>Gets whether the "large_parkspace_remaining_number" field is set</summary>
  4160. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4161. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  4162. public bool HasLargeParkspaceRemainingNumber {
  4163. get { return (_hasBits0 & 32) != 0; }
  4164. }
  4165. /// <summary>Clears the value of the "large_parkspace_remaining_number" field</summary>
  4166. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4167. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  4168. public void ClearLargeParkspaceRemainingNumber() {
  4169. _hasBits0 &= ~32;
  4170. }
  4171. /// <summary>Field number for the "total_parkspace_remaining_number" field.</summary>
  4172. public const int TotalParkspaceRemainingNumberFieldNumber = 9;
  4173. private readonly static int TotalParkspaceRemainingNumberDefaultValue = 0;
  4174. private int totalParkspaceRemainingNumber_;
  4175. /// <summary>
  4176. ///所有车位剩余数量
  4177. /// </summary>
  4178. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4179. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  4180. public int TotalParkspaceRemainingNumber {
  4181. get { if ((_hasBits0 & 64) != 0) { return totalParkspaceRemainingNumber_; } else { return TotalParkspaceRemainingNumberDefaultValue; } }
  4182. set {
  4183. _hasBits0 |= 64;
  4184. totalParkspaceRemainingNumber_ = value;
  4185. }
  4186. }
  4187. /// <summary>Gets whether the "total_parkspace_remaining_number" field is set</summary>
  4188. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4189. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  4190. public bool HasTotalParkspaceRemainingNumber {
  4191. get { return (_hasBits0 & 64) != 0; }
  4192. }
  4193. /// <summary>Clears the value of the "total_parkspace_remaining_number" field</summary>
  4194. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4195. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  4196. public void ClearTotalParkspaceRemainingNumber() {
  4197. _hasBits0 &= ~64;
  4198. }
  4199. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4200. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  4201. public override bool Equals(object other) {
  4202. return Equals(other as Parkspace_allocation_status_msg);
  4203. }
  4204. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4205. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  4206. public bool Equals(Parkspace_allocation_status_msg other) {
  4207. if (ReferenceEquals(other, null)) {
  4208. return false;
  4209. }
  4210. if (ReferenceEquals(other, this)) {
  4211. return true;
  4212. }
  4213. if (!object.Equals(BaseInfo, other.BaseInfo)) return false;
  4214. if (!object.Equals(ErrorManager, other.ErrorManager)) return false;
  4215. if (DatabaseControllerStatus != other.DatabaseControllerStatus) return false;
  4216. if (ParkspaceManagerSatus != other.ParkspaceManagerSatus) return false;
  4217. if (UnitId != other.UnitId) return false;
  4218. if (SmallParkspaceRemainingNumber != other.SmallParkspaceRemainingNumber) return false;
  4219. if (MediumParkspaceRemainingNumber != other.MediumParkspaceRemainingNumber) return false;
  4220. if (LargeParkspaceRemainingNumber != other.LargeParkspaceRemainingNumber) return false;
  4221. if (TotalParkspaceRemainingNumber != other.TotalParkspaceRemainingNumber) return false;
  4222. return Equals(_unknownFields, other._unknownFields);
  4223. }
  4224. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4225. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  4226. public override int GetHashCode() {
  4227. int hash = 1;
  4228. if (baseInfo_ != null) hash ^= BaseInfo.GetHashCode();
  4229. if (errorManager_ != null) hash ^= ErrorManager.GetHashCode();
  4230. if (HasDatabaseControllerStatus) hash ^= DatabaseControllerStatus.GetHashCode();
  4231. if (HasParkspaceManagerSatus) hash ^= ParkspaceManagerSatus.GetHashCode();
  4232. if (HasUnitId) hash ^= UnitId.GetHashCode();
  4233. if (HasSmallParkspaceRemainingNumber) hash ^= SmallParkspaceRemainingNumber.GetHashCode();
  4234. if (HasMediumParkspaceRemainingNumber) hash ^= MediumParkspaceRemainingNumber.GetHashCode();
  4235. if (HasLargeParkspaceRemainingNumber) hash ^= LargeParkspaceRemainingNumber.GetHashCode();
  4236. if (HasTotalParkspaceRemainingNumber) hash ^= TotalParkspaceRemainingNumber.GetHashCode();
  4237. if (_unknownFields != null) {
  4238. hash ^= _unknownFields.GetHashCode();
  4239. }
  4240. return hash;
  4241. }
  4242. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4243. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  4244. public override string ToString() {
  4245. return pb::JsonFormatter.ToDiagnosticString(this);
  4246. }
  4247. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4248. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  4249. public void WriteTo(pb::CodedOutputStream output) {
  4250. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  4251. output.WriteRawMessage(this);
  4252. #else
  4253. if (baseInfo_ != null) {
  4254. output.WriteRawTag(10);
  4255. output.WriteMessage(BaseInfo);
  4256. }
  4257. if (errorManager_ != null) {
  4258. output.WriteRawTag(18);
  4259. output.WriteMessage(ErrorManager);
  4260. }
  4261. if (HasDatabaseControllerStatus) {
  4262. output.WriteRawTag(24);
  4263. output.WriteEnum((int) DatabaseControllerStatus);
  4264. }
  4265. if (HasParkspaceManagerSatus) {
  4266. output.WriteRawTag(32);
  4267. output.WriteEnum((int) ParkspaceManagerSatus);
  4268. }
  4269. if (HasUnitId) {
  4270. output.WriteRawTag(40);
  4271. output.WriteInt32(UnitId);
  4272. }
  4273. if (HasSmallParkspaceRemainingNumber) {
  4274. output.WriteRawTag(48);
  4275. output.WriteInt32(SmallParkspaceRemainingNumber);
  4276. }
  4277. if (HasMediumParkspaceRemainingNumber) {
  4278. output.WriteRawTag(56);
  4279. output.WriteInt32(MediumParkspaceRemainingNumber);
  4280. }
  4281. if (HasLargeParkspaceRemainingNumber) {
  4282. output.WriteRawTag(64);
  4283. output.WriteInt32(LargeParkspaceRemainingNumber);
  4284. }
  4285. if (HasTotalParkspaceRemainingNumber) {
  4286. output.WriteRawTag(72);
  4287. output.WriteInt32(TotalParkspaceRemainingNumber);
  4288. }
  4289. if (_unknownFields != null) {
  4290. _unknownFields.WriteTo(output);
  4291. }
  4292. #endif
  4293. }
  4294. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  4295. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4296. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  4297. void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
  4298. if (baseInfo_ != null) {
  4299. output.WriteRawTag(10);
  4300. output.WriteMessage(BaseInfo);
  4301. }
  4302. if (errorManager_ != null) {
  4303. output.WriteRawTag(18);
  4304. output.WriteMessage(ErrorManager);
  4305. }
  4306. if (HasDatabaseControllerStatus) {
  4307. output.WriteRawTag(24);
  4308. output.WriteEnum((int) DatabaseControllerStatus);
  4309. }
  4310. if (HasParkspaceManagerSatus) {
  4311. output.WriteRawTag(32);
  4312. output.WriteEnum((int) ParkspaceManagerSatus);
  4313. }
  4314. if (HasUnitId) {
  4315. output.WriteRawTag(40);
  4316. output.WriteInt32(UnitId);
  4317. }
  4318. if (HasSmallParkspaceRemainingNumber) {
  4319. output.WriteRawTag(48);
  4320. output.WriteInt32(SmallParkspaceRemainingNumber);
  4321. }
  4322. if (HasMediumParkspaceRemainingNumber) {
  4323. output.WriteRawTag(56);
  4324. output.WriteInt32(MediumParkspaceRemainingNumber);
  4325. }
  4326. if (HasLargeParkspaceRemainingNumber) {
  4327. output.WriteRawTag(64);
  4328. output.WriteInt32(LargeParkspaceRemainingNumber);
  4329. }
  4330. if (HasTotalParkspaceRemainingNumber) {
  4331. output.WriteRawTag(72);
  4332. output.WriteInt32(TotalParkspaceRemainingNumber);
  4333. }
  4334. if (_unknownFields != null) {
  4335. _unknownFields.WriteTo(ref output);
  4336. }
  4337. }
  4338. #endif
  4339. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4340. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  4341. public int CalculateSize() {
  4342. int size = 0;
  4343. if (baseInfo_ != null) {
  4344. size += 1 + pb::CodedOutputStream.ComputeMessageSize(BaseInfo);
  4345. }
  4346. if (errorManager_ != null) {
  4347. size += 1 + pb::CodedOutputStream.ComputeMessageSize(ErrorManager);
  4348. }
  4349. if (HasDatabaseControllerStatus) {
  4350. size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) DatabaseControllerStatus);
  4351. }
  4352. if (HasParkspaceManagerSatus) {
  4353. size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) ParkspaceManagerSatus);
  4354. }
  4355. if (HasUnitId) {
  4356. size += 1 + pb::CodedOutputStream.ComputeInt32Size(UnitId);
  4357. }
  4358. if (HasSmallParkspaceRemainingNumber) {
  4359. size += 1 + pb::CodedOutputStream.ComputeInt32Size(SmallParkspaceRemainingNumber);
  4360. }
  4361. if (HasMediumParkspaceRemainingNumber) {
  4362. size += 1 + pb::CodedOutputStream.ComputeInt32Size(MediumParkspaceRemainingNumber);
  4363. }
  4364. if (HasLargeParkspaceRemainingNumber) {
  4365. size += 1 + pb::CodedOutputStream.ComputeInt32Size(LargeParkspaceRemainingNumber);
  4366. }
  4367. if (HasTotalParkspaceRemainingNumber) {
  4368. size += 1 + pb::CodedOutputStream.ComputeInt32Size(TotalParkspaceRemainingNumber);
  4369. }
  4370. if (_unknownFields != null) {
  4371. size += _unknownFields.CalculateSize();
  4372. }
  4373. return size;
  4374. }
  4375. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4376. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  4377. public void MergeFrom(Parkspace_allocation_status_msg other) {
  4378. if (other == null) {
  4379. return;
  4380. }
  4381. if (other.baseInfo_ != null) {
  4382. if (baseInfo_ == null) {
  4383. BaseInfo = new global::Message.Base_info();
  4384. }
  4385. BaseInfo.MergeFrom(other.BaseInfo);
  4386. }
  4387. if (other.errorManager_ != null) {
  4388. if (errorManager_ == null) {
  4389. ErrorManager = new global::Message.Error_manager();
  4390. }
  4391. ErrorManager.MergeFrom(other.ErrorManager);
  4392. }
  4393. if (other.HasDatabaseControllerStatus) {
  4394. DatabaseControllerStatus = other.DatabaseControllerStatus;
  4395. }
  4396. if (other.HasParkspaceManagerSatus) {
  4397. ParkspaceManagerSatus = other.ParkspaceManagerSatus;
  4398. }
  4399. if (other.HasUnitId) {
  4400. UnitId = other.UnitId;
  4401. }
  4402. if (other.HasSmallParkspaceRemainingNumber) {
  4403. SmallParkspaceRemainingNumber = other.SmallParkspaceRemainingNumber;
  4404. }
  4405. if (other.HasMediumParkspaceRemainingNumber) {
  4406. MediumParkspaceRemainingNumber = other.MediumParkspaceRemainingNumber;
  4407. }
  4408. if (other.HasLargeParkspaceRemainingNumber) {
  4409. LargeParkspaceRemainingNumber = other.LargeParkspaceRemainingNumber;
  4410. }
  4411. if (other.HasTotalParkspaceRemainingNumber) {
  4412. TotalParkspaceRemainingNumber = other.TotalParkspaceRemainingNumber;
  4413. }
  4414. _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
  4415. }
  4416. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4417. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  4418. public void MergeFrom(pb::CodedInputStream input) {
  4419. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  4420. input.ReadRawMessage(this);
  4421. #else
  4422. uint tag;
  4423. while ((tag = input.ReadTag()) != 0) {
  4424. switch(tag) {
  4425. default:
  4426. _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
  4427. break;
  4428. case 10: {
  4429. if (baseInfo_ == null) {
  4430. BaseInfo = new global::Message.Base_info();
  4431. }
  4432. input.ReadMessage(BaseInfo);
  4433. break;
  4434. }
  4435. case 18: {
  4436. if (errorManager_ == null) {
  4437. ErrorManager = new global::Message.Error_manager();
  4438. }
  4439. input.ReadMessage(ErrorManager);
  4440. break;
  4441. }
  4442. case 24: {
  4443. DatabaseControllerStatus = (global::Message.Database_controller_status) input.ReadEnum();
  4444. break;
  4445. }
  4446. case 32: {
  4447. ParkspaceManagerSatus = (global::Message.Parkspace_manager_satus) input.ReadEnum();
  4448. break;
  4449. }
  4450. case 40: {
  4451. UnitId = input.ReadInt32();
  4452. break;
  4453. }
  4454. case 48: {
  4455. SmallParkspaceRemainingNumber = input.ReadInt32();
  4456. break;
  4457. }
  4458. case 56: {
  4459. MediumParkspaceRemainingNumber = input.ReadInt32();
  4460. break;
  4461. }
  4462. case 64: {
  4463. LargeParkspaceRemainingNumber = input.ReadInt32();
  4464. break;
  4465. }
  4466. case 72: {
  4467. TotalParkspaceRemainingNumber = input.ReadInt32();
  4468. break;
  4469. }
  4470. }
  4471. }
  4472. #endif
  4473. }
  4474. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  4475. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4476. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  4477. void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
  4478. uint tag;
  4479. while ((tag = input.ReadTag()) != 0) {
  4480. switch(tag) {
  4481. default:
  4482. _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
  4483. break;
  4484. case 10: {
  4485. if (baseInfo_ == null) {
  4486. BaseInfo = new global::Message.Base_info();
  4487. }
  4488. input.ReadMessage(BaseInfo);
  4489. break;
  4490. }
  4491. case 18: {
  4492. if (errorManager_ == null) {
  4493. ErrorManager = new global::Message.Error_manager();
  4494. }
  4495. input.ReadMessage(ErrorManager);
  4496. break;
  4497. }
  4498. case 24: {
  4499. DatabaseControllerStatus = (global::Message.Database_controller_status) input.ReadEnum();
  4500. break;
  4501. }
  4502. case 32: {
  4503. ParkspaceManagerSatus = (global::Message.Parkspace_manager_satus) input.ReadEnum();
  4504. break;
  4505. }
  4506. case 40: {
  4507. UnitId = input.ReadInt32();
  4508. break;
  4509. }
  4510. case 48: {
  4511. SmallParkspaceRemainingNumber = input.ReadInt32();
  4512. break;
  4513. }
  4514. case 56: {
  4515. MediumParkspaceRemainingNumber = input.ReadInt32();
  4516. break;
  4517. }
  4518. case 64: {
  4519. LargeParkspaceRemainingNumber = input.ReadInt32();
  4520. break;
  4521. }
  4522. case 72: {
  4523. TotalParkspaceRemainingNumber = input.ReadInt32();
  4524. break;
  4525. }
  4526. }
  4527. }
  4528. }
  4529. #endif
  4530. }
  4531. /// <summary>
  4532. ///更新车位数据请求
  4533. /// </summary>
  4534. public sealed partial class Parkspace_refresh_request_msg : pb::IMessage<Parkspace_refresh_request_msg>
  4535. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  4536. , pb::IBufferMessage
  4537. #endif
  4538. {
  4539. private static readonly pb::MessageParser<Parkspace_refresh_request_msg> _parser = new pb::MessageParser<Parkspace_refresh_request_msg>(() => new Parkspace_refresh_request_msg());
  4540. private pb::UnknownFieldSet _unknownFields;
  4541. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4542. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  4543. public static pb::MessageParser<Parkspace_refresh_request_msg> Parser { get { return _parser; } }
  4544. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4545. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  4546. public static pbr::MessageDescriptor Descriptor {
  4547. get { return global::Message.ParkspaceAllocationMessageReflection.Descriptor.MessageTypes[13]; }
  4548. }
  4549. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4550. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  4551. pbr::MessageDescriptor pb::IMessage.Descriptor {
  4552. get { return Descriptor; }
  4553. }
  4554. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4555. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  4556. public Parkspace_refresh_request_msg() {
  4557. OnConstruction();
  4558. }
  4559. partial void OnConstruction();
  4560. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4561. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  4562. public Parkspace_refresh_request_msg(Parkspace_refresh_request_msg other) : this() {
  4563. baseInfo_ = other.baseInfo_ != null ? other.baseInfo_.Clone() : null;
  4564. _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
  4565. }
  4566. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4567. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  4568. public Parkspace_refresh_request_msg Clone() {
  4569. return new Parkspace_refresh_request_msg(this);
  4570. }
  4571. /// <summary>Field number for the "base_info" field.</summary>
  4572. public const int BaseInfoFieldNumber = 1;
  4573. private global::Message.Base_info baseInfo_;
  4574. /// <summary>
  4575. ///消息类型
  4576. /// </summary>
  4577. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4578. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  4579. public global::Message.Base_info BaseInfo {
  4580. get { return baseInfo_; }
  4581. set {
  4582. baseInfo_ = value;
  4583. }
  4584. }
  4585. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4586. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  4587. public override bool Equals(object other) {
  4588. return Equals(other as Parkspace_refresh_request_msg);
  4589. }
  4590. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4591. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  4592. public bool Equals(Parkspace_refresh_request_msg other) {
  4593. if (ReferenceEquals(other, null)) {
  4594. return false;
  4595. }
  4596. if (ReferenceEquals(other, this)) {
  4597. return true;
  4598. }
  4599. if (!object.Equals(BaseInfo, other.BaseInfo)) return false;
  4600. return Equals(_unknownFields, other._unknownFields);
  4601. }
  4602. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4603. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  4604. public override int GetHashCode() {
  4605. int hash = 1;
  4606. if (baseInfo_ != null) hash ^= BaseInfo.GetHashCode();
  4607. if (_unknownFields != null) {
  4608. hash ^= _unknownFields.GetHashCode();
  4609. }
  4610. return hash;
  4611. }
  4612. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4613. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  4614. public override string ToString() {
  4615. return pb::JsonFormatter.ToDiagnosticString(this);
  4616. }
  4617. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4618. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  4619. public void WriteTo(pb::CodedOutputStream output) {
  4620. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  4621. output.WriteRawMessage(this);
  4622. #else
  4623. if (baseInfo_ != null) {
  4624. output.WriteRawTag(10);
  4625. output.WriteMessage(BaseInfo);
  4626. }
  4627. if (_unknownFields != null) {
  4628. _unknownFields.WriteTo(output);
  4629. }
  4630. #endif
  4631. }
  4632. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  4633. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4634. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  4635. void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
  4636. if (baseInfo_ != null) {
  4637. output.WriteRawTag(10);
  4638. output.WriteMessage(BaseInfo);
  4639. }
  4640. if (_unknownFields != null) {
  4641. _unknownFields.WriteTo(ref output);
  4642. }
  4643. }
  4644. #endif
  4645. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4646. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  4647. public int CalculateSize() {
  4648. int size = 0;
  4649. if (baseInfo_ != null) {
  4650. size += 1 + pb::CodedOutputStream.ComputeMessageSize(BaseInfo);
  4651. }
  4652. if (_unknownFields != null) {
  4653. size += _unknownFields.CalculateSize();
  4654. }
  4655. return size;
  4656. }
  4657. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4658. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  4659. public void MergeFrom(Parkspace_refresh_request_msg other) {
  4660. if (other == null) {
  4661. return;
  4662. }
  4663. if (other.baseInfo_ != null) {
  4664. if (baseInfo_ == null) {
  4665. BaseInfo = new global::Message.Base_info();
  4666. }
  4667. BaseInfo.MergeFrom(other.BaseInfo);
  4668. }
  4669. _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
  4670. }
  4671. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4672. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  4673. public void MergeFrom(pb::CodedInputStream input) {
  4674. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  4675. input.ReadRawMessage(this);
  4676. #else
  4677. uint tag;
  4678. while ((tag = input.ReadTag()) != 0) {
  4679. switch(tag) {
  4680. default:
  4681. _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
  4682. break;
  4683. case 10: {
  4684. if (baseInfo_ == null) {
  4685. BaseInfo = new global::Message.Base_info();
  4686. }
  4687. input.ReadMessage(BaseInfo);
  4688. break;
  4689. }
  4690. }
  4691. }
  4692. #endif
  4693. }
  4694. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  4695. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4696. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  4697. void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
  4698. uint tag;
  4699. while ((tag = input.ReadTag()) != 0) {
  4700. switch(tag) {
  4701. default:
  4702. _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
  4703. break;
  4704. case 10: {
  4705. if (baseInfo_ == null) {
  4706. BaseInfo = new global::Message.Base_info();
  4707. }
  4708. input.ReadMessage(BaseInfo);
  4709. break;
  4710. }
  4711. }
  4712. }
  4713. }
  4714. #endif
  4715. }
  4716. /// <summary>
  4717. /// 车位数据信息
  4718. /// </summary>
  4719. public sealed partial class Parkspace_allocation_data_msg : pb::IMessage<Parkspace_allocation_data_msg>
  4720. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  4721. , pb::IBufferMessage
  4722. #endif
  4723. {
  4724. private static readonly pb::MessageParser<Parkspace_allocation_data_msg> _parser = new pb::MessageParser<Parkspace_allocation_data_msg>(() => new Parkspace_allocation_data_msg());
  4725. private pb::UnknownFieldSet _unknownFields;
  4726. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4727. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  4728. public static pb::MessageParser<Parkspace_allocation_data_msg> Parser { get { return _parser; } }
  4729. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4730. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  4731. public static pbr::MessageDescriptor Descriptor {
  4732. get { return global::Message.ParkspaceAllocationMessageReflection.Descriptor.MessageTypes[14]; }
  4733. }
  4734. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4735. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  4736. pbr::MessageDescriptor pb::IMessage.Descriptor {
  4737. get { return Descriptor; }
  4738. }
  4739. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4740. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  4741. public Parkspace_allocation_data_msg() {
  4742. OnConstruction();
  4743. }
  4744. partial void OnConstruction();
  4745. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4746. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  4747. public Parkspace_allocation_data_msg(Parkspace_allocation_data_msg other) : this() {
  4748. baseInfo_ = other.baseInfo_ != null ? other.baseInfo_.Clone() : null;
  4749. errorManager_ = other.errorManager_ != null ? other.errorManager_.Clone() : null;
  4750. parkspaceInfoEx_ = other.parkspaceInfoEx_.Clone();
  4751. _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
  4752. }
  4753. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4754. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  4755. public Parkspace_allocation_data_msg Clone() {
  4756. return new Parkspace_allocation_data_msg(this);
  4757. }
  4758. /// <summary>Field number for the "base_info" field.</summary>
  4759. public const int BaseInfoFieldNumber = 1;
  4760. private global::Message.Base_info baseInfo_;
  4761. /// <summary>
  4762. ///消息类型
  4763. /// </summary>
  4764. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4765. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  4766. public global::Message.Base_info BaseInfo {
  4767. get { return baseInfo_; }
  4768. set {
  4769. baseInfo_ = value;
  4770. }
  4771. }
  4772. /// <summary>Field number for the "error_manager" field.</summary>
  4773. public const int ErrorManagerFieldNumber = 2;
  4774. private global::Message.Error_manager errorManager_;
  4775. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4776. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  4777. public global::Message.Error_manager ErrorManager {
  4778. get { return errorManager_; }
  4779. set {
  4780. errorManager_ = value;
  4781. }
  4782. }
  4783. /// <summary>Field number for the "parkspace_info_ex" field.</summary>
  4784. public const int ParkspaceInfoExFieldNumber = 3;
  4785. private static readonly pb::FieldCodec<global::Message.Parkspace_info> _repeated_parkspaceInfoEx_codec
  4786. = pb::FieldCodec.ForMessage(26, global::Message.Parkspace_info.Parser);
  4787. private readonly pbc::RepeatedField<global::Message.Parkspace_info> parkspaceInfoEx_ = new pbc::RepeatedField<global::Message.Parkspace_info>();
  4788. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4789. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  4790. public pbc::RepeatedField<global::Message.Parkspace_info> ParkspaceInfoEx {
  4791. get { return parkspaceInfoEx_; }
  4792. }
  4793. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4794. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  4795. public override bool Equals(object other) {
  4796. return Equals(other as Parkspace_allocation_data_msg);
  4797. }
  4798. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4799. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  4800. public bool Equals(Parkspace_allocation_data_msg other) {
  4801. if (ReferenceEquals(other, null)) {
  4802. return false;
  4803. }
  4804. if (ReferenceEquals(other, this)) {
  4805. return true;
  4806. }
  4807. if (!object.Equals(BaseInfo, other.BaseInfo)) return false;
  4808. if (!object.Equals(ErrorManager, other.ErrorManager)) return false;
  4809. if(!parkspaceInfoEx_.Equals(other.parkspaceInfoEx_)) return false;
  4810. return Equals(_unknownFields, other._unknownFields);
  4811. }
  4812. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4813. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  4814. public override int GetHashCode() {
  4815. int hash = 1;
  4816. if (baseInfo_ != null) hash ^= BaseInfo.GetHashCode();
  4817. if (errorManager_ != null) hash ^= ErrorManager.GetHashCode();
  4818. hash ^= parkspaceInfoEx_.GetHashCode();
  4819. if (_unknownFields != null) {
  4820. hash ^= _unknownFields.GetHashCode();
  4821. }
  4822. return hash;
  4823. }
  4824. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4825. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  4826. public override string ToString() {
  4827. return pb::JsonFormatter.ToDiagnosticString(this);
  4828. }
  4829. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4830. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  4831. public void WriteTo(pb::CodedOutputStream output) {
  4832. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  4833. output.WriteRawMessage(this);
  4834. #else
  4835. if (baseInfo_ != null) {
  4836. output.WriteRawTag(10);
  4837. output.WriteMessage(BaseInfo);
  4838. }
  4839. if (errorManager_ != null) {
  4840. output.WriteRawTag(18);
  4841. output.WriteMessage(ErrorManager);
  4842. }
  4843. parkspaceInfoEx_.WriteTo(output, _repeated_parkspaceInfoEx_codec);
  4844. if (_unknownFields != null) {
  4845. _unknownFields.WriteTo(output);
  4846. }
  4847. #endif
  4848. }
  4849. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  4850. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4851. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  4852. void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
  4853. if (baseInfo_ != null) {
  4854. output.WriteRawTag(10);
  4855. output.WriteMessage(BaseInfo);
  4856. }
  4857. if (errorManager_ != null) {
  4858. output.WriteRawTag(18);
  4859. output.WriteMessage(ErrorManager);
  4860. }
  4861. parkspaceInfoEx_.WriteTo(ref output, _repeated_parkspaceInfoEx_codec);
  4862. if (_unknownFields != null) {
  4863. _unknownFields.WriteTo(ref output);
  4864. }
  4865. }
  4866. #endif
  4867. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4868. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  4869. public int CalculateSize() {
  4870. int size = 0;
  4871. if (baseInfo_ != null) {
  4872. size += 1 + pb::CodedOutputStream.ComputeMessageSize(BaseInfo);
  4873. }
  4874. if (errorManager_ != null) {
  4875. size += 1 + pb::CodedOutputStream.ComputeMessageSize(ErrorManager);
  4876. }
  4877. size += parkspaceInfoEx_.CalculateSize(_repeated_parkspaceInfoEx_codec);
  4878. if (_unknownFields != null) {
  4879. size += _unknownFields.CalculateSize();
  4880. }
  4881. return size;
  4882. }
  4883. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4884. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  4885. public void MergeFrom(Parkspace_allocation_data_msg other) {
  4886. if (other == null) {
  4887. return;
  4888. }
  4889. if (other.baseInfo_ != null) {
  4890. if (baseInfo_ == null) {
  4891. BaseInfo = new global::Message.Base_info();
  4892. }
  4893. BaseInfo.MergeFrom(other.BaseInfo);
  4894. }
  4895. if (other.errorManager_ != null) {
  4896. if (errorManager_ == null) {
  4897. ErrorManager = new global::Message.Error_manager();
  4898. }
  4899. ErrorManager.MergeFrom(other.ErrorManager);
  4900. }
  4901. parkspaceInfoEx_.Add(other.parkspaceInfoEx_);
  4902. _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
  4903. }
  4904. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4905. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  4906. public void MergeFrom(pb::CodedInputStream input) {
  4907. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  4908. input.ReadRawMessage(this);
  4909. #else
  4910. uint tag;
  4911. while ((tag = input.ReadTag()) != 0) {
  4912. switch(tag) {
  4913. default:
  4914. _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
  4915. break;
  4916. case 10: {
  4917. if (baseInfo_ == null) {
  4918. BaseInfo = new global::Message.Base_info();
  4919. }
  4920. input.ReadMessage(BaseInfo);
  4921. break;
  4922. }
  4923. case 18: {
  4924. if (errorManager_ == null) {
  4925. ErrorManager = new global::Message.Error_manager();
  4926. }
  4927. input.ReadMessage(ErrorManager);
  4928. break;
  4929. }
  4930. case 26: {
  4931. parkspaceInfoEx_.AddEntriesFrom(input, _repeated_parkspaceInfoEx_codec);
  4932. break;
  4933. }
  4934. }
  4935. }
  4936. #endif
  4937. }
  4938. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  4939. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4940. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  4941. void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
  4942. uint tag;
  4943. while ((tag = input.ReadTag()) != 0) {
  4944. switch(tag) {
  4945. default:
  4946. _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
  4947. break;
  4948. case 10: {
  4949. if (baseInfo_ == null) {
  4950. BaseInfo = new global::Message.Base_info();
  4951. }
  4952. input.ReadMessage(BaseInfo);
  4953. break;
  4954. }
  4955. case 18: {
  4956. if (errorManager_ == null) {
  4957. ErrorManager = new global::Message.Error_manager();
  4958. }
  4959. input.ReadMessage(ErrorManager);
  4960. break;
  4961. }
  4962. case 26: {
  4963. parkspaceInfoEx_.AddEntriesFrom(ref input, _repeated_parkspaceInfoEx_codec);
  4964. break;
  4965. }
  4966. }
  4967. }
  4968. }
  4969. #endif
  4970. }
  4971. #endregion
  4972. }
  4973. #endregion Designer generated code