ParkspaceAllocationMessage.cs 155 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336
  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. "GhJtZXNzYWdlX2Jhc2UucHJvdG8imAEKIFBhcmtzcGFjZV9hbGxvY2F0aW9u",
  25. "X3JlcXVlc3RfbXNnEiUKCWJhc2VfaW5mbxgBIAIoCzISLm1lc3NhZ2UuQmFz",
  26. "ZV9pbmZvEhMKC2NvbW1hbmRfa2V5GAIgAigJEiMKCGNhcl9pbmZvGAMgAigL",
  27. "MhEubWVzc2FnZS5DYXJfaW5mbxITCgt0ZXJtaW5hbF9pZBgEIAIoBSLxAQoh",
  28. "UGFya3NwYWNlX2FsbG9jYXRpb25fcmVzcG9uc2VfbXNnEiUKCWJhc2VfaW5m",
  29. "bxgBIAIoCzISLm1lc3NhZ2UuQmFzZV9pbmZvEhMKC2NvbW1hbmRfa2V5GAIg",
  30. "AigJEi0KDWVycm9yX21hbmFnZXIYAyACKAsyFi5tZXNzYWdlLkVycm9yX21h",
  31. "bmFnZXISPAobYWxsb2NhdGVkX3BhcmtzcGFjZV9pbmZvX2V4GAQgAygLMhcu",
  32. "bWVzc2FnZS5QYXJrc3BhY2VfaW5mbxIjCghjYXJfdHlwZRgFIAEoDjIRLm1l",
  33. "c3NhZ2UuQ2FyX3R5cGUifwocUGFya3NwYWNlX3NlYXJjaF9yZXF1ZXN0X21z",
  34. "ZxIlCgliYXNlX2luZm8YASACKAsyEi5tZXNzYWdlLkJhc2VfaW5mbxITCgtj",
  35. "b21tYW5kX2tleRgCIAIoCRIjCghjYXJfaW5mbxgDIAIoCzIRLm1lc3NhZ2Uu",
  36. "Q2FyX2luZm8ixAEKHVBhcmtzcGFjZV9zZWFyY2hfcmVzcG9uc2VfbXNnEiUK",
  37. "CWJhc2VfaW5mbxgBIAIoCzISLm1lc3NhZ2UuQmFzZV9pbmZvEhMKC2NvbW1h",
  38. "bmRfa2V5GAIgAigJEi0KDWVycm9yX21hbmFnZXIYAyACKAsyFi5tZXNzYWdl",
  39. "LkVycm9yX21hbmFnZXISOAoXcXVlcnlfcGFya3NwYWNlX2luZm9fZXgYBCAD",
  40. "KAsyFy5tZXNzYWdlLlBhcmtzcGFjZV9pbmZvIpcBCh1QYXJrc3BhY2VfcmVs",
  41. "ZWFzZV9yZXF1ZXN0X21zZxIlCgliYXNlX2luZm8YASACKAsyEi5tZXNzYWdl",
  42. "LkJhc2VfaW5mbxITCgtjb21tYW5kX2tleRgCIAIoCRI6ChlyZWxlYXNlX3Bh",
  43. "cmtzcGFjZV9pbmZvX2V4GAMgAygLMhcubWVzc2FnZS5QYXJrc3BhY2VfaW5m",
  44. "byLHAQoeUGFya3NwYWNlX3JlbGVhc2VfcmVzcG9uc2VfbXNnEiUKCWJhc2Vf",
  45. "aW5mbxgBIAIoCzISLm1lc3NhZ2UuQmFzZV9pbmZvEhMKC2NvbW1hbmRfa2V5",
  46. "GAIgAigJEi0KDWVycm9yX21hbmFnZXIYAyACKAsyFi5tZXNzYWdlLkVycm9y",
  47. "X21hbmFnZXISOgoZcmVsZWFzZV9wYXJrc3BhY2VfaW5mb19leBgEIAMoCzIX",
  48. "Lm1lc3NhZ2UuUGFya3NwYWNlX2luZm8imwEKIlBhcmtzcGFjZV9mb3JjZV91",
  49. "cGRhdGVfcmVxdWVzdF9tc2cSJQoJYmFzZV9pbmZvGAEgAigLMhIubWVzc2Fn",
  50. "ZS5CYXNlX2luZm8SEwoLY29tbWFuZF9rZXkYAiACKAkSOQoYbWFudWFsX3Bh",
  51. "cmtzcGFjZV9pbmZvX2V4GAMgAygLMhcubWVzc2FnZS5QYXJrc3BhY2VfaW5m",
  52. "byLLAQojUGFya3NwYWNlX2ZvcmNlX3VwZGF0ZV9yZXNwb25zZV9tc2cSJQoJ",
  53. "YmFzZV9pbmZvGAEgAigLMhIubWVzc2FnZS5CYXNlX2luZm8SEwoLY29tbWFu",
  54. "ZF9rZXkYAiACKAkSLQoNZXJyb3JfbWFuYWdlchgDIAIoCzIWLm1lc3NhZ2Uu",
  55. "RXJyb3JfbWFuYWdlchI5ChhtYW51YWxfcGFya3NwYWNlX2luZm9fZXgYBCAD",
  56. "KAsyFy5tZXNzYWdlLlBhcmtzcGFjZV9pbmZvIsIBCiNQYXJrc3BhY2VfY29u",
  57. "ZmlybV9hbGxvY19yZXF1ZXN0X21zZxIlCgliYXNlX2luZm8YASACKAsyEi5t",
  58. "ZXNzYWdlLkJhc2VfaW5mbxITCgtjb21tYW5kX2tleRgCIAIoCRI6Chljb25m",
  59. "aXJtX3BhcmtzcGFjZV9pbmZvX2V4GAMgAygLMhcubWVzc2FnZS5QYXJrc3Bh",
  60. "Y2VfaW5mbxIjCghjYXJfdHlwZRgEIAEoDjIRLm1lc3NhZ2UuQ2FyX3R5cGUi",
  61. "8gEKJFBhcmtzcGFjZV9jb25maXJtX2FsbG9jX3Jlc3BvbnNlX21zZxIlCgli",
  62. "YXNlX2luZm8YASACKAsyEi5tZXNzYWdlLkJhc2VfaW5mbxITCgtjb21tYW5k",
  63. "X2tleRgCIAIoCRItCg1lcnJvcl9tYW5hZ2VyGAMgAigLMhYubWVzc2FnZS5F",
  64. "cnJvcl9tYW5hZ2VyEjoKGWNvbmZpcm1fcGFya3NwYWNlX2luZm9fZXgYBCAD",
  65. "KAsyFy5tZXNzYWdlLlBhcmtzcGFjZV9pbmZvEiMKCGNhcl90eXBlGAUgASgO",
  66. "MhEubWVzc2FnZS5DYXJfdHlwZSKsAwofUGFya3NwYWNlX2FsbG9jYXRpb25f",
  67. "c3RhdHVzX21zZxIlCgliYXNlX2luZm8YASACKAsyEi5tZXNzYWdlLkJhc2Vf",
  68. "aW5mbxItCg1lcnJvcl9tYW5hZ2VyGAIgAigLMhYubWVzc2FnZS5FcnJvcl9t",
  69. "YW5hZ2VyEkcKGmRhdGFiYXNlX2NvbnRyb2xsZXJfc3RhdHVzGAMgAigOMiMu",
  70. "bWVzc2FnZS5EYXRhYmFzZV9jb250cm9sbGVyX3N0YXR1cxJBChdwYXJrc3Bh",
  71. "Y2VfbWFuYWdlcl9zYXR1cxgEIAIoDjIgLm1lc3NhZ2UuUGFya3NwYWNlX21h",
  72. "bmFnZXJfc2F0dXMSKAogc21hbGxfcGFya3NwYWNlX3JlbWFpbmluZ19udW1i",
  73. "ZXIYBSACKAUSKQohbWVkaXVtX3BhcmtzcGFjZV9yZW1haW5pbmdfbnVtYmVy",
  74. "GAYgAigFEigKIGxhcmdlX3BhcmtzcGFjZV9yZW1haW5pbmdfbnVtYmVyGAcg",
  75. "AigFEigKIHRvdGFsX3BhcmtzcGFjZV9yZW1haW5pbmdfbnVtYmVyGAggAigF",
  76. "IkYKHVBhcmtzcGFjZV9yZWZyZXNoX3JlcXVlc3RfbXNnEiUKCWJhc2VfaW5m",
  77. "bxgBIAIoCzISLm1lc3NhZ2UuQmFzZV9pbmZvIqkBCh1QYXJrc3BhY2VfYWxs",
  78. "b2NhdGlvbl9kYXRhX21zZxIlCgliYXNlX2luZm8YASACKAsyEi5tZXNzYWdl",
  79. "LkJhc2VfaW5mbxItCg1lcnJvcl9tYW5hZ2VyGAIgAigLMhYubWVzc2FnZS5F",
  80. "cnJvcl9tYW5hZ2VyEjIKEXBhcmtzcGFjZV9pbmZvX2V4GAMgAygLMhcubWVz",
  81. "c2FnZS5QYXJrc3BhY2VfaW5mbyqVAQoOVmVoaWNsZV9zdGF0dXMSFAoQZVZl",
  82. "aGljbGVfdW5rbm93bhAAEhEKDWVWZWhpY2xlX2lkbGUQARIWChJlVmVoaWNs",
  83. "ZV9pbl9nYXJhZ2UQAhIUChBlVmVoaWNsZV9wYXJraW5nEAMSFQoRZVZlaGlj",
  84. "bGVfZmV0Y2hpbmcQBBIVChFlVmVoaWNsZV9yZXNlcnZlZBAFKlcKGkRhdGFi",
  85. "YXNlX2NvbnRyb2xsZXJfc3RhdHVzEg0KCUVfVU5LTk9XThAAEgsKB0VfUkVB",
  86. "RFkQARIQCgxFX0RJU0NPTk5FQ1QQAhILCgdFX0ZBVUxUEAMqdgoXUGFya3Nw",
  87. "YWNlX21hbmFnZXJfc2F0dXMSHgoaZVBhcmtzcGFjZV9tYW5hZ2VyX3Vua25v",
  88. "d24QABIdChllUGFya3NwYWNlX21hbmFnZXJfbm9ybWFsEAESHAoYZVBhcmtz",
  89. "cGFjZV9tYW5hZ2VyX2ZhdWx0EAI="));
  90. descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
  91. new pbr::FileDescriptor[] { global::Message.MessageBaseReflection.Descriptor, },
  92. 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[] {
  93. new pbr::GeneratedClrTypeInfo(typeof(global::Message.Parkspace_allocation_request_msg), global::Message.Parkspace_allocation_request_msg.Parser, new[]{ "BaseInfo", "CommandKey", "CarInfo", "TerminalId" }, null, null, null, null),
  94. 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),
  95. 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),
  96. 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),
  97. 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),
  98. 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),
  99. 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),
  100. 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),
  101. 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),
  102. 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),
  103. new pbr::GeneratedClrTypeInfo(typeof(global::Message.Parkspace_allocation_status_msg), global::Message.Parkspace_allocation_status_msg.Parser, new[]{ "BaseInfo", "ErrorManager", "DatabaseControllerStatus", "ParkspaceManagerSatus", "SmallParkspaceRemainingNumber", "MediumParkspaceRemainingNumber", "LargeParkspaceRemainingNumber", "TotalParkspaceRemainingNumber" }, null, null, null, null),
  104. new pbr::GeneratedClrTypeInfo(typeof(global::Message.Parkspace_refresh_request_msg), global::Message.Parkspace_refresh_request_msg.Parser, new[]{ "BaseInfo" }, null, null, null, null),
  105. 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)
  106. }));
  107. }
  108. #endregion
  109. }
  110. #region Enums
  111. /// <summary>
  112. ///车辆状态枚举
  113. /// </summary>
  114. public enum Vehicle_status {
  115. /// <summary>
  116. ///未知状态
  117. /// </summary>
  118. [pbr::OriginalName("eVehicle_unknown")] EVehicleUnknown = 0,
  119. /// <summary>
  120. ///车辆空闲
  121. /// </summary>
  122. [pbr::OriginalName("eVehicle_idle")] EVehicleIdle = 1,
  123. /// <summary>
  124. ///车辆已入库
  125. /// </summary>
  126. [pbr::OriginalName("eVehicle_in_garage")] EVehicleInGarage = 2,
  127. /// <summary>
  128. ///车辆停车中
  129. /// </summary>
  130. [pbr::OriginalName("eVehicle_parking")] EVehicleParking = 3,
  131. /// <summary>
  132. ///车辆取车中
  133. /// </summary>
  134. [pbr::OriginalName("eVehicle_fetching")] EVehicleFetching = 4,
  135. /// <summary>
  136. ///已预约未停入
  137. /// </summary>
  138. [pbr::OriginalName("eVehicle_reserved")] EVehicleReserved = 5,
  139. }
  140. /// <summary>
  141. ///数据库状态
  142. /// </summary>
  143. public enum Database_controller_status {
  144. /// <summary>
  145. ///默认未知
  146. /// </summary>
  147. [pbr::OriginalName("E_UNKNOWN")] EUnknown = 0,
  148. /// <summary>
  149. ///正常待机
  150. /// </summary>
  151. [pbr::OriginalName("E_READY")] EReady = 1,
  152. /// <summary>
  153. ///断连
  154. /// </summary>
  155. [pbr::OriginalName("E_DISCONNECT")] EDisconnect = 2,
  156. /// <summary>
  157. ///故障
  158. /// </summary>
  159. [pbr::OriginalName("E_FAULT")] EFault = 3,
  160. }
  161. /// <summary>
  162. ///车位管理状态
  163. /// </summary>
  164. public enum Parkspace_manager_satus {
  165. /// <summary>
  166. ///位置
  167. /// </summary>
  168. [pbr::OriginalName("eParkspace_manager_unknown")] EParkspaceManagerUnknown = 0,
  169. /// <summary>
  170. ///正常
  171. /// </summary>
  172. [pbr::OriginalName("eParkspace_manager_normal")] EParkspaceManagerNormal = 1,
  173. /// <summary>
  174. ///故障
  175. /// </summary>
  176. [pbr::OriginalName("eParkspace_manager_fault")] EParkspaceManagerFault = 2,
  177. }
  178. #endregion
  179. #region Messages
  180. /// <summary>
  181. ///1.分配车位请求
  182. /// </summary>
  183. public sealed partial class Parkspace_allocation_request_msg : pb::IMessage<Parkspace_allocation_request_msg>
  184. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  185. , pb::IBufferMessage
  186. #endif
  187. {
  188. private static readonly pb::MessageParser<Parkspace_allocation_request_msg> _parser = new pb::MessageParser<Parkspace_allocation_request_msg>(() => new Parkspace_allocation_request_msg());
  189. private pb::UnknownFieldSet _unknownFields;
  190. private int _hasBits0;
  191. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  192. public static pb::MessageParser<Parkspace_allocation_request_msg> Parser { get { return _parser; } }
  193. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  194. public static pbr::MessageDescriptor Descriptor {
  195. get { return global::Message.ParkspaceAllocationMessageReflection.Descriptor.MessageTypes[0]; }
  196. }
  197. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  198. pbr::MessageDescriptor pb::IMessage.Descriptor {
  199. get { return Descriptor; }
  200. }
  201. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  202. public Parkspace_allocation_request_msg() {
  203. OnConstruction();
  204. }
  205. partial void OnConstruction();
  206. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  207. public Parkspace_allocation_request_msg(Parkspace_allocation_request_msg other) : this() {
  208. _hasBits0 = other._hasBits0;
  209. baseInfo_ = other.baseInfo_ != null ? other.baseInfo_.Clone() : null;
  210. commandKey_ = other.commandKey_;
  211. carInfo_ = other.carInfo_ != null ? other.carInfo_.Clone() : null;
  212. terminalId_ = other.terminalId_;
  213. _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
  214. }
  215. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  216. public Parkspace_allocation_request_msg Clone() {
  217. return new Parkspace_allocation_request_msg(this);
  218. }
  219. /// <summary>Field number for the "base_info" field.</summary>
  220. public const int BaseInfoFieldNumber = 1;
  221. private global::Message.Base_info baseInfo_;
  222. /// <summary>
  223. ///消息类型
  224. /// </summary>
  225. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  226. public global::Message.Base_info BaseInfo {
  227. get { return baseInfo_; }
  228. set {
  229. baseInfo_ = value;
  230. }
  231. }
  232. /// <summary>Field number for the "command_key" field.</summary>
  233. public const int CommandKeyFieldNumber = 2;
  234. private readonly static string CommandKeyDefaultValue = "";
  235. private string commandKey_;
  236. /// <summary>
  237. ///指令唯一标识符id
  238. /// </summary>
  239. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  240. public string CommandKey {
  241. get { return commandKey_ ?? CommandKeyDefaultValue; }
  242. set {
  243. commandKey_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
  244. }
  245. }
  246. /// <summary>Gets whether the "command_key" field is set</summary>
  247. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  248. public bool HasCommandKey {
  249. get { return commandKey_ != null; }
  250. }
  251. /// <summary>Clears the value of the "command_key" field</summary>
  252. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  253. public void ClearCommandKey() {
  254. commandKey_ = null;
  255. }
  256. /// <summary>Field number for the "car_info" field.</summary>
  257. public const int CarInfoFieldNumber = 3;
  258. private global::Message.Car_info carInfo_;
  259. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  260. public global::Message.Car_info CarInfo {
  261. get { return carInfo_; }
  262. set {
  263. carInfo_ = value;
  264. }
  265. }
  266. /// <summary>Field number for the "terminal_id" field.</summary>
  267. public const int TerminalIdFieldNumber = 4;
  268. private readonly static int TerminalIdDefaultValue = 0;
  269. private int terminalId_;
  270. /// <summary>
  271. ///终端id,优化车位分配用
  272. /// </summary>
  273. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  274. public int TerminalId {
  275. get { if ((_hasBits0 & 1) != 0) { return terminalId_; } else { return TerminalIdDefaultValue; } }
  276. set {
  277. _hasBits0 |= 1;
  278. terminalId_ = value;
  279. }
  280. }
  281. /// <summary>Gets whether the "terminal_id" field is set</summary>
  282. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  283. public bool HasTerminalId {
  284. get { return (_hasBits0 & 1) != 0; }
  285. }
  286. /// <summary>Clears the value of the "terminal_id" field</summary>
  287. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  288. public void ClearTerminalId() {
  289. _hasBits0 &= ~1;
  290. }
  291. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  292. public override bool Equals(object other) {
  293. return Equals(other as Parkspace_allocation_request_msg);
  294. }
  295. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  296. public bool Equals(Parkspace_allocation_request_msg other) {
  297. if (ReferenceEquals(other, null)) {
  298. return false;
  299. }
  300. if (ReferenceEquals(other, this)) {
  301. return true;
  302. }
  303. if (!object.Equals(BaseInfo, other.BaseInfo)) return false;
  304. if (CommandKey != other.CommandKey) return false;
  305. if (!object.Equals(CarInfo, other.CarInfo)) return false;
  306. if (TerminalId != other.TerminalId) return false;
  307. return Equals(_unknownFields, other._unknownFields);
  308. }
  309. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  310. public override int GetHashCode() {
  311. int hash = 1;
  312. if (baseInfo_ != null) hash ^= BaseInfo.GetHashCode();
  313. if (HasCommandKey) hash ^= CommandKey.GetHashCode();
  314. if (carInfo_ != null) hash ^= CarInfo.GetHashCode();
  315. if (HasTerminalId) hash ^= TerminalId.GetHashCode();
  316. if (_unknownFields != null) {
  317. hash ^= _unknownFields.GetHashCode();
  318. }
  319. return hash;
  320. }
  321. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  322. public override string ToString() {
  323. return pb::JsonFormatter.ToDiagnosticString(this);
  324. }
  325. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  326. public void WriteTo(pb::CodedOutputStream output) {
  327. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  328. output.WriteRawMessage(this);
  329. #else
  330. if (baseInfo_ != null) {
  331. output.WriteRawTag(10);
  332. output.WriteMessage(BaseInfo);
  333. }
  334. if (HasCommandKey) {
  335. output.WriteRawTag(18);
  336. output.WriteString(CommandKey);
  337. }
  338. if (carInfo_ != null) {
  339. output.WriteRawTag(26);
  340. output.WriteMessage(CarInfo);
  341. }
  342. if (HasTerminalId) {
  343. output.WriteRawTag(32);
  344. output.WriteInt32(TerminalId);
  345. }
  346. if (_unknownFields != null) {
  347. _unknownFields.WriteTo(output);
  348. }
  349. #endif
  350. }
  351. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  352. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  353. void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
  354. if (baseInfo_ != null) {
  355. output.WriteRawTag(10);
  356. output.WriteMessage(BaseInfo);
  357. }
  358. if (HasCommandKey) {
  359. output.WriteRawTag(18);
  360. output.WriteString(CommandKey);
  361. }
  362. if (carInfo_ != null) {
  363. output.WriteRawTag(26);
  364. output.WriteMessage(CarInfo);
  365. }
  366. if (HasTerminalId) {
  367. output.WriteRawTag(32);
  368. output.WriteInt32(TerminalId);
  369. }
  370. if (_unknownFields != null) {
  371. _unknownFields.WriteTo(ref output);
  372. }
  373. }
  374. #endif
  375. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  376. public int CalculateSize() {
  377. int size = 0;
  378. if (baseInfo_ != null) {
  379. size += 1 + pb::CodedOutputStream.ComputeMessageSize(BaseInfo);
  380. }
  381. if (HasCommandKey) {
  382. size += 1 + pb::CodedOutputStream.ComputeStringSize(CommandKey);
  383. }
  384. if (carInfo_ != null) {
  385. size += 1 + pb::CodedOutputStream.ComputeMessageSize(CarInfo);
  386. }
  387. if (HasTerminalId) {
  388. size += 1 + pb::CodedOutputStream.ComputeInt32Size(TerminalId);
  389. }
  390. if (_unknownFields != null) {
  391. size += _unknownFields.CalculateSize();
  392. }
  393. return size;
  394. }
  395. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  396. public void MergeFrom(Parkspace_allocation_request_msg other) {
  397. if (other == null) {
  398. return;
  399. }
  400. if (other.baseInfo_ != null) {
  401. if (baseInfo_ == null) {
  402. BaseInfo = new global::Message.Base_info();
  403. }
  404. BaseInfo.MergeFrom(other.BaseInfo);
  405. }
  406. if (other.HasCommandKey) {
  407. CommandKey = other.CommandKey;
  408. }
  409. if (other.carInfo_ != null) {
  410. if (carInfo_ == null) {
  411. CarInfo = new global::Message.Car_info();
  412. }
  413. CarInfo.MergeFrom(other.CarInfo);
  414. }
  415. if (other.HasTerminalId) {
  416. TerminalId = other.TerminalId;
  417. }
  418. _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
  419. }
  420. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  421. public void MergeFrom(pb::CodedInputStream input) {
  422. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  423. input.ReadRawMessage(this);
  424. #else
  425. uint tag;
  426. while ((tag = input.ReadTag()) != 0) {
  427. switch(tag) {
  428. default:
  429. _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
  430. break;
  431. case 10: {
  432. if (baseInfo_ == null) {
  433. BaseInfo = new global::Message.Base_info();
  434. }
  435. input.ReadMessage(BaseInfo);
  436. break;
  437. }
  438. case 18: {
  439. CommandKey = input.ReadString();
  440. break;
  441. }
  442. case 26: {
  443. if (carInfo_ == null) {
  444. CarInfo = new global::Message.Car_info();
  445. }
  446. input.ReadMessage(CarInfo);
  447. break;
  448. }
  449. case 32: {
  450. TerminalId = input.ReadInt32();
  451. break;
  452. }
  453. }
  454. }
  455. #endif
  456. }
  457. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  458. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  459. void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
  460. uint tag;
  461. while ((tag = input.ReadTag()) != 0) {
  462. switch(tag) {
  463. default:
  464. _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
  465. break;
  466. case 10: {
  467. if (baseInfo_ == null) {
  468. BaseInfo = new global::Message.Base_info();
  469. }
  470. input.ReadMessage(BaseInfo);
  471. break;
  472. }
  473. case 18: {
  474. CommandKey = input.ReadString();
  475. break;
  476. }
  477. case 26: {
  478. if (carInfo_ == null) {
  479. CarInfo = new global::Message.Car_info();
  480. }
  481. input.ReadMessage(CarInfo);
  482. break;
  483. }
  484. case 32: {
  485. TerminalId = input.ReadInt32();
  486. break;
  487. }
  488. }
  489. }
  490. }
  491. #endif
  492. }
  493. /// <summary>
  494. ///分配车位反馈
  495. /// </summary>
  496. public sealed partial class Parkspace_allocation_response_msg : pb::IMessage<Parkspace_allocation_response_msg>
  497. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  498. , pb::IBufferMessage
  499. #endif
  500. {
  501. private static readonly pb::MessageParser<Parkspace_allocation_response_msg> _parser = new pb::MessageParser<Parkspace_allocation_response_msg>(() => new Parkspace_allocation_response_msg());
  502. private pb::UnknownFieldSet _unknownFields;
  503. private int _hasBits0;
  504. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  505. public static pb::MessageParser<Parkspace_allocation_response_msg> Parser { get { return _parser; } }
  506. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  507. public static pbr::MessageDescriptor Descriptor {
  508. get { return global::Message.ParkspaceAllocationMessageReflection.Descriptor.MessageTypes[1]; }
  509. }
  510. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  511. pbr::MessageDescriptor pb::IMessage.Descriptor {
  512. get { return Descriptor; }
  513. }
  514. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  515. public Parkspace_allocation_response_msg() {
  516. OnConstruction();
  517. }
  518. partial void OnConstruction();
  519. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  520. public Parkspace_allocation_response_msg(Parkspace_allocation_response_msg other) : this() {
  521. _hasBits0 = other._hasBits0;
  522. baseInfo_ = other.baseInfo_ != null ? other.baseInfo_.Clone() : null;
  523. commandKey_ = other.commandKey_;
  524. errorManager_ = other.errorManager_ != null ? other.errorManager_.Clone() : null;
  525. allocatedParkspaceInfoEx_ = other.allocatedParkspaceInfoEx_.Clone();
  526. carType_ = other.carType_;
  527. _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
  528. }
  529. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  530. public Parkspace_allocation_response_msg Clone() {
  531. return new Parkspace_allocation_response_msg(this);
  532. }
  533. /// <summary>Field number for the "base_info" field.</summary>
  534. public const int BaseInfoFieldNumber = 1;
  535. private global::Message.Base_info baseInfo_;
  536. /// <summary>
  537. ///消息类型
  538. /// </summary>
  539. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  540. public global::Message.Base_info BaseInfo {
  541. get { return baseInfo_; }
  542. set {
  543. baseInfo_ = value;
  544. }
  545. }
  546. /// <summary>Field number for the "command_key" field.</summary>
  547. public const int CommandKeyFieldNumber = 2;
  548. private readonly static string CommandKeyDefaultValue = "";
  549. private string commandKey_;
  550. /// <summary>
  551. ///指令唯一标识符id
  552. /// </summary>
  553. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  554. public string CommandKey {
  555. get { return commandKey_ ?? CommandKeyDefaultValue; }
  556. set {
  557. commandKey_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
  558. }
  559. }
  560. /// <summary>Gets whether the "command_key" field is set</summary>
  561. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  562. public bool HasCommandKey {
  563. get { return commandKey_ != null; }
  564. }
  565. /// <summary>Clears the value of the "command_key" field</summary>
  566. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  567. public void ClearCommandKey() {
  568. commandKey_ = null;
  569. }
  570. /// <summary>Field number for the "error_manager" field.</summary>
  571. public const int ErrorManagerFieldNumber = 3;
  572. private global::Message.Error_manager errorManager_;
  573. /// <summary>
  574. ///分配成功与否标志
  575. /// </summary>
  576. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  577. public global::Message.Error_manager ErrorManager {
  578. get { return errorManager_; }
  579. set {
  580. errorManager_ = value;
  581. }
  582. }
  583. /// <summary>Field number for the "allocated_parkspace_info_ex" field.</summary>
  584. public const int AllocatedParkspaceInfoExFieldNumber = 4;
  585. private static readonly pb::FieldCodec<global::Message.Parkspace_info> _repeated_allocatedParkspaceInfoEx_codec
  586. = pb::FieldCodec.ForMessage(34, global::Message.Parkspace_info.Parser);
  587. private readonly pbc::RepeatedField<global::Message.Parkspace_info> allocatedParkspaceInfoEx_ = new pbc::RepeatedField<global::Message.Parkspace_info>();
  588. /// <summary>
  589. ///分配车位信息
  590. /// </summary>
  591. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  592. public pbc::RepeatedField<global::Message.Parkspace_info> AllocatedParkspaceInfoEx {
  593. get { return allocatedParkspaceInfoEx_; }
  594. }
  595. /// <summary>Field number for the "car_type" field.</summary>
  596. public const int CarTypeFieldNumber = 5;
  597. private readonly static global::Message.Car_type CarTypeDefaultValue = global::Message.Car_type.UnknowCarType;
  598. private global::Message.Car_type carType_;
  599. /// <summary>
  600. ///汽车类型
  601. /// </summary>
  602. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  603. public global::Message.Car_type CarType {
  604. get { if ((_hasBits0 & 1) != 0) { return carType_; } else { return CarTypeDefaultValue; } }
  605. set {
  606. _hasBits0 |= 1;
  607. carType_ = value;
  608. }
  609. }
  610. /// <summary>Gets whether the "car_type" field is set</summary>
  611. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  612. public bool HasCarType {
  613. get { return (_hasBits0 & 1) != 0; }
  614. }
  615. /// <summary>Clears the value of the "car_type" field</summary>
  616. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  617. public void ClearCarType() {
  618. _hasBits0 &= ~1;
  619. }
  620. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  621. public override bool Equals(object other) {
  622. return Equals(other as Parkspace_allocation_response_msg);
  623. }
  624. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  625. public bool Equals(Parkspace_allocation_response_msg other) {
  626. if (ReferenceEquals(other, null)) {
  627. return false;
  628. }
  629. if (ReferenceEquals(other, this)) {
  630. return true;
  631. }
  632. if (!object.Equals(BaseInfo, other.BaseInfo)) return false;
  633. if (CommandKey != other.CommandKey) return false;
  634. if (!object.Equals(ErrorManager, other.ErrorManager)) return false;
  635. if(!allocatedParkspaceInfoEx_.Equals(other.allocatedParkspaceInfoEx_)) return false;
  636. if (CarType != other.CarType) return false;
  637. return Equals(_unknownFields, other._unknownFields);
  638. }
  639. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  640. public override int GetHashCode() {
  641. int hash = 1;
  642. if (baseInfo_ != null) hash ^= BaseInfo.GetHashCode();
  643. if (HasCommandKey) hash ^= CommandKey.GetHashCode();
  644. if (errorManager_ != null) hash ^= ErrorManager.GetHashCode();
  645. hash ^= allocatedParkspaceInfoEx_.GetHashCode();
  646. if (HasCarType) hash ^= CarType.GetHashCode();
  647. if (_unknownFields != null) {
  648. hash ^= _unknownFields.GetHashCode();
  649. }
  650. return hash;
  651. }
  652. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  653. public override string ToString() {
  654. return pb::JsonFormatter.ToDiagnosticString(this);
  655. }
  656. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  657. public void WriteTo(pb::CodedOutputStream output) {
  658. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  659. output.WriteRawMessage(this);
  660. #else
  661. if (baseInfo_ != null) {
  662. output.WriteRawTag(10);
  663. output.WriteMessage(BaseInfo);
  664. }
  665. if (HasCommandKey) {
  666. output.WriteRawTag(18);
  667. output.WriteString(CommandKey);
  668. }
  669. if (errorManager_ != null) {
  670. output.WriteRawTag(26);
  671. output.WriteMessage(ErrorManager);
  672. }
  673. allocatedParkspaceInfoEx_.WriteTo(output, _repeated_allocatedParkspaceInfoEx_codec);
  674. if (HasCarType) {
  675. output.WriteRawTag(40);
  676. output.WriteEnum((int) CarType);
  677. }
  678. if (_unknownFields != null) {
  679. _unknownFields.WriteTo(output);
  680. }
  681. #endif
  682. }
  683. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  684. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  685. void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
  686. if (baseInfo_ != null) {
  687. output.WriteRawTag(10);
  688. output.WriteMessage(BaseInfo);
  689. }
  690. if (HasCommandKey) {
  691. output.WriteRawTag(18);
  692. output.WriteString(CommandKey);
  693. }
  694. if (errorManager_ != null) {
  695. output.WriteRawTag(26);
  696. output.WriteMessage(ErrorManager);
  697. }
  698. allocatedParkspaceInfoEx_.WriteTo(ref output, _repeated_allocatedParkspaceInfoEx_codec);
  699. if (HasCarType) {
  700. output.WriteRawTag(40);
  701. output.WriteEnum((int) CarType);
  702. }
  703. if (_unknownFields != null) {
  704. _unknownFields.WriteTo(ref output);
  705. }
  706. }
  707. #endif
  708. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  709. public int CalculateSize() {
  710. int size = 0;
  711. if (baseInfo_ != null) {
  712. size += 1 + pb::CodedOutputStream.ComputeMessageSize(BaseInfo);
  713. }
  714. if (HasCommandKey) {
  715. size += 1 + pb::CodedOutputStream.ComputeStringSize(CommandKey);
  716. }
  717. if (errorManager_ != null) {
  718. size += 1 + pb::CodedOutputStream.ComputeMessageSize(ErrorManager);
  719. }
  720. size += allocatedParkspaceInfoEx_.CalculateSize(_repeated_allocatedParkspaceInfoEx_codec);
  721. if (HasCarType) {
  722. size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) CarType);
  723. }
  724. if (_unknownFields != null) {
  725. size += _unknownFields.CalculateSize();
  726. }
  727. return size;
  728. }
  729. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  730. public void MergeFrom(Parkspace_allocation_response_msg other) {
  731. if (other == null) {
  732. return;
  733. }
  734. if (other.baseInfo_ != null) {
  735. if (baseInfo_ == null) {
  736. BaseInfo = new global::Message.Base_info();
  737. }
  738. BaseInfo.MergeFrom(other.BaseInfo);
  739. }
  740. if (other.HasCommandKey) {
  741. CommandKey = other.CommandKey;
  742. }
  743. if (other.errorManager_ != null) {
  744. if (errorManager_ == null) {
  745. ErrorManager = new global::Message.Error_manager();
  746. }
  747. ErrorManager.MergeFrom(other.ErrorManager);
  748. }
  749. allocatedParkspaceInfoEx_.Add(other.allocatedParkspaceInfoEx_);
  750. if (other.HasCarType) {
  751. CarType = other.CarType;
  752. }
  753. _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
  754. }
  755. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  756. public void MergeFrom(pb::CodedInputStream input) {
  757. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  758. input.ReadRawMessage(this);
  759. #else
  760. uint tag;
  761. while ((tag = input.ReadTag()) != 0) {
  762. switch(tag) {
  763. default:
  764. _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
  765. break;
  766. case 10: {
  767. if (baseInfo_ == null) {
  768. BaseInfo = new global::Message.Base_info();
  769. }
  770. input.ReadMessage(BaseInfo);
  771. break;
  772. }
  773. case 18: {
  774. CommandKey = input.ReadString();
  775. break;
  776. }
  777. case 26: {
  778. if (errorManager_ == null) {
  779. ErrorManager = new global::Message.Error_manager();
  780. }
  781. input.ReadMessage(ErrorManager);
  782. break;
  783. }
  784. case 34: {
  785. allocatedParkspaceInfoEx_.AddEntriesFrom(input, _repeated_allocatedParkspaceInfoEx_codec);
  786. break;
  787. }
  788. case 40: {
  789. CarType = (global::Message.Car_type) input.ReadEnum();
  790. break;
  791. }
  792. }
  793. }
  794. #endif
  795. }
  796. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  797. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  798. void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
  799. uint tag;
  800. while ((tag = input.ReadTag()) != 0) {
  801. switch(tag) {
  802. default:
  803. _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
  804. break;
  805. case 10: {
  806. if (baseInfo_ == null) {
  807. BaseInfo = new global::Message.Base_info();
  808. }
  809. input.ReadMessage(BaseInfo);
  810. break;
  811. }
  812. case 18: {
  813. CommandKey = input.ReadString();
  814. break;
  815. }
  816. case 26: {
  817. if (errorManager_ == null) {
  818. ErrorManager = new global::Message.Error_manager();
  819. }
  820. input.ReadMessage(ErrorManager);
  821. break;
  822. }
  823. case 34: {
  824. allocatedParkspaceInfoEx_.AddEntriesFrom(ref input, _repeated_allocatedParkspaceInfoEx_codec);
  825. break;
  826. }
  827. case 40: {
  828. CarType = (global::Message.Car_type) input.ReadEnum();
  829. break;
  830. }
  831. }
  832. }
  833. }
  834. #endif
  835. }
  836. /// <summary>
  837. ///2.查询车辆位置请求
  838. /// </summary>
  839. public sealed partial class Parkspace_search_request_msg : pb::IMessage<Parkspace_search_request_msg>
  840. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  841. , pb::IBufferMessage
  842. #endif
  843. {
  844. private static readonly pb::MessageParser<Parkspace_search_request_msg> _parser = new pb::MessageParser<Parkspace_search_request_msg>(() => new Parkspace_search_request_msg());
  845. private pb::UnknownFieldSet _unknownFields;
  846. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  847. public static pb::MessageParser<Parkspace_search_request_msg> Parser { get { return _parser; } }
  848. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  849. public static pbr::MessageDescriptor Descriptor {
  850. get { return global::Message.ParkspaceAllocationMessageReflection.Descriptor.MessageTypes[2]; }
  851. }
  852. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  853. pbr::MessageDescriptor pb::IMessage.Descriptor {
  854. get { return Descriptor; }
  855. }
  856. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  857. public Parkspace_search_request_msg() {
  858. OnConstruction();
  859. }
  860. partial void OnConstruction();
  861. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  862. public Parkspace_search_request_msg(Parkspace_search_request_msg other) : this() {
  863. baseInfo_ = other.baseInfo_ != null ? other.baseInfo_.Clone() : null;
  864. commandKey_ = other.commandKey_;
  865. carInfo_ = other.carInfo_ != null ? other.carInfo_.Clone() : null;
  866. _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
  867. }
  868. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  869. public Parkspace_search_request_msg Clone() {
  870. return new Parkspace_search_request_msg(this);
  871. }
  872. /// <summary>Field number for the "base_info" field.</summary>
  873. public const int BaseInfoFieldNumber = 1;
  874. private global::Message.Base_info baseInfo_;
  875. /// <summary>
  876. ///消息类型
  877. /// </summary>
  878. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  879. public global::Message.Base_info BaseInfo {
  880. get { return baseInfo_; }
  881. set {
  882. baseInfo_ = value;
  883. }
  884. }
  885. /// <summary>Field number for the "command_key" field.</summary>
  886. public const int CommandKeyFieldNumber = 2;
  887. private readonly static string CommandKeyDefaultValue = "";
  888. private string commandKey_;
  889. /// <summary>
  890. ///指令唯一标识符id
  891. /// </summary>
  892. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  893. public string CommandKey {
  894. get { return commandKey_ ?? CommandKeyDefaultValue; }
  895. set {
  896. commandKey_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
  897. }
  898. }
  899. /// <summary>Gets whether the "command_key" field is set</summary>
  900. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  901. public bool HasCommandKey {
  902. get { return commandKey_ != null; }
  903. }
  904. /// <summary>Clears the value of the "command_key" field</summary>
  905. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  906. public void ClearCommandKey() {
  907. commandKey_ = null;
  908. }
  909. /// <summary>Field number for the "car_info" field.</summary>
  910. public const int CarInfoFieldNumber = 3;
  911. private global::Message.Car_info carInfo_;
  912. /// <summary>
  913. ///车辆凭证或号牌
  914. /// </summary>
  915. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  916. public global::Message.Car_info CarInfo {
  917. get { return carInfo_; }
  918. set {
  919. carInfo_ = value;
  920. }
  921. }
  922. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  923. public override bool Equals(object other) {
  924. return Equals(other as Parkspace_search_request_msg);
  925. }
  926. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  927. public bool Equals(Parkspace_search_request_msg other) {
  928. if (ReferenceEquals(other, null)) {
  929. return false;
  930. }
  931. if (ReferenceEquals(other, this)) {
  932. return true;
  933. }
  934. if (!object.Equals(BaseInfo, other.BaseInfo)) return false;
  935. if (CommandKey != other.CommandKey) return false;
  936. if (!object.Equals(CarInfo, other.CarInfo)) return false;
  937. return Equals(_unknownFields, other._unknownFields);
  938. }
  939. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  940. public override int GetHashCode() {
  941. int hash = 1;
  942. if (baseInfo_ != null) hash ^= BaseInfo.GetHashCode();
  943. if (HasCommandKey) hash ^= CommandKey.GetHashCode();
  944. if (carInfo_ != null) hash ^= CarInfo.GetHashCode();
  945. if (_unknownFields != null) {
  946. hash ^= _unknownFields.GetHashCode();
  947. }
  948. return hash;
  949. }
  950. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  951. public override string ToString() {
  952. return pb::JsonFormatter.ToDiagnosticString(this);
  953. }
  954. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  955. public void WriteTo(pb::CodedOutputStream output) {
  956. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  957. output.WriteRawMessage(this);
  958. #else
  959. if (baseInfo_ != null) {
  960. output.WriteRawTag(10);
  961. output.WriteMessage(BaseInfo);
  962. }
  963. if (HasCommandKey) {
  964. output.WriteRawTag(18);
  965. output.WriteString(CommandKey);
  966. }
  967. if (carInfo_ != null) {
  968. output.WriteRawTag(26);
  969. output.WriteMessage(CarInfo);
  970. }
  971. if (_unknownFields != null) {
  972. _unknownFields.WriteTo(output);
  973. }
  974. #endif
  975. }
  976. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  977. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  978. void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
  979. if (baseInfo_ != null) {
  980. output.WriteRawTag(10);
  981. output.WriteMessage(BaseInfo);
  982. }
  983. if (HasCommandKey) {
  984. output.WriteRawTag(18);
  985. output.WriteString(CommandKey);
  986. }
  987. if (carInfo_ != null) {
  988. output.WriteRawTag(26);
  989. output.WriteMessage(CarInfo);
  990. }
  991. if (_unknownFields != null) {
  992. _unknownFields.WriteTo(ref output);
  993. }
  994. }
  995. #endif
  996. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  997. public int CalculateSize() {
  998. int size = 0;
  999. if (baseInfo_ != null) {
  1000. size += 1 + pb::CodedOutputStream.ComputeMessageSize(BaseInfo);
  1001. }
  1002. if (HasCommandKey) {
  1003. size += 1 + pb::CodedOutputStream.ComputeStringSize(CommandKey);
  1004. }
  1005. if (carInfo_ != null) {
  1006. size += 1 + pb::CodedOutputStream.ComputeMessageSize(CarInfo);
  1007. }
  1008. if (_unknownFields != null) {
  1009. size += _unknownFields.CalculateSize();
  1010. }
  1011. return size;
  1012. }
  1013. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1014. public void MergeFrom(Parkspace_search_request_msg other) {
  1015. if (other == null) {
  1016. return;
  1017. }
  1018. if (other.baseInfo_ != null) {
  1019. if (baseInfo_ == null) {
  1020. BaseInfo = new global::Message.Base_info();
  1021. }
  1022. BaseInfo.MergeFrom(other.BaseInfo);
  1023. }
  1024. if (other.HasCommandKey) {
  1025. CommandKey = other.CommandKey;
  1026. }
  1027. if (other.carInfo_ != null) {
  1028. if (carInfo_ == null) {
  1029. CarInfo = new global::Message.Car_info();
  1030. }
  1031. CarInfo.MergeFrom(other.CarInfo);
  1032. }
  1033. _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
  1034. }
  1035. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1036. public void MergeFrom(pb::CodedInputStream input) {
  1037. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  1038. input.ReadRawMessage(this);
  1039. #else
  1040. uint tag;
  1041. while ((tag = input.ReadTag()) != 0) {
  1042. switch(tag) {
  1043. default:
  1044. _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
  1045. break;
  1046. case 10: {
  1047. if (baseInfo_ == null) {
  1048. BaseInfo = new global::Message.Base_info();
  1049. }
  1050. input.ReadMessage(BaseInfo);
  1051. break;
  1052. }
  1053. case 18: {
  1054. CommandKey = input.ReadString();
  1055. break;
  1056. }
  1057. case 26: {
  1058. if (carInfo_ == null) {
  1059. CarInfo = new global::Message.Car_info();
  1060. }
  1061. input.ReadMessage(CarInfo);
  1062. break;
  1063. }
  1064. }
  1065. }
  1066. #endif
  1067. }
  1068. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  1069. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1070. void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
  1071. uint tag;
  1072. while ((tag = input.ReadTag()) != 0) {
  1073. switch(tag) {
  1074. default:
  1075. _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
  1076. break;
  1077. case 10: {
  1078. if (baseInfo_ == null) {
  1079. BaseInfo = new global::Message.Base_info();
  1080. }
  1081. input.ReadMessage(BaseInfo);
  1082. break;
  1083. }
  1084. case 18: {
  1085. CommandKey = input.ReadString();
  1086. break;
  1087. }
  1088. case 26: {
  1089. if (carInfo_ == null) {
  1090. CarInfo = new global::Message.Car_info();
  1091. }
  1092. input.ReadMessage(CarInfo);
  1093. break;
  1094. }
  1095. }
  1096. }
  1097. }
  1098. #endif
  1099. }
  1100. /// <summary>
  1101. ///查询车辆位置反馈
  1102. /// </summary>
  1103. public sealed partial class Parkspace_search_response_msg : pb::IMessage<Parkspace_search_response_msg>
  1104. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  1105. , pb::IBufferMessage
  1106. #endif
  1107. {
  1108. private static readonly pb::MessageParser<Parkspace_search_response_msg> _parser = new pb::MessageParser<Parkspace_search_response_msg>(() => new Parkspace_search_response_msg());
  1109. private pb::UnknownFieldSet _unknownFields;
  1110. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1111. public static pb::MessageParser<Parkspace_search_response_msg> Parser { get { return _parser; } }
  1112. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1113. public static pbr::MessageDescriptor Descriptor {
  1114. get { return global::Message.ParkspaceAllocationMessageReflection.Descriptor.MessageTypes[3]; }
  1115. }
  1116. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1117. pbr::MessageDescriptor pb::IMessage.Descriptor {
  1118. get { return Descriptor; }
  1119. }
  1120. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1121. public Parkspace_search_response_msg() {
  1122. OnConstruction();
  1123. }
  1124. partial void OnConstruction();
  1125. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1126. public Parkspace_search_response_msg(Parkspace_search_response_msg other) : this() {
  1127. baseInfo_ = other.baseInfo_ != null ? other.baseInfo_.Clone() : null;
  1128. commandKey_ = other.commandKey_;
  1129. errorManager_ = other.errorManager_ != null ? other.errorManager_.Clone() : null;
  1130. queryParkspaceInfoEx_ = other.queryParkspaceInfoEx_.Clone();
  1131. _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
  1132. }
  1133. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1134. public Parkspace_search_response_msg Clone() {
  1135. return new Parkspace_search_response_msg(this);
  1136. }
  1137. /// <summary>Field number for the "base_info" field.</summary>
  1138. public const int BaseInfoFieldNumber = 1;
  1139. private global::Message.Base_info baseInfo_;
  1140. /// <summary>
  1141. ///消息类型
  1142. /// </summary>
  1143. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1144. public global::Message.Base_info BaseInfo {
  1145. get { return baseInfo_; }
  1146. set {
  1147. baseInfo_ = value;
  1148. }
  1149. }
  1150. /// <summary>Field number for the "command_key" field.</summary>
  1151. public const int CommandKeyFieldNumber = 2;
  1152. private readonly static string CommandKeyDefaultValue = "";
  1153. private string commandKey_;
  1154. /// <summary>
  1155. ///指令唯一标识符id
  1156. /// </summary>
  1157. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1158. public string CommandKey {
  1159. get { return commandKey_ ?? CommandKeyDefaultValue; }
  1160. set {
  1161. commandKey_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
  1162. }
  1163. }
  1164. /// <summary>Gets whether the "command_key" field is set</summary>
  1165. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1166. public bool HasCommandKey {
  1167. get { return commandKey_ != null; }
  1168. }
  1169. /// <summary>Clears the value of the "command_key" field</summary>
  1170. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1171. public void ClearCommandKey() {
  1172. commandKey_ = null;
  1173. }
  1174. /// <summary>Field number for the "error_manager" field.</summary>
  1175. public const int ErrorManagerFieldNumber = 3;
  1176. private global::Message.Error_manager errorManager_;
  1177. /// <summary>
  1178. ///分配成功与否标志
  1179. /// </summary>
  1180. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1181. public global::Message.Error_manager ErrorManager {
  1182. get { return errorManager_; }
  1183. set {
  1184. errorManager_ = value;
  1185. }
  1186. }
  1187. /// <summary>Field number for the "query_parkspace_info_ex" field.</summary>
  1188. public const int QueryParkspaceInfoExFieldNumber = 4;
  1189. private static readonly pb::FieldCodec<global::Message.Parkspace_info> _repeated_queryParkspaceInfoEx_codec
  1190. = pb::FieldCodec.ForMessage(34, global::Message.Parkspace_info.Parser);
  1191. private readonly pbc::RepeatedField<global::Message.Parkspace_info> queryParkspaceInfoEx_ = new pbc::RepeatedField<global::Message.Parkspace_info>();
  1192. /// <summary>
  1193. ///待查询车辆存放位置
  1194. /// </summary>
  1195. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1196. public pbc::RepeatedField<global::Message.Parkspace_info> QueryParkspaceInfoEx {
  1197. get { return queryParkspaceInfoEx_; }
  1198. }
  1199. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1200. public override bool Equals(object other) {
  1201. return Equals(other as Parkspace_search_response_msg);
  1202. }
  1203. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1204. public bool Equals(Parkspace_search_response_msg other) {
  1205. if (ReferenceEquals(other, null)) {
  1206. return false;
  1207. }
  1208. if (ReferenceEquals(other, this)) {
  1209. return true;
  1210. }
  1211. if (!object.Equals(BaseInfo, other.BaseInfo)) return false;
  1212. if (CommandKey != other.CommandKey) return false;
  1213. if (!object.Equals(ErrorManager, other.ErrorManager)) return false;
  1214. if(!queryParkspaceInfoEx_.Equals(other.queryParkspaceInfoEx_)) return false;
  1215. return Equals(_unknownFields, other._unknownFields);
  1216. }
  1217. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1218. public override int GetHashCode() {
  1219. int hash = 1;
  1220. if (baseInfo_ != null) hash ^= BaseInfo.GetHashCode();
  1221. if (HasCommandKey) hash ^= CommandKey.GetHashCode();
  1222. if (errorManager_ != null) hash ^= ErrorManager.GetHashCode();
  1223. hash ^= queryParkspaceInfoEx_.GetHashCode();
  1224. if (_unknownFields != null) {
  1225. hash ^= _unknownFields.GetHashCode();
  1226. }
  1227. return hash;
  1228. }
  1229. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1230. public override string ToString() {
  1231. return pb::JsonFormatter.ToDiagnosticString(this);
  1232. }
  1233. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1234. public void WriteTo(pb::CodedOutputStream output) {
  1235. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  1236. output.WriteRawMessage(this);
  1237. #else
  1238. if (baseInfo_ != null) {
  1239. output.WriteRawTag(10);
  1240. output.WriteMessage(BaseInfo);
  1241. }
  1242. if (HasCommandKey) {
  1243. output.WriteRawTag(18);
  1244. output.WriteString(CommandKey);
  1245. }
  1246. if (errorManager_ != null) {
  1247. output.WriteRawTag(26);
  1248. output.WriteMessage(ErrorManager);
  1249. }
  1250. queryParkspaceInfoEx_.WriteTo(output, _repeated_queryParkspaceInfoEx_codec);
  1251. if (_unknownFields != null) {
  1252. _unknownFields.WriteTo(output);
  1253. }
  1254. #endif
  1255. }
  1256. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  1257. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1258. void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
  1259. if (baseInfo_ != null) {
  1260. output.WriteRawTag(10);
  1261. output.WriteMessage(BaseInfo);
  1262. }
  1263. if (HasCommandKey) {
  1264. output.WriteRawTag(18);
  1265. output.WriteString(CommandKey);
  1266. }
  1267. if (errorManager_ != null) {
  1268. output.WriteRawTag(26);
  1269. output.WriteMessage(ErrorManager);
  1270. }
  1271. queryParkspaceInfoEx_.WriteTo(ref output, _repeated_queryParkspaceInfoEx_codec);
  1272. if (_unknownFields != null) {
  1273. _unknownFields.WriteTo(ref output);
  1274. }
  1275. }
  1276. #endif
  1277. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1278. public int CalculateSize() {
  1279. int size = 0;
  1280. if (baseInfo_ != null) {
  1281. size += 1 + pb::CodedOutputStream.ComputeMessageSize(BaseInfo);
  1282. }
  1283. if (HasCommandKey) {
  1284. size += 1 + pb::CodedOutputStream.ComputeStringSize(CommandKey);
  1285. }
  1286. if (errorManager_ != null) {
  1287. size += 1 + pb::CodedOutputStream.ComputeMessageSize(ErrorManager);
  1288. }
  1289. size += queryParkspaceInfoEx_.CalculateSize(_repeated_queryParkspaceInfoEx_codec);
  1290. if (_unknownFields != null) {
  1291. size += _unknownFields.CalculateSize();
  1292. }
  1293. return size;
  1294. }
  1295. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1296. public void MergeFrom(Parkspace_search_response_msg other) {
  1297. if (other == null) {
  1298. return;
  1299. }
  1300. if (other.baseInfo_ != null) {
  1301. if (baseInfo_ == null) {
  1302. BaseInfo = new global::Message.Base_info();
  1303. }
  1304. BaseInfo.MergeFrom(other.BaseInfo);
  1305. }
  1306. if (other.HasCommandKey) {
  1307. CommandKey = other.CommandKey;
  1308. }
  1309. if (other.errorManager_ != null) {
  1310. if (errorManager_ == null) {
  1311. ErrorManager = new global::Message.Error_manager();
  1312. }
  1313. ErrorManager.MergeFrom(other.ErrorManager);
  1314. }
  1315. queryParkspaceInfoEx_.Add(other.queryParkspaceInfoEx_);
  1316. _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
  1317. }
  1318. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1319. public void MergeFrom(pb::CodedInputStream input) {
  1320. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  1321. input.ReadRawMessage(this);
  1322. #else
  1323. uint tag;
  1324. while ((tag = input.ReadTag()) != 0) {
  1325. switch(tag) {
  1326. default:
  1327. _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
  1328. break;
  1329. case 10: {
  1330. if (baseInfo_ == null) {
  1331. BaseInfo = new global::Message.Base_info();
  1332. }
  1333. input.ReadMessage(BaseInfo);
  1334. break;
  1335. }
  1336. case 18: {
  1337. CommandKey = input.ReadString();
  1338. break;
  1339. }
  1340. case 26: {
  1341. if (errorManager_ == null) {
  1342. ErrorManager = new global::Message.Error_manager();
  1343. }
  1344. input.ReadMessage(ErrorManager);
  1345. break;
  1346. }
  1347. case 34: {
  1348. queryParkspaceInfoEx_.AddEntriesFrom(input, _repeated_queryParkspaceInfoEx_codec);
  1349. break;
  1350. }
  1351. }
  1352. }
  1353. #endif
  1354. }
  1355. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  1356. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1357. void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
  1358. uint tag;
  1359. while ((tag = input.ReadTag()) != 0) {
  1360. switch(tag) {
  1361. default:
  1362. _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
  1363. break;
  1364. case 10: {
  1365. if (baseInfo_ == null) {
  1366. BaseInfo = new global::Message.Base_info();
  1367. }
  1368. input.ReadMessage(BaseInfo);
  1369. break;
  1370. }
  1371. case 18: {
  1372. CommandKey = input.ReadString();
  1373. break;
  1374. }
  1375. case 26: {
  1376. if (errorManager_ == null) {
  1377. ErrorManager = new global::Message.Error_manager();
  1378. }
  1379. input.ReadMessage(ErrorManager);
  1380. break;
  1381. }
  1382. case 34: {
  1383. queryParkspaceInfoEx_.AddEntriesFrom(ref input, _repeated_queryParkspaceInfoEx_codec);
  1384. break;
  1385. }
  1386. }
  1387. }
  1388. }
  1389. #endif
  1390. }
  1391. /// <summary>
  1392. ///3.释放车位请求
  1393. /// </summary>
  1394. public sealed partial class Parkspace_release_request_msg : pb::IMessage<Parkspace_release_request_msg>
  1395. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  1396. , pb::IBufferMessage
  1397. #endif
  1398. {
  1399. private static readonly pb::MessageParser<Parkspace_release_request_msg> _parser = new pb::MessageParser<Parkspace_release_request_msg>(() => new Parkspace_release_request_msg());
  1400. private pb::UnknownFieldSet _unknownFields;
  1401. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1402. public static pb::MessageParser<Parkspace_release_request_msg> Parser { get { return _parser; } }
  1403. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1404. public static pbr::MessageDescriptor Descriptor {
  1405. get { return global::Message.ParkspaceAllocationMessageReflection.Descriptor.MessageTypes[4]; }
  1406. }
  1407. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1408. pbr::MessageDescriptor pb::IMessage.Descriptor {
  1409. get { return Descriptor; }
  1410. }
  1411. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1412. public Parkspace_release_request_msg() {
  1413. OnConstruction();
  1414. }
  1415. partial void OnConstruction();
  1416. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1417. public Parkspace_release_request_msg(Parkspace_release_request_msg other) : this() {
  1418. baseInfo_ = other.baseInfo_ != null ? other.baseInfo_.Clone() : null;
  1419. commandKey_ = other.commandKey_;
  1420. releaseParkspaceInfoEx_ = other.releaseParkspaceInfoEx_.Clone();
  1421. _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
  1422. }
  1423. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1424. public Parkspace_release_request_msg Clone() {
  1425. return new Parkspace_release_request_msg(this);
  1426. }
  1427. /// <summary>Field number for the "base_info" field.</summary>
  1428. public const int BaseInfoFieldNumber = 1;
  1429. private global::Message.Base_info baseInfo_;
  1430. /// <summary>
  1431. ///消息类型
  1432. /// </summary>
  1433. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1434. public global::Message.Base_info BaseInfo {
  1435. get { return baseInfo_; }
  1436. set {
  1437. baseInfo_ = value;
  1438. }
  1439. }
  1440. /// <summary>Field number for the "command_key" field.</summary>
  1441. public const int CommandKeyFieldNumber = 2;
  1442. private readonly static string CommandKeyDefaultValue = "";
  1443. private string commandKey_;
  1444. /// <summary>
  1445. ///指令唯一标识符id
  1446. /// </summary>
  1447. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1448. public string CommandKey {
  1449. get { return commandKey_ ?? CommandKeyDefaultValue; }
  1450. set {
  1451. commandKey_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
  1452. }
  1453. }
  1454. /// <summary>Gets whether the "command_key" field is set</summary>
  1455. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1456. public bool HasCommandKey {
  1457. get { return commandKey_ != null; }
  1458. }
  1459. /// <summary>Clears the value of the "command_key" field</summary>
  1460. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1461. public void ClearCommandKey() {
  1462. commandKey_ = null;
  1463. }
  1464. /// <summary>Field number for the "release_parkspace_info_ex" field.</summary>
  1465. public const int ReleaseParkspaceInfoExFieldNumber = 3;
  1466. private static readonly pb::FieldCodec<global::Message.Parkspace_info> _repeated_releaseParkspaceInfoEx_codec
  1467. = pb::FieldCodec.ForMessage(26, global::Message.Parkspace_info.Parser);
  1468. private readonly pbc::RepeatedField<global::Message.Parkspace_info> releaseParkspaceInfoEx_ = new pbc::RepeatedField<global::Message.Parkspace_info>();
  1469. /// <summary>
  1470. ///待释放车位信息
  1471. /// </summary>
  1472. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1473. public pbc::RepeatedField<global::Message.Parkspace_info> ReleaseParkspaceInfoEx {
  1474. get { return releaseParkspaceInfoEx_; }
  1475. }
  1476. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1477. public override bool Equals(object other) {
  1478. return Equals(other as Parkspace_release_request_msg);
  1479. }
  1480. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1481. public bool Equals(Parkspace_release_request_msg other) {
  1482. if (ReferenceEquals(other, null)) {
  1483. return false;
  1484. }
  1485. if (ReferenceEquals(other, this)) {
  1486. return true;
  1487. }
  1488. if (!object.Equals(BaseInfo, other.BaseInfo)) return false;
  1489. if (CommandKey != other.CommandKey) return false;
  1490. if(!releaseParkspaceInfoEx_.Equals(other.releaseParkspaceInfoEx_)) return false;
  1491. return Equals(_unknownFields, other._unknownFields);
  1492. }
  1493. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1494. public override int GetHashCode() {
  1495. int hash = 1;
  1496. if (baseInfo_ != null) hash ^= BaseInfo.GetHashCode();
  1497. if (HasCommandKey) hash ^= CommandKey.GetHashCode();
  1498. hash ^= releaseParkspaceInfoEx_.GetHashCode();
  1499. if (_unknownFields != null) {
  1500. hash ^= _unknownFields.GetHashCode();
  1501. }
  1502. return hash;
  1503. }
  1504. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1505. public override string ToString() {
  1506. return pb::JsonFormatter.ToDiagnosticString(this);
  1507. }
  1508. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1509. public void WriteTo(pb::CodedOutputStream output) {
  1510. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  1511. output.WriteRawMessage(this);
  1512. #else
  1513. if (baseInfo_ != null) {
  1514. output.WriteRawTag(10);
  1515. output.WriteMessage(BaseInfo);
  1516. }
  1517. if (HasCommandKey) {
  1518. output.WriteRawTag(18);
  1519. output.WriteString(CommandKey);
  1520. }
  1521. releaseParkspaceInfoEx_.WriteTo(output, _repeated_releaseParkspaceInfoEx_codec);
  1522. if (_unknownFields != null) {
  1523. _unknownFields.WriteTo(output);
  1524. }
  1525. #endif
  1526. }
  1527. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  1528. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1529. void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
  1530. if (baseInfo_ != null) {
  1531. output.WriteRawTag(10);
  1532. output.WriteMessage(BaseInfo);
  1533. }
  1534. if (HasCommandKey) {
  1535. output.WriteRawTag(18);
  1536. output.WriteString(CommandKey);
  1537. }
  1538. releaseParkspaceInfoEx_.WriteTo(ref output, _repeated_releaseParkspaceInfoEx_codec);
  1539. if (_unknownFields != null) {
  1540. _unknownFields.WriteTo(ref output);
  1541. }
  1542. }
  1543. #endif
  1544. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1545. public int CalculateSize() {
  1546. int size = 0;
  1547. if (baseInfo_ != null) {
  1548. size += 1 + pb::CodedOutputStream.ComputeMessageSize(BaseInfo);
  1549. }
  1550. if (HasCommandKey) {
  1551. size += 1 + pb::CodedOutputStream.ComputeStringSize(CommandKey);
  1552. }
  1553. size += releaseParkspaceInfoEx_.CalculateSize(_repeated_releaseParkspaceInfoEx_codec);
  1554. if (_unknownFields != null) {
  1555. size += _unknownFields.CalculateSize();
  1556. }
  1557. return size;
  1558. }
  1559. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1560. public void MergeFrom(Parkspace_release_request_msg other) {
  1561. if (other == null) {
  1562. return;
  1563. }
  1564. if (other.baseInfo_ != null) {
  1565. if (baseInfo_ == null) {
  1566. BaseInfo = new global::Message.Base_info();
  1567. }
  1568. BaseInfo.MergeFrom(other.BaseInfo);
  1569. }
  1570. if (other.HasCommandKey) {
  1571. CommandKey = other.CommandKey;
  1572. }
  1573. releaseParkspaceInfoEx_.Add(other.releaseParkspaceInfoEx_);
  1574. _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
  1575. }
  1576. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1577. public void MergeFrom(pb::CodedInputStream input) {
  1578. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  1579. input.ReadRawMessage(this);
  1580. #else
  1581. uint tag;
  1582. while ((tag = input.ReadTag()) != 0) {
  1583. switch(tag) {
  1584. default:
  1585. _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
  1586. break;
  1587. case 10: {
  1588. if (baseInfo_ == null) {
  1589. BaseInfo = new global::Message.Base_info();
  1590. }
  1591. input.ReadMessage(BaseInfo);
  1592. break;
  1593. }
  1594. case 18: {
  1595. CommandKey = input.ReadString();
  1596. break;
  1597. }
  1598. case 26: {
  1599. releaseParkspaceInfoEx_.AddEntriesFrom(input, _repeated_releaseParkspaceInfoEx_codec);
  1600. break;
  1601. }
  1602. }
  1603. }
  1604. #endif
  1605. }
  1606. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  1607. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1608. void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
  1609. uint tag;
  1610. while ((tag = input.ReadTag()) != 0) {
  1611. switch(tag) {
  1612. default:
  1613. _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
  1614. break;
  1615. case 10: {
  1616. if (baseInfo_ == null) {
  1617. BaseInfo = new global::Message.Base_info();
  1618. }
  1619. input.ReadMessage(BaseInfo);
  1620. break;
  1621. }
  1622. case 18: {
  1623. CommandKey = input.ReadString();
  1624. break;
  1625. }
  1626. case 26: {
  1627. releaseParkspaceInfoEx_.AddEntriesFrom(ref input, _repeated_releaseParkspaceInfoEx_codec);
  1628. break;
  1629. }
  1630. }
  1631. }
  1632. }
  1633. #endif
  1634. }
  1635. /// <summary>
  1636. ///释放车位请求
  1637. /// </summary>
  1638. public sealed partial class Parkspace_release_response_msg : pb::IMessage<Parkspace_release_response_msg>
  1639. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  1640. , pb::IBufferMessage
  1641. #endif
  1642. {
  1643. private static readonly pb::MessageParser<Parkspace_release_response_msg> _parser = new pb::MessageParser<Parkspace_release_response_msg>(() => new Parkspace_release_response_msg());
  1644. private pb::UnknownFieldSet _unknownFields;
  1645. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1646. public static pb::MessageParser<Parkspace_release_response_msg> Parser { get { return _parser; } }
  1647. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1648. public static pbr::MessageDescriptor Descriptor {
  1649. get { return global::Message.ParkspaceAllocationMessageReflection.Descriptor.MessageTypes[5]; }
  1650. }
  1651. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1652. pbr::MessageDescriptor pb::IMessage.Descriptor {
  1653. get { return Descriptor; }
  1654. }
  1655. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1656. public Parkspace_release_response_msg() {
  1657. OnConstruction();
  1658. }
  1659. partial void OnConstruction();
  1660. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1661. public Parkspace_release_response_msg(Parkspace_release_response_msg other) : this() {
  1662. baseInfo_ = other.baseInfo_ != null ? other.baseInfo_.Clone() : null;
  1663. commandKey_ = other.commandKey_;
  1664. errorManager_ = other.errorManager_ != null ? other.errorManager_.Clone() : null;
  1665. releaseParkspaceInfoEx_ = other.releaseParkspaceInfoEx_.Clone();
  1666. _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
  1667. }
  1668. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1669. public Parkspace_release_response_msg Clone() {
  1670. return new Parkspace_release_response_msg(this);
  1671. }
  1672. /// <summary>Field number for the "base_info" field.</summary>
  1673. public const int BaseInfoFieldNumber = 1;
  1674. private global::Message.Base_info baseInfo_;
  1675. /// <summary>
  1676. ///消息类型
  1677. /// </summary>
  1678. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1679. public global::Message.Base_info BaseInfo {
  1680. get { return baseInfo_; }
  1681. set {
  1682. baseInfo_ = value;
  1683. }
  1684. }
  1685. /// <summary>Field number for the "command_key" field.</summary>
  1686. public const int CommandKeyFieldNumber = 2;
  1687. private readonly static string CommandKeyDefaultValue = "";
  1688. private string commandKey_;
  1689. /// <summary>
  1690. ///指令唯一标识符id
  1691. /// </summary>
  1692. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1693. public string CommandKey {
  1694. get { return commandKey_ ?? CommandKeyDefaultValue; }
  1695. set {
  1696. commandKey_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
  1697. }
  1698. }
  1699. /// <summary>Gets whether the "command_key" field is set</summary>
  1700. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1701. public bool HasCommandKey {
  1702. get { return commandKey_ != null; }
  1703. }
  1704. /// <summary>Clears the value of the "command_key" field</summary>
  1705. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1706. public void ClearCommandKey() {
  1707. commandKey_ = null;
  1708. }
  1709. /// <summary>Field number for the "error_manager" field.</summary>
  1710. public const int ErrorManagerFieldNumber = 3;
  1711. private global::Message.Error_manager errorManager_;
  1712. /// <summary>
  1713. ///分配成功与否标志
  1714. /// </summary>
  1715. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1716. public global::Message.Error_manager ErrorManager {
  1717. get { return errorManager_; }
  1718. set {
  1719. errorManager_ = value;
  1720. }
  1721. }
  1722. /// <summary>Field number for the "release_parkspace_info_ex" field.</summary>
  1723. public const int ReleaseParkspaceInfoExFieldNumber = 4;
  1724. private static readonly pb::FieldCodec<global::Message.Parkspace_info> _repeated_releaseParkspaceInfoEx_codec
  1725. = pb::FieldCodec.ForMessage(34, global::Message.Parkspace_info.Parser);
  1726. private readonly pbc::RepeatedField<global::Message.Parkspace_info> releaseParkspaceInfoEx_ = new pbc::RepeatedField<global::Message.Parkspace_info>();
  1727. /// <summary>
  1728. ///待释放车位信息
  1729. /// </summary>
  1730. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1731. public pbc::RepeatedField<global::Message.Parkspace_info> ReleaseParkspaceInfoEx {
  1732. get { return releaseParkspaceInfoEx_; }
  1733. }
  1734. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1735. public override bool Equals(object other) {
  1736. return Equals(other as Parkspace_release_response_msg);
  1737. }
  1738. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1739. public bool Equals(Parkspace_release_response_msg other) {
  1740. if (ReferenceEquals(other, null)) {
  1741. return false;
  1742. }
  1743. if (ReferenceEquals(other, this)) {
  1744. return true;
  1745. }
  1746. if (!object.Equals(BaseInfo, other.BaseInfo)) return false;
  1747. if (CommandKey != other.CommandKey) return false;
  1748. if (!object.Equals(ErrorManager, other.ErrorManager)) return false;
  1749. if(!releaseParkspaceInfoEx_.Equals(other.releaseParkspaceInfoEx_)) return false;
  1750. return Equals(_unknownFields, other._unknownFields);
  1751. }
  1752. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1753. public override int GetHashCode() {
  1754. int hash = 1;
  1755. if (baseInfo_ != null) hash ^= BaseInfo.GetHashCode();
  1756. if (HasCommandKey) hash ^= CommandKey.GetHashCode();
  1757. if (errorManager_ != null) hash ^= ErrorManager.GetHashCode();
  1758. hash ^= releaseParkspaceInfoEx_.GetHashCode();
  1759. if (_unknownFields != null) {
  1760. hash ^= _unknownFields.GetHashCode();
  1761. }
  1762. return hash;
  1763. }
  1764. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1765. public override string ToString() {
  1766. return pb::JsonFormatter.ToDiagnosticString(this);
  1767. }
  1768. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1769. public void WriteTo(pb::CodedOutputStream output) {
  1770. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  1771. output.WriteRawMessage(this);
  1772. #else
  1773. if (baseInfo_ != null) {
  1774. output.WriteRawTag(10);
  1775. output.WriteMessage(BaseInfo);
  1776. }
  1777. if (HasCommandKey) {
  1778. output.WriteRawTag(18);
  1779. output.WriteString(CommandKey);
  1780. }
  1781. if (errorManager_ != null) {
  1782. output.WriteRawTag(26);
  1783. output.WriteMessage(ErrorManager);
  1784. }
  1785. releaseParkspaceInfoEx_.WriteTo(output, _repeated_releaseParkspaceInfoEx_codec);
  1786. if (_unknownFields != null) {
  1787. _unknownFields.WriteTo(output);
  1788. }
  1789. #endif
  1790. }
  1791. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  1792. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1793. void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
  1794. if (baseInfo_ != null) {
  1795. output.WriteRawTag(10);
  1796. output.WriteMessage(BaseInfo);
  1797. }
  1798. if (HasCommandKey) {
  1799. output.WriteRawTag(18);
  1800. output.WriteString(CommandKey);
  1801. }
  1802. if (errorManager_ != null) {
  1803. output.WriteRawTag(26);
  1804. output.WriteMessage(ErrorManager);
  1805. }
  1806. releaseParkspaceInfoEx_.WriteTo(ref output, _repeated_releaseParkspaceInfoEx_codec);
  1807. if (_unknownFields != null) {
  1808. _unknownFields.WriteTo(ref output);
  1809. }
  1810. }
  1811. #endif
  1812. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1813. public int CalculateSize() {
  1814. int size = 0;
  1815. if (baseInfo_ != null) {
  1816. size += 1 + pb::CodedOutputStream.ComputeMessageSize(BaseInfo);
  1817. }
  1818. if (HasCommandKey) {
  1819. size += 1 + pb::CodedOutputStream.ComputeStringSize(CommandKey);
  1820. }
  1821. if (errorManager_ != null) {
  1822. size += 1 + pb::CodedOutputStream.ComputeMessageSize(ErrorManager);
  1823. }
  1824. size += releaseParkspaceInfoEx_.CalculateSize(_repeated_releaseParkspaceInfoEx_codec);
  1825. if (_unknownFields != null) {
  1826. size += _unknownFields.CalculateSize();
  1827. }
  1828. return size;
  1829. }
  1830. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1831. public void MergeFrom(Parkspace_release_response_msg other) {
  1832. if (other == null) {
  1833. return;
  1834. }
  1835. if (other.baseInfo_ != null) {
  1836. if (baseInfo_ == null) {
  1837. BaseInfo = new global::Message.Base_info();
  1838. }
  1839. BaseInfo.MergeFrom(other.BaseInfo);
  1840. }
  1841. if (other.HasCommandKey) {
  1842. CommandKey = other.CommandKey;
  1843. }
  1844. if (other.errorManager_ != null) {
  1845. if (errorManager_ == null) {
  1846. ErrorManager = new global::Message.Error_manager();
  1847. }
  1848. ErrorManager.MergeFrom(other.ErrorManager);
  1849. }
  1850. releaseParkspaceInfoEx_.Add(other.releaseParkspaceInfoEx_);
  1851. _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
  1852. }
  1853. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1854. public void MergeFrom(pb::CodedInputStream input) {
  1855. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  1856. input.ReadRawMessage(this);
  1857. #else
  1858. uint tag;
  1859. while ((tag = input.ReadTag()) != 0) {
  1860. switch(tag) {
  1861. default:
  1862. _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
  1863. break;
  1864. case 10: {
  1865. if (baseInfo_ == null) {
  1866. BaseInfo = new global::Message.Base_info();
  1867. }
  1868. input.ReadMessage(BaseInfo);
  1869. break;
  1870. }
  1871. case 18: {
  1872. CommandKey = input.ReadString();
  1873. break;
  1874. }
  1875. case 26: {
  1876. if (errorManager_ == null) {
  1877. ErrorManager = new global::Message.Error_manager();
  1878. }
  1879. input.ReadMessage(ErrorManager);
  1880. break;
  1881. }
  1882. case 34: {
  1883. releaseParkspaceInfoEx_.AddEntriesFrom(input, _repeated_releaseParkspaceInfoEx_codec);
  1884. break;
  1885. }
  1886. }
  1887. }
  1888. #endif
  1889. }
  1890. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  1891. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1892. void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
  1893. uint tag;
  1894. while ((tag = input.ReadTag()) != 0) {
  1895. switch(tag) {
  1896. default:
  1897. _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
  1898. break;
  1899. case 10: {
  1900. if (baseInfo_ == null) {
  1901. BaseInfo = new global::Message.Base_info();
  1902. }
  1903. input.ReadMessage(BaseInfo);
  1904. break;
  1905. }
  1906. case 18: {
  1907. CommandKey = input.ReadString();
  1908. break;
  1909. }
  1910. case 26: {
  1911. if (errorManager_ == null) {
  1912. ErrorManager = new global::Message.Error_manager();
  1913. }
  1914. input.ReadMessage(ErrorManager);
  1915. break;
  1916. }
  1917. case 34: {
  1918. releaseParkspaceInfoEx_.AddEntriesFrom(ref input, _repeated_releaseParkspaceInfoEx_codec);
  1919. break;
  1920. }
  1921. }
  1922. }
  1923. }
  1924. #endif
  1925. }
  1926. /// <summary>
  1927. /// 4.手动操作修改车位状态
  1928. /// </summary>
  1929. public sealed partial class Parkspace_force_update_request_msg : pb::IMessage<Parkspace_force_update_request_msg>
  1930. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  1931. , pb::IBufferMessage
  1932. #endif
  1933. {
  1934. 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());
  1935. private pb::UnknownFieldSet _unknownFields;
  1936. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1937. public static pb::MessageParser<Parkspace_force_update_request_msg> Parser { get { return _parser; } }
  1938. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1939. public static pbr::MessageDescriptor Descriptor {
  1940. get { return global::Message.ParkspaceAllocationMessageReflection.Descriptor.MessageTypes[6]; }
  1941. }
  1942. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1943. pbr::MessageDescriptor pb::IMessage.Descriptor {
  1944. get { return Descriptor; }
  1945. }
  1946. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1947. public Parkspace_force_update_request_msg() {
  1948. OnConstruction();
  1949. }
  1950. partial void OnConstruction();
  1951. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1952. public Parkspace_force_update_request_msg(Parkspace_force_update_request_msg other) : this() {
  1953. baseInfo_ = other.baseInfo_ != null ? other.baseInfo_.Clone() : null;
  1954. commandKey_ = other.commandKey_;
  1955. manualParkspaceInfoEx_ = other.manualParkspaceInfoEx_.Clone();
  1956. _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
  1957. }
  1958. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1959. public Parkspace_force_update_request_msg Clone() {
  1960. return new Parkspace_force_update_request_msg(this);
  1961. }
  1962. /// <summary>Field number for the "base_info" field.</summary>
  1963. public const int BaseInfoFieldNumber = 1;
  1964. private global::Message.Base_info baseInfo_;
  1965. /// <summary>
  1966. ///消息类型
  1967. /// </summary>
  1968. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1969. public global::Message.Base_info BaseInfo {
  1970. get { return baseInfo_; }
  1971. set {
  1972. baseInfo_ = value;
  1973. }
  1974. }
  1975. /// <summary>Field number for the "command_key" field.</summary>
  1976. public const int CommandKeyFieldNumber = 2;
  1977. private readonly static string CommandKeyDefaultValue = "";
  1978. private string commandKey_;
  1979. /// <summary>
  1980. ///指令唯一标识符id
  1981. /// </summary>
  1982. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1983. public string CommandKey {
  1984. get { return commandKey_ ?? CommandKeyDefaultValue; }
  1985. set {
  1986. commandKey_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
  1987. }
  1988. }
  1989. /// <summary>Gets whether the "command_key" field is set</summary>
  1990. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1991. public bool HasCommandKey {
  1992. get { return commandKey_ != null; }
  1993. }
  1994. /// <summary>Clears the value of the "command_key" field</summary>
  1995. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1996. public void ClearCommandKey() {
  1997. commandKey_ = null;
  1998. }
  1999. /// <summary>Field number for the "manual_parkspace_info_ex" field.</summary>
  2000. public const int ManualParkspaceInfoExFieldNumber = 3;
  2001. private static readonly pb::FieldCodec<global::Message.Parkspace_info> _repeated_manualParkspaceInfoEx_codec
  2002. = pb::FieldCodec.ForMessage(26, global::Message.Parkspace_info.Parser);
  2003. private readonly pbc::RepeatedField<global::Message.Parkspace_info> manualParkspaceInfoEx_ = new pbc::RepeatedField<global::Message.Parkspace_info>();
  2004. /// <summary>
  2005. ///待手动修改车位信息,通过id定位
  2006. /// </summary>
  2007. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2008. public pbc::RepeatedField<global::Message.Parkspace_info> ManualParkspaceInfoEx {
  2009. get { return manualParkspaceInfoEx_; }
  2010. }
  2011. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2012. public override bool Equals(object other) {
  2013. return Equals(other as Parkspace_force_update_request_msg);
  2014. }
  2015. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2016. public bool Equals(Parkspace_force_update_request_msg other) {
  2017. if (ReferenceEquals(other, null)) {
  2018. return false;
  2019. }
  2020. if (ReferenceEquals(other, this)) {
  2021. return true;
  2022. }
  2023. if (!object.Equals(BaseInfo, other.BaseInfo)) return false;
  2024. if (CommandKey != other.CommandKey) return false;
  2025. if(!manualParkspaceInfoEx_.Equals(other.manualParkspaceInfoEx_)) return false;
  2026. return Equals(_unknownFields, other._unknownFields);
  2027. }
  2028. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2029. public override int GetHashCode() {
  2030. int hash = 1;
  2031. if (baseInfo_ != null) hash ^= BaseInfo.GetHashCode();
  2032. if (HasCommandKey) hash ^= CommandKey.GetHashCode();
  2033. hash ^= manualParkspaceInfoEx_.GetHashCode();
  2034. if (_unknownFields != null) {
  2035. hash ^= _unknownFields.GetHashCode();
  2036. }
  2037. return hash;
  2038. }
  2039. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2040. public override string ToString() {
  2041. return pb::JsonFormatter.ToDiagnosticString(this);
  2042. }
  2043. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2044. public void WriteTo(pb::CodedOutputStream output) {
  2045. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  2046. output.WriteRawMessage(this);
  2047. #else
  2048. if (baseInfo_ != null) {
  2049. output.WriteRawTag(10);
  2050. output.WriteMessage(BaseInfo);
  2051. }
  2052. if (HasCommandKey) {
  2053. output.WriteRawTag(18);
  2054. output.WriteString(CommandKey);
  2055. }
  2056. manualParkspaceInfoEx_.WriteTo(output, _repeated_manualParkspaceInfoEx_codec);
  2057. if (_unknownFields != null) {
  2058. _unknownFields.WriteTo(output);
  2059. }
  2060. #endif
  2061. }
  2062. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  2063. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2064. void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
  2065. if (baseInfo_ != null) {
  2066. output.WriteRawTag(10);
  2067. output.WriteMessage(BaseInfo);
  2068. }
  2069. if (HasCommandKey) {
  2070. output.WriteRawTag(18);
  2071. output.WriteString(CommandKey);
  2072. }
  2073. manualParkspaceInfoEx_.WriteTo(ref output, _repeated_manualParkspaceInfoEx_codec);
  2074. if (_unknownFields != null) {
  2075. _unknownFields.WriteTo(ref output);
  2076. }
  2077. }
  2078. #endif
  2079. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2080. public int CalculateSize() {
  2081. int size = 0;
  2082. if (baseInfo_ != null) {
  2083. size += 1 + pb::CodedOutputStream.ComputeMessageSize(BaseInfo);
  2084. }
  2085. if (HasCommandKey) {
  2086. size += 1 + pb::CodedOutputStream.ComputeStringSize(CommandKey);
  2087. }
  2088. size += manualParkspaceInfoEx_.CalculateSize(_repeated_manualParkspaceInfoEx_codec);
  2089. if (_unknownFields != null) {
  2090. size += _unknownFields.CalculateSize();
  2091. }
  2092. return size;
  2093. }
  2094. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2095. public void MergeFrom(Parkspace_force_update_request_msg other) {
  2096. if (other == null) {
  2097. return;
  2098. }
  2099. if (other.baseInfo_ != null) {
  2100. if (baseInfo_ == null) {
  2101. BaseInfo = new global::Message.Base_info();
  2102. }
  2103. BaseInfo.MergeFrom(other.BaseInfo);
  2104. }
  2105. if (other.HasCommandKey) {
  2106. CommandKey = other.CommandKey;
  2107. }
  2108. manualParkspaceInfoEx_.Add(other.manualParkspaceInfoEx_);
  2109. _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
  2110. }
  2111. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2112. public void MergeFrom(pb::CodedInputStream input) {
  2113. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  2114. input.ReadRawMessage(this);
  2115. #else
  2116. uint tag;
  2117. while ((tag = input.ReadTag()) != 0) {
  2118. switch(tag) {
  2119. default:
  2120. _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
  2121. break;
  2122. case 10: {
  2123. if (baseInfo_ == null) {
  2124. BaseInfo = new global::Message.Base_info();
  2125. }
  2126. input.ReadMessage(BaseInfo);
  2127. break;
  2128. }
  2129. case 18: {
  2130. CommandKey = input.ReadString();
  2131. break;
  2132. }
  2133. case 26: {
  2134. manualParkspaceInfoEx_.AddEntriesFrom(input, _repeated_manualParkspaceInfoEx_codec);
  2135. break;
  2136. }
  2137. }
  2138. }
  2139. #endif
  2140. }
  2141. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  2142. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2143. void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
  2144. uint tag;
  2145. while ((tag = input.ReadTag()) != 0) {
  2146. switch(tag) {
  2147. default:
  2148. _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
  2149. break;
  2150. case 10: {
  2151. if (baseInfo_ == null) {
  2152. BaseInfo = new global::Message.Base_info();
  2153. }
  2154. input.ReadMessage(BaseInfo);
  2155. break;
  2156. }
  2157. case 18: {
  2158. CommandKey = input.ReadString();
  2159. break;
  2160. }
  2161. case 26: {
  2162. manualParkspaceInfoEx_.AddEntriesFrom(ref input, _repeated_manualParkspaceInfoEx_codec);
  2163. break;
  2164. }
  2165. }
  2166. }
  2167. }
  2168. #endif
  2169. }
  2170. /// <summary>
  2171. ///手动操作反馈
  2172. /// </summary>
  2173. public sealed partial class Parkspace_force_update_response_msg : pb::IMessage<Parkspace_force_update_response_msg>
  2174. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  2175. , pb::IBufferMessage
  2176. #endif
  2177. {
  2178. 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());
  2179. private pb::UnknownFieldSet _unknownFields;
  2180. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2181. public static pb::MessageParser<Parkspace_force_update_response_msg> Parser { get { return _parser; } }
  2182. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2183. public static pbr::MessageDescriptor Descriptor {
  2184. get { return global::Message.ParkspaceAllocationMessageReflection.Descriptor.MessageTypes[7]; }
  2185. }
  2186. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2187. pbr::MessageDescriptor pb::IMessage.Descriptor {
  2188. get { return Descriptor; }
  2189. }
  2190. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2191. public Parkspace_force_update_response_msg() {
  2192. OnConstruction();
  2193. }
  2194. partial void OnConstruction();
  2195. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2196. public Parkspace_force_update_response_msg(Parkspace_force_update_response_msg other) : this() {
  2197. baseInfo_ = other.baseInfo_ != null ? other.baseInfo_.Clone() : null;
  2198. commandKey_ = other.commandKey_;
  2199. errorManager_ = other.errorManager_ != null ? other.errorManager_.Clone() : null;
  2200. manualParkspaceInfoEx_ = other.manualParkspaceInfoEx_.Clone();
  2201. _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
  2202. }
  2203. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2204. public Parkspace_force_update_response_msg Clone() {
  2205. return new Parkspace_force_update_response_msg(this);
  2206. }
  2207. /// <summary>Field number for the "base_info" field.</summary>
  2208. public const int BaseInfoFieldNumber = 1;
  2209. private global::Message.Base_info baseInfo_;
  2210. /// <summary>
  2211. ///消息类型
  2212. /// </summary>
  2213. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2214. public global::Message.Base_info BaseInfo {
  2215. get { return baseInfo_; }
  2216. set {
  2217. baseInfo_ = value;
  2218. }
  2219. }
  2220. /// <summary>Field number for the "command_key" field.</summary>
  2221. public const int CommandKeyFieldNumber = 2;
  2222. private readonly static string CommandKeyDefaultValue = "";
  2223. private string commandKey_;
  2224. /// <summary>
  2225. ///指令唯一标识符id
  2226. /// </summary>
  2227. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2228. public string CommandKey {
  2229. get { return commandKey_ ?? CommandKeyDefaultValue; }
  2230. set {
  2231. commandKey_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
  2232. }
  2233. }
  2234. /// <summary>Gets whether the "command_key" field is set</summary>
  2235. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2236. public bool HasCommandKey {
  2237. get { return commandKey_ != null; }
  2238. }
  2239. /// <summary>Clears the value of the "command_key" field</summary>
  2240. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2241. public void ClearCommandKey() {
  2242. commandKey_ = null;
  2243. }
  2244. /// <summary>Field number for the "error_manager" field.</summary>
  2245. public const int ErrorManagerFieldNumber = 3;
  2246. private global::Message.Error_manager errorManager_;
  2247. /// <summary>
  2248. ///分配成功与否标志
  2249. /// </summary>
  2250. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2251. public global::Message.Error_manager ErrorManager {
  2252. get { return errorManager_; }
  2253. set {
  2254. errorManager_ = value;
  2255. }
  2256. }
  2257. /// <summary>Field number for the "manual_parkspace_info_ex" field.</summary>
  2258. public const int ManualParkspaceInfoExFieldNumber = 4;
  2259. private static readonly pb::FieldCodec<global::Message.Parkspace_info> _repeated_manualParkspaceInfoEx_codec
  2260. = pb::FieldCodec.ForMessage(34, global::Message.Parkspace_info.Parser);
  2261. private readonly pbc::RepeatedField<global::Message.Parkspace_info> manualParkspaceInfoEx_ = new pbc::RepeatedField<global::Message.Parkspace_info>();
  2262. /// <summary>
  2263. ///已修改后的车位信息
  2264. /// </summary>
  2265. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2266. public pbc::RepeatedField<global::Message.Parkspace_info> ManualParkspaceInfoEx {
  2267. get { return manualParkspaceInfoEx_; }
  2268. }
  2269. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2270. public override bool Equals(object other) {
  2271. return Equals(other as Parkspace_force_update_response_msg);
  2272. }
  2273. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2274. public bool Equals(Parkspace_force_update_response_msg other) {
  2275. if (ReferenceEquals(other, null)) {
  2276. return false;
  2277. }
  2278. if (ReferenceEquals(other, this)) {
  2279. return true;
  2280. }
  2281. if (!object.Equals(BaseInfo, other.BaseInfo)) return false;
  2282. if (CommandKey != other.CommandKey) return false;
  2283. if (!object.Equals(ErrorManager, other.ErrorManager)) return false;
  2284. if(!manualParkspaceInfoEx_.Equals(other.manualParkspaceInfoEx_)) return false;
  2285. return Equals(_unknownFields, other._unknownFields);
  2286. }
  2287. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2288. public override int GetHashCode() {
  2289. int hash = 1;
  2290. if (baseInfo_ != null) hash ^= BaseInfo.GetHashCode();
  2291. if (HasCommandKey) hash ^= CommandKey.GetHashCode();
  2292. if (errorManager_ != null) hash ^= ErrorManager.GetHashCode();
  2293. hash ^= manualParkspaceInfoEx_.GetHashCode();
  2294. if (_unknownFields != null) {
  2295. hash ^= _unknownFields.GetHashCode();
  2296. }
  2297. return hash;
  2298. }
  2299. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2300. public override string ToString() {
  2301. return pb::JsonFormatter.ToDiagnosticString(this);
  2302. }
  2303. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2304. public void WriteTo(pb::CodedOutputStream output) {
  2305. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  2306. output.WriteRawMessage(this);
  2307. #else
  2308. if (baseInfo_ != null) {
  2309. output.WriteRawTag(10);
  2310. output.WriteMessage(BaseInfo);
  2311. }
  2312. if (HasCommandKey) {
  2313. output.WriteRawTag(18);
  2314. output.WriteString(CommandKey);
  2315. }
  2316. if (errorManager_ != null) {
  2317. output.WriteRawTag(26);
  2318. output.WriteMessage(ErrorManager);
  2319. }
  2320. manualParkspaceInfoEx_.WriteTo(output, _repeated_manualParkspaceInfoEx_codec);
  2321. if (_unknownFields != null) {
  2322. _unknownFields.WriteTo(output);
  2323. }
  2324. #endif
  2325. }
  2326. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  2327. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2328. void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
  2329. if (baseInfo_ != null) {
  2330. output.WriteRawTag(10);
  2331. output.WriteMessage(BaseInfo);
  2332. }
  2333. if (HasCommandKey) {
  2334. output.WriteRawTag(18);
  2335. output.WriteString(CommandKey);
  2336. }
  2337. if (errorManager_ != null) {
  2338. output.WriteRawTag(26);
  2339. output.WriteMessage(ErrorManager);
  2340. }
  2341. manualParkspaceInfoEx_.WriteTo(ref output, _repeated_manualParkspaceInfoEx_codec);
  2342. if (_unknownFields != null) {
  2343. _unknownFields.WriteTo(ref output);
  2344. }
  2345. }
  2346. #endif
  2347. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2348. public int CalculateSize() {
  2349. int size = 0;
  2350. if (baseInfo_ != null) {
  2351. size += 1 + pb::CodedOutputStream.ComputeMessageSize(BaseInfo);
  2352. }
  2353. if (HasCommandKey) {
  2354. size += 1 + pb::CodedOutputStream.ComputeStringSize(CommandKey);
  2355. }
  2356. if (errorManager_ != null) {
  2357. size += 1 + pb::CodedOutputStream.ComputeMessageSize(ErrorManager);
  2358. }
  2359. size += manualParkspaceInfoEx_.CalculateSize(_repeated_manualParkspaceInfoEx_codec);
  2360. if (_unknownFields != null) {
  2361. size += _unknownFields.CalculateSize();
  2362. }
  2363. return size;
  2364. }
  2365. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2366. public void MergeFrom(Parkspace_force_update_response_msg other) {
  2367. if (other == null) {
  2368. return;
  2369. }
  2370. if (other.baseInfo_ != null) {
  2371. if (baseInfo_ == null) {
  2372. BaseInfo = new global::Message.Base_info();
  2373. }
  2374. BaseInfo.MergeFrom(other.BaseInfo);
  2375. }
  2376. if (other.HasCommandKey) {
  2377. CommandKey = other.CommandKey;
  2378. }
  2379. if (other.errorManager_ != null) {
  2380. if (errorManager_ == null) {
  2381. ErrorManager = new global::Message.Error_manager();
  2382. }
  2383. ErrorManager.MergeFrom(other.ErrorManager);
  2384. }
  2385. manualParkspaceInfoEx_.Add(other.manualParkspaceInfoEx_);
  2386. _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
  2387. }
  2388. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2389. public void MergeFrom(pb::CodedInputStream input) {
  2390. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  2391. input.ReadRawMessage(this);
  2392. #else
  2393. uint tag;
  2394. while ((tag = input.ReadTag()) != 0) {
  2395. switch(tag) {
  2396. default:
  2397. _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
  2398. break;
  2399. case 10: {
  2400. if (baseInfo_ == null) {
  2401. BaseInfo = new global::Message.Base_info();
  2402. }
  2403. input.ReadMessage(BaseInfo);
  2404. break;
  2405. }
  2406. case 18: {
  2407. CommandKey = input.ReadString();
  2408. break;
  2409. }
  2410. case 26: {
  2411. if (errorManager_ == null) {
  2412. ErrorManager = new global::Message.Error_manager();
  2413. }
  2414. input.ReadMessage(ErrorManager);
  2415. break;
  2416. }
  2417. case 34: {
  2418. manualParkspaceInfoEx_.AddEntriesFrom(input, _repeated_manualParkspaceInfoEx_codec);
  2419. break;
  2420. }
  2421. }
  2422. }
  2423. #endif
  2424. }
  2425. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  2426. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2427. void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
  2428. uint tag;
  2429. while ((tag = input.ReadTag()) != 0) {
  2430. switch(tag) {
  2431. default:
  2432. _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
  2433. break;
  2434. case 10: {
  2435. if (baseInfo_ == null) {
  2436. BaseInfo = new global::Message.Base_info();
  2437. }
  2438. input.ReadMessage(BaseInfo);
  2439. break;
  2440. }
  2441. case 18: {
  2442. CommandKey = input.ReadString();
  2443. break;
  2444. }
  2445. case 26: {
  2446. if (errorManager_ == null) {
  2447. ErrorManager = new global::Message.Error_manager();
  2448. }
  2449. input.ReadMessage(ErrorManager);
  2450. break;
  2451. }
  2452. case 34: {
  2453. manualParkspaceInfoEx_.AddEntriesFrom(ref input, _repeated_manualParkspaceInfoEx_codec);
  2454. break;
  2455. }
  2456. }
  2457. }
  2458. }
  2459. #endif
  2460. }
  2461. /// <summary>
  2462. /// 5.确认分配车位
  2463. /// </summary>
  2464. public sealed partial class Parkspace_confirm_alloc_request_msg : pb::IMessage<Parkspace_confirm_alloc_request_msg>
  2465. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  2466. , pb::IBufferMessage
  2467. #endif
  2468. {
  2469. 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());
  2470. private pb::UnknownFieldSet _unknownFields;
  2471. private int _hasBits0;
  2472. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2473. public static pb::MessageParser<Parkspace_confirm_alloc_request_msg> Parser { get { return _parser; } }
  2474. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2475. public static pbr::MessageDescriptor Descriptor {
  2476. get { return global::Message.ParkspaceAllocationMessageReflection.Descriptor.MessageTypes[8]; }
  2477. }
  2478. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2479. pbr::MessageDescriptor pb::IMessage.Descriptor {
  2480. get { return Descriptor; }
  2481. }
  2482. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2483. public Parkspace_confirm_alloc_request_msg() {
  2484. OnConstruction();
  2485. }
  2486. partial void OnConstruction();
  2487. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2488. public Parkspace_confirm_alloc_request_msg(Parkspace_confirm_alloc_request_msg other) : this() {
  2489. _hasBits0 = other._hasBits0;
  2490. baseInfo_ = other.baseInfo_ != null ? other.baseInfo_.Clone() : null;
  2491. commandKey_ = other.commandKey_;
  2492. confirmParkspaceInfoEx_ = other.confirmParkspaceInfoEx_.Clone();
  2493. carType_ = other.carType_;
  2494. _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
  2495. }
  2496. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2497. public Parkspace_confirm_alloc_request_msg Clone() {
  2498. return new Parkspace_confirm_alloc_request_msg(this);
  2499. }
  2500. /// <summary>Field number for the "base_info" field.</summary>
  2501. public const int BaseInfoFieldNumber = 1;
  2502. private global::Message.Base_info baseInfo_;
  2503. /// <summary>
  2504. ///消息类型
  2505. /// </summary>
  2506. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2507. public global::Message.Base_info BaseInfo {
  2508. get { return baseInfo_; }
  2509. set {
  2510. baseInfo_ = value;
  2511. }
  2512. }
  2513. /// <summary>Field number for the "command_key" field.</summary>
  2514. public const int CommandKeyFieldNumber = 2;
  2515. private readonly static string CommandKeyDefaultValue = "";
  2516. private string commandKey_;
  2517. /// <summary>
  2518. ///指令唯一标识符id
  2519. /// </summary>
  2520. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2521. public string CommandKey {
  2522. get { return commandKey_ ?? CommandKeyDefaultValue; }
  2523. set {
  2524. commandKey_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
  2525. }
  2526. }
  2527. /// <summary>Gets whether the "command_key" field is set</summary>
  2528. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2529. public bool HasCommandKey {
  2530. get { return commandKey_ != null; }
  2531. }
  2532. /// <summary>Clears the value of the "command_key" field</summary>
  2533. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2534. public void ClearCommandKey() {
  2535. commandKey_ = null;
  2536. }
  2537. /// <summary>Field number for the "confirm_parkspace_info_ex" field.</summary>
  2538. public const int ConfirmParkspaceInfoExFieldNumber = 3;
  2539. private static readonly pb::FieldCodec<global::Message.Parkspace_info> _repeated_confirmParkspaceInfoEx_codec
  2540. = pb::FieldCodec.ForMessage(26, global::Message.Parkspace_info.Parser);
  2541. private readonly pbc::RepeatedField<global::Message.Parkspace_info> confirmParkspaceInfoEx_ = new pbc::RepeatedField<global::Message.Parkspace_info>();
  2542. /// <summary>
  2543. ///分配车位信息
  2544. /// </summary>
  2545. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2546. public pbc::RepeatedField<global::Message.Parkspace_info> ConfirmParkspaceInfoEx {
  2547. get { return confirmParkspaceInfoEx_; }
  2548. }
  2549. /// <summary>Field number for the "car_type" field.</summary>
  2550. public const int CarTypeFieldNumber = 4;
  2551. private readonly static global::Message.Car_type CarTypeDefaultValue = global::Message.Car_type.UnknowCarType;
  2552. private global::Message.Car_type carType_;
  2553. /// <summary>
  2554. ///汽车类型
  2555. /// </summary>
  2556. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2557. public global::Message.Car_type CarType {
  2558. get { if ((_hasBits0 & 1) != 0) { return carType_; } else { return CarTypeDefaultValue; } }
  2559. set {
  2560. _hasBits0 |= 1;
  2561. carType_ = value;
  2562. }
  2563. }
  2564. /// <summary>Gets whether the "car_type" field is set</summary>
  2565. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2566. public bool HasCarType {
  2567. get { return (_hasBits0 & 1) != 0; }
  2568. }
  2569. /// <summary>Clears the value of the "car_type" field</summary>
  2570. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2571. public void ClearCarType() {
  2572. _hasBits0 &= ~1;
  2573. }
  2574. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2575. public override bool Equals(object other) {
  2576. return Equals(other as Parkspace_confirm_alloc_request_msg);
  2577. }
  2578. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2579. public bool Equals(Parkspace_confirm_alloc_request_msg other) {
  2580. if (ReferenceEquals(other, null)) {
  2581. return false;
  2582. }
  2583. if (ReferenceEquals(other, this)) {
  2584. return true;
  2585. }
  2586. if (!object.Equals(BaseInfo, other.BaseInfo)) return false;
  2587. if (CommandKey != other.CommandKey) return false;
  2588. if(!confirmParkspaceInfoEx_.Equals(other.confirmParkspaceInfoEx_)) return false;
  2589. if (CarType != other.CarType) return false;
  2590. return Equals(_unknownFields, other._unknownFields);
  2591. }
  2592. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2593. public override int GetHashCode() {
  2594. int hash = 1;
  2595. if (baseInfo_ != null) hash ^= BaseInfo.GetHashCode();
  2596. if (HasCommandKey) hash ^= CommandKey.GetHashCode();
  2597. hash ^= confirmParkspaceInfoEx_.GetHashCode();
  2598. if (HasCarType) hash ^= CarType.GetHashCode();
  2599. if (_unknownFields != null) {
  2600. hash ^= _unknownFields.GetHashCode();
  2601. }
  2602. return hash;
  2603. }
  2604. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2605. public override string ToString() {
  2606. return pb::JsonFormatter.ToDiagnosticString(this);
  2607. }
  2608. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2609. public void WriteTo(pb::CodedOutputStream output) {
  2610. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  2611. output.WriteRawMessage(this);
  2612. #else
  2613. if (baseInfo_ != null) {
  2614. output.WriteRawTag(10);
  2615. output.WriteMessage(BaseInfo);
  2616. }
  2617. if (HasCommandKey) {
  2618. output.WriteRawTag(18);
  2619. output.WriteString(CommandKey);
  2620. }
  2621. confirmParkspaceInfoEx_.WriteTo(output, _repeated_confirmParkspaceInfoEx_codec);
  2622. if (HasCarType) {
  2623. output.WriteRawTag(32);
  2624. output.WriteEnum((int) CarType);
  2625. }
  2626. if (_unknownFields != null) {
  2627. _unknownFields.WriteTo(output);
  2628. }
  2629. #endif
  2630. }
  2631. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  2632. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2633. void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
  2634. if (baseInfo_ != null) {
  2635. output.WriteRawTag(10);
  2636. output.WriteMessage(BaseInfo);
  2637. }
  2638. if (HasCommandKey) {
  2639. output.WriteRawTag(18);
  2640. output.WriteString(CommandKey);
  2641. }
  2642. confirmParkspaceInfoEx_.WriteTo(ref output, _repeated_confirmParkspaceInfoEx_codec);
  2643. if (HasCarType) {
  2644. output.WriteRawTag(32);
  2645. output.WriteEnum((int) CarType);
  2646. }
  2647. if (_unknownFields != null) {
  2648. _unknownFields.WriteTo(ref output);
  2649. }
  2650. }
  2651. #endif
  2652. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2653. public int CalculateSize() {
  2654. int size = 0;
  2655. if (baseInfo_ != null) {
  2656. size += 1 + pb::CodedOutputStream.ComputeMessageSize(BaseInfo);
  2657. }
  2658. if (HasCommandKey) {
  2659. size += 1 + pb::CodedOutputStream.ComputeStringSize(CommandKey);
  2660. }
  2661. size += confirmParkspaceInfoEx_.CalculateSize(_repeated_confirmParkspaceInfoEx_codec);
  2662. if (HasCarType) {
  2663. size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) CarType);
  2664. }
  2665. if (_unknownFields != null) {
  2666. size += _unknownFields.CalculateSize();
  2667. }
  2668. return size;
  2669. }
  2670. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2671. public void MergeFrom(Parkspace_confirm_alloc_request_msg other) {
  2672. if (other == null) {
  2673. return;
  2674. }
  2675. if (other.baseInfo_ != null) {
  2676. if (baseInfo_ == null) {
  2677. BaseInfo = new global::Message.Base_info();
  2678. }
  2679. BaseInfo.MergeFrom(other.BaseInfo);
  2680. }
  2681. if (other.HasCommandKey) {
  2682. CommandKey = other.CommandKey;
  2683. }
  2684. confirmParkspaceInfoEx_.Add(other.confirmParkspaceInfoEx_);
  2685. if (other.HasCarType) {
  2686. CarType = other.CarType;
  2687. }
  2688. _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
  2689. }
  2690. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2691. public void MergeFrom(pb::CodedInputStream input) {
  2692. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  2693. input.ReadRawMessage(this);
  2694. #else
  2695. uint tag;
  2696. while ((tag = input.ReadTag()) != 0) {
  2697. switch(tag) {
  2698. default:
  2699. _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
  2700. break;
  2701. case 10: {
  2702. if (baseInfo_ == null) {
  2703. BaseInfo = new global::Message.Base_info();
  2704. }
  2705. input.ReadMessage(BaseInfo);
  2706. break;
  2707. }
  2708. case 18: {
  2709. CommandKey = input.ReadString();
  2710. break;
  2711. }
  2712. case 26: {
  2713. confirmParkspaceInfoEx_.AddEntriesFrom(input, _repeated_confirmParkspaceInfoEx_codec);
  2714. break;
  2715. }
  2716. case 32: {
  2717. CarType = (global::Message.Car_type) input.ReadEnum();
  2718. break;
  2719. }
  2720. }
  2721. }
  2722. #endif
  2723. }
  2724. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  2725. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2726. void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
  2727. uint tag;
  2728. while ((tag = input.ReadTag()) != 0) {
  2729. switch(tag) {
  2730. default:
  2731. _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
  2732. break;
  2733. case 10: {
  2734. if (baseInfo_ == null) {
  2735. BaseInfo = new global::Message.Base_info();
  2736. }
  2737. input.ReadMessage(BaseInfo);
  2738. break;
  2739. }
  2740. case 18: {
  2741. CommandKey = input.ReadString();
  2742. break;
  2743. }
  2744. case 26: {
  2745. confirmParkspaceInfoEx_.AddEntriesFrom(ref input, _repeated_confirmParkspaceInfoEx_codec);
  2746. break;
  2747. }
  2748. case 32: {
  2749. CarType = (global::Message.Car_type) input.ReadEnum();
  2750. break;
  2751. }
  2752. }
  2753. }
  2754. }
  2755. #endif
  2756. }
  2757. /// <summary>
  2758. ///确认分配车位反馈
  2759. /// </summary>
  2760. public sealed partial class Parkspace_confirm_alloc_response_msg : pb::IMessage<Parkspace_confirm_alloc_response_msg>
  2761. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  2762. , pb::IBufferMessage
  2763. #endif
  2764. {
  2765. 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());
  2766. private pb::UnknownFieldSet _unknownFields;
  2767. private int _hasBits0;
  2768. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2769. public static pb::MessageParser<Parkspace_confirm_alloc_response_msg> Parser { get { return _parser; } }
  2770. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2771. public static pbr::MessageDescriptor Descriptor {
  2772. get { return global::Message.ParkspaceAllocationMessageReflection.Descriptor.MessageTypes[9]; }
  2773. }
  2774. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2775. pbr::MessageDescriptor pb::IMessage.Descriptor {
  2776. get { return Descriptor; }
  2777. }
  2778. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2779. public Parkspace_confirm_alloc_response_msg() {
  2780. OnConstruction();
  2781. }
  2782. partial void OnConstruction();
  2783. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2784. public Parkspace_confirm_alloc_response_msg(Parkspace_confirm_alloc_response_msg other) : this() {
  2785. _hasBits0 = other._hasBits0;
  2786. baseInfo_ = other.baseInfo_ != null ? other.baseInfo_.Clone() : null;
  2787. commandKey_ = other.commandKey_;
  2788. errorManager_ = other.errorManager_ != null ? other.errorManager_.Clone() : null;
  2789. confirmParkspaceInfoEx_ = other.confirmParkspaceInfoEx_.Clone();
  2790. carType_ = other.carType_;
  2791. _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
  2792. }
  2793. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2794. public Parkspace_confirm_alloc_response_msg Clone() {
  2795. return new Parkspace_confirm_alloc_response_msg(this);
  2796. }
  2797. /// <summary>Field number for the "base_info" field.</summary>
  2798. public const int BaseInfoFieldNumber = 1;
  2799. private global::Message.Base_info baseInfo_;
  2800. /// <summary>
  2801. ///消息类型
  2802. /// </summary>
  2803. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2804. public global::Message.Base_info BaseInfo {
  2805. get { return baseInfo_; }
  2806. set {
  2807. baseInfo_ = value;
  2808. }
  2809. }
  2810. /// <summary>Field number for the "command_key" field.</summary>
  2811. public const int CommandKeyFieldNumber = 2;
  2812. private readonly static string CommandKeyDefaultValue = "";
  2813. private string commandKey_;
  2814. /// <summary>
  2815. ///指令唯一标识符id
  2816. /// </summary>
  2817. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2818. public string CommandKey {
  2819. get { return commandKey_ ?? CommandKeyDefaultValue; }
  2820. set {
  2821. commandKey_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
  2822. }
  2823. }
  2824. /// <summary>Gets whether the "command_key" field is set</summary>
  2825. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2826. public bool HasCommandKey {
  2827. get { return commandKey_ != null; }
  2828. }
  2829. /// <summary>Clears the value of the "command_key" field</summary>
  2830. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2831. public void ClearCommandKey() {
  2832. commandKey_ = null;
  2833. }
  2834. /// <summary>Field number for the "error_manager" field.</summary>
  2835. public const int ErrorManagerFieldNumber = 3;
  2836. private global::Message.Error_manager errorManager_;
  2837. /// <summary>
  2838. ///分配成功与否标志
  2839. /// </summary>
  2840. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2841. public global::Message.Error_manager ErrorManager {
  2842. get { return errorManager_; }
  2843. set {
  2844. errorManager_ = value;
  2845. }
  2846. }
  2847. /// <summary>Field number for the "confirm_parkspace_info_ex" field.</summary>
  2848. public const int ConfirmParkspaceInfoExFieldNumber = 4;
  2849. private static readonly pb::FieldCodec<global::Message.Parkspace_info> _repeated_confirmParkspaceInfoEx_codec
  2850. = pb::FieldCodec.ForMessage(34, global::Message.Parkspace_info.Parser);
  2851. private readonly pbc::RepeatedField<global::Message.Parkspace_info> confirmParkspaceInfoEx_ = new pbc::RepeatedField<global::Message.Parkspace_info>();
  2852. /// <summary>
  2853. ///已修改后的车位信息
  2854. /// </summary>
  2855. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2856. public pbc::RepeatedField<global::Message.Parkspace_info> ConfirmParkspaceInfoEx {
  2857. get { return confirmParkspaceInfoEx_; }
  2858. }
  2859. /// <summary>Field number for the "car_type" field.</summary>
  2860. public const int CarTypeFieldNumber = 5;
  2861. private readonly static global::Message.Car_type CarTypeDefaultValue = global::Message.Car_type.UnknowCarType;
  2862. private global::Message.Car_type carType_;
  2863. /// <summary>
  2864. ///汽车类型
  2865. /// </summary>
  2866. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2867. public global::Message.Car_type CarType {
  2868. get { if ((_hasBits0 & 1) != 0) { return carType_; } else { return CarTypeDefaultValue; } }
  2869. set {
  2870. _hasBits0 |= 1;
  2871. carType_ = value;
  2872. }
  2873. }
  2874. /// <summary>Gets whether the "car_type" field is set</summary>
  2875. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2876. public bool HasCarType {
  2877. get { return (_hasBits0 & 1) != 0; }
  2878. }
  2879. /// <summary>Clears the value of the "car_type" field</summary>
  2880. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2881. public void ClearCarType() {
  2882. _hasBits0 &= ~1;
  2883. }
  2884. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2885. public override bool Equals(object other) {
  2886. return Equals(other as Parkspace_confirm_alloc_response_msg);
  2887. }
  2888. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2889. public bool Equals(Parkspace_confirm_alloc_response_msg other) {
  2890. if (ReferenceEquals(other, null)) {
  2891. return false;
  2892. }
  2893. if (ReferenceEquals(other, this)) {
  2894. return true;
  2895. }
  2896. if (!object.Equals(BaseInfo, other.BaseInfo)) return false;
  2897. if (CommandKey != other.CommandKey) return false;
  2898. if (!object.Equals(ErrorManager, other.ErrorManager)) return false;
  2899. if(!confirmParkspaceInfoEx_.Equals(other.confirmParkspaceInfoEx_)) return false;
  2900. if (CarType != other.CarType) return false;
  2901. return Equals(_unknownFields, other._unknownFields);
  2902. }
  2903. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2904. public override int GetHashCode() {
  2905. int hash = 1;
  2906. if (baseInfo_ != null) hash ^= BaseInfo.GetHashCode();
  2907. if (HasCommandKey) hash ^= CommandKey.GetHashCode();
  2908. if (errorManager_ != null) hash ^= ErrorManager.GetHashCode();
  2909. hash ^= confirmParkspaceInfoEx_.GetHashCode();
  2910. if (HasCarType) hash ^= CarType.GetHashCode();
  2911. if (_unknownFields != null) {
  2912. hash ^= _unknownFields.GetHashCode();
  2913. }
  2914. return hash;
  2915. }
  2916. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2917. public override string ToString() {
  2918. return pb::JsonFormatter.ToDiagnosticString(this);
  2919. }
  2920. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2921. public void WriteTo(pb::CodedOutputStream output) {
  2922. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  2923. output.WriteRawMessage(this);
  2924. #else
  2925. if (baseInfo_ != null) {
  2926. output.WriteRawTag(10);
  2927. output.WriteMessage(BaseInfo);
  2928. }
  2929. if (HasCommandKey) {
  2930. output.WriteRawTag(18);
  2931. output.WriteString(CommandKey);
  2932. }
  2933. if (errorManager_ != null) {
  2934. output.WriteRawTag(26);
  2935. output.WriteMessage(ErrorManager);
  2936. }
  2937. confirmParkspaceInfoEx_.WriteTo(output, _repeated_confirmParkspaceInfoEx_codec);
  2938. if (HasCarType) {
  2939. output.WriteRawTag(40);
  2940. output.WriteEnum((int) CarType);
  2941. }
  2942. if (_unknownFields != null) {
  2943. _unknownFields.WriteTo(output);
  2944. }
  2945. #endif
  2946. }
  2947. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  2948. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2949. void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
  2950. if (baseInfo_ != null) {
  2951. output.WriteRawTag(10);
  2952. output.WriteMessage(BaseInfo);
  2953. }
  2954. if (HasCommandKey) {
  2955. output.WriteRawTag(18);
  2956. output.WriteString(CommandKey);
  2957. }
  2958. if (errorManager_ != null) {
  2959. output.WriteRawTag(26);
  2960. output.WriteMessage(ErrorManager);
  2961. }
  2962. confirmParkspaceInfoEx_.WriteTo(ref output, _repeated_confirmParkspaceInfoEx_codec);
  2963. if (HasCarType) {
  2964. output.WriteRawTag(40);
  2965. output.WriteEnum((int) CarType);
  2966. }
  2967. if (_unknownFields != null) {
  2968. _unknownFields.WriteTo(ref output);
  2969. }
  2970. }
  2971. #endif
  2972. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2973. public int CalculateSize() {
  2974. int size = 0;
  2975. if (baseInfo_ != null) {
  2976. size += 1 + pb::CodedOutputStream.ComputeMessageSize(BaseInfo);
  2977. }
  2978. if (HasCommandKey) {
  2979. size += 1 + pb::CodedOutputStream.ComputeStringSize(CommandKey);
  2980. }
  2981. if (errorManager_ != null) {
  2982. size += 1 + pb::CodedOutputStream.ComputeMessageSize(ErrorManager);
  2983. }
  2984. size += confirmParkspaceInfoEx_.CalculateSize(_repeated_confirmParkspaceInfoEx_codec);
  2985. if (HasCarType) {
  2986. size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) CarType);
  2987. }
  2988. if (_unknownFields != null) {
  2989. size += _unknownFields.CalculateSize();
  2990. }
  2991. return size;
  2992. }
  2993. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2994. public void MergeFrom(Parkspace_confirm_alloc_response_msg other) {
  2995. if (other == null) {
  2996. return;
  2997. }
  2998. if (other.baseInfo_ != null) {
  2999. if (baseInfo_ == null) {
  3000. BaseInfo = new global::Message.Base_info();
  3001. }
  3002. BaseInfo.MergeFrom(other.BaseInfo);
  3003. }
  3004. if (other.HasCommandKey) {
  3005. CommandKey = other.CommandKey;
  3006. }
  3007. if (other.errorManager_ != null) {
  3008. if (errorManager_ == null) {
  3009. ErrorManager = new global::Message.Error_manager();
  3010. }
  3011. ErrorManager.MergeFrom(other.ErrorManager);
  3012. }
  3013. confirmParkspaceInfoEx_.Add(other.confirmParkspaceInfoEx_);
  3014. if (other.HasCarType) {
  3015. CarType = other.CarType;
  3016. }
  3017. _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
  3018. }
  3019. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3020. public void MergeFrom(pb::CodedInputStream input) {
  3021. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  3022. input.ReadRawMessage(this);
  3023. #else
  3024. uint tag;
  3025. while ((tag = input.ReadTag()) != 0) {
  3026. switch(tag) {
  3027. default:
  3028. _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
  3029. break;
  3030. case 10: {
  3031. if (baseInfo_ == null) {
  3032. BaseInfo = new global::Message.Base_info();
  3033. }
  3034. input.ReadMessage(BaseInfo);
  3035. break;
  3036. }
  3037. case 18: {
  3038. CommandKey = input.ReadString();
  3039. break;
  3040. }
  3041. case 26: {
  3042. if (errorManager_ == null) {
  3043. ErrorManager = new global::Message.Error_manager();
  3044. }
  3045. input.ReadMessage(ErrorManager);
  3046. break;
  3047. }
  3048. case 34: {
  3049. confirmParkspaceInfoEx_.AddEntriesFrom(input, _repeated_confirmParkspaceInfoEx_codec);
  3050. break;
  3051. }
  3052. case 40: {
  3053. CarType = (global::Message.Car_type) input.ReadEnum();
  3054. break;
  3055. }
  3056. }
  3057. }
  3058. #endif
  3059. }
  3060. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  3061. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3062. void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
  3063. uint tag;
  3064. while ((tag = input.ReadTag()) != 0) {
  3065. switch(tag) {
  3066. default:
  3067. _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
  3068. break;
  3069. case 10: {
  3070. if (baseInfo_ == null) {
  3071. BaseInfo = new global::Message.Base_info();
  3072. }
  3073. input.ReadMessage(BaseInfo);
  3074. break;
  3075. }
  3076. case 18: {
  3077. CommandKey = input.ReadString();
  3078. break;
  3079. }
  3080. case 26: {
  3081. if (errorManager_ == null) {
  3082. ErrorManager = new global::Message.Error_manager();
  3083. }
  3084. input.ReadMessage(ErrorManager);
  3085. break;
  3086. }
  3087. case 34: {
  3088. confirmParkspaceInfoEx_.AddEntriesFrom(ref input, _repeated_confirmParkspaceInfoEx_codec);
  3089. break;
  3090. }
  3091. case 40: {
  3092. CarType = (global::Message.Car_type) input.ReadEnum();
  3093. break;
  3094. }
  3095. }
  3096. }
  3097. }
  3098. #endif
  3099. }
  3100. /// <summary>
  3101. /// 车位心跳状态信息
  3102. /// </summary>
  3103. public sealed partial class Parkspace_allocation_status_msg : pb::IMessage<Parkspace_allocation_status_msg>
  3104. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  3105. , pb::IBufferMessage
  3106. #endif
  3107. {
  3108. private static readonly pb::MessageParser<Parkspace_allocation_status_msg> _parser = new pb::MessageParser<Parkspace_allocation_status_msg>(() => new Parkspace_allocation_status_msg());
  3109. private pb::UnknownFieldSet _unknownFields;
  3110. private int _hasBits0;
  3111. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3112. public static pb::MessageParser<Parkspace_allocation_status_msg> Parser { get { return _parser; } }
  3113. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3114. public static pbr::MessageDescriptor Descriptor {
  3115. get { return global::Message.ParkspaceAllocationMessageReflection.Descriptor.MessageTypes[10]; }
  3116. }
  3117. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3118. pbr::MessageDescriptor pb::IMessage.Descriptor {
  3119. get { return Descriptor; }
  3120. }
  3121. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3122. public Parkspace_allocation_status_msg() {
  3123. OnConstruction();
  3124. }
  3125. partial void OnConstruction();
  3126. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3127. public Parkspace_allocation_status_msg(Parkspace_allocation_status_msg other) : this() {
  3128. _hasBits0 = other._hasBits0;
  3129. baseInfo_ = other.baseInfo_ != null ? other.baseInfo_.Clone() : null;
  3130. errorManager_ = other.errorManager_ != null ? other.errorManager_.Clone() : null;
  3131. databaseControllerStatus_ = other.databaseControllerStatus_;
  3132. parkspaceManagerSatus_ = other.parkspaceManagerSatus_;
  3133. smallParkspaceRemainingNumber_ = other.smallParkspaceRemainingNumber_;
  3134. mediumParkspaceRemainingNumber_ = other.mediumParkspaceRemainingNumber_;
  3135. largeParkspaceRemainingNumber_ = other.largeParkspaceRemainingNumber_;
  3136. totalParkspaceRemainingNumber_ = other.totalParkspaceRemainingNumber_;
  3137. _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
  3138. }
  3139. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3140. public Parkspace_allocation_status_msg Clone() {
  3141. return new Parkspace_allocation_status_msg(this);
  3142. }
  3143. /// <summary>Field number for the "base_info" field.</summary>
  3144. public const int BaseInfoFieldNumber = 1;
  3145. private global::Message.Base_info baseInfo_;
  3146. /// <summary>
  3147. ///消息类型
  3148. /// </summary>
  3149. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3150. public global::Message.Base_info BaseInfo {
  3151. get { return baseInfo_; }
  3152. set {
  3153. baseInfo_ = value;
  3154. }
  3155. }
  3156. /// <summary>Field number for the "error_manager" field.</summary>
  3157. public const int ErrorManagerFieldNumber = 2;
  3158. private global::Message.Error_manager errorManager_;
  3159. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3160. public global::Message.Error_manager ErrorManager {
  3161. get { return errorManager_; }
  3162. set {
  3163. errorManager_ = value;
  3164. }
  3165. }
  3166. /// <summary>Field number for the "database_controller_status" field.</summary>
  3167. public const int DatabaseControllerStatusFieldNumber = 3;
  3168. private readonly static global::Message.Database_controller_status DatabaseControllerStatusDefaultValue = global::Message.Database_controller_status.EUnknown;
  3169. private global::Message.Database_controller_status databaseControllerStatus_;
  3170. /// <summary>
  3171. ///数据库的状态
  3172. /// </summary>
  3173. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3174. public global::Message.Database_controller_status DatabaseControllerStatus {
  3175. get { if ((_hasBits0 & 1) != 0) { return databaseControllerStatus_; } else { return DatabaseControllerStatusDefaultValue; } }
  3176. set {
  3177. _hasBits0 |= 1;
  3178. databaseControllerStatus_ = value;
  3179. }
  3180. }
  3181. /// <summary>Gets whether the "database_controller_status" field is set</summary>
  3182. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3183. public bool HasDatabaseControllerStatus {
  3184. get { return (_hasBits0 & 1) != 0; }
  3185. }
  3186. /// <summary>Clears the value of the "database_controller_status" field</summary>
  3187. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3188. public void ClearDatabaseControllerStatus() {
  3189. _hasBits0 &= ~1;
  3190. }
  3191. /// <summary>Field number for the "parkspace_manager_satus" field.</summary>
  3192. public const int ParkspaceManagerSatusFieldNumber = 4;
  3193. private readonly static global::Message.Parkspace_manager_satus ParkspaceManagerSatusDefaultValue = global::Message.Parkspace_manager_satus.EParkspaceManagerUnknown;
  3194. private global::Message.Parkspace_manager_satus parkspaceManagerSatus_;
  3195. /// <summary>
  3196. ///车位管理状态
  3197. /// </summary>
  3198. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3199. public global::Message.Parkspace_manager_satus ParkspaceManagerSatus {
  3200. get { if ((_hasBits0 & 2) != 0) { return parkspaceManagerSatus_; } else { return ParkspaceManagerSatusDefaultValue; } }
  3201. set {
  3202. _hasBits0 |= 2;
  3203. parkspaceManagerSatus_ = value;
  3204. }
  3205. }
  3206. /// <summary>Gets whether the "parkspace_manager_satus" field is set</summary>
  3207. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3208. public bool HasParkspaceManagerSatus {
  3209. get { return (_hasBits0 & 2) != 0; }
  3210. }
  3211. /// <summary>Clears the value of the "parkspace_manager_satus" field</summary>
  3212. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3213. public void ClearParkspaceManagerSatus() {
  3214. _hasBits0 &= ~2;
  3215. }
  3216. /// <summary>Field number for the "small_parkspace_remaining_number" field.</summary>
  3217. public const int SmallParkspaceRemainingNumberFieldNumber = 5;
  3218. private readonly static int SmallParkspaceRemainingNumberDefaultValue = 0;
  3219. private int smallParkspaceRemainingNumber_;
  3220. /// <summary>
  3221. ///小型车位剩余数量
  3222. /// </summary>
  3223. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3224. public int SmallParkspaceRemainingNumber {
  3225. get { if ((_hasBits0 & 4) != 0) { return smallParkspaceRemainingNumber_; } else { return SmallParkspaceRemainingNumberDefaultValue; } }
  3226. set {
  3227. _hasBits0 |= 4;
  3228. smallParkspaceRemainingNumber_ = value;
  3229. }
  3230. }
  3231. /// <summary>Gets whether the "small_parkspace_remaining_number" field is set</summary>
  3232. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3233. public bool HasSmallParkspaceRemainingNumber {
  3234. get { return (_hasBits0 & 4) != 0; }
  3235. }
  3236. /// <summary>Clears the value of the "small_parkspace_remaining_number" field</summary>
  3237. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3238. public void ClearSmallParkspaceRemainingNumber() {
  3239. _hasBits0 &= ~4;
  3240. }
  3241. /// <summary>Field number for the "medium_parkspace_remaining_number" field.</summary>
  3242. public const int MediumParkspaceRemainingNumberFieldNumber = 6;
  3243. private readonly static int MediumParkspaceRemainingNumberDefaultValue = 0;
  3244. private int mediumParkspaceRemainingNumber_;
  3245. /// <summary>
  3246. ///中型车位剩余数量
  3247. /// </summary>
  3248. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3249. public int MediumParkspaceRemainingNumber {
  3250. get { if ((_hasBits0 & 8) != 0) { return mediumParkspaceRemainingNumber_; } else { return MediumParkspaceRemainingNumberDefaultValue; } }
  3251. set {
  3252. _hasBits0 |= 8;
  3253. mediumParkspaceRemainingNumber_ = value;
  3254. }
  3255. }
  3256. /// <summary>Gets whether the "medium_parkspace_remaining_number" field is set</summary>
  3257. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3258. public bool HasMediumParkspaceRemainingNumber {
  3259. get { return (_hasBits0 & 8) != 0; }
  3260. }
  3261. /// <summary>Clears the value of the "medium_parkspace_remaining_number" field</summary>
  3262. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3263. public void ClearMediumParkspaceRemainingNumber() {
  3264. _hasBits0 &= ~8;
  3265. }
  3266. /// <summary>Field number for the "large_parkspace_remaining_number" field.</summary>
  3267. public const int LargeParkspaceRemainingNumberFieldNumber = 7;
  3268. private readonly static int LargeParkspaceRemainingNumberDefaultValue = 0;
  3269. private int largeParkspaceRemainingNumber_;
  3270. /// <summary>
  3271. ///大型车位剩余数量
  3272. /// </summary>
  3273. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3274. public int LargeParkspaceRemainingNumber {
  3275. get { if ((_hasBits0 & 16) != 0) { return largeParkspaceRemainingNumber_; } else { return LargeParkspaceRemainingNumberDefaultValue; } }
  3276. set {
  3277. _hasBits0 |= 16;
  3278. largeParkspaceRemainingNumber_ = value;
  3279. }
  3280. }
  3281. /// <summary>Gets whether the "large_parkspace_remaining_number" field is set</summary>
  3282. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3283. public bool HasLargeParkspaceRemainingNumber {
  3284. get { return (_hasBits0 & 16) != 0; }
  3285. }
  3286. /// <summary>Clears the value of the "large_parkspace_remaining_number" field</summary>
  3287. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3288. public void ClearLargeParkspaceRemainingNumber() {
  3289. _hasBits0 &= ~16;
  3290. }
  3291. /// <summary>Field number for the "total_parkspace_remaining_number" field.</summary>
  3292. public const int TotalParkspaceRemainingNumberFieldNumber = 8;
  3293. private readonly static int TotalParkspaceRemainingNumberDefaultValue = 0;
  3294. private int totalParkspaceRemainingNumber_;
  3295. /// <summary>
  3296. ///所有车位剩余数量
  3297. /// </summary>
  3298. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3299. public int TotalParkspaceRemainingNumber {
  3300. get { if ((_hasBits0 & 32) != 0) { return totalParkspaceRemainingNumber_; } else { return TotalParkspaceRemainingNumberDefaultValue; } }
  3301. set {
  3302. _hasBits0 |= 32;
  3303. totalParkspaceRemainingNumber_ = value;
  3304. }
  3305. }
  3306. /// <summary>Gets whether the "total_parkspace_remaining_number" field is set</summary>
  3307. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3308. public bool HasTotalParkspaceRemainingNumber {
  3309. get { return (_hasBits0 & 32) != 0; }
  3310. }
  3311. /// <summary>Clears the value of the "total_parkspace_remaining_number" field</summary>
  3312. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3313. public void ClearTotalParkspaceRemainingNumber() {
  3314. _hasBits0 &= ~32;
  3315. }
  3316. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3317. public override bool Equals(object other) {
  3318. return Equals(other as Parkspace_allocation_status_msg);
  3319. }
  3320. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3321. public bool Equals(Parkspace_allocation_status_msg other) {
  3322. if (ReferenceEquals(other, null)) {
  3323. return false;
  3324. }
  3325. if (ReferenceEquals(other, this)) {
  3326. return true;
  3327. }
  3328. if (!object.Equals(BaseInfo, other.BaseInfo)) return false;
  3329. if (!object.Equals(ErrorManager, other.ErrorManager)) return false;
  3330. if (DatabaseControllerStatus != other.DatabaseControllerStatus) return false;
  3331. if (ParkspaceManagerSatus != other.ParkspaceManagerSatus) return false;
  3332. if (SmallParkspaceRemainingNumber != other.SmallParkspaceRemainingNumber) return false;
  3333. if (MediumParkspaceRemainingNumber != other.MediumParkspaceRemainingNumber) return false;
  3334. if (LargeParkspaceRemainingNumber != other.LargeParkspaceRemainingNumber) return false;
  3335. if (TotalParkspaceRemainingNumber != other.TotalParkspaceRemainingNumber) return false;
  3336. return Equals(_unknownFields, other._unknownFields);
  3337. }
  3338. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3339. public override int GetHashCode() {
  3340. int hash = 1;
  3341. if (baseInfo_ != null) hash ^= BaseInfo.GetHashCode();
  3342. if (errorManager_ != null) hash ^= ErrorManager.GetHashCode();
  3343. if (HasDatabaseControllerStatus) hash ^= DatabaseControllerStatus.GetHashCode();
  3344. if (HasParkspaceManagerSatus) hash ^= ParkspaceManagerSatus.GetHashCode();
  3345. if (HasSmallParkspaceRemainingNumber) hash ^= SmallParkspaceRemainingNumber.GetHashCode();
  3346. if (HasMediumParkspaceRemainingNumber) hash ^= MediumParkspaceRemainingNumber.GetHashCode();
  3347. if (HasLargeParkspaceRemainingNumber) hash ^= LargeParkspaceRemainingNumber.GetHashCode();
  3348. if (HasTotalParkspaceRemainingNumber) hash ^= TotalParkspaceRemainingNumber.GetHashCode();
  3349. if (_unknownFields != null) {
  3350. hash ^= _unknownFields.GetHashCode();
  3351. }
  3352. return hash;
  3353. }
  3354. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3355. public override string ToString() {
  3356. return pb::JsonFormatter.ToDiagnosticString(this);
  3357. }
  3358. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3359. public void WriteTo(pb::CodedOutputStream output) {
  3360. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  3361. output.WriteRawMessage(this);
  3362. #else
  3363. if (baseInfo_ != null) {
  3364. output.WriteRawTag(10);
  3365. output.WriteMessage(BaseInfo);
  3366. }
  3367. if (errorManager_ != null) {
  3368. output.WriteRawTag(18);
  3369. output.WriteMessage(ErrorManager);
  3370. }
  3371. if (HasDatabaseControllerStatus) {
  3372. output.WriteRawTag(24);
  3373. output.WriteEnum((int) DatabaseControllerStatus);
  3374. }
  3375. if (HasParkspaceManagerSatus) {
  3376. output.WriteRawTag(32);
  3377. output.WriteEnum((int) ParkspaceManagerSatus);
  3378. }
  3379. if (HasSmallParkspaceRemainingNumber) {
  3380. output.WriteRawTag(40);
  3381. output.WriteInt32(SmallParkspaceRemainingNumber);
  3382. }
  3383. if (HasMediumParkspaceRemainingNumber) {
  3384. output.WriteRawTag(48);
  3385. output.WriteInt32(MediumParkspaceRemainingNumber);
  3386. }
  3387. if (HasLargeParkspaceRemainingNumber) {
  3388. output.WriteRawTag(56);
  3389. output.WriteInt32(LargeParkspaceRemainingNumber);
  3390. }
  3391. if (HasTotalParkspaceRemainingNumber) {
  3392. output.WriteRawTag(64);
  3393. output.WriteInt32(TotalParkspaceRemainingNumber);
  3394. }
  3395. if (_unknownFields != null) {
  3396. _unknownFields.WriteTo(output);
  3397. }
  3398. #endif
  3399. }
  3400. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  3401. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3402. void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
  3403. if (baseInfo_ != null) {
  3404. output.WriteRawTag(10);
  3405. output.WriteMessage(BaseInfo);
  3406. }
  3407. if (errorManager_ != null) {
  3408. output.WriteRawTag(18);
  3409. output.WriteMessage(ErrorManager);
  3410. }
  3411. if (HasDatabaseControllerStatus) {
  3412. output.WriteRawTag(24);
  3413. output.WriteEnum((int) DatabaseControllerStatus);
  3414. }
  3415. if (HasParkspaceManagerSatus) {
  3416. output.WriteRawTag(32);
  3417. output.WriteEnum((int) ParkspaceManagerSatus);
  3418. }
  3419. if (HasSmallParkspaceRemainingNumber) {
  3420. output.WriteRawTag(40);
  3421. output.WriteInt32(SmallParkspaceRemainingNumber);
  3422. }
  3423. if (HasMediumParkspaceRemainingNumber) {
  3424. output.WriteRawTag(48);
  3425. output.WriteInt32(MediumParkspaceRemainingNumber);
  3426. }
  3427. if (HasLargeParkspaceRemainingNumber) {
  3428. output.WriteRawTag(56);
  3429. output.WriteInt32(LargeParkspaceRemainingNumber);
  3430. }
  3431. if (HasTotalParkspaceRemainingNumber) {
  3432. output.WriteRawTag(64);
  3433. output.WriteInt32(TotalParkspaceRemainingNumber);
  3434. }
  3435. if (_unknownFields != null) {
  3436. _unknownFields.WriteTo(ref output);
  3437. }
  3438. }
  3439. #endif
  3440. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3441. public int CalculateSize() {
  3442. int size = 0;
  3443. if (baseInfo_ != null) {
  3444. size += 1 + pb::CodedOutputStream.ComputeMessageSize(BaseInfo);
  3445. }
  3446. if (errorManager_ != null) {
  3447. size += 1 + pb::CodedOutputStream.ComputeMessageSize(ErrorManager);
  3448. }
  3449. if (HasDatabaseControllerStatus) {
  3450. size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) DatabaseControllerStatus);
  3451. }
  3452. if (HasParkspaceManagerSatus) {
  3453. size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) ParkspaceManagerSatus);
  3454. }
  3455. if (HasSmallParkspaceRemainingNumber) {
  3456. size += 1 + pb::CodedOutputStream.ComputeInt32Size(SmallParkspaceRemainingNumber);
  3457. }
  3458. if (HasMediumParkspaceRemainingNumber) {
  3459. size += 1 + pb::CodedOutputStream.ComputeInt32Size(MediumParkspaceRemainingNumber);
  3460. }
  3461. if (HasLargeParkspaceRemainingNumber) {
  3462. size += 1 + pb::CodedOutputStream.ComputeInt32Size(LargeParkspaceRemainingNumber);
  3463. }
  3464. if (HasTotalParkspaceRemainingNumber) {
  3465. size += 1 + pb::CodedOutputStream.ComputeInt32Size(TotalParkspaceRemainingNumber);
  3466. }
  3467. if (_unknownFields != null) {
  3468. size += _unknownFields.CalculateSize();
  3469. }
  3470. return size;
  3471. }
  3472. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3473. public void MergeFrom(Parkspace_allocation_status_msg other) {
  3474. if (other == null) {
  3475. return;
  3476. }
  3477. if (other.baseInfo_ != null) {
  3478. if (baseInfo_ == null) {
  3479. BaseInfo = new global::Message.Base_info();
  3480. }
  3481. BaseInfo.MergeFrom(other.BaseInfo);
  3482. }
  3483. if (other.errorManager_ != null) {
  3484. if (errorManager_ == null) {
  3485. ErrorManager = new global::Message.Error_manager();
  3486. }
  3487. ErrorManager.MergeFrom(other.ErrorManager);
  3488. }
  3489. if (other.HasDatabaseControllerStatus) {
  3490. DatabaseControllerStatus = other.DatabaseControllerStatus;
  3491. }
  3492. if (other.HasParkspaceManagerSatus) {
  3493. ParkspaceManagerSatus = other.ParkspaceManagerSatus;
  3494. }
  3495. if (other.HasSmallParkspaceRemainingNumber) {
  3496. SmallParkspaceRemainingNumber = other.SmallParkspaceRemainingNumber;
  3497. }
  3498. if (other.HasMediumParkspaceRemainingNumber) {
  3499. MediumParkspaceRemainingNumber = other.MediumParkspaceRemainingNumber;
  3500. }
  3501. if (other.HasLargeParkspaceRemainingNumber) {
  3502. LargeParkspaceRemainingNumber = other.LargeParkspaceRemainingNumber;
  3503. }
  3504. if (other.HasTotalParkspaceRemainingNumber) {
  3505. TotalParkspaceRemainingNumber = other.TotalParkspaceRemainingNumber;
  3506. }
  3507. _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
  3508. }
  3509. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3510. public void MergeFrom(pb::CodedInputStream input) {
  3511. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  3512. input.ReadRawMessage(this);
  3513. #else
  3514. uint tag;
  3515. while ((tag = input.ReadTag()) != 0) {
  3516. switch(tag) {
  3517. default:
  3518. _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
  3519. break;
  3520. case 10: {
  3521. if (baseInfo_ == null) {
  3522. BaseInfo = new global::Message.Base_info();
  3523. }
  3524. input.ReadMessage(BaseInfo);
  3525. break;
  3526. }
  3527. case 18: {
  3528. if (errorManager_ == null) {
  3529. ErrorManager = new global::Message.Error_manager();
  3530. }
  3531. input.ReadMessage(ErrorManager);
  3532. break;
  3533. }
  3534. case 24: {
  3535. DatabaseControllerStatus = (global::Message.Database_controller_status) input.ReadEnum();
  3536. break;
  3537. }
  3538. case 32: {
  3539. ParkspaceManagerSatus = (global::Message.Parkspace_manager_satus) input.ReadEnum();
  3540. break;
  3541. }
  3542. case 40: {
  3543. SmallParkspaceRemainingNumber = input.ReadInt32();
  3544. break;
  3545. }
  3546. case 48: {
  3547. MediumParkspaceRemainingNumber = input.ReadInt32();
  3548. break;
  3549. }
  3550. case 56: {
  3551. LargeParkspaceRemainingNumber = input.ReadInt32();
  3552. break;
  3553. }
  3554. case 64: {
  3555. TotalParkspaceRemainingNumber = input.ReadInt32();
  3556. break;
  3557. }
  3558. }
  3559. }
  3560. #endif
  3561. }
  3562. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  3563. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3564. void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
  3565. uint tag;
  3566. while ((tag = input.ReadTag()) != 0) {
  3567. switch(tag) {
  3568. default:
  3569. _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
  3570. break;
  3571. case 10: {
  3572. if (baseInfo_ == null) {
  3573. BaseInfo = new global::Message.Base_info();
  3574. }
  3575. input.ReadMessage(BaseInfo);
  3576. break;
  3577. }
  3578. case 18: {
  3579. if (errorManager_ == null) {
  3580. ErrorManager = new global::Message.Error_manager();
  3581. }
  3582. input.ReadMessage(ErrorManager);
  3583. break;
  3584. }
  3585. case 24: {
  3586. DatabaseControllerStatus = (global::Message.Database_controller_status) input.ReadEnum();
  3587. break;
  3588. }
  3589. case 32: {
  3590. ParkspaceManagerSatus = (global::Message.Parkspace_manager_satus) input.ReadEnum();
  3591. break;
  3592. }
  3593. case 40: {
  3594. SmallParkspaceRemainingNumber = input.ReadInt32();
  3595. break;
  3596. }
  3597. case 48: {
  3598. MediumParkspaceRemainingNumber = input.ReadInt32();
  3599. break;
  3600. }
  3601. case 56: {
  3602. LargeParkspaceRemainingNumber = input.ReadInt32();
  3603. break;
  3604. }
  3605. case 64: {
  3606. TotalParkspaceRemainingNumber = input.ReadInt32();
  3607. break;
  3608. }
  3609. }
  3610. }
  3611. }
  3612. #endif
  3613. }
  3614. /// <summary>
  3615. ///更新车位数据请求
  3616. /// </summary>
  3617. public sealed partial class Parkspace_refresh_request_msg : pb::IMessage<Parkspace_refresh_request_msg>
  3618. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  3619. , pb::IBufferMessage
  3620. #endif
  3621. {
  3622. private static readonly pb::MessageParser<Parkspace_refresh_request_msg> _parser = new pb::MessageParser<Parkspace_refresh_request_msg>(() => new Parkspace_refresh_request_msg());
  3623. private pb::UnknownFieldSet _unknownFields;
  3624. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3625. public static pb::MessageParser<Parkspace_refresh_request_msg> Parser { get { return _parser; } }
  3626. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3627. public static pbr::MessageDescriptor Descriptor {
  3628. get { return global::Message.ParkspaceAllocationMessageReflection.Descriptor.MessageTypes[11]; }
  3629. }
  3630. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3631. pbr::MessageDescriptor pb::IMessage.Descriptor {
  3632. get { return Descriptor; }
  3633. }
  3634. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3635. public Parkspace_refresh_request_msg() {
  3636. OnConstruction();
  3637. }
  3638. partial void OnConstruction();
  3639. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3640. public Parkspace_refresh_request_msg(Parkspace_refresh_request_msg other) : this() {
  3641. baseInfo_ = other.baseInfo_ != null ? other.baseInfo_.Clone() : null;
  3642. _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
  3643. }
  3644. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3645. public Parkspace_refresh_request_msg Clone() {
  3646. return new Parkspace_refresh_request_msg(this);
  3647. }
  3648. /// <summary>Field number for the "base_info" field.</summary>
  3649. public const int BaseInfoFieldNumber = 1;
  3650. private global::Message.Base_info baseInfo_;
  3651. /// <summary>
  3652. ///消息类型
  3653. /// </summary>
  3654. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3655. public global::Message.Base_info BaseInfo {
  3656. get { return baseInfo_; }
  3657. set {
  3658. baseInfo_ = value;
  3659. }
  3660. }
  3661. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3662. public override bool Equals(object other) {
  3663. return Equals(other as Parkspace_refresh_request_msg);
  3664. }
  3665. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3666. public bool Equals(Parkspace_refresh_request_msg other) {
  3667. if (ReferenceEquals(other, null)) {
  3668. return false;
  3669. }
  3670. if (ReferenceEquals(other, this)) {
  3671. return true;
  3672. }
  3673. if (!object.Equals(BaseInfo, other.BaseInfo)) return false;
  3674. return Equals(_unknownFields, other._unknownFields);
  3675. }
  3676. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3677. public override int GetHashCode() {
  3678. int hash = 1;
  3679. if (baseInfo_ != null) hash ^= BaseInfo.GetHashCode();
  3680. if (_unknownFields != null) {
  3681. hash ^= _unknownFields.GetHashCode();
  3682. }
  3683. return hash;
  3684. }
  3685. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3686. public override string ToString() {
  3687. return pb::JsonFormatter.ToDiagnosticString(this);
  3688. }
  3689. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3690. public void WriteTo(pb::CodedOutputStream output) {
  3691. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  3692. output.WriteRawMessage(this);
  3693. #else
  3694. if (baseInfo_ != null) {
  3695. output.WriteRawTag(10);
  3696. output.WriteMessage(BaseInfo);
  3697. }
  3698. if (_unknownFields != null) {
  3699. _unknownFields.WriteTo(output);
  3700. }
  3701. #endif
  3702. }
  3703. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  3704. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3705. void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
  3706. if (baseInfo_ != null) {
  3707. output.WriteRawTag(10);
  3708. output.WriteMessage(BaseInfo);
  3709. }
  3710. if (_unknownFields != null) {
  3711. _unknownFields.WriteTo(ref output);
  3712. }
  3713. }
  3714. #endif
  3715. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3716. public int CalculateSize() {
  3717. int size = 0;
  3718. if (baseInfo_ != null) {
  3719. size += 1 + pb::CodedOutputStream.ComputeMessageSize(BaseInfo);
  3720. }
  3721. if (_unknownFields != null) {
  3722. size += _unknownFields.CalculateSize();
  3723. }
  3724. return size;
  3725. }
  3726. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3727. public void MergeFrom(Parkspace_refresh_request_msg other) {
  3728. if (other == null) {
  3729. return;
  3730. }
  3731. if (other.baseInfo_ != null) {
  3732. if (baseInfo_ == null) {
  3733. BaseInfo = new global::Message.Base_info();
  3734. }
  3735. BaseInfo.MergeFrom(other.BaseInfo);
  3736. }
  3737. _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
  3738. }
  3739. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3740. public void MergeFrom(pb::CodedInputStream input) {
  3741. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  3742. input.ReadRawMessage(this);
  3743. #else
  3744. uint tag;
  3745. while ((tag = input.ReadTag()) != 0) {
  3746. switch(tag) {
  3747. default:
  3748. _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
  3749. break;
  3750. case 10: {
  3751. if (baseInfo_ == null) {
  3752. BaseInfo = new global::Message.Base_info();
  3753. }
  3754. input.ReadMessage(BaseInfo);
  3755. break;
  3756. }
  3757. }
  3758. }
  3759. #endif
  3760. }
  3761. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  3762. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3763. void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
  3764. uint tag;
  3765. while ((tag = input.ReadTag()) != 0) {
  3766. switch(tag) {
  3767. default:
  3768. _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
  3769. break;
  3770. case 10: {
  3771. if (baseInfo_ == null) {
  3772. BaseInfo = new global::Message.Base_info();
  3773. }
  3774. input.ReadMessage(BaseInfo);
  3775. break;
  3776. }
  3777. }
  3778. }
  3779. }
  3780. #endif
  3781. }
  3782. /// <summary>
  3783. /// 车位数据信息
  3784. /// </summary>
  3785. public sealed partial class Parkspace_allocation_data_msg : pb::IMessage<Parkspace_allocation_data_msg>
  3786. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  3787. , pb::IBufferMessage
  3788. #endif
  3789. {
  3790. private static readonly pb::MessageParser<Parkspace_allocation_data_msg> _parser = new pb::MessageParser<Parkspace_allocation_data_msg>(() => new Parkspace_allocation_data_msg());
  3791. private pb::UnknownFieldSet _unknownFields;
  3792. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3793. public static pb::MessageParser<Parkspace_allocation_data_msg> Parser { get { return _parser; } }
  3794. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3795. public static pbr::MessageDescriptor Descriptor {
  3796. get { return global::Message.ParkspaceAllocationMessageReflection.Descriptor.MessageTypes[12]; }
  3797. }
  3798. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3799. pbr::MessageDescriptor pb::IMessage.Descriptor {
  3800. get { return Descriptor; }
  3801. }
  3802. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3803. public Parkspace_allocation_data_msg() {
  3804. OnConstruction();
  3805. }
  3806. partial void OnConstruction();
  3807. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3808. public Parkspace_allocation_data_msg(Parkspace_allocation_data_msg other) : this() {
  3809. baseInfo_ = other.baseInfo_ != null ? other.baseInfo_.Clone() : null;
  3810. errorManager_ = other.errorManager_ != null ? other.errorManager_.Clone() : null;
  3811. parkspaceInfoEx_ = other.parkspaceInfoEx_.Clone();
  3812. _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
  3813. }
  3814. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3815. public Parkspace_allocation_data_msg Clone() {
  3816. return new Parkspace_allocation_data_msg(this);
  3817. }
  3818. /// <summary>Field number for the "base_info" field.</summary>
  3819. public const int BaseInfoFieldNumber = 1;
  3820. private global::Message.Base_info baseInfo_;
  3821. /// <summary>
  3822. ///消息类型
  3823. /// </summary>
  3824. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3825. public global::Message.Base_info BaseInfo {
  3826. get { return baseInfo_; }
  3827. set {
  3828. baseInfo_ = value;
  3829. }
  3830. }
  3831. /// <summary>Field number for the "error_manager" field.</summary>
  3832. public const int ErrorManagerFieldNumber = 2;
  3833. private global::Message.Error_manager errorManager_;
  3834. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3835. public global::Message.Error_manager ErrorManager {
  3836. get { return errorManager_; }
  3837. set {
  3838. errorManager_ = value;
  3839. }
  3840. }
  3841. /// <summary>Field number for the "parkspace_info_ex" field.</summary>
  3842. public const int ParkspaceInfoExFieldNumber = 3;
  3843. private static readonly pb::FieldCodec<global::Message.Parkspace_info> _repeated_parkspaceInfoEx_codec
  3844. = pb::FieldCodec.ForMessage(26, global::Message.Parkspace_info.Parser);
  3845. private readonly pbc::RepeatedField<global::Message.Parkspace_info> parkspaceInfoEx_ = new pbc::RepeatedField<global::Message.Parkspace_info>();
  3846. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3847. public pbc::RepeatedField<global::Message.Parkspace_info> ParkspaceInfoEx {
  3848. get { return parkspaceInfoEx_; }
  3849. }
  3850. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3851. public override bool Equals(object other) {
  3852. return Equals(other as Parkspace_allocation_data_msg);
  3853. }
  3854. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3855. public bool Equals(Parkspace_allocation_data_msg other) {
  3856. if (ReferenceEquals(other, null)) {
  3857. return false;
  3858. }
  3859. if (ReferenceEquals(other, this)) {
  3860. return true;
  3861. }
  3862. if (!object.Equals(BaseInfo, other.BaseInfo)) return false;
  3863. if (!object.Equals(ErrorManager, other.ErrorManager)) return false;
  3864. if(!parkspaceInfoEx_.Equals(other.parkspaceInfoEx_)) return false;
  3865. return Equals(_unknownFields, other._unknownFields);
  3866. }
  3867. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3868. public override int GetHashCode() {
  3869. int hash = 1;
  3870. if (baseInfo_ != null) hash ^= BaseInfo.GetHashCode();
  3871. if (errorManager_ != null) hash ^= ErrorManager.GetHashCode();
  3872. hash ^= parkspaceInfoEx_.GetHashCode();
  3873. if (_unknownFields != null) {
  3874. hash ^= _unknownFields.GetHashCode();
  3875. }
  3876. return hash;
  3877. }
  3878. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3879. public override string ToString() {
  3880. return pb::JsonFormatter.ToDiagnosticString(this);
  3881. }
  3882. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3883. public void WriteTo(pb::CodedOutputStream output) {
  3884. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  3885. output.WriteRawMessage(this);
  3886. #else
  3887. if (baseInfo_ != null) {
  3888. output.WriteRawTag(10);
  3889. output.WriteMessage(BaseInfo);
  3890. }
  3891. if (errorManager_ != null) {
  3892. output.WriteRawTag(18);
  3893. output.WriteMessage(ErrorManager);
  3894. }
  3895. parkspaceInfoEx_.WriteTo(output, _repeated_parkspaceInfoEx_codec);
  3896. if (_unknownFields != null) {
  3897. _unknownFields.WriteTo(output);
  3898. }
  3899. #endif
  3900. }
  3901. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  3902. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3903. void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
  3904. if (baseInfo_ != null) {
  3905. output.WriteRawTag(10);
  3906. output.WriteMessage(BaseInfo);
  3907. }
  3908. if (errorManager_ != null) {
  3909. output.WriteRawTag(18);
  3910. output.WriteMessage(ErrorManager);
  3911. }
  3912. parkspaceInfoEx_.WriteTo(ref output, _repeated_parkspaceInfoEx_codec);
  3913. if (_unknownFields != null) {
  3914. _unknownFields.WriteTo(ref output);
  3915. }
  3916. }
  3917. #endif
  3918. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3919. public int CalculateSize() {
  3920. int size = 0;
  3921. if (baseInfo_ != null) {
  3922. size += 1 + pb::CodedOutputStream.ComputeMessageSize(BaseInfo);
  3923. }
  3924. if (errorManager_ != null) {
  3925. size += 1 + pb::CodedOutputStream.ComputeMessageSize(ErrorManager);
  3926. }
  3927. size += parkspaceInfoEx_.CalculateSize(_repeated_parkspaceInfoEx_codec);
  3928. if (_unknownFields != null) {
  3929. size += _unknownFields.CalculateSize();
  3930. }
  3931. return size;
  3932. }
  3933. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3934. public void MergeFrom(Parkspace_allocation_data_msg other) {
  3935. if (other == null) {
  3936. return;
  3937. }
  3938. if (other.baseInfo_ != null) {
  3939. if (baseInfo_ == null) {
  3940. BaseInfo = new global::Message.Base_info();
  3941. }
  3942. BaseInfo.MergeFrom(other.BaseInfo);
  3943. }
  3944. if (other.errorManager_ != null) {
  3945. if (errorManager_ == null) {
  3946. ErrorManager = new global::Message.Error_manager();
  3947. }
  3948. ErrorManager.MergeFrom(other.ErrorManager);
  3949. }
  3950. parkspaceInfoEx_.Add(other.parkspaceInfoEx_);
  3951. _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
  3952. }
  3953. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3954. public void MergeFrom(pb::CodedInputStream input) {
  3955. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  3956. input.ReadRawMessage(this);
  3957. #else
  3958. uint tag;
  3959. while ((tag = input.ReadTag()) != 0) {
  3960. switch(tag) {
  3961. default:
  3962. _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
  3963. break;
  3964. case 10: {
  3965. if (baseInfo_ == null) {
  3966. BaseInfo = new global::Message.Base_info();
  3967. }
  3968. input.ReadMessage(BaseInfo);
  3969. break;
  3970. }
  3971. case 18: {
  3972. if (errorManager_ == null) {
  3973. ErrorManager = new global::Message.Error_manager();
  3974. }
  3975. input.ReadMessage(ErrorManager);
  3976. break;
  3977. }
  3978. case 26: {
  3979. parkspaceInfoEx_.AddEntriesFrom(input, _repeated_parkspaceInfoEx_codec);
  3980. break;
  3981. }
  3982. }
  3983. }
  3984. #endif
  3985. }
  3986. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  3987. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3988. void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
  3989. uint tag;
  3990. while ((tag = input.ReadTag()) != 0) {
  3991. switch(tag) {
  3992. default:
  3993. _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
  3994. break;
  3995. case 10: {
  3996. if (baseInfo_ == null) {
  3997. BaseInfo = new global::Message.Base_info();
  3998. }
  3999. input.ReadMessage(BaseInfo);
  4000. break;
  4001. }
  4002. case 18: {
  4003. if (errorManager_ == null) {
  4004. ErrorManager = new global::Message.Error_manager();
  4005. }
  4006. input.ReadMessage(ErrorManager);
  4007. break;
  4008. }
  4009. case 26: {
  4010. parkspaceInfoEx_.AddEntriesFrom(ref input, _repeated_parkspaceInfoEx_codec);
  4011. break;
  4012. }
  4013. }
  4014. }
  4015. }
  4016. #endif
  4017. }
  4018. #endregion
  4019. }
  4020. #endregion Designer generated code