generated.pb.go 947 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005110061100711008110091101011011110121101311014110151101611017110181101911020110211102211023110241102511026110271102811029110301103111032110331103411035110361103711038110391104011041110421104311044110451104611047110481104911050110511105211053110541105511056110571105811059110601106111062110631106411065110661106711068110691107011071110721107311074110751107611077110781107911080110811108211083110841108511086110871108811089110901109111092110931109411095110961109711098110991110011101111021110311104111051110611107111081110911110111111111211113111141111511116111171111811119111201112111122111231112411125111261112711128111291113011131111321113311134111351113611137111381113911140111411114211143111441114511146111471114811149111501115111152111531115411155111561115711158111591116011161111621116311164111651116611167111681116911170111711117211173111741117511176111771117811179111801118111182111831118411185111861118711188111891119011191111921119311194111951119611197111981119911200112011120211203112041120511206112071120811209112101121111212112131121411215112161121711218112191122011221112221122311224112251122611227112281122911230112311123211233112341123511236112371123811239112401124111242112431124411245112461124711248112491125011251112521125311254112551125611257112581125911260112611126211263112641126511266112671126811269112701127111272112731127411275112761127711278112791128011281112821128311284112851128611287112881128911290112911129211293112941129511296112971129811299113001130111302113031130411305113061130711308113091131011311113121131311314113151131611317113181131911320113211132211323113241132511326113271132811329113301133111332113331133411335113361133711338113391134011341113421134311344113451134611347113481134911350113511135211353113541135511356113571135811359113601136111362113631136411365113661136711368113691137011371113721137311374113751137611377113781137911380113811138211383113841138511386113871138811389113901139111392113931139411395113961139711398113991140011401114021140311404114051140611407114081140911410114111141211413114141141511416114171141811419114201142111422114231142411425114261142711428114291143011431114321143311434114351143611437114381143911440114411144211443114441144511446114471144811449114501145111452114531145411455114561145711458114591146011461114621146311464114651146611467114681146911470114711147211473114741147511476114771147811479114801148111482114831148411485114861148711488114891149011491114921149311494114951149611497114981149911500115011150211503115041150511506115071150811509115101151111512115131151411515115161151711518115191152011521115221152311524115251152611527115281152911530115311153211533115341153511536115371153811539115401154111542115431154411545115461154711548115491155011551115521155311554115551155611557115581155911560115611156211563115641156511566115671156811569115701157111572115731157411575115761157711578115791158011581115821158311584115851158611587115881158911590115911159211593115941159511596115971159811599116001160111602116031160411605116061160711608116091161011611116121161311614116151161611617116181161911620116211162211623116241162511626116271162811629116301163111632116331163411635116361163711638116391164011641116421164311644116451164611647116481164911650116511165211653116541165511656116571165811659116601166111662116631166411665116661166711668116691167011671116721167311674116751167611677116781167911680116811168211683116841168511686116871168811689116901169111692116931169411695116961169711698116991170011701117021170311704117051170611707117081170911710117111171211713117141171511716117171171811719117201172111722117231172411725117261172711728117291173011731117321173311734117351173611737117381173911740117411174211743117441174511746117471174811749117501175111752117531175411755117561175711758117591176011761117621176311764117651176611767117681176911770117711177211773117741177511776117771177811779117801178111782117831178411785117861178711788117891179011791117921179311794117951179611797117981179911800118011180211803118041180511806118071180811809118101181111812118131181411815118161181711818118191182011821118221182311824118251182611827118281182911830118311183211833118341183511836118371183811839118401184111842118431184411845118461184711848118491185011851118521185311854118551185611857118581185911860118611186211863118641186511866118671186811869118701187111872118731187411875118761187711878118791188011881118821188311884118851188611887118881188911890118911189211893118941189511896118971189811899119001190111902119031190411905119061190711908119091191011911119121191311914119151191611917119181191911920119211192211923119241192511926119271192811929119301193111932119331193411935119361193711938119391194011941119421194311944119451194611947119481194911950119511195211953119541195511956119571195811959119601196111962119631196411965119661196711968119691197011971119721197311974119751197611977119781197911980119811198211983119841198511986119871198811989119901199111992119931199411995119961199711998119991200012001120021200312004120051200612007120081200912010120111201212013120141201512016120171201812019120201202112022120231202412025120261202712028120291203012031120321203312034120351203612037120381203912040120411204212043120441204512046120471204812049120501205112052120531205412055120561205712058120591206012061120621206312064120651206612067120681206912070120711207212073120741207512076120771207812079120801208112082120831208412085120861208712088120891209012091120921209312094120951209612097120981209912100121011210212103121041210512106121071210812109121101211112112121131211412115121161211712118121191212012121121221212312124121251212612127121281212912130121311213212133121341213512136121371213812139121401214112142121431214412145121461214712148121491215012151121521215312154121551215612157121581215912160121611216212163121641216512166121671216812169121701217112172121731217412175121761217712178121791218012181121821218312184121851218612187121881218912190121911219212193121941219512196121971219812199122001220112202122031220412205122061220712208122091221012211122121221312214122151221612217122181221912220122211222212223122241222512226122271222812229122301223112232122331223412235122361223712238122391224012241122421224312244122451224612247122481224912250122511225212253122541225512256122571225812259122601226112262122631226412265122661226712268122691227012271122721227312274122751227612277122781227912280122811228212283122841228512286122871228812289122901229112292122931229412295122961229712298122991230012301123021230312304123051230612307123081230912310123111231212313123141231512316123171231812319123201232112322123231232412325123261232712328123291233012331123321233312334123351233612337123381233912340123411234212343123441234512346123471234812349123501235112352123531235412355123561235712358123591236012361123621236312364123651236612367123681236912370123711237212373123741237512376123771237812379123801238112382123831238412385123861238712388123891239012391123921239312394123951239612397123981239912400124011240212403124041240512406124071240812409124101241112412124131241412415124161241712418124191242012421124221242312424124251242612427124281242912430124311243212433124341243512436124371243812439124401244112442124431244412445124461244712448124491245012451124521245312454124551245612457124581245912460124611246212463124641246512466124671246812469124701247112472124731247412475124761247712478124791248012481124821248312484124851248612487124881248912490124911249212493124941249512496124971249812499125001250112502125031250412505125061250712508125091251012511125121251312514125151251612517125181251912520125211252212523125241252512526125271252812529125301253112532125331253412535125361253712538125391254012541125421254312544125451254612547125481254912550125511255212553125541255512556125571255812559125601256112562125631256412565125661256712568125691257012571125721257312574125751257612577125781257912580125811258212583125841258512586125871258812589125901259112592125931259412595125961259712598125991260012601126021260312604126051260612607126081260912610126111261212613126141261512616126171261812619126201262112622126231262412625126261262712628126291263012631126321263312634126351263612637126381263912640126411264212643126441264512646126471264812649126501265112652126531265412655126561265712658126591266012661126621266312664126651266612667126681266912670126711267212673126741267512676126771267812679126801268112682126831268412685126861268712688126891269012691126921269312694126951269612697126981269912700127011270212703127041270512706127071270812709127101271112712127131271412715127161271712718127191272012721127221272312724127251272612727127281272912730127311273212733127341273512736127371273812739127401274112742127431274412745127461274712748127491275012751127521275312754127551275612757127581275912760127611276212763127641276512766127671276812769127701277112772127731277412775127761277712778127791278012781127821278312784127851278612787127881278912790127911279212793127941279512796127971279812799128001280112802128031280412805128061280712808128091281012811128121281312814128151281612817128181281912820128211282212823128241282512826128271282812829128301283112832128331283412835128361283712838128391284012841128421284312844128451284612847128481284912850128511285212853128541285512856128571285812859128601286112862128631286412865128661286712868128691287012871128721287312874128751287612877128781287912880128811288212883128841288512886128871288812889128901289112892128931289412895128961289712898128991290012901129021290312904129051290612907129081290912910129111291212913129141291512916129171291812919129201292112922129231292412925129261292712928129291293012931129321293312934129351293612937129381293912940129411294212943129441294512946129471294812949129501295112952129531295412955129561295712958129591296012961129621296312964129651296612967129681296912970129711297212973129741297512976129771297812979129801298112982129831298412985129861298712988129891299012991129921299312994129951299612997129981299913000130011300213003130041300513006130071300813009130101301113012130131301413015130161301713018130191302013021130221302313024130251302613027130281302913030130311303213033130341303513036130371303813039130401304113042130431304413045130461304713048130491305013051130521305313054130551305613057130581305913060130611306213063130641306513066130671306813069130701307113072130731307413075130761307713078130791308013081130821308313084130851308613087130881308913090130911309213093130941309513096130971309813099131001310113102131031310413105131061310713108131091311013111131121311313114131151311613117131181311913120131211312213123131241312513126131271312813129131301313113132131331313413135131361313713138131391314013141131421314313144131451314613147131481314913150131511315213153131541315513156131571315813159131601316113162131631316413165131661316713168131691317013171131721317313174131751317613177131781317913180131811318213183131841318513186131871318813189131901319113192131931319413195131961319713198131991320013201132021320313204132051320613207132081320913210132111321213213132141321513216132171321813219132201322113222132231322413225132261322713228132291323013231132321323313234132351323613237132381323913240132411324213243132441324513246132471324813249132501325113252132531325413255132561325713258132591326013261132621326313264132651326613267132681326913270132711327213273132741327513276132771327813279132801328113282132831328413285132861328713288132891329013291132921329313294132951329613297132981329913300133011330213303133041330513306133071330813309133101331113312133131331413315133161331713318133191332013321133221332313324133251332613327133281332913330133311333213333133341333513336133371333813339133401334113342133431334413345133461334713348133491335013351133521335313354133551335613357133581335913360133611336213363133641336513366133671336813369133701337113372133731337413375133761337713378133791338013381133821338313384133851338613387133881338913390133911339213393133941339513396133971339813399134001340113402134031340413405134061340713408134091341013411134121341313414134151341613417134181341913420134211342213423134241342513426134271342813429134301343113432134331343413435134361343713438134391344013441134421344313444134451344613447134481344913450134511345213453134541345513456134571345813459134601346113462134631346413465134661346713468134691347013471134721347313474134751347613477134781347913480134811348213483134841348513486134871348813489134901349113492134931349413495134961349713498134991350013501135021350313504135051350613507135081350913510135111351213513135141351513516135171351813519135201352113522135231352413525135261352713528135291353013531135321353313534135351353613537135381353913540135411354213543135441354513546135471354813549135501355113552135531355413555135561355713558135591356013561135621356313564135651356613567135681356913570135711357213573135741357513576135771357813579135801358113582135831358413585135861358713588135891359013591135921359313594135951359613597135981359913600136011360213603136041360513606136071360813609136101361113612136131361413615136161361713618136191362013621136221362313624136251362613627136281362913630136311363213633136341363513636136371363813639136401364113642136431364413645136461364713648136491365013651136521365313654136551365613657136581365913660136611366213663136641366513666136671366813669136701367113672136731367413675136761367713678136791368013681136821368313684136851368613687136881368913690136911369213693136941369513696136971369813699137001370113702137031370413705137061370713708137091371013711137121371313714137151371613717137181371913720137211372213723137241372513726137271372813729137301373113732137331373413735137361373713738137391374013741137421374313744137451374613747137481374913750137511375213753137541375513756137571375813759137601376113762137631376413765137661376713768137691377013771137721377313774137751377613777137781377913780137811378213783137841378513786137871378813789137901379113792137931379413795137961379713798137991380013801138021380313804138051380613807138081380913810138111381213813138141381513816138171381813819138201382113822138231382413825138261382713828138291383013831138321383313834138351383613837138381383913840138411384213843138441384513846138471384813849138501385113852138531385413855138561385713858138591386013861138621386313864138651386613867138681386913870138711387213873138741387513876138771387813879138801388113882138831388413885138861388713888138891389013891138921389313894138951389613897138981389913900139011390213903139041390513906139071390813909139101391113912139131391413915139161391713918139191392013921139221392313924139251392613927139281392913930139311393213933139341393513936139371393813939139401394113942139431394413945139461394713948139491395013951139521395313954139551395613957139581395913960139611396213963139641396513966139671396813969139701397113972139731397413975139761397713978139791398013981139821398313984139851398613987139881398913990139911399213993139941399513996139971399813999140001400114002140031400414005140061400714008140091401014011140121401314014140151401614017140181401914020140211402214023140241402514026140271402814029140301403114032140331403414035140361403714038140391404014041140421404314044140451404614047140481404914050140511405214053140541405514056140571405814059140601406114062140631406414065140661406714068140691407014071140721407314074140751407614077140781407914080140811408214083140841408514086140871408814089140901409114092140931409414095140961409714098140991410014101141021410314104141051410614107141081410914110141111411214113141141411514116141171411814119141201412114122141231412414125141261412714128141291413014131141321413314134141351413614137141381413914140141411414214143141441414514146141471414814149141501415114152141531415414155141561415714158141591416014161141621416314164141651416614167141681416914170141711417214173141741417514176141771417814179141801418114182141831418414185141861418714188141891419014191141921419314194141951419614197141981419914200142011420214203142041420514206142071420814209142101421114212142131421414215142161421714218142191422014221142221422314224142251422614227142281422914230142311423214233142341423514236142371423814239142401424114242142431424414245142461424714248142491425014251142521425314254142551425614257142581425914260142611426214263142641426514266142671426814269142701427114272142731427414275142761427714278142791428014281142821428314284142851428614287142881428914290142911429214293142941429514296142971429814299143001430114302143031430414305143061430714308143091431014311143121431314314143151431614317143181431914320143211432214323143241432514326143271432814329143301433114332143331433414335143361433714338143391434014341143421434314344143451434614347143481434914350143511435214353143541435514356143571435814359143601436114362143631436414365143661436714368143691437014371143721437314374143751437614377143781437914380143811438214383143841438514386143871438814389143901439114392143931439414395143961439714398143991440014401144021440314404144051440614407144081440914410144111441214413144141441514416144171441814419144201442114422144231442414425144261442714428144291443014431144321443314434144351443614437144381443914440144411444214443144441444514446144471444814449144501445114452144531445414455144561445714458144591446014461144621446314464144651446614467144681446914470144711447214473144741447514476144771447814479144801448114482144831448414485144861448714488144891449014491144921449314494144951449614497144981449914500145011450214503145041450514506145071450814509145101451114512145131451414515145161451714518145191452014521145221452314524145251452614527145281452914530145311453214533145341453514536145371453814539145401454114542145431454414545145461454714548145491455014551145521455314554145551455614557145581455914560145611456214563145641456514566145671456814569145701457114572145731457414575145761457714578145791458014581145821458314584145851458614587145881458914590145911459214593145941459514596145971459814599146001460114602146031460414605146061460714608146091461014611146121461314614146151461614617146181461914620146211462214623146241462514626146271462814629146301463114632146331463414635146361463714638146391464014641146421464314644146451464614647146481464914650146511465214653146541465514656146571465814659146601466114662146631466414665146661466714668146691467014671146721467314674146751467614677146781467914680146811468214683146841468514686146871468814689146901469114692146931469414695146961469714698146991470014701147021470314704147051470614707147081470914710147111471214713147141471514716147171471814719147201472114722147231472414725147261472714728147291473014731147321473314734147351473614737147381473914740147411474214743147441474514746147471474814749147501475114752147531475414755147561475714758147591476014761147621476314764147651476614767147681476914770147711477214773147741477514776147771477814779147801478114782147831478414785147861478714788147891479014791147921479314794147951479614797147981479914800148011480214803148041480514806148071480814809148101481114812148131481414815148161481714818148191482014821148221482314824148251482614827148281482914830148311483214833148341483514836148371483814839148401484114842148431484414845148461484714848148491485014851148521485314854148551485614857148581485914860148611486214863148641486514866148671486814869148701487114872148731487414875148761487714878148791488014881148821488314884148851488614887148881488914890148911489214893148941489514896148971489814899149001490114902149031490414905149061490714908149091491014911149121491314914149151491614917149181491914920149211492214923149241492514926149271492814929149301493114932149331493414935149361493714938149391494014941149421494314944149451494614947149481494914950149511495214953149541495514956149571495814959149601496114962149631496414965149661496714968149691497014971149721497314974149751497614977149781497914980149811498214983149841498514986149871498814989149901499114992149931499414995149961499714998149991500015001150021500315004150051500615007150081500915010150111501215013150141501515016150171501815019150201502115022150231502415025150261502715028150291503015031150321503315034150351503615037150381503915040150411504215043150441504515046150471504815049150501505115052150531505415055150561505715058150591506015061150621506315064150651506615067150681506915070150711507215073150741507515076150771507815079150801508115082150831508415085150861508715088150891509015091150921509315094150951509615097150981509915100151011510215103151041510515106151071510815109151101511115112151131511415115151161511715118151191512015121151221512315124151251512615127151281512915130151311513215133151341513515136151371513815139151401514115142151431514415145151461514715148151491515015151151521515315154151551515615157151581515915160151611516215163151641516515166151671516815169151701517115172151731517415175151761517715178151791518015181151821518315184151851518615187151881518915190151911519215193151941519515196151971519815199152001520115202152031520415205152061520715208152091521015211152121521315214152151521615217152181521915220152211522215223152241522515226152271522815229152301523115232152331523415235152361523715238152391524015241152421524315244152451524615247152481524915250152511525215253152541525515256152571525815259152601526115262152631526415265152661526715268152691527015271152721527315274152751527615277152781527915280152811528215283152841528515286152871528815289152901529115292152931529415295152961529715298152991530015301153021530315304153051530615307153081530915310153111531215313153141531515316153171531815319153201532115322153231532415325153261532715328153291533015331153321533315334153351533615337153381533915340153411534215343153441534515346153471534815349153501535115352153531535415355153561535715358153591536015361153621536315364153651536615367153681536915370153711537215373153741537515376153771537815379153801538115382153831538415385153861538715388153891539015391153921539315394153951539615397153981539915400154011540215403154041540515406154071540815409154101541115412154131541415415154161541715418154191542015421154221542315424154251542615427154281542915430154311543215433154341543515436154371543815439154401544115442154431544415445154461544715448154491545015451154521545315454154551545615457154581545915460154611546215463154641546515466154671546815469154701547115472154731547415475154761547715478154791548015481154821548315484154851548615487154881548915490154911549215493154941549515496154971549815499155001550115502155031550415505155061550715508155091551015511155121551315514155151551615517155181551915520155211552215523155241552515526155271552815529155301553115532155331553415535155361553715538155391554015541155421554315544155451554615547155481554915550155511555215553155541555515556155571555815559155601556115562155631556415565155661556715568155691557015571155721557315574155751557615577155781557915580155811558215583155841558515586155871558815589155901559115592155931559415595155961559715598155991560015601156021560315604156051560615607156081560915610156111561215613156141561515616156171561815619156201562115622156231562415625156261562715628156291563015631156321563315634156351563615637156381563915640156411564215643156441564515646156471564815649156501565115652156531565415655156561565715658156591566015661156621566315664156651566615667156681566915670156711567215673156741567515676156771567815679156801568115682156831568415685156861568715688156891569015691156921569315694156951569615697156981569915700157011570215703157041570515706157071570815709157101571115712157131571415715157161571715718157191572015721157221572315724157251572615727157281572915730157311573215733157341573515736157371573815739157401574115742157431574415745157461574715748157491575015751157521575315754157551575615757157581575915760157611576215763157641576515766157671576815769157701577115772157731577415775157761577715778157791578015781157821578315784157851578615787157881578915790157911579215793157941579515796157971579815799158001580115802158031580415805158061580715808158091581015811158121581315814158151581615817158181581915820158211582215823158241582515826158271582815829158301583115832158331583415835158361583715838158391584015841158421584315844158451584615847158481584915850158511585215853158541585515856158571585815859158601586115862158631586415865158661586715868158691587015871158721587315874158751587615877158781587915880158811588215883158841588515886158871588815889158901589115892158931589415895158961589715898158991590015901159021590315904159051590615907159081590915910159111591215913159141591515916159171591815919159201592115922159231592415925159261592715928159291593015931159321593315934159351593615937159381593915940159411594215943159441594515946159471594815949159501595115952159531595415955159561595715958159591596015961159621596315964159651596615967159681596915970159711597215973159741597515976159771597815979159801598115982159831598415985159861598715988159891599015991159921599315994159951599615997159981599916000160011600216003160041600516006160071600816009160101601116012160131601416015160161601716018160191602016021160221602316024160251602616027160281602916030160311603216033160341603516036160371603816039160401604116042160431604416045160461604716048160491605016051160521605316054160551605616057160581605916060160611606216063160641606516066160671606816069160701607116072160731607416075160761607716078160791608016081160821608316084160851608616087160881608916090160911609216093160941609516096160971609816099161001610116102161031610416105161061610716108161091611016111161121611316114161151611616117161181611916120161211612216123161241612516126161271612816129161301613116132161331613416135161361613716138161391614016141161421614316144161451614616147161481614916150161511615216153161541615516156161571615816159161601616116162161631616416165161661616716168161691617016171161721617316174161751617616177161781617916180161811618216183161841618516186161871618816189161901619116192161931619416195161961619716198161991620016201162021620316204162051620616207162081620916210162111621216213162141621516216162171621816219162201622116222162231622416225162261622716228162291623016231162321623316234162351623616237162381623916240162411624216243162441624516246162471624816249162501625116252162531625416255162561625716258162591626016261162621626316264162651626616267162681626916270162711627216273162741627516276162771627816279162801628116282162831628416285162861628716288162891629016291162921629316294162951629616297162981629916300163011630216303163041630516306163071630816309163101631116312163131631416315163161631716318163191632016321163221632316324163251632616327163281632916330163311633216333163341633516336163371633816339163401634116342163431634416345163461634716348163491635016351163521635316354163551635616357163581635916360163611636216363163641636516366163671636816369163701637116372163731637416375163761637716378163791638016381163821638316384163851638616387163881638916390163911639216393163941639516396163971639816399164001640116402164031640416405164061640716408164091641016411164121641316414164151641616417164181641916420164211642216423164241642516426164271642816429164301643116432164331643416435164361643716438164391644016441164421644316444164451644616447164481644916450164511645216453164541645516456164571645816459164601646116462164631646416465164661646716468164691647016471164721647316474164751647616477164781647916480164811648216483164841648516486164871648816489164901649116492164931649416495164961649716498164991650016501165021650316504165051650616507165081650916510165111651216513165141651516516165171651816519165201652116522165231652416525165261652716528165291653016531165321653316534165351653616537165381653916540165411654216543165441654516546165471654816549165501655116552165531655416555165561655716558165591656016561165621656316564165651656616567165681656916570165711657216573165741657516576165771657816579165801658116582165831658416585165861658716588165891659016591165921659316594165951659616597165981659916600166011660216603166041660516606166071660816609166101661116612166131661416615166161661716618166191662016621166221662316624166251662616627166281662916630166311663216633166341663516636166371663816639166401664116642166431664416645166461664716648166491665016651166521665316654166551665616657166581665916660166611666216663166641666516666166671666816669166701667116672166731667416675166761667716678166791668016681166821668316684166851668616687166881668916690166911669216693166941669516696166971669816699167001670116702167031670416705167061670716708167091671016711167121671316714167151671616717167181671916720167211672216723167241672516726167271672816729167301673116732167331673416735167361673716738167391674016741167421674316744167451674616747167481674916750167511675216753167541675516756167571675816759167601676116762167631676416765167661676716768167691677016771167721677316774167751677616777167781677916780167811678216783167841678516786167871678816789167901679116792167931679416795167961679716798167991680016801168021680316804168051680616807168081680916810168111681216813168141681516816168171681816819168201682116822168231682416825168261682716828168291683016831168321683316834168351683616837168381683916840168411684216843168441684516846168471684816849168501685116852168531685416855168561685716858168591686016861168621686316864168651686616867168681686916870168711687216873168741687516876168771687816879168801688116882168831688416885168861688716888168891689016891168921689316894168951689616897168981689916900169011690216903169041690516906169071690816909169101691116912169131691416915169161691716918169191692016921169221692316924169251692616927169281692916930169311693216933169341693516936169371693816939169401694116942169431694416945169461694716948169491695016951169521695316954169551695616957169581695916960169611696216963169641696516966169671696816969169701697116972169731697416975169761697716978169791698016981169821698316984169851698616987169881698916990169911699216993169941699516996169971699816999170001700117002170031700417005170061700717008170091701017011170121701317014170151701617017170181701917020170211702217023170241702517026170271702817029170301703117032170331703417035170361703717038170391704017041170421704317044170451704617047170481704917050170511705217053170541705517056170571705817059170601706117062170631706417065170661706717068170691707017071170721707317074170751707617077170781707917080170811708217083170841708517086170871708817089170901709117092170931709417095170961709717098170991710017101171021710317104171051710617107171081710917110171111711217113171141711517116171171711817119171201712117122171231712417125171261712717128171291713017131171321713317134171351713617137171381713917140171411714217143171441714517146171471714817149171501715117152171531715417155171561715717158171591716017161171621716317164171651716617167171681716917170171711717217173171741717517176171771717817179171801718117182171831718417185171861718717188171891719017191171921719317194171951719617197171981719917200172011720217203172041720517206172071720817209172101721117212172131721417215172161721717218172191722017221172221722317224172251722617227172281722917230172311723217233172341723517236172371723817239172401724117242172431724417245172461724717248172491725017251172521725317254172551725617257172581725917260172611726217263172641726517266172671726817269172701727117272172731727417275172761727717278172791728017281172821728317284172851728617287172881728917290172911729217293172941729517296172971729817299173001730117302173031730417305173061730717308173091731017311173121731317314173151731617317173181731917320173211732217323173241732517326173271732817329173301733117332173331733417335173361733717338173391734017341173421734317344173451734617347173481734917350173511735217353173541735517356173571735817359173601736117362173631736417365173661736717368173691737017371173721737317374173751737617377173781737917380173811738217383173841738517386173871738817389173901739117392173931739417395173961739717398173991740017401174021740317404174051740617407174081740917410174111741217413174141741517416174171741817419174201742117422174231742417425174261742717428174291743017431174321743317434174351743617437174381743917440174411744217443174441744517446174471744817449174501745117452174531745417455174561745717458174591746017461174621746317464174651746617467174681746917470174711747217473174741747517476174771747817479174801748117482174831748417485174861748717488174891749017491174921749317494174951749617497174981749917500175011750217503175041750517506175071750817509175101751117512175131751417515175161751717518175191752017521175221752317524175251752617527175281752917530175311753217533175341753517536175371753817539175401754117542175431754417545175461754717548175491755017551175521755317554175551755617557175581755917560175611756217563175641756517566175671756817569175701757117572175731757417575175761757717578175791758017581175821758317584175851758617587175881758917590175911759217593175941759517596175971759817599176001760117602176031760417605176061760717608176091761017611176121761317614176151761617617176181761917620176211762217623176241762517626176271762817629176301763117632176331763417635176361763717638176391764017641176421764317644176451764617647176481764917650176511765217653176541765517656176571765817659176601766117662176631766417665176661766717668176691767017671176721767317674176751767617677176781767917680176811768217683176841768517686176871768817689176901769117692176931769417695176961769717698176991770017701177021770317704177051770617707177081770917710177111771217713177141771517716177171771817719177201772117722177231772417725177261772717728177291773017731177321773317734177351773617737177381773917740177411774217743177441774517746177471774817749177501775117752177531775417755177561775717758177591776017761177621776317764177651776617767177681776917770177711777217773177741777517776177771777817779177801778117782177831778417785177861778717788177891779017791177921779317794177951779617797177981779917800178011780217803178041780517806178071780817809178101781117812178131781417815178161781717818178191782017821178221782317824178251782617827178281782917830178311783217833178341783517836178371783817839178401784117842178431784417845178461784717848178491785017851178521785317854178551785617857178581785917860178611786217863178641786517866178671786817869178701787117872178731787417875178761787717878178791788017881178821788317884178851788617887178881788917890178911789217893178941789517896178971789817899179001790117902179031790417905179061790717908179091791017911179121791317914179151791617917179181791917920179211792217923179241792517926179271792817929179301793117932179331793417935179361793717938179391794017941179421794317944179451794617947179481794917950179511795217953179541795517956179571795817959179601796117962179631796417965179661796717968179691797017971179721797317974179751797617977179781797917980179811798217983179841798517986179871798817989179901799117992179931799417995179961799717998179991800018001180021800318004180051800618007180081800918010180111801218013180141801518016180171801818019180201802118022180231802418025180261802718028180291803018031180321803318034180351803618037180381803918040180411804218043180441804518046180471804818049180501805118052180531805418055180561805718058180591806018061180621806318064180651806618067180681806918070180711807218073180741807518076180771807818079180801808118082180831808418085180861808718088180891809018091180921809318094180951809618097180981809918100181011810218103181041810518106181071810818109181101811118112181131811418115181161811718118181191812018121181221812318124181251812618127181281812918130181311813218133181341813518136181371813818139181401814118142181431814418145181461814718148181491815018151181521815318154181551815618157181581815918160181611816218163181641816518166181671816818169181701817118172181731817418175181761817718178181791818018181181821818318184181851818618187181881818918190181911819218193181941819518196181971819818199182001820118202182031820418205182061820718208182091821018211182121821318214182151821618217182181821918220182211822218223182241822518226182271822818229182301823118232182331823418235182361823718238182391824018241182421824318244182451824618247182481824918250182511825218253182541825518256182571825818259182601826118262182631826418265182661826718268182691827018271182721827318274182751827618277182781827918280182811828218283182841828518286182871828818289182901829118292182931829418295182961829718298182991830018301183021830318304183051830618307183081830918310183111831218313183141831518316183171831818319183201832118322183231832418325183261832718328183291833018331183321833318334183351833618337183381833918340183411834218343183441834518346183471834818349183501835118352183531835418355183561835718358183591836018361183621836318364183651836618367183681836918370183711837218373183741837518376183771837818379183801838118382183831838418385183861838718388183891839018391183921839318394183951839618397183981839918400184011840218403184041840518406184071840818409184101841118412184131841418415184161841718418184191842018421184221842318424184251842618427184281842918430184311843218433184341843518436184371843818439184401844118442184431844418445184461844718448184491845018451184521845318454184551845618457184581845918460184611846218463184641846518466184671846818469184701847118472184731847418475184761847718478184791848018481184821848318484184851848618487184881848918490184911849218493184941849518496184971849818499185001850118502185031850418505185061850718508185091851018511185121851318514185151851618517185181851918520185211852218523185241852518526185271852818529185301853118532185331853418535185361853718538185391854018541185421854318544185451854618547185481854918550185511855218553185541855518556185571855818559185601856118562185631856418565185661856718568185691857018571185721857318574185751857618577185781857918580185811858218583185841858518586185871858818589185901859118592185931859418595185961859718598185991860018601186021860318604186051860618607186081860918610186111861218613186141861518616186171861818619186201862118622186231862418625186261862718628186291863018631186321863318634186351863618637186381863918640186411864218643186441864518646186471864818649186501865118652186531865418655186561865718658186591866018661186621866318664186651866618667186681866918670186711867218673186741867518676186771867818679186801868118682186831868418685186861868718688186891869018691186921869318694186951869618697186981869918700187011870218703187041870518706187071870818709187101871118712187131871418715187161871718718187191872018721187221872318724187251872618727187281872918730187311873218733187341873518736187371873818739187401874118742187431874418745187461874718748187491875018751187521875318754187551875618757187581875918760187611876218763187641876518766187671876818769187701877118772187731877418775187761877718778187791878018781187821878318784187851878618787187881878918790187911879218793187941879518796187971879818799188001880118802188031880418805188061880718808188091881018811188121881318814188151881618817188181881918820188211882218823188241882518826188271882818829188301883118832188331883418835188361883718838188391884018841188421884318844188451884618847188481884918850188511885218853188541885518856188571885818859188601886118862188631886418865188661886718868188691887018871188721887318874188751887618877188781887918880188811888218883188841888518886188871888818889188901889118892188931889418895188961889718898188991890018901189021890318904189051890618907189081890918910189111891218913189141891518916189171891818919189201892118922189231892418925189261892718928189291893018931189321893318934189351893618937189381893918940189411894218943189441894518946189471894818949189501895118952189531895418955189561895718958189591896018961189621896318964189651896618967189681896918970189711897218973189741897518976189771897818979189801898118982189831898418985189861898718988189891899018991189921899318994189951899618997189981899919000190011900219003190041900519006190071900819009190101901119012190131901419015190161901719018190191902019021190221902319024190251902619027190281902919030190311903219033190341903519036190371903819039190401904119042190431904419045190461904719048190491905019051190521905319054190551905619057190581905919060190611906219063190641906519066190671906819069190701907119072190731907419075190761907719078190791908019081190821908319084190851908619087190881908919090190911909219093190941909519096190971909819099191001910119102191031910419105191061910719108191091911019111191121911319114191151911619117191181911919120191211912219123191241912519126191271912819129191301913119132191331913419135191361913719138191391914019141191421914319144191451914619147191481914919150191511915219153191541915519156191571915819159191601916119162191631916419165191661916719168191691917019171191721917319174191751917619177191781917919180191811918219183191841918519186191871918819189191901919119192191931919419195191961919719198191991920019201192021920319204192051920619207192081920919210192111921219213192141921519216192171921819219192201922119222192231922419225192261922719228192291923019231192321923319234192351923619237192381923919240192411924219243192441924519246192471924819249192501925119252192531925419255192561925719258192591926019261192621926319264192651926619267192681926919270192711927219273192741927519276192771927819279192801928119282192831928419285192861928719288192891929019291192921929319294192951929619297192981929919300193011930219303193041930519306193071930819309193101931119312193131931419315193161931719318193191932019321193221932319324193251932619327193281932919330193311933219333193341933519336193371933819339193401934119342193431934419345193461934719348193491935019351193521935319354193551935619357193581935919360193611936219363193641936519366193671936819369193701937119372193731937419375193761937719378193791938019381193821938319384193851938619387193881938919390193911939219393193941939519396193971939819399194001940119402194031940419405194061940719408194091941019411194121941319414194151941619417194181941919420194211942219423194241942519426194271942819429194301943119432194331943419435194361943719438194391944019441194421944319444194451944619447194481944919450194511945219453194541945519456194571945819459194601946119462194631946419465194661946719468194691947019471194721947319474194751947619477194781947919480194811948219483194841948519486194871948819489194901949119492194931949419495194961949719498194991950019501195021950319504195051950619507195081950919510195111951219513195141951519516195171951819519195201952119522195231952419525195261952719528195291953019531195321953319534195351953619537195381953919540195411954219543195441954519546195471954819549195501955119552195531955419555195561955719558195591956019561195621956319564195651956619567195681956919570195711957219573195741957519576195771957819579195801958119582195831958419585195861958719588195891959019591195921959319594195951959619597195981959919600196011960219603196041960519606196071960819609196101961119612196131961419615196161961719618196191962019621196221962319624196251962619627196281962919630196311963219633196341963519636196371963819639196401964119642196431964419645196461964719648196491965019651196521965319654196551965619657196581965919660196611966219663196641966519666196671966819669196701967119672196731967419675196761967719678196791968019681196821968319684196851968619687196881968919690196911969219693196941969519696196971969819699197001970119702197031970419705197061970719708197091971019711197121971319714197151971619717197181971919720197211972219723197241972519726197271972819729197301973119732197331973419735197361973719738197391974019741197421974319744197451974619747197481974919750197511975219753197541975519756197571975819759197601976119762197631976419765197661976719768197691977019771197721977319774197751977619777197781977919780197811978219783197841978519786197871978819789197901979119792197931979419795197961979719798197991980019801198021980319804198051980619807198081980919810198111981219813198141981519816198171981819819198201982119822198231982419825198261982719828198291983019831198321983319834198351983619837198381983919840198411984219843198441984519846198471984819849198501985119852198531985419855198561985719858198591986019861198621986319864198651986619867198681986919870198711987219873198741987519876198771987819879198801988119882198831988419885198861988719888198891989019891198921989319894198951989619897198981989919900199011990219903199041990519906199071990819909199101991119912199131991419915199161991719918199191992019921199221992319924199251992619927199281992919930199311993219933199341993519936199371993819939199401994119942199431994419945199461994719948199491995019951199521995319954199551995619957199581995919960199611996219963199641996519966199671996819969199701997119972199731997419975199761997719978199791998019981199821998319984199851998619987199881998919990199911999219993199941999519996199971999819999200002000120002200032000420005200062000720008200092001020011200122001320014200152001620017200182001920020200212002220023200242002520026200272002820029200302003120032200332003420035200362003720038200392004020041200422004320044200452004620047200482004920050200512005220053200542005520056200572005820059200602006120062200632006420065200662006720068200692007020071200722007320074200752007620077200782007920080200812008220083200842008520086200872008820089200902009120092200932009420095200962009720098200992010020101201022010320104201052010620107201082010920110201112011220113201142011520116201172011820119201202012120122201232012420125201262012720128201292013020131201322013320134201352013620137201382013920140201412014220143201442014520146201472014820149201502015120152201532015420155201562015720158201592016020161201622016320164201652016620167201682016920170201712017220173201742017520176201772017820179201802018120182201832018420185201862018720188201892019020191201922019320194201952019620197201982019920200202012020220203202042020520206202072020820209202102021120212202132021420215202162021720218202192022020221202222022320224202252022620227202282022920230202312023220233202342023520236202372023820239202402024120242202432024420245202462024720248202492025020251202522025320254202552025620257202582025920260202612026220263202642026520266202672026820269202702027120272202732027420275202762027720278202792028020281202822028320284202852028620287202882028920290202912029220293202942029520296202972029820299203002030120302203032030420305203062030720308203092031020311203122031320314203152031620317203182031920320203212032220323203242032520326203272032820329203302033120332203332033420335203362033720338203392034020341203422034320344203452034620347203482034920350203512035220353203542035520356203572035820359203602036120362203632036420365203662036720368203692037020371203722037320374203752037620377203782037920380203812038220383203842038520386203872038820389203902039120392203932039420395203962039720398203992040020401204022040320404204052040620407204082040920410204112041220413204142041520416204172041820419204202042120422204232042420425204262042720428204292043020431204322043320434204352043620437204382043920440204412044220443204442044520446204472044820449204502045120452204532045420455204562045720458204592046020461204622046320464204652046620467204682046920470204712047220473204742047520476204772047820479204802048120482204832048420485204862048720488204892049020491204922049320494204952049620497204982049920500205012050220503205042050520506205072050820509205102051120512205132051420515205162051720518205192052020521205222052320524205252052620527205282052920530205312053220533205342053520536205372053820539205402054120542205432054420545205462054720548205492055020551205522055320554205552055620557205582055920560205612056220563205642056520566205672056820569205702057120572205732057420575205762057720578205792058020581205822058320584205852058620587205882058920590205912059220593205942059520596205972059820599206002060120602206032060420605206062060720608206092061020611206122061320614206152061620617206182061920620206212062220623206242062520626206272062820629206302063120632206332063420635206362063720638206392064020641206422064320644206452064620647206482064920650206512065220653206542065520656206572065820659206602066120662206632066420665206662066720668206692067020671206722067320674206752067620677206782067920680206812068220683206842068520686206872068820689206902069120692206932069420695206962069720698206992070020701207022070320704207052070620707207082070920710207112071220713207142071520716207172071820719207202072120722207232072420725207262072720728207292073020731207322073320734207352073620737207382073920740207412074220743207442074520746207472074820749207502075120752207532075420755207562075720758207592076020761207622076320764207652076620767207682076920770207712077220773207742077520776207772077820779207802078120782207832078420785207862078720788207892079020791207922079320794207952079620797207982079920800208012080220803208042080520806208072080820809208102081120812208132081420815208162081720818208192082020821208222082320824208252082620827208282082920830208312083220833208342083520836208372083820839208402084120842208432084420845208462084720848208492085020851208522085320854208552085620857208582085920860208612086220863208642086520866208672086820869208702087120872208732087420875208762087720878208792088020881208822088320884208852088620887208882088920890208912089220893208942089520896208972089820899209002090120902209032090420905209062090720908209092091020911209122091320914209152091620917209182091920920209212092220923209242092520926209272092820929209302093120932209332093420935209362093720938209392094020941209422094320944209452094620947209482094920950209512095220953209542095520956209572095820959209602096120962209632096420965209662096720968209692097020971209722097320974209752097620977209782097920980209812098220983209842098520986209872098820989209902099120992209932099420995209962099720998209992100021001210022100321004210052100621007210082100921010210112101221013210142101521016210172101821019210202102121022210232102421025210262102721028210292103021031210322103321034210352103621037210382103921040210412104221043210442104521046210472104821049210502105121052210532105421055210562105721058210592106021061210622106321064210652106621067210682106921070210712107221073210742107521076210772107821079210802108121082210832108421085210862108721088210892109021091210922109321094210952109621097210982109921100211012110221103211042110521106211072110821109211102111121112211132111421115211162111721118211192112021121211222112321124211252112621127211282112921130211312113221133211342113521136211372113821139211402114121142211432114421145211462114721148211492115021151211522115321154211552115621157211582115921160211612116221163211642116521166211672116821169211702117121172211732117421175211762117721178211792118021181211822118321184211852118621187211882118921190211912119221193211942119521196211972119821199212002120121202212032120421205212062120721208212092121021211212122121321214212152121621217212182121921220212212122221223212242122521226212272122821229212302123121232212332123421235212362123721238212392124021241212422124321244212452124621247212482124921250212512125221253212542125521256212572125821259212602126121262212632126421265212662126721268212692127021271212722127321274212752127621277212782127921280212812128221283212842128521286212872128821289212902129121292212932129421295212962129721298212992130021301213022130321304213052130621307213082130921310213112131221313213142131521316213172131821319213202132121322213232132421325213262132721328213292133021331213322133321334213352133621337213382133921340213412134221343213442134521346213472134821349213502135121352213532135421355213562135721358213592136021361213622136321364213652136621367213682136921370213712137221373213742137521376213772137821379213802138121382213832138421385213862138721388213892139021391213922139321394213952139621397213982139921400214012140221403214042140521406214072140821409214102141121412214132141421415214162141721418214192142021421214222142321424214252142621427214282142921430214312143221433214342143521436214372143821439214402144121442214432144421445214462144721448214492145021451214522145321454214552145621457214582145921460214612146221463214642146521466214672146821469214702147121472214732147421475214762147721478214792148021481214822148321484214852148621487214882148921490214912149221493214942149521496214972149821499215002150121502215032150421505215062150721508215092151021511215122151321514215152151621517215182151921520215212152221523215242152521526215272152821529215302153121532215332153421535215362153721538215392154021541215422154321544215452154621547215482154921550215512155221553215542155521556215572155821559215602156121562215632156421565215662156721568215692157021571215722157321574215752157621577215782157921580215812158221583215842158521586215872158821589215902159121592215932159421595215962159721598215992160021601216022160321604216052160621607216082160921610216112161221613216142161521616216172161821619216202162121622216232162421625216262162721628216292163021631216322163321634216352163621637216382163921640216412164221643216442164521646216472164821649216502165121652216532165421655216562165721658216592166021661216622166321664216652166621667216682166921670216712167221673216742167521676216772167821679216802168121682216832168421685216862168721688216892169021691216922169321694216952169621697216982169921700217012170221703217042170521706217072170821709217102171121712217132171421715217162171721718217192172021721217222172321724217252172621727217282172921730217312173221733217342173521736217372173821739217402174121742217432174421745217462174721748217492175021751217522175321754217552175621757217582175921760217612176221763217642176521766217672176821769217702177121772217732177421775217762177721778217792178021781217822178321784217852178621787217882178921790217912179221793217942179521796217972179821799218002180121802218032180421805218062180721808218092181021811218122181321814218152181621817218182181921820218212182221823218242182521826218272182821829218302183121832218332183421835218362183721838218392184021841218422184321844218452184621847218482184921850218512185221853218542185521856218572185821859218602186121862218632186421865218662186721868218692187021871218722187321874218752187621877218782187921880218812188221883218842188521886218872188821889218902189121892218932189421895218962189721898218992190021901219022190321904219052190621907219082190921910219112191221913219142191521916219172191821919219202192121922219232192421925219262192721928219292193021931219322193321934219352193621937219382193921940219412194221943219442194521946219472194821949219502195121952219532195421955219562195721958219592196021961219622196321964219652196621967219682196921970219712197221973219742197521976219772197821979219802198121982219832198421985219862198721988219892199021991219922199321994219952199621997219982199922000220012200222003220042200522006220072200822009220102201122012220132201422015220162201722018220192202022021220222202322024220252202622027220282202922030220312203222033220342203522036220372203822039220402204122042220432204422045220462204722048220492205022051220522205322054220552205622057220582205922060220612206222063220642206522066220672206822069220702207122072220732207422075220762207722078220792208022081220822208322084220852208622087220882208922090220912209222093220942209522096220972209822099221002210122102221032210422105221062210722108221092211022111221122211322114221152211622117221182211922120221212212222123221242212522126221272212822129221302213122132221332213422135221362213722138221392214022141221422214322144221452214622147221482214922150221512215222153221542215522156221572215822159221602216122162221632216422165221662216722168221692217022171221722217322174221752217622177221782217922180221812218222183221842218522186221872218822189221902219122192221932219422195221962219722198221992220022201222022220322204222052220622207222082220922210222112221222213222142221522216222172221822219222202222122222222232222422225222262222722228222292223022231222322223322234222352223622237222382223922240222412224222243222442224522246222472224822249222502225122252222532225422255222562225722258222592226022261222622226322264222652226622267222682226922270222712227222273222742227522276222772227822279222802228122282222832228422285222862228722288222892229022291222922229322294222952229622297222982229922300223012230222303223042230522306223072230822309223102231122312223132231422315223162231722318223192232022321223222232322324223252232622327223282232922330223312233222333223342233522336223372233822339223402234122342223432234422345223462234722348223492235022351223522235322354223552235622357223582235922360223612236222363223642236522366223672236822369223702237122372223732237422375223762237722378223792238022381223822238322384223852238622387223882238922390223912239222393223942239522396223972239822399224002240122402224032240422405224062240722408224092241022411224122241322414224152241622417224182241922420224212242222423224242242522426224272242822429224302243122432224332243422435224362243722438224392244022441224422244322444224452244622447224482244922450224512245222453224542245522456224572245822459224602246122462224632246422465224662246722468224692247022471224722247322474224752247622477224782247922480224812248222483224842248522486224872248822489224902249122492224932249422495224962249722498224992250022501225022250322504225052250622507225082250922510225112251222513225142251522516225172251822519225202252122522225232252422525225262252722528225292253022531225322253322534225352253622537225382253922540225412254222543225442254522546225472254822549225502255122552225532255422555225562255722558225592256022561225622256322564225652256622567225682256922570225712257222573225742257522576225772257822579225802258122582225832258422585225862258722588225892259022591225922259322594225952259622597225982259922600226012260222603226042260522606226072260822609226102261122612226132261422615226162261722618226192262022621226222262322624226252262622627226282262922630226312263222633226342263522636226372263822639226402264122642226432264422645226462264722648226492265022651226522265322654226552265622657226582265922660226612266222663226642266522666226672266822669226702267122672226732267422675226762267722678226792268022681226822268322684226852268622687226882268922690226912269222693226942269522696226972269822699227002270122702227032270422705227062270722708227092271022711227122271322714227152271622717227182271922720227212272222723227242272522726227272272822729227302273122732227332273422735227362273722738227392274022741227422274322744227452274622747227482274922750227512275222753227542275522756227572275822759227602276122762227632276422765227662276722768227692277022771227722277322774227752277622777227782277922780227812278222783227842278522786227872278822789227902279122792227932279422795227962279722798227992280022801228022280322804228052280622807228082280922810228112281222813228142281522816228172281822819228202282122822228232282422825228262282722828228292283022831228322283322834228352283622837228382283922840228412284222843228442284522846228472284822849228502285122852228532285422855228562285722858228592286022861228622286322864228652286622867228682286922870228712287222873228742287522876228772287822879228802288122882228832288422885228862288722888228892289022891228922289322894228952289622897228982289922900229012290222903229042290522906229072290822909229102291122912229132291422915229162291722918229192292022921229222292322924229252292622927229282292922930229312293222933229342293522936229372293822939229402294122942229432294422945229462294722948229492295022951229522295322954229552295622957229582295922960229612296222963229642296522966229672296822969229702297122972229732297422975229762297722978229792298022981229822298322984229852298622987229882298922990229912299222993229942299522996229972299822999230002300123002230032300423005230062300723008230092301023011230122301323014230152301623017230182301923020230212302223023230242302523026230272302823029230302303123032230332303423035230362303723038230392304023041230422304323044230452304623047230482304923050230512305223053230542305523056230572305823059230602306123062230632306423065230662306723068230692307023071230722307323074230752307623077230782307923080230812308223083230842308523086230872308823089230902309123092230932309423095230962309723098230992310023101231022310323104231052310623107231082310923110231112311223113231142311523116231172311823119231202312123122231232312423125231262312723128231292313023131231322313323134231352313623137231382313923140231412314223143231442314523146231472314823149231502315123152231532315423155231562315723158231592316023161231622316323164231652316623167231682316923170231712317223173231742317523176231772317823179231802318123182231832318423185231862318723188231892319023191231922319323194231952319623197231982319923200232012320223203232042320523206232072320823209232102321123212232132321423215232162321723218232192322023221232222322323224232252322623227232282322923230232312323223233232342323523236232372323823239232402324123242232432324423245232462324723248232492325023251232522325323254232552325623257232582325923260232612326223263232642326523266232672326823269232702327123272232732327423275232762327723278232792328023281232822328323284232852328623287232882328923290232912329223293232942329523296232972329823299233002330123302233032330423305233062330723308233092331023311233122331323314233152331623317233182331923320233212332223323233242332523326233272332823329233302333123332233332333423335233362333723338233392334023341233422334323344233452334623347233482334923350233512335223353233542335523356233572335823359233602336123362233632336423365233662336723368233692337023371233722337323374233752337623377233782337923380233812338223383233842338523386233872338823389233902339123392233932339423395233962339723398233992340023401234022340323404234052340623407234082340923410234112341223413234142341523416234172341823419234202342123422234232342423425234262342723428234292343023431234322343323434234352343623437234382343923440234412344223443234442344523446234472344823449234502345123452234532345423455234562345723458234592346023461234622346323464234652346623467234682346923470234712347223473234742347523476234772347823479234802348123482234832348423485234862348723488234892349023491234922349323494234952349623497234982349923500235012350223503235042350523506235072350823509235102351123512235132351423515235162351723518235192352023521235222352323524235252352623527235282352923530235312353223533235342353523536235372353823539235402354123542235432354423545235462354723548235492355023551235522355323554235552355623557235582355923560235612356223563235642356523566235672356823569235702357123572235732357423575235762357723578235792358023581235822358323584235852358623587235882358923590235912359223593235942359523596235972359823599236002360123602236032360423605236062360723608236092361023611236122361323614236152361623617236182361923620236212362223623236242362523626236272362823629236302363123632236332363423635236362363723638236392364023641236422364323644236452364623647236482364923650236512365223653236542365523656236572365823659236602366123662236632366423665236662366723668236692367023671236722367323674236752367623677236782367923680236812368223683236842368523686236872368823689236902369123692236932369423695236962369723698236992370023701237022370323704237052370623707237082370923710237112371223713237142371523716237172371823719237202372123722237232372423725237262372723728237292373023731237322373323734237352373623737237382373923740237412374223743237442374523746237472374823749237502375123752237532375423755237562375723758237592376023761237622376323764237652376623767237682376923770237712377223773237742377523776237772377823779237802378123782237832378423785237862378723788237892379023791237922379323794237952379623797237982379923800238012380223803238042380523806238072380823809238102381123812238132381423815238162381723818238192382023821238222382323824238252382623827238282382923830238312383223833238342383523836238372383823839238402384123842238432384423845238462384723848238492385023851238522385323854238552385623857238582385923860238612386223863238642386523866238672386823869238702387123872238732387423875238762387723878238792388023881238822388323884238852388623887238882388923890238912389223893238942389523896238972389823899239002390123902239032390423905239062390723908239092391023911239122391323914239152391623917239182391923920239212392223923239242392523926239272392823929239302393123932239332393423935239362393723938239392394023941239422394323944239452394623947239482394923950239512395223953239542395523956239572395823959239602396123962239632396423965239662396723968239692397023971239722397323974239752397623977239782397923980239812398223983239842398523986239872398823989239902399123992239932399423995239962399723998239992400024001240022400324004240052400624007240082400924010240112401224013240142401524016240172401824019240202402124022240232402424025240262402724028240292403024031240322403324034240352403624037240382403924040240412404224043240442404524046240472404824049240502405124052240532405424055240562405724058240592406024061240622406324064240652406624067240682406924070240712407224073240742407524076240772407824079240802408124082240832408424085240862408724088240892409024091240922409324094240952409624097240982409924100241012410224103241042410524106241072410824109241102411124112241132411424115241162411724118241192412024121241222412324124241252412624127241282412924130241312413224133241342413524136241372413824139241402414124142241432414424145241462414724148241492415024151241522415324154241552415624157241582415924160241612416224163241642416524166241672416824169241702417124172241732417424175241762417724178241792418024181241822418324184241852418624187241882418924190241912419224193241942419524196241972419824199242002420124202242032420424205242062420724208242092421024211242122421324214242152421624217242182421924220242212422224223242242422524226242272422824229242302423124232242332423424235242362423724238242392424024241242422424324244242452424624247242482424924250242512425224253242542425524256242572425824259242602426124262242632426424265242662426724268242692427024271242722427324274242752427624277242782427924280242812428224283242842428524286242872428824289242902429124292242932429424295242962429724298242992430024301243022430324304243052430624307243082430924310243112431224313243142431524316243172431824319243202432124322243232432424325243262432724328243292433024331243322433324334243352433624337243382433924340243412434224343243442434524346243472434824349243502435124352243532435424355243562435724358243592436024361243622436324364243652436624367243682436924370243712437224373243742437524376243772437824379243802438124382243832438424385243862438724388243892439024391243922439324394243952439624397243982439924400244012440224403244042440524406244072440824409244102441124412244132441424415244162441724418244192442024421244222442324424244252442624427244282442924430244312443224433244342443524436244372443824439244402444124442244432444424445244462444724448244492445024451244522445324454244552445624457244582445924460244612446224463244642446524466244672446824469244702447124472244732447424475244762447724478244792448024481244822448324484244852448624487244882448924490244912449224493244942449524496244972449824499245002450124502245032450424505245062450724508245092451024511245122451324514245152451624517245182451924520245212452224523245242452524526245272452824529245302453124532245332453424535245362453724538245392454024541245422454324544245452454624547245482454924550245512455224553245542455524556245572455824559245602456124562245632456424565245662456724568245692457024571245722457324574245752457624577245782457924580245812458224583245842458524586245872458824589245902459124592245932459424595245962459724598245992460024601246022460324604246052460624607246082460924610246112461224613246142461524616246172461824619246202462124622246232462424625246262462724628246292463024631246322463324634246352463624637246382463924640246412464224643246442464524646246472464824649246502465124652246532465424655246562465724658246592466024661246622466324664246652466624667246682466924670246712467224673246742467524676246772467824679246802468124682246832468424685246862468724688246892469024691246922469324694246952469624697246982469924700247012470224703247042470524706247072470824709247102471124712247132471424715247162471724718247192472024721247222472324724247252472624727247282472924730247312473224733247342473524736247372473824739247402474124742247432474424745247462474724748247492475024751247522475324754247552475624757247582475924760247612476224763247642476524766247672476824769247702477124772247732477424775247762477724778247792478024781247822478324784247852478624787247882478924790247912479224793247942479524796247972479824799248002480124802248032480424805248062480724808248092481024811248122481324814248152481624817248182481924820248212482224823248242482524826248272482824829248302483124832248332483424835248362483724838248392484024841248422484324844248452484624847248482484924850248512485224853248542485524856248572485824859248602486124862248632486424865248662486724868248692487024871248722487324874248752487624877248782487924880248812488224883248842488524886248872488824889248902489124892248932489424895248962489724898248992490024901249022490324904249052490624907249082490924910249112491224913249142491524916249172491824919249202492124922249232492424925249262492724928249292493024931249322493324934249352493624937249382493924940249412494224943249442494524946249472494824949249502495124952249532495424955249562495724958249592496024961249622496324964249652496624967249682496924970249712497224973249742497524976249772497824979249802498124982249832498424985249862498724988249892499024991249922499324994249952499624997249982499925000250012500225003250042500525006250072500825009250102501125012250132501425015250162501725018250192502025021250222502325024250252502625027250282502925030250312503225033250342503525036250372503825039250402504125042250432504425045250462504725048250492505025051250522505325054250552505625057250582505925060250612506225063250642506525066250672506825069250702507125072250732507425075250762507725078250792508025081250822508325084250852508625087250882508925090250912509225093250942509525096250972509825099251002510125102251032510425105251062510725108251092511025111251122511325114251152511625117251182511925120251212512225123251242512525126251272512825129251302513125132251332513425135251362513725138251392514025141251422514325144251452514625147251482514925150251512515225153251542515525156251572515825159251602516125162251632516425165251662516725168251692517025171251722517325174251752517625177251782517925180251812518225183251842518525186251872518825189251902519125192251932519425195251962519725198251992520025201252022520325204252052520625207252082520925210252112521225213252142521525216252172521825219252202522125222252232522425225252262522725228252292523025231252322523325234252352523625237252382523925240252412524225243252442524525246252472524825249252502525125252252532525425255252562525725258252592526025261252622526325264252652526625267252682526925270252712527225273252742527525276252772527825279252802528125282252832528425285252862528725288252892529025291252922529325294252952529625297252982529925300253012530225303253042530525306253072530825309253102531125312253132531425315253162531725318253192532025321253222532325324253252532625327253282532925330253312533225333253342533525336253372533825339253402534125342253432534425345253462534725348253492535025351253522535325354253552535625357253582535925360253612536225363253642536525366253672536825369253702537125372253732537425375253762537725378253792538025381253822538325384253852538625387253882538925390253912539225393253942539525396253972539825399254002540125402254032540425405254062540725408254092541025411254122541325414254152541625417254182541925420254212542225423254242542525426254272542825429254302543125432254332543425435254362543725438254392544025441254422544325444254452544625447254482544925450254512545225453254542545525456254572545825459254602546125462254632546425465254662546725468254692547025471254722547325474254752547625477254782547925480254812548225483254842548525486254872548825489254902549125492254932549425495254962549725498254992550025501255022550325504255052550625507255082550925510255112551225513255142551525516255172551825519255202552125522255232552425525255262552725528255292553025531255322553325534255352553625537255382553925540255412554225543255442554525546255472554825549255502555125552255532555425555255562555725558255592556025561255622556325564255652556625567255682556925570255712557225573255742557525576255772557825579255802558125582255832558425585255862558725588255892559025591255922559325594255952559625597255982559925600256012560225603256042560525606256072560825609256102561125612256132561425615256162561725618256192562025621256222562325624256252562625627256282562925630256312563225633256342563525636256372563825639256402564125642256432564425645256462564725648256492565025651256522565325654256552565625657256582565925660256612566225663256642566525666256672566825669256702567125672256732567425675256762567725678256792568025681256822568325684256852568625687256882568925690256912569225693256942569525696256972569825699257002570125702257032570425705257062570725708257092571025711257122571325714257152571625717257182571925720257212572225723257242572525726257272572825729257302573125732257332573425735257362573725738257392574025741257422574325744257452574625747257482574925750257512575225753257542575525756257572575825759257602576125762257632576425765257662576725768257692577025771257722577325774257752577625777257782577925780257812578225783257842578525786257872578825789257902579125792257932579425795257962579725798257992580025801258022580325804258052580625807258082580925810258112581225813258142581525816258172581825819258202582125822258232582425825258262582725828258292583025831258322583325834258352583625837258382583925840258412584225843258442584525846258472584825849258502585125852258532585425855258562585725858258592586025861258622586325864258652586625867258682586925870258712587225873258742587525876258772587825879258802588125882258832588425885258862588725888258892589025891258922589325894258952589625897258982589925900259012590225903259042590525906259072590825909259102591125912259132591425915259162591725918259192592025921259222592325924259252592625927259282592925930259312593225933259342593525936259372593825939259402594125942259432594425945259462594725948259492595025951259522595325954259552595625957259582595925960259612596225963259642596525966259672596825969259702597125972259732597425975259762597725978259792598025981259822598325984259852598625987259882598925990259912599225993259942599525996259972599825999260002600126002260032600426005260062600726008260092601026011260122601326014260152601626017260182601926020260212602226023260242602526026260272602826029260302603126032260332603426035260362603726038260392604026041260422604326044260452604626047260482604926050260512605226053260542605526056260572605826059260602606126062260632606426065260662606726068260692607026071260722607326074260752607626077260782607926080260812608226083260842608526086260872608826089260902609126092260932609426095260962609726098260992610026101261022610326104261052610626107261082610926110261112611226113261142611526116261172611826119261202612126122261232612426125261262612726128261292613026131261322613326134261352613626137261382613926140261412614226143261442614526146261472614826149261502615126152261532615426155261562615726158261592616026161261622616326164261652616626167261682616926170261712617226173261742617526176261772617826179261802618126182261832618426185261862618726188261892619026191261922619326194261952619626197261982619926200262012620226203262042620526206262072620826209262102621126212262132621426215262162621726218262192622026221262222622326224262252622626227262282622926230262312623226233262342623526236262372623826239262402624126242262432624426245262462624726248262492625026251262522625326254262552625626257262582625926260262612626226263262642626526266262672626826269262702627126272262732627426275262762627726278262792628026281262822628326284262852628626287262882628926290262912629226293262942629526296262972629826299263002630126302263032630426305263062630726308263092631026311263122631326314263152631626317263182631926320263212632226323263242632526326263272632826329263302633126332263332633426335263362633726338263392634026341263422634326344263452634626347263482634926350263512635226353263542635526356263572635826359263602636126362263632636426365263662636726368263692637026371263722637326374263752637626377263782637926380263812638226383263842638526386263872638826389263902639126392263932639426395263962639726398263992640026401264022640326404264052640626407264082640926410264112641226413264142641526416264172641826419264202642126422264232642426425264262642726428264292643026431264322643326434264352643626437264382643926440264412644226443264442644526446264472644826449264502645126452264532645426455264562645726458264592646026461264622646326464264652646626467264682646926470264712647226473264742647526476264772647826479264802648126482264832648426485264862648726488264892649026491264922649326494264952649626497264982649926500265012650226503265042650526506265072650826509265102651126512265132651426515265162651726518265192652026521265222652326524265252652626527265282652926530265312653226533265342653526536265372653826539265402654126542265432654426545265462654726548265492655026551265522655326554265552655626557265582655926560265612656226563265642656526566265672656826569265702657126572265732657426575265762657726578265792658026581265822658326584265852658626587265882658926590265912659226593265942659526596265972659826599266002660126602266032660426605266062660726608266092661026611266122661326614266152661626617266182661926620266212662226623266242662526626266272662826629266302663126632266332663426635266362663726638266392664026641266422664326644266452664626647266482664926650266512665226653266542665526656266572665826659266602666126662266632666426665266662666726668266692667026671266722667326674266752667626677266782667926680266812668226683266842668526686266872668826689266902669126692266932669426695266962669726698266992670026701267022670326704267052670626707267082670926710267112671226713267142671526716267172671826719267202672126722267232672426725267262672726728267292673026731267322673326734267352673626737267382673926740267412674226743267442674526746267472674826749267502675126752267532675426755267562675726758267592676026761267622676326764267652676626767267682676926770267712677226773267742677526776267772677826779267802678126782267832678426785267862678726788267892679026791267922679326794267952679626797267982679926800268012680226803268042680526806268072680826809268102681126812268132681426815268162681726818268192682026821268222682326824268252682626827268282682926830268312683226833268342683526836268372683826839268402684126842268432684426845268462684726848268492685026851268522685326854268552685626857268582685926860268612686226863268642686526866268672686826869268702687126872268732687426875268762687726878268792688026881268822688326884268852688626887268882688926890268912689226893268942689526896268972689826899269002690126902269032690426905269062690726908269092691026911269122691326914269152691626917269182691926920269212692226923269242692526926269272692826929269302693126932269332693426935269362693726938269392694026941269422694326944269452694626947269482694926950269512695226953269542695526956269572695826959269602696126962269632696426965269662696726968269692697026971269722697326974269752697626977269782697926980269812698226983269842698526986269872698826989269902699126992269932699426995269962699726998269992700027001270022700327004270052700627007270082700927010270112701227013270142701527016270172701827019270202702127022270232702427025270262702727028270292703027031270322703327034270352703627037270382703927040270412704227043270442704527046270472704827049270502705127052270532705427055270562705727058270592706027061270622706327064270652706627067270682706927070270712707227073270742707527076270772707827079270802708127082270832708427085270862708727088270892709027091270922709327094270952709627097270982709927100271012710227103271042710527106271072710827109271102711127112271132711427115271162711727118271192712027121271222712327124271252712627127271282712927130271312713227133271342713527136271372713827139271402714127142271432714427145271462714727148271492715027151271522715327154271552715627157271582715927160271612716227163271642716527166271672716827169271702717127172271732717427175271762717727178271792718027181271822718327184271852718627187271882718927190271912719227193271942719527196271972719827199272002720127202272032720427205272062720727208272092721027211272122721327214272152721627217272182721927220272212722227223272242722527226272272722827229272302723127232272332723427235272362723727238272392724027241272422724327244272452724627247272482724927250272512725227253272542725527256272572725827259272602726127262272632726427265272662726727268272692727027271272722727327274272752727627277272782727927280272812728227283272842728527286272872728827289272902729127292272932729427295272962729727298272992730027301273022730327304273052730627307273082730927310273112731227313273142731527316273172731827319273202732127322273232732427325273262732727328273292733027331273322733327334273352733627337273382733927340273412734227343273442734527346273472734827349273502735127352273532735427355273562735727358273592736027361273622736327364273652736627367273682736927370273712737227373273742737527376273772737827379273802738127382273832738427385273862738727388273892739027391273922739327394273952739627397273982739927400274012740227403274042740527406274072740827409274102741127412274132741427415274162741727418274192742027421274222742327424274252742627427274282742927430274312743227433274342743527436274372743827439274402744127442274432744427445274462744727448274492745027451274522745327454274552745627457274582745927460274612746227463274642746527466274672746827469274702747127472274732747427475274762747727478274792748027481274822748327484274852748627487274882748927490274912749227493274942749527496274972749827499275002750127502275032750427505275062750727508275092751027511275122751327514275152751627517275182751927520275212752227523275242752527526275272752827529275302753127532275332753427535275362753727538275392754027541275422754327544275452754627547275482754927550275512755227553275542755527556275572755827559275602756127562275632756427565275662756727568275692757027571275722757327574275752757627577275782757927580275812758227583275842758527586275872758827589275902759127592275932759427595275962759727598275992760027601276022760327604276052760627607276082760927610276112761227613276142761527616276172761827619276202762127622276232762427625276262762727628276292763027631276322763327634276352763627637276382763927640276412764227643276442764527646276472764827649276502765127652276532765427655276562765727658276592766027661276622766327664276652766627667276682766927670276712767227673276742767527676276772767827679276802768127682276832768427685276862768727688276892769027691276922769327694276952769627697276982769927700277012770227703277042770527706277072770827709277102771127712277132771427715277162771727718277192772027721277222772327724277252772627727277282772927730277312773227733277342773527736277372773827739277402774127742277432774427745277462774727748277492775027751277522775327754277552775627757277582775927760277612776227763277642776527766277672776827769277702777127772277732777427775277762777727778277792778027781277822778327784277852778627787277882778927790277912779227793277942779527796277972779827799278002780127802278032780427805278062780727808278092781027811278122781327814278152781627817278182781927820278212782227823278242782527826278272782827829278302783127832278332783427835278362783727838278392784027841278422784327844278452784627847278482784927850278512785227853278542785527856278572785827859278602786127862278632786427865278662786727868278692787027871278722787327874278752787627877278782787927880278812788227883278842788527886278872788827889278902789127892278932789427895278962789727898278992790027901279022790327904279052790627907279082790927910279112791227913279142791527916279172791827919279202792127922279232792427925279262792727928279292793027931279322793327934279352793627937279382793927940279412794227943279442794527946279472794827949279502795127952279532795427955279562795727958279592796027961279622796327964279652796627967279682796927970279712797227973279742797527976279772797827979279802798127982279832798427985279862798727988279892799027991279922799327994279952799627997279982799928000280012800228003280042800528006280072800828009280102801128012280132801428015280162801728018280192802028021280222802328024280252802628027280282802928030280312803228033280342803528036280372803828039280402804128042280432804428045280462804728048280492805028051280522805328054280552805628057280582805928060280612806228063280642806528066280672806828069280702807128072280732807428075280762807728078280792808028081280822808328084280852808628087280882808928090280912809228093280942809528096280972809828099281002810128102281032810428105281062810728108281092811028111281122811328114281152811628117281182811928120281212812228123281242812528126281272812828129281302813128132281332813428135281362813728138281392814028141281422814328144281452814628147281482814928150281512815228153281542815528156281572815828159281602816128162281632816428165281662816728168281692817028171281722817328174281752817628177281782817928180281812818228183281842818528186281872818828189281902819128192281932819428195281962819728198281992820028201282022820328204282052820628207282082820928210282112821228213282142821528216282172821828219282202822128222282232822428225282262822728228282292823028231282322823328234282352823628237282382823928240282412824228243282442824528246282472824828249282502825128252282532825428255282562825728258282592826028261282622826328264282652826628267282682826928270282712827228273282742827528276282772827828279282802828128282282832828428285282862828728288282892829028291282922829328294282952829628297282982829928300283012830228303283042830528306283072830828309283102831128312283132831428315283162831728318283192832028321283222832328324283252832628327283282832928330283312833228333283342833528336283372833828339283402834128342283432834428345283462834728348283492835028351283522835328354283552835628357283582835928360283612836228363283642836528366283672836828369283702837128372283732837428375283762837728378283792838028381283822838328384283852838628387283882838928390283912839228393283942839528396283972839828399284002840128402284032840428405284062840728408284092841028411284122841328414284152841628417284182841928420284212842228423284242842528426284272842828429284302843128432284332843428435284362843728438284392844028441284422844328444284452844628447284482844928450284512845228453284542845528456284572845828459284602846128462284632846428465284662846728468284692847028471284722847328474284752847628477284782847928480284812848228483284842848528486284872848828489284902849128492284932849428495284962849728498284992850028501285022850328504285052850628507285082850928510285112851228513285142851528516285172851828519285202852128522285232852428525285262852728528285292853028531285322853328534285352853628537285382853928540285412854228543285442854528546285472854828549285502855128552285532855428555285562855728558285592856028561285622856328564285652856628567285682856928570285712857228573285742857528576285772857828579285802858128582285832858428585285862858728588285892859028591285922859328594285952859628597285982859928600286012860228603286042860528606286072860828609286102861128612286132861428615286162861728618286192862028621286222862328624286252862628627286282862928630286312863228633286342863528636286372863828639286402864128642286432864428645286462864728648286492865028651286522865328654286552865628657286582865928660286612866228663286642866528666286672866828669286702867128672286732867428675286762867728678286792868028681286822868328684286852868628687286882868928690286912869228693286942869528696286972869828699287002870128702287032870428705287062870728708287092871028711287122871328714287152871628717287182871928720287212872228723287242872528726287272872828729287302873128732287332873428735287362873728738287392874028741287422874328744287452874628747287482874928750287512875228753287542875528756287572875828759287602876128762287632876428765287662876728768287692877028771287722877328774287752877628777287782877928780287812878228783287842878528786287872878828789287902879128792287932879428795287962879728798287992880028801288022880328804288052880628807288082880928810288112881228813288142881528816288172881828819288202882128822288232882428825288262882728828288292883028831288322883328834288352883628837288382883928840288412884228843288442884528846288472884828849288502885128852288532885428855288562885728858288592886028861288622886328864288652886628867288682886928870288712887228873288742887528876288772887828879288802888128882288832888428885288862888728888288892889028891288922889328894288952889628897288982889928900289012890228903289042890528906289072890828909289102891128912289132891428915289162891728918289192892028921289222892328924289252892628927289282892928930289312893228933289342893528936289372893828939289402894128942289432894428945289462894728948289492895028951289522895328954289552895628957289582895928960289612896228963289642896528966289672896828969289702897128972289732897428975289762897728978289792898028981289822898328984289852898628987289882898928990289912899228993289942899528996289972899828999290002900129002290032900429005290062900729008290092901029011290122901329014290152901629017290182901929020290212902229023290242902529026290272902829029290302903129032290332903429035290362903729038290392904029041290422904329044290452904629047290482904929050290512905229053290542905529056290572905829059290602906129062290632906429065290662906729068290692907029071290722907329074290752907629077290782907929080290812908229083290842908529086290872908829089290902909129092290932909429095290962909729098290992910029101291022910329104291052910629107291082910929110291112911229113291142911529116291172911829119291202912129122291232912429125291262912729128291292913029131291322913329134291352913629137291382913929140291412914229143291442914529146291472914829149291502915129152291532915429155291562915729158291592916029161291622916329164291652916629167291682916929170291712917229173291742917529176291772917829179291802918129182291832918429185291862918729188291892919029191291922919329194291952919629197291982919929200292012920229203292042920529206292072920829209292102921129212292132921429215292162921729218292192922029221292222922329224292252922629227292282922929230292312923229233292342923529236292372923829239292402924129242292432924429245292462924729248292492925029251292522925329254292552925629257292582925929260292612926229263292642926529266292672926829269292702927129272292732927429275292762927729278292792928029281292822928329284292852928629287292882928929290292912929229293292942929529296292972929829299293002930129302293032930429305293062930729308293092931029311293122931329314293152931629317293182931929320293212932229323293242932529326293272932829329293302933129332293332933429335293362933729338293392934029341293422934329344293452934629347293482934929350293512935229353293542935529356293572935829359293602936129362293632936429365293662936729368293692937029371293722937329374293752937629377293782937929380293812938229383293842938529386293872938829389293902939129392293932939429395293962939729398293992940029401294022940329404294052940629407294082940929410294112941229413294142941529416294172941829419294202942129422294232942429425294262942729428294292943029431294322943329434294352943629437294382943929440294412944229443294442944529446294472944829449294502945129452294532945429455294562945729458294592946029461294622946329464294652946629467294682946929470294712947229473294742947529476294772947829479294802948129482294832948429485294862948729488294892949029491294922949329494294952949629497294982949929500295012950229503295042950529506295072950829509295102951129512295132951429515295162951729518295192952029521295222952329524295252952629527295282952929530295312953229533295342953529536295372953829539295402954129542295432954429545295462954729548295492955029551295522955329554295552955629557295582955929560295612956229563295642956529566295672956829569295702957129572295732957429575295762957729578295792958029581295822958329584295852958629587295882958929590295912959229593295942959529596295972959829599296002960129602296032960429605296062960729608296092961029611296122961329614296152961629617296182961929620296212962229623296242962529626296272962829629296302963129632296332963429635296362963729638296392964029641296422964329644296452964629647296482964929650296512965229653296542965529656296572965829659296602966129662296632966429665296662966729668296692967029671296722967329674296752967629677296782967929680296812968229683296842968529686296872968829689296902969129692296932969429695296962969729698296992970029701297022970329704297052970629707297082970929710297112971229713297142971529716297172971829719297202972129722297232972429725297262972729728297292973029731297322973329734297352973629737297382973929740297412974229743297442974529746297472974829749297502975129752297532975429755297562975729758297592976029761297622976329764297652976629767297682976929770297712977229773297742977529776297772977829779297802978129782297832978429785297862978729788297892979029791297922979329794297952979629797297982979929800298012980229803298042980529806298072980829809298102981129812298132981429815298162981729818298192982029821298222982329824298252982629827298282982929830298312983229833298342983529836298372983829839298402984129842298432984429845298462984729848298492985029851298522985329854298552985629857298582985929860298612986229863298642986529866298672986829869298702987129872298732987429875298762987729878298792988029881298822988329884298852988629887298882988929890298912989229893298942989529896298972989829899299002990129902299032990429905299062990729908299092991029911299122991329914299152991629917299182991929920299212992229923299242992529926299272992829929299302993129932299332993429935299362993729938299392994029941299422994329944299452994629947299482994929950299512995229953299542995529956299572995829959299602996129962299632996429965299662996729968299692997029971299722997329974299752997629977299782997929980299812998229983299842998529986299872998829989299902999129992299932999429995299962999729998299993000030001300023000330004300053000630007300083000930010300113001230013300143001530016300173001830019300203002130022300233002430025300263002730028300293003030031300323003330034300353003630037300383003930040300413004230043300443004530046300473004830049300503005130052300533005430055300563005730058300593006030061300623006330064300653006630067300683006930070300713007230073300743007530076300773007830079300803008130082300833008430085300863008730088300893009030091300923009330094300953009630097300983009930100301013010230103301043010530106301073010830109301103011130112301133011430115301163011730118301193012030121301223012330124301253012630127301283012930130301313013230133301343013530136301373013830139301403014130142301433014430145301463014730148301493015030151301523015330154301553015630157301583015930160301613016230163301643016530166301673016830169301703017130172301733017430175301763017730178301793018030181301823018330184301853018630187301883018930190301913019230193301943019530196301973019830199302003020130202302033020430205302063020730208302093021030211302123021330214302153021630217302183021930220302213022230223302243022530226302273022830229302303023130232302333023430235302363023730238302393024030241302423024330244302453024630247302483024930250302513025230253302543025530256302573025830259302603026130262302633026430265302663026730268302693027030271302723027330274302753027630277302783027930280302813028230283302843028530286302873028830289302903029130292302933029430295302963029730298302993030030301303023030330304303053030630307303083030930310303113031230313303143031530316303173031830319303203032130322303233032430325303263032730328303293033030331303323033330334303353033630337303383033930340303413034230343303443034530346303473034830349303503035130352303533035430355303563035730358303593036030361303623036330364303653036630367303683036930370303713037230373303743037530376303773037830379303803038130382303833038430385303863038730388303893039030391303923039330394303953039630397303983039930400304013040230403304043040530406304073040830409304103041130412304133041430415304163041730418304193042030421304223042330424304253042630427304283042930430304313043230433304343043530436304373043830439304403044130442304433044430445304463044730448304493045030451304523045330454304553045630457304583045930460304613046230463304643046530466304673046830469304703047130472304733047430475304763047730478304793048030481304823048330484304853048630487304883048930490304913049230493304943049530496304973049830499305003050130502305033050430505305063050730508305093051030511305123051330514305153051630517305183051930520305213052230523305243052530526305273052830529305303053130532305333053430535305363053730538305393054030541305423054330544305453054630547305483054930550305513055230553305543055530556305573055830559305603056130562305633056430565305663056730568305693057030571305723057330574305753057630577305783057930580305813058230583305843058530586305873058830589305903059130592305933059430595305963059730598305993060030601306023060330604306053060630607306083060930610306113061230613306143061530616306173061830619306203062130622306233062430625306263062730628306293063030631306323063330634306353063630637306383063930640306413064230643306443064530646306473064830649306503065130652306533065430655306563065730658306593066030661306623066330664306653066630667306683066930670306713067230673306743067530676306773067830679306803068130682306833068430685306863068730688306893069030691306923069330694306953069630697306983069930700307013070230703307043070530706307073070830709307103071130712307133071430715307163071730718307193072030721307223072330724307253072630727307283072930730307313073230733307343073530736307373073830739307403074130742307433074430745307463074730748307493075030751307523075330754307553075630757307583075930760307613076230763307643076530766307673076830769307703077130772307733077430775307763077730778307793078030781307823078330784307853078630787307883078930790307913079230793307943079530796307973079830799308003080130802308033080430805308063080730808308093081030811308123081330814308153081630817308183081930820308213082230823308243082530826308273082830829308303083130832308333083430835308363083730838308393084030841308423084330844308453084630847308483084930850308513085230853308543085530856308573085830859308603086130862308633086430865308663086730868308693087030871308723087330874308753087630877308783087930880308813088230883308843088530886308873088830889308903089130892308933089430895308963089730898308993090030901309023090330904309053090630907309083090930910309113091230913309143091530916309173091830919309203092130922309233092430925309263092730928309293093030931309323093330934309353093630937309383093930940309413094230943309443094530946309473094830949309503095130952309533095430955309563095730958309593096030961309623096330964309653096630967309683096930970309713097230973309743097530976309773097830979309803098130982309833098430985309863098730988309893099030991309923099330994309953099630997309983099931000310013100231003310043100531006310073100831009310103101131012310133101431015310163101731018310193102031021310223102331024310253102631027310283102931030310313103231033310343103531036310373103831039310403104131042310433104431045310463104731048310493105031051310523105331054310553105631057310583105931060310613106231063310643106531066310673106831069310703107131072310733107431075310763107731078310793108031081310823108331084310853108631087310883108931090310913109231093310943109531096310973109831099311003110131102311033110431105311063110731108311093111031111311123111331114311153111631117311183111931120311213112231123311243112531126311273112831129311303113131132311333113431135311363113731138311393114031141311423114331144311453114631147311483114931150311513115231153311543115531156311573115831159311603116131162311633116431165311663116731168311693117031171311723117331174311753117631177311783117931180311813118231183311843118531186311873118831189311903119131192311933119431195311963119731198311993120031201312023120331204312053120631207312083120931210312113121231213312143121531216312173121831219312203122131222312233122431225312263122731228312293123031231312323123331234312353123631237312383123931240312413124231243312443124531246312473124831249312503125131252312533125431255312563125731258312593126031261312623126331264312653126631267312683126931270312713127231273312743127531276312773127831279312803128131282312833128431285312863128731288312893129031291312923129331294312953129631297312983129931300313013130231303313043130531306313073130831309313103131131312313133131431315313163131731318313193132031321313223132331324313253132631327313283132931330313313133231333313343133531336313373133831339313403134131342313433134431345313463134731348313493135031351313523135331354313553135631357313583135931360313613136231363313643136531366313673136831369313703137131372313733137431375313763137731378313793138031381313823138331384313853138631387313883138931390313913139231393313943139531396313973139831399314003140131402314033140431405314063140731408314093141031411314123141331414314153141631417314183141931420314213142231423314243142531426314273142831429314303143131432314333143431435314363143731438314393144031441314423144331444314453144631447314483144931450314513145231453314543145531456314573145831459314603146131462314633146431465314663146731468314693147031471314723147331474314753147631477314783147931480314813148231483314843148531486314873148831489314903149131492314933149431495314963149731498314993150031501315023150331504315053150631507315083150931510315113151231513315143151531516315173151831519315203152131522315233152431525315263152731528315293153031531315323153331534315353153631537315383153931540315413154231543315443154531546315473154831549315503155131552315533155431555315563155731558315593156031561315623156331564315653156631567315683156931570315713157231573315743157531576315773157831579315803158131582315833158431585315863158731588315893159031591315923159331594315953159631597315983159931600316013160231603316043160531606316073160831609316103161131612316133161431615316163161731618316193162031621316223162331624316253162631627316283162931630316313163231633316343163531636316373163831639316403164131642316433164431645316463164731648316493165031651316523165331654316553165631657316583165931660316613166231663316643166531666316673166831669316703167131672316733167431675316763167731678316793168031681316823168331684316853168631687316883168931690316913169231693316943169531696316973169831699317003170131702317033170431705317063170731708317093171031711317123171331714317153171631717317183171931720317213172231723317243172531726317273172831729317303173131732317333173431735317363173731738317393174031741317423174331744317453174631747317483174931750317513175231753317543175531756317573175831759317603176131762317633176431765317663176731768317693177031771317723177331774317753177631777317783177931780317813178231783317843178531786317873178831789317903179131792317933179431795317963179731798317993180031801318023180331804318053180631807318083180931810318113181231813318143181531816318173181831819318203182131822318233182431825318263182731828318293183031831318323183331834318353183631837318383183931840318413184231843318443184531846318473184831849318503185131852318533185431855318563185731858318593186031861318623186331864318653186631867318683186931870318713187231873318743187531876318773187831879318803188131882318833188431885318863188731888318893189031891318923189331894318953189631897318983189931900319013190231903319043190531906319073190831909319103191131912319133191431915319163191731918319193192031921319223192331924319253192631927319283192931930319313193231933319343193531936319373193831939319403194131942319433194431945319463194731948319493195031951319523195331954319553195631957319583195931960319613196231963319643196531966319673196831969319703197131972319733197431975319763197731978319793198031981319823198331984319853198631987319883198931990319913199231993319943199531996319973199831999320003200132002320033200432005320063200732008320093201032011320123201332014320153201632017320183201932020320213202232023320243202532026320273202832029320303203132032320333203432035320363203732038320393204032041320423204332044320453204632047320483204932050320513205232053320543205532056320573205832059320603206132062320633206432065320663206732068320693207032071320723207332074320753207632077320783207932080320813208232083320843208532086320873208832089320903209132092320933209432095320963209732098320993210032101321023210332104321053210632107321083210932110321113211232113321143211532116321173211832119321203212132122321233212432125321263212732128321293213032131321323213332134321353213632137321383213932140321413214232143321443214532146321473214832149321503215132152321533215432155321563215732158321593216032161321623216332164321653216632167321683216932170321713217232173321743217532176321773217832179321803218132182321833218432185321863218732188321893219032191321923219332194321953219632197321983219932200322013220232203322043220532206322073220832209322103221132212322133221432215322163221732218322193222032221322223222332224322253222632227322283222932230322313223232233322343223532236322373223832239322403224132242322433224432245322463224732248322493225032251322523225332254322553225632257322583225932260322613226232263322643226532266322673226832269322703227132272322733227432275322763227732278322793228032281322823228332284322853228632287322883228932290322913229232293322943229532296322973229832299323003230132302323033230432305323063230732308323093231032311323123231332314323153231632317323183231932320323213232232323323243232532326323273232832329323303233132332323333233432335323363233732338323393234032341323423234332344323453234632347323483234932350323513235232353323543235532356323573235832359323603236132362323633236432365323663236732368323693237032371323723237332374323753237632377323783237932380323813238232383323843238532386323873238832389323903239132392323933239432395323963239732398323993240032401324023240332404324053240632407324083240932410324113241232413324143241532416324173241832419324203242132422324233242432425324263242732428324293243032431324323243332434324353243632437324383243932440324413244232443324443244532446324473244832449324503245132452324533245432455324563245732458324593246032461324623246332464324653246632467324683246932470324713247232473324743247532476324773247832479324803248132482324833248432485324863248732488324893249032491324923249332494324953249632497324983249932500325013250232503325043250532506325073250832509325103251132512325133251432515325163251732518325193252032521325223252332524325253252632527325283252932530325313253232533325343253532536325373253832539325403254132542325433254432545325463254732548325493255032551325523255332554325553255632557325583255932560325613256232563325643256532566325673256832569325703257132572325733257432575325763257732578325793258032581325823258332584325853258632587325883258932590325913259232593325943259532596325973259832599326003260132602326033260432605326063260732608326093261032611326123261332614326153261632617326183261932620326213262232623326243262532626326273262832629326303263132632326333263432635326363263732638326393264032641326423264332644326453264632647326483264932650326513265232653326543265532656326573265832659326603266132662326633266432665326663266732668326693267032671326723267332674326753267632677326783267932680326813268232683326843268532686326873268832689326903269132692326933269432695326963269732698326993270032701327023270332704327053270632707327083270932710327113271232713327143271532716327173271832719327203272132722327233272432725327263272732728327293273032731327323273332734327353273632737327383273932740327413274232743327443274532746327473274832749327503275132752327533275432755327563275732758327593276032761327623276332764327653276632767327683276932770327713277232773327743277532776327773277832779327803278132782327833278432785327863278732788327893279032791327923279332794327953279632797327983279932800328013280232803328043280532806328073280832809328103281132812328133281432815328163281732818328193282032821328223282332824328253282632827328283282932830328313283232833328343283532836328373283832839328403284132842328433284432845328463284732848328493285032851328523285332854328553285632857328583285932860328613286232863328643286532866328673286832869328703287132872328733287432875328763287732878328793288032881328823288332884328853288632887328883288932890328913289232893328943289532896328973289832899329003290132902329033290432905329063290732908329093291032911329123291332914329153291632917329183291932920329213292232923329243292532926329273292832929329303293132932329333293432935329363293732938329393294032941329423294332944329453294632947329483294932950329513295232953329543295532956329573295832959329603296132962329633296432965329663296732968329693297032971329723297332974329753297632977329783297932980329813298232983329843298532986329873298832989329903299132992329933299432995329963299732998329993300033001330023300333004330053300633007330083300933010330113301233013330143301533016330173301833019330203302133022330233302433025330263302733028330293303033031330323303333034330353303633037330383303933040330413304233043330443304533046330473304833049330503305133052330533305433055330563305733058330593306033061330623306333064330653306633067330683306933070330713307233073330743307533076330773307833079330803308133082330833308433085330863308733088330893309033091330923309333094330953309633097330983309933100331013310233103331043310533106331073310833109331103311133112331133311433115331163311733118331193312033121331223312333124331253312633127331283312933130331313313233133331343313533136331373313833139331403314133142331433314433145331463314733148331493315033151331523315333154331553315633157331583315933160331613316233163331643316533166331673316833169331703317133172331733317433175331763317733178331793318033181331823318333184331853318633187331883318933190331913319233193331943319533196331973319833199332003320133202332033320433205332063320733208332093321033211332123321333214332153321633217332183321933220332213322233223332243322533226332273322833229332303323133232332333323433235332363323733238332393324033241332423324333244332453324633247332483324933250332513325233253332543325533256332573325833259332603326133262332633326433265332663326733268332693327033271332723327333274332753327633277332783327933280332813328233283332843328533286332873328833289332903329133292332933329433295332963329733298332993330033301333023330333304333053330633307333083330933310333113331233313333143331533316333173331833319333203332133322333233332433325333263332733328333293333033331333323333333334333353333633337333383333933340333413334233343333443334533346333473334833349333503335133352333533335433355333563335733358333593336033361333623336333364333653336633367333683336933370333713337233373333743337533376333773337833379333803338133382333833338433385333863338733388333893339033391333923339333394333953339633397333983339933400334013340233403334043340533406334073340833409334103341133412334133341433415334163341733418334193342033421334223342333424334253342633427334283342933430334313343233433334343343533436334373343833439334403344133442334433344433445334463344733448334493345033451334523345333454334553345633457334583345933460334613346233463334643346533466334673346833469334703347133472334733347433475334763347733478334793348033481334823348333484334853348633487334883348933490334913349233493334943349533496334973349833499335003350133502335033350433505335063350733508335093351033511335123351333514335153351633517335183351933520335213352233523335243352533526335273352833529335303353133532335333353433535335363353733538335393354033541335423354333544335453354633547335483354933550335513355233553335543355533556335573355833559335603356133562335633356433565335663356733568335693357033571335723357333574335753357633577335783357933580335813358233583335843358533586335873358833589335903359133592335933359433595335963359733598335993360033601336023360333604336053360633607336083360933610336113361233613336143361533616336173361833619336203362133622336233362433625336263362733628336293363033631336323363333634336353363633637336383363933640336413364233643336443364533646336473364833649336503365133652336533365433655336563365733658336593366033661336623366333664336653366633667336683366933670336713367233673336743367533676336773367833679336803368133682336833368433685336863368733688336893369033691336923369333694336953369633697336983369933700337013370233703337043370533706337073370833709337103371133712337133371433715337163371733718337193372033721337223372333724337253372633727337283372933730337313373233733337343373533736337373373833739337403374133742337433374433745337463374733748337493375033751337523375333754337553375633757337583375933760337613376233763337643376533766337673376833769337703377133772337733377433775337763377733778337793378033781337823378333784337853378633787337883378933790337913379233793337943379533796337973379833799338003380133802338033380433805338063380733808338093381033811338123381333814338153381633817338183381933820338213382233823338243382533826338273382833829338303383133832338333383433835338363383733838338393384033841338423384333844338453384633847338483384933850338513385233853338543385533856338573385833859338603386133862338633386433865338663386733868338693387033871338723387333874338753387633877338783387933880338813388233883338843388533886338873388833889338903389133892338933389433895338963389733898338993390033901339023390333904339053390633907339083390933910339113391233913339143391533916339173391833919339203392133922339233392433925339263392733928339293393033931339323393333934339353393633937339383393933940339413394233943339443394533946339473394833949339503395133952339533395433955339563395733958339593396033961339623396333964339653396633967339683396933970339713397233973339743397533976339773397833979339803398133982339833398433985339863398733988339893399033991339923399333994339953399633997339983399934000340013400234003340043400534006340073400834009340103401134012340133401434015340163401734018340193402034021340223402334024340253402634027340283402934030340313403234033340343403534036340373403834039340403404134042340433404434045340463404734048340493405034051340523405334054340553405634057340583405934060340613406234063340643406534066340673406834069340703407134072340733407434075340763407734078340793408034081340823408334084340853408634087340883408934090340913409234093340943409534096340973409834099341003410134102341033410434105341063410734108341093411034111341123411334114341153411634117341183411934120341213412234123341243412534126341273412834129341303413134132341333413434135341363413734138341393414034141341423414334144341453414634147341483414934150341513415234153341543415534156341573415834159341603416134162341633416434165341663416734168341693417034171341723417334174341753417634177341783417934180341813418234183341843418534186341873418834189341903419134192341933419434195341963419734198341993420034201342023420334204342053420634207342083420934210342113421234213342143421534216342173421834219342203422134222342233422434225342263422734228342293423034231342323423334234342353423634237342383423934240342413424234243342443424534246342473424834249342503425134252342533425434255342563425734258342593426034261342623426334264342653426634267342683426934270342713427234273342743427534276342773427834279342803428134282342833428434285342863428734288342893429034291342923429334294342953429634297342983429934300343013430234303343043430534306343073430834309343103431134312343133431434315343163431734318343193432034321343223432334324343253432634327343283432934330343313433234333343343433534336343373433834339343403434134342343433434434345343463434734348343493435034351343523435334354343553435634357343583435934360343613436234363343643436534366343673436834369343703437134372343733437434375343763437734378343793438034381343823438334384343853438634387343883438934390343913439234393343943439534396343973439834399344003440134402344033440434405344063440734408344093441034411344123441334414344153441634417344183441934420344213442234423344243442534426344273442834429344303443134432344333443434435344363443734438344393444034441344423444334444344453444634447344483444934450344513445234453344543445534456344573445834459344603446134462344633446434465344663446734468344693447034471344723447334474344753447634477344783447934480344813448234483344843448534486344873448834489344903449134492344933449434495344963449734498344993450034501345023450334504345053450634507345083450934510345113451234513345143451534516345173451834519345203452134522345233452434525345263452734528345293453034531345323453334534345353453634537345383453934540345413454234543345443454534546345473454834549345503455134552345533455434555345563455734558345593456034561345623456334564345653456634567345683456934570345713457234573345743457534576345773457834579345803458134582345833458434585345863458734588345893459034591345923459334594345953459634597345983459934600346013460234603346043460534606346073460834609346103461134612346133461434615346163461734618346193462034621346223462334624346253462634627346283462934630346313463234633346343463534636346373463834639346403464134642346433464434645346463464734648346493465034651346523465334654346553465634657346583465934660346613466234663346643466534666346673466834669346703467134672346733467434675346763467734678346793468034681346823468334684346853468634687346883468934690346913469234693346943469534696346973469834699347003470134702347033470434705347063470734708347093471034711347123471334714347153471634717347183471934720347213472234723347243472534726347273472834729347303473134732347333473434735347363473734738347393474034741347423474334744347453474634747347483474934750347513475234753347543475534756347573475834759347603476134762347633476434765347663476734768347693477034771347723477334774347753477634777347783477934780347813478234783347843478534786347873478834789347903479134792347933479434795347963479734798347993480034801348023480334804348053480634807348083480934810348113481234813348143481534816348173481834819348203482134822348233482434825348263482734828348293483034831348323483334834348353483634837348383483934840348413484234843348443484534846348473484834849348503485134852348533485434855348563485734858348593486034861348623486334864348653486634867348683486934870348713487234873348743487534876348773487834879348803488134882348833488434885348863488734888348893489034891348923489334894348953489634897348983489934900349013490234903349043490534906349073490834909349103491134912349133491434915349163491734918349193492034921349223492334924349253492634927349283492934930349313493234933349343493534936349373493834939349403494134942349433494434945349463494734948349493495034951349523495334954349553495634957349583495934960349613496234963349643496534966349673496834969349703497134972349733497434975349763497734978349793498034981349823498334984349853498634987349883498934990349913499234993349943499534996349973499834999350003500135002350033500435005350063500735008350093501035011350123501335014350153501635017350183501935020350213502235023350243502535026350273502835029350303503135032350333503435035350363503735038350393504035041350423504335044350453504635047350483504935050350513505235053350543505535056350573505835059350603506135062350633506435065350663506735068350693507035071350723507335074350753507635077350783507935080350813508235083350843508535086350873508835089350903509135092350933509435095350963509735098350993510035101351023510335104351053510635107351083510935110351113511235113351143511535116351173511835119351203512135122351233512435125351263512735128351293513035131351323513335134351353513635137351383513935140351413514235143351443514535146351473514835149351503515135152351533515435155351563515735158351593516035161351623516335164351653516635167351683516935170351713517235173351743517535176351773517835179351803518135182351833518435185351863518735188351893519035191351923519335194351953519635197351983519935200352013520235203352043520535206352073520835209352103521135212352133521435215352163521735218352193522035221352223522335224352253522635227352283522935230352313523235233352343523535236352373523835239352403524135242352433524435245352463524735248352493525035251352523525335254352553525635257352583525935260352613526235263352643526535266352673526835269352703527135272352733527435275352763527735278352793528035281352823528335284352853528635287352883528935290352913529235293352943529535296352973529835299353003530135302353033530435305353063530735308353093531035311353123531335314353153531635317353183531935320353213532235323353243532535326353273532835329353303533135332353333533435335353363533735338353393534035341353423534335344353453534635347353483534935350353513535235353353543535535356353573535835359353603536135362353633536435365353663536735368353693537035371353723537335374353753537635377353783537935380353813538235383353843538535386353873538835389353903539135392353933539435395353963539735398353993540035401354023540335404354053540635407354083540935410354113541235413354143541535416354173541835419354203542135422354233542435425354263542735428354293543035431354323543335434354353543635437354383543935440354413544235443354443544535446354473544835449354503545135452354533545435455354563545735458354593546035461354623546335464354653546635467354683546935470354713547235473354743547535476354773547835479354803548135482354833548435485354863548735488354893549035491354923549335494354953549635497354983549935500355013550235503355043550535506355073550835509355103551135512355133551435515355163551735518355193552035521355223552335524355253552635527355283552935530355313553235533355343553535536355373553835539355403554135542355433554435545355463554735548355493555035551355523555335554355553555635557355583555935560355613556235563355643556535566355673556835569355703557135572355733557435575355763557735578355793558035581355823558335584355853558635587355883558935590355913559235593355943559535596355973559835599356003560135602356033560435605356063560735608356093561035611356123561335614356153561635617356183561935620356213562235623356243562535626356273562835629356303563135632356333563435635356363563735638356393564035641356423564335644356453564635647356483564935650356513565235653356543565535656356573565835659356603566135662356633566435665356663566735668356693567035671356723567335674356753567635677356783567935680356813568235683356843568535686356873568835689356903569135692356933569435695356963569735698356993570035701357023570335704357053570635707357083570935710357113571235713357143571535716357173571835719357203572135722357233572435725357263572735728357293573035731357323573335734357353573635737357383573935740357413574235743357443574535746357473574835749357503575135752357533575435755357563575735758357593576035761357623576335764357653576635767357683576935770357713577235773357743577535776357773577835779357803578135782357833578435785357863578735788357893579035791357923579335794357953579635797357983579935800358013580235803358043580535806358073580835809358103581135812358133581435815358163581735818358193582035821358223582335824358253582635827358283582935830358313583235833358343583535836358373583835839358403584135842358433584435845358463584735848358493585035851358523585335854358553585635857358583585935860358613586235863358643586535866358673586835869358703587135872358733587435875358763587735878358793588035881358823588335884358853588635887358883588935890358913589235893358943589535896358973589835899359003590135902359033590435905359063590735908359093591035911359123591335914359153591635917359183591935920359213592235923359243592535926359273592835929359303593135932359333593435935359363593735938359393594035941359423594335944359453594635947359483594935950359513595235953359543595535956359573595835959359603596135962359633596435965359663596735968359693597035971359723597335974359753597635977359783597935980359813598235983359843598535986359873598835989359903599135992359933599435995359963599735998359993600036001360023600336004360053600636007360083600936010360113601236013360143601536016360173601836019360203602136022360233602436025360263602736028360293603036031360323603336034360353603636037360383603936040360413604236043360443604536046360473604836049360503605136052360533605436055360563605736058360593606036061360623606336064360653606636067360683606936070360713607236073360743607536076360773607836079360803608136082360833608436085360863608736088360893609036091360923609336094360953609636097360983609936100361013610236103361043610536106361073610836109361103611136112361133611436115361163611736118361193612036121361223612336124361253612636127361283612936130361313613236133361343613536136361373613836139361403614136142361433614436145361463614736148361493615036151361523615336154361553615636157361583615936160361613616236163361643616536166361673616836169361703617136172361733617436175361763617736178361793618036181361823618336184361853618636187361883618936190361913619236193361943619536196361973619836199362003620136202362033620436205362063620736208362093621036211362123621336214362153621636217362183621936220362213622236223362243622536226362273622836229362303623136232362333623436235362363623736238362393624036241362423624336244362453624636247362483624936250362513625236253362543625536256362573625836259362603626136262362633626436265362663626736268362693627036271362723627336274362753627636277362783627936280362813628236283362843628536286362873628836289362903629136292362933629436295362963629736298362993630036301363023630336304363053630636307363083630936310363113631236313363143631536316363173631836319363203632136322363233632436325363263632736328363293633036331363323633336334363353633636337363383633936340363413634236343363443634536346363473634836349363503635136352363533635436355363563635736358363593636036361363623636336364363653636636367363683636936370363713637236373363743637536376363773637836379363803638136382363833638436385363863638736388363893639036391363923639336394363953639636397363983639936400364013640236403364043640536406364073640836409364103641136412364133641436415364163641736418364193642036421364223642336424364253642636427364283642936430364313643236433364343643536436364373643836439364403644136442364433644436445364463644736448364493645036451364523645336454364553645636457364583645936460364613646236463364643646536466364673646836469364703647136472364733647436475364763647736478364793648036481364823648336484364853648636487364883648936490364913649236493364943649536496364973649836499365003650136502365033650436505365063650736508365093651036511365123651336514365153651636517365183651936520365213652236523365243652536526365273652836529365303653136532365333653436535365363653736538365393654036541365423654336544365453654636547365483654936550365513655236553365543655536556365573655836559365603656136562365633656436565365663656736568365693657036571365723657336574365753657636577365783657936580365813658236583365843658536586365873658836589365903659136592365933659436595365963659736598365993660036601366023660336604366053660636607366083660936610366113661236613366143661536616366173661836619366203662136622366233662436625366263662736628366293663036631366323663336634366353663636637366383663936640366413664236643366443664536646366473664836649366503665136652366533665436655366563665736658366593666036661366623666336664366653666636667366683666936670366713667236673366743667536676366773667836679366803668136682366833668436685366863668736688366893669036691366923669336694366953669636697366983669936700367013670236703367043670536706367073670836709367103671136712367133671436715367163671736718367193672036721367223672336724367253672636727367283672936730367313673236733367343673536736367373673836739367403674136742367433674436745367463674736748367493675036751367523675336754367553675636757367583675936760367613676236763367643676536766367673676836769367703677136772367733677436775367763677736778367793678036781367823678336784367853678636787367883678936790367913679236793367943679536796367973679836799368003680136802368033680436805368063680736808368093681036811368123681336814368153681636817368183681936820368213682236823368243682536826368273682836829368303683136832368333683436835368363683736838368393684036841368423684336844368453684636847368483684936850368513685236853368543685536856368573685836859368603686136862368633686436865368663686736868368693687036871368723687336874368753687636877368783687936880368813688236883368843688536886368873688836889368903689136892368933689436895368963689736898368993690036901369023690336904369053690636907369083690936910369113691236913369143691536916369173691836919369203692136922369233692436925369263692736928369293693036931369323693336934369353693636937369383693936940369413694236943369443694536946369473694836949369503695136952369533695436955369563695736958369593696036961369623696336964369653696636967369683696936970369713697236973369743697536976369773697836979369803698136982369833698436985369863698736988369893699036991369923699336994369953699636997369983699937000370013700237003370043700537006370073700837009370103701137012370133701437015370163701737018370193702037021370223702337024370253702637027370283702937030370313703237033370343703537036370373703837039370403704137042370433704437045370463704737048370493705037051370523705337054370553705637057370583705937060370613706237063370643706537066370673706837069370703707137072370733707437075370763707737078370793708037081370823708337084370853708637087370883708937090370913709237093370943709537096370973709837099371003710137102371033710437105371063710737108371093711037111371123711337114371153711637117371183711937120371213712237123371243712537126371273712837129371303713137132371333713437135371363713737138371393714037141371423714337144371453714637147371483714937150371513715237153371543715537156371573715837159371603716137162371633716437165371663716737168371693717037171371723717337174371753717637177371783717937180371813718237183371843718537186371873718837189371903719137192371933719437195371963719737198371993720037201372023720337204372053720637207372083720937210372113721237213372143721537216372173721837219372203722137222372233722437225372263722737228372293723037231372323723337234372353723637237372383723937240372413724237243372443724537246372473724837249372503725137252372533725437255372563725737258372593726037261372623726337264372653726637267372683726937270372713727237273372743727537276372773727837279372803728137282372833728437285372863728737288372893729037291372923729337294372953729637297372983729937300373013730237303373043730537306373073730837309373103731137312373133731437315373163731737318373193732037321373223732337324373253732637327373283732937330373313733237333373343733537336373373733837339373403734137342373433734437345373463734737348373493735037351373523735337354373553735637357373583735937360373613736237363373643736537366373673736837369373703737137372373733737437375373763737737378373793738037381373823738337384373853738637387373883738937390373913739237393373943739537396373973739837399374003740137402374033740437405374063740737408374093741037411374123741337414374153741637417374183741937420374213742237423374243742537426374273742837429374303743137432374333743437435374363743737438374393744037441374423744337444374453744637447374483744937450374513745237453374543745537456374573745837459374603746137462374633746437465374663746737468374693747037471374723747337474374753747637477374783747937480374813748237483374843748537486374873748837489374903749137492374933749437495374963749737498374993750037501375023750337504375053750637507375083750937510375113751237513375143751537516375173751837519375203752137522375233752437525375263752737528375293753037531375323753337534375353753637537375383753937540375413754237543375443754537546375473754837549375503755137552375533755437555375563755737558375593756037561375623756337564375653756637567375683756937570375713757237573375743757537576375773757837579375803758137582375833758437585375863758737588375893759037591375923759337594375953759637597375983759937600376013760237603376043760537606376073760837609376103761137612376133761437615376163761737618376193762037621376223762337624376253762637627376283762937630376313763237633376343763537636376373763837639376403764137642376433764437645376463764737648376493765037651376523765337654376553765637657376583765937660376613766237663376643766537666376673766837669376703767137672376733767437675376763767737678376793768037681376823768337684376853768637687376883768937690376913769237693376943769537696376973769837699377003770137702377033770437705377063770737708377093771037711377123771337714377153771637717377183771937720377213772237723377243772537726377273772837729377303773137732377333773437735377363773737738377393774037741377423774337744377453774637747377483774937750377513775237753377543775537756377573775837759377603776137762377633776437765377663776737768377693777037771377723777337774377753777637777377783777937780377813778237783377843778537786377873778837789377903779137792377933779437795377963779737798377993780037801378023780337804378053780637807378083780937810378113781237813378143781537816378173781837819378203782137822378233782437825378263782737828378293783037831378323783337834378353783637837378383783937840378413784237843378443784537846378473784837849378503785137852378533785437855378563785737858378593786037861378623786337864378653786637867378683786937870378713787237873378743787537876378773787837879378803788137882378833788437885378863788737888378893789037891378923789337894378953789637897378983789937900379013790237903379043790537906379073790837909379103791137912379133791437915379163791737918379193792037921379223792337924379253792637927379283792937930379313793237933379343793537936379373793837939379403794137942379433794437945379463794737948379493795037951379523795337954379553795637957379583795937960379613796237963379643796537966379673796837969379703797137972379733797437975379763797737978379793798037981379823798337984379853798637987379883798937990379913799237993379943799537996379973799837999380003800138002380033800438005380063800738008380093801038011380123801338014380153801638017380183801938020380213802238023380243802538026380273802838029380303803138032380333803438035380363803738038380393804038041380423804338044380453804638047380483804938050380513805238053380543805538056380573805838059380603806138062380633806438065380663806738068380693807038071380723807338074380753807638077380783807938080380813808238083380843808538086380873808838089380903809138092380933809438095380963809738098380993810038101381023810338104381053810638107381083810938110381113811238113381143811538116381173811838119381203812138122381233812438125381263812738128381293813038131381323813338134381353813638137381383813938140381413814238143381443814538146381473814838149381503815138152381533815438155381563815738158381593816038161381623816338164381653816638167381683816938170381713817238173381743817538176381773817838179381803818138182381833818438185381863818738188381893819038191381923819338194381953819638197381983819938200382013820238203382043820538206382073820838209382103821138212382133821438215382163821738218382193822038221382223822338224382253822638227382283822938230382313823238233382343823538236382373823838239382403824138242382433824438245382463824738248382493825038251382523825338254382553825638257382583825938260382613826238263382643826538266382673826838269382703827138272382733827438275382763827738278382793828038281382823828338284382853828638287382883828938290382913829238293382943829538296382973829838299383003830138302383033830438305383063830738308383093831038311383123831338314383153831638317383183831938320383213832238323383243832538326383273832838329383303833138332383333833438335383363833738338383393834038341383423834338344383453834638347383483834938350383513835238353383543835538356383573835838359383603836138362383633836438365383663836738368383693837038371383723837338374383753837638377383783837938380383813838238383383843838538386383873838838389383903839138392383933839438395383963839738398383993840038401384023840338404384053840638407384083840938410384113841238413384143841538416384173841838419384203842138422384233842438425384263842738428384293843038431384323843338434384353843638437384383843938440384413844238443384443844538446384473844838449384503845138452384533845438455384563845738458384593846038461384623846338464384653846638467384683846938470384713847238473384743847538476384773847838479384803848138482384833848438485384863848738488384893849038491384923849338494384953849638497384983849938500385013850238503385043850538506385073850838509385103851138512385133851438515385163851738518385193852038521385223852338524385253852638527385283852938530385313853238533385343853538536385373853838539385403854138542385433854438545385463854738548385493855038551385523855338554385553855638557385583855938560385613856238563385643856538566385673856838569385703857138572385733857438575385763857738578385793858038581385823858338584385853858638587385883858938590385913859238593385943859538596385973859838599386003860138602386033860438605386063860738608386093861038611386123861338614386153861638617386183861938620386213862238623386243862538626386273862838629386303863138632386333863438635386363863738638386393864038641386423864338644386453864638647386483864938650386513865238653386543865538656386573865838659386603866138662386633866438665386663866738668386693867038671386723867338674386753867638677386783867938680386813868238683386843868538686386873868838689386903869138692386933869438695386963869738698386993870038701387023870338704387053870638707387083870938710387113871238713387143871538716387173871838719387203872138722387233872438725387263872738728387293873038731387323873338734387353873638737387383873938740387413874238743387443874538746387473874838749387503875138752387533875438755387563875738758387593876038761387623876338764387653876638767387683876938770387713877238773387743877538776387773877838779387803878138782387833878438785387863878738788387893879038791387923879338794387953879638797387983879938800388013880238803388043880538806388073880838809388103881138812388133881438815388163881738818388193882038821388223882338824388253882638827388283882938830388313883238833388343883538836388373883838839388403884138842388433884438845388463884738848388493885038851388523885338854388553885638857388583885938860388613886238863388643886538866388673886838869388703887138872388733887438875388763887738878388793888038881388823888338884388853888638887388883888938890388913889238893388943889538896388973889838899389003890138902389033890438905389063890738908389093891038911389123891338914389153891638917389183891938920389213892238923389243892538926389273892838929389303893138932389333893438935389363893738938389393894038941389423894338944389453894638947389483894938950389513895238953389543895538956389573895838959389603896138962389633896438965389663896738968389693897038971389723897338974389753897638977389783897938980389813898238983389843898538986389873898838989389903899138992389933899438995389963899738998389993900039001390023900339004390053900639007390083900939010390113901239013390143901539016390173901839019390203902139022390233902439025390263902739028390293903039031390323903339034390353903639037390383903939040390413904239043390443904539046390473904839049390503905139052390533905439055390563905739058390593906039061390623906339064390653906639067390683906939070390713907239073390743907539076390773907839079390803908139082390833908439085390863908739088390893909039091390923909339094
  1. /*
  2. Copyright 2016 The Kubernetes Authors.
  3. Licensed under the Apache License, Version 2.0 (the "License");
  4. you may not use this file except in compliance with the License.
  5. You may obtain a copy of the License at
  6. http://www.apache.org/licenses/LICENSE-2.0
  7. Unless required by applicable law or agreed to in writing, software
  8. distributed under the License is distributed on an "AS IS" BASIS,
  9. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  10. See the License for the specific language governing permissions and
  11. limitations under the License.
  12. */
  13. // Code generated by protoc-gen-gogo.
  14. // source: k8s.io/kubernetes/pkg/api/v1/generated.proto
  15. // DO NOT EDIT!
  16. /*
  17. Package v1 is a generated protocol buffer package.
  18. It is generated from these files:
  19. k8s.io/kubernetes/pkg/api/v1/generated.proto
  20. It has these top-level messages:
  21. AWSElasticBlockStoreVolumeSource
  22. Affinity
  23. AttachedVolume
  24. AvoidPods
  25. AzureDiskVolumeSource
  26. AzureFileVolumeSource
  27. Binding
  28. Capabilities
  29. CephFSVolumeSource
  30. CinderVolumeSource
  31. ComponentCondition
  32. ComponentStatus
  33. ComponentStatusList
  34. ConfigMap
  35. ConfigMapKeySelector
  36. ConfigMapList
  37. ConfigMapVolumeSource
  38. Container
  39. ContainerImage
  40. ContainerPort
  41. ContainerState
  42. ContainerStateRunning
  43. ContainerStateTerminated
  44. ContainerStateWaiting
  45. ContainerStatus
  46. DaemonEndpoint
  47. DeleteOptions
  48. DownwardAPIVolumeFile
  49. DownwardAPIVolumeSource
  50. EmptyDirVolumeSource
  51. EndpointAddress
  52. EndpointPort
  53. EndpointSubset
  54. Endpoints
  55. EndpointsList
  56. EnvVar
  57. EnvVarSource
  58. Event
  59. EventList
  60. EventSource
  61. ExecAction
  62. ExportOptions
  63. FCVolumeSource
  64. FlexVolumeSource
  65. FlockerVolumeSource
  66. GCEPersistentDiskVolumeSource
  67. GitRepoVolumeSource
  68. GlusterfsVolumeSource
  69. HTTPGetAction
  70. HTTPHeader
  71. Handler
  72. HostPathVolumeSource
  73. ISCSIVolumeSource
  74. KeyToPath
  75. Lifecycle
  76. LimitRange
  77. LimitRangeItem
  78. LimitRangeList
  79. LimitRangeSpec
  80. List
  81. ListOptions
  82. LoadBalancerIngress
  83. LoadBalancerStatus
  84. LocalObjectReference
  85. NFSVolumeSource
  86. Namespace
  87. NamespaceList
  88. NamespaceSpec
  89. NamespaceStatus
  90. Node
  91. NodeAddress
  92. NodeAffinity
  93. NodeCondition
  94. NodeDaemonEndpoints
  95. NodeList
  96. NodeProxyOptions
  97. NodeSelector
  98. NodeSelectorRequirement
  99. NodeSelectorTerm
  100. NodeSpec
  101. NodeStatus
  102. NodeSystemInfo
  103. ObjectFieldSelector
  104. ObjectMeta
  105. ObjectReference
  106. OwnerReference
  107. PersistentVolume
  108. PersistentVolumeClaim
  109. PersistentVolumeClaimList
  110. PersistentVolumeClaimSpec
  111. PersistentVolumeClaimStatus
  112. PersistentVolumeClaimVolumeSource
  113. PersistentVolumeList
  114. PersistentVolumeSource
  115. PersistentVolumeSpec
  116. PersistentVolumeStatus
  117. Pod
  118. PodAffinity
  119. PodAffinityTerm
  120. PodAntiAffinity
  121. PodAttachOptions
  122. PodCondition
  123. PodExecOptions
  124. PodList
  125. PodLogOptions
  126. PodProxyOptions
  127. PodSecurityContext
  128. PodSignature
  129. PodSpec
  130. PodStatus
  131. PodStatusResult
  132. PodTemplate
  133. PodTemplateList
  134. PodTemplateSpec
  135. Preconditions
  136. PreferAvoidPodsEntry
  137. PreferredSchedulingTerm
  138. Probe
  139. QuobyteVolumeSource
  140. RBDVolumeSource
  141. RangeAllocation
  142. ReplicationController
  143. ReplicationControllerList
  144. ReplicationControllerSpec
  145. ReplicationControllerStatus
  146. ResourceFieldSelector
  147. ResourceQuota
  148. ResourceQuotaList
  149. ResourceQuotaSpec
  150. ResourceQuotaStatus
  151. ResourceRequirements
  152. SELinuxOptions
  153. Secret
  154. SecretKeySelector
  155. SecretList
  156. SecretVolumeSource
  157. SecurityContext
  158. SerializedReference
  159. Service
  160. ServiceAccount
  161. ServiceAccountList
  162. ServiceList
  163. ServicePort
  164. ServiceProxyOptions
  165. ServiceSpec
  166. ServiceStatus
  167. TCPSocketAction
  168. Taint
  169. Toleration
  170. Volume
  171. VolumeMount
  172. VolumeSource
  173. VsphereVirtualDiskVolumeSource
  174. WeightedPodAffinityTerm
  175. */
  176. package v1
  177. import proto "github.com/gogo/protobuf/proto"
  178. import fmt "fmt"
  179. import math "math"
  180. import k8s_io_kubernetes_pkg_api_resource "k8s.io/kubernetes/pkg/api/resource"
  181. import k8s_io_kubernetes_pkg_api_unversioned "k8s.io/kubernetes/pkg/api/unversioned"
  182. import k8s_io_kubernetes_pkg_runtime "k8s.io/kubernetes/pkg/runtime"
  183. import k8s_io_kubernetes_pkg_types "k8s.io/kubernetes/pkg/types"
  184. import strings "strings"
  185. import reflect "reflect"
  186. import github_com_gogo_protobuf_sortkeys "github.com/gogo/protobuf/sortkeys"
  187. import io "io"
  188. // Reference imports to suppress errors if they are not otherwise used.
  189. var _ = proto.Marshal
  190. var _ = fmt.Errorf
  191. var _ = math.Inf
  192. // This is a compile-time assertion to ensure that this generated file
  193. // is compatible with the proto package it is being compiled against.
  194. const _ = proto.GoGoProtoPackageIsVersion1
  195. func (m *AWSElasticBlockStoreVolumeSource) Reset() { *m = AWSElasticBlockStoreVolumeSource{} }
  196. func (*AWSElasticBlockStoreVolumeSource) ProtoMessage() {}
  197. func (*AWSElasticBlockStoreVolumeSource) Descriptor() ([]byte, []int) {
  198. return fileDescriptorGenerated, []int{0}
  199. }
  200. func (m *Affinity) Reset() { *m = Affinity{} }
  201. func (*Affinity) ProtoMessage() {}
  202. func (*Affinity) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{1} }
  203. func (m *AttachedVolume) Reset() { *m = AttachedVolume{} }
  204. func (*AttachedVolume) ProtoMessage() {}
  205. func (*AttachedVolume) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{2} }
  206. func (m *AvoidPods) Reset() { *m = AvoidPods{} }
  207. func (*AvoidPods) ProtoMessage() {}
  208. func (*AvoidPods) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{3} }
  209. func (m *AzureDiskVolumeSource) Reset() { *m = AzureDiskVolumeSource{} }
  210. func (*AzureDiskVolumeSource) ProtoMessage() {}
  211. func (*AzureDiskVolumeSource) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{4} }
  212. func (m *AzureFileVolumeSource) Reset() { *m = AzureFileVolumeSource{} }
  213. func (*AzureFileVolumeSource) ProtoMessage() {}
  214. func (*AzureFileVolumeSource) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{5} }
  215. func (m *Binding) Reset() { *m = Binding{} }
  216. func (*Binding) ProtoMessage() {}
  217. func (*Binding) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{6} }
  218. func (m *Capabilities) Reset() { *m = Capabilities{} }
  219. func (*Capabilities) ProtoMessage() {}
  220. func (*Capabilities) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{7} }
  221. func (m *CephFSVolumeSource) Reset() { *m = CephFSVolumeSource{} }
  222. func (*CephFSVolumeSource) ProtoMessage() {}
  223. func (*CephFSVolumeSource) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{8} }
  224. func (m *CinderVolumeSource) Reset() { *m = CinderVolumeSource{} }
  225. func (*CinderVolumeSource) ProtoMessage() {}
  226. func (*CinderVolumeSource) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{9} }
  227. func (m *ComponentCondition) Reset() { *m = ComponentCondition{} }
  228. func (*ComponentCondition) ProtoMessage() {}
  229. func (*ComponentCondition) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{10} }
  230. func (m *ComponentStatus) Reset() { *m = ComponentStatus{} }
  231. func (*ComponentStatus) ProtoMessage() {}
  232. func (*ComponentStatus) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{11} }
  233. func (m *ComponentStatusList) Reset() { *m = ComponentStatusList{} }
  234. func (*ComponentStatusList) ProtoMessage() {}
  235. func (*ComponentStatusList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{12} }
  236. func (m *ConfigMap) Reset() { *m = ConfigMap{} }
  237. func (*ConfigMap) ProtoMessage() {}
  238. func (*ConfigMap) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{13} }
  239. func (m *ConfigMapKeySelector) Reset() { *m = ConfigMapKeySelector{} }
  240. func (*ConfigMapKeySelector) ProtoMessage() {}
  241. func (*ConfigMapKeySelector) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{14} }
  242. func (m *ConfigMapList) Reset() { *m = ConfigMapList{} }
  243. func (*ConfigMapList) ProtoMessage() {}
  244. func (*ConfigMapList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{15} }
  245. func (m *ConfigMapVolumeSource) Reset() { *m = ConfigMapVolumeSource{} }
  246. func (*ConfigMapVolumeSource) ProtoMessage() {}
  247. func (*ConfigMapVolumeSource) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{16} }
  248. func (m *Container) Reset() { *m = Container{} }
  249. func (*Container) ProtoMessage() {}
  250. func (*Container) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{17} }
  251. func (m *ContainerImage) Reset() { *m = ContainerImage{} }
  252. func (*ContainerImage) ProtoMessage() {}
  253. func (*ContainerImage) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{18} }
  254. func (m *ContainerPort) Reset() { *m = ContainerPort{} }
  255. func (*ContainerPort) ProtoMessage() {}
  256. func (*ContainerPort) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{19} }
  257. func (m *ContainerState) Reset() { *m = ContainerState{} }
  258. func (*ContainerState) ProtoMessage() {}
  259. func (*ContainerState) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{20} }
  260. func (m *ContainerStateRunning) Reset() { *m = ContainerStateRunning{} }
  261. func (*ContainerStateRunning) ProtoMessage() {}
  262. func (*ContainerStateRunning) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{21} }
  263. func (m *ContainerStateTerminated) Reset() { *m = ContainerStateTerminated{} }
  264. func (*ContainerStateTerminated) ProtoMessage() {}
  265. func (*ContainerStateTerminated) Descriptor() ([]byte, []int) {
  266. return fileDescriptorGenerated, []int{22}
  267. }
  268. func (m *ContainerStateWaiting) Reset() { *m = ContainerStateWaiting{} }
  269. func (*ContainerStateWaiting) ProtoMessage() {}
  270. func (*ContainerStateWaiting) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{23} }
  271. func (m *ContainerStatus) Reset() { *m = ContainerStatus{} }
  272. func (*ContainerStatus) ProtoMessage() {}
  273. func (*ContainerStatus) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{24} }
  274. func (m *DaemonEndpoint) Reset() { *m = DaemonEndpoint{} }
  275. func (*DaemonEndpoint) ProtoMessage() {}
  276. func (*DaemonEndpoint) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{25} }
  277. func (m *DeleteOptions) Reset() { *m = DeleteOptions{} }
  278. func (*DeleteOptions) ProtoMessage() {}
  279. func (*DeleteOptions) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{26} }
  280. func (m *DownwardAPIVolumeFile) Reset() { *m = DownwardAPIVolumeFile{} }
  281. func (*DownwardAPIVolumeFile) ProtoMessage() {}
  282. func (*DownwardAPIVolumeFile) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{27} }
  283. func (m *DownwardAPIVolumeSource) Reset() { *m = DownwardAPIVolumeSource{} }
  284. func (*DownwardAPIVolumeSource) ProtoMessage() {}
  285. func (*DownwardAPIVolumeSource) Descriptor() ([]byte, []int) {
  286. return fileDescriptorGenerated, []int{28}
  287. }
  288. func (m *EmptyDirVolumeSource) Reset() { *m = EmptyDirVolumeSource{} }
  289. func (*EmptyDirVolumeSource) ProtoMessage() {}
  290. func (*EmptyDirVolumeSource) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{29} }
  291. func (m *EndpointAddress) Reset() { *m = EndpointAddress{} }
  292. func (*EndpointAddress) ProtoMessage() {}
  293. func (*EndpointAddress) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{30} }
  294. func (m *EndpointPort) Reset() { *m = EndpointPort{} }
  295. func (*EndpointPort) ProtoMessage() {}
  296. func (*EndpointPort) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{31} }
  297. func (m *EndpointSubset) Reset() { *m = EndpointSubset{} }
  298. func (*EndpointSubset) ProtoMessage() {}
  299. func (*EndpointSubset) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{32} }
  300. func (m *Endpoints) Reset() { *m = Endpoints{} }
  301. func (*Endpoints) ProtoMessage() {}
  302. func (*Endpoints) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{33} }
  303. func (m *EndpointsList) Reset() { *m = EndpointsList{} }
  304. func (*EndpointsList) ProtoMessage() {}
  305. func (*EndpointsList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{34} }
  306. func (m *EnvVar) Reset() { *m = EnvVar{} }
  307. func (*EnvVar) ProtoMessage() {}
  308. func (*EnvVar) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{35} }
  309. func (m *EnvVarSource) Reset() { *m = EnvVarSource{} }
  310. func (*EnvVarSource) ProtoMessage() {}
  311. func (*EnvVarSource) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{36} }
  312. func (m *Event) Reset() { *m = Event{} }
  313. func (*Event) ProtoMessage() {}
  314. func (*Event) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{37} }
  315. func (m *EventList) Reset() { *m = EventList{} }
  316. func (*EventList) ProtoMessage() {}
  317. func (*EventList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{38} }
  318. func (m *EventSource) Reset() { *m = EventSource{} }
  319. func (*EventSource) ProtoMessage() {}
  320. func (*EventSource) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{39} }
  321. func (m *ExecAction) Reset() { *m = ExecAction{} }
  322. func (*ExecAction) ProtoMessage() {}
  323. func (*ExecAction) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{40} }
  324. func (m *ExportOptions) Reset() { *m = ExportOptions{} }
  325. func (*ExportOptions) ProtoMessage() {}
  326. func (*ExportOptions) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{41} }
  327. func (m *FCVolumeSource) Reset() { *m = FCVolumeSource{} }
  328. func (*FCVolumeSource) ProtoMessage() {}
  329. func (*FCVolumeSource) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{42} }
  330. func (m *FlexVolumeSource) Reset() { *m = FlexVolumeSource{} }
  331. func (*FlexVolumeSource) ProtoMessage() {}
  332. func (*FlexVolumeSource) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{43} }
  333. func (m *FlockerVolumeSource) Reset() { *m = FlockerVolumeSource{} }
  334. func (*FlockerVolumeSource) ProtoMessage() {}
  335. func (*FlockerVolumeSource) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{44} }
  336. func (m *GCEPersistentDiskVolumeSource) Reset() { *m = GCEPersistentDiskVolumeSource{} }
  337. func (*GCEPersistentDiskVolumeSource) ProtoMessage() {}
  338. func (*GCEPersistentDiskVolumeSource) Descriptor() ([]byte, []int) {
  339. return fileDescriptorGenerated, []int{45}
  340. }
  341. func (m *GitRepoVolumeSource) Reset() { *m = GitRepoVolumeSource{} }
  342. func (*GitRepoVolumeSource) ProtoMessage() {}
  343. func (*GitRepoVolumeSource) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{46} }
  344. func (m *GlusterfsVolumeSource) Reset() { *m = GlusterfsVolumeSource{} }
  345. func (*GlusterfsVolumeSource) ProtoMessage() {}
  346. func (*GlusterfsVolumeSource) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{47} }
  347. func (m *HTTPGetAction) Reset() { *m = HTTPGetAction{} }
  348. func (*HTTPGetAction) ProtoMessage() {}
  349. func (*HTTPGetAction) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{48} }
  350. func (m *HTTPHeader) Reset() { *m = HTTPHeader{} }
  351. func (*HTTPHeader) ProtoMessage() {}
  352. func (*HTTPHeader) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{49} }
  353. func (m *Handler) Reset() { *m = Handler{} }
  354. func (*Handler) ProtoMessage() {}
  355. func (*Handler) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{50} }
  356. func (m *HostPathVolumeSource) Reset() { *m = HostPathVolumeSource{} }
  357. func (*HostPathVolumeSource) ProtoMessage() {}
  358. func (*HostPathVolumeSource) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{51} }
  359. func (m *ISCSIVolumeSource) Reset() { *m = ISCSIVolumeSource{} }
  360. func (*ISCSIVolumeSource) ProtoMessage() {}
  361. func (*ISCSIVolumeSource) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{52} }
  362. func (m *KeyToPath) Reset() { *m = KeyToPath{} }
  363. func (*KeyToPath) ProtoMessage() {}
  364. func (*KeyToPath) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{53} }
  365. func (m *Lifecycle) Reset() { *m = Lifecycle{} }
  366. func (*Lifecycle) ProtoMessage() {}
  367. func (*Lifecycle) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{54} }
  368. func (m *LimitRange) Reset() { *m = LimitRange{} }
  369. func (*LimitRange) ProtoMessage() {}
  370. func (*LimitRange) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{55} }
  371. func (m *LimitRangeItem) Reset() { *m = LimitRangeItem{} }
  372. func (*LimitRangeItem) ProtoMessage() {}
  373. func (*LimitRangeItem) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{56} }
  374. func (m *LimitRangeList) Reset() { *m = LimitRangeList{} }
  375. func (*LimitRangeList) ProtoMessage() {}
  376. func (*LimitRangeList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{57} }
  377. func (m *LimitRangeSpec) Reset() { *m = LimitRangeSpec{} }
  378. func (*LimitRangeSpec) ProtoMessage() {}
  379. func (*LimitRangeSpec) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{58} }
  380. func (m *List) Reset() { *m = List{} }
  381. func (*List) ProtoMessage() {}
  382. func (*List) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{59} }
  383. func (m *ListOptions) Reset() { *m = ListOptions{} }
  384. func (*ListOptions) ProtoMessage() {}
  385. func (*ListOptions) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{60} }
  386. func (m *LoadBalancerIngress) Reset() { *m = LoadBalancerIngress{} }
  387. func (*LoadBalancerIngress) ProtoMessage() {}
  388. func (*LoadBalancerIngress) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{61} }
  389. func (m *LoadBalancerStatus) Reset() { *m = LoadBalancerStatus{} }
  390. func (*LoadBalancerStatus) ProtoMessage() {}
  391. func (*LoadBalancerStatus) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{62} }
  392. func (m *LocalObjectReference) Reset() { *m = LocalObjectReference{} }
  393. func (*LocalObjectReference) ProtoMessage() {}
  394. func (*LocalObjectReference) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{63} }
  395. func (m *NFSVolumeSource) Reset() { *m = NFSVolumeSource{} }
  396. func (*NFSVolumeSource) ProtoMessage() {}
  397. func (*NFSVolumeSource) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{64} }
  398. func (m *Namespace) Reset() { *m = Namespace{} }
  399. func (*Namespace) ProtoMessage() {}
  400. func (*Namespace) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{65} }
  401. func (m *NamespaceList) Reset() { *m = NamespaceList{} }
  402. func (*NamespaceList) ProtoMessage() {}
  403. func (*NamespaceList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{66} }
  404. func (m *NamespaceSpec) Reset() { *m = NamespaceSpec{} }
  405. func (*NamespaceSpec) ProtoMessage() {}
  406. func (*NamespaceSpec) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{67} }
  407. func (m *NamespaceStatus) Reset() { *m = NamespaceStatus{} }
  408. func (*NamespaceStatus) ProtoMessage() {}
  409. func (*NamespaceStatus) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{68} }
  410. func (m *Node) Reset() { *m = Node{} }
  411. func (*Node) ProtoMessage() {}
  412. func (*Node) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{69} }
  413. func (m *NodeAddress) Reset() { *m = NodeAddress{} }
  414. func (*NodeAddress) ProtoMessage() {}
  415. func (*NodeAddress) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{70} }
  416. func (m *NodeAffinity) Reset() { *m = NodeAffinity{} }
  417. func (*NodeAffinity) ProtoMessage() {}
  418. func (*NodeAffinity) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{71} }
  419. func (m *NodeCondition) Reset() { *m = NodeCondition{} }
  420. func (*NodeCondition) ProtoMessage() {}
  421. func (*NodeCondition) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{72} }
  422. func (m *NodeDaemonEndpoints) Reset() { *m = NodeDaemonEndpoints{} }
  423. func (*NodeDaemonEndpoints) ProtoMessage() {}
  424. func (*NodeDaemonEndpoints) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{73} }
  425. func (m *NodeList) Reset() { *m = NodeList{} }
  426. func (*NodeList) ProtoMessage() {}
  427. func (*NodeList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{74} }
  428. func (m *NodeProxyOptions) Reset() { *m = NodeProxyOptions{} }
  429. func (*NodeProxyOptions) ProtoMessage() {}
  430. func (*NodeProxyOptions) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{75} }
  431. func (m *NodeSelector) Reset() { *m = NodeSelector{} }
  432. func (*NodeSelector) ProtoMessage() {}
  433. func (*NodeSelector) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{76} }
  434. func (m *NodeSelectorRequirement) Reset() { *m = NodeSelectorRequirement{} }
  435. func (*NodeSelectorRequirement) ProtoMessage() {}
  436. func (*NodeSelectorRequirement) Descriptor() ([]byte, []int) {
  437. return fileDescriptorGenerated, []int{77}
  438. }
  439. func (m *NodeSelectorTerm) Reset() { *m = NodeSelectorTerm{} }
  440. func (*NodeSelectorTerm) ProtoMessage() {}
  441. func (*NodeSelectorTerm) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{78} }
  442. func (m *NodeSpec) Reset() { *m = NodeSpec{} }
  443. func (*NodeSpec) ProtoMessage() {}
  444. func (*NodeSpec) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{79} }
  445. func (m *NodeStatus) Reset() { *m = NodeStatus{} }
  446. func (*NodeStatus) ProtoMessage() {}
  447. func (*NodeStatus) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{80} }
  448. func (m *NodeSystemInfo) Reset() { *m = NodeSystemInfo{} }
  449. func (*NodeSystemInfo) ProtoMessage() {}
  450. func (*NodeSystemInfo) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{81} }
  451. func (m *ObjectFieldSelector) Reset() { *m = ObjectFieldSelector{} }
  452. func (*ObjectFieldSelector) ProtoMessage() {}
  453. func (*ObjectFieldSelector) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{82} }
  454. func (m *ObjectMeta) Reset() { *m = ObjectMeta{} }
  455. func (*ObjectMeta) ProtoMessage() {}
  456. func (*ObjectMeta) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{83} }
  457. func (m *ObjectReference) Reset() { *m = ObjectReference{} }
  458. func (*ObjectReference) ProtoMessage() {}
  459. func (*ObjectReference) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{84} }
  460. func (m *OwnerReference) Reset() { *m = OwnerReference{} }
  461. func (*OwnerReference) ProtoMessage() {}
  462. func (*OwnerReference) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{85} }
  463. func (m *PersistentVolume) Reset() { *m = PersistentVolume{} }
  464. func (*PersistentVolume) ProtoMessage() {}
  465. func (*PersistentVolume) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{86} }
  466. func (m *PersistentVolumeClaim) Reset() { *m = PersistentVolumeClaim{} }
  467. func (*PersistentVolumeClaim) ProtoMessage() {}
  468. func (*PersistentVolumeClaim) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{87} }
  469. func (m *PersistentVolumeClaimList) Reset() { *m = PersistentVolumeClaimList{} }
  470. func (*PersistentVolumeClaimList) ProtoMessage() {}
  471. func (*PersistentVolumeClaimList) Descriptor() ([]byte, []int) {
  472. return fileDescriptorGenerated, []int{88}
  473. }
  474. func (m *PersistentVolumeClaimSpec) Reset() { *m = PersistentVolumeClaimSpec{} }
  475. func (*PersistentVolumeClaimSpec) ProtoMessage() {}
  476. func (*PersistentVolumeClaimSpec) Descriptor() ([]byte, []int) {
  477. return fileDescriptorGenerated, []int{89}
  478. }
  479. func (m *PersistentVolumeClaimStatus) Reset() { *m = PersistentVolumeClaimStatus{} }
  480. func (*PersistentVolumeClaimStatus) ProtoMessage() {}
  481. func (*PersistentVolumeClaimStatus) Descriptor() ([]byte, []int) {
  482. return fileDescriptorGenerated, []int{90}
  483. }
  484. func (m *PersistentVolumeClaimVolumeSource) Reset() { *m = PersistentVolumeClaimVolumeSource{} }
  485. func (*PersistentVolumeClaimVolumeSource) ProtoMessage() {}
  486. func (*PersistentVolumeClaimVolumeSource) Descriptor() ([]byte, []int) {
  487. return fileDescriptorGenerated, []int{91}
  488. }
  489. func (m *PersistentVolumeList) Reset() { *m = PersistentVolumeList{} }
  490. func (*PersistentVolumeList) ProtoMessage() {}
  491. func (*PersistentVolumeList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{92} }
  492. func (m *PersistentVolumeSource) Reset() { *m = PersistentVolumeSource{} }
  493. func (*PersistentVolumeSource) ProtoMessage() {}
  494. func (*PersistentVolumeSource) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{93} }
  495. func (m *PersistentVolumeSpec) Reset() { *m = PersistentVolumeSpec{} }
  496. func (*PersistentVolumeSpec) ProtoMessage() {}
  497. func (*PersistentVolumeSpec) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{94} }
  498. func (m *PersistentVolumeStatus) Reset() { *m = PersistentVolumeStatus{} }
  499. func (*PersistentVolumeStatus) ProtoMessage() {}
  500. func (*PersistentVolumeStatus) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{95} }
  501. func (m *Pod) Reset() { *m = Pod{} }
  502. func (*Pod) ProtoMessage() {}
  503. func (*Pod) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{96} }
  504. func (m *PodAffinity) Reset() { *m = PodAffinity{} }
  505. func (*PodAffinity) ProtoMessage() {}
  506. func (*PodAffinity) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{97} }
  507. func (m *PodAffinityTerm) Reset() { *m = PodAffinityTerm{} }
  508. func (*PodAffinityTerm) ProtoMessage() {}
  509. func (*PodAffinityTerm) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{98} }
  510. func (m *PodAntiAffinity) Reset() { *m = PodAntiAffinity{} }
  511. func (*PodAntiAffinity) ProtoMessage() {}
  512. func (*PodAntiAffinity) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{99} }
  513. func (m *PodAttachOptions) Reset() { *m = PodAttachOptions{} }
  514. func (*PodAttachOptions) ProtoMessage() {}
  515. func (*PodAttachOptions) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{100} }
  516. func (m *PodCondition) Reset() { *m = PodCondition{} }
  517. func (*PodCondition) ProtoMessage() {}
  518. func (*PodCondition) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{101} }
  519. func (m *PodExecOptions) Reset() { *m = PodExecOptions{} }
  520. func (*PodExecOptions) ProtoMessage() {}
  521. func (*PodExecOptions) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{102} }
  522. func (m *PodList) Reset() { *m = PodList{} }
  523. func (*PodList) ProtoMessage() {}
  524. func (*PodList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{103} }
  525. func (m *PodLogOptions) Reset() { *m = PodLogOptions{} }
  526. func (*PodLogOptions) ProtoMessage() {}
  527. func (*PodLogOptions) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{104} }
  528. func (m *PodProxyOptions) Reset() { *m = PodProxyOptions{} }
  529. func (*PodProxyOptions) ProtoMessage() {}
  530. func (*PodProxyOptions) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{105} }
  531. func (m *PodSecurityContext) Reset() { *m = PodSecurityContext{} }
  532. func (*PodSecurityContext) ProtoMessage() {}
  533. func (*PodSecurityContext) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{106} }
  534. func (m *PodSignature) Reset() { *m = PodSignature{} }
  535. func (*PodSignature) ProtoMessage() {}
  536. func (*PodSignature) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{107} }
  537. func (m *PodSpec) Reset() { *m = PodSpec{} }
  538. func (*PodSpec) ProtoMessage() {}
  539. func (*PodSpec) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{108} }
  540. func (m *PodStatus) Reset() { *m = PodStatus{} }
  541. func (*PodStatus) ProtoMessage() {}
  542. func (*PodStatus) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{109} }
  543. func (m *PodStatusResult) Reset() { *m = PodStatusResult{} }
  544. func (*PodStatusResult) ProtoMessage() {}
  545. func (*PodStatusResult) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{110} }
  546. func (m *PodTemplate) Reset() { *m = PodTemplate{} }
  547. func (*PodTemplate) ProtoMessage() {}
  548. func (*PodTemplate) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{111} }
  549. func (m *PodTemplateList) Reset() { *m = PodTemplateList{} }
  550. func (*PodTemplateList) ProtoMessage() {}
  551. func (*PodTemplateList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{112} }
  552. func (m *PodTemplateSpec) Reset() { *m = PodTemplateSpec{} }
  553. func (*PodTemplateSpec) ProtoMessage() {}
  554. func (*PodTemplateSpec) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{113} }
  555. func (m *Preconditions) Reset() { *m = Preconditions{} }
  556. func (*Preconditions) ProtoMessage() {}
  557. func (*Preconditions) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{114} }
  558. func (m *PreferAvoidPodsEntry) Reset() { *m = PreferAvoidPodsEntry{} }
  559. func (*PreferAvoidPodsEntry) ProtoMessage() {}
  560. func (*PreferAvoidPodsEntry) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{115} }
  561. func (m *PreferredSchedulingTerm) Reset() { *m = PreferredSchedulingTerm{} }
  562. func (*PreferredSchedulingTerm) ProtoMessage() {}
  563. func (*PreferredSchedulingTerm) Descriptor() ([]byte, []int) {
  564. return fileDescriptorGenerated, []int{116}
  565. }
  566. func (m *Probe) Reset() { *m = Probe{} }
  567. func (*Probe) ProtoMessage() {}
  568. func (*Probe) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{117} }
  569. func (m *QuobyteVolumeSource) Reset() { *m = QuobyteVolumeSource{} }
  570. func (*QuobyteVolumeSource) ProtoMessage() {}
  571. func (*QuobyteVolumeSource) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{118} }
  572. func (m *RBDVolumeSource) Reset() { *m = RBDVolumeSource{} }
  573. func (*RBDVolumeSource) ProtoMessage() {}
  574. func (*RBDVolumeSource) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{119} }
  575. func (m *RangeAllocation) Reset() { *m = RangeAllocation{} }
  576. func (*RangeAllocation) ProtoMessage() {}
  577. func (*RangeAllocation) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{120} }
  578. func (m *ReplicationController) Reset() { *m = ReplicationController{} }
  579. func (*ReplicationController) ProtoMessage() {}
  580. func (*ReplicationController) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{121} }
  581. func (m *ReplicationControllerList) Reset() { *m = ReplicationControllerList{} }
  582. func (*ReplicationControllerList) ProtoMessage() {}
  583. func (*ReplicationControllerList) Descriptor() ([]byte, []int) {
  584. return fileDescriptorGenerated, []int{122}
  585. }
  586. func (m *ReplicationControllerSpec) Reset() { *m = ReplicationControllerSpec{} }
  587. func (*ReplicationControllerSpec) ProtoMessage() {}
  588. func (*ReplicationControllerSpec) Descriptor() ([]byte, []int) {
  589. return fileDescriptorGenerated, []int{123}
  590. }
  591. func (m *ReplicationControllerStatus) Reset() { *m = ReplicationControllerStatus{} }
  592. func (*ReplicationControllerStatus) ProtoMessage() {}
  593. func (*ReplicationControllerStatus) Descriptor() ([]byte, []int) {
  594. return fileDescriptorGenerated, []int{124}
  595. }
  596. func (m *ResourceFieldSelector) Reset() { *m = ResourceFieldSelector{} }
  597. func (*ResourceFieldSelector) ProtoMessage() {}
  598. func (*ResourceFieldSelector) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{125} }
  599. func (m *ResourceQuota) Reset() { *m = ResourceQuota{} }
  600. func (*ResourceQuota) ProtoMessage() {}
  601. func (*ResourceQuota) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{126} }
  602. func (m *ResourceQuotaList) Reset() { *m = ResourceQuotaList{} }
  603. func (*ResourceQuotaList) ProtoMessage() {}
  604. func (*ResourceQuotaList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{127} }
  605. func (m *ResourceQuotaSpec) Reset() { *m = ResourceQuotaSpec{} }
  606. func (*ResourceQuotaSpec) ProtoMessage() {}
  607. func (*ResourceQuotaSpec) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{128} }
  608. func (m *ResourceQuotaStatus) Reset() { *m = ResourceQuotaStatus{} }
  609. func (*ResourceQuotaStatus) ProtoMessage() {}
  610. func (*ResourceQuotaStatus) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{129} }
  611. func (m *ResourceRequirements) Reset() { *m = ResourceRequirements{} }
  612. func (*ResourceRequirements) ProtoMessage() {}
  613. func (*ResourceRequirements) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{130} }
  614. func (m *SELinuxOptions) Reset() { *m = SELinuxOptions{} }
  615. func (*SELinuxOptions) ProtoMessage() {}
  616. func (*SELinuxOptions) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{131} }
  617. func (m *Secret) Reset() { *m = Secret{} }
  618. func (*Secret) ProtoMessage() {}
  619. func (*Secret) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{132} }
  620. func (m *SecretKeySelector) Reset() { *m = SecretKeySelector{} }
  621. func (*SecretKeySelector) ProtoMessage() {}
  622. func (*SecretKeySelector) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{133} }
  623. func (m *SecretList) Reset() { *m = SecretList{} }
  624. func (*SecretList) ProtoMessage() {}
  625. func (*SecretList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{134} }
  626. func (m *SecretVolumeSource) Reset() { *m = SecretVolumeSource{} }
  627. func (*SecretVolumeSource) ProtoMessage() {}
  628. func (*SecretVolumeSource) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{135} }
  629. func (m *SecurityContext) Reset() { *m = SecurityContext{} }
  630. func (*SecurityContext) ProtoMessage() {}
  631. func (*SecurityContext) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{136} }
  632. func (m *SerializedReference) Reset() { *m = SerializedReference{} }
  633. func (*SerializedReference) ProtoMessage() {}
  634. func (*SerializedReference) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{137} }
  635. func (m *Service) Reset() { *m = Service{} }
  636. func (*Service) ProtoMessage() {}
  637. func (*Service) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{138} }
  638. func (m *ServiceAccount) Reset() { *m = ServiceAccount{} }
  639. func (*ServiceAccount) ProtoMessage() {}
  640. func (*ServiceAccount) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{139} }
  641. func (m *ServiceAccountList) Reset() { *m = ServiceAccountList{} }
  642. func (*ServiceAccountList) ProtoMessage() {}
  643. func (*ServiceAccountList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{140} }
  644. func (m *ServiceList) Reset() { *m = ServiceList{} }
  645. func (*ServiceList) ProtoMessage() {}
  646. func (*ServiceList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{141} }
  647. func (m *ServicePort) Reset() { *m = ServicePort{} }
  648. func (*ServicePort) ProtoMessage() {}
  649. func (*ServicePort) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{142} }
  650. func (m *ServiceProxyOptions) Reset() { *m = ServiceProxyOptions{} }
  651. func (*ServiceProxyOptions) ProtoMessage() {}
  652. func (*ServiceProxyOptions) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{143} }
  653. func (m *ServiceSpec) Reset() { *m = ServiceSpec{} }
  654. func (*ServiceSpec) ProtoMessage() {}
  655. func (*ServiceSpec) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{144} }
  656. func (m *ServiceStatus) Reset() { *m = ServiceStatus{} }
  657. func (*ServiceStatus) ProtoMessage() {}
  658. func (*ServiceStatus) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{145} }
  659. func (m *TCPSocketAction) Reset() { *m = TCPSocketAction{} }
  660. func (*TCPSocketAction) ProtoMessage() {}
  661. func (*TCPSocketAction) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{146} }
  662. func (m *Taint) Reset() { *m = Taint{} }
  663. func (*Taint) ProtoMessage() {}
  664. func (*Taint) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{147} }
  665. func (m *Toleration) Reset() { *m = Toleration{} }
  666. func (*Toleration) ProtoMessage() {}
  667. func (*Toleration) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{148} }
  668. func (m *Volume) Reset() { *m = Volume{} }
  669. func (*Volume) ProtoMessage() {}
  670. func (*Volume) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{149} }
  671. func (m *VolumeMount) Reset() { *m = VolumeMount{} }
  672. func (*VolumeMount) ProtoMessage() {}
  673. func (*VolumeMount) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{150} }
  674. func (m *VolumeSource) Reset() { *m = VolumeSource{} }
  675. func (*VolumeSource) ProtoMessage() {}
  676. func (*VolumeSource) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{151} }
  677. func (m *VsphereVirtualDiskVolumeSource) Reset() { *m = VsphereVirtualDiskVolumeSource{} }
  678. func (*VsphereVirtualDiskVolumeSource) ProtoMessage() {}
  679. func (*VsphereVirtualDiskVolumeSource) Descriptor() ([]byte, []int) {
  680. return fileDescriptorGenerated, []int{152}
  681. }
  682. func (m *WeightedPodAffinityTerm) Reset() { *m = WeightedPodAffinityTerm{} }
  683. func (*WeightedPodAffinityTerm) ProtoMessage() {}
  684. func (*WeightedPodAffinityTerm) Descriptor() ([]byte, []int) {
  685. return fileDescriptorGenerated, []int{153}
  686. }
  687. func init() {
  688. proto.RegisterType((*AWSElasticBlockStoreVolumeSource)(nil), "k8s.io.kubernetes.pkg.api.v1.AWSElasticBlockStoreVolumeSource")
  689. proto.RegisterType((*Affinity)(nil), "k8s.io.kubernetes.pkg.api.v1.Affinity")
  690. proto.RegisterType((*AttachedVolume)(nil), "k8s.io.kubernetes.pkg.api.v1.AttachedVolume")
  691. proto.RegisterType((*AvoidPods)(nil), "k8s.io.kubernetes.pkg.api.v1.AvoidPods")
  692. proto.RegisterType((*AzureDiskVolumeSource)(nil), "k8s.io.kubernetes.pkg.api.v1.AzureDiskVolumeSource")
  693. proto.RegisterType((*AzureFileVolumeSource)(nil), "k8s.io.kubernetes.pkg.api.v1.AzureFileVolumeSource")
  694. proto.RegisterType((*Binding)(nil), "k8s.io.kubernetes.pkg.api.v1.Binding")
  695. proto.RegisterType((*Capabilities)(nil), "k8s.io.kubernetes.pkg.api.v1.Capabilities")
  696. proto.RegisterType((*CephFSVolumeSource)(nil), "k8s.io.kubernetes.pkg.api.v1.CephFSVolumeSource")
  697. proto.RegisterType((*CinderVolumeSource)(nil), "k8s.io.kubernetes.pkg.api.v1.CinderVolumeSource")
  698. proto.RegisterType((*ComponentCondition)(nil), "k8s.io.kubernetes.pkg.api.v1.ComponentCondition")
  699. proto.RegisterType((*ComponentStatus)(nil), "k8s.io.kubernetes.pkg.api.v1.ComponentStatus")
  700. proto.RegisterType((*ComponentStatusList)(nil), "k8s.io.kubernetes.pkg.api.v1.ComponentStatusList")
  701. proto.RegisterType((*ConfigMap)(nil), "k8s.io.kubernetes.pkg.api.v1.ConfigMap")
  702. proto.RegisterType((*ConfigMapKeySelector)(nil), "k8s.io.kubernetes.pkg.api.v1.ConfigMapKeySelector")
  703. proto.RegisterType((*ConfigMapList)(nil), "k8s.io.kubernetes.pkg.api.v1.ConfigMapList")
  704. proto.RegisterType((*ConfigMapVolumeSource)(nil), "k8s.io.kubernetes.pkg.api.v1.ConfigMapVolumeSource")
  705. proto.RegisterType((*Container)(nil), "k8s.io.kubernetes.pkg.api.v1.Container")
  706. proto.RegisterType((*ContainerImage)(nil), "k8s.io.kubernetes.pkg.api.v1.ContainerImage")
  707. proto.RegisterType((*ContainerPort)(nil), "k8s.io.kubernetes.pkg.api.v1.ContainerPort")
  708. proto.RegisterType((*ContainerState)(nil), "k8s.io.kubernetes.pkg.api.v1.ContainerState")
  709. proto.RegisterType((*ContainerStateRunning)(nil), "k8s.io.kubernetes.pkg.api.v1.ContainerStateRunning")
  710. proto.RegisterType((*ContainerStateTerminated)(nil), "k8s.io.kubernetes.pkg.api.v1.ContainerStateTerminated")
  711. proto.RegisterType((*ContainerStateWaiting)(nil), "k8s.io.kubernetes.pkg.api.v1.ContainerStateWaiting")
  712. proto.RegisterType((*ContainerStatus)(nil), "k8s.io.kubernetes.pkg.api.v1.ContainerStatus")
  713. proto.RegisterType((*DaemonEndpoint)(nil), "k8s.io.kubernetes.pkg.api.v1.DaemonEndpoint")
  714. proto.RegisterType((*DeleteOptions)(nil), "k8s.io.kubernetes.pkg.api.v1.DeleteOptions")
  715. proto.RegisterType((*DownwardAPIVolumeFile)(nil), "k8s.io.kubernetes.pkg.api.v1.DownwardAPIVolumeFile")
  716. proto.RegisterType((*DownwardAPIVolumeSource)(nil), "k8s.io.kubernetes.pkg.api.v1.DownwardAPIVolumeSource")
  717. proto.RegisterType((*EmptyDirVolumeSource)(nil), "k8s.io.kubernetes.pkg.api.v1.EmptyDirVolumeSource")
  718. proto.RegisterType((*EndpointAddress)(nil), "k8s.io.kubernetes.pkg.api.v1.EndpointAddress")
  719. proto.RegisterType((*EndpointPort)(nil), "k8s.io.kubernetes.pkg.api.v1.EndpointPort")
  720. proto.RegisterType((*EndpointSubset)(nil), "k8s.io.kubernetes.pkg.api.v1.EndpointSubset")
  721. proto.RegisterType((*Endpoints)(nil), "k8s.io.kubernetes.pkg.api.v1.Endpoints")
  722. proto.RegisterType((*EndpointsList)(nil), "k8s.io.kubernetes.pkg.api.v1.EndpointsList")
  723. proto.RegisterType((*EnvVar)(nil), "k8s.io.kubernetes.pkg.api.v1.EnvVar")
  724. proto.RegisterType((*EnvVarSource)(nil), "k8s.io.kubernetes.pkg.api.v1.EnvVarSource")
  725. proto.RegisterType((*Event)(nil), "k8s.io.kubernetes.pkg.api.v1.Event")
  726. proto.RegisterType((*EventList)(nil), "k8s.io.kubernetes.pkg.api.v1.EventList")
  727. proto.RegisterType((*EventSource)(nil), "k8s.io.kubernetes.pkg.api.v1.EventSource")
  728. proto.RegisterType((*ExecAction)(nil), "k8s.io.kubernetes.pkg.api.v1.ExecAction")
  729. proto.RegisterType((*ExportOptions)(nil), "k8s.io.kubernetes.pkg.api.v1.ExportOptions")
  730. proto.RegisterType((*FCVolumeSource)(nil), "k8s.io.kubernetes.pkg.api.v1.FCVolumeSource")
  731. proto.RegisterType((*FlexVolumeSource)(nil), "k8s.io.kubernetes.pkg.api.v1.FlexVolumeSource")
  732. proto.RegisterType((*FlockerVolumeSource)(nil), "k8s.io.kubernetes.pkg.api.v1.FlockerVolumeSource")
  733. proto.RegisterType((*GCEPersistentDiskVolumeSource)(nil), "k8s.io.kubernetes.pkg.api.v1.GCEPersistentDiskVolumeSource")
  734. proto.RegisterType((*GitRepoVolumeSource)(nil), "k8s.io.kubernetes.pkg.api.v1.GitRepoVolumeSource")
  735. proto.RegisterType((*GlusterfsVolumeSource)(nil), "k8s.io.kubernetes.pkg.api.v1.GlusterfsVolumeSource")
  736. proto.RegisterType((*HTTPGetAction)(nil), "k8s.io.kubernetes.pkg.api.v1.HTTPGetAction")
  737. proto.RegisterType((*HTTPHeader)(nil), "k8s.io.kubernetes.pkg.api.v1.HTTPHeader")
  738. proto.RegisterType((*Handler)(nil), "k8s.io.kubernetes.pkg.api.v1.Handler")
  739. proto.RegisterType((*HostPathVolumeSource)(nil), "k8s.io.kubernetes.pkg.api.v1.HostPathVolumeSource")
  740. proto.RegisterType((*ISCSIVolumeSource)(nil), "k8s.io.kubernetes.pkg.api.v1.ISCSIVolumeSource")
  741. proto.RegisterType((*KeyToPath)(nil), "k8s.io.kubernetes.pkg.api.v1.KeyToPath")
  742. proto.RegisterType((*Lifecycle)(nil), "k8s.io.kubernetes.pkg.api.v1.Lifecycle")
  743. proto.RegisterType((*LimitRange)(nil), "k8s.io.kubernetes.pkg.api.v1.LimitRange")
  744. proto.RegisterType((*LimitRangeItem)(nil), "k8s.io.kubernetes.pkg.api.v1.LimitRangeItem")
  745. proto.RegisterType((*LimitRangeList)(nil), "k8s.io.kubernetes.pkg.api.v1.LimitRangeList")
  746. proto.RegisterType((*LimitRangeSpec)(nil), "k8s.io.kubernetes.pkg.api.v1.LimitRangeSpec")
  747. proto.RegisterType((*List)(nil), "k8s.io.kubernetes.pkg.api.v1.List")
  748. proto.RegisterType((*ListOptions)(nil), "k8s.io.kubernetes.pkg.api.v1.ListOptions")
  749. proto.RegisterType((*LoadBalancerIngress)(nil), "k8s.io.kubernetes.pkg.api.v1.LoadBalancerIngress")
  750. proto.RegisterType((*LoadBalancerStatus)(nil), "k8s.io.kubernetes.pkg.api.v1.LoadBalancerStatus")
  751. proto.RegisterType((*LocalObjectReference)(nil), "k8s.io.kubernetes.pkg.api.v1.LocalObjectReference")
  752. proto.RegisterType((*NFSVolumeSource)(nil), "k8s.io.kubernetes.pkg.api.v1.NFSVolumeSource")
  753. proto.RegisterType((*Namespace)(nil), "k8s.io.kubernetes.pkg.api.v1.Namespace")
  754. proto.RegisterType((*NamespaceList)(nil), "k8s.io.kubernetes.pkg.api.v1.NamespaceList")
  755. proto.RegisterType((*NamespaceSpec)(nil), "k8s.io.kubernetes.pkg.api.v1.NamespaceSpec")
  756. proto.RegisterType((*NamespaceStatus)(nil), "k8s.io.kubernetes.pkg.api.v1.NamespaceStatus")
  757. proto.RegisterType((*Node)(nil), "k8s.io.kubernetes.pkg.api.v1.Node")
  758. proto.RegisterType((*NodeAddress)(nil), "k8s.io.kubernetes.pkg.api.v1.NodeAddress")
  759. proto.RegisterType((*NodeAffinity)(nil), "k8s.io.kubernetes.pkg.api.v1.NodeAffinity")
  760. proto.RegisterType((*NodeCondition)(nil), "k8s.io.kubernetes.pkg.api.v1.NodeCondition")
  761. proto.RegisterType((*NodeDaemonEndpoints)(nil), "k8s.io.kubernetes.pkg.api.v1.NodeDaemonEndpoints")
  762. proto.RegisterType((*NodeList)(nil), "k8s.io.kubernetes.pkg.api.v1.NodeList")
  763. proto.RegisterType((*NodeProxyOptions)(nil), "k8s.io.kubernetes.pkg.api.v1.NodeProxyOptions")
  764. proto.RegisterType((*NodeSelector)(nil), "k8s.io.kubernetes.pkg.api.v1.NodeSelector")
  765. proto.RegisterType((*NodeSelectorRequirement)(nil), "k8s.io.kubernetes.pkg.api.v1.NodeSelectorRequirement")
  766. proto.RegisterType((*NodeSelectorTerm)(nil), "k8s.io.kubernetes.pkg.api.v1.NodeSelectorTerm")
  767. proto.RegisterType((*NodeSpec)(nil), "k8s.io.kubernetes.pkg.api.v1.NodeSpec")
  768. proto.RegisterType((*NodeStatus)(nil), "k8s.io.kubernetes.pkg.api.v1.NodeStatus")
  769. proto.RegisterType((*NodeSystemInfo)(nil), "k8s.io.kubernetes.pkg.api.v1.NodeSystemInfo")
  770. proto.RegisterType((*ObjectFieldSelector)(nil), "k8s.io.kubernetes.pkg.api.v1.ObjectFieldSelector")
  771. proto.RegisterType((*ObjectMeta)(nil), "k8s.io.kubernetes.pkg.api.v1.ObjectMeta")
  772. proto.RegisterType((*ObjectReference)(nil), "k8s.io.kubernetes.pkg.api.v1.ObjectReference")
  773. proto.RegisterType((*OwnerReference)(nil), "k8s.io.kubernetes.pkg.api.v1.OwnerReference")
  774. proto.RegisterType((*PersistentVolume)(nil), "k8s.io.kubernetes.pkg.api.v1.PersistentVolume")
  775. proto.RegisterType((*PersistentVolumeClaim)(nil), "k8s.io.kubernetes.pkg.api.v1.PersistentVolumeClaim")
  776. proto.RegisterType((*PersistentVolumeClaimList)(nil), "k8s.io.kubernetes.pkg.api.v1.PersistentVolumeClaimList")
  777. proto.RegisterType((*PersistentVolumeClaimSpec)(nil), "k8s.io.kubernetes.pkg.api.v1.PersistentVolumeClaimSpec")
  778. proto.RegisterType((*PersistentVolumeClaimStatus)(nil), "k8s.io.kubernetes.pkg.api.v1.PersistentVolumeClaimStatus")
  779. proto.RegisterType((*PersistentVolumeClaimVolumeSource)(nil), "k8s.io.kubernetes.pkg.api.v1.PersistentVolumeClaimVolumeSource")
  780. proto.RegisterType((*PersistentVolumeList)(nil), "k8s.io.kubernetes.pkg.api.v1.PersistentVolumeList")
  781. proto.RegisterType((*PersistentVolumeSource)(nil), "k8s.io.kubernetes.pkg.api.v1.PersistentVolumeSource")
  782. proto.RegisterType((*PersistentVolumeSpec)(nil), "k8s.io.kubernetes.pkg.api.v1.PersistentVolumeSpec")
  783. proto.RegisterType((*PersistentVolumeStatus)(nil), "k8s.io.kubernetes.pkg.api.v1.PersistentVolumeStatus")
  784. proto.RegisterType((*Pod)(nil), "k8s.io.kubernetes.pkg.api.v1.Pod")
  785. proto.RegisterType((*PodAffinity)(nil), "k8s.io.kubernetes.pkg.api.v1.PodAffinity")
  786. proto.RegisterType((*PodAffinityTerm)(nil), "k8s.io.kubernetes.pkg.api.v1.PodAffinityTerm")
  787. proto.RegisterType((*PodAntiAffinity)(nil), "k8s.io.kubernetes.pkg.api.v1.PodAntiAffinity")
  788. proto.RegisterType((*PodAttachOptions)(nil), "k8s.io.kubernetes.pkg.api.v1.PodAttachOptions")
  789. proto.RegisterType((*PodCondition)(nil), "k8s.io.kubernetes.pkg.api.v1.PodCondition")
  790. proto.RegisterType((*PodExecOptions)(nil), "k8s.io.kubernetes.pkg.api.v1.PodExecOptions")
  791. proto.RegisterType((*PodList)(nil), "k8s.io.kubernetes.pkg.api.v1.PodList")
  792. proto.RegisterType((*PodLogOptions)(nil), "k8s.io.kubernetes.pkg.api.v1.PodLogOptions")
  793. proto.RegisterType((*PodProxyOptions)(nil), "k8s.io.kubernetes.pkg.api.v1.PodProxyOptions")
  794. proto.RegisterType((*PodSecurityContext)(nil), "k8s.io.kubernetes.pkg.api.v1.PodSecurityContext")
  795. proto.RegisterType((*PodSignature)(nil), "k8s.io.kubernetes.pkg.api.v1.PodSignature")
  796. proto.RegisterType((*PodSpec)(nil), "k8s.io.kubernetes.pkg.api.v1.PodSpec")
  797. proto.RegisterType((*PodStatus)(nil), "k8s.io.kubernetes.pkg.api.v1.PodStatus")
  798. proto.RegisterType((*PodStatusResult)(nil), "k8s.io.kubernetes.pkg.api.v1.PodStatusResult")
  799. proto.RegisterType((*PodTemplate)(nil), "k8s.io.kubernetes.pkg.api.v1.PodTemplate")
  800. proto.RegisterType((*PodTemplateList)(nil), "k8s.io.kubernetes.pkg.api.v1.PodTemplateList")
  801. proto.RegisterType((*PodTemplateSpec)(nil), "k8s.io.kubernetes.pkg.api.v1.PodTemplateSpec")
  802. proto.RegisterType((*Preconditions)(nil), "k8s.io.kubernetes.pkg.api.v1.Preconditions")
  803. proto.RegisterType((*PreferAvoidPodsEntry)(nil), "k8s.io.kubernetes.pkg.api.v1.PreferAvoidPodsEntry")
  804. proto.RegisterType((*PreferredSchedulingTerm)(nil), "k8s.io.kubernetes.pkg.api.v1.PreferredSchedulingTerm")
  805. proto.RegisterType((*Probe)(nil), "k8s.io.kubernetes.pkg.api.v1.Probe")
  806. proto.RegisterType((*QuobyteVolumeSource)(nil), "k8s.io.kubernetes.pkg.api.v1.QuobyteVolumeSource")
  807. proto.RegisterType((*RBDVolumeSource)(nil), "k8s.io.kubernetes.pkg.api.v1.RBDVolumeSource")
  808. proto.RegisterType((*RangeAllocation)(nil), "k8s.io.kubernetes.pkg.api.v1.RangeAllocation")
  809. proto.RegisterType((*ReplicationController)(nil), "k8s.io.kubernetes.pkg.api.v1.ReplicationController")
  810. proto.RegisterType((*ReplicationControllerList)(nil), "k8s.io.kubernetes.pkg.api.v1.ReplicationControllerList")
  811. proto.RegisterType((*ReplicationControllerSpec)(nil), "k8s.io.kubernetes.pkg.api.v1.ReplicationControllerSpec")
  812. proto.RegisterType((*ReplicationControllerStatus)(nil), "k8s.io.kubernetes.pkg.api.v1.ReplicationControllerStatus")
  813. proto.RegisterType((*ResourceFieldSelector)(nil), "k8s.io.kubernetes.pkg.api.v1.ResourceFieldSelector")
  814. proto.RegisterType((*ResourceQuota)(nil), "k8s.io.kubernetes.pkg.api.v1.ResourceQuota")
  815. proto.RegisterType((*ResourceQuotaList)(nil), "k8s.io.kubernetes.pkg.api.v1.ResourceQuotaList")
  816. proto.RegisterType((*ResourceQuotaSpec)(nil), "k8s.io.kubernetes.pkg.api.v1.ResourceQuotaSpec")
  817. proto.RegisterType((*ResourceQuotaStatus)(nil), "k8s.io.kubernetes.pkg.api.v1.ResourceQuotaStatus")
  818. proto.RegisterType((*ResourceRequirements)(nil), "k8s.io.kubernetes.pkg.api.v1.ResourceRequirements")
  819. proto.RegisterType((*SELinuxOptions)(nil), "k8s.io.kubernetes.pkg.api.v1.SELinuxOptions")
  820. proto.RegisterType((*Secret)(nil), "k8s.io.kubernetes.pkg.api.v1.Secret")
  821. proto.RegisterType((*SecretKeySelector)(nil), "k8s.io.kubernetes.pkg.api.v1.SecretKeySelector")
  822. proto.RegisterType((*SecretList)(nil), "k8s.io.kubernetes.pkg.api.v1.SecretList")
  823. proto.RegisterType((*SecretVolumeSource)(nil), "k8s.io.kubernetes.pkg.api.v1.SecretVolumeSource")
  824. proto.RegisterType((*SecurityContext)(nil), "k8s.io.kubernetes.pkg.api.v1.SecurityContext")
  825. proto.RegisterType((*SerializedReference)(nil), "k8s.io.kubernetes.pkg.api.v1.SerializedReference")
  826. proto.RegisterType((*Service)(nil), "k8s.io.kubernetes.pkg.api.v1.Service")
  827. proto.RegisterType((*ServiceAccount)(nil), "k8s.io.kubernetes.pkg.api.v1.ServiceAccount")
  828. proto.RegisterType((*ServiceAccountList)(nil), "k8s.io.kubernetes.pkg.api.v1.ServiceAccountList")
  829. proto.RegisterType((*ServiceList)(nil), "k8s.io.kubernetes.pkg.api.v1.ServiceList")
  830. proto.RegisterType((*ServicePort)(nil), "k8s.io.kubernetes.pkg.api.v1.ServicePort")
  831. proto.RegisterType((*ServiceProxyOptions)(nil), "k8s.io.kubernetes.pkg.api.v1.ServiceProxyOptions")
  832. proto.RegisterType((*ServiceSpec)(nil), "k8s.io.kubernetes.pkg.api.v1.ServiceSpec")
  833. proto.RegisterType((*ServiceStatus)(nil), "k8s.io.kubernetes.pkg.api.v1.ServiceStatus")
  834. proto.RegisterType((*TCPSocketAction)(nil), "k8s.io.kubernetes.pkg.api.v1.TCPSocketAction")
  835. proto.RegisterType((*Taint)(nil), "k8s.io.kubernetes.pkg.api.v1.Taint")
  836. proto.RegisterType((*Toleration)(nil), "k8s.io.kubernetes.pkg.api.v1.Toleration")
  837. proto.RegisterType((*Volume)(nil), "k8s.io.kubernetes.pkg.api.v1.Volume")
  838. proto.RegisterType((*VolumeMount)(nil), "k8s.io.kubernetes.pkg.api.v1.VolumeMount")
  839. proto.RegisterType((*VolumeSource)(nil), "k8s.io.kubernetes.pkg.api.v1.VolumeSource")
  840. proto.RegisterType((*VsphereVirtualDiskVolumeSource)(nil), "k8s.io.kubernetes.pkg.api.v1.VsphereVirtualDiskVolumeSource")
  841. proto.RegisterType((*WeightedPodAffinityTerm)(nil), "k8s.io.kubernetes.pkg.api.v1.WeightedPodAffinityTerm")
  842. }
  843. func (m *AWSElasticBlockStoreVolumeSource) Marshal() (data []byte, err error) {
  844. size := m.Size()
  845. data = make([]byte, size)
  846. n, err := m.MarshalTo(data)
  847. if err != nil {
  848. return nil, err
  849. }
  850. return data[:n], nil
  851. }
  852. func (m *AWSElasticBlockStoreVolumeSource) MarshalTo(data []byte) (int, error) {
  853. var i int
  854. _ = i
  855. var l int
  856. _ = l
  857. data[i] = 0xa
  858. i++
  859. i = encodeVarintGenerated(data, i, uint64(len(m.VolumeID)))
  860. i += copy(data[i:], m.VolumeID)
  861. data[i] = 0x12
  862. i++
  863. i = encodeVarintGenerated(data, i, uint64(len(m.FSType)))
  864. i += copy(data[i:], m.FSType)
  865. data[i] = 0x18
  866. i++
  867. i = encodeVarintGenerated(data, i, uint64(m.Partition))
  868. data[i] = 0x20
  869. i++
  870. if m.ReadOnly {
  871. data[i] = 1
  872. } else {
  873. data[i] = 0
  874. }
  875. i++
  876. return i, nil
  877. }
  878. func (m *Affinity) Marshal() (data []byte, err error) {
  879. size := m.Size()
  880. data = make([]byte, size)
  881. n, err := m.MarshalTo(data)
  882. if err != nil {
  883. return nil, err
  884. }
  885. return data[:n], nil
  886. }
  887. func (m *Affinity) MarshalTo(data []byte) (int, error) {
  888. var i int
  889. _ = i
  890. var l int
  891. _ = l
  892. if m.NodeAffinity != nil {
  893. data[i] = 0xa
  894. i++
  895. i = encodeVarintGenerated(data, i, uint64(m.NodeAffinity.Size()))
  896. n1, err := m.NodeAffinity.MarshalTo(data[i:])
  897. if err != nil {
  898. return 0, err
  899. }
  900. i += n1
  901. }
  902. if m.PodAffinity != nil {
  903. data[i] = 0x12
  904. i++
  905. i = encodeVarintGenerated(data, i, uint64(m.PodAffinity.Size()))
  906. n2, err := m.PodAffinity.MarshalTo(data[i:])
  907. if err != nil {
  908. return 0, err
  909. }
  910. i += n2
  911. }
  912. if m.PodAntiAffinity != nil {
  913. data[i] = 0x1a
  914. i++
  915. i = encodeVarintGenerated(data, i, uint64(m.PodAntiAffinity.Size()))
  916. n3, err := m.PodAntiAffinity.MarshalTo(data[i:])
  917. if err != nil {
  918. return 0, err
  919. }
  920. i += n3
  921. }
  922. return i, nil
  923. }
  924. func (m *AttachedVolume) Marshal() (data []byte, err error) {
  925. size := m.Size()
  926. data = make([]byte, size)
  927. n, err := m.MarshalTo(data)
  928. if err != nil {
  929. return nil, err
  930. }
  931. return data[:n], nil
  932. }
  933. func (m *AttachedVolume) MarshalTo(data []byte) (int, error) {
  934. var i int
  935. _ = i
  936. var l int
  937. _ = l
  938. data[i] = 0xa
  939. i++
  940. i = encodeVarintGenerated(data, i, uint64(len(m.Name)))
  941. i += copy(data[i:], m.Name)
  942. data[i] = 0x12
  943. i++
  944. i = encodeVarintGenerated(data, i, uint64(len(m.DevicePath)))
  945. i += copy(data[i:], m.DevicePath)
  946. return i, nil
  947. }
  948. func (m *AvoidPods) Marshal() (data []byte, err error) {
  949. size := m.Size()
  950. data = make([]byte, size)
  951. n, err := m.MarshalTo(data)
  952. if err != nil {
  953. return nil, err
  954. }
  955. return data[:n], nil
  956. }
  957. func (m *AvoidPods) MarshalTo(data []byte) (int, error) {
  958. var i int
  959. _ = i
  960. var l int
  961. _ = l
  962. if len(m.PreferAvoidPods) > 0 {
  963. for _, msg := range m.PreferAvoidPods {
  964. data[i] = 0xa
  965. i++
  966. i = encodeVarintGenerated(data, i, uint64(msg.Size()))
  967. n, err := msg.MarshalTo(data[i:])
  968. if err != nil {
  969. return 0, err
  970. }
  971. i += n
  972. }
  973. }
  974. return i, nil
  975. }
  976. func (m *AzureDiskVolumeSource) Marshal() (data []byte, err error) {
  977. size := m.Size()
  978. data = make([]byte, size)
  979. n, err := m.MarshalTo(data)
  980. if err != nil {
  981. return nil, err
  982. }
  983. return data[:n], nil
  984. }
  985. func (m *AzureDiskVolumeSource) MarshalTo(data []byte) (int, error) {
  986. var i int
  987. _ = i
  988. var l int
  989. _ = l
  990. data[i] = 0xa
  991. i++
  992. i = encodeVarintGenerated(data, i, uint64(len(m.DiskName)))
  993. i += copy(data[i:], m.DiskName)
  994. data[i] = 0x12
  995. i++
  996. i = encodeVarintGenerated(data, i, uint64(len(m.DataDiskURI)))
  997. i += copy(data[i:], m.DataDiskURI)
  998. if m.CachingMode != nil {
  999. data[i] = 0x1a
  1000. i++
  1001. i = encodeVarintGenerated(data, i, uint64(len(*m.CachingMode)))
  1002. i += copy(data[i:], *m.CachingMode)
  1003. }
  1004. if m.FSType != nil {
  1005. data[i] = 0x22
  1006. i++
  1007. i = encodeVarintGenerated(data, i, uint64(len(*m.FSType)))
  1008. i += copy(data[i:], *m.FSType)
  1009. }
  1010. if m.ReadOnly != nil {
  1011. data[i] = 0x28
  1012. i++
  1013. if *m.ReadOnly {
  1014. data[i] = 1
  1015. } else {
  1016. data[i] = 0
  1017. }
  1018. i++
  1019. }
  1020. return i, nil
  1021. }
  1022. func (m *AzureFileVolumeSource) Marshal() (data []byte, err error) {
  1023. size := m.Size()
  1024. data = make([]byte, size)
  1025. n, err := m.MarshalTo(data)
  1026. if err != nil {
  1027. return nil, err
  1028. }
  1029. return data[:n], nil
  1030. }
  1031. func (m *AzureFileVolumeSource) MarshalTo(data []byte) (int, error) {
  1032. var i int
  1033. _ = i
  1034. var l int
  1035. _ = l
  1036. data[i] = 0xa
  1037. i++
  1038. i = encodeVarintGenerated(data, i, uint64(len(m.SecretName)))
  1039. i += copy(data[i:], m.SecretName)
  1040. data[i] = 0x12
  1041. i++
  1042. i = encodeVarintGenerated(data, i, uint64(len(m.ShareName)))
  1043. i += copy(data[i:], m.ShareName)
  1044. data[i] = 0x18
  1045. i++
  1046. if m.ReadOnly {
  1047. data[i] = 1
  1048. } else {
  1049. data[i] = 0
  1050. }
  1051. i++
  1052. return i, nil
  1053. }
  1054. func (m *Binding) Marshal() (data []byte, err error) {
  1055. size := m.Size()
  1056. data = make([]byte, size)
  1057. n, err := m.MarshalTo(data)
  1058. if err != nil {
  1059. return nil, err
  1060. }
  1061. return data[:n], nil
  1062. }
  1063. func (m *Binding) MarshalTo(data []byte) (int, error) {
  1064. var i int
  1065. _ = i
  1066. var l int
  1067. _ = l
  1068. data[i] = 0xa
  1069. i++
  1070. i = encodeVarintGenerated(data, i, uint64(m.ObjectMeta.Size()))
  1071. n4, err := m.ObjectMeta.MarshalTo(data[i:])
  1072. if err != nil {
  1073. return 0, err
  1074. }
  1075. i += n4
  1076. data[i] = 0x12
  1077. i++
  1078. i = encodeVarintGenerated(data, i, uint64(m.Target.Size()))
  1079. n5, err := m.Target.MarshalTo(data[i:])
  1080. if err != nil {
  1081. return 0, err
  1082. }
  1083. i += n5
  1084. return i, nil
  1085. }
  1086. func (m *Capabilities) Marshal() (data []byte, err error) {
  1087. size := m.Size()
  1088. data = make([]byte, size)
  1089. n, err := m.MarshalTo(data)
  1090. if err != nil {
  1091. return nil, err
  1092. }
  1093. return data[:n], nil
  1094. }
  1095. func (m *Capabilities) MarshalTo(data []byte) (int, error) {
  1096. var i int
  1097. _ = i
  1098. var l int
  1099. _ = l
  1100. if len(m.Add) > 0 {
  1101. for _, s := range m.Add {
  1102. data[i] = 0xa
  1103. i++
  1104. l = len(s)
  1105. for l >= 1<<7 {
  1106. data[i] = uint8(uint64(l)&0x7f | 0x80)
  1107. l >>= 7
  1108. i++
  1109. }
  1110. data[i] = uint8(l)
  1111. i++
  1112. i += copy(data[i:], s)
  1113. }
  1114. }
  1115. if len(m.Drop) > 0 {
  1116. for _, s := range m.Drop {
  1117. data[i] = 0x12
  1118. i++
  1119. l = len(s)
  1120. for l >= 1<<7 {
  1121. data[i] = uint8(uint64(l)&0x7f | 0x80)
  1122. l >>= 7
  1123. i++
  1124. }
  1125. data[i] = uint8(l)
  1126. i++
  1127. i += copy(data[i:], s)
  1128. }
  1129. }
  1130. return i, nil
  1131. }
  1132. func (m *CephFSVolumeSource) Marshal() (data []byte, err error) {
  1133. size := m.Size()
  1134. data = make([]byte, size)
  1135. n, err := m.MarshalTo(data)
  1136. if err != nil {
  1137. return nil, err
  1138. }
  1139. return data[:n], nil
  1140. }
  1141. func (m *CephFSVolumeSource) MarshalTo(data []byte) (int, error) {
  1142. var i int
  1143. _ = i
  1144. var l int
  1145. _ = l
  1146. if len(m.Monitors) > 0 {
  1147. for _, s := range m.Monitors {
  1148. data[i] = 0xa
  1149. i++
  1150. l = len(s)
  1151. for l >= 1<<7 {
  1152. data[i] = uint8(uint64(l)&0x7f | 0x80)
  1153. l >>= 7
  1154. i++
  1155. }
  1156. data[i] = uint8(l)
  1157. i++
  1158. i += copy(data[i:], s)
  1159. }
  1160. }
  1161. data[i] = 0x12
  1162. i++
  1163. i = encodeVarintGenerated(data, i, uint64(len(m.Path)))
  1164. i += copy(data[i:], m.Path)
  1165. data[i] = 0x1a
  1166. i++
  1167. i = encodeVarintGenerated(data, i, uint64(len(m.User)))
  1168. i += copy(data[i:], m.User)
  1169. data[i] = 0x22
  1170. i++
  1171. i = encodeVarintGenerated(data, i, uint64(len(m.SecretFile)))
  1172. i += copy(data[i:], m.SecretFile)
  1173. if m.SecretRef != nil {
  1174. data[i] = 0x2a
  1175. i++
  1176. i = encodeVarintGenerated(data, i, uint64(m.SecretRef.Size()))
  1177. n6, err := m.SecretRef.MarshalTo(data[i:])
  1178. if err != nil {
  1179. return 0, err
  1180. }
  1181. i += n6
  1182. }
  1183. data[i] = 0x30
  1184. i++
  1185. if m.ReadOnly {
  1186. data[i] = 1
  1187. } else {
  1188. data[i] = 0
  1189. }
  1190. i++
  1191. return i, nil
  1192. }
  1193. func (m *CinderVolumeSource) Marshal() (data []byte, err error) {
  1194. size := m.Size()
  1195. data = make([]byte, size)
  1196. n, err := m.MarshalTo(data)
  1197. if err != nil {
  1198. return nil, err
  1199. }
  1200. return data[:n], nil
  1201. }
  1202. func (m *CinderVolumeSource) MarshalTo(data []byte) (int, error) {
  1203. var i int
  1204. _ = i
  1205. var l int
  1206. _ = l
  1207. data[i] = 0xa
  1208. i++
  1209. i = encodeVarintGenerated(data, i, uint64(len(m.VolumeID)))
  1210. i += copy(data[i:], m.VolumeID)
  1211. data[i] = 0x12
  1212. i++
  1213. i = encodeVarintGenerated(data, i, uint64(len(m.FSType)))
  1214. i += copy(data[i:], m.FSType)
  1215. data[i] = 0x18
  1216. i++
  1217. if m.ReadOnly {
  1218. data[i] = 1
  1219. } else {
  1220. data[i] = 0
  1221. }
  1222. i++
  1223. return i, nil
  1224. }
  1225. func (m *ComponentCondition) Marshal() (data []byte, err error) {
  1226. size := m.Size()
  1227. data = make([]byte, size)
  1228. n, err := m.MarshalTo(data)
  1229. if err != nil {
  1230. return nil, err
  1231. }
  1232. return data[:n], nil
  1233. }
  1234. func (m *ComponentCondition) MarshalTo(data []byte) (int, error) {
  1235. var i int
  1236. _ = i
  1237. var l int
  1238. _ = l
  1239. data[i] = 0xa
  1240. i++
  1241. i = encodeVarintGenerated(data, i, uint64(len(m.Type)))
  1242. i += copy(data[i:], m.Type)
  1243. data[i] = 0x12
  1244. i++
  1245. i = encodeVarintGenerated(data, i, uint64(len(m.Status)))
  1246. i += copy(data[i:], m.Status)
  1247. data[i] = 0x1a
  1248. i++
  1249. i = encodeVarintGenerated(data, i, uint64(len(m.Message)))
  1250. i += copy(data[i:], m.Message)
  1251. data[i] = 0x22
  1252. i++
  1253. i = encodeVarintGenerated(data, i, uint64(len(m.Error)))
  1254. i += copy(data[i:], m.Error)
  1255. return i, nil
  1256. }
  1257. func (m *ComponentStatus) Marshal() (data []byte, err error) {
  1258. size := m.Size()
  1259. data = make([]byte, size)
  1260. n, err := m.MarshalTo(data)
  1261. if err != nil {
  1262. return nil, err
  1263. }
  1264. return data[:n], nil
  1265. }
  1266. func (m *ComponentStatus) MarshalTo(data []byte) (int, error) {
  1267. var i int
  1268. _ = i
  1269. var l int
  1270. _ = l
  1271. data[i] = 0xa
  1272. i++
  1273. i = encodeVarintGenerated(data, i, uint64(m.ObjectMeta.Size()))
  1274. n7, err := m.ObjectMeta.MarshalTo(data[i:])
  1275. if err != nil {
  1276. return 0, err
  1277. }
  1278. i += n7
  1279. if len(m.Conditions) > 0 {
  1280. for _, msg := range m.Conditions {
  1281. data[i] = 0x12
  1282. i++
  1283. i = encodeVarintGenerated(data, i, uint64(msg.Size()))
  1284. n, err := msg.MarshalTo(data[i:])
  1285. if err != nil {
  1286. return 0, err
  1287. }
  1288. i += n
  1289. }
  1290. }
  1291. return i, nil
  1292. }
  1293. func (m *ComponentStatusList) Marshal() (data []byte, err error) {
  1294. size := m.Size()
  1295. data = make([]byte, size)
  1296. n, err := m.MarshalTo(data)
  1297. if err != nil {
  1298. return nil, err
  1299. }
  1300. return data[:n], nil
  1301. }
  1302. func (m *ComponentStatusList) MarshalTo(data []byte) (int, error) {
  1303. var i int
  1304. _ = i
  1305. var l int
  1306. _ = l
  1307. data[i] = 0xa
  1308. i++
  1309. i = encodeVarintGenerated(data, i, uint64(m.ListMeta.Size()))
  1310. n8, err := m.ListMeta.MarshalTo(data[i:])
  1311. if err != nil {
  1312. return 0, err
  1313. }
  1314. i += n8
  1315. if len(m.Items) > 0 {
  1316. for _, msg := range m.Items {
  1317. data[i] = 0x12
  1318. i++
  1319. i = encodeVarintGenerated(data, i, uint64(msg.Size()))
  1320. n, err := msg.MarshalTo(data[i:])
  1321. if err != nil {
  1322. return 0, err
  1323. }
  1324. i += n
  1325. }
  1326. }
  1327. return i, nil
  1328. }
  1329. func (m *ConfigMap) Marshal() (data []byte, err error) {
  1330. size := m.Size()
  1331. data = make([]byte, size)
  1332. n, err := m.MarshalTo(data)
  1333. if err != nil {
  1334. return nil, err
  1335. }
  1336. return data[:n], nil
  1337. }
  1338. func (m *ConfigMap) MarshalTo(data []byte) (int, error) {
  1339. var i int
  1340. _ = i
  1341. var l int
  1342. _ = l
  1343. data[i] = 0xa
  1344. i++
  1345. i = encodeVarintGenerated(data, i, uint64(m.ObjectMeta.Size()))
  1346. n9, err := m.ObjectMeta.MarshalTo(data[i:])
  1347. if err != nil {
  1348. return 0, err
  1349. }
  1350. i += n9
  1351. if len(m.Data) > 0 {
  1352. for k := range m.Data {
  1353. data[i] = 0x12
  1354. i++
  1355. v := m.Data[k]
  1356. mapSize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + len(v) + sovGenerated(uint64(len(v)))
  1357. i = encodeVarintGenerated(data, i, uint64(mapSize))
  1358. data[i] = 0xa
  1359. i++
  1360. i = encodeVarintGenerated(data, i, uint64(len(k)))
  1361. i += copy(data[i:], k)
  1362. data[i] = 0x12
  1363. i++
  1364. i = encodeVarintGenerated(data, i, uint64(len(v)))
  1365. i += copy(data[i:], v)
  1366. }
  1367. }
  1368. return i, nil
  1369. }
  1370. func (m *ConfigMapKeySelector) Marshal() (data []byte, err error) {
  1371. size := m.Size()
  1372. data = make([]byte, size)
  1373. n, err := m.MarshalTo(data)
  1374. if err != nil {
  1375. return nil, err
  1376. }
  1377. return data[:n], nil
  1378. }
  1379. func (m *ConfigMapKeySelector) MarshalTo(data []byte) (int, error) {
  1380. var i int
  1381. _ = i
  1382. var l int
  1383. _ = l
  1384. data[i] = 0xa
  1385. i++
  1386. i = encodeVarintGenerated(data, i, uint64(m.LocalObjectReference.Size()))
  1387. n10, err := m.LocalObjectReference.MarshalTo(data[i:])
  1388. if err != nil {
  1389. return 0, err
  1390. }
  1391. i += n10
  1392. data[i] = 0x12
  1393. i++
  1394. i = encodeVarintGenerated(data, i, uint64(len(m.Key)))
  1395. i += copy(data[i:], m.Key)
  1396. return i, nil
  1397. }
  1398. func (m *ConfigMapList) Marshal() (data []byte, err error) {
  1399. size := m.Size()
  1400. data = make([]byte, size)
  1401. n, err := m.MarshalTo(data)
  1402. if err != nil {
  1403. return nil, err
  1404. }
  1405. return data[:n], nil
  1406. }
  1407. func (m *ConfigMapList) MarshalTo(data []byte) (int, error) {
  1408. var i int
  1409. _ = i
  1410. var l int
  1411. _ = l
  1412. data[i] = 0xa
  1413. i++
  1414. i = encodeVarintGenerated(data, i, uint64(m.ListMeta.Size()))
  1415. n11, err := m.ListMeta.MarshalTo(data[i:])
  1416. if err != nil {
  1417. return 0, err
  1418. }
  1419. i += n11
  1420. if len(m.Items) > 0 {
  1421. for _, msg := range m.Items {
  1422. data[i] = 0x12
  1423. i++
  1424. i = encodeVarintGenerated(data, i, uint64(msg.Size()))
  1425. n, err := msg.MarshalTo(data[i:])
  1426. if err != nil {
  1427. return 0, err
  1428. }
  1429. i += n
  1430. }
  1431. }
  1432. return i, nil
  1433. }
  1434. func (m *ConfigMapVolumeSource) Marshal() (data []byte, err error) {
  1435. size := m.Size()
  1436. data = make([]byte, size)
  1437. n, err := m.MarshalTo(data)
  1438. if err != nil {
  1439. return nil, err
  1440. }
  1441. return data[:n], nil
  1442. }
  1443. func (m *ConfigMapVolumeSource) MarshalTo(data []byte) (int, error) {
  1444. var i int
  1445. _ = i
  1446. var l int
  1447. _ = l
  1448. data[i] = 0xa
  1449. i++
  1450. i = encodeVarintGenerated(data, i, uint64(m.LocalObjectReference.Size()))
  1451. n12, err := m.LocalObjectReference.MarshalTo(data[i:])
  1452. if err != nil {
  1453. return 0, err
  1454. }
  1455. i += n12
  1456. if len(m.Items) > 0 {
  1457. for _, msg := range m.Items {
  1458. data[i] = 0x12
  1459. i++
  1460. i = encodeVarintGenerated(data, i, uint64(msg.Size()))
  1461. n, err := msg.MarshalTo(data[i:])
  1462. if err != nil {
  1463. return 0, err
  1464. }
  1465. i += n
  1466. }
  1467. }
  1468. if m.DefaultMode != nil {
  1469. data[i] = 0x18
  1470. i++
  1471. i = encodeVarintGenerated(data, i, uint64(*m.DefaultMode))
  1472. }
  1473. return i, nil
  1474. }
  1475. func (m *Container) Marshal() (data []byte, err error) {
  1476. size := m.Size()
  1477. data = make([]byte, size)
  1478. n, err := m.MarshalTo(data)
  1479. if err != nil {
  1480. return nil, err
  1481. }
  1482. return data[:n], nil
  1483. }
  1484. func (m *Container) MarshalTo(data []byte) (int, error) {
  1485. var i int
  1486. _ = i
  1487. var l int
  1488. _ = l
  1489. data[i] = 0xa
  1490. i++
  1491. i = encodeVarintGenerated(data, i, uint64(len(m.Name)))
  1492. i += copy(data[i:], m.Name)
  1493. data[i] = 0x12
  1494. i++
  1495. i = encodeVarintGenerated(data, i, uint64(len(m.Image)))
  1496. i += copy(data[i:], m.Image)
  1497. if len(m.Command) > 0 {
  1498. for _, s := range m.Command {
  1499. data[i] = 0x1a
  1500. i++
  1501. l = len(s)
  1502. for l >= 1<<7 {
  1503. data[i] = uint8(uint64(l)&0x7f | 0x80)
  1504. l >>= 7
  1505. i++
  1506. }
  1507. data[i] = uint8(l)
  1508. i++
  1509. i += copy(data[i:], s)
  1510. }
  1511. }
  1512. if len(m.Args) > 0 {
  1513. for _, s := range m.Args {
  1514. data[i] = 0x22
  1515. i++
  1516. l = len(s)
  1517. for l >= 1<<7 {
  1518. data[i] = uint8(uint64(l)&0x7f | 0x80)
  1519. l >>= 7
  1520. i++
  1521. }
  1522. data[i] = uint8(l)
  1523. i++
  1524. i += copy(data[i:], s)
  1525. }
  1526. }
  1527. data[i] = 0x2a
  1528. i++
  1529. i = encodeVarintGenerated(data, i, uint64(len(m.WorkingDir)))
  1530. i += copy(data[i:], m.WorkingDir)
  1531. if len(m.Ports) > 0 {
  1532. for _, msg := range m.Ports {
  1533. data[i] = 0x32
  1534. i++
  1535. i = encodeVarintGenerated(data, i, uint64(msg.Size()))
  1536. n, err := msg.MarshalTo(data[i:])
  1537. if err != nil {
  1538. return 0, err
  1539. }
  1540. i += n
  1541. }
  1542. }
  1543. if len(m.Env) > 0 {
  1544. for _, msg := range m.Env {
  1545. data[i] = 0x3a
  1546. i++
  1547. i = encodeVarintGenerated(data, i, uint64(msg.Size()))
  1548. n, err := msg.MarshalTo(data[i:])
  1549. if err != nil {
  1550. return 0, err
  1551. }
  1552. i += n
  1553. }
  1554. }
  1555. data[i] = 0x42
  1556. i++
  1557. i = encodeVarintGenerated(data, i, uint64(m.Resources.Size()))
  1558. n13, err := m.Resources.MarshalTo(data[i:])
  1559. if err != nil {
  1560. return 0, err
  1561. }
  1562. i += n13
  1563. if len(m.VolumeMounts) > 0 {
  1564. for _, msg := range m.VolumeMounts {
  1565. data[i] = 0x4a
  1566. i++
  1567. i = encodeVarintGenerated(data, i, uint64(msg.Size()))
  1568. n, err := msg.MarshalTo(data[i:])
  1569. if err != nil {
  1570. return 0, err
  1571. }
  1572. i += n
  1573. }
  1574. }
  1575. if m.LivenessProbe != nil {
  1576. data[i] = 0x52
  1577. i++
  1578. i = encodeVarintGenerated(data, i, uint64(m.LivenessProbe.Size()))
  1579. n14, err := m.LivenessProbe.MarshalTo(data[i:])
  1580. if err != nil {
  1581. return 0, err
  1582. }
  1583. i += n14
  1584. }
  1585. if m.ReadinessProbe != nil {
  1586. data[i] = 0x5a
  1587. i++
  1588. i = encodeVarintGenerated(data, i, uint64(m.ReadinessProbe.Size()))
  1589. n15, err := m.ReadinessProbe.MarshalTo(data[i:])
  1590. if err != nil {
  1591. return 0, err
  1592. }
  1593. i += n15
  1594. }
  1595. if m.Lifecycle != nil {
  1596. data[i] = 0x62
  1597. i++
  1598. i = encodeVarintGenerated(data, i, uint64(m.Lifecycle.Size()))
  1599. n16, err := m.Lifecycle.MarshalTo(data[i:])
  1600. if err != nil {
  1601. return 0, err
  1602. }
  1603. i += n16
  1604. }
  1605. data[i] = 0x6a
  1606. i++
  1607. i = encodeVarintGenerated(data, i, uint64(len(m.TerminationMessagePath)))
  1608. i += copy(data[i:], m.TerminationMessagePath)
  1609. data[i] = 0x72
  1610. i++
  1611. i = encodeVarintGenerated(data, i, uint64(len(m.ImagePullPolicy)))
  1612. i += copy(data[i:], m.ImagePullPolicy)
  1613. if m.SecurityContext != nil {
  1614. data[i] = 0x7a
  1615. i++
  1616. i = encodeVarintGenerated(data, i, uint64(m.SecurityContext.Size()))
  1617. n17, err := m.SecurityContext.MarshalTo(data[i:])
  1618. if err != nil {
  1619. return 0, err
  1620. }
  1621. i += n17
  1622. }
  1623. data[i] = 0x80
  1624. i++
  1625. data[i] = 0x1
  1626. i++
  1627. if m.Stdin {
  1628. data[i] = 1
  1629. } else {
  1630. data[i] = 0
  1631. }
  1632. i++
  1633. data[i] = 0x88
  1634. i++
  1635. data[i] = 0x1
  1636. i++
  1637. if m.StdinOnce {
  1638. data[i] = 1
  1639. } else {
  1640. data[i] = 0
  1641. }
  1642. i++
  1643. data[i] = 0x90
  1644. i++
  1645. data[i] = 0x1
  1646. i++
  1647. if m.TTY {
  1648. data[i] = 1
  1649. } else {
  1650. data[i] = 0
  1651. }
  1652. i++
  1653. return i, nil
  1654. }
  1655. func (m *ContainerImage) Marshal() (data []byte, err error) {
  1656. size := m.Size()
  1657. data = make([]byte, size)
  1658. n, err := m.MarshalTo(data)
  1659. if err != nil {
  1660. return nil, err
  1661. }
  1662. return data[:n], nil
  1663. }
  1664. func (m *ContainerImage) MarshalTo(data []byte) (int, error) {
  1665. var i int
  1666. _ = i
  1667. var l int
  1668. _ = l
  1669. if len(m.Names) > 0 {
  1670. for _, s := range m.Names {
  1671. data[i] = 0xa
  1672. i++
  1673. l = len(s)
  1674. for l >= 1<<7 {
  1675. data[i] = uint8(uint64(l)&0x7f | 0x80)
  1676. l >>= 7
  1677. i++
  1678. }
  1679. data[i] = uint8(l)
  1680. i++
  1681. i += copy(data[i:], s)
  1682. }
  1683. }
  1684. data[i] = 0x10
  1685. i++
  1686. i = encodeVarintGenerated(data, i, uint64(m.SizeBytes))
  1687. return i, nil
  1688. }
  1689. func (m *ContainerPort) Marshal() (data []byte, err error) {
  1690. size := m.Size()
  1691. data = make([]byte, size)
  1692. n, err := m.MarshalTo(data)
  1693. if err != nil {
  1694. return nil, err
  1695. }
  1696. return data[:n], nil
  1697. }
  1698. func (m *ContainerPort) MarshalTo(data []byte) (int, error) {
  1699. var i int
  1700. _ = i
  1701. var l int
  1702. _ = l
  1703. data[i] = 0xa
  1704. i++
  1705. i = encodeVarintGenerated(data, i, uint64(len(m.Name)))
  1706. i += copy(data[i:], m.Name)
  1707. data[i] = 0x10
  1708. i++
  1709. i = encodeVarintGenerated(data, i, uint64(m.HostPort))
  1710. data[i] = 0x18
  1711. i++
  1712. i = encodeVarintGenerated(data, i, uint64(m.ContainerPort))
  1713. data[i] = 0x22
  1714. i++
  1715. i = encodeVarintGenerated(data, i, uint64(len(m.Protocol)))
  1716. i += copy(data[i:], m.Protocol)
  1717. data[i] = 0x2a
  1718. i++
  1719. i = encodeVarintGenerated(data, i, uint64(len(m.HostIP)))
  1720. i += copy(data[i:], m.HostIP)
  1721. return i, nil
  1722. }
  1723. func (m *ContainerState) Marshal() (data []byte, err error) {
  1724. size := m.Size()
  1725. data = make([]byte, size)
  1726. n, err := m.MarshalTo(data)
  1727. if err != nil {
  1728. return nil, err
  1729. }
  1730. return data[:n], nil
  1731. }
  1732. func (m *ContainerState) MarshalTo(data []byte) (int, error) {
  1733. var i int
  1734. _ = i
  1735. var l int
  1736. _ = l
  1737. if m.Waiting != nil {
  1738. data[i] = 0xa
  1739. i++
  1740. i = encodeVarintGenerated(data, i, uint64(m.Waiting.Size()))
  1741. n18, err := m.Waiting.MarshalTo(data[i:])
  1742. if err != nil {
  1743. return 0, err
  1744. }
  1745. i += n18
  1746. }
  1747. if m.Running != nil {
  1748. data[i] = 0x12
  1749. i++
  1750. i = encodeVarintGenerated(data, i, uint64(m.Running.Size()))
  1751. n19, err := m.Running.MarshalTo(data[i:])
  1752. if err != nil {
  1753. return 0, err
  1754. }
  1755. i += n19
  1756. }
  1757. if m.Terminated != nil {
  1758. data[i] = 0x1a
  1759. i++
  1760. i = encodeVarintGenerated(data, i, uint64(m.Terminated.Size()))
  1761. n20, err := m.Terminated.MarshalTo(data[i:])
  1762. if err != nil {
  1763. return 0, err
  1764. }
  1765. i += n20
  1766. }
  1767. return i, nil
  1768. }
  1769. func (m *ContainerStateRunning) Marshal() (data []byte, err error) {
  1770. size := m.Size()
  1771. data = make([]byte, size)
  1772. n, err := m.MarshalTo(data)
  1773. if err != nil {
  1774. return nil, err
  1775. }
  1776. return data[:n], nil
  1777. }
  1778. func (m *ContainerStateRunning) MarshalTo(data []byte) (int, error) {
  1779. var i int
  1780. _ = i
  1781. var l int
  1782. _ = l
  1783. data[i] = 0xa
  1784. i++
  1785. i = encodeVarintGenerated(data, i, uint64(m.StartedAt.Size()))
  1786. n21, err := m.StartedAt.MarshalTo(data[i:])
  1787. if err != nil {
  1788. return 0, err
  1789. }
  1790. i += n21
  1791. return i, nil
  1792. }
  1793. func (m *ContainerStateTerminated) Marshal() (data []byte, err error) {
  1794. size := m.Size()
  1795. data = make([]byte, size)
  1796. n, err := m.MarshalTo(data)
  1797. if err != nil {
  1798. return nil, err
  1799. }
  1800. return data[:n], nil
  1801. }
  1802. func (m *ContainerStateTerminated) MarshalTo(data []byte) (int, error) {
  1803. var i int
  1804. _ = i
  1805. var l int
  1806. _ = l
  1807. data[i] = 0x8
  1808. i++
  1809. i = encodeVarintGenerated(data, i, uint64(m.ExitCode))
  1810. data[i] = 0x10
  1811. i++
  1812. i = encodeVarintGenerated(data, i, uint64(m.Signal))
  1813. data[i] = 0x1a
  1814. i++
  1815. i = encodeVarintGenerated(data, i, uint64(len(m.Reason)))
  1816. i += copy(data[i:], m.Reason)
  1817. data[i] = 0x22
  1818. i++
  1819. i = encodeVarintGenerated(data, i, uint64(len(m.Message)))
  1820. i += copy(data[i:], m.Message)
  1821. data[i] = 0x2a
  1822. i++
  1823. i = encodeVarintGenerated(data, i, uint64(m.StartedAt.Size()))
  1824. n22, err := m.StartedAt.MarshalTo(data[i:])
  1825. if err != nil {
  1826. return 0, err
  1827. }
  1828. i += n22
  1829. data[i] = 0x32
  1830. i++
  1831. i = encodeVarintGenerated(data, i, uint64(m.FinishedAt.Size()))
  1832. n23, err := m.FinishedAt.MarshalTo(data[i:])
  1833. if err != nil {
  1834. return 0, err
  1835. }
  1836. i += n23
  1837. data[i] = 0x3a
  1838. i++
  1839. i = encodeVarintGenerated(data, i, uint64(len(m.ContainerID)))
  1840. i += copy(data[i:], m.ContainerID)
  1841. return i, nil
  1842. }
  1843. func (m *ContainerStateWaiting) Marshal() (data []byte, err error) {
  1844. size := m.Size()
  1845. data = make([]byte, size)
  1846. n, err := m.MarshalTo(data)
  1847. if err != nil {
  1848. return nil, err
  1849. }
  1850. return data[:n], nil
  1851. }
  1852. func (m *ContainerStateWaiting) MarshalTo(data []byte) (int, error) {
  1853. var i int
  1854. _ = i
  1855. var l int
  1856. _ = l
  1857. data[i] = 0xa
  1858. i++
  1859. i = encodeVarintGenerated(data, i, uint64(len(m.Reason)))
  1860. i += copy(data[i:], m.Reason)
  1861. data[i] = 0x12
  1862. i++
  1863. i = encodeVarintGenerated(data, i, uint64(len(m.Message)))
  1864. i += copy(data[i:], m.Message)
  1865. return i, nil
  1866. }
  1867. func (m *ContainerStatus) Marshal() (data []byte, err error) {
  1868. size := m.Size()
  1869. data = make([]byte, size)
  1870. n, err := m.MarshalTo(data)
  1871. if err != nil {
  1872. return nil, err
  1873. }
  1874. return data[:n], nil
  1875. }
  1876. func (m *ContainerStatus) MarshalTo(data []byte) (int, error) {
  1877. var i int
  1878. _ = i
  1879. var l int
  1880. _ = l
  1881. data[i] = 0xa
  1882. i++
  1883. i = encodeVarintGenerated(data, i, uint64(len(m.Name)))
  1884. i += copy(data[i:], m.Name)
  1885. data[i] = 0x12
  1886. i++
  1887. i = encodeVarintGenerated(data, i, uint64(m.State.Size()))
  1888. n24, err := m.State.MarshalTo(data[i:])
  1889. if err != nil {
  1890. return 0, err
  1891. }
  1892. i += n24
  1893. data[i] = 0x1a
  1894. i++
  1895. i = encodeVarintGenerated(data, i, uint64(m.LastTerminationState.Size()))
  1896. n25, err := m.LastTerminationState.MarshalTo(data[i:])
  1897. if err != nil {
  1898. return 0, err
  1899. }
  1900. i += n25
  1901. data[i] = 0x20
  1902. i++
  1903. if m.Ready {
  1904. data[i] = 1
  1905. } else {
  1906. data[i] = 0
  1907. }
  1908. i++
  1909. data[i] = 0x28
  1910. i++
  1911. i = encodeVarintGenerated(data, i, uint64(m.RestartCount))
  1912. data[i] = 0x32
  1913. i++
  1914. i = encodeVarintGenerated(data, i, uint64(len(m.Image)))
  1915. i += copy(data[i:], m.Image)
  1916. data[i] = 0x3a
  1917. i++
  1918. i = encodeVarintGenerated(data, i, uint64(len(m.ImageID)))
  1919. i += copy(data[i:], m.ImageID)
  1920. data[i] = 0x42
  1921. i++
  1922. i = encodeVarintGenerated(data, i, uint64(len(m.ContainerID)))
  1923. i += copy(data[i:], m.ContainerID)
  1924. return i, nil
  1925. }
  1926. func (m *DaemonEndpoint) Marshal() (data []byte, err error) {
  1927. size := m.Size()
  1928. data = make([]byte, size)
  1929. n, err := m.MarshalTo(data)
  1930. if err != nil {
  1931. return nil, err
  1932. }
  1933. return data[:n], nil
  1934. }
  1935. func (m *DaemonEndpoint) MarshalTo(data []byte) (int, error) {
  1936. var i int
  1937. _ = i
  1938. var l int
  1939. _ = l
  1940. data[i] = 0x8
  1941. i++
  1942. i = encodeVarintGenerated(data, i, uint64(m.Port))
  1943. return i, nil
  1944. }
  1945. func (m *DeleteOptions) Marshal() (data []byte, err error) {
  1946. size := m.Size()
  1947. data = make([]byte, size)
  1948. n, err := m.MarshalTo(data)
  1949. if err != nil {
  1950. return nil, err
  1951. }
  1952. return data[:n], nil
  1953. }
  1954. func (m *DeleteOptions) MarshalTo(data []byte) (int, error) {
  1955. var i int
  1956. _ = i
  1957. var l int
  1958. _ = l
  1959. if m.GracePeriodSeconds != nil {
  1960. data[i] = 0x8
  1961. i++
  1962. i = encodeVarintGenerated(data, i, uint64(*m.GracePeriodSeconds))
  1963. }
  1964. if m.Preconditions != nil {
  1965. data[i] = 0x12
  1966. i++
  1967. i = encodeVarintGenerated(data, i, uint64(m.Preconditions.Size()))
  1968. n26, err := m.Preconditions.MarshalTo(data[i:])
  1969. if err != nil {
  1970. return 0, err
  1971. }
  1972. i += n26
  1973. }
  1974. if m.OrphanDependents != nil {
  1975. data[i] = 0x18
  1976. i++
  1977. if *m.OrphanDependents {
  1978. data[i] = 1
  1979. } else {
  1980. data[i] = 0
  1981. }
  1982. i++
  1983. }
  1984. return i, nil
  1985. }
  1986. func (m *DownwardAPIVolumeFile) Marshal() (data []byte, err error) {
  1987. size := m.Size()
  1988. data = make([]byte, size)
  1989. n, err := m.MarshalTo(data)
  1990. if err != nil {
  1991. return nil, err
  1992. }
  1993. return data[:n], nil
  1994. }
  1995. func (m *DownwardAPIVolumeFile) MarshalTo(data []byte) (int, error) {
  1996. var i int
  1997. _ = i
  1998. var l int
  1999. _ = l
  2000. data[i] = 0xa
  2001. i++
  2002. i = encodeVarintGenerated(data, i, uint64(len(m.Path)))
  2003. i += copy(data[i:], m.Path)
  2004. if m.FieldRef != nil {
  2005. data[i] = 0x12
  2006. i++
  2007. i = encodeVarintGenerated(data, i, uint64(m.FieldRef.Size()))
  2008. n27, err := m.FieldRef.MarshalTo(data[i:])
  2009. if err != nil {
  2010. return 0, err
  2011. }
  2012. i += n27
  2013. }
  2014. if m.ResourceFieldRef != nil {
  2015. data[i] = 0x1a
  2016. i++
  2017. i = encodeVarintGenerated(data, i, uint64(m.ResourceFieldRef.Size()))
  2018. n28, err := m.ResourceFieldRef.MarshalTo(data[i:])
  2019. if err != nil {
  2020. return 0, err
  2021. }
  2022. i += n28
  2023. }
  2024. if m.Mode != nil {
  2025. data[i] = 0x20
  2026. i++
  2027. i = encodeVarintGenerated(data, i, uint64(*m.Mode))
  2028. }
  2029. return i, nil
  2030. }
  2031. func (m *DownwardAPIVolumeSource) Marshal() (data []byte, err error) {
  2032. size := m.Size()
  2033. data = make([]byte, size)
  2034. n, err := m.MarshalTo(data)
  2035. if err != nil {
  2036. return nil, err
  2037. }
  2038. return data[:n], nil
  2039. }
  2040. func (m *DownwardAPIVolumeSource) MarshalTo(data []byte) (int, error) {
  2041. var i int
  2042. _ = i
  2043. var l int
  2044. _ = l
  2045. if len(m.Items) > 0 {
  2046. for _, msg := range m.Items {
  2047. data[i] = 0xa
  2048. i++
  2049. i = encodeVarintGenerated(data, i, uint64(msg.Size()))
  2050. n, err := msg.MarshalTo(data[i:])
  2051. if err != nil {
  2052. return 0, err
  2053. }
  2054. i += n
  2055. }
  2056. }
  2057. if m.DefaultMode != nil {
  2058. data[i] = 0x10
  2059. i++
  2060. i = encodeVarintGenerated(data, i, uint64(*m.DefaultMode))
  2061. }
  2062. return i, nil
  2063. }
  2064. func (m *EmptyDirVolumeSource) Marshal() (data []byte, err error) {
  2065. size := m.Size()
  2066. data = make([]byte, size)
  2067. n, err := m.MarshalTo(data)
  2068. if err != nil {
  2069. return nil, err
  2070. }
  2071. return data[:n], nil
  2072. }
  2073. func (m *EmptyDirVolumeSource) MarshalTo(data []byte) (int, error) {
  2074. var i int
  2075. _ = i
  2076. var l int
  2077. _ = l
  2078. data[i] = 0xa
  2079. i++
  2080. i = encodeVarintGenerated(data, i, uint64(len(m.Medium)))
  2081. i += copy(data[i:], m.Medium)
  2082. return i, nil
  2083. }
  2084. func (m *EndpointAddress) Marshal() (data []byte, err error) {
  2085. size := m.Size()
  2086. data = make([]byte, size)
  2087. n, err := m.MarshalTo(data)
  2088. if err != nil {
  2089. return nil, err
  2090. }
  2091. return data[:n], nil
  2092. }
  2093. func (m *EndpointAddress) MarshalTo(data []byte) (int, error) {
  2094. var i int
  2095. _ = i
  2096. var l int
  2097. _ = l
  2098. data[i] = 0xa
  2099. i++
  2100. i = encodeVarintGenerated(data, i, uint64(len(m.IP)))
  2101. i += copy(data[i:], m.IP)
  2102. if m.TargetRef != nil {
  2103. data[i] = 0x12
  2104. i++
  2105. i = encodeVarintGenerated(data, i, uint64(m.TargetRef.Size()))
  2106. n29, err := m.TargetRef.MarshalTo(data[i:])
  2107. if err != nil {
  2108. return 0, err
  2109. }
  2110. i += n29
  2111. }
  2112. data[i] = 0x1a
  2113. i++
  2114. i = encodeVarintGenerated(data, i, uint64(len(m.Hostname)))
  2115. i += copy(data[i:], m.Hostname)
  2116. if m.NodeName != nil {
  2117. data[i] = 0x22
  2118. i++
  2119. i = encodeVarintGenerated(data, i, uint64(len(*m.NodeName)))
  2120. i += copy(data[i:], *m.NodeName)
  2121. }
  2122. return i, nil
  2123. }
  2124. func (m *EndpointPort) Marshal() (data []byte, err error) {
  2125. size := m.Size()
  2126. data = make([]byte, size)
  2127. n, err := m.MarshalTo(data)
  2128. if err != nil {
  2129. return nil, err
  2130. }
  2131. return data[:n], nil
  2132. }
  2133. func (m *EndpointPort) MarshalTo(data []byte) (int, error) {
  2134. var i int
  2135. _ = i
  2136. var l int
  2137. _ = l
  2138. data[i] = 0xa
  2139. i++
  2140. i = encodeVarintGenerated(data, i, uint64(len(m.Name)))
  2141. i += copy(data[i:], m.Name)
  2142. data[i] = 0x10
  2143. i++
  2144. i = encodeVarintGenerated(data, i, uint64(m.Port))
  2145. data[i] = 0x1a
  2146. i++
  2147. i = encodeVarintGenerated(data, i, uint64(len(m.Protocol)))
  2148. i += copy(data[i:], m.Protocol)
  2149. return i, nil
  2150. }
  2151. func (m *EndpointSubset) Marshal() (data []byte, err error) {
  2152. size := m.Size()
  2153. data = make([]byte, size)
  2154. n, err := m.MarshalTo(data)
  2155. if err != nil {
  2156. return nil, err
  2157. }
  2158. return data[:n], nil
  2159. }
  2160. func (m *EndpointSubset) MarshalTo(data []byte) (int, error) {
  2161. var i int
  2162. _ = i
  2163. var l int
  2164. _ = l
  2165. if len(m.Addresses) > 0 {
  2166. for _, msg := range m.Addresses {
  2167. data[i] = 0xa
  2168. i++
  2169. i = encodeVarintGenerated(data, i, uint64(msg.Size()))
  2170. n, err := msg.MarshalTo(data[i:])
  2171. if err != nil {
  2172. return 0, err
  2173. }
  2174. i += n
  2175. }
  2176. }
  2177. if len(m.NotReadyAddresses) > 0 {
  2178. for _, msg := range m.NotReadyAddresses {
  2179. data[i] = 0x12
  2180. i++
  2181. i = encodeVarintGenerated(data, i, uint64(msg.Size()))
  2182. n, err := msg.MarshalTo(data[i:])
  2183. if err != nil {
  2184. return 0, err
  2185. }
  2186. i += n
  2187. }
  2188. }
  2189. if len(m.Ports) > 0 {
  2190. for _, msg := range m.Ports {
  2191. data[i] = 0x1a
  2192. i++
  2193. i = encodeVarintGenerated(data, i, uint64(msg.Size()))
  2194. n, err := msg.MarshalTo(data[i:])
  2195. if err != nil {
  2196. return 0, err
  2197. }
  2198. i += n
  2199. }
  2200. }
  2201. return i, nil
  2202. }
  2203. func (m *Endpoints) Marshal() (data []byte, err error) {
  2204. size := m.Size()
  2205. data = make([]byte, size)
  2206. n, err := m.MarshalTo(data)
  2207. if err != nil {
  2208. return nil, err
  2209. }
  2210. return data[:n], nil
  2211. }
  2212. func (m *Endpoints) MarshalTo(data []byte) (int, error) {
  2213. var i int
  2214. _ = i
  2215. var l int
  2216. _ = l
  2217. data[i] = 0xa
  2218. i++
  2219. i = encodeVarintGenerated(data, i, uint64(m.ObjectMeta.Size()))
  2220. n30, err := m.ObjectMeta.MarshalTo(data[i:])
  2221. if err != nil {
  2222. return 0, err
  2223. }
  2224. i += n30
  2225. if len(m.Subsets) > 0 {
  2226. for _, msg := range m.Subsets {
  2227. data[i] = 0x12
  2228. i++
  2229. i = encodeVarintGenerated(data, i, uint64(msg.Size()))
  2230. n, err := msg.MarshalTo(data[i:])
  2231. if err != nil {
  2232. return 0, err
  2233. }
  2234. i += n
  2235. }
  2236. }
  2237. return i, nil
  2238. }
  2239. func (m *EndpointsList) Marshal() (data []byte, err error) {
  2240. size := m.Size()
  2241. data = make([]byte, size)
  2242. n, err := m.MarshalTo(data)
  2243. if err != nil {
  2244. return nil, err
  2245. }
  2246. return data[:n], nil
  2247. }
  2248. func (m *EndpointsList) MarshalTo(data []byte) (int, error) {
  2249. var i int
  2250. _ = i
  2251. var l int
  2252. _ = l
  2253. data[i] = 0xa
  2254. i++
  2255. i = encodeVarintGenerated(data, i, uint64(m.ListMeta.Size()))
  2256. n31, err := m.ListMeta.MarshalTo(data[i:])
  2257. if err != nil {
  2258. return 0, err
  2259. }
  2260. i += n31
  2261. if len(m.Items) > 0 {
  2262. for _, msg := range m.Items {
  2263. data[i] = 0x12
  2264. i++
  2265. i = encodeVarintGenerated(data, i, uint64(msg.Size()))
  2266. n, err := msg.MarshalTo(data[i:])
  2267. if err != nil {
  2268. return 0, err
  2269. }
  2270. i += n
  2271. }
  2272. }
  2273. return i, nil
  2274. }
  2275. func (m *EnvVar) Marshal() (data []byte, err error) {
  2276. size := m.Size()
  2277. data = make([]byte, size)
  2278. n, err := m.MarshalTo(data)
  2279. if err != nil {
  2280. return nil, err
  2281. }
  2282. return data[:n], nil
  2283. }
  2284. func (m *EnvVar) MarshalTo(data []byte) (int, error) {
  2285. var i int
  2286. _ = i
  2287. var l int
  2288. _ = l
  2289. data[i] = 0xa
  2290. i++
  2291. i = encodeVarintGenerated(data, i, uint64(len(m.Name)))
  2292. i += copy(data[i:], m.Name)
  2293. data[i] = 0x12
  2294. i++
  2295. i = encodeVarintGenerated(data, i, uint64(len(m.Value)))
  2296. i += copy(data[i:], m.Value)
  2297. if m.ValueFrom != nil {
  2298. data[i] = 0x1a
  2299. i++
  2300. i = encodeVarintGenerated(data, i, uint64(m.ValueFrom.Size()))
  2301. n32, err := m.ValueFrom.MarshalTo(data[i:])
  2302. if err != nil {
  2303. return 0, err
  2304. }
  2305. i += n32
  2306. }
  2307. return i, nil
  2308. }
  2309. func (m *EnvVarSource) Marshal() (data []byte, err error) {
  2310. size := m.Size()
  2311. data = make([]byte, size)
  2312. n, err := m.MarshalTo(data)
  2313. if err != nil {
  2314. return nil, err
  2315. }
  2316. return data[:n], nil
  2317. }
  2318. func (m *EnvVarSource) MarshalTo(data []byte) (int, error) {
  2319. var i int
  2320. _ = i
  2321. var l int
  2322. _ = l
  2323. if m.FieldRef != nil {
  2324. data[i] = 0xa
  2325. i++
  2326. i = encodeVarintGenerated(data, i, uint64(m.FieldRef.Size()))
  2327. n33, err := m.FieldRef.MarshalTo(data[i:])
  2328. if err != nil {
  2329. return 0, err
  2330. }
  2331. i += n33
  2332. }
  2333. if m.ResourceFieldRef != nil {
  2334. data[i] = 0x12
  2335. i++
  2336. i = encodeVarintGenerated(data, i, uint64(m.ResourceFieldRef.Size()))
  2337. n34, err := m.ResourceFieldRef.MarshalTo(data[i:])
  2338. if err != nil {
  2339. return 0, err
  2340. }
  2341. i += n34
  2342. }
  2343. if m.ConfigMapKeyRef != nil {
  2344. data[i] = 0x1a
  2345. i++
  2346. i = encodeVarintGenerated(data, i, uint64(m.ConfigMapKeyRef.Size()))
  2347. n35, err := m.ConfigMapKeyRef.MarshalTo(data[i:])
  2348. if err != nil {
  2349. return 0, err
  2350. }
  2351. i += n35
  2352. }
  2353. if m.SecretKeyRef != nil {
  2354. data[i] = 0x22
  2355. i++
  2356. i = encodeVarintGenerated(data, i, uint64(m.SecretKeyRef.Size()))
  2357. n36, err := m.SecretKeyRef.MarshalTo(data[i:])
  2358. if err != nil {
  2359. return 0, err
  2360. }
  2361. i += n36
  2362. }
  2363. return i, nil
  2364. }
  2365. func (m *Event) Marshal() (data []byte, err error) {
  2366. size := m.Size()
  2367. data = make([]byte, size)
  2368. n, err := m.MarshalTo(data)
  2369. if err != nil {
  2370. return nil, err
  2371. }
  2372. return data[:n], nil
  2373. }
  2374. func (m *Event) MarshalTo(data []byte) (int, error) {
  2375. var i int
  2376. _ = i
  2377. var l int
  2378. _ = l
  2379. data[i] = 0xa
  2380. i++
  2381. i = encodeVarintGenerated(data, i, uint64(m.ObjectMeta.Size()))
  2382. n37, err := m.ObjectMeta.MarshalTo(data[i:])
  2383. if err != nil {
  2384. return 0, err
  2385. }
  2386. i += n37
  2387. data[i] = 0x12
  2388. i++
  2389. i = encodeVarintGenerated(data, i, uint64(m.InvolvedObject.Size()))
  2390. n38, err := m.InvolvedObject.MarshalTo(data[i:])
  2391. if err != nil {
  2392. return 0, err
  2393. }
  2394. i += n38
  2395. data[i] = 0x1a
  2396. i++
  2397. i = encodeVarintGenerated(data, i, uint64(len(m.Reason)))
  2398. i += copy(data[i:], m.Reason)
  2399. data[i] = 0x22
  2400. i++
  2401. i = encodeVarintGenerated(data, i, uint64(len(m.Message)))
  2402. i += copy(data[i:], m.Message)
  2403. data[i] = 0x2a
  2404. i++
  2405. i = encodeVarintGenerated(data, i, uint64(m.Source.Size()))
  2406. n39, err := m.Source.MarshalTo(data[i:])
  2407. if err != nil {
  2408. return 0, err
  2409. }
  2410. i += n39
  2411. data[i] = 0x32
  2412. i++
  2413. i = encodeVarintGenerated(data, i, uint64(m.FirstTimestamp.Size()))
  2414. n40, err := m.FirstTimestamp.MarshalTo(data[i:])
  2415. if err != nil {
  2416. return 0, err
  2417. }
  2418. i += n40
  2419. data[i] = 0x3a
  2420. i++
  2421. i = encodeVarintGenerated(data, i, uint64(m.LastTimestamp.Size()))
  2422. n41, err := m.LastTimestamp.MarshalTo(data[i:])
  2423. if err != nil {
  2424. return 0, err
  2425. }
  2426. i += n41
  2427. data[i] = 0x40
  2428. i++
  2429. i = encodeVarintGenerated(data, i, uint64(m.Count))
  2430. data[i] = 0x4a
  2431. i++
  2432. i = encodeVarintGenerated(data, i, uint64(len(m.Type)))
  2433. i += copy(data[i:], m.Type)
  2434. return i, nil
  2435. }
  2436. func (m *EventList) Marshal() (data []byte, err error) {
  2437. size := m.Size()
  2438. data = make([]byte, size)
  2439. n, err := m.MarshalTo(data)
  2440. if err != nil {
  2441. return nil, err
  2442. }
  2443. return data[:n], nil
  2444. }
  2445. func (m *EventList) MarshalTo(data []byte) (int, error) {
  2446. var i int
  2447. _ = i
  2448. var l int
  2449. _ = l
  2450. data[i] = 0xa
  2451. i++
  2452. i = encodeVarintGenerated(data, i, uint64(m.ListMeta.Size()))
  2453. n42, err := m.ListMeta.MarshalTo(data[i:])
  2454. if err != nil {
  2455. return 0, err
  2456. }
  2457. i += n42
  2458. if len(m.Items) > 0 {
  2459. for _, msg := range m.Items {
  2460. data[i] = 0x12
  2461. i++
  2462. i = encodeVarintGenerated(data, i, uint64(msg.Size()))
  2463. n, err := msg.MarshalTo(data[i:])
  2464. if err != nil {
  2465. return 0, err
  2466. }
  2467. i += n
  2468. }
  2469. }
  2470. return i, nil
  2471. }
  2472. func (m *EventSource) Marshal() (data []byte, err error) {
  2473. size := m.Size()
  2474. data = make([]byte, size)
  2475. n, err := m.MarshalTo(data)
  2476. if err != nil {
  2477. return nil, err
  2478. }
  2479. return data[:n], nil
  2480. }
  2481. func (m *EventSource) MarshalTo(data []byte) (int, error) {
  2482. var i int
  2483. _ = i
  2484. var l int
  2485. _ = l
  2486. data[i] = 0xa
  2487. i++
  2488. i = encodeVarintGenerated(data, i, uint64(len(m.Component)))
  2489. i += copy(data[i:], m.Component)
  2490. data[i] = 0x12
  2491. i++
  2492. i = encodeVarintGenerated(data, i, uint64(len(m.Host)))
  2493. i += copy(data[i:], m.Host)
  2494. return i, nil
  2495. }
  2496. func (m *ExecAction) Marshal() (data []byte, err error) {
  2497. size := m.Size()
  2498. data = make([]byte, size)
  2499. n, err := m.MarshalTo(data)
  2500. if err != nil {
  2501. return nil, err
  2502. }
  2503. return data[:n], nil
  2504. }
  2505. func (m *ExecAction) MarshalTo(data []byte) (int, error) {
  2506. var i int
  2507. _ = i
  2508. var l int
  2509. _ = l
  2510. if len(m.Command) > 0 {
  2511. for _, s := range m.Command {
  2512. data[i] = 0xa
  2513. i++
  2514. l = len(s)
  2515. for l >= 1<<7 {
  2516. data[i] = uint8(uint64(l)&0x7f | 0x80)
  2517. l >>= 7
  2518. i++
  2519. }
  2520. data[i] = uint8(l)
  2521. i++
  2522. i += copy(data[i:], s)
  2523. }
  2524. }
  2525. return i, nil
  2526. }
  2527. func (m *ExportOptions) Marshal() (data []byte, err error) {
  2528. size := m.Size()
  2529. data = make([]byte, size)
  2530. n, err := m.MarshalTo(data)
  2531. if err != nil {
  2532. return nil, err
  2533. }
  2534. return data[:n], nil
  2535. }
  2536. func (m *ExportOptions) MarshalTo(data []byte) (int, error) {
  2537. var i int
  2538. _ = i
  2539. var l int
  2540. _ = l
  2541. data[i] = 0x8
  2542. i++
  2543. if m.Export {
  2544. data[i] = 1
  2545. } else {
  2546. data[i] = 0
  2547. }
  2548. i++
  2549. data[i] = 0x10
  2550. i++
  2551. if m.Exact {
  2552. data[i] = 1
  2553. } else {
  2554. data[i] = 0
  2555. }
  2556. i++
  2557. return i, nil
  2558. }
  2559. func (m *FCVolumeSource) Marshal() (data []byte, err error) {
  2560. size := m.Size()
  2561. data = make([]byte, size)
  2562. n, err := m.MarshalTo(data)
  2563. if err != nil {
  2564. return nil, err
  2565. }
  2566. return data[:n], nil
  2567. }
  2568. func (m *FCVolumeSource) MarshalTo(data []byte) (int, error) {
  2569. var i int
  2570. _ = i
  2571. var l int
  2572. _ = l
  2573. if len(m.TargetWWNs) > 0 {
  2574. for _, s := range m.TargetWWNs {
  2575. data[i] = 0xa
  2576. i++
  2577. l = len(s)
  2578. for l >= 1<<7 {
  2579. data[i] = uint8(uint64(l)&0x7f | 0x80)
  2580. l >>= 7
  2581. i++
  2582. }
  2583. data[i] = uint8(l)
  2584. i++
  2585. i += copy(data[i:], s)
  2586. }
  2587. }
  2588. if m.Lun != nil {
  2589. data[i] = 0x10
  2590. i++
  2591. i = encodeVarintGenerated(data, i, uint64(*m.Lun))
  2592. }
  2593. data[i] = 0x1a
  2594. i++
  2595. i = encodeVarintGenerated(data, i, uint64(len(m.FSType)))
  2596. i += copy(data[i:], m.FSType)
  2597. data[i] = 0x20
  2598. i++
  2599. if m.ReadOnly {
  2600. data[i] = 1
  2601. } else {
  2602. data[i] = 0
  2603. }
  2604. i++
  2605. return i, nil
  2606. }
  2607. func (m *FlexVolumeSource) Marshal() (data []byte, err error) {
  2608. size := m.Size()
  2609. data = make([]byte, size)
  2610. n, err := m.MarshalTo(data)
  2611. if err != nil {
  2612. return nil, err
  2613. }
  2614. return data[:n], nil
  2615. }
  2616. func (m *FlexVolumeSource) MarshalTo(data []byte) (int, error) {
  2617. var i int
  2618. _ = i
  2619. var l int
  2620. _ = l
  2621. data[i] = 0xa
  2622. i++
  2623. i = encodeVarintGenerated(data, i, uint64(len(m.Driver)))
  2624. i += copy(data[i:], m.Driver)
  2625. data[i] = 0x12
  2626. i++
  2627. i = encodeVarintGenerated(data, i, uint64(len(m.FSType)))
  2628. i += copy(data[i:], m.FSType)
  2629. if m.SecretRef != nil {
  2630. data[i] = 0x1a
  2631. i++
  2632. i = encodeVarintGenerated(data, i, uint64(m.SecretRef.Size()))
  2633. n43, err := m.SecretRef.MarshalTo(data[i:])
  2634. if err != nil {
  2635. return 0, err
  2636. }
  2637. i += n43
  2638. }
  2639. data[i] = 0x20
  2640. i++
  2641. if m.ReadOnly {
  2642. data[i] = 1
  2643. } else {
  2644. data[i] = 0
  2645. }
  2646. i++
  2647. if len(m.Options) > 0 {
  2648. for k := range m.Options {
  2649. data[i] = 0x2a
  2650. i++
  2651. v := m.Options[k]
  2652. mapSize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + len(v) + sovGenerated(uint64(len(v)))
  2653. i = encodeVarintGenerated(data, i, uint64(mapSize))
  2654. data[i] = 0xa
  2655. i++
  2656. i = encodeVarintGenerated(data, i, uint64(len(k)))
  2657. i += copy(data[i:], k)
  2658. data[i] = 0x12
  2659. i++
  2660. i = encodeVarintGenerated(data, i, uint64(len(v)))
  2661. i += copy(data[i:], v)
  2662. }
  2663. }
  2664. return i, nil
  2665. }
  2666. func (m *FlockerVolumeSource) Marshal() (data []byte, err error) {
  2667. size := m.Size()
  2668. data = make([]byte, size)
  2669. n, err := m.MarshalTo(data)
  2670. if err != nil {
  2671. return nil, err
  2672. }
  2673. return data[:n], nil
  2674. }
  2675. func (m *FlockerVolumeSource) MarshalTo(data []byte) (int, error) {
  2676. var i int
  2677. _ = i
  2678. var l int
  2679. _ = l
  2680. data[i] = 0xa
  2681. i++
  2682. i = encodeVarintGenerated(data, i, uint64(len(m.DatasetName)))
  2683. i += copy(data[i:], m.DatasetName)
  2684. return i, nil
  2685. }
  2686. func (m *GCEPersistentDiskVolumeSource) Marshal() (data []byte, err error) {
  2687. size := m.Size()
  2688. data = make([]byte, size)
  2689. n, err := m.MarshalTo(data)
  2690. if err != nil {
  2691. return nil, err
  2692. }
  2693. return data[:n], nil
  2694. }
  2695. func (m *GCEPersistentDiskVolumeSource) MarshalTo(data []byte) (int, error) {
  2696. var i int
  2697. _ = i
  2698. var l int
  2699. _ = l
  2700. data[i] = 0xa
  2701. i++
  2702. i = encodeVarintGenerated(data, i, uint64(len(m.PDName)))
  2703. i += copy(data[i:], m.PDName)
  2704. data[i] = 0x12
  2705. i++
  2706. i = encodeVarintGenerated(data, i, uint64(len(m.FSType)))
  2707. i += copy(data[i:], m.FSType)
  2708. data[i] = 0x18
  2709. i++
  2710. i = encodeVarintGenerated(data, i, uint64(m.Partition))
  2711. data[i] = 0x20
  2712. i++
  2713. if m.ReadOnly {
  2714. data[i] = 1
  2715. } else {
  2716. data[i] = 0
  2717. }
  2718. i++
  2719. return i, nil
  2720. }
  2721. func (m *GitRepoVolumeSource) Marshal() (data []byte, err error) {
  2722. size := m.Size()
  2723. data = make([]byte, size)
  2724. n, err := m.MarshalTo(data)
  2725. if err != nil {
  2726. return nil, err
  2727. }
  2728. return data[:n], nil
  2729. }
  2730. func (m *GitRepoVolumeSource) MarshalTo(data []byte) (int, error) {
  2731. var i int
  2732. _ = i
  2733. var l int
  2734. _ = l
  2735. data[i] = 0xa
  2736. i++
  2737. i = encodeVarintGenerated(data, i, uint64(len(m.Repository)))
  2738. i += copy(data[i:], m.Repository)
  2739. data[i] = 0x12
  2740. i++
  2741. i = encodeVarintGenerated(data, i, uint64(len(m.Revision)))
  2742. i += copy(data[i:], m.Revision)
  2743. data[i] = 0x1a
  2744. i++
  2745. i = encodeVarintGenerated(data, i, uint64(len(m.Directory)))
  2746. i += copy(data[i:], m.Directory)
  2747. return i, nil
  2748. }
  2749. func (m *GlusterfsVolumeSource) Marshal() (data []byte, err error) {
  2750. size := m.Size()
  2751. data = make([]byte, size)
  2752. n, err := m.MarshalTo(data)
  2753. if err != nil {
  2754. return nil, err
  2755. }
  2756. return data[:n], nil
  2757. }
  2758. func (m *GlusterfsVolumeSource) MarshalTo(data []byte) (int, error) {
  2759. var i int
  2760. _ = i
  2761. var l int
  2762. _ = l
  2763. data[i] = 0xa
  2764. i++
  2765. i = encodeVarintGenerated(data, i, uint64(len(m.EndpointsName)))
  2766. i += copy(data[i:], m.EndpointsName)
  2767. data[i] = 0x12
  2768. i++
  2769. i = encodeVarintGenerated(data, i, uint64(len(m.Path)))
  2770. i += copy(data[i:], m.Path)
  2771. data[i] = 0x18
  2772. i++
  2773. if m.ReadOnly {
  2774. data[i] = 1
  2775. } else {
  2776. data[i] = 0
  2777. }
  2778. i++
  2779. return i, nil
  2780. }
  2781. func (m *HTTPGetAction) Marshal() (data []byte, err error) {
  2782. size := m.Size()
  2783. data = make([]byte, size)
  2784. n, err := m.MarshalTo(data)
  2785. if err != nil {
  2786. return nil, err
  2787. }
  2788. return data[:n], nil
  2789. }
  2790. func (m *HTTPGetAction) MarshalTo(data []byte) (int, error) {
  2791. var i int
  2792. _ = i
  2793. var l int
  2794. _ = l
  2795. data[i] = 0xa
  2796. i++
  2797. i = encodeVarintGenerated(data, i, uint64(len(m.Path)))
  2798. i += copy(data[i:], m.Path)
  2799. data[i] = 0x12
  2800. i++
  2801. i = encodeVarintGenerated(data, i, uint64(m.Port.Size()))
  2802. n44, err := m.Port.MarshalTo(data[i:])
  2803. if err != nil {
  2804. return 0, err
  2805. }
  2806. i += n44
  2807. data[i] = 0x1a
  2808. i++
  2809. i = encodeVarintGenerated(data, i, uint64(len(m.Host)))
  2810. i += copy(data[i:], m.Host)
  2811. data[i] = 0x22
  2812. i++
  2813. i = encodeVarintGenerated(data, i, uint64(len(m.Scheme)))
  2814. i += copy(data[i:], m.Scheme)
  2815. if len(m.HTTPHeaders) > 0 {
  2816. for _, msg := range m.HTTPHeaders {
  2817. data[i] = 0x2a
  2818. i++
  2819. i = encodeVarintGenerated(data, i, uint64(msg.Size()))
  2820. n, err := msg.MarshalTo(data[i:])
  2821. if err != nil {
  2822. return 0, err
  2823. }
  2824. i += n
  2825. }
  2826. }
  2827. return i, nil
  2828. }
  2829. func (m *HTTPHeader) Marshal() (data []byte, err error) {
  2830. size := m.Size()
  2831. data = make([]byte, size)
  2832. n, err := m.MarshalTo(data)
  2833. if err != nil {
  2834. return nil, err
  2835. }
  2836. return data[:n], nil
  2837. }
  2838. func (m *HTTPHeader) MarshalTo(data []byte) (int, error) {
  2839. var i int
  2840. _ = i
  2841. var l int
  2842. _ = l
  2843. data[i] = 0xa
  2844. i++
  2845. i = encodeVarintGenerated(data, i, uint64(len(m.Name)))
  2846. i += copy(data[i:], m.Name)
  2847. data[i] = 0x12
  2848. i++
  2849. i = encodeVarintGenerated(data, i, uint64(len(m.Value)))
  2850. i += copy(data[i:], m.Value)
  2851. return i, nil
  2852. }
  2853. func (m *Handler) Marshal() (data []byte, err error) {
  2854. size := m.Size()
  2855. data = make([]byte, size)
  2856. n, err := m.MarshalTo(data)
  2857. if err != nil {
  2858. return nil, err
  2859. }
  2860. return data[:n], nil
  2861. }
  2862. func (m *Handler) MarshalTo(data []byte) (int, error) {
  2863. var i int
  2864. _ = i
  2865. var l int
  2866. _ = l
  2867. if m.Exec != nil {
  2868. data[i] = 0xa
  2869. i++
  2870. i = encodeVarintGenerated(data, i, uint64(m.Exec.Size()))
  2871. n45, err := m.Exec.MarshalTo(data[i:])
  2872. if err != nil {
  2873. return 0, err
  2874. }
  2875. i += n45
  2876. }
  2877. if m.HTTPGet != nil {
  2878. data[i] = 0x12
  2879. i++
  2880. i = encodeVarintGenerated(data, i, uint64(m.HTTPGet.Size()))
  2881. n46, err := m.HTTPGet.MarshalTo(data[i:])
  2882. if err != nil {
  2883. return 0, err
  2884. }
  2885. i += n46
  2886. }
  2887. if m.TCPSocket != nil {
  2888. data[i] = 0x1a
  2889. i++
  2890. i = encodeVarintGenerated(data, i, uint64(m.TCPSocket.Size()))
  2891. n47, err := m.TCPSocket.MarshalTo(data[i:])
  2892. if err != nil {
  2893. return 0, err
  2894. }
  2895. i += n47
  2896. }
  2897. return i, nil
  2898. }
  2899. func (m *HostPathVolumeSource) Marshal() (data []byte, err error) {
  2900. size := m.Size()
  2901. data = make([]byte, size)
  2902. n, err := m.MarshalTo(data)
  2903. if err != nil {
  2904. return nil, err
  2905. }
  2906. return data[:n], nil
  2907. }
  2908. func (m *HostPathVolumeSource) MarshalTo(data []byte) (int, error) {
  2909. var i int
  2910. _ = i
  2911. var l int
  2912. _ = l
  2913. data[i] = 0xa
  2914. i++
  2915. i = encodeVarintGenerated(data, i, uint64(len(m.Path)))
  2916. i += copy(data[i:], m.Path)
  2917. return i, nil
  2918. }
  2919. func (m *ISCSIVolumeSource) Marshal() (data []byte, err error) {
  2920. size := m.Size()
  2921. data = make([]byte, size)
  2922. n, err := m.MarshalTo(data)
  2923. if err != nil {
  2924. return nil, err
  2925. }
  2926. return data[:n], nil
  2927. }
  2928. func (m *ISCSIVolumeSource) MarshalTo(data []byte) (int, error) {
  2929. var i int
  2930. _ = i
  2931. var l int
  2932. _ = l
  2933. data[i] = 0xa
  2934. i++
  2935. i = encodeVarintGenerated(data, i, uint64(len(m.TargetPortal)))
  2936. i += copy(data[i:], m.TargetPortal)
  2937. data[i] = 0x12
  2938. i++
  2939. i = encodeVarintGenerated(data, i, uint64(len(m.IQN)))
  2940. i += copy(data[i:], m.IQN)
  2941. data[i] = 0x18
  2942. i++
  2943. i = encodeVarintGenerated(data, i, uint64(m.Lun))
  2944. data[i] = 0x22
  2945. i++
  2946. i = encodeVarintGenerated(data, i, uint64(len(m.ISCSIInterface)))
  2947. i += copy(data[i:], m.ISCSIInterface)
  2948. data[i] = 0x2a
  2949. i++
  2950. i = encodeVarintGenerated(data, i, uint64(len(m.FSType)))
  2951. i += copy(data[i:], m.FSType)
  2952. data[i] = 0x30
  2953. i++
  2954. if m.ReadOnly {
  2955. data[i] = 1
  2956. } else {
  2957. data[i] = 0
  2958. }
  2959. i++
  2960. return i, nil
  2961. }
  2962. func (m *KeyToPath) Marshal() (data []byte, err error) {
  2963. size := m.Size()
  2964. data = make([]byte, size)
  2965. n, err := m.MarshalTo(data)
  2966. if err != nil {
  2967. return nil, err
  2968. }
  2969. return data[:n], nil
  2970. }
  2971. func (m *KeyToPath) MarshalTo(data []byte) (int, error) {
  2972. var i int
  2973. _ = i
  2974. var l int
  2975. _ = l
  2976. data[i] = 0xa
  2977. i++
  2978. i = encodeVarintGenerated(data, i, uint64(len(m.Key)))
  2979. i += copy(data[i:], m.Key)
  2980. data[i] = 0x12
  2981. i++
  2982. i = encodeVarintGenerated(data, i, uint64(len(m.Path)))
  2983. i += copy(data[i:], m.Path)
  2984. if m.Mode != nil {
  2985. data[i] = 0x18
  2986. i++
  2987. i = encodeVarintGenerated(data, i, uint64(*m.Mode))
  2988. }
  2989. return i, nil
  2990. }
  2991. func (m *Lifecycle) Marshal() (data []byte, err error) {
  2992. size := m.Size()
  2993. data = make([]byte, size)
  2994. n, err := m.MarshalTo(data)
  2995. if err != nil {
  2996. return nil, err
  2997. }
  2998. return data[:n], nil
  2999. }
  3000. func (m *Lifecycle) MarshalTo(data []byte) (int, error) {
  3001. var i int
  3002. _ = i
  3003. var l int
  3004. _ = l
  3005. if m.PostStart != nil {
  3006. data[i] = 0xa
  3007. i++
  3008. i = encodeVarintGenerated(data, i, uint64(m.PostStart.Size()))
  3009. n48, err := m.PostStart.MarshalTo(data[i:])
  3010. if err != nil {
  3011. return 0, err
  3012. }
  3013. i += n48
  3014. }
  3015. if m.PreStop != nil {
  3016. data[i] = 0x12
  3017. i++
  3018. i = encodeVarintGenerated(data, i, uint64(m.PreStop.Size()))
  3019. n49, err := m.PreStop.MarshalTo(data[i:])
  3020. if err != nil {
  3021. return 0, err
  3022. }
  3023. i += n49
  3024. }
  3025. return i, nil
  3026. }
  3027. func (m *LimitRange) Marshal() (data []byte, err error) {
  3028. size := m.Size()
  3029. data = make([]byte, size)
  3030. n, err := m.MarshalTo(data)
  3031. if err != nil {
  3032. return nil, err
  3033. }
  3034. return data[:n], nil
  3035. }
  3036. func (m *LimitRange) MarshalTo(data []byte) (int, error) {
  3037. var i int
  3038. _ = i
  3039. var l int
  3040. _ = l
  3041. data[i] = 0xa
  3042. i++
  3043. i = encodeVarintGenerated(data, i, uint64(m.ObjectMeta.Size()))
  3044. n50, err := m.ObjectMeta.MarshalTo(data[i:])
  3045. if err != nil {
  3046. return 0, err
  3047. }
  3048. i += n50
  3049. data[i] = 0x12
  3050. i++
  3051. i = encodeVarintGenerated(data, i, uint64(m.Spec.Size()))
  3052. n51, err := m.Spec.MarshalTo(data[i:])
  3053. if err != nil {
  3054. return 0, err
  3055. }
  3056. i += n51
  3057. return i, nil
  3058. }
  3059. func (m *LimitRangeItem) Marshal() (data []byte, err error) {
  3060. size := m.Size()
  3061. data = make([]byte, size)
  3062. n, err := m.MarshalTo(data)
  3063. if err != nil {
  3064. return nil, err
  3065. }
  3066. return data[:n], nil
  3067. }
  3068. func (m *LimitRangeItem) MarshalTo(data []byte) (int, error) {
  3069. var i int
  3070. _ = i
  3071. var l int
  3072. _ = l
  3073. data[i] = 0xa
  3074. i++
  3075. i = encodeVarintGenerated(data, i, uint64(len(m.Type)))
  3076. i += copy(data[i:], m.Type)
  3077. if len(m.Max) > 0 {
  3078. for k := range m.Max {
  3079. data[i] = 0x12
  3080. i++
  3081. v := m.Max[k]
  3082. msgSize := (&v).Size()
  3083. mapSize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + msgSize + sovGenerated(uint64(msgSize))
  3084. i = encodeVarintGenerated(data, i, uint64(mapSize))
  3085. data[i] = 0xa
  3086. i++
  3087. i = encodeVarintGenerated(data, i, uint64(len(k)))
  3088. i += copy(data[i:], k)
  3089. data[i] = 0x12
  3090. i++
  3091. i = encodeVarintGenerated(data, i, uint64((&v).Size()))
  3092. n52, err := (&v).MarshalTo(data[i:])
  3093. if err != nil {
  3094. return 0, err
  3095. }
  3096. i += n52
  3097. }
  3098. }
  3099. if len(m.Min) > 0 {
  3100. for k := range m.Min {
  3101. data[i] = 0x1a
  3102. i++
  3103. v := m.Min[k]
  3104. msgSize := (&v).Size()
  3105. mapSize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + msgSize + sovGenerated(uint64(msgSize))
  3106. i = encodeVarintGenerated(data, i, uint64(mapSize))
  3107. data[i] = 0xa
  3108. i++
  3109. i = encodeVarintGenerated(data, i, uint64(len(k)))
  3110. i += copy(data[i:], k)
  3111. data[i] = 0x12
  3112. i++
  3113. i = encodeVarintGenerated(data, i, uint64((&v).Size()))
  3114. n53, err := (&v).MarshalTo(data[i:])
  3115. if err != nil {
  3116. return 0, err
  3117. }
  3118. i += n53
  3119. }
  3120. }
  3121. if len(m.Default) > 0 {
  3122. for k := range m.Default {
  3123. data[i] = 0x22
  3124. i++
  3125. v := m.Default[k]
  3126. msgSize := (&v).Size()
  3127. mapSize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + msgSize + sovGenerated(uint64(msgSize))
  3128. i = encodeVarintGenerated(data, i, uint64(mapSize))
  3129. data[i] = 0xa
  3130. i++
  3131. i = encodeVarintGenerated(data, i, uint64(len(k)))
  3132. i += copy(data[i:], k)
  3133. data[i] = 0x12
  3134. i++
  3135. i = encodeVarintGenerated(data, i, uint64((&v).Size()))
  3136. n54, err := (&v).MarshalTo(data[i:])
  3137. if err != nil {
  3138. return 0, err
  3139. }
  3140. i += n54
  3141. }
  3142. }
  3143. if len(m.DefaultRequest) > 0 {
  3144. for k := range m.DefaultRequest {
  3145. data[i] = 0x2a
  3146. i++
  3147. v := m.DefaultRequest[k]
  3148. msgSize := (&v).Size()
  3149. mapSize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + msgSize + sovGenerated(uint64(msgSize))
  3150. i = encodeVarintGenerated(data, i, uint64(mapSize))
  3151. data[i] = 0xa
  3152. i++
  3153. i = encodeVarintGenerated(data, i, uint64(len(k)))
  3154. i += copy(data[i:], k)
  3155. data[i] = 0x12
  3156. i++
  3157. i = encodeVarintGenerated(data, i, uint64((&v).Size()))
  3158. n55, err := (&v).MarshalTo(data[i:])
  3159. if err != nil {
  3160. return 0, err
  3161. }
  3162. i += n55
  3163. }
  3164. }
  3165. if len(m.MaxLimitRequestRatio) > 0 {
  3166. for k := range m.MaxLimitRequestRatio {
  3167. data[i] = 0x32
  3168. i++
  3169. v := m.MaxLimitRequestRatio[k]
  3170. msgSize := (&v).Size()
  3171. mapSize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + msgSize + sovGenerated(uint64(msgSize))
  3172. i = encodeVarintGenerated(data, i, uint64(mapSize))
  3173. data[i] = 0xa
  3174. i++
  3175. i = encodeVarintGenerated(data, i, uint64(len(k)))
  3176. i += copy(data[i:], k)
  3177. data[i] = 0x12
  3178. i++
  3179. i = encodeVarintGenerated(data, i, uint64((&v).Size()))
  3180. n56, err := (&v).MarshalTo(data[i:])
  3181. if err != nil {
  3182. return 0, err
  3183. }
  3184. i += n56
  3185. }
  3186. }
  3187. return i, nil
  3188. }
  3189. func (m *LimitRangeList) Marshal() (data []byte, err error) {
  3190. size := m.Size()
  3191. data = make([]byte, size)
  3192. n, err := m.MarshalTo(data)
  3193. if err != nil {
  3194. return nil, err
  3195. }
  3196. return data[:n], nil
  3197. }
  3198. func (m *LimitRangeList) MarshalTo(data []byte) (int, error) {
  3199. var i int
  3200. _ = i
  3201. var l int
  3202. _ = l
  3203. data[i] = 0xa
  3204. i++
  3205. i = encodeVarintGenerated(data, i, uint64(m.ListMeta.Size()))
  3206. n57, err := m.ListMeta.MarshalTo(data[i:])
  3207. if err != nil {
  3208. return 0, err
  3209. }
  3210. i += n57
  3211. if len(m.Items) > 0 {
  3212. for _, msg := range m.Items {
  3213. data[i] = 0x12
  3214. i++
  3215. i = encodeVarintGenerated(data, i, uint64(msg.Size()))
  3216. n, err := msg.MarshalTo(data[i:])
  3217. if err != nil {
  3218. return 0, err
  3219. }
  3220. i += n
  3221. }
  3222. }
  3223. return i, nil
  3224. }
  3225. func (m *LimitRangeSpec) Marshal() (data []byte, err error) {
  3226. size := m.Size()
  3227. data = make([]byte, size)
  3228. n, err := m.MarshalTo(data)
  3229. if err != nil {
  3230. return nil, err
  3231. }
  3232. return data[:n], nil
  3233. }
  3234. func (m *LimitRangeSpec) MarshalTo(data []byte) (int, error) {
  3235. var i int
  3236. _ = i
  3237. var l int
  3238. _ = l
  3239. if len(m.Limits) > 0 {
  3240. for _, msg := range m.Limits {
  3241. data[i] = 0xa
  3242. i++
  3243. i = encodeVarintGenerated(data, i, uint64(msg.Size()))
  3244. n, err := msg.MarshalTo(data[i:])
  3245. if err != nil {
  3246. return 0, err
  3247. }
  3248. i += n
  3249. }
  3250. }
  3251. return i, nil
  3252. }
  3253. func (m *List) Marshal() (data []byte, err error) {
  3254. size := m.Size()
  3255. data = make([]byte, size)
  3256. n, err := m.MarshalTo(data)
  3257. if err != nil {
  3258. return nil, err
  3259. }
  3260. return data[:n], nil
  3261. }
  3262. func (m *List) MarshalTo(data []byte) (int, error) {
  3263. var i int
  3264. _ = i
  3265. var l int
  3266. _ = l
  3267. data[i] = 0xa
  3268. i++
  3269. i = encodeVarintGenerated(data, i, uint64(m.ListMeta.Size()))
  3270. n58, err := m.ListMeta.MarshalTo(data[i:])
  3271. if err != nil {
  3272. return 0, err
  3273. }
  3274. i += n58
  3275. if len(m.Items) > 0 {
  3276. for _, msg := range m.Items {
  3277. data[i] = 0x12
  3278. i++
  3279. i = encodeVarintGenerated(data, i, uint64(msg.Size()))
  3280. n, err := msg.MarshalTo(data[i:])
  3281. if err != nil {
  3282. return 0, err
  3283. }
  3284. i += n
  3285. }
  3286. }
  3287. return i, nil
  3288. }
  3289. func (m *ListOptions) Marshal() (data []byte, err error) {
  3290. size := m.Size()
  3291. data = make([]byte, size)
  3292. n, err := m.MarshalTo(data)
  3293. if err != nil {
  3294. return nil, err
  3295. }
  3296. return data[:n], nil
  3297. }
  3298. func (m *ListOptions) MarshalTo(data []byte) (int, error) {
  3299. var i int
  3300. _ = i
  3301. var l int
  3302. _ = l
  3303. data[i] = 0xa
  3304. i++
  3305. i = encodeVarintGenerated(data, i, uint64(len(m.LabelSelector)))
  3306. i += copy(data[i:], m.LabelSelector)
  3307. data[i] = 0x12
  3308. i++
  3309. i = encodeVarintGenerated(data, i, uint64(len(m.FieldSelector)))
  3310. i += copy(data[i:], m.FieldSelector)
  3311. data[i] = 0x18
  3312. i++
  3313. if m.Watch {
  3314. data[i] = 1
  3315. } else {
  3316. data[i] = 0
  3317. }
  3318. i++
  3319. data[i] = 0x22
  3320. i++
  3321. i = encodeVarintGenerated(data, i, uint64(len(m.ResourceVersion)))
  3322. i += copy(data[i:], m.ResourceVersion)
  3323. if m.TimeoutSeconds != nil {
  3324. data[i] = 0x28
  3325. i++
  3326. i = encodeVarintGenerated(data, i, uint64(*m.TimeoutSeconds))
  3327. }
  3328. return i, nil
  3329. }
  3330. func (m *LoadBalancerIngress) Marshal() (data []byte, err error) {
  3331. size := m.Size()
  3332. data = make([]byte, size)
  3333. n, err := m.MarshalTo(data)
  3334. if err != nil {
  3335. return nil, err
  3336. }
  3337. return data[:n], nil
  3338. }
  3339. func (m *LoadBalancerIngress) MarshalTo(data []byte) (int, error) {
  3340. var i int
  3341. _ = i
  3342. var l int
  3343. _ = l
  3344. data[i] = 0xa
  3345. i++
  3346. i = encodeVarintGenerated(data, i, uint64(len(m.IP)))
  3347. i += copy(data[i:], m.IP)
  3348. data[i] = 0x12
  3349. i++
  3350. i = encodeVarintGenerated(data, i, uint64(len(m.Hostname)))
  3351. i += copy(data[i:], m.Hostname)
  3352. return i, nil
  3353. }
  3354. func (m *LoadBalancerStatus) Marshal() (data []byte, err error) {
  3355. size := m.Size()
  3356. data = make([]byte, size)
  3357. n, err := m.MarshalTo(data)
  3358. if err != nil {
  3359. return nil, err
  3360. }
  3361. return data[:n], nil
  3362. }
  3363. func (m *LoadBalancerStatus) MarshalTo(data []byte) (int, error) {
  3364. var i int
  3365. _ = i
  3366. var l int
  3367. _ = l
  3368. if len(m.Ingress) > 0 {
  3369. for _, msg := range m.Ingress {
  3370. data[i] = 0xa
  3371. i++
  3372. i = encodeVarintGenerated(data, i, uint64(msg.Size()))
  3373. n, err := msg.MarshalTo(data[i:])
  3374. if err != nil {
  3375. return 0, err
  3376. }
  3377. i += n
  3378. }
  3379. }
  3380. return i, nil
  3381. }
  3382. func (m *LocalObjectReference) Marshal() (data []byte, err error) {
  3383. size := m.Size()
  3384. data = make([]byte, size)
  3385. n, err := m.MarshalTo(data)
  3386. if err != nil {
  3387. return nil, err
  3388. }
  3389. return data[:n], nil
  3390. }
  3391. func (m *LocalObjectReference) MarshalTo(data []byte) (int, error) {
  3392. var i int
  3393. _ = i
  3394. var l int
  3395. _ = l
  3396. data[i] = 0xa
  3397. i++
  3398. i = encodeVarintGenerated(data, i, uint64(len(m.Name)))
  3399. i += copy(data[i:], m.Name)
  3400. return i, nil
  3401. }
  3402. func (m *NFSVolumeSource) Marshal() (data []byte, err error) {
  3403. size := m.Size()
  3404. data = make([]byte, size)
  3405. n, err := m.MarshalTo(data)
  3406. if err != nil {
  3407. return nil, err
  3408. }
  3409. return data[:n], nil
  3410. }
  3411. func (m *NFSVolumeSource) MarshalTo(data []byte) (int, error) {
  3412. var i int
  3413. _ = i
  3414. var l int
  3415. _ = l
  3416. data[i] = 0xa
  3417. i++
  3418. i = encodeVarintGenerated(data, i, uint64(len(m.Server)))
  3419. i += copy(data[i:], m.Server)
  3420. data[i] = 0x12
  3421. i++
  3422. i = encodeVarintGenerated(data, i, uint64(len(m.Path)))
  3423. i += copy(data[i:], m.Path)
  3424. data[i] = 0x18
  3425. i++
  3426. if m.ReadOnly {
  3427. data[i] = 1
  3428. } else {
  3429. data[i] = 0
  3430. }
  3431. i++
  3432. return i, nil
  3433. }
  3434. func (m *Namespace) Marshal() (data []byte, err error) {
  3435. size := m.Size()
  3436. data = make([]byte, size)
  3437. n, err := m.MarshalTo(data)
  3438. if err != nil {
  3439. return nil, err
  3440. }
  3441. return data[:n], nil
  3442. }
  3443. func (m *Namespace) MarshalTo(data []byte) (int, error) {
  3444. var i int
  3445. _ = i
  3446. var l int
  3447. _ = l
  3448. data[i] = 0xa
  3449. i++
  3450. i = encodeVarintGenerated(data, i, uint64(m.ObjectMeta.Size()))
  3451. n59, err := m.ObjectMeta.MarshalTo(data[i:])
  3452. if err != nil {
  3453. return 0, err
  3454. }
  3455. i += n59
  3456. data[i] = 0x12
  3457. i++
  3458. i = encodeVarintGenerated(data, i, uint64(m.Spec.Size()))
  3459. n60, err := m.Spec.MarshalTo(data[i:])
  3460. if err != nil {
  3461. return 0, err
  3462. }
  3463. i += n60
  3464. data[i] = 0x1a
  3465. i++
  3466. i = encodeVarintGenerated(data, i, uint64(m.Status.Size()))
  3467. n61, err := m.Status.MarshalTo(data[i:])
  3468. if err != nil {
  3469. return 0, err
  3470. }
  3471. i += n61
  3472. return i, nil
  3473. }
  3474. func (m *NamespaceList) Marshal() (data []byte, err error) {
  3475. size := m.Size()
  3476. data = make([]byte, size)
  3477. n, err := m.MarshalTo(data)
  3478. if err != nil {
  3479. return nil, err
  3480. }
  3481. return data[:n], nil
  3482. }
  3483. func (m *NamespaceList) MarshalTo(data []byte) (int, error) {
  3484. var i int
  3485. _ = i
  3486. var l int
  3487. _ = l
  3488. data[i] = 0xa
  3489. i++
  3490. i = encodeVarintGenerated(data, i, uint64(m.ListMeta.Size()))
  3491. n62, err := m.ListMeta.MarshalTo(data[i:])
  3492. if err != nil {
  3493. return 0, err
  3494. }
  3495. i += n62
  3496. if len(m.Items) > 0 {
  3497. for _, msg := range m.Items {
  3498. data[i] = 0x12
  3499. i++
  3500. i = encodeVarintGenerated(data, i, uint64(msg.Size()))
  3501. n, err := msg.MarshalTo(data[i:])
  3502. if err != nil {
  3503. return 0, err
  3504. }
  3505. i += n
  3506. }
  3507. }
  3508. return i, nil
  3509. }
  3510. func (m *NamespaceSpec) Marshal() (data []byte, err error) {
  3511. size := m.Size()
  3512. data = make([]byte, size)
  3513. n, err := m.MarshalTo(data)
  3514. if err != nil {
  3515. return nil, err
  3516. }
  3517. return data[:n], nil
  3518. }
  3519. func (m *NamespaceSpec) MarshalTo(data []byte) (int, error) {
  3520. var i int
  3521. _ = i
  3522. var l int
  3523. _ = l
  3524. if len(m.Finalizers) > 0 {
  3525. for _, s := range m.Finalizers {
  3526. data[i] = 0xa
  3527. i++
  3528. l = len(s)
  3529. for l >= 1<<7 {
  3530. data[i] = uint8(uint64(l)&0x7f | 0x80)
  3531. l >>= 7
  3532. i++
  3533. }
  3534. data[i] = uint8(l)
  3535. i++
  3536. i += copy(data[i:], s)
  3537. }
  3538. }
  3539. return i, nil
  3540. }
  3541. func (m *NamespaceStatus) Marshal() (data []byte, err error) {
  3542. size := m.Size()
  3543. data = make([]byte, size)
  3544. n, err := m.MarshalTo(data)
  3545. if err != nil {
  3546. return nil, err
  3547. }
  3548. return data[:n], nil
  3549. }
  3550. func (m *NamespaceStatus) MarshalTo(data []byte) (int, error) {
  3551. var i int
  3552. _ = i
  3553. var l int
  3554. _ = l
  3555. data[i] = 0xa
  3556. i++
  3557. i = encodeVarintGenerated(data, i, uint64(len(m.Phase)))
  3558. i += copy(data[i:], m.Phase)
  3559. return i, nil
  3560. }
  3561. func (m *Node) Marshal() (data []byte, err error) {
  3562. size := m.Size()
  3563. data = make([]byte, size)
  3564. n, err := m.MarshalTo(data)
  3565. if err != nil {
  3566. return nil, err
  3567. }
  3568. return data[:n], nil
  3569. }
  3570. func (m *Node) MarshalTo(data []byte) (int, error) {
  3571. var i int
  3572. _ = i
  3573. var l int
  3574. _ = l
  3575. data[i] = 0xa
  3576. i++
  3577. i = encodeVarintGenerated(data, i, uint64(m.ObjectMeta.Size()))
  3578. n63, err := m.ObjectMeta.MarshalTo(data[i:])
  3579. if err != nil {
  3580. return 0, err
  3581. }
  3582. i += n63
  3583. data[i] = 0x12
  3584. i++
  3585. i = encodeVarintGenerated(data, i, uint64(m.Spec.Size()))
  3586. n64, err := m.Spec.MarshalTo(data[i:])
  3587. if err != nil {
  3588. return 0, err
  3589. }
  3590. i += n64
  3591. data[i] = 0x1a
  3592. i++
  3593. i = encodeVarintGenerated(data, i, uint64(m.Status.Size()))
  3594. n65, err := m.Status.MarshalTo(data[i:])
  3595. if err != nil {
  3596. return 0, err
  3597. }
  3598. i += n65
  3599. return i, nil
  3600. }
  3601. func (m *NodeAddress) Marshal() (data []byte, err error) {
  3602. size := m.Size()
  3603. data = make([]byte, size)
  3604. n, err := m.MarshalTo(data)
  3605. if err != nil {
  3606. return nil, err
  3607. }
  3608. return data[:n], nil
  3609. }
  3610. func (m *NodeAddress) MarshalTo(data []byte) (int, error) {
  3611. var i int
  3612. _ = i
  3613. var l int
  3614. _ = l
  3615. data[i] = 0xa
  3616. i++
  3617. i = encodeVarintGenerated(data, i, uint64(len(m.Type)))
  3618. i += copy(data[i:], m.Type)
  3619. data[i] = 0x12
  3620. i++
  3621. i = encodeVarintGenerated(data, i, uint64(len(m.Address)))
  3622. i += copy(data[i:], m.Address)
  3623. return i, nil
  3624. }
  3625. func (m *NodeAffinity) Marshal() (data []byte, err error) {
  3626. size := m.Size()
  3627. data = make([]byte, size)
  3628. n, err := m.MarshalTo(data)
  3629. if err != nil {
  3630. return nil, err
  3631. }
  3632. return data[:n], nil
  3633. }
  3634. func (m *NodeAffinity) MarshalTo(data []byte) (int, error) {
  3635. var i int
  3636. _ = i
  3637. var l int
  3638. _ = l
  3639. if m.RequiredDuringSchedulingIgnoredDuringExecution != nil {
  3640. data[i] = 0xa
  3641. i++
  3642. i = encodeVarintGenerated(data, i, uint64(m.RequiredDuringSchedulingIgnoredDuringExecution.Size()))
  3643. n66, err := m.RequiredDuringSchedulingIgnoredDuringExecution.MarshalTo(data[i:])
  3644. if err != nil {
  3645. return 0, err
  3646. }
  3647. i += n66
  3648. }
  3649. if len(m.PreferredDuringSchedulingIgnoredDuringExecution) > 0 {
  3650. for _, msg := range m.PreferredDuringSchedulingIgnoredDuringExecution {
  3651. data[i] = 0x12
  3652. i++
  3653. i = encodeVarintGenerated(data, i, uint64(msg.Size()))
  3654. n, err := msg.MarshalTo(data[i:])
  3655. if err != nil {
  3656. return 0, err
  3657. }
  3658. i += n
  3659. }
  3660. }
  3661. return i, nil
  3662. }
  3663. func (m *NodeCondition) Marshal() (data []byte, err error) {
  3664. size := m.Size()
  3665. data = make([]byte, size)
  3666. n, err := m.MarshalTo(data)
  3667. if err != nil {
  3668. return nil, err
  3669. }
  3670. return data[:n], nil
  3671. }
  3672. func (m *NodeCondition) MarshalTo(data []byte) (int, error) {
  3673. var i int
  3674. _ = i
  3675. var l int
  3676. _ = l
  3677. data[i] = 0xa
  3678. i++
  3679. i = encodeVarintGenerated(data, i, uint64(len(m.Type)))
  3680. i += copy(data[i:], m.Type)
  3681. data[i] = 0x12
  3682. i++
  3683. i = encodeVarintGenerated(data, i, uint64(len(m.Status)))
  3684. i += copy(data[i:], m.Status)
  3685. data[i] = 0x1a
  3686. i++
  3687. i = encodeVarintGenerated(data, i, uint64(m.LastHeartbeatTime.Size()))
  3688. n67, err := m.LastHeartbeatTime.MarshalTo(data[i:])
  3689. if err != nil {
  3690. return 0, err
  3691. }
  3692. i += n67
  3693. data[i] = 0x22
  3694. i++
  3695. i = encodeVarintGenerated(data, i, uint64(m.LastTransitionTime.Size()))
  3696. n68, err := m.LastTransitionTime.MarshalTo(data[i:])
  3697. if err != nil {
  3698. return 0, err
  3699. }
  3700. i += n68
  3701. data[i] = 0x2a
  3702. i++
  3703. i = encodeVarintGenerated(data, i, uint64(len(m.Reason)))
  3704. i += copy(data[i:], m.Reason)
  3705. data[i] = 0x32
  3706. i++
  3707. i = encodeVarintGenerated(data, i, uint64(len(m.Message)))
  3708. i += copy(data[i:], m.Message)
  3709. return i, nil
  3710. }
  3711. func (m *NodeDaemonEndpoints) Marshal() (data []byte, err error) {
  3712. size := m.Size()
  3713. data = make([]byte, size)
  3714. n, err := m.MarshalTo(data)
  3715. if err != nil {
  3716. return nil, err
  3717. }
  3718. return data[:n], nil
  3719. }
  3720. func (m *NodeDaemonEndpoints) MarshalTo(data []byte) (int, error) {
  3721. var i int
  3722. _ = i
  3723. var l int
  3724. _ = l
  3725. data[i] = 0xa
  3726. i++
  3727. i = encodeVarintGenerated(data, i, uint64(m.KubeletEndpoint.Size()))
  3728. n69, err := m.KubeletEndpoint.MarshalTo(data[i:])
  3729. if err != nil {
  3730. return 0, err
  3731. }
  3732. i += n69
  3733. return i, nil
  3734. }
  3735. func (m *NodeList) Marshal() (data []byte, err error) {
  3736. size := m.Size()
  3737. data = make([]byte, size)
  3738. n, err := m.MarshalTo(data)
  3739. if err != nil {
  3740. return nil, err
  3741. }
  3742. return data[:n], nil
  3743. }
  3744. func (m *NodeList) MarshalTo(data []byte) (int, error) {
  3745. var i int
  3746. _ = i
  3747. var l int
  3748. _ = l
  3749. data[i] = 0xa
  3750. i++
  3751. i = encodeVarintGenerated(data, i, uint64(m.ListMeta.Size()))
  3752. n70, err := m.ListMeta.MarshalTo(data[i:])
  3753. if err != nil {
  3754. return 0, err
  3755. }
  3756. i += n70
  3757. if len(m.Items) > 0 {
  3758. for _, msg := range m.Items {
  3759. data[i] = 0x12
  3760. i++
  3761. i = encodeVarintGenerated(data, i, uint64(msg.Size()))
  3762. n, err := msg.MarshalTo(data[i:])
  3763. if err != nil {
  3764. return 0, err
  3765. }
  3766. i += n
  3767. }
  3768. }
  3769. return i, nil
  3770. }
  3771. func (m *NodeProxyOptions) Marshal() (data []byte, err error) {
  3772. size := m.Size()
  3773. data = make([]byte, size)
  3774. n, err := m.MarshalTo(data)
  3775. if err != nil {
  3776. return nil, err
  3777. }
  3778. return data[:n], nil
  3779. }
  3780. func (m *NodeProxyOptions) MarshalTo(data []byte) (int, error) {
  3781. var i int
  3782. _ = i
  3783. var l int
  3784. _ = l
  3785. data[i] = 0xa
  3786. i++
  3787. i = encodeVarintGenerated(data, i, uint64(len(m.Path)))
  3788. i += copy(data[i:], m.Path)
  3789. return i, nil
  3790. }
  3791. func (m *NodeSelector) Marshal() (data []byte, err error) {
  3792. size := m.Size()
  3793. data = make([]byte, size)
  3794. n, err := m.MarshalTo(data)
  3795. if err != nil {
  3796. return nil, err
  3797. }
  3798. return data[:n], nil
  3799. }
  3800. func (m *NodeSelector) MarshalTo(data []byte) (int, error) {
  3801. var i int
  3802. _ = i
  3803. var l int
  3804. _ = l
  3805. if len(m.NodeSelectorTerms) > 0 {
  3806. for _, msg := range m.NodeSelectorTerms {
  3807. data[i] = 0xa
  3808. i++
  3809. i = encodeVarintGenerated(data, i, uint64(msg.Size()))
  3810. n, err := msg.MarshalTo(data[i:])
  3811. if err != nil {
  3812. return 0, err
  3813. }
  3814. i += n
  3815. }
  3816. }
  3817. return i, nil
  3818. }
  3819. func (m *NodeSelectorRequirement) Marshal() (data []byte, err error) {
  3820. size := m.Size()
  3821. data = make([]byte, size)
  3822. n, err := m.MarshalTo(data)
  3823. if err != nil {
  3824. return nil, err
  3825. }
  3826. return data[:n], nil
  3827. }
  3828. func (m *NodeSelectorRequirement) MarshalTo(data []byte) (int, error) {
  3829. var i int
  3830. _ = i
  3831. var l int
  3832. _ = l
  3833. data[i] = 0xa
  3834. i++
  3835. i = encodeVarintGenerated(data, i, uint64(len(m.Key)))
  3836. i += copy(data[i:], m.Key)
  3837. data[i] = 0x12
  3838. i++
  3839. i = encodeVarintGenerated(data, i, uint64(len(m.Operator)))
  3840. i += copy(data[i:], m.Operator)
  3841. if len(m.Values) > 0 {
  3842. for _, s := range m.Values {
  3843. data[i] = 0x1a
  3844. i++
  3845. l = len(s)
  3846. for l >= 1<<7 {
  3847. data[i] = uint8(uint64(l)&0x7f | 0x80)
  3848. l >>= 7
  3849. i++
  3850. }
  3851. data[i] = uint8(l)
  3852. i++
  3853. i += copy(data[i:], s)
  3854. }
  3855. }
  3856. return i, nil
  3857. }
  3858. func (m *NodeSelectorTerm) Marshal() (data []byte, err error) {
  3859. size := m.Size()
  3860. data = make([]byte, size)
  3861. n, err := m.MarshalTo(data)
  3862. if err != nil {
  3863. return nil, err
  3864. }
  3865. return data[:n], nil
  3866. }
  3867. func (m *NodeSelectorTerm) MarshalTo(data []byte) (int, error) {
  3868. var i int
  3869. _ = i
  3870. var l int
  3871. _ = l
  3872. if len(m.MatchExpressions) > 0 {
  3873. for _, msg := range m.MatchExpressions {
  3874. data[i] = 0xa
  3875. i++
  3876. i = encodeVarintGenerated(data, i, uint64(msg.Size()))
  3877. n, err := msg.MarshalTo(data[i:])
  3878. if err != nil {
  3879. return 0, err
  3880. }
  3881. i += n
  3882. }
  3883. }
  3884. return i, nil
  3885. }
  3886. func (m *NodeSpec) Marshal() (data []byte, err error) {
  3887. size := m.Size()
  3888. data = make([]byte, size)
  3889. n, err := m.MarshalTo(data)
  3890. if err != nil {
  3891. return nil, err
  3892. }
  3893. return data[:n], nil
  3894. }
  3895. func (m *NodeSpec) MarshalTo(data []byte) (int, error) {
  3896. var i int
  3897. _ = i
  3898. var l int
  3899. _ = l
  3900. data[i] = 0xa
  3901. i++
  3902. i = encodeVarintGenerated(data, i, uint64(len(m.PodCIDR)))
  3903. i += copy(data[i:], m.PodCIDR)
  3904. data[i] = 0x12
  3905. i++
  3906. i = encodeVarintGenerated(data, i, uint64(len(m.ExternalID)))
  3907. i += copy(data[i:], m.ExternalID)
  3908. data[i] = 0x1a
  3909. i++
  3910. i = encodeVarintGenerated(data, i, uint64(len(m.ProviderID)))
  3911. i += copy(data[i:], m.ProviderID)
  3912. data[i] = 0x20
  3913. i++
  3914. if m.Unschedulable {
  3915. data[i] = 1
  3916. } else {
  3917. data[i] = 0
  3918. }
  3919. i++
  3920. return i, nil
  3921. }
  3922. func (m *NodeStatus) Marshal() (data []byte, err error) {
  3923. size := m.Size()
  3924. data = make([]byte, size)
  3925. n, err := m.MarshalTo(data)
  3926. if err != nil {
  3927. return nil, err
  3928. }
  3929. return data[:n], nil
  3930. }
  3931. func (m *NodeStatus) MarshalTo(data []byte) (int, error) {
  3932. var i int
  3933. _ = i
  3934. var l int
  3935. _ = l
  3936. if len(m.Capacity) > 0 {
  3937. for k := range m.Capacity {
  3938. data[i] = 0xa
  3939. i++
  3940. v := m.Capacity[k]
  3941. msgSize := (&v).Size()
  3942. mapSize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + msgSize + sovGenerated(uint64(msgSize))
  3943. i = encodeVarintGenerated(data, i, uint64(mapSize))
  3944. data[i] = 0xa
  3945. i++
  3946. i = encodeVarintGenerated(data, i, uint64(len(k)))
  3947. i += copy(data[i:], k)
  3948. data[i] = 0x12
  3949. i++
  3950. i = encodeVarintGenerated(data, i, uint64((&v).Size()))
  3951. n71, err := (&v).MarshalTo(data[i:])
  3952. if err != nil {
  3953. return 0, err
  3954. }
  3955. i += n71
  3956. }
  3957. }
  3958. if len(m.Allocatable) > 0 {
  3959. for k := range m.Allocatable {
  3960. data[i] = 0x12
  3961. i++
  3962. v := m.Allocatable[k]
  3963. msgSize := (&v).Size()
  3964. mapSize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + msgSize + sovGenerated(uint64(msgSize))
  3965. i = encodeVarintGenerated(data, i, uint64(mapSize))
  3966. data[i] = 0xa
  3967. i++
  3968. i = encodeVarintGenerated(data, i, uint64(len(k)))
  3969. i += copy(data[i:], k)
  3970. data[i] = 0x12
  3971. i++
  3972. i = encodeVarintGenerated(data, i, uint64((&v).Size()))
  3973. n72, err := (&v).MarshalTo(data[i:])
  3974. if err != nil {
  3975. return 0, err
  3976. }
  3977. i += n72
  3978. }
  3979. }
  3980. data[i] = 0x1a
  3981. i++
  3982. i = encodeVarintGenerated(data, i, uint64(len(m.Phase)))
  3983. i += copy(data[i:], m.Phase)
  3984. if len(m.Conditions) > 0 {
  3985. for _, msg := range m.Conditions {
  3986. data[i] = 0x22
  3987. i++
  3988. i = encodeVarintGenerated(data, i, uint64(msg.Size()))
  3989. n, err := msg.MarshalTo(data[i:])
  3990. if err != nil {
  3991. return 0, err
  3992. }
  3993. i += n
  3994. }
  3995. }
  3996. if len(m.Addresses) > 0 {
  3997. for _, msg := range m.Addresses {
  3998. data[i] = 0x2a
  3999. i++
  4000. i = encodeVarintGenerated(data, i, uint64(msg.Size()))
  4001. n, err := msg.MarshalTo(data[i:])
  4002. if err != nil {
  4003. return 0, err
  4004. }
  4005. i += n
  4006. }
  4007. }
  4008. data[i] = 0x32
  4009. i++
  4010. i = encodeVarintGenerated(data, i, uint64(m.DaemonEndpoints.Size()))
  4011. n73, err := m.DaemonEndpoints.MarshalTo(data[i:])
  4012. if err != nil {
  4013. return 0, err
  4014. }
  4015. i += n73
  4016. data[i] = 0x3a
  4017. i++
  4018. i = encodeVarintGenerated(data, i, uint64(m.NodeInfo.Size()))
  4019. n74, err := m.NodeInfo.MarshalTo(data[i:])
  4020. if err != nil {
  4021. return 0, err
  4022. }
  4023. i += n74
  4024. if len(m.Images) > 0 {
  4025. for _, msg := range m.Images {
  4026. data[i] = 0x42
  4027. i++
  4028. i = encodeVarintGenerated(data, i, uint64(msg.Size()))
  4029. n, err := msg.MarshalTo(data[i:])
  4030. if err != nil {
  4031. return 0, err
  4032. }
  4033. i += n
  4034. }
  4035. }
  4036. if len(m.VolumesInUse) > 0 {
  4037. for _, s := range m.VolumesInUse {
  4038. data[i] = 0x4a
  4039. i++
  4040. l = len(s)
  4041. for l >= 1<<7 {
  4042. data[i] = uint8(uint64(l)&0x7f | 0x80)
  4043. l >>= 7
  4044. i++
  4045. }
  4046. data[i] = uint8(l)
  4047. i++
  4048. i += copy(data[i:], s)
  4049. }
  4050. }
  4051. if len(m.VolumesAttached) > 0 {
  4052. for _, msg := range m.VolumesAttached {
  4053. data[i] = 0x52
  4054. i++
  4055. i = encodeVarintGenerated(data, i, uint64(msg.Size()))
  4056. n, err := msg.MarshalTo(data[i:])
  4057. if err != nil {
  4058. return 0, err
  4059. }
  4060. i += n
  4061. }
  4062. }
  4063. return i, nil
  4064. }
  4065. func (m *NodeSystemInfo) Marshal() (data []byte, err error) {
  4066. size := m.Size()
  4067. data = make([]byte, size)
  4068. n, err := m.MarshalTo(data)
  4069. if err != nil {
  4070. return nil, err
  4071. }
  4072. return data[:n], nil
  4073. }
  4074. func (m *NodeSystemInfo) MarshalTo(data []byte) (int, error) {
  4075. var i int
  4076. _ = i
  4077. var l int
  4078. _ = l
  4079. data[i] = 0xa
  4080. i++
  4081. i = encodeVarintGenerated(data, i, uint64(len(m.MachineID)))
  4082. i += copy(data[i:], m.MachineID)
  4083. data[i] = 0x12
  4084. i++
  4085. i = encodeVarintGenerated(data, i, uint64(len(m.SystemUUID)))
  4086. i += copy(data[i:], m.SystemUUID)
  4087. data[i] = 0x1a
  4088. i++
  4089. i = encodeVarintGenerated(data, i, uint64(len(m.BootID)))
  4090. i += copy(data[i:], m.BootID)
  4091. data[i] = 0x22
  4092. i++
  4093. i = encodeVarintGenerated(data, i, uint64(len(m.KernelVersion)))
  4094. i += copy(data[i:], m.KernelVersion)
  4095. data[i] = 0x2a
  4096. i++
  4097. i = encodeVarintGenerated(data, i, uint64(len(m.OSImage)))
  4098. i += copy(data[i:], m.OSImage)
  4099. data[i] = 0x32
  4100. i++
  4101. i = encodeVarintGenerated(data, i, uint64(len(m.ContainerRuntimeVersion)))
  4102. i += copy(data[i:], m.ContainerRuntimeVersion)
  4103. data[i] = 0x3a
  4104. i++
  4105. i = encodeVarintGenerated(data, i, uint64(len(m.KubeletVersion)))
  4106. i += copy(data[i:], m.KubeletVersion)
  4107. data[i] = 0x42
  4108. i++
  4109. i = encodeVarintGenerated(data, i, uint64(len(m.KubeProxyVersion)))
  4110. i += copy(data[i:], m.KubeProxyVersion)
  4111. data[i] = 0x4a
  4112. i++
  4113. i = encodeVarintGenerated(data, i, uint64(len(m.OperatingSystem)))
  4114. i += copy(data[i:], m.OperatingSystem)
  4115. data[i] = 0x52
  4116. i++
  4117. i = encodeVarintGenerated(data, i, uint64(len(m.Architecture)))
  4118. i += copy(data[i:], m.Architecture)
  4119. return i, nil
  4120. }
  4121. func (m *ObjectFieldSelector) Marshal() (data []byte, err error) {
  4122. size := m.Size()
  4123. data = make([]byte, size)
  4124. n, err := m.MarshalTo(data)
  4125. if err != nil {
  4126. return nil, err
  4127. }
  4128. return data[:n], nil
  4129. }
  4130. func (m *ObjectFieldSelector) MarshalTo(data []byte) (int, error) {
  4131. var i int
  4132. _ = i
  4133. var l int
  4134. _ = l
  4135. data[i] = 0xa
  4136. i++
  4137. i = encodeVarintGenerated(data, i, uint64(len(m.APIVersion)))
  4138. i += copy(data[i:], m.APIVersion)
  4139. data[i] = 0x12
  4140. i++
  4141. i = encodeVarintGenerated(data, i, uint64(len(m.FieldPath)))
  4142. i += copy(data[i:], m.FieldPath)
  4143. return i, nil
  4144. }
  4145. func (m *ObjectMeta) Marshal() (data []byte, err error) {
  4146. size := m.Size()
  4147. data = make([]byte, size)
  4148. n, err := m.MarshalTo(data)
  4149. if err != nil {
  4150. return nil, err
  4151. }
  4152. return data[:n], nil
  4153. }
  4154. func (m *ObjectMeta) MarshalTo(data []byte) (int, error) {
  4155. var i int
  4156. _ = i
  4157. var l int
  4158. _ = l
  4159. data[i] = 0xa
  4160. i++
  4161. i = encodeVarintGenerated(data, i, uint64(len(m.Name)))
  4162. i += copy(data[i:], m.Name)
  4163. data[i] = 0x12
  4164. i++
  4165. i = encodeVarintGenerated(data, i, uint64(len(m.GenerateName)))
  4166. i += copy(data[i:], m.GenerateName)
  4167. data[i] = 0x1a
  4168. i++
  4169. i = encodeVarintGenerated(data, i, uint64(len(m.Namespace)))
  4170. i += copy(data[i:], m.Namespace)
  4171. data[i] = 0x22
  4172. i++
  4173. i = encodeVarintGenerated(data, i, uint64(len(m.SelfLink)))
  4174. i += copy(data[i:], m.SelfLink)
  4175. data[i] = 0x2a
  4176. i++
  4177. i = encodeVarintGenerated(data, i, uint64(len(m.UID)))
  4178. i += copy(data[i:], m.UID)
  4179. data[i] = 0x32
  4180. i++
  4181. i = encodeVarintGenerated(data, i, uint64(len(m.ResourceVersion)))
  4182. i += copy(data[i:], m.ResourceVersion)
  4183. data[i] = 0x38
  4184. i++
  4185. i = encodeVarintGenerated(data, i, uint64(m.Generation))
  4186. data[i] = 0x42
  4187. i++
  4188. i = encodeVarintGenerated(data, i, uint64(m.CreationTimestamp.Size()))
  4189. n75, err := m.CreationTimestamp.MarshalTo(data[i:])
  4190. if err != nil {
  4191. return 0, err
  4192. }
  4193. i += n75
  4194. if m.DeletionTimestamp != nil {
  4195. data[i] = 0x4a
  4196. i++
  4197. i = encodeVarintGenerated(data, i, uint64(m.DeletionTimestamp.Size()))
  4198. n76, err := m.DeletionTimestamp.MarshalTo(data[i:])
  4199. if err != nil {
  4200. return 0, err
  4201. }
  4202. i += n76
  4203. }
  4204. if m.DeletionGracePeriodSeconds != nil {
  4205. data[i] = 0x50
  4206. i++
  4207. i = encodeVarintGenerated(data, i, uint64(*m.DeletionGracePeriodSeconds))
  4208. }
  4209. if len(m.Labels) > 0 {
  4210. for k := range m.Labels {
  4211. data[i] = 0x5a
  4212. i++
  4213. v := m.Labels[k]
  4214. mapSize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + len(v) + sovGenerated(uint64(len(v)))
  4215. i = encodeVarintGenerated(data, i, uint64(mapSize))
  4216. data[i] = 0xa
  4217. i++
  4218. i = encodeVarintGenerated(data, i, uint64(len(k)))
  4219. i += copy(data[i:], k)
  4220. data[i] = 0x12
  4221. i++
  4222. i = encodeVarintGenerated(data, i, uint64(len(v)))
  4223. i += copy(data[i:], v)
  4224. }
  4225. }
  4226. if len(m.Annotations) > 0 {
  4227. for k := range m.Annotations {
  4228. data[i] = 0x62
  4229. i++
  4230. v := m.Annotations[k]
  4231. mapSize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + len(v) + sovGenerated(uint64(len(v)))
  4232. i = encodeVarintGenerated(data, i, uint64(mapSize))
  4233. data[i] = 0xa
  4234. i++
  4235. i = encodeVarintGenerated(data, i, uint64(len(k)))
  4236. i += copy(data[i:], k)
  4237. data[i] = 0x12
  4238. i++
  4239. i = encodeVarintGenerated(data, i, uint64(len(v)))
  4240. i += copy(data[i:], v)
  4241. }
  4242. }
  4243. if len(m.OwnerReferences) > 0 {
  4244. for _, msg := range m.OwnerReferences {
  4245. data[i] = 0x6a
  4246. i++
  4247. i = encodeVarintGenerated(data, i, uint64(msg.Size()))
  4248. n, err := msg.MarshalTo(data[i:])
  4249. if err != nil {
  4250. return 0, err
  4251. }
  4252. i += n
  4253. }
  4254. }
  4255. if len(m.Finalizers) > 0 {
  4256. for _, s := range m.Finalizers {
  4257. data[i] = 0x72
  4258. i++
  4259. l = len(s)
  4260. for l >= 1<<7 {
  4261. data[i] = uint8(uint64(l)&0x7f | 0x80)
  4262. l >>= 7
  4263. i++
  4264. }
  4265. data[i] = uint8(l)
  4266. i++
  4267. i += copy(data[i:], s)
  4268. }
  4269. }
  4270. data[i] = 0x7a
  4271. i++
  4272. i = encodeVarintGenerated(data, i, uint64(len(m.ClusterName)))
  4273. i += copy(data[i:], m.ClusterName)
  4274. return i, nil
  4275. }
  4276. func (m *ObjectReference) Marshal() (data []byte, err error) {
  4277. size := m.Size()
  4278. data = make([]byte, size)
  4279. n, err := m.MarshalTo(data)
  4280. if err != nil {
  4281. return nil, err
  4282. }
  4283. return data[:n], nil
  4284. }
  4285. func (m *ObjectReference) MarshalTo(data []byte) (int, error) {
  4286. var i int
  4287. _ = i
  4288. var l int
  4289. _ = l
  4290. data[i] = 0xa
  4291. i++
  4292. i = encodeVarintGenerated(data, i, uint64(len(m.Kind)))
  4293. i += copy(data[i:], m.Kind)
  4294. data[i] = 0x12
  4295. i++
  4296. i = encodeVarintGenerated(data, i, uint64(len(m.Namespace)))
  4297. i += copy(data[i:], m.Namespace)
  4298. data[i] = 0x1a
  4299. i++
  4300. i = encodeVarintGenerated(data, i, uint64(len(m.Name)))
  4301. i += copy(data[i:], m.Name)
  4302. data[i] = 0x22
  4303. i++
  4304. i = encodeVarintGenerated(data, i, uint64(len(m.UID)))
  4305. i += copy(data[i:], m.UID)
  4306. data[i] = 0x2a
  4307. i++
  4308. i = encodeVarintGenerated(data, i, uint64(len(m.APIVersion)))
  4309. i += copy(data[i:], m.APIVersion)
  4310. data[i] = 0x32
  4311. i++
  4312. i = encodeVarintGenerated(data, i, uint64(len(m.ResourceVersion)))
  4313. i += copy(data[i:], m.ResourceVersion)
  4314. data[i] = 0x3a
  4315. i++
  4316. i = encodeVarintGenerated(data, i, uint64(len(m.FieldPath)))
  4317. i += copy(data[i:], m.FieldPath)
  4318. return i, nil
  4319. }
  4320. func (m *OwnerReference) Marshal() (data []byte, err error) {
  4321. size := m.Size()
  4322. data = make([]byte, size)
  4323. n, err := m.MarshalTo(data)
  4324. if err != nil {
  4325. return nil, err
  4326. }
  4327. return data[:n], nil
  4328. }
  4329. func (m *OwnerReference) MarshalTo(data []byte) (int, error) {
  4330. var i int
  4331. _ = i
  4332. var l int
  4333. _ = l
  4334. data[i] = 0xa
  4335. i++
  4336. i = encodeVarintGenerated(data, i, uint64(len(m.Kind)))
  4337. i += copy(data[i:], m.Kind)
  4338. data[i] = 0x1a
  4339. i++
  4340. i = encodeVarintGenerated(data, i, uint64(len(m.Name)))
  4341. i += copy(data[i:], m.Name)
  4342. data[i] = 0x22
  4343. i++
  4344. i = encodeVarintGenerated(data, i, uint64(len(m.UID)))
  4345. i += copy(data[i:], m.UID)
  4346. data[i] = 0x2a
  4347. i++
  4348. i = encodeVarintGenerated(data, i, uint64(len(m.APIVersion)))
  4349. i += copy(data[i:], m.APIVersion)
  4350. if m.Controller != nil {
  4351. data[i] = 0x30
  4352. i++
  4353. if *m.Controller {
  4354. data[i] = 1
  4355. } else {
  4356. data[i] = 0
  4357. }
  4358. i++
  4359. }
  4360. return i, nil
  4361. }
  4362. func (m *PersistentVolume) Marshal() (data []byte, err error) {
  4363. size := m.Size()
  4364. data = make([]byte, size)
  4365. n, err := m.MarshalTo(data)
  4366. if err != nil {
  4367. return nil, err
  4368. }
  4369. return data[:n], nil
  4370. }
  4371. func (m *PersistentVolume) MarshalTo(data []byte) (int, error) {
  4372. var i int
  4373. _ = i
  4374. var l int
  4375. _ = l
  4376. data[i] = 0xa
  4377. i++
  4378. i = encodeVarintGenerated(data, i, uint64(m.ObjectMeta.Size()))
  4379. n77, err := m.ObjectMeta.MarshalTo(data[i:])
  4380. if err != nil {
  4381. return 0, err
  4382. }
  4383. i += n77
  4384. data[i] = 0x12
  4385. i++
  4386. i = encodeVarintGenerated(data, i, uint64(m.Spec.Size()))
  4387. n78, err := m.Spec.MarshalTo(data[i:])
  4388. if err != nil {
  4389. return 0, err
  4390. }
  4391. i += n78
  4392. data[i] = 0x1a
  4393. i++
  4394. i = encodeVarintGenerated(data, i, uint64(m.Status.Size()))
  4395. n79, err := m.Status.MarshalTo(data[i:])
  4396. if err != nil {
  4397. return 0, err
  4398. }
  4399. i += n79
  4400. return i, nil
  4401. }
  4402. func (m *PersistentVolumeClaim) Marshal() (data []byte, err error) {
  4403. size := m.Size()
  4404. data = make([]byte, size)
  4405. n, err := m.MarshalTo(data)
  4406. if err != nil {
  4407. return nil, err
  4408. }
  4409. return data[:n], nil
  4410. }
  4411. func (m *PersistentVolumeClaim) MarshalTo(data []byte) (int, error) {
  4412. var i int
  4413. _ = i
  4414. var l int
  4415. _ = l
  4416. data[i] = 0xa
  4417. i++
  4418. i = encodeVarintGenerated(data, i, uint64(m.ObjectMeta.Size()))
  4419. n80, err := m.ObjectMeta.MarshalTo(data[i:])
  4420. if err != nil {
  4421. return 0, err
  4422. }
  4423. i += n80
  4424. data[i] = 0x12
  4425. i++
  4426. i = encodeVarintGenerated(data, i, uint64(m.Spec.Size()))
  4427. n81, err := m.Spec.MarshalTo(data[i:])
  4428. if err != nil {
  4429. return 0, err
  4430. }
  4431. i += n81
  4432. data[i] = 0x1a
  4433. i++
  4434. i = encodeVarintGenerated(data, i, uint64(m.Status.Size()))
  4435. n82, err := m.Status.MarshalTo(data[i:])
  4436. if err != nil {
  4437. return 0, err
  4438. }
  4439. i += n82
  4440. return i, nil
  4441. }
  4442. func (m *PersistentVolumeClaimList) Marshal() (data []byte, err error) {
  4443. size := m.Size()
  4444. data = make([]byte, size)
  4445. n, err := m.MarshalTo(data)
  4446. if err != nil {
  4447. return nil, err
  4448. }
  4449. return data[:n], nil
  4450. }
  4451. func (m *PersistentVolumeClaimList) MarshalTo(data []byte) (int, error) {
  4452. var i int
  4453. _ = i
  4454. var l int
  4455. _ = l
  4456. data[i] = 0xa
  4457. i++
  4458. i = encodeVarintGenerated(data, i, uint64(m.ListMeta.Size()))
  4459. n83, err := m.ListMeta.MarshalTo(data[i:])
  4460. if err != nil {
  4461. return 0, err
  4462. }
  4463. i += n83
  4464. if len(m.Items) > 0 {
  4465. for _, msg := range m.Items {
  4466. data[i] = 0x12
  4467. i++
  4468. i = encodeVarintGenerated(data, i, uint64(msg.Size()))
  4469. n, err := msg.MarshalTo(data[i:])
  4470. if err != nil {
  4471. return 0, err
  4472. }
  4473. i += n
  4474. }
  4475. }
  4476. return i, nil
  4477. }
  4478. func (m *PersistentVolumeClaimSpec) Marshal() (data []byte, err error) {
  4479. size := m.Size()
  4480. data = make([]byte, size)
  4481. n, err := m.MarshalTo(data)
  4482. if err != nil {
  4483. return nil, err
  4484. }
  4485. return data[:n], nil
  4486. }
  4487. func (m *PersistentVolumeClaimSpec) MarshalTo(data []byte) (int, error) {
  4488. var i int
  4489. _ = i
  4490. var l int
  4491. _ = l
  4492. if len(m.AccessModes) > 0 {
  4493. for _, s := range m.AccessModes {
  4494. data[i] = 0xa
  4495. i++
  4496. l = len(s)
  4497. for l >= 1<<7 {
  4498. data[i] = uint8(uint64(l)&0x7f | 0x80)
  4499. l >>= 7
  4500. i++
  4501. }
  4502. data[i] = uint8(l)
  4503. i++
  4504. i += copy(data[i:], s)
  4505. }
  4506. }
  4507. data[i] = 0x12
  4508. i++
  4509. i = encodeVarintGenerated(data, i, uint64(m.Resources.Size()))
  4510. n84, err := m.Resources.MarshalTo(data[i:])
  4511. if err != nil {
  4512. return 0, err
  4513. }
  4514. i += n84
  4515. data[i] = 0x1a
  4516. i++
  4517. i = encodeVarintGenerated(data, i, uint64(len(m.VolumeName)))
  4518. i += copy(data[i:], m.VolumeName)
  4519. if m.Selector != nil {
  4520. data[i] = 0x22
  4521. i++
  4522. i = encodeVarintGenerated(data, i, uint64(m.Selector.Size()))
  4523. n85, err := m.Selector.MarshalTo(data[i:])
  4524. if err != nil {
  4525. return 0, err
  4526. }
  4527. i += n85
  4528. }
  4529. return i, nil
  4530. }
  4531. func (m *PersistentVolumeClaimStatus) Marshal() (data []byte, err error) {
  4532. size := m.Size()
  4533. data = make([]byte, size)
  4534. n, err := m.MarshalTo(data)
  4535. if err != nil {
  4536. return nil, err
  4537. }
  4538. return data[:n], nil
  4539. }
  4540. func (m *PersistentVolumeClaimStatus) MarshalTo(data []byte) (int, error) {
  4541. var i int
  4542. _ = i
  4543. var l int
  4544. _ = l
  4545. data[i] = 0xa
  4546. i++
  4547. i = encodeVarintGenerated(data, i, uint64(len(m.Phase)))
  4548. i += copy(data[i:], m.Phase)
  4549. if len(m.AccessModes) > 0 {
  4550. for _, s := range m.AccessModes {
  4551. data[i] = 0x12
  4552. i++
  4553. l = len(s)
  4554. for l >= 1<<7 {
  4555. data[i] = uint8(uint64(l)&0x7f | 0x80)
  4556. l >>= 7
  4557. i++
  4558. }
  4559. data[i] = uint8(l)
  4560. i++
  4561. i += copy(data[i:], s)
  4562. }
  4563. }
  4564. if len(m.Capacity) > 0 {
  4565. for k := range m.Capacity {
  4566. data[i] = 0x1a
  4567. i++
  4568. v := m.Capacity[k]
  4569. msgSize := (&v).Size()
  4570. mapSize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + msgSize + sovGenerated(uint64(msgSize))
  4571. i = encodeVarintGenerated(data, i, uint64(mapSize))
  4572. data[i] = 0xa
  4573. i++
  4574. i = encodeVarintGenerated(data, i, uint64(len(k)))
  4575. i += copy(data[i:], k)
  4576. data[i] = 0x12
  4577. i++
  4578. i = encodeVarintGenerated(data, i, uint64((&v).Size()))
  4579. n86, err := (&v).MarshalTo(data[i:])
  4580. if err != nil {
  4581. return 0, err
  4582. }
  4583. i += n86
  4584. }
  4585. }
  4586. return i, nil
  4587. }
  4588. func (m *PersistentVolumeClaimVolumeSource) Marshal() (data []byte, err error) {
  4589. size := m.Size()
  4590. data = make([]byte, size)
  4591. n, err := m.MarshalTo(data)
  4592. if err != nil {
  4593. return nil, err
  4594. }
  4595. return data[:n], nil
  4596. }
  4597. func (m *PersistentVolumeClaimVolumeSource) MarshalTo(data []byte) (int, error) {
  4598. var i int
  4599. _ = i
  4600. var l int
  4601. _ = l
  4602. data[i] = 0xa
  4603. i++
  4604. i = encodeVarintGenerated(data, i, uint64(len(m.ClaimName)))
  4605. i += copy(data[i:], m.ClaimName)
  4606. data[i] = 0x10
  4607. i++
  4608. if m.ReadOnly {
  4609. data[i] = 1
  4610. } else {
  4611. data[i] = 0
  4612. }
  4613. i++
  4614. return i, nil
  4615. }
  4616. func (m *PersistentVolumeList) Marshal() (data []byte, err error) {
  4617. size := m.Size()
  4618. data = make([]byte, size)
  4619. n, err := m.MarshalTo(data)
  4620. if err != nil {
  4621. return nil, err
  4622. }
  4623. return data[:n], nil
  4624. }
  4625. func (m *PersistentVolumeList) MarshalTo(data []byte) (int, error) {
  4626. var i int
  4627. _ = i
  4628. var l int
  4629. _ = l
  4630. data[i] = 0xa
  4631. i++
  4632. i = encodeVarintGenerated(data, i, uint64(m.ListMeta.Size()))
  4633. n87, err := m.ListMeta.MarshalTo(data[i:])
  4634. if err != nil {
  4635. return 0, err
  4636. }
  4637. i += n87
  4638. if len(m.Items) > 0 {
  4639. for _, msg := range m.Items {
  4640. data[i] = 0x12
  4641. i++
  4642. i = encodeVarintGenerated(data, i, uint64(msg.Size()))
  4643. n, err := msg.MarshalTo(data[i:])
  4644. if err != nil {
  4645. return 0, err
  4646. }
  4647. i += n
  4648. }
  4649. }
  4650. return i, nil
  4651. }
  4652. func (m *PersistentVolumeSource) Marshal() (data []byte, err error) {
  4653. size := m.Size()
  4654. data = make([]byte, size)
  4655. n, err := m.MarshalTo(data)
  4656. if err != nil {
  4657. return nil, err
  4658. }
  4659. return data[:n], nil
  4660. }
  4661. func (m *PersistentVolumeSource) MarshalTo(data []byte) (int, error) {
  4662. var i int
  4663. _ = i
  4664. var l int
  4665. _ = l
  4666. if m.GCEPersistentDisk != nil {
  4667. data[i] = 0xa
  4668. i++
  4669. i = encodeVarintGenerated(data, i, uint64(m.GCEPersistentDisk.Size()))
  4670. n88, err := m.GCEPersistentDisk.MarshalTo(data[i:])
  4671. if err != nil {
  4672. return 0, err
  4673. }
  4674. i += n88
  4675. }
  4676. if m.AWSElasticBlockStore != nil {
  4677. data[i] = 0x12
  4678. i++
  4679. i = encodeVarintGenerated(data, i, uint64(m.AWSElasticBlockStore.Size()))
  4680. n89, err := m.AWSElasticBlockStore.MarshalTo(data[i:])
  4681. if err != nil {
  4682. return 0, err
  4683. }
  4684. i += n89
  4685. }
  4686. if m.HostPath != nil {
  4687. data[i] = 0x1a
  4688. i++
  4689. i = encodeVarintGenerated(data, i, uint64(m.HostPath.Size()))
  4690. n90, err := m.HostPath.MarshalTo(data[i:])
  4691. if err != nil {
  4692. return 0, err
  4693. }
  4694. i += n90
  4695. }
  4696. if m.Glusterfs != nil {
  4697. data[i] = 0x22
  4698. i++
  4699. i = encodeVarintGenerated(data, i, uint64(m.Glusterfs.Size()))
  4700. n91, err := m.Glusterfs.MarshalTo(data[i:])
  4701. if err != nil {
  4702. return 0, err
  4703. }
  4704. i += n91
  4705. }
  4706. if m.NFS != nil {
  4707. data[i] = 0x2a
  4708. i++
  4709. i = encodeVarintGenerated(data, i, uint64(m.NFS.Size()))
  4710. n92, err := m.NFS.MarshalTo(data[i:])
  4711. if err != nil {
  4712. return 0, err
  4713. }
  4714. i += n92
  4715. }
  4716. if m.RBD != nil {
  4717. data[i] = 0x32
  4718. i++
  4719. i = encodeVarintGenerated(data, i, uint64(m.RBD.Size()))
  4720. n93, err := m.RBD.MarshalTo(data[i:])
  4721. if err != nil {
  4722. return 0, err
  4723. }
  4724. i += n93
  4725. }
  4726. if m.ISCSI != nil {
  4727. data[i] = 0x3a
  4728. i++
  4729. i = encodeVarintGenerated(data, i, uint64(m.ISCSI.Size()))
  4730. n94, err := m.ISCSI.MarshalTo(data[i:])
  4731. if err != nil {
  4732. return 0, err
  4733. }
  4734. i += n94
  4735. }
  4736. if m.Cinder != nil {
  4737. data[i] = 0x42
  4738. i++
  4739. i = encodeVarintGenerated(data, i, uint64(m.Cinder.Size()))
  4740. n95, err := m.Cinder.MarshalTo(data[i:])
  4741. if err != nil {
  4742. return 0, err
  4743. }
  4744. i += n95
  4745. }
  4746. if m.CephFS != nil {
  4747. data[i] = 0x4a
  4748. i++
  4749. i = encodeVarintGenerated(data, i, uint64(m.CephFS.Size()))
  4750. n96, err := m.CephFS.MarshalTo(data[i:])
  4751. if err != nil {
  4752. return 0, err
  4753. }
  4754. i += n96
  4755. }
  4756. if m.FC != nil {
  4757. data[i] = 0x52
  4758. i++
  4759. i = encodeVarintGenerated(data, i, uint64(m.FC.Size()))
  4760. n97, err := m.FC.MarshalTo(data[i:])
  4761. if err != nil {
  4762. return 0, err
  4763. }
  4764. i += n97
  4765. }
  4766. if m.Flocker != nil {
  4767. data[i] = 0x5a
  4768. i++
  4769. i = encodeVarintGenerated(data, i, uint64(m.Flocker.Size()))
  4770. n98, err := m.Flocker.MarshalTo(data[i:])
  4771. if err != nil {
  4772. return 0, err
  4773. }
  4774. i += n98
  4775. }
  4776. if m.FlexVolume != nil {
  4777. data[i] = 0x62
  4778. i++
  4779. i = encodeVarintGenerated(data, i, uint64(m.FlexVolume.Size()))
  4780. n99, err := m.FlexVolume.MarshalTo(data[i:])
  4781. if err != nil {
  4782. return 0, err
  4783. }
  4784. i += n99
  4785. }
  4786. if m.AzureFile != nil {
  4787. data[i] = 0x6a
  4788. i++
  4789. i = encodeVarintGenerated(data, i, uint64(m.AzureFile.Size()))
  4790. n100, err := m.AzureFile.MarshalTo(data[i:])
  4791. if err != nil {
  4792. return 0, err
  4793. }
  4794. i += n100
  4795. }
  4796. if m.VsphereVolume != nil {
  4797. data[i] = 0x72
  4798. i++
  4799. i = encodeVarintGenerated(data, i, uint64(m.VsphereVolume.Size()))
  4800. n101, err := m.VsphereVolume.MarshalTo(data[i:])
  4801. if err != nil {
  4802. return 0, err
  4803. }
  4804. i += n101
  4805. }
  4806. if m.Quobyte != nil {
  4807. data[i] = 0x7a
  4808. i++
  4809. i = encodeVarintGenerated(data, i, uint64(m.Quobyte.Size()))
  4810. n102, err := m.Quobyte.MarshalTo(data[i:])
  4811. if err != nil {
  4812. return 0, err
  4813. }
  4814. i += n102
  4815. }
  4816. if m.AzureDisk != nil {
  4817. data[i] = 0x82
  4818. i++
  4819. data[i] = 0x1
  4820. i++
  4821. i = encodeVarintGenerated(data, i, uint64(m.AzureDisk.Size()))
  4822. n103, err := m.AzureDisk.MarshalTo(data[i:])
  4823. if err != nil {
  4824. return 0, err
  4825. }
  4826. i += n103
  4827. }
  4828. return i, nil
  4829. }
  4830. func (m *PersistentVolumeSpec) Marshal() (data []byte, err error) {
  4831. size := m.Size()
  4832. data = make([]byte, size)
  4833. n, err := m.MarshalTo(data)
  4834. if err != nil {
  4835. return nil, err
  4836. }
  4837. return data[:n], nil
  4838. }
  4839. func (m *PersistentVolumeSpec) MarshalTo(data []byte) (int, error) {
  4840. var i int
  4841. _ = i
  4842. var l int
  4843. _ = l
  4844. if len(m.Capacity) > 0 {
  4845. for k := range m.Capacity {
  4846. data[i] = 0xa
  4847. i++
  4848. v := m.Capacity[k]
  4849. msgSize := (&v).Size()
  4850. mapSize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + msgSize + sovGenerated(uint64(msgSize))
  4851. i = encodeVarintGenerated(data, i, uint64(mapSize))
  4852. data[i] = 0xa
  4853. i++
  4854. i = encodeVarintGenerated(data, i, uint64(len(k)))
  4855. i += copy(data[i:], k)
  4856. data[i] = 0x12
  4857. i++
  4858. i = encodeVarintGenerated(data, i, uint64((&v).Size()))
  4859. n104, err := (&v).MarshalTo(data[i:])
  4860. if err != nil {
  4861. return 0, err
  4862. }
  4863. i += n104
  4864. }
  4865. }
  4866. data[i] = 0x12
  4867. i++
  4868. i = encodeVarintGenerated(data, i, uint64(m.PersistentVolumeSource.Size()))
  4869. n105, err := m.PersistentVolumeSource.MarshalTo(data[i:])
  4870. if err != nil {
  4871. return 0, err
  4872. }
  4873. i += n105
  4874. if len(m.AccessModes) > 0 {
  4875. for _, s := range m.AccessModes {
  4876. data[i] = 0x1a
  4877. i++
  4878. l = len(s)
  4879. for l >= 1<<7 {
  4880. data[i] = uint8(uint64(l)&0x7f | 0x80)
  4881. l >>= 7
  4882. i++
  4883. }
  4884. data[i] = uint8(l)
  4885. i++
  4886. i += copy(data[i:], s)
  4887. }
  4888. }
  4889. if m.ClaimRef != nil {
  4890. data[i] = 0x22
  4891. i++
  4892. i = encodeVarintGenerated(data, i, uint64(m.ClaimRef.Size()))
  4893. n106, err := m.ClaimRef.MarshalTo(data[i:])
  4894. if err != nil {
  4895. return 0, err
  4896. }
  4897. i += n106
  4898. }
  4899. data[i] = 0x2a
  4900. i++
  4901. i = encodeVarintGenerated(data, i, uint64(len(m.PersistentVolumeReclaimPolicy)))
  4902. i += copy(data[i:], m.PersistentVolumeReclaimPolicy)
  4903. return i, nil
  4904. }
  4905. func (m *PersistentVolumeStatus) Marshal() (data []byte, err error) {
  4906. size := m.Size()
  4907. data = make([]byte, size)
  4908. n, err := m.MarshalTo(data)
  4909. if err != nil {
  4910. return nil, err
  4911. }
  4912. return data[:n], nil
  4913. }
  4914. func (m *PersistentVolumeStatus) MarshalTo(data []byte) (int, error) {
  4915. var i int
  4916. _ = i
  4917. var l int
  4918. _ = l
  4919. data[i] = 0xa
  4920. i++
  4921. i = encodeVarintGenerated(data, i, uint64(len(m.Phase)))
  4922. i += copy(data[i:], m.Phase)
  4923. data[i] = 0x12
  4924. i++
  4925. i = encodeVarintGenerated(data, i, uint64(len(m.Message)))
  4926. i += copy(data[i:], m.Message)
  4927. data[i] = 0x1a
  4928. i++
  4929. i = encodeVarintGenerated(data, i, uint64(len(m.Reason)))
  4930. i += copy(data[i:], m.Reason)
  4931. return i, nil
  4932. }
  4933. func (m *Pod) Marshal() (data []byte, err error) {
  4934. size := m.Size()
  4935. data = make([]byte, size)
  4936. n, err := m.MarshalTo(data)
  4937. if err != nil {
  4938. return nil, err
  4939. }
  4940. return data[:n], nil
  4941. }
  4942. func (m *Pod) MarshalTo(data []byte) (int, error) {
  4943. var i int
  4944. _ = i
  4945. var l int
  4946. _ = l
  4947. data[i] = 0xa
  4948. i++
  4949. i = encodeVarintGenerated(data, i, uint64(m.ObjectMeta.Size()))
  4950. n107, err := m.ObjectMeta.MarshalTo(data[i:])
  4951. if err != nil {
  4952. return 0, err
  4953. }
  4954. i += n107
  4955. data[i] = 0x12
  4956. i++
  4957. i = encodeVarintGenerated(data, i, uint64(m.Spec.Size()))
  4958. n108, err := m.Spec.MarshalTo(data[i:])
  4959. if err != nil {
  4960. return 0, err
  4961. }
  4962. i += n108
  4963. data[i] = 0x1a
  4964. i++
  4965. i = encodeVarintGenerated(data, i, uint64(m.Status.Size()))
  4966. n109, err := m.Status.MarshalTo(data[i:])
  4967. if err != nil {
  4968. return 0, err
  4969. }
  4970. i += n109
  4971. return i, nil
  4972. }
  4973. func (m *PodAffinity) Marshal() (data []byte, err error) {
  4974. size := m.Size()
  4975. data = make([]byte, size)
  4976. n, err := m.MarshalTo(data)
  4977. if err != nil {
  4978. return nil, err
  4979. }
  4980. return data[:n], nil
  4981. }
  4982. func (m *PodAffinity) MarshalTo(data []byte) (int, error) {
  4983. var i int
  4984. _ = i
  4985. var l int
  4986. _ = l
  4987. if len(m.RequiredDuringSchedulingIgnoredDuringExecution) > 0 {
  4988. for _, msg := range m.RequiredDuringSchedulingIgnoredDuringExecution {
  4989. data[i] = 0xa
  4990. i++
  4991. i = encodeVarintGenerated(data, i, uint64(msg.Size()))
  4992. n, err := msg.MarshalTo(data[i:])
  4993. if err != nil {
  4994. return 0, err
  4995. }
  4996. i += n
  4997. }
  4998. }
  4999. if len(m.PreferredDuringSchedulingIgnoredDuringExecution) > 0 {
  5000. for _, msg := range m.PreferredDuringSchedulingIgnoredDuringExecution {
  5001. data[i] = 0x12
  5002. i++
  5003. i = encodeVarintGenerated(data, i, uint64(msg.Size()))
  5004. n, err := msg.MarshalTo(data[i:])
  5005. if err != nil {
  5006. return 0, err
  5007. }
  5008. i += n
  5009. }
  5010. }
  5011. return i, nil
  5012. }
  5013. func (m *PodAffinityTerm) Marshal() (data []byte, err error) {
  5014. size := m.Size()
  5015. data = make([]byte, size)
  5016. n, err := m.MarshalTo(data)
  5017. if err != nil {
  5018. return nil, err
  5019. }
  5020. return data[:n], nil
  5021. }
  5022. func (m *PodAffinityTerm) MarshalTo(data []byte) (int, error) {
  5023. var i int
  5024. _ = i
  5025. var l int
  5026. _ = l
  5027. if m.LabelSelector != nil {
  5028. data[i] = 0xa
  5029. i++
  5030. i = encodeVarintGenerated(data, i, uint64(m.LabelSelector.Size()))
  5031. n110, err := m.LabelSelector.MarshalTo(data[i:])
  5032. if err != nil {
  5033. return 0, err
  5034. }
  5035. i += n110
  5036. }
  5037. if len(m.Namespaces) > 0 {
  5038. for _, s := range m.Namespaces {
  5039. data[i] = 0x12
  5040. i++
  5041. l = len(s)
  5042. for l >= 1<<7 {
  5043. data[i] = uint8(uint64(l)&0x7f | 0x80)
  5044. l >>= 7
  5045. i++
  5046. }
  5047. data[i] = uint8(l)
  5048. i++
  5049. i += copy(data[i:], s)
  5050. }
  5051. }
  5052. data[i] = 0x1a
  5053. i++
  5054. i = encodeVarintGenerated(data, i, uint64(len(m.TopologyKey)))
  5055. i += copy(data[i:], m.TopologyKey)
  5056. return i, nil
  5057. }
  5058. func (m *PodAntiAffinity) Marshal() (data []byte, err error) {
  5059. size := m.Size()
  5060. data = make([]byte, size)
  5061. n, err := m.MarshalTo(data)
  5062. if err != nil {
  5063. return nil, err
  5064. }
  5065. return data[:n], nil
  5066. }
  5067. func (m *PodAntiAffinity) MarshalTo(data []byte) (int, error) {
  5068. var i int
  5069. _ = i
  5070. var l int
  5071. _ = l
  5072. if len(m.RequiredDuringSchedulingIgnoredDuringExecution) > 0 {
  5073. for _, msg := range m.RequiredDuringSchedulingIgnoredDuringExecution {
  5074. data[i] = 0xa
  5075. i++
  5076. i = encodeVarintGenerated(data, i, uint64(msg.Size()))
  5077. n, err := msg.MarshalTo(data[i:])
  5078. if err != nil {
  5079. return 0, err
  5080. }
  5081. i += n
  5082. }
  5083. }
  5084. if len(m.PreferredDuringSchedulingIgnoredDuringExecution) > 0 {
  5085. for _, msg := range m.PreferredDuringSchedulingIgnoredDuringExecution {
  5086. data[i] = 0x12
  5087. i++
  5088. i = encodeVarintGenerated(data, i, uint64(msg.Size()))
  5089. n, err := msg.MarshalTo(data[i:])
  5090. if err != nil {
  5091. return 0, err
  5092. }
  5093. i += n
  5094. }
  5095. }
  5096. return i, nil
  5097. }
  5098. func (m *PodAttachOptions) Marshal() (data []byte, err error) {
  5099. size := m.Size()
  5100. data = make([]byte, size)
  5101. n, err := m.MarshalTo(data)
  5102. if err != nil {
  5103. return nil, err
  5104. }
  5105. return data[:n], nil
  5106. }
  5107. func (m *PodAttachOptions) MarshalTo(data []byte) (int, error) {
  5108. var i int
  5109. _ = i
  5110. var l int
  5111. _ = l
  5112. data[i] = 0x8
  5113. i++
  5114. if m.Stdin {
  5115. data[i] = 1
  5116. } else {
  5117. data[i] = 0
  5118. }
  5119. i++
  5120. data[i] = 0x10
  5121. i++
  5122. if m.Stdout {
  5123. data[i] = 1
  5124. } else {
  5125. data[i] = 0
  5126. }
  5127. i++
  5128. data[i] = 0x18
  5129. i++
  5130. if m.Stderr {
  5131. data[i] = 1
  5132. } else {
  5133. data[i] = 0
  5134. }
  5135. i++
  5136. data[i] = 0x20
  5137. i++
  5138. if m.TTY {
  5139. data[i] = 1
  5140. } else {
  5141. data[i] = 0
  5142. }
  5143. i++
  5144. data[i] = 0x2a
  5145. i++
  5146. i = encodeVarintGenerated(data, i, uint64(len(m.Container)))
  5147. i += copy(data[i:], m.Container)
  5148. return i, nil
  5149. }
  5150. func (m *PodCondition) Marshal() (data []byte, err error) {
  5151. size := m.Size()
  5152. data = make([]byte, size)
  5153. n, err := m.MarshalTo(data)
  5154. if err != nil {
  5155. return nil, err
  5156. }
  5157. return data[:n], nil
  5158. }
  5159. func (m *PodCondition) MarshalTo(data []byte) (int, error) {
  5160. var i int
  5161. _ = i
  5162. var l int
  5163. _ = l
  5164. data[i] = 0xa
  5165. i++
  5166. i = encodeVarintGenerated(data, i, uint64(len(m.Type)))
  5167. i += copy(data[i:], m.Type)
  5168. data[i] = 0x12
  5169. i++
  5170. i = encodeVarintGenerated(data, i, uint64(len(m.Status)))
  5171. i += copy(data[i:], m.Status)
  5172. data[i] = 0x1a
  5173. i++
  5174. i = encodeVarintGenerated(data, i, uint64(m.LastProbeTime.Size()))
  5175. n111, err := m.LastProbeTime.MarshalTo(data[i:])
  5176. if err != nil {
  5177. return 0, err
  5178. }
  5179. i += n111
  5180. data[i] = 0x22
  5181. i++
  5182. i = encodeVarintGenerated(data, i, uint64(m.LastTransitionTime.Size()))
  5183. n112, err := m.LastTransitionTime.MarshalTo(data[i:])
  5184. if err != nil {
  5185. return 0, err
  5186. }
  5187. i += n112
  5188. data[i] = 0x2a
  5189. i++
  5190. i = encodeVarintGenerated(data, i, uint64(len(m.Reason)))
  5191. i += copy(data[i:], m.Reason)
  5192. data[i] = 0x32
  5193. i++
  5194. i = encodeVarintGenerated(data, i, uint64(len(m.Message)))
  5195. i += copy(data[i:], m.Message)
  5196. return i, nil
  5197. }
  5198. func (m *PodExecOptions) Marshal() (data []byte, err error) {
  5199. size := m.Size()
  5200. data = make([]byte, size)
  5201. n, err := m.MarshalTo(data)
  5202. if err != nil {
  5203. return nil, err
  5204. }
  5205. return data[:n], nil
  5206. }
  5207. func (m *PodExecOptions) MarshalTo(data []byte) (int, error) {
  5208. var i int
  5209. _ = i
  5210. var l int
  5211. _ = l
  5212. data[i] = 0x8
  5213. i++
  5214. if m.Stdin {
  5215. data[i] = 1
  5216. } else {
  5217. data[i] = 0
  5218. }
  5219. i++
  5220. data[i] = 0x10
  5221. i++
  5222. if m.Stdout {
  5223. data[i] = 1
  5224. } else {
  5225. data[i] = 0
  5226. }
  5227. i++
  5228. data[i] = 0x18
  5229. i++
  5230. if m.Stderr {
  5231. data[i] = 1
  5232. } else {
  5233. data[i] = 0
  5234. }
  5235. i++
  5236. data[i] = 0x20
  5237. i++
  5238. if m.TTY {
  5239. data[i] = 1
  5240. } else {
  5241. data[i] = 0
  5242. }
  5243. i++
  5244. data[i] = 0x2a
  5245. i++
  5246. i = encodeVarintGenerated(data, i, uint64(len(m.Container)))
  5247. i += copy(data[i:], m.Container)
  5248. if len(m.Command) > 0 {
  5249. for _, s := range m.Command {
  5250. data[i] = 0x32
  5251. i++
  5252. l = len(s)
  5253. for l >= 1<<7 {
  5254. data[i] = uint8(uint64(l)&0x7f | 0x80)
  5255. l >>= 7
  5256. i++
  5257. }
  5258. data[i] = uint8(l)
  5259. i++
  5260. i += copy(data[i:], s)
  5261. }
  5262. }
  5263. return i, nil
  5264. }
  5265. func (m *PodList) Marshal() (data []byte, err error) {
  5266. size := m.Size()
  5267. data = make([]byte, size)
  5268. n, err := m.MarshalTo(data)
  5269. if err != nil {
  5270. return nil, err
  5271. }
  5272. return data[:n], nil
  5273. }
  5274. func (m *PodList) MarshalTo(data []byte) (int, error) {
  5275. var i int
  5276. _ = i
  5277. var l int
  5278. _ = l
  5279. data[i] = 0xa
  5280. i++
  5281. i = encodeVarintGenerated(data, i, uint64(m.ListMeta.Size()))
  5282. n113, err := m.ListMeta.MarshalTo(data[i:])
  5283. if err != nil {
  5284. return 0, err
  5285. }
  5286. i += n113
  5287. if len(m.Items) > 0 {
  5288. for _, msg := range m.Items {
  5289. data[i] = 0x12
  5290. i++
  5291. i = encodeVarintGenerated(data, i, uint64(msg.Size()))
  5292. n, err := msg.MarshalTo(data[i:])
  5293. if err != nil {
  5294. return 0, err
  5295. }
  5296. i += n
  5297. }
  5298. }
  5299. return i, nil
  5300. }
  5301. func (m *PodLogOptions) Marshal() (data []byte, err error) {
  5302. size := m.Size()
  5303. data = make([]byte, size)
  5304. n, err := m.MarshalTo(data)
  5305. if err != nil {
  5306. return nil, err
  5307. }
  5308. return data[:n], nil
  5309. }
  5310. func (m *PodLogOptions) MarshalTo(data []byte) (int, error) {
  5311. var i int
  5312. _ = i
  5313. var l int
  5314. _ = l
  5315. data[i] = 0xa
  5316. i++
  5317. i = encodeVarintGenerated(data, i, uint64(len(m.Container)))
  5318. i += copy(data[i:], m.Container)
  5319. data[i] = 0x10
  5320. i++
  5321. if m.Follow {
  5322. data[i] = 1
  5323. } else {
  5324. data[i] = 0
  5325. }
  5326. i++
  5327. data[i] = 0x18
  5328. i++
  5329. if m.Previous {
  5330. data[i] = 1
  5331. } else {
  5332. data[i] = 0
  5333. }
  5334. i++
  5335. if m.SinceSeconds != nil {
  5336. data[i] = 0x20
  5337. i++
  5338. i = encodeVarintGenerated(data, i, uint64(*m.SinceSeconds))
  5339. }
  5340. if m.SinceTime != nil {
  5341. data[i] = 0x2a
  5342. i++
  5343. i = encodeVarintGenerated(data, i, uint64(m.SinceTime.Size()))
  5344. n114, err := m.SinceTime.MarshalTo(data[i:])
  5345. if err != nil {
  5346. return 0, err
  5347. }
  5348. i += n114
  5349. }
  5350. data[i] = 0x30
  5351. i++
  5352. if m.Timestamps {
  5353. data[i] = 1
  5354. } else {
  5355. data[i] = 0
  5356. }
  5357. i++
  5358. if m.TailLines != nil {
  5359. data[i] = 0x38
  5360. i++
  5361. i = encodeVarintGenerated(data, i, uint64(*m.TailLines))
  5362. }
  5363. if m.LimitBytes != nil {
  5364. data[i] = 0x40
  5365. i++
  5366. i = encodeVarintGenerated(data, i, uint64(*m.LimitBytes))
  5367. }
  5368. return i, nil
  5369. }
  5370. func (m *PodProxyOptions) Marshal() (data []byte, err error) {
  5371. size := m.Size()
  5372. data = make([]byte, size)
  5373. n, err := m.MarshalTo(data)
  5374. if err != nil {
  5375. return nil, err
  5376. }
  5377. return data[:n], nil
  5378. }
  5379. func (m *PodProxyOptions) MarshalTo(data []byte) (int, error) {
  5380. var i int
  5381. _ = i
  5382. var l int
  5383. _ = l
  5384. data[i] = 0xa
  5385. i++
  5386. i = encodeVarintGenerated(data, i, uint64(len(m.Path)))
  5387. i += copy(data[i:], m.Path)
  5388. return i, nil
  5389. }
  5390. func (m *PodSecurityContext) Marshal() (data []byte, err error) {
  5391. size := m.Size()
  5392. data = make([]byte, size)
  5393. n, err := m.MarshalTo(data)
  5394. if err != nil {
  5395. return nil, err
  5396. }
  5397. return data[:n], nil
  5398. }
  5399. func (m *PodSecurityContext) MarshalTo(data []byte) (int, error) {
  5400. var i int
  5401. _ = i
  5402. var l int
  5403. _ = l
  5404. if m.SELinuxOptions != nil {
  5405. data[i] = 0xa
  5406. i++
  5407. i = encodeVarintGenerated(data, i, uint64(m.SELinuxOptions.Size()))
  5408. n115, err := m.SELinuxOptions.MarshalTo(data[i:])
  5409. if err != nil {
  5410. return 0, err
  5411. }
  5412. i += n115
  5413. }
  5414. if m.RunAsUser != nil {
  5415. data[i] = 0x10
  5416. i++
  5417. i = encodeVarintGenerated(data, i, uint64(*m.RunAsUser))
  5418. }
  5419. if m.RunAsNonRoot != nil {
  5420. data[i] = 0x18
  5421. i++
  5422. if *m.RunAsNonRoot {
  5423. data[i] = 1
  5424. } else {
  5425. data[i] = 0
  5426. }
  5427. i++
  5428. }
  5429. if len(m.SupplementalGroups) > 0 {
  5430. for _, num := range m.SupplementalGroups {
  5431. data[i] = 0x20
  5432. i++
  5433. i = encodeVarintGenerated(data, i, uint64(num))
  5434. }
  5435. }
  5436. if m.FSGroup != nil {
  5437. data[i] = 0x28
  5438. i++
  5439. i = encodeVarintGenerated(data, i, uint64(*m.FSGroup))
  5440. }
  5441. return i, nil
  5442. }
  5443. func (m *PodSignature) Marshal() (data []byte, err error) {
  5444. size := m.Size()
  5445. data = make([]byte, size)
  5446. n, err := m.MarshalTo(data)
  5447. if err != nil {
  5448. return nil, err
  5449. }
  5450. return data[:n], nil
  5451. }
  5452. func (m *PodSignature) MarshalTo(data []byte) (int, error) {
  5453. var i int
  5454. _ = i
  5455. var l int
  5456. _ = l
  5457. if m.PodController != nil {
  5458. data[i] = 0xa
  5459. i++
  5460. i = encodeVarintGenerated(data, i, uint64(m.PodController.Size()))
  5461. n116, err := m.PodController.MarshalTo(data[i:])
  5462. if err != nil {
  5463. return 0, err
  5464. }
  5465. i += n116
  5466. }
  5467. return i, nil
  5468. }
  5469. func (m *PodSpec) Marshal() (data []byte, err error) {
  5470. size := m.Size()
  5471. data = make([]byte, size)
  5472. n, err := m.MarshalTo(data)
  5473. if err != nil {
  5474. return nil, err
  5475. }
  5476. return data[:n], nil
  5477. }
  5478. func (m *PodSpec) MarshalTo(data []byte) (int, error) {
  5479. var i int
  5480. _ = i
  5481. var l int
  5482. _ = l
  5483. if len(m.Volumes) > 0 {
  5484. for _, msg := range m.Volumes {
  5485. data[i] = 0xa
  5486. i++
  5487. i = encodeVarintGenerated(data, i, uint64(msg.Size()))
  5488. n, err := msg.MarshalTo(data[i:])
  5489. if err != nil {
  5490. return 0, err
  5491. }
  5492. i += n
  5493. }
  5494. }
  5495. if len(m.Containers) > 0 {
  5496. for _, msg := range m.Containers {
  5497. data[i] = 0x12
  5498. i++
  5499. i = encodeVarintGenerated(data, i, uint64(msg.Size()))
  5500. n, err := msg.MarshalTo(data[i:])
  5501. if err != nil {
  5502. return 0, err
  5503. }
  5504. i += n
  5505. }
  5506. }
  5507. data[i] = 0x1a
  5508. i++
  5509. i = encodeVarintGenerated(data, i, uint64(len(m.RestartPolicy)))
  5510. i += copy(data[i:], m.RestartPolicy)
  5511. if m.TerminationGracePeriodSeconds != nil {
  5512. data[i] = 0x20
  5513. i++
  5514. i = encodeVarintGenerated(data, i, uint64(*m.TerminationGracePeriodSeconds))
  5515. }
  5516. if m.ActiveDeadlineSeconds != nil {
  5517. data[i] = 0x28
  5518. i++
  5519. i = encodeVarintGenerated(data, i, uint64(*m.ActiveDeadlineSeconds))
  5520. }
  5521. data[i] = 0x32
  5522. i++
  5523. i = encodeVarintGenerated(data, i, uint64(len(m.DNSPolicy)))
  5524. i += copy(data[i:], m.DNSPolicy)
  5525. if len(m.NodeSelector) > 0 {
  5526. for k := range m.NodeSelector {
  5527. data[i] = 0x3a
  5528. i++
  5529. v := m.NodeSelector[k]
  5530. mapSize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + len(v) + sovGenerated(uint64(len(v)))
  5531. i = encodeVarintGenerated(data, i, uint64(mapSize))
  5532. data[i] = 0xa
  5533. i++
  5534. i = encodeVarintGenerated(data, i, uint64(len(k)))
  5535. i += copy(data[i:], k)
  5536. data[i] = 0x12
  5537. i++
  5538. i = encodeVarintGenerated(data, i, uint64(len(v)))
  5539. i += copy(data[i:], v)
  5540. }
  5541. }
  5542. data[i] = 0x42
  5543. i++
  5544. i = encodeVarintGenerated(data, i, uint64(len(m.ServiceAccountName)))
  5545. i += copy(data[i:], m.ServiceAccountName)
  5546. data[i] = 0x4a
  5547. i++
  5548. i = encodeVarintGenerated(data, i, uint64(len(m.DeprecatedServiceAccount)))
  5549. i += copy(data[i:], m.DeprecatedServiceAccount)
  5550. data[i] = 0x52
  5551. i++
  5552. i = encodeVarintGenerated(data, i, uint64(len(m.NodeName)))
  5553. i += copy(data[i:], m.NodeName)
  5554. data[i] = 0x58
  5555. i++
  5556. if m.HostNetwork {
  5557. data[i] = 1
  5558. } else {
  5559. data[i] = 0
  5560. }
  5561. i++
  5562. data[i] = 0x60
  5563. i++
  5564. if m.HostPID {
  5565. data[i] = 1
  5566. } else {
  5567. data[i] = 0
  5568. }
  5569. i++
  5570. data[i] = 0x68
  5571. i++
  5572. if m.HostIPC {
  5573. data[i] = 1
  5574. } else {
  5575. data[i] = 0
  5576. }
  5577. i++
  5578. if m.SecurityContext != nil {
  5579. data[i] = 0x72
  5580. i++
  5581. i = encodeVarintGenerated(data, i, uint64(m.SecurityContext.Size()))
  5582. n117, err := m.SecurityContext.MarshalTo(data[i:])
  5583. if err != nil {
  5584. return 0, err
  5585. }
  5586. i += n117
  5587. }
  5588. if len(m.ImagePullSecrets) > 0 {
  5589. for _, msg := range m.ImagePullSecrets {
  5590. data[i] = 0x7a
  5591. i++
  5592. i = encodeVarintGenerated(data, i, uint64(msg.Size()))
  5593. n, err := msg.MarshalTo(data[i:])
  5594. if err != nil {
  5595. return 0, err
  5596. }
  5597. i += n
  5598. }
  5599. }
  5600. data[i] = 0x82
  5601. i++
  5602. data[i] = 0x1
  5603. i++
  5604. i = encodeVarintGenerated(data, i, uint64(len(m.Hostname)))
  5605. i += copy(data[i:], m.Hostname)
  5606. data[i] = 0x8a
  5607. i++
  5608. data[i] = 0x1
  5609. i++
  5610. i = encodeVarintGenerated(data, i, uint64(len(m.Subdomain)))
  5611. i += copy(data[i:], m.Subdomain)
  5612. return i, nil
  5613. }
  5614. func (m *PodStatus) Marshal() (data []byte, err error) {
  5615. size := m.Size()
  5616. data = make([]byte, size)
  5617. n, err := m.MarshalTo(data)
  5618. if err != nil {
  5619. return nil, err
  5620. }
  5621. return data[:n], nil
  5622. }
  5623. func (m *PodStatus) MarshalTo(data []byte) (int, error) {
  5624. var i int
  5625. _ = i
  5626. var l int
  5627. _ = l
  5628. data[i] = 0xa
  5629. i++
  5630. i = encodeVarintGenerated(data, i, uint64(len(m.Phase)))
  5631. i += copy(data[i:], m.Phase)
  5632. if len(m.Conditions) > 0 {
  5633. for _, msg := range m.Conditions {
  5634. data[i] = 0x12
  5635. i++
  5636. i = encodeVarintGenerated(data, i, uint64(msg.Size()))
  5637. n, err := msg.MarshalTo(data[i:])
  5638. if err != nil {
  5639. return 0, err
  5640. }
  5641. i += n
  5642. }
  5643. }
  5644. data[i] = 0x1a
  5645. i++
  5646. i = encodeVarintGenerated(data, i, uint64(len(m.Message)))
  5647. i += copy(data[i:], m.Message)
  5648. data[i] = 0x22
  5649. i++
  5650. i = encodeVarintGenerated(data, i, uint64(len(m.Reason)))
  5651. i += copy(data[i:], m.Reason)
  5652. data[i] = 0x2a
  5653. i++
  5654. i = encodeVarintGenerated(data, i, uint64(len(m.HostIP)))
  5655. i += copy(data[i:], m.HostIP)
  5656. data[i] = 0x32
  5657. i++
  5658. i = encodeVarintGenerated(data, i, uint64(len(m.PodIP)))
  5659. i += copy(data[i:], m.PodIP)
  5660. if m.StartTime != nil {
  5661. data[i] = 0x3a
  5662. i++
  5663. i = encodeVarintGenerated(data, i, uint64(m.StartTime.Size()))
  5664. n118, err := m.StartTime.MarshalTo(data[i:])
  5665. if err != nil {
  5666. return 0, err
  5667. }
  5668. i += n118
  5669. }
  5670. if len(m.ContainerStatuses) > 0 {
  5671. for _, msg := range m.ContainerStatuses {
  5672. data[i] = 0x42
  5673. i++
  5674. i = encodeVarintGenerated(data, i, uint64(msg.Size()))
  5675. n, err := msg.MarshalTo(data[i:])
  5676. if err != nil {
  5677. return 0, err
  5678. }
  5679. i += n
  5680. }
  5681. }
  5682. return i, nil
  5683. }
  5684. func (m *PodStatusResult) Marshal() (data []byte, err error) {
  5685. size := m.Size()
  5686. data = make([]byte, size)
  5687. n, err := m.MarshalTo(data)
  5688. if err != nil {
  5689. return nil, err
  5690. }
  5691. return data[:n], nil
  5692. }
  5693. func (m *PodStatusResult) MarshalTo(data []byte) (int, error) {
  5694. var i int
  5695. _ = i
  5696. var l int
  5697. _ = l
  5698. data[i] = 0xa
  5699. i++
  5700. i = encodeVarintGenerated(data, i, uint64(m.ObjectMeta.Size()))
  5701. n119, err := m.ObjectMeta.MarshalTo(data[i:])
  5702. if err != nil {
  5703. return 0, err
  5704. }
  5705. i += n119
  5706. data[i] = 0x12
  5707. i++
  5708. i = encodeVarintGenerated(data, i, uint64(m.Status.Size()))
  5709. n120, err := m.Status.MarshalTo(data[i:])
  5710. if err != nil {
  5711. return 0, err
  5712. }
  5713. i += n120
  5714. return i, nil
  5715. }
  5716. func (m *PodTemplate) Marshal() (data []byte, err error) {
  5717. size := m.Size()
  5718. data = make([]byte, size)
  5719. n, err := m.MarshalTo(data)
  5720. if err != nil {
  5721. return nil, err
  5722. }
  5723. return data[:n], nil
  5724. }
  5725. func (m *PodTemplate) MarshalTo(data []byte) (int, error) {
  5726. var i int
  5727. _ = i
  5728. var l int
  5729. _ = l
  5730. data[i] = 0xa
  5731. i++
  5732. i = encodeVarintGenerated(data, i, uint64(m.ObjectMeta.Size()))
  5733. n121, err := m.ObjectMeta.MarshalTo(data[i:])
  5734. if err != nil {
  5735. return 0, err
  5736. }
  5737. i += n121
  5738. data[i] = 0x12
  5739. i++
  5740. i = encodeVarintGenerated(data, i, uint64(m.Template.Size()))
  5741. n122, err := m.Template.MarshalTo(data[i:])
  5742. if err != nil {
  5743. return 0, err
  5744. }
  5745. i += n122
  5746. return i, nil
  5747. }
  5748. func (m *PodTemplateList) Marshal() (data []byte, err error) {
  5749. size := m.Size()
  5750. data = make([]byte, size)
  5751. n, err := m.MarshalTo(data)
  5752. if err != nil {
  5753. return nil, err
  5754. }
  5755. return data[:n], nil
  5756. }
  5757. func (m *PodTemplateList) MarshalTo(data []byte) (int, error) {
  5758. var i int
  5759. _ = i
  5760. var l int
  5761. _ = l
  5762. data[i] = 0xa
  5763. i++
  5764. i = encodeVarintGenerated(data, i, uint64(m.ListMeta.Size()))
  5765. n123, err := m.ListMeta.MarshalTo(data[i:])
  5766. if err != nil {
  5767. return 0, err
  5768. }
  5769. i += n123
  5770. if len(m.Items) > 0 {
  5771. for _, msg := range m.Items {
  5772. data[i] = 0x12
  5773. i++
  5774. i = encodeVarintGenerated(data, i, uint64(msg.Size()))
  5775. n, err := msg.MarshalTo(data[i:])
  5776. if err != nil {
  5777. return 0, err
  5778. }
  5779. i += n
  5780. }
  5781. }
  5782. return i, nil
  5783. }
  5784. func (m *PodTemplateSpec) Marshal() (data []byte, err error) {
  5785. size := m.Size()
  5786. data = make([]byte, size)
  5787. n, err := m.MarshalTo(data)
  5788. if err != nil {
  5789. return nil, err
  5790. }
  5791. return data[:n], nil
  5792. }
  5793. func (m *PodTemplateSpec) MarshalTo(data []byte) (int, error) {
  5794. var i int
  5795. _ = i
  5796. var l int
  5797. _ = l
  5798. data[i] = 0xa
  5799. i++
  5800. i = encodeVarintGenerated(data, i, uint64(m.ObjectMeta.Size()))
  5801. n124, err := m.ObjectMeta.MarshalTo(data[i:])
  5802. if err != nil {
  5803. return 0, err
  5804. }
  5805. i += n124
  5806. data[i] = 0x12
  5807. i++
  5808. i = encodeVarintGenerated(data, i, uint64(m.Spec.Size()))
  5809. n125, err := m.Spec.MarshalTo(data[i:])
  5810. if err != nil {
  5811. return 0, err
  5812. }
  5813. i += n125
  5814. return i, nil
  5815. }
  5816. func (m *Preconditions) Marshal() (data []byte, err error) {
  5817. size := m.Size()
  5818. data = make([]byte, size)
  5819. n, err := m.MarshalTo(data)
  5820. if err != nil {
  5821. return nil, err
  5822. }
  5823. return data[:n], nil
  5824. }
  5825. func (m *Preconditions) MarshalTo(data []byte) (int, error) {
  5826. var i int
  5827. _ = i
  5828. var l int
  5829. _ = l
  5830. if m.UID != nil {
  5831. data[i] = 0xa
  5832. i++
  5833. i = encodeVarintGenerated(data, i, uint64(len(*m.UID)))
  5834. i += copy(data[i:], *m.UID)
  5835. }
  5836. return i, nil
  5837. }
  5838. func (m *PreferAvoidPodsEntry) Marshal() (data []byte, err error) {
  5839. size := m.Size()
  5840. data = make([]byte, size)
  5841. n, err := m.MarshalTo(data)
  5842. if err != nil {
  5843. return nil, err
  5844. }
  5845. return data[:n], nil
  5846. }
  5847. func (m *PreferAvoidPodsEntry) MarshalTo(data []byte) (int, error) {
  5848. var i int
  5849. _ = i
  5850. var l int
  5851. _ = l
  5852. data[i] = 0xa
  5853. i++
  5854. i = encodeVarintGenerated(data, i, uint64(m.PodSignature.Size()))
  5855. n126, err := m.PodSignature.MarshalTo(data[i:])
  5856. if err != nil {
  5857. return 0, err
  5858. }
  5859. i += n126
  5860. data[i] = 0x12
  5861. i++
  5862. i = encodeVarintGenerated(data, i, uint64(m.EvictionTime.Size()))
  5863. n127, err := m.EvictionTime.MarshalTo(data[i:])
  5864. if err != nil {
  5865. return 0, err
  5866. }
  5867. i += n127
  5868. data[i] = 0x1a
  5869. i++
  5870. i = encodeVarintGenerated(data, i, uint64(len(m.Reason)))
  5871. i += copy(data[i:], m.Reason)
  5872. data[i] = 0x22
  5873. i++
  5874. i = encodeVarintGenerated(data, i, uint64(len(m.Message)))
  5875. i += copy(data[i:], m.Message)
  5876. return i, nil
  5877. }
  5878. func (m *PreferredSchedulingTerm) Marshal() (data []byte, err error) {
  5879. size := m.Size()
  5880. data = make([]byte, size)
  5881. n, err := m.MarshalTo(data)
  5882. if err != nil {
  5883. return nil, err
  5884. }
  5885. return data[:n], nil
  5886. }
  5887. func (m *PreferredSchedulingTerm) MarshalTo(data []byte) (int, error) {
  5888. var i int
  5889. _ = i
  5890. var l int
  5891. _ = l
  5892. data[i] = 0x8
  5893. i++
  5894. i = encodeVarintGenerated(data, i, uint64(m.Weight))
  5895. data[i] = 0x12
  5896. i++
  5897. i = encodeVarintGenerated(data, i, uint64(m.Preference.Size()))
  5898. n128, err := m.Preference.MarshalTo(data[i:])
  5899. if err != nil {
  5900. return 0, err
  5901. }
  5902. i += n128
  5903. return i, nil
  5904. }
  5905. func (m *Probe) Marshal() (data []byte, err error) {
  5906. size := m.Size()
  5907. data = make([]byte, size)
  5908. n, err := m.MarshalTo(data)
  5909. if err != nil {
  5910. return nil, err
  5911. }
  5912. return data[:n], nil
  5913. }
  5914. func (m *Probe) MarshalTo(data []byte) (int, error) {
  5915. var i int
  5916. _ = i
  5917. var l int
  5918. _ = l
  5919. data[i] = 0xa
  5920. i++
  5921. i = encodeVarintGenerated(data, i, uint64(m.Handler.Size()))
  5922. n129, err := m.Handler.MarshalTo(data[i:])
  5923. if err != nil {
  5924. return 0, err
  5925. }
  5926. i += n129
  5927. data[i] = 0x10
  5928. i++
  5929. i = encodeVarintGenerated(data, i, uint64(m.InitialDelaySeconds))
  5930. data[i] = 0x18
  5931. i++
  5932. i = encodeVarintGenerated(data, i, uint64(m.TimeoutSeconds))
  5933. data[i] = 0x20
  5934. i++
  5935. i = encodeVarintGenerated(data, i, uint64(m.PeriodSeconds))
  5936. data[i] = 0x28
  5937. i++
  5938. i = encodeVarintGenerated(data, i, uint64(m.SuccessThreshold))
  5939. data[i] = 0x30
  5940. i++
  5941. i = encodeVarintGenerated(data, i, uint64(m.FailureThreshold))
  5942. return i, nil
  5943. }
  5944. func (m *QuobyteVolumeSource) Marshal() (data []byte, err error) {
  5945. size := m.Size()
  5946. data = make([]byte, size)
  5947. n, err := m.MarshalTo(data)
  5948. if err != nil {
  5949. return nil, err
  5950. }
  5951. return data[:n], nil
  5952. }
  5953. func (m *QuobyteVolumeSource) MarshalTo(data []byte) (int, error) {
  5954. var i int
  5955. _ = i
  5956. var l int
  5957. _ = l
  5958. data[i] = 0xa
  5959. i++
  5960. i = encodeVarintGenerated(data, i, uint64(len(m.Registry)))
  5961. i += copy(data[i:], m.Registry)
  5962. data[i] = 0x12
  5963. i++
  5964. i = encodeVarintGenerated(data, i, uint64(len(m.Volume)))
  5965. i += copy(data[i:], m.Volume)
  5966. data[i] = 0x18
  5967. i++
  5968. if m.ReadOnly {
  5969. data[i] = 1
  5970. } else {
  5971. data[i] = 0
  5972. }
  5973. i++
  5974. data[i] = 0x22
  5975. i++
  5976. i = encodeVarintGenerated(data, i, uint64(len(m.User)))
  5977. i += copy(data[i:], m.User)
  5978. data[i] = 0x2a
  5979. i++
  5980. i = encodeVarintGenerated(data, i, uint64(len(m.Group)))
  5981. i += copy(data[i:], m.Group)
  5982. return i, nil
  5983. }
  5984. func (m *RBDVolumeSource) Marshal() (data []byte, err error) {
  5985. size := m.Size()
  5986. data = make([]byte, size)
  5987. n, err := m.MarshalTo(data)
  5988. if err != nil {
  5989. return nil, err
  5990. }
  5991. return data[:n], nil
  5992. }
  5993. func (m *RBDVolumeSource) MarshalTo(data []byte) (int, error) {
  5994. var i int
  5995. _ = i
  5996. var l int
  5997. _ = l
  5998. if len(m.CephMonitors) > 0 {
  5999. for _, s := range m.CephMonitors {
  6000. data[i] = 0xa
  6001. i++
  6002. l = len(s)
  6003. for l >= 1<<7 {
  6004. data[i] = uint8(uint64(l)&0x7f | 0x80)
  6005. l >>= 7
  6006. i++
  6007. }
  6008. data[i] = uint8(l)
  6009. i++
  6010. i += copy(data[i:], s)
  6011. }
  6012. }
  6013. data[i] = 0x12
  6014. i++
  6015. i = encodeVarintGenerated(data, i, uint64(len(m.RBDImage)))
  6016. i += copy(data[i:], m.RBDImage)
  6017. data[i] = 0x1a
  6018. i++
  6019. i = encodeVarintGenerated(data, i, uint64(len(m.FSType)))
  6020. i += copy(data[i:], m.FSType)
  6021. data[i] = 0x22
  6022. i++
  6023. i = encodeVarintGenerated(data, i, uint64(len(m.RBDPool)))
  6024. i += copy(data[i:], m.RBDPool)
  6025. data[i] = 0x2a
  6026. i++
  6027. i = encodeVarintGenerated(data, i, uint64(len(m.RadosUser)))
  6028. i += copy(data[i:], m.RadosUser)
  6029. data[i] = 0x32
  6030. i++
  6031. i = encodeVarintGenerated(data, i, uint64(len(m.Keyring)))
  6032. i += copy(data[i:], m.Keyring)
  6033. if m.SecretRef != nil {
  6034. data[i] = 0x3a
  6035. i++
  6036. i = encodeVarintGenerated(data, i, uint64(m.SecretRef.Size()))
  6037. n130, err := m.SecretRef.MarshalTo(data[i:])
  6038. if err != nil {
  6039. return 0, err
  6040. }
  6041. i += n130
  6042. }
  6043. data[i] = 0x40
  6044. i++
  6045. if m.ReadOnly {
  6046. data[i] = 1
  6047. } else {
  6048. data[i] = 0
  6049. }
  6050. i++
  6051. return i, nil
  6052. }
  6053. func (m *RangeAllocation) Marshal() (data []byte, err error) {
  6054. size := m.Size()
  6055. data = make([]byte, size)
  6056. n, err := m.MarshalTo(data)
  6057. if err != nil {
  6058. return nil, err
  6059. }
  6060. return data[:n], nil
  6061. }
  6062. func (m *RangeAllocation) MarshalTo(data []byte) (int, error) {
  6063. var i int
  6064. _ = i
  6065. var l int
  6066. _ = l
  6067. data[i] = 0xa
  6068. i++
  6069. i = encodeVarintGenerated(data, i, uint64(m.ObjectMeta.Size()))
  6070. n131, err := m.ObjectMeta.MarshalTo(data[i:])
  6071. if err != nil {
  6072. return 0, err
  6073. }
  6074. i += n131
  6075. data[i] = 0x12
  6076. i++
  6077. i = encodeVarintGenerated(data, i, uint64(len(m.Range)))
  6078. i += copy(data[i:], m.Range)
  6079. if m.Data != nil {
  6080. data[i] = 0x1a
  6081. i++
  6082. i = encodeVarintGenerated(data, i, uint64(len(m.Data)))
  6083. i += copy(data[i:], m.Data)
  6084. }
  6085. return i, nil
  6086. }
  6087. func (m *ReplicationController) Marshal() (data []byte, err error) {
  6088. size := m.Size()
  6089. data = make([]byte, size)
  6090. n, err := m.MarshalTo(data)
  6091. if err != nil {
  6092. return nil, err
  6093. }
  6094. return data[:n], nil
  6095. }
  6096. func (m *ReplicationController) MarshalTo(data []byte) (int, error) {
  6097. var i int
  6098. _ = i
  6099. var l int
  6100. _ = l
  6101. data[i] = 0xa
  6102. i++
  6103. i = encodeVarintGenerated(data, i, uint64(m.ObjectMeta.Size()))
  6104. n132, err := m.ObjectMeta.MarshalTo(data[i:])
  6105. if err != nil {
  6106. return 0, err
  6107. }
  6108. i += n132
  6109. data[i] = 0x12
  6110. i++
  6111. i = encodeVarintGenerated(data, i, uint64(m.Spec.Size()))
  6112. n133, err := m.Spec.MarshalTo(data[i:])
  6113. if err != nil {
  6114. return 0, err
  6115. }
  6116. i += n133
  6117. data[i] = 0x1a
  6118. i++
  6119. i = encodeVarintGenerated(data, i, uint64(m.Status.Size()))
  6120. n134, err := m.Status.MarshalTo(data[i:])
  6121. if err != nil {
  6122. return 0, err
  6123. }
  6124. i += n134
  6125. return i, nil
  6126. }
  6127. func (m *ReplicationControllerList) Marshal() (data []byte, err error) {
  6128. size := m.Size()
  6129. data = make([]byte, size)
  6130. n, err := m.MarshalTo(data)
  6131. if err != nil {
  6132. return nil, err
  6133. }
  6134. return data[:n], nil
  6135. }
  6136. func (m *ReplicationControllerList) MarshalTo(data []byte) (int, error) {
  6137. var i int
  6138. _ = i
  6139. var l int
  6140. _ = l
  6141. data[i] = 0xa
  6142. i++
  6143. i = encodeVarintGenerated(data, i, uint64(m.ListMeta.Size()))
  6144. n135, err := m.ListMeta.MarshalTo(data[i:])
  6145. if err != nil {
  6146. return 0, err
  6147. }
  6148. i += n135
  6149. if len(m.Items) > 0 {
  6150. for _, msg := range m.Items {
  6151. data[i] = 0x12
  6152. i++
  6153. i = encodeVarintGenerated(data, i, uint64(msg.Size()))
  6154. n, err := msg.MarshalTo(data[i:])
  6155. if err != nil {
  6156. return 0, err
  6157. }
  6158. i += n
  6159. }
  6160. }
  6161. return i, nil
  6162. }
  6163. func (m *ReplicationControllerSpec) Marshal() (data []byte, err error) {
  6164. size := m.Size()
  6165. data = make([]byte, size)
  6166. n, err := m.MarshalTo(data)
  6167. if err != nil {
  6168. return nil, err
  6169. }
  6170. return data[:n], nil
  6171. }
  6172. func (m *ReplicationControllerSpec) MarshalTo(data []byte) (int, error) {
  6173. var i int
  6174. _ = i
  6175. var l int
  6176. _ = l
  6177. if m.Replicas != nil {
  6178. data[i] = 0x8
  6179. i++
  6180. i = encodeVarintGenerated(data, i, uint64(*m.Replicas))
  6181. }
  6182. if len(m.Selector) > 0 {
  6183. for k := range m.Selector {
  6184. data[i] = 0x12
  6185. i++
  6186. v := m.Selector[k]
  6187. mapSize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + len(v) + sovGenerated(uint64(len(v)))
  6188. i = encodeVarintGenerated(data, i, uint64(mapSize))
  6189. data[i] = 0xa
  6190. i++
  6191. i = encodeVarintGenerated(data, i, uint64(len(k)))
  6192. i += copy(data[i:], k)
  6193. data[i] = 0x12
  6194. i++
  6195. i = encodeVarintGenerated(data, i, uint64(len(v)))
  6196. i += copy(data[i:], v)
  6197. }
  6198. }
  6199. if m.Template != nil {
  6200. data[i] = 0x1a
  6201. i++
  6202. i = encodeVarintGenerated(data, i, uint64(m.Template.Size()))
  6203. n136, err := m.Template.MarshalTo(data[i:])
  6204. if err != nil {
  6205. return 0, err
  6206. }
  6207. i += n136
  6208. }
  6209. return i, nil
  6210. }
  6211. func (m *ReplicationControllerStatus) Marshal() (data []byte, err error) {
  6212. size := m.Size()
  6213. data = make([]byte, size)
  6214. n, err := m.MarshalTo(data)
  6215. if err != nil {
  6216. return nil, err
  6217. }
  6218. return data[:n], nil
  6219. }
  6220. func (m *ReplicationControllerStatus) MarshalTo(data []byte) (int, error) {
  6221. var i int
  6222. _ = i
  6223. var l int
  6224. _ = l
  6225. data[i] = 0x8
  6226. i++
  6227. i = encodeVarintGenerated(data, i, uint64(m.Replicas))
  6228. data[i] = 0x10
  6229. i++
  6230. i = encodeVarintGenerated(data, i, uint64(m.FullyLabeledReplicas))
  6231. data[i] = 0x18
  6232. i++
  6233. i = encodeVarintGenerated(data, i, uint64(m.ObservedGeneration))
  6234. data[i] = 0x20
  6235. i++
  6236. i = encodeVarintGenerated(data, i, uint64(m.ReadyReplicas))
  6237. return i, nil
  6238. }
  6239. func (m *ResourceFieldSelector) Marshal() (data []byte, err error) {
  6240. size := m.Size()
  6241. data = make([]byte, size)
  6242. n, err := m.MarshalTo(data)
  6243. if err != nil {
  6244. return nil, err
  6245. }
  6246. return data[:n], nil
  6247. }
  6248. func (m *ResourceFieldSelector) MarshalTo(data []byte) (int, error) {
  6249. var i int
  6250. _ = i
  6251. var l int
  6252. _ = l
  6253. data[i] = 0xa
  6254. i++
  6255. i = encodeVarintGenerated(data, i, uint64(len(m.ContainerName)))
  6256. i += copy(data[i:], m.ContainerName)
  6257. data[i] = 0x12
  6258. i++
  6259. i = encodeVarintGenerated(data, i, uint64(len(m.Resource)))
  6260. i += copy(data[i:], m.Resource)
  6261. data[i] = 0x1a
  6262. i++
  6263. i = encodeVarintGenerated(data, i, uint64(m.Divisor.Size()))
  6264. n137, err := m.Divisor.MarshalTo(data[i:])
  6265. if err != nil {
  6266. return 0, err
  6267. }
  6268. i += n137
  6269. return i, nil
  6270. }
  6271. func (m *ResourceQuota) Marshal() (data []byte, err error) {
  6272. size := m.Size()
  6273. data = make([]byte, size)
  6274. n, err := m.MarshalTo(data)
  6275. if err != nil {
  6276. return nil, err
  6277. }
  6278. return data[:n], nil
  6279. }
  6280. func (m *ResourceQuota) MarshalTo(data []byte) (int, error) {
  6281. var i int
  6282. _ = i
  6283. var l int
  6284. _ = l
  6285. data[i] = 0xa
  6286. i++
  6287. i = encodeVarintGenerated(data, i, uint64(m.ObjectMeta.Size()))
  6288. n138, err := m.ObjectMeta.MarshalTo(data[i:])
  6289. if err != nil {
  6290. return 0, err
  6291. }
  6292. i += n138
  6293. data[i] = 0x12
  6294. i++
  6295. i = encodeVarintGenerated(data, i, uint64(m.Spec.Size()))
  6296. n139, err := m.Spec.MarshalTo(data[i:])
  6297. if err != nil {
  6298. return 0, err
  6299. }
  6300. i += n139
  6301. data[i] = 0x1a
  6302. i++
  6303. i = encodeVarintGenerated(data, i, uint64(m.Status.Size()))
  6304. n140, err := m.Status.MarshalTo(data[i:])
  6305. if err != nil {
  6306. return 0, err
  6307. }
  6308. i += n140
  6309. return i, nil
  6310. }
  6311. func (m *ResourceQuotaList) Marshal() (data []byte, err error) {
  6312. size := m.Size()
  6313. data = make([]byte, size)
  6314. n, err := m.MarshalTo(data)
  6315. if err != nil {
  6316. return nil, err
  6317. }
  6318. return data[:n], nil
  6319. }
  6320. func (m *ResourceQuotaList) MarshalTo(data []byte) (int, error) {
  6321. var i int
  6322. _ = i
  6323. var l int
  6324. _ = l
  6325. data[i] = 0xa
  6326. i++
  6327. i = encodeVarintGenerated(data, i, uint64(m.ListMeta.Size()))
  6328. n141, err := m.ListMeta.MarshalTo(data[i:])
  6329. if err != nil {
  6330. return 0, err
  6331. }
  6332. i += n141
  6333. if len(m.Items) > 0 {
  6334. for _, msg := range m.Items {
  6335. data[i] = 0x12
  6336. i++
  6337. i = encodeVarintGenerated(data, i, uint64(msg.Size()))
  6338. n, err := msg.MarshalTo(data[i:])
  6339. if err != nil {
  6340. return 0, err
  6341. }
  6342. i += n
  6343. }
  6344. }
  6345. return i, nil
  6346. }
  6347. func (m *ResourceQuotaSpec) Marshal() (data []byte, err error) {
  6348. size := m.Size()
  6349. data = make([]byte, size)
  6350. n, err := m.MarshalTo(data)
  6351. if err != nil {
  6352. return nil, err
  6353. }
  6354. return data[:n], nil
  6355. }
  6356. func (m *ResourceQuotaSpec) MarshalTo(data []byte) (int, error) {
  6357. var i int
  6358. _ = i
  6359. var l int
  6360. _ = l
  6361. if len(m.Hard) > 0 {
  6362. for k := range m.Hard {
  6363. data[i] = 0xa
  6364. i++
  6365. v := m.Hard[k]
  6366. msgSize := (&v).Size()
  6367. mapSize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + msgSize + sovGenerated(uint64(msgSize))
  6368. i = encodeVarintGenerated(data, i, uint64(mapSize))
  6369. data[i] = 0xa
  6370. i++
  6371. i = encodeVarintGenerated(data, i, uint64(len(k)))
  6372. i += copy(data[i:], k)
  6373. data[i] = 0x12
  6374. i++
  6375. i = encodeVarintGenerated(data, i, uint64((&v).Size()))
  6376. n142, err := (&v).MarshalTo(data[i:])
  6377. if err != nil {
  6378. return 0, err
  6379. }
  6380. i += n142
  6381. }
  6382. }
  6383. if len(m.Scopes) > 0 {
  6384. for _, s := range m.Scopes {
  6385. data[i] = 0x12
  6386. i++
  6387. l = len(s)
  6388. for l >= 1<<7 {
  6389. data[i] = uint8(uint64(l)&0x7f | 0x80)
  6390. l >>= 7
  6391. i++
  6392. }
  6393. data[i] = uint8(l)
  6394. i++
  6395. i += copy(data[i:], s)
  6396. }
  6397. }
  6398. return i, nil
  6399. }
  6400. func (m *ResourceQuotaStatus) Marshal() (data []byte, err error) {
  6401. size := m.Size()
  6402. data = make([]byte, size)
  6403. n, err := m.MarshalTo(data)
  6404. if err != nil {
  6405. return nil, err
  6406. }
  6407. return data[:n], nil
  6408. }
  6409. func (m *ResourceQuotaStatus) MarshalTo(data []byte) (int, error) {
  6410. var i int
  6411. _ = i
  6412. var l int
  6413. _ = l
  6414. if len(m.Hard) > 0 {
  6415. for k := range m.Hard {
  6416. data[i] = 0xa
  6417. i++
  6418. v := m.Hard[k]
  6419. msgSize := (&v).Size()
  6420. mapSize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + msgSize + sovGenerated(uint64(msgSize))
  6421. i = encodeVarintGenerated(data, i, uint64(mapSize))
  6422. data[i] = 0xa
  6423. i++
  6424. i = encodeVarintGenerated(data, i, uint64(len(k)))
  6425. i += copy(data[i:], k)
  6426. data[i] = 0x12
  6427. i++
  6428. i = encodeVarintGenerated(data, i, uint64((&v).Size()))
  6429. n143, err := (&v).MarshalTo(data[i:])
  6430. if err != nil {
  6431. return 0, err
  6432. }
  6433. i += n143
  6434. }
  6435. }
  6436. if len(m.Used) > 0 {
  6437. for k := range m.Used {
  6438. data[i] = 0x12
  6439. i++
  6440. v := m.Used[k]
  6441. msgSize := (&v).Size()
  6442. mapSize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + msgSize + sovGenerated(uint64(msgSize))
  6443. i = encodeVarintGenerated(data, i, uint64(mapSize))
  6444. data[i] = 0xa
  6445. i++
  6446. i = encodeVarintGenerated(data, i, uint64(len(k)))
  6447. i += copy(data[i:], k)
  6448. data[i] = 0x12
  6449. i++
  6450. i = encodeVarintGenerated(data, i, uint64((&v).Size()))
  6451. n144, err := (&v).MarshalTo(data[i:])
  6452. if err != nil {
  6453. return 0, err
  6454. }
  6455. i += n144
  6456. }
  6457. }
  6458. return i, nil
  6459. }
  6460. func (m *ResourceRequirements) Marshal() (data []byte, err error) {
  6461. size := m.Size()
  6462. data = make([]byte, size)
  6463. n, err := m.MarshalTo(data)
  6464. if err != nil {
  6465. return nil, err
  6466. }
  6467. return data[:n], nil
  6468. }
  6469. func (m *ResourceRequirements) MarshalTo(data []byte) (int, error) {
  6470. var i int
  6471. _ = i
  6472. var l int
  6473. _ = l
  6474. if len(m.Limits) > 0 {
  6475. for k := range m.Limits {
  6476. data[i] = 0xa
  6477. i++
  6478. v := m.Limits[k]
  6479. msgSize := (&v).Size()
  6480. mapSize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + msgSize + sovGenerated(uint64(msgSize))
  6481. i = encodeVarintGenerated(data, i, uint64(mapSize))
  6482. data[i] = 0xa
  6483. i++
  6484. i = encodeVarintGenerated(data, i, uint64(len(k)))
  6485. i += copy(data[i:], k)
  6486. data[i] = 0x12
  6487. i++
  6488. i = encodeVarintGenerated(data, i, uint64((&v).Size()))
  6489. n145, err := (&v).MarshalTo(data[i:])
  6490. if err != nil {
  6491. return 0, err
  6492. }
  6493. i += n145
  6494. }
  6495. }
  6496. if len(m.Requests) > 0 {
  6497. for k := range m.Requests {
  6498. data[i] = 0x12
  6499. i++
  6500. v := m.Requests[k]
  6501. msgSize := (&v).Size()
  6502. mapSize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + msgSize + sovGenerated(uint64(msgSize))
  6503. i = encodeVarintGenerated(data, i, uint64(mapSize))
  6504. data[i] = 0xa
  6505. i++
  6506. i = encodeVarintGenerated(data, i, uint64(len(k)))
  6507. i += copy(data[i:], k)
  6508. data[i] = 0x12
  6509. i++
  6510. i = encodeVarintGenerated(data, i, uint64((&v).Size()))
  6511. n146, err := (&v).MarshalTo(data[i:])
  6512. if err != nil {
  6513. return 0, err
  6514. }
  6515. i += n146
  6516. }
  6517. }
  6518. return i, nil
  6519. }
  6520. func (m *SELinuxOptions) Marshal() (data []byte, err error) {
  6521. size := m.Size()
  6522. data = make([]byte, size)
  6523. n, err := m.MarshalTo(data)
  6524. if err != nil {
  6525. return nil, err
  6526. }
  6527. return data[:n], nil
  6528. }
  6529. func (m *SELinuxOptions) MarshalTo(data []byte) (int, error) {
  6530. var i int
  6531. _ = i
  6532. var l int
  6533. _ = l
  6534. data[i] = 0xa
  6535. i++
  6536. i = encodeVarintGenerated(data, i, uint64(len(m.User)))
  6537. i += copy(data[i:], m.User)
  6538. data[i] = 0x12
  6539. i++
  6540. i = encodeVarintGenerated(data, i, uint64(len(m.Role)))
  6541. i += copy(data[i:], m.Role)
  6542. data[i] = 0x1a
  6543. i++
  6544. i = encodeVarintGenerated(data, i, uint64(len(m.Type)))
  6545. i += copy(data[i:], m.Type)
  6546. data[i] = 0x22
  6547. i++
  6548. i = encodeVarintGenerated(data, i, uint64(len(m.Level)))
  6549. i += copy(data[i:], m.Level)
  6550. return i, nil
  6551. }
  6552. func (m *Secret) Marshal() (data []byte, err error) {
  6553. size := m.Size()
  6554. data = make([]byte, size)
  6555. n, err := m.MarshalTo(data)
  6556. if err != nil {
  6557. return nil, err
  6558. }
  6559. return data[:n], nil
  6560. }
  6561. func (m *Secret) MarshalTo(data []byte) (int, error) {
  6562. var i int
  6563. _ = i
  6564. var l int
  6565. _ = l
  6566. data[i] = 0xa
  6567. i++
  6568. i = encodeVarintGenerated(data, i, uint64(m.ObjectMeta.Size()))
  6569. n147, err := m.ObjectMeta.MarshalTo(data[i:])
  6570. if err != nil {
  6571. return 0, err
  6572. }
  6573. i += n147
  6574. if len(m.Data) > 0 {
  6575. for k := range m.Data {
  6576. data[i] = 0x12
  6577. i++
  6578. v := m.Data[k]
  6579. mapSize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + len(v) + sovGenerated(uint64(len(v)))
  6580. i = encodeVarintGenerated(data, i, uint64(mapSize))
  6581. data[i] = 0xa
  6582. i++
  6583. i = encodeVarintGenerated(data, i, uint64(len(k)))
  6584. i += copy(data[i:], k)
  6585. data[i] = 0x12
  6586. i++
  6587. i = encodeVarintGenerated(data, i, uint64(len(v)))
  6588. i += copy(data[i:], v)
  6589. }
  6590. }
  6591. data[i] = 0x1a
  6592. i++
  6593. i = encodeVarintGenerated(data, i, uint64(len(m.Type)))
  6594. i += copy(data[i:], m.Type)
  6595. if len(m.StringData) > 0 {
  6596. for k := range m.StringData {
  6597. data[i] = 0x22
  6598. i++
  6599. v := m.StringData[k]
  6600. mapSize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + len(v) + sovGenerated(uint64(len(v)))
  6601. i = encodeVarintGenerated(data, i, uint64(mapSize))
  6602. data[i] = 0xa
  6603. i++
  6604. i = encodeVarintGenerated(data, i, uint64(len(k)))
  6605. i += copy(data[i:], k)
  6606. data[i] = 0x12
  6607. i++
  6608. i = encodeVarintGenerated(data, i, uint64(len(v)))
  6609. i += copy(data[i:], v)
  6610. }
  6611. }
  6612. return i, nil
  6613. }
  6614. func (m *SecretKeySelector) Marshal() (data []byte, err error) {
  6615. size := m.Size()
  6616. data = make([]byte, size)
  6617. n, err := m.MarshalTo(data)
  6618. if err != nil {
  6619. return nil, err
  6620. }
  6621. return data[:n], nil
  6622. }
  6623. func (m *SecretKeySelector) MarshalTo(data []byte) (int, error) {
  6624. var i int
  6625. _ = i
  6626. var l int
  6627. _ = l
  6628. data[i] = 0xa
  6629. i++
  6630. i = encodeVarintGenerated(data, i, uint64(m.LocalObjectReference.Size()))
  6631. n148, err := m.LocalObjectReference.MarshalTo(data[i:])
  6632. if err != nil {
  6633. return 0, err
  6634. }
  6635. i += n148
  6636. data[i] = 0x12
  6637. i++
  6638. i = encodeVarintGenerated(data, i, uint64(len(m.Key)))
  6639. i += copy(data[i:], m.Key)
  6640. return i, nil
  6641. }
  6642. func (m *SecretList) Marshal() (data []byte, err error) {
  6643. size := m.Size()
  6644. data = make([]byte, size)
  6645. n, err := m.MarshalTo(data)
  6646. if err != nil {
  6647. return nil, err
  6648. }
  6649. return data[:n], nil
  6650. }
  6651. func (m *SecretList) MarshalTo(data []byte) (int, error) {
  6652. var i int
  6653. _ = i
  6654. var l int
  6655. _ = l
  6656. data[i] = 0xa
  6657. i++
  6658. i = encodeVarintGenerated(data, i, uint64(m.ListMeta.Size()))
  6659. n149, err := m.ListMeta.MarshalTo(data[i:])
  6660. if err != nil {
  6661. return 0, err
  6662. }
  6663. i += n149
  6664. if len(m.Items) > 0 {
  6665. for _, msg := range m.Items {
  6666. data[i] = 0x12
  6667. i++
  6668. i = encodeVarintGenerated(data, i, uint64(msg.Size()))
  6669. n, err := msg.MarshalTo(data[i:])
  6670. if err != nil {
  6671. return 0, err
  6672. }
  6673. i += n
  6674. }
  6675. }
  6676. return i, nil
  6677. }
  6678. func (m *SecretVolumeSource) Marshal() (data []byte, err error) {
  6679. size := m.Size()
  6680. data = make([]byte, size)
  6681. n, err := m.MarshalTo(data)
  6682. if err != nil {
  6683. return nil, err
  6684. }
  6685. return data[:n], nil
  6686. }
  6687. func (m *SecretVolumeSource) MarshalTo(data []byte) (int, error) {
  6688. var i int
  6689. _ = i
  6690. var l int
  6691. _ = l
  6692. data[i] = 0xa
  6693. i++
  6694. i = encodeVarintGenerated(data, i, uint64(len(m.SecretName)))
  6695. i += copy(data[i:], m.SecretName)
  6696. if len(m.Items) > 0 {
  6697. for _, msg := range m.Items {
  6698. data[i] = 0x12
  6699. i++
  6700. i = encodeVarintGenerated(data, i, uint64(msg.Size()))
  6701. n, err := msg.MarshalTo(data[i:])
  6702. if err != nil {
  6703. return 0, err
  6704. }
  6705. i += n
  6706. }
  6707. }
  6708. if m.DefaultMode != nil {
  6709. data[i] = 0x18
  6710. i++
  6711. i = encodeVarintGenerated(data, i, uint64(*m.DefaultMode))
  6712. }
  6713. return i, nil
  6714. }
  6715. func (m *SecurityContext) Marshal() (data []byte, err error) {
  6716. size := m.Size()
  6717. data = make([]byte, size)
  6718. n, err := m.MarshalTo(data)
  6719. if err != nil {
  6720. return nil, err
  6721. }
  6722. return data[:n], nil
  6723. }
  6724. func (m *SecurityContext) MarshalTo(data []byte) (int, error) {
  6725. var i int
  6726. _ = i
  6727. var l int
  6728. _ = l
  6729. if m.Capabilities != nil {
  6730. data[i] = 0xa
  6731. i++
  6732. i = encodeVarintGenerated(data, i, uint64(m.Capabilities.Size()))
  6733. n150, err := m.Capabilities.MarshalTo(data[i:])
  6734. if err != nil {
  6735. return 0, err
  6736. }
  6737. i += n150
  6738. }
  6739. if m.Privileged != nil {
  6740. data[i] = 0x10
  6741. i++
  6742. if *m.Privileged {
  6743. data[i] = 1
  6744. } else {
  6745. data[i] = 0
  6746. }
  6747. i++
  6748. }
  6749. if m.SELinuxOptions != nil {
  6750. data[i] = 0x1a
  6751. i++
  6752. i = encodeVarintGenerated(data, i, uint64(m.SELinuxOptions.Size()))
  6753. n151, err := m.SELinuxOptions.MarshalTo(data[i:])
  6754. if err != nil {
  6755. return 0, err
  6756. }
  6757. i += n151
  6758. }
  6759. if m.RunAsUser != nil {
  6760. data[i] = 0x20
  6761. i++
  6762. i = encodeVarintGenerated(data, i, uint64(*m.RunAsUser))
  6763. }
  6764. if m.RunAsNonRoot != nil {
  6765. data[i] = 0x28
  6766. i++
  6767. if *m.RunAsNonRoot {
  6768. data[i] = 1
  6769. } else {
  6770. data[i] = 0
  6771. }
  6772. i++
  6773. }
  6774. if m.ReadOnlyRootFilesystem != nil {
  6775. data[i] = 0x30
  6776. i++
  6777. if *m.ReadOnlyRootFilesystem {
  6778. data[i] = 1
  6779. } else {
  6780. data[i] = 0
  6781. }
  6782. i++
  6783. }
  6784. return i, nil
  6785. }
  6786. func (m *SerializedReference) Marshal() (data []byte, err error) {
  6787. size := m.Size()
  6788. data = make([]byte, size)
  6789. n, err := m.MarshalTo(data)
  6790. if err != nil {
  6791. return nil, err
  6792. }
  6793. return data[:n], nil
  6794. }
  6795. func (m *SerializedReference) MarshalTo(data []byte) (int, error) {
  6796. var i int
  6797. _ = i
  6798. var l int
  6799. _ = l
  6800. data[i] = 0xa
  6801. i++
  6802. i = encodeVarintGenerated(data, i, uint64(m.Reference.Size()))
  6803. n152, err := m.Reference.MarshalTo(data[i:])
  6804. if err != nil {
  6805. return 0, err
  6806. }
  6807. i += n152
  6808. return i, nil
  6809. }
  6810. func (m *Service) Marshal() (data []byte, err error) {
  6811. size := m.Size()
  6812. data = make([]byte, size)
  6813. n, err := m.MarshalTo(data)
  6814. if err != nil {
  6815. return nil, err
  6816. }
  6817. return data[:n], nil
  6818. }
  6819. func (m *Service) MarshalTo(data []byte) (int, error) {
  6820. var i int
  6821. _ = i
  6822. var l int
  6823. _ = l
  6824. data[i] = 0xa
  6825. i++
  6826. i = encodeVarintGenerated(data, i, uint64(m.ObjectMeta.Size()))
  6827. n153, err := m.ObjectMeta.MarshalTo(data[i:])
  6828. if err != nil {
  6829. return 0, err
  6830. }
  6831. i += n153
  6832. data[i] = 0x12
  6833. i++
  6834. i = encodeVarintGenerated(data, i, uint64(m.Spec.Size()))
  6835. n154, err := m.Spec.MarshalTo(data[i:])
  6836. if err != nil {
  6837. return 0, err
  6838. }
  6839. i += n154
  6840. data[i] = 0x1a
  6841. i++
  6842. i = encodeVarintGenerated(data, i, uint64(m.Status.Size()))
  6843. n155, err := m.Status.MarshalTo(data[i:])
  6844. if err != nil {
  6845. return 0, err
  6846. }
  6847. i += n155
  6848. return i, nil
  6849. }
  6850. func (m *ServiceAccount) Marshal() (data []byte, err error) {
  6851. size := m.Size()
  6852. data = make([]byte, size)
  6853. n, err := m.MarshalTo(data)
  6854. if err != nil {
  6855. return nil, err
  6856. }
  6857. return data[:n], nil
  6858. }
  6859. func (m *ServiceAccount) MarshalTo(data []byte) (int, error) {
  6860. var i int
  6861. _ = i
  6862. var l int
  6863. _ = l
  6864. data[i] = 0xa
  6865. i++
  6866. i = encodeVarintGenerated(data, i, uint64(m.ObjectMeta.Size()))
  6867. n156, err := m.ObjectMeta.MarshalTo(data[i:])
  6868. if err != nil {
  6869. return 0, err
  6870. }
  6871. i += n156
  6872. if len(m.Secrets) > 0 {
  6873. for _, msg := range m.Secrets {
  6874. data[i] = 0x12
  6875. i++
  6876. i = encodeVarintGenerated(data, i, uint64(msg.Size()))
  6877. n, err := msg.MarshalTo(data[i:])
  6878. if err != nil {
  6879. return 0, err
  6880. }
  6881. i += n
  6882. }
  6883. }
  6884. if len(m.ImagePullSecrets) > 0 {
  6885. for _, msg := range m.ImagePullSecrets {
  6886. data[i] = 0x1a
  6887. i++
  6888. i = encodeVarintGenerated(data, i, uint64(msg.Size()))
  6889. n, err := msg.MarshalTo(data[i:])
  6890. if err != nil {
  6891. return 0, err
  6892. }
  6893. i += n
  6894. }
  6895. }
  6896. return i, nil
  6897. }
  6898. func (m *ServiceAccountList) Marshal() (data []byte, err error) {
  6899. size := m.Size()
  6900. data = make([]byte, size)
  6901. n, err := m.MarshalTo(data)
  6902. if err != nil {
  6903. return nil, err
  6904. }
  6905. return data[:n], nil
  6906. }
  6907. func (m *ServiceAccountList) MarshalTo(data []byte) (int, error) {
  6908. var i int
  6909. _ = i
  6910. var l int
  6911. _ = l
  6912. data[i] = 0xa
  6913. i++
  6914. i = encodeVarintGenerated(data, i, uint64(m.ListMeta.Size()))
  6915. n157, err := m.ListMeta.MarshalTo(data[i:])
  6916. if err != nil {
  6917. return 0, err
  6918. }
  6919. i += n157
  6920. if len(m.Items) > 0 {
  6921. for _, msg := range m.Items {
  6922. data[i] = 0x12
  6923. i++
  6924. i = encodeVarintGenerated(data, i, uint64(msg.Size()))
  6925. n, err := msg.MarshalTo(data[i:])
  6926. if err != nil {
  6927. return 0, err
  6928. }
  6929. i += n
  6930. }
  6931. }
  6932. return i, nil
  6933. }
  6934. func (m *ServiceList) Marshal() (data []byte, err error) {
  6935. size := m.Size()
  6936. data = make([]byte, size)
  6937. n, err := m.MarshalTo(data)
  6938. if err != nil {
  6939. return nil, err
  6940. }
  6941. return data[:n], nil
  6942. }
  6943. func (m *ServiceList) MarshalTo(data []byte) (int, error) {
  6944. var i int
  6945. _ = i
  6946. var l int
  6947. _ = l
  6948. data[i] = 0xa
  6949. i++
  6950. i = encodeVarintGenerated(data, i, uint64(m.ListMeta.Size()))
  6951. n158, err := m.ListMeta.MarshalTo(data[i:])
  6952. if err != nil {
  6953. return 0, err
  6954. }
  6955. i += n158
  6956. if len(m.Items) > 0 {
  6957. for _, msg := range m.Items {
  6958. data[i] = 0x12
  6959. i++
  6960. i = encodeVarintGenerated(data, i, uint64(msg.Size()))
  6961. n, err := msg.MarshalTo(data[i:])
  6962. if err != nil {
  6963. return 0, err
  6964. }
  6965. i += n
  6966. }
  6967. }
  6968. return i, nil
  6969. }
  6970. func (m *ServicePort) Marshal() (data []byte, err error) {
  6971. size := m.Size()
  6972. data = make([]byte, size)
  6973. n, err := m.MarshalTo(data)
  6974. if err != nil {
  6975. return nil, err
  6976. }
  6977. return data[:n], nil
  6978. }
  6979. func (m *ServicePort) MarshalTo(data []byte) (int, error) {
  6980. var i int
  6981. _ = i
  6982. var l int
  6983. _ = l
  6984. data[i] = 0xa
  6985. i++
  6986. i = encodeVarintGenerated(data, i, uint64(len(m.Name)))
  6987. i += copy(data[i:], m.Name)
  6988. data[i] = 0x12
  6989. i++
  6990. i = encodeVarintGenerated(data, i, uint64(len(m.Protocol)))
  6991. i += copy(data[i:], m.Protocol)
  6992. data[i] = 0x18
  6993. i++
  6994. i = encodeVarintGenerated(data, i, uint64(m.Port))
  6995. data[i] = 0x22
  6996. i++
  6997. i = encodeVarintGenerated(data, i, uint64(m.TargetPort.Size()))
  6998. n159, err := m.TargetPort.MarshalTo(data[i:])
  6999. if err != nil {
  7000. return 0, err
  7001. }
  7002. i += n159
  7003. data[i] = 0x28
  7004. i++
  7005. i = encodeVarintGenerated(data, i, uint64(m.NodePort))
  7006. return i, nil
  7007. }
  7008. func (m *ServiceProxyOptions) Marshal() (data []byte, err error) {
  7009. size := m.Size()
  7010. data = make([]byte, size)
  7011. n, err := m.MarshalTo(data)
  7012. if err != nil {
  7013. return nil, err
  7014. }
  7015. return data[:n], nil
  7016. }
  7017. func (m *ServiceProxyOptions) MarshalTo(data []byte) (int, error) {
  7018. var i int
  7019. _ = i
  7020. var l int
  7021. _ = l
  7022. data[i] = 0xa
  7023. i++
  7024. i = encodeVarintGenerated(data, i, uint64(len(m.Path)))
  7025. i += copy(data[i:], m.Path)
  7026. return i, nil
  7027. }
  7028. func (m *ServiceSpec) Marshal() (data []byte, err error) {
  7029. size := m.Size()
  7030. data = make([]byte, size)
  7031. n, err := m.MarshalTo(data)
  7032. if err != nil {
  7033. return nil, err
  7034. }
  7035. return data[:n], nil
  7036. }
  7037. func (m *ServiceSpec) MarshalTo(data []byte) (int, error) {
  7038. var i int
  7039. _ = i
  7040. var l int
  7041. _ = l
  7042. if len(m.Ports) > 0 {
  7043. for _, msg := range m.Ports {
  7044. data[i] = 0xa
  7045. i++
  7046. i = encodeVarintGenerated(data, i, uint64(msg.Size()))
  7047. n, err := msg.MarshalTo(data[i:])
  7048. if err != nil {
  7049. return 0, err
  7050. }
  7051. i += n
  7052. }
  7053. }
  7054. if len(m.Selector) > 0 {
  7055. for k := range m.Selector {
  7056. data[i] = 0x12
  7057. i++
  7058. v := m.Selector[k]
  7059. mapSize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + len(v) + sovGenerated(uint64(len(v)))
  7060. i = encodeVarintGenerated(data, i, uint64(mapSize))
  7061. data[i] = 0xa
  7062. i++
  7063. i = encodeVarintGenerated(data, i, uint64(len(k)))
  7064. i += copy(data[i:], k)
  7065. data[i] = 0x12
  7066. i++
  7067. i = encodeVarintGenerated(data, i, uint64(len(v)))
  7068. i += copy(data[i:], v)
  7069. }
  7070. }
  7071. data[i] = 0x1a
  7072. i++
  7073. i = encodeVarintGenerated(data, i, uint64(len(m.ClusterIP)))
  7074. i += copy(data[i:], m.ClusterIP)
  7075. data[i] = 0x22
  7076. i++
  7077. i = encodeVarintGenerated(data, i, uint64(len(m.Type)))
  7078. i += copy(data[i:], m.Type)
  7079. if len(m.ExternalIPs) > 0 {
  7080. for _, s := range m.ExternalIPs {
  7081. data[i] = 0x2a
  7082. i++
  7083. l = len(s)
  7084. for l >= 1<<7 {
  7085. data[i] = uint8(uint64(l)&0x7f | 0x80)
  7086. l >>= 7
  7087. i++
  7088. }
  7089. data[i] = uint8(l)
  7090. i++
  7091. i += copy(data[i:], s)
  7092. }
  7093. }
  7094. if len(m.DeprecatedPublicIPs) > 0 {
  7095. for _, s := range m.DeprecatedPublicIPs {
  7096. data[i] = 0x32
  7097. i++
  7098. l = len(s)
  7099. for l >= 1<<7 {
  7100. data[i] = uint8(uint64(l)&0x7f | 0x80)
  7101. l >>= 7
  7102. i++
  7103. }
  7104. data[i] = uint8(l)
  7105. i++
  7106. i += copy(data[i:], s)
  7107. }
  7108. }
  7109. data[i] = 0x3a
  7110. i++
  7111. i = encodeVarintGenerated(data, i, uint64(len(m.SessionAffinity)))
  7112. i += copy(data[i:], m.SessionAffinity)
  7113. data[i] = 0x42
  7114. i++
  7115. i = encodeVarintGenerated(data, i, uint64(len(m.LoadBalancerIP)))
  7116. i += copy(data[i:], m.LoadBalancerIP)
  7117. if len(m.LoadBalancerSourceRanges) > 0 {
  7118. for _, s := range m.LoadBalancerSourceRanges {
  7119. data[i] = 0x4a
  7120. i++
  7121. l = len(s)
  7122. for l >= 1<<7 {
  7123. data[i] = uint8(uint64(l)&0x7f | 0x80)
  7124. l >>= 7
  7125. i++
  7126. }
  7127. data[i] = uint8(l)
  7128. i++
  7129. i += copy(data[i:], s)
  7130. }
  7131. }
  7132. data[i] = 0x52
  7133. i++
  7134. i = encodeVarintGenerated(data, i, uint64(len(m.ExternalName)))
  7135. i += copy(data[i:], m.ExternalName)
  7136. return i, nil
  7137. }
  7138. func (m *ServiceStatus) Marshal() (data []byte, err error) {
  7139. size := m.Size()
  7140. data = make([]byte, size)
  7141. n, err := m.MarshalTo(data)
  7142. if err != nil {
  7143. return nil, err
  7144. }
  7145. return data[:n], nil
  7146. }
  7147. func (m *ServiceStatus) MarshalTo(data []byte) (int, error) {
  7148. var i int
  7149. _ = i
  7150. var l int
  7151. _ = l
  7152. data[i] = 0xa
  7153. i++
  7154. i = encodeVarintGenerated(data, i, uint64(m.LoadBalancer.Size()))
  7155. n160, err := m.LoadBalancer.MarshalTo(data[i:])
  7156. if err != nil {
  7157. return 0, err
  7158. }
  7159. i += n160
  7160. return i, nil
  7161. }
  7162. func (m *TCPSocketAction) Marshal() (data []byte, err error) {
  7163. size := m.Size()
  7164. data = make([]byte, size)
  7165. n, err := m.MarshalTo(data)
  7166. if err != nil {
  7167. return nil, err
  7168. }
  7169. return data[:n], nil
  7170. }
  7171. func (m *TCPSocketAction) MarshalTo(data []byte) (int, error) {
  7172. var i int
  7173. _ = i
  7174. var l int
  7175. _ = l
  7176. data[i] = 0xa
  7177. i++
  7178. i = encodeVarintGenerated(data, i, uint64(m.Port.Size()))
  7179. n161, err := m.Port.MarshalTo(data[i:])
  7180. if err != nil {
  7181. return 0, err
  7182. }
  7183. i += n161
  7184. return i, nil
  7185. }
  7186. func (m *Taint) Marshal() (data []byte, err error) {
  7187. size := m.Size()
  7188. data = make([]byte, size)
  7189. n, err := m.MarshalTo(data)
  7190. if err != nil {
  7191. return nil, err
  7192. }
  7193. return data[:n], nil
  7194. }
  7195. func (m *Taint) MarshalTo(data []byte) (int, error) {
  7196. var i int
  7197. _ = i
  7198. var l int
  7199. _ = l
  7200. data[i] = 0xa
  7201. i++
  7202. i = encodeVarintGenerated(data, i, uint64(len(m.Key)))
  7203. i += copy(data[i:], m.Key)
  7204. data[i] = 0x12
  7205. i++
  7206. i = encodeVarintGenerated(data, i, uint64(len(m.Value)))
  7207. i += copy(data[i:], m.Value)
  7208. data[i] = 0x1a
  7209. i++
  7210. i = encodeVarintGenerated(data, i, uint64(len(m.Effect)))
  7211. i += copy(data[i:], m.Effect)
  7212. return i, nil
  7213. }
  7214. func (m *Toleration) Marshal() (data []byte, err error) {
  7215. size := m.Size()
  7216. data = make([]byte, size)
  7217. n, err := m.MarshalTo(data)
  7218. if err != nil {
  7219. return nil, err
  7220. }
  7221. return data[:n], nil
  7222. }
  7223. func (m *Toleration) MarshalTo(data []byte) (int, error) {
  7224. var i int
  7225. _ = i
  7226. var l int
  7227. _ = l
  7228. data[i] = 0xa
  7229. i++
  7230. i = encodeVarintGenerated(data, i, uint64(len(m.Key)))
  7231. i += copy(data[i:], m.Key)
  7232. data[i] = 0x12
  7233. i++
  7234. i = encodeVarintGenerated(data, i, uint64(len(m.Operator)))
  7235. i += copy(data[i:], m.Operator)
  7236. data[i] = 0x1a
  7237. i++
  7238. i = encodeVarintGenerated(data, i, uint64(len(m.Value)))
  7239. i += copy(data[i:], m.Value)
  7240. data[i] = 0x22
  7241. i++
  7242. i = encodeVarintGenerated(data, i, uint64(len(m.Effect)))
  7243. i += copy(data[i:], m.Effect)
  7244. return i, nil
  7245. }
  7246. func (m *Volume) Marshal() (data []byte, err error) {
  7247. size := m.Size()
  7248. data = make([]byte, size)
  7249. n, err := m.MarshalTo(data)
  7250. if err != nil {
  7251. return nil, err
  7252. }
  7253. return data[:n], nil
  7254. }
  7255. func (m *Volume) MarshalTo(data []byte) (int, error) {
  7256. var i int
  7257. _ = i
  7258. var l int
  7259. _ = l
  7260. data[i] = 0xa
  7261. i++
  7262. i = encodeVarintGenerated(data, i, uint64(len(m.Name)))
  7263. i += copy(data[i:], m.Name)
  7264. data[i] = 0x12
  7265. i++
  7266. i = encodeVarintGenerated(data, i, uint64(m.VolumeSource.Size()))
  7267. n162, err := m.VolumeSource.MarshalTo(data[i:])
  7268. if err != nil {
  7269. return 0, err
  7270. }
  7271. i += n162
  7272. return i, nil
  7273. }
  7274. func (m *VolumeMount) Marshal() (data []byte, err error) {
  7275. size := m.Size()
  7276. data = make([]byte, size)
  7277. n, err := m.MarshalTo(data)
  7278. if err != nil {
  7279. return nil, err
  7280. }
  7281. return data[:n], nil
  7282. }
  7283. func (m *VolumeMount) MarshalTo(data []byte) (int, error) {
  7284. var i int
  7285. _ = i
  7286. var l int
  7287. _ = l
  7288. data[i] = 0xa
  7289. i++
  7290. i = encodeVarintGenerated(data, i, uint64(len(m.Name)))
  7291. i += copy(data[i:], m.Name)
  7292. data[i] = 0x10
  7293. i++
  7294. if m.ReadOnly {
  7295. data[i] = 1
  7296. } else {
  7297. data[i] = 0
  7298. }
  7299. i++
  7300. data[i] = 0x1a
  7301. i++
  7302. i = encodeVarintGenerated(data, i, uint64(len(m.MountPath)))
  7303. i += copy(data[i:], m.MountPath)
  7304. data[i] = 0x22
  7305. i++
  7306. i = encodeVarintGenerated(data, i, uint64(len(m.SubPath)))
  7307. i += copy(data[i:], m.SubPath)
  7308. return i, nil
  7309. }
  7310. func (m *VolumeSource) Marshal() (data []byte, err error) {
  7311. size := m.Size()
  7312. data = make([]byte, size)
  7313. n, err := m.MarshalTo(data)
  7314. if err != nil {
  7315. return nil, err
  7316. }
  7317. return data[:n], nil
  7318. }
  7319. func (m *VolumeSource) MarshalTo(data []byte) (int, error) {
  7320. var i int
  7321. _ = i
  7322. var l int
  7323. _ = l
  7324. if m.HostPath != nil {
  7325. data[i] = 0xa
  7326. i++
  7327. i = encodeVarintGenerated(data, i, uint64(m.HostPath.Size()))
  7328. n163, err := m.HostPath.MarshalTo(data[i:])
  7329. if err != nil {
  7330. return 0, err
  7331. }
  7332. i += n163
  7333. }
  7334. if m.EmptyDir != nil {
  7335. data[i] = 0x12
  7336. i++
  7337. i = encodeVarintGenerated(data, i, uint64(m.EmptyDir.Size()))
  7338. n164, err := m.EmptyDir.MarshalTo(data[i:])
  7339. if err != nil {
  7340. return 0, err
  7341. }
  7342. i += n164
  7343. }
  7344. if m.GCEPersistentDisk != nil {
  7345. data[i] = 0x1a
  7346. i++
  7347. i = encodeVarintGenerated(data, i, uint64(m.GCEPersistentDisk.Size()))
  7348. n165, err := m.GCEPersistentDisk.MarshalTo(data[i:])
  7349. if err != nil {
  7350. return 0, err
  7351. }
  7352. i += n165
  7353. }
  7354. if m.AWSElasticBlockStore != nil {
  7355. data[i] = 0x22
  7356. i++
  7357. i = encodeVarintGenerated(data, i, uint64(m.AWSElasticBlockStore.Size()))
  7358. n166, err := m.AWSElasticBlockStore.MarshalTo(data[i:])
  7359. if err != nil {
  7360. return 0, err
  7361. }
  7362. i += n166
  7363. }
  7364. if m.GitRepo != nil {
  7365. data[i] = 0x2a
  7366. i++
  7367. i = encodeVarintGenerated(data, i, uint64(m.GitRepo.Size()))
  7368. n167, err := m.GitRepo.MarshalTo(data[i:])
  7369. if err != nil {
  7370. return 0, err
  7371. }
  7372. i += n167
  7373. }
  7374. if m.Secret != nil {
  7375. data[i] = 0x32
  7376. i++
  7377. i = encodeVarintGenerated(data, i, uint64(m.Secret.Size()))
  7378. n168, err := m.Secret.MarshalTo(data[i:])
  7379. if err != nil {
  7380. return 0, err
  7381. }
  7382. i += n168
  7383. }
  7384. if m.NFS != nil {
  7385. data[i] = 0x3a
  7386. i++
  7387. i = encodeVarintGenerated(data, i, uint64(m.NFS.Size()))
  7388. n169, err := m.NFS.MarshalTo(data[i:])
  7389. if err != nil {
  7390. return 0, err
  7391. }
  7392. i += n169
  7393. }
  7394. if m.ISCSI != nil {
  7395. data[i] = 0x42
  7396. i++
  7397. i = encodeVarintGenerated(data, i, uint64(m.ISCSI.Size()))
  7398. n170, err := m.ISCSI.MarshalTo(data[i:])
  7399. if err != nil {
  7400. return 0, err
  7401. }
  7402. i += n170
  7403. }
  7404. if m.Glusterfs != nil {
  7405. data[i] = 0x4a
  7406. i++
  7407. i = encodeVarintGenerated(data, i, uint64(m.Glusterfs.Size()))
  7408. n171, err := m.Glusterfs.MarshalTo(data[i:])
  7409. if err != nil {
  7410. return 0, err
  7411. }
  7412. i += n171
  7413. }
  7414. if m.PersistentVolumeClaim != nil {
  7415. data[i] = 0x52
  7416. i++
  7417. i = encodeVarintGenerated(data, i, uint64(m.PersistentVolumeClaim.Size()))
  7418. n172, err := m.PersistentVolumeClaim.MarshalTo(data[i:])
  7419. if err != nil {
  7420. return 0, err
  7421. }
  7422. i += n172
  7423. }
  7424. if m.RBD != nil {
  7425. data[i] = 0x5a
  7426. i++
  7427. i = encodeVarintGenerated(data, i, uint64(m.RBD.Size()))
  7428. n173, err := m.RBD.MarshalTo(data[i:])
  7429. if err != nil {
  7430. return 0, err
  7431. }
  7432. i += n173
  7433. }
  7434. if m.FlexVolume != nil {
  7435. data[i] = 0x62
  7436. i++
  7437. i = encodeVarintGenerated(data, i, uint64(m.FlexVolume.Size()))
  7438. n174, err := m.FlexVolume.MarshalTo(data[i:])
  7439. if err != nil {
  7440. return 0, err
  7441. }
  7442. i += n174
  7443. }
  7444. if m.Cinder != nil {
  7445. data[i] = 0x6a
  7446. i++
  7447. i = encodeVarintGenerated(data, i, uint64(m.Cinder.Size()))
  7448. n175, err := m.Cinder.MarshalTo(data[i:])
  7449. if err != nil {
  7450. return 0, err
  7451. }
  7452. i += n175
  7453. }
  7454. if m.CephFS != nil {
  7455. data[i] = 0x72
  7456. i++
  7457. i = encodeVarintGenerated(data, i, uint64(m.CephFS.Size()))
  7458. n176, err := m.CephFS.MarshalTo(data[i:])
  7459. if err != nil {
  7460. return 0, err
  7461. }
  7462. i += n176
  7463. }
  7464. if m.Flocker != nil {
  7465. data[i] = 0x7a
  7466. i++
  7467. i = encodeVarintGenerated(data, i, uint64(m.Flocker.Size()))
  7468. n177, err := m.Flocker.MarshalTo(data[i:])
  7469. if err != nil {
  7470. return 0, err
  7471. }
  7472. i += n177
  7473. }
  7474. if m.DownwardAPI != nil {
  7475. data[i] = 0x82
  7476. i++
  7477. data[i] = 0x1
  7478. i++
  7479. i = encodeVarintGenerated(data, i, uint64(m.DownwardAPI.Size()))
  7480. n178, err := m.DownwardAPI.MarshalTo(data[i:])
  7481. if err != nil {
  7482. return 0, err
  7483. }
  7484. i += n178
  7485. }
  7486. if m.FC != nil {
  7487. data[i] = 0x8a
  7488. i++
  7489. data[i] = 0x1
  7490. i++
  7491. i = encodeVarintGenerated(data, i, uint64(m.FC.Size()))
  7492. n179, err := m.FC.MarshalTo(data[i:])
  7493. if err != nil {
  7494. return 0, err
  7495. }
  7496. i += n179
  7497. }
  7498. if m.AzureFile != nil {
  7499. data[i] = 0x92
  7500. i++
  7501. data[i] = 0x1
  7502. i++
  7503. i = encodeVarintGenerated(data, i, uint64(m.AzureFile.Size()))
  7504. n180, err := m.AzureFile.MarshalTo(data[i:])
  7505. if err != nil {
  7506. return 0, err
  7507. }
  7508. i += n180
  7509. }
  7510. if m.ConfigMap != nil {
  7511. data[i] = 0x9a
  7512. i++
  7513. data[i] = 0x1
  7514. i++
  7515. i = encodeVarintGenerated(data, i, uint64(m.ConfigMap.Size()))
  7516. n181, err := m.ConfigMap.MarshalTo(data[i:])
  7517. if err != nil {
  7518. return 0, err
  7519. }
  7520. i += n181
  7521. }
  7522. if m.VsphereVolume != nil {
  7523. data[i] = 0xa2
  7524. i++
  7525. data[i] = 0x1
  7526. i++
  7527. i = encodeVarintGenerated(data, i, uint64(m.VsphereVolume.Size()))
  7528. n182, err := m.VsphereVolume.MarshalTo(data[i:])
  7529. if err != nil {
  7530. return 0, err
  7531. }
  7532. i += n182
  7533. }
  7534. if m.Quobyte != nil {
  7535. data[i] = 0xaa
  7536. i++
  7537. data[i] = 0x1
  7538. i++
  7539. i = encodeVarintGenerated(data, i, uint64(m.Quobyte.Size()))
  7540. n183, err := m.Quobyte.MarshalTo(data[i:])
  7541. if err != nil {
  7542. return 0, err
  7543. }
  7544. i += n183
  7545. }
  7546. if m.AzureDisk != nil {
  7547. data[i] = 0xb2
  7548. i++
  7549. data[i] = 0x1
  7550. i++
  7551. i = encodeVarintGenerated(data, i, uint64(m.AzureDisk.Size()))
  7552. n184, err := m.AzureDisk.MarshalTo(data[i:])
  7553. if err != nil {
  7554. return 0, err
  7555. }
  7556. i += n184
  7557. }
  7558. return i, nil
  7559. }
  7560. func (m *VsphereVirtualDiskVolumeSource) Marshal() (data []byte, err error) {
  7561. size := m.Size()
  7562. data = make([]byte, size)
  7563. n, err := m.MarshalTo(data)
  7564. if err != nil {
  7565. return nil, err
  7566. }
  7567. return data[:n], nil
  7568. }
  7569. func (m *VsphereVirtualDiskVolumeSource) MarshalTo(data []byte) (int, error) {
  7570. var i int
  7571. _ = i
  7572. var l int
  7573. _ = l
  7574. data[i] = 0xa
  7575. i++
  7576. i = encodeVarintGenerated(data, i, uint64(len(m.VolumePath)))
  7577. i += copy(data[i:], m.VolumePath)
  7578. data[i] = 0x12
  7579. i++
  7580. i = encodeVarintGenerated(data, i, uint64(len(m.FSType)))
  7581. i += copy(data[i:], m.FSType)
  7582. return i, nil
  7583. }
  7584. func (m *WeightedPodAffinityTerm) Marshal() (data []byte, err error) {
  7585. size := m.Size()
  7586. data = make([]byte, size)
  7587. n, err := m.MarshalTo(data)
  7588. if err != nil {
  7589. return nil, err
  7590. }
  7591. return data[:n], nil
  7592. }
  7593. func (m *WeightedPodAffinityTerm) MarshalTo(data []byte) (int, error) {
  7594. var i int
  7595. _ = i
  7596. var l int
  7597. _ = l
  7598. data[i] = 0x8
  7599. i++
  7600. i = encodeVarintGenerated(data, i, uint64(m.Weight))
  7601. data[i] = 0x12
  7602. i++
  7603. i = encodeVarintGenerated(data, i, uint64(m.PodAffinityTerm.Size()))
  7604. n185, err := m.PodAffinityTerm.MarshalTo(data[i:])
  7605. if err != nil {
  7606. return 0, err
  7607. }
  7608. i += n185
  7609. return i, nil
  7610. }
  7611. func encodeFixed64Generated(data []byte, offset int, v uint64) int {
  7612. data[offset] = uint8(v)
  7613. data[offset+1] = uint8(v >> 8)
  7614. data[offset+2] = uint8(v >> 16)
  7615. data[offset+3] = uint8(v >> 24)
  7616. data[offset+4] = uint8(v >> 32)
  7617. data[offset+5] = uint8(v >> 40)
  7618. data[offset+6] = uint8(v >> 48)
  7619. data[offset+7] = uint8(v >> 56)
  7620. return offset + 8
  7621. }
  7622. func encodeFixed32Generated(data []byte, offset int, v uint32) int {
  7623. data[offset] = uint8(v)
  7624. data[offset+1] = uint8(v >> 8)
  7625. data[offset+2] = uint8(v >> 16)
  7626. data[offset+3] = uint8(v >> 24)
  7627. return offset + 4
  7628. }
  7629. func encodeVarintGenerated(data []byte, offset int, v uint64) int {
  7630. for v >= 1<<7 {
  7631. data[offset] = uint8(v&0x7f | 0x80)
  7632. v >>= 7
  7633. offset++
  7634. }
  7635. data[offset] = uint8(v)
  7636. return offset + 1
  7637. }
  7638. func (m *AWSElasticBlockStoreVolumeSource) Size() (n int) {
  7639. var l int
  7640. _ = l
  7641. l = len(m.VolumeID)
  7642. n += 1 + l + sovGenerated(uint64(l))
  7643. l = len(m.FSType)
  7644. n += 1 + l + sovGenerated(uint64(l))
  7645. n += 1 + sovGenerated(uint64(m.Partition))
  7646. n += 2
  7647. return n
  7648. }
  7649. func (m *Affinity) Size() (n int) {
  7650. var l int
  7651. _ = l
  7652. if m.NodeAffinity != nil {
  7653. l = m.NodeAffinity.Size()
  7654. n += 1 + l + sovGenerated(uint64(l))
  7655. }
  7656. if m.PodAffinity != nil {
  7657. l = m.PodAffinity.Size()
  7658. n += 1 + l + sovGenerated(uint64(l))
  7659. }
  7660. if m.PodAntiAffinity != nil {
  7661. l = m.PodAntiAffinity.Size()
  7662. n += 1 + l + sovGenerated(uint64(l))
  7663. }
  7664. return n
  7665. }
  7666. func (m *AttachedVolume) Size() (n int) {
  7667. var l int
  7668. _ = l
  7669. l = len(m.Name)
  7670. n += 1 + l + sovGenerated(uint64(l))
  7671. l = len(m.DevicePath)
  7672. n += 1 + l + sovGenerated(uint64(l))
  7673. return n
  7674. }
  7675. func (m *AvoidPods) Size() (n int) {
  7676. var l int
  7677. _ = l
  7678. if len(m.PreferAvoidPods) > 0 {
  7679. for _, e := range m.PreferAvoidPods {
  7680. l = e.Size()
  7681. n += 1 + l + sovGenerated(uint64(l))
  7682. }
  7683. }
  7684. return n
  7685. }
  7686. func (m *AzureDiskVolumeSource) Size() (n int) {
  7687. var l int
  7688. _ = l
  7689. l = len(m.DiskName)
  7690. n += 1 + l + sovGenerated(uint64(l))
  7691. l = len(m.DataDiskURI)
  7692. n += 1 + l + sovGenerated(uint64(l))
  7693. if m.CachingMode != nil {
  7694. l = len(*m.CachingMode)
  7695. n += 1 + l + sovGenerated(uint64(l))
  7696. }
  7697. if m.FSType != nil {
  7698. l = len(*m.FSType)
  7699. n += 1 + l + sovGenerated(uint64(l))
  7700. }
  7701. if m.ReadOnly != nil {
  7702. n += 2
  7703. }
  7704. return n
  7705. }
  7706. func (m *AzureFileVolumeSource) Size() (n int) {
  7707. var l int
  7708. _ = l
  7709. l = len(m.SecretName)
  7710. n += 1 + l + sovGenerated(uint64(l))
  7711. l = len(m.ShareName)
  7712. n += 1 + l + sovGenerated(uint64(l))
  7713. n += 2
  7714. return n
  7715. }
  7716. func (m *Binding) Size() (n int) {
  7717. var l int
  7718. _ = l
  7719. l = m.ObjectMeta.Size()
  7720. n += 1 + l + sovGenerated(uint64(l))
  7721. l = m.Target.Size()
  7722. n += 1 + l + sovGenerated(uint64(l))
  7723. return n
  7724. }
  7725. func (m *Capabilities) Size() (n int) {
  7726. var l int
  7727. _ = l
  7728. if len(m.Add) > 0 {
  7729. for _, s := range m.Add {
  7730. l = len(s)
  7731. n += 1 + l + sovGenerated(uint64(l))
  7732. }
  7733. }
  7734. if len(m.Drop) > 0 {
  7735. for _, s := range m.Drop {
  7736. l = len(s)
  7737. n += 1 + l + sovGenerated(uint64(l))
  7738. }
  7739. }
  7740. return n
  7741. }
  7742. func (m *CephFSVolumeSource) Size() (n int) {
  7743. var l int
  7744. _ = l
  7745. if len(m.Monitors) > 0 {
  7746. for _, s := range m.Monitors {
  7747. l = len(s)
  7748. n += 1 + l + sovGenerated(uint64(l))
  7749. }
  7750. }
  7751. l = len(m.Path)
  7752. n += 1 + l + sovGenerated(uint64(l))
  7753. l = len(m.User)
  7754. n += 1 + l + sovGenerated(uint64(l))
  7755. l = len(m.SecretFile)
  7756. n += 1 + l + sovGenerated(uint64(l))
  7757. if m.SecretRef != nil {
  7758. l = m.SecretRef.Size()
  7759. n += 1 + l + sovGenerated(uint64(l))
  7760. }
  7761. n += 2
  7762. return n
  7763. }
  7764. func (m *CinderVolumeSource) Size() (n int) {
  7765. var l int
  7766. _ = l
  7767. l = len(m.VolumeID)
  7768. n += 1 + l + sovGenerated(uint64(l))
  7769. l = len(m.FSType)
  7770. n += 1 + l + sovGenerated(uint64(l))
  7771. n += 2
  7772. return n
  7773. }
  7774. func (m *ComponentCondition) Size() (n int) {
  7775. var l int
  7776. _ = l
  7777. l = len(m.Type)
  7778. n += 1 + l + sovGenerated(uint64(l))
  7779. l = len(m.Status)
  7780. n += 1 + l + sovGenerated(uint64(l))
  7781. l = len(m.Message)
  7782. n += 1 + l + sovGenerated(uint64(l))
  7783. l = len(m.Error)
  7784. n += 1 + l + sovGenerated(uint64(l))
  7785. return n
  7786. }
  7787. func (m *ComponentStatus) Size() (n int) {
  7788. var l int
  7789. _ = l
  7790. l = m.ObjectMeta.Size()
  7791. n += 1 + l + sovGenerated(uint64(l))
  7792. if len(m.Conditions) > 0 {
  7793. for _, e := range m.Conditions {
  7794. l = e.Size()
  7795. n += 1 + l + sovGenerated(uint64(l))
  7796. }
  7797. }
  7798. return n
  7799. }
  7800. func (m *ComponentStatusList) Size() (n int) {
  7801. var l int
  7802. _ = l
  7803. l = m.ListMeta.Size()
  7804. n += 1 + l + sovGenerated(uint64(l))
  7805. if len(m.Items) > 0 {
  7806. for _, e := range m.Items {
  7807. l = e.Size()
  7808. n += 1 + l + sovGenerated(uint64(l))
  7809. }
  7810. }
  7811. return n
  7812. }
  7813. func (m *ConfigMap) Size() (n int) {
  7814. var l int
  7815. _ = l
  7816. l = m.ObjectMeta.Size()
  7817. n += 1 + l + sovGenerated(uint64(l))
  7818. if len(m.Data) > 0 {
  7819. for k, v := range m.Data {
  7820. _ = k
  7821. _ = v
  7822. mapEntrySize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + len(v) + sovGenerated(uint64(len(v)))
  7823. n += mapEntrySize + 1 + sovGenerated(uint64(mapEntrySize))
  7824. }
  7825. }
  7826. return n
  7827. }
  7828. func (m *ConfigMapKeySelector) Size() (n int) {
  7829. var l int
  7830. _ = l
  7831. l = m.LocalObjectReference.Size()
  7832. n += 1 + l + sovGenerated(uint64(l))
  7833. l = len(m.Key)
  7834. n += 1 + l + sovGenerated(uint64(l))
  7835. return n
  7836. }
  7837. func (m *ConfigMapList) Size() (n int) {
  7838. var l int
  7839. _ = l
  7840. l = m.ListMeta.Size()
  7841. n += 1 + l + sovGenerated(uint64(l))
  7842. if len(m.Items) > 0 {
  7843. for _, e := range m.Items {
  7844. l = e.Size()
  7845. n += 1 + l + sovGenerated(uint64(l))
  7846. }
  7847. }
  7848. return n
  7849. }
  7850. func (m *ConfigMapVolumeSource) Size() (n int) {
  7851. var l int
  7852. _ = l
  7853. l = m.LocalObjectReference.Size()
  7854. n += 1 + l + sovGenerated(uint64(l))
  7855. if len(m.Items) > 0 {
  7856. for _, e := range m.Items {
  7857. l = e.Size()
  7858. n += 1 + l + sovGenerated(uint64(l))
  7859. }
  7860. }
  7861. if m.DefaultMode != nil {
  7862. n += 1 + sovGenerated(uint64(*m.DefaultMode))
  7863. }
  7864. return n
  7865. }
  7866. func (m *Container) Size() (n int) {
  7867. var l int
  7868. _ = l
  7869. l = len(m.Name)
  7870. n += 1 + l + sovGenerated(uint64(l))
  7871. l = len(m.Image)
  7872. n += 1 + l + sovGenerated(uint64(l))
  7873. if len(m.Command) > 0 {
  7874. for _, s := range m.Command {
  7875. l = len(s)
  7876. n += 1 + l + sovGenerated(uint64(l))
  7877. }
  7878. }
  7879. if len(m.Args) > 0 {
  7880. for _, s := range m.Args {
  7881. l = len(s)
  7882. n += 1 + l + sovGenerated(uint64(l))
  7883. }
  7884. }
  7885. l = len(m.WorkingDir)
  7886. n += 1 + l + sovGenerated(uint64(l))
  7887. if len(m.Ports) > 0 {
  7888. for _, e := range m.Ports {
  7889. l = e.Size()
  7890. n += 1 + l + sovGenerated(uint64(l))
  7891. }
  7892. }
  7893. if len(m.Env) > 0 {
  7894. for _, e := range m.Env {
  7895. l = e.Size()
  7896. n += 1 + l + sovGenerated(uint64(l))
  7897. }
  7898. }
  7899. l = m.Resources.Size()
  7900. n += 1 + l + sovGenerated(uint64(l))
  7901. if len(m.VolumeMounts) > 0 {
  7902. for _, e := range m.VolumeMounts {
  7903. l = e.Size()
  7904. n += 1 + l + sovGenerated(uint64(l))
  7905. }
  7906. }
  7907. if m.LivenessProbe != nil {
  7908. l = m.LivenessProbe.Size()
  7909. n += 1 + l + sovGenerated(uint64(l))
  7910. }
  7911. if m.ReadinessProbe != nil {
  7912. l = m.ReadinessProbe.Size()
  7913. n += 1 + l + sovGenerated(uint64(l))
  7914. }
  7915. if m.Lifecycle != nil {
  7916. l = m.Lifecycle.Size()
  7917. n += 1 + l + sovGenerated(uint64(l))
  7918. }
  7919. l = len(m.TerminationMessagePath)
  7920. n += 1 + l + sovGenerated(uint64(l))
  7921. l = len(m.ImagePullPolicy)
  7922. n += 1 + l + sovGenerated(uint64(l))
  7923. if m.SecurityContext != nil {
  7924. l = m.SecurityContext.Size()
  7925. n += 1 + l + sovGenerated(uint64(l))
  7926. }
  7927. n += 3
  7928. n += 3
  7929. n += 3
  7930. return n
  7931. }
  7932. func (m *ContainerImage) Size() (n int) {
  7933. var l int
  7934. _ = l
  7935. if len(m.Names) > 0 {
  7936. for _, s := range m.Names {
  7937. l = len(s)
  7938. n += 1 + l + sovGenerated(uint64(l))
  7939. }
  7940. }
  7941. n += 1 + sovGenerated(uint64(m.SizeBytes))
  7942. return n
  7943. }
  7944. func (m *ContainerPort) Size() (n int) {
  7945. var l int
  7946. _ = l
  7947. l = len(m.Name)
  7948. n += 1 + l + sovGenerated(uint64(l))
  7949. n += 1 + sovGenerated(uint64(m.HostPort))
  7950. n += 1 + sovGenerated(uint64(m.ContainerPort))
  7951. l = len(m.Protocol)
  7952. n += 1 + l + sovGenerated(uint64(l))
  7953. l = len(m.HostIP)
  7954. n += 1 + l + sovGenerated(uint64(l))
  7955. return n
  7956. }
  7957. func (m *ContainerState) Size() (n int) {
  7958. var l int
  7959. _ = l
  7960. if m.Waiting != nil {
  7961. l = m.Waiting.Size()
  7962. n += 1 + l + sovGenerated(uint64(l))
  7963. }
  7964. if m.Running != nil {
  7965. l = m.Running.Size()
  7966. n += 1 + l + sovGenerated(uint64(l))
  7967. }
  7968. if m.Terminated != nil {
  7969. l = m.Terminated.Size()
  7970. n += 1 + l + sovGenerated(uint64(l))
  7971. }
  7972. return n
  7973. }
  7974. func (m *ContainerStateRunning) Size() (n int) {
  7975. var l int
  7976. _ = l
  7977. l = m.StartedAt.Size()
  7978. n += 1 + l + sovGenerated(uint64(l))
  7979. return n
  7980. }
  7981. func (m *ContainerStateTerminated) Size() (n int) {
  7982. var l int
  7983. _ = l
  7984. n += 1 + sovGenerated(uint64(m.ExitCode))
  7985. n += 1 + sovGenerated(uint64(m.Signal))
  7986. l = len(m.Reason)
  7987. n += 1 + l + sovGenerated(uint64(l))
  7988. l = len(m.Message)
  7989. n += 1 + l + sovGenerated(uint64(l))
  7990. l = m.StartedAt.Size()
  7991. n += 1 + l + sovGenerated(uint64(l))
  7992. l = m.FinishedAt.Size()
  7993. n += 1 + l + sovGenerated(uint64(l))
  7994. l = len(m.ContainerID)
  7995. n += 1 + l + sovGenerated(uint64(l))
  7996. return n
  7997. }
  7998. func (m *ContainerStateWaiting) Size() (n int) {
  7999. var l int
  8000. _ = l
  8001. l = len(m.Reason)
  8002. n += 1 + l + sovGenerated(uint64(l))
  8003. l = len(m.Message)
  8004. n += 1 + l + sovGenerated(uint64(l))
  8005. return n
  8006. }
  8007. func (m *ContainerStatus) Size() (n int) {
  8008. var l int
  8009. _ = l
  8010. l = len(m.Name)
  8011. n += 1 + l + sovGenerated(uint64(l))
  8012. l = m.State.Size()
  8013. n += 1 + l + sovGenerated(uint64(l))
  8014. l = m.LastTerminationState.Size()
  8015. n += 1 + l + sovGenerated(uint64(l))
  8016. n += 2
  8017. n += 1 + sovGenerated(uint64(m.RestartCount))
  8018. l = len(m.Image)
  8019. n += 1 + l + sovGenerated(uint64(l))
  8020. l = len(m.ImageID)
  8021. n += 1 + l + sovGenerated(uint64(l))
  8022. l = len(m.ContainerID)
  8023. n += 1 + l + sovGenerated(uint64(l))
  8024. return n
  8025. }
  8026. func (m *DaemonEndpoint) Size() (n int) {
  8027. var l int
  8028. _ = l
  8029. n += 1 + sovGenerated(uint64(m.Port))
  8030. return n
  8031. }
  8032. func (m *DeleteOptions) Size() (n int) {
  8033. var l int
  8034. _ = l
  8035. if m.GracePeriodSeconds != nil {
  8036. n += 1 + sovGenerated(uint64(*m.GracePeriodSeconds))
  8037. }
  8038. if m.Preconditions != nil {
  8039. l = m.Preconditions.Size()
  8040. n += 1 + l + sovGenerated(uint64(l))
  8041. }
  8042. if m.OrphanDependents != nil {
  8043. n += 2
  8044. }
  8045. return n
  8046. }
  8047. func (m *DownwardAPIVolumeFile) Size() (n int) {
  8048. var l int
  8049. _ = l
  8050. l = len(m.Path)
  8051. n += 1 + l + sovGenerated(uint64(l))
  8052. if m.FieldRef != nil {
  8053. l = m.FieldRef.Size()
  8054. n += 1 + l + sovGenerated(uint64(l))
  8055. }
  8056. if m.ResourceFieldRef != nil {
  8057. l = m.ResourceFieldRef.Size()
  8058. n += 1 + l + sovGenerated(uint64(l))
  8059. }
  8060. if m.Mode != nil {
  8061. n += 1 + sovGenerated(uint64(*m.Mode))
  8062. }
  8063. return n
  8064. }
  8065. func (m *DownwardAPIVolumeSource) Size() (n int) {
  8066. var l int
  8067. _ = l
  8068. if len(m.Items) > 0 {
  8069. for _, e := range m.Items {
  8070. l = e.Size()
  8071. n += 1 + l + sovGenerated(uint64(l))
  8072. }
  8073. }
  8074. if m.DefaultMode != nil {
  8075. n += 1 + sovGenerated(uint64(*m.DefaultMode))
  8076. }
  8077. return n
  8078. }
  8079. func (m *EmptyDirVolumeSource) Size() (n int) {
  8080. var l int
  8081. _ = l
  8082. l = len(m.Medium)
  8083. n += 1 + l + sovGenerated(uint64(l))
  8084. return n
  8085. }
  8086. func (m *EndpointAddress) Size() (n int) {
  8087. var l int
  8088. _ = l
  8089. l = len(m.IP)
  8090. n += 1 + l + sovGenerated(uint64(l))
  8091. if m.TargetRef != nil {
  8092. l = m.TargetRef.Size()
  8093. n += 1 + l + sovGenerated(uint64(l))
  8094. }
  8095. l = len(m.Hostname)
  8096. n += 1 + l + sovGenerated(uint64(l))
  8097. if m.NodeName != nil {
  8098. l = len(*m.NodeName)
  8099. n += 1 + l + sovGenerated(uint64(l))
  8100. }
  8101. return n
  8102. }
  8103. func (m *EndpointPort) Size() (n int) {
  8104. var l int
  8105. _ = l
  8106. l = len(m.Name)
  8107. n += 1 + l + sovGenerated(uint64(l))
  8108. n += 1 + sovGenerated(uint64(m.Port))
  8109. l = len(m.Protocol)
  8110. n += 1 + l + sovGenerated(uint64(l))
  8111. return n
  8112. }
  8113. func (m *EndpointSubset) Size() (n int) {
  8114. var l int
  8115. _ = l
  8116. if len(m.Addresses) > 0 {
  8117. for _, e := range m.Addresses {
  8118. l = e.Size()
  8119. n += 1 + l + sovGenerated(uint64(l))
  8120. }
  8121. }
  8122. if len(m.NotReadyAddresses) > 0 {
  8123. for _, e := range m.NotReadyAddresses {
  8124. l = e.Size()
  8125. n += 1 + l + sovGenerated(uint64(l))
  8126. }
  8127. }
  8128. if len(m.Ports) > 0 {
  8129. for _, e := range m.Ports {
  8130. l = e.Size()
  8131. n += 1 + l + sovGenerated(uint64(l))
  8132. }
  8133. }
  8134. return n
  8135. }
  8136. func (m *Endpoints) Size() (n int) {
  8137. var l int
  8138. _ = l
  8139. l = m.ObjectMeta.Size()
  8140. n += 1 + l + sovGenerated(uint64(l))
  8141. if len(m.Subsets) > 0 {
  8142. for _, e := range m.Subsets {
  8143. l = e.Size()
  8144. n += 1 + l + sovGenerated(uint64(l))
  8145. }
  8146. }
  8147. return n
  8148. }
  8149. func (m *EndpointsList) Size() (n int) {
  8150. var l int
  8151. _ = l
  8152. l = m.ListMeta.Size()
  8153. n += 1 + l + sovGenerated(uint64(l))
  8154. if len(m.Items) > 0 {
  8155. for _, e := range m.Items {
  8156. l = e.Size()
  8157. n += 1 + l + sovGenerated(uint64(l))
  8158. }
  8159. }
  8160. return n
  8161. }
  8162. func (m *EnvVar) Size() (n int) {
  8163. var l int
  8164. _ = l
  8165. l = len(m.Name)
  8166. n += 1 + l + sovGenerated(uint64(l))
  8167. l = len(m.Value)
  8168. n += 1 + l + sovGenerated(uint64(l))
  8169. if m.ValueFrom != nil {
  8170. l = m.ValueFrom.Size()
  8171. n += 1 + l + sovGenerated(uint64(l))
  8172. }
  8173. return n
  8174. }
  8175. func (m *EnvVarSource) Size() (n int) {
  8176. var l int
  8177. _ = l
  8178. if m.FieldRef != nil {
  8179. l = m.FieldRef.Size()
  8180. n += 1 + l + sovGenerated(uint64(l))
  8181. }
  8182. if m.ResourceFieldRef != nil {
  8183. l = m.ResourceFieldRef.Size()
  8184. n += 1 + l + sovGenerated(uint64(l))
  8185. }
  8186. if m.ConfigMapKeyRef != nil {
  8187. l = m.ConfigMapKeyRef.Size()
  8188. n += 1 + l + sovGenerated(uint64(l))
  8189. }
  8190. if m.SecretKeyRef != nil {
  8191. l = m.SecretKeyRef.Size()
  8192. n += 1 + l + sovGenerated(uint64(l))
  8193. }
  8194. return n
  8195. }
  8196. func (m *Event) Size() (n int) {
  8197. var l int
  8198. _ = l
  8199. l = m.ObjectMeta.Size()
  8200. n += 1 + l + sovGenerated(uint64(l))
  8201. l = m.InvolvedObject.Size()
  8202. n += 1 + l + sovGenerated(uint64(l))
  8203. l = len(m.Reason)
  8204. n += 1 + l + sovGenerated(uint64(l))
  8205. l = len(m.Message)
  8206. n += 1 + l + sovGenerated(uint64(l))
  8207. l = m.Source.Size()
  8208. n += 1 + l + sovGenerated(uint64(l))
  8209. l = m.FirstTimestamp.Size()
  8210. n += 1 + l + sovGenerated(uint64(l))
  8211. l = m.LastTimestamp.Size()
  8212. n += 1 + l + sovGenerated(uint64(l))
  8213. n += 1 + sovGenerated(uint64(m.Count))
  8214. l = len(m.Type)
  8215. n += 1 + l + sovGenerated(uint64(l))
  8216. return n
  8217. }
  8218. func (m *EventList) Size() (n int) {
  8219. var l int
  8220. _ = l
  8221. l = m.ListMeta.Size()
  8222. n += 1 + l + sovGenerated(uint64(l))
  8223. if len(m.Items) > 0 {
  8224. for _, e := range m.Items {
  8225. l = e.Size()
  8226. n += 1 + l + sovGenerated(uint64(l))
  8227. }
  8228. }
  8229. return n
  8230. }
  8231. func (m *EventSource) Size() (n int) {
  8232. var l int
  8233. _ = l
  8234. l = len(m.Component)
  8235. n += 1 + l + sovGenerated(uint64(l))
  8236. l = len(m.Host)
  8237. n += 1 + l + sovGenerated(uint64(l))
  8238. return n
  8239. }
  8240. func (m *ExecAction) Size() (n int) {
  8241. var l int
  8242. _ = l
  8243. if len(m.Command) > 0 {
  8244. for _, s := range m.Command {
  8245. l = len(s)
  8246. n += 1 + l + sovGenerated(uint64(l))
  8247. }
  8248. }
  8249. return n
  8250. }
  8251. func (m *ExportOptions) Size() (n int) {
  8252. var l int
  8253. _ = l
  8254. n += 2
  8255. n += 2
  8256. return n
  8257. }
  8258. func (m *FCVolumeSource) Size() (n int) {
  8259. var l int
  8260. _ = l
  8261. if len(m.TargetWWNs) > 0 {
  8262. for _, s := range m.TargetWWNs {
  8263. l = len(s)
  8264. n += 1 + l + sovGenerated(uint64(l))
  8265. }
  8266. }
  8267. if m.Lun != nil {
  8268. n += 1 + sovGenerated(uint64(*m.Lun))
  8269. }
  8270. l = len(m.FSType)
  8271. n += 1 + l + sovGenerated(uint64(l))
  8272. n += 2
  8273. return n
  8274. }
  8275. func (m *FlexVolumeSource) Size() (n int) {
  8276. var l int
  8277. _ = l
  8278. l = len(m.Driver)
  8279. n += 1 + l + sovGenerated(uint64(l))
  8280. l = len(m.FSType)
  8281. n += 1 + l + sovGenerated(uint64(l))
  8282. if m.SecretRef != nil {
  8283. l = m.SecretRef.Size()
  8284. n += 1 + l + sovGenerated(uint64(l))
  8285. }
  8286. n += 2
  8287. if len(m.Options) > 0 {
  8288. for k, v := range m.Options {
  8289. _ = k
  8290. _ = v
  8291. mapEntrySize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + len(v) + sovGenerated(uint64(len(v)))
  8292. n += mapEntrySize + 1 + sovGenerated(uint64(mapEntrySize))
  8293. }
  8294. }
  8295. return n
  8296. }
  8297. func (m *FlockerVolumeSource) Size() (n int) {
  8298. var l int
  8299. _ = l
  8300. l = len(m.DatasetName)
  8301. n += 1 + l + sovGenerated(uint64(l))
  8302. return n
  8303. }
  8304. func (m *GCEPersistentDiskVolumeSource) Size() (n int) {
  8305. var l int
  8306. _ = l
  8307. l = len(m.PDName)
  8308. n += 1 + l + sovGenerated(uint64(l))
  8309. l = len(m.FSType)
  8310. n += 1 + l + sovGenerated(uint64(l))
  8311. n += 1 + sovGenerated(uint64(m.Partition))
  8312. n += 2
  8313. return n
  8314. }
  8315. func (m *GitRepoVolumeSource) Size() (n int) {
  8316. var l int
  8317. _ = l
  8318. l = len(m.Repository)
  8319. n += 1 + l + sovGenerated(uint64(l))
  8320. l = len(m.Revision)
  8321. n += 1 + l + sovGenerated(uint64(l))
  8322. l = len(m.Directory)
  8323. n += 1 + l + sovGenerated(uint64(l))
  8324. return n
  8325. }
  8326. func (m *GlusterfsVolumeSource) Size() (n int) {
  8327. var l int
  8328. _ = l
  8329. l = len(m.EndpointsName)
  8330. n += 1 + l + sovGenerated(uint64(l))
  8331. l = len(m.Path)
  8332. n += 1 + l + sovGenerated(uint64(l))
  8333. n += 2
  8334. return n
  8335. }
  8336. func (m *HTTPGetAction) Size() (n int) {
  8337. var l int
  8338. _ = l
  8339. l = len(m.Path)
  8340. n += 1 + l + sovGenerated(uint64(l))
  8341. l = m.Port.Size()
  8342. n += 1 + l + sovGenerated(uint64(l))
  8343. l = len(m.Host)
  8344. n += 1 + l + sovGenerated(uint64(l))
  8345. l = len(m.Scheme)
  8346. n += 1 + l + sovGenerated(uint64(l))
  8347. if len(m.HTTPHeaders) > 0 {
  8348. for _, e := range m.HTTPHeaders {
  8349. l = e.Size()
  8350. n += 1 + l + sovGenerated(uint64(l))
  8351. }
  8352. }
  8353. return n
  8354. }
  8355. func (m *HTTPHeader) Size() (n int) {
  8356. var l int
  8357. _ = l
  8358. l = len(m.Name)
  8359. n += 1 + l + sovGenerated(uint64(l))
  8360. l = len(m.Value)
  8361. n += 1 + l + sovGenerated(uint64(l))
  8362. return n
  8363. }
  8364. func (m *Handler) Size() (n int) {
  8365. var l int
  8366. _ = l
  8367. if m.Exec != nil {
  8368. l = m.Exec.Size()
  8369. n += 1 + l + sovGenerated(uint64(l))
  8370. }
  8371. if m.HTTPGet != nil {
  8372. l = m.HTTPGet.Size()
  8373. n += 1 + l + sovGenerated(uint64(l))
  8374. }
  8375. if m.TCPSocket != nil {
  8376. l = m.TCPSocket.Size()
  8377. n += 1 + l + sovGenerated(uint64(l))
  8378. }
  8379. return n
  8380. }
  8381. func (m *HostPathVolumeSource) Size() (n int) {
  8382. var l int
  8383. _ = l
  8384. l = len(m.Path)
  8385. n += 1 + l + sovGenerated(uint64(l))
  8386. return n
  8387. }
  8388. func (m *ISCSIVolumeSource) Size() (n int) {
  8389. var l int
  8390. _ = l
  8391. l = len(m.TargetPortal)
  8392. n += 1 + l + sovGenerated(uint64(l))
  8393. l = len(m.IQN)
  8394. n += 1 + l + sovGenerated(uint64(l))
  8395. n += 1 + sovGenerated(uint64(m.Lun))
  8396. l = len(m.ISCSIInterface)
  8397. n += 1 + l + sovGenerated(uint64(l))
  8398. l = len(m.FSType)
  8399. n += 1 + l + sovGenerated(uint64(l))
  8400. n += 2
  8401. return n
  8402. }
  8403. func (m *KeyToPath) Size() (n int) {
  8404. var l int
  8405. _ = l
  8406. l = len(m.Key)
  8407. n += 1 + l + sovGenerated(uint64(l))
  8408. l = len(m.Path)
  8409. n += 1 + l + sovGenerated(uint64(l))
  8410. if m.Mode != nil {
  8411. n += 1 + sovGenerated(uint64(*m.Mode))
  8412. }
  8413. return n
  8414. }
  8415. func (m *Lifecycle) Size() (n int) {
  8416. var l int
  8417. _ = l
  8418. if m.PostStart != nil {
  8419. l = m.PostStart.Size()
  8420. n += 1 + l + sovGenerated(uint64(l))
  8421. }
  8422. if m.PreStop != nil {
  8423. l = m.PreStop.Size()
  8424. n += 1 + l + sovGenerated(uint64(l))
  8425. }
  8426. return n
  8427. }
  8428. func (m *LimitRange) Size() (n int) {
  8429. var l int
  8430. _ = l
  8431. l = m.ObjectMeta.Size()
  8432. n += 1 + l + sovGenerated(uint64(l))
  8433. l = m.Spec.Size()
  8434. n += 1 + l + sovGenerated(uint64(l))
  8435. return n
  8436. }
  8437. func (m *LimitRangeItem) Size() (n int) {
  8438. var l int
  8439. _ = l
  8440. l = len(m.Type)
  8441. n += 1 + l + sovGenerated(uint64(l))
  8442. if len(m.Max) > 0 {
  8443. for k, v := range m.Max {
  8444. _ = k
  8445. _ = v
  8446. l = v.Size()
  8447. mapEntrySize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + l + sovGenerated(uint64(l))
  8448. n += mapEntrySize + 1 + sovGenerated(uint64(mapEntrySize))
  8449. }
  8450. }
  8451. if len(m.Min) > 0 {
  8452. for k, v := range m.Min {
  8453. _ = k
  8454. _ = v
  8455. l = v.Size()
  8456. mapEntrySize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + l + sovGenerated(uint64(l))
  8457. n += mapEntrySize + 1 + sovGenerated(uint64(mapEntrySize))
  8458. }
  8459. }
  8460. if len(m.Default) > 0 {
  8461. for k, v := range m.Default {
  8462. _ = k
  8463. _ = v
  8464. l = v.Size()
  8465. mapEntrySize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + l + sovGenerated(uint64(l))
  8466. n += mapEntrySize + 1 + sovGenerated(uint64(mapEntrySize))
  8467. }
  8468. }
  8469. if len(m.DefaultRequest) > 0 {
  8470. for k, v := range m.DefaultRequest {
  8471. _ = k
  8472. _ = v
  8473. l = v.Size()
  8474. mapEntrySize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + l + sovGenerated(uint64(l))
  8475. n += mapEntrySize + 1 + sovGenerated(uint64(mapEntrySize))
  8476. }
  8477. }
  8478. if len(m.MaxLimitRequestRatio) > 0 {
  8479. for k, v := range m.MaxLimitRequestRatio {
  8480. _ = k
  8481. _ = v
  8482. l = v.Size()
  8483. mapEntrySize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + l + sovGenerated(uint64(l))
  8484. n += mapEntrySize + 1 + sovGenerated(uint64(mapEntrySize))
  8485. }
  8486. }
  8487. return n
  8488. }
  8489. func (m *LimitRangeList) Size() (n int) {
  8490. var l int
  8491. _ = l
  8492. l = m.ListMeta.Size()
  8493. n += 1 + l + sovGenerated(uint64(l))
  8494. if len(m.Items) > 0 {
  8495. for _, e := range m.Items {
  8496. l = e.Size()
  8497. n += 1 + l + sovGenerated(uint64(l))
  8498. }
  8499. }
  8500. return n
  8501. }
  8502. func (m *LimitRangeSpec) Size() (n int) {
  8503. var l int
  8504. _ = l
  8505. if len(m.Limits) > 0 {
  8506. for _, e := range m.Limits {
  8507. l = e.Size()
  8508. n += 1 + l + sovGenerated(uint64(l))
  8509. }
  8510. }
  8511. return n
  8512. }
  8513. func (m *List) Size() (n int) {
  8514. var l int
  8515. _ = l
  8516. l = m.ListMeta.Size()
  8517. n += 1 + l + sovGenerated(uint64(l))
  8518. if len(m.Items) > 0 {
  8519. for _, e := range m.Items {
  8520. l = e.Size()
  8521. n += 1 + l + sovGenerated(uint64(l))
  8522. }
  8523. }
  8524. return n
  8525. }
  8526. func (m *ListOptions) Size() (n int) {
  8527. var l int
  8528. _ = l
  8529. l = len(m.LabelSelector)
  8530. n += 1 + l + sovGenerated(uint64(l))
  8531. l = len(m.FieldSelector)
  8532. n += 1 + l + sovGenerated(uint64(l))
  8533. n += 2
  8534. l = len(m.ResourceVersion)
  8535. n += 1 + l + sovGenerated(uint64(l))
  8536. if m.TimeoutSeconds != nil {
  8537. n += 1 + sovGenerated(uint64(*m.TimeoutSeconds))
  8538. }
  8539. return n
  8540. }
  8541. func (m *LoadBalancerIngress) Size() (n int) {
  8542. var l int
  8543. _ = l
  8544. l = len(m.IP)
  8545. n += 1 + l + sovGenerated(uint64(l))
  8546. l = len(m.Hostname)
  8547. n += 1 + l + sovGenerated(uint64(l))
  8548. return n
  8549. }
  8550. func (m *LoadBalancerStatus) Size() (n int) {
  8551. var l int
  8552. _ = l
  8553. if len(m.Ingress) > 0 {
  8554. for _, e := range m.Ingress {
  8555. l = e.Size()
  8556. n += 1 + l + sovGenerated(uint64(l))
  8557. }
  8558. }
  8559. return n
  8560. }
  8561. func (m *LocalObjectReference) Size() (n int) {
  8562. var l int
  8563. _ = l
  8564. l = len(m.Name)
  8565. n += 1 + l + sovGenerated(uint64(l))
  8566. return n
  8567. }
  8568. func (m *NFSVolumeSource) Size() (n int) {
  8569. var l int
  8570. _ = l
  8571. l = len(m.Server)
  8572. n += 1 + l + sovGenerated(uint64(l))
  8573. l = len(m.Path)
  8574. n += 1 + l + sovGenerated(uint64(l))
  8575. n += 2
  8576. return n
  8577. }
  8578. func (m *Namespace) Size() (n int) {
  8579. var l int
  8580. _ = l
  8581. l = m.ObjectMeta.Size()
  8582. n += 1 + l + sovGenerated(uint64(l))
  8583. l = m.Spec.Size()
  8584. n += 1 + l + sovGenerated(uint64(l))
  8585. l = m.Status.Size()
  8586. n += 1 + l + sovGenerated(uint64(l))
  8587. return n
  8588. }
  8589. func (m *NamespaceList) Size() (n int) {
  8590. var l int
  8591. _ = l
  8592. l = m.ListMeta.Size()
  8593. n += 1 + l + sovGenerated(uint64(l))
  8594. if len(m.Items) > 0 {
  8595. for _, e := range m.Items {
  8596. l = e.Size()
  8597. n += 1 + l + sovGenerated(uint64(l))
  8598. }
  8599. }
  8600. return n
  8601. }
  8602. func (m *NamespaceSpec) Size() (n int) {
  8603. var l int
  8604. _ = l
  8605. if len(m.Finalizers) > 0 {
  8606. for _, s := range m.Finalizers {
  8607. l = len(s)
  8608. n += 1 + l + sovGenerated(uint64(l))
  8609. }
  8610. }
  8611. return n
  8612. }
  8613. func (m *NamespaceStatus) Size() (n int) {
  8614. var l int
  8615. _ = l
  8616. l = len(m.Phase)
  8617. n += 1 + l + sovGenerated(uint64(l))
  8618. return n
  8619. }
  8620. func (m *Node) Size() (n int) {
  8621. var l int
  8622. _ = l
  8623. l = m.ObjectMeta.Size()
  8624. n += 1 + l + sovGenerated(uint64(l))
  8625. l = m.Spec.Size()
  8626. n += 1 + l + sovGenerated(uint64(l))
  8627. l = m.Status.Size()
  8628. n += 1 + l + sovGenerated(uint64(l))
  8629. return n
  8630. }
  8631. func (m *NodeAddress) Size() (n int) {
  8632. var l int
  8633. _ = l
  8634. l = len(m.Type)
  8635. n += 1 + l + sovGenerated(uint64(l))
  8636. l = len(m.Address)
  8637. n += 1 + l + sovGenerated(uint64(l))
  8638. return n
  8639. }
  8640. func (m *NodeAffinity) Size() (n int) {
  8641. var l int
  8642. _ = l
  8643. if m.RequiredDuringSchedulingIgnoredDuringExecution != nil {
  8644. l = m.RequiredDuringSchedulingIgnoredDuringExecution.Size()
  8645. n += 1 + l + sovGenerated(uint64(l))
  8646. }
  8647. if len(m.PreferredDuringSchedulingIgnoredDuringExecution) > 0 {
  8648. for _, e := range m.PreferredDuringSchedulingIgnoredDuringExecution {
  8649. l = e.Size()
  8650. n += 1 + l + sovGenerated(uint64(l))
  8651. }
  8652. }
  8653. return n
  8654. }
  8655. func (m *NodeCondition) Size() (n int) {
  8656. var l int
  8657. _ = l
  8658. l = len(m.Type)
  8659. n += 1 + l + sovGenerated(uint64(l))
  8660. l = len(m.Status)
  8661. n += 1 + l + sovGenerated(uint64(l))
  8662. l = m.LastHeartbeatTime.Size()
  8663. n += 1 + l + sovGenerated(uint64(l))
  8664. l = m.LastTransitionTime.Size()
  8665. n += 1 + l + sovGenerated(uint64(l))
  8666. l = len(m.Reason)
  8667. n += 1 + l + sovGenerated(uint64(l))
  8668. l = len(m.Message)
  8669. n += 1 + l + sovGenerated(uint64(l))
  8670. return n
  8671. }
  8672. func (m *NodeDaemonEndpoints) Size() (n int) {
  8673. var l int
  8674. _ = l
  8675. l = m.KubeletEndpoint.Size()
  8676. n += 1 + l + sovGenerated(uint64(l))
  8677. return n
  8678. }
  8679. func (m *NodeList) Size() (n int) {
  8680. var l int
  8681. _ = l
  8682. l = m.ListMeta.Size()
  8683. n += 1 + l + sovGenerated(uint64(l))
  8684. if len(m.Items) > 0 {
  8685. for _, e := range m.Items {
  8686. l = e.Size()
  8687. n += 1 + l + sovGenerated(uint64(l))
  8688. }
  8689. }
  8690. return n
  8691. }
  8692. func (m *NodeProxyOptions) Size() (n int) {
  8693. var l int
  8694. _ = l
  8695. l = len(m.Path)
  8696. n += 1 + l + sovGenerated(uint64(l))
  8697. return n
  8698. }
  8699. func (m *NodeSelector) Size() (n int) {
  8700. var l int
  8701. _ = l
  8702. if len(m.NodeSelectorTerms) > 0 {
  8703. for _, e := range m.NodeSelectorTerms {
  8704. l = e.Size()
  8705. n += 1 + l + sovGenerated(uint64(l))
  8706. }
  8707. }
  8708. return n
  8709. }
  8710. func (m *NodeSelectorRequirement) Size() (n int) {
  8711. var l int
  8712. _ = l
  8713. l = len(m.Key)
  8714. n += 1 + l + sovGenerated(uint64(l))
  8715. l = len(m.Operator)
  8716. n += 1 + l + sovGenerated(uint64(l))
  8717. if len(m.Values) > 0 {
  8718. for _, s := range m.Values {
  8719. l = len(s)
  8720. n += 1 + l + sovGenerated(uint64(l))
  8721. }
  8722. }
  8723. return n
  8724. }
  8725. func (m *NodeSelectorTerm) Size() (n int) {
  8726. var l int
  8727. _ = l
  8728. if len(m.MatchExpressions) > 0 {
  8729. for _, e := range m.MatchExpressions {
  8730. l = e.Size()
  8731. n += 1 + l + sovGenerated(uint64(l))
  8732. }
  8733. }
  8734. return n
  8735. }
  8736. func (m *NodeSpec) Size() (n int) {
  8737. var l int
  8738. _ = l
  8739. l = len(m.PodCIDR)
  8740. n += 1 + l + sovGenerated(uint64(l))
  8741. l = len(m.ExternalID)
  8742. n += 1 + l + sovGenerated(uint64(l))
  8743. l = len(m.ProviderID)
  8744. n += 1 + l + sovGenerated(uint64(l))
  8745. n += 2
  8746. return n
  8747. }
  8748. func (m *NodeStatus) Size() (n int) {
  8749. var l int
  8750. _ = l
  8751. if len(m.Capacity) > 0 {
  8752. for k, v := range m.Capacity {
  8753. _ = k
  8754. _ = v
  8755. l = v.Size()
  8756. mapEntrySize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + l + sovGenerated(uint64(l))
  8757. n += mapEntrySize + 1 + sovGenerated(uint64(mapEntrySize))
  8758. }
  8759. }
  8760. if len(m.Allocatable) > 0 {
  8761. for k, v := range m.Allocatable {
  8762. _ = k
  8763. _ = v
  8764. l = v.Size()
  8765. mapEntrySize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + l + sovGenerated(uint64(l))
  8766. n += mapEntrySize + 1 + sovGenerated(uint64(mapEntrySize))
  8767. }
  8768. }
  8769. l = len(m.Phase)
  8770. n += 1 + l + sovGenerated(uint64(l))
  8771. if len(m.Conditions) > 0 {
  8772. for _, e := range m.Conditions {
  8773. l = e.Size()
  8774. n += 1 + l + sovGenerated(uint64(l))
  8775. }
  8776. }
  8777. if len(m.Addresses) > 0 {
  8778. for _, e := range m.Addresses {
  8779. l = e.Size()
  8780. n += 1 + l + sovGenerated(uint64(l))
  8781. }
  8782. }
  8783. l = m.DaemonEndpoints.Size()
  8784. n += 1 + l + sovGenerated(uint64(l))
  8785. l = m.NodeInfo.Size()
  8786. n += 1 + l + sovGenerated(uint64(l))
  8787. if len(m.Images) > 0 {
  8788. for _, e := range m.Images {
  8789. l = e.Size()
  8790. n += 1 + l + sovGenerated(uint64(l))
  8791. }
  8792. }
  8793. if len(m.VolumesInUse) > 0 {
  8794. for _, s := range m.VolumesInUse {
  8795. l = len(s)
  8796. n += 1 + l + sovGenerated(uint64(l))
  8797. }
  8798. }
  8799. if len(m.VolumesAttached) > 0 {
  8800. for _, e := range m.VolumesAttached {
  8801. l = e.Size()
  8802. n += 1 + l + sovGenerated(uint64(l))
  8803. }
  8804. }
  8805. return n
  8806. }
  8807. func (m *NodeSystemInfo) Size() (n int) {
  8808. var l int
  8809. _ = l
  8810. l = len(m.MachineID)
  8811. n += 1 + l + sovGenerated(uint64(l))
  8812. l = len(m.SystemUUID)
  8813. n += 1 + l + sovGenerated(uint64(l))
  8814. l = len(m.BootID)
  8815. n += 1 + l + sovGenerated(uint64(l))
  8816. l = len(m.KernelVersion)
  8817. n += 1 + l + sovGenerated(uint64(l))
  8818. l = len(m.OSImage)
  8819. n += 1 + l + sovGenerated(uint64(l))
  8820. l = len(m.ContainerRuntimeVersion)
  8821. n += 1 + l + sovGenerated(uint64(l))
  8822. l = len(m.KubeletVersion)
  8823. n += 1 + l + sovGenerated(uint64(l))
  8824. l = len(m.KubeProxyVersion)
  8825. n += 1 + l + sovGenerated(uint64(l))
  8826. l = len(m.OperatingSystem)
  8827. n += 1 + l + sovGenerated(uint64(l))
  8828. l = len(m.Architecture)
  8829. n += 1 + l + sovGenerated(uint64(l))
  8830. return n
  8831. }
  8832. func (m *ObjectFieldSelector) Size() (n int) {
  8833. var l int
  8834. _ = l
  8835. l = len(m.APIVersion)
  8836. n += 1 + l + sovGenerated(uint64(l))
  8837. l = len(m.FieldPath)
  8838. n += 1 + l + sovGenerated(uint64(l))
  8839. return n
  8840. }
  8841. func (m *ObjectMeta) Size() (n int) {
  8842. var l int
  8843. _ = l
  8844. l = len(m.Name)
  8845. n += 1 + l + sovGenerated(uint64(l))
  8846. l = len(m.GenerateName)
  8847. n += 1 + l + sovGenerated(uint64(l))
  8848. l = len(m.Namespace)
  8849. n += 1 + l + sovGenerated(uint64(l))
  8850. l = len(m.SelfLink)
  8851. n += 1 + l + sovGenerated(uint64(l))
  8852. l = len(m.UID)
  8853. n += 1 + l + sovGenerated(uint64(l))
  8854. l = len(m.ResourceVersion)
  8855. n += 1 + l + sovGenerated(uint64(l))
  8856. n += 1 + sovGenerated(uint64(m.Generation))
  8857. l = m.CreationTimestamp.Size()
  8858. n += 1 + l + sovGenerated(uint64(l))
  8859. if m.DeletionTimestamp != nil {
  8860. l = m.DeletionTimestamp.Size()
  8861. n += 1 + l + sovGenerated(uint64(l))
  8862. }
  8863. if m.DeletionGracePeriodSeconds != nil {
  8864. n += 1 + sovGenerated(uint64(*m.DeletionGracePeriodSeconds))
  8865. }
  8866. if len(m.Labels) > 0 {
  8867. for k, v := range m.Labels {
  8868. _ = k
  8869. _ = v
  8870. mapEntrySize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + len(v) + sovGenerated(uint64(len(v)))
  8871. n += mapEntrySize + 1 + sovGenerated(uint64(mapEntrySize))
  8872. }
  8873. }
  8874. if len(m.Annotations) > 0 {
  8875. for k, v := range m.Annotations {
  8876. _ = k
  8877. _ = v
  8878. mapEntrySize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + len(v) + sovGenerated(uint64(len(v)))
  8879. n += mapEntrySize + 1 + sovGenerated(uint64(mapEntrySize))
  8880. }
  8881. }
  8882. if len(m.OwnerReferences) > 0 {
  8883. for _, e := range m.OwnerReferences {
  8884. l = e.Size()
  8885. n += 1 + l + sovGenerated(uint64(l))
  8886. }
  8887. }
  8888. if len(m.Finalizers) > 0 {
  8889. for _, s := range m.Finalizers {
  8890. l = len(s)
  8891. n += 1 + l + sovGenerated(uint64(l))
  8892. }
  8893. }
  8894. l = len(m.ClusterName)
  8895. n += 1 + l + sovGenerated(uint64(l))
  8896. return n
  8897. }
  8898. func (m *ObjectReference) Size() (n int) {
  8899. var l int
  8900. _ = l
  8901. l = len(m.Kind)
  8902. n += 1 + l + sovGenerated(uint64(l))
  8903. l = len(m.Namespace)
  8904. n += 1 + l + sovGenerated(uint64(l))
  8905. l = len(m.Name)
  8906. n += 1 + l + sovGenerated(uint64(l))
  8907. l = len(m.UID)
  8908. n += 1 + l + sovGenerated(uint64(l))
  8909. l = len(m.APIVersion)
  8910. n += 1 + l + sovGenerated(uint64(l))
  8911. l = len(m.ResourceVersion)
  8912. n += 1 + l + sovGenerated(uint64(l))
  8913. l = len(m.FieldPath)
  8914. n += 1 + l + sovGenerated(uint64(l))
  8915. return n
  8916. }
  8917. func (m *OwnerReference) Size() (n int) {
  8918. var l int
  8919. _ = l
  8920. l = len(m.Kind)
  8921. n += 1 + l + sovGenerated(uint64(l))
  8922. l = len(m.Name)
  8923. n += 1 + l + sovGenerated(uint64(l))
  8924. l = len(m.UID)
  8925. n += 1 + l + sovGenerated(uint64(l))
  8926. l = len(m.APIVersion)
  8927. n += 1 + l + sovGenerated(uint64(l))
  8928. if m.Controller != nil {
  8929. n += 2
  8930. }
  8931. return n
  8932. }
  8933. func (m *PersistentVolume) Size() (n int) {
  8934. var l int
  8935. _ = l
  8936. l = m.ObjectMeta.Size()
  8937. n += 1 + l + sovGenerated(uint64(l))
  8938. l = m.Spec.Size()
  8939. n += 1 + l + sovGenerated(uint64(l))
  8940. l = m.Status.Size()
  8941. n += 1 + l + sovGenerated(uint64(l))
  8942. return n
  8943. }
  8944. func (m *PersistentVolumeClaim) Size() (n int) {
  8945. var l int
  8946. _ = l
  8947. l = m.ObjectMeta.Size()
  8948. n += 1 + l + sovGenerated(uint64(l))
  8949. l = m.Spec.Size()
  8950. n += 1 + l + sovGenerated(uint64(l))
  8951. l = m.Status.Size()
  8952. n += 1 + l + sovGenerated(uint64(l))
  8953. return n
  8954. }
  8955. func (m *PersistentVolumeClaimList) Size() (n int) {
  8956. var l int
  8957. _ = l
  8958. l = m.ListMeta.Size()
  8959. n += 1 + l + sovGenerated(uint64(l))
  8960. if len(m.Items) > 0 {
  8961. for _, e := range m.Items {
  8962. l = e.Size()
  8963. n += 1 + l + sovGenerated(uint64(l))
  8964. }
  8965. }
  8966. return n
  8967. }
  8968. func (m *PersistentVolumeClaimSpec) Size() (n int) {
  8969. var l int
  8970. _ = l
  8971. if len(m.AccessModes) > 0 {
  8972. for _, s := range m.AccessModes {
  8973. l = len(s)
  8974. n += 1 + l + sovGenerated(uint64(l))
  8975. }
  8976. }
  8977. l = m.Resources.Size()
  8978. n += 1 + l + sovGenerated(uint64(l))
  8979. l = len(m.VolumeName)
  8980. n += 1 + l + sovGenerated(uint64(l))
  8981. if m.Selector != nil {
  8982. l = m.Selector.Size()
  8983. n += 1 + l + sovGenerated(uint64(l))
  8984. }
  8985. return n
  8986. }
  8987. func (m *PersistentVolumeClaimStatus) Size() (n int) {
  8988. var l int
  8989. _ = l
  8990. l = len(m.Phase)
  8991. n += 1 + l + sovGenerated(uint64(l))
  8992. if len(m.AccessModes) > 0 {
  8993. for _, s := range m.AccessModes {
  8994. l = len(s)
  8995. n += 1 + l + sovGenerated(uint64(l))
  8996. }
  8997. }
  8998. if len(m.Capacity) > 0 {
  8999. for k, v := range m.Capacity {
  9000. _ = k
  9001. _ = v
  9002. l = v.Size()
  9003. mapEntrySize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + l + sovGenerated(uint64(l))
  9004. n += mapEntrySize + 1 + sovGenerated(uint64(mapEntrySize))
  9005. }
  9006. }
  9007. return n
  9008. }
  9009. func (m *PersistentVolumeClaimVolumeSource) Size() (n int) {
  9010. var l int
  9011. _ = l
  9012. l = len(m.ClaimName)
  9013. n += 1 + l + sovGenerated(uint64(l))
  9014. n += 2
  9015. return n
  9016. }
  9017. func (m *PersistentVolumeList) Size() (n int) {
  9018. var l int
  9019. _ = l
  9020. l = m.ListMeta.Size()
  9021. n += 1 + l + sovGenerated(uint64(l))
  9022. if len(m.Items) > 0 {
  9023. for _, e := range m.Items {
  9024. l = e.Size()
  9025. n += 1 + l + sovGenerated(uint64(l))
  9026. }
  9027. }
  9028. return n
  9029. }
  9030. func (m *PersistentVolumeSource) Size() (n int) {
  9031. var l int
  9032. _ = l
  9033. if m.GCEPersistentDisk != nil {
  9034. l = m.GCEPersistentDisk.Size()
  9035. n += 1 + l + sovGenerated(uint64(l))
  9036. }
  9037. if m.AWSElasticBlockStore != nil {
  9038. l = m.AWSElasticBlockStore.Size()
  9039. n += 1 + l + sovGenerated(uint64(l))
  9040. }
  9041. if m.HostPath != nil {
  9042. l = m.HostPath.Size()
  9043. n += 1 + l + sovGenerated(uint64(l))
  9044. }
  9045. if m.Glusterfs != nil {
  9046. l = m.Glusterfs.Size()
  9047. n += 1 + l + sovGenerated(uint64(l))
  9048. }
  9049. if m.NFS != nil {
  9050. l = m.NFS.Size()
  9051. n += 1 + l + sovGenerated(uint64(l))
  9052. }
  9053. if m.RBD != nil {
  9054. l = m.RBD.Size()
  9055. n += 1 + l + sovGenerated(uint64(l))
  9056. }
  9057. if m.ISCSI != nil {
  9058. l = m.ISCSI.Size()
  9059. n += 1 + l + sovGenerated(uint64(l))
  9060. }
  9061. if m.Cinder != nil {
  9062. l = m.Cinder.Size()
  9063. n += 1 + l + sovGenerated(uint64(l))
  9064. }
  9065. if m.CephFS != nil {
  9066. l = m.CephFS.Size()
  9067. n += 1 + l + sovGenerated(uint64(l))
  9068. }
  9069. if m.FC != nil {
  9070. l = m.FC.Size()
  9071. n += 1 + l + sovGenerated(uint64(l))
  9072. }
  9073. if m.Flocker != nil {
  9074. l = m.Flocker.Size()
  9075. n += 1 + l + sovGenerated(uint64(l))
  9076. }
  9077. if m.FlexVolume != nil {
  9078. l = m.FlexVolume.Size()
  9079. n += 1 + l + sovGenerated(uint64(l))
  9080. }
  9081. if m.AzureFile != nil {
  9082. l = m.AzureFile.Size()
  9083. n += 1 + l + sovGenerated(uint64(l))
  9084. }
  9085. if m.VsphereVolume != nil {
  9086. l = m.VsphereVolume.Size()
  9087. n += 1 + l + sovGenerated(uint64(l))
  9088. }
  9089. if m.Quobyte != nil {
  9090. l = m.Quobyte.Size()
  9091. n += 1 + l + sovGenerated(uint64(l))
  9092. }
  9093. if m.AzureDisk != nil {
  9094. l = m.AzureDisk.Size()
  9095. n += 2 + l + sovGenerated(uint64(l))
  9096. }
  9097. return n
  9098. }
  9099. func (m *PersistentVolumeSpec) Size() (n int) {
  9100. var l int
  9101. _ = l
  9102. if len(m.Capacity) > 0 {
  9103. for k, v := range m.Capacity {
  9104. _ = k
  9105. _ = v
  9106. l = v.Size()
  9107. mapEntrySize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + l + sovGenerated(uint64(l))
  9108. n += mapEntrySize + 1 + sovGenerated(uint64(mapEntrySize))
  9109. }
  9110. }
  9111. l = m.PersistentVolumeSource.Size()
  9112. n += 1 + l + sovGenerated(uint64(l))
  9113. if len(m.AccessModes) > 0 {
  9114. for _, s := range m.AccessModes {
  9115. l = len(s)
  9116. n += 1 + l + sovGenerated(uint64(l))
  9117. }
  9118. }
  9119. if m.ClaimRef != nil {
  9120. l = m.ClaimRef.Size()
  9121. n += 1 + l + sovGenerated(uint64(l))
  9122. }
  9123. l = len(m.PersistentVolumeReclaimPolicy)
  9124. n += 1 + l + sovGenerated(uint64(l))
  9125. return n
  9126. }
  9127. func (m *PersistentVolumeStatus) Size() (n int) {
  9128. var l int
  9129. _ = l
  9130. l = len(m.Phase)
  9131. n += 1 + l + sovGenerated(uint64(l))
  9132. l = len(m.Message)
  9133. n += 1 + l + sovGenerated(uint64(l))
  9134. l = len(m.Reason)
  9135. n += 1 + l + sovGenerated(uint64(l))
  9136. return n
  9137. }
  9138. func (m *Pod) Size() (n int) {
  9139. var l int
  9140. _ = l
  9141. l = m.ObjectMeta.Size()
  9142. n += 1 + l + sovGenerated(uint64(l))
  9143. l = m.Spec.Size()
  9144. n += 1 + l + sovGenerated(uint64(l))
  9145. l = m.Status.Size()
  9146. n += 1 + l + sovGenerated(uint64(l))
  9147. return n
  9148. }
  9149. func (m *PodAffinity) Size() (n int) {
  9150. var l int
  9151. _ = l
  9152. if len(m.RequiredDuringSchedulingIgnoredDuringExecution) > 0 {
  9153. for _, e := range m.RequiredDuringSchedulingIgnoredDuringExecution {
  9154. l = e.Size()
  9155. n += 1 + l + sovGenerated(uint64(l))
  9156. }
  9157. }
  9158. if len(m.PreferredDuringSchedulingIgnoredDuringExecution) > 0 {
  9159. for _, e := range m.PreferredDuringSchedulingIgnoredDuringExecution {
  9160. l = e.Size()
  9161. n += 1 + l + sovGenerated(uint64(l))
  9162. }
  9163. }
  9164. return n
  9165. }
  9166. func (m *PodAffinityTerm) Size() (n int) {
  9167. var l int
  9168. _ = l
  9169. if m.LabelSelector != nil {
  9170. l = m.LabelSelector.Size()
  9171. n += 1 + l + sovGenerated(uint64(l))
  9172. }
  9173. if len(m.Namespaces) > 0 {
  9174. for _, s := range m.Namespaces {
  9175. l = len(s)
  9176. n += 1 + l + sovGenerated(uint64(l))
  9177. }
  9178. }
  9179. l = len(m.TopologyKey)
  9180. n += 1 + l + sovGenerated(uint64(l))
  9181. return n
  9182. }
  9183. func (m *PodAntiAffinity) Size() (n int) {
  9184. var l int
  9185. _ = l
  9186. if len(m.RequiredDuringSchedulingIgnoredDuringExecution) > 0 {
  9187. for _, e := range m.RequiredDuringSchedulingIgnoredDuringExecution {
  9188. l = e.Size()
  9189. n += 1 + l + sovGenerated(uint64(l))
  9190. }
  9191. }
  9192. if len(m.PreferredDuringSchedulingIgnoredDuringExecution) > 0 {
  9193. for _, e := range m.PreferredDuringSchedulingIgnoredDuringExecution {
  9194. l = e.Size()
  9195. n += 1 + l + sovGenerated(uint64(l))
  9196. }
  9197. }
  9198. return n
  9199. }
  9200. func (m *PodAttachOptions) Size() (n int) {
  9201. var l int
  9202. _ = l
  9203. n += 2
  9204. n += 2
  9205. n += 2
  9206. n += 2
  9207. l = len(m.Container)
  9208. n += 1 + l + sovGenerated(uint64(l))
  9209. return n
  9210. }
  9211. func (m *PodCondition) Size() (n int) {
  9212. var l int
  9213. _ = l
  9214. l = len(m.Type)
  9215. n += 1 + l + sovGenerated(uint64(l))
  9216. l = len(m.Status)
  9217. n += 1 + l + sovGenerated(uint64(l))
  9218. l = m.LastProbeTime.Size()
  9219. n += 1 + l + sovGenerated(uint64(l))
  9220. l = m.LastTransitionTime.Size()
  9221. n += 1 + l + sovGenerated(uint64(l))
  9222. l = len(m.Reason)
  9223. n += 1 + l + sovGenerated(uint64(l))
  9224. l = len(m.Message)
  9225. n += 1 + l + sovGenerated(uint64(l))
  9226. return n
  9227. }
  9228. func (m *PodExecOptions) Size() (n int) {
  9229. var l int
  9230. _ = l
  9231. n += 2
  9232. n += 2
  9233. n += 2
  9234. n += 2
  9235. l = len(m.Container)
  9236. n += 1 + l + sovGenerated(uint64(l))
  9237. if len(m.Command) > 0 {
  9238. for _, s := range m.Command {
  9239. l = len(s)
  9240. n += 1 + l + sovGenerated(uint64(l))
  9241. }
  9242. }
  9243. return n
  9244. }
  9245. func (m *PodList) Size() (n int) {
  9246. var l int
  9247. _ = l
  9248. l = m.ListMeta.Size()
  9249. n += 1 + l + sovGenerated(uint64(l))
  9250. if len(m.Items) > 0 {
  9251. for _, e := range m.Items {
  9252. l = e.Size()
  9253. n += 1 + l + sovGenerated(uint64(l))
  9254. }
  9255. }
  9256. return n
  9257. }
  9258. func (m *PodLogOptions) Size() (n int) {
  9259. var l int
  9260. _ = l
  9261. l = len(m.Container)
  9262. n += 1 + l + sovGenerated(uint64(l))
  9263. n += 2
  9264. n += 2
  9265. if m.SinceSeconds != nil {
  9266. n += 1 + sovGenerated(uint64(*m.SinceSeconds))
  9267. }
  9268. if m.SinceTime != nil {
  9269. l = m.SinceTime.Size()
  9270. n += 1 + l + sovGenerated(uint64(l))
  9271. }
  9272. n += 2
  9273. if m.TailLines != nil {
  9274. n += 1 + sovGenerated(uint64(*m.TailLines))
  9275. }
  9276. if m.LimitBytes != nil {
  9277. n += 1 + sovGenerated(uint64(*m.LimitBytes))
  9278. }
  9279. return n
  9280. }
  9281. func (m *PodProxyOptions) Size() (n int) {
  9282. var l int
  9283. _ = l
  9284. l = len(m.Path)
  9285. n += 1 + l + sovGenerated(uint64(l))
  9286. return n
  9287. }
  9288. func (m *PodSecurityContext) Size() (n int) {
  9289. var l int
  9290. _ = l
  9291. if m.SELinuxOptions != nil {
  9292. l = m.SELinuxOptions.Size()
  9293. n += 1 + l + sovGenerated(uint64(l))
  9294. }
  9295. if m.RunAsUser != nil {
  9296. n += 1 + sovGenerated(uint64(*m.RunAsUser))
  9297. }
  9298. if m.RunAsNonRoot != nil {
  9299. n += 2
  9300. }
  9301. if len(m.SupplementalGroups) > 0 {
  9302. for _, e := range m.SupplementalGroups {
  9303. n += 1 + sovGenerated(uint64(e))
  9304. }
  9305. }
  9306. if m.FSGroup != nil {
  9307. n += 1 + sovGenerated(uint64(*m.FSGroup))
  9308. }
  9309. return n
  9310. }
  9311. func (m *PodSignature) Size() (n int) {
  9312. var l int
  9313. _ = l
  9314. if m.PodController != nil {
  9315. l = m.PodController.Size()
  9316. n += 1 + l + sovGenerated(uint64(l))
  9317. }
  9318. return n
  9319. }
  9320. func (m *PodSpec) Size() (n int) {
  9321. var l int
  9322. _ = l
  9323. if len(m.Volumes) > 0 {
  9324. for _, e := range m.Volumes {
  9325. l = e.Size()
  9326. n += 1 + l + sovGenerated(uint64(l))
  9327. }
  9328. }
  9329. if len(m.Containers) > 0 {
  9330. for _, e := range m.Containers {
  9331. l = e.Size()
  9332. n += 1 + l + sovGenerated(uint64(l))
  9333. }
  9334. }
  9335. l = len(m.RestartPolicy)
  9336. n += 1 + l + sovGenerated(uint64(l))
  9337. if m.TerminationGracePeriodSeconds != nil {
  9338. n += 1 + sovGenerated(uint64(*m.TerminationGracePeriodSeconds))
  9339. }
  9340. if m.ActiveDeadlineSeconds != nil {
  9341. n += 1 + sovGenerated(uint64(*m.ActiveDeadlineSeconds))
  9342. }
  9343. l = len(m.DNSPolicy)
  9344. n += 1 + l + sovGenerated(uint64(l))
  9345. if len(m.NodeSelector) > 0 {
  9346. for k, v := range m.NodeSelector {
  9347. _ = k
  9348. _ = v
  9349. mapEntrySize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + len(v) + sovGenerated(uint64(len(v)))
  9350. n += mapEntrySize + 1 + sovGenerated(uint64(mapEntrySize))
  9351. }
  9352. }
  9353. l = len(m.ServiceAccountName)
  9354. n += 1 + l + sovGenerated(uint64(l))
  9355. l = len(m.DeprecatedServiceAccount)
  9356. n += 1 + l + sovGenerated(uint64(l))
  9357. l = len(m.NodeName)
  9358. n += 1 + l + sovGenerated(uint64(l))
  9359. n += 2
  9360. n += 2
  9361. n += 2
  9362. if m.SecurityContext != nil {
  9363. l = m.SecurityContext.Size()
  9364. n += 1 + l + sovGenerated(uint64(l))
  9365. }
  9366. if len(m.ImagePullSecrets) > 0 {
  9367. for _, e := range m.ImagePullSecrets {
  9368. l = e.Size()
  9369. n += 1 + l + sovGenerated(uint64(l))
  9370. }
  9371. }
  9372. l = len(m.Hostname)
  9373. n += 2 + l + sovGenerated(uint64(l))
  9374. l = len(m.Subdomain)
  9375. n += 2 + l + sovGenerated(uint64(l))
  9376. return n
  9377. }
  9378. func (m *PodStatus) Size() (n int) {
  9379. var l int
  9380. _ = l
  9381. l = len(m.Phase)
  9382. n += 1 + l + sovGenerated(uint64(l))
  9383. if len(m.Conditions) > 0 {
  9384. for _, e := range m.Conditions {
  9385. l = e.Size()
  9386. n += 1 + l + sovGenerated(uint64(l))
  9387. }
  9388. }
  9389. l = len(m.Message)
  9390. n += 1 + l + sovGenerated(uint64(l))
  9391. l = len(m.Reason)
  9392. n += 1 + l + sovGenerated(uint64(l))
  9393. l = len(m.HostIP)
  9394. n += 1 + l + sovGenerated(uint64(l))
  9395. l = len(m.PodIP)
  9396. n += 1 + l + sovGenerated(uint64(l))
  9397. if m.StartTime != nil {
  9398. l = m.StartTime.Size()
  9399. n += 1 + l + sovGenerated(uint64(l))
  9400. }
  9401. if len(m.ContainerStatuses) > 0 {
  9402. for _, e := range m.ContainerStatuses {
  9403. l = e.Size()
  9404. n += 1 + l + sovGenerated(uint64(l))
  9405. }
  9406. }
  9407. return n
  9408. }
  9409. func (m *PodStatusResult) Size() (n int) {
  9410. var l int
  9411. _ = l
  9412. l = m.ObjectMeta.Size()
  9413. n += 1 + l + sovGenerated(uint64(l))
  9414. l = m.Status.Size()
  9415. n += 1 + l + sovGenerated(uint64(l))
  9416. return n
  9417. }
  9418. func (m *PodTemplate) Size() (n int) {
  9419. var l int
  9420. _ = l
  9421. l = m.ObjectMeta.Size()
  9422. n += 1 + l + sovGenerated(uint64(l))
  9423. l = m.Template.Size()
  9424. n += 1 + l + sovGenerated(uint64(l))
  9425. return n
  9426. }
  9427. func (m *PodTemplateList) Size() (n int) {
  9428. var l int
  9429. _ = l
  9430. l = m.ListMeta.Size()
  9431. n += 1 + l + sovGenerated(uint64(l))
  9432. if len(m.Items) > 0 {
  9433. for _, e := range m.Items {
  9434. l = e.Size()
  9435. n += 1 + l + sovGenerated(uint64(l))
  9436. }
  9437. }
  9438. return n
  9439. }
  9440. func (m *PodTemplateSpec) Size() (n int) {
  9441. var l int
  9442. _ = l
  9443. l = m.ObjectMeta.Size()
  9444. n += 1 + l + sovGenerated(uint64(l))
  9445. l = m.Spec.Size()
  9446. n += 1 + l + sovGenerated(uint64(l))
  9447. return n
  9448. }
  9449. func (m *Preconditions) Size() (n int) {
  9450. var l int
  9451. _ = l
  9452. if m.UID != nil {
  9453. l = len(*m.UID)
  9454. n += 1 + l + sovGenerated(uint64(l))
  9455. }
  9456. return n
  9457. }
  9458. func (m *PreferAvoidPodsEntry) Size() (n int) {
  9459. var l int
  9460. _ = l
  9461. l = m.PodSignature.Size()
  9462. n += 1 + l + sovGenerated(uint64(l))
  9463. l = m.EvictionTime.Size()
  9464. n += 1 + l + sovGenerated(uint64(l))
  9465. l = len(m.Reason)
  9466. n += 1 + l + sovGenerated(uint64(l))
  9467. l = len(m.Message)
  9468. n += 1 + l + sovGenerated(uint64(l))
  9469. return n
  9470. }
  9471. func (m *PreferredSchedulingTerm) Size() (n int) {
  9472. var l int
  9473. _ = l
  9474. n += 1 + sovGenerated(uint64(m.Weight))
  9475. l = m.Preference.Size()
  9476. n += 1 + l + sovGenerated(uint64(l))
  9477. return n
  9478. }
  9479. func (m *Probe) Size() (n int) {
  9480. var l int
  9481. _ = l
  9482. l = m.Handler.Size()
  9483. n += 1 + l + sovGenerated(uint64(l))
  9484. n += 1 + sovGenerated(uint64(m.InitialDelaySeconds))
  9485. n += 1 + sovGenerated(uint64(m.TimeoutSeconds))
  9486. n += 1 + sovGenerated(uint64(m.PeriodSeconds))
  9487. n += 1 + sovGenerated(uint64(m.SuccessThreshold))
  9488. n += 1 + sovGenerated(uint64(m.FailureThreshold))
  9489. return n
  9490. }
  9491. func (m *QuobyteVolumeSource) Size() (n int) {
  9492. var l int
  9493. _ = l
  9494. l = len(m.Registry)
  9495. n += 1 + l + sovGenerated(uint64(l))
  9496. l = len(m.Volume)
  9497. n += 1 + l + sovGenerated(uint64(l))
  9498. n += 2
  9499. l = len(m.User)
  9500. n += 1 + l + sovGenerated(uint64(l))
  9501. l = len(m.Group)
  9502. n += 1 + l + sovGenerated(uint64(l))
  9503. return n
  9504. }
  9505. func (m *RBDVolumeSource) Size() (n int) {
  9506. var l int
  9507. _ = l
  9508. if len(m.CephMonitors) > 0 {
  9509. for _, s := range m.CephMonitors {
  9510. l = len(s)
  9511. n += 1 + l + sovGenerated(uint64(l))
  9512. }
  9513. }
  9514. l = len(m.RBDImage)
  9515. n += 1 + l + sovGenerated(uint64(l))
  9516. l = len(m.FSType)
  9517. n += 1 + l + sovGenerated(uint64(l))
  9518. l = len(m.RBDPool)
  9519. n += 1 + l + sovGenerated(uint64(l))
  9520. l = len(m.RadosUser)
  9521. n += 1 + l + sovGenerated(uint64(l))
  9522. l = len(m.Keyring)
  9523. n += 1 + l + sovGenerated(uint64(l))
  9524. if m.SecretRef != nil {
  9525. l = m.SecretRef.Size()
  9526. n += 1 + l + sovGenerated(uint64(l))
  9527. }
  9528. n += 2
  9529. return n
  9530. }
  9531. func (m *RangeAllocation) Size() (n int) {
  9532. var l int
  9533. _ = l
  9534. l = m.ObjectMeta.Size()
  9535. n += 1 + l + sovGenerated(uint64(l))
  9536. l = len(m.Range)
  9537. n += 1 + l + sovGenerated(uint64(l))
  9538. if m.Data != nil {
  9539. l = len(m.Data)
  9540. n += 1 + l + sovGenerated(uint64(l))
  9541. }
  9542. return n
  9543. }
  9544. func (m *ReplicationController) Size() (n int) {
  9545. var l int
  9546. _ = l
  9547. l = m.ObjectMeta.Size()
  9548. n += 1 + l + sovGenerated(uint64(l))
  9549. l = m.Spec.Size()
  9550. n += 1 + l + sovGenerated(uint64(l))
  9551. l = m.Status.Size()
  9552. n += 1 + l + sovGenerated(uint64(l))
  9553. return n
  9554. }
  9555. func (m *ReplicationControllerList) Size() (n int) {
  9556. var l int
  9557. _ = l
  9558. l = m.ListMeta.Size()
  9559. n += 1 + l + sovGenerated(uint64(l))
  9560. if len(m.Items) > 0 {
  9561. for _, e := range m.Items {
  9562. l = e.Size()
  9563. n += 1 + l + sovGenerated(uint64(l))
  9564. }
  9565. }
  9566. return n
  9567. }
  9568. func (m *ReplicationControllerSpec) Size() (n int) {
  9569. var l int
  9570. _ = l
  9571. if m.Replicas != nil {
  9572. n += 1 + sovGenerated(uint64(*m.Replicas))
  9573. }
  9574. if len(m.Selector) > 0 {
  9575. for k, v := range m.Selector {
  9576. _ = k
  9577. _ = v
  9578. mapEntrySize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + len(v) + sovGenerated(uint64(len(v)))
  9579. n += mapEntrySize + 1 + sovGenerated(uint64(mapEntrySize))
  9580. }
  9581. }
  9582. if m.Template != nil {
  9583. l = m.Template.Size()
  9584. n += 1 + l + sovGenerated(uint64(l))
  9585. }
  9586. return n
  9587. }
  9588. func (m *ReplicationControllerStatus) Size() (n int) {
  9589. var l int
  9590. _ = l
  9591. n += 1 + sovGenerated(uint64(m.Replicas))
  9592. n += 1 + sovGenerated(uint64(m.FullyLabeledReplicas))
  9593. n += 1 + sovGenerated(uint64(m.ObservedGeneration))
  9594. n += 1 + sovGenerated(uint64(m.ReadyReplicas))
  9595. return n
  9596. }
  9597. func (m *ResourceFieldSelector) Size() (n int) {
  9598. var l int
  9599. _ = l
  9600. l = len(m.ContainerName)
  9601. n += 1 + l + sovGenerated(uint64(l))
  9602. l = len(m.Resource)
  9603. n += 1 + l + sovGenerated(uint64(l))
  9604. l = m.Divisor.Size()
  9605. n += 1 + l + sovGenerated(uint64(l))
  9606. return n
  9607. }
  9608. func (m *ResourceQuota) Size() (n int) {
  9609. var l int
  9610. _ = l
  9611. l = m.ObjectMeta.Size()
  9612. n += 1 + l + sovGenerated(uint64(l))
  9613. l = m.Spec.Size()
  9614. n += 1 + l + sovGenerated(uint64(l))
  9615. l = m.Status.Size()
  9616. n += 1 + l + sovGenerated(uint64(l))
  9617. return n
  9618. }
  9619. func (m *ResourceQuotaList) Size() (n int) {
  9620. var l int
  9621. _ = l
  9622. l = m.ListMeta.Size()
  9623. n += 1 + l + sovGenerated(uint64(l))
  9624. if len(m.Items) > 0 {
  9625. for _, e := range m.Items {
  9626. l = e.Size()
  9627. n += 1 + l + sovGenerated(uint64(l))
  9628. }
  9629. }
  9630. return n
  9631. }
  9632. func (m *ResourceQuotaSpec) Size() (n int) {
  9633. var l int
  9634. _ = l
  9635. if len(m.Hard) > 0 {
  9636. for k, v := range m.Hard {
  9637. _ = k
  9638. _ = v
  9639. l = v.Size()
  9640. mapEntrySize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + l + sovGenerated(uint64(l))
  9641. n += mapEntrySize + 1 + sovGenerated(uint64(mapEntrySize))
  9642. }
  9643. }
  9644. if len(m.Scopes) > 0 {
  9645. for _, s := range m.Scopes {
  9646. l = len(s)
  9647. n += 1 + l + sovGenerated(uint64(l))
  9648. }
  9649. }
  9650. return n
  9651. }
  9652. func (m *ResourceQuotaStatus) Size() (n int) {
  9653. var l int
  9654. _ = l
  9655. if len(m.Hard) > 0 {
  9656. for k, v := range m.Hard {
  9657. _ = k
  9658. _ = v
  9659. l = v.Size()
  9660. mapEntrySize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + l + sovGenerated(uint64(l))
  9661. n += mapEntrySize + 1 + sovGenerated(uint64(mapEntrySize))
  9662. }
  9663. }
  9664. if len(m.Used) > 0 {
  9665. for k, v := range m.Used {
  9666. _ = k
  9667. _ = v
  9668. l = v.Size()
  9669. mapEntrySize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + l + sovGenerated(uint64(l))
  9670. n += mapEntrySize + 1 + sovGenerated(uint64(mapEntrySize))
  9671. }
  9672. }
  9673. return n
  9674. }
  9675. func (m *ResourceRequirements) Size() (n int) {
  9676. var l int
  9677. _ = l
  9678. if len(m.Limits) > 0 {
  9679. for k, v := range m.Limits {
  9680. _ = k
  9681. _ = v
  9682. l = v.Size()
  9683. mapEntrySize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + l + sovGenerated(uint64(l))
  9684. n += mapEntrySize + 1 + sovGenerated(uint64(mapEntrySize))
  9685. }
  9686. }
  9687. if len(m.Requests) > 0 {
  9688. for k, v := range m.Requests {
  9689. _ = k
  9690. _ = v
  9691. l = v.Size()
  9692. mapEntrySize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + l + sovGenerated(uint64(l))
  9693. n += mapEntrySize + 1 + sovGenerated(uint64(mapEntrySize))
  9694. }
  9695. }
  9696. return n
  9697. }
  9698. func (m *SELinuxOptions) Size() (n int) {
  9699. var l int
  9700. _ = l
  9701. l = len(m.User)
  9702. n += 1 + l + sovGenerated(uint64(l))
  9703. l = len(m.Role)
  9704. n += 1 + l + sovGenerated(uint64(l))
  9705. l = len(m.Type)
  9706. n += 1 + l + sovGenerated(uint64(l))
  9707. l = len(m.Level)
  9708. n += 1 + l + sovGenerated(uint64(l))
  9709. return n
  9710. }
  9711. func (m *Secret) Size() (n int) {
  9712. var l int
  9713. _ = l
  9714. l = m.ObjectMeta.Size()
  9715. n += 1 + l + sovGenerated(uint64(l))
  9716. if len(m.Data) > 0 {
  9717. for k, v := range m.Data {
  9718. _ = k
  9719. _ = v
  9720. mapEntrySize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + len(v) + sovGenerated(uint64(len(v)))
  9721. n += mapEntrySize + 1 + sovGenerated(uint64(mapEntrySize))
  9722. }
  9723. }
  9724. l = len(m.Type)
  9725. n += 1 + l + sovGenerated(uint64(l))
  9726. if len(m.StringData) > 0 {
  9727. for k, v := range m.StringData {
  9728. _ = k
  9729. _ = v
  9730. mapEntrySize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + len(v) + sovGenerated(uint64(len(v)))
  9731. n += mapEntrySize + 1 + sovGenerated(uint64(mapEntrySize))
  9732. }
  9733. }
  9734. return n
  9735. }
  9736. func (m *SecretKeySelector) Size() (n int) {
  9737. var l int
  9738. _ = l
  9739. l = m.LocalObjectReference.Size()
  9740. n += 1 + l + sovGenerated(uint64(l))
  9741. l = len(m.Key)
  9742. n += 1 + l + sovGenerated(uint64(l))
  9743. return n
  9744. }
  9745. func (m *SecretList) Size() (n int) {
  9746. var l int
  9747. _ = l
  9748. l = m.ListMeta.Size()
  9749. n += 1 + l + sovGenerated(uint64(l))
  9750. if len(m.Items) > 0 {
  9751. for _, e := range m.Items {
  9752. l = e.Size()
  9753. n += 1 + l + sovGenerated(uint64(l))
  9754. }
  9755. }
  9756. return n
  9757. }
  9758. func (m *SecretVolumeSource) Size() (n int) {
  9759. var l int
  9760. _ = l
  9761. l = len(m.SecretName)
  9762. n += 1 + l + sovGenerated(uint64(l))
  9763. if len(m.Items) > 0 {
  9764. for _, e := range m.Items {
  9765. l = e.Size()
  9766. n += 1 + l + sovGenerated(uint64(l))
  9767. }
  9768. }
  9769. if m.DefaultMode != nil {
  9770. n += 1 + sovGenerated(uint64(*m.DefaultMode))
  9771. }
  9772. return n
  9773. }
  9774. func (m *SecurityContext) Size() (n int) {
  9775. var l int
  9776. _ = l
  9777. if m.Capabilities != nil {
  9778. l = m.Capabilities.Size()
  9779. n += 1 + l + sovGenerated(uint64(l))
  9780. }
  9781. if m.Privileged != nil {
  9782. n += 2
  9783. }
  9784. if m.SELinuxOptions != nil {
  9785. l = m.SELinuxOptions.Size()
  9786. n += 1 + l + sovGenerated(uint64(l))
  9787. }
  9788. if m.RunAsUser != nil {
  9789. n += 1 + sovGenerated(uint64(*m.RunAsUser))
  9790. }
  9791. if m.RunAsNonRoot != nil {
  9792. n += 2
  9793. }
  9794. if m.ReadOnlyRootFilesystem != nil {
  9795. n += 2
  9796. }
  9797. return n
  9798. }
  9799. func (m *SerializedReference) Size() (n int) {
  9800. var l int
  9801. _ = l
  9802. l = m.Reference.Size()
  9803. n += 1 + l + sovGenerated(uint64(l))
  9804. return n
  9805. }
  9806. func (m *Service) Size() (n int) {
  9807. var l int
  9808. _ = l
  9809. l = m.ObjectMeta.Size()
  9810. n += 1 + l + sovGenerated(uint64(l))
  9811. l = m.Spec.Size()
  9812. n += 1 + l + sovGenerated(uint64(l))
  9813. l = m.Status.Size()
  9814. n += 1 + l + sovGenerated(uint64(l))
  9815. return n
  9816. }
  9817. func (m *ServiceAccount) Size() (n int) {
  9818. var l int
  9819. _ = l
  9820. l = m.ObjectMeta.Size()
  9821. n += 1 + l + sovGenerated(uint64(l))
  9822. if len(m.Secrets) > 0 {
  9823. for _, e := range m.Secrets {
  9824. l = e.Size()
  9825. n += 1 + l + sovGenerated(uint64(l))
  9826. }
  9827. }
  9828. if len(m.ImagePullSecrets) > 0 {
  9829. for _, e := range m.ImagePullSecrets {
  9830. l = e.Size()
  9831. n += 1 + l + sovGenerated(uint64(l))
  9832. }
  9833. }
  9834. return n
  9835. }
  9836. func (m *ServiceAccountList) Size() (n int) {
  9837. var l int
  9838. _ = l
  9839. l = m.ListMeta.Size()
  9840. n += 1 + l + sovGenerated(uint64(l))
  9841. if len(m.Items) > 0 {
  9842. for _, e := range m.Items {
  9843. l = e.Size()
  9844. n += 1 + l + sovGenerated(uint64(l))
  9845. }
  9846. }
  9847. return n
  9848. }
  9849. func (m *ServiceList) Size() (n int) {
  9850. var l int
  9851. _ = l
  9852. l = m.ListMeta.Size()
  9853. n += 1 + l + sovGenerated(uint64(l))
  9854. if len(m.Items) > 0 {
  9855. for _, e := range m.Items {
  9856. l = e.Size()
  9857. n += 1 + l + sovGenerated(uint64(l))
  9858. }
  9859. }
  9860. return n
  9861. }
  9862. func (m *ServicePort) Size() (n int) {
  9863. var l int
  9864. _ = l
  9865. l = len(m.Name)
  9866. n += 1 + l + sovGenerated(uint64(l))
  9867. l = len(m.Protocol)
  9868. n += 1 + l + sovGenerated(uint64(l))
  9869. n += 1 + sovGenerated(uint64(m.Port))
  9870. l = m.TargetPort.Size()
  9871. n += 1 + l + sovGenerated(uint64(l))
  9872. n += 1 + sovGenerated(uint64(m.NodePort))
  9873. return n
  9874. }
  9875. func (m *ServiceProxyOptions) Size() (n int) {
  9876. var l int
  9877. _ = l
  9878. l = len(m.Path)
  9879. n += 1 + l + sovGenerated(uint64(l))
  9880. return n
  9881. }
  9882. func (m *ServiceSpec) Size() (n int) {
  9883. var l int
  9884. _ = l
  9885. if len(m.Ports) > 0 {
  9886. for _, e := range m.Ports {
  9887. l = e.Size()
  9888. n += 1 + l + sovGenerated(uint64(l))
  9889. }
  9890. }
  9891. if len(m.Selector) > 0 {
  9892. for k, v := range m.Selector {
  9893. _ = k
  9894. _ = v
  9895. mapEntrySize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + len(v) + sovGenerated(uint64(len(v)))
  9896. n += mapEntrySize + 1 + sovGenerated(uint64(mapEntrySize))
  9897. }
  9898. }
  9899. l = len(m.ClusterIP)
  9900. n += 1 + l + sovGenerated(uint64(l))
  9901. l = len(m.Type)
  9902. n += 1 + l + sovGenerated(uint64(l))
  9903. if len(m.ExternalIPs) > 0 {
  9904. for _, s := range m.ExternalIPs {
  9905. l = len(s)
  9906. n += 1 + l + sovGenerated(uint64(l))
  9907. }
  9908. }
  9909. if len(m.DeprecatedPublicIPs) > 0 {
  9910. for _, s := range m.DeprecatedPublicIPs {
  9911. l = len(s)
  9912. n += 1 + l + sovGenerated(uint64(l))
  9913. }
  9914. }
  9915. l = len(m.SessionAffinity)
  9916. n += 1 + l + sovGenerated(uint64(l))
  9917. l = len(m.LoadBalancerIP)
  9918. n += 1 + l + sovGenerated(uint64(l))
  9919. if len(m.LoadBalancerSourceRanges) > 0 {
  9920. for _, s := range m.LoadBalancerSourceRanges {
  9921. l = len(s)
  9922. n += 1 + l + sovGenerated(uint64(l))
  9923. }
  9924. }
  9925. l = len(m.ExternalName)
  9926. n += 1 + l + sovGenerated(uint64(l))
  9927. return n
  9928. }
  9929. func (m *ServiceStatus) Size() (n int) {
  9930. var l int
  9931. _ = l
  9932. l = m.LoadBalancer.Size()
  9933. n += 1 + l + sovGenerated(uint64(l))
  9934. return n
  9935. }
  9936. func (m *TCPSocketAction) Size() (n int) {
  9937. var l int
  9938. _ = l
  9939. l = m.Port.Size()
  9940. n += 1 + l + sovGenerated(uint64(l))
  9941. return n
  9942. }
  9943. func (m *Taint) Size() (n int) {
  9944. var l int
  9945. _ = l
  9946. l = len(m.Key)
  9947. n += 1 + l + sovGenerated(uint64(l))
  9948. l = len(m.Value)
  9949. n += 1 + l + sovGenerated(uint64(l))
  9950. l = len(m.Effect)
  9951. n += 1 + l + sovGenerated(uint64(l))
  9952. return n
  9953. }
  9954. func (m *Toleration) Size() (n int) {
  9955. var l int
  9956. _ = l
  9957. l = len(m.Key)
  9958. n += 1 + l + sovGenerated(uint64(l))
  9959. l = len(m.Operator)
  9960. n += 1 + l + sovGenerated(uint64(l))
  9961. l = len(m.Value)
  9962. n += 1 + l + sovGenerated(uint64(l))
  9963. l = len(m.Effect)
  9964. n += 1 + l + sovGenerated(uint64(l))
  9965. return n
  9966. }
  9967. func (m *Volume) Size() (n int) {
  9968. var l int
  9969. _ = l
  9970. l = len(m.Name)
  9971. n += 1 + l + sovGenerated(uint64(l))
  9972. l = m.VolumeSource.Size()
  9973. n += 1 + l + sovGenerated(uint64(l))
  9974. return n
  9975. }
  9976. func (m *VolumeMount) Size() (n int) {
  9977. var l int
  9978. _ = l
  9979. l = len(m.Name)
  9980. n += 1 + l + sovGenerated(uint64(l))
  9981. n += 2
  9982. l = len(m.MountPath)
  9983. n += 1 + l + sovGenerated(uint64(l))
  9984. l = len(m.SubPath)
  9985. n += 1 + l + sovGenerated(uint64(l))
  9986. return n
  9987. }
  9988. func (m *VolumeSource) Size() (n int) {
  9989. var l int
  9990. _ = l
  9991. if m.HostPath != nil {
  9992. l = m.HostPath.Size()
  9993. n += 1 + l + sovGenerated(uint64(l))
  9994. }
  9995. if m.EmptyDir != nil {
  9996. l = m.EmptyDir.Size()
  9997. n += 1 + l + sovGenerated(uint64(l))
  9998. }
  9999. if m.GCEPersistentDisk != nil {
  10000. l = m.GCEPersistentDisk.Size()
  10001. n += 1 + l + sovGenerated(uint64(l))
  10002. }
  10003. if m.AWSElasticBlockStore != nil {
  10004. l = m.AWSElasticBlockStore.Size()
  10005. n += 1 + l + sovGenerated(uint64(l))
  10006. }
  10007. if m.GitRepo != nil {
  10008. l = m.GitRepo.Size()
  10009. n += 1 + l + sovGenerated(uint64(l))
  10010. }
  10011. if m.Secret != nil {
  10012. l = m.Secret.Size()
  10013. n += 1 + l + sovGenerated(uint64(l))
  10014. }
  10015. if m.NFS != nil {
  10016. l = m.NFS.Size()
  10017. n += 1 + l + sovGenerated(uint64(l))
  10018. }
  10019. if m.ISCSI != nil {
  10020. l = m.ISCSI.Size()
  10021. n += 1 + l + sovGenerated(uint64(l))
  10022. }
  10023. if m.Glusterfs != nil {
  10024. l = m.Glusterfs.Size()
  10025. n += 1 + l + sovGenerated(uint64(l))
  10026. }
  10027. if m.PersistentVolumeClaim != nil {
  10028. l = m.PersistentVolumeClaim.Size()
  10029. n += 1 + l + sovGenerated(uint64(l))
  10030. }
  10031. if m.RBD != nil {
  10032. l = m.RBD.Size()
  10033. n += 1 + l + sovGenerated(uint64(l))
  10034. }
  10035. if m.FlexVolume != nil {
  10036. l = m.FlexVolume.Size()
  10037. n += 1 + l + sovGenerated(uint64(l))
  10038. }
  10039. if m.Cinder != nil {
  10040. l = m.Cinder.Size()
  10041. n += 1 + l + sovGenerated(uint64(l))
  10042. }
  10043. if m.CephFS != nil {
  10044. l = m.CephFS.Size()
  10045. n += 1 + l + sovGenerated(uint64(l))
  10046. }
  10047. if m.Flocker != nil {
  10048. l = m.Flocker.Size()
  10049. n += 1 + l + sovGenerated(uint64(l))
  10050. }
  10051. if m.DownwardAPI != nil {
  10052. l = m.DownwardAPI.Size()
  10053. n += 2 + l + sovGenerated(uint64(l))
  10054. }
  10055. if m.FC != nil {
  10056. l = m.FC.Size()
  10057. n += 2 + l + sovGenerated(uint64(l))
  10058. }
  10059. if m.AzureFile != nil {
  10060. l = m.AzureFile.Size()
  10061. n += 2 + l + sovGenerated(uint64(l))
  10062. }
  10063. if m.ConfigMap != nil {
  10064. l = m.ConfigMap.Size()
  10065. n += 2 + l + sovGenerated(uint64(l))
  10066. }
  10067. if m.VsphereVolume != nil {
  10068. l = m.VsphereVolume.Size()
  10069. n += 2 + l + sovGenerated(uint64(l))
  10070. }
  10071. if m.Quobyte != nil {
  10072. l = m.Quobyte.Size()
  10073. n += 2 + l + sovGenerated(uint64(l))
  10074. }
  10075. if m.AzureDisk != nil {
  10076. l = m.AzureDisk.Size()
  10077. n += 2 + l + sovGenerated(uint64(l))
  10078. }
  10079. return n
  10080. }
  10081. func (m *VsphereVirtualDiskVolumeSource) Size() (n int) {
  10082. var l int
  10083. _ = l
  10084. l = len(m.VolumePath)
  10085. n += 1 + l + sovGenerated(uint64(l))
  10086. l = len(m.FSType)
  10087. n += 1 + l + sovGenerated(uint64(l))
  10088. return n
  10089. }
  10090. func (m *WeightedPodAffinityTerm) Size() (n int) {
  10091. var l int
  10092. _ = l
  10093. n += 1 + sovGenerated(uint64(m.Weight))
  10094. l = m.PodAffinityTerm.Size()
  10095. n += 1 + l + sovGenerated(uint64(l))
  10096. return n
  10097. }
  10098. func sovGenerated(x uint64) (n int) {
  10099. for {
  10100. n++
  10101. x >>= 7
  10102. if x == 0 {
  10103. break
  10104. }
  10105. }
  10106. return n
  10107. }
  10108. func sozGenerated(x uint64) (n int) {
  10109. return sovGenerated(uint64((x << 1) ^ uint64((int64(x) >> 63))))
  10110. }
  10111. func (this *AWSElasticBlockStoreVolumeSource) String() string {
  10112. if this == nil {
  10113. return "nil"
  10114. }
  10115. s := strings.Join([]string{`&AWSElasticBlockStoreVolumeSource{`,
  10116. `VolumeID:` + fmt.Sprintf("%v", this.VolumeID) + `,`,
  10117. `FSType:` + fmt.Sprintf("%v", this.FSType) + `,`,
  10118. `Partition:` + fmt.Sprintf("%v", this.Partition) + `,`,
  10119. `ReadOnly:` + fmt.Sprintf("%v", this.ReadOnly) + `,`,
  10120. `}`,
  10121. }, "")
  10122. return s
  10123. }
  10124. func (this *Affinity) String() string {
  10125. if this == nil {
  10126. return "nil"
  10127. }
  10128. s := strings.Join([]string{`&Affinity{`,
  10129. `NodeAffinity:` + strings.Replace(fmt.Sprintf("%v", this.NodeAffinity), "NodeAffinity", "NodeAffinity", 1) + `,`,
  10130. `PodAffinity:` + strings.Replace(fmt.Sprintf("%v", this.PodAffinity), "PodAffinity", "PodAffinity", 1) + `,`,
  10131. `PodAntiAffinity:` + strings.Replace(fmt.Sprintf("%v", this.PodAntiAffinity), "PodAntiAffinity", "PodAntiAffinity", 1) + `,`,
  10132. `}`,
  10133. }, "")
  10134. return s
  10135. }
  10136. func (this *AttachedVolume) String() string {
  10137. if this == nil {
  10138. return "nil"
  10139. }
  10140. s := strings.Join([]string{`&AttachedVolume{`,
  10141. `Name:` + fmt.Sprintf("%v", this.Name) + `,`,
  10142. `DevicePath:` + fmt.Sprintf("%v", this.DevicePath) + `,`,
  10143. `}`,
  10144. }, "")
  10145. return s
  10146. }
  10147. func (this *AvoidPods) String() string {
  10148. if this == nil {
  10149. return "nil"
  10150. }
  10151. s := strings.Join([]string{`&AvoidPods{`,
  10152. `PreferAvoidPods:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.PreferAvoidPods), "PreferAvoidPodsEntry", "PreferAvoidPodsEntry", 1), `&`, ``, 1) + `,`,
  10153. `}`,
  10154. }, "")
  10155. return s
  10156. }
  10157. func (this *AzureDiskVolumeSource) String() string {
  10158. if this == nil {
  10159. return "nil"
  10160. }
  10161. s := strings.Join([]string{`&AzureDiskVolumeSource{`,
  10162. `DiskName:` + fmt.Sprintf("%v", this.DiskName) + `,`,
  10163. `DataDiskURI:` + fmt.Sprintf("%v", this.DataDiskURI) + `,`,
  10164. `CachingMode:` + valueToStringGenerated(this.CachingMode) + `,`,
  10165. `FSType:` + valueToStringGenerated(this.FSType) + `,`,
  10166. `ReadOnly:` + valueToStringGenerated(this.ReadOnly) + `,`,
  10167. `}`,
  10168. }, "")
  10169. return s
  10170. }
  10171. func (this *AzureFileVolumeSource) String() string {
  10172. if this == nil {
  10173. return "nil"
  10174. }
  10175. s := strings.Join([]string{`&AzureFileVolumeSource{`,
  10176. `SecretName:` + fmt.Sprintf("%v", this.SecretName) + `,`,
  10177. `ShareName:` + fmt.Sprintf("%v", this.ShareName) + `,`,
  10178. `ReadOnly:` + fmt.Sprintf("%v", this.ReadOnly) + `,`,
  10179. `}`,
  10180. }, "")
  10181. return s
  10182. }
  10183. func (this *Binding) String() string {
  10184. if this == nil {
  10185. return "nil"
  10186. }
  10187. s := strings.Join([]string{`&Binding{`,
  10188. `ObjectMeta:` + strings.Replace(strings.Replace(this.ObjectMeta.String(), "ObjectMeta", "ObjectMeta", 1), `&`, ``, 1) + `,`,
  10189. `Target:` + strings.Replace(strings.Replace(this.Target.String(), "ObjectReference", "ObjectReference", 1), `&`, ``, 1) + `,`,
  10190. `}`,
  10191. }, "")
  10192. return s
  10193. }
  10194. func (this *Capabilities) String() string {
  10195. if this == nil {
  10196. return "nil"
  10197. }
  10198. s := strings.Join([]string{`&Capabilities{`,
  10199. `Add:` + fmt.Sprintf("%v", this.Add) + `,`,
  10200. `Drop:` + fmt.Sprintf("%v", this.Drop) + `,`,
  10201. `}`,
  10202. }, "")
  10203. return s
  10204. }
  10205. func (this *CephFSVolumeSource) String() string {
  10206. if this == nil {
  10207. return "nil"
  10208. }
  10209. s := strings.Join([]string{`&CephFSVolumeSource{`,
  10210. `Monitors:` + fmt.Sprintf("%v", this.Monitors) + `,`,
  10211. `Path:` + fmt.Sprintf("%v", this.Path) + `,`,
  10212. `User:` + fmt.Sprintf("%v", this.User) + `,`,
  10213. `SecretFile:` + fmt.Sprintf("%v", this.SecretFile) + `,`,
  10214. `SecretRef:` + strings.Replace(fmt.Sprintf("%v", this.SecretRef), "LocalObjectReference", "LocalObjectReference", 1) + `,`,
  10215. `ReadOnly:` + fmt.Sprintf("%v", this.ReadOnly) + `,`,
  10216. `}`,
  10217. }, "")
  10218. return s
  10219. }
  10220. func (this *CinderVolumeSource) String() string {
  10221. if this == nil {
  10222. return "nil"
  10223. }
  10224. s := strings.Join([]string{`&CinderVolumeSource{`,
  10225. `VolumeID:` + fmt.Sprintf("%v", this.VolumeID) + `,`,
  10226. `FSType:` + fmt.Sprintf("%v", this.FSType) + `,`,
  10227. `ReadOnly:` + fmt.Sprintf("%v", this.ReadOnly) + `,`,
  10228. `}`,
  10229. }, "")
  10230. return s
  10231. }
  10232. func (this *ComponentCondition) String() string {
  10233. if this == nil {
  10234. return "nil"
  10235. }
  10236. s := strings.Join([]string{`&ComponentCondition{`,
  10237. `Type:` + fmt.Sprintf("%v", this.Type) + `,`,
  10238. `Status:` + fmt.Sprintf("%v", this.Status) + `,`,
  10239. `Message:` + fmt.Sprintf("%v", this.Message) + `,`,
  10240. `Error:` + fmt.Sprintf("%v", this.Error) + `,`,
  10241. `}`,
  10242. }, "")
  10243. return s
  10244. }
  10245. func (this *ComponentStatus) String() string {
  10246. if this == nil {
  10247. return "nil"
  10248. }
  10249. s := strings.Join([]string{`&ComponentStatus{`,
  10250. `ObjectMeta:` + strings.Replace(strings.Replace(this.ObjectMeta.String(), "ObjectMeta", "ObjectMeta", 1), `&`, ``, 1) + `,`,
  10251. `Conditions:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Conditions), "ComponentCondition", "ComponentCondition", 1), `&`, ``, 1) + `,`,
  10252. `}`,
  10253. }, "")
  10254. return s
  10255. }
  10256. func (this *ComponentStatusList) String() string {
  10257. if this == nil {
  10258. return "nil"
  10259. }
  10260. s := strings.Join([]string{`&ComponentStatusList{`,
  10261. `ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "k8s_io_kubernetes_pkg_api_unversioned.ListMeta", 1), `&`, ``, 1) + `,`,
  10262. `Items:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Items), "ComponentStatus", "ComponentStatus", 1), `&`, ``, 1) + `,`,
  10263. `}`,
  10264. }, "")
  10265. return s
  10266. }
  10267. func (this *ConfigMap) String() string {
  10268. if this == nil {
  10269. return "nil"
  10270. }
  10271. keysForData := make([]string, 0, len(this.Data))
  10272. for k := range this.Data {
  10273. keysForData = append(keysForData, k)
  10274. }
  10275. github_com_gogo_protobuf_sortkeys.Strings(keysForData)
  10276. mapStringForData := "map[string]string{"
  10277. for _, k := range keysForData {
  10278. mapStringForData += fmt.Sprintf("%v: %v,", k, this.Data[k])
  10279. }
  10280. mapStringForData += "}"
  10281. s := strings.Join([]string{`&ConfigMap{`,
  10282. `ObjectMeta:` + strings.Replace(strings.Replace(this.ObjectMeta.String(), "ObjectMeta", "ObjectMeta", 1), `&`, ``, 1) + `,`,
  10283. `Data:` + mapStringForData + `,`,
  10284. `}`,
  10285. }, "")
  10286. return s
  10287. }
  10288. func (this *ConfigMapKeySelector) String() string {
  10289. if this == nil {
  10290. return "nil"
  10291. }
  10292. s := strings.Join([]string{`&ConfigMapKeySelector{`,
  10293. `LocalObjectReference:` + strings.Replace(strings.Replace(this.LocalObjectReference.String(), "LocalObjectReference", "LocalObjectReference", 1), `&`, ``, 1) + `,`,
  10294. `Key:` + fmt.Sprintf("%v", this.Key) + `,`,
  10295. `}`,
  10296. }, "")
  10297. return s
  10298. }
  10299. func (this *ConfigMapList) String() string {
  10300. if this == nil {
  10301. return "nil"
  10302. }
  10303. s := strings.Join([]string{`&ConfigMapList{`,
  10304. `ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "k8s_io_kubernetes_pkg_api_unversioned.ListMeta", 1), `&`, ``, 1) + `,`,
  10305. `Items:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Items), "ConfigMap", "ConfigMap", 1), `&`, ``, 1) + `,`,
  10306. `}`,
  10307. }, "")
  10308. return s
  10309. }
  10310. func (this *ConfigMapVolumeSource) String() string {
  10311. if this == nil {
  10312. return "nil"
  10313. }
  10314. s := strings.Join([]string{`&ConfigMapVolumeSource{`,
  10315. `LocalObjectReference:` + strings.Replace(strings.Replace(this.LocalObjectReference.String(), "LocalObjectReference", "LocalObjectReference", 1), `&`, ``, 1) + `,`,
  10316. `Items:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Items), "KeyToPath", "KeyToPath", 1), `&`, ``, 1) + `,`,
  10317. `DefaultMode:` + valueToStringGenerated(this.DefaultMode) + `,`,
  10318. `}`,
  10319. }, "")
  10320. return s
  10321. }
  10322. func (this *Container) String() string {
  10323. if this == nil {
  10324. return "nil"
  10325. }
  10326. s := strings.Join([]string{`&Container{`,
  10327. `Name:` + fmt.Sprintf("%v", this.Name) + `,`,
  10328. `Image:` + fmt.Sprintf("%v", this.Image) + `,`,
  10329. `Command:` + fmt.Sprintf("%v", this.Command) + `,`,
  10330. `Args:` + fmt.Sprintf("%v", this.Args) + `,`,
  10331. `WorkingDir:` + fmt.Sprintf("%v", this.WorkingDir) + `,`,
  10332. `Ports:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Ports), "ContainerPort", "ContainerPort", 1), `&`, ``, 1) + `,`,
  10333. `Env:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Env), "EnvVar", "EnvVar", 1), `&`, ``, 1) + `,`,
  10334. `Resources:` + strings.Replace(strings.Replace(this.Resources.String(), "ResourceRequirements", "ResourceRequirements", 1), `&`, ``, 1) + `,`,
  10335. `VolumeMounts:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.VolumeMounts), "VolumeMount", "VolumeMount", 1), `&`, ``, 1) + `,`,
  10336. `LivenessProbe:` + strings.Replace(fmt.Sprintf("%v", this.LivenessProbe), "Probe", "Probe", 1) + `,`,
  10337. `ReadinessProbe:` + strings.Replace(fmt.Sprintf("%v", this.ReadinessProbe), "Probe", "Probe", 1) + `,`,
  10338. `Lifecycle:` + strings.Replace(fmt.Sprintf("%v", this.Lifecycle), "Lifecycle", "Lifecycle", 1) + `,`,
  10339. `TerminationMessagePath:` + fmt.Sprintf("%v", this.TerminationMessagePath) + `,`,
  10340. `ImagePullPolicy:` + fmt.Sprintf("%v", this.ImagePullPolicy) + `,`,
  10341. `SecurityContext:` + strings.Replace(fmt.Sprintf("%v", this.SecurityContext), "SecurityContext", "SecurityContext", 1) + `,`,
  10342. `Stdin:` + fmt.Sprintf("%v", this.Stdin) + `,`,
  10343. `StdinOnce:` + fmt.Sprintf("%v", this.StdinOnce) + `,`,
  10344. `TTY:` + fmt.Sprintf("%v", this.TTY) + `,`,
  10345. `}`,
  10346. }, "")
  10347. return s
  10348. }
  10349. func (this *ContainerImage) String() string {
  10350. if this == nil {
  10351. return "nil"
  10352. }
  10353. s := strings.Join([]string{`&ContainerImage{`,
  10354. `Names:` + fmt.Sprintf("%v", this.Names) + `,`,
  10355. `SizeBytes:` + fmt.Sprintf("%v", this.SizeBytes) + `,`,
  10356. `}`,
  10357. }, "")
  10358. return s
  10359. }
  10360. func (this *ContainerPort) String() string {
  10361. if this == nil {
  10362. return "nil"
  10363. }
  10364. s := strings.Join([]string{`&ContainerPort{`,
  10365. `Name:` + fmt.Sprintf("%v", this.Name) + `,`,
  10366. `HostPort:` + fmt.Sprintf("%v", this.HostPort) + `,`,
  10367. `ContainerPort:` + fmt.Sprintf("%v", this.ContainerPort) + `,`,
  10368. `Protocol:` + fmt.Sprintf("%v", this.Protocol) + `,`,
  10369. `HostIP:` + fmt.Sprintf("%v", this.HostIP) + `,`,
  10370. `}`,
  10371. }, "")
  10372. return s
  10373. }
  10374. func (this *ContainerState) String() string {
  10375. if this == nil {
  10376. return "nil"
  10377. }
  10378. s := strings.Join([]string{`&ContainerState{`,
  10379. `Waiting:` + strings.Replace(fmt.Sprintf("%v", this.Waiting), "ContainerStateWaiting", "ContainerStateWaiting", 1) + `,`,
  10380. `Running:` + strings.Replace(fmt.Sprintf("%v", this.Running), "ContainerStateRunning", "ContainerStateRunning", 1) + `,`,
  10381. `Terminated:` + strings.Replace(fmt.Sprintf("%v", this.Terminated), "ContainerStateTerminated", "ContainerStateTerminated", 1) + `,`,
  10382. `}`,
  10383. }, "")
  10384. return s
  10385. }
  10386. func (this *ContainerStateRunning) String() string {
  10387. if this == nil {
  10388. return "nil"
  10389. }
  10390. s := strings.Join([]string{`&ContainerStateRunning{`,
  10391. `StartedAt:` + strings.Replace(strings.Replace(this.StartedAt.String(), "Time", "k8s_io_kubernetes_pkg_api_unversioned.Time", 1), `&`, ``, 1) + `,`,
  10392. `}`,
  10393. }, "")
  10394. return s
  10395. }
  10396. func (this *ContainerStateTerminated) String() string {
  10397. if this == nil {
  10398. return "nil"
  10399. }
  10400. s := strings.Join([]string{`&ContainerStateTerminated{`,
  10401. `ExitCode:` + fmt.Sprintf("%v", this.ExitCode) + `,`,
  10402. `Signal:` + fmt.Sprintf("%v", this.Signal) + `,`,
  10403. `Reason:` + fmt.Sprintf("%v", this.Reason) + `,`,
  10404. `Message:` + fmt.Sprintf("%v", this.Message) + `,`,
  10405. `StartedAt:` + strings.Replace(strings.Replace(this.StartedAt.String(), "Time", "k8s_io_kubernetes_pkg_api_unversioned.Time", 1), `&`, ``, 1) + `,`,
  10406. `FinishedAt:` + strings.Replace(strings.Replace(this.FinishedAt.String(), "Time", "k8s_io_kubernetes_pkg_api_unversioned.Time", 1), `&`, ``, 1) + `,`,
  10407. `ContainerID:` + fmt.Sprintf("%v", this.ContainerID) + `,`,
  10408. `}`,
  10409. }, "")
  10410. return s
  10411. }
  10412. func (this *ContainerStateWaiting) String() string {
  10413. if this == nil {
  10414. return "nil"
  10415. }
  10416. s := strings.Join([]string{`&ContainerStateWaiting{`,
  10417. `Reason:` + fmt.Sprintf("%v", this.Reason) + `,`,
  10418. `Message:` + fmt.Sprintf("%v", this.Message) + `,`,
  10419. `}`,
  10420. }, "")
  10421. return s
  10422. }
  10423. func (this *ContainerStatus) String() string {
  10424. if this == nil {
  10425. return "nil"
  10426. }
  10427. s := strings.Join([]string{`&ContainerStatus{`,
  10428. `Name:` + fmt.Sprintf("%v", this.Name) + `,`,
  10429. `State:` + strings.Replace(strings.Replace(this.State.String(), "ContainerState", "ContainerState", 1), `&`, ``, 1) + `,`,
  10430. `LastTerminationState:` + strings.Replace(strings.Replace(this.LastTerminationState.String(), "ContainerState", "ContainerState", 1), `&`, ``, 1) + `,`,
  10431. `Ready:` + fmt.Sprintf("%v", this.Ready) + `,`,
  10432. `RestartCount:` + fmt.Sprintf("%v", this.RestartCount) + `,`,
  10433. `Image:` + fmt.Sprintf("%v", this.Image) + `,`,
  10434. `ImageID:` + fmt.Sprintf("%v", this.ImageID) + `,`,
  10435. `ContainerID:` + fmt.Sprintf("%v", this.ContainerID) + `,`,
  10436. `}`,
  10437. }, "")
  10438. return s
  10439. }
  10440. func (this *DaemonEndpoint) String() string {
  10441. if this == nil {
  10442. return "nil"
  10443. }
  10444. s := strings.Join([]string{`&DaemonEndpoint{`,
  10445. `Port:` + fmt.Sprintf("%v", this.Port) + `,`,
  10446. `}`,
  10447. }, "")
  10448. return s
  10449. }
  10450. func (this *DeleteOptions) String() string {
  10451. if this == nil {
  10452. return "nil"
  10453. }
  10454. s := strings.Join([]string{`&DeleteOptions{`,
  10455. `GracePeriodSeconds:` + valueToStringGenerated(this.GracePeriodSeconds) + `,`,
  10456. `Preconditions:` + strings.Replace(fmt.Sprintf("%v", this.Preconditions), "Preconditions", "Preconditions", 1) + `,`,
  10457. `OrphanDependents:` + valueToStringGenerated(this.OrphanDependents) + `,`,
  10458. `}`,
  10459. }, "")
  10460. return s
  10461. }
  10462. func (this *DownwardAPIVolumeFile) String() string {
  10463. if this == nil {
  10464. return "nil"
  10465. }
  10466. s := strings.Join([]string{`&DownwardAPIVolumeFile{`,
  10467. `Path:` + fmt.Sprintf("%v", this.Path) + `,`,
  10468. `FieldRef:` + strings.Replace(fmt.Sprintf("%v", this.FieldRef), "ObjectFieldSelector", "ObjectFieldSelector", 1) + `,`,
  10469. `ResourceFieldRef:` + strings.Replace(fmt.Sprintf("%v", this.ResourceFieldRef), "ResourceFieldSelector", "ResourceFieldSelector", 1) + `,`,
  10470. `Mode:` + valueToStringGenerated(this.Mode) + `,`,
  10471. `}`,
  10472. }, "")
  10473. return s
  10474. }
  10475. func (this *DownwardAPIVolumeSource) String() string {
  10476. if this == nil {
  10477. return "nil"
  10478. }
  10479. s := strings.Join([]string{`&DownwardAPIVolumeSource{`,
  10480. `Items:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Items), "DownwardAPIVolumeFile", "DownwardAPIVolumeFile", 1), `&`, ``, 1) + `,`,
  10481. `DefaultMode:` + valueToStringGenerated(this.DefaultMode) + `,`,
  10482. `}`,
  10483. }, "")
  10484. return s
  10485. }
  10486. func (this *EmptyDirVolumeSource) String() string {
  10487. if this == nil {
  10488. return "nil"
  10489. }
  10490. s := strings.Join([]string{`&EmptyDirVolumeSource{`,
  10491. `Medium:` + fmt.Sprintf("%v", this.Medium) + `,`,
  10492. `}`,
  10493. }, "")
  10494. return s
  10495. }
  10496. func (this *EndpointAddress) String() string {
  10497. if this == nil {
  10498. return "nil"
  10499. }
  10500. s := strings.Join([]string{`&EndpointAddress{`,
  10501. `IP:` + fmt.Sprintf("%v", this.IP) + `,`,
  10502. `TargetRef:` + strings.Replace(fmt.Sprintf("%v", this.TargetRef), "ObjectReference", "ObjectReference", 1) + `,`,
  10503. `Hostname:` + fmt.Sprintf("%v", this.Hostname) + `,`,
  10504. `NodeName:` + valueToStringGenerated(this.NodeName) + `,`,
  10505. `}`,
  10506. }, "")
  10507. return s
  10508. }
  10509. func (this *EndpointPort) String() string {
  10510. if this == nil {
  10511. return "nil"
  10512. }
  10513. s := strings.Join([]string{`&EndpointPort{`,
  10514. `Name:` + fmt.Sprintf("%v", this.Name) + `,`,
  10515. `Port:` + fmt.Sprintf("%v", this.Port) + `,`,
  10516. `Protocol:` + fmt.Sprintf("%v", this.Protocol) + `,`,
  10517. `}`,
  10518. }, "")
  10519. return s
  10520. }
  10521. func (this *EndpointSubset) String() string {
  10522. if this == nil {
  10523. return "nil"
  10524. }
  10525. s := strings.Join([]string{`&EndpointSubset{`,
  10526. `Addresses:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Addresses), "EndpointAddress", "EndpointAddress", 1), `&`, ``, 1) + `,`,
  10527. `NotReadyAddresses:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.NotReadyAddresses), "EndpointAddress", "EndpointAddress", 1), `&`, ``, 1) + `,`,
  10528. `Ports:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Ports), "EndpointPort", "EndpointPort", 1), `&`, ``, 1) + `,`,
  10529. `}`,
  10530. }, "")
  10531. return s
  10532. }
  10533. func (this *Endpoints) String() string {
  10534. if this == nil {
  10535. return "nil"
  10536. }
  10537. s := strings.Join([]string{`&Endpoints{`,
  10538. `ObjectMeta:` + strings.Replace(strings.Replace(this.ObjectMeta.String(), "ObjectMeta", "ObjectMeta", 1), `&`, ``, 1) + `,`,
  10539. `Subsets:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Subsets), "EndpointSubset", "EndpointSubset", 1), `&`, ``, 1) + `,`,
  10540. `}`,
  10541. }, "")
  10542. return s
  10543. }
  10544. func (this *EndpointsList) String() string {
  10545. if this == nil {
  10546. return "nil"
  10547. }
  10548. s := strings.Join([]string{`&EndpointsList{`,
  10549. `ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "k8s_io_kubernetes_pkg_api_unversioned.ListMeta", 1), `&`, ``, 1) + `,`,
  10550. `Items:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Items), "Endpoints", "Endpoints", 1), `&`, ``, 1) + `,`,
  10551. `}`,
  10552. }, "")
  10553. return s
  10554. }
  10555. func (this *EnvVar) String() string {
  10556. if this == nil {
  10557. return "nil"
  10558. }
  10559. s := strings.Join([]string{`&EnvVar{`,
  10560. `Name:` + fmt.Sprintf("%v", this.Name) + `,`,
  10561. `Value:` + fmt.Sprintf("%v", this.Value) + `,`,
  10562. `ValueFrom:` + strings.Replace(fmt.Sprintf("%v", this.ValueFrom), "EnvVarSource", "EnvVarSource", 1) + `,`,
  10563. `}`,
  10564. }, "")
  10565. return s
  10566. }
  10567. func (this *EnvVarSource) String() string {
  10568. if this == nil {
  10569. return "nil"
  10570. }
  10571. s := strings.Join([]string{`&EnvVarSource{`,
  10572. `FieldRef:` + strings.Replace(fmt.Sprintf("%v", this.FieldRef), "ObjectFieldSelector", "ObjectFieldSelector", 1) + `,`,
  10573. `ResourceFieldRef:` + strings.Replace(fmt.Sprintf("%v", this.ResourceFieldRef), "ResourceFieldSelector", "ResourceFieldSelector", 1) + `,`,
  10574. `ConfigMapKeyRef:` + strings.Replace(fmt.Sprintf("%v", this.ConfigMapKeyRef), "ConfigMapKeySelector", "ConfigMapKeySelector", 1) + `,`,
  10575. `SecretKeyRef:` + strings.Replace(fmt.Sprintf("%v", this.SecretKeyRef), "SecretKeySelector", "SecretKeySelector", 1) + `,`,
  10576. `}`,
  10577. }, "")
  10578. return s
  10579. }
  10580. func (this *Event) String() string {
  10581. if this == nil {
  10582. return "nil"
  10583. }
  10584. s := strings.Join([]string{`&Event{`,
  10585. `ObjectMeta:` + strings.Replace(strings.Replace(this.ObjectMeta.String(), "ObjectMeta", "ObjectMeta", 1), `&`, ``, 1) + `,`,
  10586. `InvolvedObject:` + strings.Replace(strings.Replace(this.InvolvedObject.String(), "ObjectReference", "ObjectReference", 1), `&`, ``, 1) + `,`,
  10587. `Reason:` + fmt.Sprintf("%v", this.Reason) + `,`,
  10588. `Message:` + fmt.Sprintf("%v", this.Message) + `,`,
  10589. `Source:` + strings.Replace(strings.Replace(this.Source.String(), "EventSource", "EventSource", 1), `&`, ``, 1) + `,`,
  10590. `FirstTimestamp:` + strings.Replace(strings.Replace(this.FirstTimestamp.String(), "Time", "k8s_io_kubernetes_pkg_api_unversioned.Time", 1), `&`, ``, 1) + `,`,
  10591. `LastTimestamp:` + strings.Replace(strings.Replace(this.LastTimestamp.String(), "Time", "k8s_io_kubernetes_pkg_api_unversioned.Time", 1), `&`, ``, 1) + `,`,
  10592. `Count:` + fmt.Sprintf("%v", this.Count) + `,`,
  10593. `Type:` + fmt.Sprintf("%v", this.Type) + `,`,
  10594. `}`,
  10595. }, "")
  10596. return s
  10597. }
  10598. func (this *EventList) String() string {
  10599. if this == nil {
  10600. return "nil"
  10601. }
  10602. s := strings.Join([]string{`&EventList{`,
  10603. `ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "k8s_io_kubernetes_pkg_api_unversioned.ListMeta", 1), `&`, ``, 1) + `,`,
  10604. `Items:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Items), "Event", "Event", 1), `&`, ``, 1) + `,`,
  10605. `}`,
  10606. }, "")
  10607. return s
  10608. }
  10609. func (this *EventSource) String() string {
  10610. if this == nil {
  10611. return "nil"
  10612. }
  10613. s := strings.Join([]string{`&EventSource{`,
  10614. `Component:` + fmt.Sprintf("%v", this.Component) + `,`,
  10615. `Host:` + fmt.Sprintf("%v", this.Host) + `,`,
  10616. `}`,
  10617. }, "")
  10618. return s
  10619. }
  10620. func (this *ExecAction) String() string {
  10621. if this == nil {
  10622. return "nil"
  10623. }
  10624. s := strings.Join([]string{`&ExecAction{`,
  10625. `Command:` + fmt.Sprintf("%v", this.Command) + `,`,
  10626. `}`,
  10627. }, "")
  10628. return s
  10629. }
  10630. func (this *ExportOptions) String() string {
  10631. if this == nil {
  10632. return "nil"
  10633. }
  10634. s := strings.Join([]string{`&ExportOptions{`,
  10635. `Export:` + fmt.Sprintf("%v", this.Export) + `,`,
  10636. `Exact:` + fmt.Sprintf("%v", this.Exact) + `,`,
  10637. `}`,
  10638. }, "")
  10639. return s
  10640. }
  10641. func (this *FCVolumeSource) String() string {
  10642. if this == nil {
  10643. return "nil"
  10644. }
  10645. s := strings.Join([]string{`&FCVolumeSource{`,
  10646. `TargetWWNs:` + fmt.Sprintf("%v", this.TargetWWNs) + `,`,
  10647. `Lun:` + valueToStringGenerated(this.Lun) + `,`,
  10648. `FSType:` + fmt.Sprintf("%v", this.FSType) + `,`,
  10649. `ReadOnly:` + fmt.Sprintf("%v", this.ReadOnly) + `,`,
  10650. `}`,
  10651. }, "")
  10652. return s
  10653. }
  10654. func (this *FlexVolumeSource) String() string {
  10655. if this == nil {
  10656. return "nil"
  10657. }
  10658. keysForOptions := make([]string, 0, len(this.Options))
  10659. for k := range this.Options {
  10660. keysForOptions = append(keysForOptions, k)
  10661. }
  10662. github_com_gogo_protobuf_sortkeys.Strings(keysForOptions)
  10663. mapStringForOptions := "map[string]string{"
  10664. for _, k := range keysForOptions {
  10665. mapStringForOptions += fmt.Sprintf("%v: %v,", k, this.Options[k])
  10666. }
  10667. mapStringForOptions += "}"
  10668. s := strings.Join([]string{`&FlexVolumeSource{`,
  10669. `Driver:` + fmt.Sprintf("%v", this.Driver) + `,`,
  10670. `FSType:` + fmt.Sprintf("%v", this.FSType) + `,`,
  10671. `SecretRef:` + strings.Replace(fmt.Sprintf("%v", this.SecretRef), "LocalObjectReference", "LocalObjectReference", 1) + `,`,
  10672. `ReadOnly:` + fmt.Sprintf("%v", this.ReadOnly) + `,`,
  10673. `Options:` + mapStringForOptions + `,`,
  10674. `}`,
  10675. }, "")
  10676. return s
  10677. }
  10678. func (this *FlockerVolumeSource) String() string {
  10679. if this == nil {
  10680. return "nil"
  10681. }
  10682. s := strings.Join([]string{`&FlockerVolumeSource{`,
  10683. `DatasetName:` + fmt.Sprintf("%v", this.DatasetName) + `,`,
  10684. `}`,
  10685. }, "")
  10686. return s
  10687. }
  10688. func (this *GCEPersistentDiskVolumeSource) String() string {
  10689. if this == nil {
  10690. return "nil"
  10691. }
  10692. s := strings.Join([]string{`&GCEPersistentDiskVolumeSource{`,
  10693. `PDName:` + fmt.Sprintf("%v", this.PDName) + `,`,
  10694. `FSType:` + fmt.Sprintf("%v", this.FSType) + `,`,
  10695. `Partition:` + fmt.Sprintf("%v", this.Partition) + `,`,
  10696. `ReadOnly:` + fmt.Sprintf("%v", this.ReadOnly) + `,`,
  10697. `}`,
  10698. }, "")
  10699. return s
  10700. }
  10701. func (this *GitRepoVolumeSource) String() string {
  10702. if this == nil {
  10703. return "nil"
  10704. }
  10705. s := strings.Join([]string{`&GitRepoVolumeSource{`,
  10706. `Repository:` + fmt.Sprintf("%v", this.Repository) + `,`,
  10707. `Revision:` + fmt.Sprintf("%v", this.Revision) + `,`,
  10708. `Directory:` + fmt.Sprintf("%v", this.Directory) + `,`,
  10709. `}`,
  10710. }, "")
  10711. return s
  10712. }
  10713. func (this *GlusterfsVolumeSource) String() string {
  10714. if this == nil {
  10715. return "nil"
  10716. }
  10717. s := strings.Join([]string{`&GlusterfsVolumeSource{`,
  10718. `EndpointsName:` + fmt.Sprintf("%v", this.EndpointsName) + `,`,
  10719. `Path:` + fmt.Sprintf("%v", this.Path) + `,`,
  10720. `ReadOnly:` + fmt.Sprintf("%v", this.ReadOnly) + `,`,
  10721. `}`,
  10722. }, "")
  10723. return s
  10724. }
  10725. func (this *HTTPGetAction) String() string {
  10726. if this == nil {
  10727. return "nil"
  10728. }
  10729. s := strings.Join([]string{`&HTTPGetAction{`,
  10730. `Path:` + fmt.Sprintf("%v", this.Path) + `,`,
  10731. `Port:` + strings.Replace(strings.Replace(this.Port.String(), "IntOrString", "k8s_io_kubernetes_pkg_util_intstr.IntOrString", 1), `&`, ``, 1) + `,`,
  10732. `Host:` + fmt.Sprintf("%v", this.Host) + `,`,
  10733. `Scheme:` + fmt.Sprintf("%v", this.Scheme) + `,`,
  10734. `HTTPHeaders:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.HTTPHeaders), "HTTPHeader", "HTTPHeader", 1), `&`, ``, 1) + `,`,
  10735. `}`,
  10736. }, "")
  10737. return s
  10738. }
  10739. func (this *HTTPHeader) String() string {
  10740. if this == nil {
  10741. return "nil"
  10742. }
  10743. s := strings.Join([]string{`&HTTPHeader{`,
  10744. `Name:` + fmt.Sprintf("%v", this.Name) + `,`,
  10745. `Value:` + fmt.Sprintf("%v", this.Value) + `,`,
  10746. `}`,
  10747. }, "")
  10748. return s
  10749. }
  10750. func (this *Handler) String() string {
  10751. if this == nil {
  10752. return "nil"
  10753. }
  10754. s := strings.Join([]string{`&Handler{`,
  10755. `Exec:` + strings.Replace(fmt.Sprintf("%v", this.Exec), "ExecAction", "ExecAction", 1) + `,`,
  10756. `HTTPGet:` + strings.Replace(fmt.Sprintf("%v", this.HTTPGet), "HTTPGetAction", "HTTPGetAction", 1) + `,`,
  10757. `TCPSocket:` + strings.Replace(fmt.Sprintf("%v", this.TCPSocket), "TCPSocketAction", "TCPSocketAction", 1) + `,`,
  10758. `}`,
  10759. }, "")
  10760. return s
  10761. }
  10762. func (this *HostPathVolumeSource) String() string {
  10763. if this == nil {
  10764. return "nil"
  10765. }
  10766. s := strings.Join([]string{`&HostPathVolumeSource{`,
  10767. `Path:` + fmt.Sprintf("%v", this.Path) + `,`,
  10768. `}`,
  10769. }, "")
  10770. return s
  10771. }
  10772. func (this *ISCSIVolumeSource) String() string {
  10773. if this == nil {
  10774. return "nil"
  10775. }
  10776. s := strings.Join([]string{`&ISCSIVolumeSource{`,
  10777. `TargetPortal:` + fmt.Sprintf("%v", this.TargetPortal) + `,`,
  10778. `IQN:` + fmt.Sprintf("%v", this.IQN) + `,`,
  10779. `Lun:` + fmt.Sprintf("%v", this.Lun) + `,`,
  10780. `ISCSIInterface:` + fmt.Sprintf("%v", this.ISCSIInterface) + `,`,
  10781. `FSType:` + fmt.Sprintf("%v", this.FSType) + `,`,
  10782. `ReadOnly:` + fmt.Sprintf("%v", this.ReadOnly) + `,`,
  10783. `}`,
  10784. }, "")
  10785. return s
  10786. }
  10787. func (this *KeyToPath) String() string {
  10788. if this == nil {
  10789. return "nil"
  10790. }
  10791. s := strings.Join([]string{`&KeyToPath{`,
  10792. `Key:` + fmt.Sprintf("%v", this.Key) + `,`,
  10793. `Path:` + fmt.Sprintf("%v", this.Path) + `,`,
  10794. `Mode:` + valueToStringGenerated(this.Mode) + `,`,
  10795. `}`,
  10796. }, "")
  10797. return s
  10798. }
  10799. func (this *Lifecycle) String() string {
  10800. if this == nil {
  10801. return "nil"
  10802. }
  10803. s := strings.Join([]string{`&Lifecycle{`,
  10804. `PostStart:` + strings.Replace(fmt.Sprintf("%v", this.PostStart), "Handler", "Handler", 1) + `,`,
  10805. `PreStop:` + strings.Replace(fmt.Sprintf("%v", this.PreStop), "Handler", "Handler", 1) + `,`,
  10806. `}`,
  10807. }, "")
  10808. return s
  10809. }
  10810. func (this *LimitRange) String() string {
  10811. if this == nil {
  10812. return "nil"
  10813. }
  10814. s := strings.Join([]string{`&LimitRange{`,
  10815. `ObjectMeta:` + strings.Replace(strings.Replace(this.ObjectMeta.String(), "ObjectMeta", "ObjectMeta", 1), `&`, ``, 1) + `,`,
  10816. `Spec:` + strings.Replace(strings.Replace(this.Spec.String(), "LimitRangeSpec", "LimitRangeSpec", 1), `&`, ``, 1) + `,`,
  10817. `}`,
  10818. }, "")
  10819. return s
  10820. }
  10821. func (this *LimitRangeItem) String() string {
  10822. if this == nil {
  10823. return "nil"
  10824. }
  10825. keysForMax := make([]string, 0, len(this.Max))
  10826. for k := range this.Max {
  10827. keysForMax = append(keysForMax, string(k))
  10828. }
  10829. github_com_gogo_protobuf_sortkeys.Strings(keysForMax)
  10830. mapStringForMax := "ResourceList{"
  10831. for _, k := range keysForMax {
  10832. mapStringForMax += fmt.Sprintf("%v: %v,", k, this.Max[ResourceName(k)])
  10833. }
  10834. mapStringForMax += "}"
  10835. keysForMin := make([]string, 0, len(this.Min))
  10836. for k := range this.Min {
  10837. keysForMin = append(keysForMin, string(k))
  10838. }
  10839. github_com_gogo_protobuf_sortkeys.Strings(keysForMin)
  10840. mapStringForMin := "ResourceList{"
  10841. for _, k := range keysForMin {
  10842. mapStringForMin += fmt.Sprintf("%v: %v,", k, this.Min[ResourceName(k)])
  10843. }
  10844. mapStringForMin += "}"
  10845. keysForDefault := make([]string, 0, len(this.Default))
  10846. for k := range this.Default {
  10847. keysForDefault = append(keysForDefault, string(k))
  10848. }
  10849. github_com_gogo_protobuf_sortkeys.Strings(keysForDefault)
  10850. mapStringForDefault := "ResourceList{"
  10851. for _, k := range keysForDefault {
  10852. mapStringForDefault += fmt.Sprintf("%v: %v,", k, this.Default[ResourceName(k)])
  10853. }
  10854. mapStringForDefault += "}"
  10855. keysForDefaultRequest := make([]string, 0, len(this.DefaultRequest))
  10856. for k := range this.DefaultRequest {
  10857. keysForDefaultRequest = append(keysForDefaultRequest, string(k))
  10858. }
  10859. github_com_gogo_protobuf_sortkeys.Strings(keysForDefaultRequest)
  10860. mapStringForDefaultRequest := "ResourceList{"
  10861. for _, k := range keysForDefaultRequest {
  10862. mapStringForDefaultRequest += fmt.Sprintf("%v: %v,", k, this.DefaultRequest[ResourceName(k)])
  10863. }
  10864. mapStringForDefaultRequest += "}"
  10865. keysForMaxLimitRequestRatio := make([]string, 0, len(this.MaxLimitRequestRatio))
  10866. for k := range this.MaxLimitRequestRatio {
  10867. keysForMaxLimitRequestRatio = append(keysForMaxLimitRequestRatio, string(k))
  10868. }
  10869. github_com_gogo_protobuf_sortkeys.Strings(keysForMaxLimitRequestRatio)
  10870. mapStringForMaxLimitRequestRatio := "ResourceList{"
  10871. for _, k := range keysForMaxLimitRequestRatio {
  10872. mapStringForMaxLimitRequestRatio += fmt.Sprintf("%v: %v,", k, this.MaxLimitRequestRatio[ResourceName(k)])
  10873. }
  10874. mapStringForMaxLimitRequestRatio += "}"
  10875. s := strings.Join([]string{`&LimitRangeItem{`,
  10876. `Type:` + fmt.Sprintf("%v", this.Type) + `,`,
  10877. `Max:` + mapStringForMax + `,`,
  10878. `Min:` + mapStringForMin + `,`,
  10879. `Default:` + mapStringForDefault + `,`,
  10880. `DefaultRequest:` + mapStringForDefaultRequest + `,`,
  10881. `MaxLimitRequestRatio:` + mapStringForMaxLimitRequestRatio + `,`,
  10882. `}`,
  10883. }, "")
  10884. return s
  10885. }
  10886. func (this *LimitRangeList) String() string {
  10887. if this == nil {
  10888. return "nil"
  10889. }
  10890. s := strings.Join([]string{`&LimitRangeList{`,
  10891. `ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "k8s_io_kubernetes_pkg_api_unversioned.ListMeta", 1), `&`, ``, 1) + `,`,
  10892. `Items:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Items), "LimitRange", "LimitRange", 1), `&`, ``, 1) + `,`,
  10893. `}`,
  10894. }, "")
  10895. return s
  10896. }
  10897. func (this *LimitRangeSpec) String() string {
  10898. if this == nil {
  10899. return "nil"
  10900. }
  10901. s := strings.Join([]string{`&LimitRangeSpec{`,
  10902. `Limits:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Limits), "LimitRangeItem", "LimitRangeItem", 1), `&`, ``, 1) + `,`,
  10903. `}`,
  10904. }, "")
  10905. return s
  10906. }
  10907. func (this *List) String() string {
  10908. if this == nil {
  10909. return "nil"
  10910. }
  10911. s := strings.Join([]string{`&List{`,
  10912. `ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "k8s_io_kubernetes_pkg_api_unversioned.ListMeta", 1), `&`, ``, 1) + `,`,
  10913. `Items:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Items), "RawExtension", "k8s_io_kubernetes_pkg_runtime.RawExtension", 1), `&`, ``, 1) + `,`,
  10914. `}`,
  10915. }, "")
  10916. return s
  10917. }
  10918. func (this *ListOptions) String() string {
  10919. if this == nil {
  10920. return "nil"
  10921. }
  10922. s := strings.Join([]string{`&ListOptions{`,
  10923. `LabelSelector:` + fmt.Sprintf("%v", this.LabelSelector) + `,`,
  10924. `FieldSelector:` + fmt.Sprintf("%v", this.FieldSelector) + `,`,
  10925. `Watch:` + fmt.Sprintf("%v", this.Watch) + `,`,
  10926. `ResourceVersion:` + fmt.Sprintf("%v", this.ResourceVersion) + `,`,
  10927. `TimeoutSeconds:` + valueToStringGenerated(this.TimeoutSeconds) + `,`,
  10928. `}`,
  10929. }, "")
  10930. return s
  10931. }
  10932. func (this *LoadBalancerIngress) String() string {
  10933. if this == nil {
  10934. return "nil"
  10935. }
  10936. s := strings.Join([]string{`&LoadBalancerIngress{`,
  10937. `IP:` + fmt.Sprintf("%v", this.IP) + `,`,
  10938. `Hostname:` + fmt.Sprintf("%v", this.Hostname) + `,`,
  10939. `}`,
  10940. }, "")
  10941. return s
  10942. }
  10943. func (this *LoadBalancerStatus) String() string {
  10944. if this == nil {
  10945. return "nil"
  10946. }
  10947. s := strings.Join([]string{`&LoadBalancerStatus{`,
  10948. `Ingress:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Ingress), "LoadBalancerIngress", "LoadBalancerIngress", 1), `&`, ``, 1) + `,`,
  10949. `}`,
  10950. }, "")
  10951. return s
  10952. }
  10953. func (this *LocalObjectReference) String() string {
  10954. if this == nil {
  10955. return "nil"
  10956. }
  10957. s := strings.Join([]string{`&LocalObjectReference{`,
  10958. `Name:` + fmt.Sprintf("%v", this.Name) + `,`,
  10959. `}`,
  10960. }, "")
  10961. return s
  10962. }
  10963. func (this *NFSVolumeSource) String() string {
  10964. if this == nil {
  10965. return "nil"
  10966. }
  10967. s := strings.Join([]string{`&NFSVolumeSource{`,
  10968. `Server:` + fmt.Sprintf("%v", this.Server) + `,`,
  10969. `Path:` + fmt.Sprintf("%v", this.Path) + `,`,
  10970. `ReadOnly:` + fmt.Sprintf("%v", this.ReadOnly) + `,`,
  10971. `}`,
  10972. }, "")
  10973. return s
  10974. }
  10975. func (this *Namespace) String() string {
  10976. if this == nil {
  10977. return "nil"
  10978. }
  10979. s := strings.Join([]string{`&Namespace{`,
  10980. `ObjectMeta:` + strings.Replace(strings.Replace(this.ObjectMeta.String(), "ObjectMeta", "ObjectMeta", 1), `&`, ``, 1) + `,`,
  10981. `Spec:` + strings.Replace(strings.Replace(this.Spec.String(), "NamespaceSpec", "NamespaceSpec", 1), `&`, ``, 1) + `,`,
  10982. `Status:` + strings.Replace(strings.Replace(this.Status.String(), "NamespaceStatus", "NamespaceStatus", 1), `&`, ``, 1) + `,`,
  10983. `}`,
  10984. }, "")
  10985. return s
  10986. }
  10987. func (this *NamespaceList) String() string {
  10988. if this == nil {
  10989. return "nil"
  10990. }
  10991. s := strings.Join([]string{`&NamespaceList{`,
  10992. `ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "k8s_io_kubernetes_pkg_api_unversioned.ListMeta", 1), `&`, ``, 1) + `,`,
  10993. `Items:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Items), "Namespace", "Namespace", 1), `&`, ``, 1) + `,`,
  10994. `}`,
  10995. }, "")
  10996. return s
  10997. }
  10998. func (this *NamespaceSpec) String() string {
  10999. if this == nil {
  11000. return "nil"
  11001. }
  11002. s := strings.Join([]string{`&NamespaceSpec{`,
  11003. `Finalizers:` + fmt.Sprintf("%v", this.Finalizers) + `,`,
  11004. `}`,
  11005. }, "")
  11006. return s
  11007. }
  11008. func (this *NamespaceStatus) String() string {
  11009. if this == nil {
  11010. return "nil"
  11011. }
  11012. s := strings.Join([]string{`&NamespaceStatus{`,
  11013. `Phase:` + fmt.Sprintf("%v", this.Phase) + `,`,
  11014. `}`,
  11015. }, "")
  11016. return s
  11017. }
  11018. func (this *Node) String() string {
  11019. if this == nil {
  11020. return "nil"
  11021. }
  11022. s := strings.Join([]string{`&Node{`,
  11023. `ObjectMeta:` + strings.Replace(strings.Replace(this.ObjectMeta.String(), "ObjectMeta", "ObjectMeta", 1), `&`, ``, 1) + `,`,
  11024. `Spec:` + strings.Replace(strings.Replace(this.Spec.String(), "NodeSpec", "NodeSpec", 1), `&`, ``, 1) + `,`,
  11025. `Status:` + strings.Replace(strings.Replace(this.Status.String(), "NodeStatus", "NodeStatus", 1), `&`, ``, 1) + `,`,
  11026. `}`,
  11027. }, "")
  11028. return s
  11029. }
  11030. func (this *NodeAddress) String() string {
  11031. if this == nil {
  11032. return "nil"
  11033. }
  11034. s := strings.Join([]string{`&NodeAddress{`,
  11035. `Type:` + fmt.Sprintf("%v", this.Type) + `,`,
  11036. `Address:` + fmt.Sprintf("%v", this.Address) + `,`,
  11037. `}`,
  11038. }, "")
  11039. return s
  11040. }
  11041. func (this *NodeAffinity) String() string {
  11042. if this == nil {
  11043. return "nil"
  11044. }
  11045. s := strings.Join([]string{`&NodeAffinity{`,
  11046. `RequiredDuringSchedulingIgnoredDuringExecution:` + strings.Replace(fmt.Sprintf("%v", this.RequiredDuringSchedulingIgnoredDuringExecution), "NodeSelector", "NodeSelector", 1) + `,`,
  11047. `PreferredDuringSchedulingIgnoredDuringExecution:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.PreferredDuringSchedulingIgnoredDuringExecution), "PreferredSchedulingTerm", "PreferredSchedulingTerm", 1), `&`, ``, 1) + `,`,
  11048. `}`,
  11049. }, "")
  11050. return s
  11051. }
  11052. func (this *NodeCondition) String() string {
  11053. if this == nil {
  11054. return "nil"
  11055. }
  11056. s := strings.Join([]string{`&NodeCondition{`,
  11057. `Type:` + fmt.Sprintf("%v", this.Type) + `,`,
  11058. `Status:` + fmt.Sprintf("%v", this.Status) + `,`,
  11059. `LastHeartbeatTime:` + strings.Replace(strings.Replace(this.LastHeartbeatTime.String(), "Time", "k8s_io_kubernetes_pkg_api_unversioned.Time", 1), `&`, ``, 1) + `,`,
  11060. `LastTransitionTime:` + strings.Replace(strings.Replace(this.LastTransitionTime.String(), "Time", "k8s_io_kubernetes_pkg_api_unversioned.Time", 1), `&`, ``, 1) + `,`,
  11061. `Reason:` + fmt.Sprintf("%v", this.Reason) + `,`,
  11062. `Message:` + fmt.Sprintf("%v", this.Message) + `,`,
  11063. `}`,
  11064. }, "")
  11065. return s
  11066. }
  11067. func (this *NodeDaemonEndpoints) String() string {
  11068. if this == nil {
  11069. return "nil"
  11070. }
  11071. s := strings.Join([]string{`&NodeDaemonEndpoints{`,
  11072. `KubeletEndpoint:` + strings.Replace(strings.Replace(this.KubeletEndpoint.String(), "DaemonEndpoint", "DaemonEndpoint", 1), `&`, ``, 1) + `,`,
  11073. `}`,
  11074. }, "")
  11075. return s
  11076. }
  11077. func (this *NodeList) String() string {
  11078. if this == nil {
  11079. return "nil"
  11080. }
  11081. s := strings.Join([]string{`&NodeList{`,
  11082. `ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "k8s_io_kubernetes_pkg_api_unversioned.ListMeta", 1), `&`, ``, 1) + `,`,
  11083. `Items:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Items), "Node", "Node", 1), `&`, ``, 1) + `,`,
  11084. `}`,
  11085. }, "")
  11086. return s
  11087. }
  11088. func (this *NodeProxyOptions) String() string {
  11089. if this == nil {
  11090. return "nil"
  11091. }
  11092. s := strings.Join([]string{`&NodeProxyOptions{`,
  11093. `Path:` + fmt.Sprintf("%v", this.Path) + `,`,
  11094. `}`,
  11095. }, "")
  11096. return s
  11097. }
  11098. func (this *NodeSelector) String() string {
  11099. if this == nil {
  11100. return "nil"
  11101. }
  11102. s := strings.Join([]string{`&NodeSelector{`,
  11103. `NodeSelectorTerms:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.NodeSelectorTerms), "NodeSelectorTerm", "NodeSelectorTerm", 1), `&`, ``, 1) + `,`,
  11104. `}`,
  11105. }, "")
  11106. return s
  11107. }
  11108. func (this *NodeSelectorRequirement) String() string {
  11109. if this == nil {
  11110. return "nil"
  11111. }
  11112. s := strings.Join([]string{`&NodeSelectorRequirement{`,
  11113. `Key:` + fmt.Sprintf("%v", this.Key) + `,`,
  11114. `Operator:` + fmt.Sprintf("%v", this.Operator) + `,`,
  11115. `Values:` + fmt.Sprintf("%v", this.Values) + `,`,
  11116. `}`,
  11117. }, "")
  11118. return s
  11119. }
  11120. func (this *NodeSelectorTerm) String() string {
  11121. if this == nil {
  11122. return "nil"
  11123. }
  11124. s := strings.Join([]string{`&NodeSelectorTerm{`,
  11125. `MatchExpressions:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.MatchExpressions), "NodeSelectorRequirement", "NodeSelectorRequirement", 1), `&`, ``, 1) + `,`,
  11126. `}`,
  11127. }, "")
  11128. return s
  11129. }
  11130. func (this *NodeSpec) String() string {
  11131. if this == nil {
  11132. return "nil"
  11133. }
  11134. s := strings.Join([]string{`&NodeSpec{`,
  11135. `PodCIDR:` + fmt.Sprintf("%v", this.PodCIDR) + `,`,
  11136. `ExternalID:` + fmt.Sprintf("%v", this.ExternalID) + `,`,
  11137. `ProviderID:` + fmt.Sprintf("%v", this.ProviderID) + `,`,
  11138. `Unschedulable:` + fmt.Sprintf("%v", this.Unschedulable) + `,`,
  11139. `}`,
  11140. }, "")
  11141. return s
  11142. }
  11143. func (this *NodeStatus) String() string {
  11144. if this == nil {
  11145. return "nil"
  11146. }
  11147. keysForCapacity := make([]string, 0, len(this.Capacity))
  11148. for k := range this.Capacity {
  11149. keysForCapacity = append(keysForCapacity, string(k))
  11150. }
  11151. github_com_gogo_protobuf_sortkeys.Strings(keysForCapacity)
  11152. mapStringForCapacity := "ResourceList{"
  11153. for _, k := range keysForCapacity {
  11154. mapStringForCapacity += fmt.Sprintf("%v: %v,", k, this.Capacity[ResourceName(k)])
  11155. }
  11156. mapStringForCapacity += "}"
  11157. keysForAllocatable := make([]string, 0, len(this.Allocatable))
  11158. for k := range this.Allocatable {
  11159. keysForAllocatable = append(keysForAllocatable, string(k))
  11160. }
  11161. github_com_gogo_protobuf_sortkeys.Strings(keysForAllocatable)
  11162. mapStringForAllocatable := "ResourceList{"
  11163. for _, k := range keysForAllocatable {
  11164. mapStringForAllocatable += fmt.Sprintf("%v: %v,", k, this.Allocatable[ResourceName(k)])
  11165. }
  11166. mapStringForAllocatable += "}"
  11167. s := strings.Join([]string{`&NodeStatus{`,
  11168. `Capacity:` + mapStringForCapacity + `,`,
  11169. `Allocatable:` + mapStringForAllocatable + `,`,
  11170. `Phase:` + fmt.Sprintf("%v", this.Phase) + `,`,
  11171. `Conditions:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Conditions), "NodeCondition", "NodeCondition", 1), `&`, ``, 1) + `,`,
  11172. `Addresses:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Addresses), "NodeAddress", "NodeAddress", 1), `&`, ``, 1) + `,`,
  11173. `DaemonEndpoints:` + strings.Replace(strings.Replace(this.DaemonEndpoints.String(), "NodeDaemonEndpoints", "NodeDaemonEndpoints", 1), `&`, ``, 1) + `,`,
  11174. `NodeInfo:` + strings.Replace(strings.Replace(this.NodeInfo.String(), "NodeSystemInfo", "NodeSystemInfo", 1), `&`, ``, 1) + `,`,
  11175. `Images:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Images), "ContainerImage", "ContainerImage", 1), `&`, ``, 1) + `,`,
  11176. `VolumesInUse:` + fmt.Sprintf("%v", this.VolumesInUse) + `,`,
  11177. `VolumesAttached:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.VolumesAttached), "AttachedVolume", "AttachedVolume", 1), `&`, ``, 1) + `,`,
  11178. `}`,
  11179. }, "")
  11180. return s
  11181. }
  11182. func (this *NodeSystemInfo) String() string {
  11183. if this == nil {
  11184. return "nil"
  11185. }
  11186. s := strings.Join([]string{`&NodeSystemInfo{`,
  11187. `MachineID:` + fmt.Sprintf("%v", this.MachineID) + `,`,
  11188. `SystemUUID:` + fmt.Sprintf("%v", this.SystemUUID) + `,`,
  11189. `BootID:` + fmt.Sprintf("%v", this.BootID) + `,`,
  11190. `KernelVersion:` + fmt.Sprintf("%v", this.KernelVersion) + `,`,
  11191. `OSImage:` + fmt.Sprintf("%v", this.OSImage) + `,`,
  11192. `ContainerRuntimeVersion:` + fmt.Sprintf("%v", this.ContainerRuntimeVersion) + `,`,
  11193. `KubeletVersion:` + fmt.Sprintf("%v", this.KubeletVersion) + `,`,
  11194. `KubeProxyVersion:` + fmt.Sprintf("%v", this.KubeProxyVersion) + `,`,
  11195. `OperatingSystem:` + fmt.Sprintf("%v", this.OperatingSystem) + `,`,
  11196. `Architecture:` + fmt.Sprintf("%v", this.Architecture) + `,`,
  11197. `}`,
  11198. }, "")
  11199. return s
  11200. }
  11201. func (this *ObjectFieldSelector) String() string {
  11202. if this == nil {
  11203. return "nil"
  11204. }
  11205. s := strings.Join([]string{`&ObjectFieldSelector{`,
  11206. `APIVersion:` + fmt.Sprintf("%v", this.APIVersion) + `,`,
  11207. `FieldPath:` + fmt.Sprintf("%v", this.FieldPath) + `,`,
  11208. `}`,
  11209. }, "")
  11210. return s
  11211. }
  11212. func (this *ObjectMeta) String() string {
  11213. if this == nil {
  11214. return "nil"
  11215. }
  11216. keysForLabels := make([]string, 0, len(this.Labels))
  11217. for k := range this.Labels {
  11218. keysForLabels = append(keysForLabels, k)
  11219. }
  11220. github_com_gogo_protobuf_sortkeys.Strings(keysForLabels)
  11221. mapStringForLabels := "map[string]string{"
  11222. for _, k := range keysForLabels {
  11223. mapStringForLabels += fmt.Sprintf("%v: %v,", k, this.Labels[k])
  11224. }
  11225. mapStringForLabels += "}"
  11226. keysForAnnotations := make([]string, 0, len(this.Annotations))
  11227. for k := range this.Annotations {
  11228. keysForAnnotations = append(keysForAnnotations, k)
  11229. }
  11230. github_com_gogo_protobuf_sortkeys.Strings(keysForAnnotations)
  11231. mapStringForAnnotations := "map[string]string{"
  11232. for _, k := range keysForAnnotations {
  11233. mapStringForAnnotations += fmt.Sprintf("%v: %v,", k, this.Annotations[k])
  11234. }
  11235. mapStringForAnnotations += "}"
  11236. s := strings.Join([]string{`&ObjectMeta{`,
  11237. `Name:` + fmt.Sprintf("%v", this.Name) + `,`,
  11238. `GenerateName:` + fmt.Sprintf("%v", this.GenerateName) + `,`,
  11239. `Namespace:` + fmt.Sprintf("%v", this.Namespace) + `,`,
  11240. `SelfLink:` + fmt.Sprintf("%v", this.SelfLink) + `,`,
  11241. `UID:` + fmt.Sprintf("%v", this.UID) + `,`,
  11242. `ResourceVersion:` + fmt.Sprintf("%v", this.ResourceVersion) + `,`,
  11243. `Generation:` + fmt.Sprintf("%v", this.Generation) + `,`,
  11244. `CreationTimestamp:` + strings.Replace(strings.Replace(this.CreationTimestamp.String(), "Time", "k8s_io_kubernetes_pkg_api_unversioned.Time", 1), `&`, ``, 1) + `,`,
  11245. `DeletionTimestamp:` + strings.Replace(fmt.Sprintf("%v", this.DeletionTimestamp), "Time", "k8s_io_kubernetes_pkg_api_unversioned.Time", 1) + `,`,
  11246. `DeletionGracePeriodSeconds:` + valueToStringGenerated(this.DeletionGracePeriodSeconds) + `,`,
  11247. `Labels:` + mapStringForLabels + `,`,
  11248. `Annotations:` + mapStringForAnnotations + `,`,
  11249. `OwnerReferences:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.OwnerReferences), "OwnerReference", "OwnerReference", 1), `&`, ``, 1) + `,`,
  11250. `Finalizers:` + fmt.Sprintf("%v", this.Finalizers) + `,`,
  11251. `ClusterName:` + fmt.Sprintf("%v", this.ClusterName) + `,`,
  11252. `}`,
  11253. }, "")
  11254. return s
  11255. }
  11256. func (this *ObjectReference) String() string {
  11257. if this == nil {
  11258. return "nil"
  11259. }
  11260. s := strings.Join([]string{`&ObjectReference{`,
  11261. `Kind:` + fmt.Sprintf("%v", this.Kind) + `,`,
  11262. `Namespace:` + fmt.Sprintf("%v", this.Namespace) + `,`,
  11263. `Name:` + fmt.Sprintf("%v", this.Name) + `,`,
  11264. `UID:` + fmt.Sprintf("%v", this.UID) + `,`,
  11265. `APIVersion:` + fmt.Sprintf("%v", this.APIVersion) + `,`,
  11266. `ResourceVersion:` + fmt.Sprintf("%v", this.ResourceVersion) + `,`,
  11267. `FieldPath:` + fmt.Sprintf("%v", this.FieldPath) + `,`,
  11268. `}`,
  11269. }, "")
  11270. return s
  11271. }
  11272. func (this *OwnerReference) String() string {
  11273. if this == nil {
  11274. return "nil"
  11275. }
  11276. s := strings.Join([]string{`&OwnerReference{`,
  11277. `Kind:` + fmt.Sprintf("%v", this.Kind) + `,`,
  11278. `Name:` + fmt.Sprintf("%v", this.Name) + `,`,
  11279. `UID:` + fmt.Sprintf("%v", this.UID) + `,`,
  11280. `APIVersion:` + fmt.Sprintf("%v", this.APIVersion) + `,`,
  11281. `Controller:` + valueToStringGenerated(this.Controller) + `,`,
  11282. `}`,
  11283. }, "")
  11284. return s
  11285. }
  11286. func (this *PersistentVolume) String() string {
  11287. if this == nil {
  11288. return "nil"
  11289. }
  11290. s := strings.Join([]string{`&PersistentVolume{`,
  11291. `ObjectMeta:` + strings.Replace(strings.Replace(this.ObjectMeta.String(), "ObjectMeta", "ObjectMeta", 1), `&`, ``, 1) + `,`,
  11292. `Spec:` + strings.Replace(strings.Replace(this.Spec.String(), "PersistentVolumeSpec", "PersistentVolumeSpec", 1), `&`, ``, 1) + `,`,
  11293. `Status:` + strings.Replace(strings.Replace(this.Status.String(), "PersistentVolumeStatus", "PersistentVolumeStatus", 1), `&`, ``, 1) + `,`,
  11294. `}`,
  11295. }, "")
  11296. return s
  11297. }
  11298. func (this *PersistentVolumeClaim) String() string {
  11299. if this == nil {
  11300. return "nil"
  11301. }
  11302. s := strings.Join([]string{`&PersistentVolumeClaim{`,
  11303. `ObjectMeta:` + strings.Replace(strings.Replace(this.ObjectMeta.String(), "ObjectMeta", "ObjectMeta", 1), `&`, ``, 1) + `,`,
  11304. `Spec:` + strings.Replace(strings.Replace(this.Spec.String(), "PersistentVolumeClaimSpec", "PersistentVolumeClaimSpec", 1), `&`, ``, 1) + `,`,
  11305. `Status:` + strings.Replace(strings.Replace(this.Status.String(), "PersistentVolumeClaimStatus", "PersistentVolumeClaimStatus", 1), `&`, ``, 1) + `,`,
  11306. `}`,
  11307. }, "")
  11308. return s
  11309. }
  11310. func (this *PersistentVolumeClaimList) String() string {
  11311. if this == nil {
  11312. return "nil"
  11313. }
  11314. s := strings.Join([]string{`&PersistentVolumeClaimList{`,
  11315. `ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "k8s_io_kubernetes_pkg_api_unversioned.ListMeta", 1), `&`, ``, 1) + `,`,
  11316. `Items:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Items), "PersistentVolumeClaim", "PersistentVolumeClaim", 1), `&`, ``, 1) + `,`,
  11317. `}`,
  11318. }, "")
  11319. return s
  11320. }
  11321. func (this *PersistentVolumeClaimSpec) String() string {
  11322. if this == nil {
  11323. return "nil"
  11324. }
  11325. s := strings.Join([]string{`&PersistentVolumeClaimSpec{`,
  11326. `AccessModes:` + fmt.Sprintf("%v", this.AccessModes) + `,`,
  11327. `Resources:` + strings.Replace(strings.Replace(this.Resources.String(), "ResourceRequirements", "ResourceRequirements", 1), `&`, ``, 1) + `,`,
  11328. `VolumeName:` + fmt.Sprintf("%v", this.VolumeName) + `,`,
  11329. `Selector:` + strings.Replace(fmt.Sprintf("%v", this.Selector), "LabelSelector", "k8s_io_kubernetes_pkg_api_unversioned.LabelSelector", 1) + `,`,
  11330. `}`,
  11331. }, "")
  11332. return s
  11333. }
  11334. func (this *PersistentVolumeClaimStatus) String() string {
  11335. if this == nil {
  11336. return "nil"
  11337. }
  11338. keysForCapacity := make([]string, 0, len(this.Capacity))
  11339. for k := range this.Capacity {
  11340. keysForCapacity = append(keysForCapacity, string(k))
  11341. }
  11342. github_com_gogo_protobuf_sortkeys.Strings(keysForCapacity)
  11343. mapStringForCapacity := "ResourceList{"
  11344. for _, k := range keysForCapacity {
  11345. mapStringForCapacity += fmt.Sprintf("%v: %v,", k, this.Capacity[ResourceName(k)])
  11346. }
  11347. mapStringForCapacity += "}"
  11348. s := strings.Join([]string{`&PersistentVolumeClaimStatus{`,
  11349. `Phase:` + fmt.Sprintf("%v", this.Phase) + `,`,
  11350. `AccessModes:` + fmt.Sprintf("%v", this.AccessModes) + `,`,
  11351. `Capacity:` + mapStringForCapacity + `,`,
  11352. `}`,
  11353. }, "")
  11354. return s
  11355. }
  11356. func (this *PersistentVolumeClaimVolumeSource) String() string {
  11357. if this == nil {
  11358. return "nil"
  11359. }
  11360. s := strings.Join([]string{`&PersistentVolumeClaimVolumeSource{`,
  11361. `ClaimName:` + fmt.Sprintf("%v", this.ClaimName) + `,`,
  11362. `ReadOnly:` + fmt.Sprintf("%v", this.ReadOnly) + `,`,
  11363. `}`,
  11364. }, "")
  11365. return s
  11366. }
  11367. func (this *PersistentVolumeList) String() string {
  11368. if this == nil {
  11369. return "nil"
  11370. }
  11371. s := strings.Join([]string{`&PersistentVolumeList{`,
  11372. `ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "k8s_io_kubernetes_pkg_api_unversioned.ListMeta", 1), `&`, ``, 1) + `,`,
  11373. `Items:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Items), "PersistentVolume", "PersistentVolume", 1), `&`, ``, 1) + `,`,
  11374. `}`,
  11375. }, "")
  11376. return s
  11377. }
  11378. func (this *PersistentVolumeSource) String() string {
  11379. if this == nil {
  11380. return "nil"
  11381. }
  11382. s := strings.Join([]string{`&PersistentVolumeSource{`,
  11383. `GCEPersistentDisk:` + strings.Replace(fmt.Sprintf("%v", this.GCEPersistentDisk), "GCEPersistentDiskVolumeSource", "GCEPersistentDiskVolumeSource", 1) + `,`,
  11384. `AWSElasticBlockStore:` + strings.Replace(fmt.Sprintf("%v", this.AWSElasticBlockStore), "AWSElasticBlockStoreVolumeSource", "AWSElasticBlockStoreVolumeSource", 1) + `,`,
  11385. `HostPath:` + strings.Replace(fmt.Sprintf("%v", this.HostPath), "HostPathVolumeSource", "HostPathVolumeSource", 1) + `,`,
  11386. `Glusterfs:` + strings.Replace(fmt.Sprintf("%v", this.Glusterfs), "GlusterfsVolumeSource", "GlusterfsVolumeSource", 1) + `,`,
  11387. `NFS:` + strings.Replace(fmt.Sprintf("%v", this.NFS), "NFSVolumeSource", "NFSVolumeSource", 1) + `,`,
  11388. `RBD:` + strings.Replace(fmt.Sprintf("%v", this.RBD), "RBDVolumeSource", "RBDVolumeSource", 1) + `,`,
  11389. `ISCSI:` + strings.Replace(fmt.Sprintf("%v", this.ISCSI), "ISCSIVolumeSource", "ISCSIVolumeSource", 1) + `,`,
  11390. `Cinder:` + strings.Replace(fmt.Sprintf("%v", this.Cinder), "CinderVolumeSource", "CinderVolumeSource", 1) + `,`,
  11391. `CephFS:` + strings.Replace(fmt.Sprintf("%v", this.CephFS), "CephFSVolumeSource", "CephFSVolumeSource", 1) + `,`,
  11392. `FC:` + strings.Replace(fmt.Sprintf("%v", this.FC), "FCVolumeSource", "FCVolumeSource", 1) + `,`,
  11393. `Flocker:` + strings.Replace(fmt.Sprintf("%v", this.Flocker), "FlockerVolumeSource", "FlockerVolumeSource", 1) + `,`,
  11394. `FlexVolume:` + strings.Replace(fmt.Sprintf("%v", this.FlexVolume), "FlexVolumeSource", "FlexVolumeSource", 1) + `,`,
  11395. `AzureFile:` + strings.Replace(fmt.Sprintf("%v", this.AzureFile), "AzureFileVolumeSource", "AzureFileVolumeSource", 1) + `,`,
  11396. `VsphereVolume:` + strings.Replace(fmt.Sprintf("%v", this.VsphereVolume), "VsphereVirtualDiskVolumeSource", "VsphereVirtualDiskVolumeSource", 1) + `,`,
  11397. `Quobyte:` + strings.Replace(fmt.Sprintf("%v", this.Quobyte), "QuobyteVolumeSource", "QuobyteVolumeSource", 1) + `,`,
  11398. `AzureDisk:` + strings.Replace(fmt.Sprintf("%v", this.AzureDisk), "AzureDiskVolumeSource", "AzureDiskVolumeSource", 1) + `,`,
  11399. `}`,
  11400. }, "")
  11401. return s
  11402. }
  11403. func (this *PersistentVolumeSpec) String() string {
  11404. if this == nil {
  11405. return "nil"
  11406. }
  11407. keysForCapacity := make([]string, 0, len(this.Capacity))
  11408. for k := range this.Capacity {
  11409. keysForCapacity = append(keysForCapacity, string(k))
  11410. }
  11411. github_com_gogo_protobuf_sortkeys.Strings(keysForCapacity)
  11412. mapStringForCapacity := "ResourceList{"
  11413. for _, k := range keysForCapacity {
  11414. mapStringForCapacity += fmt.Sprintf("%v: %v,", k, this.Capacity[ResourceName(k)])
  11415. }
  11416. mapStringForCapacity += "}"
  11417. s := strings.Join([]string{`&PersistentVolumeSpec{`,
  11418. `Capacity:` + mapStringForCapacity + `,`,
  11419. `PersistentVolumeSource:` + strings.Replace(strings.Replace(this.PersistentVolumeSource.String(), "PersistentVolumeSource", "PersistentVolumeSource", 1), `&`, ``, 1) + `,`,
  11420. `AccessModes:` + fmt.Sprintf("%v", this.AccessModes) + `,`,
  11421. `ClaimRef:` + strings.Replace(fmt.Sprintf("%v", this.ClaimRef), "ObjectReference", "ObjectReference", 1) + `,`,
  11422. `PersistentVolumeReclaimPolicy:` + fmt.Sprintf("%v", this.PersistentVolumeReclaimPolicy) + `,`,
  11423. `}`,
  11424. }, "")
  11425. return s
  11426. }
  11427. func (this *PersistentVolumeStatus) String() string {
  11428. if this == nil {
  11429. return "nil"
  11430. }
  11431. s := strings.Join([]string{`&PersistentVolumeStatus{`,
  11432. `Phase:` + fmt.Sprintf("%v", this.Phase) + `,`,
  11433. `Message:` + fmt.Sprintf("%v", this.Message) + `,`,
  11434. `Reason:` + fmt.Sprintf("%v", this.Reason) + `,`,
  11435. `}`,
  11436. }, "")
  11437. return s
  11438. }
  11439. func (this *Pod) String() string {
  11440. if this == nil {
  11441. return "nil"
  11442. }
  11443. s := strings.Join([]string{`&Pod{`,
  11444. `ObjectMeta:` + strings.Replace(strings.Replace(this.ObjectMeta.String(), "ObjectMeta", "ObjectMeta", 1), `&`, ``, 1) + `,`,
  11445. `Spec:` + strings.Replace(strings.Replace(this.Spec.String(), "PodSpec", "PodSpec", 1), `&`, ``, 1) + `,`,
  11446. `Status:` + strings.Replace(strings.Replace(this.Status.String(), "PodStatus", "PodStatus", 1), `&`, ``, 1) + `,`,
  11447. `}`,
  11448. }, "")
  11449. return s
  11450. }
  11451. func (this *PodAffinity) String() string {
  11452. if this == nil {
  11453. return "nil"
  11454. }
  11455. s := strings.Join([]string{`&PodAffinity{`,
  11456. `RequiredDuringSchedulingIgnoredDuringExecution:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.RequiredDuringSchedulingIgnoredDuringExecution), "PodAffinityTerm", "PodAffinityTerm", 1), `&`, ``, 1) + `,`,
  11457. `PreferredDuringSchedulingIgnoredDuringExecution:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.PreferredDuringSchedulingIgnoredDuringExecution), "WeightedPodAffinityTerm", "WeightedPodAffinityTerm", 1), `&`, ``, 1) + `,`,
  11458. `}`,
  11459. }, "")
  11460. return s
  11461. }
  11462. func (this *PodAffinityTerm) String() string {
  11463. if this == nil {
  11464. return "nil"
  11465. }
  11466. s := strings.Join([]string{`&PodAffinityTerm{`,
  11467. `LabelSelector:` + strings.Replace(fmt.Sprintf("%v", this.LabelSelector), "LabelSelector", "k8s_io_kubernetes_pkg_api_unversioned.LabelSelector", 1) + `,`,
  11468. `Namespaces:` + fmt.Sprintf("%v", this.Namespaces) + `,`,
  11469. `TopologyKey:` + fmt.Sprintf("%v", this.TopologyKey) + `,`,
  11470. `}`,
  11471. }, "")
  11472. return s
  11473. }
  11474. func (this *PodAntiAffinity) String() string {
  11475. if this == nil {
  11476. return "nil"
  11477. }
  11478. s := strings.Join([]string{`&PodAntiAffinity{`,
  11479. `RequiredDuringSchedulingIgnoredDuringExecution:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.RequiredDuringSchedulingIgnoredDuringExecution), "PodAffinityTerm", "PodAffinityTerm", 1), `&`, ``, 1) + `,`,
  11480. `PreferredDuringSchedulingIgnoredDuringExecution:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.PreferredDuringSchedulingIgnoredDuringExecution), "WeightedPodAffinityTerm", "WeightedPodAffinityTerm", 1), `&`, ``, 1) + `,`,
  11481. `}`,
  11482. }, "")
  11483. return s
  11484. }
  11485. func (this *PodAttachOptions) String() string {
  11486. if this == nil {
  11487. return "nil"
  11488. }
  11489. s := strings.Join([]string{`&PodAttachOptions{`,
  11490. `Stdin:` + fmt.Sprintf("%v", this.Stdin) + `,`,
  11491. `Stdout:` + fmt.Sprintf("%v", this.Stdout) + `,`,
  11492. `Stderr:` + fmt.Sprintf("%v", this.Stderr) + `,`,
  11493. `TTY:` + fmt.Sprintf("%v", this.TTY) + `,`,
  11494. `Container:` + fmt.Sprintf("%v", this.Container) + `,`,
  11495. `}`,
  11496. }, "")
  11497. return s
  11498. }
  11499. func (this *PodCondition) String() string {
  11500. if this == nil {
  11501. return "nil"
  11502. }
  11503. s := strings.Join([]string{`&PodCondition{`,
  11504. `Type:` + fmt.Sprintf("%v", this.Type) + `,`,
  11505. `Status:` + fmt.Sprintf("%v", this.Status) + `,`,
  11506. `LastProbeTime:` + strings.Replace(strings.Replace(this.LastProbeTime.String(), "Time", "k8s_io_kubernetes_pkg_api_unversioned.Time", 1), `&`, ``, 1) + `,`,
  11507. `LastTransitionTime:` + strings.Replace(strings.Replace(this.LastTransitionTime.String(), "Time", "k8s_io_kubernetes_pkg_api_unversioned.Time", 1), `&`, ``, 1) + `,`,
  11508. `Reason:` + fmt.Sprintf("%v", this.Reason) + `,`,
  11509. `Message:` + fmt.Sprintf("%v", this.Message) + `,`,
  11510. `}`,
  11511. }, "")
  11512. return s
  11513. }
  11514. func (this *PodExecOptions) String() string {
  11515. if this == nil {
  11516. return "nil"
  11517. }
  11518. s := strings.Join([]string{`&PodExecOptions{`,
  11519. `Stdin:` + fmt.Sprintf("%v", this.Stdin) + `,`,
  11520. `Stdout:` + fmt.Sprintf("%v", this.Stdout) + `,`,
  11521. `Stderr:` + fmt.Sprintf("%v", this.Stderr) + `,`,
  11522. `TTY:` + fmt.Sprintf("%v", this.TTY) + `,`,
  11523. `Container:` + fmt.Sprintf("%v", this.Container) + `,`,
  11524. `Command:` + fmt.Sprintf("%v", this.Command) + `,`,
  11525. `}`,
  11526. }, "")
  11527. return s
  11528. }
  11529. func (this *PodList) String() string {
  11530. if this == nil {
  11531. return "nil"
  11532. }
  11533. s := strings.Join([]string{`&PodList{`,
  11534. `ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "k8s_io_kubernetes_pkg_api_unversioned.ListMeta", 1), `&`, ``, 1) + `,`,
  11535. `Items:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Items), "Pod", "Pod", 1), `&`, ``, 1) + `,`,
  11536. `}`,
  11537. }, "")
  11538. return s
  11539. }
  11540. func (this *PodLogOptions) String() string {
  11541. if this == nil {
  11542. return "nil"
  11543. }
  11544. s := strings.Join([]string{`&PodLogOptions{`,
  11545. `Container:` + fmt.Sprintf("%v", this.Container) + `,`,
  11546. `Follow:` + fmt.Sprintf("%v", this.Follow) + `,`,
  11547. `Previous:` + fmt.Sprintf("%v", this.Previous) + `,`,
  11548. `SinceSeconds:` + valueToStringGenerated(this.SinceSeconds) + `,`,
  11549. `SinceTime:` + strings.Replace(fmt.Sprintf("%v", this.SinceTime), "Time", "k8s_io_kubernetes_pkg_api_unversioned.Time", 1) + `,`,
  11550. `Timestamps:` + fmt.Sprintf("%v", this.Timestamps) + `,`,
  11551. `TailLines:` + valueToStringGenerated(this.TailLines) + `,`,
  11552. `LimitBytes:` + valueToStringGenerated(this.LimitBytes) + `,`,
  11553. `}`,
  11554. }, "")
  11555. return s
  11556. }
  11557. func (this *PodProxyOptions) String() string {
  11558. if this == nil {
  11559. return "nil"
  11560. }
  11561. s := strings.Join([]string{`&PodProxyOptions{`,
  11562. `Path:` + fmt.Sprintf("%v", this.Path) + `,`,
  11563. `}`,
  11564. }, "")
  11565. return s
  11566. }
  11567. func (this *PodSecurityContext) String() string {
  11568. if this == nil {
  11569. return "nil"
  11570. }
  11571. s := strings.Join([]string{`&PodSecurityContext{`,
  11572. `SELinuxOptions:` + strings.Replace(fmt.Sprintf("%v", this.SELinuxOptions), "SELinuxOptions", "SELinuxOptions", 1) + `,`,
  11573. `RunAsUser:` + valueToStringGenerated(this.RunAsUser) + `,`,
  11574. `RunAsNonRoot:` + valueToStringGenerated(this.RunAsNonRoot) + `,`,
  11575. `SupplementalGroups:` + fmt.Sprintf("%v", this.SupplementalGroups) + `,`,
  11576. `FSGroup:` + valueToStringGenerated(this.FSGroup) + `,`,
  11577. `}`,
  11578. }, "")
  11579. return s
  11580. }
  11581. func (this *PodSignature) String() string {
  11582. if this == nil {
  11583. return "nil"
  11584. }
  11585. s := strings.Join([]string{`&PodSignature{`,
  11586. `PodController:` + strings.Replace(fmt.Sprintf("%v", this.PodController), "OwnerReference", "OwnerReference", 1) + `,`,
  11587. `}`,
  11588. }, "")
  11589. return s
  11590. }
  11591. func (this *PodSpec) String() string {
  11592. if this == nil {
  11593. return "nil"
  11594. }
  11595. keysForNodeSelector := make([]string, 0, len(this.NodeSelector))
  11596. for k := range this.NodeSelector {
  11597. keysForNodeSelector = append(keysForNodeSelector, k)
  11598. }
  11599. github_com_gogo_protobuf_sortkeys.Strings(keysForNodeSelector)
  11600. mapStringForNodeSelector := "map[string]string{"
  11601. for _, k := range keysForNodeSelector {
  11602. mapStringForNodeSelector += fmt.Sprintf("%v: %v,", k, this.NodeSelector[k])
  11603. }
  11604. mapStringForNodeSelector += "}"
  11605. s := strings.Join([]string{`&PodSpec{`,
  11606. `Volumes:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Volumes), "Volume", "Volume", 1), `&`, ``, 1) + `,`,
  11607. `Containers:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Containers), "Container", "Container", 1), `&`, ``, 1) + `,`,
  11608. `RestartPolicy:` + fmt.Sprintf("%v", this.RestartPolicy) + `,`,
  11609. `TerminationGracePeriodSeconds:` + valueToStringGenerated(this.TerminationGracePeriodSeconds) + `,`,
  11610. `ActiveDeadlineSeconds:` + valueToStringGenerated(this.ActiveDeadlineSeconds) + `,`,
  11611. `DNSPolicy:` + fmt.Sprintf("%v", this.DNSPolicy) + `,`,
  11612. `NodeSelector:` + mapStringForNodeSelector + `,`,
  11613. `ServiceAccountName:` + fmt.Sprintf("%v", this.ServiceAccountName) + `,`,
  11614. `DeprecatedServiceAccount:` + fmt.Sprintf("%v", this.DeprecatedServiceAccount) + `,`,
  11615. `NodeName:` + fmt.Sprintf("%v", this.NodeName) + `,`,
  11616. `HostNetwork:` + fmt.Sprintf("%v", this.HostNetwork) + `,`,
  11617. `HostPID:` + fmt.Sprintf("%v", this.HostPID) + `,`,
  11618. `HostIPC:` + fmt.Sprintf("%v", this.HostIPC) + `,`,
  11619. `SecurityContext:` + strings.Replace(fmt.Sprintf("%v", this.SecurityContext), "PodSecurityContext", "PodSecurityContext", 1) + `,`,
  11620. `ImagePullSecrets:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.ImagePullSecrets), "LocalObjectReference", "LocalObjectReference", 1), `&`, ``, 1) + `,`,
  11621. `Hostname:` + fmt.Sprintf("%v", this.Hostname) + `,`,
  11622. `Subdomain:` + fmt.Sprintf("%v", this.Subdomain) + `,`,
  11623. `}`,
  11624. }, "")
  11625. return s
  11626. }
  11627. func (this *PodStatus) String() string {
  11628. if this == nil {
  11629. return "nil"
  11630. }
  11631. s := strings.Join([]string{`&PodStatus{`,
  11632. `Phase:` + fmt.Sprintf("%v", this.Phase) + `,`,
  11633. `Conditions:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Conditions), "PodCondition", "PodCondition", 1), `&`, ``, 1) + `,`,
  11634. `Message:` + fmt.Sprintf("%v", this.Message) + `,`,
  11635. `Reason:` + fmt.Sprintf("%v", this.Reason) + `,`,
  11636. `HostIP:` + fmt.Sprintf("%v", this.HostIP) + `,`,
  11637. `PodIP:` + fmt.Sprintf("%v", this.PodIP) + `,`,
  11638. `StartTime:` + strings.Replace(fmt.Sprintf("%v", this.StartTime), "Time", "k8s_io_kubernetes_pkg_api_unversioned.Time", 1) + `,`,
  11639. `ContainerStatuses:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.ContainerStatuses), "ContainerStatus", "ContainerStatus", 1), `&`, ``, 1) + `,`,
  11640. `}`,
  11641. }, "")
  11642. return s
  11643. }
  11644. func (this *PodStatusResult) String() string {
  11645. if this == nil {
  11646. return "nil"
  11647. }
  11648. s := strings.Join([]string{`&PodStatusResult{`,
  11649. `ObjectMeta:` + strings.Replace(strings.Replace(this.ObjectMeta.String(), "ObjectMeta", "ObjectMeta", 1), `&`, ``, 1) + `,`,
  11650. `Status:` + strings.Replace(strings.Replace(this.Status.String(), "PodStatus", "PodStatus", 1), `&`, ``, 1) + `,`,
  11651. `}`,
  11652. }, "")
  11653. return s
  11654. }
  11655. func (this *PodTemplate) String() string {
  11656. if this == nil {
  11657. return "nil"
  11658. }
  11659. s := strings.Join([]string{`&PodTemplate{`,
  11660. `ObjectMeta:` + strings.Replace(strings.Replace(this.ObjectMeta.String(), "ObjectMeta", "ObjectMeta", 1), `&`, ``, 1) + `,`,
  11661. `Template:` + strings.Replace(strings.Replace(this.Template.String(), "PodTemplateSpec", "PodTemplateSpec", 1), `&`, ``, 1) + `,`,
  11662. `}`,
  11663. }, "")
  11664. return s
  11665. }
  11666. func (this *PodTemplateList) String() string {
  11667. if this == nil {
  11668. return "nil"
  11669. }
  11670. s := strings.Join([]string{`&PodTemplateList{`,
  11671. `ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "k8s_io_kubernetes_pkg_api_unversioned.ListMeta", 1), `&`, ``, 1) + `,`,
  11672. `Items:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Items), "PodTemplate", "PodTemplate", 1), `&`, ``, 1) + `,`,
  11673. `}`,
  11674. }, "")
  11675. return s
  11676. }
  11677. func (this *PodTemplateSpec) String() string {
  11678. if this == nil {
  11679. return "nil"
  11680. }
  11681. s := strings.Join([]string{`&PodTemplateSpec{`,
  11682. `ObjectMeta:` + strings.Replace(strings.Replace(this.ObjectMeta.String(), "ObjectMeta", "ObjectMeta", 1), `&`, ``, 1) + `,`,
  11683. `Spec:` + strings.Replace(strings.Replace(this.Spec.String(), "PodSpec", "PodSpec", 1), `&`, ``, 1) + `,`,
  11684. `}`,
  11685. }, "")
  11686. return s
  11687. }
  11688. func (this *Preconditions) String() string {
  11689. if this == nil {
  11690. return "nil"
  11691. }
  11692. s := strings.Join([]string{`&Preconditions{`,
  11693. `UID:` + valueToStringGenerated(this.UID) + `,`,
  11694. `}`,
  11695. }, "")
  11696. return s
  11697. }
  11698. func (this *PreferAvoidPodsEntry) String() string {
  11699. if this == nil {
  11700. return "nil"
  11701. }
  11702. s := strings.Join([]string{`&PreferAvoidPodsEntry{`,
  11703. `PodSignature:` + strings.Replace(strings.Replace(this.PodSignature.String(), "PodSignature", "PodSignature", 1), `&`, ``, 1) + `,`,
  11704. `EvictionTime:` + strings.Replace(strings.Replace(this.EvictionTime.String(), "Time", "k8s_io_kubernetes_pkg_api_unversioned.Time", 1), `&`, ``, 1) + `,`,
  11705. `Reason:` + fmt.Sprintf("%v", this.Reason) + `,`,
  11706. `Message:` + fmt.Sprintf("%v", this.Message) + `,`,
  11707. `}`,
  11708. }, "")
  11709. return s
  11710. }
  11711. func (this *PreferredSchedulingTerm) String() string {
  11712. if this == nil {
  11713. return "nil"
  11714. }
  11715. s := strings.Join([]string{`&PreferredSchedulingTerm{`,
  11716. `Weight:` + fmt.Sprintf("%v", this.Weight) + `,`,
  11717. `Preference:` + strings.Replace(strings.Replace(this.Preference.String(), "NodeSelectorTerm", "NodeSelectorTerm", 1), `&`, ``, 1) + `,`,
  11718. `}`,
  11719. }, "")
  11720. return s
  11721. }
  11722. func (this *Probe) String() string {
  11723. if this == nil {
  11724. return "nil"
  11725. }
  11726. s := strings.Join([]string{`&Probe{`,
  11727. `Handler:` + strings.Replace(strings.Replace(this.Handler.String(), "Handler", "Handler", 1), `&`, ``, 1) + `,`,
  11728. `InitialDelaySeconds:` + fmt.Sprintf("%v", this.InitialDelaySeconds) + `,`,
  11729. `TimeoutSeconds:` + fmt.Sprintf("%v", this.TimeoutSeconds) + `,`,
  11730. `PeriodSeconds:` + fmt.Sprintf("%v", this.PeriodSeconds) + `,`,
  11731. `SuccessThreshold:` + fmt.Sprintf("%v", this.SuccessThreshold) + `,`,
  11732. `FailureThreshold:` + fmt.Sprintf("%v", this.FailureThreshold) + `,`,
  11733. `}`,
  11734. }, "")
  11735. return s
  11736. }
  11737. func (this *QuobyteVolumeSource) String() string {
  11738. if this == nil {
  11739. return "nil"
  11740. }
  11741. s := strings.Join([]string{`&QuobyteVolumeSource{`,
  11742. `Registry:` + fmt.Sprintf("%v", this.Registry) + `,`,
  11743. `Volume:` + fmt.Sprintf("%v", this.Volume) + `,`,
  11744. `ReadOnly:` + fmt.Sprintf("%v", this.ReadOnly) + `,`,
  11745. `User:` + fmt.Sprintf("%v", this.User) + `,`,
  11746. `Group:` + fmt.Sprintf("%v", this.Group) + `,`,
  11747. `}`,
  11748. }, "")
  11749. return s
  11750. }
  11751. func (this *RBDVolumeSource) String() string {
  11752. if this == nil {
  11753. return "nil"
  11754. }
  11755. s := strings.Join([]string{`&RBDVolumeSource{`,
  11756. `CephMonitors:` + fmt.Sprintf("%v", this.CephMonitors) + `,`,
  11757. `RBDImage:` + fmt.Sprintf("%v", this.RBDImage) + `,`,
  11758. `FSType:` + fmt.Sprintf("%v", this.FSType) + `,`,
  11759. `RBDPool:` + fmt.Sprintf("%v", this.RBDPool) + `,`,
  11760. `RadosUser:` + fmt.Sprintf("%v", this.RadosUser) + `,`,
  11761. `Keyring:` + fmt.Sprintf("%v", this.Keyring) + `,`,
  11762. `SecretRef:` + strings.Replace(fmt.Sprintf("%v", this.SecretRef), "LocalObjectReference", "LocalObjectReference", 1) + `,`,
  11763. `ReadOnly:` + fmt.Sprintf("%v", this.ReadOnly) + `,`,
  11764. `}`,
  11765. }, "")
  11766. return s
  11767. }
  11768. func (this *RangeAllocation) String() string {
  11769. if this == nil {
  11770. return "nil"
  11771. }
  11772. s := strings.Join([]string{`&RangeAllocation{`,
  11773. `ObjectMeta:` + strings.Replace(strings.Replace(this.ObjectMeta.String(), "ObjectMeta", "ObjectMeta", 1), `&`, ``, 1) + `,`,
  11774. `Range:` + fmt.Sprintf("%v", this.Range) + `,`,
  11775. `Data:` + valueToStringGenerated(this.Data) + `,`,
  11776. `}`,
  11777. }, "")
  11778. return s
  11779. }
  11780. func (this *ReplicationController) String() string {
  11781. if this == nil {
  11782. return "nil"
  11783. }
  11784. s := strings.Join([]string{`&ReplicationController{`,
  11785. `ObjectMeta:` + strings.Replace(strings.Replace(this.ObjectMeta.String(), "ObjectMeta", "ObjectMeta", 1), `&`, ``, 1) + `,`,
  11786. `Spec:` + strings.Replace(strings.Replace(this.Spec.String(), "ReplicationControllerSpec", "ReplicationControllerSpec", 1), `&`, ``, 1) + `,`,
  11787. `Status:` + strings.Replace(strings.Replace(this.Status.String(), "ReplicationControllerStatus", "ReplicationControllerStatus", 1), `&`, ``, 1) + `,`,
  11788. `}`,
  11789. }, "")
  11790. return s
  11791. }
  11792. func (this *ReplicationControllerList) String() string {
  11793. if this == nil {
  11794. return "nil"
  11795. }
  11796. s := strings.Join([]string{`&ReplicationControllerList{`,
  11797. `ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "k8s_io_kubernetes_pkg_api_unversioned.ListMeta", 1), `&`, ``, 1) + `,`,
  11798. `Items:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Items), "ReplicationController", "ReplicationController", 1), `&`, ``, 1) + `,`,
  11799. `}`,
  11800. }, "")
  11801. return s
  11802. }
  11803. func (this *ReplicationControllerSpec) String() string {
  11804. if this == nil {
  11805. return "nil"
  11806. }
  11807. keysForSelector := make([]string, 0, len(this.Selector))
  11808. for k := range this.Selector {
  11809. keysForSelector = append(keysForSelector, k)
  11810. }
  11811. github_com_gogo_protobuf_sortkeys.Strings(keysForSelector)
  11812. mapStringForSelector := "map[string]string{"
  11813. for _, k := range keysForSelector {
  11814. mapStringForSelector += fmt.Sprintf("%v: %v,", k, this.Selector[k])
  11815. }
  11816. mapStringForSelector += "}"
  11817. s := strings.Join([]string{`&ReplicationControllerSpec{`,
  11818. `Replicas:` + valueToStringGenerated(this.Replicas) + `,`,
  11819. `Selector:` + mapStringForSelector + `,`,
  11820. `Template:` + strings.Replace(fmt.Sprintf("%v", this.Template), "PodTemplateSpec", "PodTemplateSpec", 1) + `,`,
  11821. `}`,
  11822. }, "")
  11823. return s
  11824. }
  11825. func (this *ReplicationControllerStatus) String() string {
  11826. if this == nil {
  11827. return "nil"
  11828. }
  11829. s := strings.Join([]string{`&ReplicationControllerStatus{`,
  11830. `Replicas:` + fmt.Sprintf("%v", this.Replicas) + `,`,
  11831. `FullyLabeledReplicas:` + fmt.Sprintf("%v", this.FullyLabeledReplicas) + `,`,
  11832. `ObservedGeneration:` + fmt.Sprintf("%v", this.ObservedGeneration) + `,`,
  11833. `ReadyReplicas:` + fmt.Sprintf("%v", this.ReadyReplicas) + `,`,
  11834. `}`,
  11835. }, "")
  11836. return s
  11837. }
  11838. func (this *ResourceFieldSelector) String() string {
  11839. if this == nil {
  11840. return "nil"
  11841. }
  11842. s := strings.Join([]string{`&ResourceFieldSelector{`,
  11843. `ContainerName:` + fmt.Sprintf("%v", this.ContainerName) + `,`,
  11844. `Resource:` + fmt.Sprintf("%v", this.Resource) + `,`,
  11845. `Divisor:` + strings.Replace(strings.Replace(this.Divisor.String(), "Quantity", "k8s_io_kubernetes_pkg_api_resource.Quantity", 1), `&`, ``, 1) + `,`,
  11846. `}`,
  11847. }, "")
  11848. return s
  11849. }
  11850. func (this *ResourceQuota) String() string {
  11851. if this == nil {
  11852. return "nil"
  11853. }
  11854. s := strings.Join([]string{`&ResourceQuota{`,
  11855. `ObjectMeta:` + strings.Replace(strings.Replace(this.ObjectMeta.String(), "ObjectMeta", "ObjectMeta", 1), `&`, ``, 1) + `,`,
  11856. `Spec:` + strings.Replace(strings.Replace(this.Spec.String(), "ResourceQuotaSpec", "ResourceQuotaSpec", 1), `&`, ``, 1) + `,`,
  11857. `Status:` + strings.Replace(strings.Replace(this.Status.String(), "ResourceQuotaStatus", "ResourceQuotaStatus", 1), `&`, ``, 1) + `,`,
  11858. `}`,
  11859. }, "")
  11860. return s
  11861. }
  11862. func (this *ResourceQuotaList) String() string {
  11863. if this == nil {
  11864. return "nil"
  11865. }
  11866. s := strings.Join([]string{`&ResourceQuotaList{`,
  11867. `ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "k8s_io_kubernetes_pkg_api_unversioned.ListMeta", 1), `&`, ``, 1) + `,`,
  11868. `Items:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Items), "ResourceQuota", "ResourceQuota", 1), `&`, ``, 1) + `,`,
  11869. `}`,
  11870. }, "")
  11871. return s
  11872. }
  11873. func (this *ResourceQuotaSpec) String() string {
  11874. if this == nil {
  11875. return "nil"
  11876. }
  11877. keysForHard := make([]string, 0, len(this.Hard))
  11878. for k := range this.Hard {
  11879. keysForHard = append(keysForHard, string(k))
  11880. }
  11881. github_com_gogo_protobuf_sortkeys.Strings(keysForHard)
  11882. mapStringForHard := "ResourceList{"
  11883. for _, k := range keysForHard {
  11884. mapStringForHard += fmt.Sprintf("%v: %v,", k, this.Hard[ResourceName(k)])
  11885. }
  11886. mapStringForHard += "}"
  11887. s := strings.Join([]string{`&ResourceQuotaSpec{`,
  11888. `Hard:` + mapStringForHard + `,`,
  11889. `Scopes:` + fmt.Sprintf("%v", this.Scopes) + `,`,
  11890. `}`,
  11891. }, "")
  11892. return s
  11893. }
  11894. func (this *ResourceQuotaStatus) String() string {
  11895. if this == nil {
  11896. return "nil"
  11897. }
  11898. keysForHard := make([]string, 0, len(this.Hard))
  11899. for k := range this.Hard {
  11900. keysForHard = append(keysForHard, string(k))
  11901. }
  11902. github_com_gogo_protobuf_sortkeys.Strings(keysForHard)
  11903. mapStringForHard := "ResourceList{"
  11904. for _, k := range keysForHard {
  11905. mapStringForHard += fmt.Sprintf("%v: %v,", k, this.Hard[ResourceName(k)])
  11906. }
  11907. mapStringForHard += "}"
  11908. keysForUsed := make([]string, 0, len(this.Used))
  11909. for k := range this.Used {
  11910. keysForUsed = append(keysForUsed, string(k))
  11911. }
  11912. github_com_gogo_protobuf_sortkeys.Strings(keysForUsed)
  11913. mapStringForUsed := "ResourceList{"
  11914. for _, k := range keysForUsed {
  11915. mapStringForUsed += fmt.Sprintf("%v: %v,", k, this.Used[ResourceName(k)])
  11916. }
  11917. mapStringForUsed += "}"
  11918. s := strings.Join([]string{`&ResourceQuotaStatus{`,
  11919. `Hard:` + mapStringForHard + `,`,
  11920. `Used:` + mapStringForUsed + `,`,
  11921. `}`,
  11922. }, "")
  11923. return s
  11924. }
  11925. func (this *ResourceRequirements) String() string {
  11926. if this == nil {
  11927. return "nil"
  11928. }
  11929. keysForLimits := make([]string, 0, len(this.Limits))
  11930. for k := range this.Limits {
  11931. keysForLimits = append(keysForLimits, string(k))
  11932. }
  11933. github_com_gogo_protobuf_sortkeys.Strings(keysForLimits)
  11934. mapStringForLimits := "ResourceList{"
  11935. for _, k := range keysForLimits {
  11936. mapStringForLimits += fmt.Sprintf("%v: %v,", k, this.Limits[ResourceName(k)])
  11937. }
  11938. mapStringForLimits += "}"
  11939. keysForRequests := make([]string, 0, len(this.Requests))
  11940. for k := range this.Requests {
  11941. keysForRequests = append(keysForRequests, string(k))
  11942. }
  11943. github_com_gogo_protobuf_sortkeys.Strings(keysForRequests)
  11944. mapStringForRequests := "ResourceList{"
  11945. for _, k := range keysForRequests {
  11946. mapStringForRequests += fmt.Sprintf("%v: %v,", k, this.Requests[ResourceName(k)])
  11947. }
  11948. mapStringForRequests += "}"
  11949. s := strings.Join([]string{`&ResourceRequirements{`,
  11950. `Limits:` + mapStringForLimits + `,`,
  11951. `Requests:` + mapStringForRequests + `,`,
  11952. `}`,
  11953. }, "")
  11954. return s
  11955. }
  11956. func (this *SELinuxOptions) String() string {
  11957. if this == nil {
  11958. return "nil"
  11959. }
  11960. s := strings.Join([]string{`&SELinuxOptions{`,
  11961. `User:` + fmt.Sprintf("%v", this.User) + `,`,
  11962. `Role:` + fmt.Sprintf("%v", this.Role) + `,`,
  11963. `Type:` + fmt.Sprintf("%v", this.Type) + `,`,
  11964. `Level:` + fmt.Sprintf("%v", this.Level) + `,`,
  11965. `}`,
  11966. }, "")
  11967. return s
  11968. }
  11969. func (this *Secret) String() string {
  11970. if this == nil {
  11971. return "nil"
  11972. }
  11973. keysForData := make([]string, 0, len(this.Data))
  11974. for k := range this.Data {
  11975. keysForData = append(keysForData, k)
  11976. }
  11977. github_com_gogo_protobuf_sortkeys.Strings(keysForData)
  11978. mapStringForData := "map[string][]byte{"
  11979. for _, k := range keysForData {
  11980. mapStringForData += fmt.Sprintf("%v: %v,", k, this.Data[k])
  11981. }
  11982. mapStringForData += "}"
  11983. keysForStringData := make([]string, 0, len(this.StringData))
  11984. for k := range this.StringData {
  11985. keysForStringData = append(keysForStringData, k)
  11986. }
  11987. github_com_gogo_protobuf_sortkeys.Strings(keysForStringData)
  11988. mapStringForStringData := "map[string]string{"
  11989. for _, k := range keysForStringData {
  11990. mapStringForStringData += fmt.Sprintf("%v: %v,", k, this.StringData[k])
  11991. }
  11992. mapStringForStringData += "}"
  11993. s := strings.Join([]string{`&Secret{`,
  11994. `ObjectMeta:` + strings.Replace(strings.Replace(this.ObjectMeta.String(), "ObjectMeta", "ObjectMeta", 1), `&`, ``, 1) + `,`,
  11995. `Data:` + mapStringForData + `,`,
  11996. `Type:` + fmt.Sprintf("%v", this.Type) + `,`,
  11997. `StringData:` + mapStringForStringData + `,`,
  11998. `}`,
  11999. }, "")
  12000. return s
  12001. }
  12002. func (this *SecretKeySelector) String() string {
  12003. if this == nil {
  12004. return "nil"
  12005. }
  12006. s := strings.Join([]string{`&SecretKeySelector{`,
  12007. `LocalObjectReference:` + strings.Replace(strings.Replace(this.LocalObjectReference.String(), "LocalObjectReference", "LocalObjectReference", 1), `&`, ``, 1) + `,`,
  12008. `Key:` + fmt.Sprintf("%v", this.Key) + `,`,
  12009. `}`,
  12010. }, "")
  12011. return s
  12012. }
  12013. func (this *SecretList) String() string {
  12014. if this == nil {
  12015. return "nil"
  12016. }
  12017. s := strings.Join([]string{`&SecretList{`,
  12018. `ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "k8s_io_kubernetes_pkg_api_unversioned.ListMeta", 1), `&`, ``, 1) + `,`,
  12019. `Items:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Items), "Secret", "Secret", 1), `&`, ``, 1) + `,`,
  12020. `}`,
  12021. }, "")
  12022. return s
  12023. }
  12024. func (this *SecretVolumeSource) String() string {
  12025. if this == nil {
  12026. return "nil"
  12027. }
  12028. s := strings.Join([]string{`&SecretVolumeSource{`,
  12029. `SecretName:` + fmt.Sprintf("%v", this.SecretName) + `,`,
  12030. `Items:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Items), "KeyToPath", "KeyToPath", 1), `&`, ``, 1) + `,`,
  12031. `DefaultMode:` + valueToStringGenerated(this.DefaultMode) + `,`,
  12032. `}`,
  12033. }, "")
  12034. return s
  12035. }
  12036. func (this *SecurityContext) String() string {
  12037. if this == nil {
  12038. return "nil"
  12039. }
  12040. s := strings.Join([]string{`&SecurityContext{`,
  12041. `Capabilities:` + strings.Replace(fmt.Sprintf("%v", this.Capabilities), "Capabilities", "Capabilities", 1) + `,`,
  12042. `Privileged:` + valueToStringGenerated(this.Privileged) + `,`,
  12043. `SELinuxOptions:` + strings.Replace(fmt.Sprintf("%v", this.SELinuxOptions), "SELinuxOptions", "SELinuxOptions", 1) + `,`,
  12044. `RunAsUser:` + valueToStringGenerated(this.RunAsUser) + `,`,
  12045. `RunAsNonRoot:` + valueToStringGenerated(this.RunAsNonRoot) + `,`,
  12046. `ReadOnlyRootFilesystem:` + valueToStringGenerated(this.ReadOnlyRootFilesystem) + `,`,
  12047. `}`,
  12048. }, "")
  12049. return s
  12050. }
  12051. func (this *SerializedReference) String() string {
  12052. if this == nil {
  12053. return "nil"
  12054. }
  12055. s := strings.Join([]string{`&SerializedReference{`,
  12056. `Reference:` + strings.Replace(strings.Replace(this.Reference.String(), "ObjectReference", "ObjectReference", 1), `&`, ``, 1) + `,`,
  12057. `}`,
  12058. }, "")
  12059. return s
  12060. }
  12061. func (this *Service) String() string {
  12062. if this == nil {
  12063. return "nil"
  12064. }
  12065. s := strings.Join([]string{`&Service{`,
  12066. `ObjectMeta:` + strings.Replace(strings.Replace(this.ObjectMeta.String(), "ObjectMeta", "ObjectMeta", 1), `&`, ``, 1) + `,`,
  12067. `Spec:` + strings.Replace(strings.Replace(this.Spec.String(), "ServiceSpec", "ServiceSpec", 1), `&`, ``, 1) + `,`,
  12068. `Status:` + strings.Replace(strings.Replace(this.Status.String(), "ServiceStatus", "ServiceStatus", 1), `&`, ``, 1) + `,`,
  12069. `}`,
  12070. }, "")
  12071. return s
  12072. }
  12073. func (this *ServiceAccount) String() string {
  12074. if this == nil {
  12075. return "nil"
  12076. }
  12077. s := strings.Join([]string{`&ServiceAccount{`,
  12078. `ObjectMeta:` + strings.Replace(strings.Replace(this.ObjectMeta.String(), "ObjectMeta", "ObjectMeta", 1), `&`, ``, 1) + `,`,
  12079. `Secrets:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Secrets), "ObjectReference", "ObjectReference", 1), `&`, ``, 1) + `,`,
  12080. `ImagePullSecrets:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.ImagePullSecrets), "LocalObjectReference", "LocalObjectReference", 1), `&`, ``, 1) + `,`,
  12081. `}`,
  12082. }, "")
  12083. return s
  12084. }
  12085. func (this *ServiceAccountList) String() string {
  12086. if this == nil {
  12087. return "nil"
  12088. }
  12089. s := strings.Join([]string{`&ServiceAccountList{`,
  12090. `ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "k8s_io_kubernetes_pkg_api_unversioned.ListMeta", 1), `&`, ``, 1) + `,`,
  12091. `Items:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Items), "ServiceAccount", "ServiceAccount", 1), `&`, ``, 1) + `,`,
  12092. `}`,
  12093. }, "")
  12094. return s
  12095. }
  12096. func (this *ServiceList) String() string {
  12097. if this == nil {
  12098. return "nil"
  12099. }
  12100. s := strings.Join([]string{`&ServiceList{`,
  12101. `ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "k8s_io_kubernetes_pkg_api_unversioned.ListMeta", 1), `&`, ``, 1) + `,`,
  12102. `Items:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Items), "Service", "Service", 1), `&`, ``, 1) + `,`,
  12103. `}`,
  12104. }, "")
  12105. return s
  12106. }
  12107. func (this *ServicePort) String() string {
  12108. if this == nil {
  12109. return "nil"
  12110. }
  12111. s := strings.Join([]string{`&ServicePort{`,
  12112. `Name:` + fmt.Sprintf("%v", this.Name) + `,`,
  12113. `Protocol:` + fmt.Sprintf("%v", this.Protocol) + `,`,
  12114. `Port:` + fmt.Sprintf("%v", this.Port) + `,`,
  12115. `TargetPort:` + strings.Replace(strings.Replace(this.TargetPort.String(), "IntOrString", "k8s_io_kubernetes_pkg_util_intstr.IntOrString", 1), `&`, ``, 1) + `,`,
  12116. `NodePort:` + fmt.Sprintf("%v", this.NodePort) + `,`,
  12117. `}`,
  12118. }, "")
  12119. return s
  12120. }
  12121. func (this *ServiceProxyOptions) String() string {
  12122. if this == nil {
  12123. return "nil"
  12124. }
  12125. s := strings.Join([]string{`&ServiceProxyOptions{`,
  12126. `Path:` + fmt.Sprintf("%v", this.Path) + `,`,
  12127. `}`,
  12128. }, "")
  12129. return s
  12130. }
  12131. func (this *ServiceSpec) String() string {
  12132. if this == nil {
  12133. return "nil"
  12134. }
  12135. keysForSelector := make([]string, 0, len(this.Selector))
  12136. for k := range this.Selector {
  12137. keysForSelector = append(keysForSelector, k)
  12138. }
  12139. github_com_gogo_protobuf_sortkeys.Strings(keysForSelector)
  12140. mapStringForSelector := "map[string]string{"
  12141. for _, k := range keysForSelector {
  12142. mapStringForSelector += fmt.Sprintf("%v: %v,", k, this.Selector[k])
  12143. }
  12144. mapStringForSelector += "}"
  12145. s := strings.Join([]string{`&ServiceSpec{`,
  12146. `Ports:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Ports), "ServicePort", "ServicePort", 1), `&`, ``, 1) + `,`,
  12147. `Selector:` + mapStringForSelector + `,`,
  12148. `ClusterIP:` + fmt.Sprintf("%v", this.ClusterIP) + `,`,
  12149. `Type:` + fmt.Sprintf("%v", this.Type) + `,`,
  12150. `ExternalIPs:` + fmt.Sprintf("%v", this.ExternalIPs) + `,`,
  12151. `DeprecatedPublicIPs:` + fmt.Sprintf("%v", this.DeprecatedPublicIPs) + `,`,
  12152. `SessionAffinity:` + fmt.Sprintf("%v", this.SessionAffinity) + `,`,
  12153. `LoadBalancerIP:` + fmt.Sprintf("%v", this.LoadBalancerIP) + `,`,
  12154. `LoadBalancerSourceRanges:` + fmt.Sprintf("%v", this.LoadBalancerSourceRanges) + `,`,
  12155. `ExternalName:` + fmt.Sprintf("%v", this.ExternalName) + `,`,
  12156. `}`,
  12157. }, "")
  12158. return s
  12159. }
  12160. func (this *ServiceStatus) String() string {
  12161. if this == nil {
  12162. return "nil"
  12163. }
  12164. s := strings.Join([]string{`&ServiceStatus{`,
  12165. `LoadBalancer:` + strings.Replace(strings.Replace(this.LoadBalancer.String(), "LoadBalancerStatus", "LoadBalancerStatus", 1), `&`, ``, 1) + `,`,
  12166. `}`,
  12167. }, "")
  12168. return s
  12169. }
  12170. func (this *TCPSocketAction) String() string {
  12171. if this == nil {
  12172. return "nil"
  12173. }
  12174. s := strings.Join([]string{`&TCPSocketAction{`,
  12175. `Port:` + strings.Replace(strings.Replace(this.Port.String(), "IntOrString", "k8s_io_kubernetes_pkg_util_intstr.IntOrString", 1), `&`, ``, 1) + `,`,
  12176. `}`,
  12177. }, "")
  12178. return s
  12179. }
  12180. func (this *Taint) String() string {
  12181. if this == nil {
  12182. return "nil"
  12183. }
  12184. s := strings.Join([]string{`&Taint{`,
  12185. `Key:` + fmt.Sprintf("%v", this.Key) + `,`,
  12186. `Value:` + fmt.Sprintf("%v", this.Value) + `,`,
  12187. `Effect:` + fmt.Sprintf("%v", this.Effect) + `,`,
  12188. `}`,
  12189. }, "")
  12190. return s
  12191. }
  12192. func (this *Toleration) String() string {
  12193. if this == nil {
  12194. return "nil"
  12195. }
  12196. s := strings.Join([]string{`&Toleration{`,
  12197. `Key:` + fmt.Sprintf("%v", this.Key) + `,`,
  12198. `Operator:` + fmt.Sprintf("%v", this.Operator) + `,`,
  12199. `Value:` + fmt.Sprintf("%v", this.Value) + `,`,
  12200. `Effect:` + fmt.Sprintf("%v", this.Effect) + `,`,
  12201. `}`,
  12202. }, "")
  12203. return s
  12204. }
  12205. func (this *Volume) String() string {
  12206. if this == nil {
  12207. return "nil"
  12208. }
  12209. s := strings.Join([]string{`&Volume{`,
  12210. `Name:` + fmt.Sprintf("%v", this.Name) + `,`,
  12211. `VolumeSource:` + strings.Replace(strings.Replace(this.VolumeSource.String(), "VolumeSource", "VolumeSource", 1), `&`, ``, 1) + `,`,
  12212. `}`,
  12213. }, "")
  12214. return s
  12215. }
  12216. func (this *VolumeMount) String() string {
  12217. if this == nil {
  12218. return "nil"
  12219. }
  12220. s := strings.Join([]string{`&VolumeMount{`,
  12221. `Name:` + fmt.Sprintf("%v", this.Name) + `,`,
  12222. `ReadOnly:` + fmt.Sprintf("%v", this.ReadOnly) + `,`,
  12223. `MountPath:` + fmt.Sprintf("%v", this.MountPath) + `,`,
  12224. `SubPath:` + fmt.Sprintf("%v", this.SubPath) + `,`,
  12225. `}`,
  12226. }, "")
  12227. return s
  12228. }
  12229. func (this *VolumeSource) String() string {
  12230. if this == nil {
  12231. return "nil"
  12232. }
  12233. s := strings.Join([]string{`&VolumeSource{`,
  12234. `HostPath:` + strings.Replace(fmt.Sprintf("%v", this.HostPath), "HostPathVolumeSource", "HostPathVolumeSource", 1) + `,`,
  12235. `EmptyDir:` + strings.Replace(fmt.Sprintf("%v", this.EmptyDir), "EmptyDirVolumeSource", "EmptyDirVolumeSource", 1) + `,`,
  12236. `GCEPersistentDisk:` + strings.Replace(fmt.Sprintf("%v", this.GCEPersistentDisk), "GCEPersistentDiskVolumeSource", "GCEPersistentDiskVolumeSource", 1) + `,`,
  12237. `AWSElasticBlockStore:` + strings.Replace(fmt.Sprintf("%v", this.AWSElasticBlockStore), "AWSElasticBlockStoreVolumeSource", "AWSElasticBlockStoreVolumeSource", 1) + `,`,
  12238. `GitRepo:` + strings.Replace(fmt.Sprintf("%v", this.GitRepo), "GitRepoVolumeSource", "GitRepoVolumeSource", 1) + `,`,
  12239. `Secret:` + strings.Replace(fmt.Sprintf("%v", this.Secret), "SecretVolumeSource", "SecretVolumeSource", 1) + `,`,
  12240. `NFS:` + strings.Replace(fmt.Sprintf("%v", this.NFS), "NFSVolumeSource", "NFSVolumeSource", 1) + `,`,
  12241. `ISCSI:` + strings.Replace(fmt.Sprintf("%v", this.ISCSI), "ISCSIVolumeSource", "ISCSIVolumeSource", 1) + `,`,
  12242. `Glusterfs:` + strings.Replace(fmt.Sprintf("%v", this.Glusterfs), "GlusterfsVolumeSource", "GlusterfsVolumeSource", 1) + `,`,
  12243. `PersistentVolumeClaim:` + strings.Replace(fmt.Sprintf("%v", this.PersistentVolumeClaim), "PersistentVolumeClaimVolumeSource", "PersistentVolumeClaimVolumeSource", 1) + `,`,
  12244. `RBD:` + strings.Replace(fmt.Sprintf("%v", this.RBD), "RBDVolumeSource", "RBDVolumeSource", 1) + `,`,
  12245. `FlexVolume:` + strings.Replace(fmt.Sprintf("%v", this.FlexVolume), "FlexVolumeSource", "FlexVolumeSource", 1) + `,`,
  12246. `Cinder:` + strings.Replace(fmt.Sprintf("%v", this.Cinder), "CinderVolumeSource", "CinderVolumeSource", 1) + `,`,
  12247. `CephFS:` + strings.Replace(fmt.Sprintf("%v", this.CephFS), "CephFSVolumeSource", "CephFSVolumeSource", 1) + `,`,
  12248. `Flocker:` + strings.Replace(fmt.Sprintf("%v", this.Flocker), "FlockerVolumeSource", "FlockerVolumeSource", 1) + `,`,
  12249. `DownwardAPI:` + strings.Replace(fmt.Sprintf("%v", this.DownwardAPI), "DownwardAPIVolumeSource", "DownwardAPIVolumeSource", 1) + `,`,
  12250. `FC:` + strings.Replace(fmt.Sprintf("%v", this.FC), "FCVolumeSource", "FCVolumeSource", 1) + `,`,
  12251. `AzureFile:` + strings.Replace(fmt.Sprintf("%v", this.AzureFile), "AzureFileVolumeSource", "AzureFileVolumeSource", 1) + `,`,
  12252. `ConfigMap:` + strings.Replace(fmt.Sprintf("%v", this.ConfigMap), "ConfigMapVolumeSource", "ConfigMapVolumeSource", 1) + `,`,
  12253. `VsphereVolume:` + strings.Replace(fmt.Sprintf("%v", this.VsphereVolume), "VsphereVirtualDiskVolumeSource", "VsphereVirtualDiskVolumeSource", 1) + `,`,
  12254. `Quobyte:` + strings.Replace(fmt.Sprintf("%v", this.Quobyte), "QuobyteVolumeSource", "QuobyteVolumeSource", 1) + `,`,
  12255. `AzureDisk:` + strings.Replace(fmt.Sprintf("%v", this.AzureDisk), "AzureDiskVolumeSource", "AzureDiskVolumeSource", 1) + `,`,
  12256. `}`,
  12257. }, "")
  12258. return s
  12259. }
  12260. func (this *VsphereVirtualDiskVolumeSource) String() string {
  12261. if this == nil {
  12262. return "nil"
  12263. }
  12264. s := strings.Join([]string{`&VsphereVirtualDiskVolumeSource{`,
  12265. `VolumePath:` + fmt.Sprintf("%v", this.VolumePath) + `,`,
  12266. `FSType:` + fmt.Sprintf("%v", this.FSType) + `,`,
  12267. `}`,
  12268. }, "")
  12269. return s
  12270. }
  12271. func (this *WeightedPodAffinityTerm) String() string {
  12272. if this == nil {
  12273. return "nil"
  12274. }
  12275. s := strings.Join([]string{`&WeightedPodAffinityTerm{`,
  12276. `Weight:` + fmt.Sprintf("%v", this.Weight) + `,`,
  12277. `PodAffinityTerm:` + strings.Replace(strings.Replace(this.PodAffinityTerm.String(), "PodAffinityTerm", "PodAffinityTerm", 1), `&`, ``, 1) + `,`,
  12278. `}`,
  12279. }, "")
  12280. return s
  12281. }
  12282. func valueToStringGenerated(v interface{}) string {
  12283. rv := reflect.ValueOf(v)
  12284. if rv.IsNil() {
  12285. return "nil"
  12286. }
  12287. pv := reflect.Indirect(rv).Interface()
  12288. return fmt.Sprintf("*%v", pv)
  12289. }
  12290. func (m *AWSElasticBlockStoreVolumeSource) Unmarshal(data []byte) error {
  12291. l := len(data)
  12292. iNdEx := 0
  12293. for iNdEx < l {
  12294. preIndex := iNdEx
  12295. var wire uint64
  12296. for shift := uint(0); ; shift += 7 {
  12297. if shift >= 64 {
  12298. return ErrIntOverflowGenerated
  12299. }
  12300. if iNdEx >= l {
  12301. return io.ErrUnexpectedEOF
  12302. }
  12303. b := data[iNdEx]
  12304. iNdEx++
  12305. wire |= (uint64(b) & 0x7F) << shift
  12306. if b < 0x80 {
  12307. break
  12308. }
  12309. }
  12310. fieldNum := int32(wire >> 3)
  12311. wireType := int(wire & 0x7)
  12312. if wireType == 4 {
  12313. return fmt.Errorf("proto: AWSElasticBlockStoreVolumeSource: wiretype end group for non-group")
  12314. }
  12315. if fieldNum <= 0 {
  12316. return fmt.Errorf("proto: AWSElasticBlockStoreVolumeSource: illegal tag %d (wire type %d)", fieldNum, wire)
  12317. }
  12318. switch fieldNum {
  12319. case 1:
  12320. if wireType != 2 {
  12321. return fmt.Errorf("proto: wrong wireType = %d for field VolumeID", wireType)
  12322. }
  12323. var stringLen uint64
  12324. for shift := uint(0); ; shift += 7 {
  12325. if shift >= 64 {
  12326. return ErrIntOverflowGenerated
  12327. }
  12328. if iNdEx >= l {
  12329. return io.ErrUnexpectedEOF
  12330. }
  12331. b := data[iNdEx]
  12332. iNdEx++
  12333. stringLen |= (uint64(b) & 0x7F) << shift
  12334. if b < 0x80 {
  12335. break
  12336. }
  12337. }
  12338. intStringLen := int(stringLen)
  12339. if intStringLen < 0 {
  12340. return ErrInvalidLengthGenerated
  12341. }
  12342. postIndex := iNdEx + intStringLen
  12343. if postIndex > l {
  12344. return io.ErrUnexpectedEOF
  12345. }
  12346. m.VolumeID = string(data[iNdEx:postIndex])
  12347. iNdEx = postIndex
  12348. case 2:
  12349. if wireType != 2 {
  12350. return fmt.Errorf("proto: wrong wireType = %d for field FSType", wireType)
  12351. }
  12352. var stringLen uint64
  12353. for shift := uint(0); ; shift += 7 {
  12354. if shift >= 64 {
  12355. return ErrIntOverflowGenerated
  12356. }
  12357. if iNdEx >= l {
  12358. return io.ErrUnexpectedEOF
  12359. }
  12360. b := data[iNdEx]
  12361. iNdEx++
  12362. stringLen |= (uint64(b) & 0x7F) << shift
  12363. if b < 0x80 {
  12364. break
  12365. }
  12366. }
  12367. intStringLen := int(stringLen)
  12368. if intStringLen < 0 {
  12369. return ErrInvalidLengthGenerated
  12370. }
  12371. postIndex := iNdEx + intStringLen
  12372. if postIndex > l {
  12373. return io.ErrUnexpectedEOF
  12374. }
  12375. m.FSType = string(data[iNdEx:postIndex])
  12376. iNdEx = postIndex
  12377. case 3:
  12378. if wireType != 0 {
  12379. return fmt.Errorf("proto: wrong wireType = %d for field Partition", wireType)
  12380. }
  12381. m.Partition = 0
  12382. for shift := uint(0); ; shift += 7 {
  12383. if shift >= 64 {
  12384. return ErrIntOverflowGenerated
  12385. }
  12386. if iNdEx >= l {
  12387. return io.ErrUnexpectedEOF
  12388. }
  12389. b := data[iNdEx]
  12390. iNdEx++
  12391. m.Partition |= (int32(b) & 0x7F) << shift
  12392. if b < 0x80 {
  12393. break
  12394. }
  12395. }
  12396. case 4:
  12397. if wireType != 0 {
  12398. return fmt.Errorf("proto: wrong wireType = %d for field ReadOnly", wireType)
  12399. }
  12400. var v int
  12401. for shift := uint(0); ; shift += 7 {
  12402. if shift >= 64 {
  12403. return ErrIntOverflowGenerated
  12404. }
  12405. if iNdEx >= l {
  12406. return io.ErrUnexpectedEOF
  12407. }
  12408. b := data[iNdEx]
  12409. iNdEx++
  12410. v |= (int(b) & 0x7F) << shift
  12411. if b < 0x80 {
  12412. break
  12413. }
  12414. }
  12415. m.ReadOnly = bool(v != 0)
  12416. default:
  12417. iNdEx = preIndex
  12418. skippy, err := skipGenerated(data[iNdEx:])
  12419. if err != nil {
  12420. return err
  12421. }
  12422. if skippy < 0 {
  12423. return ErrInvalidLengthGenerated
  12424. }
  12425. if (iNdEx + skippy) > l {
  12426. return io.ErrUnexpectedEOF
  12427. }
  12428. iNdEx += skippy
  12429. }
  12430. }
  12431. if iNdEx > l {
  12432. return io.ErrUnexpectedEOF
  12433. }
  12434. return nil
  12435. }
  12436. func (m *Affinity) Unmarshal(data []byte) error {
  12437. l := len(data)
  12438. iNdEx := 0
  12439. for iNdEx < l {
  12440. preIndex := iNdEx
  12441. var wire uint64
  12442. for shift := uint(0); ; shift += 7 {
  12443. if shift >= 64 {
  12444. return ErrIntOverflowGenerated
  12445. }
  12446. if iNdEx >= l {
  12447. return io.ErrUnexpectedEOF
  12448. }
  12449. b := data[iNdEx]
  12450. iNdEx++
  12451. wire |= (uint64(b) & 0x7F) << shift
  12452. if b < 0x80 {
  12453. break
  12454. }
  12455. }
  12456. fieldNum := int32(wire >> 3)
  12457. wireType := int(wire & 0x7)
  12458. if wireType == 4 {
  12459. return fmt.Errorf("proto: Affinity: wiretype end group for non-group")
  12460. }
  12461. if fieldNum <= 0 {
  12462. return fmt.Errorf("proto: Affinity: illegal tag %d (wire type %d)", fieldNum, wire)
  12463. }
  12464. switch fieldNum {
  12465. case 1:
  12466. if wireType != 2 {
  12467. return fmt.Errorf("proto: wrong wireType = %d for field NodeAffinity", wireType)
  12468. }
  12469. var msglen int
  12470. for shift := uint(0); ; shift += 7 {
  12471. if shift >= 64 {
  12472. return ErrIntOverflowGenerated
  12473. }
  12474. if iNdEx >= l {
  12475. return io.ErrUnexpectedEOF
  12476. }
  12477. b := data[iNdEx]
  12478. iNdEx++
  12479. msglen |= (int(b) & 0x7F) << shift
  12480. if b < 0x80 {
  12481. break
  12482. }
  12483. }
  12484. if msglen < 0 {
  12485. return ErrInvalidLengthGenerated
  12486. }
  12487. postIndex := iNdEx + msglen
  12488. if postIndex > l {
  12489. return io.ErrUnexpectedEOF
  12490. }
  12491. if m.NodeAffinity == nil {
  12492. m.NodeAffinity = &NodeAffinity{}
  12493. }
  12494. if err := m.NodeAffinity.Unmarshal(data[iNdEx:postIndex]); err != nil {
  12495. return err
  12496. }
  12497. iNdEx = postIndex
  12498. case 2:
  12499. if wireType != 2 {
  12500. return fmt.Errorf("proto: wrong wireType = %d for field PodAffinity", wireType)
  12501. }
  12502. var msglen int
  12503. for shift := uint(0); ; shift += 7 {
  12504. if shift >= 64 {
  12505. return ErrIntOverflowGenerated
  12506. }
  12507. if iNdEx >= l {
  12508. return io.ErrUnexpectedEOF
  12509. }
  12510. b := data[iNdEx]
  12511. iNdEx++
  12512. msglen |= (int(b) & 0x7F) << shift
  12513. if b < 0x80 {
  12514. break
  12515. }
  12516. }
  12517. if msglen < 0 {
  12518. return ErrInvalidLengthGenerated
  12519. }
  12520. postIndex := iNdEx + msglen
  12521. if postIndex > l {
  12522. return io.ErrUnexpectedEOF
  12523. }
  12524. if m.PodAffinity == nil {
  12525. m.PodAffinity = &PodAffinity{}
  12526. }
  12527. if err := m.PodAffinity.Unmarshal(data[iNdEx:postIndex]); err != nil {
  12528. return err
  12529. }
  12530. iNdEx = postIndex
  12531. case 3:
  12532. if wireType != 2 {
  12533. return fmt.Errorf("proto: wrong wireType = %d for field PodAntiAffinity", wireType)
  12534. }
  12535. var msglen int
  12536. for shift := uint(0); ; shift += 7 {
  12537. if shift >= 64 {
  12538. return ErrIntOverflowGenerated
  12539. }
  12540. if iNdEx >= l {
  12541. return io.ErrUnexpectedEOF
  12542. }
  12543. b := data[iNdEx]
  12544. iNdEx++
  12545. msglen |= (int(b) & 0x7F) << shift
  12546. if b < 0x80 {
  12547. break
  12548. }
  12549. }
  12550. if msglen < 0 {
  12551. return ErrInvalidLengthGenerated
  12552. }
  12553. postIndex := iNdEx + msglen
  12554. if postIndex > l {
  12555. return io.ErrUnexpectedEOF
  12556. }
  12557. if m.PodAntiAffinity == nil {
  12558. m.PodAntiAffinity = &PodAntiAffinity{}
  12559. }
  12560. if err := m.PodAntiAffinity.Unmarshal(data[iNdEx:postIndex]); err != nil {
  12561. return err
  12562. }
  12563. iNdEx = postIndex
  12564. default:
  12565. iNdEx = preIndex
  12566. skippy, err := skipGenerated(data[iNdEx:])
  12567. if err != nil {
  12568. return err
  12569. }
  12570. if skippy < 0 {
  12571. return ErrInvalidLengthGenerated
  12572. }
  12573. if (iNdEx + skippy) > l {
  12574. return io.ErrUnexpectedEOF
  12575. }
  12576. iNdEx += skippy
  12577. }
  12578. }
  12579. if iNdEx > l {
  12580. return io.ErrUnexpectedEOF
  12581. }
  12582. return nil
  12583. }
  12584. func (m *AttachedVolume) Unmarshal(data []byte) error {
  12585. l := len(data)
  12586. iNdEx := 0
  12587. for iNdEx < l {
  12588. preIndex := iNdEx
  12589. var wire uint64
  12590. for shift := uint(0); ; shift += 7 {
  12591. if shift >= 64 {
  12592. return ErrIntOverflowGenerated
  12593. }
  12594. if iNdEx >= l {
  12595. return io.ErrUnexpectedEOF
  12596. }
  12597. b := data[iNdEx]
  12598. iNdEx++
  12599. wire |= (uint64(b) & 0x7F) << shift
  12600. if b < 0x80 {
  12601. break
  12602. }
  12603. }
  12604. fieldNum := int32(wire >> 3)
  12605. wireType := int(wire & 0x7)
  12606. if wireType == 4 {
  12607. return fmt.Errorf("proto: AttachedVolume: wiretype end group for non-group")
  12608. }
  12609. if fieldNum <= 0 {
  12610. return fmt.Errorf("proto: AttachedVolume: illegal tag %d (wire type %d)", fieldNum, wire)
  12611. }
  12612. switch fieldNum {
  12613. case 1:
  12614. if wireType != 2 {
  12615. return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
  12616. }
  12617. var stringLen uint64
  12618. for shift := uint(0); ; shift += 7 {
  12619. if shift >= 64 {
  12620. return ErrIntOverflowGenerated
  12621. }
  12622. if iNdEx >= l {
  12623. return io.ErrUnexpectedEOF
  12624. }
  12625. b := data[iNdEx]
  12626. iNdEx++
  12627. stringLen |= (uint64(b) & 0x7F) << shift
  12628. if b < 0x80 {
  12629. break
  12630. }
  12631. }
  12632. intStringLen := int(stringLen)
  12633. if intStringLen < 0 {
  12634. return ErrInvalidLengthGenerated
  12635. }
  12636. postIndex := iNdEx + intStringLen
  12637. if postIndex > l {
  12638. return io.ErrUnexpectedEOF
  12639. }
  12640. m.Name = UniqueVolumeName(data[iNdEx:postIndex])
  12641. iNdEx = postIndex
  12642. case 2:
  12643. if wireType != 2 {
  12644. return fmt.Errorf("proto: wrong wireType = %d for field DevicePath", wireType)
  12645. }
  12646. var stringLen uint64
  12647. for shift := uint(0); ; shift += 7 {
  12648. if shift >= 64 {
  12649. return ErrIntOverflowGenerated
  12650. }
  12651. if iNdEx >= l {
  12652. return io.ErrUnexpectedEOF
  12653. }
  12654. b := data[iNdEx]
  12655. iNdEx++
  12656. stringLen |= (uint64(b) & 0x7F) << shift
  12657. if b < 0x80 {
  12658. break
  12659. }
  12660. }
  12661. intStringLen := int(stringLen)
  12662. if intStringLen < 0 {
  12663. return ErrInvalidLengthGenerated
  12664. }
  12665. postIndex := iNdEx + intStringLen
  12666. if postIndex > l {
  12667. return io.ErrUnexpectedEOF
  12668. }
  12669. m.DevicePath = string(data[iNdEx:postIndex])
  12670. iNdEx = postIndex
  12671. default:
  12672. iNdEx = preIndex
  12673. skippy, err := skipGenerated(data[iNdEx:])
  12674. if err != nil {
  12675. return err
  12676. }
  12677. if skippy < 0 {
  12678. return ErrInvalidLengthGenerated
  12679. }
  12680. if (iNdEx + skippy) > l {
  12681. return io.ErrUnexpectedEOF
  12682. }
  12683. iNdEx += skippy
  12684. }
  12685. }
  12686. if iNdEx > l {
  12687. return io.ErrUnexpectedEOF
  12688. }
  12689. return nil
  12690. }
  12691. func (m *AvoidPods) Unmarshal(data []byte) error {
  12692. l := len(data)
  12693. iNdEx := 0
  12694. for iNdEx < l {
  12695. preIndex := iNdEx
  12696. var wire uint64
  12697. for shift := uint(0); ; shift += 7 {
  12698. if shift >= 64 {
  12699. return ErrIntOverflowGenerated
  12700. }
  12701. if iNdEx >= l {
  12702. return io.ErrUnexpectedEOF
  12703. }
  12704. b := data[iNdEx]
  12705. iNdEx++
  12706. wire |= (uint64(b) & 0x7F) << shift
  12707. if b < 0x80 {
  12708. break
  12709. }
  12710. }
  12711. fieldNum := int32(wire >> 3)
  12712. wireType := int(wire & 0x7)
  12713. if wireType == 4 {
  12714. return fmt.Errorf("proto: AvoidPods: wiretype end group for non-group")
  12715. }
  12716. if fieldNum <= 0 {
  12717. return fmt.Errorf("proto: AvoidPods: illegal tag %d (wire type %d)", fieldNum, wire)
  12718. }
  12719. switch fieldNum {
  12720. case 1:
  12721. if wireType != 2 {
  12722. return fmt.Errorf("proto: wrong wireType = %d for field PreferAvoidPods", wireType)
  12723. }
  12724. var msglen int
  12725. for shift := uint(0); ; shift += 7 {
  12726. if shift >= 64 {
  12727. return ErrIntOverflowGenerated
  12728. }
  12729. if iNdEx >= l {
  12730. return io.ErrUnexpectedEOF
  12731. }
  12732. b := data[iNdEx]
  12733. iNdEx++
  12734. msglen |= (int(b) & 0x7F) << shift
  12735. if b < 0x80 {
  12736. break
  12737. }
  12738. }
  12739. if msglen < 0 {
  12740. return ErrInvalidLengthGenerated
  12741. }
  12742. postIndex := iNdEx + msglen
  12743. if postIndex > l {
  12744. return io.ErrUnexpectedEOF
  12745. }
  12746. m.PreferAvoidPods = append(m.PreferAvoidPods, PreferAvoidPodsEntry{})
  12747. if err := m.PreferAvoidPods[len(m.PreferAvoidPods)-1].Unmarshal(data[iNdEx:postIndex]); err != nil {
  12748. return err
  12749. }
  12750. iNdEx = postIndex
  12751. default:
  12752. iNdEx = preIndex
  12753. skippy, err := skipGenerated(data[iNdEx:])
  12754. if err != nil {
  12755. return err
  12756. }
  12757. if skippy < 0 {
  12758. return ErrInvalidLengthGenerated
  12759. }
  12760. if (iNdEx + skippy) > l {
  12761. return io.ErrUnexpectedEOF
  12762. }
  12763. iNdEx += skippy
  12764. }
  12765. }
  12766. if iNdEx > l {
  12767. return io.ErrUnexpectedEOF
  12768. }
  12769. return nil
  12770. }
  12771. func (m *AzureDiskVolumeSource) Unmarshal(data []byte) error {
  12772. l := len(data)
  12773. iNdEx := 0
  12774. for iNdEx < l {
  12775. preIndex := iNdEx
  12776. var wire uint64
  12777. for shift := uint(0); ; shift += 7 {
  12778. if shift >= 64 {
  12779. return ErrIntOverflowGenerated
  12780. }
  12781. if iNdEx >= l {
  12782. return io.ErrUnexpectedEOF
  12783. }
  12784. b := data[iNdEx]
  12785. iNdEx++
  12786. wire |= (uint64(b) & 0x7F) << shift
  12787. if b < 0x80 {
  12788. break
  12789. }
  12790. }
  12791. fieldNum := int32(wire >> 3)
  12792. wireType := int(wire & 0x7)
  12793. if wireType == 4 {
  12794. return fmt.Errorf("proto: AzureDiskVolumeSource: wiretype end group for non-group")
  12795. }
  12796. if fieldNum <= 0 {
  12797. return fmt.Errorf("proto: AzureDiskVolumeSource: illegal tag %d (wire type %d)", fieldNum, wire)
  12798. }
  12799. switch fieldNum {
  12800. case 1:
  12801. if wireType != 2 {
  12802. return fmt.Errorf("proto: wrong wireType = %d for field DiskName", wireType)
  12803. }
  12804. var stringLen uint64
  12805. for shift := uint(0); ; shift += 7 {
  12806. if shift >= 64 {
  12807. return ErrIntOverflowGenerated
  12808. }
  12809. if iNdEx >= l {
  12810. return io.ErrUnexpectedEOF
  12811. }
  12812. b := data[iNdEx]
  12813. iNdEx++
  12814. stringLen |= (uint64(b) & 0x7F) << shift
  12815. if b < 0x80 {
  12816. break
  12817. }
  12818. }
  12819. intStringLen := int(stringLen)
  12820. if intStringLen < 0 {
  12821. return ErrInvalidLengthGenerated
  12822. }
  12823. postIndex := iNdEx + intStringLen
  12824. if postIndex > l {
  12825. return io.ErrUnexpectedEOF
  12826. }
  12827. m.DiskName = string(data[iNdEx:postIndex])
  12828. iNdEx = postIndex
  12829. case 2:
  12830. if wireType != 2 {
  12831. return fmt.Errorf("proto: wrong wireType = %d for field DataDiskURI", wireType)
  12832. }
  12833. var stringLen uint64
  12834. for shift := uint(0); ; shift += 7 {
  12835. if shift >= 64 {
  12836. return ErrIntOverflowGenerated
  12837. }
  12838. if iNdEx >= l {
  12839. return io.ErrUnexpectedEOF
  12840. }
  12841. b := data[iNdEx]
  12842. iNdEx++
  12843. stringLen |= (uint64(b) & 0x7F) << shift
  12844. if b < 0x80 {
  12845. break
  12846. }
  12847. }
  12848. intStringLen := int(stringLen)
  12849. if intStringLen < 0 {
  12850. return ErrInvalidLengthGenerated
  12851. }
  12852. postIndex := iNdEx + intStringLen
  12853. if postIndex > l {
  12854. return io.ErrUnexpectedEOF
  12855. }
  12856. m.DataDiskURI = string(data[iNdEx:postIndex])
  12857. iNdEx = postIndex
  12858. case 3:
  12859. if wireType != 2 {
  12860. return fmt.Errorf("proto: wrong wireType = %d for field CachingMode", wireType)
  12861. }
  12862. var stringLen uint64
  12863. for shift := uint(0); ; shift += 7 {
  12864. if shift >= 64 {
  12865. return ErrIntOverflowGenerated
  12866. }
  12867. if iNdEx >= l {
  12868. return io.ErrUnexpectedEOF
  12869. }
  12870. b := data[iNdEx]
  12871. iNdEx++
  12872. stringLen |= (uint64(b) & 0x7F) << shift
  12873. if b < 0x80 {
  12874. break
  12875. }
  12876. }
  12877. intStringLen := int(stringLen)
  12878. if intStringLen < 0 {
  12879. return ErrInvalidLengthGenerated
  12880. }
  12881. postIndex := iNdEx + intStringLen
  12882. if postIndex > l {
  12883. return io.ErrUnexpectedEOF
  12884. }
  12885. s := AzureDataDiskCachingMode(data[iNdEx:postIndex])
  12886. m.CachingMode = &s
  12887. iNdEx = postIndex
  12888. case 4:
  12889. if wireType != 2 {
  12890. return fmt.Errorf("proto: wrong wireType = %d for field FSType", wireType)
  12891. }
  12892. var stringLen uint64
  12893. for shift := uint(0); ; shift += 7 {
  12894. if shift >= 64 {
  12895. return ErrIntOverflowGenerated
  12896. }
  12897. if iNdEx >= l {
  12898. return io.ErrUnexpectedEOF
  12899. }
  12900. b := data[iNdEx]
  12901. iNdEx++
  12902. stringLen |= (uint64(b) & 0x7F) << shift
  12903. if b < 0x80 {
  12904. break
  12905. }
  12906. }
  12907. intStringLen := int(stringLen)
  12908. if intStringLen < 0 {
  12909. return ErrInvalidLengthGenerated
  12910. }
  12911. postIndex := iNdEx + intStringLen
  12912. if postIndex > l {
  12913. return io.ErrUnexpectedEOF
  12914. }
  12915. s := string(data[iNdEx:postIndex])
  12916. m.FSType = &s
  12917. iNdEx = postIndex
  12918. case 5:
  12919. if wireType != 0 {
  12920. return fmt.Errorf("proto: wrong wireType = %d for field ReadOnly", wireType)
  12921. }
  12922. var v int
  12923. for shift := uint(0); ; shift += 7 {
  12924. if shift >= 64 {
  12925. return ErrIntOverflowGenerated
  12926. }
  12927. if iNdEx >= l {
  12928. return io.ErrUnexpectedEOF
  12929. }
  12930. b := data[iNdEx]
  12931. iNdEx++
  12932. v |= (int(b) & 0x7F) << shift
  12933. if b < 0x80 {
  12934. break
  12935. }
  12936. }
  12937. b := bool(v != 0)
  12938. m.ReadOnly = &b
  12939. default:
  12940. iNdEx = preIndex
  12941. skippy, err := skipGenerated(data[iNdEx:])
  12942. if err != nil {
  12943. return err
  12944. }
  12945. if skippy < 0 {
  12946. return ErrInvalidLengthGenerated
  12947. }
  12948. if (iNdEx + skippy) > l {
  12949. return io.ErrUnexpectedEOF
  12950. }
  12951. iNdEx += skippy
  12952. }
  12953. }
  12954. if iNdEx > l {
  12955. return io.ErrUnexpectedEOF
  12956. }
  12957. return nil
  12958. }
  12959. func (m *AzureFileVolumeSource) Unmarshal(data []byte) error {
  12960. l := len(data)
  12961. iNdEx := 0
  12962. for iNdEx < l {
  12963. preIndex := iNdEx
  12964. var wire uint64
  12965. for shift := uint(0); ; shift += 7 {
  12966. if shift >= 64 {
  12967. return ErrIntOverflowGenerated
  12968. }
  12969. if iNdEx >= l {
  12970. return io.ErrUnexpectedEOF
  12971. }
  12972. b := data[iNdEx]
  12973. iNdEx++
  12974. wire |= (uint64(b) & 0x7F) << shift
  12975. if b < 0x80 {
  12976. break
  12977. }
  12978. }
  12979. fieldNum := int32(wire >> 3)
  12980. wireType := int(wire & 0x7)
  12981. if wireType == 4 {
  12982. return fmt.Errorf("proto: AzureFileVolumeSource: wiretype end group for non-group")
  12983. }
  12984. if fieldNum <= 0 {
  12985. return fmt.Errorf("proto: AzureFileVolumeSource: illegal tag %d (wire type %d)", fieldNum, wire)
  12986. }
  12987. switch fieldNum {
  12988. case 1:
  12989. if wireType != 2 {
  12990. return fmt.Errorf("proto: wrong wireType = %d for field SecretName", wireType)
  12991. }
  12992. var stringLen uint64
  12993. for shift := uint(0); ; shift += 7 {
  12994. if shift >= 64 {
  12995. return ErrIntOverflowGenerated
  12996. }
  12997. if iNdEx >= l {
  12998. return io.ErrUnexpectedEOF
  12999. }
  13000. b := data[iNdEx]
  13001. iNdEx++
  13002. stringLen |= (uint64(b) & 0x7F) << shift
  13003. if b < 0x80 {
  13004. break
  13005. }
  13006. }
  13007. intStringLen := int(stringLen)
  13008. if intStringLen < 0 {
  13009. return ErrInvalidLengthGenerated
  13010. }
  13011. postIndex := iNdEx + intStringLen
  13012. if postIndex > l {
  13013. return io.ErrUnexpectedEOF
  13014. }
  13015. m.SecretName = string(data[iNdEx:postIndex])
  13016. iNdEx = postIndex
  13017. case 2:
  13018. if wireType != 2 {
  13019. return fmt.Errorf("proto: wrong wireType = %d for field ShareName", wireType)
  13020. }
  13021. var stringLen uint64
  13022. for shift := uint(0); ; shift += 7 {
  13023. if shift >= 64 {
  13024. return ErrIntOverflowGenerated
  13025. }
  13026. if iNdEx >= l {
  13027. return io.ErrUnexpectedEOF
  13028. }
  13029. b := data[iNdEx]
  13030. iNdEx++
  13031. stringLen |= (uint64(b) & 0x7F) << shift
  13032. if b < 0x80 {
  13033. break
  13034. }
  13035. }
  13036. intStringLen := int(stringLen)
  13037. if intStringLen < 0 {
  13038. return ErrInvalidLengthGenerated
  13039. }
  13040. postIndex := iNdEx + intStringLen
  13041. if postIndex > l {
  13042. return io.ErrUnexpectedEOF
  13043. }
  13044. m.ShareName = string(data[iNdEx:postIndex])
  13045. iNdEx = postIndex
  13046. case 3:
  13047. if wireType != 0 {
  13048. return fmt.Errorf("proto: wrong wireType = %d for field ReadOnly", wireType)
  13049. }
  13050. var v int
  13051. for shift := uint(0); ; shift += 7 {
  13052. if shift >= 64 {
  13053. return ErrIntOverflowGenerated
  13054. }
  13055. if iNdEx >= l {
  13056. return io.ErrUnexpectedEOF
  13057. }
  13058. b := data[iNdEx]
  13059. iNdEx++
  13060. v |= (int(b) & 0x7F) << shift
  13061. if b < 0x80 {
  13062. break
  13063. }
  13064. }
  13065. m.ReadOnly = bool(v != 0)
  13066. default:
  13067. iNdEx = preIndex
  13068. skippy, err := skipGenerated(data[iNdEx:])
  13069. if err != nil {
  13070. return err
  13071. }
  13072. if skippy < 0 {
  13073. return ErrInvalidLengthGenerated
  13074. }
  13075. if (iNdEx + skippy) > l {
  13076. return io.ErrUnexpectedEOF
  13077. }
  13078. iNdEx += skippy
  13079. }
  13080. }
  13081. if iNdEx > l {
  13082. return io.ErrUnexpectedEOF
  13083. }
  13084. return nil
  13085. }
  13086. func (m *Binding) Unmarshal(data []byte) error {
  13087. l := len(data)
  13088. iNdEx := 0
  13089. for iNdEx < l {
  13090. preIndex := iNdEx
  13091. var wire uint64
  13092. for shift := uint(0); ; shift += 7 {
  13093. if shift >= 64 {
  13094. return ErrIntOverflowGenerated
  13095. }
  13096. if iNdEx >= l {
  13097. return io.ErrUnexpectedEOF
  13098. }
  13099. b := data[iNdEx]
  13100. iNdEx++
  13101. wire |= (uint64(b) & 0x7F) << shift
  13102. if b < 0x80 {
  13103. break
  13104. }
  13105. }
  13106. fieldNum := int32(wire >> 3)
  13107. wireType := int(wire & 0x7)
  13108. if wireType == 4 {
  13109. return fmt.Errorf("proto: Binding: wiretype end group for non-group")
  13110. }
  13111. if fieldNum <= 0 {
  13112. return fmt.Errorf("proto: Binding: illegal tag %d (wire type %d)", fieldNum, wire)
  13113. }
  13114. switch fieldNum {
  13115. case 1:
  13116. if wireType != 2 {
  13117. return fmt.Errorf("proto: wrong wireType = %d for field ObjectMeta", wireType)
  13118. }
  13119. var msglen int
  13120. for shift := uint(0); ; shift += 7 {
  13121. if shift >= 64 {
  13122. return ErrIntOverflowGenerated
  13123. }
  13124. if iNdEx >= l {
  13125. return io.ErrUnexpectedEOF
  13126. }
  13127. b := data[iNdEx]
  13128. iNdEx++
  13129. msglen |= (int(b) & 0x7F) << shift
  13130. if b < 0x80 {
  13131. break
  13132. }
  13133. }
  13134. if msglen < 0 {
  13135. return ErrInvalidLengthGenerated
  13136. }
  13137. postIndex := iNdEx + msglen
  13138. if postIndex > l {
  13139. return io.ErrUnexpectedEOF
  13140. }
  13141. if err := m.ObjectMeta.Unmarshal(data[iNdEx:postIndex]); err != nil {
  13142. return err
  13143. }
  13144. iNdEx = postIndex
  13145. case 2:
  13146. if wireType != 2 {
  13147. return fmt.Errorf("proto: wrong wireType = %d for field Target", wireType)
  13148. }
  13149. var msglen int
  13150. for shift := uint(0); ; shift += 7 {
  13151. if shift >= 64 {
  13152. return ErrIntOverflowGenerated
  13153. }
  13154. if iNdEx >= l {
  13155. return io.ErrUnexpectedEOF
  13156. }
  13157. b := data[iNdEx]
  13158. iNdEx++
  13159. msglen |= (int(b) & 0x7F) << shift
  13160. if b < 0x80 {
  13161. break
  13162. }
  13163. }
  13164. if msglen < 0 {
  13165. return ErrInvalidLengthGenerated
  13166. }
  13167. postIndex := iNdEx + msglen
  13168. if postIndex > l {
  13169. return io.ErrUnexpectedEOF
  13170. }
  13171. if err := m.Target.Unmarshal(data[iNdEx:postIndex]); err != nil {
  13172. return err
  13173. }
  13174. iNdEx = postIndex
  13175. default:
  13176. iNdEx = preIndex
  13177. skippy, err := skipGenerated(data[iNdEx:])
  13178. if err != nil {
  13179. return err
  13180. }
  13181. if skippy < 0 {
  13182. return ErrInvalidLengthGenerated
  13183. }
  13184. if (iNdEx + skippy) > l {
  13185. return io.ErrUnexpectedEOF
  13186. }
  13187. iNdEx += skippy
  13188. }
  13189. }
  13190. if iNdEx > l {
  13191. return io.ErrUnexpectedEOF
  13192. }
  13193. return nil
  13194. }
  13195. func (m *Capabilities) Unmarshal(data []byte) error {
  13196. l := len(data)
  13197. iNdEx := 0
  13198. for iNdEx < l {
  13199. preIndex := iNdEx
  13200. var wire uint64
  13201. for shift := uint(0); ; shift += 7 {
  13202. if shift >= 64 {
  13203. return ErrIntOverflowGenerated
  13204. }
  13205. if iNdEx >= l {
  13206. return io.ErrUnexpectedEOF
  13207. }
  13208. b := data[iNdEx]
  13209. iNdEx++
  13210. wire |= (uint64(b) & 0x7F) << shift
  13211. if b < 0x80 {
  13212. break
  13213. }
  13214. }
  13215. fieldNum := int32(wire >> 3)
  13216. wireType := int(wire & 0x7)
  13217. if wireType == 4 {
  13218. return fmt.Errorf("proto: Capabilities: wiretype end group for non-group")
  13219. }
  13220. if fieldNum <= 0 {
  13221. return fmt.Errorf("proto: Capabilities: illegal tag %d (wire type %d)", fieldNum, wire)
  13222. }
  13223. switch fieldNum {
  13224. case 1:
  13225. if wireType != 2 {
  13226. return fmt.Errorf("proto: wrong wireType = %d for field Add", wireType)
  13227. }
  13228. var stringLen uint64
  13229. for shift := uint(0); ; shift += 7 {
  13230. if shift >= 64 {
  13231. return ErrIntOverflowGenerated
  13232. }
  13233. if iNdEx >= l {
  13234. return io.ErrUnexpectedEOF
  13235. }
  13236. b := data[iNdEx]
  13237. iNdEx++
  13238. stringLen |= (uint64(b) & 0x7F) << shift
  13239. if b < 0x80 {
  13240. break
  13241. }
  13242. }
  13243. intStringLen := int(stringLen)
  13244. if intStringLen < 0 {
  13245. return ErrInvalidLengthGenerated
  13246. }
  13247. postIndex := iNdEx + intStringLen
  13248. if postIndex > l {
  13249. return io.ErrUnexpectedEOF
  13250. }
  13251. m.Add = append(m.Add, Capability(data[iNdEx:postIndex]))
  13252. iNdEx = postIndex
  13253. case 2:
  13254. if wireType != 2 {
  13255. return fmt.Errorf("proto: wrong wireType = %d for field Drop", wireType)
  13256. }
  13257. var stringLen uint64
  13258. for shift := uint(0); ; shift += 7 {
  13259. if shift >= 64 {
  13260. return ErrIntOverflowGenerated
  13261. }
  13262. if iNdEx >= l {
  13263. return io.ErrUnexpectedEOF
  13264. }
  13265. b := data[iNdEx]
  13266. iNdEx++
  13267. stringLen |= (uint64(b) & 0x7F) << shift
  13268. if b < 0x80 {
  13269. break
  13270. }
  13271. }
  13272. intStringLen := int(stringLen)
  13273. if intStringLen < 0 {
  13274. return ErrInvalidLengthGenerated
  13275. }
  13276. postIndex := iNdEx + intStringLen
  13277. if postIndex > l {
  13278. return io.ErrUnexpectedEOF
  13279. }
  13280. m.Drop = append(m.Drop, Capability(data[iNdEx:postIndex]))
  13281. iNdEx = postIndex
  13282. default:
  13283. iNdEx = preIndex
  13284. skippy, err := skipGenerated(data[iNdEx:])
  13285. if err != nil {
  13286. return err
  13287. }
  13288. if skippy < 0 {
  13289. return ErrInvalidLengthGenerated
  13290. }
  13291. if (iNdEx + skippy) > l {
  13292. return io.ErrUnexpectedEOF
  13293. }
  13294. iNdEx += skippy
  13295. }
  13296. }
  13297. if iNdEx > l {
  13298. return io.ErrUnexpectedEOF
  13299. }
  13300. return nil
  13301. }
  13302. func (m *CephFSVolumeSource) Unmarshal(data []byte) error {
  13303. l := len(data)
  13304. iNdEx := 0
  13305. for iNdEx < l {
  13306. preIndex := iNdEx
  13307. var wire uint64
  13308. for shift := uint(0); ; shift += 7 {
  13309. if shift >= 64 {
  13310. return ErrIntOverflowGenerated
  13311. }
  13312. if iNdEx >= l {
  13313. return io.ErrUnexpectedEOF
  13314. }
  13315. b := data[iNdEx]
  13316. iNdEx++
  13317. wire |= (uint64(b) & 0x7F) << shift
  13318. if b < 0x80 {
  13319. break
  13320. }
  13321. }
  13322. fieldNum := int32(wire >> 3)
  13323. wireType := int(wire & 0x7)
  13324. if wireType == 4 {
  13325. return fmt.Errorf("proto: CephFSVolumeSource: wiretype end group for non-group")
  13326. }
  13327. if fieldNum <= 0 {
  13328. return fmt.Errorf("proto: CephFSVolumeSource: illegal tag %d (wire type %d)", fieldNum, wire)
  13329. }
  13330. switch fieldNum {
  13331. case 1:
  13332. if wireType != 2 {
  13333. return fmt.Errorf("proto: wrong wireType = %d for field Monitors", wireType)
  13334. }
  13335. var stringLen uint64
  13336. for shift := uint(0); ; shift += 7 {
  13337. if shift >= 64 {
  13338. return ErrIntOverflowGenerated
  13339. }
  13340. if iNdEx >= l {
  13341. return io.ErrUnexpectedEOF
  13342. }
  13343. b := data[iNdEx]
  13344. iNdEx++
  13345. stringLen |= (uint64(b) & 0x7F) << shift
  13346. if b < 0x80 {
  13347. break
  13348. }
  13349. }
  13350. intStringLen := int(stringLen)
  13351. if intStringLen < 0 {
  13352. return ErrInvalidLengthGenerated
  13353. }
  13354. postIndex := iNdEx + intStringLen
  13355. if postIndex > l {
  13356. return io.ErrUnexpectedEOF
  13357. }
  13358. m.Monitors = append(m.Monitors, string(data[iNdEx:postIndex]))
  13359. iNdEx = postIndex
  13360. case 2:
  13361. if wireType != 2 {
  13362. return fmt.Errorf("proto: wrong wireType = %d for field Path", wireType)
  13363. }
  13364. var stringLen uint64
  13365. for shift := uint(0); ; shift += 7 {
  13366. if shift >= 64 {
  13367. return ErrIntOverflowGenerated
  13368. }
  13369. if iNdEx >= l {
  13370. return io.ErrUnexpectedEOF
  13371. }
  13372. b := data[iNdEx]
  13373. iNdEx++
  13374. stringLen |= (uint64(b) & 0x7F) << shift
  13375. if b < 0x80 {
  13376. break
  13377. }
  13378. }
  13379. intStringLen := int(stringLen)
  13380. if intStringLen < 0 {
  13381. return ErrInvalidLengthGenerated
  13382. }
  13383. postIndex := iNdEx + intStringLen
  13384. if postIndex > l {
  13385. return io.ErrUnexpectedEOF
  13386. }
  13387. m.Path = string(data[iNdEx:postIndex])
  13388. iNdEx = postIndex
  13389. case 3:
  13390. if wireType != 2 {
  13391. return fmt.Errorf("proto: wrong wireType = %d for field User", wireType)
  13392. }
  13393. var stringLen uint64
  13394. for shift := uint(0); ; shift += 7 {
  13395. if shift >= 64 {
  13396. return ErrIntOverflowGenerated
  13397. }
  13398. if iNdEx >= l {
  13399. return io.ErrUnexpectedEOF
  13400. }
  13401. b := data[iNdEx]
  13402. iNdEx++
  13403. stringLen |= (uint64(b) & 0x7F) << shift
  13404. if b < 0x80 {
  13405. break
  13406. }
  13407. }
  13408. intStringLen := int(stringLen)
  13409. if intStringLen < 0 {
  13410. return ErrInvalidLengthGenerated
  13411. }
  13412. postIndex := iNdEx + intStringLen
  13413. if postIndex > l {
  13414. return io.ErrUnexpectedEOF
  13415. }
  13416. m.User = string(data[iNdEx:postIndex])
  13417. iNdEx = postIndex
  13418. case 4:
  13419. if wireType != 2 {
  13420. return fmt.Errorf("proto: wrong wireType = %d for field SecretFile", wireType)
  13421. }
  13422. var stringLen uint64
  13423. for shift := uint(0); ; shift += 7 {
  13424. if shift >= 64 {
  13425. return ErrIntOverflowGenerated
  13426. }
  13427. if iNdEx >= l {
  13428. return io.ErrUnexpectedEOF
  13429. }
  13430. b := data[iNdEx]
  13431. iNdEx++
  13432. stringLen |= (uint64(b) & 0x7F) << shift
  13433. if b < 0x80 {
  13434. break
  13435. }
  13436. }
  13437. intStringLen := int(stringLen)
  13438. if intStringLen < 0 {
  13439. return ErrInvalidLengthGenerated
  13440. }
  13441. postIndex := iNdEx + intStringLen
  13442. if postIndex > l {
  13443. return io.ErrUnexpectedEOF
  13444. }
  13445. m.SecretFile = string(data[iNdEx:postIndex])
  13446. iNdEx = postIndex
  13447. case 5:
  13448. if wireType != 2 {
  13449. return fmt.Errorf("proto: wrong wireType = %d for field SecretRef", wireType)
  13450. }
  13451. var msglen int
  13452. for shift := uint(0); ; shift += 7 {
  13453. if shift >= 64 {
  13454. return ErrIntOverflowGenerated
  13455. }
  13456. if iNdEx >= l {
  13457. return io.ErrUnexpectedEOF
  13458. }
  13459. b := data[iNdEx]
  13460. iNdEx++
  13461. msglen |= (int(b) & 0x7F) << shift
  13462. if b < 0x80 {
  13463. break
  13464. }
  13465. }
  13466. if msglen < 0 {
  13467. return ErrInvalidLengthGenerated
  13468. }
  13469. postIndex := iNdEx + msglen
  13470. if postIndex > l {
  13471. return io.ErrUnexpectedEOF
  13472. }
  13473. if m.SecretRef == nil {
  13474. m.SecretRef = &LocalObjectReference{}
  13475. }
  13476. if err := m.SecretRef.Unmarshal(data[iNdEx:postIndex]); err != nil {
  13477. return err
  13478. }
  13479. iNdEx = postIndex
  13480. case 6:
  13481. if wireType != 0 {
  13482. return fmt.Errorf("proto: wrong wireType = %d for field ReadOnly", wireType)
  13483. }
  13484. var v int
  13485. for shift := uint(0); ; shift += 7 {
  13486. if shift >= 64 {
  13487. return ErrIntOverflowGenerated
  13488. }
  13489. if iNdEx >= l {
  13490. return io.ErrUnexpectedEOF
  13491. }
  13492. b := data[iNdEx]
  13493. iNdEx++
  13494. v |= (int(b) & 0x7F) << shift
  13495. if b < 0x80 {
  13496. break
  13497. }
  13498. }
  13499. m.ReadOnly = bool(v != 0)
  13500. default:
  13501. iNdEx = preIndex
  13502. skippy, err := skipGenerated(data[iNdEx:])
  13503. if err != nil {
  13504. return err
  13505. }
  13506. if skippy < 0 {
  13507. return ErrInvalidLengthGenerated
  13508. }
  13509. if (iNdEx + skippy) > l {
  13510. return io.ErrUnexpectedEOF
  13511. }
  13512. iNdEx += skippy
  13513. }
  13514. }
  13515. if iNdEx > l {
  13516. return io.ErrUnexpectedEOF
  13517. }
  13518. return nil
  13519. }
  13520. func (m *CinderVolumeSource) Unmarshal(data []byte) error {
  13521. l := len(data)
  13522. iNdEx := 0
  13523. for iNdEx < l {
  13524. preIndex := iNdEx
  13525. var wire uint64
  13526. for shift := uint(0); ; shift += 7 {
  13527. if shift >= 64 {
  13528. return ErrIntOverflowGenerated
  13529. }
  13530. if iNdEx >= l {
  13531. return io.ErrUnexpectedEOF
  13532. }
  13533. b := data[iNdEx]
  13534. iNdEx++
  13535. wire |= (uint64(b) & 0x7F) << shift
  13536. if b < 0x80 {
  13537. break
  13538. }
  13539. }
  13540. fieldNum := int32(wire >> 3)
  13541. wireType := int(wire & 0x7)
  13542. if wireType == 4 {
  13543. return fmt.Errorf("proto: CinderVolumeSource: wiretype end group for non-group")
  13544. }
  13545. if fieldNum <= 0 {
  13546. return fmt.Errorf("proto: CinderVolumeSource: illegal tag %d (wire type %d)", fieldNum, wire)
  13547. }
  13548. switch fieldNum {
  13549. case 1:
  13550. if wireType != 2 {
  13551. return fmt.Errorf("proto: wrong wireType = %d for field VolumeID", wireType)
  13552. }
  13553. var stringLen uint64
  13554. for shift := uint(0); ; shift += 7 {
  13555. if shift >= 64 {
  13556. return ErrIntOverflowGenerated
  13557. }
  13558. if iNdEx >= l {
  13559. return io.ErrUnexpectedEOF
  13560. }
  13561. b := data[iNdEx]
  13562. iNdEx++
  13563. stringLen |= (uint64(b) & 0x7F) << shift
  13564. if b < 0x80 {
  13565. break
  13566. }
  13567. }
  13568. intStringLen := int(stringLen)
  13569. if intStringLen < 0 {
  13570. return ErrInvalidLengthGenerated
  13571. }
  13572. postIndex := iNdEx + intStringLen
  13573. if postIndex > l {
  13574. return io.ErrUnexpectedEOF
  13575. }
  13576. m.VolumeID = string(data[iNdEx:postIndex])
  13577. iNdEx = postIndex
  13578. case 2:
  13579. if wireType != 2 {
  13580. return fmt.Errorf("proto: wrong wireType = %d for field FSType", wireType)
  13581. }
  13582. var stringLen uint64
  13583. for shift := uint(0); ; shift += 7 {
  13584. if shift >= 64 {
  13585. return ErrIntOverflowGenerated
  13586. }
  13587. if iNdEx >= l {
  13588. return io.ErrUnexpectedEOF
  13589. }
  13590. b := data[iNdEx]
  13591. iNdEx++
  13592. stringLen |= (uint64(b) & 0x7F) << shift
  13593. if b < 0x80 {
  13594. break
  13595. }
  13596. }
  13597. intStringLen := int(stringLen)
  13598. if intStringLen < 0 {
  13599. return ErrInvalidLengthGenerated
  13600. }
  13601. postIndex := iNdEx + intStringLen
  13602. if postIndex > l {
  13603. return io.ErrUnexpectedEOF
  13604. }
  13605. m.FSType = string(data[iNdEx:postIndex])
  13606. iNdEx = postIndex
  13607. case 3:
  13608. if wireType != 0 {
  13609. return fmt.Errorf("proto: wrong wireType = %d for field ReadOnly", wireType)
  13610. }
  13611. var v int
  13612. for shift := uint(0); ; shift += 7 {
  13613. if shift >= 64 {
  13614. return ErrIntOverflowGenerated
  13615. }
  13616. if iNdEx >= l {
  13617. return io.ErrUnexpectedEOF
  13618. }
  13619. b := data[iNdEx]
  13620. iNdEx++
  13621. v |= (int(b) & 0x7F) << shift
  13622. if b < 0x80 {
  13623. break
  13624. }
  13625. }
  13626. m.ReadOnly = bool(v != 0)
  13627. default:
  13628. iNdEx = preIndex
  13629. skippy, err := skipGenerated(data[iNdEx:])
  13630. if err != nil {
  13631. return err
  13632. }
  13633. if skippy < 0 {
  13634. return ErrInvalidLengthGenerated
  13635. }
  13636. if (iNdEx + skippy) > l {
  13637. return io.ErrUnexpectedEOF
  13638. }
  13639. iNdEx += skippy
  13640. }
  13641. }
  13642. if iNdEx > l {
  13643. return io.ErrUnexpectedEOF
  13644. }
  13645. return nil
  13646. }
  13647. func (m *ComponentCondition) Unmarshal(data []byte) error {
  13648. l := len(data)
  13649. iNdEx := 0
  13650. for iNdEx < l {
  13651. preIndex := iNdEx
  13652. var wire uint64
  13653. for shift := uint(0); ; shift += 7 {
  13654. if shift >= 64 {
  13655. return ErrIntOverflowGenerated
  13656. }
  13657. if iNdEx >= l {
  13658. return io.ErrUnexpectedEOF
  13659. }
  13660. b := data[iNdEx]
  13661. iNdEx++
  13662. wire |= (uint64(b) & 0x7F) << shift
  13663. if b < 0x80 {
  13664. break
  13665. }
  13666. }
  13667. fieldNum := int32(wire >> 3)
  13668. wireType := int(wire & 0x7)
  13669. if wireType == 4 {
  13670. return fmt.Errorf("proto: ComponentCondition: wiretype end group for non-group")
  13671. }
  13672. if fieldNum <= 0 {
  13673. return fmt.Errorf("proto: ComponentCondition: illegal tag %d (wire type %d)", fieldNum, wire)
  13674. }
  13675. switch fieldNum {
  13676. case 1:
  13677. if wireType != 2 {
  13678. return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType)
  13679. }
  13680. var stringLen uint64
  13681. for shift := uint(0); ; shift += 7 {
  13682. if shift >= 64 {
  13683. return ErrIntOverflowGenerated
  13684. }
  13685. if iNdEx >= l {
  13686. return io.ErrUnexpectedEOF
  13687. }
  13688. b := data[iNdEx]
  13689. iNdEx++
  13690. stringLen |= (uint64(b) & 0x7F) << shift
  13691. if b < 0x80 {
  13692. break
  13693. }
  13694. }
  13695. intStringLen := int(stringLen)
  13696. if intStringLen < 0 {
  13697. return ErrInvalidLengthGenerated
  13698. }
  13699. postIndex := iNdEx + intStringLen
  13700. if postIndex > l {
  13701. return io.ErrUnexpectedEOF
  13702. }
  13703. m.Type = ComponentConditionType(data[iNdEx:postIndex])
  13704. iNdEx = postIndex
  13705. case 2:
  13706. if wireType != 2 {
  13707. return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
  13708. }
  13709. var stringLen uint64
  13710. for shift := uint(0); ; shift += 7 {
  13711. if shift >= 64 {
  13712. return ErrIntOverflowGenerated
  13713. }
  13714. if iNdEx >= l {
  13715. return io.ErrUnexpectedEOF
  13716. }
  13717. b := data[iNdEx]
  13718. iNdEx++
  13719. stringLen |= (uint64(b) & 0x7F) << shift
  13720. if b < 0x80 {
  13721. break
  13722. }
  13723. }
  13724. intStringLen := int(stringLen)
  13725. if intStringLen < 0 {
  13726. return ErrInvalidLengthGenerated
  13727. }
  13728. postIndex := iNdEx + intStringLen
  13729. if postIndex > l {
  13730. return io.ErrUnexpectedEOF
  13731. }
  13732. m.Status = ConditionStatus(data[iNdEx:postIndex])
  13733. iNdEx = postIndex
  13734. case 3:
  13735. if wireType != 2 {
  13736. return fmt.Errorf("proto: wrong wireType = %d for field Message", wireType)
  13737. }
  13738. var stringLen uint64
  13739. for shift := uint(0); ; shift += 7 {
  13740. if shift >= 64 {
  13741. return ErrIntOverflowGenerated
  13742. }
  13743. if iNdEx >= l {
  13744. return io.ErrUnexpectedEOF
  13745. }
  13746. b := data[iNdEx]
  13747. iNdEx++
  13748. stringLen |= (uint64(b) & 0x7F) << shift
  13749. if b < 0x80 {
  13750. break
  13751. }
  13752. }
  13753. intStringLen := int(stringLen)
  13754. if intStringLen < 0 {
  13755. return ErrInvalidLengthGenerated
  13756. }
  13757. postIndex := iNdEx + intStringLen
  13758. if postIndex > l {
  13759. return io.ErrUnexpectedEOF
  13760. }
  13761. m.Message = string(data[iNdEx:postIndex])
  13762. iNdEx = postIndex
  13763. case 4:
  13764. if wireType != 2 {
  13765. return fmt.Errorf("proto: wrong wireType = %d for field Error", wireType)
  13766. }
  13767. var stringLen uint64
  13768. for shift := uint(0); ; shift += 7 {
  13769. if shift >= 64 {
  13770. return ErrIntOverflowGenerated
  13771. }
  13772. if iNdEx >= l {
  13773. return io.ErrUnexpectedEOF
  13774. }
  13775. b := data[iNdEx]
  13776. iNdEx++
  13777. stringLen |= (uint64(b) & 0x7F) << shift
  13778. if b < 0x80 {
  13779. break
  13780. }
  13781. }
  13782. intStringLen := int(stringLen)
  13783. if intStringLen < 0 {
  13784. return ErrInvalidLengthGenerated
  13785. }
  13786. postIndex := iNdEx + intStringLen
  13787. if postIndex > l {
  13788. return io.ErrUnexpectedEOF
  13789. }
  13790. m.Error = string(data[iNdEx:postIndex])
  13791. iNdEx = postIndex
  13792. default:
  13793. iNdEx = preIndex
  13794. skippy, err := skipGenerated(data[iNdEx:])
  13795. if err != nil {
  13796. return err
  13797. }
  13798. if skippy < 0 {
  13799. return ErrInvalidLengthGenerated
  13800. }
  13801. if (iNdEx + skippy) > l {
  13802. return io.ErrUnexpectedEOF
  13803. }
  13804. iNdEx += skippy
  13805. }
  13806. }
  13807. if iNdEx > l {
  13808. return io.ErrUnexpectedEOF
  13809. }
  13810. return nil
  13811. }
  13812. func (m *ComponentStatus) Unmarshal(data []byte) error {
  13813. l := len(data)
  13814. iNdEx := 0
  13815. for iNdEx < l {
  13816. preIndex := iNdEx
  13817. var wire uint64
  13818. for shift := uint(0); ; shift += 7 {
  13819. if shift >= 64 {
  13820. return ErrIntOverflowGenerated
  13821. }
  13822. if iNdEx >= l {
  13823. return io.ErrUnexpectedEOF
  13824. }
  13825. b := data[iNdEx]
  13826. iNdEx++
  13827. wire |= (uint64(b) & 0x7F) << shift
  13828. if b < 0x80 {
  13829. break
  13830. }
  13831. }
  13832. fieldNum := int32(wire >> 3)
  13833. wireType := int(wire & 0x7)
  13834. if wireType == 4 {
  13835. return fmt.Errorf("proto: ComponentStatus: wiretype end group for non-group")
  13836. }
  13837. if fieldNum <= 0 {
  13838. return fmt.Errorf("proto: ComponentStatus: illegal tag %d (wire type %d)", fieldNum, wire)
  13839. }
  13840. switch fieldNum {
  13841. case 1:
  13842. if wireType != 2 {
  13843. return fmt.Errorf("proto: wrong wireType = %d for field ObjectMeta", wireType)
  13844. }
  13845. var msglen int
  13846. for shift := uint(0); ; shift += 7 {
  13847. if shift >= 64 {
  13848. return ErrIntOverflowGenerated
  13849. }
  13850. if iNdEx >= l {
  13851. return io.ErrUnexpectedEOF
  13852. }
  13853. b := data[iNdEx]
  13854. iNdEx++
  13855. msglen |= (int(b) & 0x7F) << shift
  13856. if b < 0x80 {
  13857. break
  13858. }
  13859. }
  13860. if msglen < 0 {
  13861. return ErrInvalidLengthGenerated
  13862. }
  13863. postIndex := iNdEx + msglen
  13864. if postIndex > l {
  13865. return io.ErrUnexpectedEOF
  13866. }
  13867. if err := m.ObjectMeta.Unmarshal(data[iNdEx:postIndex]); err != nil {
  13868. return err
  13869. }
  13870. iNdEx = postIndex
  13871. case 2:
  13872. if wireType != 2 {
  13873. return fmt.Errorf("proto: wrong wireType = %d for field Conditions", wireType)
  13874. }
  13875. var msglen int
  13876. for shift := uint(0); ; shift += 7 {
  13877. if shift >= 64 {
  13878. return ErrIntOverflowGenerated
  13879. }
  13880. if iNdEx >= l {
  13881. return io.ErrUnexpectedEOF
  13882. }
  13883. b := data[iNdEx]
  13884. iNdEx++
  13885. msglen |= (int(b) & 0x7F) << shift
  13886. if b < 0x80 {
  13887. break
  13888. }
  13889. }
  13890. if msglen < 0 {
  13891. return ErrInvalidLengthGenerated
  13892. }
  13893. postIndex := iNdEx + msglen
  13894. if postIndex > l {
  13895. return io.ErrUnexpectedEOF
  13896. }
  13897. m.Conditions = append(m.Conditions, ComponentCondition{})
  13898. if err := m.Conditions[len(m.Conditions)-1].Unmarshal(data[iNdEx:postIndex]); err != nil {
  13899. return err
  13900. }
  13901. iNdEx = postIndex
  13902. default:
  13903. iNdEx = preIndex
  13904. skippy, err := skipGenerated(data[iNdEx:])
  13905. if err != nil {
  13906. return err
  13907. }
  13908. if skippy < 0 {
  13909. return ErrInvalidLengthGenerated
  13910. }
  13911. if (iNdEx + skippy) > l {
  13912. return io.ErrUnexpectedEOF
  13913. }
  13914. iNdEx += skippy
  13915. }
  13916. }
  13917. if iNdEx > l {
  13918. return io.ErrUnexpectedEOF
  13919. }
  13920. return nil
  13921. }
  13922. func (m *ComponentStatusList) Unmarshal(data []byte) error {
  13923. l := len(data)
  13924. iNdEx := 0
  13925. for iNdEx < l {
  13926. preIndex := iNdEx
  13927. var wire uint64
  13928. for shift := uint(0); ; shift += 7 {
  13929. if shift >= 64 {
  13930. return ErrIntOverflowGenerated
  13931. }
  13932. if iNdEx >= l {
  13933. return io.ErrUnexpectedEOF
  13934. }
  13935. b := data[iNdEx]
  13936. iNdEx++
  13937. wire |= (uint64(b) & 0x7F) << shift
  13938. if b < 0x80 {
  13939. break
  13940. }
  13941. }
  13942. fieldNum := int32(wire >> 3)
  13943. wireType := int(wire & 0x7)
  13944. if wireType == 4 {
  13945. return fmt.Errorf("proto: ComponentStatusList: wiretype end group for non-group")
  13946. }
  13947. if fieldNum <= 0 {
  13948. return fmt.Errorf("proto: ComponentStatusList: illegal tag %d (wire type %d)", fieldNum, wire)
  13949. }
  13950. switch fieldNum {
  13951. case 1:
  13952. if wireType != 2 {
  13953. return fmt.Errorf("proto: wrong wireType = %d for field ListMeta", wireType)
  13954. }
  13955. var msglen int
  13956. for shift := uint(0); ; shift += 7 {
  13957. if shift >= 64 {
  13958. return ErrIntOverflowGenerated
  13959. }
  13960. if iNdEx >= l {
  13961. return io.ErrUnexpectedEOF
  13962. }
  13963. b := data[iNdEx]
  13964. iNdEx++
  13965. msglen |= (int(b) & 0x7F) << shift
  13966. if b < 0x80 {
  13967. break
  13968. }
  13969. }
  13970. if msglen < 0 {
  13971. return ErrInvalidLengthGenerated
  13972. }
  13973. postIndex := iNdEx + msglen
  13974. if postIndex > l {
  13975. return io.ErrUnexpectedEOF
  13976. }
  13977. if err := m.ListMeta.Unmarshal(data[iNdEx:postIndex]); err != nil {
  13978. return err
  13979. }
  13980. iNdEx = postIndex
  13981. case 2:
  13982. if wireType != 2 {
  13983. return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType)
  13984. }
  13985. var msglen int
  13986. for shift := uint(0); ; shift += 7 {
  13987. if shift >= 64 {
  13988. return ErrIntOverflowGenerated
  13989. }
  13990. if iNdEx >= l {
  13991. return io.ErrUnexpectedEOF
  13992. }
  13993. b := data[iNdEx]
  13994. iNdEx++
  13995. msglen |= (int(b) & 0x7F) << shift
  13996. if b < 0x80 {
  13997. break
  13998. }
  13999. }
  14000. if msglen < 0 {
  14001. return ErrInvalidLengthGenerated
  14002. }
  14003. postIndex := iNdEx + msglen
  14004. if postIndex > l {
  14005. return io.ErrUnexpectedEOF
  14006. }
  14007. m.Items = append(m.Items, ComponentStatus{})
  14008. if err := m.Items[len(m.Items)-1].Unmarshal(data[iNdEx:postIndex]); err != nil {
  14009. return err
  14010. }
  14011. iNdEx = postIndex
  14012. default:
  14013. iNdEx = preIndex
  14014. skippy, err := skipGenerated(data[iNdEx:])
  14015. if err != nil {
  14016. return err
  14017. }
  14018. if skippy < 0 {
  14019. return ErrInvalidLengthGenerated
  14020. }
  14021. if (iNdEx + skippy) > l {
  14022. return io.ErrUnexpectedEOF
  14023. }
  14024. iNdEx += skippy
  14025. }
  14026. }
  14027. if iNdEx > l {
  14028. return io.ErrUnexpectedEOF
  14029. }
  14030. return nil
  14031. }
  14032. func (m *ConfigMap) Unmarshal(data []byte) error {
  14033. l := len(data)
  14034. iNdEx := 0
  14035. for iNdEx < l {
  14036. preIndex := iNdEx
  14037. var wire uint64
  14038. for shift := uint(0); ; shift += 7 {
  14039. if shift >= 64 {
  14040. return ErrIntOverflowGenerated
  14041. }
  14042. if iNdEx >= l {
  14043. return io.ErrUnexpectedEOF
  14044. }
  14045. b := data[iNdEx]
  14046. iNdEx++
  14047. wire |= (uint64(b) & 0x7F) << shift
  14048. if b < 0x80 {
  14049. break
  14050. }
  14051. }
  14052. fieldNum := int32(wire >> 3)
  14053. wireType := int(wire & 0x7)
  14054. if wireType == 4 {
  14055. return fmt.Errorf("proto: ConfigMap: wiretype end group for non-group")
  14056. }
  14057. if fieldNum <= 0 {
  14058. return fmt.Errorf("proto: ConfigMap: illegal tag %d (wire type %d)", fieldNum, wire)
  14059. }
  14060. switch fieldNum {
  14061. case 1:
  14062. if wireType != 2 {
  14063. return fmt.Errorf("proto: wrong wireType = %d for field ObjectMeta", wireType)
  14064. }
  14065. var msglen int
  14066. for shift := uint(0); ; shift += 7 {
  14067. if shift >= 64 {
  14068. return ErrIntOverflowGenerated
  14069. }
  14070. if iNdEx >= l {
  14071. return io.ErrUnexpectedEOF
  14072. }
  14073. b := data[iNdEx]
  14074. iNdEx++
  14075. msglen |= (int(b) & 0x7F) << shift
  14076. if b < 0x80 {
  14077. break
  14078. }
  14079. }
  14080. if msglen < 0 {
  14081. return ErrInvalidLengthGenerated
  14082. }
  14083. postIndex := iNdEx + msglen
  14084. if postIndex > l {
  14085. return io.ErrUnexpectedEOF
  14086. }
  14087. if err := m.ObjectMeta.Unmarshal(data[iNdEx:postIndex]); err != nil {
  14088. return err
  14089. }
  14090. iNdEx = postIndex
  14091. case 2:
  14092. if wireType != 2 {
  14093. return fmt.Errorf("proto: wrong wireType = %d for field Data", wireType)
  14094. }
  14095. var msglen int
  14096. for shift := uint(0); ; shift += 7 {
  14097. if shift >= 64 {
  14098. return ErrIntOverflowGenerated
  14099. }
  14100. if iNdEx >= l {
  14101. return io.ErrUnexpectedEOF
  14102. }
  14103. b := data[iNdEx]
  14104. iNdEx++
  14105. msglen |= (int(b) & 0x7F) << shift
  14106. if b < 0x80 {
  14107. break
  14108. }
  14109. }
  14110. if msglen < 0 {
  14111. return ErrInvalidLengthGenerated
  14112. }
  14113. postIndex := iNdEx + msglen
  14114. if postIndex > l {
  14115. return io.ErrUnexpectedEOF
  14116. }
  14117. var keykey uint64
  14118. for shift := uint(0); ; shift += 7 {
  14119. if shift >= 64 {
  14120. return ErrIntOverflowGenerated
  14121. }
  14122. if iNdEx >= l {
  14123. return io.ErrUnexpectedEOF
  14124. }
  14125. b := data[iNdEx]
  14126. iNdEx++
  14127. keykey |= (uint64(b) & 0x7F) << shift
  14128. if b < 0x80 {
  14129. break
  14130. }
  14131. }
  14132. var stringLenmapkey uint64
  14133. for shift := uint(0); ; shift += 7 {
  14134. if shift >= 64 {
  14135. return ErrIntOverflowGenerated
  14136. }
  14137. if iNdEx >= l {
  14138. return io.ErrUnexpectedEOF
  14139. }
  14140. b := data[iNdEx]
  14141. iNdEx++
  14142. stringLenmapkey |= (uint64(b) & 0x7F) << shift
  14143. if b < 0x80 {
  14144. break
  14145. }
  14146. }
  14147. intStringLenmapkey := int(stringLenmapkey)
  14148. if intStringLenmapkey < 0 {
  14149. return ErrInvalidLengthGenerated
  14150. }
  14151. postStringIndexmapkey := iNdEx + intStringLenmapkey
  14152. if postStringIndexmapkey > l {
  14153. return io.ErrUnexpectedEOF
  14154. }
  14155. mapkey := string(data[iNdEx:postStringIndexmapkey])
  14156. iNdEx = postStringIndexmapkey
  14157. var valuekey uint64
  14158. for shift := uint(0); ; shift += 7 {
  14159. if shift >= 64 {
  14160. return ErrIntOverflowGenerated
  14161. }
  14162. if iNdEx >= l {
  14163. return io.ErrUnexpectedEOF
  14164. }
  14165. b := data[iNdEx]
  14166. iNdEx++
  14167. valuekey |= (uint64(b) & 0x7F) << shift
  14168. if b < 0x80 {
  14169. break
  14170. }
  14171. }
  14172. var stringLenmapvalue uint64
  14173. for shift := uint(0); ; shift += 7 {
  14174. if shift >= 64 {
  14175. return ErrIntOverflowGenerated
  14176. }
  14177. if iNdEx >= l {
  14178. return io.ErrUnexpectedEOF
  14179. }
  14180. b := data[iNdEx]
  14181. iNdEx++
  14182. stringLenmapvalue |= (uint64(b) & 0x7F) << shift
  14183. if b < 0x80 {
  14184. break
  14185. }
  14186. }
  14187. intStringLenmapvalue := int(stringLenmapvalue)
  14188. if intStringLenmapvalue < 0 {
  14189. return ErrInvalidLengthGenerated
  14190. }
  14191. postStringIndexmapvalue := iNdEx + intStringLenmapvalue
  14192. if postStringIndexmapvalue > l {
  14193. return io.ErrUnexpectedEOF
  14194. }
  14195. mapvalue := string(data[iNdEx:postStringIndexmapvalue])
  14196. iNdEx = postStringIndexmapvalue
  14197. if m.Data == nil {
  14198. m.Data = make(map[string]string)
  14199. }
  14200. m.Data[mapkey] = mapvalue
  14201. iNdEx = postIndex
  14202. default:
  14203. iNdEx = preIndex
  14204. skippy, err := skipGenerated(data[iNdEx:])
  14205. if err != nil {
  14206. return err
  14207. }
  14208. if skippy < 0 {
  14209. return ErrInvalidLengthGenerated
  14210. }
  14211. if (iNdEx + skippy) > l {
  14212. return io.ErrUnexpectedEOF
  14213. }
  14214. iNdEx += skippy
  14215. }
  14216. }
  14217. if iNdEx > l {
  14218. return io.ErrUnexpectedEOF
  14219. }
  14220. return nil
  14221. }
  14222. func (m *ConfigMapKeySelector) Unmarshal(data []byte) error {
  14223. l := len(data)
  14224. iNdEx := 0
  14225. for iNdEx < l {
  14226. preIndex := iNdEx
  14227. var wire uint64
  14228. for shift := uint(0); ; shift += 7 {
  14229. if shift >= 64 {
  14230. return ErrIntOverflowGenerated
  14231. }
  14232. if iNdEx >= l {
  14233. return io.ErrUnexpectedEOF
  14234. }
  14235. b := data[iNdEx]
  14236. iNdEx++
  14237. wire |= (uint64(b) & 0x7F) << shift
  14238. if b < 0x80 {
  14239. break
  14240. }
  14241. }
  14242. fieldNum := int32(wire >> 3)
  14243. wireType := int(wire & 0x7)
  14244. if wireType == 4 {
  14245. return fmt.Errorf("proto: ConfigMapKeySelector: wiretype end group for non-group")
  14246. }
  14247. if fieldNum <= 0 {
  14248. return fmt.Errorf("proto: ConfigMapKeySelector: illegal tag %d (wire type %d)", fieldNum, wire)
  14249. }
  14250. switch fieldNum {
  14251. case 1:
  14252. if wireType != 2 {
  14253. return fmt.Errorf("proto: wrong wireType = %d for field LocalObjectReference", wireType)
  14254. }
  14255. var msglen int
  14256. for shift := uint(0); ; shift += 7 {
  14257. if shift >= 64 {
  14258. return ErrIntOverflowGenerated
  14259. }
  14260. if iNdEx >= l {
  14261. return io.ErrUnexpectedEOF
  14262. }
  14263. b := data[iNdEx]
  14264. iNdEx++
  14265. msglen |= (int(b) & 0x7F) << shift
  14266. if b < 0x80 {
  14267. break
  14268. }
  14269. }
  14270. if msglen < 0 {
  14271. return ErrInvalidLengthGenerated
  14272. }
  14273. postIndex := iNdEx + msglen
  14274. if postIndex > l {
  14275. return io.ErrUnexpectedEOF
  14276. }
  14277. if err := m.LocalObjectReference.Unmarshal(data[iNdEx:postIndex]); err != nil {
  14278. return err
  14279. }
  14280. iNdEx = postIndex
  14281. case 2:
  14282. if wireType != 2 {
  14283. return fmt.Errorf("proto: wrong wireType = %d for field Key", wireType)
  14284. }
  14285. var stringLen uint64
  14286. for shift := uint(0); ; shift += 7 {
  14287. if shift >= 64 {
  14288. return ErrIntOverflowGenerated
  14289. }
  14290. if iNdEx >= l {
  14291. return io.ErrUnexpectedEOF
  14292. }
  14293. b := data[iNdEx]
  14294. iNdEx++
  14295. stringLen |= (uint64(b) & 0x7F) << shift
  14296. if b < 0x80 {
  14297. break
  14298. }
  14299. }
  14300. intStringLen := int(stringLen)
  14301. if intStringLen < 0 {
  14302. return ErrInvalidLengthGenerated
  14303. }
  14304. postIndex := iNdEx + intStringLen
  14305. if postIndex > l {
  14306. return io.ErrUnexpectedEOF
  14307. }
  14308. m.Key = string(data[iNdEx:postIndex])
  14309. iNdEx = postIndex
  14310. default:
  14311. iNdEx = preIndex
  14312. skippy, err := skipGenerated(data[iNdEx:])
  14313. if err != nil {
  14314. return err
  14315. }
  14316. if skippy < 0 {
  14317. return ErrInvalidLengthGenerated
  14318. }
  14319. if (iNdEx + skippy) > l {
  14320. return io.ErrUnexpectedEOF
  14321. }
  14322. iNdEx += skippy
  14323. }
  14324. }
  14325. if iNdEx > l {
  14326. return io.ErrUnexpectedEOF
  14327. }
  14328. return nil
  14329. }
  14330. func (m *ConfigMapList) Unmarshal(data []byte) error {
  14331. l := len(data)
  14332. iNdEx := 0
  14333. for iNdEx < l {
  14334. preIndex := iNdEx
  14335. var wire uint64
  14336. for shift := uint(0); ; shift += 7 {
  14337. if shift >= 64 {
  14338. return ErrIntOverflowGenerated
  14339. }
  14340. if iNdEx >= l {
  14341. return io.ErrUnexpectedEOF
  14342. }
  14343. b := data[iNdEx]
  14344. iNdEx++
  14345. wire |= (uint64(b) & 0x7F) << shift
  14346. if b < 0x80 {
  14347. break
  14348. }
  14349. }
  14350. fieldNum := int32(wire >> 3)
  14351. wireType := int(wire & 0x7)
  14352. if wireType == 4 {
  14353. return fmt.Errorf("proto: ConfigMapList: wiretype end group for non-group")
  14354. }
  14355. if fieldNum <= 0 {
  14356. return fmt.Errorf("proto: ConfigMapList: illegal tag %d (wire type %d)", fieldNum, wire)
  14357. }
  14358. switch fieldNum {
  14359. case 1:
  14360. if wireType != 2 {
  14361. return fmt.Errorf("proto: wrong wireType = %d for field ListMeta", wireType)
  14362. }
  14363. var msglen int
  14364. for shift := uint(0); ; shift += 7 {
  14365. if shift >= 64 {
  14366. return ErrIntOverflowGenerated
  14367. }
  14368. if iNdEx >= l {
  14369. return io.ErrUnexpectedEOF
  14370. }
  14371. b := data[iNdEx]
  14372. iNdEx++
  14373. msglen |= (int(b) & 0x7F) << shift
  14374. if b < 0x80 {
  14375. break
  14376. }
  14377. }
  14378. if msglen < 0 {
  14379. return ErrInvalidLengthGenerated
  14380. }
  14381. postIndex := iNdEx + msglen
  14382. if postIndex > l {
  14383. return io.ErrUnexpectedEOF
  14384. }
  14385. if err := m.ListMeta.Unmarshal(data[iNdEx:postIndex]); err != nil {
  14386. return err
  14387. }
  14388. iNdEx = postIndex
  14389. case 2:
  14390. if wireType != 2 {
  14391. return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType)
  14392. }
  14393. var msglen int
  14394. for shift := uint(0); ; shift += 7 {
  14395. if shift >= 64 {
  14396. return ErrIntOverflowGenerated
  14397. }
  14398. if iNdEx >= l {
  14399. return io.ErrUnexpectedEOF
  14400. }
  14401. b := data[iNdEx]
  14402. iNdEx++
  14403. msglen |= (int(b) & 0x7F) << shift
  14404. if b < 0x80 {
  14405. break
  14406. }
  14407. }
  14408. if msglen < 0 {
  14409. return ErrInvalidLengthGenerated
  14410. }
  14411. postIndex := iNdEx + msglen
  14412. if postIndex > l {
  14413. return io.ErrUnexpectedEOF
  14414. }
  14415. m.Items = append(m.Items, ConfigMap{})
  14416. if err := m.Items[len(m.Items)-1].Unmarshal(data[iNdEx:postIndex]); err != nil {
  14417. return err
  14418. }
  14419. iNdEx = postIndex
  14420. default:
  14421. iNdEx = preIndex
  14422. skippy, err := skipGenerated(data[iNdEx:])
  14423. if err != nil {
  14424. return err
  14425. }
  14426. if skippy < 0 {
  14427. return ErrInvalidLengthGenerated
  14428. }
  14429. if (iNdEx + skippy) > l {
  14430. return io.ErrUnexpectedEOF
  14431. }
  14432. iNdEx += skippy
  14433. }
  14434. }
  14435. if iNdEx > l {
  14436. return io.ErrUnexpectedEOF
  14437. }
  14438. return nil
  14439. }
  14440. func (m *ConfigMapVolumeSource) Unmarshal(data []byte) error {
  14441. l := len(data)
  14442. iNdEx := 0
  14443. for iNdEx < l {
  14444. preIndex := iNdEx
  14445. var wire uint64
  14446. for shift := uint(0); ; shift += 7 {
  14447. if shift >= 64 {
  14448. return ErrIntOverflowGenerated
  14449. }
  14450. if iNdEx >= l {
  14451. return io.ErrUnexpectedEOF
  14452. }
  14453. b := data[iNdEx]
  14454. iNdEx++
  14455. wire |= (uint64(b) & 0x7F) << shift
  14456. if b < 0x80 {
  14457. break
  14458. }
  14459. }
  14460. fieldNum := int32(wire >> 3)
  14461. wireType := int(wire & 0x7)
  14462. if wireType == 4 {
  14463. return fmt.Errorf("proto: ConfigMapVolumeSource: wiretype end group for non-group")
  14464. }
  14465. if fieldNum <= 0 {
  14466. return fmt.Errorf("proto: ConfigMapVolumeSource: illegal tag %d (wire type %d)", fieldNum, wire)
  14467. }
  14468. switch fieldNum {
  14469. case 1:
  14470. if wireType != 2 {
  14471. return fmt.Errorf("proto: wrong wireType = %d for field LocalObjectReference", wireType)
  14472. }
  14473. var msglen int
  14474. for shift := uint(0); ; shift += 7 {
  14475. if shift >= 64 {
  14476. return ErrIntOverflowGenerated
  14477. }
  14478. if iNdEx >= l {
  14479. return io.ErrUnexpectedEOF
  14480. }
  14481. b := data[iNdEx]
  14482. iNdEx++
  14483. msglen |= (int(b) & 0x7F) << shift
  14484. if b < 0x80 {
  14485. break
  14486. }
  14487. }
  14488. if msglen < 0 {
  14489. return ErrInvalidLengthGenerated
  14490. }
  14491. postIndex := iNdEx + msglen
  14492. if postIndex > l {
  14493. return io.ErrUnexpectedEOF
  14494. }
  14495. if err := m.LocalObjectReference.Unmarshal(data[iNdEx:postIndex]); err != nil {
  14496. return err
  14497. }
  14498. iNdEx = postIndex
  14499. case 2:
  14500. if wireType != 2 {
  14501. return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType)
  14502. }
  14503. var msglen int
  14504. for shift := uint(0); ; shift += 7 {
  14505. if shift >= 64 {
  14506. return ErrIntOverflowGenerated
  14507. }
  14508. if iNdEx >= l {
  14509. return io.ErrUnexpectedEOF
  14510. }
  14511. b := data[iNdEx]
  14512. iNdEx++
  14513. msglen |= (int(b) & 0x7F) << shift
  14514. if b < 0x80 {
  14515. break
  14516. }
  14517. }
  14518. if msglen < 0 {
  14519. return ErrInvalidLengthGenerated
  14520. }
  14521. postIndex := iNdEx + msglen
  14522. if postIndex > l {
  14523. return io.ErrUnexpectedEOF
  14524. }
  14525. m.Items = append(m.Items, KeyToPath{})
  14526. if err := m.Items[len(m.Items)-1].Unmarshal(data[iNdEx:postIndex]); err != nil {
  14527. return err
  14528. }
  14529. iNdEx = postIndex
  14530. case 3:
  14531. if wireType != 0 {
  14532. return fmt.Errorf("proto: wrong wireType = %d for field DefaultMode", wireType)
  14533. }
  14534. var v int32
  14535. for shift := uint(0); ; shift += 7 {
  14536. if shift >= 64 {
  14537. return ErrIntOverflowGenerated
  14538. }
  14539. if iNdEx >= l {
  14540. return io.ErrUnexpectedEOF
  14541. }
  14542. b := data[iNdEx]
  14543. iNdEx++
  14544. v |= (int32(b) & 0x7F) << shift
  14545. if b < 0x80 {
  14546. break
  14547. }
  14548. }
  14549. m.DefaultMode = &v
  14550. default:
  14551. iNdEx = preIndex
  14552. skippy, err := skipGenerated(data[iNdEx:])
  14553. if err != nil {
  14554. return err
  14555. }
  14556. if skippy < 0 {
  14557. return ErrInvalidLengthGenerated
  14558. }
  14559. if (iNdEx + skippy) > l {
  14560. return io.ErrUnexpectedEOF
  14561. }
  14562. iNdEx += skippy
  14563. }
  14564. }
  14565. if iNdEx > l {
  14566. return io.ErrUnexpectedEOF
  14567. }
  14568. return nil
  14569. }
  14570. func (m *Container) Unmarshal(data []byte) error {
  14571. l := len(data)
  14572. iNdEx := 0
  14573. for iNdEx < l {
  14574. preIndex := iNdEx
  14575. var wire uint64
  14576. for shift := uint(0); ; shift += 7 {
  14577. if shift >= 64 {
  14578. return ErrIntOverflowGenerated
  14579. }
  14580. if iNdEx >= l {
  14581. return io.ErrUnexpectedEOF
  14582. }
  14583. b := data[iNdEx]
  14584. iNdEx++
  14585. wire |= (uint64(b) & 0x7F) << shift
  14586. if b < 0x80 {
  14587. break
  14588. }
  14589. }
  14590. fieldNum := int32(wire >> 3)
  14591. wireType := int(wire & 0x7)
  14592. if wireType == 4 {
  14593. return fmt.Errorf("proto: Container: wiretype end group for non-group")
  14594. }
  14595. if fieldNum <= 0 {
  14596. return fmt.Errorf("proto: Container: illegal tag %d (wire type %d)", fieldNum, wire)
  14597. }
  14598. switch fieldNum {
  14599. case 1:
  14600. if wireType != 2 {
  14601. return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
  14602. }
  14603. var stringLen uint64
  14604. for shift := uint(0); ; shift += 7 {
  14605. if shift >= 64 {
  14606. return ErrIntOverflowGenerated
  14607. }
  14608. if iNdEx >= l {
  14609. return io.ErrUnexpectedEOF
  14610. }
  14611. b := data[iNdEx]
  14612. iNdEx++
  14613. stringLen |= (uint64(b) & 0x7F) << shift
  14614. if b < 0x80 {
  14615. break
  14616. }
  14617. }
  14618. intStringLen := int(stringLen)
  14619. if intStringLen < 0 {
  14620. return ErrInvalidLengthGenerated
  14621. }
  14622. postIndex := iNdEx + intStringLen
  14623. if postIndex > l {
  14624. return io.ErrUnexpectedEOF
  14625. }
  14626. m.Name = string(data[iNdEx:postIndex])
  14627. iNdEx = postIndex
  14628. case 2:
  14629. if wireType != 2 {
  14630. return fmt.Errorf("proto: wrong wireType = %d for field Image", wireType)
  14631. }
  14632. var stringLen uint64
  14633. for shift := uint(0); ; shift += 7 {
  14634. if shift >= 64 {
  14635. return ErrIntOverflowGenerated
  14636. }
  14637. if iNdEx >= l {
  14638. return io.ErrUnexpectedEOF
  14639. }
  14640. b := data[iNdEx]
  14641. iNdEx++
  14642. stringLen |= (uint64(b) & 0x7F) << shift
  14643. if b < 0x80 {
  14644. break
  14645. }
  14646. }
  14647. intStringLen := int(stringLen)
  14648. if intStringLen < 0 {
  14649. return ErrInvalidLengthGenerated
  14650. }
  14651. postIndex := iNdEx + intStringLen
  14652. if postIndex > l {
  14653. return io.ErrUnexpectedEOF
  14654. }
  14655. m.Image = string(data[iNdEx:postIndex])
  14656. iNdEx = postIndex
  14657. case 3:
  14658. if wireType != 2 {
  14659. return fmt.Errorf("proto: wrong wireType = %d for field Command", wireType)
  14660. }
  14661. var stringLen uint64
  14662. for shift := uint(0); ; shift += 7 {
  14663. if shift >= 64 {
  14664. return ErrIntOverflowGenerated
  14665. }
  14666. if iNdEx >= l {
  14667. return io.ErrUnexpectedEOF
  14668. }
  14669. b := data[iNdEx]
  14670. iNdEx++
  14671. stringLen |= (uint64(b) & 0x7F) << shift
  14672. if b < 0x80 {
  14673. break
  14674. }
  14675. }
  14676. intStringLen := int(stringLen)
  14677. if intStringLen < 0 {
  14678. return ErrInvalidLengthGenerated
  14679. }
  14680. postIndex := iNdEx + intStringLen
  14681. if postIndex > l {
  14682. return io.ErrUnexpectedEOF
  14683. }
  14684. m.Command = append(m.Command, string(data[iNdEx:postIndex]))
  14685. iNdEx = postIndex
  14686. case 4:
  14687. if wireType != 2 {
  14688. return fmt.Errorf("proto: wrong wireType = %d for field Args", wireType)
  14689. }
  14690. var stringLen uint64
  14691. for shift := uint(0); ; shift += 7 {
  14692. if shift >= 64 {
  14693. return ErrIntOverflowGenerated
  14694. }
  14695. if iNdEx >= l {
  14696. return io.ErrUnexpectedEOF
  14697. }
  14698. b := data[iNdEx]
  14699. iNdEx++
  14700. stringLen |= (uint64(b) & 0x7F) << shift
  14701. if b < 0x80 {
  14702. break
  14703. }
  14704. }
  14705. intStringLen := int(stringLen)
  14706. if intStringLen < 0 {
  14707. return ErrInvalidLengthGenerated
  14708. }
  14709. postIndex := iNdEx + intStringLen
  14710. if postIndex > l {
  14711. return io.ErrUnexpectedEOF
  14712. }
  14713. m.Args = append(m.Args, string(data[iNdEx:postIndex]))
  14714. iNdEx = postIndex
  14715. case 5:
  14716. if wireType != 2 {
  14717. return fmt.Errorf("proto: wrong wireType = %d for field WorkingDir", wireType)
  14718. }
  14719. var stringLen uint64
  14720. for shift := uint(0); ; shift += 7 {
  14721. if shift >= 64 {
  14722. return ErrIntOverflowGenerated
  14723. }
  14724. if iNdEx >= l {
  14725. return io.ErrUnexpectedEOF
  14726. }
  14727. b := data[iNdEx]
  14728. iNdEx++
  14729. stringLen |= (uint64(b) & 0x7F) << shift
  14730. if b < 0x80 {
  14731. break
  14732. }
  14733. }
  14734. intStringLen := int(stringLen)
  14735. if intStringLen < 0 {
  14736. return ErrInvalidLengthGenerated
  14737. }
  14738. postIndex := iNdEx + intStringLen
  14739. if postIndex > l {
  14740. return io.ErrUnexpectedEOF
  14741. }
  14742. m.WorkingDir = string(data[iNdEx:postIndex])
  14743. iNdEx = postIndex
  14744. case 6:
  14745. if wireType != 2 {
  14746. return fmt.Errorf("proto: wrong wireType = %d for field Ports", wireType)
  14747. }
  14748. var msglen int
  14749. for shift := uint(0); ; shift += 7 {
  14750. if shift >= 64 {
  14751. return ErrIntOverflowGenerated
  14752. }
  14753. if iNdEx >= l {
  14754. return io.ErrUnexpectedEOF
  14755. }
  14756. b := data[iNdEx]
  14757. iNdEx++
  14758. msglen |= (int(b) & 0x7F) << shift
  14759. if b < 0x80 {
  14760. break
  14761. }
  14762. }
  14763. if msglen < 0 {
  14764. return ErrInvalidLengthGenerated
  14765. }
  14766. postIndex := iNdEx + msglen
  14767. if postIndex > l {
  14768. return io.ErrUnexpectedEOF
  14769. }
  14770. m.Ports = append(m.Ports, ContainerPort{})
  14771. if err := m.Ports[len(m.Ports)-1].Unmarshal(data[iNdEx:postIndex]); err != nil {
  14772. return err
  14773. }
  14774. iNdEx = postIndex
  14775. case 7:
  14776. if wireType != 2 {
  14777. return fmt.Errorf("proto: wrong wireType = %d for field Env", wireType)
  14778. }
  14779. var msglen int
  14780. for shift := uint(0); ; shift += 7 {
  14781. if shift >= 64 {
  14782. return ErrIntOverflowGenerated
  14783. }
  14784. if iNdEx >= l {
  14785. return io.ErrUnexpectedEOF
  14786. }
  14787. b := data[iNdEx]
  14788. iNdEx++
  14789. msglen |= (int(b) & 0x7F) << shift
  14790. if b < 0x80 {
  14791. break
  14792. }
  14793. }
  14794. if msglen < 0 {
  14795. return ErrInvalidLengthGenerated
  14796. }
  14797. postIndex := iNdEx + msglen
  14798. if postIndex > l {
  14799. return io.ErrUnexpectedEOF
  14800. }
  14801. m.Env = append(m.Env, EnvVar{})
  14802. if err := m.Env[len(m.Env)-1].Unmarshal(data[iNdEx:postIndex]); err != nil {
  14803. return err
  14804. }
  14805. iNdEx = postIndex
  14806. case 8:
  14807. if wireType != 2 {
  14808. return fmt.Errorf("proto: wrong wireType = %d for field Resources", wireType)
  14809. }
  14810. var msglen int
  14811. for shift := uint(0); ; shift += 7 {
  14812. if shift >= 64 {
  14813. return ErrIntOverflowGenerated
  14814. }
  14815. if iNdEx >= l {
  14816. return io.ErrUnexpectedEOF
  14817. }
  14818. b := data[iNdEx]
  14819. iNdEx++
  14820. msglen |= (int(b) & 0x7F) << shift
  14821. if b < 0x80 {
  14822. break
  14823. }
  14824. }
  14825. if msglen < 0 {
  14826. return ErrInvalidLengthGenerated
  14827. }
  14828. postIndex := iNdEx + msglen
  14829. if postIndex > l {
  14830. return io.ErrUnexpectedEOF
  14831. }
  14832. if err := m.Resources.Unmarshal(data[iNdEx:postIndex]); err != nil {
  14833. return err
  14834. }
  14835. iNdEx = postIndex
  14836. case 9:
  14837. if wireType != 2 {
  14838. return fmt.Errorf("proto: wrong wireType = %d for field VolumeMounts", wireType)
  14839. }
  14840. var msglen int
  14841. for shift := uint(0); ; shift += 7 {
  14842. if shift >= 64 {
  14843. return ErrIntOverflowGenerated
  14844. }
  14845. if iNdEx >= l {
  14846. return io.ErrUnexpectedEOF
  14847. }
  14848. b := data[iNdEx]
  14849. iNdEx++
  14850. msglen |= (int(b) & 0x7F) << shift
  14851. if b < 0x80 {
  14852. break
  14853. }
  14854. }
  14855. if msglen < 0 {
  14856. return ErrInvalidLengthGenerated
  14857. }
  14858. postIndex := iNdEx + msglen
  14859. if postIndex > l {
  14860. return io.ErrUnexpectedEOF
  14861. }
  14862. m.VolumeMounts = append(m.VolumeMounts, VolumeMount{})
  14863. if err := m.VolumeMounts[len(m.VolumeMounts)-1].Unmarshal(data[iNdEx:postIndex]); err != nil {
  14864. return err
  14865. }
  14866. iNdEx = postIndex
  14867. case 10:
  14868. if wireType != 2 {
  14869. return fmt.Errorf("proto: wrong wireType = %d for field LivenessProbe", wireType)
  14870. }
  14871. var msglen int
  14872. for shift := uint(0); ; shift += 7 {
  14873. if shift >= 64 {
  14874. return ErrIntOverflowGenerated
  14875. }
  14876. if iNdEx >= l {
  14877. return io.ErrUnexpectedEOF
  14878. }
  14879. b := data[iNdEx]
  14880. iNdEx++
  14881. msglen |= (int(b) & 0x7F) << shift
  14882. if b < 0x80 {
  14883. break
  14884. }
  14885. }
  14886. if msglen < 0 {
  14887. return ErrInvalidLengthGenerated
  14888. }
  14889. postIndex := iNdEx + msglen
  14890. if postIndex > l {
  14891. return io.ErrUnexpectedEOF
  14892. }
  14893. if m.LivenessProbe == nil {
  14894. m.LivenessProbe = &Probe{}
  14895. }
  14896. if err := m.LivenessProbe.Unmarshal(data[iNdEx:postIndex]); err != nil {
  14897. return err
  14898. }
  14899. iNdEx = postIndex
  14900. case 11:
  14901. if wireType != 2 {
  14902. return fmt.Errorf("proto: wrong wireType = %d for field ReadinessProbe", wireType)
  14903. }
  14904. var msglen int
  14905. for shift := uint(0); ; shift += 7 {
  14906. if shift >= 64 {
  14907. return ErrIntOverflowGenerated
  14908. }
  14909. if iNdEx >= l {
  14910. return io.ErrUnexpectedEOF
  14911. }
  14912. b := data[iNdEx]
  14913. iNdEx++
  14914. msglen |= (int(b) & 0x7F) << shift
  14915. if b < 0x80 {
  14916. break
  14917. }
  14918. }
  14919. if msglen < 0 {
  14920. return ErrInvalidLengthGenerated
  14921. }
  14922. postIndex := iNdEx + msglen
  14923. if postIndex > l {
  14924. return io.ErrUnexpectedEOF
  14925. }
  14926. if m.ReadinessProbe == nil {
  14927. m.ReadinessProbe = &Probe{}
  14928. }
  14929. if err := m.ReadinessProbe.Unmarshal(data[iNdEx:postIndex]); err != nil {
  14930. return err
  14931. }
  14932. iNdEx = postIndex
  14933. case 12:
  14934. if wireType != 2 {
  14935. return fmt.Errorf("proto: wrong wireType = %d for field Lifecycle", wireType)
  14936. }
  14937. var msglen int
  14938. for shift := uint(0); ; shift += 7 {
  14939. if shift >= 64 {
  14940. return ErrIntOverflowGenerated
  14941. }
  14942. if iNdEx >= l {
  14943. return io.ErrUnexpectedEOF
  14944. }
  14945. b := data[iNdEx]
  14946. iNdEx++
  14947. msglen |= (int(b) & 0x7F) << shift
  14948. if b < 0x80 {
  14949. break
  14950. }
  14951. }
  14952. if msglen < 0 {
  14953. return ErrInvalidLengthGenerated
  14954. }
  14955. postIndex := iNdEx + msglen
  14956. if postIndex > l {
  14957. return io.ErrUnexpectedEOF
  14958. }
  14959. if m.Lifecycle == nil {
  14960. m.Lifecycle = &Lifecycle{}
  14961. }
  14962. if err := m.Lifecycle.Unmarshal(data[iNdEx:postIndex]); err != nil {
  14963. return err
  14964. }
  14965. iNdEx = postIndex
  14966. case 13:
  14967. if wireType != 2 {
  14968. return fmt.Errorf("proto: wrong wireType = %d for field TerminationMessagePath", wireType)
  14969. }
  14970. var stringLen uint64
  14971. for shift := uint(0); ; shift += 7 {
  14972. if shift >= 64 {
  14973. return ErrIntOverflowGenerated
  14974. }
  14975. if iNdEx >= l {
  14976. return io.ErrUnexpectedEOF
  14977. }
  14978. b := data[iNdEx]
  14979. iNdEx++
  14980. stringLen |= (uint64(b) & 0x7F) << shift
  14981. if b < 0x80 {
  14982. break
  14983. }
  14984. }
  14985. intStringLen := int(stringLen)
  14986. if intStringLen < 0 {
  14987. return ErrInvalidLengthGenerated
  14988. }
  14989. postIndex := iNdEx + intStringLen
  14990. if postIndex > l {
  14991. return io.ErrUnexpectedEOF
  14992. }
  14993. m.TerminationMessagePath = string(data[iNdEx:postIndex])
  14994. iNdEx = postIndex
  14995. case 14:
  14996. if wireType != 2 {
  14997. return fmt.Errorf("proto: wrong wireType = %d for field ImagePullPolicy", wireType)
  14998. }
  14999. var stringLen uint64
  15000. for shift := uint(0); ; shift += 7 {
  15001. if shift >= 64 {
  15002. return ErrIntOverflowGenerated
  15003. }
  15004. if iNdEx >= l {
  15005. return io.ErrUnexpectedEOF
  15006. }
  15007. b := data[iNdEx]
  15008. iNdEx++
  15009. stringLen |= (uint64(b) & 0x7F) << shift
  15010. if b < 0x80 {
  15011. break
  15012. }
  15013. }
  15014. intStringLen := int(stringLen)
  15015. if intStringLen < 0 {
  15016. return ErrInvalidLengthGenerated
  15017. }
  15018. postIndex := iNdEx + intStringLen
  15019. if postIndex > l {
  15020. return io.ErrUnexpectedEOF
  15021. }
  15022. m.ImagePullPolicy = PullPolicy(data[iNdEx:postIndex])
  15023. iNdEx = postIndex
  15024. case 15:
  15025. if wireType != 2 {
  15026. return fmt.Errorf("proto: wrong wireType = %d for field SecurityContext", wireType)
  15027. }
  15028. var msglen int
  15029. for shift := uint(0); ; shift += 7 {
  15030. if shift >= 64 {
  15031. return ErrIntOverflowGenerated
  15032. }
  15033. if iNdEx >= l {
  15034. return io.ErrUnexpectedEOF
  15035. }
  15036. b := data[iNdEx]
  15037. iNdEx++
  15038. msglen |= (int(b) & 0x7F) << shift
  15039. if b < 0x80 {
  15040. break
  15041. }
  15042. }
  15043. if msglen < 0 {
  15044. return ErrInvalidLengthGenerated
  15045. }
  15046. postIndex := iNdEx + msglen
  15047. if postIndex > l {
  15048. return io.ErrUnexpectedEOF
  15049. }
  15050. if m.SecurityContext == nil {
  15051. m.SecurityContext = &SecurityContext{}
  15052. }
  15053. if err := m.SecurityContext.Unmarshal(data[iNdEx:postIndex]); err != nil {
  15054. return err
  15055. }
  15056. iNdEx = postIndex
  15057. case 16:
  15058. if wireType != 0 {
  15059. return fmt.Errorf("proto: wrong wireType = %d for field Stdin", wireType)
  15060. }
  15061. var v int
  15062. for shift := uint(0); ; shift += 7 {
  15063. if shift >= 64 {
  15064. return ErrIntOverflowGenerated
  15065. }
  15066. if iNdEx >= l {
  15067. return io.ErrUnexpectedEOF
  15068. }
  15069. b := data[iNdEx]
  15070. iNdEx++
  15071. v |= (int(b) & 0x7F) << shift
  15072. if b < 0x80 {
  15073. break
  15074. }
  15075. }
  15076. m.Stdin = bool(v != 0)
  15077. case 17:
  15078. if wireType != 0 {
  15079. return fmt.Errorf("proto: wrong wireType = %d for field StdinOnce", wireType)
  15080. }
  15081. var v int
  15082. for shift := uint(0); ; shift += 7 {
  15083. if shift >= 64 {
  15084. return ErrIntOverflowGenerated
  15085. }
  15086. if iNdEx >= l {
  15087. return io.ErrUnexpectedEOF
  15088. }
  15089. b := data[iNdEx]
  15090. iNdEx++
  15091. v |= (int(b) & 0x7F) << shift
  15092. if b < 0x80 {
  15093. break
  15094. }
  15095. }
  15096. m.StdinOnce = bool(v != 0)
  15097. case 18:
  15098. if wireType != 0 {
  15099. return fmt.Errorf("proto: wrong wireType = %d for field TTY", wireType)
  15100. }
  15101. var v int
  15102. for shift := uint(0); ; shift += 7 {
  15103. if shift >= 64 {
  15104. return ErrIntOverflowGenerated
  15105. }
  15106. if iNdEx >= l {
  15107. return io.ErrUnexpectedEOF
  15108. }
  15109. b := data[iNdEx]
  15110. iNdEx++
  15111. v |= (int(b) & 0x7F) << shift
  15112. if b < 0x80 {
  15113. break
  15114. }
  15115. }
  15116. m.TTY = bool(v != 0)
  15117. default:
  15118. iNdEx = preIndex
  15119. skippy, err := skipGenerated(data[iNdEx:])
  15120. if err != nil {
  15121. return err
  15122. }
  15123. if skippy < 0 {
  15124. return ErrInvalidLengthGenerated
  15125. }
  15126. if (iNdEx + skippy) > l {
  15127. return io.ErrUnexpectedEOF
  15128. }
  15129. iNdEx += skippy
  15130. }
  15131. }
  15132. if iNdEx > l {
  15133. return io.ErrUnexpectedEOF
  15134. }
  15135. return nil
  15136. }
  15137. func (m *ContainerImage) Unmarshal(data []byte) error {
  15138. l := len(data)
  15139. iNdEx := 0
  15140. for iNdEx < l {
  15141. preIndex := iNdEx
  15142. var wire uint64
  15143. for shift := uint(0); ; shift += 7 {
  15144. if shift >= 64 {
  15145. return ErrIntOverflowGenerated
  15146. }
  15147. if iNdEx >= l {
  15148. return io.ErrUnexpectedEOF
  15149. }
  15150. b := data[iNdEx]
  15151. iNdEx++
  15152. wire |= (uint64(b) & 0x7F) << shift
  15153. if b < 0x80 {
  15154. break
  15155. }
  15156. }
  15157. fieldNum := int32(wire >> 3)
  15158. wireType := int(wire & 0x7)
  15159. if wireType == 4 {
  15160. return fmt.Errorf("proto: ContainerImage: wiretype end group for non-group")
  15161. }
  15162. if fieldNum <= 0 {
  15163. return fmt.Errorf("proto: ContainerImage: illegal tag %d (wire type %d)", fieldNum, wire)
  15164. }
  15165. switch fieldNum {
  15166. case 1:
  15167. if wireType != 2 {
  15168. return fmt.Errorf("proto: wrong wireType = %d for field Names", wireType)
  15169. }
  15170. var stringLen uint64
  15171. for shift := uint(0); ; shift += 7 {
  15172. if shift >= 64 {
  15173. return ErrIntOverflowGenerated
  15174. }
  15175. if iNdEx >= l {
  15176. return io.ErrUnexpectedEOF
  15177. }
  15178. b := data[iNdEx]
  15179. iNdEx++
  15180. stringLen |= (uint64(b) & 0x7F) << shift
  15181. if b < 0x80 {
  15182. break
  15183. }
  15184. }
  15185. intStringLen := int(stringLen)
  15186. if intStringLen < 0 {
  15187. return ErrInvalidLengthGenerated
  15188. }
  15189. postIndex := iNdEx + intStringLen
  15190. if postIndex > l {
  15191. return io.ErrUnexpectedEOF
  15192. }
  15193. m.Names = append(m.Names, string(data[iNdEx:postIndex]))
  15194. iNdEx = postIndex
  15195. case 2:
  15196. if wireType != 0 {
  15197. return fmt.Errorf("proto: wrong wireType = %d for field SizeBytes", wireType)
  15198. }
  15199. m.SizeBytes = 0
  15200. for shift := uint(0); ; shift += 7 {
  15201. if shift >= 64 {
  15202. return ErrIntOverflowGenerated
  15203. }
  15204. if iNdEx >= l {
  15205. return io.ErrUnexpectedEOF
  15206. }
  15207. b := data[iNdEx]
  15208. iNdEx++
  15209. m.SizeBytes |= (int64(b) & 0x7F) << shift
  15210. if b < 0x80 {
  15211. break
  15212. }
  15213. }
  15214. default:
  15215. iNdEx = preIndex
  15216. skippy, err := skipGenerated(data[iNdEx:])
  15217. if err != nil {
  15218. return err
  15219. }
  15220. if skippy < 0 {
  15221. return ErrInvalidLengthGenerated
  15222. }
  15223. if (iNdEx + skippy) > l {
  15224. return io.ErrUnexpectedEOF
  15225. }
  15226. iNdEx += skippy
  15227. }
  15228. }
  15229. if iNdEx > l {
  15230. return io.ErrUnexpectedEOF
  15231. }
  15232. return nil
  15233. }
  15234. func (m *ContainerPort) Unmarshal(data []byte) error {
  15235. l := len(data)
  15236. iNdEx := 0
  15237. for iNdEx < l {
  15238. preIndex := iNdEx
  15239. var wire uint64
  15240. for shift := uint(0); ; shift += 7 {
  15241. if shift >= 64 {
  15242. return ErrIntOverflowGenerated
  15243. }
  15244. if iNdEx >= l {
  15245. return io.ErrUnexpectedEOF
  15246. }
  15247. b := data[iNdEx]
  15248. iNdEx++
  15249. wire |= (uint64(b) & 0x7F) << shift
  15250. if b < 0x80 {
  15251. break
  15252. }
  15253. }
  15254. fieldNum := int32(wire >> 3)
  15255. wireType := int(wire & 0x7)
  15256. if wireType == 4 {
  15257. return fmt.Errorf("proto: ContainerPort: wiretype end group for non-group")
  15258. }
  15259. if fieldNum <= 0 {
  15260. return fmt.Errorf("proto: ContainerPort: illegal tag %d (wire type %d)", fieldNum, wire)
  15261. }
  15262. switch fieldNum {
  15263. case 1:
  15264. if wireType != 2 {
  15265. return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
  15266. }
  15267. var stringLen uint64
  15268. for shift := uint(0); ; shift += 7 {
  15269. if shift >= 64 {
  15270. return ErrIntOverflowGenerated
  15271. }
  15272. if iNdEx >= l {
  15273. return io.ErrUnexpectedEOF
  15274. }
  15275. b := data[iNdEx]
  15276. iNdEx++
  15277. stringLen |= (uint64(b) & 0x7F) << shift
  15278. if b < 0x80 {
  15279. break
  15280. }
  15281. }
  15282. intStringLen := int(stringLen)
  15283. if intStringLen < 0 {
  15284. return ErrInvalidLengthGenerated
  15285. }
  15286. postIndex := iNdEx + intStringLen
  15287. if postIndex > l {
  15288. return io.ErrUnexpectedEOF
  15289. }
  15290. m.Name = string(data[iNdEx:postIndex])
  15291. iNdEx = postIndex
  15292. case 2:
  15293. if wireType != 0 {
  15294. return fmt.Errorf("proto: wrong wireType = %d for field HostPort", wireType)
  15295. }
  15296. m.HostPort = 0
  15297. for shift := uint(0); ; shift += 7 {
  15298. if shift >= 64 {
  15299. return ErrIntOverflowGenerated
  15300. }
  15301. if iNdEx >= l {
  15302. return io.ErrUnexpectedEOF
  15303. }
  15304. b := data[iNdEx]
  15305. iNdEx++
  15306. m.HostPort |= (int32(b) & 0x7F) << shift
  15307. if b < 0x80 {
  15308. break
  15309. }
  15310. }
  15311. case 3:
  15312. if wireType != 0 {
  15313. return fmt.Errorf("proto: wrong wireType = %d for field ContainerPort", wireType)
  15314. }
  15315. m.ContainerPort = 0
  15316. for shift := uint(0); ; shift += 7 {
  15317. if shift >= 64 {
  15318. return ErrIntOverflowGenerated
  15319. }
  15320. if iNdEx >= l {
  15321. return io.ErrUnexpectedEOF
  15322. }
  15323. b := data[iNdEx]
  15324. iNdEx++
  15325. m.ContainerPort |= (int32(b) & 0x7F) << shift
  15326. if b < 0x80 {
  15327. break
  15328. }
  15329. }
  15330. case 4:
  15331. if wireType != 2 {
  15332. return fmt.Errorf("proto: wrong wireType = %d for field Protocol", wireType)
  15333. }
  15334. var stringLen uint64
  15335. for shift := uint(0); ; shift += 7 {
  15336. if shift >= 64 {
  15337. return ErrIntOverflowGenerated
  15338. }
  15339. if iNdEx >= l {
  15340. return io.ErrUnexpectedEOF
  15341. }
  15342. b := data[iNdEx]
  15343. iNdEx++
  15344. stringLen |= (uint64(b) & 0x7F) << shift
  15345. if b < 0x80 {
  15346. break
  15347. }
  15348. }
  15349. intStringLen := int(stringLen)
  15350. if intStringLen < 0 {
  15351. return ErrInvalidLengthGenerated
  15352. }
  15353. postIndex := iNdEx + intStringLen
  15354. if postIndex > l {
  15355. return io.ErrUnexpectedEOF
  15356. }
  15357. m.Protocol = Protocol(data[iNdEx:postIndex])
  15358. iNdEx = postIndex
  15359. case 5:
  15360. if wireType != 2 {
  15361. return fmt.Errorf("proto: wrong wireType = %d for field HostIP", wireType)
  15362. }
  15363. var stringLen uint64
  15364. for shift := uint(0); ; shift += 7 {
  15365. if shift >= 64 {
  15366. return ErrIntOverflowGenerated
  15367. }
  15368. if iNdEx >= l {
  15369. return io.ErrUnexpectedEOF
  15370. }
  15371. b := data[iNdEx]
  15372. iNdEx++
  15373. stringLen |= (uint64(b) & 0x7F) << shift
  15374. if b < 0x80 {
  15375. break
  15376. }
  15377. }
  15378. intStringLen := int(stringLen)
  15379. if intStringLen < 0 {
  15380. return ErrInvalidLengthGenerated
  15381. }
  15382. postIndex := iNdEx + intStringLen
  15383. if postIndex > l {
  15384. return io.ErrUnexpectedEOF
  15385. }
  15386. m.HostIP = string(data[iNdEx:postIndex])
  15387. iNdEx = postIndex
  15388. default:
  15389. iNdEx = preIndex
  15390. skippy, err := skipGenerated(data[iNdEx:])
  15391. if err != nil {
  15392. return err
  15393. }
  15394. if skippy < 0 {
  15395. return ErrInvalidLengthGenerated
  15396. }
  15397. if (iNdEx + skippy) > l {
  15398. return io.ErrUnexpectedEOF
  15399. }
  15400. iNdEx += skippy
  15401. }
  15402. }
  15403. if iNdEx > l {
  15404. return io.ErrUnexpectedEOF
  15405. }
  15406. return nil
  15407. }
  15408. func (m *ContainerState) Unmarshal(data []byte) error {
  15409. l := len(data)
  15410. iNdEx := 0
  15411. for iNdEx < l {
  15412. preIndex := iNdEx
  15413. var wire uint64
  15414. for shift := uint(0); ; shift += 7 {
  15415. if shift >= 64 {
  15416. return ErrIntOverflowGenerated
  15417. }
  15418. if iNdEx >= l {
  15419. return io.ErrUnexpectedEOF
  15420. }
  15421. b := data[iNdEx]
  15422. iNdEx++
  15423. wire |= (uint64(b) & 0x7F) << shift
  15424. if b < 0x80 {
  15425. break
  15426. }
  15427. }
  15428. fieldNum := int32(wire >> 3)
  15429. wireType := int(wire & 0x7)
  15430. if wireType == 4 {
  15431. return fmt.Errorf("proto: ContainerState: wiretype end group for non-group")
  15432. }
  15433. if fieldNum <= 0 {
  15434. return fmt.Errorf("proto: ContainerState: illegal tag %d (wire type %d)", fieldNum, wire)
  15435. }
  15436. switch fieldNum {
  15437. case 1:
  15438. if wireType != 2 {
  15439. return fmt.Errorf("proto: wrong wireType = %d for field Waiting", wireType)
  15440. }
  15441. var msglen int
  15442. for shift := uint(0); ; shift += 7 {
  15443. if shift >= 64 {
  15444. return ErrIntOverflowGenerated
  15445. }
  15446. if iNdEx >= l {
  15447. return io.ErrUnexpectedEOF
  15448. }
  15449. b := data[iNdEx]
  15450. iNdEx++
  15451. msglen |= (int(b) & 0x7F) << shift
  15452. if b < 0x80 {
  15453. break
  15454. }
  15455. }
  15456. if msglen < 0 {
  15457. return ErrInvalidLengthGenerated
  15458. }
  15459. postIndex := iNdEx + msglen
  15460. if postIndex > l {
  15461. return io.ErrUnexpectedEOF
  15462. }
  15463. if m.Waiting == nil {
  15464. m.Waiting = &ContainerStateWaiting{}
  15465. }
  15466. if err := m.Waiting.Unmarshal(data[iNdEx:postIndex]); err != nil {
  15467. return err
  15468. }
  15469. iNdEx = postIndex
  15470. case 2:
  15471. if wireType != 2 {
  15472. return fmt.Errorf("proto: wrong wireType = %d for field Running", wireType)
  15473. }
  15474. var msglen int
  15475. for shift := uint(0); ; shift += 7 {
  15476. if shift >= 64 {
  15477. return ErrIntOverflowGenerated
  15478. }
  15479. if iNdEx >= l {
  15480. return io.ErrUnexpectedEOF
  15481. }
  15482. b := data[iNdEx]
  15483. iNdEx++
  15484. msglen |= (int(b) & 0x7F) << shift
  15485. if b < 0x80 {
  15486. break
  15487. }
  15488. }
  15489. if msglen < 0 {
  15490. return ErrInvalidLengthGenerated
  15491. }
  15492. postIndex := iNdEx + msglen
  15493. if postIndex > l {
  15494. return io.ErrUnexpectedEOF
  15495. }
  15496. if m.Running == nil {
  15497. m.Running = &ContainerStateRunning{}
  15498. }
  15499. if err := m.Running.Unmarshal(data[iNdEx:postIndex]); err != nil {
  15500. return err
  15501. }
  15502. iNdEx = postIndex
  15503. case 3:
  15504. if wireType != 2 {
  15505. return fmt.Errorf("proto: wrong wireType = %d for field Terminated", wireType)
  15506. }
  15507. var msglen int
  15508. for shift := uint(0); ; shift += 7 {
  15509. if shift >= 64 {
  15510. return ErrIntOverflowGenerated
  15511. }
  15512. if iNdEx >= l {
  15513. return io.ErrUnexpectedEOF
  15514. }
  15515. b := data[iNdEx]
  15516. iNdEx++
  15517. msglen |= (int(b) & 0x7F) << shift
  15518. if b < 0x80 {
  15519. break
  15520. }
  15521. }
  15522. if msglen < 0 {
  15523. return ErrInvalidLengthGenerated
  15524. }
  15525. postIndex := iNdEx + msglen
  15526. if postIndex > l {
  15527. return io.ErrUnexpectedEOF
  15528. }
  15529. if m.Terminated == nil {
  15530. m.Terminated = &ContainerStateTerminated{}
  15531. }
  15532. if err := m.Terminated.Unmarshal(data[iNdEx:postIndex]); err != nil {
  15533. return err
  15534. }
  15535. iNdEx = postIndex
  15536. default:
  15537. iNdEx = preIndex
  15538. skippy, err := skipGenerated(data[iNdEx:])
  15539. if err != nil {
  15540. return err
  15541. }
  15542. if skippy < 0 {
  15543. return ErrInvalidLengthGenerated
  15544. }
  15545. if (iNdEx + skippy) > l {
  15546. return io.ErrUnexpectedEOF
  15547. }
  15548. iNdEx += skippy
  15549. }
  15550. }
  15551. if iNdEx > l {
  15552. return io.ErrUnexpectedEOF
  15553. }
  15554. return nil
  15555. }
  15556. func (m *ContainerStateRunning) Unmarshal(data []byte) error {
  15557. l := len(data)
  15558. iNdEx := 0
  15559. for iNdEx < l {
  15560. preIndex := iNdEx
  15561. var wire uint64
  15562. for shift := uint(0); ; shift += 7 {
  15563. if shift >= 64 {
  15564. return ErrIntOverflowGenerated
  15565. }
  15566. if iNdEx >= l {
  15567. return io.ErrUnexpectedEOF
  15568. }
  15569. b := data[iNdEx]
  15570. iNdEx++
  15571. wire |= (uint64(b) & 0x7F) << shift
  15572. if b < 0x80 {
  15573. break
  15574. }
  15575. }
  15576. fieldNum := int32(wire >> 3)
  15577. wireType := int(wire & 0x7)
  15578. if wireType == 4 {
  15579. return fmt.Errorf("proto: ContainerStateRunning: wiretype end group for non-group")
  15580. }
  15581. if fieldNum <= 0 {
  15582. return fmt.Errorf("proto: ContainerStateRunning: illegal tag %d (wire type %d)", fieldNum, wire)
  15583. }
  15584. switch fieldNum {
  15585. case 1:
  15586. if wireType != 2 {
  15587. return fmt.Errorf("proto: wrong wireType = %d for field StartedAt", wireType)
  15588. }
  15589. var msglen int
  15590. for shift := uint(0); ; shift += 7 {
  15591. if shift >= 64 {
  15592. return ErrIntOverflowGenerated
  15593. }
  15594. if iNdEx >= l {
  15595. return io.ErrUnexpectedEOF
  15596. }
  15597. b := data[iNdEx]
  15598. iNdEx++
  15599. msglen |= (int(b) & 0x7F) << shift
  15600. if b < 0x80 {
  15601. break
  15602. }
  15603. }
  15604. if msglen < 0 {
  15605. return ErrInvalidLengthGenerated
  15606. }
  15607. postIndex := iNdEx + msglen
  15608. if postIndex > l {
  15609. return io.ErrUnexpectedEOF
  15610. }
  15611. if err := m.StartedAt.Unmarshal(data[iNdEx:postIndex]); err != nil {
  15612. return err
  15613. }
  15614. iNdEx = postIndex
  15615. default:
  15616. iNdEx = preIndex
  15617. skippy, err := skipGenerated(data[iNdEx:])
  15618. if err != nil {
  15619. return err
  15620. }
  15621. if skippy < 0 {
  15622. return ErrInvalidLengthGenerated
  15623. }
  15624. if (iNdEx + skippy) > l {
  15625. return io.ErrUnexpectedEOF
  15626. }
  15627. iNdEx += skippy
  15628. }
  15629. }
  15630. if iNdEx > l {
  15631. return io.ErrUnexpectedEOF
  15632. }
  15633. return nil
  15634. }
  15635. func (m *ContainerStateTerminated) Unmarshal(data []byte) error {
  15636. l := len(data)
  15637. iNdEx := 0
  15638. for iNdEx < l {
  15639. preIndex := iNdEx
  15640. var wire uint64
  15641. for shift := uint(0); ; shift += 7 {
  15642. if shift >= 64 {
  15643. return ErrIntOverflowGenerated
  15644. }
  15645. if iNdEx >= l {
  15646. return io.ErrUnexpectedEOF
  15647. }
  15648. b := data[iNdEx]
  15649. iNdEx++
  15650. wire |= (uint64(b) & 0x7F) << shift
  15651. if b < 0x80 {
  15652. break
  15653. }
  15654. }
  15655. fieldNum := int32(wire >> 3)
  15656. wireType := int(wire & 0x7)
  15657. if wireType == 4 {
  15658. return fmt.Errorf("proto: ContainerStateTerminated: wiretype end group for non-group")
  15659. }
  15660. if fieldNum <= 0 {
  15661. return fmt.Errorf("proto: ContainerStateTerminated: illegal tag %d (wire type %d)", fieldNum, wire)
  15662. }
  15663. switch fieldNum {
  15664. case 1:
  15665. if wireType != 0 {
  15666. return fmt.Errorf("proto: wrong wireType = %d for field ExitCode", wireType)
  15667. }
  15668. m.ExitCode = 0
  15669. for shift := uint(0); ; shift += 7 {
  15670. if shift >= 64 {
  15671. return ErrIntOverflowGenerated
  15672. }
  15673. if iNdEx >= l {
  15674. return io.ErrUnexpectedEOF
  15675. }
  15676. b := data[iNdEx]
  15677. iNdEx++
  15678. m.ExitCode |= (int32(b) & 0x7F) << shift
  15679. if b < 0x80 {
  15680. break
  15681. }
  15682. }
  15683. case 2:
  15684. if wireType != 0 {
  15685. return fmt.Errorf("proto: wrong wireType = %d for field Signal", wireType)
  15686. }
  15687. m.Signal = 0
  15688. for shift := uint(0); ; shift += 7 {
  15689. if shift >= 64 {
  15690. return ErrIntOverflowGenerated
  15691. }
  15692. if iNdEx >= l {
  15693. return io.ErrUnexpectedEOF
  15694. }
  15695. b := data[iNdEx]
  15696. iNdEx++
  15697. m.Signal |= (int32(b) & 0x7F) << shift
  15698. if b < 0x80 {
  15699. break
  15700. }
  15701. }
  15702. case 3:
  15703. if wireType != 2 {
  15704. return fmt.Errorf("proto: wrong wireType = %d for field Reason", wireType)
  15705. }
  15706. var stringLen uint64
  15707. for shift := uint(0); ; shift += 7 {
  15708. if shift >= 64 {
  15709. return ErrIntOverflowGenerated
  15710. }
  15711. if iNdEx >= l {
  15712. return io.ErrUnexpectedEOF
  15713. }
  15714. b := data[iNdEx]
  15715. iNdEx++
  15716. stringLen |= (uint64(b) & 0x7F) << shift
  15717. if b < 0x80 {
  15718. break
  15719. }
  15720. }
  15721. intStringLen := int(stringLen)
  15722. if intStringLen < 0 {
  15723. return ErrInvalidLengthGenerated
  15724. }
  15725. postIndex := iNdEx + intStringLen
  15726. if postIndex > l {
  15727. return io.ErrUnexpectedEOF
  15728. }
  15729. m.Reason = string(data[iNdEx:postIndex])
  15730. iNdEx = postIndex
  15731. case 4:
  15732. if wireType != 2 {
  15733. return fmt.Errorf("proto: wrong wireType = %d for field Message", wireType)
  15734. }
  15735. var stringLen uint64
  15736. for shift := uint(0); ; shift += 7 {
  15737. if shift >= 64 {
  15738. return ErrIntOverflowGenerated
  15739. }
  15740. if iNdEx >= l {
  15741. return io.ErrUnexpectedEOF
  15742. }
  15743. b := data[iNdEx]
  15744. iNdEx++
  15745. stringLen |= (uint64(b) & 0x7F) << shift
  15746. if b < 0x80 {
  15747. break
  15748. }
  15749. }
  15750. intStringLen := int(stringLen)
  15751. if intStringLen < 0 {
  15752. return ErrInvalidLengthGenerated
  15753. }
  15754. postIndex := iNdEx + intStringLen
  15755. if postIndex > l {
  15756. return io.ErrUnexpectedEOF
  15757. }
  15758. m.Message = string(data[iNdEx:postIndex])
  15759. iNdEx = postIndex
  15760. case 5:
  15761. if wireType != 2 {
  15762. return fmt.Errorf("proto: wrong wireType = %d for field StartedAt", wireType)
  15763. }
  15764. var msglen int
  15765. for shift := uint(0); ; shift += 7 {
  15766. if shift >= 64 {
  15767. return ErrIntOverflowGenerated
  15768. }
  15769. if iNdEx >= l {
  15770. return io.ErrUnexpectedEOF
  15771. }
  15772. b := data[iNdEx]
  15773. iNdEx++
  15774. msglen |= (int(b) & 0x7F) << shift
  15775. if b < 0x80 {
  15776. break
  15777. }
  15778. }
  15779. if msglen < 0 {
  15780. return ErrInvalidLengthGenerated
  15781. }
  15782. postIndex := iNdEx + msglen
  15783. if postIndex > l {
  15784. return io.ErrUnexpectedEOF
  15785. }
  15786. if err := m.StartedAt.Unmarshal(data[iNdEx:postIndex]); err != nil {
  15787. return err
  15788. }
  15789. iNdEx = postIndex
  15790. case 6:
  15791. if wireType != 2 {
  15792. return fmt.Errorf("proto: wrong wireType = %d for field FinishedAt", wireType)
  15793. }
  15794. var msglen int
  15795. for shift := uint(0); ; shift += 7 {
  15796. if shift >= 64 {
  15797. return ErrIntOverflowGenerated
  15798. }
  15799. if iNdEx >= l {
  15800. return io.ErrUnexpectedEOF
  15801. }
  15802. b := data[iNdEx]
  15803. iNdEx++
  15804. msglen |= (int(b) & 0x7F) << shift
  15805. if b < 0x80 {
  15806. break
  15807. }
  15808. }
  15809. if msglen < 0 {
  15810. return ErrInvalidLengthGenerated
  15811. }
  15812. postIndex := iNdEx + msglen
  15813. if postIndex > l {
  15814. return io.ErrUnexpectedEOF
  15815. }
  15816. if err := m.FinishedAt.Unmarshal(data[iNdEx:postIndex]); err != nil {
  15817. return err
  15818. }
  15819. iNdEx = postIndex
  15820. case 7:
  15821. if wireType != 2 {
  15822. return fmt.Errorf("proto: wrong wireType = %d for field ContainerID", wireType)
  15823. }
  15824. var stringLen uint64
  15825. for shift := uint(0); ; shift += 7 {
  15826. if shift >= 64 {
  15827. return ErrIntOverflowGenerated
  15828. }
  15829. if iNdEx >= l {
  15830. return io.ErrUnexpectedEOF
  15831. }
  15832. b := data[iNdEx]
  15833. iNdEx++
  15834. stringLen |= (uint64(b) & 0x7F) << shift
  15835. if b < 0x80 {
  15836. break
  15837. }
  15838. }
  15839. intStringLen := int(stringLen)
  15840. if intStringLen < 0 {
  15841. return ErrInvalidLengthGenerated
  15842. }
  15843. postIndex := iNdEx + intStringLen
  15844. if postIndex > l {
  15845. return io.ErrUnexpectedEOF
  15846. }
  15847. m.ContainerID = string(data[iNdEx:postIndex])
  15848. iNdEx = postIndex
  15849. default:
  15850. iNdEx = preIndex
  15851. skippy, err := skipGenerated(data[iNdEx:])
  15852. if err != nil {
  15853. return err
  15854. }
  15855. if skippy < 0 {
  15856. return ErrInvalidLengthGenerated
  15857. }
  15858. if (iNdEx + skippy) > l {
  15859. return io.ErrUnexpectedEOF
  15860. }
  15861. iNdEx += skippy
  15862. }
  15863. }
  15864. if iNdEx > l {
  15865. return io.ErrUnexpectedEOF
  15866. }
  15867. return nil
  15868. }
  15869. func (m *ContainerStateWaiting) Unmarshal(data []byte) error {
  15870. l := len(data)
  15871. iNdEx := 0
  15872. for iNdEx < l {
  15873. preIndex := iNdEx
  15874. var wire uint64
  15875. for shift := uint(0); ; shift += 7 {
  15876. if shift >= 64 {
  15877. return ErrIntOverflowGenerated
  15878. }
  15879. if iNdEx >= l {
  15880. return io.ErrUnexpectedEOF
  15881. }
  15882. b := data[iNdEx]
  15883. iNdEx++
  15884. wire |= (uint64(b) & 0x7F) << shift
  15885. if b < 0x80 {
  15886. break
  15887. }
  15888. }
  15889. fieldNum := int32(wire >> 3)
  15890. wireType := int(wire & 0x7)
  15891. if wireType == 4 {
  15892. return fmt.Errorf("proto: ContainerStateWaiting: wiretype end group for non-group")
  15893. }
  15894. if fieldNum <= 0 {
  15895. return fmt.Errorf("proto: ContainerStateWaiting: illegal tag %d (wire type %d)", fieldNum, wire)
  15896. }
  15897. switch fieldNum {
  15898. case 1:
  15899. if wireType != 2 {
  15900. return fmt.Errorf("proto: wrong wireType = %d for field Reason", wireType)
  15901. }
  15902. var stringLen uint64
  15903. for shift := uint(0); ; shift += 7 {
  15904. if shift >= 64 {
  15905. return ErrIntOverflowGenerated
  15906. }
  15907. if iNdEx >= l {
  15908. return io.ErrUnexpectedEOF
  15909. }
  15910. b := data[iNdEx]
  15911. iNdEx++
  15912. stringLen |= (uint64(b) & 0x7F) << shift
  15913. if b < 0x80 {
  15914. break
  15915. }
  15916. }
  15917. intStringLen := int(stringLen)
  15918. if intStringLen < 0 {
  15919. return ErrInvalidLengthGenerated
  15920. }
  15921. postIndex := iNdEx + intStringLen
  15922. if postIndex > l {
  15923. return io.ErrUnexpectedEOF
  15924. }
  15925. m.Reason = string(data[iNdEx:postIndex])
  15926. iNdEx = postIndex
  15927. case 2:
  15928. if wireType != 2 {
  15929. return fmt.Errorf("proto: wrong wireType = %d for field Message", wireType)
  15930. }
  15931. var stringLen uint64
  15932. for shift := uint(0); ; shift += 7 {
  15933. if shift >= 64 {
  15934. return ErrIntOverflowGenerated
  15935. }
  15936. if iNdEx >= l {
  15937. return io.ErrUnexpectedEOF
  15938. }
  15939. b := data[iNdEx]
  15940. iNdEx++
  15941. stringLen |= (uint64(b) & 0x7F) << shift
  15942. if b < 0x80 {
  15943. break
  15944. }
  15945. }
  15946. intStringLen := int(stringLen)
  15947. if intStringLen < 0 {
  15948. return ErrInvalidLengthGenerated
  15949. }
  15950. postIndex := iNdEx + intStringLen
  15951. if postIndex > l {
  15952. return io.ErrUnexpectedEOF
  15953. }
  15954. m.Message = string(data[iNdEx:postIndex])
  15955. iNdEx = postIndex
  15956. default:
  15957. iNdEx = preIndex
  15958. skippy, err := skipGenerated(data[iNdEx:])
  15959. if err != nil {
  15960. return err
  15961. }
  15962. if skippy < 0 {
  15963. return ErrInvalidLengthGenerated
  15964. }
  15965. if (iNdEx + skippy) > l {
  15966. return io.ErrUnexpectedEOF
  15967. }
  15968. iNdEx += skippy
  15969. }
  15970. }
  15971. if iNdEx > l {
  15972. return io.ErrUnexpectedEOF
  15973. }
  15974. return nil
  15975. }
  15976. func (m *ContainerStatus) Unmarshal(data []byte) error {
  15977. l := len(data)
  15978. iNdEx := 0
  15979. for iNdEx < l {
  15980. preIndex := iNdEx
  15981. var wire uint64
  15982. for shift := uint(0); ; shift += 7 {
  15983. if shift >= 64 {
  15984. return ErrIntOverflowGenerated
  15985. }
  15986. if iNdEx >= l {
  15987. return io.ErrUnexpectedEOF
  15988. }
  15989. b := data[iNdEx]
  15990. iNdEx++
  15991. wire |= (uint64(b) & 0x7F) << shift
  15992. if b < 0x80 {
  15993. break
  15994. }
  15995. }
  15996. fieldNum := int32(wire >> 3)
  15997. wireType := int(wire & 0x7)
  15998. if wireType == 4 {
  15999. return fmt.Errorf("proto: ContainerStatus: wiretype end group for non-group")
  16000. }
  16001. if fieldNum <= 0 {
  16002. return fmt.Errorf("proto: ContainerStatus: illegal tag %d (wire type %d)", fieldNum, wire)
  16003. }
  16004. switch fieldNum {
  16005. case 1:
  16006. if wireType != 2 {
  16007. return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
  16008. }
  16009. var stringLen uint64
  16010. for shift := uint(0); ; shift += 7 {
  16011. if shift >= 64 {
  16012. return ErrIntOverflowGenerated
  16013. }
  16014. if iNdEx >= l {
  16015. return io.ErrUnexpectedEOF
  16016. }
  16017. b := data[iNdEx]
  16018. iNdEx++
  16019. stringLen |= (uint64(b) & 0x7F) << shift
  16020. if b < 0x80 {
  16021. break
  16022. }
  16023. }
  16024. intStringLen := int(stringLen)
  16025. if intStringLen < 0 {
  16026. return ErrInvalidLengthGenerated
  16027. }
  16028. postIndex := iNdEx + intStringLen
  16029. if postIndex > l {
  16030. return io.ErrUnexpectedEOF
  16031. }
  16032. m.Name = string(data[iNdEx:postIndex])
  16033. iNdEx = postIndex
  16034. case 2:
  16035. if wireType != 2 {
  16036. return fmt.Errorf("proto: wrong wireType = %d for field State", wireType)
  16037. }
  16038. var msglen int
  16039. for shift := uint(0); ; shift += 7 {
  16040. if shift >= 64 {
  16041. return ErrIntOverflowGenerated
  16042. }
  16043. if iNdEx >= l {
  16044. return io.ErrUnexpectedEOF
  16045. }
  16046. b := data[iNdEx]
  16047. iNdEx++
  16048. msglen |= (int(b) & 0x7F) << shift
  16049. if b < 0x80 {
  16050. break
  16051. }
  16052. }
  16053. if msglen < 0 {
  16054. return ErrInvalidLengthGenerated
  16055. }
  16056. postIndex := iNdEx + msglen
  16057. if postIndex > l {
  16058. return io.ErrUnexpectedEOF
  16059. }
  16060. if err := m.State.Unmarshal(data[iNdEx:postIndex]); err != nil {
  16061. return err
  16062. }
  16063. iNdEx = postIndex
  16064. case 3:
  16065. if wireType != 2 {
  16066. return fmt.Errorf("proto: wrong wireType = %d for field LastTerminationState", wireType)
  16067. }
  16068. var msglen int
  16069. for shift := uint(0); ; shift += 7 {
  16070. if shift >= 64 {
  16071. return ErrIntOverflowGenerated
  16072. }
  16073. if iNdEx >= l {
  16074. return io.ErrUnexpectedEOF
  16075. }
  16076. b := data[iNdEx]
  16077. iNdEx++
  16078. msglen |= (int(b) & 0x7F) << shift
  16079. if b < 0x80 {
  16080. break
  16081. }
  16082. }
  16083. if msglen < 0 {
  16084. return ErrInvalidLengthGenerated
  16085. }
  16086. postIndex := iNdEx + msglen
  16087. if postIndex > l {
  16088. return io.ErrUnexpectedEOF
  16089. }
  16090. if err := m.LastTerminationState.Unmarshal(data[iNdEx:postIndex]); err != nil {
  16091. return err
  16092. }
  16093. iNdEx = postIndex
  16094. case 4:
  16095. if wireType != 0 {
  16096. return fmt.Errorf("proto: wrong wireType = %d for field Ready", wireType)
  16097. }
  16098. var v int
  16099. for shift := uint(0); ; shift += 7 {
  16100. if shift >= 64 {
  16101. return ErrIntOverflowGenerated
  16102. }
  16103. if iNdEx >= l {
  16104. return io.ErrUnexpectedEOF
  16105. }
  16106. b := data[iNdEx]
  16107. iNdEx++
  16108. v |= (int(b) & 0x7F) << shift
  16109. if b < 0x80 {
  16110. break
  16111. }
  16112. }
  16113. m.Ready = bool(v != 0)
  16114. case 5:
  16115. if wireType != 0 {
  16116. return fmt.Errorf("proto: wrong wireType = %d for field RestartCount", wireType)
  16117. }
  16118. m.RestartCount = 0
  16119. for shift := uint(0); ; shift += 7 {
  16120. if shift >= 64 {
  16121. return ErrIntOverflowGenerated
  16122. }
  16123. if iNdEx >= l {
  16124. return io.ErrUnexpectedEOF
  16125. }
  16126. b := data[iNdEx]
  16127. iNdEx++
  16128. m.RestartCount |= (int32(b) & 0x7F) << shift
  16129. if b < 0x80 {
  16130. break
  16131. }
  16132. }
  16133. case 6:
  16134. if wireType != 2 {
  16135. return fmt.Errorf("proto: wrong wireType = %d for field Image", wireType)
  16136. }
  16137. var stringLen uint64
  16138. for shift := uint(0); ; shift += 7 {
  16139. if shift >= 64 {
  16140. return ErrIntOverflowGenerated
  16141. }
  16142. if iNdEx >= l {
  16143. return io.ErrUnexpectedEOF
  16144. }
  16145. b := data[iNdEx]
  16146. iNdEx++
  16147. stringLen |= (uint64(b) & 0x7F) << shift
  16148. if b < 0x80 {
  16149. break
  16150. }
  16151. }
  16152. intStringLen := int(stringLen)
  16153. if intStringLen < 0 {
  16154. return ErrInvalidLengthGenerated
  16155. }
  16156. postIndex := iNdEx + intStringLen
  16157. if postIndex > l {
  16158. return io.ErrUnexpectedEOF
  16159. }
  16160. m.Image = string(data[iNdEx:postIndex])
  16161. iNdEx = postIndex
  16162. case 7:
  16163. if wireType != 2 {
  16164. return fmt.Errorf("proto: wrong wireType = %d for field ImageID", wireType)
  16165. }
  16166. var stringLen uint64
  16167. for shift := uint(0); ; shift += 7 {
  16168. if shift >= 64 {
  16169. return ErrIntOverflowGenerated
  16170. }
  16171. if iNdEx >= l {
  16172. return io.ErrUnexpectedEOF
  16173. }
  16174. b := data[iNdEx]
  16175. iNdEx++
  16176. stringLen |= (uint64(b) & 0x7F) << shift
  16177. if b < 0x80 {
  16178. break
  16179. }
  16180. }
  16181. intStringLen := int(stringLen)
  16182. if intStringLen < 0 {
  16183. return ErrInvalidLengthGenerated
  16184. }
  16185. postIndex := iNdEx + intStringLen
  16186. if postIndex > l {
  16187. return io.ErrUnexpectedEOF
  16188. }
  16189. m.ImageID = string(data[iNdEx:postIndex])
  16190. iNdEx = postIndex
  16191. case 8:
  16192. if wireType != 2 {
  16193. return fmt.Errorf("proto: wrong wireType = %d for field ContainerID", wireType)
  16194. }
  16195. var stringLen uint64
  16196. for shift := uint(0); ; shift += 7 {
  16197. if shift >= 64 {
  16198. return ErrIntOverflowGenerated
  16199. }
  16200. if iNdEx >= l {
  16201. return io.ErrUnexpectedEOF
  16202. }
  16203. b := data[iNdEx]
  16204. iNdEx++
  16205. stringLen |= (uint64(b) & 0x7F) << shift
  16206. if b < 0x80 {
  16207. break
  16208. }
  16209. }
  16210. intStringLen := int(stringLen)
  16211. if intStringLen < 0 {
  16212. return ErrInvalidLengthGenerated
  16213. }
  16214. postIndex := iNdEx + intStringLen
  16215. if postIndex > l {
  16216. return io.ErrUnexpectedEOF
  16217. }
  16218. m.ContainerID = string(data[iNdEx:postIndex])
  16219. iNdEx = postIndex
  16220. default:
  16221. iNdEx = preIndex
  16222. skippy, err := skipGenerated(data[iNdEx:])
  16223. if err != nil {
  16224. return err
  16225. }
  16226. if skippy < 0 {
  16227. return ErrInvalidLengthGenerated
  16228. }
  16229. if (iNdEx + skippy) > l {
  16230. return io.ErrUnexpectedEOF
  16231. }
  16232. iNdEx += skippy
  16233. }
  16234. }
  16235. if iNdEx > l {
  16236. return io.ErrUnexpectedEOF
  16237. }
  16238. return nil
  16239. }
  16240. func (m *DaemonEndpoint) Unmarshal(data []byte) error {
  16241. l := len(data)
  16242. iNdEx := 0
  16243. for iNdEx < l {
  16244. preIndex := iNdEx
  16245. var wire uint64
  16246. for shift := uint(0); ; shift += 7 {
  16247. if shift >= 64 {
  16248. return ErrIntOverflowGenerated
  16249. }
  16250. if iNdEx >= l {
  16251. return io.ErrUnexpectedEOF
  16252. }
  16253. b := data[iNdEx]
  16254. iNdEx++
  16255. wire |= (uint64(b) & 0x7F) << shift
  16256. if b < 0x80 {
  16257. break
  16258. }
  16259. }
  16260. fieldNum := int32(wire >> 3)
  16261. wireType := int(wire & 0x7)
  16262. if wireType == 4 {
  16263. return fmt.Errorf("proto: DaemonEndpoint: wiretype end group for non-group")
  16264. }
  16265. if fieldNum <= 0 {
  16266. return fmt.Errorf("proto: DaemonEndpoint: illegal tag %d (wire type %d)", fieldNum, wire)
  16267. }
  16268. switch fieldNum {
  16269. case 1:
  16270. if wireType != 0 {
  16271. return fmt.Errorf("proto: wrong wireType = %d for field Port", wireType)
  16272. }
  16273. m.Port = 0
  16274. for shift := uint(0); ; shift += 7 {
  16275. if shift >= 64 {
  16276. return ErrIntOverflowGenerated
  16277. }
  16278. if iNdEx >= l {
  16279. return io.ErrUnexpectedEOF
  16280. }
  16281. b := data[iNdEx]
  16282. iNdEx++
  16283. m.Port |= (int32(b) & 0x7F) << shift
  16284. if b < 0x80 {
  16285. break
  16286. }
  16287. }
  16288. default:
  16289. iNdEx = preIndex
  16290. skippy, err := skipGenerated(data[iNdEx:])
  16291. if err != nil {
  16292. return err
  16293. }
  16294. if skippy < 0 {
  16295. return ErrInvalidLengthGenerated
  16296. }
  16297. if (iNdEx + skippy) > l {
  16298. return io.ErrUnexpectedEOF
  16299. }
  16300. iNdEx += skippy
  16301. }
  16302. }
  16303. if iNdEx > l {
  16304. return io.ErrUnexpectedEOF
  16305. }
  16306. return nil
  16307. }
  16308. func (m *DeleteOptions) Unmarshal(data []byte) error {
  16309. l := len(data)
  16310. iNdEx := 0
  16311. for iNdEx < l {
  16312. preIndex := iNdEx
  16313. var wire uint64
  16314. for shift := uint(0); ; shift += 7 {
  16315. if shift >= 64 {
  16316. return ErrIntOverflowGenerated
  16317. }
  16318. if iNdEx >= l {
  16319. return io.ErrUnexpectedEOF
  16320. }
  16321. b := data[iNdEx]
  16322. iNdEx++
  16323. wire |= (uint64(b) & 0x7F) << shift
  16324. if b < 0x80 {
  16325. break
  16326. }
  16327. }
  16328. fieldNum := int32(wire >> 3)
  16329. wireType := int(wire & 0x7)
  16330. if wireType == 4 {
  16331. return fmt.Errorf("proto: DeleteOptions: wiretype end group for non-group")
  16332. }
  16333. if fieldNum <= 0 {
  16334. return fmt.Errorf("proto: DeleteOptions: illegal tag %d (wire type %d)", fieldNum, wire)
  16335. }
  16336. switch fieldNum {
  16337. case 1:
  16338. if wireType != 0 {
  16339. return fmt.Errorf("proto: wrong wireType = %d for field GracePeriodSeconds", wireType)
  16340. }
  16341. var v int64
  16342. for shift := uint(0); ; shift += 7 {
  16343. if shift >= 64 {
  16344. return ErrIntOverflowGenerated
  16345. }
  16346. if iNdEx >= l {
  16347. return io.ErrUnexpectedEOF
  16348. }
  16349. b := data[iNdEx]
  16350. iNdEx++
  16351. v |= (int64(b) & 0x7F) << shift
  16352. if b < 0x80 {
  16353. break
  16354. }
  16355. }
  16356. m.GracePeriodSeconds = &v
  16357. case 2:
  16358. if wireType != 2 {
  16359. return fmt.Errorf("proto: wrong wireType = %d for field Preconditions", wireType)
  16360. }
  16361. var msglen int
  16362. for shift := uint(0); ; shift += 7 {
  16363. if shift >= 64 {
  16364. return ErrIntOverflowGenerated
  16365. }
  16366. if iNdEx >= l {
  16367. return io.ErrUnexpectedEOF
  16368. }
  16369. b := data[iNdEx]
  16370. iNdEx++
  16371. msglen |= (int(b) & 0x7F) << shift
  16372. if b < 0x80 {
  16373. break
  16374. }
  16375. }
  16376. if msglen < 0 {
  16377. return ErrInvalidLengthGenerated
  16378. }
  16379. postIndex := iNdEx + msglen
  16380. if postIndex > l {
  16381. return io.ErrUnexpectedEOF
  16382. }
  16383. if m.Preconditions == nil {
  16384. m.Preconditions = &Preconditions{}
  16385. }
  16386. if err := m.Preconditions.Unmarshal(data[iNdEx:postIndex]); err != nil {
  16387. return err
  16388. }
  16389. iNdEx = postIndex
  16390. case 3:
  16391. if wireType != 0 {
  16392. return fmt.Errorf("proto: wrong wireType = %d for field OrphanDependents", wireType)
  16393. }
  16394. var v int
  16395. for shift := uint(0); ; shift += 7 {
  16396. if shift >= 64 {
  16397. return ErrIntOverflowGenerated
  16398. }
  16399. if iNdEx >= l {
  16400. return io.ErrUnexpectedEOF
  16401. }
  16402. b := data[iNdEx]
  16403. iNdEx++
  16404. v |= (int(b) & 0x7F) << shift
  16405. if b < 0x80 {
  16406. break
  16407. }
  16408. }
  16409. b := bool(v != 0)
  16410. m.OrphanDependents = &b
  16411. default:
  16412. iNdEx = preIndex
  16413. skippy, err := skipGenerated(data[iNdEx:])
  16414. if err != nil {
  16415. return err
  16416. }
  16417. if skippy < 0 {
  16418. return ErrInvalidLengthGenerated
  16419. }
  16420. if (iNdEx + skippy) > l {
  16421. return io.ErrUnexpectedEOF
  16422. }
  16423. iNdEx += skippy
  16424. }
  16425. }
  16426. if iNdEx > l {
  16427. return io.ErrUnexpectedEOF
  16428. }
  16429. return nil
  16430. }
  16431. func (m *DownwardAPIVolumeFile) Unmarshal(data []byte) error {
  16432. l := len(data)
  16433. iNdEx := 0
  16434. for iNdEx < l {
  16435. preIndex := iNdEx
  16436. var wire uint64
  16437. for shift := uint(0); ; shift += 7 {
  16438. if shift >= 64 {
  16439. return ErrIntOverflowGenerated
  16440. }
  16441. if iNdEx >= l {
  16442. return io.ErrUnexpectedEOF
  16443. }
  16444. b := data[iNdEx]
  16445. iNdEx++
  16446. wire |= (uint64(b) & 0x7F) << shift
  16447. if b < 0x80 {
  16448. break
  16449. }
  16450. }
  16451. fieldNum := int32(wire >> 3)
  16452. wireType := int(wire & 0x7)
  16453. if wireType == 4 {
  16454. return fmt.Errorf("proto: DownwardAPIVolumeFile: wiretype end group for non-group")
  16455. }
  16456. if fieldNum <= 0 {
  16457. return fmt.Errorf("proto: DownwardAPIVolumeFile: illegal tag %d (wire type %d)", fieldNum, wire)
  16458. }
  16459. switch fieldNum {
  16460. case 1:
  16461. if wireType != 2 {
  16462. return fmt.Errorf("proto: wrong wireType = %d for field Path", wireType)
  16463. }
  16464. var stringLen uint64
  16465. for shift := uint(0); ; shift += 7 {
  16466. if shift >= 64 {
  16467. return ErrIntOverflowGenerated
  16468. }
  16469. if iNdEx >= l {
  16470. return io.ErrUnexpectedEOF
  16471. }
  16472. b := data[iNdEx]
  16473. iNdEx++
  16474. stringLen |= (uint64(b) & 0x7F) << shift
  16475. if b < 0x80 {
  16476. break
  16477. }
  16478. }
  16479. intStringLen := int(stringLen)
  16480. if intStringLen < 0 {
  16481. return ErrInvalidLengthGenerated
  16482. }
  16483. postIndex := iNdEx + intStringLen
  16484. if postIndex > l {
  16485. return io.ErrUnexpectedEOF
  16486. }
  16487. m.Path = string(data[iNdEx:postIndex])
  16488. iNdEx = postIndex
  16489. case 2:
  16490. if wireType != 2 {
  16491. return fmt.Errorf("proto: wrong wireType = %d for field FieldRef", wireType)
  16492. }
  16493. var msglen int
  16494. for shift := uint(0); ; shift += 7 {
  16495. if shift >= 64 {
  16496. return ErrIntOverflowGenerated
  16497. }
  16498. if iNdEx >= l {
  16499. return io.ErrUnexpectedEOF
  16500. }
  16501. b := data[iNdEx]
  16502. iNdEx++
  16503. msglen |= (int(b) & 0x7F) << shift
  16504. if b < 0x80 {
  16505. break
  16506. }
  16507. }
  16508. if msglen < 0 {
  16509. return ErrInvalidLengthGenerated
  16510. }
  16511. postIndex := iNdEx + msglen
  16512. if postIndex > l {
  16513. return io.ErrUnexpectedEOF
  16514. }
  16515. if m.FieldRef == nil {
  16516. m.FieldRef = &ObjectFieldSelector{}
  16517. }
  16518. if err := m.FieldRef.Unmarshal(data[iNdEx:postIndex]); err != nil {
  16519. return err
  16520. }
  16521. iNdEx = postIndex
  16522. case 3:
  16523. if wireType != 2 {
  16524. return fmt.Errorf("proto: wrong wireType = %d for field ResourceFieldRef", wireType)
  16525. }
  16526. var msglen int
  16527. for shift := uint(0); ; shift += 7 {
  16528. if shift >= 64 {
  16529. return ErrIntOverflowGenerated
  16530. }
  16531. if iNdEx >= l {
  16532. return io.ErrUnexpectedEOF
  16533. }
  16534. b := data[iNdEx]
  16535. iNdEx++
  16536. msglen |= (int(b) & 0x7F) << shift
  16537. if b < 0x80 {
  16538. break
  16539. }
  16540. }
  16541. if msglen < 0 {
  16542. return ErrInvalidLengthGenerated
  16543. }
  16544. postIndex := iNdEx + msglen
  16545. if postIndex > l {
  16546. return io.ErrUnexpectedEOF
  16547. }
  16548. if m.ResourceFieldRef == nil {
  16549. m.ResourceFieldRef = &ResourceFieldSelector{}
  16550. }
  16551. if err := m.ResourceFieldRef.Unmarshal(data[iNdEx:postIndex]); err != nil {
  16552. return err
  16553. }
  16554. iNdEx = postIndex
  16555. case 4:
  16556. if wireType != 0 {
  16557. return fmt.Errorf("proto: wrong wireType = %d for field Mode", wireType)
  16558. }
  16559. var v int32
  16560. for shift := uint(0); ; shift += 7 {
  16561. if shift >= 64 {
  16562. return ErrIntOverflowGenerated
  16563. }
  16564. if iNdEx >= l {
  16565. return io.ErrUnexpectedEOF
  16566. }
  16567. b := data[iNdEx]
  16568. iNdEx++
  16569. v |= (int32(b) & 0x7F) << shift
  16570. if b < 0x80 {
  16571. break
  16572. }
  16573. }
  16574. m.Mode = &v
  16575. default:
  16576. iNdEx = preIndex
  16577. skippy, err := skipGenerated(data[iNdEx:])
  16578. if err != nil {
  16579. return err
  16580. }
  16581. if skippy < 0 {
  16582. return ErrInvalidLengthGenerated
  16583. }
  16584. if (iNdEx + skippy) > l {
  16585. return io.ErrUnexpectedEOF
  16586. }
  16587. iNdEx += skippy
  16588. }
  16589. }
  16590. if iNdEx > l {
  16591. return io.ErrUnexpectedEOF
  16592. }
  16593. return nil
  16594. }
  16595. func (m *DownwardAPIVolumeSource) Unmarshal(data []byte) error {
  16596. l := len(data)
  16597. iNdEx := 0
  16598. for iNdEx < l {
  16599. preIndex := iNdEx
  16600. var wire uint64
  16601. for shift := uint(0); ; shift += 7 {
  16602. if shift >= 64 {
  16603. return ErrIntOverflowGenerated
  16604. }
  16605. if iNdEx >= l {
  16606. return io.ErrUnexpectedEOF
  16607. }
  16608. b := data[iNdEx]
  16609. iNdEx++
  16610. wire |= (uint64(b) & 0x7F) << shift
  16611. if b < 0x80 {
  16612. break
  16613. }
  16614. }
  16615. fieldNum := int32(wire >> 3)
  16616. wireType := int(wire & 0x7)
  16617. if wireType == 4 {
  16618. return fmt.Errorf("proto: DownwardAPIVolumeSource: wiretype end group for non-group")
  16619. }
  16620. if fieldNum <= 0 {
  16621. return fmt.Errorf("proto: DownwardAPIVolumeSource: illegal tag %d (wire type %d)", fieldNum, wire)
  16622. }
  16623. switch fieldNum {
  16624. case 1:
  16625. if wireType != 2 {
  16626. return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType)
  16627. }
  16628. var msglen int
  16629. for shift := uint(0); ; shift += 7 {
  16630. if shift >= 64 {
  16631. return ErrIntOverflowGenerated
  16632. }
  16633. if iNdEx >= l {
  16634. return io.ErrUnexpectedEOF
  16635. }
  16636. b := data[iNdEx]
  16637. iNdEx++
  16638. msglen |= (int(b) & 0x7F) << shift
  16639. if b < 0x80 {
  16640. break
  16641. }
  16642. }
  16643. if msglen < 0 {
  16644. return ErrInvalidLengthGenerated
  16645. }
  16646. postIndex := iNdEx + msglen
  16647. if postIndex > l {
  16648. return io.ErrUnexpectedEOF
  16649. }
  16650. m.Items = append(m.Items, DownwardAPIVolumeFile{})
  16651. if err := m.Items[len(m.Items)-1].Unmarshal(data[iNdEx:postIndex]); err != nil {
  16652. return err
  16653. }
  16654. iNdEx = postIndex
  16655. case 2:
  16656. if wireType != 0 {
  16657. return fmt.Errorf("proto: wrong wireType = %d for field DefaultMode", wireType)
  16658. }
  16659. var v int32
  16660. for shift := uint(0); ; shift += 7 {
  16661. if shift >= 64 {
  16662. return ErrIntOverflowGenerated
  16663. }
  16664. if iNdEx >= l {
  16665. return io.ErrUnexpectedEOF
  16666. }
  16667. b := data[iNdEx]
  16668. iNdEx++
  16669. v |= (int32(b) & 0x7F) << shift
  16670. if b < 0x80 {
  16671. break
  16672. }
  16673. }
  16674. m.DefaultMode = &v
  16675. default:
  16676. iNdEx = preIndex
  16677. skippy, err := skipGenerated(data[iNdEx:])
  16678. if err != nil {
  16679. return err
  16680. }
  16681. if skippy < 0 {
  16682. return ErrInvalidLengthGenerated
  16683. }
  16684. if (iNdEx + skippy) > l {
  16685. return io.ErrUnexpectedEOF
  16686. }
  16687. iNdEx += skippy
  16688. }
  16689. }
  16690. if iNdEx > l {
  16691. return io.ErrUnexpectedEOF
  16692. }
  16693. return nil
  16694. }
  16695. func (m *EmptyDirVolumeSource) Unmarshal(data []byte) error {
  16696. l := len(data)
  16697. iNdEx := 0
  16698. for iNdEx < l {
  16699. preIndex := iNdEx
  16700. var wire uint64
  16701. for shift := uint(0); ; shift += 7 {
  16702. if shift >= 64 {
  16703. return ErrIntOverflowGenerated
  16704. }
  16705. if iNdEx >= l {
  16706. return io.ErrUnexpectedEOF
  16707. }
  16708. b := data[iNdEx]
  16709. iNdEx++
  16710. wire |= (uint64(b) & 0x7F) << shift
  16711. if b < 0x80 {
  16712. break
  16713. }
  16714. }
  16715. fieldNum := int32(wire >> 3)
  16716. wireType := int(wire & 0x7)
  16717. if wireType == 4 {
  16718. return fmt.Errorf("proto: EmptyDirVolumeSource: wiretype end group for non-group")
  16719. }
  16720. if fieldNum <= 0 {
  16721. return fmt.Errorf("proto: EmptyDirVolumeSource: illegal tag %d (wire type %d)", fieldNum, wire)
  16722. }
  16723. switch fieldNum {
  16724. case 1:
  16725. if wireType != 2 {
  16726. return fmt.Errorf("proto: wrong wireType = %d for field Medium", wireType)
  16727. }
  16728. var stringLen uint64
  16729. for shift := uint(0); ; shift += 7 {
  16730. if shift >= 64 {
  16731. return ErrIntOverflowGenerated
  16732. }
  16733. if iNdEx >= l {
  16734. return io.ErrUnexpectedEOF
  16735. }
  16736. b := data[iNdEx]
  16737. iNdEx++
  16738. stringLen |= (uint64(b) & 0x7F) << shift
  16739. if b < 0x80 {
  16740. break
  16741. }
  16742. }
  16743. intStringLen := int(stringLen)
  16744. if intStringLen < 0 {
  16745. return ErrInvalidLengthGenerated
  16746. }
  16747. postIndex := iNdEx + intStringLen
  16748. if postIndex > l {
  16749. return io.ErrUnexpectedEOF
  16750. }
  16751. m.Medium = StorageMedium(data[iNdEx:postIndex])
  16752. iNdEx = postIndex
  16753. default:
  16754. iNdEx = preIndex
  16755. skippy, err := skipGenerated(data[iNdEx:])
  16756. if err != nil {
  16757. return err
  16758. }
  16759. if skippy < 0 {
  16760. return ErrInvalidLengthGenerated
  16761. }
  16762. if (iNdEx + skippy) > l {
  16763. return io.ErrUnexpectedEOF
  16764. }
  16765. iNdEx += skippy
  16766. }
  16767. }
  16768. if iNdEx > l {
  16769. return io.ErrUnexpectedEOF
  16770. }
  16771. return nil
  16772. }
  16773. func (m *EndpointAddress) Unmarshal(data []byte) error {
  16774. l := len(data)
  16775. iNdEx := 0
  16776. for iNdEx < l {
  16777. preIndex := iNdEx
  16778. var wire uint64
  16779. for shift := uint(0); ; shift += 7 {
  16780. if shift >= 64 {
  16781. return ErrIntOverflowGenerated
  16782. }
  16783. if iNdEx >= l {
  16784. return io.ErrUnexpectedEOF
  16785. }
  16786. b := data[iNdEx]
  16787. iNdEx++
  16788. wire |= (uint64(b) & 0x7F) << shift
  16789. if b < 0x80 {
  16790. break
  16791. }
  16792. }
  16793. fieldNum := int32(wire >> 3)
  16794. wireType := int(wire & 0x7)
  16795. if wireType == 4 {
  16796. return fmt.Errorf("proto: EndpointAddress: wiretype end group for non-group")
  16797. }
  16798. if fieldNum <= 0 {
  16799. return fmt.Errorf("proto: EndpointAddress: illegal tag %d (wire type %d)", fieldNum, wire)
  16800. }
  16801. switch fieldNum {
  16802. case 1:
  16803. if wireType != 2 {
  16804. return fmt.Errorf("proto: wrong wireType = %d for field IP", wireType)
  16805. }
  16806. var stringLen uint64
  16807. for shift := uint(0); ; shift += 7 {
  16808. if shift >= 64 {
  16809. return ErrIntOverflowGenerated
  16810. }
  16811. if iNdEx >= l {
  16812. return io.ErrUnexpectedEOF
  16813. }
  16814. b := data[iNdEx]
  16815. iNdEx++
  16816. stringLen |= (uint64(b) & 0x7F) << shift
  16817. if b < 0x80 {
  16818. break
  16819. }
  16820. }
  16821. intStringLen := int(stringLen)
  16822. if intStringLen < 0 {
  16823. return ErrInvalidLengthGenerated
  16824. }
  16825. postIndex := iNdEx + intStringLen
  16826. if postIndex > l {
  16827. return io.ErrUnexpectedEOF
  16828. }
  16829. m.IP = string(data[iNdEx:postIndex])
  16830. iNdEx = postIndex
  16831. case 2:
  16832. if wireType != 2 {
  16833. return fmt.Errorf("proto: wrong wireType = %d for field TargetRef", wireType)
  16834. }
  16835. var msglen int
  16836. for shift := uint(0); ; shift += 7 {
  16837. if shift >= 64 {
  16838. return ErrIntOverflowGenerated
  16839. }
  16840. if iNdEx >= l {
  16841. return io.ErrUnexpectedEOF
  16842. }
  16843. b := data[iNdEx]
  16844. iNdEx++
  16845. msglen |= (int(b) & 0x7F) << shift
  16846. if b < 0x80 {
  16847. break
  16848. }
  16849. }
  16850. if msglen < 0 {
  16851. return ErrInvalidLengthGenerated
  16852. }
  16853. postIndex := iNdEx + msglen
  16854. if postIndex > l {
  16855. return io.ErrUnexpectedEOF
  16856. }
  16857. if m.TargetRef == nil {
  16858. m.TargetRef = &ObjectReference{}
  16859. }
  16860. if err := m.TargetRef.Unmarshal(data[iNdEx:postIndex]); err != nil {
  16861. return err
  16862. }
  16863. iNdEx = postIndex
  16864. case 3:
  16865. if wireType != 2 {
  16866. return fmt.Errorf("proto: wrong wireType = %d for field Hostname", wireType)
  16867. }
  16868. var stringLen uint64
  16869. for shift := uint(0); ; shift += 7 {
  16870. if shift >= 64 {
  16871. return ErrIntOverflowGenerated
  16872. }
  16873. if iNdEx >= l {
  16874. return io.ErrUnexpectedEOF
  16875. }
  16876. b := data[iNdEx]
  16877. iNdEx++
  16878. stringLen |= (uint64(b) & 0x7F) << shift
  16879. if b < 0x80 {
  16880. break
  16881. }
  16882. }
  16883. intStringLen := int(stringLen)
  16884. if intStringLen < 0 {
  16885. return ErrInvalidLengthGenerated
  16886. }
  16887. postIndex := iNdEx + intStringLen
  16888. if postIndex > l {
  16889. return io.ErrUnexpectedEOF
  16890. }
  16891. m.Hostname = string(data[iNdEx:postIndex])
  16892. iNdEx = postIndex
  16893. case 4:
  16894. if wireType != 2 {
  16895. return fmt.Errorf("proto: wrong wireType = %d for field NodeName", wireType)
  16896. }
  16897. var stringLen uint64
  16898. for shift := uint(0); ; shift += 7 {
  16899. if shift >= 64 {
  16900. return ErrIntOverflowGenerated
  16901. }
  16902. if iNdEx >= l {
  16903. return io.ErrUnexpectedEOF
  16904. }
  16905. b := data[iNdEx]
  16906. iNdEx++
  16907. stringLen |= (uint64(b) & 0x7F) << shift
  16908. if b < 0x80 {
  16909. break
  16910. }
  16911. }
  16912. intStringLen := int(stringLen)
  16913. if intStringLen < 0 {
  16914. return ErrInvalidLengthGenerated
  16915. }
  16916. postIndex := iNdEx + intStringLen
  16917. if postIndex > l {
  16918. return io.ErrUnexpectedEOF
  16919. }
  16920. s := string(data[iNdEx:postIndex])
  16921. m.NodeName = &s
  16922. iNdEx = postIndex
  16923. default:
  16924. iNdEx = preIndex
  16925. skippy, err := skipGenerated(data[iNdEx:])
  16926. if err != nil {
  16927. return err
  16928. }
  16929. if skippy < 0 {
  16930. return ErrInvalidLengthGenerated
  16931. }
  16932. if (iNdEx + skippy) > l {
  16933. return io.ErrUnexpectedEOF
  16934. }
  16935. iNdEx += skippy
  16936. }
  16937. }
  16938. if iNdEx > l {
  16939. return io.ErrUnexpectedEOF
  16940. }
  16941. return nil
  16942. }
  16943. func (m *EndpointPort) Unmarshal(data []byte) error {
  16944. l := len(data)
  16945. iNdEx := 0
  16946. for iNdEx < l {
  16947. preIndex := iNdEx
  16948. var wire uint64
  16949. for shift := uint(0); ; shift += 7 {
  16950. if shift >= 64 {
  16951. return ErrIntOverflowGenerated
  16952. }
  16953. if iNdEx >= l {
  16954. return io.ErrUnexpectedEOF
  16955. }
  16956. b := data[iNdEx]
  16957. iNdEx++
  16958. wire |= (uint64(b) & 0x7F) << shift
  16959. if b < 0x80 {
  16960. break
  16961. }
  16962. }
  16963. fieldNum := int32(wire >> 3)
  16964. wireType := int(wire & 0x7)
  16965. if wireType == 4 {
  16966. return fmt.Errorf("proto: EndpointPort: wiretype end group for non-group")
  16967. }
  16968. if fieldNum <= 0 {
  16969. return fmt.Errorf("proto: EndpointPort: illegal tag %d (wire type %d)", fieldNum, wire)
  16970. }
  16971. switch fieldNum {
  16972. case 1:
  16973. if wireType != 2 {
  16974. return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
  16975. }
  16976. var stringLen uint64
  16977. for shift := uint(0); ; shift += 7 {
  16978. if shift >= 64 {
  16979. return ErrIntOverflowGenerated
  16980. }
  16981. if iNdEx >= l {
  16982. return io.ErrUnexpectedEOF
  16983. }
  16984. b := data[iNdEx]
  16985. iNdEx++
  16986. stringLen |= (uint64(b) & 0x7F) << shift
  16987. if b < 0x80 {
  16988. break
  16989. }
  16990. }
  16991. intStringLen := int(stringLen)
  16992. if intStringLen < 0 {
  16993. return ErrInvalidLengthGenerated
  16994. }
  16995. postIndex := iNdEx + intStringLen
  16996. if postIndex > l {
  16997. return io.ErrUnexpectedEOF
  16998. }
  16999. m.Name = string(data[iNdEx:postIndex])
  17000. iNdEx = postIndex
  17001. case 2:
  17002. if wireType != 0 {
  17003. return fmt.Errorf("proto: wrong wireType = %d for field Port", wireType)
  17004. }
  17005. m.Port = 0
  17006. for shift := uint(0); ; shift += 7 {
  17007. if shift >= 64 {
  17008. return ErrIntOverflowGenerated
  17009. }
  17010. if iNdEx >= l {
  17011. return io.ErrUnexpectedEOF
  17012. }
  17013. b := data[iNdEx]
  17014. iNdEx++
  17015. m.Port |= (int32(b) & 0x7F) << shift
  17016. if b < 0x80 {
  17017. break
  17018. }
  17019. }
  17020. case 3:
  17021. if wireType != 2 {
  17022. return fmt.Errorf("proto: wrong wireType = %d for field Protocol", wireType)
  17023. }
  17024. var stringLen uint64
  17025. for shift := uint(0); ; shift += 7 {
  17026. if shift >= 64 {
  17027. return ErrIntOverflowGenerated
  17028. }
  17029. if iNdEx >= l {
  17030. return io.ErrUnexpectedEOF
  17031. }
  17032. b := data[iNdEx]
  17033. iNdEx++
  17034. stringLen |= (uint64(b) & 0x7F) << shift
  17035. if b < 0x80 {
  17036. break
  17037. }
  17038. }
  17039. intStringLen := int(stringLen)
  17040. if intStringLen < 0 {
  17041. return ErrInvalidLengthGenerated
  17042. }
  17043. postIndex := iNdEx + intStringLen
  17044. if postIndex > l {
  17045. return io.ErrUnexpectedEOF
  17046. }
  17047. m.Protocol = Protocol(data[iNdEx:postIndex])
  17048. iNdEx = postIndex
  17049. default:
  17050. iNdEx = preIndex
  17051. skippy, err := skipGenerated(data[iNdEx:])
  17052. if err != nil {
  17053. return err
  17054. }
  17055. if skippy < 0 {
  17056. return ErrInvalidLengthGenerated
  17057. }
  17058. if (iNdEx + skippy) > l {
  17059. return io.ErrUnexpectedEOF
  17060. }
  17061. iNdEx += skippy
  17062. }
  17063. }
  17064. if iNdEx > l {
  17065. return io.ErrUnexpectedEOF
  17066. }
  17067. return nil
  17068. }
  17069. func (m *EndpointSubset) Unmarshal(data []byte) error {
  17070. l := len(data)
  17071. iNdEx := 0
  17072. for iNdEx < l {
  17073. preIndex := iNdEx
  17074. var wire uint64
  17075. for shift := uint(0); ; shift += 7 {
  17076. if shift >= 64 {
  17077. return ErrIntOverflowGenerated
  17078. }
  17079. if iNdEx >= l {
  17080. return io.ErrUnexpectedEOF
  17081. }
  17082. b := data[iNdEx]
  17083. iNdEx++
  17084. wire |= (uint64(b) & 0x7F) << shift
  17085. if b < 0x80 {
  17086. break
  17087. }
  17088. }
  17089. fieldNum := int32(wire >> 3)
  17090. wireType := int(wire & 0x7)
  17091. if wireType == 4 {
  17092. return fmt.Errorf("proto: EndpointSubset: wiretype end group for non-group")
  17093. }
  17094. if fieldNum <= 0 {
  17095. return fmt.Errorf("proto: EndpointSubset: illegal tag %d (wire type %d)", fieldNum, wire)
  17096. }
  17097. switch fieldNum {
  17098. case 1:
  17099. if wireType != 2 {
  17100. return fmt.Errorf("proto: wrong wireType = %d for field Addresses", wireType)
  17101. }
  17102. var msglen int
  17103. for shift := uint(0); ; shift += 7 {
  17104. if shift >= 64 {
  17105. return ErrIntOverflowGenerated
  17106. }
  17107. if iNdEx >= l {
  17108. return io.ErrUnexpectedEOF
  17109. }
  17110. b := data[iNdEx]
  17111. iNdEx++
  17112. msglen |= (int(b) & 0x7F) << shift
  17113. if b < 0x80 {
  17114. break
  17115. }
  17116. }
  17117. if msglen < 0 {
  17118. return ErrInvalidLengthGenerated
  17119. }
  17120. postIndex := iNdEx + msglen
  17121. if postIndex > l {
  17122. return io.ErrUnexpectedEOF
  17123. }
  17124. m.Addresses = append(m.Addresses, EndpointAddress{})
  17125. if err := m.Addresses[len(m.Addresses)-1].Unmarshal(data[iNdEx:postIndex]); err != nil {
  17126. return err
  17127. }
  17128. iNdEx = postIndex
  17129. case 2:
  17130. if wireType != 2 {
  17131. return fmt.Errorf("proto: wrong wireType = %d for field NotReadyAddresses", wireType)
  17132. }
  17133. var msglen int
  17134. for shift := uint(0); ; shift += 7 {
  17135. if shift >= 64 {
  17136. return ErrIntOverflowGenerated
  17137. }
  17138. if iNdEx >= l {
  17139. return io.ErrUnexpectedEOF
  17140. }
  17141. b := data[iNdEx]
  17142. iNdEx++
  17143. msglen |= (int(b) & 0x7F) << shift
  17144. if b < 0x80 {
  17145. break
  17146. }
  17147. }
  17148. if msglen < 0 {
  17149. return ErrInvalidLengthGenerated
  17150. }
  17151. postIndex := iNdEx + msglen
  17152. if postIndex > l {
  17153. return io.ErrUnexpectedEOF
  17154. }
  17155. m.NotReadyAddresses = append(m.NotReadyAddresses, EndpointAddress{})
  17156. if err := m.NotReadyAddresses[len(m.NotReadyAddresses)-1].Unmarshal(data[iNdEx:postIndex]); err != nil {
  17157. return err
  17158. }
  17159. iNdEx = postIndex
  17160. case 3:
  17161. if wireType != 2 {
  17162. return fmt.Errorf("proto: wrong wireType = %d for field Ports", wireType)
  17163. }
  17164. var msglen int
  17165. for shift := uint(0); ; shift += 7 {
  17166. if shift >= 64 {
  17167. return ErrIntOverflowGenerated
  17168. }
  17169. if iNdEx >= l {
  17170. return io.ErrUnexpectedEOF
  17171. }
  17172. b := data[iNdEx]
  17173. iNdEx++
  17174. msglen |= (int(b) & 0x7F) << shift
  17175. if b < 0x80 {
  17176. break
  17177. }
  17178. }
  17179. if msglen < 0 {
  17180. return ErrInvalidLengthGenerated
  17181. }
  17182. postIndex := iNdEx + msglen
  17183. if postIndex > l {
  17184. return io.ErrUnexpectedEOF
  17185. }
  17186. m.Ports = append(m.Ports, EndpointPort{})
  17187. if err := m.Ports[len(m.Ports)-1].Unmarshal(data[iNdEx:postIndex]); err != nil {
  17188. return err
  17189. }
  17190. iNdEx = postIndex
  17191. default:
  17192. iNdEx = preIndex
  17193. skippy, err := skipGenerated(data[iNdEx:])
  17194. if err != nil {
  17195. return err
  17196. }
  17197. if skippy < 0 {
  17198. return ErrInvalidLengthGenerated
  17199. }
  17200. if (iNdEx + skippy) > l {
  17201. return io.ErrUnexpectedEOF
  17202. }
  17203. iNdEx += skippy
  17204. }
  17205. }
  17206. if iNdEx > l {
  17207. return io.ErrUnexpectedEOF
  17208. }
  17209. return nil
  17210. }
  17211. func (m *Endpoints) Unmarshal(data []byte) error {
  17212. l := len(data)
  17213. iNdEx := 0
  17214. for iNdEx < l {
  17215. preIndex := iNdEx
  17216. var wire uint64
  17217. for shift := uint(0); ; shift += 7 {
  17218. if shift >= 64 {
  17219. return ErrIntOverflowGenerated
  17220. }
  17221. if iNdEx >= l {
  17222. return io.ErrUnexpectedEOF
  17223. }
  17224. b := data[iNdEx]
  17225. iNdEx++
  17226. wire |= (uint64(b) & 0x7F) << shift
  17227. if b < 0x80 {
  17228. break
  17229. }
  17230. }
  17231. fieldNum := int32(wire >> 3)
  17232. wireType := int(wire & 0x7)
  17233. if wireType == 4 {
  17234. return fmt.Errorf("proto: Endpoints: wiretype end group for non-group")
  17235. }
  17236. if fieldNum <= 0 {
  17237. return fmt.Errorf("proto: Endpoints: illegal tag %d (wire type %d)", fieldNum, wire)
  17238. }
  17239. switch fieldNum {
  17240. case 1:
  17241. if wireType != 2 {
  17242. return fmt.Errorf("proto: wrong wireType = %d for field ObjectMeta", wireType)
  17243. }
  17244. var msglen int
  17245. for shift := uint(0); ; shift += 7 {
  17246. if shift >= 64 {
  17247. return ErrIntOverflowGenerated
  17248. }
  17249. if iNdEx >= l {
  17250. return io.ErrUnexpectedEOF
  17251. }
  17252. b := data[iNdEx]
  17253. iNdEx++
  17254. msglen |= (int(b) & 0x7F) << shift
  17255. if b < 0x80 {
  17256. break
  17257. }
  17258. }
  17259. if msglen < 0 {
  17260. return ErrInvalidLengthGenerated
  17261. }
  17262. postIndex := iNdEx + msglen
  17263. if postIndex > l {
  17264. return io.ErrUnexpectedEOF
  17265. }
  17266. if err := m.ObjectMeta.Unmarshal(data[iNdEx:postIndex]); err != nil {
  17267. return err
  17268. }
  17269. iNdEx = postIndex
  17270. case 2:
  17271. if wireType != 2 {
  17272. return fmt.Errorf("proto: wrong wireType = %d for field Subsets", wireType)
  17273. }
  17274. var msglen int
  17275. for shift := uint(0); ; shift += 7 {
  17276. if shift >= 64 {
  17277. return ErrIntOverflowGenerated
  17278. }
  17279. if iNdEx >= l {
  17280. return io.ErrUnexpectedEOF
  17281. }
  17282. b := data[iNdEx]
  17283. iNdEx++
  17284. msglen |= (int(b) & 0x7F) << shift
  17285. if b < 0x80 {
  17286. break
  17287. }
  17288. }
  17289. if msglen < 0 {
  17290. return ErrInvalidLengthGenerated
  17291. }
  17292. postIndex := iNdEx + msglen
  17293. if postIndex > l {
  17294. return io.ErrUnexpectedEOF
  17295. }
  17296. m.Subsets = append(m.Subsets, EndpointSubset{})
  17297. if err := m.Subsets[len(m.Subsets)-1].Unmarshal(data[iNdEx:postIndex]); err != nil {
  17298. return err
  17299. }
  17300. iNdEx = postIndex
  17301. default:
  17302. iNdEx = preIndex
  17303. skippy, err := skipGenerated(data[iNdEx:])
  17304. if err != nil {
  17305. return err
  17306. }
  17307. if skippy < 0 {
  17308. return ErrInvalidLengthGenerated
  17309. }
  17310. if (iNdEx + skippy) > l {
  17311. return io.ErrUnexpectedEOF
  17312. }
  17313. iNdEx += skippy
  17314. }
  17315. }
  17316. if iNdEx > l {
  17317. return io.ErrUnexpectedEOF
  17318. }
  17319. return nil
  17320. }
  17321. func (m *EndpointsList) Unmarshal(data []byte) error {
  17322. l := len(data)
  17323. iNdEx := 0
  17324. for iNdEx < l {
  17325. preIndex := iNdEx
  17326. var wire uint64
  17327. for shift := uint(0); ; shift += 7 {
  17328. if shift >= 64 {
  17329. return ErrIntOverflowGenerated
  17330. }
  17331. if iNdEx >= l {
  17332. return io.ErrUnexpectedEOF
  17333. }
  17334. b := data[iNdEx]
  17335. iNdEx++
  17336. wire |= (uint64(b) & 0x7F) << shift
  17337. if b < 0x80 {
  17338. break
  17339. }
  17340. }
  17341. fieldNum := int32(wire >> 3)
  17342. wireType := int(wire & 0x7)
  17343. if wireType == 4 {
  17344. return fmt.Errorf("proto: EndpointsList: wiretype end group for non-group")
  17345. }
  17346. if fieldNum <= 0 {
  17347. return fmt.Errorf("proto: EndpointsList: illegal tag %d (wire type %d)", fieldNum, wire)
  17348. }
  17349. switch fieldNum {
  17350. case 1:
  17351. if wireType != 2 {
  17352. return fmt.Errorf("proto: wrong wireType = %d for field ListMeta", wireType)
  17353. }
  17354. var msglen int
  17355. for shift := uint(0); ; shift += 7 {
  17356. if shift >= 64 {
  17357. return ErrIntOverflowGenerated
  17358. }
  17359. if iNdEx >= l {
  17360. return io.ErrUnexpectedEOF
  17361. }
  17362. b := data[iNdEx]
  17363. iNdEx++
  17364. msglen |= (int(b) & 0x7F) << shift
  17365. if b < 0x80 {
  17366. break
  17367. }
  17368. }
  17369. if msglen < 0 {
  17370. return ErrInvalidLengthGenerated
  17371. }
  17372. postIndex := iNdEx + msglen
  17373. if postIndex > l {
  17374. return io.ErrUnexpectedEOF
  17375. }
  17376. if err := m.ListMeta.Unmarshal(data[iNdEx:postIndex]); err != nil {
  17377. return err
  17378. }
  17379. iNdEx = postIndex
  17380. case 2:
  17381. if wireType != 2 {
  17382. return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType)
  17383. }
  17384. var msglen int
  17385. for shift := uint(0); ; shift += 7 {
  17386. if shift >= 64 {
  17387. return ErrIntOverflowGenerated
  17388. }
  17389. if iNdEx >= l {
  17390. return io.ErrUnexpectedEOF
  17391. }
  17392. b := data[iNdEx]
  17393. iNdEx++
  17394. msglen |= (int(b) & 0x7F) << shift
  17395. if b < 0x80 {
  17396. break
  17397. }
  17398. }
  17399. if msglen < 0 {
  17400. return ErrInvalidLengthGenerated
  17401. }
  17402. postIndex := iNdEx + msglen
  17403. if postIndex > l {
  17404. return io.ErrUnexpectedEOF
  17405. }
  17406. m.Items = append(m.Items, Endpoints{})
  17407. if err := m.Items[len(m.Items)-1].Unmarshal(data[iNdEx:postIndex]); err != nil {
  17408. return err
  17409. }
  17410. iNdEx = postIndex
  17411. default:
  17412. iNdEx = preIndex
  17413. skippy, err := skipGenerated(data[iNdEx:])
  17414. if err != nil {
  17415. return err
  17416. }
  17417. if skippy < 0 {
  17418. return ErrInvalidLengthGenerated
  17419. }
  17420. if (iNdEx + skippy) > l {
  17421. return io.ErrUnexpectedEOF
  17422. }
  17423. iNdEx += skippy
  17424. }
  17425. }
  17426. if iNdEx > l {
  17427. return io.ErrUnexpectedEOF
  17428. }
  17429. return nil
  17430. }
  17431. func (m *EnvVar) Unmarshal(data []byte) error {
  17432. l := len(data)
  17433. iNdEx := 0
  17434. for iNdEx < l {
  17435. preIndex := iNdEx
  17436. var wire uint64
  17437. for shift := uint(0); ; shift += 7 {
  17438. if shift >= 64 {
  17439. return ErrIntOverflowGenerated
  17440. }
  17441. if iNdEx >= l {
  17442. return io.ErrUnexpectedEOF
  17443. }
  17444. b := data[iNdEx]
  17445. iNdEx++
  17446. wire |= (uint64(b) & 0x7F) << shift
  17447. if b < 0x80 {
  17448. break
  17449. }
  17450. }
  17451. fieldNum := int32(wire >> 3)
  17452. wireType := int(wire & 0x7)
  17453. if wireType == 4 {
  17454. return fmt.Errorf("proto: EnvVar: wiretype end group for non-group")
  17455. }
  17456. if fieldNum <= 0 {
  17457. return fmt.Errorf("proto: EnvVar: illegal tag %d (wire type %d)", fieldNum, wire)
  17458. }
  17459. switch fieldNum {
  17460. case 1:
  17461. if wireType != 2 {
  17462. return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
  17463. }
  17464. var stringLen uint64
  17465. for shift := uint(0); ; shift += 7 {
  17466. if shift >= 64 {
  17467. return ErrIntOverflowGenerated
  17468. }
  17469. if iNdEx >= l {
  17470. return io.ErrUnexpectedEOF
  17471. }
  17472. b := data[iNdEx]
  17473. iNdEx++
  17474. stringLen |= (uint64(b) & 0x7F) << shift
  17475. if b < 0x80 {
  17476. break
  17477. }
  17478. }
  17479. intStringLen := int(stringLen)
  17480. if intStringLen < 0 {
  17481. return ErrInvalidLengthGenerated
  17482. }
  17483. postIndex := iNdEx + intStringLen
  17484. if postIndex > l {
  17485. return io.ErrUnexpectedEOF
  17486. }
  17487. m.Name = string(data[iNdEx:postIndex])
  17488. iNdEx = postIndex
  17489. case 2:
  17490. if wireType != 2 {
  17491. return fmt.Errorf("proto: wrong wireType = %d for field Value", wireType)
  17492. }
  17493. var stringLen uint64
  17494. for shift := uint(0); ; shift += 7 {
  17495. if shift >= 64 {
  17496. return ErrIntOverflowGenerated
  17497. }
  17498. if iNdEx >= l {
  17499. return io.ErrUnexpectedEOF
  17500. }
  17501. b := data[iNdEx]
  17502. iNdEx++
  17503. stringLen |= (uint64(b) & 0x7F) << shift
  17504. if b < 0x80 {
  17505. break
  17506. }
  17507. }
  17508. intStringLen := int(stringLen)
  17509. if intStringLen < 0 {
  17510. return ErrInvalidLengthGenerated
  17511. }
  17512. postIndex := iNdEx + intStringLen
  17513. if postIndex > l {
  17514. return io.ErrUnexpectedEOF
  17515. }
  17516. m.Value = string(data[iNdEx:postIndex])
  17517. iNdEx = postIndex
  17518. case 3:
  17519. if wireType != 2 {
  17520. return fmt.Errorf("proto: wrong wireType = %d for field ValueFrom", wireType)
  17521. }
  17522. var msglen int
  17523. for shift := uint(0); ; shift += 7 {
  17524. if shift >= 64 {
  17525. return ErrIntOverflowGenerated
  17526. }
  17527. if iNdEx >= l {
  17528. return io.ErrUnexpectedEOF
  17529. }
  17530. b := data[iNdEx]
  17531. iNdEx++
  17532. msglen |= (int(b) & 0x7F) << shift
  17533. if b < 0x80 {
  17534. break
  17535. }
  17536. }
  17537. if msglen < 0 {
  17538. return ErrInvalidLengthGenerated
  17539. }
  17540. postIndex := iNdEx + msglen
  17541. if postIndex > l {
  17542. return io.ErrUnexpectedEOF
  17543. }
  17544. if m.ValueFrom == nil {
  17545. m.ValueFrom = &EnvVarSource{}
  17546. }
  17547. if err := m.ValueFrom.Unmarshal(data[iNdEx:postIndex]); err != nil {
  17548. return err
  17549. }
  17550. iNdEx = postIndex
  17551. default:
  17552. iNdEx = preIndex
  17553. skippy, err := skipGenerated(data[iNdEx:])
  17554. if err != nil {
  17555. return err
  17556. }
  17557. if skippy < 0 {
  17558. return ErrInvalidLengthGenerated
  17559. }
  17560. if (iNdEx + skippy) > l {
  17561. return io.ErrUnexpectedEOF
  17562. }
  17563. iNdEx += skippy
  17564. }
  17565. }
  17566. if iNdEx > l {
  17567. return io.ErrUnexpectedEOF
  17568. }
  17569. return nil
  17570. }
  17571. func (m *EnvVarSource) Unmarshal(data []byte) error {
  17572. l := len(data)
  17573. iNdEx := 0
  17574. for iNdEx < l {
  17575. preIndex := iNdEx
  17576. var wire uint64
  17577. for shift := uint(0); ; shift += 7 {
  17578. if shift >= 64 {
  17579. return ErrIntOverflowGenerated
  17580. }
  17581. if iNdEx >= l {
  17582. return io.ErrUnexpectedEOF
  17583. }
  17584. b := data[iNdEx]
  17585. iNdEx++
  17586. wire |= (uint64(b) & 0x7F) << shift
  17587. if b < 0x80 {
  17588. break
  17589. }
  17590. }
  17591. fieldNum := int32(wire >> 3)
  17592. wireType := int(wire & 0x7)
  17593. if wireType == 4 {
  17594. return fmt.Errorf("proto: EnvVarSource: wiretype end group for non-group")
  17595. }
  17596. if fieldNum <= 0 {
  17597. return fmt.Errorf("proto: EnvVarSource: illegal tag %d (wire type %d)", fieldNum, wire)
  17598. }
  17599. switch fieldNum {
  17600. case 1:
  17601. if wireType != 2 {
  17602. return fmt.Errorf("proto: wrong wireType = %d for field FieldRef", wireType)
  17603. }
  17604. var msglen int
  17605. for shift := uint(0); ; shift += 7 {
  17606. if shift >= 64 {
  17607. return ErrIntOverflowGenerated
  17608. }
  17609. if iNdEx >= l {
  17610. return io.ErrUnexpectedEOF
  17611. }
  17612. b := data[iNdEx]
  17613. iNdEx++
  17614. msglen |= (int(b) & 0x7F) << shift
  17615. if b < 0x80 {
  17616. break
  17617. }
  17618. }
  17619. if msglen < 0 {
  17620. return ErrInvalidLengthGenerated
  17621. }
  17622. postIndex := iNdEx + msglen
  17623. if postIndex > l {
  17624. return io.ErrUnexpectedEOF
  17625. }
  17626. if m.FieldRef == nil {
  17627. m.FieldRef = &ObjectFieldSelector{}
  17628. }
  17629. if err := m.FieldRef.Unmarshal(data[iNdEx:postIndex]); err != nil {
  17630. return err
  17631. }
  17632. iNdEx = postIndex
  17633. case 2:
  17634. if wireType != 2 {
  17635. return fmt.Errorf("proto: wrong wireType = %d for field ResourceFieldRef", wireType)
  17636. }
  17637. var msglen int
  17638. for shift := uint(0); ; shift += 7 {
  17639. if shift >= 64 {
  17640. return ErrIntOverflowGenerated
  17641. }
  17642. if iNdEx >= l {
  17643. return io.ErrUnexpectedEOF
  17644. }
  17645. b := data[iNdEx]
  17646. iNdEx++
  17647. msglen |= (int(b) & 0x7F) << shift
  17648. if b < 0x80 {
  17649. break
  17650. }
  17651. }
  17652. if msglen < 0 {
  17653. return ErrInvalidLengthGenerated
  17654. }
  17655. postIndex := iNdEx + msglen
  17656. if postIndex > l {
  17657. return io.ErrUnexpectedEOF
  17658. }
  17659. if m.ResourceFieldRef == nil {
  17660. m.ResourceFieldRef = &ResourceFieldSelector{}
  17661. }
  17662. if err := m.ResourceFieldRef.Unmarshal(data[iNdEx:postIndex]); err != nil {
  17663. return err
  17664. }
  17665. iNdEx = postIndex
  17666. case 3:
  17667. if wireType != 2 {
  17668. return fmt.Errorf("proto: wrong wireType = %d for field ConfigMapKeyRef", wireType)
  17669. }
  17670. var msglen int
  17671. for shift := uint(0); ; shift += 7 {
  17672. if shift >= 64 {
  17673. return ErrIntOverflowGenerated
  17674. }
  17675. if iNdEx >= l {
  17676. return io.ErrUnexpectedEOF
  17677. }
  17678. b := data[iNdEx]
  17679. iNdEx++
  17680. msglen |= (int(b) & 0x7F) << shift
  17681. if b < 0x80 {
  17682. break
  17683. }
  17684. }
  17685. if msglen < 0 {
  17686. return ErrInvalidLengthGenerated
  17687. }
  17688. postIndex := iNdEx + msglen
  17689. if postIndex > l {
  17690. return io.ErrUnexpectedEOF
  17691. }
  17692. if m.ConfigMapKeyRef == nil {
  17693. m.ConfigMapKeyRef = &ConfigMapKeySelector{}
  17694. }
  17695. if err := m.ConfigMapKeyRef.Unmarshal(data[iNdEx:postIndex]); err != nil {
  17696. return err
  17697. }
  17698. iNdEx = postIndex
  17699. case 4:
  17700. if wireType != 2 {
  17701. return fmt.Errorf("proto: wrong wireType = %d for field SecretKeyRef", wireType)
  17702. }
  17703. var msglen int
  17704. for shift := uint(0); ; shift += 7 {
  17705. if shift >= 64 {
  17706. return ErrIntOverflowGenerated
  17707. }
  17708. if iNdEx >= l {
  17709. return io.ErrUnexpectedEOF
  17710. }
  17711. b := data[iNdEx]
  17712. iNdEx++
  17713. msglen |= (int(b) & 0x7F) << shift
  17714. if b < 0x80 {
  17715. break
  17716. }
  17717. }
  17718. if msglen < 0 {
  17719. return ErrInvalidLengthGenerated
  17720. }
  17721. postIndex := iNdEx + msglen
  17722. if postIndex > l {
  17723. return io.ErrUnexpectedEOF
  17724. }
  17725. if m.SecretKeyRef == nil {
  17726. m.SecretKeyRef = &SecretKeySelector{}
  17727. }
  17728. if err := m.SecretKeyRef.Unmarshal(data[iNdEx:postIndex]); err != nil {
  17729. return err
  17730. }
  17731. iNdEx = postIndex
  17732. default:
  17733. iNdEx = preIndex
  17734. skippy, err := skipGenerated(data[iNdEx:])
  17735. if err != nil {
  17736. return err
  17737. }
  17738. if skippy < 0 {
  17739. return ErrInvalidLengthGenerated
  17740. }
  17741. if (iNdEx + skippy) > l {
  17742. return io.ErrUnexpectedEOF
  17743. }
  17744. iNdEx += skippy
  17745. }
  17746. }
  17747. if iNdEx > l {
  17748. return io.ErrUnexpectedEOF
  17749. }
  17750. return nil
  17751. }
  17752. func (m *Event) Unmarshal(data []byte) error {
  17753. l := len(data)
  17754. iNdEx := 0
  17755. for iNdEx < l {
  17756. preIndex := iNdEx
  17757. var wire uint64
  17758. for shift := uint(0); ; shift += 7 {
  17759. if shift >= 64 {
  17760. return ErrIntOverflowGenerated
  17761. }
  17762. if iNdEx >= l {
  17763. return io.ErrUnexpectedEOF
  17764. }
  17765. b := data[iNdEx]
  17766. iNdEx++
  17767. wire |= (uint64(b) & 0x7F) << shift
  17768. if b < 0x80 {
  17769. break
  17770. }
  17771. }
  17772. fieldNum := int32(wire >> 3)
  17773. wireType := int(wire & 0x7)
  17774. if wireType == 4 {
  17775. return fmt.Errorf("proto: Event: wiretype end group for non-group")
  17776. }
  17777. if fieldNum <= 0 {
  17778. return fmt.Errorf("proto: Event: illegal tag %d (wire type %d)", fieldNum, wire)
  17779. }
  17780. switch fieldNum {
  17781. case 1:
  17782. if wireType != 2 {
  17783. return fmt.Errorf("proto: wrong wireType = %d for field ObjectMeta", wireType)
  17784. }
  17785. var msglen int
  17786. for shift := uint(0); ; shift += 7 {
  17787. if shift >= 64 {
  17788. return ErrIntOverflowGenerated
  17789. }
  17790. if iNdEx >= l {
  17791. return io.ErrUnexpectedEOF
  17792. }
  17793. b := data[iNdEx]
  17794. iNdEx++
  17795. msglen |= (int(b) & 0x7F) << shift
  17796. if b < 0x80 {
  17797. break
  17798. }
  17799. }
  17800. if msglen < 0 {
  17801. return ErrInvalidLengthGenerated
  17802. }
  17803. postIndex := iNdEx + msglen
  17804. if postIndex > l {
  17805. return io.ErrUnexpectedEOF
  17806. }
  17807. if err := m.ObjectMeta.Unmarshal(data[iNdEx:postIndex]); err != nil {
  17808. return err
  17809. }
  17810. iNdEx = postIndex
  17811. case 2:
  17812. if wireType != 2 {
  17813. return fmt.Errorf("proto: wrong wireType = %d for field InvolvedObject", wireType)
  17814. }
  17815. var msglen int
  17816. for shift := uint(0); ; shift += 7 {
  17817. if shift >= 64 {
  17818. return ErrIntOverflowGenerated
  17819. }
  17820. if iNdEx >= l {
  17821. return io.ErrUnexpectedEOF
  17822. }
  17823. b := data[iNdEx]
  17824. iNdEx++
  17825. msglen |= (int(b) & 0x7F) << shift
  17826. if b < 0x80 {
  17827. break
  17828. }
  17829. }
  17830. if msglen < 0 {
  17831. return ErrInvalidLengthGenerated
  17832. }
  17833. postIndex := iNdEx + msglen
  17834. if postIndex > l {
  17835. return io.ErrUnexpectedEOF
  17836. }
  17837. if err := m.InvolvedObject.Unmarshal(data[iNdEx:postIndex]); err != nil {
  17838. return err
  17839. }
  17840. iNdEx = postIndex
  17841. case 3:
  17842. if wireType != 2 {
  17843. return fmt.Errorf("proto: wrong wireType = %d for field Reason", wireType)
  17844. }
  17845. var stringLen uint64
  17846. for shift := uint(0); ; shift += 7 {
  17847. if shift >= 64 {
  17848. return ErrIntOverflowGenerated
  17849. }
  17850. if iNdEx >= l {
  17851. return io.ErrUnexpectedEOF
  17852. }
  17853. b := data[iNdEx]
  17854. iNdEx++
  17855. stringLen |= (uint64(b) & 0x7F) << shift
  17856. if b < 0x80 {
  17857. break
  17858. }
  17859. }
  17860. intStringLen := int(stringLen)
  17861. if intStringLen < 0 {
  17862. return ErrInvalidLengthGenerated
  17863. }
  17864. postIndex := iNdEx + intStringLen
  17865. if postIndex > l {
  17866. return io.ErrUnexpectedEOF
  17867. }
  17868. m.Reason = string(data[iNdEx:postIndex])
  17869. iNdEx = postIndex
  17870. case 4:
  17871. if wireType != 2 {
  17872. return fmt.Errorf("proto: wrong wireType = %d for field Message", wireType)
  17873. }
  17874. var stringLen uint64
  17875. for shift := uint(0); ; shift += 7 {
  17876. if shift >= 64 {
  17877. return ErrIntOverflowGenerated
  17878. }
  17879. if iNdEx >= l {
  17880. return io.ErrUnexpectedEOF
  17881. }
  17882. b := data[iNdEx]
  17883. iNdEx++
  17884. stringLen |= (uint64(b) & 0x7F) << shift
  17885. if b < 0x80 {
  17886. break
  17887. }
  17888. }
  17889. intStringLen := int(stringLen)
  17890. if intStringLen < 0 {
  17891. return ErrInvalidLengthGenerated
  17892. }
  17893. postIndex := iNdEx + intStringLen
  17894. if postIndex > l {
  17895. return io.ErrUnexpectedEOF
  17896. }
  17897. m.Message = string(data[iNdEx:postIndex])
  17898. iNdEx = postIndex
  17899. case 5:
  17900. if wireType != 2 {
  17901. return fmt.Errorf("proto: wrong wireType = %d for field Source", wireType)
  17902. }
  17903. var msglen int
  17904. for shift := uint(0); ; shift += 7 {
  17905. if shift >= 64 {
  17906. return ErrIntOverflowGenerated
  17907. }
  17908. if iNdEx >= l {
  17909. return io.ErrUnexpectedEOF
  17910. }
  17911. b := data[iNdEx]
  17912. iNdEx++
  17913. msglen |= (int(b) & 0x7F) << shift
  17914. if b < 0x80 {
  17915. break
  17916. }
  17917. }
  17918. if msglen < 0 {
  17919. return ErrInvalidLengthGenerated
  17920. }
  17921. postIndex := iNdEx + msglen
  17922. if postIndex > l {
  17923. return io.ErrUnexpectedEOF
  17924. }
  17925. if err := m.Source.Unmarshal(data[iNdEx:postIndex]); err != nil {
  17926. return err
  17927. }
  17928. iNdEx = postIndex
  17929. case 6:
  17930. if wireType != 2 {
  17931. return fmt.Errorf("proto: wrong wireType = %d for field FirstTimestamp", wireType)
  17932. }
  17933. var msglen int
  17934. for shift := uint(0); ; shift += 7 {
  17935. if shift >= 64 {
  17936. return ErrIntOverflowGenerated
  17937. }
  17938. if iNdEx >= l {
  17939. return io.ErrUnexpectedEOF
  17940. }
  17941. b := data[iNdEx]
  17942. iNdEx++
  17943. msglen |= (int(b) & 0x7F) << shift
  17944. if b < 0x80 {
  17945. break
  17946. }
  17947. }
  17948. if msglen < 0 {
  17949. return ErrInvalidLengthGenerated
  17950. }
  17951. postIndex := iNdEx + msglen
  17952. if postIndex > l {
  17953. return io.ErrUnexpectedEOF
  17954. }
  17955. if err := m.FirstTimestamp.Unmarshal(data[iNdEx:postIndex]); err != nil {
  17956. return err
  17957. }
  17958. iNdEx = postIndex
  17959. case 7:
  17960. if wireType != 2 {
  17961. return fmt.Errorf("proto: wrong wireType = %d for field LastTimestamp", wireType)
  17962. }
  17963. var msglen int
  17964. for shift := uint(0); ; shift += 7 {
  17965. if shift >= 64 {
  17966. return ErrIntOverflowGenerated
  17967. }
  17968. if iNdEx >= l {
  17969. return io.ErrUnexpectedEOF
  17970. }
  17971. b := data[iNdEx]
  17972. iNdEx++
  17973. msglen |= (int(b) & 0x7F) << shift
  17974. if b < 0x80 {
  17975. break
  17976. }
  17977. }
  17978. if msglen < 0 {
  17979. return ErrInvalidLengthGenerated
  17980. }
  17981. postIndex := iNdEx + msglen
  17982. if postIndex > l {
  17983. return io.ErrUnexpectedEOF
  17984. }
  17985. if err := m.LastTimestamp.Unmarshal(data[iNdEx:postIndex]); err != nil {
  17986. return err
  17987. }
  17988. iNdEx = postIndex
  17989. case 8:
  17990. if wireType != 0 {
  17991. return fmt.Errorf("proto: wrong wireType = %d for field Count", wireType)
  17992. }
  17993. m.Count = 0
  17994. for shift := uint(0); ; shift += 7 {
  17995. if shift >= 64 {
  17996. return ErrIntOverflowGenerated
  17997. }
  17998. if iNdEx >= l {
  17999. return io.ErrUnexpectedEOF
  18000. }
  18001. b := data[iNdEx]
  18002. iNdEx++
  18003. m.Count |= (int32(b) & 0x7F) << shift
  18004. if b < 0x80 {
  18005. break
  18006. }
  18007. }
  18008. case 9:
  18009. if wireType != 2 {
  18010. return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType)
  18011. }
  18012. var stringLen uint64
  18013. for shift := uint(0); ; shift += 7 {
  18014. if shift >= 64 {
  18015. return ErrIntOverflowGenerated
  18016. }
  18017. if iNdEx >= l {
  18018. return io.ErrUnexpectedEOF
  18019. }
  18020. b := data[iNdEx]
  18021. iNdEx++
  18022. stringLen |= (uint64(b) & 0x7F) << shift
  18023. if b < 0x80 {
  18024. break
  18025. }
  18026. }
  18027. intStringLen := int(stringLen)
  18028. if intStringLen < 0 {
  18029. return ErrInvalidLengthGenerated
  18030. }
  18031. postIndex := iNdEx + intStringLen
  18032. if postIndex > l {
  18033. return io.ErrUnexpectedEOF
  18034. }
  18035. m.Type = string(data[iNdEx:postIndex])
  18036. iNdEx = postIndex
  18037. default:
  18038. iNdEx = preIndex
  18039. skippy, err := skipGenerated(data[iNdEx:])
  18040. if err != nil {
  18041. return err
  18042. }
  18043. if skippy < 0 {
  18044. return ErrInvalidLengthGenerated
  18045. }
  18046. if (iNdEx + skippy) > l {
  18047. return io.ErrUnexpectedEOF
  18048. }
  18049. iNdEx += skippy
  18050. }
  18051. }
  18052. if iNdEx > l {
  18053. return io.ErrUnexpectedEOF
  18054. }
  18055. return nil
  18056. }
  18057. func (m *EventList) Unmarshal(data []byte) error {
  18058. l := len(data)
  18059. iNdEx := 0
  18060. for iNdEx < l {
  18061. preIndex := iNdEx
  18062. var wire uint64
  18063. for shift := uint(0); ; shift += 7 {
  18064. if shift >= 64 {
  18065. return ErrIntOverflowGenerated
  18066. }
  18067. if iNdEx >= l {
  18068. return io.ErrUnexpectedEOF
  18069. }
  18070. b := data[iNdEx]
  18071. iNdEx++
  18072. wire |= (uint64(b) & 0x7F) << shift
  18073. if b < 0x80 {
  18074. break
  18075. }
  18076. }
  18077. fieldNum := int32(wire >> 3)
  18078. wireType := int(wire & 0x7)
  18079. if wireType == 4 {
  18080. return fmt.Errorf("proto: EventList: wiretype end group for non-group")
  18081. }
  18082. if fieldNum <= 0 {
  18083. return fmt.Errorf("proto: EventList: illegal tag %d (wire type %d)", fieldNum, wire)
  18084. }
  18085. switch fieldNum {
  18086. case 1:
  18087. if wireType != 2 {
  18088. return fmt.Errorf("proto: wrong wireType = %d for field ListMeta", wireType)
  18089. }
  18090. var msglen int
  18091. for shift := uint(0); ; shift += 7 {
  18092. if shift >= 64 {
  18093. return ErrIntOverflowGenerated
  18094. }
  18095. if iNdEx >= l {
  18096. return io.ErrUnexpectedEOF
  18097. }
  18098. b := data[iNdEx]
  18099. iNdEx++
  18100. msglen |= (int(b) & 0x7F) << shift
  18101. if b < 0x80 {
  18102. break
  18103. }
  18104. }
  18105. if msglen < 0 {
  18106. return ErrInvalidLengthGenerated
  18107. }
  18108. postIndex := iNdEx + msglen
  18109. if postIndex > l {
  18110. return io.ErrUnexpectedEOF
  18111. }
  18112. if err := m.ListMeta.Unmarshal(data[iNdEx:postIndex]); err != nil {
  18113. return err
  18114. }
  18115. iNdEx = postIndex
  18116. case 2:
  18117. if wireType != 2 {
  18118. return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType)
  18119. }
  18120. var msglen int
  18121. for shift := uint(0); ; shift += 7 {
  18122. if shift >= 64 {
  18123. return ErrIntOverflowGenerated
  18124. }
  18125. if iNdEx >= l {
  18126. return io.ErrUnexpectedEOF
  18127. }
  18128. b := data[iNdEx]
  18129. iNdEx++
  18130. msglen |= (int(b) & 0x7F) << shift
  18131. if b < 0x80 {
  18132. break
  18133. }
  18134. }
  18135. if msglen < 0 {
  18136. return ErrInvalidLengthGenerated
  18137. }
  18138. postIndex := iNdEx + msglen
  18139. if postIndex > l {
  18140. return io.ErrUnexpectedEOF
  18141. }
  18142. m.Items = append(m.Items, Event{})
  18143. if err := m.Items[len(m.Items)-1].Unmarshal(data[iNdEx:postIndex]); err != nil {
  18144. return err
  18145. }
  18146. iNdEx = postIndex
  18147. default:
  18148. iNdEx = preIndex
  18149. skippy, err := skipGenerated(data[iNdEx:])
  18150. if err != nil {
  18151. return err
  18152. }
  18153. if skippy < 0 {
  18154. return ErrInvalidLengthGenerated
  18155. }
  18156. if (iNdEx + skippy) > l {
  18157. return io.ErrUnexpectedEOF
  18158. }
  18159. iNdEx += skippy
  18160. }
  18161. }
  18162. if iNdEx > l {
  18163. return io.ErrUnexpectedEOF
  18164. }
  18165. return nil
  18166. }
  18167. func (m *EventSource) Unmarshal(data []byte) error {
  18168. l := len(data)
  18169. iNdEx := 0
  18170. for iNdEx < l {
  18171. preIndex := iNdEx
  18172. var wire uint64
  18173. for shift := uint(0); ; shift += 7 {
  18174. if shift >= 64 {
  18175. return ErrIntOverflowGenerated
  18176. }
  18177. if iNdEx >= l {
  18178. return io.ErrUnexpectedEOF
  18179. }
  18180. b := data[iNdEx]
  18181. iNdEx++
  18182. wire |= (uint64(b) & 0x7F) << shift
  18183. if b < 0x80 {
  18184. break
  18185. }
  18186. }
  18187. fieldNum := int32(wire >> 3)
  18188. wireType := int(wire & 0x7)
  18189. if wireType == 4 {
  18190. return fmt.Errorf("proto: EventSource: wiretype end group for non-group")
  18191. }
  18192. if fieldNum <= 0 {
  18193. return fmt.Errorf("proto: EventSource: illegal tag %d (wire type %d)", fieldNum, wire)
  18194. }
  18195. switch fieldNum {
  18196. case 1:
  18197. if wireType != 2 {
  18198. return fmt.Errorf("proto: wrong wireType = %d for field Component", wireType)
  18199. }
  18200. var stringLen uint64
  18201. for shift := uint(0); ; shift += 7 {
  18202. if shift >= 64 {
  18203. return ErrIntOverflowGenerated
  18204. }
  18205. if iNdEx >= l {
  18206. return io.ErrUnexpectedEOF
  18207. }
  18208. b := data[iNdEx]
  18209. iNdEx++
  18210. stringLen |= (uint64(b) & 0x7F) << shift
  18211. if b < 0x80 {
  18212. break
  18213. }
  18214. }
  18215. intStringLen := int(stringLen)
  18216. if intStringLen < 0 {
  18217. return ErrInvalidLengthGenerated
  18218. }
  18219. postIndex := iNdEx + intStringLen
  18220. if postIndex > l {
  18221. return io.ErrUnexpectedEOF
  18222. }
  18223. m.Component = string(data[iNdEx:postIndex])
  18224. iNdEx = postIndex
  18225. case 2:
  18226. if wireType != 2 {
  18227. return fmt.Errorf("proto: wrong wireType = %d for field Host", wireType)
  18228. }
  18229. var stringLen uint64
  18230. for shift := uint(0); ; shift += 7 {
  18231. if shift >= 64 {
  18232. return ErrIntOverflowGenerated
  18233. }
  18234. if iNdEx >= l {
  18235. return io.ErrUnexpectedEOF
  18236. }
  18237. b := data[iNdEx]
  18238. iNdEx++
  18239. stringLen |= (uint64(b) & 0x7F) << shift
  18240. if b < 0x80 {
  18241. break
  18242. }
  18243. }
  18244. intStringLen := int(stringLen)
  18245. if intStringLen < 0 {
  18246. return ErrInvalidLengthGenerated
  18247. }
  18248. postIndex := iNdEx + intStringLen
  18249. if postIndex > l {
  18250. return io.ErrUnexpectedEOF
  18251. }
  18252. m.Host = string(data[iNdEx:postIndex])
  18253. iNdEx = postIndex
  18254. default:
  18255. iNdEx = preIndex
  18256. skippy, err := skipGenerated(data[iNdEx:])
  18257. if err != nil {
  18258. return err
  18259. }
  18260. if skippy < 0 {
  18261. return ErrInvalidLengthGenerated
  18262. }
  18263. if (iNdEx + skippy) > l {
  18264. return io.ErrUnexpectedEOF
  18265. }
  18266. iNdEx += skippy
  18267. }
  18268. }
  18269. if iNdEx > l {
  18270. return io.ErrUnexpectedEOF
  18271. }
  18272. return nil
  18273. }
  18274. func (m *ExecAction) Unmarshal(data []byte) error {
  18275. l := len(data)
  18276. iNdEx := 0
  18277. for iNdEx < l {
  18278. preIndex := iNdEx
  18279. var wire uint64
  18280. for shift := uint(0); ; shift += 7 {
  18281. if shift >= 64 {
  18282. return ErrIntOverflowGenerated
  18283. }
  18284. if iNdEx >= l {
  18285. return io.ErrUnexpectedEOF
  18286. }
  18287. b := data[iNdEx]
  18288. iNdEx++
  18289. wire |= (uint64(b) & 0x7F) << shift
  18290. if b < 0x80 {
  18291. break
  18292. }
  18293. }
  18294. fieldNum := int32(wire >> 3)
  18295. wireType := int(wire & 0x7)
  18296. if wireType == 4 {
  18297. return fmt.Errorf("proto: ExecAction: wiretype end group for non-group")
  18298. }
  18299. if fieldNum <= 0 {
  18300. return fmt.Errorf("proto: ExecAction: illegal tag %d (wire type %d)", fieldNum, wire)
  18301. }
  18302. switch fieldNum {
  18303. case 1:
  18304. if wireType != 2 {
  18305. return fmt.Errorf("proto: wrong wireType = %d for field Command", wireType)
  18306. }
  18307. var stringLen uint64
  18308. for shift := uint(0); ; shift += 7 {
  18309. if shift >= 64 {
  18310. return ErrIntOverflowGenerated
  18311. }
  18312. if iNdEx >= l {
  18313. return io.ErrUnexpectedEOF
  18314. }
  18315. b := data[iNdEx]
  18316. iNdEx++
  18317. stringLen |= (uint64(b) & 0x7F) << shift
  18318. if b < 0x80 {
  18319. break
  18320. }
  18321. }
  18322. intStringLen := int(stringLen)
  18323. if intStringLen < 0 {
  18324. return ErrInvalidLengthGenerated
  18325. }
  18326. postIndex := iNdEx + intStringLen
  18327. if postIndex > l {
  18328. return io.ErrUnexpectedEOF
  18329. }
  18330. m.Command = append(m.Command, string(data[iNdEx:postIndex]))
  18331. iNdEx = postIndex
  18332. default:
  18333. iNdEx = preIndex
  18334. skippy, err := skipGenerated(data[iNdEx:])
  18335. if err != nil {
  18336. return err
  18337. }
  18338. if skippy < 0 {
  18339. return ErrInvalidLengthGenerated
  18340. }
  18341. if (iNdEx + skippy) > l {
  18342. return io.ErrUnexpectedEOF
  18343. }
  18344. iNdEx += skippy
  18345. }
  18346. }
  18347. if iNdEx > l {
  18348. return io.ErrUnexpectedEOF
  18349. }
  18350. return nil
  18351. }
  18352. func (m *ExportOptions) Unmarshal(data []byte) error {
  18353. l := len(data)
  18354. iNdEx := 0
  18355. for iNdEx < l {
  18356. preIndex := iNdEx
  18357. var wire uint64
  18358. for shift := uint(0); ; shift += 7 {
  18359. if shift >= 64 {
  18360. return ErrIntOverflowGenerated
  18361. }
  18362. if iNdEx >= l {
  18363. return io.ErrUnexpectedEOF
  18364. }
  18365. b := data[iNdEx]
  18366. iNdEx++
  18367. wire |= (uint64(b) & 0x7F) << shift
  18368. if b < 0x80 {
  18369. break
  18370. }
  18371. }
  18372. fieldNum := int32(wire >> 3)
  18373. wireType := int(wire & 0x7)
  18374. if wireType == 4 {
  18375. return fmt.Errorf("proto: ExportOptions: wiretype end group for non-group")
  18376. }
  18377. if fieldNum <= 0 {
  18378. return fmt.Errorf("proto: ExportOptions: illegal tag %d (wire type %d)", fieldNum, wire)
  18379. }
  18380. switch fieldNum {
  18381. case 1:
  18382. if wireType != 0 {
  18383. return fmt.Errorf("proto: wrong wireType = %d for field Export", wireType)
  18384. }
  18385. var v int
  18386. for shift := uint(0); ; shift += 7 {
  18387. if shift >= 64 {
  18388. return ErrIntOverflowGenerated
  18389. }
  18390. if iNdEx >= l {
  18391. return io.ErrUnexpectedEOF
  18392. }
  18393. b := data[iNdEx]
  18394. iNdEx++
  18395. v |= (int(b) & 0x7F) << shift
  18396. if b < 0x80 {
  18397. break
  18398. }
  18399. }
  18400. m.Export = bool(v != 0)
  18401. case 2:
  18402. if wireType != 0 {
  18403. return fmt.Errorf("proto: wrong wireType = %d for field Exact", wireType)
  18404. }
  18405. var v int
  18406. for shift := uint(0); ; shift += 7 {
  18407. if shift >= 64 {
  18408. return ErrIntOverflowGenerated
  18409. }
  18410. if iNdEx >= l {
  18411. return io.ErrUnexpectedEOF
  18412. }
  18413. b := data[iNdEx]
  18414. iNdEx++
  18415. v |= (int(b) & 0x7F) << shift
  18416. if b < 0x80 {
  18417. break
  18418. }
  18419. }
  18420. m.Exact = bool(v != 0)
  18421. default:
  18422. iNdEx = preIndex
  18423. skippy, err := skipGenerated(data[iNdEx:])
  18424. if err != nil {
  18425. return err
  18426. }
  18427. if skippy < 0 {
  18428. return ErrInvalidLengthGenerated
  18429. }
  18430. if (iNdEx + skippy) > l {
  18431. return io.ErrUnexpectedEOF
  18432. }
  18433. iNdEx += skippy
  18434. }
  18435. }
  18436. if iNdEx > l {
  18437. return io.ErrUnexpectedEOF
  18438. }
  18439. return nil
  18440. }
  18441. func (m *FCVolumeSource) Unmarshal(data []byte) error {
  18442. l := len(data)
  18443. iNdEx := 0
  18444. for iNdEx < l {
  18445. preIndex := iNdEx
  18446. var wire uint64
  18447. for shift := uint(0); ; shift += 7 {
  18448. if shift >= 64 {
  18449. return ErrIntOverflowGenerated
  18450. }
  18451. if iNdEx >= l {
  18452. return io.ErrUnexpectedEOF
  18453. }
  18454. b := data[iNdEx]
  18455. iNdEx++
  18456. wire |= (uint64(b) & 0x7F) << shift
  18457. if b < 0x80 {
  18458. break
  18459. }
  18460. }
  18461. fieldNum := int32(wire >> 3)
  18462. wireType := int(wire & 0x7)
  18463. if wireType == 4 {
  18464. return fmt.Errorf("proto: FCVolumeSource: wiretype end group for non-group")
  18465. }
  18466. if fieldNum <= 0 {
  18467. return fmt.Errorf("proto: FCVolumeSource: illegal tag %d (wire type %d)", fieldNum, wire)
  18468. }
  18469. switch fieldNum {
  18470. case 1:
  18471. if wireType != 2 {
  18472. return fmt.Errorf("proto: wrong wireType = %d for field TargetWWNs", wireType)
  18473. }
  18474. var stringLen uint64
  18475. for shift := uint(0); ; shift += 7 {
  18476. if shift >= 64 {
  18477. return ErrIntOverflowGenerated
  18478. }
  18479. if iNdEx >= l {
  18480. return io.ErrUnexpectedEOF
  18481. }
  18482. b := data[iNdEx]
  18483. iNdEx++
  18484. stringLen |= (uint64(b) & 0x7F) << shift
  18485. if b < 0x80 {
  18486. break
  18487. }
  18488. }
  18489. intStringLen := int(stringLen)
  18490. if intStringLen < 0 {
  18491. return ErrInvalidLengthGenerated
  18492. }
  18493. postIndex := iNdEx + intStringLen
  18494. if postIndex > l {
  18495. return io.ErrUnexpectedEOF
  18496. }
  18497. m.TargetWWNs = append(m.TargetWWNs, string(data[iNdEx:postIndex]))
  18498. iNdEx = postIndex
  18499. case 2:
  18500. if wireType != 0 {
  18501. return fmt.Errorf("proto: wrong wireType = %d for field Lun", wireType)
  18502. }
  18503. var v int32
  18504. for shift := uint(0); ; shift += 7 {
  18505. if shift >= 64 {
  18506. return ErrIntOverflowGenerated
  18507. }
  18508. if iNdEx >= l {
  18509. return io.ErrUnexpectedEOF
  18510. }
  18511. b := data[iNdEx]
  18512. iNdEx++
  18513. v |= (int32(b) & 0x7F) << shift
  18514. if b < 0x80 {
  18515. break
  18516. }
  18517. }
  18518. m.Lun = &v
  18519. case 3:
  18520. if wireType != 2 {
  18521. return fmt.Errorf("proto: wrong wireType = %d for field FSType", wireType)
  18522. }
  18523. var stringLen uint64
  18524. for shift := uint(0); ; shift += 7 {
  18525. if shift >= 64 {
  18526. return ErrIntOverflowGenerated
  18527. }
  18528. if iNdEx >= l {
  18529. return io.ErrUnexpectedEOF
  18530. }
  18531. b := data[iNdEx]
  18532. iNdEx++
  18533. stringLen |= (uint64(b) & 0x7F) << shift
  18534. if b < 0x80 {
  18535. break
  18536. }
  18537. }
  18538. intStringLen := int(stringLen)
  18539. if intStringLen < 0 {
  18540. return ErrInvalidLengthGenerated
  18541. }
  18542. postIndex := iNdEx + intStringLen
  18543. if postIndex > l {
  18544. return io.ErrUnexpectedEOF
  18545. }
  18546. m.FSType = string(data[iNdEx:postIndex])
  18547. iNdEx = postIndex
  18548. case 4:
  18549. if wireType != 0 {
  18550. return fmt.Errorf("proto: wrong wireType = %d for field ReadOnly", wireType)
  18551. }
  18552. var v int
  18553. for shift := uint(0); ; shift += 7 {
  18554. if shift >= 64 {
  18555. return ErrIntOverflowGenerated
  18556. }
  18557. if iNdEx >= l {
  18558. return io.ErrUnexpectedEOF
  18559. }
  18560. b := data[iNdEx]
  18561. iNdEx++
  18562. v |= (int(b) & 0x7F) << shift
  18563. if b < 0x80 {
  18564. break
  18565. }
  18566. }
  18567. m.ReadOnly = bool(v != 0)
  18568. default:
  18569. iNdEx = preIndex
  18570. skippy, err := skipGenerated(data[iNdEx:])
  18571. if err != nil {
  18572. return err
  18573. }
  18574. if skippy < 0 {
  18575. return ErrInvalidLengthGenerated
  18576. }
  18577. if (iNdEx + skippy) > l {
  18578. return io.ErrUnexpectedEOF
  18579. }
  18580. iNdEx += skippy
  18581. }
  18582. }
  18583. if iNdEx > l {
  18584. return io.ErrUnexpectedEOF
  18585. }
  18586. return nil
  18587. }
  18588. func (m *FlexVolumeSource) Unmarshal(data []byte) error {
  18589. l := len(data)
  18590. iNdEx := 0
  18591. for iNdEx < l {
  18592. preIndex := iNdEx
  18593. var wire uint64
  18594. for shift := uint(0); ; shift += 7 {
  18595. if shift >= 64 {
  18596. return ErrIntOverflowGenerated
  18597. }
  18598. if iNdEx >= l {
  18599. return io.ErrUnexpectedEOF
  18600. }
  18601. b := data[iNdEx]
  18602. iNdEx++
  18603. wire |= (uint64(b) & 0x7F) << shift
  18604. if b < 0x80 {
  18605. break
  18606. }
  18607. }
  18608. fieldNum := int32(wire >> 3)
  18609. wireType := int(wire & 0x7)
  18610. if wireType == 4 {
  18611. return fmt.Errorf("proto: FlexVolumeSource: wiretype end group for non-group")
  18612. }
  18613. if fieldNum <= 0 {
  18614. return fmt.Errorf("proto: FlexVolumeSource: illegal tag %d (wire type %d)", fieldNum, wire)
  18615. }
  18616. switch fieldNum {
  18617. case 1:
  18618. if wireType != 2 {
  18619. return fmt.Errorf("proto: wrong wireType = %d for field Driver", wireType)
  18620. }
  18621. var stringLen uint64
  18622. for shift := uint(0); ; shift += 7 {
  18623. if shift >= 64 {
  18624. return ErrIntOverflowGenerated
  18625. }
  18626. if iNdEx >= l {
  18627. return io.ErrUnexpectedEOF
  18628. }
  18629. b := data[iNdEx]
  18630. iNdEx++
  18631. stringLen |= (uint64(b) & 0x7F) << shift
  18632. if b < 0x80 {
  18633. break
  18634. }
  18635. }
  18636. intStringLen := int(stringLen)
  18637. if intStringLen < 0 {
  18638. return ErrInvalidLengthGenerated
  18639. }
  18640. postIndex := iNdEx + intStringLen
  18641. if postIndex > l {
  18642. return io.ErrUnexpectedEOF
  18643. }
  18644. m.Driver = string(data[iNdEx:postIndex])
  18645. iNdEx = postIndex
  18646. case 2:
  18647. if wireType != 2 {
  18648. return fmt.Errorf("proto: wrong wireType = %d for field FSType", wireType)
  18649. }
  18650. var stringLen uint64
  18651. for shift := uint(0); ; shift += 7 {
  18652. if shift >= 64 {
  18653. return ErrIntOverflowGenerated
  18654. }
  18655. if iNdEx >= l {
  18656. return io.ErrUnexpectedEOF
  18657. }
  18658. b := data[iNdEx]
  18659. iNdEx++
  18660. stringLen |= (uint64(b) & 0x7F) << shift
  18661. if b < 0x80 {
  18662. break
  18663. }
  18664. }
  18665. intStringLen := int(stringLen)
  18666. if intStringLen < 0 {
  18667. return ErrInvalidLengthGenerated
  18668. }
  18669. postIndex := iNdEx + intStringLen
  18670. if postIndex > l {
  18671. return io.ErrUnexpectedEOF
  18672. }
  18673. m.FSType = string(data[iNdEx:postIndex])
  18674. iNdEx = postIndex
  18675. case 3:
  18676. if wireType != 2 {
  18677. return fmt.Errorf("proto: wrong wireType = %d for field SecretRef", wireType)
  18678. }
  18679. var msglen int
  18680. for shift := uint(0); ; shift += 7 {
  18681. if shift >= 64 {
  18682. return ErrIntOverflowGenerated
  18683. }
  18684. if iNdEx >= l {
  18685. return io.ErrUnexpectedEOF
  18686. }
  18687. b := data[iNdEx]
  18688. iNdEx++
  18689. msglen |= (int(b) & 0x7F) << shift
  18690. if b < 0x80 {
  18691. break
  18692. }
  18693. }
  18694. if msglen < 0 {
  18695. return ErrInvalidLengthGenerated
  18696. }
  18697. postIndex := iNdEx + msglen
  18698. if postIndex > l {
  18699. return io.ErrUnexpectedEOF
  18700. }
  18701. if m.SecretRef == nil {
  18702. m.SecretRef = &LocalObjectReference{}
  18703. }
  18704. if err := m.SecretRef.Unmarshal(data[iNdEx:postIndex]); err != nil {
  18705. return err
  18706. }
  18707. iNdEx = postIndex
  18708. case 4:
  18709. if wireType != 0 {
  18710. return fmt.Errorf("proto: wrong wireType = %d for field ReadOnly", wireType)
  18711. }
  18712. var v int
  18713. for shift := uint(0); ; shift += 7 {
  18714. if shift >= 64 {
  18715. return ErrIntOverflowGenerated
  18716. }
  18717. if iNdEx >= l {
  18718. return io.ErrUnexpectedEOF
  18719. }
  18720. b := data[iNdEx]
  18721. iNdEx++
  18722. v |= (int(b) & 0x7F) << shift
  18723. if b < 0x80 {
  18724. break
  18725. }
  18726. }
  18727. m.ReadOnly = bool(v != 0)
  18728. case 5:
  18729. if wireType != 2 {
  18730. return fmt.Errorf("proto: wrong wireType = %d for field Options", wireType)
  18731. }
  18732. var msglen int
  18733. for shift := uint(0); ; shift += 7 {
  18734. if shift >= 64 {
  18735. return ErrIntOverflowGenerated
  18736. }
  18737. if iNdEx >= l {
  18738. return io.ErrUnexpectedEOF
  18739. }
  18740. b := data[iNdEx]
  18741. iNdEx++
  18742. msglen |= (int(b) & 0x7F) << shift
  18743. if b < 0x80 {
  18744. break
  18745. }
  18746. }
  18747. if msglen < 0 {
  18748. return ErrInvalidLengthGenerated
  18749. }
  18750. postIndex := iNdEx + msglen
  18751. if postIndex > l {
  18752. return io.ErrUnexpectedEOF
  18753. }
  18754. var keykey uint64
  18755. for shift := uint(0); ; shift += 7 {
  18756. if shift >= 64 {
  18757. return ErrIntOverflowGenerated
  18758. }
  18759. if iNdEx >= l {
  18760. return io.ErrUnexpectedEOF
  18761. }
  18762. b := data[iNdEx]
  18763. iNdEx++
  18764. keykey |= (uint64(b) & 0x7F) << shift
  18765. if b < 0x80 {
  18766. break
  18767. }
  18768. }
  18769. var stringLenmapkey uint64
  18770. for shift := uint(0); ; shift += 7 {
  18771. if shift >= 64 {
  18772. return ErrIntOverflowGenerated
  18773. }
  18774. if iNdEx >= l {
  18775. return io.ErrUnexpectedEOF
  18776. }
  18777. b := data[iNdEx]
  18778. iNdEx++
  18779. stringLenmapkey |= (uint64(b) & 0x7F) << shift
  18780. if b < 0x80 {
  18781. break
  18782. }
  18783. }
  18784. intStringLenmapkey := int(stringLenmapkey)
  18785. if intStringLenmapkey < 0 {
  18786. return ErrInvalidLengthGenerated
  18787. }
  18788. postStringIndexmapkey := iNdEx + intStringLenmapkey
  18789. if postStringIndexmapkey > l {
  18790. return io.ErrUnexpectedEOF
  18791. }
  18792. mapkey := string(data[iNdEx:postStringIndexmapkey])
  18793. iNdEx = postStringIndexmapkey
  18794. var valuekey uint64
  18795. for shift := uint(0); ; shift += 7 {
  18796. if shift >= 64 {
  18797. return ErrIntOverflowGenerated
  18798. }
  18799. if iNdEx >= l {
  18800. return io.ErrUnexpectedEOF
  18801. }
  18802. b := data[iNdEx]
  18803. iNdEx++
  18804. valuekey |= (uint64(b) & 0x7F) << shift
  18805. if b < 0x80 {
  18806. break
  18807. }
  18808. }
  18809. var stringLenmapvalue uint64
  18810. for shift := uint(0); ; shift += 7 {
  18811. if shift >= 64 {
  18812. return ErrIntOverflowGenerated
  18813. }
  18814. if iNdEx >= l {
  18815. return io.ErrUnexpectedEOF
  18816. }
  18817. b := data[iNdEx]
  18818. iNdEx++
  18819. stringLenmapvalue |= (uint64(b) & 0x7F) << shift
  18820. if b < 0x80 {
  18821. break
  18822. }
  18823. }
  18824. intStringLenmapvalue := int(stringLenmapvalue)
  18825. if intStringLenmapvalue < 0 {
  18826. return ErrInvalidLengthGenerated
  18827. }
  18828. postStringIndexmapvalue := iNdEx + intStringLenmapvalue
  18829. if postStringIndexmapvalue > l {
  18830. return io.ErrUnexpectedEOF
  18831. }
  18832. mapvalue := string(data[iNdEx:postStringIndexmapvalue])
  18833. iNdEx = postStringIndexmapvalue
  18834. if m.Options == nil {
  18835. m.Options = make(map[string]string)
  18836. }
  18837. m.Options[mapkey] = mapvalue
  18838. iNdEx = postIndex
  18839. default:
  18840. iNdEx = preIndex
  18841. skippy, err := skipGenerated(data[iNdEx:])
  18842. if err != nil {
  18843. return err
  18844. }
  18845. if skippy < 0 {
  18846. return ErrInvalidLengthGenerated
  18847. }
  18848. if (iNdEx + skippy) > l {
  18849. return io.ErrUnexpectedEOF
  18850. }
  18851. iNdEx += skippy
  18852. }
  18853. }
  18854. if iNdEx > l {
  18855. return io.ErrUnexpectedEOF
  18856. }
  18857. return nil
  18858. }
  18859. func (m *FlockerVolumeSource) Unmarshal(data []byte) error {
  18860. l := len(data)
  18861. iNdEx := 0
  18862. for iNdEx < l {
  18863. preIndex := iNdEx
  18864. var wire uint64
  18865. for shift := uint(0); ; shift += 7 {
  18866. if shift >= 64 {
  18867. return ErrIntOverflowGenerated
  18868. }
  18869. if iNdEx >= l {
  18870. return io.ErrUnexpectedEOF
  18871. }
  18872. b := data[iNdEx]
  18873. iNdEx++
  18874. wire |= (uint64(b) & 0x7F) << shift
  18875. if b < 0x80 {
  18876. break
  18877. }
  18878. }
  18879. fieldNum := int32(wire >> 3)
  18880. wireType := int(wire & 0x7)
  18881. if wireType == 4 {
  18882. return fmt.Errorf("proto: FlockerVolumeSource: wiretype end group for non-group")
  18883. }
  18884. if fieldNum <= 0 {
  18885. return fmt.Errorf("proto: FlockerVolumeSource: illegal tag %d (wire type %d)", fieldNum, wire)
  18886. }
  18887. switch fieldNum {
  18888. case 1:
  18889. if wireType != 2 {
  18890. return fmt.Errorf("proto: wrong wireType = %d for field DatasetName", wireType)
  18891. }
  18892. var stringLen uint64
  18893. for shift := uint(0); ; shift += 7 {
  18894. if shift >= 64 {
  18895. return ErrIntOverflowGenerated
  18896. }
  18897. if iNdEx >= l {
  18898. return io.ErrUnexpectedEOF
  18899. }
  18900. b := data[iNdEx]
  18901. iNdEx++
  18902. stringLen |= (uint64(b) & 0x7F) << shift
  18903. if b < 0x80 {
  18904. break
  18905. }
  18906. }
  18907. intStringLen := int(stringLen)
  18908. if intStringLen < 0 {
  18909. return ErrInvalidLengthGenerated
  18910. }
  18911. postIndex := iNdEx + intStringLen
  18912. if postIndex > l {
  18913. return io.ErrUnexpectedEOF
  18914. }
  18915. m.DatasetName = string(data[iNdEx:postIndex])
  18916. iNdEx = postIndex
  18917. default:
  18918. iNdEx = preIndex
  18919. skippy, err := skipGenerated(data[iNdEx:])
  18920. if err != nil {
  18921. return err
  18922. }
  18923. if skippy < 0 {
  18924. return ErrInvalidLengthGenerated
  18925. }
  18926. if (iNdEx + skippy) > l {
  18927. return io.ErrUnexpectedEOF
  18928. }
  18929. iNdEx += skippy
  18930. }
  18931. }
  18932. if iNdEx > l {
  18933. return io.ErrUnexpectedEOF
  18934. }
  18935. return nil
  18936. }
  18937. func (m *GCEPersistentDiskVolumeSource) Unmarshal(data []byte) error {
  18938. l := len(data)
  18939. iNdEx := 0
  18940. for iNdEx < l {
  18941. preIndex := iNdEx
  18942. var wire uint64
  18943. for shift := uint(0); ; shift += 7 {
  18944. if shift >= 64 {
  18945. return ErrIntOverflowGenerated
  18946. }
  18947. if iNdEx >= l {
  18948. return io.ErrUnexpectedEOF
  18949. }
  18950. b := data[iNdEx]
  18951. iNdEx++
  18952. wire |= (uint64(b) & 0x7F) << shift
  18953. if b < 0x80 {
  18954. break
  18955. }
  18956. }
  18957. fieldNum := int32(wire >> 3)
  18958. wireType := int(wire & 0x7)
  18959. if wireType == 4 {
  18960. return fmt.Errorf("proto: GCEPersistentDiskVolumeSource: wiretype end group for non-group")
  18961. }
  18962. if fieldNum <= 0 {
  18963. return fmt.Errorf("proto: GCEPersistentDiskVolumeSource: illegal tag %d (wire type %d)", fieldNum, wire)
  18964. }
  18965. switch fieldNum {
  18966. case 1:
  18967. if wireType != 2 {
  18968. return fmt.Errorf("proto: wrong wireType = %d for field PDName", wireType)
  18969. }
  18970. var stringLen uint64
  18971. for shift := uint(0); ; shift += 7 {
  18972. if shift >= 64 {
  18973. return ErrIntOverflowGenerated
  18974. }
  18975. if iNdEx >= l {
  18976. return io.ErrUnexpectedEOF
  18977. }
  18978. b := data[iNdEx]
  18979. iNdEx++
  18980. stringLen |= (uint64(b) & 0x7F) << shift
  18981. if b < 0x80 {
  18982. break
  18983. }
  18984. }
  18985. intStringLen := int(stringLen)
  18986. if intStringLen < 0 {
  18987. return ErrInvalidLengthGenerated
  18988. }
  18989. postIndex := iNdEx + intStringLen
  18990. if postIndex > l {
  18991. return io.ErrUnexpectedEOF
  18992. }
  18993. m.PDName = string(data[iNdEx:postIndex])
  18994. iNdEx = postIndex
  18995. case 2:
  18996. if wireType != 2 {
  18997. return fmt.Errorf("proto: wrong wireType = %d for field FSType", wireType)
  18998. }
  18999. var stringLen uint64
  19000. for shift := uint(0); ; shift += 7 {
  19001. if shift >= 64 {
  19002. return ErrIntOverflowGenerated
  19003. }
  19004. if iNdEx >= l {
  19005. return io.ErrUnexpectedEOF
  19006. }
  19007. b := data[iNdEx]
  19008. iNdEx++
  19009. stringLen |= (uint64(b) & 0x7F) << shift
  19010. if b < 0x80 {
  19011. break
  19012. }
  19013. }
  19014. intStringLen := int(stringLen)
  19015. if intStringLen < 0 {
  19016. return ErrInvalidLengthGenerated
  19017. }
  19018. postIndex := iNdEx + intStringLen
  19019. if postIndex > l {
  19020. return io.ErrUnexpectedEOF
  19021. }
  19022. m.FSType = string(data[iNdEx:postIndex])
  19023. iNdEx = postIndex
  19024. case 3:
  19025. if wireType != 0 {
  19026. return fmt.Errorf("proto: wrong wireType = %d for field Partition", wireType)
  19027. }
  19028. m.Partition = 0
  19029. for shift := uint(0); ; shift += 7 {
  19030. if shift >= 64 {
  19031. return ErrIntOverflowGenerated
  19032. }
  19033. if iNdEx >= l {
  19034. return io.ErrUnexpectedEOF
  19035. }
  19036. b := data[iNdEx]
  19037. iNdEx++
  19038. m.Partition |= (int32(b) & 0x7F) << shift
  19039. if b < 0x80 {
  19040. break
  19041. }
  19042. }
  19043. case 4:
  19044. if wireType != 0 {
  19045. return fmt.Errorf("proto: wrong wireType = %d for field ReadOnly", wireType)
  19046. }
  19047. var v int
  19048. for shift := uint(0); ; shift += 7 {
  19049. if shift >= 64 {
  19050. return ErrIntOverflowGenerated
  19051. }
  19052. if iNdEx >= l {
  19053. return io.ErrUnexpectedEOF
  19054. }
  19055. b := data[iNdEx]
  19056. iNdEx++
  19057. v |= (int(b) & 0x7F) << shift
  19058. if b < 0x80 {
  19059. break
  19060. }
  19061. }
  19062. m.ReadOnly = bool(v != 0)
  19063. default:
  19064. iNdEx = preIndex
  19065. skippy, err := skipGenerated(data[iNdEx:])
  19066. if err != nil {
  19067. return err
  19068. }
  19069. if skippy < 0 {
  19070. return ErrInvalidLengthGenerated
  19071. }
  19072. if (iNdEx + skippy) > l {
  19073. return io.ErrUnexpectedEOF
  19074. }
  19075. iNdEx += skippy
  19076. }
  19077. }
  19078. if iNdEx > l {
  19079. return io.ErrUnexpectedEOF
  19080. }
  19081. return nil
  19082. }
  19083. func (m *GitRepoVolumeSource) Unmarshal(data []byte) error {
  19084. l := len(data)
  19085. iNdEx := 0
  19086. for iNdEx < l {
  19087. preIndex := iNdEx
  19088. var wire uint64
  19089. for shift := uint(0); ; shift += 7 {
  19090. if shift >= 64 {
  19091. return ErrIntOverflowGenerated
  19092. }
  19093. if iNdEx >= l {
  19094. return io.ErrUnexpectedEOF
  19095. }
  19096. b := data[iNdEx]
  19097. iNdEx++
  19098. wire |= (uint64(b) & 0x7F) << shift
  19099. if b < 0x80 {
  19100. break
  19101. }
  19102. }
  19103. fieldNum := int32(wire >> 3)
  19104. wireType := int(wire & 0x7)
  19105. if wireType == 4 {
  19106. return fmt.Errorf("proto: GitRepoVolumeSource: wiretype end group for non-group")
  19107. }
  19108. if fieldNum <= 0 {
  19109. return fmt.Errorf("proto: GitRepoVolumeSource: illegal tag %d (wire type %d)", fieldNum, wire)
  19110. }
  19111. switch fieldNum {
  19112. case 1:
  19113. if wireType != 2 {
  19114. return fmt.Errorf("proto: wrong wireType = %d for field Repository", wireType)
  19115. }
  19116. var stringLen uint64
  19117. for shift := uint(0); ; shift += 7 {
  19118. if shift >= 64 {
  19119. return ErrIntOverflowGenerated
  19120. }
  19121. if iNdEx >= l {
  19122. return io.ErrUnexpectedEOF
  19123. }
  19124. b := data[iNdEx]
  19125. iNdEx++
  19126. stringLen |= (uint64(b) & 0x7F) << shift
  19127. if b < 0x80 {
  19128. break
  19129. }
  19130. }
  19131. intStringLen := int(stringLen)
  19132. if intStringLen < 0 {
  19133. return ErrInvalidLengthGenerated
  19134. }
  19135. postIndex := iNdEx + intStringLen
  19136. if postIndex > l {
  19137. return io.ErrUnexpectedEOF
  19138. }
  19139. m.Repository = string(data[iNdEx:postIndex])
  19140. iNdEx = postIndex
  19141. case 2:
  19142. if wireType != 2 {
  19143. return fmt.Errorf("proto: wrong wireType = %d for field Revision", wireType)
  19144. }
  19145. var stringLen uint64
  19146. for shift := uint(0); ; shift += 7 {
  19147. if shift >= 64 {
  19148. return ErrIntOverflowGenerated
  19149. }
  19150. if iNdEx >= l {
  19151. return io.ErrUnexpectedEOF
  19152. }
  19153. b := data[iNdEx]
  19154. iNdEx++
  19155. stringLen |= (uint64(b) & 0x7F) << shift
  19156. if b < 0x80 {
  19157. break
  19158. }
  19159. }
  19160. intStringLen := int(stringLen)
  19161. if intStringLen < 0 {
  19162. return ErrInvalidLengthGenerated
  19163. }
  19164. postIndex := iNdEx + intStringLen
  19165. if postIndex > l {
  19166. return io.ErrUnexpectedEOF
  19167. }
  19168. m.Revision = string(data[iNdEx:postIndex])
  19169. iNdEx = postIndex
  19170. case 3:
  19171. if wireType != 2 {
  19172. return fmt.Errorf("proto: wrong wireType = %d for field Directory", wireType)
  19173. }
  19174. var stringLen uint64
  19175. for shift := uint(0); ; shift += 7 {
  19176. if shift >= 64 {
  19177. return ErrIntOverflowGenerated
  19178. }
  19179. if iNdEx >= l {
  19180. return io.ErrUnexpectedEOF
  19181. }
  19182. b := data[iNdEx]
  19183. iNdEx++
  19184. stringLen |= (uint64(b) & 0x7F) << shift
  19185. if b < 0x80 {
  19186. break
  19187. }
  19188. }
  19189. intStringLen := int(stringLen)
  19190. if intStringLen < 0 {
  19191. return ErrInvalidLengthGenerated
  19192. }
  19193. postIndex := iNdEx + intStringLen
  19194. if postIndex > l {
  19195. return io.ErrUnexpectedEOF
  19196. }
  19197. m.Directory = string(data[iNdEx:postIndex])
  19198. iNdEx = postIndex
  19199. default:
  19200. iNdEx = preIndex
  19201. skippy, err := skipGenerated(data[iNdEx:])
  19202. if err != nil {
  19203. return err
  19204. }
  19205. if skippy < 0 {
  19206. return ErrInvalidLengthGenerated
  19207. }
  19208. if (iNdEx + skippy) > l {
  19209. return io.ErrUnexpectedEOF
  19210. }
  19211. iNdEx += skippy
  19212. }
  19213. }
  19214. if iNdEx > l {
  19215. return io.ErrUnexpectedEOF
  19216. }
  19217. return nil
  19218. }
  19219. func (m *GlusterfsVolumeSource) Unmarshal(data []byte) error {
  19220. l := len(data)
  19221. iNdEx := 0
  19222. for iNdEx < l {
  19223. preIndex := iNdEx
  19224. var wire uint64
  19225. for shift := uint(0); ; shift += 7 {
  19226. if shift >= 64 {
  19227. return ErrIntOverflowGenerated
  19228. }
  19229. if iNdEx >= l {
  19230. return io.ErrUnexpectedEOF
  19231. }
  19232. b := data[iNdEx]
  19233. iNdEx++
  19234. wire |= (uint64(b) & 0x7F) << shift
  19235. if b < 0x80 {
  19236. break
  19237. }
  19238. }
  19239. fieldNum := int32(wire >> 3)
  19240. wireType := int(wire & 0x7)
  19241. if wireType == 4 {
  19242. return fmt.Errorf("proto: GlusterfsVolumeSource: wiretype end group for non-group")
  19243. }
  19244. if fieldNum <= 0 {
  19245. return fmt.Errorf("proto: GlusterfsVolumeSource: illegal tag %d (wire type %d)", fieldNum, wire)
  19246. }
  19247. switch fieldNum {
  19248. case 1:
  19249. if wireType != 2 {
  19250. return fmt.Errorf("proto: wrong wireType = %d for field EndpointsName", wireType)
  19251. }
  19252. var stringLen uint64
  19253. for shift := uint(0); ; shift += 7 {
  19254. if shift >= 64 {
  19255. return ErrIntOverflowGenerated
  19256. }
  19257. if iNdEx >= l {
  19258. return io.ErrUnexpectedEOF
  19259. }
  19260. b := data[iNdEx]
  19261. iNdEx++
  19262. stringLen |= (uint64(b) & 0x7F) << shift
  19263. if b < 0x80 {
  19264. break
  19265. }
  19266. }
  19267. intStringLen := int(stringLen)
  19268. if intStringLen < 0 {
  19269. return ErrInvalidLengthGenerated
  19270. }
  19271. postIndex := iNdEx + intStringLen
  19272. if postIndex > l {
  19273. return io.ErrUnexpectedEOF
  19274. }
  19275. m.EndpointsName = string(data[iNdEx:postIndex])
  19276. iNdEx = postIndex
  19277. case 2:
  19278. if wireType != 2 {
  19279. return fmt.Errorf("proto: wrong wireType = %d for field Path", wireType)
  19280. }
  19281. var stringLen uint64
  19282. for shift := uint(0); ; shift += 7 {
  19283. if shift >= 64 {
  19284. return ErrIntOverflowGenerated
  19285. }
  19286. if iNdEx >= l {
  19287. return io.ErrUnexpectedEOF
  19288. }
  19289. b := data[iNdEx]
  19290. iNdEx++
  19291. stringLen |= (uint64(b) & 0x7F) << shift
  19292. if b < 0x80 {
  19293. break
  19294. }
  19295. }
  19296. intStringLen := int(stringLen)
  19297. if intStringLen < 0 {
  19298. return ErrInvalidLengthGenerated
  19299. }
  19300. postIndex := iNdEx + intStringLen
  19301. if postIndex > l {
  19302. return io.ErrUnexpectedEOF
  19303. }
  19304. m.Path = string(data[iNdEx:postIndex])
  19305. iNdEx = postIndex
  19306. case 3:
  19307. if wireType != 0 {
  19308. return fmt.Errorf("proto: wrong wireType = %d for field ReadOnly", wireType)
  19309. }
  19310. var v int
  19311. for shift := uint(0); ; shift += 7 {
  19312. if shift >= 64 {
  19313. return ErrIntOverflowGenerated
  19314. }
  19315. if iNdEx >= l {
  19316. return io.ErrUnexpectedEOF
  19317. }
  19318. b := data[iNdEx]
  19319. iNdEx++
  19320. v |= (int(b) & 0x7F) << shift
  19321. if b < 0x80 {
  19322. break
  19323. }
  19324. }
  19325. m.ReadOnly = bool(v != 0)
  19326. default:
  19327. iNdEx = preIndex
  19328. skippy, err := skipGenerated(data[iNdEx:])
  19329. if err != nil {
  19330. return err
  19331. }
  19332. if skippy < 0 {
  19333. return ErrInvalidLengthGenerated
  19334. }
  19335. if (iNdEx + skippy) > l {
  19336. return io.ErrUnexpectedEOF
  19337. }
  19338. iNdEx += skippy
  19339. }
  19340. }
  19341. if iNdEx > l {
  19342. return io.ErrUnexpectedEOF
  19343. }
  19344. return nil
  19345. }
  19346. func (m *HTTPGetAction) Unmarshal(data []byte) error {
  19347. l := len(data)
  19348. iNdEx := 0
  19349. for iNdEx < l {
  19350. preIndex := iNdEx
  19351. var wire uint64
  19352. for shift := uint(0); ; shift += 7 {
  19353. if shift >= 64 {
  19354. return ErrIntOverflowGenerated
  19355. }
  19356. if iNdEx >= l {
  19357. return io.ErrUnexpectedEOF
  19358. }
  19359. b := data[iNdEx]
  19360. iNdEx++
  19361. wire |= (uint64(b) & 0x7F) << shift
  19362. if b < 0x80 {
  19363. break
  19364. }
  19365. }
  19366. fieldNum := int32(wire >> 3)
  19367. wireType := int(wire & 0x7)
  19368. if wireType == 4 {
  19369. return fmt.Errorf("proto: HTTPGetAction: wiretype end group for non-group")
  19370. }
  19371. if fieldNum <= 0 {
  19372. return fmt.Errorf("proto: HTTPGetAction: illegal tag %d (wire type %d)", fieldNum, wire)
  19373. }
  19374. switch fieldNum {
  19375. case 1:
  19376. if wireType != 2 {
  19377. return fmt.Errorf("proto: wrong wireType = %d for field Path", wireType)
  19378. }
  19379. var stringLen uint64
  19380. for shift := uint(0); ; shift += 7 {
  19381. if shift >= 64 {
  19382. return ErrIntOverflowGenerated
  19383. }
  19384. if iNdEx >= l {
  19385. return io.ErrUnexpectedEOF
  19386. }
  19387. b := data[iNdEx]
  19388. iNdEx++
  19389. stringLen |= (uint64(b) & 0x7F) << shift
  19390. if b < 0x80 {
  19391. break
  19392. }
  19393. }
  19394. intStringLen := int(stringLen)
  19395. if intStringLen < 0 {
  19396. return ErrInvalidLengthGenerated
  19397. }
  19398. postIndex := iNdEx + intStringLen
  19399. if postIndex > l {
  19400. return io.ErrUnexpectedEOF
  19401. }
  19402. m.Path = string(data[iNdEx:postIndex])
  19403. iNdEx = postIndex
  19404. case 2:
  19405. if wireType != 2 {
  19406. return fmt.Errorf("proto: wrong wireType = %d for field Port", wireType)
  19407. }
  19408. var msglen int
  19409. for shift := uint(0); ; shift += 7 {
  19410. if shift >= 64 {
  19411. return ErrIntOverflowGenerated
  19412. }
  19413. if iNdEx >= l {
  19414. return io.ErrUnexpectedEOF
  19415. }
  19416. b := data[iNdEx]
  19417. iNdEx++
  19418. msglen |= (int(b) & 0x7F) << shift
  19419. if b < 0x80 {
  19420. break
  19421. }
  19422. }
  19423. if msglen < 0 {
  19424. return ErrInvalidLengthGenerated
  19425. }
  19426. postIndex := iNdEx + msglen
  19427. if postIndex > l {
  19428. return io.ErrUnexpectedEOF
  19429. }
  19430. if err := m.Port.Unmarshal(data[iNdEx:postIndex]); err != nil {
  19431. return err
  19432. }
  19433. iNdEx = postIndex
  19434. case 3:
  19435. if wireType != 2 {
  19436. return fmt.Errorf("proto: wrong wireType = %d for field Host", wireType)
  19437. }
  19438. var stringLen uint64
  19439. for shift := uint(0); ; shift += 7 {
  19440. if shift >= 64 {
  19441. return ErrIntOverflowGenerated
  19442. }
  19443. if iNdEx >= l {
  19444. return io.ErrUnexpectedEOF
  19445. }
  19446. b := data[iNdEx]
  19447. iNdEx++
  19448. stringLen |= (uint64(b) & 0x7F) << shift
  19449. if b < 0x80 {
  19450. break
  19451. }
  19452. }
  19453. intStringLen := int(stringLen)
  19454. if intStringLen < 0 {
  19455. return ErrInvalidLengthGenerated
  19456. }
  19457. postIndex := iNdEx + intStringLen
  19458. if postIndex > l {
  19459. return io.ErrUnexpectedEOF
  19460. }
  19461. m.Host = string(data[iNdEx:postIndex])
  19462. iNdEx = postIndex
  19463. case 4:
  19464. if wireType != 2 {
  19465. return fmt.Errorf("proto: wrong wireType = %d for field Scheme", wireType)
  19466. }
  19467. var stringLen uint64
  19468. for shift := uint(0); ; shift += 7 {
  19469. if shift >= 64 {
  19470. return ErrIntOverflowGenerated
  19471. }
  19472. if iNdEx >= l {
  19473. return io.ErrUnexpectedEOF
  19474. }
  19475. b := data[iNdEx]
  19476. iNdEx++
  19477. stringLen |= (uint64(b) & 0x7F) << shift
  19478. if b < 0x80 {
  19479. break
  19480. }
  19481. }
  19482. intStringLen := int(stringLen)
  19483. if intStringLen < 0 {
  19484. return ErrInvalidLengthGenerated
  19485. }
  19486. postIndex := iNdEx + intStringLen
  19487. if postIndex > l {
  19488. return io.ErrUnexpectedEOF
  19489. }
  19490. m.Scheme = URIScheme(data[iNdEx:postIndex])
  19491. iNdEx = postIndex
  19492. case 5:
  19493. if wireType != 2 {
  19494. return fmt.Errorf("proto: wrong wireType = %d for field HTTPHeaders", wireType)
  19495. }
  19496. var msglen int
  19497. for shift := uint(0); ; shift += 7 {
  19498. if shift >= 64 {
  19499. return ErrIntOverflowGenerated
  19500. }
  19501. if iNdEx >= l {
  19502. return io.ErrUnexpectedEOF
  19503. }
  19504. b := data[iNdEx]
  19505. iNdEx++
  19506. msglen |= (int(b) & 0x7F) << shift
  19507. if b < 0x80 {
  19508. break
  19509. }
  19510. }
  19511. if msglen < 0 {
  19512. return ErrInvalidLengthGenerated
  19513. }
  19514. postIndex := iNdEx + msglen
  19515. if postIndex > l {
  19516. return io.ErrUnexpectedEOF
  19517. }
  19518. m.HTTPHeaders = append(m.HTTPHeaders, HTTPHeader{})
  19519. if err := m.HTTPHeaders[len(m.HTTPHeaders)-1].Unmarshal(data[iNdEx:postIndex]); err != nil {
  19520. return err
  19521. }
  19522. iNdEx = postIndex
  19523. default:
  19524. iNdEx = preIndex
  19525. skippy, err := skipGenerated(data[iNdEx:])
  19526. if err != nil {
  19527. return err
  19528. }
  19529. if skippy < 0 {
  19530. return ErrInvalidLengthGenerated
  19531. }
  19532. if (iNdEx + skippy) > l {
  19533. return io.ErrUnexpectedEOF
  19534. }
  19535. iNdEx += skippy
  19536. }
  19537. }
  19538. if iNdEx > l {
  19539. return io.ErrUnexpectedEOF
  19540. }
  19541. return nil
  19542. }
  19543. func (m *HTTPHeader) Unmarshal(data []byte) error {
  19544. l := len(data)
  19545. iNdEx := 0
  19546. for iNdEx < l {
  19547. preIndex := iNdEx
  19548. var wire uint64
  19549. for shift := uint(0); ; shift += 7 {
  19550. if shift >= 64 {
  19551. return ErrIntOverflowGenerated
  19552. }
  19553. if iNdEx >= l {
  19554. return io.ErrUnexpectedEOF
  19555. }
  19556. b := data[iNdEx]
  19557. iNdEx++
  19558. wire |= (uint64(b) & 0x7F) << shift
  19559. if b < 0x80 {
  19560. break
  19561. }
  19562. }
  19563. fieldNum := int32(wire >> 3)
  19564. wireType := int(wire & 0x7)
  19565. if wireType == 4 {
  19566. return fmt.Errorf("proto: HTTPHeader: wiretype end group for non-group")
  19567. }
  19568. if fieldNum <= 0 {
  19569. return fmt.Errorf("proto: HTTPHeader: illegal tag %d (wire type %d)", fieldNum, wire)
  19570. }
  19571. switch fieldNum {
  19572. case 1:
  19573. if wireType != 2 {
  19574. return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
  19575. }
  19576. var stringLen uint64
  19577. for shift := uint(0); ; shift += 7 {
  19578. if shift >= 64 {
  19579. return ErrIntOverflowGenerated
  19580. }
  19581. if iNdEx >= l {
  19582. return io.ErrUnexpectedEOF
  19583. }
  19584. b := data[iNdEx]
  19585. iNdEx++
  19586. stringLen |= (uint64(b) & 0x7F) << shift
  19587. if b < 0x80 {
  19588. break
  19589. }
  19590. }
  19591. intStringLen := int(stringLen)
  19592. if intStringLen < 0 {
  19593. return ErrInvalidLengthGenerated
  19594. }
  19595. postIndex := iNdEx + intStringLen
  19596. if postIndex > l {
  19597. return io.ErrUnexpectedEOF
  19598. }
  19599. m.Name = string(data[iNdEx:postIndex])
  19600. iNdEx = postIndex
  19601. case 2:
  19602. if wireType != 2 {
  19603. return fmt.Errorf("proto: wrong wireType = %d for field Value", wireType)
  19604. }
  19605. var stringLen uint64
  19606. for shift := uint(0); ; shift += 7 {
  19607. if shift >= 64 {
  19608. return ErrIntOverflowGenerated
  19609. }
  19610. if iNdEx >= l {
  19611. return io.ErrUnexpectedEOF
  19612. }
  19613. b := data[iNdEx]
  19614. iNdEx++
  19615. stringLen |= (uint64(b) & 0x7F) << shift
  19616. if b < 0x80 {
  19617. break
  19618. }
  19619. }
  19620. intStringLen := int(stringLen)
  19621. if intStringLen < 0 {
  19622. return ErrInvalidLengthGenerated
  19623. }
  19624. postIndex := iNdEx + intStringLen
  19625. if postIndex > l {
  19626. return io.ErrUnexpectedEOF
  19627. }
  19628. m.Value = string(data[iNdEx:postIndex])
  19629. iNdEx = postIndex
  19630. default:
  19631. iNdEx = preIndex
  19632. skippy, err := skipGenerated(data[iNdEx:])
  19633. if err != nil {
  19634. return err
  19635. }
  19636. if skippy < 0 {
  19637. return ErrInvalidLengthGenerated
  19638. }
  19639. if (iNdEx + skippy) > l {
  19640. return io.ErrUnexpectedEOF
  19641. }
  19642. iNdEx += skippy
  19643. }
  19644. }
  19645. if iNdEx > l {
  19646. return io.ErrUnexpectedEOF
  19647. }
  19648. return nil
  19649. }
  19650. func (m *Handler) Unmarshal(data []byte) error {
  19651. l := len(data)
  19652. iNdEx := 0
  19653. for iNdEx < l {
  19654. preIndex := iNdEx
  19655. var wire uint64
  19656. for shift := uint(0); ; shift += 7 {
  19657. if shift >= 64 {
  19658. return ErrIntOverflowGenerated
  19659. }
  19660. if iNdEx >= l {
  19661. return io.ErrUnexpectedEOF
  19662. }
  19663. b := data[iNdEx]
  19664. iNdEx++
  19665. wire |= (uint64(b) & 0x7F) << shift
  19666. if b < 0x80 {
  19667. break
  19668. }
  19669. }
  19670. fieldNum := int32(wire >> 3)
  19671. wireType := int(wire & 0x7)
  19672. if wireType == 4 {
  19673. return fmt.Errorf("proto: Handler: wiretype end group for non-group")
  19674. }
  19675. if fieldNum <= 0 {
  19676. return fmt.Errorf("proto: Handler: illegal tag %d (wire type %d)", fieldNum, wire)
  19677. }
  19678. switch fieldNum {
  19679. case 1:
  19680. if wireType != 2 {
  19681. return fmt.Errorf("proto: wrong wireType = %d for field Exec", wireType)
  19682. }
  19683. var msglen int
  19684. for shift := uint(0); ; shift += 7 {
  19685. if shift >= 64 {
  19686. return ErrIntOverflowGenerated
  19687. }
  19688. if iNdEx >= l {
  19689. return io.ErrUnexpectedEOF
  19690. }
  19691. b := data[iNdEx]
  19692. iNdEx++
  19693. msglen |= (int(b) & 0x7F) << shift
  19694. if b < 0x80 {
  19695. break
  19696. }
  19697. }
  19698. if msglen < 0 {
  19699. return ErrInvalidLengthGenerated
  19700. }
  19701. postIndex := iNdEx + msglen
  19702. if postIndex > l {
  19703. return io.ErrUnexpectedEOF
  19704. }
  19705. if m.Exec == nil {
  19706. m.Exec = &ExecAction{}
  19707. }
  19708. if err := m.Exec.Unmarshal(data[iNdEx:postIndex]); err != nil {
  19709. return err
  19710. }
  19711. iNdEx = postIndex
  19712. case 2:
  19713. if wireType != 2 {
  19714. return fmt.Errorf("proto: wrong wireType = %d for field HTTPGet", wireType)
  19715. }
  19716. var msglen int
  19717. for shift := uint(0); ; shift += 7 {
  19718. if shift >= 64 {
  19719. return ErrIntOverflowGenerated
  19720. }
  19721. if iNdEx >= l {
  19722. return io.ErrUnexpectedEOF
  19723. }
  19724. b := data[iNdEx]
  19725. iNdEx++
  19726. msglen |= (int(b) & 0x7F) << shift
  19727. if b < 0x80 {
  19728. break
  19729. }
  19730. }
  19731. if msglen < 0 {
  19732. return ErrInvalidLengthGenerated
  19733. }
  19734. postIndex := iNdEx + msglen
  19735. if postIndex > l {
  19736. return io.ErrUnexpectedEOF
  19737. }
  19738. if m.HTTPGet == nil {
  19739. m.HTTPGet = &HTTPGetAction{}
  19740. }
  19741. if err := m.HTTPGet.Unmarshal(data[iNdEx:postIndex]); err != nil {
  19742. return err
  19743. }
  19744. iNdEx = postIndex
  19745. case 3:
  19746. if wireType != 2 {
  19747. return fmt.Errorf("proto: wrong wireType = %d for field TCPSocket", wireType)
  19748. }
  19749. var msglen int
  19750. for shift := uint(0); ; shift += 7 {
  19751. if shift >= 64 {
  19752. return ErrIntOverflowGenerated
  19753. }
  19754. if iNdEx >= l {
  19755. return io.ErrUnexpectedEOF
  19756. }
  19757. b := data[iNdEx]
  19758. iNdEx++
  19759. msglen |= (int(b) & 0x7F) << shift
  19760. if b < 0x80 {
  19761. break
  19762. }
  19763. }
  19764. if msglen < 0 {
  19765. return ErrInvalidLengthGenerated
  19766. }
  19767. postIndex := iNdEx + msglen
  19768. if postIndex > l {
  19769. return io.ErrUnexpectedEOF
  19770. }
  19771. if m.TCPSocket == nil {
  19772. m.TCPSocket = &TCPSocketAction{}
  19773. }
  19774. if err := m.TCPSocket.Unmarshal(data[iNdEx:postIndex]); err != nil {
  19775. return err
  19776. }
  19777. iNdEx = postIndex
  19778. default:
  19779. iNdEx = preIndex
  19780. skippy, err := skipGenerated(data[iNdEx:])
  19781. if err != nil {
  19782. return err
  19783. }
  19784. if skippy < 0 {
  19785. return ErrInvalidLengthGenerated
  19786. }
  19787. if (iNdEx + skippy) > l {
  19788. return io.ErrUnexpectedEOF
  19789. }
  19790. iNdEx += skippy
  19791. }
  19792. }
  19793. if iNdEx > l {
  19794. return io.ErrUnexpectedEOF
  19795. }
  19796. return nil
  19797. }
  19798. func (m *HostPathVolumeSource) Unmarshal(data []byte) error {
  19799. l := len(data)
  19800. iNdEx := 0
  19801. for iNdEx < l {
  19802. preIndex := iNdEx
  19803. var wire uint64
  19804. for shift := uint(0); ; shift += 7 {
  19805. if shift >= 64 {
  19806. return ErrIntOverflowGenerated
  19807. }
  19808. if iNdEx >= l {
  19809. return io.ErrUnexpectedEOF
  19810. }
  19811. b := data[iNdEx]
  19812. iNdEx++
  19813. wire |= (uint64(b) & 0x7F) << shift
  19814. if b < 0x80 {
  19815. break
  19816. }
  19817. }
  19818. fieldNum := int32(wire >> 3)
  19819. wireType := int(wire & 0x7)
  19820. if wireType == 4 {
  19821. return fmt.Errorf("proto: HostPathVolumeSource: wiretype end group for non-group")
  19822. }
  19823. if fieldNum <= 0 {
  19824. return fmt.Errorf("proto: HostPathVolumeSource: illegal tag %d (wire type %d)", fieldNum, wire)
  19825. }
  19826. switch fieldNum {
  19827. case 1:
  19828. if wireType != 2 {
  19829. return fmt.Errorf("proto: wrong wireType = %d for field Path", wireType)
  19830. }
  19831. var stringLen uint64
  19832. for shift := uint(0); ; shift += 7 {
  19833. if shift >= 64 {
  19834. return ErrIntOverflowGenerated
  19835. }
  19836. if iNdEx >= l {
  19837. return io.ErrUnexpectedEOF
  19838. }
  19839. b := data[iNdEx]
  19840. iNdEx++
  19841. stringLen |= (uint64(b) & 0x7F) << shift
  19842. if b < 0x80 {
  19843. break
  19844. }
  19845. }
  19846. intStringLen := int(stringLen)
  19847. if intStringLen < 0 {
  19848. return ErrInvalidLengthGenerated
  19849. }
  19850. postIndex := iNdEx + intStringLen
  19851. if postIndex > l {
  19852. return io.ErrUnexpectedEOF
  19853. }
  19854. m.Path = string(data[iNdEx:postIndex])
  19855. iNdEx = postIndex
  19856. default:
  19857. iNdEx = preIndex
  19858. skippy, err := skipGenerated(data[iNdEx:])
  19859. if err != nil {
  19860. return err
  19861. }
  19862. if skippy < 0 {
  19863. return ErrInvalidLengthGenerated
  19864. }
  19865. if (iNdEx + skippy) > l {
  19866. return io.ErrUnexpectedEOF
  19867. }
  19868. iNdEx += skippy
  19869. }
  19870. }
  19871. if iNdEx > l {
  19872. return io.ErrUnexpectedEOF
  19873. }
  19874. return nil
  19875. }
  19876. func (m *ISCSIVolumeSource) Unmarshal(data []byte) error {
  19877. l := len(data)
  19878. iNdEx := 0
  19879. for iNdEx < l {
  19880. preIndex := iNdEx
  19881. var wire uint64
  19882. for shift := uint(0); ; shift += 7 {
  19883. if shift >= 64 {
  19884. return ErrIntOverflowGenerated
  19885. }
  19886. if iNdEx >= l {
  19887. return io.ErrUnexpectedEOF
  19888. }
  19889. b := data[iNdEx]
  19890. iNdEx++
  19891. wire |= (uint64(b) & 0x7F) << shift
  19892. if b < 0x80 {
  19893. break
  19894. }
  19895. }
  19896. fieldNum := int32(wire >> 3)
  19897. wireType := int(wire & 0x7)
  19898. if wireType == 4 {
  19899. return fmt.Errorf("proto: ISCSIVolumeSource: wiretype end group for non-group")
  19900. }
  19901. if fieldNum <= 0 {
  19902. return fmt.Errorf("proto: ISCSIVolumeSource: illegal tag %d (wire type %d)", fieldNum, wire)
  19903. }
  19904. switch fieldNum {
  19905. case 1:
  19906. if wireType != 2 {
  19907. return fmt.Errorf("proto: wrong wireType = %d for field TargetPortal", wireType)
  19908. }
  19909. var stringLen uint64
  19910. for shift := uint(0); ; shift += 7 {
  19911. if shift >= 64 {
  19912. return ErrIntOverflowGenerated
  19913. }
  19914. if iNdEx >= l {
  19915. return io.ErrUnexpectedEOF
  19916. }
  19917. b := data[iNdEx]
  19918. iNdEx++
  19919. stringLen |= (uint64(b) & 0x7F) << shift
  19920. if b < 0x80 {
  19921. break
  19922. }
  19923. }
  19924. intStringLen := int(stringLen)
  19925. if intStringLen < 0 {
  19926. return ErrInvalidLengthGenerated
  19927. }
  19928. postIndex := iNdEx + intStringLen
  19929. if postIndex > l {
  19930. return io.ErrUnexpectedEOF
  19931. }
  19932. m.TargetPortal = string(data[iNdEx:postIndex])
  19933. iNdEx = postIndex
  19934. case 2:
  19935. if wireType != 2 {
  19936. return fmt.Errorf("proto: wrong wireType = %d for field IQN", wireType)
  19937. }
  19938. var stringLen uint64
  19939. for shift := uint(0); ; shift += 7 {
  19940. if shift >= 64 {
  19941. return ErrIntOverflowGenerated
  19942. }
  19943. if iNdEx >= l {
  19944. return io.ErrUnexpectedEOF
  19945. }
  19946. b := data[iNdEx]
  19947. iNdEx++
  19948. stringLen |= (uint64(b) & 0x7F) << shift
  19949. if b < 0x80 {
  19950. break
  19951. }
  19952. }
  19953. intStringLen := int(stringLen)
  19954. if intStringLen < 0 {
  19955. return ErrInvalidLengthGenerated
  19956. }
  19957. postIndex := iNdEx + intStringLen
  19958. if postIndex > l {
  19959. return io.ErrUnexpectedEOF
  19960. }
  19961. m.IQN = string(data[iNdEx:postIndex])
  19962. iNdEx = postIndex
  19963. case 3:
  19964. if wireType != 0 {
  19965. return fmt.Errorf("proto: wrong wireType = %d for field Lun", wireType)
  19966. }
  19967. m.Lun = 0
  19968. for shift := uint(0); ; shift += 7 {
  19969. if shift >= 64 {
  19970. return ErrIntOverflowGenerated
  19971. }
  19972. if iNdEx >= l {
  19973. return io.ErrUnexpectedEOF
  19974. }
  19975. b := data[iNdEx]
  19976. iNdEx++
  19977. m.Lun |= (int32(b) & 0x7F) << shift
  19978. if b < 0x80 {
  19979. break
  19980. }
  19981. }
  19982. case 4:
  19983. if wireType != 2 {
  19984. return fmt.Errorf("proto: wrong wireType = %d for field ISCSIInterface", wireType)
  19985. }
  19986. var stringLen uint64
  19987. for shift := uint(0); ; shift += 7 {
  19988. if shift >= 64 {
  19989. return ErrIntOverflowGenerated
  19990. }
  19991. if iNdEx >= l {
  19992. return io.ErrUnexpectedEOF
  19993. }
  19994. b := data[iNdEx]
  19995. iNdEx++
  19996. stringLen |= (uint64(b) & 0x7F) << shift
  19997. if b < 0x80 {
  19998. break
  19999. }
  20000. }
  20001. intStringLen := int(stringLen)
  20002. if intStringLen < 0 {
  20003. return ErrInvalidLengthGenerated
  20004. }
  20005. postIndex := iNdEx + intStringLen
  20006. if postIndex > l {
  20007. return io.ErrUnexpectedEOF
  20008. }
  20009. m.ISCSIInterface = string(data[iNdEx:postIndex])
  20010. iNdEx = postIndex
  20011. case 5:
  20012. if wireType != 2 {
  20013. return fmt.Errorf("proto: wrong wireType = %d for field FSType", wireType)
  20014. }
  20015. var stringLen uint64
  20016. for shift := uint(0); ; shift += 7 {
  20017. if shift >= 64 {
  20018. return ErrIntOverflowGenerated
  20019. }
  20020. if iNdEx >= l {
  20021. return io.ErrUnexpectedEOF
  20022. }
  20023. b := data[iNdEx]
  20024. iNdEx++
  20025. stringLen |= (uint64(b) & 0x7F) << shift
  20026. if b < 0x80 {
  20027. break
  20028. }
  20029. }
  20030. intStringLen := int(stringLen)
  20031. if intStringLen < 0 {
  20032. return ErrInvalidLengthGenerated
  20033. }
  20034. postIndex := iNdEx + intStringLen
  20035. if postIndex > l {
  20036. return io.ErrUnexpectedEOF
  20037. }
  20038. m.FSType = string(data[iNdEx:postIndex])
  20039. iNdEx = postIndex
  20040. case 6:
  20041. if wireType != 0 {
  20042. return fmt.Errorf("proto: wrong wireType = %d for field ReadOnly", wireType)
  20043. }
  20044. var v int
  20045. for shift := uint(0); ; shift += 7 {
  20046. if shift >= 64 {
  20047. return ErrIntOverflowGenerated
  20048. }
  20049. if iNdEx >= l {
  20050. return io.ErrUnexpectedEOF
  20051. }
  20052. b := data[iNdEx]
  20053. iNdEx++
  20054. v |= (int(b) & 0x7F) << shift
  20055. if b < 0x80 {
  20056. break
  20057. }
  20058. }
  20059. m.ReadOnly = bool(v != 0)
  20060. default:
  20061. iNdEx = preIndex
  20062. skippy, err := skipGenerated(data[iNdEx:])
  20063. if err != nil {
  20064. return err
  20065. }
  20066. if skippy < 0 {
  20067. return ErrInvalidLengthGenerated
  20068. }
  20069. if (iNdEx + skippy) > l {
  20070. return io.ErrUnexpectedEOF
  20071. }
  20072. iNdEx += skippy
  20073. }
  20074. }
  20075. if iNdEx > l {
  20076. return io.ErrUnexpectedEOF
  20077. }
  20078. return nil
  20079. }
  20080. func (m *KeyToPath) Unmarshal(data []byte) error {
  20081. l := len(data)
  20082. iNdEx := 0
  20083. for iNdEx < l {
  20084. preIndex := iNdEx
  20085. var wire uint64
  20086. for shift := uint(0); ; shift += 7 {
  20087. if shift >= 64 {
  20088. return ErrIntOverflowGenerated
  20089. }
  20090. if iNdEx >= l {
  20091. return io.ErrUnexpectedEOF
  20092. }
  20093. b := data[iNdEx]
  20094. iNdEx++
  20095. wire |= (uint64(b) & 0x7F) << shift
  20096. if b < 0x80 {
  20097. break
  20098. }
  20099. }
  20100. fieldNum := int32(wire >> 3)
  20101. wireType := int(wire & 0x7)
  20102. if wireType == 4 {
  20103. return fmt.Errorf("proto: KeyToPath: wiretype end group for non-group")
  20104. }
  20105. if fieldNum <= 0 {
  20106. return fmt.Errorf("proto: KeyToPath: illegal tag %d (wire type %d)", fieldNum, wire)
  20107. }
  20108. switch fieldNum {
  20109. case 1:
  20110. if wireType != 2 {
  20111. return fmt.Errorf("proto: wrong wireType = %d for field Key", wireType)
  20112. }
  20113. var stringLen uint64
  20114. for shift := uint(0); ; shift += 7 {
  20115. if shift >= 64 {
  20116. return ErrIntOverflowGenerated
  20117. }
  20118. if iNdEx >= l {
  20119. return io.ErrUnexpectedEOF
  20120. }
  20121. b := data[iNdEx]
  20122. iNdEx++
  20123. stringLen |= (uint64(b) & 0x7F) << shift
  20124. if b < 0x80 {
  20125. break
  20126. }
  20127. }
  20128. intStringLen := int(stringLen)
  20129. if intStringLen < 0 {
  20130. return ErrInvalidLengthGenerated
  20131. }
  20132. postIndex := iNdEx + intStringLen
  20133. if postIndex > l {
  20134. return io.ErrUnexpectedEOF
  20135. }
  20136. m.Key = string(data[iNdEx:postIndex])
  20137. iNdEx = postIndex
  20138. case 2:
  20139. if wireType != 2 {
  20140. return fmt.Errorf("proto: wrong wireType = %d for field Path", wireType)
  20141. }
  20142. var stringLen uint64
  20143. for shift := uint(0); ; shift += 7 {
  20144. if shift >= 64 {
  20145. return ErrIntOverflowGenerated
  20146. }
  20147. if iNdEx >= l {
  20148. return io.ErrUnexpectedEOF
  20149. }
  20150. b := data[iNdEx]
  20151. iNdEx++
  20152. stringLen |= (uint64(b) & 0x7F) << shift
  20153. if b < 0x80 {
  20154. break
  20155. }
  20156. }
  20157. intStringLen := int(stringLen)
  20158. if intStringLen < 0 {
  20159. return ErrInvalidLengthGenerated
  20160. }
  20161. postIndex := iNdEx + intStringLen
  20162. if postIndex > l {
  20163. return io.ErrUnexpectedEOF
  20164. }
  20165. m.Path = string(data[iNdEx:postIndex])
  20166. iNdEx = postIndex
  20167. case 3:
  20168. if wireType != 0 {
  20169. return fmt.Errorf("proto: wrong wireType = %d for field Mode", wireType)
  20170. }
  20171. var v int32
  20172. for shift := uint(0); ; shift += 7 {
  20173. if shift >= 64 {
  20174. return ErrIntOverflowGenerated
  20175. }
  20176. if iNdEx >= l {
  20177. return io.ErrUnexpectedEOF
  20178. }
  20179. b := data[iNdEx]
  20180. iNdEx++
  20181. v |= (int32(b) & 0x7F) << shift
  20182. if b < 0x80 {
  20183. break
  20184. }
  20185. }
  20186. m.Mode = &v
  20187. default:
  20188. iNdEx = preIndex
  20189. skippy, err := skipGenerated(data[iNdEx:])
  20190. if err != nil {
  20191. return err
  20192. }
  20193. if skippy < 0 {
  20194. return ErrInvalidLengthGenerated
  20195. }
  20196. if (iNdEx + skippy) > l {
  20197. return io.ErrUnexpectedEOF
  20198. }
  20199. iNdEx += skippy
  20200. }
  20201. }
  20202. if iNdEx > l {
  20203. return io.ErrUnexpectedEOF
  20204. }
  20205. return nil
  20206. }
  20207. func (m *Lifecycle) Unmarshal(data []byte) error {
  20208. l := len(data)
  20209. iNdEx := 0
  20210. for iNdEx < l {
  20211. preIndex := iNdEx
  20212. var wire uint64
  20213. for shift := uint(0); ; shift += 7 {
  20214. if shift >= 64 {
  20215. return ErrIntOverflowGenerated
  20216. }
  20217. if iNdEx >= l {
  20218. return io.ErrUnexpectedEOF
  20219. }
  20220. b := data[iNdEx]
  20221. iNdEx++
  20222. wire |= (uint64(b) & 0x7F) << shift
  20223. if b < 0x80 {
  20224. break
  20225. }
  20226. }
  20227. fieldNum := int32(wire >> 3)
  20228. wireType := int(wire & 0x7)
  20229. if wireType == 4 {
  20230. return fmt.Errorf("proto: Lifecycle: wiretype end group for non-group")
  20231. }
  20232. if fieldNum <= 0 {
  20233. return fmt.Errorf("proto: Lifecycle: illegal tag %d (wire type %d)", fieldNum, wire)
  20234. }
  20235. switch fieldNum {
  20236. case 1:
  20237. if wireType != 2 {
  20238. return fmt.Errorf("proto: wrong wireType = %d for field PostStart", wireType)
  20239. }
  20240. var msglen int
  20241. for shift := uint(0); ; shift += 7 {
  20242. if shift >= 64 {
  20243. return ErrIntOverflowGenerated
  20244. }
  20245. if iNdEx >= l {
  20246. return io.ErrUnexpectedEOF
  20247. }
  20248. b := data[iNdEx]
  20249. iNdEx++
  20250. msglen |= (int(b) & 0x7F) << shift
  20251. if b < 0x80 {
  20252. break
  20253. }
  20254. }
  20255. if msglen < 0 {
  20256. return ErrInvalidLengthGenerated
  20257. }
  20258. postIndex := iNdEx + msglen
  20259. if postIndex > l {
  20260. return io.ErrUnexpectedEOF
  20261. }
  20262. if m.PostStart == nil {
  20263. m.PostStart = &Handler{}
  20264. }
  20265. if err := m.PostStart.Unmarshal(data[iNdEx:postIndex]); err != nil {
  20266. return err
  20267. }
  20268. iNdEx = postIndex
  20269. case 2:
  20270. if wireType != 2 {
  20271. return fmt.Errorf("proto: wrong wireType = %d for field PreStop", wireType)
  20272. }
  20273. var msglen int
  20274. for shift := uint(0); ; shift += 7 {
  20275. if shift >= 64 {
  20276. return ErrIntOverflowGenerated
  20277. }
  20278. if iNdEx >= l {
  20279. return io.ErrUnexpectedEOF
  20280. }
  20281. b := data[iNdEx]
  20282. iNdEx++
  20283. msglen |= (int(b) & 0x7F) << shift
  20284. if b < 0x80 {
  20285. break
  20286. }
  20287. }
  20288. if msglen < 0 {
  20289. return ErrInvalidLengthGenerated
  20290. }
  20291. postIndex := iNdEx + msglen
  20292. if postIndex > l {
  20293. return io.ErrUnexpectedEOF
  20294. }
  20295. if m.PreStop == nil {
  20296. m.PreStop = &Handler{}
  20297. }
  20298. if err := m.PreStop.Unmarshal(data[iNdEx:postIndex]); err != nil {
  20299. return err
  20300. }
  20301. iNdEx = postIndex
  20302. default:
  20303. iNdEx = preIndex
  20304. skippy, err := skipGenerated(data[iNdEx:])
  20305. if err != nil {
  20306. return err
  20307. }
  20308. if skippy < 0 {
  20309. return ErrInvalidLengthGenerated
  20310. }
  20311. if (iNdEx + skippy) > l {
  20312. return io.ErrUnexpectedEOF
  20313. }
  20314. iNdEx += skippy
  20315. }
  20316. }
  20317. if iNdEx > l {
  20318. return io.ErrUnexpectedEOF
  20319. }
  20320. return nil
  20321. }
  20322. func (m *LimitRange) Unmarshal(data []byte) error {
  20323. l := len(data)
  20324. iNdEx := 0
  20325. for iNdEx < l {
  20326. preIndex := iNdEx
  20327. var wire uint64
  20328. for shift := uint(0); ; shift += 7 {
  20329. if shift >= 64 {
  20330. return ErrIntOverflowGenerated
  20331. }
  20332. if iNdEx >= l {
  20333. return io.ErrUnexpectedEOF
  20334. }
  20335. b := data[iNdEx]
  20336. iNdEx++
  20337. wire |= (uint64(b) & 0x7F) << shift
  20338. if b < 0x80 {
  20339. break
  20340. }
  20341. }
  20342. fieldNum := int32(wire >> 3)
  20343. wireType := int(wire & 0x7)
  20344. if wireType == 4 {
  20345. return fmt.Errorf("proto: LimitRange: wiretype end group for non-group")
  20346. }
  20347. if fieldNum <= 0 {
  20348. return fmt.Errorf("proto: LimitRange: illegal tag %d (wire type %d)", fieldNum, wire)
  20349. }
  20350. switch fieldNum {
  20351. case 1:
  20352. if wireType != 2 {
  20353. return fmt.Errorf("proto: wrong wireType = %d for field ObjectMeta", wireType)
  20354. }
  20355. var msglen int
  20356. for shift := uint(0); ; shift += 7 {
  20357. if shift >= 64 {
  20358. return ErrIntOverflowGenerated
  20359. }
  20360. if iNdEx >= l {
  20361. return io.ErrUnexpectedEOF
  20362. }
  20363. b := data[iNdEx]
  20364. iNdEx++
  20365. msglen |= (int(b) & 0x7F) << shift
  20366. if b < 0x80 {
  20367. break
  20368. }
  20369. }
  20370. if msglen < 0 {
  20371. return ErrInvalidLengthGenerated
  20372. }
  20373. postIndex := iNdEx + msglen
  20374. if postIndex > l {
  20375. return io.ErrUnexpectedEOF
  20376. }
  20377. if err := m.ObjectMeta.Unmarshal(data[iNdEx:postIndex]); err != nil {
  20378. return err
  20379. }
  20380. iNdEx = postIndex
  20381. case 2:
  20382. if wireType != 2 {
  20383. return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType)
  20384. }
  20385. var msglen int
  20386. for shift := uint(0); ; shift += 7 {
  20387. if shift >= 64 {
  20388. return ErrIntOverflowGenerated
  20389. }
  20390. if iNdEx >= l {
  20391. return io.ErrUnexpectedEOF
  20392. }
  20393. b := data[iNdEx]
  20394. iNdEx++
  20395. msglen |= (int(b) & 0x7F) << shift
  20396. if b < 0x80 {
  20397. break
  20398. }
  20399. }
  20400. if msglen < 0 {
  20401. return ErrInvalidLengthGenerated
  20402. }
  20403. postIndex := iNdEx + msglen
  20404. if postIndex > l {
  20405. return io.ErrUnexpectedEOF
  20406. }
  20407. if err := m.Spec.Unmarshal(data[iNdEx:postIndex]); err != nil {
  20408. return err
  20409. }
  20410. iNdEx = postIndex
  20411. default:
  20412. iNdEx = preIndex
  20413. skippy, err := skipGenerated(data[iNdEx:])
  20414. if err != nil {
  20415. return err
  20416. }
  20417. if skippy < 0 {
  20418. return ErrInvalidLengthGenerated
  20419. }
  20420. if (iNdEx + skippy) > l {
  20421. return io.ErrUnexpectedEOF
  20422. }
  20423. iNdEx += skippy
  20424. }
  20425. }
  20426. if iNdEx > l {
  20427. return io.ErrUnexpectedEOF
  20428. }
  20429. return nil
  20430. }
  20431. func (m *LimitRangeItem) Unmarshal(data []byte) error {
  20432. l := len(data)
  20433. iNdEx := 0
  20434. for iNdEx < l {
  20435. preIndex := iNdEx
  20436. var wire uint64
  20437. for shift := uint(0); ; shift += 7 {
  20438. if shift >= 64 {
  20439. return ErrIntOverflowGenerated
  20440. }
  20441. if iNdEx >= l {
  20442. return io.ErrUnexpectedEOF
  20443. }
  20444. b := data[iNdEx]
  20445. iNdEx++
  20446. wire |= (uint64(b) & 0x7F) << shift
  20447. if b < 0x80 {
  20448. break
  20449. }
  20450. }
  20451. fieldNum := int32(wire >> 3)
  20452. wireType := int(wire & 0x7)
  20453. if wireType == 4 {
  20454. return fmt.Errorf("proto: LimitRangeItem: wiretype end group for non-group")
  20455. }
  20456. if fieldNum <= 0 {
  20457. return fmt.Errorf("proto: LimitRangeItem: illegal tag %d (wire type %d)", fieldNum, wire)
  20458. }
  20459. switch fieldNum {
  20460. case 1:
  20461. if wireType != 2 {
  20462. return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType)
  20463. }
  20464. var stringLen uint64
  20465. for shift := uint(0); ; shift += 7 {
  20466. if shift >= 64 {
  20467. return ErrIntOverflowGenerated
  20468. }
  20469. if iNdEx >= l {
  20470. return io.ErrUnexpectedEOF
  20471. }
  20472. b := data[iNdEx]
  20473. iNdEx++
  20474. stringLen |= (uint64(b) & 0x7F) << shift
  20475. if b < 0x80 {
  20476. break
  20477. }
  20478. }
  20479. intStringLen := int(stringLen)
  20480. if intStringLen < 0 {
  20481. return ErrInvalidLengthGenerated
  20482. }
  20483. postIndex := iNdEx + intStringLen
  20484. if postIndex > l {
  20485. return io.ErrUnexpectedEOF
  20486. }
  20487. m.Type = LimitType(data[iNdEx:postIndex])
  20488. iNdEx = postIndex
  20489. case 2:
  20490. if wireType != 2 {
  20491. return fmt.Errorf("proto: wrong wireType = %d for field Max", wireType)
  20492. }
  20493. var msglen int
  20494. for shift := uint(0); ; shift += 7 {
  20495. if shift >= 64 {
  20496. return ErrIntOverflowGenerated
  20497. }
  20498. if iNdEx >= l {
  20499. return io.ErrUnexpectedEOF
  20500. }
  20501. b := data[iNdEx]
  20502. iNdEx++
  20503. msglen |= (int(b) & 0x7F) << shift
  20504. if b < 0x80 {
  20505. break
  20506. }
  20507. }
  20508. if msglen < 0 {
  20509. return ErrInvalidLengthGenerated
  20510. }
  20511. postIndex := iNdEx + msglen
  20512. if postIndex > l {
  20513. return io.ErrUnexpectedEOF
  20514. }
  20515. var keykey uint64
  20516. for shift := uint(0); ; shift += 7 {
  20517. if shift >= 64 {
  20518. return ErrIntOverflowGenerated
  20519. }
  20520. if iNdEx >= l {
  20521. return io.ErrUnexpectedEOF
  20522. }
  20523. b := data[iNdEx]
  20524. iNdEx++
  20525. keykey |= (uint64(b) & 0x7F) << shift
  20526. if b < 0x80 {
  20527. break
  20528. }
  20529. }
  20530. var stringLenmapkey uint64
  20531. for shift := uint(0); ; shift += 7 {
  20532. if shift >= 64 {
  20533. return ErrIntOverflowGenerated
  20534. }
  20535. if iNdEx >= l {
  20536. return io.ErrUnexpectedEOF
  20537. }
  20538. b := data[iNdEx]
  20539. iNdEx++
  20540. stringLenmapkey |= (uint64(b) & 0x7F) << shift
  20541. if b < 0x80 {
  20542. break
  20543. }
  20544. }
  20545. intStringLenmapkey := int(stringLenmapkey)
  20546. if intStringLenmapkey < 0 {
  20547. return ErrInvalidLengthGenerated
  20548. }
  20549. postStringIndexmapkey := iNdEx + intStringLenmapkey
  20550. if postStringIndexmapkey > l {
  20551. return io.ErrUnexpectedEOF
  20552. }
  20553. mapkey := ResourceName(data[iNdEx:postStringIndexmapkey])
  20554. iNdEx = postStringIndexmapkey
  20555. var valuekey uint64
  20556. for shift := uint(0); ; shift += 7 {
  20557. if shift >= 64 {
  20558. return ErrIntOverflowGenerated
  20559. }
  20560. if iNdEx >= l {
  20561. return io.ErrUnexpectedEOF
  20562. }
  20563. b := data[iNdEx]
  20564. iNdEx++
  20565. valuekey |= (uint64(b) & 0x7F) << shift
  20566. if b < 0x80 {
  20567. break
  20568. }
  20569. }
  20570. var mapmsglen int
  20571. for shift := uint(0); ; shift += 7 {
  20572. if shift >= 64 {
  20573. return ErrIntOverflowGenerated
  20574. }
  20575. if iNdEx >= l {
  20576. return io.ErrUnexpectedEOF
  20577. }
  20578. b := data[iNdEx]
  20579. iNdEx++
  20580. mapmsglen |= (int(b) & 0x7F) << shift
  20581. if b < 0x80 {
  20582. break
  20583. }
  20584. }
  20585. if mapmsglen < 0 {
  20586. return ErrInvalidLengthGenerated
  20587. }
  20588. postmsgIndex := iNdEx + mapmsglen
  20589. if mapmsglen < 0 {
  20590. return ErrInvalidLengthGenerated
  20591. }
  20592. if postmsgIndex > l {
  20593. return io.ErrUnexpectedEOF
  20594. }
  20595. mapvalue := &k8s_io_kubernetes_pkg_api_resource.Quantity{}
  20596. if err := mapvalue.Unmarshal(data[iNdEx:postmsgIndex]); err != nil {
  20597. return err
  20598. }
  20599. iNdEx = postmsgIndex
  20600. if m.Max == nil {
  20601. m.Max = make(ResourceList)
  20602. }
  20603. m.Max[ResourceName(mapkey)] = *mapvalue
  20604. iNdEx = postIndex
  20605. case 3:
  20606. if wireType != 2 {
  20607. return fmt.Errorf("proto: wrong wireType = %d for field Min", wireType)
  20608. }
  20609. var msglen int
  20610. for shift := uint(0); ; shift += 7 {
  20611. if shift >= 64 {
  20612. return ErrIntOverflowGenerated
  20613. }
  20614. if iNdEx >= l {
  20615. return io.ErrUnexpectedEOF
  20616. }
  20617. b := data[iNdEx]
  20618. iNdEx++
  20619. msglen |= (int(b) & 0x7F) << shift
  20620. if b < 0x80 {
  20621. break
  20622. }
  20623. }
  20624. if msglen < 0 {
  20625. return ErrInvalidLengthGenerated
  20626. }
  20627. postIndex := iNdEx + msglen
  20628. if postIndex > l {
  20629. return io.ErrUnexpectedEOF
  20630. }
  20631. var keykey uint64
  20632. for shift := uint(0); ; shift += 7 {
  20633. if shift >= 64 {
  20634. return ErrIntOverflowGenerated
  20635. }
  20636. if iNdEx >= l {
  20637. return io.ErrUnexpectedEOF
  20638. }
  20639. b := data[iNdEx]
  20640. iNdEx++
  20641. keykey |= (uint64(b) & 0x7F) << shift
  20642. if b < 0x80 {
  20643. break
  20644. }
  20645. }
  20646. var stringLenmapkey uint64
  20647. for shift := uint(0); ; shift += 7 {
  20648. if shift >= 64 {
  20649. return ErrIntOverflowGenerated
  20650. }
  20651. if iNdEx >= l {
  20652. return io.ErrUnexpectedEOF
  20653. }
  20654. b := data[iNdEx]
  20655. iNdEx++
  20656. stringLenmapkey |= (uint64(b) & 0x7F) << shift
  20657. if b < 0x80 {
  20658. break
  20659. }
  20660. }
  20661. intStringLenmapkey := int(stringLenmapkey)
  20662. if intStringLenmapkey < 0 {
  20663. return ErrInvalidLengthGenerated
  20664. }
  20665. postStringIndexmapkey := iNdEx + intStringLenmapkey
  20666. if postStringIndexmapkey > l {
  20667. return io.ErrUnexpectedEOF
  20668. }
  20669. mapkey := ResourceName(data[iNdEx:postStringIndexmapkey])
  20670. iNdEx = postStringIndexmapkey
  20671. var valuekey uint64
  20672. for shift := uint(0); ; shift += 7 {
  20673. if shift >= 64 {
  20674. return ErrIntOverflowGenerated
  20675. }
  20676. if iNdEx >= l {
  20677. return io.ErrUnexpectedEOF
  20678. }
  20679. b := data[iNdEx]
  20680. iNdEx++
  20681. valuekey |= (uint64(b) & 0x7F) << shift
  20682. if b < 0x80 {
  20683. break
  20684. }
  20685. }
  20686. var mapmsglen int
  20687. for shift := uint(0); ; shift += 7 {
  20688. if shift >= 64 {
  20689. return ErrIntOverflowGenerated
  20690. }
  20691. if iNdEx >= l {
  20692. return io.ErrUnexpectedEOF
  20693. }
  20694. b := data[iNdEx]
  20695. iNdEx++
  20696. mapmsglen |= (int(b) & 0x7F) << shift
  20697. if b < 0x80 {
  20698. break
  20699. }
  20700. }
  20701. if mapmsglen < 0 {
  20702. return ErrInvalidLengthGenerated
  20703. }
  20704. postmsgIndex := iNdEx + mapmsglen
  20705. if mapmsglen < 0 {
  20706. return ErrInvalidLengthGenerated
  20707. }
  20708. if postmsgIndex > l {
  20709. return io.ErrUnexpectedEOF
  20710. }
  20711. mapvalue := &k8s_io_kubernetes_pkg_api_resource.Quantity{}
  20712. if err := mapvalue.Unmarshal(data[iNdEx:postmsgIndex]); err != nil {
  20713. return err
  20714. }
  20715. iNdEx = postmsgIndex
  20716. if m.Min == nil {
  20717. m.Min = make(ResourceList)
  20718. }
  20719. m.Min[ResourceName(mapkey)] = *mapvalue
  20720. iNdEx = postIndex
  20721. case 4:
  20722. if wireType != 2 {
  20723. return fmt.Errorf("proto: wrong wireType = %d for field Default", wireType)
  20724. }
  20725. var msglen int
  20726. for shift := uint(0); ; shift += 7 {
  20727. if shift >= 64 {
  20728. return ErrIntOverflowGenerated
  20729. }
  20730. if iNdEx >= l {
  20731. return io.ErrUnexpectedEOF
  20732. }
  20733. b := data[iNdEx]
  20734. iNdEx++
  20735. msglen |= (int(b) & 0x7F) << shift
  20736. if b < 0x80 {
  20737. break
  20738. }
  20739. }
  20740. if msglen < 0 {
  20741. return ErrInvalidLengthGenerated
  20742. }
  20743. postIndex := iNdEx + msglen
  20744. if postIndex > l {
  20745. return io.ErrUnexpectedEOF
  20746. }
  20747. var keykey uint64
  20748. for shift := uint(0); ; shift += 7 {
  20749. if shift >= 64 {
  20750. return ErrIntOverflowGenerated
  20751. }
  20752. if iNdEx >= l {
  20753. return io.ErrUnexpectedEOF
  20754. }
  20755. b := data[iNdEx]
  20756. iNdEx++
  20757. keykey |= (uint64(b) & 0x7F) << shift
  20758. if b < 0x80 {
  20759. break
  20760. }
  20761. }
  20762. var stringLenmapkey uint64
  20763. for shift := uint(0); ; shift += 7 {
  20764. if shift >= 64 {
  20765. return ErrIntOverflowGenerated
  20766. }
  20767. if iNdEx >= l {
  20768. return io.ErrUnexpectedEOF
  20769. }
  20770. b := data[iNdEx]
  20771. iNdEx++
  20772. stringLenmapkey |= (uint64(b) & 0x7F) << shift
  20773. if b < 0x80 {
  20774. break
  20775. }
  20776. }
  20777. intStringLenmapkey := int(stringLenmapkey)
  20778. if intStringLenmapkey < 0 {
  20779. return ErrInvalidLengthGenerated
  20780. }
  20781. postStringIndexmapkey := iNdEx + intStringLenmapkey
  20782. if postStringIndexmapkey > l {
  20783. return io.ErrUnexpectedEOF
  20784. }
  20785. mapkey := ResourceName(data[iNdEx:postStringIndexmapkey])
  20786. iNdEx = postStringIndexmapkey
  20787. var valuekey uint64
  20788. for shift := uint(0); ; shift += 7 {
  20789. if shift >= 64 {
  20790. return ErrIntOverflowGenerated
  20791. }
  20792. if iNdEx >= l {
  20793. return io.ErrUnexpectedEOF
  20794. }
  20795. b := data[iNdEx]
  20796. iNdEx++
  20797. valuekey |= (uint64(b) & 0x7F) << shift
  20798. if b < 0x80 {
  20799. break
  20800. }
  20801. }
  20802. var mapmsglen int
  20803. for shift := uint(0); ; shift += 7 {
  20804. if shift >= 64 {
  20805. return ErrIntOverflowGenerated
  20806. }
  20807. if iNdEx >= l {
  20808. return io.ErrUnexpectedEOF
  20809. }
  20810. b := data[iNdEx]
  20811. iNdEx++
  20812. mapmsglen |= (int(b) & 0x7F) << shift
  20813. if b < 0x80 {
  20814. break
  20815. }
  20816. }
  20817. if mapmsglen < 0 {
  20818. return ErrInvalidLengthGenerated
  20819. }
  20820. postmsgIndex := iNdEx + mapmsglen
  20821. if mapmsglen < 0 {
  20822. return ErrInvalidLengthGenerated
  20823. }
  20824. if postmsgIndex > l {
  20825. return io.ErrUnexpectedEOF
  20826. }
  20827. mapvalue := &k8s_io_kubernetes_pkg_api_resource.Quantity{}
  20828. if err := mapvalue.Unmarshal(data[iNdEx:postmsgIndex]); err != nil {
  20829. return err
  20830. }
  20831. iNdEx = postmsgIndex
  20832. if m.Default == nil {
  20833. m.Default = make(ResourceList)
  20834. }
  20835. m.Default[ResourceName(mapkey)] = *mapvalue
  20836. iNdEx = postIndex
  20837. case 5:
  20838. if wireType != 2 {
  20839. return fmt.Errorf("proto: wrong wireType = %d for field DefaultRequest", wireType)
  20840. }
  20841. var msglen int
  20842. for shift := uint(0); ; shift += 7 {
  20843. if shift >= 64 {
  20844. return ErrIntOverflowGenerated
  20845. }
  20846. if iNdEx >= l {
  20847. return io.ErrUnexpectedEOF
  20848. }
  20849. b := data[iNdEx]
  20850. iNdEx++
  20851. msglen |= (int(b) & 0x7F) << shift
  20852. if b < 0x80 {
  20853. break
  20854. }
  20855. }
  20856. if msglen < 0 {
  20857. return ErrInvalidLengthGenerated
  20858. }
  20859. postIndex := iNdEx + msglen
  20860. if postIndex > l {
  20861. return io.ErrUnexpectedEOF
  20862. }
  20863. var keykey uint64
  20864. for shift := uint(0); ; shift += 7 {
  20865. if shift >= 64 {
  20866. return ErrIntOverflowGenerated
  20867. }
  20868. if iNdEx >= l {
  20869. return io.ErrUnexpectedEOF
  20870. }
  20871. b := data[iNdEx]
  20872. iNdEx++
  20873. keykey |= (uint64(b) & 0x7F) << shift
  20874. if b < 0x80 {
  20875. break
  20876. }
  20877. }
  20878. var stringLenmapkey uint64
  20879. for shift := uint(0); ; shift += 7 {
  20880. if shift >= 64 {
  20881. return ErrIntOverflowGenerated
  20882. }
  20883. if iNdEx >= l {
  20884. return io.ErrUnexpectedEOF
  20885. }
  20886. b := data[iNdEx]
  20887. iNdEx++
  20888. stringLenmapkey |= (uint64(b) & 0x7F) << shift
  20889. if b < 0x80 {
  20890. break
  20891. }
  20892. }
  20893. intStringLenmapkey := int(stringLenmapkey)
  20894. if intStringLenmapkey < 0 {
  20895. return ErrInvalidLengthGenerated
  20896. }
  20897. postStringIndexmapkey := iNdEx + intStringLenmapkey
  20898. if postStringIndexmapkey > l {
  20899. return io.ErrUnexpectedEOF
  20900. }
  20901. mapkey := ResourceName(data[iNdEx:postStringIndexmapkey])
  20902. iNdEx = postStringIndexmapkey
  20903. var valuekey uint64
  20904. for shift := uint(0); ; shift += 7 {
  20905. if shift >= 64 {
  20906. return ErrIntOverflowGenerated
  20907. }
  20908. if iNdEx >= l {
  20909. return io.ErrUnexpectedEOF
  20910. }
  20911. b := data[iNdEx]
  20912. iNdEx++
  20913. valuekey |= (uint64(b) & 0x7F) << shift
  20914. if b < 0x80 {
  20915. break
  20916. }
  20917. }
  20918. var mapmsglen int
  20919. for shift := uint(0); ; shift += 7 {
  20920. if shift >= 64 {
  20921. return ErrIntOverflowGenerated
  20922. }
  20923. if iNdEx >= l {
  20924. return io.ErrUnexpectedEOF
  20925. }
  20926. b := data[iNdEx]
  20927. iNdEx++
  20928. mapmsglen |= (int(b) & 0x7F) << shift
  20929. if b < 0x80 {
  20930. break
  20931. }
  20932. }
  20933. if mapmsglen < 0 {
  20934. return ErrInvalidLengthGenerated
  20935. }
  20936. postmsgIndex := iNdEx + mapmsglen
  20937. if mapmsglen < 0 {
  20938. return ErrInvalidLengthGenerated
  20939. }
  20940. if postmsgIndex > l {
  20941. return io.ErrUnexpectedEOF
  20942. }
  20943. mapvalue := &k8s_io_kubernetes_pkg_api_resource.Quantity{}
  20944. if err := mapvalue.Unmarshal(data[iNdEx:postmsgIndex]); err != nil {
  20945. return err
  20946. }
  20947. iNdEx = postmsgIndex
  20948. if m.DefaultRequest == nil {
  20949. m.DefaultRequest = make(ResourceList)
  20950. }
  20951. m.DefaultRequest[ResourceName(mapkey)] = *mapvalue
  20952. iNdEx = postIndex
  20953. case 6:
  20954. if wireType != 2 {
  20955. return fmt.Errorf("proto: wrong wireType = %d for field MaxLimitRequestRatio", wireType)
  20956. }
  20957. var msglen int
  20958. for shift := uint(0); ; shift += 7 {
  20959. if shift >= 64 {
  20960. return ErrIntOverflowGenerated
  20961. }
  20962. if iNdEx >= l {
  20963. return io.ErrUnexpectedEOF
  20964. }
  20965. b := data[iNdEx]
  20966. iNdEx++
  20967. msglen |= (int(b) & 0x7F) << shift
  20968. if b < 0x80 {
  20969. break
  20970. }
  20971. }
  20972. if msglen < 0 {
  20973. return ErrInvalidLengthGenerated
  20974. }
  20975. postIndex := iNdEx + msglen
  20976. if postIndex > l {
  20977. return io.ErrUnexpectedEOF
  20978. }
  20979. var keykey uint64
  20980. for shift := uint(0); ; shift += 7 {
  20981. if shift >= 64 {
  20982. return ErrIntOverflowGenerated
  20983. }
  20984. if iNdEx >= l {
  20985. return io.ErrUnexpectedEOF
  20986. }
  20987. b := data[iNdEx]
  20988. iNdEx++
  20989. keykey |= (uint64(b) & 0x7F) << shift
  20990. if b < 0x80 {
  20991. break
  20992. }
  20993. }
  20994. var stringLenmapkey uint64
  20995. for shift := uint(0); ; shift += 7 {
  20996. if shift >= 64 {
  20997. return ErrIntOverflowGenerated
  20998. }
  20999. if iNdEx >= l {
  21000. return io.ErrUnexpectedEOF
  21001. }
  21002. b := data[iNdEx]
  21003. iNdEx++
  21004. stringLenmapkey |= (uint64(b) & 0x7F) << shift
  21005. if b < 0x80 {
  21006. break
  21007. }
  21008. }
  21009. intStringLenmapkey := int(stringLenmapkey)
  21010. if intStringLenmapkey < 0 {
  21011. return ErrInvalidLengthGenerated
  21012. }
  21013. postStringIndexmapkey := iNdEx + intStringLenmapkey
  21014. if postStringIndexmapkey > l {
  21015. return io.ErrUnexpectedEOF
  21016. }
  21017. mapkey := ResourceName(data[iNdEx:postStringIndexmapkey])
  21018. iNdEx = postStringIndexmapkey
  21019. var valuekey uint64
  21020. for shift := uint(0); ; shift += 7 {
  21021. if shift >= 64 {
  21022. return ErrIntOverflowGenerated
  21023. }
  21024. if iNdEx >= l {
  21025. return io.ErrUnexpectedEOF
  21026. }
  21027. b := data[iNdEx]
  21028. iNdEx++
  21029. valuekey |= (uint64(b) & 0x7F) << shift
  21030. if b < 0x80 {
  21031. break
  21032. }
  21033. }
  21034. var mapmsglen int
  21035. for shift := uint(0); ; shift += 7 {
  21036. if shift >= 64 {
  21037. return ErrIntOverflowGenerated
  21038. }
  21039. if iNdEx >= l {
  21040. return io.ErrUnexpectedEOF
  21041. }
  21042. b := data[iNdEx]
  21043. iNdEx++
  21044. mapmsglen |= (int(b) & 0x7F) << shift
  21045. if b < 0x80 {
  21046. break
  21047. }
  21048. }
  21049. if mapmsglen < 0 {
  21050. return ErrInvalidLengthGenerated
  21051. }
  21052. postmsgIndex := iNdEx + mapmsglen
  21053. if mapmsglen < 0 {
  21054. return ErrInvalidLengthGenerated
  21055. }
  21056. if postmsgIndex > l {
  21057. return io.ErrUnexpectedEOF
  21058. }
  21059. mapvalue := &k8s_io_kubernetes_pkg_api_resource.Quantity{}
  21060. if err := mapvalue.Unmarshal(data[iNdEx:postmsgIndex]); err != nil {
  21061. return err
  21062. }
  21063. iNdEx = postmsgIndex
  21064. if m.MaxLimitRequestRatio == nil {
  21065. m.MaxLimitRequestRatio = make(ResourceList)
  21066. }
  21067. m.MaxLimitRequestRatio[ResourceName(mapkey)] = *mapvalue
  21068. iNdEx = postIndex
  21069. default:
  21070. iNdEx = preIndex
  21071. skippy, err := skipGenerated(data[iNdEx:])
  21072. if err != nil {
  21073. return err
  21074. }
  21075. if skippy < 0 {
  21076. return ErrInvalidLengthGenerated
  21077. }
  21078. if (iNdEx + skippy) > l {
  21079. return io.ErrUnexpectedEOF
  21080. }
  21081. iNdEx += skippy
  21082. }
  21083. }
  21084. if iNdEx > l {
  21085. return io.ErrUnexpectedEOF
  21086. }
  21087. return nil
  21088. }
  21089. func (m *LimitRangeList) Unmarshal(data []byte) error {
  21090. l := len(data)
  21091. iNdEx := 0
  21092. for iNdEx < l {
  21093. preIndex := iNdEx
  21094. var wire uint64
  21095. for shift := uint(0); ; shift += 7 {
  21096. if shift >= 64 {
  21097. return ErrIntOverflowGenerated
  21098. }
  21099. if iNdEx >= l {
  21100. return io.ErrUnexpectedEOF
  21101. }
  21102. b := data[iNdEx]
  21103. iNdEx++
  21104. wire |= (uint64(b) & 0x7F) << shift
  21105. if b < 0x80 {
  21106. break
  21107. }
  21108. }
  21109. fieldNum := int32(wire >> 3)
  21110. wireType := int(wire & 0x7)
  21111. if wireType == 4 {
  21112. return fmt.Errorf("proto: LimitRangeList: wiretype end group for non-group")
  21113. }
  21114. if fieldNum <= 0 {
  21115. return fmt.Errorf("proto: LimitRangeList: illegal tag %d (wire type %d)", fieldNum, wire)
  21116. }
  21117. switch fieldNum {
  21118. case 1:
  21119. if wireType != 2 {
  21120. return fmt.Errorf("proto: wrong wireType = %d for field ListMeta", wireType)
  21121. }
  21122. var msglen int
  21123. for shift := uint(0); ; shift += 7 {
  21124. if shift >= 64 {
  21125. return ErrIntOverflowGenerated
  21126. }
  21127. if iNdEx >= l {
  21128. return io.ErrUnexpectedEOF
  21129. }
  21130. b := data[iNdEx]
  21131. iNdEx++
  21132. msglen |= (int(b) & 0x7F) << shift
  21133. if b < 0x80 {
  21134. break
  21135. }
  21136. }
  21137. if msglen < 0 {
  21138. return ErrInvalidLengthGenerated
  21139. }
  21140. postIndex := iNdEx + msglen
  21141. if postIndex > l {
  21142. return io.ErrUnexpectedEOF
  21143. }
  21144. if err := m.ListMeta.Unmarshal(data[iNdEx:postIndex]); err != nil {
  21145. return err
  21146. }
  21147. iNdEx = postIndex
  21148. case 2:
  21149. if wireType != 2 {
  21150. return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType)
  21151. }
  21152. var msglen int
  21153. for shift := uint(0); ; shift += 7 {
  21154. if shift >= 64 {
  21155. return ErrIntOverflowGenerated
  21156. }
  21157. if iNdEx >= l {
  21158. return io.ErrUnexpectedEOF
  21159. }
  21160. b := data[iNdEx]
  21161. iNdEx++
  21162. msglen |= (int(b) & 0x7F) << shift
  21163. if b < 0x80 {
  21164. break
  21165. }
  21166. }
  21167. if msglen < 0 {
  21168. return ErrInvalidLengthGenerated
  21169. }
  21170. postIndex := iNdEx + msglen
  21171. if postIndex > l {
  21172. return io.ErrUnexpectedEOF
  21173. }
  21174. m.Items = append(m.Items, LimitRange{})
  21175. if err := m.Items[len(m.Items)-1].Unmarshal(data[iNdEx:postIndex]); err != nil {
  21176. return err
  21177. }
  21178. iNdEx = postIndex
  21179. default:
  21180. iNdEx = preIndex
  21181. skippy, err := skipGenerated(data[iNdEx:])
  21182. if err != nil {
  21183. return err
  21184. }
  21185. if skippy < 0 {
  21186. return ErrInvalidLengthGenerated
  21187. }
  21188. if (iNdEx + skippy) > l {
  21189. return io.ErrUnexpectedEOF
  21190. }
  21191. iNdEx += skippy
  21192. }
  21193. }
  21194. if iNdEx > l {
  21195. return io.ErrUnexpectedEOF
  21196. }
  21197. return nil
  21198. }
  21199. func (m *LimitRangeSpec) Unmarshal(data []byte) error {
  21200. l := len(data)
  21201. iNdEx := 0
  21202. for iNdEx < l {
  21203. preIndex := iNdEx
  21204. var wire uint64
  21205. for shift := uint(0); ; shift += 7 {
  21206. if shift >= 64 {
  21207. return ErrIntOverflowGenerated
  21208. }
  21209. if iNdEx >= l {
  21210. return io.ErrUnexpectedEOF
  21211. }
  21212. b := data[iNdEx]
  21213. iNdEx++
  21214. wire |= (uint64(b) & 0x7F) << shift
  21215. if b < 0x80 {
  21216. break
  21217. }
  21218. }
  21219. fieldNum := int32(wire >> 3)
  21220. wireType := int(wire & 0x7)
  21221. if wireType == 4 {
  21222. return fmt.Errorf("proto: LimitRangeSpec: wiretype end group for non-group")
  21223. }
  21224. if fieldNum <= 0 {
  21225. return fmt.Errorf("proto: LimitRangeSpec: illegal tag %d (wire type %d)", fieldNum, wire)
  21226. }
  21227. switch fieldNum {
  21228. case 1:
  21229. if wireType != 2 {
  21230. return fmt.Errorf("proto: wrong wireType = %d for field Limits", wireType)
  21231. }
  21232. var msglen int
  21233. for shift := uint(0); ; shift += 7 {
  21234. if shift >= 64 {
  21235. return ErrIntOverflowGenerated
  21236. }
  21237. if iNdEx >= l {
  21238. return io.ErrUnexpectedEOF
  21239. }
  21240. b := data[iNdEx]
  21241. iNdEx++
  21242. msglen |= (int(b) & 0x7F) << shift
  21243. if b < 0x80 {
  21244. break
  21245. }
  21246. }
  21247. if msglen < 0 {
  21248. return ErrInvalidLengthGenerated
  21249. }
  21250. postIndex := iNdEx + msglen
  21251. if postIndex > l {
  21252. return io.ErrUnexpectedEOF
  21253. }
  21254. m.Limits = append(m.Limits, LimitRangeItem{})
  21255. if err := m.Limits[len(m.Limits)-1].Unmarshal(data[iNdEx:postIndex]); err != nil {
  21256. return err
  21257. }
  21258. iNdEx = postIndex
  21259. default:
  21260. iNdEx = preIndex
  21261. skippy, err := skipGenerated(data[iNdEx:])
  21262. if err != nil {
  21263. return err
  21264. }
  21265. if skippy < 0 {
  21266. return ErrInvalidLengthGenerated
  21267. }
  21268. if (iNdEx + skippy) > l {
  21269. return io.ErrUnexpectedEOF
  21270. }
  21271. iNdEx += skippy
  21272. }
  21273. }
  21274. if iNdEx > l {
  21275. return io.ErrUnexpectedEOF
  21276. }
  21277. return nil
  21278. }
  21279. func (m *List) Unmarshal(data []byte) error {
  21280. l := len(data)
  21281. iNdEx := 0
  21282. for iNdEx < l {
  21283. preIndex := iNdEx
  21284. var wire uint64
  21285. for shift := uint(0); ; shift += 7 {
  21286. if shift >= 64 {
  21287. return ErrIntOverflowGenerated
  21288. }
  21289. if iNdEx >= l {
  21290. return io.ErrUnexpectedEOF
  21291. }
  21292. b := data[iNdEx]
  21293. iNdEx++
  21294. wire |= (uint64(b) & 0x7F) << shift
  21295. if b < 0x80 {
  21296. break
  21297. }
  21298. }
  21299. fieldNum := int32(wire >> 3)
  21300. wireType := int(wire & 0x7)
  21301. if wireType == 4 {
  21302. return fmt.Errorf("proto: List: wiretype end group for non-group")
  21303. }
  21304. if fieldNum <= 0 {
  21305. return fmt.Errorf("proto: List: illegal tag %d (wire type %d)", fieldNum, wire)
  21306. }
  21307. switch fieldNum {
  21308. case 1:
  21309. if wireType != 2 {
  21310. return fmt.Errorf("proto: wrong wireType = %d for field ListMeta", wireType)
  21311. }
  21312. var msglen int
  21313. for shift := uint(0); ; shift += 7 {
  21314. if shift >= 64 {
  21315. return ErrIntOverflowGenerated
  21316. }
  21317. if iNdEx >= l {
  21318. return io.ErrUnexpectedEOF
  21319. }
  21320. b := data[iNdEx]
  21321. iNdEx++
  21322. msglen |= (int(b) & 0x7F) << shift
  21323. if b < 0x80 {
  21324. break
  21325. }
  21326. }
  21327. if msglen < 0 {
  21328. return ErrInvalidLengthGenerated
  21329. }
  21330. postIndex := iNdEx + msglen
  21331. if postIndex > l {
  21332. return io.ErrUnexpectedEOF
  21333. }
  21334. if err := m.ListMeta.Unmarshal(data[iNdEx:postIndex]); err != nil {
  21335. return err
  21336. }
  21337. iNdEx = postIndex
  21338. case 2:
  21339. if wireType != 2 {
  21340. return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType)
  21341. }
  21342. var msglen int
  21343. for shift := uint(0); ; shift += 7 {
  21344. if shift >= 64 {
  21345. return ErrIntOverflowGenerated
  21346. }
  21347. if iNdEx >= l {
  21348. return io.ErrUnexpectedEOF
  21349. }
  21350. b := data[iNdEx]
  21351. iNdEx++
  21352. msglen |= (int(b) & 0x7F) << shift
  21353. if b < 0x80 {
  21354. break
  21355. }
  21356. }
  21357. if msglen < 0 {
  21358. return ErrInvalidLengthGenerated
  21359. }
  21360. postIndex := iNdEx + msglen
  21361. if postIndex > l {
  21362. return io.ErrUnexpectedEOF
  21363. }
  21364. m.Items = append(m.Items, k8s_io_kubernetes_pkg_runtime.RawExtension{})
  21365. if err := m.Items[len(m.Items)-1].Unmarshal(data[iNdEx:postIndex]); err != nil {
  21366. return err
  21367. }
  21368. iNdEx = postIndex
  21369. default:
  21370. iNdEx = preIndex
  21371. skippy, err := skipGenerated(data[iNdEx:])
  21372. if err != nil {
  21373. return err
  21374. }
  21375. if skippy < 0 {
  21376. return ErrInvalidLengthGenerated
  21377. }
  21378. if (iNdEx + skippy) > l {
  21379. return io.ErrUnexpectedEOF
  21380. }
  21381. iNdEx += skippy
  21382. }
  21383. }
  21384. if iNdEx > l {
  21385. return io.ErrUnexpectedEOF
  21386. }
  21387. return nil
  21388. }
  21389. func (m *ListOptions) Unmarshal(data []byte) error {
  21390. l := len(data)
  21391. iNdEx := 0
  21392. for iNdEx < l {
  21393. preIndex := iNdEx
  21394. var wire uint64
  21395. for shift := uint(0); ; shift += 7 {
  21396. if shift >= 64 {
  21397. return ErrIntOverflowGenerated
  21398. }
  21399. if iNdEx >= l {
  21400. return io.ErrUnexpectedEOF
  21401. }
  21402. b := data[iNdEx]
  21403. iNdEx++
  21404. wire |= (uint64(b) & 0x7F) << shift
  21405. if b < 0x80 {
  21406. break
  21407. }
  21408. }
  21409. fieldNum := int32(wire >> 3)
  21410. wireType := int(wire & 0x7)
  21411. if wireType == 4 {
  21412. return fmt.Errorf("proto: ListOptions: wiretype end group for non-group")
  21413. }
  21414. if fieldNum <= 0 {
  21415. return fmt.Errorf("proto: ListOptions: illegal tag %d (wire type %d)", fieldNum, wire)
  21416. }
  21417. switch fieldNum {
  21418. case 1:
  21419. if wireType != 2 {
  21420. return fmt.Errorf("proto: wrong wireType = %d for field LabelSelector", wireType)
  21421. }
  21422. var stringLen uint64
  21423. for shift := uint(0); ; shift += 7 {
  21424. if shift >= 64 {
  21425. return ErrIntOverflowGenerated
  21426. }
  21427. if iNdEx >= l {
  21428. return io.ErrUnexpectedEOF
  21429. }
  21430. b := data[iNdEx]
  21431. iNdEx++
  21432. stringLen |= (uint64(b) & 0x7F) << shift
  21433. if b < 0x80 {
  21434. break
  21435. }
  21436. }
  21437. intStringLen := int(stringLen)
  21438. if intStringLen < 0 {
  21439. return ErrInvalidLengthGenerated
  21440. }
  21441. postIndex := iNdEx + intStringLen
  21442. if postIndex > l {
  21443. return io.ErrUnexpectedEOF
  21444. }
  21445. m.LabelSelector = string(data[iNdEx:postIndex])
  21446. iNdEx = postIndex
  21447. case 2:
  21448. if wireType != 2 {
  21449. return fmt.Errorf("proto: wrong wireType = %d for field FieldSelector", wireType)
  21450. }
  21451. var stringLen uint64
  21452. for shift := uint(0); ; shift += 7 {
  21453. if shift >= 64 {
  21454. return ErrIntOverflowGenerated
  21455. }
  21456. if iNdEx >= l {
  21457. return io.ErrUnexpectedEOF
  21458. }
  21459. b := data[iNdEx]
  21460. iNdEx++
  21461. stringLen |= (uint64(b) & 0x7F) << shift
  21462. if b < 0x80 {
  21463. break
  21464. }
  21465. }
  21466. intStringLen := int(stringLen)
  21467. if intStringLen < 0 {
  21468. return ErrInvalidLengthGenerated
  21469. }
  21470. postIndex := iNdEx + intStringLen
  21471. if postIndex > l {
  21472. return io.ErrUnexpectedEOF
  21473. }
  21474. m.FieldSelector = string(data[iNdEx:postIndex])
  21475. iNdEx = postIndex
  21476. case 3:
  21477. if wireType != 0 {
  21478. return fmt.Errorf("proto: wrong wireType = %d for field Watch", wireType)
  21479. }
  21480. var v int
  21481. for shift := uint(0); ; shift += 7 {
  21482. if shift >= 64 {
  21483. return ErrIntOverflowGenerated
  21484. }
  21485. if iNdEx >= l {
  21486. return io.ErrUnexpectedEOF
  21487. }
  21488. b := data[iNdEx]
  21489. iNdEx++
  21490. v |= (int(b) & 0x7F) << shift
  21491. if b < 0x80 {
  21492. break
  21493. }
  21494. }
  21495. m.Watch = bool(v != 0)
  21496. case 4:
  21497. if wireType != 2 {
  21498. return fmt.Errorf("proto: wrong wireType = %d for field ResourceVersion", wireType)
  21499. }
  21500. var stringLen uint64
  21501. for shift := uint(0); ; shift += 7 {
  21502. if shift >= 64 {
  21503. return ErrIntOverflowGenerated
  21504. }
  21505. if iNdEx >= l {
  21506. return io.ErrUnexpectedEOF
  21507. }
  21508. b := data[iNdEx]
  21509. iNdEx++
  21510. stringLen |= (uint64(b) & 0x7F) << shift
  21511. if b < 0x80 {
  21512. break
  21513. }
  21514. }
  21515. intStringLen := int(stringLen)
  21516. if intStringLen < 0 {
  21517. return ErrInvalidLengthGenerated
  21518. }
  21519. postIndex := iNdEx + intStringLen
  21520. if postIndex > l {
  21521. return io.ErrUnexpectedEOF
  21522. }
  21523. m.ResourceVersion = string(data[iNdEx:postIndex])
  21524. iNdEx = postIndex
  21525. case 5:
  21526. if wireType != 0 {
  21527. return fmt.Errorf("proto: wrong wireType = %d for field TimeoutSeconds", wireType)
  21528. }
  21529. var v int64
  21530. for shift := uint(0); ; shift += 7 {
  21531. if shift >= 64 {
  21532. return ErrIntOverflowGenerated
  21533. }
  21534. if iNdEx >= l {
  21535. return io.ErrUnexpectedEOF
  21536. }
  21537. b := data[iNdEx]
  21538. iNdEx++
  21539. v |= (int64(b) & 0x7F) << shift
  21540. if b < 0x80 {
  21541. break
  21542. }
  21543. }
  21544. m.TimeoutSeconds = &v
  21545. default:
  21546. iNdEx = preIndex
  21547. skippy, err := skipGenerated(data[iNdEx:])
  21548. if err != nil {
  21549. return err
  21550. }
  21551. if skippy < 0 {
  21552. return ErrInvalidLengthGenerated
  21553. }
  21554. if (iNdEx + skippy) > l {
  21555. return io.ErrUnexpectedEOF
  21556. }
  21557. iNdEx += skippy
  21558. }
  21559. }
  21560. if iNdEx > l {
  21561. return io.ErrUnexpectedEOF
  21562. }
  21563. return nil
  21564. }
  21565. func (m *LoadBalancerIngress) Unmarshal(data []byte) error {
  21566. l := len(data)
  21567. iNdEx := 0
  21568. for iNdEx < l {
  21569. preIndex := iNdEx
  21570. var wire uint64
  21571. for shift := uint(0); ; shift += 7 {
  21572. if shift >= 64 {
  21573. return ErrIntOverflowGenerated
  21574. }
  21575. if iNdEx >= l {
  21576. return io.ErrUnexpectedEOF
  21577. }
  21578. b := data[iNdEx]
  21579. iNdEx++
  21580. wire |= (uint64(b) & 0x7F) << shift
  21581. if b < 0x80 {
  21582. break
  21583. }
  21584. }
  21585. fieldNum := int32(wire >> 3)
  21586. wireType := int(wire & 0x7)
  21587. if wireType == 4 {
  21588. return fmt.Errorf("proto: LoadBalancerIngress: wiretype end group for non-group")
  21589. }
  21590. if fieldNum <= 0 {
  21591. return fmt.Errorf("proto: LoadBalancerIngress: illegal tag %d (wire type %d)", fieldNum, wire)
  21592. }
  21593. switch fieldNum {
  21594. case 1:
  21595. if wireType != 2 {
  21596. return fmt.Errorf("proto: wrong wireType = %d for field IP", wireType)
  21597. }
  21598. var stringLen uint64
  21599. for shift := uint(0); ; shift += 7 {
  21600. if shift >= 64 {
  21601. return ErrIntOverflowGenerated
  21602. }
  21603. if iNdEx >= l {
  21604. return io.ErrUnexpectedEOF
  21605. }
  21606. b := data[iNdEx]
  21607. iNdEx++
  21608. stringLen |= (uint64(b) & 0x7F) << shift
  21609. if b < 0x80 {
  21610. break
  21611. }
  21612. }
  21613. intStringLen := int(stringLen)
  21614. if intStringLen < 0 {
  21615. return ErrInvalidLengthGenerated
  21616. }
  21617. postIndex := iNdEx + intStringLen
  21618. if postIndex > l {
  21619. return io.ErrUnexpectedEOF
  21620. }
  21621. m.IP = string(data[iNdEx:postIndex])
  21622. iNdEx = postIndex
  21623. case 2:
  21624. if wireType != 2 {
  21625. return fmt.Errorf("proto: wrong wireType = %d for field Hostname", wireType)
  21626. }
  21627. var stringLen uint64
  21628. for shift := uint(0); ; shift += 7 {
  21629. if shift >= 64 {
  21630. return ErrIntOverflowGenerated
  21631. }
  21632. if iNdEx >= l {
  21633. return io.ErrUnexpectedEOF
  21634. }
  21635. b := data[iNdEx]
  21636. iNdEx++
  21637. stringLen |= (uint64(b) & 0x7F) << shift
  21638. if b < 0x80 {
  21639. break
  21640. }
  21641. }
  21642. intStringLen := int(stringLen)
  21643. if intStringLen < 0 {
  21644. return ErrInvalidLengthGenerated
  21645. }
  21646. postIndex := iNdEx + intStringLen
  21647. if postIndex > l {
  21648. return io.ErrUnexpectedEOF
  21649. }
  21650. m.Hostname = string(data[iNdEx:postIndex])
  21651. iNdEx = postIndex
  21652. default:
  21653. iNdEx = preIndex
  21654. skippy, err := skipGenerated(data[iNdEx:])
  21655. if err != nil {
  21656. return err
  21657. }
  21658. if skippy < 0 {
  21659. return ErrInvalidLengthGenerated
  21660. }
  21661. if (iNdEx + skippy) > l {
  21662. return io.ErrUnexpectedEOF
  21663. }
  21664. iNdEx += skippy
  21665. }
  21666. }
  21667. if iNdEx > l {
  21668. return io.ErrUnexpectedEOF
  21669. }
  21670. return nil
  21671. }
  21672. func (m *LoadBalancerStatus) Unmarshal(data []byte) error {
  21673. l := len(data)
  21674. iNdEx := 0
  21675. for iNdEx < l {
  21676. preIndex := iNdEx
  21677. var wire uint64
  21678. for shift := uint(0); ; shift += 7 {
  21679. if shift >= 64 {
  21680. return ErrIntOverflowGenerated
  21681. }
  21682. if iNdEx >= l {
  21683. return io.ErrUnexpectedEOF
  21684. }
  21685. b := data[iNdEx]
  21686. iNdEx++
  21687. wire |= (uint64(b) & 0x7F) << shift
  21688. if b < 0x80 {
  21689. break
  21690. }
  21691. }
  21692. fieldNum := int32(wire >> 3)
  21693. wireType := int(wire & 0x7)
  21694. if wireType == 4 {
  21695. return fmt.Errorf("proto: LoadBalancerStatus: wiretype end group for non-group")
  21696. }
  21697. if fieldNum <= 0 {
  21698. return fmt.Errorf("proto: LoadBalancerStatus: illegal tag %d (wire type %d)", fieldNum, wire)
  21699. }
  21700. switch fieldNum {
  21701. case 1:
  21702. if wireType != 2 {
  21703. return fmt.Errorf("proto: wrong wireType = %d for field Ingress", wireType)
  21704. }
  21705. var msglen int
  21706. for shift := uint(0); ; shift += 7 {
  21707. if shift >= 64 {
  21708. return ErrIntOverflowGenerated
  21709. }
  21710. if iNdEx >= l {
  21711. return io.ErrUnexpectedEOF
  21712. }
  21713. b := data[iNdEx]
  21714. iNdEx++
  21715. msglen |= (int(b) & 0x7F) << shift
  21716. if b < 0x80 {
  21717. break
  21718. }
  21719. }
  21720. if msglen < 0 {
  21721. return ErrInvalidLengthGenerated
  21722. }
  21723. postIndex := iNdEx + msglen
  21724. if postIndex > l {
  21725. return io.ErrUnexpectedEOF
  21726. }
  21727. m.Ingress = append(m.Ingress, LoadBalancerIngress{})
  21728. if err := m.Ingress[len(m.Ingress)-1].Unmarshal(data[iNdEx:postIndex]); err != nil {
  21729. return err
  21730. }
  21731. iNdEx = postIndex
  21732. default:
  21733. iNdEx = preIndex
  21734. skippy, err := skipGenerated(data[iNdEx:])
  21735. if err != nil {
  21736. return err
  21737. }
  21738. if skippy < 0 {
  21739. return ErrInvalidLengthGenerated
  21740. }
  21741. if (iNdEx + skippy) > l {
  21742. return io.ErrUnexpectedEOF
  21743. }
  21744. iNdEx += skippy
  21745. }
  21746. }
  21747. if iNdEx > l {
  21748. return io.ErrUnexpectedEOF
  21749. }
  21750. return nil
  21751. }
  21752. func (m *LocalObjectReference) Unmarshal(data []byte) error {
  21753. l := len(data)
  21754. iNdEx := 0
  21755. for iNdEx < l {
  21756. preIndex := iNdEx
  21757. var wire uint64
  21758. for shift := uint(0); ; shift += 7 {
  21759. if shift >= 64 {
  21760. return ErrIntOverflowGenerated
  21761. }
  21762. if iNdEx >= l {
  21763. return io.ErrUnexpectedEOF
  21764. }
  21765. b := data[iNdEx]
  21766. iNdEx++
  21767. wire |= (uint64(b) & 0x7F) << shift
  21768. if b < 0x80 {
  21769. break
  21770. }
  21771. }
  21772. fieldNum := int32(wire >> 3)
  21773. wireType := int(wire & 0x7)
  21774. if wireType == 4 {
  21775. return fmt.Errorf("proto: LocalObjectReference: wiretype end group for non-group")
  21776. }
  21777. if fieldNum <= 0 {
  21778. return fmt.Errorf("proto: LocalObjectReference: illegal tag %d (wire type %d)", fieldNum, wire)
  21779. }
  21780. switch fieldNum {
  21781. case 1:
  21782. if wireType != 2 {
  21783. return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
  21784. }
  21785. var stringLen uint64
  21786. for shift := uint(0); ; shift += 7 {
  21787. if shift >= 64 {
  21788. return ErrIntOverflowGenerated
  21789. }
  21790. if iNdEx >= l {
  21791. return io.ErrUnexpectedEOF
  21792. }
  21793. b := data[iNdEx]
  21794. iNdEx++
  21795. stringLen |= (uint64(b) & 0x7F) << shift
  21796. if b < 0x80 {
  21797. break
  21798. }
  21799. }
  21800. intStringLen := int(stringLen)
  21801. if intStringLen < 0 {
  21802. return ErrInvalidLengthGenerated
  21803. }
  21804. postIndex := iNdEx + intStringLen
  21805. if postIndex > l {
  21806. return io.ErrUnexpectedEOF
  21807. }
  21808. m.Name = string(data[iNdEx:postIndex])
  21809. iNdEx = postIndex
  21810. default:
  21811. iNdEx = preIndex
  21812. skippy, err := skipGenerated(data[iNdEx:])
  21813. if err != nil {
  21814. return err
  21815. }
  21816. if skippy < 0 {
  21817. return ErrInvalidLengthGenerated
  21818. }
  21819. if (iNdEx + skippy) > l {
  21820. return io.ErrUnexpectedEOF
  21821. }
  21822. iNdEx += skippy
  21823. }
  21824. }
  21825. if iNdEx > l {
  21826. return io.ErrUnexpectedEOF
  21827. }
  21828. return nil
  21829. }
  21830. func (m *NFSVolumeSource) Unmarshal(data []byte) error {
  21831. l := len(data)
  21832. iNdEx := 0
  21833. for iNdEx < l {
  21834. preIndex := iNdEx
  21835. var wire uint64
  21836. for shift := uint(0); ; shift += 7 {
  21837. if shift >= 64 {
  21838. return ErrIntOverflowGenerated
  21839. }
  21840. if iNdEx >= l {
  21841. return io.ErrUnexpectedEOF
  21842. }
  21843. b := data[iNdEx]
  21844. iNdEx++
  21845. wire |= (uint64(b) & 0x7F) << shift
  21846. if b < 0x80 {
  21847. break
  21848. }
  21849. }
  21850. fieldNum := int32(wire >> 3)
  21851. wireType := int(wire & 0x7)
  21852. if wireType == 4 {
  21853. return fmt.Errorf("proto: NFSVolumeSource: wiretype end group for non-group")
  21854. }
  21855. if fieldNum <= 0 {
  21856. return fmt.Errorf("proto: NFSVolumeSource: illegal tag %d (wire type %d)", fieldNum, wire)
  21857. }
  21858. switch fieldNum {
  21859. case 1:
  21860. if wireType != 2 {
  21861. return fmt.Errorf("proto: wrong wireType = %d for field Server", wireType)
  21862. }
  21863. var stringLen uint64
  21864. for shift := uint(0); ; shift += 7 {
  21865. if shift >= 64 {
  21866. return ErrIntOverflowGenerated
  21867. }
  21868. if iNdEx >= l {
  21869. return io.ErrUnexpectedEOF
  21870. }
  21871. b := data[iNdEx]
  21872. iNdEx++
  21873. stringLen |= (uint64(b) & 0x7F) << shift
  21874. if b < 0x80 {
  21875. break
  21876. }
  21877. }
  21878. intStringLen := int(stringLen)
  21879. if intStringLen < 0 {
  21880. return ErrInvalidLengthGenerated
  21881. }
  21882. postIndex := iNdEx + intStringLen
  21883. if postIndex > l {
  21884. return io.ErrUnexpectedEOF
  21885. }
  21886. m.Server = string(data[iNdEx:postIndex])
  21887. iNdEx = postIndex
  21888. case 2:
  21889. if wireType != 2 {
  21890. return fmt.Errorf("proto: wrong wireType = %d for field Path", wireType)
  21891. }
  21892. var stringLen uint64
  21893. for shift := uint(0); ; shift += 7 {
  21894. if shift >= 64 {
  21895. return ErrIntOverflowGenerated
  21896. }
  21897. if iNdEx >= l {
  21898. return io.ErrUnexpectedEOF
  21899. }
  21900. b := data[iNdEx]
  21901. iNdEx++
  21902. stringLen |= (uint64(b) & 0x7F) << shift
  21903. if b < 0x80 {
  21904. break
  21905. }
  21906. }
  21907. intStringLen := int(stringLen)
  21908. if intStringLen < 0 {
  21909. return ErrInvalidLengthGenerated
  21910. }
  21911. postIndex := iNdEx + intStringLen
  21912. if postIndex > l {
  21913. return io.ErrUnexpectedEOF
  21914. }
  21915. m.Path = string(data[iNdEx:postIndex])
  21916. iNdEx = postIndex
  21917. case 3:
  21918. if wireType != 0 {
  21919. return fmt.Errorf("proto: wrong wireType = %d for field ReadOnly", wireType)
  21920. }
  21921. var v int
  21922. for shift := uint(0); ; shift += 7 {
  21923. if shift >= 64 {
  21924. return ErrIntOverflowGenerated
  21925. }
  21926. if iNdEx >= l {
  21927. return io.ErrUnexpectedEOF
  21928. }
  21929. b := data[iNdEx]
  21930. iNdEx++
  21931. v |= (int(b) & 0x7F) << shift
  21932. if b < 0x80 {
  21933. break
  21934. }
  21935. }
  21936. m.ReadOnly = bool(v != 0)
  21937. default:
  21938. iNdEx = preIndex
  21939. skippy, err := skipGenerated(data[iNdEx:])
  21940. if err != nil {
  21941. return err
  21942. }
  21943. if skippy < 0 {
  21944. return ErrInvalidLengthGenerated
  21945. }
  21946. if (iNdEx + skippy) > l {
  21947. return io.ErrUnexpectedEOF
  21948. }
  21949. iNdEx += skippy
  21950. }
  21951. }
  21952. if iNdEx > l {
  21953. return io.ErrUnexpectedEOF
  21954. }
  21955. return nil
  21956. }
  21957. func (m *Namespace) Unmarshal(data []byte) error {
  21958. l := len(data)
  21959. iNdEx := 0
  21960. for iNdEx < l {
  21961. preIndex := iNdEx
  21962. var wire uint64
  21963. for shift := uint(0); ; shift += 7 {
  21964. if shift >= 64 {
  21965. return ErrIntOverflowGenerated
  21966. }
  21967. if iNdEx >= l {
  21968. return io.ErrUnexpectedEOF
  21969. }
  21970. b := data[iNdEx]
  21971. iNdEx++
  21972. wire |= (uint64(b) & 0x7F) << shift
  21973. if b < 0x80 {
  21974. break
  21975. }
  21976. }
  21977. fieldNum := int32(wire >> 3)
  21978. wireType := int(wire & 0x7)
  21979. if wireType == 4 {
  21980. return fmt.Errorf("proto: Namespace: wiretype end group for non-group")
  21981. }
  21982. if fieldNum <= 0 {
  21983. return fmt.Errorf("proto: Namespace: illegal tag %d (wire type %d)", fieldNum, wire)
  21984. }
  21985. switch fieldNum {
  21986. case 1:
  21987. if wireType != 2 {
  21988. return fmt.Errorf("proto: wrong wireType = %d for field ObjectMeta", wireType)
  21989. }
  21990. var msglen int
  21991. for shift := uint(0); ; shift += 7 {
  21992. if shift >= 64 {
  21993. return ErrIntOverflowGenerated
  21994. }
  21995. if iNdEx >= l {
  21996. return io.ErrUnexpectedEOF
  21997. }
  21998. b := data[iNdEx]
  21999. iNdEx++
  22000. msglen |= (int(b) & 0x7F) << shift
  22001. if b < 0x80 {
  22002. break
  22003. }
  22004. }
  22005. if msglen < 0 {
  22006. return ErrInvalidLengthGenerated
  22007. }
  22008. postIndex := iNdEx + msglen
  22009. if postIndex > l {
  22010. return io.ErrUnexpectedEOF
  22011. }
  22012. if err := m.ObjectMeta.Unmarshal(data[iNdEx:postIndex]); err != nil {
  22013. return err
  22014. }
  22015. iNdEx = postIndex
  22016. case 2:
  22017. if wireType != 2 {
  22018. return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType)
  22019. }
  22020. var msglen int
  22021. for shift := uint(0); ; shift += 7 {
  22022. if shift >= 64 {
  22023. return ErrIntOverflowGenerated
  22024. }
  22025. if iNdEx >= l {
  22026. return io.ErrUnexpectedEOF
  22027. }
  22028. b := data[iNdEx]
  22029. iNdEx++
  22030. msglen |= (int(b) & 0x7F) << shift
  22031. if b < 0x80 {
  22032. break
  22033. }
  22034. }
  22035. if msglen < 0 {
  22036. return ErrInvalidLengthGenerated
  22037. }
  22038. postIndex := iNdEx + msglen
  22039. if postIndex > l {
  22040. return io.ErrUnexpectedEOF
  22041. }
  22042. if err := m.Spec.Unmarshal(data[iNdEx:postIndex]); err != nil {
  22043. return err
  22044. }
  22045. iNdEx = postIndex
  22046. case 3:
  22047. if wireType != 2 {
  22048. return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
  22049. }
  22050. var msglen int
  22051. for shift := uint(0); ; shift += 7 {
  22052. if shift >= 64 {
  22053. return ErrIntOverflowGenerated
  22054. }
  22055. if iNdEx >= l {
  22056. return io.ErrUnexpectedEOF
  22057. }
  22058. b := data[iNdEx]
  22059. iNdEx++
  22060. msglen |= (int(b) & 0x7F) << shift
  22061. if b < 0x80 {
  22062. break
  22063. }
  22064. }
  22065. if msglen < 0 {
  22066. return ErrInvalidLengthGenerated
  22067. }
  22068. postIndex := iNdEx + msglen
  22069. if postIndex > l {
  22070. return io.ErrUnexpectedEOF
  22071. }
  22072. if err := m.Status.Unmarshal(data[iNdEx:postIndex]); err != nil {
  22073. return err
  22074. }
  22075. iNdEx = postIndex
  22076. default:
  22077. iNdEx = preIndex
  22078. skippy, err := skipGenerated(data[iNdEx:])
  22079. if err != nil {
  22080. return err
  22081. }
  22082. if skippy < 0 {
  22083. return ErrInvalidLengthGenerated
  22084. }
  22085. if (iNdEx + skippy) > l {
  22086. return io.ErrUnexpectedEOF
  22087. }
  22088. iNdEx += skippy
  22089. }
  22090. }
  22091. if iNdEx > l {
  22092. return io.ErrUnexpectedEOF
  22093. }
  22094. return nil
  22095. }
  22096. func (m *NamespaceList) Unmarshal(data []byte) error {
  22097. l := len(data)
  22098. iNdEx := 0
  22099. for iNdEx < l {
  22100. preIndex := iNdEx
  22101. var wire uint64
  22102. for shift := uint(0); ; shift += 7 {
  22103. if shift >= 64 {
  22104. return ErrIntOverflowGenerated
  22105. }
  22106. if iNdEx >= l {
  22107. return io.ErrUnexpectedEOF
  22108. }
  22109. b := data[iNdEx]
  22110. iNdEx++
  22111. wire |= (uint64(b) & 0x7F) << shift
  22112. if b < 0x80 {
  22113. break
  22114. }
  22115. }
  22116. fieldNum := int32(wire >> 3)
  22117. wireType := int(wire & 0x7)
  22118. if wireType == 4 {
  22119. return fmt.Errorf("proto: NamespaceList: wiretype end group for non-group")
  22120. }
  22121. if fieldNum <= 0 {
  22122. return fmt.Errorf("proto: NamespaceList: illegal tag %d (wire type %d)", fieldNum, wire)
  22123. }
  22124. switch fieldNum {
  22125. case 1:
  22126. if wireType != 2 {
  22127. return fmt.Errorf("proto: wrong wireType = %d for field ListMeta", wireType)
  22128. }
  22129. var msglen int
  22130. for shift := uint(0); ; shift += 7 {
  22131. if shift >= 64 {
  22132. return ErrIntOverflowGenerated
  22133. }
  22134. if iNdEx >= l {
  22135. return io.ErrUnexpectedEOF
  22136. }
  22137. b := data[iNdEx]
  22138. iNdEx++
  22139. msglen |= (int(b) & 0x7F) << shift
  22140. if b < 0x80 {
  22141. break
  22142. }
  22143. }
  22144. if msglen < 0 {
  22145. return ErrInvalidLengthGenerated
  22146. }
  22147. postIndex := iNdEx + msglen
  22148. if postIndex > l {
  22149. return io.ErrUnexpectedEOF
  22150. }
  22151. if err := m.ListMeta.Unmarshal(data[iNdEx:postIndex]); err != nil {
  22152. return err
  22153. }
  22154. iNdEx = postIndex
  22155. case 2:
  22156. if wireType != 2 {
  22157. return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType)
  22158. }
  22159. var msglen int
  22160. for shift := uint(0); ; shift += 7 {
  22161. if shift >= 64 {
  22162. return ErrIntOverflowGenerated
  22163. }
  22164. if iNdEx >= l {
  22165. return io.ErrUnexpectedEOF
  22166. }
  22167. b := data[iNdEx]
  22168. iNdEx++
  22169. msglen |= (int(b) & 0x7F) << shift
  22170. if b < 0x80 {
  22171. break
  22172. }
  22173. }
  22174. if msglen < 0 {
  22175. return ErrInvalidLengthGenerated
  22176. }
  22177. postIndex := iNdEx + msglen
  22178. if postIndex > l {
  22179. return io.ErrUnexpectedEOF
  22180. }
  22181. m.Items = append(m.Items, Namespace{})
  22182. if err := m.Items[len(m.Items)-1].Unmarshal(data[iNdEx:postIndex]); err != nil {
  22183. return err
  22184. }
  22185. iNdEx = postIndex
  22186. default:
  22187. iNdEx = preIndex
  22188. skippy, err := skipGenerated(data[iNdEx:])
  22189. if err != nil {
  22190. return err
  22191. }
  22192. if skippy < 0 {
  22193. return ErrInvalidLengthGenerated
  22194. }
  22195. if (iNdEx + skippy) > l {
  22196. return io.ErrUnexpectedEOF
  22197. }
  22198. iNdEx += skippy
  22199. }
  22200. }
  22201. if iNdEx > l {
  22202. return io.ErrUnexpectedEOF
  22203. }
  22204. return nil
  22205. }
  22206. func (m *NamespaceSpec) Unmarshal(data []byte) error {
  22207. l := len(data)
  22208. iNdEx := 0
  22209. for iNdEx < l {
  22210. preIndex := iNdEx
  22211. var wire uint64
  22212. for shift := uint(0); ; shift += 7 {
  22213. if shift >= 64 {
  22214. return ErrIntOverflowGenerated
  22215. }
  22216. if iNdEx >= l {
  22217. return io.ErrUnexpectedEOF
  22218. }
  22219. b := data[iNdEx]
  22220. iNdEx++
  22221. wire |= (uint64(b) & 0x7F) << shift
  22222. if b < 0x80 {
  22223. break
  22224. }
  22225. }
  22226. fieldNum := int32(wire >> 3)
  22227. wireType := int(wire & 0x7)
  22228. if wireType == 4 {
  22229. return fmt.Errorf("proto: NamespaceSpec: wiretype end group for non-group")
  22230. }
  22231. if fieldNum <= 0 {
  22232. return fmt.Errorf("proto: NamespaceSpec: illegal tag %d (wire type %d)", fieldNum, wire)
  22233. }
  22234. switch fieldNum {
  22235. case 1:
  22236. if wireType != 2 {
  22237. return fmt.Errorf("proto: wrong wireType = %d for field Finalizers", wireType)
  22238. }
  22239. var stringLen uint64
  22240. for shift := uint(0); ; shift += 7 {
  22241. if shift >= 64 {
  22242. return ErrIntOverflowGenerated
  22243. }
  22244. if iNdEx >= l {
  22245. return io.ErrUnexpectedEOF
  22246. }
  22247. b := data[iNdEx]
  22248. iNdEx++
  22249. stringLen |= (uint64(b) & 0x7F) << shift
  22250. if b < 0x80 {
  22251. break
  22252. }
  22253. }
  22254. intStringLen := int(stringLen)
  22255. if intStringLen < 0 {
  22256. return ErrInvalidLengthGenerated
  22257. }
  22258. postIndex := iNdEx + intStringLen
  22259. if postIndex > l {
  22260. return io.ErrUnexpectedEOF
  22261. }
  22262. m.Finalizers = append(m.Finalizers, FinalizerName(data[iNdEx:postIndex]))
  22263. iNdEx = postIndex
  22264. default:
  22265. iNdEx = preIndex
  22266. skippy, err := skipGenerated(data[iNdEx:])
  22267. if err != nil {
  22268. return err
  22269. }
  22270. if skippy < 0 {
  22271. return ErrInvalidLengthGenerated
  22272. }
  22273. if (iNdEx + skippy) > l {
  22274. return io.ErrUnexpectedEOF
  22275. }
  22276. iNdEx += skippy
  22277. }
  22278. }
  22279. if iNdEx > l {
  22280. return io.ErrUnexpectedEOF
  22281. }
  22282. return nil
  22283. }
  22284. func (m *NamespaceStatus) Unmarshal(data []byte) error {
  22285. l := len(data)
  22286. iNdEx := 0
  22287. for iNdEx < l {
  22288. preIndex := iNdEx
  22289. var wire uint64
  22290. for shift := uint(0); ; shift += 7 {
  22291. if shift >= 64 {
  22292. return ErrIntOverflowGenerated
  22293. }
  22294. if iNdEx >= l {
  22295. return io.ErrUnexpectedEOF
  22296. }
  22297. b := data[iNdEx]
  22298. iNdEx++
  22299. wire |= (uint64(b) & 0x7F) << shift
  22300. if b < 0x80 {
  22301. break
  22302. }
  22303. }
  22304. fieldNum := int32(wire >> 3)
  22305. wireType := int(wire & 0x7)
  22306. if wireType == 4 {
  22307. return fmt.Errorf("proto: NamespaceStatus: wiretype end group for non-group")
  22308. }
  22309. if fieldNum <= 0 {
  22310. return fmt.Errorf("proto: NamespaceStatus: illegal tag %d (wire type %d)", fieldNum, wire)
  22311. }
  22312. switch fieldNum {
  22313. case 1:
  22314. if wireType != 2 {
  22315. return fmt.Errorf("proto: wrong wireType = %d for field Phase", wireType)
  22316. }
  22317. var stringLen uint64
  22318. for shift := uint(0); ; shift += 7 {
  22319. if shift >= 64 {
  22320. return ErrIntOverflowGenerated
  22321. }
  22322. if iNdEx >= l {
  22323. return io.ErrUnexpectedEOF
  22324. }
  22325. b := data[iNdEx]
  22326. iNdEx++
  22327. stringLen |= (uint64(b) & 0x7F) << shift
  22328. if b < 0x80 {
  22329. break
  22330. }
  22331. }
  22332. intStringLen := int(stringLen)
  22333. if intStringLen < 0 {
  22334. return ErrInvalidLengthGenerated
  22335. }
  22336. postIndex := iNdEx + intStringLen
  22337. if postIndex > l {
  22338. return io.ErrUnexpectedEOF
  22339. }
  22340. m.Phase = NamespacePhase(data[iNdEx:postIndex])
  22341. iNdEx = postIndex
  22342. default:
  22343. iNdEx = preIndex
  22344. skippy, err := skipGenerated(data[iNdEx:])
  22345. if err != nil {
  22346. return err
  22347. }
  22348. if skippy < 0 {
  22349. return ErrInvalidLengthGenerated
  22350. }
  22351. if (iNdEx + skippy) > l {
  22352. return io.ErrUnexpectedEOF
  22353. }
  22354. iNdEx += skippy
  22355. }
  22356. }
  22357. if iNdEx > l {
  22358. return io.ErrUnexpectedEOF
  22359. }
  22360. return nil
  22361. }
  22362. func (m *Node) Unmarshal(data []byte) error {
  22363. l := len(data)
  22364. iNdEx := 0
  22365. for iNdEx < l {
  22366. preIndex := iNdEx
  22367. var wire uint64
  22368. for shift := uint(0); ; shift += 7 {
  22369. if shift >= 64 {
  22370. return ErrIntOverflowGenerated
  22371. }
  22372. if iNdEx >= l {
  22373. return io.ErrUnexpectedEOF
  22374. }
  22375. b := data[iNdEx]
  22376. iNdEx++
  22377. wire |= (uint64(b) & 0x7F) << shift
  22378. if b < 0x80 {
  22379. break
  22380. }
  22381. }
  22382. fieldNum := int32(wire >> 3)
  22383. wireType := int(wire & 0x7)
  22384. if wireType == 4 {
  22385. return fmt.Errorf("proto: Node: wiretype end group for non-group")
  22386. }
  22387. if fieldNum <= 0 {
  22388. return fmt.Errorf("proto: Node: illegal tag %d (wire type %d)", fieldNum, wire)
  22389. }
  22390. switch fieldNum {
  22391. case 1:
  22392. if wireType != 2 {
  22393. return fmt.Errorf("proto: wrong wireType = %d for field ObjectMeta", wireType)
  22394. }
  22395. var msglen int
  22396. for shift := uint(0); ; shift += 7 {
  22397. if shift >= 64 {
  22398. return ErrIntOverflowGenerated
  22399. }
  22400. if iNdEx >= l {
  22401. return io.ErrUnexpectedEOF
  22402. }
  22403. b := data[iNdEx]
  22404. iNdEx++
  22405. msglen |= (int(b) & 0x7F) << shift
  22406. if b < 0x80 {
  22407. break
  22408. }
  22409. }
  22410. if msglen < 0 {
  22411. return ErrInvalidLengthGenerated
  22412. }
  22413. postIndex := iNdEx + msglen
  22414. if postIndex > l {
  22415. return io.ErrUnexpectedEOF
  22416. }
  22417. if err := m.ObjectMeta.Unmarshal(data[iNdEx:postIndex]); err != nil {
  22418. return err
  22419. }
  22420. iNdEx = postIndex
  22421. case 2:
  22422. if wireType != 2 {
  22423. return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType)
  22424. }
  22425. var msglen int
  22426. for shift := uint(0); ; shift += 7 {
  22427. if shift >= 64 {
  22428. return ErrIntOverflowGenerated
  22429. }
  22430. if iNdEx >= l {
  22431. return io.ErrUnexpectedEOF
  22432. }
  22433. b := data[iNdEx]
  22434. iNdEx++
  22435. msglen |= (int(b) & 0x7F) << shift
  22436. if b < 0x80 {
  22437. break
  22438. }
  22439. }
  22440. if msglen < 0 {
  22441. return ErrInvalidLengthGenerated
  22442. }
  22443. postIndex := iNdEx + msglen
  22444. if postIndex > l {
  22445. return io.ErrUnexpectedEOF
  22446. }
  22447. if err := m.Spec.Unmarshal(data[iNdEx:postIndex]); err != nil {
  22448. return err
  22449. }
  22450. iNdEx = postIndex
  22451. case 3:
  22452. if wireType != 2 {
  22453. return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
  22454. }
  22455. var msglen int
  22456. for shift := uint(0); ; shift += 7 {
  22457. if shift >= 64 {
  22458. return ErrIntOverflowGenerated
  22459. }
  22460. if iNdEx >= l {
  22461. return io.ErrUnexpectedEOF
  22462. }
  22463. b := data[iNdEx]
  22464. iNdEx++
  22465. msglen |= (int(b) & 0x7F) << shift
  22466. if b < 0x80 {
  22467. break
  22468. }
  22469. }
  22470. if msglen < 0 {
  22471. return ErrInvalidLengthGenerated
  22472. }
  22473. postIndex := iNdEx + msglen
  22474. if postIndex > l {
  22475. return io.ErrUnexpectedEOF
  22476. }
  22477. if err := m.Status.Unmarshal(data[iNdEx:postIndex]); err != nil {
  22478. return err
  22479. }
  22480. iNdEx = postIndex
  22481. default:
  22482. iNdEx = preIndex
  22483. skippy, err := skipGenerated(data[iNdEx:])
  22484. if err != nil {
  22485. return err
  22486. }
  22487. if skippy < 0 {
  22488. return ErrInvalidLengthGenerated
  22489. }
  22490. if (iNdEx + skippy) > l {
  22491. return io.ErrUnexpectedEOF
  22492. }
  22493. iNdEx += skippy
  22494. }
  22495. }
  22496. if iNdEx > l {
  22497. return io.ErrUnexpectedEOF
  22498. }
  22499. return nil
  22500. }
  22501. func (m *NodeAddress) Unmarshal(data []byte) error {
  22502. l := len(data)
  22503. iNdEx := 0
  22504. for iNdEx < l {
  22505. preIndex := iNdEx
  22506. var wire uint64
  22507. for shift := uint(0); ; shift += 7 {
  22508. if shift >= 64 {
  22509. return ErrIntOverflowGenerated
  22510. }
  22511. if iNdEx >= l {
  22512. return io.ErrUnexpectedEOF
  22513. }
  22514. b := data[iNdEx]
  22515. iNdEx++
  22516. wire |= (uint64(b) & 0x7F) << shift
  22517. if b < 0x80 {
  22518. break
  22519. }
  22520. }
  22521. fieldNum := int32(wire >> 3)
  22522. wireType := int(wire & 0x7)
  22523. if wireType == 4 {
  22524. return fmt.Errorf("proto: NodeAddress: wiretype end group for non-group")
  22525. }
  22526. if fieldNum <= 0 {
  22527. return fmt.Errorf("proto: NodeAddress: illegal tag %d (wire type %d)", fieldNum, wire)
  22528. }
  22529. switch fieldNum {
  22530. case 1:
  22531. if wireType != 2 {
  22532. return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType)
  22533. }
  22534. var stringLen uint64
  22535. for shift := uint(0); ; shift += 7 {
  22536. if shift >= 64 {
  22537. return ErrIntOverflowGenerated
  22538. }
  22539. if iNdEx >= l {
  22540. return io.ErrUnexpectedEOF
  22541. }
  22542. b := data[iNdEx]
  22543. iNdEx++
  22544. stringLen |= (uint64(b) & 0x7F) << shift
  22545. if b < 0x80 {
  22546. break
  22547. }
  22548. }
  22549. intStringLen := int(stringLen)
  22550. if intStringLen < 0 {
  22551. return ErrInvalidLengthGenerated
  22552. }
  22553. postIndex := iNdEx + intStringLen
  22554. if postIndex > l {
  22555. return io.ErrUnexpectedEOF
  22556. }
  22557. m.Type = NodeAddressType(data[iNdEx:postIndex])
  22558. iNdEx = postIndex
  22559. case 2:
  22560. if wireType != 2 {
  22561. return fmt.Errorf("proto: wrong wireType = %d for field Address", wireType)
  22562. }
  22563. var stringLen uint64
  22564. for shift := uint(0); ; shift += 7 {
  22565. if shift >= 64 {
  22566. return ErrIntOverflowGenerated
  22567. }
  22568. if iNdEx >= l {
  22569. return io.ErrUnexpectedEOF
  22570. }
  22571. b := data[iNdEx]
  22572. iNdEx++
  22573. stringLen |= (uint64(b) & 0x7F) << shift
  22574. if b < 0x80 {
  22575. break
  22576. }
  22577. }
  22578. intStringLen := int(stringLen)
  22579. if intStringLen < 0 {
  22580. return ErrInvalidLengthGenerated
  22581. }
  22582. postIndex := iNdEx + intStringLen
  22583. if postIndex > l {
  22584. return io.ErrUnexpectedEOF
  22585. }
  22586. m.Address = string(data[iNdEx:postIndex])
  22587. iNdEx = postIndex
  22588. default:
  22589. iNdEx = preIndex
  22590. skippy, err := skipGenerated(data[iNdEx:])
  22591. if err != nil {
  22592. return err
  22593. }
  22594. if skippy < 0 {
  22595. return ErrInvalidLengthGenerated
  22596. }
  22597. if (iNdEx + skippy) > l {
  22598. return io.ErrUnexpectedEOF
  22599. }
  22600. iNdEx += skippy
  22601. }
  22602. }
  22603. if iNdEx > l {
  22604. return io.ErrUnexpectedEOF
  22605. }
  22606. return nil
  22607. }
  22608. func (m *NodeAffinity) Unmarshal(data []byte) error {
  22609. l := len(data)
  22610. iNdEx := 0
  22611. for iNdEx < l {
  22612. preIndex := iNdEx
  22613. var wire uint64
  22614. for shift := uint(0); ; shift += 7 {
  22615. if shift >= 64 {
  22616. return ErrIntOverflowGenerated
  22617. }
  22618. if iNdEx >= l {
  22619. return io.ErrUnexpectedEOF
  22620. }
  22621. b := data[iNdEx]
  22622. iNdEx++
  22623. wire |= (uint64(b) & 0x7F) << shift
  22624. if b < 0x80 {
  22625. break
  22626. }
  22627. }
  22628. fieldNum := int32(wire >> 3)
  22629. wireType := int(wire & 0x7)
  22630. if wireType == 4 {
  22631. return fmt.Errorf("proto: NodeAffinity: wiretype end group for non-group")
  22632. }
  22633. if fieldNum <= 0 {
  22634. return fmt.Errorf("proto: NodeAffinity: illegal tag %d (wire type %d)", fieldNum, wire)
  22635. }
  22636. switch fieldNum {
  22637. case 1:
  22638. if wireType != 2 {
  22639. return fmt.Errorf("proto: wrong wireType = %d for field RequiredDuringSchedulingIgnoredDuringExecution", wireType)
  22640. }
  22641. var msglen int
  22642. for shift := uint(0); ; shift += 7 {
  22643. if shift >= 64 {
  22644. return ErrIntOverflowGenerated
  22645. }
  22646. if iNdEx >= l {
  22647. return io.ErrUnexpectedEOF
  22648. }
  22649. b := data[iNdEx]
  22650. iNdEx++
  22651. msglen |= (int(b) & 0x7F) << shift
  22652. if b < 0x80 {
  22653. break
  22654. }
  22655. }
  22656. if msglen < 0 {
  22657. return ErrInvalidLengthGenerated
  22658. }
  22659. postIndex := iNdEx + msglen
  22660. if postIndex > l {
  22661. return io.ErrUnexpectedEOF
  22662. }
  22663. if m.RequiredDuringSchedulingIgnoredDuringExecution == nil {
  22664. m.RequiredDuringSchedulingIgnoredDuringExecution = &NodeSelector{}
  22665. }
  22666. if err := m.RequiredDuringSchedulingIgnoredDuringExecution.Unmarshal(data[iNdEx:postIndex]); err != nil {
  22667. return err
  22668. }
  22669. iNdEx = postIndex
  22670. case 2:
  22671. if wireType != 2 {
  22672. return fmt.Errorf("proto: wrong wireType = %d for field PreferredDuringSchedulingIgnoredDuringExecution", wireType)
  22673. }
  22674. var msglen int
  22675. for shift := uint(0); ; shift += 7 {
  22676. if shift >= 64 {
  22677. return ErrIntOverflowGenerated
  22678. }
  22679. if iNdEx >= l {
  22680. return io.ErrUnexpectedEOF
  22681. }
  22682. b := data[iNdEx]
  22683. iNdEx++
  22684. msglen |= (int(b) & 0x7F) << shift
  22685. if b < 0x80 {
  22686. break
  22687. }
  22688. }
  22689. if msglen < 0 {
  22690. return ErrInvalidLengthGenerated
  22691. }
  22692. postIndex := iNdEx + msglen
  22693. if postIndex > l {
  22694. return io.ErrUnexpectedEOF
  22695. }
  22696. m.PreferredDuringSchedulingIgnoredDuringExecution = append(m.PreferredDuringSchedulingIgnoredDuringExecution, PreferredSchedulingTerm{})
  22697. if err := m.PreferredDuringSchedulingIgnoredDuringExecution[len(m.PreferredDuringSchedulingIgnoredDuringExecution)-1].Unmarshal(data[iNdEx:postIndex]); err != nil {
  22698. return err
  22699. }
  22700. iNdEx = postIndex
  22701. default:
  22702. iNdEx = preIndex
  22703. skippy, err := skipGenerated(data[iNdEx:])
  22704. if err != nil {
  22705. return err
  22706. }
  22707. if skippy < 0 {
  22708. return ErrInvalidLengthGenerated
  22709. }
  22710. if (iNdEx + skippy) > l {
  22711. return io.ErrUnexpectedEOF
  22712. }
  22713. iNdEx += skippy
  22714. }
  22715. }
  22716. if iNdEx > l {
  22717. return io.ErrUnexpectedEOF
  22718. }
  22719. return nil
  22720. }
  22721. func (m *NodeCondition) Unmarshal(data []byte) error {
  22722. l := len(data)
  22723. iNdEx := 0
  22724. for iNdEx < l {
  22725. preIndex := iNdEx
  22726. var wire uint64
  22727. for shift := uint(0); ; shift += 7 {
  22728. if shift >= 64 {
  22729. return ErrIntOverflowGenerated
  22730. }
  22731. if iNdEx >= l {
  22732. return io.ErrUnexpectedEOF
  22733. }
  22734. b := data[iNdEx]
  22735. iNdEx++
  22736. wire |= (uint64(b) & 0x7F) << shift
  22737. if b < 0x80 {
  22738. break
  22739. }
  22740. }
  22741. fieldNum := int32(wire >> 3)
  22742. wireType := int(wire & 0x7)
  22743. if wireType == 4 {
  22744. return fmt.Errorf("proto: NodeCondition: wiretype end group for non-group")
  22745. }
  22746. if fieldNum <= 0 {
  22747. return fmt.Errorf("proto: NodeCondition: illegal tag %d (wire type %d)", fieldNum, wire)
  22748. }
  22749. switch fieldNum {
  22750. case 1:
  22751. if wireType != 2 {
  22752. return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType)
  22753. }
  22754. var stringLen uint64
  22755. for shift := uint(0); ; shift += 7 {
  22756. if shift >= 64 {
  22757. return ErrIntOverflowGenerated
  22758. }
  22759. if iNdEx >= l {
  22760. return io.ErrUnexpectedEOF
  22761. }
  22762. b := data[iNdEx]
  22763. iNdEx++
  22764. stringLen |= (uint64(b) & 0x7F) << shift
  22765. if b < 0x80 {
  22766. break
  22767. }
  22768. }
  22769. intStringLen := int(stringLen)
  22770. if intStringLen < 0 {
  22771. return ErrInvalidLengthGenerated
  22772. }
  22773. postIndex := iNdEx + intStringLen
  22774. if postIndex > l {
  22775. return io.ErrUnexpectedEOF
  22776. }
  22777. m.Type = NodeConditionType(data[iNdEx:postIndex])
  22778. iNdEx = postIndex
  22779. case 2:
  22780. if wireType != 2 {
  22781. return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
  22782. }
  22783. var stringLen uint64
  22784. for shift := uint(0); ; shift += 7 {
  22785. if shift >= 64 {
  22786. return ErrIntOverflowGenerated
  22787. }
  22788. if iNdEx >= l {
  22789. return io.ErrUnexpectedEOF
  22790. }
  22791. b := data[iNdEx]
  22792. iNdEx++
  22793. stringLen |= (uint64(b) & 0x7F) << shift
  22794. if b < 0x80 {
  22795. break
  22796. }
  22797. }
  22798. intStringLen := int(stringLen)
  22799. if intStringLen < 0 {
  22800. return ErrInvalidLengthGenerated
  22801. }
  22802. postIndex := iNdEx + intStringLen
  22803. if postIndex > l {
  22804. return io.ErrUnexpectedEOF
  22805. }
  22806. m.Status = ConditionStatus(data[iNdEx:postIndex])
  22807. iNdEx = postIndex
  22808. case 3:
  22809. if wireType != 2 {
  22810. return fmt.Errorf("proto: wrong wireType = %d for field LastHeartbeatTime", wireType)
  22811. }
  22812. var msglen int
  22813. for shift := uint(0); ; shift += 7 {
  22814. if shift >= 64 {
  22815. return ErrIntOverflowGenerated
  22816. }
  22817. if iNdEx >= l {
  22818. return io.ErrUnexpectedEOF
  22819. }
  22820. b := data[iNdEx]
  22821. iNdEx++
  22822. msglen |= (int(b) & 0x7F) << shift
  22823. if b < 0x80 {
  22824. break
  22825. }
  22826. }
  22827. if msglen < 0 {
  22828. return ErrInvalidLengthGenerated
  22829. }
  22830. postIndex := iNdEx + msglen
  22831. if postIndex > l {
  22832. return io.ErrUnexpectedEOF
  22833. }
  22834. if err := m.LastHeartbeatTime.Unmarshal(data[iNdEx:postIndex]); err != nil {
  22835. return err
  22836. }
  22837. iNdEx = postIndex
  22838. case 4:
  22839. if wireType != 2 {
  22840. return fmt.Errorf("proto: wrong wireType = %d for field LastTransitionTime", wireType)
  22841. }
  22842. var msglen int
  22843. for shift := uint(0); ; shift += 7 {
  22844. if shift >= 64 {
  22845. return ErrIntOverflowGenerated
  22846. }
  22847. if iNdEx >= l {
  22848. return io.ErrUnexpectedEOF
  22849. }
  22850. b := data[iNdEx]
  22851. iNdEx++
  22852. msglen |= (int(b) & 0x7F) << shift
  22853. if b < 0x80 {
  22854. break
  22855. }
  22856. }
  22857. if msglen < 0 {
  22858. return ErrInvalidLengthGenerated
  22859. }
  22860. postIndex := iNdEx + msglen
  22861. if postIndex > l {
  22862. return io.ErrUnexpectedEOF
  22863. }
  22864. if err := m.LastTransitionTime.Unmarshal(data[iNdEx:postIndex]); err != nil {
  22865. return err
  22866. }
  22867. iNdEx = postIndex
  22868. case 5:
  22869. if wireType != 2 {
  22870. return fmt.Errorf("proto: wrong wireType = %d for field Reason", wireType)
  22871. }
  22872. var stringLen uint64
  22873. for shift := uint(0); ; shift += 7 {
  22874. if shift >= 64 {
  22875. return ErrIntOverflowGenerated
  22876. }
  22877. if iNdEx >= l {
  22878. return io.ErrUnexpectedEOF
  22879. }
  22880. b := data[iNdEx]
  22881. iNdEx++
  22882. stringLen |= (uint64(b) & 0x7F) << shift
  22883. if b < 0x80 {
  22884. break
  22885. }
  22886. }
  22887. intStringLen := int(stringLen)
  22888. if intStringLen < 0 {
  22889. return ErrInvalidLengthGenerated
  22890. }
  22891. postIndex := iNdEx + intStringLen
  22892. if postIndex > l {
  22893. return io.ErrUnexpectedEOF
  22894. }
  22895. m.Reason = string(data[iNdEx:postIndex])
  22896. iNdEx = postIndex
  22897. case 6:
  22898. if wireType != 2 {
  22899. return fmt.Errorf("proto: wrong wireType = %d for field Message", wireType)
  22900. }
  22901. var stringLen uint64
  22902. for shift := uint(0); ; shift += 7 {
  22903. if shift >= 64 {
  22904. return ErrIntOverflowGenerated
  22905. }
  22906. if iNdEx >= l {
  22907. return io.ErrUnexpectedEOF
  22908. }
  22909. b := data[iNdEx]
  22910. iNdEx++
  22911. stringLen |= (uint64(b) & 0x7F) << shift
  22912. if b < 0x80 {
  22913. break
  22914. }
  22915. }
  22916. intStringLen := int(stringLen)
  22917. if intStringLen < 0 {
  22918. return ErrInvalidLengthGenerated
  22919. }
  22920. postIndex := iNdEx + intStringLen
  22921. if postIndex > l {
  22922. return io.ErrUnexpectedEOF
  22923. }
  22924. m.Message = string(data[iNdEx:postIndex])
  22925. iNdEx = postIndex
  22926. default:
  22927. iNdEx = preIndex
  22928. skippy, err := skipGenerated(data[iNdEx:])
  22929. if err != nil {
  22930. return err
  22931. }
  22932. if skippy < 0 {
  22933. return ErrInvalidLengthGenerated
  22934. }
  22935. if (iNdEx + skippy) > l {
  22936. return io.ErrUnexpectedEOF
  22937. }
  22938. iNdEx += skippy
  22939. }
  22940. }
  22941. if iNdEx > l {
  22942. return io.ErrUnexpectedEOF
  22943. }
  22944. return nil
  22945. }
  22946. func (m *NodeDaemonEndpoints) Unmarshal(data []byte) error {
  22947. l := len(data)
  22948. iNdEx := 0
  22949. for iNdEx < l {
  22950. preIndex := iNdEx
  22951. var wire uint64
  22952. for shift := uint(0); ; shift += 7 {
  22953. if shift >= 64 {
  22954. return ErrIntOverflowGenerated
  22955. }
  22956. if iNdEx >= l {
  22957. return io.ErrUnexpectedEOF
  22958. }
  22959. b := data[iNdEx]
  22960. iNdEx++
  22961. wire |= (uint64(b) & 0x7F) << shift
  22962. if b < 0x80 {
  22963. break
  22964. }
  22965. }
  22966. fieldNum := int32(wire >> 3)
  22967. wireType := int(wire & 0x7)
  22968. if wireType == 4 {
  22969. return fmt.Errorf("proto: NodeDaemonEndpoints: wiretype end group for non-group")
  22970. }
  22971. if fieldNum <= 0 {
  22972. return fmt.Errorf("proto: NodeDaemonEndpoints: illegal tag %d (wire type %d)", fieldNum, wire)
  22973. }
  22974. switch fieldNum {
  22975. case 1:
  22976. if wireType != 2 {
  22977. return fmt.Errorf("proto: wrong wireType = %d for field KubeletEndpoint", wireType)
  22978. }
  22979. var msglen int
  22980. for shift := uint(0); ; shift += 7 {
  22981. if shift >= 64 {
  22982. return ErrIntOverflowGenerated
  22983. }
  22984. if iNdEx >= l {
  22985. return io.ErrUnexpectedEOF
  22986. }
  22987. b := data[iNdEx]
  22988. iNdEx++
  22989. msglen |= (int(b) & 0x7F) << shift
  22990. if b < 0x80 {
  22991. break
  22992. }
  22993. }
  22994. if msglen < 0 {
  22995. return ErrInvalidLengthGenerated
  22996. }
  22997. postIndex := iNdEx + msglen
  22998. if postIndex > l {
  22999. return io.ErrUnexpectedEOF
  23000. }
  23001. if err := m.KubeletEndpoint.Unmarshal(data[iNdEx:postIndex]); err != nil {
  23002. return err
  23003. }
  23004. iNdEx = postIndex
  23005. default:
  23006. iNdEx = preIndex
  23007. skippy, err := skipGenerated(data[iNdEx:])
  23008. if err != nil {
  23009. return err
  23010. }
  23011. if skippy < 0 {
  23012. return ErrInvalidLengthGenerated
  23013. }
  23014. if (iNdEx + skippy) > l {
  23015. return io.ErrUnexpectedEOF
  23016. }
  23017. iNdEx += skippy
  23018. }
  23019. }
  23020. if iNdEx > l {
  23021. return io.ErrUnexpectedEOF
  23022. }
  23023. return nil
  23024. }
  23025. func (m *NodeList) Unmarshal(data []byte) error {
  23026. l := len(data)
  23027. iNdEx := 0
  23028. for iNdEx < l {
  23029. preIndex := iNdEx
  23030. var wire uint64
  23031. for shift := uint(0); ; shift += 7 {
  23032. if shift >= 64 {
  23033. return ErrIntOverflowGenerated
  23034. }
  23035. if iNdEx >= l {
  23036. return io.ErrUnexpectedEOF
  23037. }
  23038. b := data[iNdEx]
  23039. iNdEx++
  23040. wire |= (uint64(b) & 0x7F) << shift
  23041. if b < 0x80 {
  23042. break
  23043. }
  23044. }
  23045. fieldNum := int32(wire >> 3)
  23046. wireType := int(wire & 0x7)
  23047. if wireType == 4 {
  23048. return fmt.Errorf("proto: NodeList: wiretype end group for non-group")
  23049. }
  23050. if fieldNum <= 0 {
  23051. return fmt.Errorf("proto: NodeList: illegal tag %d (wire type %d)", fieldNum, wire)
  23052. }
  23053. switch fieldNum {
  23054. case 1:
  23055. if wireType != 2 {
  23056. return fmt.Errorf("proto: wrong wireType = %d for field ListMeta", wireType)
  23057. }
  23058. var msglen int
  23059. for shift := uint(0); ; shift += 7 {
  23060. if shift >= 64 {
  23061. return ErrIntOverflowGenerated
  23062. }
  23063. if iNdEx >= l {
  23064. return io.ErrUnexpectedEOF
  23065. }
  23066. b := data[iNdEx]
  23067. iNdEx++
  23068. msglen |= (int(b) & 0x7F) << shift
  23069. if b < 0x80 {
  23070. break
  23071. }
  23072. }
  23073. if msglen < 0 {
  23074. return ErrInvalidLengthGenerated
  23075. }
  23076. postIndex := iNdEx + msglen
  23077. if postIndex > l {
  23078. return io.ErrUnexpectedEOF
  23079. }
  23080. if err := m.ListMeta.Unmarshal(data[iNdEx:postIndex]); err != nil {
  23081. return err
  23082. }
  23083. iNdEx = postIndex
  23084. case 2:
  23085. if wireType != 2 {
  23086. return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType)
  23087. }
  23088. var msglen int
  23089. for shift := uint(0); ; shift += 7 {
  23090. if shift >= 64 {
  23091. return ErrIntOverflowGenerated
  23092. }
  23093. if iNdEx >= l {
  23094. return io.ErrUnexpectedEOF
  23095. }
  23096. b := data[iNdEx]
  23097. iNdEx++
  23098. msglen |= (int(b) & 0x7F) << shift
  23099. if b < 0x80 {
  23100. break
  23101. }
  23102. }
  23103. if msglen < 0 {
  23104. return ErrInvalidLengthGenerated
  23105. }
  23106. postIndex := iNdEx + msglen
  23107. if postIndex > l {
  23108. return io.ErrUnexpectedEOF
  23109. }
  23110. m.Items = append(m.Items, Node{})
  23111. if err := m.Items[len(m.Items)-1].Unmarshal(data[iNdEx:postIndex]); err != nil {
  23112. return err
  23113. }
  23114. iNdEx = postIndex
  23115. default:
  23116. iNdEx = preIndex
  23117. skippy, err := skipGenerated(data[iNdEx:])
  23118. if err != nil {
  23119. return err
  23120. }
  23121. if skippy < 0 {
  23122. return ErrInvalidLengthGenerated
  23123. }
  23124. if (iNdEx + skippy) > l {
  23125. return io.ErrUnexpectedEOF
  23126. }
  23127. iNdEx += skippy
  23128. }
  23129. }
  23130. if iNdEx > l {
  23131. return io.ErrUnexpectedEOF
  23132. }
  23133. return nil
  23134. }
  23135. func (m *NodeProxyOptions) Unmarshal(data []byte) error {
  23136. l := len(data)
  23137. iNdEx := 0
  23138. for iNdEx < l {
  23139. preIndex := iNdEx
  23140. var wire uint64
  23141. for shift := uint(0); ; shift += 7 {
  23142. if shift >= 64 {
  23143. return ErrIntOverflowGenerated
  23144. }
  23145. if iNdEx >= l {
  23146. return io.ErrUnexpectedEOF
  23147. }
  23148. b := data[iNdEx]
  23149. iNdEx++
  23150. wire |= (uint64(b) & 0x7F) << shift
  23151. if b < 0x80 {
  23152. break
  23153. }
  23154. }
  23155. fieldNum := int32(wire >> 3)
  23156. wireType := int(wire & 0x7)
  23157. if wireType == 4 {
  23158. return fmt.Errorf("proto: NodeProxyOptions: wiretype end group for non-group")
  23159. }
  23160. if fieldNum <= 0 {
  23161. return fmt.Errorf("proto: NodeProxyOptions: illegal tag %d (wire type %d)", fieldNum, wire)
  23162. }
  23163. switch fieldNum {
  23164. case 1:
  23165. if wireType != 2 {
  23166. return fmt.Errorf("proto: wrong wireType = %d for field Path", wireType)
  23167. }
  23168. var stringLen uint64
  23169. for shift := uint(0); ; shift += 7 {
  23170. if shift >= 64 {
  23171. return ErrIntOverflowGenerated
  23172. }
  23173. if iNdEx >= l {
  23174. return io.ErrUnexpectedEOF
  23175. }
  23176. b := data[iNdEx]
  23177. iNdEx++
  23178. stringLen |= (uint64(b) & 0x7F) << shift
  23179. if b < 0x80 {
  23180. break
  23181. }
  23182. }
  23183. intStringLen := int(stringLen)
  23184. if intStringLen < 0 {
  23185. return ErrInvalidLengthGenerated
  23186. }
  23187. postIndex := iNdEx + intStringLen
  23188. if postIndex > l {
  23189. return io.ErrUnexpectedEOF
  23190. }
  23191. m.Path = string(data[iNdEx:postIndex])
  23192. iNdEx = postIndex
  23193. default:
  23194. iNdEx = preIndex
  23195. skippy, err := skipGenerated(data[iNdEx:])
  23196. if err != nil {
  23197. return err
  23198. }
  23199. if skippy < 0 {
  23200. return ErrInvalidLengthGenerated
  23201. }
  23202. if (iNdEx + skippy) > l {
  23203. return io.ErrUnexpectedEOF
  23204. }
  23205. iNdEx += skippy
  23206. }
  23207. }
  23208. if iNdEx > l {
  23209. return io.ErrUnexpectedEOF
  23210. }
  23211. return nil
  23212. }
  23213. func (m *NodeSelector) Unmarshal(data []byte) error {
  23214. l := len(data)
  23215. iNdEx := 0
  23216. for iNdEx < l {
  23217. preIndex := iNdEx
  23218. var wire uint64
  23219. for shift := uint(0); ; shift += 7 {
  23220. if shift >= 64 {
  23221. return ErrIntOverflowGenerated
  23222. }
  23223. if iNdEx >= l {
  23224. return io.ErrUnexpectedEOF
  23225. }
  23226. b := data[iNdEx]
  23227. iNdEx++
  23228. wire |= (uint64(b) & 0x7F) << shift
  23229. if b < 0x80 {
  23230. break
  23231. }
  23232. }
  23233. fieldNum := int32(wire >> 3)
  23234. wireType := int(wire & 0x7)
  23235. if wireType == 4 {
  23236. return fmt.Errorf("proto: NodeSelector: wiretype end group for non-group")
  23237. }
  23238. if fieldNum <= 0 {
  23239. return fmt.Errorf("proto: NodeSelector: illegal tag %d (wire type %d)", fieldNum, wire)
  23240. }
  23241. switch fieldNum {
  23242. case 1:
  23243. if wireType != 2 {
  23244. return fmt.Errorf("proto: wrong wireType = %d for field NodeSelectorTerms", wireType)
  23245. }
  23246. var msglen int
  23247. for shift := uint(0); ; shift += 7 {
  23248. if shift >= 64 {
  23249. return ErrIntOverflowGenerated
  23250. }
  23251. if iNdEx >= l {
  23252. return io.ErrUnexpectedEOF
  23253. }
  23254. b := data[iNdEx]
  23255. iNdEx++
  23256. msglen |= (int(b) & 0x7F) << shift
  23257. if b < 0x80 {
  23258. break
  23259. }
  23260. }
  23261. if msglen < 0 {
  23262. return ErrInvalidLengthGenerated
  23263. }
  23264. postIndex := iNdEx + msglen
  23265. if postIndex > l {
  23266. return io.ErrUnexpectedEOF
  23267. }
  23268. m.NodeSelectorTerms = append(m.NodeSelectorTerms, NodeSelectorTerm{})
  23269. if err := m.NodeSelectorTerms[len(m.NodeSelectorTerms)-1].Unmarshal(data[iNdEx:postIndex]); err != nil {
  23270. return err
  23271. }
  23272. iNdEx = postIndex
  23273. default:
  23274. iNdEx = preIndex
  23275. skippy, err := skipGenerated(data[iNdEx:])
  23276. if err != nil {
  23277. return err
  23278. }
  23279. if skippy < 0 {
  23280. return ErrInvalidLengthGenerated
  23281. }
  23282. if (iNdEx + skippy) > l {
  23283. return io.ErrUnexpectedEOF
  23284. }
  23285. iNdEx += skippy
  23286. }
  23287. }
  23288. if iNdEx > l {
  23289. return io.ErrUnexpectedEOF
  23290. }
  23291. return nil
  23292. }
  23293. func (m *NodeSelectorRequirement) Unmarshal(data []byte) error {
  23294. l := len(data)
  23295. iNdEx := 0
  23296. for iNdEx < l {
  23297. preIndex := iNdEx
  23298. var wire uint64
  23299. for shift := uint(0); ; shift += 7 {
  23300. if shift >= 64 {
  23301. return ErrIntOverflowGenerated
  23302. }
  23303. if iNdEx >= l {
  23304. return io.ErrUnexpectedEOF
  23305. }
  23306. b := data[iNdEx]
  23307. iNdEx++
  23308. wire |= (uint64(b) & 0x7F) << shift
  23309. if b < 0x80 {
  23310. break
  23311. }
  23312. }
  23313. fieldNum := int32(wire >> 3)
  23314. wireType := int(wire & 0x7)
  23315. if wireType == 4 {
  23316. return fmt.Errorf("proto: NodeSelectorRequirement: wiretype end group for non-group")
  23317. }
  23318. if fieldNum <= 0 {
  23319. return fmt.Errorf("proto: NodeSelectorRequirement: illegal tag %d (wire type %d)", fieldNum, wire)
  23320. }
  23321. switch fieldNum {
  23322. case 1:
  23323. if wireType != 2 {
  23324. return fmt.Errorf("proto: wrong wireType = %d for field Key", wireType)
  23325. }
  23326. var stringLen uint64
  23327. for shift := uint(0); ; shift += 7 {
  23328. if shift >= 64 {
  23329. return ErrIntOverflowGenerated
  23330. }
  23331. if iNdEx >= l {
  23332. return io.ErrUnexpectedEOF
  23333. }
  23334. b := data[iNdEx]
  23335. iNdEx++
  23336. stringLen |= (uint64(b) & 0x7F) << shift
  23337. if b < 0x80 {
  23338. break
  23339. }
  23340. }
  23341. intStringLen := int(stringLen)
  23342. if intStringLen < 0 {
  23343. return ErrInvalidLengthGenerated
  23344. }
  23345. postIndex := iNdEx + intStringLen
  23346. if postIndex > l {
  23347. return io.ErrUnexpectedEOF
  23348. }
  23349. m.Key = string(data[iNdEx:postIndex])
  23350. iNdEx = postIndex
  23351. case 2:
  23352. if wireType != 2 {
  23353. return fmt.Errorf("proto: wrong wireType = %d for field Operator", wireType)
  23354. }
  23355. var stringLen uint64
  23356. for shift := uint(0); ; shift += 7 {
  23357. if shift >= 64 {
  23358. return ErrIntOverflowGenerated
  23359. }
  23360. if iNdEx >= l {
  23361. return io.ErrUnexpectedEOF
  23362. }
  23363. b := data[iNdEx]
  23364. iNdEx++
  23365. stringLen |= (uint64(b) & 0x7F) << shift
  23366. if b < 0x80 {
  23367. break
  23368. }
  23369. }
  23370. intStringLen := int(stringLen)
  23371. if intStringLen < 0 {
  23372. return ErrInvalidLengthGenerated
  23373. }
  23374. postIndex := iNdEx + intStringLen
  23375. if postIndex > l {
  23376. return io.ErrUnexpectedEOF
  23377. }
  23378. m.Operator = NodeSelectorOperator(data[iNdEx:postIndex])
  23379. iNdEx = postIndex
  23380. case 3:
  23381. if wireType != 2 {
  23382. return fmt.Errorf("proto: wrong wireType = %d for field Values", wireType)
  23383. }
  23384. var stringLen uint64
  23385. for shift := uint(0); ; shift += 7 {
  23386. if shift >= 64 {
  23387. return ErrIntOverflowGenerated
  23388. }
  23389. if iNdEx >= l {
  23390. return io.ErrUnexpectedEOF
  23391. }
  23392. b := data[iNdEx]
  23393. iNdEx++
  23394. stringLen |= (uint64(b) & 0x7F) << shift
  23395. if b < 0x80 {
  23396. break
  23397. }
  23398. }
  23399. intStringLen := int(stringLen)
  23400. if intStringLen < 0 {
  23401. return ErrInvalidLengthGenerated
  23402. }
  23403. postIndex := iNdEx + intStringLen
  23404. if postIndex > l {
  23405. return io.ErrUnexpectedEOF
  23406. }
  23407. m.Values = append(m.Values, string(data[iNdEx:postIndex]))
  23408. iNdEx = postIndex
  23409. default:
  23410. iNdEx = preIndex
  23411. skippy, err := skipGenerated(data[iNdEx:])
  23412. if err != nil {
  23413. return err
  23414. }
  23415. if skippy < 0 {
  23416. return ErrInvalidLengthGenerated
  23417. }
  23418. if (iNdEx + skippy) > l {
  23419. return io.ErrUnexpectedEOF
  23420. }
  23421. iNdEx += skippy
  23422. }
  23423. }
  23424. if iNdEx > l {
  23425. return io.ErrUnexpectedEOF
  23426. }
  23427. return nil
  23428. }
  23429. func (m *NodeSelectorTerm) Unmarshal(data []byte) error {
  23430. l := len(data)
  23431. iNdEx := 0
  23432. for iNdEx < l {
  23433. preIndex := iNdEx
  23434. var wire uint64
  23435. for shift := uint(0); ; shift += 7 {
  23436. if shift >= 64 {
  23437. return ErrIntOverflowGenerated
  23438. }
  23439. if iNdEx >= l {
  23440. return io.ErrUnexpectedEOF
  23441. }
  23442. b := data[iNdEx]
  23443. iNdEx++
  23444. wire |= (uint64(b) & 0x7F) << shift
  23445. if b < 0x80 {
  23446. break
  23447. }
  23448. }
  23449. fieldNum := int32(wire >> 3)
  23450. wireType := int(wire & 0x7)
  23451. if wireType == 4 {
  23452. return fmt.Errorf("proto: NodeSelectorTerm: wiretype end group for non-group")
  23453. }
  23454. if fieldNum <= 0 {
  23455. return fmt.Errorf("proto: NodeSelectorTerm: illegal tag %d (wire type %d)", fieldNum, wire)
  23456. }
  23457. switch fieldNum {
  23458. case 1:
  23459. if wireType != 2 {
  23460. return fmt.Errorf("proto: wrong wireType = %d for field MatchExpressions", wireType)
  23461. }
  23462. var msglen int
  23463. for shift := uint(0); ; shift += 7 {
  23464. if shift >= 64 {
  23465. return ErrIntOverflowGenerated
  23466. }
  23467. if iNdEx >= l {
  23468. return io.ErrUnexpectedEOF
  23469. }
  23470. b := data[iNdEx]
  23471. iNdEx++
  23472. msglen |= (int(b) & 0x7F) << shift
  23473. if b < 0x80 {
  23474. break
  23475. }
  23476. }
  23477. if msglen < 0 {
  23478. return ErrInvalidLengthGenerated
  23479. }
  23480. postIndex := iNdEx + msglen
  23481. if postIndex > l {
  23482. return io.ErrUnexpectedEOF
  23483. }
  23484. m.MatchExpressions = append(m.MatchExpressions, NodeSelectorRequirement{})
  23485. if err := m.MatchExpressions[len(m.MatchExpressions)-1].Unmarshal(data[iNdEx:postIndex]); err != nil {
  23486. return err
  23487. }
  23488. iNdEx = postIndex
  23489. default:
  23490. iNdEx = preIndex
  23491. skippy, err := skipGenerated(data[iNdEx:])
  23492. if err != nil {
  23493. return err
  23494. }
  23495. if skippy < 0 {
  23496. return ErrInvalidLengthGenerated
  23497. }
  23498. if (iNdEx + skippy) > l {
  23499. return io.ErrUnexpectedEOF
  23500. }
  23501. iNdEx += skippy
  23502. }
  23503. }
  23504. if iNdEx > l {
  23505. return io.ErrUnexpectedEOF
  23506. }
  23507. return nil
  23508. }
  23509. func (m *NodeSpec) Unmarshal(data []byte) error {
  23510. l := len(data)
  23511. iNdEx := 0
  23512. for iNdEx < l {
  23513. preIndex := iNdEx
  23514. var wire uint64
  23515. for shift := uint(0); ; shift += 7 {
  23516. if shift >= 64 {
  23517. return ErrIntOverflowGenerated
  23518. }
  23519. if iNdEx >= l {
  23520. return io.ErrUnexpectedEOF
  23521. }
  23522. b := data[iNdEx]
  23523. iNdEx++
  23524. wire |= (uint64(b) & 0x7F) << shift
  23525. if b < 0x80 {
  23526. break
  23527. }
  23528. }
  23529. fieldNum := int32(wire >> 3)
  23530. wireType := int(wire & 0x7)
  23531. if wireType == 4 {
  23532. return fmt.Errorf("proto: NodeSpec: wiretype end group for non-group")
  23533. }
  23534. if fieldNum <= 0 {
  23535. return fmt.Errorf("proto: NodeSpec: illegal tag %d (wire type %d)", fieldNum, wire)
  23536. }
  23537. switch fieldNum {
  23538. case 1:
  23539. if wireType != 2 {
  23540. return fmt.Errorf("proto: wrong wireType = %d for field PodCIDR", wireType)
  23541. }
  23542. var stringLen uint64
  23543. for shift := uint(0); ; shift += 7 {
  23544. if shift >= 64 {
  23545. return ErrIntOverflowGenerated
  23546. }
  23547. if iNdEx >= l {
  23548. return io.ErrUnexpectedEOF
  23549. }
  23550. b := data[iNdEx]
  23551. iNdEx++
  23552. stringLen |= (uint64(b) & 0x7F) << shift
  23553. if b < 0x80 {
  23554. break
  23555. }
  23556. }
  23557. intStringLen := int(stringLen)
  23558. if intStringLen < 0 {
  23559. return ErrInvalidLengthGenerated
  23560. }
  23561. postIndex := iNdEx + intStringLen
  23562. if postIndex > l {
  23563. return io.ErrUnexpectedEOF
  23564. }
  23565. m.PodCIDR = string(data[iNdEx:postIndex])
  23566. iNdEx = postIndex
  23567. case 2:
  23568. if wireType != 2 {
  23569. return fmt.Errorf("proto: wrong wireType = %d for field ExternalID", wireType)
  23570. }
  23571. var stringLen uint64
  23572. for shift := uint(0); ; shift += 7 {
  23573. if shift >= 64 {
  23574. return ErrIntOverflowGenerated
  23575. }
  23576. if iNdEx >= l {
  23577. return io.ErrUnexpectedEOF
  23578. }
  23579. b := data[iNdEx]
  23580. iNdEx++
  23581. stringLen |= (uint64(b) & 0x7F) << shift
  23582. if b < 0x80 {
  23583. break
  23584. }
  23585. }
  23586. intStringLen := int(stringLen)
  23587. if intStringLen < 0 {
  23588. return ErrInvalidLengthGenerated
  23589. }
  23590. postIndex := iNdEx + intStringLen
  23591. if postIndex > l {
  23592. return io.ErrUnexpectedEOF
  23593. }
  23594. m.ExternalID = string(data[iNdEx:postIndex])
  23595. iNdEx = postIndex
  23596. case 3:
  23597. if wireType != 2 {
  23598. return fmt.Errorf("proto: wrong wireType = %d for field ProviderID", wireType)
  23599. }
  23600. var stringLen uint64
  23601. for shift := uint(0); ; shift += 7 {
  23602. if shift >= 64 {
  23603. return ErrIntOverflowGenerated
  23604. }
  23605. if iNdEx >= l {
  23606. return io.ErrUnexpectedEOF
  23607. }
  23608. b := data[iNdEx]
  23609. iNdEx++
  23610. stringLen |= (uint64(b) & 0x7F) << shift
  23611. if b < 0x80 {
  23612. break
  23613. }
  23614. }
  23615. intStringLen := int(stringLen)
  23616. if intStringLen < 0 {
  23617. return ErrInvalidLengthGenerated
  23618. }
  23619. postIndex := iNdEx + intStringLen
  23620. if postIndex > l {
  23621. return io.ErrUnexpectedEOF
  23622. }
  23623. m.ProviderID = string(data[iNdEx:postIndex])
  23624. iNdEx = postIndex
  23625. case 4:
  23626. if wireType != 0 {
  23627. return fmt.Errorf("proto: wrong wireType = %d for field Unschedulable", wireType)
  23628. }
  23629. var v int
  23630. for shift := uint(0); ; shift += 7 {
  23631. if shift >= 64 {
  23632. return ErrIntOverflowGenerated
  23633. }
  23634. if iNdEx >= l {
  23635. return io.ErrUnexpectedEOF
  23636. }
  23637. b := data[iNdEx]
  23638. iNdEx++
  23639. v |= (int(b) & 0x7F) << shift
  23640. if b < 0x80 {
  23641. break
  23642. }
  23643. }
  23644. m.Unschedulable = bool(v != 0)
  23645. default:
  23646. iNdEx = preIndex
  23647. skippy, err := skipGenerated(data[iNdEx:])
  23648. if err != nil {
  23649. return err
  23650. }
  23651. if skippy < 0 {
  23652. return ErrInvalidLengthGenerated
  23653. }
  23654. if (iNdEx + skippy) > l {
  23655. return io.ErrUnexpectedEOF
  23656. }
  23657. iNdEx += skippy
  23658. }
  23659. }
  23660. if iNdEx > l {
  23661. return io.ErrUnexpectedEOF
  23662. }
  23663. return nil
  23664. }
  23665. func (m *NodeStatus) Unmarshal(data []byte) error {
  23666. l := len(data)
  23667. iNdEx := 0
  23668. for iNdEx < l {
  23669. preIndex := iNdEx
  23670. var wire uint64
  23671. for shift := uint(0); ; shift += 7 {
  23672. if shift >= 64 {
  23673. return ErrIntOverflowGenerated
  23674. }
  23675. if iNdEx >= l {
  23676. return io.ErrUnexpectedEOF
  23677. }
  23678. b := data[iNdEx]
  23679. iNdEx++
  23680. wire |= (uint64(b) & 0x7F) << shift
  23681. if b < 0x80 {
  23682. break
  23683. }
  23684. }
  23685. fieldNum := int32(wire >> 3)
  23686. wireType := int(wire & 0x7)
  23687. if wireType == 4 {
  23688. return fmt.Errorf("proto: NodeStatus: wiretype end group for non-group")
  23689. }
  23690. if fieldNum <= 0 {
  23691. return fmt.Errorf("proto: NodeStatus: illegal tag %d (wire type %d)", fieldNum, wire)
  23692. }
  23693. switch fieldNum {
  23694. case 1:
  23695. if wireType != 2 {
  23696. return fmt.Errorf("proto: wrong wireType = %d for field Capacity", wireType)
  23697. }
  23698. var msglen int
  23699. for shift := uint(0); ; shift += 7 {
  23700. if shift >= 64 {
  23701. return ErrIntOverflowGenerated
  23702. }
  23703. if iNdEx >= l {
  23704. return io.ErrUnexpectedEOF
  23705. }
  23706. b := data[iNdEx]
  23707. iNdEx++
  23708. msglen |= (int(b) & 0x7F) << shift
  23709. if b < 0x80 {
  23710. break
  23711. }
  23712. }
  23713. if msglen < 0 {
  23714. return ErrInvalidLengthGenerated
  23715. }
  23716. postIndex := iNdEx + msglen
  23717. if postIndex > l {
  23718. return io.ErrUnexpectedEOF
  23719. }
  23720. var keykey uint64
  23721. for shift := uint(0); ; shift += 7 {
  23722. if shift >= 64 {
  23723. return ErrIntOverflowGenerated
  23724. }
  23725. if iNdEx >= l {
  23726. return io.ErrUnexpectedEOF
  23727. }
  23728. b := data[iNdEx]
  23729. iNdEx++
  23730. keykey |= (uint64(b) & 0x7F) << shift
  23731. if b < 0x80 {
  23732. break
  23733. }
  23734. }
  23735. var stringLenmapkey uint64
  23736. for shift := uint(0); ; shift += 7 {
  23737. if shift >= 64 {
  23738. return ErrIntOverflowGenerated
  23739. }
  23740. if iNdEx >= l {
  23741. return io.ErrUnexpectedEOF
  23742. }
  23743. b := data[iNdEx]
  23744. iNdEx++
  23745. stringLenmapkey |= (uint64(b) & 0x7F) << shift
  23746. if b < 0x80 {
  23747. break
  23748. }
  23749. }
  23750. intStringLenmapkey := int(stringLenmapkey)
  23751. if intStringLenmapkey < 0 {
  23752. return ErrInvalidLengthGenerated
  23753. }
  23754. postStringIndexmapkey := iNdEx + intStringLenmapkey
  23755. if postStringIndexmapkey > l {
  23756. return io.ErrUnexpectedEOF
  23757. }
  23758. mapkey := ResourceName(data[iNdEx:postStringIndexmapkey])
  23759. iNdEx = postStringIndexmapkey
  23760. var valuekey uint64
  23761. for shift := uint(0); ; shift += 7 {
  23762. if shift >= 64 {
  23763. return ErrIntOverflowGenerated
  23764. }
  23765. if iNdEx >= l {
  23766. return io.ErrUnexpectedEOF
  23767. }
  23768. b := data[iNdEx]
  23769. iNdEx++
  23770. valuekey |= (uint64(b) & 0x7F) << shift
  23771. if b < 0x80 {
  23772. break
  23773. }
  23774. }
  23775. var mapmsglen int
  23776. for shift := uint(0); ; shift += 7 {
  23777. if shift >= 64 {
  23778. return ErrIntOverflowGenerated
  23779. }
  23780. if iNdEx >= l {
  23781. return io.ErrUnexpectedEOF
  23782. }
  23783. b := data[iNdEx]
  23784. iNdEx++
  23785. mapmsglen |= (int(b) & 0x7F) << shift
  23786. if b < 0x80 {
  23787. break
  23788. }
  23789. }
  23790. if mapmsglen < 0 {
  23791. return ErrInvalidLengthGenerated
  23792. }
  23793. postmsgIndex := iNdEx + mapmsglen
  23794. if mapmsglen < 0 {
  23795. return ErrInvalidLengthGenerated
  23796. }
  23797. if postmsgIndex > l {
  23798. return io.ErrUnexpectedEOF
  23799. }
  23800. mapvalue := &k8s_io_kubernetes_pkg_api_resource.Quantity{}
  23801. if err := mapvalue.Unmarshal(data[iNdEx:postmsgIndex]); err != nil {
  23802. return err
  23803. }
  23804. iNdEx = postmsgIndex
  23805. if m.Capacity == nil {
  23806. m.Capacity = make(ResourceList)
  23807. }
  23808. m.Capacity[ResourceName(mapkey)] = *mapvalue
  23809. iNdEx = postIndex
  23810. case 2:
  23811. if wireType != 2 {
  23812. return fmt.Errorf("proto: wrong wireType = %d for field Allocatable", wireType)
  23813. }
  23814. var msglen int
  23815. for shift := uint(0); ; shift += 7 {
  23816. if shift >= 64 {
  23817. return ErrIntOverflowGenerated
  23818. }
  23819. if iNdEx >= l {
  23820. return io.ErrUnexpectedEOF
  23821. }
  23822. b := data[iNdEx]
  23823. iNdEx++
  23824. msglen |= (int(b) & 0x7F) << shift
  23825. if b < 0x80 {
  23826. break
  23827. }
  23828. }
  23829. if msglen < 0 {
  23830. return ErrInvalidLengthGenerated
  23831. }
  23832. postIndex := iNdEx + msglen
  23833. if postIndex > l {
  23834. return io.ErrUnexpectedEOF
  23835. }
  23836. var keykey uint64
  23837. for shift := uint(0); ; shift += 7 {
  23838. if shift >= 64 {
  23839. return ErrIntOverflowGenerated
  23840. }
  23841. if iNdEx >= l {
  23842. return io.ErrUnexpectedEOF
  23843. }
  23844. b := data[iNdEx]
  23845. iNdEx++
  23846. keykey |= (uint64(b) & 0x7F) << shift
  23847. if b < 0x80 {
  23848. break
  23849. }
  23850. }
  23851. var stringLenmapkey uint64
  23852. for shift := uint(0); ; shift += 7 {
  23853. if shift >= 64 {
  23854. return ErrIntOverflowGenerated
  23855. }
  23856. if iNdEx >= l {
  23857. return io.ErrUnexpectedEOF
  23858. }
  23859. b := data[iNdEx]
  23860. iNdEx++
  23861. stringLenmapkey |= (uint64(b) & 0x7F) << shift
  23862. if b < 0x80 {
  23863. break
  23864. }
  23865. }
  23866. intStringLenmapkey := int(stringLenmapkey)
  23867. if intStringLenmapkey < 0 {
  23868. return ErrInvalidLengthGenerated
  23869. }
  23870. postStringIndexmapkey := iNdEx + intStringLenmapkey
  23871. if postStringIndexmapkey > l {
  23872. return io.ErrUnexpectedEOF
  23873. }
  23874. mapkey := ResourceName(data[iNdEx:postStringIndexmapkey])
  23875. iNdEx = postStringIndexmapkey
  23876. var valuekey uint64
  23877. for shift := uint(0); ; shift += 7 {
  23878. if shift >= 64 {
  23879. return ErrIntOverflowGenerated
  23880. }
  23881. if iNdEx >= l {
  23882. return io.ErrUnexpectedEOF
  23883. }
  23884. b := data[iNdEx]
  23885. iNdEx++
  23886. valuekey |= (uint64(b) & 0x7F) << shift
  23887. if b < 0x80 {
  23888. break
  23889. }
  23890. }
  23891. var mapmsglen int
  23892. for shift := uint(0); ; shift += 7 {
  23893. if shift >= 64 {
  23894. return ErrIntOverflowGenerated
  23895. }
  23896. if iNdEx >= l {
  23897. return io.ErrUnexpectedEOF
  23898. }
  23899. b := data[iNdEx]
  23900. iNdEx++
  23901. mapmsglen |= (int(b) & 0x7F) << shift
  23902. if b < 0x80 {
  23903. break
  23904. }
  23905. }
  23906. if mapmsglen < 0 {
  23907. return ErrInvalidLengthGenerated
  23908. }
  23909. postmsgIndex := iNdEx + mapmsglen
  23910. if mapmsglen < 0 {
  23911. return ErrInvalidLengthGenerated
  23912. }
  23913. if postmsgIndex > l {
  23914. return io.ErrUnexpectedEOF
  23915. }
  23916. mapvalue := &k8s_io_kubernetes_pkg_api_resource.Quantity{}
  23917. if err := mapvalue.Unmarshal(data[iNdEx:postmsgIndex]); err != nil {
  23918. return err
  23919. }
  23920. iNdEx = postmsgIndex
  23921. if m.Allocatable == nil {
  23922. m.Allocatable = make(ResourceList)
  23923. }
  23924. m.Allocatable[ResourceName(mapkey)] = *mapvalue
  23925. iNdEx = postIndex
  23926. case 3:
  23927. if wireType != 2 {
  23928. return fmt.Errorf("proto: wrong wireType = %d for field Phase", wireType)
  23929. }
  23930. var stringLen uint64
  23931. for shift := uint(0); ; shift += 7 {
  23932. if shift >= 64 {
  23933. return ErrIntOverflowGenerated
  23934. }
  23935. if iNdEx >= l {
  23936. return io.ErrUnexpectedEOF
  23937. }
  23938. b := data[iNdEx]
  23939. iNdEx++
  23940. stringLen |= (uint64(b) & 0x7F) << shift
  23941. if b < 0x80 {
  23942. break
  23943. }
  23944. }
  23945. intStringLen := int(stringLen)
  23946. if intStringLen < 0 {
  23947. return ErrInvalidLengthGenerated
  23948. }
  23949. postIndex := iNdEx + intStringLen
  23950. if postIndex > l {
  23951. return io.ErrUnexpectedEOF
  23952. }
  23953. m.Phase = NodePhase(data[iNdEx:postIndex])
  23954. iNdEx = postIndex
  23955. case 4:
  23956. if wireType != 2 {
  23957. return fmt.Errorf("proto: wrong wireType = %d for field Conditions", wireType)
  23958. }
  23959. var msglen int
  23960. for shift := uint(0); ; shift += 7 {
  23961. if shift >= 64 {
  23962. return ErrIntOverflowGenerated
  23963. }
  23964. if iNdEx >= l {
  23965. return io.ErrUnexpectedEOF
  23966. }
  23967. b := data[iNdEx]
  23968. iNdEx++
  23969. msglen |= (int(b) & 0x7F) << shift
  23970. if b < 0x80 {
  23971. break
  23972. }
  23973. }
  23974. if msglen < 0 {
  23975. return ErrInvalidLengthGenerated
  23976. }
  23977. postIndex := iNdEx + msglen
  23978. if postIndex > l {
  23979. return io.ErrUnexpectedEOF
  23980. }
  23981. m.Conditions = append(m.Conditions, NodeCondition{})
  23982. if err := m.Conditions[len(m.Conditions)-1].Unmarshal(data[iNdEx:postIndex]); err != nil {
  23983. return err
  23984. }
  23985. iNdEx = postIndex
  23986. case 5:
  23987. if wireType != 2 {
  23988. return fmt.Errorf("proto: wrong wireType = %d for field Addresses", wireType)
  23989. }
  23990. var msglen int
  23991. for shift := uint(0); ; shift += 7 {
  23992. if shift >= 64 {
  23993. return ErrIntOverflowGenerated
  23994. }
  23995. if iNdEx >= l {
  23996. return io.ErrUnexpectedEOF
  23997. }
  23998. b := data[iNdEx]
  23999. iNdEx++
  24000. msglen |= (int(b) & 0x7F) << shift
  24001. if b < 0x80 {
  24002. break
  24003. }
  24004. }
  24005. if msglen < 0 {
  24006. return ErrInvalidLengthGenerated
  24007. }
  24008. postIndex := iNdEx + msglen
  24009. if postIndex > l {
  24010. return io.ErrUnexpectedEOF
  24011. }
  24012. m.Addresses = append(m.Addresses, NodeAddress{})
  24013. if err := m.Addresses[len(m.Addresses)-1].Unmarshal(data[iNdEx:postIndex]); err != nil {
  24014. return err
  24015. }
  24016. iNdEx = postIndex
  24017. case 6:
  24018. if wireType != 2 {
  24019. return fmt.Errorf("proto: wrong wireType = %d for field DaemonEndpoints", wireType)
  24020. }
  24021. var msglen int
  24022. for shift := uint(0); ; shift += 7 {
  24023. if shift >= 64 {
  24024. return ErrIntOverflowGenerated
  24025. }
  24026. if iNdEx >= l {
  24027. return io.ErrUnexpectedEOF
  24028. }
  24029. b := data[iNdEx]
  24030. iNdEx++
  24031. msglen |= (int(b) & 0x7F) << shift
  24032. if b < 0x80 {
  24033. break
  24034. }
  24035. }
  24036. if msglen < 0 {
  24037. return ErrInvalidLengthGenerated
  24038. }
  24039. postIndex := iNdEx + msglen
  24040. if postIndex > l {
  24041. return io.ErrUnexpectedEOF
  24042. }
  24043. if err := m.DaemonEndpoints.Unmarshal(data[iNdEx:postIndex]); err != nil {
  24044. return err
  24045. }
  24046. iNdEx = postIndex
  24047. case 7:
  24048. if wireType != 2 {
  24049. return fmt.Errorf("proto: wrong wireType = %d for field NodeInfo", wireType)
  24050. }
  24051. var msglen int
  24052. for shift := uint(0); ; shift += 7 {
  24053. if shift >= 64 {
  24054. return ErrIntOverflowGenerated
  24055. }
  24056. if iNdEx >= l {
  24057. return io.ErrUnexpectedEOF
  24058. }
  24059. b := data[iNdEx]
  24060. iNdEx++
  24061. msglen |= (int(b) & 0x7F) << shift
  24062. if b < 0x80 {
  24063. break
  24064. }
  24065. }
  24066. if msglen < 0 {
  24067. return ErrInvalidLengthGenerated
  24068. }
  24069. postIndex := iNdEx + msglen
  24070. if postIndex > l {
  24071. return io.ErrUnexpectedEOF
  24072. }
  24073. if err := m.NodeInfo.Unmarshal(data[iNdEx:postIndex]); err != nil {
  24074. return err
  24075. }
  24076. iNdEx = postIndex
  24077. case 8:
  24078. if wireType != 2 {
  24079. return fmt.Errorf("proto: wrong wireType = %d for field Images", wireType)
  24080. }
  24081. var msglen int
  24082. for shift := uint(0); ; shift += 7 {
  24083. if shift >= 64 {
  24084. return ErrIntOverflowGenerated
  24085. }
  24086. if iNdEx >= l {
  24087. return io.ErrUnexpectedEOF
  24088. }
  24089. b := data[iNdEx]
  24090. iNdEx++
  24091. msglen |= (int(b) & 0x7F) << shift
  24092. if b < 0x80 {
  24093. break
  24094. }
  24095. }
  24096. if msglen < 0 {
  24097. return ErrInvalidLengthGenerated
  24098. }
  24099. postIndex := iNdEx + msglen
  24100. if postIndex > l {
  24101. return io.ErrUnexpectedEOF
  24102. }
  24103. m.Images = append(m.Images, ContainerImage{})
  24104. if err := m.Images[len(m.Images)-1].Unmarshal(data[iNdEx:postIndex]); err != nil {
  24105. return err
  24106. }
  24107. iNdEx = postIndex
  24108. case 9:
  24109. if wireType != 2 {
  24110. return fmt.Errorf("proto: wrong wireType = %d for field VolumesInUse", wireType)
  24111. }
  24112. var stringLen uint64
  24113. for shift := uint(0); ; shift += 7 {
  24114. if shift >= 64 {
  24115. return ErrIntOverflowGenerated
  24116. }
  24117. if iNdEx >= l {
  24118. return io.ErrUnexpectedEOF
  24119. }
  24120. b := data[iNdEx]
  24121. iNdEx++
  24122. stringLen |= (uint64(b) & 0x7F) << shift
  24123. if b < 0x80 {
  24124. break
  24125. }
  24126. }
  24127. intStringLen := int(stringLen)
  24128. if intStringLen < 0 {
  24129. return ErrInvalidLengthGenerated
  24130. }
  24131. postIndex := iNdEx + intStringLen
  24132. if postIndex > l {
  24133. return io.ErrUnexpectedEOF
  24134. }
  24135. m.VolumesInUse = append(m.VolumesInUse, UniqueVolumeName(data[iNdEx:postIndex]))
  24136. iNdEx = postIndex
  24137. case 10:
  24138. if wireType != 2 {
  24139. return fmt.Errorf("proto: wrong wireType = %d for field VolumesAttached", wireType)
  24140. }
  24141. var msglen int
  24142. for shift := uint(0); ; shift += 7 {
  24143. if shift >= 64 {
  24144. return ErrIntOverflowGenerated
  24145. }
  24146. if iNdEx >= l {
  24147. return io.ErrUnexpectedEOF
  24148. }
  24149. b := data[iNdEx]
  24150. iNdEx++
  24151. msglen |= (int(b) & 0x7F) << shift
  24152. if b < 0x80 {
  24153. break
  24154. }
  24155. }
  24156. if msglen < 0 {
  24157. return ErrInvalidLengthGenerated
  24158. }
  24159. postIndex := iNdEx + msglen
  24160. if postIndex > l {
  24161. return io.ErrUnexpectedEOF
  24162. }
  24163. m.VolumesAttached = append(m.VolumesAttached, AttachedVolume{})
  24164. if err := m.VolumesAttached[len(m.VolumesAttached)-1].Unmarshal(data[iNdEx:postIndex]); err != nil {
  24165. return err
  24166. }
  24167. iNdEx = postIndex
  24168. default:
  24169. iNdEx = preIndex
  24170. skippy, err := skipGenerated(data[iNdEx:])
  24171. if err != nil {
  24172. return err
  24173. }
  24174. if skippy < 0 {
  24175. return ErrInvalidLengthGenerated
  24176. }
  24177. if (iNdEx + skippy) > l {
  24178. return io.ErrUnexpectedEOF
  24179. }
  24180. iNdEx += skippy
  24181. }
  24182. }
  24183. if iNdEx > l {
  24184. return io.ErrUnexpectedEOF
  24185. }
  24186. return nil
  24187. }
  24188. func (m *NodeSystemInfo) Unmarshal(data []byte) error {
  24189. l := len(data)
  24190. iNdEx := 0
  24191. for iNdEx < l {
  24192. preIndex := iNdEx
  24193. var wire uint64
  24194. for shift := uint(0); ; shift += 7 {
  24195. if shift >= 64 {
  24196. return ErrIntOverflowGenerated
  24197. }
  24198. if iNdEx >= l {
  24199. return io.ErrUnexpectedEOF
  24200. }
  24201. b := data[iNdEx]
  24202. iNdEx++
  24203. wire |= (uint64(b) & 0x7F) << shift
  24204. if b < 0x80 {
  24205. break
  24206. }
  24207. }
  24208. fieldNum := int32(wire >> 3)
  24209. wireType := int(wire & 0x7)
  24210. if wireType == 4 {
  24211. return fmt.Errorf("proto: NodeSystemInfo: wiretype end group for non-group")
  24212. }
  24213. if fieldNum <= 0 {
  24214. return fmt.Errorf("proto: NodeSystemInfo: illegal tag %d (wire type %d)", fieldNum, wire)
  24215. }
  24216. switch fieldNum {
  24217. case 1:
  24218. if wireType != 2 {
  24219. return fmt.Errorf("proto: wrong wireType = %d for field MachineID", wireType)
  24220. }
  24221. var stringLen uint64
  24222. for shift := uint(0); ; shift += 7 {
  24223. if shift >= 64 {
  24224. return ErrIntOverflowGenerated
  24225. }
  24226. if iNdEx >= l {
  24227. return io.ErrUnexpectedEOF
  24228. }
  24229. b := data[iNdEx]
  24230. iNdEx++
  24231. stringLen |= (uint64(b) & 0x7F) << shift
  24232. if b < 0x80 {
  24233. break
  24234. }
  24235. }
  24236. intStringLen := int(stringLen)
  24237. if intStringLen < 0 {
  24238. return ErrInvalidLengthGenerated
  24239. }
  24240. postIndex := iNdEx + intStringLen
  24241. if postIndex > l {
  24242. return io.ErrUnexpectedEOF
  24243. }
  24244. m.MachineID = string(data[iNdEx:postIndex])
  24245. iNdEx = postIndex
  24246. case 2:
  24247. if wireType != 2 {
  24248. return fmt.Errorf("proto: wrong wireType = %d for field SystemUUID", wireType)
  24249. }
  24250. var stringLen uint64
  24251. for shift := uint(0); ; shift += 7 {
  24252. if shift >= 64 {
  24253. return ErrIntOverflowGenerated
  24254. }
  24255. if iNdEx >= l {
  24256. return io.ErrUnexpectedEOF
  24257. }
  24258. b := data[iNdEx]
  24259. iNdEx++
  24260. stringLen |= (uint64(b) & 0x7F) << shift
  24261. if b < 0x80 {
  24262. break
  24263. }
  24264. }
  24265. intStringLen := int(stringLen)
  24266. if intStringLen < 0 {
  24267. return ErrInvalidLengthGenerated
  24268. }
  24269. postIndex := iNdEx + intStringLen
  24270. if postIndex > l {
  24271. return io.ErrUnexpectedEOF
  24272. }
  24273. m.SystemUUID = string(data[iNdEx:postIndex])
  24274. iNdEx = postIndex
  24275. case 3:
  24276. if wireType != 2 {
  24277. return fmt.Errorf("proto: wrong wireType = %d for field BootID", wireType)
  24278. }
  24279. var stringLen uint64
  24280. for shift := uint(0); ; shift += 7 {
  24281. if shift >= 64 {
  24282. return ErrIntOverflowGenerated
  24283. }
  24284. if iNdEx >= l {
  24285. return io.ErrUnexpectedEOF
  24286. }
  24287. b := data[iNdEx]
  24288. iNdEx++
  24289. stringLen |= (uint64(b) & 0x7F) << shift
  24290. if b < 0x80 {
  24291. break
  24292. }
  24293. }
  24294. intStringLen := int(stringLen)
  24295. if intStringLen < 0 {
  24296. return ErrInvalidLengthGenerated
  24297. }
  24298. postIndex := iNdEx + intStringLen
  24299. if postIndex > l {
  24300. return io.ErrUnexpectedEOF
  24301. }
  24302. m.BootID = string(data[iNdEx:postIndex])
  24303. iNdEx = postIndex
  24304. case 4:
  24305. if wireType != 2 {
  24306. return fmt.Errorf("proto: wrong wireType = %d for field KernelVersion", wireType)
  24307. }
  24308. var stringLen uint64
  24309. for shift := uint(0); ; shift += 7 {
  24310. if shift >= 64 {
  24311. return ErrIntOverflowGenerated
  24312. }
  24313. if iNdEx >= l {
  24314. return io.ErrUnexpectedEOF
  24315. }
  24316. b := data[iNdEx]
  24317. iNdEx++
  24318. stringLen |= (uint64(b) & 0x7F) << shift
  24319. if b < 0x80 {
  24320. break
  24321. }
  24322. }
  24323. intStringLen := int(stringLen)
  24324. if intStringLen < 0 {
  24325. return ErrInvalidLengthGenerated
  24326. }
  24327. postIndex := iNdEx + intStringLen
  24328. if postIndex > l {
  24329. return io.ErrUnexpectedEOF
  24330. }
  24331. m.KernelVersion = string(data[iNdEx:postIndex])
  24332. iNdEx = postIndex
  24333. case 5:
  24334. if wireType != 2 {
  24335. return fmt.Errorf("proto: wrong wireType = %d for field OSImage", wireType)
  24336. }
  24337. var stringLen uint64
  24338. for shift := uint(0); ; shift += 7 {
  24339. if shift >= 64 {
  24340. return ErrIntOverflowGenerated
  24341. }
  24342. if iNdEx >= l {
  24343. return io.ErrUnexpectedEOF
  24344. }
  24345. b := data[iNdEx]
  24346. iNdEx++
  24347. stringLen |= (uint64(b) & 0x7F) << shift
  24348. if b < 0x80 {
  24349. break
  24350. }
  24351. }
  24352. intStringLen := int(stringLen)
  24353. if intStringLen < 0 {
  24354. return ErrInvalidLengthGenerated
  24355. }
  24356. postIndex := iNdEx + intStringLen
  24357. if postIndex > l {
  24358. return io.ErrUnexpectedEOF
  24359. }
  24360. m.OSImage = string(data[iNdEx:postIndex])
  24361. iNdEx = postIndex
  24362. case 6:
  24363. if wireType != 2 {
  24364. return fmt.Errorf("proto: wrong wireType = %d for field ContainerRuntimeVersion", wireType)
  24365. }
  24366. var stringLen uint64
  24367. for shift := uint(0); ; shift += 7 {
  24368. if shift >= 64 {
  24369. return ErrIntOverflowGenerated
  24370. }
  24371. if iNdEx >= l {
  24372. return io.ErrUnexpectedEOF
  24373. }
  24374. b := data[iNdEx]
  24375. iNdEx++
  24376. stringLen |= (uint64(b) & 0x7F) << shift
  24377. if b < 0x80 {
  24378. break
  24379. }
  24380. }
  24381. intStringLen := int(stringLen)
  24382. if intStringLen < 0 {
  24383. return ErrInvalidLengthGenerated
  24384. }
  24385. postIndex := iNdEx + intStringLen
  24386. if postIndex > l {
  24387. return io.ErrUnexpectedEOF
  24388. }
  24389. m.ContainerRuntimeVersion = string(data[iNdEx:postIndex])
  24390. iNdEx = postIndex
  24391. case 7:
  24392. if wireType != 2 {
  24393. return fmt.Errorf("proto: wrong wireType = %d for field KubeletVersion", wireType)
  24394. }
  24395. var stringLen uint64
  24396. for shift := uint(0); ; shift += 7 {
  24397. if shift >= 64 {
  24398. return ErrIntOverflowGenerated
  24399. }
  24400. if iNdEx >= l {
  24401. return io.ErrUnexpectedEOF
  24402. }
  24403. b := data[iNdEx]
  24404. iNdEx++
  24405. stringLen |= (uint64(b) & 0x7F) << shift
  24406. if b < 0x80 {
  24407. break
  24408. }
  24409. }
  24410. intStringLen := int(stringLen)
  24411. if intStringLen < 0 {
  24412. return ErrInvalidLengthGenerated
  24413. }
  24414. postIndex := iNdEx + intStringLen
  24415. if postIndex > l {
  24416. return io.ErrUnexpectedEOF
  24417. }
  24418. m.KubeletVersion = string(data[iNdEx:postIndex])
  24419. iNdEx = postIndex
  24420. case 8:
  24421. if wireType != 2 {
  24422. return fmt.Errorf("proto: wrong wireType = %d for field KubeProxyVersion", wireType)
  24423. }
  24424. var stringLen uint64
  24425. for shift := uint(0); ; shift += 7 {
  24426. if shift >= 64 {
  24427. return ErrIntOverflowGenerated
  24428. }
  24429. if iNdEx >= l {
  24430. return io.ErrUnexpectedEOF
  24431. }
  24432. b := data[iNdEx]
  24433. iNdEx++
  24434. stringLen |= (uint64(b) & 0x7F) << shift
  24435. if b < 0x80 {
  24436. break
  24437. }
  24438. }
  24439. intStringLen := int(stringLen)
  24440. if intStringLen < 0 {
  24441. return ErrInvalidLengthGenerated
  24442. }
  24443. postIndex := iNdEx + intStringLen
  24444. if postIndex > l {
  24445. return io.ErrUnexpectedEOF
  24446. }
  24447. m.KubeProxyVersion = string(data[iNdEx:postIndex])
  24448. iNdEx = postIndex
  24449. case 9:
  24450. if wireType != 2 {
  24451. return fmt.Errorf("proto: wrong wireType = %d for field OperatingSystem", wireType)
  24452. }
  24453. var stringLen uint64
  24454. for shift := uint(0); ; shift += 7 {
  24455. if shift >= 64 {
  24456. return ErrIntOverflowGenerated
  24457. }
  24458. if iNdEx >= l {
  24459. return io.ErrUnexpectedEOF
  24460. }
  24461. b := data[iNdEx]
  24462. iNdEx++
  24463. stringLen |= (uint64(b) & 0x7F) << shift
  24464. if b < 0x80 {
  24465. break
  24466. }
  24467. }
  24468. intStringLen := int(stringLen)
  24469. if intStringLen < 0 {
  24470. return ErrInvalidLengthGenerated
  24471. }
  24472. postIndex := iNdEx + intStringLen
  24473. if postIndex > l {
  24474. return io.ErrUnexpectedEOF
  24475. }
  24476. m.OperatingSystem = string(data[iNdEx:postIndex])
  24477. iNdEx = postIndex
  24478. case 10:
  24479. if wireType != 2 {
  24480. return fmt.Errorf("proto: wrong wireType = %d for field Architecture", wireType)
  24481. }
  24482. var stringLen uint64
  24483. for shift := uint(0); ; shift += 7 {
  24484. if shift >= 64 {
  24485. return ErrIntOverflowGenerated
  24486. }
  24487. if iNdEx >= l {
  24488. return io.ErrUnexpectedEOF
  24489. }
  24490. b := data[iNdEx]
  24491. iNdEx++
  24492. stringLen |= (uint64(b) & 0x7F) << shift
  24493. if b < 0x80 {
  24494. break
  24495. }
  24496. }
  24497. intStringLen := int(stringLen)
  24498. if intStringLen < 0 {
  24499. return ErrInvalidLengthGenerated
  24500. }
  24501. postIndex := iNdEx + intStringLen
  24502. if postIndex > l {
  24503. return io.ErrUnexpectedEOF
  24504. }
  24505. m.Architecture = string(data[iNdEx:postIndex])
  24506. iNdEx = postIndex
  24507. default:
  24508. iNdEx = preIndex
  24509. skippy, err := skipGenerated(data[iNdEx:])
  24510. if err != nil {
  24511. return err
  24512. }
  24513. if skippy < 0 {
  24514. return ErrInvalidLengthGenerated
  24515. }
  24516. if (iNdEx + skippy) > l {
  24517. return io.ErrUnexpectedEOF
  24518. }
  24519. iNdEx += skippy
  24520. }
  24521. }
  24522. if iNdEx > l {
  24523. return io.ErrUnexpectedEOF
  24524. }
  24525. return nil
  24526. }
  24527. func (m *ObjectFieldSelector) Unmarshal(data []byte) error {
  24528. l := len(data)
  24529. iNdEx := 0
  24530. for iNdEx < l {
  24531. preIndex := iNdEx
  24532. var wire uint64
  24533. for shift := uint(0); ; shift += 7 {
  24534. if shift >= 64 {
  24535. return ErrIntOverflowGenerated
  24536. }
  24537. if iNdEx >= l {
  24538. return io.ErrUnexpectedEOF
  24539. }
  24540. b := data[iNdEx]
  24541. iNdEx++
  24542. wire |= (uint64(b) & 0x7F) << shift
  24543. if b < 0x80 {
  24544. break
  24545. }
  24546. }
  24547. fieldNum := int32(wire >> 3)
  24548. wireType := int(wire & 0x7)
  24549. if wireType == 4 {
  24550. return fmt.Errorf("proto: ObjectFieldSelector: wiretype end group for non-group")
  24551. }
  24552. if fieldNum <= 0 {
  24553. return fmt.Errorf("proto: ObjectFieldSelector: illegal tag %d (wire type %d)", fieldNum, wire)
  24554. }
  24555. switch fieldNum {
  24556. case 1:
  24557. if wireType != 2 {
  24558. return fmt.Errorf("proto: wrong wireType = %d for field APIVersion", wireType)
  24559. }
  24560. var stringLen uint64
  24561. for shift := uint(0); ; shift += 7 {
  24562. if shift >= 64 {
  24563. return ErrIntOverflowGenerated
  24564. }
  24565. if iNdEx >= l {
  24566. return io.ErrUnexpectedEOF
  24567. }
  24568. b := data[iNdEx]
  24569. iNdEx++
  24570. stringLen |= (uint64(b) & 0x7F) << shift
  24571. if b < 0x80 {
  24572. break
  24573. }
  24574. }
  24575. intStringLen := int(stringLen)
  24576. if intStringLen < 0 {
  24577. return ErrInvalidLengthGenerated
  24578. }
  24579. postIndex := iNdEx + intStringLen
  24580. if postIndex > l {
  24581. return io.ErrUnexpectedEOF
  24582. }
  24583. m.APIVersion = string(data[iNdEx:postIndex])
  24584. iNdEx = postIndex
  24585. case 2:
  24586. if wireType != 2 {
  24587. return fmt.Errorf("proto: wrong wireType = %d for field FieldPath", wireType)
  24588. }
  24589. var stringLen uint64
  24590. for shift := uint(0); ; shift += 7 {
  24591. if shift >= 64 {
  24592. return ErrIntOverflowGenerated
  24593. }
  24594. if iNdEx >= l {
  24595. return io.ErrUnexpectedEOF
  24596. }
  24597. b := data[iNdEx]
  24598. iNdEx++
  24599. stringLen |= (uint64(b) & 0x7F) << shift
  24600. if b < 0x80 {
  24601. break
  24602. }
  24603. }
  24604. intStringLen := int(stringLen)
  24605. if intStringLen < 0 {
  24606. return ErrInvalidLengthGenerated
  24607. }
  24608. postIndex := iNdEx + intStringLen
  24609. if postIndex > l {
  24610. return io.ErrUnexpectedEOF
  24611. }
  24612. m.FieldPath = string(data[iNdEx:postIndex])
  24613. iNdEx = postIndex
  24614. default:
  24615. iNdEx = preIndex
  24616. skippy, err := skipGenerated(data[iNdEx:])
  24617. if err != nil {
  24618. return err
  24619. }
  24620. if skippy < 0 {
  24621. return ErrInvalidLengthGenerated
  24622. }
  24623. if (iNdEx + skippy) > l {
  24624. return io.ErrUnexpectedEOF
  24625. }
  24626. iNdEx += skippy
  24627. }
  24628. }
  24629. if iNdEx > l {
  24630. return io.ErrUnexpectedEOF
  24631. }
  24632. return nil
  24633. }
  24634. func (m *ObjectMeta) Unmarshal(data []byte) error {
  24635. l := len(data)
  24636. iNdEx := 0
  24637. for iNdEx < l {
  24638. preIndex := iNdEx
  24639. var wire uint64
  24640. for shift := uint(0); ; shift += 7 {
  24641. if shift >= 64 {
  24642. return ErrIntOverflowGenerated
  24643. }
  24644. if iNdEx >= l {
  24645. return io.ErrUnexpectedEOF
  24646. }
  24647. b := data[iNdEx]
  24648. iNdEx++
  24649. wire |= (uint64(b) & 0x7F) << shift
  24650. if b < 0x80 {
  24651. break
  24652. }
  24653. }
  24654. fieldNum := int32(wire >> 3)
  24655. wireType := int(wire & 0x7)
  24656. if wireType == 4 {
  24657. return fmt.Errorf("proto: ObjectMeta: wiretype end group for non-group")
  24658. }
  24659. if fieldNum <= 0 {
  24660. return fmt.Errorf("proto: ObjectMeta: illegal tag %d (wire type %d)", fieldNum, wire)
  24661. }
  24662. switch fieldNum {
  24663. case 1:
  24664. if wireType != 2 {
  24665. return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
  24666. }
  24667. var stringLen uint64
  24668. for shift := uint(0); ; shift += 7 {
  24669. if shift >= 64 {
  24670. return ErrIntOverflowGenerated
  24671. }
  24672. if iNdEx >= l {
  24673. return io.ErrUnexpectedEOF
  24674. }
  24675. b := data[iNdEx]
  24676. iNdEx++
  24677. stringLen |= (uint64(b) & 0x7F) << shift
  24678. if b < 0x80 {
  24679. break
  24680. }
  24681. }
  24682. intStringLen := int(stringLen)
  24683. if intStringLen < 0 {
  24684. return ErrInvalidLengthGenerated
  24685. }
  24686. postIndex := iNdEx + intStringLen
  24687. if postIndex > l {
  24688. return io.ErrUnexpectedEOF
  24689. }
  24690. m.Name = string(data[iNdEx:postIndex])
  24691. iNdEx = postIndex
  24692. case 2:
  24693. if wireType != 2 {
  24694. return fmt.Errorf("proto: wrong wireType = %d for field GenerateName", wireType)
  24695. }
  24696. var stringLen uint64
  24697. for shift := uint(0); ; shift += 7 {
  24698. if shift >= 64 {
  24699. return ErrIntOverflowGenerated
  24700. }
  24701. if iNdEx >= l {
  24702. return io.ErrUnexpectedEOF
  24703. }
  24704. b := data[iNdEx]
  24705. iNdEx++
  24706. stringLen |= (uint64(b) & 0x7F) << shift
  24707. if b < 0x80 {
  24708. break
  24709. }
  24710. }
  24711. intStringLen := int(stringLen)
  24712. if intStringLen < 0 {
  24713. return ErrInvalidLengthGenerated
  24714. }
  24715. postIndex := iNdEx + intStringLen
  24716. if postIndex > l {
  24717. return io.ErrUnexpectedEOF
  24718. }
  24719. m.GenerateName = string(data[iNdEx:postIndex])
  24720. iNdEx = postIndex
  24721. case 3:
  24722. if wireType != 2 {
  24723. return fmt.Errorf("proto: wrong wireType = %d for field Namespace", wireType)
  24724. }
  24725. var stringLen uint64
  24726. for shift := uint(0); ; shift += 7 {
  24727. if shift >= 64 {
  24728. return ErrIntOverflowGenerated
  24729. }
  24730. if iNdEx >= l {
  24731. return io.ErrUnexpectedEOF
  24732. }
  24733. b := data[iNdEx]
  24734. iNdEx++
  24735. stringLen |= (uint64(b) & 0x7F) << shift
  24736. if b < 0x80 {
  24737. break
  24738. }
  24739. }
  24740. intStringLen := int(stringLen)
  24741. if intStringLen < 0 {
  24742. return ErrInvalidLengthGenerated
  24743. }
  24744. postIndex := iNdEx + intStringLen
  24745. if postIndex > l {
  24746. return io.ErrUnexpectedEOF
  24747. }
  24748. m.Namespace = string(data[iNdEx:postIndex])
  24749. iNdEx = postIndex
  24750. case 4:
  24751. if wireType != 2 {
  24752. return fmt.Errorf("proto: wrong wireType = %d for field SelfLink", wireType)
  24753. }
  24754. var stringLen uint64
  24755. for shift := uint(0); ; shift += 7 {
  24756. if shift >= 64 {
  24757. return ErrIntOverflowGenerated
  24758. }
  24759. if iNdEx >= l {
  24760. return io.ErrUnexpectedEOF
  24761. }
  24762. b := data[iNdEx]
  24763. iNdEx++
  24764. stringLen |= (uint64(b) & 0x7F) << shift
  24765. if b < 0x80 {
  24766. break
  24767. }
  24768. }
  24769. intStringLen := int(stringLen)
  24770. if intStringLen < 0 {
  24771. return ErrInvalidLengthGenerated
  24772. }
  24773. postIndex := iNdEx + intStringLen
  24774. if postIndex > l {
  24775. return io.ErrUnexpectedEOF
  24776. }
  24777. m.SelfLink = string(data[iNdEx:postIndex])
  24778. iNdEx = postIndex
  24779. case 5:
  24780. if wireType != 2 {
  24781. return fmt.Errorf("proto: wrong wireType = %d for field UID", wireType)
  24782. }
  24783. var stringLen uint64
  24784. for shift := uint(0); ; shift += 7 {
  24785. if shift >= 64 {
  24786. return ErrIntOverflowGenerated
  24787. }
  24788. if iNdEx >= l {
  24789. return io.ErrUnexpectedEOF
  24790. }
  24791. b := data[iNdEx]
  24792. iNdEx++
  24793. stringLen |= (uint64(b) & 0x7F) << shift
  24794. if b < 0x80 {
  24795. break
  24796. }
  24797. }
  24798. intStringLen := int(stringLen)
  24799. if intStringLen < 0 {
  24800. return ErrInvalidLengthGenerated
  24801. }
  24802. postIndex := iNdEx + intStringLen
  24803. if postIndex > l {
  24804. return io.ErrUnexpectedEOF
  24805. }
  24806. m.UID = k8s_io_kubernetes_pkg_types.UID(data[iNdEx:postIndex])
  24807. iNdEx = postIndex
  24808. case 6:
  24809. if wireType != 2 {
  24810. return fmt.Errorf("proto: wrong wireType = %d for field ResourceVersion", wireType)
  24811. }
  24812. var stringLen uint64
  24813. for shift := uint(0); ; shift += 7 {
  24814. if shift >= 64 {
  24815. return ErrIntOverflowGenerated
  24816. }
  24817. if iNdEx >= l {
  24818. return io.ErrUnexpectedEOF
  24819. }
  24820. b := data[iNdEx]
  24821. iNdEx++
  24822. stringLen |= (uint64(b) & 0x7F) << shift
  24823. if b < 0x80 {
  24824. break
  24825. }
  24826. }
  24827. intStringLen := int(stringLen)
  24828. if intStringLen < 0 {
  24829. return ErrInvalidLengthGenerated
  24830. }
  24831. postIndex := iNdEx + intStringLen
  24832. if postIndex > l {
  24833. return io.ErrUnexpectedEOF
  24834. }
  24835. m.ResourceVersion = string(data[iNdEx:postIndex])
  24836. iNdEx = postIndex
  24837. case 7:
  24838. if wireType != 0 {
  24839. return fmt.Errorf("proto: wrong wireType = %d for field Generation", wireType)
  24840. }
  24841. m.Generation = 0
  24842. for shift := uint(0); ; shift += 7 {
  24843. if shift >= 64 {
  24844. return ErrIntOverflowGenerated
  24845. }
  24846. if iNdEx >= l {
  24847. return io.ErrUnexpectedEOF
  24848. }
  24849. b := data[iNdEx]
  24850. iNdEx++
  24851. m.Generation |= (int64(b) & 0x7F) << shift
  24852. if b < 0x80 {
  24853. break
  24854. }
  24855. }
  24856. case 8:
  24857. if wireType != 2 {
  24858. return fmt.Errorf("proto: wrong wireType = %d for field CreationTimestamp", wireType)
  24859. }
  24860. var msglen int
  24861. for shift := uint(0); ; shift += 7 {
  24862. if shift >= 64 {
  24863. return ErrIntOverflowGenerated
  24864. }
  24865. if iNdEx >= l {
  24866. return io.ErrUnexpectedEOF
  24867. }
  24868. b := data[iNdEx]
  24869. iNdEx++
  24870. msglen |= (int(b) & 0x7F) << shift
  24871. if b < 0x80 {
  24872. break
  24873. }
  24874. }
  24875. if msglen < 0 {
  24876. return ErrInvalidLengthGenerated
  24877. }
  24878. postIndex := iNdEx + msglen
  24879. if postIndex > l {
  24880. return io.ErrUnexpectedEOF
  24881. }
  24882. if err := m.CreationTimestamp.Unmarshal(data[iNdEx:postIndex]); err != nil {
  24883. return err
  24884. }
  24885. iNdEx = postIndex
  24886. case 9:
  24887. if wireType != 2 {
  24888. return fmt.Errorf("proto: wrong wireType = %d for field DeletionTimestamp", wireType)
  24889. }
  24890. var msglen int
  24891. for shift := uint(0); ; shift += 7 {
  24892. if shift >= 64 {
  24893. return ErrIntOverflowGenerated
  24894. }
  24895. if iNdEx >= l {
  24896. return io.ErrUnexpectedEOF
  24897. }
  24898. b := data[iNdEx]
  24899. iNdEx++
  24900. msglen |= (int(b) & 0x7F) << shift
  24901. if b < 0x80 {
  24902. break
  24903. }
  24904. }
  24905. if msglen < 0 {
  24906. return ErrInvalidLengthGenerated
  24907. }
  24908. postIndex := iNdEx + msglen
  24909. if postIndex > l {
  24910. return io.ErrUnexpectedEOF
  24911. }
  24912. if m.DeletionTimestamp == nil {
  24913. m.DeletionTimestamp = &k8s_io_kubernetes_pkg_api_unversioned.Time{}
  24914. }
  24915. if err := m.DeletionTimestamp.Unmarshal(data[iNdEx:postIndex]); err != nil {
  24916. return err
  24917. }
  24918. iNdEx = postIndex
  24919. case 10:
  24920. if wireType != 0 {
  24921. return fmt.Errorf("proto: wrong wireType = %d for field DeletionGracePeriodSeconds", wireType)
  24922. }
  24923. var v int64
  24924. for shift := uint(0); ; shift += 7 {
  24925. if shift >= 64 {
  24926. return ErrIntOverflowGenerated
  24927. }
  24928. if iNdEx >= l {
  24929. return io.ErrUnexpectedEOF
  24930. }
  24931. b := data[iNdEx]
  24932. iNdEx++
  24933. v |= (int64(b) & 0x7F) << shift
  24934. if b < 0x80 {
  24935. break
  24936. }
  24937. }
  24938. m.DeletionGracePeriodSeconds = &v
  24939. case 11:
  24940. if wireType != 2 {
  24941. return fmt.Errorf("proto: wrong wireType = %d for field Labels", wireType)
  24942. }
  24943. var msglen int
  24944. for shift := uint(0); ; shift += 7 {
  24945. if shift >= 64 {
  24946. return ErrIntOverflowGenerated
  24947. }
  24948. if iNdEx >= l {
  24949. return io.ErrUnexpectedEOF
  24950. }
  24951. b := data[iNdEx]
  24952. iNdEx++
  24953. msglen |= (int(b) & 0x7F) << shift
  24954. if b < 0x80 {
  24955. break
  24956. }
  24957. }
  24958. if msglen < 0 {
  24959. return ErrInvalidLengthGenerated
  24960. }
  24961. postIndex := iNdEx + msglen
  24962. if postIndex > l {
  24963. return io.ErrUnexpectedEOF
  24964. }
  24965. var keykey uint64
  24966. for shift := uint(0); ; shift += 7 {
  24967. if shift >= 64 {
  24968. return ErrIntOverflowGenerated
  24969. }
  24970. if iNdEx >= l {
  24971. return io.ErrUnexpectedEOF
  24972. }
  24973. b := data[iNdEx]
  24974. iNdEx++
  24975. keykey |= (uint64(b) & 0x7F) << shift
  24976. if b < 0x80 {
  24977. break
  24978. }
  24979. }
  24980. var stringLenmapkey uint64
  24981. for shift := uint(0); ; shift += 7 {
  24982. if shift >= 64 {
  24983. return ErrIntOverflowGenerated
  24984. }
  24985. if iNdEx >= l {
  24986. return io.ErrUnexpectedEOF
  24987. }
  24988. b := data[iNdEx]
  24989. iNdEx++
  24990. stringLenmapkey |= (uint64(b) & 0x7F) << shift
  24991. if b < 0x80 {
  24992. break
  24993. }
  24994. }
  24995. intStringLenmapkey := int(stringLenmapkey)
  24996. if intStringLenmapkey < 0 {
  24997. return ErrInvalidLengthGenerated
  24998. }
  24999. postStringIndexmapkey := iNdEx + intStringLenmapkey
  25000. if postStringIndexmapkey > l {
  25001. return io.ErrUnexpectedEOF
  25002. }
  25003. mapkey := string(data[iNdEx:postStringIndexmapkey])
  25004. iNdEx = postStringIndexmapkey
  25005. var valuekey uint64
  25006. for shift := uint(0); ; shift += 7 {
  25007. if shift >= 64 {
  25008. return ErrIntOverflowGenerated
  25009. }
  25010. if iNdEx >= l {
  25011. return io.ErrUnexpectedEOF
  25012. }
  25013. b := data[iNdEx]
  25014. iNdEx++
  25015. valuekey |= (uint64(b) & 0x7F) << shift
  25016. if b < 0x80 {
  25017. break
  25018. }
  25019. }
  25020. var stringLenmapvalue uint64
  25021. for shift := uint(0); ; shift += 7 {
  25022. if shift >= 64 {
  25023. return ErrIntOverflowGenerated
  25024. }
  25025. if iNdEx >= l {
  25026. return io.ErrUnexpectedEOF
  25027. }
  25028. b := data[iNdEx]
  25029. iNdEx++
  25030. stringLenmapvalue |= (uint64(b) & 0x7F) << shift
  25031. if b < 0x80 {
  25032. break
  25033. }
  25034. }
  25035. intStringLenmapvalue := int(stringLenmapvalue)
  25036. if intStringLenmapvalue < 0 {
  25037. return ErrInvalidLengthGenerated
  25038. }
  25039. postStringIndexmapvalue := iNdEx + intStringLenmapvalue
  25040. if postStringIndexmapvalue > l {
  25041. return io.ErrUnexpectedEOF
  25042. }
  25043. mapvalue := string(data[iNdEx:postStringIndexmapvalue])
  25044. iNdEx = postStringIndexmapvalue
  25045. if m.Labels == nil {
  25046. m.Labels = make(map[string]string)
  25047. }
  25048. m.Labels[mapkey] = mapvalue
  25049. iNdEx = postIndex
  25050. case 12:
  25051. if wireType != 2 {
  25052. return fmt.Errorf("proto: wrong wireType = %d for field Annotations", wireType)
  25053. }
  25054. var msglen int
  25055. for shift := uint(0); ; shift += 7 {
  25056. if shift >= 64 {
  25057. return ErrIntOverflowGenerated
  25058. }
  25059. if iNdEx >= l {
  25060. return io.ErrUnexpectedEOF
  25061. }
  25062. b := data[iNdEx]
  25063. iNdEx++
  25064. msglen |= (int(b) & 0x7F) << shift
  25065. if b < 0x80 {
  25066. break
  25067. }
  25068. }
  25069. if msglen < 0 {
  25070. return ErrInvalidLengthGenerated
  25071. }
  25072. postIndex := iNdEx + msglen
  25073. if postIndex > l {
  25074. return io.ErrUnexpectedEOF
  25075. }
  25076. var keykey uint64
  25077. for shift := uint(0); ; shift += 7 {
  25078. if shift >= 64 {
  25079. return ErrIntOverflowGenerated
  25080. }
  25081. if iNdEx >= l {
  25082. return io.ErrUnexpectedEOF
  25083. }
  25084. b := data[iNdEx]
  25085. iNdEx++
  25086. keykey |= (uint64(b) & 0x7F) << shift
  25087. if b < 0x80 {
  25088. break
  25089. }
  25090. }
  25091. var stringLenmapkey uint64
  25092. for shift := uint(0); ; shift += 7 {
  25093. if shift >= 64 {
  25094. return ErrIntOverflowGenerated
  25095. }
  25096. if iNdEx >= l {
  25097. return io.ErrUnexpectedEOF
  25098. }
  25099. b := data[iNdEx]
  25100. iNdEx++
  25101. stringLenmapkey |= (uint64(b) & 0x7F) << shift
  25102. if b < 0x80 {
  25103. break
  25104. }
  25105. }
  25106. intStringLenmapkey := int(stringLenmapkey)
  25107. if intStringLenmapkey < 0 {
  25108. return ErrInvalidLengthGenerated
  25109. }
  25110. postStringIndexmapkey := iNdEx + intStringLenmapkey
  25111. if postStringIndexmapkey > l {
  25112. return io.ErrUnexpectedEOF
  25113. }
  25114. mapkey := string(data[iNdEx:postStringIndexmapkey])
  25115. iNdEx = postStringIndexmapkey
  25116. var valuekey uint64
  25117. for shift := uint(0); ; shift += 7 {
  25118. if shift >= 64 {
  25119. return ErrIntOverflowGenerated
  25120. }
  25121. if iNdEx >= l {
  25122. return io.ErrUnexpectedEOF
  25123. }
  25124. b := data[iNdEx]
  25125. iNdEx++
  25126. valuekey |= (uint64(b) & 0x7F) << shift
  25127. if b < 0x80 {
  25128. break
  25129. }
  25130. }
  25131. var stringLenmapvalue uint64
  25132. for shift := uint(0); ; shift += 7 {
  25133. if shift >= 64 {
  25134. return ErrIntOverflowGenerated
  25135. }
  25136. if iNdEx >= l {
  25137. return io.ErrUnexpectedEOF
  25138. }
  25139. b := data[iNdEx]
  25140. iNdEx++
  25141. stringLenmapvalue |= (uint64(b) & 0x7F) << shift
  25142. if b < 0x80 {
  25143. break
  25144. }
  25145. }
  25146. intStringLenmapvalue := int(stringLenmapvalue)
  25147. if intStringLenmapvalue < 0 {
  25148. return ErrInvalidLengthGenerated
  25149. }
  25150. postStringIndexmapvalue := iNdEx + intStringLenmapvalue
  25151. if postStringIndexmapvalue > l {
  25152. return io.ErrUnexpectedEOF
  25153. }
  25154. mapvalue := string(data[iNdEx:postStringIndexmapvalue])
  25155. iNdEx = postStringIndexmapvalue
  25156. if m.Annotations == nil {
  25157. m.Annotations = make(map[string]string)
  25158. }
  25159. m.Annotations[mapkey] = mapvalue
  25160. iNdEx = postIndex
  25161. case 13:
  25162. if wireType != 2 {
  25163. return fmt.Errorf("proto: wrong wireType = %d for field OwnerReferences", wireType)
  25164. }
  25165. var msglen int
  25166. for shift := uint(0); ; shift += 7 {
  25167. if shift >= 64 {
  25168. return ErrIntOverflowGenerated
  25169. }
  25170. if iNdEx >= l {
  25171. return io.ErrUnexpectedEOF
  25172. }
  25173. b := data[iNdEx]
  25174. iNdEx++
  25175. msglen |= (int(b) & 0x7F) << shift
  25176. if b < 0x80 {
  25177. break
  25178. }
  25179. }
  25180. if msglen < 0 {
  25181. return ErrInvalidLengthGenerated
  25182. }
  25183. postIndex := iNdEx + msglen
  25184. if postIndex > l {
  25185. return io.ErrUnexpectedEOF
  25186. }
  25187. m.OwnerReferences = append(m.OwnerReferences, OwnerReference{})
  25188. if err := m.OwnerReferences[len(m.OwnerReferences)-1].Unmarshal(data[iNdEx:postIndex]); err != nil {
  25189. return err
  25190. }
  25191. iNdEx = postIndex
  25192. case 14:
  25193. if wireType != 2 {
  25194. return fmt.Errorf("proto: wrong wireType = %d for field Finalizers", wireType)
  25195. }
  25196. var stringLen uint64
  25197. for shift := uint(0); ; shift += 7 {
  25198. if shift >= 64 {
  25199. return ErrIntOverflowGenerated
  25200. }
  25201. if iNdEx >= l {
  25202. return io.ErrUnexpectedEOF
  25203. }
  25204. b := data[iNdEx]
  25205. iNdEx++
  25206. stringLen |= (uint64(b) & 0x7F) << shift
  25207. if b < 0x80 {
  25208. break
  25209. }
  25210. }
  25211. intStringLen := int(stringLen)
  25212. if intStringLen < 0 {
  25213. return ErrInvalidLengthGenerated
  25214. }
  25215. postIndex := iNdEx + intStringLen
  25216. if postIndex > l {
  25217. return io.ErrUnexpectedEOF
  25218. }
  25219. m.Finalizers = append(m.Finalizers, string(data[iNdEx:postIndex]))
  25220. iNdEx = postIndex
  25221. case 15:
  25222. if wireType != 2 {
  25223. return fmt.Errorf("proto: wrong wireType = %d for field ClusterName", wireType)
  25224. }
  25225. var stringLen uint64
  25226. for shift := uint(0); ; shift += 7 {
  25227. if shift >= 64 {
  25228. return ErrIntOverflowGenerated
  25229. }
  25230. if iNdEx >= l {
  25231. return io.ErrUnexpectedEOF
  25232. }
  25233. b := data[iNdEx]
  25234. iNdEx++
  25235. stringLen |= (uint64(b) & 0x7F) << shift
  25236. if b < 0x80 {
  25237. break
  25238. }
  25239. }
  25240. intStringLen := int(stringLen)
  25241. if intStringLen < 0 {
  25242. return ErrInvalidLengthGenerated
  25243. }
  25244. postIndex := iNdEx + intStringLen
  25245. if postIndex > l {
  25246. return io.ErrUnexpectedEOF
  25247. }
  25248. m.ClusterName = string(data[iNdEx:postIndex])
  25249. iNdEx = postIndex
  25250. default:
  25251. iNdEx = preIndex
  25252. skippy, err := skipGenerated(data[iNdEx:])
  25253. if err != nil {
  25254. return err
  25255. }
  25256. if skippy < 0 {
  25257. return ErrInvalidLengthGenerated
  25258. }
  25259. if (iNdEx + skippy) > l {
  25260. return io.ErrUnexpectedEOF
  25261. }
  25262. iNdEx += skippy
  25263. }
  25264. }
  25265. if iNdEx > l {
  25266. return io.ErrUnexpectedEOF
  25267. }
  25268. return nil
  25269. }
  25270. func (m *ObjectReference) Unmarshal(data []byte) error {
  25271. l := len(data)
  25272. iNdEx := 0
  25273. for iNdEx < l {
  25274. preIndex := iNdEx
  25275. var wire uint64
  25276. for shift := uint(0); ; shift += 7 {
  25277. if shift >= 64 {
  25278. return ErrIntOverflowGenerated
  25279. }
  25280. if iNdEx >= l {
  25281. return io.ErrUnexpectedEOF
  25282. }
  25283. b := data[iNdEx]
  25284. iNdEx++
  25285. wire |= (uint64(b) & 0x7F) << shift
  25286. if b < 0x80 {
  25287. break
  25288. }
  25289. }
  25290. fieldNum := int32(wire >> 3)
  25291. wireType := int(wire & 0x7)
  25292. if wireType == 4 {
  25293. return fmt.Errorf("proto: ObjectReference: wiretype end group for non-group")
  25294. }
  25295. if fieldNum <= 0 {
  25296. return fmt.Errorf("proto: ObjectReference: illegal tag %d (wire type %d)", fieldNum, wire)
  25297. }
  25298. switch fieldNum {
  25299. case 1:
  25300. if wireType != 2 {
  25301. return fmt.Errorf("proto: wrong wireType = %d for field Kind", wireType)
  25302. }
  25303. var stringLen uint64
  25304. for shift := uint(0); ; shift += 7 {
  25305. if shift >= 64 {
  25306. return ErrIntOverflowGenerated
  25307. }
  25308. if iNdEx >= l {
  25309. return io.ErrUnexpectedEOF
  25310. }
  25311. b := data[iNdEx]
  25312. iNdEx++
  25313. stringLen |= (uint64(b) & 0x7F) << shift
  25314. if b < 0x80 {
  25315. break
  25316. }
  25317. }
  25318. intStringLen := int(stringLen)
  25319. if intStringLen < 0 {
  25320. return ErrInvalidLengthGenerated
  25321. }
  25322. postIndex := iNdEx + intStringLen
  25323. if postIndex > l {
  25324. return io.ErrUnexpectedEOF
  25325. }
  25326. m.Kind = string(data[iNdEx:postIndex])
  25327. iNdEx = postIndex
  25328. case 2:
  25329. if wireType != 2 {
  25330. return fmt.Errorf("proto: wrong wireType = %d for field Namespace", wireType)
  25331. }
  25332. var stringLen uint64
  25333. for shift := uint(0); ; shift += 7 {
  25334. if shift >= 64 {
  25335. return ErrIntOverflowGenerated
  25336. }
  25337. if iNdEx >= l {
  25338. return io.ErrUnexpectedEOF
  25339. }
  25340. b := data[iNdEx]
  25341. iNdEx++
  25342. stringLen |= (uint64(b) & 0x7F) << shift
  25343. if b < 0x80 {
  25344. break
  25345. }
  25346. }
  25347. intStringLen := int(stringLen)
  25348. if intStringLen < 0 {
  25349. return ErrInvalidLengthGenerated
  25350. }
  25351. postIndex := iNdEx + intStringLen
  25352. if postIndex > l {
  25353. return io.ErrUnexpectedEOF
  25354. }
  25355. m.Namespace = string(data[iNdEx:postIndex])
  25356. iNdEx = postIndex
  25357. case 3:
  25358. if wireType != 2 {
  25359. return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
  25360. }
  25361. var stringLen uint64
  25362. for shift := uint(0); ; shift += 7 {
  25363. if shift >= 64 {
  25364. return ErrIntOverflowGenerated
  25365. }
  25366. if iNdEx >= l {
  25367. return io.ErrUnexpectedEOF
  25368. }
  25369. b := data[iNdEx]
  25370. iNdEx++
  25371. stringLen |= (uint64(b) & 0x7F) << shift
  25372. if b < 0x80 {
  25373. break
  25374. }
  25375. }
  25376. intStringLen := int(stringLen)
  25377. if intStringLen < 0 {
  25378. return ErrInvalidLengthGenerated
  25379. }
  25380. postIndex := iNdEx + intStringLen
  25381. if postIndex > l {
  25382. return io.ErrUnexpectedEOF
  25383. }
  25384. m.Name = string(data[iNdEx:postIndex])
  25385. iNdEx = postIndex
  25386. case 4:
  25387. if wireType != 2 {
  25388. return fmt.Errorf("proto: wrong wireType = %d for field UID", wireType)
  25389. }
  25390. var stringLen uint64
  25391. for shift := uint(0); ; shift += 7 {
  25392. if shift >= 64 {
  25393. return ErrIntOverflowGenerated
  25394. }
  25395. if iNdEx >= l {
  25396. return io.ErrUnexpectedEOF
  25397. }
  25398. b := data[iNdEx]
  25399. iNdEx++
  25400. stringLen |= (uint64(b) & 0x7F) << shift
  25401. if b < 0x80 {
  25402. break
  25403. }
  25404. }
  25405. intStringLen := int(stringLen)
  25406. if intStringLen < 0 {
  25407. return ErrInvalidLengthGenerated
  25408. }
  25409. postIndex := iNdEx + intStringLen
  25410. if postIndex > l {
  25411. return io.ErrUnexpectedEOF
  25412. }
  25413. m.UID = k8s_io_kubernetes_pkg_types.UID(data[iNdEx:postIndex])
  25414. iNdEx = postIndex
  25415. case 5:
  25416. if wireType != 2 {
  25417. return fmt.Errorf("proto: wrong wireType = %d for field APIVersion", wireType)
  25418. }
  25419. var stringLen uint64
  25420. for shift := uint(0); ; shift += 7 {
  25421. if shift >= 64 {
  25422. return ErrIntOverflowGenerated
  25423. }
  25424. if iNdEx >= l {
  25425. return io.ErrUnexpectedEOF
  25426. }
  25427. b := data[iNdEx]
  25428. iNdEx++
  25429. stringLen |= (uint64(b) & 0x7F) << shift
  25430. if b < 0x80 {
  25431. break
  25432. }
  25433. }
  25434. intStringLen := int(stringLen)
  25435. if intStringLen < 0 {
  25436. return ErrInvalidLengthGenerated
  25437. }
  25438. postIndex := iNdEx + intStringLen
  25439. if postIndex > l {
  25440. return io.ErrUnexpectedEOF
  25441. }
  25442. m.APIVersion = string(data[iNdEx:postIndex])
  25443. iNdEx = postIndex
  25444. case 6:
  25445. if wireType != 2 {
  25446. return fmt.Errorf("proto: wrong wireType = %d for field ResourceVersion", wireType)
  25447. }
  25448. var stringLen uint64
  25449. for shift := uint(0); ; shift += 7 {
  25450. if shift >= 64 {
  25451. return ErrIntOverflowGenerated
  25452. }
  25453. if iNdEx >= l {
  25454. return io.ErrUnexpectedEOF
  25455. }
  25456. b := data[iNdEx]
  25457. iNdEx++
  25458. stringLen |= (uint64(b) & 0x7F) << shift
  25459. if b < 0x80 {
  25460. break
  25461. }
  25462. }
  25463. intStringLen := int(stringLen)
  25464. if intStringLen < 0 {
  25465. return ErrInvalidLengthGenerated
  25466. }
  25467. postIndex := iNdEx + intStringLen
  25468. if postIndex > l {
  25469. return io.ErrUnexpectedEOF
  25470. }
  25471. m.ResourceVersion = string(data[iNdEx:postIndex])
  25472. iNdEx = postIndex
  25473. case 7:
  25474. if wireType != 2 {
  25475. return fmt.Errorf("proto: wrong wireType = %d for field FieldPath", wireType)
  25476. }
  25477. var stringLen uint64
  25478. for shift := uint(0); ; shift += 7 {
  25479. if shift >= 64 {
  25480. return ErrIntOverflowGenerated
  25481. }
  25482. if iNdEx >= l {
  25483. return io.ErrUnexpectedEOF
  25484. }
  25485. b := data[iNdEx]
  25486. iNdEx++
  25487. stringLen |= (uint64(b) & 0x7F) << shift
  25488. if b < 0x80 {
  25489. break
  25490. }
  25491. }
  25492. intStringLen := int(stringLen)
  25493. if intStringLen < 0 {
  25494. return ErrInvalidLengthGenerated
  25495. }
  25496. postIndex := iNdEx + intStringLen
  25497. if postIndex > l {
  25498. return io.ErrUnexpectedEOF
  25499. }
  25500. m.FieldPath = string(data[iNdEx:postIndex])
  25501. iNdEx = postIndex
  25502. default:
  25503. iNdEx = preIndex
  25504. skippy, err := skipGenerated(data[iNdEx:])
  25505. if err != nil {
  25506. return err
  25507. }
  25508. if skippy < 0 {
  25509. return ErrInvalidLengthGenerated
  25510. }
  25511. if (iNdEx + skippy) > l {
  25512. return io.ErrUnexpectedEOF
  25513. }
  25514. iNdEx += skippy
  25515. }
  25516. }
  25517. if iNdEx > l {
  25518. return io.ErrUnexpectedEOF
  25519. }
  25520. return nil
  25521. }
  25522. func (m *OwnerReference) Unmarshal(data []byte) error {
  25523. l := len(data)
  25524. iNdEx := 0
  25525. for iNdEx < l {
  25526. preIndex := iNdEx
  25527. var wire uint64
  25528. for shift := uint(0); ; shift += 7 {
  25529. if shift >= 64 {
  25530. return ErrIntOverflowGenerated
  25531. }
  25532. if iNdEx >= l {
  25533. return io.ErrUnexpectedEOF
  25534. }
  25535. b := data[iNdEx]
  25536. iNdEx++
  25537. wire |= (uint64(b) & 0x7F) << shift
  25538. if b < 0x80 {
  25539. break
  25540. }
  25541. }
  25542. fieldNum := int32(wire >> 3)
  25543. wireType := int(wire & 0x7)
  25544. if wireType == 4 {
  25545. return fmt.Errorf("proto: OwnerReference: wiretype end group for non-group")
  25546. }
  25547. if fieldNum <= 0 {
  25548. return fmt.Errorf("proto: OwnerReference: illegal tag %d (wire type %d)", fieldNum, wire)
  25549. }
  25550. switch fieldNum {
  25551. case 1:
  25552. if wireType != 2 {
  25553. return fmt.Errorf("proto: wrong wireType = %d for field Kind", wireType)
  25554. }
  25555. var stringLen uint64
  25556. for shift := uint(0); ; shift += 7 {
  25557. if shift >= 64 {
  25558. return ErrIntOverflowGenerated
  25559. }
  25560. if iNdEx >= l {
  25561. return io.ErrUnexpectedEOF
  25562. }
  25563. b := data[iNdEx]
  25564. iNdEx++
  25565. stringLen |= (uint64(b) & 0x7F) << shift
  25566. if b < 0x80 {
  25567. break
  25568. }
  25569. }
  25570. intStringLen := int(stringLen)
  25571. if intStringLen < 0 {
  25572. return ErrInvalidLengthGenerated
  25573. }
  25574. postIndex := iNdEx + intStringLen
  25575. if postIndex > l {
  25576. return io.ErrUnexpectedEOF
  25577. }
  25578. m.Kind = string(data[iNdEx:postIndex])
  25579. iNdEx = postIndex
  25580. case 3:
  25581. if wireType != 2 {
  25582. return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
  25583. }
  25584. var stringLen uint64
  25585. for shift := uint(0); ; shift += 7 {
  25586. if shift >= 64 {
  25587. return ErrIntOverflowGenerated
  25588. }
  25589. if iNdEx >= l {
  25590. return io.ErrUnexpectedEOF
  25591. }
  25592. b := data[iNdEx]
  25593. iNdEx++
  25594. stringLen |= (uint64(b) & 0x7F) << shift
  25595. if b < 0x80 {
  25596. break
  25597. }
  25598. }
  25599. intStringLen := int(stringLen)
  25600. if intStringLen < 0 {
  25601. return ErrInvalidLengthGenerated
  25602. }
  25603. postIndex := iNdEx + intStringLen
  25604. if postIndex > l {
  25605. return io.ErrUnexpectedEOF
  25606. }
  25607. m.Name = string(data[iNdEx:postIndex])
  25608. iNdEx = postIndex
  25609. case 4:
  25610. if wireType != 2 {
  25611. return fmt.Errorf("proto: wrong wireType = %d for field UID", wireType)
  25612. }
  25613. var stringLen uint64
  25614. for shift := uint(0); ; shift += 7 {
  25615. if shift >= 64 {
  25616. return ErrIntOverflowGenerated
  25617. }
  25618. if iNdEx >= l {
  25619. return io.ErrUnexpectedEOF
  25620. }
  25621. b := data[iNdEx]
  25622. iNdEx++
  25623. stringLen |= (uint64(b) & 0x7F) << shift
  25624. if b < 0x80 {
  25625. break
  25626. }
  25627. }
  25628. intStringLen := int(stringLen)
  25629. if intStringLen < 0 {
  25630. return ErrInvalidLengthGenerated
  25631. }
  25632. postIndex := iNdEx + intStringLen
  25633. if postIndex > l {
  25634. return io.ErrUnexpectedEOF
  25635. }
  25636. m.UID = k8s_io_kubernetes_pkg_types.UID(data[iNdEx:postIndex])
  25637. iNdEx = postIndex
  25638. case 5:
  25639. if wireType != 2 {
  25640. return fmt.Errorf("proto: wrong wireType = %d for field APIVersion", wireType)
  25641. }
  25642. var stringLen uint64
  25643. for shift := uint(0); ; shift += 7 {
  25644. if shift >= 64 {
  25645. return ErrIntOverflowGenerated
  25646. }
  25647. if iNdEx >= l {
  25648. return io.ErrUnexpectedEOF
  25649. }
  25650. b := data[iNdEx]
  25651. iNdEx++
  25652. stringLen |= (uint64(b) & 0x7F) << shift
  25653. if b < 0x80 {
  25654. break
  25655. }
  25656. }
  25657. intStringLen := int(stringLen)
  25658. if intStringLen < 0 {
  25659. return ErrInvalidLengthGenerated
  25660. }
  25661. postIndex := iNdEx + intStringLen
  25662. if postIndex > l {
  25663. return io.ErrUnexpectedEOF
  25664. }
  25665. m.APIVersion = string(data[iNdEx:postIndex])
  25666. iNdEx = postIndex
  25667. case 6:
  25668. if wireType != 0 {
  25669. return fmt.Errorf("proto: wrong wireType = %d for field Controller", wireType)
  25670. }
  25671. var v int
  25672. for shift := uint(0); ; shift += 7 {
  25673. if shift >= 64 {
  25674. return ErrIntOverflowGenerated
  25675. }
  25676. if iNdEx >= l {
  25677. return io.ErrUnexpectedEOF
  25678. }
  25679. b := data[iNdEx]
  25680. iNdEx++
  25681. v |= (int(b) & 0x7F) << shift
  25682. if b < 0x80 {
  25683. break
  25684. }
  25685. }
  25686. b := bool(v != 0)
  25687. m.Controller = &b
  25688. default:
  25689. iNdEx = preIndex
  25690. skippy, err := skipGenerated(data[iNdEx:])
  25691. if err != nil {
  25692. return err
  25693. }
  25694. if skippy < 0 {
  25695. return ErrInvalidLengthGenerated
  25696. }
  25697. if (iNdEx + skippy) > l {
  25698. return io.ErrUnexpectedEOF
  25699. }
  25700. iNdEx += skippy
  25701. }
  25702. }
  25703. if iNdEx > l {
  25704. return io.ErrUnexpectedEOF
  25705. }
  25706. return nil
  25707. }
  25708. func (m *PersistentVolume) Unmarshal(data []byte) error {
  25709. l := len(data)
  25710. iNdEx := 0
  25711. for iNdEx < l {
  25712. preIndex := iNdEx
  25713. var wire uint64
  25714. for shift := uint(0); ; shift += 7 {
  25715. if shift >= 64 {
  25716. return ErrIntOverflowGenerated
  25717. }
  25718. if iNdEx >= l {
  25719. return io.ErrUnexpectedEOF
  25720. }
  25721. b := data[iNdEx]
  25722. iNdEx++
  25723. wire |= (uint64(b) & 0x7F) << shift
  25724. if b < 0x80 {
  25725. break
  25726. }
  25727. }
  25728. fieldNum := int32(wire >> 3)
  25729. wireType := int(wire & 0x7)
  25730. if wireType == 4 {
  25731. return fmt.Errorf("proto: PersistentVolume: wiretype end group for non-group")
  25732. }
  25733. if fieldNum <= 0 {
  25734. return fmt.Errorf("proto: PersistentVolume: illegal tag %d (wire type %d)", fieldNum, wire)
  25735. }
  25736. switch fieldNum {
  25737. case 1:
  25738. if wireType != 2 {
  25739. return fmt.Errorf("proto: wrong wireType = %d for field ObjectMeta", wireType)
  25740. }
  25741. var msglen int
  25742. for shift := uint(0); ; shift += 7 {
  25743. if shift >= 64 {
  25744. return ErrIntOverflowGenerated
  25745. }
  25746. if iNdEx >= l {
  25747. return io.ErrUnexpectedEOF
  25748. }
  25749. b := data[iNdEx]
  25750. iNdEx++
  25751. msglen |= (int(b) & 0x7F) << shift
  25752. if b < 0x80 {
  25753. break
  25754. }
  25755. }
  25756. if msglen < 0 {
  25757. return ErrInvalidLengthGenerated
  25758. }
  25759. postIndex := iNdEx + msglen
  25760. if postIndex > l {
  25761. return io.ErrUnexpectedEOF
  25762. }
  25763. if err := m.ObjectMeta.Unmarshal(data[iNdEx:postIndex]); err != nil {
  25764. return err
  25765. }
  25766. iNdEx = postIndex
  25767. case 2:
  25768. if wireType != 2 {
  25769. return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType)
  25770. }
  25771. var msglen int
  25772. for shift := uint(0); ; shift += 7 {
  25773. if shift >= 64 {
  25774. return ErrIntOverflowGenerated
  25775. }
  25776. if iNdEx >= l {
  25777. return io.ErrUnexpectedEOF
  25778. }
  25779. b := data[iNdEx]
  25780. iNdEx++
  25781. msglen |= (int(b) & 0x7F) << shift
  25782. if b < 0x80 {
  25783. break
  25784. }
  25785. }
  25786. if msglen < 0 {
  25787. return ErrInvalidLengthGenerated
  25788. }
  25789. postIndex := iNdEx + msglen
  25790. if postIndex > l {
  25791. return io.ErrUnexpectedEOF
  25792. }
  25793. if err := m.Spec.Unmarshal(data[iNdEx:postIndex]); err != nil {
  25794. return err
  25795. }
  25796. iNdEx = postIndex
  25797. case 3:
  25798. if wireType != 2 {
  25799. return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
  25800. }
  25801. var msglen int
  25802. for shift := uint(0); ; shift += 7 {
  25803. if shift >= 64 {
  25804. return ErrIntOverflowGenerated
  25805. }
  25806. if iNdEx >= l {
  25807. return io.ErrUnexpectedEOF
  25808. }
  25809. b := data[iNdEx]
  25810. iNdEx++
  25811. msglen |= (int(b) & 0x7F) << shift
  25812. if b < 0x80 {
  25813. break
  25814. }
  25815. }
  25816. if msglen < 0 {
  25817. return ErrInvalidLengthGenerated
  25818. }
  25819. postIndex := iNdEx + msglen
  25820. if postIndex > l {
  25821. return io.ErrUnexpectedEOF
  25822. }
  25823. if err := m.Status.Unmarshal(data[iNdEx:postIndex]); err != nil {
  25824. return err
  25825. }
  25826. iNdEx = postIndex
  25827. default:
  25828. iNdEx = preIndex
  25829. skippy, err := skipGenerated(data[iNdEx:])
  25830. if err != nil {
  25831. return err
  25832. }
  25833. if skippy < 0 {
  25834. return ErrInvalidLengthGenerated
  25835. }
  25836. if (iNdEx + skippy) > l {
  25837. return io.ErrUnexpectedEOF
  25838. }
  25839. iNdEx += skippy
  25840. }
  25841. }
  25842. if iNdEx > l {
  25843. return io.ErrUnexpectedEOF
  25844. }
  25845. return nil
  25846. }
  25847. func (m *PersistentVolumeClaim) Unmarshal(data []byte) error {
  25848. l := len(data)
  25849. iNdEx := 0
  25850. for iNdEx < l {
  25851. preIndex := iNdEx
  25852. var wire uint64
  25853. for shift := uint(0); ; shift += 7 {
  25854. if shift >= 64 {
  25855. return ErrIntOverflowGenerated
  25856. }
  25857. if iNdEx >= l {
  25858. return io.ErrUnexpectedEOF
  25859. }
  25860. b := data[iNdEx]
  25861. iNdEx++
  25862. wire |= (uint64(b) & 0x7F) << shift
  25863. if b < 0x80 {
  25864. break
  25865. }
  25866. }
  25867. fieldNum := int32(wire >> 3)
  25868. wireType := int(wire & 0x7)
  25869. if wireType == 4 {
  25870. return fmt.Errorf("proto: PersistentVolumeClaim: wiretype end group for non-group")
  25871. }
  25872. if fieldNum <= 0 {
  25873. return fmt.Errorf("proto: PersistentVolumeClaim: illegal tag %d (wire type %d)", fieldNum, wire)
  25874. }
  25875. switch fieldNum {
  25876. case 1:
  25877. if wireType != 2 {
  25878. return fmt.Errorf("proto: wrong wireType = %d for field ObjectMeta", wireType)
  25879. }
  25880. var msglen int
  25881. for shift := uint(0); ; shift += 7 {
  25882. if shift >= 64 {
  25883. return ErrIntOverflowGenerated
  25884. }
  25885. if iNdEx >= l {
  25886. return io.ErrUnexpectedEOF
  25887. }
  25888. b := data[iNdEx]
  25889. iNdEx++
  25890. msglen |= (int(b) & 0x7F) << shift
  25891. if b < 0x80 {
  25892. break
  25893. }
  25894. }
  25895. if msglen < 0 {
  25896. return ErrInvalidLengthGenerated
  25897. }
  25898. postIndex := iNdEx + msglen
  25899. if postIndex > l {
  25900. return io.ErrUnexpectedEOF
  25901. }
  25902. if err := m.ObjectMeta.Unmarshal(data[iNdEx:postIndex]); err != nil {
  25903. return err
  25904. }
  25905. iNdEx = postIndex
  25906. case 2:
  25907. if wireType != 2 {
  25908. return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType)
  25909. }
  25910. var msglen int
  25911. for shift := uint(0); ; shift += 7 {
  25912. if shift >= 64 {
  25913. return ErrIntOverflowGenerated
  25914. }
  25915. if iNdEx >= l {
  25916. return io.ErrUnexpectedEOF
  25917. }
  25918. b := data[iNdEx]
  25919. iNdEx++
  25920. msglen |= (int(b) & 0x7F) << shift
  25921. if b < 0x80 {
  25922. break
  25923. }
  25924. }
  25925. if msglen < 0 {
  25926. return ErrInvalidLengthGenerated
  25927. }
  25928. postIndex := iNdEx + msglen
  25929. if postIndex > l {
  25930. return io.ErrUnexpectedEOF
  25931. }
  25932. if err := m.Spec.Unmarshal(data[iNdEx:postIndex]); err != nil {
  25933. return err
  25934. }
  25935. iNdEx = postIndex
  25936. case 3:
  25937. if wireType != 2 {
  25938. return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
  25939. }
  25940. var msglen int
  25941. for shift := uint(0); ; shift += 7 {
  25942. if shift >= 64 {
  25943. return ErrIntOverflowGenerated
  25944. }
  25945. if iNdEx >= l {
  25946. return io.ErrUnexpectedEOF
  25947. }
  25948. b := data[iNdEx]
  25949. iNdEx++
  25950. msglen |= (int(b) & 0x7F) << shift
  25951. if b < 0x80 {
  25952. break
  25953. }
  25954. }
  25955. if msglen < 0 {
  25956. return ErrInvalidLengthGenerated
  25957. }
  25958. postIndex := iNdEx + msglen
  25959. if postIndex > l {
  25960. return io.ErrUnexpectedEOF
  25961. }
  25962. if err := m.Status.Unmarshal(data[iNdEx:postIndex]); err != nil {
  25963. return err
  25964. }
  25965. iNdEx = postIndex
  25966. default:
  25967. iNdEx = preIndex
  25968. skippy, err := skipGenerated(data[iNdEx:])
  25969. if err != nil {
  25970. return err
  25971. }
  25972. if skippy < 0 {
  25973. return ErrInvalidLengthGenerated
  25974. }
  25975. if (iNdEx + skippy) > l {
  25976. return io.ErrUnexpectedEOF
  25977. }
  25978. iNdEx += skippy
  25979. }
  25980. }
  25981. if iNdEx > l {
  25982. return io.ErrUnexpectedEOF
  25983. }
  25984. return nil
  25985. }
  25986. func (m *PersistentVolumeClaimList) Unmarshal(data []byte) error {
  25987. l := len(data)
  25988. iNdEx := 0
  25989. for iNdEx < l {
  25990. preIndex := iNdEx
  25991. var wire uint64
  25992. for shift := uint(0); ; shift += 7 {
  25993. if shift >= 64 {
  25994. return ErrIntOverflowGenerated
  25995. }
  25996. if iNdEx >= l {
  25997. return io.ErrUnexpectedEOF
  25998. }
  25999. b := data[iNdEx]
  26000. iNdEx++
  26001. wire |= (uint64(b) & 0x7F) << shift
  26002. if b < 0x80 {
  26003. break
  26004. }
  26005. }
  26006. fieldNum := int32(wire >> 3)
  26007. wireType := int(wire & 0x7)
  26008. if wireType == 4 {
  26009. return fmt.Errorf("proto: PersistentVolumeClaimList: wiretype end group for non-group")
  26010. }
  26011. if fieldNum <= 0 {
  26012. return fmt.Errorf("proto: PersistentVolumeClaimList: illegal tag %d (wire type %d)", fieldNum, wire)
  26013. }
  26014. switch fieldNum {
  26015. case 1:
  26016. if wireType != 2 {
  26017. return fmt.Errorf("proto: wrong wireType = %d for field ListMeta", wireType)
  26018. }
  26019. var msglen int
  26020. for shift := uint(0); ; shift += 7 {
  26021. if shift >= 64 {
  26022. return ErrIntOverflowGenerated
  26023. }
  26024. if iNdEx >= l {
  26025. return io.ErrUnexpectedEOF
  26026. }
  26027. b := data[iNdEx]
  26028. iNdEx++
  26029. msglen |= (int(b) & 0x7F) << shift
  26030. if b < 0x80 {
  26031. break
  26032. }
  26033. }
  26034. if msglen < 0 {
  26035. return ErrInvalidLengthGenerated
  26036. }
  26037. postIndex := iNdEx + msglen
  26038. if postIndex > l {
  26039. return io.ErrUnexpectedEOF
  26040. }
  26041. if err := m.ListMeta.Unmarshal(data[iNdEx:postIndex]); err != nil {
  26042. return err
  26043. }
  26044. iNdEx = postIndex
  26045. case 2:
  26046. if wireType != 2 {
  26047. return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType)
  26048. }
  26049. var msglen int
  26050. for shift := uint(0); ; shift += 7 {
  26051. if shift >= 64 {
  26052. return ErrIntOverflowGenerated
  26053. }
  26054. if iNdEx >= l {
  26055. return io.ErrUnexpectedEOF
  26056. }
  26057. b := data[iNdEx]
  26058. iNdEx++
  26059. msglen |= (int(b) & 0x7F) << shift
  26060. if b < 0x80 {
  26061. break
  26062. }
  26063. }
  26064. if msglen < 0 {
  26065. return ErrInvalidLengthGenerated
  26066. }
  26067. postIndex := iNdEx + msglen
  26068. if postIndex > l {
  26069. return io.ErrUnexpectedEOF
  26070. }
  26071. m.Items = append(m.Items, PersistentVolumeClaim{})
  26072. if err := m.Items[len(m.Items)-1].Unmarshal(data[iNdEx:postIndex]); err != nil {
  26073. return err
  26074. }
  26075. iNdEx = postIndex
  26076. default:
  26077. iNdEx = preIndex
  26078. skippy, err := skipGenerated(data[iNdEx:])
  26079. if err != nil {
  26080. return err
  26081. }
  26082. if skippy < 0 {
  26083. return ErrInvalidLengthGenerated
  26084. }
  26085. if (iNdEx + skippy) > l {
  26086. return io.ErrUnexpectedEOF
  26087. }
  26088. iNdEx += skippy
  26089. }
  26090. }
  26091. if iNdEx > l {
  26092. return io.ErrUnexpectedEOF
  26093. }
  26094. return nil
  26095. }
  26096. func (m *PersistentVolumeClaimSpec) Unmarshal(data []byte) error {
  26097. l := len(data)
  26098. iNdEx := 0
  26099. for iNdEx < l {
  26100. preIndex := iNdEx
  26101. var wire uint64
  26102. for shift := uint(0); ; shift += 7 {
  26103. if shift >= 64 {
  26104. return ErrIntOverflowGenerated
  26105. }
  26106. if iNdEx >= l {
  26107. return io.ErrUnexpectedEOF
  26108. }
  26109. b := data[iNdEx]
  26110. iNdEx++
  26111. wire |= (uint64(b) & 0x7F) << shift
  26112. if b < 0x80 {
  26113. break
  26114. }
  26115. }
  26116. fieldNum := int32(wire >> 3)
  26117. wireType := int(wire & 0x7)
  26118. if wireType == 4 {
  26119. return fmt.Errorf("proto: PersistentVolumeClaimSpec: wiretype end group for non-group")
  26120. }
  26121. if fieldNum <= 0 {
  26122. return fmt.Errorf("proto: PersistentVolumeClaimSpec: illegal tag %d (wire type %d)", fieldNum, wire)
  26123. }
  26124. switch fieldNum {
  26125. case 1:
  26126. if wireType != 2 {
  26127. return fmt.Errorf("proto: wrong wireType = %d for field AccessModes", wireType)
  26128. }
  26129. var stringLen uint64
  26130. for shift := uint(0); ; shift += 7 {
  26131. if shift >= 64 {
  26132. return ErrIntOverflowGenerated
  26133. }
  26134. if iNdEx >= l {
  26135. return io.ErrUnexpectedEOF
  26136. }
  26137. b := data[iNdEx]
  26138. iNdEx++
  26139. stringLen |= (uint64(b) & 0x7F) << shift
  26140. if b < 0x80 {
  26141. break
  26142. }
  26143. }
  26144. intStringLen := int(stringLen)
  26145. if intStringLen < 0 {
  26146. return ErrInvalidLengthGenerated
  26147. }
  26148. postIndex := iNdEx + intStringLen
  26149. if postIndex > l {
  26150. return io.ErrUnexpectedEOF
  26151. }
  26152. m.AccessModes = append(m.AccessModes, PersistentVolumeAccessMode(data[iNdEx:postIndex]))
  26153. iNdEx = postIndex
  26154. case 2:
  26155. if wireType != 2 {
  26156. return fmt.Errorf("proto: wrong wireType = %d for field Resources", wireType)
  26157. }
  26158. var msglen int
  26159. for shift := uint(0); ; shift += 7 {
  26160. if shift >= 64 {
  26161. return ErrIntOverflowGenerated
  26162. }
  26163. if iNdEx >= l {
  26164. return io.ErrUnexpectedEOF
  26165. }
  26166. b := data[iNdEx]
  26167. iNdEx++
  26168. msglen |= (int(b) & 0x7F) << shift
  26169. if b < 0x80 {
  26170. break
  26171. }
  26172. }
  26173. if msglen < 0 {
  26174. return ErrInvalidLengthGenerated
  26175. }
  26176. postIndex := iNdEx + msglen
  26177. if postIndex > l {
  26178. return io.ErrUnexpectedEOF
  26179. }
  26180. if err := m.Resources.Unmarshal(data[iNdEx:postIndex]); err != nil {
  26181. return err
  26182. }
  26183. iNdEx = postIndex
  26184. case 3:
  26185. if wireType != 2 {
  26186. return fmt.Errorf("proto: wrong wireType = %d for field VolumeName", wireType)
  26187. }
  26188. var stringLen uint64
  26189. for shift := uint(0); ; shift += 7 {
  26190. if shift >= 64 {
  26191. return ErrIntOverflowGenerated
  26192. }
  26193. if iNdEx >= l {
  26194. return io.ErrUnexpectedEOF
  26195. }
  26196. b := data[iNdEx]
  26197. iNdEx++
  26198. stringLen |= (uint64(b) & 0x7F) << shift
  26199. if b < 0x80 {
  26200. break
  26201. }
  26202. }
  26203. intStringLen := int(stringLen)
  26204. if intStringLen < 0 {
  26205. return ErrInvalidLengthGenerated
  26206. }
  26207. postIndex := iNdEx + intStringLen
  26208. if postIndex > l {
  26209. return io.ErrUnexpectedEOF
  26210. }
  26211. m.VolumeName = string(data[iNdEx:postIndex])
  26212. iNdEx = postIndex
  26213. case 4:
  26214. if wireType != 2 {
  26215. return fmt.Errorf("proto: wrong wireType = %d for field Selector", wireType)
  26216. }
  26217. var msglen int
  26218. for shift := uint(0); ; shift += 7 {
  26219. if shift >= 64 {
  26220. return ErrIntOverflowGenerated
  26221. }
  26222. if iNdEx >= l {
  26223. return io.ErrUnexpectedEOF
  26224. }
  26225. b := data[iNdEx]
  26226. iNdEx++
  26227. msglen |= (int(b) & 0x7F) << shift
  26228. if b < 0x80 {
  26229. break
  26230. }
  26231. }
  26232. if msglen < 0 {
  26233. return ErrInvalidLengthGenerated
  26234. }
  26235. postIndex := iNdEx + msglen
  26236. if postIndex > l {
  26237. return io.ErrUnexpectedEOF
  26238. }
  26239. if m.Selector == nil {
  26240. m.Selector = &k8s_io_kubernetes_pkg_api_unversioned.LabelSelector{}
  26241. }
  26242. if err := m.Selector.Unmarshal(data[iNdEx:postIndex]); err != nil {
  26243. return err
  26244. }
  26245. iNdEx = postIndex
  26246. default:
  26247. iNdEx = preIndex
  26248. skippy, err := skipGenerated(data[iNdEx:])
  26249. if err != nil {
  26250. return err
  26251. }
  26252. if skippy < 0 {
  26253. return ErrInvalidLengthGenerated
  26254. }
  26255. if (iNdEx + skippy) > l {
  26256. return io.ErrUnexpectedEOF
  26257. }
  26258. iNdEx += skippy
  26259. }
  26260. }
  26261. if iNdEx > l {
  26262. return io.ErrUnexpectedEOF
  26263. }
  26264. return nil
  26265. }
  26266. func (m *PersistentVolumeClaimStatus) Unmarshal(data []byte) error {
  26267. l := len(data)
  26268. iNdEx := 0
  26269. for iNdEx < l {
  26270. preIndex := iNdEx
  26271. var wire uint64
  26272. for shift := uint(0); ; shift += 7 {
  26273. if shift >= 64 {
  26274. return ErrIntOverflowGenerated
  26275. }
  26276. if iNdEx >= l {
  26277. return io.ErrUnexpectedEOF
  26278. }
  26279. b := data[iNdEx]
  26280. iNdEx++
  26281. wire |= (uint64(b) & 0x7F) << shift
  26282. if b < 0x80 {
  26283. break
  26284. }
  26285. }
  26286. fieldNum := int32(wire >> 3)
  26287. wireType := int(wire & 0x7)
  26288. if wireType == 4 {
  26289. return fmt.Errorf("proto: PersistentVolumeClaimStatus: wiretype end group for non-group")
  26290. }
  26291. if fieldNum <= 0 {
  26292. return fmt.Errorf("proto: PersistentVolumeClaimStatus: illegal tag %d (wire type %d)", fieldNum, wire)
  26293. }
  26294. switch fieldNum {
  26295. case 1:
  26296. if wireType != 2 {
  26297. return fmt.Errorf("proto: wrong wireType = %d for field Phase", wireType)
  26298. }
  26299. var stringLen uint64
  26300. for shift := uint(0); ; shift += 7 {
  26301. if shift >= 64 {
  26302. return ErrIntOverflowGenerated
  26303. }
  26304. if iNdEx >= l {
  26305. return io.ErrUnexpectedEOF
  26306. }
  26307. b := data[iNdEx]
  26308. iNdEx++
  26309. stringLen |= (uint64(b) & 0x7F) << shift
  26310. if b < 0x80 {
  26311. break
  26312. }
  26313. }
  26314. intStringLen := int(stringLen)
  26315. if intStringLen < 0 {
  26316. return ErrInvalidLengthGenerated
  26317. }
  26318. postIndex := iNdEx + intStringLen
  26319. if postIndex > l {
  26320. return io.ErrUnexpectedEOF
  26321. }
  26322. m.Phase = PersistentVolumeClaimPhase(data[iNdEx:postIndex])
  26323. iNdEx = postIndex
  26324. case 2:
  26325. if wireType != 2 {
  26326. return fmt.Errorf("proto: wrong wireType = %d for field AccessModes", wireType)
  26327. }
  26328. var stringLen uint64
  26329. for shift := uint(0); ; shift += 7 {
  26330. if shift >= 64 {
  26331. return ErrIntOverflowGenerated
  26332. }
  26333. if iNdEx >= l {
  26334. return io.ErrUnexpectedEOF
  26335. }
  26336. b := data[iNdEx]
  26337. iNdEx++
  26338. stringLen |= (uint64(b) & 0x7F) << shift
  26339. if b < 0x80 {
  26340. break
  26341. }
  26342. }
  26343. intStringLen := int(stringLen)
  26344. if intStringLen < 0 {
  26345. return ErrInvalidLengthGenerated
  26346. }
  26347. postIndex := iNdEx + intStringLen
  26348. if postIndex > l {
  26349. return io.ErrUnexpectedEOF
  26350. }
  26351. m.AccessModes = append(m.AccessModes, PersistentVolumeAccessMode(data[iNdEx:postIndex]))
  26352. iNdEx = postIndex
  26353. case 3:
  26354. if wireType != 2 {
  26355. return fmt.Errorf("proto: wrong wireType = %d for field Capacity", wireType)
  26356. }
  26357. var msglen int
  26358. for shift := uint(0); ; shift += 7 {
  26359. if shift >= 64 {
  26360. return ErrIntOverflowGenerated
  26361. }
  26362. if iNdEx >= l {
  26363. return io.ErrUnexpectedEOF
  26364. }
  26365. b := data[iNdEx]
  26366. iNdEx++
  26367. msglen |= (int(b) & 0x7F) << shift
  26368. if b < 0x80 {
  26369. break
  26370. }
  26371. }
  26372. if msglen < 0 {
  26373. return ErrInvalidLengthGenerated
  26374. }
  26375. postIndex := iNdEx + msglen
  26376. if postIndex > l {
  26377. return io.ErrUnexpectedEOF
  26378. }
  26379. var keykey uint64
  26380. for shift := uint(0); ; shift += 7 {
  26381. if shift >= 64 {
  26382. return ErrIntOverflowGenerated
  26383. }
  26384. if iNdEx >= l {
  26385. return io.ErrUnexpectedEOF
  26386. }
  26387. b := data[iNdEx]
  26388. iNdEx++
  26389. keykey |= (uint64(b) & 0x7F) << shift
  26390. if b < 0x80 {
  26391. break
  26392. }
  26393. }
  26394. var stringLenmapkey uint64
  26395. for shift := uint(0); ; shift += 7 {
  26396. if shift >= 64 {
  26397. return ErrIntOverflowGenerated
  26398. }
  26399. if iNdEx >= l {
  26400. return io.ErrUnexpectedEOF
  26401. }
  26402. b := data[iNdEx]
  26403. iNdEx++
  26404. stringLenmapkey |= (uint64(b) & 0x7F) << shift
  26405. if b < 0x80 {
  26406. break
  26407. }
  26408. }
  26409. intStringLenmapkey := int(stringLenmapkey)
  26410. if intStringLenmapkey < 0 {
  26411. return ErrInvalidLengthGenerated
  26412. }
  26413. postStringIndexmapkey := iNdEx + intStringLenmapkey
  26414. if postStringIndexmapkey > l {
  26415. return io.ErrUnexpectedEOF
  26416. }
  26417. mapkey := ResourceName(data[iNdEx:postStringIndexmapkey])
  26418. iNdEx = postStringIndexmapkey
  26419. var valuekey uint64
  26420. for shift := uint(0); ; shift += 7 {
  26421. if shift >= 64 {
  26422. return ErrIntOverflowGenerated
  26423. }
  26424. if iNdEx >= l {
  26425. return io.ErrUnexpectedEOF
  26426. }
  26427. b := data[iNdEx]
  26428. iNdEx++
  26429. valuekey |= (uint64(b) & 0x7F) << shift
  26430. if b < 0x80 {
  26431. break
  26432. }
  26433. }
  26434. var mapmsglen int
  26435. for shift := uint(0); ; shift += 7 {
  26436. if shift >= 64 {
  26437. return ErrIntOverflowGenerated
  26438. }
  26439. if iNdEx >= l {
  26440. return io.ErrUnexpectedEOF
  26441. }
  26442. b := data[iNdEx]
  26443. iNdEx++
  26444. mapmsglen |= (int(b) & 0x7F) << shift
  26445. if b < 0x80 {
  26446. break
  26447. }
  26448. }
  26449. if mapmsglen < 0 {
  26450. return ErrInvalidLengthGenerated
  26451. }
  26452. postmsgIndex := iNdEx + mapmsglen
  26453. if mapmsglen < 0 {
  26454. return ErrInvalidLengthGenerated
  26455. }
  26456. if postmsgIndex > l {
  26457. return io.ErrUnexpectedEOF
  26458. }
  26459. mapvalue := &k8s_io_kubernetes_pkg_api_resource.Quantity{}
  26460. if err := mapvalue.Unmarshal(data[iNdEx:postmsgIndex]); err != nil {
  26461. return err
  26462. }
  26463. iNdEx = postmsgIndex
  26464. if m.Capacity == nil {
  26465. m.Capacity = make(ResourceList)
  26466. }
  26467. m.Capacity[ResourceName(mapkey)] = *mapvalue
  26468. iNdEx = postIndex
  26469. default:
  26470. iNdEx = preIndex
  26471. skippy, err := skipGenerated(data[iNdEx:])
  26472. if err != nil {
  26473. return err
  26474. }
  26475. if skippy < 0 {
  26476. return ErrInvalidLengthGenerated
  26477. }
  26478. if (iNdEx + skippy) > l {
  26479. return io.ErrUnexpectedEOF
  26480. }
  26481. iNdEx += skippy
  26482. }
  26483. }
  26484. if iNdEx > l {
  26485. return io.ErrUnexpectedEOF
  26486. }
  26487. return nil
  26488. }
  26489. func (m *PersistentVolumeClaimVolumeSource) Unmarshal(data []byte) error {
  26490. l := len(data)
  26491. iNdEx := 0
  26492. for iNdEx < l {
  26493. preIndex := iNdEx
  26494. var wire uint64
  26495. for shift := uint(0); ; shift += 7 {
  26496. if shift >= 64 {
  26497. return ErrIntOverflowGenerated
  26498. }
  26499. if iNdEx >= l {
  26500. return io.ErrUnexpectedEOF
  26501. }
  26502. b := data[iNdEx]
  26503. iNdEx++
  26504. wire |= (uint64(b) & 0x7F) << shift
  26505. if b < 0x80 {
  26506. break
  26507. }
  26508. }
  26509. fieldNum := int32(wire >> 3)
  26510. wireType := int(wire & 0x7)
  26511. if wireType == 4 {
  26512. return fmt.Errorf("proto: PersistentVolumeClaimVolumeSource: wiretype end group for non-group")
  26513. }
  26514. if fieldNum <= 0 {
  26515. return fmt.Errorf("proto: PersistentVolumeClaimVolumeSource: illegal tag %d (wire type %d)", fieldNum, wire)
  26516. }
  26517. switch fieldNum {
  26518. case 1:
  26519. if wireType != 2 {
  26520. return fmt.Errorf("proto: wrong wireType = %d for field ClaimName", wireType)
  26521. }
  26522. var stringLen uint64
  26523. for shift := uint(0); ; shift += 7 {
  26524. if shift >= 64 {
  26525. return ErrIntOverflowGenerated
  26526. }
  26527. if iNdEx >= l {
  26528. return io.ErrUnexpectedEOF
  26529. }
  26530. b := data[iNdEx]
  26531. iNdEx++
  26532. stringLen |= (uint64(b) & 0x7F) << shift
  26533. if b < 0x80 {
  26534. break
  26535. }
  26536. }
  26537. intStringLen := int(stringLen)
  26538. if intStringLen < 0 {
  26539. return ErrInvalidLengthGenerated
  26540. }
  26541. postIndex := iNdEx + intStringLen
  26542. if postIndex > l {
  26543. return io.ErrUnexpectedEOF
  26544. }
  26545. m.ClaimName = string(data[iNdEx:postIndex])
  26546. iNdEx = postIndex
  26547. case 2:
  26548. if wireType != 0 {
  26549. return fmt.Errorf("proto: wrong wireType = %d for field ReadOnly", wireType)
  26550. }
  26551. var v int
  26552. for shift := uint(0); ; shift += 7 {
  26553. if shift >= 64 {
  26554. return ErrIntOverflowGenerated
  26555. }
  26556. if iNdEx >= l {
  26557. return io.ErrUnexpectedEOF
  26558. }
  26559. b := data[iNdEx]
  26560. iNdEx++
  26561. v |= (int(b) & 0x7F) << shift
  26562. if b < 0x80 {
  26563. break
  26564. }
  26565. }
  26566. m.ReadOnly = bool(v != 0)
  26567. default:
  26568. iNdEx = preIndex
  26569. skippy, err := skipGenerated(data[iNdEx:])
  26570. if err != nil {
  26571. return err
  26572. }
  26573. if skippy < 0 {
  26574. return ErrInvalidLengthGenerated
  26575. }
  26576. if (iNdEx + skippy) > l {
  26577. return io.ErrUnexpectedEOF
  26578. }
  26579. iNdEx += skippy
  26580. }
  26581. }
  26582. if iNdEx > l {
  26583. return io.ErrUnexpectedEOF
  26584. }
  26585. return nil
  26586. }
  26587. func (m *PersistentVolumeList) Unmarshal(data []byte) error {
  26588. l := len(data)
  26589. iNdEx := 0
  26590. for iNdEx < l {
  26591. preIndex := iNdEx
  26592. var wire uint64
  26593. for shift := uint(0); ; shift += 7 {
  26594. if shift >= 64 {
  26595. return ErrIntOverflowGenerated
  26596. }
  26597. if iNdEx >= l {
  26598. return io.ErrUnexpectedEOF
  26599. }
  26600. b := data[iNdEx]
  26601. iNdEx++
  26602. wire |= (uint64(b) & 0x7F) << shift
  26603. if b < 0x80 {
  26604. break
  26605. }
  26606. }
  26607. fieldNum := int32(wire >> 3)
  26608. wireType := int(wire & 0x7)
  26609. if wireType == 4 {
  26610. return fmt.Errorf("proto: PersistentVolumeList: wiretype end group for non-group")
  26611. }
  26612. if fieldNum <= 0 {
  26613. return fmt.Errorf("proto: PersistentVolumeList: illegal tag %d (wire type %d)", fieldNum, wire)
  26614. }
  26615. switch fieldNum {
  26616. case 1:
  26617. if wireType != 2 {
  26618. return fmt.Errorf("proto: wrong wireType = %d for field ListMeta", wireType)
  26619. }
  26620. var msglen int
  26621. for shift := uint(0); ; shift += 7 {
  26622. if shift >= 64 {
  26623. return ErrIntOverflowGenerated
  26624. }
  26625. if iNdEx >= l {
  26626. return io.ErrUnexpectedEOF
  26627. }
  26628. b := data[iNdEx]
  26629. iNdEx++
  26630. msglen |= (int(b) & 0x7F) << shift
  26631. if b < 0x80 {
  26632. break
  26633. }
  26634. }
  26635. if msglen < 0 {
  26636. return ErrInvalidLengthGenerated
  26637. }
  26638. postIndex := iNdEx + msglen
  26639. if postIndex > l {
  26640. return io.ErrUnexpectedEOF
  26641. }
  26642. if err := m.ListMeta.Unmarshal(data[iNdEx:postIndex]); err != nil {
  26643. return err
  26644. }
  26645. iNdEx = postIndex
  26646. case 2:
  26647. if wireType != 2 {
  26648. return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType)
  26649. }
  26650. var msglen int
  26651. for shift := uint(0); ; shift += 7 {
  26652. if shift >= 64 {
  26653. return ErrIntOverflowGenerated
  26654. }
  26655. if iNdEx >= l {
  26656. return io.ErrUnexpectedEOF
  26657. }
  26658. b := data[iNdEx]
  26659. iNdEx++
  26660. msglen |= (int(b) & 0x7F) << shift
  26661. if b < 0x80 {
  26662. break
  26663. }
  26664. }
  26665. if msglen < 0 {
  26666. return ErrInvalidLengthGenerated
  26667. }
  26668. postIndex := iNdEx + msglen
  26669. if postIndex > l {
  26670. return io.ErrUnexpectedEOF
  26671. }
  26672. m.Items = append(m.Items, PersistentVolume{})
  26673. if err := m.Items[len(m.Items)-1].Unmarshal(data[iNdEx:postIndex]); err != nil {
  26674. return err
  26675. }
  26676. iNdEx = postIndex
  26677. default:
  26678. iNdEx = preIndex
  26679. skippy, err := skipGenerated(data[iNdEx:])
  26680. if err != nil {
  26681. return err
  26682. }
  26683. if skippy < 0 {
  26684. return ErrInvalidLengthGenerated
  26685. }
  26686. if (iNdEx + skippy) > l {
  26687. return io.ErrUnexpectedEOF
  26688. }
  26689. iNdEx += skippy
  26690. }
  26691. }
  26692. if iNdEx > l {
  26693. return io.ErrUnexpectedEOF
  26694. }
  26695. return nil
  26696. }
  26697. func (m *PersistentVolumeSource) Unmarshal(data []byte) error {
  26698. l := len(data)
  26699. iNdEx := 0
  26700. for iNdEx < l {
  26701. preIndex := iNdEx
  26702. var wire uint64
  26703. for shift := uint(0); ; shift += 7 {
  26704. if shift >= 64 {
  26705. return ErrIntOverflowGenerated
  26706. }
  26707. if iNdEx >= l {
  26708. return io.ErrUnexpectedEOF
  26709. }
  26710. b := data[iNdEx]
  26711. iNdEx++
  26712. wire |= (uint64(b) & 0x7F) << shift
  26713. if b < 0x80 {
  26714. break
  26715. }
  26716. }
  26717. fieldNum := int32(wire >> 3)
  26718. wireType := int(wire & 0x7)
  26719. if wireType == 4 {
  26720. return fmt.Errorf("proto: PersistentVolumeSource: wiretype end group for non-group")
  26721. }
  26722. if fieldNum <= 0 {
  26723. return fmt.Errorf("proto: PersistentVolumeSource: illegal tag %d (wire type %d)", fieldNum, wire)
  26724. }
  26725. switch fieldNum {
  26726. case 1:
  26727. if wireType != 2 {
  26728. return fmt.Errorf("proto: wrong wireType = %d for field GCEPersistentDisk", wireType)
  26729. }
  26730. var msglen int
  26731. for shift := uint(0); ; shift += 7 {
  26732. if shift >= 64 {
  26733. return ErrIntOverflowGenerated
  26734. }
  26735. if iNdEx >= l {
  26736. return io.ErrUnexpectedEOF
  26737. }
  26738. b := data[iNdEx]
  26739. iNdEx++
  26740. msglen |= (int(b) & 0x7F) << shift
  26741. if b < 0x80 {
  26742. break
  26743. }
  26744. }
  26745. if msglen < 0 {
  26746. return ErrInvalidLengthGenerated
  26747. }
  26748. postIndex := iNdEx + msglen
  26749. if postIndex > l {
  26750. return io.ErrUnexpectedEOF
  26751. }
  26752. if m.GCEPersistentDisk == nil {
  26753. m.GCEPersistentDisk = &GCEPersistentDiskVolumeSource{}
  26754. }
  26755. if err := m.GCEPersistentDisk.Unmarshal(data[iNdEx:postIndex]); err != nil {
  26756. return err
  26757. }
  26758. iNdEx = postIndex
  26759. case 2:
  26760. if wireType != 2 {
  26761. return fmt.Errorf("proto: wrong wireType = %d for field AWSElasticBlockStore", wireType)
  26762. }
  26763. var msglen int
  26764. for shift := uint(0); ; shift += 7 {
  26765. if shift >= 64 {
  26766. return ErrIntOverflowGenerated
  26767. }
  26768. if iNdEx >= l {
  26769. return io.ErrUnexpectedEOF
  26770. }
  26771. b := data[iNdEx]
  26772. iNdEx++
  26773. msglen |= (int(b) & 0x7F) << shift
  26774. if b < 0x80 {
  26775. break
  26776. }
  26777. }
  26778. if msglen < 0 {
  26779. return ErrInvalidLengthGenerated
  26780. }
  26781. postIndex := iNdEx + msglen
  26782. if postIndex > l {
  26783. return io.ErrUnexpectedEOF
  26784. }
  26785. if m.AWSElasticBlockStore == nil {
  26786. m.AWSElasticBlockStore = &AWSElasticBlockStoreVolumeSource{}
  26787. }
  26788. if err := m.AWSElasticBlockStore.Unmarshal(data[iNdEx:postIndex]); err != nil {
  26789. return err
  26790. }
  26791. iNdEx = postIndex
  26792. case 3:
  26793. if wireType != 2 {
  26794. return fmt.Errorf("proto: wrong wireType = %d for field HostPath", wireType)
  26795. }
  26796. var msglen int
  26797. for shift := uint(0); ; shift += 7 {
  26798. if shift >= 64 {
  26799. return ErrIntOverflowGenerated
  26800. }
  26801. if iNdEx >= l {
  26802. return io.ErrUnexpectedEOF
  26803. }
  26804. b := data[iNdEx]
  26805. iNdEx++
  26806. msglen |= (int(b) & 0x7F) << shift
  26807. if b < 0x80 {
  26808. break
  26809. }
  26810. }
  26811. if msglen < 0 {
  26812. return ErrInvalidLengthGenerated
  26813. }
  26814. postIndex := iNdEx + msglen
  26815. if postIndex > l {
  26816. return io.ErrUnexpectedEOF
  26817. }
  26818. if m.HostPath == nil {
  26819. m.HostPath = &HostPathVolumeSource{}
  26820. }
  26821. if err := m.HostPath.Unmarshal(data[iNdEx:postIndex]); err != nil {
  26822. return err
  26823. }
  26824. iNdEx = postIndex
  26825. case 4:
  26826. if wireType != 2 {
  26827. return fmt.Errorf("proto: wrong wireType = %d for field Glusterfs", wireType)
  26828. }
  26829. var msglen int
  26830. for shift := uint(0); ; shift += 7 {
  26831. if shift >= 64 {
  26832. return ErrIntOverflowGenerated
  26833. }
  26834. if iNdEx >= l {
  26835. return io.ErrUnexpectedEOF
  26836. }
  26837. b := data[iNdEx]
  26838. iNdEx++
  26839. msglen |= (int(b) & 0x7F) << shift
  26840. if b < 0x80 {
  26841. break
  26842. }
  26843. }
  26844. if msglen < 0 {
  26845. return ErrInvalidLengthGenerated
  26846. }
  26847. postIndex := iNdEx + msglen
  26848. if postIndex > l {
  26849. return io.ErrUnexpectedEOF
  26850. }
  26851. if m.Glusterfs == nil {
  26852. m.Glusterfs = &GlusterfsVolumeSource{}
  26853. }
  26854. if err := m.Glusterfs.Unmarshal(data[iNdEx:postIndex]); err != nil {
  26855. return err
  26856. }
  26857. iNdEx = postIndex
  26858. case 5:
  26859. if wireType != 2 {
  26860. return fmt.Errorf("proto: wrong wireType = %d for field NFS", wireType)
  26861. }
  26862. var msglen int
  26863. for shift := uint(0); ; shift += 7 {
  26864. if shift >= 64 {
  26865. return ErrIntOverflowGenerated
  26866. }
  26867. if iNdEx >= l {
  26868. return io.ErrUnexpectedEOF
  26869. }
  26870. b := data[iNdEx]
  26871. iNdEx++
  26872. msglen |= (int(b) & 0x7F) << shift
  26873. if b < 0x80 {
  26874. break
  26875. }
  26876. }
  26877. if msglen < 0 {
  26878. return ErrInvalidLengthGenerated
  26879. }
  26880. postIndex := iNdEx + msglen
  26881. if postIndex > l {
  26882. return io.ErrUnexpectedEOF
  26883. }
  26884. if m.NFS == nil {
  26885. m.NFS = &NFSVolumeSource{}
  26886. }
  26887. if err := m.NFS.Unmarshal(data[iNdEx:postIndex]); err != nil {
  26888. return err
  26889. }
  26890. iNdEx = postIndex
  26891. case 6:
  26892. if wireType != 2 {
  26893. return fmt.Errorf("proto: wrong wireType = %d for field RBD", wireType)
  26894. }
  26895. var msglen int
  26896. for shift := uint(0); ; shift += 7 {
  26897. if shift >= 64 {
  26898. return ErrIntOverflowGenerated
  26899. }
  26900. if iNdEx >= l {
  26901. return io.ErrUnexpectedEOF
  26902. }
  26903. b := data[iNdEx]
  26904. iNdEx++
  26905. msglen |= (int(b) & 0x7F) << shift
  26906. if b < 0x80 {
  26907. break
  26908. }
  26909. }
  26910. if msglen < 0 {
  26911. return ErrInvalidLengthGenerated
  26912. }
  26913. postIndex := iNdEx + msglen
  26914. if postIndex > l {
  26915. return io.ErrUnexpectedEOF
  26916. }
  26917. if m.RBD == nil {
  26918. m.RBD = &RBDVolumeSource{}
  26919. }
  26920. if err := m.RBD.Unmarshal(data[iNdEx:postIndex]); err != nil {
  26921. return err
  26922. }
  26923. iNdEx = postIndex
  26924. case 7:
  26925. if wireType != 2 {
  26926. return fmt.Errorf("proto: wrong wireType = %d for field ISCSI", wireType)
  26927. }
  26928. var msglen int
  26929. for shift := uint(0); ; shift += 7 {
  26930. if shift >= 64 {
  26931. return ErrIntOverflowGenerated
  26932. }
  26933. if iNdEx >= l {
  26934. return io.ErrUnexpectedEOF
  26935. }
  26936. b := data[iNdEx]
  26937. iNdEx++
  26938. msglen |= (int(b) & 0x7F) << shift
  26939. if b < 0x80 {
  26940. break
  26941. }
  26942. }
  26943. if msglen < 0 {
  26944. return ErrInvalidLengthGenerated
  26945. }
  26946. postIndex := iNdEx + msglen
  26947. if postIndex > l {
  26948. return io.ErrUnexpectedEOF
  26949. }
  26950. if m.ISCSI == nil {
  26951. m.ISCSI = &ISCSIVolumeSource{}
  26952. }
  26953. if err := m.ISCSI.Unmarshal(data[iNdEx:postIndex]); err != nil {
  26954. return err
  26955. }
  26956. iNdEx = postIndex
  26957. case 8:
  26958. if wireType != 2 {
  26959. return fmt.Errorf("proto: wrong wireType = %d for field Cinder", wireType)
  26960. }
  26961. var msglen int
  26962. for shift := uint(0); ; shift += 7 {
  26963. if shift >= 64 {
  26964. return ErrIntOverflowGenerated
  26965. }
  26966. if iNdEx >= l {
  26967. return io.ErrUnexpectedEOF
  26968. }
  26969. b := data[iNdEx]
  26970. iNdEx++
  26971. msglen |= (int(b) & 0x7F) << shift
  26972. if b < 0x80 {
  26973. break
  26974. }
  26975. }
  26976. if msglen < 0 {
  26977. return ErrInvalidLengthGenerated
  26978. }
  26979. postIndex := iNdEx + msglen
  26980. if postIndex > l {
  26981. return io.ErrUnexpectedEOF
  26982. }
  26983. if m.Cinder == nil {
  26984. m.Cinder = &CinderVolumeSource{}
  26985. }
  26986. if err := m.Cinder.Unmarshal(data[iNdEx:postIndex]); err != nil {
  26987. return err
  26988. }
  26989. iNdEx = postIndex
  26990. case 9:
  26991. if wireType != 2 {
  26992. return fmt.Errorf("proto: wrong wireType = %d for field CephFS", wireType)
  26993. }
  26994. var msglen int
  26995. for shift := uint(0); ; shift += 7 {
  26996. if shift >= 64 {
  26997. return ErrIntOverflowGenerated
  26998. }
  26999. if iNdEx >= l {
  27000. return io.ErrUnexpectedEOF
  27001. }
  27002. b := data[iNdEx]
  27003. iNdEx++
  27004. msglen |= (int(b) & 0x7F) << shift
  27005. if b < 0x80 {
  27006. break
  27007. }
  27008. }
  27009. if msglen < 0 {
  27010. return ErrInvalidLengthGenerated
  27011. }
  27012. postIndex := iNdEx + msglen
  27013. if postIndex > l {
  27014. return io.ErrUnexpectedEOF
  27015. }
  27016. if m.CephFS == nil {
  27017. m.CephFS = &CephFSVolumeSource{}
  27018. }
  27019. if err := m.CephFS.Unmarshal(data[iNdEx:postIndex]); err != nil {
  27020. return err
  27021. }
  27022. iNdEx = postIndex
  27023. case 10:
  27024. if wireType != 2 {
  27025. return fmt.Errorf("proto: wrong wireType = %d for field FC", wireType)
  27026. }
  27027. var msglen int
  27028. for shift := uint(0); ; shift += 7 {
  27029. if shift >= 64 {
  27030. return ErrIntOverflowGenerated
  27031. }
  27032. if iNdEx >= l {
  27033. return io.ErrUnexpectedEOF
  27034. }
  27035. b := data[iNdEx]
  27036. iNdEx++
  27037. msglen |= (int(b) & 0x7F) << shift
  27038. if b < 0x80 {
  27039. break
  27040. }
  27041. }
  27042. if msglen < 0 {
  27043. return ErrInvalidLengthGenerated
  27044. }
  27045. postIndex := iNdEx + msglen
  27046. if postIndex > l {
  27047. return io.ErrUnexpectedEOF
  27048. }
  27049. if m.FC == nil {
  27050. m.FC = &FCVolumeSource{}
  27051. }
  27052. if err := m.FC.Unmarshal(data[iNdEx:postIndex]); err != nil {
  27053. return err
  27054. }
  27055. iNdEx = postIndex
  27056. case 11:
  27057. if wireType != 2 {
  27058. return fmt.Errorf("proto: wrong wireType = %d for field Flocker", wireType)
  27059. }
  27060. var msglen int
  27061. for shift := uint(0); ; shift += 7 {
  27062. if shift >= 64 {
  27063. return ErrIntOverflowGenerated
  27064. }
  27065. if iNdEx >= l {
  27066. return io.ErrUnexpectedEOF
  27067. }
  27068. b := data[iNdEx]
  27069. iNdEx++
  27070. msglen |= (int(b) & 0x7F) << shift
  27071. if b < 0x80 {
  27072. break
  27073. }
  27074. }
  27075. if msglen < 0 {
  27076. return ErrInvalidLengthGenerated
  27077. }
  27078. postIndex := iNdEx + msglen
  27079. if postIndex > l {
  27080. return io.ErrUnexpectedEOF
  27081. }
  27082. if m.Flocker == nil {
  27083. m.Flocker = &FlockerVolumeSource{}
  27084. }
  27085. if err := m.Flocker.Unmarshal(data[iNdEx:postIndex]); err != nil {
  27086. return err
  27087. }
  27088. iNdEx = postIndex
  27089. case 12:
  27090. if wireType != 2 {
  27091. return fmt.Errorf("proto: wrong wireType = %d for field FlexVolume", wireType)
  27092. }
  27093. var msglen int
  27094. for shift := uint(0); ; shift += 7 {
  27095. if shift >= 64 {
  27096. return ErrIntOverflowGenerated
  27097. }
  27098. if iNdEx >= l {
  27099. return io.ErrUnexpectedEOF
  27100. }
  27101. b := data[iNdEx]
  27102. iNdEx++
  27103. msglen |= (int(b) & 0x7F) << shift
  27104. if b < 0x80 {
  27105. break
  27106. }
  27107. }
  27108. if msglen < 0 {
  27109. return ErrInvalidLengthGenerated
  27110. }
  27111. postIndex := iNdEx + msglen
  27112. if postIndex > l {
  27113. return io.ErrUnexpectedEOF
  27114. }
  27115. if m.FlexVolume == nil {
  27116. m.FlexVolume = &FlexVolumeSource{}
  27117. }
  27118. if err := m.FlexVolume.Unmarshal(data[iNdEx:postIndex]); err != nil {
  27119. return err
  27120. }
  27121. iNdEx = postIndex
  27122. case 13:
  27123. if wireType != 2 {
  27124. return fmt.Errorf("proto: wrong wireType = %d for field AzureFile", wireType)
  27125. }
  27126. var msglen int
  27127. for shift := uint(0); ; shift += 7 {
  27128. if shift >= 64 {
  27129. return ErrIntOverflowGenerated
  27130. }
  27131. if iNdEx >= l {
  27132. return io.ErrUnexpectedEOF
  27133. }
  27134. b := data[iNdEx]
  27135. iNdEx++
  27136. msglen |= (int(b) & 0x7F) << shift
  27137. if b < 0x80 {
  27138. break
  27139. }
  27140. }
  27141. if msglen < 0 {
  27142. return ErrInvalidLengthGenerated
  27143. }
  27144. postIndex := iNdEx + msglen
  27145. if postIndex > l {
  27146. return io.ErrUnexpectedEOF
  27147. }
  27148. if m.AzureFile == nil {
  27149. m.AzureFile = &AzureFileVolumeSource{}
  27150. }
  27151. if err := m.AzureFile.Unmarshal(data[iNdEx:postIndex]); err != nil {
  27152. return err
  27153. }
  27154. iNdEx = postIndex
  27155. case 14:
  27156. if wireType != 2 {
  27157. return fmt.Errorf("proto: wrong wireType = %d for field VsphereVolume", wireType)
  27158. }
  27159. var msglen int
  27160. for shift := uint(0); ; shift += 7 {
  27161. if shift >= 64 {
  27162. return ErrIntOverflowGenerated
  27163. }
  27164. if iNdEx >= l {
  27165. return io.ErrUnexpectedEOF
  27166. }
  27167. b := data[iNdEx]
  27168. iNdEx++
  27169. msglen |= (int(b) & 0x7F) << shift
  27170. if b < 0x80 {
  27171. break
  27172. }
  27173. }
  27174. if msglen < 0 {
  27175. return ErrInvalidLengthGenerated
  27176. }
  27177. postIndex := iNdEx + msglen
  27178. if postIndex > l {
  27179. return io.ErrUnexpectedEOF
  27180. }
  27181. if m.VsphereVolume == nil {
  27182. m.VsphereVolume = &VsphereVirtualDiskVolumeSource{}
  27183. }
  27184. if err := m.VsphereVolume.Unmarshal(data[iNdEx:postIndex]); err != nil {
  27185. return err
  27186. }
  27187. iNdEx = postIndex
  27188. case 15:
  27189. if wireType != 2 {
  27190. return fmt.Errorf("proto: wrong wireType = %d for field Quobyte", wireType)
  27191. }
  27192. var msglen int
  27193. for shift := uint(0); ; shift += 7 {
  27194. if shift >= 64 {
  27195. return ErrIntOverflowGenerated
  27196. }
  27197. if iNdEx >= l {
  27198. return io.ErrUnexpectedEOF
  27199. }
  27200. b := data[iNdEx]
  27201. iNdEx++
  27202. msglen |= (int(b) & 0x7F) << shift
  27203. if b < 0x80 {
  27204. break
  27205. }
  27206. }
  27207. if msglen < 0 {
  27208. return ErrInvalidLengthGenerated
  27209. }
  27210. postIndex := iNdEx + msglen
  27211. if postIndex > l {
  27212. return io.ErrUnexpectedEOF
  27213. }
  27214. if m.Quobyte == nil {
  27215. m.Quobyte = &QuobyteVolumeSource{}
  27216. }
  27217. if err := m.Quobyte.Unmarshal(data[iNdEx:postIndex]); err != nil {
  27218. return err
  27219. }
  27220. iNdEx = postIndex
  27221. case 16:
  27222. if wireType != 2 {
  27223. return fmt.Errorf("proto: wrong wireType = %d for field AzureDisk", wireType)
  27224. }
  27225. var msglen int
  27226. for shift := uint(0); ; shift += 7 {
  27227. if shift >= 64 {
  27228. return ErrIntOverflowGenerated
  27229. }
  27230. if iNdEx >= l {
  27231. return io.ErrUnexpectedEOF
  27232. }
  27233. b := data[iNdEx]
  27234. iNdEx++
  27235. msglen |= (int(b) & 0x7F) << shift
  27236. if b < 0x80 {
  27237. break
  27238. }
  27239. }
  27240. if msglen < 0 {
  27241. return ErrInvalidLengthGenerated
  27242. }
  27243. postIndex := iNdEx + msglen
  27244. if postIndex > l {
  27245. return io.ErrUnexpectedEOF
  27246. }
  27247. if m.AzureDisk == nil {
  27248. m.AzureDisk = &AzureDiskVolumeSource{}
  27249. }
  27250. if err := m.AzureDisk.Unmarshal(data[iNdEx:postIndex]); err != nil {
  27251. return err
  27252. }
  27253. iNdEx = postIndex
  27254. default:
  27255. iNdEx = preIndex
  27256. skippy, err := skipGenerated(data[iNdEx:])
  27257. if err != nil {
  27258. return err
  27259. }
  27260. if skippy < 0 {
  27261. return ErrInvalidLengthGenerated
  27262. }
  27263. if (iNdEx + skippy) > l {
  27264. return io.ErrUnexpectedEOF
  27265. }
  27266. iNdEx += skippy
  27267. }
  27268. }
  27269. if iNdEx > l {
  27270. return io.ErrUnexpectedEOF
  27271. }
  27272. return nil
  27273. }
  27274. func (m *PersistentVolumeSpec) Unmarshal(data []byte) error {
  27275. l := len(data)
  27276. iNdEx := 0
  27277. for iNdEx < l {
  27278. preIndex := iNdEx
  27279. var wire uint64
  27280. for shift := uint(0); ; shift += 7 {
  27281. if shift >= 64 {
  27282. return ErrIntOverflowGenerated
  27283. }
  27284. if iNdEx >= l {
  27285. return io.ErrUnexpectedEOF
  27286. }
  27287. b := data[iNdEx]
  27288. iNdEx++
  27289. wire |= (uint64(b) & 0x7F) << shift
  27290. if b < 0x80 {
  27291. break
  27292. }
  27293. }
  27294. fieldNum := int32(wire >> 3)
  27295. wireType := int(wire & 0x7)
  27296. if wireType == 4 {
  27297. return fmt.Errorf("proto: PersistentVolumeSpec: wiretype end group for non-group")
  27298. }
  27299. if fieldNum <= 0 {
  27300. return fmt.Errorf("proto: PersistentVolumeSpec: illegal tag %d (wire type %d)", fieldNum, wire)
  27301. }
  27302. switch fieldNum {
  27303. case 1:
  27304. if wireType != 2 {
  27305. return fmt.Errorf("proto: wrong wireType = %d for field Capacity", wireType)
  27306. }
  27307. var msglen int
  27308. for shift := uint(0); ; shift += 7 {
  27309. if shift >= 64 {
  27310. return ErrIntOverflowGenerated
  27311. }
  27312. if iNdEx >= l {
  27313. return io.ErrUnexpectedEOF
  27314. }
  27315. b := data[iNdEx]
  27316. iNdEx++
  27317. msglen |= (int(b) & 0x7F) << shift
  27318. if b < 0x80 {
  27319. break
  27320. }
  27321. }
  27322. if msglen < 0 {
  27323. return ErrInvalidLengthGenerated
  27324. }
  27325. postIndex := iNdEx + msglen
  27326. if postIndex > l {
  27327. return io.ErrUnexpectedEOF
  27328. }
  27329. var keykey uint64
  27330. for shift := uint(0); ; shift += 7 {
  27331. if shift >= 64 {
  27332. return ErrIntOverflowGenerated
  27333. }
  27334. if iNdEx >= l {
  27335. return io.ErrUnexpectedEOF
  27336. }
  27337. b := data[iNdEx]
  27338. iNdEx++
  27339. keykey |= (uint64(b) & 0x7F) << shift
  27340. if b < 0x80 {
  27341. break
  27342. }
  27343. }
  27344. var stringLenmapkey uint64
  27345. for shift := uint(0); ; shift += 7 {
  27346. if shift >= 64 {
  27347. return ErrIntOverflowGenerated
  27348. }
  27349. if iNdEx >= l {
  27350. return io.ErrUnexpectedEOF
  27351. }
  27352. b := data[iNdEx]
  27353. iNdEx++
  27354. stringLenmapkey |= (uint64(b) & 0x7F) << shift
  27355. if b < 0x80 {
  27356. break
  27357. }
  27358. }
  27359. intStringLenmapkey := int(stringLenmapkey)
  27360. if intStringLenmapkey < 0 {
  27361. return ErrInvalidLengthGenerated
  27362. }
  27363. postStringIndexmapkey := iNdEx + intStringLenmapkey
  27364. if postStringIndexmapkey > l {
  27365. return io.ErrUnexpectedEOF
  27366. }
  27367. mapkey := ResourceName(data[iNdEx:postStringIndexmapkey])
  27368. iNdEx = postStringIndexmapkey
  27369. var valuekey uint64
  27370. for shift := uint(0); ; shift += 7 {
  27371. if shift >= 64 {
  27372. return ErrIntOverflowGenerated
  27373. }
  27374. if iNdEx >= l {
  27375. return io.ErrUnexpectedEOF
  27376. }
  27377. b := data[iNdEx]
  27378. iNdEx++
  27379. valuekey |= (uint64(b) & 0x7F) << shift
  27380. if b < 0x80 {
  27381. break
  27382. }
  27383. }
  27384. var mapmsglen int
  27385. for shift := uint(0); ; shift += 7 {
  27386. if shift >= 64 {
  27387. return ErrIntOverflowGenerated
  27388. }
  27389. if iNdEx >= l {
  27390. return io.ErrUnexpectedEOF
  27391. }
  27392. b := data[iNdEx]
  27393. iNdEx++
  27394. mapmsglen |= (int(b) & 0x7F) << shift
  27395. if b < 0x80 {
  27396. break
  27397. }
  27398. }
  27399. if mapmsglen < 0 {
  27400. return ErrInvalidLengthGenerated
  27401. }
  27402. postmsgIndex := iNdEx + mapmsglen
  27403. if mapmsglen < 0 {
  27404. return ErrInvalidLengthGenerated
  27405. }
  27406. if postmsgIndex > l {
  27407. return io.ErrUnexpectedEOF
  27408. }
  27409. mapvalue := &k8s_io_kubernetes_pkg_api_resource.Quantity{}
  27410. if err := mapvalue.Unmarshal(data[iNdEx:postmsgIndex]); err != nil {
  27411. return err
  27412. }
  27413. iNdEx = postmsgIndex
  27414. if m.Capacity == nil {
  27415. m.Capacity = make(ResourceList)
  27416. }
  27417. m.Capacity[ResourceName(mapkey)] = *mapvalue
  27418. iNdEx = postIndex
  27419. case 2:
  27420. if wireType != 2 {
  27421. return fmt.Errorf("proto: wrong wireType = %d for field PersistentVolumeSource", wireType)
  27422. }
  27423. var msglen int
  27424. for shift := uint(0); ; shift += 7 {
  27425. if shift >= 64 {
  27426. return ErrIntOverflowGenerated
  27427. }
  27428. if iNdEx >= l {
  27429. return io.ErrUnexpectedEOF
  27430. }
  27431. b := data[iNdEx]
  27432. iNdEx++
  27433. msglen |= (int(b) & 0x7F) << shift
  27434. if b < 0x80 {
  27435. break
  27436. }
  27437. }
  27438. if msglen < 0 {
  27439. return ErrInvalidLengthGenerated
  27440. }
  27441. postIndex := iNdEx + msglen
  27442. if postIndex > l {
  27443. return io.ErrUnexpectedEOF
  27444. }
  27445. if err := m.PersistentVolumeSource.Unmarshal(data[iNdEx:postIndex]); err != nil {
  27446. return err
  27447. }
  27448. iNdEx = postIndex
  27449. case 3:
  27450. if wireType != 2 {
  27451. return fmt.Errorf("proto: wrong wireType = %d for field AccessModes", wireType)
  27452. }
  27453. var stringLen uint64
  27454. for shift := uint(0); ; shift += 7 {
  27455. if shift >= 64 {
  27456. return ErrIntOverflowGenerated
  27457. }
  27458. if iNdEx >= l {
  27459. return io.ErrUnexpectedEOF
  27460. }
  27461. b := data[iNdEx]
  27462. iNdEx++
  27463. stringLen |= (uint64(b) & 0x7F) << shift
  27464. if b < 0x80 {
  27465. break
  27466. }
  27467. }
  27468. intStringLen := int(stringLen)
  27469. if intStringLen < 0 {
  27470. return ErrInvalidLengthGenerated
  27471. }
  27472. postIndex := iNdEx + intStringLen
  27473. if postIndex > l {
  27474. return io.ErrUnexpectedEOF
  27475. }
  27476. m.AccessModes = append(m.AccessModes, PersistentVolumeAccessMode(data[iNdEx:postIndex]))
  27477. iNdEx = postIndex
  27478. case 4:
  27479. if wireType != 2 {
  27480. return fmt.Errorf("proto: wrong wireType = %d for field ClaimRef", wireType)
  27481. }
  27482. var msglen int
  27483. for shift := uint(0); ; shift += 7 {
  27484. if shift >= 64 {
  27485. return ErrIntOverflowGenerated
  27486. }
  27487. if iNdEx >= l {
  27488. return io.ErrUnexpectedEOF
  27489. }
  27490. b := data[iNdEx]
  27491. iNdEx++
  27492. msglen |= (int(b) & 0x7F) << shift
  27493. if b < 0x80 {
  27494. break
  27495. }
  27496. }
  27497. if msglen < 0 {
  27498. return ErrInvalidLengthGenerated
  27499. }
  27500. postIndex := iNdEx + msglen
  27501. if postIndex > l {
  27502. return io.ErrUnexpectedEOF
  27503. }
  27504. if m.ClaimRef == nil {
  27505. m.ClaimRef = &ObjectReference{}
  27506. }
  27507. if err := m.ClaimRef.Unmarshal(data[iNdEx:postIndex]); err != nil {
  27508. return err
  27509. }
  27510. iNdEx = postIndex
  27511. case 5:
  27512. if wireType != 2 {
  27513. return fmt.Errorf("proto: wrong wireType = %d for field PersistentVolumeReclaimPolicy", wireType)
  27514. }
  27515. var stringLen uint64
  27516. for shift := uint(0); ; shift += 7 {
  27517. if shift >= 64 {
  27518. return ErrIntOverflowGenerated
  27519. }
  27520. if iNdEx >= l {
  27521. return io.ErrUnexpectedEOF
  27522. }
  27523. b := data[iNdEx]
  27524. iNdEx++
  27525. stringLen |= (uint64(b) & 0x7F) << shift
  27526. if b < 0x80 {
  27527. break
  27528. }
  27529. }
  27530. intStringLen := int(stringLen)
  27531. if intStringLen < 0 {
  27532. return ErrInvalidLengthGenerated
  27533. }
  27534. postIndex := iNdEx + intStringLen
  27535. if postIndex > l {
  27536. return io.ErrUnexpectedEOF
  27537. }
  27538. m.PersistentVolumeReclaimPolicy = PersistentVolumeReclaimPolicy(data[iNdEx:postIndex])
  27539. iNdEx = postIndex
  27540. default:
  27541. iNdEx = preIndex
  27542. skippy, err := skipGenerated(data[iNdEx:])
  27543. if err != nil {
  27544. return err
  27545. }
  27546. if skippy < 0 {
  27547. return ErrInvalidLengthGenerated
  27548. }
  27549. if (iNdEx + skippy) > l {
  27550. return io.ErrUnexpectedEOF
  27551. }
  27552. iNdEx += skippy
  27553. }
  27554. }
  27555. if iNdEx > l {
  27556. return io.ErrUnexpectedEOF
  27557. }
  27558. return nil
  27559. }
  27560. func (m *PersistentVolumeStatus) Unmarshal(data []byte) error {
  27561. l := len(data)
  27562. iNdEx := 0
  27563. for iNdEx < l {
  27564. preIndex := iNdEx
  27565. var wire uint64
  27566. for shift := uint(0); ; shift += 7 {
  27567. if shift >= 64 {
  27568. return ErrIntOverflowGenerated
  27569. }
  27570. if iNdEx >= l {
  27571. return io.ErrUnexpectedEOF
  27572. }
  27573. b := data[iNdEx]
  27574. iNdEx++
  27575. wire |= (uint64(b) & 0x7F) << shift
  27576. if b < 0x80 {
  27577. break
  27578. }
  27579. }
  27580. fieldNum := int32(wire >> 3)
  27581. wireType := int(wire & 0x7)
  27582. if wireType == 4 {
  27583. return fmt.Errorf("proto: PersistentVolumeStatus: wiretype end group for non-group")
  27584. }
  27585. if fieldNum <= 0 {
  27586. return fmt.Errorf("proto: PersistentVolumeStatus: illegal tag %d (wire type %d)", fieldNum, wire)
  27587. }
  27588. switch fieldNum {
  27589. case 1:
  27590. if wireType != 2 {
  27591. return fmt.Errorf("proto: wrong wireType = %d for field Phase", wireType)
  27592. }
  27593. var stringLen uint64
  27594. for shift := uint(0); ; shift += 7 {
  27595. if shift >= 64 {
  27596. return ErrIntOverflowGenerated
  27597. }
  27598. if iNdEx >= l {
  27599. return io.ErrUnexpectedEOF
  27600. }
  27601. b := data[iNdEx]
  27602. iNdEx++
  27603. stringLen |= (uint64(b) & 0x7F) << shift
  27604. if b < 0x80 {
  27605. break
  27606. }
  27607. }
  27608. intStringLen := int(stringLen)
  27609. if intStringLen < 0 {
  27610. return ErrInvalidLengthGenerated
  27611. }
  27612. postIndex := iNdEx + intStringLen
  27613. if postIndex > l {
  27614. return io.ErrUnexpectedEOF
  27615. }
  27616. m.Phase = PersistentVolumePhase(data[iNdEx:postIndex])
  27617. iNdEx = postIndex
  27618. case 2:
  27619. if wireType != 2 {
  27620. return fmt.Errorf("proto: wrong wireType = %d for field Message", wireType)
  27621. }
  27622. var stringLen uint64
  27623. for shift := uint(0); ; shift += 7 {
  27624. if shift >= 64 {
  27625. return ErrIntOverflowGenerated
  27626. }
  27627. if iNdEx >= l {
  27628. return io.ErrUnexpectedEOF
  27629. }
  27630. b := data[iNdEx]
  27631. iNdEx++
  27632. stringLen |= (uint64(b) & 0x7F) << shift
  27633. if b < 0x80 {
  27634. break
  27635. }
  27636. }
  27637. intStringLen := int(stringLen)
  27638. if intStringLen < 0 {
  27639. return ErrInvalidLengthGenerated
  27640. }
  27641. postIndex := iNdEx + intStringLen
  27642. if postIndex > l {
  27643. return io.ErrUnexpectedEOF
  27644. }
  27645. m.Message = string(data[iNdEx:postIndex])
  27646. iNdEx = postIndex
  27647. case 3:
  27648. if wireType != 2 {
  27649. return fmt.Errorf("proto: wrong wireType = %d for field Reason", wireType)
  27650. }
  27651. var stringLen uint64
  27652. for shift := uint(0); ; shift += 7 {
  27653. if shift >= 64 {
  27654. return ErrIntOverflowGenerated
  27655. }
  27656. if iNdEx >= l {
  27657. return io.ErrUnexpectedEOF
  27658. }
  27659. b := data[iNdEx]
  27660. iNdEx++
  27661. stringLen |= (uint64(b) & 0x7F) << shift
  27662. if b < 0x80 {
  27663. break
  27664. }
  27665. }
  27666. intStringLen := int(stringLen)
  27667. if intStringLen < 0 {
  27668. return ErrInvalidLengthGenerated
  27669. }
  27670. postIndex := iNdEx + intStringLen
  27671. if postIndex > l {
  27672. return io.ErrUnexpectedEOF
  27673. }
  27674. m.Reason = string(data[iNdEx:postIndex])
  27675. iNdEx = postIndex
  27676. default:
  27677. iNdEx = preIndex
  27678. skippy, err := skipGenerated(data[iNdEx:])
  27679. if err != nil {
  27680. return err
  27681. }
  27682. if skippy < 0 {
  27683. return ErrInvalidLengthGenerated
  27684. }
  27685. if (iNdEx + skippy) > l {
  27686. return io.ErrUnexpectedEOF
  27687. }
  27688. iNdEx += skippy
  27689. }
  27690. }
  27691. if iNdEx > l {
  27692. return io.ErrUnexpectedEOF
  27693. }
  27694. return nil
  27695. }
  27696. func (m *Pod) Unmarshal(data []byte) error {
  27697. l := len(data)
  27698. iNdEx := 0
  27699. for iNdEx < l {
  27700. preIndex := iNdEx
  27701. var wire uint64
  27702. for shift := uint(0); ; shift += 7 {
  27703. if shift >= 64 {
  27704. return ErrIntOverflowGenerated
  27705. }
  27706. if iNdEx >= l {
  27707. return io.ErrUnexpectedEOF
  27708. }
  27709. b := data[iNdEx]
  27710. iNdEx++
  27711. wire |= (uint64(b) & 0x7F) << shift
  27712. if b < 0x80 {
  27713. break
  27714. }
  27715. }
  27716. fieldNum := int32(wire >> 3)
  27717. wireType := int(wire & 0x7)
  27718. if wireType == 4 {
  27719. return fmt.Errorf("proto: Pod: wiretype end group for non-group")
  27720. }
  27721. if fieldNum <= 0 {
  27722. return fmt.Errorf("proto: Pod: illegal tag %d (wire type %d)", fieldNum, wire)
  27723. }
  27724. switch fieldNum {
  27725. case 1:
  27726. if wireType != 2 {
  27727. return fmt.Errorf("proto: wrong wireType = %d for field ObjectMeta", wireType)
  27728. }
  27729. var msglen int
  27730. for shift := uint(0); ; shift += 7 {
  27731. if shift >= 64 {
  27732. return ErrIntOverflowGenerated
  27733. }
  27734. if iNdEx >= l {
  27735. return io.ErrUnexpectedEOF
  27736. }
  27737. b := data[iNdEx]
  27738. iNdEx++
  27739. msglen |= (int(b) & 0x7F) << shift
  27740. if b < 0x80 {
  27741. break
  27742. }
  27743. }
  27744. if msglen < 0 {
  27745. return ErrInvalidLengthGenerated
  27746. }
  27747. postIndex := iNdEx + msglen
  27748. if postIndex > l {
  27749. return io.ErrUnexpectedEOF
  27750. }
  27751. if err := m.ObjectMeta.Unmarshal(data[iNdEx:postIndex]); err != nil {
  27752. return err
  27753. }
  27754. iNdEx = postIndex
  27755. case 2:
  27756. if wireType != 2 {
  27757. return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType)
  27758. }
  27759. var msglen int
  27760. for shift := uint(0); ; shift += 7 {
  27761. if shift >= 64 {
  27762. return ErrIntOverflowGenerated
  27763. }
  27764. if iNdEx >= l {
  27765. return io.ErrUnexpectedEOF
  27766. }
  27767. b := data[iNdEx]
  27768. iNdEx++
  27769. msglen |= (int(b) & 0x7F) << shift
  27770. if b < 0x80 {
  27771. break
  27772. }
  27773. }
  27774. if msglen < 0 {
  27775. return ErrInvalidLengthGenerated
  27776. }
  27777. postIndex := iNdEx + msglen
  27778. if postIndex > l {
  27779. return io.ErrUnexpectedEOF
  27780. }
  27781. if err := m.Spec.Unmarshal(data[iNdEx:postIndex]); err != nil {
  27782. return err
  27783. }
  27784. iNdEx = postIndex
  27785. case 3:
  27786. if wireType != 2 {
  27787. return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
  27788. }
  27789. var msglen int
  27790. for shift := uint(0); ; shift += 7 {
  27791. if shift >= 64 {
  27792. return ErrIntOverflowGenerated
  27793. }
  27794. if iNdEx >= l {
  27795. return io.ErrUnexpectedEOF
  27796. }
  27797. b := data[iNdEx]
  27798. iNdEx++
  27799. msglen |= (int(b) & 0x7F) << shift
  27800. if b < 0x80 {
  27801. break
  27802. }
  27803. }
  27804. if msglen < 0 {
  27805. return ErrInvalidLengthGenerated
  27806. }
  27807. postIndex := iNdEx + msglen
  27808. if postIndex > l {
  27809. return io.ErrUnexpectedEOF
  27810. }
  27811. if err := m.Status.Unmarshal(data[iNdEx:postIndex]); err != nil {
  27812. return err
  27813. }
  27814. iNdEx = postIndex
  27815. default:
  27816. iNdEx = preIndex
  27817. skippy, err := skipGenerated(data[iNdEx:])
  27818. if err != nil {
  27819. return err
  27820. }
  27821. if skippy < 0 {
  27822. return ErrInvalidLengthGenerated
  27823. }
  27824. if (iNdEx + skippy) > l {
  27825. return io.ErrUnexpectedEOF
  27826. }
  27827. iNdEx += skippy
  27828. }
  27829. }
  27830. if iNdEx > l {
  27831. return io.ErrUnexpectedEOF
  27832. }
  27833. return nil
  27834. }
  27835. func (m *PodAffinity) Unmarshal(data []byte) error {
  27836. l := len(data)
  27837. iNdEx := 0
  27838. for iNdEx < l {
  27839. preIndex := iNdEx
  27840. var wire uint64
  27841. for shift := uint(0); ; shift += 7 {
  27842. if shift >= 64 {
  27843. return ErrIntOverflowGenerated
  27844. }
  27845. if iNdEx >= l {
  27846. return io.ErrUnexpectedEOF
  27847. }
  27848. b := data[iNdEx]
  27849. iNdEx++
  27850. wire |= (uint64(b) & 0x7F) << shift
  27851. if b < 0x80 {
  27852. break
  27853. }
  27854. }
  27855. fieldNum := int32(wire >> 3)
  27856. wireType := int(wire & 0x7)
  27857. if wireType == 4 {
  27858. return fmt.Errorf("proto: PodAffinity: wiretype end group for non-group")
  27859. }
  27860. if fieldNum <= 0 {
  27861. return fmt.Errorf("proto: PodAffinity: illegal tag %d (wire type %d)", fieldNum, wire)
  27862. }
  27863. switch fieldNum {
  27864. case 1:
  27865. if wireType != 2 {
  27866. return fmt.Errorf("proto: wrong wireType = %d for field RequiredDuringSchedulingIgnoredDuringExecution", wireType)
  27867. }
  27868. var msglen int
  27869. for shift := uint(0); ; shift += 7 {
  27870. if shift >= 64 {
  27871. return ErrIntOverflowGenerated
  27872. }
  27873. if iNdEx >= l {
  27874. return io.ErrUnexpectedEOF
  27875. }
  27876. b := data[iNdEx]
  27877. iNdEx++
  27878. msglen |= (int(b) & 0x7F) << shift
  27879. if b < 0x80 {
  27880. break
  27881. }
  27882. }
  27883. if msglen < 0 {
  27884. return ErrInvalidLengthGenerated
  27885. }
  27886. postIndex := iNdEx + msglen
  27887. if postIndex > l {
  27888. return io.ErrUnexpectedEOF
  27889. }
  27890. m.RequiredDuringSchedulingIgnoredDuringExecution = append(m.RequiredDuringSchedulingIgnoredDuringExecution, PodAffinityTerm{})
  27891. if err := m.RequiredDuringSchedulingIgnoredDuringExecution[len(m.RequiredDuringSchedulingIgnoredDuringExecution)-1].Unmarshal(data[iNdEx:postIndex]); err != nil {
  27892. return err
  27893. }
  27894. iNdEx = postIndex
  27895. case 2:
  27896. if wireType != 2 {
  27897. return fmt.Errorf("proto: wrong wireType = %d for field PreferredDuringSchedulingIgnoredDuringExecution", wireType)
  27898. }
  27899. var msglen int
  27900. for shift := uint(0); ; shift += 7 {
  27901. if shift >= 64 {
  27902. return ErrIntOverflowGenerated
  27903. }
  27904. if iNdEx >= l {
  27905. return io.ErrUnexpectedEOF
  27906. }
  27907. b := data[iNdEx]
  27908. iNdEx++
  27909. msglen |= (int(b) & 0x7F) << shift
  27910. if b < 0x80 {
  27911. break
  27912. }
  27913. }
  27914. if msglen < 0 {
  27915. return ErrInvalidLengthGenerated
  27916. }
  27917. postIndex := iNdEx + msglen
  27918. if postIndex > l {
  27919. return io.ErrUnexpectedEOF
  27920. }
  27921. m.PreferredDuringSchedulingIgnoredDuringExecution = append(m.PreferredDuringSchedulingIgnoredDuringExecution, WeightedPodAffinityTerm{})
  27922. if err := m.PreferredDuringSchedulingIgnoredDuringExecution[len(m.PreferredDuringSchedulingIgnoredDuringExecution)-1].Unmarshal(data[iNdEx:postIndex]); err != nil {
  27923. return err
  27924. }
  27925. iNdEx = postIndex
  27926. default:
  27927. iNdEx = preIndex
  27928. skippy, err := skipGenerated(data[iNdEx:])
  27929. if err != nil {
  27930. return err
  27931. }
  27932. if skippy < 0 {
  27933. return ErrInvalidLengthGenerated
  27934. }
  27935. if (iNdEx + skippy) > l {
  27936. return io.ErrUnexpectedEOF
  27937. }
  27938. iNdEx += skippy
  27939. }
  27940. }
  27941. if iNdEx > l {
  27942. return io.ErrUnexpectedEOF
  27943. }
  27944. return nil
  27945. }
  27946. func (m *PodAffinityTerm) Unmarshal(data []byte) error {
  27947. l := len(data)
  27948. iNdEx := 0
  27949. for iNdEx < l {
  27950. preIndex := iNdEx
  27951. var wire uint64
  27952. for shift := uint(0); ; shift += 7 {
  27953. if shift >= 64 {
  27954. return ErrIntOverflowGenerated
  27955. }
  27956. if iNdEx >= l {
  27957. return io.ErrUnexpectedEOF
  27958. }
  27959. b := data[iNdEx]
  27960. iNdEx++
  27961. wire |= (uint64(b) & 0x7F) << shift
  27962. if b < 0x80 {
  27963. break
  27964. }
  27965. }
  27966. fieldNum := int32(wire >> 3)
  27967. wireType := int(wire & 0x7)
  27968. if wireType == 4 {
  27969. return fmt.Errorf("proto: PodAffinityTerm: wiretype end group for non-group")
  27970. }
  27971. if fieldNum <= 0 {
  27972. return fmt.Errorf("proto: PodAffinityTerm: illegal tag %d (wire type %d)", fieldNum, wire)
  27973. }
  27974. switch fieldNum {
  27975. case 1:
  27976. if wireType != 2 {
  27977. return fmt.Errorf("proto: wrong wireType = %d for field LabelSelector", wireType)
  27978. }
  27979. var msglen int
  27980. for shift := uint(0); ; shift += 7 {
  27981. if shift >= 64 {
  27982. return ErrIntOverflowGenerated
  27983. }
  27984. if iNdEx >= l {
  27985. return io.ErrUnexpectedEOF
  27986. }
  27987. b := data[iNdEx]
  27988. iNdEx++
  27989. msglen |= (int(b) & 0x7F) << shift
  27990. if b < 0x80 {
  27991. break
  27992. }
  27993. }
  27994. if msglen < 0 {
  27995. return ErrInvalidLengthGenerated
  27996. }
  27997. postIndex := iNdEx + msglen
  27998. if postIndex > l {
  27999. return io.ErrUnexpectedEOF
  28000. }
  28001. if m.LabelSelector == nil {
  28002. m.LabelSelector = &k8s_io_kubernetes_pkg_api_unversioned.LabelSelector{}
  28003. }
  28004. if err := m.LabelSelector.Unmarshal(data[iNdEx:postIndex]); err != nil {
  28005. return err
  28006. }
  28007. iNdEx = postIndex
  28008. case 2:
  28009. if wireType != 2 {
  28010. return fmt.Errorf("proto: wrong wireType = %d for field Namespaces", wireType)
  28011. }
  28012. var stringLen uint64
  28013. for shift := uint(0); ; shift += 7 {
  28014. if shift >= 64 {
  28015. return ErrIntOverflowGenerated
  28016. }
  28017. if iNdEx >= l {
  28018. return io.ErrUnexpectedEOF
  28019. }
  28020. b := data[iNdEx]
  28021. iNdEx++
  28022. stringLen |= (uint64(b) & 0x7F) << shift
  28023. if b < 0x80 {
  28024. break
  28025. }
  28026. }
  28027. intStringLen := int(stringLen)
  28028. if intStringLen < 0 {
  28029. return ErrInvalidLengthGenerated
  28030. }
  28031. postIndex := iNdEx + intStringLen
  28032. if postIndex > l {
  28033. return io.ErrUnexpectedEOF
  28034. }
  28035. m.Namespaces = append(m.Namespaces, string(data[iNdEx:postIndex]))
  28036. iNdEx = postIndex
  28037. case 3:
  28038. if wireType != 2 {
  28039. return fmt.Errorf("proto: wrong wireType = %d for field TopologyKey", wireType)
  28040. }
  28041. var stringLen uint64
  28042. for shift := uint(0); ; shift += 7 {
  28043. if shift >= 64 {
  28044. return ErrIntOverflowGenerated
  28045. }
  28046. if iNdEx >= l {
  28047. return io.ErrUnexpectedEOF
  28048. }
  28049. b := data[iNdEx]
  28050. iNdEx++
  28051. stringLen |= (uint64(b) & 0x7F) << shift
  28052. if b < 0x80 {
  28053. break
  28054. }
  28055. }
  28056. intStringLen := int(stringLen)
  28057. if intStringLen < 0 {
  28058. return ErrInvalidLengthGenerated
  28059. }
  28060. postIndex := iNdEx + intStringLen
  28061. if postIndex > l {
  28062. return io.ErrUnexpectedEOF
  28063. }
  28064. m.TopologyKey = string(data[iNdEx:postIndex])
  28065. iNdEx = postIndex
  28066. default:
  28067. iNdEx = preIndex
  28068. skippy, err := skipGenerated(data[iNdEx:])
  28069. if err != nil {
  28070. return err
  28071. }
  28072. if skippy < 0 {
  28073. return ErrInvalidLengthGenerated
  28074. }
  28075. if (iNdEx + skippy) > l {
  28076. return io.ErrUnexpectedEOF
  28077. }
  28078. iNdEx += skippy
  28079. }
  28080. }
  28081. if iNdEx > l {
  28082. return io.ErrUnexpectedEOF
  28083. }
  28084. return nil
  28085. }
  28086. func (m *PodAntiAffinity) Unmarshal(data []byte) error {
  28087. l := len(data)
  28088. iNdEx := 0
  28089. for iNdEx < l {
  28090. preIndex := iNdEx
  28091. var wire uint64
  28092. for shift := uint(0); ; shift += 7 {
  28093. if shift >= 64 {
  28094. return ErrIntOverflowGenerated
  28095. }
  28096. if iNdEx >= l {
  28097. return io.ErrUnexpectedEOF
  28098. }
  28099. b := data[iNdEx]
  28100. iNdEx++
  28101. wire |= (uint64(b) & 0x7F) << shift
  28102. if b < 0x80 {
  28103. break
  28104. }
  28105. }
  28106. fieldNum := int32(wire >> 3)
  28107. wireType := int(wire & 0x7)
  28108. if wireType == 4 {
  28109. return fmt.Errorf("proto: PodAntiAffinity: wiretype end group for non-group")
  28110. }
  28111. if fieldNum <= 0 {
  28112. return fmt.Errorf("proto: PodAntiAffinity: illegal tag %d (wire type %d)", fieldNum, wire)
  28113. }
  28114. switch fieldNum {
  28115. case 1:
  28116. if wireType != 2 {
  28117. return fmt.Errorf("proto: wrong wireType = %d for field RequiredDuringSchedulingIgnoredDuringExecution", wireType)
  28118. }
  28119. var msglen int
  28120. for shift := uint(0); ; shift += 7 {
  28121. if shift >= 64 {
  28122. return ErrIntOverflowGenerated
  28123. }
  28124. if iNdEx >= l {
  28125. return io.ErrUnexpectedEOF
  28126. }
  28127. b := data[iNdEx]
  28128. iNdEx++
  28129. msglen |= (int(b) & 0x7F) << shift
  28130. if b < 0x80 {
  28131. break
  28132. }
  28133. }
  28134. if msglen < 0 {
  28135. return ErrInvalidLengthGenerated
  28136. }
  28137. postIndex := iNdEx + msglen
  28138. if postIndex > l {
  28139. return io.ErrUnexpectedEOF
  28140. }
  28141. m.RequiredDuringSchedulingIgnoredDuringExecution = append(m.RequiredDuringSchedulingIgnoredDuringExecution, PodAffinityTerm{})
  28142. if err := m.RequiredDuringSchedulingIgnoredDuringExecution[len(m.RequiredDuringSchedulingIgnoredDuringExecution)-1].Unmarshal(data[iNdEx:postIndex]); err != nil {
  28143. return err
  28144. }
  28145. iNdEx = postIndex
  28146. case 2:
  28147. if wireType != 2 {
  28148. return fmt.Errorf("proto: wrong wireType = %d for field PreferredDuringSchedulingIgnoredDuringExecution", wireType)
  28149. }
  28150. var msglen int
  28151. for shift := uint(0); ; shift += 7 {
  28152. if shift >= 64 {
  28153. return ErrIntOverflowGenerated
  28154. }
  28155. if iNdEx >= l {
  28156. return io.ErrUnexpectedEOF
  28157. }
  28158. b := data[iNdEx]
  28159. iNdEx++
  28160. msglen |= (int(b) & 0x7F) << shift
  28161. if b < 0x80 {
  28162. break
  28163. }
  28164. }
  28165. if msglen < 0 {
  28166. return ErrInvalidLengthGenerated
  28167. }
  28168. postIndex := iNdEx + msglen
  28169. if postIndex > l {
  28170. return io.ErrUnexpectedEOF
  28171. }
  28172. m.PreferredDuringSchedulingIgnoredDuringExecution = append(m.PreferredDuringSchedulingIgnoredDuringExecution, WeightedPodAffinityTerm{})
  28173. if err := m.PreferredDuringSchedulingIgnoredDuringExecution[len(m.PreferredDuringSchedulingIgnoredDuringExecution)-1].Unmarshal(data[iNdEx:postIndex]); err != nil {
  28174. return err
  28175. }
  28176. iNdEx = postIndex
  28177. default:
  28178. iNdEx = preIndex
  28179. skippy, err := skipGenerated(data[iNdEx:])
  28180. if err != nil {
  28181. return err
  28182. }
  28183. if skippy < 0 {
  28184. return ErrInvalidLengthGenerated
  28185. }
  28186. if (iNdEx + skippy) > l {
  28187. return io.ErrUnexpectedEOF
  28188. }
  28189. iNdEx += skippy
  28190. }
  28191. }
  28192. if iNdEx > l {
  28193. return io.ErrUnexpectedEOF
  28194. }
  28195. return nil
  28196. }
  28197. func (m *PodAttachOptions) Unmarshal(data []byte) error {
  28198. l := len(data)
  28199. iNdEx := 0
  28200. for iNdEx < l {
  28201. preIndex := iNdEx
  28202. var wire uint64
  28203. for shift := uint(0); ; shift += 7 {
  28204. if shift >= 64 {
  28205. return ErrIntOverflowGenerated
  28206. }
  28207. if iNdEx >= l {
  28208. return io.ErrUnexpectedEOF
  28209. }
  28210. b := data[iNdEx]
  28211. iNdEx++
  28212. wire |= (uint64(b) & 0x7F) << shift
  28213. if b < 0x80 {
  28214. break
  28215. }
  28216. }
  28217. fieldNum := int32(wire >> 3)
  28218. wireType := int(wire & 0x7)
  28219. if wireType == 4 {
  28220. return fmt.Errorf("proto: PodAttachOptions: wiretype end group for non-group")
  28221. }
  28222. if fieldNum <= 0 {
  28223. return fmt.Errorf("proto: PodAttachOptions: illegal tag %d (wire type %d)", fieldNum, wire)
  28224. }
  28225. switch fieldNum {
  28226. case 1:
  28227. if wireType != 0 {
  28228. return fmt.Errorf("proto: wrong wireType = %d for field Stdin", wireType)
  28229. }
  28230. var v int
  28231. for shift := uint(0); ; shift += 7 {
  28232. if shift >= 64 {
  28233. return ErrIntOverflowGenerated
  28234. }
  28235. if iNdEx >= l {
  28236. return io.ErrUnexpectedEOF
  28237. }
  28238. b := data[iNdEx]
  28239. iNdEx++
  28240. v |= (int(b) & 0x7F) << shift
  28241. if b < 0x80 {
  28242. break
  28243. }
  28244. }
  28245. m.Stdin = bool(v != 0)
  28246. case 2:
  28247. if wireType != 0 {
  28248. return fmt.Errorf("proto: wrong wireType = %d for field Stdout", wireType)
  28249. }
  28250. var v int
  28251. for shift := uint(0); ; shift += 7 {
  28252. if shift >= 64 {
  28253. return ErrIntOverflowGenerated
  28254. }
  28255. if iNdEx >= l {
  28256. return io.ErrUnexpectedEOF
  28257. }
  28258. b := data[iNdEx]
  28259. iNdEx++
  28260. v |= (int(b) & 0x7F) << shift
  28261. if b < 0x80 {
  28262. break
  28263. }
  28264. }
  28265. m.Stdout = bool(v != 0)
  28266. case 3:
  28267. if wireType != 0 {
  28268. return fmt.Errorf("proto: wrong wireType = %d for field Stderr", wireType)
  28269. }
  28270. var v int
  28271. for shift := uint(0); ; shift += 7 {
  28272. if shift >= 64 {
  28273. return ErrIntOverflowGenerated
  28274. }
  28275. if iNdEx >= l {
  28276. return io.ErrUnexpectedEOF
  28277. }
  28278. b := data[iNdEx]
  28279. iNdEx++
  28280. v |= (int(b) & 0x7F) << shift
  28281. if b < 0x80 {
  28282. break
  28283. }
  28284. }
  28285. m.Stderr = bool(v != 0)
  28286. case 4:
  28287. if wireType != 0 {
  28288. return fmt.Errorf("proto: wrong wireType = %d for field TTY", wireType)
  28289. }
  28290. var v int
  28291. for shift := uint(0); ; shift += 7 {
  28292. if shift >= 64 {
  28293. return ErrIntOverflowGenerated
  28294. }
  28295. if iNdEx >= l {
  28296. return io.ErrUnexpectedEOF
  28297. }
  28298. b := data[iNdEx]
  28299. iNdEx++
  28300. v |= (int(b) & 0x7F) << shift
  28301. if b < 0x80 {
  28302. break
  28303. }
  28304. }
  28305. m.TTY = bool(v != 0)
  28306. case 5:
  28307. if wireType != 2 {
  28308. return fmt.Errorf("proto: wrong wireType = %d for field Container", wireType)
  28309. }
  28310. var stringLen uint64
  28311. for shift := uint(0); ; shift += 7 {
  28312. if shift >= 64 {
  28313. return ErrIntOverflowGenerated
  28314. }
  28315. if iNdEx >= l {
  28316. return io.ErrUnexpectedEOF
  28317. }
  28318. b := data[iNdEx]
  28319. iNdEx++
  28320. stringLen |= (uint64(b) & 0x7F) << shift
  28321. if b < 0x80 {
  28322. break
  28323. }
  28324. }
  28325. intStringLen := int(stringLen)
  28326. if intStringLen < 0 {
  28327. return ErrInvalidLengthGenerated
  28328. }
  28329. postIndex := iNdEx + intStringLen
  28330. if postIndex > l {
  28331. return io.ErrUnexpectedEOF
  28332. }
  28333. m.Container = string(data[iNdEx:postIndex])
  28334. iNdEx = postIndex
  28335. default:
  28336. iNdEx = preIndex
  28337. skippy, err := skipGenerated(data[iNdEx:])
  28338. if err != nil {
  28339. return err
  28340. }
  28341. if skippy < 0 {
  28342. return ErrInvalidLengthGenerated
  28343. }
  28344. if (iNdEx + skippy) > l {
  28345. return io.ErrUnexpectedEOF
  28346. }
  28347. iNdEx += skippy
  28348. }
  28349. }
  28350. if iNdEx > l {
  28351. return io.ErrUnexpectedEOF
  28352. }
  28353. return nil
  28354. }
  28355. func (m *PodCondition) Unmarshal(data []byte) error {
  28356. l := len(data)
  28357. iNdEx := 0
  28358. for iNdEx < l {
  28359. preIndex := iNdEx
  28360. var wire uint64
  28361. for shift := uint(0); ; shift += 7 {
  28362. if shift >= 64 {
  28363. return ErrIntOverflowGenerated
  28364. }
  28365. if iNdEx >= l {
  28366. return io.ErrUnexpectedEOF
  28367. }
  28368. b := data[iNdEx]
  28369. iNdEx++
  28370. wire |= (uint64(b) & 0x7F) << shift
  28371. if b < 0x80 {
  28372. break
  28373. }
  28374. }
  28375. fieldNum := int32(wire >> 3)
  28376. wireType := int(wire & 0x7)
  28377. if wireType == 4 {
  28378. return fmt.Errorf("proto: PodCondition: wiretype end group for non-group")
  28379. }
  28380. if fieldNum <= 0 {
  28381. return fmt.Errorf("proto: PodCondition: illegal tag %d (wire type %d)", fieldNum, wire)
  28382. }
  28383. switch fieldNum {
  28384. case 1:
  28385. if wireType != 2 {
  28386. return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType)
  28387. }
  28388. var stringLen uint64
  28389. for shift := uint(0); ; shift += 7 {
  28390. if shift >= 64 {
  28391. return ErrIntOverflowGenerated
  28392. }
  28393. if iNdEx >= l {
  28394. return io.ErrUnexpectedEOF
  28395. }
  28396. b := data[iNdEx]
  28397. iNdEx++
  28398. stringLen |= (uint64(b) & 0x7F) << shift
  28399. if b < 0x80 {
  28400. break
  28401. }
  28402. }
  28403. intStringLen := int(stringLen)
  28404. if intStringLen < 0 {
  28405. return ErrInvalidLengthGenerated
  28406. }
  28407. postIndex := iNdEx + intStringLen
  28408. if postIndex > l {
  28409. return io.ErrUnexpectedEOF
  28410. }
  28411. m.Type = PodConditionType(data[iNdEx:postIndex])
  28412. iNdEx = postIndex
  28413. case 2:
  28414. if wireType != 2 {
  28415. return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
  28416. }
  28417. var stringLen uint64
  28418. for shift := uint(0); ; shift += 7 {
  28419. if shift >= 64 {
  28420. return ErrIntOverflowGenerated
  28421. }
  28422. if iNdEx >= l {
  28423. return io.ErrUnexpectedEOF
  28424. }
  28425. b := data[iNdEx]
  28426. iNdEx++
  28427. stringLen |= (uint64(b) & 0x7F) << shift
  28428. if b < 0x80 {
  28429. break
  28430. }
  28431. }
  28432. intStringLen := int(stringLen)
  28433. if intStringLen < 0 {
  28434. return ErrInvalidLengthGenerated
  28435. }
  28436. postIndex := iNdEx + intStringLen
  28437. if postIndex > l {
  28438. return io.ErrUnexpectedEOF
  28439. }
  28440. m.Status = ConditionStatus(data[iNdEx:postIndex])
  28441. iNdEx = postIndex
  28442. case 3:
  28443. if wireType != 2 {
  28444. return fmt.Errorf("proto: wrong wireType = %d for field LastProbeTime", wireType)
  28445. }
  28446. var msglen int
  28447. for shift := uint(0); ; shift += 7 {
  28448. if shift >= 64 {
  28449. return ErrIntOverflowGenerated
  28450. }
  28451. if iNdEx >= l {
  28452. return io.ErrUnexpectedEOF
  28453. }
  28454. b := data[iNdEx]
  28455. iNdEx++
  28456. msglen |= (int(b) & 0x7F) << shift
  28457. if b < 0x80 {
  28458. break
  28459. }
  28460. }
  28461. if msglen < 0 {
  28462. return ErrInvalidLengthGenerated
  28463. }
  28464. postIndex := iNdEx + msglen
  28465. if postIndex > l {
  28466. return io.ErrUnexpectedEOF
  28467. }
  28468. if err := m.LastProbeTime.Unmarshal(data[iNdEx:postIndex]); err != nil {
  28469. return err
  28470. }
  28471. iNdEx = postIndex
  28472. case 4:
  28473. if wireType != 2 {
  28474. return fmt.Errorf("proto: wrong wireType = %d for field LastTransitionTime", wireType)
  28475. }
  28476. var msglen int
  28477. for shift := uint(0); ; shift += 7 {
  28478. if shift >= 64 {
  28479. return ErrIntOverflowGenerated
  28480. }
  28481. if iNdEx >= l {
  28482. return io.ErrUnexpectedEOF
  28483. }
  28484. b := data[iNdEx]
  28485. iNdEx++
  28486. msglen |= (int(b) & 0x7F) << shift
  28487. if b < 0x80 {
  28488. break
  28489. }
  28490. }
  28491. if msglen < 0 {
  28492. return ErrInvalidLengthGenerated
  28493. }
  28494. postIndex := iNdEx + msglen
  28495. if postIndex > l {
  28496. return io.ErrUnexpectedEOF
  28497. }
  28498. if err := m.LastTransitionTime.Unmarshal(data[iNdEx:postIndex]); err != nil {
  28499. return err
  28500. }
  28501. iNdEx = postIndex
  28502. case 5:
  28503. if wireType != 2 {
  28504. return fmt.Errorf("proto: wrong wireType = %d for field Reason", wireType)
  28505. }
  28506. var stringLen uint64
  28507. for shift := uint(0); ; shift += 7 {
  28508. if shift >= 64 {
  28509. return ErrIntOverflowGenerated
  28510. }
  28511. if iNdEx >= l {
  28512. return io.ErrUnexpectedEOF
  28513. }
  28514. b := data[iNdEx]
  28515. iNdEx++
  28516. stringLen |= (uint64(b) & 0x7F) << shift
  28517. if b < 0x80 {
  28518. break
  28519. }
  28520. }
  28521. intStringLen := int(stringLen)
  28522. if intStringLen < 0 {
  28523. return ErrInvalidLengthGenerated
  28524. }
  28525. postIndex := iNdEx + intStringLen
  28526. if postIndex > l {
  28527. return io.ErrUnexpectedEOF
  28528. }
  28529. m.Reason = string(data[iNdEx:postIndex])
  28530. iNdEx = postIndex
  28531. case 6:
  28532. if wireType != 2 {
  28533. return fmt.Errorf("proto: wrong wireType = %d for field Message", wireType)
  28534. }
  28535. var stringLen uint64
  28536. for shift := uint(0); ; shift += 7 {
  28537. if shift >= 64 {
  28538. return ErrIntOverflowGenerated
  28539. }
  28540. if iNdEx >= l {
  28541. return io.ErrUnexpectedEOF
  28542. }
  28543. b := data[iNdEx]
  28544. iNdEx++
  28545. stringLen |= (uint64(b) & 0x7F) << shift
  28546. if b < 0x80 {
  28547. break
  28548. }
  28549. }
  28550. intStringLen := int(stringLen)
  28551. if intStringLen < 0 {
  28552. return ErrInvalidLengthGenerated
  28553. }
  28554. postIndex := iNdEx + intStringLen
  28555. if postIndex > l {
  28556. return io.ErrUnexpectedEOF
  28557. }
  28558. m.Message = string(data[iNdEx:postIndex])
  28559. iNdEx = postIndex
  28560. default:
  28561. iNdEx = preIndex
  28562. skippy, err := skipGenerated(data[iNdEx:])
  28563. if err != nil {
  28564. return err
  28565. }
  28566. if skippy < 0 {
  28567. return ErrInvalidLengthGenerated
  28568. }
  28569. if (iNdEx + skippy) > l {
  28570. return io.ErrUnexpectedEOF
  28571. }
  28572. iNdEx += skippy
  28573. }
  28574. }
  28575. if iNdEx > l {
  28576. return io.ErrUnexpectedEOF
  28577. }
  28578. return nil
  28579. }
  28580. func (m *PodExecOptions) Unmarshal(data []byte) error {
  28581. l := len(data)
  28582. iNdEx := 0
  28583. for iNdEx < l {
  28584. preIndex := iNdEx
  28585. var wire uint64
  28586. for shift := uint(0); ; shift += 7 {
  28587. if shift >= 64 {
  28588. return ErrIntOverflowGenerated
  28589. }
  28590. if iNdEx >= l {
  28591. return io.ErrUnexpectedEOF
  28592. }
  28593. b := data[iNdEx]
  28594. iNdEx++
  28595. wire |= (uint64(b) & 0x7F) << shift
  28596. if b < 0x80 {
  28597. break
  28598. }
  28599. }
  28600. fieldNum := int32(wire >> 3)
  28601. wireType := int(wire & 0x7)
  28602. if wireType == 4 {
  28603. return fmt.Errorf("proto: PodExecOptions: wiretype end group for non-group")
  28604. }
  28605. if fieldNum <= 0 {
  28606. return fmt.Errorf("proto: PodExecOptions: illegal tag %d (wire type %d)", fieldNum, wire)
  28607. }
  28608. switch fieldNum {
  28609. case 1:
  28610. if wireType != 0 {
  28611. return fmt.Errorf("proto: wrong wireType = %d for field Stdin", wireType)
  28612. }
  28613. var v int
  28614. for shift := uint(0); ; shift += 7 {
  28615. if shift >= 64 {
  28616. return ErrIntOverflowGenerated
  28617. }
  28618. if iNdEx >= l {
  28619. return io.ErrUnexpectedEOF
  28620. }
  28621. b := data[iNdEx]
  28622. iNdEx++
  28623. v |= (int(b) & 0x7F) << shift
  28624. if b < 0x80 {
  28625. break
  28626. }
  28627. }
  28628. m.Stdin = bool(v != 0)
  28629. case 2:
  28630. if wireType != 0 {
  28631. return fmt.Errorf("proto: wrong wireType = %d for field Stdout", wireType)
  28632. }
  28633. var v int
  28634. for shift := uint(0); ; shift += 7 {
  28635. if shift >= 64 {
  28636. return ErrIntOverflowGenerated
  28637. }
  28638. if iNdEx >= l {
  28639. return io.ErrUnexpectedEOF
  28640. }
  28641. b := data[iNdEx]
  28642. iNdEx++
  28643. v |= (int(b) & 0x7F) << shift
  28644. if b < 0x80 {
  28645. break
  28646. }
  28647. }
  28648. m.Stdout = bool(v != 0)
  28649. case 3:
  28650. if wireType != 0 {
  28651. return fmt.Errorf("proto: wrong wireType = %d for field Stderr", wireType)
  28652. }
  28653. var v int
  28654. for shift := uint(0); ; shift += 7 {
  28655. if shift >= 64 {
  28656. return ErrIntOverflowGenerated
  28657. }
  28658. if iNdEx >= l {
  28659. return io.ErrUnexpectedEOF
  28660. }
  28661. b := data[iNdEx]
  28662. iNdEx++
  28663. v |= (int(b) & 0x7F) << shift
  28664. if b < 0x80 {
  28665. break
  28666. }
  28667. }
  28668. m.Stderr = bool(v != 0)
  28669. case 4:
  28670. if wireType != 0 {
  28671. return fmt.Errorf("proto: wrong wireType = %d for field TTY", wireType)
  28672. }
  28673. var v int
  28674. for shift := uint(0); ; shift += 7 {
  28675. if shift >= 64 {
  28676. return ErrIntOverflowGenerated
  28677. }
  28678. if iNdEx >= l {
  28679. return io.ErrUnexpectedEOF
  28680. }
  28681. b := data[iNdEx]
  28682. iNdEx++
  28683. v |= (int(b) & 0x7F) << shift
  28684. if b < 0x80 {
  28685. break
  28686. }
  28687. }
  28688. m.TTY = bool(v != 0)
  28689. case 5:
  28690. if wireType != 2 {
  28691. return fmt.Errorf("proto: wrong wireType = %d for field Container", wireType)
  28692. }
  28693. var stringLen uint64
  28694. for shift := uint(0); ; shift += 7 {
  28695. if shift >= 64 {
  28696. return ErrIntOverflowGenerated
  28697. }
  28698. if iNdEx >= l {
  28699. return io.ErrUnexpectedEOF
  28700. }
  28701. b := data[iNdEx]
  28702. iNdEx++
  28703. stringLen |= (uint64(b) & 0x7F) << shift
  28704. if b < 0x80 {
  28705. break
  28706. }
  28707. }
  28708. intStringLen := int(stringLen)
  28709. if intStringLen < 0 {
  28710. return ErrInvalidLengthGenerated
  28711. }
  28712. postIndex := iNdEx + intStringLen
  28713. if postIndex > l {
  28714. return io.ErrUnexpectedEOF
  28715. }
  28716. m.Container = string(data[iNdEx:postIndex])
  28717. iNdEx = postIndex
  28718. case 6:
  28719. if wireType != 2 {
  28720. return fmt.Errorf("proto: wrong wireType = %d for field Command", wireType)
  28721. }
  28722. var stringLen uint64
  28723. for shift := uint(0); ; shift += 7 {
  28724. if shift >= 64 {
  28725. return ErrIntOverflowGenerated
  28726. }
  28727. if iNdEx >= l {
  28728. return io.ErrUnexpectedEOF
  28729. }
  28730. b := data[iNdEx]
  28731. iNdEx++
  28732. stringLen |= (uint64(b) & 0x7F) << shift
  28733. if b < 0x80 {
  28734. break
  28735. }
  28736. }
  28737. intStringLen := int(stringLen)
  28738. if intStringLen < 0 {
  28739. return ErrInvalidLengthGenerated
  28740. }
  28741. postIndex := iNdEx + intStringLen
  28742. if postIndex > l {
  28743. return io.ErrUnexpectedEOF
  28744. }
  28745. m.Command = append(m.Command, string(data[iNdEx:postIndex]))
  28746. iNdEx = postIndex
  28747. default:
  28748. iNdEx = preIndex
  28749. skippy, err := skipGenerated(data[iNdEx:])
  28750. if err != nil {
  28751. return err
  28752. }
  28753. if skippy < 0 {
  28754. return ErrInvalidLengthGenerated
  28755. }
  28756. if (iNdEx + skippy) > l {
  28757. return io.ErrUnexpectedEOF
  28758. }
  28759. iNdEx += skippy
  28760. }
  28761. }
  28762. if iNdEx > l {
  28763. return io.ErrUnexpectedEOF
  28764. }
  28765. return nil
  28766. }
  28767. func (m *PodList) Unmarshal(data []byte) error {
  28768. l := len(data)
  28769. iNdEx := 0
  28770. for iNdEx < l {
  28771. preIndex := iNdEx
  28772. var wire uint64
  28773. for shift := uint(0); ; shift += 7 {
  28774. if shift >= 64 {
  28775. return ErrIntOverflowGenerated
  28776. }
  28777. if iNdEx >= l {
  28778. return io.ErrUnexpectedEOF
  28779. }
  28780. b := data[iNdEx]
  28781. iNdEx++
  28782. wire |= (uint64(b) & 0x7F) << shift
  28783. if b < 0x80 {
  28784. break
  28785. }
  28786. }
  28787. fieldNum := int32(wire >> 3)
  28788. wireType := int(wire & 0x7)
  28789. if wireType == 4 {
  28790. return fmt.Errorf("proto: PodList: wiretype end group for non-group")
  28791. }
  28792. if fieldNum <= 0 {
  28793. return fmt.Errorf("proto: PodList: illegal tag %d (wire type %d)", fieldNum, wire)
  28794. }
  28795. switch fieldNum {
  28796. case 1:
  28797. if wireType != 2 {
  28798. return fmt.Errorf("proto: wrong wireType = %d for field ListMeta", wireType)
  28799. }
  28800. var msglen int
  28801. for shift := uint(0); ; shift += 7 {
  28802. if shift >= 64 {
  28803. return ErrIntOverflowGenerated
  28804. }
  28805. if iNdEx >= l {
  28806. return io.ErrUnexpectedEOF
  28807. }
  28808. b := data[iNdEx]
  28809. iNdEx++
  28810. msglen |= (int(b) & 0x7F) << shift
  28811. if b < 0x80 {
  28812. break
  28813. }
  28814. }
  28815. if msglen < 0 {
  28816. return ErrInvalidLengthGenerated
  28817. }
  28818. postIndex := iNdEx + msglen
  28819. if postIndex > l {
  28820. return io.ErrUnexpectedEOF
  28821. }
  28822. if err := m.ListMeta.Unmarshal(data[iNdEx:postIndex]); err != nil {
  28823. return err
  28824. }
  28825. iNdEx = postIndex
  28826. case 2:
  28827. if wireType != 2 {
  28828. return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType)
  28829. }
  28830. var msglen int
  28831. for shift := uint(0); ; shift += 7 {
  28832. if shift >= 64 {
  28833. return ErrIntOverflowGenerated
  28834. }
  28835. if iNdEx >= l {
  28836. return io.ErrUnexpectedEOF
  28837. }
  28838. b := data[iNdEx]
  28839. iNdEx++
  28840. msglen |= (int(b) & 0x7F) << shift
  28841. if b < 0x80 {
  28842. break
  28843. }
  28844. }
  28845. if msglen < 0 {
  28846. return ErrInvalidLengthGenerated
  28847. }
  28848. postIndex := iNdEx + msglen
  28849. if postIndex > l {
  28850. return io.ErrUnexpectedEOF
  28851. }
  28852. m.Items = append(m.Items, Pod{})
  28853. if err := m.Items[len(m.Items)-1].Unmarshal(data[iNdEx:postIndex]); err != nil {
  28854. return err
  28855. }
  28856. iNdEx = postIndex
  28857. default:
  28858. iNdEx = preIndex
  28859. skippy, err := skipGenerated(data[iNdEx:])
  28860. if err != nil {
  28861. return err
  28862. }
  28863. if skippy < 0 {
  28864. return ErrInvalidLengthGenerated
  28865. }
  28866. if (iNdEx + skippy) > l {
  28867. return io.ErrUnexpectedEOF
  28868. }
  28869. iNdEx += skippy
  28870. }
  28871. }
  28872. if iNdEx > l {
  28873. return io.ErrUnexpectedEOF
  28874. }
  28875. return nil
  28876. }
  28877. func (m *PodLogOptions) Unmarshal(data []byte) error {
  28878. l := len(data)
  28879. iNdEx := 0
  28880. for iNdEx < l {
  28881. preIndex := iNdEx
  28882. var wire uint64
  28883. for shift := uint(0); ; shift += 7 {
  28884. if shift >= 64 {
  28885. return ErrIntOverflowGenerated
  28886. }
  28887. if iNdEx >= l {
  28888. return io.ErrUnexpectedEOF
  28889. }
  28890. b := data[iNdEx]
  28891. iNdEx++
  28892. wire |= (uint64(b) & 0x7F) << shift
  28893. if b < 0x80 {
  28894. break
  28895. }
  28896. }
  28897. fieldNum := int32(wire >> 3)
  28898. wireType := int(wire & 0x7)
  28899. if wireType == 4 {
  28900. return fmt.Errorf("proto: PodLogOptions: wiretype end group for non-group")
  28901. }
  28902. if fieldNum <= 0 {
  28903. return fmt.Errorf("proto: PodLogOptions: illegal tag %d (wire type %d)", fieldNum, wire)
  28904. }
  28905. switch fieldNum {
  28906. case 1:
  28907. if wireType != 2 {
  28908. return fmt.Errorf("proto: wrong wireType = %d for field Container", wireType)
  28909. }
  28910. var stringLen uint64
  28911. for shift := uint(0); ; shift += 7 {
  28912. if shift >= 64 {
  28913. return ErrIntOverflowGenerated
  28914. }
  28915. if iNdEx >= l {
  28916. return io.ErrUnexpectedEOF
  28917. }
  28918. b := data[iNdEx]
  28919. iNdEx++
  28920. stringLen |= (uint64(b) & 0x7F) << shift
  28921. if b < 0x80 {
  28922. break
  28923. }
  28924. }
  28925. intStringLen := int(stringLen)
  28926. if intStringLen < 0 {
  28927. return ErrInvalidLengthGenerated
  28928. }
  28929. postIndex := iNdEx + intStringLen
  28930. if postIndex > l {
  28931. return io.ErrUnexpectedEOF
  28932. }
  28933. m.Container = string(data[iNdEx:postIndex])
  28934. iNdEx = postIndex
  28935. case 2:
  28936. if wireType != 0 {
  28937. return fmt.Errorf("proto: wrong wireType = %d for field Follow", wireType)
  28938. }
  28939. var v int
  28940. for shift := uint(0); ; shift += 7 {
  28941. if shift >= 64 {
  28942. return ErrIntOverflowGenerated
  28943. }
  28944. if iNdEx >= l {
  28945. return io.ErrUnexpectedEOF
  28946. }
  28947. b := data[iNdEx]
  28948. iNdEx++
  28949. v |= (int(b) & 0x7F) << shift
  28950. if b < 0x80 {
  28951. break
  28952. }
  28953. }
  28954. m.Follow = bool(v != 0)
  28955. case 3:
  28956. if wireType != 0 {
  28957. return fmt.Errorf("proto: wrong wireType = %d for field Previous", wireType)
  28958. }
  28959. var v int
  28960. for shift := uint(0); ; shift += 7 {
  28961. if shift >= 64 {
  28962. return ErrIntOverflowGenerated
  28963. }
  28964. if iNdEx >= l {
  28965. return io.ErrUnexpectedEOF
  28966. }
  28967. b := data[iNdEx]
  28968. iNdEx++
  28969. v |= (int(b) & 0x7F) << shift
  28970. if b < 0x80 {
  28971. break
  28972. }
  28973. }
  28974. m.Previous = bool(v != 0)
  28975. case 4:
  28976. if wireType != 0 {
  28977. return fmt.Errorf("proto: wrong wireType = %d for field SinceSeconds", wireType)
  28978. }
  28979. var v int64
  28980. for shift := uint(0); ; shift += 7 {
  28981. if shift >= 64 {
  28982. return ErrIntOverflowGenerated
  28983. }
  28984. if iNdEx >= l {
  28985. return io.ErrUnexpectedEOF
  28986. }
  28987. b := data[iNdEx]
  28988. iNdEx++
  28989. v |= (int64(b) & 0x7F) << shift
  28990. if b < 0x80 {
  28991. break
  28992. }
  28993. }
  28994. m.SinceSeconds = &v
  28995. case 5:
  28996. if wireType != 2 {
  28997. return fmt.Errorf("proto: wrong wireType = %d for field SinceTime", wireType)
  28998. }
  28999. var msglen int
  29000. for shift := uint(0); ; shift += 7 {
  29001. if shift >= 64 {
  29002. return ErrIntOverflowGenerated
  29003. }
  29004. if iNdEx >= l {
  29005. return io.ErrUnexpectedEOF
  29006. }
  29007. b := data[iNdEx]
  29008. iNdEx++
  29009. msglen |= (int(b) & 0x7F) << shift
  29010. if b < 0x80 {
  29011. break
  29012. }
  29013. }
  29014. if msglen < 0 {
  29015. return ErrInvalidLengthGenerated
  29016. }
  29017. postIndex := iNdEx + msglen
  29018. if postIndex > l {
  29019. return io.ErrUnexpectedEOF
  29020. }
  29021. if m.SinceTime == nil {
  29022. m.SinceTime = &k8s_io_kubernetes_pkg_api_unversioned.Time{}
  29023. }
  29024. if err := m.SinceTime.Unmarshal(data[iNdEx:postIndex]); err != nil {
  29025. return err
  29026. }
  29027. iNdEx = postIndex
  29028. case 6:
  29029. if wireType != 0 {
  29030. return fmt.Errorf("proto: wrong wireType = %d for field Timestamps", wireType)
  29031. }
  29032. var v int
  29033. for shift := uint(0); ; shift += 7 {
  29034. if shift >= 64 {
  29035. return ErrIntOverflowGenerated
  29036. }
  29037. if iNdEx >= l {
  29038. return io.ErrUnexpectedEOF
  29039. }
  29040. b := data[iNdEx]
  29041. iNdEx++
  29042. v |= (int(b) & 0x7F) << shift
  29043. if b < 0x80 {
  29044. break
  29045. }
  29046. }
  29047. m.Timestamps = bool(v != 0)
  29048. case 7:
  29049. if wireType != 0 {
  29050. return fmt.Errorf("proto: wrong wireType = %d for field TailLines", wireType)
  29051. }
  29052. var v int64
  29053. for shift := uint(0); ; shift += 7 {
  29054. if shift >= 64 {
  29055. return ErrIntOverflowGenerated
  29056. }
  29057. if iNdEx >= l {
  29058. return io.ErrUnexpectedEOF
  29059. }
  29060. b := data[iNdEx]
  29061. iNdEx++
  29062. v |= (int64(b) & 0x7F) << shift
  29063. if b < 0x80 {
  29064. break
  29065. }
  29066. }
  29067. m.TailLines = &v
  29068. case 8:
  29069. if wireType != 0 {
  29070. return fmt.Errorf("proto: wrong wireType = %d for field LimitBytes", wireType)
  29071. }
  29072. var v int64
  29073. for shift := uint(0); ; shift += 7 {
  29074. if shift >= 64 {
  29075. return ErrIntOverflowGenerated
  29076. }
  29077. if iNdEx >= l {
  29078. return io.ErrUnexpectedEOF
  29079. }
  29080. b := data[iNdEx]
  29081. iNdEx++
  29082. v |= (int64(b) & 0x7F) << shift
  29083. if b < 0x80 {
  29084. break
  29085. }
  29086. }
  29087. m.LimitBytes = &v
  29088. default:
  29089. iNdEx = preIndex
  29090. skippy, err := skipGenerated(data[iNdEx:])
  29091. if err != nil {
  29092. return err
  29093. }
  29094. if skippy < 0 {
  29095. return ErrInvalidLengthGenerated
  29096. }
  29097. if (iNdEx + skippy) > l {
  29098. return io.ErrUnexpectedEOF
  29099. }
  29100. iNdEx += skippy
  29101. }
  29102. }
  29103. if iNdEx > l {
  29104. return io.ErrUnexpectedEOF
  29105. }
  29106. return nil
  29107. }
  29108. func (m *PodProxyOptions) Unmarshal(data []byte) error {
  29109. l := len(data)
  29110. iNdEx := 0
  29111. for iNdEx < l {
  29112. preIndex := iNdEx
  29113. var wire uint64
  29114. for shift := uint(0); ; shift += 7 {
  29115. if shift >= 64 {
  29116. return ErrIntOverflowGenerated
  29117. }
  29118. if iNdEx >= l {
  29119. return io.ErrUnexpectedEOF
  29120. }
  29121. b := data[iNdEx]
  29122. iNdEx++
  29123. wire |= (uint64(b) & 0x7F) << shift
  29124. if b < 0x80 {
  29125. break
  29126. }
  29127. }
  29128. fieldNum := int32(wire >> 3)
  29129. wireType := int(wire & 0x7)
  29130. if wireType == 4 {
  29131. return fmt.Errorf("proto: PodProxyOptions: wiretype end group for non-group")
  29132. }
  29133. if fieldNum <= 0 {
  29134. return fmt.Errorf("proto: PodProxyOptions: illegal tag %d (wire type %d)", fieldNum, wire)
  29135. }
  29136. switch fieldNum {
  29137. case 1:
  29138. if wireType != 2 {
  29139. return fmt.Errorf("proto: wrong wireType = %d for field Path", wireType)
  29140. }
  29141. var stringLen uint64
  29142. for shift := uint(0); ; shift += 7 {
  29143. if shift >= 64 {
  29144. return ErrIntOverflowGenerated
  29145. }
  29146. if iNdEx >= l {
  29147. return io.ErrUnexpectedEOF
  29148. }
  29149. b := data[iNdEx]
  29150. iNdEx++
  29151. stringLen |= (uint64(b) & 0x7F) << shift
  29152. if b < 0x80 {
  29153. break
  29154. }
  29155. }
  29156. intStringLen := int(stringLen)
  29157. if intStringLen < 0 {
  29158. return ErrInvalidLengthGenerated
  29159. }
  29160. postIndex := iNdEx + intStringLen
  29161. if postIndex > l {
  29162. return io.ErrUnexpectedEOF
  29163. }
  29164. m.Path = string(data[iNdEx:postIndex])
  29165. iNdEx = postIndex
  29166. default:
  29167. iNdEx = preIndex
  29168. skippy, err := skipGenerated(data[iNdEx:])
  29169. if err != nil {
  29170. return err
  29171. }
  29172. if skippy < 0 {
  29173. return ErrInvalidLengthGenerated
  29174. }
  29175. if (iNdEx + skippy) > l {
  29176. return io.ErrUnexpectedEOF
  29177. }
  29178. iNdEx += skippy
  29179. }
  29180. }
  29181. if iNdEx > l {
  29182. return io.ErrUnexpectedEOF
  29183. }
  29184. return nil
  29185. }
  29186. func (m *PodSecurityContext) Unmarshal(data []byte) error {
  29187. l := len(data)
  29188. iNdEx := 0
  29189. for iNdEx < l {
  29190. preIndex := iNdEx
  29191. var wire uint64
  29192. for shift := uint(0); ; shift += 7 {
  29193. if shift >= 64 {
  29194. return ErrIntOverflowGenerated
  29195. }
  29196. if iNdEx >= l {
  29197. return io.ErrUnexpectedEOF
  29198. }
  29199. b := data[iNdEx]
  29200. iNdEx++
  29201. wire |= (uint64(b) & 0x7F) << shift
  29202. if b < 0x80 {
  29203. break
  29204. }
  29205. }
  29206. fieldNum := int32(wire >> 3)
  29207. wireType := int(wire & 0x7)
  29208. if wireType == 4 {
  29209. return fmt.Errorf("proto: PodSecurityContext: wiretype end group for non-group")
  29210. }
  29211. if fieldNum <= 0 {
  29212. return fmt.Errorf("proto: PodSecurityContext: illegal tag %d (wire type %d)", fieldNum, wire)
  29213. }
  29214. switch fieldNum {
  29215. case 1:
  29216. if wireType != 2 {
  29217. return fmt.Errorf("proto: wrong wireType = %d for field SELinuxOptions", wireType)
  29218. }
  29219. var msglen int
  29220. for shift := uint(0); ; shift += 7 {
  29221. if shift >= 64 {
  29222. return ErrIntOverflowGenerated
  29223. }
  29224. if iNdEx >= l {
  29225. return io.ErrUnexpectedEOF
  29226. }
  29227. b := data[iNdEx]
  29228. iNdEx++
  29229. msglen |= (int(b) & 0x7F) << shift
  29230. if b < 0x80 {
  29231. break
  29232. }
  29233. }
  29234. if msglen < 0 {
  29235. return ErrInvalidLengthGenerated
  29236. }
  29237. postIndex := iNdEx + msglen
  29238. if postIndex > l {
  29239. return io.ErrUnexpectedEOF
  29240. }
  29241. if m.SELinuxOptions == nil {
  29242. m.SELinuxOptions = &SELinuxOptions{}
  29243. }
  29244. if err := m.SELinuxOptions.Unmarshal(data[iNdEx:postIndex]); err != nil {
  29245. return err
  29246. }
  29247. iNdEx = postIndex
  29248. case 2:
  29249. if wireType != 0 {
  29250. return fmt.Errorf("proto: wrong wireType = %d for field RunAsUser", wireType)
  29251. }
  29252. var v int64
  29253. for shift := uint(0); ; shift += 7 {
  29254. if shift >= 64 {
  29255. return ErrIntOverflowGenerated
  29256. }
  29257. if iNdEx >= l {
  29258. return io.ErrUnexpectedEOF
  29259. }
  29260. b := data[iNdEx]
  29261. iNdEx++
  29262. v |= (int64(b) & 0x7F) << shift
  29263. if b < 0x80 {
  29264. break
  29265. }
  29266. }
  29267. m.RunAsUser = &v
  29268. case 3:
  29269. if wireType != 0 {
  29270. return fmt.Errorf("proto: wrong wireType = %d for field RunAsNonRoot", wireType)
  29271. }
  29272. var v int
  29273. for shift := uint(0); ; shift += 7 {
  29274. if shift >= 64 {
  29275. return ErrIntOverflowGenerated
  29276. }
  29277. if iNdEx >= l {
  29278. return io.ErrUnexpectedEOF
  29279. }
  29280. b := data[iNdEx]
  29281. iNdEx++
  29282. v |= (int(b) & 0x7F) << shift
  29283. if b < 0x80 {
  29284. break
  29285. }
  29286. }
  29287. b := bool(v != 0)
  29288. m.RunAsNonRoot = &b
  29289. case 4:
  29290. if wireType != 0 {
  29291. return fmt.Errorf("proto: wrong wireType = %d for field SupplementalGroups", wireType)
  29292. }
  29293. var v int64
  29294. for shift := uint(0); ; shift += 7 {
  29295. if shift >= 64 {
  29296. return ErrIntOverflowGenerated
  29297. }
  29298. if iNdEx >= l {
  29299. return io.ErrUnexpectedEOF
  29300. }
  29301. b := data[iNdEx]
  29302. iNdEx++
  29303. v |= (int64(b) & 0x7F) << shift
  29304. if b < 0x80 {
  29305. break
  29306. }
  29307. }
  29308. m.SupplementalGroups = append(m.SupplementalGroups, v)
  29309. case 5:
  29310. if wireType != 0 {
  29311. return fmt.Errorf("proto: wrong wireType = %d for field FSGroup", wireType)
  29312. }
  29313. var v int64
  29314. for shift := uint(0); ; shift += 7 {
  29315. if shift >= 64 {
  29316. return ErrIntOverflowGenerated
  29317. }
  29318. if iNdEx >= l {
  29319. return io.ErrUnexpectedEOF
  29320. }
  29321. b := data[iNdEx]
  29322. iNdEx++
  29323. v |= (int64(b) & 0x7F) << shift
  29324. if b < 0x80 {
  29325. break
  29326. }
  29327. }
  29328. m.FSGroup = &v
  29329. default:
  29330. iNdEx = preIndex
  29331. skippy, err := skipGenerated(data[iNdEx:])
  29332. if err != nil {
  29333. return err
  29334. }
  29335. if skippy < 0 {
  29336. return ErrInvalidLengthGenerated
  29337. }
  29338. if (iNdEx + skippy) > l {
  29339. return io.ErrUnexpectedEOF
  29340. }
  29341. iNdEx += skippy
  29342. }
  29343. }
  29344. if iNdEx > l {
  29345. return io.ErrUnexpectedEOF
  29346. }
  29347. return nil
  29348. }
  29349. func (m *PodSignature) Unmarshal(data []byte) error {
  29350. l := len(data)
  29351. iNdEx := 0
  29352. for iNdEx < l {
  29353. preIndex := iNdEx
  29354. var wire uint64
  29355. for shift := uint(0); ; shift += 7 {
  29356. if shift >= 64 {
  29357. return ErrIntOverflowGenerated
  29358. }
  29359. if iNdEx >= l {
  29360. return io.ErrUnexpectedEOF
  29361. }
  29362. b := data[iNdEx]
  29363. iNdEx++
  29364. wire |= (uint64(b) & 0x7F) << shift
  29365. if b < 0x80 {
  29366. break
  29367. }
  29368. }
  29369. fieldNum := int32(wire >> 3)
  29370. wireType := int(wire & 0x7)
  29371. if wireType == 4 {
  29372. return fmt.Errorf("proto: PodSignature: wiretype end group for non-group")
  29373. }
  29374. if fieldNum <= 0 {
  29375. return fmt.Errorf("proto: PodSignature: illegal tag %d (wire type %d)", fieldNum, wire)
  29376. }
  29377. switch fieldNum {
  29378. case 1:
  29379. if wireType != 2 {
  29380. return fmt.Errorf("proto: wrong wireType = %d for field PodController", wireType)
  29381. }
  29382. var msglen int
  29383. for shift := uint(0); ; shift += 7 {
  29384. if shift >= 64 {
  29385. return ErrIntOverflowGenerated
  29386. }
  29387. if iNdEx >= l {
  29388. return io.ErrUnexpectedEOF
  29389. }
  29390. b := data[iNdEx]
  29391. iNdEx++
  29392. msglen |= (int(b) & 0x7F) << shift
  29393. if b < 0x80 {
  29394. break
  29395. }
  29396. }
  29397. if msglen < 0 {
  29398. return ErrInvalidLengthGenerated
  29399. }
  29400. postIndex := iNdEx + msglen
  29401. if postIndex > l {
  29402. return io.ErrUnexpectedEOF
  29403. }
  29404. if m.PodController == nil {
  29405. m.PodController = &OwnerReference{}
  29406. }
  29407. if err := m.PodController.Unmarshal(data[iNdEx:postIndex]); err != nil {
  29408. return err
  29409. }
  29410. iNdEx = postIndex
  29411. default:
  29412. iNdEx = preIndex
  29413. skippy, err := skipGenerated(data[iNdEx:])
  29414. if err != nil {
  29415. return err
  29416. }
  29417. if skippy < 0 {
  29418. return ErrInvalidLengthGenerated
  29419. }
  29420. if (iNdEx + skippy) > l {
  29421. return io.ErrUnexpectedEOF
  29422. }
  29423. iNdEx += skippy
  29424. }
  29425. }
  29426. if iNdEx > l {
  29427. return io.ErrUnexpectedEOF
  29428. }
  29429. return nil
  29430. }
  29431. func (m *PodSpec) Unmarshal(data []byte) error {
  29432. l := len(data)
  29433. iNdEx := 0
  29434. for iNdEx < l {
  29435. preIndex := iNdEx
  29436. var wire uint64
  29437. for shift := uint(0); ; shift += 7 {
  29438. if shift >= 64 {
  29439. return ErrIntOverflowGenerated
  29440. }
  29441. if iNdEx >= l {
  29442. return io.ErrUnexpectedEOF
  29443. }
  29444. b := data[iNdEx]
  29445. iNdEx++
  29446. wire |= (uint64(b) & 0x7F) << shift
  29447. if b < 0x80 {
  29448. break
  29449. }
  29450. }
  29451. fieldNum := int32(wire >> 3)
  29452. wireType := int(wire & 0x7)
  29453. if wireType == 4 {
  29454. return fmt.Errorf("proto: PodSpec: wiretype end group for non-group")
  29455. }
  29456. if fieldNum <= 0 {
  29457. return fmt.Errorf("proto: PodSpec: illegal tag %d (wire type %d)", fieldNum, wire)
  29458. }
  29459. switch fieldNum {
  29460. case 1:
  29461. if wireType != 2 {
  29462. return fmt.Errorf("proto: wrong wireType = %d for field Volumes", wireType)
  29463. }
  29464. var msglen int
  29465. for shift := uint(0); ; shift += 7 {
  29466. if shift >= 64 {
  29467. return ErrIntOverflowGenerated
  29468. }
  29469. if iNdEx >= l {
  29470. return io.ErrUnexpectedEOF
  29471. }
  29472. b := data[iNdEx]
  29473. iNdEx++
  29474. msglen |= (int(b) & 0x7F) << shift
  29475. if b < 0x80 {
  29476. break
  29477. }
  29478. }
  29479. if msglen < 0 {
  29480. return ErrInvalidLengthGenerated
  29481. }
  29482. postIndex := iNdEx + msglen
  29483. if postIndex > l {
  29484. return io.ErrUnexpectedEOF
  29485. }
  29486. m.Volumes = append(m.Volumes, Volume{})
  29487. if err := m.Volumes[len(m.Volumes)-1].Unmarshal(data[iNdEx:postIndex]); err != nil {
  29488. return err
  29489. }
  29490. iNdEx = postIndex
  29491. case 2:
  29492. if wireType != 2 {
  29493. return fmt.Errorf("proto: wrong wireType = %d for field Containers", wireType)
  29494. }
  29495. var msglen int
  29496. for shift := uint(0); ; shift += 7 {
  29497. if shift >= 64 {
  29498. return ErrIntOverflowGenerated
  29499. }
  29500. if iNdEx >= l {
  29501. return io.ErrUnexpectedEOF
  29502. }
  29503. b := data[iNdEx]
  29504. iNdEx++
  29505. msglen |= (int(b) & 0x7F) << shift
  29506. if b < 0x80 {
  29507. break
  29508. }
  29509. }
  29510. if msglen < 0 {
  29511. return ErrInvalidLengthGenerated
  29512. }
  29513. postIndex := iNdEx + msglen
  29514. if postIndex > l {
  29515. return io.ErrUnexpectedEOF
  29516. }
  29517. m.Containers = append(m.Containers, Container{})
  29518. if err := m.Containers[len(m.Containers)-1].Unmarshal(data[iNdEx:postIndex]); err != nil {
  29519. return err
  29520. }
  29521. iNdEx = postIndex
  29522. case 3:
  29523. if wireType != 2 {
  29524. return fmt.Errorf("proto: wrong wireType = %d for field RestartPolicy", wireType)
  29525. }
  29526. var stringLen uint64
  29527. for shift := uint(0); ; shift += 7 {
  29528. if shift >= 64 {
  29529. return ErrIntOverflowGenerated
  29530. }
  29531. if iNdEx >= l {
  29532. return io.ErrUnexpectedEOF
  29533. }
  29534. b := data[iNdEx]
  29535. iNdEx++
  29536. stringLen |= (uint64(b) & 0x7F) << shift
  29537. if b < 0x80 {
  29538. break
  29539. }
  29540. }
  29541. intStringLen := int(stringLen)
  29542. if intStringLen < 0 {
  29543. return ErrInvalidLengthGenerated
  29544. }
  29545. postIndex := iNdEx + intStringLen
  29546. if postIndex > l {
  29547. return io.ErrUnexpectedEOF
  29548. }
  29549. m.RestartPolicy = RestartPolicy(data[iNdEx:postIndex])
  29550. iNdEx = postIndex
  29551. case 4:
  29552. if wireType != 0 {
  29553. return fmt.Errorf("proto: wrong wireType = %d for field TerminationGracePeriodSeconds", wireType)
  29554. }
  29555. var v int64
  29556. for shift := uint(0); ; shift += 7 {
  29557. if shift >= 64 {
  29558. return ErrIntOverflowGenerated
  29559. }
  29560. if iNdEx >= l {
  29561. return io.ErrUnexpectedEOF
  29562. }
  29563. b := data[iNdEx]
  29564. iNdEx++
  29565. v |= (int64(b) & 0x7F) << shift
  29566. if b < 0x80 {
  29567. break
  29568. }
  29569. }
  29570. m.TerminationGracePeriodSeconds = &v
  29571. case 5:
  29572. if wireType != 0 {
  29573. return fmt.Errorf("proto: wrong wireType = %d for field ActiveDeadlineSeconds", wireType)
  29574. }
  29575. var v int64
  29576. for shift := uint(0); ; shift += 7 {
  29577. if shift >= 64 {
  29578. return ErrIntOverflowGenerated
  29579. }
  29580. if iNdEx >= l {
  29581. return io.ErrUnexpectedEOF
  29582. }
  29583. b := data[iNdEx]
  29584. iNdEx++
  29585. v |= (int64(b) & 0x7F) << shift
  29586. if b < 0x80 {
  29587. break
  29588. }
  29589. }
  29590. m.ActiveDeadlineSeconds = &v
  29591. case 6:
  29592. if wireType != 2 {
  29593. return fmt.Errorf("proto: wrong wireType = %d for field DNSPolicy", wireType)
  29594. }
  29595. var stringLen uint64
  29596. for shift := uint(0); ; shift += 7 {
  29597. if shift >= 64 {
  29598. return ErrIntOverflowGenerated
  29599. }
  29600. if iNdEx >= l {
  29601. return io.ErrUnexpectedEOF
  29602. }
  29603. b := data[iNdEx]
  29604. iNdEx++
  29605. stringLen |= (uint64(b) & 0x7F) << shift
  29606. if b < 0x80 {
  29607. break
  29608. }
  29609. }
  29610. intStringLen := int(stringLen)
  29611. if intStringLen < 0 {
  29612. return ErrInvalidLengthGenerated
  29613. }
  29614. postIndex := iNdEx + intStringLen
  29615. if postIndex > l {
  29616. return io.ErrUnexpectedEOF
  29617. }
  29618. m.DNSPolicy = DNSPolicy(data[iNdEx:postIndex])
  29619. iNdEx = postIndex
  29620. case 7:
  29621. if wireType != 2 {
  29622. return fmt.Errorf("proto: wrong wireType = %d for field NodeSelector", wireType)
  29623. }
  29624. var msglen int
  29625. for shift := uint(0); ; shift += 7 {
  29626. if shift >= 64 {
  29627. return ErrIntOverflowGenerated
  29628. }
  29629. if iNdEx >= l {
  29630. return io.ErrUnexpectedEOF
  29631. }
  29632. b := data[iNdEx]
  29633. iNdEx++
  29634. msglen |= (int(b) & 0x7F) << shift
  29635. if b < 0x80 {
  29636. break
  29637. }
  29638. }
  29639. if msglen < 0 {
  29640. return ErrInvalidLengthGenerated
  29641. }
  29642. postIndex := iNdEx + msglen
  29643. if postIndex > l {
  29644. return io.ErrUnexpectedEOF
  29645. }
  29646. var keykey uint64
  29647. for shift := uint(0); ; shift += 7 {
  29648. if shift >= 64 {
  29649. return ErrIntOverflowGenerated
  29650. }
  29651. if iNdEx >= l {
  29652. return io.ErrUnexpectedEOF
  29653. }
  29654. b := data[iNdEx]
  29655. iNdEx++
  29656. keykey |= (uint64(b) & 0x7F) << shift
  29657. if b < 0x80 {
  29658. break
  29659. }
  29660. }
  29661. var stringLenmapkey uint64
  29662. for shift := uint(0); ; shift += 7 {
  29663. if shift >= 64 {
  29664. return ErrIntOverflowGenerated
  29665. }
  29666. if iNdEx >= l {
  29667. return io.ErrUnexpectedEOF
  29668. }
  29669. b := data[iNdEx]
  29670. iNdEx++
  29671. stringLenmapkey |= (uint64(b) & 0x7F) << shift
  29672. if b < 0x80 {
  29673. break
  29674. }
  29675. }
  29676. intStringLenmapkey := int(stringLenmapkey)
  29677. if intStringLenmapkey < 0 {
  29678. return ErrInvalidLengthGenerated
  29679. }
  29680. postStringIndexmapkey := iNdEx + intStringLenmapkey
  29681. if postStringIndexmapkey > l {
  29682. return io.ErrUnexpectedEOF
  29683. }
  29684. mapkey := string(data[iNdEx:postStringIndexmapkey])
  29685. iNdEx = postStringIndexmapkey
  29686. var valuekey uint64
  29687. for shift := uint(0); ; shift += 7 {
  29688. if shift >= 64 {
  29689. return ErrIntOverflowGenerated
  29690. }
  29691. if iNdEx >= l {
  29692. return io.ErrUnexpectedEOF
  29693. }
  29694. b := data[iNdEx]
  29695. iNdEx++
  29696. valuekey |= (uint64(b) & 0x7F) << shift
  29697. if b < 0x80 {
  29698. break
  29699. }
  29700. }
  29701. var stringLenmapvalue uint64
  29702. for shift := uint(0); ; shift += 7 {
  29703. if shift >= 64 {
  29704. return ErrIntOverflowGenerated
  29705. }
  29706. if iNdEx >= l {
  29707. return io.ErrUnexpectedEOF
  29708. }
  29709. b := data[iNdEx]
  29710. iNdEx++
  29711. stringLenmapvalue |= (uint64(b) & 0x7F) << shift
  29712. if b < 0x80 {
  29713. break
  29714. }
  29715. }
  29716. intStringLenmapvalue := int(stringLenmapvalue)
  29717. if intStringLenmapvalue < 0 {
  29718. return ErrInvalidLengthGenerated
  29719. }
  29720. postStringIndexmapvalue := iNdEx + intStringLenmapvalue
  29721. if postStringIndexmapvalue > l {
  29722. return io.ErrUnexpectedEOF
  29723. }
  29724. mapvalue := string(data[iNdEx:postStringIndexmapvalue])
  29725. iNdEx = postStringIndexmapvalue
  29726. if m.NodeSelector == nil {
  29727. m.NodeSelector = make(map[string]string)
  29728. }
  29729. m.NodeSelector[mapkey] = mapvalue
  29730. iNdEx = postIndex
  29731. case 8:
  29732. if wireType != 2 {
  29733. return fmt.Errorf("proto: wrong wireType = %d for field ServiceAccountName", wireType)
  29734. }
  29735. var stringLen uint64
  29736. for shift := uint(0); ; shift += 7 {
  29737. if shift >= 64 {
  29738. return ErrIntOverflowGenerated
  29739. }
  29740. if iNdEx >= l {
  29741. return io.ErrUnexpectedEOF
  29742. }
  29743. b := data[iNdEx]
  29744. iNdEx++
  29745. stringLen |= (uint64(b) & 0x7F) << shift
  29746. if b < 0x80 {
  29747. break
  29748. }
  29749. }
  29750. intStringLen := int(stringLen)
  29751. if intStringLen < 0 {
  29752. return ErrInvalidLengthGenerated
  29753. }
  29754. postIndex := iNdEx + intStringLen
  29755. if postIndex > l {
  29756. return io.ErrUnexpectedEOF
  29757. }
  29758. m.ServiceAccountName = string(data[iNdEx:postIndex])
  29759. iNdEx = postIndex
  29760. case 9:
  29761. if wireType != 2 {
  29762. return fmt.Errorf("proto: wrong wireType = %d for field DeprecatedServiceAccount", wireType)
  29763. }
  29764. var stringLen uint64
  29765. for shift := uint(0); ; shift += 7 {
  29766. if shift >= 64 {
  29767. return ErrIntOverflowGenerated
  29768. }
  29769. if iNdEx >= l {
  29770. return io.ErrUnexpectedEOF
  29771. }
  29772. b := data[iNdEx]
  29773. iNdEx++
  29774. stringLen |= (uint64(b) & 0x7F) << shift
  29775. if b < 0x80 {
  29776. break
  29777. }
  29778. }
  29779. intStringLen := int(stringLen)
  29780. if intStringLen < 0 {
  29781. return ErrInvalidLengthGenerated
  29782. }
  29783. postIndex := iNdEx + intStringLen
  29784. if postIndex > l {
  29785. return io.ErrUnexpectedEOF
  29786. }
  29787. m.DeprecatedServiceAccount = string(data[iNdEx:postIndex])
  29788. iNdEx = postIndex
  29789. case 10:
  29790. if wireType != 2 {
  29791. return fmt.Errorf("proto: wrong wireType = %d for field NodeName", wireType)
  29792. }
  29793. var stringLen uint64
  29794. for shift := uint(0); ; shift += 7 {
  29795. if shift >= 64 {
  29796. return ErrIntOverflowGenerated
  29797. }
  29798. if iNdEx >= l {
  29799. return io.ErrUnexpectedEOF
  29800. }
  29801. b := data[iNdEx]
  29802. iNdEx++
  29803. stringLen |= (uint64(b) & 0x7F) << shift
  29804. if b < 0x80 {
  29805. break
  29806. }
  29807. }
  29808. intStringLen := int(stringLen)
  29809. if intStringLen < 0 {
  29810. return ErrInvalidLengthGenerated
  29811. }
  29812. postIndex := iNdEx + intStringLen
  29813. if postIndex > l {
  29814. return io.ErrUnexpectedEOF
  29815. }
  29816. m.NodeName = string(data[iNdEx:postIndex])
  29817. iNdEx = postIndex
  29818. case 11:
  29819. if wireType != 0 {
  29820. return fmt.Errorf("proto: wrong wireType = %d for field HostNetwork", wireType)
  29821. }
  29822. var v int
  29823. for shift := uint(0); ; shift += 7 {
  29824. if shift >= 64 {
  29825. return ErrIntOverflowGenerated
  29826. }
  29827. if iNdEx >= l {
  29828. return io.ErrUnexpectedEOF
  29829. }
  29830. b := data[iNdEx]
  29831. iNdEx++
  29832. v |= (int(b) & 0x7F) << shift
  29833. if b < 0x80 {
  29834. break
  29835. }
  29836. }
  29837. m.HostNetwork = bool(v != 0)
  29838. case 12:
  29839. if wireType != 0 {
  29840. return fmt.Errorf("proto: wrong wireType = %d for field HostPID", wireType)
  29841. }
  29842. var v int
  29843. for shift := uint(0); ; shift += 7 {
  29844. if shift >= 64 {
  29845. return ErrIntOverflowGenerated
  29846. }
  29847. if iNdEx >= l {
  29848. return io.ErrUnexpectedEOF
  29849. }
  29850. b := data[iNdEx]
  29851. iNdEx++
  29852. v |= (int(b) & 0x7F) << shift
  29853. if b < 0x80 {
  29854. break
  29855. }
  29856. }
  29857. m.HostPID = bool(v != 0)
  29858. case 13:
  29859. if wireType != 0 {
  29860. return fmt.Errorf("proto: wrong wireType = %d for field HostIPC", wireType)
  29861. }
  29862. var v int
  29863. for shift := uint(0); ; shift += 7 {
  29864. if shift >= 64 {
  29865. return ErrIntOverflowGenerated
  29866. }
  29867. if iNdEx >= l {
  29868. return io.ErrUnexpectedEOF
  29869. }
  29870. b := data[iNdEx]
  29871. iNdEx++
  29872. v |= (int(b) & 0x7F) << shift
  29873. if b < 0x80 {
  29874. break
  29875. }
  29876. }
  29877. m.HostIPC = bool(v != 0)
  29878. case 14:
  29879. if wireType != 2 {
  29880. return fmt.Errorf("proto: wrong wireType = %d for field SecurityContext", wireType)
  29881. }
  29882. var msglen int
  29883. for shift := uint(0); ; shift += 7 {
  29884. if shift >= 64 {
  29885. return ErrIntOverflowGenerated
  29886. }
  29887. if iNdEx >= l {
  29888. return io.ErrUnexpectedEOF
  29889. }
  29890. b := data[iNdEx]
  29891. iNdEx++
  29892. msglen |= (int(b) & 0x7F) << shift
  29893. if b < 0x80 {
  29894. break
  29895. }
  29896. }
  29897. if msglen < 0 {
  29898. return ErrInvalidLengthGenerated
  29899. }
  29900. postIndex := iNdEx + msglen
  29901. if postIndex > l {
  29902. return io.ErrUnexpectedEOF
  29903. }
  29904. if m.SecurityContext == nil {
  29905. m.SecurityContext = &PodSecurityContext{}
  29906. }
  29907. if err := m.SecurityContext.Unmarshal(data[iNdEx:postIndex]); err != nil {
  29908. return err
  29909. }
  29910. iNdEx = postIndex
  29911. case 15:
  29912. if wireType != 2 {
  29913. return fmt.Errorf("proto: wrong wireType = %d for field ImagePullSecrets", wireType)
  29914. }
  29915. var msglen int
  29916. for shift := uint(0); ; shift += 7 {
  29917. if shift >= 64 {
  29918. return ErrIntOverflowGenerated
  29919. }
  29920. if iNdEx >= l {
  29921. return io.ErrUnexpectedEOF
  29922. }
  29923. b := data[iNdEx]
  29924. iNdEx++
  29925. msglen |= (int(b) & 0x7F) << shift
  29926. if b < 0x80 {
  29927. break
  29928. }
  29929. }
  29930. if msglen < 0 {
  29931. return ErrInvalidLengthGenerated
  29932. }
  29933. postIndex := iNdEx + msglen
  29934. if postIndex > l {
  29935. return io.ErrUnexpectedEOF
  29936. }
  29937. m.ImagePullSecrets = append(m.ImagePullSecrets, LocalObjectReference{})
  29938. if err := m.ImagePullSecrets[len(m.ImagePullSecrets)-1].Unmarshal(data[iNdEx:postIndex]); err != nil {
  29939. return err
  29940. }
  29941. iNdEx = postIndex
  29942. case 16:
  29943. if wireType != 2 {
  29944. return fmt.Errorf("proto: wrong wireType = %d for field Hostname", wireType)
  29945. }
  29946. var stringLen uint64
  29947. for shift := uint(0); ; shift += 7 {
  29948. if shift >= 64 {
  29949. return ErrIntOverflowGenerated
  29950. }
  29951. if iNdEx >= l {
  29952. return io.ErrUnexpectedEOF
  29953. }
  29954. b := data[iNdEx]
  29955. iNdEx++
  29956. stringLen |= (uint64(b) & 0x7F) << shift
  29957. if b < 0x80 {
  29958. break
  29959. }
  29960. }
  29961. intStringLen := int(stringLen)
  29962. if intStringLen < 0 {
  29963. return ErrInvalidLengthGenerated
  29964. }
  29965. postIndex := iNdEx + intStringLen
  29966. if postIndex > l {
  29967. return io.ErrUnexpectedEOF
  29968. }
  29969. m.Hostname = string(data[iNdEx:postIndex])
  29970. iNdEx = postIndex
  29971. case 17:
  29972. if wireType != 2 {
  29973. return fmt.Errorf("proto: wrong wireType = %d for field Subdomain", wireType)
  29974. }
  29975. var stringLen uint64
  29976. for shift := uint(0); ; shift += 7 {
  29977. if shift >= 64 {
  29978. return ErrIntOverflowGenerated
  29979. }
  29980. if iNdEx >= l {
  29981. return io.ErrUnexpectedEOF
  29982. }
  29983. b := data[iNdEx]
  29984. iNdEx++
  29985. stringLen |= (uint64(b) & 0x7F) << shift
  29986. if b < 0x80 {
  29987. break
  29988. }
  29989. }
  29990. intStringLen := int(stringLen)
  29991. if intStringLen < 0 {
  29992. return ErrInvalidLengthGenerated
  29993. }
  29994. postIndex := iNdEx + intStringLen
  29995. if postIndex > l {
  29996. return io.ErrUnexpectedEOF
  29997. }
  29998. m.Subdomain = string(data[iNdEx:postIndex])
  29999. iNdEx = postIndex
  30000. default:
  30001. iNdEx = preIndex
  30002. skippy, err := skipGenerated(data[iNdEx:])
  30003. if err != nil {
  30004. return err
  30005. }
  30006. if skippy < 0 {
  30007. return ErrInvalidLengthGenerated
  30008. }
  30009. if (iNdEx + skippy) > l {
  30010. return io.ErrUnexpectedEOF
  30011. }
  30012. iNdEx += skippy
  30013. }
  30014. }
  30015. if iNdEx > l {
  30016. return io.ErrUnexpectedEOF
  30017. }
  30018. return nil
  30019. }
  30020. func (m *PodStatus) Unmarshal(data []byte) error {
  30021. l := len(data)
  30022. iNdEx := 0
  30023. for iNdEx < l {
  30024. preIndex := iNdEx
  30025. var wire uint64
  30026. for shift := uint(0); ; shift += 7 {
  30027. if shift >= 64 {
  30028. return ErrIntOverflowGenerated
  30029. }
  30030. if iNdEx >= l {
  30031. return io.ErrUnexpectedEOF
  30032. }
  30033. b := data[iNdEx]
  30034. iNdEx++
  30035. wire |= (uint64(b) & 0x7F) << shift
  30036. if b < 0x80 {
  30037. break
  30038. }
  30039. }
  30040. fieldNum := int32(wire >> 3)
  30041. wireType := int(wire & 0x7)
  30042. if wireType == 4 {
  30043. return fmt.Errorf("proto: PodStatus: wiretype end group for non-group")
  30044. }
  30045. if fieldNum <= 0 {
  30046. return fmt.Errorf("proto: PodStatus: illegal tag %d (wire type %d)", fieldNum, wire)
  30047. }
  30048. switch fieldNum {
  30049. case 1:
  30050. if wireType != 2 {
  30051. return fmt.Errorf("proto: wrong wireType = %d for field Phase", wireType)
  30052. }
  30053. var stringLen uint64
  30054. for shift := uint(0); ; shift += 7 {
  30055. if shift >= 64 {
  30056. return ErrIntOverflowGenerated
  30057. }
  30058. if iNdEx >= l {
  30059. return io.ErrUnexpectedEOF
  30060. }
  30061. b := data[iNdEx]
  30062. iNdEx++
  30063. stringLen |= (uint64(b) & 0x7F) << shift
  30064. if b < 0x80 {
  30065. break
  30066. }
  30067. }
  30068. intStringLen := int(stringLen)
  30069. if intStringLen < 0 {
  30070. return ErrInvalidLengthGenerated
  30071. }
  30072. postIndex := iNdEx + intStringLen
  30073. if postIndex > l {
  30074. return io.ErrUnexpectedEOF
  30075. }
  30076. m.Phase = PodPhase(data[iNdEx:postIndex])
  30077. iNdEx = postIndex
  30078. case 2:
  30079. if wireType != 2 {
  30080. return fmt.Errorf("proto: wrong wireType = %d for field Conditions", wireType)
  30081. }
  30082. var msglen int
  30083. for shift := uint(0); ; shift += 7 {
  30084. if shift >= 64 {
  30085. return ErrIntOverflowGenerated
  30086. }
  30087. if iNdEx >= l {
  30088. return io.ErrUnexpectedEOF
  30089. }
  30090. b := data[iNdEx]
  30091. iNdEx++
  30092. msglen |= (int(b) & 0x7F) << shift
  30093. if b < 0x80 {
  30094. break
  30095. }
  30096. }
  30097. if msglen < 0 {
  30098. return ErrInvalidLengthGenerated
  30099. }
  30100. postIndex := iNdEx + msglen
  30101. if postIndex > l {
  30102. return io.ErrUnexpectedEOF
  30103. }
  30104. m.Conditions = append(m.Conditions, PodCondition{})
  30105. if err := m.Conditions[len(m.Conditions)-1].Unmarshal(data[iNdEx:postIndex]); err != nil {
  30106. return err
  30107. }
  30108. iNdEx = postIndex
  30109. case 3:
  30110. if wireType != 2 {
  30111. return fmt.Errorf("proto: wrong wireType = %d for field Message", wireType)
  30112. }
  30113. var stringLen uint64
  30114. for shift := uint(0); ; shift += 7 {
  30115. if shift >= 64 {
  30116. return ErrIntOverflowGenerated
  30117. }
  30118. if iNdEx >= l {
  30119. return io.ErrUnexpectedEOF
  30120. }
  30121. b := data[iNdEx]
  30122. iNdEx++
  30123. stringLen |= (uint64(b) & 0x7F) << shift
  30124. if b < 0x80 {
  30125. break
  30126. }
  30127. }
  30128. intStringLen := int(stringLen)
  30129. if intStringLen < 0 {
  30130. return ErrInvalidLengthGenerated
  30131. }
  30132. postIndex := iNdEx + intStringLen
  30133. if postIndex > l {
  30134. return io.ErrUnexpectedEOF
  30135. }
  30136. m.Message = string(data[iNdEx:postIndex])
  30137. iNdEx = postIndex
  30138. case 4:
  30139. if wireType != 2 {
  30140. return fmt.Errorf("proto: wrong wireType = %d for field Reason", wireType)
  30141. }
  30142. var stringLen uint64
  30143. for shift := uint(0); ; shift += 7 {
  30144. if shift >= 64 {
  30145. return ErrIntOverflowGenerated
  30146. }
  30147. if iNdEx >= l {
  30148. return io.ErrUnexpectedEOF
  30149. }
  30150. b := data[iNdEx]
  30151. iNdEx++
  30152. stringLen |= (uint64(b) & 0x7F) << shift
  30153. if b < 0x80 {
  30154. break
  30155. }
  30156. }
  30157. intStringLen := int(stringLen)
  30158. if intStringLen < 0 {
  30159. return ErrInvalidLengthGenerated
  30160. }
  30161. postIndex := iNdEx + intStringLen
  30162. if postIndex > l {
  30163. return io.ErrUnexpectedEOF
  30164. }
  30165. m.Reason = string(data[iNdEx:postIndex])
  30166. iNdEx = postIndex
  30167. case 5:
  30168. if wireType != 2 {
  30169. return fmt.Errorf("proto: wrong wireType = %d for field HostIP", wireType)
  30170. }
  30171. var stringLen uint64
  30172. for shift := uint(0); ; shift += 7 {
  30173. if shift >= 64 {
  30174. return ErrIntOverflowGenerated
  30175. }
  30176. if iNdEx >= l {
  30177. return io.ErrUnexpectedEOF
  30178. }
  30179. b := data[iNdEx]
  30180. iNdEx++
  30181. stringLen |= (uint64(b) & 0x7F) << shift
  30182. if b < 0x80 {
  30183. break
  30184. }
  30185. }
  30186. intStringLen := int(stringLen)
  30187. if intStringLen < 0 {
  30188. return ErrInvalidLengthGenerated
  30189. }
  30190. postIndex := iNdEx + intStringLen
  30191. if postIndex > l {
  30192. return io.ErrUnexpectedEOF
  30193. }
  30194. m.HostIP = string(data[iNdEx:postIndex])
  30195. iNdEx = postIndex
  30196. case 6:
  30197. if wireType != 2 {
  30198. return fmt.Errorf("proto: wrong wireType = %d for field PodIP", wireType)
  30199. }
  30200. var stringLen uint64
  30201. for shift := uint(0); ; shift += 7 {
  30202. if shift >= 64 {
  30203. return ErrIntOverflowGenerated
  30204. }
  30205. if iNdEx >= l {
  30206. return io.ErrUnexpectedEOF
  30207. }
  30208. b := data[iNdEx]
  30209. iNdEx++
  30210. stringLen |= (uint64(b) & 0x7F) << shift
  30211. if b < 0x80 {
  30212. break
  30213. }
  30214. }
  30215. intStringLen := int(stringLen)
  30216. if intStringLen < 0 {
  30217. return ErrInvalidLengthGenerated
  30218. }
  30219. postIndex := iNdEx + intStringLen
  30220. if postIndex > l {
  30221. return io.ErrUnexpectedEOF
  30222. }
  30223. m.PodIP = string(data[iNdEx:postIndex])
  30224. iNdEx = postIndex
  30225. case 7:
  30226. if wireType != 2 {
  30227. return fmt.Errorf("proto: wrong wireType = %d for field StartTime", wireType)
  30228. }
  30229. var msglen int
  30230. for shift := uint(0); ; shift += 7 {
  30231. if shift >= 64 {
  30232. return ErrIntOverflowGenerated
  30233. }
  30234. if iNdEx >= l {
  30235. return io.ErrUnexpectedEOF
  30236. }
  30237. b := data[iNdEx]
  30238. iNdEx++
  30239. msglen |= (int(b) & 0x7F) << shift
  30240. if b < 0x80 {
  30241. break
  30242. }
  30243. }
  30244. if msglen < 0 {
  30245. return ErrInvalidLengthGenerated
  30246. }
  30247. postIndex := iNdEx + msglen
  30248. if postIndex > l {
  30249. return io.ErrUnexpectedEOF
  30250. }
  30251. if m.StartTime == nil {
  30252. m.StartTime = &k8s_io_kubernetes_pkg_api_unversioned.Time{}
  30253. }
  30254. if err := m.StartTime.Unmarshal(data[iNdEx:postIndex]); err != nil {
  30255. return err
  30256. }
  30257. iNdEx = postIndex
  30258. case 8:
  30259. if wireType != 2 {
  30260. return fmt.Errorf("proto: wrong wireType = %d for field ContainerStatuses", wireType)
  30261. }
  30262. var msglen int
  30263. for shift := uint(0); ; shift += 7 {
  30264. if shift >= 64 {
  30265. return ErrIntOverflowGenerated
  30266. }
  30267. if iNdEx >= l {
  30268. return io.ErrUnexpectedEOF
  30269. }
  30270. b := data[iNdEx]
  30271. iNdEx++
  30272. msglen |= (int(b) & 0x7F) << shift
  30273. if b < 0x80 {
  30274. break
  30275. }
  30276. }
  30277. if msglen < 0 {
  30278. return ErrInvalidLengthGenerated
  30279. }
  30280. postIndex := iNdEx + msglen
  30281. if postIndex > l {
  30282. return io.ErrUnexpectedEOF
  30283. }
  30284. m.ContainerStatuses = append(m.ContainerStatuses, ContainerStatus{})
  30285. if err := m.ContainerStatuses[len(m.ContainerStatuses)-1].Unmarshal(data[iNdEx:postIndex]); err != nil {
  30286. return err
  30287. }
  30288. iNdEx = postIndex
  30289. default:
  30290. iNdEx = preIndex
  30291. skippy, err := skipGenerated(data[iNdEx:])
  30292. if err != nil {
  30293. return err
  30294. }
  30295. if skippy < 0 {
  30296. return ErrInvalidLengthGenerated
  30297. }
  30298. if (iNdEx + skippy) > l {
  30299. return io.ErrUnexpectedEOF
  30300. }
  30301. iNdEx += skippy
  30302. }
  30303. }
  30304. if iNdEx > l {
  30305. return io.ErrUnexpectedEOF
  30306. }
  30307. return nil
  30308. }
  30309. func (m *PodStatusResult) Unmarshal(data []byte) error {
  30310. l := len(data)
  30311. iNdEx := 0
  30312. for iNdEx < l {
  30313. preIndex := iNdEx
  30314. var wire uint64
  30315. for shift := uint(0); ; shift += 7 {
  30316. if shift >= 64 {
  30317. return ErrIntOverflowGenerated
  30318. }
  30319. if iNdEx >= l {
  30320. return io.ErrUnexpectedEOF
  30321. }
  30322. b := data[iNdEx]
  30323. iNdEx++
  30324. wire |= (uint64(b) & 0x7F) << shift
  30325. if b < 0x80 {
  30326. break
  30327. }
  30328. }
  30329. fieldNum := int32(wire >> 3)
  30330. wireType := int(wire & 0x7)
  30331. if wireType == 4 {
  30332. return fmt.Errorf("proto: PodStatusResult: wiretype end group for non-group")
  30333. }
  30334. if fieldNum <= 0 {
  30335. return fmt.Errorf("proto: PodStatusResult: illegal tag %d (wire type %d)", fieldNum, wire)
  30336. }
  30337. switch fieldNum {
  30338. case 1:
  30339. if wireType != 2 {
  30340. return fmt.Errorf("proto: wrong wireType = %d for field ObjectMeta", wireType)
  30341. }
  30342. var msglen int
  30343. for shift := uint(0); ; shift += 7 {
  30344. if shift >= 64 {
  30345. return ErrIntOverflowGenerated
  30346. }
  30347. if iNdEx >= l {
  30348. return io.ErrUnexpectedEOF
  30349. }
  30350. b := data[iNdEx]
  30351. iNdEx++
  30352. msglen |= (int(b) & 0x7F) << shift
  30353. if b < 0x80 {
  30354. break
  30355. }
  30356. }
  30357. if msglen < 0 {
  30358. return ErrInvalidLengthGenerated
  30359. }
  30360. postIndex := iNdEx + msglen
  30361. if postIndex > l {
  30362. return io.ErrUnexpectedEOF
  30363. }
  30364. if err := m.ObjectMeta.Unmarshal(data[iNdEx:postIndex]); err != nil {
  30365. return err
  30366. }
  30367. iNdEx = postIndex
  30368. case 2:
  30369. if wireType != 2 {
  30370. return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
  30371. }
  30372. var msglen int
  30373. for shift := uint(0); ; shift += 7 {
  30374. if shift >= 64 {
  30375. return ErrIntOverflowGenerated
  30376. }
  30377. if iNdEx >= l {
  30378. return io.ErrUnexpectedEOF
  30379. }
  30380. b := data[iNdEx]
  30381. iNdEx++
  30382. msglen |= (int(b) & 0x7F) << shift
  30383. if b < 0x80 {
  30384. break
  30385. }
  30386. }
  30387. if msglen < 0 {
  30388. return ErrInvalidLengthGenerated
  30389. }
  30390. postIndex := iNdEx + msglen
  30391. if postIndex > l {
  30392. return io.ErrUnexpectedEOF
  30393. }
  30394. if err := m.Status.Unmarshal(data[iNdEx:postIndex]); err != nil {
  30395. return err
  30396. }
  30397. iNdEx = postIndex
  30398. default:
  30399. iNdEx = preIndex
  30400. skippy, err := skipGenerated(data[iNdEx:])
  30401. if err != nil {
  30402. return err
  30403. }
  30404. if skippy < 0 {
  30405. return ErrInvalidLengthGenerated
  30406. }
  30407. if (iNdEx + skippy) > l {
  30408. return io.ErrUnexpectedEOF
  30409. }
  30410. iNdEx += skippy
  30411. }
  30412. }
  30413. if iNdEx > l {
  30414. return io.ErrUnexpectedEOF
  30415. }
  30416. return nil
  30417. }
  30418. func (m *PodTemplate) Unmarshal(data []byte) error {
  30419. l := len(data)
  30420. iNdEx := 0
  30421. for iNdEx < l {
  30422. preIndex := iNdEx
  30423. var wire uint64
  30424. for shift := uint(0); ; shift += 7 {
  30425. if shift >= 64 {
  30426. return ErrIntOverflowGenerated
  30427. }
  30428. if iNdEx >= l {
  30429. return io.ErrUnexpectedEOF
  30430. }
  30431. b := data[iNdEx]
  30432. iNdEx++
  30433. wire |= (uint64(b) & 0x7F) << shift
  30434. if b < 0x80 {
  30435. break
  30436. }
  30437. }
  30438. fieldNum := int32(wire >> 3)
  30439. wireType := int(wire & 0x7)
  30440. if wireType == 4 {
  30441. return fmt.Errorf("proto: PodTemplate: wiretype end group for non-group")
  30442. }
  30443. if fieldNum <= 0 {
  30444. return fmt.Errorf("proto: PodTemplate: illegal tag %d (wire type %d)", fieldNum, wire)
  30445. }
  30446. switch fieldNum {
  30447. case 1:
  30448. if wireType != 2 {
  30449. return fmt.Errorf("proto: wrong wireType = %d for field ObjectMeta", wireType)
  30450. }
  30451. var msglen int
  30452. for shift := uint(0); ; shift += 7 {
  30453. if shift >= 64 {
  30454. return ErrIntOverflowGenerated
  30455. }
  30456. if iNdEx >= l {
  30457. return io.ErrUnexpectedEOF
  30458. }
  30459. b := data[iNdEx]
  30460. iNdEx++
  30461. msglen |= (int(b) & 0x7F) << shift
  30462. if b < 0x80 {
  30463. break
  30464. }
  30465. }
  30466. if msglen < 0 {
  30467. return ErrInvalidLengthGenerated
  30468. }
  30469. postIndex := iNdEx + msglen
  30470. if postIndex > l {
  30471. return io.ErrUnexpectedEOF
  30472. }
  30473. if err := m.ObjectMeta.Unmarshal(data[iNdEx:postIndex]); err != nil {
  30474. return err
  30475. }
  30476. iNdEx = postIndex
  30477. case 2:
  30478. if wireType != 2 {
  30479. return fmt.Errorf("proto: wrong wireType = %d for field Template", wireType)
  30480. }
  30481. var msglen int
  30482. for shift := uint(0); ; shift += 7 {
  30483. if shift >= 64 {
  30484. return ErrIntOverflowGenerated
  30485. }
  30486. if iNdEx >= l {
  30487. return io.ErrUnexpectedEOF
  30488. }
  30489. b := data[iNdEx]
  30490. iNdEx++
  30491. msglen |= (int(b) & 0x7F) << shift
  30492. if b < 0x80 {
  30493. break
  30494. }
  30495. }
  30496. if msglen < 0 {
  30497. return ErrInvalidLengthGenerated
  30498. }
  30499. postIndex := iNdEx + msglen
  30500. if postIndex > l {
  30501. return io.ErrUnexpectedEOF
  30502. }
  30503. if err := m.Template.Unmarshal(data[iNdEx:postIndex]); err != nil {
  30504. return err
  30505. }
  30506. iNdEx = postIndex
  30507. default:
  30508. iNdEx = preIndex
  30509. skippy, err := skipGenerated(data[iNdEx:])
  30510. if err != nil {
  30511. return err
  30512. }
  30513. if skippy < 0 {
  30514. return ErrInvalidLengthGenerated
  30515. }
  30516. if (iNdEx + skippy) > l {
  30517. return io.ErrUnexpectedEOF
  30518. }
  30519. iNdEx += skippy
  30520. }
  30521. }
  30522. if iNdEx > l {
  30523. return io.ErrUnexpectedEOF
  30524. }
  30525. return nil
  30526. }
  30527. func (m *PodTemplateList) Unmarshal(data []byte) error {
  30528. l := len(data)
  30529. iNdEx := 0
  30530. for iNdEx < l {
  30531. preIndex := iNdEx
  30532. var wire uint64
  30533. for shift := uint(0); ; shift += 7 {
  30534. if shift >= 64 {
  30535. return ErrIntOverflowGenerated
  30536. }
  30537. if iNdEx >= l {
  30538. return io.ErrUnexpectedEOF
  30539. }
  30540. b := data[iNdEx]
  30541. iNdEx++
  30542. wire |= (uint64(b) & 0x7F) << shift
  30543. if b < 0x80 {
  30544. break
  30545. }
  30546. }
  30547. fieldNum := int32(wire >> 3)
  30548. wireType := int(wire & 0x7)
  30549. if wireType == 4 {
  30550. return fmt.Errorf("proto: PodTemplateList: wiretype end group for non-group")
  30551. }
  30552. if fieldNum <= 0 {
  30553. return fmt.Errorf("proto: PodTemplateList: illegal tag %d (wire type %d)", fieldNum, wire)
  30554. }
  30555. switch fieldNum {
  30556. case 1:
  30557. if wireType != 2 {
  30558. return fmt.Errorf("proto: wrong wireType = %d for field ListMeta", wireType)
  30559. }
  30560. var msglen int
  30561. for shift := uint(0); ; shift += 7 {
  30562. if shift >= 64 {
  30563. return ErrIntOverflowGenerated
  30564. }
  30565. if iNdEx >= l {
  30566. return io.ErrUnexpectedEOF
  30567. }
  30568. b := data[iNdEx]
  30569. iNdEx++
  30570. msglen |= (int(b) & 0x7F) << shift
  30571. if b < 0x80 {
  30572. break
  30573. }
  30574. }
  30575. if msglen < 0 {
  30576. return ErrInvalidLengthGenerated
  30577. }
  30578. postIndex := iNdEx + msglen
  30579. if postIndex > l {
  30580. return io.ErrUnexpectedEOF
  30581. }
  30582. if err := m.ListMeta.Unmarshal(data[iNdEx:postIndex]); err != nil {
  30583. return err
  30584. }
  30585. iNdEx = postIndex
  30586. case 2:
  30587. if wireType != 2 {
  30588. return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType)
  30589. }
  30590. var msglen int
  30591. for shift := uint(0); ; shift += 7 {
  30592. if shift >= 64 {
  30593. return ErrIntOverflowGenerated
  30594. }
  30595. if iNdEx >= l {
  30596. return io.ErrUnexpectedEOF
  30597. }
  30598. b := data[iNdEx]
  30599. iNdEx++
  30600. msglen |= (int(b) & 0x7F) << shift
  30601. if b < 0x80 {
  30602. break
  30603. }
  30604. }
  30605. if msglen < 0 {
  30606. return ErrInvalidLengthGenerated
  30607. }
  30608. postIndex := iNdEx + msglen
  30609. if postIndex > l {
  30610. return io.ErrUnexpectedEOF
  30611. }
  30612. m.Items = append(m.Items, PodTemplate{})
  30613. if err := m.Items[len(m.Items)-1].Unmarshal(data[iNdEx:postIndex]); err != nil {
  30614. return err
  30615. }
  30616. iNdEx = postIndex
  30617. default:
  30618. iNdEx = preIndex
  30619. skippy, err := skipGenerated(data[iNdEx:])
  30620. if err != nil {
  30621. return err
  30622. }
  30623. if skippy < 0 {
  30624. return ErrInvalidLengthGenerated
  30625. }
  30626. if (iNdEx + skippy) > l {
  30627. return io.ErrUnexpectedEOF
  30628. }
  30629. iNdEx += skippy
  30630. }
  30631. }
  30632. if iNdEx > l {
  30633. return io.ErrUnexpectedEOF
  30634. }
  30635. return nil
  30636. }
  30637. func (m *PodTemplateSpec) Unmarshal(data []byte) error {
  30638. l := len(data)
  30639. iNdEx := 0
  30640. for iNdEx < l {
  30641. preIndex := iNdEx
  30642. var wire uint64
  30643. for shift := uint(0); ; shift += 7 {
  30644. if shift >= 64 {
  30645. return ErrIntOverflowGenerated
  30646. }
  30647. if iNdEx >= l {
  30648. return io.ErrUnexpectedEOF
  30649. }
  30650. b := data[iNdEx]
  30651. iNdEx++
  30652. wire |= (uint64(b) & 0x7F) << shift
  30653. if b < 0x80 {
  30654. break
  30655. }
  30656. }
  30657. fieldNum := int32(wire >> 3)
  30658. wireType := int(wire & 0x7)
  30659. if wireType == 4 {
  30660. return fmt.Errorf("proto: PodTemplateSpec: wiretype end group for non-group")
  30661. }
  30662. if fieldNum <= 0 {
  30663. return fmt.Errorf("proto: PodTemplateSpec: illegal tag %d (wire type %d)", fieldNum, wire)
  30664. }
  30665. switch fieldNum {
  30666. case 1:
  30667. if wireType != 2 {
  30668. return fmt.Errorf("proto: wrong wireType = %d for field ObjectMeta", wireType)
  30669. }
  30670. var msglen int
  30671. for shift := uint(0); ; shift += 7 {
  30672. if shift >= 64 {
  30673. return ErrIntOverflowGenerated
  30674. }
  30675. if iNdEx >= l {
  30676. return io.ErrUnexpectedEOF
  30677. }
  30678. b := data[iNdEx]
  30679. iNdEx++
  30680. msglen |= (int(b) & 0x7F) << shift
  30681. if b < 0x80 {
  30682. break
  30683. }
  30684. }
  30685. if msglen < 0 {
  30686. return ErrInvalidLengthGenerated
  30687. }
  30688. postIndex := iNdEx + msglen
  30689. if postIndex > l {
  30690. return io.ErrUnexpectedEOF
  30691. }
  30692. if err := m.ObjectMeta.Unmarshal(data[iNdEx:postIndex]); err != nil {
  30693. return err
  30694. }
  30695. iNdEx = postIndex
  30696. case 2:
  30697. if wireType != 2 {
  30698. return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType)
  30699. }
  30700. var msglen int
  30701. for shift := uint(0); ; shift += 7 {
  30702. if shift >= 64 {
  30703. return ErrIntOverflowGenerated
  30704. }
  30705. if iNdEx >= l {
  30706. return io.ErrUnexpectedEOF
  30707. }
  30708. b := data[iNdEx]
  30709. iNdEx++
  30710. msglen |= (int(b) & 0x7F) << shift
  30711. if b < 0x80 {
  30712. break
  30713. }
  30714. }
  30715. if msglen < 0 {
  30716. return ErrInvalidLengthGenerated
  30717. }
  30718. postIndex := iNdEx + msglen
  30719. if postIndex > l {
  30720. return io.ErrUnexpectedEOF
  30721. }
  30722. if err := m.Spec.Unmarshal(data[iNdEx:postIndex]); err != nil {
  30723. return err
  30724. }
  30725. iNdEx = postIndex
  30726. default:
  30727. iNdEx = preIndex
  30728. skippy, err := skipGenerated(data[iNdEx:])
  30729. if err != nil {
  30730. return err
  30731. }
  30732. if skippy < 0 {
  30733. return ErrInvalidLengthGenerated
  30734. }
  30735. if (iNdEx + skippy) > l {
  30736. return io.ErrUnexpectedEOF
  30737. }
  30738. iNdEx += skippy
  30739. }
  30740. }
  30741. if iNdEx > l {
  30742. return io.ErrUnexpectedEOF
  30743. }
  30744. return nil
  30745. }
  30746. func (m *Preconditions) Unmarshal(data []byte) error {
  30747. l := len(data)
  30748. iNdEx := 0
  30749. for iNdEx < l {
  30750. preIndex := iNdEx
  30751. var wire uint64
  30752. for shift := uint(0); ; shift += 7 {
  30753. if shift >= 64 {
  30754. return ErrIntOverflowGenerated
  30755. }
  30756. if iNdEx >= l {
  30757. return io.ErrUnexpectedEOF
  30758. }
  30759. b := data[iNdEx]
  30760. iNdEx++
  30761. wire |= (uint64(b) & 0x7F) << shift
  30762. if b < 0x80 {
  30763. break
  30764. }
  30765. }
  30766. fieldNum := int32(wire >> 3)
  30767. wireType := int(wire & 0x7)
  30768. if wireType == 4 {
  30769. return fmt.Errorf("proto: Preconditions: wiretype end group for non-group")
  30770. }
  30771. if fieldNum <= 0 {
  30772. return fmt.Errorf("proto: Preconditions: illegal tag %d (wire type %d)", fieldNum, wire)
  30773. }
  30774. switch fieldNum {
  30775. case 1:
  30776. if wireType != 2 {
  30777. return fmt.Errorf("proto: wrong wireType = %d for field UID", wireType)
  30778. }
  30779. var stringLen uint64
  30780. for shift := uint(0); ; shift += 7 {
  30781. if shift >= 64 {
  30782. return ErrIntOverflowGenerated
  30783. }
  30784. if iNdEx >= l {
  30785. return io.ErrUnexpectedEOF
  30786. }
  30787. b := data[iNdEx]
  30788. iNdEx++
  30789. stringLen |= (uint64(b) & 0x7F) << shift
  30790. if b < 0x80 {
  30791. break
  30792. }
  30793. }
  30794. intStringLen := int(stringLen)
  30795. if intStringLen < 0 {
  30796. return ErrInvalidLengthGenerated
  30797. }
  30798. postIndex := iNdEx + intStringLen
  30799. if postIndex > l {
  30800. return io.ErrUnexpectedEOF
  30801. }
  30802. s := k8s_io_kubernetes_pkg_types.UID(data[iNdEx:postIndex])
  30803. m.UID = &s
  30804. iNdEx = postIndex
  30805. default:
  30806. iNdEx = preIndex
  30807. skippy, err := skipGenerated(data[iNdEx:])
  30808. if err != nil {
  30809. return err
  30810. }
  30811. if skippy < 0 {
  30812. return ErrInvalidLengthGenerated
  30813. }
  30814. if (iNdEx + skippy) > l {
  30815. return io.ErrUnexpectedEOF
  30816. }
  30817. iNdEx += skippy
  30818. }
  30819. }
  30820. if iNdEx > l {
  30821. return io.ErrUnexpectedEOF
  30822. }
  30823. return nil
  30824. }
  30825. func (m *PreferAvoidPodsEntry) Unmarshal(data []byte) error {
  30826. l := len(data)
  30827. iNdEx := 0
  30828. for iNdEx < l {
  30829. preIndex := iNdEx
  30830. var wire uint64
  30831. for shift := uint(0); ; shift += 7 {
  30832. if shift >= 64 {
  30833. return ErrIntOverflowGenerated
  30834. }
  30835. if iNdEx >= l {
  30836. return io.ErrUnexpectedEOF
  30837. }
  30838. b := data[iNdEx]
  30839. iNdEx++
  30840. wire |= (uint64(b) & 0x7F) << shift
  30841. if b < 0x80 {
  30842. break
  30843. }
  30844. }
  30845. fieldNum := int32(wire >> 3)
  30846. wireType := int(wire & 0x7)
  30847. if wireType == 4 {
  30848. return fmt.Errorf("proto: PreferAvoidPodsEntry: wiretype end group for non-group")
  30849. }
  30850. if fieldNum <= 0 {
  30851. return fmt.Errorf("proto: PreferAvoidPodsEntry: illegal tag %d (wire type %d)", fieldNum, wire)
  30852. }
  30853. switch fieldNum {
  30854. case 1:
  30855. if wireType != 2 {
  30856. return fmt.Errorf("proto: wrong wireType = %d for field PodSignature", wireType)
  30857. }
  30858. var msglen int
  30859. for shift := uint(0); ; shift += 7 {
  30860. if shift >= 64 {
  30861. return ErrIntOverflowGenerated
  30862. }
  30863. if iNdEx >= l {
  30864. return io.ErrUnexpectedEOF
  30865. }
  30866. b := data[iNdEx]
  30867. iNdEx++
  30868. msglen |= (int(b) & 0x7F) << shift
  30869. if b < 0x80 {
  30870. break
  30871. }
  30872. }
  30873. if msglen < 0 {
  30874. return ErrInvalidLengthGenerated
  30875. }
  30876. postIndex := iNdEx + msglen
  30877. if postIndex > l {
  30878. return io.ErrUnexpectedEOF
  30879. }
  30880. if err := m.PodSignature.Unmarshal(data[iNdEx:postIndex]); err != nil {
  30881. return err
  30882. }
  30883. iNdEx = postIndex
  30884. case 2:
  30885. if wireType != 2 {
  30886. return fmt.Errorf("proto: wrong wireType = %d for field EvictionTime", wireType)
  30887. }
  30888. var msglen int
  30889. for shift := uint(0); ; shift += 7 {
  30890. if shift >= 64 {
  30891. return ErrIntOverflowGenerated
  30892. }
  30893. if iNdEx >= l {
  30894. return io.ErrUnexpectedEOF
  30895. }
  30896. b := data[iNdEx]
  30897. iNdEx++
  30898. msglen |= (int(b) & 0x7F) << shift
  30899. if b < 0x80 {
  30900. break
  30901. }
  30902. }
  30903. if msglen < 0 {
  30904. return ErrInvalidLengthGenerated
  30905. }
  30906. postIndex := iNdEx + msglen
  30907. if postIndex > l {
  30908. return io.ErrUnexpectedEOF
  30909. }
  30910. if err := m.EvictionTime.Unmarshal(data[iNdEx:postIndex]); err != nil {
  30911. return err
  30912. }
  30913. iNdEx = postIndex
  30914. case 3:
  30915. if wireType != 2 {
  30916. return fmt.Errorf("proto: wrong wireType = %d for field Reason", wireType)
  30917. }
  30918. var stringLen uint64
  30919. for shift := uint(0); ; shift += 7 {
  30920. if shift >= 64 {
  30921. return ErrIntOverflowGenerated
  30922. }
  30923. if iNdEx >= l {
  30924. return io.ErrUnexpectedEOF
  30925. }
  30926. b := data[iNdEx]
  30927. iNdEx++
  30928. stringLen |= (uint64(b) & 0x7F) << shift
  30929. if b < 0x80 {
  30930. break
  30931. }
  30932. }
  30933. intStringLen := int(stringLen)
  30934. if intStringLen < 0 {
  30935. return ErrInvalidLengthGenerated
  30936. }
  30937. postIndex := iNdEx + intStringLen
  30938. if postIndex > l {
  30939. return io.ErrUnexpectedEOF
  30940. }
  30941. m.Reason = string(data[iNdEx:postIndex])
  30942. iNdEx = postIndex
  30943. case 4:
  30944. if wireType != 2 {
  30945. return fmt.Errorf("proto: wrong wireType = %d for field Message", wireType)
  30946. }
  30947. var stringLen uint64
  30948. for shift := uint(0); ; shift += 7 {
  30949. if shift >= 64 {
  30950. return ErrIntOverflowGenerated
  30951. }
  30952. if iNdEx >= l {
  30953. return io.ErrUnexpectedEOF
  30954. }
  30955. b := data[iNdEx]
  30956. iNdEx++
  30957. stringLen |= (uint64(b) & 0x7F) << shift
  30958. if b < 0x80 {
  30959. break
  30960. }
  30961. }
  30962. intStringLen := int(stringLen)
  30963. if intStringLen < 0 {
  30964. return ErrInvalidLengthGenerated
  30965. }
  30966. postIndex := iNdEx + intStringLen
  30967. if postIndex > l {
  30968. return io.ErrUnexpectedEOF
  30969. }
  30970. m.Message = string(data[iNdEx:postIndex])
  30971. iNdEx = postIndex
  30972. default:
  30973. iNdEx = preIndex
  30974. skippy, err := skipGenerated(data[iNdEx:])
  30975. if err != nil {
  30976. return err
  30977. }
  30978. if skippy < 0 {
  30979. return ErrInvalidLengthGenerated
  30980. }
  30981. if (iNdEx + skippy) > l {
  30982. return io.ErrUnexpectedEOF
  30983. }
  30984. iNdEx += skippy
  30985. }
  30986. }
  30987. if iNdEx > l {
  30988. return io.ErrUnexpectedEOF
  30989. }
  30990. return nil
  30991. }
  30992. func (m *PreferredSchedulingTerm) Unmarshal(data []byte) error {
  30993. l := len(data)
  30994. iNdEx := 0
  30995. for iNdEx < l {
  30996. preIndex := iNdEx
  30997. var wire uint64
  30998. for shift := uint(0); ; shift += 7 {
  30999. if shift >= 64 {
  31000. return ErrIntOverflowGenerated
  31001. }
  31002. if iNdEx >= l {
  31003. return io.ErrUnexpectedEOF
  31004. }
  31005. b := data[iNdEx]
  31006. iNdEx++
  31007. wire |= (uint64(b) & 0x7F) << shift
  31008. if b < 0x80 {
  31009. break
  31010. }
  31011. }
  31012. fieldNum := int32(wire >> 3)
  31013. wireType := int(wire & 0x7)
  31014. if wireType == 4 {
  31015. return fmt.Errorf("proto: PreferredSchedulingTerm: wiretype end group for non-group")
  31016. }
  31017. if fieldNum <= 0 {
  31018. return fmt.Errorf("proto: PreferredSchedulingTerm: illegal tag %d (wire type %d)", fieldNum, wire)
  31019. }
  31020. switch fieldNum {
  31021. case 1:
  31022. if wireType != 0 {
  31023. return fmt.Errorf("proto: wrong wireType = %d for field Weight", wireType)
  31024. }
  31025. m.Weight = 0
  31026. for shift := uint(0); ; shift += 7 {
  31027. if shift >= 64 {
  31028. return ErrIntOverflowGenerated
  31029. }
  31030. if iNdEx >= l {
  31031. return io.ErrUnexpectedEOF
  31032. }
  31033. b := data[iNdEx]
  31034. iNdEx++
  31035. m.Weight |= (int32(b) & 0x7F) << shift
  31036. if b < 0x80 {
  31037. break
  31038. }
  31039. }
  31040. case 2:
  31041. if wireType != 2 {
  31042. return fmt.Errorf("proto: wrong wireType = %d for field Preference", wireType)
  31043. }
  31044. var msglen int
  31045. for shift := uint(0); ; shift += 7 {
  31046. if shift >= 64 {
  31047. return ErrIntOverflowGenerated
  31048. }
  31049. if iNdEx >= l {
  31050. return io.ErrUnexpectedEOF
  31051. }
  31052. b := data[iNdEx]
  31053. iNdEx++
  31054. msglen |= (int(b) & 0x7F) << shift
  31055. if b < 0x80 {
  31056. break
  31057. }
  31058. }
  31059. if msglen < 0 {
  31060. return ErrInvalidLengthGenerated
  31061. }
  31062. postIndex := iNdEx + msglen
  31063. if postIndex > l {
  31064. return io.ErrUnexpectedEOF
  31065. }
  31066. if err := m.Preference.Unmarshal(data[iNdEx:postIndex]); err != nil {
  31067. return err
  31068. }
  31069. iNdEx = postIndex
  31070. default:
  31071. iNdEx = preIndex
  31072. skippy, err := skipGenerated(data[iNdEx:])
  31073. if err != nil {
  31074. return err
  31075. }
  31076. if skippy < 0 {
  31077. return ErrInvalidLengthGenerated
  31078. }
  31079. if (iNdEx + skippy) > l {
  31080. return io.ErrUnexpectedEOF
  31081. }
  31082. iNdEx += skippy
  31083. }
  31084. }
  31085. if iNdEx > l {
  31086. return io.ErrUnexpectedEOF
  31087. }
  31088. return nil
  31089. }
  31090. func (m *Probe) Unmarshal(data []byte) error {
  31091. l := len(data)
  31092. iNdEx := 0
  31093. for iNdEx < l {
  31094. preIndex := iNdEx
  31095. var wire uint64
  31096. for shift := uint(0); ; shift += 7 {
  31097. if shift >= 64 {
  31098. return ErrIntOverflowGenerated
  31099. }
  31100. if iNdEx >= l {
  31101. return io.ErrUnexpectedEOF
  31102. }
  31103. b := data[iNdEx]
  31104. iNdEx++
  31105. wire |= (uint64(b) & 0x7F) << shift
  31106. if b < 0x80 {
  31107. break
  31108. }
  31109. }
  31110. fieldNum := int32(wire >> 3)
  31111. wireType := int(wire & 0x7)
  31112. if wireType == 4 {
  31113. return fmt.Errorf("proto: Probe: wiretype end group for non-group")
  31114. }
  31115. if fieldNum <= 0 {
  31116. return fmt.Errorf("proto: Probe: illegal tag %d (wire type %d)", fieldNum, wire)
  31117. }
  31118. switch fieldNum {
  31119. case 1:
  31120. if wireType != 2 {
  31121. return fmt.Errorf("proto: wrong wireType = %d for field Handler", wireType)
  31122. }
  31123. var msglen int
  31124. for shift := uint(0); ; shift += 7 {
  31125. if shift >= 64 {
  31126. return ErrIntOverflowGenerated
  31127. }
  31128. if iNdEx >= l {
  31129. return io.ErrUnexpectedEOF
  31130. }
  31131. b := data[iNdEx]
  31132. iNdEx++
  31133. msglen |= (int(b) & 0x7F) << shift
  31134. if b < 0x80 {
  31135. break
  31136. }
  31137. }
  31138. if msglen < 0 {
  31139. return ErrInvalidLengthGenerated
  31140. }
  31141. postIndex := iNdEx + msglen
  31142. if postIndex > l {
  31143. return io.ErrUnexpectedEOF
  31144. }
  31145. if err := m.Handler.Unmarshal(data[iNdEx:postIndex]); err != nil {
  31146. return err
  31147. }
  31148. iNdEx = postIndex
  31149. case 2:
  31150. if wireType != 0 {
  31151. return fmt.Errorf("proto: wrong wireType = %d for field InitialDelaySeconds", wireType)
  31152. }
  31153. m.InitialDelaySeconds = 0
  31154. for shift := uint(0); ; shift += 7 {
  31155. if shift >= 64 {
  31156. return ErrIntOverflowGenerated
  31157. }
  31158. if iNdEx >= l {
  31159. return io.ErrUnexpectedEOF
  31160. }
  31161. b := data[iNdEx]
  31162. iNdEx++
  31163. m.InitialDelaySeconds |= (int32(b) & 0x7F) << shift
  31164. if b < 0x80 {
  31165. break
  31166. }
  31167. }
  31168. case 3:
  31169. if wireType != 0 {
  31170. return fmt.Errorf("proto: wrong wireType = %d for field TimeoutSeconds", wireType)
  31171. }
  31172. m.TimeoutSeconds = 0
  31173. for shift := uint(0); ; shift += 7 {
  31174. if shift >= 64 {
  31175. return ErrIntOverflowGenerated
  31176. }
  31177. if iNdEx >= l {
  31178. return io.ErrUnexpectedEOF
  31179. }
  31180. b := data[iNdEx]
  31181. iNdEx++
  31182. m.TimeoutSeconds |= (int32(b) & 0x7F) << shift
  31183. if b < 0x80 {
  31184. break
  31185. }
  31186. }
  31187. case 4:
  31188. if wireType != 0 {
  31189. return fmt.Errorf("proto: wrong wireType = %d for field PeriodSeconds", wireType)
  31190. }
  31191. m.PeriodSeconds = 0
  31192. for shift := uint(0); ; shift += 7 {
  31193. if shift >= 64 {
  31194. return ErrIntOverflowGenerated
  31195. }
  31196. if iNdEx >= l {
  31197. return io.ErrUnexpectedEOF
  31198. }
  31199. b := data[iNdEx]
  31200. iNdEx++
  31201. m.PeriodSeconds |= (int32(b) & 0x7F) << shift
  31202. if b < 0x80 {
  31203. break
  31204. }
  31205. }
  31206. case 5:
  31207. if wireType != 0 {
  31208. return fmt.Errorf("proto: wrong wireType = %d for field SuccessThreshold", wireType)
  31209. }
  31210. m.SuccessThreshold = 0
  31211. for shift := uint(0); ; shift += 7 {
  31212. if shift >= 64 {
  31213. return ErrIntOverflowGenerated
  31214. }
  31215. if iNdEx >= l {
  31216. return io.ErrUnexpectedEOF
  31217. }
  31218. b := data[iNdEx]
  31219. iNdEx++
  31220. m.SuccessThreshold |= (int32(b) & 0x7F) << shift
  31221. if b < 0x80 {
  31222. break
  31223. }
  31224. }
  31225. case 6:
  31226. if wireType != 0 {
  31227. return fmt.Errorf("proto: wrong wireType = %d for field FailureThreshold", wireType)
  31228. }
  31229. m.FailureThreshold = 0
  31230. for shift := uint(0); ; shift += 7 {
  31231. if shift >= 64 {
  31232. return ErrIntOverflowGenerated
  31233. }
  31234. if iNdEx >= l {
  31235. return io.ErrUnexpectedEOF
  31236. }
  31237. b := data[iNdEx]
  31238. iNdEx++
  31239. m.FailureThreshold |= (int32(b) & 0x7F) << shift
  31240. if b < 0x80 {
  31241. break
  31242. }
  31243. }
  31244. default:
  31245. iNdEx = preIndex
  31246. skippy, err := skipGenerated(data[iNdEx:])
  31247. if err != nil {
  31248. return err
  31249. }
  31250. if skippy < 0 {
  31251. return ErrInvalidLengthGenerated
  31252. }
  31253. if (iNdEx + skippy) > l {
  31254. return io.ErrUnexpectedEOF
  31255. }
  31256. iNdEx += skippy
  31257. }
  31258. }
  31259. if iNdEx > l {
  31260. return io.ErrUnexpectedEOF
  31261. }
  31262. return nil
  31263. }
  31264. func (m *QuobyteVolumeSource) Unmarshal(data []byte) error {
  31265. l := len(data)
  31266. iNdEx := 0
  31267. for iNdEx < l {
  31268. preIndex := iNdEx
  31269. var wire uint64
  31270. for shift := uint(0); ; shift += 7 {
  31271. if shift >= 64 {
  31272. return ErrIntOverflowGenerated
  31273. }
  31274. if iNdEx >= l {
  31275. return io.ErrUnexpectedEOF
  31276. }
  31277. b := data[iNdEx]
  31278. iNdEx++
  31279. wire |= (uint64(b) & 0x7F) << shift
  31280. if b < 0x80 {
  31281. break
  31282. }
  31283. }
  31284. fieldNum := int32(wire >> 3)
  31285. wireType := int(wire & 0x7)
  31286. if wireType == 4 {
  31287. return fmt.Errorf("proto: QuobyteVolumeSource: wiretype end group for non-group")
  31288. }
  31289. if fieldNum <= 0 {
  31290. return fmt.Errorf("proto: QuobyteVolumeSource: illegal tag %d (wire type %d)", fieldNum, wire)
  31291. }
  31292. switch fieldNum {
  31293. case 1:
  31294. if wireType != 2 {
  31295. return fmt.Errorf("proto: wrong wireType = %d for field Registry", wireType)
  31296. }
  31297. var stringLen uint64
  31298. for shift := uint(0); ; shift += 7 {
  31299. if shift >= 64 {
  31300. return ErrIntOverflowGenerated
  31301. }
  31302. if iNdEx >= l {
  31303. return io.ErrUnexpectedEOF
  31304. }
  31305. b := data[iNdEx]
  31306. iNdEx++
  31307. stringLen |= (uint64(b) & 0x7F) << shift
  31308. if b < 0x80 {
  31309. break
  31310. }
  31311. }
  31312. intStringLen := int(stringLen)
  31313. if intStringLen < 0 {
  31314. return ErrInvalidLengthGenerated
  31315. }
  31316. postIndex := iNdEx + intStringLen
  31317. if postIndex > l {
  31318. return io.ErrUnexpectedEOF
  31319. }
  31320. m.Registry = string(data[iNdEx:postIndex])
  31321. iNdEx = postIndex
  31322. case 2:
  31323. if wireType != 2 {
  31324. return fmt.Errorf("proto: wrong wireType = %d for field Volume", wireType)
  31325. }
  31326. var stringLen uint64
  31327. for shift := uint(0); ; shift += 7 {
  31328. if shift >= 64 {
  31329. return ErrIntOverflowGenerated
  31330. }
  31331. if iNdEx >= l {
  31332. return io.ErrUnexpectedEOF
  31333. }
  31334. b := data[iNdEx]
  31335. iNdEx++
  31336. stringLen |= (uint64(b) & 0x7F) << shift
  31337. if b < 0x80 {
  31338. break
  31339. }
  31340. }
  31341. intStringLen := int(stringLen)
  31342. if intStringLen < 0 {
  31343. return ErrInvalidLengthGenerated
  31344. }
  31345. postIndex := iNdEx + intStringLen
  31346. if postIndex > l {
  31347. return io.ErrUnexpectedEOF
  31348. }
  31349. m.Volume = string(data[iNdEx:postIndex])
  31350. iNdEx = postIndex
  31351. case 3:
  31352. if wireType != 0 {
  31353. return fmt.Errorf("proto: wrong wireType = %d for field ReadOnly", wireType)
  31354. }
  31355. var v int
  31356. for shift := uint(0); ; shift += 7 {
  31357. if shift >= 64 {
  31358. return ErrIntOverflowGenerated
  31359. }
  31360. if iNdEx >= l {
  31361. return io.ErrUnexpectedEOF
  31362. }
  31363. b := data[iNdEx]
  31364. iNdEx++
  31365. v |= (int(b) & 0x7F) << shift
  31366. if b < 0x80 {
  31367. break
  31368. }
  31369. }
  31370. m.ReadOnly = bool(v != 0)
  31371. case 4:
  31372. if wireType != 2 {
  31373. return fmt.Errorf("proto: wrong wireType = %d for field User", wireType)
  31374. }
  31375. var stringLen uint64
  31376. for shift := uint(0); ; shift += 7 {
  31377. if shift >= 64 {
  31378. return ErrIntOverflowGenerated
  31379. }
  31380. if iNdEx >= l {
  31381. return io.ErrUnexpectedEOF
  31382. }
  31383. b := data[iNdEx]
  31384. iNdEx++
  31385. stringLen |= (uint64(b) & 0x7F) << shift
  31386. if b < 0x80 {
  31387. break
  31388. }
  31389. }
  31390. intStringLen := int(stringLen)
  31391. if intStringLen < 0 {
  31392. return ErrInvalidLengthGenerated
  31393. }
  31394. postIndex := iNdEx + intStringLen
  31395. if postIndex > l {
  31396. return io.ErrUnexpectedEOF
  31397. }
  31398. m.User = string(data[iNdEx:postIndex])
  31399. iNdEx = postIndex
  31400. case 5:
  31401. if wireType != 2 {
  31402. return fmt.Errorf("proto: wrong wireType = %d for field Group", wireType)
  31403. }
  31404. var stringLen uint64
  31405. for shift := uint(0); ; shift += 7 {
  31406. if shift >= 64 {
  31407. return ErrIntOverflowGenerated
  31408. }
  31409. if iNdEx >= l {
  31410. return io.ErrUnexpectedEOF
  31411. }
  31412. b := data[iNdEx]
  31413. iNdEx++
  31414. stringLen |= (uint64(b) & 0x7F) << shift
  31415. if b < 0x80 {
  31416. break
  31417. }
  31418. }
  31419. intStringLen := int(stringLen)
  31420. if intStringLen < 0 {
  31421. return ErrInvalidLengthGenerated
  31422. }
  31423. postIndex := iNdEx + intStringLen
  31424. if postIndex > l {
  31425. return io.ErrUnexpectedEOF
  31426. }
  31427. m.Group = string(data[iNdEx:postIndex])
  31428. iNdEx = postIndex
  31429. default:
  31430. iNdEx = preIndex
  31431. skippy, err := skipGenerated(data[iNdEx:])
  31432. if err != nil {
  31433. return err
  31434. }
  31435. if skippy < 0 {
  31436. return ErrInvalidLengthGenerated
  31437. }
  31438. if (iNdEx + skippy) > l {
  31439. return io.ErrUnexpectedEOF
  31440. }
  31441. iNdEx += skippy
  31442. }
  31443. }
  31444. if iNdEx > l {
  31445. return io.ErrUnexpectedEOF
  31446. }
  31447. return nil
  31448. }
  31449. func (m *RBDVolumeSource) Unmarshal(data []byte) error {
  31450. l := len(data)
  31451. iNdEx := 0
  31452. for iNdEx < l {
  31453. preIndex := iNdEx
  31454. var wire uint64
  31455. for shift := uint(0); ; shift += 7 {
  31456. if shift >= 64 {
  31457. return ErrIntOverflowGenerated
  31458. }
  31459. if iNdEx >= l {
  31460. return io.ErrUnexpectedEOF
  31461. }
  31462. b := data[iNdEx]
  31463. iNdEx++
  31464. wire |= (uint64(b) & 0x7F) << shift
  31465. if b < 0x80 {
  31466. break
  31467. }
  31468. }
  31469. fieldNum := int32(wire >> 3)
  31470. wireType := int(wire & 0x7)
  31471. if wireType == 4 {
  31472. return fmt.Errorf("proto: RBDVolumeSource: wiretype end group for non-group")
  31473. }
  31474. if fieldNum <= 0 {
  31475. return fmt.Errorf("proto: RBDVolumeSource: illegal tag %d (wire type %d)", fieldNum, wire)
  31476. }
  31477. switch fieldNum {
  31478. case 1:
  31479. if wireType != 2 {
  31480. return fmt.Errorf("proto: wrong wireType = %d for field CephMonitors", wireType)
  31481. }
  31482. var stringLen uint64
  31483. for shift := uint(0); ; shift += 7 {
  31484. if shift >= 64 {
  31485. return ErrIntOverflowGenerated
  31486. }
  31487. if iNdEx >= l {
  31488. return io.ErrUnexpectedEOF
  31489. }
  31490. b := data[iNdEx]
  31491. iNdEx++
  31492. stringLen |= (uint64(b) & 0x7F) << shift
  31493. if b < 0x80 {
  31494. break
  31495. }
  31496. }
  31497. intStringLen := int(stringLen)
  31498. if intStringLen < 0 {
  31499. return ErrInvalidLengthGenerated
  31500. }
  31501. postIndex := iNdEx + intStringLen
  31502. if postIndex > l {
  31503. return io.ErrUnexpectedEOF
  31504. }
  31505. m.CephMonitors = append(m.CephMonitors, string(data[iNdEx:postIndex]))
  31506. iNdEx = postIndex
  31507. case 2:
  31508. if wireType != 2 {
  31509. return fmt.Errorf("proto: wrong wireType = %d for field RBDImage", wireType)
  31510. }
  31511. var stringLen uint64
  31512. for shift := uint(0); ; shift += 7 {
  31513. if shift >= 64 {
  31514. return ErrIntOverflowGenerated
  31515. }
  31516. if iNdEx >= l {
  31517. return io.ErrUnexpectedEOF
  31518. }
  31519. b := data[iNdEx]
  31520. iNdEx++
  31521. stringLen |= (uint64(b) & 0x7F) << shift
  31522. if b < 0x80 {
  31523. break
  31524. }
  31525. }
  31526. intStringLen := int(stringLen)
  31527. if intStringLen < 0 {
  31528. return ErrInvalidLengthGenerated
  31529. }
  31530. postIndex := iNdEx + intStringLen
  31531. if postIndex > l {
  31532. return io.ErrUnexpectedEOF
  31533. }
  31534. m.RBDImage = string(data[iNdEx:postIndex])
  31535. iNdEx = postIndex
  31536. case 3:
  31537. if wireType != 2 {
  31538. return fmt.Errorf("proto: wrong wireType = %d for field FSType", wireType)
  31539. }
  31540. var stringLen uint64
  31541. for shift := uint(0); ; shift += 7 {
  31542. if shift >= 64 {
  31543. return ErrIntOverflowGenerated
  31544. }
  31545. if iNdEx >= l {
  31546. return io.ErrUnexpectedEOF
  31547. }
  31548. b := data[iNdEx]
  31549. iNdEx++
  31550. stringLen |= (uint64(b) & 0x7F) << shift
  31551. if b < 0x80 {
  31552. break
  31553. }
  31554. }
  31555. intStringLen := int(stringLen)
  31556. if intStringLen < 0 {
  31557. return ErrInvalidLengthGenerated
  31558. }
  31559. postIndex := iNdEx + intStringLen
  31560. if postIndex > l {
  31561. return io.ErrUnexpectedEOF
  31562. }
  31563. m.FSType = string(data[iNdEx:postIndex])
  31564. iNdEx = postIndex
  31565. case 4:
  31566. if wireType != 2 {
  31567. return fmt.Errorf("proto: wrong wireType = %d for field RBDPool", wireType)
  31568. }
  31569. var stringLen uint64
  31570. for shift := uint(0); ; shift += 7 {
  31571. if shift >= 64 {
  31572. return ErrIntOverflowGenerated
  31573. }
  31574. if iNdEx >= l {
  31575. return io.ErrUnexpectedEOF
  31576. }
  31577. b := data[iNdEx]
  31578. iNdEx++
  31579. stringLen |= (uint64(b) & 0x7F) << shift
  31580. if b < 0x80 {
  31581. break
  31582. }
  31583. }
  31584. intStringLen := int(stringLen)
  31585. if intStringLen < 0 {
  31586. return ErrInvalidLengthGenerated
  31587. }
  31588. postIndex := iNdEx + intStringLen
  31589. if postIndex > l {
  31590. return io.ErrUnexpectedEOF
  31591. }
  31592. m.RBDPool = string(data[iNdEx:postIndex])
  31593. iNdEx = postIndex
  31594. case 5:
  31595. if wireType != 2 {
  31596. return fmt.Errorf("proto: wrong wireType = %d for field RadosUser", wireType)
  31597. }
  31598. var stringLen uint64
  31599. for shift := uint(0); ; shift += 7 {
  31600. if shift >= 64 {
  31601. return ErrIntOverflowGenerated
  31602. }
  31603. if iNdEx >= l {
  31604. return io.ErrUnexpectedEOF
  31605. }
  31606. b := data[iNdEx]
  31607. iNdEx++
  31608. stringLen |= (uint64(b) & 0x7F) << shift
  31609. if b < 0x80 {
  31610. break
  31611. }
  31612. }
  31613. intStringLen := int(stringLen)
  31614. if intStringLen < 0 {
  31615. return ErrInvalidLengthGenerated
  31616. }
  31617. postIndex := iNdEx + intStringLen
  31618. if postIndex > l {
  31619. return io.ErrUnexpectedEOF
  31620. }
  31621. m.RadosUser = string(data[iNdEx:postIndex])
  31622. iNdEx = postIndex
  31623. case 6:
  31624. if wireType != 2 {
  31625. return fmt.Errorf("proto: wrong wireType = %d for field Keyring", wireType)
  31626. }
  31627. var stringLen uint64
  31628. for shift := uint(0); ; shift += 7 {
  31629. if shift >= 64 {
  31630. return ErrIntOverflowGenerated
  31631. }
  31632. if iNdEx >= l {
  31633. return io.ErrUnexpectedEOF
  31634. }
  31635. b := data[iNdEx]
  31636. iNdEx++
  31637. stringLen |= (uint64(b) & 0x7F) << shift
  31638. if b < 0x80 {
  31639. break
  31640. }
  31641. }
  31642. intStringLen := int(stringLen)
  31643. if intStringLen < 0 {
  31644. return ErrInvalidLengthGenerated
  31645. }
  31646. postIndex := iNdEx + intStringLen
  31647. if postIndex > l {
  31648. return io.ErrUnexpectedEOF
  31649. }
  31650. m.Keyring = string(data[iNdEx:postIndex])
  31651. iNdEx = postIndex
  31652. case 7:
  31653. if wireType != 2 {
  31654. return fmt.Errorf("proto: wrong wireType = %d for field SecretRef", wireType)
  31655. }
  31656. var msglen int
  31657. for shift := uint(0); ; shift += 7 {
  31658. if shift >= 64 {
  31659. return ErrIntOverflowGenerated
  31660. }
  31661. if iNdEx >= l {
  31662. return io.ErrUnexpectedEOF
  31663. }
  31664. b := data[iNdEx]
  31665. iNdEx++
  31666. msglen |= (int(b) & 0x7F) << shift
  31667. if b < 0x80 {
  31668. break
  31669. }
  31670. }
  31671. if msglen < 0 {
  31672. return ErrInvalidLengthGenerated
  31673. }
  31674. postIndex := iNdEx + msglen
  31675. if postIndex > l {
  31676. return io.ErrUnexpectedEOF
  31677. }
  31678. if m.SecretRef == nil {
  31679. m.SecretRef = &LocalObjectReference{}
  31680. }
  31681. if err := m.SecretRef.Unmarshal(data[iNdEx:postIndex]); err != nil {
  31682. return err
  31683. }
  31684. iNdEx = postIndex
  31685. case 8:
  31686. if wireType != 0 {
  31687. return fmt.Errorf("proto: wrong wireType = %d for field ReadOnly", wireType)
  31688. }
  31689. var v int
  31690. for shift := uint(0); ; shift += 7 {
  31691. if shift >= 64 {
  31692. return ErrIntOverflowGenerated
  31693. }
  31694. if iNdEx >= l {
  31695. return io.ErrUnexpectedEOF
  31696. }
  31697. b := data[iNdEx]
  31698. iNdEx++
  31699. v |= (int(b) & 0x7F) << shift
  31700. if b < 0x80 {
  31701. break
  31702. }
  31703. }
  31704. m.ReadOnly = bool(v != 0)
  31705. default:
  31706. iNdEx = preIndex
  31707. skippy, err := skipGenerated(data[iNdEx:])
  31708. if err != nil {
  31709. return err
  31710. }
  31711. if skippy < 0 {
  31712. return ErrInvalidLengthGenerated
  31713. }
  31714. if (iNdEx + skippy) > l {
  31715. return io.ErrUnexpectedEOF
  31716. }
  31717. iNdEx += skippy
  31718. }
  31719. }
  31720. if iNdEx > l {
  31721. return io.ErrUnexpectedEOF
  31722. }
  31723. return nil
  31724. }
  31725. func (m *RangeAllocation) Unmarshal(data []byte) error {
  31726. l := len(data)
  31727. iNdEx := 0
  31728. for iNdEx < l {
  31729. preIndex := iNdEx
  31730. var wire uint64
  31731. for shift := uint(0); ; shift += 7 {
  31732. if shift >= 64 {
  31733. return ErrIntOverflowGenerated
  31734. }
  31735. if iNdEx >= l {
  31736. return io.ErrUnexpectedEOF
  31737. }
  31738. b := data[iNdEx]
  31739. iNdEx++
  31740. wire |= (uint64(b) & 0x7F) << shift
  31741. if b < 0x80 {
  31742. break
  31743. }
  31744. }
  31745. fieldNum := int32(wire >> 3)
  31746. wireType := int(wire & 0x7)
  31747. if wireType == 4 {
  31748. return fmt.Errorf("proto: RangeAllocation: wiretype end group for non-group")
  31749. }
  31750. if fieldNum <= 0 {
  31751. return fmt.Errorf("proto: RangeAllocation: illegal tag %d (wire type %d)", fieldNum, wire)
  31752. }
  31753. switch fieldNum {
  31754. case 1:
  31755. if wireType != 2 {
  31756. return fmt.Errorf("proto: wrong wireType = %d for field ObjectMeta", wireType)
  31757. }
  31758. var msglen int
  31759. for shift := uint(0); ; shift += 7 {
  31760. if shift >= 64 {
  31761. return ErrIntOverflowGenerated
  31762. }
  31763. if iNdEx >= l {
  31764. return io.ErrUnexpectedEOF
  31765. }
  31766. b := data[iNdEx]
  31767. iNdEx++
  31768. msglen |= (int(b) & 0x7F) << shift
  31769. if b < 0x80 {
  31770. break
  31771. }
  31772. }
  31773. if msglen < 0 {
  31774. return ErrInvalidLengthGenerated
  31775. }
  31776. postIndex := iNdEx + msglen
  31777. if postIndex > l {
  31778. return io.ErrUnexpectedEOF
  31779. }
  31780. if err := m.ObjectMeta.Unmarshal(data[iNdEx:postIndex]); err != nil {
  31781. return err
  31782. }
  31783. iNdEx = postIndex
  31784. case 2:
  31785. if wireType != 2 {
  31786. return fmt.Errorf("proto: wrong wireType = %d for field Range", wireType)
  31787. }
  31788. var stringLen uint64
  31789. for shift := uint(0); ; shift += 7 {
  31790. if shift >= 64 {
  31791. return ErrIntOverflowGenerated
  31792. }
  31793. if iNdEx >= l {
  31794. return io.ErrUnexpectedEOF
  31795. }
  31796. b := data[iNdEx]
  31797. iNdEx++
  31798. stringLen |= (uint64(b) & 0x7F) << shift
  31799. if b < 0x80 {
  31800. break
  31801. }
  31802. }
  31803. intStringLen := int(stringLen)
  31804. if intStringLen < 0 {
  31805. return ErrInvalidLengthGenerated
  31806. }
  31807. postIndex := iNdEx + intStringLen
  31808. if postIndex > l {
  31809. return io.ErrUnexpectedEOF
  31810. }
  31811. m.Range = string(data[iNdEx:postIndex])
  31812. iNdEx = postIndex
  31813. case 3:
  31814. if wireType != 2 {
  31815. return fmt.Errorf("proto: wrong wireType = %d for field Data", wireType)
  31816. }
  31817. var byteLen int
  31818. for shift := uint(0); ; shift += 7 {
  31819. if shift >= 64 {
  31820. return ErrIntOverflowGenerated
  31821. }
  31822. if iNdEx >= l {
  31823. return io.ErrUnexpectedEOF
  31824. }
  31825. b := data[iNdEx]
  31826. iNdEx++
  31827. byteLen |= (int(b) & 0x7F) << shift
  31828. if b < 0x80 {
  31829. break
  31830. }
  31831. }
  31832. if byteLen < 0 {
  31833. return ErrInvalidLengthGenerated
  31834. }
  31835. postIndex := iNdEx + byteLen
  31836. if postIndex > l {
  31837. return io.ErrUnexpectedEOF
  31838. }
  31839. m.Data = append(m.Data[:0], data[iNdEx:postIndex]...)
  31840. if m.Data == nil {
  31841. m.Data = []byte{}
  31842. }
  31843. iNdEx = postIndex
  31844. default:
  31845. iNdEx = preIndex
  31846. skippy, err := skipGenerated(data[iNdEx:])
  31847. if err != nil {
  31848. return err
  31849. }
  31850. if skippy < 0 {
  31851. return ErrInvalidLengthGenerated
  31852. }
  31853. if (iNdEx + skippy) > l {
  31854. return io.ErrUnexpectedEOF
  31855. }
  31856. iNdEx += skippy
  31857. }
  31858. }
  31859. if iNdEx > l {
  31860. return io.ErrUnexpectedEOF
  31861. }
  31862. return nil
  31863. }
  31864. func (m *ReplicationController) Unmarshal(data []byte) error {
  31865. l := len(data)
  31866. iNdEx := 0
  31867. for iNdEx < l {
  31868. preIndex := iNdEx
  31869. var wire uint64
  31870. for shift := uint(0); ; shift += 7 {
  31871. if shift >= 64 {
  31872. return ErrIntOverflowGenerated
  31873. }
  31874. if iNdEx >= l {
  31875. return io.ErrUnexpectedEOF
  31876. }
  31877. b := data[iNdEx]
  31878. iNdEx++
  31879. wire |= (uint64(b) & 0x7F) << shift
  31880. if b < 0x80 {
  31881. break
  31882. }
  31883. }
  31884. fieldNum := int32(wire >> 3)
  31885. wireType := int(wire & 0x7)
  31886. if wireType == 4 {
  31887. return fmt.Errorf("proto: ReplicationController: wiretype end group for non-group")
  31888. }
  31889. if fieldNum <= 0 {
  31890. return fmt.Errorf("proto: ReplicationController: illegal tag %d (wire type %d)", fieldNum, wire)
  31891. }
  31892. switch fieldNum {
  31893. case 1:
  31894. if wireType != 2 {
  31895. return fmt.Errorf("proto: wrong wireType = %d for field ObjectMeta", wireType)
  31896. }
  31897. var msglen int
  31898. for shift := uint(0); ; shift += 7 {
  31899. if shift >= 64 {
  31900. return ErrIntOverflowGenerated
  31901. }
  31902. if iNdEx >= l {
  31903. return io.ErrUnexpectedEOF
  31904. }
  31905. b := data[iNdEx]
  31906. iNdEx++
  31907. msglen |= (int(b) & 0x7F) << shift
  31908. if b < 0x80 {
  31909. break
  31910. }
  31911. }
  31912. if msglen < 0 {
  31913. return ErrInvalidLengthGenerated
  31914. }
  31915. postIndex := iNdEx + msglen
  31916. if postIndex > l {
  31917. return io.ErrUnexpectedEOF
  31918. }
  31919. if err := m.ObjectMeta.Unmarshal(data[iNdEx:postIndex]); err != nil {
  31920. return err
  31921. }
  31922. iNdEx = postIndex
  31923. case 2:
  31924. if wireType != 2 {
  31925. return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType)
  31926. }
  31927. var msglen int
  31928. for shift := uint(0); ; shift += 7 {
  31929. if shift >= 64 {
  31930. return ErrIntOverflowGenerated
  31931. }
  31932. if iNdEx >= l {
  31933. return io.ErrUnexpectedEOF
  31934. }
  31935. b := data[iNdEx]
  31936. iNdEx++
  31937. msglen |= (int(b) & 0x7F) << shift
  31938. if b < 0x80 {
  31939. break
  31940. }
  31941. }
  31942. if msglen < 0 {
  31943. return ErrInvalidLengthGenerated
  31944. }
  31945. postIndex := iNdEx + msglen
  31946. if postIndex > l {
  31947. return io.ErrUnexpectedEOF
  31948. }
  31949. if err := m.Spec.Unmarshal(data[iNdEx:postIndex]); err != nil {
  31950. return err
  31951. }
  31952. iNdEx = postIndex
  31953. case 3:
  31954. if wireType != 2 {
  31955. return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
  31956. }
  31957. var msglen int
  31958. for shift := uint(0); ; shift += 7 {
  31959. if shift >= 64 {
  31960. return ErrIntOverflowGenerated
  31961. }
  31962. if iNdEx >= l {
  31963. return io.ErrUnexpectedEOF
  31964. }
  31965. b := data[iNdEx]
  31966. iNdEx++
  31967. msglen |= (int(b) & 0x7F) << shift
  31968. if b < 0x80 {
  31969. break
  31970. }
  31971. }
  31972. if msglen < 0 {
  31973. return ErrInvalidLengthGenerated
  31974. }
  31975. postIndex := iNdEx + msglen
  31976. if postIndex > l {
  31977. return io.ErrUnexpectedEOF
  31978. }
  31979. if err := m.Status.Unmarshal(data[iNdEx:postIndex]); err != nil {
  31980. return err
  31981. }
  31982. iNdEx = postIndex
  31983. default:
  31984. iNdEx = preIndex
  31985. skippy, err := skipGenerated(data[iNdEx:])
  31986. if err != nil {
  31987. return err
  31988. }
  31989. if skippy < 0 {
  31990. return ErrInvalidLengthGenerated
  31991. }
  31992. if (iNdEx + skippy) > l {
  31993. return io.ErrUnexpectedEOF
  31994. }
  31995. iNdEx += skippy
  31996. }
  31997. }
  31998. if iNdEx > l {
  31999. return io.ErrUnexpectedEOF
  32000. }
  32001. return nil
  32002. }
  32003. func (m *ReplicationControllerList) Unmarshal(data []byte) error {
  32004. l := len(data)
  32005. iNdEx := 0
  32006. for iNdEx < l {
  32007. preIndex := iNdEx
  32008. var wire uint64
  32009. for shift := uint(0); ; shift += 7 {
  32010. if shift >= 64 {
  32011. return ErrIntOverflowGenerated
  32012. }
  32013. if iNdEx >= l {
  32014. return io.ErrUnexpectedEOF
  32015. }
  32016. b := data[iNdEx]
  32017. iNdEx++
  32018. wire |= (uint64(b) & 0x7F) << shift
  32019. if b < 0x80 {
  32020. break
  32021. }
  32022. }
  32023. fieldNum := int32(wire >> 3)
  32024. wireType := int(wire & 0x7)
  32025. if wireType == 4 {
  32026. return fmt.Errorf("proto: ReplicationControllerList: wiretype end group for non-group")
  32027. }
  32028. if fieldNum <= 0 {
  32029. return fmt.Errorf("proto: ReplicationControllerList: illegal tag %d (wire type %d)", fieldNum, wire)
  32030. }
  32031. switch fieldNum {
  32032. case 1:
  32033. if wireType != 2 {
  32034. return fmt.Errorf("proto: wrong wireType = %d for field ListMeta", wireType)
  32035. }
  32036. var msglen int
  32037. for shift := uint(0); ; shift += 7 {
  32038. if shift >= 64 {
  32039. return ErrIntOverflowGenerated
  32040. }
  32041. if iNdEx >= l {
  32042. return io.ErrUnexpectedEOF
  32043. }
  32044. b := data[iNdEx]
  32045. iNdEx++
  32046. msglen |= (int(b) & 0x7F) << shift
  32047. if b < 0x80 {
  32048. break
  32049. }
  32050. }
  32051. if msglen < 0 {
  32052. return ErrInvalidLengthGenerated
  32053. }
  32054. postIndex := iNdEx + msglen
  32055. if postIndex > l {
  32056. return io.ErrUnexpectedEOF
  32057. }
  32058. if err := m.ListMeta.Unmarshal(data[iNdEx:postIndex]); err != nil {
  32059. return err
  32060. }
  32061. iNdEx = postIndex
  32062. case 2:
  32063. if wireType != 2 {
  32064. return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType)
  32065. }
  32066. var msglen int
  32067. for shift := uint(0); ; shift += 7 {
  32068. if shift >= 64 {
  32069. return ErrIntOverflowGenerated
  32070. }
  32071. if iNdEx >= l {
  32072. return io.ErrUnexpectedEOF
  32073. }
  32074. b := data[iNdEx]
  32075. iNdEx++
  32076. msglen |= (int(b) & 0x7F) << shift
  32077. if b < 0x80 {
  32078. break
  32079. }
  32080. }
  32081. if msglen < 0 {
  32082. return ErrInvalidLengthGenerated
  32083. }
  32084. postIndex := iNdEx + msglen
  32085. if postIndex > l {
  32086. return io.ErrUnexpectedEOF
  32087. }
  32088. m.Items = append(m.Items, ReplicationController{})
  32089. if err := m.Items[len(m.Items)-1].Unmarshal(data[iNdEx:postIndex]); err != nil {
  32090. return err
  32091. }
  32092. iNdEx = postIndex
  32093. default:
  32094. iNdEx = preIndex
  32095. skippy, err := skipGenerated(data[iNdEx:])
  32096. if err != nil {
  32097. return err
  32098. }
  32099. if skippy < 0 {
  32100. return ErrInvalidLengthGenerated
  32101. }
  32102. if (iNdEx + skippy) > l {
  32103. return io.ErrUnexpectedEOF
  32104. }
  32105. iNdEx += skippy
  32106. }
  32107. }
  32108. if iNdEx > l {
  32109. return io.ErrUnexpectedEOF
  32110. }
  32111. return nil
  32112. }
  32113. func (m *ReplicationControllerSpec) Unmarshal(data []byte) error {
  32114. l := len(data)
  32115. iNdEx := 0
  32116. for iNdEx < l {
  32117. preIndex := iNdEx
  32118. var wire uint64
  32119. for shift := uint(0); ; shift += 7 {
  32120. if shift >= 64 {
  32121. return ErrIntOverflowGenerated
  32122. }
  32123. if iNdEx >= l {
  32124. return io.ErrUnexpectedEOF
  32125. }
  32126. b := data[iNdEx]
  32127. iNdEx++
  32128. wire |= (uint64(b) & 0x7F) << shift
  32129. if b < 0x80 {
  32130. break
  32131. }
  32132. }
  32133. fieldNum := int32(wire >> 3)
  32134. wireType := int(wire & 0x7)
  32135. if wireType == 4 {
  32136. return fmt.Errorf("proto: ReplicationControllerSpec: wiretype end group for non-group")
  32137. }
  32138. if fieldNum <= 0 {
  32139. return fmt.Errorf("proto: ReplicationControllerSpec: illegal tag %d (wire type %d)", fieldNum, wire)
  32140. }
  32141. switch fieldNum {
  32142. case 1:
  32143. if wireType != 0 {
  32144. return fmt.Errorf("proto: wrong wireType = %d for field Replicas", wireType)
  32145. }
  32146. var v int32
  32147. for shift := uint(0); ; shift += 7 {
  32148. if shift >= 64 {
  32149. return ErrIntOverflowGenerated
  32150. }
  32151. if iNdEx >= l {
  32152. return io.ErrUnexpectedEOF
  32153. }
  32154. b := data[iNdEx]
  32155. iNdEx++
  32156. v |= (int32(b) & 0x7F) << shift
  32157. if b < 0x80 {
  32158. break
  32159. }
  32160. }
  32161. m.Replicas = &v
  32162. case 2:
  32163. if wireType != 2 {
  32164. return fmt.Errorf("proto: wrong wireType = %d for field Selector", wireType)
  32165. }
  32166. var msglen int
  32167. for shift := uint(0); ; shift += 7 {
  32168. if shift >= 64 {
  32169. return ErrIntOverflowGenerated
  32170. }
  32171. if iNdEx >= l {
  32172. return io.ErrUnexpectedEOF
  32173. }
  32174. b := data[iNdEx]
  32175. iNdEx++
  32176. msglen |= (int(b) & 0x7F) << shift
  32177. if b < 0x80 {
  32178. break
  32179. }
  32180. }
  32181. if msglen < 0 {
  32182. return ErrInvalidLengthGenerated
  32183. }
  32184. postIndex := iNdEx + msglen
  32185. if postIndex > l {
  32186. return io.ErrUnexpectedEOF
  32187. }
  32188. var keykey uint64
  32189. for shift := uint(0); ; shift += 7 {
  32190. if shift >= 64 {
  32191. return ErrIntOverflowGenerated
  32192. }
  32193. if iNdEx >= l {
  32194. return io.ErrUnexpectedEOF
  32195. }
  32196. b := data[iNdEx]
  32197. iNdEx++
  32198. keykey |= (uint64(b) & 0x7F) << shift
  32199. if b < 0x80 {
  32200. break
  32201. }
  32202. }
  32203. var stringLenmapkey uint64
  32204. for shift := uint(0); ; shift += 7 {
  32205. if shift >= 64 {
  32206. return ErrIntOverflowGenerated
  32207. }
  32208. if iNdEx >= l {
  32209. return io.ErrUnexpectedEOF
  32210. }
  32211. b := data[iNdEx]
  32212. iNdEx++
  32213. stringLenmapkey |= (uint64(b) & 0x7F) << shift
  32214. if b < 0x80 {
  32215. break
  32216. }
  32217. }
  32218. intStringLenmapkey := int(stringLenmapkey)
  32219. if intStringLenmapkey < 0 {
  32220. return ErrInvalidLengthGenerated
  32221. }
  32222. postStringIndexmapkey := iNdEx + intStringLenmapkey
  32223. if postStringIndexmapkey > l {
  32224. return io.ErrUnexpectedEOF
  32225. }
  32226. mapkey := string(data[iNdEx:postStringIndexmapkey])
  32227. iNdEx = postStringIndexmapkey
  32228. var valuekey uint64
  32229. for shift := uint(0); ; shift += 7 {
  32230. if shift >= 64 {
  32231. return ErrIntOverflowGenerated
  32232. }
  32233. if iNdEx >= l {
  32234. return io.ErrUnexpectedEOF
  32235. }
  32236. b := data[iNdEx]
  32237. iNdEx++
  32238. valuekey |= (uint64(b) & 0x7F) << shift
  32239. if b < 0x80 {
  32240. break
  32241. }
  32242. }
  32243. var stringLenmapvalue uint64
  32244. for shift := uint(0); ; shift += 7 {
  32245. if shift >= 64 {
  32246. return ErrIntOverflowGenerated
  32247. }
  32248. if iNdEx >= l {
  32249. return io.ErrUnexpectedEOF
  32250. }
  32251. b := data[iNdEx]
  32252. iNdEx++
  32253. stringLenmapvalue |= (uint64(b) & 0x7F) << shift
  32254. if b < 0x80 {
  32255. break
  32256. }
  32257. }
  32258. intStringLenmapvalue := int(stringLenmapvalue)
  32259. if intStringLenmapvalue < 0 {
  32260. return ErrInvalidLengthGenerated
  32261. }
  32262. postStringIndexmapvalue := iNdEx + intStringLenmapvalue
  32263. if postStringIndexmapvalue > l {
  32264. return io.ErrUnexpectedEOF
  32265. }
  32266. mapvalue := string(data[iNdEx:postStringIndexmapvalue])
  32267. iNdEx = postStringIndexmapvalue
  32268. if m.Selector == nil {
  32269. m.Selector = make(map[string]string)
  32270. }
  32271. m.Selector[mapkey] = mapvalue
  32272. iNdEx = postIndex
  32273. case 3:
  32274. if wireType != 2 {
  32275. return fmt.Errorf("proto: wrong wireType = %d for field Template", wireType)
  32276. }
  32277. var msglen int
  32278. for shift := uint(0); ; shift += 7 {
  32279. if shift >= 64 {
  32280. return ErrIntOverflowGenerated
  32281. }
  32282. if iNdEx >= l {
  32283. return io.ErrUnexpectedEOF
  32284. }
  32285. b := data[iNdEx]
  32286. iNdEx++
  32287. msglen |= (int(b) & 0x7F) << shift
  32288. if b < 0x80 {
  32289. break
  32290. }
  32291. }
  32292. if msglen < 0 {
  32293. return ErrInvalidLengthGenerated
  32294. }
  32295. postIndex := iNdEx + msglen
  32296. if postIndex > l {
  32297. return io.ErrUnexpectedEOF
  32298. }
  32299. if m.Template == nil {
  32300. m.Template = &PodTemplateSpec{}
  32301. }
  32302. if err := m.Template.Unmarshal(data[iNdEx:postIndex]); err != nil {
  32303. return err
  32304. }
  32305. iNdEx = postIndex
  32306. default:
  32307. iNdEx = preIndex
  32308. skippy, err := skipGenerated(data[iNdEx:])
  32309. if err != nil {
  32310. return err
  32311. }
  32312. if skippy < 0 {
  32313. return ErrInvalidLengthGenerated
  32314. }
  32315. if (iNdEx + skippy) > l {
  32316. return io.ErrUnexpectedEOF
  32317. }
  32318. iNdEx += skippy
  32319. }
  32320. }
  32321. if iNdEx > l {
  32322. return io.ErrUnexpectedEOF
  32323. }
  32324. return nil
  32325. }
  32326. func (m *ReplicationControllerStatus) Unmarshal(data []byte) error {
  32327. l := len(data)
  32328. iNdEx := 0
  32329. for iNdEx < l {
  32330. preIndex := iNdEx
  32331. var wire uint64
  32332. for shift := uint(0); ; shift += 7 {
  32333. if shift >= 64 {
  32334. return ErrIntOverflowGenerated
  32335. }
  32336. if iNdEx >= l {
  32337. return io.ErrUnexpectedEOF
  32338. }
  32339. b := data[iNdEx]
  32340. iNdEx++
  32341. wire |= (uint64(b) & 0x7F) << shift
  32342. if b < 0x80 {
  32343. break
  32344. }
  32345. }
  32346. fieldNum := int32(wire >> 3)
  32347. wireType := int(wire & 0x7)
  32348. if wireType == 4 {
  32349. return fmt.Errorf("proto: ReplicationControllerStatus: wiretype end group for non-group")
  32350. }
  32351. if fieldNum <= 0 {
  32352. return fmt.Errorf("proto: ReplicationControllerStatus: illegal tag %d (wire type %d)", fieldNum, wire)
  32353. }
  32354. switch fieldNum {
  32355. case 1:
  32356. if wireType != 0 {
  32357. return fmt.Errorf("proto: wrong wireType = %d for field Replicas", wireType)
  32358. }
  32359. m.Replicas = 0
  32360. for shift := uint(0); ; shift += 7 {
  32361. if shift >= 64 {
  32362. return ErrIntOverflowGenerated
  32363. }
  32364. if iNdEx >= l {
  32365. return io.ErrUnexpectedEOF
  32366. }
  32367. b := data[iNdEx]
  32368. iNdEx++
  32369. m.Replicas |= (int32(b) & 0x7F) << shift
  32370. if b < 0x80 {
  32371. break
  32372. }
  32373. }
  32374. case 2:
  32375. if wireType != 0 {
  32376. return fmt.Errorf("proto: wrong wireType = %d for field FullyLabeledReplicas", wireType)
  32377. }
  32378. m.FullyLabeledReplicas = 0
  32379. for shift := uint(0); ; shift += 7 {
  32380. if shift >= 64 {
  32381. return ErrIntOverflowGenerated
  32382. }
  32383. if iNdEx >= l {
  32384. return io.ErrUnexpectedEOF
  32385. }
  32386. b := data[iNdEx]
  32387. iNdEx++
  32388. m.FullyLabeledReplicas |= (int32(b) & 0x7F) << shift
  32389. if b < 0x80 {
  32390. break
  32391. }
  32392. }
  32393. case 3:
  32394. if wireType != 0 {
  32395. return fmt.Errorf("proto: wrong wireType = %d for field ObservedGeneration", wireType)
  32396. }
  32397. m.ObservedGeneration = 0
  32398. for shift := uint(0); ; shift += 7 {
  32399. if shift >= 64 {
  32400. return ErrIntOverflowGenerated
  32401. }
  32402. if iNdEx >= l {
  32403. return io.ErrUnexpectedEOF
  32404. }
  32405. b := data[iNdEx]
  32406. iNdEx++
  32407. m.ObservedGeneration |= (int64(b) & 0x7F) << shift
  32408. if b < 0x80 {
  32409. break
  32410. }
  32411. }
  32412. case 4:
  32413. if wireType != 0 {
  32414. return fmt.Errorf("proto: wrong wireType = %d for field ReadyReplicas", wireType)
  32415. }
  32416. m.ReadyReplicas = 0
  32417. for shift := uint(0); ; shift += 7 {
  32418. if shift >= 64 {
  32419. return ErrIntOverflowGenerated
  32420. }
  32421. if iNdEx >= l {
  32422. return io.ErrUnexpectedEOF
  32423. }
  32424. b := data[iNdEx]
  32425. iNdEx++
  32426. m.ReadyReplicas |= (int32(b) & 0x7F) << shift
  32427. if b < 0x80 {
  32428. break
  32429. }
  32430. }
  32431. default:
  32432. iNdEx = preIndex
  32433. skippy, err := skipGenerated(data[iNdEx:])
  32434. if err != nil {
  32435. return err
  32436. }
  32437. if skippy < 0 {
  32438. return ErrInvalidLengthGenerated
  32439. }
  32440. if (iNdEx + skippy) > l {
  32441. return io.ErrUnexpectedEOF
  32442. }
  32443. iNdEx += skippy
  32444. }
  32445. }
  32446. if iNdEx > l {
  32447. return io.ErrUnexpectedEOF
  32448. }
  32449. return nil
  32450. }
  32451. func (m *ResourceFieldSelector) Unmarshal(data []byte) error {
  32452. l := len(data)
  32453. iNdEx := 0
  32454. for iNdEx < l {
  32455. preIndex := iNdEx
  32456. var wire uint64
  32457. for shift := uint(0); ; shift += 7 {
  32458. if shift >= 64 {
  32459. return ErrIntOverflowGenerated
  32460. }
  32461. if iNdEx >= l {
  32462. return io.ErrUnexpectedEOF
  32463. }
  32464. b := data[iNdEx]
  32465. iNdEx++
  32466. wire |= (uint64(b) & 0x7F) << shift
  32467. if b < 0x80 {
  32468. break
  32469. }
  32470. }
  32471. fieldNum := int32(wire >> 3)
  32472. wireType := int(wire & 0x7)
  32473. if wireType == 4 {
  32474. return fmt.Errorf("proto: ResourceFieldSelector: wiretype end group for non-group")
  32475. }
  32476. if fieldNum <= 0 {
  32477. return fmt.Errorf("proto: ResourceFieldSelector: illegal tag %d (wire type %d)", fieldNum, wire)
  32478. }
  32479. switch fieldNum {
  32480. case 1:
  32481. if wireType != 2 {
  32482. return fmt.Errorf("proto: wrong wireType = %d for field ContainerName", wireType)
  32483. }
  32484. var stringLen uint64
  32485. for shift := uint(0); ; shift += 7 {
  32486. if shift >= 64 {
  32487. return ErrIntOverflowGenerated
  32488. }
  32489. if iNdEx >= l {
  32490. return io.ErrUnexpectedEOF
  32491. }
  32492. b := data[iNdEx]
  32493. iNdEx++
  32494. stringLen |= (uint64(b) & 0x7F) << shift
  32495. if b < 0x80 {
  32496. break
  32497. }
  32498. }
  32499. intStringLen := int(stringLen)
  32500. if intStringLen < 0 {
  32501. return ErrInvalidLengthGenerated
  32502. }
  32503. postIndex := iNdEx + intStringLen
  32504. if postIndex > l {
  32505. return io.ErrUnexpectedEOF
  32506. }
  32507. m.ContainerName = string(data[iNdEx:postIndex])
  32508. iNdEx = postIndex
  32509. case 2:
  32510. if wireType != 2 {
  32511. return fmt.Errorf("proto: wrong wireType = %d for field Resource", wireType)
  32512. }
  32513. var stringLen uint64
  32514. for shift := uint(0); ; shift += 7 {
  32515. if shift >= 64 {
  32516. return ErrIntOverflowGenerated
  32517. }
  32518. if iNdEx >= l {
  32519. return io.ErrUnexpectedEOF
  32520. }
  32521. b := data[iNdEx]
  32522. iNdEx++
  32523. stringLen |= (uint64(b) & 0x7F) << shift
  32524. if b < 0x80 {
  32525. break
  32526. }
  32527. }
  32528. intStringLen := int(stringLen)
  32529. if intStringLen < 0 {
  32530. return ErrInvalidLengthGenerated
  32531. }
  32532. postIndex := iNdEx + intStringLen
  32533. if postIndex > l {
  32534. return io.ErrUnexpectedEOF
  32535. }
  32536. m.Resource = string(data[iNdEx:postIndex])
  32537. iNdEx = postIndex
  32538. case 3:
  32539. if wireType != 2 {
  32540. return fmt.Errorf("proto: wrong wireType = %d for field Divisor", wireType)
  32541. }
  32542. var msglen int
  32543. for shift := uint(0); ; shift += 7 {
  32544. if shift >= 64 {
  32545. return ErrIntOverflowGenerated
  32546. }
  32547. if iNdEx >= l {
  32548. return io.ErrUnexpectedEOF
  32549. }
  32550. b := data[iNdEx]
  32551. iNdEx++
  32552. msglen |= (int(b) & 0x7F) << shift
  32553. if b < 0x80 {
  32554. break
  32555. }
  32556. }
  32557. if msglen < 0 {
  32558. return ErrInvalidLengthGenerated
  32559. }
  32560. postIndex := iNdEx + msglen
  32561. if postIndex > l {
  32562. return io.ErrUnexpectedEOF
  32563. }
  32564. if err := m.Divisor.Unmarshal(data[iNdEx:postIndex]); err != nil {
  32565. return err
  32566. }
  32567. iNdEx = postIndex
  32568. default:
  32569. iNdEx = preIndex
  32570. skippy, err := skipGenerated(data[iNdEx:])
  32571. if err != nil {
  32572. return err
  32573. }
  32574. if skippy < 0 {
  32575. return ErrInvalidLengthGenerated
  32576. }
  32577. if (iNdEx + skippy) > l {
  32578. return io.ErrUnexpectedEOF
  32579. }
  32580. iNdEx += skippy
  32581. }
  32582. }
  32583. if iNdEx > l {
  32584. return io.ErrUnexpectedEOF
  32585. }
  32586. return nil
  32587. }
  32588. func (m *ResourceQuota) Unmarshal(data []byte) error {
  32589. l := len(data)
  32590. iNdEx := 0
  32591. for iNdEx < l {
  32592. preIndex := iNdEx
  32593. var wire uint64
  32594. for shift := uint(0); ; shift += 7 {
  32595. if shift >= 64 {
  32596. return ErrIntOverflowGenerated
  32597. }
  32598. if iNdEx >= l {
  32599. return io.ErrUnexpectedEOF
  32600. }
  32601. b := data[iNdEx]
  32602. iNdEx++
  32603. wire |= (uint64(b) & 0x7F) << shift
  32604. if b < 0x80 {
  32605. break
  32606. }
  32607. }
  32608. fieldNum := int32(wire >> 3)
  32609. wireType := int(wire & 0x7)
  32610. if wireType == 4 {
  32611. return fmt.Errorf("proto: ResourceQuota: wiretype end group for non-group")
  32612. }
  32613. if fieldNum <= 0 {
  32614. return fmt.Errorf("proto: ResourceQuota: illegal tag %d (wire type %d)", fieldNum, wire)
  32615. }
  32616. switch fieldNum {
  32617. case 1:
  32618. if wireType != 2 {
  32619. return fmt.Errorf("proto: wrong wireType = %d for field ObjectMeta", wireType)
  32620. }
  32621. var msglen int
  32622. for shift := uint(0); ; shift += 7 {
  32623. if shift >= 64 {
  32624. return ErrIntOverflowGenerated
  32625. }
  32626. if iNdEx >= l {
  32627. return io.ErrUnexpectedEOF
  32628. }
  32629. b := data[iNdEx]
  32630. iNdEx++
  32631. msglen |= (int(b) & 0x7F) << shift
  32632. if b < 0x80 {
  32633. break
  32634. }
  32635. }
  32636. if msglen < 0 {
  32637. return ErrInvalidLengthGenerated
  32638. }
  32639. postIndex := iNdEx + msglen
  32640. if postIndex > l {
  32641. return io.ErrUnexpectedEOF
  32642. }
  32643. if err := m.ObjectMeta.Unmarshal(data[iNdEx:postIndex]); err != nil {
  32644. return err
  32645. }
  32646. iNdEx = postIndex
  32647. case 2:
  32648. if wireType != 2 {
  32649. return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType)
  32650. }
  32651. var msglen int
  32652. for shift := uint(0); ; shift += 7 {
  32653. if shift >= 64 {
  32654. return ErrIntOverflowGenerated
  32655. }
  32656. if iNdEx >= l {
  32657. return io.ErrUnexpectedEOF
  32658. }
  32659. b := data[iNdEx]
  32660. iNdEx++
  32661. msglen |= (int(b) & 0x7F) << shift
  32662. if b < 0x80 {
  32663. break
  32664. }
  32665. }
  32666. if msglen < 0 {
  32667. return ErrInvalidLengthGenerated
  32668. }
  32669. postIndex := iNdEx + msglen
  32670. if postIndex > l {
  32671. return io.ErrUnexpectedEOF
  32672. }
  32673. if err := m.Spec.Unmarshal(data[iNdEx:postIndex]); err != nil {
  32674. return err
  32675. }
  32676. iNdEx = postIndex
  32677. case 3:
  32678. if wireType != 2 {
  32679. return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
  32680. }
  32681. var msglen int
  32682. for shift := uint(0); ; shift += 7 {
  32683. if shift >= 64 {
  32684. return ErrIntOverflowGenerated
  32685. }
  32686. if iNdEx >= l {
  32687. return io.ErrUnexpectedEOF
  32688. }
  32689. b := data[iNdEx]
  32690. iNdEx++
  32691. msglen |= (int(b) & 0x7F) << shift
  32692. if b < 0x80 {
  32693. break
  32694. }
  32695. }
  32696. if msglen < 0 {
  32697. return ErrInvalidLengthGenerated
  32698. }
  32699. postIndex := iNdEx + msglen
  32700. if postIndex > l {
  32701. return io.ErrUnexpectedEOF
  32702. }
  32703. if err := m.Status.Unmarshal(data[iNdEx:postIndex]); err != nil {
  32704. return err
  32705. }
  32706. iNdEx = postIndex
  32707. default:
  32708. iNdEx = preIndex
  32709. skippy, err := skipGenerated(data[iNdEx:])
  32710. if err != nil {
  32711. return err
  32712. }
  32713. if skippy < 0 {
  32714. return ErrInvalidLengthGenerated
  32715. }
  32716. if (iNdEx + skippy) > l {
  32717. return io.ErrUnexpectedEOF
  32718. }
  32719. iNdEx += skippy
  32720. }
  32721. }
  32722. if iNdEx > l {
  32723. return io.ErrUnexpectedEOF
  32724. }
  32725. return nil
  32726. }
  32727. func (m *ResourceQuotaList) Unmarshal(data []byte) error {
  32728. l := len(data)
  32729. iNdEx := 0
  32730. for iNdEx < l {
  32731. preIndex := iNdEx
  32732. var wire uint64
  32733. for shift := uint(0); ; shift += 7 {
  32734. if shift >= 64 {
  32735. return ErrIntOverflowGenerated
  32736. }
  32737. if iNdEx >= l {
  32738. return io.ErrUnexpectedEOF
  32739. }
  32740. b := data[iNdEx]
  32741. iNdEx++
  32742. wire |= (uint64(b) & 0x7F) << shift
  32743. if b < 0x80 {
  32744. break
  32745. }
  32746. }
  32747. fieldNum := int32(wire >> 3)
  32748. wireType := int(wire & 0x7)
  32749. if wireType == 4 {
  32750. return fmt.Errorf("proto: ResourceQuotaList: wiretype end group for non-group")
  32751. }
  32752. if fieldNum <= 0 {
  32753. return fmt.Errorf("proto: ResourceQuotaList: illegal tag %d (wire type %d)", fieldNum, wire)
  32754. }
  32755. switch fieldNum {
  32756. case 1:
  32757. if wireType != 2 {
  32758. return fmt.Errorf("proto: wrong wireType = %d for field ListMeta", wireType)
  32759. }
  32760. var msglen int
  32761. for shift := uint(0); ; shift += 7 {
  32762. if shift >= 64 {
  32763. return ErrIntOverflowGenerated
  32764. }
  32765. if iNdEx >= l {
  32766. return io.ErrUnexpectedEOF
  32767. }
  32768. b := data[iNdEx]
  32769. iNdEx++
  32770. msglen |= (int(b) & 0x7F) << shift
  32771. if b < 0x80 {
  32772. break
  32773. }
  32774. }
  32775. if msglen < 0 {
  32776. return ErrInvalidLengthGenerated
  32777. }
  32778. postIndex := iNdEx + msglen
  32779. if postIndex > l {
  32780. return io.ErrUnexpectedEOF
  32781. }
  32782. if err := m.ListMeta.Unmarshal(data[iNdEx:postIndex]); err != nil {
  32783. return err
  32784. }
  32785. iNdEx = postIndex
  32786. case 2:
  32787. if wireType != 2 {
  32788. return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType)
  32789. }
  32790. var msglen int
  32791. for shift := uint(0); ; shift += 7 {
  32792. if shift >= 64 {
  32793. return ErrIntOverflowGenerated
  32794. }
  32795. if iNdEx >= l {
  32796. return io.ErrUnexpectedEOF
  32797. }
  32798. b := data[iNdEx]
  32799. iNdEx++
  32800. msglen |= (int(b) & 0x7F) << shift
  32801. if b < 0x80 {
  32802. break
  32803. }
  32804. }
  32805. if msglen < 0 {
  32806. return ErrInvalidLengthGenerated
  32807. }
  32808. postIndex := iNdEx + msglen
  32809. if postIndex > l {
  32810. return io.ErrUnexpectedEOF
  32811. }
  32812. m.Items = append(m.Items, ResourceQuota{})
  32813. if err := m.Items[len(m.Items)-1].Unmarshal(data[iNdEx:postIndex]); err != nil {
  32814. return err
  32815. }
  32816. iNdEx = postIndex
  32817. default:
  32818. iNdEx = preIndex
  32819. skippy, err := skipGenerated(data[iNdEx:])
  32820. if err != nil {
  32821. return err
  32822. }
  32823. if skippy < 0 {
  32824. return ErrInvalidLengthGenerated
  32825. }
  32826. if (iNdEx + skippy) > l {
  32827. return io.ErrUnexpectedEOF
  32828. }
  32829. iNdEx += skippy
  32830. }
  32831. }
  32832. if iNdEx > l {
  32833. return io.ErrUnexpectedEOF
  32834. }
  32835. return nil
  32836. }
  32837. func (m *ResourceQuotaSpec) Unmarshal(data []byte) error {
  32838. l := len(data)
  32839. iNdEx := 0
  32840. for iNdEx < l {
  32841. preIndex := iNdEx
  32842. var wire uint64
  32843. for shift := uint(0); ; shift += 7 {
  32844. if shift >= 64 {
  32845. return ErrIntOverflowGenerated
  32846. }
  32847. if iNdEx >= l {
  32848. return io.ErrUnexpectedEOF
  32849. }
  32850. b := data[iNdEx]
  32851. iNdEx++
  32852. wire |= (uint64(b) & 0x7F) << shift
  32853. if b < 0x80 {
  32854. break
  32855. }
  32856. }
  32857. fieldNum := int32(wire >> 3)
  32858. wireType := int(wire & 0x7)
  32859. if wireType == 4 {
  32860. return fmt.Errorf("proto: ResourceQuotaSpec: wiretype end group for non-group")
  32861. }
  32862. if fieldNum <= 0 {
  32863. return fmt.Errorf("proto: ResourceQuotaSpec: illegal tag %d (wire type %d)", fieldNum, wire)
  32864. }
  32865. switch fieldNum {
  32866. case 1:
  32867. if wireType != 2 {
  32868. return fmt.Errorf("proto: wrong wireType = %d for field Hard", wireType)
  32869. }
  32870. var msglen int
  32871. for shift := uint(0); ; shift += 7 {
  32872. if shift >= 64 {
  32873. return ErrIntOverflowGenerated
  32874. }
  32875. if iNdEx >= l {
  32876. return io.ErrUnexpectedEOF
  32877. }
  32878. b := data[iNdEx]
  32879. iNdEx++
  32880. msglen |= (int(b) & 0x7F) << shift
  32881. if b < 0x80 {
  32882. break
  32883. }
  32884. }
  32885. if msglen < 0 {
  32886. return ErrInvalidLengthGenerated
  32887. }
  32888. postIndex := iNdEx + msglen
  32889. if postIndex > l {
  32890. return io.ErrUnexpectedEOF
  32891. }
  32892. var keykey uint64
  32893. for shift := uint(0); ; shift += 7 {
  32894. if shift >= 64 {
  32895. return ErrIntOverflowGenerated
  32896. }
  32897. if iNdEx >= l {
  32898. return io.ErrUnexpectedEOF
  32899. }
  32900. b := data[iNdEx]
  32901. iNdEx++
  32902. keykey |= (uint64(b) & 0x7F) << shift
  32903. if b < 0x80 {
  32904. break
  32905. }
  32906. }
  32907. var stringLenmapkey uint64
  32908. for shift := uint(0); ; shift += 7 {
  32909. if shift >= 64 {
  32910. return ErrIntOverflowGenerated
  32911. }
  32912. if iNdEx >= l {
  32913. return io.ErrUnexpectedEOF
  32914. }
  32915. b := data[iNdEx]
  32916. iNdEx++
  32917. stringLenmapkey |= (uint64(b) & 0x7F) << shift
  32918. if b < 0x80 {
  32919. break
  32920. }
  32921. }
  32922. intStringLenmapkey := int(stringLenmapkey)
  32923. if intStringLenmapkey < 0 {
  32924. return ErrInvalidLengthGenerated
  32925. }
  32926. postStringIndexmapkey := iNdEx + intStringLenmapkey
  32927. if postStringIndexmapkey > l {
  32928. return io.ErrUnexpectedEOF
  32929. }
  32930. mapkey := ResourceName(data[iNdEx:postStringIndexmapkey])
  32931. iNdEx = postStringIndexmapkey
  32932. var valuekey uint64
  32933. for shift := uint(0); ; shift += 7 {
  32934. if shift >= 64 {
  32935. return ErrIntOverflowGenerated
  32936. }
  32937. if iNdEx >= l {
  32938. return io.ErrUnexpectedEOF
  32939. }
  32940. b := data[iNdEx]
  32941. iNdEx++
  32942. valuekey |= (uint64(b) & 0x7F) << shift
  32943. if b < 0x80 {
  32944. break
  32945. }
  32946. }
  32947. var mapmsglen int
  32948. for shift := uint(0); ; shift += 7 {
  32949. if shift >= 64 {
  32950. return ErrIntOverflowGenerated
  32951. }
  32952. if iNdEx >= l {
  32953. return io.ErrUnexpectedEOF
  32954. }
  32955. b := data[iNdEx]
  32956. iNdEx++
  32957. mapmsglen |= (int(b) & 0x7F) << shift
  32958. if b < 0x80 {
  32959. break
  32960. }
  32961. }
  32962. if mapmsglen < 0 {
  32963. return ErrInvalidLengthGenerated
  32964. }
  32965. postmsgIndex := iNdEx + mapmsglen
  32966. if mapmsglen < 0 {
  32967. return ErrInvalidLengthGenerated
  32968. }
  32969. if postmsgIndex > l {
  32970. return io.ErrUnexpectedEOF
  32971. }
  32972. mapvalue := &k8s_io_kubernetes_pkg_api_resource.Quantity{}
  32973. if err := mapvalue.Unmarshal(data[iNdEx:postmsgIndex]); err != nil {
  32974. return err
  32975. }
  32976. iNdEx = postmsgIndex
  32977. if m.Hard == nil {
  32978. m.Hard = make(ResourceList)
  32979. }
  32980. m.Hard[ResourceName(mapkey)] = *mapvalue
  32981. iNdEx = postIndex
  32982. case 2:
  32983. if wireType != 2 {
  32984. return fmt.Errorf("proto: wrong wireType = %d for field Scopes", wireType)
  32985. }
  32986. var stringLen uint64
  32987. for shift := uint(0); ; shift += 7 {
  32988. if shift >= 64 {
  32989. return ErrIntOverflowGenerated
  32990. }
  32991. if iNdEx >= l {
  32992. return io.ErrUnexpectedEOF
  32993. }
  32994. b := data[iNdEx]
  32995. iNdEx++
  32996. stringLen |= (uint64(b) & 0x7F) << shift
  32997. if b < 0x80 {
  32998. break
  32999. }
  33000. }
  33001. intStringLen := int(stringLen)
  33002. if intStringLen < 0 {
  33003. return ErrInvalidLengthGenerated
  33004. }
  33005. postIndex := iNdEx + intStringLen
  33006. if postIndex > l {
  33007. return io.ErrUnexpectedEOF
  33008. }
  33009. m.Scopes = append(m.Scopes, ResourceQuotaScope(data[iNdEx:postIndex]))
  33010. iNdEx = postIndex
  33011. default:
  33012. iNdEx = preIndex
  33013. skippy, err := skipGenerated(data[iNdEx:])
  33014. if err != nil {
  33015. return err
  33016. }
  33017. if skippy < 0 {
  33018. return ErrInvalidLengthGenerated
  33019. }
  33020. if (iNdEx + skippy) > l {
  33021. return io.ErrUnexpectedEOF
  33022. }
  33023. iNdEx += skippy
  33024. }
  33025. }
  33026. if iNdEx > l {
  33027. return io.ErrUnexpectedEOF
  33028. }
  33029. return nil
  33030. }
  33031. func (m *ResourceQuotaStatus) Unmarshal(data []byte) error {
  33032. l := len(data)
  33033. iNdEx := 0
  33034. for iNdEx < l {
  33035. preIndex := iNdEx
  33036. var wire uint64
  33037. for shift := uint(0); ; shift += 7 {
  33038. if shift >= 64 {
  33039. return ErrIntOverflowGenerated
  33040. }
  33041. if iNdEx >= l {
  33042. return io.ErrUnexpectedEOF
  33043. }
  33044. b := data[iNdEx]
  33045. iNdEx++
  33046. wire |= (uint64(b) & 0x7F) << shift
  33047. if b < 0x80 {
  33048. break
  33049. }
  33050. }
  33051. fieldNum := int32(wire >> 3)
  33052. wireType := int(wire & 0x7)
  33053. if wireType == 4 {
  33054. return fmt.Errorf("proto: ResourceQuotaStatus: wiretype end group for non-group")
  33055. }
  33056. if fieldNum <= 0 {
  33057. return fmt.Errorf("proto: ResourceQuotaStatus: illegal tag %d (wire type %d)", fieldNum, wire)
  33058. }
  33059. switch fieldNum {
  33060. case 1:
  33061. if wireType != 2 {
  33062. return fmt.Errorf("proto: wrong wireType = %d for field Hard", wireType)
  33063. }
  33064. var msglen int
  33065. for shift := uint(0); ; shift += 7 {
  33066. if shift >= 64 {
  33067. return ErrIntOverflowGenerated
  33068. }
  33069. if iNdEx >= l {
  33070. return io.ErrUnexpectedEOF
  33071. }
  33072. b := data[iNdEx]
  33073. iNdEx++
  33074. msglen |= (int(b) & 0x7F) << shift
  33075. if b < 0x80 {
  33076. break
  33077. }
  33078. }
  33079. if msglen < 0 {
  33080. return ErrInvalidLengthGenerated
  33081. }
  33082. postIndex := iNdEx + msglen
  33083. if postIndex > l {
  33084. return io.ErrUnexpectedEOF
  33085. }
  33086. var keykey uint64
  33087. for shift := uint(0); ; shift += 7 {
  33088. if shift >= 64 {
  33089. return ErrIntOverflowGenerated
  33090. }
  33091. if iNdEx >= l {
  33092. return io.ErrUnexpectedEOF
  33093. }
  33094. b := data[iNdEx]
  33095. iNdEx++
  33096. keykey |= (uint64(b) & 0x7F) << shift
  33097. if b < 0x80 {
  33098. break
  33099. }
  33100. }
  33101. var stringLenmapkey uint64
  33102. for shift := uint(0); ; shift += 7 {
  33103. if shift >= 64 {
  33104. return ErrIntOverflowGenerated
  33105. }
  33106. if iNdEx >= l {
  33107. return io.ErrUnexpectedEOF
  33108. }
  33109. b := data[iNdEx]
  33110. iNdEx++
  33111. stringLenmapkey |= (uint64(b) & 0x7F) << shift
  33112. if b < 0x80 {
  33113. break
  33114. }
  33115. }
  33116. intStringLenmapkey := int(stringLenmapkey)
  33117. if intStringLenmapkey < 0 {
  33118. return ErrInvalidLengthGenerated
  33119. }
  33120. postStringIndexmapkey := iNdEx + intStringLenmapkey
  33121. if postStringIndexmapkey > l {
  33122. return io.ErrUnexpectedEOF
  33123. }
  33124. mapkey := ResourceName(data[iNdEx:postStringIndexmapkey])
  33125. iNdEx = postStringIndexmapkey
  33126. var valuekey uint64
  33127. for shift := uint(0); ; shift += 7 {
  33128. if shift >= 64 {
  33129. return ErrIntOverflowGenerated
  33130. }
  33131. if iNdEx >= l {
  33132. return io.ErrUnexpectedEOF
  33133. }
  33134. b := data[iNdEx]
  33135. iNdEx++
  33136. valuekey |= (uint64(b) & 0x7F) << shift
  33137. if b < 0x80 {
  33138. break
  33139. }
  33140. }
  33141. var mapmsglen int
  33142. for shift := uint(0); ; shift += 7 {
  33143. if shift >= 64 {
  33144. return ErrIntOverflowGenerated
  33145. }
  33146. if iNdEx >= l {
  33147. return io.ErrUnexpectedEOF
  33148. }
  33149. b := data[iNdEx]
  33150. iNdEx++
  33151. mapmsglen |= (int(b) & 0x7F) << shift
  33152. if b < 0x80 {
  33153. break
  33154. }
  33155. }
  33156. if mapmsglen < 0 {
  33157. return ErrInvalidLengthGenerated
  33158. }
  33159. postmsgIndex := iNdEx + mapmsglen
  33160. if mapmsglen < 0 {
  33161. return ErrInvalidLengthGenerated
  33162. }
  33163. if postmsgIndex > l {
  33164. return io.ErrUnexpectedEOF
  33165. }
  33166. mapvalue := &k8s_io_kubernetes_pkg_api_resource.Quantity{}
  33167. if err := mapvalue.Unmarshal(data[iNdEx:postmsgIndex]); err != nil {
  33168. return err
  33169. }
  33170. iNdEx = postmsgIndex
  33171. if m.Hard == nil {
  33172. m.Hard = make(ResourceList)
  33173. }
  33174. m.Hard[ResourceName(mapkey)] = *mapvalue
  33175. iNdEx = postIndex
  33176. case 2:
  33177. if wireType != 2 {
  33178. return fmt.Errorf("proto: wrong wireType = %d for field Used", wireType)
  33179. }
  33180. var msglen int
  33181. for shift := uint(0); ; shift += 7 {
  33182. if shift >= 64 {
  33183. return ErrIntOverflowGenerated
  33184. }
  33185. if iNdEx >= l {
  33186. return io.ErrUnexpectedEOF
  33187. }
  33188. b := data[iNdEx]
  33189. iNdEx++
  33190. msglen |= (int(b) & 0x7F) << shift
  33191. if b < 0x80 {
  33192. break
  33193. }
  33194. }
  33195. if msglen < 0 {
  33196. return ErrInvalidLengthGenerated
  33197. }
  33198. postIndex := iNdEx + msglen
  33199. if postIndex > l {
  33200. return io.ErrUnexpectedEOF
  33201. }
  33202. var keykey uint64
  33203. for shift := uint(0); ; shift += 7 {
  33204. if shift >= 64 {
  33205. return ErrIntOverflowGenerated
  33206. }
  33207. if iNdEx >= l {
  33208. return io.ErrUnexpectedEOF
  33209. }
  33210. b := data[iNdEx]
  33211. iNdEx++
  33212. keykey |= (uint64(b) & 0x7F) << shift
  33213. if b < 0x80 {
  33214. break
  33215. }
  33216. }
  33217. var stringLenmapkey uint64
  33218. for shift := uint(0); ; shift += 7 {
  33219. if shift >= 64 {
  33220. return ErrIntOverflowGenerated
  33221. }
  33222. if iNdEx >= l {
  33223. return io.ErrUnexpectedEOF
  33224. }
  33225. b := data[iNdEx]
  33226. iNdEx++
  33227. stringLenmapkey |= (uint64(b) & 0x7F) << shift
  33228. if b < 0x80 {
  33229. break
  33230. }
  33231. }
  33232. intStringLenmapkey := int(stringLenmapkey)
  33233. if intStringLenmapkey < 0 {
  33234. return ErrInvalidLengthGenerated
  33235. }
  33236. postStringIndexmapkey := iNdEx + intStringLenmapkey
  33237. if postStringIndexmapkey > l {
  33238. return io.ErrUnexpectedEOF
  33239. }
  33240. mapkey := ResourceName(data[iNdEx:postStringIndexmapkey])
  33241. iNdEx = postStringIndexmapkey
  33242. var valuekey uint64
  33243. for shift := uint(0); ; shift += 7 {
  33244. if shift >= 64 {
  33245. return ErrIntOverflowGenerated
  33246. }
  33247. if iNdEx >= l {
  33248. return io.ErrUnexpectedEOF
  33249. }
  33250. b := data[iNdEx]
  33251. iNdEx++
  33252. valuekey |= (uint64(b) & 0x7F) << shift
  33253. if b < 0x80 {
  33254. break
  33255. }
  33256. }
  33257. var mapmsglen int
  33258. for shift := uint(0); ; shift += 7 {
  33259. if shift >= 64 {
  33260. return ErrIntOverflowGenerated
  33261. }
  33262. if iNdEx >= l {
  33263. return io.ErrUnexpectedEOF
  33264. }
  33265. b := data[iNdEx]
  33266. iNdEx++
  33267. mapmsglen |= (int(b) & 0x7F) << shift
  33268. if b < 0x80 {
  33269. break
  33270. }
  33271. }
  33272. if mapmsglen < 0 {
  33273. return ErrInvalidLengthGenerated
  33274. }
  33275. postmsgIndex := iNdEx + mapmsglen
  33276. if mapmsglen < 0 {
  33277. return ErrInvalidLengthGenerated
  33278. }
  33279. if postmsgIndex > l {
  33280. return io.ErrUnexpectedEOF
  33281. }
  33282. mapvalue := &k8s_io_kubernetes_pkg_api_resource.Quantity{}
  33283. if err := mapvalue.Unmarshal(data[iNdEx:postmsgIndex]); err != nil {
  33284. return err
  33285. }
  33286. iNdEx = postmsgIndex
  33287. if m.Used == nil {
  33288. m.Used = make(ResourceList)
  33289. }
  33290. m.Used[ResourceName(mapkey)] = *mapvalue
  33291. iNdEx = postIndex
  33292. default:
  33293. iNdEx = preIndex
  33294. skippy, err := skipGenerated(data[iNdEx:])
  33295. if err != nil {
  33296. return err
  33297. }
  33298. if skippy < 0 {
  33299. return ErrInvalidLengthGenerated
  33300. }
  33301. if (iNdEx + skippy) > l {
  33302. return io.ErrUnexpectedEOF
  33303. }
  33304. iNdEx += skippy
  33305. }
  33306. }
  33307. if iNdEx > l {
  33308. return io.ErrUnexpectedEOF
  33309. }
  33310. return nil
  33311. }
  33312. func (m *ResourceRequirements) Unmarshal(data []byte) error {
  33313. l := len(data)
  33314. iNdEx := 0
  33315. for iNdEx < l {
  33316. preIndex := iNdEx
  33317. var wire uint64
  33318. for shift := uint(0); ; shift += 7 {
  33319. if shift >= 64 {
  33320. return ErrIntOverflowGenerated
  33321. }
  33322. if iNdEx >= l {
  33323. return io.ErrUnexpectedEOF
  33324. }
  33325. b := data[iNdEx]
  33326. iNdEx++
  33327. wire |= (uint64(b) & 0x7F) << shift
  33328. if b < 0x80 {
  33329. break
  33330. }
  33331. }
  33332. fieldNum := int32(wire >> 3)
  33333. wireType := int(wire & 0x7)
  33334. if wireType == 4 {
  33335. return fmt.Errorf("proto: ResourceRequirements: wiretype end group for non-group")
  33336. }
  33337. if fieldNum <= 0 {
  33338. return fmt.Errorf("proto: ResourceRequirements: illegal tag %d (wire type %d)", fieldNum, wire)
  33339. }
  33340. switch fieldNum {
  33341. case 1:
  33342. if wireType != 2 {
  33343. return fmt.Errorf("proto: wrong wireType = %d for field Limits", wireType)
  33344. }
  33345. var msglen int
  33346. for shift := uint(0); ; shift += 7 {
  33347. if shift >= 64 {
  33348. return ErrIntOverflowGenerated
  33349. }
  33350. if iNdEx >= l {
  33351. return io.ErrUnexpectedEOF
  33352. }
  33353. b := data[iNdEx]
  33354. iNdEx++
  33355. msglen |= (int(b) & 0x7F) << shift
  33356. if b < 0x80 {
  33357. break
  33358. }
  33359. }
  33360. if msglen < 0 {
  33361. return ErrInvalidLengthGenerated
  33362. }
  33363. postIndex := iNdEx + msglen
  33364. if postIndex > l {
  33365. return io.ErrUnexpectedEOF
  33366. }
  33367. var keykey uint64
  33368. for shift := uint(0); ; shift += 7 {
  33369. if shift >= 64 {
  33370. return ErrIntOverflowGenerated
  33371. }
  33372. if iNdEx >= l {
  33373. return io.ErrUnexpectedEOF
  33374. }
  33375. b := data[iNdEx]
  33376. iNdEx++
  33377. keykey |= (uint64(b) & 0x7F) << shift
  33378. if b < 0x80 {
  33379. break
  33380. }
  33381. }
  33382. var stringLenmapkey uint64
  33383. for shift := uint(0); ; shift += 7 {
  33384. if shift >= 64 {
  33385. return ErrIntOverflowGenerated
  33386. }
  33387. if iNdEx >= l {
  33388. return io.ErrUnexpectedEOF
  33389. }
  33390. b := data[iNdEx]
  33391. iNdEx++
  33392. stringLenmapkey |= (uint64(b) & 0x7F) << shift
  33393. if b < 0x80 {
  33394. break
  33395. }
  33396. }
  33397. intStringLenmapkey := int(stringLenmapkey)
  33398. if intStringLenmapkey < 0 {
  33399. return ErrInvalidLengthGenerated
  33400. }
  33401. postStringIndexmapkey := iNdEx + intStringLenmapkey
  33402. if postStringIndexmapkey > l {
  33403. return io.ErrUnexpectedEOF
  33404. }
  33405. mapkey := ResourceName(data[iNdEx:postStringIndexmapkey])
  33406. iNdEx = postStringIndexmapkey
  33407. var valuekey uint64
  33408. for shift := uint(0); ; shift += 7 {
  33409. if shift >= 64 {
  33410. return ErrIntOverflowGenerated
  33411. }
  33412. if iNdEx >= l {
  33413. return io.ErrUnexpectedEOF
  33414. }
  33415. b := data[iNdEx]
  33416. iNdEx++
  33417. valuekey |= (uint64(b) & 0x7F) << shift
  33418. if b < 0x80 {
  33419. break
  33420. }
  33421. }
  33422. var mapmsglen int
  33423. for shift := uint(0); ; shift += 7 {
  33424. if shift >= 64 {
  33425. return ErrIntOverflowGenerated
  33426. }
  33427. if iNdEx >= l {
  33428. return io.ErrUnexpectedEOF
  33429. }
  33430. b := data[iNdEx]
  33431. iNdEx++
  33432. mapmsglen |= (int(b) & 0x7F) << shift
  33433. if b < 0x80 {
  33434. break
  33435. }
  33436. }
  33437. if mapmsglen < 0 {
  33438. return ErrInvalidLengthGenerated
  33439. }
  33440. postmsgIndex := iNdEx + mapmsglen
  33441. if mapmsglen < 0 {
  33442. return ErrInvalidLengthGenerated
  33443. }
  33444. if postmsgIndex > l {
  33445. return io.ErrUnexpectedEOF
  33446. }
  33447. mapvalue := &k8s_io_kubernetes_pkg_api_resource.Quantity{}
  33448. if err := mapvalue.Unmarshal(data[iNdEx:postmsgIndex]); err != nil {
  33449. return err
  33450. }
  33451. iNdEx = postmsgIndex
  33452. if m.Limits == nil {
  33453. m.Limits = make(ResourceList)
  33454. }
  33455. m.Limits[ResourceName(mapkey)] = *mapvalue
  33456. iNdEx = postIndex
  33457. case 2:
  33458. if wireType != 2 {
  33459. return fmt.Errorf("proto: wrong wireType = %d for field Requests", wireType)
  33460. }
  33461. var msglen int
  33462. for shift := uint(0); ; shift += 7 {
  33463. if shift >= 64 {
  33464. return ErrIntOverflowGenerated
  33465. }
  33466. if iNdEx >= l {
  33467. return io.ErrUnexpectedEOF
  33468. }
  33469. b := data[iNdEx]
  33470. iNdEx++
  33471. msglen |= (int(b) & 0x7F) << shift
  33472. if b < 0x80 {
  33473. break
  33474. }
  33475. }
  33476. if msglen < 0 {
  33477. return ErrInvalidLengthGenerated
  33478. }
  33479. postIndex := iNdEx + msglen
  33480. if postIndex > l {
  33481. return io.ErrUnexpectedEOF
  33482. }
  33483. var keykey uint64
  33484. for shift := uint(0); ; shift += 7 {
  33485. if shift >= 64 {
  33486. return ErrIntOverflowGenerated
  33487. }
  33488. if iNdEx >= l {
  33489. return io.ErrUnexpectedEOF
  33490. }
  33491. b := data[iNdEx]
  33492. iNdEx++
  33493. keykey |= (uint64(b) & 0x7F) << shift
  33494. if b < 0x80 {
  33495. break
  33496. }
  33497. }
  33498. var stringLenmapkey uint64
  33499. for shift := uint(0); ; shift += 7 {
  33500. if shift >= 64 {
  33501. return ErrIntOverflowGenerated
  33502. }
  33503. if iNdEx >= l {
  33504. return io.ErrUnexpectedEOF
  33505. }
  33506. b := data[iNdEx]
  33507. iNdEx++
  33508. stringLenmapkey |= (uint64(b) & 0x7F) << shift
  33509. if b < 0x80 {
  33510. break
  33511. }
  33512. }
  33513. intStringLenmapkey := int(stringLenmapkey)
  33514. if intStringLenmapkey < 0 {
  33515. return ErrInvalidLengthGenerated
  33516. }
  33517. postStringIndexmapkey := iNdEx + intStringLenmapkey
  33518. if postStringIndexmapkey > l {
  33519. return io.ErrUnexpectedEOF
  33520. }
  33521. mapkey := ResourceName(data[iNdEx:postStringIndexmapkey])
  33522. iNdEx = postStringIndexmapkey
  33523. var valuekey uint64
  33524. for shift := uint(0); ; shift += 7 {
  33525. if shift >= 64 {
  33526. return ErrIntOverflowGenerated
  33527. }
  33528. if iNdEx >= l {
  33529. return io.ErrUnexpectedEOF
  33530. }
  33531. b := data[iNdEx]
  33532. iNdEx++
  33533. valuekey |= (uint64(b) & 0x7F) << shift
  33534. if b < 0x80 {
  33535. break
  33536. }
  33537. }
  33538. var mapmsglen int
  33539. for shift := uint(0); ; shift += 7 {
  33540. if shift >= 64 {
  33541. return ErrIntOverflowGenerated
  33542. }
  33543. if iNdEx >= l {
  33544. return io.ErrUnexpectedEOF
  33545. }
  33546. b := data[iNdEx]
  33547. iNdEx++
  33548. mapmsglen |= (int(b) & 0x7F) << shift
  33549. if b < 0x80 {
  33550. break
  33551. }
  33552. }
  33553. if mapmsglen < 0 {
  33554. return ErrInvalidLengthGenerated
  33555. }
  33556. postmsgIndex := iNdEx + mapmsglen
  33557. if mapmsglen < 0 {
  33558. return ErrInvalidLengthGenerated
  33559. }
  33560. if postmsgIndex > l {
  33561. return io.ErrUnexpectedEOF
  33562. }
  33563. mapvalue := &k8s_io_kubernetes_pkg_api_resource.Quantity{}
  33564. if err := mapvalue.Unmarshal(data[iNdEx:postmsgIndex]); err != nil {
  33565. return err
  33566. }
  33567. iNdEx = postmsgIndex
  33568. if m.Requests == nil {
  33569. m.Requests = make(ResourceList)
  33570. }
  33571. m.Requests[ResourceName(mapkey)] = *mapvalue
  33572. iNdEx = postIndex
  33573. default:
  33574. iNdEx = preIndex
  33575. skippy, err := skipGenerated(data[iNdEx:])
  33576. if err != nil {
  33577. return err
  33578. }
  33579. if skippy < 0 {
  33580. return ErrInvalidLengthGenerated
  33581. }
  33582. if (iNdEx + skippy) > l {
  33583. return io.ErrUnexpectedEOF
  33584. }
  33585. iNdEx += skippy
  33586. }
  33587. }
  33588. if iNdEx > l {
  33589. return io.ErrUnexpectedEOF
  33590. }
  33591. return nil
  33592. }
  33593. func (m *SELinuxOptions) Unmarshal(data []byte) error {
  33594. l := len(data)
  33595. iNdEx := 0
  33596. for iNdEx < l {
  33597. preIndex := iNdEx
  33598. var wire uint64
  33599. for shift := uint(0); ; shift += 7 {
  33600. if shift >= 64 {
  33601. return ErrIntOverflowGenerated
  33602. }
  33603. if iNdEx >= l {
  33604. return io.ErrUnexpectedEOF
  33605. }
  33606. b := data[iNdEx]
  33607. iNdEx++
  33608. wire |= (uint64(b) & 0x7F) << shift
  33609. if b < 0x80 {
  33610. break
  33611. }
  33612. }
  33613. fieldNum := int32(wire >> 3)
  33614. wireType := int(wire & 0x7)
  33615. if wireType == 4 {
  33616. return fmt.Errorf("proto: SELinuxOptions: wiretype end group for non-group")
  33617. }
  33618. if fieldNum <= 0 {
  33619. return fmt.Errorf("proto: SELinuxOptions: illegal tag %d (wire type %d)", fieldNum, wire)
  33620. }
  33621. switch fieldNum {
  33622. case 1:
  33623. if wireType != 2 {
  33624. return fmt.Errorf("proto: wrong wireType = %d for field User", wireType)
  33625. }
  33626. var stringLen uint64
  33627. for shift := uint(0); ; shift += 7 {
  33628. if shift >= 64 {
  33629. return ErrIntOverflowGenerated
  33630. }
  33631. if iNdEx >= l {
  33632. return io.ErrUnexpectedEOF
  33633. }
  33634. b := data[iNdEx]
  33635. iNdEx++
  33636. stringLen |= (uint64(b) & 0x7F) << shift
  33637. if b < 0x80 {
  33638. break
  33639. }
  33640. }
  33641. intStringLen := int(stringLen)
  33642. if intStringLen < 0 {
  33643. return ErrInvalidLengthGenerated
  33644. }
  33645. postIndex := iNdEx + intStringLen
  33646. if postIndex > l {
  33647. return io.ErrUnexpectedEOF
  33648. }
  33649. m.User = string(data[iNdEx:postIndex])
  33650. iNdEx = postIndex
  33651. case 2:
  33652. if wireType != 2 {
  33653. return fmt.Errorf("proto: wrong wireType = %d for field Role", wireType)
  33654. }
  33655. var stringLen uint64
  33656. for shift := uint(0); ; shift += 7 {
  33657. if shift >= 64 {
  33658. return ErrIntOverflowGenerated
  33659. }
  33660. if iNdEx >= l {
  33661. return io.ErrUnexpectedEOF
  33662. }
  33663. b := data[iNdEx]
  33664. iNdEx++
  33665. stringLen |= (uint64(b) & 0x7F) << shift
  33666. if b < 0x80 {
  33667. break
  33668. }
  33669. }
  33670. intStringLen := int(stringLen)
  33671. if intStringLen < 0 {
  33672. return ErrInvalidLengthGenerated
  33673. }
  33674. postIndex := iNdEx + intStringLen
  33675. if postIndex > l {
  33676. return io.ErrUnexpectedEOF
  33677. }
  33678. m.Role = string(data[iNdEx:postIndex])
  33679. iNdEx = postIndex
  33680. case 3:
  33681. if wireType != 2 {
  33682. return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType)
  33683. }
  33684. var stringLen uint64
  33685. for shift := uint(0); ; shift += 7 {
  33686. if shift >= 64 {
  33687. return ErrIntOverflowGenerated
  33688. }
  33689. if iNdEx >= l {
  33690. return io.ErrUnexpectedEOF
  33691. }
  33692. b := data[iNdEx]
  33693. iNdEx++
  33694. stringLen |= (uint64(b) & 0x7F) << shift
  33695. if b < 0x80 {
  33696. break
  33697. }
  33698. }
  33699. intStringLen := int(stringLen)
  33700. if intStringLen < 0 {
  33701. return ErrInvalidLengthGenerated
  33702. }
  33703. postIndex := iNdEx + intStringLen
  33704. if postIndex > l {
  33705. return io.ErrUnexpectedEOF
  33706. }
  33707. m.Type = string(data[iNdEx:postIndex])
  33708. iNdEx = postIndex
  33709. case 4:
  33710. if wireType != 2 {
  33711. return fmt.Errorf("proto: wrong wireType = %d for field Level", wireType)
  33712. }
  33713. var stringLen uint64
  33714. for shift := uint(0); ; shift += 7 {
  33715. if shift >= 64 {
  33716. return ErrIntOverflowGenerated
  33717. }
  33718. if iNdEx >= l {
  33719. return io.ErrUnexpectedEOF
  33720. }
  33721. b := data[iNdEx]
  33722. iNdEx++
  33723. stringLen |= (uint64(b) & 0x7F) << shift
  33724. if b < 0x80 {
  33725. break
  33726. }
  33727. }
  33728. intStringLen := int(stringLen)
  33729. if intStringLen < 0 {
  33730. return ErrInvalidLengthGenerated
  33731. }
  33732. postIndex := iNdEx + intStringLen
  33733. if postIndex > l {
  33734. return io.ErrUnexpectedEOF
  33735. }
  33736. m.Level = string(data[iNdEx:postIndex])
  33737. iNdEx = postIndex
  33738. default:
  33739. iNdEx = preIndex
  33740. skippy, err := skipGenerated(data[iNdEx:])
  33741. if err != nil {
  33742. return err
  33743. }
  33744. if skippy < 0 {
  33745. return ErrInvalidLengthGenerated
  33746. }
  33747. if (iNdEx + skippy) > l {
  33748. return io.ErrUnexpectedEOF
  33749. }
  33750. iNdEx += skippy
  33751. }
  33752. }
  33753. if iNdEx > l {
  33754. return io.ErrUnexpectedEOF
  33755. }
  33756. return nil
  33757. }
  33758. func (m *Secret) Unmarshal(data []byte) error {
  33759. l := len(data)
  33760. iNdEx := 0
  33761. for iNdEx < l {
  33762. preIndex := iNdEx
  33763. var wire uint64
  33764. for shift := uint(0); ; shift += 7 {
  33765. if shift >= 64 {
  33766. return ErrIntOverflowGenerated
  33767. }
  33768. if iNdEx >= l {
  33769. return io.ErrUnexpectedEOF
  33770. }
  33771. b := data[iNdEx]
  33772. iNdEx++
  33773. wire |= (uint64(b) & 0x7F) << shift
  33774. if b < 0x80 {
  33775. break
  33776. }
  33777. }
  33778. fieldNum := int32(wire >> 3)
  33779. wireType := int(wire & 0x7)
  33780. if wireType == 4 {
  33781. return fmt.Errorf("proto: Secret: wiretype end group for non-group")
  33782. }
  33783. if fieldNum <= 0 {
  33784. return fmt.Errorf("proto: Secret: illegal tag %d (wire type %d)", fieldNum, wire)
  33785. }
  33786. switch fieldNum {
  33787. case 1:
  33788. if wireType != 2 {
  33789. return fmt.Errorf("proto: wrong wireType = %d for field ObjectMeta", wireType)
  33790. }
  33791. var msglen int
  33792. for shift := uint(0); ; shift += 7 {
  33793. if shift >= 64 {
  33794. return ErrIntOverflowGenerated
  33795. }
  33796. if iNdEx >= l {
  33797. return io.ErrUnexpectedEOF
  33798. }
  33799. b := data[iNdEx]
  33800. iNdEx++
  33801. msglen |= (int(b) & 0x7F) << shift
  33802. if b < 0x80 {
  33803. break
  33804. }
  33805. }
  33806. if msglen < 0 {
  33807. return ErrInvalidLengthGenerated
  33808. }
  33809. postIndex := iNdEx + msglen
  33810. if postIndex > l {
  33811. return io.ErrUnexpectedEOF
  33812. }
  33813. if err := m.ObjectMeta.Unmarshal(data[iNdEx:postIndex]); err != nil {
  33814. return err
  33815. }
  33816. iNdEx = postIndex
  33817. case 2:
  33818. if wireType != 2 {
  33819. return fmt.Errorf("proto: wrong wireType = %d for field Data", wireType)
  33820. }
  33821. var msglen int
  33822. for shift := uint(0); ; shift += 7 {
  33823. if shift >= 64 {
  33824. return ErrIntOverflowGenerated
  33825. }
  33826. if iNdEx >= l {
  33827. return io.ErrUnexpectedEOF
  33828. }
  33829. b := data[iNdEx]
  33830. iNdEx++
  33831. msglen |= (int(b) & 0x7F) << shift
  33832. if b < 0x80 {
  33833. break
  33834. }
  33835. }
  33836. if msglen < 0 {
  33837. return ErrInvalidLengthGenerated
  33838. }
  33839. postIndex := iNdEx + msglen
  33840. if postIndex > l {
  33841. return io.ErrUnexpectedEOF
  33842. }
  33843. var keykey uint64
  33844. for shift := uint(0); ; shift += 7 {
  33845. if shift >= 64 {
  33846. return ErrIntOverflowGenerated
  33847. }
  33848. if iNdEx >= l {
  33849. return io.ErrUnexpectedEOF
  33850. }
  33851. b := data[iNdEx]
  33852. iNdEx++
  33853. keykey |= (uint64(b) & 0x7F) << shift
  33854. if b < 0x80 {
  33855. break
  33856. }
  33857. }
  33858. var stringLenmapkey uint64
  33859. for shift := uint(0); ; shift += 7 {
  33860. if shift >= 64 {
  33861. return ErrIntOverflowGenerated
  33862. }
  33863. if iNdEx >= l {
  33864. return io.ErrUnexpectedEOF
  33865. }
  33866. b := data[iNdEx]
  33867. iNdEx++
  33868. stringLenmapkey |= (uint64(b) & 0x7F) << shift
  33869. if b < 0x80 {
  33870. break
  33871. }
  33872. }
  33873. intStringLenmapkey := int(stringLenmapkey)
  33874. if intStringLenmapkey < 0 {
  33875. return ErrInvalidLengthGenerated
  33876. }
  33877. postStringIndexmapkey := iNdEx + intStringLenmapkey
  33878. if postStringIndexmapkey > l {
  33879. return io.ErrUnexpectedEOF
  33880. }
  33881. mapkey := string(data[iNdEx:postStringIndexmapkey])
  33882. iNdEx = postStringIndexmapkey
  33883. var valuekey uint64
  33884. for shift := uint(0); ; shift += 7 {
  33885. if shift >= 64 {
  33886. return ErrIntOverflowGenerated
  33887. }
  33888. if iNdEx >= l {
  33889. return io.ErrUnexpectedEOF
  33890. }
  33891. b := data[iNdEx]
  33892. iNdEx++
  33893. valuekey |= (uint64(b) & 0x7F) << shift
  33894. if b < 0x80 {
  33895. break
  33896. }
  33897. }
  33898. var mapbyteLen uint64
  33899. for shift := uint(0); ; shift += 7 {
  33900. if shift >= 64 {
  33901. return ErrIntOverflowGenerated
  33902. }
  33903. if iNdEx >= l {
  33904. return io.ErrUnexpectedEOF
  33905. }
  33906. b := data[iNdEx]
  33907. iNdEx++
  33908. mapbyteLen |= (uint64(b) & 0x7F) << shift
  33909. if b < 0x80 {
  33910. break
  33911. }
  33912. }
  33913. intMapbyteLen := int(mapbyteLen)
  33914. if intMapbyteLen < 0 {
  33915. return ErrInvalidLengthGenerated
  33916. }
  33917. postbytesIndex := iNdEx + intMapbyteLen
  33918. if postbytesIndex > l {
  33919. return io.ErrUnexpectedEOF
  33920. }
  33921. mapvalue := make([]byte, mapbyteLen)
  33922. copy(mapvalue, data[iNdEx:postbytesIndex])
  33923. iNdEx = postbytesIndex
  33924. if m.Data == nil {
  33925. m.Data = make(map[string][]byte)
  33926. }
  33927. m.Data[mapkey] = mapvalue
  33928. iNdEx = postIndex
  33929. case 3:
  33930. if wireType != 2 {
  33931. return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType)
  33932. }
  33933. var stringLen uint64
  33934. for shift := uint(0); ; shift += 7 {
  33935. if shift >= 64 {
  33936. return ErrIntOverflowGenerated
  33937. }
  33938. if iNdEx >= l {
  33939. return io.ErrUnexpectedEOF
  33940. }
  33941. b := data[iNdEx]
  33942. iNdEx++
  33943. stringLen |= (uint64(b) & 0x7F) << shift
  33944. if b < 0x80 {
  33945. break
  33946. }
  33947. }
  33948. intStringLen := int(stringLen)
  33949. if intStringLen < 0 {
  33950. return ErrInvalidLengthGenerated
  33951. }
  33952. postIndex := iNdEx + intStringLen
  33953. if postIndex > l {
  33954. return io.ErrUnexpectedEOF
  33955. }
  33956. m.Type = SecretType(data[iNdEx:postIndex])
  33957. iNdEx = postIndex
  33958. case 4:
  33959. if wireType != 2 {
  33960. return fmt.Errorf("proto: wrong wireType = %d for field StringData", wireType)
  33961. }
  33962. var msglen int
  33963. for shift := uint(0); ; shift += 7 {
  33964. if shift >= 64 {
  33965. return ErrIntOverflowGenerated
  33966. }
  33967. if iNdEx >= l {
  33968. return io.ErrUnexpectedEOF
  33969. }
  33970. b := data[iNdEx]
  33971. iNdEx++
  33972. msglen |= (int(b) & 0x7F) << shift
  33973. if b < 0x80 {
  33974. break
  33975. }
  33976. }
  33977. if msglen < 0 {
  33978. return ErrInvalidLengthGenerated
  33979. }
  33980. postIndex := iNdEx + msglen
  33981. if postIndex > l {
  33982. return io.ErrUnexpectedEOF
  33983. }
  33984. var keykey uint64
  33985. for shift := uint(0); ; shift += 7 {
  33986. if shift >= 64 {
  33987. return ErrIntOverflowGenerated
  33988. }
  33989. if iNdEx >= l {
  33990. return io.ErrUnexpectedEOF
  33991. }
  33992. b := data[iNdEx]
  33993. iNdEx++
  33994. keykey |= (uint64(b) & 0x7F) << shift
  33995. if b < 0x80 {
  33996. break
  33997. }
  33998. }
  33999. var stringLenmapkey uint64
  34000. for shift := uint(0); ; shift += 7 {
  34001. if shift >= 64 {
  34002. return ErrIntOverflowGenerated
  34003. }
  34004. if iNdEx >= l {
  34005. return io.ErrUnexpectedEOF
  34006. }
  34007. b := data[iNdEx]
  34008. iNdEx++
  34009. stringLenmapkey |= (uint64(b) & 0x7F) << shift
  34010. if b < 0x80 {
  34011. break
  34012. }
  34013. }
  34014. intStringLenmapkey := int(stringLenmapkey)
  34015. if intStringLenmapkey < 0 {
  34016. return ErrInvalidLengthGenerated
  34017. }
  34018. postStringIndexmapkey := iNdEx + intStringLenmapkey
  34019. if postStringIndexmapkey > l {
  34020. return io.ErrUnexpectedEOF
  34021. }
  34022. mapkey := string(data[iNdEx:postStringIndexmapkey])
  34023. iNdEx = postStringIndexmapkey
  34024. var valuekey uint64
  34025. for shift := uint(0); ; shift += 7 {
  34026. if shift >= 64 {
  34027. return ErrIntOverflowGenerated
  34028. }
  34029. if iNdEx >= l {
  34030. return io.ErrUnexpectedEOF
  34031. }
  34032. b := data[iNdEx]
  34033. iNdEx++
  34034. valuekey |= (uint64(b) & 0x7F) << shift
  34035. if b < 0x80 {
  34036. break
  34037. }
  34038. }
  34039. var stringLenmapvalue uint64
  34040. for shift := uint(0); ; shift += 7 {
  34041. if shift >= 64 {
  34042. return ErrIntOverflowGenerated
  34043. }
  34044. if iNdEx >= l {
  34045. return io.ErrUnexpectedEOF
  34046. }
  34047. b := data[iNdEx]
  34048. iNdEx++
  34049. stringLenmapvalue |= (uint64(b) & 0x7F) << shift
  34050. if b < 0x80 {
  34051. break
  34052. }
  34053. }
  34054. intStringLenmapvalue := int(stringLenmapvalue)
  34055. if intStringLenmapvalue < 0 {
  34056. return ErrInvalidLengthGenerated
  34057. }
  34058. postStringIndexmapvalue := iNdEx + intStringLenmapvalue
  34059. if postStringIndexmapvalue > l {
  34060. return io.ErrUnexpectedEOF
  34061. }
  34062. mapvalue := string(data[iNdEx:postStringIndexmapvalue])
  34063. iNdEx = postStringIndexmapvalue
  34064. if m.StringData == nil {
  34065. m.StringData = make(map[string]string)
  34066. }
  34067. m.StringData[mapkey] = mapvalue
  34068. iNdEx = postIndex
  34069. default:
  34070. iNdEx = preIndex
  34071. skippy, err := skipGenerated(data[iNdEx:])
  34072. if err != nil {
  34073. return err
  34074. }
  34075. if skippy < 0 {
  34076. return ErrInvalidLengthGenerated
  34077. }
  34078. if (iNdEx + skippy) > l {
  34079. return io.ErrUnexpectedEOF
  34080. }
  34081. iNdEx += skippy
  34082. }
  34083. }
  34084. if iNdEx > l {
  34085. return io.ErrUnexpectedEOF
  34086. }
  34087. return nil
  34088. }
  34089. func (m *SecretKeySelector) Unmarshal(data []byte) error {
  34090. l := len(data)
  34091. iNdEx := 0
  34092. for iNdEx < l {
  34093. preIndex := iNdEx
  34094. var wire uint64
  34095. for shift := uint(0); ; shift += 7 {
  34096. if shift >= 64 {
  34097. return ErrIntOverflowGenerated
  34098. }
  34099. if iNdEx >= l {
  34100. return io.ErrUnexpectedEOF
  34101. }
  34102. b := data[iNdEx]
  34103. iNdEx++
  34104. wire |= (uint64(b) & 0x7F) << shift
  34105. if b < 0x80 {
  34106. break
  34107. }
  34108. }
  34109. fieldNum := int32(wire >> 3)
  34110. wireType := int(wire & 0x7)
  34111. if wireType == 4 {
  34112. return fmt.Errorf("proto: SecretKeySelector: wiretype end group for non-group")
  34113. }
  34114. if fieldNum <= 0 {
  34115. return fmt.Errorf("proto: SecretKeySelector: illegal tag %d (wire type %d)", fieldNum, wire)
  34116. }
  34117. switch fieldNum {
  34118. case 1:
  34119. if wireType != 2 {
  34120. return fmt.Errorf("proto: wrong wireType = %d for field LocalObjectReference", wireType)
  34121. }
  34122. var msglen int
  34123. for shift := uint(0); ; shift += 7 {
  34124. if shift >= 64 {
  34125. return ErrIntOverflowGenerated
  34126. }
  34127. if iNdEx >= l {
  34128. return io.ErrUnexpectedEOF
  34129. }
  34130. b := data[iNdEx]
  34131. iNdEx++
  34132. msglen |= (int(b) & 0x7F) << shift
  34133. if b < 0x80 {
  34134. break
  34135. }
  34136. }
  34137. if msglen < 0 {
  34138. return ErrInvalidLengthGenerated
  34139. }
  34140. postIndex := iNdEx + msglen
  34141. if postIndex > l {
  34142. return io.ErrUnexpectedEOF
  34143. }
  34144. if err := m.LocalObjectReference.Unmarshal(data[iNdEx:postIndex]); err != nil {
  34145. return err
  34146. }
  34147. iNdEx = postIndex
  34148. case 2:
  34149. if wireType != 2 {
  34150. return fmt.Errorf("proto: wrong wireType = %d for field Key", wireType)
  34151. }
  34152. var stringLen uint64
  34153. for shift := uint(0); ; shift += 7 {
  34154. if shift >= 64 {
  34155. return ErrIntOverflowGenerated
  34156. }
  34157. if iNdEx >= l {
  34158. return io.ErrUnexpectedEOF
  34159. }
  34160. b := data[iNdEx]
  34161. iNdEx++
  34162. stringLen |= (uint64(b) & 0x7F) << shift
  34163. if b < 0x80 {
  34164. break
  34165. }
  34166. }
  34167. intStringLen := int(stringLen)
  34168. if intStringLen < 0 {
  34169. return ErrInvalidLengthGenerated
  34170. }
  34171. postIndex := iNdEx + intStringLen
  34172. if postIndex > l {
  34173. return io.ErrUnexpectedEOF
  34174. }
  34175. m.Key = string(data[iNdEx:postIndex])
  34176. iNdEx = postIndex
  34177. default:
  34178. iNdEx = preIndex
  34179. skippy, err := skipGenerated(data[iNdEx:])
  34180. if err != nil {
  34181. return err
  34182. }
  34183. if skippy < 0 {
  34184. return ErrInvalidLengthGenerated
  34185. }
  34186. if (iNdEx + skippy) > l {
  34187. return io.ErrUnexpectedEOF
  34188. }
  34189. iNdEx += skippy
  34190. }
  34191. }
  34192. if iNdEx > l {
  34193. return io.ErrUnexpectedEOF
  34194. }
  34195. return nil
  34196. }
  34197. func (m *SecretList) Unmarshal(data []byte) error {
  34198. l := len(data)
  34199. iNdEx := 0
  34200. for iNdEx < l {
  34201. preIndex := iNdEx
  34202. var wire uint64
  34203. for shift := uint(0); ; shift += 7 {
  34204. if shift >= 64 {
  34205. return ErrIntOverflowGenerated
  34206. }
  34207. if iNdEx >= l {
  34208. return io.ErrUnexpectedEOF
  34209. }
  34210. b := data[iNdEx]
  34211. iNdEx++
  34212. wire |= (uint64(b) & 0x7F) << shift
  34213. if b < 0x80 {
  34214. break
  34215. }
  34216. }
  34217. fieldNum := int32(wire >> 3)
  34218. wireType := int(wire & 0x7)
  34219. if wireType == 4 {
  34220. return fmt.Errorf("proto: SecretList: wiretype end group for non-group")
  34221. }
  34222. if fieldNum <= 0 {
  34223. return fmt.Errorf("proto: SecretList: illegal tag %d (wire type %d)", fieldNum, wire)
  34224. }
  34225. switch fieldNum {
  34226. case 1:
  34227. if wireType != 2 {
  34228. return fmt.Errorf("proto: wrong wireType = %d for field ListMeta", wireType)
  34229. }
  34230. var msglen int
  34231. for shift := uint(0); ; shift += 7 {
  34232. if shift >= 64 {
  34233. return ErrIntOverflowGenerated
  34234. }
  34235. if iNdEx >= l {
  34236. return io.ErrUnexpectedEOF
  34237. }
  34238. b := data[iNdEx]
  34239. iNdEx++
  34240. msglen |= (int(b) & 0x7F) << shift
  34241. if b < 0x80 {
  34242. break
  34243. }
  34244. }
  34245. if msglen < 0 {
  34246. return ErrInvalidLengthGenerated
  34247. }
  34248. postIndex := iNdEx + msglen
  34249. if postIndex > l {
  34250. return io.ErrUnexpectedEOF
  34251. }
  34252. if err := m.ListMeta.Unmarshal(data[iNdEx:postIndex]); err != nil {
  34253. return err
  34254. }
  34255. iNdEx = postIndex
  34256. case 2:
  34257. if wireType != 2 {
  34258. return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType)
  34259. }
  34260. var msglen int
  34261. for shift := uint(0); ; shift += 7 {
  34262. if shift >= 64 {
  34263. return ErrIntOverflowGenerated
  34264. }
  34265. if iNdEx >= l {
  34266. return io.ErrUnexpectedEOF
  34267. }
  34268. b := data[iNdEx]
  34269. iNdEx++
  34270. msglen |= (int(b) & 0x7F) << shift
  34271. if b < 0x80 {
  34272. break
  34273. }
  34274. }
  34275. if msglen < 0 {
  34276. return ErrInvalidLengthGenerated
  34277. }
  34278. postIndex := iNdEx + msglen
  34279. if postIndex > l {
  34280. return io.ErrUnexpectedEOF
  34281. }
  34282. m.Items = append(m.Items, Secret{})
  34283. if err := m.Items[len(m.Items)-1].Unmarshal(data[iNdEx:postIndex]); err != nil {
  34284. return err
  34285. }
  34286. iNdEx = postIndex
  34287. default:
  34288. iNdEx = preIndex
  34289. skippy, err := skipGenerated(data[iNdEx:])
  34290. if err != nil {
  34291. return err
  34292. }
  34293. if skippy < 0 {
  34294. return ErrInvalidLengthGenerated
  34295. }
  34296. if (iNdEx + skippy) > l {
  34297. return io.ErrUnexpectedEOF
  34298. }
  34299. iNdEx += skippy
  34300. }
  34301. }
  34302. if iNdEx > l {
  34303. return io.ErrUnexpectedEOF
  34304. }
  34305. return nil
  34306. }
  34307. func (m *SecretVolumeSource) Unmarshal(data []byte) error {
  34308. l := len(data)
  34309. iNdEx := 0
  34310. for iNdEx < l {
  34311. preIndex := iNdEx
  34312. var wire uint64
  34313. for shift := uint(0); ; shift += 7 {
  34314. if shift >= 64 {
  34315. return ErrIntOverflowGenerated
  34316. }
  34317. if iNdEx >= l {
  34318. return io.ErrUnexpectedEOF
  34319. }
  34320. b := data[iNdEx]
  34321. iNdEx++
  34322. wire |= (uint64(b) & 0x7F) << shift
  34323. if b < 0x80 {
  34324. break
  34325. }
  34326. }
  34327. fieldNum := int32(wire >> 3)
  34328. wireType := int(wire & 0x7)
  34329. if wireType == 4 {
  34330. return fmt.Errorf("proto: SecretVolumeSource: wiretype end group for non-group")
  34331. }
  34332. if fieldNum <= 0 {
  34333. return fmt.Errorf("proto: SecretVolumeSource: illegal tag %d (wire type %d)", fieldNum, wire)
  34334. }
  34335. switch fieldNum {
  34336. case 1:
  34337. if wireType != 2 {
  34338. return fmt.Errorf("proto: wrong wireType = %d for field SecretName", wireType)
  34339. }
  34340. var stringLen uint64
  34341. for shift := uint(0); ; shift += 7 {
  34342. if shift >= 64 {
  34343. return ErrIntOverflowGenerated
  34344. }
  34345. if iNdEx >= l {
  34346. return io.ErrUnexpectedEOF
  34347. }
  34348. b := data[iNdEx]
  34349. iNdEx++
  34350. stringLen |= (uint64(b) & 0x7F) << shift
  34351. if b < 0x80 {
  34352. break
  34353. }
  34354. }
  34355. intStringLen := int(stringLen)
  34356. if intStringLen < 0 {
  34357. return ErrInvalidLengthGenerated
  34358. }
  34359. postIndex := iNdEx + intStringLen
  34360. if postIndex > l {
  34361. return io.ErrUnexpectedEOF
  34362. }
  34363. m.SecretName = string(data[iNdEx:postIndex])
  34364. iNdEx = postIndex
  34365. case 2:
  34366. if wireType != 2 {
  34367. return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType)
  34368. }
  34369. var msglen int
  34370. for shift := uint(0); ; shift += 7 {
  34371. if shift >= 64 {
  34372. return ErrIntOverflowGenerated
  34373. }
  34374. if iNdEx >= l {
  34375. return io.ErrUnexpectedEOF
  34376. }
  34377. b := data[iNdEx]
  34378. iNdEx++
  34379. msglen |= (int(b) & 0x7F) << shift
  34380. if b < 0x80 {
  34381. break
  34382. }
  34383. }
  34384. if msglen < 0 {
  34385. return ErrInvalidLengthGenerated
  34386. }
  34387. postIndex := iNdEx + msglen
  34388. if postIndex > l {
  34389. return io.ErrUnexpectedEOF
  34390. }
  34391. m.Items = append(m.Items, KeyToPath{})
  34392. if err := m.Items[len(m.Items)-1].Unmarshal(data[iNdEx:postIndex]); err != nil {
  34393. return err
  34394. }
  34395. iNdEx = postIndex
  34396. case 3:
  34397. if wireType != 0 {
  34398. return fmt.Errorf("proto: wrong wireType = %d for field DefaultMode", wireType)
  34399. }
  34400. var v int32
  34401. for shift := uint(0); ; shift += 7 {
  34402. if shift >= 64 {
  34403. return ErrIntOverflowGenerated
  34404. }
  34405. if iNdEx >= l {
  34406. return io.ErrUnexpectedEOF
  34407. }
  34408. b := data[iNdEx]
  34409. iNdEx++
  34410. v |= (int32(b) & 0x7F) << shift
  34411. if b < 0x80 {
  34412. break
  34413. }
  34414. }
  34415. m.DefaultMode = &v
  34416. default:
  34417. iNdEx = preIndex
  34418. skippy, err := skipGenerated(data[iNdEx:])
  34419. if err != nil {
  34420. return err
  34421. }
  34422. if skippy < 0 {
  34423. return ErrInvalidLengthGenerated
  34424. }
  34425. if (iNdEx + skippy) > l {
  34426. return io.ErrUnexpectedEOF
  34427. }
  34428. iNdEx += skippy
  34429. }
  34430. }
  34431. if iNdEx > l {
  34432. return io.ErrUnexpectedEOF
  34433. }
  34434. return nil
  34435. }
  34436. func (m *SecurityContext) Unmarshal(data []byte) error {
  34437. l := len(data)
  34438. iNdEx := 0
  34439. for iNdEx < l {
  34440. preIndex := iNdEx
  34441. var wire uint64
  34442. for shift := uint(0); ; shift += 7 {
  34443. if shift >= 64 {
  34444. return ErrIntOverflowGenerated
  34445. }
  34446. if iNdEx >= l {
  34447. return io.ErrUnexpectedEOF
  34448. }
  34449. b := data[iNdEx]
  34450. iNdEx++
  34451. wire |= (uint64(b) & 0x7F) << shift
  34452. if b < 0x80 {
  34453. break
  34454. }
  34455. }
  34456. fieldNum := int32(wire >> 3)
  34457. wireType := int(wire & 0x7)
  34458. if wireType == 4 {
  34459. return fmt.Errorf("proto: SecurityContext: wiretype end group for non-group")
  34460. }
  34461. if fieldNum <= 0 {
  34462. return fmt.Errorf("proto: SecurityContext: illegal tag %d (wire type %d)", fieldNum, wire)
  34463. }
  34464. switch fieldNum {
  34465. case 1:
  34466. if wireType != 2 {
  34467. return fmt.Errorf("proto: wrong wireType = %d for field Capabilities", wireType)
  34468. }
  34469. var msglen int
  34470. for shift := uint(0); ; shift += 7 {
  34471. if shift >= 64 {
  34472. return ErrIntOverflowGenerated
  34473. }
  34474. if iNdEx >= l {
  34475. return io.ErrUnexpectedEOF
  34476. }
  34477. b := data[iNdEx]
  34478. iNdEx++
  34479. msglen |= (int(b) & 0x7F) << shift
  34480. if b < 0x80 {
  34481. break
  34482. }
  34483. }
  34484. if msglen < 0 {
  34485. return ErrInvalidLengthGenerated
  34486. }
  34487. postIndex := iNdEx + msglen
  34488. if postIndex > l {
  34489. return io.ErrUnexpectedEOF
  34490. }
  34491. if m.Capabilities == nil {
  34492. m.Capabilities = &Capabilities{}
  34493. }
  34494. if err := m.Capabilities.Unmarshal(data[iNdEx:postIndex]); err != nil {
  34495. return err
  34496. }
  34497. iNdEx = postIndex
  34498. case 2:
  34499. if wireType != 0 {
  34500. return fmt.Errorf("proto: wrong wireType = %d for field Privileged", wireType)
  34501. }
  34502. var v int
  34503. for shift := uint(0); ; shift += 7 {
  34504. if shift >= 64 {
  34505. return ErrIntOverflowGenerated
  34506. }
  34507. if iNdEx >= l {
  34508. return io.ErrUnexpectedEOF
  34509. }
  34510. b := data[iNdEx]
  34511. iNdEx++
  34512. v |= (int(b) & 0x7F) << shift
  34513. if b < 0x80 {
  34514. break
  34515. }
  34516. }
  34517. b := bool(v != 0)
  34518. m.Privileged = &b
  34519. case 3:
  34520. if wireType != 2 {
  34521. return fmt.Errorf("proto: wrong wireType = %d for field SELinuxOptions", wireType)
  34522. }
  34523. var msglen int
  34524. for shift := uint(0); ; shift += 7 {
  34525. if shift >= 64 {
  34526. return ErrIntOverflowGenerated
  34527. }
  34528. if iNdEx >= l {
  34529. return io.ErrUnexpectedEOF
  34530. }
  34531. b := data[iNdEx]
  34532. iNdEx++
  34533. msglen |= (int(b) & 0x7F) << shift
  34534. if b < 0x80 {
  34535. break
  34536. }
  34537. }
  34538. if msglen < 0 {
  34539. return ErrInvalidLengthGenerated
  34540. }
  34541. postIndex := iNdEx + msglen
  34542. if postIndex > l {
  34543. return io.ErrUnexpectedEOF
  34544. }
  34545. if m.SELinuxOptions == nil {
  34546. m.SELinuxOptions = &SELinuxOptions{}
  34547. }
  34548. if err := m.SELinuxOptions.Unmarshal(data[iNdEx:postIndex]); err != nil {
  34549. return err
  34550. }
  34551. iNdEx = postIndex
  34552. case 4:
  34553. if wireType != 0 {
  34554. return fmt.Errorf("proto: wrong wireType = %d for field RunAsUser", wireType)
  34555. }
  34556. var v int64
  34557. for shift := uint(0); ; shift += 7 {
  34558. if shift >= 64 {
  34559. return ErrIntOverflowGenerated
  34560. }
  34561. if iNdEx >= l {
  34562. return io.ErrUnexpectedEOF
  34563. }
  34564. b := data[iNdEx]
  34565. iNdEx++
  34566. v |= (int64(b) & 0x7F) << shift
  34567. if b < 0x80 {
  34568. break
  34569. }
  34570. }
  34571. m.RunAsUser = &v
  34572. case 5:
  34573. if wireType != 0 {
  34574. return fmt.Errorf("proto: wrong wireType = %d for field RunAsNonRoot", wireType)
  34575. }
  34576. var v int
  34577. for shift := uint(0); ; shift += 7 {
  34578. if shift >= 64 {
  34579. return ErrIntOverflowGenerated
  34580. }
  34581. if iNdEx >= l {
  34582. return io.ErrUnexpectedEOF
  34583. }
  34584. b := data[iNdEx]
  34585. iNdEx++
  34586. v |= (int(b) & 0x7F) << shift
  34587. if b < 0x80 {
  34588. break
  34589. }
  34590. }
  34591. b := bool(v != 0)
  34592. m.RunAsNonRoot = &b
  34593. case 6:
  34594. if wireType != 0 {
  34595. return fmt.Errorf("proto: wrong wireType = %d for field ReadOnlyRootFilesystem", wireType)
  34596. }
  34597. var v int
  34598. for shift := uint(0); ; shift += 7 {
  34599. if shift >= 64 {
  34600. return ErrIntOverflowGenerated
  34601. }
  34602. if iNdEx >= l {
  34603. return io.ErrUnexpectedEOF
  34604. }
  34605. b := data[iNdEx]
  34606. iNdEx++
  34607. v |= (int(b) & 0x7F) << shift
  34608. if b < 0x80 {
  34609. break
  34610. }
  34611. }
  34612. b := bool(v != 0)
  34613. m.ReadOnlyRootFilesystem = &b
  34614. default:
  34615. iNdEx = preIndex
  34616. skippy, err := skipGenerated(data[iNdEx:])
  34617. if err != nil {
  34618. return err
  34619. }
  34620. if skippy < 0 {
  34621. return ErrInvalidLengthGenerated
  34622. }
  34623. if (iNdEx + skippy) > l {
  34624. return io.ErrUnexpectedEOF
  34625. }
  34626. iNdEx += skippy
  34627. }
  34628. }
  34629. if iNdEx > l {
  34630. return io.ErrUnexpectedEOF
  34631. }
  34632. return nil
  34633. }
  34634. func (m *SerializedReference) Unmarshal(data []byte) error {
  34635. l := len(data)
  34636. iNdEx := 0
  34637. for iNdEx < l {
  34638. preIndex := iNdEx
  34639. var wire uint64
  34640. for shift := uint(0); ; shift += 7 {
  34641. if shift >= 64 {
  34642. return ErrIntOverflowGenerated
  34643. }
  34644. if iNdEx >= l {
  34645. return io.ErrUnexpectedEOF
  34646. }
  34647. b := data[iNdEx]
  34648. iNdEx++
  34649. wire |= (uint64(b) & 0x7F) << shift
  34650. if b < 0x80 {
  34651. break
  34652. }
  34653. }
  34654. fieldNum := int32(wire >> 3)
  34655. wireType := int(wire & 0x7)
  34656. if wireType == 4 {
  34657. return fmt.Errorf("proto: SerializedReference: wiretype end group for non-group")
  34658. }
  34659. if fieldNum <= 0 {
  34660. return fmt.Errorf("proto: SerializedReference: illegal tag %d (wire type %d)", fieldNum, wire)
  34661. }
  34662. switch fieldNum {
  34663. case 1:
  34664. if wireType != 2 {
  34665. return fmt.Errorf("proto: wrong wireType = %d for field Reference", wireType)
  34666. }
  34667. var msglen int
  34668. for shift := uint(0); ; shift += 7 {
  34669. if shift >= 64 {
  34670. return ErrIntOverflowGenerated
  34671. }
  34672. if iNdEx >= l {
  34673. return io.ErrUnexpectedEOF
  34674. }
  34675. b := data[iNdEx]
  34676. iNdEx++
  34677. msglen |= (int(b) & 0x7F) << shift
  34678. if b < 0x80 {
  34679. break
  34680. }
  34681. }
  34682. if msglen < 0 {
  34683. return ErrInvalidLengthGenerated
  34684. }
  34685. postIndex := iNdEx + msglen
  34686. if postIndex > l {
  34687. return io.ErrUnexpectedEOF
  34688. }
  34689. if err := m.Reference.Unmarshal(data[iNdEx:postIndex]); err != nil {
  34690. return err
  34691. }
  34692. iNdEx = postIndex
  34693. default:
  34694. iNdEx = preIndex
  34695. skippy, err := skipGenerated(data[iNdEx:])
  34696. if err != nil {
  34697. return err
  34698. }
  34699. if skippy < 0 {
  34700. return ErrInvalidLengthGenerated
  34701. }
  34702. if (iNdEx + skippy) > l {
  34703. return io.ErrUnexpectedEOF
  34704. }
  34705. iNdEx += skippy
  34706. }
  34707. }
  34708. if iNdEx > l {
  34709. return io.ErrUnexpectedEOF
  34710. }
  34711. return nil
  34712. }
  34713. func (m *Service) Unmarshal(data []byte) error {
  34714. l := len(data)
  34715. iNdEx := 0
  34716. for iNdEx < l {
  34717. preIndex := iNdEx
  34718. var wire uint64
  34719. for shift := uint(0); ; shift += 7 {
  34720. if shift >= 64 {
  34721. return ErrIntOverflowGenerated
  34722. }
  34723. if iNdEx >= l {
  34724. return io.ErrUnexpectedEOF
  34725. }
  34726. b := data[iNdEx]
  34727. iNdEx++
  34728. wire |= (uint64(b) & 0x7F) << shift
  34729. if b < 0x80 {
  34730. break
  34731. }
  34732. }
  34733. fieldNum := int32(wire >> 3)
  34734. wireType := int(wire & 0x7)
  34735. if wireType == 4 {
  34736. return fmt.Errorf("proto: Service: wiretype end group for non-group")
  34737. }
  34738. if fieldNum <= 0 {
  34739. return fmt.Errorf("proto: Service: illegal tag %d (wire type %d)", fieldNum, wire)
  34740. }
  34741. switch fieldNum {
  34742. case 1:
  34743. if wireType != 2 {
  34744. return fmt.Errorf("proto: wrong wireType = %d for field ObjectMeta", wireType)
  34745. }
  34746. var msglen int
  34747. for shift := uint(0); ; shift += 7 {
  34748. if shift >= 64 {
  34749. return ErrIntOverflowGenerated
  34750. }
  34751. if iNdEx >= l {
  34752. return io.ErrUnexpectedEOF
  34753. }
  34754. b := data[iNdEx]
  34755. iNdEx++
  34756. msglen |= (int(b) & 0x7F) << shift
  34757. if b < 0x80 {
  34758. break
  34759. }
  34760. }
  34761. if msglen < 0 {
  34762. return ErrInvalidLengthGenerated
  34763. }
  34764. postIndex := iNdEx + msglen
  34765. if postIndex > l {
  34766. return io.ErrUnexpectedEOF
  34767. }
  34768. if err := m.ObjectMeta.Unmarshal(data[iNdEx:postIndex]); err != nil {
  34769. return err
  34770. }
  34771. iNdEx = postIndex
  34772. case 2:
  34773. if wireType != 2 {
  34774. return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType)
  34775. }
  34776. var msglen int
  34777. for shift := uint(0); ; shift += 7 {
  34778. if shift >= 64 {
  34779. return ErrIntOverflowGenerated
  34780. }
  34781. if iNdEx >= l {
  34782. return io.ErrUnexpectedEOF
  34783. }
  34784. b := data[iNdEx]
  34785. iNdEx++
  34786. msglen |= (int(b) & 0x7F) << shift
  34787. if b < 0x80 {
  34788. break
  34789. }
  34790. }
  34791. if msglen < 0 {
  34792. return ErrInvalidLengthGenerated
  34793. }
  34794. postIndex := iNdEx + msglen
  34795. if postIndex > l {
  34796. return io.ErrUnexpectedEOF
  34797. }
  34798. if err := m.Spec.Unmarshal(data[iNdEx:postIndex]); err != nil {
  34799. return err
  34800. }
  34801. iNdEx = postIndex
  34802. case 3:
  34803. if wireType != 2 {
  34804. return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
  34805. }
  34806. var msglen int
  34807. for shift := uint(0); ; shift += 7 {
  34808. if shift >= 64 {
  34809. return ErrIntOverflowGenerated
  34810. }
  34811. if iNdEx >= l {
  34812. return io.ErrUnexpectedEOF
  34813. }
  34814. b := data[iNdEx]
  34815. iNdEx++
  34816. msglen |= (int(b) & 0x7F) << shift
  34817. if b < 0x80 {
  34818. break
  34819. }
  34820. }
  34821. if msglen < 0 {
  34822. return ErrInvalidLengthGenerated
  34823. }
  34824. postIndex := iNdEx + msglen
  34825. if postIndex > l {
  34826. return io.ErrUnexpectedEOF
  34827. }
  34828. if err := m.Status.Unmarshal(data[iNdEx:postIndex]); err != nil {
  34829. return err
  34830. }
  34831. iNdEx = postIndex
  34832. default:
  34833. iNdEx = preIndex
  34834. skippy, err := skipGenerated(data[iNdEx:])
  34835. if err != nil {
  34836. return err
  34837. }
  34838. if skippy < 0 {
  34839. return ErrInvalidLengthGenerated
  34840. }
  34841. if (iNdEx + skippy) > l {
  34842. return io.ErrUnexpectedEOF
  34843. }
  34844. iNdEx += skippy
  34845. }
  34846. }
  34847. if iNdEx > l {
  34848. return io.ErrUnexpectedEOF
  34849. }
  34850. return nil
  34851. }
  34852. func (m *ServiceAccount) Unmarshal(data []byte) error {
  34853. l := len(data)
  34854. iNdEx := 0
  34855. for iNdEx < l {
  34856. preIndex := iNdEx
  34857. var wire uint64
  34858. for shift := uint(0); ; shift += 7 {
  34859. if shift >= 64 {
  34860. return ErrIntOverflowGenerated
  34861. }
  34862. if iNdEx >= l {
  34863. return io.ErrUnexpectedEOF
  34864. }
  34865. b := data[iNdEx]
  34866. iNdEx++
  34867. wire |= (uint64(b) & 0x7F) << shift
  34868. if b < 0x80 {
  34869. break
  34870. }
  34871. }
  34872. fieldNum := int32(wire >> 3)
  34873. wireType := int(wire & 0x7)
  34874. if wireType == 4 {
  34875. return fmt.Errorf("proto: ServiceAccount: wiretype end group for non-group")
  34876. }
  34877. if fieldNum <= 0 {
  34878. return fmt.Errorf("proto: ServiceAccount: illegal tag %d (wire type %d)", fieldNum, wire)
  34879. }
  34880. switch fieldNum {
  34881. case 1:
  34882. if wireType != 2 {
  34883. return fmt.Errorf("proto: wrong wireType = %d for field ObjectMeta", wireType)
  34884. }
  34885. var msglen int
  34886. for shift := uint(0); ; shift += 7 {
  34887. if shift >= 64 {
  34888. return ErrIntOverflowGenerated
  34889. }
  34890. if iNdEx >= l {
  34891. return io.ErrUnexpectedEOF
  34892. }
  34893. b := data[iNdEx]
  34894. iNdEx++
  34895. msglen |= (int(b) & 0x7F) << shift
  34896. if b < 0x80 {
  34897. break
  34898. }
  34899. }
  34900. if msglen < 0 {
  34901. return ErrInvalidLengthGenerated
  34902. }
  34903. postIndex := iNdEx + msglen
  34904. if postIndex > l {
  34905. return io.ErrUnexpectedEOF
  34906. }
  34907. if err := m.ObjectMeta.Unmarshal(data[iNdEx:postIndex]); err != nil {
  34908. return err
  34909. }
  34910. iNdEx = postIndex
  34911. case 2:
  34912. if wireType != 2 {
  34913. return fmt.Errorf("proto: wrong wireType = %d for field Secrets", wireType)
  34914. }
  34915. var msglen int
  34916. for shift := uint(0); ; shift += 7 {
  34917. if shift >= 64 {
  34918. return ErrIntOverflowGenerated
  34919. }
  34920. if iNdEx >= l {
  34921. return io.ErrUnexpectedEOF
  34922. }
  34923. b := data[iNdEx]
  34924. iNdEx++
  34925. msglen |= (int(b) & 0x7F) << shift
  34926. if b < 0x80 {
  34927. break
  34928. }
  34929. }
  34930. if msglen < 0 {
  34931. return ErrInvalidLengthGenerated
  34932. }
  34933. postIndex := iNdEx + msglen
  34934. if postIndex > l {
  34935. return io.ErrUnexpectedEOF
  34936. }
  34937. m.Secrets = append(m.Secrets, ObjectReference{})
  34938. if err := m.Secrets[len(m.Secrets)-1].Unmarshal(data[iNdEx:postIndex]); err != nil {
  34939. return err
  34940. }
  34941. iNdEx = postIndex
  34942. case 3:
  34943. if wireType != 2 {
  34944. return fmt.Errorf("proto: wrong wireType = %d for field ImagePullSecrets", wireType)
  34945. }
  34946. var msglen int
  34947. for shift := uint(0); ; shift += 7 {
  34948. if shift >= 64 {
  34949. return ErrIntOverflowGenerated
  34950. }
  34951. if iNdEx >= l {
  34952. return io.ErrUnexpectedEOF
  34953. }
  34954. b := data[iNdEx]
  34955. iNdEx++
  34956. msglen |= (int(b) & 0x7F) << shift
  34957. if b < 0x80 {
  34958. break
  34959. }
  34960. }
  34961. if msglen < 0 {
  34962. return ErrInvalidLengthGenerated
  34963. }
  34964. postIndex := iNdEx + msglen
  34965. if postIndex > l {
  34966. return io.ErrUnexpectedEOF
  34967. }
  34968. m.ImagePullSecrets = append(m.ImagePullSecrets, LocalObjectReference{})
  34969. if err := m.ImagePullSecrets[len(m.ImagePullSecrets)-1].Unmarshal(data[iNdEx:postIndex]); err != nil {
  34970. return err
  34971. }
  34972. iNdEx = postIndex
  34973. default:
  34974. iNdEx = preIndex
  34975. skippy, err := skipGenerated(data[iNdEx:])
  34976. if err != nil {
  34977. return err
  34978. }
  34979. if skippy < 0 {
  34980. return ErrInvalidLengthGenerated
  34981. }
  34982. if (iNdEx + skippy) > l {
  34983. return io.ErrUnexpectedEOF
  34984. }
  34985. iNdEx += skippy
  34986. }
  34987. }
  34988. if iNdEx > l {
  34989. return io.ErrUnexpectedEOF
  34990. }
  34991. return nil
  34992. }
  34993. func (m *ServiceAccountList) Unmarshal(data []byte) error {
  34994. l := len(data)
  34995. iNdEx := 0
  34996. for iNdEx < l {
  34997. preIndex := iNdEx
  34998. var wire uint64
  34999. for shift := uint(0); ; shift += 7 {
  35000. if shift >= 64 {
  35001. return ErrIntOverflowGenerated
  35002. }
  35003. if iNdEx >= l {
  35004. return io.ErrUnexpectedEOF
  35005. }
  35006. b := data[iNdEx]
  35007. iNdEx++
  35008. wire |= (uint64(b) & 0x7F) << shift
  35009. if b < 0x80 {
  35010. break
  35011. }
  35012. }
  35013. fieldNum := int32(wire >> 3)
  35014. wireType := int(wire & 0x7)
  35015. if wireType == 4 {
  35016. return fmt.Errorf("proto: ServiceAccountList: wiretype end group for non-group")
  35017. }
  35018. if fieldNum <= 0 {
  35019. return fmt.Errorf("proto: ServiceAccountList: illegal tag %d (wire type %d)", fieldNum, wire)
  35020. }
  35021. switch fieldNum {
  35022. case 1:
  35023. if wireType != 2 {
  35024. return fmt.Errorf("proto: wrong wireType = %d for field ListMeta", wireType)
  35025. }
  35026. var msglen int
  35027. for shift := uint(0); ; shift += 7 {
  35028. if shift >= 64 {
  35029. return ErrIntOverflowGenerated
  35030. }
  35031. if iNdEx >= l {
  35032. return io.ErrUnexpectedEOF
  35033. }
  35034. b := data[iNdEx]
  35035. iNdEx++
  35036. msglen |= (int(b) & 0x7F) << shift
  35037. if b < 0x80 {
  35038. break
  35039. }
  35040. }
  35041. if msglen < 0 {
  35042. return ErrInvalidLengthGenerated
  35043. }
  35044. postIndex := iNdEx + msglen
  35045. if postIndex > l {
  35046. return io.ErrUnexpectedEOF
  35047. }
  35048. if err := m.ListMeta.Unmarshal(data[iNdEx:postIndex]); err != nil {
  35049. return err
  35050. }
  35051. iNdEx = postIndex
  35052. case 2:
  35053. if wireType != 2 {
  35054. return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType)
  35055. }
  35056. var msglen int
  35057. for shift := uint(0); ; shift += 7 {
  35058. if shift >= 64 {
  35059. return ErrIntOverflowGenerated
  35060. }
  35061. if iNdEx >= l {
  35062. return io.ErrUnexpectedEOF
  35063. }
  35064. b := data[iNdEx]
  35065. iNdEx++
  35066. msglen |= (int(b) & 0x7F) << shift
  35067. if b < 0x80 {
  35068. break
  35069. }
  35070. }
  35071. if msglen < 0 {
  35072. return ErrInvalidLengthGenerated
  35073. }
  35074. postIndex := iNdEx + msglen
  35075. if postIndex > l {
  35076. return io.ErrUnexpectedEOF
  35077. }
  35078. m.Items = append(m.Items, ServiceAccount{})
  35079. if err := m.Items[len(m.Items)-1].Unmarshal(data[iNdEx:postIndex]); err != nil {
  35080. return err
  35081. }
  35082. iNdEx = postIndex
  35083. default:
  35084. iNdEx = preIndex
  35085. skippy, err := skipGenerated(data[iNdEx:])
  35086. if err != nil {
  35087. return err
  35088. }
  35089. if skippy < 0 {
  35090. return ErrInvalidLengthGenerated
  35091. }
  35092. if (iNdEx + skippy) > l {
  35093. return io.ErrUnexpectedEOF
  35094. }
  35095. iNdEx += skippy
  35096. }
  35097. }
  35098. if iNdEx > l {
  35099. return io.ErrUnexpectedEOF
  35100. }
  35101. return nil
  35102. }
  35103. func (m *ServiceList) Unmarshal(data []byte) error {
  35104. l := len(data)
  35105. iNdEx := 0
  35106. for iNdEx < l {
  35107. preIndex := iNdEx
  35108. var wire uint64
  35109. for shift := uint(0); ; shift += 7 {
  35110. if shift >= 64 {
  35111. return ErrIntOverflowGenerated
  35112. }
  35113. if iNdEx >= l {
  35114. return io.ErrUnexpectedEOF
  35115. }
  35116. b := data[iNdEx]
  35117. iNdEx++
  35118. wire |= (uint64(b) & 0x7F) << shift
  35119. if b < 0x80 {
  35120. break
  35121. }
  35122. }
  35123. fieldNum := int32(wire >> 3)
  35124. wireType := int(wire & 0x7)
  35125. if wireType == 4 {
  35126. return fmt.Errorf("proto: ServiceList: wiretype end group for non-group")
  35127. }
  35128. if fieldNum <= 0 {
  35129. return fmt.Errorf("proto: ServiceList: illegal tag %d (wire type %d)", fieldNum, wire)
  35130. }
  35131. switch fieldNum {
  35132. case 1:
  35133. if wireType != 2 {
  35134. return fmt.Errorf("proto: wrong wireType = %d for field ListMeta", wireType)
  35135. }
  35136. var msglen int
  35137. for shift := uint(0); ; shift += 7 {
  35138. if shift >= 64 {
  35139. return ErrIntOverflowGenerated
  35140. }
  35141. if iNdEx >= l {
  35142. return io.ErrUnexpectedEOF
  35143. }
  35144. b := data[iNdEx]
  35145. iNdEx++
  35146. msglen |= (int(b) & 0x7F) << shift
  35147. if b < 0x80 {
  35148. break
  35149. }
  35150. }
  35151. if msglen < 0 {
  35152. return ErrInvalidLengthGenerated
  35153. }
  35154. postIndex := iNdEx + msglen
  35155. if postIndex > l {
  35156. return io.ErrUnexpectedEOF
  35157. }
  35158. if err := m.ListMeta.Unmarshal(data[iNdEx:postIndex]); err != nil {
  35159. return err
  35160. }
  35161. iNdEx = postIndex
  35162. case 2:
  35163. if wireType != 2 {
  35164. return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType)
  35165. }
  35166. var msglen int
  35167. for shift := uint(0); ; shift += 7 {
  35168. if shift >= 64 {
  35169. return ErrIntOverflowGenerated
  35170. }
  35171. if iNdEx >= l {
  35172. return io.ErrUnexpectedEOF
  35173. }
  35174. b := data[iNdEx]
  35175. iNdEx++
  35176. msglen |= (int(b) & 0x7F) << shift
  35177. if b < 0x80 {
  35178. break
  35179. }
  35180. }
  35181. if msglen < 0 {
  35182. return ErrInvalidLengthGenerated
  35183. }
  35184. postIndex := iNdEx + msglen
  35185. if postIndex > l {
  35186. return io.ErrUnexpectedEOF
  35187. }
  35188. m.Items = append(m.Items, Service{})
  35189. if err := m.Items[len(m.Items)-1].Unmarshal(data[iNdEx:postIndex]); err != nil {
  35190. return err
  35191. }
  35192. iNdEx = postIndex
  35193. default:
  35194. iNdEx = preIndex
  35195. skippy, err := skipGenerated(data[iNdEx:])
  35196. if err != nil {
  35197. return err
  35198. }
  35199. if skippy < 0 {
  35200. return ErrInvalidLengthGenerated
  35201. }
  35202. if (iNdEx + skippy) > l {
  35203. return io.ErrUnexpectedEOF
  35204. }
  35205. iNdEx += skippy
  35206. }
  35207. }
  35208. if iNdEx > l {
  35209. return io.ErrUnexpectedEOF
  35210. }
  35211. return nil
  35212. }
  35213. func (m *ServicePort) Unmarshal(data []byte) error {
  35214. l := len(data)
  35215. iNdEx := 0
  35216. for iNdEx < l {
  35217. preIndex := iNdEx
  35218. var wire uint64
  35219. for shift := uint(0); ; shift += 7 {
  35220. if shift >= 64 {
  35221. return ErrIntOverflowGenerated
  35222. }
  35223. if iNdEx >= l {
  35224. return io.ErrUnexpectedEOF
  35225. }
  35226. b := data[iNdEx]
  35227. iNdEx++
  35228. wire |= (uint64(b) & 0x7F) << shift
  35229. if b < 0x80 {
  35230. break
  35231. }
  35232. }
  35233. fieldNum := int32(wire >> 3)
  35234. wireType := int(wire & 0x7)
  35235. if wireType == 4 {
  35236. return fmt.Errorf("proto: ServicePort: wiretype end group for non-group")
  35237. }
  35238. if fieldNum <= 0 {
  35239. return fmt.Errorf("proto: ServicePort: illegal tag %d (wire type %d)", fieldNum, wire)
  35240. }
  35241. switch fieldNum {
  35242. case 1:
  35243. if wireType != 2 {
  35244. return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
  35245. }
  35246. var stringLen uint64
  35247. for shift := uint(0); ; shift += 7 {
  35248. if shift >= 64 {
  35249. return ErrIntOverflowGenerated
  35250. }
  35251. if iNdEx >= l {
  35252. return io.ErrUnexpectedEOF
  35253. }
  35254. b := data[iNdEx]
  35255. iNdEx++
  35256. stringLen |= (uint64(b) & 0x7F) << shift
  35257. if b < 0x80 {
  35258. break
  35259. }
  35260. }
  35261. intStringLen := int(stringLen)
  35262. if intStringLen < 0 {
  35263. return ErrInvalidLengthGenerated
  35264. }
  35265. postIndex := iNdEx + intStringLen
  35266. if postIndex > l {
  35267. return io.ErrUnexpectedEOF
  35268. }
  35269. m.Name = string(data[iNdEx:postIndex])
  35270. iNdEx = postIndex
  35271. case 2:
  35272. if wireType != 2 {
  35273. return fmt.Errorf("proto: wrong wireType = %d for field Protocol", wireType)
  35274. }
  35275. var stringLen uint64
  35276. for shift := uint(0); ; shift += 7 {
  35277. if shift >= 64 {
  35278. return ErrIntOverflowGenerated
  35279. }
  35280. if iNdEx >= l {
  35281. return io.ErrUnexpectedEOF
  35282. }
  35283. b := data[iNdEx]
  35284. iNdEx++
  35285. stringLen |= (uint64(b) & 0x7F) << shift
  35286. if b < 0x80 {
  35287. break
  35288. }
  35289. }
  35290. intStringLen := int(stringLen)
  35291. if intStringLen < 0 {
  35292. return ErrInvalidLengthGenerated
  35293. }
  35294. postIndex := iNdEx + intStringLen
  35295. if postIndex > l {
  35296. return io.ErrUnexpectedEOF
  35297. }
  35298. m.Protocol = Protocol(data[iNdEx:postIndex])
  35299. iNdEx = postIndex
  35300. case 3:
  35301. if wireType != 0 {
  35302. return fmt.Errorf("proto: wrong wireType = %d for field Port", wireType)
  35303. }
  35304. m.Port = 0
  35305. for shift := uint(0); ; shift += 7 {
  35306. if shift >= 64 {
  35307. return ErrIntOverflowGenerated
  35308. }
  35309. if iNdEx >= l {
  35310. return io.ErrUnexpectedEOF
  35311. }
  35312. b := data[iNdEx]
  35313. iNdEx++
  35314. m.Port |= (int32(b) & 0x7F) << shift
  35315. if b < 0x80 {
  35316. break
  35317. }
  35318. }
  35319. case 4:
  35320. if wireType != 2 {
  35321. return fmt.Errorf("proto: wrong wireType = %d for field TargetPort", wireType)
  35322. }
  35323. var msglen int
  35324. for shift := uint(0); ; shift += 7 {
  35325. if shift >= 64 {
  35326. return ErrIntOverflowGenerated
  35327. }
  35328. if iNdEx >= l {
  35329. return io.ErrUnexpectedEOF
  35330. }
  35331. b := data[iNdEx]
  35332. iNdEx++
  35333. msglen |= (int(b) & 0x7F) << shift
  35334. if b < 0x80 {
  35335. break
  35336. }
  35337. }
  35338. if msglen < 0 {
  35339. return ErrInvalidLengthGenerated
  35340. }
  35341. postIndex := iNdEx + msglen
  35342. if postIndex > l {
  35343. return io.ErrUnexpectedEOF
  35344. }
  35345. if err := m.TargetPort.Unmarshal(data[iNdEx:postIndex]); err != nil {
  35346. return err
  35347. }
  35348. iNdEx = postIndex
  35349. case 5:
  35350. if wireType != 0 {
  35351. return fmt.Errorf("proto: wrong wireType = %d for field NodePort", wireType)
  35352. }
  35353. m.NodePort = 0
  35354. for shift := uint(0); ; shift += 7 {
  35355. if shift >= 64 {
  35356. return ErrIntOverflowGenerated
  35357. }
  35358. if iNdEx >= l {
  35359. return io.ErrUnexpectedEOF
  35360. }
  35361. b := data[iNdEx]
  35362. iNdEx++
  35363. m.NodePort |= (int32(b) & 0x7F) << shift
  35364. if b < 0x80 {
  35365. break
  35366. }
  35367. }
  35368. default:
  35369. iNdEx = preIndex
  35370. skippy, err := skipGenerated(data[iNdEx:])
  35371. if err != nil {
  35372. return err
  35373. }
  35374. if skippy < 0 {
  35375. return ErrInvalidLengthGenerated
  35376. }
  35377. if (iNdEx + skippy) > l {
  35378. return io.ErrUnexpectedEOF
  35379. }
  35380. iNdEx += skippy
  35381. }
  35382. }
  35383. if iNdEx > l {
  35384. return io.ErrUnexpectedEOF
  35385. }
  35386. return nil
  35387. }
  35388. func (m *ServiceProxyOptions) Unmarshal(data []byte) error {
  35389. l := len(data)
  35390. iNdEx := 0
  35391. for iNdEx < l {
  35392. preIndex := iNdEx
  35393. var wire uint64
  35394. for shift := uint(0); ; shift += 7 {
  35395. if shift >= 64 {
  35396. return ErrIntOverflowGenerated
  35397. }
  35398. if iNdEx >= l {
  35399. return io.ErrUnexpectedEOF
  35400. }
  35401. b := data[iNdEx]
  35402. iNdEx++
  35403. wire |= (uint64(b) & 0x7F) << shift
  35404. if b < 0x80 {
  35405. break
  35406. }
  35407. }
  35408. fieldNum := int32(wire >> 3)
  35409. wireType := int(wire & 0x7)
  35410. if wireType == 4 {
  35411. return fmt.Errorf("proto: ServiceProxyOptions: wiretype end group for non-group")
  35412. }
  35413. if fieldNum <= 0 {
  35414. return fmt.Errorf("proto: ServiceProxyOptions: illegal tag %d (wire type %d)", fieldNum, wire)
  35415. }
  35416. switch fieldNum {
  35417. case 1:
  35418. if wireType != 2 {
  35419. return fmt.Errorf("proto: wrong wireType = %d for field Path", wireType)
  35420. }
  35421. var stringLen uint64
  35422. for shift := uint(0); ; shift += 7 {
  35423. if shift >= 64 {
  35424. return ErrIntOverflowGenerated
  35425. }
  35426. if iNdEx >= l {
  35427. return io.ErrUnexpectedEOF
  35428. }
  35429. b := data[iNdEx]
  35430. iNdEx++
  35431. stringLen |= (uint64(b) & 0x7F) << shift
  35432. if b < 0x80 {
  35433. break
  35434. }
  35435. }
  35436. intStringLen := int(stringLen)
  35437. if intStringLen < 0 {
  35438. return ErrInvalidLengthGenerated
  35439. }
  35440. postIndex := iNdEx + intStringLen
  35441. if postIndex > l {
  35442. return io.ErrUnexpectedEOF
  35443. }
  35444. m.Path = string(data[iNdEx:postIndex])
  35445. iNdEx = postIndex
  35446. default:
  35447. iNdEx = preIndex
  35448. skippy, err := skipGenerated(data[iNdEx:])
  35449. if err != nil {
  35450. return err
  35451. }
  35452. if skippy < 0 {
  35453. return ErrInvalidLengthGenerated
  35454. }
  35455. if (iNdEx + skippy) > l {
  35456. return io.ErrUnexpectedEOF
  35457. }
  35458. iNdEx += skippy
  35459. }
  35460. }
  35461. if iNdEx > l {
  35462. return io.ErrUnexpectedEOF
  35463. }
  35464. return nil
  35465. }
  35466. func (m *ServiceSpec) Unmarshal(data []byte) error {
  35467. l := len(data)
  35468. iNdEx := 0
  35469. for iNdEx < l {
  35470. preIndex := iNdEx
  35471. var wire uint64
  35472. for shift := uint(0); ; shift += 7 {
  35473. if shift >= 64 {
  35474. return ErrIntOverflowGenerated
  35475. }
  35476. if iNdEx >= l {
  35477. return io.ErrUnexpectedEOF
  35478. }
  35479. b := data[iNdEx]
  35480. iNdEx++
  35481. wire |= (uint64(b) & 0x7F) << shift
  35482. if b < 0x80 {
  35483. break
  35484. }
  35485. }
  35486. fieldNum := int32(wire >> 3)
  35487. wireType := int(wire & 0x7)
  35488. if wireType == 4 {
  35489. return fmt.Errorf("proto: ServiceSpec: wiretype end group for non-group")
  35490. }
  35491. if fieldNum <= 0 {
  35492. return fmt.Errorf("proto: ServiceSpec: illegal tag %d (wire type %d)", fieldNum, wire)
  35493. }
  35494. switch fieldNum {
  35495. case 1:
  35496. if wireType != 2 {
  35497. return fmt.Errorf("proto: wrong wireType = %d for field Ports", wireType)
  35498. }
  35499. var msglen int
  35500. for shift := uint(0); ; shift += 7 {
  35501. if shift >= 64 {
  35502. return ErrIntOverflowGenerated
  35503. }
  35504. if iNdEx >= l {
  35505. return io.ErrUnexpectedEOF
  35506. }
  35507. b := data[iNdEx]
  35508. iNdEx++
  35509. msglen |= (int(b) & 0x7F) << shift
  35510. if b < 0x80 {
  35511. break
  35512. }
  35513. }
  35514. if msglen < 0 {
  35515. return ErrInvalidLengthGenerated
  35516. }
  35517. postIndex := iNdEx + msglen
  35518. if postIndex > l {
  35519. return io.ErrUnexpectedEOF
  35520. }
  35521. m.Ports = append(m.Ports, ServicePort{})
  35522. if err := m.Ports[len(m.Ports)-1].Unmarshal(data[iNdEx:postIndex]); err != nil {
  35523. return err
  35524. }
  35525. iNdEx = postIndex
  35526. case 2:
  35527. if wireType != 2 {
  35528. return fmt.Errorf("proto: wrong wireType = %d for field Selector", wireType)
  35529. }
  35530. var msglen int
  35531. for shift := uint(0); ; shift += 7 {
  35532. if shift >= 64 {
  35533. return ErrIntOverflowGenerated
  35534. }
  35535. if iNdEx >= l {
  35536. return io.ErrUnexpectedEOF
  35537. }
  35538. b := data[iNdEx]
  35539. iNdEx++
  35540. msglen |= (int(b) & 0x7F) << shift
  35541. if b < 0x80 {
  35542. break
  35543. }
  35544. }
  35545. if msglen < 0 {
  35546. return ErrInvalidLengthGenerated
  35547. }
  35548. postIndex := iNdEx + msglen
  35549. if postIndex > l {
  35550. return io.ErrUnexpectedEOF
  35551. }
  35552. var keykey uint64
  35553. for shift := uint(0); ; shift += 7 {
  35554. if shift >= 64 {
  35555. return ErrIntOverflowGenerated
  35556. }
  35557. if iNdEx >= l {
  35558. return io.ErrUnexpectedEOF
  35559. }
  35560. b := data[iNdEx]
  35561. iNdEx++
  35562. keykey |= (uint64(b) & 0x7F) << shift
  35563. if b < 0x80 {
  35564. break
  35565. }
  35566. }
  35567. var stringLenmapkey uint64
  35568. for shift := uint(0); ; shift += 7 {
  35569. if shift >= 64 {
  35570. return ErrIntOverflowGenerated
  35571. }
  35572. if iNdEx >= l {
  35573. return io.ErrUnexpectedEOF
  35574. }
  35575. b := data[iNdEx]
  35576. iNdEx++
  35577. stringLenmapkey |= (uint64(b) & 0x7F) << shift
  35578. if b < 0x80 {
  35579. break
  35580. }
  35581. }
  35582. intStringLenmapkey := int(stringLenmapkey)
  35583. if intStringLenmapkey < 0 {
  35584. return ErrInvalidLengthGenerated
  35585. }
  35586. postStringIndexmapkey := iNdEx + intStringLenmapkey
  35587. if postStringIndexmapkey > l {
  35588. return io.ErrUnexpectedEOF
  35589. }
  35590. mapkey := string(data[iNdEx:postStringIndexmapkey])
  35591. iNdEx = postStringIndexmapkey
  35592. var valuekey uint64
  35593. for shift := uint(0); ; shift += 7 {
  35594. if shift >= 64 {
  35595. return ErrIntOverflowGenerated
  35596. }
  35597. if iNdEx >= l {
  35598. return io.ErrUnexpectedEOF
  35599. }
  35600. b := data[iNdEx]
  35601. iNdEx++
  35602. valuekey |= (uint64(b) & 0x7F) << shift
  35603. if b < 0x80 {
  35604. break
  35605. }
  35606. }
  35607. var stringLenmapvalue uint64
  35608. for shift := uint(0); ; shift += 7 {
  35609. if shift >= 64 {
  35610. return ErrIntOverflowGenerated
  35611. }
  35612. if iNdEx >= l {
  35613. return io.ErrUnexpectedEOF
  35614. }
  35615. b := data[iNdEx]
  35616. iNdEx++
  35617. stringLenmapvalue |= (uint64(b) & 0x7F) << shift
  35618. if b < 0x80 {
  35619. break
  35620. }
  35621. }
  35622. intStringLenmapvalue := int(stringLenmapvalue)
  35623. if intStringLenmapvalue < 0 {
  35624. return ErrInvalidLengthGenerated
  35625. }
  35626. postStringIndexmapvalue := iNdEx + intStringLenmapvalue
  35627. if postStringIndexmapvalue > l {
  35628. return io.ErrUnexpectedEOF
  35629. }
  35630. mapvalue := string(data[iNdEx:postStringIndexmapvalue])
  35631. iNdEx = postStringIndexmapvalue
  35632. if m.Selector == nil {
  35633. m.Selector = make(map[string]string)
  35634. }
  35635. m.Selector[mapkey] = mapvalue
  35636. iNdEx = postIndex
  35637. case 3:
  35638. if wireType != 2 {
  35639. return fmt.Errorf("proto: wrong wireType = %d for field ClusterIP", wireType)
  35640. }
  35641. var stringLen uint64
  35642. for shift := uint(0); ; shift += 7 {
  35643. if shift >= 64 {
  35644. return ErrIntOverflowGenerated
  35645. }
  35646. if iNdEx >= l {
  35647. return io.ErrUnexpectedEOF
  35648. }
  35649. b := data[iNdEx]
  35650. iNdEx++
  35651. stringLen |= (uint64(b) & 0x7F) << shift
  35652. if b < 0x80 {
  35653. break
  35654. }
  35655. }
  35656. intStringLen := int(stringLen)
  35657. if intStringLen < 0 {
  35658. return ErrInvalidLengthGenerated
  35659. }
  35660. postIndex := iNdEx + intStringLen
  35661. if postIndex > l {
  35662. return io.ErrUnexpectedEOF
  35663. }
  35664. m.ClusterIP = string(data[iNdEx:postIndex])
  35665. iNdEx = postIndex
  35666. case 4:
  35667. if wireType != 2 {
  35668. return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType)
  35669. }
  35670. var stringLen uint64
  35671. for shift := uint(0); ; shift += 7 {
  35672. if shift >= 64 {
  35673. return ErrIntOverflowGenerated
  35674. }
  35675. if iNdEx >= l {
  35676. return io.ErrUnexpectedEOF
  35677. }
  35678. b := data[iNdEx]
  35679. iNdEx++
  35680. stringLen |= (uint64(b) & 0x7F) << shift
  35681. if b < 0x80 {
  35682. break
  35683. }
  35684. }
  35685. intStringLen := int(stringLen)
  35686. if intStringLen < 0 {
  35687. return ErrInvalidLengthGenerated
  35688. }
  35689. postIndex := iNdEx + intStringLen
  35690. if postIndex > l {
  35691. return io.ErrUnexpectedEOF
  35692. }
  35693. m.Type = ServiceType(data[iNdEx:postIndex])
  35694. iNdEx = postIndex
  35695. case 5:
  35696. if wireType != 2 {
  35697. return fmt.Errorf("proto: wrong wireType = %d for field ExternalIPs", wireType)
  35698. }
  35699. var stringLen uint64
  35700. for shift := uint(0); ; shift += 7 {
  35701. if shift >= 64 {
  35702. return ErrIntOverflowGenerated
  35703. }
  35704. if iNdEx >= l {
  35705. return io.ErrUnexpectedEOF
  35706. }
  35707. b := data[iNdEx]
  35708. iNdEx++
  35709. stringLen |= (uint64(b) & 0x7F) << shift
  35710. if b < 0x80 {
  35711. break
  35712. }
  35713. }
  35714. intStringLen := int(stringLen)
  35715. if intStringLen < 0 {
  35716. return ErrInvalidLengthGenerated
  35717. }
  35718. postIndex := iNdEx + intStringLen
  35719. if postIndex > l {
  35720. return io.ErrUnexpectedEOF
  35721. }
  35722. m.ExternalIPs = append(m.ExternalIPs, string(data[iNdEx:postIndex]))
  35723. iNdEx = postIndex
  35724. case 6:
  35725. if wireType != 2 {
  35726. return fmt.Errorf("proto: wrong wireType = %d for field DeprecatedPublicIPs", wireType)
  35727. }
  35728. var stringLen uint64
  35729. for shift := uint(0); ; shift += 7 {
  35730. if shift >= 64 {
  35731. return ErrIntOverflowGenerated
  35732. }
  35733. if iNdEx >= l {
  35734. return io.ErrUnexpectedEOF
  35735. }
  35736. b := data[iNdEx]
  35737. iNdEx++
  35738. stringLen |= (uint64(b) & 0x7F) << shift
  35739. if b < 0x80 {
  35740. break
  35741. }
  35742. }
  35743. intStringLen := int(stringLen)
  35744. if intStringLen < 0 {
  35745. return ErrInvalidLengthGenerated
  35746. }
  35747. postIndex := iNdEx + intStringLen
  35748. if postIndex > l {
  35749. return io.ErrUnexpectedEOF
  35750. }
  35751. m.DeprecatedPublicIPs = append(m.DeprecatedPublicIPs, string(data[iNdEx:postIndex]))
  35752. iNdEx = postIndex
  35753. case 7:
  35754. if wireType != 2 {
  35755. return fmt.Errorf("proto: wrong wireType = %d for field SessionAffinity", wireType)
  35756. }
  35757. var stringLen uint64
  35758. for shift := uint(0); ; shift += 7 {
  35759. if shift >= 64 {
  35760. return ErrIntOverflowGenerated
  35761. }
  35762. if iNdEx >= l {
  35763. return io.ErrUnexpectedEOF
  35764. }
  35765. b := data[iNdEx]
  35766. iNdEx++
  35767. stringLen |= (uint64(b) & 0x7F) << shift
  35768. if b < 0x80 {
  35769. break
  35770. }
  35771. }
  35772. intStringLen := int(stringLen)
  35773. if intStringLen < 0 {
  35774. return ErrInvalidLengthGenerated
  35775. }
  35776. postIndex := iNdEx + intStringLen
  35777. if postIndex > l {
  35778. return io.ErrUnexpectedEOF
  35779. }
  35780. m.SessionAffinity = ServiceAffinity(data[iNdEx:postIndex])
  35781. iNdEx = postIndex
  35782. case 8:
  35783. if wireType != 2 {
  35784. return fmt.Errorf("proto: wrong wireType = %d for field LoadBalancerIP", wireType)
  35785. }
  35786. var stringLen uint64
  35787. for shift := uint(0); ; shift += 7 {
  35788. if shift >= 64 {
  35789. return ErrIntOverflowGenerated
  35790. }
  35791. if iNdEx >= l {
  35792. return io.ErrUnexpectedEOF
  35793. }
  35794. b := data[iNdEx]
  35795. iNdEx++
  35796. stringLen |= (uint64(b) & 0x7F) << shift
  35797. if b < 0x80 {
  35798. break
  35799. }
  35800. }
  35801. intStringLen := int(stringLen)
  35802. if intStringLen < 0 {
  35803. return ErrInvalidLengthGenerated
  35804. }
  35805. postIndex := iNdEx + intStringLen
  35806. if postIndex > l {
  35807. return io.ErrUnexpectedEOF
  35808. }
  35809. m.LoadBalancerIP = string(data[iNdEx:postIndex])
  35810. iNdEx = postIndex
  35811. case 9:
  35812. if wireType != 2 {
  35813. return fmt.Errorf("proto: wrong wireType = %d for field LoadBalancerSourceRanges", wireType)
  35814. }
  35815. var stringLen uint64
  35816. for shift := uint(0); ; shift += 7 {
  35817. if shift >= 64 {
  35818. return ErrIntOverflowGenerated
  35819. }
  35820. if iNdEx >= l {
  35821. return io.ErrUnexpectedEOF
  35822. }
  35823. b := data[iNdEx]
  35824. iNdEx++
  35825. stringLen |= (uint64(b) & 0x7F) << shift
  35826. if b < 0x80 {
  35827. break
  35828. }
  35829. }
  35830. intStringLen := int(stringLen)
  35831. if intStringLen < 0 {
  35832. return ErrInvalidLengthGenerated
  35833. }
  35834. postIndex := iNdEx + intStringLen
  35835. if postIndex > l {
  35836. return io.ErrUnexpectedEOF
  35837. }
  35838. m.LoadBalancerSourceRanges = append(m.LoadBalancerSourceRanges, string(data[iNdEx:postIndex]))
  35839. iNdEx = postIndex
  35840. case 10:
  35841. if wireType != 2 {
  35842. return fmt.Errorf("proto: wrong wireType = %d for field ExternalName", wireType)
  35843. }
  35844. var stringLen uint64
  35845. for shift := uint(0); ; shift += 7 {
  35846. if shift >= 64 {
  35847. return ErrIntOverflowGenerated
  35848. }
  35849. if iNdEx >= l {
  35850. return io.ErrUnexpectedEOF
  35851. }
  35852. b := data[iNdEx]
  35853. iNdEx++
  35854. stringLen |= (uint64(b) & 0x7F) << shift
  35855. if b < 0x80 {
  35856. break
  35857. }
  35858. }
  35859. intStringLen := int(stringLen)
  35860. if intStringLen < 0 {
  35861. return ErrInvalidLengthGenerated
  35862. }
  35863. postIndex := iNdEx + intStringLen
  35864. if postIndex > l {
  35865. return io.ErrUnexpectedEOF
  35866. }
  35867. m.ExternalName = string(data[iNdEx:postIndex])
  35868. iNdEx = postIndex
  35869. default:
  35870. iNdEx = preIndex
  35871. skippy, err := skipGenerated(data[iNdEx:])
  35872. if err != nil {
  35873. return err
  35874. }
  35875. if skippy < 0 {
  35876. return ErrInvalidLengthGenerated
  35877. }
  35878. if (iNdEx + skippy) > l {
  35879. return io.ErrUnexpectedEOF
  35880. }
  35881. iNdEx += skippy
  35882. }
  35883. }
  35884. if iNdEx > l {
  35885. return io.ErrUnexpectedEOF
  35886. }
  35887. return nil
  35888. }
  35889. func (m *ServiceStatus) Unmarshal(data []byte) error {
  35890. l := len(data)
  35891. iNdEx := 0
  35892. for iNdEx < l {
  35893. preIndex := iNdEx
  35894. var wire uint64
  35895. for shift := uint(0); ; shift += 7 {
  35896. if shift >= 64 {
  35897. return ErrIntOverflowGenerated
  35898. }
  35899. if iNdEx >= l {
  35900. return io.ErrUnexpectedEOF
  35901. }
  35902. b := data[iNdEx]
  35903. iNdEx++
  35904. wire |= (uint64(b) & 0x7F) << shift
  35905. if b < 0x80 {
  35906. break
  35907. }
  35908. }
  35909. fieldNum := int32(wire >> 3)
  35910. wireType := int(wire & 0x7)
  35911. if wireType == 4 {
  35912. return fmt.Errorf("proto: ServiceStatus: wiretype end group for non-group")
  35913. }
  35914. if fieldNum <= 0 {
  35915. return fmt.Errorf("proto: ServiceStatus: illegal tag %d (wire type %d)", fieldNum, wire)
  35916. }
  35917. switch fieldNum {
  35918. case 1:
  35919. if wireType != 2 {
  35920. return fmt.Errorf("proto: wrong wireType = %d for field LoadBalancer", wireType)
  35921. }
  35922. var msglen int
  35923. for shift := uint(0); ; shift += 7 {
  35924. if shift >= 64 {
  35925. return ErrIntOverflowGenerated
  35926. }
  35927. if iNdEx >= l {
  35928. return io.ErrUnexpectedEOF
  35929. }
  35930. b := data[iNdEx]
  35931. iNdEx++
  35932. msglen |= (int(b) & 0x7F) << shift
  35933. if b < 0x80 {
  35934. break
  35935. }
  35936. }
  35937. if msglen < 0 {
  35938. return ErrInvalidLengthGenerated
  35939. }
  35940. postIndex := iNdEx + msglen
  35941. if postIndex > l {
  35942. return io.ErrUnexpectedEOF
  35943. }
  35944. if err := m.LoadBalancer.Unmarshal(data[iNdEx:postIndex]); err != nil {
  35945. return err
  35946. }
  35947. iNdEx = postIndex
  35948. default:
  35949. iNdEx = preIndex
  35950. skippy, err := skipGenerated(data[iNdEx:])
  35951. if err != nil {
  35952. return err
  35953. }
  35954. if skippy < 0 {
  35955. return ErrInvalidLengthGenerated
  35956. }
  35957. if (iNdEx + skippy) > l {
  35958. return io.ErrUnexpectedEOF
  35959. }
  35960. iNdEx += skippy
  35961. }
  35962. }
  35963. if iNdEx > l {
  35964. return io.ErrUnexpectedEOF
  35965. }
  35966. return nil
  35967. }
  35968. func (m *TCPSocketAction) Unmarshal(data []byte) error {
  35969. l := len(data)
  35970. iNdEx := 0
  35971. for iNdEx < l {
  35972. preIndex := iNdEx
  35973. var wire uint64
  35974. for shift := uint(0); ; shift += 7 {
  35975. if shift >= 64 {
  35976. return ErrIntOverflowGenerated
  35977. }
  35978. if iNdEx >= l {
  35979. return io.ErrUnexpectedEOF
  35980. }
  35981. b := data[iNdEx]
  35982. iNdEx++
  35983. wire |= (uint64(b) & 0x7F) << shift
  35984. if b < 0x80 {
  35985. break
  35986. }
  35987. }
  35988. fieldNum := int32(wire >> 3)
  35989. wireType := int(wire & 0x7)
  35990. if wireType == 4 {
  35991. return fmt.Errorf("proto: TCPSocketAction: wiretype end group for non-group")
  35992. }
  35993. if fieldNum <= 0 {
  35994. return fmt.Errorf("proto: TCPSocketAction: illegal tag %d (wire type %d)", fieldNum, wire)
  35995. }
  35996. switch fieldNum {
  35997. case 1:
  35998. if wireType != 2 {
  35999. return fmt.Errorf("proto: wrong wireType = %d for field Port", wireType)
  36000. }
  36001. var msglen int
  36002. for shift := uint(0); ; shift += 7 {
  36003. if shift >= 64 {
  36004. return ErrIntOverflowGenerated
  36005. }
  36006. if iNdEx >= l {
  36007. return io.ErrUnexpectedEOF
  36008. }
  36009. b := data[iNdEx]
  36010. iNdEx++
  36011. msglen |= (int(b) & 0x7F) << shift
  36012. if b < 0x80 {
  36013. break
  36014. }
  36015. }
  36016. if msglen < 0 {
  36017. return ErrInvalidLengthGenerated
  36018. }
  36019. postIndex := iNdEx + msglen
  36020. if postIndex > l {
  36021. return io.ErrUnexpectedEOF
  36022. }
  36023. if err := m.Port.Unmarshal(data[iNdEx:postIndex]); err != nil {
  36024. return err
  36025. }
  36026. iNdEx = postIndex
  36027. default:
  36028. iNdEx = preIndex
  36029. skippy, err := skipGenerated(data[iNdEx:])
  36030. if err != nil {
  36031. return err
  36032. }
  36033. if skippy < 0 {
  36034. return ErrInvalidLengthGenerated
  36035. }
  36036. if (iNdEx + skippy) > l {
  36037. return io.ErrUnexpectedEOF
  36038. }
  36039. iNdEx += skippy
  36040. }
  36041. }
  36042. if iNdEx > l {
  36043. return io.ErrUnexpectedEOF
  36044. }
  36045. return nil
  36046. }
  36047. func (m *Taint) Unmarshal(data []byte) error {
  36048. l := len(data)
  36049. iNdEx := 0
  36050. for iNdEx < l {
  36051. preIndex := iNdEx
  36052. var wire uint64
  36053. for shift := uint(0); ; shift += 7 {
  36054. if shift >= 64 {
  36055. return ErrIntOverflowGenerated
  36056. }
  36057. if iNdEx >= l {
  36058. return io.ErrUnexpectedEOF
  36059. }
  36060. b := data[iNdEx]
  36061. iNdEx++
  36062. wire |= (uint64(b) & 0x7F) << shift
  36063. if b < 0x80 {
  36064. break
  36065. }
  36066. }
  36067. fieldNum := int32(wire >> 3)
  36068. wireType := int(wire & 0x7)
  36069. if wireType == 4 {
  36070. return fmt.Errorf("proto: Taint: wiretype end group for non-group")
  36071. }
  36072. if fieldNum <= 0 {
  36073. return fmt.Errorf("proto: Taint: illegal tag %d (wire type %d)", fieldNum, wire)
  36074. }
  36075. switch fieldNum {
  36076. case 1:
  36077. if wireType != 2 {
  36078. return fmt.Errorf("proto: wrong wireType = %d for field Key", wireType)
  36079. }
  36080. var stringLen uint64
  36081. for shift := uint(0); ; shift += 7 {
  36082. if shift >= 64 {
  36083. return ErrIntOverflowGenerated
  36084. }
  36085. if iNdEx >= l {
  36086. return io.ErrUnexpectedEOF
  36087. }
  36088. b := data[iNdEx]
  36089. iNdEx++
  36090. stringLen |= (uint64(b) & 0x7F) << shift
  36091. if b < 0x80 {
  36092. break
  36093. }
  36094. }
  36095. intStringLen := int(stringLen)
  36096. if intStringLen < 0 {
  36097. return ErrInvalidLengthGenerated
  36098. }
  36099. postIndex := iNdEx + intStringLen
  36100. if postIndex > l {
  36101. return io.ErrUnexpectedEOF
  36102. }
  36103. m.Key = string(data[iNdEx:postIndex])
  36104. iNdEx = postIndex
  36105. case 2:
  36106. if wireType != 2 {
  36107. return fmt.Errorf("proto: wrong wireType = %d for field Value", wireType)
  36108. }
  36109. var stringLen uint64
  36110. for shift := uint(0); ; shift += 7 {
  36111. if shift >= 64 {
  36112. return ErrIntOverflowGenerated
  36113. }
  36114. if iNdEx >= l {
  36115. return io.ErrUnexpectedEOF
  36116. }
  36117. b := data[iNdEx]
  36118. iNdEx++
  36119. stringLen |= (uint64(b) & 0x7F) << shift
  36120. if b < 0x80 {
  36121. break
  36122. }
  36123. }
  36124. intStringLen := int(stringLen)
  36125. if intStringLen < 0 {
  36126. return ErrInvalidLengthGenerated
  36127. }
  36128. postIndex := iNdEx + intStringLen
  36129. if postIndex > l {
  36130. return io.ErrUnexpectedEOF
  36131. }
  36132. m.Value = string(data[iNdEx:postIndex])
  36133. iNdEx = postIndex
  36134. case 3:
  36135. if wireType != 2 {
  36136. return fmt.Errorf("proto: wrong wireType = %d for field Effect", wireType)
  36137. }
  36138. var stringLen uint64
  36139. for shift := uint(0); ; shift += 7 {
  36140. if shift >= 64 {
  36141. return ErrIntOverflowGenerated
  36142. }
  36143. if iNdEx >= l {
  36144. return io.ErrUnexpectedEOF
  36145. }
  36146. b := data[iNdEx]
  36147. iNdEx++
  36148. stringLen |= (uint64(b) & 0x7F) << shift
  36149. if b < 0x80 {
  36150. break
  36151. }
  36152. }
  36153. intStringLen := int(stringLen)
  36154. if intStringLen < 0 {
  36155. return ErrInvalidLengthGenerated
  36156. }
  36157. postIndex := iNdEx + intStringLen
  36158. if postIndex > l {
  36159. return io.ErrUnexpectedEOF
  36160. }
  36161. m.Effect = TaintEffect(data[iNdEx:postIndex])
  36162. iNdEx = postIndex
  36163. default:
  36164. iNdEx = preIndex
  36165. skippy, err := skipGenerated(data[iNdEx:])
  36166. if err != nil {
  36167. return err
  36168. }
  36169. if skippy < 0 {
  36170. return ErrInvalidLengthGenerated
  36171. }
  36172. if (iNdEx + skippy) > l {
  36173. return io.ErrUnexpectedEOF
  36174. }
  36175. iNdEx += skippy
  36176. }
  36177. }
  36178. if iNdEx > l {
  36179. return io.ErrUnexpectedEOF
  36180. }
  36181. return nil
  36182. }
  36183. func (m *Toleration) Unmarshal(data []byte) error {
  36184. l := len(data)
  36185. iNdEx := 0
  36186. for iNdEx < l {
  36187. preIndex := iNdEx
  36188. var wire uint64
  36189. for shift := uint(0); ; shift += 7 {
  36190. if shift >= 64 {
  36191. return ErrIntOverflowGenerated
  36192. }
  36193. if iNdEx >= l {
  36194. return io.ErrUnexpectedEOF
  36195. }
  36196. b := data[iNdEx]
  36197. iNdEx++
  36198. wire |= (uint64(b) & 0x7F) << shift
  36199. if b < 0x80 {
  36200. break
  36201. }
  36202. }
  36203. fieldNum := int32(wire >> 3)
  36204. wireType := int(wire & 0x7)
  36205. if wireType == 4 {
  36206. return fmt.Errorf("proto: Toleration: wiretype end group for non-group")
  36207. }
  36208. if fieldNum <= 0 {
  36209. return fmt.Errorf("proto: Toleration: illegal tag %d (wire type %d)", fieldNum, wire)
  36210. }
  36211. switch fieldNum {
  36212. case 1:
  36213. if wireType != 2 {
  36214. return fmt.Errorf("proto: wrong wireType = %d for field Key", wireType)
  36215. }
  36216. var stringLen uint64
  36217. for shift := uint(0); ; shift += 7 {
  36218. if shift >= 64 {
  36219. return ErrIntOverflowGenerated
  36220. }
  36221. if iNdEx >= l {
  36222. return io.ErrUnexpectedEOF
  36223. }
  36224. b := data[iNdEx]
  36225. iNdEx++
  36226. stringLen |= (uint64(b) & 0x7F) << shift
  36227. if b < 0x80 {
  36228. break
  36229. }
  36230. }
  36231. intStringLen := int(stringLen)
  36232. if intStringLen < 0 {
  36233. return ErrInvalidLengthGenerated
  36234. }
  36235. postIndex := iNdEx + intStringLen
  36236. if postIndex > l {
  36237. return io.ErrUnexpectedEOF
  36238. }
  36239. m.Key = string(data[iNdEx:postIndex])
  36240. iNdEx = postIndex
  36241. case 2:
  36242. if wireType != 2 {
  36243. return fmt.Errorf("proto: wrong wireType = %d for field Operator", wireType)
  36244. }
  36245. var stringLen uint64
  36246. for shift := uint(0); ; shift += 7 {
  36247. if shift >= 64 {
  36248. return ErrIntOverflowGenerated
  36249. }
  36250. if iNdEx >= l {
  36251. return io.ErrUnexpectedEOF
  36252. }
  36253. b := data[iNdEx]
  36254. iNdEx++
  36255. stringLen |= (uint64(b) & 0x7F) << shift
  36256. if b < 0x80 {
  36257. break
  36258. }
  36259. }
  36260. intStringLen := int(stringLen)
  36261. if intStringLen < 0 {
  36262. return ErrInvalidLengthGenerated
  36263. }
  36264. postIndex := iNdEx + intStringLen
  36265. if postIndex > l {
  36266. return io.ErrUnexpectedEOF
  36267. }
  36268. m.Operator = TolerationOperator(data[iNdEx:postIndex])
  36269. iNdEx = postIndex
  36270. case 3:
  36271. if wireType != 2 {
  36272. return fmt.Errorf("proto: wrong wireType = %d for field Value", wireType)
  36273. }
  36274. var stringLen uint64
  36275. for shift := uint(0); ; shift += 7 {
  36276. if shift >= 64 {
  36277. return ErrIntOverflowGenerated
  36278. }
  36279. if iNdEx >= l {
  36280. return io.ErrUnexpectedEOF
  36281. }
  36282. b := data[iNdEx]
  36283. iNdEx++
  36284. stringLen |= (uint64(b) & 0x7F) << shift
  36285. if b < 0x80 {
  36286. break
  36287. }
  36288. }
  36289. intStringLen := int(stringLen)
  36290. if intStringLen < 0 {
  36291. return ErrInvalidLengthGenerated
  36292. }
  36293. postIndex := iNdEx + intStringLen
  36294. if postIndex > l {
  36295. return io.ErrUnexpectedEOF
  36296. }
  36297. m.Value = string(data[iNdEx:postIndex])
  36298. iNdEx = postIndex
  36299. case 4:
  36300. if wireType != 2 {
  36301. return fmt.Errorf("proto: wrong wireType = %d for field Effect", wireType)
  36302. }
  36303. var stringLen uint64
  36304. for shift := uint(0); ; shift += 7 {
  36305. if shift >= 64 {
  36306. return ErrIntOverflowGenerated
  36307. }
  36308. if iNdEx >= l {
  36309. return io.ErrUnexpectedEOF
  36310. }
  36311. b := data[iNdEx]
  36312. iNdEx++
  36313. stringLen |= (uint64(b) & 0x7F) << shift
  36314. if b < 0x80 {
  36315. break
  36316. }
  36317. }
  36318. intStringLen := int(stringLen)
  36319. if intStringLen < 0 {
  36320. return ErrInvalidLengthGenerated
  36321. }
  36322. postIndex := iNdEx + intStringLen
  36323. if postIndex > l {
  36324. return io.ErrUnexpectedEOF
  36325. }
  36326. m.Effect = TaintEffect(data[iNdEx:postIndex])
  36327. iNdEx = postIndex
  36328. default:
  36329. iNdEx = preIndex
  36330. skippy, err := skipGenerated(data[iNdEx:])
  36331. if err != nil {
  36332. return err
  36333. }
  36334. if skippy < 0 {
  36335. return ErrInvalidLengthGenerated
  36336. }
  36337. if (iNdEx + skippy) > l {
  36338. return io.ErrUnexpectedEOF
  36339. }
  36340. iNdEx += skippy
  36341. }
  36342. }
  36343. if iNdEx > l {
  36344. return io.ErrUnexpectedEOF
  36345. }
  36346. return nil
  36347. }
  36348. func (m *Volume) Unmarshal(data []byte) error {
  36349. l := len(data)
  36350. iNdEx := 0
  36351. for iNdEx < l {
  36352. preIndex := iNdEx
  36353. var wire uint64
  36354. for shift := uint(0); ; shift += 7 {
  36355. if shift >= 64 {
  36356. return ErrIntOverflowGenerated
  36357. }
  36358. if iNdEx >= l {
  36359. return io.ErrUnexpectedEOF
  36360. }
  36361. b := data[iNdEx]
  36362. iNdEx++
  36363. wire |= (uint64(b) & 0x7F) << shift
  36364. if b < 0x80 {
  36365. break
  36366. }
  36367. }
  36368. fieldNum := int32(wire >> 3)
  36369. wireType := int(wire & 0x7)
  36370. if wireType == 4 {
  36371. return fmt.Errorf("proto: Volume: wiretype end group for non-group")
  36372. }
  36373. if fieldNum <= 0 {
  36374. return fmt.Errorf("proto: Volume: illegal tag %d (wire type %d)", fieldNum, wire)
  36375. }
  36376. switch fieldNum {
  36377. case 1:
  36378. if wireType != 2 {
  36379. return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
  36380. }
  36381. var stringLen uint64
  36382. for shift := uint(0); ; shift += 7 {
  36383. if shift >= 64 {
  36384. return ErrIntOverflowGenerated
  36385. }
  36386. if iNdEx >= l {
  36387. return io.ErrUnexpectedEOF
  36388. }
  36389. b := data[iNdEx]
  36390. iNdEx++
  36391. stringLen |= (uint64(b) & 0x7F) << shift
  36392. if b < 0x80 {
  36393. break
  36394. }
  36395. }
  36396. intStringLen := int(stringLen)
  36397. if intStringLen < 0 {
  36398. return ErrInvalidLengthGenerated
  36399. }
  36400. postIndex := iNdEx + intStringLen
  36401. if postIndex > l {
  36402. return io.ErrUnexpectedEOF
  36403. }
  36404. m.Name = string(data[iNdEx:postIndex])
  36405. iNdEx = postIndex
  36406. case 2:
  36407. if wireType != 2 {
  36408. return fmt.Errorf("proto: wrong wireType = %d for field VolumeSource", wireType)
  36409. }
  36410. var msglen int
  36411. for shift := uint(0); ; shift += 7 {
  36412. if shift >= 64 {
  36413. return ErrIntOverflowGenerated
  36414. }
  36415. if iNdEx >= l {
  36416. return io.ErrUnexpectedEOF
  36417. }
  36418. b := data[iNdEx]
  36419. iNdEx++
  36420. msglen |= (int(b) & 0x7F) << shift
  36421. if b < 0x80 {
  36422. break
  36423. }
  36424. }
  36425. if msglen < 0 {
  36426. return ErrInvalidLengthGenerated
  36427. }
  36428. postIndex := iNdEx + msglen
  36429. if postIndex > l {
  36430. return io.ErrUnexpectedEOF
  36431. }
  36432. if err := m.VolumeSource.Unmarshal(data[iNdEx:postIndex]); err != nil {
  36433. return err
  36434. }
  36435. iNdEx = postIndex
  36436. default:
  36437. iNdEx = preIndex
  36438. skippy, err := skipGenerated(data[iNdEx:])
  36439. if err != nil {
  36440. return err
  36441. }
  36442. if skippy < 0 {
  36443. return ErrInvalidLengthGenerated
  36444. }
  36445. if (iNdEx + skippy) > l {
  36446. return io.ErrUnexpectedEOF
  36447. }
  36448. iNdEx += skippy
  36449. }
  36450. }
  36451. if iNdEx > l {
  36452. return io.ErrUnexpectedEOF
  36453. }
  36454. return nil
  36455. }
  36456. func (m *VolumeMount) Unmarshal(data []byte) error {
  36457. l := len(data)
  36458. iNdEx := 0
  36459. for iNdEx < l {
  36460. preIndex := iNdEx
  36461. var wire uint64
  36462. for shift := uint(0); ; shift += 7 {
  36463. if shift >= 64 {
  36464. return ErrIntOverflowGenerated
  36465. }
  36466. if iNdEx >= l {
  36467. return io.ErrUnexpectedEOF
  36468. }
  36469. b := data[iNdEx]
  36470. iNdEx++
  36471. wire |= (uint64(b) & 0x7F) << shift
  36472. if b < 0x80 {
  36473. break
  36474. }
  36475. }
  36476. fieldNum := int32(wire >> 3)
  36477. wireType := int(wire & 0x7)
  36478. if wireType == 4 {
  36479. return fmt.Errorf("proto: VolumeMount: wiretype end group for non-group")
  36480. }
  36481. if fieldNum <= 0 {
  36482. return fmt.Errorf("proto: VolumeMount: illegal tag %d (wire type %d)", fieldNum, wire)
  36483. }
  36484. switch fieldNum {
  36485. case 1:
  36486. if wireType != 2 {
  36487. return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
  36488. }
  36489. var stringLen uint64
  36490. for shift := uint(0); ; shift += 7 {
  36491. if shift >= 64 {
  36492. return ErrIntOverflowGenerated
  36493. }
  36494. if iNdEx >= l {
  36495. return io.ErrUnexpectedEOF
  36496. }
  36497. b := data[iNdEx]
  36498. iNdEx++
  36499. stringLen |= (uint64(b) & 0x7F) << shift
  36500. if b < 0x80 {
  36501. break
  36502. }
  36503. }
  36504. intStringLen := int(stringLen)
  36505. if intStringLen < 0 {
  36506. return ErrInvalidLengthGenerated
  36507. }
  36508. postIndex := iNdEx + intStringLen
  36509. if postIndex > l {
  36510. return io.ErrUnexpectedEOF
  36511. }
  36512. m.Name = string(data[iNdEx:postIndex])
  36513. iNdEx = postIndex
  36514. case 2:
  36515. if wireType != 0 {
  36516. return fmt.Errorf("proto: wrong wireType = %d for field ReadOnly", wireType)
  36517. }
  36518. var v int
  36519. for shift := uint(0); ; shift += 7 {
  36520. if shift >= 64 {
  36521. return ErrIntOverflowGenerated
  36522. }
  36523. if iNdEx >= l {
  36524. return io.ErrUnexpectedEOF
  36525. }
  36526. b := data[iNdEx]
  36527. iNdEx++
  36528. v |= (int(b) & 0x7F) << shift
  36529. if b < 0x80 {
  36530. break
  36531. }
  36532. }
  36533. m.ReadOnly = bool(v != 0)
  36534. case 3:
  36535. if wireType != 2 {
  36536. return fmt.Errorf("proto: wrong wireType = %d for field MountPath", wireType)
  36537. }
  36538. var stringLen uint64
  36539. for shift := uint(0); ; shift += 7 {
  36540. if shift >= 64 {
  36541. return ErrIntOverflowGenerated
  36542. }
  36543. if iNdEx >= l {
  36544. return io.ErrUnexpectedEOF
  36545. }
  36546. b := data[iNdEx]
  36547. iNdEx++
  36548. stringLen |= (uint64(b) & 0x7F) << shift
  36549. if b < 0x80 {
  36550. break
  36551. }
  36552. }
  36553. intStringLen := int(stringLen)
  36554. if intStringLen < 0 {
  36555. return ErrInvalidLengthGenerated
  36556. }
  36557. postIndex := iNdEx + intStringLen
  36558. if postIndex > l {
  36559. return io.ErrUnexpectedEOF
  36560. }
  36561. m.MountPath = string(data[iNdEx:postIndex])
  36562. iNdEx = postIndex
  36563. case 4:
  36564. if wireType != 2 {
  36565. return fmt.Errorf("proto: wrong wireType = %d for field SubPath", wireType)
  36566. }
  36567. var stringLen uint64
  36568. for shift := uint(0); ; shift += 7 {
  36569. if shift >= 64 {
  36570. return ErrIntOverflowGenerated
  36571. }
  36572. if iNdEx >= l {
  36573. return io.ErrUnexpectedEOF
  36574. }
  36575. b := data[iNdEx]
  36576. iNdEx++
  36577. stringLen |= (uint64(b) & 0x7F) << shift
  36578. if b < 0x80 {
  36579. break
  36580. }
  36581. }
  36582. intStringLen := int(stringLen)
  36583. if intStringLen < 0 {
  36584. return ErrInvalidLengthGenerated
  36585. }
  36586. postIndex := iNdEx + intStringLen
  36587. if postIndex > l {
  36588. return io.ErrUnexpectedEOF
  36589. }
  36590. m.SubPath = string(data[iNdEx:postIndex])
  36591. iNdEx = postIndex
  36592. default:
  36593. iNdEx = preIndex
  36594. skippy, err := skipGenerated(data[iNdEx:])
  36595. if err != nil {
  36596. return err
  36597. }
  36598. if skippy < 0 {
  36599. return ErrInvalidLengthGenerated
  36600. }
  36601. if (iNdEx + skippy) > l {
  36602. return io.ErrUnexpectedEOF
  36603. }
  36604. iNdEx += skippy
  36605. }
  36606. }
  36607. if iNdEx > l {
  36608. return io.ErrUnexpectedEOF
  36609. }
  36610. return nil
  36611. }
  36612. func (m *VolumeSource) Unmarshal(data []byte) error {
  36613. l := len(data)
  36614. iNdEx := 0
  36615. for iNdEx < l {
  36616. preIndex := iNdEx
  36617. var wire uint64
  36618. for shift := uint(0); ; shift += 7 {
  36619. if shift >= 64 {
  36620. return ErrIntOverflowGenerated
  36621. }
  36622. if iNdEx >= l {
  36623. return io.ErrUnexpectedEOF
  36624. }
  36625. b := data[iNdEx]
  36626. iNdEx++
  36627. wire |= (uint64(b) & 0x7F) << shift
  36628. if b < 0x80 {
  36629. break
  36630. }
  36631. }
  36632. fieldNum := int32(wire >> 3)
  36633. wireType := int(wire & 0x7)
  36634. if wireType == 4 {
  36635. return fmt.Errorf("proto: VolumeSource: wiretype end group for non-group")
  36636. }
  36637. if fieldNum <= 0 {
  36638. return fmt.Errorf("proto: VolumeSource: illegal tag %d (wire type %d)", fieldNum, wire)
  36639. }
  36640. switch fieldNum {
  36641. case 1:
  36642. if wireType != 2 {
  36643. return fmt.Errorf("proto: wrong wireType = %d for field HostPath", wireType)
  36644. }
  36645. var msglen int
  36646. for shift := uint(0); ; shift += 7 {
  36647. if shift >= 64 {
  36648. return ErrIntOverflowGenerated
  36649. }
  36650. if iNdEx >= l {
  36651. return io.ErrUnexpectedEOF
  36652. }
  36653. b := data[iNdEx]
  36654. iNdEx++
  36655. msglen |= (int(b) & 0x7F) << shift
  36656. if b < 0x80 {
  36657. break
  36658. }
  36659. }
  36660. if msglen < 0 {
  36661. return ErrInvalidLengthGenerated
  36662. }
  36663. postIndex := iNdEx + msglen
  36664. if postIndex > l {
  36665. return io.ErrUnexpectedEOF
  36666. }
  36667. if m.HostPath == nil {
  36668. m.HostPath = &HostPathVolumeSource{}
  36669. }
  36670. if err := m.HostPath.Unmarshal(data[iNdEx:postIndex]); err != nil {
  36671. return err
  36672. }
  36673. iNdEx = postIndex
  36674. case 2:
  36675. if wireType != 2 {
  36676. return fmt.Errorf("proto: wrong wireType = %d for field EmptyDir", wireType)
  36677. }
  36678. var msglen int
  36679. for shift := uint(0); ; shift += 7 {
  36680. if shift >= 64 {
  36681. return ErrIntOverflowGenerated
  36682. }
  36683. if iNdEx >= l {
  36684. return io.ErrUnexpectedEOF
  36685. }
  36686. b := data[iNdEx]
  36687. iNdEx++
  36688. msglen |= (int(b) & 0x7F) << shift
  36689. if b < 0x80 {
  36690. break
  36691. }
  36692. }
  36693. if msglen < 0 {
  36694. return ErrInvalidLengthGenerated
  36695. }
  36696. postIndex := iNdEx + msglen
  36697. if postIndex > l {
  36698. return io.ErrUnexpectedEOF
  36699. }
  36700. if m.EmptyDir == nil {
  36701. m.EmptyDir = &EmptyDirVolumeSource{}
  36702. }
  36703. if err := m.EmptyDir.Unmarshal(data[iNdEx:postIndex]); err != nil {
  36704. return err
  36705. }
  36706. iNdEx = postIndex
  36707. case 3:
  36708. if wireType != 2 {
  36709. return fmt.Errorf("proto: wrong wireType = %d for field GCEPersistentDisk", wireType)
  36710. }
  36711. var msglen int
  36712. for shift := uint(0); ; shift += 7 {
  36713. if shift >= 64 {
  36714. return ErrIntOverflowGenerated
  36715. }
  36716. if iNdEx >= l {
  36717. return io.ErrUnexpectedEOF
  36718. }
  36719. b := data[iNdEx]
  36720. iNdEx++
  36721. msglen |= (int(b) & 0x7F) << shift
  36722. if b < 0x80 {
  36723. break
  36724. }
  36725. }
  36726. if msglen < 0 {
  36727. return ErrInvalidLengthGenerated
  36728. }
  36729. postIndex := iNdEx + msglen
  36730. if postIndex > l {
  36731. return io.ErrUnexpectedEOF
  36732. }
  36733. if m.GCEPersistentDisk == nil {
  36734. m.GCEPersistentDisk = &GCEPersistentDiskVolumeSource{}
  36735. }
  36736. if err := m.GCEPersistentDisk.Unmarshal(data[iNdEx:postIndex]); err != nil {
  36737. return err
  36738. }
  36739. iNdEx = postIndex
  36740. case 4:
  36741. if wireType != 2 {
  36742. return fmt.Errorf("proto: wrong wireType = %d for field AWSElasticBlockStore", wireType)
  36743. }
  36744. var msglen int
  36745. for shift := uint(0); ; shift += 7 {
  36746. if shift >= 64 {
  36747. return ErrIntOverflowGenerated
  36748. }
  36749. if iNdEx >= l {
  36750. return io.ErrUnexpectedEOF
  36751. }
  36752. b := data[iNdEx]
  36753. iNdEx++
  36754. msglen |= (int(b) & 0x7F) << shift
  36755. if b < 0x80 {
  36756. break
  36757. }
  36758. }
  36759. if msglen < 0 {
  36760. return ErrInvalidLengthGenerated
  36761. }
  36762. postIndex := iNdEx + msglen
  36763. if postIndex > l {
  36764. return io.ErrUnexpectedEOF
  36765. }
  36766. if m.AWSElasticBlockStore == nil {
  36767. m.AWSElasticBlockStore = &AWSElasticBlockStoreVolumeSource{}
  36768. }
  36769. if err := m.AWSElasticBlockStore.Unmarshal(data[iNdEx:postIndex]); err != nil {
  36770. return err
  36771. }
  36772. iNdEx = postIndex
  36773. case 5:
  36774. if wireType != 2 {
  36775. return fmt.Errorf("proto: wrong wireType = %d for field GitRepo", wireType)
  36776. }
  36777. var msglen int
  36778. for shift := uint(0); ; shift += 7 {
  36779. if shift >= 64 {
  36780. return ErrIntOverflowGenerated
  36781. }
  36782. if iNdEx >= l {
  36783. return io.ErrUnexpectedEOF
  36784. }
  36785. b := data[iNdEx]
  36786. iNdEx++
  36787. msglen |= (int(b) & 0x7F) << shift
  36788. if b < 0x80 {
  36789. break
  36790. }
  36791. }
  36792. if msglen < 0 {
  36793. return ErrInvalidLengthGenerated
  36794. }
  36795. postIndex := iNdEx + msglen
  36796. if postIndex > l {
  36797. return io.ErrUnexpectedEOF
  36798. }
  36799. if m.GitRepo == nil {
  36800. m.GitRepo = &GitRepoVolumeSource{}
  36801. }
  36802. if err := m.GitRepo.Unmarshal(data[iNdEx:postIndex]); err != nil {
  36803. return err
  36804. }
  36805. iNdEx = postIndex
  36806. case 6:
  36807. if wireType != 2 {
  36808. return fmt.Errorf("proto: wrong wireType = %d for field Secret", wireType)
  36809. }
  36810. var msglen int
  36811. for shift := uint(0); ; shift += 7 {
  36812. if shift >= 64 {
  36813. return ErrIntOverflowGenerated
  36814. }
  36815. if iNdEx >= l {
  36816. return io.ErrUnexpectedEOF
  36817. }
  36818. b := data[iNdEx]
  36819. iNdEx++
  36820. msglen |= (int(b) & 0x7F) << shift
  36821. if b < 0x80 {
  36822. break
  36823. }
  36824. }
  36825. if msglen < 0 {
  36826. return ErrInvalidLengthGenerated
  36827. }
  36828. postIndex := iNdEx + msglen
  36829. if postIndex > l {
  36830. return io.ErrUnexpectedEOF
  36831. }
  36832. if m.Secret == nil {
  36833. m.Secret = &SecretVolumeSource{}
  36834. }
  36835. if err := m.Secret.Unmarshal(data[iNdEx:postIndex]); err != nil {
  36836. return err
  36837. }
  36838. iNdEx = postIndex
  36839. case 7:
  36840. if wireType != 2 {
  36841. return fmt.Errorf("proto: wrong wireType = %d for field NFS", wireType)
  36842. }
  36843. var msglen int
  36844. for shift := uint(0); ; shift += 7 {
  36845. if shift >= 64 {
  36846. return ErrIntOverflowGenerated
  36847. }
  36848. if iNdEx >= l {
  36849. return io.ErrUnexpectedEOF
  36850. }
  36851. b := data[iNdEx]
  36852. iNdEx++
  36853. msglen |= (int(b) & 0x7F) << shift
  36854. if b < 0x80 {
  36855. break
  36856. }
  36857. }
  36858. if msglen < 0 {
  36859. return ErrInvalidLengthGenerated
  36860. }
  36861. postIndex := iNdEx + msglen
  36862. if postIndex > l {
  36863. return io.ErrUnexpectedEOF
  36864. }
  36865. if m.NFS == nil {
  36866. m.NFS = &NFSVolumeSource{}
  36867. }
  36868. if err := m.NFS.Unmarshal(data[iNdEx:postIndex]); err != nil {
  36869. return err
  36870. }
  36871. iNdEx = postIndex
  36872. case 8:
  36873. if wireType != 2 {
  36874. return fmt.Errorf("proto: wrong wireType = %d for field ISCSI", wireType)
  36875. }
  36876. var msglen int
  36877. for shift := uint(0); ; shift += 7 {
  36878. if shift >= 64 {
  36879. return ErrIntOverflowGenerated
  36880. }
  36881. if iNdEx >= l {
  36882. return io.ErrUnexpectedEOF
  36883. }
  36884. b := data[iNdEx]
  36885. iNdEx++
  36886. msglen |= (int(b) & 0x7F) << shift
  36887. if b < 0x80 {
  36888. break
  36889. }
  36890. }
  36891. if msglen < 0 {
  36892. return ErrInvalidLengthGenerated
  36893. }
  36894. postIndex := iNdEx + msglen
  36895. if postIndex > l {
  36896. return io.ErrUnexpectedEOF
  36897. }
  36898. if m.ISCSI == nil {
  36899. m.ISCSI = &ISCSIVolumeSource{}
  36900. }
  36901. if err := m.ISCSI.Unmarshal(data[iNdEx:postIndex]); err != nil {
  36902. return err
  36903. }
  36904. iNdEx = postIndex
  36905. case 9:
  36906. if wireType != 2 {
  36907. return fmt.Errorf("proto: wrong wireType = %d for field Glusterfs", wireType)
  36908. }
  36909. var msglen int
  36910. for shift := uint(0); ; shift += 7 {
  36911. if shift >= 64 {
  36912. return ErrIntOverflowGenerated
  36913. }
  36914. if iNdEx >= l {
  36915. return io.ErrUnexpectedEOF
  36916. }
  36917. b := data[iNdEx]
  36918. iNdEx++
  36919. msglen |= (int(b) & 0x7F) << shift
  36920. if b < 0x80 {
  36921. break
  36922. }
  36923. }
  36924. if msglen < 0 {
  36925. return ErrInvalidLengthGenerated
  36926. }
  36927. postIndex := iNdEx + msglen
  36928. if postIndex > l {
  36929. return io.ErrUnexpectedEOF
  36930. }
  36931. if m.Glusterfs == nil {
  36932. m.Glusterfs = &GlusterfsVolumeSource{}
  36933. }
  36934. if err := m.Glusterfs.Unmarshal(data[iNdEx:postIndex]); err != nil {
  36935. return err
  36936. }
  36937. iNdEx = postIndex
  36938. case 10:
  36939. if wireType != 2 {
  36940. return fmt.Errorf("proto: wrong wireType = %d for field PersistentVolumeClaim", wireType)
  36941. }
  36942. var msglen int
  36943. for shift := uint(0); ; shift += 7 {
  36944. if shift >= 64 {
  36945. return ErrIntOverflowGenerated
  36946. }
  36947. if iNdEx >= l {
  36948. return io.ErrUnexpectedEOF
  36949. }
  36950. b := data[iNdEx]
  36951. iNdEx++
  36952. msglen |= (int(b) & 0x7F) << shift
  36953. if b < 0x80 {
  36954. break
  36955. }
  36956. }
  36957. if msglen < 0 {
  36958. return ErrInvalidLengthGenerated
  36959. }
  36960. postIndex := iNdEx + msglen
  36961. if postIndex > l {
  36962. return io.ErrUnexpectedEOF
  36963. }
  36964. if m.PersistentVolumeClaim == nil {
  36965. m.PersistentVolumeClaim = &PersistentVolumeClaimVolumeSource{}
  36966. }
  36967. if err := m.PersistentVolumeClaim.Unmarshal(data[iNdEx:postIndex]); err != nil {
  36968. return err
  36969. }
  36970. iNdEx = postIndex
  36971. case 11:
  36972. if wireType != 2 {
  36973. return fmt.Errorf("proto: wrong wireType = %d for field RBD", wireType)
  36974. }
  36975. var msglen int
  36976. for shift := uint(0); ; shift += 7 {
  36977. if shift >= 64 {
  36978. return ErrIntOverflowGenerated
  36979. }
  36980. if iNdEx >= l {
  36981. return io.ErrUnexpectedEOF
  36982. }
  36983. b := data[iNdEx]
  36984. iNdEx++
  36985. msglen |= (int(b) & 0x7F) << shift
  36986. if b < 0x80 {
  36987. break
  36988. }
  36989. }
  36990. if msglen < 0 {
  36991. return ErrInvalidLengthGenerated
  36992. }
  36993. postIndex := iNdEx + msglen
  36994. if postIndex > l {
  36995. return io.ErrUnexpectedEOF
  36996. }
  36997. if m.RBD == nil {
  36998. m.RBD = &RBDVolumeSource{}
  36999. }
  37000. if err := m.RBD.Unmarshal(data[iNdEx:postIndex]); err != nil {
  37001. return err
  37002. }
  37003. iNdEx = postIndex
  37004. case 12:
  37005. if wireType != 2 {
  37006. return fmt.Errorf("proto: wrong wireType = %d for field FlexVolume", wireType)
  37007. }
  37008. var msglen int
  37009. for shift := uint(0); ; shift += 7 {
  37010. if shift >= 64 {
  37011. return ErrIntOverflowGenerated
  37012. }
  37013. if iNdEx >= l {
  37014. return io.ErrUnexpectedEOF
  37015. }
  37016. b := data[iNdEx]
  37017. iNdEx++
  37018. msglen |= (int(b) & 0x7F) << shift
  37019. if b < 0x80 {
  37020. break
  37021. }
  37022. }
  37023. if msglen < 0 {
  37024. return ErrInvalidLengthGenerated
  37025. }
  37026. postIndex := iNdEx + msglen
  37027. if postIndex > l {
  37028. return io.ErrUnexpectedEOF
  37029. }
  37030. if m.FlexVolume == nil {
  37031. m.FlexVolume = &FlexVolumeSource{}
  37032. }
  37033. if err := m.FlexVolume.Unmarshal(data[iNdEx:postIndex]); err != nil {
  37034. return err
  37035. }
  37036. iNdEx = postIndex
  37037. case 13:
  37038. if wireType != 2 {
  37039. return fmt.Errorf("proto: wrong wireType = %d for field Cinder", wireType)
  37040. }
  37041. var msglen int
  37042. for shift := uint(0); ; shift += 7 {
  37043. if shift >= 64 {
  37044. return ErrIntOverflowGenerated
  37045. }
  37046. if iNdEx >= l {
  37047. return io.ErrUnexpectedEOF
  37048. }
  37049. b := data[iNdEx]
  37050. iNdEx++
  37051. msglen |= (int(b) & 0x7F) << shift
  37052. if b < 0x80 {
  37053. break
  37054. }
  37055. }
  37056. if msglen < 0 {
  37057. return ErrInvalidLengthGenerated
  37058. }
  37059. postIndex := iNdEx + msglen
  37060. if postIndex > l {
  37061. return io.ErrUnexpectedEOF
  37062. }
  37063. if m.Cinder == nil {
  37064. m.Cinder = &CinderVolumeSource{}
  37065. }
  37066. if err := m.Cinder.Unmarshal(data[iNdEx:postIndex]); err != nil {
  37067. return err
  37068. }
  37069. iNdEx = postIndex
  37070. case 14:
  37071. if wireType != 2 {
  37072. return fmt.Errorf("proto: wrong wireType = %d for field CephFS", wireType)
  37073. }
  37074. var msglen int
  37075. for shift := uint(0); ; shift += 7 {
  37076. if shift >= 64 {
  37077. return ErrIntOverflowGenerated
  37078. }
  37079. if iNdEx >= l {
  37080. return io.ErrUnexpectedEOF
  37081. }
  37082. b := data[iNdEx]
  37083. iNdEx++
  37084. msglen |= (int(b) & 0x7F) << shift
  37085. if b < 0x80 {
  37086. break
  37087. }
  37088. }
  37089. if msglen < 0 {
  37090. return ErrInvalidLengthGenerated
  37091. }
  37092. postIndex := iNdEx + msglen
  37093. if postIndex > l {
  37094. return io.ErrUnexpectedEOF
  37095. }
  37096. if m.CephFS == nil {
  37097. m.CephFS = &CephFSVolumeSource{}
  37098. }
  37099. if err := m.CephFS.Unmarshal(data[iNdEx:postIndex]); err != nil {
  37100. return err
  37101. }
  37102. iNdEx = postIndex
  37103. case 15:
  37104. if wireType != 2 {
  37105. return fmt.Errorf("proto: wrong wireType = %d for field Flocker", wireType)
  37106. }
  37107. var msglen int
  37108. for shift := uint(0); ; shift += 7 {
  37109. if shift >= 64 {
  37110. return ErrIntOverflowGenerated
  37111. }
  37112. if iNdEx >= l {
  37113. return io.ErrUnexpectedEOF
  37114. }
  37115. b := data[iNdEx]
  37116. iNdEx++
  37117. msglen |= (int(b) & 0x7F) << shift
  37118. if b < 0x80 {
  37119. break
  37120. }
  37121. }
  37122. if msglen < 0 {
  37123. return ErrInvalidLengthGenerated
  37124. }
  37125. postIndex := iNdEx + msglen
  37126. if postIndex > l {
  37127. return io.ErrUnexpectedEOF
  37128. }
  37129. if m.Flocker == nil {
  37130. m.Flocker = &FlockerVolumeSource{}
  37131. }
  37132. if err := m.Flocker.Unmarshal(data[iNdEx:postIndex]); err != nil {
  37133. return err
  37134. }
  37135. iNdEx = postIndex
  37136. case 16:
  37137. if wireType != 2 {
  37138. return fmt.Errorf("proto: wrong wireType = %d for field DownwardAPI", wireType)
  37139. }
  37140. var msglen int
  37141. for shift := uint(0); ; shift += 7 {
  37142. if shift >= 64 {
  37143. return ErrIntOverflowGenerated
  37144. }
  37145. if iNdEx >= l {
  37146. return io.ErrUnexpectedEOF
  37147. }
  37148. b := data[iNdEx]
  37149. iNdEx++
  37150. msglen |= (int(b) & 0x7F) << shift
  37151. if b < 0x80 {
  37152. break
  37153. }
  37154. }
  37155. if msglen < 0 {
  37156. return ErrInvalidLengthGenerated
  37157. }
  37158. postIndex := iNdEx + msglen
  37159. if postIndex > l {
  37160. return io.ErrUnexpectedEOF
  37161. }
  37162. if m.DownwardAPI == nil {
  37163. m.DownwardAPI = &DownwardAPIVolumeSource{}
  37164. }
  37165. if err := m.DownwardAPI.Unmarshal(data[iNdEx:postIndex]); err != nil {
  37166. return err
  37167. }
  37168. iNdEx = postIndex
  37169. case 17:
  37170. if wireType != 2 {
  37171. return fmt.Errorf("proto: wrong wireType = %d for field FC", wireType)
  37172. }
  37173. var msglen int
  37174. for shift := uint(0); ; shift += 7 {
  37175. if shift >= 64 {
  37176. return ErrIntOverflowGenerated
  37177. }
  37178. if iNdEx >= l {
  37179. return io.ErrUnexpectedEOF
  37180. }
  37181. b := data[iNdEx]
  37182. iNdEx++
  37183. msglen |= (int(b) & 0x7F) << shift
  37184. if b < 0x80 {
  37185. break
  37186. }
  37187. }
  37188. if msglen < 0 {
  37189. return ErrInvalidLengthGenerated
  37190. }
  37191. postIndex := iNdEx + msglen
  37192. if postIndex > l {
  37193. return io.ErrUnexpectedEOF
  37194. }
  37195. if m.FC == nil {
  37196. m.FC = &FCVolumeSource{}
  37197. }
  37198. if err := m.FC.Unmarshal(data[iNdEx:postIndex]); err != nil {
  37199. return err
  37200. }
  37201. iNdEx = postIndex
  37202. case 18:
  37203. if wireType != 2 {
  37204. return fmt.Errorf("proto: wrong wireType = %d for field AzureFile", wireType)
  37205. }
  37206. var msglen int
  37207. for shift := uint(0); ; shift += 7 {
  37208. if shift >= 64 {
  37209. return ErrIntOverflowGenerated
  37210. }
  37211. if iNdEx >= l {
  37212. return io.ErrUnexpectedEOF
  37213. }
  37214. b := data[iNdEx]
  37215. iNdEx++
  37216. msglen |= (int(b) & 0x7F) << shift
  37217. if b < 0x80 {
  37218. break
  37219. }
  37220. }
  37221. if msglen < 0 {
  37222. return ErrInvalidLengthGenerated
  37223. }
  37224. postIndex := iNdEx + msglen
  37225. if postIndex > l {
  37226. return io.ErrUnexpectedEOF
  37227. }
  37228. if m.AzureFile == nil {
  37229. m.AzureFile = &AzureFileVolumeSource{}
  37230. }
  37231. if err := m.AzureFile.Unmarshal(data[iNdEx:postIndex]); err != nil {
  37232. return err
  37233. }
  37234. iNdEx = postIndex
  37235. case 19:
  37236. if wireType != 2 {
  37237. return fmt.Errorf("proto: wrong wireType = %d for field ConfigMap", wireType)
  37238. }
  37239. var msglen int
  37240. for shift := uint(0); ; shift += 7 {
  37241. if shift >= 64 {
  37242. return ErrIntOverflowGenerated
  37243. }
  37244. if iNdEx >= l {
  37245. return io.ErrUnexpectedEOF
  37246. }
  37247. b := data[iNdEx]
  37248. iNdEx++
  37249. msglen |= (int(b) & 0x7F) << shift
  37250. if b < 0x80 {
  37251. break
  37252. }
  37253. }
  37254. if msglen < 0 {
  37255. return ErrInvalidLengthGenerated
  37256. }
  37257. postIndex := iNdEx + msglen
  37258. if postIndex > l {
  37259. return io.ErrUnexpectedEOF
  37260. }
  37261. if m.ConfigMap == nil {
  37262. m.ConfigMap = &ConfigMapVolumeSource{}
  37263. }
  37264. if err := m.ConfigMap.Unmarshal(data[iNdEx:postIndex]); err != nil {
  37265. return err
  37266. }
  37267. iNdEx = postIndex
  37268. case 20:
  37269. if wireType != 2 {
  37270. return fmt.Errorf("proto: wrong wireType = %d for field VsphereVolume", wireType)
  37271. }
  37272. var msglen int
  37273. for shift := uint(0); ; shift += 7 {
  37274. if shift >= 64 {
  37275. return ErrIntOverflowGenerated
  37276. }
  37277. if iNdEx >= l {
  37278. return io.ErrUnexpectedEOF
  37279. }
  37280. b := data[iNdEx]
  37281. iNdEx++
  37282. msglen |= (int(b) & 0x7F) << shift
  37283. if b < 0x80 {
  37284. break
  37285. }
  37286. }
  37287. if msglen < 0 {
  37288. return ErrInvalidLengthGenerated
  37289. }
  37290. postIndex := iNdEx + msglen
  37291. if postIndex > l {
  37292. return io.ErrUnexpectedEOF
  37293. }
  37294. if m.VsphereVolume == nil {
  37295. m.VsphereVolume = &VsphereVirtualDiskVolumeSource{}
  37296. }
  37297. if err := m.VsphereVolume.Unmarshal(data[iNdEx:postIndex]); err != nil {
  37298. return err
  37299. }
  37300. iNdEx = postIndex
  37301. case 21:
  37302. if wireType != 2 {
  37303. return fmt.Errorf("proto: wrong wireType = %d for field Quobyte", wireType)
  37304. }
  37305. var msglen int
  37306. for shift := uint(0); ; shift += 7 {
  37307. if shift >= 64 {
  37308. return ErrIntOverflowGenerated
  37309. }
  37310. if iNdEx >= l {
  37311. return io.ErrUnexpectedEOF
  37312. }
  37313. b := data[iNdEx]
  37314. iNdEx++
  37315. msglen |= (int(b) & 0x7F) << shift
  37316. if b < 0x80 {
  37317. break
  37318. }
  37319. }
  37320. if msglen < 0 {
  37321. return ErrInvalidLengthGenerated
  37322. }
  37323. postIndex := iNdEx + msglen
  37324. if postIndex > l {
  37325. return io.ErrUnexpectedEOF
  37326. }
  37327. if m.Quobyte == nil {
  37328. m.Quobyte = &QuobyteVolumeSource{}
  37329. }
  37330. if err := m.Quobyte.Unmarshal(data[iNdEx:postIndex]); err != nil {
  37331. return err
  37332. }
  37333. iNdEx = postIndex
  37334. case 22:
  37335. if wireType != 2 {
  37336. return fmt.Errorf("proto: wrong wireType = %d for field AzureDisk", wireType)
  37337. }
  37338. var msglen int
  37339. for shift := uint(0); ; shift += 7 {
  37340. if shift >= 64 {
  37341. return ErrIntOverflowGenerated
  37342. }
  37343. if iNdEx >= l {
  37344. return io.ErrUnexpectedEOF
  37345. }
  37346. b := data[iNdEx]
  37347. iNdEx++
  37348. msglen |= (int(b) & 0x7F) << shift
  37349. if b < 0x80 {
  37350. break
  37351. }
  37352. }
  37353. if msglen < 0 {
  37354. return ErrInvalidLengthGenerated
  37355. }
  37356. postIndex := iNdEx + msglen
  37357. if postIndex > l {
  37358. return io.ErrUnexpectedEOF
  37359. }
  37360. if m.AzureDisk == nil {
  37361. m.AzureDisk = &AzureDiskVolumeSource{}
  37362. }
  37363. if err := m.AzureDisk.Unmarshal(data[iNdEx:postIndex]); err != nil {
  37364. return err
  37365. }
  37366. iNdEx = postIndex
  37367. default:
  37368. iNdEx = preIndex
  37369. skippy, err := skipGenerated(data[iNdEx:])
  37370. if err != nil {
  37371. return err
  37372. }
  37373. if skippy < 0 {
  37374. return ErrInvalidLengthGenerated
  37375. }
  37376. if (iNdEx + skippy) > l {
  37377. return io.ErrUnexpectedEOF
  37378. }
  37379. iNdEx += skippy
  37380. }
  37381. }
  37382. if iNdEx > l {
  37383. return io.ErrUnexpectedEOF
  37384. }
  37385. return nil
  37386. }
  37387. func (m *VsphereVirtualDiskVolumeSource) Unmarshal(data []byte) error {
  37388. l := len(data)
  37389. iNdEx := 0
  37390. for iNdEx < l {
  37391. preIndex := iNdEx
  37392. var wire uint64
  37393. for shift := uint(0); ; shift += 7 {
  37394. if shift >= 64 {
  37395. return ErrIntOverflowGenerated
  37396. }
  37397. if iNdEx >= l {
  37398. return io.ErrUnexpectedEOF
  37399. }
  37400. b := data[iNdEx]
  37401. iNdEx++
  37402. wire |= (uint64(b) & 0x7F) << shift
  37403. if b < 0x80 {
  37404. break
  37405. }
  37406. }
  37407. fieldNum := int32(wire >> 3)
  37408. wireType := int(wire & 0x7)
  37409. if wireType == 4 {
  37410. return fmt.Errorf("proto: VsphereVirtualDiskVolumeSource: wiretype end group for non-group")
  37411. }
  37412. if fieldNum <= 0 {
  37413. return fmt.Errorf("proto: VsphereVirtualDiskVolumeSource: illegal tag %d (wire type %d)", fieldNum, wire)
  37414. }
  37415. switch fieldNum {
  37416. case 1:
  37417. if wireType != 2 {
  37418. return fmt.Errorf("proto: wrong wireType = %d for field VolumePath", wireType)
  37419. }
  37420. var stringLen uint64
  37421. for shift := uint(0); ; shift += 7 {
  37422. if shift >= 64 {
  37423. return ErrIntOverflowGenerated
  37424. }
  37425. if iNdEx >= l {
  37426. return io.ErrUnexpectedEOF
  37427. }
  37428. b := data[iNdEx]
  37429. iNdEx++
  37430. stringLen |= (uint64(b) & 0x7F) << shift
  37431. if b < 0x80 {
  37432. break
  37433. }
  37434. }
  37435. intStringLen := int(stringLen)
  37436. if intStringLen < 0 {
  37437. return ErrInvalidLengthGenerated
  37438. }
  37439. postIndex := iNdEx + intStringLen
  37440. if postIndex > l {
  37441. return io.ErrUnexpectedEOF
  37442. }
  37443. m.VolumePath = string(data[iNdEx:postIndex])
  37444. iNdEx = postIndex
  37445. case 2:
  37446. if wireType != 2 {
  37447. return fmt.Errorf("proto: wrong wireType = %d for field FSType", wireType)
  37448. }
  37449. var stringLen uint64
  37450. for shift := uint(0); ; shift += 7 {
  37451. if shift >= 64 {
  37452. return ErrIntOverflowGenerated
  37453. }
  37454. if iNdEx >= l {
  37455. return io.ErrUnexpectedEOF
  37456. }
  37457. b := data[iNdEx]
  37458. iNdEx++
  37459. stringLen |= (uint64(b) & 0x7F) << shift
  37460. if b < 0x80 {
  37461. break
  37462. }
  37463. }
  37464. intStringLen := int(stringLen)
  37465. if intStringLen < 0 {
  37466. return ErrInvalidLengthGenerated
  37467. }
  37468. postIndex := iNdEx + intStringLen
  37469. if postIndex > l {
  37470. return io.ErrUnexpectedEOF
  37471. }
  37472. m.FSType = string(data[iNdEx:postIndex])
  37473. iNdEx = postIndex
  37474. default:
  37475. iNdEx = preIndex
  37476. skippy, err := skipGenerated(data[iNdEx:])
  37477. if err != nil {
  37478. return err
  37479. }
  37480. if skippy < 0 {
  37481. return ErrInvalidLengthGenerated
  37482. }
  37483. if (iNdEx + skippy) > l {
  37484. return io.ErrUnexpectedEOF
  37485. }
  37486. iNdEx += skippy
  37487. }
  37488. }
  37489. if iNdEx > l {
  37490. return io.ErrUnexpectedEOF
  37491. }
  37492. return nil
  37493. }
  37494. func (m *WeightedPodAffinityTerm) Unmarshal(data []byte) error {
  37495. l := len(data)
  37496. iNdEx := 0
  37497. for iNdEx < l {
  37498. preIndex := iNdEx
  37499. var wire uint64
  37500. for shift := uint(0); ; shift += 7 {
  37501. if shift >= 64 {
  37502. return ErrIntOverflowGenerated
  37503. }
  37504. if iNdEx >= l {
  37505. return io.ErrUnexpectedEOF
  37506. }
  37507. b := data[iNdEx]
  37508. iNdEx++
  37509. wire |= (uint64(b) & 0x7F) << shift
  37510. if b < 0x80 {
  37511. break
  37512. }
  37513. }
  37514. fieldNum := int32(wire >> 3)
  37515. wireType := int(wire & 0x7)
  37516. if wireType == 4 {
  37517. return fmt.Errorf("proto: WeightedPodAffinityTerm: wiretype end group for non-group")
  37518. }
  37519. if fieldNum <= 0 {
  37520. return fmt.Errorf("proto: WeightedPodAffinityTerm: illegal tag %d (wire type %d)", fieldNum, wire)
  37521. }
  37522. switch fieldNum {
  37523. case 1:
  37524. if wireType != 0 {
  37525. return fmt.Errorf("proto: wrong wireType = %d for field Weight", wireType)
  37526. }
  37527. m.Weight = 0
  37528. for shift := uint(0); ; shift += 7 {
  37529. if shift >= 64 {
  37530. return ErrIntOverflowGenerated
  37531. }
  37532. if iNdEx >= l {
  37533. return io.ErrUnexpectedEOF
  37534. }
  37535. b := data[iNdEx]
  37536. iNdEx++
  37537. m.Weight |= (int32(b) & 0x7F) << shift
  37538. if b < 0x80 {
  37539. break
  37540. }
  37541. }
  37542. case 2:
  37543. if wireType != 2 {
  37544. return fmt.Errorf("proto: wrong wireType = %d for field PodAffinityTerm", wireType)
  37545. }
  37546. var msglen int
  37547. for shift := uint(0); ; shift += 7 {
  37548. if shift >= 64 {
  37549. return ErrIntOverflowGenerated
  37550. }
  37551. if iNdEx >= l {
  37552. return io.ErrUnexpectedEOF
  37553. }
  37554. b := data[iNdEx]
  37555. iNdEx++
  37556. msglen |= (int(b) & 0x7F) << shift
  37557. if b < 0x80 {
  37558. break
  37559. }
  37560. }
  37561. if msglen < 0 {
  37562. return ErrInvalidLengthGenerated
  37563. }
  37564. postIndex := iNdEx + msglen
  37565. if postIndex > l {
  37566. return io.ErrUnexpectedEOF
  37567. }
  37568. if err := m.PodAffinityTerm.Unmarshal(data[iNdEx:postIndex]); err != nil {
  37569. return err
  37570. }
  37571. iNdEx = postIndex
  37572. default:
  37573. iNdEx = preIndex
  37574. skippy, err := skipGenerated(data[iNdEx:])
  37575. if err != nil {
  37576. return err
  37577. }
  37578. if skippy < 0 {
  37579. return ErrInvalidLengthGenerated
  37580. }
  37581. if (iNdEx + skippy) > l {
  37582. return io.ErrUnexpectedEOF
  37583. }
  37584. iNdEx += skippy
  37585. }
  37586. }
  37587. if iNdEx > l {
  37588. return io.ErrUnexpectedEOF
  37589. }
  37590. return nil
  37591. }
  37592. func skipGenerated(data []byte) (n int, err error) {
  37593. l := len(data)
  37594. iNdEx := 0
  37595. for iNdEx < l {
  37596. var wire uint64
  37597. for shift := uint(0); ; shift += 7 {
  37598. if shift >= 64 {
  37599. return 0, ErrIntOverflowGenerated
  37600. }
  37601. if iNdEx >= l {
  37602. return 0, io.ErrUnexpectedEOF
  37603. }
  37604. b := data[iNdEx]
  37605. iNdEx++
  37606. wire |= (uint64(b) & 0x7F) << shift
  37607. if b < 0x80 {
  37608. break
  37609. }
  37610. }
  37611. wireType := int(wire & 0x7)
  37612. switch wireType {
  37613. case 0:
  37614. for shift := uint(0); ; shift += 7 {
  37615. if shift >= 64 {
  37616. return 0, ErrIntOverflowGenerated
  37617. }
  37618. if iNdEx >= l {
  37619. return 0, io.ErrUnexpectedEOF
  37620. }
  37621. iNdEx++
  37622. if data[iNdEx-1] < 0x80 {
  37623. break
  37624. }
  37625. }
  37626. return iNdEx, nil
  37627. case 1:
  37628. iNdEx += 8
  37629. return iNdEx, nil
  37630. case 2:
  37631. var length int
  37632. for shift := uint(0); ; shift += 7 {
  37633. if shift >= 64 {
  37634. return 0, ErrIntOverflowGenerated
  37635. }
  37636. if iNdEx >= l {
  37637. return 0, io.ErrUnexpectedEOF
  37638. }
  37639. b := data[iNdEx]
  37640. iNdEx++
  37641. length |= (int(b) & 0x7F) << shift
  37642. if b < 0x80 {
  37643. break
  37644. }
  37645. }
  37646. iNdEx += length
  37647. if length < 0 {
  37648. return 0, ErrInvalidLengthGenerated
  37649. }
  37650. return iNdEx, nil
  37651. case 3:
  37652. for {
  37653. var innerWire uint64
  37654. var start int = iNdEx
  37655. for shift := uint(0); ; shift += 7 {
  37656. if shift >= 64 {
  37657. return 0, ErrIntOverflowGenerated
  37658. }
  37659. if iNdEx >= l {
  37660. return 0, io.ErrUnexpectedEOF
  37661. }
  37662. b := data[iNdEx]
  37663. iNdEx++
  37664. innerWire |= (uint64(b) & 0x7F) << shift
  37665. if b < 0x80 {
  37666. break
  37667. }
  37668. }
  37669. innerWireType := int(innerWire & 0x7)
  37670. if innerWireType == 4 {
  37671. break
  37672. }
  37673. next, err := skipGenerated(data[start:])
  37674. if err != nil {
  37675. return 0, err
  37676. }
  37677. iNdEx = start + next
  37678. }
  37679. return iNdEx, nil
  37680. case 4:
  37681. return iNdEx, nil
  37682. case 5:
  37683. iNdEx += 4
  37684. return iNdEx, nil
  37685. default:
  37686. return 0, fmt.Errorf("proto: illegal wireType %d", wireType)
  37687. }
  37688. }
  37689. panic("unreachable")
  37690. }
  37691. var (
  37692. ErrInvalidLengthGenerated = fmt.Errorf("proto: negative length found during unmarshaling")
  37693. ErrIntOverflowGenerated = fmt.Errorf("proto: integer overflow")
  37694. )
  37695. var fileDescriptorGenerated = []byte{
  37696. // 9750 bytes of a gzipped FileDescriptorProto
  37697. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0xec, 0x7d, 0x6d, 0x8c, 0x24, 0xc7,
  37698. 0x75, 0x98, 0x66, 0x66, 0xbf, 0xa6, 0xf6, 0xf3, 0xfa, 0x8e, 0xc7, 0xe5, 0x4a, 0xfc, 0x50, 0x8b,
  37699. 0xa4, 0xc8, 0x23, 0x6f, 0x8f, 0x77, 0x24, 0x4d, 0x52, 0x52, 0x24, 0xee, 0xee, 0xec, 0xde, 0xad,
  37700. 0x6f, 0xef, 0x6e, 0xf8, 0x66, 0xef, 0x4e, 0xb2, 0x18, 0x99, 0xbd, 0x33, 0xbd, 0xbb, 0xad, 0x9b,
  37701. 0x9d, 0x1e, 0x76, 0xf7, 0xec, 0xdd, 0x52, 0x31, 0xe0, 0x18, 0x8e, 0x83, 0xc0, 0x86, 0x23, 0x03,
  37702. 0x31, 0x12, 0x20, 0x09, 0xe2, 0x04, 0x88, 0x91, 0xc4, 0x88, 0x63, 0x39, 0x8a, 0x2d, 0x25, 0x86,
  37703. 0x11, 0x20, 0x8e, 0xa0, 0x7c, 0x38, 0x90, 0x81, 0x20, 0x36, 0x6c, 0x40, 0xb1, 0x6c, 0x04, 0xf9,
  37704. 0x91, 0x3f, 0x01, 0x92, 0x3f, 0x21, 0x8c, 0x24, 0xf5, 0xea, 0xbb, 0x7a, 0x7a, 0xb6, 0x7b, 0x96,
  37705. 0x37, 0x9b, 0xb3, 0x91, 0x1f, 0x0b, 0xec, 0xbc, 0xf7, 0xea, 0xd5, 0x47, 0x57, 0xbd, 0x7a, 0xef,
  37706. 0xd5, 0xab, 0x57, 0xe4, 0xe5, 0x7b, 0x6f, 0xc6, 0xcb, 0x41, 0x78, 0xe9, 0x5e, 0x6f, 0xc7, 0x8f,
  37707. 0x3a, 0x7e, 0xe2, 0xc7, 0x97, 0xba, 0xf7, 0xf6, 0x2e, 0x79, 0xdd, 0xe0, 0xd2, 0xe1, 0xe5, 0x4b,
  37708. 0x7b, 0x7e, 0xc7, 0x8f, 0xbc, 0xc4, 0x6f, 0x2d, 0x77, 0xa3, 0x30, 0x09, 0x9d, 0x4f, 0x70, 0xea,
  37709. 0x65, 0x4d, 0xbd, 0x4c, 0xa9, 0x97, 0x29, 0xf5, 0xf2, 0xe1, 0xe5, 0xa5, 0x8b, 0x7b, 0x41, 0xb2,
  37710. 0xdf, 0xdb, 0x59, 0x6e, 0x86, 0x07, 0x97, 0xf6, 0xc2, 0xbd, 0xf0, 0x12, 0x2b, 0xb4, 0xd3, 0xdb,
  37711. 0x65, 0xbf, 0xd8, 0x0f, 0xf6, 0x1f, 0x67, 0xb6, 0x74, 0x65, 0x70, 0xd5, 0x91, 0x1f, 0x87, 0xbd,
  37712. 0xa8, 0xe9, 0xa7, 0x1b, 0xb0, 0xf4, 0xfa, 0xe0, 0x32, 0xbd, 0xce, 0xa1, 0x1f, 0xc5, 0x41, 0xd8,
  37713. 0xf1, 0x5b, 0x7d, 0xc5, 0x2e, 0x66, 0x17, 0x8b, 0x7a, 0x9d, 0x24, 0x38, 0xe8, 0xaf, 0xe5, 0x72,
  37714. 0x36, 0x79, 0x2f, 0x09, 0xda, 0x97, 0x82, 0x4e, 0x12, 0x27, 0x51, 0xba, 0x88, 0xfb, 0xbb, 0x25,
  37715. 0xf2, 0xcc, 0xca, 0xdd, 0xc6, 0x7a, 0xdb, 0x8b, 0x93, 0xa0, 0xb9, 0xda, 0x0e, 0x9b, 0xf7, 0x1a,
  37716. 0x49, 0x18, 0xf9, 0x77, 0xc2, 0x76, 0xef, 0xc0, 0x6f, 0xb0, 0xde, 0x38, 0x2f, 0x93, 0xa9, 0x43,
  37717. 0xf6, 0x7b, 0xb3, 0xb6, 0x58, 0x7a, 0xa6, 0xf4, 0x42, 0x75, 0x75, 0xe1, 0xbb, 0xdf, 0x7f, 0xfa,
  37718. 0x63, 0x7f, 0xf4, 0xfd, 0xa7, 0xa7, 0xee, 0x08, 0x38, 0x28, 0x0a, 0xe7, 0x79, 0x32, 0xb1, 0x1b,
  37719. 0x6f, 0x1f, 0x75, 0xfd, 0xc5, 0x32, 0xa3, 0x9d, 0x13, 0xb4, 0x13, 0x1b, 0x0d, 0x84, 0x82, 0xc0,
  37720. 0x3a, 0x97, 0x48, 0xb5, 0xeb, 0x45, 0x49, 0x90, 0xd0, 0xbe, 0x2f, 0x56, 0x28, 0xe9, 0xf8, 0xea,
  37721. 0x19, 0x41, 0x5a, 0xad, 0x4b, 0x04, 0x68, 0x1a, 0x6c, 0x46, 0xe4, 0x7b, 0xad, 0x5b, 0x9d, 0xf6,
  37722. 0xd1, 0xe2, 0x18, 0xa5, 0x9f, 0xd2, 0xcd, 0x00, 0x01, 0x07, 0x45, 0xe1, 0x7e, 0xab, 0x4c, 0xa6,
  37723. 0x56, 0x76, 0x77, 0x83, 0x4e, 0x90, 0x1c, 0x39, 0xef, 0x91, 0x99, 0x4e, 0xd8, 0xf2, 0xe5, 0x6f,
  37724. 0xd6, 0x8b, 0xe9, 0x2b, 0x17, 0x96, 0x8f, 0x9b, 0x17, 0xcb, 0x37, 0x8d, 0x12, 0xab, 0x0b, 0xb4,
  37725. 0x9a, 0x19, 0x13, 0x02, 0x16, 0x47, 0xe7, 0x5d, 0x32, 0xdd, 0x0d, 0x5b, 0xaa, 0x82, 0x32, 0xab,
  37726. 0xe0, 0xc5, 0xe3, 0x2b, 0xa8, 0xeb, 0x02, 0xab, 0xf3, 0x94, 0xff, 0xb4, 0x01, 0x00, 0x93, 0x9d,
  37727. 0xd3, 0x26, 0xf3, 0xf8, 0x93, 0x7e, 0x76, 0x55, 0x43, 0x85, 0xd5, 0x70, 0x31, 0xbf, 0x06, 0xa3,
  37728. 0xd0, 0xea, 0x59, 0x5a, 0xcb, 0x7c, 0x0a, 0x08, 0x69, 0xd6, 0xee, 0x07, 0x64, 0x6e, 0x25, 0x49,
  37729. 0xbc, 0xe6, 0xbe, 0xdf, 0xe2, 0xdf, 0xd7, 0x79, 0x8d, 0x8c, 0x75, 0xbc, 0x03, 0x5f, 0x7c, 0xfd,
  37730. 0x67, 0xc4, 0xb0, 0x8f, 0xdd, 0xa4, 0xb0, 0x0f, 0xbf, 0xff, 0xf4, 0xc2, 0xed, 0x4e, 0xf0, 0x7e,
  37731. 0x4f, 0xcc, 0x19, 0x84, 0x01, 0xa3, 0x76, 0xae, 0x10, 0xd2, 0xf2, 0x0f, 0x83, 0xa6, 0x5f, 0xf7,
  37732. 0x92, 0x7d, 0x31, 0x1b, 0x1c, 0x51, 0x96, 0xd4, 0x14, 0x06, 0x0c, 0x2a, 0xf7, 0x27, 0x4a, 0xa4,
  37733. 0xba, 0x72, 0x18, 0x06, 0x2d, 0xda, 0xca, 0xd8, 0xe9, 0xd1, 0x7e, 0x47, 0xfe, 0xae, 0x1f, 0x29,
  37734. 0x10, 0x6d, 0x42, 0x85, 0xf6, 0xfb, 0x4a, 0x4e, 0xbf, 0xed, 0x42, 0xeb, 0x9d, 0x24, 0x3a, 0x5a,
  37735. 0x7d, 0x5c, 0x54, 0x3d, 0x9f, 0xc2, 0x42, 0xba, 0x0e, 0xf7, 0xe7, 0xca, 0xe4, 0xb1, 0x95, 0x0f,
  37736. 0x7a, 0x91, 0x5f, 0x0b, 0xe2, 0x7b, 0xe9, 0xa5, 0xd0, 0xa2, 0xb0, 0x9b, 0x7a, 0x30, 0xd4, 0x1c,
  37737. 0xac, 0x09, 0x38, 0x28, 0x0a, 0xe7, 0x22, 0x99, 0xc4, 0xff, 0x6f, 0xc3, 0xa6, 0xe8, 0xfd, 0x59,
  37738. 0x41, 0x3c, 0x5d, 0xf3, 0x12, 0xaf, 0xc6, 0x51, 0x20, 0x69, 0x9c, 0x1b, 0x64, 0xba, 0x49, 0x47,
  37739. 0x3d, 0xe8, 0xec, 0xdd, 0xa0, 0x53, 0x8b, 0x7d, 0xe1, 0xea, 0xea, 0x4b, 0x48, 0xbe, 0xa6, 0xc1,
  37740. 0x74, 0xbc, 0x17, 0x79, 0xdb, 0x04, 0x0b, 0x03, 0x07, 0x66, 0x79, 0xc7, 0x55, 0x0b, 0x71, 0x8c,
  37741. 0x71, 0x22, 0x19, 0x8b, 0xf0, 0x05, 0x63, 0x4d, 0x8d, 0xb3, 0x35, 0x35, 0x33, 0x60, 0x3d, 0xfd,
  37742. 0xa3, 0x92, 0x18, 0x93, 0x8d, 0xa0, 0x6d, 0x8b, 0x07, 0xfa, 0x99, 0x63, 0xbf, 0x19, 0xf9, 0x89,
  37743. 0x31, 0x2a, 0xea, 0x33, 0x37, 0x14, 0x06, 0x0c, 0x2a, 0x5c, 0xfc, 0xf1, 0xbe, 0x17, 0xb1, 0xd9,
  37744. 0x22, 0xc6, 0x46, 0x2d, 0xfe, 0x86, 0x44, 0x80, 0xa6, 0xb1, 0x16, 0x7f, 0x25, 0x77, 0xf1, 0xff,
  37745. 0xf3, 0x12, 0x99, 0x5c, 0x0d, 0x3a, 0x2d, 0x3a, 0x14, 0xce, 0x17, 0xc9, 0xd4, 0x81, 0x9f, 0x78,
  37746. 0x2d, 0x3a, 0x5c, 0x62, 0xdd, 0xbf, 0x70, 0xfc, 0xe4, 0xb9, 0xb5, 0xf3, 0x55, 0xbf, 0x99, 0xdc,
  37747. 0xa0, 0x65, 0x74, 0x37, 0x34, 0x0c, 0x14, 0x37, 0xe7, 0x36, 0x99, 0x48, 0xbc, 0x68, 0xcf, 0x4f,
  37748. 0xc4, 0x72, 0xbf, 0x58, 0x84, 0x2f, 0xe0, 0x54, 0xf3, 0x3b, 0x4d, 0x5f, 0x0b, 0xc6, 0x6d, 0xc6,
  37749. 0x04, 0x04, 0x33, 0xb7, 0x49, 0x66, 0xd6, 0xbc, 0xae, 0xb7, 0x13, 0xb4, 0xa9, 0xdc, 0xf3, 0x63,
  37750. 0xe7, 0xd3, 0xa4, 0xe2, 0xb5, 0x5a, 0x6c, 0xe2, 0x57, 0x57, 0x1f, 0xa3, 0x05, 0x2a, 0x2b, 0xad,
  37751. 0x16, 0x9d, 0x06, 0x44, 0x51, 0x1d, 0x01, 0x52, 0x38, 0x17, 0xc8, 0x58, 0x2b, 0x0a, 0xbb, 0xb4,
  37752. 0x35, 0x48, 0x79, 0x1e, 0x57, 0x68, 0x8d, 0xfe, 0x4e, 0x91, 0x32, 0x1a, 0xf7, 0x5f, 0x97, 0x89,
  37753. 0xb3, 0xe6, 0x77, 0xf7, 0x37, 0x1a, 0xd6, 0xb7, 0xa4, 0xf3, 0xe1, 0x20, 0xa4, 0x42, 0x20, 0x8c,
  37754. 0x62, 0x51, 0x21, 0x9b, 0x0f, 0x37, 0x04, 0x0c, 0x14, 0xd6, 0x79, 0x86, 0x8c, 0x75, 0xf5, 0xb2,
  37755. 0x9e, 0x91, 0x22, 0x81, 0x2d, 0x68, 0x86, 0x41, 0x8a, 0x5e, 0xec, 0x47, 0x62, 0x1e, 0x2b, 0x8a,
  37756. 0xdb, 0x14, 0x06, 0x0c, 0xa3, 0x67, 0x0e, 0xce, 0x29, 0x31, 0x4b, 0x53, 0x33, 0x07, 0x31, 0x60,
  37757. 0x50, 0x39, 0x3f, 0x4a, 0x67, 0x0e, 0xfb, 0x45, 0x07, 0x92, 0x4d, 0xd9, 0x5c, 0x61, 0xb0, 0x15,
  37758. 0x36, 0xbd, 0x76, 0x7a, 0xf0, 0x67, 0xd9, 0x4c, 0x93, 0x8c, 0x40, 0xf3, 0xb4, 0x66, 0xda, 0x44,
  37759. 0xee, 0x4c, 0xfb, 0x1b, 0x25, 0x3a, 0x8e, 0x74, 0xa6, 0xf9, 0xd1, 0x29, 0x6c, 0x99, 0xc3, 0x2d,
  37760. 0x82, 0x3f, 0xc0, 0xa6, 0x85, 0x07, 0x5d, 0xaa, 0x5a, 0x74, 0x92, 0xb5, 0x90, 0xae, 0x06, 0xb6,
  37761. 0x8d, 0x7e, 0x86, 0x8c, 0x25, 0x58, 0x15, 0x6f, 0xd6, 0xf3, 0xf2, 0xb3, 0x60, 0x05, 0x74, 0xa6,
  37762. 0x9c, 0xef, 0x2f, 0xc1, 0x9a, 0xc0, 0xca, 0x38, 0x6f, 0x91, 0x89, 0x38, 0xf1, 0x92, 0x5e, 0x2c,
  37763. 0x1a, 0xfa, 0x49, 0xd9, 0xd0, 0x06, 0x83, 0xd2, 0xf2, 0xf3, 0xaa, 0x18, 0x07, 0x81, 0x28, 0xe0,
  37764. 0xbc, 0x48, 0x26, 0x0f, 0xfc, 0x38, 0xf6, 0xf6, 0xa4, 0x60, 0x9b, 0x17, 0x65, 0x27, 0x6f, 0x70,
  37765. 0x30, 0x48, 0xbc, 0xf3, 0x29, 0x32, 0xee, 0x47, 0x51, 0x18, 0x89, 0x19, 0x31, 0x2b, 0x08, 0xc7,
  37766. 0xd7, 0x11, 0x08, 0x1c, 0xe7, 0xfe, 0x4e, 0x89, 0xcc, 0xab, 0xb6, 0xf2, 0xba, 0x46, 0xb8, 0xd4,
  37767. 0x5b, 0x84, 0x34, 0x65, 0xc7, 0x62, 0xb6, 0xc0, 0xa6, 0xaf, 0xbc, 0x72, 0x3c, 0xef, 0xfe, 0x81,
  37768. 0xd4, 0x75, 0x28, 0x50, 0x0c, 0x06, 0x5f, 0xf7, 0xbb, 0x25, 0x72, 0x36, 0xd5, 0xa7, 0xad, 0x20,
  37769. 0x4e, 0x9c, 0x3f, 0xdf, 0xd7, 0xaf, 0x4b, 0xc7, 0xd4, 0x6d, 0x68, 0x94, 0xcb, 0x58, 0x9c, 0x75,
  37770. 0x4f, 0x4d, 0x14, 0x09, 0x31, 0x3a, 0x07, 0x64, 0x3c, 0x48, 0xfc, 0x03, 0xd9, 0xaf, 0x8b, 0x05,
  37771. 0xfb, 0xc5, 0x1b, 0xa8, 0x3f, 0xcf, 0x26, 0xf2, 0x00, 0xce, 0xca, 0xfd, 0x1f, 0x74, 0x1f, 0xa7,
  37772. 0xbd, 0xdc, 0x0d, 0xf6, 0x6e, 0x78, 0xdd, 0x11, 0x7e, 0x98, 0x06, 0x95, 0x79, 0xc8, 0x95, 0x37,
  37773. 0xfd, 0x72, 0x5e, 0xd3, 0x45, 0x83, 0x96, 0x71, 0xf3, 0xe4, 0x5a, 0x81, 0x92, 0x4b, 0x08, 0x02,
  37774. 0xc6, 0x6c, 0xe9, 0x0d, 0x52, 0x55, 0x04, 0xce, 0x02, 0xa9, 0xdc, 0xf3, 0xb9, 0xca, 0x58, 0x05,
  37775. 0xfc, 0xd7, 0x39, 0x47, 0xc6, 0x0f, 0xbd, 0x76, 0x4f, 0xac, 0x56, 0xe0, 0x3f, 0x3e, 0x53, 0x7e,
  37776. 0xb3, 0xe4, 0xfe, 0x46, 0x89, 0x9c, 0x53, 0x95, 0x5c, 0xf7, 0x8f, 0x1a, 0x7e, 0x9b, 0x36, 0x39,
  37777. 0x8c, 0x9c, 0x9f, 0xa4, 0x88, 0x76, 0x86, 0x1c, 0x12, 0xa3, 0x71, 0x12, 0x09, 0xf6, 0x09, 0xd1,
  37778. 0xf0, 0x73, 0x59, 0x58, 0xc8, 0xac, 0xcd, 0x79, 0x92, 0xf7, 0x85, 0x2f, 0xde, 0x69, 0xc1, 0xa0,
  37779. 0x42, 0x1b, 0xca, 0x3a, 0x86, 0xcd, 0x9f, 0x55, 0xcd, 0x3f, 0x8d, 0x99, 0xb7, 0x65, 0xcf, 0xbc,
  37780. 0x4f, 0x17, 0xfc, 0x7c, 0x03, 0xe6, 0xdc, 0xdf, 0xa1, 0x6a, 0x9b, 0xa2, 0xb1, 0xc4, 0xf1, 0x23,
  37781. 0x32, 0xfc, 0xc3, 0x75, 0x97, 0x7e, 0x96, 0xed, 0x10, 0xf7, 0xd3, 0xec, 0xee, 0x3a, 0x97, 0xc9,
  37782. 0x74, 0xcb, 0xdf, 0xf5, 0x7a, 0xed, 0x44, 0xa9, 0x8b, 0xe3, 0xdc, 0x8e, 0xa8, 0x69, 0x30, 0x98,
  37783. 0x34, 0xee, 0x6f, 0x57, 0xd9, 0xaa, 0x4c, 0xbc, 0x80, 0x9a, 0x81, 0xb8, 0x41, 0x1b, 0x5a, 0xfd,
  37784. 0x8c, 0xa9, 0xd5, 0x0b, 0x0d, 0x9e, 0x4a, 0xe2, 0xe0, 0x00, 0x45, 0x76, 0xd9, 0x96, 0xc4, 0x9b,
  37785. 0x08, 0x04, 0x8e, 0x73, 0x9e, 0x23, 0x93, 0xd4, 0x74, 0x3e, 0xf0, 0x3a, 0x2d, 0xda, 0x06, 0x54,
  37786. 0x19, 0xa6, 0x51, 0xaa, 0xaf, 0x71, 0x10, 0x48, 0x9c, 0xf3, 0x09, 0x32, 0x46, 0xf5, 0x9b, 0x98,
  37787. 0x0a, 0x75, 0xa4, 0x99, 0xc2, 0x9a, 0x56, 0xe8, 0x6f, 0x60, 0x50, 0x54, 0x05, 0xee, 0x87, 0xd1,
  37788. 0x3d, 0xaa, 0xb0, 0xd5, 0x82, 0x88, 0xed, 0xeb, 0x86, 0x2a, 0x70, 0x57, 0x61, 0xc0, 0xa0, 0x72,
  37789. 0xea, 0x64, 0xbc, 0x1b, 0x46, 0x49, 0x4c, 0xb7, 0x69, 0x1c, 0xce, 0x97, 0x72, 0x67, 0x0f, 0xef,
  37790. 0x77, 0x9d, 0x96, 0xd1, 0x5d, 0xc1, 0x5f, 0x74, 0x48, 0x19, 0x23, 0x67, 0x8d, 0x54, 0xfc, 0xce,
  37791. 0xe1, 0xe2, 0x24, 0xe3, 0xf7, 0xec, 0xf1, 0xfc, 0xd6, 0x3b, 0x87, 0x77, 0xbc, 0x48, 0xaf, 0x22,
  37792. 0xfa, 0x1b, 0xb0, 0xb4, 0xd3, 0x24, 0x55, 0xe9, 0x08, 0x88, 0x17, 0xa7, 0x8a, 0x4c, 0x30, 0x10,
  37793. 0xe4, 0xe0, 0xbf, 0xdf, 0x0b, 0x22, 0xff, 0x80, 0x0a, 0xd7, 0x58, 0xeb, 0xc3, 0x12, 0x1b, 0x83,
  37794. 0xe6, 0x4b, 0x2b, 0x99, 0xe1, 0xea, 0xc3, 0x8d, 0xb0, 0x47, 0xa9, 0x17, 0xab, 0xac, 0xc9, 0x39,
  37795. 0x06, 0xe7, 0x1d, 0x5d, 0x62, 0xf5, 0x9c, 0x60, 0x3f, 0x63, 0x00, 0x63, 0xb0, 0x98, 0x52, 0xa3,
  37796. 0x76, 0xb6, 0x1d, 0x1c, 0xfa, 0x1d, 0xba, 0x2f, 0xd7, 0xa3, 0x70, 0xc7, 0x5f, 0x24, 0xac, 0x37,
  37797. 0x9f, 0xca, 0x33, 0xbe, 0x28, 0xe9, 0xea, 0x19, 0xca, 0x7b, 0x76, 0xcb, 0x2c, 0x0d, 0x36, 0x33,
  37798. 0xaa, 0xc9, 0xcd, 0xa1, 0xae, 0x12, 0x68, 0xf6, 0xd3, 0xc5, 0xd9, 0x3b, 0x94, 0xfd, 0x1c, 0x58,
  37799. 0xc5, 0x21, 0xc5, 0xce, 0xd9, 0x26, 0xd5, 0x76, 0xb0, 0xeb, 0x37, 0x8f, 0x9a, 0x54, 0xbb, 0x9c,
  37800. 0x61, 0xbc, 0x73, 0x96, 0xdc, 0x96, 0x24, 0xe7, 0xfa, 0xa1, 0xfa, 0x09, 0x9a, 0x91, 0x73, 0x87,
  37801. 0x9c, 0x4f, 0xfc, 0xe8, 0x20, 0xe8, 0x78, 0xb8, 0x69, 0x0b, 0xe5, 0x85, 0x59, 0xb8, 0xb3, 0x6c,
  37802. 0xd6, 0x3e, 0x25, 0x06, 0xf6, 0xfc, 0x76, 0x26, 0x15, 0x0c, 0x28, 0xed, 0xdc, 0x22, 0xf3, 0x6c,
  37803. 0x3d, 0xd5, 0x7b, 0xed, 0x76, 0x3d, 0x6c, 0x07, 0xcd, 0xa3, 0xc5, 0x39, 0xc6, 0xf0, 0x39, 0x69,
  37804. 0xb7, 0x6e, 0xda, 0x68, 0xd4, 0xeb, 0xf5, 0x2f, 0x48, 0x97, 0x46, 0xa7, 0x01, 0xd5, 0x6a, 0x7b,
  37805. 0x11, 0x55, 0xfa, 0x71, 0xee, 0xfb, 0x0f, 0x92, 0xc5, 0xf9, 0x22, 0x76, 0x4a, 0xc3, 0x2e, 0xc4,
  37806. 0x9d, 0x06, 0x29, 0x20, 0xa4, 0x59, 0xa3, 0xa8, 0x88, 0x13, 0x3a, 0xfa, 0x8b, 0x0b, 0x4c, 0x31,
  37807. 0x55, 0xeb, 0xab, 0x81, 0x40, 0xe0, 0x38, 0x66, 0xf6, 0xe1, 0x3f, 0xb7, 0x50, 0xf6, 0x9e, 0x61,
  37808. 0x84, 0xda, 0xec, 0x93, 0x08, 0xd0, 0x34, 0xb8, 0x61, 0x25, 0xc9, 0xd1, 0xa2, 0xc3, 0x48, 0xd5,
  37809. 0x52, 0xdb, 0xde, 0xfe, 0x12, 0x20, 0xdc, 0xdd, 0x21, 0x73, 0x6a, 0x59, 0xb3, 0xd1, 0x71, 0x9e,
  37810. 0x26, 0xe3, 0x28, 0xb9, 0xa4, 0xf5, 0x52, 0xc5, 0x26, 0xa0, 0x40, 0xa3, 0x4b, 0x9c, 0xc1, 0x59,
  37811. 0x13, 0x82, 0x0f, 0xfc, 0xd5, 0x23, 0xda, 0x6b, 0x26, 0xd6, 0x2a, 0x46, 0x13, 0x24, 0x02, 0x34,
  37812. 0x8d, 0xfb, 0xbf, 0xf9, 0xa6, 0xa8, 0x65, 0x47, 0x01, 0xb9, 0x49, 0x15, 0xf5, 0xfd, 0x30, 0x4e,
  37813. 0x90, 0x9a, 0xd5, 0x31, 0xae, 0x77, 0xc1, 0x6b, 0x02, 0x0e, 0x8a, 0xc2, 0xf9, 0x2c, 0x99, 0x6d,
  37814. 0x9a, 0x15, 0x08, 0x51, 0xfe, 0x98, 0x28, 0x62, 0xd7, 0x0e, 0x36, 0xad, 0xf3, 0x26, 0x99, 0x62,
  37815. 0xae, 0xbc, 0x66, 0xd8, 0x16, 0xfa, 0xb2, 0xdc, 0x99, 0xa6, 0xea, 0x02, 0xfe, 0xa1, 0xf1, 0x3f,
  37816. 0x28, 0x6a, 0xb4, 0x3a, 0xb0, 0x09, 0x9b, 0x75, 0x21, 0x6e, 0x95, 0xd5, 0x71, 0x8d, 0x41, 0x41,
  37817. 0x60, 0xdd, 0x5f, 0x29, 0x1b, 0xa3, 0x8c, 0x4a, 0x9f, 0xef, 0xfc, 0x08, 0x99, 0xbc, 0xef, 0x51,
  37818. 0xa5, 0xb5, 0xb3, 0x27, 0x76, 0xd0, 0x57, 0x0b, 0xca, 0x5e, 0x56, 0xfc, 0x2e, 0x2f, 0xca, 0xf7,
  37819. 0x09, 0xf1, 0x03, 0x24, 0x43, 0xe4, 0x1d, 0xf5, 0x3a, 0x1d, 0xe4, 0x5d, 0x1e, 0x9e, 0x37, 0xf0,
  37820. 0xa2, 0x9c, 0xb7, 0xf8, 0x01, 0x92, 0xa1, 0xb3, 0x4b, 0x88, 0x5c, 0x7d, 0x7e, 0x4b, 0xb8, 0xd0,
  37821. 0x7e, 0x68, 0x18, 0xf6, 0xdb, 0xaa, 0xf4, 0xea, 0x1c, 0xee, 0x4c, 0xfa, 0x37, 0x18, 0x9c, 0xdd,
  37822. 0x1e, 0x53, 0x44, 0xfa, 0x9b, 0x45, 0x25, 0x2a, 0x9d, 0xdc, 0x5e, 0x44, 0x69, 0x56, 0x12, 0x31,
  37823. 0x74, 0x2f, 0x15, 0x54, 0xa8, 0xb6, 0x83, 0x03, 0xdf, 0x5c, 0x2d, 0x82, 0x0b, 0x68, 0x86, 0xee,
  37824. 0xb7, 0x2b, 0x64, 0x71, 0x50, 0x7b, 0x71, 0x4e, 0xfa, 0x0f, 0x02, 0x6a, 0x8d, 0xb4, 0xf8, 0xcc,
  37825. 0x35, 0xe6, 0xe4, 0xba, 0x80, 0x83, 0xa2, 0xc0, 0xc9, 0x11, 0x07, 0x7b, 0x1d, 0xaf, 0x2d, 0xe6,
  37826. 0xaf, 0x9a, 0x1c, 0x0d, 0x06, 0x05, 0x81, 0x45, 0x3a, 0x2a, 0x75, 0x63, 0xe1, 0xc2, 0x35, 0x26,
  37827. 0x11, 0x30, 0x28, 0x08, 0xac, 0x69, 0xfe, 0x8d, 0xe5, 0x98, 0x7f, 0xd6, 0x18, 0x8d, 0x3f, 0xe4,
  37828. 0x31, 0xa2, 0xbb, 0x0e, 0x41, 0x37, 0x67, 0xbc, 0xcf, 0xd8, 0x4f, 0x0c, 0xcf, 0x5e, 0x69, 0x25,
  37829. 0x1b, 0x8a, 0x0d, 0x18, 0x2c, 0x9d, 0xd7, 0xc9, 0xb4, 0x5a, 0xa1, 0xd4, 0xfa, 0x9f, 0xb4, 0x1d,
  37830. 0x7f, 0x5a, 0x5c, 0xd5, 0xc0, 0xa4, 0x73, 0xbf, 0x9a, 0x9e, 0x32, 0x62, 0x61, 0x18, 0x23, 0x5c,
  37831. 0x2a, 0x3a, 0xc2, 0xe5, 0xe3, 0x47, 0xd8, 0xfd, 0x4f, 0x15, 0xb4, 0x9d, 0x8d, 0xca, 0x7a, 0x71,
  37832. 0x01, 0xa1, 0xf6, 0x0e, 0x4a, 0x78, 0xda, 0x30, 0xb1, 0x2c, 0x5f, 0x1e, 0x66, 0xdd, 0x98, 0xfb,
  37833. 0x01, 0x2e, 0x07, 0xce, 0xc9, 0xd9, 0xa7, 0x3b, 0xb4, 0x17, 0x33, 0x4b, 0xd2, 0x17, 0xcb, 0x71,
  37834. 0x38, 0xb6, 0x5a, 0x0b, 0xa7, 0x6c, 0x8c, 0x0d, 0x97, 0xd7, 0xa2, 0x99, 0xe3, 0xf6, 0x84, 0xda,
  37835. 0x81, 0x3c, 0x39, 0x50, 0xcd, 0x41, 0x15, 0xe2, 0x08, 0x38, 0x8e, 0xca, 0xd2, 0x19, 0xaa, 0x61,
  37836. 0xe1, 0x54, 0x59, 0x43, 0x05, 0x88, 0x4d, 0xbe, 0x71, 0xad, 0x29, 0x81, 0x81, 0x03, 0x8b, 0x52,
  37837. 0x2b, 0xca, 0x13, 0xc7, 0x28, 0xca, 0xf4, 0x0b, 0xb1, 0x7f, 0xd4, 0xac, 0x50, 0x5f, 0x68, 0x93,
  37838. 0x83, 0x41, 0xe2, 0xd3, 0x93, 0x68, 0xaa, 0xe0, 0x24, 0xba, 0x40, 0xe6, 0x6a, 0x9e, 0x7f, 0x10,
  37839. 0x76, 0xd6, 0x3b, 0xad, 0x6e, 0x18, 0xd0, 0x86, 0x2d, 0x92, 0x31, 0xb6, 0xa5, 0xf0, 0x15, 0x3f,
  37840. 0x86, 0x1c, 0x60, 0x0c, 0x95, 0x5d, 0xf7, 0xff, 0xd0, 0x7d, 0xad, 0x46, 0xed, 0xd3, 0xc4, 0xbf,
  37841. 0xd5, 0x65, 0xee, 0x07, 0x67, 0x83, 0x38, 0x7b, 0x91, 0xd7, 0xf4, 0xeb, 0x7e, 0x14, 0x84, 0x2d,
  37842. 0xba, 0xe3, 0x87, 0x1d, 0xe6, 0x70, 0xc7, 0x3d, 0x12, 0xbd, 0x89, 0xce, 0xd5, 0x3e, 0x2c, 0x64,
  37843. 0x94, 0x70, 0x5a, 0x64, 0xb6, 0x1b, 0xf9, 0x96, 0xbf, 0xa4, 0x94, 0xaf, 0x9f, 0xd7, 0xcd, 0x22,
  37844. 0x5c, 0x7d, 0xb4, 0x40, 0x60, 0x33, 0x75, 0xde, 0x26, 0x0b, 0x61, 0xd4, 0xdd, 0xf7, 0x3a, 0x35,
  37845. 0xbf, 0xeb, 0x77, 0x5a, 0xa8, 0x33, 0x0b, 0xa7, 0xd8, 0x39, 0x5a, 0x76, 0xe1, 0x56, 0x0a, 0x07,
  37846. 0x7d, 0xd4, 0xee, 0x2f, 0x51, 0x7b, 0xb1, 0x16, 0xde, 0xef, 0xdc, 0xf7, 0xa2, 0xd6, 0x4a, 0x7d,
  37847. 0x93, 0x2b, 0xc2, 0xcc, 0xc9, 0x28, 0x9d, 0x9b, 0xa5, 0x81, 0xce, 0xcd, 0x2f, 0x93, 0xa9, 0xdd,
  37848. 0xc0, 0x6f, 0xb7, 0xd0, 0x0b, 0xc9, 0xbb, 0x77, 0xb9, 0x88, 0x47, 0x63, 0x03, 0xcb, 0x48, 0xaf,
  37849. 0x00, 0xf7, 0xad, 0x6e, 0x08, 0x36, 0xa0, 0x18, 0x3a, 0x3d, 0xb2, 0x20, 0x35, 0x7d, 0x89, 0x15,
  37850. 0xab, 0xe3, 0xd5, 0x62, 0x86, 0x84, 0x5d, 0x0d, 0x1b, 0x0f, 0x48, 0x31, 0x84, 0xbe, 0x2a, 0xd0,
  37851. 0x42, 0x3b, 0xc0, 0xdd, 0x61, 0x8c, 0xcd, 0x15, 0x66, 0xa1, 0x31, 0x13, 0x92, 0x41, 0xdd, 0x5f,
  37852. 0x2c, 0x91, 0xc7, 0xfb, 0x46, 0x4b, 0xd8, 0xd7, 0x5f, 0x94, 0x86, 0x2d, 0x3f, 0x9d, 0xc9, 0x69,
  37853. 0x65, 0xe6, 0x98, 0x17, 0x33, 0x72, 0xcb, 0x05, 0x8c, 0xdc, 0x5b, 0xe4, 0xdc, 0xfa, 0x41, 0x37,
  37854. 0x39, 0xa2, 0x26, 0xa2, 0xd5, 0xc8, 0x37, 0xc8, 0xc4, 0x81, 0xdf, 0x0a, 0x7a, 0x07, 0xe2, 0xb3,
  37855. 0x3e, 0x2d, 0x05, 0xe9, 0x0d, 0x06, 0xa5, 0x5a, 0xd2, 0x2c, 0x9e, 0x7d, 0xd2, 0x05, 0xc8, 0x01,
  37856. 0x20, 0xc8, 0xdd, 0x1f, 0x94, 0xc8, 0xbc, 0x5c, 0x50, 0x2b, 0xad, 0x16, 0x1d, 0xb7, 0xd8, 0x59,
  37857. 0x22, 0xe5, 0xa0, 0x2b, 0x18, 0x11, 0xc1, 0xa8, 0x4c, 0x95, 0x26, 0x0a, 0xa5, 0x1a, 0x4c, 0x95,
  37858. 0xbb, 0xf2, 0xf5, 0xe4, 0x18, 0xf2, 0x68, 0x80, 0x59, 0x1f, 0xdb, 0x92, 0x07, 0x68, 0x76, 0x52,
  37859. 0xb3, 0x64, 0xa2, 0xba, 0x62, 0x3b, 0x96, 0xaf, 0x09, 0x38, 0x28, 0x0a, 0x74, 0xe7, 0xe3, 0x29,
  37860. 0x25, 0x3b, 0x65, 0xe1, 0xdb, 0x2e, 0x9b, 0x72, 0x37, 0x05, 0x0c, 0x14, 0xd6, 0xfd, 0x99, 0x12,
  37861. 0x99, 0x91, 0x7d, 0x2c, 0xa8, 0xe4, 0xe2, 0x22, 0xd1, 0x0a, 0xae, 0x5e, 0x24, 0xa8, 0xa4, 0x32,
  37862. 0x8c, 0xa5, 0x9b, 0x56, 0x86, 0xd1, 0x4d, 0xdd, 0x6f, 0x53, 0x9d, 0x53, 0x36, 0xa7, 0xd1, 0xdb,
  37863. 0x89, 0xfd, 0xc4, 0xf9, 0x0a, 0xa9, 0x7a, 0x7c, 0xf0, 0x7d, 0x39, 0xcf, 0x2e, 0xe6, 0x59, 0xe8,
  37864. 0xd6, 0x37, 0xd3, 0x8a, 0xc1, 0x8a, 0xe4, 0x03, 0x9a, 0xa5, 0x73, 0x48, 0xce, 0x74, 0xc2, 0x84,
  37865. 0xed, 0x07, 0x0a, 0x5f, 0xcc, 0x23, 0x9a, 0xae, 0xe7, 0x09, 0x51, 0xcf, 0x99, 0x9b, 0x69, 0x7e,
  37866. 0xd0, 0x5f, 0x05, 0xb5, 0xfb, 0x84, 0x17, 0xa3, 0xc2, 0xea, 0xba, 0x50, 0xac, 0xae, 0xc1, 0x4e,
  37867. 0x0c, 0xf7, 0x37, 0x4b, 0xa4, 0x2a, 0xc9, 0x46, 0xe9, 0x13, 0xbf, 0x4b, 0x26, 0x63, 0xf6, 0x69,
  37868. 0xe4, 0x30, 0xbd, 0x5c, 0xac, 0xe9, 0xfc, 0x7b, 0xea, 0xcd, 0x8f, 0xff, 0x8e, 0x41, 0x72, 0x63,
  37869. 0x6e, 0x48, 0xd5, 0x81, 0x47, 0xcf, 0x0d, 0xa9, 0x9a, 0x36, 0xc0, 0x0d, 0xf9, 0x0f, 0x4a, 0x64,
  37870. 0x82, 0x3b, 0x87, 0x8a, 0x79, 0xd8, 0x0c, 0x5f, 0xb2, 0xe6, 0x78, 0x07, 0x81, 0xc2, 0xb5, 0x4c,
  37871. 0x47, 0xba, 0xca, 0xfe, 0xd9, 0x88, 0xc2, 0x03, 0xb1, 0x11, 0x5c, 0x28, 0xe2, 0x9c, 0xe2, 0x82,
  37872. 0x8f, 0x4b, 0x93, 0x3b, 0x92, 0x01, 0x68, 0x5e, 0xee, 0x6f, 0x54, 0x70, 0xd5, 0x6b, 0x52, 0x6b,
  37873. 0x5b, 0x2b, 0x9d, 0xc6, 0xb6, 0x56, 0x1e, 0xfd, 0xb6, 0xf6, 0x3e, 0x99, 0x6f, 0x1a, 0x3e, 0x79,
  37874. 0xbd, 0x99, 0x5e, 0x29, 0xe8, 0x6e, 0x36, 0x1c, 0xf9, 0xdc, 0x19, 0xb2, 0x66, 0xb3, 0x83, 0x34,
  37875. 0x7f, 0xc7, 0x27, 0x33, 0xfc, 0x40, 0x51, 0xd4, 0x37, 0x96, 0x3b, 0x67, 0xb9, 0xdf, 0x85, 0x97,
  37876. 0x50, 0x95, 0xb1, 0xa0, 0x93, 0x86, 0xc1, 0x08, 0x2c, 0xb6, 0xee, 0x5f, 0x1b, 0x27, 0xe3, 0xeb,
  37877. 0x87, 0x54, 0x97, 0x19, 0xe1, 0x2a, 0x3f, 0x20, 0x73, 0x41, 0xe7, 0x30, 0x6c, 0x1f, 0xfa, 0x2d,
  37878. 0x8e, 0x3f, 0xd9, 0x8e, 0x76, 0x5e, 0x54, 0x32, 0xb7, 0x69, 0x31, 0x83, 0x14, 0xf3, 0x51, 0xd8,
  37879. 0x93, 0xef, 0x50, 0x53, 0x96, 0xcd, 0x08, 0x61, 0x4c, 0xe6, 0x38, 0x49, 0xd9, 0x80, 0x8a, 0x95,
  37880. 0xa3, 0xad, 0x5e, 0xee, 0x9f, 0x15, 0x8c, 0x9c, 0x7b, 0x64, 0x6e, 0x37, 0x88, 0xa8, 0xc5, 0x41,
  37881. 0x0d, 0x42, 0x6a, 0x05, 0x1c, 0x74, 0x4f, 0x62, 0x48, 0xaa, 0x21, 0xd9, 0xb0, 0x58, 0x41, 0x8a,
  37882. 0x35, 0x35, 0x92, 0x66, 0xd1, 0x8e, 0xd1, 0x75, 0x4d, 0x0e, 0x5f, 0x97, 0xf2, 0x25, 0x6d, 0x99,
  37883. 0x9c, 0xc0, 0x66, 0x8c, 0xc2, 0xa8, 0xc9, 0x0c, 0x9f, 0x29, 0xb6, 0xa5, 0x2b, 0x61, 0xc4, 0x2d,
  37884. 0x1e, 0x8e, 0x43, 0x99, 0xc6, 0xce, 0x8f, 0xab, 0xb6, 0x4c, 0xd3, 0xa7, 0xc4, 0xee, 0x37, 0x71,
  37885. 0x03, 0xc2, 0x51, 0x3c, 0x0d, 0xd9, 0x7d, 0xcd, 0x96, 0xdd, 0x9f, 0x2a, 0xf0, 0x71, 0x07, 0xc8,
  37886. 0xed, 0xf7, 0xc8, 0xb4, 0xf1, 0xed, 0xd1, 0x51, 0xd8, 0x94, 0x47, 0x9d, 0x42, 0x80, 0x2b, 0x05,
  37887. 0x42, 0x9d, 0x81, 0x82, 0xa6, 0xc1, 0x81, 0x41, 0xc5, 0x2b, 0x1d, 0x11, 0x81, 0x6a, 0x19, 0x30,
  37888. 0x8c, 0xfb, 0x2a, 0x21, 0xeb, 0x0f, 0xfc, 0xe6, 0x4a, 0x93, 0x1d, 0xc4, 0x1b, 0xe7, 0x26, 0xa5,
  37889. 0xc1, 0xe7, 0x26, 0xee, 0xbb, 0x74, 0x33, 0x7c, 0x80, 0x3b, 0xbb, 0x34, 0xd3, 0xe8, 0x12, 0xf1,
  37890. 0x19, 0x80, 0xb5, 0x6a, 0x4a, 0x4f, 0x52, 0x4e, 0x06, 0x02, 0xcb, 0x8e, 0xd1, 0x1f, 0x78, 0x62,
  37891. 0xc1, 0x1a, 0x26, 0xef, 0x3a, 0x02, 0x81, 0xe3, 0xdc, 0x6f, 0x94, 0xc8, 0xdc, 0xc6, 0x9a, 0xa5,
  37892. 0x27, 0x2f, 0x13, 0xc2, 0xf5, 0xcd, 0xbb, 0x77, 0x6f, 0x4a, 0x3f, 0x2a, 0x77, 0x76, 0x29, 0x28,
  37893. 0x18, 0x14, 0xce, 0x13, 0xa4, 0xd2, 0xee, 0x75, 0x84, 0x1a, 0x38, 0x89, 0xfe, 0xd9, 0xad, 0x5e,
  37894. 0x07, 0x10, 0x66, 0x04, 0x36, 0x54, 0x0a, 0x07, 0x36, 0xe4, 0x87, 0xf6, 0xfd, 0x7c, 0x85, 0x2c,
  37895. 0x6c, 0xb4, 0xfd, 0x07, 0x56, 0xab, 0x69, 0x55, 0xad, 0x28, 0xa0, 0x93, 0x27, 0xed, 0x26, 0xa9,
  37896. 0x31, 0x28, 0x08, 0x6c, 0xe1, 0x58, 0x0b, 0x2b, 0xce, 0xa4, 0x32, 0xe2, 0x38, 0x93, 0xdc, 0x3e,
  37897. 0x3b, 0xbb, 0x64, 0x32, 0xe4, 0xdf, 0x9f, 0x4a, 0x31, 0x9c, 0xe8, 0x9f, 0x3d, 0xbe, 0x31, 0xe9,
  37898. 0xf1, 0x59, 0x16, 0xb3, 0x87, 0x1f, 0x7a, 0x2b, 0x61, 0x29, 0xa0, 0x20, 0x99, 0x2f, 0x7d, 0x86,
  37899. 0xcc, 0x98, 0x94, 0x43, 0x9d, 0x7e, 0x6f, 0x91, 0xb3, 0x1b, 0x18, 0x41, 0x9a, 0x8a, 0x85, 0x79,
  37900. 0x9d, 0x9a, 0x70, 0x74, 0xa5, 0xc6, 0x56, 0x80, 0x98, 0x15, 0x09, 0x27, 0x50, 0x60, 0xd2, 0xb9,
  37901. 0xff, 0xa1, 0x44, 0x9e, 0xbc, 0xba, 0xb6, 0x5e, 0x47, 0x71, 0x10, 0x27, 0x74, 0x81, 0xf5, 0x05,
  37902. 0xe3, 0xd1, 0x4f, 0xd9, 0x6d, 0x19, 0x3c, 0xd5, 0xa7, 0xac, 0xd7, 0x18, 0x3b, 0x81, 0x7d, 0x54,
  37903. 0x22, 0x52, 0xa9, 0x5e, 0x78, 0xf6, 0x6a, 0x40, 0xbf, 0x7d, 0x37, 0x4c, 0xc7, 0xcf, 0x45, 0x14,
  37904. 0x16, 0x63, 0x5c, 0xd5, 0x51, 0x3a, 0x7e, 0x0e, 0x14, 0x06, 0x0c, 0x2a, 0x5e, 0xf3, 0x61, 0x80,
  37905. 0x82, 0x52, 0x74, 0xca, 0xa8, 0x99, 0xc3, 0x41, 0x51, 0x60, 0xc7, 0x5a, 0x41, 0xc4, 0x74, 0x8a,
  37906. 0x23, 0xb1, 0x12, 0x55, 0xc7, 0x6a, 0x12, 0x01, 0x9a, 0xc6, 0xfd, 0x5b, 0x25, 0xf2, 0xd8, 0xd5,
  37907. 0x76, 0x8f, 0x0e, 0x7b, 0xb4, 0x1b, 0x5b, 0x8d, 0x7d, 0x95, 0x54, 0x7d, 0xa9, 0xff, 0x8a, 0xb6,
  37908. 0xaa, 0xbd, 0x45, 0x29, 0xc6, 0x3c, 0x78, 0x4f, 0xd1, 0x15, 0x88, 0x15, 0x1b, 0x2e, 0xb2, 0xe9,
  37909. 0x5f, 0x94, 0xc9, 0xec, 0xb5, 0xed, 0xed, 0xfa, 0x55, 0x3f, 0x11, 0xb2, 0x34, 0xdf, 0x61, 0x53,
  37910. 0x37, 0xac, 0xd5, 0xe9, 0x2b, 0xcb, 0x03, 0x56, 0x0f, 0xc6, 0x4a, 0x2f, 0xf3, 0x58, 0xe9, 0xe5,
  37911. 0xcd, 0x4e, 0x72, 0x2b, 0x6a, 0x24, 0x11, 0x1e, 0x27, 0x64, 0x59, 0xb7, 0x52, 0xde, 0x57, 0x06,
  37912. 0xc9, 0x7b, 0x3a, 0x58, 0x13, 0x71, 0x73, 0xdf, 0x57, 0xc6, 0xf7, 0xc7, 0x95, 0x3a, 0xc1, 0xa0,
  37913. 0xd4, 0xf6, 0xad, 0xde, 0x86, 0x4d, 0xfe, 0x03, 0x04, 0x29, 0x15, 0x3c, 0xd3, 0xfb, 0x49, 0xd2,
  37914. 0xbd, 0x46, 0x3b, 0x4b, 0xa7, 0xbe, 0x58, 0xed, 0x39, 0xda, 0x1c, 0x0e, 0x06, 0x2f, 0xa0, 0x17,
  37915. 0x96, 0x86, 0xc5, 0x60, 0x72, 0x74, 0x1b, 0x84, 0x68, 0xdc, 0x43, 0x32, 0x51, 0xdc, 0xbf, 0x58,
  37916. 0x26, 0x93, 0xd7, 0xe8, 0x76, 0xd5, 0xa6, 0x2c, 0x37, 0xc8, 0x98, 0x4f, 0xb7, 0xb9, 0x62, 0x8a,
  37917. 0xa8, 0xde, 0x10, 0xb9, 0xc7, 0x09, 0x7f, 0x03, 0x2b, 0xef, 0x00, 0x99, 0xc4, 0x76, 0x5f, 0x55,
  37918. 0x01, 0x96, 0x2f, 0xe5, 0x8f, 0x82, 0x9a, 0x12, 0x7c, 0x37, 0x15, 0x20, 0x90, 0x8c, 0x98, 0x6f,
  37919. 0xa6, 0xd9, 0x6d, 0xa0, 0x94, 0x4a, 0x8a, 0xc5, 0x50, 0x6f, 0xaf, 0xd5, 0x39, 0xb9, 0xe0, 0xcb,
  37920. 0x7d, 0x33, 0x12, 0x08, 0x9a, 0x9d, 0xfb, 0x26, 0x39, 0xc7, 0x4e, 0xf7, 0xe8, 0x74, 0xb3, 0xd6,
  37921. 0x4c, 0xee, 0xe4, 0x74, 0xff, 0x6e, 0x99, 0x9c, 0xd9, 0x6c, 0xac, 0x35, 0x6c, 0xaf, 0xda, 0x9b,
  37922. 0x64, 0x86, 0x6f, 0xb3, 0x38, 0xe9, 0xbc, 0xb6, 0x28, 0xaf, 0xdc, 0xd1, 0xdb, 0x06, 0x0e, 0x2c,
  37923. 0x4a, 0x3c, 0x36, 0x0d, 0xde, 0xef, 0xa4, 0xe3, 0x7c, 0x36, 0xdf, 0xb9, 0x09, 0x08, 0x47, 0x34,
  37924. 0xee, 0xd8, 0x5c, 0xc4, 0x29, 0xb4, 0xda, 0xb5, 0x3f, 0x4f, 0x55, 0xfe, 0xb8, 0x19, 0x07, 0x74,
  37925. 0x01, 0xd0, 0xf5, 0xef, 0x35, 0xe5, 0xf4, 0xd5, 0x3a, 0x3c, 0x36, 0x55, 0x61, 0x21, 0x45, 0x6d,
  37926. 0xc8, 0xdb, 0xf1, 0xc2, 0xbb, 0x7e, 0x7e, 0xa4, 0xe5, 0x57, 0x49, 0x55, 0x45, 0xc4, 0xc8, 0x40,
  37927. 0xa6, 0x52, 0x76, 0x20, 0x53, 0x01, 0x81, 0x23, 0x7d, 0x9d, 0x95, 0x4c, 0x5f, 0xe7, 0x3f, 0xa6,
  37928. 0x1a, 0xac, 0x3a, 0xfc, 0xa7, 0xf3, 0xb0, 0x4a, 0x05, 0x6f, 0xc2, 0x8e, 0x93, 0xc4, 0xa4, 0x7e,
  37929. 0x2e, 0x67, 0x26, 0xf2, 0x95, 0xc0, 0xe7, 0x4a, 0x5d, 0x96, 0x05, 0xcd, 0xc6, 0xd9, 0x22, 0x93,
  37930. 0xdd, 0xc8, 0x6f, 0x24, 0x2c, 0x5c, 0x77, 0x08, 0x8e, 0x6c, 0x56, 0xd7, 0x79, 0x49, 0x90, 0x2c,
  37931. 0xdc, 0x5f, 0x2b, 0x11, 0xb2, 0x15, 0x1c, 0xd0, 0xcd, 0xc5, 0xeb, 0xec, 0xf9, 0x23, 0xb4, 0x06,
  37932. 0x6f, 0x92, 0xb1, 0xb8, 0x4b, 0x97, 0x76, 0xa1, 0x23, 0x20, 0xdd, 0xa2, 0x06, 0x2d, 0xa3, 0x3f,
  37933. 0x03, 0xfe, 0x02, 0xc6, 0xc7, 0xfd, 0x65, 0x42, 0xe6, 0x34, 0x19, 0xaa, 0xe3, 0xce, 0x45, 0x2b,
  37934. 0x3e, 0xf5, 0x89, 0x54, 0x7c, 0x6a, 0x95, 0x51, 0x1b, 0x21, 0xa9, 0x09, 0xa9, 0x1c, 0x78, 0x0f,
  37935. 0x84, 0xf6, 0xff, 0x7a, 0xd1, 0x06, 0x61, 0x4d, 0xcb, 0x37, 0xbc, 0x07, 0x5c, 0x1d, 0x7a, 0x49,
  37936. 0x4e, 0x20, 0x0a, 0xf9, 0x90, 0x1f, 0xf4, 0xb0, 0x15, 0x88, 0xe6, 0xc6, 0x4f, 0xfc, 0x67, 0xfd,
  37937. 0x9b, 0x09, 0x45, 0xac, 0x8e, 0xd5, 0x1a, 0x74, 0x84, 0xcb, 0x6e, 0xc8, 0x5a, 0x83, 0x4e, 0xba,
  37938. 0xd6, 0xa0, 0x53, 0xa0, 0xd6, 0xa0, 0x83, 0x61, 0x6c, 0x93, 0xc2, 0xd3, 0xcd, 0xc2, 0xa8, 0xa6,
  37939. 0xaf, 0xbc, 0x35, 0x54, 0xd5, 0xc2, 0x65, 0xce, 0xab, 0xbf, 0x24, 0x75, 0x40, 0x01, 0xcd, 0x6d,
  37940. 0x82, 0xac, 0xda, 0xf9, 0x05, 0x6a, 0x33, 0x88, 0xff, 0x31, 0x62, 0x89, 0x1a, 0x8f, 0x62, 0x97,
  37941. 0x7a, 0xfb, 0x24, 0xad, 0x11, 0x2c, 0x78, 0xa3, 0x7e, 0x48, 0x8a, 0x18, 0x1b, 0x99, 0xdb, 0xb6,
  37942. 0x54, 0x7b, 0x9c, 0x6f, 0x95, 0xc8, 0x39, 0xfa, 0x9d, 0x78, 0x8d, 0x1c, 0x06, 0x78, 0x30, 0x28,
  37943. 0x42, 0xc5, 0x36, 0x86, 0x9d, 0x27, 0x7d, 0x8c, 0x78, 0x73, 0x3f, 0x27, 0x8f, 0x1f, 0xb3, 0x48,
  37944. 0x72, 0x1b, 0x9d, 0xd9, 0xc2, 0xa5, 0x16, 0x99, 0x92, 0x13, 0x33, 0x43, 0xfb, 0x5e, 0x35, 0x37,
  37945. 0xe3, 0xe3, 0x57, 0xa0, 0x74, 0x84, 0x2d, 0xbf, 0xd3, 0xf3, 0x3a, 0x09, 0x86, 0xfe, 0x6b, 0x5d,
  37946. 0x9d, 0xd5, 0x22, 0x26, 0xe2, 0x08, 0x6b, 0xd9, 0x27, 0x33, 0xe6, 0x9c, 0x1b, 0x61, 0x4d, 0x21,
  37947. 0x39, 0x9b, 0x31, 0x9f, 0x46, 0x58, 0x61, 0x8f, 0x3c, 0x31, 0x70, 0x5e, 0x8c, 0xae, 0x5a, 0x74,
  37948. 0xee, 0x1b, 0x02, 0xf3, 0x34, 0x1c, 0x2c, 0x37, 0x6c, 0x07, 0xcb, 0x0b, 0x45, 0x97, 0xce, 0x00,
  37949. 0x2f, 0xcb, 0xae, 0xd9, 0x7e, 0xdc, 0x09, 0x9c, 0x6d, 0x32, 0xd1, 0x46, 0x88, 0x3c, 0xd5, 0x79,
  37950. 0x79, 0x98, 0xc5, 0xa9, 0x95, 0x0b, 0x06, 0x8f, 0x41, 0xf0, 0x72, 0x7f, 0xbd, 0x44, 0xc6, 0x4e,
  37951. 0x63, 0x78, 0xea, 0xf6, 0xf0, 0x0c, 0x52, 0x51, 0xc5, 0x9d, 0xcd, 0x65, 0xf0, 0xee, 0xaf, 0x3f,
  37952. 0xa0, 0xd6, 0x6c, 0xcc, 0x54, 0xc9, 0xcc, 0x11, 0xfa, 0xa5, 0x32, 0x99, 0xc6, 0x8a, 0xa4, 0xbf,
  37953. 0xe7, 0xb3, 0xe8, 0xff, 0xdb, 0xf1, 0xdb, 0xd2, 0x2d, 0x9c, 0x36, 0xbb, 0xb6, 0x4c, 0x24, 0xd8,
  37954. 0xb4, 0x58, 0x78, 0xd7, 0xf4, 0x9a, 0x0b, 0x95, 0x48, 0x15, 0xb6, 0x5c, 0xea, 0x60, 0xd3, 0xa2,
  37955. 0xe6, 0x7f, 0xdf, 0x4b, 0x9a, 0xfb, 0xc2, 0x24, 0x53, 0xcd, 0xbd, 0x8b, 0x40, 0xe0, 0x38, 0x67,
  37956. 0x85, 0xcc, 0xcb, 0x19, 0x7b, 0x87, 0x0f, 0x9d, 0x50, 0x17, 0xd5, 0x7d, 0x3b, 0xb0, 0xd1, 0x90,
  37957. 0xa6, 0x77, 0x3e, 0x43, 0xe6, 0x70, 0x70, 0xc2, 0x5e, 0x22, 0x83, 0x0e, 0xc6, 0x59, 0xd0, 0x01,
  37958. 0x0b, 0xf2, 0xdc, 0xb6, 0x30, 0x90, 0xa2, 0x74, 0x7f, 0x94, 0x9c, 0xdd, 0x0a, 0xbd, 0xd6, 0xaa,
  37959. 0xd7, 0xf6, 0x3a, 0x4d, 0x3f, 0xda, 0xec, 0xec, 0xe5, 0x9e, 0xcf, 0x9a, 0x67, 0xa8, 0xe5, 0xbc,
  37960. 0x33, 0x54, 0x37, 0x22, 0x8e, 0x59, 0x81, 0x08, 0x97, 0x79, 0x97, 0x4c, 0x06, 0xbc, 0x2a, 0x31,
  37961. 0x6b, 0x2f, 0xe7, 0x39, 0x87, 0xfa, 0xda, 0x68, 0x84, 0x7f, 0x70, 0x00, 0x48, 0x96, 0x68, 0x49,
  37962. 0x64, 0x79, 0x93, 0xf2, 0x8d, 0x35, 0xf7, 0xaf, 0x94, 0xc8, 0xfc, 0xcd, 0xd4, 0xa5, 0x2e, 0x8c,
  37963. 0xe5, 0xf2, 0xa3, 0x0c, 0xd7, 0x58, 0x83, 0x41, 0x41, 0x60, 0x1f, 0xba, 0x99, 0xfe, 0xd3, 0x65,
  37964. 0x52, 0x65, 0xb1, 0x97, 0x5d, 0xaf, 0x39, 0x4a, 0xa5, 0xf4, 0x86, 0xa5, 0x94, 0xe6, 0x18, 0x89,
  37965. 0xaa, 0x41, 0x83, 0x74, 0x52, 0xbc, 0xd6, 0x27, 0x2e, 0x39, 0x15, 0xb2, 0x0f, 0x35, 0x43, 0x7e,
  37966. 0x1f, 0x66, 0xce, 0xbe, 0x13, 0x25, 0x2f, 0x40, 0xb1, 0x53, 0x4d, 0x45, 0xfb, 0xe8, 0x9d, 0x6a,
  37967. 0xaa, 0xa6, 0x0d, 0x90, 0x4a, 0x75, 0xa3, 0xf5, 0x4c, 0x6c, 0x7f, 0x81, 0x05, 0xd2, 0x79, 0xed,
  37968. 0xe0, 0x03, 0x5f, 0x5d, 0x16, 0x7c, 0x5a, 0xc4, 0xc5, 0x09, 0xe8, 0x87, 0x4c, 0xc0, 0x88, 0x5f,
  37969. 0xfc, 0x0e, 0xa8, 0x2e, 0xe2, 0x5e, 0xa3, 0x33, 0xd5, 0x1e, 0x3b, 0xe7, 0x75, 0x32, 0xde, 0xdd,
  37970. 0xf7, 0x62, 0x3f, 0x15, 0xa1, 0x31, 0x5e, 0x47, 0x20, 0xe5, 0x36, 0xa7, 0x0a, 0x30, 0x08, 0x70,
  37971. 0x6a, 0xf7, 0x4f, 0xa8, 0xac, 0xc7, 0x98, 0x86, 0x11, 0xce, 0xb1, 0x6b, 0xd6, 0x1c, 0x7b, 0x3e,
  37972. 0xff, 0xe6, 0xf8, 0xc0, 0xe9, 0x55, 0x4f, 0x4d, 0xaf, 0x17, 0x0a, 0xf0, 0x3a, 0x7e, 0x66, 0x1d,
  37973. 0x90, 0x69, 0x76, 0x33, 0x5d, 0x84, 0xa6, 0xbc, 0x6a, 0x19, 0x50, 0x4f, 0xa7, 0x0c, 0xa8, 0x79,
  37974. 0x83, 0xd4, 0x30, 0xa3, 0x5e, 0x24, 0x93, 0x22, 0x14, 0x22, 0x1d, 0x3d, 0x28, 0x68, 0x41, 0xe2,
  37975. 0xdd, 0x5f, 0xad, 0x10, 0xeb, 0x26, 0xbc, 0xf3, 0x9d, 0x12, 0xa1, 0x4a, 0x0b, 0xbb, 0xba, 0xd0,
  37976. 0xaa, 0xf5, 0xd0, 0x5f, 0x86, 0x2e, 0xad, 0x56, 0xaf, 0x4d, 0xff, 0xdb, 0xdc, 0xeb, 0x84, 0x0a,
  37977. 0x8c, 0xbe, 0x9d, 0x1e, 0xf3, 0xae, 0x16, 0xbe, 0x80, 0xaf, 0xce, 0x42, 0xaf, 0xd0, 0xb6, 0x2c,
  37978. 0xc3, 0x50, 0xb5, 0xc0, 0x90, 0xad, 0x72, 0x7e, 0xaf, 0x44, 0x2e, 0xf1, 0xbb, 0xe0, 0xc5, 0x7b,
  37979. 0x52, 0xc8, 0xf0, 0xac, 0x4b, 0xa6, 0x9a, 0x1d, 0x06, 0x2b, 0xae, 0xbe, 0x21, 0x06, 0xf9, 0x52,
  37980. 0x7d, 0xb8, 0x5a, 0x61, 0xd8, 0x66, 0xba, 0xff, 0xaa, 0x42, 0xd7, 0x2f, 0x1d, 0x4f, 0x7d, 0x0f,
  37981. 0xf4, 0x75, 0x6b, 0x9a, 0x7c, 0x32, 0x35, 0x4d, 0xce, 0x58, 0xc4, 0x0f, 0xe7, 0x0a, 0x68, 0x42,
  37982. 0xce, 0xe0, 0x79, 0xe3, 0x35, 0xdf, 0x8b, 0x92, 0x1d, 0xdf, 0x63, 0x07, 0x8f, 0x62, 0x11, 0x0c,
  37983. 0x75, 0x98, 0xa9, 0xe2, 0x6b, 0xb6, 0xd2, 0xdc, 0xa0, 0xbf, 0x02, 0xe7, 0x3e, 0x71, 0xd8, 0x29,
  37984. 0x67, 0xe4, 0x51, 0xa5, 0x8b, 0x75, 0x26, 0x10, 0x0e, 0xd9, 0x21, 0xab, 0x5d, 0x12, 0xd5, 0x3a,
  37985. 0x5b, 0x7d, 0xec, 0x20, 0xa3, 0x0a, 0xe3, 0x28, 0x7b, 0xbc, 0xe8, 0x51, 0xf6, 0x44, 0x4e, 0xe0,
  37986. 0xee, 0x4f, 0x95, 0xc8, 0x59, 0xfc, 0x30, 0x76, 0x90, 0x67, 0xec, 0x84, 0x64, 0x1e, 0x7b, 0xd0,
  37987. 0xf6, 0x13, 0x09, 0x13, 0x2b, 0x2c, 0x47, 0x97, 0xb6, 0xf9, 0x68, 0x8d, 0xed, 0xba, 0xcd, 0x0c,
  37988. 0xd2, 0xdc, 0xdd, 0x5f, 0x2d, 0x11, 0x16, 0x45, 0x76, 0x1a, 0xfb, 0xd8, 0x55, 0x7b, 0x1f, 0x73,
  37989. 0xf3, 0x85, 0xc6, 0x80, 0x2d, 0xec, 0x35, 0xb2, 0x80, 0xd8, 0x7a, 0x14, 0x3e, 0x38, 0x92, 0xca,
  37990. 0x75, 0xbe, 0x6f, 0xf6, 0x2f, 0x97, 0xb8, 0xb8, 0x53, 0x5a, 0xf1, 0x7d, 0x0c, 0x14, 0xd3, 0xbf,
  37991. 0x71, 0x21, 0x4b, 0x25, 0x70, 0xb9, 0xb8, 0x40, 0x63, 0xeb, 0xdf, 0x88, 0x14, 0x4b, 0x31, 0x84,
  37992. 0xfe, 0x3a, 0xdc, 0xbf, 0x57, 0x22, 0x8f, 0x9b, 0x84, 0xc6, 0x75, 0xb1, 0x3c, 0x87, 0x68, 0x8d,
  37993. 0x4c, 0x85, 0x5d, 0xcc, 0xfc, 0xa2, 0x2c, 0x80, 0x17, 0xe4, 0x88, 0xdf, 0x12, 0x70, 0xba, 0x72,
  37994. 0xcf, 0x99, 0xdc, 0x25, 0x1c, 0x54, 0x49, 0xcc, 0x28, 0xc1, 0x2c, 0xd1, 0x58, 0x5c, 0xf4, 0x63,
  37995. 0x19, 0x25, 0xd8, 0x31, 0x00, 0x5d, 0xe4, 0x1c, 0xe3, 0xfe, 0xd5, 0x12, 0x1f, 0x65, 0xb3, 0xe9,
  37996. 0xce, 0xd7, 0xc8, 0xc2, 0x01, 0x1a, 0x0b, 0xeb, 0x0f, 0xba, 0xb8, 0x85, 0xb0, 0x63, 0xcc, 0x52,
  37997. 0x11, 0xc1, 0x39, 0xa0, 0xbb, 0xab, 0x8b, 0xa2, 0xf5, 0x0b, 0x37, 0x52, 0x6c, 0xa1, 0xaf, 0x22,
  37998. 0xf7, 0xf7, 0xc5, 0x5c, 0x65, 0x5a, 0x0b, 0x5d, 0x6c, 0xdd, 0xb0, 0xb5, 0xb6, 0x59, 0x03, 0x31,
  37999. 0x56, 0x6a, 0xb1, 0xd5, 0x39, 0x18, 0x24, 0x1e, 0xcf, 0xe5, 0x7c, 0x6a, 0xaa, 0x45, 0x54, 0x61,
  38000. 0xd9, 0xac, 0xa5, 0xd3, 0x97, 0xac, 0x2b, 0x0c, 0x18, 0x54, 0x58, 0xa6, 0x1b, 0x85, 0x87, 0x41,
  38001. 0x8b, 0x85, 0x6d, 0x57, 0xec, 0x32, 0x75, 0x85, 0x01, 0x83, 0x0a, 0x4d, 0xb4, 0x5e, 0x27, 0xe6,
  38002. 0x02, 0xdc, 0xdb, 0x11, 0x89, 0x10, 0xa6, 0xb4, 0x89, 0x76, 0xdb, 0x44, 0x82, 0x4d, 0xeb, 0xfe,
  38003. 0x4e, 0x95, 0x10, 0xad, 0x22, 0xa0, 0x87, 0x70, 0xaa, 0xe9, 0x51, 0x05, 0x89, 0x67, 0xb9, 0xa9,
  38004. 0xe4, 0xdf, 0x6f, 0xd1, 0x85, 0x97, 0xd7, 0x44, 0x41, 0xee, 0xdb, 0x7a, 0x45, 0x4e, 0x10, 0x09,
  38005. 0xce, 0xf5, 0x67, 0xa9, 0x9a, 0x9d, 0xaf, 0x97, 0xc8, 0xb4, 0xd7, 0xc6, 0x3b, 0xb0, 0x09, 0xeb,
  38006. 0x51, 0xb9, 0x88, 0xb3, 0xd2, 0x68, 0xc9, 0x8a, 0x2e, 0xcb, 0x1b, 0xf3, 0xaa, 0x3c, 0xd5, 0x32,
  38007. 0x30, 0xb9, 0xed, 0x31, 0x9b, 0xe0, 0xbc, 0x22, 0x55, 0x4b, 0xfe, 0x51, 0x96, 0xd2, 0xaa, 0x65,
  38008. 0x95, 0x89, 0x06, 0x43, 0xab, 0xc4, 0x9b, 0x22, 0x46, 0x0c, 0xfb, 0x58, 0x91, 0x3b, 0xa6, 0xd6,
  38009. 0xa6, 0x99, 0x77, 0xdd, 0x1f, 0xcf, 0xa2, 0x74, 0x44, 0xeb, 0x78, 0x91, 0x0b, 0x9c, 0x86, 0xee,
  38010. 0x96, 0x13, 0xcd, 0x9a, 0x90, 0xf9, 0x96, 0xbd, 0x49, 0x88, 0x10, 0xa5, 0xcb, 0xf9, 0x35, 0xa4,
  38011. 0x76, 0x17, 0xbd, 0x2d, 0xa4, 0x10, 0x90, 0xae, 0x82, 0xf6, 0x88, 0x45, 0x14, 0x6f, 0x76, 0x76,
  38012. 0x43, 0x11, 0xa5, 0xf4, 0x72, 0x81, 0x6f, 0x7e, 0x14, 0x53, 0xf1, 0x8c, 0x65, 0xf4, 0x36, 0x70,
  38013. 0x53, 0x70, 0x01, 0xc5, 0x0f, 0xdd, 0x44, 0xec, 0x76, 0x04, 0xde, 0xa9, 0xad, 0x0c, 0x71, 0x51,
  38014. 0x84, 0xdd, 0xad, 0xd0, 0x9b, 0x2f, 0xfb, 0x49, 0xc5, 0x15, 0xe7, 0x45, 0xf5, 0x7a, 0x71, 0xe5,
  38015. 0x35, 0xde, 0xec, 0xdc, 0x8e, 0x7d, 0x76, 0x8f, 0xb6, 0xba, 0xfa, 0xac, 0xbe, 0x18, 0xcb, 0xe1,
  38016. 0x99, 0x59, 0x8e, 0xac, 0x92, 0xb8, 0x07, 0x8b, 0xdf, 0x32, 0x79, 0xd2, 0x22, 0x29, 0xd2, 0x50,
  38017. 0x3b, 0xd5, 0x92, 0x1e, 0xec, 0x3b, 0x36, 0x33, 0x48, 0x73, 0x5f, 0x0a, 0xc8, 0xac, 0xb5, 0x62,
  38018. 0x47, 0xe8, 0xec, 0x6c, 0x93, 0x85, 0xf4, 0x92, 0x1c, 0xa1, 0x8f, 0xf3, 0x8f, 0xc7, 0xc8, 0x9c,
  38019. 0x3d, 0x31, 0x30, 0x82, 0xe1, 0x80, 0xa5, 0x36, 0xd2, 0x09, 0x55, 0xd4, 0xfc, 0xbf, 0x21, 0x11,
  38020. 0xa0, 0x69, 0x58, 0x6a, 0x19, 0x56, 0xfc, 0xf6, 0xed, 0x7e, 0xe1, 0xdd, 0x50, 0x18, 0x30, 0xa8,
  38021. 0x50, 0x61, 0xdb, 0x09, 0xc3, 0x44, 0x09, 0x6e, 0x35, 0x67, 0x56, 0x19, 0x14, 0x04, 0x16, 0x05,
  38022. 0xf6, 0x3d, 0xec, 0x50, 0xdb, 0xf6, 0x77, 0x29, 0x81, 0x7d, 0xdd, 0x44, 0x82, 0x4d, 0x8b, 0x1b,
  38023. 0x50, 0x18, 0xb3, 0x49, 0x28, 0xd4, 0x42, 0x1d, 0x8b, 0xd3, 0xe0, 0xb7, 0x85, 0x24, 0xde, 0xf9,
  38024. 0x12, 0x79, 0x5c, 0x5d, 0xee, 0x01, 0xee, 0x3f, 0x94, 0x35, 0x4e, 0x58, 0xb6, 0xdd, 0xe3, 0x6b,
  38025. 0xd9, 0x64, 0x30, 0xa8, 0x3c, 0x1e, 0xf1, 0x0a, 0x95, 0x4e, 0x72, 0x9c, 0xb4, 0x8f, 0x78, 0xaf,
  38026. 0x5b, 0x58, 0x48, 0x51, 0x53, 0x7d, 0x62, 0x01, 0x21, 0x4c, 0x95, 0x92, 0x1c, 0xf8, 0x25, 0x25,
  38027. 0xb5, 0x33, 0x5f, 0x4f, 0xe1, 0xa1, 0xaf, 0x04, 0xba, 0x0e, 0xb9, 0x6e, 0x81, 0x16, 0x0c, 0xfb,
  38028. 0x0e, 0x22, 0xaa, 0x50, 0x2d, 0x82, 0x5b, 0x36, 0x1a, 0xd2, 0xf4, 0x78, 0x46, 0xee, 0x45, 0xf4,
  38029. 0xa3, 0x27, 0x54, 0x45, 0xe8, 0x45, 0xfc, 0x86, 0xba, 0x71, 0x46, 0xbe, 0x62, 0xe0, 0xc0, 0xa2,
  38030. 0x74, 0x3f, 0x20, 0x67, 0x33, 0x82, 0x97, 0x71, 0xe2, 0xd0, 0x09, 0x2a, 0xfb, 0x94, 0x8a, 0xc6,
  38031. 0xc1, 0x1b, 0x2b, 0xa2, 0x37, 0x06, 0x15, 0xce, 0x4e, 0xe6, 0x38, 0x35, 0xf2, 0x9c, 0xa9, 0xd9,
  38032. 0xb9, 0x21, 0x11, 0xa0, 0x69, 0xdc, 0xff, 0x46, 0x77, 0x6d, 0xed, 0x66, 0x28, 0x10, 0x83, 0x41,
  38033. 0xbb, 0x29, 0x53, 0xf7, 0x19, 0x29, 0xb3, 0x54, 0x37, 0xaf, 0x1a, 0x38, 0xb0, 0x28, 0xb1, 0x6d,
  38034. 0x1d, 0xe9, 0x34, 0x49, 0xc7, 0xfe, 0x28, 0x6f, 0x0a, 0x68, 0x1a, 0xf4, 0xf1, 0xc5, 0x7e, 0x7b,
  38035. 0x77, 0x2b, 0xe8, 0xdc, 0x13, 0x13, 0x5b, 0x49, 0xe5, 0x86, 0x80, 0x83, 0xa2, 0x70, 0xde, 0x26,
  38036. 0x95, 0x5e, 0xd0, 0x12, 0x53, 0x79, 0x59, 0xea, 0x9d, 0x74, 0x35, 0x51, 0x89, 0xf9, 0x74, 0x76,
  38037. 0x3e, 0x42, 0x34, 0x23, 0xe3, 0x65, 0x5c, 0x7c, 0x58, 0x34, 0xcb, 0x7f, 0x3c, 0x31, 0xa4, 0xff,
  38038. 0x98, 0x7e, 0x33, 0xd1, 0x67, 0x39, 0x93, 0x2b, 0xfa, 0x9b, 0x5d, 0x55, 0x18, 0x30, 0xa8, 0xd0,
  38039. 0x18, 0x6d, 0x52, 0x03, 0x4c, 0x5a, 0x6b, 0x3c, 0xb2, 0x76, 0xea, 0x23, 0x18, 0xa3, 0x6b, 0x69,
  38040. 0x6e, 0xd0, 0x5f, 0x81, 0xd3, 0x25, 0x67, 0x5a, 0xb8, 0x8e, 0xac, 0x5a, 0xab, 0x27, 0x88, 0xe7,
  38041. 0xc5, 0x1a, 0x6b, 0x69, 0x4e, 0xd0, 0xcf, 0xdc, 0xf9, 0x0a, 0x59, 0x92, 0xc0, 0xfe, 0xeb, 0x7b,
  38042. 0x6c, 0xb9, 0x54, 0x56, 0x9f, 0xa2, 0xdc, 0x96, 0x6a, 0x03, 0xa9, 0xe0, 0x18, 0x0e, 0xce, 0xbb,
  38043. 0x64, 0x82, 0x9d, 0x38, 0xc4, 0x8b, 0xd3, 0x6c, 0xb7, 0x7b, 0xad, 0xa8, 0xc3, 0x6d, 0x99, 0x9d,
  38044. 0x5b, 0x88, 0x80, 0x44, 0x7d, 0x8a, 0xc3, 0x80, 0x20, 0x78, 0xd2, 0xf1, 0x9a, 0xf6, 0x3a, 0x9d,
  38045. 0x30, 0xf1, 0xb8, 0x12, 0x36, 0x53, 0x44, 0x8f, 0x34, 0xaa, 0x58, 0xd1, 0x65, 0x79, 0x3d, 0x2a,
  38046. 0x3a, 0xca, 0xc0, 0x80, 0x59, 0x05, 0x6e, 0xe3, 0xe1, 0x7d, 0x14, 0x98, 0xd2, 0xe9, 0x1e, 0x2f,
  38047. 0xce, 0x16, 0xd9, 0xc6, 0x6f, 0x59, 0x85, 0x0c, 0x09, 0x66, 0x33, 0x83, 0x34, 0x77, 0x0c, 0xb7,
  38048. 0x35, 0xfc, 0xa8, 0x73, 0x3a, 0xdc, 0x56, 0xfb, 0x51, 0x4d, 0xb7, 0x29, 0xbb, 0x1a, 0xca, 0x43,
  38049. 0xf3, 0x98, 0x24, 0x98, 0x4f, 0x5d, 0x0d, 0xd5, 0x28, 0x30, 0xe9, 0x96, 0xde, 0x22, 0xd3, 0xc6,
  38050. 0x80, 0x0f, 0x13, 0xd7, 0xb9, 0xf4, 0x79, 0xba, 0xfb, 0xa7, 0x06, 0x72, 0xa8, 0xb8, 0xd0, 0xff,
  38051. 0x5e, 0x26, 0xf3, 0x19, 0x27, 0x19, 0xf7, 0x02, 0x16, 0xf9, 0x6c, 0x89, 0xbc, 0xeb, 0x14, 0x06,
  38052. 0x0c, 0x63, 0x0b, 0xae, 0x72, 0x01, 0xc1, 0x25, 0xa5, 0x68, 0x65, 0xa0, 0x14, 0x15, 0xc2, 0x6a,
  38053. 0xec, 0xe4, 0xc2, 0xca, 0xde, 0x1d, 0xc6, 0x0b, 0xed, 0x0e, 0x0f, 0x41, 0xc0, 0x59, 0x1b, 0xcc,
  38054. 0x64, 0x81, 0x0d, 0xe6, 0xc3, 0x12, 0x99, 0xb3, 0x67, 0x5e, 0x81, 0x11, 0x7f, 0x54, 0x07, 0x70,
  38055. 0x99, 0x19, 0x62, 0x49, 0x14, 0xb6, 0xdb, 0x7e, 0x24, 0x22, 0xc5, 0xe6, 0x84, 0x5d, 0x25, 0xa0,
  38056. 0x60, 0x50, 0xb8, 0xbf, 0x50, 0x26, 0x0b, 0x3a, 0x6c, 0x58, 0xa4, 0x30, 0x1d, 0xdd, 0xd1, 0xc0,
  38057. 0xb6, 0x75, 0x34, 0x90, 0x97, 0x99, 0x34, 0xd5, 0xae, 0x81, 0xc7, 0x04, 0xef, 0xa6, 0x8e, 0x09,
  38058. 0x5e, 0x1b, 0x92, 0xef, 0xf1, 0x47, 0x06, 0xff, 0xa4, 0x4c, 0x1e, 0x4b, 0x17, 0x59, 0x6b, 0x7b,
  38059. 0xc1, 0xc1, 0x08, 0xc7, 0xe9, 0x4b, 0xd6, 0x38, 0xbd, 0x31, 0x5c, 0x7f, 0x58, 0xe3, 0x06, 0x0e,
  38060. 0x96, 0x97, 0x1a, 0xac, 0xb7, 0x4e, 0xc2, 0xfc, 0xf8, 0x11, 0xfb, 0x8f, 0x25, 0xf2, 0x44, 0x66,
  38061. 0xb9, 0xd3, 0x70, 0x81, 0x7e, 0xd1, 0x76, 0x81, 0xbe, 0x7a, 0x82, 0xee, 0x0d, 0xf0, 0x89, 0xfe,
  38062. 0x97, 0xf2, 0x80, 0x6e, 0x31, 0x6f, 0xd9, 0x2d, 0xba, 0xfd, 0x36, 0xe9, 0x26, 0x15, 0x63, 0x6c,
  38063. 0xa4, 0x3c, 0xe4, 0xbb, 0xc8, 0xf6, 0x4f, 0x0d, 0xa6, 0x6b, 0x7f, 0x29, 0xcd, 0x42, 0xa3, 0xc1,
  38064. 0xe4, 0x60, 0xe7, 0xc6, 0x2a, 0x8f, 0x28, 0x37, 0x16, 0x95, 0x31, 0x87, 0xca, 0x4a, 0x4f, 0x3b,
  38065. 0xe1, 0x0c, 0xfb, 0xdd, 0xa0, 0xa2, 0x6a, 0x12, 0xea, 0xb4, 0x3c, 0x44, 0x62, 0x2c, 0x77, 0xc1,
  38066. 0x59, 0x1f, 0xd0, 0x8c, 0xb7, 0xe0, 0x77, 0x1f, 0x95, 0xc7, 0x52, 0xf1, 0x74, 0xbf, 0x59, 0x21,
  38067. 0x1f, 0x3f, 0x66, 0xda, 0xd1, 0x4d, 0xc2, 0x3a, 0xf9, 0x7c, 0x29, 0xed, 0x9e, 0x5a, 0xca, 0x2c,
  38068. 0x6c, 0xf9, 0xab, 0x52, 0x1f, 0xab, 0xfc, 0x91, 0x3f, 0xd6, 0xcf, 0x9b, 0xce, 0x44, 0x1e, 0xea,
  38069. 0x78, 0xf5, 0xc4, 0x0b, 0xeb, 0xe1, 0x79, 0x17, 0x4f, 0xd1, 0xf1, 0x81, 0xe9, 0xa8, 0x3f, 0x99,
  38070. 0xd9, 0x29, 0x2b, 0xc0, 0x02, 0xaf, 0x8a, 0x21, 0xd0, 0xb8, 0x8b, 0xa2, 0xaf, 0x8a, 0x49, 0x04,
  38071. 0x68, 0x1a, 0x2b, 0x8e, 0xa2, 0x9c, 0x1b, 0x47, 0xf1, 0x6f, 0x4b, 0xe4, 0x5c, 0xba, 0x11, 0xa7,
  38072. 0x21, 0x75, 0x1a, 0xb6, 0xd4, 0x59, 0x1e, 0xee, 0xdb, 0x0f, 0x10, 0x38, 0x3f, 0x37, 0x43, 0xce,
  38073. 0xf7, 0x6d, 0x56, 0x7c, 0x18, 0x7f, 0xbc, 0x44, 0xce, 0xec, 0x31, 0xfb, 0xc2, 0xb8, 0xf1, 0x23,
  38074. 0x3a, 0x96, 0x73, 0xdd, 0xe9, 0xd8, 0x8b, 0x42, 0xdc, 0x5a, 0xea, 0x23, 0x81, 0xfe, 0xca, 0x9c,
  38075. 0x9f, 0xa1, 0x43, 0xed, 0xdd, 0x8f, 0xfb, 0xf2, 0xe1, 0x8b, 0x79, 0xf4, 0xf9, 0x1c, 0x57, 0x5e,
  38076. 0x4e, 0x26, 0xfd, 0xd5, 0x45, 0x8c, 0x15, 0xcd, 0xa2, 0x82, 0xcc, 0x5a, 0xa9, 0x12, 0xc0, 0xb3,
  38077. 0x84, 0xa1, 0xda, 0x57, 0xe8, 0x0e, 0x5a, 0xd6, 0xfd, 0x03, 0x2e, 0x93, 0x24, 0x06, 0x14, 0x47,
  38078. 0xe7, 0x3d, 0x52, 0xdd, 0x93, 0x97, 0x7c, 0x84, 0xd0, 0xcb, 0xd9, 0x59, 0x32, 0xef, 0x04, 0xf1,
  38079. 0x28, 0x77, 0x85, 0x02, 0xcd, 0xd4, 0xb9, 0x46, 0x2a, 0x9d, 0xdd, 0x58, 0xdc, 0xbb, 0xcd, 0x8b,
  38080. 0xa3, 0xb1, 0xa3, 0x96, 0xf8, 0x4d, 0x42, 0x0a, 0x04, 0x64, 0x81, 0x9c, 0xa2, 0x9d, 0x96, 0xf0,
  38081. 0x61, 0xe7, 0x70, 0x82, 0xd5, 0x5a, 0x3f, 0x27, 0x0a, 0x04, 0x64, 0xc1, 0x02, 0xf6, 0xf0, 0xbe,
  38082. 0x82, 0x70, 0x50, 0xe7, 0x5c, 0xca, 0xee, 0xbb, 0x95, 0xc1, 0x53, 0xca, 0x31, 0x30, 0x70, 0x46,
  38083. 0xe8, 0x99, 0x6e, 0xb2, 0x14, 0xd0, 0xc2, 0x7f, 0x90, 0x97, 0x18, 0xb8, 0x2f, 0x5d, 0x34, 0x3f,
  38084. 0x48, 0xe3, 0x70, 0x10, 0xbc, 0x18, 0x57, 0xbf, 0xbb, 0xbf, 0x1b, 0x0b, 0xff, 0x40, 0x1e, 0xd7,
  38085. 0xbe, 0x64, 0xde, 0x82, 0x2b, 0x83, 0x83, 0xe0, 0xe5, 0xd4, 0x48, 0x79, 0xb7, 0x29, 0xf2, 0x38,
  38086. 0xe6, 0x58, 0xb4, 0xf6, 0xb5, 0xd0, 0xd5, 0x09, 0x8c, 0xa0, 0xdb, 0x58, 0x03, 0x5a, 0x9e, 0xea,
  38087. 0x23, 0x93, 0xbb, 0xfc, 0xa6, 0x9f, 0xc8, 0xd9, 0x78, 0x39, 0xef, 0x36, 0x62, 0xdf, 0xb5, 0x40,
  38088. 0x7e, 0x93, 0x41, 0x20, 0x40, 0xb2, 0xa3, 0xfb, 0x30, 0xd9, 0x55, 0x57, 0x17, 0x45, 0xd2, 0xc6,
  38089. 0xe5, 0xe1, 0xae, 0x3a, 0x0a, 0xeb, 0x59, 0x41, 0xc1, 0xe0, 0x88, 0x73, 0xde, 0x93, 0x59, 0xec,
  38090. 0x59, 0xc2, 0xc6, 0xdc, 0x39, 0x9f, 0x99, 0xf4, 0x9e, 0xcf, 0x79, 0x85, 0x02, 0xcd, 0xd4, 0xe9,
  38091. 0x91, 0xd9, 0xc3, 0xb8, 0xbb, 0xef, 0xcb, 0xa5, 0xcf, 0xb2, 0x38, 0x4e, 0x5f, 0xf9, 0x5c, 0x4e,
  38092. 0x6a, 0x4e, 0x51, 0x24, 0x88, 0x92, 0x9e, 0xd7, 0xee, 0x93, 0x60, 0x2c, 0x1d, 0xd2, 0x1d, 0x93,
  38093. 0x2d, 0xd8, 0xb5, 0xe0, 0x27, 0x79, 0xbf, 0x17, 0xee, 0x1c, 0x25, 0xbe, 0xc8, 0xf2, 0x98, 0xf3,
  38094. 0x49, 0xde, 0xe1, 0xc4, 0xfd, 0x9f, 0x44, 0x20, 0x40, 0xb2, 0x53, 0x43, 0xc6, 0xa4, 0xf1, 0x42,
  38095. 0xe1, 0x21, 0xeb, 0xeb, 0x83, 0x1e, 0x32, 0x26, 0x7d, 0x35, 0x53, 0xf7, 0xf7, 0xc7, 0xfb, 0x37,
  38096. 0x38, 0xa6, 0x7f, 0xfe, 0x6c, 0xff, 0x71, 0xe6, 0xdb, 0xc3, 0xdb, 0x57, 0x0f, 0xf1, 0x60, 0x93,
  38097. 0xee, 0x0f, 0xe7, 0xbb, 0x99, 0xbb, 0x97, 0xd8, 0x21, 0x86, 0x35, 0xd3, 0xf8, 0xd0, 0xa8, 0x9c,
  38098. 0xa1, 0xd9, 0x78, 0x18, 0x50, 0x67, 0x5a, 0xe5, 0xab, 0x7c, 0x64, 0x95, 0xef, 0x2e, 0x1d, 0x6f,
  38099. 0xd4, 0x52, 0x74, 0xd2, 0x8a, 0x21, 0xf3, 0x3c, 0xb0, 0xbd, 0x66, 0x4d, 0xb0, 0x00, 0xc5, 0x0c,
  38100. 0x07, 0xee, 0xc9, 0x74, 0x27, 0xc0, 0x67, 0x68, 0x91, 0xec, 0x94, 0xfb, 0x02, 0x36, 0xc4, 0x48,
  38101. 0x3c, 0x59, 0x3f, 0x8e, 0xf8, 0xc3, 0x3c, 0x02, 0x38, 0xbe, 0xb2, 0xd3, 0x54, 0x21, 0xff, 0x61,
  38102. 0x29, 0x43, 0xe1, 0xe1, 0x4a, 0xff, 0xe7, 0x6c, 0xa5, 0xff, 0xf9, 0xb4, 0xd2, 0xdf, 0x67, 0xa2,
  38103. 0x5b, 0xfa, 0x7e, 0xf1, 0x84, 0x7f, 0x45, 0xb3, 0x6a, 0xb8, 0xff, 0xab, 0x44, 0x2a, 0xf5, 0xb0,
  38104. 0x35, 0x42, 0x27, 0xc0, 0x55, 0xcb, 0x09, 0xf0, 0x5c, 0xee, 0xf3, 0x35, 0x03, 0x4d, 0xfe, 0x5b,
  38105. 0x29, 0x93, 0xff, 0xd3, 0xf9, 0xac, 0x8e, 0x37, 0xf0, 0xbf, 0x55, 0x21, 0xe6, 0x03, 0x3c, 0xce,
  38106. 0x6f, 0x9f, 0x24, 0xaa, 0xb1, 0x52, 0xec, 0x4d, 0x1e, 0x51, 0x07, 0x8b, 0x01, 0x92, 0x57, 0x9e,
  38107. 0xfe, 0xd4, 0x06, 0x37, 0xde, 0xf5, 0x83, 0xbd, 0xfd, 0xc4, 0x6f, 0xa5, 0x3b, 0x76, 0x7a, 0xc1,
  38108. 0x8d, 0xff, 0xb5, 0x44, 0xe6, 0x53, 0xb5, 0x3b, 0x07, 0x59, 0xb7, 0x26, 0x4e, 0x6a, 0xd5, 0x9f,
  38109. 0xc9, 0xbd, 0x67, 0xb1, 0x4c, 0x88, 0xf2, 0x44, 0x4b, 0xdb, 0x9b, 0xe9, 0x21, 0xca, 0x55, 0x1d,
  38110. 0x83, 0x41, 0x81, 0x5e, 0xfc, 0x24, 0xec, 0x86, 0xed, 0x70, 0xef, 0xe8, 0xba, 0x2f, 0x2f, 0xe5,
  38111. 0x2b, 0x2f, 0xfe, 0xb6, 0x46, 0x81, 0x49, 0x87, 0x09, 0x9b, 0xd2, 0xef, 0x37, 0xfd, 0xff, 0x89,
  38112. 0xfa, 0xa7, 0x67, 0xa2, 0xfe, 0x6e, 0x89, 0x2c, 0x60, 0xed, 0x2c, 0x84, 0x43, 0x86, 0x20, 0xaa,
  38113. 0xcc, 0xd9, 0xa5, 0x63, 0x32, 0x67, 0xe3, 0x1d, 0x8e, 0xa4, 0x15, 0xf6, 0x64, 0x36, 0x17, 0x43,
  38114. 0x8a, 0x21, 0x14, 0x04, 0x56, 0xd0, 0xd1, 0x36, 0x89, 0xfb, 0x19, 0x26, 0x1d, 0x85, 0x82, 0xc0,
  38115. 0xca, 0xc4, 0xda, 0x63, 0xd9, 0x89, 0xb5, 0x79, 0xf2, 0x1b, 0x11, 0x3a, 0x20, 0x76, 0x66, 0x23,
  38116. 0xf9, 0x8d, 0x8c, 0x29, 0xd0, 0x34, 0xee, 0x3f, 0xab, 0x90, 0x19, 0x8c, 0xa0, 0x53, 0xe1, 0xc5,
  38117. 0xaf, 0x59, 0xe1, 0xc5, 0xcf, 0xa4, 0xc2, 0x8b, 0x17, 0x4c, 0xda, 0x87, 0x13, 0x5d, 0x2c, 0xd2,
  38118. 0x24, 0xb1, 0xd4, 0xef, 0x27, 0x8d, 0x2c, 0xb6, 0xd2, 0x24, 0x29, 0x4e, 0x60, 0x33, 0xfe, 0x33,
  38119. 0x15, 0x51, 0xfc, 0x27, 0x25, 0x32, 0x47, 0xbf, 0x05, 0x4e, 0xd1, 0x3f, 0x4b, 0xf3, 0xd1, 0x4c,
  38120. 0xae, 0x34, 0x71, 0x4c, 0x72, 0xa5, 0x5f, 0x29, 0x11, 0x0c, 0xfc, 0x3c, 0x0d, 0x6f, 0xda, 0x86,
  38121. 0xed, 0x4d, 0xfb, 0x64, 0xae, 0xf0, 0x1d, 0xe0, 0x40, 0xfb, 0xf5, 0x0a, 0x99, 0xc5, 0x26, 0x87,
  38122. 0x7b, 0xf2, 0x83, 0x59, 0x83, 0x53, 0x2a, 0x30, 0x38, 0x98, 0xa0, 0x21, 0x6c, 0xb7, 0xc3, 0xfb,
  38123. 0xe9, 0x8f, 0xb7, 0xc1, 0xa0, 0x20, 0xb0, 0xe8, 0xa6, 0xec, 0x62, 0x12, 0x99, 0xb0, 0x17, 0xa7,
  38124. 0xaf, 0x7b, 0xd5, 0x05, 0x1c, 0x14, 0x05, 0x5d, 0xf1, 0x33, 0x71, 0x40, 0x6d, 0x00, 0x19, 0x5b,
  38125. 0x30, 0xc6, 0x62, 0x0b, 0x78, 0x0e, 0x3b, 0x03, 0x0e, 0x16, 0x15, 0x55, 0x35, 0xab, 0xec, 0x37,
  38126. 0x5b, 0x43, 0x27, 0xc8, 0xf6, 0xcd, 0x13, 0x2c, 0x49, 0x0e, 0xa0, 0x99, 0xe1, 0x31, 0x40, 0x22,
  38127. 0xc3, 0x20, 0x62, 0x71, 0x6c, 0xa8, 0x94, 0x53, 0x15, 0x20, 0x81, 0xb9, 0xac, 0xd4, 0xff, 0xce,
  38128. 0x4b, 0x98, 0xba, 0x35, 0x68, 0x6f, 0xe1, 0x2b, 0x12, 0x22, 0x90, 0x44, 0xe4, 0x62, 0x15, 0x40,
  38129. 0xd0, 0x78, 0xdc, 0xf3, 0xd9, 0x65, 0x53, 0xfe, 0x96, 0xc0, 0x14, 0xa3, 0x66, 0x7b, 0xfe, 0x96,
  38130. 0x82, 0x82, 0x41, 0xe1, 0xbe, 0xca, 0xf6, 0xee, 0x21, 0xc3, 0xcf, 0xbf, 0x57, 0x26, 0x4e, 0x9d,
  38131. 0x85, 0x5b, 0x58, 0xcf, 0x2d, 0xec, 0x93, 0xb9, 0x98, 0x1a, 0xab, 0x9d, 0xde, 0x03, 0xc1, 0xaa,
  38132. 0x58, 0xc0, 0x7f, 0x63, 0xdd, 0x2c, 0xc3, 0x2f, 0x58, 0xda, 0x30, 0x48, 0xf1, 0xc5, 0x21, 0x89,
  38133. 0x7a, 0x9d, 0x95, 0x18, 0xdf, 0x6d, 0x13, 0x0f, 0x26, 0xb0, 0x21, 0x01, 0x09, 0x04, 0x8d, 0xc7,
  38134. 0x39, 0xc0, 0x7e, 0xdc, 0xa4, 0xd2, 0x28, 0x0c, 0x13, 0x39, 0x6b, 0x58, 0xf6, 0x6c, 0x03, 0x0e,
  38135. 0x16, 0x15, 0x26, 0x9e, 0x8e, 0x7b, 0xdd, 0x6e, 0x9b, 0x9d, 0xee, 0x78, 0xed, 0xab, 0x51, 0xd8,
  38136. 0xeb, 0xf2, 0x88, 0x5b, 0x91, 0x78, 0xba, 0xd1, 0x87, 0x85, 0x8c, 0x12, 0xb8, 0xe8, 0x77, 0x63,
  38137. 0xf6, 0xbf, 0xb8, 0x40, 0xca, 0x7d, 0x4c, 0x0d, 0x06, 0x02, 0x89, 0x73, 0x7b, 0x6c, 0xab, 0x62,
  38138. 0x89, 0xec, 0x31, 0x12, 0xcc, 0xf1, 0xc9, 0x6c, 0x97, 0x6d, 0x47, 0xf2, 0x88, 0xb9, 0xd0, 0x50,
  38139. 0xa6, 0x02, 0x3e, 0x78, 0xc2, 0x6a, 0x93, 0x0d, 0xd8, 0x5c, 0xdd, 0x7f, 0x4f, 0x98, 0xac, 0x11,
  38140. 0x07, 0x6b, 0x93, 0x22, 0x9c, 0x53, 0xe8, 0x62, 0xcf, 0x16, 0x79, 0xb9, 0x45, 0xcb, 0x71, 0x11,
  38141. 0x1c, 0x0a, 0x92, 0x8b, 0xf3, 0x65, 0x7e, 0x46, 0xce, 0xd6, 0x77, 0xf1, 0xe7, 0x94, 0x38, 0xbd,
  38142. 0x15, 0xa8, 0x2c, 0x58, 0x80, 0xc1, 0xce, 0xd9, 0x22, 0xb3, 0x22, 0xdb, 0xb9, 0xb0, 0xd5, 0x2b,
  38143. 0x96, 0xbd, 0x3a, 0x0b, 0x26, 0xf2, 0xc3, 0x34, 0x00, 0xec, 0xc2, 0xce, 0x1e, 0x79, 0xd2, 0x78,
  38144. 0x02, 0x25, 0x23, 0x28, 0x89, 0x0b, 0x8e, 0x4f, 0xa2, 0x17, 0x60, 0xfb, 0x38, 0x42, 0x38, 0x9e,
  38145. 0x0f, 0x1d, 0xe4, 0xc7, 0xbc, 0x66, 0x12, 0x1c, 0xfa, 0x35, 0xdf, 0x6b, 0x51, 0xad, 0xcc, 0xb7,
  38146. 0x6f, 0x17, 0x3f, 0x41, 0x2b, 0x78, 0x6c, 0x25, 0x8b, 0x00, 0xb2, 0xcb, 0x51, 0x7b, 0xbd, 0xda,
  38147. 0xea, 0xc4, 0x62, 0x0c, 0x26, 0xac, 0xd7, 0x5e, 0xaa, 0xb5, 0x9b, 0x0d, 0xd5, 0x7f, 0xfd, 0x03,
  38148. 0x74, 0x01, 0xe7, 0x7d, 0xfe, 0x08, 0xad, 0x32, 0x48, 0xf8, 0x2b, 0x43, 0x6f, 0x14, 0x32, 0x81,
  38149. 0xad, 0x8b, 0x10, 0xdc, 0x8d, 0xa5, 0x82, 0xff, 0xac, 0x3b, 0x12, 0x56, 0x15, 0xce, 0x0f, 0xd3,
  38150. 0x85, 0xe5, 0x47, 0xf8, 0xb8, 0xea, 0x4a, 0x93, 0x65, 0x6f, 0x64, 0x27, 0x54, 0x53, 0x56, 0x04,
  38151. 0xbc, 0xd3, 0xe8, 0xa3, 0x80, 0x8c, 0x52, 0xce, 0x35, 0x94, 0x38, 0x26, 0x54, 0xc4, 0x6a, 0x4a,
  38152. 0xd5, 0x6e, 0xb1, 0xe6, 0x63, 0x82, 0x76, 0x7c, 0x6b, 0xc2, 0xe6, 0x08, 0xa9, 0x72, 0xb8, 0xad,
  38153. 0xa8, 0xac, 0xd4, 0xc4, 0x8e, 0x30, 0xec, 0xcf, 0x4c, 0x8d, 0x96, 0x12, 0x9e, 0x58, 0xdc, 0xf4,
  38154. 0x13, 0x7c, 0xfa, 0x89, 0xf9, 0x9b, 0xa7, 0x8c, 0x2c, 0x57, 0x1a, 0x05, 0x26, 0x1d, 0xea, 0x40,
  38155. 0xec, 0xa0, 0x63, 0xb3, 0xc6, 0xbc, 0xc8, 0x53, 0x7a, 0xed, 0x5c, 0xe3, 0x60, 0x90, 0x78, 0x49,
  38156. 0xba, 0x59, 0x5f, 0x63, 0x1e, 0xe1, 0x14, 0x29, 0x05, 0x83, 0xc4, 0x63, 0x74, 0x58, 0xfa, 0x4d,
  38157. 0x9d, 0xb9, 0x22, 0xde, 0xf9, 0x7e, 0x09, 0x5e, 0xf0, 0x59, 0x9d, 0x07, 0x64, 0x41, 0xbd, 0xeb,
  38158. 0xc3, 0xd3, 0x08, 0xc6, 0x8b, 0xf3, 0x45, 0x9e, 0xc0, 0xcd, 0xcc, 0x46, 0xa8, 0x82, 0x73, 0x37,
  38159. 0x53, 0x3c, 0xa1, 0xaf, 0x16, 0xeb, 0x96, 0xfc, 0x42, 0x6e, 0xa6, 0x71, 0x7c, 0x56, 0xa7, 0xb7,
  38160. 0xd3, 0x0a, 0x0f, 0xa8, 0xc8, 0x60, 0x2f, 0xfb, 0x98, 0x0f, 0xba, 0x4a, 0x04, 0x68, 0x9a, 0xa5,
  38161. 0x2f, 0x90, 0x33, 0x7d, 0x73, 0x7a, 0xa8, 0xa8, 0xb2, 0x9f, 0x1d, 0x23, 0x55, 0xe5, 0xd5, 0xa1,
  38162. 0xf5, 0x5b, 0xae, 0xb4, 0x27, 0xd2, 0xae, 0xb4, 0x29, 0xdc, 0x79, 0x4d, 0xef, 0xd9, 0x57, 0x32,
  38163. 0x5e, 0x74, 0xbc, 0x90, 0xfb, 0x11, 0x8b, 0x5f, 0xee, 0x18, 0xe2, 0xbd, 0x4b, 0xad, 0xd6, 0x8f,
  38164. 0x1d, 0xab, 0xd6, 0x17, 0x7c, 0xb0, 0x07, 0x15, 0x78, 0xba, 0xf3, 0x50, 0xb2, 0xd4, 0x63, 0x14,
  38165. 0x75, 0x04, 0x02, 0xc7, 0x31, 0xbd, 0x0b, 0x85, 0x32, 0xd3, 0xbb, 0x26, 0x4f, 0xaa, 0x77, 0x49,
  38166. 0x0e, 0xa0, 0x99, 0x61, 0x22, 0xf5, 0xa6, 0xfd, 0xb8, 0x88, 0xba, 0xb3, 0x71, 0x71, 0x88, 0xc7,
  38167. 0x3d, 0x7a, 0x46, 0x22, 0xf5, 0xb5, 0x34, 0x3f, 0xe8, 0xaf, 0x02, 0x2f, 0xd8, 0xcf, 0xab, 0x09,
  38168. 0x41, 0x77, 0x20, 0x4c, 0x55, 0x34, 0x3a, 0x47, 0xe6, 0x2d, 0xcb, 0x52, 0x7d, 0x08, 0xfe, 0xc7,
  38169. 0xdf, 0x2a, 0x31, 0xff, 0xe3, 0xb6, 0x7f, 0xd0, 0x6d, 0xe3, 0x8b, 0x25, 0xa3, 0x6b, 0xfa, 0x97,
  38170. 0xc9, 0x54, 0x22, 0x6a, 0x29, 0x96, 0xcc, 0xd9, 0x68, 0x16, 0xf3, 0xc7, 0x2a, 0x41, 0x20, 0xa1,
  38171. 0xa0, 0x18, 0xba, 0xff, 0x92, 0x7f, 0x05, 0x89, 0x39, 0x0d, 0xcb, 0xea, 0xa6, 0x6d, 0x59, 0xbd,
  38172. 0x58, 0xb8, 0x33, 0x03, 0x2c, 0xac, 0x6f, 0xda, 0x5d, 0x60, 0x0a, 0xdb, 0xa3, 0xef, 0x11, 0x77,
  38173. 0x6f, 0x10, 0xfb, 0xc1, 0x14, 0xaa, 0xae, 0xb0, 0x68, 0x4d, 0x2e, 0x11, 0x2f, 0x0c, 0x19, 0xa9,
  38174. 0xe9, 0xfe, 0x5a, 0x99, 0x9c, 0xcb, 0x7a, 0x47, 0xdd, 0x69, 0x91, 0x99, 0xae, 0xa1, 0x3e, 0x17,
  38175. 0xbb, 0xcb, 0x6f, 0x2a, 0xdc, 0x5a, 0x75, 0x31, 0xa1, 0x60, 0x71, 0xc5, 0x14, 0xea, 0xf8, 0x2a,
  38176. 0xbc, 0x72, 0xaf, 0x94, 0x87, 0x17, 0x51, 0xaa, 0x9a, 0x75, 0x83, 0x11, 0x58, 0x6c, 0x47, 0x90,
  38177. 0x6f, 0xdc, 0xfd, 0xfb, 0x25, 0xf2, 0xf8, 0x80, 0x0b, 0xff, 0x58, 0xdd, 0x7d, 0xe6, 0x85, 0x14,
  38178. 0x0f, 0xf2, 0xa8, 0xea, 0xb8, 0x6f, 0x12, 0x04, 0xd6, 0xd9, 0xc1, 0x7b, 0xa4, 0xea, 0x95, 0xd2,
  38179. 0x72, 0x91, 0x63, 0xf0, 0xbe, 0xcb, 0xc5, 0xc6, 0xbd, 0x53, 0xf5, 0x2e, 0xa9, 0xc1, 0xd5, 0xfd,
  38180. 0x46, 0x85, 0x8c, 0xf3, 0x87, 0x12, 0xeb, 0x54, 0x01, 0xe2, 0xf9, 0x05, 0x87, 0x4b, 0x6f, 0xa8,
  38181. 0xf5, 0x24, 0x0e, 0x00, 0xc9, 0xc6, 0xb9, 0x41, 0xce, 0xa2, 0x7f, 0x35, 0xf0, 0xda, 0x35, 0xbf,
  38182. 0xed, 0x1d, 0x49, 0xc5, 0x9b, 0xe7, 0x88, 0x96, 0x69, 0x50, 0xcf, 0x6e, 0xf6, 0x93, 0x40, 0x56,
  38183. 0x39, 0xbc, 0xae, 0x94, 0x4a, 0x10, 0xc4, 0xf3, 0x36, 0xaa, 0xeb, 0x4a, 0xc7, 0x27, 0x09, 0xc2,
  38184. 0x1b, 0x5b, 0xdd, 0x3e, 0x13, 0xc3, 0x78, 0x61, 0xcf, 0x36, 0x2b, 0x6c, 0x5a, 0xbc, 0xeb, 0x14,
  38185. 0xf7, 0xd8, 0x19, 0xe9, 0xf6, 0x3e, 0xb5, 0x64, 0xf6, 0xc3, 0x76, 0x4b, 0xbc, 0x0c, 0xa5, 0xd4,
  38186. 0xa9, 0x46, 0x0a, 0x0f, 0x7d, 0x25, 0x90, 0xcb, 0xae, 0x17, 0xb4, 0xe9, 0xd4, 0xd6, 0x5c, 0x26,
  38187. 0x6c, 0x2e, 0x1b, 0x29, 0x3c, 0xf4, 0x95, 0x70, 0xff, 0xb0, 0x44, 0xce, 0x66, 0x9c, 0xdc, 0xf3,
  38188. 0x80, 0xb2, 0x3d, 0x2a, 0x1a, 0x55, 0x06, 0x61, 0x23, 0xa0, 0x8c, 0xc3, 0x41, 0x51, 0xe0, 0x2c,
  38189. 0xe4, 0x76, 0x63, 0x3a, 0x21, 0xb2, 0x38, 0x2a, 0x15, 0xd8, 0xe1, 0xd2, 0xfd, 0xa8, 0xf7, 0xde,
  38190. 0xc7, 0x06, 0xbe, 0xf7, 0x4e, 0x15, 0x93, 0x3d, 0x65, 0x9d, 0x1b, 0x8a, 0x09, 0xb7, 0xcf, 0x39,
  38191. 0x0e, 0xb3, 0x7b, 0xcf, 0xa7, 0x22, 0x78, 0xb0, 0x21, 0xa9, 0x67, 0xe9, 0x99, 0x4b, 0x01, 0x63,
  38192. 0x5b, 0x32, 0x9e, 0xa6, 0x7f, 0xde, 0x7e, 0xb5, 0x56, 0xb7, 0x79, 0xb5, 0x66, 0xbd, 0xc7, 0x55,
  38193. 0x34, 0x3b, 0xf9, 0xa7, 0x30, 0x75, 0xb0, 0x7a, 0x5e, 0x51, 0x4d, 0x7a, 0xca, 0xae, 0x4e, 0xc1,
  38194. 0xc0, 0x90, 0xce, 0x73, 0xa2, 0xf7, 0x29, 0xe7, 0x24, 0x78, 0xad, 0x30, 0x36, 0x86, 0x80, 0xca,
  38195. 0x11, 0xaa, 0xd6, 0xe2, 0xa9, 0x40, 0xda, 0x35, 0x7b, 0x9d, 0x83, 0x41, 0xe2, 0xed, 0x0c, 0xe4,
  38196. 0x93, 0x23, 0xce, 0x40, 0x3e, 0x95, 0x1b, 0x85, 0xf8, 0xcb, 0x74, 0x57, 0x64, 0x69, 0xd7, 0xc4,
  38197. 0x4d, 0x50, 0x74, 0xf2, 0x8f, 0x6e, 0x57, 0xc4, 0xf7, 0xda, 0xb0, 0xb2, 0x74, 0xd2, 0x61, 0xd6,
  38198. 0x02, 0xe0, 0x38, 0x4c, 0xe2, 0xca, 0xaa, 0xc6, 0xcf, 0x37, 0xc3, 0x93, 0xb8, 0xea, 0x57, 0xbc,
  38199. 0x59, 0x8c, 0x3b, 0xf8, 0x5d, 0x6a, 0x7b, 0xb3, 0xc6, 0x6a, 0x4f, 0xcc, 0xa3, 0x12, 0xe3, 0x9e,
  38200. 0xd9, 0xb8, 0x87, 0x15, 0xe3, 0x9e, 0xcd, 0x3c, 0x3f, 0xc6, 0x3d, 0xb3, 0xdc, 0xa3, 0x17, 0xe3,
  38201. 0x9e, 0xd9, 0xcc, 0x01, 0xfa, 0xdc, 0xf7, 0xca, 0x03, 0xba, 0xc5, 0x34, 0xbb, 0x17, 0x70, 0x15,
  38202. 0x30, 0x64, 0x2c, 0x36, 0xe5, 0x19, 0xbe, 0x02, 0x38, 0x0c, 0x14, 0xd6, 0x89, 0x8d, 0x18, 0x71,
  38203. 0xde, 0xc8, 0xf5, 0x13, 0x7e, 0xe0, 0x65, 0xdb, 0x95, 0x63, 0x5e, 0xb0, 0x4c, 0x05, 0x8e, 0x63,
  38204. 0x44, 0x8e, 0x52, 0xd6, 0x2b, 0x27, 0x51, 0xd6, 0x67, 0xb2, 0x15, 0xf5, 0x25, 0xba, 0x27, 0x9e,
  38205. 0xdc, 0xf8, 0xfe, 0xc5, 0x32, 0xf9, 0xf8, 0x31, 0x33, 0x8c, 0x8b, 0x16, 0x6b, 0x50, 0x0d, 0xd1,
  38206. 0xd2, 0x37, 0xb0, 0x75, 0x72, 0x6e, 0xb7, 0xd7, 0x6e, 0x1f, 0xb1, 0x13, 0x76, 0xbf, 0x25, 0x29,
  38207. 0x84, 0xba, 0xa0, 0xde, 0x78, 0xdc, 0xc8, 0xa0, 0x81, 0xcc, 0x92, 0xe8, 0xf8, 0x0a, 0x77, 0x58,
  38208. 0x5a, 0xbb, 0x96, 0xbe, 0xff, 0xc9, 0xc6, 0xaf, 0xa2, 0x1d, 0x5f, 0xb7, 0xfa, 0x28, 0x20, 0xa3,
  38209. 0x14, 0x2a, 0x0f, 0xec, 0x79, 0x48, 0xd5, 0xac, 0x94, 0xf2, 0x00, 0x26, 0x12, 0x6c, 0x5a, 0xf7,
  38210. 0x0f, 0x4a, 0x28, 0x84, 0x32, 0x9e, 0x2f, 0xb2, 0x5e, 0xfd, 0x35, 0x02, 0xc7, 0xfb, 0x5f, 0xfd,
  38211. 0x65, 0xfe, 0x30, 0x9b, 0x96, 0x8f, 0x6f, 0xac, 0x03, 0xcf, 0xac, 0xfd, 0x5e, 0x5c, 0x98, 0x50,
  38212. 0x14, 0xf8, 0x52, 0x57, 0x2b, 0x38, 0x0c, 0xe2, 0x30, 0x2a, 0xf0, 0xc8, 0x66, 0x5f, 0x30, 0x93,
  38213. 0xde, 0xa2, 0x6a, 0x9c, 0x09, 0x48, 0x6e, 0xee, 0x5f, 0x2f, 0x93, 0x59, 0x59, 0x1f, 0x55, 0x4b,
  38214. 0xd8, 0x2a, 0x1e, 0x95, 0x68, 0x7d, 0xc7, 0x12, 0xad, 0x97, 0x8a, 0xdd, 0x1a, 0x61, 0x8d, 0x1a,
  38215. 0x28, 0x52, 0xbf, 0x94, 0x12, 0xa9, 0x97, 0x87, 0x61, 0x9a, 0x6b, 0xcd, 0x9f, 0xb1, 0xe8, 0x1f,
  38216. 0xa1, 0x5c, 0xa4, 0x59, 0xdd, 0x19, 0x20, 0x3a, 0xbf, 0x51, 0x4e, 0x75, 0x83, 0x89, 0xcc, 0xaf,
  38217. 0x91, 0xb1, 0x7d, 0x2f, 0x6a, 0x89, 0xa3, 0x8b, 0xb7, 0x86, 0xfc, 0x14, 0xd4, 0x7c, 0x88, 0x5a,
  38218. 0x5c, 0xf0, 0xbd, 0xac, 0x1e, 0x4d, 0xa0, 0xa0, 0xdc, 0x30, 0x4c, 0x56, 0xa9, 0xf3, 0x26, 0x3e,
  38219. 0xaa, 0x10, 0x76, 0x55, 0x94, 0xcd, 0x33, 0xfc, 0x41, 0x05, 0x84, 0x50, 0x0e, 0x8e, 0x5d, 0x1d,
  38220. 0x82, 0x41, 0xd0, 0x2f, 0xf9, 0xa4, 0xaa, 0xaa, 0x1e, 0x61, 0xc0, 0xdf, 0x0f, 0x2a, 0xe4, 0x6c,
  38221. 0xc6, 0x54, 0x71, 0x7e, 0xcc, 0x1a, 0xb5, 0xcf, 0x0e, 0x3d, 0xd7, 0x3e, 0xe2, 0xb8, 0xfd, 0x18,
  38222. 0x53, 0x50, 0x5b, 0x62, 0x6e, 0x9c, 0xa0, 0x7a, 0xaa, 0xc5, 0xa6, 0xab, 0x47, 0x50, 0x7e, 0xf5,
  38223. 0x58, 0xed, 0x29, 0x0d, 0x3e, 0x56, 0xa3, 0xda, 0x39, 0xc2, 0x6f, 0xfc, 0x93, 0x63, 0xe4, 0x5c,
  38224. 0xd6, 0xcd, 0x34, 0xe7, 0xa7, 0x4a, 0xa9, 0x6c, 0xc6, 0x9f, 0x1f, 0xfe, 0x7a, 0x1b, 0x4f, 0x71,
  38225. 0x2c, 0x6e, 0xac, 0x2f, 0xdb, 0xf9, 0x8d, 0x73, 0x47, 0x5b, 0xd4, 0xce, 0x42, 0xa7, 0x23, 0x9e,
  38226. 0x98, 0x5a, 0xca, 0x83, 0xb7, 0x4f, 0xd0, 0x14, 0x91, 0xdb, 0x3a, 0x4e, 0x85, 0x4e, 0x4b, 0x70,
  38227. 0x7e, 0xe8, 0xb4, 0x6c, 0xc3, 0xd2, 0x1e, 0x66, 0x35, 0x56, 0xfd, 0x1a, 0xe1, 0x14, 0x08, 0x70,
  38228. 0x4f, 0x32, 0x5a, 0x3d, 0xc2, 0x69, 0xf0, 0x37, 0x4b, 0x24, 0x75, 0x7c, 0xae, 0xac, 0xe0, 0xd2,
  38229. 0x40, 0x2b, 0x98, 0x52, 0x50, 0x5d, 0xc9, 0x4f, 0xa7, 0xd9, 0x05, 0x0a, 0x03, 0x86, 0x51, 0x4f,
  38230. 0xac, 0x55, 0x06, 0x3d, 0xb1, 0x86, 0xe6, 0x51, 0xdb, 0x3f, 0xf4, 0xa5, 0x4d, 0xaa, 0x84, 0xf7,
  38231. 0x16, 0x02, 0x81, 0xe3, 0xdc, 0xef, 0x54, 0xc8, 0x04, 0x37, 0xfc, 0x46, 0xb8, 0x2d, 0xd7, 0x85,
  38232. 0x0d, 0x56, 0xe8, 0x8e, 0x18, 0x6f, 0xcd, 0x32, 0x1a, 0x69, 0x7c, 0x42, 0xa9, 0xbe, 0x69, 0xbb,
  38233. 0xcd, 0x59, 0xb6, 0x7a, 0xbf, 0x94, 0x8a, 0x1c, 0x23, 0x9c, 0x87, 0x31, 0x16, 0xfb, 0x84, 0xc4,
  38234. 0xec, 0x95, 0x1e, 0xe4, 0x21, 0xf2, 0x74, 0xbd, 0x56, 0xa8, 0x1d, 0x0d, 0x55, 0x8c, 0xb7, 0x46,
  38235. 0x27, 0x08, 0x52, 0x08, 0x30, 0x78, 0x2f, 0xbd, 0x41, 0xaa, 0x8a, 0x38, 0x4f, 0x5d, 0x9e, 0x31,
  38236. 0xa7, 0xe4, 0x9f, 0x23, 0xf3, 0xa9, 0xba, 0x86, 0xd2, 0xb6, 0xbf, 0x4d, 0x95, 0x89, 0xbe, 0xd7,
  38237. 0x21, 0x31, 0xd7, 0xdb, 0xb9, 0x76, 0x86, 0xc5, 0x2f, 0x3e, 0xf0, 0x49, 0x7c, 0x05, 0xfa, 0x39,
  38238. 0xf5, 0x0c, 0x2c, 0x64, 0xd6, 0x26, 0x33, 0x0f, 0x96, 0xb3, 0x33, 0x0f, 0xb2, 0xa7, 0x49, 0x78,
  38239. 0xdb, 0x4f, 0x43, 0x03, 0xda, 0xb4, 0x35, 0xa0, 0x67, 0x8b, 0x4c, 0x83, 0x01, 0xaa, 0xcf, 0xbf,
  38240. 0x29, 0x11, 0x87, 0x13, 0xa4, 0x5f, 0xeb, 0xe2, 0x1e, 0x14, 0x43, 0x67, 0xd7, 0xf3, 0x46, 0x61,
  38241. 0xc0, 0xa0, 0x1a, 0x32, 0x13, 0xb3, 0x7a, 0xe5, 0xa6, 0xd8, 0x93, 0xd8, 0x95, 0x02, 0x4f, 0x62,
  38242. 0xff, 0x56, 0x85, 0xa4, 0x8f, 0x9a, 0x9d, 0xf7, 0xc8, 0x0c, 0x5e, 0x6b, 0xd9, 0x09, 0xda, 0x41,
  38243. 0x12, 0xf8, 0x71, 0x31, 0x37, 0xfe, 0x9a, 0x51, 0x42, 0xf8, 0xe0, 0x0c, 0x08, 0x58, 0x1c, 0x31,
  38244. 0x3e, 0xaa, 0x1b, 0x51, 0x4b, 0xa1, 0xed, 0xef, 0x31, 0xbd, 0x43, 0xe5, 0x6d, 0xa8, 0x2b, 0x28,
  38245. 0x18, 0x14, 0x19, 0x31, 0x4d, 0x95, 0xd3, 0x88, 0x69, 0x1a, 0x1b, 0x32, 0xa6, 0x69, 0xbc, 0x50,
  38246. 0x4c, 0x13, 0x90, 0xf3, 0xd2, 0x75, 0x86, 0xbf, 0xf1, 0x6a, 0x18, 0x4f, 0x35, 0x26, 0x22, 0xd1,
  38247. 0x96, 0xf0, 0xba, 0x0f, 0x64, 0x52, 0xc0, 0x80, 0x92, 0x6e, 0x8f, 0x9c, 0x6d, 0xf8, 0x51, 0xc0,
  38248. 0x32, 0xc1, 0xb4, 0xf4, 0x0a, 0xfc, 0x0a, 0x5e, 0xaa, 0xb7, 0x17, 0xff, 0x90, 0xb7, 0x76, 0x8c,
  38249. 0xfb, 0xf4, 0x72, 0xb1, 0x6b, 0x96, 0xee, 0x5f, 0x2a, 0x93, 0x49, 0x11, 0xd2, 0x31, 0xc2, 0x8d,
  38250. 0xe4, 0xba, 0x65, 0xdf, 0xbd, 0x98, 0xb7, 0x72, 0x59, 0x73, 0x06, 0x5a, 0x76, 0x8d, 0x94, 0x65,
  38251. 0xf7, 0x52, 0x31, 0x76, 0xc7, 0xdb, 0x74, 0xbf, 0x59, 0xa6, 0xbb, 0xbd, 0x1d, 0xca, 0x32, 0xba,
  38252. 0xe1, 0xf8, 0x22, 0x99, 0x8c, 0x45, 0xbc, 0x47, 0xa1, 0x47, 0xc8, 0xd3, 0x9f, 0x54, 0x3f, 0xaf,
  38253. 0x2d, 0x22, 0x3c, 0x24, 0xbb, 0xcc, 0x90, 0x92, 0xca, 0x69, 0x84, 0x94, 0xb8, 0xdf, 0x61, 0x22,
  38254. 0xd5, 0x1c, 0xc0, 0xd3, 0xd8, 0x13, 0xde, 0xb1, 0xa5, 0xef, 0xcb, 0x85, 0xa6, 0x82, 0x68, 0xdf,
  38255. 0x80, 0xbd, 0xe1, 0x5b, 0x25, 0x32, 0x2d, 0x08, 0x4f, 0xa3, 0x07, 0x3f, 0x6c, 0xf7, 0xe0, 0xb9,
  38256. 0x42, 0x3d, 0x18, 0xd0, 0xf4, 0xbf, 0x5d, 0x56, 0x4d, 0x2f, 0xf8, 0xce, 0xbf, 0xf9, 0x8a, 0x7f,
  38257. 0x79, 0x98, 0x57, 0xfc, 0x59, 0x74, 0x2b, 0xbe, 0xb9, 0xc8, 0xb7, 0xa8, 0xac, 0x37, 0x14, 0x77,
  38258. 0xe4, 0x5b, 0xb3, 0x08, 0x13, 0x21, 0xf4, 0xc3, 0xbe, 0xcd, 0xa8, 0x63, 0x7a, 0x15, 0x27, 0x30,
  38259. 0xb8, 0xca, 0x70, 0x33, 0x56, 0xc3, 0xb8, 0xed, 0x8b, 0xbc, 0x29, 0xe0, 0xa0, 0x28, 0xdc, 0x37,
  38260. 0x98, 0x8c, 0x65, 0xc3, 0x33, 0x5c, 0xa0, 0xee, 0x4f, 0x4f, 0xa8, 0x81, 0x65, 0x4e, 0x92, 0x9b,
  38261. 0xf2, 0x5d, 0xff, 0x52, 0x91, 0xa8, 0x04, 0xe3, 0x93, 0x64, 0x3f, 0xeb, 0xef, 0xf8, 0x7d, 0xde,
  38262. 0xe7, 0x37, 0x0a, 0xcb, 0xc8, 0x21, 0xfc, 0xcd, 0x2c, 0x97, 0x05, 0xbb, 0xbf, 0xbf, 0x59, 0x4f,
  38263. 0xe7, 0x0b, 0x5c, 0x93, 0x08, 0xd0, 0x34, 0xb4, 0x00, 0x57, 0xd7, 0xed, 0x27, 0x2e, 0xa5, 0xba,
  38264. 0x2e, 0x87, 0xc4, 0xd0, 0xd7, 0xa9, 0xfe, 0xa2, 0x32, 0x26, 0xd7, 0x79, 0xe2, 0xdb, 0x2a, 0xd7,
  38265. 0x5f, 0xd6, 0x35, 0x18, 0x4c, 0x1a, 0xaa, 0xd6, 0x9d, 0x6d, 0xa9, 0xe8, 0xc2, 0x7a, 0x6f, 0xa7,
  38266. 0x1d, 0x34, 0xb1, 0x28, 0x8f, 0xec, 0x7f, 0x1c, 0x8f, 0x92, 0x6b, 0xfd, 0x68, 0xc8, 0x2a, 0xe3,
  38267. 0x6c, 0x63, 0x04, 0x1f, 0xcb, 0x0c, 0x2d, 0xef, 0x00, 0x89, 0x84, 0x5a, 0x17, 0x64, 0x36, 0xae,
  38268. 0x86, 0x8d, 0xfe, 0x90, 0x81, 0xb8, 0x50, 0x10, 0x20, 0x48, 0xb3, 0xc0, 0x03, 0xea, 0xb6, 0xf9,
  38269. 0xc2, 0x4b, 0x5d, 0x04, 0x59, 0xaa, 0x03, 0x6a, 0xeb, 0xfd, 0x97, 0x3a, 0xa4, 0xa8, 0xa9, 0xb4,
  38270. 0x5f, 0x34, 0x21, 0xe2, 0xda, 0x2f, 0x1e, 0x72, 0xc5, 0x22, 0x25, 0xed, 0x27, 0x30, 0xc4, 0x72,
  38271. 0x6b, 0x00, 0x0d, 0x0c, 0x2c, 0x8d, 0x99, 0x23, 0xe5, 0x48, 0x1a, 0x01, 0x97, 0x3a, 0x34, 0xc2,
  38272. 0xc0, 0x81, 0x45, 0xf9, 0xd1, 0x0e, 0x08, 0xbe, 0x86, 0x85, 0x8d, 0x4d, 0xd5, 0xf9, 0x2a, 0x99,
  38273. 0x31, 0xdb, 0x28, 0xc4, 0xe4, 0x2b, 0xc5, 0x5f, 0xcd, 0x11, 0x9b, 0xb3, 0x6a, 0xb9, 0x89, 0x03,
  38274. 0x8b, 0xb7, 0xdb, 0x24, 0xf3, 0xa9, 0x57, 0x3b, 0xd5, 0xf3, 0xaf, 0xa5, 0x87, 0xf5, 0xfc, 0x2b,
  38275. 0xa6, 0x86, 0x19, 0xdf, 0xf6, 0x82, 0xfc, 0xdc, 0xeb, 0x45, 0xde, 0x4f, 0x75, 0x5e, 0x27, 0x13,
  38276. 0xfe, 0xee, 0x2e, 0x3e, 0xaf, 0xcf, 0xd7, 0xdc, 0x93, 0xea, 0x51, 0x6f, 0x06, 0xc5, 0x95, 0xc4,
  38277. 0x2a, 0xe3, 0x3f, 0x41, 0x10, 0xbb, 0xff, 0x8e, 0x5a, 0x57, 0xdb, 0x61, 0x5b, 0x1e, 0x55, 0xe4,
  38278. 0xb4, 0x64, 0xb5, 0x2f, 0x0b, 0xfc, 0xf3, 0x19, 0x59, 0xe0, 0x1d, 0xcd, 0x30, 0x23, 0x07, 0xbc,
  38279. 0xea, 0x4d, 0xa5, 0x50, 0x6f, 0xc6, 0x86, 0xe9, 0xcd, 0xd7, 0x4b, 0x44, 0x84, 0x20, 0x14, 0xd8,
  38280. 0x96, 0x5a, 0x32, 0x73, 0xb3, 0x75, 0xff, 0xfe, 0x42, 0x91, 0x38, 0x7a, 0x71, 0xeb, 0x5e, 0x4d,
  38281. 0x25, 0xeb, 0xae, 0xbd, 0xc5, 0x15, 0x4d, 0xef, 0x69, 0x8e, 0xbe, 0x21, 0x5f, 0xbf, 0xcf, 0x69,
  38282. 0xd7, 0x50, 0xb9, 0x7d, 0x58, 0x62, 0x63, 0x64, 0xac, 0x52, 0xbc, 0x98, 0x89, 0x8d, 0x25, 0x02,
  38283. 0x34, 0x0d, 0x06, 0x10, 0xc4, 0xbd, 0x1d, 0x46, 0x9e, 0x8a, 0x47, 0x68, 0x70, 0x30, 0x48, 0xbc,
  38284. 0xfb, 0x3f, 0x17, 0x88, 0xd5, 0x35, 0x2b, 0x9d, 0x4c, 0xe9, 0xa1, 0xa7, 0x93, 0xa1, 0xdc, 0xfd,
  38285. 0x83, 0x6e, 0x72, 0x54, 0x0b, 0xa2, 0x62, 0xa9, 0xbd, 0xd6, 0x05, 0x75, 0x3f, 0x77, 0x89, 0x01,
  38286. 0xc5, 0x71, 0x40, 0x72, 0xa0, 0xca, 0x23, 0x91, 0x1c, 0x68, 0xec, 0xff, 0x49, 0x72, 0x20, 0x6a,
  38287. 0x21, 0xec, 0xf1, 0xe7, 0xc4, 0xc5, 0xbd, 0xa9, 0x9c, 0xe3, 0xab, 0x8c, 0xb7, 0xc7, 0xf9, 0x05,
  38288. 0x19, 0x81, 0x00, 0xc9, 0x0e, 0x53, 0xcf, 0x70, 0x63, 0x41, 0xe4, 0xdb, 0x79, 0xa5, 0x88, 0x1b,
  38289. 0xa5, 0x3f, 0xf5, 0x8c, 0x08, 0x3a, 0x11, 0xbc, 0x64, 0x32, 0xa0, 0xc9, 0x8f, 0x9e, 0x0c, 0x48,
  38290. 0xa5, 0xf0, 0x99, 0x7a, 0x58, 0x29, 0x7c, 0xac, 0x54, 0x48, 0xd5, 0x51, 0xa4, 0x42, 0xa2, 0xb2,
  38291. 0xed, 0xb1, 0x6e, 0x56, 0x26, 0x31, 0x91, 0x8c, 0xe7, 0x0b, 0x27, 0xc8, 0xac, 0x66, 0x55, 0xcd,
  38292. 0xae, 0xb3, 0x64, 0x92, 0x41, 0x76, 0xc5, 0x32, 0xa7, 0xd2, 0xf4, 0x47, 0xcf, 0xa9, 0x34, 0xea,
  38293. 0xac, 0x3d, 0x3a, 0xc3, 0xd2, 0xec, 0x48, 0x32, 0x2c, 0xcd, 0x3d, 0xc4, 0x0c, 0x4b, 0x46, 0x6e,
  38294. 0xa4, 0xf9, 0x87, 0x9b, 0x1b, 0x69, 0x9f, 0x4c, 0xb7, 0xc2, 0xfb, 0x9d, 0xfb, 0x5e, 0xd4, 0x5a,
  38295. 0xa9, 0x6f, 0x8a, 0x54, 0x3c, 0x39, 0x77, 0xde, 0x6b, 0xba, 0x80, 0x55, 0x03, 0xf7, 0x17, 0x6a,
  38296. 0x24, 0x98, 0xac, 0x45, 0x96, 0xa8, 0x33, 0x1f, 0x31, 0x4b, 0x94, 0x95, 0x6b, 0xc9, 0x19, 0x45,
  38297. 0xae, 0xa5, 0xf7, 0xd8, 0xcd, 0xd7, 0xdd, 0x60, 0xef, 0x86, 0xd7, 0x5d, 0x3c, 0x5b, 0xa4, 0x86,
  38298. 0x35, 0x49, 0xde, 0x5f, 0x83, 0x42, 0x81, 0x66, 0xda, 0x9f, 0xcd, 0xe9, 0xdc, 0x69, 0x67, 0x73,
  38299. 0x7a, 0x6c, 0x84, 0xd9, 0x9c, 0xce, 0x8f, 0x22, 0x9b, 0xd3, 0x5f, 0x20, 0x4f, 0x1d, 0xdf, 0x7f,
  38300. 0x9d, 0xa0, 0xb3, 0xae, 0x4d, 0xea, 0x54, 0x82, 0x4e, 0xa6, 0x5b, 0x18, 0x54, 0x46, 0xb0, 0x66,
  38301. 0xf9, 0xb8, 0x60, 0x4d, 0xf7, 0x9f, 0x96, 0xc8, 0xe3, 0x03, 0x12, 0x3d, 0x14, 0x8e, 0xbe, 0xee,
  38302. 0x92, 0xf9, 0xae, 0x5d, 0xb4, 0xf0, 0x3d, 0x09, 0x2b, 0xb1, 0x84, 0x4a, 0xf0, 0x9c, 0x42, 0x40,
  38303. 0x9a, 0xfd, 0xea, 0xb3, 0xdf, 0xfd, 0xc1, 0x53, 0x1f, 0xfb, 0x1e, 0xfd, 0xfb, 0x3d, 0xfa, 0xf7,
  38304. 0xe3, 0x7f, 0xf4, 0x54, 0xe9, 0xbb, 0xf4, 0xef, 0x7b, 0xf4, 0xef, 0x0f, 0xe9, 0xdf, 0xd7, 0xff,
  38305. 0xf8, 0xa9, 0x8f, 0xfd, 0x48, 0xf9, 0xf0, 0xf2, 0xff, 0x0d, 0x00, 0x00, 0xff, 0xff, 0xf4, 0x77,
  38306. 0x02, 0x29, 0xf6, 0xb0, 0x00, 0x00,
  38307. }